vue-data-ui 3.20.0 → 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-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-xcyrdRmY.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-qpQv-4uP.js +0 -274
  202. package/dist/vue-data-ui.js +0 -76
  203. package/dist/vue-ui-3d-bar-C8cputoI.js +0 -1757
  204. package/dist/vue-ui-accordion-Dw4MHKVB.js +0 -81
  205. package/dist/vue-ui-age-pyramid-Cv2Ndbb5.js +0 -1238
  206. package/dist/vue-ui-annotator-DLPUAKlm.js +0 -2899
  207. package/dist/vue-ui-bullet-DLxmtMJ9.js +0 -710
  208. package/dist/vue-ui-bump-DVaqtZbd.js +0 -1249
  209. package/dist/vue-ui-candlestick-CkApimw1.js +0 -1826
  210. package/dist/vue-ui-carousel-table-CbfIBWl3.js +0 -455
  211. package/dist/vue-ui-chestnut-CQT4nCFL.js +0 -2010
  212. package/dist/vue-ui-chord-8IjSrg6f.js +0 -1391
  213. package/dist/vue-ui-circle-pack-B1CpTtpw.js +0 -1608
  214. package/dist/vue-ui-cursor-NaTj5i2-.js +0 -283
  215. package/dist/vue-ui-dag-DH4ocx0S.js +0 -2909
  216. package/dist/vue-ui-dashboard-Ckff1yim.js +0 -513
  217. package/dist/vue-ui-digits-DwLlJqbW.js +0 -209
  218. package/dist/vue-ui-donut-DQdIdwRU.js +0 -2410
  219. package/dist/vue-ui-donut-evolution-MfM5kK6w.js +0 -1510
  220. package/dist/vue-ui-dumbbell-B2T4vlK-.js +0 -1530
  221. package/dist/vue-ui-flow-CJh6f72m.js +0 -1235
  222. package/dist/vue-ui-funnel-C9gfXNCr.js +0 -777
  223. package/dist/vue-ui-galaxy-pBR_FESJ.js +0 -1077
  224. package/dist/vue-ui-gauge-CAemxCGl.js +0 -920
  225. package/dist/vue-ui-geo-BDQqaukJ.js +0 -1516
  226. package/dist/vue-ui-gizmo-B1ppjqPj.js +0 -225
  227. package/dist/vue-ui-heatmap-BiC9xp8L.js +0 -1568
  228. package/dist/vue-ui-history-plot-iAPjlOja.js +0 -1554
  229. package/dist/vue-ui-horizontal-bar-CcgClgLg.js +0 -1681
  230. package/dist/vue-ui-kpi-CJ5oyYLS.js +0 -96
  231. package/dist/vue-ui-mini-loader-CyqBt2g4.js +0 -125
  232. package/dist/vue-ui-molecule-Cg9ZHa6b.js +0 -925
  233. package/dist/vue-ui-mood-radar-N8osOTFR.js +0 -1148
  234. package/dist/vue-ui-nested-donuts-CwH3wKgX.js +0 -1487
  235. package/dist/vue-ui-onion-C56gFjO6.js +0 -1200
  236. package/dist/vue-ui-parallel-coordinate-plot-C-jj819p.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-DYc9xZY3.js +0 -1978
  240. package/dist/vue-ui-quick-chart-BG7kK_-q.js +0 -2469
  241. package/dist/vue-ui-radar-CgKog9Xw.js +0 -1229
  242. package/dist/vue-ui-rating-BG4lf1z8.js +0 -343
  243. package/dist/vue-ui-relation-circle-D-rUk-0P.js +0 -924
  244. package/dist/vue-ui-ridgeline-DPrlVJTW.js +0 -1622
  245. package/dist/vue-ui-rings-CIvvHHsF.js +0 -1246
  246. package/dist/vue-ui-scatter-CeBQJbGx.js +0 -2413
  247. package/dist/vue-ui-skeleton-BKoa_G6d.js +0 -2556
  248. package/dist/vue-ui-smiley-G89TxRU-.js +0 -356
  249. package/dist/vue-ui-spark-trend-DGOrPr9I.js +0 -438
  250. package/dist/vue-ui-sparkbar-BVumo-YD.js +0 -393
  251. package/dist/vue-ui-sparkgauge-BoCwdQcu.js +0 -255
  252. package/dist/vue-ui-sparkhistogram-4qXY1LXW.js +0 -560
  253. package/dist/vue-ui-sparkline-C0kzXrwI.js +0 -1507
  254. package/dist/vue-ui-sparkstackbar-DG7hz_KM.js +0 -662
  255. package/dist/vue-ui-stackbar-Dnq4l5xs.js +0 -2270
  256. package/dist/vue-ui-stackline-CaNOHQYl.js +0 -2398
  257. package/dist/vue-ui-strip-plot-D2CcJw_5.js +0 -1340
  258. package/dist/vue-ui-table-NBQrkVnO.js +0 -1338
  259. package/dist/vue-ui-table-heatmap-CCGjbSzQ.js +0 -344
  260. package/dist/vue-ui-table-sparkline-BZDkOEEl.js +0 -707
  261. package/dist/vue-ui-thermometer-BXyHOQ7T.js +0 -763
  262. package/dist/vue-ui-timer-CcLK1wbi.js +0 -439
  263. package/dist/vue-ui-tiremarks-B6txvBg-.js +0 -552
  264. package/dist/vue-ui-treemap-O3SBpD3K.js +0 -1587
  265. package/dist/vue-ui-waffle-DN5zG3b0.js +0 -1362
  266. package/dist/vue-ui-wheel-CxnJGXkX.js +0 -885
  267. package/dist/vue-ui-word-cloud-CM5yPCXb.js +0 -1656
  268. package/dist/vue-ui-world-DCPgXKxh.js +0 -14264
  269. package/dist/vue-ui-xy-canvas-BUPnRZ3C.js +0 -1787
  270. package/dist/vue-ui-xy-lfMIx0wK.js +0 -4578
  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,63 +0,0 @@
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 };
@@ -1,10 +0,0 @@
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 };
@@ -1,189 +0,0 @@
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 };
@@ -1,157 +0,0 @@
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 };
@@ -1,15 +0,0 @@
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 };
@@ -1,49 +0,0 @@
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 };
@@ -1,19 +0,0 @@
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 };
@@ -1,77 +0,0 @@
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 };