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,455 +0,0 @@
1
- import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
2
- import { H as t, J as n, S as r, St as i, X as a, jt as ee } from "./lib-BkiwukKO.js";
3
- import { t as te } from "./useConfig-ByaaSKhz.js";
4
- import { t as ne } from "./usePrinter-X0yWOynH.js";
5
- import { t as re } from "./useNestedProp-Ck4hsrpu.js";
6
- import { t as ie } from "./_plugin-vue_export-helper-Dq1MygBL.js";
7
- import { t as ae } from "./useUserOptionState-CjPJPTg2.js";
8
- import { t as oe } from "./usePrefersMotion-BywLbIko.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 ue, nextTick as p, normalizeClass as de, normalizeProps as m, normalizeStyle as h, onBeforeUnmount as g, onMounted as _, openBlock as v, ref as y, renderList as b, renderSlot as x, shallowRef as fe, toDisplayString as S, unref as C, useSlots as pe, watch as w, withCtx as T } from "vue";
10
- //#region src/components/vue-ui-carousel-table.vue
11
- var me = /* @__PURE__ */ e({ default: () => E }), he = ["id"], ge = ["aria-labelledby"], _e = ["id"], ve = ["height"], ye = ["id"], be = [
12
- "data-cell",
13
- "aria-label",
14
- "height"
15
- ], xe = {
16
- key: 2,
17
- ref: "source",
18
- dir: "auto"
19
- }, E = /* @__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: me }) {
37
- let E = le(() => import("./vue-ui-skeleton-zhkS1cmh.js").then((e) => e.n)), Se = le(() => import("./UserOptions-D7zR0tnR.js").then((e) => e.n)), { vue_ui_carousel_table: Ce } = te(), we = oe(), D = e, Te = me, O = y(t()), k = y(!1), A = y(!!D.dataset), Ee = pe();
38
- _(() => {
39
- De();
40
- }), _(() => {
41
- Ee["chart-background"] && console.warn("VueUiCarouselTable does not support the #chart-background slot.");
42
- });
43
- function De() {
44
- i(D.dataset) ? a({
45
- componentName: "VueUiCarouselTable",
46
- type: "dataset"
47
- }) : ((!D.dataset.head || i(D.dataset.head)) && (a({
48
- componentName: "VueUiCarouselTable",
49
- type: "datasetAttribute",
50
- property: "head"
51
- }), A.value = !1), (!D.dataset.body || i(D.dataset.body)) && (a({
52
- componentName: "VueUiCarouselTable",
53
- type: "datasetAttribute",
54
- property: "body"
55
- }), A.value = !1)), we.value && (j.value.userOptions.buttons.animation = !1);
56
- }
57
- let j = s({
58
- get: () => Ae(),
59
- set: (e) => e
60
- }), Oe = s(() => j.value.userOptions.useCursorPointer), { userOptionsVisible: M, setUserOptionsVisibility: ke, keepUserOptionState: N } = ae({ config: j.value });
61
- function Ae() {
62
- return re({
63
- userConfig: D.config,
64
- defaultConfig: Ce
65
- });
66
- }
67
- w(() => D.config, (e) => {
68
- j.value = Ae(), M.value = !j.value.userOptions.showOnChartHover, De();
69
- }, { deep: !0 }), w(() => D.dataset, (e) => {
70
- W();
71
- }, { deep: !0 });
72
- let { isPrinting: je, isImaging: Me, generatePdf: Ne, generateImage: Pe } = ne({
73
- elementId: `carousel-table_${O.value}`,
74
- fileName: j.value.caption.text || "vue-ui-carousel-table",
75
- options: j.value.userOptions.print
76
- }), P = y({ showAnimation: j.value.animation.use }), F = y(null), Fe = y(null), I = y(null), L = y(null), R = y(0), z = y(0), B = y(!1), V = y(null), H = y(null), U = y(0);
77
- function W() {
78
- V.value && (H.value = {
79
- elements: V.value.getElementsByTagName("tr"),
80
- heights: Array.from(V.value.getElementsByTagName("tr")).map((e) => e.getBoundingClientRect().height)
81
- });
82
- }
83
- _(W);
84
- let Ie = s(() => !H.value || !H.value.heights.length ? 0 : Math.max(...H.value.heights) + R.value + z.value), Le = s(() => D.dataset.body ? j.value.tbody.tr.visible <= D.dataset.body.length ? j.value.tbody.tr.visible : D.dataset.body.length : 0), Re = 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) * Le.value + R.value + z.value), G = y(0), K = y(null), q = y(0), J = y(!1), ze = y(0);
85
- _(() => {
86
- I.value && (R.value = I.value.getBoundingClientRect().height), L.value && (z.value = L.value.getBoundingClientRect().height), P.value.showAnimation && H.value && Ve();
87
- }), _(() => {
88
- if (F.value) {
89
- let e = F.value.querySelector("thead"), t = Array.from(V.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
- F.value.addEventListener("scroll", n), n(), g(() => {
97
- F.value.removeEventListener("scroll", n);
98
- });
99
- }
100
- });
101
- function Be(e) {
102
- k.value = e, ze.value += 1;
103
- }
104
- function Ve() {
105
- we.value || !K.value && !J.value && (j.value.animation.type === "scroll" ? K.value = requestAnimationFrame(Ue) : K.value = requestAnimationFrame(We));
106
- }
107
- function He() {
108
- if (!F.value) return !1;
109
- let { scrollTop: e, scrollHeight: t, clientHeight: n } = F.value;
110
- return e + n >= t;
111
- }
112
- function Ue(e) {
113
- J.value || (q.value ||= e, e - q.value >= j.value.animation.speedMs && (G.value += H.value.heights[U.value], (He() || U.value >= H.value.heights.length) && (G.value = 0, U.value = -1), U.value += 1, F.value && F.value.scrollTo({
114
- top: G.value,
115
- behavior: "smooth"
116
- }), q.value = e), K.value = requestAnimationFrame(Ue));
117
- }
118
- function We(e) {
119
- if (J.value) return;
120
- q.value ||= e;
121
- let t = e - q.value, n = j.value.animation.speedMs / 4 / 1e3;
122
- t >= n && (G.value += n, G.value >= F.value.scrollHeight - F.value.clientHeight && (G.value = 0), F.value && F.value.scrollTo({
123
- top: G.value,
124
- behavior: "auto"
125
- }), q.value = e), K.value = requestAnimationFrame(We);
126
- }
127
- function Y() {
128
- J.value = !0, cancelAnimationFrame(K.value), K.value = null;
129
- }
130
- g(Y);
131
- function X() {
132
- !J.value || !P.value.showAnimation || (J.value = !1, q.value = 0, Ve());
133
- }
134
- function Ge() {
135
- j.value.animation.pauseOnHover && Y();
136
- }
137
- let Z = y(null);
138
- function Ke() {
139
- Y(), clearTimeout(Z.value);
140
- }
141
- function qe() {
142
- clearTimeout(Z.value), Z.value = setTimeout(X, 1e3);
143
- }
144
- w(() => j.value.animation.use, (e) => {
145
- e ? (P.value.showAnimation = !0, X()) : (P.value.showAnimation = !1, Y());
146
- }), w(() => j.value.animation.type, (e) => {
147
- Y(), G.value = 0, U.value = 0, F.value.scrollTo({
148
- top: 0,
149
- behavior: "auto"
150
- }), X();
151
- });
152
- let Je = s(() => j.value.responsiveBreakpoint), Q = fe(null);
153
- _(() => {
154
- Q.value = new ResizeObserver((e) => {
155
- e.forEach((e) => {
156
- B.value = e.contentRect.width < Je.value;
157
- }), R.value = I.value ? I.value.getBoundingClientRect().height : 0, z.value = L.value ? L.value.getBoundingClientRect().height : 0, U.value = 0, p(() => {
158
- Y(), q.value = 0, G.value = 0, W(), X();
159
- });
160
- }), F.value && Q.value.observe(F.value);
161
- }), g(() => {
162
- Q.value && Q.value.disconnect();
163
- });
164
- function Ye() {
165
- Ne();
166
- }
167
- function Xe() {
168
- P.value.showAnimation = !P.value.showAnimation, P.value.showAnimation ? X() : Y();
169
- }
170
- function Ze(e = null) {
171
- p(() => {
172
- let t = D.dataset.head.map((e, t) => [[D.dataset.body[t]]]), i = r([[j.value.caption.text], [D.dataset.head.map((e) => [e])]].concat(t));
173
- e ? e(i) : n({
174
- csvContent: i,
175
- title: j.value.caption.text || "vue-ui-carousel-table"
176
- });
177
- });
178
- }
179
- async function $() {
180
- if (Te("copyAlt", {
181
- config: j.value,
182
- dataset: D.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: D.dataset
190
- }));
191
- }
192
- return ie({
193
- pauseAnimation: Y,
194
- resumeAnimation: X,
195
- toggleAnimation: Xe,
196
- generateCsv: Ze,
197
- generatePdf: Ye,
198
- generateImage: Pe,
199
- copyAlt: $
200
- }), (t, n) => (v(), 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: Fe,
208
- onMouseenter: n[5] ||= () => C(ke)(!0),
209
- onMouseleave: n[6] ||= () => C(ke)(!1)
210
- }, [
211
- u("div", {
212
- ref_key: "tableContainer",
213
- ref: F,
214
- id: `carousel-table_${O.value}`,
215
- style: h({
216
- height: C(je) || C(Me) ? "auto" : `${Math.max(Re.value, Ie.value)}px`,
217
- containerType: "inline-size",
218
- position: "relative",
219
- overflow: "auto",
220
- fontFamily: j.value.fontFamily
221
- }),
222
- class: de({
223
- "vue-ui-responsive": B.value,
224
- "is-playing": j.value.scrollbar.hide || !J.value && j.value.scrollbar.showOnlyOnHover
225
- }),
226
- onMouseover: n[0] ||= (e) => Ge(),
227
- onMouseleave: n[1] ||= (e) => X(),
228
- onTouchstart: n[2] ||= (e) => Ke(),
229
- onTouchend: n[3] ||= (e) => qe(),
230
- onTouchcancel: n[4] ||= (e) => qe()
231
- }, [A.value ? (v(), l("table", {
232
- key: 0,
233
- class: "vue-data-ui-carousel-table",
234
- "aria-labelledby": `carousel-caption-${O.value}`,
235
- style: h({
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: I,
246
- class: "vue-data-ui-carousel-table-caption",
247
- id: `carousel-caption-${O.value}`,
248
- style: h({
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: B.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(S(j.value.caption.text && !t.$slots.caption ? j.value.caption.text : "") + " ", 1), x(t.$slots, "caption", {}, void 0, !0)], 12, _e),
263
- u("thead", {
264
- role: "rowgroup",
265
- style: h({
266
- ...j.value.thead.style,
267
- position: "sticky",
268
- top: `${t.$slots.caption || j.value.caption.text || j.value.userOptions.show ? R.value : 0}px`,
269
- zIndex: 1
270
- })
271
- }, [u("tr", {
272
- ref_key: "tableRow",
273
- ref: L,
274
- role: "row",
275
- style: h({
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: B.value ? "none" : j.value.thead.tr.style.boxShadow
279
- }),
280
- height: `${j.value.thead.tr.height}px`
281
- }, [(v(!0), l(o, null, b(e.dataset.head, (e, n) => (v(), l("th", {
282
- role: "cell",
283
- key: `th_${n}`,
284
- id: `col-${n}`,
285
- scope: "col",
286
- style: h({
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(S(t.$slots.th ? "" : e) + " ", 1), x(t.$slots, "th", ue({ ref_for: !0 }, {
295
- th: e,
296
- colIndex: n
297
- }), void 0, !0)], 12, ye))), 128))], 12, ve)], 4),
298
- e.dataset.body && e.dataset.head ? (v(), l("tbody", {
299
- key: 0,
300
- ref_key: "tbody",
301
- ref: V,
302
- "aria-live": "polite",
303
- style: { clipPath: "inset(0,0,0,0)" }
304
- }, [(v(!0), l(o, null, b(e.dataset.body, (n, r) => (v(), l("tr", { style: h({
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
- }) }, [(v(!0), l(o, null, b(n, (n, i) => (v(), l("td", {
309
- role: "cell",
310
- "data-cell": e.dataset.head[i] || "",
311
- "aria-label": `${e.dataset.head[i]}: ${n}`,
312
- style: h({
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: C(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(S(t.$slots.td ? "" : n) + " ", 1), x(t.$slots, "td", ue({ ref_for: !0 }, {
324
- td: n,
325
- rowIndex: r,
326
- colIndex: i
327
- }), void 0, !0)], 12, be))), 256))], 4))), 256))], 512)) : c("", !0)
328
- ], 12, ge)) : c("", !0)], 46, he),
329
- A.value ? c("", !0) : (v(), se(C(E), {
330
- key: 0,
331
- config: { type: "table" }
332
- })),
333
- j.value.userOptions.show && A.value && (C(N) || C(M)) ? (v(), se(C(Se), {
334
- ref: "details",
335
- key: `user_option_${ze.value}`,
336
- backgroundColor: j.value.style.backgroundColor,
337
- color: j.value.style.color,
338
- isPrinting: C(je),
339
- isImaging: C(Me),
340
- uid: O.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: !P.value.showAnimation,
349
- hasFullscreen: j.value.userOptions.buttons.fullscreen,
350
- hasAltCopy: j.value.userOptions.buttons.altCopy,
351
- isFullscreen: k.value,
352
- chartElement: Fe.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: Ye,
361
- onGenerateCsv: Ze,
362
- onGenerateImage: C(Pe),
363
- onToggleAnimation: Xe,
364
- onToggleFullscreen: Be,
365
- onCopyAlt: $,
366
- style: h({ visibility: C(N) ? C(M) ? "visible" : "hidden" : "visible" })
367
- }, ce({ _: 2 }, [
368
- t.$slots.menuIcon ? {
369
- name: "menuIcon",
370
- fn: T(({ isOpen: e, color: n }) => [x(t.$slots, "menuIcon", m(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: T(() => [x(t.$slots, "optionPdf", {}, void 0, !0)]),
379
- key: "1"
380
- } : void 0,
381
- t.$slots.optionCsv ? {
382
- name: "optionCsv",
383
- fn: T(() => [x(t.$slots, "optionCsv", {}, void 0, !0)]),
384
- key: "2"
385
- } : void 0,
386
- t.$slots.optionImg ? {
387
- name: "optionImg",
388
- fn: T(() => [x(t.$slots, "optionImg", {}, void 0, !0)]),
389
- key: "3"
390
- } : void 0,
391
- t.$slots.optionSvg ? {
392
- name: "optionSvg",
393
- fn: T(() => [x(t.$slots, "optionSvg", {}, void 0, !0)]),
394
- key: "4"
395
- } : void 0,
396
- t.$slots.optionAnimation ? {
397
- name: "optionAnimation",
398
- fn: T(({ toggleAnimation: e, isAnimated: n }) => [x(t.$slots, "optionAnimation", m(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: T(({ toggleFullscreen: e, isFullscreen: n }) => [x(t.$slots, "optionFullscreen", m(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: T(({ altCopy: e }) => [x(t.$slots, "optionAltCopy", m(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: T(() => [x(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: T(() => [x(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 ? (v(), l("div", xe, [x(t.$slots, "source", {}, void 0, !0)], 512)) : c("", !0)
451
- ], 544));
452
- }
453
- }, [["__scopeId", "data-v-0f07f0c9"]]);
454
- //#endregion
455
- export { me as n, E as t };