vue-data-ui 3.17.13 → 3.18.0

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 (493) hide show
  1. package/README.md +1 -1
  2. package/dist/A11yDataTable-q2-8fSlJ.js +45 -0
  3. package/dist/Arrow-BU2Z7mfz.js +116 -0
  4. package/dist/BaseDraggableDialog-LE75fWYz.js +272 -0
  5. package/dist/BaseIcon-CL6Y7alf.js +499 -0
  6. package/dist/BaseLegendToggle-BvPOFMVZ.js +56 -0
  7. package/dist/BaseScanner-C7dmAref.js +27 -0
  8. package/dist/BaseZoomControls-DSwf4HhS.js +111 -0
  9. package/dist/ColorPicker-BGbMrtup.js +255 -0
  10. package/dist/DataTable-ZG4GX2Zg.js +150 -0
  11. package/dist/Legend-BPb8i4aC.js +114 -0
  12. package/dist/NonSvgPenAndPaper-BT3YMjgo.js +577 -0
  13. package/dist/PackageVersion-B1cPtZ3Q.js +11 -0
  14. package/dist/PenAndPaper-DxBCVZAx.js +461 -0
  15. package/dist/RecursiveCircles-DPpLel6f.js +117 -0
  16. package/dist/RecursiveLabels-DBMJf_to.js +56 -0
  17. package/dist/RecursiveLinks-D06dBL4a.js +78 -0
  18. package/dist/Shape-Dbug7CtK.js +141 -0
  19. package/dist/Slicer-SEdaKYPX.js +1144 -0
  20. package/dist/SlicerPreview-BLlQTUI_.js +1523 -0
  21. package/dist/SparkTooltip-BaONR2nq.js +93 -0
  22. package/dist/Title-ByyzJzpc.js +87 -0
  23. package/dist/Tooltip-V6Z0Ko-1.js +307 -0
  24. package/dist/UserOptions-Gaw1761w.js +1407 -0
  25. package/dist/_plugin-vue_export-helper-Dq1MygBL.js +8 -0
  26. package/dist/canvas-lib-DTaADQOK.js +79 -0
  27. package/dist/components/arrow.js +2 -5
  28. package/dist/components/vue-ui-3d-bar.js +2 -5
  29. package/dist/components/vue-ui-accordion.js +2 -5
  30. package/dist/components/vue-ui-age-pyramid.js +2 -5
  31. package/dist/components/vue-ui-annotator.js +2 -5
  32. package/dist/components/vue-ui-bullet.js +2 -5
  33. package/dist/components/vue-ui-bump.js +2 -5
  34. package/dist/components/vue-ui-candlestick.js +2 -5
  35. package/dist/components/vue-ui-carousel-table.js +2 -5
  36. package/dist/components/vue-ui-chestnut.js +2 -5
  37. package/dist/components/vue-ui-chord.js +2 -5
  38. package/dist/components/vue-ui-circle-pack.js +2 -5
  39. package/dist/components/vue-ui-cursor.js +2 -5
  40. package/dist/components/vue-ui-dag.js +2 -5
  41. package/dist/components/vue-ui-dashboard.js +2 -5
  42. package/dist/components/vue-ui-digits.js +2 -5
  43. package/dist/components/vue-ui-donut-evolution.js +2 -5
  44. package/dist/components/vue-ui-donut.js +2 -5
  45. package/dist/components/vue-ui-dumbbell.js +2 -5
  46. package/dist/components/vue-ui-flow.js +2 -5
  47. package/dist/components/vue-ui-funnel.js +2 -5
  48. package/dist/components/vue-ui-galaxy.js +2 -5
  49. package/dist/components/vue-ui-gauge.js +2 -5
  50. package/dist/components/vue-ui-geo.js +2 -5
  51. package/dist/components/vue-ui-gizmo.js +2 -5
  52. package/dist/components/vue-ui-heatmap.js +2 -5
  53. package/dist/components/vue-ui-history-plot.js +2 -5
  54. package/dist/components/vue-ui-horizontal-bar.js +2 -5
  55. package/dist/components/vue-ui-icon.js +2 -5
  56. package/dist/components/vue-ui-kpi.js +2 -5
  57. package/dist/components/vue-ui-mini-loader.js +2 -5
  58. package/dist/components/vue-ui-molecule.js +2 -5
  59. package/dist/components/vue-ui-mood-radar.js +2 -5
  60. package/dist/components/vue-ui-nested-donuts.js +2 -5
  61. package/dist/components/vue-ui-onion.js +2 -5
  62. package/dist/components/vue-ui-parallel-coordinate-plot.js +2 -5
  63. package/dist/components/vue-ui-pattern-seed.js +2 -5
  64. package/dist/components/vue-ui-pattern.js +2 -5
  65. package/dist/components/vue-ui-quadrant.js +2 -5
  66. package/dist/components/vue-ui-quick-chart.js +2 -5
  67. package/dist/components/vue-ui-radar.js +2 -5
  68. package/dist/components/vue-ui-rating.js +2 -5
  69. package/dist/components/vue-ui-relation-circle.js +2 -5
  70. package/dist/components/vue-ui-ridgeline.js +2 -5
  71. package/dist/components/vue-ui-rings.js +2 -5
  72. package/dist/components/vue-ui-scatter.js +2 -5
  73. package/dist/components/vue-ui-skeleton.js +2 -5
  74. package/dist/components/vue-ui-smiley.js +2 -5
  75. package/dist/components/vue-ui-spark-trend.js +2 -5
  76. package/dist/components/vue-ui-sparkbar.js +2 -5
  77. package/dist/components/vue-ui-sparkgauge.js +2 -5
  78. package/dist/components/vue-ui-sparkhistogram.js +2 -5
  79. package/dist/components/vue-ui-sparkline.js +2 -5
  80. package/dist/components/vue-ui-sparkstackbar.js +2 -5
  81. package/dist/components/vue-ui-stackbar.js +2 -5
  82. package/dist/components/vue-ui-stackline.js +2 -5
  83. package/dist/components/vue-ui-strip-plot.js +2 -5
  84. package/dist/components/vue-ui-table-heatmap.js +2 -5
  85. package/dist/components/vue-ui-table-sparkline.js +2 -5
  86. package/dist/components/vue-ui-table.js +2 -5
  87. package/dist/components/vue-ui-thermometer.js +2 -5
  88. package/dist/components/vue-ui-timer.js +2 -5
  89. package/dist/components/vue-ui-tiremarks.js +2 -5
  90. package/dist/components/vue-ui-treemap.js +2 -5
  91. package/dist/components/vue-ui-vertical-bar.js +2 -5
  92. package/dist/components/vue-ui-waffle.js +2 -5
  93. package/dist/components/vue-ui-wheel.js +2 -5
  94. package/dist/components/vue-ui-word-cloud.js +2 -5
  95. package/dist/components/vue-ui-world.js +2 -5
  96. package/dist/components/vue-ui-xy-canvas.js +2 -5
  97. package/dist/components/vue-ui-xy.js +2 -5
  98. package/dist/dom-to-png-C9UOX1d2.js +237 -0
  99. package/dist/exposedLib-BQjH823l.js +19 -0
  100. package/dist/geoProjections-CQIkC70z.js +146 -0
  101. package/dist/img-NMY-_LiJ.js +74 -0
  102. package/dist/labelUtils-BiSegLOT.js +19 -0
  103. package/dist/lib-B83ZCydz.js +1879 -0
  104. package/dist/patternUtils-B7BWu5bV.js +258 -0
  105. package/dist/pdf-Ey2KFETK.js +90 -0
  106. package/dist/rolldown-runtime-CAFD8bLK.js +11 -0
  107. package/dist/style.css +2 -1
  108. package/dist/types/arrow.d.ts +1 -1
  109. package/dist/types/utils.d.ts +23 -0
  110. package/dist/types/vue-data-ui.d.ts +4766 -630
  111. package/dist/types/vue-ui-3d-bar.d.ts +64 -9
  112. package/dist/types/vue-ui-accordion.d.ts +4 -3
  113. package/dist/types/vue-ui-age-pyramid.d.ts +79 -9
  114. package/dist/types/vue-ui-annotator.d.ts +3 -5
  115. package/dist/types/vue-ui-bullet.d.ts +60 -9
  116. package/dist/types/vue-ui-bump.d.ts +65 -9
  117. package/dist/types/vue-ui-candlestick.d.ts +83 -9
  118. package/dist/types/vue-ui-carousel-table.d.ts +36 -6
  119. package/dist/types/vue-ui-chestnut.d.ts +66 -9
  120. package/dist/types/vue-ui-chord.d.ts +78 -9
  121. package/dist/types/vue-ui-circle-pack.d.ts +86 -9
  122. package/dist/types/vue-ui-cursor.d.ts +4 -2
  123. package/dist/types/vue-ui-dag.d.ts +92 -9
  124. package/dist/types/vue-ui-dashboard.d.ts +43 -6
  125. package/dist/types/vue-ui-digits.d.ts +4 -2
  126. package/dist/types/vue-ui-donut-evolution.d.ts +70 -9
  127. package/dist/types/vue-ui-donut.d.ts +92 -9
  128. package/dist/types/vue-ui-dumbbell.d.ts +65 -9
  129. package/dist/types/vue-ui-flow.d.ts +79 -9
  130. package/dist/types/vue-ui-funnel.d.ts +55 -9
  131. package/dist/types/vue-ui-galaxy.d.ts +83 -9
  132. package/dist/types/vue-ui-gauge.d.ts +64 -9
  133. package/dist/types/vue-ui-geo.d.ts +71 -9
  134. package/dist/types/vue-ui-gizmo.d.ts +17 -6
  135. package/dist/types/vue-ui-heatmap.d.ts +73 -9
  136. package/dist/types/vue-ui-history-plot.d.ts +82 -9
  137. package/dist/types/vue-ui-horizontal-bar.d.ts +84 -9
  138. package/dist/types/vue-ui-icon.d.ts +2 -2
  139. package/dist/types/vue-ui-kpi.d.ts +21 -7
  140. package/dist/types/vue-ui-mini-loader.d.ts +5 -3
  141. package/dist/types/vue-ui-molecule.d.ts +86 -9
  142. package/dist/types/vue-ui-mood-radar.d.ts +66 -9
  143. package/dist/types/vue-ui-nested-donuts.d.ts +80 -9
  144. package/dist/types/vue-ui-onion.d.ts +77 -9
  145. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +92 -9
  146. package/dist/types/vue-ui-pattern-seed.d.ts +1 -1
  147. package/dist/types/vue-ui-pattern.d.ts +2 -2
  148. package/dist/types/vue-ui-quadrant.d.ts +86 -9
  149. package/dist/types/vue-ui-quick-chart.d.ts +79 -9
  150. package/dist/types/vue-ui-radar.d.ts +83 -9
  151. package/dist/types/vue-ui-rating.d.ts +22 -6
  152. package/dist/types/vue-ui-relation-circle.d.ts +66 -9
  153. package/dist/types/vue-ui-ridgeline.d.ts +69 -9
  154. package/dist/types/vue-ui-rings.d.ts +70 -9
  155. package/dist/types/vue-ui-scatter.d.ts +67 -9
  156. package/dist/types/vue-ui-skeleton.d.ts +3 -2
  157. package/dist/types/vue-ui-smiley.d.ts +3 -2
  158. package/dist/types/vue-ui-spark-trend.d.ts +14 -6
  159. package/dist/types/vue-ui-sparkbar.d.ts +27 -6
  160. package/dist/types/vue-ui-sparkgauge.d.ts +20 -6
  161. package/dist/types/vue-ui-sparkhistogram.d.ts +24 -6
  162. package/dist/types/vue-ui-sparkline.d.ts +35 -6
  163. package/dist/types/vue-ui-sparkstackbar.d.ts +35 -6
  164. package/dist/types/vue-ui-stackbar.d.ts +85 -9
  165. package/dist/types/vue-ui-stackline.d.ts +81 -9
  166. package/dist/types/vue-ui-strip-plot.d.ts +66 -9
  167. package/dist/types/vue-ui-table-heatmap.d.ts +52 -6
  168. package/dist/types/vue-ui-table-sparkline.d.ts +30 -6
  169. package/dist/types/vue-ui-table.d.ts +10 -2
  170. package/dist/types/vue-ui-thermometer.d.ts +46 -9
  171. package/dist/types/vue-ui-timer.d.ts +31 -5
  172. package/dist/types/vue-ui-tiremarks.d.ts +46 -9
  173. package/dist/types/vue-ui-treemap.d.ts +73 -9
  174. package/dist/types/vue-ui-vertical-bar.d.ts +2 -2
  175. package/dist/types/vue-ui-waffle.d.ts +72 -9
  176. package/dist/types/vue-ui-wheel.d.ts +46 -9
  177. package/dist/types/vue-ui-word-cloud.d.ts +73 -9
  178. package/dist/types/vue-ui-world.d.ts +68 -9
  179. package/dist/types/vue-ui-xy-canvas.d.ts +75 -9
  180. package/dist/types/vue-ui-xy.d.ts +108 -10
  181. package/dist/useAutoSizeLabelsInsideViewbox-De0rTecW.js +50 -0
  182. package/dist/useChartAccessibility-Do37qcw2.js +12 -0
  183. package/dist/useConfig-KnOLHtlJ.js +7419 -0
  184. package/dist/useFitSvgText-C-MEdAfe.js +63 -0
  185. package/dist/useNestedProp-CcxL1gUU.js +10 -0
  186. package/dist/useObjectBindings-Dc8Rf6Qy.js +189 -0
  187. package/dist/usePanZoom-B-4M_gmY.js +157 -0
  188. package/dist/usePrefersMotion-BywLbIko.js +15 -0
  189. package/dist/usePrinter-CMLF900n.js +49 -0
  190. package/dist/useResponsive-CrAInupd.js +19 -0
  191. package/dist/useStableElementSize-0I1IpHPl.js +77 -0
  192. package/dist/useSvgExport-Dtu973wa.js +755 -0
  193. package/dist/useTableResponsive-DrM1xqII.js +24 -0
  194. package/dist/useThemeCheck-rFK9Zlb_.js +24 -0
  195. package/dist/useTimeLabelCollider-Dm55Emzg.js +57 -0
  196. package/dist/useTimeLabels-C0x7zUXP.js +272 -0
  197. package/dist/useUserOptionState-CjPJPTg2.js +15 -0
  198. package/dist/utils.js +27 -44
  199. package/dist/vClickOutside-CbX_bC9A.js +13 -0
  200. package/dist/vue-data-ui-D1REqS_k.js +274 -0
  201. package/dist/vue-data-ui.js +76 -167
  202. package/dist/vue-ui-3d-bar-vO_kSCd6.js +1747 -0
  203. package/dist/vue-ui-accordion-Cf-jZELj.js +81 -0
  204. package/dist/vue-ui-age-pyramid-DHXhrP_3.js +1226 -0
  205. package/dist/vue-ui-annotator-B0o6czmF.js +2899 -0
  206. package/dist/vue-ui-bullet-C93-cf0H.js +700 -0
  207. package/dist/vue-ui-bump-C_Szk9AZ.js +1239 -0
  208. package/dist/vue-ui-candlestick-6JdMEJKO.js +1802 -0
  209. package/dist/vue-ui-carousel-table-CZ_HK0Iw.js +445 -0
  210. package/dist/vue-ui-chestnut-B8ixU585.js +2000 -0
  211. package/dist/vue-ui-chord-DC5sLapz.js +1381 -0
  212. package/dist/vue-ui-circle-pack-CsmSEwt3.js +1183 -0
  213. package/dist/vue-ui-cursor-B-QODIL3.js +283 -0
  214. package/dist/vue-ui-dag-C9LYfjS_.js +2899 -0
  215. package/dist/vue-ui-dashboard-D-f4ZaLi.js +503 -0
  216. package/dist/vue-ui-digits-CcB3odN7.js +209 -0
  217. package/dist/vue-ui-donut-DR0ngnZC.js +2396 -0
  218. package/dist/vue-ui-donut-evolution-BXpOscCe.js +1490 -0
  219. package/dist/vue-ui-dumbbell-CB_clJWA.js +1517 -0
  220. package/dist/vue-ui-flow-CUiOAEy1.js +1223 -0
  221. package/dist/vue-ui-funnel-BAlGDK0o.js +767 -0
  222. package/dist/vue-ui-galaxy-DbYNfSHb.js +1062 -0
  223. package/dist/vue-ui-gauge-Cie7jykM.js +910 -0
  224. package/dist/vue-ui-geo-Ce_gBRye.js +1504 -0
  225. package/dist/vue-ui-gizmo-B9POi_SN.js +225 -0
  226. package/dist/vue-ui-heatmap-DFfRSbnk.js +1556 -0
  227. package/dist/vue-ui-history-plot-DHp5WFgx.js +1551 -0
  228. package/dist/vue-ui-horizontal-bar-DI4yoARv.js +1669 -0
  229. package/dist/vue-ui-kpi-oUfso4UP.js +96 -0
  230. package/dist/vue-ui-mini-loader-aZMi1_uX.js +125 -0
  231. package/dist/vue-ui-molecule-D72kzel_.js +912 -0
  232. package/dist/vue-ui-mood-radar-Tw2ZFP7Y.js +1138 -0
  233. package/dist/vue-ui-nested-donuts-Bza1LczX.js +1472 -0
  234. package/dist/vue-ui-onion-BOuuib5d.js +1188 -0
  235. package/dist/vue-ui-parallel-coordinate-plot-BuQUq6-o.js +1413 -0
  236. package/dist/vue-ui-pattern-Bj-IPFr2.js +154 -0
  237. package/dist/vue-ui-pattern-seed-abRweCDE.js +61 -0
  238. package/dist/vue-ui-quadrant-zNFIXNt9.js +1966 -0
  239. package/dist/vue-ui-quick-chart-B1a8QVUn.js +2459 -0
  240. package/dist/vue-ui-radar-VFn-YP_2.js +1214 -0
  241. package/dist/vue-ui-rating-Dxgn21FA.js +343 -0
  242. package/dist/vue-ui-relation-circle-B0sZaCgX.js +914 -0
  243. package/dist/vue-ui-ridgeline-BsBAbg5V.js +1612 -0
  244. package/dist/vue-ui-rings-CDwUzMF-.js +1231 -0
  245. package/dist/vue-ui-scatter-Du_b-zM8.js +2380 -0
  246. package/dist/vue-ui-skeleton-BAq6J_6G.js +2556 -0
  247. package/dist/vue-ui-smiley-CoHvkS0c.js +356 -0
  248. package/dist/vue-ui-spark-trend-BmCcJ17C.js +438 -0
  249. package/dist/vue-ui-sparkbar-9z05IMx8.js +393 -0
  250. package/dist/vue-ui-sparkgauge-BlWri9DP.js +255 -0
  251. package/dist/vue-ui-sparkhistogram-CHZTt8d8.js +560 -0
  252. package/dist/vue-ui-sparkline-DirLW9Nd.js +1503 -0
  253. package/dist/vue-ui-sparkstackbar-Dk6cEI2o.js +660 -0
  254. package/dist/vue-ui-stackbar-DNIrGHkt.js +2235 -0
  255. package/dist/vue-ui-stackline-HoWn_ur2.js +2362 -0
  256. package/dist/vue-ui-strip-plot-Bi8u_fLr.js +1328 -0
  257. package/dist/vue-ui-table-XLjOOfdI.js +1338 -0
  258. package/dist/vue-ui-table-heatmap-DvnFiveI.js +334 -0
  259. package/dist/vue-ui-table-sparkline-CSZf8XxP.js +697 -0
  260. package/dist/vue-ui-thermometer-7eUO_7CP.js +753 -0
  261. package/dist/vue-ui-timer-DCbxsREb.js +439 -0
  262. package/dist/vue-ui-tiremarks-p_sfTufv.js +542 -0
  263. package/dist/vue-ui-treemap-BdZOW7TM.js +1575 -0
  264. package/dist/vue-ui-waffle-Bf9dWWCM.js +1350 -0
  265. package/dist/vue-ui-wheel-CZrIiB0K.js +875 -0
  266. package/dist/vue-ui-word-cloud-BeLjxoRe.js +1644 -0
  267. package/dist/vue-ui-world-D9ahzEQ2.js +14252 -0
  268. package/dist/vue-ui-xy-DrvbVuHO.js +4063 -0
  269. package/dist/vue-ui-xy-canvas-DU7vFrQr.js +1774 -0
  270. package/dist/vue_ui_3d_bar-CXKqO5Ej.js +185 -0
  271. package/dist/vue_ui_age_pyramid-BON8QI6X.js +301 -0
  272. package/dist/vue_ui_bullet-CE5sFT7u.js +186 -0
  273. package/dist/vue_ui_bump-frnXaXul.js +201 -0
  274. package/dist/vue_ui_candlestick-sY6UtOop.js +374 -0
  275. package/dist/vue_ui_chestnut-BiUZFv40.js +305 -0
  276. package/dist/vue_ui_chord-DpyR_b9A.js +275 -0
  277. package/dist/vue_ui_circle_pack-DBKz_Fi_.js +130 -0
  278. package/dist/vue_ui_dag-Ci_MOnvd.js +258 -0
  279. package/dist/vue_ui_donut-Cx2_BGcQ.js +358 -0
  280. package/dist/vue_ui_donut_evolution-CAJefrHs.js +717 -0
  281. package/dist/vue_ui_dumbbell-CClzAZTN.js +304 -0
  282. package/dist/vue_ui_flow-CCHO1Lo9.js +238 -0
  283. package/dist/vue_ui_funnel-h8q2mRpC.js +234 -0
  284. package/dist/vue_ui_galaxy-70vtkEBw.js +265 -0
  285. package/dist/vue_ui_gauge-C17CgfzN.js +178 -0
  286. package/dist/vue_ui_geo-C0UbQ0Lc.js +248 -0
  287. package/dist/vue_ui_heatmap-BqPP3J4M.js +319 -0
  288. package/dist/vue_ui_history_plot-C5nytDHh.js +413 -0
  289. package/dist/vue_ui_horizontal_bar-Bqxorkc_.js +341 -0
  290. package/dist/vue_ui_molecule-Dka4JBOp.js +231 -0
  291. package/dist/vue_ui_mood_radar-Dg4ijm53.js +281 -0
  292. package/dist/vue_ui_nested_donuts-BY9cOoHF.js +273 -0
  293. package/dist/vue_ui_onion-DTV9cup-.js +293 -0
  294. package/dist/vue_ui_parallel_coordinate_plot-CNWrDh96.js +278 -0
  295. package/dist/vue_ui_quadrant-3kjYvxpj.js +428 -0
  296. package/dist/vue_ui_quick_chart--VaYQuM4.js +139 -0
  297. package/dist/vue_ui_radar-Dxx9GJmj.js +306 -0
  298. package/dist/vue_ui_relation_circle-Cr0I2SoU.js +98 -0
  299. package/dist/vue_ui_ridgeline-CAtYca4b.js +767 -0
  300. package/dist/vue_ui_rings-DXC1VeX5.js +320 -0
  301. package/dist/vue_ui_scatter-D2S2j0ap.js +479 -0
  302. package/dist/vue_ui_spark_trend-BHMQ6_1p.js +82 -0
  303. package/dist/vue_ui_sparkbar-BR6hbuDE.js +64 -0
  304. package/dist/vue_ui_sparkgauge-xfPRHnMv.js +90 -0
  305. package/dist/vue_ui_sparkhistogram-CJRENZ1C.js +123 -0
  306. package/dist/vue_ui_sparkline-wgk7yO7E.js +151 -0
  307. package/dist/vue_ui_sparkstackbar-C5qZMmAl.js +175 -0
  308. package/dist/vue_ui_stackbar-BW_C3MXw.js +412 -0
  309. package/dist/vue_ui_stackline-DpI2LnjO.js +426 -0
  310. package/dist/vue_ui_strip_plot-8ZelqC5b.js +301 -0
  311. package/dist/vue_ui_table_heatmap-BGUjA0WA.js +80 -0
  312. package/dist/vue_ui_table_sparkline-i0Q-N_we.js +124 -0
  313. package/dist/vue_ui_thermometer-CuN7Gpez.js +123 -0
  314. package/dist/vue_ui_tiremarks-A6UHC0c3.js +122 -0
  315. package/dist/vue_ui_treemap-BQp06q-g.js +328 -0
  316. package/dist/vue_ui_vertical_bar-CJSD1FZS.js +247 -0
  317. package/dist/vue_ui_waffle-C_Ev4l7B.js +292 -0
  318. package/dist/vue_ui_wheel-DdkTPXJU.js +133 -0
  319. package/dist/vue_ui_word_cloud-B1PbsYPc.js +254 -0
  320. package/dist/vue_ui_xy-BYPqfYyx.js +482 -0
  321. package/dist/vue_ui_xy_canvas-CMHGNrLf.js +408 -0
  322. package/package.json +7 -7
  323. package/dist/A11yDataTable-BpmuNomI.js +0 -54
  324. package/dist/Arrow-dSvLFssU.js +0 -101
  325. package/dist/BaseDraggableDialog-Di8Hlru3.js +0 -249
  326. package/dist/BaseIcon-DX0hTWa-.js +0 -476
  327. package/dist/BaseLegendToggle-cMP8M2u0.js +0 -47
  328. package/dist/BaseScanner-C2j3TsSY.js +0 -36
  329. package/dist/BaseZoomControls-CVSC1-SU.js +0 -123
  330. package/dist/ColorPicker-bAxGcXK0.js +0 -271
  331. package/dist/DataTable-cMnb68Ik.js +0 -145
  332. package/dist/Legend-DGN5lY60.js +0 -104
  333. package/dist/NonSvgPenAndPaper-B6E0zEYe.js +0 -573
  334. package/dist/PackageVersion-BfrCAH6_.js +0 -10
  335. package/dist/PenAndPaper-CJDoB5H9.js +0 -527
  336. package/dist/RecursiveCircles-BE6GoMmo.js +0 -101
  337. package/dist/RecursiveLabels-BhQMS9Sm.js +0 -55
  338. package/dist/RecursiveLinks-BDwyYfP-.js +0 -83
  339. package/dist/Shape-CxJ5_Rre.js +0 -116
  340. package/dist/Slicer-D7UcO8sN.js +0 -1145
  341. package/dist/SlicerPreview-D_CgrN_7.js +0 -1580
  342. package/dist/SparkTooltip-D4bM-kfz.js +0 -68
  343. package/dist/Title-BbKoiBk2.js +0 -88
  344. package/dist/Tooltip-Cvt7Fi0Q.js +0 -299
  345. package/dist/UserOptions-DVduN6X7.js +0 -1474
  346. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
  347. package/dist/dom-to-png-DGvx6i5V.js +0 -262
  348. package/dist/exposedLib-sJvY1pST.js +0 -22
  349. package/dist/geoProjections-BFq2sOBY.js +0 -162
  350. package/dist/img-CjTQXS0U.js +0 -57
  351. package/dist/labelUtils-DX9oyq3C.js +0 -26
  352. package/dist/lib-DMzrGQHK.js +0 -2477
  353. package/dist/patternUtils-BINhU4Ky.js +0 -615
  354. package/dist/pdf-C4H4o1Cj.js +0 -88
  355. package/dist/useAutoSizeLabelsInsideViewbox-izlGDfwu.js +0 -55
  356. package/dist/useChartAccessibility-cp6XQtqi.js +0 -15
  357. package/dist/useConfig-CG4HT3wS.js +0 -7901
  358. package/dist/useFitSvgText-2crs6Fv5.js +0 -69
  359. package/dist/useNestedProp-DH0BEVVS.js +0 -13
  360. package/dist/useObjectBindings-Dixg-RIe.js +0 -228
  361. package/dist/usePanZoom-BbDhcKWf.js +0 -141
  362. package/dist/usePrefersMotion-Co0nj1eS.js +0 -17
  363. package/dist/usePrinter-C4t8DdQ-.js +0 -51
  364. package/dist/useResponsive-DfdjqQps.js +0 -195
  365. package/dist/useStableElementSize-C48ZVcZQ.js +0 -77
  366. package/dist/useSvgExport-BTG4hVPO.js +0 -870
  367. package/dist/useTableResponsive-BpfiEtzR.js +0 -26
  368. package/dist/useThemeCheck-C9Ccl7U9.js +0 -36
  369. package/dist/useTimeLabelCollider-D3JeJ6Ye.js +0 -86
  370. package/dist/useTimeLabels-Cv0tD9In.js +0 -307
  371. package/dist/useUserOptionState-B7Ej974k.js +0 -19
  372. package/dist/vClickOutside-C6WiFswA.js +0 -13
  373. package/dist/vue-data-ui-D1ZI7Y4l.js +0 -433
  374. package/dist/vue-ui-3d-bar-DEjKYzI5.js +0 -1824
  375. package/dist/vue-ui-accordion-DFtpH_16.js +0 -92
  376. package/dist/vue-ui-age-pyramid-LiC9hTjP.js +0 -1179
  377. package/dist/vue-ui-annotator-DrKnQoHf.js +0 -2991
  378. package/dist/vue-ui-bullet-DdxEINdq.js +0 -769
  379. package/dist/vue-ui-bump-CdgO1V7z.js +0 -1250
  380. package/dist/vue-ui-candlestick-DxJnPwto.js +0 -1775
  381. package/dist/vue-ui-carousel-table-CMefu5TI.js +0 -487
  382. package/dist/vue-ui-chestnut-BnGN72PO.js +0 -2001
  383. package/dist/vue-ui-chord-DWyar45U.js +0 -1457
  384. package/dist/vue-ui-circle-pack-CQ8vF2XH.js +0 -1076
  385. package/dist/vue-ui-cursor-HHOdkmyB.js +0 -260
  386. package/dist/vue-ui-dag-BDWPBElq.js +0 -3209
  387. package/dist/vue-ui-dashboard-Dg_I3X2a.js +0 -627
  388. package/dist/vue-ui-digits-CZmdir8V.js +0 -211
  389. package/dist/vue-ui-donut-BKegKHxj.js +0 -2608
  390. package/dist/vue-ui-donut-evolution-047dE4Lu.js +0 -1578
  391. package/dist/vue-ui-dumbbell-BL4ZMChj.js +0 -1552
  392. package/dist/vue-ui-flow-BAqtyunQ.js +0 -1279
  393. package/dist/vue-ui-funnel-Pl2sEOZs.js +0 -823
  394. package/dist/vue-ui-galaxy-CBF5Wsax.js +0 -1108
  395. package/dist/vue-ui-gauge-COV_S0Vp.js +0 -955
  396. package/dist/vue-ui-geo-CaPXElPf.js +0 -1510
  397. package/dist/vue-ui-gizmo-Csn7up96.js +0 -238
  398. package/dist/vue-ui-heatmap-Cpb0BYLa.js +0 -1694
  399. package/dist/vue-ui-history-plot-ZZEdzFCE.js +0 -1564
  400. package/dist/vue-ui-horizontal-bar-BonPYUZf.js +0 -1735
  401. package/dist/vue-ui-kpi-DoHhSsDK.js +0 -130
  402. package/dist/vue-ui-mini-loader-DOTBVCLE.js +0 -138
  403. package/dist/vue-ui-molecule-mVYnXouV.js +0 -945
  404. package/dist/vue-ui-mood-radar-DPvwnc3z.js +0 -1197
  405. package/dist/vue-ui-nested-donuts-C7E6TXrZ.js +0 -1702
  406. package/dist/vue-ui-onion-BGIlFhGB.js +0 -1207
  407. package/dist/vue-ui-parallel-coordinate-plot-C6G_A9ua.js +0 -1432
  408. package/dist/vue-ui-pattern-mXZW_pvA.js +0 -146
  409. package/dist/vue-ui-pattern-seed-BcNlxb2i.js +0 -36
  410. package/dist/vue-ui-quadrant-CVpIeYOB.js +0 -1918
  411. package/dist/vue-ui-quick-chart-CcV8qn9-.js +0 -2514
  412. package/dist/vue-ui-radar-G4AV1rBo.js +0 -1259
  413. package/dist/vue-ui-rating-CqPlP88P.js +0 -370
  414. package/dist/vue-ui-relation-circle-CkZ8oFVV.js +0 -856
  415. package/dist/vue-ui-ridgeline-CBTyYn6Q.js +0 -1737
  416. package/dist/vue-ui-rings-CSIOqFiP.js +0 -1256
  417. package/dist/vue-ui-scatter-AuC46ufT.js +0 -2345
  418. package/dist/vue-ui-skeleton-YD6rZjY_.js +0 -2475
  419. package/dist/vue-ui-smiley-CY0WFv2j.js +0 -391
  420. package/dist/vue-ui-spark-trend-D8KGIt-R.js +0 -423
  421. package/dist/vue-ui-sparkbar-BjWGJjzN.js +0 -424
  422. package/dist/vue-ui-sparkgauge-Dab5mss7.js +0 -285
  423. package/dist/vue-ui-sparkhistogram-D0rsmiPh.js +0 -559
  424. package/dist/vue-ui-sparkline-BCaauQuX.js +0 -1550
  425. package/dist/vue-ui-sparkstackbar-NT5yD6xA.js +0 -672
  426. package/dist/vue-ui-stackbar-ChBk_A1c.js +0 -2393
  427. package/dist/vue-ui-stackline-Cujamlze.js +0 -2490
  428. package/dist/vue-ui-strip-plot-CGBumG6I.js +0 -1293
  429. package/dist/vue-ui-table-BX2iMku4.js +0 -1726
  430. package/dist/vue-ui-table-heatmap-KXgXYVXm.js +0 -353
  431. package/dist/vue-ui-table-sparkline-C3NWnry0.js +0 -803
  432. package/dist/vue-ui-thermometer-DvdceZB1.js +0 -743
  433. package/dist/vue-ui-timer-XWAbvuAY.js +0 -504
  434. package/dist/vue-ui-tiremarks-B-YI1RlT.js +0 -578
  435. package/dist/vue-ui-treemap-AzorGfmd.js +0 -1757
  436. package/dist/vue-ui-waffle-CKtUvdTE.js +0 -1442
  437. package/dist/vue-ui-wheel-CnsLEArZ.js +0 -908
  438. package/dist/vue-ui-word-cloud-iAme2ihe.js +0 -1644
  439. package/dist/vue-ui-world-D5rrC9rw.js +0 -14452
  440. package/dist/vue-ui-xy-C_Q9chQe.js +0 -4468
  441. package/dist/vue-ui-xy-canvas-DG0299qE.js +0 -2107
  442. package/dist/vue_ui_3d_bar-CL0iX8Qi.js +0 -22
  443. package/dist/vue_ui_age_pyramid-8H8WSL7J.js +0 -22
  444. package/dist/vue_ui_bullet-Ckqieba5.js +0 -22
  445. package/dist/vue_ui_bump-CIht647H.js +0 -22
  446. package/dist/vue_ui_candlestick-BAMn-VGw.js +0 -22
  447. package/dist/vue_ui_chestnut-BloFvDuV.js +0 -22
  448. package/dist/vue_ui_chord-Bc1_ocwK.js +0 -22
  449. package/dist/vue_ui_circle_pack-CLmw8nHe.js +0 -22
  450. package/dist/vue_ui_dag-ZOwuDBZ8.js +0 -22
  451. package/dist/vue_ui_donut-CA4dgV8J.js +0 -22
  452. package/dist/vue_ui_donut_evolution-DFQU-rqE.js +0 -22
  453. package/dist/vue_ui_dumbbell-BCOHDiPk.js +0 -22
  454. package/dist/vue_ui_flow-BErINgox.js +0 -22
  455. package/dist/vue_ui_funnel-yuaMZ-yb.js +0 -22
  456. package/dist/vue_ui_galaxy-D95AN4FT.js +0 -22
  457. package/dist/vue_ui_gauge-BMEuRC4J.js +0 -22
  458. package/dist/vue_ui_geo--kg4VoVX.js +0 -22
  459. package/dist/vue_ui_heatmap-C9u993qE.js +0 -22
  460. package/dist/vue_ui_history_plot-BCKk1CrQ.js +0 -22
  461. package/dist/vue_ui_horizontal_bar-BEagrV0T.js +0 -22
  462. package/dist/vue_ui_molecule-BtvlINUh.js +0 -22
  463. package/dist/vue_ui_mood_radar-BUs6Fdn8.js +0 -22
  464. package/dist/vue_ui_nested_donuts-DvTrWT_C.js +0 -22
  465. package/dist/vue_ui_onion-CxWH9_OZ.js +0 -22
  466. package/dist/vue_ui_parallel_coordinate_plot-DH3cFJ3n.js +0 -22
  467. package/dist/vue_ui_quadrant-DjRs--Uz.js +0 -22
  468. package/dist/vue_ui_quick_chart-DMCjEjPe.js +0 -22
  469. package/dist/vue_ui_radar-DryGBOrz.js +0 -22
  470. package/dist/vue_ui_relation_circle-CCroen7h.js +0 -22
  471. package/dist/vue_ui_ridgeline-j4rVmpEp.js +0 -22
  472. package/dist/vue_ui_rings-CxOrekqA.js +0 -22
  473. package/dist/vue_ui_scatter-Bu1EAy9H.js +0 -22
  474. package/dist/vue_ui_spark_trend-3BjrSprO.js +0 -22
  475. package/dist/vue_ui_sparkbar-BsMzz5Um.js +0 -22
  476. package/dist/vue_ui_sparkgauge-KnjASOZs.js +0 -22
  477. package/dist/vue_ui_sparkhistogram-GBdzIVvS.js +0 -22
  478. package/dist/vue_ui_sparkline-CQ8DJVJx.js +0 -22
  479. package/dist/vue_ui_sparkstackbar-BSexvOuM.js +0 -22
  480. package/dist/vue_ui_stackbar-CuDC4O4b.js +0 -22
  481. package/dist/vue_ui_stackline-QTh-nuxE.js +0 -22
  482. package/dist/vue_ui_strip_plot-B9ypi_F3.js +0 -22
  483. package/dist/vue_ui_table_heatmap-CkvipPVy.js +0 -16
  484. package/dist/vue_ui_table_sparkline-yQdijcyJ.js +0 -22
  485. package/dist/vue_ui_thermometer-BTmjRBH8.js +0 -22
  486. package/dist/vue_ui_tiremarks-DBotWfi8.js +0 -22
  487. package/dist/vue_ui_treemap-D9-AIkT-.js +0 -22
  488. package/dist/vue_ui_vertical_bar-CELc39b8.js +0 -18
  489. package/dist/vue_ui_waffle-M2h-uJQ_.js +0 -22
  490. package/dist/vue_ui_wheel-LqBz3lv4.js +0 -22
  491. package/dist/vue_ui_word_cloud-mKAtBxHR.js +0 -22
  492. package/dist/vue_ui_xy-esktmpg-.js +0 -22
  493. package/dist/vue_ui_xy_canvas-6BBDSowT.js +0 -22
@@ -0,0 +1,1214 @@
1
+ import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
2
+ import { D as t, G as n, H as r, J as i, Lt as a, Mt as ee, S as te, St as ne, Tt as o, X as s, i as re, jt as ie, nt as ae, ot as oe, pt as se, t as ce, v as le, x as ue, xt as de, y as fe, zt as pe } from "./lib-B83ZCydz.js";
3
+ import { t as me } from "./useConfig-KnOLHtlJ.js";
4
+ import { t as he } from "./usePrinter-CMLF900n.js";
5
+ import { n as ge, t as _e } from "./BaseScanner-C7dmAref.js";
6
+ import { t as ve } from "./useSvgExport-Dtu973wa.js";
7
+ import { t as ye } from "./useNestedProp-CcxL1gUU.js";
8
+ import { t as be } from "./useThemeCheck-rFK9Zlb_.js";
9
+ import { t as xe } from "./img-NMY-_LiJ.js";
10
+ import { n as Se } from "./Title-ByyzJzpc.js";
11
+ import { t as Ce } from "./_plugin-vue_export-helper-Dq1MygBL.js";
12
+ import { c as we } from "./canvas-lib-DTaADQOK.js";
13
+ import { t as Te } from "./useResponsive-CrAInupd.js";
14
+ import { t as Ee } from "./BaseLegendToggle-BvPOFMVZ.js";
15
+ import { t as De } from "./A11yDataTable-q2-8fSlJ.js";
16
+ import { t as Oe } from "./useUserOptionState-CjPJPTg2.js";
17
+ import { t as ke } from "./useChartAccessibility-Do37qcw2.js";
18
+ import { t as Ae } from "./Legend-BPb8i4aC.js";
19
+ import { t as je } from "./useAutoSizeLabelsInsideViewbox-De0rTecW.js";
20
+ import { t as Me } from "./vue_ui_radar-Dxx9GJmj.js";
21
+ import { Fragment as c, Teleport as Ne, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as Pe, createTextVNode as Fe, createVNode as Ie, defineAsyncComponent as m, guardReactiveProps as h, mergeProps as Le, nextTick as Re, normalizeClass as g, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as ze, onMounted as Be, openBlock as y, ref as b, renderList as x, renderSlot as S, resolveDynamicComponent as Ve, shallowRef as He, toDisplayString as C, toRefs as Ue, unref as w, watch as We, withCtx as T } from "vue";
22
+ //#region src/components/vue-ui-radar.vue
23
+ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je = ["id"], Ye = { style: { position: "relative" } }, Xe = [
24
+ "xmlns",
25
+ "aria-describedby",
26
+ "viewBox"
27
+ ], Ze = ["width", "height"], Qe = ["id"], $e = ["stop-color"], et = ["stop-color"], tt = { key: 1 }, nt = [
28
+ "x1",
29
+ "y1",
30
+ "x2",
31
+ "y2",
32
+ "stroke",
33
+ "stroke-width"
34
+ ], rt = { key: 0 }, it = [
35
+ "d",
36
+ "stroke",
37
+ "stroke-width"
38
+ ], at = [
39
+ "d",
40
+ "stroke",
41
+ "stroke-width"
42
+ ], ot = { key: 2 }, st = [
43
+ "x",
44
+ "y",
45
+ "text-anchor",
46
+ "font-size",
47
+ "fill",
48
+ "onMouseenter",
49
+ "onMouseleave",
50
+ "onClick"
51
+ ], ct = [
52
+ "points",
53
+ "stroke",
54
+ "stroke-width"
55
+ ], lt = [
56
+ "points",
57
+ "stroke",
58
+ "stroke-width",
59
+ "fill"
60
+ ], ut = { key: 3 }, dt = [
61
+ "cx",
62
+ "cy",
63
+ "fill",
64
+ "r",
65
+ "stroke"
66
+ ], ft = {
67
+ key: 0,
68
+ style: {
69
+ position: "absolute",
70
+ top: "100%",
71
+ left: "0",
72
+ width: "100%"
73
+ },
74
+ "data-dom-to-png-ignore": "",
75
+ "aria-hidden": "true"
76
+ }, pt = {
77
+ key: 5,
78
+ class: "vue-data-ui-watermark"
79
+ }, mt = ["id"], ht = ["onClick"], gt = {
80
+ key: 0,
81
+ style: {
82
+ "max-width": "200px",
83
+ margin: "0 auto"
84
+ }
85
+ }, _t = {
86
+ class: "vue-ui-radar-tooltip-datalabel",
87
+ style: { width: "100%" }
88
+ }, vt = { class: "vue-ui-radar-tooltip-datalabel-name" }, yt = { key: 0 }, bt = /* @__PURE__ */ Ce({
89
+ __name: "vue-ui-radar",
90
+ props: {
91
+ config: {
92
+ type: Object,
93
+ default() {
94
+ return {};
95
+ }
96
+ },
97
+ dataset: {
98
+ type: Object,
99
+ default() {
100
+ return {};
101
+ }
102
+ }
103
+ },
104
+ emits: ["selectLegend", "copyAlt"],
105
+ setup(e, { expose: Ce, emit: Ge }) {
106
+ let bt = m(() => import("./Tooltip-V6Z0Ko-1.js")), xt = m(() => import("./BaseIcon-CL6Y7alf.js").then((e) => e.n)), St = m(() => import("./vue-ui-sparkbar-9z05IMx8.js").then((e) => e.n)), Ct = m(() => import("./vue-ui-accordion-Cf-jZELj.js").then((e) => e.n)), wt = m(() => import("./DataTable-ZG4GX2Zg.js")), Tt = m(() => import("./PenAndPaper-DxBCVZAx.js").then((e) => e.t)), Et = m(() => import("./UserOptions-Gaw1761w.js").then((e) => e.n)), Dt = m(() => import("./PackageVersion-B1cPtZ3Q.js").then((e) => e.t)), Ot = m(() => import("./BaseDraggableDialog-LE75fWYz.js").then((e) => e.n)), { vue_ui_radar: kt } = me(), { isThemeValid: At, warnInvalidTheme: jt } = be(), E = e, Mt = l(() => !!E.dataset && Object.keys(E.dataset).length), D = b(r()), O = b(!1), Nt = b(""), Pt = b(0), k = b(null), Ft = b(null), It = b(null), Lt = b(null), Rt = b(null), zt = b(0), Bt = b(0), Vt = b(0), Ht = b(!1), A = b(null), Ut = b(null), Wt = b(!1), Gt = b(!1), j = b(null), Kt = b({
107
+ x: 0,
108
+ y: 0
109
+ }), M = b("pointer"), qt = b(!1), N = b($t()), P = l(() => N.value.userOptions.useCursorPointer), Jt = l(() => pe({
110
+ defaultConfig: {
111
+ userOptions: { show: !1 },
112
+ table: { show: !1 },
113
+ useCssAnimation: !1,
114
+ style: { chart: {
115
+ backgroundColor: "#99999930",
116
+ layout: {
117
+ grid: { stroke: "#6A6A6A90" },
118
+ labels: { dataLabels: { show: !1 } },
119
+ outerPolygon: { stroke: "#6A6A6A" }
120
+ },
121
+ legend: { backgroundColor: "transparent" }
122
+ } }
123
+ },
124
+ userConfig: N.value.skeletonConfig ?? {}
125
+ })), { loading: Yt, FINAL_DATASET: F } = ge({
126
+ ...Ue(E),
127
+ FINAL_CONFIG: N,
128
+ prepareConfig: $t,
129
+ callback: () => {
130
+ Promise.resolve().then(async () => {
131
+ await Re(), B.value.showTable = N.value.table.show;
132
+ });
133
+ },
134
+ skeletonDataset: E.config?.skeletonDataset ?? {
135
+ categories: [{
136
+ name: "_",
137
+ color: "#6A6A6A"
138
+ }],
139
+ series: [
140
+ {
141
+ name: "_",
142
+ values: [.6],
143
+ target: 1
144
+ },
145
+ {
146
+ name: "_",
147
+ values: [.6],
148
+ target: 1
149
+ },
150
+ {
151
+ name: "_",
152
+ values: [.6],
153
+ target: 1
154
+ },
155
+ {
156
+ name: "_",
157
+ values: [.6],
158
+ target: 1
159
+ },
160
+ {
161
+ name: "_",
162
+ values: [.6],
163
+ target: 1
164
+ },
165
+ {
166
+ name: "_",
167
+ values: [.6],
168
+ target: 1
169
+ }
170
+ ]
171
+ },
172
+ skeletonConfig: pe({
173
+ defaultConfig: N.value,
174
+ userConfig: Jt.value
175
+ })
176
+ }), { userOptionsVisible: Xt, setUserOptionsVisibility: Zt, keepUserOptionState: Qt } = Oe({ config: N.value }), { svgRef: I } = ke({ config: N.value.style.chart.title });
177
+ function $t() {
178
+ let e = ye({
179
+ userConfig: E.config,
180
+ defaultConfig: kt
181
+ }), t = e.theme;
182
+ if (!t) return e;
183
+ if (!At.value(e)) return jt(e), e;
184
+ let n = ye({
185
+ userConfig: Me[t] || E.config,
186
+ defaultConfig: e
187
+ }), r = ye({
188
+ userConfig: E.config,
189
+ defaultConfig: n
190
+ });
191
+ return {
192
+ ...r,
193
+ customPalette: r.customPalette.length ? r.customPalette : a[t] || o
194
+ };
195
+ }
196
+ We(() => E.config, (e) => {
197
+ N.value = $t(), Xt.value = !N.value.userOptions.showOnChartHover, en(), zt.value += 1, Bt.value += 1, Vt.value += 1, B.value.dataLabels.show = N.value.style.chart.layout.labels.dataLabels.show, B.value.showTable = N.value.table.show, B.value.showTooltip = N.value.style.chart.tooltip ? N.value.style.chart.tooltip.show : !1;
198
+ }, { deep: !0 });
199
+ let L = He(null), R = He(null), z = l(() => N.value.debug);
200
+ function en() {
201
+ if (ne(E.dataset) && s({
202
+ componentName: "VueUiRadar",
203
+ type: "dataset",
204
+ debug: z.value
205
+ }), N.value.responsive) {
206
+ let e = we(() => {
207
+ let { width: e, height: t } = Te({
208
+ chart: k.value,
209
+ title: N.value.style.chart.title.text ? Ft.value : null,
210
+ legend: N.value.style.chart.legend.show ? It.value : null,
211
+ source: Lt.value,
212
+ noTitle: Rt.value
213
+ });
214
+ requestAnimationFrame(() => {
215
+ V.value.width = e, V.value.height = t, wn();
216
+ });
217
+ });
218
+ L.value && (R.value && L.value.unobserve(R.value), L.value.disconnect()), L.value = new ResizeObserver(e), R.value = k.value.parentNode, L.value.observe(R.value);
219
+ }
220
+ wn();
221
+ }
222
+ Be(() => {
223
+ Ht.value = !0, en();
224
+ }), ze(() => {
225
+ L.value && (R.value && L.value.unobserve(R.value), L.value.disconnect());
226
+ });
227
+ let { isPrinting: tn, isImaging: nn, generatePdf: rn, generateImage: an } = he({
228
+ elementId: `vue-ui-radar_${D.value}`,
229
+ fileName: N.value.style.chart.title.text || "vue-ui-radar",
230
+ options: N.value.userOptions.print
231
+ }), on = l(() => N.value.userOptions.show && !N.value.style.chart.title.text), sn = l(() => ue(N.value.customPalette)), B = b({
232
+ dataLabels: { show: N.value.style.chart.layout.labels.dataLabels.show },
233
+ showTable: N.value.table.show,
234
+ showTooltip: N.value.style.chart.tooltip.show
235
+ }), cn = l(() => ({ style: {
236
+ backgroundColor: "#FFFFFF00",
237
+ animation: {
238
+ show: N.value.style.chart.tooltip.animation.show,
239
+ animationFrames: N.value.style.chart.tooltip.animation.animationFrames
240
+ },
241
+ labels: {
242
+ fontSize: N.value.style.chart.tooltip.fontSize,
243
+ name: { color: N.value.style.chart.tooltip.color }
244
+ },
245
+ gutter: {
246
+ backgroundColor: "#CCCCCC",
247
+ opacity: 30
248
+ }
249
+ } })), V = b({
250
+ height: 312,
251
+ width: 512
252
+ }), ln = Ge, H = b([]), U = b(null), W = b(!1);
253
+ function un() {
254
+ H.value.length ? H.value = [] : J.value.forEach((e, t) => {
255
+ H.value.push(t);
256
+ });
257
+ }
258
+ function dn(e) {
259
+ W.value = !0, H.value.includes(e) ? (U.value = e, H.value = H.value.filter((t) => t !== e), setTimeout(() => {
260
+ W.value = !1, U.value = null;
261
+ }, 500)) : (H.value.push(e), setTimeout(() => {
262
+ W.value = !1;
263
+ }, 500)), ln("selectLegend", J.value.filter((e, t) => !H.value.includes(t)).map((e) => ({
264
+ name: e.name,
265
+ color: e.color,
266
+ proportion: e.totalProportion
267
+ })));
268
+ }
269
+ function fn() {
270
+ return J.value.map((e) => ({
271
+ name: e.name,
272
+ color: e.color,
273
+ proportion: e.totalProportion
274
+ }));
275
+ }
276
+ function pn() {
277
+ let e = F.value;
278
+ if ([null, void 0].includes(e?.categories)) {
279
+ s({
280
+ componentName: "VueUiRadar",
281
+ type: "dataset",
282
+ debug: z.value
283
+ }), s({
284
+ componentName: "VueUiRadar",
285
+ type: "datasetAttribute",
286
+ property: "categories ({ name: string; prefix?: string; suffix?: string}[])",
287
+ debug: z.value
288
+ });
289
+ return;
290
+ }
291
+ e.categories.length === 0 ? s({
292
+ componentName: "VueUiRadar",
293
+ type: "datasetAttributeEmpty",
294
+ property: "categories",
295
+ debug: z.value
296
+ }) : e.categories.forEach((e, t) => {
297
+ oe({
298
+ datasetObject: e,
299
+ requiredAttributes: ["name"]
300
+ }).forEach((e) => {
301
+ s({
302
+ componentName: "VueUiRadar",
303
+ type: "datasetAttribute",
304
+ property: `category.${e} at index ${t}`,
305
+ index: t,
306
+ debug: z.value
307
+ });
308
+ });
309
+ }), [null, void 0].includes(e?.series) ? s({
310
+ componentName: "VueUiRadar",
311
+ type: "datasetAttribute",
312
+ property: "series ({ name: string; values: number[]; color?: string; target: number}[])",
313
+ debug: z.value
314
+ }) : e.series.forEach((e, t) => {
315
+ oe({
316
+ datasetObject: e,
317
+ requiredAttributes: [
318
+ "name",
319
+ "values",
320
+ "target"
321
+ ]
322
+ }).forEach((e) => {
323
+ s({
324
+ componentName: "VueUiRadar",
325
+ type: "datasetSerieAttribute",
326
+ key: "series",
327
+ property: e,
328
+ index: t,
329
+ debug: z.value
330
+ });
331
+ });
332
+ });
333
+ }
334
+ We(() => F.value, () => pn(), {
335
+ deep: !0,
336
+ immediate: !0
337
+ });
338
+ let G = l(() => {
339
+ let e = Array.isArray(F.value?.categories) ? F.value.categories : [], t = sn.value ?? o;
340
+ return e.map((e, n) => ({
341
+ name: e?.name ?? "",
342
+ categoryId: `radar_category_${D.value}_${n}`,
343
+ color: fe(e?.color) || t[n] || o[n % o.length],
344
+ prefix: e?.prefix ?? "",
345
+ suffix: e?.suffix ?? ""
346
+ }));
347
+ }), K = l(() => F.value.series.map((e, t) => ({
348
+ ...e,
349
+ color: fe(e.color) || sn.value[t] || o[t] || o[t % o.length],
350
+ serieId: `radar_serie_${D.value}_${t}`,
351
+ formatter: e.formatter || null,
352
+ absoluteIndex: t
353
+ })));
354
+ function mn(e) {
355
+ return K.value.length ? J.value.find((t) => t.name === e) || (N.value.debug && console.warn(`VueUiRadar - Series name not found "${e}"`), null) : (N.value.debug && console.warn("VueUiRadar - There are no series to show."), null);
356
+ }
357
+ function hn(e) {
358
+ let t = mn(e);
359
+ t !== null && H.value.includes(t.absoluteIndex) && dn(t.absoluteIndex);
360
+ }
361
+ function gn(e) {
362
+ let t = mn(e);
363
+ t !== null && (H.value.includes(t.absoluteIndex) || dn(t.absoluteIndex));
364
+ }
365
+ let _n = l(() => Math.max(...K.value.flatMap((e) => e.values))), vn = l(() => K.value.length), yn = l(() => Math.min(V.value.width, V.value.height) / 3), bn = l(() => t({
366
+ plot: {
367
+ x: V.value.width / 2,
368
+ y: V.value.height / 2
369
+ },
370
+ radius: yn.value,
371
+ sides: vn.value,
372
+ rotation: 0
373
+ })), xn = l(() => {
374
+ let e = [];
375
+ for (let t = 0; t < yn.value; t += yn.value / N.value.style.chart.layout.grid.graduations) e.push(t);
376
+ return e;
377
+ }), q = l(() => bn.value.coordinates.map((e, t) => {
378
+ let n = K.value[t].values.map((n) => Tn({
379
+ centerX: V.value.width / 2,
380
+ centerY: V.value.height / 2,
381
+ apexX: e.x,
382
+ apexY: e.y,
383
+ proportion: n / (K.value[t].target || _n.value)
384
+ }));
385
+ return {
386
+ ...e,
387
+ ...K.value[t],
388
+ plots: n
389
+ };
390
+ }).map((e) => ({
391
+ ...e,
392
+ labelX: Sn(e).x,
393
+ labelY: Sn(e).y,
394
+ labelAnchor: Sn(e).anchor
395
+ })));
396
+ function Sn({ x: e, y: t }) {
397
+ let n = "middle";
398
+ return e = Math.round(e), t = Math.round(t), e > V.value.width / 2 && (e += 12, n = "start"), e < V.value.width / 2 && (e -= 12, n = "end"), t > V.value.height / 2 + 1 && (t += 20), t < V.value.height / 2 - 1 && (t -= 12), t === V.value.height / 2 && (t += 4), {
399
+ x: e,
400
+ y: t,
401
+ anchor: n
402
+ };
403
+ }
404
+ let Cn = l({
405
+ get: () => N.value.style.chart.layout.labels.dataLabels.fontSize,
406
+ set: (e) => e
407
+ }), { autoSizeLabels: wn } = je({
408
+ svgRef: I,
409
+ fontSize: N.value.style.chart.layout.labels.dataLabels.fontSize,
410
+ minFontSize: 6,
411
+ sizeRef: Cn,
412
+ labelClass: ".vue-ui-radar-apex-label"
413
+ });
414
+ function Tn({ centerX: e, centerY: t, apexX: n, apexY: r, proportion: i }) {
415
+ return {
416
+ x: e + (n - e) * i,
417
+ y: t + (r - t) * i
418
+ };
419
+ }
420
+ let J = l(() => {
421
+ let e = K.value.map((e, t) => e.values.map((t) => t / (e.target || _n.value)));
422
+ return G.value.map((t, r) => {
423
+ let i = le(e.map((e) => e[r]).reduce((e, t) => e + t, 0) / K.value.length);
424
+ return {
425
+ ...t,
426
+ absoluteIndex: r,
427
+ totalProportion: i,
428
+ shape: "circle",
429
+ opacity: H.value.includes(r) ? .5 : 1,
430
+ segregate: () => dn(r),
431
+ isSegregated: H.value.includes(r),
432
+ display: `${t.name}: ${n({
433
+ v: (i ?? 0) * 100,
434
+ s: "%",
435
+ r: N.value.style.chart.legend.roundingPercentage
436
+ })}`
437
+ };
438
+ });
439
+ }), En = l(() => ({
440
+ cy: "radar-div-legend",
441
+ backgroundColor: N.value.style.chart.legend.backgroundColor,
442
+ color: N.value.style.chart.legend.color,
443
+ fontSize: N.value.style.chart.legend.fontSize,
444
+ paddingBottom: 12,
445
+ fontWeight: N.value.style.chart.legend.bold ? "bold" : ""
446
+ })), Y = l(() => {
447
+ let e = [
448
+ {
449
+ name: N.value.translations.datapoint,
450
+ color: ""
451
+ },
452
+ {
453
+ name: N.value.translations.target,
454
+ color: ""
455
+ },
456
+ ...J.value
457
+ ];
458
+ return {
459
+ head: e,
460
+ body: F.value.series.map((e) => [
461
+ e.name,
462
+ re(e.formatter, e.target, n({
463
+ p: e.prefix,
464
+ v: e.target,
465
+ s: e.suffix,
466
+ r: N.value.table.td.roundingValue
467
+ })),
468
+ ...e.values.map((t, r) => `${re(e.formatter, t, n({
469
+ p: G.value[r]?.prefix ?? "",
470
+ v: t,
471
+ s: G.value[r]?.suffix ?? "",
472
+ r: N.value.table.td.roundingValue
473
+ }))} (${isNaN(t / e.target) ? "" : n({
474
+ v: t / e.target * 100,
475
+ s: "%",
476
+ r: N.value.table.td.roundingPercentage
477
+ })})`)
478
+ ]),
479
+ config: {
480
+ th: {
481
+ backgroundColor: N.value.table.th.backgroundColor,
482
+ color: N.value.table.th.color,
483
+ outline: N.value.table.th.outline
484
+ },
485
+ td: {
486
+ backgroundColor: N.value.table.td.backgroundColor,
487
+ color: N.value.table.td.color,
488
+ outline: N.value.table.td.outline
489
+ },
490
+ breakpoint: N.value.table.responsiveBreakpoint
491
+ },
492
+ colNames: e
493
+ };
494
+ }), X = b(null), Dn = b([]), On = b(null);
495
+ function kn(e, t) {
496
+ O.value = !1, X.value = null, j.value = null, M.value = "pointer", N.value.events.datapointLeave && N.value.events.datapointLeave({
497
+ datapoint: e,
498
+ seriesIndex: t
499
+ });
500
+ }
501
+ function An(e, t) {
502
+ N.value.events.datapointClick && N.value.events.datapointClick({
503
+ datapoint: e,
504
+ seriesIndex: t
505
+ });
506
+ }
507
+ function jn(e, t, r = "pointer") {
508
+ N.value.events.datapointEnter && N.value.events.datapointEnter({
509
+ datapoint: e,
510
+ seriesIndex: t
511
+ }), M.value = r, j.value = t;
512
+ let i = G.value.slice();
513
+ Dn.value = [], X.value = t, O.value = !0, On.value = {
514
+ datapoint: e,
515
+ seriesIndex: t,
516
+ series: {
517
+ categories: i,
518
+ datapoints: K.value,
519
+ radar: q.value
520
+ },
521
+ config: N.value
522
+ };
523
+ let a = N.value.style.chart.tooltip.customFormat;
524
+ if (se(a) && ae(() => a({
525
+ seriesIndex: t,
526
+ datapoint: e,
527
+ series: {
528
+ categories: i,
529
+ datapoints: K.value,
530
+ radar: q.value
531
+ },
532
+ config: N.value
533
+ }))) {
534
+ Nt.value = a({
535
+ seriesIndex: t,
536
+ datapoint: e,
537
+ series: {
538
+ categories: i,
539
+ datapoints: K.value,
540
+ radar: q.value
541
+ },
542
+ config: N.value
543
+ });
544
+ return;
545
+ }
546
+ Nt.value = `<div style="width:100%;text-align:center;border-bottom:1px solid ${N.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`;
547
+ for (let t = 0; t < e.values.length; t += 1) if (!H.value.includes(t)) {
548
+ let r = i[t], a = e.values[t], ee = isNaN(a / e.target) ? 0 : a / e.target * 100, te = re(e.formatter, a, n({
549
+ p: G.value[t].prefix,
550
+ v: a,
551
+ s: G.value[t].suffix,
552
+ r: N.value.style.chart.tooltip.roundingValue
553
+ }), { datapoint: e }), ne = n({
554
+ v: ee,
555
+ s: "%",
556
+ r: N.value.style.chart.tooltip.roundingPercentage
557
+ }), o = N.value.style.chart.tooltip.showValue && N.value.style.chart.tooltip.showPercentage ? `${te} (${ne})` : N.value.style.chart.tooltip.showValue && !N.value.style.chart.tooltip.showPercentage ? te : !N.value.style.chart.tooltip.showValue && N.value.style.chart.tooltip.showPercentage ? `${ne}` : "";
558
+ Dn.value.push({
559
+ name: r?.name ?? `#${t + 1}`,
560
+ value: e.values[t] / e.target * 100,
561
+ color: r?.color,
562
+ suffix: o,
563
+ prefix: "",
564
+ rounding: N.value.style.chart.tooltip.roundingPercentage,
565
+ formatter: e.formatter
566
+ });
567
+ }
568
+ }
569
+ function Mn(e = null) {
570
+ Re(() => {
571
+ let t = [
572
+ [N.value.style.chart.title.text],
573
+ [N.value.style.chart.title.subtitle.text],
574
+ [""]
575
+ ], n = [
576
+ [""],
577
+ [N.value.translations.target],
578
+ ...J.value.flatMap((e) => [[e.name], ["%"]])
579
+ ], r = F.value.series.map((e, t) => [
580
+ e.name,
581
+ e.target,
582
+ ...e.values.flatMap((t) => [t, isNaN(t / e.target) ? "" : t / e.target * 100])
583
+ ]), a = te(t.concat([n]).concat(r));
584
+ e ? e(a) : i({
585
+ csvContent: a,
586
+ title: N.value.style.chart.title.text || "vue-ui-radar"
587
+ });
588
+ });
589
+ }
590
+ let Z = b(!1);
591
+ function Nn(e) {
592
+ Z.value = e, Pt.value += 1;
593
+ }
594
+ function Pn() {
595
+ B.value.showTable = !B.value.showTable;
596
+ }
597
+ function Fn() {
598
+ B.value.showTooltip = !B.value.showTooltip;
599
+ }
600
+ let Q = b(!1);
601
+ function In() {
602
+ Q.value = !Q.value;
603
+ }
604
+ async function Ln({ scale: e = 2 } = {}) {
605
+ if (!k.value) return;
606
+ let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await xe({
607
+ domElement: k.value,
608
+ base64: !0,
609
+ img: !0,
610
+ scale: e
611
+ });
612
+ return {
613
+ imageUri: i,
614
+ base64: a,
615
+ title: N.value.style.chart.title.text,
616
+ width: t,
617
+ height: n,
618
+ aspectRatio: r
619
+ };
620
+ }
621
+ let $ = l(() => {
622
+ let e = N.value.table.useDialog && !N.value.table.show, t = B.value.showTable;
623
+ return {
624
+ component: e ? Ot : Ct,
625
+ title: `${N.value.style.chart.title.text}${N.value.style.chart.title.subtitle.text ? `: ${N.value.style.chart.title.subtitle.text}` : ""}`,
626
+ props: e ? {
627
+ backgroundColor: N.value.table.th.backgroundColor,
628
+ color: N.value.table.th.color,
629
+ headerColor: N.value.table.th.color,
630
+ headerBg: N.value.table.th.backgroundColor,
631
+ isFullscreen: Z.value,
632
+ fullscreenParent: k.value,
633
+ forcedWidth: Math.min(800, window.innerWidth * .8),
634
+ isCursorPointer: P.value
635
+ } : {
636
+ hideDetails: !0,
637
+ config: {
638
+ open: t,
639
+ maxHeight: 1e4,
640
+ body: {
641
+ backgroundColor: N.value.style.chart.backgroundColor,
642
+ color: N.value.style.chart.color
643
+ },
644
+ head: {
645
+ backgroundColor: N.value.style.chart.backgroundColor,
646
+ color: N.value.style.chart.color
647
+ }
648
+ }
649
+ }
650
+ };
651
+ });
652
+ We(() => B.value.showTable, (e) => {
653
+ N.value.table.show || (e && N.value.table.useDialog && A.value ? A.value.open() : "close" in A.value && A.value.close());
654
+ });
655
+ function Rn() {
656
+ B.value.showTable = !1, Ut.value && Ut.value.setTableIconState(!1);
657
+ }
658
+ let zn = l(() => J.value.map((e) => ({
659
+ ...e,
660
+ name: e.display
661
+ }))), Bn = l(() => N.value.style.chart.backgroundColor), Vn = l(() => N.value.style.chart.legend), { exportSvg: Hn, getSvg: Un } = ve({
662
+ svg: I,
663
+ title: l(() => N.value.style.chart.title),
664
+ legend: Vn,
665
+ legendItems: zn,
666
+ backgroundColor: Bn
667
+ });
668
+ async function Wn({ isCb: e }) {
669
+ Gt.value = !0, await Re();
670
+ try {
671
+ if (e) {
672
+ let { blob: e, url: t, text: n, dataUrl: r } = await Un();
673
+ await Promise.resolve(N.value.userOptions.callbacks.svg({
674
+ blob: e,
675
+ url: t,
676
+ text: n,
677
+ dataUrl: r
678
+ }));
679
+ } else await Promise.resolve(Hn());
680
+ } finally {
681
+ Gt.value = !1;
682
+ }
683
+ }
684
+ function Gn(e) {
685
+ if (e?.stage === "start") {
686
+ Wt.value = !0;
687
+ return;
688
+ }
689
+ if (e?.stage === "end") {
690
+ Wt.value = !1;
691
+ return;
692
+ }
693
+ an();
694
+ }
695
+ async function Kn() {
696
+ if (ln("copyAlt", {
697
+ config: N.value,
698
+ dataset: q.value
699
+ }), !N.value.userOptions.callbacks.altCopy) {
700
+ console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
701
+ return;
702
+ }
703
+ await Promise.resolve(N.value.userOptions.callbacks.altCopy({
704
+ config: N.value,
705
+ dataset: q.value
706
+ }));
707
+ }
708
+ function qn() {
709
+ j.value = null, qt.value = !0;
710
+ }
711
+ function Jn() {
712
+ j.value = null, M.value = "pointer", O.value = !1, X.value = null, qt.value = !1;
713
+ }
714
+ function Yn(e) {
715
+ if (!Number.isFinite(e) || !I.value) return;
716
+ let t = q.value[e];
717
+ if (!t) return;
718
+ let n = I.value.getBoundingClientRect();
719
+ Kt.value = {
720
+ x: n.left + t.labelX / V.value.width * n.width,
721
+ y: n.top + t.labelY / V.value.height * n.height
722
+ };
723
+ }
724
+ function Xn(e) {
725
+ if (!I.value || Q.value || document.activeElement !== I.value || !q.value.length) return;
726
+ let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
727
+ if (!t && !n && !r && !i) return;
728
+ if (e.preventDefault(), e.stopPropagation(), i) {
729
+ j.value = null, M.value = "pointer", O.value = !1, X.value = null;
730
+ return;
731
+ }
732
+ if (r) {
733
+ if (j.value === null) return;
734
+ let e = q.value[j.value];
735
+ if (!e) return;
736
+ An(e, j.value);
737
+ return;
738
+ }
739
+ let a = j.value;
740
+ a === null || a < 0 || a >= q.value.length ? a = n ? 0 : q.value.length - 1 : n ? (a += 1, a >= q.value.length && (a = 0)) : t && (--a, a < 0 && (a = q.value.length - 1));
741
+ let ee = q.value[a];
742
+ ee && (j.value = a, Yn(a), jn(ee, a, "keyboard"));
743
+ }
744
+ let Zn = l(() => ({
745
+ headers: Y.value?.colNames?.map((e) => e.name ?? e) ?? [],
746
+ rows: Y.value?.body ?? []
747
+ }));
748
+ return Ce({
749
+ getData: fn,
750
+ getImage: Ln,
751
+ generatePdf: rn,
752
+ generateCsv: Mn,
753
+ generateImage: an,
754
+ generateSvg: Wn,
755
+ hideSeries: gn,
756
+ showSeries: hn,
757
+ toggleTable: Pn,
758
+ toggleTooltip: Fn,
759
+ toggleAnnotator: In,
760
+ toggleFullscreen: Nn,
761
+ copyAlt: Kn
762
+ }), (e, n) => (y(), f("div", {
763
+ class: g(`vue-data-ui-component vue-ui-radar ${Z.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${N.value.useCssAnimation ? "" : "vue-ui-dna"}`),
764
+ ref_key: "radarChart",
765
+ ref: k,
766
+ id: `vue-ui-radar_${D.value}`,
767
+ style: v(`font-family:${N.value.style.fontFamily};width:100%; ${N.value.responsive ? "height: 100%;" : ""} text-align:center;background:${N.value.style.chart.backgroundColor}`),
768
+ onMouseenter: n[2] ||= () => w(Zt)(!0),
769
+ onMouseleave: n[3] ||= () => w(Zt)(!1)
770
+ }, [
771
+ p("div", {
772
+ id: `chart-instructions-${D.value}`,
773
+ class: "sr-only"
774
+ }, [p("p", null, C(N.value.a11y.translations.keyboardNavigation), 1)], 8, qe),
775
+ Zn.value?.rows?.length ? (y(), u(De, {
776
+ key: 0,
777
+ uid: D.value,
778
+ head: Zn.value.headers,
779
+ body: Zn.value.rows,
780
+ notice: N.value.a11y.translations.tableAvailable,
781
+ caption: N.value.a11y.translations.tableCaption
782
+ }, null, 8, [
783
+ "uid",
784
+ "head",
785
+ "body",
786
+ "notice",
787
+ "caption"
788
+ ])) : d("", !0),
789
+ N.value.userOptions.buttons.annotator ? (y(), u(w(Tt), {
790
+ key: 1,
791
+ svgRef: w(I),
792
+ backgroundColor: N.value.style.chart.backgroundColor,
793
+ color: N.value.style.chart.color,
794
+ active: Q.value,
795
+ isCursorPointer: P.value,
796
+ onClose: In
797
+ }, {
798
+ "annotator-action-close": T(() => [S(e.$slots, "annotator-action-close", {}, void 0, !0)]),
799
+ "annotator-action-color": T(({ color: t }) => [S(e.$slots, "annotator-action-color", _(h({ color: t })), void 0, !0)]),
800
+ "annotator-action-draw": T(({ mode: t }) => [S(e.$slots, "annotator-action-draw", _(h({ mode: t })), void 0, !0)]),
801
+ "annotator-action-undo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-undo", _(h({ disabled: t })), void 0, !0)]),
802
+ "annotator-action-redo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-redo", _(h({ disabled: t })), void 0, !0)]),
803
+ "annotator-action-delete": T(({ disabled: t }) => [S(e.$slots, "annotator-action-delete", _(h({ disabled: t })), void 0, !0)]),
804
+ _: 3
805
+ }, 8, [
806
+ "svgRef",
807
+ "backgroundColor",
808
+ "color",
809
+ "active",
810
+ "isCursorPointer"
811
+ ])) : d("", !0),
812
+ on.value ? (y(), f("div", {
813
+ key: 2,
814
+ ref_key: "noTitle",
815
+ ref: Rt,
816
+ class: "vue-data-ui-no-title-space",
817
+ style: "height:36px; width: 100%;background:transparent"
818
+ }, null, 512)) : d("", !0),
819
+ N.value.style.chart.title.text ? (y(), f("div", {
820
+ key: 3,
821
+ ref_key: "chartTitle",
822
+ ref: Ft,
823
+ style: "width:100%;background:transparent;padding-bottom:12px"
824
+ }, [(y(), u(Se, {
825
+ key: `title_${zt.value}`,
826
+ config: {
827
+ title: {
828
+ cy: "radar-div-title",
829
+ ...N.value.style.chart.title
830
+ },
831
+ subtitle: {
832
+ cy: "radar-div-subtitle",
833
+ ...N.value.style.chart.title.subtitle
834
+ }
835
+ }
836
+ }, null, 8, ["config"]))], 512)) : d("", !0),
837
+ p("div", { id: `legend-top-${D.value}` }, null, 8, Je),
838
+ N.value.userOptions.show && Mt.value && (w(Qt) || w(Xt)) ? (y(), u(w(Et), {
839
+ ref_key: "userOptionsRef",
840
+ ref: Ut,
841
+ key: `user_options_${Pt.value}`,
842
+ backgroundColor: N.value.style.chart.backgroundColor,
843
+ color: N.value.style.chart.color,
844
+ isImaging: w(nn),
845
+ isPrinting: w(tn),
846
+ uid: D.value,
847
+ hasTooltip: N.value.userOptions.buttons.tooltip && N.value.style.chart.tooltip.show,
848
+ hasPdf: N.value.userOptions.buttons.pdf,
849
+ hasImg: N.value.userOptions.buttons.img,
850
+ hasSvg: N.value.userOptions.buttons.svg,
851
+ hasXls: N.value.userOptions.buttons.csv,
852
+ hasTable: N.value.userOptions.buttons.table,
853
+ hasFullscreen: N.value.userOptions.buttons.fullscreen,
854
+ hasAltCopy: N.value.userOptions.buttons.altCopy,
855
+ isFullscreen: Z.value,
856
+ isTooltip: B.value.showTooltip,
857
+ titles: { ...N.value.userOptions.buttonTitles },
858
+ chartElement: k.value,
859
+ position: N.value.userOptions.position,
860
+ hasAnnotator: N.value.userOptions.buttons.annotator,
861
+ isAnnotation: Q.value,
862
+ callbacks: N.value.userOptions.callbacks,
863
+ printScale: N.value.userOptions.print.scale,
864
+ tableDialog: N.value.table.useDialog,
865
+ isCursorPointer: P.value,
866
+ onToggleFullscreen: Nn,
867
+ onGeneratePdf: w(rn),
868
+ onGenerateCsv: Mn,
869
+ onGenerateImage: Gn,
870
+ onGenerateSvg: Wn,
871
+ onToggleTable: Pn,
872
+ onToggleTooltip: Fn,
873
+ onToggleAnnotator: In,
874
+ onCopyAlt: Kn,
875
+ style: v({ visibility: w(Qt) ? w(Xt) ? "visible" : "hidden" : "visible" })
876
+ }, Pe({ _: 2 }, [
877
+ e.$slots.menuIcon ? {
878
+ name: "menuIcon",
879
+ fn: T(({ isOpen: t, color: n }) => [S(e.$slots, "menuIcon", _(h({
880
+ isOpen: t,
881
+ color: n
882
+ })), void 0, !0)]),
883
+ key: "0"
884
+ } : void 0,
885
+ e.$slots.optionTooltip ? {
886
+ name: "optionTooltip",
887
+ fn: T(() => [S(e.$slots, "optionTooltip", {}, void 0, !0)]),
888
+ key: "1"
889
+ } : void 0,
890
+ e.$slots.optionPdf ? {
891
+ name: "optionPdf",
892
+ fn: T(() => [S(e.$slots, "optionPdf", {}, void 0, !0)]),
893
+ key: "2"
894
+ } : void 0,
895
+ e.$slots.optionCsv ? {
896
+ name: "optionCsv",
897
+ fn: T(() => [S(e.$slots, "optionCsv", {}, void 0, !0)]),
898
+ key: "3"
899
+ } : void 0,
900
+ e.$slots.optionImg ? {
901
+ name: "optionImg",
902
+ fn: T(() => [S(e.$slots, "optionImg", {}, void 0, !0)]),
903
+ key: "4"
904
+ } : void 0,
905
+ e.$slots.optionSvg ? {
906
+ name: "optionSvg",
907
+ fn: T(() => [S(e.$slots, "optionSvg", {}, void 0, !0)]),
908
+ key: "5"
909
+ } : void 0,
910
+ e.$slots.optionTable ? {
911
+ name: "optionTable",
912
+ fn: T(() => [S(e.$slots, "optionTable", {}, void 0, !0)]),
913
+ key: "6"
914
+ } : void 0,
915
+ e.$slots.optionFullscreen ? {
916
+ name: "optionFullscreen",
917
+ fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [S(e.$slots, "optionFullscreen", _(h({
918
+ toggleFullscreen: t,
919
+ isFullscreen: n
920
+ })), void 0, !0)]),
921
+ key: "7"
922
+ } : void 0,
923
+ e.$slots.optionAnnotator ? {
924
+ name: "optionAnnotator",
925
+ fn: T(({ toggleAnnotator: t, isAnnotator: n }) => [S(e.$slots, "optionAnnotator", _(h({
926
+ toggleAnnotator: t,
927
+ isAnnotator: n
928
+ })), void 0, !0)]),
929
+ key: "8"
930
+ } : void 0,
931
+ e.$slots.optionAltCopy ? {
932
+ name: "optionAltCopy",
933
+ fn: T(({ altCopy: t }) => [S(e.$slots, "optionAltCopy", _(h({ altCopy: t })), void 0, !0)]),
934
+ key: "9"
935
+ } : void 0
936
+ ]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : d("", !0),
937
+ p("div", Ye, [(y(), f("svg", {
938
+ ref_key: "svgRef",
939
+ ref: I,
940
+ xmlns: w(ce),
941
+ "aria-describedby": `chart-instructions-${D.value}`,
942
+ class: g({
943
+ "vue-data-ui-fullscreen--on": Z.value,
944
+ "vue-data-ui-fulscreen--off": !Z.value
945
+ }),
946
+ viewBox: `0 0 ${V.value.width <= 0 ? 10 : V.value.width} ${V.value.height <= 0 ? 10 : V.value.height}`,
947
+ style: v(`max-width:100%;overflow:visible;background:transparent;color:${N.value.style.chart.color}`),
948
+ tabindex: "0",
949
+ onFocus: qn,
950
+ onBlur: Jn,
951
+ onKeydown: Xn
952
+ }, [
953
+ Ie(w(Dt)),
954
+ e.$slots["chart-background"] ? (y(), f("foreignObject", {
955
+ key: 0,
956
+ x: 0,
957
+ y: 0,
958
+ width: V.value.width <= 0 ? 10 : V.value.width,
959
+ height: V.value.height <= 0 ? 10 : V.value.height,
960
+ style: { pointerEvents: "none" }
961
+ }, [S(e.$slots, "chart-background", {}, void 0, !0)], 8, Ze)) : d("", !0),
962
+ p("defs", null, [(y(!0), f(c, null, x(G.value, (e, t) => (y(), f("radialGradient", {
963
+ cx: "50%",
964
+ cy: "50%",
965
+ r: "50%",
966
+ fx: "50%",
967
+ fy: "50%",
968
+ id: `radar_gradient_${D.value}_${t}`
969
+ }, [p("stop", {
970
+ offset: "0%",
971
+ "stop-color": w(ie)(w(ee)(e.color, .05), N.value.style.chart.layout.dataPolygon.opacity)
972
+ }, null, 8, $e), p("stop", {
973
+ offset: "100%",
974
+ "stop-color": w(ie)(e.color, N.value.style.chart.layout.dataPolygon.opacity)
975
+ }, null, 8, et)], 8, Qe))), 256))]),
976
+ N.value.style.chart.layout.grid.show ? (y(), f("g", tt, [(y(!0), f(c, null, x(q.value, (e) => (y(), f("line", {
977
+ x1: V.value.width / 2,
978
+ y1: V.value.height / 2,
979
+ x2: e.x,
980
+ y2: e.y,
981
+ stroke: N.value.style.chart.layout.grid.stroke,
982
+ "stroke-width": N.value.style.chart.layout.grid.strokeWidth
983
+ }, null, 8, nt))), 256)), N.value.style.chart.layout.grid.graduations > 0 ? (y(), f("g", rt, [(y(!0), f(c, null, x(xn.value, (e) => (y(), f("path", {
984
+ d: w(t)({
985
+ plot: {
986
+ x: V.value.width / 2,
987
+ y: V.value.height / 2
988
+ },
989
+ radius: e,
990
+ sides: vn.value,
991
+ rotation: 0
992
+ }).path,
993
+ fill: "none",
994
+ stroke: N.value.style.chart.layout.grid.stroke,
995
+ "stroke-width": N.value.style.chart.layout.grid.strokeWidth
996
+ }, null, 8, it))), 256))])) : d("", !0)])) : d("", !0),
997
+ p("path", {
998
+ d: bn.value.path,
999
+ fill: "none",
1000
+ stroke: N.value.style.chart.layout.outerPolygon.stroke,
1001
+ "stroke-width": N.value.style.chart.layout.outerPolygon.strokeWidth,
1002
+ "stroke-linejoin": "round",
1003
+ "stroke-linecap": "round"
1004
+ }, null, 8, at),
1005
+ N.value.style.chart.layout.labels.dataLabels.show ? (y(), f("g", ot, [(y(!0), f(c, null, x(q.value, (e, t) => (y(), f("text", {
1006
+ class: "vue-ui-radar-apex-label",
1007
+ x: e.labelX,
1008
+ y: e.labelY,
1009
+ "text-anchor": e.labelAnchor,
1010
+ "font-size": N.value.style.chart.layout.labels.dataLabels.fontSize,
1011
+ fill: N.value.style.chart.layout.labels.dataLabels.color,
1012
+ onMouseenter: (n) => jn(e, t, "pointer"),
1013
+ onMouseleave: (n) => kn(e, t),
1014
+ onClick: (n) => An(e, t)
1015
+ }, C(e.name), 41, st))), 256))])) : d("", !0),
1016
+ (y(!0), f(c, null, x(G.value, (e, t) => (y(), f("g", null, [p("g", null, [N.value.useCssAnimation || !N.value.useCssAnimation && !H.value.includes(t) ? (y(), f("polygon", {
1017
+ key: 0,
1018
+ points: w(de)(q.value.map((e) => e.plots[t]), !1, !0),
1019
+ stroke: N.value.style.chart.backgroundColor,
1020
+ "stroke-width": N.value.style.chart.layout.dataPolygon.strokeWidth + 1,
1021
+ fill: "none",
1022
+ class: g({
1023
+ "animated-out": H.value.includes(t) && N.value.useCssAnimation,
1024
+ "animated-in": W.value && U.value === t && N.value.useCssAnimation
1025
+ })
1026
+ }, null, 10, ct)) : d("", !0), N.value.useCssAnimation || !N.value.useCssAnimation && !H.value.includes(t) ? (y(), f("polygon", {
1027
+ key: 1,
1028
+ points: w(de)(q.value.map((e) => e.plots[t]), !1, !0),
1029
+ stroke: e.color,
1030
+ "stroke-width": N.value.style.chart.layout.dataPolygon.strokeWidth,
1031
+ fill: N.value.style.chart.layout.dataPolygon.transparent ? "transparent" : N.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${D.value}_${t})` : w(ie)(e.color, N.value.style.chart.layout.dataPolygon.opacity),
1032
+ class: g({
1033
+ "animated-out": H.value.includes(t) && N.value.useCssAnimation,
1034
+ "animated-in": W.value && U.value === t && N.value.useCssAnimation
1035
+ })
1036
+ }, null, 10, lt)) : d("", !0)])]))), 256)),
1037
+ N.value.style.chart.layout.plots.show ? (y(), f("g", ut, [(y(!0), f(c, null, x(q.value, (e, t) => (y(), f("g", null, [(y(!0), f(c, null, x(e.plots, (e, n) => (y(), f("circle", {
1038
+ cx: e.x,
1039
+ cy: e.y,
1040
+ fill: H.value.includes(n) ? "transparent" : G.value[n] ? G.value[n].color : "transparent",
1041
+ r: X.value !== null && X.value === t ? N.value.style.chart.layout.plots.radius * 1.6 : N.value.style.chart.layout.plots.radius,
1042
+ stroke: H.value.includes(n) ? "transparent" : N.value.style.chart.backgroundColor,
1043
+ "stroke-width": .5,
1044
+ class: g({
1045
+ "animated-out": H.value.includes(n) && N.value.useCssAnimation,
1046
+ "animated-in": W.value && U.value === n && N.value.useCssAnimation
1047
+ })
1048
+ }, null, 10, dt))), 256))]))), 256))])) : d("", !0),
1049
+ S(e.$slots, "svg", { svg: {
1050
+ ...V.value,
1051
+ outerPolygon: bn.value,
1052
+ isPrintingImg: w(tn) || w(nn) || Wt.value,
1053
+ isPrintingSvg: Gt.value
1054
+ } }, void 0, !0)
1055
+ ], 46, Xe)), e.$slots.hint ? (y(), f("div", ft, [S(e.$slots, "hint", _(h({
1056
+ hint: N.value.a11y.translations.keyboardNavigation,
1057
+ isVisible: qt.value
1058
+ })), void 0, !0)])) : d("", !0)]),
1059
+ e.$slots.watermark ? (y(), f("div", pt, [S(e.$slots, "watermark", _(h({ isPrinting: w(tn) || w(nn) || Wt.value || Gt.value })), void 0, !0)])) : d("", !0),
1060
+ p("div", { id: `legend-bottom-${D.value}` }, null, 8, mt),
1061
+ Ht.value && (N.value.style.chart.legend.show || e.$slots.legend) ? (y(), u(Ne, {
1062
+ key: 6,
1063
+ to: N.value.style.chart.legend.position === "top" ? `#legend-top-${D.value}` : `#legend-bottom-${D.value}`
1064
+ }, [p("div", {
1065
+ ref_key: "chartLegend",
1066
+ ref: It
1067
+ }, [S(e.$slots, "legend", { legend: J.value }, () => [N.value.style.chart.legend.show ? (y(), u(Ae, {
1068
+ key: `legend_${Vt.value}`,
1069
+ legendSet: J.value,
1070
+ config: En.value,
1071
+ isCursorPointer: P.value,
1072
+ onClickMarker: n[0] ||= ({ i: e }) => dn(e)
1073
+ }, {
1074
+ item: T(({ legend: e, index: t }) => [w(Yt) ? d("", !0) : (y(), f("div", {
1075
+ key: 0,
1076
+ onClick: (t) => e.segregate(),
1077
+ style: v(`opacity:${H.value.includes(t) ? .5 : 1}`)
1078
+ }, C(e.display), 13, ht))]),
1079
+ legendToggle: T(() => [J.value.length > 2 && N.value.style.chart.legend.selectAllToggle.show && !w(Yt) ? (y(), u(Ee, {
1080
+ key: 0,
1081
+ backgroundColor: N.value.style.chart.legend.selectAllToggle.backgroundColor,
1082
+ color: N.value.style.chart.legend.selectAllToggle.color,
1083
+ fontSize: N.value.style.chart.legend.fontSize,
1084
+ checked: H.value.length > 0,
1085
+ isCursorPointer: P.value,
1086
+ onToggle: un
1087
+ }, null, 8, [
1088
+ "backgroundColor",
1089
+ "color",
1090
+ "fontSize",
1091
+ "checked",
1092
+ "isCursorPointer"
1093
+ ])) : d("", !0)]),
1094
+ _: 1
1095
+ }, 8, [
1096
+ "legendSet",
1097
+ "config",
1098
+ "isCursorPointer"
1099
+ ])) : d("", !0)], !0)], 512)], 8, ["to"])) : d("", !0),
1100
+ e.$slots.source ? (y(), f("div", {
1101
+ key: 7,
1102
+ ref_key: "source",
1103
+ ref: Lt,
1104
+ dir: "auto"
1105
+ }, [S(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0),
1106
+ Ie(w(bt), {
1107
+ teleportTo: N.value.style.chart.tooltip.teleportTo,
1108
+ show: B.value.showTooltip && O.value,
1109
+ backgroundColor: N.value.style.chart.tooltip.backgroundColor,
1110
+ color: N.value.style.chart.tooltip.color,
1111
+ borderRadius: N.value.style.chart.tooltip.borderRadius,
1112
+ borderColor: N.value.style.chart.tooltip.borderColor,
1113
+ borderWidth: N.value.style.chart.tooltip.borderWidth,
1114
+ backgroundOpacity: N.value.style.chart.tooltip.backgroundOpacity,
1115
+ fontSize: N.value.style.chart.tooltip.fontSize,
1116
+ position: N.value.style.chart.tooltip.position,
1117
+ offsetY: N.value.style.chart.tooltip.offsetY,
1118
+ parent: k.value,
1119
+ content: Nt.value,
1120
+ isFullscreen: Z.value,
1121
+ isCustom: N.value.style.chart.tooltip.customFormat && typeof N.value.style.chart.tooltip.customFormat == "function",
1122
+ smooth: N.value.style.chart.tooltip.smooth,
1123
+ backdropFilter: N.value.style.chart.tooltip.backdropFilter,
1124
+ smoothForce: N.value.style.chart.tooltip.smoothForce,
1125
+ smoothSnapThreshold: N.value.style.chart.tooltip.smoothSnapThreshold,
1126
+ isA11yMode: M.value === "keyboard",
1127
+ a11yPosition: Kt.value
1128
+ }, {
1129
+ "tooltip-before": T(() => [S(e.$slots, "tooltip-before", _(h({ ...On.value })), void 0, !0)]),
1130
+ tooltip: T(() => [S(e.$slots, "tooltip", _(h({ ...On.value })), void 0, !0)]),
1131
+ "tooltip-after": T(() => [!["function"].includes(typeof N.value.style.chart.tooltip.customFormat) && !e.$slots.tooltip ? (y(), f("div", gt, [Ie(w(St), {
1132
+ dataset: Dn.value,
1133
+ config: cn.value,
1134
+ backgroundOpacity: 0
1135
+ }, {
1136
+ "data-label": T(({ bar: e }) => [p("div", _t, [p("span", vt, C(e.name + (N.value.style.chart.tooltip.showValue || N.value.style.chart.tooltip.showPercentage ? ":" : "")), 1), N.value.style.chart.tooltip.showValue || N.value.style.chart.tooltip.showPercentage ? (y(), f("span", yt, C(e.suffix), 1)) : d("", !0)])]),
1137
+ _: 1
1138
+ }, 8, ["dataset", "config"])])) : d("", !0), S(e.$slots, "tooltip-after", _(h({ ...On.value })), void 0, !0)]),
1139
+ _: 3
1140
+ }, 8, [
1141
+ "teleportTo",
1142
+ "show",
1143
+ "backgroundColor",
1144
+ "color",
1145
+ "borderRadius",
1146
+ "borderColor",
1147
+ "borderWidth",
1148
+ "backgroundOpacity",
1149
+ "fontSize",
1150
+ "position",
1151
+ "offsetY",
1152
+ "parent",
1153
+ "content",
1154
+ "isFullscreen",
1155
+ "isCustom",
1156
+ "smooth",
1157
+ "backdropFilter",
1158
+ "smoothForce",
1159
+ "smoothSnapThreshold",
1160
+ "isA11yMode",
1161
+ "a11yPosition"
1162
+ ]),
1163
+ Mt.value && N.value.userOptions.buttons.table ? (y(), u(Ve($.value.component), Le({ key: 8 }, $.value.props, {
1164
+ ref_key: "tableUnit",
1165
+ ref: A,
1166
+ onClose: Rn
1167
+ }), Pe({
1168
+ content: T(() => [(y(), u(w(wt), {
1169
+ key: `table_${Bt.value}`,
1170
+ colNames: Y.value.colNames,
1171
+ head: Y.value.head,
1172
+ body: Y.value.body,
1173
+ config: Y.value.config,
1174
+ title: N.value.table.useDialog ? "" : $.value.title,
1175
+ withCloseButton: !N.value.table.useDialog,
1176
+ isCursorPointer: P.value,
1177
+ onClose: Rn
1178
+ }, {
1179
+ th: T(({ th: e }) => [Fe(C(e.name), 1)]),
1180
+ td: T(({ td: e }) => [Fe(C(e), 1)]),
1181
+ _: 1
1182
+ }, 8, [
1183
+ "colNames",
1184
+ "head",
1185
+ "body",
1186
+ "config",
1187
+ "title",
1188
+ "withCloseButton",
1189
+ "isCursorPointer"
1190
+ ]))]),
1191
+ _: 2
1192
+ }, [N.value.table.useDialog ? {
1193
+ name: "title",
1194
+ fn: T(() => [Fe(C($.value.title), 1)]),
1195
+ key: "0"
1196
+ } : void 0, N.value.table.useDialog ? {
1197
+ name: "actions",
1198
+ fn: T(() => [p("button", {
1199
+ tabindex: "0",
1200
+ class: "vue-ui-user-options-button",
1201
+ onClick: n[1] ||= (e) => Mn(N.value.userOptions.callbacks.csv),
1202
+ style: v({ cursor: P.value ? "pointer" : "default" })
1203
+ }, [Ie(w(xt), {
1204
+ name: "fileCsv",
1205
+ stroke: $.value.props.color
1206
+ }, null, 8, ["stroke"])], 4)]),
1207
+ key: "1"
1208
+ } : void 0]), 1040)) : d("", !0),
1209
+ S(e.$slots, "skeleton", {}, () => [w(Yt) ? (y(), u(_e, { key: 0 })) : d("", !0)], !0)
1210
+ ], 46, Ke));
1211
+ }
1212
+ }, [["__scopeId", "data-v-17f084a5"]]);
1213
+ //#endregion
1214
+ export { Ge as n, bt as t };