vue-data-ui 3.20.3 → 3.20.5-beta.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/dist/A11yDataTable-BCbtxMU6.js +45 -0
  2. package/dist/Arrow-D6j6ocXm.js +116 -0
  3. package/dist/BaseDraggableDialog-4hDW-Rj2.js +272 -0
  4. package/dist/BaseIcon-DfLoHNUj.js +502 -0
  5. package/dist/BaseLegendToggle-C_Db-y7s.js +56 -0
  6. package/dist/BaseScanner-Dr2a1Msy.js +27 -0
  7. package/dist/BaseZoomControls-CG7hI_1P.js +111 -0
  8. package/dist/ColorPicker-Bjwxnvfh.js +255 -0
  9. package/dist/DataTable-B--IN22e.js +150 -0
  10. package/dist/Legend-Cz2uQ5gs.js +114 -0
  11. package/dist/NonSvgPenAndPaper-gLNJ1Lmr.js +577 -0
  12. package/dist/PackageVersion-lONuhagg.js +11 -0
  13. package/dist/PenAndPaper-DqrClVfb.js +461 -0
  14. package/dist/RecursiveCircles-D6aDPmoe.js +117 -0
  15. package/dist/RecursiveLabels-D9rfID6q.js +56 -0
  16. package/dist/RecursiveLinks-BygcpDiT.js +78 -0
  17. package/dist/Shape-BPCJfphn.js +141 -0
  18. package/dist/Slicer-SHBj0VaV.js +1144 -0
  19. package/dist/SlicerPreview-DdihbUSJ.js +1668 -0
  20. package/dist/SparkTooltip-CfE6yCad.js +93 -0
  21. package/dist/Title-NWp4qB4K.js +87 -0
  22. package/dist/Tooltip-BENq327o.js +312 -0
  23. package/dist/UserOptions-C1NgoGu6.js +1411 -0
  24. package/dist/_plugin-vue_export-helper-B3ysoDQm.js +8 -0
  25. package/dist/canvas-lib-BOP_HS11.js +79 -0
  26. package/dist/components/arrow.js +2 -0
  27. package/dist/components/vue-ui-3d-bar.js +2 -0
  28. package/dist/components/vue-ui-accordion.js +2 -0
  29. package/dist/components/vue-ui-age-pyramid.js +2 -0
  30. package/dist/components/vue-ui-annotator.js +2 -0
  31. package/dist/components/vue-ui-bullet.js +2 -0
  32. package/dist/components/vue-ui-bump.js +2 -0
  33. package/dist/components/vue-ui-candlestick.js +2 -0
  34. package/dist/components/vue-ui-carousel-table.js +2 -0
  35. package/dist/components/vue-ui-chestnut.js +2 -0
  36. package/dist/components/vue-ui-chord.js +2 -0
  37. package/dist/components/vue-ui-circle-pack.js +2 -0
  38. package/dist/components/vue-ui-cursor.js +2 -0
  39. package/dist/components/vue-ui-dag.js +2 -0
  40. package/dist/components/vue-ui-dashboard.js +2 -0
  41. package/dist/components/vue-ui-digits.js +2 -0
  42. package/dist/components/vue-ui-donut-evolution.js +2 -0
  43. package/dist/components/vue-ui-donut.js +2 -0
  44. package/dist/components/vue-ui-dumbbell.js +2 -0
  45. package/dist/components/vue-ui-flow.js +2 -0
  46. package/dist/components/vue-ui-funnel.js +2 -0
  47. package/dist/components/vue-ui-galaxy.js +2 -0
  48. package/dist/components/vue-ui-gauge.js +2 -0
  49. package/dist/components/vue-ui-geo.js +2 -0
  50. package/dist/components/vue-ui-gizmo.js +2 -0
  51. package/dist/components/vue-ui-heatmap.js +2 -0
  52. package/dist/components/vue-ui-history-plot.js +2 -0
  53. package/dist/components/vue-ui-horizontal-bar.js +2 -0
  54. package/dist/components/vue-ui-icon.js +2 -0
  55. package/dist/components/vue-ui-kpi.js +2 -0
  56. package/dist/components/vue-ui-mini-loader.js +2 -0
  57. package/dist/components/vue-ui-molecule.js +2 -0
  58. package/dist/components/vue-ui-mood-radar.js +2 -0
  59. package/dist/components/vue-ui-nested-donuts.js +2 -0
  60. package/dist/components/vue-ui-onion.js +2 -0
  61. package/dist/components/vue-ui-parallel-coordinate-plot.js +2 -0
  62. package/dist/components/vue-ui-pattern-seed.js +2 -0
  63. package/dist/components/vue-ui-pattern.js +2 -0
  64. package/dist/components/vue-ui-quadrant.js +2 -0
  65. package/dist/components/vue-ui-quick-chart.js +2 -0
  66. package/dist/components/vue-ui-radar.js +2 -0
  67. package/dist/components/vue-ui-rating.js +2 -0
  68. package/dist/components/vue-ui-relation-circle.js +2 -0
  69. package/dist/components/vue-ui-ridgeline.js +2 -0
  70. package/dist/components/vue-ui-rings.js +2 -0
  71. package/dist/components/vue-ui-scatter.js +2 -0
  72. package/dist/components/vue-ui-skeleton.js +2 -0
  73. package/dist/components/vue-ui-smiley.js +2 -0
  74. package/dist/components/vue-ui-spark-trend.js +2 -0
  75. package/dist/components/vue-ui-sparkbar.js +2 -0
  76. package/dist/components/vue-ui-sparkgauge.js +2 -0
  77. package/dist/components/vue-ui-sparkhistogram.js +2 -0
  78. package/dist/components/vue-ui-sparkline.js +2 -0
  79. package/dist/components/vue-ui-sparkstackbar.js +2 -0
  80. package/dist/components/vue-ui-stackbar.js +2 -0
  81. package/dist/components/vue-ui-stackline.js +2 -0
  82. package/dist/components/vue-ui-strip-plot.js +2 -0
  83. package/dist/components/vue-ui-table-heatmap.js +2 -0
  84. package/dist/components/vue-ui-table-sparkline.js +2 -0
  85. package/dist/components/vue-ui-table.js +2 -0
  86. package/dist/components/vue-ui-thermometer.js +2 -0
  87. package/dist/components/vue-ui-timer.js +2 -0
  88. package/dist/components/vue-ui-tiremarks.js +2 -0
  89. package/dist/components/vue-ui-treemap.js +2 -0
  90. package/dist/components/vue-ui-vertical-bar.js +2 -0
  91. package/dist/components/vue-ui-waffle.js +2 -0
  92. package/dist/components/vue-ui-wheel.js +2 -0
  93. package/dist/components/vue-ui-word-cloud.js +2 -0
  94. package/dist/components/vue-ui-world.js +2 -0
  95. package/dist/components/vue-ui-xy-canvas.js +2 -0
  96. package/dist/components/vue-ui-xy.js +2 -0
  97. package/dist/dom-to-png-BYtB4BF3.js +237 -0
  98. package/dist/exposedLib-CI8ji8G-.js +19 -0
  99. package/dist/geoProjections-Czak6Jn1.js +145 -0
  100. package/dist/img-1cKsci8e.js +74 -0
  101. package/dist/labelUtils-CUctkYoA.js +19 -0
  102. package/dist/lib-DUeYQsS0.js +1882 -0
  103. package/dist/llms.txt +232 -0
  104. package/dist/patternUtils-CS7hn6at.js +258 -0
  105. package/dist/pdf-D0eZ99cP.js +90 -0
  106. package/dist/rolldown-runtime-Dy4uBu1J.js +11 -0
  107. package/dist/style.css +2 -0
  108. package/dist/types/arrow.d.ts +4 -0
  109. package/dist/types/utils.d.ts +551 -0
  110. package/dist/types/vue-data-ui.d.ts +17190 -0
  111. package/dist/types/vue-ui-3d-bar.d.ts +93 -0
  112. package/dist/types/vue-ui-accordion.d.ts +11 -0
  113. package/dist/types/vue-ui-age-pyramid.d.ts +108 -0
  114. package/dist/types/vue-ui-annotator.d.ts +34 -0
  115. package/dist/types/vue-ui-bullet.d.ts +85 -0
  116. package/dist/types/vue-ui-bump.d.ts +92 -0
  117. package/dist/types/vue-ui-candlestick.d.ts +106 -0
  118. package/dist/types/vue-ui-carousel-table.d.ts +59 -0
  119. package/dist/types/vue-ui-chestnut.d.ts +98 -0
  120. package/dist/types/vue-ui-chord.d.ts +110 -0
  121. package/dist/types/vue-ui-circle-pack.d.ts +126 -0
  122. package/dist/types/vue-ui-cursor.d.ts +9 -0
  123. package/dist/types/vue-ui-dag.d.ts +125 -0
  124. package/dist/types/vue-ui-dashboard.d.ts +68 -0
  125. package/dist/types/vue-ui-digits.d.ts +12 -0
  126. package/dist/types/vue-ui-donut-evolution.d.ts +98 -0
  127. package/dist/types/vue-ui-donut.d.ts +123 -0
  128. package/dist/types/vue-ui-dumbbell.d.ts +94 -0
  129. package/dist/types/vue-ui-flow.d.ts +106 -0
  130. package/dist/types/vue-ui-funnel.d.ts +79 -0
  131. package/dist/types/vue-ui-galaxy.d.ts +114 -0
  132. package/dist/types/vue-ui-gauge.d.ts +89 -0
  133. package/dist/types/vue-ui-geo.d.ts +94 -0
  134. package/dist/types/vue-ui-gizmo.d.ts +22 -0
  135. package/dist/types/vue-ui-heatmap.d.ts +101 -0
  136. package/dist/types/vue-ui-history-plot.d.ts +114 -0
  137. package/dist/types/vue-ui-horizontal-bar.d.ts +116 -0
  138. package/dist/types/vue-ui-icon.d.ts +15 -0
  139. package/dist/types/vue-ui-kpi.d.ts +25 -0
  140. package/dist/types/vue-ui-mini-loader.d.ts +15 -0
  141. package/dist/types/vue-ui-molecule.d.ts +112 -0
  142. package/dist/types/vue-ui-mood-radar.d.ts +92 -0
  143. package/dist/types/vue-ui-nested-donuts.d.ts +111 -0
  144. package/dist/types/vue-ui-onion.d.ts +106 -0
  145. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +125 -0
  146. package/dist/types/vue-ui-pattern-seed.d.ts +14 -0
  147. package/dist/types/vue-ui-pattern.d.ts +15 -0
  148. package/dist/types/vue-ui-quadrant.d.ts +125 -0
  149. package/dist/types/vue-ui-quick-chart.d.ts +108 -0
  150. package/dist/types/vue-ui-radar.d.ts +116 -0
  151. package/dist/types/vue-ui-rating.d.ts +42 -0
  152. package/dist/types/vue-ui-relation-circle.d.ts +92 -0
  153. package/dist/types/vue-ui-ridgeline.d.ts +106 -0
  154. package/dist/types/vue-ui-rings.d.ts +98 -0
  155. package/dist/types/vue-ui-scatter.d.ts +97 -0
  156. package/dist/types/vue-ui-skeleton.d.ts +11 -0
  157. package/dist/types/vue-ui-smiley.d.ts +28 -0
  158. package/dist/types/vue-ui-spark-trend.d.ts +19 -0
  159. package/dist/types/vue-ui-sparkbar.d.ts +49 -0
  160. package/dist/types/vue-ui-sparkgauge.d.ts +28 -0
  161. package/dist/types/vue-ui-sparkhistogram.d.ts +46 -0
  162. package/dist/types/vue-ui-sparkline.d.ts +59 -0
  163. package/dist/types/vue-ui-sparkstackbar.d.ts +60 -0
  164. package/dist/types/vue-ui-stackbar.d.ts +118 -0
  165. package/dist/types/vue-ui-stackline.d.ts +114 -0
  166. package/dist/types/vue-ui-strip-plot.d.ts +96 -0
  167. package/dist/types/vue-ui-table-heatmap.d.ts +62 -0
  168. package/dist/types/vue-ui-table-sparkline.d.ts +53 -0
  169. package/dist/types/vue-ui-table.d.ts +38 -0
  170. package/dist/types/vue-ui-thermometer.d.ts +70 -0
  171. package/dist/types/vue-ui-timer.d.ts +49 -0
  172. package/dist/types/vue-ui-tiremarks.d.ts +70 -0
  173. package/dist/types/vue-ui-treemap.d.ts +104 -0
  174. package/dist/types/vue-ui-vertical-bar.d.ts +22 -0
  175. package/dist/types/vue-ui-waffle.d.ts +101 -0
  176. package/dist/types/vue-ui-wheel.d.ts +70 -0
  177. package/dist/types/vue-ui-word-cloud.d.ts +97 -0
  178. package/dist/types/vue-ui-world.d.ts +98 -0
  179. package/dist/types/vue-ui-xy-canvas.d.ts +101 -0
  180. package/dist/types/vue-ui-xy.d.ts +146 -0
  181. package/dist/useAutoSizeLabelsInsideViewbox-BIVntRZp.js +50 -0
  182. package/dist/useChartAccessibility-DYqac8yF.js +12 -0
  183. package/dist/useConfig-DAyQk86L.js +7479 -0
  184. package/dist/useFitSvgText-CT3nmlaS.js +63 -0
  185. package/dist/useNestedProp-CNcoy38D.js +10 -0
  186. package/dist/useObjectBindings-BI7hP-BC.js +189 -0
  187. package/dist/usePanZoom-CYU3B4T3.js +157 -0
  188. package/dist/usePrefersMotion-BC-CsqR1.js +15 -0
  189. package/dist/usePrinter-C1Gqt_Sp.js +49 -0
  190. package/dist/useResponsive-BfnK0KxU.js +19 -0
  191. package/dist/useStableElementSize-C7KADDKj.js +77 -0
  192. package/dist/useSvgExport-SVIsDot8.js +755 -0
  193. package/dist/useTableResponsive-B24Uwt2E.js +24 -0
  194. package/dist/useThemeCheck-C43Tcqmk.js +24 -0
  195. package/dist/useTimeLabelCollider-AEcY4Ioe.js +57 -0
  196. package/dist/useTimeLabels-BmBRv27Y.js +272 -0
  197. package/dist/useUserOptionState-DK-_1ddE.js +15 -0
  198. package/dist/utils.js +28 -0
  199. package/dist/vClickOutside-DUrZWttG.js +13 -0
  200. package/dist/vue-data-ui-BhBPNDxL.js +274 -0
  201. package/dist/vue-data-ui.js +76 -0
  202. package/dist/vue-ui-3d-bar-C-YUUjqJ.js +1757 -0
  203. package/dist/vue-ui-accordion-Dw4MHKVB.js +81 -0
  204. package/dist/vue-ui-age-pyramid-DMi31V0Y.js +1238 -0
  205. package/dist/vue-ui-annotator-DLPUAKlm.js +2899 -0
  206. package/dist/vue-ui-bullet-CCUUgih6.js +710 -0
  207. package/dist/vue-ui-bump-YKkkm2RM.js +1249 -0
  208. package/dist/vue-ui-candlestick-Db6O_dUh.js +1826 -0
  209. package/dist/vue-ui-carousel-table-D08jupGE.js +455 -0
  210. package/dist/vue-ui-chestnut-V6Te8sgC.js +2010 -0
  211. package/dist/vue-ui-chord-I9K-eKps.js +1391 -0
  212. package/dist/vue-ui-circle-pack-COH0rpBl.js +1608 -0
  213. package/dist/vue-ui-cursor-hC1cipp9.js +283 -0
  214. package/dist/vue-ui-dag-CVbnJFGk.js +2909 -0
  215. package/dist/vue-ui-dashboard-D39BY94S.js +513 -0
  216. package/dist/vue-ui-digits-gN-D2fCk.js +209 -0
  217. package/dist/vue-ui-donut-Bo7gCNIH.js +2410 -0
  218. package/dist/vue-ui-donut-evolution-6UG0SGNz.js +1510 -0
  219. package/dist/vue-ui-dumbbell-BTSPax-u.js +1530 -0
  220. package/dist/vue-ui-flow-pZIgyNHi.js +1235 -0
  221. package/dist/vue-ui-funnel-CJBj6xPU.js +777 -0
  222. package/dist/vue-ui-galaxy-BU9QBHvX.js +1077 -0
  223. package/dist/vue-ui-gauge-BwNfToS3.js +920 -0
  224. package/dist/vue-ui-geo-Ctw-rYCa.js +1516 -0
  225. package/dist/vue-ui-gizmo-De6bAHzZ.js +225 -0
  226. package/dist/vue-ui-heatmap-D6ZcIe-_.js +1568 -0
  227. package/dist/vue-ui-history-plot-D3LYtRUf.js +1554 -0
  228. package/dist/vue-ui-horizontal-bar-DXSHpMq5.js +1681 -0
  229. package/dist/vue-ui-kpi-BMhGvR1u.js +96 -0
  230. package/dist/vue-ui-mini-loader-CyqBt2g4.js +125 -0
  231. package/dist/vue-ui-molecule-9Kqjw0Q2.js +925 -0
  232. package/dist/vue-ui-mood-radar-D__NPYbQ.js +1148 -0
  233. package/dist/vue-ui-nested-donuts-tKRGmt7J.js +1487 -0
  234. package/dist/vue-ui-onion-BqToB0Lt.js +1200 -0
  235. package/dist/vue-ui-parallel-coordinate-plot-DO8Z5EoX.js +1416 -0
  236. package/dist/vue-ui-pattern-DKozfnVn.js +154 -0
  237. package/dist/vue-ui-pattern-seed-BB1honLm.js +61 -0
  238. package/dist/vue-ui-quadrant-CjNKKB1Z.js +1978 -0
  239. package/dist/vue-ui-quick-chart-nlIWPrCE.js +2469 -0
  240. package/dist/vue-ui-radar-Cy94rM6C.js +1229 -0
  241. package/dist/vue-ui-rating-BG4lf1z8.js +343 -0
  242. package/dist/vue-ui-relation-circle-M7PVX7Zl.js +924 -0
  243. package/dist/vue-ui-ridgeline-BZEelqM8.js +1622 -0
  244. package/dist/vue-ui-rings-mKhOQl1U.js +1246 -0
  245. package/dist/vue-ui-scatter-BonCg1js.js +2413 -0
  246. package/dist/vue-ui-skeleton-D1edGUlH.js +2556 -0
  247. package/dist/vue-ui-smiley-G89TxRU-.js +356 -0
  248. package/dist/vue-ui-spark-trend-CSLIGl_Q.js +438 -0
  249. package/dist/vue-ui-sparkbar-GF5qxxDg.js +393 -0
  250. package/dist/vue-ui-sparkgauge-Br5QbmJp.js +255 -0
  251. package/dist/vue-ui-sparkhistogram-zytzJWJt.js +560 -0
  252. package/dist/vue-ui-sparkline-C3fJW5ed.js +1507 -0
  253. package/dist/vue-ui-sparkstackbar-BZCuqHU-.js +662 -0
  254. package/dist/vue-ui-stackbar-DJs1NZaG.js +2270 -0
  255. package/dist/vue-ui-stackline-D50yykWw.js +2398 -0
  256. package/dist/vue-ui-strip-plot-BhgpmxfN.js +1340 -0
  257. package/dist/vue-ui-table-DwLSy4-K.js +1338 -0
  258. package/dist/vue-ui-table-heatmap-CCGjbSzQ.js +344 -0
  259. package/dist/vue-ui-table-sparkline-BNe3NVaD.js +707 -0
  260. package/dist/vue-ui-thermometer-C-RFOIFB.js +763 -0
  261. package/dist/vue-ui-timer-BPpd6LXJ.js +439 -0
  262. package/dist/vue-ui-tiremarks-Bu2GSXdO.js +552 -0
  263. package/dist/vue-ui-treemap-BSSkoyh0.js +1587 -0
  264. package/dist/vue-ui-waffle-9vxPJRPI.js +1362 -0
  265. package/dist/vue-ui-wheel-BKwOHfWj.js +885 -0
  266. package/dist/vue-ui-word-cloud-C5NfVraH.js +1656 -0
  267. package/dist/vue-ui-world-C8mg6RCf.js +14264 -0
  268. package/dist/vue-ui-xy-CqthF3-M.js +4578 -0
  269. package/dist/vue-ui-xy-canvas-BUPnRZ3C.js +1787 -0
  270. package/dist/vue_ui_3d_bar-C4R7o-yX.js +185 -0
  271. package/dist/vue_ui_age_pyramid-BY6c-oX_.js +301 -0
  272. package/dist/vue_ui_bullet-ClzdLoOv.js +186 -0
  273. package/dist/vue_ui_bump-Vl-zYAtG.js +201 -0
  274. package/dist/vue_ui_candlestick-J8jmJvxP.js +374 -0
  275. package/dist/vue_ui_chestnut-D2oUhad6.js +305 -0
  276. package/dist/vue_ui_chord-DPfS1Umc.js +275 -0
  277. package/dist/vue_ui_circle_pack-DZC_rdfn.js +172 -0
  278. package/dist/vue_ui_dag-TsJ_azQq.js +258 -0
  279. package/dist/vue_ui_donut-BDGqG07h.js +358 -0
  280. package/dist/vue_ui_donut_evolution-D1yAAIHr.js +717 -0
  281. package/dist/vue_ui_dumbbell-Bfe_jFyi.js +304 -0
  282. package/dist/vue_ui_flow-BewZjjKG.js +238 -0
  283. package/dist/vue_ui_funnel-_Og4EEkO.js +234 -0
  284. package/dist/vue_ui_galaxy-Ig0cc1_h.js +265 -0
  285. package/dist/vue_ui_gauge-Cf1RZc9q.js +178 -0
  286. package/dist/vue_ui_geo-B8TODs-G.js +248 -0
  287. package/dist/vue_ui_heatmap-B2BBBSWG.js +319 -0
  288. package/dist/vue_ui_history_plot-CuN63VEc.js +413 -0
  289. package/dist/vue_ui_horizontal_bar-C4J4QzXf.js +341 -0
  290. package/dist/vue_ui_molecule-CO9L59SF.js +231 -0
  291. package/dist/vue_ui_mood_radar-BA6LAKhk.js +281 -0
  292. package/dist/vue_ui_nested_donuts-B8csIoVO.js +273 -0
  293. package/dist/vue_ui_onion-1FTFFS46.js +293 -0
  294. package/dist/vue_ui_parallel_coordinate_plot-CBiOBira.js +278 -0
  295. package/dist/vue_ui_quadrant-CDSTKTJz.js +428 -0
  296. package/dist/vue_ui_quick_chart-mZBdml3Z.js +139 -0
  297. package/dist/vue_ui_radar-jafTED5j.js +306 -0
  298. package/dist/vue_ui_relation_circle-D0p4mXmv.js +98 -0
  299. package/dist/vue_ui_ridgeline-VM8_mx4J.js +767 -0
  300. package/dist/vue_ui_rings-BVgD2aMn.js +320 -0
  301. package/dist/vue_ui_scatter-I0POnicu.js +479 -0
  302. package/dist/vue_ui_spark_trend-DxVmpkmC.js +82 -0
  303. package/dist/vue_ui_sparkbar-z6qO--Kf.js +64 -0
  304. package/dist/vue_ui_sparkgauge-BX1MS3bA.js +90 -0
  305. package/dist/vue_ui_sparkhistogram-BRgvKUH6.js +123 -0
  306. package/dist/vue_ui_sparkline-auZhap6Y.js +151 -0
  307. package/dist/vue_ui_sparkstackbar-BOjuQnZd.js +175 -0
  308. package/dist/vue_ui_stackbar-COOrQQdK.js +412 -0
  309. package/dist/vue_ui_stackline-DQqKPA9z.js +460 -0
  310. package/dist/vue_ui_strip_plot-CtJe8_gq.js +301 -0
  311. package/dist/vue_ui_table_heatmap-w8vx5k6f.js +80 -0
  312. package/dist/vue_ui_table_sparkline-DAbkUrNz.js +124 -0
  313. package/dist/vue_ui_thermometer-DxgqWKlE.js +123 -0
  314. package/dist/vue_ui_tiremarks-CdEPieWV.js +122 -0
  315. package/dist/vue_ui_treemap-DoEtkRN6.js +328 -0
  316. package/dist/vue_ui_vertical_bar-CP-MKz1j.js +247 -0
  317. package/dist/vue_ui_waffle-DIARFc7g.js +292 -0
  318. package/dist/vue_ui_wheel-DZ_nR--t.js +133 -0
  319. package/dist/vue_ui_word_cloud-C-qIMNLu.js +254 -0
  320. package/dist/vue_ui_xy-BLUkWEAm.js +482 -0
  321. package/dist/vue_ui_xy_canvas-Cb6dg3eK.js +408 -0
  322. package/package.json +120 -120
@@ -0,0 +1,455 @@
1
+ import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
+ import { Ct as t, H as n, J as r, Mt as ee, S as i, X as a } from "./lib-DUeYQsS0.js";
3
+ import { t as te } from "./useConfig-DAyQk86L.js";
4
+ import { t as ne } from "./usePrinter-C1Gqt_Sp.js";
5
+ import { t as re } from "./useNestedProp-CNcoy38D.js";
6
+ import { t as ie } from "./_plugin-vue_export-helper-B3ysoDQm.js";
7
+ import { t as ae } from "./useUserOptionState-DK-_1ddE.js";
8
+ import { t as oe } from "./usePrefersMotion-BC-CsqR1.js";
9
+ import { Fragment as o, computed as s, createBlock as se, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createSlots as ce, createTextVNode as d, defineAsyncComponent as le, guardReactiveProps as f, mergeProps as p, nextTick as m, normalizeClass as ue, normalizeProps as h, normalizeStyle as g, onBeforeUnmount as _, onMounted as v, openBlock as y, ref as b, renderList as x, renderSlot as S, shallowRef as de, toDisplayString as C, unref as w, useSlots as fe, watch as T, withCtx as E } from "vue";
10
+ //#region src/components/vue-ui-carousel-table.vue
11
+ var pe = /* @__PURE__ */ e({ default: () => D }), me = ["id"], he = ["aria-labelledby"], ge = ["id"], _e = ["height"], ve = ["id"], ye = [
12
+ "data-cell",
13
+ "aria-label",
14
+ "height"
15
+ ], be = {
16
+ key: 2,
17
+ ref: "source",
18
+ dir: "auto"
19
+ }, D = /* @__PURE__ */ ie({
20
+ __name: "vue-ui-carousel-table",
21
+ props: {
22
+ config: {
23
+ type: Object,
24
+ default() {
25
+ return {};
26
+ }
27
+ },
28
+ dataset: {
29
+ type: Object,
30
+ default() {
31
+ return {};
32
+ }
33
+ }
34
+ },
35
+ emits: ["copyAlt"],
36
+ setup(e, { expose: ie, emit: pe }) {
37
+ let D = le(() => import("./vue-ui-skeleton-D1edGUlH.js").then((e) => e.n)), xe = le(() => import("./UserOptions-C1NgoGu6.js").then((e) => e.n)), { vue_ui_carousel_table: Se } = te(), Ce = oe(), O = e, we = pe, k = b(n()), Te = b(!1), A = b(!!O.dataset), Ee = fe();
38
+ v(() => {
39
+ De();
40
+ }), v(() => {
41
+ Ee["chart-background"] && console.warn("VueUiCarouselTable does not support the #chart-background slot.");
42
+ });
43
+ function De() {
44
+ t(O.dataset) ? a({
45
+ componentName: "VueUiCarouselTable",
46
+ type: "dataset"
47
+ }) : ((!O.dataset.head || t(O.dataset.head)) && (a({
48
+ componentName: "VueUiCarouselTable",
49
+ type: "datasetAttribute",
50
+ property: "head"
51
+ }), A.value = !1), (!O.dataset.body || t(O.dataset.body)) && (a({
52
+ componentName: "VueUiCarouselTable",
53
+ type: "datasetAttribute",
54
+ property: "body"
55
+ }), A.value = !1)), Ce.value && (j.value.userOptions.buttons.animation = !1);
56
+ }
57
+ let j = s({
58
+ get: () => N(),
59
+ set: (e) => e
60
+ }), Oe = s(() => j.value.userOptions.useCursorPointer), { userOptionsVisible: M, setUserOptionsVisibility: ke, keepUserOptionState: Ae } = ae({ config: j.value });
61
+ function N() {
62
+ return re({
63
+ userConfig: O.config,
64
+ defaultConfig: Se
65
+ });
66
+ }
67
+ T(() => O.config, (e) => {
68
+ j.value = N(), M.value = !j.value.userOptions.showOnChartHover, De();
69
+ }, { deep: !0 }), T(() => O.dataset, (e) => {
70
+ G();
71
+ }, { deep: !0 });
72
+ let { isPrinting: je, isImaging: P, generatePdf: Me, generateImage: Ne } = ne({
73
+ elementId: `carousel-table_${k.value}`,
74
+ fileName: j.value.caption.text || "vue-ui-carousel-table",
75
+ options: j.value.userOptions.print
76
+ }), F = b({ showAnimation: j.value.animation.use }), I = b(null), Pe = b(null), L = b(null), R = b(null), z = b(0), B = b(0), V = b(!1), H = b(null), U = b(null), W = b(0);
77
+ function G() {
78
+ H.value && (U.value = {
79
+ elements: H.value.getElementsByTagName("tr"),
80
+ heights: Array.from(H.value.getElementsByTagName("tr")).map((e) => e.getBoundingClientRect().height)
81
+ });
82
+ }
83
+ v(G);
84
+ let Fe = s(() => !U.value || !U.value.heights.length ? 0 : Math.max(...U.value.heights) + z.value + B.value), Ie = s(() => O.dataset.body ? j.value.tbody.tr.visible <= O.dataset.body.length ? j.value.tbody.tr.visible : O.dataset.body.length : 0), Le = s(() => (j.value.tbody.tr.height + j.value.tbody.tr.td.padding.top + j.value.tbody.tr.td.padding.bottom + j.value.tbody.tr.border.size * 2) * Ie.value + z.value + B.value), K = b(0), q = b(null), J = b(0), Y = b(!1), Re = b(0);
85
+ v(() => {
86
+ L.value && (z.value = L.value.getBoundingClientRect().height), R.value && (B.value = R.value.getBoundingClientRect().height), F.value.showAnimation && U.value && Be();
87
+ }), v(() => {
88
+ if (I.value) {
89
+ let e = I.value.querySelector("thead"), t = Array.from(H.value.querySelectorAll("tr"));
90
+ function n() {
91
+ let n = e.getBoundingClientRect().bottom;
92
+ t.forEach((e) => {
93
+ e.getBoundingClientRect().top < n ? e.style.visibility = "hidden" : e.style.visibility = "visible";
94
+ });
95
+ }
96
+ I.value.addEventListener("scroll", n), n(), _(() => {
97
+ I.value.removeEventListener("scroll", n);
98
+ });
99
+ }
100
+ });
101
+ function ze(e) {
102
+ Te.value = e, Re.value += 1;
103
+ }
104
+ function Be() {
105
+ Ce.value || !q.value && !Y.value && (j.value.animation.type === "scroll" ? q.value = requestAnimationFrame(He) : q.value = requestAnimationFrame(Ue));
106
+ }
107
+ function Ve() {
108
+ if (!I.value) return !1;
109
+ let { scrollTop: e, scrollHeight: t, clientHeight: n } = I.value;
110
+ return e + n >= t;
111
+ }
112
+ function He(e) {
113
+ Y.value || (J.value ||= e, e - J.value >= j.value.animation.speedMs && (K.value += U.value.heights[W.value], (Ve() || W.value >= U.value.heights.length) && (K.value = 0, W.value = -1), W.value += 1, I.value && I.value.scrollTo({
114
+ top: K.value,
115
+ behavior: "smooth"
116
+ }), J.value = e), q.value = requestAnimationFrame(He));
117
+ }
118
+ function Ue(e) {
119
+ if (Y.value) return;
120
+ J.value ||= e;
121
+ let t = e - J.value, n = j.value.animation.speedMs / 4 / 1e3;
122
+ t >= n && (K.value += n, K.value >= I.value.scrollHeight - I.value.clientHeight && (K.value = 0), I.value && I.value.scrollTo({
123
+ top: K.value,
124
+ behavior: "auto"
125
+ }), J.value = e), q.value = requestAnimationFrame(Ue);
126
+ }
127
+ function X() {
128
+ Y.value = !0, cancelAnimationFrame(q.value), q.value = null;
129
+ }
130
+ _(X);
131
+ function Z() {
132
+ !Y.value || !F.value.showAnimation || (Y.value = !1, J.value = 0, Be());
133
+ }
134
+ function We() {
135
+ j.value.animation.pauseOnHover && X();
136
+ }
137
+ let Q = b(null);
138
+ function Ge() {
139
+ X(), clearTimeout(Q.value);
140
+ }
141
+ function Ke() {
142
+ clearTimeout(Q.value), Q.value = setTimeout(Z, 1e3);
143
+ }
144
+ T(() => j.value.animation.use, (e) => {
145
+ e ? (F.value.showAnimation = !0, Z()) : (F.value.showAnimation = !1, X());
146
+ }), T(() => j.value.animation.type, (e) => {
147
+ X(), K.value = 0, W.value = 0, I.value.scrollTo({
148
+ top: 0,
149
+ behavior: "auto"
150
+ }), Z();
151
+ });
152
+ let qe = s(() => j.value.responsiveBreakpoint), $ = de(null);
153
+ v(() => {
154
+ $.value = new ResizeObserver((e) => {
155
+ e.forEach((e) => {
156
+ V.value = e.contentRect.width < qe.value;
157
+ }), z.value = L.value ? L.value.getBoundingClientRect().height : 0, B.value = R.value ? R.value.getBoundingClientRect().height : 0, W.value = 0, m(() => {
158
+ X(), J.value = 0, K.value = 0, G(), Z();
159
+ });
160
+ }), I.value && $.value.observe(I.value);
161
+ }), _(() => {
162
+ $.value && $.value.disconnect();
163
+ });
164
+ function Je() {
165
+ Me();
166
+ }
167
+ function Ye() {
168
+ F.value.showAnimation = !F.value.showAnimation, F.value.showAnimation ? Z() : X();
169
+ }
170
+ function Xe(e = null) {
171
+ m(() => {
172
+ let t = O.dataset.head.map((e, t) => [[O.dataset.body[t]]]), n = i([[j.value.caption.text], [O.dataset.head.map((e) => [e])]].concat(t));
173
+ e ? e(n) : r({
174
+ csvContent: n,
175
+ title: j.value.caption.text || "vue-ui-carousel-table"
176
+ });
177
+ });
178
+ }
179
+ async function Ze() {
180
+ if (we("copyAlt", {
181
+ config: j.value,
182
+ dataset: O.dataset
183
+ }), !j.value.userOptions.callbacks.altCopy) {
184
+ console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
185
+ return;
186
+ }
187
+ await Promise.resolve(j.value.userOptions.callbacks.altCopy({
188
+ config: j.value,
189
+ dataset: O.dataset
190
+ }));
191
+ }
192
+ return ie({
193
+ pauseAnimation: X,
194
+ resumeAnimation: Z,
195
+ toggleAnimation: Ye,
196
+ generateCsv: Xe,
197
+ generatePdf: Je,
198
+ generateImage: Ne,
199
+ copyAlt: Ze
200
+ }), (t, n) => (y(), l("div", {
201
+ class: "vue-data-ui-component vue-ui-carousel-table",
202
+ style: {
203
+ position: "relative",
204
+ overflow: "visible"
205
+ },
206
+ ref_key: "chartContainer",
207
+ ref: Pe,
208
+ onMouseenter: n[5] ||= () => w(ke)(!0),
209
+ onMouseleave: n[6] ||= () => w(ke)(!1)
210
+ }, [
211
+ u("div", {
212
+ ref_key: "tableContainer",
213
+ ref: I,
214
+ id: `carousel-table_${k.value}`,
215
+ style: g({
216
+ height: w(je) || w(P) ? "auto" : `${Math.max(Le.value, Fe.value)}px`,
217
+ containerType: "inline-size",
218
+ position: "relative",
219
+ overflow: "auto",
220
+ fontFamily: j.value.fontFamily
221
+ }),
222
+ class: ue({
223
+ "vue-ui-responsive": V.value,
224
+ "is-playing": j.value.scrollbar.hide || !Y.value && j.value.scrollbar.showOnlyOnHover
225
+ }),
226
+ onMouseover: n[0] ||= (e) => We(),
227
+ onMouseleave: n[1] ||= (e) => Z(),
228
+ onTouchstart: n[2] ||= (e) => Ge(),
229
+ onTouchend: n[3] ||= (e) => Ke(),
230
+ onTouchcancel: n[4] ||= (e) => Ke()
231
+ }, [A.value ? (y(), l("table", {
232
+ key: 0,
233
+ class: "vue-data-ui-carousel-table",
234
+ "aria-labelledby": `carousel-caption-${k.value}`,
235
+ style: g({
236
+ ...j.value.style,
237
+ border: `${j.value.border.size}px solid ${j.value.border.color}`,
238
+ width: "100%",
239
+ borderCollapse: "collapse",
240
+ backgroundColor: j.value.tbody.backgroundColor
241
+ })
242
+ }, [
243
+ u("caption", {
244
+ ref_key: "caption",
245
+ ref: L,
246
+ class: "vue-data-ui-carousel-table-caption",
247
+ id: `carousel-caption-${k.value}`,
248
+ style: g({
249
+ ...j.value.caption.style,
250
+ fontFamily: "inherit",
251
+ position: "sticky",
252
+ top: 0,
253
+ zIndex: 2,
254
+ paddingTop: j.value.caption.padding.top + "px",
255
+ paddingRight: j.value.caption.padding.right + "px",
256
+ paddingBottom: j.value.caption.padding.bottom + "px",
257
+ paddingLeft: j.value.caption.padding.left + "px",
258
+ boxShadow: V.value ? j.value.thead.tr.style.boxShadow : "none",
259
+ minHeight: "36px",
260
+ display: t.$slots.caption || j.value.caption.text || j.value.userOptions.show ? "" : "none"
261
+ })
262
+ }, [d(C(j.value.caption.text && !t.$slots.caption ? j.value.caption.text : "") + " ", 1), S(t.$slots, "caption", {}, void 0, !0)], 12, ge),
263
+ u("thead", {
264
+ role: "rowgroup",
265
+ style: g({
266
+ ...j.value.thead.style,
267
+ position: "sticky",
268
+ top: `${t.$slots.caption || j.value.caption.text || j.value.userOptions.show ? z.value : 0}px`,
269
+ zIndex: 1
270
+ })
271
+ }, [u("tr", {
272
+ ref_key: "tableRow",
273
+ ref: R,
274
+ role: "row",
275
+ style: g({
276
+ ...j.value.thead.tr.style,
277
+ border: j.value.thead.tr.border.size ? `${j.value.thead.tr.border.size}px solid ${j.value.thead.tr.border.color}` : "none",
278
+ boxShadow: V.value ? "none" : j.value.thead.tr.style.boxShadow
279
+ }),
280
+ height: `${j.value.thead.tr.height}px`
281
+ }, [(y(!0), l(o, null, x(e.dataset.head, (e, n) => (y(), l("th", {
282
+ role: "cell",
283
+ key: `th_${n}`,
284
+ id: `col-${n}`,
285
+ scope: "col",
286
+ style: g({
287
+ ...j.value.thead.tr.th.style,
288
+ border: j.value.thead.tr.th.border.size ? `${j.value.thead.tr.th.border.size}px solid ${j.value.thead.tr.th.border.color}` : "none",
289
+ paddingTop: j.value.thead.tr.th.padding.top + "px",
290
+ paddingRight: j.value.thead.tr.th.padding.right + "px",
291
+ paddingBottom: j.value.thead.tr.th.padding.bottom + "px",
292
+ paddingLeft: j.value.thead.tr.th.padding.left + "px"
293
+ })
294
+ }, [d(C(t.$slots.th ? "" : e) + " ", 1), S(t.$slots, "th", p({ ref_for: !0 }, {
295
+ th: e,
296
+ colIndex: n
297
+ }), void 0, !0)], 12, ve))), 128))], 12, _e)], 4),
298
+ e.dataset.body && e.dataset.head ? (y(), l("tbody", {
299
+ key: 0,
300
+ ref_key: "tbody",
301
+ ref: H,
302
+ "aria-live": "polite",
303
+ style: { clipPath: "inset(0,0,0,0)" }
304
+ }, [(y(!0), l(o, null, x(e.dataset.body, (n, r) => (y(), l("tr", { style: g({
305
+ ...j.value.tbody.tr.style,
306
+ border: `${j.value.tbody.tr.border.size}px solid ${j.value.tbody.tr.border.color}`,
307
+ verticalAlign: "middle"
308
+ }) }, [(y(!0), l(o, null, x(n, (n, i) => (y(), l("td", {
309
+ role: "cell",
310
+ "data-cell": e.dataset.head[i] || "",
311
+ "aria-label": `${e.dataset.head[i]}: ${n}`,
312
+ style: g({
313
+ ...j.value.tbody.tr.td.style,
314
+ border: `${j.value.tbody.tr.td.border.size}px solid ${j.value.tbody.tr.td.border.color}`,
315
+ backgroundColor: w(ee)(j.value.tbody.tr.td.style.backgroundColor, r % 2 == 0 && j.value.tbody.tr.td.alternateColor ? j.value.tbody.tr.td.alternateOpacity * 100 : 100),
316
+ paddingTop: j.value.tbody.tr.td.padding.top + "px",
317
+ paddingRight: j.value.tbody.tr.td.padding.right + "px",
318
+ paddingBottom: j.value.tbody.tr.td.padding.bottom + "px",
319
+ paddingLeft: j.value.tbody.tr.td.padding.left + "px",
320
+ verticalAlign: "middle"
321
+ }),
322
+ height: `${j.value.tbody.tr.height}px`
323
+ }, [d(C(t.$slots.td ? "" : n) + " ", 1), S(t.$slots, "td", p({ ref_for: !0 }, {
324
+ td: n,
325
+ rowIndex: r,
326
+ colIndex: i
327
+ }), void 0, !0)], 12, ye))), 256))], 4))), 256))], 512)) : c("", !0)
328
+ ], 12, he)) : c("", !0)], 46, me),
329
+ A.value ? c("", !0) : (y(), se(w(D), {
330
+ key: 0,
331
+ config: { type: "table" }
332
+ })),
333
+ j.value.userOptions.show && A.value && (w(Ae) || w(M)) ? (y(), se(w(xe), {
334
+ ref: "details",
335
+ key: `user_option_${Re.value}`,
336
+ backgroundColor: j.value.style.backgroundColor,
337
+ color: j.value.style.color,
338
+ isPrinting: w(je),
339
+ isImaging: w(P),
340
+ uid: k.value,
341
+ hasTooltip: !1,
342
+ hasPdf: j.value.userOptions.buttons.pdf,
343
+ hasImg: j.value.userOptions.buttons.img,
344
+ hasXls: j.value.userOptions.buttons.csv,
345
+ hasTable: !1,
346
+ hasLabel: !1,
347
+ hasAnimation: j.value.userOptions.buttons.animation,
348
+ isAnimation: !F.value.showAnimation,
349
+ hasFullscreen: j.value.userOptions.buttons.fullscreen,
350
+ hasAltCopy: j.value.userOptions.buttons.altCopy,
351
+ isFullscreen: Te.value,
352
+ chartElement: Pe.value,
353
+ position: j.value.userOptions.position,
354
+ titles: { ...j.value.userOptions.buttonTitles },
355
+ zIndex: 3,
356
+ offsetX: 12,
357
+ callbacks: j.value.userOptions.callbacks,
358
+ printScale: j.value.userOptions.print.scale,
359
+ isCursorPointer: Oe.value,
360
+ onGeneratePdf: Je,
361
+ onGenerateCsv: Xe,
362
+ onGenerateImage: w(Ne),
363
+ onToggleAnimation: Ye,
364
+ onToggleFullscreen: ze,
365
+ onCopyAlt: Ze,
366
+ style: g({ visibility: w(Ae) ? w(M) ? "visible" : "hidden" : "visible" })
367
+ }, ce({ _: 2 }, [
368
+ t.$slots.menuIcon ? {
369
+ name: "menuIcon",
370
+ fn: E(({ isOpen: e, color: n }) => [S(t.$slots, "menuIcon", h(f({
371
+ isOpen: e,
372
+ color: n
373
+ })), void 0, !0)]),
374
+ key: "0"
375
+ } : void 0,
376
+ t.$slots.optionPdf ? {
377
+ name: "optionPdf",
378
+ fn: E(() => [S(t.$slots, "optionPdf", {}, void 0, !0)]),
379
+ key: "1"
380
+ } : void 0,
381
+ t.$slots.optionCsv ? {
382
+ name: "optionCsv",
383
+ fn: E(() => [S(t.$slots, "optionCsv", {}, void 0, !0)]),
384
+ key: "2"
385
+ } : void 0,
386
+ t.$slots.optionImg ? {
387
+ name: "optionImg",
388
+ fn: E(() => [S(t.$slots, "optionImg", {}, void 0, !0)]),
389
+ key: "3"
390
+ } : void 0,
391
+ t.$slots.optionSvg ? {
392
+ name: "optionSvg",
393
+ fn: E(() => [S(t.$slots, "optionSvg", {}, void 0, !0)]),
394
+ key: "4"
395
+ } : void 0,
396
+ t.$slots.optionAnimation ? {
397
+ name: "optionAnimation",
398
+ fn: E(({ toggleAnimation: e, isAnimated: n }) => [S(t.$slots, "optionAnimation", h(f({
399
+ toggleAnimation: e,
400
+ isAnimated: n
401
+ })), void 0, !0)]),
402
+ key: "5"
403
+ } : void 0,
404
+ t.$slots.optionFullscreen ? {
405
+ name: "optionFullscreen",
406
+ fn: E(({ toggleFullscreen: e, isFullscreen: n }) => [S(t.$slots, "optionFullscreen", h(f({
407
+ toggleFullscreen: e,
408
+ isFullscreen: n
409
+ })), void 0, !0)]),
410
+ key: "6"
411
+ } : void 0,
412
+ t.$slots.optionAltCopy ? {
413
+ name: "optionAltCopy",
414
+ fn: E(({ altCopy: e }) => [S(t.$slots, "optionAltCopy", h(f({ altCopy: e })), void 0, !0)]),
415
+ key: "7"
416
+ } : void 0,
417
+ t.$slots["custom-menu-before"] ? {
418
+ name: "custom-menu-before",
419
+ fn: E(() => [S(t.$slots, "custom-menu-before", {}, void 0, !0)]),
420
+ key: "8"
421
+ } : void 0,
422
+ t.$slots["custom-menu-after"] ? {
423
+ name: "custom-menu-after",
424
+ fn: E(() => [S(t.$slots, "custom-menu-after", {}, void 0, !0)]),
425
+ key: "9"
426
+ } : void 0
427
+ ]), 1032, [
428
+ "backgroundColor",
429
+ "color",
430
+ "isPrinting",
431
+ "isImaging",
432
+ "uid",
433
+ "hasPdf",
434
+ "hasImg",
435
+ "hasXls",
436
+ "hasAnimation",
437
+ "isAnimation",
438
+ "hasFullscreen",
439
+ "hasAltCopy",
440
+ "isFullscreen",
441
+ "chartElement",
442
+ "position",
443
+ "titles",
444
+ "callbacks",
445
+ "printScale",
446
+ "isCursorPointer",
447
+ "onGenerateImage",
448
+ "style"
449
+ ])) : c("", !0),
450
+ t.$slots.source ? (y(), l("div", be, [S(t.$slots, "source", {}, void 0, !0)], 512)) : c("", !0)
451
+ ], 544));
452
+ }
453
+ }, [["__scopeId", "data-v-0f07f0c9"]]);
454
+ //#endregion
455
+ export { pe as n, D as t };