vue-data-ui 3.17.3 → 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-DP_kfXUM.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 +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-C0aMSe2G.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-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-B6S8XYmi.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-_zHE8JoR.js → vue-ui-bullet-CEH6eppC.js} +92 -35
  197. package/dist/{vue-ui-bump-BX-bnhix.js → vue-ui-bump-JbKFEe2A.js} +205 -102
  198. package/dist/{vue-ui-candlestick-CgtRA-EI.js → vue-ui-candlestick-BX01sTaY.js} +285 -100
  199. package/dist/{vue-ui-carousel-table-BnwS5nMG.js → vue-ui-carousel-table-BOAti3gd.js} +66 -29
  200. package/dist/{vue-ui-chestnut-3JG1dMba.js → vue-ui-chestnut-B0rhAzCA.js} +277 -88
  201. package/dist/{vue-ui-chord-DsA-qrl6.js → vue-ui-chord-DKIHZ39Z.js} +226 -96
  202. package/dist/{vue-ui-circle-pack-BSHUo-L7.js → vue-ui-circle-pack-Ct2roluW.js} +196 -111
  203. package/dist/{vue-ui-cursor-Gqh_JBGA.js → vue-ui-cursor-B3cJoPku.js} +14 -7
  204. package/dist/{vue-ui-dag-BTB1DCrs.js → vue-ui-dag-DCq1VMNd.js} +261 -99
  205. package/dist/{vue-ui-dashboard-xAW1vWaB.js → vue-ui-dashboard-BqAYr0Fr.js} +261 -94
  206. package/dist/{vue-ui-digits-D2wQOhMt.js → vue-ui-digits-D16SQQ4M.js} +6 -6
  207. package/dist/{vue-ui-donut-UUgV1d0_.js → vue-ui-donut-d0LLrlKG.js} +532 -157
  208. package/dist/{vue-ui-donut-evolution-B0EEKpQC.js → vue-ui-donut-evolution-6sMhQduN.js} +311 -92
  209. package/dist/{vue-ui-dumbbell-Ct2RXkIX.js → vue-ui-dumbbell-CUybhrwj.js} +266 -93
  210. package/dist/{vue-ui-flow-Ci_h8KNf.js → vue-ui-flow-BZ-9RFsy.js} +121 -48
  211. package/dist/{vue-ui-funnel-Ciy-udDH.js → vue-ui-funnel-BJgvIvlz.js} +91 -39
  212. package/dist/{vue-ui-galaxy-DJ6_911b.js → vue-ui-galaxy-DR9WL985.js} +161 -69
  213. package/dist/{vue-ui-gauge-CJ5OH_wa.js → vue-ui-gauge-x96W5OPx.js} +95 -37
  214. package/dist/{vue-ui-geo-B-8UJvBt.js → vue-ui-geo-qTfYs5qi.js} +113 -43
  215. package/dist/{vue-ui-gizmo-BgdUIouA.js → vue-ui-gizmo-C8HOirN9.js} +25 -12
  216. package/dist/{vue-ui-heatmap-ZdZ22EDj.js → vue-ui-heatmap-Cy9o-A7B.js} +316 -125
  217. package/dist/{vue-ui-history-plot-D1vpgQ8I.js → vue-ui-history-plot-j0DMfNPJ.js} +186 -73
  218. package/dist/{vue-ui-horizontal-bar-C1gYSz7t.js → vue-ui-horizontal-bar-CRScV3rx.js} +151 -56
  219. package/dist/{vue-ui-kpi-B0sOyO7s.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-C2wW_JqJ.js → vue-ui-molecule-B_19tjnI.js} +226 -120
  222. package/dist/{vue-ui-mood-radar-Bgd30qfN.js → vue-ui-mood-radar-DrkGtt7m.js} +166 -56
  223. package/dist/{vue-ui-nested-donuts-CDtrnUDs.js → vue-ui-nested-donuts-C3enuKq1.js} +196 -89
  224. package/dist/{vue-ui-onion-CeLy3EjT.js → vue-ui-onion-DMMLNXVu.js} +155 -74
  225. package/dist/{vue-ui-parallel-coordinate-plot-rRuHDWD1.js → vue-ui-parallel-coordinate-plot-YokoI6TP.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-D8vI4gIT.js} +240 -88
  228. package/dist/{vue-ui-quick-chart-Bbdoq3j3.js → vue-ui-quick-chart-BdwHAQyA.js} +445 -150
  229. package/dist/{vue-ui-radar-BF2eWMEl.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-D3jsasRD.js → vue-ui-relation-circle-XQH3QkrI.js} +119 -45
  232. package/dist/{vue-ui-ridgeline-Lhxi4BNZ.js → vue-ui-ridgeline-ksI62sSU.js} +349 -85
  233. package/dist/{vue-ui-rings-D0tnHXEe.js → vue-ui-rings-Dwbo1Fro.js} +179 -81
  234. package/dist/{vue-ui-scatter-CIK8j5sT.js → vue-ui-scatter-GFzM-YYz.js} +282 -102
  235. package/dist/{vue-ui-skeleton-BD5hXmIt.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-exj63CUB.js → vue-ui-spark-trend-Bkxd18l5.js} +76 -31
  238. package/dist/{vue-ui-sparkbar-D3UXwhmT.js → vue-ui-sparkbar-D2abFa-u.js} +113 -59
  239. package/dist/{vue-ui-sparkgauge-BsQY5Cwp.js → vue-ui-sparkgauge-D6IF3ZQR.js} +47 -18
  240. package/dist/{vue-ui-sparkhistogram-4oHi6IHt.js → vue-ui-sparkhistogram-Dl8WlJLW.js} +145 -60
  241. package/dist/{vue-ui-sparkline-BypShxpX.js → vue-ui-sparkline-BY05SDNv.js} +226 -68
  242. package/dist/{vue-ui-sparkstackbar-8dpxOXr_.js → vue-ui-sparkstackbar-BLFjfklb.js} +84 -36
  243. package/dist/{vue-ui-stackbar-BKLo9L3P.js → vue-ui-stackbar-Dw-CI94e.js} +482 -169
  244. package/dist/{vue-ui-stackline-CSBogzBf.js → vue-ui-stackline-CkgSbKkp.js} +473 -164
  245. package/dist/{vue-ui-strip-plot-BQiNmxPk.js → vue-ui-strip-plot-P16Y5yN1.js} +239 -132
  246. package/dist/{vue-ui-table-CKlHkISC.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-DHPemUVJ.js → vue-ui-table-sparkline-CpjyrPic.js} +127 -47
  249. package/dist/{vue-ui-thermometer-Cy1oHbQ-.js → vue-ui-thermometer-B9nc954A.js} +129 -48
  250. package/dist/{vue-ui-timer-DsYVGo-1.js → vue-ui-timer-BDfbM4vl.js} +32 -15
  251. package/dist/{vue-ui-tiremarks-BvEM8AvM.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-Uo1RM5Yy.js → vue-ui-waffle-CpNJSzAD.js} +206 -87
  254. package/dist/{vue-ui-wheel-Cood5EN7.js → vue-ui-wheel-DqBmaQ6h.js} +231 -61
  255. package/dist/{vue-ui-word-cloud-BrQKo4eQ.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-BAlrZ3W9.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-5qrvks6n.js +0 -1726
  262. package/dist/vue-ui-world-Cjm9SD0h.js +0 -1011
@@ -1,17 +1,17 @@
1
1
  import { useCssVars as Vt, defineAsyncComponent as xe, computed as v, ref as b, toRefs as Gt, watch as Je, shallowRef as Qe, onMounted as Ht, onBeforeUnmount as qt, openBlock as s, createElementBlock as n, unref as r, normalizeStyle as Me, normalizeClass as F, createBlock as he, withCtx as S, renderSlot as p, normalizeProps as O, guardReactiveProps as R, createCommentVNode as z, createSlots as Zt, createElementVNode as $e, toDisplayString as Ae, createVNode as Kt, Fragment as P, renderList as X, nextTick as Jt } from "vue";
2
- import { j as Qt, t as et, o as ea, q as ta, v as te, a4 as aa, k as la, l as oa, K as tt, X as sa, x as at } from "./lib-DBptbyyI.js";
2
+ import { j as Qt, t as et, o as ea, q as ta, v as te, a4 as aa, k as la, l as oa, K as tt, X as sa, x as at } from "./lib-DMzrGQHK.js";
3
3
  import { t as na, u as ua } from "./useResponsive-DfdjqQps.js";
4
- import { u as ia } from "./useConfig-C40HvGpD.js";
5
- import { u as ra, B as ca } from "./BaseScanner-BhhkKVoj.js";
6
- import { u as va } from "./usePrinter-CEpYU3r5.js";
7
- import { u as ha } from "./useSvgExport-ByUukOZt.js";
8
- import { u as Ie } from "./useNestedProp-Bf5XFbs8.js";
9
- import { u as da } from "./useThemeCheck-D1ZYXUwG.js";
10
- import { u as ya } from "./useUserOptionState-BIvW1Kz7.js";
11
- import { u as ka } from "./useChartAccessibility-9icAAmYg.js";
12
- import { u as fa } from "./usePrefersMotion-CUKm8_t8.js";
13
- import ga from "./img-LXxMLmCg.js";
14
- import pa from "./Title-BeMKE1cj.js";
4
+ import { u as ia } from "./useConfig-DTHxOX6V.js";
5
+ import { u as ra, B as ca } from "./BaseScanner-BON3d_Sx.js";
6
+ import { u as va } from "./usePrinter-C4t8DdQ-.js";
7
+ import { u as ha } from "./useSvgExport-BTG4hVPO.js";
8
+ import { u as Ie } from "./useNestedProp-DH0BEVVS.js";
9
+ import { u as da } from "./useThemeCheck-C9Ccl7U9.js";
10
+ import { u as ya } from "./useUserOptionState-B7Ej974k.js";
11
+ import { u as ka } from "./useChartAccessibility-cp6XQtqi.js";
12
+ import { u as fa } from "./usePrefersMotion-Co0nj1eS.js";
13
+ import ga from "./img-CjTQXS0U.js";
14
+ import pa from "./Title-BbKoiBk2.js";
15
15
  import ma from "./vue_ui_wheel-LqBz3lv4.js";
16
16
  import { _ as wa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
17
  const ba = ["id"], Ca = ["xmlns", "viewBox", "aria-labelledby", "aria-describedby"], xa = ["id"], Ma = ["id"], $a = ["x", "y", "width", "height"], Aa = ["d", "stroke", "stroke-width"], Ia = ["cx", "cy", "r", "stroke", "stroke-width"], Sa = { key: 0 }, Pa = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-linecap"], _a = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-linecap"], Oa = { key: 1 }, Ra = ["d", "fill", "stroke", "stroke-width"], za = ["d", "fill", "stroke", "stroke-width"], Ta = ["d", "fill", "stroke", "stroke-width"], Da = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-linecap"], Wa = ["d", "fill", "stroke", "stroke-width"], Fa = ["aria-label"], Xa = ["x", "y", "height"], Na = ["x", "y", "font-size", "fill", "font-weight", "stroke", "stroke-width"], Ua = {
@@ -36,11 +36,19 @@ const ba = ["id"], Ca = ["xmlns", "viewBox", "aria-labelledby", "aria-describedb
36
36
  emits: ["copyAlt"],
37
37
  setup(lt, { expose: ot, emit: st }) {
38
38
  Vt((t) => ({
39
- v07f51e2f: xt.value,
40
- v77e20f55: Mt.value,
41
- v77e1f1e8: $t.value
39
+ v34f4e7ac: xt.value,
40
+ v85c87fe0: Mt.value,
41
+ v85c8baba: $t.value
42
42
  }));
43
- const nt = xe(() => import("./PenAndPaper-Ct3qJ4lA.js")), ut = xe(() => import("./UserOptions-rW2fRf3V.js")), it = xe(() => import("./PackageVersion-DP_kfXUM.js")), { vue_ui_wheel: rt } = ia(), { isThemeValid: ct, warnInvalidTheme: vt } = da(), T = fa(), D = lt, ht = st, dt = v(() => !!D.dataset && Object.keys(D.dataset).length), H = b(Qt()), yt = b(null), Se = b(0), j = b(null), Pe = b(null), _e = b(null), Oe = b(null), Re = b(0), ae = b(!1), le = b(!1), e = b(ke()), ze = v(() => e.value.userOptions.useCursorPointer), kt = v(() => et({
43
+ const nt = xe(
44
+ () => import("./PenAndPaper-CJDoB5H9.js")
45
+ ), ut = xe(
46
+ () => import("./UserOptions-DVduN6X7.js")
47
+ ), it = xe(
48
+ () => import("./PackageVersion-DVvvyQXB.js")
49
+ ), { vue_ui_wheel: rt } = ia(), { isThemeValid: ct, warnInvalidTheme: vt } = da(), T = fa(), D = lt, ht = st, dt = v(() => !!D.dataset && Object.keys(D.dataset).length), H = b(Qt()), yt = b(null), Se = b(0), j = b(null), Pe = b(null), _e = b(null), Oe = b(null), Re = b(0), ae = b(!1), le = b(!1), e = b(ke()), ze = v(
50
+ () => e.value.userOptions.useCursorPointer
51
+ ), kt = v(() => et({
44
52
  defaultConfig: {
45
53
  userOptions: { show: !1 },
46
54
  style: {
@@ -71,7 +79,9 @@ const ba = ["id"], Ca = ["xmlns", "viewBox", "aria-labelledby", "aria-describedb
71
79
  defaultConfig: e.value,
72
80
  userConfig: kt.value
73
81
  })
74
- }), { userOptionsVisible: de, setUserOptionsVisibility: Te, keepUserOptionState: De } = ya({ config: e.value }), { svgRef: ye } = ka({ config: e.value.style.chart.title });
82
+ }), { userOptionsVisible: de, setUserOptionsVisibility: Te, keepUserOptionState: De } = ya({ config: e.value }), { svgRef: ye } = ka({
83
+ config: e.value.style.chart.title
84
+ });
75
85
  function ke() {
76
86
  const t = Ie({
77
87
  userConfig: D.config,
@@ -89,9 +99,13 @@ const ba = ["id"], Ca = ["xmlns", "viewBox", "aria-labelledby", "aria-describedb
89
99
  defaultConfig: a
90
100
  });
91
101
  }
92
- Je(() => D.config, (t) => {
93
- e.value = ke(), de.value = !e.value.userOptions.showOnChartHover, Ne(), Re.value += 1;
94
- }, { deep: !0 });
102
+ Je(
103
+ () => D.config,
104
+ (t) => {
105
+ e.value = ke(), de.value = !e.value.userOptions.showOnChartHover, Ne(), Re.value += 1;
106
+ },
107
+ { deep: !0 }
108
+ );
95
109
  const { isPrinting: fe, isImaging: ge, generatePdf: We, generateImage: Fe } = va({
96
110
  elementId: H.value,
97
111
  fileName: e.value.style.chart.title.text || "vue-ui-wheel",
@@ -100,7 +114,9 @@ const ba = ["id"], Ca = ["xmlns", "viewBox", "aria-labelledby", "aria-describedb
100
114
  size: 360,
101
115
  height: 360,
102
116
  width: 360
103
- }), q = b(e.value.style.chart.layout.percentage.fontSize), c = v(() => ({
117
+ }), q = b(
118
+ e.value.style.chart.layout.percentage.fontSize
119
+ ), c = v(() => ({
104
120
  radius: Math.min(u.value.width, u.value.height) * 0.9 / 2 * e.value.style.chart.layout.wheel.radiusRatio,
105
121
  centerX: u.value.width / 2,
106
122
  centerY: u.value.height / 2
@@ -114,9 +130,13 @@ const ba = ["id"], Ca = ["xmlns", "viewBox", "aria-labelledby", "aria-describedb
114
130
  const y = b(
115
131
  e.value.style.chart.animation.use && !T.value ? 0 : E.value.percentage || 0
116
132
  );
117
- Je(() => E.value, (t) => {
118
- e.value.style.chart.animation.use && !T.value ? Ee(t.percentage) : y.value = t.percentage || 0;
119
- }, { deep: !0 });
133
+ Je(
134
+ () => E.value,
135
+ (t) => {
136
+ e.value.style.chart.animation.use && !T.value ? Ee(t.percentage) : y.value = t.percentage || 0;
137
+ },
138
+ { deep: !0 }
139
+ );
120
140
  const N = Qe(null), Y = Qe(null);
121
141
  Ht(() => {
122
142
  Ne();
@@ -155,7 +175,13 @@ const ba = ["id"], Ca = ["xmlns", "viewBox", "aria-labelledby", "aria-describedb
155
175
  return [t * i, o * i, a, i];
156
176
  }
157
177
  function Ue(t, o) {
158
- const a = t.replace("#", ""), l = parseInt(a.substring(0, 2), 16), i = parseInt(a.substring(2, 4), 16), d = parseInt(a.substring(4, 6), 16), k = 1 - Math.min(1, Math.max(0, e.value.style.chart.layout.wheel.ticks.shadeColorRatio3d)) * o, f = Math.max(0, Math.min(255, Math.round(l * k))), M = Math.max(0, Math.min(255, Math.round(i * k))), $ = Math.max(0, Math.min(255, Math.round(d * k)));
178
+ const a = t.replace("#", ""), l = parseInt(a.substring(0, 2), 16), i = parseInt(a.substring(2, 4), 16), d = parseInt(a.substring(4, 6), 16), k = 1 - Math.min(
179
+ 1,
180
+ Math.max(
181
+ 0,
182
+ e.value.style.chart.layout.wheel.ticks.shadeColorRatio3d
183
+ )
184
+ ) * o, f = Math.max(0, Math.min(255, Math.round(l * k))), M = Math.max(0, Math.min(255, Math.round(i * k))), $ = Math.max(0, Math.min(255, Math.round(d * k)));
159
185
  return `#${f.toString(16).padStart(2, "0")}${M.toString(16).padStart(2, "0")}${$.toString(16).padStart(2, "0")}`;
160
186
  }
161
187
  function pt({
@@ -174,14 +200,23 @@ const ba = ["id"], Ca = ["xmlns", "viewBox", "aria-labelledby", "aria-describedb
174
200
  }) {
175
201
  const h = C * Math.PI / 180, m = a, A = a * l, x = [];
176
202
  for (let w = 0; w < i; w += 1) {
177
- const g = (w / i * 360 + d) * Math.PI / 180, W = t + m * Math.cos(g), G = o + m * Math.sin(g), B = t + A * Math.cos(g), Z = o + A * Math.sin(g), K = [W - t, G - o, 0], J = [B - t, Z - o, 0], [ce, Ke, Q] = se(K, h), [be, Ce, ee] = se(J, h), [ve, zt, , Tt] = ne([ce, Ke, Q], k), [Dt, Wt] = ne([be, Ce, ee], k), Ft = t + ve, Xt = o + zt, Nt = t + Dt, Ut = o + Wt, Lt = (Math.max(Q, ee) - -m * Math.sin(h)) / (2 * m * Math.sin(h) || 1), jt = I ? I(w) : !0, Bt = e.value.style.chart.layout.wheel.ticks.gradient.show ? te(M, w * _.value / L.value * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : M, Et = Ue(jt ? Bt : $, Lt), Yt = Math.max(1.25, f * Tt * (Math.min(u.value.width, u.value.height) / 360));
203
+ const g = (w / i * 360 + d) * Math.PI / 180, W = t + m * Math.cos(g), G = o + m * Math.sin(g), B = t + A * Math.cos(g), Z = o + A * Math.sin(g), K = [W - t, G - o, 0], J = [B - t, Z - o, 0], [ce, Ke, Q] = se(K, h), [be, Ce, ee] = se(J, h), [ve, zt, , Tt] = ne([ce, Ke, Q], k), [Dt, Wt] = ne([be, Ce, ee], k), Ft = t + ve, Xt = o + zt, Nt = t + Dt, Ut = o + Wt, Lt = (Math.max(Q, ee) - -m * Math.sin(h)) / (2 * m * Math.sin(h) || 1), jt = I ? I(w) : !0, Bt = e.value.style.chart.layout.wheel.ticks.gradient.show ? te(
204
+ M,
205
+ w * _.value / L.value * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)
206
+ ) : M, Et = Ue(jt ? Bt : $, Lt), Yt = Math.max(
207
+ 1.25,
208
+ f * Tt * (Math.min(u.value.width, u.value.height) / 360)
209
+ );
178
210
  x.push({ i: w, x1: Ft, y1: Xt, x2: Nt, y2: Ut, stroke: Yt, color: Et, z: Math.max(Q, ee) });
179
211
  }
180
212
  return x.sort((w, g) => w.z - g.z), x;
181
213
  }
182
214
  const Le = v(() => {
183
215
  if (!e.value.layout === "3d") return null;
184
- const t = L.value, o = e.value.style.chart.layout.wheel.ticks.gradient.show ? te(e.value.style.chart.layout.wheel.ticks.activeColor, 0) : e.value.style.chart.layout.wheel.ticks.activeColor, a = e.value.style.chart.layout.wheel.ticks.inactiveColor, l = e.value.style.chart.layout.wheel.ticks.strokeWidth;
216
+ const t = L.value, o = e.value.style.chart.layout.wheel.ticks.gradient.show ? te(
217
+ e.value.style.chart.layout.wheel.ticks.activeColor,
218
+ 0
219
+ ) : e.value.style.chart.layout.wheel.ticks.activeColor, a = e.value.style.chart.layout.wheel.ticks.inactiveColor, l = e.value.style.chart.layout.wheel.ticks.strokeWidth;
185
220
  return pt({
186
221
  cx: c.value.centerX,
187
222
  cy: c.value.centerY,
@@ -197,7 +232,15 @@ const ba = ["id"], Ca = ["xmlns", "viewBox", "aria-labelledby", "aria-describedb
197
232
  getActive: (i) => y.value > i * _.value
198
233
  });
199
234
  });
200
- function je({ cx: t, cy: o, r: a, count: l = 180, startDeg: i = -90, axDeg: d = 50, f: C }) {
235
+ function je({
236
+ cx: t,
237
+ cy: o,
238
+ r: a,
239
+ count: l = 180,
240
+ startDeg: i = -90,
241
+ axDeg: d = 50,
242
+ f: C
243
+ }) {
201
244
  const k = d * Math.PI / 180, f = [];
202
245
  let M = 0;
203
246
  for (let h = 0; h < l; h += 1) {
@@ -227,7 +270,10 @@ const ba = ["id"], Ca = ["xmlns", "viewBox", "aria-labelledby", "aria-describedb
227
270
  let d = 1 / 0, C = 1 / 0, k = -1 / 0, f = -1 / 0;
228
271
  for (const [A, x] of l)
229
272
  A < d && (d = A), x < C && (C = x), A > k && (k = A), x > f && (f = x);
230
- const M = e.value.style.chart.layout.wheel.ticks.strokeWidth / 360 * Math.min(u.value.width, u.value.height), $ = e.value.style.chart.layout.innerCircle.strokeWidth || 0, I = 0.5 * Math.max(M, $ * (i || 1)), h = Math.max(0, Number(e.value.style.chart.layout.wheel.ticks.depth3d) || 0), m = I;
273
+ const M = e.value.style.chart.layout.wheel.ticks.strokeWidth / 360 * Math.min(u.value.width, u.value.height), $ = e.value.style.chart.layout.innerCircle.strokeWidth || 0, I = 0.5 * Math.max(M, $ * (i || 1)), h = Math.max(
274
+ 0,
275
+ Number(e.value.style.chart.layout.wheel.ticks.depth3d) || 0
276
+ ), m = I;
231
277
  return {
232
278
  x: d - m,
233
279
  y: C - h - m,
@@ -250,7 +296,12 @@ const ba = ["id"], Ca = ["xmlns", "viewBox", "aria-labelledby", "aria-describedb
250
296
  strokeWidth: d
251
297
  };
252
298
  }
253
- const Be = v(() => mt(Math.max(0, c.value.radius * 0.8 * e.value.style.chart.layout.innerCircle.radiusRatio)));
299
+ const Be = v(() => mt(
300
+ Math.max(
301
+ 0,
302
+ c.value.radius * 0.8 * e.value.style.chart.layout.innerCircle.radiusRatio
303
+ )
304
+ ));
254
305
  function ue({ cx: t, cy: o, r: a, aRad: l, ax: i, f: d }) {
255
306
  const C = [a * Math.cos(l), a * Math.sin(l), 0], [k, f, M] = se(C, i), [$, I, , h] = ne([k, f, M], d);
256
307
  return { x: t + $, y: o + I, z: M, s: h };
@@ -271,7 +322,38 @@ const ba = ["id"], Ca = ["xmlns", "viewBox", "aria-labelledby", "aria-describedb
271
322
  }) {
272
323
  const h = C * Math.PI / 180, m = a, A = a * l, x = 2 * Math.PI / i, w = [];
273
324
  for (let g = 0; g < i; g += 1) {
274
- const W = d * Math.PI / 180 + x * g, G = W + x * Math.min(1, e.value.style.chart.layout.wheel.ticks.spacingRatio3d), B = ue({ cx: t, cy: o + I, r: m, aRad: W, ax: h, f: k }), Z = ue({ cx: t, cy: o + I, r: m, aRad: G, ax: h, f: k }), K = ue({ cx: t, cy: o + I, r: A, aRad: G, ax: h, f: k }), J = ue({ cx: t, cy: o + I, r: A, aRad: W, ax: h, f: k }), ce = (B.z + Z.z + J.z + K.z) / 4, Q = ($ ? $(g) : !0) ? e.value.style.chart.layout.wheel.ticks.gradient.show ? te(
325
+ const W = d * Math.PI / 180 + x * g, G = W + x * Math.min(
326
+ 1,
327
+ e.value.style.chart.layout.wheel.ticks.spacingRatio3d
328
+ ), B = ue({
329
+ cx: t,
330
+ cy: o + I,
331
+ r: m,
332
+ aRad: W,
333
+ ax: h,
334
+ f: k
335
+ }), Z = ue({
336
+ cx: t,
337
+ cy: o + I,
338
+ r: m,
339
+ aRad: G,
340
+ ax: h,
341
+ f: k
342
+ }), K = ue({
343
+ cx: t,
344
+ cy: o + I,
345
+ r: A,
346
+ aRad: G,
347
+ ax: h,
348
+ f: k
349
+ }), J = ue({
350
+ cx: t,
351
+ cy: o + I,
352
+ r: A,
353
+ aRad: W,
354
+ ax: h,
355
+ f: k
356
+ }), ce = (B.z + Z.z + J.z + K.z) / 4, Q = ($ ? $(g) : !0) ? e.value.style.chart.layout.wheel.ticks.gradient.show ? te(
275
357
  e.value.style.chart.layout.wheel.ticks.activeColor,
276
358
  g * (100 / i) / 100 * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)
277
359
  ) : f : M, be = (() => {
@@ -304,28 +386,62 @@ const ba = ["id"], Ca = ["xmlns", "viewBox", "aria-labelledby", "aria-describedb
304
386
  let o = e.value.style.chart.animation.speed;
305
387
  const a = Math.abs(t - y.value) / (o * 120);
306
388
  function l() {
307
- y.value < t ? y.value = Math.min(y.value + a, t) : y.value > t && (y.value = Math.max(y.value - a, t)), y.value !== t && requestAnimationFrame(l);
389
+ y.value < t ? y.value = Math.min(
390
+ y.value + a,
391
+ t
392
+ ) : y.value > t && (y.value = Math.max(
393
+ y.value - a,
394
+ t
395
+ )), y.value !== t && requestAnimationFrame(l);
308
396
  }
309
397
  l();
310
398
  }
311
- const L = v(() => (e.value.debug && e.value.style.chart.layout.wheel.ticks.quantity < 12 && console.warn("VueUiWheel - The min number of ticks is 12"), e.value.debug && e.value.style.chart.layout.wheel.ticks.quantity > 200 && console.warn("VueUiWheel - The max number of ticks is 200"), Math.max(12, Math.min(e.value.style.chart.layout.wheel.ticks.quantity, 200)))), _ = v(() => 100 / L.value), Ye = v(() => {
399
+ const L = v(() => (e.value.debug && e.value.style.chart.layout.wheel.ticks.quantity < 12 && console.warn("VueUiWheel - The min number of ticks is 12"), e.value.debug && e.value.style.chart.layout.wheel.ticks.quantity > 200 && console.warn("VueUiWheel - The max number of ticks is 200"), Math.max(
400
+ 12,
401
+ Math.min(
402
+ e.value.style.chart.layout.wheel.ticks.quantity,
403
+ 200
404
+ )
405
+ ))), _ = v(() => 100 / L.value), Ye = v(() => {
312
406
  const t = [];
313
407
  for (let o = 0; o < L.value; o += 1) {
314
- const a = y.value > o * _.value ? e.value.style.chart.layout.wheel.ticks.activeColor : e.value.style.chart.layout.wheel.ticks.inactiveColor, { x: l, y: i } = Xe(u.value.size / L.value * o), { x: d, y: C } = Xe(u.value.size / L.value * o, e.value.style.chart.layout.wheel.ticks.sizeRatio);
408
+ const a = y.value > o * _.value ? e.value.style.chart.layout.wheel.ticks.activeColor : e.value.style.chart.layout.wheel.ticks.inactiveColor, { x: l, y: i } = Xe(
409
+ u.value.size / L.value * o
410
+ ), { x: d, y: C } = Xe(
411
+ u.value.size / L.value * o,
412
+ e.value.style.chart.layout.wheel.ticks.sizeRatio
413
+ );
315
414
  t.push({
316
415
  x1: l,
317
416
  y1: i,
318
417
  x2: d,
319
418
  y2: C,
320
- color: e.value.style.chart.layout.wheel.ticks.gradient.show ? te(a, o * _.value / L.value * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : a
419
+ color: e.value.style.chart.layout.wheel.ticks.gradient.show ? te(
420
+ a,
421
+ o * _.value / L.value * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)
422
+ ) : a
321
423
  });
322
424
  }
323
425
  return t;
324
- }), bt = v(() => aa({ series: Ye.value.map((t) => ({
325
- name: "",
326
- value: 1,
327
- color: t.color
328
- })) }, c.value.centerX, c.value.centerY, c.value.radius, c.value.radius, 1.99999, 2, 1, 360, 105.25, c.value.radius * (1 - e.value.style.chart.layout.wheel.ticks.sizeRatio))), ie = b(!1);
426
+ }), bt = v(() => aa(
427
+ {
428
+ series: Ye.value.map((t) => ({
429
+ name: "",
430
+ value: 1,
431
+ color: t.color
432
+ }))
433
+ },
434
+ c.value.centerX,
435
+ c.value.centerY,
436
+ c.value.radius,
437
+ c.value.radius,
438
+ 1.99999,
439
+ 2,
440
+ 1,
441
+ 360,
442
+ 105.25,
443
+ c.value.radius * (1 - e.value.style.chart.layout.wheel.ticks.sizeRatio)
444
+ )), ie = b(!1);
329
445
  function Ve(t) {
330
446
  ie.value = t, Se.value += 1;
331
447
  }
@@ -335,7 +451,12 @@ const ba = ["id"], Ca = ["xmlns", "viewBox", "aria-labelledby", "aria-describedb
335
451
  }
336
452
  async function Ct({ scale: t = 2 } = {}) {
337
453
  if (!j.value) return;
338
- const { width: o, height: a } = j.value.getBoundingClientRect(), l = o / a, { imageUri: i, base64: d } = await ga({ domElement: j.value, base64: !0, img: !0, scale: t });
454
+ const { width: o, height: a } = j.value.getBoundingClientRect(), l = o / a, { imageUri: i, base64: d } = await ga({
455
+ domElement: j.value,
456
+ base64: !0,
457
+ img: !0,
458
+ scale: t
459
+ });
339
460
  return {
340
461
  imageUri: i,
341
462
  base64: d,
@@ -345,7 +466,10 @@ const ba = ["id"], Ca = ["xmlns", "viewBox", "aria-labelledby", "aria-describedb
345
466
  aspectRatio: l
346
467
  };
347
468
  }
348
- const xt = v(() => e.value.style.chart.layout.wheel.ticks.strokeWidth * 2), Mt = v(() => e.value.style.chart.layout.wheel.ticks.strokeWidth * 2 * 0.75), $t = v(() => e.value.style.chart.layout.wheel.ticks.strokeWidth), V = v(() => Math.max(1, Math.min(20, e.value.style.chart.layout.wheel.ticks.depth3d))), At = v(() => e.value.style.chart.backgroundColor), It = v(() => e.value.style.chart.title), { exportSvg: St, getSvg: Pt } = ha({
469
+ const xt = v(() => e.value.style.chart.layout.wheel.ticks.strokeWidth * 2), Mt = v(() => e.value.style.chart.layout.wheel.ticks.strokeWidth * 2 * 0.75), $t = v(() => e.value.style.chart.layout.wheel.ticks.strokeWidth), V = v(() => Math.max(
470
+ 1,
471
+ Math.min(20, e.value.style.chart.layout.wheel.ticks.depth3d)
472
+ )), At = v(() => e.value.style.chart.backgroundColor), It = v(() => e.value.style.chart.title), { exportSvg: St, getSvg: Pt } = ha({
349
473
  svg: ye,
350
474
  title: It,
351
475
  backgroundColor: At,
@@ -356,7 +480,14 @@ const ba = ["id"], Ca = ["xmlns", "viewBox", "aria-labelledby", "aria-describedb
356
480
  try {
357
481
  if (t) {
358
482
  const { blob: o, url: a, text: l, dataUrl: i } = await Pt();
359
- await Promise.resolve(e.value.userOptions.callbacks.svg({ blob: o, url: a, text: l, dataUrl: i }));
483
+ await Promise.resolve(
484
+ e.value.userOptions.callbacks.svg({
485
+ blob: o,
486
+ url: a,
487
+ text: l,
488
+ dataUrl: i
489
+ })
490
+ );
360
491
  } else
361
492
  await Promise.resolve(St());
362
493
  } finally {
@@ -379,13 +510,17 @@ const ba = ["id"], Ca = ["xmlns", "viewBox", "aria-labelledby", "aria-describedb
379
510
  config: e.value,
380
511
  dataset: E.value
381
512
  }), !e.value.userOptions.callbacks.altCopy) {
382
- console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
513
+ console.warn(
514
+ "Vue Data UI - A callback must be set for `altCopy` in userOptions."
515
+ );
383
516
  return;
384
517
  }
385
- await Promise.resolve(e.value.userOptions.callbacks.altCopy({
386
- config: e.value,
387
- dataset: E.value
388
- }));
518
+ await Promise.resolve(
519
+ e.value.userOptions.callbacks.altCopy({
520
+ config: e.value,
521
+ dataset: E.value
522
+ })
523
+ );
389
524
  }
390
525
  const qe = v(() => `${H.value}-title`), Ze = v(() => `${H.value}-desc`), we = v(() => la(
391
526
  e.value.style.chart.layout.percentage.formatter,
@@ -405,7 +540,10 @@ const ba = ["id"], Ca = ["xmlns", "viewBox", "aria-labelledby", "aria-describedb
405
540
  toggleFullscreen: Ve,
406
541
  copyAlt: He
407
542
  }), (t, o) => (s(), n("div", {
408
- class: F(["vue-ui-wheel", { "vue-data-ui-component": !0, "vue-ui-wheel-3d-wrap": e.value.layout === "3d" }]),
543
+ class: F(["vue-ui-wheel", {
544
+ "vue-data-ui-component": !0,
545
+ "vue-ui-wheel-3d-wrap": e.value.layout === "3d"
546
+ }]),
409
547
  ref_key: "wheelChart",
410
548
  ref: j,
411
549
  id: H.value,
@@ -557,7 +695,11 @@ const ba = ["id"], Ca = ["xmlns", "viewBox", "aria-labelledby", "aria-describedb
557
695
  ref_key: "svgRef",
558
696
  ref: ye,
559
697
  xmlns: r(sa),
560
- class: F({ "vue-data-ui-fullscreen--on": ie.value, "vue-data-ui-fulscreen--off": !ie.value, "vue-ui-wheel-3d-svg": e.value.layout === "3d" }),
698
+ class: F({
699
+ "vue-data-ui-fullscreen--on": ie.value,
700
+ "vue-data-ui-fulscreen--off": !ie.value,
701
+ "vue-ui-wheel-3d-svg": e.value.layout === "3d"
702
+ }),
561
703
  viewBox: e.value.layout === "3d" && !e.value.responsive ? `${U.value?.x - 10} ${U.value?.y ?? 0} ${U.value?.w + 20} ${U.value?.h ?? Math.max(10, u.value.height)}` : `0 0 ${Math.max(10, u.value.width)} ${Math.max(10, u.value.height)}`,
562
704
  style: Me(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`),
563
705
  role: "img",
@@ -591,7 +733,10 @@ const ba = ["id"], Ca = ["xmlns", "viewBox", "aria-labelledby", "aria-describedb
591
733
  class: "vue-ui-wheel-inner-circle",
592
734
  cx: c.value.centerX,
593
735
  cy: c.value.centerY,
594
- r: Math.max(0, c.value.radius * e.value.style.chart.layout.innerCircle.radiusRatio * 0.8),
736
+ r: Math.max(
737
+ 0,
738
+ c.value.radius * e.value.style.chart.layout.innerCircle.radiusRatio * 0.8
739
+ ),
595
740
  stroke: e.value.style.chart.layout.innerCircle.stroke,
596
741
  "stroke-width": e.value.style.chart.layout.innerCircle.strokeWidth,
597
742
  fill: "none"
@@ -608,7 +753,10 @@ const ba = ["id"], Ca = ["xmlns", "viewBox", "aria-labelledby", "aria-describedb
608
753
  stroke: r(at)(l.color, 0.25 * a / 5),
609
754
  "stroke-width": e.value.style.chart.layout.wheel.ticks.strokeWidth / 360 * Math.min(u.value.width, u.value.height),
610
755
  "stroke-linecap": e.value.style.chart.layout.wheel.ticks.rounded ? "round" : "butt",
611
- class: F({ "vue-ui-wheel-tick": !0, "vue-ui-tick-animated": e.value.style.chart.animation.use && !r(T) && l.i * _.value <= y.value })
756
+ class: F({
757
+ "vue-ui-wheel-tick": !0,
758
+ "vue-ui-tick-animated": e.value.style.chart.animation.use && !r(T) && l.i * _.value <= y.value
759
+ })
612
760
  }, null, 10, Pa))), 128))
613
761
  ]))), 256)),
614
762
  (s(!0), n(P, null, X(Le.value || [], (a) => (s(), n("line", {
@@ -620,7 +768,10 @@ const ba = ["id"], Ca = ["xmlns", "viewBox", "aria-labelledby", "aria-describedb
620
768
  stroke: a.color,
621
769
  "stroke-width": e.value.style.chart.layout.wheel.ticks.strokeWidth / 360 * Math.min(u.value.width, u.value.height),
622
770
  "stroke-linecap": e.value.style.chart.layout.wheel.ticks.rounded ? "round" : "butt",
623
- class: F({ "vue-ui-wheel-tick": !0, "vue-ui-tick-animated": e.value.style.chart.animation.use && !r(T) && a.i * _.value <= y.value })
771
+ class: F({
772
+ "vue-ui-wheel-tick": !0,
773
+ "vue-ui-tick-animated": e.value.style.chart.animation.use && !r(T) && a.i * _.value <= y.value
774
+ })
624
775
  }, null, 10, _a))), 128))
625
776
  ])) : (s(), n("g", Oa, [
626
777
  (s(!0), n(P, null, X(V.value, (a) => (s(), n("g", null, [
@@ -642,7 +793,10 @@ const ba = ["id"], Ca = ["xmlns", "viewBox", "aria-labelledby", "aria-describedb
642
793
  "stroke-width": e.value.style.chart.layout.wheel.ticks.strokeWidth,
643
794
  "stroke-linecap": "round",
644
795
  "stroke-linejoin": "round",
645
- class: F({ "vue-ui-wheel-tick": !0, "vue-ui-tick-animated-3d": e.value.style.chart.animation.use && !r(T) && l.i * _.value <= y.value })
796
+ class: F({
797
+ "vue-ui-wheel-tick": !0,
798
+ "vue-ui-tick-animated-3d": e.value.style.chart.animation.use && !r(T) && l.i * _.value <= y.value
799
+ })
646
800
  }, null, 10, za))), 128))
647
801
  ]))), 256)),
648
802
  $e("g", null, [
@@ -654,7 +808,10 @@ const ba = ["id"], Ca = ["xmlns", "viewBox", "aria-labelledby", "aria-describedb
654
808
  "stroke-width": e.value.style.chart.layout.wheel.ticks.strokeWidth,
655
809
  "stroke-linecap": "round",
656
810
  "stroke-linejoin": "round",
657
- class: F({ "vue-ui-wheel-tick": !0, "vue-ui-tick-animated-3d": e.value.style.chart.animation.use && !r(T) && a.i * _.value <= y.value })
811
+ class: F({
812
+ "vue-ui-wheel-tick": !0,
813
+ "vue-ui-tick-animated-3d": e.value.style.chart.animation.use && !r(T) && a.i * _.value <= y.value
814
+ })
658
815
  }, null, 10, Ta))), 128))
659
816
  ])
660
817
  ]))
@@ -667,11 +824,17 @@ const ba = ["id"], Ca = ["xmlns", "viewBox", "aria-labelledby", "aria-describedb
667
824
  stroke: a.color,
668
825
  "stroke-width": e.value.style.chart.layout.wheel.ticks.strokeWidth / 360 * Math.min(u.value.width, u.value.height),
669
826
  "stroke-linecap": e.value.style.chart.layout.wheel.ticks.rounded ? "round" : "butt",
670
- class: F({ "vue-ui-wheel-tick": !0, "vue-ui-tick-animated": e.value.style.chart.animation.use && !r(T) && l * _.value <= y.value })
827
+ class: F({
828
+ "vue-ui-wheel-tick": !0,
829
+ "vue-ui-tick-animated": e.value.style.chart.animation.use && !r(T) && l * _.value <= y.value
830
+ })
671
831
  }, null, 10, Da))), 256)) : (s(!0), n(P, { key: 1 }, X(bt.value, (a, l) => (s(), n("path", {
672
832
  d: a.arcSlice,
673
833
  fill: a.color,
674
- class: F({ "vue-ui-wheel-tick": !0, "vue-ui-tick-animated": e.value.style.chart.animation.use && !r(T) && l * _.value <= y.value }),
834
+ class: F({
835
+ "vue-ui-wheel-tick": !0,
836
+ "vue-ui-tick-animated": e.value.style.chart.animation.use && !r(T) && l * _.value <= y.value
837
+ }),
675
838
  stroke: e.value.style.chart.layout.wheel.ticks.stroke,
676
839
  "stroke-width": e.value.style.chart.layout.wheel.ticks.strokeWidth
677
840
  }, null, 10, Wa))), 256))
@@ -696,7 +859,10 @@ const ba = ["id"], Ca = ["xmlns", "viewBox", "aria-labelledby", "aria-describedb
696
859
  x: c.value.centerX + e.value.style.chart.layout.percentage.offsetX,
697
860
  y: c.value.centerY + q.value / 3 + e.value.style.chart.layout.percentage.offsetY,
698
861
  "font-size": q.value,
699
- fill: e.value.style.chart.layout.wheel.ticks.gradient.show ? r(te)(e.value.style.chart.layout.wheel.ticks.activeColor, y.value / 100 * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : e.value.style.chart.layout.wheel.ticks.activeColor,
862
+ fill: e.value.style.chart.layout.wheel.ticks.gradient.show ? r(te)(
863
+ e.value.style.chart.layout.wheel.ticks.activeColor,
864
+ y.value / 100 * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)
865
+ ) : e.value.style.chart.layout.wheel.ticks.activeColor,
700
866
  "text-anchor": "middle",
701
867
  "font-weight": e.value.style.chart.layout.percentage.bold ? "bold" : "normal",
702
868
  style: { "font-variant-numeric": "tabluar-nums" },
@@ -705,7 +871,9 @@ const ba = ["id"], Ca = ["xmlns", "viewBox", "aria-labelledby", "aria-describedb
705
871
  "stroke-linecap": "round",
706
872
  "stroke-linejoin": "round",
707
873
  "paint-order": "stroke fill",
708
- class: F({ "vue-ui-wheel-label": e.value.layout === "3d" })
874
+ class: F({
875
+ "vue-ui-wheel-label": e.value.layout === "3d"
876
+ })
709
877
  }, Ae(we.value), 11, Na))
710
878
  ], 8, Fa)) : z("", !0),
711
879
  p(t.$slots, "svg", {
@@ -717,7 +885,9 @@ const ba = ["id"], Ca = ["xmlns", "viewBox", "aria-labelledby", "aria-describedb
717
885
  }, void 0, !0)
718
886
  ], 14, Ca)),
719
887
  t.$slots.watermark ? (s(), n("div", Ua, [
720
- p(t.$slots, "watermark", O(R({ isPrinting: r(fe) || r(ge) || ae.value || le.value })), void 0, !0)
888
+ p(t.$slots, "watermark", O(R({
889
+ isPrinting: r(fe) || r(ge) || ae.value || le.value
890
+ })), void 0, !0)
721
891
  ])) : z("", !0),
722
892
  t.$slots.source ? (s(), n("div", {
723
893
  key: 5,
@@ -732,7 +902,7 @@ const ba = ["id"], Ca = ["xmlns", "viewBox", "aria-labelledby", "aria-describedb
732
902
  ], !0)
733
903
  ], 46, ba));
734
904
  }
735
- }, sl = /* @__PURE__ */ wa(La, [["__scopeId", "data-v-b75ffa32"]]);
905
+ }, sl = /* @__PURE__ */ wa(La, [["__scopeId", "data-v-a8024644"]]);
736
906
  export {
737
907
  sl as default
738
908
  };