vue-data-ui 3.17.2 → 3.17.4

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 (262) hide show
  1. package/README.md +228 -228
  2. package/dist/{A11yDataTable-KcVAX2cP.js → A11yDataTable-BpmuNomI.js} +1 -1
  3. package/dist/{Arrow-Bn-9n3bm.js → Arrow-dSvLFssU.js} +1 -1
  4. package/dist/{BaseDraggableDialog-CIb-iD9g.js → BaseDraggableDialog-Di8Hlru3.js} +26 -24
  5. package/dist/{BaseIcon-Cb3zzG6s.js → BaseIcon-DX0hTWa-.js} +11 -5
  6. package/dist/{BaseLegendToggle-BQVIawmA.js → BaseLegendToggle-cMP8M2u0.js} +4 -4
  7. package/dist/BaseScanner-BON3d_Sx.js +38 -0
  8. package/dist/{BaseZoomControls-DievbOeJ.js → BaseZoomControls-CVSC1-SU.js} +11 -5
  9. package/dist/{ColorPicker-B0mV4xzu.js → ColorPicker-bAxGcXK0.js} +38 -22
  10. package/dist/{DataTable-DT2kIdQ6.js → DataTable-cMnb68Ik.js} +15 -11
  11. package/dist/{Legend-CS7Xo5LK.js → Legend-DGN5lY60.js} +15 -12
  12. package/dist/{NonSvgPenAndPaper-VyJFyJ6X.js → NonSvgPenAndPaper-B6E0zEYe.js} +34 -12
  13. package/dist/{PackageVersion-PjmqM4wb.js → PackageVersion-DVvvyQXB.js} +1 -1
  14. package/dist/{PenAndPaper-Ct3qJ4lA.js → PenAndPaper-CJDoB5H9.js} +87 -27
  15. package/dist/{Shape-BKRUOeKk.js → Shape-CxJ5_Rre.js} +1 -1
  16. package/dist/{Slicer-CIHwwuNR.js → Slicer-D7UcO8sN.js} +75 -33
  17. package/dist/{SlicerPreview-BMx3cqgX.js → SlicerPreview-D_CgrN_7.js} +198 -102
  18. package/dist/{SparkTooltip-BorBpltj.js → SparkTooltip-D4bM-kfz.js} +5 -5
  19. package/dist/{Title-BeMKE1cj.js → Title-BbKoiBk2.js} +1 -1
  20. package/dist/{Tooltip-C8KGyqQk.js → Tooltip-Cvt7Fi0Q.js} +9 -2
  21. package/dist/{UserOptions-rW2fRf3V.js → UserOptions-DVduN6X7.js} +48 -14
  22. package/dist/components/arrow.js +1 -1
  23. package/dist/components/vue-ui-3d-bar.js +1 -1
  24. package/dist/components/vue-ui-accordion.js +1 -1
  25. package/dist/components/vue-ui-age-pyramid.js +1 -1
  26. package/dist/components/vue-ui-annotator.js +1 -1
  27. package/dist/components/vue-ui-bullet.js +1 -1
  28. package/dist/components/vue-ui-bump.js +1 -1
  29. package/dist/components/vue-ui-candlestick.js +1 -1
  30. package/dist/components/vue-ui-carousel-table.js +1 -1
  31. package/dist/components/vue-ui-chestnut.js +1 -1
  32. package/dist/components/vue-ui-chord.js +1 -1
  33. package/dist/components/vue-ui-circle-pack.js +1 -1
  34. package/dist/components/vue-ui-cursor.js +1 -1
  35. package/dist/components/vue-ui-dag.js +1 -1
  36. package/dist/components/vue-ui-dashboard.js +1 -1
  37. package/dist/components/vue-ui-digits.js +1 -1
  38. package/dist/components/vue-ui-donut-evolution.js +1 -1
  39. package/dist/components/vue-ui-donut.js +1 -1
  40. package/dist/components/vue-ui-dumbbell.js +1 -1
  41. package/dist/components/vue-ui-flow.js +1 -1
  42. package/dist/components/vue-ui-funnel.js +1 -1
  43. package/dist/components/vue-ui-galaxy.js +1 -1
  44. package/dist/components/vue-ui-gauge.js +1 -1
  45. package/dist/components/vue-ui-geo.js +1 -1
  46. package/dist/components/vue-ui-gizmo.js +1 -1
  47. package/dist/components/vue-ui-heatmap.js +1 -1
  48. package/dist/components/vue-ui-history-plot.js +1 -1
  49. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  50. package/dist/components/vue-ui-icon.js +1 -1
  51. package/dist/components/vue-ui-kpi.js +1 -1
  52. package/dist/components/vue-ui-mini-loader.js +1 -1
  53. package/dist/components/vue-ui-molecule.js +1 -1
  54. package/dist/components/vue-ui-mood-radar.js +1 -1
  55. package/dist/components/vue-ui-nested-donuts.js +1 -1
  56. package/dist/components/vue-ui-onion.js +1 -1
  57. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  58. package/dist/components/vue-ui-pattern-seed.js +5 -0
  59. package/dist/components/vue-ui-quadrant.js +1 -1
  60. package/dist/components/vue-ui-quick-chart.js +1 -1
  61. package/dist/components/vue-ui-radar.js +1 -1
  62. package/dist/components/vue-ui-rating.js +1 -1
  63. package/dist/components/vue-ui-relation-circle.js +1 -1
  64. package/dist/components/vue-ui-ridgeline.js +1 -1
  65. package/dist/components/vue-ui-rings.js +1 -1
  66. package/dist/components/vue-ui-scatter.js +1 -1
  67. package/dist/components/vue-ui-skeleton.js +1 -1
  68. package/dist/components/vue-ui-smiley.js +1 -1
  69. package/dist/components/vue-ui-spark-trend.js +1 -1
  70. package/dist/components/vue-ui-sparkbar.js +1 -1
  71. package/dist/components/vue-ui-sparkgauge.js +1 -1
  72. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  73. package/dist/components/vue-ui-sparkline.js +1 -1
  74. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  75. package/dist/components/vue-ui-stackbar.js +1 -1
  76. package/dist/components/vue-ui-stackline.js +1 -1
  77. package/dist/components/vue-ui-strip-plot.js +1 -1
  78. package/dist/components/vue-ui-table-heatmap.js +1 -1
  79. package/dist/components/vue-ui-table-sparkline.js +1 -1
  80. package/dist/components/vue-ui-table.js +1 -1
  81. package/dist/components/vue-ui-thermometer.js +1 -1
  82. package/dist/components/vue-ui-timer.js +1 -1
  83. package/dist/components/vue-ui-tiremarks.js +1 -1
  84. package/dist/components/vue-ui-treemap.js +1 -1
  85. package/dist/components/vue-ui-vertical-bar.js +1 -1
  86. package/dist/components/vue-ui-waffle.js +1 -1
  87. package/dist/components/vue-ui-wheel.js +1 -1
  88. package/dist/components/vue-ui-word-cloud.js +1 -1
  89. package/dist/components/vue-ui-world.js +1 -1
  90. package/dist/components/vue-ui-xy-canvas.js +1 -1
  91. package/dist/components/vue-ui-xy.js +1 -1
  92. package/dist/{dom-to-png-CtxhhdWb.js → dom-to-png-DGvx6i5V.js} +21 -6
  93. package/dist/{exposedLib-DlqmhBx3.js → exposedLib-sJvY1pST.js} +1 -1
  94. package/dist/{geoProjections-D0Vxsz_O.js → geoProjections-BFq2sOBY.js} +19 -11
  95. package/dist/{img-LXxMLmCg.js → img-CjTQXS0U.js} +31 -7
  96. package/dist/{labelUtils-CqTHa20R.js → labelUtils-DX9oyq3C.js} +2 -6
  97. package/dist/{lib-DBptbyyI.js → lib-DMzrGQHK.js} +337 -124
  98. package/dist/patternUtils-BINhU4Ky.js +615 -0
  99. package/dist/{pdf-B4tTdfvl.js → pdf-C4H4o1Cj.js} +11 -2
  100. package/dist/style.css +1 -1
  101. package/dist/types/arrow.d.ts +1 -1
  102. package/dist/types/utils.d.ts +500 -451
  103. package/dist/types/vue-data-ui.d.ts +2124 -1786
  104. package/dist/types/vue-ui-3d-bar.d.ts +10 -7
  105. package/dist/types/vue-ui-accordion.d.ts +2 -4
  106. package/dist/types/vue-ui-age-pyramid.d.ts +10 -8
  107. package/dist/types/vue-ui-annotator.d.ts +3 -3
  108. package/dist/types/vue-ui-bullet.d.ts +10 -7
  109. package/dist/types/vue-ui-bump.d.ts +9 -6
  110. package/dist/types/vue-ui-candlestick.d.ts +10 -7
  111. package/dist/types/vue-ui-carousel-table.d.ts +2 -2
  112. package/dist/types/vue-ui-chestnut.d.ts +9 -6
  113. package/dist/types/vue-ui-chord.d.ts +10 -7
  114. package/dist/types/vue-ui-circle-pack.d.ts +10 -7
  115. package/dist/types/vue-ui-cursor.d.ts +2 -2
  116. package/dist/types/vue-ui-dag.d.ts +10 -7
  117. package/dist/types/vue-ui-dashboard.d.ts +3 -3
  118. package/dist/types/vue-ui-digits.d.ts +2 -2
  119. package/dist/types/vue-ui-donut-evolution.d.ts +11 -8
  120. package/dist/types/vue-ui-donut.d.ts +11 -8
  121. package/dist/types/vue-ui-dumbbell.d.ts +11 -8
  122. package/dist/types/vue-ui-flow.d.ts +11 -8
  123. package/dist/types/vue-ui-funnel.d.ts +11 -8
  124. package/dist/types/vue-ui-galaxy.d.ts +11 -8
  125. package/dist/types/vue-ui-gauge.d.ts +11 -8
  126. package/dist/types/vue-ui-geo.d.ts +13 -6
  127. package/dist/types/vue-ui-gizmo.d.ts +2 -5
  128. package/dist/types/vue-ui-heatmap.d.ts +11 -8
  129. package/dist/types/vue-ui-history-plot.d.ts +11 -8
  130. package/dist/types/vue-ui-horizontal-bar.d.ts +11 -8
  131. package/dist/types/vue-ui-icon.d.ts +2 -4
  132. package/dist/types/vue-ui-kpi.d.ts +2 -4
  133. package/dist/types/vue-ui-mini-loader.d.ts +4 -4
  134. package/dist/types/vue-ui-molecule.d.ts +11 -8
  135. package/dist/types/vue-ui-mood-radar.d.ts +11 -8
  136. package/dist/types/vue-ui-nested-donuts.d.ts +11 -8
  137. package/dist/types/vue-ui-onion.d.ts +11 -8
  138. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +11 -8
  139. package/dist/types/vue-ui-pattern-seed.d.ts +14 -0
  140. package/dist/types/vue-ui-pattern.d.ts +2 -4
  141. package/dist/types/vue-ui-quadrant.d.ts +11 -8
  142. package/dist/types/vue-ui-quick-chart.d.ts +11 -8
  143. package/dist/types/vue-ui-radar.d.ts +11 -8
  144. package/dist/types/vue-ui-rating.d.ts +4 -4
  145. package/dist/types/vue-ui-relation-circle.d.ts +11 -8
  146. package/dist/types/vue-ui-ridgeline.d.ts +11 -8
  147. package/dist/types/vue-ui-rings.d.ts +11 -8
  148. package/dist/types/vue-ui-scatter.d.ts +11 -8
  149. package/dist/types/vue-ui-skeleton.d.ts +2 -4
  150. package/dist/types/vue-ui-smiley.d.ts +2 -5
  151. package/dist/types/vue-ui-spark-trend.d.ts +2 -4
  152. package/dist/types/vue-ui-sparkbar.d.ts +4 -4
  153. package/dist/types/vue-ui-sparkgauge.d.ts +4 -4
  154. package/dist/types/vue-ui-sparkhistogram.d.ts +4 -4
  155. package/dist/types/vue-ui-sparkline.d.ts +4 -4
  156. package/dist/types/vue-ui-sparkstackbar.d.ts +4 -4
  157. package/dist/types/vue-ui-stackbar.d.ts +11 -8
  158. package/dist/types/vue-ui-stackline.d.ts +11 -8
  159. package/dist/types/vue-ui-strip-plot.d.ts +11 -8
  160. package/dist/types/vue-ui-table-heatmap.d.ts +4 -4
  161. package/dist/types/vue-ui-table-sparkline.d.ts +4 -4
  162. package/dist/types/vue-ui-table.d.ts +4 -4
  163. package/dist/types/vue-ui-thermometer.d.ts +11 -8
  164. package/dist/types/vue-ui-timer.d.ts +2 -4
  165. package/dist/types/vue-ui-tiremarks.d.ts +11 -8
  166. package/dist/types/vue-ui-treemap.d.ts +11 -8
  167. package/dist/types/vue-ui-vertical-bar.d.ts +11 -8
  168. package/dist/types/vue-ui-waffle.d.ts +11 -8
  169. package/dist/types/vue-ui-wheel.d.ts +11 -8
  170. package/dist/types/vue-ui-word-cloud.d.ts +11 -8
  171. package/dist/types/vue-ui-world.d.ts +11 -8
  172. package/dist/types/vue-ui-xy-canvas.d.ts +11 -8
  173. package/dist/types/vue-ui-xy.d.ts +9 -6
  174. package/dist/{useAutoSizeLabelsInsideViewbox-DX7LdvFX.js → useAutoSizeLabelsInsideViewbox-izlGDfwu.js} +1 -1
  175. package/dist/{useChartAccessibility-9icAAmYg.js → useChartAccessibility-cp6XQtqi.js} +4 -1
  176. package/dist/{useConfig-C40HvGpD.js → useConfig-DTHxOX6V.js} +2 -8
  177. package/dist/{useNestedProp-Bf5XFbs8.js → useNestedProp-DH0BEVVS.js} +1 -1
  178. package/dist/{useObjectBindings-DOokNdQ_.js → useObjectBindings-BjkVidN3.js} +17 -6
  179. package/dist/{usePanZoom-CDF7rb3o.js → usePanZoom-BbDhcKWf.js} +11 -2
  180. package/dist/{usePrefersMotion-CUKm8_t8.js → usePrefersMotion-Co0nj1eS.js} +3 -1
  181. package/dist/{usePrinter-CEpYU3r5.js → usePrinter-C4t8DdQ-.js} +3 -8
  182. package/dist/{useStableElementSize-DCNs0Tx7.js → useStableElementSize-C48ZVcZQ.js} +4 -1
  183. package/dist/{useSvgExport-ByUukOZt.js → useSvgExport-BTG4hVPO.js} +154 -34
  184. package/dist/{useTableResponsive-Cbx-ACcP.js → useTableResponsive-BpfiEtzR.js} +7 -3
  185. package/dist/{useThemeCheck-D1ZYXUwG.js → useThemeCheck-C9Ccl7U9.js} +4 -2
  186. package/dist/{useTimeLabelCollider-CIsgDrl9.js → useTimeLabelCollider-D3JeJ6Ye.js} +13 -5
  187. package/dist/{useTimeLabels-C-A2uZKi.js → useTimeLabels-Cv0tD9In.js} +22 -6
  188. package/dist/{useUserOptionState-BIvW1Kz7.js → useUserOptionState-B7Ej974k.js} +6 -4
  189. package/dist/utils.js +28 -25
  190. package/dist/{vue-data-ui-CGsJdqdx.js → vue-data-ui-C0aMSe2G.js} +138 -72
  191. package/dist/vue-data-ui.js +103 -99
  192. package/dist/{vue-ui-3d-bar-Bnm0MPNr.js → vue-ui-3d-bar-CzXlsUEJ.js} +328 -101
  193. package/dist/{vue-ui-accordion-DDuJT1xA.js → vue-ui-accordion-BHmfmb_6.js} +26 -14
  194. package/dist/{vue-ui-age-pyramid-vvDMkGxw.js → vue-ui-age-pyramid-DMZ9oYFv.js} +180 -73
  195. package/dist/{vue-ui-annotator-BdmTltyl.js → vue-ui-annotator-Db4eooqI.js} +162 -53
  196. package/dist/{vue-ui-bullet-CM5pK6Sj.js → vue-ui-bullet-CEH6eppC.js} +92 -35
  197. package/dist/{vue-ui-bump-DAo_mV8M.js → vue-ui-bump-JbKFEe2A.js} +205 -102
  198. package/dist/{vue-ui-candlestick-DsiOmaj1.js → vue-ui-candlestick-BX01sTaY.js} +285 -100
  199. package/dist/{vue-ui-carousel-table-DUl5G_cg.js → vue-ui-carousel-table-BOAti3gd.js} +66 -29
  200. package/dist/{vue-ui-chestnut-DMMCHoHB.js → vue-ui-chestnut-B0rhAzCA.js} +277 -88
  201. package/dist/{vue-ui-chord-75V7kRrX.js → vue-ui-chord-DKIHZ39Z.js} +226 -96
  202. package/dist/{vue-ui-circle-pack-BGXpEnmN.js → vue-ui-circle-pack-Ct2roluW.js} +196 -111
  203. package/dist/{vue-ui-cursor-BpPe14qk.js → vue-ui-cursor-B3cJoPku.js} +14 -7
  204. package/dist/{vue-ui-dag-D20FezGN.js → vue-ui-dag-DCq1VMNd.js} +261 -99
  205. package/dist/{vue-ui-dashboard-BcafQJ1Y.js → vue-ui-dashboard-BqAYr0Fr.js} +261 -94
  206. package/dist/{vue-ui-digits-gFYVzPkE.js → vue-ui-digits-D16SQQ4M.js} +6 -6
  207. package/dist/{vue-ui-donut-Cz7rvM7I.js → vue-ui-donut-d0LLrlKG.js} +532 -157
  208. package/dist/{vue-ui-donut-evolution-Cp0-8Deg.js → vue-ui-donut-evolution-6sMhQduN.js} +311 -92
  209. package/dist/{vue-ui-dumbbell-D_13qNsV.js → vue-ui-dumbbell-CUybhrwj.js} +266 -93
  210. package/dist/{vue-ui-flow-BuaVAVvN.js → vue-ui-flow-BZ-9RFsy.js} +121 -48
  211. package/dist/{vue-ui-funnel-Cv18o2ax.js → vue-ui-funnel-BJgvIvlz.js} +91 -39
  212. package/dist/{vue-ui-galaxy-n17IGTDo.js → vue-ui-galaxy-DR9WL985.js} +161 -69
  213. package/dist/{vue-ui-gauge-2bks6sjR.js → vue-ui-gauge-x96W5OPx.js} +95 -37
  214. package/dist/{vue-ui-geo-D6BoOtIP.js → vue-ui-geo-qTfYs5qi.js} +113 -43
  215. package/dist/{vue-ui-gizmo-CV07ZThl.js → vue-ui-gizmo-C8HOirN9.js} +25 -12
  216. package/dist/{vue-ui-heatmap-DfbRacVm.js → vue-ui-heatmap-Cy9o-A7B.js} +316 -125
  217. package/dist/{vue-ui-history-plot-5sPJfAue.js → vue-ui-history-plot-j0DMfNPJ.js} +186 -73
  218. package/dist/{vue-ui-horizontal-bar-BhMvbsvs.js → vue-ui-horizontal-bar-CRScV3rx.js} +151 -56
  219. package/dist/{vue-ui-kpi-P92uuJ_R.js → vue-ui-kpi-CEx3P3Do.js} +35 -14
  220. package/dist/{vue-ui-mini-loader-DrROXJIX.js → vue-ui-mini-loader-CyDOoarO.js} +17 -11
  221. package/dist/{vue-ui-molecule-BI6zROGn.js → vue-ui-molecule-B_19tjnI.js} +226 -120
  222. package/dist/{vue-ui-mood-radar-Byc_xyhw.js → vue-ui-mood-radar-DrkGtt7m.js} +166 -56
  223. package/dist/{vue-ui-nested-donuts-BZu1ntbw.js → vue-ui-nested-donuts-C3enuKq1.js} +196 -89
  224. package/dist/{vue-ui-onion-O2tKgfXh.js → vue-ui-onion-DMMLNXVu.js} +155 -74
  225. package/dist/{vue-ui-parallel-coordinate-plot-CbDGHCzy.js → vue-ui-parallel-coordinate-plot-YokoI6TP.js} +262 -84
  226. package/dist/vue-ui-pattern-seed-BcNlxb2i.js +36 -0
  227. package/dist/{vue-ui-quadrant-CPgUkle7.js → vue-ui-quadrant-D8vI4gIT.js} +240 -88
  228. package/dist/{vue-ui-quick-chart-CgDH-APs.js → vue-ui-quick-chart-BdwHAQyA.js} +445 -150
  229. package/dist/{vue-ui-radar-Belp_vQe.js → vue-ui-radar-DQWyecSD.js} +186 -68
  230. package/dist/{vue-ui-rating-C1f6x_PD.js → vue-ui-rating-DKmEn0VK.js} +30 -11
  231. package/dist/{vue-ui-relation-circle-AWRDIZzF.js → vue-ui-relation-circle-XQH3QkrI.js} +119 -45
  232. package/dist/{vue-ui-ridgeline-Cao4_cEs.js → vue-ui-ridgeline-ksI62sSU.js} +349 -85
  233. package/dist/{vue-ui-rings-Dl462hDH.js → vue-ui-rings-Dwbo1Fro.js} +179 -81
  234. package/dist/{vue-ui-scatter-BrVEK5YL.js → vue-ui-scatter-GFzM-YYz.js} +282 -102
  235. package/dist/{vue-ui-skeleton-BsTtcR3x.js → vue-ui-skeleton-xLPY1FKW.js} +161 -144
  236. package/dist/{vue-ui-smiley-M5Gn70_Z.js → vue-ui-smiley-BLMl69Ca.js} +28 -17
  237. package/dist/{vue-ui-spark-trend-CbtI2yPI.js → vue-ui-spark-trend-Bkxd18l5.js} +76 -31
  238. package/dist/{vue-ui-sparkbar-DgrwoANx.js → vue-ui-sparkbar-D2abFa-u.js} +113 -59
  239. package/dist/{vue-ui-sparkgauge-CepspA5J.js → vue-ui-sparkgauge-D6IF3ZQR.js} +47 -18
  240. package/dist/{vue-ui-sparkhistogram-BAVAkN0U.js → vue-ui-sparkhistogram-Dl8WlJLW.js} +145 -60
  241. package/dist/{vue-ui-sparkline-BMcsfaUW.js → vue-ui-sparkline-BY05SDNv.js} +226 -68
  242. package/dist/{vue-ui-sparkstackbar-BAzr99-y.js → vue-ui-sparkstackbar-BLFjfklb.js} +84 -36
  243. package/dist/{vue-ui-stackbar-BnepTc3z.js → vue-ui-stackbar-Dw-CI94e.js} +482 -169
  244. package/dist/{vue-ui-stackline-p3Utm59w.js → vue-ui-stackline-CkgSbKkp.js} +473 -164
  245. package/dist/{vue-ui-strip-plot-BfYmPTZT.js → vue-ui-strip-plot-P16Y5yN1.js} +239 -132
  246. package/dist/{vue-ui-table-BNmt2bQy.js → vue-ui-table-BPLypaeX.js} +339 -122
  247. package/dist/{vue-ui-table-heatmap-C6rSAGDu.js → vue-ui-table-heatmap-CWp_5d1z.js} +89 -25
  248. package/dist/{vue-ui-table-sparkline-BMt2q1FS.js → vue-ui-table-sparkline-CpjyrPic.js} +127 -47
  249. package/dist/{vue-ui-thermometer-Bf22bEzP.js → vue-ui-thermometer-B9nc954A.js} +129 -48
  250. package/dist/{vue-ui-timer-CkEPkE7B.js → vue-ui-timer-BDfbM4vl.js} +32 -15
  251. package/dist/{vue-ui-tiremarks-ltmjDwug.js → vue-ui-tiremarks-DHV_oSQ0.js} +90 -35
  252. package/dist/vue-ui-treemap-DLWOi_EG.js +1748 -0
  253. package/dist/{vue-ui-waffle-AUF7SKGN.js → vue-ui-waffle-CpNJSzAD.js} +206 -87
  254. package/dist/{vue-ui-wheel-Dn1nmx7r.js → vue-ui-wheel-DqBmaQ6h.js} +231 -61
  255. package/dist/{vue-ui-word-cloud-Bll30XSc.js → vue-ui-word-cloud-DexRxuh1.js} +443 -350
  256. package/dist/vue-ui-world-DAJgtvpz.js +14451 -0
  257. package/dist/{vue-ui-xy-BGC31q8v.js → vue-ui-xy-Cv-50xHj.js} +840 -252
  258. package/dist/{vue-ui-xy-canvas-BR-Qogdl.js → vue-ui-xy-canvas-BNUX13xH.js} +448 -159
  259. package/package.json +120 -119
  260. package/dist/BaseScanner-BhhkKVoj.js +0 -30
  261. package/dist/vue-ui-treemap-CGbTrwdn.js +0 -1726
  262. package/dist/vue-ui-world-CiNUxqIq.js +0 -1011
@@ -1,21 +1,21 @@
1
1
  import { defineAsyncComponent as ye, computed as T, ref as w, toRefs as Ul, watch as je, shallowRef as Gt, onMounted as jl, onBeforeUnmount as Gl, openBlock as v, createElementBlock as c, unref as h, normalizeStyle as ue, normalizeClass as qt, createElementVNode as k, toDisplayString as V, createCommentVNode as x, createBlock as ae, withCtx as P, renderSlot as z, normalizeProps as q, guardReactiveProps as H, createSlots as Ht, createVNode as Oe, Fragment as Q, renderList as oe, Teleport as ql, resolveDynamicComponent as Hl, mergeProps as Kl, createTextVNode as Kt, nextTick as yt } from "vue";
2
- import { j as Zl, t as Zt, m as Jl, p as ge, o as Jt, q as dt, n as Ql, r as Qt, ak as ea, s as ht, am as ta, c as la, u as Ge, k as se, l as ee, X as aa, al as oa, K as Z, a0 as sa, a1 as na, T as ua, U as ia, a3 as ra } from "./lib-DBptbyyI.js";
2
+ import { j as Zl, t as Zt, m as Jl, p as ge, o as Jt, q as dt, n as Ql, r as Qt, ak as ea, s as ht, am as ta, c as la, u as Ge, k as se, l as ee, X as aa, al as oa, K as Z, a0 as sa, a1 as na, T as ua, U as ia, a3 as ra } from "./lib-DMzrGQHK.js";
3
3
  import { t as va, u as ca } from "./useResponsive-DfdjqQps.js";
4
- import { u as ya } from "./useConfig-C40HvGpD.js";
5
- import { u as da, B as ha } from "./BaseScanner-BhhkKVoj.js";
6
- import { u as fa } from "./usePrinter-CEpYU3r5.js";
7
- import { u as pa } from "./useSvgExport-ByUukOZt.js";
8
- import { u as ft } from "./useNestedProp-Bf5XFbs8.js";
9
- import { u as ga } from "./useThemeCheck-D1ZYXUwG.js";
10
- import { u as ma } from "./useUserOptionState-BIvW1Kz7.js";
11
- import { u as xa } from "./useChartAccessibility-9icAAmYg.js";
12
- import ba from "./img-LXxMLmCg.js";
13
- import { _ as pt } from "./Shape-BKRUOeKk.js";
14
- import ka from "./Title-BeMKE1cj.js";
4
+ import { u as ya } from "./useConfig-DTHxOX6V.js";
5
+ import { u as da, B as ha } from "./BaseScanner-BON3d_Sx.js";
6
+ import { u as fa } from "./usePrinter-C4t8DdQ-.js";
7
+ import { u as pa } from "./useSvgExport-BTG4hVPO.js";
8
+ import { u as ft } from "./useNestedProp-DH0BEVVS.js";
9
+ import { u as ga } from "./useThemeCheck-C9Ccl7U9.js";
10
+ import { u as ma } from "./useUserOptionState-B7Ej974k.js";
11
+ import { u as xa } from "./useChartAccessibility-cp6XQtqi.js";
12
+ import ba from "./img-CjTQXS0U.js";
13
+ import { _ as pt } from "./Shape-CxJ5_Rre.js";
14
+ import ka from "./Title-BbKoiBk2.js";
15
15
  import wa from "./vue_ui_scatter-CO5Iq9ai.js";
16
- import $a from "./Legend-CS7Xo5LK.js";
17
- import { A as Ma } from "./A11yDataTable-KcVAX2cP.js";
18
- import { B as _a } from "./BaseLegendToggle-BQVIawmA.js";
16
+ import $a from "./Legend-DGN5lY60.js";
17
+ import { A as Ma } from "./A11yDataTable-BpmuNomI.js";
18
+ import { B as _a } from "./BaseLegendToggle-cMP8M2u0.js";
19
19
  import { _ as Ca } from "./_plugin-vue_export-helper-CHgC5LLL.js";
20
20
  const Aa = ["id"], Sa = ["id"], Ta = {
21
21
  key: 0,
@@ -74,7 +74,17 @@ const Aa = ["id"], Sa = ["id"], Ta = {
74
74
  },
75
75
  emits: ["copyAlt"],
76
76
  setup(el, { expose: tl, emit: ll }) {
77
- const al = ye(() => import("./Tooltip-C8KGyqQk.js")), ol = ye(() => import("./BaseIcon-Cb3zzG6s.js")), sl = ye(() => import("./vue-ui-accordion-DDuJT1xA.js")), nl = ye(() => import("./DataTable-DT2kIdQ6.js")), ul = ye(() => import("./PenAndPaper-Ct3qJ4lA.js")), il = ye(() => import("./UserOptions-rW2fRf3V.js")), rl = ye(() => import("./PackageVersion-PjmqM4wb.js")), vl = ye(() => import("./BaseDraggableDialog-CIb-iD9g.js")), { vue_ui_scatter: cl } = ya(), { isThemeValid: yl, warnInvalidTheme: dl } = ga(), te = el, hl = ll, gt = T(() => !!te.dataset && te.dataset.length), N = w(Zl()), De = w(!1), qe = w(""), mt = w(0), ne = w(null), xt = w(null), bt = w(null), kt = w(null), wt = w(null), $t = w(0), Mt = w(0), _t = w(0), I = w([]), Ct = w(!1), _e = w(null), Ce = w(null), Ae = w(null), He = w(null), Ee = w(!1), Ne = w(!1), Ke = w(null), fl = w(null), pl = w(null), Ze = w(null), me = w(null), At = w({ x: 0, y: 0 }), Se = w("pointer"), Fe = w(!1), Te = w(null), e = w(lt()), de = T(() => e.value.userOptions.useCursorPointer);
77
+ const al = ye(() => import("./Tooltip-Cvt7Fi0Q.js")), ol = ye(() => import("./BaseIcon-DX0hTWa-.js")), sl = ye(() => import("./vue-ui-accordion-BHmfmb_6.js")), nl = ye(() => import("./DataTable-cMnb68Ik.js")), ul = ye(
78
+ () => import("./PenAndPaper-CJDoB5H9.js")
79
+ ), il = ye(
80
+ () => import("./UserOptions-DVduN6X7.js")
81
+ ), rl = ye(
82
+ () => import("./PackageVersion-DVvvyQXB.js")
83
+ ), vl = ye(
84
+ () => import("./BaseDraggableDialog-Di8Hlru3.js")
85
+ ), { vue_ui_scatter: cl } = ya(), { isThemeValid: yl, warnInvalidTheme: dl } = ga(), te = el, hl = ll, gt = T(() => !!te.dataset && te.dataset.length), N = w(Zl()), De = w(!1), qe = w(""), mt = w(0), ne = w(null), xt = w(null), bt = w(null), kt = w(null), wt = w(null), $t = w(0), Mt = w(0), _t = w(0), I = w([]), Ct = w(!1), _e = w(null), Ce = w(null), Ae = w(null), He = w(null), Ee = w(!1), Ne = w(!1), Ke = w(null), fl = w(null), pl = w(null), Ze = w(null), me = w(null), At = w({ x: 0, y: 0 }), Se = w("pointer"), Fe = w(!1), Te = w(null), e = w(lt()), de = T(
86
+ () => e.value.userOptions.useCursorPointer
87
+ );
78
88
  function gl(t = 100, a = 0.8, l = {}) {
79
89
  const { meanX: s = 0, sdX: o = 1, meanY: n = 0, sdY: i = 1, seed: y } = l;
80
90
  let r = (y ?? Math.floor(Math.random() * 2 ** 31)) >>> 0;
@@ -143,7 +153,9 @@ const Aa = ["id"], Sa = ["id"], Ta = {
143
153
  defaultConfig: e.value,
144
154
  userConfig: ml.value
145
155
  })
146
- }), { userOptionsVisible: tt, setUserOptionsVisibility: St, keepUserOptionState: Tt } = ma({ config: e.value }), { svgRef: ie } = xa({ config: e.value.style.title });
156
+ }), { userOptionsVisible: tt, setUserOptionsVisibility: St, keepUserOptionState: Tt } = ma({ config: e.value }), { svgRef: ie } = xa({
157
+ config: e.value.style.title
158
+ });
147
159
  function lt() {
148
160
  const t = ft({
149
161
  userConfig: te.config,
@@ -164,8 +176,11 @@ const Aa = ["id"], Sa = ["id"], Ta = {
164
176
  customPalette: s.customPalette.length ? s.customPalette : Jl[a] || ge
165
177
  };
166
178
  }
167
- je(() => te.config, (t) => {
168
- Je.value || (e.value = lt()), tt.value = !e.value.userOptions.showOnChartHover, Pt(), $t.value += 1, Mt.value += 1, _t.value += 1, K.value.showTable = e.value.table.show, K.value.showTooltip = e.value.style.tooltip.show, Lt.value && e.value.usePerformanceMode && console.warn(`VueUiScatter : You are using performance mode
179
+ je(
180
+ () => te.config,
181
+ (t) => {
182
+ Je.value || (e.value = lt()), tt.value = !e.value.userOptions.showOnChartHover, Pt(), $t.value += 1, Mt.value += 1, _t.value += 1, K.value.showTable = e.value.table.show, K.value.showTooltip = e.value.style.tooltip.show, Lt.value && e.value.usePerformanceMode && console.warn(
183
+ `VueUiScatter : You are using performance mode
169
184
 
170
185
  - downsampling is disabled in this mode, all plots are rendered
171
186
 
@@ -173,10 +188,17 @@ const Aa = ["id"], Sa = ["id"], Ta = {
173
188
 
174
189
  - Depending on plot density, shapes might not display a border (stroke) to avoid fuzziness
175
190
 
176
- ℹ️ To remove this warning, set config.debug to false.`);
177
- }, { deep: !0 }), je(() => te.dataset, (t) => {
178
- Array.isArray(t) && t.length > 0 && (et.value = !1);
179
- }, { deep: !0 });
191
+ ℹ️ To remove this warning, set config.debug to false.`
192
+ );
193
+ },
194
+ { deep: !0 }
195
+ ), je(
196
+ () => te.dataset,
197
+ (t) => {
198
+ Array.isArray(t) && t.length > 0 && (et.value = !1);
199
+ },
200
+ { deep: !0 }
201
+ );
180
202
  const re = Gt(null), xe = Gt(null);
181
203
  jl(() => {
182
204
  Ct.value = !0, Pt();
@@ -214,12 +236,16 @@ const Aa = ["id"], Sa = ["id"], Ta = {
214
236
  showTable: e.value.table.show,
215
237
  showTooltip: e.value.style.tooltip.show
216
238
  });
217
- je(e, () => {
218
- K.value = {
219
- showTable: e.value.table.show,
220
- showTooltip: e.value.style.tooltip.show
221
- };
222
- }, { immediate: !0 });
239
+ je(
240
+ e,
241
+ () => {
242
+ K.value = {
243
+ showTable: e.value.table.show,
244
+ showTooltip: e.value.style.tooltip.show
245
+ };
246
+ },
247
+ { immediate: !0 }
248
+ );
223
249
  const Y = w({
224
250
  height: e.value.style.layout.height,
225
251
  width: e.value.style.layout.width
@@ -259,8 +285,21 @@ const Aa = ["id"], Sa = ["id"], Ta = {
259
285
  });
260
286
  });
261
287
  });
262
- const t = Math.min(...J.value.filter((o) => !I.value.includes(o.id)).flatMap((o) => o.values.map((n) => n.x))), a = Math.max(...J.value.filter((o) => !I.value.includes(o.id)).flatMap((o) => o.values.map((n) => n.x))), l = Math.min(...J.value.filter((o) => !I.value.includes(o.id)).flatMap((o) => o.values.map((n) => n.y))), s = Math.max(...J.value.filter((o) => !I.value.includes(o.id)).flatMap((o) => o.values.map((n) => n.y)));
263
- return { xMin: t >= 0 ? 0 : t, xMax: a, yMin: l >= 0 ? 0 : l, yMax: s };
288
+ const t = Math.min(
289
+ ...J.value.filter((o) => !I.value.includes(o.id)).flatMap((o) => o.values.map((n) => n.x))
290
+ ), a = Math.max(
291
+ ...J.value.filter((o) => !I.value.includes(o.id)).flatMap((o) => o.values.map((n) => n.x))
292
+ ), l = Math.min(
293
+ ...J.value.filter((o) => !I.value.includes(o.id)).flatMap((o) => o.values.map((n) => n.y))
294
+ ), s = Math.max(
295
+ ...J.value.filter((o) => !I.value.includes(o.id)).flatMap((o) => o.values.map((n) => n.y))
296
+ );
297
+ return {
298
+ xMin: t >= 0 ? 0 : t,
299
+ xMax: a,
300
+ yMin: l >= 0 ? 0 : l,
301
+ yMax: s
302
+ };
264
303
  }), W = T(() => ({
265
304
  x: u.value.left + Math.abs(F.value.xMin) / (F.value.xMax + Math.abs(F.value.xMin)) * u.value.width,
266
305
  y: u.value.bottom - Math.abs(F.value.yMin) / (F.value.yMax + Math.abs(F.value.yMin)) * u.value.height
@@ -309,7 +348,9 @@ const Aa = ["id"], Sa = ["id"], Ta = {
309
348
  n !== null ? n >= i - 1e-9 && n <= y + 1e-9 && (d(n, r), d(n, f)) : Number.isFinite(l) && (d(i, l * i + s), d(y, l * y + s), Math.abs(l) > 1e-9 ? (d((r - s) / l, r), d((f - s) / l, f)) : s >= r - 1e-9 && s <= f + 1e-9 && (d(i, s), d(y, s)));
310
349
  const E = A.filter(m), _ = [];
311
350
  for (const C of E)
312
- _.some((p) => Math.abs(p.x - C.x) < 1e-6 && Math.abs(p.y - C.y) < 1e-6) || _.push(C);
351
+ _.some(
352
+ (p) => Math.abs(p.x - C.x) < 1e-6 && Math.abs(p.y - C.y) < 1e-6
353
+ ) || _.push(C);
313
354
  if (_.length < 2) return null;
314
355
  let O = _[0], D = _[1], L = 0;
315
356
  for (let C = 0; C < _.length; C += 1)
@@ -330,7 +371,9 @@ const Aa = ["id"], Sa = ["id"], Ta = {
330
371
  y < 1e-9 ? (A = o, r = 1 / 0, f = null) : (r = i / y, f = n - r * o);
331
372
  let d, m;
332
373
  A !== null ? (d = 1 / 0, m = null) : (d = r, m = f);
333
- const E = l.plots.every((p) => p.v && typeof p.v.x == "number" && typeof p.v.y == "number");
374
+ const E = l.plots.every(
375
+ (p) => p.v && typeof p.v.x == "number" && typeof p.v.y == "number"
376
+ );
334
377
  let _ = NaN;
335
378
  if (s >= 2) {
336
379
  let p = 0, B = 0;
@@ -345,7 +388,12 @@ const Aa = ["id"], Sa = ["id"], Ta = {
345
388
  _ = Math.max(-1, Math.min(1, j));
346
389
  }
347
390
  }
348
- const O = a({ m: d, b: m, rect: u.value, verticalX: A });
391
+ const O = a({
392
+ m: d,
393
+ b: m,
394
+ rect: u.value,
395
+ verticalX: A
396
+ });
349
397
  if (!O)
350
398
  return {
351
399
  ...l,
@@ -380,7 +428,11 @@ const Aa = ["id"], Sa = ["id"], Ta = {
380
428
  })
381
429
  };
382
430
  });
383
- }), Ot = T(() => Math.max(...U.value.flatMap((t) => t.plots.map((a) => Math.abs(a.deviation)))));
431
+ }), Ot = T(() => Math.max(
432
+ ...U.value.flatMap(
433
+ (t) => t.plots.map((a) => Math.abs(a.deviation))
434
+ )
435
+ ));
384
436
  function kl() {
385
437
  return U.value;
386
438
  }
@@ -407,20 +459,26 @@ const Aa = ["id"], Sa = ["id"], Ta = {
407
459
  const O = Math.max(...d), D = Math.max(...m);
408
460
  return { x: d, y: m, avgX: E, avgY: _, maxX: O, maxY: D };
409
461
  }
410
- const $ = T(() => e.value.style.layout.marginalBars.tranches), S = T(() => Dt(be.value, $.value)), wl = T(() => {
462
+ const $ = T(
463
+ () => e.value.style.layout.marginalBars.tranches
464
+ ), S = T(() => Dt(be.value, $.value)), wl = T(() => {
411
465
  const t = u.value.top - e.value.style.layout.marginalBars.offset, a = u.value.right + e.value.style.layout.marginalBars.offset;
412
466
  return be.value.map((l) => {
413
467
  const s = Dt(l, $.value);
414
468
  return {
415
469
  coords: s,
416
- dX: la(s.avgX.map((o, n) => ({
417
- x: o,
418
- y: t - s.x[n] / s.maxX * e.value.style.layout.marginalBars.size
419
- }))),
420
- dY: ta(s.avgY.map((o, n) => ({
421
- y: o,
422
- x: a + e.value.style.layout.marginalBars.size * s.y[n] / s.maxY
423
- }))),
470
+ dX: la(
471
+ s.avgX.map((o, n) => ({
472
+ x: o,
473
+ y: t - s.x[n] / s.maxX * e.value.style.layout.marginalBars.size
474
+ }))
475
+ ),
476
+ dY: ta(
477
+ s.avgY.map((o, n) => ({
478
+ y: o,
479
+ x: a + e.value.style.layout.marginalBars.size * s.y[n] / s.maxY
480
+ }))
481
+ ),
424
482
  color: l.color,
425
483
  id: l.id
426
484
  };
@@ -437,19 +495,24 @@ const Aa = ["id"], Sa = ["id"], Ta = {
437
495
  function he(t, a, l = "pointer", s = null) {
438
496
  R.value = t.id, g.value = t, Se.value = l, Te.value = s, me.value = t.id;
439
497
  let o = "";
440
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a }), Xe.value = {
498
+ e.value.events.datapointEnter && e.value.events.datapointEnter({
499
+ datapoint: t,
500
+ seriesIndex: a
501
+ }), Xe.value = {
441
502
  datapoint: t,
442
503
  seriesIndex: a,
443
504
  series: U.value,
444
505
  config: e.value
445
506
  };
446
507
  const n = e.value.style.tooltip.customFormat;
447
- ua(n) && ia(() => n({
448
- datapoint: t,
449
- seriesIndex: a,
450
- series: U.value,
451
- config: e.value
452
- })) ? qe.value = n({
508
+ ua(n) && ia(
509
+ () => n({
510
+ datapoint: t,
511
+ seriesIndex: a,
512
+ series: U.value,
513
+ config: e.value
514
+ })
515
+ ) ? qe.value = n({
453
516
  datapoint: t,
454
517
  seriesIndex: a,
455
518
  series: U.value,
@@ -474,10 +537,12 @@ const Aa = ["id"], Sa = ["id"], Ta = {
474
537
  r: e.value.style.tooltip.roundingValue
475
538
  }),
476
539
  { datapoint: t, seriesIndex: a }
477
- )}</b></div>`, o += `${e.value.style.layout.plots.deviation.translation}: <b>${ee({
478
- v: t.deviation,
479
- r: e.value.style.layout.plots.deviation.roundingValue
480
- })}</b>`, o += "</div>", qe.value = `<div>${o}</div>`), De.value = !0, l === "keyboard" && yt(() => {
540
+ )}</b></div>`, o += `${e.value.style.layout.plots.deviation.translation}: <b>${ee(
541
+ {
542
+ v: t.deviation,
543
+ r: e.value.style.layout.plots.deviation.roundingValue
544
+ }
545
+ )}</b>`, o += "</div>", qe.value = `<div>${o}</div>`), De.value = !0, l === "keyboard" && yt(() => {
481
546
  $l(t);
482
547
  });
483
548
  }
@@ -511,14 +576,27 @@ const Aa = ["id"], Sa = ["id"], Ta = {
511
576
  }
512
577
  function nt(t = null) {
513
578
  yt(() => {
514
- const a = ["", e.value.table.translations.correlationCoefficient, e.value.table.translations.nbrPlots, `${e.value.style.layout.dataLabels.xAxis.name} ${e.value.table.translations.average}`, `${e.value.style.layout.dataLabels.yAxis.name} ${e.value.table.translations.average}`], l = U.value.map((n) => [
579
+ const a = [
580
+ "",
581
+ e.value.table.translations.correlationCoefficient,
582
+ e.value.table.translations.nbrPlots,
583
+ `${e.value.style.layout.dataLabels.xAxis.name} ${e.value.table.translations.average}`,
584
+ `${e.value.style.layout.dataLabels.yAxis.name} ${e.value.table.translations.average}`
585
+ ], l = U.value.map((n) => [
515
586
  n.name,
516
587
  n.correlation.coefficient,
517
588
  n.plots.length,
518
589
  n.plots.map((i) => i.v.x).reduce((i, y) => i + y, 0) / n.plots.length,
519
590
  n.plots.map((i) => i.v.y).reduce((i, y) => i + y, 0) / n.plots.length
520
- ]), s = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([a]).concat(l), o = sa(s);
521
- t ? t(o) : na({ csvContent: o, title: e.value.style.title.text || "vue-ui-heatmap" });
591
+ ]), s = [
592
+ [e.value.style.title.text],
593
+ [e.value.style.title.subtitle.text],
594
+ [[""], [""], [""]]
595
+ ].concat([a]).concat(l), o = sa(s);
596
+ t ? t(o) : na({
597
+ csvContent: o,
598
+ title: e.value.style.title.text || "vue-ui-heatmap"
599
+ });
522
600
  });
523
601
  }
524
602
  const ke = T(() => {
@@ -534,10 +612,18 @@ const Aa = ["id"], Sa = ["id"], Ta = {
534
612
  content: o.name,
535
613
  color: o.color
536
614
  },
537
- Number((o.correlation.coefficient ?? 0).toFixed(e.value.table.td.roundingValue)).toLocaleString(),
615
+ Number(
616
+ (o.correlation.coefficient ?? 0).toFixed(
617
+ e.value.table.td.roundingValue
618
+ )
619
+ ).toLocaleString(),
538
620
  o.plots.length.toLocaleString(),
539
- Number((o.plots.map((n) => n.v.x ?? 0).reduce((n, i) => n + i, 0) / o.plots.length).toFixed(e.value.table.td.roundingAverage)).toLocaleString(),
540
- Number((o.plots.map((n) => n.v.y ?? 0).reduce((n, i) => n + i, 0) / o.plots.length).toFixed(e.value.table.td.roundingAverage)).toLocaleString()
621
+ Number(
622
+ (o.plots.map((n) => n.v.x ?? 0).reduce((n, i) => n + i, 0) / o.plots.length).toFixed(e.value.table.td.roundingAverage)
623
+ ).toLocaleString(),
624
+ Number(
625
+ (o.plots.map((n) => n.v.y ?? 0).reduce((n, i) => n + i, 0) / o.plots.length).toFixed(e.value.table.td.roundingAverage)
626
+ ).toLocaleString()
541
627
  ]), l = a.map((o) => o.map((n, i) => i === 0 ? n.content : n)), s = {
542
628
  th: {
543
629
  backgroundColor: e.value.table.th.backgroundColor,
@@ -568,7 +654,12 @@ const Aa = ["id"], Sa = ["id"], Ta = {
568
654
  }
569
655
  async function Al({ scale: t = 2 } = {}) {
570
656
  if (!ne.value) return;
571
- const { width: a, height: l } = ne.value.getBoundingClientRect(), s = a / l, { imageUri: o, base64: n } = await ba({ domElement: ne.value, base64: !0, img: !0, scale: t });
657
+ const { width: a, height: l } = ne.value.getBoundingClientRect(), s = a / l, { imageUri: o, base64: n } = await ba({
658
+ domElement: ne.value,
659
+ base64: !0,
660
+ img: !0,
661
+ scale: t
662
+ });
572
663
  return {
573
664
  imageUri: o,
574
665
  base64: n,
@@ -631,20 +722,28 @@ const Aa = ["id"], Sa = ["id"], Ta = {
631
722
  const i = [];
632
723
  for (let r = 0; r < 5; r += 1) {
633
724
  const f = (-90 + r * 72) * Math.PI / 180;
634
- i.push([a + o * Math.cos(f), l + o * Math.sin(f)]);
725
+ i.push([
726
+ a + o * Math.cos(f),
727
+ l + o * Math.sin(f)
728
+ ]);
635
729
  }
636
730
  let y = `M ${M(i[0][0])} ${M(i[0][1])}`;
637
- for (let r = 1; r < 5; r += 1) y += ` L ${M(i[r][0])} ${M(i[r][1])}`;
731
+ for (let r = 1; r < 5; r += 1)
732
+ y += ` L ${M(i[r][0])} ${M(i[r][1])}`;
638
733
  return y + " Z";
639
734
  }
640
735
  case "hexagon": {
641
736
  const i = [];
642
737
  for (let r = 0; r < 6; r += 1) {
643
738
  const f = (-60 + r * 60) * Math.PI / 180;
644
- i.push([a + o * Math.cos(f), l + o * Math.sin(f)]);
739
+ i.push([
740
+ a + o * Math.cos(f),
741
+ l + o * Math.sin(f)
742
+ ]);
645
743
  }
646
744
  let y = `M ${M(i[0][0])} ${M(i[0][1])}`;
647
- for (let r = 1; r < 6; r += 1) y += ` L ${M(i[r][0])} ${M(i[r][1])}`;
745
+ for (let r = 1; r < 6; r += 1)
746
+ y += ` L ${M(i[r][0])} ${M(i[r][1])}`;
648
747
  return y + " Z";
649
748
  }
650
749
  default: {
@@ -661,13 +760,18 @@ const Aa = ["id"], Sa = ["id"], Ta = {
661
760
  for (const _ of d.plots) {
662
761
  const O = _.x, D = _.y;
663
762
  if (O < t || O > a || D < l || D > s) continue;
664
- const L = Math.max(e.value.style.layout.plots.radius, _.weight);
665
- m.push(Ll({
666
- shape: d.shape || "circle",
667
- cx: O,
668
- cy: D,
669
- r: L
670
- }));
763
+ const L = Math.max(
764
+ e.value.style.layout.plots.radius,
765
+ _.weight
766
+ );
767
+ m.push(
768
+ Ll({
769
+ shape: d.shape || "circle",
770
+ cx: O,
771
+ cy: D,
772
+ r: L
773
+ })
774
+ );
671
775
  }
672
776
  if (!m.length) return null;
673
777
  const E = n(d.plots.length) > i || d.plots.length > y;
@@ -697,7 +801,12 @@ const Aa = ["id"], Sa = ["id"], Ta = {
697
801
  D <= y && D < f && (f = D, r = E, A = m);
698
802
  });
699
803
  }), r)
700
- R.value !== r.id && (R.value = r.id, he(r, A, "pointer", ve.value.get(r.id) ?? null));
804
+ R.value !== r.id && (R.value = r.id, he(
805
+ r,
806
+ A,
807
+ "pointer",
808
+ ve.value.get(r.id) ?? null
809
+ ));
701
810
  else if (R.value) {
702
811
  const d = g.value;
703
812
  R.value = void 0, Ye(d, A);
@@ -714,7 +823,9 @@ const Aa = ["id"], Sa = ["id"], Ta = {
714
823
  function Il(t) {
715
824
  const a = g.value;
716
825
  if (a) {
717
- const l = U.value.findIndex((s) => s.id === a.clusterId);
826
+ const l = U.value.findIndex(
827
+ (s) => s.id === a.clusterId
828
+ );
718
829
  Re(a, l >= 0 ? l : 0);
719
830
  }
720
831
  }
@@ -749,9 +860,12 @@ const Aa = ["id"], Sa = ["id"], Ta = {
749
860
  }
750
861
  };
751
862
  });
752
- je(() => K.value.showTable, (t) => {
753
- e.value.table.show || (t && e.value.table.useDialog && Ae.value ? Ae.value.open() : "close" in Ae.value && Ae.value.close());
754
- });
863
+ je(
864
+ () => K.value.showTable,
865
+ (t) => {
866
+ e.value.table.show || (t && e.value.table.useDialog && Ae.value ? Ae.value.open() : "close" in Ae.value && Ae.value.close());
867
+ }
868
+ );
755
869
  function Rt() {
756
870
  K.value.showTable = !1, He.value && He.value.setTableIconState(!1);
757
871
  }
@@ -767,7 +881,14 @@ const Aa = ["id"], Sa = ["id"], Ta = {
767
881
  try {
768
882
  if (t) {
769
883
  const { blob: a, url: l, text: s, dataUrl: o } = await Fl();
770
- await Promise.resolve(e.value.userOptions.callbacks.svg({ blob: a, url: l, text: s, dataUrl: o }));
884
+ await Promise.resolve(
885
+ e.value.userOptions.callbacks.svg({
886
+ blob: a,
887
+ url: l,
888
+ text: s,
889
+ dataUrl: o
890
+ })
891
+ );
771
892
  } else
772
893
  await Promise.resolve(Nl());
773
894
  } finally {
@@ -790,13 +911,17 @@ const Aa = ["id"], Sa = ["id"], Ta = {
790
911
  config: e.value,
791
912
  dataset: be.value
792
913
  }), !e.value.userOptions.callbacks.altCopy) {
793
- console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
914
+ console.warn(
915
+ "Vue Data UI - A callback must be set for `altCopy` in userOptions."
916
+ );
794
917
  return;
795
918
  }
796
- await Promise.resolve(e.value.userOptions.callbacks.altCopy({
797
- config: e.value,
798
- dataset: be.value
799
- }));
919
+ await Promise.resolve(
920
+ e.value.userOptions.callbacks.altCopy({
921
+ config: e.value,
922
+ dataset: be.value
923
+ })
924
+ );
800
925
  }
801
926
  function jt(t, a) {
802
927
  const l = we.value.filter((n) => n.id === t.id ? !1 : a === "right" ? n.x > t.x : a === "left" ? n.x < t.x : a === "down" ? n.y > t.y : a === "up" ? n.y < t.y : !1);
@@ -819,7 +944,8 @@ const Aa = ["id"], Sa = ["id"], Ta = {
819
944
  function Rl(t) {
820
945
  if (!ie.value || Le.value || document.activeElement !== ie.value || !we.value.length) return;
821
946
  const a = t.key === "ArrowLeft", l = t.key === "ArrowRight", s = t.key === "ArrowUp", o = t.key === "ArrowDown", n = t.key === "Enter" || t.key === " ", i = t.key === "Escape";
822
- if (!a && !l && !s && !o && !n && !i) return;
947
+ if (!a && !l && !s && !o && !n && !i)
948
+ return;
823
949
  if (t.preventDefault(), t.stopPropagation(), i) {
824
950
  st(), Se.value = "pointer";
825
951
  return;
@@ -839,7 +965,12 @@ const Aa = ["id"], Sa = ["id"], Ta = {
839
965
  if (!D) {
840
966
  const C = ve.value.get(m.id);
841
967
  if (C === void 0) return;
842
- he(m, m.seriesIndex, "keyboard", C);
968
+ he(
969
+ m,
970
+ m.seriesIndex,
971
+ "keyboard",
972
+ C
973
+ );
843
974
  return;
844
975
  }
845
976
  const L = ve.value.get(D.id);
@@ -1125,7 +1256,11 @@ const Aa = ["id"], Sa = ["id"], Ta = {
1125
1256
  ref: ie,
1126
1257
  xmlns: h(aa),
1127
1258
  "aria-describedby": `chart-instructions-${N.value}`,
1128
- class: qt({ "vue-data-ui-fullscreen--on": fe.value, "vue-data-ui-fulscreen--off": !fe.value, animated: e.value.useCssAnimation }),
1259
+ class: qt({
1260
+ "vue-data-ui-fullscreen--on": fe.value,
1261
+ "vue-data-ui-fulscreen--off": !fe.value,
1262
+ animated: e.value.useCssAnimation
1263
+ }),
1129
1264
  viewBox: `0 0 ${Y.value.width <= 0 ? 10 : Y.value.width} ${Y.value.height <= 0 ? 10 : Y.value.height}`,
1130
1265
  style: ue(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`),
1131
1266
  onMouseleave: it,
@@ -1220,7 +1355,10 @@ const Aa = ["id"], Sa = ["id"], Ta = {
1220
1355
  x: S.value.avgX[s] - u.value.width / $.value / 2,
1221
1356
  y: u.value.top - e.value.style.layout.marginalBars.offset - e.value.style.layout.marginalBars.size,
1222
1357
  width: u.value.width / $.value <= 0 ? 1e-4 : u.value.width / $.value,
1223
- height: Math.max(0.1, e.value.style.layout.marginalBars.size),
1358
+ height: Math.max(
1359
+ 0.1,
1360
+ e.value.style.layout.marginalBars.size
1361
+ ),
1224
1362
  fill: "transparent",
1225
1363
  onMouseenter: (o) => Sl(s),
1226
1364
  onMouseleave: a[0] || (a[0] = (o) => it())
@@ -1242,7 +1380,10 @@ const Aa = ["id"], Sa = ["id"], Ta = {
1242
1380
  stroke: e.value.style.layout.marginalBars.highlighter.stroke,
1243
1381
  "stroke-dasharray": e.value.style.layout.marginalBars.highlighter.strokeDasharray,
1244
1382
  "stroke-width": e.value.style.layout.marginalBars.highlighter.strokeWidth,
1245
- style: { transition: "none !important", animation: "none !important" }
1383
+ style: {
1384
+ transition: "none !important",
1385
+ animation: "none !important"
1386
+ }
1246
1387
  }, null, 8, qa),
1247
1388
  k("line", {
1248
1389
  x1: S.value.avgX[s] - u.value.width / $.value / 2 + (u.value.width / $.value <= 0 ? 1e-4 : u.value.width / $.value),
@@ -1252,7 +1393,10 @@ const Aa = ["id"], Sa = ["id"], Ta = {
1252
1393
  stroke: e.value.style.layout.marginalBars.highlighter.stroke,
1253
1394
  "stroke-dasharray": e.value.style.layout.marginalBars.highlighter.strokeDasharray,
1254
1395
  "stroke-width": e.value.style.layout.marginalBars.highlighter.strokeWidth,
1255
- style: { transition: "none !important", animation: "none !important" }
1396
+ style: {
1397
+ transition: "none !important",
1398
+ animation: "none !important"
1399
+ }
1256
1400
  }, null, 8, Ha)
1257
1401
  ])) : x("", !0)
1258
1402
  ]))), 256)),
@@ -1273,7 +1417,10 @@ const Aa = ["id"], Sa = ["id"], Ta = {
1273
1417
  key: 1,
1274
1418
  x: u.value.right + e.value.style.layout.marginalBars.offset,
1275
1419
  y: S.value.avgY[s] - u.value.height / $.value / 2,
1276
- width: Math.max(0.1, e.value.style.layout.marginalBars.size),
1420
+ width: Math.max(
1421
+ 0.1,
1422
+ e.value.style.layout.marginalBars.size
1423
+ ),
1277
1424
  height: u.value.height / $.value <= 0 ? 1e-4 : u.value.height / $.value,
1278
1425
  fill: "transparent",
1279
1426
  onMouseenter: (o) => Tl(s),
@@ -1296,7 +1443,10 @@ const Aa = ["id"], Sa = ["id"], Ta = {
1296
1443
  stroke: e.value.style.layout.marginalBars.highlighter.stroke,
1297
1444
  "stroke-dasharray": e.value.style.layout.marginalBars.highlighter.strokeDasharray,
1298
1445
  "stroke-width": e.value.style.layout.marginalBars.highlighter.strokeWidth,
1299
- style: { transition: "none !important", animation: "none !important" }
1446
+ style: {
1447
+ transition: "none !important",
1448
+ animation: "none !important"
1449
+ }
1300
1450
  }, null, 8, eo),
1301
1451
  k("line", {
1302
1452
  x1: u.value.left,
@@ -1306,7 +1456,10 @@ const Aa = ["id"], Sa = ["id"], Ta = {
1306
1456
  stroke: e.value.style.layout.marginalBars.highlighter.stroke,
1307
1457
  "stroke-dasharray": e.value.style.layout.marginalBars.highlighter.strokeDasharray,
1308
1458
  "stroke-width": e.value.style.layout.marginalBars.highlighter.strokeWidth,
1309
- style: { transition: "none !important", animation: "none !important" }
1459
+ style: {
1460
+ transition: "none !important",
1461
+ animation: "none !important"
1462
+ }
1310
1463
  }, null, 8, to)
1311
1464
  ])) : x("", !0)
1312
1465
  ]))), 256)),
@@ -1356,7 +1509,10 @@ const Aa = ["id"], Sa = ["id"], Ta = {
1356
1509
  l.plots.length > 2 ? (v(), c("polygon", {
1357
1510
  key: 0,
1358
1511
  points: h(oa)({ series: l.plots }),
1359
- fill: h(Ge)(l.color, e.value.style.layout.plots.giftWrap.fillOpacity * 100),
1512
+ fill: h(Ge)(
1513
+ l.color,
1514
+ e.value.style.layout.plots.giftWrap.fillOpacity * 100
1515
+ ),
1360
1516
  "stroke-width": e.value.style.layout.plots.giftWrap.strokeWidth,
1361
1517
  "stroke-dasharray": e.value.style.layout.plots.giftWrap.strokeDasharray,
1362
1518
  stroke: l.color,
@@ -1371,11 +1527,19 @@ const Aa = ["id"], Sa = ["id"], Ta = {
1371
1527
  cx: o.x,
1372
1528
  cy: o.y,
1373
1529
  r: R.value && R.value === o.id ? o.weight * 2 : o.weight,
1374
- fill: h(Ge)(l.color, e.value.style.layout.plots.opacity * 100),
1530
+ fill: h(Ge)(
1531
+ l.color,
1532
+ e.value.style.layout.plots.opacity * 100
1533
+ ),
1375
1534
  stroke: e.value.style.layout.plots.stroke,
1376
1535
  "stroke-width": e.value.style.layout.plots.strokeWidth,
1377
1536
  style: ue(`opacity:${R.value && R.value === o.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(o.deviation) / Ot.value : e.value.style.layout.plots.significance.show && Math.abs(o.deviation) > e.value.style.layout.plots.significance.deviationThreshold ? e.value.style.layout.plots.significance.opacity : 1}`),
1378
- onMouseover: (i) => he(o, s, "pointer", ve.value.get(o.id)),
1537
+ onMouseover: (i) => he(
1538
+ o,
1539
+ s,
1540
+ "pointer",
1541
+ ve.value.get(o.id)
1542
+ ),
1379
1543
  onMouseleave: (i) => Ye(o, s),
1380
1544
  onClick: (i) => Re(o, s)
1381
1545
  }, null, 44, vo))), 256))
@@ -1384,11 +1548,19 @@ const Aa = ["id"], Sa = ["id"], Ta = {
1384
1548
  plot: { x: o.x, y: o.y },
1385
1549
  radius: R.value && R.value === o.id ? o.weight * 2 : o.weight,
1386
1550
  shape: l.shape,
1387
- color: h(Ge)(l.color, e.value.style.layout.plots.opacity * 100),
1551
+ color: h(Ge)(
1552
+ l.color,
1553
+ e.value.style.layout.plots.opacity * 100
1554
+ ),
1388
1555
  stroke: e.value.style.layout.plots.stroke,
1389
1556
  strokeWidth: e.value.style.layout.plots.strokeWidth,
1390
1557
  style: ue(`opacity:${R.value && R.value === o.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(o.deviation) / Ot.value : e.value.style.layout.plots.significance.show && Math.abs(o.deviation) > e.value.style.layout.plots.significance.deviationThreshold ? e.value.style.layout.plots.significance.opacity : 1}`),
1391
- onMouseover: (i) => he(o, s, "pointer", ve.value.get(o.id)),
1558
+ onMouseover: (i) => he(
1559
+ o,
1560
+ s,
1561
+ "pointer",
1562
+ ve.value.get(o.id)
1563
+ ),
1392
1564
  onMouseleave: (i) => Ye(o, s),
1393
1565
  onClick: (i) => Re(o, s)
1394
1566
  }, null, 8, ["plot", "radius", "shape", "color", "stroke", "strokeWidth", "style", "onMouseover", "onMouseleave", "onClick"]))), 256))
@@ -1414,7 +1586,10 @@ const Aa = ["id"], Sa = ["id"], Ta = {
1414
1586
  shape: g.value.shape || "circle",
1415
1587
  color: g.value.color,
1416
1588
  plot: { x: g.value.x, y: g.value.y },
1417
- radius: Math.max(4 * Xt[g.value.shape || "circle"], g.value.weight * 2),
1589
+ radius: Math.max(
1590
+ 4 * Xt[g.value.shape || "circle"],
1591
+ g.value.weight * 2
1592
+ ),
1418
1593
  stroke: e.value.style.layout.plots.stroke,
1419
1594
  strokeWidth: e.value.style.layout.plots.strokeWidth
1420
1595
  }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth"])
@@ -1663,11 +1838,16 @@ const Aa = ["id"], Sa = ["id"], Ta = {
1663
1838
  }, void 0, !0)
1664
1839
  ], 46, Ba)),
1665
1840
  t.$slots.hint ? (v(), c("div", Do, [
1666
- z(t.$slots, "hint", q(H({ hint: e.value.a11y.translations.keyboardNavigation, isVisible: Fe.value })), void 0, !0)
1841
+ z(t.$slots, "hint", q(H({
1842
+ hint: e.value.a11y.translations.keyboardNavigation,
1843
+ isVisible: Fe.value
1844
+ })), void 0, !0)
1667
1845
  ])) : x("", !0)
1668
1846
  ]),
1669
1847
  t.$slots.watermark ? (v(), c("div", Eo, [
1670
- z(t.$slots, "watermark", q(H({ isPrinting: h(at) || h(ot) || Ee.value || Ne.value })), void 0, !0)
1848
+ z(t.$slots, "watermark", q(H({
1849
+ isPrinting: h(at) || h(ot) || Ee.value || Ne.value
1850
+ })), void 0, !0)
1671
1851
  ])) : x("", !0),
1672
1852
  k("div", {
1673
1853
  id: `legend-bottom-${N.value}`
@@ -1828,7 +2008,7 @@ const Aa = ["id"], Sa = ["id"], Ta = {
1828
2008
  ], !0)
1829
2009
  ], 46, Aa));
1830
2010
  }
1831
- }, vs = /* @__PURE__ */ Ca(Vo, [["__scopeId", "data-v-c5a02553"]]);
2011
+ }, vs = /* @__PURE__ */ Ca(Vo, [["__scopeId", "data-v-89d70408"]]);
1832
2012
  export {
1833
2013
  vs as default
1834
2014
  };