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
@@ -1,1108 +0,0 @@
1
- import { defineAsyncComponent as L, ref as n, computed as d, toRefs as Kt, onMounted as Yt, watch as Qe, openBlock as u, createElementBlock as p, unref as r, normalizeStyle as X, normalizeClass as ae, createElementVNode as C, toDisplayString as oe, createBlock as $, createCommentVNode as h, withCtx as i, renderSlot as c, normalizeProps as b, guardReactiveProps as m, createSlots as Ze, createVNode as ke, Fragment as et, renderList as tt, Teleport as qt, resolveDynamicComponent as Jt, mergeProps as Qt, createTextVNode as lt, nextTick as ne } from "vue";
2
- import { j as at, t as ot, o as Zt, q as nt, r as el, m as tl, p as se, n as ll, a8 as st, s as al, ad as ol, k as ut, l as D, X as nl, T as rt, a0 as sl, a1 as ul, U as rl } from "./lib-DMzrGQHK.js";
3
- import { b as il } from "./labelUtils-DX9oyq3C.js";
4
- import { t as cl, u as vl } from "./useResponsive-DfdjqQps.js";
5
- import { u as dl } from "./useConfig-CG4HT3wS.js";
6
- import { u as hl, B as gl } from "./BaseScanner-C2j3TsSY.js";
7
- import { u as pl } from "./usePrinter-C4t8DdQ-.js";
8
- import { u as fl } from "./useSvgExport-BTG4hVPO.js";
9
- import { u as Ce } from "./useNestedProp-DH0BEVVS.js";
10
- import { u as yl } from "./useThemeCheck-C9Ccl7U9.js";
11
- import { u as bl } from "./useUserOptionState-B7Ej974k.js";
12
- import { u as ml } from "./useChartAccessibility-cp6XQtqi.js";
13
- import kl from "./img-CjTQXS0U.js";
14
- import Cl from "./Title-BbKoiBk2.js";
15
- import wl from "./Legend-DGN5lY60.js";
16
- import Tl from "./vue_ui_galaxy-D95AN4FT.js";
17
- import { A as $l } from "./A11yDataTable-BpmuNomI.js";
18
- import { B as xl } from "./BaseLegendToggle-cMP8M2u0.js";
19
- import { _ as Sl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
20
- const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative" } }, Ll = ["xmlns", "aria-describedby", "viewBox"], Dl = ["width", "height"], Fl = ["id"], Nl = ["stdDeviation"], _l = ["d", "stroke", "stroke-width"], Bl = ["d", "stroke", "stroke-width"], Vl = ["filter"], El = ["d", "stroke", "stroke-width"], Ml = ["data-a11y-serie-id", "d", "stroke-width", "aria-label", "onMouseenter", "onMouseleave", "onClick"], Rl = {
21
- key: 0,
22
- style: { position: "absolute", top: "100%", left: "0", width: "100%" },
23
- "data-dom-to-png-ignore": "",
24
- "aria-hidden": "true"
25
- }, Ul = {
26
- key: 5,
27
- class: "vue-data-ui-watermark"
28
- }, zl = ["id"], Wl = ["onClick"], Gl = ["innerHTML"], Hl = {
29
- __name: "vue-ui-galaxy",
30
- props: {
31
- config: {
32
- type: Object,
33
- default() {
34
- return {};
35
- }
36
- },
37
- dataset: {
38
- type: Array,
39
- default() {
40
- return [];
41
- }
42
- }
43
- },
44
- emits: ["selectLegend", "selectDatapoint", "copyAlt"],
45
- setup(it, { expose: ct, emit: vt }) {
46
- const dt = L(() => import("./Tooltip-Cvt7Fi0Q.js")), ht = L(() => import("./BaseIcon-DX0hTWa-.js")), gt = L(() => import("./vue-ui-accordion-DFtpH_16.js")), pt = L(() => import("./DataTable-cMnb68Ik.js")), ft = L(
47
- () => import("./PenAndPaper-CJDoB5H9.js")
48
- ), yt = L(
49
- () => import("./UserOptions-DVduN6X7.js")
50
- ), bt = L(
51
- () => import("./PackageVersion-BfrCAH6_.js")
52
- ), mt = L(
53
- () => import("./BaseDraggableDialog-Di8Hlru3.js")
54
- ), { vue_ui_galaxy: kt } = dl(), { isThemeValid: Ct, warnInvalidTheme: wt } = yl(), T = it, k = n(at()), x = n(null), j = n(!1), ue = n(""), P = n(null), we = n(0), Te = n(0), $e = n(0), xe = n(0), Se = n(null), Pe = n(null), Ae = n(null), Oe = n(null), M = n(null), K = n(null), Ie = n(!1), R = n(null), re = n(null), Y = n(!1), q = n(!1), B = n(null), J = n(null), Le = n({ x: 0, y: 0 }), ie = n("pointer"), Q = n(!1), De = d(() => !!T.dataset && T.dataset.length), e = n(ve()), U = d(
55
- () => e.value.userOptions.useCursorPointer
56
- ), Tt = d(() => ot({
57
- defaultConfig: {
58
- userOptions: { show: !1 },
59
- table: { show: !1 },
60
- useCssAnimation: !1,
61
- style: {
62
- chart: {
63
- backgroundColor: "#99999930",
64
- legend: {
65
- backgroundColor: "transparent"
66
- }
67
- }
68
- }
69
- },
70
- userConfig: e.value.skeletonConfig ?? {}
71
- })), { loading: Z, FINAL_DATASET: Fe } = hl({
72
- ...Kt(T),
73
- FINAL_CONFIG: e,
74
- prepareConfig: ve,
75
- callback: () => {
76
- Promise.resolve().then(async () => {
77
- await ne(), f.value.showTable = e.value.table.show;
78
- });
79
- },
80
- skeletonDataset: T.config?.skeletonDataset ?? [
81
- { name: "_", values: [21], color: "#DBDBDB" },
82
- { name: "_", values: [13], color: "#C4C4C4" },
83
- { name: "_", values: [8], color: "#ADADAD" }
84
- ],
85
- skeletonConfig: ot({
86
- defaultConfig: e.value,
87
- userConfig: Tt.value
88
- })
89
- });
90
- Yt(() => {
91
- Ie.value = !0, _e();
92
- });
93
- const Ne = d(() => !!e.value.debug);
94
- function _e() {
95
- if (Zt(T.dataset) ? nt({
96
- componentName: "VueUiGalaxy",
97
- type: "dataset",
98
- debug: Ne.value
99
- }) : T.dataset.forEach((t, a) => {
100
- el({
101
- datasetObject: t,
102
- requiredAttributes: ["name", "values"]
103
- }).forEach((l) => {
104
- nt({
105
- componentName: "VueUiGalaxy",
106
- type: "datasetSerieAttribute",
107
- property: l,
108
- index: a,
109
- debug: Ne.value
110
- });
111
- });
112
- }), e.value.responsive) {
113
- const t = cl(() => {
114
- const { width: a, height: l } = vl({
115
- chart: x.value,
116
- title: e.value.style.chart.title.text ? Se.value : null,
117
- legend: e.value.style.chart.legend.show ? Pe.value : null,
118
- noTitle: Oe.value,
119
- source: Ae.value
120
- });
121
- requestAnimationFrame(() => {
122
- ee.value = Math.max(0.1, a), te.value = Math.max(0.1, l - 12);
123
- });
124
- });
125
- M.value && (K.value && M.value.unobserve(K.value), M.value.disconnect()), M.value = new ResizeObserver(t), K.value = x.value.parentNode, M.value.observe(K.value);
126
- }
127
- }
128
- const { userOptionsVisible: ce, setUserOptionsVisibility: Be, keepUserOptionState: Ve } = bl({ config: e.value }), { svgRef: F } = ml({
129
- config: e.value.style.chart.title
130
- });
131
- function ve() {
132
- const t = Ce({
133
- userConfig: T.config,
134
- defaultConfig: kt
135
- }), a = t.theme;
136
- if (!a) return t;
137
- if (!Ct.value(t))
138
- return wt(t), t;
139
- const l = Ce({
140
- userConfig: Tl[a] || T.config,
141
- defaultConfig: t
142
- }), o = Ce({
143
- userConfig: T.config,
144
- defaultConfig: l
145
- });
146
- return {
147
- ...o,
148
- customPalette: o.customPalette.length ? o.customPalette : tl[a] || se
149
- };
150
- }
151
- Qe(
152
- () => T.config,
153
- (t) => {
154
- e.value = ve(), ce.value = !e.value.userOptions.showOnChartHover, _e(), Te.value += 1, $e.value += 1, xe.value += 1, f.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, f.value.showTable = e.value.table.show, f.value.showTooltip = e.value.style.chart.tooltip.show;
155
- },
156
- { deep: !0 }
157
- );
158
- const { isPrinting: de, isImaging: he, generatePdf: Ee, generateImage: Me } = pl({
159
- elementId: `galaxy_${k.value}`,
160
- fileName: e.value.style.chart.title.text || "vue-ui-galaxy",
161
- options: e.value.userOptions.print
162
- }), $t = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), xt = d(() => ll(e.value.customPalette)), f = n({
163
- dataLabels: {
164
- show: e.value.style.chart.layout.labels.dataLabels.show
165
- },
166
- showTable: e.value.table.show,
167
- showTooltip: e.value.style.chart.tooltip.show
168
- }), ee = n(250), te = n(180), St = n(0), Pt = n(0), A = d(() => ({
169
- width: ee.value,
170
- height: te.value,
171
- viewBox: `${St.value} ${Pt.value} ${ee.value} ${te.value}`
172
- })), ge = vt, g = n([]);
173
- function At() {
174
- g.value.length ? g.value = [] : W.value.forEach((t) => {
175
- g.value.push(t.id);
176
- });
177
- }
178
- function z(t) {
179
- g.value.includes(t.id) ? g.value = g.value.filter((a) => a !== t.id) : g.value.push(t.id), ge(
180
- "selectLegend",
181
- V.value.map((a) => ({
182
- name: a.name,
183
- color: a.color,
184
- value: a.value
185
- }))
186
- );
187
- }
188
- function Re(t) {
189
- if (!w.value.length)
190
- return e.value.debug && console.warn("VueUiGalaxy - There are no series to show."), null;
191
- const a = w.value.find((l) => l.name === t);
192
- return a || (e.value.debug && console.warn(`VueUiGalaxy - Series name not found "${t}"`), null);
193
- }
194
- function Ot(t) {
195
- const a = Re(t);
196
- a !== null && g.value.includes(a.id) && z({ id: a.id });
197
- }
198
- function It(t) {
199
- const a = Re(t);
200
- a !== null && (g.value.includes(a.id) || z({ id: a.id }));
201
- }
202
- const w = d(() => Fe.value.map((t, a) => ({
203
- name: t.name,
204
- color: al(t.color) || xt.value[a] || se[a] || se[a % se.length],
205
- value: t.values ? st(t.values).reduce((l, o) => l + o, 0) : 0,
206
- absoluteValues: st(t.values),
207
- id: at()
208
- })).sort((t, a) => a.value - t.value).map((t, a) => ({
209
- ...t,
210
- absoluteIndex: a
211
- })));
212
- function Lt() {
213
- return w.value.map((t) => ({
214
- name: t.name,
215
- color: t.color,
216
- value: t.value
217
- }));
218
- }
219
- const S = d(() => w.value.filter((t) => !g.value.includes(t.id)).map((t) => t.value).reduce((t, a) => t + a, 0)), Ue = n(190), ze = d(() => w.value.filter((t) => !g.value.includes(t.id))), Dt = d(
220
- () => (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) / 2 + (e.value.style.chart.layout.padding ?? 12)
221
- ), Ft = d(() => ol({
222
- maxPoints: Ue.value,
223
- a: e.value.style.chart.layout.arcs.a ?? 6,
224
- b: e.value.style.chart.layout.arcs.b ?? 6,
225
- angleStep: e.value.style.chart.layout.arcs.angleStep ?? 0.07,
226
- startX: A.value.width / 2 + e.value.style.chart.layout.arcs.offsetX,
227
- startY: A.value.height / 2 + e.value.style.chart.layout.arcs.offsetY,
228
- boxWidth: A.value.width,
229
- boxHeight: A.value.height,
230
- padding: Dt.value
231
- })), V = d(() => {
232
- const t = [];
233
- for (let a = 0; a < ze.value.length; a += 1) {
234
- const l = ze.value[a], o = l.value / S.value * Ue.value + (a > 0 && t.length ? t[a - 1].points : 0);
235
- t.push({
236
- points: o,
237
- ...l,
238
- seriesIndex: a,
239
- proportion: l.value / S.value,
240
- path: Ft.value(o)
241
- });
242
- }
243
- return t.filter((a) => !g.value.includes(a.id)).toSorted((a, l) => l.points - a.points);
244
- });
245
- function pe(t) {
246
- const a = Math.min(ee.value, te.value), l = P.value === t.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1, o = (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) * l, v = e.value.style.chart.layout.arcs.strokeWidth * l, s = e.value.style.chart.layout.arcs.strokeWidth / 2 * l;
247
- return {
248
- border: o / 180 * a,
249
- path: v / 180 * a,
250
- blur: s / 180 * a
251
- };
252
- }
253
- const N = n(!1);
254
- function We(t) {
255
- N.value = t, we.value += 1;
256
- }
257
- const le = n(null);
258
- function fe() {
259
- j.value = !1, P.value = null, B.value = null, J.value = null;
260
- }
261
- function Nt(t) {
262
- if (!F.value || !t) return;
263
- const a = F.value.querySelector(
264
- `[data-a11y-serie-id="${t}"]`
265
- );
266
- if (!a) return;
267
- const l = a.getBoundingClientRect();
268
- Le.value = {
269
- x: l.left + l.width / 2,
270
- y: l.top + l.height / 2
271
- };
272
- }
273
- function _t(t) {
274
- e.value.events.datapointLeave && e.value.events.datapointLeave({
275
- datapoint: t,
276
- seriesIndex: t.absoluteIndex
277
- }), !(J.value === t.id && ie.value === "keyboard") && (j.value = !1, P.value = null);
278
- }
279
- function Ge(t) {
280
- ge("selectDatapoint", t), e.value.events.datapointClick && e.value.events.datapointClick({
281
- datapoint: t,
282
- seriesIndex: t.absoluteIndex
283
- });
284
- }
285
- function He({ val: t, percentage: a, showVal: l, showPercentage: o }) {
286
- const v = e.value.style.chart.layout.labels.dataLabels;
287
- return il({
288
- config: v,
289
- val: t,
290
- percentage: a,
291
- showVal: l,
292
- showPercentage: o
293
- });
294
- }
295
- function Xe({
296
- datapoint: t,
297
- _relativeIndex: a,
298
- seriesIndex: l,
299
- show: o = !1,
300
- triggerMode: v = "pointer",
301
- flatIndex: s = null
302
- }) {
303
- if (e.value.events.datapointEnter && e.value.events.datapointEnter({
304
- datapoint: t,
305
- seriesIndex: t.absoluteIndex
306
- }), !f.value.showTooltip) return;
307
- ie.value = v, B.value = s, J.value = t.id, le.value = {
308
- datapoint: t,
309
- seriesIndex: l,
310
- series: w.value,
311
- config: e.value
312
- }, j.value = o, P.value = t.id;
313
- let y = "";
314
- const I = e.value.style.chart.tooltip.customFormat;
315
- rt(I) && rl(
316
- () => I({
317
- seriesIndex: l,
318
- datapoint: t,
319
- series: w.value,
320
- config: e.value
321
- })
322
- ) ? ue.value = I({
323
- seriesIndex: l,
324
- datapoint: t,
325
- series: w.value,
326
- config: e.value
327
- }) : (y += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`, y += `<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="${t.color}"/></svg>`, y += `<b>${He({
328
- showVal: e.value.style.chart.tooltip.showValue,
329
- showPercentage: e.value.style.chart.tooltip.showPercentage,
330
- val: ut(
331
- e.value.style.chart.layout.labels.dataLabels.formatter,
332
- t.value,
333
- D({
334
- p: e.value.style.chart.layout.labels.dataLabels.prefix,
335
- v: t.value,
336
- s: e.value.style.chart.layout.labels.dataLabels.suffix,
337
- r: e.value.style.chart.tooltip.roundingValue
338
- }),
339
- { datapoint: t, seriesIndex: l }
340
- ),
341
- percentage: D({
342
- v: t.proportion * 100,
343
- s: "%",
344
- r: e.value.style.chart.tooltip.roundingPercentage
345
- })
346
- })}</b></div>`, ue.value = `<div>${y}</div>`), v === "keyboard" && ne(() => {
347
- Nt(t.id);
348
- });
349
- }
350
- const W = d(() => w.value.map((t, a) => {
351
- const l = ut(
352
- e.value.style.chart.layout.labels.dataLabels.formatter,
353
- t.value,
354
- D({
355
- p: e.value.style.chart.layout.labels.dataLabels.prefix,
356
- v: t.value,
357
- s: e.value.style.chart.layout.labels.dataLabels.suffix,
358
- r: e.value.style.chart.legend.roundingValue
359
- }),
360
- { datapoint: t, index: a }
361
- ), o = isNaN(t.value / S.value) || g.value.includes(t.id) ? "-" : D({
362
- v: t.value / S.value * 100,
363
- s: "%",
364
- r: e.value.style.chart.legend.roundingPercentage
365
- }), v = He({
366
- showVal: e.value.style.chart.legend.showValue,
367
- showPercentage: e.value.style.chart.legend.showPercentage,
368
- val: l,
369
- percentage: o
370
- });
371
- return {
372
- ...t,
373
- proportion: (t.value || 0) / Fe.value.map((s) => (s.values || []).reduce((y, I) => y + I, 0)).reduce((s, y) => s + y, 0),
374
- opacity: g.value.includes(t.id) ? 0.5 : 1,
375
- shape: t.shape || "circle",
376
- segregate: () => z(t),
377
- isSegregated: g.value.includes(t.id),
378
- display: `${t.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${v}`
379
- };
380
- })), Bt = d(() => ({
381
- cy: "galaxy-div-legend",
382
- backgroundColor: e.value.style.chart.legend.backgroundColor,
383
- color: e.value.style.chart.legend.color,
384
- fontSize: e.value.style.chart.legend.fontSize,
385
- paddingBottom: 12,
386
- fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
387
- })), O = d(() => {
388
- const t = V.value.map((l) => ({
389
- name: l.name,
390
- color: l.color
391
- })), a = V.value.map((l) => l.value);
392
- return { head: t, body: a };
393
- });
394
- function ye(t = null) {
395
- ne(() => {
396
- const a = O.value.head.map((v, s) => [
397
- [v.name],
398
- [O.value.body[s]],
399
- [
400
- isNaN(O.value.body[s] / S.value) ? "-" : O.value.body[s] / S.value * 100
401
- ]
402
- ]), l = [
403
- [e.value.style.chart.title.text],
404
- [e.value.style.chart.title.subtitle.text],
405
- [[""], ["val"], ["%"]]
406
- ].concat(a), o = sl(l);
407
- t ? t(o) : ul({
408
- csvContent: o,
409
- title: e.value.style.chart.title.text || "vue-ui-galaxy"
410
- });
411
- });
412
- }
413
- const E = d(() => {
414
- const t = [
415
- ' <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>',
416
- D({
417
- p: e.value.style.chart.layout.labels.dataLabels.prefix,
418
- v: S.value,
419
- s: e.value.style.chart.layout.labels.dataLabels.suffix,
420
- r: e.value.table.td.roundingValue
421
- }),
422
- "100%"
423
- ], a = O.value.head.map((v, s) => {
424
- const y = D({
425
- p: e.value.style.chart.layout.labels.dataLabels.prefix,
426
- v: O.value.body[s],
427
- s: e.value.style.chart.layout.labels.dataLabels.suffix,
428
- r: e.value.table.td.roundingValue
429
- });
430
- return [
431
- {
432
- color: v.color,
433
- name: v.name
434
- },
435
- y,
436
- isNaN(O.value.body[s] / S.value) ? "-" : D({
437
- v: O.value.body[s] / S.value * 100,
438
- s: "%",
439
- r: e.value.table.td.roundingPercentage
440
- })
441
- ];
442
- }), l = {
443
- th: {
444
- backgroundColor: e.value.table.th.backgroundColor,
445
- color: e.value.table.th.color,
446
- outline: e.value.table.th.outline
447
- },
448
- td: {
449
- backgroundColor: e.value.table.td.backgroundColor,
450
- color: e.value.table.td.color,
451
- outline: e.value.table.td.outline
452
- },
453
- breakpoint: e.value.table.responsiveBreakpoint
454
- };
455
- return {
456
- colNames: [
457
- e.value.table.columnNames.series,
458
- e.value.table.columnNames.value,
459
- e.value.table.columnNames.percentage
460
- ],
461
- head: t,
462
- body: a,
463
- config: l
464
- };
465
- });
466
- function je() {
467
- f.value.showTable = !f.value.showTable;
468
- }
469
- function Ke() {
470
- f.value.showTooltip = !f.value.showTooltip;
471
- }
472
- const G = n(!1);
473
- function be() {
474
- G.value = !G.value;
475
- }
476
- async function Vt({ scale: t = 2 } = {}) {
477
- if (!x.value) return;
478
- const { width: a, height: l } = x.value.getBoundingClientRect(), o = a / l, { imageUri: v, base64: s } = await kl({
479
- domElement: x.value,
480
- base64: !0,
481
- img: !0,
482
- scale: t
483
- });
484
- return {
485
- imageUri: v,
486
- base64: s,
487
- title: e.value.style.chart.title.text,
488
- width: a,
489
- height: l,
490
- aspectRatio: o
491
- };
492
- }
493
- const H = d(() => {
494
- const t = e.value.table.useDialog && !e.value.table.show, a = f.value.showTable;
495
- return {
496
- component: t ? mt : gt,
497
- title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
498
- props: t ? {
499
- backgroundColor: e.value.table.th.backgroundColor,
500
- color: e.value.table.th.color,
501
- headerColor: e.value.table.th.color,
502
- headerBg: e.value.table.th.backgroundColor,
503
- isFullscreen: N.value,
504
- fullscreenParent: x.value,
505
- forcedWidth: Math.min(500, window.innerWidth * 0.8),
506
- isCursorPointer: U.value
507
- } : {
508
- hideDetails: !0,
509
- config: {
510
- open: a,
511
- maxHeight: 1e4,
512
- body: {
513
- backgroundColor: e.value.style.chart.backgroundColor,
514
- color: e.value.style.chart.color
515
- },
516
- head: {
517
- backgroundColor: e.value.style.chart.backgroundColor,
518
- color: e.value.style.chart.color
519
- }
520
- }
521
- }
522
- };
523
- });
524
- Qe(
525
- () => f.value.showTable,
526
- (t) => {
527
- e.value.table.show || (t && e.value.table.useDialog && R.value ? R.value.open() : "close" in R.value && R.value.close());
528
- }
529
- );
530
- function Ye() {
531
- f.value.showTable = !1, re.value && re.value.setTableIconState(!1);
532
- }
533
- const Et = d(() => W.value.map((t) => ({
534
- ...t,
535
- name: t.display
536
- }))), Mt = d(() => e.value.style.chart.backgroundColor), Rt = d(() => e.value.style.chart.legend), Ut = d(() => e.value.style.chart.title), { exportSvg: zt, getSvg: Wt } = fl({
537
- svg: F,
538
- title: Ut,
539
- legend: Rt,
540
- legendItems: Et,
541
- backgroundColor: Mt
542
- });
543
- async function qe({ isCb: t }) {
544
- q.value = !0, await ne();
545
- try {
546
- if (t) {
547
- const { blob: a, url: l, text: o, dataUrl: v } = await Wt();
548
- await Promise.resolve(
549
- e.value.userOptions.callbacks.svg({
550
- blob: a,
551
- url: l,
552
- text: o,
553
- dataUrl: v
554
- })
555
- );
556
- } else
557
- await Promise.resolve(zt());
558
- } finally {
559
- q.value = !1;
560
- }
561
- }
562
- function Gt(t) {
563
- if (t?.stage === "start") {
564
- Y.value = !0;
565
- return;
566
- }
567
- if (t?.stage === "end") {
568
- Y.value = !1;
569
- return;
570
- }
571
- Me();
572
- }
573
- async function Je() {
574
- if (ge("copyAlt", {
575
- config: e.value,
576
- dataset: w.value
577
- }), !e.value.userOptions.callbacks.altCopy) {
578
- console.warn(
579
- "Vue Data UI - A callback must be set for `altCopy` in userOptions."
580
- );
581
- return;
582
- }
583
- await Promise.resolve(
584
- e.value.userOptions.callbacks.altCopy({
585
- config: e.value,
586
- dataset: w.value
587
- })
588
- );
589
- }
590
- function Ht() {
591
- B.value = null, J.value = null, Q.value = !0;
592
- }
593
- function Xt() {
594
- fe(), Q.value = !1;
595
- }
596
- function jt(t) {
597
- if (!F.value || G.value || document.activeElement !== F.value || !_.value.length) return;
598
- const a = t.key === "ArrowLeft" || t.key === "ArrowUp", l = t.key === "ArrowRight" || t.key === "ArrowDown", o = t.key === "Enter" || t.key === " ", v = t.key === "Escape";
599
- if (!a && !l && !o && !v)
600
- return;
601
- if (t.preventDefault(), t.stopPropagation(), v) {
602
- fe();
603
- return;
604
- }
605
- if (o) {
606
- if (B.value === null) return;
607
- const I = _.value[B.value];
608
- if (!I) return;
609
- Ge(I.datapoint);
610
- return;
611
- }
612
- let s = B.value;
613
- s === null || s < 0 || s >= _.value.length ? s = l ? 0 : _.value.length - 1 : (s += l ? 1 : -1, s < 0 && (s = _.value.length - 1), s >= _.value.length && (s = 0));
614
- const y = _.value[s];
615
- y && Xe({
616
- datapoint: y.datapoint,
617
- seriesIndex: y.datapoint.seriesIndex,
618
- show: !0,
619
- triggerMode: "keyboard",
620
- flatIndex: s
621
- });
622
- }
623
- const me = d(() => {
624
- const t = E.value?.colNames ?? [], a = E.value?.body ?? [];
625
- return { headers: t, rows: a };
626
- }), _ = d(() => V.value.map((t, a) => ({
627
- datapoint: t,
628
- index: a
629
- })));
630
- return ct({
631
- getData: Lt,
632
- getImage: Vt,
633
- generatePdf: Ee,
634
- generateCsv: ye,
635
- generateImage: Me,
636
- generateSvg: qe,
637
- hideSeries: It,
638
- showSeries: Ot,
639
- toggleTable: je,
640
- toggleTooltip: Ke,
641
- toggleAnnotator: be,
642
- toggleFullscreen: We,
643
- copyAlt: Je
644
- }), (t, a) => (u(), p("div", {
645
- ref_key: "galaxyChart",
646
- ref: x,
647
- class: ae(`vue-data-ui-component vue-ui-galaxy ${N.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"} ${r(Z) ? "loading" : ""}`),
648
- style: X(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`),
649
- id: `galaxy_${k.value}`,
650
- onMouseenter: a[2] || (a[2] = () => r(Be)(!0)),
651
- onMouseleave: a[3] || (a[3] = () => {
652
- r(Be)(!1), Q.value || fe();
653
- })
654
- }, [
655
- C("div", {
656
- id: `chart-instructions-${k.value}`,
657
- class: "sr-only"
658
- }, [
659
- C("p", null, oe(e.value.a11y.translations.keyboardNavigation), 1)
660
- ], 8, Al),
661
- me.value?.rows?.length ? (u(), $($l, {
662
- key: 0,
663
- uid: k.value,
664
- head: me.value.headers,
665
- body: me.value.rows,
666
- notice: e.value.a11y.translations.tableAvailable,
667
- caption: e.value.a11y.translations.tableCaption
668
- }, null, 8, ["uid", "head", "body", "notice", "caption"])) : h("", !0),
669
- e.value.userOptions.buttons.annotator ? (u(), $(r(ft), {
670
- key: 1,
671
- svgRef: r(F),
672
- backgroundColor: e.value.style.chart.backgroundColor,
673
- color: e.value.style.chart.color,
674
- active: G.value,
675
- isCursorPointer: U.value,
676
- onClose: be
677
- }, {
678
- "annotator-action-close": i(() => [
679
- c(t.$slots, "annotator-action-close", {}, void 0, !0)
680
- ]),
681
- "annotator-action-color": i(({ color: l }) => [
682
- c(t.$slots, "annotator-action-color", b(m({ color: l })), void 0, !0)
683
- ]),
684
- "annotator-action-draw": i(({ mode: l }) => [
685
- c(t.$slots, "annotator-action-draw", b(m({ mode: l })), void 0, !0)
686
- ]),
687
- "annotator-action-undo": i(({ disabled: l }) => [
688
- c(t.$slots, "annotator-action-undo", b(m({ disabled: l })), void 0, !0)
689
- ]),
690
- "annotator-action-redo": i(({ disabled: l }) => [
691
- c(t.$slots, "annotator-action-redo", b(m({ disabled: l })), void 0, !0)
692
- ]),
693
- "annotator-action-delete": i(({ disabled: l }) => [
694
- c(t.$slots, "annotator-action-delete", b(m({ disabled: l })), void 0, !0)
695
- ]),
696
- _: 3
697
- }, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : h("", !0),
698
- $t.value ? (u(), p("div", {
699
- key: 2,
700
- ref_key: "noTitle",
701
- ref: Oe,
702
- class: "vue-data-ui-no-title-space",
703
- style: "height:36px; width: 100%;background:transparent"
704
- }, null, 512)) : h("", !0),
705
- e.value.style.chart.title.text ? (u(), p("div", {
706
- key: 3,
707
- ref_key: "chartTitle",
708
- ref: Se,
709
- style: "width:100%;background:transparent;padding-bottom:24px"
710
- }, [
711
- (u(), $(Cl, {
712
- key: `title_${Te.value}`,
713
- config: {
714
- title: {
715
- cy: "galaxy-div-title",
716
- ...e.value.style.chart.title
717
- },
718
- subtitle: {
719
- cy: "galaxy-div-subtitle",
720
- ...e.value.style.chart.title.subtitle
721
- }
722
- }
723
- }, null, 8, ["config"]))
724
- ], 512)) : h("", !0),
725
- C("div", {
726
- id: `legend-top-${k.value}`
727
- }, null, 8, Ol),
728
- e.value.userOptions.show && De.value && (r(Ve) || r(ce)) ? (u(), $(r(yt), {
729
- ref_key: "userOptionsRef",
730
- ref: re,
731
- key: `user_option_${we.value}`,
732
- backgroundColor: e.value.style.chart.backgroundColor,
733
- color: e.value.style.chart.color,
734
- isPrinting: r(de),
735
- isImaging: r(he),
736
- uid: k.value,
737
- hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
738
- hasPdf: e.value.userOptions.buttons.pdf,
739
- hasXls: e.value.userOptions.buttons.csv,
740
- hasImg: e.value.userOptions.buttons.img,
741
- hasSvg: e.value.userOptions.buttons.svg,
742
- hasTable: e.value.userOptions.buttons.table,
743
- hasFullscreen: e.value.userOptions.buttons.fullscreen,
744
- hasAltCopy: e.value.userOptions.buttons.altCopy,
745
- isTooltip: f.value.showTooltip,
746
- isFullscreen: N.value,
747
- titles: { ...e.value.userOptions.buttonTitles },
748
- chartElement: x.value,
749
- position: e.value.userOptions.position,
750
- hasAnnotator: e.value.userOptions.buttons.annotator,
751
- isAnnotation: G.value,
752
- callbacks: e.value.userOptions.callbacks,
753
- printScale: e.value.userOptions.print.scale,
754
- tableDialog: e.value.table.useDialog,
755
- isCursorPointer: U.value,
756
- onToggleFullscreen: We,
757
- onGeneratePdf: r(Ee),
758
- onGenerateCsv: ye,
759
- onGenerateImage: Gt,
760
- onGenerateSvg: qe,
761
- onToggleTable: je,
762
- onToggleTooltip: Ke,
763
- onToggleAnnotator: be,
764
- onCopyAlt: Je,
765
- style: X({
766
- visibility: r(Ve) ? r(ce) ? "visible" : "hidden" : "visible"
767
- })
768
- }, Ze({ _: 2 }, [
769
- t.$slots.menuIcon ? {
770
- name: "menuIcon",
771
- fn: i(({ isOpen: l, color: o }) => [
772
- c(t.$slots, "menuIcon", b(m({ isOpen: l, color: o })), void 0, !0)
773
- ]),
774
- key: "0"
775
- } : void 0,
776
- t.$slots.optionTooltip ? {
777
- name: "optionTooltip",
778
- fn: i(() => [
779
- c(t.$slots, "optionTooltip", {}, void 0, !0)
780
- ]),
781
- key: "1"
782
- } : void 0,
783
- t.$slots.optionPdf ? {
784
- name: "optionPdf",
785
- fn: i(() => [
786
- c(t.$slots, "optionPdf", {}, void 0, !0)
787
- ]),
788
- key: "2"
789
- } : void 0,
790
- t.$slots.optionCsv ? {
791
- name: "optionCsv",
792
- fn: i(() => [
793
- c(t.$slots, "optionCsv", {}, void 0, !0)
794
- ]),
795
- key: "3"
796
- } : void 0,
797
- t.$slots.optionImg ? {
798
- name: "optionImg",
799
- fn: i(() => [
800
- c(t.$slots, "optionImg", {}, void 0, !0)
801
- ]),
802
- key: "4"
803
- } : void 0,
804
- t.$slots.optionSvg ? {
805
- name: "optionSvg",
806
- fn: i(() => [
807
- c(t.$slots, "optionSvg", {}, void 0, !0)
808
- ]),
809
- key: "5"
810
- } : void 0,
811
- t.$slots.optionTable ? {
812
- name: "optionTable",
813
- fn: i(() => [
814
- c(t.$slots, "optionTable", {}, void 0, !0)
815
- ]),
816
- key: "6"
817
- } : void 0,
818
- t.$slots.optionFullscreen ? {
819
- name: "optionFullscreen",
820
- fn: i(({ toggleFullscreen: l, isFullscreen: o }) => [
821
- c(t.$slots, "optionFullscreen", b(m({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
822
- ]),
823
- key: "7"
824
- } : void 0,
825
- t.$slots.optionAnnotator ? {
826
- name: "optionAnnotator",
827
- fn: i(({ toggleAnnotator: l, isAnnotator: o }) => [
828
- c(t.$slots, "optionAnnotator", b(m({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
829
- ]),
830
- key: "8"
831
- } : void 0,
832
- t.$slots.optionAltCopy ? {
833
- name: "optionAltCopy",
834
- fn: i(({ altCopy: l }) => [
835
- c(t.$slots, "optionAltCopy", b(m({ altCopy: l })), void 0, !0)
836
- ]),
837
- key: "9"
838
- } : void 0
839
- ]), 1032, ["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"])) : h("", !0),
840
- C("div", Il, [
841
- (u(), p("svg", {
842
- ref_key: "svgRef",
843
- ref: F,
844
- xmlns: r(nl),
845
- "aria-describedby": `chart-instructions-${k.value}`,
846
- class: ae({
847
- "vue-data-ui-fullscreen--on": N.value,
848
- "vue-data-ui-fulscreen--off": !N.value
849
- }),
850
- viewBox: A.value.viewBox,
851
- style: X(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`),
852
- tabindex: "0",
853
- onFocus: Ht,
854
- onBlur: Xt,
855
- onKeydown: jt
856
- }, [
857
- ke(r(bt)),
858
- t.$slots["chart-background"] ? (u(), p("foreignObject", {
859
- key: 0,
860
- x: 0,
861
- y: 0,
862
- width: A.value.width,
863
- height: A.value.height,
864
- style: {
865
- pointerEvents: "none"
866
- }
867
- }, [
868
- c(t.$slots, "chart-background", {}, void 0, !0)
869
- ], 8, Dl)) : h("", !0),
870
- C("defs", null, [
871
- C("filter", {
872
- id: `blur_${k.value}`,
873
- x: "-50%",
874
- y: "-50%",
875
- width: "200%",
876
- height: "200%"
877
- }, [
878
- C("feGaussianBlur", {
879
- in: "SourceGraphic",
880
- stdDeviation: 100 / e.value.style.chart.layout.arcs.gradient.intensity
881
- }, null, 8, Nl)
882
- ], 8, Fl)
883
- ]),
884
- (u(!0), p(et, null, tt(V.value, (l) => (u(), p("g", null, [
885
- l.value ? (u(), p("path", {
886
- key: 0,
887
- d: l.path,
888
- fill: "none",
889
- stroke: e.value.style.chart.backgroundColor,
890
- "stroke-width": pe(l).border,
891
- "stroke-linecap": "round"
892
- }, null, 8, _l)) : h("", !0),
893
- l.value ? (u(), p("path", {
894
- key: 1,
895
- d: l.path,
896
- fill: "none",
897
- stroke: l.color,
898
- "stroke-width": pe(l).path,
899
- "stroke-linecap": "round",
900
- class: ae(`${P.value && P.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
901
- }, null, 10, Bl)) : h("", !0),
902
- l.value && e.value.style.chart.layout.arcs.gradient.show ? (u(), p("g", {
903
- key: 2,
904
- filter: `url(#blur_${k.value})`
905
- }, [
906
- C("path", {
907
- d: l.path,
908
- fill: "none",
909
- stroke: e.value.style.chart.layout.arcs.gradient.color,
910
- "stroke-width": pe(l).blur,
911
- "stroke-linecap": "round",
912
- class: ae(`vue-ui-galaxy-gradient ${P.value && P.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
913
- }, null, 10, El)
914
- ], 8, Vl)) : h("", !0)
915
- ]))), 256)),
916
- (u(!0), p(et, null, tt(V.value, (l, o) => (u(), p("g", null, [
917
- l.value ? (u(), p("path", {
918
- key: 0,
919
- "data-a11y-serie-id": l.id,
920
- d: l.path,
921
- fill: "none",
922
- stroke: "transparent",
923
- "stroke-width": e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth,
924
- "stroke-linecap": "round",
925
- "aria-label": `${l.name}: ${r(D)({
926
- p: e.value.style.chart.layout.labels.dataLabels.prefix,
927
- v: l.value,
928
- s: e.value.style.chart.layout.labels.dataLabels.suffix,
929
- r: e.value.style.chart.tooltip.roundingValue
930
- })}`,
931
- onMouseenter: (v) => Xe({
932
- datapoint: l,
933
- seriesIndex: l.seriesIndex,
934
- show: !0,
935
- triggerMode: "pointer",
936
- flatIndex: o
937
- }),
938
- onMouseleave: (v) => _t(l),
939
- onClick: (v) => Ge(l)
940
- }, null, 40, Ml)) : h("", !0)
941
- ]))), 256)),
942
- c(t.$slots, "svg", {
943
- svg: {
944
- ...A.value,
945
- isPrintingImg: r(de) | r(he) | Y.value,
946
- isPrintingSvg: q.value
947
- }
948
- }, void 0, !0)
949
- ], 46, Ll)),
950
- t.$slots.hint ? (u(), p("div", Rl, [
951
- c(t.$slots, "hint", b(m({
952
- hint: e.value.a11y.translations.keyboardNavigation,
953
- isVisible: Q.value
954
- })), void 0, !0)
955
- ])) : h("", !0)
956
- ]),
957
- t.$slots.watermark ? (u(), p("div", Ul, [
958
- c(t.$slots, "watermark", b(m({
959
- isPrinting: r(de) || r(he) || Y.value || q.value
960
- })), void 0, !0)
961
- ])) : h("", !0),
962
- C("div", {
963
- id: `legend-bottom-${k.value}`
964
- }, null, 8, zl),
965
- Ie.value && (e.value.style.chart.legend.show || t.$slots.legend) ? (u(), $(qt, {
966
- key: 6,
967
- to: e.value.style.chart.legend.position === "top" ? `#legend-top-${k.value}` : `#legend-bottom-${k.value}`
968
- }, [
969
- C("div", {
970
- ref_key: "chartLegend",
971
- ref: Pe
972
- }, [
973
- c(t.$slots, "legend", { legend: W.value }, () => [
974
- e.value.style.chart.legend.show ? (u(), $(wl, {
975
- key: `legend_${xe.value}`,
976
- legendSet: W.value,
977
- config: Bt.value,
978
- onClickMarker: a[0] || (a[0] = ({ legend: l }) => z(l))
979
- }, {
980
- item: i(({ legend: l, index: o }) => [
981
- r(Z) ? h("", !0) : (u(), p("div", {
982
- key: 0,
983
- onClick: (v) => z(l),
984
- style: X(`opacity:${g.value.includes(l.id) ? 0.5 : 1}`)
985
- }, oe(l.display), 13, Wl))
986
- ]),
987
- legendToggle: i(() => [
988
- W.value.length > 2 && e.value.style.chart.legend.selectAllToggle.show && !r(Z) ? (u(), $(xl, {
989
- key: 0,
990
- backgroundColor: e.value.style.chart.legend.selectAllToggle.backgroundColor,
991
- color: e.value.style.chart.legend.selectAllToggle.color,
992
- fontSize: e.value.style.chart.legend.fontSize,
993
- checked: g.value.length > 0,
994
- onToggle: At
995
- }, null, 8, ["backgroundColor", "color", "fontSize", "checked"])) : h("", !0)
996
- ]),
997
- _: 1
998
- }, 8, ["legendSet", "config"])) : h("", !0)
999
- ], !0)
1000
- ], 512)
1001
- ], 8, ["to"])) : h("", !0),
1002
- t.$slots.source ? (u(), p("div", {
1003
- key: 7,
1004
- ref_key: "source",
1005
- ref: Ae,
1006
- dir: "auto"
1007
- }, [
1008
- c(t.$slots, "source", {}, void 0, !0)
1009
- ], 512)) : h("", !0),
1010
- ke(r(dt), {
1011
- teleportTo: e.value.style.chart.tooltip.teleportTo,
1012
- show: f.value.showTooltip && j.value,
1013
- backgroundColor: e.value.style.chart.tooltip.backgroundColor,
1014
- color: e.value.style.chart.tooltip.color,
1015
- borderRadius: e.value.style.chart.tooltip.borderRadius,
1016
- borderColor: e.value.style.chart.tooltip.borderColor,
1017
- borderWidth: e.value.style.chart.tooltip.borderWidth,
1018
- fontSize: e.value.style.chart.tooltip.fontSize,
1019
- backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
1020
- position: e.value.style.chart.tooltip.position,
1021
- offsetY: e.value.style.chart.tooltip.offsetY,
1022
- parent: x.value,
1023
- content: ue.value,
1024
- isFullscreen: N.value,
1025
- isCustom: r(rt)(e.value.style.chart.tooltip.customFormat),
1026
- smooth: e.value.style.chart.tooltip.smooth,
1027
- backdropFilter: e.value.style.chart.tooltip.backdropFilter,
1028
- smoothForce: e.value.style.chart.tooltip.smoothForce,
1029
- smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold,
1030
- isA11yMode: ie.value === "keyboard",
1031
- a11yPosition: Le.value
1032
- }, {
1033
- "tooltip-before": i(() => [
1034
- c(t.$slots, "tooltip-before", b(m({ ...le.value })), void 0, !0)
1035
- ]),
1036
- tooltip: i(() => [
1037
- c(t.$slots, "tooltip", b(m({ ...le.value })), void 0, !0)
1038
- ]),
1039
- "tooltip-after": i(() => [
1040
- c(t.$slots, "tooltip-after", b(m({ ...le.value })), void 0, !0)
1041
- ]),
1042
- _: 3
1043
- }, 8, ["teleportTo", "show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold", "isA11yMode", "a11yPosition"]),
1044
- De.value && e.value.userOptions.buttons.table ? (u(), $(Jt(H.value.component), Qt({ key: 8 }, H.value.props, {
1045
- ref_key: "tableUnit",
1046
- ref: R,
1047
- onClose: Ye
1048
- }), Ze({
1049
- content: i(() => [
1050
- (u(), $(r(pt), {
1051
- key: `table_${$e.value}`,
1052
- colNames: E.value.colNames,
1053
- head: E.value.head,
1054
- body: E.value.body,
1055
- config: E.value.config,
1056
- title: e.value.table.useDialog ? "" : H.value.title,
1057
- withCloseButton: !e.value.table.useDialog,
1058
- isCursorPointer: U.value,
1059
- onClose: Ye
1060
- }, {
1061
- th: i(({ th: l }) => [
1062
- C("div", {
1063
- innerHTML: l,
1064
- style: { display: "flex", "align-items": "center" }
1065
- }, null, 8, Gl)
1066
- ]),
1067
- td: i(({ td: l }) => [
1068
- lt(oe(l.name || l), 1)
1069
- ]),
1070
- _: 1
1071
- }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton", "isCursorPointer"]))
1072
- ]),
1073
- _: 2
1074
- }, [
1075
- e.value.table.useDialog ? {
1076
- name: "title",
1077
- fn: i(() => [
1078
- lt(oe(H.value.title), 1)
1079
- ]),
1080
- key: "0"
1081
- } : void 0,
1082
- e.value.table.useDialog ? {
1083
- name: "actions",
1084
- fn: i(() => [
1085
- C("button", {
1086
- tabindex: "0",
1087
- class: "vue-ui-user-options-button",
1088
- onClick: a[1] || (a[1] = (l) => ye(e.value.userOptions.callbacks.csv)),
1089
- style: X({ cursor: U.value ? "pointer" : "default" })
1090
- }, [
1091
- ke(r(ht), {
1092
- name: "fileCsv",
1093
- stroke: H.value.props.color
1094
- }, null, 8, ["stroke"])
1095
- ], 4)
1096
- ]),
1097
- key: "1"
1098
- } : void 0
1099
- ]), 1040)) : h("", !0),
1100
- c(t.$slots, "skeleton", {}, () => [
1101
- r(Z) ? (u(), $(gl, { key: 0 })) : h("", !0)
1102
- ], !0)
1103
- ], 46, Pl));
1104
- }
1105
- }, va = /* @__PURE__ */ Sl(Hl, [["__scopeId", "data-v-e02aecef"]]);
1106
- export {
1107
- va as default
1108
- };