vue-data-ui 3.17.13 → 3.18.0

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