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,24 +1,25 @@
1
- import { computed as p, ref as i, watch as Ve, onMounted as Ue, onBeforeUnmount as Ee, openBlock as s, createElementBlock as n, normalizeClass as z, normalizeStyle as J, createBlock as O, createCommentVNode as f, unref as h, createSlots as Be, withCtx as y, renderSlot as m, normalizeProps as B, guardReactiveProps as D, createVNode as K, createElementVNode as w, Fragment as $, renderList as x, toDisplayString as R, createTextVNode as be, nextTick as De } from "vue";
2
- import { u as Ge, c as We, t as Xe, a as Ye, p as P, o as je, e as S, b as qe, g as ke, d as Ce, O as _e, v as He, i as we, f as M, X as Je, s as Q, w as Ke, P as $e, x as Qe, y as Ze, q as et, r as tt } from "./index-DDXisDKy.js";
3
- import { t as at, u as ot } from "./useResponsive-NZB-WLRF.js";
4
- import { _ as lt } from "./Title-DYNLqCCT.js";
5
- import { u as rt, U as st } from "./usePrinter-8ofTb2MJ.js";
6
- import { _ as nt } from "./Tooltip-CICAYyQj.js";
7
- import ut from "./vue-ui-sparkbar-Bb1fq2GR.js";
8
- import { L as it } from "./Legend-DXLiSLHd.js";
9
- import { D as ct } from "./DataTable-DL2agEJ3.js";
10
- import dt from "./vue-ui-skeleton-B2sRnIXX.js";
11
- import vt from "./vue-ui-accordion-D_1fE5EF.js";
12
- import { u as xe } from "./useNestedProp-S1UXxUgm.js";
13
- import { _ as pt } from "./PackageVersion-DtnhR89q.js";
14
- import { _ as ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"], bt = ["stop-color"], kt = { key: 0 }, Ct = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], _t = { key: 0 }, wt = ["d", "stroke", "stroke-width"], $t = ["d", "stroke", "stroke-width"], xt = { key: 1 }, Pt = ["x", "y", "text-anchor", "font-size", "fill", "onMouseenter"], Tt = ["points", "stroke", "stroke-width"], Nt = ["points", "stroke", "stroke-width", "fill"], Ot = { key: 2 }, St = ["cx", "cy", "fill", "r", "stroke"], Ft = {
16
- key: 3,
1
+ import { computed as p, ref as u, watch as Be, onMounted as De, onBeforeUnmount as Ge, openBlock as r, createElementBlock as s, normalizeClass as z, normalizeStyle as Q, createBlock as w, createCommentVNode as h, unref as g, createSlots as We, withCtx as y, renderSlot as m, normalizeProps as R, guardReactiveProps as M, createVNode as Z, createElementVNode as $, Fragment as P, renderList as T, toDisplayString as V, createTextVNode as _e, nextTick as Xe } from "vue";
2
+ import { u as Ye, c as je, t as qe, a as He, p as x, o as Je, e as S, b as Ke, g as we, d as $e, O as Pe, v as Qe, i as Te, f as U, X as Ze, s as ee, w as et, P as xe, x as tt, y as at, q as ot, r as lt } from "./index-Bya_q1J-.js";
3
+ import { t as rt, u as nt } from "./useResponsive-BY8tgM1n.js";
4
+ import { _ as st } from "./Title-C5pIfQAz.js";
5
+ import { u as ut, U as it } from "./usePrinter-CiHd1FwD.js";
6
+ import { _ as ct } from "./Tooltip-Cz24YLfw.js";
7
+ import dt from "./vue-ui-sparkbar-CwqlyAyv.js";
8
+ import { L as vt } from "./Legend-DNgTCgEK.js";
9
+ import { D as pt } from "./DataTable-DYqC2pqu.js";
10
+ import ht from "./vue-ui-skeleton-BYssP0K4.js";
11
+ import gt from "./vue-ui-accordion-DfUfL2dI.js";
12
+ import { u as Ae } from "./useNestedProp-B33hazbH.js";
13
+ import { _ as ft } from "./PackageVersion-VkaUzgmt.js";
14
+ import { P as yt } from "./PenAndPaper-DAZYA8Ew.js";
15
+ import { _ as mt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
+ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], _t = ["stop-color"], wt = ["stop-color"], $t = { key: 0 }, Pt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Tt = { key: 0 }, xt = ["d", "stroke", "stroke-width"], At = ["d", "stroke", "stroke-width"], Ot = { key: 1 }, Nt = ["x", "y", "text-anchor", "font-size", "fill", "onMouseenter"], St = ["points", "stroke", "stroke-width"], Ft = ["points", "stroke", "stroke-width", "fill"], It = { key: 2 }, Lt = ["cx", "cy", "fill", "r", "stroke"], zt = {
17
+ key: 4,
17
18
  class: "vue-data-ui-watermark"
18
- }, At = ["onClick"], It = {
19
+ }, Rt = ["onClick"], Mt = {
19
20
  key: 0,
20
21
  style: { "max-width": "200px", margin: "0 auto" }
21
- }, Lt = {
22
+ }, Vt = {
22
23
  __name: "vue-ui-radar",
23
24
  props: {
24
25
  config: {
@@ -35,59 +36,60 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
35
36
  }
36
37
  },
37
38
  emits: ["selectLegend"],
38
- setup(Pe, { expose: Te, emit: Ne }) {
39
- const v = Pe, { vue_ui_radar: Oe } = Ge(), F = p(() => !!v.dataset && Object.keys(v.dataset).length), _ = i(We()), Se = i(null), G = i(!1), W = i(""), Z = i(0), A = i(null), ee = i(null), te = i(null), ae = i(0), oe = i(0), le = i(0), e = p({
40
- get: () => re(),
39
+ setup(Oe, { expose: Ne, emit: Se }) {
40
+ const v = Oe, { vue_ui_radar: Fe } = Ye(), F = p(() => !!v.dataset && Object.keys(v.dataset).length), _ = u(je()), Ie = u(null), W = u(!1), X = u(""), te = u(0), A = u(null), ae = u(null), oe = u(null), le = u(null), re = u(0), ne = u(0), se = u(0), e = p({
41
+ get: () => ue(),
41
42
  set: (t) => t
42
43
  });
43
- function re() {
44
- const t = xe({
44
+ function ue() {
45
+ const t = Ae({
45
46
  userConfig: v.config,
46
- defaultConfig: Oe
47
+ defaultConfig: Fe
47
48
  });
48
49
  return t.theme ? {
49
- ...xe({
50
- userConfig: Xe.vue_ui_radar[t.theme] || v.config,
50
+ ...Ae({
51
+ userConfig: qe.vue_ui_radar[t.theme] || v.config,
51
52
  defaultConfig: t
52
53
  }),
53
- customPalette: Ye[t.theme] || P
54
+ customPalette: He[t.theme] || x
54
55
  } : t;
55
56
  }
56
- Ve(() => v.config, (t) => {
57
- e.value = re(), se(), ae.value += 1, oe.value += 1, le.value += 1;
57
+ Be(() => v.config, (t) => {
58
+ e.value = ue(), ie(), re.value += 1, ne.value += 1, se.value += 1;
58
59
  }, { deep: !0 });
59
- const V = i(null);
60
- function se() {
61
- if (je(v.dataset) && S({
60
+ const E = u(null);
61
+ function ie() {
62
+ if (Je(v.dataset) && S({
62
63
  componentName: "VueUiRadar",
63
64
  type: "dataset"
64
65
  }), e.value.responsive) {
65
- const t = at(() => {
66
- const { width: a, height: o } = ot({
66
+ const t = rt(() => {
67
+ const { width: a, height: o } = nt({
67
68
  chart: A.value,
68
- title: e.value.style.chart.title.text ? ee.value : null,
69
- legend: e.value.style.chart.legend.show ? te.value : null
69
+ title: e.value.style.chart.title.text ? ae.value : null,
70
+ legend: e.value.style.chart.legend.show ? oe.value : null,
71
+ source: le.value
70
72
  });
71
- u.value.width = a, u.value.height = o;
73
+ i.value.width = a, i.value.height = o;
72
74
  });
73
- V.value = new ResizeObserver(t), V.value.observe(A.value.parentNode);
75
+ E.value = new ResizeObserver(t), E.value.observe(A.value.parentNode);
74
76
  }
75
77
  }
76
- Ue(() => {
77
- se();
78
- }), Ee(() => {
79
- V.value && V.value.disconnect();
78
+ De(() => {
79
+ ie();
80
+ }), Ge(() => {
81
+ E.value && E.value.disconnect();
80
82
  });
81
- const { isPrinting: ne, isImaging: ue, generatePdf: ie, generateImage: ce } = rt({
83
+ const { isPrinting: ce, isImaging: de, generatePdf: ve, generateImage: pe } = ut({
82
84
  elementId: `vue-ui-radar_${_.value}`,
83
85
  fileName: e.value.style.chart.title.text || "vue-ui-radar"
84
- }), de = p(() => qe(e.value.customPalette)), k = i({
86
+ }), he = p(() => Ke(e.value.customPalette)), k = u({
85
87
  dataLabels: {
86
88
  show: e.value.style.chart.layout.labels.dataLabels.show
87
89
  },
88
90
  showTable: e.value.table.show,
89
91
  showTooltip: e.value.style.chart.tooltip.show
90
- }), Fe = p(() => ({
92
+ }), Le = p(() => ({
91
93
  style: {
92
94
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
93
95
  animation: {
@@ -105,29 +107,29 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
105
107
  opacity: 30
106
108
  }
107
109
  }
108
- })), u = i({
110
+ })), i = u({
109
111
  height: 312,
110
112
  width: 512
111
- }), c = i([]), I = i(null), T = i(!1);
112
- function ve(t) {
113
- T.value = !0, c.value.includes(t) ? (I.value = t, c.value = c.value.filter((a) => a !== t), setTimeout(() => {
114
- T.value = !1, I.value = null;
113
+ }), c = u([]), I = u(null), O = u(!1);
114
+ function ge(t) {
115
+ O.value = !0, c.value.includes(t) ? (I.value = t, c.value = c.value.filter((a) => a !== t), setTimeout(() => {
116
+ O.value = !1, I.value = null;
115
117
  }, 500)) : (c.value.push(t), setTimeout(() => {
116
- T.value = !1;
117
- }, 500)), Ne("selectLegend", N.value.filter((a, o) => !c.value.includes(o)).map((a) => ({
118
+ O.value = !1;
119
+ }, 500)), Se("selectLegend", N.value.filter((a, o) => !c.value.includes(o)).map((a) => ({
118
120
  name: a.name,
119
121
  color: a.color,
120
122
  proportion: a.totalProportion
121
123
  })));
122
124
  }
123
- function Ae() {
125
+ function ze() {
124
126
  return N.value.map((t) => ({
125
127
  name: t.name,
126
128
  color: t.color,
127
129
  proportion: t.totalProportion
128
130
  }));
129
131
  }
130
- const g = p(() => [null, void 0].includes(v.dataset.categories) ? (S({
132
+ const f = p(() => [null, void 0].includes(v.dataset.categories) ? (S({
131
133
  componentName: "VueUiRadar",
132
134
  type: "datasetAttribute",
133
135
  property: "categories ({ name: string; prefix?: string; suffix?: string}[])"
@@ -136,7 +138,7 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
136
138
  type: "datasetAttributeEmpty",
137
139
  property: "categories"
138
140
  }) : v.dataset.categories.forEach((t, a) => {
139
- ke({
141
+ we({
140
142
  datasetObject: t,
141
143
  requiredAttributes: ["name"]
142
144
  }).forEach((o) => {
@@ -152,7 +154,7 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
152
154
  type: "datasetAttribute",
153
155
  property: "series ({ name: string; values: number[]; color?: string; target: number}[])"
154
156
  }) : v.dataset.series.forEach((t, a) => {
155
- ke({
157
+ we({
156
158
  datasetObject: t,
157
159
  requiredAttributes: ["name", "values", "target"]
158
160
  }).forEach((o) => {
@@ -167,31 +169,31 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
167
169
  }), v.dataset.categories.map((t, a) => ({
168
170
  name: t.name,
169
171
  categoryId: `radar_category_${_.value}_${a}`,
170
- color: Ce(t.color) || de.value[a] || P[a] || P[a % P.length],
172
+ color: $e(t.color) || he.value[a] || x[a] || x[a % x.length],
171
173
  prefix: t.prefix ?? "",
172
174
  suffix: t.suffix ?? ""
173
175
  })))), b = p(() => F.value ? v.dataset.series.map((t, a) => ({
174
176
  ...t,
175
- color: Ce(t.color) || de.value[a] || P[a] || P[a % P.length],
177
+ color: $e(t.color) || he.value[a] || x[a] || x[a % x.length],
176
178
  serieId: `radar_serie_${_.value}_${a}`,
177
179
  formatter: t.formatter || null
178
- })) : []), pe = p(() => Math.max(...b.value.flatMap((t) => t.values))), he = p(() => b.value.length), X = p(() => Math.min(u.value.width, u.value.height) / 3), ge = p(() => _e({
179
- plot: { x: u.value.width / 2, y: u.value.height / 2 },
180
- radius: X.value,
181
- sides: he.value,
180
+ })) : []), fe = p(() => Math.max(...b.value.flatMap((t) => t.values))), ye = p(() => b.value.length), Y = p(() => Math.min(i.value.width, i.value.height) / 3), me = p(() => Pe({
181
+ plot: { x: i.value.width / 2, y: i.value.height / 2 },
182
+ radius: Y.value,
183
+ sides: ye.value,
182
184
  rotation: 0
183
- })), Ie = p(() => {
185
+ })), Re = p(() => {
184
186
  const t = [];
185
- for (let a = 0; a < X.value; a += X.value / e.value.style.chart.layout.grid.graduations)
187
+ for (let a = 0; a < Y.value; a += Y.value / e.value.style.chart.layout.grid.graduations)
186
188
  t.push(a);
187
189
  return t;
188
- }), C = p(() => ge.value.coordinates.map((t, a) => {
189
- const o = b.value[a].values.map((l) => Le({
190
- centerX: u.value.width / 2,
191
- centerY: u.value.height / 2,
190
+ }), C = p(() => me.value.coordinates.map((t, a) => {
191
+ const o = b.value[a].values.map((l) => Me({
192
+ centerX: i.value.width / 2,
193
+ centerY: i.value.height / 2,
192
194
  apexX: t.x,
193
195
  apexY: t.y,
194
- proportion: l / (b.value[a].target || pe.value)
196
+ proportion: l / (b.value[a].target || fe.value)
195
197
  }));
196
198
  return {
197
199
  ...t,
@@ -199,56 +201,56 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
199
201
  plots: o
200
202
  };
201
203
  }));
202
- function Y({ x: t, y: a }) {
204
+ function j({ x: t, y: a }) {
203
205
  let o = "middle";
204
- return t = Math.round(t), a = Math.round(a), t > u.value.width / 2 && (t += 12, o = "start"), t < u.value.width / 2 && (t -= 12, o = "end"), a > u.value.height / 2 && (a += 20), a < u.value.height / 2 && (a -= 12), a === u.value.height / 2 && (a += 4), { x: t, y: a, anchor: o };
206
+ return t = Math.round(t), a = Math.round(a), t > i.value.width / 2 && (t += 12, o = "start"), t < i.value.width / 2 && (t -= 12, o = "end"), a > i.value.height / 2 && (a += 20), a < i.value.height / 2 && (a -= 12), a === i.value.height / 2 && (a += 4), { x: t, y: a, anchor: o };
205
207
  }
206
- function Le({ centerX: t, centerY: a, apexX: o, apexY: l, proportion: r }) {
208
+ function Me({ centerX: t, centerY: a, apexX: o, apexY: l, proportion: n }) {
207
209
  return {
208
- x: t + (o - t) * r,
209
- y: a + (l - a) * r
210
+ x: t + (o - t) * n,
211
+ y: a + (l - a) * n
210
212
  };
211
213
  }
212
214
  const N = p(() => {
213
- const t = b.value.map((a, o) => a.values.map((l) => l / (a.target || pe.value)));
214
- return g.value.map((a, o) => ({
215
+ const t = b.value.map((a, o) => a.values.map((l) => l / (a.target || fe.value)));
216
+ return f.value.map((a, o) => ({
215
217
  ...a,
216
- totalProportion: He(t.map((l) => l[o]).reduce((l, r) => l + r, 0) / b.value.length),
218
+ totalProportion: Qe(t.map((l) => l[o]).reduce((l, n) => l + n, 0) / b.value.length),
217
219
  shape: "circle",
218
220
  opacity: c.value.includes(o) ? 0.5 : 1,
219
- segregate: () => ve(o),
221
+ segregate: () => ge(o),
220
222
  isSegregated: c.value.includes(o)
221
223
  }));
222
- }), ze = p(() => ({
224
+ }), Ve = p(() => ({
223
225
  cy: "radar-div-legend",
224
226
  backgroundColor: e.value.style.chart.legend.backgroundColor,
225
227
  color: e.value.style.chart.legend.color,
226
228
  fontSize: e.value.style.chart.legend.fontSize,
227
229
  paddingBottom: 12,
228
230
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
229
- })), U = p(() => {
231
+ })), B = p(() => {
230
232
  const t = [
231
233
  { name: e.value.translations.datapoint, color: "" },
232
234
  { name: e.value.translations.target, color: "" },
233
235
  ...N.value
234
236
  ], a = v.dataset.series.map((l) => [
235
237
  l.name,
236
- we(
238
+ Te(
237
239
  l.formatter,
238
240
  l.target,
239
- M({
241
+ U({
240
242
  p: l.prefix,
241
243
  v: l.target,
242
244
  s: l.suffix,
243
245
  r: e.value.table.td.roundingValue
244
246
  })
245
247
  ),
246
- ...l.values.map((r, d) => `${we(
248
+ ...l.values.map((n, d) => `${Te(
247
249
  l.formatter,
248
- r,
249
- M({ p: g.value[d].prefix, v: r, s: g.value[d].suffix, r: e.value.table.td.roundingValue })
250
- )} (${isNaN(r / l.target) ? "" : M({
251
- v: r / l.target * 100,
250
+ n,
251
+ U({ p: f.value[d].prefix, v: n, s: f.value[d].suffix, r: e.value.table.td.roundingValue })
252
+ )} (${isNaN(n / l.target) ? "" : U({
253
+ v: n / l.target * 100,
252
254
  s: "%",
253
255
  r: e.value.table.td.roundingPercentage
254
256
  })})`)
@@ -266,89 +268,102 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
266
268
  breakpoint: e.value.table.responsiveBreakpoint
267
269
  };
268
270
  return { head: t, body: a, config: o, colNames: t };
269
- }), E = i(null), j = i([]), q = i(null);
270
- function Re(t, a) {
271
- j.value = [], E.value = a, G.value = !0;
271
+ }), D = u(null), q = u([]), H = u(null);
272
+ function Ue(t, a) {
273
+ q.value = [], D.value = a, W.value = !0;
272
274
  let o = "";
273
- q.value = {
275
+ H.value = {
274
276
  datapoint: t,
275
277
  seriesIndex: a,
276
278
  series: {
277
- categories: g.value,
279
+ categories: f.value,
278
280
  datapoints: b.value,
279
281
  radar: C.value
280
282
  },
281
283
  config: e.value
282
284
  };
283
285
  const l = e.value.style.chart.tooltip.customFormat;
284
- if (Qe(l) && Ze(() => l({
286
+ if (tt(l) && at(() => l({
285
287
  seriesIndex: a,
286
288
  datapoint: t,
287
- series: { categories: g.value, datapoints: b.value, radar: C.value },
289
+ series: { categories: f.value, datapoints: b.value, radar: C.value },
288
290
  config: e.value
289
291
  })))
290
- W.value = l({
292
+ X.value = l({
291
293
  seriesIndex: a,
292
294
  datapoint: t,
293
- series: { categories: g.value, datapoints: b.value, radar: C.value },
295
+ series: { categories: f.value, datapoints: b.value, radar: C.value },
294
296
  config: e.value
295
297
  });
296
298
  else {
297
299
  o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`;
298
- for (let r = 0; r < t.values.length; r += 1)
299
- c.value.includes(r) || j.value.push({
300
- name: g.value[r].name,
301
- value: t.values[r] / t.target * 100,
302
- color: g.value[r].color,
300
+ for (let n = 0; n < t.values.length; n += 1)
301
+ c.value.includes(n) || q.value.push({
302
+ name: f.value[n].name,
303
+ value: t.values[n] / t.target * 100,
304
+ color: f.value[n].color,
303
305
  suffix: "%)",
304
- prefix: `${M({ p: g.value[r].prefix ?? "", v: t.values[r], s: g.value[r].suffix ?? "", r: e.value.style.chart.tooltip.roundingValue })} (`,
306
+ prefix: `${U({ p: f.value[n].prefix ?? "", v: t.values[n], s: f.value[n].suffix ?? "", r: e.value.style.chart.tooltip.roundingValue })} (`,
305
307
  rounding: e.value.style.chart.tooltip.roundingPercentage,
306
308
  formatter: t.formatter
307
309
  });
308
- W.value = o;
310
+ X.value = o;
309
311
  }
310
312
  }
311
- function fe() {
312
- De(() => {
313
- const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = [[""], [e.value.translations.target], ...N.value.flatMap((d) => [[d.name], ["%"]])], o = v.dataset.series.map((d, zt) => [d.name, d.target, ...d.values.flatMap((H) => [
314
- H,
315
- isNaN(H / d.target) ? "" : H / d.target * 100
316
- ])]), l = t.concat([a]).concat(o), r = et(l);
317
- tt({ csvContent: r, title: e.value.style.chart.title.text || "vue-ui-radar" });
313
+ function be() {
314
+ Xe(() => {
315
+ const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = [[""], [e.value.translations.target], ...N.value.flatMap((d) => [[d.name], ["%"]])], o = v.dataset.series.map((d, Ut) => [d.name, d.target, ...d.values.flatMap((K) => [
316
+ K,
317
+ isNaN(K / d.target) ? "" : K / d.target * 100
318
+ ])]), l = t.concat([a]).concat(o), n = ot(l);
319
+ lt({ csvContent: n, title: e.value.style.chart.title.text || "vue-ui-radar" });
318
320
  });
319
321
  }
320
- const L = i(!1);
321
- function Me(t) {
322
- L.value = t, Z.value += 1;
322
+ const L = u(!1);
323
+ function Ee(t) {
324
+ L.value = t, te.value += 1;
323
325
  }
324
- function ye() {
326
+ function ke() {
325
327
  k.value.showTable = !k.value.showTable;
326
328
  }
327
- function me() {
329
+ function Ce() {
328
330
  k.value.showTooltip = !k.value.showTooltip;
329
331
  }
330
- return Te({
331
- getData: Ae,
332
- generatePdf: ie,
333
- generateCsv: fe,
334
- generateImage: ce,
335
- toggleTable: ye,
336
- toggleTooltip: me
337
- }), (t, a) => (s(), n("div", {
332
+ const G = u(!1);
333
+ function J() {
334
+ G.value = !G.value;
335
+ }
336
+ return Ne({
337
+ getData: ze,
338
+ generatePdf: ve,
339
+ generateCsv: be,
340
+ generateImage: pe,
341
+ toggleTable: ke,
342
+ toggleTooltip: Ce,
343
+ toggleAnnotator: J
344
+ }), (t, a) => (r(), s("div", {
338
345
  class: z(`vue-ui-radar ${L.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
339
346
  ref_key: "radarChart",
340
347
  ref: A,
341
348
  id: `vue-ui-radar_${_.value}`,
342
- style: J(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`)
349
+ style: Q(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`)
343
350
  }, [
344
- e.value.style.chart.title.text ? (s(), n("div", {
351
+ e.value.userOptions.buttons.annotator ? (r(), w(yt, {
345
352
  key: 0,
353
+ parent: A.value,
354
+ backgroundColor: e.value.style.chart.backgroundColor,
355
+ color: e.value.style.chart.color,
356
+ active: G.value,
357
+ onClose: J
358
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : h("", !0),
359
+ e.value.style.chart.title.text ? (r(), s("div", {
360
+ key: 1,
346
361
  ref_key: "chartTitle",
347
- ref: ee,
362
+ ref: ae,
348
363
  style: "width:100%;background:transparent;padding-bottom:12px"
349
364
  }, [
350
- (s(), O(lt, {
351
- key: `title_${ae.value}`,
365
+ (r(), w(st, {
366
+ key: `title_${re.value}`,
352
367
  config: {
353
368
  title: {
354
369
  cy: "radar-div-title",
@@ -360,15 +375,15 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
360
375
  }
361
376
  }
362
377
  }, null, 8, ["config"]))
363
- ], 512)) : f("", !0),
364
- e.value.userOptions.show && F.value ? (s(), O(st, {
378
+ ], 512)) : h("", !0),
379
+ e.value.userOptions.show && F.value ? (r(), w(it, {
365
380
  ref_key: "details",
366
- ref: Se,
367
- key: `user_options_${Z.value}`,
381
+ ref: Ie,
382
+ key: `user_options_${te.value}`,
368
383
  backgroundColor: e.value.style.chart.backgroundColor,
369
384
  color: e.value.style.chart.color,
370
- isImaging: h(ue),
371
- isPrinting: h(ne),
385
+ isImaging: g(de),
386
+ isPrinting: g(ce),
372
387
  uid: _.value,
373
388
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
374
389
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -381,13 +396,16 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
381
396
  titles: { ...e.value.userOptions.buttonTitles },
382
397
  chartElement: A.value,
383
398
  position: e.value.userOptions.position,
384
- onToggleFullscreen: Me,
385
- onGeneratePdf: h(ie),
386
- onGenerateCsv: fe,
387
- onGenerateImage: h(ce),
388
- onToggleTable: ye,
389
- onToggleTooltip: me
390
- }, Be({ _: 2 }, [
399
+ hasAnnotator: e.value.userOptions.buttons.annotator,
400
+ isAnnotation: G.value,
401
+ onToggleFullscreen: Ee,
402
+ onGeneratePdf: g(ve),
403
+ onGenerateCsv: be,
404
+ onGenerateImage: g(pe),
405
+ onToggleTable: ke,
406
+ onToggleTooltip: Ce,
407
+ onToggleAnnotator: J
408
+ }, We({ _: 2 }, [
391
409
  t.$slots.optionTooltip ? {
392
410
  name: "optionTooltip",
393
411
  fn: y(() => [
@@ -426,21 +444,28 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
426
444
  t.$slots.optionFullscreen ? {
427
445
  name: "optionFullscreen",
428
446
  fn: y(({ toggleFullscreen: o, isFullscreen: l }) => [
429
- m(t.$slots, "optionFullscreen", B(D({ toggleFullscreen: o, isFullscreen: l })), void 0, !0)
447
+ m(t.$slots, "optionFullscreen", R(M({ toggleFullscreen: o, isFullscreen: l })), void 0, !0)
430
448
  ]),
431
449
  key: "5"
450
+ } : void 0,
451
+ t.$slots.optionAnnotator ? {
452
+ name: "optionAnnotator",
453
+ fn: y(({ toggleAnnotator: o, isAnnotator: l }) => [
454
+ m(t.$slots, "optionAnnotator", R(M({ toggleAnnotator: o, isAnnotator: l })), void 0, !0)
455
+ ]),
456
+ key: "6"
432
457
  } : void 0
433
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : f("", !0),
434
- F.value ? (s(), n("svg", {
435
- key: 2,
436
- xmlns: h(Je),
458
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : h("", !0),
459
+ F.value ? (r(), s("svg", {
460
+ key: 3,
461
+ xmlns: g(Ze),
437
462
  class: z({ "vue-data-ui-fullscreen--on": L.value, "vue-data-ui-fulscreen--off": !L.value }),
438
- viewBox: `0 0 ${u.value.width <= 0 ? 10 : u.value.width} ${u.value.height <= 0 ? 10 : u.value.height}`,
439
- style: J(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
463
+ viewBox: `0 0 ${i.value.width <= 0 ? 10 : i.value.width} ${i.value.height <= 0 ? 10 : i.value.height}`,
464
+ style: Q(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
440
465
  }, [
441
- K(pt),
442
- w("defs", null, [
443
- (s(!0), n($, null, x(g.value, (o, l) => (s(), n("radialGradient", {
466
+ Z(ft),
467
+ $("defs", null, [
468
+ (r(!0), s(P, null, T(f.value, (o, l) => (r(), s("radialGradient", {
444
469
  cx: "50%",
445
470
  cy: "50%",
446
471
  r: "50%",
@@ -448,102 +473,102 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
448
473
  fy: "50%",
449
474
  id: `radar_gradient_${_.value}_${l}`
450
475
  }, [
451
- w("stop", {
476
+ $("stop", {
452
477
  offset: "0%",
453
- "stop-color": h(Q)(h(Ke)(o.color, 0.05), e.value.style.chart.layout.dataPolygon.opacity)
454
- }, null, 8, mt),
455
- w("stop", {
478
+ "stop-color": g(ee)(g(et)(o.color, 0.05), e.value.style.chart.layout.dataPolygon.opacity)
479
+ }, null, 8, _t),
480
+ $("stop", {
456
481
  offset: "100%",
457
- "stop-color": h(Q)(o.color, e.value.style.chart.layout.dataPolygon.opacity)
458
- }, null, 8, bt)
459
- ], 8, yt))), 256))
482
+ "stop-color": g(ee)(o.color, e.value.style.chart.layout.dataPolygon.opacity)
483
+ }, null, 8, wt)
484
+ ], 8, Ct))), 256))
460
485
  ]),
461
- e.value.style.chart.layout.grid.show ? (s(), n("g", kt, [
462
- (s(!0), n($, null, x(C.value, (o) => (s(), n("line", {
463
- x1: u.value.width / 2,
464
- y1: u.value.height / 2,
486
+ e.value.style.chart.layout.grid.show ? (r(), s("g", $t, [
487
+ (r(!0), s(P, null, T(C.value, (o) => (r(), s("line", {
488
+ x1: i.value.width / 2,
489
+ y1: i.value.height / 2,
465
490
  x2: o.x,
466
491
  y2: o.y,
467
492
  stroke: e.value.style.chart.layout.grid.stroke,
468
493
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth
469
- }, null, 8, Ct))), 256)),
470
- e.value.style.chart.layout.grid.graduations > 0 ? (s(), n("g", _t, [
471
- (s(!0), n($, null, x(Ie.value, (o) => (s(), n("path", {
472
- d: h(_e)({
473
- plot: { x: u.value.width / 2, y: u.value.height / 2 },
494
+ }, null, 8, Pt))), 256)),
495
+ e.value.style.chart.layout.grid.graduations > 0 ? (r(), s("g", Tt, [
496
+ (r(!0), s(P, null, T(Re.value, (o) => (r(), s("path", {
497
+ d: g(Pe)({
498
+ plot: { x: i.value.width / 2, y: i.value.height / 2 },
474
499
  radius: o,
475
- sides: he.value,
500
+ sides: ye.value,
476
501
  rotation: 0
477
502
  }).path,
478
503
  fill: "none",
479
504
  stroke: e.value.style.chart.layout.grid.stroke,
480
505
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth
481
- }, null, 8, wt))), 256))
482
- ])) : f("", !0)
483
- ])) : f("", !0),
484
- w("path", {
485
- d: ge.value.path,
506
+ }, null, 8, xt))), 256))
507
+ ])) : h("", !0)
508
+ ])) : h("", !0),
509
+ $("path", {
510
+ d: me.value.path,
486
511
  fill: "none",
487
512
  stroke: e.value.style.chart.layout.outerPolygon.stroke,
488
513
  "stroke-width": e.value.style.chart.layout.outerPolygon.strokeWidth,
489
514
  "stroke-linejoin": "round",
490
515
  "stroke-linecap": "round"
491
- }, null, 8, $t),
492
- e.value.style.chart.layout.labels.dataLabels.show ? (s(), n("g", xt, [
493
- (s(!0), n($, null, x(C.value, (o, l) => (s(), n("text", {
494
- x: Y(o).x,
495
- y: Y(o).y,
496
- "text-anchor": Y(o).anchor,
516
+ }, null, 8, At),
517
+ e.value.style.chart.layout.labels.dataLabels.show ? (r(), s("g", Ot, [
518
+ (r(!0), s(P, null, T(C.value, (o, l) => (r(), s("text", {
519
+ x: j(o).x,
520
+ y: j(o).y,
521
+ "text-anchor": j(o).anchor,
497
522
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
498
523
  fill: e.value.style.chart.layout.labels.dataLabels.color,
499
- onMouseenter: (r) => Re(o, l),
500
- onMouseleave: a[0] || (a[0] = (r) => {
501
- G.value = !1, E.value = null;
524
+ onMouseenter: (n) => Ue(o, l),
525
+ onMouseleave: a[0] || (a[0] = (n) => {
526
+ W.value = !1, D.value = null;
502
527
  })
503
- }, R(o.name), 41, Pt))), 256))
504
- ])) : f("", !0),
505
- (s(!0), n($, null, x(g.value, (o, l) => (s(), n("g", null, [
506
- w("g", null, [
507
- e.value.useCssAnimation || !e.value.useCssAnimation && !c.value.includes(l) ? (s(), n("polygon", {
528
+ }, V(o.name), 41, Nt))), 256))
529
+ ])) : h("", !0),
530
+ (r(!0), s(P, null, T(f.value, (o, l) => (r(), s("g", null, [
531
+ $("g", null, [
532
+ e.value.useCssAnimation || !e.value.useCssAnimation && !c.value.includes(l) ? (r(), s("polygon", {
508
533
  key: 0,
509
534
  "data-cy-radar-path": "",
510
- points: h($e)(C.value.map((r) => r.plots[l]), !1, !0),
535
+ points: g(xe)(C.value.map((n) => n.plots[l]), !1, !0),
511
536
  stroke: e.value.style.chart.backgroundColor,
512
537
  "stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth + 1,
513
538
  fill: "none",
514
- class: z({ "animated-out": c.value.includes(l) && e.value.useCssAnimation, "animated-in": T.value && I.value === l && e.value.useCssAnimation })
515
- }, null, 10, Tt)) : f("", !0),
516
- e.value.useCssAnimation || !e.value.useCssAnimation && !c.value.includes(l) ? (s(), n("polygon", {
539
+ class: z({ "animated-out": c.value.includes(l) && e.value.useCssAnimation, "animated-in": O.value && I.value === l && e.value.useCssAnimation })
540
+ }, null, 10, St)) : h("", !0),
541
+ e.value.useCssAnimation || !e.value.useCssAnimation && !c.value.includes(l) ? (r(), s("polygon", {
517
542
  key: 1,
518
543
  "data-cy-radar-path": "",
519
- points: h($e)(C.value.map((r) => r.plots[l]), !1, !0),
544
+ points: g(xe)(C.value.map((n) => n.plots[l]), !1, !0),
520
545
  stroke: o.color,
521
546
  "stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth,
522
- fill: e.value.style.chart.layout.dataPolygon.transparent ? "transparent" : e.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${_.value}_${l})` : h(Q)(o.color, e.value.style.chart.layout.dataPolygon.opacity),
523
- class: z({ "animated-out": c.value.includes(l) && e.value.useCssAnimation, "animated-in": T.value && I.value === l && e.value.useCssAnimation })
524
- }, null, 10, Nt)) : f("", !0)
547
+ fill: e.value.style.chart.layout.dataPolygon.transparent ? "transparent" : e.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${_.value}_${l})` : g(ee)(o.color, e.value.style.chart.layout.dataPolygon.opacity),
548
+ class: z({ "animated-out": c.value.includes(l) && e.value.useCssAnimation, "animated-in": O.value && I.value === l && e.value.useCssAnimation })
549
+ }, null, 10, Ft)) : h("", !0)
525
550
  ])
526
551
  ]))), 256)),
527
- e.value.style.chart.layout.plots.show ? (s(), n("g", Ot, [
528
- (s(!0), n($, null, x(C.value, (o, l) => (s(), n("g", null, [
529
- (s(!0), n($, null, x(o.plots, (r, d) => (s(), n("circle", {
530
- cx: r.x,
531
- cy: r.y,
532
- fill: c.value.includes(d) ? "transparent" : g.value[d].color,
533
- r: E.value !== null && E.value === l ? e.value.style.chart.layout.plots.radius * 1.6 : e.value.style.chart.layout.plots.radius,
552
+ e.value.style.chart.layout.plots.show ? (r(), s("g", It, [
553
+ (r(!0), s(P, null, T(C.value, (o, l) => (r(), s("g", null, [
554
+ (r(!0), s(P, null, T(o.plots, (n, d) => (r(), s("circle", {
555
+ cx: n.x,
556
+ cy: n.y,
557
+ fill: c.value.includes(d) ? "transparent" : f.value[d].color,
558
+ r: D.value !== null && D.value === l ? e.value.style.chart.layout.plots.radius * 1.6 : e.value.style.chart.layout.plots.radius,
534
559
  stroke: c.value.includes(d) ? "transparent" : e.value.style.chart.backgroundColor,
535
560
  "stroke-width": 0.5,
536
- class: z({ "animated-out": c.value.includes(d) && e.value.useCssAnimation, "animated-in": T.value && I.value === d && e.value.useCssAnimation })
537
- }, null, 10, St))), 256))
561
+ class: z({ "animated-out": c.value.includes(d) && e.value.useCssAnimation, "animated-in": O.value && I.value === d && e.value.useCssAnimation })
562
+ }, null, 10, Lt))), 256))
538
563
  ]))), 256))
539
- ])) : f("", !0),
540
- m(t.$slots, "svg", { svg: u.value }, void 0, !0)
541
- ], 14, ft)) : f("", !0),
542
- t.$slots.watermark ? (s(), n("div", Ft, [
543
- m(t.$slots, "watermark", B(D({ isPrinting: h(ne) || h(ue) })), void 0, !0)
544
- ])) : f("", !0),
545
- F.value ? f("", !0) : (s(), O(dt, {
546
- key: 4,
564
+ ])) : h("", !0),
565
+ m(t.$slots, "svg", { svg: i.value }, void 0, !0)
566
+ ], 14, kt)) : h("", !0),
567
+ t.$slots.watermark ? (r(), s("div", zt, [
568
+ m(t.$slots, "watermark", R(M({ isPrinting: g(ce) || g(de) })), void 0, !0)
569
+ ])) : h("", !0),
570
+ F.value ? h("", !0) : (r(), w(ht, {
571
+ key: 5,
547
572
  config: {
548
573
  type: "radar",
549
574
  style: {
@@ -559,26 +584,26 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
559
584
  }
560
585
  }
561
586
  }, null, 8, ["config"])),
562
- w("div", {
587
+ $("div", {
563
588
  ref_key: "chartLegend",
564
- ref: te
589
+ ref: oe
565
590
  }, [
566
- e.value.style.chart.legend.show ? (s(), O(it, {
567
- key: `legend_${le.value}`,
591
+ e.value.style.chart.legend.show ? (r(), w(vt, {
592
+ key: `legend_${se.value}`,
568
593
  legendSet: N.value,
569
- config: ze.value,
570
- onClickMarker: a[1] || (a[1] = ({ i: o }) => ve(o))
594
+ config: Ve.value,
595
+ onClickMarker: a[1] || (a[1] = ({ i: o }) => ge(o))
571
596
  }, {
572
597
  item: y(({ legend: o, index: l }) => [
573
- w("div", {
598
+ $("div", {
574
599
  "data-cy-legend-item": "",
575
- onClick: (r) => o.segregate(),
576
- style: J(`opacity:${c.value.includes(l) ? 0.5 : 1}`)
577
- }, R(o.name) + ": " + R(h(M)({
600
+ onClick: (n) => o.segregate(),
601
+ style: Q(`opacity:${c.value.includes(l) ? 0.5 : 1}`)
602
+ }, V(o.name) + ": " + V(g(U)({
578
603
  v: o.totalProportion * 100,
579
604
  s: "%",
580
605
  r: e.value.style.chart.legend.roundingPercentage
581
- })), 13, At)
606
+ })), 13, Rt)
582
607
  ]),
583
608
  _: 1
584
609
  }, 8, ["legendSet", "config"])) : m(t.$slots, "legend", {
@@ -586,8 +611,16 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
586
611
  legend: N.value
587
612
  }, void 0, !0)
588
613
  ], 512),
589
- K(nt, {
590
- show: k.value.showTooltip && G.value,
614
+ t.$slots.source ? (r(), s("div", {
615
+ key: 6,
616
+ ref_key: "source",
617
+ ref: le,
618
+ dir: "auto"
619
+ }, [
620
+ m(t.$slots, "source", {}, void 0, !0)
621
+ ], 512)) : h("", !0),
622
+ Z(ct, {
623
+ show: k.value.showTooltip && W.value,
591
624
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
592
625
  color: e.value.style.chart.tooltip.color,
593
626
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -598,26 +631,26 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
598
631
  position: e.value.style.chart.tooltip.position,
599
632
  offsetY: e.value.style.chart.tooltip.offsetY,
600
633
  parent: A.value,
601
- content: W.value,
634
+ content: X.value,
602
635
  isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function"
603
636
  }, {
604
637
  "tooltip-before": y(() => [
605
- m(t.$slots, "tooltip-before", B(D({ ...q.value })), void 0, !0)
638
+ m(t.$slots, "tooltip-before", R(M({ ...H.value })), void 0, !0)
606
639
  ]),
607
640
  "tooltip-after": y(() => [
608
- ["function"].includes(typeof e.value.style.chart.tooltip.customFormat) ? f("", !0) : (s(), n("div", It, [
609
- K(ut, {
610
- dataset: j.value,
611
- config: Fe.value,
641
+ ["function"].includes(typeof e.value.style.chart.tooltip.customFormat) ? h("", !0) : (r(), s("div", Mt, [
642
+ Z(dt, {
643
+ dataset: q.value,
644
+ config: Le.value,
612
645
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity
613
646
  }, null, 8, ["dataset", "config", "backgroundOpacity"])
614
647
  ])),
615
- m(t.$slots, "tooltip-after", B(D({ ...q.value })), void 0, !0)
648
+ m(t.$slots, "tooltip-after", R(M({ ...H.value })), void 0, !0)
616
649
  ]),
617
650
  _: 3
618
651
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "fontSize", "position", "offsetY", "parent", "content", "isCustom"]),
619
- F.value ? (s(), O(vt, {
620
- key: 5,
652
+ F.value ? (r(), w(gt, {
653
+ key: 7,
621
654
  hideDetails: "",
622
655
  config: {
623
656
  open: k.value.showTable,
@@ -633,29 +666,29 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
633
666
  }
634
667
  }, {
635
668
  content: y(() => [
636
- (s(), O(ct, {
637
- key: `table_${oe.value}`,
638
- colNames: U.value.colNames,
639
- head: U.value.head,
640
- body: U.value.body,
641
- config: U.value.config,
669
+ (r(), w(pt, {
670
+ key: `table_${ne.value}`,
671
+ colNames: B.value.colNames,
672
+ head: B.value.head,
673
+ body: B.value.body,
674
+ config: B.value.config,
642
675
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
643
676
  onClose: a[2] || (a[2] = (o) => k.value.showTable = !1)
644
677
  }, {
645
678
  th: y(({ th: o }) => [
646
- be(R(o.name), 1)
679
+ _e(V(o.name), 1)
647
680
  ]),
648
681
  td: y(({ td: o }) => [
649
- be(R(o), 1)
682
+ _e(V(o), 1)
650
683
  ]),
651
684
  _: 1
652
685
  }, 8, ["colNames", "head", "body", "config", "title"]))
653
686
  ]),
654
687
  _: 1
655
- }, 8, ["config"])) : f("", !0)
656
- ], 14, gt));
688
+ }, 8, ["config"])) : h("", !0)
689
+ ], 14, bt));
657
690
  }
658
- }, Jt = /* @__PURE__ */ ht(Lt, [["__scopeId", "data-v-ed1fdeb2"]]);
691
+ }, ta = /* @__PURE__ */ mt(Vt, [["__scopeId", "data-v-f0bd4098"]]);
659
692
  export {
660
- Jt as default
693
+ ta as default
661
694
  };