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,914 @@
1
+ import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
2
+ import { G as t, H as n, Lt as r, Rt as i, St as a, Tt as o, X as ee, i as s, ot as te, r as ne, t as re, x as ie, zt as ae } from "./lib-B83ZCydz.js";
3
+ import { t as oe } from "./useConfig-KnOLHtlJ.js";
4
+ import { t as se } from "./usePrinter-CMLF900n.js";
5
+ import { n as ce, t as le } from "./BaseScanner-C7dmAref.js";
6
+ import { t as ue } from "./useSvgExport-Dtu973wa.js";
7
+ import { t as c } from "./useNestedProp-CcxL1gUU.js";
8
+ import { t as de } from "./useThemeCheck-rFK9Zlb_.js";
9
+ import { t as fe } from "./img-NMY-_LiJ.js";
10
+ import { n as pe } from "./Title-ByyzJzpc.js";
11
+ import { t as me } from "./_plugin-vue_export-helper-Dq1MygBL.js";
12
+ import { c as he } from "./canvas-lib-DTaADQOK.js";
13
+ import { t as ge } from "./useResponsive-CrAInupd.js";
14
+ import { t as _e } from "./A11yDataTable-q2-8fSlJ.js";
15
+ import { t as ve } from "./useUserOptionState-CjPJPTg2.js";
16
+ import { t as ye } from "./useChartAccessibility-Do37qcw2.js";
17
+ import { t as be } from "./useAutoSizeLabelsInsideViewbox-De0rTecW.js";
18
+ import { t as xe } from "./vue_ui_relation_circle-Cr0I2SoU.js";
19
+ import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as Se, createTextVNode as Ce, createVNode as we, defineAsyncComponent as Te, guardReactiveProps as h, mergeProps as Ee, nextTick as De, normalizeClass as Oe, normalizeProps as g, normalizeStyle as _, onBeforeUnmount as ke, onMounted as Ae, openBlock as v, ref as y, renderList as b, renderSlot as x, shallowRef as je, toDisplayString as S, toRefs as Me, unref as C, useCssVars as Ne, watch as Pe, withCtx as w } from "vue";
20
+ //#region src/components/vue-ui-relation-circle.vue
21
+ var Fe = /* @__PURE__ */ e({ default: () => nt }), Ie = ["id"], Le = ["id"], Re = { style: { position: "relative" } }, ze = [
22
+ "xmlns",
23
+ "viewBox",
24
+ "aria-describedby"
25
+ ], Be = ["width", "height"], Ve = [
26
+ "cx",
27
+ "cy",
28
+ "r",
29
+ "stroke",
30
+ "stroke-width"
31
+ ], He = { key: 1 }, Ue = [
32
+ "stroke",
33
+ "d",
34
+ "stroke-width"
35
+ ], We = { style: { "pointer-events": "none" } }, Ge = [
36
+ "cx",
37
+ "cy",
38
+ "fill",
39
+ "r",
40
+ "stroke"
41
+ ], Ke = [
42
+ "x",
43
+ "y",
44
+ "fill",
45
+ "font-size"
46
+ ], qe = { key: 2 }, Je = [
47
+ "stroke",
48
+ "stroke-width",
49
+ "x1",
50
+ "x2",
51
+ "y1",
52
+ "y2"
53
+ ], Ye = { style: { "pointer-events": "none" } }, Xe = [
54
+ "cx",
55
+ "cy",
56
+ "fill",
57
+ "r",
58
+ "stroke"
59
+ ], Ze = [
60
+ "x",
61
+ "y",
62
+ "fill",
63
+ "font-size"
64
+ ], Qe = [
65
+ "text-anchor",
66
+ "transform",
67
+ "x",
68
+ "y",
69
+ "font-weight",
70
+ "font-size",
71
+ "fill",
72
+ "text-decoration",
73
+ "onClick",
74
+ "onMouseenter",
75
+ "onMouseleave"
76
+ ], $e = [
77
+ "cx",
78
+ "cy",
79
+ "fill",
80
+ "stroke",
81
+ "r",
82
+ "onClick",
83
+ "onMouseenter",
84
+ "onMouseleave"
85
+ ], et = {
86
+ key: 0,
87
+ style: {
88
+ position: "absolute",
89
+ top: "100%",
90
+ left: "0",
91
+ width: "100%"
92
+ },
93
+ "data-dom-to-png-ignore": "",
94
+ "aria-hidden": "true"
95
+ }, tt = {
96
+ key: 5,
97
+ class: "vue-data-ui-watermark"
98
+ }, nt = /* @__PURE__ */ me({
99
+ __name: "vue-ui-relation-circle",
100
+ props: {
101
+ dataset: {
102
+ type: Array,
103
+ default() {
104
+ return [];
105
+ }
106
+ },
107
+ config: {
108
+ type: Object,
109
+ default() {
110
+ return {};
111
+ }
112
+ }
113
+ },
114
+ emits: ["copyAlt"],
115
+ setup(e, { expose: me, emit: Fe }) {
116
+ Ne((e) => ({
117
+ v70e17249: Mt.value,
118
+ v5703b7a8: jt.value,
119
+ v5d57d4ec: Nt.value
120
+ }));
121
+ let nt = Te(() => import("./PenAndPaper-DxBCVZAx.js").then((e) => e.t)), rt = Te(() => import("./UserOptions-Gaw1761w.js").then((e) => e.n)), it = Te(() => import("./PackageVersion-B1cPtZ3Q.js").then((e) => e.t)), { vue_ui_relation_circle: at } = oe(), { isThemeValid: ot, warnInvalidTheme: st } = de(), T = e, ct = Fe, lt = u(() => !!T.dataset && Object.keys(T.dataset).length), E = y(n()), ut = y(0), D = y(null), dt = y(null), ft = y(null), pt = y(null), mt = y(0), O = y(!1), k = y(!1), A = y(null), j = y(!1), M = y(St()), N = u(() => M.value.userOptions.useCursorPointer), ht = u(() => ae({
122
+ defaultConfig: {
123
+ userOptions: { show: !1 },
124
+ customPalette: Array(7).fill("#CACACA"),
125
+ style: {
126
+ backgroundColor: "#99999930",
127
+ labels: { color: "#6A6A6A" },
128
+ circle: { stroke: "#6A6A6A" },
129
+ plot: {
130
+ color: "#6A6A6A",
131
+ useSerieColor: !0
132
+ },
133
+ links: { maxWidth: 2 }
134
+ }
135
+ },
136
+ userConfig: M.value.skeletonConfig ?? {}
137
+ })), { loading: gt, FINAL_DATASET: _t, manualLoading: vt } = ce({
138
+ ...Me(T),
139
+ FINAL_CONFIG: M,
140
+ prepareConfig: St,
141
+ skeletonDataset: T.config?.skeletonDataset ?? [
142
+ {
143
+ id: "A",
144
+ label: "_",
145
+ relations: [
146
+ "B",
147
+ "C",
148
+ "D",
149
+ "E",
150
+ "F",
151
+ "G"
152
+ ]
153
+ },
154
+ {
155
+ id: "B",
156
+ label: "_",
157
+ relations: ["A"]
158
+ },
159
+ {
160
+ id: "C",
161
+ label: "_",
162
+ relations: ["A"]
163
+ },
164
+ {
165
+ id: "D",
166
+ label: "_",
167
+ relations: ["A"]
168
+ },
169
+ {
170
+ id: "E",
171
+ label: "_",
172
+ relations: ["A"]
173
+ },
174
+ {
175
+ id: "F",
176
+ label: "_",
177
+ relations: ["A"]
178
+ },
179
+ {
180
+ id: "G",
181
+ label: "_",
182
+ relations: ["A"]
183
+ }
184
+ ],
185
+ skeletonConfig: ae({
186
+ defaultConfig: M.value,
187
+ userConfig: ht.value
188
+ })
189
+ }), { userOptionsVisible: yt, setUserOptionsVisibility: bt, keepUserOptionState: xt } = ve({ config: M.value }), { svgRef: P } = ye({ config: M.value.style.title });
190
+ function St() {
191
+ let e = c({
192
+ userConfig: T.config,
193
+ defaultConfig: at
194
+ }), t = e.theme;
195
+ if (!t) return e;
196
+ if (!ot.value(e)) return st(e), e;
197
+ let n = c({
198
+ userConfig: xe[t] || T.config,
199
+ defaultConfig: e
200
+ }), i = c({
201
+ userConfig: T.config,
202
+ defaultConfig: n
203
+ });
204
+ return {
205
+ ...i,
206
+ customPalette: i.customPalette.length ? i.customPalette : r[t] || o
207
+ };
208
+ }
209
+ Pe(() => T.config, (e) => {
210
+ M.value = St(), yt.value = !M.value.userOptions.showOnChartHover, B.value = M.value.style.size, V.value = M.value.style.weightLabels.size, H.value = M.value.style.plot.radius, U.value = M.value.style.labels.fontSize, W.value.height = M.value.style.size, W.value.width = M.value.style.size, Ft(), mt.value += 1;
211
+ }, { deep: !0 }), Pe(() => T.dataset, (e) => {
212
+ Array.isArray(e) && e.length > 0 && (vt.value = !1);
213
+ }, { deep: !0 });
214
+ let { isPrinting: Ct, isImaging: wt, generatePdf: Tt, generateImage: Et } = se({
215
+ elementId: `relation_circle_${E.value}`,
216
+ fileName: M.value.style.title.text || "vue-ui-relation-circle",
217
+ options: M.value.userOptions.print
218
+ }), Dt = u(() => M.value.userOptions.show && !M.value.style.title.text), Ot = u(() => ie(M.value.customPalette)), F = y([]), I = y([]), L = y({}), R = y([]), kt = y(0), z = u(() => _t.value.slice(0, M.value.style.limit).map((e) => {
219
+ let t = Array.isArray(e.relations) ? e.relations : [];
220
+ return {
221
+ ...e,
222
+ weights: Array.isArray(e.weights) ? e.weights : Array(t.length).fill(1),
223
+ relations: t
224
+ };
225
+ }));
226
+ Pe(z, () => {
227
+ F.value = [], I.value = [], Rt(), Bt();
228
+ });
229
+ let B = y(M.value.style.size), V = y(M.value.style.weightLabels.size), H = y(M.value.style.plot.radius), U = y(M.value.style.labels.fontSize), W = y({
230
+ height: M.value.style.size,
231
+ width: M.value.style.size
232
+ }), G = u({
233
+ get() {
234
+ return B.value * M.value.style.circle.radiusProportion;
235
+ },
236
+ set(e) {
237
+ return e;
238
+ }
239
+ }), At = u(() => M.value.style.links.curved), jt = u(() => `${M.value.style.animation.speedMs}ms`), Mt = u(() => G.value * 2), Nt = u(() => G.value * 4), K = je(null), q = je(null);
240
+ Ae(() => {
241
+ Ft(), document.getElementById(`relation_circle_${E.value}`).addEventListener("click", Lt);
242
+ });
243
+ let Pt = u(() => M.value.debug);
244
+ function Ft() {
245
+ if (a(T.dataset) ? (ee({
246
+ componentName: "VueUiRelationCircle",
247
+ type: "dataset",
248
+ debug: Pt.value
249
+ }), vt.value = !0) : T.dataset.forEach((e, t) => {
250
+ te({
251
+ datasetObject: e,
252
+ requiredAttributes: [
253
+ "id",
254
+ "label",
255
+ "relations",
256
+ "weights"
257
+ ]
258
+ }).forEach((e) => {
259
+ ee({
260
+ componentName: "VueUiRelationCircle",
261
+ type: "datasetSerieAttribute",
262
+ property: e,
263
+ index: t,
264
+ debug: Pt.value
265
+ });
266
+ });
267
+ }), a(T.dataset) || (vt.value = M.value.loading), M.value.responsive) {
268
+ let e = he(() => {
269
+ let { width: e, height: t } = ge({
270
+ chart: D.value,
271
+ title: M.value.style.title.text ? dt.value : null,
272
+ source: ft.value,
273
+ noTitle: pt.value
274
+ });
275
+ requestAnimationFrame(() => {
276
+ B.value = Math.min(e, t), W.value.width = Math.max(.1, e), W.value.height = Math.max(.1, t - 12), G.value = B.value * M.value.style.circle.radiusProportion, F.value = [], I.value = [], Rt(), Bt(), It(), M.value.responsiveProportionalSizing ? (V.value = i({
277
+ relator: B.value,
278
+ adjuster: M.value.style.size,
279
+ source: M.value.style.weightLabels.size,
280
+ threshold: 6,
281
+ fallback: 6
282
+ }), H.value = i({
283
+ relator: B.value,
284
+ adjuster: M.value.style.size,
285
+ source: M.value.style.plot.radius,
286
+ threshold: 1,
287
+ fallback: 1
288
+ }), U.value = i({
289
+ relator: B.value,
290
+ adjuster: M.value.style.size,
291
+ source: M.value.style.labels.fontSize,
292
+ threshold: 6,
293
+ fallback: 6
294
+ })) : (V.value = M.value.style.weightLabels.size, H.value = M.value.style.plot.radius, U.value = M.value.style.labels.fontSize);
295
+ });
296
+ });
297
+ K.value && (q.value && K.value.unobserve(q.value), K.value.disconnect()), K.value = new ResizeObserver(e), q.value = D.value.parentNode, K.value.observe(q.value);
298
+ } else F.value = [], I.value = [], Rt(), Bt();
299
+ It();
300
+ }
301
+ ke(() => {
302
+ document.getElementById(`relation_circle_${E.value}`).removeEventListener("click", Lt), K.value && (q.value && K.value.unobserve(q.value), K.value.disconnect());
303
+ });
304
+ let { autoSizeLabels: It } = be({
305
+ svgRef: P,
306
+ fontSize: M.value.style.labels.fontSize,
307
+ minFontSize: M.value.style.labels.minFontSize,
308
+ sizeRef: U,
309
+ labelClass: ".vue-ui-relation-circle-legend"
310
+ });
311
+ function Lt(e) {
312
+ let t = e.target;
313
+ t && Array.from(t.classList).includes("vue-ui-user-options") || t && Array.from(t.classList).includes("vue-ui-user-options-summary") || t && Array.from(t.classList).includes("vue-data-ui-button") || t && Array.from(t.classList).includes("vue-ui-relation-circle-legend") || (L.value = {}, R.value = []);
314
+ }
315
+ function Rt() {
316
+ let e = 6.28319 / z.value.length, t = 360 / z.value.length, n = 0, r = 0;
317
+ z.value.forEach((i, a) => {
318
+ let ee = i.weights.reduce((e, t) => e + t, 0), s = G.value * Math.cos(n) + W.value.width / 2, te = G.value * Math.sin(n) + W.value.height / 2 + M.value.style.circle.offsetY;
319
+ F.value.push({
320
+ x: s,
321
+ y: te,
322
+ ...i,
323
+ color: i.color ? i.color : Ot.value[a] ? Ot.value[a] : o[a],
324
+ regAngle: r,
325
+ totalWeight: ee
326
+ }), n += e, r += t;
327
+ });
328
+ }
329
+ function zt(e, t) {
330
+ return {
331
+ x: (e.x + t.x) / 2,
332
+ y: (e.y + t.y) / 2
333
+ };
334
+ }
335
+ function Bt() {
336
+ I.value = [], F.value.forEach((e) => {
337
+ F.value.filter((t) => t.relations.includes(e.id)).forEach((t, n) => {
338
+ let r = t.relations.indexOf(e.id);
339
+ I.value.push({
340
+ weight: t.weights[r] ? t.weights[r] : 0,
341
+ relationId: `${e.id}_${t.id}`,
342
+ x1: e.x,
343
+ y1: e.y,
344
+ x2: t.x,
345
+ y2: t.y,
346
+ colorSource: e.color,
347
+ colorTarget: t.color,
348
+ midPointLine: zt({
349
+ x: e.x,
350
+ y: e.y
351
+ }, {
352
+ x: t.x,
353
+ y: t.y
354
+ }),
355
+ midPointBezier: Vt({
356
+ x1: e.x,
357
+ x2: t.x,
358
+ y1: e.y,
359
+ y2: t.y
360
+ }),
361
+ ...e
362
+ });
363
+ });
364
+ });
365
+ }
366
+ function Vt(e) {
367
+ let t = {
368
+ x: e.x1,
369
+ y: e.y1
370
+ }, n = {
371
+ x: e.x2,
372
+ y: e.y2
373
+ }, r = {
374
+ x: e.x1,
375
+ y: e.y1
376
+ }, i = {
377
+ x: W.value.width / 2,
378
+ y: W.value.height / 2 + M.value.style.circle.offsetY
379
+ }, a = .5;
380
+ return {
381
+ x: (1 - a) ** 3 * t.x + 3 * (1 - a) ** 2 * a * r.x + 3 * (1 - a) * a ** 2 * i.x + a ** 3 * n.x,
382
+ y: (1 - a) ** 3 * t.y + 3 * (1 - a) ** 2 * a * r.y + 3 * (1 - a) * a ** 2 * i.y + a ** 3 * n.y
383
+ };
384
+ }
385
+ let Ht = u(() => Math.max(...I.value.map((e) => e.weight)));
386
+ function Ut(e) {
387
+ return Object.hasOwn(L.value, "x") ? R.value.includes(e.id) ? "opacity:1" : "opacity:0.1" : "opacity:1";
388
+ }
389
+ function J(e) {
390
+ return e.colorSource;
391
+ }
392
+ function Wt(e) {
393
+ return Object.hasOwn(L.value, "x") ? R.value.includes(e.id) && e.relationId === `${e.id}_${L.value.id}` || e.relationId === `${L.value.id}_${e.id}` ? `opacity:1;stroke-width:${$t(e)}` : "opacity: 0" : "opacity: 1";
394
+ }
395
+ function Y(e) {
396
+ return Object.hasOwn(L.value, "x") ? !!(R.value.includes(e.id) && e.relationId === `${e.id}_${L.value.id}` || e.relationId === `${L.value.id}_${e.id}`) : !1;
397
+ }
398
+ function Gt(e) {
399
+ return e.regAngle > 90 && e.regAngle < 270 ? "end" : "start";
400
+ }
401
+ function Kt(e) {
402
+ return e.regAngle > 90 && e.regAngle < 270 ? e.x - 5 : e.x + 5;
403
+ }
404
+ function qt(e) {
405
+ return Object.hasOwn(L.value, "x") ? L.value.id === e.id || R.value.includes(e.id) ? "opacity:1" : "opacity:0.2" : "opacity:1";
406
+ }
407
+ function Jt(e) {
408
+ return e.regAngle > 90 && e.regAngle < 270 ? `rotate(${e.regAngle + 180},${e.x},${e.y})` : `rotate(${e.regAngle},${e.x},${e.y})`;
409
+ }
410
+ let X = y(null);
411
+ function Yt(e, t) {
412
+ X.value = t, A.value = t, M.value.events.datapointEnter && M.value.events.datapointEnter({
413
+ datapoint: e,
414
+ seriesIndex: t
415
+ });
416
+ }
417
+ function Xt(e, t) {
418
+ X.value = null, j.value || (A.value = null), M.value.events.datapointLeave && M.value.events.datapointLeave({
419
+ datapoint: e,
420
+ seriesIndex: t
421
+ });
422
+ }
423
+ function Zt(e, t) {
424
+ e && (M.value.events.datapointClick && M.value.events.datapointClick({
425
+ datapoint: e,
426
+ seriesIndex: t
427
+ }), kt.value = 360 - e.regAngle, L.value.id && e.id === L.value.id ? (L.value = {}, R.value = []) : (L.value = e, R.value = [...e.relations]));
428
+ }
429
+ function Qt(e, t) {
430
+ A.value = t, Zt(e, t);
431
+ }
432
+ function $t(e) {
433
+ let t = e.weight / Ht.value * M.value.style.links.maxWidth;
434
+ return Math.max(.3, t);
435
+ }
436
+ let Z = y(!1);
437
+ function en(e) {
438
+ Z.value = e, ut.value += 1;
439
+ }
440
+ let Q = y(!1);
441
+ function tn() {
442
+ Q.value = !Q.value;
443
+ }
444
+ async function nn({ scale: e = 2 } = {}) {
445
+ if (!D.value) return;
446
+ let { width: t, height: n } = D.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await fe({
447
+ domElement: D.value,
448
+ base64: !0,
449
+ img: !0,
450
+ scale: e
451
+ });
452
+ return {
453
+ imageUri: i,
454
+ base64: a,
455
+ title: M.value.style.title.text,
456
+ width: t,
457
+ height: n,
458
+ aspectRatio: r
459
+ };
460
+ }
461
+ let rn = u(() => M.value.style.backgroundColor), { exportSvg: an, getSvg: on } = ue({
462
+ svg: P,
463
+ title: u(() => M.value.style.title),
464
+ backgroundColor: rn
465
+ });
466
+ async function sn({ isCb: e }) {
467
+ k.value = !0, await De();
468
+ try {
469
+ if (e) {
470
+ let { blob: e, url: t, text: n, dataUrl: r } = await on();
471
+ await Promise.resolve(M.value.userOptions.callbacks.svg({
472
+ blob: e,
473
+ url: t,
474
+ text: n,
475
+ dataUrl: r
476
+ }));
477
+ } else await Promise.resolve(an());
478
+ } finally {
479
+ k.value = !1;
480
+ }
481
+ }
482
+ function cn(e) {
483
+ if (e?.stage === "start") {
484
+ O.value = !0;
485
+ return;
486
+ }
487
+ if (e?.stage === "end") {
488
+ O.value = !1;
489
+ return;
490
+ }
491
+ Et();
492
+ }
493
+ async function ln() {
494
+ if (ct("copyAlt", {
495
+ config: M.value,
496
+ dataset: z.value
497
+ }), !M.value.userOptions.callbacks.altCopy) {
498
+ console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
499
+ return;
500
+ }
501
+ await Promise.resolve(M.value.userOptions.callbacks.altCopy({
502
+ config: M.value,
503
+ dataset: z.value
504
+ }));
505
+ }
506
+ function un() {
507
+ j.value = !0, F.value.length && A.value === null && (A.value = 0);
508
+ }
509
+ function dn() {
510
+ j.value = !1, A.value = null;
511
+ }
512
+ function fn(e) {
513
+ if (!P.value || Q.value || document.activeElement !== P.value || !F.value.length) return;
514
+ let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
515
+ if (!t && !n && !r && !i) return;
516
+ if (e.preventDefault(), e.stopPropagation(), i) {
517
+ A.value = null, L.value = {}, R.value = [];
518
+ return;
519
+ }
520
+ if (r) {
521
+ if (A.value === null) return;
522
+ let e = F.value[A.value];
523
+ if (!e) return;
524
+ Zt(e, A.value);
525
+ return;
526
+ }
527
+ let a = A.value;
528
+ a === null || a < 0 || a >= F.value.length ? a = n ? 0 : F.value.length - 1 : n ? (a += 1, a >= F.value.length && (a = 0)) : t && (--a, a < 0 && (a = F.value.length - 1)), A.value = a, X.value = a;
529
+ let o = F.value[a];
530
+ o && M.value.events.datapointEnter && M.value.events.datapointEnter({
531
+ datapoint: o,
532
+ seriesIndex: a
533
+ });
534
+ }
535
+ let $ = u(() => ({
536
+ headers: [
537
+ "ID",
538
+ "Label",
539
+ "Total weight",
540
+ "Relations count",
541
+ "Relations"
542
+ ],
543
+ rows: z.value.map((e) => {
544
+ let t = e.relations.map((e) => z.value.find((t) => t.id === e)?.label || e).join(", "), n = (e.weights || []).reduce((e, t) => e + Number(t || 0), 0);
545
+ return [
546
+ e.id,
547
+ e.label,
548
+ n,
549
+ e.relations.length,
550
+ t
551
+ ];
552
+ })
553
+ }));
554
+ return me({
555
+ getImage: nn,
556
+ generatePdf: Tt,
557
+ generateSvg: sn,
558
+ generateImage: Et,
559
+ toggleAnnotator: tn,
560
+ toggleFullscreen: en,
561
+ copyAlt: ln
562
+ }), (e, n) => (v(), p("div", {
563
+ ref_key: "relationCircleChart",
564
+ ref: D,
565
+ class: "vue-data-ui-component vue-ui-relation-circle",
566
+ style: _(`width:100%;background:${M.value.style.backgroundColor};text-align:center;${M.value.responsive ? "height: 100%" : ""}`),
567
+ id: `relation_circle_${E.value}`,
568
+ onMouseenter: n[0] ||= () => C(bt)(!0),
569
+ onMouseleave: n[1] ||= () => C(bt)(!1)
570
+ }, [
571
+ m("div", {
572
+ id: `chart-instructions-${E.value}`,
573
+ class: "sr-only"
574
+ }, [m("p", null, S(M.value.a11y.translations.keyboardNavigation), 1)], 8, Le),
575
+ $.value?.rows?.length ? (v(), d(_e, {
576
+ key: 0,
577
+ uid: E.value,
578
+ head: $.value.headers,
579
+ body: $.value.rows,
580
+ notice: M.value.a11y.translations.tableAvailable,
581
+ caption: M.value.a11y.translations.tableCaption
582
+ }, null, 8, [
583
+ "uid",
584
+ "head",
585
+ "body",
586
+ "notice",
587
+ "caption"
588
+ ])) : f("", !0),
589
+ M.value.userOptions.buttons.annotator ? (v(), d(C(nt), {
590
+ key: 1,
591
+ svgRef: C(P),
592
+ backgroundColor: M.value.style.backgroundColor,
593
+ color: M.value.style.color,
594
+ active: Q.value,
595
+ isCursorPointer: N.value,
596
+ onClose: tn
597
+ }, {
598
+ "annotator-action-close": w(() => [x(e.$slots, "annotator-action-close", {}, void 0, !0)]),
599
+ "annotator-action-color": w(({ color: t }) => [x(e.$slots, "annotator-action-color", g(h({ color: t })), void 0, !0)]),
600
+ "annotator-action-draw": w(({ mode: t }) => [x(e.$slots, "annotator-action-draw", g(h({ mode: t })), void 0, !0)]),
601
+ "annotator-action-undo": w(({ disabled: t }) => [x(e.$slots, "annotator-action-undo", g(h({ disabled: t })), void 0, !0)]),
602
+ "annotator-action-redo": w(({ disabled: t }) => [x(e.$slots, "annotator-action-redo", g(h({ disabled: t })), void 0, !0)]),
603
+ "annotator-action-delete": w(({ disabled: t }) => [x(e.$slots, "annotator-action-delete", g(h({ disabled: t })), void 0, !0)]),
604
+ _: 3
605
+ }, 8, [
606
+ "svgRef",
607
+ "backgroundColor",
608
+ "color",
609
+ "active",
610
+ "isCursorPointer"
611
+ ])) : f("", !0),
612
+ Dt.value ? (v(), p("div", {
613
+ key: 2,
614
+ ref_key: "noTitle",
615
+ ref: pt,
616
+ class: "vue-data-ui-no-title-space",
617
+ style: "height:36px; width: 100%;background:transparent"
618
+ }, null, 512)) : f("", !0),
619
+ M.value.style.title.text ? (v(), p("div", {
620
+ key: 3,
621
+ ref_key: "chartTitle",
622
+ ref: dt,
623
+ style: "width:100%;background:transparent"
624
+ }, [(v(), d(pe, {
625
+ key: `title_${mt.value}`,
626
+ config: {
627
+ title: {
628
+ cy: "relation-div-title",
629
+ ...M.value.style.title
630
+ },
631
+ subtitle: {
632
+ cy: "relation-div-subtitle",
633
+ ...M.value.style.title.subtitle
634
+ }
635
+ }
636
+ }, null, 8, ["config"]))], 512)) : f("", !0),
637
+ M.value.userOptions.show && lt.value && (C(xt) || C(yt)) ? (v(), d(C(rt), {
638
+ ref: "details",
639
+ key: `user_options_${ut.value}`,
640
+ backgroundColor: M.value.style.backgroundColor,
641
+ color: M.value.style.color,
642
+ isPrinting: C(Ct),
643
+ isImaging: C(wt),
644
+ uid: E.value,
645
+ hasPdf: M.value.userOptions.buttons.pdf,
646
+ hasImg: M.value.userOptions.buttons.img,
647
+ hasSvg: M.value.userOptions.buttons.svg,
648
+ hasFullscreen: M.value.userOptions.buttons.fullscreen,
649
+ hasAltCopy: M.value.userOptions.buttons.altCopy,
650
+ hasXls: !1,
651
+ isFullscreen: Z.value,
652
+ titles: { ...M.value.userOptions.buttonTitles },
653
+ chartElement: D.value,
654
+ position: M.value.userOptions.position,
655
+ hasAnnotator: M.value.userOptions.buttons.annotator,
656
+ isAnnotation: Q.value,
657
+ callbacks: M.value.userOptions.callbacks,
658
+ printScale: M.value.userOptions.print.scale,
659
+ isCursorPointer: N.value,
660
+ onToggleFullscreen: en,
661
+ onGeneratePdf: C(Tt),
662
+ onGenerateImage: cn,
663
+ onGenerateSvg: sn,
664
+ onToggleAnnotator: tn,
665
+ onCopyAlt: ln,
666
+ style: _({ visibility: C(xt) ? C(yt) ? "visible" : "hidden" : "visible" })
667
+ }, Se({ _: 2 }, [
668
+ e.$slots.menuIcon ? {
669
+ name: "menuIcon",
670
+ fn: w(({ isOpen: t, color: n }) => [x(e.$slots, "menuIcon", g(h({
671
+ isOpen: t,
672
+ color: n
673
+ })), void 0, !0)]),
674
+ key: "0"
675
+ } : void 0,
676
+ e.$slots.optionPdf ? {
677
+ name: "optionPdf",
678
+ fn: w(() => [x(e.$slots, "optionPdf", {}, void 0, !0)]),
679
+ key: "1"
680
+ } : void 0,
681
+ e.$slots.optionImg ? {
682
+ name: "optionImg",
683
+ fn: w(() => [x(e.$slots, "optionImg", {}, void 0, !0)]),
684
+ key: "2"
685
+ } : void 0,
686
+ e.$slots.optionSvg ? {
687
+ name: "optionSvg",
688
+ fn: w(() => [x(e.$slots, "optionSvg", {}, void 0, !0)]),
689
+ key: "3"
690
+ } : void 0,
691
+ e.$slots.optionFullscreen ? {
692
+ name: "optionFullscreen",
693
+ fn: w(({ toggleFullscreen: t, isFullscreen: n }) => [x(e.$slots, "optionFullscreen", g(h({
694
+ toggleFullscreen: t,
695
+ isFullscreen: n
696
+ })), void 0, !0)]),
697
+ key: "4"
698
+ } : void 0,
699
+ e.$slots.optionAnnotator ? {
700
+ name: "optionAnnotator",
701
+ fn: w(({ toggleAnnotator: t, isAnnotator: n }) => [x(e.$slots, "optionAnnotator", g(h({
702
+ toggleAnnotator: t,
703
+ isAnnotator: n
704
+ })), void 0, !0)]),
705
+ key: "5"
706
+ } : void 0,
707
+ e.$slots.optionAltCopy ? {
708
+ name: "optionAltCopy",
709
+ fn: w(({ altCopy: t }) => [x(e.$slots, "optionAltCopy", g(h({ altCopy: t })), void 0, !0)]),
710
+ key: "6"
711
+ } : void 0
712
+ ]), 1032, [
713
+ "backgroundColor",
714
+ "color",
715
+ "isPrinting",
716
+ "isImaging",
717
+ "uid",
718
+ "hasPdf",
719
+ "hasImg",
720
+ "hasSvg",
721
+ "hasFullscreen",
722
+ "hasAltCopy",
723
+ "isFullscreen",
724
+ "titles",
725
+ "chartElement",
726
+ "position",
727
+ "hasAnnotator",
728
+ "isAnnotation",
729
+ "callbacks",
730
+ "printScale",
731
+ "isCursorPointer",
732
+ "onGeneratePdf",
733
+ "style"
734
+ ])) : f("", !0),
735
+ m("div", Re, [(v(), p("svg", {
736
+ ref_key: "svgRef",
737
+ ref: P,
738
+ xmlns: C(re),
739
+ class: Oe([{
740
+ "vue-data-ui-fullscreen--on": Z.value,
741
+ "vue-data-ui-fulscreen--off": !Z.value
742
+ }, "relation-circle"]),
743
+ viewBox: `0 0 ${W.value.width <= 0 ? 10 : W.value.width} ${W.value.height <= 0 ? 10 : W.value.height}`,
744
+ width: "100%",
745
+ style: "user-select:none; background:transparent",
746
+ "aria-describedby": `chart-instructions-${E.value}`,
747
+ tabindex: "0",
748
+ onFocus: un,
749
+ onBlur: dn,
750
+ onKeydown: fn
751
+ }, [
752
+ we(C(it)),
753
+ e.$slots["chart-background"] ? (v(), p("foreignObject", {
754
+ key: 0,
755
+ x: 0,
756
+ y: 0,
757
+ width: W.value.width <= 0 ? 10 : W.value.width,
758
+ height: W.value.height <= 0 ? 10 : W.value.height,
759
+ style: { pointerEvents: "none" }
760
+ }, [x(e.$slots, "chart-background", {}, void 0, !0)], 8, Be)) : f("", !0),
761
+ m("circle", {
762
+ cx: (W.value.width <= 0 ? 1e-4 : W.value.width) / 2,
763
+ cy: (W.value.height <= 0 ? 1e-4 : W.value.height) / 2 + M.value.style.circle.offsetY,
764
+ r: G.value <= 0 ? 1e-4 : G.value,
765
+ stroke: M.value.style.circle.stroke,
766
+ "stroke-width": M.value.style.circle.strokeWidth,
767
+ fill: "transparent",
768
+ class: "main-circle"
769
+ }, null, 8, Ve),
770
+ At.value ? (v(), p("g", He, [(v(!0), p(l, null, b(I.value, (e, t) => (v(), p("path", {
771
+ key: `relation_${t}`,
772
+ style: _(Wt(e)),
773
+ stroke: J(e),
774
+ class: Oe(["relation", { "vue-ui-relation-circle-selected": L.value.hasOwnProperty("id") && R.value.includes(e.id) }]),
775
+ d: `M${e.x1},${e.y1} C${e.x1},${e.y1} ${W.value.width / 2},${W.value.height / 2 + M.value.style.circle.offsetY} ${e.x2},${e.y2}`,
776
+ fill: "none",
777
+ "stroke-width": $t(e),
778
+ "stroke-linecap": "round"
779
+ }, null, 14, Ue))), 128)), (v(!0), p(l, null, b(I.value, (n, r) => (v(), p("g", We, [
780
+ Y(n) ? x(e.$slots, "dataLabel", Ee({
781
+ key: 0,
782
+ ref_for: !0
783
+ }, {
784
+ x: n.midPointBezier.x,
785
+ y: n.midPointBezier.y,
786
+ color: J(n),
787
+ weight: n.weight,
788
+ fontSize: V.value
789
+ }), void 0, !0) : f("", !0),
790
+ Y(n) && !e.$slots.dataLabel ? (v(), p("circle", {
791
+ key: 1,
792
+ cx: n.midPointBezier.x,
793
+ cy: n.midPointBezier.y,
794
+ fill: J(n),
795
+ r: V.value,
796
+ stroke: M.value.style.backgroundColor,
797
+ "stroke-width": "1"
798
+ }, null, 8, Ge)) : f("", !0),
799
+ Y(n) && !e.$slots.dataLabel ? (v(), p("text", {
800
+ key: 2,
801
+ x: n.midPointBezier.x,
802
+ y: n.midPointBezier.y + V.value / 3,
803
+ fill: C(ne)(J(n)),
804
+ "text-anchor": "middle",
805
+ "font-size": V.value
806
+ }, S(C(s)(M.value.style.weightLabels.formatter, n.weight, C(t)({
807
+ p: M.value.style.weightLabels.prefix,
808
+ v: n.weight,
809
+ s: M.value.style.weightLabels.suffix,
810
+ r: M.value.style.weightLabels.rounding
811
+ }), { ...n })), 9, Ke)) : f("", !0)
812
+ ]))), 256))])) : (v(), p("g", qe, [(v(!0), p(l, null, b(I.value, (e, t) => (v(), p("line", {
813
+ key: `relation_${t}`,
814
+ stroke: J(e),
815
+ "stroke-width": $t(e),
816
+ style: _(Wt(e)),
817
+ x1: e.x1,
818
+ x2: e.x2,
819
+ y1: e.y1,
820
+ y2: e.y2,
821
+ class: Oe({ "vue-ui-relation-circle-selected": L.value.hasOwnProperty("id") && R.value.includes(e.id) }),
822
+ "stroke-linecap": "round"
823
+ }, null, 14, Je))), 128)), (v(!0), p(l, null, b(I.value, (n, r) => (v(), p("g", Ye, [
824
+ Y(n) ? x(e.$slots, "dataLabel", Ee({
825
+ key: 0,
826
+ ref_for: !0
827
+ }, {
828
+ x: n.midPointLine.x,
829
+ y: n.midPointLine.y,
830
+ color: J(n),
831
+ weight: n.weight,
832
+ fontSize: V.value
833
+ }), void 0, !0) : f("", !0),
834
+ Y(n) && !e.$slots.dataLabel && M.value.style.weightLabels.show ? (v(), p("circle", {
835
+ key: 1,
836
+ cx: n.midPointLine.x,
837
+ cy: n.midPointLine.y,
838
+ fill: J(n),
839
+ r: V.value,
840
+ stroke: M.value.style.backgroundColor,
841
+ "stroke-width": "1"
842
+ }, null, 8, Xe)) : f("", !0),
843
+ Y(n) && !e.$slots.dataLabel && M.value.style.weightLabels.show ? (v(), p("text", {
844
+ key: 2,
845
+ x: n.midPointLine.x,
846
+ y: n.midPointLine.y + V.value / 3,
847
+ fill: C(ne)(J(n)),
848
+ "text-anchor": "middle",
849
+ "font-size": V.value
850
+ }, S(C(s)(M.value.style.weightLabels.formatter, n.weight, C(t)({
851
+ p: M.value.style.weightLabels.prefix,
852
+ v: n.weight,
853
+ s: M.value.style.weightLabels.suffix,
854
+ r: M.value.style.weightLabels.rounding
855
+ }), { ...n })), 9, Ze)) : f("", !0)
856
+ ]))), 256))])),
857
+ (v(!0), p(l, null, b(F.value, (e, n) => (v(), p("text", {
858
+ key: `plot_text_${n}`,
859
+ "text-anchor": Gt(e),
860
+ transform: Jt(e),
861
+ x: Kt(e),
862
+ y: e.y + 5,
863
+ class: "vue-ui-relation-circle-legend",
864
+ "transform-origin": "start",
865
+ "font-weight": L.value.id === e.id ? "900" : "400",
866
+ style: _(`font-family:${M.value.style.fontFamily};${qt(e)};cursor:${N.value ? "pointer" : "default"}`),
867
+ "font-size": U.value,
868
+ fill: M.value.style.labels.color,
869
+ "text-decoration": n === X.value || n === A.value ? "underline" : void 0,
870
+ onClick: (t) => Qt(e, n),
871
+ onMouseenter: (t) => Yt(e, n),
872
+ onMouseleave: (t) => Xt(e, n)
873
+ }, [C(gt) ? (v(), p(l, { key: 0 }, [Ce("--------")], 64)) : (v(), p(l, { key: 1 }, [Ce(S(e.label) + " (" + S(C(s)(M.value.style.weightLabels.formatter, e.totalWeight, C(t)({
874
+ p: M.value.style.weightLabels.prefix,
875
+ v: e.totalWeight,
876
+ s: M.value.style.weightLabels.suffix,
877
+ r: M.value.style.weightLabels.rounding
878
+ }), { ...e })) + ") ", 1)], 64))], 44, Qe))), 128)),
879
+ (v(!0), p(l, null, b(F.value, (e, t) => (v(), p("circle", {
880
+ cx: e.x,
881
+ cy: e.y,
882
+ key: `plot_${t}`,
883
+ style: _(`${Ut(e)}; transition: r 0.2s ease-in-out; cursor:${N.value ? "pointer" : "default"}`),
884
+ class: "vue-ui-relation-circle-plot",
885
+ fill: M.value.style.plot.useSerieColor ? e.color : M.value.style.plot.color,
886
+ stroke: M.value.style.backgroundColor,
887
+ "stroke-width": "1",
888
+ r: H.value * (t === X.value || t === A.value ? 2 : 1),
889
+ onClick: (n) => Qt(e, t),
890
+ onMouseenter: (n) => Yt(e, t),
891
+ onMouseleave: (n) => Xt(e, t)
892
+ }, null, 44, $e))), 128)),
893
+ x(e.$slots, "svg", { svg: {
894
+ ...W.value,
895
+ isPrintingImg: C(Ct) || C(wt) || O.value,
896
+ isPrintingSvg: k.value
897
+ } }, void 0, !0)
898
+ ], 42, ze)), e.$slots.hint ? (v(), p("div", et, [x(e.$slots, "hint", g(h({
899
+ hint: M.value.a11y.translations.keyboardNavigation,
900
+ isVisible: j.value
901
+ })), void 0, !0)])) : f("", !0)]),
902
+ e.$slots.watermark ? (v(), p("div", tt, [x(e.$slots, "watermark", g(h({ isPrinting: C(Ct) || C(wt) || O.value || k.value })), void 0, !0)])) : f("", !0),
903
+ e.$slots.source ? (v(), p("div", {
904
+ key: 6,
905
+ ref_key: "source",
906
+ ref: ft,
907
+ dir: "auto"
908
+ }, [x(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
909
+ x(e.$slots, "skeleton", {}, () => [C(gt) ? (v(), d(le, { key: 0 })) : f("", !0)], !0)
910
+ ], 44, Ie));
911
+ }
912
+ }, [["__scopeId", "data-v-4acb9815"]]);
913
+ //#endregion
914
+ export { Fe as n, nt as t };