vue-data-ui 3.17.13 → 3.18.0

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 (493) hide show
  1. package/README.md +1 -1
  2. package/dist/A11yDataTable-q2-8fSlJ.js +45 -0
  3. package/dist/Arrow-BU2Z7mfz.js +116 -0
  4. package/dist/BaseDraggableDialog-LE75fWYz.js +272 -0
  5. package/dist/BaseIcon-CL6Y7alf.js +499 -0
  6. package/dist/BaseLegendToggle-BvPOFMVZ.js +56 -0
  7. package/dist/BaseScanner-C7dmAref.js +27 -0
  8. package/dist/BaseZoomControls-DSwf4HhS.js +111 -0
  9. package/dist/ColorPicker-BGbMrtup.js +255 -0
  10. package/dist/DataTable-ZG4GX2Zg.js +150 -0
  11. package/dist/Legend-BPb8i4aC.js +114 -0
  12. package/dist/NonSvgPenAndPaper-BT3YMjgo.js +577 -0
  13. package/dist/PackageVersion-B1cPtZ3Q.js +11 -0
  14. package/dist/PenAndPaper-DxBCVZAx.js +461 -0
  15. package/dist/RecursiveCircles-DPpLel6f.js +117 -0
  16. package/dist/RecursiveLabels-DBMJf_to.js +56 -0
  17. package/dist/RecursiveLinks-D06dBL4a.js +78 -0
  18. package/dist/Shape-Dbug7CtK.js +141 -0
  19. package/dist/Slicer-SEdaKYPX.js +1144 -0
  20. package/dist/SlicerPreview-BLlQTUI_.js +1523 -0
  21. package/dist/SparkTooltip-BaONR2nq.js +93 -0
  22. package/dist/Title-ByyzJzpc.js +87 -0
  23. package/dist/Tooltip-V6Z0Ko-1.js +307 -0
  24. package/dist/UserOptions-Gaw1761w.js +1407 -0
  25. package/dist/_plugin-vue_export-helper-Dq1MygBL.js +8 -0
  26. package/dist/canvas-lib-DTaADQOK.js +79 -0
  27. package/dist/components/arrow.js +2 -5
  28. package/dist/components/vue-ui-3d-bar.js +2 -5
  29. package/dist/components/vue-ui-accordion.js +2 -5
  30. package/dist/components/vue-ui-age-pyramid.js +2 -5
  31. package/dist/components/vue-ui-annotator.js +2 -5
  32. package/dist/components/vue-ui-bullet.js +2 -5
  33. package/dist/components/vue-ui-bump.js +2 -5
  34. package/dist/components/vue-ui-candlestick.js +2 -5
  35. package/dist/components/vue-ui-carousel-table.js +2 -5
  36. package/dist/components/vue-ui-chestnut.js +2 -5
  37. package/dist/components/vue-ui-chord.js +2 -5
  38. package/dist/components/vue-ui-circle-pack.js +2 -5
  39. package/dist/components/vue-ui-cursor.js +2 -5
  40. package/dist/components/vue-ui-dag.js +2 -5
  41. package/dist/components/vue-ui-dashboard.js +2 -5
  42. package/dist/components/vue-ui-digits.js +2 -5
  43. package/dist/components/vue-ui-donut-evolution.js +2 -5
  44. package/dist/components/vue-ui-donut.js +2 -5
  45. package/dist/components/vue-ui-dumbbell.js +2 -5
  46. package/dist/components/vue-ui-flow.js +2 -5
  47. package/dist/components/vue-ui-funnel.js +2 -5
  48. package/dist/components/vue-ui-galaxy.js +2 -5
  49. package/dist/components/vue-ui-gauge.js +2 -5
  50. package/dist/components/vue-ui-geo.js +2 -5
  51. package/dist/components/vue-ui-gizmo.js +2 -5
  52. package/dist/components/vue-ui-heatmap.js +2 -5
  53. package/dist/components/vue-ui-history-plot.js +2 -5
  54. package/dist/components/vue-ui-horizontal-bar.js +2 -5
  55. package/dist/components/vue-ui-icon.js +2 -5
  56. package/dist/components/vue-ui-kpi.js +2 -5
  57. package/dist/components/vue-ui-mini-loader.js +2 -5
  58. package/dist/components/vue-ui-molecule.js +2 -5
  59. package/dist/components/vue-ui-mood-radar.js +2 -5
  60. package/dist/components/vue-ui-nested-donuts.js +2 -5
  61. package/dist/components/vue-ui-onion.js +2 -5
  62. package/dist/components/vue-ui-parallel-coordinate-plot.js +2 -5
  63. package/dist/components/vue-ui-pattern-seed.js +2 -5
  64. package/dist/components/vue-ui-pattern.js +2 -5
  65. package/dist/components/vue-ui-quadrant.js +2 -5
  66. package/dist/components/vue-ui-quick-chart.js +2 -5
  67. package/dist/components/vue-ui-radar.js +2 -5
  68. package/dist/components/vue-ui-rating.js +2 -5
  69. package/dist/components/vue-ui-relation-circle.js +2 -5
  70. package/dist/components/vue-ui-ridgeline.js +2 -5
  71. package/dist/components/vue-ui-rings.js +2 -5
  72. package/dist/components/vue-ui-scatter.js +2 -5
  73. package/dist/components/vue-ui-skeleton.js +2 -5
  74. package/dist/components/vue-ui-smiley.js +2 -5
  75. package/dist/components/vue-ui-spark-trend.js +2 -5
  76. package/dist/components/vue-ui-sparkbar.js +2 -5
  77. package/dist/components/vue-ui-sparkgauge.js +2 -5
  78. package/dist/components/vue-ui-sparkhistogram.js +2 -5
  79. package/dist/components/vue-ui-sparkline.js +2 -5
  80. package/dist/components/vue-ui-sparkstackbar.js +2 -5
  81. package/dist/components/vue-ui-stackbar.js +2 -5
  82. package/dist/components/vue-ui-stackline.js +2 -5
  83. package/dist/components/vue-ui-strip-plot.js +2 -5
  84. package/dist/components/vue-ui-table-heatmap.js +2 -5
  85. package/dist/components/vue-ui-table-sparkline.js +2 -5
  86. package/dist/components/vue-ui-table.js +2 -5
  87. package/dist/components/vue-ui-thermometer.js +2 -5
  88. package/dist/components/vue-ui-timer.js +2 -5
  89. package/dist/components/vue-ui-tiremarks.js +2 -5
  90. package/dist/components/vue-ui-treemap.js +2 -5
  91. package/dist/components/vue-ui-vertical-bar.js +2 -5
  92. package/dist/components/vue-ui-waffle.js +2 -5
  93. package/dist/components/vue-ui-wheel.js +2 -5
  94. package/dist/components/vue-ui-word-cloud.js +2 -5
  95. package/dist/components/vue-ui-world.js +2 -5
  96. package/dist/components/vue-ui-xy-canvas.js +2 -5
  97. package/dist/components/vue-ui-xy.js +2 -5
  98. package/dist/dom-to-png-C9UOX1d2.js +237 -0
  99. package/dist/exposedLib-BQjH823l.js +19 -0
  100. package/dist/geoProjections-CQIkC70z.js +146 -0
  101. package/dist/img-NMY-_LiJ.js +74 -0
  102. package/dist/labelUtils-BiSegLOT.js +19 -0
  103. package/dist/lib-B83ZCydz.js +1879 -0
  104. package/dist/patternUtils-B7BWu5bV.js +258 -0
  105. package/dist/pdf-Ey2KFETK.js +90 -0
  106. package/dist/rolldown-runtime-CAFD8bLK.js +11 -0
  107. package/dist/style.css +2 -1
  108. package/dist/types/arrow.d.ts +1 -1
  109. package/dist/types/utils.d.ts +23 -0
  110. package/dist/types/vue-data-ui.d.ts +4766 -630
  111. package/dist/types/vue-ui-3d-bar.d.ts +64 -9
  112. package/dist/types/vue-ui-accordion.d.ts +4 -3
  113. package/dist/types/vue-ui-age-pyramid.d.ts +79 -9
  114. package/dist/types/vue-ui-annotator.d.ts +3 -5
  115. package/dist/types/vue-ui-bullet.d.ts +60 -9
  116. package/dist/types/vue-ui-bump.d.ts +65 -9
  117. package/dist/types/vue-ui-candlestick.d.ts +83 -9
  118. package/dist/types/vue-ui-carousel-table.d.ts +36 -6
  119. package/dist/types/vue-ui-chestnut.d.ts +66 -9
  120. package/dist/types/vue-ui-chord.d.ts +78 -9
  121. package/dist/types/vue-ui-circle-pack.d.ts +86 -9
  122. package/dist/types/vue-ui-cursor.d.ts +4 -2
  123. package/dist/types/vue-ui-dag.d.ts +92 -9
  124. package/dist/types/vue-ui-dashboard.d.ts +43 -6
  125. package/dist/types/vue-ui-digits.d.ts +4 -2
  126. package/dist/types/vue-ui-donut-evolution.d.ts +70 -9
  127. package/dist/types/vue-ui-donut.d.ts +92 -9
  128. package/dist/types/vue-ui-dumbbell.d.ts +65 -9
  129. package/dist/types/vue-ui-flow.d.ts +79 -9
  130. package/dist/types/vue-ui-funnel.d.ts +55 -9
  131. package/dist/types/vue-ui-galaxy.d.ts +83 -9
  132. package/dist/types/vue-ui-gauge.d.ts +64 -9
  133. package/dist/types/vue-ui-geo.d.ts +71 -9
  134. package/dist/types/vue-ui-gizmo.d.ts +17 -6
  135. package/dist/types/vue-ui-heatmap.d.ts +73 -9
  136. package/dist/types/vue-ui-history-plot.d.ts +82 -9
  137. package/dist/types/vue-ui-horizontal-bar.d.ts +84 -9
  138. package/dist/types/vue-ui-icon.d.ts +2 -2
  139. package/dist/types/vue-ui-kpi.d.ts +21 -7
  140. package/dist/types/vue-ui-mini-loader.d.ts +5 -3
  141. package/dist/types/vue-ui-molecule.d.ts +86 -9
  142. package/dist/types/vue-ui-mood-radar.d.ts +66 -9
  143. package/dist/types/vue-ui-nested-donuts.d.ts +80 -9
  144. package/dist/types/vue-ui-onion.d.ts +77 -9
  145. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +92 -9
  146. package/dist/types/vue-ui-pattern-seed.d.ts +1 -1
  147. package/dist/types/vue-ui-pattern.d.ts +2 -2
  148. package/dist/types/vue-ui-quadrant.d.ts +86 -9
  149. package/dist/types/vue-ui-quick-chart.d.ts +79 -9
  150. package/dist/types/vue-ui-radar.d.ts +83 -9
  151. package/dist/types/vue-ui-rating.d.ts +22 -6
  152. package/dist/types/vue-ui-relation-circle.d.ts +66 -9
  153. package/dist/types/vue-ui-ridgeline.d.ts +69 -9
  154. package/dist/types/vue-ui-rings.d.ts +70 -9
  155. package/dist/types/vue-ui-scatter.d.ts +67 -9
  156. package/dist/types/vue-ui-skeleton.d.ts +3 -2
  157. package/dist/types/vue-ui-smiley.d.ts +3 -2
  158. package/dist/types/vue-ui-spark-trend.d.ts +14 -6
  159. package/dist/types/vue-ui-sparkbar.d.ts +27 -6
  160. package/dist/types/vue-ui-sparkgauge.d.ts +20 -6
  161. package/dist/types/vue-ui-sparkhistogram.d.ts +24 -6
  162. package/dist/types/vue-ui-sparkline.d.ts +35 -6
  163. package/dist/types/vue-ui-sparkstackbar.d.ts +35 -6
  164. package/dist/types/vue-ui-stackbar.d.ts +85 -9
  165. package/dist/types/vue-ui-stackline.d.ts +81 -9
  166. package/dist/types/vue-ui-strip-plot.d.ts +66 -9
  167. package/dist/types/vue-ui-table-heatmap.d.ts +52 -6
  168. package/dist/types/vue-ui-table-sparkline.d.ts +30 -6
  169. package/dist/types/vue-ui-table.d.ts +10 -2
  170. package/dist/types/vue-ui-thermometer.d.ts +46 -9
  171. package/dist/types/vue-ui-timer.d.ts +31 -5
  172. package/dist/types/vue-ui-tiremarks.d.ts +46 -9
  173. package/dist/types/vue-ui-treemap.d.ts +73 -9
  174. package/dist/types/vue-ui-vertical-bar.d.ts +2 -2
  175. package/dist/types/vue-ui-waffle.d.ts +72 -9
  176. package/dist/types/vue-ui-wheel.d.ts +46 -9
  177. package/dist/types/vue-ui-word-cloud.d.ts +73 -9
  178. package/dist/types/vue-ui-world.d.ts +68 -9
  179. package/dist/types/vue-ui-xy-canvas.d.ts +75 -9
  180. package/dist/types/vue-ui-xy.d.ts +108 -10
  181. package/dist/useAutoSizeLabelsInsideViewbox-De0rTecW.js +50 -0
  182. package/dist/useChartAccessibility-Do37qcw2.js +12 -0
  183. package/dist/useConfig-KnOLHtlJ.js +7419 -0
  184. package/dist/useFitSvgText-C-MEdAfe.js +63 -0
  185. package/dist/useNestedProp-CcxL1gUU.js +10 -0
  186. package/dist/useObjectBindings-Dc8Rf6Qy.js +189 -0
  187. package/dist/usePanZoom-B-4M_gmY.js +157 -0
  188. package/dist/usePrefersMotion-BywLbIko.js +15 -0
  189. package/dist/usePrinter-CMLF900n.js +49 -0
  190. package/dist/useResponsive-CrAInupd.js +19 -0
  191. package/dist/useStableElementSize-0I1IpHPl.js +77 -0
  192. package/dist/useSvgExport-Dtu973wa.js +755 -0
  193. package/dist/useTableResponsive-DrM1xqII.js +24 -0
  194. package/dist/useThemeCheck-rFK9Zlb_.js +24 -0
  195. package/dist/useTimeLabelCollider-Dm55Emzg.js +57 -0
  196. package/dist/useTimeLabels-C0x7zUXP.js +272 -0
  197. package/dist/useUserOptionState-CjPJPTg2.js +15 -0
  198. package/dist/utils.js +27 -44
  199. package/dist/vClickOutside-CbX_bC9A.js +13 -0
  200. package/dist/vue-data-ui-D1REqS_k.js +274 -0
  201. package/dist/vue-data-ui.js +76 -167
  202. package/dist/vue-ui-3d-bar-vO_kSCd6.js +1747 -0
  203. package/dist/vue-ui-accordion-Cf-jZELj.js +81 -0
  204. package/dist/vue-ui-age-pyramid-DHXhrP_3.js +1226 -0
  205. package/dist/vue-ui-annotator-B0o6czmF.js +2899 -0
  206. package/dist/vue-ui-bullet-C93-cf0H.js +700 -0
  207. package/dist/vue-ui-bump-C_Szk9AZ.js +1239 -0
  208. package/dist/vue-ui-candlestick-6JdMEJKO.js +1802 -0
  209. package/dist/vue-ui-carousel-table-CZ_HK0Iw.js +445 -0
  210. package/dist/vue-ui-chestnut-B8ixU585.js +2000 -0
  211. package/dist/vue-ui-chord-DC5sLapz.js +1381 -0
  212. package/dist/vue-ui-circle-pack-CsmSEwt3.js +1183 -0
  213. package/dist/vue-ui-cursor-B-QODIL3.js +283 -0
  214. package/dist/vue-ui-dag-C9LYfjS_.js +2899 -0
  215. package/dist/vue-ui-dashboard-D-f4ZaLi.js +503 -0
  216. package/dist/vue-ui-digits-CcB3odN7.js +209 -0
  217. package/dist/vue-ui-donut-DR0ngnZC.js +2396 -0
  218. package/dist/vue-ui-donut-evolution-BXpOscCe.js +1490 -0
  219. package/dist/vue-ui-dumbbell-CB_clJWA.js +1517 -0
  220. package/dist/vue-ui-flow-CUiOAEy1.js +1223 -0
  221. package/dist/vue-ui-funnel-BAlGDK0o.js +767 -0
  222. package/dist/vue-ui-galaxy-DbYNfSHb.js +1062 -0
  223. package/dist/vue-ui-gauge-Cie7jykM.js +910 -0
  224. package/dist/vue-ui-geo-Ce_gBRye.js +1504 -0
  225. package/dist/vue-ui-gizmo-B9POi_SN.js +225 -0
  226. package/dist/vue-ui-heatmap-DFfRSbnk.js +1556 -0
  227. package/dist/vue-ui-history-plot-DHp5WFgx.js +1551 -0
  228. package/dist/vue-ui-horizontal-bar-DI4yoARv.js +1669 -0
  229. package/dist/vue-ui-kpi-oUfso4UP.js +96 -0
  230. package/dist/vue-ui-mini-loader-aZMi1_uX.js +125 -0
  231. package/dist/vue-ui-molecule-D72kzel_.js +912 -0
  232. package/dist/vue-ui-mood-radar-Tw2ZFP7Y.js +1138 -0
  233. package/dist/vue-ui-nested-donuts-Bza1LczX.js +1472 -0
  234. package/dist/vue-ui-onion-BOuuib5d.js +1188 -0
  235. package/dist/vue-ui-parallel-coordinate-plot-BuQUq6-o.js +1413 -0
  236. package/dist/vue-ui-pattern-Bj-IPFr2.js +154 -0
  237. package/dist/vue-ui-pattern-seed-abRweCDE.js +61 -0
  238. package/dist/vue-ui-quadrant-zNFIXNt9.js +1966 -0
  239. package/dist/vue-ui-quick-chart-B1a8QVUn.js +2459 -0
  240. package/dist/vue-ui-radar-VFn-YP_2.js +1214 -0
  241. package/dist/vue-ui-rating-Dxgn21FA.js +343 -0
  242. package/dist/vue-ui-relation-circle-B0sZaCgX.js +914 -0
  243. package/dist/vue-ui-ridgeline-BsBAbg5V.js +1612 -0
  244. package/dist/vue-ui-rings-CDwUzMF-.js +1231 -0
  245. package/dist/vue-ui-scatter-Du_b-zM8.js +2380 -0
  246. package/dist/vue-ui-skeleton-BAq6J_6G.js +2556 -0
  247. package/dist/vue-ui-smiley-CoHvkS0c.js +356 -0
  248. package/dist/vue-ui-spark-trend-BmCcJ17C.js +438 -0
  249. package/dist/vue-ui-sparkbar-9z05IMx8.js +393 -0
  250. package/dist/vue-ui-sparkgauge-BlWri9DP.js +255 -0
  251. package/dist/vue-ui-sparkhistogram-CHZTt8d8.js +560 -0
  252. package/dist/vue-ui-sparkline-DirLW9Nd.js +1503 -0
  253. package/dist/vue-ui-sparkstackbar-Dk6cEI2o.js +660 -0
  254. package/dist/vue-ui-stackbar-DNIrGHkt.js +2235 -0
  255. package/dist/vue-ui-stackline-HoWn_ur2.js +2362 -0
  256. package/dist/vue-ui-strip-plot-Bi8u_fLr.js +1328 -0
  257. package/dist/vue-ui-table-XLjOOfdI.js +1338 -0
  258. package/dist/vue-ui-table-heatmap-DvnFiveI.js +334 -0
  259. package/dist/vue-ui-table-sparkline-CSZf8XxP.js +697 -0
  260. package/dist/vue-ui-thermometer-7eUO_7CP.js +753 -0
  261. package/dist/vue-ui-timer-DCbxsREb.js +439 -0
  262. package/dist/vue-ui-tiremarks-p_sfTufv.js +542 -0
  263. package/dist/vue-ui-treemap-BdZOW7TM.js +1575 -0
  264. package/dist/vue-ui-waffle-Bf9dWWCM.js +1350 -0
  265. package/dist/vue-ui-wheel-CZrIiB0K.js +875 -0
  266. package/dist/vue-ui-word-cloud-BeLjxoRe.js +1644 -0
  267. package/dist/vue-ui-world-D9ahzEQ2.js +14252 -0
  268. package/dist/vue-ui-xy-DrvbVuHO.js +4063 -0
  269. package/dist/vue-ui-xy-canvas-DU7vFrQr.js +1774 -0
  270. package/dist/vue_ui_3d_bar-CXKqO5Ej.js +185 -0
  271. package/dist/vue_ui_age_pyramid-BON8QI6X.js +301 -0
  272. package/dist/vue_ui_bullet-CE5sFT7u.js +186 -0
  273. package/dist/vue_ui_bump-frnXaXul.js +201 -0
  274. package/dist/vue_ui_candlestick-sY6UtOop.js +374 -0
  275. package/dist/vue_ui_chestnut-BiUZFv40.js +305 -0
  276. package/dist/vue_ui_chord-DpyR_b9A.js +275 -0
  277. package/dist/vue_ui_circle_pack-DBKz_Fi_.js +130 -0
  278. package/dist/vue_ui_dag-Ci_MOnvd.js +258 -0
  279. package/dist/vue_ui_donut-Cx2_BGcQ.js +358 -0
  280. package/dist/vue_ui_donut_evolution-CAJefrHs.js +717 -0
  281. package/dist/vue_ui_dumbbell-CClzAZTN.js +304 -0
  282. package/dist/vue_ui_flow-CCHO1Lo9.js +238 -0
  283. package/dist/vue_ui_funnel-h8q2mRpC.js +234 -0
  284. package/dist/vue_ui_galaxy-70vtkEBw.js +265 -0
  285. package/dist/vue_ui_gauge-C17CgfzN.js +178 -0
  286. package/dist/vue_ui_geo-C0UbQ0Lc.js +248 -0
  287. package/dist/vue_ui_heatmap-BqPP3J4M.js +319 -0
  288. package/dist/vue_ui_history_plot-C5nytDHh.js +413 -0
  289. package/dist/vue_ui_horizontal_bar-Bqxorkc_.js +341 -0
  290. package/dist/vue_ui_molecule-Dka4JBOp.js +231 -0
  291. package/dist/vue_ui_mood_radar-Dg4ijm53.js +281 -0
  292. package/dist/vue_ui_nested_donuts-BY9cOoHF.js +273 -0
  293. package/dist/vue_ui_onion-DTV9cup-.js +293 -0
  294. package/dist/vue_ui_parallel_coordinate_plot-CNWrDh96.js +278 -0
  295. package/dist/vue_ui_quadrant-3kjYvxpj.js +428 -0
  296. package/dist/vue_ui_quick_chart--VaYQuM4.js +139 -0
  297. package/dist/vue_ui_radar-Dxx9GJmj.js +306 -0
  298. package/dist/vue_ui_relation_circle-Cr0I2SoU.js +98 -0
  299. package/dist/vue_ui_ridgeline-CAtYca4b.js +767 -0
  300. package/dist/vue_ui_rings-DXC1VeX5.js +320 -0
  301. package/dist/vue_ui_scatter-D2S2j0ap.js +479 -0
  302. package/dist/vue_ui_spark_trend-BHMQ6_1p.js +82 -0
  303. package/dist/vue_ui_sparkbar-BR6hbuDE.js +64 -0
  304. package/dist/vue_ui_sparkgauge-xfPRHnMv.js +90 -0
  305. package/dist/vue_ui_sparkhistogram-CJRENZ1C.js +123 -0
  306. package/dist/vue_ui_sparkline-wgk7yO7E.js +151 -0
  307. package/dist/vue_ui_sparkstackbar-C5qZMmAl.js +175 -0
  308. package/dist/vue_ui_stackbar-BW_C3MXw.js +412 -0
  309. package/dist/vue_ui_stackline-DpI2LnjO.js +426 -0
  310. package/dist/vue_ui_strip_plot-8ZelqC5b.js +301 -0
  311. package/dist/vue_ui_table_heatmap-BGUjA0WA.js +80 -0
  312. package/dist/vue_ui_table_sparkline-i0Q-N_we.js +124 -0
  313. package/dist/vue_ui_thermometer-CuN7Gpez.js +123 -0
  314. package/dist/vue_ui_tiremarks-A6UHC0c3.js +122 -0
  315. package/dist/vue_ui_treemap-BQp06q-g.js +328 -0
  316. package/dist/vue_ui_vertical_bar-CJSD1FZS.js +247 -0
  317. package/dist/vue_ui_waffle-C_Ev4l7B.js +292 -0
  318. package/dist/vue_ui_wheel-DdkTPXJU.js +133 -0
  319. package/dist/vue_ui_word_cloud-B1PbsYPc.js +254 -0
  320. package/dist/vue_ui_xy-BYPqfYyx.js +482 -0
  321. package/dist/vue_ui_xy_canvas-CMHGNrLf.js +408 -0
  322. package/package.json +7 -7
  323. package/dist/A11yDataTable-BpmuNomI.js +0 -54
  324. package/dist/Arrow-dSvLFssU.js +0 -101
  325. package/dist/BaseDraggableDialog-Di8Hlru3.js +0 -249
  326. package/dist/BaseIcon-DX0hTWa-.js +0 -476
  327. package/dist/BaseLegendToggle-cMP8M2u0.js +0 -47
  328. package/dist/BaseScanner-C2j3TsSY.js +0 -36
  329. package/dist/BaseZoomControls-CVSC1-SU.js +0 -123
  330. package/dist/ColorPicker-bAxGcXK0.js +0 -271
  331. package/dist/DataTable-cMnb68Ik.js +0 -145
  332. package/dist/Legend-DGN5lY60.js +0 -104
  333. package/dist/NonSvgPenAndPaper-B6E0zEYe.js +0 -573
  334. package/dist/PackageVersion-BfrCAH6_.js +0 -10
  335. package/dist/PenAndPaper-CJDoB5H9.js +0 -527
  336. package/dist/RecursiveCircles-BE6GoMmo.js +0 -101
  337. package/dist/RecursiveLabels-BhQMS9Sm.js +0 -55
  338. package/dist/RecursiveLinks-BDwyYfP-.js +0 -83
  339. package/dist/Shape-CxJ5_Rre.js +0 -116
  340. package/dist/Slicer-D7UcO8sN.js +0 -1145
  341. package/dist/SlicerPreview-D_CgrN_7.js +0 -1580
  342. package/dist/SparkTooltip-D4bM-kfz.js +0 -68
  343. package/dist/Title-BbKoiBk2.js +0 -88
  344. package/dist/Tooltip-Cvt7Fi0Q.js +0 -299
  345. package/dist/UserOptions-DVduN6X7.js +0 -1474
  346. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
  347. package/dist/dom-to-png-DGvx6i5V.js +0 -262
  348. package/dist/exposedLib-sJvY1pST.js +0 -22
  349. package/dist/geoProjections-BFq2sOBY.js +0 -162
  350. package/dist/img-CjTQXS0U.js +0 -57
  351. package/dist/labelUtils-DX9oyq3C.js +0 -26
  352. package/dist/lib-DMzrGQHK.js +0 -2477
  353. package/dist/patternUtils-BINhU4Ky.js +0 -615
  354. package/dist/pdf-C4H4o1Cj.js +0 -88
  355. package/dist/useAutoSizeLabelsInsideViewbox-izlGDfwu.js +0 -55
  356. package/dist/useChartAccessibility-cp6XQtqi.js +0 -15
  357. package/dist/useConfig-CG4HT3wS.js +0 -7901
  358. package/dist/useFitSvgText-2crs6Fv5.js +0 -69
  359. package/dist/useNestedProp-DH0BEVVS.js +0 -13
  360. package/dist/useObjectBindings-Dixg-RIe.js +0 -228
  361. package/dist/usePanZoom-BbDhcKWf.js +0 -141
  362. package/dist/usePrefersMotion-Co0nj1eS.js +0 -17
  363. package/dist/usePrinter-C4t8DdQ-.js +0 -51
  364. package/dist/useResponsive-DfdjqQps.js +0 -195
  365. package/dist/useStableElementSize-C48ZVcZQ.js +0 -77
  366. package/dist/useSvgExport-BTG4hVPO.js +0 -870
  367. package/dist/useTableResponsive-BpfiEtzR.js +0 -26
  368. package/dist/useThemeCheck-C9Ccl7U9.js +0 -36
  369. package/dist/useTimeLabelCollider-D3JeJ6Ye.js +0 -86
  370. package/dist/useTimeLabels-Cv0tD9In.js +0 -307
  371. package/dist/useUserOptionState-B7Ej974k.js +0 -19
  372. package/dist/vClickOutside-C6WiFswA.js +0 -13
  373. package/dist/vue-data-ui-D1ZI7Y4l.js +0 -433
  374. package/dist/vue-ui-3d-bar-DEjKYzI5.js +0 -1824
  375. package/dist/vue-ui-accordion-DFtpH_16.js +0 -92
  376. package/dist/vue-ui-age-pyramid-LiC9hTjP.js +0 -1179
  377. package/dist/vue-ui-annotator-DrKnQoHf.js +0 -2991
  378. package/dist/vue-ui-bullet-DdxEINdq.js +0 -769
  379. package/dist/vue-ui-bump-CdgO1V7z.js +0 -1250
  380. package/dist/vue-ui-candlestick-DxJnPwto.js +0 -1775
  381. package/dist/vue-ui-carousel-table-CMefu5TI.js +0 -487
  382. package/dist/vue-ui-chestnut-BnGN72PO.js +0 -2001
  383. package/dist/vue-ui-chord-DWyar45U.js +0 -1457
  384. package/dist/vue-ui-circle-pack-CQ8vF2XH.js +0 -1076
  385. package/dist/vue-ui-cursor-HHOdkmyB.js +0 -260
  386. package/dist/vue-ui-dag-BDWPBElq.js +0 -3209
  387. package/dist/vue-ui-dashboard-Dg_I3X2a.js +0 -627
  388. package/dist/vue-ui-digits-CZmdir8V.js +0 -211
  389. package/dist/vue-ui-donut-BKegKHxj.js +0 -2608
  390. package/dist/vue-ui-donut-evolution-047dE4Lu.js +0 -1578
  391. package/dist/vue-ui-dumbbell-BL4ZMChj.js +0 -1552
  392. package/dist/vue-ui-flow-BAqtyunQ.js +0 -1279
  393. package/dist/vue-ui-funnel-Pl2sEOZs.js +0 -823
  394. package/dist/vue-ui-galaxy-CBF5Wsax.js +0 -1108
  395. package/dist/vue-ui-gauge-COV_S0Vp.js +0 -955
  396. package/dist/vue-ui-geo-CaPXElPf.js +0 -1510
  397. package/dist/vue-ui-gizmo-Csn7up96.js +0 -238
  398. package/dist/vue-ui-heatmap-Cpb0BYLa.js +0 -1694
  399. package/dist/vue-ui-history-plot-ZZEdzFCE.js +0 -1564
  400. package/dist/vue-ui-horizontal-bar-BonPYUZf.js +0 -1735
  401. package/dist/vue-ui-kpi-DoHhSsDK.js +0 -130
  402. package/dist/vue-ui-mini-loader-DOTBVCLE.js +0 -138
  403. package/dist/vue-ui-molecule-mVYnXouV.js +0 -945
  404. package/dist/vue-ui-mood-radar-DPvwnc3z.js +0 -1197
  405. package/dist/vue-ui-nested-donuts-C7E6TXrZ.js +0 -1702
  406. package/dist/vue-ui-onion-BGIlFhGB.js +0 -1207
  407. package/dist/vue-ui-parallel-coordinate-plot-C6G_A9ua.js +0 -1432
  408. package/dist/vue-ui-pattern-mXZW_pvA.js +0 -146
  409. package/dist/vue-ui-pattern-seed-BcNlxb2i.js +0 -36
  410. package/dist/vue-ui-quadrant-CVpIeYOB.js +0 -1918
  411. package/dist/vue-ui-quick-chart-CcV8qn9-.js +0 -2514
  412. package/dist/vue-ui-radar-G4AV1rBo.js +0 -1259
  413. package/dist/vue-ui-rating-CqPlP88P.js +0 -370
  414. package/dist/vue-ui-relation-circle-CkZ8oFVV.js +0 -856
  415. package/dist/vue-ui-ridgeline-CBTyYn6Q.js +0 -1737
  416. package/dist/vue-ui-rings-CSIOqFiP.js +0 -1256
  417. package/dist/vue-ui-scatter-AuC46ufT.js +0 -2345
  418. package/dist/vue-ui-skeleton-YD6rZjY_.js +0 -2475
  419. package/dist/vue-ui-smiley-CY0WFv2j.js +0 -391
  420. package/dist/vue-ui-spark-trend-D8KGIt-R.js +0 -423
  421. package/dist/vue-ui-sparkbar-BjWGJjzN.js +0 -424
  422. package/dist/vue-ui-sparkgauge-Dab5mss7.js +0 -285
  423. package/dist/vue-ui-sparkhistogram-D0rsmiPh.js +0 -559
  424. package/dist/vue-ui-sparkline-BCaauQuX.js +0 -1550
  425. package/dist/vue-ui-sparkstackbar-NT5yD6xA.js +0 -672
  426. package/dist/vue-ui-stackbar-ChBk_A1c.js +0 -2393
  427. package/dist/vue-ui-stackline-Cujamlze.js +0 -2490
  428. package/dist/vue-ui-strip-plot-CGBumG6I.js +0 -1293
  429. package/dist/vue-ui-table-BX2iMku4.js +0 -1726
  430. package/dist/vue-ui-table-heatmap-KXgXYVXm.js +0 -353
  431. package/dist/vue-ui-table-sparkline-C3NWnry0.js +0 -803
  432. package/dist/vue-ui-thermometer-DvdceZB1.js +0 -743
  433. package/dist/vue-ui-timer-XWAbvuAY.js +0 -504
  434. package/dist/vue-ui-tiremarks-B-YI1RlT.js +0 -578
  435. package/dist/vue-ui-treemap-AzorGfmd.js +0 -1757
  436. package/dist/vue-ui-waffle-CKtUvdTE.js +0 -1442
  437. package/dist/vue-ui-wheel-CnsLEArZ.js +0 -908
  438. package/dist/vue-ui-word-cloud-iAme2ihe.js +0 -1644
  439. package/dist/vue-ui-world-D5rrC9rw.js +0 -14452
  440. package/dist/vue-ui-xy-C_Q9chQe.js +0 -4468
  441. package/dist/vue-ui-xy-canvas-DG0299qE.js +0 -2107
  442. package/dist/vue_ui_3d_bar-CL0iX8Qi.js +0 -22
  443. package/dist/vue_ui_age_pyramid-8H8WSL7J.js +0 -22
  444. package/dist/vue_ui_bullet-Ckqieba5.js +0 -22
  445. package/dist/vue_ui_bump-CIht647H.js +0 -22
  446. package/dist/vue_ui_candlestick-BAMn-VGw.js +0 -22
  447. package/dist/vue_ui_chestnut-BloFvDuV.js +0 -22
  448. package/dist/vue_ui_chord-Bc1_ocwK.js +0 -22
  449. package/dist/vue_ui_circle_pack-CLmw8nHe.js +0 -22
  450. package/dist/vue_ui_dag-ZOwuDBZ8.js +0 -22
  451. package/dist/vue_ui_donut-CA4dgV8J.js +0 -22
  452. package/dist/vue_ui_donut_evolution-DFQU-rqE.js +0 -22
  453. package/dist/vue_ui_dumbbell-BCOHDiPk.js +0 -22
  454. package/dist/vue_ui_flow-BErINgox.js +0 -22
  455. package/dist/vue_ui_funnel-yuaMZ-yb.js +0 -22
  456. package/dist/vue_ui_galaxy-D95AN4FT.js +0 -22
  457. package/dist/vue_ui_gauge-BMEuRC4J.js +0 -22
  458. package/dist/vue_ui_geo--kg4VoVX.js +0 -22
  459. package/dist/vue_ui_heatmap-C9u993qE.js +0 -22
  460. package/dist/vue_ui_history_plot-BCKk1CrQ.js +0 -22
  461. package/dist/vue_ui_horizontal_bar-BEagrV0T.js +0 -22
  462. package/dist/vue_ui_molecule-BtvlINUh.js +0 -22
  463. package/dist/vue_ui_mood_radar-BUs6Fdn8.js +0 -22
  464. package/dist/vue_ui_nested_donuts-DvTrWT_C.js +0 -22
  465. package/dist/vue_ui_onion-CxWH9_OZ.js +0 -22
  466. package/dist/vue_ui_parallel_coordinate_plot-DH3cFJ3n.js +0 -22
  467. package/dist/vue_ui_quadrant-DjRs--Uz.js +0 -22
  468. package/dist/vue_ui_quick_chart-DMCjEjPe.js +0 -22
  469. package/dist/vue_ui_radar-DryGBOrz.js +0 -22
  470. package/dist/vue_ui_relation_circle-CCroen7h.js +0 -22
  471. package/dist/vue_ui_ridgeline-j4rVmpEp.js +0 -22
  472. package/dist/vue_ui_rings-CxOrekqA.js +0 -22
  473. package/dist/vue_ui_scatter-Bu1EAy9H.js +0 -22
  474. package/dist/vue_ui_spark_trend-3BjrSprO.js +0 -22
  475. package/dist/vue_ui_sparkbar-BsMzz5Um.js +0 -22
  476. package/dist/vue_ui_sparkgauge-KnjASOZs.js +0 -22
  477. package/dist/vue_ui_sparkhistogram-GBdzIVvS.js +0 -22
  478. package/dist/vue_ui_sparkline-CQ8DJVJx.js +0 -22
  479. package/dist/vue_ui_sparkstackbar-BSexvOuM.js +0 -22
  480. package/dist/vue_ui_stackbar-CuDC4O4b.js +0 -22
  481. package/dist/vue_ui_stackline-QTh-nuxE.js +0 -22
  482. package/dist/vue_ui_strip_plot-B9ypi_F3.js +0 -22
  483. package/dist/vue_ui_table_heatmap-CkvipPVy.js +0 -16
  484. package/dist/vue_ui_table_sparkline-yQdijcyJ.js +0 -22
  485. package/dist/vue_ui_thermometer-BTmjRBH8.js +0 -22
  486. package/dist/vue_ui_tiremarks-DBotWfi8.js +0 -22
  487. package/dist/vue_ui_treemap-D9-AIkT-.js +0 -22
  488. package/dist/vue_ui_vertical_bar-CELc39b8.js +0 -18
  489. package/dist/vue_ui_waffle-M2h-uJQ_.js +0 -22
  490. package/dist/vue_ui_wheel-LqBz3lv4.js +0 -22
  491. package/dist/vue_ui_word_cloud-mKAtBxHR.js +0 -22
  492. package/dist/vue_ui_xy-esktmpg-.js +0 -22
  493. package/dist/vue_ui_xy_canvas-6BBDSowT.js +0 -22
@@ -1,627 +0,0 @@
1
- import { useCssVars as Te, defineAsyncComponent as t, ref as r, computed as y, watch as W, openBlock as U, createElementBlock as A, createElementVNode as T, normalizeStyle as $, Fragment as x, renderList as $e, normalizeClass as Oe, createCommentVNode as N, renderSlot as d, createBlock as E, resolveDynamicComponent as Pe, mergeProps as Ie, withCtx as p, normalizeProps as V, guardReactiveProps as C, unref as O, createSlots as Me } from "vue";
2
- import { u as Ae } from "./useNestedProp-DH0BEVVS.js";
3
- import { u as Se } from "./useConfig-CG4HT3wS.js";
4
- import { j as Re } from "./lib-DMzrGQHK.js";
5
- import { u as ze } from "./usePrinter-C4t8DdQ-.js";
6
- import De from "./UserOptions-DVduN6X7.js";
7
- import { u as Xe } from "./useUserOptionState-B7Ej974k.js";
8
- import He from "./PenAndPaper-CJDoB5H9.js";
9
- import { _ as Ye } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
- const We = ["id"], Ne = ["onMousedown", "onTouchstart"], Ee = ["onMousedown", "onTouchstart"], Le = ["onMousedown", "onTouchstart"], _e = ["onMousedown", "onTouchstart"], Be = ["onMousedown", "onTouchstart"], X = 1, Ge = {
11
- __name: "vue-ui-dashboard",
12
- props: {
13
- dataset: Array,
14
- config: Object
15
- },
16
- emits: ["change", "copyAlt"],
17
- setup(ee, { expose: oe, emit: te }) {
18
- Te((e) => ({
19
- v4ff689be: me.value,
20
- c8481f4e: ge.value
21
- }));
22
- const ne = {
23
- VueDataUi: t(
24
- () => import("./vue-data-ui-D1ZI7Y4l.js")
25
- ),
26
- VueUi3dBar: t(
27
- () => import("./vue-ui-3d-bar-DEjKYzI5.js")
28
- ),
29
- VueUiAccordion: t(
30
- () => import("./vue-ui-accordion-DFtpH_16.js")
31
- ),
32
- VueUiAgePyramid: t(
33
- () => import("./vue-ui-age-pyramid-LiC9hTjP.js")
34
- ),
35
- VueUiAnnotator: t(
36
- () => import("./vue-ui-annotator-DrKnQoHf.js")
37
- ),
38
- VueUiCandlestick: t(
39
- () => import("./vue-ui-candlestick-DxJnPwto.js")
40
- ),
41
- VueUiChestnut: t(
42
- () => import("./vue-ui-chestnut-BnGN72PO.js")
43
- ),
44
- VueUiDigits: t(
45
- () => import("./vue-ui-digits-CZmdir8V.js")
46
- ),
47
- VueUiDonut: t(
48
- () => import("./vue-ui-donut-BKegKHxj.js")
49
- ),
50
- VueUiDonutEvolution: t(
51
- () => import("./vue-ui-donut-evolution-047dE4Lu.js")
52
- ),
53
- VueUiDumbbell: t(
54
- () => import("./vue-ui-dumbbell-BL4ZMChj.js")
55
- ),
56
- VueUiFlow: t(
57
- () => import("./vue-ui-flow-BAqtyunQ.js")
58
- ),
59
- VueUiGalaxy: t(
60
- () => import("./vue-ui-galaxy-CBF5Wsax.js")
61
- ),
62
- VueUiGauge: t(
63
- () => import("./vue-ui-gauge-COV_S0Vp.js")
64
- ),
65
- VueUiHeatmap: t(
66
- () => import("./vue-ui-heatmap-Cpb0BYLa.js")
67
- ),
68
- VueUiKpi: t(
69
- () => import("./vue-ui-kpi-DoHhSsDK.js")
70
- ),
71
- VueUiMiniLoader: t(
72
- () => import("./vue-ui-mini-loader-DOTBVCLE.js")
73
- ),
74
- VueUiMolecule: t(
75
- () => import("./vue-ui-molecule-mVYnXouV.js")
76
- ),
77
- VueUiMoodRadar: t(
78
- () => import("./vue-ui-mood-radar-DPvwnc3z.js")
79
- ),
80
- VueUiNestedDonuts: t(
81
- () => import("./vue-ui-nested-donuts-C7E6TXrZ.js")
82
- ),
83
- VueUiOnion: t(
84
- () => import("./vue-ui-onion-BGIlFhGB.js")
85
- ),
86
- VueUiParallelCoordinatePlot: t(
87
- () => import("./vue-ui-parallel-coordinate-plot-C6G_A9ua.js")
88
- ),
89
- VueUiQuadrant: t(
90
- () => import("./vue-ui-quadrant-CVpIeYOB.js")
91
- ),
92
- VueUiQuickChart: t(
93
- () => import("./vue-ui-quick-chart-CcV8qn9-.js")
94
- ),
95
- VueUiRadar: t(
96
- () => import("./vue-ui-radar-G4AV1rBo.js")
97
- ),
98
- VueUiRating: t(
99
- () => import("./vue-ui-rating-CqPlP88P.js")
100
- ),
101
- VueUiRelationCircle: t(
102
- () => import("./vue-ui-relation-circle-CkZ8oFVV.js")
103
- ),
104
- VueUiRings: t(
105
- () => import("./vue-ui-rings-CSIOqFiP.js")
106
- ),
107
- VueUiScatter: t(
108
- () => import("./vue-ui-scatter-AuC46ufT.js")
109
- ),
110
- VueUiSkeleton: t(
111
- () => import("./vue-ui-skeleton-YD6rZjY_.js")
112
- ),
113
- VueUiSmiley: t(
114
- () => import("./vue-ui-smiley-CY0WFv2j.js")
115
- ),
116
- VueUiSparkHistogram: t(
117
- () => import("./vue-ui-sparkhistogram-D0rsmiPh.js")
118
- ),
119
- VueUiSparkStackbar: t(
120
- () => import("./vue-ui-sparkstackbar-NT5yD6xA.js")
121
- ),
122
- VueUiSparkTrend: t(
123
- () => import("./vue-ui-spark-trend-D8KGIt-R.js")
124
- ),
125
- VueUiSparkbar: t(
126
- () => import("./vue-ui-sparkbar-BjWGJjzN.js")
127
- ),
128
- VueUiSparkgauge: t(
129
- () => import("./vue-ui-sparkgauge-Dab5mss7.js")
130
- ),
131
- VueUiSparkline: t(
132
- () => import("./vue-ui-sparkline-BCaauQuX.js")
133
- ),
134
- VueUiStripPlot: t(
135
- () => import("./vue-ui-strip-plot-CGBumG6I.js")
136
- ),
137
- VueUiTable: t(
138
- () => import("./vue-ui-table-BX2iMku4.js")
139
- ),
140
- VueUiTableHeatmap: t(
141
- () => import("./vue-ui-table-heatmap-KXgXYVXm.js")
142
- ),
143
- VueUiTableSparkline: t(
144
- () => import("./vue-ui-table-sparkline-C3NWnry0.js")
145
- ),
146
- VueUiThermometer: t(
147
- () => import("./vue-ui-thermometer-DvdceZB1.js")
148
- ),
149
- VueUiTimer: t(
150
- () => import("./vue-ui-timer-XWAbvuAY.js")
151
- ),
152
- VueUiTiremarks: t(
153
- () => import("./vue-ui-tiremarks-B-YI1RlT.js")
154
- ),
155
- VueUiTreemap: t(
156
- () => import("./vue-ui-treemap-AzorGfmd.js")
157
- ),
158
- VueUiVerticalBar: t(
159
- () => import("./vue-ui-horizontal-bar-BonPYUZf.js")
160
- ),
161
- VueUiHorizontalBar: t(
162
- () => import("./vue-ui-horizontal-bar-BonPYUZf.js")
163
- ),
164
- VueUiWaffle: t(
165
- () => import("./vue-ui-waffle-CKtUvdTE.js")
166
- ),
167
- VueUiWheel: t(
168
- () => import("./vue-ui-wheel-CnsLEArZ.js")
169
- ),
170
- VueUiWordCloud: t(
171
- () => import("./vue-ui-word-cloud-iAme2ihe.js")
172
- ),
173
- VueUiXy: t(() => import("./vue-ui-xy-C_Q9chQe.js")),
174
- VueUiXyCanvas: t(
175
- () => import("./vue-ui-xy-canvas-DG0299qE.js")
176
- ),
177
- VueUiCarouselTable: t(
178
- () => import("./vue-ui-carousel-table-CMefu5TI.js")
179
- ),
180
- VueUiGizmo: t(
181
- () => import("./vue-ui-gizmo-Csn7up96.js")
182
- ),
183
- VueUiStackbar: t(
184
- () => import("./vue-ui-stackbar-ChBk_A1c.js")
185
- ),
186
- VueUiStackline: t(
187
- () => import("./vue-ui-stackline-Cujamlze.js")
188
- ),
189
- VueUiBullet: t(
190
- () => import("./vue-ui-bullet-DdxEINdq.js")
191
- ),
192
- VueUiFunnel: t(
193
- () => import("./vue-ui-funnel-Pl2sEOZs.js")
194
- ),
195
- VueUiHistoryPlot: t(
196
- () => import("./vue-ui-history-plot-ZZEdzFCE.js")
197
- ),
198
- VueUiCirclePack: t(
199
- () => import("./vue-ui-circle-pack-CQ8vF2XH.js")
200
- ),
201
- VueUiWorld: t(
202
- () => import("./vue-ui-world-D5rrC9rw.js")
203
- ),
204
- VueUiChord: t(
205
- () => import("./vue-ui-chord-DWyar45U.js")
206
- ),
207
- VueUiRidgeline: t(
208
- () => import("./vue-ui-ridgeline-CBTyYn6Q.js")
209
- ),
210
- VueUiDag: t(
211
- () => import("./vue-ui-dag-BDWPBElq.js")
212
- )
213
- }, { vue_ui_dashboard: ae } = Se(), ie = r(null), ue = r(null), H = r(null), S = ee, i = y(() => Ae({
214
- userConfig: S.config,
215
- defaultConfig: ae
216
- })), L = y(
217
- () => i.value.userOptions.useCursorPointer
218
- ), Y = r(Re()), f = r(i.value.locked);
219
- function le() {
220
- f.value = !f.value;
221
- }
222
- W(
223
- () => S.config,
224
- () => {
225
- f.value = i.value.locked, K.value = !i.value.userOptions.showOnChartHover;
226
- }
227
- );
228
- function _() {
229
- return S.dataset.map((e, o) => ({
230
- ...e,
231
- index: o
232
- }));
233
- }
234
- const s = r(_());
235
- W(
236
- () => S.dataset,
237
- () => {
238
- s.value = _();
239
- }
240
- );
241
- const k = y(
242
- () => s.value.map((e) => ({
243
- ...e,
244
- resolvedComponent: typeof e.component == "string" ? ne[e.component] : e.component
245
- }))
246
- ), h = r(null), l = r(null), m = r({ x: 0, y: 0 }), g = r({ x: 0, y: 0 }), c = r(null), v = r(!1), b = r(null), P = r(!1);
247
- function B(e) {
248
- const o = e.target;
249
- (o.tagName === "INPUT" && o.type === "range" || o.classList.contains("range-handle")) && (P.value = !0);
250
- }
251
- function G(e) {
252
- const o = e.target;
253
- o.tagName === "INPUT" && o.type === "range" && (P.value = !1);
254
- }
255
- const { isPrinting: re, isImaging: se, generatePdf: F, generateImage: de } = ze({
256
- elementId: `vue-ui-dashboard_${Y.value}`,
257
- fileName: i.value.userOptions.print.filename || "dashboard",
258
- options: {
259
- ...i.value.userOptions.print,
260
- aspectRatio: i.value.style.board.aspectRatio
261
- }
262
- });
263
- function ce(e) {
264
- if (!f.value && (v.value = !0, b.value = e, l.value === null)) {
265
- h.value = e, m.value = { x: event.clientX, y: event.clientY };
266
- const o = s.value[e], n = 100 - o.width, a = 100 - o.height;
267
- o.left < 0 && (o.left = 0), o.top < 0 && (o.top = 0), o.left > n && (o.left = n), o.top > a && (o.top = a), o.left < 0 && (o.left = 0), o.top < 0 && (o.top = 0), o.left + o.width > 100 && (o.left = 100 - o.width), o.top + o.height > 100 && (o.top = 100 - o.height);
268
- }
269
- }
270
- function R(e, o) {
271
- v.value = !0, b.value = e, l.value = { index: e, direction: o };
272
- const n = s.value[e];
273
- g.value = {
274
- x: event.clientX,
275
- y: event.clientY,
276
- initialWidth: n.width,
277
- initialHeight: n.height
278
- };
279
- }
280
- function j(e, o, n) {
281
- if (l.value.direction.includes("top")) {
282
- const a = e.height - n / c.value.offsetHeight * 100;
283
- a >= X && (e.top += n / c.value.offsetHeight * 100, e.height = a);
284
- }
285
- if (l.value.direction.includes("bottom")) {
286
- const a = e.height + n / c.value.offsetHeight * 100;
287
- a >= X && (e.height = a);
288
- }
289
- if (l.value.direction.includes("left")) {
290
- const a = e.width - o / c.value.offsetWidth * 100;
291
- a >= X && (e.left += o / c.value.offsetWidth * 100, e.width = a);
292
- }
293
- if (l.value.direction.includes("right")) {
294
- const a = e.width + o / c.value.offsetWidth * 100;
295
- a >= X && (e.width = a);
296
- }
297
- }
298
- function pe(e) {
299
- if (!(f.value || P.value)) {
300
- if (v.value = !0, h.value !== null) {
301
- const o = s.value[h.value], n = e.clientX - m.value.x, a = e.clientY - m.value.y, u = o.left + n / c.value.offsetWidth * 100, w = o.top + a / c.value.offsetHeight * 100;
302
- u >= 0 && w >= 0 && u + o.width <= 100 && w + o.height <= 100 && (o.left = u, o.top = w), m.value = { x: e.clientX, y: e.clientY };
303
- }
304
- if (l.value !== null) {
305
- const o = s.value[l.value.index], n = e.clientX - g.value.x, a = e.clientY - g.value.y;
306
- j(o, n, a), g.value = { x: e.clientX, y: e.clientY };
307
- }
308
- }
309
- }
310
- const Q = te;
311
- W(
312
- s,
313
- (e) => {
314
- e && !v.value && Q("change", s.value);
315
- },
316
- { deep: !0 }
317
- );
318
- function ve() {
319
- h.value = null, l.value = null, v.value = !1, b.value = null, s.value.forEach((e) => {
320
- e.left = Math.round(e.left / 100 * 100), e.top = Math.round(e.top / 100 * 100), e.width = Math.round(e.width / 100 * 100), e.height = Math.round(e.height / 100 * 100);
321
- });
322
- }
323
- function fe(e) {
324
- f.value || P.value || (v.value = !0, b.value = e, l.value === null && (h.value = e, m.value = {
325
- x: event.touches[0].clientX,
326
- y: event.touches[0].clientY
327
- }));
328
- }
329
- function z(e, o, n) {
330
- if (v.value = !0, b.value = e, l.value === null) {
331
- l.value = { index: e, direction: o };
332
- const a = s.value[e];
333
- g.value = {
334
- x: n.touches[0].clientX,
335
- y: n.touches[0].clientY,
336
- initialWidth: a.width,
337
- initialHeight: a.height
338
- };
339
- }
340
- }
341
- function D(e) {
342
- if (v.value = !0, e.preventDefault(), l.value !== null) {
343
- const o = s.value[l.value.index], n = e.touches[0].clientX - g.value.x, a = e.touches[0].clientY - g.value.y;
344
- j(o, n, a), g.value = {
345
- x: e.touches[0].clientX,
346
- y: e.touches[0].clientY
347
- };
348
- }
349
- }
350
- function he(e) {
351
- if (!(f.value || P.value) && (v.value = !0, e.preventDefault(), h.value !== null)) {
352
- const o = s.value[h.value], n = e.touches[0].clientX - m.value.x, a = e.touches[0].clientY - m.value.y, u = o.left + n / c.value.offsetWidth * 100, w = o.top + a / c.value.offsetHeight * 100;
353
- u >= 0 && w >= 0 && u + o.width <= 100 && w + o.height <= 100 && (o.left = u, o.top = w), m.value = {
354
- x: e.touches[0].clientX,
355
- y: e.touches[0].clientY
356
- };
357
- }
358
- }
359
- function I() {
360
- v.value = !1, b.value = null, h.value = null, l.value = null, s.value.forEach((e) => {
361
- e.left = Math.round(e.left / 100 * 100), e.top = Math.round(e.top / 100 * 100), e.width = Math.round(e.width / 100 * 100), e.height = Math.round(e.height / 100 * 100);
362
- });
363
- }
364
- const me = y(() => i.value.style.item.borderColor), ge = y(() => i.value.style.resizeHandles.backgroundColor), be = y(() => i.value.style.board.aspectRatio), ye = y(() => i.value.style.board.backgroundColor), Ue = y(() => i.value.style.board.border);
365
- function Ve() {
366
- return s.value;
367
- }
368
- const { userOptionsVisible: K, setUserOptionsVisibility: q, keepUserOptionState: Ce } = Xe({ config: i.value }), M = r(!1);
369
- function J() {
370
- M.value = !M.value;
371
- }
372
- function ke() {
373
- q(!0);
374
- }
375
- function we() {
376
- q(!1);
377
- }
378
- async function Z() {
379
- if (Q("copyAlt", {
380
- config: i.value,
381
- dataset: k.value
382
- }), !i.value.userOptions.callbacks.altCopy) {
383
- console.warn(
384
- "Vue Data UI - A callback must be set for `altCopy` in userOptions."
385
- );
386
- return;
387
- }
388
- await Promise.resolve(
389
- i.value.userOptions.callbacks.altCopy({
390
- config: i.value,
391
- dataset: k.value
392
- })
393
- );
394
- }
395
- return oe({
396
- generatePdf: F,
397
- getItemsPositions: Ve,
398
- toggleLock: le,
399
- copyAlt: Z
400
- }), (e, o) => (U(), A("div", {
401
- id: `vue-ui-dashboard_${Y.value}`,
402
- onMousedown: B,
403
- onMouseup: G,
404
- onTouchstart: B,
405
- onTouchend: G,
406
- onMouseenter: ke,
407
- onMouseleave: we,
408
- ref_key: "dashboardRef",
409
- ref: ie,
410
- style: {
411
- position: "relative"
412
- },
413
- class: "vue-data-ui-component"
414
- }, [
415
- T("div", {
416
- class: "vue-ui-dashboard-container",
417
- ref_key: "dashboardContainer",
418
- ref: c,
419
- style: $(`outline:${Ue.value}; background:${ye.value}; aspect-ratio:${be.value};${M.value ? "pointer-events:none" : ""}`)
420
- }, [
421
- T("div", {
422
- class: "vue-ui-dashboard-grid-container",
423
- ref: "container",
424
- onMousemove: pe,
425
- onMouseup: ve,
426
- onTouchmove: he,
427
- onTouchend: I,
428
- style: $(`background:${i.value.style.board.backgroundColor}`)
429
- }, [
430
- o[4] || (o[4] = T("div", { class: "vue-ui-dashboard-grid" }, null, -1)),
431
- (U(!0), A(x, null, $e(k.value, (n, a) => (U(), A("div", {
432
- key: n.id,
433
- class: Oe({
434
- "vue-ui-dashboard-grid-item": !0,
435
- "vue-ui-dashboard-grid-item--locked": f.value
436
- }),
437
- style: $({
438
- width: `${n.width}%`,
439
- height: `${n.height}%`,
440
- left: `${n.left}%`,
441
- top: `${n.top}%`,
442
- cursor: "move",
443
- boxShadow: b.value === a ? "0 6px 12px -3px rgba(0,0,0,0.3)" : "",
444
- zIndex: b.value === a ? k.value.length + 1 : n.index,
445
- backgroundColor: i.value.style.item.backgroundColor
446
- }),
447
- onMousedown: (u) => ce(a),
448
- onTouchstart: (u) => fe(a)
449
- }, [
450
- f.value ? N("", !0) : (U(), A(x, { key: 0 }, [
451
- T("div", {
452
- class: "vue-ui-dashboard-resize-handle vue-ui-dashboard-top-left",
453
- onMousedown: (u) => R(a, "top-left"),
454
- onTouchstart: (u) => z(a, "top-left", u),
455
- onTouchmove: o[0] || (o[0] = (u) => D(u)),
456
- onTouchend: I
457
- }, null, 40, Ee),
458
- T("div", {
459
- class: "vue-ui-dashboard-resize-handle vue-ui-dashboard-top-right",
460
- onMousedown: (u) => R(a, "top-right"),
461
- onTouchstart: (u) => z(a, "top-right", u),
462
- onTouchmove: o[1] || (o[1] = (u) => D(u)),
463
- onTouchend: I
464
- }, null, 40, Le),
465
- T("div", {
466
- class: "vue-ui-dashboard-resize-handle vue-ui-dashboard-bottom-left",
467
- onMousedown: (u) => R(a, "bottom-left"),
468
- onTouchstart: (u) => z(a, "bottom-left", u),
469
- onTouchmove: o[2] || (o[2] = (u) => D(u)),
470
- onTouchend: I
471
- }, null, 40, _e),
472
- T("div", {
473
- class: "vue-ui-dashboard-resize-handle vue-ui-dashboard-bottom-right",
474
- onMousedown: (u) => R(a, "bottom-right"),
475
- onTouchstart: (u) => z(
476
- a,
477
- "bottom-right",
478
- u
479
- ),
480
- onTouchmove: o[3] || (o[3] = (u) => D(u)),
481
- onTouchend: I
482
- }, null, 40, Be)
483
- ], 64)),
484
- d(e.$slots, "top", {
485
- item: n,
486
- index: a
487
- }, void 0, !0),
488
- n.resolvedComponent ? (U(), E(Pe(n.resolvedComponent), Ie({
489
- key: 1,
490
- ref_for: !0
491
- }, n.props), null, 16)) : d(e.$slots, "content", {
492
- key: 2,
493
- item: n,
494
- index: a,
495
- left: n.left,
496
- top: n.top,
497
- height: n.height,
498
- width: n.width
499
- }, void 0, !0),
500
- d(e.$slots, "bottom", {
501
- item: n,
502
- index: a
503
- }, void 0, !0)
504
- ], 46, Ne))), 128))
505
- ], 36)
506
- ], 4),
507
- (U(), A("svg", {
508
- style: $({
509
- width: "100%",
510
- height: "100%",
511
- pointerEvents: "none",
512
- position: "absolute",
513
- top: 0,
514
- left: 0,
515
- zIndex: k.value.length + 1
516
- }),
517
- ref_key: "svgRef",
518
- ref: H
519
- }, null, 4)),
520
- i.value.userOptions.buttons.annotator && c.value && H.value ? (U(), E(He, {
521
- key: 0,
522
- color: i.value.style.board.color,
523
- backgroundColor: i.value.style.board.backgroundColor,
524
- active: M.value,
525
- svgRef: H.value,
526
- isCursorPointer: L.value,
527
- onClose: J,
528
- style: $({
529
- zIndex: k.value.length + 1
530
- })
531
- }, {
532
- "annotator-action-close": p(() => [
533
- d(e.$slots, "annotator-action-close", {}, void 0, !0)
534
- ]),
535
- "annotator-action-color": p(({ color: n }) => [
536
- d(e.$slots, "annotator-action-color", V(C({ color: n })), void 0, !0)
537
- ]),
538
- "annotator-action-draw": p(({ mode: n }) => [
539
- d(e.$slots, "annotator-action-draw", V(C({ mode: n })), void 0, !0)
540
- ]),
541
- "annotator-action-undo": p(({ disabled: n }) => [
542
- d(e.$slots, "annotator-action-undo", V(C({ disabled: n })), void 0, !0)
543
- ]),
544
- "annotator-action-redo": p(({ disabled: n }) => [
545
- d(e.$slots, "annotator-action-redo", V(C({ disabled: n })), void 0, !0)
546
- ]),
547
- "annotator-action-delete": p(({ disabled: n }) => [
548
- d(e.$slots, "annotator-action-delete", V(C({ disabled: n })), void 0, !0)
549
- ]),
550
- _: 3
551
- }, 8, ["color", "backgroundColor", "active", "svgRef", "isCursorPointer", "style"])) : N("", !0),
552
- (i.value.allowPrint || i.value.userOptions.show) && (i.value.userOptions.buttons.pdf || i.value.userOptions.buttons.img) ? (U(), E(De, {
553
- key: 1,
554
- ref_key: "userOptionsRef",
555
- ref: ue,
556
- backgroundColor: i.value.style.board.backgroundColor,
557
- color: i.value.style.board.color,
558
- isPrinting: O(re),
559
- isImaging: O(se),
560
- uid: Y.value,
561
- position: i.value.userOptions.position,
562
- hasTooltip: !1,
563
- hasPdf: i.value.userOptions.buttons.pdf,
564
- hasImg: i.value.userOptions.buttons.img,
565
- hasXls: !1,
566
- hasTable: !1,
567
- hasLabel: !1,
568
- hasFullscreen: !1,
569
- hasAltCopy: i.value.userOptions.buttons.altCopy,
570
- chartElement: c.value,
571
- callbacks: i.value.userOptions.callbacks,
572
- hasAnnotator: i.value.userOptions.buttons.annotator,
573
- isAnnotation: M.value,
574
- printScale: i.value.userOptions.print.scale,
575
- titles: { ...i.value.userOptions.buttonTitles },
576
- isCursorPointer: L.value,
577
- onGeneratePdf: O(F),
578
- onGenerateImage: O(de),
579
- onToggleAnnotator: J,
580
- onCopyAlt: Z,
581
- style: $({
582
- visibility: O(Ce) ? O(K) ? "visible" : "hidden" : "visible",
583
- zIndex: k.value.length + 1
584
- })
585
- }, Me({ _: 2 }, [
586
- e.$slots.menuIcon ? {
587
- name: "menuIcon",
588
- fn: p(({ isOpen: n, color: a }) => [
589
- d(e.$slots, "menuIcon", V(C({ isOpen: n, color: a })), void 0, !0)
590
- ]),
591
- key: "0"
592
- } : void 0,
593
- e.$slots.optionPdf ? {
594
- name: "optionPdf",
595
- fn: p(() => [
596
- d(e.$slots, "optionPdf", {}, void 0, !0)
597
- ]),
598
- key: "1"
599
- } : void 0,
600
- e.$slots.optionImg ? {
601
- name: "optionImg",
602
- fn: p(() => [
603
- d(e.$slots, "optionImg", {}, void 0, !0)
604
- ]),
605
- key: "2"
606
- } : void 0,
607
- e.$slots.optionAnnotator ? {
608
- name: "optionAnnotator",
609
- fn: p(({ toggleAnnotator: n, isAnnotator: a }) => [
610
- d(e.$slots, "optionAnnotator", V(C({ toggleAnnotator: n, isAnnotator: a })), void 0, !0)
611
- ]),
612
- key: "3"
613
- } : void 0,
614
- e.$slots.optionAltCopy ? {
615
- name: "optionAltCopy",
616
- fn: p(({ altCopy: n }) => [
617
- d(e.$slots, "optionAltCopy", V(C({ altCopy: n })), void 0, !0)
618
- ]),
619
- key: "4"
620
- } : void 0
621
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "position", "hasPdf", "hasImg", "hasAltCopy", "chartElement", "callbacks", "hasAnnotator", "isAnnotation", "printScale", "titles", "isCursorPointer", "onGeneratePdf", "onGenerateImage", "style"])) : N("", !0)
622
- ], 40, We));
623
- }
624
- }, oo = /* @__PURE__ */ Ye(Ge, [["__scopeId", "data-v-5922ea7c"]]);
625
- export {
626
- oo as default
627
- };