vue-data-ui 2.3.74 → 2.3.76

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (193) hide show
  1. package/dist/{Arrow-DK6F5Fq3.cjs → Arrow-D7M4-bW7.cjs} +1 -1
  2. package/dist/{Arrow-CYCrAySW.js → Arrow-DY9RKUmG.js} +1 -1
  3. package/dist/{BaseIcon-DBHVtm3A.cjs → BaseIcon-DB7Apwv_.cjs} +1 -1
  4. package/dist/{BaseIcon-kBIAYqUO.js → BaseIcon-rwm-10Hu.js} +1 -1
  5. package/dist/{DataTable-BNFSPjhv.cjs → DataTable-CsNozyz7.cjs} +1 -1
  6. package/dist/{DataTable-CKdV-L0e.js → DataTable-e2fnfjXV.js} +2 -2
  7. package/dist/{Legend-Cj7T-DqJ.js → Legend-5cQ0xZjK.js} +1 -1
  8. package/dist/{Legend-Do2kcWFT.cjs → Legend-DgFd-O0m.cjs} +1 -1
  9. package/dist/{Shape-Bo8ZjViG.js → Shape-CiTElr_0.js} +1 -1
  10. package/dist/{Shape-DRDUAe_o.cjs → Shape-yPECDLiP.cjs} +1 -1
  11. package/dist/{Slicer-D8jHSP7U.cjs → Slicer-DaZgCKV7.cjs} +1 -1
  12. package/dist/{Slicer-4nGKvUYF.js → Slicer-DwBBu3kB.js} +2 -2
  13. package/dist/{Title-D5cATWsL.cjs → Title-3EduyW4p.cjs} +1 -1
  14. package/dist/{Title-DZjnxQdN.js → Title-gUz6GDA3.js} +1 -1
  15. package/dist/{Tooltip-B8yLaegk.cjs → Tooltip-DScSrYXJ.cjs} +1 -1
  16. package/dist/{Tooltip--kgFEVZs.js → Tooltip-DfSM1mNP.js} +1 -1
  17. package/dist/{index-D_32ZGWd.cjs → index-BTgtr0F8.cjs} +1 -1
  18. package/dist/{index-C8SH0f2u.js → index-CaV1s-yZ.js} +1 -1
  19. package/dist/style.css +1 -1
  20. package/dist/{useNestedProp-BvvH633N.cjs → useNestedProp-CisbRRo_.cjs} +1 -1
  21. package/dist/{useNestedProp-lS_T5lM3.js → useNestedProp-tWCzZrLx.js} +1 -1
  22. package/dist/{usePrinter-BouFNHWR.cjs → usePrinter-DzTaA1eh.cjs} +1 -1
  23. package/dist/{usePrinter-Dj50NAxo.js → usePrinter-rvJyT65A.js} +1 -1
  24. package/dist/{vue-data-ui-v_BbbLtJ.cjs → vue-data-ui-BGkWRPUY.cjs} +1 -1
  25. package/dist/{vue-data-ui-DoXqU7xC.js → vue-data-ui-BO89gTtq.js} +57 -57
  26. package/dist/vue-data-ui.cjs +1 -1
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-CnoPOJHm.js → vue-ui-3d-bar-CcTMIHiB.js} +499 -486
  29. package/dist/vue-ui-3d-bar-DzmcGuqh.cjs +19 -0
  30. package/dist/{vue-ui-accordion-Cka6b_Up.cjs → vue-ui-accordion-7e4Myhcg.cjs} +1 -1
  31. package/dist/{vue-ui-accordion-YHleIgkV.js → vue-ui-accordion-CpzGQ63y.js} +3 -3
  32. package/dist/vue-ui-age-pyramid-C7qr9EwB.cjs +1 -0
  33. package/dist/{vue-ui-age-pyramid-CENg8fDg.js → vue-ui-age-pyramid-D71ZLkVV.js} +182 -169
  34. package/dist/{vue-ui-annotator-VJOLUkqJ.js → vue-ui-annotator-B8Iu6cYt.js} +1 -1
  35. package/dist/{vue-ui-annotator-ByYg6QMs.cjs → vue-ui-annotator-BKQrweqm.cjs} +1 -1
  36. package/dist/{vue-ui-candlestick-CHsGD3bx.js → vue-ui-candlestick-Bx4QVkY0.js} +295 -279
  37. package/dist/vue-ui-candlestick-DAc1FQ-i.cjs +2 -0
  38. package/dist/vue-ui-carousel-table-uFRqkghO.cjs +1 -0
  39. package/dist/{vue-ui-carousel-table-RAtX3VBu.js → vue-ui-carousel-table-xuQG6bcH.js} +146 -129
  40. package/dist/{vue-ui-chestnut-B5GQX0J_.js → vue-ui-chestnut-Bo6rDcU7.js} +215 -204
  41. package/dist/vue-ui-chestnut-DJkm72oD.cjs +6 -0
  42. package/dist/{vue-ui-cursor-DnZqLj21.cjs → vue-ui-cursor-BQbeuW-k.cjs} +1 -1
  43. package/dist/{vue-ui-cursor-CMm7XSSG.js → vue-ui-cursor-C0KOqEOq.js} +2 -2
  44. package/dist/{vue-ui-dashboard-DgEQJnLr.cjs → vue-ui-dashboard-0Hsjx-bO.cjs} +1 -1
  45. package/dist/{vue-ui-dashboard-Ck_5L3eu.js → vue-ui-dashboard-BT71xS7P.js} +2 -2
  46. package/dist/{vue-ui-digits--ULH35um.js → vue-ui-digits-BRqpKYvD.js} +2 -2
  47. package/dist/{vue-ui-digits-UvwUdi6U.cjs → vue-ui-digits-C2ReH6w0.cjs} +1 -1
  48. package/dist/{vue-ui-donut-QQ1fWWvc.js → vue-ui-donut-NQW-3prf.js} +376 -362
  49. package/dist/vue-ui-donut-evolution-DOe-cwLi.cjs +1 -0
  50. package/dist/{vue-ui-donut-evolution-Cx8kBB_7.js → vue-ui-donut-evolution-jbXQQGTc.js} +270 -255
  51. package/dist/vue-ui-donut-v81suIOX.cjs +1 -0
  52. package/dist/vue-ui-dumbbell-DXQSg6wa.cjs +9 -0
  53. package/dist/{vue-ui-dumbbell-BYvwHpU8.js → vue-ui-dumbbell-Dyz8xdtC.js} +232 -213
  54. package/dist/vue-ui-flow-BL3JWW1m.js +481 -0
  55. package/dist/vue-ui-flow-UqSNwH9d.cjs +1 -0
  56. package/dist/vue-ui-galaxy-DTQWGvRH.cjs +1 -0
  57. package/dist/{vue-ui-galaxy-B0L57aec.js → vue-ui-galaxy-Dx9nsOuM.js} +175 -162
  58. package/dist/vue-ui-gauge-BUB7H0qA.cjs +1 -0
  59. package/dist/vue-ui-gauge-CLaKGi0-.js +500 -0
  60. package/dist/vue-ui-gizmo-Kitfqu0J.cjs +1 -0
  61. package/dist/{vue-ui-gizmo-D2RfM55X.js → vue-ui-gizmo-of-4s5HG.js} +66 -53
  62. package/dist/{vue-ui-heatmap-DKM0DH41.js → vue-ui-heatmap-BIzjOMXO.js} +157 -143
  63. package/dist/vue-ui-heatmap-DUw2350O.cjs +1 -0
  64. package/dist/vue-ui-kpi-By3YPwgo.js +98 -0
  65. package/dist/vue-ui-kpi-DyL2Hcz-.cjs +1 -0
  66. package/dist/{vue-ui-mini-loader-CLP19Txv.cjs → vue-ui-mini-loader-C048-8Kd.cjs} +1 -1
  67. package/dist/{vue-ui-mini-loader-MywnWlYI.js → vue-ui-mini-loader-DnK3V2z2.js} +2 -2
  68. package/dist/{vue-ui-molecule-CLI9iTRE.js → vue-ui-molecule-BfhbIqa5.js} +177 -167
  69. package/dist/vue-ui-molecule-D-ahly6R.cjs +1 -0
  70. package/dist/vue-ui-mood-radar-DD8R9BpJ.cjs +1 -0
  71. package/dist/{vue-ui-mood-radar-O30wZo9a.js → vue-ui-mood-radar-DXxEKr3x.js} +172 -161
  72. package/dist/{vue-ui-nested-donuts-D8o4TqTt.js → vue-ui-nested-donuts-BdUdHFd-.js} +377 -364
  73. package/dist/vue-ui-nested-donuts-C7qM_FRw.cjs +17 -0
  74. package/dist/{vue-ui-onion-Hmcke6xB.js → vue-ui-onion-D0vF5jBt.js} +191 -177
  75. package/dist/vue-ui-onion-DX3gofXZ.cjs +5 -0
  76. package/dist/{vue-ui-parallel-coordinate-plot-CyChE3NP.js → vue-ui-parallel-coordinate-plot-CTZY-pY8.js} +298 -284
  77. package/dist/vue-ui-parallel-coordinate-plot-DEx5kFYd.cjs +8 -0
  78. package/dist/{vue-ui-quadrant-DimTQdAj.js → vue-ui-quadrant-ByY8GP3y.js} +347 -334
  79. package/dist/vue-ui-quadrant-CgApzie6.cjs +1 -0
  80. package/dist/{vue-ui-quick-chart-DxJvENid.js → vue-ui-quick-chart-DTxJ__7j.js} +483 -469
  81. package/dist/vue-ui-quick-chart-DWZEgUJF.cjs +15 -0
  82. package/dist/{vue-ui-radar-D_FieunT.js → vue-ui-radar-5UBmAU6W.js} +202 -189
  83. package/dist/vue-ui-radar-DEED0rTz.cjs +1 -0
  84. package/dist/{vue-ui-rating-BHW2Onru.cjs → vue-ui-rating-Ce_Ewqtl.cjs} +1 -1
  85. package/dist/{vue-ui-rating-DF1BpH4E.js → vue-ui-rating-Dr6jquxh.js} +2 -2
  86. package/dist/vue-ui-relation-circle-BU8i2miI.js +322 -0
  87. package/dist/vue-ui-relation-circle-CRcQ6Zcy.cjs +1 -0
  88. package/dist/{vue-ui-rings-BqS-iece.js → vue-ui-rings-Ctl3Jywh.js} +203 -189
  89. package/dist/vue-ui-rings-OQ8a1Ruw.cjs +2 -0
  90. package/dist/vue-ui-scatter-B8StSjt8.cjs +1 -0
  91. package/dist/{vue-ui-scatter-Dns49Nht.js → vue-ui-scatter-BwJ_koWT.js} +284 -270
  92. package/dist/{vue-ui-screenshot-5Gsnd0Wr.js → vue-ui-screenshot-BS3L5vhN.js} +1 -1
  93. package/dist/{vue-ui-screenshot---q062Kd.cjs → vue-ui-screenshot-bAVk3EPl.cjs} +1 -1
  94. package/dist/{vue-ui-skeleton-fVPw-oIR.cjs → vue-ui-skeleton-CMQzFTs9.cjs} +1 -1
  95. package/dist/{vue-ui-skeleton-B4eWLjH3.js → vue-ui-skeleton-CvFX_ExX.js} +2 -2
  96. package/dist/{vue-ui-smiley-B8Tyunn3.js → vue-ui-smiley-CGYZpNt9.js} +2 -2
  97. package/dist/{vue-ui-smiley-YfHmv0rQ.cjs → vue-ui-smiley-sF8QIso1.cjs} +1 -1
  98. package/dist/vue-ui-spark-trend-B4XSSKl9.js +263 -0
  99. package/dist/vue-ui-spark-trend-CdIoxaqb.cjs +1 -0
  100. package/dist/{vue-ui-sparkbar-9DBvdYn7.js → vue-ui-sparkbar-BbsJGDMZ.js} +95 -87
  101. package/dist/vue-ui-sparkbar-C3i1K7hi.cjs +1 -0
  102. package/dist/vue-ui-sparkgauge-BKyQoI7C.cjs +1 -0
  103. package/dist/vue-ui-sparkgauge-D4w_i_QJ.js +178 -0
  104. package/dist/{vue-ui-sparkhistogram-BBUVmco4.js → vue-ui-sparkhistogram-CYybrW-6.js} +79 -68
  105. package/dist/vue-ui-sparkhistogram-CvTYEmbz.cjs +1 -0
  106. package/dist/vue-ui-sparkline-CDowaDRS.cjs +1 -0
  107. package/dist/{vue-ui-sparkline-CeqNV6Re.js → vue-ui-sparkline-DjN1SVdO.js} +142 -123
  108. package/dist/{vue-ui-sparkstackbar-C3GMC1eW.js → vue-ui-sparkstackbar-BLMhJxaN.js} +120 -104
  109. package/dist/vue-ui-sparkstackbar-BZ2bESBi.cjs +1 -0
  110. package/dist/{vue-ui-stackbar-DyGPrFxi.js → vue-ui-stackbar-BTKOHUYc.js} +235 -222
  111. package/dist/vue-ui-stackbar-DRHaJFR8.cjs +6 -0
  112. package/dist/vue-ui-strip-plot-DxQxFbWg.cjs +1 -0
  113. package/dist/{vue-ui-strip-plot-y1AnVJmq.js → vue-ui-strip-plot-o6GTsGAT.js} +246 -232
  114. package/dist/{vue-ui-table-xWvAQS-s.cjs → vue-ui-table-BFIj1Rgh.cjs} +1 -1
  115. package/dist/{vue-ui-table-B4kfykAO.js → vue-ui-table-CnquiTpr.js} +1 -1
  116. package/dist/vue-ui-table-heatmap-CCGK12Fa.cjs +1 -0
  117. package/dist/{vue-ui-table-heatmap-YZRSzwRM.js → vue-ui-table-heatmap-CZRIwv-Q.js} +106 -95
  118. package/dist/{vue-ui-table-sparkline-C0v2r4Kf.js → vue-ui-table-sparkline-B3zEeq6Z.js} +151 -138
  119. package/dist/vue-ui-table-sparkline-DYmgfHz4.cjs +1 -0
  120. package/dist/{vue-ui-thermometer-D5qurIy7.js → vue-ui-thermometer-BopiohUh.js} +116 -104
  121. package/dist/vue-ui-thermometer-CzPRBt6c.cjs +1 -0
  122. package/dist/vue-ui-timer-Bonw69Lt.cjs +64 -0
  123. package/dist/{vue-ui-timer-VWjovnKL.js → vue-ui-timer-C7WkW8hK.js} +191 -176
  124. package/dist/{vue-ui-tiremarks-jH6cdQOJ.js → vue-ui-tiremarks-BurRtFv4.js} +115 -103
  125. package/dist/vue-ui-tiremarks-DkIGfq8t.cjs +1 -0
  126. package/dist/vue-ui-treemap-CalhJmnp.cjs +1 -0
  127. package/dist/{vue-ui-treemap-BCc5sQLB.js → vue-ui-treemap-DWy4voIr.js} +251 -237
  128. package/dist/{vue-ui-vertical-bar-2In_g5iC.js → vue-ui-vertical-bar-CJW1YhtY.js} +314 -299
  129. package/dist/vue-ui-vertical-bar-rwWp-sai.cjs +4 -0
  130. package/dist/{vue-ui-waffle-OzU830VX.js → vue-ui-waffle-DB7X6nTS.js} +285 -265
  131. package/dist/vue-ui-waffle-faQMBYNx.cjs +1 -0
  132. package/dist/vue-ui-wheel-BzjbGP6a.cjs +1 -0
  133. package/dist/vue-ui-wheel-CryKap2E.js +255 -0
  134. package/dist/vue-ui-word-cloud-COqUkvei.js +512 -0
  135. package/dist/vue-ui-word-cloud-DJN9I4q4.cjs +1 -0
  136. package/dist/vue-ui-xy-BmA0tspd.cjs +3 -0
  137. package/dist/{vue-ui-xy-DuJtYXKl.js → vue-ui-xy-b1Z_HPsx.js} +300 -274
  138. package/dist/{vue-ui-xy-canvas-CKibMJHh.js → vue-ui-xy-canvas-BgbLnY5B.js} +345 -327
  139. package/dist/vue-ui-xy-canvas-DOM2Kq_s.cjs +9 -0
  140. package/package.json +1 -1
  141. package/dist/vue-ui-3d-bar-CwCEoPX-.cjs +0 -19
  142. package/dist/vue-ui-age-pyramid-GqCNpd_h.cjs +0 -1
  143. package/dist/vue-ui-candlestick-TdNVq_FX.cjs +0 -2
  144. package/dist/vue-ui-carousel-table-yXUSFk2u.cjs +0 -1
  145. package/dist/vue-ui-chestnut-EJj-dQSY.cjs +0 -6
  146. package/dist/vue-ui-donut-BqUBysA_.cjs +0 -1
  147. package/dist/vue-ui-donut-evolution-BXtEnop4.cjs +0 -1
  148. package/dist/vue-ui-dumbbell-CjIh7KTm.cjs +0 -9
  149. package/dist/vue-ui-flow-hp0Hpuhn.js +0 -469
  150. package/dist/vue-ui-flow-u29zqSQj.cjs +0 -1
  151. package/dist/vue-ui-galaxy-DE1HbBi-.cjs +0 -1
  152. package/dist/vue-ui-gauge-B_IZrsfj.cjs +0 -1
  153. package/dist/vue-ui-gauge-CPyyn7cL.js +0 -488
  154. package/dist/vue-ui-gizmo-DR4gacOL.cjs +0 -1
  155. package/dist/vue-ui-heatmap-DMB_eUpA.cjs +0 -1
  156. package/dist/vue-ui-kpi-BAxAY13T.js +0 -84
  157. package/dist/vue-ui-kpi-BD21xshi.cjs +0 -1
  158. package/dist/vue-ui-molecule-BNsWckH-.cjs +0 -1
  159. package/dist/vue-ui-mood-radar-BsWE1f8R.cjs +0 -1
  160. package/dist/vue-ui-nested-donuts-CYyUtXs2.cjs +0 -17
  161. package/dist/vue-ui-onion-D7TXJu5w.cjs +0 -5
  162. package/dist/vue-ui-parallel-coordinate-plot-BqZB7xKn.cjs +0 -8
  163. package/dist/vue-ui-quadrant-BPDTvxlT.cjs +0 -1
  164. package/dist/vue-ui-quick-chart-C_-ut0if.cjs +0 -15
  165. package/dist/vue-ui-radar-C5Kq19hg.cjs +0 -1
  166. package/dist/vue-ui-relation-circle-4kIYttRI.js +0 -310
  167. package/dist/vue-ui-relation-circle-DHMHHsqY.cjs +0 -1
  168. package/dist/vue-ui-rings-BqPS8NKl.cjs +0 -2
  169. package/dist/vue-ui-scatter-BLVcdf3d.cjs +0 -1
  170. package/dist/vue-ui-spark-trend-Dpv6am0Z.cjs +0 -1
  171. package/dist/vue-ui-spark-trend-Em9OqYyG.js +0 -251
  172. package/dist/vue-ui-sparkbar-BuSuwQYl.cjs +0 -1
  173. package/dist/vue-ui-sparkgauge-BN5feBzp.js +0 -167
  174. package/dist/vue-ui-sparkgauge-DKtUZMv1.cjs +0 -1
  175. package/dist/vue-ui-sparkhistogram-BmuusW02.cjs +0 -1
  176. package/dist/vue-ui-sparkline-Blzv-tIQ.cjs +0 -1
  177. package/dist/vue-ui-sparkstackbar-D__WDEMv.cjs +0 -1
  178. package/dist/vue-ui-stackbar-DFqJ5K_q.cjs +0 -6
  179. package/dist/vue-ui-strip-plot-z9fjJ6Dj.cjs +0 -1
  180. package/dist/vue-ui-table-heatmap-CGKecjtm.cjs +0 -1
  181. package/dist/vue-ui-table-sparkline-CHFZG3Tg.cjs +0 -1
  182. package/dist/vue-ui-thermometer-DoOxxVW1.cjs +0 -1
  183. package/dist/vue-ui-timer-D63zHe-I.cjs +0 -64
  184. package/dist/vue-ui-tiremarks-Cp8YEmXh.cjs +0 -1
  185. package/dist/vue-ui-treemap-DJrdEFW5.cjs +0 -1
  186. package/dist/vue-ui-vertical-bar-BfJJqN_z.cjs +0 -4
  187. package/dist/vue-ui-waffle-A2gmRbq0.cjs +0 -1
  188. package/dist/vue-ui-wheel-C9QXzWu1.js +0 -242
  189. package/dist/vue-ui-wheel-DGSh9VKq.cjs +0 -1
  190. package/dist/vue-ui-word-cloud-C2ZaVlfO.js +0 -498
  191. package/dist/vue-ui-word-cloud-DPFB1MYk.cjs +0 -1
  192. package/dist/vue-ui-xy-C-2-aijE.cjs +0 -3
  193. package/dist/vue-ui-xy-canvas-D7wf3xab.cjs +0 -9
@@ -1,20 +1,20 @@
1
- import { computed as p, ref as f, onMounted as Ae, openBlock as s, createElementBlock as u, normalizeClass as ce, normalizeStyle as K, renderSlot as _, createVNode as ve, createCommentVNode as v, createBlock as Q, unref as x, createSlots as ht, withCtx as z, normalizeProps as B, guardReactiveProps as W, Fragment as h, renderList as b, createElementVNode as D, toDisplayString as S, createTextVNode as dt } from "vue";
2
- import { u as yt, c as De, o as gt, e as Ee, g as bt, t as ft, a as mt, p as oe, K as He, b as pt, d as xt, a1 as se, Z as Be, B as We, X as kt, l as wt, E as Xe, f as E, w as Ue, x as Ye, i as Ge, y as Ct, q as _t, r as zt } from "./index-C8SH0f2u.js";
3
- import { u as Je } from "./useNestedProp-lS_T5lM3.js";
4
- import { t as Lt, u as St } from "./useResponsive-NZB-WLRF.js";
5
- import { u as $t, U as Mt } from "./usePrinter-Dj50NAxo.js";
6
- import { S as Tt } from "./Slicer-4nGKvUYF.js";
7
- import { _ as Nt } from "./Tooltip--kgFEVZs.js";
8
- import { _ as Ot } from "./Title-DZjnxQdN.js";
9
- import { L as Pt } from "./Legend-Cj7T-DqJ.js";
10
- import Rt from "./vue-ui-accordion-YHleIgkV.js";
11
- import { D as It } from "./DataTable-CKdV-L0e.js";
12
- import Vt from "./vue-ui-skeleton-B4eWLjH3.js";
13
- import { _ as Ft } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
- const At = ["id"], Dt = ["xmlns", "viewBox"], Et = { key: 0 }, Ht = ["id"], Bt = ["stop-color"], Wt = ["stop-color"], Xt = ["stop-color"], Ut = ["x1", "x2", "y1", "y2", "stroke"], Yt = ["x1", "x2", "y1", "y2", "stroke"], Gt = ["x1", "x2", "y1", "y2", "stroke"], Jt = ["x1", "x2", "y1", "y2", "stroke"], Zt = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], qt = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], Kt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Qt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], jt = ["x", "y", "font-size", "fill", "font-weight"], ea = ["transform", "font-size", "fill", "font-weight"], ta = ["x", "y", "font-size", "fill", "font-weight"], aa = { key: 0 }, la = ["x", "y", "font-size", "font-weight", "fill"], ra = ["x", "y", "font-size", "fill", "font-weight"], oa = { key: 0 }, sa = ["x", "y", "font-size", "font-weight", "fill"], ia = ["x1", "x2", "y1", "y2", "stroke"], ua = ["x", "y", "font-size", "font-weight", "fill"], na = ["x1", "x2", "y1", "y2", "stroke"], ca = ["font-size", "font-weight", "fill", "text-anchor", "transform"], va = ["text-anchor", "font-size", "font-weight", "fill", "transform"], ha = ["font-size", "font-weight", "fill", "x", "y"], da = ["x", "y", "width", "height", "onClick", "onMouseenter", "fill"], ya = ["x", "y", "width", "height", "onClick", "onMouseenter", "fill"], ga = {
1
+ import { computed as p, ref as b, onMounted as He, watch as Be, openBlock as s, createElementBlock as u, normalizeClass as ve, normalizeStyle as K, renderSlot as _, createVNode as he, createCommentVNode as v, createBlock as Q, unref as k, createSlots as mt, withCtx as z, normalizeProps as B, guardReactiveProps as W, Fragment as h, renderList as f, createElementVNode as D, toDisplayString as S, createTextVNode as pt } from "vue";
2
+ import { u as xt, c as We, t as kt, a as wt, p as oe, K as Xe, b as Ct, o as _t, e as Ue, g as zt, d as Lt, a1 as se, Z as Ye, B as Ge, X as St, l as $t, E as Je, f as E, w as Ze, x as qe, i as Ke, y as Mt, q as Tt, r as Nt } from "./index-CaV1s-yZ.js";
3
+ import { u as Qe } from "./useNestedProp-tWCzZrLx.js";
4
+ import { t as Ot, u as Pt } from "./useResponsive-NZB-WLRF.js";
5
+ import { u as Rt, U as It } from "./usePrinter-rvJyT65A.js";
6
+ import { S as Vt } from "./Slicer-DwBBu3kB.js";
7
+ import { _ as Ft } from "./Tooltip-DfSM1mNP.js";
8
+ import { _ as At } from "./Title-gUz6GDA3.js";
9
+ import { L as Dt } from "./Legend-5cQ0xZjK.js";
10
+ import Et from "./vue-ui-accordion-CpzGQ63y.js";
11
+ import { D as Ht } from "./DataTable-e2fnfjXV.js";
12
+ import Bt from "./vue-ui-skeleton-CvFX_ExX.js";
13
+ import { _ as Wt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
+ const Xt = ["id"], Ut = ["xmlns", "viewBox"], Yt = { key: 0 }, Gt = ["id"], Jt = ["stop-color"], Zt = ["stop-color"], qt = ["stop-color"], Kt = ["x1", "x2", "y1", "y2", "stroke"], Qt = ["x1", "x2", "y1", "y2", "stroke"], jt = ["x1", "x2", "y1", "y2", "stroke"], ea = ["x1", "x2", "y1", "y2", "stroke"], ta = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], aa = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], la = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ra = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], oa = ["x", "y", "font-size", "fill", "font-weight"], sa = ["transform", "font-size", "fill", "font-weight"], ia = ["x", "y", "font-size", "fill", "font-weight"], ua = { key: 0 }, na = ["x", "y", "font-size", "font-weight", "fill"], ca = ["x", "y", "font-size", "fill", "font-weight"], va = { key: 0 }, ha = ["x", "y", "font-size", "font-weight", "fill"], da = ["x1", "x2", "y1", "y2", "stroke"], ya = ["x", "y", "font-size", "font-weight", "fill"], ga = ["x1", "x2", "y1", "y2", "stroke"], ba = ["font-size", "font-weight", "fill", "text-anchor", "transform"], fa = ["text-anchor", "font-size", "font-weight", "fill", "transform"], ma = ["font-size", "font-weight", "fill", "x", "y"], pa = ["x", "y", "width", "height", "onClick", "onMouseenter", "fill"], xa = ["x", "y", "width", "height", "onClick", "onMouseenter", "fill"], ka = {
15
15
  key: 3,
16
16
  class: "vue-data-ui-watermark"
17
- }, ba = ["onClick"], fa = ["innerHTML"], ma = {
17
+ }, wa = ["onClick"], Ca = ["innerHTML"], _a = {
18
18
  __name: "vue-ui-stackbar",
19
19
  props: {
20
20
  config: {
@@ -31,58 +31,51 @@ const At = ["id"], Dt = ["xmlns", "viewBox"], Et = { key: 0 }, Ht = ["id"], Bt =
31
31
  }
32
32
  },
33
33
  emits: ["selectDatapoint", "selectLegend"],
34
- setup(he, { expose: Ze, emit: de }) {
35
- const k = he, { vue_ui_stackbar: qe } = yt(), H = p({
34
+ setup(de, { expose: je, emit: ye }) {
35
+ const x = de, { vue_ui_stackbar: et } = xt(), H = p({
36
36
  get() {
37
- return !!k.dataset && k.dataset.length;
37
+ return !!x.dataset && x.dataset.length;
38
38
  },
39
39
  set(a) {
40
40
  return a;
41
41
  }
42
- }), X = f(null), ie = f(De()), j = f(!1), ye = f(null), ue = f(""), L = f([]), ge = f(0), be = f(null), fe = f(null), me = f(null), pe = f(0), ne = f(!1), U = f(null), Y = f(!1);
43
- Ae(() => {
44
- gt(k.dataset) ? Ee({
45
- componentName: "VueUiStackbar",
46
- type: "dataset"
47
- }) : k.dataset.forEach((a, r) => {
48
- bt({
49
- datasetObject: a,
50
- requiredAttributes: ["name", "series"]
51
- }).forEach((t) => {
52
- H.value = !1, Ee({
53
- componentName: "VueUiStackbar",
54
- type: "datasetSerieAttribute",
55
- property: t,
56
- index: r
57
- });
58
- });
59
- }), setTimeout(() => {
60
- Y.value = !0;
61
- }, 10);
42
+ }), X = b(null), ie = b(We()), j = b(!1), ge = b(null), ue = b(""), L = b([]), be = b(0), fe = b(null), me = b(null), pe = b(null), xe = b(0), ne = b(!1), U = b(null), Y = b(!1), tt = b(0), at = b(0), lt = b(0);
43
+ He(() => {
44
+ ce();
62
45
  });
63
- const e = p(() => {
64
- const a = Je({
65
- userConfig: k.config,
66
- defaultConfig: qe
46
+ const e = p({
47
+ get: () => ke(),
48
+ set: (a) => a
49
+ });
50
+ function ke() {
51
+ const a = Qe({
52
+ userConfig: x.config,
53
+ defaultConfig: et
67
54
  });
68
55
  let r = {};
69
56
  return a.theme ? r = {
70
- ...Je({
71
- userConfig: ft.vue_ui_stackbar[a.theme] || k.config,
57
+ ...Qe({
58
+ userConfig: kt.vue_ui_stackbar[a.theme] || x.config,
72
59
  defaultConfig: a
73
60
  }),
74
- customPalette: mt[a.theme] || oe
75
- } : r = a, k.config && He(k.config, "style.chart.grid.scale.scaleMin") ? r.style.chart.grid.scale.scaleMin = k.config.style.chart.grid.scale.scaleMin : r.style.chart.grid.scale.scaleMin = null, k.config && He(k.config, "style.chart.grid.scale.scaleMax") ? r.style.chart.grid.scale.scaleMax = k.config.style.chart.grid.scale.scaleMax : r.style.chart.grid.scale.scaleMax = null, r;
76
- }), C = f({
61
+ customPalette: wt[a.theme] || oe
62
+ } : r = a, x.config && Xe(x.config, "style.chart.grid.scale.scaleMin") ? r.style.chart.grid.scale.scaleMin = x.config.style.chart.grid.scale.scaleMin : r.style.chart.grid.scale.scaleMin = null, x.config && Xe(x.config, "style.chart.grid.scale.scaleMax") ? r.style.chart.grid.scale.scaleMax = x.config.style.chart.grid.scale.scaleMax : r.style.chart.grid.scale.scaleMax = null, r;
63
+ }
64
+ Be(() => x.config, (a) => {
65
+ e.value = ke(), ce(), tt.value += 1, at.value += 1, lt.value += 1;
66
+ }, { deep: !0 }), Be(() => x.dataset, (a) => {
67
+ $e();
68
+ }, { deep: !0 });
69
+ const C = b({
77
70
  dataLabels: {
78
71
  show: e.value.style.chart.bars.dataLabels.show
79
72
  },
80
73
  showTable: e.value.table.show,
81
74
  showTooltip: e.value.style.chart.tooltip.show
82
- }), { isPrinting: xe, isImaging: ke, generatePdf: we, generateImage: Ce } = $t({
75
+ }), { isPrinting: we, isImaging: Ce, generatePdf: _e, generateImage: ze } = Rt({
83
76
  elementId: `stackbar_${ie.value}`,
84
77
  fileName: e.value.style.chart.title.text || "vue-ui-stackbar"
85
- }), ee = f({
78
+ }), ee = b({
86
79
  width: e.value.style.chart.width,
87
80
  height: e.value.style.chart.height,
88
81
  paddingRatio: {
@@ -91,24 +84,44 @@ const At = ["id"], Dt = ["xmlns", "viewBox"], Et = { key: 0 }, Ht = ["id"], Bt =
91
84
  bottom: e.value.style.chart.padding.bottom / e.value.style.chart.height,
92
85
  left: e.value.style.chart.padding.left / e.value.style.chart.width
93
86
  }
94
- }), Ke = p(() => pt(e.value.customPalette)), _e = f(null), ze = f(null);
95
- Ae(() => {
96
- if (e.value.responsive) {
97
- const a = Lt(() => {
87
+ }), rt = p(() => Ct(e.value.customPalette)), Le = b(null), Se = b(null);
88
+ He(() => {
89
+ ce();
90
+ });
91
+ function ce() {
92
+ if (_t(x.dataset) ? Ue({
93
+ componentName: "VueUiStackbar",
94
+ type: "dataset"
95
+ }) : x.dataset.forEach((a, r) => {
96
+ zt({
97
+ datasetObject: a,
98
+ requiredAttributes: ["name", "series"]
99
+ }).forEach((t) => {
100
+ H.value = !1, Ue({
101
+ componentName: "VueUiStackbar",
102
+ type: "datasetSerieAttribute",
103
+ property: t,
104
+ index: r
105
+ });
106
+ });
107
+ }), setTimeout(() => {
108
+ Y.value = !0;
109
+ }, 10), e.value.responsive) {
110
+ const a = Ot(() => {
98
111
  Y.value = !1;
99
- const { width: r, height: t } = St({
112
+ const { width: r, height: t } = Pt({
100
113
  chart: X.value,
101
- title: e.value.style.chart.title.text ? be.value : null,
102
- legend: e.value.style.chart.legend.show ? fe.value : null,
103
- slicer: e.value.style.chart.zoom.show && R.value > 1 ? me.value : null
114
+ title: e.value.style.chart.title.text ? fe.value : null,
115
+ legend: e.value.style.chart.legend.show ? me.value : null,
116
+ slicer: e.value.style.chart.zoom.show && R.value > 1 ? pe.value : null
104
117
  });
105
- ee.value.width = r, ee.value.height = t, clearTimeout(ze.value), ze.value = setTimeout(() => {
118
+ ee.value.width = r, ee.value.height = t, clearTimeout(Se.value), Se.value = setTimeout(() => {
106
119
  Y.value = !0;
107
120
  }, 10);
108
121
  });
109
- _e.value = new ResizeObserver(a), _e.value.observe(X.value.parentNode);
122
+ Le.value = new ResizeObserver(a), Le.value.observe(X.value.parentNode);
110
123
  }
111
- });
124
+ }
112
125
  const o = p(() => {
113
126
  const { height: a, width: r } = ee.value, { right: t } = ee.value.paddingRatio, l = e.value.style.chart.padding.top, i = r - r * t, n = a - e.value.style.chart.padding.bottom, w = e.value.style.chart.padding.left, I = r - w - r * t, V = a - l - e.value.style.chart.padding.bottom;
114
127
  return {
@@ -121,8 +134,8 @@ const At = ["id"], Dt = ["xmlns", "viewBox"], Et = { key: 0 }, Ht = ["id"], Bt =
121
134
  width: I,
122
135
  height: V < 0 ? 0 : V
123
136
  };
124
- }), P = p(() => k.dataset.map((a, r) => {
125
- const t = xt(a.color) || Ke.value[r] || oe[r] || oe[r % oe.length];
137
+ }), P = p(() => x.dataset.map((a, r) => {
138
+ const t = Lt(a.color) || rt.value[r] || oe[r] || oe[r % oe.length];
126
139
  return {
127
140
  ...a,
128
141
  // In distributed mode, all values are converted to positive
@@ -130,23 +143,23 @@ const At = ["id"], Dt = ["xmlns", "viewBox"], Et = { key: 0 }, Ht = ["id"], Bt =
130
143
  // Store signs to manage display of neg values in distributed mode
131
144
  signedSeries: a.series.map((l) => l >= 0 ? 1 : -1),
132
145
  absoluteIndex: r,
133
- id: De(),
146
+ id: We(),
134
147
  color: t
135
148
  };
136
- })), R = p(() => Math.max(...P.value.filter((a) => !L.value.includes(a.id)).map((a) => a.series.length))), c = f({
149
+ })), R = p(() => Math.max(...P.value.filter((a) => !L.value.includes(a.id)).map((a) => a.series.length))), c = b({
137
150
  start: 0,
138
- end: Math.max(...k.dataset.map((a) => a.series.length))
151
+ end: Math.max(...x.dataset.map((a) => a.series.length))
139
152
  });
140
- function Qe() {
153
+ function $e() {
141
154
  c.value = {
142
155
  start: 0,
143
- end: Math.max(...k.dataset.map((a) => a.series.length))
144
- }, pe.value += 1;
156
+ end: Math.max(...x.dataset.map((a) => a.series.length))
157
+ }, xe.value += 1;
145
158
  }
146
159
  const d = p(() => {
147
160
  let a;
148
161
  return e.value.orientation === "vertical" ? a = o.value.width / (c.value.end - c.value.start) : a = o.value.height / (c.value.end - c.value.start), a <= 0 ? 0 : a;
149
- }), G = p(() => se(P.value.filter((a) => !L.value.includes(a.id))).slice(c.value.start, c.value.end)), je = p(() => se(P.value.filter((a) => !L.value.includes(a.id)).map((a) => ({
162
+ }), G = p(() => se(P.value.filter((a) => !L.value.includes(a.id))).slice(c.value.start, c.value.end)), ot = p(() => se(P.value.filter((a) => !L.value.includes(a.id)).map((a) => ({
150
163
  ...a,
151
164
  series: a.series.map((r, t) => a.signedSeries[t] === -1 && r >= 0 ? -r : r)
152
165
  }))).slice(c.value.start, c.value.end)), te = p(() => {
@@ -162,7 +175,7 @@ const At = ["id"], Dt = ["xmlns", "viewBox"], Et = { key: 0 }, Ht = ["id"], Bt =
162
175
  })))
163
176
  };
164
177
  }), N = p(() => {
165
- 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(...te.value.positive), r = Math.min(...te.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(r) ? 0 : r, l = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? Be(t > 0 ? 0 : t, a < 0 ? 0 : a, e.value.style.chart.grid.scale.ticks) : We(t > 0 ? 0 : t, a < 0 ? 0 : a, e.value.style.chart.grid.scale.ticks);
178
+ 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(...te.value.positive), r = Math.min(...te.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(r) ? 0 : r, l = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? Ye(t > 0 ? 0 : t, a < 0 ? 0 : a, e.value.style.chart.grid.scale.ticks) : Ge(t > 0 ? 0 : t, a < 0 ? 0 : a, e.value.style.chart.grid.scale.ticks);
166
179
  return l.ticks.map((i) => ({
167
180
  zero: o.value.bottom - o.value.height * (Math.abs(l.min) / (l.max + Math.abs(l.min))),
168
181
  y: o.value.bottom - o.value.height * ((i + Math.abs(l.min)) / (l.max + Math.abs(l.min))),
@@ -175,43 +188,43 @@ const At = ["id"], Dt = ["xmlns", "viewBox"], Et = { key: 0 }, Ht = ["id"], Bt =
175
188
  }), J = p(() => e.value.style.chart.grid.x.timeLabels.values.slice(c.value.start, c.value.end)), m = p(() => {
176
189
  if (!H.value) return [];
177
190
  let a = Array(R.value).fill(0), r = Array(R.value).fill(0), t = Array(R.value).fill(0), l = Array(R.value).fill(0);
178
- const i = Math.max(...te.value.positive) || 0, n = Math.min(...te.value.negative), w = [-1 / 0, 1 / 0, NaN, void 0, null].includes(n) ? 0 : n, I = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? Be(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : w > 0 ? 0 : w, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : i < 0 ? 0 : i, e.value.style.chart.grid.scale.ticks) : We(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : w > 0 ? 0 : w, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : i < 0 ? 0 : i, e.value.style.chart.grid.scale.ticks), { min: V, max: Z } = I, F = Z + (V >= 0 ? 0 : Math.abs(V)) || 1, $ = o.value.height, re = o.value.width, Ve = N.value[0] ? N.value[0].zero : o.value.bottom, Fe = N.value[0] ? N.value[0].horizontal_zero : o.value.left;
191
+ const i = Math.max(...te.value.positive) || 0, n = Math.min(...te.value.negative), w = [-1 / 0, 1 / 0, NaN, void 0, null].includes(n) ? 0 : n, I = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? Ye(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : w > 0 ? 0 : w, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : i < 0 ? 0 : i, e.value.style.chart.grid.scale.ticks) : Ge(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : w > 0 ? 0 : w, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : i < 0 ? 0 : i, e.value.style.chart.grid.scale.ticks), { min: V, max: Z } = I, F = Z + (V >= 0 ? 0 : Math.abs(V)) || 1, $ = o.value.height, re = o.value.width, De = N.value[0] ? N.value[0].zero : o.value.bottom, Ee = N.value[0] ? N.value[0].horizontal_zero : o.value.left;
179
192
  return P.value.filter((q) => !L.value.includes(q.id)).map((q) => {
180
- const O = q.series.slice(c.value.start, c.value.end), rt = q.signedSeries.slice(c.value.start, c.value.end), ot = O.map((y, g) => o.value.left + d.value * g + d.value * e.value.style.chart.bars.gapRatio / 4), st = O.map((y, g) => o.value.top + d.value * g + d.value * e.value.style.chart.bars.gapRatio / 4), it = O.map((y, g) => {
193
+ const O = q.series.slice(c.value.start, c.value.end), ct = q.signedSeries.slice(c.value.start, c.value.end), vt = O.map((y, g) => o.value.left + d.value * g + d.value * e.value.style.chart.bars.gapRatio / 4), ht = O.map((y, g) => o.value.top + d.value * g + d.value * e.value.style.chart.bars.gapRatio / 4), dt = O.map((y, g) => {
181
194
  const M = e.value.style.chart.bars.distributed ? (y || 0) / G.value[g] : (y || 0) / F;
182
195
  let A, T;
183
- return y > 0 ? (T = $ * M, A = Ve - T - a[g], a[g] += T) : (T = $ * M, A = Ve + t[g], t[g] += Math.abs(T)), A;
184
- }), ut = O.map((y, g) => {
196
+ return y > 0 ? (T = $ * M, A = De - T - a[g], a[g] += T) : (T = $ * M, A = De + t[g], t[g] += Math.abs(T)), A;
197
+ }), yt = O.map((y, g) => {
185
198
  const M = e.value.style.chart.bars.distributed ? (y || 0) / G.value[g] : (y || 0) / F;
186
199
  let A, T;
187
- return y > 0 ? (T = re * M, A = Fe + r[g], r[g] += T) : (T = re * M, A = Fe - Math.abs(T) - l[g], l[g] += Math.abs(T)), A;
188
- }), nt = O.map((y, g) => {
200
+ return y > 0 ? (T = re * M, A = Ee + r[g], r[g] += T) : (T = re * M, A = Ee - Math.abs(T) - l[g], l[g] += Math.abs(T)), A;
201
+ }), gt = O.map((y, g) => {
189
202
  const M = e.value.style.chart.bars.distributed ? (y || 0) / G.value[g] : (y || 0) / F;
190
203
  return y > 0 ? $ * M : $ * Math.abs(M);
191
- }), ct = O.map((y, g) => {
204
+ }), bt = O.map((y, g) => {
192
205
  const M = e.value.style.chart.bars.distributed ? (y || 0) / G.value[g] : (y || 0) / F;
193
206
  return y > 0 ? re * M : re * Math.abs(M);
194
- }), vt = O.map((y) => Math.abs(y)).reduce((y, g) => y + g, 0);
207
+ }), ft = O.map((y) => Math.abs(y)).reduce((y, g) => y + g, 0);
195
208
  return {
196
209
  ...q,
197
- proportions: O.map((y, g) => e.value.style.chart.bars.distributed ? (y || 0) / G.value[g] : (y || 0) / vt),
210
+ proportions: O.map((y, g) => e.value.style.chart.bars.distributed ? (y || 0) / G.value[g] : (y || 0) / ft),
198
211
  series: O,
199
- signedSeries: rt,
200
- x: ot,
201
- y: it,
202
- height: nt,
203
- horizontal_width: ct,
204
- horizontal_y: st,
205
- horizontal_x: ut
212
+ signedSeries: ct,
213
+ x: vt,
214
+ y: dt,
215
+ height: gt,
216
+ horizontal_width: bt,
217
+ horizontal_y: ht,
218
+ horizontal_x: yt
206
219
  };
207
220
  });
208
- }), Le = p(() => je.value.map((a, r) => ({
221
+ }), Me = p(() => ot.value.map((a, r) => ({
209
222
  value: a,
210
223
  sign: a >= 0 ? 1 : -1
211
224
  })));
212
225
  function ae(a, r, t, l, i) {
213
226
  const n = i === -1 && a >= 0 ? -a : a;
214
- return Ge(
227
+ return Ke(
215
228
  e.value.style.chart.bars.dataLabels.formatter,
216
229
  n,
217
230
  E({
@@ -223,8 +236,8 @@ const At = ["id"], Dt = ["xmlns", "viewBox"], Et = { key: 0 }, Ht = ["id"], Bt =
223
236
  { datapoint: r, seriesIndex: t, datapointIndex: l }
224
237
  );
225
238
  }
226
- function Se(a, r, t, l) {
227
- return Ge(
239
+ function Te(a, r, t, l) {
240
+ return Ke(
228
241
  e.value.style.chart.bars.dataLabels.formatter,
229
242
  a,
230
243
  E({
@@ -235,7 +248,7 @@ const At = ["id"], Dt = ["xmlns", "viewBox"], Et = { key: 0 }, Ht = ["id"], Bt =
235
248
  { datapoint: r, seriesIndex: t, datapointIndex: l }
236
249
  );
237
250
  }
238
- function $e(a) {
251
+ function Ne(a) {
239
252
  const r = JSON.parse(JSON.stringify(m.value)).map((t) => ({
240
253
  name: t.name,
241
254
  value: t.series[a] === 0 ? 0 : t.series[a] || null,
@@ -243,9 +256,9 @@ const At = ["id"], Dt = ["xmlns", "viewBox"], Et = { key: 0 }, Ht = ["id"], Bt =
243
256
  color: t.color,
244
257
  id: t.id
245
258
  }));
246
- de("selectDatapoint", { datapoint: r, period: J.value[a] });
259
+ ye("selectDatapoint", { datapoint: r, period: J.value[a] });
247
260
  }
248
- function Me(a) {
261
+ function Oe(a) {
249
262
  U.value = a, j.value = !0;
250
263
  const r = e.value.style.chart.tooltip.customFormat, t = JSON.parse(JSON.stringify(m.value)).map((i) => ({
251
264
  name: i.name,
@@ -254,7 +267,7 @@ const At = ["id"], Dt = ["xmlns", "viewBox"], Et = { key: 0 }, Ht = ["id"], Bt =
254
267
  color: i.color,
255
268
  id: i.id
256
269
  })), l = t.map((i) => Math.abs(i.value)).reduce((i, n) => i + n, 0);
257
- if (Ye(r) && Ct(() => r({
270
+ if (qe(r) && Mt(() => r({
258
271
  seriesIndex: a,
259
272
  datapoint: t,
260
273
  series: m.value,
@@ -300,22 +313,22 @@ const At = ["id"], Dt = ["xmlns", "viewBox"], Et = { key: 0 }, Ht = ["id"], Bt =
300
313
  }), ue.value = `<div>${Z}</div>`;
301
314
  }
302
315
  }
303
- function et(a) {
304
- ne.value = a, ge.value += 1;
316
+ function st(a) {
317
+ ne.value = a, be.value += 1;
305
318
  }
306
- function Te() {
319
+ function Pe() {
307
320
  C.value.showTable = !C.value.showTable;
308
321
  }
309
- function Ne() {
322
+ function Re() {
310
323
  C.value.dataLabels.show = !C.value.dataLabels.show;
311
324
  }
312
- function Oe() {
325
+ function Ie() {
313
326
  C.value.showTooltip = !C.value.showTooltip;
314
327
  }
315
- function tt() {
328
+ function it() {
316
329
  return m.value;
317
330
  }
318
- const Pe = p(() => {
331
+ const Ve = p(() => {
319
332
  if (m.value.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
320
333
  const a = m.value.map(({ name: t, color: l }) => ({
321
334
  label: t,
@@ -329,9 +342,9 @@ const At = ["id"], Dt = ["xmlns", "viewBox"], Et = { key: 0 }, Ht = ["id"], Bt =
329
342
  }
330
343
  return { head: a, body: r };
331
344
  });
332
- function Re() {
333
- const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], r = ["", ...Pe.value.head.map((n) => n.label)], t = Pe.value.body, l = a.concat([r]).concat(t), i = _t(l);
334
- zt({ csvContent: i, title: e.value.style.chart.title.text || "vue-ui-stackbar" });
345
+ function Fe() {
346
+ const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], r = ["", ...Ve.value.head.map((n) => n.label)], t = Ve.value.body, l = a.concat([r]).concat(t), i = Tt(l);
347
+ Nt({ csvContent: i, title: e.value.style.chart.title.text || "vue-ui-stackbar" });
335
348
  }
336
349
  const le = p(() => {
337
350
  const a = [""].concat(m.value.map((i) => i.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>');
@@ -355,23 +368,23 @@ const At = ["id"], Dt = ["xmlns", "viewBox"], Et = { key: 0 }, Ht = ["id"], Bt =
355
368
  }, l = [e.value.table.columnNames.period].concat(m.value.map((i) => i.name)).concat(e.value.table.columnNames.total);
356
369
  return { head: a, body: r.slice(0, c.value.end - c.value.start), config: t, colNames: l };
357
370
  });
358
- function at(a, r) {
359
- if (de("selectLegend", m.value.find((t) => t.absoluteIndex === a)), L.value.includes(r.id))
371
+ function ut(a, r) {
372
+ if (ye("selectLegend", m.value.find((t) => t.absoluteIndex === a)), L.value.includes(r.id))
360
373
  L.value = L.value.filter((t) => t !== r.id);
361
374
  else {
362
375
  if (L.value.length === P.value.length - 1) return;
363
376
  L.value.push(r.id);
364
377
  }
365
378
  }
366
- const Ie = p(() => P.value.map((a, r) => ({
379
+ const Ae = p(() => P.value.map((a, r) => ({
367
380
  ...a,
368
381
  shape: "square"
369
382
  })).map((a) => ({
370
383
  ...a,
371
384
  opacity: L.value.includes(a.id) ? 0.5 : 1,
372
- segregate: () => at(a.absoluteIndex, a),
385
+ segregate: () => ut(a.absoluteIndex, a),
373
386
  isSegregated: L.value.includes(a.id)
374
- }))), lt = p(() => ({
387
+ }))), nt = p(() => ({
375
388
  cy: "stackbar-legend",
376
389
  backgroundColor: e.value.style.chart.legend.backgroundColor,
377
390
  color: e.value.style.chart.legend.color,
@@ -379,29 +392,29 @@ const At = ["id"], Dt = ["xmlns", "viewBox"], Et = { key: 0 }, Ht = ["id"], Bt =
379
392
  paddingBottom: 12,
380
393
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
381
394
  }));
382
- return Ze({
383
- getData: tt,
384
- generatePdf: we,
385
- generateCsv: Re,
386
- generateImage: Ce,
387
- toggleTable: Te,
388
- toggleLabels: Ne,
389
- toggleTooltip: Oe
395
+ return je({
396
+ getData: it,
397
+ generatePdf: _e,
398
+ generateCsv: Fe,
399
+ generateImage: ze,
400
+ toggleTable: Pe,
401
+ toggleLabels: Re,
402
+ toggleTooltip: Ie
390
403
  }), (a, r) => (s(), u("div", {
391
404
  id: `stackbar_${ie.value}`,
392
405
  ref_key: "stackbarChart",
393
406
  ref: X,
394
- class: ce({ "vue-ui-stackbar": !0, "vue-data-ui-wrapper-fullscreen": ne.value }),
407
+ class: ve({ "vue-ui-stackbar": !0, "vue-data-ui-wrapper-fullscreen": ne.value }),
395
408
  style: K(`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%" : ""}`)
396
409
  }, [
397
410
  _(a.$slots, "userConfig", {}, void 0, !0),
398
411
  e.value.style.chart.title.text ? (s(), u("div", {
399
412
  key: 0,
400
413
  ref_key: "chartTitle",
401
- ref: be,
414
+ ref: fe,
402
415
  style: K(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:24px`)
403
416
  }, [
404
- ve(Ot, {
417
+ he(At, {
405
418
  config: {
406
419
  title: {
407
420
  cy: "stackbar-title",
@@ -414,13 +427,13 @@ const At = ["id"], Dt = ["xmlns", "viewBox"], Et = { key: 0 }, Ht = ["id"], Bt =
414
427
  }
415
428
  }, null, 8, ["config"])
416
429
  ], 4)) : v("", !0),
417
- e.value.userOptions.show && H.value ? (s(), Q(Mt, {
430
+ e.value.userOptions.show && H.value ? (s(), Q(It, {
418
431
  ref: "details",
419
- key: `user_option_${ge.value}`,
432
+ key: `user_option_${be.value}`,
420
433
  backgroundColor: e.value.style.chart.backgroundColor,
421
434
  color: e.value.style.chart.color,
422
- isPrinting: x(xe),
423
- isImaging: x(ke),
435
+ isPrinting: k(we),
436
+ isImaging: k(Ce),
424
437
  uid: ie.value,
425
438
  hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
426
439
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -433,14 +446,14 @@ const At = ["id"], Dt = ["xmlns", "viewBox"], Et = { key: 0 }, Ht = ["id"], Bt =
433
446
  chartElement: X.value,
434
447
  isTooltip: C.value.showTooltip,
435
448
  titles: { ...e.value.userOptions.buttonTitles },
436
- onToggleFullscreen: et,
437
- onGeneratePdf: x(we),
438
- onGenerateCsv: Re,
439
- onGenerateImage: x(Ce),
440
- onToggleTable: Te,
441
- onToggleLabels: Ne,
442
- onToggleTooltip: Oe
443
- }, ht({ _: 2 }, [
449
+ onToggleFullscreen: st,
450
+ onGeneratePdf: k(_e),
451
+ onGenerateCsv: Fe,
452
+ onGenerateImage: k(ze),
453
+ onToggleTable: Pe,
454
+ onToggleLabels: Re,
455
+ onToggleTooltip: Ie
456
+ }, mt({ _: 2 }, [
444
457
  a.$slots.optionTooltip ? {
445
458
  name: "optionTooltip",
446
459
  fn: z(() => [
@@ -493,12 +506,12 @@ const At = ["id"], Dt = ["xmlns", "viewBox"], Et = { key: 0 }, Ht = ["id"], Bt =
493
506
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "isTooltip", "titles", "onGeneratePdf", "onGenerateImage"])) : v("", !0),
494
507
  H.value ? (s(), u("svg", {
495
508
  key: 2,
496
- xmlns: x(kt),
509
+ xmlns: k(St),
497
510
  viewBox: `0 0 ${o.value.chartWidth <= 0 ? 10 : o.value.chartWidth} ${o.value.chartHeight <= 0 ? 10 : o.value.chartHeight}`,
498
511
  style: K(`max-width:100%;overflow:visible;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
499
512
  }, [
500
- e.value.style.chart.bars.gradient.show ? (s(), u("defs", Et, [
501
- (s(!0), u(h, null, b(m.value, (t, l) => (s(), u("linearGradient", {
513
+ e.value.style.chart.bars.gradient.show ? (s(), u("defs", Yt, [
514
+ (s(!0), u(h, null, f(m.value, (t, l) => (s(), u("linearGradient", {
502
515
  id: `gradient_${t.id}`,
503
516
  x1: "0%",
504
517
  y1: "0%",
@@ -508,18 +521,18 @@ const At = ["id"], Dt = ["xmlns", "viewBox"], Et = { key: 0 }, Ht = ["id"], Bt =
508
521
  D("stop", {
509
522
  offset: "0%",
510
523
  "stop-color": t.color
511
- }, null, 8, Bt),
524
+ }, null, 8, Jt),
512
525
  D("stop", {
513
526
  offset: "61.8%",
514
- "stop-color": x(wt)(t.color, e.value.style.chart.bars.gradient.intensity / 100)
515
- }, null, 8, Wt),
527
+ "stop-color": k($t)(t.color, e.value.style.chart.bars.gradient.intensity / 100)
528
+ }, null, 8, Zt),
516
529
  D("stop", {
517
530
  offset: "100%",
518
531
  "stop-color": t.color
519
- }, null, 8, Xt)
520
- ], 8, Ht))), 256))
532
+ }, null, 8, qt)
533
+ ], 8, Gt))), 256))
521
534
  ])) : v("", !0),
522
- e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "vertical" ? (s(!0), u(h, { key: 1 }, b(N.value, (t, l) => (s(), u("line", {
535
+ e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "vertical" ? (s(!0), u(h, { key: 1 }, f(N.value, (t, l) => (s(), u("line", {
523
536
  x1: o.value.left,
524
537
  x2: o.value.right,
525
538
  y1: t.y,
@@ -527,8 +540,8 @@ const At = ["id"], Dt = ["xmlns", "viewBox"], Et = { key: 0 }, Ht = ["id"], Bt =
527
540
  stroke: e.value.style.chart.grid.x.axisColor,
528
541
  "stroke-width": 1,
529
542
  "stroke-linecap": "round"
530
- }, null, 8, Ut))), 256)) : v("", !0),
531
- e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "horizontal" ? (s(!0), u(h, { key: 2 }, b(c.value.end - c.value.start + 1, (t, l) => (s(), u("line", {
543
+ }, null, 8, Kt))), 256)) : v("", !0),
544
+ e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "horizontal" ? (s(!0), u(h, { key: 2 }, f(c.value.end - c.value.start + 1, (t, l) => (s(), u("line", {
532
545
  x1: o.value.left,
533
546
  x2: o.value.right,
534
547
  y1: o.value.top + d.value * l,
@@ -536,8 +549,8 @@ const At = ["id"], Dt = ["xmlns", "viewBox"], Et = { key: 0 }, Ht = ["id"], Bt =
536
549
  stroke: e.value.style.chart.grid.y.axisColor,
537
550
  "stroke-width": 1,
538
551
  "stroke-linecap": "round"
539
- }, null, 8, Yt))), 256)) : v("", !0),
540
- e.value.style.chart.grid.y.showVerticalLines && e.value.orientation === "vertical" ? (s(!0), u(h, { key: 3 }, b(c.value.end - c.value.start + 1, (t, l) => (s(), u("line", {
552
+ }, null, 8, Qt))), 256)) : v("", !0),
553
+ e.value.style.chart.grid.y.showVerticalLines && e.value.orientation === "vertical" ? (s(!0), u(h, { key: 3 }, f(c.value.end - c.value.start + 1, (t, l) => (s(), u("line", {
541
554
  x1: o.value.left + d.value * l,
542
555
  x2: o.value.left + d.value * l,
543
556
  y1: o.value.top,
@@ -545,8 +558,8 @@ const At = ["id"], Dt = ["xmlns", "viewBox"], Et = { key: 0 }, Ht = ["id"], Bt =
545
558
  stroke: e.value.style.chart.grid.y.axisColor,
546
559
  "stroke-width": 1,
547
560
  "stroke-linecap": "round"
548
- }, null, 8, Gt))), 256)) : v("", !0),
549
- e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "horizontal" ? (s(!0), u(h, { key: 4 }, b(N.value, (t, l) => (s(), u("line", {
561
+ }, null, 8, jt))), 256)) : v("", !0),
562
+ e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "horizontal" ? (s(!0), u(h, { key: 4 }, f(N.value, (t, l) => (s(), u("line", {
550
563
  x1: t.horizontal_x,
551
564
  x2: t.horizontal_x,
552
565
  y1: o.value.top,
@@ -554,9 +567,9 @@ const At = ["id"], Dt = ["xmlns", "viewBox"], Et = { key: 0 }, Ht = ["id"], Bt =
554
567
  stroke: e.value.style.chart.grid.x.axisColor,
555
568
  "stroke-width": 1,
556
569
  "stroke-linecap": "round"
557
- }, null, 8, Jt))), 256)) : v("", !0),
558
- (s(!0), u(h, null, b(m.value, (t, l) => (s(), u("g", null, [
559
- e.value.orientation === "vertical" ? (s(!0), u(h, { key: 0 }, b(t.x, (i, n) => (s(), u("rect", {
570
+ }, null, 8, ea))), 256)) : v("", !0),
571
+ (s(!0), u(h, null, f(m.value, (t, l) => (s(), u("g", null, [
572
+ e.value.orientation === "vertical" ? (s(!0), u(h, { key: 0 }, f(t.x, (i, n) => (s(), u("rect", {
560
573
  x: i,
561
574
  y: t.y[n] < 0 ? 0 : t.y[n],
562
575
  height: t.height[n] < 0 ? 1e-4 : t.height[n],
@@ -567,8 +580,8 @@ const At = ["id"], Dt = ["xmlns", "viewBox"], Et = { key: 0 }, Ht = ["id"], Bt =
567
580
  "stroke-width": e.value.style.chart.bars.strokeWidth,
568
581
  "stroke-linecap": "round",
569
582
  "stroke-linejoin": "round",
570
- class: ce({ "vue-data-ui-bar-animated": e.value.useCssAnimation, "vue-data-ui-bar-transition": Y.value })
571
- }, null, 10, Zt))), 256)) : (s(!0), u(h, { key: 1 }, b(t.horizontal_x, (i, n) => (s(), u("rect", {
583
+ class: ve({ "vue-data-ui-bar-animated": e.value.useCssAnimation, "vue-data-ui-bar-transition": Y.value })
584
+ }, null, 10, ta))), 256)) : (s(!0), u(h, { key: 1 }, f(t.horizontal_x, (i, n) => (s(), u("rect", {
572
585
  x: i,
573
586
  y: t.horizontal_y[n] < 0 ? 0 : t.horizontal_y[n],
574
587
  width: t.horizontal_width[n] < 0 ? 1e-4 : t.horizontal_width[n],
@@ -579,8 +592,8 @@ const At = ["id"], Dt = ["xmlns", "viewBox"], Et = { key: 0 }, Ht = ["id"], Bt =
579
592
  "stroke-width": e.value.style.chart.bars.strokeWidth,
580
593
  "stroke-linecap": "round",
581
594
  "stroke-linejoin": "round",
582
- class: ce({ "vue-data-ui-bar-animated": e.value.useCssAnimation, "vue-data-ui-bar-transition": Y.value })
583
- }, null, 10, qt))), 256))
595
+ class: ve({ "vue-data-ui-bar-animated": e.value.useCssAnimation, "vue-data-ui-bar-transition": Y.value })
596
+ }, null, 10, aa))), 256))
584
597
  ]))), 256)),
585
598
  e.value.style.chart.grid.x.showAxis ? (s(), u("line", {
586
599
  key: 5,
@@ -592,7 +605,7 @@ const At = ["id"], Dt = ["xmlns", "viewBox"], Et = { key: 0 }, Ht = ["id"], Bt =
592
605
  "stroke-width": e.value.style.chart.grid.x.axisThickness,
593
606
  "stroke-linecap": "round",
594
607
  "stroke-linejoin": "round"
595
- }, null, 8, Kt)) : v("", !0),
608
+ }, null, 8, la)) : v("", !0),
596
609
  e.value.style.chart.grid.y.showAxis && !e.value.style.chart.bars.distributed ? (s(), u("line", {
597
610
  key: 6,
598
611
  x1: o.value.left,
@@ -603,7 +616,7 @@ const At = ["id"], Dt = ["xmlns", "viewBox"], Et = { key: 0 }, Ht = ["id"], Bt =
603
616
  "stroke-width": e.value.style.chart.grid.y.axisThickness,
604
617
  "stroke-linecap": "round",
605
618
  "stroke-linejoin": "round"
606
- }, null, 8, Qt)) : v("", !0),
619
+ }, null, 8, ra)) : v("", !0),
607
620
  e.value.style.chart.grid.x.axisName.show && e.value.style.chart.grid.x.axisName.text ? (s(), u("text", {
608
621
  key: 7,
609
622
  x: o.value.left + o.value.width / 2,
@@ -612,7 +625,7 @@ const At = ["id"], Dt = ["xmlns", "viewBox"], Et = { key: 0 }, Ht = ["id"], Bt =
612
625
  fill: e.value.style.chart.grid.x.axisName.color,
613
626
  "font-weight": e.value.style.chart.grid.x.axisName.bold ? "bold" : "normal",
614
627
  "text-anchor": "middle"
615
- }, S(e.value.style.chart.grid.x.axisName.text), 9, jt)) : v("", !0),
628
+ }, S(e.value.style.chart.grid.x.axisName.text), 9, oa)) : v("", !0),
616
629
  e.value.style.chart.grid.y.axisName.show && e.value.style.chart.grid.y.axisName.text ? (s(), u("text", {
617
630
  key: 8,
618
631
  transform: `translate(${e.value.style.chart.grid.y.axisName.fontSize + e.value.style.chart.grid.y.axisName.offsetX}, ${o.value.top + o.value.height / 2}) rotate(-90)`,
@@ -620,76 +633,76 @@ const At = ["id"], Dt = ["xmlns", "viewBox"], Et = { key: 0 }, Ht = ["id"], Bt =
620
633
  fill: e.value.style.chart.grid.y.axisName.color,
621
634
  "font-weight": e.value.style.chart.grid.y.axisName.bold ? "bold" : "normal",
622
635
  "text-anchor": "middle"
623
- }, S(e.value.style.chart.grid.y.axisName.text), 9, ea)) : v("", !0),
636
+ }, S(e.value.style.chart.grid.y.axisName.text), 9, sa)) : v("", !0),
624
637
  C.value.dataLabels.show && e.value.orientation === "vertical" ? (s(), u(h, { key: 9 }, [
625
- (s(!0), u(h, null, b(m.value, (t, l) => (s(), u("g", null, [
626
- (s(!0), u(h, null, b(t.x, (i, n) => (s(), u("text", {
638
+ (s(!0), u(h, null, f(m.value, (t, l) => (s(), u("g", null, [
639
+ (s(!0), u(h, null, f(t.x, (i, n) => (s(), u("text", {
627
640
  x: i + d.value * (1 - e.value.style.chart.bars.gapRatio / 2) / 2,
628
641
  y: t.y[n] + t.height[n] / 2 + e.value.style.chart.bars.dataLabels.fontSize / 3,
629
642
  "font-size": e.value.style.chart.bars.dataLabels.fontSize,
630
- fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? x(Xe)(t.color) : e.value.style.chart.bars.dataLabels.color,
643
+ fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? k(Je)(t.color) : e.value.style.chart.bars.dataLabels.color,
631
644
  "font-weight": e.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
632
645
  "text-anchor": "middle"
633
- }, S(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? Se(t.proportions[n] * 100, t, l, n) : ae(t.series[n], t, l, n, t.signedSeries[n])), 9, ta))), 256))
646
+ }, S(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? Te(t.proportions[n] * 100, t, l, n) : ae(t.series[n], t, l, n, t.signedSeries[n])), 9, ia))), 256))
634
647
  ]))), 256)),
635
- e.value.style.chart.bars.totalValues.show && m.value.length > 1 ? (s(), u("g", aa, [
636
- (s(!0), u(h, null, b(Le.value, (t, l) => (s(), u("text", {
648
+ e.value.style.chart.bars.totalValues.show && m.value.length > 1 ? (s(), u("g", ua, [
649
+ (s(!0), u(h, null, f(Me.value, (t, l) => (s(), u("text", {
637
650
  x: o.value.left + d.value * l + d.value / 2,
638
651
  y: o.value.top - e.value.style.chart.bars.totalValues.fontSize / 3,
639
652
  "text-anchor": "middle",
640
653
  "font-size": e.value.style.chart.bars.totalValues.fontSize,
641
654
  "font-weight": e.value.style.chart.bars.totalValues.bold ? "bold" : "normal",
642
655
  fill: e.value.style.chart.bars.totalValues.color
643
- }, S(ae(t.value, t, l, t.sign)), 9, la))), 256))
656
+ }, S(ae(t.value, t, l, t.sign)), 9, na))), 256))
644
657
  ])) : v("", !0)
645
658
  ], 64)) : v("", !0),
646
659
  C.value.dataLabels.show && e.value.orientation === "horizontal" ? (s(), u(h, { key: 10 }, [
647
- (s(!0), u(h, null, b(m.value, (t, l) => (s(), u("g", null, [
648
- (s(!0), u(h, null, b(t.horizontal_x, (i, n) => (s(), u("text", {
660
+ (s(!0), u(h, null, f(m.value, (t, l) => (s(), u("g", null, [
661
+ (s(!0), u(h, null, f(t.horizontal_x, (i, n) => (s(), u("text", {
649
662
  x: i + (t.horizontal_width[n] < 0 ? 1e-4 : t.horizontal_width[n]) / 2,
650
663
  y: t.horizontal_y[n] + d.value * (1 - e.value.style.chart.bars.gapRatio / 2) / 2 + e.value.style.chart.bars.dataLabels.fontSize / 3,
651
664
  "font-size": e.value.style.chart.bars.dataLabels.fontSize,
652
- fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? x(Xe)(t.color) : e.value.style.chart.bars.dataLabels.color,
665
+ fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? k(Je)(t.color) : e.value.style.chart.bars.dataLabels.color,
653
666
  "font-weight": e.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
654
667
  "text-anchor": "middle"
655
- }, S(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? Se(t.proportions[n] * 100, t, l, n) : ae(t.series[n], t, l, n, t.signedSeries[n])), 9, ra))), 256))
668
+ }, S(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? Te(t.proportions[n] * 100, t, l, n) : ae(t.series[n], t, l, n, t.signedSeries[n])), 9, ca))), 256))
656
669
  ]))), 256)),
657
- e.value.style.chart.bars.totalValues.show && m.value.length > 1 ? (s(), u("g", oa, [
658
- (s(!0), u(h, null, b(Le.value, (t, l) => (s(), u("text", {
670
+ e.value.style.chart.bars.totalValues.show && m.value.length > 1 ? (s(), u("g", va, [
671
+ (s(!0), u(h, null, f(Me.value, (t, l) => (s(), u("text", {
659
672
  x: o.value.right + e.value.style.chart.bars.totalValues.fontSize / 3,
660
673
  y: o.value.top + d.value * l + d.value / 2,
661
674
  "text-anchor": "start",
662
675
  "font-size": e.value.style.chart.bars.totalValues.fontSize,
663
676
  "font-weight": e.value.style.chart.bars.totalValues.bold ? "bold" : "normal",
664
677
  fill: e.value.style.chart.bars.totalValues.color
665
- }, S(ae(t.value, t, l, t.sign)), 9, sa))), 256))
678
+ }, S(ae(t.value, t, l, t.sign)), 9, ha))), 256))
666
679
  ])) : v("", !0)
667
680
  ], 64)) : v("", !0),
668
681
  e.value.style.chart.grid.y.axisLabels.show && !e.value.style.chart.bars.distributed && e.value.orientation === "vertical" ? (s(), u(h, { key: 11 }, [
669
- (s(!0), u(h, null, b(N.value, (t, l) => (s(), u("line", {
682
+ (s(!0), u(h, null, f(N.value, (t, l) => (s(), u("line", {
670
683
  x1: o.value.left,
671
684
  x2: o.value.left - 6,
672
685
  y1: t.y,
673
686
  y2: t.y,
674
687
  stroke: e.value.style.chart.grid.x.axisColor,
675
688
  "stroke-width": 1
676
- }, null, 8, ia))), 256)),
677
- (s(!0), u(h, null, b(N.value, (t, l) => (s(), u("text", {
689
+ }, null, 8, da))), 256)),
690
+ (s(!0), u(h, null, f(N.value, (t, l) => (s(), u("text", {
678
691
  x: t.x,
679
692
  y: t.y + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
680
693
  "font-size": e.value.style.chart.grid.y.axisLabels.fontSize,
681
694
  "font-weight": e.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
682
695
  fill: e.value.style.chart.grid.y.axisLabels.color,
683
696
  "text-anchor": "end"
684
- }, S(x(E)({
697
+ }, S(k(E)({
685
698
  p: e.value.style.chart.bars.dataLabels.prefix,
686
699
  v: t.value,
687
700
  s: e.value.style.chart.bars.dataLabels.suffix,
688
701
  r: e.value.style.chart.grid.y.axisLabels.rounding
689
- })), 9, ua))), 256))
702
+ })), 9, ya))), 256))
690
703
  ], 64)) : v("", !0),
691
704
  e.value.style.chart.grid.y.axisLabels.show && !e.value.style.chart.bars.distributed && e.value.orientation === "horizontal" ? (s(), u(h, { key: 12 }, [
692
- (s(!0), u(h, null, b(N.value, (t, l) => (s(), u("line", {
705
+ (s(!0), u(h, null, f(N.value, (t, l) => (s(), u("line", {
693
706
  x1: t.horizontal_x,
694
707
  x2: t.horizontal_x,
695
708
  y1: o.value.bottom,
@@ -697,65 +710,65 @@ const At = ["id"], Dt = ["xmlns", "viewBox"], Et = { key: 0 }, Ht = ["id"], Bt =
697
710
  stroke: e.value.style.chart.grid.x.axisColor,
698
711
  "stroke-width": 1,
699
712
  "stroke-linecap": "round"
700
- }, null, 8, na))), 256)),
701
- (s(!0), u(h, null, b(N.value, (t, l) => (s(), u("text", {
713
+ }, null, 8, ga))), 256)),
714
+ (s(!0), u(h, null, f(N.value, (t, l) => (s(), u("text", {
702
715
  "font-size": e.value.style.chart.grid.x.timeLabels.fontSize,
703
716
  "font-weight": e.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
704
717
  fill: e.value.style.chart.grid.y.axisLabels.color,
705
718
  "text-anchor": e.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : e.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
706
719
  transform: `translate(${t.horizontal_x}, ${o.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})`
707
- }, S(x(E)({
720
+ }, S(k(E)({
708
721
  p: e.value.style.chart.bars.dataLabels.prefix,
709
722
  v: t.value,
710
723
  s: e.value.style.chart.bars.dataLabels.suffix,
711
724
  r: e.value.style.chart.grid.y.axisLabels.rounding
712
- })), 9, ca))), 256))
725
+ })), 9, ba))), 256))
713
726
  ], 64)) : v("", !0),
714
- e.value.style.chart.grid.x.timeLabels.show && e.value.orientation === "vertical" ? (s(!0), u(h, { key: 13 }, b(J.value, (t, l) => (s(), u("text", {
727
+ e.value.style.chart.grid.x.timeLabels.show && e.value.orientation === "vertical" ? (s(!0), u(h, { key: 13 }, f(J.value, (t, l) => (s(), u("text", {
715
728
  "text-anchor": e.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : e.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
716
729
  "font-size": e.value.style.chart.grid.x.timeLabels.fontSize,
717
730
  "font-weight": e.value.style.chart.grid.x.timeLabels.bold ? "bold" : "normal",
718
731
  fill: e.value.style.chart.grid.x.timeLabels.color,
719
732
  transform: `translate(${o.value.left + d.value * l + d.value / 2}, ${o.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})`
720
- }, S(t), 9, va))), 256)) : v("", !0),
721
- e.value.style.chart.grid.x.timeLabels.show && e.value.orientation === "horizontal" ? (s(!0), u(h, { key: 14 }, b(J.value, (t, l) => (s(), u("text", {
733
+ }, S(t), 9, fa))), 256)) : v("", !0),
734
+ e.value.style.chart.grid.x.timeLabels.show && e.value.orientation === "horizontal" ? (s(!0), u(h, { key: 14 }, f(J.value, (t, l) => (s(), u("text", {
722
735
  "text-anchor": "end",
723
736
  "font-size": e.value.style.chart.grid.y.axisLabels.fontSize,
724
737
  "font-weight": e.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
725
738
  fill: e.value.style.chart.grid.y.axisLabels.color,
726
739
  x: o.value.left - 8,
727
740
  y: o.value.top + d.value * l + d.value / 2 + e.value.style.chart.grid.y.axisLabels.fontSize / 3
728
- }, S(t), 9, ha))), 256)) : v("", !0),
729
- C.value.showTooltip && e.value.orientation === "vertical" ? (s(!0), u(h, { key: 15 }, b(c.value.end - c.value.start, (t, l) => (s(), u("rect", {
741
+ }, S(t), 9, ma))), 256)) : v("", !0),
742
+ C.value.showTooltip && e.value.orientation === "vertical" ? (s(!0), u(h, { key: 15 }, f(c.value.end - c.value.start, (t, l) => (s(), u("rect", {
730
743
  x: o.value.left + l * d.value,
731
744
  y: o.value.top,
732
745
  width: d.value,
733
746
  height: o.value.height < 0 ? 0 : o.value.height,
734
- onClick: (i) => $e(l),
735
- onMouseenter: (i) => Me(l),
747
+ onClick: (i) => Ne(l),
748
+ onMouseenter: (i) => Oe(l),
736
749
  onMouseleave: r[0] || (r[0] = (i) => {
737
750
  U.value = null, j.value = !1;
738
751
  }),
739
- fill: l === U.value ? e.value.style.chart.highlighter.color + x(Ue)[e.value.style.chart.highlighter.opacity] : "transparent"
740
- }, null, 40, da))), 256)) : v("", !0),
741
- C.value.showTooltip && e.value.orientation === "horizontal" ? (s(!0), u(h, { key: 16 }, b(c.value.end - c.value.start, (t, l) => (s(), u("rect", {
752
+ fill: l === U.value ? e.value.style.chart.highlighter.color + k(Ze)[e.value.style.chart.highlighter.opacity] : "transparent"
753
+ }, null, 40, pa))), 256)) : v("", !0),
754
+ C.value.showTooltip && e.value.orientation === "horizontal" ? (s(!0), u(h, { key: 16 }, f(c.value.end - c.value.start, (t, l) => (s(), u("rect", {
742
755
  x: o.value.left,
743
756
  y: o.value.top + l * d.value,
744
757
  width: o.value.width < 0 ? 0 : o.value.width,
745
758
  height: d.value,
746
- onClick: (i) => $e(l),
747
- onMouseenter: (i) => Me(l),
759
+ onClick: (i) => Ne(l),
760
+ onMouseenter: (i) => Oe(l),
748
761
  onMouseleave: r[1] || (r[1] = (i) => {
749
762
  U.value = null, j.value = !1;
750
763
  }),
751
- fill: l === U.value ? e.value.style.chart.highlighter.color + x(Ue)[e.value.style.chart.highlighter.opacity] : "transparent"
752
- }, null, 40, ya))), 256)) : v("", !0),
764
+ fill: l === U.value ? e.value.style.chart.highlighter.color + k(Ze)[e.value.style.chart.highlighter.opacity] : "transparent"
765
+ }, null, 40, xa))), 256)) : v("", !0),
753
766
  _(a.$slots, "svg", B(W({ ...o.value })), void 0, !0)
754
- ], 12, Dt)) : v("", !0),
755
- a.$slots.watermark ? (s(), u("div", ga, [
756
- _(a.$slots, "watermark", B(W({ isPrinting: x(xe) || x(ke) })), void 0, !0)
767
+ ], 12, Ut)) : v("", !0),
768
+ a.$slots.watermark ? (s(), u("div", ka, [
769
+ _(a.$slots, "watermark", B(W({ isPrinting: k(we) || k(Ce) })), void 0, !0)
757
770
  ])) : v("", !0),
758
- H.value ? v("", !0) : (s(), Q(Vt, {
771
+ H.value ? v("", !0) : (s(), Q(Bt, {
759
772
  key: 4,
760
773
  config: {
761
774
  type: "bar",
@@ -772,12 +785,12 @@ const At = ["id"], Dt = ["xmlns", "viewBox"], Et = { key: 0 }, Ht = ["id"], Bt =
772
785
  }, null, 8, ["config"])),
773
786
  D("div", {
774
787
  ref_key: "chartSlicer",
775
- ref: me,
788
+ ref: pe,
776
789
  style: K(`width:100%;background:${e.value.style.chart.backgroundColor}`),
777
790
  "data-html2canvas-ignore": ""
778
791
  }, [
779
- e.value.style.chart.zoom.show && R.value > 1 ? (s(), Q(Tt, {
780
- key: `slicer_${pe.value}`,
792
+ e.value.style.chart.zoom.show && R.value > 1 ? (s(), Q(Vt, {
793
+ key: `slicer_${xe.value}`,
781
794
  background: e.value.style.chart.zoom.color,
782
795
  borderColor: e.value.style.chart.backgroundColor,
783
796
  fontSize: e.value.style.chart.zoom.fontSize,
@@ -787,7 +800,7 @@ const At = ["id"], Dt = ["xmlns", "viewBox"], Et = { key: 0 }, Ht = ["id"], Bt =
787
800
  textColor: e.value.style.chart.color,
788
801
  inputColor: e.value.style.chart.zoom.color,
789
802
  selectColor: e.value.style.chart.zoom.highlightColor,
790
- max: Math.max(...he.dataset.map((t) => t.series.length)),
803
+ max: Math.max(...de.dataset.map((t) => t.series.length)),
791
804
  min: 0,
792
805
  valueStart: c.value.start,
793
806
  valueEnd: c.value.end,
@@ -795,7 +808,7 @@ const At = ["id"], Dt = ["xmlns", "viewBox"], Et = { key: 0 }, Ht = ["id"], Bt =
795
808
  "onUpdate:start": r[2] || (r[2] = (t) => c.value.start = t),
796
809
  end: c.value.end,
797
810
  "onUpdate:end": r[3] || (r[3] = (t) => c.value.end = t),
798
- onReset: Qe
811
+ onReset: $e
799
812
  }, {
800
813
  "reset-action": z(({ reset: t }) => [
801
814
  _(a.$slots, "reset-action", B(W({ reset: t })), void 0, !0)
@@ -803,7 +816,7 @@ const At = ["id"], Dt = ["xmlns", "viewBox"], Et = { key: 0 }, Ht = ["id"], Bt =
803
816
  _: 3
804
817
  }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end"])) : v("", !0)
805
818
  ], 4),
806
- ve(Nt, {
819
+ he(Ft, {
807
820
  show: C.value.showTooltip && j.value,
808
821
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
809
822
  color: e.value.style.chart.tooltip.color,
@@ -816,39 +829,39 @@ const At = ["id"], Dt = ["xmlns", "viewBox"], Et = { key: 0 }, Ht = ["id"], Bt =
816
829
  offsetY: e.value.style.chart.tooltip.offsetY,
817
830
  parent: X.value,
818
831
  content: ue.value,
819
- isCustom: x(Ye)(e.value.style.chart.tooltip.customFormat)
832
+ isCustom: k(qe)(e.value.style.chart.tooltip.customFormat)
820
833
  }, {
821
834
  "tooltip-before": z(() => [
822
- _(a.$slots, "tooltip-before", B(W({ ...ye.value })), void 0, !0)
835
+ _(a.$slots, "tooltip-before", B(W({ ...ge.value })), void 0, !0)
823
836
  ]),
824
837
  "tooltip-after": z(() => [
825
- _(a.$slots, "tooltip-after", B(W({ ...ye.value })), void 0, !0)
838
+ _(a.$slots, "tooltip-after", B(W({ ...ge.value })), void 0, !0)
826
839
  ]),
827
840
  _: 3
828
841
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
829
842
  D("div", {
830
843
  ref_key: "chartLegend",
831
- ref: fe
844
+ ref: me
832
845
  }, [
833
- e.value.style.chart.legend.show && H.value ? (s(), Q(Pt, {
846
+ e.value.style.chart.legend.show && H.value ? (s(), Q(Dt, {
834
847
  key: 0,
835
- legendSet: Ie.value,
836
- config: lt.value,
848
+ legendSet: Ae.value,
849
+ config: nt.value,
837
850
  onClickMarker: r[4] || (r[4] = ({ legend: t }) => t.segregate())
838
851
  }, {
839
852
  item: z(({ legend: t }) => [
840
853
  D("div", {
841
854
  onClick: (l) => t.segregate(),
842
855
  style: K(`opacity:${L.value.includes(t.id) ? 0.5 : 1}`)
843
- }, S(t.name), 13, ba)
856
+ }, S(t.name), 13, wa)
844
857
  ]),
845
858
  _: 1
846
859
  }, 8, ["legendSet", "config"])) : _(a.$slots, "legend", {
847
860
  key: 1,
848
- legend: Ie.value
861
+ legend: Ae.value
849
862
  }, void 0, !0)
850
863
  ], 512),
851
- c.value.end - c.value.start < 200 ? (s(), Q(Rt, {
864
+ c.value.end - c.value.start < 200 ? (s(), Q(Et, {
852
865
  key: 5,
853
866
  hideDetails: "",
854
867
  config: {
@@ -865,7 +878,7 @@ const At = ["id"], Dt = ["xmlns", "viewBox"], Et = { key: 0 }, Ht = ["id"], Bt =
865
878
  }
866
879
  }, {
867
880
  content: z(() => [
868
- ve(It, {
881
+ he(Ht, {
869
882
  colNames: le.value.colNames,
870
883
  head: le.value.head,
871
884
  body: le.value.body,
@@ -874,10 +887,10 @@ const At = ["id"], Dt = ["xmlns", "viewBox"], Et = { key: 0 }, Ht = ["id"], Bt =
874
887
  onClose: r[5] || (r[5] = (t) => C.value.showTable = !1)
875
888
  }, {
876
889
  th: z(({ th: t }) => [
877
- D("div", { innerHTML: t }, null, 8, fa)
890
+ D("div", { innerHTML: t }, null, 8, Ca)
878
891
  ]),
879
892
  td: z(({ td: t }) => [
880
- dt(S(isNaN(Number(t)) ? t : x(E)({
893
+ pt(S(isNaN(Number(t)) ? t : k(E)({
881
894
  p: e.value.style.chart.bars.dataLabels.prefix,
882
895
  v: t,
883
896
  s: e.value.style.chart.bars.dataLabels.suffix,
@@ -889,9 +902,9 @@ const At = ["id"], Dt = ["xmlns", "viewBox"], Et = { key: 0 }, Ht = ["id"], Bt =
889
902
  ]),
890
903
  _: 1
891
904
  }, 8, ["config"])) : v("", !0)
892
- ], 14, At));
905
+ ], 14, Xt));
893
906
  }
894
- }, Oa = /* @__PURE__ */ Ft(ma, [["__scopeId", "data-v-6f134df9"]]);
907
+ }, Aa = /* @__PURE__ */ Wt(_a, [["__scopeId", "data-v-b4b2047a"]]);
895
908
  export {
896
- Oa as default
909
+ Aa as default
897
910
  };