vue-data-ui 3.17.13 → 3.18.0

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