vue-data-ui 3.20.1 → 3.20.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (322) hide show
  1. package/dist/A11yDataTable-BCbtxMU6.js +45 -0
  2. package/dist/Arrow-D6j6ocXm.js +116 -0
  3. package/dist/BaseDraggableDialog-4hDW-Rj2.js +272 -0
  4. package/dist/BaseIcon-DfLoHNUj.js +502 -0
  5. package/dist/BaseLegendToggle-C_Db-y7s.js +56 -0
  6. package/dist/BaseScanner-Dr2a1Msy.js +27 -0
  7. package/dist/BaseZoomControls-CG7hI_1P.js +111 -0
  8. package/dist/ColorPicker-Bjwxnvfh.js +255 -0
  9. package/dist/DataTable-B--IN22e.js +150 -0
  10. package/dist/Legend-Cz2uQ5gs.js +114 -0
  11. package/dist/NonSvgPenAndPaper-gLNJ1Lmr.js +577 -0
  12. package/dist/PackageVersion-f0MuYk3R.js +11 -0
  13. package/dist/PenAndPaper-DqrClVfb.js +461 -0
  14. package/dist/RecursiveCircles-D6aDPmoe.js +117 -0
  15. package/dist/RecursiveLabels-D9rfID6q.js +56 -0
  16. package/dist/RecursiveLinks-BygcpDiT.js +78 -0
  17. package/dist/Shape-BPCJfphn.js +141 -0
  18. package/dist/Slicer-SHBj0VaV.js +1144 -0
  19. package/dist/SlicerPreview-DdihbUSJ.js +1668 -0
  20. package/dist/SparkTooltip-CfE6yCad.js +93 -0
  21. package/dist/Title-NWp4qB4K.js +87 -0
  22. package/dist/Tooltip-BENq327o.js +312 -0
  23. package/dist/UserOptions-C1NgoGu6.js +1411 -0
  24. package/dist/_plugin-vue_export-helper-B3ysoDQm.js +8 -0
  25. package/dist/canvas-lib-BOP_HS11.js +79 -0
  26. package/dist/components/arrow.js +2 -0
  27. package/dist/components/vue-ui-3d-bar.js +2 -0
  28. package/dist/components/vue-ui-accordion.js +2 -0
  29. package/dist/components/vue-ui-age-pyramid.js +2 -0
  30. package/dist/components/vue-ui-annotator.js +2 -0
  31. package/dist/components/vue-ui-bullet.js +2 -0
  32. package/dist/components/vue-ui-bump.js +2 -0
  33. package/dist/components/vue-ui-candlestick.js +2 -0
  34. package/dist/components/vue-ui-carousel-table.js +2 -0
  35. package/dist/components/vue-ui-chestnut.js +2 -0
  36. package/dist/components/vue-ui-chord.js +2 -0
  37. package/dist/components/vue-ui-circle-pack.js +2 -0
  38. package/dist/components/vue-ui-cursor.js +2 -0
  39. package/dist/components/vue-ui-dag.js +2 -0
  40. package/dist/components/vue-ui-dashboard.js +2 -0
  41. package/dist/components/vue-ui-digits.js +2 -0
  42. package/dist/components/vue-ui-donut-evolution.js +2 -0
  43. package/dist/components/vue-ui-donut.js +2 -0
  44. package/dist/components/vue-ui-dumbbell.js +2 -0
  45. package/dist/components/vue-ui-flow.js +2 -0
  46. package/dist/components/vue-ui-funnel.js +2 -0
  47. package/dist/components/vue-ui-galaxy.js +2 -0
  48. package/dist/components/vue-ui-gauge.js +2 -0
  49. package/dist/components/vue-ui-geo.js +2 -0
  50. package/dist/components/vue-ui-gizmo.js +2 -0
  51. package/dist/components/vue-ui-heatmap.js +2 -0
  52. package/dist/components/vue-ui-history-plot.js +2 -0
  53. package/dist/components/vue-ui-horizontal-bar.js +2 -0
  54. package/dist/components/vue-ui-icon.js +2 -0
  55. package/dist/components/vue-ui-kpi.js +2 -0
  56. package/dist/components/vue-ui-mini-loader.js +2 -0
  57. package/dist/components/vue-ui-molecule.js +2 -0
  58. package/dist/components/vue-ui-mood-radar.js +2 -0
  59. package/dist/components/vue-ui-nested-donuts.js +2 -0
  60. package/dist/components/vue-ui-onion.js +2 -0
  61. package/dist/components/vue-ui-parallel-coordinate-plot.js +2 -0
  62. package/dist/components/vue-ui-pattern-seed.js +2 -0
  63. package/dist/components/vue-ui-pattern.js +2 -0
  64. package/dist/components/vue-ui-quadrant.js +2 -0
  65. package/dist/components/vue-ui-quick-chart.js +2 -0
  66. package/dist/components/vue-ui-radar.js +2 -0
  67. package/dist/components/vue-ui-rating.js +2 -0
  68. package/dist/components/vue-ui-relation-circle.js +2 -0
  69. package/dist/components/vue-ui-ridgeline.js +2 -0
  70. package/dist/components/vue-ui-rings.js +2 -0
  71. package/dist/components/vue-ui-scatter.js +2 -0
  72. package/dist/components/vue-ui-skeleton.js +2 -0
  73. package/dist/components/vue-ui-smiley.js +2 -0
  74. package/dist/components/vue-ui-spark-trend.js +2 -0
  75. package/dist/components/vue-ui-sparkbar.js +2 -0
  76. package/dist/components/vue-ui-sparkgauge.js +2 -0
  77. package/dist/components/vue-ui-sparkhistogram.js +2 -0
  78. package/dist/components/vue-ui-sparkline.js +2 -0
  79. package/dist/components/vue-ui-sparkstackbar.js +2 -0
  80. package/dist/components/vue-ui-stackbar.js +2 -0
  81. package/dist/components/vue-ui-stackline.js +2 -0
  82. package/dist/components/vue-ui-strip-plot.js +2 -0
  83. package/dist/components/vue-ui-table-heatmap.js +2 -0
  84. package/dist/components/vue-ui-table-sparkline.js +2 -0
  85. package/dist/components/vue-ui-table.js +2 -0
  86. package/dist/components/vue-ui-thermometer.js +2 -0
  87. package/dist/components/vue-ui-timer.js +2 -0
  88. package/dist/components/vue-ui-tiremarks.js +2 -0
  89. package/dist/components/vue-ui-treemap.js +2 -0
  90. package/dist/components/vue-ui-vertical-bar.js +2 -0
  91. package/dist/components/vue-ui-waffle.js +2 -0
  92. package/dist/components/vue-ui-wheel.js +2 -0
  93. package/dist/components/vue-ui-word-cloud.js +2 -0
  94. package/dist/components/vue-ui-world.js +2 -0
  95. package/dist/components/vue-ui-xy-canvas.js +2 -0
  96. package/dist/components/vue-ui-xy.js +2 -0
  97. package/dist/dom-to-png-BYtB4BF3.js +237 -0
  98. package/dist/exposedLib-CI8ji8G-.js +19 -0
  99. package/dist/geoProjections-Czak6Jn1.js +145 -0
  100. package/dist/img-1cKsci8e.js +74 -0
  101. package/dist/labelUtils-CUctkYoA.js +19 -0
  102. package/dist/lib-DUeYQsS0.js +1882 -0
  103. package/dist/llms.txt +232 -0
  104. package/dist/patternUtils-CS7hn6at.js +258 -0
  105. package/dist/pdf-D0eZ99cP.js +90 -0
  106. package/dist/rolldown-runtime-Dy4uBu1J.js +11 -0
  107. package/dist/style.css +2 -0
  108. package/dist/types/arrow.d.ts +4 -0
  109. package/dist/types/utils.d.ts +551 -0
  110. package/dist/types/vue-data-ui.d.ts +17190 -0
  111. package/dist/types/vue-ui-3d-bar.d.ts +93 -0
  112. package/dist/types/vue-ui-accordion.d.ts +11 -0
  113. package/dist/types/vue-ui-age-pyramid.d.ts +108 -0
  114. package/dist/types/vue-ui-annotator.d.ts +34 -0
  115. package/dist/types/vue-ui-bullet.d.ts +85 -0
  116. package/dist/types/vue-ui-bump.d.ts +92 -0
  117. package/dist/types/vue-ui-candlestick.d.ts +106 -0
  118. package/dist/types/vue-ui-carousel-table.d.ts +59 -0
  119. package/dist/types/vue-ui-chestnut.d.ts +98 -0
  120. package/dist/types/vue-ui-chord.d.ts +110 -0
  121. package/dist/types/vue-ui-circle-pack.d.ts +126 -0
  122. package/dist/types/vue-ui-cursor.d.ts +9 -0
  123. package/dist/types/vue-ui-dag.d.ts +125 -0
  124. package/dist/types/vue-ui-dashboard.d.ts +68 -0
  125. package/dist/types/vue-ui-digits.d.ts +12 -0
  126. package/dist/types/vue-ui-donut-evolution.d.ts +96 -0
  127. package/dist/types/vue-ui-donut.d.ts +123 -0
  128. package/dist/types/vue-ui-dumbbell.d.ts +94 -0
  129. package/dist/types/vue-ui-flow.d.ts +106 -0
  130. package/dist/types/vue-ui-funnel.d.ts +79 -0
  131. package/dist/types/vue-ui-galaxy.d.ts +114 -0
  132. package/dist/types/vue-ui-gauge.d.ts +89 -0
  133. package/dist/types/vue-ui-geo.d.ts +94 -0
  134. package/dist/types/vue-ui-gizmo.d.ts +22 -0
  135. package/dist/types/vue-ui-heatmap.d.ts +101 -0
  136. package/dist/types/vue-ui-history-plot.d.ts +114 -0
  137. package/dist/types/vue-ui-horizontal-bar.d.ts +116 -0
  138. package/dist/types/vue-ui-icon.d.ts +15 -0
  139. package/dist/types/vue-ui-kpi.d.ts +25 -0
  140. package/dist/types/vue-ui-mini-loader.d.ts +15 -0
  141. package/dist/types/vue-ui-molecule.d.ts +112 -0
  142. package/dist/types/vue-ui-mood-radar.d.ts +92 -0
  143. package/dist/types/vue-ui-nested-donuts.d.ts +111 -0
  144. package/dist/types/vue-ui-onion.d.ts +106 -0
  145. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +125 -0
  146. package/dist/types/vue-ui-pattern-seed.d.ts +14 -0
  147. package/dist/types/vue-ui-pattern.d.ts +15 -0
  148. package/dist/types/vue-ui-quadrant.d.ts +125 -0
  149. package/dist/types/vue-ui-quick-chart.d.ts +108 -0
  150. package/dist/types/vue-ui-radar.d.ts +116 -0
  151. package/dist/types/vue-ui-rating.d.ts +42 -0
  152. package/dist/types/vue-ui-relation-circle.d.ts +92 -0
  153. package/dist/types/vue-ui-ridgeline.d.ts +106 -0
  154. package/dist/types/vue-ui-rings.d.ts +98 -0
  155. package/dist/types/vue-ui-scatter.d.ts +97 -0
  156. package/dist/types/vue-ui-skeleton.d.ts +11 -0
  157. package/dist/types/vue-ui-smiley.d.ts +28 -0
  158. package/dist/types/vue-ui-spark-trend.d.ts +19 -0
  159. package/dist/types/vue-ui-sparkbar.d.ts +49 -0
  160. package/dist/types/vue-ui-sparkgauge.d.ts +28 -0
  161. package/dist/types/vue-ui-sparkhistogram.d.ts +46 -0
  162. package/dist/types/vue-ui-sparkline.d.ts +59 -0
  163. package/dist/types/vue-ui-sparkstackbar.d.ts +60 -0
  164. package/dist/types/vue-ui-stackbar.d.ts +118 -0
  165. package/dist/types/vue-ui-stackline.d.ts +114 -0
  166. package/dist/types/vue-ui-strip-plot.d.ts +96 -0
  167. package/dist/types/vue-ui-table-heatmap.d.ts +62 -0
  168. package/dist/types/vue-ui-table-sparkline.d.ts +53 -0
  169. package/dist/types/vue-ui-table.d.ts +38 -0
  170. package/dist/types/vue-ui-thermometer.d.ts +70 -0
  171. package/dist/types/vue-ui-timer.d.ts +49 -0
  172. package/dist/types/vue-ui-tiremarks.d.ts +70 -0
  173. package/dist/types/vue-ui-treemap.d.ts +104 -0
  174. package/dist/types/vue-ui-vertical-bar.d.ts +22 -0
  175. package/dist/types/vue-ui-waffle.d.ts +101 -0
  176. package/dist/types/vue-ui-wheel.d.ts +70 -0
  177. package/dist/types/vue-ui-word-cloud.d.ts +97 -0
  178. package/dist/types/vue-ui-world.d.ts +98 -0
  179. package/dist/types/vue-ui-xy-canvas.d.ts +101 -0
  180. package/dist/types/vue-ui-xy.d.ts +146 -0
  181. package/dist/useAutoSizeLabelsInsideViewbox-BIVntRZp.js +50 -0
  182. package/dist/useChartAccessibility-DYqac8yF.js +12 -0
  183. package/dist/useConfig-DAyQk86L.js +7479 -0
  184. package/dist/useFitSvgText-CT3nmlaS.js +63 -0
  185. package/dist/useNestedProp-CNcoy38D.js +10 -0
  186. package/dist/useObjectBindings-BI7hP-BC.js +189 -0
  187. package/dist/usePanZoom-CYU3B4T3.js +157 -0
  188. package/dist/usePrefersMotion-BC-CsqR1.js +15 -0
  189. package/dist/usePrinter-C1Gqt_Sp.js +49 -0
  190. package/dist/useResponsive-BfnK0KxU.js +19 -0
  191. package/dist/useStableElementSize-C7KADDKj.js +77 -0
  192. package/dist/useSvgExport-SVIsDot8.js +755 -0
  193. package/dist/useTableResponsive-B24Uwt2E.js +24 -0
  194. package/dist/useThemeCheck-C43Tcqmk.js +24 -0
  195. package/dist/useTimeLabelCollider-AEcY4Ioe.js +57 -0
  196. package/dist/useTimeLabels-BmBRv27Y.js +272 -0
  197. package/dist/useUserOptionState-DK-_1ddE.js +15 -0
  198. package/dist/utils.js +28 -0
  199. package/dist/vClickOutside-DUrZWttG.js +13 -0
  200. package/dist/vue-data-ui-C3m9eNp0.js +274 -0
  201. package/dist/vue-data-ui.js +76 -0
  202. package/dist/vue-ui-3d-bar-Bfcitq55.js +1757 -0
  203. package/dist/vue-ui-accordion-Dw4MHKVB.js +81 -0
  204. package/dist/vue-ui-age-pyramid-Dgzd45Ol.js +1238 -0
  205. package/dist/vue-ui-annotator-DLPUAKlm.js +2899 -0
  206. package/dist/vue-ui-bullet-DAeyHSHC.js +710 -0
  207. package/dist/vue-ui-bump-DsiXfIFL.js +1249 -0
  208. package/dist/vue-ui-candlestick-BadEBUcF.js +1826 -0
  209. package/dist/vue-ui-carousel-table-_LCF7RFm.js +455 -0
  210. package/dist/vue-ui-chestnut-BTuAvc7L.js +2010 -0
  211. package/dist/vue-ui-chord-CAyRIJlh.js +1391 -0
  212. package/dist/vue-ui-circle-pack-BWzwg8Qb.js +1608 -0
  213. package/dist/vue-ui-cursor-C6t7nAT4.js +283 -0
  214. package/dist/vue-ui-dag-8Puv77-a.js +2909 -0
  215. package/dist/vue-ui-dashboard-CXDvRu27.js +513 -0
  216. package/dist/vue-ui-digits-BlHqILF0.js +209 -0
  217. package/dist/vue-ui-donut-CclzduCs.js +2410 -0
  218. package/dist/vue-ui-donut-evolution-DEfY2Zvy.js +1510 -0
  219. package/dist/vue-ui-dumbbell-BG5C4Hdg.js +1530 -0
  220. package/dist/vue-ui-flow-B73dHBrL.js +1235 -0
  221. package/dist/vue-ui-funnel-Bn3c5lWX.js +777 -0
  222. package/dist/vue-ui-galaxy-eBY55Fue.js +1077 -0
  223. package/dist/vue-ui-gauge-s8pl305B.js +920 -0
  224. package/dist/vue-ui-geo-Ca2ZPVhH.js +1516 -0
  225. package/dist/vue-ui-gizmo-CBNDeAzT.js +225 -0
  226. package/dist/vue-ui-heatmap-V79kNqUi.js +1568 -0
  227. package/dist/vue-ui-history-plot-jiJh8oaM.js +1554 -0
  228. package/dist/vue-ui-horizontal-bar-60b88qqU.js +1681 -0
  229. package/dist/vue-ui-kpi-DnfazUeY.js +96 -0
  230. package/dist/vue-ui-mini-loader-CyqBt2g4.js +125 -0
  231. package/dist/vue-ui-molecule-BeIVS2yp.js +925 -0
  232. package/dist/vue-ui-mood-radar-DHY1ry9I.js +1148 -0
  233. package/dist/vue-ui-nested-donuts-GNR6O-Z_.js +1487 -0
  234. package/dist/vue-ui-onion-DghkeKRu.js +1200 -0
  235. package/dist/vue-ui-parallel-coordinate-plot-DqfRRSnD.js +1416 -0
  236. package/dist/vue-ui-pattern-DKozfnVn.js +154 -0
  237. package/dist/vue-ui-pattern-seed-BB1honLm.js +61 -0
  238. package/dist/vue-ui-quadrant-BBucQ_8r.js +1978 -0
  239. package/dist/vue-ui-quick-chart-DxxGq-5d.js +2469 -0
  240. package/dist/vue-ui-radar-B0gW_Iur.js +1229 -0
  241. package/dist/vue-ui-rating-BG4lf1z8.js +343 -0
  242. package/dist/vue-ui-relation-circle-C-fNOxJM.js +924 -0
  243. package/dist/vue-ui-ridgeline-CzDR20s3.js +1622 -0
  244. package/dist/vue-ui-rings-DNRdTVqV.js +1246 -0
  245. package/dist/vue-ui-scatter-CRgFebuE.js +2413 -0
  246. package/dist/vue-ui-skeleton-iNzRGgRn.js +2556 -0
  247. package/dist/vue-ui-smiley-G89TxRU-.js +356 -0
  248. package/dist/vue-ui-spark-trend-CPgTOFNY.js +438 -0
  249. package/dist/vue-ui-sparkbar-B4C_YxU-.js +393 -0
  250. package/dist/vue-ui-sparkgauge-DDkSKiba.js +255 -0
  251. package/dist/vue-ui-sparkhistogram-qtb6-Th8.js +560 -0
  252. package/dist/vue-ui-sparkline-TTSEEs7R.js +1507 -0
  253. package/dist/vue-ui-sparkstackbar-DXEnV79Y.js +662 -0
  254. package/dist/vue-ui-stackbar-CwFVpEgH.js +2270 -0
  255. package/dist/vue-ui-stackline-Bph0kD43.js +2398 -0
  256. package/dist/vue-ui-strip-plot-D2_WSwTF.js +1340 -0
  257. package/dist/vue-ui-table-BzmQMHxi.js +1338 -0
  258. package/dist/vue-ui-table-heatmap-CCGjbSzQ.js +344 -0
  259. package/dist/vue-ui-table-sparkline-CXNxbqIw.js +707 -0
  260. package/dist/vue-ui-thermometer-Cqw2_Jpi.js +763 -0
  261. package/dist/vue-ui-timer-BHP_5wgz.js +439 -0
  262. package/dist/vue-ui-tiremarks-D8wFTxXl.js +552 -0
  263. package/dist/vue-ui-treemap-DbSebes7.js +1587 -0
  264. package/dist/vue-ui-waffle-CAIBpbY0.js +1362 -0
  265. package/dist/vue-ui-wheel-B5Cyopnp.js +885 -0
  266. package/dist/vue-ui-word-cloud-BaGDKrKL.js +1656 -0
  267. package/dist/vue-ui-world-DLcVBwLg.js +14264 -0
  268. package/dist/vue-ui-xy-CyP5FAo8.js +4578 -0
  269. package/dist/vue-ui-xy-canvas-BUPnRZ3C.js +1787 -0
  270. package/dist/vue_ui_3d_bar-C4R7o-yX.js +185 -0
  271. package/dist/vue_ui_age_pyramid-BY6c-oX_.js +301 -0
  272. package/dist/vue_ui_bullet-ClzdLoOv.js +186 -0
  273. package/dist/vue_ui_bump-Vl-zYAtG.js +201 -0
  274. package/dist/vue_ui_candlestick-J8jmJvxP.js +374 -0
  275. package/dist/vue_ui_chestnut-D2oUhad6.js +305 -0
  276. package/dist/vue_ui_chord-DPfS1Umc.js +275 -0
  277. package/dist/vue_ui_circle_pack-DZC_rdfn.js +172 -0
  278. package/dist/vue_ui_dag-TsJ_azQq.js +258 -0
  279. package/dist/vue_ui_donut-BDGqG07h.js +358 -0
  280. package/dist/vue_ui_donut_evolution-D1yAAIHr.js +717 -0
  281. package/dist/vue_ui_dumbbell-Bfe_jFyi.js +304 -0
  282. package/dist/vue_ui_flow-BewZjjKG.js +238 -0
  283. package/dist/vue_ui_funnel-_Og4EEkO.js +234 -0
  284. package/dist/vue_ui_galaxy-Ig0cc1_h.js +265 -0
  285. package/dist/vue_ui_gauge-Cf1RZc9q.js +178 -0
  286. package/dist/vue_ui_geo-B8TODs-G.js +248 -0
  287. package/dist/vue_ui_heatmap-B2BBBSWG.js +319 -0
  288. package/dist/vue_ui_history_plot-CuN63VEc.js +413 -0
  289. package/dist/vue_ui_horizontal_bar-C4J4QzXf.js +341 -0
  290. package/dist/vue_ui_molecule-CO9L59SF.js +231 -0
  291. package/dist/vue_ui_mood_radar-BA6LAKhk.js +281 -0
  292. package/dist/vue_ui_nested_donuts-B8csIoVO.js +273 -0
  293. package/dist/vue_ui_onion-1FTFFS46.js +293 -0
  294. package/dist/vue_ui_parallel_coordinate_plot-CBiOBira.js +278 -0
  295. package/dist/vue_ui_quadrant-CDSTKTJz.js +428 -0
  296. package/dist/vue_ui_quick_chart-mZBdml3Z.js +139 -0
  297. package/dist/vue_ui_radar-jafTED5j.js +306 -0
  298. package/dist/vue_ui_relation_circle-D0p4mXmv.js +98 -0
  299. package/dist/vue_ui_ridgeline-VM8_mx4J.js +767 -0
  300. package/dist/vue_ui_rings-BVgD2aMn.js +320 -0
  301. package/dist/vue_ui_scatter-I0POnicu.js +479 -0
  302. package/dist/vue_ui_spark_trend-DxVmpkmC.js +82 -0
  303. package/dist/vue_ui_sparkbar-z6qO--Kf.js +64 -0
  304. package/dist/vue_ui_sparkgauge-BX1MS3bA.js +90 -0
  305. package/dist/vue_ui_sparkhistogram-BRgvKUH6.js +123 -0
  306. package/dist/vue_ui_sparkline-auZhap6Y.js +151 -0
  307. package/dist/vue_ui_sparkstackbar-BOjuQnZd.js +175 -0
  308. package/dist/vue_ui_stackbar-COOrQQdK.js +412 -0
  309. package/dist/vue_ui_stackline-DQqKPA9z.js +460 -0
  310. package/dist/vue_ui_strip_plot-CtJe8_gq.js +301 -0
  311. package/dist/vue_ui_table_heatmap-w8vx5k6f.js +80 -0
  312. package/dist/vue_ui_table_sparkline-DAbkUrNz.js +124 -0
  313. package/dist/vue_ui_thermometer-DxgqWKlE.js +123 -0
  314. package/dist/vue_ui_tiremarks-CdEPieWV.js +122 -0
  315. package/dist/vue_ui_treemap-DoEtkRN6.js +328 -0
  316. package/dist/vue_ui_vertical_bar-CP-MKz1j.js +247 -0
  317. package/dist/vue_ui_waffle-DIARFc7g.js +292 -0
  318. package/dist/vue_ui_wheel-DZ_nR--t.js +133 -0
  319. package/dist/vue_ui_word_cloud-C-qIMNLu.js +254 -0
  320. package/dist/vue_ui_xy-BLUkWEAm.js +482 -0
  321. package/dist/vue_ui_xy_canvas-Cb6dg3eK.js +408 -0
  322. package/package.json +120 -120
@@ -0,0 +1,63 @@
1
+ import { nextTick as e } from "vue";
2
+ //#region src/useFitSvgText.js
3
+ function t({ svgRef: t, unitWidth: n, fontSize: r = 12, step: i = .5, maxIterations: a = 60, hideUnderMin: o = !0 }) {
4
+ let s = /* @__PURE__ */ new WeakMap(), c = (e) => {
5
+ if (typeof e == "number") return e;
6
+ if (!e) return NaN;
7
+ let t = parseFloat(String(e).replace("px", ""));
8
+ return Number.isFinite(t) ? t : NaN;
9
+ }, l = (e) => {
10
+ let t = c(e.getAttribute("font-size"));
11
+ return Number.isFinite(t) ? t : c(window.getComputedStyle(e).fontSize) || r;
12
+ }, u = (e, t) => {
13
+ e.setAttribute("font-size", String(t));
14
+ }, d = (e) => {
15
+ if (s.has(e)) u(e, s.get(e));
16
+ else {
17
+ let t = l(e);
18
+ s.set(e, t), u(e, t);
19
+ }
20
+ }, f = (e) => {
21
+ try {
22
+ return e.getBBox().width || 0;
23
+ } catch {
24
+ return 0;
25
+ }
26
+ };
27
+ return { fitText: async (r, s = 6) => {
28
+ await e();
29
+ let c = t?.value;
30
+ if (!c) return;
31
+ let p = c.querySelectorAll(r);
32
+ if (!p.length) return;
33
+ let m = Math.max(0, n.value);
34
+ if (m <= 0) return;
35
+ let h = [];
36
+ p.forEach((e) => {
37
+ let t = e.style.display, n = e.style.opacity;
38
+ e.style.display = "", e.style.opacity = "0", d(e);
39
+ let r = f(e), o = l(e), c = o, p = 0;
40
+ if (r <= m) h.push({
41
+ el: e,
42
+ finalSize: o,
43
+ fits: !0
44
+ });
45
+ else {
46
+ for (; r > m && c > s && p < a;) c = Math.max(s, c - i), u(e, c), r = f(e), p += 1;
47
+ let t = r <= m && c > s;
48
+ h.push({
49
+ el: e,
50
+ finalSize: c,
51
+ fits: t
52
+ }), u(e, o);
53
+ }
54
+ e.style.display = t, e.style.opacity = n;
55
+ });
56
+ let g = o && h.some((e) => !e.fits);
57
+ h.forEach(({ el: e, finalSize: t, fits: n }) => {
58
+ g ? e.style.display = "none" : (e.style.display = "", u(e, t));
59
+ });
60
+ } };
61
+ }
62
+ //#endregion
63
+ export { t };
@@ -0,0 +1,10 @@
1
+ import { Bt as e, b as t } from "./lib-DUeYQsS0.js";
2
+ //#region src/useNestedProp.js
3
+ function n({ defaultConfig: n, userConfig: r }) {
4
+ return Object.keys(r || {}).length ? t(e({
5
+ defaultConfig: n,
6
+ userConfig: r
7
+ })) : n;
8
+ }
9
+ //#endregion
10
+ export { n as t };
@@ -0,0 +1,189 @@
1
+ import { t as e } from "./useConfig-DAyQk86L.js";
2
+ import { computed as t, isRef as n, markRaw as r, watchEffect as i } from "vue";
3
+ //#region src/getVueDataUiConfig.js
4
+ var a = /* @__PURE__ */ "vue_ui_xy.vue_ui_donut.vue_ui_treemap.vue_ui_waffle.vue_ui_radar.vue_ui_quadrant.vue_ui_gauge.vue_ui_wheel.vue_ui_tiremarks.vue_ui_chestnut.vue_ui_onion.vue_ui_vertical_bar.vue_ui_horizontal_bar.vue_ui_heatmap.vue_ui_scatter.vue_ui_candlestick.vue_ui_sparkline.vue_ui_sparkbar.vue_ui_sparkstackbar.vue_ui_sparkhistogram.vue_ui_sparkgauge.vue_ui_spark_trend.vue_ui_quick_chart.vue_ui_age_pyramid.vue_ui_relation_circle.vue_ui_thermometer.vue_ui_rings.vue_ui_donut_evolution.vue_ui_mood_radar.vue_ui_molecule.vue_ui_nested_donuts.vue_ui_galaxy.vue_ui_strip_plot.vue_ui_dumbbell.vue_ui_3d_bar.vue_ui_table_sparkline.vue_ui_table_heatmap.vue_ui_word_cloud.vue_ui_xy_canvas.vue_ui_flow.vue_ui_parallel_coordinate_plot.vue_ui_timer.vue_ui_carousel_table.vue_ui_gizmo.vue_ui_stackbar.vue_ui_bullet.vue_ui_funnel.vue_ui_history_plot.vue_ui_world.vue_ui_ridgeline.vue_ui_chord.vue_ui_stackline.vue_ui_dag.vue_ui_geo.vue_ui_bump.vue_ui_cursor.vue_ui_accordion.vue_ui_kpi.vue_ui_mini_loader.vue_ui_smiley.vue_ui_rating.vue_ui_annotator.vue_ui_dashboard.vue_ui_skeleton.vue_ui_table.vue_ui_digits.vue_ui_circle_pack".split(".");
5
+ function o(t, n = {}) {
6
+ return a.includes(t) ? e(n)[t] : (console.error(`VueDataUi - getVueDataUiConfig : ${t} is not a valid component name for this utility.\nUse snake case names, for example 'vue_ui_xy', 'vue_ui_donut', etc.`), {});
7
+ }
8
+ //#endregion
9
+ //#region src/getThemeConfig.js
10
+ var s = Object.fromEntries(Object.entries(/* @__PURE__ */ Object.assign({
11
+ "./themes/vue_ui_3d_bar.json": () => import("./vue_ui_3d_bar-C4R7o-yX.js").then((e) => e.n).then((e) => e.default),
12
+ "./themes/vue_ui_age_pyramid.json": () => import("./vue_ui_age_pyramid-BY6c-oX_.js").then((e) => e.n).then((e) => e.default),
13
+ "./themes/vue_ui_bullet.json": () => import("./vue_ui_bullet-ClzdLoOv.js").then((e) => e.n).then((e) => e.default),
14
+ "./themes/vue_ui_bump.json": () => import("./vue_ui_bump-Vl-zYAtG.js").then((e) => e.n).then((e) => e.default),
15
+ "./themes/vue_ui_candlestick.json": () => import("./vue_ui_candlestick-J8jmJvxP.js").then((e) => e.n).then((e) => e.default),
16
+ "./themes/vue_ui_chestnut.json": () => import("./vue_ui_chestnut-D2oUhad6.js").then((e) => e.n).then((e) => e.default),
17
+ "./themes/vue_ui_chord.json": () => import("./vue_ui_chord-DPfS1Umc.js").then((e) => e.n).then((e) => e.default),
18
+ "./themes/vue_ui_circle_pack.json": () => import("./vue_ui_circle_pack-DZC_rdfn.js").then((e) => e.n).then((e) => e.default),
19
+ "./themes/vue_ui_dag.json": () => import("./vue_ui_dag-TsJ_azQq.js").then((e) => e.n).then((e) => e.default),
20
+ "./themes/vue_ui_donut.json": () => import("./vue_ui_donut-BDGqG07h.js").then((e) => e.n).then((e) => e.default),
21
+ "./themes/vue_ui_donut_evolution.json": () => import("./vue_ui_donut_evolution-D1yAAIHr.js").then((e) => e.n).then((e) => e.default),
22
+ "./themes/vue_ui_dumbbell.json": () => import("./vue_ui_dumbbell-Bfe_jFyi.js").then((e) => e.n).then((e) => e.default),
23
+ "./themes/vue_ui_flow.json": () => import("./vue_ui_flow-BewZjjKG.js").then((e) => e.n).then((e) => e.default),
24
+ "./themes/vue_ui_funnel.json": () => import("./vue_ui_funnel-_Og4EEkO.js").then((e) => e.n).then((e) => e.default),
25
+ "./themes/vue_ui_galaxy.json": () => import("./vue_ui_galaxy-Ig0cc1_h.js").then((e) => e.n).then((e) => e.default),
26
+ "./themes/vue_ui_gauge.json": () => import("./vue_ui_gauge-Cf1RZc9q.js").then((e) => e.n).then((e) => e.default),
27
+ "./themes/vue_ui_geo.json": () => import("./vue_ui_geo-B8TODs-G.js").then((e) => e.n).then((e) => e.default),
28
+ "./themes/vue_ui_heatmap.json": () => import("./vue_ui_heatmap-B2BBBSWG.js").then((e) => e.n).then((e) => e.default),
29
+ "./themes/vue_ui_history_plot.json": () => import("./vue_ui_history_plot-CuN63VEc.js").then((e) => e.n).then((e) => e.default),
30
+ "./themes/vue_ui_horizontal_bar.json": () => import("./vue_ui_horizontal_bar-C4J4QzXf.js").then((e) => e.n).then((e) => e.default),
31
+ "./themes/vue_ui_molecule.json": () => import("./vue_ui_molecule-CO9L59SF.js").then((e) => e.n).then((e) => e.default),
32
+ "./themes/vue_ui_mood_radar.json": () => import("./vue_ui_mood_radar-BA6LAKhk.js").then((e) => e.n).then((e) => e.default),
33
+ "./themes/vue_ui_nested_donuts.json": () => import("./vue_ui_nested_donuts-B8csIoVO.js").then((e) => e.n).then((e) => e.default),
34
+ "./themes/vue_ui_onion.json": () => import("./vue_ui_onion-1FTFFS46.js").then((e) => e.n).then((e) => e.default),
35
+ "./themes/vue_ui_parallel_coordinate_plot.json": () => import("./vue_ui_parallel_coordinate_plot-CBiOBira.js").then((e) => e.n).then((e) => e.default),
36
+ "./themes/vue_ui_quadrant.json": () => import("./vue_ui_quadrant-CDSTKTJz.js").then((e) => e.n).then((e) => e.default),
37
+ "./themes/vue_ui_quick_chart.json": () => import("./vue_ui_quick_chart-mZBdml3Z.js").then((e) => e.n).then((e) => e.default),
38
+ "./themes/vue_ui_radar.json": () => import("./vue_ui_radar-jafTED5j.js").then((e) => e.n).then((e) => e.default),
39
+ "./themes/vue_ui_relation_circle.json": () => import("./vue_ui_relation_circle-D0p4mXmv.js").then((e) => e.n).then((e) => e.default),
40
+ "./themes/vue_ui_ridgeline.json": () => import("./vue_ui_ridgeline-VM8_mx4J.js").then((e) => e.n).then((e) => e.default),
41
+ "./themes/vue_ui_rings.json": () => import("./vue_ui_rings-BVgD2aMn.js").then((e) => e.n).then((e) => e.default),
42
+ "./themes/vue_ui_scatter.json": () => import("./vue_ui_scatter-I0POnicu.js").then((e) => e.n).then((e) => e.default),
43
+ "./themes/vue_ui_spark_trend.json": () => import("./vue_ui_spark_trend-DxVmpkmC.js").then((e) => e.n).then((e) => e.default),
44
+ "./themes/vue_ui_sparkbar.json": () => import("./vue_ui_sparkbar-z6qO--Kf.js").then((e) => e.n).then((e) => e.default),
45
+ "./themes/vue_ui_sparkgauge.json": () => import("./vue_ui_sparkgauge-BX1MS3bA.js").then((e) => e.n).then((e) => e.default),
46
+ "./themes/vue_ui_sparkhistogram.json": () => import("./vue_ui_sparkhistogram-BRgvKUH6.js").then((e) => e.n).then((e) => e.default),
47
+ "./themes/vue_ui_sparkline.json": () => import("./vue_ui_sparkline-auZhap6Y.js").then((e) => e.n).then((e) => e.default),
48
+ "./themes/vue_ui_sparkstackbar.json": () => import("./vue_ui_sparkstackbar-BOjuQnZd.js").then((e) => e.n).then((e) => e.default),
49
+ "./themes/vue_ui_stackbar.json": () => import("./vue_ui_stackbar-COOrQQdK.js").then((e) => e.n).then((e) => e.default),
50
+ "./themes/vue_ui_stackline.json": () => import("./vue_ui_stackline-DQqKPA9z.js").then((e) => e.n).then((e) => e.default),
51
+ "./themes/vue_ui_strip_plot.json": () => import("./vue_ui_strip_plot-CtJe8_gq.js").then((e) => e.n).then((e) => e.default),
52
+ "./themes/vue_ui_table_heatmap.json": () => import("./vue_ui_table_heatmap-w8vx5k6f.js").then((e) => e.n).then((e) => e.default),
53
+ "./themes/vue_ui_table_sparkline.json": () => import("./vue_ui_table_sparkline-DAbkUrNz.js").then((e) => e.n).then((e) => e.default),
54
+ "./themes/vue_ui_thermometer.json": () => import("./vue_ui_thermometer-DxgqWKlE.js").then((e) => e.n).then((e) => e.default),
55
+ "./themes/vue_ui_tiremarks.json": () => import("./vue_ui_tiremarks-CdEPieWV.js").then((e) => e.n).then((e) => e.default),
56
+ "./themes/vue_ui_treemap.json": () => import("./vue_ui_treemap-DoEtkRN6.js").then((e) => e.n).then((e) => e.default),
57
+ "./themes/vue_ui_vertical_bar.json": () => import("./vue_ui_vertical_bar-CP-MKz1j.js").then((e) => e.default),
58
+ "./themes/vue_ui_waffle.json": () => import("./vue_ui_waffle-DIARFc7g.js").then((e) => e.n).then((e) => e.default),
59
+ "./themes/vue_ui_wheel.json": () => import("./vue_ui_wheel-DZ_nR--t.js").then((e) => e.n).then((e) => e.default),
60
+ "./themes/vue_ui_word_cloud.json": () => import("./vue_ui_word_cloud-C-qIMNLu.js").then((e) => e.n).then((e) => e.default),
61
+ "./themes/vue_ui_xy.json": () => import("./vue_ui_xy-BLUkWEAm.js").then((e) => e.n).then((e) => e.default),
62
+ "./themes/vue_ui_xy_canvas.json": () => import("./vue_ui_xy_canvas-Cb6dg3eK.js").then((e) => e.n).then((e) => e.default)
63
+ })).map(([e, t]) => {
64
+ let n = e.match(/\/themes\/(.+)\.json$/);
65
+ return [n ? n[1] : e, t];
66
+ })), c = /* @__PURE__ */ new Map(), l = async (e) => {
67
+ let t = s[e];
68
+ if (!t) {
69
+ let e = /* @__PURE__ */ Error("ENOENT");
70
+ throw e.code = "ENOENT", e;
71
+ }
72
+ return await t();
73
+ };
74
+ async function u(e) {
75
+ if (!e) return null;
76
+ if (c.has(e)) return c.get(e);
77
+ try {
78
+ let t = await l(e);
79
+ return c.set(e, t), t;
80
+ } catch (t) {
81
+ return console.warn(`[getThemeConfig] Missing theme file: ${e}.json`, t), null;
82
+ }
83
+ }
84
+ //#endregion
85
+ //#region src/data-correction.js
86
+ function d(e, t) {
87
+ if (t <= 0 || e.length < 3) return e;
88
+ let n = e.length, r = Array.from({ length: n });
89
+ for (let i = 0; i < n; i += 1) {
90
+ let n = Math.max(0, i - t), a = 0;
91
+ for (let t = n; t <= i; t += 1) a += e[t].value;
92
+ r[i] = a / (i - n + 1);
93
+ }
94
+ let i = Array.from({ length: n });
95
+ for (let r = 0; r < n; r += 1) {
96
+ let a = Math.min(n - 1, r + t), o = 0;
97
+ for (let t = r; t <= a; t += 1) o += e[t].value;
98
+ i[r] = o / (a - r + 1);
99
+ }
100
+ let a = e.map((e) => ({ ...e }));
101
+ for (let e = 1; e < n - 1; e += 1) {
102
+ let t = e / (n - 1);
103
+ a[e].value = (1 - t) * r[e] + t * i[e];
104
+ }
105
+ return a;
106
+ }
107
+ function f(e, t) {
108
+ if (t <= 0 || e.length < 3) return e;
109
+ let n = 1 / (1 + t), r = e.length, i = Array.from({ length: r });
110
+ i[0] = e[0].value;
111
+ for (let t = 1; t < r; t += 1) i[t] = n * e[t].value + (1 - n) * i[t - 1];
112
+ let a = Array.from({ length: r });
113
+ a[r - 1] = e[r - 1].value;
114
+ for (let t = r - 2; t >= 0; --t) a[t] = n * e[t].value + (1 - n) * a[t + 1];
115
+ let o = e.map((e) => ({ ...e }));
116
+ for (let e = 1; e < r - 1; e += 1) {
117
+ let t = e / (r - 1);
118
+ o[e].value = (1 - t) * i[e] + t * a[e];
119
+ }
120
+ return o;
121
+ }
122
+ function p(e, t) {
123
+ let n = e;
124
+ return n = d(n, t.averageWindow), n = f(n, t.smoothingTau), n;
125
+ }
126
+ //#endregion
127
+ //#region src/useObjectBindings.js
128
+ function m(e, t = [], n = !0) {
129
+ let r = [];
130
+ if (e && typeof e == "object") {
131
+ if (Array.isArray(e) && n) return [];
132
+ for (let i of Object.keys(e)) {
133
+ let a = e[i];
134
+ if (Array.isArray(a) && n) continue;
135
+ let o = t.concat(i);
136
+ a && typeof a == "object" ? r.push(...m(a, o, n)) : r.push(o);
137
+ }
138
+ }
139
+ return r;
140
+ }
141
+ function h(e, t) {
142
+ return t.reduce((e, t) => e?.[t], e);
143
+ }
144
+ function g(e, t, r) {
145
+ let i = n(e) ? e.value : e;
146
+ for (let e = 0; e < t.length - 1; e += 1) {
147
+ let n = t[e];
148
+ (!Object.prototype.hasOwnProperty.call(i, n) || typeof i[n] != "object") && (i[n] = {}), i = i[n];
149
+ }
150
+ i[t[t.length - 1]] = r;
151
+ }
152
+ function _(e, t, n, r) {
153
+ let i = t.split(r), a = e;
154
+ for (let e = 0; e < i.length - 1; e += 1) {
155
+ let t = i[e];
156
+ a[t] || (a[t] = {}), a = a[t];
157
+ }
158
+ a[i[i.length - 1]] = n;
159
+ }
160
+ function v(e, n) {
161
+ let { delimiter: a = ".", skipArrays: o = !0 } = n || {}, s = {};
162
+ function c() {
163
+ Object.keys(s).forEach((e) => delete s[e]);
164
+ let n = m(e.value, [], o);
165
+ for (let r of n) {
166
+ let n = r.join(a);
167
+ s[n] = t({
168
+ get: () => h(e.value, r),
169
+ set: (t) => g(e.value, r, t)
170
+ });
171
+ }
172
+ }
173
+ return i(c), c(), r(new Proxy(s, {
174
+ get(n, r) {
175
+ return typeof r == "string" || r.startsWith("__v_") ? r in n ? Reflect.get(n, r) : (_(e.value, r, void 0, a), s[r] = t({
176
+ get: () => h(e.value, r),
177
+ set: (t) => g(e.value, r, t)
178
+ }), r.startsWith("__v_") || console.warn(`Vue Data UI - useObjectBindings: no binding found for key "${r}". Please verify you are binding to a property path which exists on the object.`), "") : !0;
179
+ },
180
+ set(n, r, i) {
181
+ return typeof r == "string" || r.startsWith("__v_") ? r in n ? Reflect.set(n, r, i) : (_(e.value, r, i, a), s[r] = t({
182
+ get: () => h(e.value, r),
183
+ set: (t) => g(e.value, r, t)
184
+ }), r.startsWith("__v_") || console.warn(`Vue Data UI - useObjectBindings: cannot set unknown binding "${r}".`), !0) : !0;
185
+ }
186
+ }));
187
+ }
188
+ //#endregion
189
+ export { o as i, p as n, u as r, v as t };
@@ -0,0 +1,157 @@
1
+ import { computed as e, onMounted as t, onUnmounted as n, ref as r, watch as i, watchEffect as a } from "vue";
2
+ //#region src/usePanZoom.js
3
+ function o(o, s = {
4
+ x: 0,
5
+ y: 0,
6
+ width: 100,
7
+ height: 100
8
+ }, c = 1, l, u = null) {
9
+ let d = r({ ...s }), f = r({ ...d.value }), p = r(1), m = r(!1), h = r(!1), g = r(0), _ = r(null), v = r(1), y = r({
10
+ x: 0,
11
+ y: 0
12
+ }), b = e(() => f.value.x !== d.value.x || f.value.y !== d.value.y || f.value.width !== d.value.width || f.value.height !== d.value.height), x = null;
13
+ function S(e) {
14
+ if (e.length < 2) return 0;
15
+ let t = e[0].clientX - e[1].clientX, n = e[0].clientY - e[1].clientY;
16
+ return Math.hypot(t, n);
17
+ }
18
+ function C(e) {
19
+ let t = o.value;
20
+ if (!t) return {
21
+ x: 0,
22
+ y: 0
23
+ };
24
+ let n = t.createSVGPoint();
25
+ n.x = e.clientX, n.y = e.clientY;
26
+ let r = t.getScreenCTM()?.inverse();
27
+ return r ? n.matrixTransform(r) : {
28
+ x: 0,
29
+ y: 0
30
+ };
31
+ }
32
+ function w(e, t) {
33
+ let n = o.value;
34
+ if (!n) return {
35
+ dx: 0,
36
+ dy: 0
37
+ };
38
+ let r = Math.max(1, n.clientWidth), i = Math.max(1, n.clientHeight), a = f.value.width / r, s = f.value.height / i;
39
+ return {
40
+ dx: e * a,
41
+ dy: t * s
42
+ };
43
+ }
44
+ function T(e) {
45
+ m.value = !0;
46
+ let t = e.touches?.[0] || e;
47
+ y.value = {
48
+ x: t.clientX,
49
+ y: t.clientY
50
+ }, o.value && (o.value.style.cursor = "grabbing");
51
+ }
52
+ function E(e) {
53
+ if (!m.value) return;
54
+ let t = e.touches?.[0] || e, n = t.clientX - y.value.x, r = t.clientY - y.value.y;
55
+ if (n === 0 && r === 0) return;
56
+ let { dx: i, dy: a } = w(n, r);
57
+ f.value.x -= i, f.value.y -= a, y.value = {
58
+ x: t.clientX,
59
+ y: t.clientY
60
+ };
61
+ }
62
+ function D() {
63
+ m.value = !1, o.value && (o.value.style.cursor = "");
64
+ }
65
+ function O(e) {
66
+ u && u(), e.preventDefault(), j(e.deltaY > 0 ? .9 : 1.1, C(e));
67
+ }
68
+ function k(e) {
69
+ e.preventDefault();
70
+ let t = C(e);
71
+ A(1.5 * (1 + c / 100), t);
72
+ }
73
+ function A(e, t) {
74
+ x && cancelAnimationFrame(x);
75
+ let n = p.value, r = n * e, i = null, a = (e) => e < .5 ? 2 * e * e : -1 + (4 - 2 * e) * e, o = (e) => {
76
+ i ??= e;
77
+ let s = Math.min((e - i) / 200, 1);
78
+ j((n + (r - n) * a(s)) / p.value, t), x = s < 1 ? requestAnimationFrame(o) : null;
79
+ };
80
+ requestAnimationFrame(o);
81
+ }
82
+ function j(e, t) {
83
+ let n = p.value * e, r = n / p.value, i = f.value.width / r, a = f.value.height / r, o = (t.x - f.value.x) * (1 - 1 / r), s = (t.y - f.value.y) * (1 - 1 / r);
84
+ f.value.x += o, f.value.y += s, f.value.width = i, f.value.height = a, p.value = n;
85
+ }
86
+ function M(e) {
87
+ e.touches.length === 2 ? (h.value = !0, g.value = S(e.touches), _.value = { ...f.value }, v.value = p.value) : (e.preventDefault(), T(e));
88
+ }
89
+ function N(e) {
90
+ if (h.value && e.touches.length === 2) {
91
+ e.preventDefault();
92
+ let t = S(e.touches);
93
+ if (!g.value || !t) return;
94
+ let n = t / g.value, r = v.value * n / p.value, i = C({
95
+ clientX: (e.touches[0].clientX + e.touches[1].clientX) / 2,
96
+ clientY: (e.touches[0].clientY + e.touches[1].clientY) / 2
97
+ });
98
+ f.value = { ..._.value }, p.value = v.value, j(r, i);
99
+ } else e.preventDefault(), E(e);
100
+ }
101
+ function P(e) {
102
+ e.touches.length < 2 && (h.value = !1), D();
103
+ }
104
+ function F(e = !1) {
105
+ if (!e) {
106
+ f.value = { ...d.value }, p.value = 1;
107
+ return;
108
+ }
109
+ let t = { ...f.value }, n = p.value, r = null, i = (e) => {
110
+ r ??= e;
111
+ let a = Math.min((e - r) / 300, 1);
112
+ f.value = {
113
+ x: t.x + (d.value.x - t.x) * a,
114
+ y: t.y + (d.value.y - t.y) * a,
115
+ width: t.width + (d.value.width - t.width) * a,
116
+ height: t.height + (d.value.height - t.height) * a
117
+ }, p.value = n + (1 - n) * a, a < 1 && requestAnimationFrame(i);
118
+ };
119
+ requestAnimationFrame(i);
120
+ }
121
+ function I(e, t = {}) {
122
+ let { overwriteCurrentIfNotZoomed: n = !0 } = t, r = f.value.x !== d.value.x || f.value.y !== d.value.y || f.value.width !== d.value.width || f.value.height !== d.value.height;
123
+ d.value = { ...e }, !r && n && (f.value = { ...d.value }, p.value = 1);
124
+ }
125
+ function L() {
126
+ let e = o.value;
127
+ e && (e.addEventListener("mousedown", T), e.addEventListener("mousemove", E), e.addEventListener("mouseup", D), e.addEventListener("mouseleave", D), e.addEventListener("wheel", O, { passive: !1 }), e.addEventListener("dblclick", k), e.addEventListener("touchstart", M, { passive: !1 }), e.addEventListener("touchmove", N, { passive: !1 }), e.addEventListener("touchend", P), e.addEventListener("touchcancel", P));
128
+ }
129
+ function R() {
130
+ let e = o.value;
131
+ e && (e.removeEventListener("mousedown", T), e.removeEventListener("mousemove", E), e.removeEventListener("mouseup", D), e.removeEventListener("mouseleave", D), e.removeEventListener("wheel", O), e.removeEventListener("dblclick", k), e.removeEventListener("touchstart", M), e.removeEventListener("touchmove", N), e.removeEventListener("touchend", P), e.removeEventListener("touchcancel", P));
132
+ }
133
+ t(() => {
134
+ (!l || l.value) && L();
135
+ }), n(R), a(() => {
136
+ if (l) return l.value ? L() : R(), () => R();
137
+ }), i(o, () => {
138
+ R(), (!l || l.value) && L();
139
+ });
140
+ function z(e, t = !1) {
141
+ let n = {
142
+ x: f.value.x + f.value.width / 2,
143
+ y: f.value.y + f.value.height / 2
144
+ };
145
+ t ? A(e, n) : j(e, n);
146
+ }
147
+ return {
148
+ viewBox: f,
149
+ resetZoom: F,
150
+ isZoom: b,
151
+ setInitialViewBox: I,
152
+ scale: p,
153
+ zoomByFactor: z
154
+ };
155
+ }
156
+ //#endregion
157
+ export { o as t };
@@ -0,0 +1,15 @@
1
+ import { onBeforeUnmount as e, onMounted as t, ref as n } from "vue";
2
+ //#region src/usePrefersMotion.js
3
+ function r() {
4
+ let r = n(!1);
5
+ return t(() => {
6
+ let t = window.matchMedia("(prefers-reduced-motion: reduce)"), n = () => {
7
+ r.value = t.matches;
8
+ };
9
+ n(), t.addEventListener("change", n), e(() => {
10
+ t.removeEventListener("change", n);
11
+ });
12
+ }), r;
13
+ }
14
+ //#endregion
15
+ export { r as t };
@@ -0,0 +1,49 @@
1
+ import { ref as e } from "vue";
2
+ //#region src/usePrinter.js
3
+ function t({ elementId: t, fileName: n, canPrint: r = !0, options: i }) {
4
+ let a = e(!1), o = e(!1), s = e(null);
5
+ async function c() {
6
+ !r || a.value || (a.value = !0, clearTimeout(s.value), s.value = setTimeout(async () => {
7
+ if (r) try {
8
+ let { default: e } = await import("./pdf-D0eZ99cP.js");
9
+ await e({
10
+ domElement: document.getElementById(t),
11
+ fileName: n,
12
+ orientation: i.orientation,
13
+ overflowTolerance: i.overflowTolerance,
14
+ scale: i.scale,
15
+ aspectRatio: i.aspectRatio ?? null
16
+ });
17
+ } catch (e) {
18
+ console.error("Error generating PDF:", e);
19
+ } finally {
20
+ a.value = !1;
21
+ }
22
+ }, 100));
23
+ }
24
+ async function l() {
25
+ !r || o.value || (o.value = !0, clearTimeout(s.value), s.value = setTimeout(async () => {
26
+ if (r) try {
27
+ let { default: e } = await import("./img-1cKsci8e.js").then((e) => e.n);
28
+ await e({
29
+ domElement: document.getElementById(t),
30
+ fileName: n,
31
+ format: "png",
32
+ options: i
33
+ });
34
+ } catch (e) {
35
+ console.error("Error generating image:", e);
36
+ } finally {
37
+ o.value = !1;
38
+ }
39
+ }, 100));
40
+ }
41
+ return {
42
+ generatePdf: c,
43
+ generateImage: l,
44
+ isPrinting: a,
45
+ isImaging: o
46
+ };
47
+ }
48
+ //#endregion
49
+ export { t };
@@ -0,0 +1,19 @@
1
+ //#region src/useResponsive.js
2
+ function e({ chart: e, title: t = null, slicer: n = null, legend: r = null, source: i = null, noTitle: a = null, padding: o = null }) {
3
+ let s = 0, c = 0, l = 0, u = 0, d = 0, f = 0, p = 0, m = 0, h = 0;
4
+ if (e) {
5
+ let { height: g, width: _ } = e.parentNode.getBoundingClientRect();
6
+ l = t ? t.getBoundingClientRect().height : 0, u = n ? n.getBoundingClientRect().height : 0, d = r ? r.getBoundingClientRect().height : 0, f = i ? i.getBoundingClientRect().height : 0, p = a ? a.getBoundingClientRect().height : 0, o ? (m = o.top + o.bottom, h = o.right + o.left) : (m = 0, h = 0), s = g - l - u - d - f - p - m, c = _ - h;
7
+ }
8
+ return {
9
+ width: c,
10
+ height: s,
11
+ heightTitle: l,
12
+ heightNoTitle: p,
13
+ heightSource: f,
14
+ heightNoTitle: p,
15
+ heightLegend: d
16
+ };
17
+ }
18
+ //#endregion
19
+ export { e as t };
@@ -0,0 +1,77 @@
1
+ import { nextTick as e, onBeforeUnmount as t, ref as n } from "vue";
2
+ //#region src/useStableElementSize.js
3
+ function r(e, t) {
4
+ return Number.isFinite(e) && Number.isFinite(t);
5
+ }
6
+ function i(e, t) {
7
+ return e.width === t.width && e.height === t.height;
8
+ }
9
+ function a({ elementRef: a, minimumWidth: o = 2, minimumHeight: s = 2, stableFramesRequired: c = 2, once: l = !1, onSizeAccepted: u }) {
10
+ let d = n(0), f = n(0), p = n(!1), m = null, h = 0, g = {
11
+ width: 0,
12
+ height: 0
13
+ }, _ = 0, v = !1;
14
+ function y() {
15
+ h &&= (cancelAnimationFrame(h), 0);
16
+ }
17
+ function b(e, t) {
18
+ return !(!r(e, t) || e < o || t < s);
19
+ }
20
+ function x() {
21
+ y(), m &&= (m.disconnect(), null);
22
+ }
23
+ function S(e, t) {
24
+ d.value = e, f.value = t, p.value = !0, typeof u == "function" && u({
25
+ width: e,
26
+ height: t
27
+ }), v = !0, l && x();
28
+ }
29
+ function C(e, t) {
30
+ if (l && v) return;
31
+ if (!b(e, t)) {
32
+ p.value = !1, _ = 0, g = {
33
+ width: 0,
34
+ height: 0
35
+ };
36
+ return;
37
+ }
38
+ let n = {
39
+ width: e,
40
+ height: t
41
+ };
42
+ i(n, g) ? _ += 1 : (_ = 1, g = n), _ >= c && S(e, t);
43
+ }
44
+ function w() {
45
+ let e = a.value;
46
+ if (!e) {
47
+ p.value = !1;
48
+ return;
49
+ }
50
+ let t = e.getBoundingClientRect();
51
+ C(Math.round(t.width), Math.round(t.height));
52
+ }
53
+ function T(e = 2) {
54
+ y();
55
+ let t = e, n = () => {
56
+ w(), --t, h = t > 0 ? requestAnimationFrame(n) : 0;
57
+ };
58
+ h = requestAnimationFrame(n);
59
+ }
60
+ async function E() {
61
+ await e(), T(2);
62
+ let t = a.value;
63
+ t && (m &&= (m.disconnect(), null), m = new ResizeObserver(() => {
64
+ l && v || (p.value = !1, _ = 0, T(2));
65
+ }), m.observe(t));
66
+ }
67
+ return t(x), {
68
+ width: d,
69
+ height: f,
70
+ isStable: p,
71
+ start: E,
72
+ stop: x,
73
+ measureOnce: w
74
+ };
75
+ }
76
+ //#endregion
77
+ export { a as t };