vue-data-ui 3.27.0 → 3.27.1-beta.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 (531) hide show
  1. package/dist/A11yDataTable-DWNlWXzs.js +1 -0
  2. package/dist/Arrow-CJeSufxg.js +1 -0
  3. package/dist/BaseDraggableDialog-T1gEsQid.js +1 -0
  4. package/dist/BaseIcon-Cz30ODFA.js +1 -0
  5. package/dist/BaseLegendToggle-Dn_tNvn4.js +1 -0
  6. package/dist/BaseScanner-8NdoBs7B.js +1 -0
  7. package/dist/BaseZoomControls-xq3tWD3j.js +1 -0
  8. package/dist/ColorPicker-CUjEw53A.js +1 -0
  9. package/dist/DataTable-DSUA5M9p.js +1 -0
  10. package/dist/DefGrad-DKMq1REY.js +1 -0
  11. package/dist/HillActions-DdvXld3a.js +1 -0
  12. package/dist/Legend-DokTll4u.js +1 -0
  13. package/dist/NonSvgPenAndPaper-BLzQuIm6.js +1 -0
  14. package/dist/PackageVersion-D6pKL176.js +1 -0
  15. package/dist/PenAndPaper-DvJJaeU2.js +1 -0
  16. package/dist/RecursiveCircles-BftI1kwF.js +1 -0
  17. package/dist/RecursiveLabels-B0d04xSj.js +1 -0
  18. package/dist/RecursiveLinks-CZtG6uWg.js +1 -0
  19. package/dist/Shape-tkp65OcG.js +1 -0
  20. package/dist/SlicerPreview-GFRs2EWB.js +1 -0
  21. package/dist/SparkTooltip-BlJLvizH.js +1 -0
  22. package/dist/Title-BRAjxtjG.js +1 -0
  23. package/dist/Tooltip-BUXB0i6z.js +1 -0
  24. package/dist/UserOptions-D65t74CM.js +1 -0
  25. package/dist/_plugin-vue_export-helper-BDNMzG2s.js +1 -0
  26. package/dist/annotationSlots-BRR85CqJ.js +1 -0
  27. package/dist/chartImage-NwZO-elv.js +1 -0
  28. package/dist/components/arrow.js +1 -2
  29. package/dist/components/vue-ui-3d-bar.js +1 -2
  30. package/dist/components/vue-ui-accordion.js +1 -2
  31. package/dist/components/vue-ui-age-pyramid.js +1 -2
  32. package/dist/components/vue-ui-annotator.js +1 -2
  33. package/dist/components/vue-ui-bullet.js +1 -2
  34. package/dist/components/vue-ui-bump.js +1 -2
  35. package/dist/components/vue-ui-candlestick.js +1 -2
  36. package/dist/components/vue-ui-carousel-table.js +1 -2
  37. package/dist/components/vue-ui-chestnut.js +1 -2
  38. package/dist/components/vue-ui-chord.js +1 -2
  39. package/dist/components/vue-ui-circle-pack.js +1 -2
  40. package/dist/components/vue-ui-cursor.js +1 -2
  41. package/dist/components/vue-ui-dag.js +1 -2
  42. package/dist/components/vue-ui-dashboard.js +1 -2
  43. package/dist/components/vue-ui-digits.js +1 -2
  44. package/dist/components/vue-ui-donut-evolution.js +1 -2
  45. package/dist/components/vue-ui-donut.js +1 -2
  46. package/dist/components/vue-ui-dumbbell.js +1 -2
  47. package/dist/components/vue-ui-flow.js +1 -2
  48. package/dist/components/vue-ui-funnel.js +1 -2
  49. package/dist/components/vue-ui-galaxy.js +1 -2
  50. package/dist/components/vue-ui-gauge.js +1 -2
  51. package/dist/components/vue-ui-geo.js +1 -2
  52. package/dist/components/vue-ui-gizmo.js +1 -2
  53. package/dist/components/vue-ui-heatmap.js +1 -2
  54. package/dist/components/vue-ui-hill.js +1 -2
  55. package/dist/components/vue-ui-history-plot.js +1 -2
  56. package/dist/components/vue-ui-horizontal-bar.js +1 -2
  57. package/dist/components/vue-ui-icon.js +1 -2
  58. package/dist/components/vue-ui-kpi.js +1 -2
  59. package/dist/components/vue-ui-label.js +1 -2
  60. package/dist/components/vue-ui-mini-loader.js +1 -2
  61. package/dist/components/vue-ui-molecule.js +1 -2
  62. package/dist/components/vue-ui-mood-radar.js +1 -2
  63. package/dist/components/vue-ui-nested-donuts.js +1 -2
  64. package/dist/components/vue-ui-onion.js +1 -2
  65. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -2
  66. package/dist/components/vue-ui-pattern-seed.js +1 -2
  67. package/dist/components/vue-ui-pattern.js +1 -2
  68. package/dist/components/vue-ui-quadrant.js +1 -2
  69. package/dist/components/vue-ui-quick-chart.js +1 -2
  70. package/dist/components/vue-ui-radar.js +1 -2
  71. package/dist/components/vue-ui-rating.js +1 -2
  72. package/dist/components/vue-ui-relation-circle.js +1 -2
  73. package/dist/components/vue-ui-ridgeline.js +1 -2
  74. package/dist/components/vue-ui-rings.js +1 -2
  75. package/dist/components/vue-ui-scatter.js +1 -2
  76. package/dist/components/vue-ui-skeleton.js +1 -2
  77. package/dist/components/vue-ui-smiley.js +1 -2
  78. package/dist/components/vue-ui-spark-trend.js +1 -2
  79. package/dist/components/vue-ui-sparkbar.js +1 -2
  80. package/dist/components/vue-ui-sparkgauge.js +1 -2
  81. package/dist/components/vue-ui-sparkhistogram.js +1 -2
  82. package/dist/components/vue-ui-sparkline.js +1 -2
  83. package/dist/components/vue-ui-sparkstackbar.js +1 -2
  84. package/dist/components/vue-ui-stackbar.js +1 -2
  85. package/dist/components/vue-ui-stackline.js +1 -2
  86. package/dist/components/vue-ui-strip-plot.js +1 -2
  87. package/dist/components/vue-ui-table-heatmap.js +1 -2
  88. package/dist/components/vue-ui-table-sparkline.js +1 -2
  89. package/dist/components/vue-ui-table.js +1 -2
  90. package/dist/components/vue-ui-thermometer.js +1 -2
  91. package/dist/components/vue-ui-timer.js +1 -2
  92. package/dist/components/vue-ui-tiremarks.js +1 -2
  93. package/dist/components/vue-ui-treemap.js +1 -2
  94. package/dist/components/vue-ui-vertical-bar.js +1 -2
  95. package/dist/components/vue-ui-waffle.js +1 -2
  96. package/dist/components/vue-ui-wheel.js +1 -2
  97. package/dist/components/vue-ui-word-cloud.js +1 -2
  98. package/dist/components/vue-ui-world.js +1 -2
  99. package/dist/components/vue-ui-xy-canvas.js +1 -2
  100. package/dist/components/vue-ui-xy.js +1 -2
  101. package/dist/composables.js +1 -5
  102. package/dist/dom-to-png-Cp3WLHmJ.js +3 -0
  103. package/dist/exposedLib-CMTeSmyW.js +1 -0
  104. package/dist/geoProjections-Bvj-eMvq.js +1 -0
  105. package/dist/img-8sM3sVWU.js +1 -0
  106. package/dist/labelUtils-Djp5nJtN.js +1 -0
  107. package/dist/lib-zDxoqrgo.js +12 -0
  108. package/dist/package-DIR2F6AE.js +1 -0
  109. package/dist/patternUtils-_q3ArM3g.js +1 -0
  110. package/dist/pdf-Dlv_ks7R.js +1 -0
  111. package/dist/render-common-DOYi0f4Z.js +1 -0
  112. package/dist/resolveChartConfig-BSo1Oe9n.js +1 -0
  113. package/dist/rolldown-runtime-DK3Fl9T5.js +1 -0
  114. package/dist/ssr/vue-ui-donut.js +1 -2
  115. package/dist/ssr/vue-ui-xy.js +1 -2
  116. package/dist/ssr.js +1 -3
  117. package/dist/style.css +1 -1
  118. package/dist/tableIntegration-CNoJ1CIY.js +1 -0
  119. package/dist/types/composables.d.ts +12 -12
  120. package/dist/types/ssr.d.ts +84 -84
  121. package/dist/types/utils.d.ts +82 -73
  122. package/dist/types/vue-data-ui.d.ts +17961 -17958
  123. package/dist/types/vue-ui-3d-bar.d.ts +24 -91
  124. package/dist/types/vue-ui-accordion.d.ts +2 -10
  125. package/dist/types/vue-ui-age-pyramid.d.ts +27 -106
  126. package/dist/types/vue-ui-annotator.d.ts +12 -88
  127. package/dist/types/vue-ui-bullet.d.ts +21 -83
  128. package/dist/types/vue-ui-bump.d.ts +23 -90
  129. package/dist/types/vue-ui-candlestick.d.ts +27 -108
  130. package/dist/types/vue-ui-carousel-table.d.ts +11 -57
  131. package/dist/types/vue-ui-chestnut.d.ts +27 -96
  132. package/dist/types/vue-ui-chord.d.ts +31 -108
  133. package/dist/types/vue-ui-circle-pack.d.ts +30 -124
  134. package/dist/types/vue-ui-cursor.d.ts +2 -8
  135. package/dist/types/vue-ui-dag.d.ts +35 -125
  136. package/dist/types/vue-ui-dashboard.d.ts +18 -66
  137. package/dist/types/vue-ui-digits.d.ts +2 -11
  138. package/dist/types/vue-ui-donut-evolution.d.ts +31 -100
  139. package/dist/types/vue-ui-donut.d.ts +31 -121
  140. package/dist/types/vue-ui-dumbbell.d.ts +24 -92
  141. package/dist/types/vue-ui-flow.d.ts +28 -104
  142. package/dist/types/vue-ui-funnel.d.ts +18 -77
  143. package/dist/types/vue-ui-galaxy.d.ts +30 -112
  144. package/dist/types/vue-ui-gauge.d.ts +22 -87
  145. package/dist/types/vue-ui-geo.d.ts +22 -92
  146. package/dist/types/vue-ui-gizmo.d.ts +5 -20
  147. package/dist/types/vue-ui-heatmap.d.ts +25 -101
  148. package/dist/types/vue-ui-hill.d.ts +22 -88
  149. package/dist/types/vue-ui-history-plot.d.ts +30 -112
  150. package/dist/types/vue-ui-horizontal-bar.d.ts +30 -114
  151. package/dist/types/vue-ui-icon.d.ts +1 -13
  152. package/dist/types/vue-ui-kpi.d.ts +5 -23
  153. package/dist/types/vue-ui-label.d.ts +11 -48
  154. package/dist/types/vue-ui-mini-loader.d.ts +4 -13
  155. package/dist/types/vue-ui-molecule.d.ts +27 -110
  156. package/dist/types/vue-ui-mood-radar.d.ts +23 -90
  157. package/dist/types/vue-ui-nested-donuts.d.ts +28 -109
  158. package/dist/types/vue-ui-onion.d.ts +26 -104
  159. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +34 -123
  160. package/dist/types/vue-ui-pattern-seed.d.ts +1 -14
  161. package/dist/types/vue-ui-pattern.d.ts +1 -13
  162. package/dist/types/vue-ui-quadrant.d.ts +33 -123
  163. package/dist/types/vue-ui-quick-chart.d.ts +30 -110
  164. package/dist/types/vue-ui-radar.d.ts +31 -114
  165. package/dist/types/vue-ui-rating.d.ts +8 -40
  166. package/dist/types/vue-ui-relation-circle.d.ts +26 -90
  167. package/dist/types/vue-ui-ridgeline.d.ts +27 -104
  168. package/dist/types/vue-ui-rings.d.ts +21 -96
  169. package/dist/types/vue-ui-scatter.d.ts +22 -95
  170. package/dist/types/vue-ui-skeleton.d.ts +2 -10
  171. package/dist/types/vue-ui-smiley.d.ts +6 -26
  172. package/dist/types/vue-ui-spark-trend.d.ts +2 -18
  173. package/dist/types/vue-ui-sparkbar.d.ts +10 -47
  174. package/dist/types/vue-ui-sparkgauge.d.ts +5 -26
  175. package/dist/types/vue-ui-sparkhistogram.d.ts +12 -44
  176. package/dist/types/vue-ui-sparkline.d.ts +16 -61
  177. package/dist/types/vue-ui-sparkstackbar.d.ts +13 -58
  178. package/dist/types/vue-ui-stackbar.d.ts +36 -130
  179. package/dist/types/vue-ui-stackline.d.ts +29 -116
  180. package/dist/types/vue-ui-strip-plot.d.ts +22 -96
  181. package/dist/types/vue-ui-table-heatmap.d.ts +14 -60
  182. package/dist/types/vue-ui-table-sparkline.d.ts +12 -51
  183. package/dist/types/vue-ui-table.d.ts +9 -36
  184. package/dist/types/vue-ui-thermometer.d.ts +14 -68
  185. package/dist/types/vue-ui-timer.d.ts +10 -47
  186. package/dist/types/vue-ui-tiremarks.d.ts +14 -68
  187. package/dist/types/vue-ui-treemap.d.ts +26 -105
  188. package/dist/types/vue-ui-vertical-bar.d.ts +8 -19
  189. package/dist/types/vue-ui-waffle.d.ts +23 -99
  190. package/dist/types/vue-ui-wheel.d.ts +14 -68
  191. package/dist/types/vue-ui-word-cloud.d.ts +20 -95
  192. package/dist/types/vue-ui-world.d.ts +22 -96
  193. package/dist/types/vue-ui-xy-canvas.d.ts +24 -101
  194. package/dist/types/vue-ui-xy.d.ts +42 -146
  195. package/dist/unpackTheme-CNsFKCeq.js +1 -0
  196. package/dist/useAutoSizeLabelsInsideViewbox-AIRF0PlD.js +1 -0
  197. package/dist/useChartAccessibility-DOMuYJfm.js +1 -0
  198. package/dist/useChartExport-DtPNpc9M.js +1 -0
  199. package/dist/useConfig-CKdzPrcf.js +1 -0
  200. package/dist/useFitSvgText-C1QC4P5G.js +1 -0
  201. package/dist/useHints-BH9r_0Vd.js +6 -0
  202. package/dist/useNestedProp-CT9phgWx.js +1 -0
  203. package/dist/useObjectBindings-DM3xDKV3.js +1 -0
  204. package/dist/usePanZoom-BdjP5Suc.js +1 -0
  205. package/dist/usePrefersMotion-XLHwega2.js +1 -0
  206. package/dist/usePrinter-CnyKPIFM.js +1 -0
  207. package/dist/useResponsive-D2CPcpda.js +1 -0
  208. package/dist/useStableElementSize-CegFbRlF.js +1 -0
  209. package/dist/useTableResponsive-uSz_qZOB.js +1 -0
  210. package/dist/useThemeCheck-BKNRbGeC.js +1 -0
  211. package/dist/useTimeLabelCollider-XQf_S7-z.js +1 -0
  212. package/dist/useTimeLabels-Das5O74F.js +1 -0
  213. package/dist/useTooltipPosition-aoV8pZZ9.js +1 -0
  214. package/dist/useTransitions-DfSHzsdz.js +1 -0
  215. package/dist/useUserOptionState-CXlFnwPv.js +1 -0
  216. package/dist/userOptionsSlots-DYuo-E5m.js +1 -0
  217. package/dist/utils.js +1 -30
  218. package/dist/vClickOutside-BxNzkY17.js +1 -0
  219. package/dist/vue-data-ui-BG41UScx.js +1 -0
  220. package/dist/vue-data-ui.js +1 -79
  221. package/dist/vue-ui-3d-bar-DiaiNy-k.js +19 -0
  222. package/dist/vue-ui-accordion-Dy5OVFKr.js +1 -0
  223. package/dist/vue-ui-age-pyramid-OeUr1yxi.js +1 -0
  224. package/dist/vue-ui-annotator-DA_xAFql.js +331 -0
  225. package/dist/vue-ui-bullet-B9lcCTVb.js +34 -0
  226. package/dist/vue-ui-bump-DYajIrva.js +10 -0
  227. package/dist/vue-ui-candlestick-CdAZuNxo.js +22 -0
  228. package/dist/vue-ui-carousel-table-ihGH0LDH.js +1 -0
  229. package/dist/vue-ui-chestnut-B2aNXFNO.js +1 -0
  230. package/dist/vue-ui-chord-fAckHfOW.js +21 -0
  231. package/dist/vue-ui-circle-pack-BWHVImkS.js +13 -0
  232. package/dist/vue-ui-cursor-DdXKXmhr.js +1 -0
  233. package/dist/vue-ui-dag-a0fNoIcJ.js +9 -0
  234. package/dist/vue-ui-dashboard-DkdYMB7n.js +1 -0
  235. package/dist/vue-ui-digits-CL9SuIEI.js +42 -0
  236. package/dist/vue-ui-donut-BaEodt-3.js +22 -0
  237. package/dist/vue-ui-donut-DaYxdQmP.js +47 -0
  238. package/dist/vue-ui-donut-evolution-T8cRXKRQ.js +2 -0
  239. package/dist/vue-ui-dumbbell-B6HJxEZp.js +9 -0
  240. package/dist/vue-ui-flow-BlTCVFr3.js +3 -0
  241. package/dist/vue-ui-funnel-WgLFJadZ.js +1 -0
  242. package/dist/vue-ui-galaxy-B3nuI6E8.js +1 -0
  243. package/dist/vue-ui-gauge-BwTP65O4.js +1 -0
  244. package/dist/vue-ui-geo-CX3yH18H.js +1 -0
  245. package/dist/vue-ui-gizmo-CNHcBsku.js +1 -0
  246. package/dist/vue-ui-heatmap-CTdeoar7.js +1 -0
  247. package/dist/vue-ui-hill-DR5k8GWZ.js +1 -0
  248. package/dist/vue-ui-history-plot-C-9uH-Uj.js +2 -0
  249. package/dist/vue-ui-horizontal-bar-qqF7pL7U.js +4 -0
  250. package/dist/vue-ui-kpi-DVcLXGqG.js +1 -0
  251. package/dist/vue-ui-label-D1Aog-zO.js +7 -0
  252. package/dist/vue-ui-mini-loader-CX0Dx9tT.js +1 -0
  253. package/dist/vue-ui-molecule-B13qVX71.js +1 -0
  254. package/dist/vue-ui-mood-radar-C1BtB8lg.js +1 -0
  255. package/dist/vue-ui-nested-donuts-B90yrlJG.js +19 -0
  256. package/dist/vue-ui-onion-UMVO2DE_.js +5 -0
  257. package/dist/vue-ui-parallel-coordinate-plot-C0ofFivm.js +9 -0
  258. package/dist/vue-ui-pattern-DrPCu32G.js +1 -0
  259. package/dist/vue-ui-pattern-seed-B8YjAAEH.js +1 -0
  260. package/dist/vue-ui-quadrant-CPG6yAiu.js +2 -0
  261. package/dist/vue-ui-quick-chart-BTPb-Iz8.js +17 -0
  262. package/dist/vue-ui-radar-Hd-pE9ih.js +1 -0
  263. package/dist/vue-ui-rating-C_YxQYa_.js +1 -0
  264. package/dist/vue-ui-relation-circle-CHYG7ZJl.js +1 -0
  265. package/dist/vue-ui-ridgeline-DS1Gvljt.js +2 -0
  266. package/dist/vue-ui-rings-B-Hb13Uu.js +1 -0
  267. package/dist/vue-ui-scatter-BTgvOmuo.js +9 -0
  268. package/dist/vue-ui-skeleton-B-Acw3CC.js +41 -0
  269. package/dist/vue-ui-smiley-Ciwqt6ek.js +1 -0
  270. package/dist/vue-ui-spark-trend-CYqy6c0S.js +1 -0
  271. package/dist/vue-ui-sparkbar-CTXIgjmP.js +1 -0
  272. package/dist/vue-ui-sparkgauge-CObOL6s2.js +1 -0
  273. package/dist/vue-ui-sparkhistogram-ClFyDez-.js +1 -0
  274. package/dist/vue-ui-sparkline-DP_nYlW8.js +1 -0
  275. package/dist/vue-ui-sparkstackbar-B2f0ePMg.js +1 -0
  276. package/dist/vue-ui-stackbar-nMWHZ-f0.js +29 -0
  277. package/dist/vue-ui-stackline-B95y6Zc5.js +39 -0
  278. package/dist/vue-ui-strip-plot-gFNC4r-X.js +2 -0
  279. package/dist/vue-ui-table-Br2JgD_L.js +14 -0
  280. package/dist/vue-ui-table-heatmap-Btu2ejF4.js +1 -0
  281. package/dist/vue-ui-table-sparkline-B9mYHAxp.js +1 -0
  282. package/dist/vue-ui-thermometer-C6u1eLfo.js +1 -0
  283. package/dist/vue-ui-timer-DLgsfB1U.js +64 -0
  284. package/dist/vue-ui-tiremarks-8B9uE1Bx.js +1 -0
  285. package/dist/vue-ui-treemap-C4Mot-Os.js +1 -0
  286. package/dist/vue-ui-waffle-BwcwNpf7.js +1 -0
  287. package/dist/vue-ui-wheel-B3OGCXg7.js +1 -0
  288. package/dist/vue-ui-word-cloud-BPIyMBXq.js +4 -0
  289. package/dist/vue-ui-world-Cp0DeauH.js +19 -0
  290. package/dist/vue-ui-xy-BOE1jvUS.js +31 -0
  291. package/dist/vue-ui-xy-DSyKSn4L.js +24 -0
  292. package/dist/vue-ui-xy-canvas-CaxxiKSa.js +9 -0
  293. package/dist/vue_ui_3d_bar-DmAve5Ri.js +1 -0
  294. package/dist/vue_ui_age_pyramid-CL0Ef8Ov.js +1 -0
  295. package/dist/vue_ui_bullet-CwVYkpjd.js +1 -0
  296. package/dist/vue_ui_bump-KJL9GYr4.js +1 -0
  297. package/dist/vue_ui_candlestick-DKvha_Ab.js +1 -0
  298. package/dist/vue_ui_chestnut-BxxivKN7.js +1 -0
  299. package/dist/vue_ui_chord-Fq6VBRT1.js +1 -0
  300. package/dist/vue_ui_circle_pack-CfXkXi7v.js +1 -0
  301. package/dist/vue_ui_dag-1b_dLSym.js +1 -0
  302. package/dist/vue_ui_donut-T5PeOqvf.js +1 -0
  303. package/dist/vue_ui_donut_evolution-nzVwNQYv.js +1 -0
  304. package/dist/vue_ui_dumbbell-BMcxK0N3.js +1 -0
  305. package/dist/vue_ui_flow-kvV56Es9.js +1 -0
  306. package/dist/vue_ui_funnel-CaEV5hG7.js +1 -0
  307. package/dist/vue_ui_galaxy-B94QInxc.js +1 -0
  308. package/dist/vue_ui_gauge-BJhb6yqE.js +1 -0
  309. package/dist/vue_ui_geo-DL1SMQHp.js +1 -0
  310. package/dist/vue_ui_heatmap-kh5NMmwf.js +1 -0
  311. package/dist/vue_ui_hill-DQi4pQCG.js +1 -0
  312. package/dist/vue_ui_history_plot-soyqUW4Y.js +1 -0
  313. package/dist/vue_ui_horizontal_bar-C4ulIxeT.js +1 -0
  314. package/dist/vue_ui_label-dtPqyFsj.js +1 -0
  315. package/dist/vue_ui_molecule-Bw1UW1Na.js +1 -0
  316. package/dist/vue_ui_mood_radar-CXaBdJnv.js +1 -0
  317. package/dist/vue_ui_nested_donuts-CRtGsJcz.js +1 -0
  318. package/dist/vue_ui_onion-C9BedU_-.js +1 -0
  319. package/dist/vue_ui_parallel_coordinate_plot-Cs_xXAG5.js +1 -0
  320. package/dist/vue_ui_quadrant-BUv-SqzP.js +1 -0
  321. package/dist/vue_ui_quick_chart-Da1GwklM.js +1 -0
  322. package/dist/vue_ui_radar-68iK9Fam.js +1 -0
  323. package/dist/vue_ui_relation_circle-Dkv-cSB6.js +1 -0
  324. package/dist/vue_ui_ridgeline-Di26JtQu.js +1 -0
  325. package/dist/vue_ui_rings-BcDDXHpQ.js +1 -0
  326. package/dist/vue_ui_scatter-C50uFYQL.js +1 -0
  327. package/dist/vue_ui_spark_trend-BOM3zo64.js +1 -0
  328. package/dist/vue_ui_sparkbar-Bpx7QrFq.js +1 -0
  329. package/dist/vue_ui_sparkgauge-D2Hk6bvS.js +1 -0
  330. package/dist/vue_ui_sparkhistogram-ChwOkoMb.js +1 -0
  331. package/dist/vue_ui_sparkline-CvL_e9L8.js +1 -0
  332. package/dist/vue_ui_sparkstackbar-Chtog7hC.js +1 -0
  333. package/dist/vue_ui_stackbar-BkBIi_bL.js +1 -0
  334. package/dist/vue_ui_stackline-D7b63K84.js +1 -0
  335. package/dist/vue_ui_strip_plot-CwMowrhT.js +1 -0
  336. package/dist/vue_ui_table_heatmap-vfeY6r97.js +1 -0
  337. package/dist/vue_ui_table_sparkline-Dlfbza49.js +1 -0
  338. package/dist/vue_ui_thermometer-CRijq6H6.js +1 -0
  339. package/dist/vue_ui_tiremarks-8HFfABNF.js +1 -0
  340. package/dist/vue_ui_treemap-Bv4Rdl5_.js +1 -0
  341. package/dist/vue_ui_vertical_bar-BLyflvlz.js +1 -0
  342. package/dist/vue_ui_waffle-BbBLSluB.js +1 -0
  343. package/dist/vue_ui_wheel-C-479bvJ.js +1 -0
  344. package/dist/vue_ui_word_cloud-DBiJtSyL.js +1 -0
  345. package/dist/vue_ui_xy-CJBM9F6W.js +1 -0
  346. package/dist/vue_ui_xy_canvas-CT-FN9rU.js +1 -0
  347. package/package.json +2 -2
  348. package/dist/A11yDataTable-DdRsVULz.js +0 -45
  349. package/dist/Arrow-DKO1l8oR.js +0 -116
  350. package/dist/BaseDraggableDialog-C50TEJFv.js +0 -272
  351. package/dist/BaseIcon-Cx9FD751.js +0 -484
  352. package/dist/BaseLegendToggle-CP3sddwv.js +0 -56
  353. package/dist/BaseScanner-Dzc8VT3j.js +0 -30
  354. package/dist/BaseZoomControls-vNi8YykO.js +0 -111
  355. package/dist/ColorPicker-hmC2bvwS.js +0 -257
  356. package/dist/DataTable-CjF_An2h.js +0 -150
  357. package/dist/DefGrad-DVBqDjhO.js +0 -48
  358. package/dist/HillActions-DqqGB33u.js +0 -187
  359. package/dist/Legend-CulFgjUY.js +0 -156
  360. package/dist/NonSvgPenAndPaper-BK1v_MfW.js +0 -577
  361. package/dist/PackageVersion-D7H9nfK0.js +0 -12
  362. package/dist/PenAndPaper-CNiuGw6k.js +0 -906
  363. package/dist/RecursiveCircles-D6aDPmoe.js +0 -117
  364. package/dist/RecursiveLabels-D9rfID6q.js +0 -56
  365. package/dist/RecursiveLinks-BygcpDiT.js +0 -78
  366. package/dist/Shape-DSwamtmO.js +0 -143
  367. package/dist/SlicerPreview-k5YerMA9.js +0 -1730
  368. package/dist/SparkTooltip-D35KVv6N.js +0 -93
  369. package/dist/Title-BMCuINbv.js +0 -87
  370. package/dist/Tooltip-C4ZTwkLF.js +0 -312
  371. package/dist/UserOptions-CORYQiif.js +0 -1412
  372. package/dist/_plugin-vue_export-helper-B3ysoDQm.js +0 -8
  373. package/dist/dom-to-png-CBusMkua.js +0 -237
  374. package/dist/exposedLib-UNxZlnAS.js +0 -28
  375. package/dist/geoProjections-BYthUA8l.js +0 -302
  376. package/dist/img-Bb5rHcpO.js +0 -129
  377. package/dist/labelUtils-Ccn9kK7T.js +0 -19
  378. package/dist/lib-D4wK6ljP.js +0 -2146
  379. package/dist/package-DmQufM0G.js +0 -4
  380. package/dist/patternUtils-CS7hn6at.js +0 -258
  381. package/dist/pdf-BzIQHx-F.js +0 -90
  382. package/dist/render-common-BtfjXdkJ.js +0 -152
  383. package/dist/rolldown-runtime-Dy4uBu1J.js +0 -11
  384. package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +0 -122
  385. package/dist/useChartAccessibility-DYqac8yF.js +0 -12
  386. package/dist/useChartExport-iwOqiIWX.js +0 -803
  387. package/dist/useConfig-D_6ZrPMD.js +0 -8090
  388. package/dist/useFitSvgText-CXTzBplU.js +0 -65
  389. package/dist/useHints-Dq_w2E8B.js +0 -66
  390. package/dist/useNestedProp-DR_8JPol.js +0 -12
  391. package/dist/useObjectBindings-DvasYMGu.js +0 -191
  392. package/dist/usePanZoom-CYU3B4T3.js +0 -157
  393. package/dist/usePrefersMotion-BC-CsqR1.js +0 -15
  394. package/dist/usePrinter-DdW2GSm0.js +0 -49
  395. package/dist/useResponsive-ZtArZtUf.js +0 -97
  396. package/dist/useStableElementSize-C7KADDKj.js +0 -77
  397. package/dist/useTableResponsive-BAqJPR68.js +0 -25
  398. package/dist/useThemeCheck-C43Tcqmk.js +0 -24
  399. package/dist/useTimeLabelCollider-AEcY4Ioe.js +0 -57
  400. package/dist/useTimeLabels-d2f-W1L4.js +0 -270
  401. package/dist/useTooltipPosition-BCrtQa9H.js +0 -189
  402. package/dist/useTransitions-g_zBREk2.js +0 -39
  403. package/dist/useUserOptionState-DK-_1ddE.js +0 -15
  404. package/dist/vClickOutside-DUrZWttG.js +0 -13
  405. package/dist/vue-data-ui-Df7WV80w.js +0 -191
  406. package/dist/vue-ui-3d-bar-CJjNPwhG.js +0 -1831
  407. package/dist/vue-ui-accordion-CaoNWreI.js +0 -81
  408. package/dist/vue-ui-age-pyramid-BYcM0uIP.js +0 -1305
  409. package/dist/vue-ui-annotator-BmqjDjRF.js +0 -3325
  410. package/dist/vue-ui-bullet-DBOAvpBB.js +0 -702
  411. package/dist/vue-ui-bump-rPYwDJ4o.js +0 -1242
  412. package/dist/vue-ui-candlestick-WQHIQNv_.js +0 -2144
  413. package/dist/vue-ui-carousel-table-Dojcvt49.js +0 -467
  414. package/dist/vue-ui-chestnut-BdhEByUf.js +0 -2016
  415. package/dist/vue-ui-chord-MF4xF5az.js +0 -1347
  416. package/dist/vue-ui-circle-pack-BwDim7G8.js +0 -1647
  417. package/dist/vue-ui-cursor-w_5cbpSb.js +0 -283
  418. package/dist/vue-ui-dag-D2EUqeDN.js +0 -2931
  419. package/dist/vue-ui-dashboard-BLnVXosj.js +0 -522
  420. package/dist/vue-ui-digits-zSqwYWHm.js +0 -217
  421. package/dist/vue-ui-donut-ZYZfqIhi.js +0 -974
  422. package/dist/vue-ui-donut-evolution-DtLbWi3h.js +0 -1869
  423. package/dist/vue-ui-donut-nLDLZwig.js +0 -2427
  424. package/dist/vue-ui-dumbbell-Qgn3wRyI.js +0 -1533
  425. package/dist/vue-ui-flow-iSH6dyGw.js +0 -1229
  426. package/dist/vue-ui-funnel-Cc2z2zS5.js +0 -749
  427. package/dist/vue-ui-galaxy-GhuBSU0o.js +0 -1097
  428. package/dist/vue-ui-gauge-BAjBO13a.js +0 -934
  429. package/dist/vue-ui-geo-mwTtvIHY.js +0 -1495
  430. package/dist/vue-ui-gizmo-B5vOOrZX.js +0 -238
  431. package/dist/vue-ui-heatmap-fimkY1nN.js +0 -1613
  432. package/dist/vue-ui-hill-DPfTt3UE.js +0 -1747
  433. package/dist/vue-ui-history-plot-B1WgzqTb.js +0 -1710
  434. package/dist/vue-ui-horizontal-bar-Bkp5HQdt.js +0 -1723
  435. package/dist/vue-ui-kpi-D-p0CSQh.js +0 -104
  436. package/dist/vue-ui-label-r3-QloJL.js +0 -1451
  437. package/dist/vue-ui-mini-loader-CnrBGAtM.js +0 -133
  438. package/dist/vue-ui-molecule-BhdAYX_H.js +0 -941
  439. package/dist/vue-ui-mood-radar-CdlnPrQf.js +0 -1111
  440. package/dist/vue-ui-nested-donuts-DceVEyUc.js +0 -1515
  441. package/dist/vue-ui-onion-_L0uEATI.js +0 -1247
  442. package/dist/vue-ui-parallel-coordinate-plot-CbXwIM47.js +0 -1444
  443. package/dist/vue-ui-pattern-DKozfnVn.js +0 -154
  444. package/dist/vue-ui-pattern-seed-BB1honLm.js +0 -61
  445. package/dist/vue-ui-quadrant-CDDFLRcX.js +0 -1979
  446. package/dist/vue-ui-quick-chart-Dom257hl.js +0 -2775
  447. package/dist/vue-ui-radar-BLdri1bA.js +0 -1386
  448. package/dist/vue-ui-rating-C_iTttXB.js +0 -359
  449. package/dist/vue-ui-relation-circle-BmxTSgjd.js +0 -905
  450. package/dist/vue-ui-ridgeline-CsUrcVmL.js +0 -1630
  451. package/dist/vue-ui-rings-D_GPkgbD.js +0 -1264
  452. package/dist/vue-ui-scatter-D_C-IhnW.js +0 -2418
  453. package/dist/vue-ui-skeleton-t7e6KEZ2.js +0 -2567
  454. package/dist/vue-ui-smiley-Dl95YWVo.js +0 -376
  455. package/dist/vue-ui-spark-trend-pkZA7u5V.js +0 -457
  456. package/dist/vue-ui-sparkbar-Ds7OJjhG.js +0 -401
  457. package/dist/vue-ui-sparkgauge-US1M88qc.js +0 -268
  458. package/dist/vue-ui-sparkhistogram-FISVpSvv.js +0 -589
  459. package/dist/vue-ui-sparkline-DvE1dHcs.js +0 -2067
  460. package/dist/vue-ui-sparkstackbar-CWtF9eG-.js +0 -750
  461. package/dist/vue-ui-stackbar-fMgrHzZe.js +0 -3273
  462. package/dist/vue-ui-stackline-CSMuUup2.js +0 -2829
  463. package/dist/vue-ui-strip-plot-TGD2UFHS.js +0 -1752
  464. package/dist/vue-ui-table-BCEIbg8-.js +0 -1352
  465. package/dist/vue-ui-table-heatmap-CvUcFWMf.js +0 -363
  466. package/dist/vue-ui-table-sparkline-CoVQ1qGY.js +0 -738
  467. package/dist/vue-ui-thermometer-BYFAZCzh.js +0 -758
  468. package/dist/vue-ui-timer-BKr8RVnn.js +0 -451
  469. package/dist/vue-ui-tiremarks-BYu3cEoy.js +0 -540
  470. package/dist/vue-ui-treemap-BR3rX5_L.js +0 -1745
  471. package/dist/vue-ui-waffle-mP8g5aQk.js +0 -1633
  472. package/dist/vue-ui-wheel-CZsSO2R6.js +0 -873
  473. package/dist/vue-ui-word-cloud-CJ30onqy.js +0 -1723
  474. package/dist/vue-ui-world-BZ09DOiF.js +0 -3021
  475. package/dist/vue-ui-xy-C3h54loZ.js +0 -1387
  476. package/dist/vue-ui-xy-canvas-BwgK8drp.js +0 -2151
  477. package/dist/vue-ui-xy-jemv5dsf.js +0 -5777
  478. package/dist/vue_ui_3d_bar-C4R7o-yX.js +0 -185
  479. package/dist/vue_ui_age_pyramid-B2R66DgQ.js +0 -310
  480. package/dist/vue_ui_bullet-ClzdLoOv.js +0 -186
  481. package/dist/vue_ui_bump-Vl-zYAtG.js +0 -201
  482. package/dist/vue_ui_candlestick-BXSQY82k.js +0 -461
  483. package/dist/vue_ui_chestnut-D2oUhad6.js +0 -305
  484. package/dist/vue_ui_chord-DPfS1Umc.js +0 -275
  485. package/dist/vue_ui_circle_pack-DZC_rdfn.js +0 -172
  486. package/dist/vue_ui_dag-TsJ_azQq.js +0 -258
  487. package/dist/vue_ui_donut-BDGqG07h.js +0 -358
  488. package/dist/vue_ui_donut_evolution-C6951a2f.js +0 -745
  489. package/dist/vue_ui_dumbbell-Bfe_jFyi.js +0 -304
  490. package/dist/vue_ui_flow-BewZjjKG.js +0 -238
  491. package/dist/vue_ui_funnel-_Og4EEkO.js +0 -234
  492. package/dist/vue_ui_galaxy-Ig0cc1_h.js +0 -265
  493. package/dist/vue_ui_gauge-Cf1RZc9q.js +0 -178
  494. package/dist/vue_ui_geo-B8TODs-G.js +0 -248
  495. package/dist/vue_ui_heatmap-B2BBBSWG.js +0 -319
  496. package/dist/vue_ui_hill-dnltu0L-.js +0 -368
  497. package/dist/vue_ui_history_plot-CuN63VEc.js +0 -413
  498. package/dist/vue_ui_horizontal_bar-C4J4QzXf.js +0 -341
  499. package/dist/vue_ui_label-B0QoxQrJ.js +0 -115
  500. package/dist/vue_ui_molecule-CO9L59SF.js +0 -231
  501. package/dist/vue_ui_mood_radar-BA6LAKhk.js +0 -281
  502. package/dist/vue_ui_nested_donuts-B8csIoVO.js +0 -273
  503. package/dist/vue_ui_onion-1FTFFS46.js +0 -293
  504. package/dist/vue_ui_parallel_coordinate_plot-CBiOBira.js +0 -278
  505. package/dist/vue_ui_quadrant-CDSTKTJz.js +0 -428
  506. package/dist/vue_ui_quick_chart-DByCqSYE.js +0 -180
  507. package/dist/vue_ui_radar-jafTED5j.js +0 -306
  508. package/dist/vue_ui_relation_circle-D0p4mXmv.js +0 -98
  509. package/dist/vue_ui_ridgeline-VM8_mx4J.js +0 -767
  510. package/dist/vue_ui_rings-BVgD2aMn.js +0 -320
  511. package/dist/vue_ui_scatter-I0POnicu.js +0 -479
  512. package/dist/vue_ui_spark_trend-DxVmpkmC.js +0 -82
  513. package/dist/vue_ui_sparkbar-z6qO--Kf.js +0 -64
  514. package/dist/vue_ui_sparkgauge-BX1MS3bA.js +0 -90
  515. package/dist/vue_ui_sparkhistogram-BRgvKUH6.js +0 -123
  516. package/dist/vue_ui_sparkline-b9pEUyGF.js +0 -183
  517. package/dist/vue_ui_sparkstackbar-BOjuQnZd.js +0 -175
  518. package/dist/vue_ui_stackbar-yQyvT4Su.js +0 -537
  519. package/dist/vue_ui_stackline-Bh0RuInt.js +0 -539
  520. package/dist/vue_ui_strip_plot-BaHbnnwN.js +0 -308
  521. package/dist/vue_ui_table_heatmap-w8vx5k6f.js +0 -80
  522. package/dist/vue_ui_table_sparkline-DAbkUrNz.js +0 -124
  523. package/dist/vue_ui_thermometer-DxgqWKlE.js +0 -123
  524. package/dist/vue_ui_tiremarks-CdEPieWV.js +0 -122
  525. package/dist/vue_ui_treemap-DoEtkRN6.js +0 -328
  526. package/dist/vue_ui_vertical_bar-CP-MKz1j.js +0 -247
  527. package/dist/vue_ui_waffle-DE_DiSVP.js +0 -299
  528. package/dist/vue_ui_wheel-DZ_nR--t.js +0 -133
  529. package/dist/vue_ui_word_cloud-C-qIMNLu.js +0 -254
  530. package/dist/vue_ui_xy-CcJADijP.js +0 -614
  531. package/dist/vue_ui_xy_canvas-DrNSzYWq.js +0 -487
@@ -1,905 +0,0 @@
1
- import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, Ht as n, X as r, at as i, en as a, i as o, nn as ee, r as s, t as te, tn as ne, w as re, yt as ie, zt as ae } from "./lib-D4wK6ljP.js";
3
- import { n as oe, t as se } from "./useHints-Dq_w2E8B.js";
4
- import { t as ce } from "./useConfig-D_6ZrPMD.js";
5
- import { t as le } from "./usePrinter-DdW2GSm0.js";
6
- import { n as ue, t as de } from "./BaseScanner-Dzc8VT3j.js";
7
- import { t as fe } from "./useNestedProp-DR_8JPol.js";
8
- import { t as pe } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as me } from "./useChartExport-iwOqiIWX.js";
10
- import { t as he } from "./img-Bb5rHcpO.js";
11
- import { n as ge } from "./Title-BMCuINbv.js";
12
- import { t as _e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
- import { l as ve, t as ye } from "./useResponsive-ZtArZtUf.js";
14
- import { t as be } from "./A11yDataTable-DdRsVULz.js";
15
- import { t as xe } from "./useUserOptionState-DK-_1ddE.js";
16
- import { t as Se } from "./useChartAccessibility-DYqac8yF.js";
17
- import { t as Ce } from "./useAutoSizeLabelsInsideViewbox-DvDwcwi_.js";
18
- import { t as we } from "./vue_ui_relation_circle-D0p4mXmv.js";
19
- import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as Te, createTextVNode as Ee, createVNode as De, defineAsyncComponent as Oe, guardReactiveProps as m, mergeProps as ke, normalizeClass as Ae, normalizeProps as h, normalizeStyle as g, onBeforeUnmount as je, onMounted as Me, openBlock as _, ref as v, renderList as y, renderSlot as b, shallowRef as Ne, toDisplayString as x, toRefs as Pe, unref as S, useCssVars as Fe, watch as Ie, withCtx as C } from "vue";
20
- //#region src/components/vue-ui-relation-circle.vue
21
- var Le = /* @__PURE__ */ e({ default: () => it }), Re = ["id"], ze = ["id"], Be = { style: { position: "relative" } }, Ve = [
22
- "xmlns",
23
- "viewBox",
24
- "aria-describedby"
25
- ], He = ["width", "height"], Ue = [
26
- "cx",
27
- "cy",
28
- "r",
29
- "stroke",
30
- "stroke-width"
31
- ], We = { key: 1 }, Ge = [
32
- "stroke",
33
- "d",
34
- "stroke-width"
35
- ], Ke = { style: { "pointer-events": "none" } }, qe = [
36
- "cx",
37
- "cy",
38
- "fill",
39
- "r",
40
- "stroke"
41
- ], Je = [
42
- "x",
43
- "y",
44
- "fill",
45
- "font-size"
46
- ], Ye = { key: 2 }, Xe = [
47
- "stroke",
48
- "stroke-width",
49
- "x1",
50
- "x2",
51
- "y1",
52
- "y2"
53
- ], Ze = { style: { "pointer-events": "none" } }, Qe = [
54
- "cx",
55
- "cy",
56
- "fill",
57
- "r",
58
- "stroke"
59
- ], $e = [
60
- "x",
61
- "y",
62
- "fill",
63
- "font-size"
64
- ], et = [
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
- ], tt = [
77
- "cx",
78
- "cy",
79
- "fill",
80
- "stroke",
81
- "r",
82
- "onClick",
83
- "onMouseenter",
84
- "onMouseleave"
85
- ], nt = {
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
- }, rt = {
96
- key: 5,
97
- class: "vue-data-ui-watermark"
98
- }, it = /*#__PURE__*/ _e({
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: _e, emit: Le }) {
116
- Fe((e) => ({
117
- v3a041b84: Pt.value,
118
- v0fe94b63: Nt.value,
119
- v471d47f6: Ft.value
120
- }));
121
- let it = Oe(() => import("./PenAndPaper-CNiuGw6k.js").then((e) => e.t)), at = Oe(() => import("./UserOptions-CORYQiif.js").then((e) => e.n)), ot = Oe(() => import("./PackageVersion-D7H9nfK0.js").then((e) => e.t)), { vue_ui_relation_circle: st } = ce(), { isThemeValid: ct, warnInvalidTheme: lt } = pe(), w = e, ut = Le, dt = l(() => !!w.dataset && Object.keys(w.dataset).length), T = v(r()), ft = v(0), E = v(null), pt = v(null), mt = v(null), ht = v(null), gt = v(0), D = v(null), O = v(!1), k = v(wt()), A = l(() => k.value.userOptions), j = l(() => k.value.style.weightLabels), M = l(() => k.value.style);
122
- oe({
123
- config: () => k.value,
124
- dataset: () => w.dataset,
125
- component: "VueUiRelationCircle",
126
- rules: [se.noHint]
127
- });
128
- let N = l(() => k.value.userOptions.useCursorPointer), _t = l(() => ee({
129
- defaultConfig: {
130
- userOptions: { show: !1 },
131
- customPalette: Array(7).fill("#CACACA"),
132
- style: {
133
- backgroundColor: "#99999930",
134
- labels: { color: "#6A6A6A" },
135
- circle: { stroke: "#6A6A6A" },
136
- plot: {
137
- color: "#6A6A6A",
138
- useSerieColor: !0
139
- },
140
- links: { maxWidth: 2 }
141
- }
142
- },
143
- userConfig: k.value.skeletonConfig ?? {}
144
- })), { loading: vt, FINAL_DATASET: yt, manualLoading: bt } = ue({
145
- ...Pe(w),
146
- FINAL_CONFIG: k,
147
- prepareConfig: wt,
148
- skeletonDataset: w.config?.skeletonDataset ?? [
149
- {
150
- id: "A",
151
- label: "_",
152
- relations: [
153
- "B",
154
- "C",
155
- "D",
156
- "E",
157
- "F",
158
- "G"
159
- ]
160
- },
161
- {
162
- id: "B",
163
- label: "_",
164
- relations: ["A"]
165
- },
166
- {
167
- id: "C",
168
- label: "_",
169
- relations: ["A"]
170
- },
171
- {
172
- id: "D",
173
- label: "_",
174
- relations: ["A"]
175
- },
176
- {
177
- id: "E",
178
- label: "_",
179
- relations: ["A"]
180
- },
181
- {
182
- id: "F",
183
- label: "_",
184
- relations: ["A"]
185
- },
186
- {
187
- id: "G",
188
- label: "_",
189
- relations: ["A"]
190
- }
191
- ],
192
- skeletonConfig: ee({
193
- defaultConfig: k.value,
194
- userConfig: _t.value
195
- })
196
- }), { userOptionsVisible: xt, setUserOptionsVisibility: St, keepUserOptionState: Ct } = xe({ config: k.value }), { svgRef: P } = Se({ config: M.value.title });
197
- function wt() {
198
- let e = fe({
199
- userConfig: w.config,
200
- defaultConfig: st
201
- }), t = e.theme;
202
- if (!t) return e;
203
- if (!ct.value(e)) return lt(e), e;
204
- let r = fe({
205
- userConfig: we[t] || w.config,
206
- defaultConfig: e
207
- }), i = fe({
208
- userConfig: w.config,
209
- defaultConfig: r
210
- });
211
- return {
212
- ...i,
213
- customPalette: i.customPalette.length ? i.customPalette : a[t] || n
214
- };
215
- }
216
- Ie(() => w.config, (e) => {
217
- k.value = wt(), xt.value = !k.value.userOptions.showOnChartHover, B.value = M.value.size, V.value = j.value.size, H.value = M.value.plot.radius, U.value = M.value.labels.fontSize, W.value.height = M.value.size, W.value.width = M.value.size, Lt(), gt.value += 1;
218
- }, { deep: !0 }), Ie(() => w.dataset, (e) => {
219
- Array.isArray(e) && e.length > 0 && (bt.value = !1);
220
- }, { deep: !0 });
221
- let { isPrinting: Tt, isImaging: Et, generatePdf: Dt, generateImage: Ot } = le({
222
- elementId: `relation_circle_${T.value}`,
223
- fileName: M.value.title.text || "vue-ui-relation-circle",
224
- options: k.value.userOptions.print
225
- }), kt = l(() => k.value.userOptions.show && !M.value.title.text), At = l(() => re(k.value.customPalette)), F = v([]), I = v([]), L = v({}), R = v([]), jt = v(0), z = l(() => yt.value.slice(0, M.value.limit).map((e) => {
226
- let t = Array.isArray(e.relations) ? e.relations : [];
227
- return {
228
- ...e,
229
- weights: Array.isArray(e.weights) ? e.weights : Array(t.length).fill(1),
230
- relations: t
231
- };
232
- }));
233
- Ie(z, () => {
234
- F.value = [], I.value = [], Bt(), Ht();
235
- });
236
- let B = v(M.value.size), V = v(j.value.size), H = v(M.value.plot.radius), U = v(M.value.labels.fontSize), W = v({
237
- height: M.value.size,
238
- width: M.value.size
239
- }), G = l({
240
- get() {
241
- return B.value * M.value.circle.radiusProportion;
242
- },
243
- set(e) {
244
- return e;
245
- }
246
- }), Mt = l(() => M.value.links.curved), Nt = l(() => `${M.value.animation.speedMs}ms`), Pt = l(() => G.value * 2), Ft = l(() => G.value * 4), K = Ne(null), q = Ne(null);
247
- Me(() => {
248
- Lt(), document.getElementById(`relation_circle_${T.value}`).addEventListener("click", zt);
249
- });
250
- let It = l(() => k.value.debug);
251
- function Lt() {
252
- if (ae(w.dataset) ? (i({
253
- componentName: "VueUiRelationCircle",
254
- type: "dataset",
255
- debug: It.value
256
- }), bt.value = !0) : It.value && w.dataset.forEach((e, t) => {
257
- ie({
258
- datasetObject: e,
259
- requiredAttributes: [
260
- "id",
261
- "label",
262
- "relations",
263
- "weights"
264
- ]
265
- }).forEach((e) => {
266
- i({
267
- componentName: "VueUiRelationCircle",
268
- type: "datasetSerieAttribute",
269
- property: e,
270
- index: t
271
- });
272
- });
273
- }), ae(w.dataset) || (bt.value = k.value.loading), k.value.responsive) {
274
- let e = ve(() => {
275
- let { width: e, height: t } = ye({
276
- chart: E.value,
277
- title: M.value.title.text ? pt.value : null,
278
- source: mt.value,
279
- noTitle: ht.value
280
- });
281
- requestAnimationFrame(() => {
282
- 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.circle.radiusProportion, F.value = [], I.value = [], Bt(), Ht(), Rt(), k.value.responsiveProportionalSizing ? (V.value = ne({
283
- relator: B.value,
284
- adjuster: M.value.size,
285
- source: j.value.size,
286
- threshold: 6,
287
- fallback: 6
288
- }), H.value = ne({
289
- relator: B.value,
290
- adjuster: M.value.size,
291
- source: M.value.plot.radius,
292
- threshold: 1,
293
- fallback: 1
294
- }), U.value = ne({
295
- relator: B.value,
296
- adjuster: M.value.size,
297
- source: M.value.labels.fontSize,
298
- threshold: 6,
299
- fallback: 6
300
- })) : (V.value = j.value.size, H.value = M.value.plot.radius, U.value = M.value.labels.fontSize);
301
- });
302
- });
303
- K.value && (q.value && K.value.unobserve(q.value), K.value.disconnect()), K.value = new ResizeObserver(e), q.value = E.value.parentNode, K.value.observe(q.value);
304
- } else F.value = [], I.value = [], Bt(), Ht();
305
- Rt();
306
- }
307
- je(() => {
308
- document.getElementById(`relation_circle_${T.value}`).removeEventListener("click", zt), K.value && (q.value && K.value.unobserve(q.value), K.value.disconnect());
309
- });
310
- let { autoSizeLabels: Rt } = Ce({
311
- svgRef: P,
312
- fontSize: M.value.labels.fontSize,
313
- minFontSize: M.value.labels.minFontSize,
314
- sizeRef: U,
315
- labelClass: ".vue-ui-relation-circle-legend"
316
- });
317
- function zt(e) {
318
- let t = e.target;
319
- 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 = []);
320
- }
321
- function Bt() {
322
- let e = 6.28319 / z.value.length, t = 360 / z.value.length, r = 0, i = 0;
323
- z.value.forEach((a, o) => {
324
- let ee = a.weights.reduce((e, t) => e + t, 0), s = G.value * Math.cos(r) + W.value.width / 2, te = G.value * Math.sin(r) + W.value.height / 2 + M.value.circle.offsetY;
325
- F.value.push({
326
- x: s,
327
- y: te,
328
- ...a,
329
- color: a.color ? a.color : At.value[o] ? At.value[o] : n[o],
330
- regAngle: i,
331
- totalWeight: ee
332
- }), r += e, i += t;
333
- });
334
- }
335
- function Vt(e, t) {
336
- return {
337
- x: (e.x + t.x) / 2,
338
- y: (e.y + t.y) / 2
339
- };
340
- }
341
- function Ht() {
342
- I.value = [], F.value.forEach((e) => {
343
- F.value.filter((t) => t.relations.includes(e.id)).forEach((t, n) => {
344
- let r = t.relations.indexOf(e.id);
345
- I.value.push({
346
- weight: t.weights[r] ? t.weights[r] : 0,
347
- relationId: `${e.id}_${t.id}`,
348
- x1: e.x,
349
- y1: e.y,
350
- x2: t.x,
351
- y2: t.y,
352
- colorSource: e.color,
353
- colorTarget: t.color,
354
- midPointLine: Vt({
355
- x: e.x,
356
- y: e.y
357
- }, {
358
- x: t.x,
359
- y: t.y
360
- }),
361
- midPointBezier: Ut({
362
- x1: e.x,
363
- x2: t.x,
364
- y1: e.y,
365
- y2: t.y
366
- }),
367
- ...e
368
- });
369
- });
370
- });
371
- }
372
- function Ut(e) {
373
- let t = {
374
- x: e.x1,
375
- y: e.y1
376
- }, n = {
377
- x: e.x2,
378
- y: e.y2
379
- }, r = {
380
- x: e.x1,
381
- y: e.y1
382
- }, i = {
383
- x: W.value.width / 2,
384
- y: W.value.height / 2 + M.value.circle.offsetY
385
- }, a = .5;
386
- return {
387
- x: .5 ** 3 * t.x + 3 * .5 ** 2 * a * r.x + 1.5 * a ** 2 * i.x + a ** 3 * n.x,
388
- y: .5 ** 3 * t.y + 3 * .5 ** 2 * a * r.y + 1.5 * a ** 2 * i.y + a ** 3 * n.y
389
- };
390
- }
391
- let Wt = l(() => Math.max(...I.value.map((e) => e.weight)));
392
- function Gt(e) {
393
- return Object.hasOwn(L.value, "x") ? R.value.includes(e.id) ? "opacity:1" : "opacity:0.1" : "opacity:1";
394
- }
395
- function J(e) {
396
- return e.colorSource;
397
- }
398
- function Kt(e) {
399
- 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:${tn(e)}` : "opacity: 0" : "opacity: 1";
400
- }
401
- function Y(e) {
402
- 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;
403
- }
404
- function qt(e) {
405
- return e.regAngle > 90 && e.regAngle < 270 ? "end" : "start";
406
- }
407
- function Jt(e) {
408
- return e.regAngle > 90 && e.regAngle < 270 ? e.x - 5 : e.x + 5;
409
- }
410
- function Yt(e) {
411
- return Object.hasOwn(L.value, "x") ? L.value.id === e.id || R.value.includes(e.id) ? "opacity:1" : "opacity:0.2" : "opacity:1";
412
- }
413
- function Xt(e) {
414
- return e.regAngle > 90 && e.regAngle < 270 ? `rotate(${e.regAngle + 180},${e.x},${e.y})` : `rotate(${e.regAngle},${e.x},${e.y})`;
415
- }
416
- let X = v(null);
417
- function Zt(e, t) {
418
- X.value = t, D.value = t, k.value.events.datapointEnter && k.value.events.datapointEnter({
419
- datapoint: e,
420
- seriesIndex: t
421
- });
422
- }
423
- function Qt(e, t) {
424
- X.value = null, O.value || (D.value = null), k.value.events.datapointLeave && k.value.events.datapointLeave({
425
- datapoint: e,
426
- seriesIndex: t
427
- });
428
- }
429
- function $t(e, t) {
430
- e && (k.value.events.datapointClick && k.value.events.datapointClick({
431
- datapoint: e,
432
- seriesIndex: t
433
- }), jt.value = 360 - e.regAngle, L.value.id && e.id === L.value.id ? (L.value = {}, R.value = []) : (L.value = e, R.value = [...e.relations]));
434
- }
435
- function en(e, t) {
436
- D.value = t, $t(e, t);
437
- }
438
- function tn(e) {
439
- let t = e.weight / Wt.value * M.value.links.maxWidth;
440
- return Math.max(.3, t);
441
- }
442
- let Z = v(!1);
443
- function nn(e) {
444
- Z.value = e, ft.value += 1;
445
- }
446
- let Q = v(!1);
447
- function rn() {
448
- Q.value = !Q.value;
449
- }
450
- async function an({ scale: e = 2 } = {}) {
451
- if (!E.value) return;
452
- let { width: t, height: n } = E.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await he({
453
- domElement: E.value,
454
- base64: !0,
455
- img: !0,
456
- scale: e
457
- });
458
- return {
459
- imageUri: i,
460
- base64: a,
461
- title: M.value.title.text,
462
- width: t,
463
- height: n,
464
- aspectRatio: r
465
- };
466
- }
467
- let on = l(() => M.value.backgroundColor), sn = l(() => M.value.title), { isCallbackImaging: cn, isCallbackSvg: ln, generateSvg: un, onGenerateImage: dn } = me({
468
- svg: P,
469
- title: sn,
470
- legend: null,
471
- legendItems: null,
472
- backgroundColor: on,
473
- getSvgCallback: () => k.value.userOptions.callbacks.svg,
474
- generateImage: Ot
475
- });
476
- async function fn() {
477
- if (ut("copyAlt", {
478
- config: k.value,
479
- dataset: z.value
480
- }), !k.value.userOptions.callbacks.altCopy) {
481
- console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
482
- return;
483
- }
484
- await Promise.resolve(k.value.userOptions.callbacks.altCopy({
485
- config: k.value,
486
- dataset: z.value
487
- }));
488
- }
489
- function pn() {
490
- O.value = !0, F.value.length && D.value === null && (D.value = 0);
491
- }
492
- function mn() {
493
- O.value = !1, D.value = null;
494
- }
495
- function hn(e) {
496
- if (!P.value || Q.value || document.activeElement !== P.value || !F.value.length) return;
497
- let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
498
- if (!t && !n && !r && !i) return;
499
- if (e.preventDefault(), e.stopPropagation(), i) {
500
- D.value = null, L.value = {}, R.value = [];
501
- return;
502
- }
503
- if (r) {
504
- if (D.value === null) return;
505
- let e = F.value[D.value];
506
- if (!e) return;
507
- $t(e, D.value);
508
- return;
509
- }
510
- let a = D.value;
511
- 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)), D.value = a, X.value = a;
512
- let o = F.value[a];
513
- o && k.value.events.datapointEnter && k.value.events.datapointEnter({
514
- datapoint: o,
515
- seriesIndex: a
516
- });
517
- }
518
- let $ = l(() => ({
519
- headers: [
520
- "ID",
521
- "Label",
522
- "Total weight",
523
- "Relations count",
524
- "Relations"
525
- ],
526
- rows: z.value.map((e) => {
527
- 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);
528
- return [
529
- e.id,
530
- e.label,
531
- n,
532
- e.relations.length,
533
- t
534
- ];
535
- })
536
- }));
537
- return _e({
538
- getImage: an,
539
- generatePdf: Dt,
540
- generateSvg: un,
541
- generateImage: Ot,
542
- toggleAnnotator: rn,
543
- toggleFullscreen: nn,
544
- copyAlt: fn
545
- }), (e, n) => (_(), f("div", {
546
- ref_key: "relationCircleChart",
547
- ref: E,
548
- class: "vue-data-ui-component vue-ui-relation-circle",
549
- style: g(`width:100%;background:${M.value.backgroundColor};text-align:center;${k.value.responsive ? "height: 100%" : ""}`),
550
- id: `relation_circle_${T.value}`,
551
- onMouseenter: n[0] ||= () => S(St)(!0),
552
- onMouseleave: n[1] ||= () => S(St)(!1)
553
- }, [
554
- p("div", {
555
- id: `chart-instructions-${T.value}`,
556
- class: "sr-only"
557
- }, [p("p", null, x(k.value.a11y.translations.keyboardNavigation), 1)], 8, ze),
558
- $.value?.rows?.length ? (_(), u(be, {
559
- key: 0,
560
- uid: T.value,
561
- head: $.value.headers,
562
- body: $.value.rows,
563
- notice: k.value.a11y.translations.tableAvailable,
564
- caption: k.value.a11y.translations.tableCaption
565
- }, null, 8, [
566
- "uid",
567
- "head",
568
- "body",
569
- "notice",
570
- "caption"
571
- ])) : d("", !0),
572
- A.value.buttons.annotator ? (_(), u(S(it), {
573
- key: 1,
574
- svgRef: S(P),
575
- backgroundColor: M.value.backgroundColor,
576
- color: M.value.color,
577
- active: Q.value,
578
- isCursorPointer: N.value,
579
- palette: A.value.annotatorPalette,
580
- onClose: rn
581
- }, {
582
- "annotator-action-close": C(() => [b(e.$slots, "annotator-action-close", {}, void 0, !0)]),
583
- "annotator-action-color": C(({ color: t }) => [b(e.$slots, "annotator-action-color", h(m({ color: t })), void 0, !0)]),
584
- "annotator-action-draw": C(({ mode: t }) => [b(e.$slots, "annotator-action-draw", h(m({ mode: t })), void 0, !0)]),
585
- "annotator-action-undo": C(({ disabled: t }) => [b(e.$slots, "annotator-action-undo", h(m({ disabled: t })), void 0, !0)]),
586
- "annotator-action-redo": C(({ disabled: t }) => [b(e.$slots, "annotator-action-redo", h(m({ disabled: t })), void 0, !0)]),
587
- "annotator-action-delete": C(({ disabled: t }) => [b(e.$slots, "annotator-action-delete", h(m({ disabled: t })), void 0, !0)]),
588
- _: 3
589
- }, 8, [
590
- "svgRef",
591
- "backgroundColor",
592
- "color",
593
- "active",
594
- "isCursorPointer",
595
- "palette"
596
- ])) : d("", !0),
597
- kt.value ? (_(), f("div", {
598
- key: 2,
599
- ref_key: "noTitle",
600
- ref: ht,
601
- class: "vue-data-ui-no-title-space",
602
- style: "height:36px; width: 100%;background:transparent"
603
- }, null, 512)) : d("", !0),
604
- M.value.title.text ? (_(), f("div", {
605
- key: 3,
606
- ref_key: "chartTitle",
607
- ref: pt,
608
- style: "width:100%;background:transparent"
609
- }, [(_(), u(ge, {
610
- key: `title_${gt.value}`,
611
- config: {
612
- title: {
613
- cy: "relation-div-title",
614
- ...M.value.title
615
- },
616
- subtitle: {
617
- cy: "relation-div-subtitle",
618
- ...M.value.title.subtitle
619
- }
620
- }
621
- }, null, 8, ["config"]))], 512)) : d("", !0),
622
- A.value.show && dt.value && (S(Ct) || S(xt)) ? (_(), u(S(at), {
623
- ref: "details",
624
- key: `user_options_${ft.value}`,
625
- backgroundColor: M.value.backgroundColor,
626
- color: M.value.color,
627
- isPrinting: S(Tt),
628
- isImaging: S(Et),
629
- uid: T.value,
630
- hasPdf: A.value.buttons.pdf,
631
- hasImg: A.value.buttons.img,
632
- hasSvg: A.value.buttons.svg,
633
- hasFullscreen: A.value.buttons.fullscreen,
634
- hasAltCopy: A.value.buttons.altCopy,
635
- hasXls: !1,
636
- isFullscreen: Z.value,
637
- titles: { ...A.value.buttonTitles },
638
- chartElement: E.value,
639
- position: A.value.position,
640
- hasAnnotator: A.value.buttons.annotator,
641
- isAnnotation: Q.value,
642
- callbacks: A.value.callbacks,
643
- printScale: A.value.print.scale,
644
- isCursorPointer: N.value,
645
- onToggleFullscreen: nn,
646
- onGeneratePdf: S(Dt),
647
- onGenerateImage: S(dn),
648
- onGenerateSvg: S(un),
649
- onToggleAnnotator: rn,
650
- onCopyAlt: fn,
651
- style: g({ visibility: S(Ct) ? S(xt) ? "visible" : "hidden" : "visible" })
652
- }, Te({ _: 2 }, [
653
- e.$slots.menuIcon ? {
654
- name: "menuIcon",
655
- fn: C(({ isOpen: t, color: n }) => [b(e.$slots, "menuIcon", h(m({
656
- isOpen: t,
657
- color: n
658
- })), void 0, !0)]),
659
- key: "0"
660
- } : void 0,
661
- e.$slots.optionPdf ? {
662
- name: "optionPdf",
663
- fn: C(() => [b(e.$slots, "optionPdf", {}, void 0, !0)]),
664
- key: "1"
665
- } : void 0,
666
- e.$slots.optionImg ? {
667
- name: "optionImg",
668
- fn: C(() => [b(e.$slots, "optionImg", {}, void 0, !0)]),
669
- key: "2"
670
- } : void 0,
671
- e.$slots.optionSvg ? {
672
- name: "optionSvg",
673
- fn: C(() => [b(e.$slots, "optionSvg", {}, void 0, !0)]),
674
- key: "3"
675
- } : void 0,
676
- e.$slots.optionFullscreen ? {
677
- name: "optionFullscreen",
678
- fn: C(({ toggleFullscreen: t, isFullscreen: n }) => [b(e.$slots, "optionFullscreen", h(m({
679
- toggleFullscreen: t,
680
- isFullscreen: n
681
- })), void 0, !0)]),
682
- key: "4"
683
- } : void 0,
684
- e.$slots.optionAnnotator ? {
685
- name: "optionAnnotator",
686
- fn: C(({ toggleAnnotator: t, isAnnotator: n }) => [b(e.$slots, "optionAnnotator", h(m({
687
- toggleAnnotator: t,
688
- isAnnotator: n
689
- })), void 0, !0)]),
690
- key: "5"
691
- } : void 0,
692
- e.$slots.optionAltCopy ? {
693
- name: "optionAltCopy",
694
- fn: C(({ altCopy: t }) => [b(e.$slots, "optionAltCopy", h(m({ altCopy: t })), void 0, !0)]),
695
- key: "6"
696
- } : void 0,
697
- e.$slots["custom-menu-before"] ? {
698
- name: "custom-menu-before",
699
- fn: C(() => [b(e.$slots, "custom-menu-before", {}, void 0, !0)]),
700
- key: "7"
701
- } : void 0,
702
- e.$slots["custom-menu-after"] ? {
703
- name: "custom-menu-after",
704
- fn: C(() => [b(e.$slots, "custom-menu-after", {}, void 0, !0)]),
705
- key: "8"
706
- } : void 0
707
- ]), 1032, [
708
- "backgroundColor",
709
- "color",
710
- "isPrinting",
711
- "isImaging",
712
- "uid",
713
- "hasPdf",
714
- "hasImg",
715
- "hasSvg",
716
- "hasFullscreen",
717
- "hasAltCopy",
718
- "isFullscreen",
719
- "titles",
720
- "chartElement",
721
- "position",
722
- "hasAnnotator",
723
- "isAnnotation",
724
- "callbacks",
725
- "printScale",
726
- "isCursorPointer",
727
- "onGeneratePdf",
728
- "onGenerateImage",
729
- "onGenerateSvg",
730
- "style"
731
- ])) : d("", !0),
732
- p("div", Be, [(_(), f("svg", {
733
- ref_key: "svgRef",
734
- ref: P,
735
- xmlns: S(te),
736
- class: Ae([{
737
- "vue-data-ui-fullscreen--on": Z.value,
738
- "vue-data-ui-fulscreen--off": !Z.value
739
- }, "relation-circle"]),
740
- viewBox: `0 0 ${W.value.width <= 0 ? 10 : W.value.width} ${W.value.height <= 0 ? 10 : W.value.height}`,
741
- width: "100%",
742
- style: "user-select:none; background:transparent",
743
- "aria-describedby": `chart-instructions-${T.value}`,
744
- tabindex: "0",
745
- onFocus: pn,
746
- onBlur: mn,
747
- onKeydown: hn
748
- }, [
749
- De(S(ot)),
750
- e.$slots["chart-background"] ? (_(), f("foreignObject", {
751
- key: 0,
752
- x: 0,
753
- y: 0,
754
- width: W.value.width <= 0 ? 10 : W.value.width,
755
- height: W.value.height <= 0 ? 10 : W.value.height,
756
- style: { pointerEvents: "none" }
757
- }, [b(e.$slots, "chart-background", {}, void 0, !0)], 8, He)) : d("", !0),
758
- p("circle", {
759
- cx: (W.value.width <= 0 ? 1e-4 : W.value.width) / 2,
760
- cy: (W.value.height <= 0 ? 1e-4 : W.value.height) / 2 + M.value.circle.offsetY,
761
- r: G.value <= 0 ? 1e-4 : G.value,
762
- stroke: M.value.circle.stroke,
763
- "stroke-width": M.value.circle.strokeWidth,
764
- fill: "transparent",
765
- class: "main-circle"
766
- }, null, 8, Ue),
767
- Mt.value ? (_(), f("g", We, [(_(!0), f(c, null, y(I.value, (e, t) => (_(), f("path", {
768
- key: `relation_${t}`,
769
- style: g(Kt(e)),
770
- stroke: J(e),
771
- class: Ae(["relation", { "vue-ui-relation-circle-selected": L.value.hasOwnProperty("id") && R.value.includes(e.id) }]),
772
- d: `M${e.x1},${e.y1} C${e.x1},${e.y1} ${W.value.width / 2},${W.value.height / 2 + M.value.circle.offsetY} ${e.x2},${e.y2}`,
773
- fill: "none",
774
- "stroke-width": tn(e),
775
- "stroke-linecap": "round"
776
- }, null, 14, Ge))), 128)), (_(!0), f(c, null, y(I.value, (n, r) => (_(), f("g", Ke, [
777
- Y(n) ? b(e.$slots, "dataLabel", ke({ ref_for: !0 }, {
778
- x: n.midPointBezier.x,
779
- y: n.midPointBezier.y,
780
- color: J(n),
781
- weight: n.weight,
782
- fontSize: V.value
783
- }), void 0, !0, 0) : d("", !0),
784
- Y(n) && !e.$slots.dataLabel ? (_(), f("circle", {
785
- key: 1,
786
- cx: n.midPointBezier.x,
787
- cy: n.midPointBezier.y,
788
- fill: J(n),
789
- r: V.value,
790
- stroke: M.value.backgroundColor,
791
- "stroke-width": "1"
792
- }, null, 8, qe)) : d("", !0),
793
- Y(n) && !e.$slots.dataLabel ? (_(), f("text", {
794
- key: 2,
795
- x: n.midPointBezier.x,
796
- y: n.midPointBezier.y + V.value / 3,
797
- fill: S(s)(J(n)),
798
- "text-anchor": "middle",
799
- "font-size": V.value
800
- }, x(S(o)(j.value.formatter, n.weight, S(t)({
801
- p: j.value.prefix,
802
- v: n.weight,
803
- s: j.value.suffix,
804
- r: j.value.rounding
805
- }), { ...n })), 9, Je)) : d("", !0)
806
- ]))), 256))])) : (_(), f("g", Ye, [(_(!0), f(c, null, y(I.value, (e, t) => (_(), f("line", {
807
- key: `relation_${t}`,
808
- stroke: J(e),
809
- "stroke-width": tn(e),
810
- style: g(Kt(e)),
811
- x1: e.x1,
812
- x2: e.x2,
813
- y1: e.y1,
814
- y2: e.y2,
815
- class: Ae({ "vue-ui-relation-circle-selected": L.value.hasOwnProperty("id") && R.value.includes(e.id) }),
816
- "stroke-linecap": "round"
817
- }, null, 14, Xe))), 128)), (_(!0), f(c, null, y(I.value, (n, r) => (_(), f("g", Ze, [
818
- Y(n) ? b(e.$slots, "dataLabel", ke({ ref_for: !0 }, {
819
- x: n.midPointLine.x,
820
- y: n.midPointLine.y,
821
- color: J(n),
822
- weight: n.weight,
823
- fontSize: V.value
824
- }), void 0, !0, 0) : d("", !0),
825
- Y(n) && !e.$slots.dataLabel && j.value.show ? (_(), f("circle", {
826
- key: 1,
827
- cx: n.midPointLine.x,
828
- cy: n.midPointLine.y,
829
- fill: J(n),
830
- r: V.value,
831
- stroke: M.value.backgroundColor,
832
- "stroke-width": "1"
833
- }, null, 8, Qe)) : d("", !0),
834
- Y(n) && !e.$slots.dataLabel && j.value.show ? (_(), f("text", {
835
- key: 2,
836
- x: n.midPointLine.x,
837
- y: n.midPointLine.y + V.value / 3,
838
- fill: S(s)(J(n)),
839
- "text-anchor": "middle",
840
- "font-size": V.value
841
- }, x(S(o)(j.value.formatter, n.weight, S(t)({
842
- p: j.value.prefix,
843
- v: n.weight,
844
- s: j.value.suffix,
845
- r: j.value.rounding
846
- }), { ...n })), 9, $e)) : d("", !0)
847
- ]))), 256))])),
848
- (_(!0), f(c, null, y(F.value, (e, n) => (_(), f("text", {
849
- key: `plot_text_${n}`,
850
- "text-anchor": qt(e),
851
- transform: Xt(e),
852
- x: Jt(e),
853
- y: e.y + 5,
854
- class: "vue-ui-relation-circle-legend",
855
- "transform-origin": "start",
856
- "font-weight": L.value.id === e.id ? "900" : "400",
857
- style: g(`font-family:${M.value.fontFamily};${Yt(e)};cursor:${N.value ? "pointer" : "default"}`),
858
- "font-size": U.value,
859
- fill: M.value.labels.color,
860
- "text-decoration": n === X.value || n === D.value ? "underline" : void 0,
861
- onClick: (t) => en(e, n),
862
- onMouseenter: (t) => Zt(e, n),
863
- onMouseleave: (t) => Qt(e, n)
864
- }, [S(vt) ? (_(), f(c, { key: 0 }, [Ee("--------")], 64)) : (_(), f(c, { key: 1 }, [Ee(x(e.label) + " (" + x(S(o)(j.value.formatter, e.totalWeight, S(t)({
865
- p: j.value.prefix,
866
- v: e.totalWeight,
867
- s: j.value.suffix,
868
- r: j.value.rounding
869
- }), { ...e })) + ") ", 1)], 64))], 44, et))), 128)),
870
- (_(!0), f(c, null, y(F.value, (e, t) => (_(), f("circle", {
871
- cx: e.x,
872
- cy: e.y,
873
- key: `plot_${t}`,
874
- style: g(`${Gt(e)}; transition: r 0.2s ease-in-out; cursor:${N.value ? "pointer" : "default"}`),
875
- class: "vue-ui-relation-circle-plot",
876
- fill: M.value.plot.useSerieColor ? e.color : M.value.plot.color,
877
- stroke: M.value.backgroundColor,
878
- "stroke-width": "1",
879
- r: H.value * (t === X.value || t === D.value ? 2 : 1),
880
- onClick: (n) => en(e, t),
881
- onMouseenter: (n) => Zt(e, t),
882
- onMouseleave: (n) => Qt(e, t)
883
- }, null, 44, tt))), 128)),
884
- b(e.$slots, "svg", { svg: {
885
- ...W.value,
886
- isPrintingImg: S(Tt) || S(Et) || S(cn),
887
- isPrintingSvg: S(ln)
888
- } }, void 0, !0)
889
- ], 42, Ve)), e.$slots.hint ? (_(), f("div", nt, [b(e.$slots, "hint", h(m({
890
- hint: k.value.a11y.translations.keyboardNavigation,
891
- isVisible: O.value
892
- })), void 0, !0)])) : d("", !0)]),
893
- e.$slots.watermark ? (_(), f("div", rt, [b(e.$slots, "watermark", h(m({ isPrinting: S(Tt) || S(Et) || S(cn) || S(ln) })), void 0, !0)])) : d("", !0),
894
- e.$slots.source ? (_(), f("div", {
895
- key: 6,
896
- ref_key: "source",
897
- ref: mt,
898
- dir: "auto"
899
- }, [b(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0),
900
- b(e.$slots, "skeleton", {}, () => [S(vt) ? (_(), u(de, { key: 0 })) : d("", !0)], !0)
901
- ], 44, Re));
902
- }
903
- }, [["__scopeId", "data-v-49dbbf69"]]);
904
- //#endregion
905
- export { Le as n, it as t };