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,19 +1,19 @@
1
1
  import { defineAsyncComponent as te, ref as r, computed as i, onMounted as Xo, toRefs as qo, watch as Re, openBlock as c, createElementBlock as b, unref as u, normalizeStyle as X, normalizeClass as eo, createElementVNode as H, toDisplayString as pe, createBlock as oe, createCommentVNode as w, withCtx as f, renderSlot as v, normalizeProps as S, guardReactiveProps as P, createSlots as to, createVNode as He, Fragment as Pe, renderList as Ie, Teleport as Zo, resolveDynamicComponent as Jo, mergeProps as Qo, createTextVNode as oo, nextTick as dt } from "vue";
2
- import { j as Ue, t as lo, o as ao, q as el, m as tl, p as q, n as ol, K as I, s as ll, l as ge, X as al, k as We, W as no, a as nl, a0 as sl, a1 as rl, T as ul } from "./lib-DBptbyyI.js";
2
+ import { j as Ue, t as lo, o as ao, q as el, m as tl, p as q, n as ol, K as I, s as ll, l as ge, X as al, k as We, W as no, a as nl, a0 as sl, a1 as rl, T as ul } from "./lib-DMzrGQHK.js";
3
3
  import { t as il, u as cl } from "./useResponsive-DfdjqQps.js";
4
- import { u as dl } from "./useConfig-C40HvGpD.js";
5
- import { u as vl } from "./usePrinter-CEpYU3r5.js";
6
- import { u as fl, B as hl } from "./BaseScanner-BhhkKVoj.js";
7
- import { u as pl } from "./useSvgExport-ByUukOZt.js";
8
- import { u as vt } from "./useNestedProp-Bf5XFbs8.js";
9
- import { u as gl } from "./useThemeCheck-D1ZYXUwG.js";
10
- import { u as yl } from "./useUserOptionState-BIvW1Kz7.js";
11
- import { u as ml } from "./useChartAccessibility-9icAAmYg.js";
12
- import bl from "./img-LXxMLmCg.js";
13
- import Cl from "./Title-BeMKE1cj.js";
4
+ import { u as dl } from "./useConfig-DTHxOX6V.js";
5
+ import { u as vl } from "./usePrinter-C4t8DdQ-.js";
6
+ import { u as fl, B as hl } from "./BaseScanner-BON3d_Sx.js";
7
+ import { u as pl } from "./useSvgExport-BTG4hVPO.js";
8
+ import { u as vt } from "./useNestedProp-DH0BEVVS.js";
9
+ import { u as gl } from "./useThemeCheck-C9Ccl7U9.js";
10
+ import { u as yl } from "./useUserOptionState-B7Ej974k.js";
11
+ import { u as ml } from "./useChartAccessibility-cp6XQtqi.js";
12
+ import bl from "./img-CjTQXS0U.js";
13
+ import Cl from "./Title-BbKoiBk2.js";
14
14
  import kl from "./vue_ui_flow-BErINgox.js";
15
- import wl from "./Legend-CS7Xo5LK.js";
16
- import { A as $l } from "./A11yDataTable-KcVAX2cP.js";
15
+ import wl from "./Legend-DGN5lY60.js";
16
+ import { A as $l } from "./A11yDataTable-BpmuNomI.js";
17
17
  import { _ as Al } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
18
  const xl = ["id"], Tl = ["id"], Sl = {
19
19
  key: 2,
@@ -46,7 +46,15 @@ const xl = ["id"], Tl = ["id"], Sl = {
46
46
  },
47
47
  emits: ["copyAlt"],
48
48
  setup(so, { expose: ro, emit: uo }) {
49
- const io = te(() => import("./Tooltip-C8KGyqQk.js")), co = te(() => import("./BaseIcon-Cb3zzG6s.js")), vo = te(() => import("./vue-ui-accordion-DDuJT1xA.js")), fo = te(() => import("./DataTable-DT2kIdQ6.js")), ho = te(() => import("./PenAndPaper-Ct3qJ4lA.js")), po = te(() => import("./UserOptions-rW2fRf3V.js")), go = te(() => import("./PackageVersion-PjmqM4wb.js")), yo = te(() => import("./BaseDraggableDialog-CIb-iD9g.js")), { vue_ui_flow: mo } = dl(), { isThemeValid: bo, warnInvalidTheme: Co } = gl(), N = so, ko = uo, U = r(Ue()), V = r(null), ft = r(0), ht = r(0), Ne = r(!1), Ve = r(""), pt = r(null), gt = r(null), yt = r(null), ye = r(null), Oe = r(null), mt = r(!1), me = r(null), Ge = r(null), wo = r(null), Ee = r(!1), _e = r(!1), be = r(null), de = r(null), bt = r({ x: 0, y: 0 }), je = r("pointer"), Fe = r(!1), Ct = i(() => !!N.dataset && N.dataset.length);
49
+ const io = te(() => import("./Tooltip-Cvt7Fi0Q.js")), co = te(() => import("./BaseIcon-DX0hTWa-.js")), vo = te(() => import("./vue-ui-accordion-BHmfmb_6.js")), fo = te(() => import("./DataTable-cMnb68Ik.js")), ho = te(
50
+ () => import("./PenAndPaper-CJDoB5H9.js")
51
+ ), po = te(
52
+ () => import("./UserOptions-DVduN6X7.js")
53
+ ), go = te(
54
+ () => import("./PackageVersion-DVvvyQXB.js")
55
+ ), yo = te(
56
+ () => import("./BaseDraggableDialog-Di8Hlru3.js")
57
+ ), { vue_ui_flow: mo } = dl(), { isThemeValid: bo, warnInvalidTheme: Co } = gl(), N = so, ko = uo, U = r(Ue()), V = r(null), ft = r(0), ht = r(0), Ne = r(!1), Ve = r(""), pt = r(null), gt = r(null), yt = r(null), ye = r(null), Oe = r(null), mt = r(!1), me = r(null), Ge = r(null), wo = r(null), Ee = r(!1), _e = r(!1), be = r(null), de = r(null), bt = r({ x: 0, y: 0 }), je = r("pointer"), Fe = r(!1), Ct = i(() => !!N.dataset && N.dataset.length);
50
58
  Xo(() => {
51
59
  mt.value = !0, wt();
52
60
  });
@@ -54,7 +62,9 @@ const xl = ["id"], Tl = ["id"], Sl = {
54
62
  function kt(t) {
55
63
  le.value = t, ft.value += 1;
56
64
  }
57
- const e = r(Ze()), ve = i(() => e.value.userOptions.useCursorPointer), $o = i(() => lo({
65
+ const e = r(Ze()), ve = i(
66
+ () => e.value.userOptions.useCursorPointer
67
+ ), $o = i(() => lo({
58
68
  defaultConfig: {
59
69
  userOptions: { show: !1 },
60
70
  nodeCategories: {
@@ -159,9 +169,13 @@ const xl = ["id"], Tl = ["id"], Sl = {
159
169
  Ke.value || (e.value = Ze()), qe.value = !e.value.userOptions.showOnChartHover, wt(), ht.value += 1, Y.value.showTable = e.value.table.show;
160
170
  },
161
171
  { deep: !0 }
162
- ), Re(() => N.dataset, (t) => {
163
- Array.isArray(t) && t.length > 0 && (Xe.value = !1);
164
- }, { deep: !0 });
172
+ ), Re(
173
+ () => N.dataset,
174
+ (t) => {
175
+ Array.isArray(t) && t.length > 0 && (Xe.value = !1);
176
+ },
177
+ { deep: !0 }
178
+ );
165
179
  const { isPrinting: Je, isImaging: Qe, generatePdf: St, generateImage: Pt } = vl({
166
180
  elementId: `flow_${U.value}`,
167
181
  fileName: e.value.style.chart.title.text || "vue-ui-flow",
@@ -170,12 +184,16 @@ const xl = ["id"], Tl = ["id"], Sl = {
170
184
  showTable: e.value.table.show,
171
185
  showTooltip: e.value.style.chart.tooltip.show
172
186
  });
173
- Re(e, () => {
174
- Y.value = {
175
- showTable: e.value.table.show,
176
- showTooltip: e.value.style.chart.tooltip.show
177
- };
178
- }, { immediate: !0 });
187
+ Re(
188
+ e,
189
+ () => {
190
+ Y.value = {
191
+ showTable: e.value.table.show,
192
+ showTooltip: e.value.style.chart.tooltip.show
193
+ };
194
+ },
195
+ { immediate: !0 }
196
+ );
179
197
  const It = i(() => !Me.value || !Me.value.length ? [] : Me.value.map((t, l) => [
180
198
  t[0],
181
199
  t[1],
@@ -303,8 +321,14 @@ const xl = ["id"], Tl = ["id"], Sl = {
303
321
  links: t.links
304
322
  };
305
323
  }), Nt = i(() => xt.value), Ot = i(() => Tt.value), ke = i(() => e.value.style.chart.padding), Et = i(() => ({
306
- width: Math.max(0, Nt.value - 40 - ke.value.right - ke.value.left),
307
- height: Math.max(0, Ot.value - ke.value.top - ke.value.bottom)
324
+ width: Math.max(
325
+ 0,
326
+ Nt.value - 40 - ke.value.right - ke.value.left
327
+ ),
328
+ height: Math.max(
329
+ 0,
330
+ Ot.value - ke.value.top - ke.value.bottom
331
+ )
308
332
  })), we = i(() => ({
309
333
  width: Nt.value,
310
334
  height: Ot.value
@@ -348,7 +372,10 @@ const xl = ["id"], Tl = ["id"], Sl = {
348
372
  percentOfTotal: Te,
349
373
  color: M[n] || "#000000"
350
374
  };
351
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: _, seriesIndex: l }), fe.value = { datapoint: _ }, Ne.value = !0;
375
+ e.value.events.datapointEnter && e.value.events.datapointEnter({
376
+ datapoint: _,
377
+ seriesIndex: l
378
+ }), fe.value = { datapoint: _ }, Ne.value = !0;
352
379
  let Z = "";
353
380
  const Se = e.value.style.chart.tooltip.customFormat;
354
381
  if (Le.value = !1, ul(Se))
@@ -399,11 +426,17 @@ const xl = ["id"], Tl = ["id"], Sl = {
399
426
  }
400
427
  function _t(t) {
401
428
  const l = fe.value;
402
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: t }), !(je.value === "keyboard" && de.value) && ($e.value = null, A.value = null, ne.value = null, Ne.value = !1);
429
+ e.value.events.datapointLeave && e.value.events.datapointLeave({
430
+ datapoint: l,
431
+ seriesIndex: t
432
+ }), !(je.value === "keyboard" && de.value) && ($e.value = null, A.value = null, ne.value = null, Ne.value = !1);
403
433
  }
404
434
  function Ft(t) {
405
435
  const l = fe.value;
406
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: t });
436
+ e.value.events.datapointClick && e.value.events.datapointClick({
437
+ datapoint: l,
438
+ seriesIndex: t
439
+ });
407
440
  }
408
441
  const Mt = i(() => $.value.links.map(
409
442
  ({ source: t, target: l, sourceColor: o, targetColor: a, value: n }) => ({
@@ -487,7 +520,9 @@ const xl = ["id"], Tl = ["id"], Sl = {
487
520
  })).sort((t, l) => t.x === l.x ? t.absoluteY - l.absoluteY : t.x - l.x)), se = i(() => {
488
521
  const l = [];
489
522
  return Be.value.forEach((o) => {
490
- const a = l.find((n) => Math.abs(n.x - o.x) <= 1);
523
+ const a = l.find(
524
+ (n) => Math.abs(n.x - o.x) <= 1
525
+ );
491
526
  a ? a.nodes.push(o) : l.push({
492
527
  x: o.x,
493
528
  nodes: [o]
@@ -556,7 +591,12 @@ const xl = ["id"], Tl = ["id"], Sl = {
556
591
  }));
557
592
  async function Oo({ scale: t = 2 } = {}) {
558
593
  if (!V.value) return;
559
- const { width: l, height: o } = V.value.getBoundingClientRect(), a = l / o, { imageUri: n, base64: p } = await bl({ domElement: V.value, base64: !0, img: !0, scale: t });
594
+ const { width: l, height: o } = V.value.getBoundingClientRect(), a = l / o, { imageUri: n, base64: p } = await bl({
595
+ domElement: V.value,
596
+ base64: !0,
597
+ img: !0,
598
+ scale: t
599
+ });
560
600
  return {
561
601
  imageUri: n,
562
602
  base64: p,
@@ -597,9 +637,12 @@ const xl = ["id"], Tl = ["id"], Sl = {
597
637
  }
598
638
  };
599
639
  });
600
- Re(() => Y.value.showTable, (t) => {
601
- e.value.table.show || (t && e.value.table.useDialog && me.value ? me.value.open() : "close" in me.value && me.value.close());
602
- });
640
+ Re(
641
+ () => Y.value.showTable,
642
+ (t) => {
643
+ e.value.table.show || (t && e.value.table.useDialog && me.value ? me.value.open() : "close" in me.value && me.value.close());
644
+ }
645
+ );
603
646
  function Yt() {
604
647
  Y.value.showTable = !1, Ge.value && Ge.value.setTableIconState(!1);
605
648
  }
@@ -618,7 +661,14 @@ const xl = ["id"], Tl = ["id"], Sl = {
618
661
  try {
619
662
  if (t) {
620
663
  const { blob: l, url: o, text: a, dataUrl: n } = await Lo();
621
- await Promise.resolve(e.value.userOptions.callbacks.svg({ blob: l, url: o, text: a, dataUrl: n }));
664
+ await Promise.resolve(
665
+ e.value.userOptions.callbacks.svg({
666
+ blob: l,
667
+ url: o,
668
+ text: a,
669
+ dataUrl: n
670
+ })
671
+ );
622
672
  } else
623
673
  await Promise.resolve(Do());
624
674
  } finally {
@@ -641,13 +691,17 @@ const xl = ["id"], Tl = ["id"], Sl = {
641
691
  config: e.value,
642
692
  dataset: $.value
643
693
  }), !e.value.userOptions.callbacks.altCopy) {
644
- console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
694
+ console.warn(
695
+ "Vue Data UI - A callback must be set for `altCopy` in userOptions."
696
+ );
645
697
  return;
646
698
  }
647
- await Promise.resolve(e.value.userOptions.callbacks.altCopy({
648
- config: e.value,
649
- dataset: $.value
650
- }));
699
+ await Promise.resolve(
700
+ e.value.userOptions.callbacks.altCopy({
701
+ config: e.value,
702
+ dataset: $.value
703
+ })
704
+ );
651
705
  }
652
706
  function Yo(t) {
653
707
  return se.value.findIndex(
@@ -677,7 +731,8 @@ const xl = ["id"], Tl = ["id"], Sl = {
677
731
  function Wo(t) {
678
732
  if (!ae.value || Ae.value || document.activeElement !== ae.value || !Be.value.length) return;
679
733
  const l = t.key === "ArrowLeft", o = t.key === "ArrowRight", a = t.key === "ArrowUp", n = t.key === "ArrowDown", p = t.key === "Enter" || t.key === " ", O = t.key === "Escape";
680
- if (!l && !o && !a && !n && !p && !O) return;
734
+ if (!l && !o && !a && !n && !p && !O)
735
+ return;
681
736
  if (t.preventDefault(), t.stopPropagation(), O) {
682
737
  et();
683
738
  return;
@@ -702,7 +757,10 @@ const xl = ["id"], Tl = ["id"], Sl = {
702
757
  if (W < 0) return;
703
758
  let G = null;
704
759
  if (a || n) {
705
- const C = zo(W, z.id);
760
+ const C = zo(
761
+ W,
762
+ z.id
763
+ );
706
764
  if (C < 0) return;
707
765
  const E = se.value[W];
708
766
  if (!E?.nodes?.length) return;
@@ -711,7 +769,10 @@ const xl = ["id"], Tl = ["id"], Sl = {
711
769
  }
712
770
  if (l || o) {
713
771
  let C = W + (o ? 1 : -1);
714
- C < 0 && (C = se.value.length - 1), C >= se.value.length && (C = 0), G = Ro(C, z.centerY);
772
+ C < 0 && (C = se.value.length - 1), C >= se.value.length && (C = 0), G = Ro(
773
+ C,
774
+ z.centerY
775
+ );
715
776
  }
716
777
  if (!G) return;
717
778
  const j = Ye.value.get(G.id);
@@ -983,7 +1044,9 @@ const xl = ["id"], Tl = ["id"], Sl = {
983
1044
  stroke: e.value.style.chart.links.stroke,
984
1045
  "stroke-width": e.value.style.chart.links.strokeWidth,
985
1046
  style: X(`
986
- opacity:${A.value ? A.value.includes(o.source) && A.value.includes(o.target) ? 1 : 0.3 : ne.value ? [o.target, o.source].includes(ne.value) ? 1 : 0.3 : e.value.style.chart.links.opacity}
1047
+ opacity:${A.value ? A.value.includes(o.source) && A.value.includes(o.target) ? 1 : 0.3 : ne.value ? [o.target, o.source].includes(
1048
+ ne.value
1049
+ ) ? 1 : 0.3 : e.value.style.chart.links.opacity}
987
1050
  `)
988
1051
  }, null, 12, Ml))), 256)),
989
1052
  (c(!0), b(Pe, null, Ie($.value.nodes, (o, a) => (c(), b("rect", {
@@ -1011,7 +1074,12 @@ const xl = ["id"], Tl = ["id"], Sl = {
1011
1074
  r: e.value.style.chart.nodes.labels.rounding
1012
1075
  })
1013
1076
  )}`,
1014
- onMouseenter: (n) => tt(o, a, "pointer", Ye.value.get(o.id)),
1077
+ onMouseenter: (n) => tt(
1078
+ o,
1079
+ a,
1080
+ "pointer",
1081
+ Ye.value.get(o.id)
1082
+ ),
1015
1083
  onMouseleave: (n) => _t(a),
1016
1084
  onClick: (n) => Ft(a)
1017
1085
  }, null, 44, Dl))), 256)),
@@ -1059,11 +1127,16 @@ const xl = ["id"], Tl = ["id"], Sl = {
1059
1127
  }, void 0, !0)
1060
1128
  ], 46, Nl)),
1061
1129
  t.$slots.hint ? (c(), b("div", zl, [
1062
- v(t.$slots, "hint", S(P({ hint: e.value.a11y.translations.keyboardNavigation, isVisible: Fe.value })), void 0, !0)
1130
+ v(t.$slots, "hint", S(P({
1131
+ hint: e.value.a11y.translations.keyboardNavigation,
1132
+ isVisible: Fe.value
1133
+ })), void 0, !0)
1063
1134
  ])) : w("", !0)
1064
1135
  ]),
1065
1136
  t.$slots.watermark ? (c(), b("div", Rl, [
1066
- v(t.$slots, "watermark", S(P({ isPrinting: u(Je) || u(Qe) || Ee.value || _e.value })), void 0, !0)
1137
+ v(t.$slots, "watermark", S(P({
1138
+ isPrinting: u(Je) || u(Qe) || Ee.value || _e.value
1139
+ })), void 0, !0)
1067
1140
  ])) : w("", !0),
1068
1141
  H("div", {
1069
1142
  id: `legend-bottom-${U.value}`
@@ -1199,7 +1272,7 @@ const xl = ["id"], Tl = ["id"], Sl = {
1199
1272
  ], !0)
1200
1273
  ], 46, xl));
1201
1274
  }
1202
- }, ia = /* @__PURE__ */ Al(Vl, [["__scopeId", "data-v-3c32a139"]]);
1275
+ }, ia = /* @__PURE__ */ Al(Vl, [["__scopeId", "data-v-27f534c6"]]);
1203
1276
  export {
1204
1277
  ia as default
1205
1278
  };
@@ -1,15 +1,15 @@
1
1
  import { useCssVars as rt, defineAsyncComponent as x, ref as c, shallowRef as Te, computed as v, onMounted as ut, onBeforeUnmount as it, watch as Oe, openBlock as n, createElementBlock as h, unref as s, normalizeStyle as O, normalizeClass as N, createBlock as F, withCtx as r, renderSlot as u, normalizeProps as C, guardReactiveProps as k, createCommentVNode as g, createSlots as _e, createVNode as Pe, createElementVNode as $, mergeProps as W, Fragment as q, renderList as Y, toDisplayString as E, resolveDynamicComponent as ct, createTextVNode as De, nextTick as ze } from "vue";
2
- import { j as vt, o as dt, q as Ie, r as ht, s as ft, x as bt, k as J, l as K, X as mt, W as gt, a2 as ne, a0 as pt, a1 as yt } from "./lib-DBptbyyI.js";
2
+ import { j as vt, o as dt, q as Ie, r as ht, s as ft, x as bt, k as J, l as K, X as mt, W as gt, a2 as ne, a0 as pt, a1 as yt } from "./lib-DMzrGQHK.js";
3
3
  import { t as Ct, u as kt } from "./useResponsive-DfdjqQps.js";
4
- import { u as wt } from "./useConfig-C40HvGpD.js";
5
- import { u as $t } from "./usePrinter-CEpYU3r5.js";
6
- import { u as Lt } from "./useSvgExport-ByUukOZt.js";
7
- import { u as re } from "./useNestedProp-Bf5XFbs8.js";
8
- import { u as At } from "./useThemeCheck-D1ZYXUwG.js";
9
- import { u as xt } from "./useUserOptionState-BIvW1Kz7.js";
10
- import { u as St } from "./useChartAccessibility-9icAAmYg.js";
11
- import Tt from "./img-LXxMLmCg.js";
12
- import Ot from "./Title-BeMKE1cj.js";
4
+ import { u as wt } from "./useConfig-DTHxOX6V.js";
5
+ import { u as $t } from "./usePrinter-C4t8DdQ-.js";
6
+ import { u as Lt } from "./useSvgExport-BTG4hVPO.js";
7
+ import { u as re } from "./useNestedProp-DH0BEVVS.js";
8
+ import { u as At } from "./useThemeCheck-C9Ccl7U9.js";
9
+ import { u as xt } from "./useUserOptionState-B7Ej974k.js";
10
+ import { u as St } from "./useChartAccessibility-cp6XQtqi.js";
11
+ import Tt from "./img-CjTQXS0U.js";
12
+ import Ot from "./Title-BbKoiBk2.js";
13
13
  import _t from "./vue_ui_funnel-yuaMZ-yb.js";
14
14
  import { _ as Pt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
15
  const Dt = ["id"], zt = ["xmlns", "viewBox"], It = ["width", "height"], Nt = ["id"], Ft = ["stop-color"], Bt = ["stop-color"], Rt = ["stop-color"], Ut = ["stroke", "stroke-width"], Mt = ["stroke", "stroke-width"], Vt = ["x", "y", "font-size", "fill", "font-weight"], Et = ["points", "fill"], Gt = ["stroke", "stroke-width", "rx"], jt = ["x", "y", "font-size", "fill", "font-weight"], Ht = ["x", "y", "font-size", "fill", "font-weight"], Xt = {
@@ -34,9 +34,17 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], It = ["width", "height"], Nt = ["i
34
34
  emits: ["copyAlt"],
35
35
  setup(Ne, { expose: Fe, emit: Be }) {
36
36
  rt((t) => ({
37
- v571664dc: Ze.value
37
+ v3170e5db: Ze.value
38
38
  }));
39
- const Re = x(() => import("./BaseIcon-Cb3zzG6s.js")), Ue = x(() => import("./vue-ui-skeleton-BsTtcR3x.js")), Me = x(() => import("./vue-ui-accordion-DDuJT1xA.js")), Ve = x(() => import("./DataTable-DT2kIdQ6.js")), Ee = x(() => import("./UserOptions-rW2fRf3V.js")), Ge = x(() => import("./PenAndPaper-Ct3qJ4lA.js")), je = x(() => import("./PackageVersion-PjmqM4wb.js")), He = x(() => import("./BaseDraggableDialog-CIb-iD9g.js")), { vue_ui_funnel: Xe } = wt(), { isThemeValid: We, warnInvalidTheme: qe } = At(), p = Ne, Ye = Be, L = c(null), B = c(vt()), ue = c(0), ie = c(0), ce = c(0), ve = c(null), de = c(null), he = c(null), A = Te(null), _ = Te(null), S = c(!1), R = c(null), Q = c(null), G = c(!1), j = c(!1), P = v(() => !!p.dataset && p.dataset.length);
39
+ const Re = x(() => import("./BaseIcon-DX0hTWa-.js")), Ue = x(() => import("./vue-ui-skeleton-xLPY1FKW.js")), Me = x(() => import("./vue-ui-accordion-BHmfmb_6.js")), Ve = x(() => import("./DataTable-cMnb68Ik.js")), Ee = x(
40
+ () => import("./UserOptions-DVduN6X7.js")
41
+ ), Ge = x(
42
+ () => import("./PenAndPaper-CJDoB5H9.js")
43
+ ), je = x(
44
+ () => import("./PackageVersion-DVvvyQXB.js")
45
+ ), He = x(
46
+ () => import("./BaseDraggableDialog-Di8Hlru3.js")
47
+ ), { vue_ui_funnel: Xe } = wt(), { isThemeValid: We, warnInvalidTheme: qe } = At(), p = Ne, Ye = Be, L = c(null), B = c(vt()), ue = c(0), ie = c(0), ce = c(0), ve = c(null), de = c(null), he = c(null), A = Te(null), _ = Te(null), S = c(!1), R = c(null), Q = c(null), G = c(!1), j = c(!1), P = v(() => !!p.dataset && p.dataset.length);
40
48
  ut(fe);
41
49
  function fe() {
42
50
  if (dt(p.dataset) ? Ie({
@@ -110,10 +118,18 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], It = ["width", "height"], Nt = ["i
110
118
  const e = v({
111
119
  get: () => be(),
112
120
  set: (t) => t
113
- }), me = v(() => e.value.userOptions.useCursorPointer), { userOptionsVisible: Z, setUserOptionsVisibility: ge, keepUserOptionState: pe } = xt({ config: e.value }), { svgRef: ee } = St({ config: e.value.style.chart.title });
114
- Oe(() => p.config, (t) => {
115
- e.value = be(), Z.value = !e.value.userOptions.showOnChartHover, fe(), ie.value += 1, ce.value += 1, f.value.circles = e.value.style.chart.circles.dataLabels.fontSize, f.value.names = e.value.style.chart.bars.dataLabels.name.fontSize, f.value.values = e.value.style.chart.bars.dataLabels.value.fontSize, D.value.showTable = e.value.table.show;
116
- }, { deep: !0 });
121
+ }), me = v(
122
+ () => e.value.userOptions.useCursorPointer
123
+ ), { userOptionsVisible: Z, setUserOptionsVisibility: ge, keepUserOptionState: pe } = xt({ config: e.value }), { svgRef: ee } = St({
124
+ config: e.value.style.chart.title
125
+ });
126
+ Oe(
127
+ () => p.config,
128
+ (t) => {
129
+ e.value = be(), Z.value = !e.value.userOptions.showOnChartHover, fe(), ie.value += 1, ce.value += 1, f.value.circles = e.value.style.chart.circles.dataLabels.fontSize, f.value.names = e.value.style.chart.bars.dataLabels.name.fontSize, f.value.values = e.value.style.chart.bars.dataLabels.value.fontSize, D.value.showTable = e.value.table.show;
130
+ },
131
+ { deep: !0 }
132
+ );
117
133
  const { isPrinting: te, isImaging: ae, generatePdf: ye, generateImage: Ce } = $t({
118
134
  elementId: `funnel_${B.value}`,
119
135
  fileName: e.value.style.chart.title.text || "vue-ui-funnel",
@@ -132,7 +148,10 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], It = ["width", "height"], Nt = ["i
132
148
  set: (t) => t
133
149
  }), y = v(() => P.value ? p.dataset.map((t, l) => ({
134
150
  ...t,
135
- color: t.color ? ft(t.color) : bt(e.value.style.chart.bars.defaultColor, l / p.dataset.length)
151
+ color: t.color ? ft(t.color) : bt(
152
+ e.value.style.chart.bars.defaultColor,
153
+ l / p.dataset.length
154
+ )
136
155
  })) : []);
137
156
  setTimeout(() => {
138
157
  S.value = !0;
@@ -214,11 +233,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], It = ["width", "height"], Nt = ["i
214
233
  }),
215
234
  { datapoint: i.value[d] }
216
235
  );
217
- return [
218
- { color: m.color, name: m.name },
219
- V,
220
- se
221
- ];
236
+ return [{ color: m.color, name: m.name }, V, se];
222
237
  }), a = {
223
238
  th: {
224
239
  backgroundColor: e.value.table.th.backgroundColor,
@@ -245,10 +260,23 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], It = ["width", "height"], Nt = ["i
245
260
  });
246
261
  function oe(t = null) {
247
262
  ze(() => {
248
- const l = U.value.head.map((m, d) => [[
249
- m.name
250
- ], [U.value.body[d]], [i.value[d].proportion * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value], ["%"]]].concat(l), o = pt(a);
251
- t ? t(o) : yt({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-funnel" });
263
+ const l = U.value.head.map((m, d) => [
264
+ [m.name],
265
+ [U.value.body[d]],
266
+ [i.value[d].proportion * 100]
267
+ ]), a = [
268
+ [e.value.style.chart.title.text],
269
+ [e.value.style.chart.title.subtitle.text],
270
+ [
271
+ [e.value.table.columnNames.series],
272
+ [e.value.table.columnNames.value],
273
+ ["%"]
274
+ ]
275
+ ].concat(l), o = pt(a);
276
+ t ? t(o) : yt({
277
+ csvContent: o,
278
+ title: e.value.style.chart.title.text || "vue-ui-funnel"
279
+ });
252
280
  });
253
281
  }
254
282
  function et() {
@@ -256,7 +284,12 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], It = ["width", "height"], Nt = ["i
256
284
  }
257
285
  async function tt({ scale: t = 2 } = {}) {
258
286
  if (!L.value) return;
259
- const { width: l, height: a } = L.value.getBoundingClientRect(), o = l / a, { imageUri: m, base64: d } = await Tt({ domElement: L.value, base64: !0, img: !0, scale: t });
287
+ const { width: l, height: a } = L.value.getBoundingClientRect(), o = l / a, { imageUri: m, base64: d } = await Tt({
288
+ domElement: L.value,
289
+ base64: !0,
290
+ img: !0,
291
+ scale: t
292
+ });
260
293
  return {
261
294
  imageUri: m,
262
295
  base64: d,
@@ -296,9 +329,12 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], It = ["width", "height"], Nt = ["i
296
329
  }
297
330
  };
298
331
  });
299
- Oe(() => D.value.showTable, (t) => {
300
- e.value.table.show || (t && e.value.table.useDialog && R.value ? R.value.open() : "close" in R.value && R.value.close());
301
- });
332
+ Oe(
333
+ () => D.value.showTable,
334
+ (t) => {
335
+ e.value.table.show || (t && e.value.table.useDialog && R.value ? R.value.open() : "close" in R.value && R.value.close());
336
+ }
337
+ );
302
338
  function Ae() {
303
339
  D.value.showTable = !1, Q.value && Q.value.setTableIconState(!1);
304
340
  }
@@ -312,7 +348,14 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], It = ["width", "height"], Nt = ["i
312
348
  try {
313
349
  if (t) {
314
350
  const { blob: l, url: a, text: o, dataUrl: m } = await st();
315
- await Promise.resolve(e.value.userOptions.callbacks.svg({ blob: l, url: a, text: o, dataUrl: m }));
351
+ await Promise.resolve(
352
+ e.value.userOptions.callbacks.svg({
353
+ blob: l,
354
+ url: a,
355
+ text: o,
356
+ dataUrl: m
357
+ })
358
+ );
316
359
  } else
317
360
  await Promise.resolve(ot());
318
361
  } finally {
@@ -335,13 +378,17 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], It = ["width", "height"], Nt = ["i
335
378
  config: e.value,
336
379
  dataset: y.value
337
380
  }), !e.value.userOptions.callbacks.altCopy) {
338
- console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
381
+ console.warn(
382
+ "Vue Data UI - A callback must be set for `altCopy` in userOptions."
383
+ );
339
384
  return;
340
385
  }
341
- await Promise.resolve(e.value.userOptions.callbacks.altCopy({
342
- config: e.value,
343
- dataset: y.value
344
- }));
386
+ await Promise.resolve(
387
+ e.value.userOptions.callbacks.altCopy({
388
+ config: e.value,
389
+ dataset: y.value
390
+ })
391
+ );
345
392
  }
346
393
  return Fe({
347
394
  getData: et,
@@ -528,7 +575,10 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], It = ["width", "height"], Nt = ["i
528
575
  ref_key: "svgRef",
529
576
  ref: ee,
530
577
  xmlns: s(mt),
531
- class: N({ "vue-data-ui-fullscreen--on": I.value, "vue-data-ui-fulscreen--off": !I.value }),
578
+ class: N({
579
+ "vue-data-ui-fullscreen--on": I.value,
580
+ "vue-data-ui-fulscreen--off": !I.value
581
+ }),
532
582
  viewBox: `0 0 ${b.value.width <= 0 ? 10 : b.value.width} ${b.value.height <= 0 ? 10 : b.value.height}`,
533
583
  style: O(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
534
584
  }, [
@@ -684,7 +734,9 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], It = ["width", "height"], Nt = ["i
684
734
  }, void 0, !0)
685
735
  ], 14, zt)) : g("", !0),
686
736
  t.$slots.watermark ? (n(), h("div", Xt, [
687
- u(t.$slots, "watermark", C(k({ isPrinting: s(te) || s(ae) || G.value || j.value })), void 0, !0)
737
+ u(t.$slots, "watermark", C(k({
738
+ isPrinting: s(te) || s(ae) || G.value || j.value
739
+ })), void 0, !0)
688
740
  ])) : g("", !0),
689
741
  P.value ? g("", !0) : (n(), F(s(Ue), {
690
742
  key: 6,
@@ -765,7 +817,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], It = ["width", "height"], Nt = ["i
765
817
  ]), 1040)) : g("", !0)
766
818
  ], 46, Dt));
767
819
  }
768
- }, ia = /* @__PURE__ */ Pt(qt, [["__scopeId", "data-v-206e5d0e"]]);
820
+ }, ia = /* @__PURE__ */ Pt(qt, [["__scopeId", "data-v-d310d5f9"]]);
769
821
  export {
770
822
  ia as default
771
823
  };