vue-data-ui 2.4.1 → 2.4.3

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 (218) hide show
  1. package/README.md +44 -44
  2. package/dist/{Arrow-BIs_9yK8.js → Arrow-C7lNL7sY.js} +1 -1
  3. package/dist/{Arrow-DpMf3yPs.cjs → Arrow-Dz6AomGr.cjs} +1 -1
  4. package/dist/{BaseIcon-CXDdkPfN.js → BaseIcon-BbvG1AlW.js} +7 -4
  5. package/dist/BaseIcon-uALK38Ov.cjs +1 -0
  6. package/dist/{DataTable-BTgMVOwp.cjs → DataTable-DTzynbND.cjs} +1 -1
  7. package/dist/{DataTable-DL2agEJ3.js → DataTable-DYqC2pqu.js} +2 -2
  8. package/dist/{Legend-Dj9KiaLv.cjs → Legend-Cgw4lO2O.cjs} +1 -1
  9. package/dist/{Legend-DXLiSLHd.js → Legend-DNgTCgEK.js} +1 -1
  10. package/dist/{PackageVersion-D4D0WicU.cjs → PackageVersion-DwI-KhXH.cjs} +1 -1
  11. package/dist/{PackageVersion-DtnhR89q.js → PackageVersion-VkaUzgmt.js} +1 -1
  12. package/dist/PenAndPaper-CDFVOo7X.cjs +1 -0
  13. package/dist/PenAndPaper-DAZYA8Ew.js +269 -0
  14. package/dist/{Shape-CO_Ak9Zm.js → Shape-Bwon0l0g.js} +1 -1
  15. package/dist/{Shape-7EC2UKDK.cjs → Shape-D2Dpshg1.cjs} +1 -1
  16. package/dist/{Slicer-BZfUZr1J.js → Slicer-TfpN2Cr4.js} +3 -3
  17. package/dist/{Slicer-CLAVjSQP.cjs → Slicer-uSjfNJjG.cjs} +1 -1
  18. package/dist/{Title-C-lm3Mkl.cjs → Title-0Tp4hZ4u.cjs} +1 -1
  19. package/dist/{Title-DYNLqCCT.js → Title-C5pIfQAz.js} +1 -1
  20. package/dist/{Tooltip-t-3mVhcz.cjs → Tooltip-9Tp2Yrd1.cjs} +1 -1
  21. package/dist/{Tooltip-CICAYyQj.js → Tooltip-Cz24YLfw.js} +1 -1
  22. package/dist/{index-DDXisDKy.js → index-Bya_q1J-.js} +883 -842
  23. package/dist/index-eFox7weK.cjs +9 -0
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +22 -17
  26. package/dist/types/vue-data-ui.d.ts +22 -17
  27. package/dist/{useNestedProp-S1UXxUgm.js → useNestedProp-B33hazbH.js} +1 -1
  28. package/dist/{useNestedProp-CC9zGr7C.cjs → useNestedProp-BkgEhTQY.cjs} +1 -1
  29. package/dist/usePrinter-CSRFnDBU.cjs +1 -0
  30. package/dist/{usePrinter-8ofTb2MJ.js → usePrinter-CiHd1FwD.js} +230 -185
  31. package/dist/useResponsive-BY8tgM1n.js +188 -0
  32. package/dist/useResponsive-CodiGUOE.cjs +1 -0
  33. package/dist/vue-data-ui-BTtxyUc3.cjs +9 -0
  34. package/dist/vue-data-ui-Bduq4f2p.js +261 -0
  35. package/dist/vue-data-ui.cjs +1 -1
  36. package/dist/vue-data-ui.js +1 -1
  37. package/dist/vue-ui-3d-bar-B-P7PMHs.cjs +19 -0
  38. package/dist/{vue-ui-3d-bar-DcF1nyGW.js → vue-ui-3d-bar-BUEq_VdY.js} +421 -390
  39. package/dist/{vue-ui-accordion-D_1fE5EF.js → vue-ui-accordion-DfUfL2dI.js} +3 -3
  40. package/dist/{vue-ui-accordion-Cc9958th.cjs → vue-ui-accordion-TEMpM1hO.cjs} +1 -1
  41. package/dist/{vue-ui-age-pyramid-Oe_yHDL0.js → vue-ui-age-pyramid-CH72tAMb.js} +255 -222
  42. package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +1 -0
  43. package/dist/{vue-ui-annotator-Dix6_Gm6.js → vue-ui-annotator-DPeJ2its.js} +1 -1
  44. package/dist/{vue-ui-annotator-Dbp6cWMr.cjs → vue-ui-annotator-DU_DJKCw.cjs} +1 -1
  45. package/dist/vue-ui-bullet-CtP3MlUT.js +464 -0
  46. package/dist/vue-ui-bullet-D8ks_rKr.cjs +34 -0
  47. package/dist/vue-ui-candlestick-D1jdr0bv.cjs +2 -0
  48. package/dist/{vue-ui-candlestick-CRwzWF6j.js → vue-ui-candlestick-DDil13a0.js} +278 -245
  49. package/dist/{vue-ui-carousel-table-BHeEbRKY.js → vue-ui-carousel-table-BaeIxyc0.js} +76 -69
  50. package/dist/vue-ui-carousel-table-C7SJIOG-.cjs +1 -0
  51. package/dist/{vue-ui-chestnut-CRk0RCB9.js → vue-ui-chestnut-BczSJF6S.js} +322 -291
  52. package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +6 -0
  53. package/dist/{vue-ui-cursor-lU1rts1B.cjs → vue-ui-cursor-C2Pj_CI_.cjs} +1 -1
  54. package/dist/{vue-ui-cursor-y0kdr0uA.js → vue-ui-cursor-Dg_Dmww-.js} +2 -2
  55. package/dist/{vue-ui-dashboard-OyihaKdu.js → vue-ui-dashboard-Bul9dqx1.js} +2 -2
  56. package/dist/{vue-ui-dashboard-BfC0jS-X.cjs → vue-ui-dashboard-Cg020NiT.cjs} +1 -1
  57. package/dist/{vue-ui-digits-IKt4qT2-.js → vue-ui-digits-B8iAa4YZ.js} +2 -2
  58. package/dist/{vue-ui-digits-BJfcAiq_.cjs → vue-ui-digits-Ctgd84JR.cjs} +1 -1
  59. package/dist/vue-ui-donut-D7KT9EAp.cjs +1 -0
  60. package/dist/{vue-ui-donut-DFaGk4fI.js → vue-ui-donut-DUcp-fat.js} +376 -343
  61. package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +1 -0
  62. package/dist/{vue-ui-donut-evolution-Dd4o37RP.js → vue-ui-donut-evolution-C_YMbTwq.js} +375 -344
  63. package/dist/vue-ui-dumbbell-B0dikuqO.cjs +9 -0
  64. package/dist/{vue-ui-dumbbell-B7j1_JoQ.js → vue-ui-dumbbell-Buwngz_V.js} +294 -261
  65. package/dist/vue-ui-flow-Bz3c0K5P.js +515 -0
  66. package/dist/vue-ui-flow-D6rc8J-8.cjs +1 -0
  67. package/dist/{vue-ui-galaxy-CH1BDtWl.js → vue-ui-galaxy-Cjh0XGTX.js} +212 -181
  68. package/dist/vue-ui-galaxy-CmTt0vBf.cjs +1 -0
  69. package/dist/vue-ui-gauge-B1UvGkQa.js +527 -0
  70. package/dist/vue-ui-gauge-B_TKuyM7.cjs +1 -0
  71. package/dist/{vue-ui-gizmo-DVwQaEH1.cjs → vue-ui-gizmo-DFW6HnHp.cjs} +1 -1
  72. package/dist/{vue-ui-gizmo-CKQcbe_7.js → vue-ui-gizmo-DUQ4t-At.js} +3 -3
  73. package/dist/{vue-ui-heatmap-B-zWMk0Y.js → vue-ui-heatmap-C-poazUw.js} +308 -277
  74. package/dist/vue-ui-heatmap-C2HlnqzO.cjs +1 -0
  75. package/dist/{vue-ui-kpi-CghbfSdM.js → vue-ui-kpi-DXe-vxAk.js} +3 -3
  76. package/dist/{vue-ui-kpi-CuY3xlVq.cjs → vue-ui-kpi-Z4Oi4raz.cjs} +1 -1
  77. package/dist/{vue-ui-mini-loader-C7roqZ4p.js → vue-ui-mini-loader-BVtHTqxS.js} +2 -2
  78. package/dist/{vue-ui-mini-loader-CH_PfeDc.cjs → vue-ui-mini-loader-MMvpm9pz.cjs} +1 -1
  79. package/dist/vue-ui-molecule-BaJpDZND.js +805 -0
  80. package/dist/vue-ui-molecule-BiYIcOKN.cjs +1 -0
  81. package/dist/{vue-ui-mood-radar-DSznHxLS.js → vue-ui-mood-radar-BUNDwsEI.js} +259 -228
  82. package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +1 -0
  83. package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +17 -0
  84. package/dist/{vue-ui-nested-donuts-CiE4DdEQ.js → vue-ui-nested-donuts-mDy2hXa6.js} +371 -338
  85. package/dist/vue-ui-onion-DwFG3HAI.js +650 -0
  86. package/dist/vue-ui-onion-GWNoZRhw.cjs +5 -0
  87. package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +8 -0
  88. package/dist/vue-ui-parallel-coordinate-plot-ImET_zeo.js +719 -0
  89. package/dist/{vue-ui-quadrant-Cs3A77us.js → vue-ui-quadrant-BeveRihK.js} +359 -326
  90. package/dist/vue-ui-quadrant-yuFAxV-5.cjs +1 -0
  91. package/dist/{vue-ui-quick-chart-CiiSUexi.js → vue-ui-quick-chart-DAhllTfa.js} +585 -552
  92. package/dist/vue-ui-quick-chart-DgFDBzjS.cjs +15 -0
  93. package/dist/vue-ui-radar-BJH5SE6-.cjs +1 -0
  94. package/dist/{vue-ui-radar-CNSpiNrM.js → vue-ui-radar-BllatzRa.js} +279 -246
  95. package/dist/{vue-ui-rating-GoUNDOdZ.cjs → vue-ui-rating-BoZo7caL.cjs} +1 -1
  96. package/dist/{vue-ui-rating-b_iYZWF8.js → vue-ui-rating-D1ykV4xO.js} +2 -2
  97. package/dist/vue-ui-relation-circle-CKmjOle7.cjs +1 -0
  98. package/dist/vue-ui-relation-circle-xv2l5Be9.js +358 -0
  99. package/dist/vue-ui-rings-B-ZcX6y1.js +602 -0
  100. package/dist/vue-ui-rings-DjH3CK23.cjs +2 -0
  101. package/dist/{vue-ui-scatter-CVuoW-cD.js → vue-ui-scatter-DG43ck1g.js} +440 -407
  102. package/dist/vue-ui-scatter-SBCXAl7q.cjs +1 -0
  103. package/dist/{vue-ui-screenshot-Co2o48d6.cjs → vue-ui-screenshot-C1JBP_N0.cjs} +1 -1
  104. package/dist/{vue-ui-screenshot-Csc0dQL9.js → vue-ui-screenshot-p3ca8cAl.js} +1 -1
  105. package/dist/{vue-ui-skeleton-B2sRnIXX.js → vue-ui-skeleton-BYssP0K4.js} +419 -379
  106. package/dist/vue-ui-skeleton-BqKzuhkB.cjs +41 -0
  107. package/dist/{vue-ui-smiley-Ci3uMgVh.cjs → vue-ui-smiley-BXKVpHl2.cjs} +1 -1
  108. package/dist/{vue-ui-smiley-D4s-AdIE.js → vue-ui-smiley-D7dDCdpq.js} +2 -2
  109. package/dist/vue-ui-spark-trend-9V60hM3Z.cjs +1 -0
  110. package/dist/{vue-ui-spark-trend-CHKQGMLs.js → vue-ui-spark-trend-GWFrO_0z.js} +86 -79
  111. package/dist/vue-ui-sparkbar-Bgn6AY0q.cjs +1 -0
  112. package/dist/{vue-ui-sparkbar-Bb1fq2GR.js → vue-ui-sparkbar-CwqlyAyv.js} +90 -83
  113. package/dist/vue-ui-sparkgauge-Dqntz2Zv.cjs +1 -0
  114. package/dist/{vue-ui-sparkgauge-DWuaAQbo.js → vue-ui-sparkgauge-F2XbiXyA.js} +57 -50
  115. package/dist/{vue-ui-sparkhistogram-CjeJ3ch1.js → vue-ui-sparkhistogram-DRIKK6Ym.js} +74 -67
  116. package/dist/vue-ui-sparkhistogram-DnY4-Sdn.cjs +1 -0
  117. package/dist/vue-ui-sparkline-CAEs-gtK.cjs +1 -0
  118. package/dist/{vue-ui-sparkline-DGJDBArr.js → vue-ui-sparkline-Cxtzdlhi.js} +134 -125
  119. package/dist/{vue-ui-sparkstackbar-B3ul3qUZ.js → vue-ui-sparkstackbar-0A1klq9s.js} +84 -77
  120. package/dist/vue-ui-sparkstackbar-D37ms1rx.cjs +1 -0
  121. package/dist/vue-ui-stackbar-ByOuJSdM.js +947 -0
  122. package/dist/vue-ui-stackbar-wun4S3C0.cjs +6 -0
  123. package/dist/{vue-ui-strip-plot-CIb2LSV8.js → vue-ui-strip-plot-CMD0MSqY.js} +297 -264
  124. package/dist/vue-ui-strip-plot-IQrypGvz.cjs +1 -0
  125. package/dist/{vue-ui-table-CmVi0nv2.js → vue-ui-table-B75DJ39t.js} +1 -1
  126. package/dist/{vue-ui-table-B_sFrAO9.cjs → vue-ui-table-aj0XZ7T5.cjs} +1 -1
  127. package/dist/{vue-ui-table-heatmap-CgFr38QT.js → vue-ui-table-heatmap-BO2ugWqD.js} +55 -48
  128. package/dist/vue-ui-table-heatmap-Ce93TyBF.cjs +1 -0
  129. package/dist/{vue-ui-table-sparkline-eg2Qd8ws.js → vue-ui-table-sparkline-CbjfAaj2.js} +88 -81
  130. package/dist/vue-ui-table-sparkline-D6KJjDnU.cjs +1 -0
  131. package/dist/vue-ui-thermometer-Pq4PvSIP.js +447 -0
  132. package/dist/vue-ui-thermometer-swmi4FmH.cjs +1 -0
  133. package/dist/{vue-ui-timer-DM1IStj1.cjs → vue-ui-timer-B6IB6yS6.cjs} +1 -1
  134. package/dist/{vue-ui-timer-COSI3Q5T.js → vue-ui-timer-Bk3BvB-B.js} +6 -6
  135. package/dist/vue-ui-tiremarks-CU9HJIqf.js +310 -0
  136. package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +1 -0
  137. package/dist/vue-ui-treemap-BEMuKV7x.cjs +1 -0
  138. package/dist/vue-ui-treemap-DY-lRAhC.js +825 -0
  139. package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +4 -0
  140. package/dist/vue-ui-vertical-bar-CtnIKsM1.js +861 -0
  141. package/dist/vue-ui-waffle-BqP7Okgu.cjs +1 -0
  142. package/dist/vue-ui-waffle-reOsx-gJ.js +791 -0
  143. package/dist/vue-ui-wheel-BuWUGnkC.cjs +1 -0
  144. package/dist/vue-ui-wheel-kYxny3vn.js +291 -0
  145. package/dist/vue-ui-word-cloud-DbMqrHAf.js +607 -0
  146. package/dist/vue-ui-word-cloud-DwLY4QdB.cjs +1 -0
  147. package/dist/vue-ui-xy-CGWzriYn.cjs +3 -0
  148. package/dist/{vue-ui-xy-canvas-BYdTxzi6.js → vue-ui-xy-canvas-B0HTR7OV.js} +441 -408
  149. package/dist/vue-ui-xy-canvas-CgJd5FiT.cjs +9 -0
  150. package/dist/{vue-ui-xy-x8KEsGV-.js → vue-ui-xy-rbACig0h.js} +824 -791
  151. package/package.json +1 -1
  152. package/dist/BaseIcon-E7FmzMcY.cjs +0 -1
  153. package/dist/index-C7_6YjWN.cjs +0 -9
  154. package/dist/usePrinter-8EP4iaGm.cjs +0 -1
  155. package/dist/useResponsive-B3TrDDIG.cjs +0 -1
  156. package/dist/useResponsive-NZB-WLRF.js +0 -187
  157. package/dist/vue-data-ui-4Yd255Ia.cjs +0 -9
  158. package/dist/vue-data-ui-Cp7bO_tj.js +0 -258
  159. package/dist/vue-ui-3d-bar-BeR2aBgQ.cjs +0 -19
  160. package/dist/vue-ui-age-pyramid-R-C4P4mI.cjs +0 -1
  161. package/dist/vue-ui-bullet-CQKaC4wG.js +0 -409
  162. package/dist/vue-ui-bullet-DSZox236.cjs +0 -23
  163. package/dist/vue-ui-candlestick-Dilozp3V.cjs +0 -2
  164. package/dist/vue-ui-carousel-table-C0GDDSW9.cjs +0 -1
  165. package/dist/vue-ui-chestnut-DdEcEI04.cjs +0 -6
  166. package/dist/vue-ui-donut-DTSVlGMg.cjs +0 -1
  167. package/dist/vue-ui-donut-evolution-BuUafabD.cjs +0 -1
  168. package/dist/vue-ui-dumbbell-CVfgnyKi.cjs +0 -9
  169. package/dist/vue-ui-flow-C45dODaB.cjs +0 -1
  170. package/dist/vue-ui-flow-DkPTzNv9.js +0 -484
  171. package/dist/vue-ui-galaxy-DlPavMK0.cjs +0 -1
  172. package/dist/vue-ui-gauge-BXiy515T.js +0 -494
  173. package/dist/vue-ui-gauge-vMFUYHYH.cjs +0 -1
  174. package/dist/vue-ui-heatmap-CMQqQnxc.cjs +0 -1
  175. package/dist/vue-ui-molecule-BwmkMEVN.js +0 -774
  176. package/dist/vue-ui-molecule-nOuD0hR5.cjs +0 -1
  177. package/dist/vue-ui-mood-radar-Bof_C9Ae.cjs +0 -1
  178. package/dist/vue-ui-nested-donuts-DIb6YyWv.cjs +0 -17
  179. package/dist/vue-ui-onion-D9o6Rcgu.js +0 -617
  180. package/dist/vue-ui-onion-N3tRNc4u.cjs +0 -5
  181. package/dist/vue-ui-parallel-coordinate-plot-BcYrYXhG.js +0 -686
  182. package/dist/vue-ui-parallel-coordinate-plot-qKGk2bX6.cjs +0 -8
  183. package/dist/vue-ui-quadrant-Do48rGrX.cjs +0 -1
  184. package/dist/vue-ui-quick-chart-BxU4d-sJ.cjs +0 -15
  185. package/dist/vue-ui-radar-CooAvwPA.cjs +0 -1
  186. package/dist/vue-ui-relation-circle-nRf1pvD0.js +0 -325
  187. package/dist/vue-ui-relation-circle-uNgJni4x.cjs +0 -1
  188. package/dist/vue-ui-rings-BgRc1o4_.js +0 -569
  189. package/dist/vue-ui-rings-iIgQI9Ws.cjs +0 -2
  190. package/dist/vue-ui-scatter-CkrpmLxP.cjs +0 -1
  191. package/dist/vue-ui-skeleton-CGV1dEUD.cjs +0 -41
  192. package/dist/vue-ui-spark-trend-BfoEoJEy.cjs +0 -1
  193. package/dist/vue-ui-sparkbar-DB2DeXti.cjs +0 -1
  194. package/dist/vue-ui-sparkgauge-CJepIY2u.cjs +0 -1
  195. package/dist/vue-ui-sparkhistogram-B7B36LLT.cjs +0 -1
  196. package/dist/vue-ui-sparkline-BcqmwDAb.cjs +0 -1
  197. package/dist/vue-ui-sparkstackbar-DT3aKNeV.cjs +0 -1
  198. package/dist/vue-ui-stackbar-CRcUugkl.cjs +0 -6
  199. package/dist/vue-ui-stackbar-DNROvZII.js +0 -915
  200. package/dist/vue-ui-strip-plot-Ck9Fmt_b.cjs +0 -1
  201. package/dist/vue-ui-table-heatmap-Chvdf2Gi.cjs +0 -1
  202. package/dist/vue-ui-table-sparkline-DUUYQ5dH.cjs +0 -1
  203. package/dist/vue-ui-thermometer-BFfN4aat.cjs +0 -1
  204. package/dist/vue-ui-thermometer-BePmFiwy.js +0 -416
  205. package/dist/vue-ui-tiremarks-BkYXzU3R.cjs +0 -1
  206. package/dist/vue-ui-tiremarks-d6TmSHY7.js +0 -279
  207. package/dist/vue-ui-treemap-BgeZnbl3.cjs +0 -1
  208. package/dist/vue-ui-treemap-Qg0858o6.js +0 -792
  209. package/dist/vue-ui-vertical-bar-CieqHVD5.js +0 -828
  210. package/dist/vue-ui-vertical-bar-D3atbdvl.cjs +0 -4
  211. package/dist/vue-ui-waffle-CD7C9Lu4.cjs +0 -1
  212. package/dist/vue-ui-waffle-CjNhM-mV.js +0 -758
  213. package/dist/vue-ui-wheel-B8mbO6ht.js +0 -258
  214. package/dist/vue-ui-wheel-CYmM7J61.cjs +0 -1
  215. package/dist/vue-ui-word-cloud-DMXrUmX5.js +0 -574
  216. package/dist/vue-ui-word-cloud-Dm9yZ1zQ.cjs +0 -1
  217. package/dist/vue-ui-xy-DoWnidom.cjs +0 -3
  218. package/dist/vue-ui-xy-canvas-DHs5sb3t.cjs +0 -9
@@ -1,23 +1,28 @@
1
- import { computed as x, ref as m, onMounted as Ke, watch as Fe, openBlock as a, createElementBlock as u, normalizeClass as F, normalizeStyle as ae, createBlock as E, createCommentVNode as d, unref as c, createSlots as qe, withCtx as P, renderSlot as I, normalizeProps as ue, guardReactiveProps as oe, createVNode as Je, createElementVNode as v, Fragment as p, renderList as k, toDisplayString as b, withKeys as Qe, createTextVNode as Pe, nextTick as Ze } from "vue";
2
- import { u as et, o as tt, e as B, g as lt, c as De, t as at, a as ut, p as Y, b as ot, I as st, d as se, C as Ie, m as re, X as rt, s as U, D as nt, i as ne, f as K, j as Te, k as q, n as Ee, J as Oe, q as it, r as ct } from "./index-DDXisDKy.js";
3
- import { _ as vt } from "./Title-DYNLqCCT.js";
4
- import { u as dt, U as ht } from "./usePrinter-8ofTb2MJ.js";
5
- import { D as yt } from "./DataTable-DL2agEJ3.js";
6
- import { L as ft } from "./Legend-DXLiSLHd.js";
7
- import gt from "./vue-ui-skeleton-B2sRnIXX.js";
8
- import { S as bt } from "./Slicer-BZfUZr1J.js";
9
- import xt from "./vue-ui-accordion-D_1fE5EF.js";
10
- import { u as Ve } from "./useNestedProp-S1UXxUgm.js";
11
- import { _ as mt } from "./PackageVersion-DtnhR89q.js";
12
- import { _ as pt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
- const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"], Lt = ["stop-color"], $t = ["id"], St = ["stop-color"], At = ["stop-color"], Nt = ["stop-color"], zt = { key: 0 }, Ft = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Pt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Dt = { key: 0 }, It = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Tt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Et = ["x", "y", "font-size", "fill", "font-weight"], Ot = ["text-anchor", "font-size", "fill", "transform"], Vt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Ht = { key: 1 }, Mt = ["cx", "cy", "r", "fill"], Wt = { key: 0 }, Rt = { key: 0 }, Ut = ["d", "stroke"], Xt = ["text-anchor", "x", "y", "fill"], Gt = ["cx", "cy", "r", "fill"], jt = { key: 0 }, Bt = ["cx", "cy", "fill"], Yt = { key: 1 }, Kt = ["d", "fill", "stroke"], qt = { key: 2 }, Jt = ["d", "fill", "stroke"], Qt = ["x", "y", "font-size", "fill"], Zt = ["x", "y", "width", "fill", "onClick"], el = ["x", "y", "width", "height", "onMouseenter", "onClick"], tl = {
1
+ import { computed as m, ref as p, onMounted as Je, watch as De, openBlock as a, createElementBlock as o, normalizeClass as D, normalizeStyle as re, createBlock as I, createCommentVNode as v, unref as c, createSlots as Qe, withCtx as F, renderSlot as P, normalizeProps as Y, guardReactiveProps as K, createVNode as Ze, createElementVNode as d, Fragment as x, renderList as k, toDisplayString as b, withKeys as et, createTextVNode as Te, nextTick as tt } from "vue";
2
+ import { u as lt, o as at, e as q, g as ot, c as Ie, t as ut, a as st, p as J, b as nt, I as rt, d as ie, C as Ee, m as ce, X as it, s as U, D as ct, i as ve, f as Q, j as Oe, k as Z, n as Ve, J as He, q as vt, r as dt } from "./index-Bya_q1J-.js";
3
+ import { _ as ht } from "./Title-C5pIfQAz.js";
4
+ import { u as yt, U as ft } from "./usePrinter-CiHd1FwD.js";
5
+ import { D as gt } from "./DataTable-DYqC2pqu.js";
6
+ import { L as bt } from "./Legend-DNgTCgEK.js";
7
+ import mt from "./vue-ui-skeleton-BYssP0K4.js";
8
+ import { S as pt } from "./Slicer-TfpN2Cr4.js";
9
+ import xt from "./vue-ui-accordion-DfUfL2dI.js";
10
+ import { u as Me } from "./useNestedProp-B33hazbH.js";
11
+ import { _ as kt } from "./PackageVersion-VkaUzgmt.js";
12
+ import { P as _t } from "./PenAndPaper-DAZYA8Ew.js";
13
+ import { _ as Ct } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
+ const wt = ["id"], Lt = ["xmlns", "viewBox"], At = ["id"], $t = ["stop-color"], St = ["stop-color"], Nt = ["id"], zt = ["stop-color"], Ft = ["stop-color"], Pt = ["stop-color"], Dt = { key: 0 }, Tt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], It = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Et = { key: 0 }, Ot = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Vt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ht = ["x", "y", "font-size", "fill", "font-weight"], Mt = ["text-anchor", "font-size", "fill", "transform"], Wt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Rt = { key: 1 }, Ut = ["cx", "cy", "r", "fill"], Xt = { key: 0 }, Gt = { key: 0 }, jt = ["d", "stroke"], Bt = ["text-anchor", "x", "y", "fill"], Yt = ["cx", "cy", "r", "fill"], Kt = { key: 0 }, qt = ["cx", "cy", "fill"], Jt = { key: 1 }, Qt = ["d", "fill", "stroke"], Zt = { key: 2 }, el = ["d", "fill", "stroke"], tl = ["x", "y", "font-size", "fill"], ll = ["x", "y", "width", "fill", "onClick"], al = ["x", "y", "width", "height", "onMouseenter", "onClick"], ol = {
14
15
  key: 3,
15
16
  "data-cy-zoom": "",
16
17
  class: "vue-ui-donut-evolution-dialog"
17
- }, ll = ["x", "y", "width", "height", "fill"], al = ["x1", "y1", "x2", "y2", "stroke"], ul = ["x1", "y2", "x2", "y1", "stroke"], ol = ["onKeypress", "cx", "cy", "r"], sl = ["d", "stroke"], rl = ["cx", "cy", "r", "fill"], nl = ["d", "fill", "stroke"], il = { class: "vue-ui-donut-evolution-focus" }, cl = ["text-anchor", "x", "y", "fill"], vl = ["cx", "cy", "r", "fill"], dl = ["cx", "cy", "r", "fill"], hl = ["x", "y", "fill"], yl = ["x", "y", "font-size", "fill"], fl = {
18
- key: 3,
18
+ }, ul = ["x", "y", "width", "height", "fill"], sl = ["x1", "y1", "x2", "y2", "stroke"], nl = ["x1", "y2", "x2", "y1", "stroke"], rl = ["onKeypress", "cx", "cy", "r"], il = ["d", "stroke"], cl = ["cx", "cy", "r", "fill"], vl = ["d", "fill", "stroke"], dl = { class: "vue-ui-donut-evolution-focus" }, hl = ["text-anchor", "x", "y", "fill"], yl = ["cx", "cy", "r", "fill"], fl = ["cx", "cy", "r", "fill"], gl = ["x", "y", "fill"], bl = ["x", "y", "font-size", "fill"], ml = {
19
+ key: 4,
19
20
  class: "vue-data-ui-watermark"
20
- }, gl = ["onClick"], bl = { key: 0 }, xl = { key: 1 }, ml = { key: 0 }, pl = { key: 1 }, kl = {
21
+ }, pl = ["onClick"], xl = { key: 0 }, kl = { key: 1 }, _l = {
22
+ key: 8,
23
+ ref: "source",
24
+ dir: "auto"
25
+ }, Cl = { key: 0 }, wl = { key: 1 }, Ll = {
21
26
  __name: "vue-ui-donut-evolution",
22
27
  props: {
23
28
  config: {
@@ -34,30 +39,30 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
34
39
  }
35
40
  },
36
41
  emits: ["selectLegend"],
37
- setup(He, { expose: Me, emit: ie }) {
38
- const $ = He, { vue_ui_donut_evolution: We } = et(), X = x(() => !!$.dataset && $.dataset.length), h = m({
42
+ setup(We, { expose: Re, emit: de }) {
43
+ const A = We, { vue_ui_donut_evolution: Ue } = lt(), X = m(() => !!A.dataset && A.dataset.length), h = p({
39
44
  start: 0,
40
- end: Math.max(...$.dataset.map((l) => l.values.length))
45
+ end: Math.max(...A.dataset.map((l) => l.values.length))
41
46
  });
42
- function ce() {
47
+ function he() {
43
48
  h.value = {
44
49
  start: 0,
45
50
  end: W.value
46
- }, ye.value += 1;
51
+ }, ge.value += 1;
47
52
  }
48
- Ke(() => {
49
- ve();
53
+ Je(() => {
54
+ ye();
50
55
  });
51
- function ve() {
52
- tt($.dataset) ? B({
56
+ function ye() {
57
+ at(A.dataset) ? q({
53
58
  componentName: "VueUiDonutEvolution",
54
59
  type: "dataset"
55
- }) : $.dataset.length && $.dataset.forEach((l, i) => {
56
- lt({
60
+ }) : A.dataset.length && A.dataset.forEach((l, i) => {
61
+ ot({
57
62
  datasetObject: l,
58
63
  requiredAttributes: ["name", "values"]
59
64
  }).forEach((t) => {
60
- B({
65
+ q({
61
66
  componentName: "VueUiDonutEvolution",
62
67
  type: "datasetSerieAttribute",
63
68
  property: t,
@@ -66,39 +71,39 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
66
71
  });
67
72
  });
68
73
  }
69
- const T = m(De()), _ = m([]), g = m(null), J = m(null), S = m(!1), A = m(null), de = m(null), he = m(0), ye = m(0), fe = m(0), ge = m(0), be = m(0), e = x({
74
+ const E = p(Ie()), _ = p([]), g = p(null), ee = p(null), $ = p(!1), S = p(null), te = p(null), fe = p(0), ge = p(0), be = p(0), me = p(0), pe = p(0), e = m({
70
75
  get: () => xe(),
71
76
  set: (l) => l
72
77
  });
73
78
  function xe() {
74
- const l = Ve({
75
- userConfig: $.config,
76
- defaultConfig: We
79
+ const l = Me({
80
+ userConfig: A.config,
81
+ defaultConfig: Ue
77
82
  });
78
83
  return l.theme ? {
79
- ...Ve({
80
- userConfig: at.vue_ui_donut_evolution[l.theme] || $.config,
84
+ ...Me({
85
+ userConfig: ut.vue_ui_donut_evolution[l.theme] || A.config,
81
86
  defaultConfig: l
82
87
  }),
83
- customPalette: ut[l.theme] || Y
88
+ customPalette: st[l.theme] || J
84
89
  } : l;
85
90
  }
86
- Fe(() => $.config, (l) => {
87
- e.value = xe(), ve(), fe.value += 1, ge.value += 1, be.value += 1;
88
- }, { deep: !0 }), Fe(() => $.dataset, (l) => {
89
- ce();
91
+ De(() => A.config, (l) => {
92
+ e.value = xe(), ye(), be.value += 1, me.value += 1, pe.value += 1;
93
+ }, { deep: !0 }), De(() => A.dataset, (l) => {
94
+ he();
90
95
  }, { deep: !0 });
91
- const { isPrinting: me, isImaging: pe, generatePdf: ke, generateImage: _e } = dt({
92
- elementId: T.value,
96
+ const { isPrinting: ke, isImaging: _e, generatePdf: Ce, generateImage: we } = yt({
97
+ elementId: E.value,
93
98
  fileName: e.value.style.chart.title.text || "vue-ui-donut-evolution"
94
- }), Re = x(() => ot(e.value.customPalette)), G = m({
99
+ }), Xe = m(() => nt(e.value.customPalette)), G = p({
95
100
  showTable: e.value.table.show
96
- }), s = x(() => ({
101
+ }), s = m(() => ({
97
102
  top: e.value.style.chart.layout.padding.top,
98
103
  right: e.value.style.chart.layout.padding.right,
99
104
  bottom: e.value.style.chart.layout.padding.bottom,
100
105
  left: e.value.style.chart.layout.padding.left
101
- })), r = x(() => {
106
+ })), r = m(() => {
102
107
  const l = e.value.style.chart.layout.height, i = e.value.style.chart.layout.width, t = l - s.value.top - s.value.bottom, n = i - s.value.left - s.value.right;
103
108
  return {
104
109
  absoluteHeight: l,
@@ -108,64 +113,64 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
108
113
  height: t,
109
114
  width: n
110
115
  };
111
- }), D = x(() => ($.dataset.forEach((l, i) => {
112
- [null, void 0].includes(l.name) && B({
116
+ }), T = m(() => (A.dataset.forEach((l, i) => {
117
+ [null, void 0].includes(l.name) && q({
113
118
  componentName: "VueUiDonutEvolution",
114
119
  type: "datasetSerieAttribute",
115
120
  property: "name",
116
121
  index: i
117
- }), [null, void 0].includes(l.values) && B({
122
+ }), [null, void 0].includes(l.values) && q({
118
123
  componentName: "VueUiDonutEvolution",
119
124
  type: "datasetSerieAttribute",
120
125
  property: "values",
121
126
  index: i
122
127
  });
123
- }), $.dataset.map((l, i) => ({
128
+ }), A.dataset.map((l, i) => ({
124
129
  ...l,
125
- values: st(l.values),
126
- color: se(l.color) || Re.value[i] || Y[i] || Y[i % Y.length],
130
+ values: rt(l.values),
131
+ color: ie(l.color) || Xe.value[i] || J[i] || J[i % J.length],
127
132
  length: (l.values || []).length,
128
- uid: De()
129
- })))), M = x(() => D.value.filter((l) => !_.value.includes(l.uid)).map((l) => ({
133
+ uid: Ie()
134
+ })))), M = m(() => T.value.filter((l) => !_.value.includes(l.uid)).map((l) => ({
130
135
  ...l,
131
136
  values: l.values.filter((i, t) => t >= h.value.start && t <= h.value.end)
132
- }))), W = x(() => Math.max(...M.value.map((l) => l.length))), w = x(() => r.value.width / (h.value.end - h.value.start)), C = x(() => {
137
+ }))), W = m(() => Math.max(...M.value.map((l) => l.length))), w = m(() => r.value.width / (h.value.end - h.value.start)), C = m(() => {
133
138
  const l = [];
134
- for (let o = 0; o < h.value.end - h.value.start; o += 1) {
135
- const f = M.value.map((z) => z.values[o] ?? null), y = f.filter((z) => [void 0, null].includes(z)).length === f.length, N = f.reduce((z, L) => z + L, 0), le = f.map((z) => z / N), H = s.value.left + w.value * o + w.value / 2;
139
+ for (let u = 0; u < h.value.end - h.value.start; u += 1) {
140
+ const f = M.value.map((z) => z.values[u] ?? null), y = f.filter((z) => [void 0, null].includes(z)).length === f.length, N = f.reduce((z, L) => z + L, 0), ne = f.map((z) => z / N), H = s.value.left + w.value * u + w.value / 2;
136
141
  l.push({
137
- index: o,
138
- percentages: le,
142
+ index: u,
143
+ percentages: ne,
139
144
  subtotal: y || N < 0 ? null : N,
140
145
  values: f,
141
146
  x: H
142
147
  });
143
148
  }
144
- const i = 0, t = Math.max(...l.map((o) => o.subtotal)), n = l.length === 1 ? t * 2 : t;
145
- return l.map((o, f) => {
146
- const y = w.value / 2 * 0.7, N = y > r.value.width / 16 ? r.value.width / 16 : y, le = g.value === o.index ? r.value.width / 16 : N, H = l.length > 4 ? y * 2 : y * 2 > w.value / 2 * 0.7 ? w.value / 2 * 0.7 : y * 2, z = r.value.absoluteHeight - s.value.bottom - r.value.height * o.subtotal / Ie(i, n, e.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;
149
+ const i = 0, t = Math.max(...l.map((u) => u.subtotal)), n = l.length === 1 ? t * 2 : t;
150
+ return l.map((u, f) => {
151
+ const y = w.value / 2 * 0.7, N = y > r.value.width / 16 ? r.value.width / 16 : y, ne = g.value === u.index ? r.value.width / 16 : N, H = l.length > 4 ? y * 2 : y * 2 > w.value / 2 * 0.7 ? w.value / 2 * 0.7 : y * 2, z = r.value.absoluteHeight - s.value.bottom - r.value.height * u.subtotal / Ee(i, n, e.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;
147
152
  return {
148
- ...o,
153
+ ...u,
149
154
  y: z,
150
155
  radius: N,
151
- activeRadius: le,
156
+ activeRadius: ne,
152
157
  hoverRadius: H,
153
- donut: re({
154
- series: M.value.map((L, ze) => ({
158
+ donut: ce({
159
+ series: M.value.map((L, Pe) => ({
155
160
  color: L.color,
156
161
  name: L.name,
157
162
  value: L.values[f] ?? 0
158
163
  }))
159
- }, o.x, z, N, N, 1.99999, 2, 1, 360, 105.25, N / 2),
160
- donutHover: re({
161
- series: M.value.map((L, ze) => ({
164
+ }, u.x, z, N, N, 1.99999, 2, 1, 360, 105.25, N / 2),
165
+ donutHover: ce({
166
+ series: M.value.map((L, Pe) => ({
162
167
  color: L.color,
163
168
  name: L.name,
164
169
  value: L.values[f] ?? 0
165
170
  }))
166
- }, o.x, z, H, H, 1.99999, 2, 1, 360, 105.25, H / 2),
167
- donutFocus: re({
168
- series: M.value.map((L, ze) => ({
171
+ }, u.x, z, H, H, 1.99999, 2, 1, 360, 105.25, H / 2),
172
+ donutFocus: ce({
173
+ series: M.value.map((L, Pe) => ({
169
174
  color: L.color,
170
175
  name: L.name,
171
176
  value: L.values[f] ?? 0
@@ -175,10 +180,10 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
175
180
  });
176
181
  });
177
182
  function j(l, i, t) {
178
- return ne(
183
+ return ve(
179
184
  e.value.style.chart.layout.dataLabels.formatter,
180
185
  l,
181
- K({
186
+ Q({
182
187
  p: e.value.style.chart.layout.dataLabels.prefix,
183
188
  v: l,
184
189
  s: e.value.style.chart.layout.dataLabels.suffix,
@@ -187,37 +192,37 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
187
192
  { datapoint: i, index: t }
188
193
  );
189
194
  }
190
- const Q = x(() => ({
195
+ const le = m(() => ({
191
196
  max: Math.max(...C.value.map((l) => l.subtotal)),
192
197
  min: 0
193
- })), O = x(() => {
194
- const l = C.value.length === 1 ? Q.value.max * 2 : Q.value.max;
195
- return Ie(Q.value.min, l, e.value.style.chart.layout.grid.yAxis.dataLabels.steps);
198
+ })), O = m(() => {
199
+ const l = C.value.length === 1 ? le.value.max * 2 : le.value.max;
200
+ return Ee(le.value.min, l, e.value.style.chart.layout.grid.yAxis.dataLabels.steps);
196
201
  });
197
- function Ue(l) {
202
+ function Ge(l) {
198
203
  return l / O.value.max;
199
204
  }
200
- const Xe = x(() => O.value.ticks.map((l) => ({
201
- y: r.value.absoluteHeight - s.value.bottom - r.value.height * Ue(l),
205
+ const je = m(() => O.value.ticks.map((l) => ({
206
+ y: r.value.absoluteHeight - s.value.bottom - r.value.height * Ge(l),
202
207
  value: l
203
208
  })));
204
- function Ce(l, i) {
205
- return isNaN(l.value / Oe(i, "value")) ? 0 : (l.value / Oe(i, "value") * 100).toFixed(0) + "%";
209
+ function Le(l, i) {
210
+ return isNaN(l.value / He(i, "value")) ? 0 : (l.value / He(i, "value") * 100).toFixed(0) + "%";
206
211
  }
207
- function we() {
208
- S.value || (g.value = null, J.value = null);
212
+ function Ae() {
213
+ $.value || (g.value = null, ee.value = null);
209
214
  }
210
- function Ge(l) {
211
- S.value || (g.value = l.index, J.value = l);
215
+ function Be(l) {
216
+ $.value || (g.value = l.index, ee.value = l);
212
217
  }
213
- const Z = m(null);
214
- function ee(l, i) {
215
- l.subtotal && (J.value = null, g.value = null, S.value = !0, A.value = l, [null, void 0].includes(i) || (Z.value = i));
218
+ const ae = p(null);
219
+ function oe(l, i) {
220
+ l.subtotal && (ee.value = null, g.value = null, $.value = !0, S.value = l, [null, void 0].includes(i) || (ae.value = i));
216
221
  }
217
- function Le() {
218
- A.value = null, S.value = !1, Z.value = null;
222
+ function $e() {
223
+ S.value = null, $.value = !1, ae.value = null;
219
224
  }
220
- const $e = x(() => D.value.map((l, i) => ({
225
+ const Se = m(() => T.value.map((l, i) => ({
221
226
  name: l.name,
222
227
  value: l.values.slice(h.value.start, h.value.end).reduce((t, n) => t + n, 0),
223
228
  shape: "circle",
@@ -226,9 +231,9 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
226
231
  })).sort((l, i) => i.value - l.value).map((l) => ({
227
232
  ...l,
228
233
  opacity: _.value.includes(l.uid) ? 0.5 : 1,
229
- segregate: () => te(l.uid),
234
+ segregate: () => ue(l.uid),
230
235
  isSegregated: _.value.includes(l.uid)
231
- }))), Se = x(() => C.value.map((l) => l.subtotal).reduce((l, i) => l + i, 0)), je = x(() => ({
236
+ }))), Ne = m(() => C.value.map((l) => l.subtotal).reduce((l, i) => l + i, 0)), Ye = m(() => ({
232
237
  cy: "donut-div-legend",
233
238
  backgroundColor: e.value.style.chart.legend.backgroundColor,
234
239
  color: e.value.style.chart.legend.color,
@@ -236,26 +241,26 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
236
241
  paddingBottom: 12,
237
242
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
238
243
  }));
239
- function te(l) {
244
+ function ue(l) {
240
245
  if (_.value.includes(l))
241
- _.value = _.value.filter((i) => i !== l), ie("selectLegend", null);
246
+ _.value = _.value.filter((i) => i !== l), de("selectLegend", null);
242
247
  else {
243
- if (_.value.length === D.value.length - 1) return;
244
- _.value.push(l), ie("selectLegend", D.value.find((i) => i.uid === l));
248
+ if (_.value.length === T.value.length - 1) return;
249
+ _.value.push(l), de("selectLegend", T.value.find((i) => i.uid === l));
245
250
  }
246
- A.value && ee(C.value.find((i, t) => t === Z.value));
251
+ S.value && oe(C.value.find((i, t) => t === ae.value));
247
252
  }
248
- const V = x(() => {
249
- const l = [""].concat(D.value.filter((o) => !_.value.includes(o.uid)).map((o) => ({
250
- name: o.name,
251
- color: o.color
253
+ const V = m(() => {
254
+ const l = [""].concat(T.value.filter((u) => !_.value.includes(u.uid)).map((u) => ({
255
+ name: u.name,
256
+ color: u.color
252
257
  }))).concat(["Σ"]);
253
258
  let i = [];
254
- for (let o = 0; o < W.value; o += 1) {
255
- const f = D.value.filter((y) => !_.value.includes(y.uid)).map((y) => y.values[o] ?? 0).reduce((y, N) => y + N, 0);
256
- i.push([e.value.style.chart.layout.grid.xAxis.dataLabels.values[o] ?? "-"].concat(D.value.filter((y) => !_.value.includes(y.uid)).map((y) => ({
257
- value: y.values[o] ?? 0,
258
- percentage: y.values[o] ? y.values[o] / f * 100 : 0
259
+ for (let u = 0; u < W.value; u += 1) {
260
+ const f = T.value.filter((y) => !_.value.includes(y.uid)).map((y) => y.values[u] ?? 0).reduce((y, N) => y + N, 0);
261
+ i.push([e.value.style.chart.layout.grid.xAxis.dataLabels.values[u] ?? "-"].concat(T.value.filter((y) => !_.value.includes(y.uid)).map((y) => ({
262
+ value: y.values[u] ?? 0,
263
+ percentage: y.values[u] ? y.values[u] / f * 100 : 0
259
264
  }))).concat([`${e.value.style.chart.layout.dataLabels.prefix}${Number(f.toFixed(e.value.table.td.roundingValue))}${e.value.style.chart.layout.dataLabels.suffix}`]));
260
265
  }
261
266
  const t = {
@@ -272,45 +277,58 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
272
277
  breakpoint: e.value.table.responsiveBreakpoint
273
278
  }, n = [
274
279
  e.value.table.columnNames.period
275
- ].concat(D.value.filter((o) => !_.value.includes(o.uid)).map((o) => o.name)).concat(e.value.table.columnNames.total);
280
+ ].concat(T.value.filter((u) => !_.value.includes(u.uid)).map((u) => u.name)).concat(e.value.table.columnNames.total);
276
281
  return { head: l, body: i, config: t, colNames: n };
277
282
  });
278
- function Be() {
279
- return D.value;
283
+ function Ke() {
284
+ return T.value;
280
285
  }
281
- function Ae() {
282
- Ze(() => {
283
- const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], i = [...V.value.head.map((f) => f.name ?? f)], t = [...V.value.body.map((f) => f.map((y) => y.value ?? y))], n = l.concat([i]).concat(t), o = it(n);
284
- ct({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-donut-evolution" });
286
+ function ze() {
287
+ tt(() => {
288
+ const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], i = [...V.value.head.map((f) => f.name ?? f)], t = [...V.value.body.map((f) => f.map((y) => y.value ?? y))], n = l.concat([i]).concat(t), u = vt(n);
289
+ dt({ csvContent: u, title: e.value.style.chart.title.text || "vue-ui-donut-evolution" });
285
290
  });
286
291
  }
287
- const R = m(!1);
288
- function Ye(l) {
289
- R.value = l, he.value += 1;
292
+ const R = p(!1);
293
+ function qe(l) {
294
+ R.value = l, fe.value += 1;
290
295
  }
291
- function Ne() {
296
+ function Fe() {
292
297
  G.value.showTable = !G.value.showTable;
293
298
  }
294
- return Me({
295
- getData: Be,
296
- generatePdf: ke,
297
- generateCsv: Ae,
298
- generateImage: _e,
299
- toggleTable: Ne
300
- }), (l, i) => (a(), u("div", {
299
+ const B = p(!1);
300
+ function se() {
301
+ B.value = !B.value;
302
+ }
303
+ return Re({
304
+ getData: Ke,
305
+ generatePdf: Ce,
306
+ generateCsv: ze,
307
+ generateImage: we,
308
+ toggleTable: Fe,
309
+ toggleAnnotator: se
310
+ }), (l, i) => (a(), o("div", {
301
311
  ref_key: "donutEvolutionChart",
302
- ref: de,
303
- class: F(`vue-ui-donut-evolution ${R.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
304
- style: ae(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`),
305
- id: T.value
312
+ ref: te,
313
+ class: D(`vue-ui-donut-evolution ${R.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
314
+ style: re(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`),
315
+ id: E.value
306
316
  }, [
307
- e.value.style.chart.title.text ? (a(), u("div", {
317
+ e.value.userOptions.buttons.annotator ? (a(), I(_t, {
308
318
  key: 0,
319
+ parent: te.value,
320
+ backgroundColor: e.value.style.chart.backgroundColor,
321
+ color: e.value.style.chart.color,
322
+ active: B.value,
323
+ onClose: se
324
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : v("", !0),
325
+ e.value.style.chart.title.text ? (a(), o("div", {
326
+ key: 1,
309
327
  style: "width:100%;background:transparent;padding-bottom:24px",
310
- onMouseleave: we
328
+ onMouseleave: Ae
311
329
  }, [
312
- (a(), E(vt, {
313
- key: `title_${fe.value}`,
330
+ (a(), I(ht, {
331
+ key: `title_${be.value}`,
314
332
  config: {
315
333
  title: {
316
334
  cy: "donut-evolution-div-title",
@@ -322,15 +340,15 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
322
340
  }
323
341
  }
324
342
  }, null, 8, ["config"]))
325
- ], 32)) : d("", !0),
326
- e.value.userOptions.show && X.value ? (a(), E(ht, {
343
+ ], 32)) : v("", !0),
344
+ e.value.userOptions.show && X.value ? (a(), I(ft, {
327
345
  ref: "details",
328
- key: `user_options_${he.value}`,
346
+ key: `user_options_${fe.value}`,
329
347
  backgroundColor: e.value.style.chart.backgroundColor,
330
348
  color: e.value.style.chart.color,
331
- isPrinting: c(me),
332
- isImaging: c(pe),
333
- uid: T.value,
349
+ isPrinting: c(ke),
350
+ isImaging: c(_e),
351
+ uid: E.value,
334
352
  hasPdf: e.value.userOptions.buttons.pdf,
335
353
  hasImg: e.value.userOptions.buttons.img,
336
354
  hasXls: e.value.userOptions.buttons.csv,
@@ -338,94 +356,104 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
338
356
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
339
357
  isFullscreen: R.value,
340
358
  titles: { ...e.value.userOptions.buttonTitles },
341
- chartElement: de.value,
359
+ chartElement: te.value,
342
360
  position: e.value.userOptions.position,
343
- onToggleFullscreen: Ye,
344
- onGeneratePdf: c(ke),
345
- onGenerateCsv: Ae,
346
- onGenerateImage: c(_e),
347
- onToggleTable: Ne
348
- }, qe({ _: 2 }, [
361
+ hasAnnotator: e.value.userOptions.buttons.annotator,
362
+ isAnnotation: B.value,
363
+ onToggleFullscreen: qe,
364
+ onGeneratePdf: c(Ce),
365
+ onGenerateCsv: ze,
366
+ onGenerateImage: c(we),
367
+ onToggleTable: Fe,
368
+ onToggleAnnotator: se
369
+ }, Qe({ _: 2 }, [
349
370
  l.$slots.optionPdf ? {
350
371
  name: "optionPdf",
351
- fn: P(() => [
352
- I(l.$slots, "optionPdf", {}, void 0, !0)
372
+ fn: F(() => [
373
+ P(l.$slots, "optionPdf", {}, void 0, !0)
353
374
  ]),
354
375
  key: "0"
355
376
  } : void 0,
356
377
  l.$slots.optionCsv ? {
357
378
  name: "optionCsv",
358
- fn: P(() => [
359
- I(l.$slots, "optionCsv", {}, void 0, !0)
379
+ fn: F(() => [
380
+ P(l.$slots, "optionCsv", {}, void 0, !0)
360
381
  ]),
361
382
  key: "1"
362
383
  } : void 0,
363
384
  l.$slots.optionImg ? {
364
385
  name: "optionImg",
365
- fn: P(() => [
366
- I(l.$slots, "optionImg", {}, void 0, !0)
386
+ fn: F(() => [
387
+ P(l.$slots, "optionImg", {}, void 0, !0)
367
388
  ]),
368
389
  key: "2"
369
390
  } : void 0,
370
391
  l.$slots.optionTable ? {
371
392
  name: "optionTable",
372
- fn: P(() => [
373
- I(l.$slots, "optionTable", {}, void 0, !0)
393
+ fn: F(() => [
394
+ P(l.$slots, "optionTable", {}, void 0, !0)
374
395
  ]),
375
396
  key: "3"
376
397
  } : void 0,
377
398
  l.$slots.optionFullscreen ? {
378
399
  name: "optionFullscreen",
379
- fn: P(({ toggleFullscreen: t, isFullscreen: n }) => [
380
- I(l.$slots, "optionFullscreen", ue(oe({ toggleFullscreen: t, isFullscreen: n })), void 0, !0)
400
+ fn: F(({ toggleFullscreen: t, isFullscreen: n }) => [
401
+ P(l.$slots, "optionFullscreen", Y(K({ toggleFullscreen: t, isFullscreen: n })), void 0, !0)
381
402
  ]),
382
403
  key: "4"
404
+ } : void 0,
405
+ l.$slots.optionAnnotator ? {
406
+ name: "optionAnnotator",
407
+ fn: F(({ toggleAnnotator: t, isAnnotator: n }) => [
408
+ P(l.$slots, "optionAnnotator", Y(K({ toggleAnnotator: t, isAnnotator: n })), void 0, !0)
409
+ ]),
410
+ key: "5"
383
411
  } : void 0
384
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : d("", !0),
385
- X.value ? (a(), u("svg", {
386
- key: 2,
387
- xmlns: c(rt),
388
- class: F({ "vue-data-ui-fullscreen--on": R.value, "vue-data-ui-fulscreen--off": !R.value }),
412
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : v("", !0),
413
+ X.value ? (a(), o("svg", {
414
+ key: 3,
415
+ xmlns: c(it),
416
+ class: D({ "vue-data-ui-fullscreen--on": R.value, "vue-data-ui-fulscreen--off": !R.value }),
389
417
  viewBox: `0 0 ${r.value.absoluteWidth} ${r.value.absoluteHeight}`,
390
- style: ae(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
418
+ style: re(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
391
419
  }, [
392
- Je(mt),
393
- v("defs", null, [
394
- v("linearGradient", {
395
- id: `hover_${T.value}`,
420
+ Ze(kt),
421
+ d("defs", null, [
422
+ d("linearGradient", {
423
+ id: `hover_${E.value}`,
396
424
  x1: "0%",
397
425
  y1: "0%",
398
426
  x2: "0%",
399
427
  y2: "100%"
400
428
  }, [
401
- v("stop", {
429
+ d("stop", {
402
430
  offset: "0%",
403
431
  "stop-color": c(U)(e.value.style.chart.backgroundColor, e.value.style.chart.layout.highlighter.opacity)
404
- }, null, 8, wt),
405
- v("stop", {
432
+ }, null, 8, $t),
433
+ d("stop", {
406
434
  offset: "100%",
407
435
  "stop-color": c(U)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity)
408
- }, null, 8, Lt)
409
- ], 8, Ct),
410
- v("radialGradient", {
411
- id: `focus_${T.value}`
436
+ }, null, 8, St)
437
+ ], 8, At),
438
+ d("radialGradient", {
439
+ id: `focus_${E.value}`
412
440
  }, [
413
- v("stop", {
441
+ d("stop", {
414
442
  offset: "0%",
415
- "stop-color": c(U)(c(se)(e.value.style.chart.backgroundColor), 0)
416
- }, null, 8, St),
417
- v("stop", {
443
+ "stop-color": c(U)(c(ie)(e.value.style.chart.backgroundColor), 0)
444
+ }, null, 8, zt),
445
+ d("stop", {
418
446
  offset: "77%",
419
447
  "stop-color": c(U)("#FFFFFF", 30)
420
- }, null, 8, At),
421
- v("stop", {
448
+ }, null, 8, Ft),
449
+ d("stop", {
422
450
  offset: "100%",
423
- "stop-color": c(U)(c(se)(e.value.style.chart.backgroundColor), 0)
424
- }, null, 8, Nt)
425
- ], 8, $t)
451
+ "stop-color": c(U)(c(ie)(e.value.style.chart.backgroundColor), 0)
452
+ }, null, 8, Pt)
453
+ ], 8, Nt)
426
454
  ]),
427
- e.value.style.chart.layout.grid.show ? (a(), u("g", zt, [
428
- v("line", {
455
+ e.value.style.chart.layout.grid.show ? (a(), o("g", Dt, [
456
+ d("line", {
429
457
  x1: s.value.left,
430
458
  x2: s.value.left,
431
459
  y1: s.value.top,
@@ -433,8 +461,8 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
433
461
  stroke: e.value.style.chart.layout.grid.stroke,
434
462
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth,
435
463
  "stroke-linecap": "round"
436
- }, null, 8, Ft),
437
- v("line", {
464
+ }, null, 8, Tt),
465
+ d("line", {
438
466
  x1: s.value.left,
439
467
  x2: r.value.absoluteWidth - s.value.right,
440
468
  y1: r.value.absoluteHeight - s.value.bottom,
@@ -442,9 +470,9 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
442
470
  stroke: e.value.style.chart.layout.grid.stroke,
443
471
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth,
444
472
  "stroke-linecap": "round"
445
- }, null, 8, Pt),
446
- e.value.style.chart.layout.grid.showVerticalLines ? (a(), u("g", Dt, [
447
- (a(!0), u(p, null, k(h.value.end - h.value.start, (t, n) => (a(), u("line", {
473
+ }, null, 8, It),
474
+ e.value.style.chart.layout.grid.showVerticalLines ? (a(), o("g", Et, [
475
+ (a(!0), o(x, null, k(h.value.end - h.value.start, (t, n) => (a(), o("line", {
448
476
  x1: s.value.left + (n + 1) * w.value,
449
477
  x2: s.value.left + (n + 1) * w.value,
450
478
  y1: s.value.top,
@@ -452,15 +480,15 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
452
480
  stroke: e.value.style.chart.layout.grid.stroke,
453
481
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth,
454
482
  "stroke-linecap": "round"
455
- }, null, 8, It))), 256))
456
- ])) : d("", !0)
457
- ])) : d("", !0),
458
- e.value.style.chart.layout.grid.yAxis.dataLabels.show ? (a(), u("g", {
483
+ }, null, 8, Ot))), 256))
484
+ ])) : v("", !0)
485
+ ])) : v("", !0),
486
+ e.value.style.chart.layout.grid.yAxis.dataLabels.show ? (a(), o("g", {
459
487
  key: 1,
460
- class: F({ "donut-opacity": !0, "donut-behind": g.value !== null || S.value })
488
+ class: D({ "donut-opacity": !0, "donut-behind": g.value !== null || $.value })
461
489
  }, [
462
- (a(!0), u(p, null, k(Xe.value, (t, n) => (a(), u("g", null, [
463
- t.value >= O.value.min && t.value <= O.value.max ? (a(), u("line", {
490
+ (a(!0), o(x, null, k(je.value, (t, n) => (a(), o("g", null, [
491
+ t.value >= O.value.min && t.value <= O.value.max ? (a(), o("line", {
464
492
  key: 0,
465
493
  x1: s.value.left,
466
494
  x2: s.value.left - 5,
@@ -468,8 +496,8 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
468
496
  y2: t.y,
469
497
  stroke: e.value.style.chart.layout.grid.stroke,
470
498
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth
471
- }, null, 8, Tt)) : d("", !0),
472
- t.value >= O.value.min && t.value <= O.value.max ? (a(), u("text", {
499
+ }, null, 8, Vt)) : v("", !0),
500
+ t.value >= O.value.min && t.value <= O.value.max ? (a(), o("text", {
473
501
  key: 1,
474
502
  x: s.value.left - 8 + e.value.style.chart.layout.grid.yAxis.dataLabels.offsetX,
475
503
  y: t.y + e.value.style.chart.layout.grid.yAxis.dataLabels.fontSize / 3,
@@ -477,37 +505,37 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
477
505
  "text-anchor": "end",
478
506
  fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
479
507
  "font-weight": e.value.style.chart.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
480
- }, b(c(nt)(t.value) ? c(ne)(
508
+ }, b(c(ct)(t.value) ? c(ve)(
481
509
  e.value.style.chart.layout.dataLabels.formatter,
482
510
  t.value,
483
- c(K)({
511
+ c(Q)({
484
512
  p: e.value.style.chart.layout.dataLabels.prefix,
485
513
  v: t.value,
486
514
  s: e.value.style.chart.layout.dataLabels.suffix,
487
515
  r: e.value.style.chart.layout.grid.yAxis.dataLabels.roundingValue
488
516
  }),
489
517
  { datapoint: t, seriesIndex: n }
490
- ) : ""), 9, Et)) : d("", !0)
518
+ ) : ""), 9, Ht)) : v("", !0)
491
519
  ]))), 256))
492
- ], 2)) : d("", !0),
493
- e.value.style.chart.layout.grid.xAxis.dataLabels.show ? (a(), u("g", {
520
+ ], 2)) : v("", !0),
521
+ e.value.style.chart.layout.grid.xAxis.dataLabels.show ? (a(), o("g", {
494
522
  key: 2,
495
- class: F({ "donut-opacity": !0, "donut-behind": S.value })
523
+ class: D({ "donut-opacity": !0, "donut-behind": $.value })
496
524
  }, [
497
- (a(!0), u(p, null, k(h.value.end - h.value.start, (t, n) => (a(), u("g", null, [
498
- e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (n === 0 || n === W.value - 1) || !e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast ? (a(), u("text", {
525
+ (a(!0), o(x, null, k(h.value.end - h.value.start, (t, n) => (a(), o("g", null, [
526
+ e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (n === 0 || n === W.value - 1) || !e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast ? (a(), o("text", {
499
527
  key: 0,
500
528
  "text-anchor": e.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
501
529
  "font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
502
530
  fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
503
531
  transform: `translate(${s.value.left + w.value * n + w.value / 2}, ${e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY + r.value.absoluteHeight - s.value.bottom + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 2}), rotate(${e.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`
504
- }, b(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(n) + Number(h.value.start)] ?? ""), 9, Ot)) : d("", !0)
532
+ }, b(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(n) + Number(h.value.start)] ?? ""), 9, Mt)) : v("", !0)
505
533
  ]))), 256))
506
- ], 2)) : d("", !0),
507
- (a(!0), u(p, null, k(C.value, (t, n) => (a(), u("g", null, [
508
- e.value.style.chart.layout.line.show && n < C.value.length - 1 && ![t.subtotal, C.value[n + 1].subtotal].includes(null) ? (a(), u("line", {
534
+ ], 2)) : v("", !0),
535
+ (a(!0), o(x, null, k(C.value, (t, n) => (a(), o("g", null, [
536
+ e.value.style.chart.layout.line.show && n < C.value.length - 1 && ![t.subtotal, C.value[n + 1].subtotal].includes(null) ? (a(), o("line", {
509
537
  key: 0,
510
- class: F({ "donut-opacity": !0, "donut-behind": g.value !== null || S.value }),
538
+ class: D({ "donut-opacity": !0, "donut-behind": g.value !== null || $.value }),
511
539
  x1: t.x,
512
540
  y1: t.y,
513
541
  x2: C.value[n + 1].x,
@@ -516,85 +544,85 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
516
544
  "stroke-width": e.value.style.chart.layout.line.strokeWidth,
517
545
  "stroke-linecap": "round",
518
546
  "stroke-linejoin": "round"
519
- }, null, 10, Vt)) : d("", !0),
520
- t.subtotal !== null ? (a(), u("g", Ht, [
521
- t.subtotal ? (a(), u("circle", {
547
+ }, null, 10, Wt)) : v("", !0),
548
+ t.subtotal !== null ? (a(), o("g", Rt, [
549
+ t.subtotal ? (a(), o("circle", {
522
550
  key: 0,
523
551
  cx: t.x,
524
552
  cy: t.y,
525
553
  r: t.activeRadius,
526
554
  fill: e.value.style.chart.backgroundColor
527
- }, null, 8, Mt)) : d("", !0)
528
- ])) : d("", !0)
555
+ }, null, 8, Ut)) : v("", !0)
556
+ ])) : v("", !0)
529
557
  ]))), 256)),
530
- (a(!0), u(p, null, k(C.value, (t, n) => (a(), u("g", {
531
- class: F({ "donut-opacity": !0, "donut-behind": n !== g.value && g.value !== null || S.value })
558
+ (a(!0), o(x, null, k(C.value, (t, n) => (a(), o("g", {
559
+ class: D({ "donut-opacity": !0, "donut-behind": n !== g.value && g.value !== null || $.value })
532
560
  }, [
533
- t.subtotal ? (a(), u("g", Wt, [
534
- g.value !== null && g.value === n ? (a(), u("g", Rt, [
535
- (a(!0), u(p, null, k(t.donutHover, (o) => (a(), u("g", null, [
536
- v("path", {
537
- d: c(Te)(o, { x: o.center.endX, y: o.center.endY }, 12, 12, { x: t.x, y: t.y }, !0, 20),
538
- stroke: o.color,
561
+ t.subtotal ? (a(), o("g", Xt, [
562
+ g.value !== null && g.value === n ? (a(), o("g", Gt, [
563
+ (a(!0), o(x, null, k(t.donutHover, (u) => (a(), o("g", null, [
564
+ d("path", {
565
+ d: c(Oe)(u, { x: u.center.endX, y: u.center.endY }, 12, 12, { x: t.x, y: t.y }, !0, 20),
566
+ stroke: u.color,
539
567
  "stroke-width": "1",
540
568
  "stroke-linecap": "round",
541
569
  "stroke-linejoin": "round",
542
570
  fill: "none"
543
- }, null, 8, Ut)
571
+ }, null, 8, jt)
544
572
  ]))), 256)),
545
- (a(!0), u(p, null, k(t.donutHover, (o, f) => (a(), u("g", null, [
546
- v("text", {
573
+ (a(!0), o(x, null, k(t.donutHover, (u, f) => (a(), o("g", null, [
574
+ d("text", {
547
575
  "data-cy-hover-label": "",
548
- "text-anchor": c(q)(o, !0, 0).anchor,
549
- x: c(q)(o, !0, 3).x,
550
- y: c(Ee)(o),
576
+ "text-anchor": c(Z)(u, !0, 0).anchor,
577
+ x: c(Z)(u, !0, 3).x,
578
+ y: c(Ve)(u),
551
579
  fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
552
580
  "font-size": 8,
553
581
  "font-weight": "bold"
554
- }, b(o.name) + ": " + b(Ce(o, t.donut)) + " (" + b(o.value === null ? "-" : j(o.value, o, f)) + ") ", 9, Xt)
582
+ }, b(u.name) + ": " + b(Le(u, t.donut)) + " (" + b(u.value === null ? "-" : j(u.value, u, f)) + ") ", 9, Bt)
555
583
  ]))), 256)),
556
- v("g", null, [
557
- v("circle", {
584
+ d("g", null, [
585
+ d("circle", {
558
586
  cx: t.x,
559
587
  cy: t.y,
560
588
  r: t.hoverRadius,
561
589
  fill: e.value.style.chart.backgroundColor
562
- }, null, 8, Gt)
590
+ }, null, 8, Yt)
563
591
  ])
564
- ])) : d("", !0)
565
- ])) : d("", !0)
592
+ ])) : v("", !0)
593
+ ])) : v("", !0)
566
594
  ], 2))), 256)),
567
- (a(!0), u(p, null, k(C.value, (t, n) => (a(), u("g", {
568
- class: F({ "donut-opacity": !0, "donut-behind": n !== g.value && g.value !== null || S.value })
595
+ (a(!0), o(x, null, k(C.value, (t, n) => (a(), o("g", {
596
+ class: D({ "donut-opacity": !0, "donut-behind": n !== g.value && g.value !== null || $.value })
569
597
  }, [
570
- t.subtotal !== null ? (a(), u("g", jt, [
571
- t.subtotal === 0 ? (a(), u("circle", {
598
+ t.subtotal !== null ? (a(), o("g", Kt, [
599
+ t.subtotal === 0 ? (a(), o("circle", {
572
600
  key: 0,
573
601
  cx: t.x,
574
602
  cy: t.y,
575
603
  r: 3,
576
604
  fill: e.value.style.chart.color
577
- }, null, 8, Bt)) : g.value !== null && g.value === n ? (a(), u("g", Yt, [
578
- (a(!0), u(p, null, k(t.donutHover, (o, f) => (a(), u("path", {
579
- d: o.arcSlice,
580
- fill: `${o.color}`,
605
+ }, null, 8, qt)) : g.value !== null && g.value === n ? (a(), o("g", Jt, [
606
+ (a(!0), o(x, null, k(t.donutHover, (u, f) => (a(), o("path", {
607
+ d: u.arcSlice,
608
+ fill: `${u.color}`,
581
609
  "stroke-width": 1,
582
610
  stroke: e.value.style.chart.backgroundColor
583
- }, null, 8, Kt))), 256))
584
- ])) : (a(), u("g", qt, [
585
- (a(!0), u(p, null, k(t.donut, (o, f) => (a(), u("path", {
586
- d: o.arcSlice,
587
- fill: `${o.color}`,
611
+ }, null, 8, Qt))), 256))
612
+ ])) : (a(), o("g", Zt, [
613
+ (a(!0), o(x, null, k(t.donut, (u, f) => (a(), o("path", {
614
+ d: u.arcSlice,
615
+ fill: `${u.color}`,
588
616
  "stroke-width": 0.5,
589
617
  stroke: e.value.style.chart.backgroundColor
590
- }, null, 8, Jt))), 256))
618
+ }, null, 8, el))), 256))
591
619
  ]))
592
- ])) : d("", !0)
620
+ ])) : v("", !0)
593
621
  ], 2))), 256)),
594
- (a(!0), u(p, null, k(C.value, (t, n) => (a(), u("g", {
595
- class: F({ "donut-opacity": !0, "donut-behind": n !== g.value && g.value !== null || S.value })
622
+ (a(!0), o(x, null, k(C.value, (t, n) => (a(), o("g", {
623
+ class: D({ "donut-opacity": !0, "donut-behind": n !== g.value && g.value !== null || $.value })
596
624
  }, [
597
- t.subtotal !== null && e.value.style.chart.layout.dataLabels.show ? (a(), u("text", {
625
+ t.subtotal !== null && e.value.style.chart.layout.dataLabels.show ? (a(), o("text", {
598
626
  key: 0,
599
627
  "text-anchor": "middle",
600
628
  x: t.x,
@@ -602,31 +630,31 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
602
630
  "font-size": e.value.style.chart.layout.dataLabels.fontSize,
603
631
  "font-weight": "bold",
604
632
  fill: e.value.style.chart.layout.dataLabels.color
605
- }, b(j(t.subtotal, t, n)), 9, Qt)) : d("", !0)
633
+ }, b(j(t.subtotal, t, n)), 9, tl)) : v("", !0)
606
634
  ], 2))), 256)),
607
- (a(!0), u(p, null, k(C.value, (t, n) => (a(), u("rect", {
635
+ (a(!0), o(x, null, k(C.value, (t, n) => (a(), o("rect", {
608
636
  x: s.value.left + n * w.value,
609
637
  y: r.value.absoluteHeight - s.value.bottom - 10,
610
638
  width: w.value,
611
639
  height: 10,
612
- fill: g.value === t.index ? `url(#hover_${T.value})` : "transparent",
613
- onClick: (o) => ee(t, n),
614
- class: F({ "donut-hover": g.value === t.index && t.subtotal })
615
- }, null, 10, Zt))), 256)),
616
- (a(!0), u(p, null, k(C.value, (t, n) => (a(), u("rect", {
640
+ fill: g.value === t.index ? `url(#hover_${E.value})` : "transparent",
641
+ onClick: (u) => oe(t, n),
642
+ class: D({ "donut-hover": g.value === t.index && t.subtotal })
643
+ }, null, 10, ll))), 256)),
644
+ (a(!0), o(x, null, k(C.value, (t, n) => (a(), o("rect", {
617
645
  "data-cy-trap": "",
618
646
  x: s.value.left + n * w.value,
619
647
  y: s.value.top,
620
648
  width: w.value,
621
649
  height: r.value.height,
622
650
  fill: "transparent",
623
- onMouseenter: (o) => Ge(t),
624
- onMouseleave: we,
625
- onClick: (o) => ee(t, n),
626
- class: F({ "donut-hover": g.value === t.index && t.subtotal })
627
- }, null, 42, el))), 256)),
628
- S.value ? (a(), u("g", tl, [
629
- v("rect", {
651
+ onMouseenter: (u) => Be(t),
652
+ onMouseleave: Ae,
653
+ onClick: (u) => oe(t, n),
654
+ class: D({ "donut-hover": g.value === t.index && t.subtotal })
655
+ }, null, 42, al))), 256)),
656
+ $.value ? (a(), o("g", ol, [
657
+ d("rect", {
630
658
  rx: 4,
631
659
  x: s.value.left,
632
660
  y: s.value.top,
@@ -634,8 +662,8 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
634
662
  height: r.value.height,
635
663
  fill: e.value.style.chart.backgroundColor,
636
664
  style: { filter: "drop-shadow(0 12px 12px rgba(0,0,0,0.3))" }
637
- }, null, 8, ll),
638
- v("line", {
665
+ }, null, 8, ul),
666
+ d("line", {
639
667
  "data-html2canvas-ignore": "",
640
668
  x1: r.value.absoluteWidth - s.value.right - 15,
641
669
  y1: s.value.top + 5,
@@ -644,8 +672,8 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
644
672
  "stroke-linecap": "round",
645
673
  stroke: e.value.style.chart.color,
646
674
  "stroke-width": "1.5"
647
- }, null, 8, al),
648
- v("line", {
675
+ }, null, 8, sl),
676
+ d("line", {
649
677
  "data-html2canvas-ignore": "",
650
678
  x1: r.value.absoluteWidth - s.value.right - 15,
651
679
  y2: s.value.top + 5,
@@ -654,66 +682,66 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
654
682
  "stroke-linecap": "round",
655
683
  stroke: e.value.style.chart.color,
656
684
  "stroke-width": "1.5"
657
- }, null, 8, ul),
658
- v("circle", {
685
+ }, null, 8, nl),
686
+ d("circle", {
659
687
  "data-cy-close": "",
660
- onClick: Le,
661
- onKeypress: Qe(Le, ["enter"]),
688
+ onClick: $e,
689
+ onKeypress: et($e, ["enter"]),
662
690
  cx: r.value.absoluteWidth - s.value.right - r.value.width / 40,
663
691
  cy: s.value.top + r.value.height / 30,
664
692
  r: r.value.height / 12,
665
693
  fill: "transparent",
666
694
  style: { cursor: "pointer" },
667
695
  tabindex: "0"
668
- }, null, 40, ol),
669
- (a(!0), u(p, null, k(A.value.donutFocus, (t) => (a(), u("g", null, [
670
- v("path", {
696
+ }, null, 40, rl),
697
+ (a(!0), o(x, null, k(S.value.donutFocus, (t) => (a(), o("g", null, [
698
+ d("path", {
671
699
  "data-cy-zoom-donut": "",
672
- d: c(Te)(t, { x: r.value.centerX, y: r.value.centerY }, 12, 12, !1, !1, 15),
700
+ d: c(Oe)(t, { x: r.value.centerX, y: r.value.centerY }, 12, 12, !1, !1, 15),
673
701
  stroke: t.color,
674
702
  "stroke-width": "1",
675
703
  "stroke-linecap": "round",
676
704
  "stroke-linejoin": "round",
677
705
  fill: "none",
678
706
  class: "vue-ui-donut-evolution-focus"
679
- }, null, 8, sl)
707
+ }, null, 8, il)
680
708
  ]))), 256)),
681
- v("circle", {
709
+ d("circle", {
682
710
  cx: s.value.left + r.value.width / 2,
683
711
  cy: s.value.top + r.value.height / 2,
684
712
  r: r.value.height / 7,
685
713
  fill: e.value.style.chart.backgroundColor
686
- }, null, 8, rl),
687
- (a(!0), u(p, null, k(A.value.donutFocus, (t, n) => (a(), u("path", {
714
+ }, null, 8, cl),
715
+ (a(!0), o(x, null, k(S.value.donutFocus, (t, n) => (a(), o("path", {
688
716
  d: t.arcSlice,
689
717
  fill: `${t.color}`,
690
718
  "stroke-width": 1,
691
719
  stroke: e.value.style.chart.backgroundColor,
692
720
  class: "vue-ui-donut-evolution-focus"
693
- }, null, 8, nl))), 256)),
694
- (a(!0), u(p, null, k(A.value.donutFocus, (t, n) => (a(), u("g", il, [
695
- v("text", {
696
- "text-anchor": c(q)(t, !0, 20).anchor,
697
- x: c(q)(t, !0, 10).x,
698
- y: c(Ee)(t),
721
+ }, null, 8, vl))), 256)),
722
+ (a(!0), o(x, null, k(S.value.donutFocus, (t, n) => (a(), o("g", dl, [
723
+ d("text", {
724
+ "text-anchor": c(Z)(t, !0, 20).anchor,
725
+ x: c(Z)(t, !0, 10).x,
726
+ y: c(Ve)(t),
699
727
  fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
700
728
  "font-size": 10,
701
729
  "font-weight": "bold"
702
- }, b(t.name) + ": " + b(Ce(t, A.value.donutFocus)) + " (" + b(t.value === null ? "-" : j(t.value, t, n)) + ") ", 9, cl)
730
+ }, b(t.name) + ": " + b(Le(t, S.value.donutFocus)) + " (" + b(t.value === null ? "-" : j(t.value, t, n)) + ") ", 9, hl)
703
731
  ]))), 256)),
704
- v("circle", {
732
+ d("circle", {
705
733
  cx: s.value.left + r.value.width / 2,
706
734
  cy: s.value.top + r.value.height / 2,
707
735
  r: r.value.height / 3.8,
708
- fill: `url(#focus_${T.value})`
709
- }, null, 8, vl),
710
- v("circle", {
736
+ fill: `url(#focus_${E.value})`
737
+ }, null, 8, yl),
738
+ d("circle", {
711
739
  cx: s.value.left + r.value.width / 2,
712
740
  cy: s.value.top + r.value.height / 2,
713
741
  r: r.value.height / 7.7,
714
742
  fill: e.value.style.chart.backgroundColor
715
- }, null, 8, dl),
716
- v("text", {
743
+ }, null, 8, fl),
744
+ d("text", {
717
745
  "text-anchor": "middle",
718
746
  x: s.value.left + r.value.width / 2,
719
747
  y: s.value.top + r.value.height / 2 + 14 / 3,
@@ -721,22 +749,22 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
721
749
  "font-weight": "bold",
722
750
  fill: e.value.style.chart.layout.dataLabels.color,
723
751
  class: "vue-ui-donut-evolution-focus"
724
- }, b(j(A.value.subtotal, A.value, null)), 9, hl),
725
- e.value.style.chart.layout.grid.xAxis.dataLabels.values[A.value.index] ? (a(), u("text", {
752
+ }, b(j(S.value.subtotal, S.value, null)), 9, gl),
753
+ e.value.style.chart.layout.grid.xAxis.dataLabels.values[S.value.index] ? (a(), o("text", {
726
754
  key: 0,
727
755
  x: s.value.left + 6,
728
756
  y: s.value.top + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 2,
729
757
  "font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 1.6,
730
758
  fill: e.value.style.chart.layout.dataLabels.color
731
- }, b(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(A.value.index) + Number(h.value.start)]), 9, yl)) : d("", !0)
732
- ])) : d("", !0),
733
- I(l.$slots, "svg", { svg: r.value }, void 0, !0)
734
- ], 14, _t)) : d("", !0),
735
- l.$slots.watermark ? (a(), u("div", fl, [
736
- I(l.$slots, "watermark", ue(oe({ isPrinting: c(me) || c(pe) })), void 0, !0)
737
- ])) : d("", !0),
738
- X.value ? d("", !0) : (a(), E(gt, {
739
- key: 4,
759
+ }, b(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(S.value.index) + Number(h.value.start)]), 9, bl)) : v("", !0)
760
+ ])) : v("", !0),
761
+ P(l.$slots, "svg", { svg: r.value }, void 0, !0)
762
+ ], 14, Lt)) : v("", !0),
763
+ l.$slots.watermark ? (a(), o("div", ml, [
764
+ P(l.$slots, "watermark", Y(K({ isPrinting: c(ke) || c(_e) })), void 0, !0)
765
+ ])) : v("", !0),
766
+ X.value ? v("", !0) : (a(), I(mt, {
767
+ key: 5,
740
768
  config: {
741
769
  type: "donutEvolution",
742
770
  style: {
@@ -752,8 +780,8 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
752
780
  }
753
781
  }
754
782
  }, null, 8, ["config"])),
755
- W.value > 1 && e.value.style.chart.zoom.show ? (a(), E(bt, {
756
- key: `slicer_${ye.value}`,
783
+ W.value > 1 && e.value.style.chart.zoom.show ? (a(), I(pt, {
784
+ key: `slicer_${ge.value}`,
757
785
  background: e.value.style.chart.zoom.color,
758
786
  borderColor: e.value.style.chart.backgroundColor,
759
787
  fontSize: e.value.style.chart.zoom.fontSize,
@@ -771,29 +799,29 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
771
799
  "onUpdate:start": i[0] || (i[0] = (t) => h.value.start = t),
772
800
  end: h.value.end,
773
801
  "onUpdate:end": i[1] || (i[1] = (t) => h.value.end = t),
774
- onReset: ce
802
+ onReset: he
775
803
  }, {
776
- "reset-action": P(({ reset: t }) => [
777
- I(l.$slots, "reset-action", ue(oe({ reset: t })), void 0, !0)
804
+ "reset-action": F(({ reset: t }) => [
805
+ P(l.$slots, "reset-action", Y(K({ reset: t })), void 0, !0)
778
806
  ]),
779
807
  _: 3
780
- }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end"])) : d("", !0),
781
- e.value.style.chart.legend.show ? (a(), E(ft, {
782
- key: `legend_${be.value}`,
783
- legendSet: $e.value,
784
- config: je.value,
785
- onClickMarker: i[2] || (i[2] = ({ legend: t }) => te(t.uid))
808
+ }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end"])) : v("", !0),
809
+ e.value.style.chart.legend.show ? (a(), I(bt, {
810
+ key: `legend_${pe.value}`,
811
+ legendSet: Se.value,
812
+ config: Ye.value,
813
+ onClickMarker: i[2] || (i[2] = ({ legend: t }) => ue(t.uid))
786
814
  }, {
787
- item: P(({ legend: t, index: n }) => [
788
- v("div", {
815
+ item: F(({ legend: t, index: n }) => [
816
+ d("div", {
789
817
  "data-cy-legend-item": "",
790
- onClick: (o) => te(t.uid),
791
- style: ae(`opacity:${_.value.includes(t.uid) ? 0.5 : 1}`)
818
+ onClick: (u) => ue(t.uid),
819
+ style: re(`opacity:${_.value.includes(t.uid) ? 0.5 : 1}`)
792
820
  }, [
793
- Pe(b(t.name) + ": " + b(c(ne)(
821
+ Te(b(t.name) + ": " + b(c(ve)(
794
822
  e.value.style.chart.layout.dataLabels.formatter,
795
823
  t.value,
796
- c(K)({
824
+ c(Q)({
797
825
  p: e.value.style.chart.layout.dataLabels.prefix,
798
826
  v: t.value,
799
827
  s: e.value.style.chart.layout.dataLabels.suffix,
@@ -801,18 +829,21 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
801
829
  }),
802
830
  { datapoint: t, seriesIndex: n }
803
831
  )) + " ", 1),
804
- _.value.includes(t.uid) ? (a(), u("span", xl, " ( - % ) ")) : (a(), u("span", bl, " (" + b(isNaN(t.value / Se.value) ? "-" : c(K)({
805
- v: t.value / Se.value * 100,
832
+ _.value.includes(t.uid) ? (a(), o("span", kl, " ( - % ) ")) : (a(), o("span", xl, " (" + b(isNaN(t.value / Ne.value) ? "-" : c(Q)({
833
+ v: t.value / Ne.value * 100,
806
834
  s: "%",
807
835
  r: e.value.style.chart.legend.roundingPercentage
808
836
  })) + ") ", 1))
809
- ], 12, gl)
837
+ ], 12, pl)
810
838
  ]),
811
839
  _: 1
812
- }, 8, ["legendSet", "config"])) : d("", !0),
813
- I(l.$slots, "legend", { legend: $e.value }, void 0, !0),
814
- X.value ? (a(), E(xt, {
815
- key: 7,
840
+ }, 8, ["legendSet", "config"])) : v("", !0),
841
+ P(l.$slots, "legend", { legend: Se.value }, void 0, !0),
842
+ l.$slots.source ? (a(), o("div", _l, [
843
+ P(l.$slots, "source", {}, void 0, !0)
844
+ ], 512)) : v("", !0),
845
+ X.value ? (a(), I(xt, {
846
+ key: 9,
816
847
  hideDetails: "",
817
848
  config: {
818
849
  open: G.value.showTable,
@@ -827,9 +858,9 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
827
858
  }
828
859
  }
829
860
  }, {
830
- content: P(() => [
831
- (a(), E(yt, {
832
- key: `table_${ge.value}`,
861
+ content: F(() => [
862
+ (a(), I(gt, {
863
+ key: `table_${me.value}`,
833
864
  colNames: V.value.colNames,
834
865
  head: V.value.head,
835
866
  body: V.value.body,
@@ -837,21 +868,21 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
837
868
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
838
869
  onClose: i[3] || (i[3] = (t) => G.value.showTable = !1)
839
870
  }, {
840
- th: P(({ th: t }) => [
841
- Pe(b(t.name ?? t), 1)
871
+ th: F(({ th: t }) => [
872
+ Te(b(t.name ?? t), 1)
842
873
  ]),
843
- td: P(({ td: t }) => [
844
- t.value === null ? (a(), u("span", ml, "-")) : (a(), u("b", pl, b(isNaN(t.value) ? "" : e.value.style.chart.layout.dataLabels.prefix) + b(!isNaN(t.value) && t.value !== null ? Number(t.value.toFixed(e.value.table.td.roundingValue)).toLocaleString() : t) + b(isNaN(t.value) ? "" : e.value.style.chart.layout.dataLabels.suffix), 1)),
845
- v("span", null, b(t.percentage && !isNaN(t.percentage) ? `(${Number(t.percentage.toFixed(e.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)
874
+ td: F(({ td: t }) => [
875
+ t.value === null ? (a(), o("span", Cl, "-")) : (a(), o("b", wl, b(isNaN(t.value) ? "" : e.value.style.chart.layout.dataLabels.prefix) + b(!isNaN(t.value) && t.value !== null ? Number(t.value.toFixed(e.value.table.td.roundingValue)).toLocaleString() : t) + b(isNaN(t.value) ? "" : e.value.style.chart.layout.dataLabels.suffix), 1)),
876
+ d("span", null, b(t.percentage && !isNaN(t.percentage) ? `(${Number(t.percentage.toFixed(e.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)
846
877
  ]),
847
878
  _: 1
848
879
  }, 8, ["colNames", "head", "body", "config", "title"]))
849
880
  ]),
850
881
  _: 1
851
- }, 8, ["config"])) : d("", !0)
852
- ], 14, kt));
882
+ }, 8, ["config"])) : v("", !0)
883
+ ], 14, wt));
853
884
  }
854
- }, Il = /* @__PURE__ */ pt(kl, [["__scopeId", "data-v-715ec8d1"]]);
885
+ }, Hl = /* @__PURE__ */ Ct(Ll, [["__scopeId", "data-v-e52a9024"]]);
855
886
  export {
856
- Il as default
887
+ Hl as default
857
888
  };