vue-data-ui 3.20.0 → 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-BCbtxMU6.js +0 -45
  3. package/dist/Arrow-D6j6ocXm.js +0 -116
  4. package/dist/BaseDraggableDialog-4hDW-Rj2.js +0 -272
  5. package/dist/BaseIcon-DfLoHNUj.js +0 -502
  6. package/dist/BaseLegendToggle-C_Db-y7s.js +0 -56
  7. package/dist/BaseScanner-Dr2a1Msy.js +0 -27
  8. package/dist/BaseZoomControls-CG7hI_1P.js +0 -111
  9. package/dist/ColorPicker-Bjwxnvfh.js +0 -255
  10. package/dist/DataTable-B--IN22e.js +0 -150
  11. package/dist/Legend-Cz2uQ5gs.js +0 -114
  12. package/dist/NonSvgPenAndPaper-gLNJ1Lmr.js +0 -577
  13. package/dist/PackageVersion-xcyrdRmY.js +0 -11
  14. package/dist/PenAndPaper-DqrClVfb.js +0 -461
  15. package/dist/RecursiveCircles-D6aDPmoe.js +0 -117
  16. package/dist/RecursiveLabels-D9rfID6q.js +0 -56
  17. package/dist/RecursiveLinks-BygcpDiT.js +0 -78
  18. package/dist/Shape-BPCJfphn.js +0 -141
  19. package/dist/Slicer-SHBj0VaV.js +0 -1144
  20. package/dist/SlicerPreview-DdihbUSJ.js +0 -1668
  21. package/dist/SparkTooltip-CfE6yCad.js +0 -93
  22. package/dist/Title-NWp4qB4K.js +0 -87
  23. package/dist/Tooltip-BENq327o.js +0 -312
  24. package/dist/UserOptions-C1NgoGu6.js +0 -1411
  25. package/dist/_plugin-vue_export-helper-B3ysoDQm.js +0 -8
  26. package/dist/canvas-lib-BOP_HS11.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-BYtB4BF3.js +0 -237
  99. package/dist/exposedLib-CI8ji8G-.js +0 -19
  100. package/dist/geoProjections-Czak6Jn1.js +0 -145
  101. package/dist/img-1cKsci8e.js +0 -74
  102. package/dist/labelUtils-CUctkYoA.js +0 -19
  103. package/dist/lib-DUeYQsS0.js +0 -1882
  104. package/dist/llms.txt +0 -232
  105. package/dist/patternUtils-CS7hn6at.js +0 -258
  106. package/dist/pdf-D0eZ99cP.js +0 -90
  107. package/dist/rolldown-runtime-Dy4uBu1J.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 -17190
  112. package/dist/types/vue-ui-3d-bar.d.ts +0 -93
  113. package/dist/types/vue-ui-accordion.d.ts +0 -11
  114. package/dist/types/vue-ui-age-pyramid.d.ts +0 -108
  115. package/dist/types/vue-ui-annotator.d.ts +0 -34
  116. package/dist/types/vue-ui-bullet.d.ts +0 -85
  117. package/dist/types/vue-ui-bump.d.ts +0 -92
  118. package/dist/types/vue-ui-candlestick.d.ts +0 -106
  119. package/dist/types/vue-ui-carousel-table.d.ts +0 -59
  120. package/dist/types/vue-ui-chestnut.d.ts +0 -98
  121. package/dist/types/vue-ui-chord.d.ts +0 -110
  122. package/dist/types/vue-ui-circle-pack.d.ts +0 -126
  123. package/dist/types/vue-ui-cursor.d.ts +0 -9
  124. package/dist/types/vue-ui-dag.d.ts +0 -125
  125. package/dist/types/vue-ui-dashboard.d.ts +0 -68
  126. package/dist/types/vue-ui-digits.d.ts +0 -12
  127. package/dist/types/vue-ui-donut-evolution.d.ts +0 -96
  128. package/dist/types/vue-ui-donut.d.ts +0 -123
  129. package/dist/types/vue-ui-dumbbell.d.ts +0 -94
  130. package/dist/types/vue-ui-flow.d.ts +0 -106
  131. package/dist/types/vue-ui-funnel.d.ts +0 -79
  132. package/dist/types/vue-ui-galaxy.d.ts +0 -114
  133. package/dist/types/vue-ui-gauge.d.ts +0 -89
  134. package/dist/types/vue-ui-geo.d.ts +0 -94
  135. package/dist/types/vue-ui-gizmo.d.ts +0 -22
  136. package/dist/types/vue-ui-heatmap.d.ts +0 -101
  137. package/dist/types/vue-ui-history-plot.d.ts +0 -114
  138. package/dist/types/vue-ui-horizontal-bar.d.ts +0 -116
  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 -112
  143. package/dist/types/vue-ui-mood-radar.d.ts +0 -92
  144. package/dist/types/vue-ui-nested-donuts.d.ts +0 -111
  145. package/dist/types/vue-ui-onion.d.ts +0 -106
  146. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +0 -125
  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 -125
  150. package/dist/types/vue-ui-quick-chart.d.ts +0 -108
  151. package/dist/types/vue-ui-radar.d.ts +0 -116
  152. package/dist/types/vue-ui-rating.d.ts +0 -42
  153. package/dist/types/vue-ui-relation-circle.d.ts +0 -92
  154. package/dist/types/vue-ui-ridgeline.d.ts +0 -106
  155. package/dist/types/vue-ui-rings.d.ts +0 -98
  156. package/dist/types/vue-ui-scatter.d.ts +0 -97
  157. package/dist/types/vue-ui-skeleton.d.ts +0 -11
  158. package/dist/types/vue-ui-smiley.d.ts +0 -28
  159. package/dist/types/vue-ui-spark-trend.d.ts +0 -19
  160. package/dist/types/vue-ui-sparkbar.d.ts +0 -49
  161. package/dist/types/vue-ui-sparkgauge.d.ts +0 -28
  162. package/dist/types/vue-ui-sparkhistogram.d.ts +0 -46
  163. package/dist/types/vue-ui-sparkline.d.ts +0 -59
  164. package/dist/types/vue-ui-sparkstackbar.d.ts +0 -60
  165. package/dist/types/vue-ui-stackbar.d.ts +0 -118
  166. package/dist/types/vue-ui-stackline.d.ts +0 -114
  167. package/dist/types/vue-ui-strip-plot.d.ts +0 -96
  168. package/dist/types/vue-ui-table-heatmap.d.ts +0 -62
  169. package/dist/types/vue-ui-table-sparkline.d.ts +0 -53
  170. package/dist/types/vue-ui-table.d.ts +0 -38
  171. package/dist/types/vue-ui-thermometer.d.ts +0 -70
  172. package/dist/types/vue-ui-timer.d.ts +0 -49
  173. package/dist/types/vue-ui-tiremarks.d.ts +0 -70
  174. package/dist/types/vue-ui-treemap.d.ts +0 -104
  175. package/dist/types/vue-ui-vertical-bar.d.ts +0 -22
  176. package/dist/types/vue-ui-waffle.d.ts +0 -101
  177. package/dist/types/vue-ui-wheel.d.ts +0 -70
  178. package/dist/types/vue-ui-word-cloud.d.ts +0 -97
  179. package/dist/types/vue-ui-world.d.ts +0 -98
  180. package/dist/types/vue-ui-xy-canvas.d.ts +0 -101
  181. package/dist/types/vue-ui-xy.d.ts +0 -146
  182. package/dist/useAutoSizeLabelsInsideViewbox-BIVntRZp.js +0 -50
  183. package/dist/useChartAccessibility-DYqac8yF.js +0 -12
  184. package/dist/useConfig-DAyQk86L.js +0 -7479
  185. package/dist/useFitSvgText-CT3nmlaS.js +0 -63
  186. package/dist/useNestedProp-CNcoy38D.js +0 -10
  187. package/dist/useObjectBindings-BI7hP-BC.js +0 -189
  188. package/dist/usePanZoom-CYU3B4T3.js +0 -157
  189. package/dist/usePrefersMotion-BC-CsqR1.js +0 -15
  190. package/dist/usePrinter-C1Gqt_Sp.js +0 -49
  191. package/dist/useResponsive-BfnK0KxU.js +0 -19
  192. package/dist/useStableElementSize-C7KADDKj.js +0 -77
  193. package/dist/useSvgExport-SVIsDot8.js +0 -755
  194. package/dist/useTableResponsive-B24Uwt2E.js +0 -24
  195. package/dist/useThemeCheck-C43Tcqmk.js +0 -24
  196. package/dist/useTimeLabelCollider-AEcY4Ioe.js +0 -57
  197. package/dist/useTimeLabels-BmBRv27Y.js +0 -272
  198. package/dist/useUserOptionState-DK-_1ddE.js +0 -15
  199. package/dist/utils.js +0 -28
  200. package/dist/vClickOutside-DUrZWttG.js +0 -13
  201. package/dist/vue-data-ui-qpQv-4uP.js +0 -274
  202. package/dist/vue-data-ui.js +0 -76
  203. package/dist/vue-ui-3d-bar-C8cputoI.js +0 -1757
  204. package/dist/vue-ui-accordion-Dw4MHKVB.js +0 -81
  205. package/dist/vue-ui-age-pyramid-Cv2Ndbb5.js +0 -1238
  206. package/dist/vue-ui-annotator-DLPUAKlm.js +0 -2899
  207. package/dist/vue-ui-bullet-DLxmtMJ9.js +0 -710
  208. package/dist/vue-ui-bump-DVaqtZbd.js +0 -1249
  209. package/dist/vue-ui-candlestick-CkApimw1.js +0 -1826
  210. package/dist/vue-ui-carousel-table-CbfIBWl3.js +0 -455
  211. package/dist/vue-ui-chestnut-CQT4nCFL.js +0 -2010
  212. package/dist/vue-ui-chord-8IjSrg6f.js +0 -1391
  213. package/dist/vue-ui-circle-pack-B1CpTtpw.js +0 -1608
  214. package/dist/vue-ui-cursor-NaTj5i2-.js +0 -283
  215. package/dist/vue-ui-dag-DH4ocx0S.js +0 -2909
  216. package/dist/vue-ui-dashboard-Ckff1yim.js +0 -513
  217. package/dist/vue-ui-digits-DwLlJqbW.js +0 -209
  218. package/dist/vue-ui-donut-DQdIdwRU.js +0 -2410
  219. package/dist/vue-ui-donut-evolution-MfM5kK6w.js +0 -1510
  220. package/dist/vue-ui-dumbbell-B2T4vlK-.js +0 -1530
  221. package/dist/vue-ui-flow-CJh6f72m.js +0 -1235
  222. package/dist/vue-ui-funnel-C9gfXNCr.js +0 -777
  223. package/dist/vue-ui-galaxy-pBR_FESJ.js +0 -1077
  224. package/dist/vue-ui-gauge-CAemxCGl.js +0 -920
  225. package/dist/vue-ui-geo-BDQqaukJ.js +0 -1516
  226. package/dist/vue-ui-gizmo-B1ppjqPj.js +0 -225
  227. package/dist/vue-ui-heatmap-BiC9xp8L.js +0 -1568
  228. package/dist/vue-ui-history-plot-iAPjlOja.js +0 -1554
  229. package/dist/vue-ui-horizontal-bar-CcgClgLg.js +0 -1681
  230. package/dist/vue-ui-kpi-CJ5oyYLS.js +0 -96
  231. package/dist/vue-ui-mini-loader-CyqBt2g4.js +0 -125
  232. package/dist/vue-ui-molecule-Cg9ZHa6b.js +0 -925
  233. package/dist/vue-ui-mood-radar-N8osOTFR.js +0 -1148
  234. package/dist/vue-ui-nested-donuts-CwH3wKgX.js +0 -1487
  235. package/dist/vue-ui-onion-C56gFjO6.js +0 -1200
  236. package/dist/vue-ui-parallel-coordinate-plot-C-jj819p.js +0 -1416
  237. package/dist/vue-ui-pattern-DKozfnVn.js +0 -154
  238. package/dist/vue-ui-pattern-seed-BB1honLm.js +0 -61
  239. package/dist/vue-ui-quadrant-DYc9xZY3.js +0 -1978
  240. package/dist/vue-ui-quick-chart-BG7kK_-q.js +0 -2469
  241. package/dist/vue-ui-radar-CgKog9Xw.js +0 -1229
  242. package/dist/vue-ui-rating-BG4lf1z8.js +0 -343
  243. package/dist/vue-ui-relation-circle-D-rUk-0P.js +0 -924
  244. package/dist/vue-ui-ridgeline-DPrlVJTW.js +0 -1622
  245. package/dist/vue-ui-rings-CIvvHHsF.js +0 -1246
  246. package/dist/vue-ui-scatter-CeBQJbGx.js +0 -2413
  247. package/dist/vue-ui-skeleton-BKoa_G6d.js +0 -2556
  248. package/dist/vue-ui-smiley-G89TxRU-.js +0 -356
  249. package/dist/vue-ui-spark-trend-DGOrPr9I.js +0 -438
  250. package/dist/vue-ui-sparkbar-BVumo-YD.js +0 -393
  251. package/dist/vue-ui-sparkgauge-BoCwdQcu.js +0 -255
  252. package/dist/vue-ui-sparkhistogram-4qXY1LXW.js +0 -560
  253. package/dist/vue-ui-sparkline-C0kzXrwI.js +0 -1507
  254. package/dist/vue-ui-sparkstackbar-DG7hz_KM.js +0 -662
  255. package/dist/vue-ui-stackbar-Dnq4l5xs.js +0 -2270
  256. package/dist/vue-ui-stackline-CaNOHQYl.js +0 -2398
  257. package/dist/vue-ui-strip-plot-D2CcJw_5.js +0 -1340
  258. package/dist/vue-ui-table-NBQrkVnO.js +0 -1338
  259. package/dist/vue-ui-table-heatmap-CCGjbSzQ.js +0 -344
  260. package/dist/vue-ui-table-sparkline-BZDkOEEl.js +0 -707
  261. package/dist/vue-ui-thermometer-BXyHOQ7T.js +0 -763
  262. package/dist/vue-ui-timer-CcLK1wbi.js +0 -439
  263. package/dist/vue-ui-tiremarks-B6txvBg-.js +0 -552
  264. package/dist/vue-ui-treemap-O3SBpD3K.js +0 -1587
  265. package/dist/vue-ui-waffle-DN5zG3b0.js +0 -1362
  266. package/dist/vue-ui-wheel-CxnJGXkX.js +0 -885
  267. package/dist/vue-ui-word-cloud-CM5yPCXb.js +0 -1656
  268. package/dist/vue-ui-world-DCPgXKxh.js +0 -14264
  269. package/dist/vue-ui-xy-canvas-BUPnRZ3C.js +0 -1787
  270. package/dist/vue-ui-xy-lfMIx0wK.js +0 -4578
  271. package/dist/vue_ui_3d_bar-C4R7o-yX.js +0 -185
  272. package/dist/vue_ui_age_pyramid-BY6c-oX_.js +0 -301
  273. package/dist/vue_ui_bullet-ClzdLoOv.js +0 -186
  274. package/dist/vue_ui_bump-Vl-zYAtG.js +0 -201
  275. package/dist/vue_ui_candlestick-J8jmJvxP.js +0 -374
  276. package/dist/vue_ui_chestnut-D2oUhad6.js +0 -305
  277. package/dist/vue_ui_chord-DPfS1Umc.js +0 -275
  278. package/dist/vue_ui_circle_pack-DZC_rdfn.js +0 -172
  279. package/dist/vue_ui_dag-TsJ_azQq.js +0 -258
  280. package/dist/vue_ui_donut-BDGqG07h.js +0 -358
  281. package/dist/vue_ui_donut_evolution-D1yAAIHr.js +0 -717
  282. package/dist/vue_ui_dumbbell-Bfe_jFyi.js +0 -304
  283. package/dist/vue_ui_flow-BewZjjKG.js +0 -238
  284. package/dist/vue_ui_funnel-_Og4EEkO.js +0 -234
  285. package/dist/vue_ui_galaxy-Ig0cc1_h.js +0 -265
  286. package/dist/vue_ui_gauge-Cf1RZc9q.js +0 -178
  287. package/dist/vue_ui_geo-B8TODs-G.js +0 -248
  288. package/dist/vue_ui_heatmap-B2BBBSWG.js +0 -319
  289. package/dist/vue_ui_history_plot-CuN63VEc.js +0 -413
  290. package/dist/vue_ui_horizontal_bar-C4J4QzXf.js +0 -341
  291. package/dist/vue_ui_molecule-CO9L59SF.js +0 -231
  292. package/dist/vue_ui_mood_radar-BA6LAKhk.js +0 -281
  293. package/dist/vue_ui_nested_donuts-B8csIoVO.js +0 -273
  294. package/dist/vue_ui_onion-1FTFFS46.js +0 -293
  295. package/dist/vue_ui_parallel_coordinate_plot-CBiOBira.js +0 -278
  296. package/dist/vue_ui_quadrant-CDSTKTJz.js +0 -428
  297. package/dist/vue_ui_quick_chart-mZBdml3Z.js +0 -139
  298. package/dist/vue_ui_radar-jafTED5j.js +0 -306
  299. package/dist/vue_ui_relation_circle-D0p4mXmv.js +0 -98
  300. package/dist/vue_ui_ridgeline-VM8_mx4J.js +0 -767
  301. package/dist/vue_ui_rings-BVgD2aMn.js +0 -320
  302. package/dist/vue_ui_scatter-I0POnicu.js +0 -479
  303. package/dist/vue_ui_spark_trend-DxVmpkmC.js +0 -82
  304. package/dist/vue_ui_sparkbar-z6qO--Kf.js +0 -64
  305. package/dist/vue_ui_sparkgauge-BX1MS3bA.js +0 -90
  306. package/dist/vue_ui_sparkhistogram-BRgvKUH6.js +0 -123
  307. package/dist/vue_ui_sparkline-auZhap6Y.js +0 -151
  308. package/dist/vue_ui_sparkstackbar-BOjuQnZd.js +0 -175
  309. package/dist/vue_ui_stackbar-COOrQQdK.js +0 -412
  310. package/dist/vue_ui_stackline-DQqKPA9z.js +0 -460
  311. package/dist/vue_ui_strip_plot-CtJe8_gq.js +0 -301
  312. package/dist/vue_ui_table_heatmap-w8vx5k6f.js +0 -80
  313. package/dist/vue_ui_table_sparkline-DAbkUrNz.js +0 -124
  314. package/dist/vue_ui_thermometer-DxgqWKlE.js +0 -123
  315. package/dist/vue_ui_tiremarks-CdEPieWV.js +0 -122
  316. package/dist/vue_ui_treemap-DoEtkRN6.js +0 -328
  317. package/dist/vue_ui_vertical_bar-CP-MKz1j.js +0 -247
  318. package/dist/vue_ui_waffle-DIARFc7g.js +0 -292
  319. package/dist/vue_ui_wheel-DZ_nR--t.js +0 -133
  320. package/dist/vue_ui_word_cloud-C-qIMNLu.js +0 -254
  321. package/dist/vue_ui_xy-BLUkWEAm.js +0 -482
  322. package/dist/vue_ui_xy_canvas-Cb6dg3eK.js +0 -408
@@ -1,925 +0,0 @@
1
- import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Bt as t, Ct as n, D as r, Et as ee, H as te, J as i, K as a, Rt as o, S as s, X as c, bt as ne, nt as re, pt as l, t as ie, x as ae, y as oe } from "./lib-DUeYQsS0.js";
3
- import { t as se } from "./useConfig-DAyQk86L.js";
4
- import { t as ce } from "./usePrinter-C1Gqt_Sp.js";
5
- import { n as le, t as ue } from "./BaseScanner-Dr2a1Msy.js";
6
- import { t as de } from "./useSvgExport-SVIsDot8.js";
7
- import { t as u } from "./useNestedProp-CNcoy38D.js";
8
- import { t as fe } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as pe } from "./img-1cKsci8e.js";
10
- import { t as me } from "./_plugin-vue_export-helper-B3ysoDQm.js";
11
- import { t as he } from "./useUserOptionState-DK-_1ddE.js";
12
- import { t as ge } from "./useChartAccessibility-DYqac8yF.js";
13
- import { t as _e } from "./vue_ui_molecule-CO9L59SF.js";
14
- import { t as ve } from "./usePanZoom-CYU3B4T3.js";
15
- import { Fragment as ye, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as be, createTextVNode as xe, createVNode as g, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as Se, nextTick as y, normalizeClass as Ce, normalizeProps as b, normalizeStyle as x, onMounted as we, openBlock as S, ref as C, renderList as Te, renderSlot as w, resolveDynamicComponent as Ee, toDisplayString as De, toRefs as Oe, unref as T, useCssVars as ke, watch as E, withCtx as D } from "vue";
16
- //#region src/components/vue-ui-molecule.vue
17
- var Ae = /* @__PURE__ */ e({ default: () => O }), je = ["id"], Me = {
18
- key: 1,
19
- ref: "noTitle",
20
- class: "vue-data-ui-no-title-space",
21
- style: "height:36px; width: 100%;background:transparent"
22
- }, Ne = {
23
- key: 2,
24
- style: "width:100%;background:transparent;"
25
- }, Pe = ["xmlns", "viewBox"], Fe = ["width", "height"], Ie = ["id"], Le = ["stop-color"], Re = ["stop-color"], ze = {
26
- key: 4,
27
- class: "vue-data-ui-watermark"
28
- }, Be = {
29
- key: 5,
30
- "data-dom-to-png-ignore": "",
31
- class: "reset-wrapper"
32
- }, Ve = {
33
- key: 6,
34
- ref: "source",
35
- dir: "auto"
36
- }, He = ["innerHTML"], O = /* @__PURE__ */ me({
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: me, emit: Ae }) {
54
- ke((e) => ({ v2702dffc: en.value }));
55
- let O = _(() => import("./Title-NWp4qB4K.js").then((e) => e.t)), Ue = _(() => import("./Tooltip-BENq327o.js")), We = _(() => import("./BaseIcon-DfLoHNUj.js").then((e) => e.n)), Ge = _(() => import("./vue-ui-accordion-Dw4MHKVB.js").then((e) => e.n)), Ke = _(() => import("./DataTable-B--IN22e.js")), qe = _(() => import("./PenAndPaper-DqrClVfb.js").then((e) => e.t)), Je = _(() => import("./UserOptions-C1NgoGu6.js").then((e) => e.n)), Ye = _(() => import("./PackageVersion-xcyrdRmY.js").then((e) => e.t)), Xe = _(() => import("./RecursiveLinks-BygcpDiT.js")), Ze = _(() => import("./RecursiveLabels-D9rfID6q.js")), Qe = _(() => import("./RecursiveCircles-D6aDPmoe.js")), $e = _(() => import("./BaseDraggableDialog-4hDW-Rj2.js").then((e) => e.n)), { vue_ui_molecule: et } = se(), { isThemeValid: tt, warnInvalidTheme: nt } = fe(), k = e, rt = Ae, it = d(() => !!k.dataset && k.dataset.length);
56
- we(() => {
57
- ot();
58
- });
59
- let at = d(() => R.value.debug);
60
- function ot() {
61
- n(k.dataset) && c({
62
- componentName: "VueUiMolecule",
63
- type: "dataset",
64
- debug: at.value
65
- });
66
- }
67
- let A = C(te()), j = C(!1), M = C(""), N = C(null), st = C(0), ct = C(0), lt = C(0), P = C(null), F = C(null), I = C(!1), L = C(!1), R = C(mt()), z = d(() => R.value.userOptions.useCursorPointer), ut = d(() => t({
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: R.value.skeletonConfig ?? {}
78
- })), { loading: B, FINAL_DATASET: V } = le({
79
- ...Oe(k),
80
- FINAL_CONFIG: R,
81
- prepareConfig: mt,
82
- skeletonDataset: k.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: t({
197
- defaultConfig: R.value,
198
- userConfig: ut.value
199
- })
200
- }), { userOptionsVisible: dt, setUserOptionsVisibility: ft, keepUserOptionState: pt } = he({ config: R.value }), { svgRef: H } = ge({ config: R.value.style.chart.title });
201
- function mt() {
202
- let e = u({
203
- userConfig: k.config,
204
- defaultConfig: et
205
- }), t = e.theme;
206
- if (!t) return e;
207
- if (!tt.value(e)) return nt(e), e;
208
- let n = u({
209
- userConfig: _e[t] || k.config,
210
- defaultConfig: e
211
- }), r = u({
212
- userConfig: k.config,
213
- defaultConfig: n
214
- });
215
- return {
216
- ...r,
217
- customPalette: r.customPalette.length ? r.customPalette : o[t] || ee
218
- };
219
- }
220
- E(() => k.config, (e) => {
221
- R.value = mt(), dt.value = !R.value.userOptions.showOnChartHover, ot(), ct.value += 1, lt.value += 1, U.value.showTable = R.value.table.show, U.value.showTooltip = R.value.style.chart.tooltip.show, U.value.showZoom = R.value.style.chart.zoom.show;
222
- }, { deep: !0 });
223
- let ht = C(0), gt = () => {
224
- ht.value += 1;
225
- };
226
- E([() => B.value, () => V.value], async ([e]) => {
227
- e || (await y(), W.value = wt(), await y(), gt(), await y(), 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 } = ce({
238
- elementId: `cluster_${A.value}`,
239
- fileName: R.value.style.chart.title.text || "vue-ui-molecule",
240
- options: R.value.userOptions.print
241
- }), xt = d(() => R.value.userOptions.show && !R.value.style.chart.title.text), St = d(() => ae(R.value.customPalette)), U = C({
242
- showTable: R.value.table.show,
243
- showDataLabels: !0,
244
- showTooltip: R.value.style.chart.tooltip.show,
245
- showZoom: R.value.style.chart.zoom.show
246
- });
247
- E(R, () => {
248
- U.value = {
249
- showTable: R.value.table.show,
250
- showDataLabels: !0,
251
- showTooltip: R.value.style.chart.tooltip.show,
252
- showZoom: R.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(V.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 = C(wt());
267
- function Tt(e, t = {
268
- x: -W.value.width / 2.43,
269
- y: W.value.height / 2
270
- }, n = W.value.width / 1.1, i = 24, a = 0, o = 0, s = "#BBBBBB", c = 0) {
271
- if (!Array.isArray(e) || e.length === 0) return e;
272
- let ne = r({
273
- plot: t,
274
- radius: n,
275
- sides: e.length,
276
- rotation: a
277
- });
278
- return e.forEach((e, t) => {
279
- let r = ne.coordinates[t], re = e.color ? (() => {
280
- let t = oe(e.color);
281
- return t.startsWith("#") ? t : `#${t}`;
282
- })() : null, l;
283
- re ? l = re : c === 0 ? l = s : c === 1 ? (l = St.value[o] || ee[o] || s, o += 1) : l = s, e.polygonPath = { coordinates: [r] }, e.circleRadius = i, e.color = l, e.strokeWidth = Math.min(R.value.style.chart.links.strokeWidth / (c + 1), i / 2), e.uid = te(), Array.isArray(e.nodes) && e.nodes.length && (e.nodes = Tt(e.nodes, r, n / 2.9, i / 2.2, a + Math.PI * t / e.nodes.length, o, l, c + 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 = oe(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 = d(() => Et(G.value)), G = d(() => Tt(a(V.value))), K = C(null);
302
- function Ot(e) {
303
- K.value = {
304
- datapoint: e,
305
- seriesIndex: -1,
306
- series: G.value,
307
- config: R.value
308
- };
309
- let t = R.value.style.chart.tooltip.customFormat;
310
- if (l(t) && re(() => t({
311
- seriesIndex: -1,
312
- datapoint: e,
313
- series: G.value,
314
- config: R.value
315
- }))) M.value = t({
316
- seriesIndex: -1,
317
- datapoint: e,
318
- series: G.value,
319
- config: R.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 ${R.value.style.chart.tooltip.borderColor};margin-top: 2px">${e.details}</div>`), M.value = `<div style="font-family:inherit">${t}</div>`;
324
- }
325
- }
326
- let q = C(null), J = C(null), kt = C(null);
327
- function At(e) {
328
- kt.value = q.value, q.value = e, e ? R.value.events.datapointEnter && R.value.events.datapointEnter({
329
- datapoint: e,
330
- seriesIndex: -1
331
- }) : R.value.events.datapointLeave && R.value.events.datapointLeave({
332
- datapoint: kt.value || q.value,
333
- seriesIndex: -1
334
- }), e ? (j.value = !0, Ot(e), J.value = e.uid) : (j.value = !1, M.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 = d(() => jt(G.value)), Y = d(() => ({
352
- head: [
353
- R.value.table.translations.nodeName,
354
- R.value.table.translations.details,
355
- R.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: R.value.table.th.backgroundColor,
368
- color: R.value.table.th.color,
369
- outline: R.value.table.th.outline
370
- },
371
- td: {
372
- backgroundColor: R.value.table.td.backgroundColor,
373
- color: R.value.table.td.color,
374
- outline: R.value.table.td.outline
375
- },
376
- breakpoint: R.value.table.responsiveBreakpoint
377
- },
378
- colNames: [
379
- R.value.table.translations.nodeName,
380
- R.value.table.translations.details,
381
- R.value.table.translations.ancestor
382
- ]
383
- }));
384
- function Nt(e = null) {
385
- y(() => {
386
- let t = Y.value.body.map((e, t) => [
387
- [e[0].name],
388
- [e[1]],
389
- [e[2]]
390
- ]), n = s([
391
- [R.value.style.chart.title.text],
392
- [R.value.style.chart.title.subtitle.text],
393
- [[...Y.value.head]]
394
- ].concat(t));
395
- e ? e(n) : i({
396
- csvContent: n,
397
- title: R.value.style.chart.title.text || "vue-ui-molecule"
398
- });
399
- });
400
- }
401
- function Pt() {
402
- return G.value;
403
- }
404
- let X = C(!1);
405
- function Ft(e) {
406
- X.value = e, st.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 = C(!1);
421
- function Bt() {
422
- Z.value = !Z.value;
423
- }
424
- let Vt = d(() => !Z.value && U.value.showZoom), { viewBox: Q, resetZoom: Ht, isZoom: Ut, setInitialViewBox: Wt } = ve(H, {
425
- x: 0,
426
- y: 0,
427
- width: Math.max(10, W.value.width),
428
- height: Math.max(10, W.value.height)
429
- }, R.value.style.chart.zoom.speed, Vt);
430
- function Gt(e) {
431
- R.value.events.datapointClick && R.value.events.datapointClick({
432
- datapoint: e,
433
- seriesIndex: -1
434
- }), rt("selectNode", e);
435
- }
436
- async function Kt({ scale: e = 2 } = {}) {
437
- if (!N.value) return;
438
- let { width: t, height: n } = N.value.getBoundingClientRect(), r = t / n, { imageUri: ee, base64: te } = await pe({
439
- domElement: N.value,
440
- base64: !0,
441
- img: !0,
442
- scale: e
443
- });
444
- return {
445
- imageUri: ee,
446
- base64: te,
447
- title: R.value.style.chart.title.text,
448
- width: t,
449
- height: n,
450
- aspectRatio: r
451
- };
452
- }
453
- let $ = d(() => {
454
- let e = R.value.table.useDialog && !R.value.table.show, t = U.value.showTable;
455
- return {
456
- component: e ? $e : Ge,
457
- title: `${R.value.style.chart.title.text}${R.value.style.chart.title.subtitle.text ? `: ${R.value.style.chart.title.subtitle.text}` : ""}`,
458
- props: e ? {
459
- backgroundColor: R.value.table.th.backgroundColor,
460
- color: R.value.table.th.color,
461
- headerColor: R.value.table.th.color,
462
- headerBg: R.value.table.th.backgroundColor,
463
- isFullscreen: X.value,
464
- fullscreenParent: N.value,
465
- forcedWidth: Math.min(800, window.innerWidth * .8),
466
- isCursorPointer: z.value
467
- } : {
468
- hideDetails: !0,
469
- config: {
470
- open: t,
471
- maxHeight: 1e4,
472
- body: {
473
- backgroundColor: R.value.style.chart.backgroundColor,
474
- color: R.value.style.chart.color
475
- },
476
- head: {
477
- backgroundColor: R.value.style.chart.backgroundColor,
478
- color: R.value.style.chart.color
479
- }
480
- }
481
- }
482
- };
483
- });
484
- E(() => U.value.showTable, (e) => {
485
- R.value.table.show || (e && R.value.table.useDialog && P.value ? P.value.open() : "close" in P.value && P.value.close());
486
- });
487
- function qt() {
488
- U.value.showTable = !1, F.value && F.value.setTableIconState(!1);
489
- }
490
- let Jt = d(() => R.value.style.chart.backgroundColor), { exportSvg: Yt, getSvg: Xt } = de({
491
- svg: H,
492
- title: d(() => R.value.style.chart.title),
493
- backgroundColor: Jt
494
- });
495
- async function Zt({ isCb: e }) {
496
- L.value = !0, await y();
497
- try {
498
- if (e) {
499
- let { blob: e, url: t, text: n, dataUrl: r } = await Xt();
500
- await Promise.resolve(R.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
- L.value = !1;
509
- }
510
- }
511
- function Qt(e) {
512
- if (e?.stage === "start") {
513
- I.value = !0;
514
- return;
515
- }
516
- if (e?.stage === "end") {
517
- I.value = !1;
518
- return;
519
- }
520
- bt();
521
- }
522
- async function $t() {
523
- if (rt("copyAlt", {
524
- config: R.value,
525
- dataset: G.value
526
- }), !R.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(R.value.userOptions.callbacks.altCopy({
531
- config: R.value,
532
- dataset: G.value
533
- }));
534
- }
535
- let en = d(() => R.value.style.chart.color);
536
- return me({
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) => (S(), m("div", {
551
- ref_key: "moleculeChart",
552
- ref: N,
553
- class: Ce(`vue-data-ui-component vue-ui-molecule ${X.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
554
- style: x(`font-family:${R.value.style.fontFamily};width:100%; text-align:center;background:${R.value.style.chart.backgroundColor}`),
555
- id: `cluster_${A.value}`,
556
- onMouseleave: t[2] ||= (e) => {
557
- q.value = null, J.value = null, T(ft)(!1);
558
- },
559
- onMouseenter: t[3] ||= () => T(ft)(!0)
560
- }, [
561
- R.value.userOptions.buttons.annotator && T(H) ? (S(), f(T(qe), {
562
- key: 0,
563
- svgRef: T(H),
564
- backgroundColor: R.value.style.chart.backgroundColor,
565
- color: R.value.style.chart.color,
566
- active: Z.value,
567
- isCursorPointer: z.value,
568
- onClose: Bt
569
- }, {
570
- "annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
571
- "annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", b(v({ color: t })), void 0, !0)]),
572
- "annotator-action-draw": D(({ mode: t }) => [w(e.$slots, "annotator-action-draw", b(v({ mode: t })), void 0, !0)]),
573
- "annotator-action-undo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-undo", b(v({ disabled: t })), void 0, !0)]),
574
- "annotator-action-redo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-redo", b(v({ disabled: t })), void 0, !0)]),
575
- "annotator-action-delete": D(({ disabled: t }) => [w(e.$slots, "annotator-action-delete", b(v({ disabled: t })), void 0, !0)]),
576
- _: 3
577
- }, 8, [
578
- "svgRef",
579
- "backgroundColor",
580
- "color",
581
- "active",
582
- "isCursorPointer"
583
- ])) : p("", !0),
584
- xt.value ? (S(), m("div", Me, null, 512)) : p("", !0),
585
- R.value.style.chart.title.text ? (S(), m("div", Ne, [(S(), f(T(O), {
586
- key: `title_${ct.value}`,
587
- config: {
588
- title: {
589
- cy: "molecule-div-title",
590
- ...R.value.style.chart.title
591
- },
592
- subtitle: {
593
- cy: "molecule-div-subtitle",
594
- ...R.value.style.chart.title.subtitle
595
- }
596
- }
597
- }, null, 8, ["config"]))])) : p("", !0),
598
- R.value.userOptions.show && it.value && (T(pt) || T(dt)) ? (S(), f(T(Je), {
599
- ref_key: "userOptionsRef",
600
- ref: F,
601
- key: `user_options_${st.value}`,
602
- backgroundColor: R.value.style.chart.backgroundColor,
603
- color: R.value.style.chart.color,
604
- isPrinting: T(_t),
605
- isImaging: T(vt),
606
- uid: A.value,
607
- hasTooltip: R.value.userOptions.buttons.tooltip && R.value.style.chart.tooltip.show,
608
- hasPdf: R.value.userOptions.buttons.pdf,
609
- hasXls: R.value.userOptions.buttons.csv,
610
- hasImg: R.value.userOptions.buttons.img,
611
- hasSvg: R.value.userOptions.buttons.svg,
612
- hasTable: R.value.userOptions.buttons.table,
613
- hasLabel: R.value.userOptions.buttons.labels,
614
- hasFullscreen: R.value.userOptions.buttons.fullscreen,
615
- hasAltCopy: R.value.userOptions.buttons.altCopy,
616
- isTooltip: U.value.showTooltip,
617
- titles: { ...R.value.userOptions.buttonTitles },
618
- chartElement: N.value,
619
- position: R.value.userOptions.position,
620
- hasAnnotator: R.value.userOptions.buttons.annotator,
621
- isAnnotation: Z.value,
622
- callbacks: R.value.userOptions.callbacks,
623
- printScale: R.value.userOptions.print.scale,
624
- tableDialog: R.value.table.useDialog,
625
- hasZoom: R.value.userOptions.buttons.zoom,
626
- isZoom: U.value.showZoom,
627
- isCursorPointer: z.value,
628
- onToggleFullscreen: Ft,
629
- onGeneratePdf: T(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: x({ visibility: T(pt) ? T(dt) ? "visible" : "hidden" : "visible" })
640
- }, be({ _: 2 }, [
641
- e.$slots.menuIcon ? {
642
- name: "menuIcon",
643
- fn: D(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", b(v({
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: D(() => [w(e.$slots, "optionTooltip", {}, void 0, !0)]),
652
- key: "1"
653
- } : void 0,
654
- e.$slots.optionPdf ? {
655
- name: "optionPdf",
656
- fn: D(() => [w(e.$slots, "optionPdf", {}, void 0, !0)]),
657
- key: "2"
658
- } : void 0,
659
- e.$slots.optionCsv ? {
660
- name: "optionCsv",
661
- fn: D(() => [w(e.$slots, "optionCsv", {}, void 0, !0)]),
662
- key: "3"
663
- } : void 0,
664
- e.$slots.optionImg ? {
665
- name: "optionImg",
666
- fn: D(() => [w(e.$slots, "optionImg", {}, void 0, !0)]),
667
- key: "4"
668
- } : void 0,
669
- e.$slots.optionSvg ? {
670
- name: "optionSvg",
671
- fn: D(() => [w(e.$slots, "optionSvg", {}, void 0, !0)]),
672
- key: "5"
673
- } : void 0,
674
- e.$slots.optionTable ? {
675
- name: "optionTable",
676
- fn: D(() => [w(e.$slots, "optionTable", {}, void 0, !0)]),
677
- key: "6"
678
- } : void 0,
679
- e.$slots.optionLabels ? {
680
- name: "optionLabels",
681
- fn: D(() => [w(e.$slots, "optionLabels", {}, void 0, !0)]),
682
- key: "7"
683
- } : void 0,
684
- e.$slots.optionFullscreen ? {
685
- name: "optionFullscreen",
686
- fn: D(({ toggleFullscreen: t, isFullscreen: n }) => [w(e.$slots, "optionFullscreen", b(v({
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: D(({ toggleAnnotator: t, isAnnotator: n }) => [w(e.$slots, "optionAnnotator", b(v({
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: D(({ toggleZoom: t, isZoomLocked: n }) => [w(e.$slots, "optionZoom", b(v({
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: D(({ altCopy: t }) => [w(e.$slots, "optionAltCopy", b(v({ altCopy: t })), void 0, !0)]),
711
- key: "11"
712
- } : void 0,
713
- e.$slots["custom-menu-before"] ? {
714
- name: "custom-menu-before",
715
- fn: D(() => [w(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: D(() => [w(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("."))) : p("", !0),
724
- (S(), m("svg", {
725
- ref_key: "svgRef",
726
- ref: H,
727
- key: `svg_${ht.value}`,
728
- xmlns: T(ie),
729
- viewBox: `${T(Q).x} ${T(Q).y} ${T(Q).width} ${T(Q).height}`,
730
- class: Ce({
731
- "vue-data-ui-fullscreen--on": X.value,
732
- "vue-data-ui-fulscreen--off": !X.value
733
- }),
734
- style: x(`overflow: hidden; background:transparent;color:${R.value.style.chart.color}`)
735
- }, [
736
- g(T(Ye)),
737
- e.$slots["chart-background"] ? (S(), m("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
- }, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, Fe)) : p("", !0),
745
- h("defs", null, [(S(!0), m(ye, null, Te(Object.keys(Dt.value), (e) => (S(), m("radialGradient", {
746
- id: `gradient_${e}`,
747
- cx: "50%",
748
- cy: "30%",
749
- r: "50%",
750
- fx: "50%",
751
- fy: "50%"
752
- }, [h("stop", {
753
- offset: "0%",
754
- "stop-color": T(ne)(e, .5)
755
- }, null, 8, Le), h("stop", {
756
- offset: "100%",
757
- "stop-color": e
758
- }, null, 8, Re)], 8, Ie))), 256))]),
759
- g(T(Xe), {
760
- dataset: G.value,
761
- color: R.value.style.chart.links.stroke,
762
- backgroundColor: R.value.style.chart.backgroundColor,
763
- useChildColor: R.value.style.chart.links.useChildColor
764
- }, null, 8, [
765
- "dataset",
766
- "color",
767
- "backgroundColor",
768
- "useChildColor"
769
- ]),
770
- g(T(Qe), {
771
- dataset: G.value,
772
- hoveredUid: J.value,
773
- stroke: R.value.style.chart.nodes.stroke,
774
- strokeHovered: R.value.style.chart.nodes.strokeHovered,
775
- onClick: Gt,
776
- onHover: At
777
- }, {
778
- node: D(({ node: t }) => [w(e.$slots, "node", b(v({ node: t })), void 0, !0)]),
779
- "node-svg": D(({ nodeSvg: t }) => [w(e.$slots, "node-svg", b(v({ nodeSvg: t })), void 0, !0)]),
780
- _: 3
781
- }, 8, [
782
- "dataset",
783
- "hoveredUid",
784
- "stroke",
785
- "strokeHovered"
786
- ]),
787
- U.value.showDataLabels && !T(B) ? (S(), f(T(Ze), {
788
- key: 1,
789
- dataset: G.value,
790
- color: R.value.style.chart.color,
791
- hoveredUid: J.value
792
- }, null, 8, [
793
- "dataset",
794
- "color",
795
- "hoveredUid"
796
- ])) : p("", !0),
797
- w(e.$slots, "svg", { svg: {
798
- ...W.value,
799
- drawingArea: { ...T(Q) },
800
- isPrintingImg: T(_t) || T(vt) || I.value,
801
- isPrintingSvg: L.value
802
- } }, void 0, !0)
803
- ], 14, Pe)),
804
- e.$slots.watermark ? (S(), m("div", ze, [w(e.$slots, "watermark", b(v({ isPrinting: T(_t) || T(vt) || I.value || L.value })), void 0, !0)])) : p("", !0),
805
- T(Ut) ? (S(), m("div", Be, [w(e.$slots, "reset-action", { reset: T(Ht) }, () => [h("button", {
806
- "data-cy-reset": "",
807
- tabindex: "0",
808
- role: "button",
809
- class: "vue-data-ui-refresh-button",
810
- style: x({
811
- background: R.value.style.chart.backgroundColor,
812
- cursor: z.value ? "pointer" : "default"
813
- }),
814
- onClick: t[0] ||= (e) => T(Ht)(!0)
815
- }, [g(T(We), {
816
- name: "refresh",
817
- stroke: R.value.style.chart.color
818
- }, null, 8, ["stroke"])], 4)], !0)])) : p("", !0),
819
- e.$slots.source ? (S(), m("div", Ve, [w(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
820
- g(T(Ue), {
821
- teleportTo: R.value.style.chart.tooltip.teleportTo,
822
- show: U.value.showTooltip && j.value,
823
- backgroundColor: R.value.style.chart.tooltip.backgroundColor,
824
- color: R.value.style.chart.tooltip.color,
825
- borderRadius: R.value.style.chart.tooltip.borderRadius,
826
- borderColor: R.value.style.chart.tooltip.borderColor,
827
- borderWidth: R.value.style.chart.tooltip.borderWidth,
828
- fontSize: R.value.style.chart.tooltip.fontSize,
829
- backgroundOpacity: R.value.style.chart.tooltip.backgroundOpacity,
830
- position: R.value.style.chart.tooltip.position,
831
- offsetX: R.value.style.chart.tooltip.offsetX,
832
- offsetY: R.value.style.chart.tooltip.offsetY,
833
- parent: N.value,
834
- content: M.value,
835
- isFullscreen: X.value,
836
- isCustom: R.value.style.chart.tooltip.customFormat && typeof R.value.style.chart.tooltip.customFormat == "function",
837
- smooth: R.value.style.chart.tooltip.smooth,
838
- backdropFilter: R.value.style.chart.tooltip.backdropFilter,
839
- smoothForce: R.value.style.chart.tooltip.smoothForce,
840
- smoothSnapThreshold: R.value.style.chart.tooltip.smoothSnapThreshold
841
- }, {
842
- "tooltip-before": D(() => [w(e.$slots, "tooltip-before", b(v({ ...K.value })), void 0, !0)]),
843
- tooltip: D(() => [w(e.$slots, "tooltip", b(v({ ...K.value })), void 0, !0)]),
844
- "tooltip-after": D(() => [w(e.$slots, "tooltip-after", b(v({ ...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
- it.value && R.value.userOptions.buttons.table ? (S(), f(Ee($.value.component), Se({ key: 7 }, $.value.props, {
869
- ref_key: "tableUnit",
870
- ref: P,
871
- onClose: qt
872
- }), be({
873
- content: D(() => [(S(), f(T(Ke), {
874
- key: `table_${lt.value}`,
875
- colNames: Y.value.colNames,
876
- head: Y.value.head,
877
- body: Y.value.body,
878
- config: Y.value.config,
879
- title: R.value.table.useDialog ? "" : $.value.title,
880
- withCloseButton: !R.value.table.useDialog,
881
- isCursorPointer: z.value,
882
- onClose: qt
883
- }, {
884
- th: D(({ th: e }) => [h("div", {
885
- innerHTML: e,
886
- style: {
887
- display: "flex",
888
- "align-items": "center"
889
- }
890
- }, null, 8, He)]),
891
- td: D(({ td: e }) => [xe(De(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
- }, [R.value.table.useDialog ? {
904
- name: "title",
905
- fn: D(() => [xe(De($.value.title), 1)]),
906
- key: "0"
907
- } : void 0, R.value.table.useDialog ? {
908
- name: "actions",
909
- fn: D(() => [h("button", {
910
- tabindex: "0",
911
- class: "vue-ui-user-options-button",
912
- onClick: t[1] ||= (e) => Nt(R.value.userOptions.callbacks.csv),
913
- style: x({ cursor: z.value ? "pointer" : "default" })
914
- }, [g(T(We), {
915
- name: "fileCsv",
916
- stroke: $.value.props.color
917
- }, null, 8, ["stroke"])], 4)]),
918
- key: "1"
919
- } : void 0]), 1040)) : p("", !0),
920
- w(e.$slots, "skeleton", {}, () => [T(B) ? (S(), f(ue, { key: 0 })) : p("", !0)], !0)
921
- ], 46, je));
922
- }
923
- }, [["__scopeId", "data-v-102eae3a"]]);
924
- //#endregion
925
- export { Ae as n, O as t };