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,945 +0,0 @@
1
- import { useCssVars as St, defineAsyncComponent as g, computed as h, onMounted as It, ref as u, toRefs as Dt, watch as x, nextTick as Z, openBlock as d, createElementBlock as A, unref as a, normalizeStyle as E, normalizeClass as Le, createBlock as T, withCtx as i, renderSlot as r, normalizeProps as p, guardReactiveProps as f, createCommentVNode as k, createSlots as Be, createVNode as D, createElementVNode as _, Fragment as _t, renderList as Ft, resolveDynamicComponent as Nt, mergeProps as Lt, createTextVNode as Ue, toDisplayString as Ze } from "vue";
2
- import { o as Bt, q as Ut, j as Ee, t as Re, m as Zt, p as ze, n as Et, ag as Rt, X as zt, x as Mt, A as Vt, s as Me, a0 as Ht, a1 as Gt, T as Wt, U as xt } from "./lib-DMzrGQHK.js";
3
- import { u as jt } from "./useConfig-CG4HT3wS.js";
4
- import { u as Xt, B as Yt } from "./BaseScanner-C2j3TsSY.js";
5
- import { u as qt } from "./usePrinter-C4t8DdQ-.js";
6
- import { u as Jt } from "./useSvgExport-BTG4hVPO.js";
7
- import { u as Kt } from "./useThemeCheck-C9Ccl7U9.js";
8
- import { u as ne } from "./useNestedProp-DH0BEVVS.js";
9
- import { u as Qt } from "./useUserOptionState-B7Ej974k.js";
10
- import { u as eo } from "./useChartAccessibility-cp6XQtqi.js";
11
- import to from "./img-CjTQXS0U.js";
12
- import oo from "./vue_ui_molecule-BtvlINUh.js";
13
- import { u as lo } from "./usePanZoom-BbDhcKWf.js";
14
- import { _ as ao } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const so = ["id"], no = {
16
- key: 1,
17
- ref: "noTitle",
18
- class: "vue-data-ui-no-title-space",
19
- style: "height:36px; width: 100%;background:transparent"
20
- }, ro = {
21
- key: 2,
22
- style: "width:100%;background:transparent;"
23
- }, io = ["xmlns", "viewBox"], uo = ["width", "height"], co = ["id"], vo = ["stop-color"], po = ["stop-color"], fo = {
24
- key: 4,
25
- class: "vue-data-ui-watermark"
26
- }, ho = {
27
- key: 5,
28
- "data-dom-to-png-ignore": "",
29
- class: "reset-wrapper"
30
- }, mo = {
31
- key: 6,
32
- ref: "source",
33
- dir: "auto"
34
- }, go = ["innerHTML"], Co = {
35
- __name: "vue-ui-molecule",
36
- props: {
37
- config: {
38
- type: Object,
39
- default() {
40
- return {};
41
- }
42
- },
43
- dataset: {
44
- type: Array,
45
- default() {
46
- return [];
47
- }
48
- }
49
- },
50
- emits: ["selectNode", "copyAlt"],
51
- setup(Ve, { expose: He, emit: Ge }) {
52
- St((t) => ({
53
- v586903fc: t.slicerColor
54
- }));
55
- const We = g(() => import("./Title-BbKoiBk2.js")), xe = g(() => import("./Tooltip-Cvt7Fi0Q.js")), re = g(() => import("./BaseIcon-DX0hTWa-.js")), je = g(() => import("./vue-ui-accordion-DFtpH_16.js")), Xe = g(() => import("./DataTable-cMnb68Ik.js")), Ye = g(
56
- () => import("./PenAndPaper-CJDoB5H9.js")
57
- ), qe = g(
58
- () => import("./UserOptions-DVduN6X7.js")
59
- ), Je = g(
60
- () => import("./PackageVersion-BfrCAH6_.js")
61
- ), Ke = g(
62
- () => import("./RecursiveLinks-BDwyYfP-.js")
63
- ), Qe = g(
64
- () => import("./RecursiveLabels-BhQMS9Sm.js")
65
- ), et = g(
66
- () => import("./RecursiveCircles-BE6GoMmo.js")
67
- ), tt = g(
68
- () => import("./BaseDraggableDialog-Di8Hlru3.js")
69
- ), { vue_ui_molecule: ot } = jt(), { isThemeValid: lt, warnInvalidTheme: at } = Kt(), w = Ve, ie = Ge, ue = h(() => !!w.dataset && w.dataset.length);
70
- It(() => {
71
- ce();
72
- });
73
- const st = h(() => e.value.debug);
74
- function ce() {
75
- Bt(w.dataset) && Ut({
76
- componentName: "VueUiMolecule",
77
- type: "dataset",
78
- debug: st.value
79
- });
80
- }
81
- const j = u(Ee()), X = u(!1), R = u(""), $ = u(null), ve = u(0), de = u(0), pe = u(0), F = u(null), Y = u(null), z = u(!1), M = u(!1), e = u(Q()), P = h(
82
- () => e.value.userOptions.useCursorPointer
83
- ), nt = h(() => Re({
84
- defaultConfig: {
85
- userOptions: { show: !1 },
86
- table: { show: !1 },
87
- style: {
88
- chart: {
89
- backgroundColor: "#99999930",
90
- nodes: { stroke: "#6A6A6A" },
91
- links: { stroke: "#6A6A6A80" }
92
- }
93
- }
94
- },
95
- userConfig: e.value.skeletonConfig ?? {}
96
- })), { loading: q, FINAL_DATASET: J } = Xt({
97
- ...Dt(w),
98
- FINAL_CONFIG: e,
99
- prepareConfig: Q,
100
- skeletonDataset: w.config?.skeletonDataset ?? [
101
- {
102
- name: "_",
103
- color: "#CACACA",
104
- nodes: [
105
- {
106
- name: "_",
107
- color: "#CACACA",
108
- nodes: [
109
- { name: "_", color: "#CACACA" },
110
- { name: "_", color: "#CACACA" },
111
- { name: "_", color: "#CACACA" }
112
- ]
113
- },
114
- {
115
- name: "_",
116
- color: "#CACACA",
117
- nodes: [
118
- { name: "_", color: "#CACACA" },
119
- { name: "_", color: "#CACACA" },
120
- { name: "_", color: "#CACACA" }
121
- ]
122
- },
123
- {
124
- name: "_",
125
- color: "#CACACA",
126
- nodes: [
127
- { name: "_", color: "#CACACA" },
128
- { name: "_", color: "#CACACA" },
129
- { name: "_", color: "#CACACA" }
130
- ]
131
- },
132
- {
133
- name: "_",
134
- color: "#CACACA",
135
- nodes: [
136
- { name: "_", color: "#CACACA" },
137
- { name: "_", color: "#CACACA" },
138
- { name: "_", color: "#CACACA" }
139
- ]
140
- },
141
- {
142
- name: "_",
143
- color: "#CACACA",
144
- nodes: [
145
- { name: "_", color: "#CACACA" },
146
- { name: "_", color: "#CACACA" },
147
- { name: "_", color: "#CACACA" }
148
- ]
149
- },
150
- {
151
- name: "_",
152
- color: "#CACACA",
153
- nodes: [
154
- { name: "_", color: "#CACACA" },
155
- { name: "_", color: "#CACACA" },
156
- { name: "_", color: "#CACACA" }
157
- ]
158
- }
159
- ]
160
- }
161
- ],
162
- skeletonConfig: Re({
163
- defaultConfig: e.value,
164
- userConfig: nt.value
165
- })
166
- }), { userOptionsVisible: K, setUserOptionsVisibility: fe, keepUserOptionState: he } = Qt({ config: e.value }), { svgRef: N } = eo({
167
- config: e.value.style.chart.title
168
- });
169
- function Q() {
170
- const t = ne({
171
- userConfig: w.config,
172
- defaultConfig: ot
173
- }), l = t.theme;
174
- if (!l) return t;
175
- if (!lt.value(t))
176
- return at(t), t;
177
- const o = ne({
178
- userConfig: oo[l] || w.config,
179
- defaultConfig: t
180
- }), s = ne({
181
- userConfig: w.config,
182
- defaultConfig: o
183
- });
184
- return {
185
- ...s,
186
- customPalette: s.customPalette.length ? s.customPalette : Zt[l] || ze
187
- };
188
- }
189
- x(
190
- () => w.config,
191
- (t) => {
192
- e.value = Q(), K.value = !e.value.userOptions.showOnChartHover, ce(), de.value += 1, pe.value += 1, c.value.showTable = e.value.table.show, c.value.showTooltip = e.value.style.chart.tooltip.show, c.value.showZoom = e.value.style.chart.zoom.show;
193
- },
194
- { deep: !0 }
195
- );
196
- const me = u(0), rt = () => {
197
- me.value += 1;
198
- };
199
- x(
200
- [() => q.value, () => J.value],
201
- async ([t]) => {
202
- t || (await Z(), C.value = ye(), await Z(), rt(), await Z(), bt({ x: 0, y: 0, width: 400, height: 400 }), ae(!1));
203
- },
204
- { flush: "post", deep: !1 }
205
- );
206
- const { isPrinting: ee, isImaging: te, generatePdf: ge, generateImage: Ce } = qt({
207
- elementId: `cluster_${j.value}`,
208
- fileName: e.value.style.chart.title.text || "vue-ui-molecule",
209
- options: e.value.userOptions.print
210
- }), it = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), ut = h(() => Et(e.value.customPalette)), c = u({
211
- showTable: e.value.table.show,
212
- showDataLabels: !0,
213
- showTooltip: e.value.style.chart.tooltip.show,
214
- showZoom: e.value.style.chart.zoom.show
215
- });
216
- x(
217
- e,
218
- () => {
219
- c.value = {
220
- showTable: e.value.table.show,
221
- showDataLabels: !0,
222
- showTooltip: e.value.style.chart.tooltip.show,
223
- showZoom: e.value.style.chart.zoom.show
224
- };
225
- },
226
- { immediate: !0 }
227
- );
228
- function be(t, l = 0) {
229
- return Array.isArray(t) && t.length > 0 && t[0].nodes ? be(t[0].nodes, l + 1) : l;
230
- }
231
- function ye() {
232
- const t = be(J.value);
233
- let l = 100, o = l;
234
- for (let s = 0; s < t; s += 1)
235
- l /= 1, o += l;
236
- return {
237
- height: o,
238
- width: o
239
- };
240
- }
241
- const C = u(ye());
242
- function ke(t, l = { x: -C.value.width / 2.43, y: C.value.height / 2 }, o = C.value.width / 1.1, s = 24, n = 0, v = 0, y = "#BBBBBB", W = 0) {
243
- if (!Array.isArray(t) || t.length === 0) return t;
244
- const Ot = Vt({
245
- plot: l,
246
- radius: o,
247
- sides: t.length,
248
- rotation: n
249
- });
250
- return t.forEach((m, _e) => {
251
- const Fe = Ot.coordinates[_e], Ne = m.color ? (() => {
252
- let se = Me(m.color);
253
- return se.startsWith("#") ? se : `#${se}`;
254
- })() : null;
255
- let I;
256
- Ne ? I = Ne : W === 0 ? I = y : W === 1 ? (I = ut.value[v] || ze[v] || y, v += 1) : I = y, m.polygonPath = { coordinates: [Fe] }, m.circleRadius = s, m.color = I, m.strokeWidth = Math.min(
257
- e.value.style.chart.links.strokeWidth / (W + 1),
258
- s / 2
259
- ), m.uid = Ee(), Array.isArray(m.nodes) && m.nodes.length && (m.nodes = ke(
260
- m.nodes,
261
- Fe,
262
- o / 2.9,
263
- s / 2.2,
264
- n + Math.PI * _e / m.nodes.length,
265
- v,
266
- I,
267
- W + 1
268
- ));
269
- }), t;
270
- }
271
- function ct(t) {
272
- const l = /* @__PURE__ */ new Set();
273
- function o(n) {
274
- n.forEach((v) => {
275
- if (!v.color) return;
276
- let y = v.color;
277
- /^#?[0-9A-F]{6}$/i.test(y) || (y = Me(y)), y.startsWith("#") || (y = `#${y}`), l.add(y), Array.isArray(v.nodes) && v.nodes.length && o(v.nodes);
278
- });
279
- }
280
- o(t);
281
- const s = {};
282
- return Array.from(l).forEach((n) => {
283
- const v = n.slice(1);
284
- s[n] = `gradient_${v}`;
285
- }), s;
286
- }
287
- const vt = h(() => ct(b.value)), b = h(() => {
288
- const t = Rt(J.value);
289
- return ke(t);
290
- }), V = u(null);
291
- function dt(t) {
292
- V.value = {
293
- datapoint: t,
294
- seriesIndex: -1,
295
- series: b.value,
296
- config: e.value
297
- };
298
- const l = e.value.style.chart.tooltip.customFormat;
299
- if (Wt(l) && xt(
300
- () => l({
301
- seriesIndex: -1,
302
- datapoint: t,
303
- series: b.value,
304
- config: e.value
305
- })
306
- ))
307
- R.value = l({
308
- seriesIndex: -1,
309
- // well, ok
310
- datapoint: t,
311
- series: b.value,
312
- config: e.value
313
- });
314
- else {
315
- let o = "";
316
- o += `<div style="display:flex;align-items:center;gap:3px"><div style="color:${t.color}">⬤</div><div>${t.name}</div></div>`, t.details && (o += `<div style="width:100%;border-top:1px solid ${e.value.style.chart.tooltip.borderColor};margin-top: 2px">${t.details}</div>`), R.value = `<div style="font-family:inherit">${o}</div>`;
317
- }
318
- }
319
- const H = u(null), L = u(null), Ae = u(null);
320
- function pt(t) {
321
- Ae.value = H.value, H.value = t, t ? e.value.events.datapointEnter && e.value.events.datapointEnter({
322
- datapoint: t,
323
- seriesIndex: -1
324
- }) : e.value.events.datapointLeave && e.value.events.datapointLeave({
325
- datapoint: Ae.value || H.value,
326
- seriesIndex: -1
327
- }), t ? (X.value = !0, dt(t), L.value = t.uid) : (X.value = !1, R.value = "", L.value = null);
328
- }
329
- function ft(t) {
330
- const l = [];
331
- function o(s) {
332
- s.forEach((n) => {
333
- const v = {
334
- name: n.name,
335
- details: n.details || "-",
336
- ancestor: n.ancestor && n.ancestor.name || "-",
337
- color: n.color || ""
338
- };
339
- l.push(v), n.nodes && n.nodes.length > 0 && o(n.nodes, n.name);
340
- });
341
- }
342
- return o(t), l;
343
- }
344
- const ht = h(() => ft(b.value)), O = h(() => {
345
- const t = [
346
- e.value.table.translations.nodeName,
347
- e.value.table.translations.details,
348
- e.value.table.translations.ancestor
349
- ], l = ht.value.map((n, v) => [
350
- {
351
- color: n.color,
352
- name: n.name
353
- },
354
- n.details,
355
- n.ancestor || ""
356
- ]), o = {
357
- th: {
358
- backgroundColor: e.value.table.th.backgroundColor,
359
- color: e.value.table.th.color,
360
- outline: e.value.table.th.outline
361
- },
362
- td: {
363
- backgroundColor: e.value.table.td.backgroundColor,
364
- color: e.value.table.td.color,
365
- outline: e.value.table.td.outline
366
- },
367
- breakpoint: e.value.table.responsiveBreakpoint
368
- }, s = [
369
- e.value.table.translations.nodeName,
370
- e.value.table.translations.details,
371
- e.value.table.translations.ancestor
372
- ];
373
- return {
374
- head: t,
375
- body: l,
376
- config: o,
377
- colNames: s
378
- };
379
- });
380
- function oe(t = null) {
381
- Z(() => {
382
- const l = O.value.body.map((n, v) => [[n[0].name], [n[1]], [n[2]]]), o = [
383
- [e.value.style.chart.title.text],
384
- [e.value.style.chart.title.subtitle.text],
385
- [[...O.value.head]]
386
- ].concat(l), s = Ht(o);
387
- t ? t(s) : Gt({
388
- csvContent: s,
389
- title: e.value.style.chart.title.text || "vue-ui-molecule"
390
- });
391
- });
392
- }
393
- function mt() {
394
- return b.value;
395
- }
396
- const S = u(!1);
397
- function we(t) {
398
- S.value = t, ve.value += 1;
399
- }
400
- function $e() {
401
- c.value.showTable = !c.value.showTable;
402
- }
403
- function Te() {
404
- c.value.showDataLabels = !c.value.showDataLabels;
405
- }
406
- function Pe() {
407
- c.value.showTooltip = !c.value.showTooltip;
408
- }
409
- function Oe() {
410
- c.value.showZoom = !c.value.showZoom;
411
- }
412
- const B = u(!1);
413
- function le() {
414
- B.value = !B.value;
415
- }
416
- const gt = h(
417
- () => !B.value && c.value.showZoom
418
- ), { viewBox: G, resetZoom: ae, isZoom: Ct, setInitialViewBox: bt } = lo(
419
- N,
420
- {
421
- x: 0,
422
- y: 0,
423
- width: Math.max(10, C.value.width),
424
- height: Math.max(10, C.value.height)
425
- },
426
- e.value.style.chart.zoom.speed,
427
- gt
428
- );
429
- function yt(t) {
430
- e.value.events.datapointClick && e.value.events.datapointClick({
431
- datapoint: t,
432
- seriesIndex: -1
433
- }), ie("selectNode", t);
434
- }
435
- async function kt({ scale: t = 2 } = {}) {
436
- if (!$.value) return;
437
- const { width: l, height: o } = $.value.getBoundingClientRect(), s = l / o, { imageUri: n, base64: v } = await to({
438
- domElement: $.value,
439
- base64: !0,
440
- img: !0,
441
- scale: t
442
- });
443
- return {
444
- imageUri: n,
445
- base64: v,
446
- title: e.value.style.chart.title.text,
447
- width: l,
448
- height: o,
449
- aspectRatio: s
450
- };
451
- }
452
- const U = h(() => {
453
- const t = e.value.table.useDialog && !e.value.table.show, l = c.value.showTable;
454
- return {
455
- component: t ? tt : je,
456
- title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
457
- props: t ? {
458
- backgroundColor: e.value.table.th.backgroundColor,
459
- color: e.value.table.th.color,
460
- headerColor: e.value.table.th.color,
461
- headerBg: e.value.table.th.backgroundColor,
462
- isFullscreen: S.value,
463
- fullscreenParent: $.value,
464
- forcedWidth: Math.min(800, window.innerWidth * 0.8),
465
- isCursorPointer: P.value
466
- } : {
467
- hideDetails: !0,
468
- config: {
469
- open: l,
470
- maxHeight: 1e4,
471
- body: {
472
- backgroundColor: e.value.style.chart.backgroundColor,
473
- color: e.value.style.chart.color
474
- },
475
- head: {
476
- backgroundColor: e.value.style.chart.backgroundColor,
477
- color: e.value.style.chart.color
478
- }
479
- }
480
- }
481
- };
482
- });
483
- x(
484
- () => c.value.showTable,
485
- (t) => {
486
- e.value.table.show || (t && e.value.table.useDialog && F.value ? F.value.open() : "close" in F.value && F.value.close());
487
- }
488
- );
489
- function Se() {
490
- c.value.showTable = !1, Y.value && Y.value.setTableIconState(!1);
491
- }
492
- const At = h(() => e.value.style.chart.backgroundColor), wt = h(() => e.value.style.chart.title), { exportSvg: $t, getSvg: Tt } = Jt({
493
- svg: N,
494
- title: wt,
495
- backgroundColor: At
496
- });
497
- async function Ie({ isCb: t }) {
498
- M.value = !0, await Z();
499
- try {
500
- if (t) {
501
- const { blob: l, url: o, text: s, dataUrl: n } = await Tt();
502
- await Promise.resolve(
503
- e.value.userOptions.callbacks.svg({
504
- blob: l,
505
- url: o,
506
- text: s,
507
- dataUrl: n
508
- })
509
- );
510
- } else
511
- await Promise.resolve($t());
512
- } finally {
513
- M.value = !1;
514
- }
515
- }
516
- function Pt(t) {
517
- if (t?.stage === "start") {
518
- z.value = !0;
519
- return;
520
- }
521
- if (t?.stage === "end") {
522
- z.value = !1;
523
- return;
524
- }
525
- Ce();
526
- }
527
- async function De() {
528
- if (ie("copyAlt", {
529
- config: e.value,
530
- dataset: b.value
531
- }), !e.value.userOptions.callbacks.altCopy) {
532
- console.warn(
533
- "Vue Data UI - A callback must be set for `altCopy` in userOptions."
534
- );
535
- return;
536
- }
537
- await Promise.resolve(
538
- e.value.userOptions.callbacks.altCopy({
539
- config: e.value,
540
- dataset: b.value
541
- })
542
- );
543
- }
544
- return He({
545
- getData: mt,
546
- getImage: kt,
547
- generatePdf: ge,
548
- generateCsv: oe,
549
- generateImage: Ce,
550
- generateSvg: Ie,
551
- toggleTable: $e,
552
- toggleLabels: Te,
553
- toggleTooltip: Pe,
554
- toggleAnnotator: le,
555
- toggleFullscreen: we,
556
- toggleZoom: Oe,
557
- copyAlt: De
558
- }), (t, l) => (d(), A("div", {
559
- ref_key: "moleculeChart",
560
- ref: $,
561
- class: Le(`vue-data-ui-component vue-ui-molecule ${S.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
562
- style: E(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
563
- id: `cluster_${j.value}`,
564
- onMouseleave: l[2] || (l[2] = (o) => {
565
- H.value = null, L.value = null, a(fe)(!1);
566
- }),
567
- onMouseenter: l[3] || (l[3] = () => a(fe)(!0))
568
- }, [
569
- e.value.userOptions.buttons.annotator && a(N) ? (d(), T(a(Ye), {
570
- key: 0,
571
- svgRef: a(N),
572
- backgroundColor: e.value.style.chart.backgroundColor,
573
- color: e.value.style.chart.color,
574
- active: B.value,
575
- isCursorPointer: P.value,
576
- onClose: le
577
- }, {
578
- "annotator-action-close": i(() => [
579
- r(t.$slots, "annotator-action-close", {}, void 0, !0)
580
- ]),
581
- "annotator-action-color": i(({ color: o }) => [
582
- r(t.$slots, "annotator-action-color", p(f({ color: o })), void 0, !0)
583
- ]),
584
- "annotator-action-draw": i(({ mode: o }) => [
585
- r(t.$slots, "annotator-action-draw", p(f({ mode: o })), void 0, !0)
586
- ]),
587
- "annotator-action-undo": i(({ disabled: o }) => [
588
- r(t.$slots, "annotator-action-undo", p(f({ disabled: o })), void 0, !0)
589
- ]),
590
- "annotator-action-redo": i(({ disabled: o }) => [
591
- r(t.$slots, "annotator-action-redo", p(f({ disabled: o })), void 0, !0)
592
- ]),
593
- "annotator-action-delete": i(({ disabled: o }) => [
594
- r(t.$slots, "annotator-action-delete", p(f({ disabled: o })), void 0, !0)
595
- ]),
596
- _: 3
597
- }, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : k("", !0),
598
- it.value ? (d(), A("div", no, null, 512)) : k("", !0),
599
- e.value.style.chart.title.text ? (d(), A("div", ro, [
600
- (d(), T(a(We), {
601
- key: `title_${de.value}`,
602
- config: {
603
- title: {
604
- cy: "molecule-div-title",
605
- ...e.value.style.chart.title
606
- },
607
- subtitle: {
608
- cy: "molecule-div-subtitle",
609
- ...e.value.style.chart.title.subtitle
610
- }
611
- }
612
- }, null, 8, ["config"]))
613
- ])) : k("", !0),
614
- e.value.userOptions.show && ue.value && (a(he) || a(K)) ? (d(), T(a(qe), {
615
- ref_key: "userOptionsRef",
616
- ref: Y,
617
- key: `user_options_${ve.value}`,
618
- backgroundColor: e.value.style.chart.backgroundColor,
619
- color: e.value.style.chart.color,
620
- isPrinting: a(ee),
621
- isImaging: a(te),
622
- uid: j.value,
623
- hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
624
- hasPdf: e.value.userOptions.buttons.pdf,
625
- hasXls: e.value.userOptions.buttons.csv,
626
- hasImg: e.value.userOptions.buttons.img,
627
- hasSvg: e.value.userOptions.buttons.svg,
628
- hasTable: e.value.userOptions.buttons.table,
629
- hasLabel: e.value.userOptions.buttons.labels,
630
- hasFullscreen: e.value.userOptions.buttons.fullscreen,
631
- hasAltCopy: e.value.userOptions.buttons.altCopy,
632
- isTooltip: c.value.showTooltip,
633
- titles: { ...e.value.userOptions.buttonTitles },
634
- chartElement: $.value,
635
- position: e.value.userOptions.position,
636
- hasAnnotator: e.value.userOptions.buttons.annotator,
637
- isAnnotation: B.value,
638
- callbacks: e.value.userOptions.callbacks,
639
- printScale: e.value.userOptions.print.scale,
640
- tableDialog: e.value.table.useDialog,
641
- hasZoom: e.value.userOptions.buttons.zoom,
642
- isZoom: c.value.showZoom,
643
- isCursorPointer: P.value,
644
- onToggleFullscreen: we,
645
- onGeneratePdf: a(ge),
646
- onGenerateCsv: oe,
647
- onGenerateImage: Pt,
648
- onGenerateSvg: Ie,
649
- onToggleTable: $e,
650
- onToggleLabels: Te,
651
- onToggleTooltip: Pe,
652
- onToggleAnnotator: le,
653
- onToggleZoom: Oe,
654
- onCopyAlt: De,
655
- style: E({
656
- visibility: a(he) ? a(K) ? "visible" : "hidden" : "visible"
657
- })
658
- }, Be({ _: 2 }, [
659
- t.$slots.menuIcon ? {
660
- name: "menuIcon",
661
- fn: i(({ isOpen: o, color: s }) => [
662
- r(t.$slots, "menuIcon", p(f({ isOpen: o, color: s })), void 0, !0)
663
- ]),
664
- key: "0"
665
- } : void 0,
666
- t.$slots.optionTooltip ? {
667
- name: "optionTooltip",
668
- fn: i(() => [
669
- r(t.$slots, "optionTooltip", {}, void 0, !0)
670
- ]),
671
- key: "1"
672
- } : void 0,
673
- t.$slots.optionPdf ? {
674
- name: "optionPdf",
675
- fn: i(() => [
676
- r(t.$slots, "optionPdf", {}, void 0, !0)
677
- ]),
678
- key: "2"
679
- } : void 0,
680
- t.$slots.optionCsv ? {
681
- name: "optionCsv",
682
- fn: i(() => [
683
- r(t.$slots, "optionCsv", {}, void 0, !0)
684
- ]),
685
- key: "3"
686
- } : void 0,
687
- t.$slots.optionImg ? {
688
- name: "optionImg",
689
- fn: i(() => [
690
- r(t.$slots, "optionImg", {}, void 0, !0)
691
- ]),
692
- key: "4"
693
- } : void 0,
694
- t.$slots.optionSvg ? {
695
- name: "optionSvg",
696
- fn: i(() => [
697
- r(t.$slots, "optionSvg", {}, void 0, !0)
698
- ]),
699
- key: "5"
700
- } : void 0,
701
- t.$slots.optionTable ? {
702
- name: "optionTable",
703
- fn: i(() => [
704
- r(t.$slots, "optionTable", {}, void 0, !0)
705
- ]),
706
- key: "6"
707
- } : void 0,
708
- t.$slots.optionLabels ? {
709
- name: "optionLabels",
710
- fn: i(() => [
711
- r(t.$slots, "optionLabels", {}, void 0, !0)
712
- ]),
713
- key: "7"
714
- } : void 0,
715
- t.$slots.optionFullscreen ? {
716
- name: "optionFullscreen",
717
- fn: i(({ toggleFullscreen: o, isFullscreen: s }) => [
718
- r(t.$slots, "optionFullscreen", p(f({ toggleFullscreen: o, isFullscreen: s })), void 0, !0)
719
- ]),
720
- key: "8"
721
- } : void 0,
722
- t.$slots.optionAnnotator ? {
723
- name: "optionAnnotator",
724
- fn: i(({ toggleAnnotator: o, isAnnotator: s }) => [
725
- r(t.$slots, "optionAnnotator", p(f({ toggleAnnotator: o, isAnnotator: s })), void 0, !0)
726
- ]),
727
- key: "9"
728
- } : void 0,
729
- t.$slots.optionZoom ? {
730
- name: "optionZoom",
731
- fn: i(({ toggleZoom: o, isZoomLocked: s }) => [
732
- r(t.$slots, "optionZoom", p(f({ toggleZoom: o, isZoomLocked: s })), void 0, !0)
733
- ]),
734
- key: "10"
735
- } : void 0,
736
- t.$slots.optionAltCopy ? {
737
- name: "optionAltCopy",
738
- fn: i(({ altCopy: o }) => [
739
- r(t.$slots, "optionAltCopy", p(f({ altCopy: o })), void 0, !0)
740
- ]),
741
- key: "11"
742
- } : void 0
743
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasLabel", "hasFullscreen", "hasAltCopy", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "hasZoom", "isZoom", "isCursorPointer", "onGeneratePdf", "style"])) : k("", !0),
744
- (d(), A("svg", {
745
- ref_key: "svgRef",
746
- ref: N,
747
- key: `svg_${me.value}`,
748
- xmlns: a(zt),
749
- viewBox: `${a(G).x} ${a(G).y} ${a(G).width} ${a(G).height}`,
750
- class: Le({
751
- "vue-data-ui-fullscreen--on": S.value,
752
- "vue-data-ui-fulscreen--off": !S.value
753
- }),
754
- style: E(`overflow: hidden; background:transparent;color:${e.value.style.chart.color}`)
755
- }, [
756
- D(a(Je)),
757
- t.$slots["chart-background"] ? (d(), A("foreignObject", {
758
- key: 0,
759
- x: 0,
760
- y: 0,
761
- width: C.value.width <= 0 ? 10 : C.value.width,
762
- height: C.value.height <= 0 ? 10 : C.value.height,
763
- style: {
764
- pointerEvents: "none"
765
- }
766
- }, [
767
- r(t.$slots, "chart-background", {}, void 0, !0)
768
- ], 8, uo)) : k("", !0),
769
- _("defs", null, [
770
- (d(!0), A(_t, null, Ft(Object.keys(vt.value), (o) => (d(), A("radialGradient", {
771
- id: `gradient_${o}`,
772
- cx: "50%",
773
- cy: "30%",
774
- r: "50%",
775
- fx: "50%",
776
- fy: "50%"
777
- }, [
778
- _("stop", {
779
- offset: "0%",
780
- "stop-color": a(Mt)(o, 0.5)
781
- }, null, 8, vo),
782
- _("stop", {
783
- offset: "100%",
784
- "stop-color": o
785
- }, null, 8, po)
786
- ], 8, co))), 256))
787
- ]),
788
- D(a(Ke), {
789
- dataset: b.value,
790
- color: e.value.style.chart.links.stroke,
791
- backgroundColor: e.value.style.chart.backgroundColor,
792
- useChildColor: e.value.style.chart.links.useChildColor
793
- }, null, 8, ["dataset", "color", "backgroundColor", "useChildColor"]),
794
- D(a(et), {
795
- dataset: b.value,
796
- hoveredUid: L.value,
797
- stroke: e.value.style.chart.nodes.stroke,
798
- strokeHovered: e.value.style.chart.nodes.strokeHovered,
799
- onClick: yt,
800
- onHover: pt
801
- }, {
802
- node: i(({ node: o }) => [
803
- r(t.$slots, "node", p(f({ node: o })), void 0, !0)
804
- ]),
805
- _: 3
806
- }, 8, ["dataset", "hoveredUid", "stroke", "strokeHovered"]),
807
- c.value.showDataLabels && !a(q) ? (d(), T(a(Qe), {
808
- key: 1,
809
- dataset: b.value,
810
- color: e.value.style.chart.color,
811
- hoveredUid: L.value
812
- }, null, 8, ["dataset", "color", "hoveredUid"])) : k("", !0),
813
- r(t.$slots, "svg", {
814
- svg: {
815
- ...C.value,
816
- isPrintingImg: a(ee) | a(te) | z.value,
817
- isPrintingSvg: M.value
818
- }
819
- }, void 0, !0)
820
- ], 14, io)),
821
- t.$slots.watermark ? (d(), A("div", fo, [
822
- r(t.$slots, "watermark", p(f({
823
- isPrinting: a(ee) || a(te) || z.value || M.value
824
- })), void 0, !0)
825
- ])) : k("", !0),
826
- a(Ct) ? (d(), A("div", ho, [
827
- r(t.$slots, "reset-action", { reset: a(ae) }, () => [
828
- _("button", {
829
- "data-cy-reset": "",
830
- tabindex: "0",
831
- role: "button",
832
- class: "vue-data-ui-refresh-button",
833
- style: E({
834
- background: e.value.style.chart.backgroundColor,
835
- cursor: P.value ? "pointer" : "default"
836
- }),
837
- onClick: l[0] || (l[0] = (o) => a(ae)(!0))
838
- }, [
839
- D(a(re), {
840
- name: "refresh",
841
- stroke: e.value.style.chart.color
842
- }, null, 8, ["stroke"])
843
- ], 4)
844
- ], !0)
845
- ])) : k("", !0),
846
- t.$slots.source ? (d(), A("div", mo, [
847
- r(t.$slots, "source", {}, void 0, !0)
848
- ], 512)) : k("", !0),
849
- D(a(xe), {
850
- teleportTo: e.value.style.chart.tooltip.teleportTo,
851
- show: c.value.showTooltip && X.value,
852
- backgroundColor: e.value.style.chart.tooltip.backgroundColor,
853
- color: e.value.style.chart.tooltip.color,
854
- borderRadius: e.value.style.chart.tooltip.borderRadius,
855
- borderColor: e.value.style.chart.tooltip.borderColor,
856
- borderWidth: e.value.style.chart.tooltip.borderWidth,
857
- fontSize: e.value.style.chart.tooltip.fontSize,
858
- backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
859
- position: e.value.style.chart.tooltip.position,
860
- offsetY: e.value.style.chart.tooltip.offsetY,
861
- parent: $.value,
862
- content: R.value,
863
- isFullscreen: S.value,
864
- isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
865
- smooth: e.value.style.chart.tooltip.smooth,
866
- backdropFilter: e.value.style.chart.tooltip.backdropFilter,
867
- smoothForce: e.value.style.chart.tooltip.smoothForce,
868
- smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
869
- }, {
870
- "tooltip-before": i(() => [
871
- r(t.$slots, "tooltip-before", p(f({ ...V.value })), void 0, !0)
872
- ]),
873
- tooltip: i(() => [
874
- r(t.$slots, "tooltip", p(f({ ...V.value })), void 0, !0)
875
- ]),
876
- "tooltip-after": i(() => [
877
- r(t.$slots, "tooltip-after", p(f({ ...V.value })), void 0, !0)
878
- ]),
879
- _: 3
880
- }, 8, ["teleportTo", "show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
881
- ue.value && e.value.userOptions.buttons.table ? (d(), T(Nt(U.value.component), Lt({ key: 7 }, U.value.props, {
882
- ref_key: "tableUnit",
883
- ref: F,
884
- onClose: Se
885
- }), Be({
886
- content: i(() => [
887
- (d(), T(a(Xe), {
888
- key: `table_${pe.value}`,
889
- colNames: O.value.colNames,
890
- head: O.value.head,
891
- body: O.value.body,
892
- config: O.value.config,
893
- title: e.value.table.useDialog ? "" : U.value.title,
894
- withCloseButton: !e.value.table.useDialog,
895
- isCursorPointer: P.value,
896
- onClose: Se
897
- }, {
898
- th: i(({ th: o }) => [
899
- _("div", {
900
- innerHTML: o,
901
- style: { display: "flex", "align-items": "center" }
902
- }, null, 8, go)
903
- ]),
904
- td: i(({ td: o }) => [
905
- Ue(Ze(o.name || o), 1)
906
- ]),
907
- _: 1
908
- }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton", "isCursorPointer"]))
909
- ]),
910
- _: 2
911
- }, [
912
- e.value.table.useDialog ? {
913
- name: "title",
914
- fn: i(() => [
915
- Ue(Ze(U.value.title), 1)
916
- ]),
917
- key: "0"
918
- } : void 0,
919
- e.value.table.useDialog ? {
920
- name: "actions",
921
- fn: i(() => [
922
- _("button", {
923
- tabindex: "0",
924
- class: "vue-ui-user-options-button",
925
- onClick: l[1] || (l[1] = (o) => oe(e.value.userOptions.callbacks.csv)),
926
- style: E({ cursor: P.value ? "pointer" : "default" })
927
- }, [
928
- D(a(re), {
929
- name: "fileCsv",
930
- stroke: U.value.props.color
931
- }, null, 8, ["stroke"])
932
- ], 4)
933
- ]),
934
- key: "1"
935
- } : void 0
936
- ]), 1040)) : k("", !0),
937
- r(t.$slots, "skeleton", {}, () => [
938
- a(q) ? (d(), T(Yt, { key: 0 })) : k("", !0)
939
- ], !0)
940
- ], 46, so));
941
- }
942
- }, No = /* @__PURE__ */ ao(Co, [["__scopeId", "data-v-95930e33"]]);
943
- export {
944
- No as default
945
- };