vue-data-ui 3.26.5 → 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 +17969 -17813
  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 -120
  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-BQbcOtfC.js +0 -116
  350. package/dist/BaseDraggableDialog-BCFCiP_6.js +0 -272
  351. package/dist/BaseIcon-CIK6Sqo3.js +0 -484
  352. package/dist/BaseLegendToggle-Doa5rYP2.js +0 -56
  353. package/dist/BaseScanner-Dzc8VT3j.js +0 -30
  354. package/dist/BaseZoomControls-BGQM8B5F.js +0 -111
  355. package/dist/ColorPicker-Cb7qpvFt.js +0 -257
  356. package/dist/DataTable-B6LDCXBz.js +0 -150
  357. package/dist/DefGrad-DVBqDjhO.js +0 -48
  358. package/dist/HillActions-CwdgCb7Q.js +0 -187
  359. package/dist/Legend-D9FGXIbQ.js +0 -156
  360. package/dist/NonSvgPenAndPaper-9T4MSwXC.js +0 -577
  361. package/dist/PackageVersion-CslTvFsC.js +0 -12
  362. package/dist/PenAndPaper-C1EcBgJW.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-BZgQLgu5.js +0 -143
  367. package/dist/SlicerPreview-DyYv_G-_.js +0 -1730
  368. package/dist/SparkTooltip-D4cRlyuq.js +0 -93
  369. package/dist/Title-Bd98RysU.js +0 -87
  370. package/dist/Tooltip-DmQeI5WE.js +0 -312
  371. package/dist/UserOptions-B_yBcZ1-.js +0 -1412
  372. package/dist/_plugin-vue_export-helper-B3ysoDQm.js +0 -8
  373. package/dist/dom-to-png-B_RJohlM.js +0 -237
  374. package/dist/exposedLib-C-JlvWAt.js +0 -28
  375. package/dist/geoProjections-BYthUA8l.js +0 -302
  376. package/dist/img-KURaWjZI.js +0 -129
  377. package/dist/labelUtils-DShv2Mbg.js +0 -19
  378. package/dist/lib-TWIH5fGr.js +0 -2152
  379. package/dist/package-DbTqd5lc.js +0 -4
  380. package/dist/patternUtils-CS7hn6at.js +0 -258
  381. package/dist/pdf-CLl24Afl.js +0 -90
  382. package/dist/render-common-CKv-jztN.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-DObkR9Aa.js +0 -8008
  388. package/dist/useFitSvgText-CXTzBplU.js +0 -65
  389. package/dist/useHints-Dq_w2E8B.js +0 -66
  390. package/dist/useNestedProp-BxOdWM0c.js +0 -12
  391. package/dist/useObjectBindings-CPmyIJxB.js +0 -191
  392. package/dist/usePanZoom-CYU3B4T3.js +0 -157
  393. package/dist/usePrefersMotion-BC-CsqR1.js +0 -15
  394. package/dist/usePrinter-8Y1Rju0Y.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-C3G5Zdl5.js +0 -191
  406. package/dist/vue-ui-3d-bar-Cl6-fBV8.js +0 -1831
  407. package/dist/vue-ui-accordion-AyyZDab3.js +0 -81
  408. package/dist/vue-ui-age-pyramid-DOtWAL8s.js +0 -1305
  409. package/dist/vue-ui-annotator-BCVjlojM.js +0 -3325
  410. package/dist/vue-ui-bullet-B_1Ctjvq.js +0 -702
  411. package/dist/vue-ui-bump-kOK6x4al.js +0 -1242
  412. package/dist/vue-ui-candlestick-KvhjbAxt.js +0 -2144
  413. package/dist/vue-ui-carousel-table-ArMiO0cG.js +0 -467
  414. package/dist/vue-ui-chestnut-DSM0U27X.js +0 -2016
  415. package/dist/vue-ui-chord-64akfaem.js +0 -1347
  416. package/dist/vue-ui-circle-pack-CaR_aNEh.js +0 -1647
  417. package/dist/vue-ui-cursor-DCgqYZiz.js +0 -283
  418. package/dist/vue-ui-dag-8uKK0Rlp.js +0 -2931
  419. package/dist/vue-ui-dashboard-DeccYtSY.js +0 -522
  420. package/dist/vue-ui-digits-BvK7bVuJ.js +0 -217
  421. package/dist/vue-ui-donut-8joMj08Z.js +0 -974
  422. package/dist/vue-ui-donut-CvbfzzdT.js +0 -2427
  423. package/dist/vue-ui-donut-evolution-DgITf95R.js +0 -1869
  424. package/dist/vue-ui-dumbbell-U2L4ZYhB.js +0 -1533
  425. package/dist/vue-ui-flow-DD20fJu_.js +0 -1229
  426. package/dist/vue-ui-funnel-Cx8hVlZV.js +0 -749
  427. package/dist/vue-ui-galaxy-VZFZnHPv.js +0 -1097
  428. package/dist/vue-ui-gauge-Copa7G58.js +0 -934
  429. package/dist/vue-ui-geo-DeDQ6ubl.js +0 -1495
  430. package/dist/vue-ui-gizmo-D5oUKIsP.js +0 -238
  431. package/dist/vue-ui-heatmap-BukWtNsd.js +0 -1613
  432. package/dist/vue-ui-hill-DONFacXR.js +0 -1747
  433. package/dist/vue-ui-history-plot-BMy_y9S6.js +0 -1710
  434. package/dist/vue-ui-horizontal-bar-bcPSs999.js +0 -1723
  435. package/dist/vue-ui-kpi-Bol0OWs3.js +0 -104
  436. package/dist/vue-ui-label-cwjXaEDQ.js +0 -1451
  437. package/dist/vue-ui-mini-loader-kdpasmXb.js +0 -133
  438. package/dist/vue-ui-molecule-BiAI5lbh.js +0 -941
  439. package/dist/vue-ui-mood-radar-f4xXkiBs.js +0 -1111
  440. package/dist/vue-ui-nested-donuts-ZmGGEvRk.js +0 -1515
  441. package/dist/vue-ui-onion-D6IKPpL-.js +0 -1247
  442. package/dist/vue-ui-parallel-coordinate-plot-BbfModz3.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-CueHa1Pm.js +0 -1979
  446. package/dist/vue-ui-quick-chart-C8ZxX1Zw.js +0 -2775
  447. package/dist/vue-ui-radar-BcD7Zqvb.js +0 -1386
  448. package/dist/vue-ui-rating-V_OnJN9Y.js +0 -359
  449. package/dist/vue-ui-relation-circle-DlN4r83K.js +0 -905
  450. package/dist/vue-ui-ridgeline-BlQnTWXi.js +0 -1630
  451. package/dist/vue-ui-rings-Bf9IKwDr.js +0 -1264
  452. package/dist/vue-ui-scatter-arPbS9MH.js +0 -2418
  453. package/dist/vue-ui-skeleton-dyXWT6JX.js +0 -2567
  454. package/dist/vue-ui-smiley-w6nH1I0E.js +0 -376
  455. package/dist/vue-ui-spark-trend-Bso9bwmY.js +0 -457
  456. package/dist/vue-ui-sparkbar-CL06Yt56.js +0 -401
  457. package/dist/vue-ui-sparkgauge-BHDM5Hbr.js +0 -268
  458. package/dist/vue-ui-sparkhistogram-3Tw8PEms.js +0 -589
  459. package/dist/vue-ui-sparkline-znaswFQj.js +0 -2067
  460. package/dist/vue-ui-sparkstackbar-BOzVoWoa.js +0 -750
  461. package/dist/vue-ui-stackbar-BTOvMsP8.js +0 -2755
  462. package/dist/vue-ui-stackline-qcLrNL09.js +0 -2829
  463. package/dist/vue-ui-strip-plot-BLNaCPm8.js +0 -1752
  464. package/dist/vue-ui-table-D295mJIf.js +0 -1352
  465. package/dist/vue-ui-table-heatmap-CXeMKqKz.js +0 -363
  466. package/dist/vue-ui-table-sparkline-BYuwQrwA.js +0 -738
  467. package/dist/vue-ui-thermometer-BwJ0oF-H.js +0 -758
  468. package/dist/vue-ui-timer-BULpjYiI.js +0 -451
  469. package/dist/vue-ui-tiremarks-B7bTeU8h.js +0 -540
  470. package/dist/vue-ui-treemap-DkqDz9W4.js +0 -1745
  471. package/dist/vue-ui-waffle-Cn7WBzqh.js +0 -1633
  472. package/dist/vue-ui-wheel-Cy7kBvEx.js +0 -873
  473. package/dist/vue-ui-word-cloud-tRqc2ZMR.js +0 -1723
  474. package/dist/vue-ui-world-B755-zji.js +0 -3021
  475. package/dist/vue-ui-xy-BiHIJ7rK.js +0 -1387
  476. package/dist/vue-ui-xy-DWYTZz_v.js +0 -5777
  477. package/dist/vue-ui-xy-canvas-DGuMC_Rf.js +0 -2151
  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-DdjDL6aq.js +0 -491
  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,1347 +0,0 @@
1
- import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, $t as n, D as r, Rt as i, S as a, Vt as o, X as s, Y as c, at as l, i as ee, in as te, nt as ne, r as re, t as ie, tn as ae, vt as oe, w as se } from "./lib-TWIH5fGr.js";
3
- import { n as ce } from "./useHints-Dq_w2E8B.js";
4
- import { t as le } from "./useConfig-DObkR9Aa.js";
5
- import { t as ue } from "./usePrinter-8Y1Rju0Y.js";
6
- import { n as de, t as fe } from "./BaseScanner-Dzc8VT3j.js";
7
- import { t as pe } from "./useNestedProp-BxOdWM0c.js";
8
- import { t as me } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as he } from "./useChartExport-iwOqiIWX.js";
10
- import { t as ge } from "./img-KURaWjZI.js";
11
- import { n as _e } from "./Title-Bd98RysU.js";
12
- import { t as ve } from "./Shape-BZgQLgu5.js";
13
- import { t as ye } from "./_plugin-vue_export-helper-B3ysoDQm.js";
14
- import { l as be, t as xe } from "./useResponsive-ZtArZtUf.js";
15
- import { t as Se } from "./A11yDataTable-DdRsVULz.js";
16
- import { t as Ce } from "./useUserOptionState-DK-_1ddE.js";
17
- import { t as we } from "./useChartAccessibility-DYqac8yF.js";
18
- import { t as Te } from "./Legend-D9FGXIbQ.js";
19
- import { t as Ee } from "./vue_ui_chord-DPfS1Umc.js";
20
- import { Fragment as u, Teleport as De, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Oe, createTextVNode as ke, createVNode as Ae, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as je, nextTick as Me, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as Ne, onMounted as Pe, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Fe, shallowRef as Ie, toDisplayString as T, toRefs as Le, unref as E, useCssVars as Re, watch as ze, withCtx as D, withModifiers as Be } from "vue";
21
- //#region src/components/vue-ui-chord.vue
22
- var Ve = /* @__PURE__ */ e({ default: () => yt }), He = ["id"], Ue = ["id"], We = ["id"], Ge = [
23
- "xmlns",
24
- "viewBox",
25
- "aria-describedby"
26
- ], Ke = ["width", "height"], qe = { key: 1 }, Je = ["id", "d"], Ye = { key: 2 }, Xe = ["transform"], Ze = [
27
- "d",
28
- "fill",
29
- "stroke",
30
- "stroke-width",
31
- "onMouseenter",
32
- "onMouseleave",
33
- "onClick"
34
- ], Qe = [
35
- "d",
36
- "fill",
37
- "stroke",
38
- "stroke-width"
39
- ], $e = ["d", "fill"], et = [
40
- "d",
41
- "fill",
42
- "stroke",
43
- "stroke-width",
44
- "onMouseenter",
45
- "onClick",
46
- "onMouseleave"
47
- ], tt = [
48
- "d",
49
- "fill",
50
- "stroke",
51
- "stroke-width"
52
- ], nt = [
53
- "d",
54
- "fill",
55
- "stroke",
56
- "stroke-width"
57
- ], rt = [
58
- "d",
59
- "fill",
60
- "stroke",
61
- "stroke-width"
62
- ], it = { key: 0 }, at = [
63
- "x1",
64
- "y1",
65
- "x2",
66
- "y2",
67
- "stroke",
68
- "stroke-width"
69
- ], ot = [
70
- "x1",
71
- "y1",
72
- "x2",
73
- "y2",
74
- "stroke",
75
- "stroke-width"
76
- ], st = [
77
- "cx",
78
- "cy",
79
- "r",
80
- "stroke",
81
- "stroke-width",
82
- "fill"
83
- ], ct = [
84
- "transform",
85
- "fill",
86
- "text-anchor",
87
- "font-size",
88
- "font-weight"
89
- ], lt = { key: 1 }, ut = [
90
- "font-size",
91
- "font-weight",
92
- "fill"
93
- ], dt = ["href"], ft = [
94
- "transform",
95
- "text-anchor",
96
- "font-size",
97
- "font-weight",
98
- "fill",
99
- "innerHTML"
100
- ], pt = {
101
- key: 5,
102
- style: {
103
- position: "absolute",
104
- top: "100%",
105
- left: "0",
106
- width: "100%"
107
- },
108
- "data-dom-to-png-ignore": "",
109
- "aria-hidden": "true"
110
- }, mt = {
111
- key: 6,
112
- class: "vue-data-ui-watermark"
113
- }, ht = ["id"], gt = ["onClick"], _t = {
114
- key: 9,
115
- "data-dom-to-png-ignore": "",
116
- class: "reset-wrapper"
117
- }, vt = { style: {
118
- "text-align": "right",
119
- width: "100%"
120
- } }, yt = /*#__PURE__*/ ye({
121
- __name: "vue-ui-chord",
122
- props: {
123
- dataset: {
124
- type: Object,
125
- default() {
126
- return {};
127
- }
128
- },
129
- config: {
130
- type: Object,
131
- default() {
132
- return {};
133
- }
134
- }
135
- },
136
- emits: [
137
- "selectLegend",
138
- "selectGroup",
139
- "selectRibbon",
140
- "copyAlt"
141
- ],
142
- setup(e, { expose: ye, emit: Ve }) {
143
- Re((e) => ({ v7e4b29de: e.slicerColor }));
144
- let yt = g(() => import("./vue-ui-accordion-AyyZDab3.js").then((e) => e.n)), bt = g(() => import("./BaseIcon-CIK6Sqo3.js").then((e) => e.n)), xt = g(() => import("./DataTable-B6LDCXBz.js")), St = g(() => import("./PackageVersion-CslTvFsC.js").then((e) => e.t)), Ct = g(() => import("./PenAndPaper-C1EcBgJW.js").then((e) => e.t)), wt = g(() => import("./UserOptions-B_yBcZ1-.js").then((e) => e.n)), Tt = g(() => import("./BaseDraggableDialog-BCFCiP_6.js").then((e) => e.n)), { vue_ui_chord: Et } = le(), { isThemeValid: Dt, warnInvalidTheme: Ot } = me(), O = e, kt = Ve, k = S(!!O.dataset && Object.hasOwn(O.dataset, "matrix")), A = S(s()), j = S(null), M = S(null), N = S(null), At = S(0), P = S(null), jt = S(null), Mt = S(null), Nt = S(null), Pt = S(null), Ft = S(0), It = S(0), Lt = S(0), Rt = S(!1), F = Ie(null), zt = Ie(null), Bt = S(!1), Vt = S(null), Ht = S(null), I = S("group"), L = S(null), Ut = S(!1), R = S(en()), z = d(() => R.value.style.chart.arcs), B = d(() => R.value.style.chart.ribbons), V = d(() => R.value.style.chart);
145
- ce({
146
- config: () => R.value,
147
- dataset: () => O.dataset,
148
- component: "VueUiChord",
149
- rules: [{
150
- test: (e) => e.matrix && e.matrix.length > 12,
151
- message: [
152
- "👀 The number of groups > 12, the chart might become hard to read. Consider:",
153
- "",
154
- "▶️ Using broader groups to reduce their number."
155
- ]
156
- }]
157
- });
158
- let H = d(() => R.value.userOptions.useCursorPointer), Wt = d(() => ae({
159
- defaultConfig: {
160
- useCssAnimation: !1,
161
- userOptions: { show: !1 },
162
- table: { show: !1 },
163
- style: { chart: {
164
- backgroundColor: "#99999930",
165
- legend: { backgroundColor: "transparent" },
166
- arcs: {
167
- stroke: "#6A6A6A",
168
- labels: { show: !1 }
169
- },
170
- ribbons: {
171
- stroke: "#6A6A6A",
172
- underlayerOpacity: 0,
173
- labels: { show: !1 }
174
- }
175
- } }
176
- },
177
- userConfig: R.value.skeletonConfig ?? {}
178
- })), { loading: Gt, FINAL_DATASET: U, manualLoading: Kt } = de({
179
- ...Le(O),
180
- FINAL_CONFIG: R,
181
- prepareConfig: en,
182
- callback: () => {
183
- Promise.resolve().then(async () => {
184
- await Me(), G.value.showTable = R.value.table.show;
185
- });
186
- },
187
- skeletonDataset: O.config?.skeletonDataset ?? {
188
- matrix: [
189
- [
190
- 12e3,
191
- 6e3,
192
- 9e3,
193
- 3e3
194
- ],
195
- [
196
- 2e3,
197
- 1e4,
198
- 2e3,
199
- 6001
200
- ],
201
- [
202
- 8e3,
203
- 1600,
204
- 8e3,
205
- 8001
206
- ],
207
- [
208
- 1e3,
209
- 1e3,
210
- 1e3,
211
- 7001
212
- ]
213
- ],
214
- labels: [],
215
- colors: [
216
- "#DBDBDB",
217
- "#C4C4C4",
218
- "#ADADAD",
219
- "#969696"
220
- ]
221
- },
222
- skeletonConfig: ae({
223
- defaultConfig: R.value,
224
- userConfig: Wt.value
225
- })
226
- }), { userOptionsVisible: qt, setUserOptionsVisibility: Jt, keepUserOptionState: Yt } = Ce({ config: R.value }), { svgRef: W } = we({ config: V.value.title }), { isPrinting: Xt, isImaging: Zt, generatePdf: Qt, generateImage: $t } = ue({
227
- elementId: `chord_${A.value}`,
228
- fileName: V.value.title.text || "vue-ui-chord",
229
- options: R.value.userOptions.print
230
- }), G = S({ showTable: R.value.table.show });
231
- function en() {
232
- let e = pe({
233
- userConfig: O.config,
234
- defaultConfig: Et
235
- }), t = e.theme;
236
- if (!t) return e;
237
- if (!Dt.value(e)) return Ot(e), e;
238
- let r = pe({
239
- userConfig: Ee[t] || O.config,
240
- defaultConfig: e
241
- }), i = pe({
242
- userConfig: O.config,
243
- defaultConfig: r
244
- });
245
- return {
246
- ...i,
247
- customPalette: i.customPalette.length ? i.customPalette : n[t] || o
248
- };
249
- }
250
- ze(() => O.config, (e) => {
251
- Gt.value || (R.value = en()), qt.value = !R.value.userOptions.showOnChartHover, rn(), Ft.value += 1, It.value += 1, Lt.value += 1, X.value = R.value.initialRotation, G.value.showTable = R.value.table.show;
252
- }, { deep: !0 });
253
- let tn = d(() => R.value.debug);
254
- ze(() => O.dataset, () => {
255
- nn(), rn(), Ft.value += 1, It.value += 1, Lt.value += 1;
256
- });
257
- function nn() {
258
- if (i(O.dataset)) {
259
- l({
260
- componentName: "VueUiChord",
261
- type: "dataset",
262
- debug: tn.value
263
- }), k.value = !1, Kt.value = !0;
264
- return;
265
- }
266
- let e = oe({
267
- datasetObject: O.dataset,
268
- requiredAttributes: ["matrix"]
269
- });
270
- if (e.length) {
271
- tn.value && e.forEach((e) => {
272
- l({
273
- componentName: "VueUiChord",
274
- type: "datasetAttribute",
275
- property: e
276
- });
277
- }), k.value = !1, Kt.value = !0;
278
- return;
279
- }
280
- let t = O.dataset.matrix;
281
- if (!Array.isArray(t) || t.length < 2) {
282
- tn.value && console.warn("VueUiChord: dataset.matrix requires a minimum of 2 datapoints, for example:\n \nmatrix:[\n [1, 1],\n [1, 1]\n]"), k.value = !1, Kt.value = !0;
283
- return;
284
- }
285
- let n = t.length, r = t.findIndex((e) => !Array.isArray(e) || e.length !== n);
286
- if (r !== -1) {
287
- tn.value && console.warn(`VueUiChord - Invalid matrix: dataset.matrix at index ${r} has ${Array.isArray(t[r]) ? t[r].length : "NaN"} elements instead of the required ${n}
288
-
289
- dataset.matrix[${r}] = [${Array.isArray(t[r]) ? t[r].toString() : "invalid"}]`), k.value = !1, Kt.value = !0;
290
- return;
291
- }
292
- k.value = !0, Kt.value = !1;
293
- }
294
- function rn() {
295
- if (nn(), R.value.responsive) {
296
- let e = be(() => {
297
- let { width: e, height: t, heightNoTitle: n, heightSource: r, heightTitle: i, heightLegend: a } = xe({
298
- chart: P.value,
299
- title: V.value.title.text ? jt.value : null,
300
- legend: V.value.legend.show ? Mt.value : null,
301
- source: Nt.value,
302
- noTitle: Pt.value
303
- }), o = i + a + r + n;
304
- e < t ? P.value.style.width = "100%" : (P.value.style.height = "100%", W.value.style.height = `calc(100% - ${o}px)`);
305
- }, 100);
306
- F.value && (zt.value && F.value.unobserve(zt.value), F.value.disconnect()), F.value = new ResizeObserver(e), zt.value = P.value.parentNode, F.value.observe(zt.value), e();
307
- }
308
- on.value = setTimeout(() => {
309
- Rt.value = !0;
310
- }, 500);
311
- }
312
- function an() {
313
- if (!U.value || !Object.hasOwn(U.value, "matrix") || U.value.matrix.length < 2) {
314
- tn.value && console.warn("VueUiChord: dataset.matrix requires a minimum of 2 datapoints, for example:\n\nmatrix:[\n [1, 1],\n [1, 1]\n]"), k.value = !1;
315
- return;
316
- }
317
- U.value.matrix.forEach((e, t) => {
318
- e.length !== U.value.matrix.length && (tn.value && console.warn(`VueUiChord - Invalid matrix: dataset.matrix at index ${t} has ${e.length} elements instead of the required ${U.value.matrix.length}\n\ndataset.matrix[${t}] = [${e.toString()}] has a length of ${e.length} but should have the same length as the matrix itself (${U.value.matrix.length})`), k.value = !1);
319
- });
320
- }
321
- let on = S(null);
322
- Pe(() => {
323
- Bt.value = !0, rn();
324
- });
325
- let K = S({
326
- height: 600,
327
- width: 600
328
- }), sn = d(() => R.value.userOptions.show && !V.value.title.text), cn = d(() => se(R.value.customPalette)), q = d(() => ({
329
- inner: K.value.width * .3 * z.value.innerRadiusRatio,
330
- outer: K.value.width * .34 * z.value.outerRadiusRatio
331
- })), ln = d(() => z.value.padAngle / 100), J = d(() => ({
332
- matrix: U.value.matrix ?? [[0]],
333
- labels: U.value.labels ?? [""],
334
- colors: U.value.colors && Array.isArray(U.value.colors) && U.value.colors.length ? U.value.colors.map((e) => a(e)) : U.value.matrix.map((e, t) => cn.value[t] || o[t] || o[t % o.length])
335
- }));
336
- function un(e, t) {
337
- let n = e.length, r = q.value.inner, i = Array(n).fill(0), a = 0;
338
- for (let t = 0; t < n; t += 1) for (let r = 0; r < n; r += 1) i[t] += e[t][r], a += e[t][r];
339
- let o = (2 * Math.PI - t * n) / a, c = [], l = 0;
340
- for (let e = 0; e < n; e += 1) {
341
- let n = l, r = n + i[e] * o;
342
- c.push({
343
- index: e,
344
- pattern: `pattern_${A.value}_${e}`,
345
- startAngle: n,
346
- endAngle: r,
347
- name: J.value.labels[e],
348
- id: s(),
349
- color: J.value.colors[e],
350
- proportion: i[e] / a
351
- }), l = r + t;
352
- }
353
- let ee = [];
354
- for (let t = 0; t < n; t += 1) {
355
- let n = e[t].map((e, t) => ({
356
- j: t,
357
- v: e
358
- }));
359
- n.sort((e, t) => t.v - e.v);
360
- let i = c[t].startAngle;
361
- for (let { j: e, v: a } of n) {
362
- let n = i, s = n + a * o;
363
- ee.push({
364
- index: t,
365
- subIndex: e,
366
- pattern: `pattern_${A.value}_${t}`,
367
- startAngle: n,
368
- endAngle: s,
369
- value: a,
370
- groupName: J.value.labels[t],
371
- groupId: c[t].id,
372
- groupColor: J.value.colors[t],
373
- midAngle: (n + s) / 2,
374
- midBaseX: Math.cos((n + s) / 2 - Math.PI / 2) * r,
375
- midBaseY: Math.sin((n + s) / 2 - Math.PI / 2) * r
376
- }), i = s;
377
- }
378
- }
379
- let te = [];
380
- for (let e of ee) {
381
- let t = ee.find((t) => t.index === e.subIndex && t.subIndex === e.index);
382
- te.push({
383
- source: e,
384
- target: t,
385
- id: s()
386
- });
387
- }
388
- return {
389
- groups: c,
390
- chords: te
391
- };
392
- }
393
- let Y = d(() => {
394
- let e = un(J.value.matrix, ln.value);
395
- return an(), e.chords.sort((e, t) => Math.max(t.source.value, t.target.value) - Math.max(e.source.value, e.target.value)), e;
396
- }), dn = d(() => {
397
- let e = q.value.outer + B.value.labels.offset + 12, t = B.value.labels.fontSize * .6, n = [];
398
- if (M.value) {
399
- let r = M.value;
400
- if (r.source.value) {
401
- let i = String(r.source.value);
402
- n.push({
403
- id: r.id + "-src",
404
- theta: r.source.midAngle,
405
- w: i.length * t / e,
406
- midBaseX: r.source.midBaseX,
407
- midBaseY: r.source.midBaseY,
408
- groupColor: r.source.groupColor,
409
- value: r.source.value
410
- });
411
- }
412
- if (r.target && r.target.value && r.target.value !== r.source.value) {
413
- let i = String(r.target.value);
414
- n.push({
415
- id: r.id + "-tgt",
416
- theta: r.target.midAngle,
417
- w: i.length * t / e,
418
- midBaseX: r.target.midBaseX,
419
- midBaseY: r.target.midBaseY,
420
- groupColor: r.target.groupColor,
421
- value: r.target.value
422
- });
423
- }
424
- return n;
425
- }
426
- function r(r) {
427
- Y.value.chords.filter((e) => e.source.groupId === r && e.source.value).forEach((r) => {
428
- {
429
- let i = String(r.source.value);
430
- n.push({
431
- id: r.id + "-src",
432
- theta: r.source.midAngle,
433
- w: i.length * t / e,
434
- midBaseX: r.source.midBaseX,
435
- midBaseY: r.source.midBaseY,
436
- groupColor: r.source.groupColor,
437
- value: r.source.value
438
- });
439
- }
440
- if (r.target && r.target.value && r.target.value !== r.source.value) {
441
- let i = String(r.target.value);
442
- n.push({
443
- id: r.id + "-tgt",
444
- theta: r.target.midAngle,
445
- w: i.length * t / e,
446
- midBaseX: r.target.midBaseX,
447
- midBaseY: r.target.midBaseY,
448
- groupColor: r.target.groupColor,
449
- value: r.target.value
450
- });
451
- }
452
- });
453
- }
454
- return N.value && r(N.value), j.value && r(j.value.id), n;
455
- }), fn = d(() => {
456
- let e = dn.value.map((e) => ({ ...e })).sort((e, t) => e.theta - t.theta), t = B.value.labels.minSeparationDeg * Math.PI / 180, n = !0, r = 0;
457
- for (; n && r++ < 10;) {
458
- n = !1;
459
- for (let r = 1; r < e.length; r += 1) {
460
- let i = e[r - 1], a = e[r], o = i.theta + i.w + t;
461
- a.theta < o && (a.theta = o, n = !0);
462
- }
463
- let r = e[0], i = e[e.length - 1], a = i.theta + i.w + t - 2 * Math.PI;
464
- r.theta < a && (r.theta = a, n = !0);
465
- }
466
- return e;
467
- });
468
- function pn(e, t, n, r) {
469
- let i = e - Math.PI / 2, a = t - Math.PI / 2, o = Math.cos(i) * n, s = Math.sin(i) * n, c = Math.cos(a) * n, l = Math.sin(a) * n, ee = Math.cos(a) * r, te = Math.sin(a) * r, ne = Math.cos(i) * r, re = Math.sin(i) * r, ie = +(t - e > Math.PI);
470
- return `M${o},${s} A${n},${n} 0 ${ie} 1 ${c},${l} L${ee},${te} A${r},${r} 0 ${ie} 0 ${ne},${re} Z`;
471
- }
472
- function mn(e, t) {
473
- let n = q.value.inner, r = e.startAngle - Math.PI / 2, i = e.endAngle - Math.PI / 2, a = t.startAngle - Math.PI / 2, o = t.endAngle - Math.PI / 2, s = Math.cos(r) * n, c = Math.sin(r) * n, l = Math.cos(i) * n, ee = Math.sin(i) * n, te = Math.cos(a) * n, ne = Math.sin(a) * n, re = Math.cos(o) * n, ie = Math.sin(o) * n;
474
- return `M${s},${c}A${n},${n} 0 ${+(e.endAngle - e.startAngle > Math.PI)} 1 ${l},${ee}Q0,0 ${te},${ne}A${n},${n} 0 ${+(t.endAngle - t.startAngle > Math.PI)} 1 ${re},${ie}Q0,0 ${s},${c}Z`;
475
- }
476
- let hn = d(() => X.value * Math.PI / 180);
477
- function gn(e) {
478
- return (e.startAngle + e.endAngle) / 2;
479
- }
480
- function _n(e) {
481
- return ((gn(e) + hn.value) % (2 * Math.PI) + 2 * Math.PI) % (2 * Math.PI);
482
- }
483
- function vn(e) {
484
- let t = e + hn.value;
485
- return t = (t % (2 * Math.PI) + 2 * Math.PI) % (2 * Math.PI), t > Math.PI ? "end" : "start";
486
- }
487
- function yn(e) {
488
- let t = e - Math.PI / 2;
489
- return `translate(${Math.cos(t) * (q.value.outer + z.value.labels.offset + 24)},${Math.sin(t) * (q.value.outer + z.value.labels.offset + 24)})`;
490
- }
491
- function bn(e, t, n) {
492
- let r = e - Math.PI / 2, i = t - Math.PI / 2, a = Math.cos(r) * n, o = Math.sin(r) * n, s = Math.cos(i) * n, c = Math.sin(i) * n;
493
- return `M${a},${o} A${n},${n} 0 ${+(t - e > Math.PI)} 1 ${s},${c}`;
494
- }
495
- let X = S(R.value.initialRotation), xn = S(!1), Sn = 0, Cn = 0;
496
- function wn(e) {
497
- let t = W.value.getBoundingClientRect(), n = t.left + t.width / 2, r = t.top + t.height / 2, i = e.clientX ?? e.touches[0].clientX, a = e.clientY ?? e.touches[0].clientY;
498
- return Math.atan2(a - r, i - n);
499
- }
500
- function Tn(e) {
501
- R.value.enableRotation && !zn.value && (e.preventDefault(), xn.value = !0, Sn = X.value, Cn = wn(e));
502
- }
503
- function En(e) {
504
- if (!xn.value) return;
505
- let t = wn(e);
506
- X.value = Sn + (t - Cn) * 180 / Math.PI;
507
- }
508
- function Dn() {
509
- xn.value = !1;
510
- }
511
- function On(e) {
512
- return ee(B.value.labels.formatter, e, t({
513
- p: B.value.labels.prefix,
514
- v: e,
515
- s: B.value.labels.suffix,
516
- r: B.value.labels.rounding
517
- }));
518
- }
519
- Pe(() => {
520
- window.addEventListener("mousemove", En), window.addEventListener("mouseup", Dn), window.addEventListener("touchmove", En, { passive: !1 }), window.addEventListener("touchend", Dn);
521
- }), Ne(() => {
522
- window.removeEventListener("mousemove", En), window.removeEventListener("mouseup", Dn), window.removeEventListener("touchmove", En), window.removeEventListener("touchend", Dn), clearTimeout(on.value), F.value && (zt.value && F.value.unobserve(zt.value), F.value.disconnect());
523
- });
524
- let kn = S(!1);
525
- function An(e) {
526
- kn.value = e, At.value += 1;
527
- }
528
- function jn(e, t) {
529
- R.value.events.datapointEnter && R.value.events.datapointEnter({
530
- datapoint: e,
531
- seriesIndex: t
532
- }), !N.value && (j.value = e);
533
- }
534
- function Mn(e, t) {
535
- j.value = null, R.value.events.datapointLeave && R.value.events.datapointLeave({
536
- datapoint: e,
537
- seriesIndex: t
538
- });
539
- }
540
- function Nn(e, t) {
541
- kt("selectGroup", e), R.value.events.datapointClick && R.value.events.datapointClick({
542
- datapoint: e,
543
- seriesIndex: t
544
- });
545
- }
546
- function Pn(e, t) {
547
- R.value.events.datapointEnter && R.value.events.datapointEnter({
548
- datapoint: e,
549
- seriesIndex: t
550
- }), !N.value && (M.value = e);
551
- }
552
- function Fn(e, t) {
553
- M.value = null, R.value.events.datapointLeave && R.value.events.datapointLeave({
554
- datapoint: e,
555
- seriesIndex: t
556
- });
557
- }
558
- function In(e, t) {
559
- kt("selectRibbon", e), R.value.events.datapointClick && R.value.events.datapointClick({
560
- datapoint: e,
561
- seriesIndex: t
562
- });
563
- }
564
- function Ln(e) {
565
- return !N.value && !j.value && !M.value ? .8 : (N.value ? N.value === e.source.groupId : j.value ? j.value.id === e.source.groupId : M.value?.id === e.id) ? 1 : .1;
566
- }
567
- function Rn(e) {
568
- return !N.value && !j.value && !M.value || (N.value ? N.value === e.id : j.value ? j.value.id === e.id : [M.value?.source.groupId, M.value?.target.groupId].includes(e.id)) ? 1 : .3;
569
- }
570
- let zn = S(!1);
571
- function Bn() {
572
- zn.value = !zn.value;
573
- }
574
- function Vn() {
575
- G.value.showTable = !G.value.showTable;
576
- }
577
- function Hn() {
578
- return Y.value;
579
- }
580
- let Z = S(null);
581
- function Un() {
582
- let e = R.value.initialRotation;
583
- Z.value !== null && cancelAnimationFrame(Z.value);
584
- let t = () => {
585
- X.value += (e - X.value) * .05, Math.abs(X.value - e) < .1 ? (X.value = e, Z.value = null) : Z.value = requestAnimationFrame(t);
586
- };
587
- Z.value = requestAnimationFrame(t);
588
- }
589
- Ne(() => {
590
- Z.value !== null && cancelAnimationFrame(Z.value);
591
- });
592
- function Wn(e) {
593
- e === N.value ? (N.value = null, kt("selectLegend", null)) : (N.value = e, kt("selectLegend", Y.value.groups.find((t) => t.id === e)));
594
- }
595
- let Gn = d(() => Y.value.groups.map((e, t) => ({
596
- name: e.name,
597
- color: e.color,
598
- shape: "circle",
599
- patternIndex: t,
600
- pattern: `pattern_${A.value}_${t}`,
601
- id: e.id,
602
- select: () => Wn(e.id),
603
- opacity: N.value ? N.value === e.id ? 1 : .3 : 1
604
- }))), Kn = d(() => ({
605
- cy: "chord-div-legend",
606
- backgroundColor: V.value.legend.backgroundColor,
607
- color: V.value.legend.color,
608
- fontSize: V.value.legend.fontSize,
609
- paddingBottom: 12,
610
- fontWeight: V.value.legend.bold ? "bold" : ""
611
- })), Q = d(() => ({
612
- head: Y.value.groups.map((e, t) => ({
613
- name: e.name || t,
614
- color: e.color
615
- })),
616
- body: J.value.matrix
617
- })), qn = d(() => {
618
- let e = [{
619
- name: "",
620
- color: null
621
- }, ...Q.value.head];
622
- return {
623
- colNames: e,
624
- head: e,
625
- body: Q.value.body.map((e, t) => [Q.value.head[t], ...Q.value.body[t]]),
626
- config: {
627
- th: {
628
- backgroundColor: R.value.table.th.backgroundColor,
629
- color: R.value.table.th.color,
630
- outline: R.value.table.th.outline
631
- },
632
- td: {
633
- backgroundColor: R.value.table.td.backgroundColor,
634
- color: R.value.table.td.color,
635
- outline: R.value.table.td.outline
636
- },
637
- breakpoint: R.value.table.responsiveBreakpoint
638
- }
639
- };
640
- });
641
- function Jn(e = null) {
642
- Me(() => {
643
- let t = J.value.matrix.map((e, t) => [[J.value.labels[t] || t], e]), n = [
644
- [V.value.title.text],
645
- [V.value.title.subtitle.text],
646
- [[""], ...J.value.labels.map((e, t) => [e || t])]
647
- ].concat(t), i = r(n);
648
- e ? e(i) : ne({
649
- csvContent: i,
650
- title: V.value.title.text || "vue-ui-chord"
651
- });
652
- });
653
- }
654
- async function Yn({ scale: e = 2 } = {}) {
655
- if (!P.value) return;
656
- let { width: t, height: n } = P.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ge({
657
- domElement: P.value,
658
- base64: !0,
659
- img: !0,
660
- scale: e
661
- });
662
- return {
663
- imageUri: i,
664
- base64: a,
665
- title: V.value.title.text,
666
- width: t,
667
- height: n,
668
- aspectRatio: r
669
- };
670
- }
671
- function Xn(e, n) {
672
- return `${J.value.labels[n]}${z.value.labels.showPercentage ? t({
673
- p: " (",
674
- v: isNaN(e.proportion) ? 0 : e.proportion * 100,
675
- s: "%)",
676
- r: z.value.labels.roundingPercentage
677
- }) : ""}`;
678
- }
679
- let Zn = d(() => {
680
- let e = R.value.table.useDialog && !R.value.table.show, t = G.value.showTable;
681
- return {
682
- component: e ? Tt : yt,
683
- title: `${V.value.title.text}${V.value.title.subtitle.text ? `: ${V.value.title.subtitle.text}` : ""}`,
684
- props: e ? {
685
- backgroundColor: R.value.table.th.backgroundColor,
686
- color: R.value.table.th.color,
687
- headerColor: R.value.table.th.color,
688
- headerBg: R.value.table.th.backgroundColor,
689
- isFullscreen: kn.value,
690
- fullscreenParent: P.value,
691
- forcedWidth: Math.min(800, window.innerWidth * .8),
692
- isCursorPointer: H.value
693
- } : {
694
- hideDetails: !0,
695
- config: {
696
- open: t,
697
- maxHeight: 1e4,
698
- body: {
699
- backgroundColor: V.value.backgroundColor,
700
- color: V.value.color
701
- },
702
- head: {
703
- backgroundColor: V.value.backgroundColor,
704
- color: V.value.color
705
- }
706
- }
707
- }
708
- };
709
- });
710
- ze(() => G.value.showTable, (e) => {
711
- R.value.table.show || (e && R.value.table.useDialog && Vt.value ? Vt.value.open() : "close" in Vt.value && Vt.value.close());
712
- });
713
- function Qn() {
714
- G.value.showTable = !1, Ht.value && Ht.value.setTableIconState(!1);
715
- }
716
- let $n = d(() => V.value.backgroundColor), er = d(() => V.value.legend), tr = d(() => V.value.title), { isCallbackImaging: nr, isCallbackSvg: rr, generateSvg: ir, onGenerateImage: ar } = he({
717
- svg: W,
718
- title: tr,
719
- legend: er,
720
- legendItems: Gn,
721
- backgroundColor: $n,
722
- getSvgCallback: () => R.value.userOptions.callbacks.svg,
723
- generateImage: $t
724
- });
725
- async function or() {
726
- if (kt("copyAlt", {
727
- config: R.value,
728
- dataset: J.value
729
- }), !R.value.userOptions.callbacks.altCopy) {
730
- console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
731
- return;
732
- }
733
- await Promise.resolve(R.value.userOptions.callbacks.altCopy({
734
- config: R.value,
735
- dataset: J.value
736
- }));
737
- }
738
- let sr = d(() => (j.value ? Y.value.chords.filter((e) => e.source.groupId === j.value.id) : N.value ? Y.value.chords.filter((e) => e.source.groupId === N.value) : Y.value.chords).filter((e) => e.source.value)), $ = d(() => ({
739
- groups: Y.value.groups.map((e, t) => ({
740
- type: "group",
741
- index: t,
742
- item: e
743
- })),
744
- ribbons: sr.value.map((e, t) => ({
745
- type: "ribbon",
746
- index: t,
747
- item: {
748
- ...e,
749
- path: mn(e.source, e.target),
750
- color: J.value.colors[e.source.index]
751
- }
752
- }))
753
- })), cr = d(() => ({
754
- headers: ["", ...Q.value.head.map((e) => e.name)],
755
- rows: Q.value.body.map((e, t) => [Q.value.head[t]?.name ?? `${t}`, ...e.map((e) => On(e))])
756
- }));
757
- function lr(e) {
758
- let t = $.value.groups[e];
759
- t && (I.value = "group", L.value = e, M.value = null, j.value = t.item);
760
- }
761
- function ur(e) {
762
- let t = $.value.ribbons[e];
763
- t && (I.value = "ribbon", L.value = e, j.value = null, M.value = t.item);
764
- }
765
- function dr() {
766
- L.value = null, I.value = "group", j.value = null, M.value = null;
767
- }
768
- function fr() {
769
- Ut.value = !0, I.value = "group", L.value = null;
770
- }
771
- function pr() {
772
- Ut.value = !1, dr();
773
- }
774
- function mr(e) {
775
- if (!W.value || zn.value || document.activeElement !== W.value) return;
776
- let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "ArrowUp", i = e.key === "ArrowDown", a = e.key === "Enter" || e.key === " ", o = e.key === "Escape";
777
- if (!t && !n && !r && !i && !a && !o) return;
778
- if (e.preventDefault(), e.stopPropagation(), o) {
779
- dr();
780
- return;
781
- }
782
- if (r) {
783
- I.value = "group", $.value.groups.length && lr(L.value === null ? 0 : Math.min(L.value, $.value.groups.length - 1));
784
- return;
785
- }
786
- if (i) {
787
- if (!$.value.ribbons.length) return;
788
- I.value = "ribbon", ur(L.value === null ? 0 : Math.min(L.value, $.value.ribbons.length - 1));
789
- return;
790
- }
791
- if (a) {
792
- if (I.value === "group") {
793
- let e = $.value.groups[L.value];
794
- e && Nn(e.item, e.index);
795
- } else {
796
- let e = $.value.ribbons[L.value];
797
- e && In(e.item, e.index);
798
- }
799
- return;
800
- }
801
- let s = I.value === "group" ? $.value.groups : $.value.ribbons;
802
- if (!s.length) return;
803
- let c = L.value;
804
- c === null || c < 0 || c >= s.length ? c = n ? 0 : s.length - 1 : n ? (c += 1, c >= s.length && (c = 0)) : t && (--c, c < 0 && (c = s.length - 1)), I.value === "group" ? lr(c) : ur(c);
805
- }
806
- return ye({
807
- getData: Hn,
808
- getImage: Yn,
809
- generateCsv: Jn,
810
- generateImage: $t,
811
- generateSvg: ir,
812
- generatePdf: Qt,
813
- toggleAnnotator: Bn,
814
- toggleTable: Vn,
815
- toggleFullscreen: An,
816
- copyAlt: or
817
- }), (e, n) => (x(), m("div", {
818
- ref_key: "chordChart",
819
- ref: P,
820
- class: v({
821
- "vue-data-ui-component": !0,
822
- "vue-ui-chord": !0,
823
- "vue-data-ui-wrapper-fullscreen": kn.value,
824
- "vue-data-ui-responsive": R.value.responsive
825
- }),
826
- style: b(`font-family:${R.value.style.fontFamily};width:100%; text-align:center;background:${V.value.backgroundColor}`),
827
- id: `chord_${A.value}`,
828
- onMouseenter: n[2] ||= () => E(Jt)(!0),
829
- onMouseleave: n[3] ||= () => E(Jt)(!1)
830
- }, [
831
- h("div", {
832
- id: `chart-instructions-${A.value}`,
833
- class: "sr-only"
834
- }, [h("p", null, T(R.value.a11y.translations.keyboardNavigation), 1)], 8, Ue),
835
- cr.value?.rows?.length ? (x(), f(Se, {
836
- key: 0,
837
- uid: A.value,
838
- head: cr.value.headers,
839
- body: cr.value.rows,
840
- notice: R.value.a11y.translations.tableAvailable,
841
- caption: R.value.a11y.translations.tableCaption
842
- }, null, 8, [
843
- "uid",
844
- "head",
845
- "body",
846
- "notice",
847
- "caption"
848
- ])) : p("", !0),
849
- R.value.userOptions.buttons.annotator && E(W) ? (x(), f(E(Ct), {
850
- key: 1,
851
- color: V.value.color,
852
- backgroundColor: V.value.backgroundColor,
853
- active: zn.value,
854
- svgRef: E(W),
855
- isCursorPointer: H.value,
856
- palette: R.value.userOptions.annotatorPalette,
857
- onClose: Bn
858
- }, {
859
- "annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
860
- "annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", y(_({ color: t })), void 0, !0)]),
861
- "annotator-action-draw": D(({ mode: t }) => [w(e.$slots, "annotator-action-draw", y(_({ mode: t })), void 0, !0)]),
862
- "annotator-action-undo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-undo", y(_({ disabled: t })), void 0, !0)]),
863
- "annotator-action-redo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-redo", y(_({ disabled: t })), void 0, !0)]),
864
- "annotator-action-delete": D(({ disabled: t }) => [w(e.$slots, "annotator-action-delete", y(_({ disabled: t })), void 0, !0)]),
865
- _: 3
866
- }, 8, [
867
- "color",
868
- "backgroundColor",
869
- "active",
870
- "svgRef",
871
- "isCursorPointer",
872
- "palette"
873
- ])) : p("", !0),
874
- w(e.$slots, "userConfig", {}, void 0, !0),
875
- sn.value ? (x(), m("div", {
876
- key: 2,
877
- ref_key: "noTitle",
878
- ref: Pt,
879
- class: "vue-data-ui-no-title-space",
880
- style: "height:36px; width: 100%;background:transparent"
881
- }, null, 512)) : p("", !0),
882
- V.value.title.text ? (x(), m("div", {
883
- key: 3,
884
- ref_key: "chartTitle",
885
- ref: jt,
886
- style: "width:100%;background:transparent;padding-bottom:24px"
887
- }, [(x(), f(_e, {
888
- key: `title_${Ft.value}`,
889
- config: {
890
- title: {
891
- cy: "chord-div-title",
892
- ...V.value.title
893
- },
894
- subtitle: {
895
- cy: "chord-div-subtitle",
896
- ...V.value.title.subtitle
897
- }
898
- }
899
- }, null, 8, ["config"]))], 512)) : p("", !0),
900
- h("div", { id: `legend-top-${A.value}` }, null, 8, We),
901
- R.value.userOptions.show && k.value && (E(Yt) || E(qt)) ? (x(), f(E(wt), {
902
- ref_key: "userOptionsRef",
903
- ref: Ht,
904
- key: `user_option_${At.value}`,
905
- backgroundColor: V.value.backgroundColor,
906
- color: V.value.color,
907
- isPrinting: E(Xt),
908
- isImaging: E(Zt),
909
- uid: A.value,
910
- hasTooltip: !1,
911
- hasPdf: R.value.userOptions.buttons.pdf,
912
- hasImg: R.value.userOptions.buttons.img,
913
- hasSvg: R.value.userOptions.buttons.svg,
914
- hasXls: R.value.userOptions.buttons.csv,
915
- hasTable: R.value.userOptions.buttons.table,
916
- hasLabel: !1,
917
- hasFullscreen: R.value.userOptions.buttons.fullscreen,
918
- hasAltCopy: R.value.userOptions.buttons.altCopy,
919
- isFullscreen: kn.value,
920
- chartElement: P.value,
921
- position: R.value.userOptions.position,
922
- titles: { ...R.value.userOptions.buttonTitles },
923
- hasAnnotator: R.value.userOptions.buttons.annotator,
924
- isAnnotation: zn.value,
925
- callbacks: R.value.userOptions.callbacks,
926
- printScale: R.value.userOptions.print.scale,
927
- tableDialog: R.value.table.useDialog,
928
- isCursorPointer: H.value,
929
- onToggleFullscreen: An,
930
- onGeneratePdf: E(Qt),
931
- onGenerateCsv: Jn,
932
- onGenerateImage: E(ar),
933
- onGenerateSvg: E(ir),
934
- onToggleTable: Vn,
935
- onToggleAnnotator: Bn,
936
- onCopyAlt: or,
937
- style: b({ visibility: E(Yt) ? E(qt) ? "visible" : "hidden" : "visible" })
938
- }, Oe({ _: 2 }, [
939
- e.$slots.menuIcon ? {
940
- name: "menuIcon",
941
- fn: D(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", y(_({
942
- isOpen: t,
943
- color: n
944
- })), void 0, !0)]),
945
- key: "0"
946
- } : void 0,
947
- e.$slots.optionPdf ? {
948
- name: "optionPdf",
949
- fn: D(() => [w(e.$slots, "optionPdf", {}, void 0, !0)]),
950
- key: "1"
951
- } : void 0,
952
- e.$slots.optionCsv ? {
953
- name: "optionCsv",
954
- fn: D(() => [w(e.$slots, "optionCsv", {}, void 0, !0)]),
955
- key: "2"
956
- } : void 0,
957
- e.$slots.optionImg ? {
958
- name: "optionImg",
959
- fn: D(() => [w(e.$slots, "optionImg", {}, void 0, !0)]),
960
- key: "3"
961
- } : void 0,
962
- e.$slots.optionSvg ? {
963
- name: "optionSvg",
964
- fn: D(() => [w(e.$slots, "optionSvg", {}, void 0, !0)]),
965
- key: "4"
966
- } : void 0,
967
- e.$slots.optionTable ? {
968
- name: "optionTable",
969
- fn: D(() => [w(e.$slots, "optionTable", {}, void 0, !0)]),
970
- key: "5"
971
- } : void 0,
972
- e.$slots.optionFullscreen ? {
973
- name: "optionFullscreen",
974
- fn: D(({ toggleFullscreen: t, isFullscreen: n }) => [w(e.$slots, "optionFullscreen", y(_({
975
- toggleFullscreen: t,
976
- isFullscreen: n
977
- })), void 0, !0)]),
978
- key: "6"
979
- } : void 0,
980
- e.$slots.optionAnnotator ? {
981
- name: "optionAnnotator",
982
- fn: D(({ toggleAnnotator: t, isAnnotator: n }) => [w(e.$slots, "optionAnnotator", y(_({
983
- toggleAnnotator: t,
984
- isAnnotator: n
985
- })), void 0, !0)]),
986
- key: "7"
987
- } : void 0,
988
- e.$slots.optionAltCopy ? {
989
- name: "optionAltCopy",
990
- fn: D(({ altCopy: t }) => [w(e.$slots, "optionAltCopy", y(_({ altCopy: t })), void 0, !0)]),
991
- key: "8"
992
- } : void 0,
993
- e.$slots["custom-menu-before"] ? {
994
- name: "custom-menu-before",
995
- fn: D(() => [w(e.$slots, "custom-menu-before", {}, void 0, !0)]),
996
- key: "9"
997
- } : void 0,
998
- e.$slots["custom-menu-after"] ? {
999
- name: "custom-menu-after",
1000
- fn: D(() => [w(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1001
- key: "10"
1002
- } : void 0
1003
- ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.chartElement.position.titles.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : p("", !0),
1004
- (x(), m("svg", {
1005
- xmlns: E(ie),
1006
- ref_key: "svgRef",
1007
- ref: W,
1008
- viewBox: `0 0 ${K.value.width} ${K.value.height}`,
1009
- "aria-describedby": `chart-instructions-${A.value}`,
1010
- tabindex: "0",
1011
- preserveAspectRatio: "xMidYMid meet",
1012
- style: { overflow: "visible" },
1013
- class: v({
1014
- "vue-ui-chord-rotating": xn.value,
1015
- "vue-ui-chord-idle": !xn.value
1016
- }),
1017
- onMousedown: Be(Tn, ["prevent"]),
1018
- onTouchstart: Be(Tn, ["prevent"]),
1019
- onFocus: fr,
1020
- onBlur: pr,
1021
- onKeydown: mr
1022
- }, [
1023
- Ae(E(St)),
1024
- e.$slots["chart-background"] ? (x(), m("foreignObject", {
1025
- key: 0,
1026
- x: 0,
1027
- y: 0,
1028
- width: K.value.width <= 0 ? 10 : K.value.width,
1029
- height: K.value.height <= 0 ? 10 : K.value.height,
1030
- style: { pointerEvents: "none" }
1031
- }, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, Ke)) : p("", !0),
1032
- z.value.labels.curved ? (x(), m("defs", qe, [(x(!0), m(u, null, C(Y.value.groups, (e, t) => (x(), m("path", {
1033
- key: `labelPath-${t}`,
1034
- id: `labelPath-${t}_${A.value}`,
1035
- d: bn(e.startAngle, e.endAngle, (q.value.inner + q.value.outer) / 2 + z.value.labels.offset),
1036
- fill: "none"
1037
- }, null, 8, Je))), 128))])) : p("", !0),
1038
- e.$slots.pattern ? (x(), m("g", Ye, [(x(!0), m(u, null, C(Y.value.groups, (t, n) => (x(), m("defs", null, [w(e.$slots, "pattern", je({ ref_for: !0 }, {
1039
- seriesIndex: t.index,
1040
- patternId: `pattern_${A.value}_${n}`
1041
- }), void 0, !0)]))), 256))])) : p("", !0),
1042
- h("g", { transform: `translate(${K.value.width / 2}, ${K.value.height / 2}) rotate(${X.value})` }, [
1043
- (x(!0), m(u, null, C(Y.value.groups, (t, n) => (x(), m("g", null, [(x(), m("path", {
1044
- class: v({
1045
- "vue-ui-chord-arc": !0,
1046
- "vue-ui-chord-arc-animated": R.value.useCssAnimation && !Rt.value
1047
- }),
1048
- key: `arc-${n}`,
1049
- d: pn(t.startAngle, t.endAngle, q.value.outer, q.value.inner),
1050
- fill: J.value.colors[n],
1051
- stroke: z.value.stroke,
1052
- "stroke-width": z.value.strokeWidth,
1053
- "stroke-linecap": "round",
1054
- "stroke-linejoin": "round",
1055
- style: b({ opacity: Rn(t) }),
1056
- onMouseenter: (e) => jn(t, n),
1057
- onMouseleave: (e) => Mn(t, n),
1058
- onClick: (e) => Nn(t, n)
1059
- }, null, 46, Ze)), e.$slots.pattern ? (x(), m("path", {
1060
- class: v({
1061
- "vue-ui-chord-arc": !0,
1062
- "vue-ui-chord-arc-animated": R.value.useCssAnimation && !Rt.value
1063
- }),
1064
- key: `arc-${n}`,
1065
- d: pn(t.startAngle, t.endAngle, q.value.outer, q.value.inner),
1066
- fill: `url(#${t.pattern})`,
1067
- stroke: z.value.stroke,
1068
- "stroke-width": z.value.strokeWidth,
1069
- "stroke-linecap": "round",
1070
- "stroke-linejoin": "round",
1071
- style: b({
1072
- opacity: Rn(t),
1073
- pointerEvents: "none"
1074
- })
1075
- }, null, 14, Qe)) : p("", !0)]))), 256)),
1076
- h("g", null, [
1077
- (x(!0), m(u, null, C(j.value ? Y.value.chords.filter((e) => e.source.groupId === j.value.id) : N.value ? Y.value.chords.filter((e) => e.source.groupId === N.value) : Y.value.chords, (t, n) => (x(), m(u, { key: `ribbon-${t.id}` }, [
1078
- t.source.value ? (x(), m("path", {
1079
- key: 0,
1080
- class: v({ "vue-ui-chord-ribbon": !0 }),
1081
- d: mn(t.source, t.target),
1082
- fill: V.value.backgroundColor,
1083
- style: b({ opacity: B.value.underlayerOpacity })
1084
- }, null, 12, $e)) : p("", !0),
1085
- t.source.value ? (x(), m("path", {
1086
- key: 1,
1087
- class: v({ "vue-ui-chord-ribbon": !0 }),
1088
- d: mn(t.source, t.target),
1089
- fill: J.value.colors[t.source.index],
1090
- stroke: B.value.stroke,
1091
- "stroke-width": B.value.strokeWidth,
1092
- "stroke-linecap": "round",
1093
- "stroke-linejoin": "round",
1094
- style: b({ opacity: Ln(t) }),
1095
- onMouseenter: (e) => Pn({
1096
- ...t,
1097
- path: mn(t.source, t.target),
1098
- color: J.value.colors[t.source.index]
1099
- }, n),
1100
- onClick: (e) => In({
1101
- ...t,
1102
- color: J.value.colors[t.source.index]
1103
- }, n),
1104
- onMouseleave: (e) => Fn({
1105
- ...t,
1106
- color: J.value.colors[t.source.index]
1107
- }, n)
1108
- }, null, 44, et)) : p("", !0),
1109
- t.source.value && e.$slots.pattern ? (x(), m("path", {
1110
- key: 2,
1111
- class: v({ "vue-ui-chord-ribbon": !0 }),
1112
- d: mn(t.source, t.target),
1113
- fill: `url(#pattern_${A.value}_${t.source.index})`,
1114
- stroke: B.value.stroke,
1115
- "stroke-width": B.value.strokeWidth,
1116
- "stroke-linecap": "round",
1117
- "stroke-linejoin": "round",
1118
- style: b({
1119
- opacity: Ln(t),
1120
- pointerEvents: "none"
1121
- })
1122
- }, null, 12, tt)) : p("", !0)
1123
- ], 64))), 128)),
1124
- M.value ? (x(), m("path", {
1125
- key: 0,
1126
- d: M.value.path,
1127
- fill: M.value.color,
1128
- stroke: B.value.stroke,
1129
- "stroke-width": B.value.strokeWidth,
1130
- "stroke-linecap": "round",
1131
- "stroke-linejoin": "round",
1132
- class: v({ "vue-ui-chord-ribbon": !0 }),
1133
- style: { pointerEvents: "none" }
1134
- }, null, 8, nt)) : p("", !0),
1135
- M.value && e.$slots.pattern ? (x(), m("path", {
1136
- key: 1,
1137
- d: M.value.path,
1138
- fill: `url(#${M.value.source.pattern})`,
1139
- stroke: B.value.stroke,
1140
- "stroke-width": B.value.strokeWidth,
1141
- "stroke-linecap": "round",
1142
- "stroke-linejoin": "round",
1143
- class: v({ "vue-ui-chord-ribbon": !0 }),
1144
- style: { pointerEvents: "none" }
1145
- }, null, 8, rt)) : p("", !0)
1146
- ]),
1147
- (j.value || M.value || N.value) && B.value.labels.show ? (x(), m("g", it, [(x(!0), m(u, null, C(fn.value, (e) => (x(), m(u, { key: e.id }, [
1148
- h("line", {
1149
- x1: e.midBaseX,
1150
- y1: e.midBaseY,
1151
- x2: Math.cos(e.theta - Math.PI / 2) * (q.value.outer + B.value.labels.offset + 12),
1152
- y2: Math.sin(e.theta - Math.PI / 2) * (q.value.outer + B.value.labels.offset + 12),
1153
- stroke: V.value.backgroundColor,
1154
- "stroke-width": B.value.labels.connector.strokeWidth * 3,
1155
- "pointer-events": "none"
1156
- }, null, 8, at),
1157
- h("line", {
1158
- x1: e.midBaseX,
1159
- y1: e.midBaseY,
1160
- x2: Math.cos(e.theta - Math.PI / 2) * (q.value.outer + B.value.labels.offset + 12),
1161
- y2: Math.sin(e.theta - Math.PI / 2) * (q.value.outer + B.value.labels.offset + 12),
1162
- stroke: B.value.labels.connector.stroke,
1163
- "stroke-width": B.value.labels.connector.strokeWidth,
1164
- "pointer-events": "none"
1165
- }, null, 8, ot),
1166
- B.value.labels.marker.show ? (x(), m("circle", {
1167
- key: 0,
1168
- cx: Math.cos(e.theta - Math.PI / 2) * (q.value.outer + B.value.labels.offset + 12),
1169
- cy: Math.sin(e.theta - Math.PI / 2) * (q.value.outer + B.value.labels.offset + 12),
1170
- r: B.value.labels.marker.radius,
1171
- stroke: B.value.labels.marker.stroke,
1172
- "stroke-width": B.value.labels.marker.strokeWidth,
1173
- fill: e.groupColor,
1174
- "pointer-events": "none"
1175
- }, null, 8, st)) : p("", !0),
1176
- h("text", {
1177
- transform: `
1178
- translate(
1179
- ${Math.cos(e.theta - Math.PI / 2) * (q.value.outer + B.value.labels.offset + 24)},
1180
- ${Math.sin(e.theta - Math.PI / 2) * (q.value.outer + B.value.labels.offset + 24)}
1181
- ) rotate(${-X.value})
1182
- `,
1183
- fill: B.value.labels.useSerieColor ? e.groupColor : B.value.labels.color,
1184
- "text-anchor": vn(e.theta),
1185
- "font-size": B.value.labels.fontSize,
1186
- "font-weight": B.value.labels.bold ? "bold" : "normal",
1187
- dy: ".35em",
1188
- "pointer-events": "none"
1189
- }, T(On(e.value)), 9, ct)
1190
- ], 64))), 128))])) : p("", !0),
1191
- z.value.labels.show ? (x(), m("g", lt, [z.value.labels.curved ? (x(!0), m(u, { key: 0 }, C(Y.value.groups, (e, n) => (x(), m("text", {
1192
- class: "vue-ui-chord-label-curved",
1193
- key: `curved-label-${n}`,
1194
- "font-size": z.value.labels.fontSize,
1195
- "font-weight": z.value.labels.bold ? "bold" : "normal",
1196
- fill: z.value.labels.adaptColorToBackground ? E(re)(J.value.colors[n]) : z.value.labels.color
1197
- }, [h("textPath", {
1198
- href: `#labelPath-${n}_${A.value}`,
1199
- startOffset: "50%",
1200
- "text-anchor": "middle"
1201
- }, T(J.value.labels[n]) + T(z.value.labels.showPercentage ? E(t)({
1202
- p: " (",
1203
- v: isNaN(e.proportion) ? 0 : e.proportion * 100,
1204
- s: "%)",
1205
- r: z.value.labels.roundingPercentage
1206
- }) : ""), 9, dt)], 8, ut))), 128)) : !j.value && !M.value && !N.value ? (x(!0), m(u, { key: 1 }, C(Y.value.groups, (e, t) => (x(), m("text", {
1207
- class: "vue-ui-chord-label-straight",
1208
- key: `label-${t}`,
1209
- transform: `
1210
- ${yn((e.startAngle + e.endAngle) / 2)}
1211
- rotate(${-X.value})
1212
- `,
1213
- dy: ".35em",
1214
- "text-anchor": _n(e) > Math.PI ? "end" : "start",
1215
- "font-size": z.value.labels.fontSize,
1216
- "font-weight": z.value.labels.bold ? "bold" : "normal",
1217
- fill: z.value.labels.color,
1218
- innerHTML: E(c)({
1219
- content: E(te)(Xn(e, t)),
1220
- fontSize: z.value.labels.fontSize,
1221
- fill: z.value.labels.color,
1222
- x: 0,
1223
- y: 0
1224
- })
1225
- }, null, 8, ft))), 128)) : p("", !0)])) : p("", !0)
1226
- ], 8, Xe),
1227
- w(e.$slots, "svg", { svg: {
1228
- height: 600,
1229
- width: 600,
1230
- isPrintingImg: E(Xt) || E(Zt) || E(nr),
1231
- isPrintingSvg: E(rr)
1232
- } }, void 0, !0)
1233
- ], 42, Ge)),
1234
- e.$slots.hint ? (x(), m("div", pt, [w(e.$slots, "hint", y(_({
1235
- hint: R.value.a11y.translations.keyboardNavigation,
1236
- isVisible: Ut.value
1237
- })), void 0, !0)])) : p("", !0),
1238
- e.$slots.watermark ? (x(), m("div", mt, [w(e.$slots, "watermark", y(_({ isPrinting: E(Xt) || E(Zt) || E(nr) || E(rr) })), void 0, !0)])) : p("", !0),
1239
- h("div", { id: `legend-bottom-${A.value}` }, null, 8, ht),
1240
- Bt.value && (V.value.legend.show || e.$slots.legend) ? (x(), f(De, {
1241
- key: 7,
1242
- to: V.value.legend.position === "top" ? `#legend-top-${A.value}` : `#legend-bottom-${A.value}`
1243
- }, [h("div", {
1244
- ref_key: "chartLegend",
1245
- ref: Mt
1246
- }, [w(e.$slots, "legend", { legend: Gn.value }, () => [V.value.legend.show ? (x(), f(Te, {
1247
- key: `legend_${Lt.value}`,
1248
- legendSet: Gn.value,
1249
- config: Kn.value,
1250
- isCursorPointer: H.value,
1251
- onClickMarker: n[0] ||= ({ legend: e }) => Wn(e.id)
1252
- }, Oe({
1253
- item: D(({ legend: e }) => [h("div", {
1254
- style: b({ opacity: N.value ? N.value === e.id ? 1 : .3 : 1 }),
1255
- onClick: (t) => e.select()
1256
- }, T(e.name), 13, gt)]),
1257
- _: 2
1258
- }, [e.$slots.pattern ? {
1259
- name: "legend-pattern",
1260
- fn: D(({ legend: e, index: t }) => [Ae(ve, {
1261
- shape: e.shape,
1262
- radius: 30,
1263
- stroke: "none",
1264
- plot: {
1265
- x: 30,
1266
- y: 30
1267
- },
1268
- fill: `url(#pattern_${A.value}_${t})`
1269
- }, null, 8, ["shape", "fill"])]),
1270
- key: "0"
1271
- } : void 0]), 1032, [
1272
- "legendSet",
1273
- "config",
1274
- "isCursorPointer"
1275
- ])) : p("", !0)], !0)], 512)], 8, ["to"])) : p("", !0),
1276
- e.$slots.source ? (x(), m("div", {
1277
- key: 8,
1278
- ref_key: "source",
1279
- ref: Nt,
1280
- dir: "auto"
1281
- }, [w(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
1282
- X.value === R.value.initialRotation ? p("", !0) : (x(), m("div", _t, [w(e.$slots, "reset-action", { reset: Un }, () => [h("button", {
1283
- "data-cy-reset": "",
1284
- tabindex: "0",
1285
- role: "button",
1286
- class: "vue-data-ui-refresh-button",
1287
- style: b({
1288
- background: V.value.backgroundColor,
1289
- cursor: H.value ? "pointer" : "default"
1290
- }),
1291
- onClick: Un
1292
- }, [Ae(E(bt), {
1293
- name: "refresh",
1294
- stroke: V.value.color
1295
- }, null, 8, ["stroke"])], 4)], !0)])),
1296
- k.value && R.value.userOptions.buttons.table ? (x(), f(Fe(Zn.value.component), je({ key: 10 }, Zn.value.props, {
1297
- ref_key: "tableUnit",
1298
- ref: Vt,
1299
- onClose: Qn
1300
- }), Oe({
1301
- content: D(() => [(x(), f(E(xt), {
1302
- key: `table_${It.value}`,
1303
- colNames: qn.value.colNames,
1304
- head: qn.value.head,
1305
- body: qn.value.body,
1306
- config: qn.value.config,
1307
- title: R.value.table.useDialog ? "" : Zn.value.title,
1308
- withCloseButton: !R.value.table.useDialog,
1309
- isCursorPointer: H.value,
1310
- onClose: Qn
1311
- }, {
1312
- th: D(({ th: e }) => [ke(T(e.name), 1)]),
1313
- td: D(({ td: e }) => [h("div", vt, T(e.name ? e.name : On(e)), 1)]),
1314
- _: 1
1315
- }, 8, [
1316
- "colNames",
1317
- "head",
1318
- "body",
1319
- "config",
1320
- "title",
1321
- "withCloseButton",
1322
- "isCursorPointer"
1323
- ]))]),
1324
- _: 2
1325
- }, [R.value.table.useDialog ? {
1326
- name: "title",
1327
- fn: D(() => [ke(T(Zn.value.title), 1)]),
1328
- key: "0"
1329
- } : void 0, R.value.table.useDialog ? {
1330
- name: "actions",
1331
- fn: D(() => [h("button", {
1332
- tabindex: "0",
1333
- class: "vue-ui-user-options-button",
1334
- onClick: n[1] ||= (e) => Jn(R.value.userOptions.callbacks.csv),
1335
- style: b({ cursor: H.value ? "pointer" : "default" })
1336
- }, [Ae(E(bt), {
1337
- name: "fileCsv",
1338
- stroke: Zn.value.props.color
1339
- }, null, 8, ["stroke"])], 4)]),
1340
- key: "1"
1341
- } : void 0]), 1040)) : p("", !0),
1342
- w(e.$slots, "skeleton", {}, () => [E(Gt) ? (x(), f(fe, { key: 0 })) : p("", !0)], !0)
1343
- ], 46, He));
1344
- }
1345
- }, [["__scopeId", "data-v-0f098698"]]);
1346
- //#endregion
1347
- export { Ve as n, yt as t };