vue-data-ui 3.20.2 → 3.20.3

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-f0MuYk3R.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-C3m9eNp0.js +0 -274
  202. package/dist/vue-data-ui.js +0 -76
  203. package/dist/vue-ui-3d-bar-Bfcitq55.js +0 -1757
  204. package/dist/vue-ui-accordion-Dw4MHKVB.js +0 -81
  205. package/dist/vue-ui-age-pyramid-Dgzd45Ol.js +0 -1238
  206. package/dist/vue-ui-annotator-DLPUAKlm.js +0 -2899
  207. package/dist/vue-ui-bullet-DAeyHSHC.js +0 -710
  208. package/dist/vue-ui-bump-DsiXfIFL.js +0 -1249
  209. package/dist/vue-ui-candlestick-BadEBUcF.js +0 -1826
  210. package/dist/vue-ui-carousel-table-_LCF7RFm.js +0 -455
  211. package/dist/vue-ui-chestnut-BTuAvc7L.js +0 -2010
  212. package/dist/vue-ui-chord-CAyRIJlh.js +0 -1391
  213. package/dist/vue-ui-circle-pack-BWzwg8Qb.js +0 -1608
  214. package/dist/vue-ui-cursor-C6t7nAT4.js +0 -283
  215. package/dist/vue-ui-dag-8Puv77-a.js +0 -2909
  216. package/dist/vue-ui-dashboard-CXDvRu27.js +0 -513
  217. package/dist/vue-ui-digits-BlHqILF0.js +0 -209
  218. package/dist/vue-ui-donut-CclzduCs.js +0 -2410
  219. package/dist/vue-ui-donut-evolution-DEfY2Zvy.js +0 -1510
  220. package/dist/vue-ui-dumbbell-BG5C4Hdg.js +0 -1530
  221. package/dist/vue-ui-flow-B73dHBrL.js +0 -1235
  222. package/dist/vue-ui-funnel-Bn3c5lWX.js +0 -777
  223. package/dist/vue-ui-galaxy-eBY55Fue.js +0 -1077
  224. package/dist/vue-ui-gauge-s8pl305B.js +0 -920
  225. package/dist/vue-ui-geo-Ca2ZPVhH.js +0 -1516
  226. package/dist/vue-ui-gizmo-CBNDeAzT.js +0 -225
  227. package/dist/vue-ui-heatmap-V79kNqUi.js +0 -1568
  228. package/dist/vue-ui-history-plot-jiJh8oaM.js +0 -1554
  229. package/dist/vue-ui-horizontal-bar-60b88qqU.js +0 -1681
  230. package/dist/vue-ui-kpi-DnfazUeY.js +0 -96
  231. package/dist/vue-ui-mini-loader-CyqBt2g4.js +0 -125
  232. package/dist/vue-ui-molecule-BeIVS2yp.js +0 -925
  233. package/dist/vue-ui-mood-radar-DHY1ry9I.js +0 -1148
  234. package/dist/vue-ui-nested-donuts-GNR6O-Z_.js +0 -1487
  235. package/dist/vue-ui-onion-DghkeKRu.js +0 -1200
  236. package/dist/vue-ui-parallel-coordinate-plot-DqfRRSnD.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-BBucQ_8r.js +0 -1978
  240. package/dist/vue-ui-quick-chart-DxxGq-5d.js +0 -2469
  241. package/dist/vue-ui-radar-B0gW_Iur.js +0 -1229
  242. package/dist/vue-ui-rating-BG4lf1z8.js +0 -343
  243. package/dist/vue-ui-relation-circle-C-fNOxJM.js +0 -924
  244. package/dist/vue-ui-ridgeline-CzDR20s3.js +0 -1622
  245. package/dist/vue-ui-rings-DNRdTVqV.js +0 -1246
  246. package/dist/vue-ui-scatter-CRgFebuE.js +0 -2413
  247. package/dist/vue-ui-skeleton-iNzRGgRn.js +0 -2556
  248. package/dist/vue-ui-smiley-G89TxRU-.js +0 -356
  249. package/dist/vue-ui-spark-trend-CPgTOFNY.js +0 -438
  250. package/dist/vue-ui-sparkbar-B4C_YxU-.js +0 -393
  251. package/dist/vue-ui-sparkgauge-DDkSKiba.js +0 -255
  252. package/dist/vue-ui-sparkhistogram-qtb6-Th8.js +0 -560
  253. package/dist/vue-ui-sparkline-TTSEEs7R.js +0 -1507
  254. package/dist/vue-ui-sparkstackbar-DXEnV79Y.js +0 -662
  255. package/dist/vue-ui-stackbar-CwFVpEgH.js +0 -2270
  256. package/dist/vue-ui-stackline-Bph0kD43.js +0 -2398
  257. package/dist/vue-ui-strip-plot-D2_WSwTF.js +0 -1340
  258. package/dist/vue-ui-table-BzmQMHxi.js +0 -1338
  259. package/dist/vue-ui-table-heatmap-CCGjbSzQ.js +0 -344
  260. package/dist/vue-ui-table-sparkline-CXNxbqIw.js +0 -707
  261. package/dist/vue-ui-thermometer-Cqw2_Jpi.js +0 -763
  262. package/dist/vue-ui-timer-BHP_5wgz.js +0 -439
  263. package/dist/vue-ui-tiremarks-D8wFTxXl.js +0 -552
  264. package/dist/vue-ui-treemap-DbSebes7.js +0 -1587
  265. package/dist/vue-ui-waffle-CAIBpbY0.js +0 -1362
  266. package/dist/vue-ui-wheel-B5Cyopnp.js +0 -885
  267. package/dist/vue-ui-word-cloud-BaGDKrKL.js +0 -1656
  268. package/dist/vue-ui-world-DLcVBwLg.js +0 -14264
  269. package/dist/vue-ui-xy-CyP5FAo8.js +0 -4578
  270. package/dist/vue-ui-xy-canvas-BUPnRZ3C.js +0 -1787
  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,551 +0,0 @@
1
- //--------------------------------------------------------------------------------------------//
2
-
3
- /**
4
- * UTILITY FUNCTION TYPES
5
- *
6
- * IMPORTANT: these types are duplicated in vue-data-ui.d.ts for the legacy import to work.
7
- * If we ever ship a v4 these types can be forcefully removed from vue-data-ui.ts, with
8
- * a breaking change.
9
- */
10
-
11
- //--------------------------------------------------------------------------------------------//
12
-
13
- /**
14
- * Configuration options for cumulative functions
15
- */
16
- export type CumulativeConfig = {
17
- /**
18
- * If `true`, invalid inputs are kept (and echoed) in the output.
19
- * Defaults to `true`.
20
- */
21
- keepInvalid?: boolean;
22
- /**
23
- * If `true`, invalid inputs are treated as zero when computing the statistic.
24
- * Defaults to `false`.
25
- */
26
- convertInvalidToZero?: boolean;
27
- };
28
-
29
- /**
30
- * Vue Data UI utility
31
- * ---
32
- * Compute the cumulative median of a sequence, optionally echoing or zero-filling invalid inputs.
33
- * ---
34
- * @example
35
- * ```js
36
- * // Simple usage
37
- * const arr = [1, 2, 3, 4, 5];
38
- * const medians = getCumulativeMedian({ values: arr });
39
- *
40
- * // Ignore invalid values entirely
41
- * const arrWithInvalid = [1, null, 2, Infinity, undefined];
42
- * const mediansNoInvalid = getCumulativeMedian({
43
- * values: arrWithInvalid,
44
- * config: { keepInvalid: false }
45
- * });
46
- *
47
- * // Convert invalid values to zero
48
- * const mediansZeroed = getCumulativeMedian({
49
- * values: arrWithInvalid,
50
- * config: { convertInvalidToZero: true }
51
- * });
52
- * ```
53
- *
54
- * @param {Object} params
55
- * @param {Array<number|*>} params.values
56
- * The input sequence. Can include numbers or any “invalid” placeholders.
57
- * @param {CumulativeConfig} [params.config]
58
- * Configuration flags to control handling of invalid inputs.
59
- * @returns {Array<number|*>}
60
- * An array where each slot is either the cumulative median up to that point,
61
- * or the original invalid value if `keepInvalid` is `true`.
62
- */
63
- export function getCumulativeMedian<T = unknown>(params: {
64
- values: Array<number | T>;
65
- config?: CumulativeConfig;
66
- }): Array<number | T>;
67
-
68
- /**
69
- * Vue Data UI utility
70
- * ---
71
- * Compute the cumulative median of a sequence, optionally echoing or zero-filling invalid inputs.
72
- * ---
73
- * @example
74
- * ```js
75
- * // Simple usage
76
- * const arr = [1, 2, 3, 4, 5];
77
- * const medians = getCumulativeMedian({ values: arr });
78
- *
79
- * // Ignore invalid values entirely
80
- * const arrWithInvalid = [1, null, 2, Infinity, undefined];
81
- * const mediansNoInvalid = getCumulativeMedian({
82
- * values: arrWithInvalid,
83
- * config: { keepInvalid: false }
84
- * });
85
- *
86
- * // Convert invalid values to zero
87
- * const mediansZeroed = getCumulativeMedian({
88
- * values: arrWithInvalid,
89
- * config: { convertInvalidToZero: true }
90
- * });
91
- * ```
92
- *
93
- * @param {Object} params
94
- * @param {Array<number|*>} params.values
95
- * The input sequence. Can include numbers or any “invalid” placeholders.
96
- * @param {CumulativeConfig} [params.config]
97
- * Configuration flags to control handling of invalid inputs.
98
- * @returns {Array<number|*>}
99
- * An array where each slot is either the cumulative median up to that point,
100
- * or the original invalid value if `keepInvalid` is `true`.
101
- */
102
- export function getCumulativeAverage<T = unknown>(params: {
103
- values: Array<number | T>;
104
- config?: CumulativeConfig;
105
- }): Array<number | T>;
106
-
107
- /**
108
- * Recursively makes all properties in T optional.
109
- * - Leaves functions as-is
110
- * - Handles arrays by making their item type DeepPartial
111
- */
112
- export type DeepPartial<T> = T extends Function
113
- ? T
114
- : T extends Array<infer U>
115
- ? Array<DeepPartial<U>>
116
- : T extends object
117
- ? { [K in keyof T]?: DeepPartial<T[K]> }
118
- : T;
119
-
120
- /**
121
- * Vue Data UI utility
122
- * ---
123
- * Merge a partial config with a full default config
124
- * ---
125
- * @example
126
- * const defaultConfig = getVueDataUiConfig('vue_ui_xy');
127
- * const merged = mergeConfigs({
128
- * defaultConfig,
129
- * userConfig: {
130
- * chart: {
131
- * backgroundColor: '#FF0000'
132
- * }
133
- * }
134
- * })
135
- */
136
- export function mergeConfigs<T extends Record<string, any>>({
137
- defaultConfig,
138
- userConfig,
139
- }: {
140
- defaultConfig: T;
141
- userConfig: DeepPartial<T>;
142
- }): T;
143
-
144
- /**
145
- * Vue Data UI utility
146
- * ---
147
- * Generate a straight line path to include in the d attribute of a svg path element
148
- * ___
149
- * @example
150
- * const path = createStraightPath([{x: 1, y: 1}, { x: 2, y: 1.2}])
151
- *
152
- * @param points - An array of point objects
153
- */
154
- export const createStraightPath: (points: Point[]) => string;
155
-
156
- /**
157
- * Vue Data UI utility
158
- * ---
159
- * Generate a spline path to include in the d attribute of a svg path element
160
- * ___
161
- * @example
162
- * const path = createSmoothPath([{x: 1, y: 1}, { x: 2, y: 1.2}, { x: 3, y: 0.2 }])
163
- *
164
- * @param points - An array of point objects
165
- */
166
- export const createSmoothPath: (points: Point[]) => string;
167
-
168
- /**
169
- * Vue Data UI utility
170
- * ---
171
- * Create a dataset for VueUiWordCloud from a string
172
- * ___
173
- * @example
174
- * const dataset = createWordCloudDatasetFromPlainText('Lorem Ipsum Dolor', (w) => w.toUpperCase())
175
- *
176
- * @param text - The text from which the dataset will be generated
177
- * @param callback - Optional transform callback to format each word of the dataset
178
- */
179
- export const createWordCloudDatasetFromPlainText: (
180
- text: string,
181
- callback?: VueDataUiWordCloudTransformCallback,
182
- ) => VueUiWordCloudDatasetItem[];
183
-
184
- export type VueDataUiAbbreviatePayload = {
185
- source: string;
186
- length?: number;
187
- };
188
-
189
- /**
190
- * Vue Data UI utility
191
- * ---
192
- * Abbreviate a string to a given length
193
- * ___
194
- * @example
195
- * const label = abbreviate({
196
- * source: 'Lorem Ipsum Dolor',
197
- * length: 3
198
- * })
199
- *
200
- * @param source - The string to abbreviate
201
- * @param length - The number of letters to return (defaults to 3)
202
- */
203
- export const abbreviate: (payload: VueDataUiAbbreviatePayload) => string;
204
-
205
- /**
206
- * Vue Data UI utility
207
- * ---
208
- * Get the color palette for a given theme
209
- * ___
210
- * @example
211
- * const palette = getPalette("hack");
212
- *
213
- * @param theme - The theme for which the palette is requested (e.g., "hack" | "zen", | "concrete")
214
- */
215
- export const getPalette: (theme: Theme) => string[];
216
-
217
- export type VueDataUiGetConfigOptions = {
218
- colorBackground?: string;
219
- colorTextPrimary?: string;
220
- colorTextSecondary?: string;
221
- colorGrid?: string;
222
- colorBorder?: string;
223
- };
224
-
225
- /**
226
- * Vue Data UI utility
227
- * ---
228
- * Get the default config for a given component
229
- * ___
230
- * @typeParam T - The config type for the component
231
- * @param key - Component key in snake_case (e.g. `"vue_ui_xy"`).
232
- * @param options - Optional general color settings
233
- * @returns The default configuration of type `T`.
234
- * @example
235
- * ```ts
236
- * const defaultConfig = getVueDataUiConfig<VueUiXyConfig>("vue_ui_xy");
237
- * ```
238
- */
239
- export const getVueDataUiConfig: <T>(
240
- key: VueDataUiConfigKey,
241
- options?: VueDataUiGetConfigOptions,
242
- ) => T;
243
-
244
- /**
245
- * Vue Data UI utility
246
- * ---
247
- * Lightens a color by a specified strength.
248
- * ___
249
- * @example
250
- * const color = lightenColor("#FF0000", 0.25);
251
- * const color = lightenColor("#FF000080", 0.25);
252
- * const color = lightenColor("rgb(255,0,0)", 0.25);
253
- * const color = lightenColor("rgb(255,0,0,0.5)", 0.25);
254
- * const color = lightenColor("red", 0.25);
255
- *
256
- * @param color - The input color. Can be hexadecimal (e.g., "#FF0000", or "#FF000080" with alpha channel), RGB or RGBA, or a named color.
257
- * @param strength - The strength to lighten the color, typically a value between 0 and 1.
258
- * @returns The lightened color in hexadecimal format.
259
- */
260
- export const lightenColor: (color: string, strength: number) => string;
261
-
262
- /**
263
- * Vue Data UI utility
264
- * ---
265
- * Returns a readable text color (dark or light) based on the provided background color.
266
- * ___
267
- * @example
268
- * const color = adaptColorToBackground("#FFFFFF");
269
- * const color = adaptColorToBackground("#000000");
270
- * const color = adaptColorToBackground("rgba(255,0,0,0.5)");
271
- * const color = adaptColorToBackground("oklch(62% 0.15 29)");
272
- * const color = adaptColorToBackground("#FF0000", { dark: "#111111", light: "#EEEEEE" });
273
- *
274
- * @param backgroundColor - The input background color. Can be any supported format.
275
- * @param options - Optional color overrides.
276
- * @param options.dark - Color returned when the background is considered light.
277
- * @param options.light - Color returned when the background is considered dark.
278
- * @returns The chosen text color.
279
- */
280
- export const adaptColorToBackground: (
281
- backgroundColor: string | null | undefined,
282
- options?: { dark?: string; light?: string },
283
- ) => string;
284
-
285
- /**
286
- * Vue Data UI utility
287
- * ---
288
- * Darkens a color by a specified strength.
289
- * ___
290
- * @example
291
- * const color = darkenColor("#FF0000", 0.25);
292
- * const color = darkenColor("#FF000080", 0.25);
293
- * const color = darkenColor("rgb(255,0,0)", 0.25);
294
- * const color = darkenColor("rgb(255,0,0,0.5)", 0.25);
295
- * const color = darkenColor("red", 0.25);
296
- *
297
- * @param color - The input color. Can be hexadecimal (e.g., "#FF0000", or "#FF000080" with alpha channel), or RGB or RGBA.
298
- * @param strength - The strength to darken the color, typically a value between 0 and 1.
299
- * @returns The darkened color in hexadecimal format.
300
- */
301
- export const darkenColor: (color: string, strength: number) => string;
302
-
303
- /**
304
- * Vue Data UI utility
305
- * ---
306
- * Shifts hue for a given color, by a given strength.
307
- * ___
308
- * @example
309
- * const color = shiftColorHue("#FF0000", 0.25);
310
- * const color = shiftColorHue("#FF000080", 0.25);
311
- * const color = shiftColorHue("rgb(255,0,0)", 0.25);
312
- * const color = shiftColorHue("rgb(255,0,0,0.5)", 0.25);
313
- * const color = shiftColorHue("red", 0.25);
314
- *
315
- * @param color - The input color. Can be hexadecimal (e.g., "#FF0000", or "#FF000080" with alpha channel), or RGB or RGBA.
316
- * @param strength - The strength to darken the color, typically a value between 0 and 1.
317
- * @returns The shifted color in hexadecimal format.
318
- */
319
- export const shiftColorHue: (color: string, strength: number) => string;
320
-
321
- export type FormatSmallValueArgs = {
322
- value: number;
323
- maxDecimals?: number;
324
- fallbackFormatter?: (value: number) => string;
325
- removeTrailingZero?: boolean;
326
- };
327
-
328
- /**
329
- * Vue Data UI utility
330
- * ---
331
- * Formats numeric values with a controlled number of decimal places,
332
- * applying maxDecimals for all values when no fallbackFormatter is given,
333
- * or calling the fallbackFormatter for values ≥ 1 if provided.
334
- * ___
335
- * @example
336
- * // Zero value
337
- * formatSmallValue({ value: 0 }); // "0"
338
- *
339
- * // Values < 1 use minimal decimals
340
- * formatSmallValue({ value: 0.9 }); // "0.9"
341
- * formatSmallValue({ value: 0.0042 }); // "0.0042"
342
- * formatSmallValue({ value: 0.00420001 }); // "0.0042"
343
- *
344
- * // Retain trailing zeros
345
- * formatSmallValue({ value: 0.9, removeTrailingZero: false }); // "0.90"
346
- *
347
- * // Values ≥ 1 without fallback apply maxDecimals
348
- * formatSmallValue({ value: 1.61803, maxDecimals: 3 }); // "1.618"
349
- *
350
- * // Values ≥ 1 with fallbackFormatter
351
- * formatSmallValue({ value: 2.5, fallbackFormatter: v => v.toFixed(1) }); // "2.5"
352
- *
353
- * // Negative values
354
- * formatSmallValue({ value: -0.056 }); // "-0.056"
355
- *
356
- * @param {FormatSmallValueArgs} options - Configuration object for formatting.
357
- * @param {number} options.value - The numeric value to format.
358
- * @param {number} [options.maxDecimals=4] - Maximum decimal places to use.
359
- * @param {(value: number) => string} [options.fallbackFormatter] - Formatter for values ≥ 1.
360
- * @param {boolean} [options.removeTrailingZero=true] - Whether to strip unnecessary trailing zeros.
361
- * @returns {string} The formatted number as a string.
362
- */
363
- export const formatSmallValue: ({
364
- value,
365
- maxDecimals,
366
- fallbackFormatter,
367
- removeTrailingZero,
368
- }: FormatSmallValueArgs) => string;
369
-
370
- export type CreateTSpansArgs = {
371
- content: string;
372
- fontSize: number;
373
- fill: string;
374
- maxWords: number;
375
- x: number;
376
- y: number;
377
- };
378
-
379
- /**
380
- * Vue Data UI utility
381
- * ---
382
- * Creates TSpan elements from a string to break text into multiple lines.
383
- * The output should be placed with `v-html` inside an SVG `<text>` element.
384
- * ___
385
- * @example
386
- * const textContent = createTSpans({
387
- * content: "This is an example of multiline text",
388
- * fontSize: 16,
389
- * fill: "#1A1A1A",
390
- * maxWords: 3, // Will create lines of 3 words max
391
- * x: 10,
392
- * y: 20
393
- * });
394
- *
395
- * // Usage: <text :x="10" :y="20" fill="#1A1A1A" :font-size="16" v-html="textContent"/>
396
- *
397
- * @param {Object} args - The arguments object.
398
- * @param {string} args.content - The text content to be split into lines.
399
- * @param {number} args.fontSize - The font size used to determine line spacing.
400
- * @param {string} args.fill - The fill color for the text.
401
- * @param {number} args.maxWords - Maximum number of words per line.
402
- * @param {number} args.x - The x-coordinate for each `tspan` element.
403
- * @param {number} args.y - The starting y-coordinate for the first `tspan`.
404
- *
405
- * @returns {string} A string containing the HTML content to be placed with `v-html` inside an SVG `<text>` element.
406
- */
407
- export const createTSpans: ({
408
- content,
409
- fontSize,
410
- fill,
411
- maxWords,
412
- x,
413
- y,
414
- }: CreateTSpansArgs) => string;
415
-
416
- /**
417
- * Vue Data UI composable
418
- * ---
419
- * Flattens a reactive config object into computed refs for every leaf property.
420
- *
421
- * @template T extends object
422
- * @param configRef A Vue `Ref` holding your object.
423
- * @param options Optional settings: `delimiter` (default `"."`) and `skipArrays` (default `true`).
424
- * @returns An object with flatten config as refs
425
- *
426
- * ___
427
- * @example
428
- *
429
- * ```js
430
- * import { useObjectBindings } from "vue-data-ui";
431
- *
432
- * const config = ref({
433
- * customPalette: ["#CCCCCC", "#1A1A1A"],
434
- * style: {
435
- * chart: {
436
- * backgroundColor: "#FFFFFF",
437
- * color: "#1A1A1A",
438
- * },
439
- * },
440
- * });
441
- *
442
- * const bindings = useObjectBindings(config);
443
- * ```
444
- *
445
- * Then in your template:
446
- * ```html
447
- * <template>
448
- * <div>
449
- * <input type="color" v-model="bindings['style.chart.backgroundColor']" />
450
- * </div>
451
- * </template>
452
- * ```
453
- */
454
- export function useObjectBindings(
455
- configRef: Ref<Record<string, any>>,
456
- options?: {
457
- delimiter?: string;
458
- skipArrays?: boolean;
459
- },
460
- ): Record<string, Ref<any>>;
461
-
462
- /**
463
- * Vue Data UI utility
464
- * ---
465
- * Applies a two-stage data correction pipeline to a numeric time series.
466
- * ---
467
- *
468
- * The correction is performed in sequence:
469
- *
470
- * 1. Bidirectional Moving Average:
471
- * Reduces local noise by blending trailing (left-anchored) and leading
472
- * (right-anchored) averages. This ensures smooth transitions from both
473
- * fixed endpoints while preserving the first and last values.
474
- *
475
- * 2. Forward-Backward Exponential Smoothing (Zero-Phase):
476
- * Further smooths the signal without introducing phase lag. A forward
477
- * and backward exponential pass are blended to preserve trend timing
478
- * and avoid temporal shift artifacts.
479
- *
480
- * This utility is designed for visual data refinement,
481
- * where smoothness is required without distorting boundary values
482
- * or shifting peaks and transitions.
483
- *
484
- * @param {Array<{ value: number | null }>} data
485
- * The ordered dataset to correct. Each item must contain a numeric `value`.
486
- *
487
- * @param {{ averageWindow: number, smoothingTau: number }} settings
488
- * Configuration object:
489
- * - `averageWindow`: Half-window size for the moving average.
490
- * `0` disables the moving average stage.
491
- * - `smoothingTau`: Time constant controlling smoothing strength.
492
- * `0` disables the smoothing stage. Higher values produce smoother output.
493
- *
494
- * @returns {Array<{ value: number | null }>}
495
- * A new array with corrected values. The original input array is not mutated.
496
- */
497
- export function applyDataCorrection(
498
- data: Array<{ value: number | null }>,
499
- settings: {
500
- averageWindow: number;
501
- smoothingTau: number;
502
- },
503
- ): Array<{ value: number | null }>;
504
-
505
- export type CreatePatternArgs = {
506
- id: string;
507
- seed: string | number;
508
- foregroundColor?: string;
509
- backgroundColor?: string;
510
- maxSize?: number;
511
- minSize?: number;
512
- disambiguator?: string | number;
513
- };
514
-
515
- /**
516
- * Vue Data UI utility
517
- * ---
518
- * Creates an SVG <defs> element with a <pattern> markup string for seeded chart patterns.
519
- * The output can be injected inside an SVG <defs> element, or in tooltips customFormat to apply patterns on tooltip markers.
520
- * ___
521
- * @example
522
- * const patternMarkup = createPatternDef({
523
- * id: "pattern-1",
524
- * seed: "Series A",
525
- * foregroundColor: "#1A1A1A",
526
- * backgroundColor: "#FFFFFF",
527
- * minSize: 8,
528
- * maxSize: 20
529
- * disambiguator: "pattern-1"
530
- * });
531
- *
532
- * @param {CreatePatternArgs} args - Pattern creation options.
533
- * @param {string} args.id - Unique SVG pattern identifier.
534
- * @param {string | number} args.seed - Seed used to deterministically generate the pattern.
535
- * @param {string} [args.foregroundColor] - Foreground color used for the pattern marks.
536
- * @param {string} [args.backgroundColor] - Background color for the pattern tile.
537
- * @param {number} [args.maxSize] - Maximum tile size used during seeded pattern generation.
538
- * @param {number} [args.minSize] - Minimum tile size used during seeded pattern generation.
539
- * @param {string | number} args.disambiguator - Additional unique identifier to disambiguate patterns for large datasets
540
- *
541
- * @returns {string} SVG <defs> with <pattern> markup as a string.
542
- */
543
- export const createPatternDef: ({
544
- id,
545
- seed,
546
- foregroundColor,
547
- backgroundColor,
548
- maxSize,
549
- minSize,
550
- disambiguator,
551
- }: CreatePatternArgs) => string;