vue-data-ui 3.19.9 → 3.20.1

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 (322) hide show
  1. package/package.json +120 -120
  2. package/dist/A11yDataTable-q2-8fSlJ.js +0 -45
  3. package/dist/Arrow-Cj6W6Xbi.js +0 -116
  4. package/dist/BaseDraggableDialog-DUUu2E2Q.js +0 -272
  5. package/dist/BaseIcon-DM1x8hQF.js +0 -502
  6. package/dist/BaseLegendToggle-CJTwLGXL.js +0 -56
  7. package/dist/BaseScanner-C7dmAref.js +0 -27
  8. package/dist/BaseZoomControls-BkajQ8q9.js +0 -111
  9. package/dist/ColorPicker-DTQeqKUV.js +0 -255
  10. package/dist/DataTable-DmE8Oo4i.js +0 -150
  11. package/dist/Legend-Gg5Q4Clb.js +0 -114
  12. package/dist/NonSvgPenAndPaper-tvWXeCsd.js +0 -577
  13. package/dist/PackageVersion-Dl9W5zJD.js +0 -11
  14. package/dist/PenAndPaper-DNgm6y3l.js +0 -461
  15. package/dist/RecursiveCircles-DPpLel6f.js +0 -117
  16. package/dist/RecursiveLabels-DBMJf_to.js +0 -56
  17. package/dist/RecursiveLinks-D06dBL4a.js +0 -78
  18. package/dist/Shape-DEGOZ6GG.js +0 -141
  19. package/dist/Slicer-CPWGgGSp.js +0 -1144
  20. package/dist/SlicerPreview-BU3ZeHjR.js +0 -1555
  21. package/dist/SparkTooltip-c2DL7gqD.js +0 -93
  22. package/dist/Title-__gWq2g6.js +0 -87
  23. package/dist/Tooltip-CuWEYGr3.js +0 -312
  24. package/dist/UserOptions-D7zR0tnR.js +0 -1411
  25. package/dist/_plugin-vue_export-helper-Dq1MygBL.js +0 -8
  26. package/dist/canvas-lib-DTaADQOK.js +0 -79
  27. package/dist/components/arrow.js +0 -2
  28. package/dist/components/vue-ui-3d-bar.js +0 -2
  29. package/dist/components/vue-ui-accordion.js +0 -2
  30. package/dist/components/vue-ui-age-pyramid.js +0 -2
  31. package/dist/components/vue-ui-annotator.js +0 -2
  32. package/dist/components/vue-ui-bullet.js +0 -2
  33. package/dist/components/vue-ui-bump.js +0 -2
  34. package/dist/components/vue-ui-candlestick.js +0 -2
  35. package/dist/components/vue-ui-carousel-table.js +0 -2
  36. package/dist/components/vue-ui-chestnut.js +0 -2
  37. package/dist/components/vue-ui-chord.js +0 -2
  38. package/dist/components/vue-ui-circle-pack.js +0 -2
  39. package/dist/components/vue-ui-cursor.js +0 -2
  40. package/dist/components/vue-ui-dag.js +0 -2
  41. package/dist/components/vue-ui-dashboard.js +0 -2
  42. package/dist/components/vue-ui-digits.js +0 -2
  43. package/dist/components/vue-ui-donut-evolution.js +0 -2
  44. package/dist/components/vue-ui-donut.js +0 -2
  45. package/dist/components/vue-ui-dumbbell.js +0 -2
  46. package/dist/components/vue-ui-flow.js +0 -2
  47. package/dist/components/vue-ui-funnel.js +0 -2
  48. package/dist/components/vue-ui-galaxy.js +0 -2
  49. package/dist/components/vue-ui-gauge.js +0 -2
  50. package/dist/components/vue-ui-geo.js +0 -2
  51. package/dist/components/vue-ui-gizmo.js +0 -2
  52. package/dist/components/vue-ui-heatmap.js +0 -2
  53. package/dist/components/vue-ui-history-plot.js +0 -2
  54. package/dist/components/vue-ui-horizontal-bar.js +0 -2
  55. package/dist/components/vue-ui-icon.js +0 -2
  56. package/dist/components/vue-ui-kpi.js +0 -2
  57. package/dist/components/vue-ui-mini-loader.js +0 -2
  58. package/dist/components/vue-ui-molecule.js +0 -2
  59. package/dist/components/vue-ui-mood-radar.js +0 -2
  60. package/dist/components/vue-ui-nested-donuts.js +0 -2
  61. package/dist/components/vue-ui-onion.js +0 -2
  62. package/dist/components/vue-ui-parallel-coordinate-plot.js +0 -2
  63. package/dist/components/vue-ui-pattern-seed.js +0 -2
  64. package/dist/components/vue-ui-pattern.js +0 -2
  65. package/dist/components/vue-ui-quadrant.js +0 -2
  66. package/dist/components/vue-ui-quick-chart.js +0 -2
  67. package/dist/components/vue-ui-radar.js +0 -2
  68. package/dist/components/vue-ui-rating.js +0 -2
  69. package/dist/components/vue-ui-relation-circle.js +0 -2
  70. package/dist/components/vue-ui-ridgeline.js +0 -2
  71. package/dist/components/vue-ui-rings.js +0 -2
  72. package/dist/components/vue-ui-scatter.js +0 -2
  73. package/dist/components/vue-ui-skeleton.js +0 -2
  74. package/dist/components/vue-ui-smiley.js +0 -2
  75. package/dist/components/vue-ui-spark-trend.js +0 -2
  76. package/dist/components/vue-ui-sparkbar.js +0 -2
  77. package/dist/components/vue-ui-sparkgauge.js +0 -2
  78. package/dist/components/vue-ui-sparkhistogram.js +0 -2
  79. package/dist/components/vue-ui-sparkline.js +0 -2
  80. package/dist/components/vue-ui-sparkstackbar.js +0 -2
  81. package/dist/components/vue-ui-stackbar.js +0 -2
  82. package/dist/components/vue-ui-stackline.js +0 -2
  83. package/dist/components/vue-ui-strip-plot.js +0 -2
  84. package/dist/components/vue-ui-table-heatmap.js +0 -2
  85. package/dist/components/vue-ui-table-sparkline.js +0 -2
  86. package/dist/components/vue-ui-table.js +0 -2
  87. package/dist/components/vue-ui-thermometer.js +0 -2
  88. package/dist/components/vue-ui-timer.js +0 -2
  89. package/dist/components/vue-ui-tiremarks.js +0 -2
  90. package/dist/components/vue-ui-treemap.js +0 -2
  91. package/dist/components/vue-ui-vertical-bar.js +0 -2
  92. package/dist/components/vue-ui-waffle.js +0 -2
  93. package/dist/components/vue-ui-wheel.js +0 -2
  94. package/dist/components/vue-ui-word-cloud.js +0 -2
  95. package/dist/components/vue-ui-world.js +0 -2
  96. package/dist/components/vue-ui-xy-canvas.js +0 -2
  97. package/dist/components/vue-ui-xy.js +0 -2
  98. package/dist/dom-to-png-9WSt6hXe.js +0 -237
  99. package/dist/exposedLib-CwWU4zv-.js +0 -19
  100. package/dist/geoProjections-CQIkC70z.js +0 -146
  101. package/dist/img-BjOr008R.js +0 -74
  102. package/dist/labelUtils-Cr97N8E1.js +0 -19
  103. package/dist/lib-BkiwukKO.js +0 -1879
  104. package/dist/llms.txt +0 -232
  105. package/dist/patternUtils-B7BWu5bV.js +0 -258
  106. package/dist/pdf-DSXSFUnK.js +0 -90
  107. package/dist/rolldown-runtime-CAFD8bLK.js +0 -11
  108. package/dist/style.css +0 -2
  109. package/dist/types/arrow.d.ts +0 -4
  110. package/dist/types/utils.d.ts +0 -551
  111. package/dist/types/vue-data-ui.d.ts +0 -15826
  112. package/dist/types/vue-ui-3d-bar.d.ts +0 -78
  113. package/dist/types/vue-ui-accordion.d.ts +0 -11
  114. package/dist/types/vue-ui-age-pyramid.d.ts +0 -95
  115. package/dist/types/vue-ui-annotator.d.ts +0 -12
  116. package/dist/types/vue-ui-bullet.d.ts +0 -72
  117. package/dist/types/vue-ui-bump.d.ts +0 -77
  118. package/dist/types/vue-ui-candlestick.d.ts +0 -93
  119. package/dist/types/vue-ui-carousel-table.d.ts +0 -46
  120. package/dist/types/vue-ui-chestnut.d.ts +0 -79
  121. package/dist/types/vue-ui-chord.d.ts +0 -91
  122. package/dist/types/vue-ui-circle-pack.d.ts +0 -111
  123. package/dist/types/vue-ui-cursor.d.ts +0 -9
  124. package/dist/types/vue-ui-dag.d.ts +0 -106
  125. package/dist/types/vue-ui-dashboard.d.ts +0 -53
  126. package/dist/types/vue-ui-digits.d.ts +0 -12
  127. package/dist/types/vue-ui-donut-evolution.d.ts +0 -81
  128. package/dist/types/vue-ui-donut.d.ts +0 -106
  129. package/dist/types/vue-ui-dumbbell.d.ts +0 -79
  130. package/dist/types/vue-ui-flow.d.ts +0 -93
  131. package/dist/types/vue-ui-funnel.d.ts +0 -66
  132. package/dist/types/vue-ui-galaxy.d.ts +0 -97
  133. package/dist/types/vue-ui-gauge.d.ts +0 -76
  134. package/dist/types/vue-ui-geo.d.ts +0 -81
  135. package/dist/types/vue-ui-gizmo.d.ts +0 -22
  136. package/dist/types/vue-ui-heatmap.d.ts +0 -86
  137. package/dist/types/vue-ui-history-plot.d.ts +0 -97
  138. package/dist/types/vue-ui-horizontal-bar.d.ts +0 -99
  139. package/dist/types/vue-ui-icon.d.ts +0 -15
  140. package/dist/types/vue-ui-kpi.d.ts +0 -25
  141. package/dist/types/vue-ui-mini-loader.d.ts +0 -15
  142. package/dist/types/vue-ui-molecule.d.ts +0 -97
  143. package/dist/types/vue-ui-mood-radar.d.ts +0 -79
  144. package/dist/types/vue-ui-nested-donuts.d.ts +0 -94
  145. package/dist/types/vue-ui-onion.d.ts +0 -91
  146. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +0 -108
  147. package/dist/types/vue-ui-pattern-seed.d.ts +0 -14
  148. package/dist/types/vue-ui-pattern.d.ts +0 -15
  149. package/dist/types/vue-ui-quadrant.d.ts +0 -102
  150. package/dist/types/vue-ui-quick-chart.d.ts +0 -89
  151. package/dist/types/vue-ui-radar.d.ts +0 -101
  152. package/dist/types/vue-ui-rating.d.ts +0 -31
  153. package/dist/types/vue-ui-relation-circle.d.ts +0 -79
  154. package/dist/types/vue-ui-ridgeline.d.ts +0 -85
  155. package/dist/types/vue-ui-rings.d.ts +0 -83
  156. package/dist/types/vue-ui-scatter.d.ts +0 -82
  157. package/dist/types/vue-ui-skeleton.d.ts +0 -11
  158. package/dist/types/vue-ui-smiley.d.ts +0 -12
  159. package/dist/types/vue-ui-spark-trend.d.ts +0 -19
  160. package/dist/types/vue-ui-sparkbar.d.ts +0 -36
  161. package/dist/types/vue-ui-sparkgauge.d.ts +0 -28
  162. package/dist/types/vue-ui-sparkhistogram.d.ts +0 -33
  163. package/dist/types/vue-ui-sparkline.d.ts +0 -44
  164. package/dist/types/vue-ui-sparkstackbar.d.ts +0 -45
  165. package/dist/types/vue-ui-stackbar.d.ts +0 -97
  166. package/dist/types/vue-ui-stackline.d.ts +0 -93
  167. package/dist/types/vue-ui-strip-plot.d.ts +0 -81
  168. package/dist/types/vue-ui-table-heatmap.d.ts +0 -62
  169. package/dist/types/vue-ui-table-sparkline.d.ts +0 -40
  170. package/dist/types/vue-ui-table.d.ts +0 -25
  171. package/dist/types/vue-ui-thermometer.d.ts +0 -57
  172. package/dist/types/vue-ui-timer.d.ts +0 -36
  173. package/dist/types/vue-ui-tiremarks.d.ts +0 -57
  174. package/dist/types/vue-ui-treemap.d.ts +0 -87
  175. package/dist/types/vue-ui-vertical-bar.d.ts +0 -22
  176. package/dist/types/vue-ui-waffle.d.ts +0 -86
  177. package/dist/types/vue-ui-wheel.d.ts +0 -57
  178. package/dist/types/vue-ui-word-cloud.d.ts +0 -84
  179. package/dist/types/vue-ui-world.d.ts +0 -81
  180. package/dist/types/vue-ui-xy-canvas.d.ts +0 -84
  181. package/dist/types/vue-ui-xy.d.ts +0 -125
  182. package/dist/useAutoSizeLabelsInsideViewbox-dp-3Gg97.js +0 -50
  183. package/dist/useChartAccessibility-Do37qcw2.js +0 -12
  184. package/dist/useConfig-ByaaSKhz.js +0 -7471
  185. package/dist/useFitSvgText-C-MEdAfe.js +0 -63
  186. package/dist/useNestedProp-Ck4hsrpu.js +0 -10
  187. package/dist/useObjectBindings-BR1sGimd.js +0 -189
  188. package/dist/usePanZoom-B-4M_gmY.js +0 -157
  189. package/dist/usePrefersMotion-BywLbIko.js +0 -15
  190. package/dist/usePrinter-X0yWOynH.js +0 -49
  191. package/dist/useResponsive-CrAInupd.js +0 -19
  192. package/dist/useStableElementSize-0I1IpHPl.js +0 -77
  193. package/dist/useSvgExport-Dtu973wa.js +0 -755
  194. package/dist/useTableResponsive-DrM1xqII.js +0 -24
  195. package/dist/useThemeCheck-rFK9Zlb_.js +0 -24
  196. package/dist/useTimeLabelCollider-Dm55Emzg.js +0 -57
  197. package/dist/useTimeLabels-C0x7zUXP.js +0 -272
  198. package/dist/useUserOptionState-CjPJPTg2.js +0 -15
  199. package/dist/utils.js +0 -28
  200. package/dist/vClickOutside-CbX_bC9A.js +0 -13
  201. package/dist/vue-data-ui-nsosW-n5.js +0 -274
  202. package/dist/vue-data-ui.js +0 -76
  203. package/dist/vue-ui-3d-bar-CTvvvgBE.js +0 -1757
  204. package/dist/vue-ui-accordion-BX9WL-QF.js +0 -81
  205. package/dist/vue-ui-age-pyramid-ckZtLlmH.js +0 -1238
  206. package/dist/vue-ui-annotator-Be3VpH8Z.js +0 -2899
  207. package/dist/vue-ui-bullet-3CkhGOSb.js +0 -710
  208. package/dist/vue-ui-bump-LQuPTOlm.js +0 -1249
  209. package/dist/vue-ui-candlestick-BeO06tlH.js +0 -1826
  210. package/dist/vue-ui-carousel-table-nZJ1k6se.js +0 -455
  211. package/dist/vue-ui-chestnut-BWItE1hg.js +0 -2010
  212. package/dist/vue-ui-chord-YflKRyWK.js +0 -1391
  213. package/dist/vue-ui-circle-pack-DyTYvEg3.js +0 -1608
  214. package/dist/vue-ui-cursor-C5_wkWul.js +0 -283
  215. package/dist/vue-ui-dag-mH0baWM3.js +0 -2909
  216. package/dist/vue-ui-dashboard-F7pEuJDh.js +0 -513
  217. package/dist/vue-ui-digits-BYBtwXy_.js +0 -209
  218. package/dist/vue-ui-donut-B3L7jeHL.js +0 -2410
  219. package/dist/vue-ui-donut-evolution-C46h0gLy.js +0 -1510
  220. package/dist/vue-ui-dumbbell-xekp1obI.js +0 -1527
  221. package/dist/vue-ui-flow-BYYyk5KL.js +0 -1235
  222. package/dist/vue-ui-funnel-BfY509t-.js +0 -777
  223. package/dist/vue-ui-galaxy-D061gTYS.js +0 -1077
  224. package/dist/vue-ui-gauge-BRxZNBBS.js +0 -920
  225. package/dist/vue-ui-geo-BwOMFUVr.js +0 -1516
  226. package/dist/vue-ui-gizmo-CQsP8Nd3.js +0 -225
  227. package/dist/vue-ui-heatmap-DOsulVoP.js +0 -1568
  228. package/dist/vue-ui-history-plot-CXW6lF42.js +0 -1559
  229. package/dist/vue-ui-horizontal-bar-CideXtlg.js +0 -1681
  230. package/dist/vue-ui-kpi-CE-JFZ1o.js +0 -96
  231. package/dist/vue-ui-mini-loader-DDJUya9e.js +0 -125
  232. package/dist/vue-ui-molecule-B1Prm5Lk.js +0 -925
  233. package/dist/vue-ui-mood-radar-B29gVcTN.js +0 -1148
  234. package/dist/vue-ui-nested-donuts-Bsx5f9Gv.js +0 -1487
  235. package/dist/vue-ui-onion-MN-PjNJq.js +0 -1200
  236. package/dist/vue-ui-parallel-coordinate-plot-C9zU7MP5.js +0 -1421
  237. package/dist/vue-ui-pattern-Bj-IPFr2.js +0 -154
  238. package/dist/vue-ui-pattern-seed-abRweCDE.js +0 -61
  239. package/dist/vue-ui-quadrant-h-QFG9O4.js +0 -1978
  240. package/dist/vue-ui-quick-chart-PAVz4c9z.js +0 -2469
  241. package/dist/vue-ui-radar-D2pVd53z.js +0 -1229
  242. package/dist/vue-ui-rating-D_QR_A3V.js +0 -343
  243. package/dist/vue-ui-relation-circle-BjB0J53V.js +0 -924
  244. package/dist/vue-ui-ridgeline-DamvqiyJ.js +0 -1622
  245. package/dist/vue-ui-rings-DkHS5dwd.js +0 -1246
  246. package/dist/vue-ui-scatter-dFDowCVQ.js +0 -2413
  247. package/dist/vue-ui-skeleton-zhkS1cmh.js +0 -2556
  248. package/dist/vue-ui-smiley-rFdGxZK6.js +0 -356
  249. package/dist/vue-ui-spark-trend-fQ10-UvM.js +0 -438
  250. package/dist/vue-ui-sparkbar-D5toou8V.js +0 -393
  251. package/dist/vue-ui-sparkgauge-DRZcIPYf.js +0 -255
  252. package/dist/vue-ui-sparkhistogram-YizEqFdN.js +0 -560
  253. package/dist/vue-ui-sparkline-w2nclIW0.js +0 -1507
  254. package/dist/vue-ui-sparkstackbar-CTShNXhW.js +0 -662
  255. package/dist/vue-ui-stackbar-BFLCEsRk.js +0 -2267
  256. package/dist/vue-ui-stackline-CU6s-hhv.js +0 -2395
  257. package/dist/vue-ui-strip-plot-ByaDLFSL.js +0 -1340
  258. package/dist/vue-ui-table-DuA_CfGn.js +0 -1338
  259. package/dist/vue-ui-table-heatmap-BFKyJTr1.js +0 -344
  260. package/dist/vue-ui-table-sparkline-Dfei_QrJ.js +0 -707
  261. package/dist/vue-ui-thermometer-biw3ivMI.js +0 -763
  262. package/dist/vue-ui-timer-9LNNDl4q.js +0 -439
  263. package/dist/vue-ui-tiremarks-kF0Baqia.js +0 -552
  264. package/dist/vue-ui-treemap-BexKMBhz.js +0 -1587
  265. package/dist/vue-ui-waffle-Dq50j_uw.js +0 -1362
  266. package/dist/vue-ui-wheel-BETHlWsO.js +0 -885
  267. package/dist/vue-ui-word-cloud-D1AQtzmT.js +0 -1656
  268. package/dist/vue-ui-world-CcgbuSp_.js +0 -14264
  269. package/dist/vue-ui-xy-BQ1YONCq.js +0 -4219
  270. package/dist/vue-ui-xy-canvas-4ABYnasj.js +0 -1786
  271. package/dist/vue_ui_3d_bar-CXKqO5Ej.js +0 -185
  272. package/dist/vue_ui_age_pyramid-BON8QI6X.js +0 -301
  273. package/dist/vue_ui_bullet-CE5sFT7u.js +0 -186
  274. package/dist/vue_ui_bump-frnXaXul.js +0 -201
  275. package/dist/vue_ui_candlestick-sY6UtOop.js +0 -374
  276. package/dist/vue_ui_chestnut-BiUZFv40.js +0 -305
  277. package/dist/vue_ui_chord-DpyR_b9A.js +0 -275
  278. package/dist/vue_ui_circle_pack-FjH0ZQeb.js +0 -172
  279. package/dist/vue_ui_dag-Ci_MOnvd.js +0 -258
  280. package/dist/vue_ui_donut-Cx2_BGcQ.js +0 -358
  281. package/dist/vue_ui_donut_evolution-CAJefrHs.js +0 -717
  282. package/dist/vue_ui_dumbbell-CClzAZTN.js +0 -304
  283. package/dist/vue_ui_flow-CCHO1Lo9.js +0 -238
  284. package/dist/vue_ui_funnel-h8q2mRpC.js +0 -234
  285. package/dist/vue_ui_galaxy-70vtkEBw.js +0 -265
  286. package/dist/vue_ui_gauge-C17CgfzN.js +0 -178
  287. package/dist/vue_ui_geo-C0UbQ0Lc.js +0 -248
  288. package/dist/vue_ui_heatmap-BqPP3J4M.js +0 -319
  289. package/dist/vue_ui_history_plot-C5nytDHh.js +0 -413
  290. package/dist/vue_ui_horizontal_bar-Bqxorkc_.js +0 -341
  291. package/dist/vue_ui_molecule-Dka4JBOp.js +0 -231
  292. package/dist/vue_ui_mood_radar-Dg4ijm53.js +0 -281
  293. package/dist/vue_ui_nested_donuts-BY9cOoHF.js +0 -273
  294. package/dist/vue_ui_onion-DTV9cup-.js +0 -293
  295. package/dist/vue_ui_parallel_coordinate_plot-CNWrDh96.js +0 -278
  296. package/dist/vue_ui_quadrant-3kjYvxpj.js +0 -428
  297. package/dist/vue_ui_quick_chart--VaYQuM4.js +0 -139
  298. package/dist/vue_ui_radar-Dxx9GJmj.js +0 -306
  299. package/dist/vue_ui_relation_circle-Cr0I2SoU.js +0 -98
  300. package/dist/vue_ui_ridgeline-CAtYca4b.js +0 -767
  301. package/dist/vue_ui_rings-DXC1VeX5.js +0 -320
  302. package/dist/vue_ui_scatter-D2S2j0ap.js +0 -479
  303. package/dist/vue_ui_spark_trend-BHMQ6_1p.js +0 -82
  304. package/dist/vue_ui_sparkbar-BR6hbuDE.js +0 -64
  305. package/dist/vue_ui_sparkgauge-xfPRHnMv.js +0 -90
  306. package/dist/vue_ui_sparkhistogram-CJRENZ1C.js +0 -123
  307. package/dist/vue_ui_sparkline-wgk7yO7E.js +0 -151
  308. package/dist/vue_ui_sparkstackbar-C5qZMmAl.js +0 -175
  309. package/dist/vue_ui_stackbar-BW_C3MXw.js +0 -412
  310. package/dist/vue_ui_stackline-DXxzibUd.js +0 -460
  311. package/dist/vue_ui_strip_plot-8ZelqC5b.js +0 -301
  312. package/dist/vue_ui_table_heatmap-BGUjA0WA.js +0 -80
  313. package/dist/vue_ui_table_sparkline-i0Q-N_we.js +0 -124
  314. package/dist/vue_ui_thermometer-CuN7Gpez.js +0 -123
  315. package/dist/vue_ui_tiremarks-A6UHC0c3.js +0 -122
  316. package/dist/vue_ui_treemap-BQp06q-g.js +0 -328
  317. package/dist/vue_ui_vertical_bar-CJSD1FZS.js +0 -247
  318. package/dist/vue_ui_waffle-C_Ev4l7B.js +0 -292
  319. package/dist/vue_ui_wheel-DdkTPXJU.js +0 -133
  320. package/dist/vue_ui_word_cloud-B1PbsYPc.js +0 -254
  321. package/dist/vue_ui_xy-BYPqfYyx.js +0 -482
  322. package/dist/vue_ui_xy_canvas-CMHGNrLf.js +0 -408
@@ -1,925 +0,0 @@
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-BkiwukKO.js";
3
- import { t as oe } from "./useConfig-ByaaSKhz.js";
4
- import { t as se } from "./usePrinter-X0yWOynH.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-Ck4hsrpu.js";
8
- import { t as de } from "./useThemeCheck-rFK9Zlb_.js";
9
- import { t as fe } from "./img-BjOr008R.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) => ({ v2702dffc: en.value }));
55
- let k = v(() => import("./Title-__gWq2g6.js").then((e) => e.t)), He = v(() => import("./Tooltip-CuWEYGr3.js")), Ue = v(() => import("./BaseIcon-DM1x8hQF.js").then((e) => e.n)), We = v(() => import("./vue-ui-accordion-BX9WL-QF.js").then((e) => e.n)), Ge = v(() => import("./DataTable-DmE8Oo4i.js")), Ke = v(() => import("./PenAndPaper-DNgm6y3l.js").then((e) => e.t)), qe = v(() => import("./UserOptions-D7zR0tnR.js").then((e) => e.n)), Je = v(() => import("./PackageVersion-Dl9W5zJD.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-DUUu2E2Q.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
- let en = f(() => I.value.style.chart.color);
536
- return pe({
537
- getData: Pt,
538
- getImage: Kt,
539
- generatePdf: yt,
540
- generateCsv: Nt,
541
- generateImage: bt,
542
- generateSvg: Zt,
543
- toggleTable: It,
544
- toggleLabels: Lt,
545
- toggleTooltip: Rt,
546
- toggleAnnotator: Bt,
547
- toggleFullscreen: Ft,
548
- toggleZoom: zt,
549
- copyAlt: $t
550
- }), (e, t) => (C(), h("div", {
551
- ref_key: "moleculeChart",
552
- ref: M,
553
- class: Se(`vue-data-ui-component vue-ui-molecule ${X.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
554
- style: S(`font-family:${I.value.style.fontFamily};width:100%; text-align:center;background:${I.value.style.chart.backgroundColor}`),
555
- id: `cluster_${ot.value}`,
556
- onMouseleave: t[2] ||= (e) => {
557
- q.value = null, J.value = null, E(pt)(!1);
558
- },
559
- onMouseenter: t[3] ||= () => E(pt)(!0)
560
- }, [
561
- I.value.userOptions.buttons.annotator && E(V) ? (C(), p(E(Ke), {
562
- key: 0,
563
- svgRef: E(V),
564
- backgroundColor: I.value.style.chart.backgroundColor,
565
- color: I.value.style.chart.color,
566
- active: Z.value,
567
- isCursorPointer: L.value,
568
- onClose: Bt
569
- }, {
570
- "annotator-action-close": O(() => [T(e.$slots, "annotator-action-close", {}, void 0, !0)]),
571
- "annotator-action-color": O(({ color: t }) => [T(e.$slots, "annotator-action-color", x(y({ color: t })), void 0, !0)]),
572
- "annotator-action-draw": O(({ mode: t }) => [T(e.$slots, "annotator-action-draw", x(y({ mode: t })), void 0, !0)]),
573
- "annotator-action-undo": O(({ disabled: t }) => [T(e.$slots, "annotator-action-undo", x(y({ disabled: t })), void 0, !0)]),
574
- "annotator-action-redo": O(({ disabled: t }) => [T(e.$slots, "annotator-action-redo", x(y({ disabled: t })), void 0, !0)]),
575
- "annotator-action-delete": O(({ disabled: t }) => [T(e.$slots, "annotator-action-delete", x(y({ disabled: t })), void 0, !0)]),
576
- _: 3
577
- }, 8, [
578
- "svgRef",
579
- "backgroundColor",
580
- "color",
581
- "active",
582
- "isCursorPointer"
583
- ])) : m("", !0),
584
- xt.value ? (C(), h("div", je, null, 512)) : m("", !0),
585
- I.value.style.chart.title.text ? (C(), h("div", Me, [(C(), p(E(k), {
586
- key: `title_${lt.value}`,
587
- config: {
588
- title: {
589
- cy: "molecule-div-title",
590
- ...I.value.style.chart.title
591
- },
592
- subtitle: {
593
- cy: "molecule-div-subtitle",
594
- ...I.value.style.chart.title.subtitle
595
- }
596
- }
597
- }, null, 8, ["config"]))])) : m("", !0),
598
- I.value.userOptions.show && rt.value && (E(mt) || E(B)) ? (C(), p(E(qe), {
599
- ref_key: "userOptionsRef",
600
- ref: dt,
601
- key: `user_options_${ct.value}`,
602
- backgroundColor: I.value.style.chart.backgroundColor,
603
- color: I.value.style.chart.color,
604
- isPrinting: E(_t),
605
- isImaging: E(vt),
606
- uid: ot.value,
607
- hasTooltip: I.value.userOptions.buttons.tooltip && I.value.style.chart.tooltip.show,
608
- hasPdf: I.value.userOptions.buttons.pdf,
609
- hasXls: I.value.userOptions.buttons.csv,
610
- hasImg: I.value.userOptions.buttons.img,
611
- hasSvg: I.value.userOptions.buttons.svg,
612
- hasTable: I.value.userOptions.buttons.table,
613
- hasLabel: I.value.userOptions.buttons.labels,
614
- hasFullscreen: I.value.userOptions.buttons.fullscreen,
615
- hasAltCopy: I.value.userOptions.buttons.altCopy,
616
- isTooltip: U.value.showTooltip,
617
- titles: { ...I.value.userOptions.buttonTitles },
618
- chartElement: M.value,
619
- position: I.value.userOptions.position,
620
- hasAnnotator: I.value.userOptions.buttons.annotator,
621
- isAnnotation: Z.value,
622
- callbacks: I.value.userOptions.callbacks,
623
- printScale: I.value.userOptions.print.scale,
624
- tableDialog: I.value.table.useDialog,
625
- hasZoom: I.value.userOptions.buttons.zoom,
626
- isZoom: U.value.showZoom,
627
- isCursorPointer: L.value,
628
- onToggleFullscreen: Ft,
629
- onGeneratePdf: E(yt),
630
- onGenerateCsv: Nt,
631
- onGenerateImage: Qt,
632
- onGenerateSvg: Zt,
633
- onToggleTable: It,
634
- onToggleLabels: Lt,
635
- onToggleTooltip: Rt,
636
- onToggleAnnotator: Bt,
637
- onToggleZoom: zt,
638
- onCopyAlt: $t,
639
- style: S({ visibility: E(mt) ? E(B) ? "visible" : "hidden" : "visible" })
640
- }, ye({ _: 2 }, [
641
- e.$slots.menuIcon ? {
642
- name: "menuIcon",
643
- fn: O(({ isOpen: t, color: n }) => [T(e.$slots, "menuIcon", x(y({
644
- isOpen: t,
645
- color: n
646
- })), void 0, !0)]),
647
- key: "0"
648
- } : void 0,
649
- e.$slots.optionTooltip ? {
650
- name: "optionTooltip",
651
- fn: O(() => [T(e.$slots, "optionTooltip", {}, void 0, !0)]),
652
- key: "1"
653
- } : void 0,
654
- e.$slots.optionPdf ? {
655
- name: "optionPdf",
656
- fn: O(() => [T(e.$slots, "optionPdf", {}, void 0, !0)]),
657
- key: "2"
658
- } : void 0,
659
- e.$slots.optionCsv ? {
660
- name: "optionCsv",
661
- fn: O(() => [T(e.$slots, "optionCsv", {}, void 0, !0)]),
662
- key: "3"
663
- } : void 0,
664
- e.$slots.optionImg ? {
665
- name: "optionImg",
666
- fn: O(() => [T(e.$slots, "optionImg", {}, void 0, !0)]),
667
- key: "4"
668
- } : void 0,
669
- e.$slots.optionSvg ? {
670
- name: "optionSvg",
671
- fn: O(() => [T(e.$slots, "optionSvg", {}, void 0, !0)]),
672
- key: "5"
673
- } : void 0,
674
- e.$slots.optionTable ? {
675
- name: "optionTable",
676
- fn: O(() => [T(e.$slots, "optionTable", {}, void 0, !0)]),
677
- key: "6"
678
- } : void 0,
679
- e.$slots.optionLabels ? {
680
- name: "optionLabels",
681
- fn: O(() => [T(e.$slots, "optionLabels", {}, void 0, !0)]),
682
- key: "7"
683
- } : void 0,
684
- e.$slots.optionFullscreen ? {
685
- name: "optionFullscreen",
686
- fn: O(({ toggleFullscreen: t, isFullscreen: n }) => [T(e.$slots, "optionFullscreen", x(y({
687
- toggleFullscreen: t,
688
- isFullscreen: n
689
- })), void 0, !0)]),
690
- key: "8"
691
- } : void 0,
692
- e.$slots.optionAnnotator ? {
693
- name: "optionAnnotator",
694
- fn: O(({ toggleAnnotator: t, isAnnotator: n }) => [T(e.$slots, "optionAnnotator", x(y({
695
- toggleAnnotator: t,
696
- isAnnotator: n
697
- })), void 0, !0)]),
698
- key: "9"
699
- } : void 0,
700
- e.$slots.optionZoom ? {
701
- name: "optionZoom",
702
- fn: O(({ toggleZoom: t, isZoomLocked: n }) => [T(e.$slots, "optionZoom", x(y({
703
- toggleZoom: t,
704
- isZoomLocked: n
705
- })), void 0, !0)]),
706
- key: "10"
707
- } : void 0,
708
- e.$slots.optionAltCopy ? {
709
- name: "optionAltCopy",
710
- fn: O(({ altCopy: t }) => [T(e.$slots, "optionAltCopy", x(y({ altCopy: t })), void 0, !0)]),
711
- key: "11"
712
- } : void 0,
713
- e.$slots["custom-menu-before"] ? {
714
- name: "custom-menu-before",
715
- fn: O(() => [T(e.$slots, "custom-menu-before", {}, void 0, !0)]),
716
- key: "12"
717
- } : void 0,
718
- e.$slots["custom-menu-after"] ? {
719
- name: "custom-menu-after",
720
- fn: O(() => [T(e.$slots, "custom-menu-after", {}, void 0, !0)]),
721
- key: "13"
722
- } : void 0
723
- ]), 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),
724
- (C(), h("svg", {
725
- ref_key: "svgRef",
726
- ref: V,
727
- key: `svg_${ht.value}`,
728
- xmlns: E(ne),
729
- viewBox: `${E(Q).x} ${E(Q).y} ${E(Q).width} ${E(Q).height}`,
730
- class: Se({
731
- "vue-data-ui-fullscreen--on": X.value,
732
- "vue-data-ui-fulscreen--off": !X.value
733
- }),
734
- style: S(`overflow: hidden; background:transparent;color:${I.value.style.chart.color}`)
735
- }, [
736
- _(E(Je)),
737
- e.$slots["chart-background"] ? (C(), h("foreignObject", {
738
- key: 0,
739
- x: 0,
740
- y: 0,
741
- width: W.value.width <= 0 ? 10 : W.value.width,
742
- height: W.value.height <= 0 ? 10 : W.value.height,
743
- style: { pointerEvents: "none" }
744
- }, [T(e.$slots, "chart-background", {}, void 0, !0)], 8, Pe)) : m("", !0),
745
- g("defs", null, [(C(!0), h(ve, null, we(Object.keys(Dt.value), (e) => (C(), h("radialGradient", {
746
- id: `gradient_${e}`,
747
- cx: "50%",
748
- cy: "30%",
749
- r: "50%",
750
- fx: "50%",
751
- fy: "50%"
752
- }, [g("stop", {
753
- offset: "0%",
754
- "stop-color": E(ie)(e, .5)
755
- }, null, 8, Ie), g("stop", {
756
- offset: "100%",
757
- "stop-color": e
758
- }, null, 8, Le)], 8, Fe))), 256))]),
759
- _(E(Ye), {
760
- dataset: G.value,
761
- color: I.value.style.chart.links.stroke,
762
- backgroundColor: I.value.style.chart.backgroundColor,
763
- useChildColor: I.value.style.chart.links.useChildColor
764
- }, null, 8, [
765
- "dataset",
766
- "color",
767
- "backgroundColor",
768
- "useChildColor"
769
- ]),
770
- _(E(Ze), {
771
- dataset: G.value,
772
- hoveredUid: J.value,
773
- stroke: I.value.style.chart.nodes.stroke,
774
- strokeHovered: I.value.style.chart.nodes.strokeHovered,
775
- onClick: Gt,
776
- onHover: At
777
- }, {
778
- node: O(({ node: t }) => [T(e.$slots, "node", x(y({ node: t })), void 0, !0)]),
779
- "node-svg": O(({ nodeSvg: t }) => [T(e.$slots, "node-svg", x(y({ nodeSvg: t })), void 0, !0)]),
780
- _: 3
781
- }, 8, [
782
- "dataset",
783
- "hoveredUid",
784
- "stroke",
785
- "strokeHovered"
786
- ]),
787
- U.value.showDataLabels && !E(R) ? (C(), p(E(Xe), {
788
- key: 1,
789
- dataset: G.value,
790
- color: I.value.style.chart.color,
791
- hoveredUid: J.value
792
- }, null, 8, [
793
- "dataset",
794
- "color",
795
- "hoveredUid"
796
- ])) : m("", !0),
797
- T(e.$slots, "svg", { svg: {
798
- ...W.value,
799
- drawingArea: { ...E(Q) },
800
- isPrintingImg: E(_t) || E(vt) || P.value,
801
- isPrintingSvg: F.value
802
- } }, void 0, !0)
803
- ], 14, Ne)),
804
- 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),
805
- E(Ut) ? (C(), h("div", ze, [T(e.$slots, "reset-action", { reset: E(Ht) }, () => [g("button", {
806
- "data-cy-reset": "",
807
- tabindex: "0",
808
- role: "button",
809
- class: "vue-data-ui-refresh-button",
810
- style: S({
811
- background: I.value.style.chart.backgroundColor,
812
- cursor: L.value ? "pointer" : "default"
813
- }),
814
- onClick: t[0] ||= (e) => E(Ht)(!0)
815
- }, [_(E(Ue), {
816
- name: "refresh",
817
- stroke: I.value.style.chart.color
818
- }, null, 8, ["stroke"])], 4)], !0)])) : m("", !0),
819
- e.$slots.source ? (C(), h("div", Be, [T(e.$slots, "source", {}, void 0, !0)], 512)) : m("", !0),
820
- _(E(He), {
821
- teleportTo: I.value.style.chart.tooltip.teleportTo,
822
- show: U.value.showTooltip && st.value,
823
- backgroundColor: I.value.style.chart.tooltip.backgroundColor,
824
- color: I.value.style.chart.tooltip.color,
825
- borderRadius: I.value.style.chart.tooltip.borderRadius,
826
- borderColor: I.value.style.chart.tooltip.borderColor,
827
- borderWidth: I.value.style.chart.tooltip.borderWidth,
828
- fontSize: I.value.style.chart.tooltip.fontSize,
829
- backgroundOpacity: I.value.style.chart.tooltip.backgroundOpacity,
830
- position: I.value.style.chart.tooltip.position,
831
- offsetX: I.value.style.chart.tooltip.offsetX,
832
- offsetY: I.value.style.chart.tooltip.offsetY,
833
- parent: M.value,
834
- content: j.value,
835
- isFullscreen: X.value,
836
- isCustom: I.value.style.chart.tooltip.customFormat && typeof I.value.style.chart.tooltip.customFormat == "function",
837
- smooth: I.value.style.chart.tooltip.smooth,
838
- backdropFilter: I.value.style.chart.tooltip.backdropFilter,
839
- smoothForce: I.value.style.chart.tooltip.smoothForce,
840
- smoothSnapThreshold: I.value.style.chart.tooltip.smoothSnapThreshold
841
- }, {
842
- "tooltip-before": O(() => [T(e.$slots, "tooltip-before", x(y({ ...K.value })), void 0, !0)]),
843
- tooltip: O(() => [T(e.$slots, "tooltip", x(y({ ...K.value })), void 0, !0)]),
844
- "tooltip-after": O(() => [T(e.$slots, "tooltip-after", x(y({ ...K.value })), void 0, !0)]),
845
- _: 3
846
- }, 8, [
847
- "teleportTo",
848
- "show",
849
- "backgroundColor",
850
- "color",
851
- "borderRadius",
852
- "borderColor",
853
- "borderWidth",
854
- "fontSize",
855
- "backgroundOpacity",
856
- "position",
857
- "offsetX",
858
- "offsetY",
859
- "parent",
860
- "content",
861
- "isFullscreen",
862
- "isCustom",
863
- "smooth",
864
- "backdropFilter",
865
- "smoothForce",
866
- "smoothSnapThreshold"
867
- ]),
868
- rt.value && I.value.userOptions.buttons.table ? (C(), p(Te($.value.component), xe({ key: 7 }, $.value.props, {
869
- ref_key: "tableUnit",
870
- ref: N,
871
- onClose: qt
872
- }), ye({
873
- content: O(() => [(C(), p(E(Ge), {
874
- key: `table_${ut.value}`,
875
- colNames: Y.value.colNames,
876
- head: Y.value.head,
877
- body: Y.value.body,
878
- config: Y.value.config,
879
- title: I.value.table.useDialog ? "" : $.value.title,
880
- withCloseButton: !I.value.table.useDialog,
881
- isCursorPointer: L.value,
882
- onClose: qt
883
- }, {
884
- th: O(({ th: e }) => [g("div", {
885
- innerHTML: e,
886
- style: {
887
- display: "flex",
888
- "align-items": "center"
889
- }
890
- }, null, 8, Ve)]),
891
- td: O(({ td: e }) => [be(Ee(e.name || e), 1)]),
892
- _: 1
893
- }, 8, [
894
- "colNames",
895
- "head",
896
- "body",
897
- "config",
898
- "title",
899
- "withCloseButton",
900
- "isCursorPointer"
901
- ]))]),
902
- _: 2
903
- }, [I.value.table.useDialog ? {
904
- name: "title",
905
- fn: O(() => [be(Ee($.value.title), 1)]),
906
- key: "0"
907
- } : void 0, I.value.table.useDialog ? {
908
- name: "actions",
909
- fn: O(() => [g("button", {
910
- tabindex: "0",
911
- class: "vue-ui-user-options-button",
912
- onClick: t[1] ||= (e) => Nt(I.value.userOptions.callbacks.csv),
913
- style: S({ cursor: L.value ? "pointer" : "default" })
914
- }, [_(E(Ue), {
915
- name: "fileCsv",
916
- stroke: $.value.props.color
917
- }, null, 8, ["stroke"])], 4)]),
918
- key: "1"
919
- } : void 0]), 1040)) : m("", !0),
920
- T(e.$slots, "skeleton", {}, () => [E(R) ? (C(), p(le, { key: 0 })) : m("", !0)], !0)
921
- ], 46, Ae));
922
- }
923
- }, [["__scopeId", "data-v-102eae3a"]]);
924
- //#endregion
925
- export { ke as n, k as t };