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,438 +0,0 @@
1
- import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
2
- import { G as t, H as n, St as r, X as i, _t as a, i as o, jt as s, k as c, m as ee, t as te, v as l, zt as ne } from "./lib-BkiwukKO.js";
3
- import { t as re } from "./useConfig-ByaaSKhz.js";
4
- import { n as ie, t as ae } from "./BaseScanner-C7dmAref.js";
5
- import { t as u } from "./useNestedProp-Ck4hsrpu.js";
6
- import { t as oe } from "./useThemeCheck-rFK9Zlb_.js";
7
- import { t as se } from "./_plugin-vue_export-helper-Dq1MygBL.js";
8
- import { c as ce } from "./canvas-lib-DTaADQOK.js";
9
- import { t as le } from "./useResponsive-CrAInupd.js";
10
- import { t as ue } from "./usePrefersMotion-BywLbIko.js";
11
- import { t as de } from "./useFitSvgText-C-MEdAfe.js";
12
- import { t as fe } from "./vue_ui_spark_trend-BHMQ6_1p.js";
13
- import { computed as d, createBlock as pe, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as me, defineAsyncComponent as he, nextTick as ge, normalizeStyle as _e, onMounted as ve, openBlock as h, ref as g, renderSlot as _, toDisplayString as v, toRefs as ye, unref as y, watch as b } from "vue";
14
- //#region src/components/vue-ui-spark-trend.vue
15
- var x = /* @__PURE__ */ e({ default: () => S }), be = ["id", "aria-describedby"], xe = ["id"], Se = ["xmlns", "viewBox"], Ce = ["width", "height"], we = ["id"], Te = ["stop-color"], Ee = ["stop-color"], De = { key: 1 }, Oe = ["d", "fill"], ke = ["d", "fill"], Ae = [
16
- "d",
17
- "stroke",
18
- "stroke-width",
19
- "stroke-linecap",
20
- "stroke-linejoin"
21
- ], je = [
22
- "d",
23
- "stroke",
24
- "stroke-width",
25
- "stroke-linecap",
26
- "stroke-linejoin"
27
- ], Me = ["d"], Ne = ["fill", "d"], Pe = [
28
- "x",
29
- "y",
30
- "width",
31
- "height"
32
- ], Fe = [
33
- "x",
34
- "y",
35
- "fill",
36
- "font-size",
37
- "font-weight"
38
- ], Ie = [
39
- "stroke",
40
- "cx",
41
- "cy",
42
- "fill"
43
- ], Le = [
44
- "x",
45
- "y",
46
- "font-size",
47
- "fill",
48
- "font-weight"
49
- ], S = /* @__PURE__ */ se({
50
- __name: "vue-ui-spark-trend",
51
- props: {
52
- config: {
53
- type: Object,
54
- default() {
55
- return {};
56
- }
57
- },
58
- dataset: {
59
- type: Array,
60
- default() {
61
- return [];
62
- }
63
- }
64
- },
65
- setup(e) {
66
- let se = he(() => import("./PackageVersion-Dl9W5zJD.js").then((e) => e.t)), { vue_ui_spark_trend: x } = re(), { isThemeValid: S, warnInvalidTheme: Re } = oe(), C = ue(), w = e, T = g(null), E = g(null), ze = g(null), D = g(null), O = g(null), k = g(!1), A = g(null), j = g(n()), M = g(I()), Be = d(() => ne({
67
- defaultConfig: { style: {
68
- animation: { show: !1 },
69
- backgroundColor: "#99999930",
70
- line: {
71
- stroke: "#6A6A6A",
72
- useColorTrend: !1
73
- },
74
- dataLabel: {
75
- show: !1,
76
- useColorTrend: !1,
77
- color: "#6A6A6A"
78
- }
79
- } },
80
- userConfig: M.value.skeletonConfig ?? {}
81
- })), { loading: N, FINAL_DATASET: P, manualLoading: F } = ie({
82
- ...ye(w),
83
- FINAL_CONFIG: M,
84
- prepareConfig: I,
85
- skeletonDataset: w.config?.skeletonDataset ?? [
86
- 1,
87
- 2,
88
- 3,
89
- 5,
90
- 8,
91
- 13,
92
- 21,
93
- 34,
94
- 55,
95
- 89,
96
- 144,
97
- 233
98
- ],
99
- skeletonConfig: ne({
100
- defaultConfig: M.value,
101
- userConfig: Be.value
102
- })
103
- });
104
- function I() {
105
- let e = u({
106
- userConfig: w.config,
107
- defaultConfig: x
108
- }), t = e.theme;
109
- if (!t) return e;
110
- if (!S.value(e)) return Re(e), e;
111
- let n = u({
112
- userConfig: fe[t] || w.config,
113
- defaultConfig: e
114
- });
115
- return u({
116
- userConfig: w.config,
117
- defaultConfig: n
118
- });
119
- }
120
- let L = d(() => a({
121
- data: P.value,
122
- threshold: M.value.downsample.threshold
123
- }));
124
- b(() => w.config, (e) => {
125
- M.value = I(), H.value = M.value.style.width, U.value = M.value.style.height, V();
126
- }, { deep: !0 });
127
- function R(e) {
128
- return e.map((e) => l(e));
129
- }
130
- let z = g(a({
131
- data: P.value,
132
- threshold: M.value.downsample.threshold
133
- }).map((e) => M.value.style.animation.show && !C.value || [
134
- void 0,
135
- Infinity,
136
- -Infinity,
137
- null,
138
- NaN
139
- ].includes(e) ? null : e));
140
- b(L, (e) => {
141
- A.value &&= (cancelAnimationFrame(A.value), null), M.value.style.animation.show && !C.value ? z.value = Array(e.length).fill(null) : z.value = e.map((e) => ![
142
- void 0,
143
- Infinity,
144
- -Infinity,
145
- null
146
- ].includes(e) && !Number.isNaN(e) ? e : null), B(), ge(() => $(".vue-ui-sparktrend-progress-label", 6));
147
- }, {
148
- deep: !0,
149
- immediate: !0
150
- }), b(() => JSON.stringify(w.dataset), () => {
151
- A.value &&= (cancelAnimationFrame(A.value), null), F.value = r(w.dataset);
152
- let e = L.value;
153
- z.value = M.value.style.animation.show && !C.value ? Array(e.length).fill(null) : e.map((e) => Number.isFinite(e) ? e : null), B(), ge(() => $(".vue-ui-sparktrend-progress-label", 6));
154
- }, {
155
- deep: !1,
156
- immediate: !0
157
- });
158
- function B() {
159
- let e = 1e3 / M.value.style.animation.animationFrames, t = performance.now();
160
- if (!N.value && M.value.style.animation.show && !C.value && M.value.style.animation.animationFrames && P.value.length > 1) {
161
- z.value = [];
162
- let n = 0;
163
- function r() {
164
- k.value = !0;
165
- let i = performance.now(), a = i - t;
166
- a > e ? (t = i - a % e, n < L.value.length ? (z.value.push(L.value[n]), n += 1, A.value = requestAnimationFrame(r)) : (cancelAnimationFrame(A.value), z.value = R(L.value), k.value = !1, $(".vue-ui-sparktrend-progress-label", 6))) : A.value = requestAnimationFrame(r);
167
- }
168
- r();
169
- }
170
- }
171
- ve(() => {
172
- V();
173
- });
174
- let Ve = d(() => M.value.debug);
175
- function V() {
176
- if (r(w.dataset) && (i({
177
- componentName: "VueUiSparkTrend",
178
- type: "dataset",
179
- debug: Ve.value
180
- }), F.value = !0), r(w.dataset) || (F.value = !1), M.value.responsive) {
181
- let e = ce(() => {
182
- let { width: e, height: t } = le({
183
- chart: T.value,
184
- source: ze.value
185
- });
186
- requestAnimationFrame(() => {
187
- H.value = e, U.value = t;
188
- });
189
- });
190
- D.value && (O.value && D.value.unobserve(O.value), D.value.disconnect()), D.value = new ResizeObserver(e), O.value = T.value.parentNode, D.value.observe(O.value);
191
- }
192
- B(), $(".vue-ui-sparktrend-progress-label", 6);
193
- }
194
- let H = g(M.value.style.width), U = g(M.value.style.height), W = d(() => ({
195
- height: U.value,
196
- width: H.value
197
- })), G = d(() => ({
198
- top: M.value.style.padding.top,
199
- left: M.value.style.padding.left,
200
- right: W.value.width - M.value.style.padding.right,
201
- bottom: W.value.height - M.value.style.padding.bottom,
202
- height: W.value.height - (M.value.style.padding.top + M.value.style.padding.bottom) - (M.value.style.dataLabel.show ? M.value.style.dataLabel.fontSize : 0),
203
- width: W.value.width - (M.value.style.padding.left + M.value.style.padding.right)
204
- })), K = d(() => {
205
- let e = R(L.value).filter(Number.isFinite);
206
- if (!e.length) return {
207
- max: 0,
208
- min: 0
209
- };
210
- let t = e[0], n = e[0];
211
- for (let r = 1; r < e.length; r++) {
212
- let i = e[r];
213
- i > t && (t = i), i < n && (n = i);
214
- }
215
- return {
216
- max: t,
217
- min: n
218
- };
219
- }), He = d(() => {
220
- let e = L.value, t = e.length ? e[e.length - 1] : "x";
221
- return [
222
- j.value,
223
- e.length,
224
- Number.isFinite(t) ? t : "x",
225
- M.value.downsample.threshold,
226
- M.value.style.line.smooth ? "s" : "l"
227
- ].join("-");
228
- }), q = d(() => {
229
- let e = K.value.min >= 0 ? 0 : K.value.min;
230
- return Math.abs(e);
231
- }), Ue = d(() => K.value.max + q.value);
232
- function We(e) {
233
- return e / Ue.value;
234
- }
235
- let Ge = d(() => L.value.length), J = d(() => z.value.map((e, t) => {
236
- let n = isNaN(e) || [
237
- void 0,
238
- null,
239
- "NaN",
240
- NaN,
241
- Infinity,
242
- -Infinity
243
- ].includes(e) ? 0 : e || 0;
244
- return {
245
- value: l(e),
246
- absoluteValue: l(n),
247
- plotValue: l(n + q.value),
248
- toMax: We(n + q.value),
249
- x: G.value.left + l(t * (G.value.width / (Ge.value - 1))) - M.value.style.padding.right,
250
- y: G.value.bottom - l(G.value.height * We(n + q.value))
251
- };
252
- })), Y = d(() => {
253
- let e = R(L.value);
254
- return M.value.style.trendLabel.trendType === "global" ? ee(e) : M.value.style.trendLabel.trendType === "n-1" && e.length > 1 ? (e.at(-1) / e.at(-2) - 1) * 100 : M.value.style.trendLabel.trendType === "lastToFirst" ? (e.at(-1) / e[0] - 1) * 100 : 0;
255
- }), X = d(() => k.value || Y.value === 0 ? "neutral" : Y.value > 0 ? "positive" : "negative"), Z = d(() => M.value.style.arrow.colors[X.value]), Ke = d(() => {
256
- let e = {
257
- x: J.value[0].x,
258
- y: W.value.height - 6
259
- }, t = {
260
- x: J.value[J.value.length - 1].x,
261
- y: W.value.height - 6
262
- }, n = [];
263
- return J.value.forEach((e) => {
264
- n.push(`${e.x},${e.y} `);
265
- }), [
266
- e.x,
267
- e.y,
268
- ...n,
269
- t.x,
270
- t.y
271
- ].toString();
272
- }), qe = d(() => {
273
- let e = [];
274
- return J.value.forEach((t) => {
275
- e.push(`${t.x},${t.y} `);
276
- }), `M ${e.toString()}`;
277
- }), Q = d(() => U.value / 2 - M.value.style.trendLabel.fontSize), { fitText: $ } = de({
278
- svgRef: E,
279
- unitWidth: d(() => G.value.left * .8),
280
- fontSize: M.value.style.trendLabel.fontSize
281
- }), Je = d(() => {
282
- if (N.value || k.value) return "Trend chart loading";
283
- let e = J.value?.at(-1), n = e?.value, r = t({
284
- p: Y.value > 0 ? "+" : "",
285
- v: Y.value,
286
- s: "%",
287
- r: M.value.style.trendLabel.rounding
288
- }), i = n == null ? "not available" : o(M.value.style.dataLabel.formatter, n, t({
289
- p: M.value.style.dataLabel.prefix,
290
- v: n,
291
- s: M.value.style.dataLabel.suffix,
292
- r: M.value.style.dataLabel.rounding
293
- }), { datapoint: e });
294
- return `Progression ${X.value === "positive" ? `up ${r}` : X.value === "negative" ? `down ${r}` : `stable at ${r}`}. Last value ${i}.`;
295
- }), Ye = d(() => `sparktrend-a11y-${j.value}`);
296
- return (e, n) => (h(), p("div", {
297
- ref_key: "sparkTrendChart",
298
- ref: T,
299
- class: "vue-data-ui-component vue-ui-spark-trend",
300
- id: j.value,
301
- style: _e(`width:100%;font-family:${M.value.style.fontFamily};background:${M.value.style.backgroundColor}`),
302
- role: "img",
303
- "aria-describedby": Ye.value
304
- }, [
305
- m("p", {
306
- id: Ye.value,
307
- class: "sr-only",
308
- "aria-live": "polite"
309
- }, v(Je.value), 9, xe),
310
- (h(), p("svg", {
311
- key: He.value,
312
- ref_key: "svgRef",
313
- ref: E,
314
- xmlns: y(te),
315
- viewBox: `0 0 ${W.value.width} ${W.value.height}`,
316
- style: "width:100%;background:transparent;overflow:visible",
317
- "aria-hidden": "true"
318
- }, [
319
- me(y(se)),
320
- e.$slots["chart-background"] ? (h(), p("foreignObject", {
321
- key: 0,
322
- x: 0,
323
- y: 0,
324
- width: W.value.width <= 0 ? 10 : W.value.width,
325
- height: W.value.height <= 0 ? 10 : W.value.height,
326
- style: { pointerEvents: "none" }
327
- }, [_(e.$slots, "chart-background", {}, void 0, !0)], 8, Ce)) : f("", !0),
328
- m("defs", null, [m("linearGradient", {
329
- x1: "0%",
330
- y1: "0%",
331
- x2: "0%",
332
- y2: "100%",
333
- id: `pill_gradient_${j.value}`
334
- }, [m("stop", {
335
- offset: "0%",
336
- "stop-color": y(s)(M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke, M.value.style.area.opacity)
337
- }, null, 8, Te), m("stop", {
338
- offset: "100%",
339
- "stop-color": M.value.style.backgroundColor
340
- }, null, 8, Ee)], 8, we)]),
341
- M.value.style.area.show && J.value[0] ? (h(), p("g", De, [M.value.style.line.smooth ? (h(), p("path", {
342
- key: 0,
343
- d: `M ${J.value[0].x},${G.value.bottom} ${y(c)(J.value)} L ${J.value.at(-1).x},${G.value.bottom} Z`,
344
- fill: M.value.style.area.useGradient ? `url(#pill_gradient_${j.value})` : y(s)(M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke, M.value.style.area.opacity),
345
- stroke: "none"
346
- }, null, 8, Oe)) : (h(), p("path", {
347
- key: 1,
348
- d: `M${Ke.value}Z`,
349
- fill: M.value.style.area.useGradient ? `url(#pill_gradient_${j.value})` : y(s)(M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke, M.value.style.area.opacity),
350
- stroke: "none"
351
- }, null, 8, ke))])) : f("", !0),
352
- M.value.style.line.smooth && J.value.length ? (h(), p("path", {
353
- key: 2,
354
- d: `M ${y(c)(J.value)}`,
355
- stroke: M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke,
356
- fill: "none",
357
- "stroke-width": M.value.style.line.strokeWidth,
358
- "stroke-linecap": M.value.style.line.strokeLinecap,
359
- "stroke-linejoin": M.value.style.line.strokeLinejoin
360
- }, null, 8, Ae)) : f("", !0),
361
- !M.value.style.line.smooth && J.value.length ? (h(), p("path", {
362
- key: 3,
363
- d: qe.value,
364
- stroke: M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke,
365
- fill: "none",
366
- "stroke-width": M.value.style.line.strokeWidth,
367
- "stroke-linecap": M.value.style.line.strokeLinecap,
368
- "stroke-linejoin": M.value.style.line.strokeLinejoin
369
- }, null, 8, je)) : f("", !0),
370
- y(N) ? (h(), p("path", {
371
- key: 4,
372
- fill: "#6A6A6A",
373
- d: `M ${G.value.left / 2 + 6}, ${Q.value + 7} ${G.value.left / 2 - 7}, ${Q.value} ${G.value.left / 2 - 7}, ${Q.value + 14} Z`
374
- }, null, 8, Me)) : (h(), p("path", {
375
- key: 5,
376
- fill: Z.value,
377
- d: X.value === "positive" ? `M ${G.value.left / 2}, ${Q.value} ${G.value.left / 2 - 7}, ${Q.value + 12} ${G.value.left / 2 + 7}, ${Q.value + 12} Z` : X.value === "negative" ? `M ${G.value.left / 2}, ${Q.value + 12} ${G.value.left / 2 - 7}, ${Q.value} ${G.value.left / 2 + 7}, ${Q.value} Z` : `M ${G.value.left / 2 + 6}, ${Q.value + 7} ${G.value.left / 2 - 7}, ${Q.value} ${G.value.left / 2 - 7}, ${Q.value + 14} Z`
378
- }, null, 8, Ne)),
379
- y(N) ? (h(), p("rect", {
380
- key: 6,
381
- x: G.value.left / 2 - M.value.style.trendLabel.fontSize - 2,
382
- y: U.value / 2 + M.value.style.trendLabel.fontSize - 2,
383
- width: M.value.style.trendLabel.fontSize * 2,
384
- height: M.value.style.trendLabel.fontSize,
385
- fill: "#6A6A6A80",
386
- rx: "3"
387
- }, null, 8, Pe)) : f("", !0),
388
- !k.value && !y(N) ? (h(), p("text", {
389
- key: 7,
390
- class: "vue-ui-sparktrend-progress-label",
391
- x: G.value.left / 2,
392
- y: U.value / 2 + M.value.style.trendLabel.fontSize * 2,
393
- "text-anchor": "middle",
394
- fill: M.value.style.trendLabel.useColorTrend ? Z.value : M.value.style.trendLabel.color,
395
- "font-size": M.value.style.trendLabel.fontSize,
396
- "font-weight": M.value.style.trendLabel.bold ? "bold" : "normal"
397
- }, v(y(t)({
398
- p: Y.value > 0 ? "+" : "",
399
- v: Y.value,
400
- s: "%",
401
- r: M.value.style.trendLabel.rounding
402
- })), 9, Fe)) : f("", !0),
403
- J.value.length && J.value.at(-1).x !== void 0 ? (h(), p("circle", {
404
- key: 8,
405
- stroke: M.value.style.backgroundColor,
406
- "stroke-width": 2,
407
- cx: J.value.at(-1).x,
408
- cy: J.value.at(-1).y,
409
- r: 4,
410
- fill: y(N) ? "#6A6A6A" : Z.value
411
- }, null, 8, Ie)) : f("", !0),
412
- J.value.length && J.value.at(-1).x !== void 0 && M.value.style.dataLabel.show ? (h(), p("text", {
413
- key: 9,
414
- "text-anchor": "middle",
415
- x: J.value.at(-1).x,
416
- y: J.value.at(-1).y - M.value.style.dataLabel.fontSize / 1.5,
417
- "font-size": M.value.style.dataLabel.fontSize,
418
- fill: M.value.style.dataLabel.useColorTrend ? Z.value : M.value.style.dataLabel.color,
419
- "font-weight": M.value.style.dataLabel.bold ? "bold" : "normal"
420
- }, v(y(o)(M.value.style.dataLabel.formatter, J.value.at(-1).value, y(t)({
421
- p: M.value.style.dataLabel.prefix,
422
- v: J.value.at(-1).value,
423
- s: M.value.style.dataLabel.suffix,
424
- r: M.value.style.dataLabel.rounding
425
- }), { datapoint: J.value.at(-1) })), 9, Le)) : f("", !0)
426
- ], 8, Se)),
427
- e.$slots.source ? (h(), p("div", {
428
- key: 0,
429
- ref_key: "source",
430
- ref: ze,
431
- dir: "auto"
432
- }, [_(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
433
- _(e.$slots, "skeleton", {}, () => [y(N) ? (h(), pe(ae, { key: 0 })) : f("", !0)], !0)
434
- ], 12, be));
435
- }
436
- }, [["__scopeId", "data-v-90a4c498"]]);
437
- //#endregion
438
- export { x as n, S as t };