vue-data-ui 3.17.3 → 3.17.5

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 (261) 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-BhhkKVoj.js → BaseScanner-C2j3TsSY.js} +15 -9
  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-DP_kfXUM.js → PackageVersion-BjeuEImy.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 +1 -1
  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-DtjWtDHU.js → patternUtils-BINhU4Ky.js} +149 -66
  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 +499 -498
  103. package/dist/types/vue-data-ui.d.ts +2115 -1787
  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 +1 -1
  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 +4 -4
  190. package/dist/{vue-data-ui-kiw3y7gG.js → vue-data-ui-sUtQffE5.js} +138 -72
  191. package/dist/vue-data-ui.js +74 -74
  192. package/dist/{vue-ui-3d-bar-CWaSxiqw.js → vue-ui-3d-bar-D9T1Rz8K.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-B6S8XYmi.js → vue-ui-age-pyramid-vHYpqVeE.js} +180 -73
  195. package/dist/{vue-ui-annotator-BdmTltyl.js → vue-ui-annotator-Db4eooqI.js} +162 -53
  196. package/dist/{vue-ui-bullet-_zHE8JoR.js → vue-ui-bullet-B-PfDV7g.js} +92 -35
  197. package/dist/{vue-ui-bump-BX-bnhix.js → vue-ui-bump-CpQyyxzJ.js} +205 -102
  198. package/dist/{vue-ui-candlestick-CgtRA-EI.js → vue-ui-candlestick-B5wVhTFS.js} +285 -100
  199. package/dist/{vue-ui-carousel-table-BnwS5nMG.js → vue-ui-carousel-table-BwrTmEUk.js} +66 -29
  200. package/dist/{vue-ui-chestnut-3JG1dMba.js → vue-ui-chestnut-DpwRmult.js} +277 -88
  201. package/dist/{vue-ui-chord-DsA-qrl6.js → vue-ui-chord-Co8hJS-b.js} +226 -96
  202. package/dist/{vue-ui-circle-pack-BSHUo-L7.js → vue-ui-circle-pack-CF6Dgnfc.js} +196 -111
  203. package/dist/{vue-ui-cursor-Gqh_JBGA.js → vue-ui-cursor-DH_wY_tf.js} +14 -7
  204. package/dist/{vue-ui-dag-BTB1DCrs.js → vue-ui-dag-DNbCfrdq.js} +261 -99
  205. package/dist/{vue-ui-dashboard-xAW1vWaB.js → vue-ui-dashboard-BCpIGFXu.js} +261 -94
  206. package/dist/{vue-ui-digits-D2wQOhMt.js → vue-ui-digits-D6ndc1-Y.js} +6 -6
  207. package/dist/{vue-ui-donut-UUgV1d0_.js → vue-ui-donut-CHDVQ77G.js} +532 -157
  208. package/dist/{vue-ui-donut-evolution-B0EEKpQC.js → vue-ui-donut-evolution-BHGQCixS.js} +311 -92
  209. package/dist/{vue-ui-dumbbell-Ct2RXkIX.js → vue-ui-dumbbell-Bmr188oI.js} +266 -93
  210. package/dist/{vue-ui-flow-Ci_h8KNf.js → vue-ui-flow-Bk4XhCzv.js} +121 -48
  211. package/dist/{vue-ui-funnel-Ciy-udDH.js → vue-ui-funnel-BrNSApwi.js} +91 -39
  212. package/dist/{vue-ui-galaxy-DJ6_911b.js → vue-ui-galaxy-Q5iomgg7.js} +161 -69
  213. package/dist/{vue-ui-gauge-CJ5OH_wa.js → vue-ui-gauge-BaWqd5eR.js} +95 -37
  214. package/dist/{vue-ui-geo-B-8UJvBt.js → vue-ui-geo-BvySgBl9.js} +113 -43
  215. package/dist/{vue-ui-gizmo-BgdUIouA.js → vue-ui-gizmo-B9wHNMWI.js} +25 -12
  216. package/dist/{vue-ui-heatmap-ZdZ22EDj.js → vue-ui-heatmap-CHmJrc5H.js} +316 -125
  217. package/dist/{vue-ui-history-plot-D1vpgQ8I.js → vue-ui-history-plot-DlDV_-XR.js} +186 -73
  218. package/dist/{vue-ui-horizontal-bar-C1gYSz7t.js → vue-ui-horizontal-bar-DDj9N2Df.js} +151 -56
  219. package/dist/{vue-ui-kpi-B0sOyO7s.js → vue-ui-kpi-CT4lahy2.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-C2wW_JqJ.js → vue-ui-molecule-BiixieE_.js} +226 -120
  222. package/dist/{vue-ui-mood-radar-Bgd30qfN.js → vue-ui-mood-radar-DPBpYEDx.js} +166 -56
  223. package/dist/{vue-ui-nested-donuts-CDtrnUDs.js → vue-ui-nested-donuts-DegYxm8S.js} +196 -89
  224. package/dist/{vue-ui-onion-CeLy3EjT.js → vue-ui-onion-D4hRf3z7.js} +155 -74
  225. package/dist/{vue-ui-parallel-coordinate-plot-rRuHDWD1.js → vue-ui-parallel-coordinate-plot-DZ015lrs.js} +262 -84
  226. package/dist/{vue-ui-pattern-seed-lL5yS7nX.js → vue-ui-pattern-seed-BcNlxb2i.js} +1 -1
  227. package/dist/{vue-ui-quadrant-CqcWTgh-.js → vue-ui-quadrant-BG8B3jz-.js} +240 -88
  228. package/dist/{vue-ui-quick-chart-Bbdoq3j3.js → vue-ui-quick-chart-BzNfX1Ry.js} +445 -150
  229. package/dist/{vue-ui-radar-BF2eWMEl.js → vue-ui-radar-Bjl5EavN.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-D3jsasRD.js → vue-ui-relation-circle-CK6hnanW.js} +119 -45
  232. package/dist/{vue-ui-ridgeline-Lhxi4BNZ.js → vue-ui-ridgeline-ClC-DGEI.js} +349 -85
  233. package/dist/{vue-ui-rings-D0tnHXEe.js → vue-ui-rings-BtDpfeuS.js} +179 -81
  234. package/dist/{vue-ui-scatter-CIK8j5sT.js → vue-ui-scatter-CnUnzVb4.js} +282 -102
  235. package/dist/{vue-ui-skeleton-BD5hXmIt.js → vue-ui-skeleton-CWW9zQ2I.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-exj63CUB.js → vue-ui-spark-trend-DMTsPJrB.js} +76 -31
  238. package/dist/{vue-ui-sparkbar-D3UXwhmT.js → vue-ui-sparkbar-CNRgbyb6.js} +113 -59
  239. package/dist/{vue-ui-sparkgauge-BsQY5Cwp.js → vue-ui-sparkgauge-DXOELREA.js} +47 -18
  240. package/dist/{vue-ui-sparkhistogram-4oHi6IHt.js → vue-ui-sparkhistogram-B83Tb5ee.js} +145 -60
  241. package/dist/{vue-ui-sparkline-BypShxpX.js → vue-ui-sparkline-PLYMeA9O.js} +226 -68
  242. package/dist/{vue-ui-sparkstackbar-8dpxOXr_.js → vue-ui-sparkstackbar-C-UNOmDZ.js} +84 -36
  243. package/dist/{vue-ui-stackbar-BKLo9L3P.js → vue-ui-stackbar-CcVtuQTN.js} +482 -169
  244. package/dist/{vue-ui-stackline-CSBogzBf.js → vue-ui-stackline-C6c2nPQM.js} +473 -164
  245. package/dist/{vue-ui-strip-plot-BQiNmxPk.js → vue-ui-strip-plot-iwjHwBgZ.js} +239 -132
  246. package/dist/{vue-ui-table-CKlHkISC.js → vue-ui-table-CfhBUYL5.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-DHPemUVJ.js → vue-ui-table-sparkline-BZb8f2RN.js} +127 -47
  249. package/dist/{vue-ui-thermometer-Cy1oHbQ-.js → vue-ui-thermometer-CR4tSQWQ.js} +129 -48
  250. package/dist/{vue-ui-timer-DsYVGo-1.js → vue-ui-timer-DubcPvRK.js} +32 -15
  251. package/dist/{vue-ui-tiremarks-BvEM8AvM.js → vue-ui-tiremarks-CFnJT7Pn.js} +90 -35
  252. package/dist/vue-ui-treemap--bugssUn.js +1748 -0
  253. package/dist/{vue-ui-waffle-Uo1RM5Yy.js → vue-ui-waffle-K9ojC2iZ.js} +206 -87
  254. package/dist/{vue-ui-wheel-Cood5EN7.js → vue-ui-wheel-TgOkrNNt.js} +231 -61
  255. package/dist/{vue-ui-word-cloud-BrQKo4eQ.js → vue-ui-word-cloud-B77SnVWg.js} +443 -350
  256. package/dist/vue-ui-world-Y0yBodxT.js +14451 -0
  257. package/dist/{vue-ui-xy-BAlrZ3W9.js → vue-ui-xy-Cs4_NqXo.js} +840 -252
  258. package/dist/{vue-ui-xy-canvas-BR-Qogdl.js → vue-ui-xy-canvas-BeHqxTFy.js} +448 -159
  259. package/package.json +120 -119
  260. package/dist/vue-ui-treemap-5qrvks6n.js +0 -1726
  261. package/dist/vue-ui-world-Cjm9SD0h.js +0 -1011
@@ -1,20 +1,20 @@
1
1
  import { ref as C, watchEffect as Bo, unref as y, defineAsyncComponent as _t, computed as I, toRefs as zo, onMounted as vn, nextTick as Se, watch as ze, onBeforeUnmount as gn, openBlock as S, createElementBlock as L, normalizeStyle as Le, normalizeClass as pn, createElementVNode as X, toDisplayString as Me, createBlock as oe, createCommentVNode as $, withCtx as V, renderSlot as R, normalizeProps as H, guardReactiveProps as W, createSlots as Vo, createVNode as Ct, Fragment as ge, renderList as Ve, mergeProps as Te, withModifiers as yn, createTextVNode as Ho, Transition as wn, Teleport as bn } from "vue";
2
- import { j as $t, aF as Wo, t as kn, o as Go, q as En, s as _n, X as jo, as as Yo } from "./lib-DBptbyyI.js";
2
+ import { j as $t, aE as Wo, t as kn, o as Go, q as En, s as _n, X as jo, as as Yo } from "./lib-DMzrGQHK.js";
3
3
  import { t as Uo, u as Zo } from "./useResponsive-DfdjqQps.js";
4
- import { u as Xo } from "./usePanZoom-CDF7rb3o.js";
5
- import { u as Ko } from "./useConfig-C40HvGpD.js";
6
- import { u as qo, B as Jo } from "./BaseScanner-BhhkKVoj.js";
7
- import { u as Qo } from "./usePrinter-CEpYU3r5.js";
8
- import { u as es } from "./useSvgExport-ByUukOZt.js";
9
- import { u as xt } from "./useNestedProp-Bf5XFbs8.js";
10
- import { u as ts } from "./useThemeCheck-D1ZYXUwG.js";
11
- import { u as ns } from "./useUserOptionState-BIvW1Kz7.js";
12
- import { u as os } from "./useChartAccessibility-9icAAmYg.js";
13
- import ss from "./img-LXxMLmCg.js";
14
- import is from "./Title-BeMKE1cj.js";
4
+ import { u as Xo } from "./usePanZoom-BbDhcKWf.js";
5
+ import { u as Ko } from "./useConfig-DTHxOX6V.js";
6
+ import { u as qo, B as Jo } from "./BaseScanner-C2j3TsSY.js";
7
+ import { u as Qo } from "./usePrinter-C4t8DdQ-.js";
8
+ import { u as es } from "./useSvgExport-BTG4hVPO.js";
9
+ import { u as xt } from "./useNestedProp-DH0BEVVS.js";
10
+ import { u as ts } from "./useThemeCheck-C9Ccl7U9.js";
11
+ import { u as ns } from "./useUserOptionState-B7Ej974k.js";
12
+ import { u as os } from "./useChartAccessibility-cp6XQtqi.js";
13
+ import ss from "./img-CjTQXS0U.js";
14
+ import is from "./Title-BbKoiBk2.js";
15
15
  import rs from "./vue_ui_dag-ZOwuDBZ8.js";
16
- import { A as as } from "./A11yDataTable-KcVAX2cP.js";
17
- import { B as Cn } from "./BaseZoomControls-DievbOeJ.js";
16
+ import { A as as } from "./A11yDataTable-BpmuNomI.js";
17
+ import { B as Cn } from "./BaseZoomControls-CVSC1-SU.js";
18
18
  import { _ as ls } from "./_plugin-vue_export-helper-CHgC5LLL.js";
19
19
  const us = "\0", pe = "\0", xn = "";
20
20
  class ue {
@@ -115,7 +115,9 @@ class ue {
115
115
  */
116
116
  sources() {
117
117
  const t = this;
118
- return this.nodes().filter((n) => Object.keys(t._in[n]).length === 0);
118
+ return this.nodes().filter(
119
+ (n) => Object.keys(t._in[n]).length === 0
120
+ );
119
121
  }
120
122
  /**
121
123
  * Gets list of nodes without out-edges.
@@ -123,7 +125,9 @@ class ue {
123
125
  */
124
126
  sinks() {
125
127
  const t = this;
126
- return this.nodes().filter((n) => Object.keys(t._out[n]).length === 0);
128
+ return this.nodes().filter(
129
+ (n) => Object.keys(t._out[n]).length === 0
130
+ );
127
131
  }
128
132
  /**
129
133
  * Invokes setNode method for each node in names list.
@@ -287,7 +291,9 @@ class ue {
287
291
  const l = o.parent(i);
288
292
  return l === void 0 || n.hasNode(l) ? (s[i] = l, l) : l in s ? s[l] : r(l);
289
293
  }
290
- return this._isCompound && n.nodes().forEach((i) => n.setParent(i, r(i))), n;
294
+ return this._isCompound && n.nodes().forEach(
295
+ (i) => n.setParent(i, r(i))
296
+ ), n;
291
297
  }
292
298
  /* === Edge functions ========== */
293
299
  /**
@@ -338,7 +344,9 @@ class ue {
338
344
  if (Object.hasOwn(this._edgeLabels, l))
339
345
  return r && (this._edgeLabels[l] = s), this;
340
346
  if (o !== void 0 && !this._isMultigraph)
341
- throw new Error("Cannot set a named edge when isMultigraph = false");
347
+ throw new Error(
348
+ "Cannot set a named edge when isMultigraph = false"
349
+ );
342
350
  this.setNode(t), this.setNode(n), this._edgeLabels[l] = r ? s : this._defaultEdgeLabelFn(t, n, o);
343
351
  const u = cs(this._isDirected, t, n, o);
344
352
  return t = u.v, n = u.w, Object.freeze(u), this._edgeObjs[l] = u, Nn(this._preds[n], t), Nn(this._sucs[t], n), this._in[n][l] = u, this._out[t][l] = u, this._edgeCount++, this;
@@ -470,7 +478,11 @@ function ms(e, t) {
470
478
  if (e.nodeCount() <= 1)
471
479
  return [];
472
480
  const n = gs(e, t || hs);
473
- return vs(n.graph, n.buckets, n.zeroIndex).flatMap((s) => e.outEdges(s.v, s.w));
481
+ return vs(
482
+ n.graph,
483
+ n.buckets,
484
+ n.zeroIndex
485
+ ).flatMap((s) => e.outEdges(s.v, s.w));
474
486
  }
475
487
  function vs(e, t, n) {
476
488
  let o = [];
@@ -484,7 +496,9 @@ function vs(e, t, n) {
484
496
  if (e.nodeCount()) {
485
497
  for (let l = t.length - 2; l > 0; --l)
486
498
  if (i = t[l].dequeue(), i) {
487
- o = o.concat(St(e, t, n, i, !0));
499
+ o = o.concat(
500
+ St(e, t, n, i, !0)
501
+ );
488
502
  break;
489
503
  }
490
504
  }
@@ -508,9 +522,17 @@ function gs(e, t) {
508
522
  n.setNode(l, { v: l, in: 0, out: 0 });
509
523
  }), e.edges().forEach((l) => {
510
524
  const u = n.edge(l.v, l.w) || 0, f = t(l), h = u + f;
511
- n.setEdge(l.v, l.w, h), s = Math.max(s, n.node(l.v).out += f), o = Math.max(o, n.node(l.w).in += f);
525
+ n.setEdge(l.v, l.w, h), s = Math.max(
526
+ s,
527
+ n.node(l.v).out += f
528
+ ), o = Math.max(
529
+ o,
530
+ n.node(l.w).in += f
531
+ );
512
532
  });
513
- const r = ps(s + o + 3).map(() => new ds()), i = o + 1;
533
+ const r = ps(s + o + 3).map(
534
+ () => new ds()
535
+ ), i = o + 1;
514
536
  return n.nodes().forEach((l) => {
515
537
  Rt(r, i, n.node(l));
516
538
  }), {
@@ -539,7 +561,10 @@ function Bn(e) {
539
561
  return e.nodes().forEach((n) => {
540
562
  t.setNode(n, e.node(n));
541
563
  }), e.edges().forEach((n) => {
542
- const o = t.edge(n.v, n.w) || { weight: 0, minlen: 1 }, s = e.edge(n);
564
+ const o = t.edge(n.v, n.w) || {
565
+ weight: 0,
566
+ minlen: 1
567
+ }, s = e.edge(n);
543
568
  t.setEdge(n.v, n.w, {
544
569
  weight: o.weight + s.weight,
545
570
  minlen: Math.max(o.minlen, s.minlen)
@@ -547,7 +572,9 @@ function Bn(e) {
547
572
  }), t;
548
573
  }
549
574
  function Dt(e) {
550
- const t = new ue({ multigraph: e.isMultigraph() }).setGraph(e.graph());
575
+ const t = new ue({ multigraph: e.isMultigraph() }).setGraph(
576
+ e.graph()
577
+ );
551
578
  return e.nodes().forEach((n) => {
552
579
  e.children(n).length || t.setNode(n, e.node(n));
553
580
  }), e.edges().forEach((n) => {
@@ -577,7 +604,9 @@ function Pt(e, t) {
577
604
  const s = t.x - n, r = t.y - o;
578
605
  let i = e.width / 2, l = e.height / 2;
579
606
  if (!s && !r)
580
- throw new Error("Not possible to find intersection inside of the rectangle");
607
+ throw new Error(
608
+ "Not possible to find intersection inside of the rectangle"
609
+ );
581
610
  let u, f;
582
611
  return Math.abs(r) * i > Math.abs(s) * l ? (r < 0 && (l = -l), u = l * s / r, f = l) : (s < 0 && (i = -i), u = i, f = i * r / s), { x: n + u, y: o + f };
583
612
  }
@@ -907,7 +936,12 @@ function Hs(e) {
907
936
  const t = Gs(e);
908
937
  e.graph().dummyChains.forEach((n) => {
909
938
  let o = e.node(n);
910
- const s = o.edgeObj, r = Ws(e, t, s.v, s.w), i = r.path, l = r.lca;
939
+ const s = o.edgeObj, r = Ws(
940
+ e,
941
+ t,
942
+ s.v,
943
+ s.w
944
+ ), i = r.path, l = r.lca;
911
945
  let u = 0, f = i[u], h = !0, m = n;
912
946
  for (; m !== s.w; ) {
913
947
  if (o = e.node(m), h) {
@@ -954,7 +988,15 @@ function js(e) {
954
988
  });
955
989
  const i = Us(e) + 1;
956
990
  e.children().forEach((l) => {
957
- Zn(e, t, r, i, s, n, l);
991
+ Zn(
992
+ e,
993
+ t,
994
+ r,
995
+ i,
996
+ s,
997
+ n,
998
+ l
999
+ );
958
1000
  }), e.graph().nodeRankFactor = r;
959
1001
  }
960
1002
  function Zn(e, t, n, o, s, r, i) {
@@ -965,7 +1007,15 @@ function Zn(e, t, n, o, s, r, i) {
965
1007
  }
966
1008
  const u = qe.addBorderNode(e, "_bt"), f = qe.addBorderNode(e, "_bb"), h = e.node(i);
967
1009
  e.setParent(u, i), h.borderTop = u, e.setParent(f, i), h.borderBottom = f, l.forEach((m) => {
968
- Zn(e, t, n, o, s, r, m);
1010
+ Zn(
1011
+ e,
1012
+ t,
1013
+ n,
1014
+ o,
1015
+ s,
1016
+ r,
1017
+ m
1018
+ );
969
1019
  const p = e.node(m), _ = p.borderTop ? p.borderTop : m, O = p.borderBottom ? p.borderBottom : m, M = p.borderTop ? o : 2 * o, z = _ !== O ? 1 : s - r[i] + 1;
970
1020
  e.setEdge(u, _, {
971
1021
  weight: M,
@@ -1142,7 +1192,9 @@ function si(e, t) {
1142
1192
  const r = n[s.v], i = n[s.w];
1143
1193
  r !== void 0 && i !== void 0 && (i.indegree++, r.out.push(i));
1144
1194
  });
1145
- const o = Object.values(n).filter((s) => !s.indegree);
1195
+ const o = Object.values(n).filter(
1196
+ (s) => !s.indegree
1197
+ );
1146
1198
  return ii(o);
1147
1199
  }
1148
1200
  function ii(e) {
@@ -1286,12 +1338,7 @@ function Pn(e, t, n) {
1286
1338
  l !== i.rank && s(l, r);
1287
1339
  }
1288
1340
  return t.map(
1289
- (r) => di(
1290
- e,
1291
- r,
1292
- n,
1293
- o.get(r) || []
1294
- )
1341
+ (r) => di(e, r, n, o.get(r) || [])
1295
1342
  );
1296
1343
  }
1297
1344
  function mi(e, t, n) {
@@ -1344,7 +1391,13 @@ function gi(e, t) {
1344
1391
  return i.forEach((h, m) => {
1345
1392
  if (e.node(h).dummy === "border") {
1346
1393
  const p = e.predecessors(h);
1347
- p.length && (u = e.node(p[0]).order, o(i, f, m, l, u), f = m, l = u);
1394
+ p.length && (u = e.node(p[0]).order, o(
1395
+ i,
1396
+ f,
1397
+ m,
1398
+ l,
1399
+ u
1400
+ ), f = m, l = u);
1348
1401
  }
1349
1402
  o(i, f, i.length, u, r.length);
1350
1403
  }), i;
@@ -1554,8 +1607,14 @@ function Mi(e) {
1554
1607
  function Ti(e, t = {}) {
1555
1608
  const n = t.debugTiming ? Gn : jn;
1556
1609
  return n("layout", () => {
1557
- const o = n(" buildLayoutGraph", () => zi(e));
1558
- return n(" runLayout", () => Oi(o, n, t)), n(" updateInputGraph", () => $i(e, o)), o;
1610
+ const o = n(
1611
+ " buildLayoutGraph",
1612
+ () => zi(e)
1613
+ );
1614
+ return n(" runLayout", () => Oi(o, n, t)), n(
1615
+ " updateInputGraph",
1616
+ () => $i(e, o)
1617
+ ), o;
1559
1618
  });
1560
1619
  }
1561
1620
  function Oi(e, t, n) {
@@ -1593,14 +1652,11 @@ function zi(e) {
1593
1652
  }), o.setNode(s, i), o.setParent(s, e.parent(s));
1594
1653
  }), e.edges().forEach((s) => {
1595
1654
  const r = Ot(e.edge(s));
1596
- o.setEdge(
1597
- s,
1598
- {
1599
- ...Ii,
1600
- ...Tt(r, Fi),
1601
- ...We(r, Bi)
1602
- }
1603
- );
1655
+ o.setEdge(s, {
1656
+ ...Ii,
1657
+ ...Tt(r, Fi),
1658
+ ...We(r, Bi)
1659
+ });
1604
1660
  }), o;
1605
1661
  }
1606
1662
  function Vi(e) {
@@ -1614,7 +1670,10 @@ function Hi(e) {
1614
1670
  e.edges().forEach((t) => {
1615
1671
  const n = e.edge(t);
1616
1672
  if (n.width && n.height) {
1617
- const o = e.node(t.v), r = { rank: (e.node(t.w).rank - o.rank) / 2 + o.rank, e: t };
1673
+ const o = e.node(t.v), r = {
1674
+ rank: (e.node(t.w).rank - o.rank) / 2 + o.rank,
1675
+ e: t
1676
+ };
1618
1677
  $e(e, "edge-proxy", r, "_ep");
1619
1678
  }
1620
1679
  });
@@ -1671,7 +1730,15 @@ function Yi(e) {
1671
1730
  !o.points || !o.points.length ? (o.points = [], i = r, l = s) : (i = o.points[0], l = o.points[o.points.length - 1]);
1672
1731
  const u = Pt(s, i), f = Pt(r, l), h = o.points.length ? o.points[0] : i, m = o.points.length ? o.points[o.points.length - 1] : l, p = o.arrowshape, _ = p === "normal" || p === "vee", O = !!o.reversed;
1673
1732
  let M = u, z = f;
1674
- _ && (O ? M = Fn(u, h, 4) : z = Fn(f, m, 4)), o.points.unshift(M), o.points.push(z);
1733
+ _ && (O ? M = Fn(
1734
+ u,
1735
+ h,
1736
+ 4
1737
+ ) : z = Fn(
1738
+ f,
1739
+ m,
1740
+ 4
1741
+ )), o.points.unshift(M), o.points.push(z);
1675
1742
  });
1676
1743
  }
1677
1744
  function Ui(e) {
@@ -1697,7 +1764,11 @@ function Zi(e) {
1697
1764
  function Xi(e) {
1698
1765
  e.nodes().forEach((t) => {
1699
1766
  if (e.children(t).length) {
1700
- const n = e.node(t), o = e.node(n.borderTop), s = e.node(n.borderBottom), r = e.node(n.borderLeft[n.borderLeft.length - 1]), i = e.node(n.borderRight[n.borderRight.length - 1]);
1767
+ const n = e.node(t), o = e.node(n.borderTop), s = e.node(n.borderBottom), r = e.node(
1768
+ n.borderLeft[n.borderLeft.length - 1]
1769
+ ), i = e.node(
1770
+ n.borderRight[n.borderRight.length - 1]
1771
+ );
1701
1772
  n.width = Math.abs(i.x - r.x), n.height = Math.abs(s.y - o.y), n.x = r.x + n.width / 2, n.y = o.y + n.height / 2;
1702
1773
  }
1703
1774
  }), e.nodes().forEach((t) => {
@@ -1718,14 +1789,19 @@ function qi(e) {
1718
1789
  n.forEach((s, r) => {
1719
1790
  const i = e.node(s);
1720
1791
  i.order = r + o, (i.selfEdges || []).forEach((l) => {
1721
- $e(e, "selfedge", {
1722
- width: l.label.width,
1723
- height: l.label.height,
1724
- rank: i.rank,
1725
- order: r + ++o,
1726
- e: l.e,
1727
- label: l.label
1728
- }, "_se");
1792
+ $e(
1793
+ e,
1794
+ "selfedge",
1795
+ {
1796
+ width: l.label.width,
1797
+ height: l.label.height,
1798
+ rank: i.rank,
1799
+ order: r + ++o,
1800
+ e: l.e,
1801
+ label: l.label
1802
+ },
1803
+ "_se"
1804
+ );
1729
1805
  }), delete i.selfEdges;
1730
1806
  });
1731
1807
  });
@@ -1836,7 +1912,9 @@ function nr(e) {
1836
1912
  const F = p.edge(k), G = F.points || [];
1837
1913
  if (!G.length)
1838
1914
  return null;
1839
- const K = m.curvedEdges ? tr(G) : er(G), De = m.arrowShape !== "undirected" ? `url(#${i})` : null, be = f.find((c) => c?.from === k.v && c?.to === k.w);
1915
+ const K = m.curvedEdges ? tr(G) : er(G), De = m.arrowShape !== "undirected" ? `url(#${i})` : null, be = f.find(
1916
+ (c) => c?.from === k.v && c?.to === k.w
1917
+ );
1840
1918
  return {
1841
1919
  id: `${k.v}->${k.w}->${$t()}`,
1842
1920
  from: k.v,
@@ -1925,9 +2003,25 @@ const or = ["id"], sr = ["id"], ir = {
1925
2003
  }
1926
2004
  }
1927
2005
  },
1928
- emits: ["onNodeClick", "onMidpointEnter", "onMidpointLeave", "copyAlt", "rotate"],
2006
+ emits: [
2007
+ "onNodeClick",
2008
+ "onMidpointEnter",
2009
+ "onMidpointLeave",
2010
+ "copyAlt",
2011
+ "rotate"
2012
+ ],
1929
2013
  setup(e, { expose: t, emit: n }) {
1930
- const o = _t(() => import("./PenAndPaper-Ct3qJ4lA.js")), s = _t(() => import("./UserOptions-rW2fRf3V.js")), r = _t(() => import("./PackageVersion-DP_kfXUM.js")), { vue_ui_dag: i } = Ko(), { isThemeValid: l, warnInvalidTheme: u } = ts(), f = e, h = n, m = C(null), p = C($t()), _ = C(null), O = C(null), M = C(null), z = C(0), se = C(0), Pe = C(!1), ye = C(!1), ce = C(!1), we = C(!1), k = C(null), F = C(null), G = C(null), K = C(null), et = C(null), De = C("pointer"), be = C(!1), c = C(lt()), tt = I(() => c.value.userOptions.useCursorPointer), nt = C(c.value.style.chart.width), ot = C(c.value.style.chart.height), Ft = C({ x: 0, y: 0 }), Y = C(null), st = C(null), It = C({ left: "0px", top: "0px" }), Bt = C("top"), ie = C(!1), zt = C({ x: 0, y: 0 }), Vt = C({ x: 0, y: 0 }), Ae = C(null), it = C(null), rt = C({ left: "0px", top: "0px" }), Ht = C("top"), de = C(!1), ke = C(!1), { svgRef: Q } = os({ config: c.value.style.chart.title }), { userOptionsVisible: at, setUserOptionsVisibility: Wt, keepUserOptionState: Gt } = ns({ config: c.value }), ee = C(c.value.style.chart.layout.rankDirection), Qn = I(() => kn({
2014
+ const o = _t(
2015
+ () => import("./PenAndPaper-CJDoB5H9.js")
2016
+ ), s = _t(
2017
+ () => import("./UserOptions-DVduN6X7.js")
2018
+ ), r = _t(
2019
+ () => import("./PackageVersion-BjeuEImy.js")
2020
+ ), { vue_ui_dag: i } = Ko(), { isThemeValid: l, warnInvalidTheme: u } = ts(), f = e, h = n, m = C(null), p = C($t()), _ = C(null), O = C(null), M = C(null), z = C(0), se = C(0), Pe = C(!1), ye = C(!1), ce = C(!1), we = C(!1), k = C(null), F = C(null), G = C(null), K = C(null), et = C(null), De = C("pointer"), be = C(!1), c = C(lt()), tt = I(
2021
+ () => c.value.userOptions.useCursorPointer
2022
+ ), nt = C(c.value.style.chart.width), ot = C(c.value.style.chart.height), Ft = C({ x: 0, y: 0 }), Y = C(null), st = C(null), It = C({ left: "0px", top: "0px" }), Bt = C("top"), ie = C(!1), zt = C({ x: 0, y: 0 }), Vt = C({ x: 0, y: 0 }), Ae = C(null), it = C(null), rt = C({ left: "0px", top: "0px" }), Ht = C("top"), de = C(!1), ke = C(!1), { svgRef: Q } = os({
2023
+ config: c.value.style.chart.title
2024
+ }), { userOptionsVisible: at, setUserOptionsVisibility: Wt, keepUserOptionState: Gt } = ns({ config: c.value }), ee = C(c.value.style.chart.layout.rankDirection), Qn = I(() => kn({
1931
2025
  defaultConfig: {
1932
2026
  userOptions: { show: !1 },
1933
2027
  style: {
@@ -1998,9 +2092,13 @@ const or = ["id"], sr = ["id"], ir = {
1998
2092
  index: 0,
1999
2093
  debug: ut.value
2000
2094
  }), ye.value = !1, jt.value = !0), ye.value = !0, await Se(), rn();
2001
- }), ze(() => f.config, async (a) => {
2002
- Fe.value || (c.value = lt()), at.value = !c.value.userOptions.showOnChartHover, z.value += 1, ee.value = c.value.style.chart.layout.rankDirection, nt.value = c.value.style.chart.width, ot.value = c.value.style.chart.height, Ee.value = c.value.style.chart.zoom.active, await Se(), rn();
2003
- }, { deep: !0 });
2095
+ }), ze(
2096
+ () => f.config,
2097
+ async (a) => {
2098
+ Fe.value || (c.value = lt()), at.value = !c.value.userOptions.showOnChartHover, z.value += 1, ee.value = c.value.style.chart.layout.rankDirection, nt.value = c.value.style.chart.width, ot.value = c.value.style.chart.height, Ee.value = c.value.style.chart.zoom.active, await Se(), rn();
2099
+ },
2100
+ { deep: !0 }
2101
+ );
2004
2102
  const { isPrinting: ct, isImaging: dt, generatePdf: Yt, generateImage: Ut } = Qo({
2005
2103
  elementId: `dag_${p.value}`,
2006
2104
  fileName: c.value.style.chart.title.text || "vue-ui-dag",
@@ -2017,7 +2115,14 @@ const or = ["id"], sr = ["id"], ir = {
2017
2115
  try {
2018
2116
  if (a) {
2019
2117
  const { blob: v, url: d, text: g, dataUrl: b } = await oo();
2020
- await Promise.resolve(c.value.userOptions.callbacks.svg({ blob: v, url: d, text: g, dataUrl: b }));
2118
+ await Promise.resolve(
2119
+ c.value.userOptions.callbacks.svg({
2120
+ blob: v,
2121
+ url: d,
2122
+ text: g,
2123
+ dataUrl: b
2124
+ })
2125
+ );
2021
2126
  } else
2022
2127
  await Promise.resolve(no());
2023
2128
  } finally {
@@ -2061,11 +2166,13 @@ const or = ["id"], sr = ["id"], ir = {
2061
2166
  };
2062
2167
  };
2063
2168
  }
2064
- const ro = I(() => Ye.value.nodes.map((a) => ({
2065
- ...a,
2066
- backgroundColor: a.backgroundColor ? _n(a.backgroundColor) : c.value.style.chart.nodes.backgroundColor,
2067
- color: a.color ? _n(a.color) : c.value.style.chart.nodes.labels.color
2068
- }))), ao = I(() => Ye.value.edges), lo = I(() => ({
2169
+ const ro = I(
2170
+ () => Ye.value.nodes.map((a) => ({
2171
+ ...a,
2172
+ backgroundColor: a.backgroundColor ? _n(a.backgroundColor) : c.value.style.chart.nodes.backgroundColor,
2173
+ color: a.color ? _n(a.color) : c.value.style.chart.nodes.labels.color
2174
+ }))
2175
+ ), ao = I(() => Ye.value.edges), lo = I(() => ({
2069
2176
  ...c.value.style.chart.layout,
2070
2177
  rankDirection: ee.value
2071
2178
  })), { layoutData: x, lastError: Kt, arrowMarkerIdentifier: uo } = nr({
@@ -2138,9 +2245,12 @@ const or = ["id"], sr = ["id"], ir = {
2138
2245
  () => {
2139
2246
  en();
2140
2247
  }
2141
- ), ze(() => ke.value, (a) => {
2142
- Ee.value = !a;
2143
- });
2248
+ ), ze(
2249
+ () => ke.value,
2250
+ (a) => {
2251
+ Ee.value = !a;
2252
+ }
2253
+ );
2144
2254
  const ho = I(() => {
2145
2255
  const a = _e.value;
2146
2256
  return a ? `${a.x} ${a.y} ${a.width} ${a.height}` : "0 0 0 0";
@@ -2222,7 +2332,9 @@ const or = ["id"], sr = ["id"], ir = {
2222
2332
  return;
2223
2333
  const b = Q.value;
2224
2334
  if (b && b.contains(a.target)) {
2225
- const E = a.target.closest(".vue-ui-dag-node"), w = a.target.closest(".vue-ui-dag-edge-midpoint");
2335
+ const E = a.target.closest(".vue-ui-dag-node"), w = a.target.closest(
2336
+ ".vue-ui-dag-edge-midpoint"
2337
+ );
2226
2338
  if (E || w)
2227
2339
  return;
2228
2340
  }
@@ -2276,7 +2388,10 @@ const or = ["id"], sr = ["id"], ir = {
2276
2388
  if (!U || U === "none") return NaN;
2277
2389
  const ne = String(U).replace(/,/g, " ").trim().split(/\s+/).map((P) => Number.parseFloat(P)).filter((P) => Number.isFinite(P));
2278
2390
  if (!ne.length) return NaN;
2279
- const ve = ne.reduce((P, Z) => P + Z, 0);
2391
+ const ve = ne.reduce(
2392
+ (P, Z) => P + Z,
2393
+ 0
2394
+ );
2280
2395
  return ne.length % 2 === 1 ? ve * 2 : ve;
2281
2396
  }
2282
2397
  }
@@ -2308,11 +2423,27 @@ const or = ["id"], sr = ["id"], ir = {
2308
2423
  }
2309
2424
  const N = g?.original?.dasharray ?? v.dasharray;
2310
2425
  w.style.strokeDasharray = String(N), w.style.strokeDashoffset = "0";
2311
- const A = ![void 0, null].includes(g?.original?.animationDirection), T = ![void 0, null].includes(v.animationDirection), B = A ? Number(g.original.animationDirection) : T ? Number(v.animationDirection) : -1, j = go(w, {
2426
+ const A = ![void 0, null].includes(
2427
+ g?.original?.animationDirection
2428
+ ), T = ![void 0, null].includes(
2429
+ v.animationDirection
2430
+ ), B = A ? Number(g.original.animationDirection) : T ? Number(v.animationDirection) : -1, j = go(w, {
2312
2431
  direction: B,
2313
2432
  mode: "oneLapNearest",
2314
2433
  dasharray: String(N)
2315
- }), te = g?.original?.animationDurationMs ?? v.animationDurationMs ?? 1e3, U = Number(te), ve = Number.isFinite(U) && U > 0 ? d / U : d / 1e3, P = Math.max(1, Math.round(Math.abs(j) / Math.max(1e-9, ve))), Z = w.animate([{ strokeDashoffset: 0 }, { strokeDashoffset: j }], { duration: P, iterations: 1 / 0, easing: "linear" });
2434
+ }), te = g?.original?.animationDurationMs ?? v.animationDurationMs ?? 1e3, U = Number(te), ve = Number.isFinite(U) && U > 0 ? d / U : d / 1e3, P = Math.max(
2435
+ 1,
2436
+ Math.round(
2437
+ Math.abs(j) / Math.max(1e-9, ve)
2438
+ )
2439
+ ), Z = w.animate(
2440
+ [{ strokeDashoffset: 0 }, { strokeDashoffset: j }],
2441
+ {
2442
+ duration: P,
2443
+ iterations: 1 / 0,
2444
+ easing: "linear"
2445
+ }
2446
+ );
2316
2447
  wt.value.set(g.id, Z);
2317
2448
  });
2318
2449
  }
@@ -2327,7 +2458,12 @@ const or = ["id"], sr = ["id"], ir = {
2327
2458
  });
2328
2459
  async function yo({ scale: a = 2 } = {}) {
2329
2460
  if (!m.value) return;
2330
- const { width: v, height: d } = m.value.getBoundingClientRect(), g = v / d, { imageUri: b, base64: E } = await ss({ domElement: m.value, base64: !0, img: !0, scale: a });
2461
+ const { width: v, height: d } = m.value.getBoundingClientRect(), g = v / d, { imageUri: b, base64: E } = await ss({
2462
+ domElement: m.value,
2463
+ base64: !0,
2464
+ img: !0,
2465
+ scale: a
2466
+ });
2331
2467
  return {
2332
2468
  imageUri: b,
2333
2469
  base64: E,
@@ -2434,13 +2570,17 @@ const or = ["id"], sr = ["id"], ir = {
2434
2570
  config: c.value,
2435
2571
  dataset: Ye.value
2436
2572
  }), !c.value.userOptions.callbacks.altCopy) {
2437
- console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
2573
+ console.warn(
2574
+ "Vue Data UI - A callback must be set for `altCopy` in userOptions."
2575
+ );
2438
2576
  return;
2439
2577
  }
2440
- await Promise.resolve(c.value.userOptions.callbacks.altCopy({
2441
- config: c.value,
2442
- dataset: Ye.value
2443
- }));
2578
+ await Promise.resolve(
2579
+ c.value.userOptions.callbacks.altCopy({
2580
+ config: c.value,
2581
+ dataset: Ye.value
2582
+ })
2583
+ );
2444
2584
  }
2445
2585
  const So = I(() => (x.value?.nodes ?? []).map((v) => ({
2446
2586
  id: v.id,
@@ -2468,11 +2608,7 @@ const or = ["id"], sr = ["id"], ir = {
2468
2608
  c.value.a11y?.translations?.children ?? "Children"
2469
2609
  ], g = a.map((b) => {
2470
2610
  const E = v.filter((N) => N.to === b.id).map((N) => re(N.from)?.label ?? N.from).join(", "), w = v.filter((N) => N.from === b.id).map((N) => re(N.to)?.label ?? N.to).join(", ");
2471
- return [
2472
- b.label ?? b.id,
2473
- E || "—",
2474
- w || "—"
2475
- ];
2611
+ return [b.label ?? b.id, E || "—", w || "—"];
2476
2612
  });
2477
2613
  return { headers: d, rows: g };
2478
2614
  });
@@ -2516,11 +2652,17 @@ const or = ["id"], sr = ["id"], ir = {
2516
2652
  return d === "right" && g <= 0 || d === "left" && g >= 0 || d === "down" && b <= 0 || d === "up" && b >= 0 ? 1 / 0 : d === "right" || d === "left" ? Math.abs(g) * 1e3 + Math.abs(b) : Math.abs(b) * 1e3 + Math.abs(g);
2517
2653
  }
2518
2654
  function Ke(a, v) {
2519
- const d = le.value.filter((E) => Et(E) !== Et(a));
2655
+ const d = le.value.filter(
2656
+ (E) => Et(E) !== Et(a)
2657
+ );
2520
2658
  if (!d.length) return null;
2521
2659
  let g = null, b = 1 / 0;
2522
2660
  return d.forEach((E) => {
2523
- const w = Ro(a, E, v);
2661
+ const w = Ro(
2662
+ a,
2663
+ E,
2664
+ v
2665
+ );
2524
2666
  w < b && (b = w, g = E);
2525
2667
  }), g || (v === "right" || v === "down" ? le.value[0] ?? null : le.value[le.value.length - 1] ?? null);
2526
2668
  }
@@ -2755,7 +2897,10 @@ const or = ["id"], sr = ["id"], ir = {
2755
2897
  key: 0,
2756
2898
  ref_key: "svgRef",
2757
2899
  ref: Q,
2758
- class: pn({ "vue-ui-dag-svg": !0, "vue-data-ui-loading": y(Fe) }),
2900
+ class: pn({
2901
+ "vue-ui-dag-svg": !0,
2902
+ "vue-data-ui-loading": y(Fe)
2903
+ }),
2759
2904
  viewBox: ho.value,
2760
2905
  xmlns: y(jo),
2761
2906
  style: Le({
@@ -2820,14 +2965,18 @@ const or = ["id"], sr = ["id"], ir = {
2820
2965
  fill: Ze(d),
2821
2966
  stroke: Ze(d),
2822
2967
  "stroke-width": "0",
2823
- style: { transition: "stroke 0.2s ease-in-out, fill 0.2s ease-in-out, stroke-width 0.2s ease-in-out" }
2968
+ style: { transition: `stroke 0.2s ease-in-out,
2969
+ fill 0.2s ease-in-out,
2970
+ stroke-width 0.2s ease-in-out` }
2824
2971
  }, null, 8, mr)) : (S(), L("path", {
2825
2972
  key: 1,
2826
2973
  d: `M 0 0 L ${y(x).arrowSize} ${y(x).arrowSize / 2} L 0 ${y(x).arrowSize} L ${y(x).arrowSize / 3} ${y(x).arrowSize / 2} Z`,
2827
2974
  fill: Ze(d),
2828
2975
  stroke: Ze(d),
2829
2976
  "stroke-width": "0",
2830
- style: { transition: "stroke 0.2s ease-in-out, fill 0.2s ease-in-out, stroke-width 0.2s ease-in-out" }
2977
+ style: { transition: `stroke 0.2s ease-in-out,
2978
+ fill 0.2s ease-in-out,
2979
+ stroke-width 0.2s ease-in-out` }
2831
2980
  }, null, 8, vr))
2832
2981
  ], 8, hr))), 128))
2833
2982
  ])) : $("", !0),
@@ -2839,7 +2988,8 @@ const or = ["id"], sr = ["id"], ir = {
2839
2988
  "data-cy-edge": "",
2840
2989
  ref_for: !0,
2841
2990
  ref: po(d.id)
2842
- }, { ref_for: !0 }, Eo(d), { style: { "pointer-events": "none", transition: "stroke-width 0.2s ease-in-out, stroke 0.2s ease-in-out" } }), null, 16),
2991
+ }, { ref_for: !0 }, Eo(d), { style: { "pointer-events": "none", transition: `stroke-width 0.2s ease-in-out,
2992
+ stroke 0.2s ease-in-out` } }), null, 16),
2843
2993
  c.value.style.chart.midpoints.show ? (S(), L("circle", Te({
2844
2994
  key: 0,
2845
2995
  "data-cy-midpoint": "",
@@ -2847,7 +2997,9 @@ const or = ["id"], sr = ["id"], ir = {
2847
2997
  "data-a11y-midpoint-id": d.id
2848
2998
  }, { ref_for: !0 }, Co(d), {
2849
2999
  "aria-label": `${re(d.from)?.label ?? d.from} to ${re(d.to)?.label ?? d.to}`,
2850
- style: { transition: "stroke-width 0.2s ease-in-out, stroke 0.2s ease-in-out, fill 0.2s ease-in-out" },
3000
+ style: { transition: `stroke-width 0.2s ease-in-out,
3001
+ stroke 0.2s ease-in-out,
3002
+ fill 0.2s ease-in-out` },
2851
3003
  onMouseenter: (g) => ko(d),
2852
3004
  onMouseleave: ae
2853
3005
  }), null, 16, pr)) : $("", !0)
@@ -2893,7 +3045,8 @@ const or = ["id"], sr = ["id"], ir = {
2893
3045
  "stroke-linecap": "round",
2894
3046
  "stroke-linejoin": "round",
2895
3047
  "marker-end": y(x).arrowShape === "undirected" ? null : `url(#${dn(d.id)})`,
2896
- style: { "pointer-events": "none", transition: "stroke-width 0.2s ease-in-out, stroke 0.2s ease-in-out" }
3048
+ style: { "pointer-events": "none", transition: `stroke-width 0.2s ease-in-out,
3049
+ stroke 0.2s ease-in-out` }
2897
3050
  }, null, 8, _r))), 128))
2898
3051
  ]),
2899
3052
  X("g", Cr, [
@@ -2939,7 +3092,11 @@ const or = ["id"], sr = ["id"], ir = {
2939
3092
  }, null, 8, Sr)) : $("", !0)
2940
3093
  ], 64)),
2941
3094
  a.$slots["free-node-label"] ? (S(), L("g", Lr, [
2942
- R(a.$slots, "free-node-label", Te({ ref_for: !0 }, { node: d, layoutData: y(x), orientation: ee.value }), void 0, !0)
3095
+ R(a.$slots, "free-node-label", Te({ ref_for: !0 }, {
3096
+ node: d,
3097
+ layoutData: y(x),
3098
+ orientation: ee.value
3099
+ }), void 0, !0)
2943
3100
  ])) : $("", !0)
2944
3101
  ], 40, xr))), 128))
2945
3102
  ]),
@@ -2954,11 +3111,16 @@ const or = ["id"], sr = ["id"], ir = {
2954
3111
  }, void 0, !0)
2955
3112
  ], 46, ar)) : $("", !0),
2956
3113
  a.$slots.hint ? (S(), L("div", Mr, [
2957
- R(a.$slots, "hint", H(W({ hint: c.value.a11y.translations.keyboardNavigation, isVisible: be.value })), void 0, !0)
3114
+ R(a.$slots, "hint", H(W({
3115
+ hint: c.value.a11y.translations.keyboardNavigation,
3116
+ isVisible: be.value
3117
+ })), void 0, !0)
2958
3118
  ])) : $("", !0)
2959
3119
  ]),
2960
3120
  a.$slots.watermark ? (S(), L("div", Tr, [
2961
- R(a.$slots, "watermark", H(W({ isPrinting: y(ct) || y(dt) || ce.value || we.value })), void 0, !0)
3121
+ R(a.$slots, "watermark", H(W({
3122
+ isPrinting: y(ct) || y(dt) || ce.value || we.value
3123
+ })), void 0, !0)
2962
3124
  ])) : $("", !0),
2963
3125
  Ct(wn, { name: "fade" }, {
2964
3126
  default: V(() => [
@@ -3041,7 +3203,7 @@ const or = ["id"], sr = ["id"], ir = {
3041
3203
  ], !0)
3042
3204
  ], 46, or));
3043
3205
  }
3044
- }, ta = /* @__PURE__ */ ls(Dr, [["__scopeId", "data-v-b2f198cc"]]);
3206
+ }, ta = /* @__PURE__ */ ls(Dr, [["__scopeId", "data-v-98d4f33d"]]);
3045
3207
  export {
3046
3208
  ta as default
3047
3209
  };