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,21 +1,21 @@
1
1
  import { defineAsyncComponent as F, computed as g, ref as u, toRefs as aa, watch as $e, shallowRef as ut, onMounted as oa, onBeforeUnmount as la, openBlock as s, createElementBlock as c, unref as i, normalizeStyle as ae, normalizeClass as oe, createElementVNode as b, toDisplayString as R, createBlock as S, createCommentVNode as f, withCtx as d, renderSlot as p, normalizeProps as k, guardReactiveProps as C, createSlots as it, createVNode as ue, Fragment as U, renderList as E, Teleport as na, resolveDynamicComponent as sa, mergeProps as ra, createTextVNode as Te, nextTick as Ae } from "vue";
2
- import { j as ua, t as ct, m as ia, p as M, o as ca, q as W, n as va, s as vt, A as dt, K as da, l as j, k as Pe, X as pa, u as _e, v as ga, ah as pt, r as gt, a0 as ha, a1 as fa, T as ya, U as ma } from "./lib-DBptbyyI.js";
2
+ import { j as ua, t as ct, m as ia, p as M, o as ca, q as W, n as va, s as vt, A as dt, K as da, l as j, k as Pe, X as pa, u as _e, v as ga, ah as pt, r as gt, a0 as ha, a1 as fa, T as ya, U as ma } from "./lib-DMzrGQHK.js";
3
3
  import { t as ba, u as ka } from "./useResponsive-DfdjqQps.js";
4
- import { u as Ca } from "./useConfig-C40HvGpD.js";
5
- import { u as wa, B as $a } from "./BaseScanner-BhhkKVoj.js";
6
- import { u as Ta } from "./usePrinter-CEpYU3r5.js";
7
- import { u as Aa } from "./useSvgExport-ByUukOZt.js";
8
- import { u as Se } from "./useNestedProp-Bf5XFbs8.js";
9
- import { u as Pa } from "./useThemeCheck-D1ZYXUwG.js";
10
- import { u as _a } from "./useUserOptionState-BIvW1Kz7.js";
11
- import { u as Sa } from "./useChartAccessibility-9icAAmYg.js";
12
- import { u as Oa } from "./useAutoSizeLabelsInsideViewbox-DX7LdvFX.js";
13
- import Ia from "./img-LXxMLmCg.js";
14
- import Fa from "./Title-BeMKE1cj.js";
15
- import xa from "./Legend-CS7Xo5LK.js";
4
+ import { u as Ca } from "./useConfig-DTHxOX6V.js";
5
+ import { u as wa, B as $a } from "./BaseScanner-BON3d_Sx.js";
6
+ import { u as Ta } from "./usePrinter-C4t8DdQ-.js";
7
+ import { u as Aa } from "./useSvgExport-BTG4hVPO.js";
8
+ import { u as Se } from "./useNestedProp-DH0BEVVS.js";
9
+ import { u as Pa } from "./useThemeCheck-C9Ccl7U9.js";
10
+ import { u as _a } from "./useUserOptionState-B7Ej974k.js";
11
+ import { u as Sa } from "./useChartAccessibility-cp6XQtqi.js";
12
+ import { u as Oa } from "./useAutoSizeLabelsInsideViewbox-izlGDfwu.js";
13
+ import Ia from "./img-CjTQXS0U.js";
14
+ import Fa from "./Title-BbKoiBk2.js";
15
+ import xa from "./Legend-DGN5lY60.js";
16
16
  import Na from "./vue_ui_radar-DryGBOrz.js";
17
- import { A as La } from "./A11yDataTable-KcVAX2cP.js";
18
- import { B as Ra } from "./BaseLegendToggle-BQVIawmA.js";
17
+ import { A as La } from "./A11yDataTable-BpmuNomI.js";
18
+ import { B as Ra } from "./BaseLegendToggle-cMP8M2u0.js";
19
19
  import { _ as Da } from "./_plugin-vue_export-helper-CHgC5LLL.js";
20
20
  const Va = ["id"], za = ["id"], Ba = ["id"], Ua = { style: { position: "relative" } }, Ea = ["xmlns", "aria-describedby", "viewBox"], Ma = ["width", "height"], Wa = ["id"], Ga = ["stop-color"], Xa = ["stop-color"], Ka = { key: 1 }, Ya = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ja = { key: 0 }, qa = ["d", "stroke", "stroke-width"], Ha = ["d", "stroke", "stroke-width"], Ja = { key: 2 }, Qa = ["x", "y", "text-anchor", "font-size", "fill", "onMouseenter", "onMouseleave", "onClick"], Za = ["points", "stroke", "stroke-width"], eo = ["points", "stroke", "stroke-width", "fill"], to = { key: 3 }, ao = ["cx", "cy", "fill", "r", "stroke"], oo = {
21
21
  key: 0,
@@ -49,7 +49,17 @@ const Va = ["id"], za = ["id"], Ba = ["id"], Ua = { style: { position: "relative
49
49
  },
50
50
  emits: ["selectLegend", "copyAlt"],
51
51
  setup(ht, { expose: ft, emit: yt }) {
52
- const mt = F(() => import("./Tooltip-C8KGyqQk.js")), bt = F(() => import("./BaseIcon-Cb3zzG6s.js")), kt = F(() => import("./vue-ui-sparkbar-D3UXwhmT.js")), Ct = F(() => import("./vue-ui-accordion-DDuJT1xA.js")), wt = F(() => import("./DataTable-DT2kIdQ6.js")), $t = F(() => import("./PenAndPaper-Ct3qJ4lA.js")), Tt = F(() => import("./UserOptions-rW2fRf3V.js")), At = F(() => import("./PackageVersion-DP_kfXUM.js")), Pt = F(() => import("./BaseDraggableDialog-CIb-iD9g.js")), { vue_ui_radar: _t } = Ca(), { isThemeValid: St, warnInvalidTheme: Ot } = Pa(), O = ht, Oe = g(() => !!O.dataset && Object.keys(O.dataset).length), m = u(ua()), q = u(!1), ie = u(""), Ie = u(0), I = u(null), Fe = u(null), xe = u(null), Ne = u(null), Le = u(null), Re = u(0), De = u(0), Ve = u(0), ze = u(!1), H = u(null), ce = u(null), le = u(!1), ne = u(!1), A = u(null), Be = u({ x: 0, y: 0 }), J = u("pointer"), ve = u(!1), e = u(ge()), D = g(() => e.value.userOptions.useCursorPointer), It = g(() => ct({
52
+ const mt = F(() => import("./Tooltip-Cvt7Fi0Q.js")), bt = F(() => import("./BaseIcon-DX0hTWa-.js")), kt = F(() => import("./vue-ui-sparkbar-D2abFa-u.js")), Ct = F(() => import("./vue-ui-accordion-BHmfmb_6.js")), wt = F(() => import("./DataTable-cMnb68Ik.js")), $t = F(
53
+ () => import("./PenAndPaper-CJDoB5H9.js")
54
+ ), Tt = F(
55
+ () => import("./UserOptions-DVduN6X7.js")
56
+ ), At = F(
57
+ () => import("./PackageVersion-DVvvyQXB.js")
58
+ ), Pt = F(
59
+ () => import("./BaseDraggableDialog-Di8Hlru3.js")
60
+ ), { vue_ui_radar: _t } = Ca(), { isThemeValid: St, warnInvalidTheme: Ot } = Pa(), O = ht, Oe = g(() => !!O.dataset && Object.keys(O.dataset).length), m = u(ua()), q = u(!1), ie = u(""), Ie = u(0), I = u(null), Fe = u(null), xe = u(null), Ne = u(null), Le = u(null), Re = u(0), De = u(0), Ve = u(0), ze = u(!1), H = u(null), ce = u(null), le = u(!1), ne = u(!1), A = u(null), Be = u({ x: 0, y: 0 }), J = u("pointer"), ve = u(!1), e = u(ge()), D = g(
61
+ () => e.value.userOptions.useCursorPointer
62
+ ), It = g(() => ct({
53
63
  defaultConfig: {
54
64
  userOptions: { show: !1 },
55
65
  table: { show: !1 },
@@ -99,7 +109,9 @@ const Va = ["id"], za = ["id"], Ba = ["id"], Ua = { style: { position: "relative
99
109
  defaultConfig: e.value,
100
110
  userConfig: It.value
101
111
  })
102
- }), { userOptionsVisible: pe, setUserOptionsVisibility: Ue, keepUserOptionState: Ee } = _a({ config: e.value }), { svgRef: x } = Sa({ config: e.value.style.chart.title });
112
+ }), { userOptionsVisible: pe, setUserOptionsVisibility: Ue, keepUserOptionState: Ee } = _a({ config: e.value }), { svgRef: x } = Sa({
113
+ config: e.value.style.chart.title
114
+ });
103
115
  function ge() {
104
116
  const t = Se({
105
117
  userConfig: O.config,
@@ -120,9 +132,13 @@ const Va = ["id"], za = ["id"], Ba = ["id"], Ua = { style: { position: "relative
120
132
  customPalette: l.customPalette.length ? l.customPalette : ia[o] || M
121
133
  };
122
134
  }
123
- $e(() => O.config, (t) => {
124
- e.value = ge(), pe.value = !e.value.userOptions.showOnChartHover, Me(), Re.value += 1, De.value += 1, Ve.value += 1, w.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, w.value.showTable = e.value.table.show, w.value.showTooltip = e.value.style.chart.tooltip ? e.value.style.chart.tooltip.show : !1;
125
- }, { deep: !0 });
135
+ $e(
136
+ () => O.config,
137
+ (t) => {
138
+ e.value = ge(), pe.value = !e.value.userOptions.showOnChartHover, Me(), Re.value += 1, De.value += 1, Ve.value += 1, w.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, w.value.showTable = e.value.table.show, w.value.showTooltip = e.value.style.chart.tooltip ? e.value.style.chart.tooltip.show : !1;
139
+ },
140
+ { deep: !0 }
141
+ );
126
142
  const N = ut(null), G = ut(null), z = g(() => e.value.debug);
127
143
  function Me() {
128
144
  if (ca(O.dataset) && W({
@@ -193,11 +209,14 @@ const Va = ["id"], za = ["id"], Ba = ["id"], Ua = { style: { position: "relative
193
209
  X.value = !1, Q.value = null;
194
210
  }, 500)) : (h.value.push(t), setTimeout(() => {
195
211
  X.value = !1;
196
- }, 500)), Ke("selectLegend", _.value.filter((o, a) => !h.value.includes(a)).map((o) => ({
197
- name: o.name,
198
- color: o.color,
199
- proportion: o.totalProportion
200
- })));
212
+ }, 500)), Ke(
213
+ "selectLegend",
214
+ _.value.filter((o, a) => !h.value.includes(a)).map((o) => ({
215
+ name: o.name,
216
+ color: o.color,
217
+ proportion: o.totalProportion
218
+ }))
219
+ );
201
220
  }
202
221
  function Lt() {
203
222
  return _.value.map((t) => ({
@@ -295,7 +314,9 @@ const Va = ["id"], za = ["id"], Ba = ["id"], Ua = { style: { position: "relative
295
314
  const o = Ye(t);
296
315
  o !== null && (h.value.includes(o.absoluteIndex) || se(o.absoluteIndex));
297
316
  }
298
- const je = g(() => Math.max(...T.value.flatMap((t) => t.values))), qe = g(() => T.value.length), ye = g(() => Math.min(v.value.width, v.value.height) / 3), He = g(() => dt({
317
+ const je = g(
318
+ () => Math.max(...T.value.flatMap((t) => t.values))
319
+ ), qe = g(() => T.value.length), ye = g(() => Math.min(v.value.width, v.value.height) / 3), He = g(() => dt({
299
320
  plot: { x: v.value.width / 2, y: v.value.height / 2 },
300
321
  radius: ye.value,
301
322
  sides: qe.value,
@@ -347,7 +368,9 @@ const Va = ["id"], za = ["id"], Ba = ["id"], Ua = { style: { position: "relative
347
368
  const _ = g(() => {
348
369
  const t = T.value.map((o, a) => o.values.map((l) => l / (o.target || je.value)));
349
370
  return P.value.map((o, a) => {
350
- const l = da(t.map((r) => r[a]).reduce((r, n) => r + n, 0) / T.value.length);
371
+ const l = da(
372
+ t.map((r) => r[a]).reduce((r, n) => r + n, 0) / T.value.length
373
+ );
351
374
  return {
352
375
  ...o,
353
376
  absoluteIndex: a,
@@ -390,7 +413,12 @@ const Va = ["id"], za = ["id"], Ba = ["id"], Ua = { style: { position: "relative
390
413
  ...l.values.map((r, n) => `${Pe(
391
414
  l.formatter,
392
415
  r,
393
- j({ p: P.value[n]?.prefix ?? "", v: r, s: P.value[n]?.suffix ?? "", r: e.value.table.td.roundingValue })
416
+ j({
417
+ p: P.value[n]?.prefix ?? "",
418
+ v: r,
419
+ s: P.value[n]?.suffix ?? "",
420
+ r: e.value.table.td.roundingValue
421
+ })
394
422
  )} (${isNaN(r / l.target) ? "" : j({
395
423
  v: r / l.target * 100,
396
424
  s: "%",
@@ -412,13 +440,22 @@ const Va = ["id"], za = ["id"], Ba = ["id"], Ua = { style: { position: "relative
412
440
  return { head: t, body: o, config: a, colNames: t };
413
441
  }), Y = u(null), be = u([]), re = u(null);
414
442
  function Mt(t, o) {
415
- q.value = !1, Y.value = null, A.value = null, J.value = "pointer", e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: o });
443
+ q.value = !1, Y.value = null, A.value = null, J.value = "pointer", e.value.events.datapointLeave && e.value.events.datapointLeave({
444
+ datapoint: t,
445
+ seriesIndex: o
446
+ });
416
447
  }
417
448
  function Qe(t, o) {
418
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: o });
449
+ e.value.events.datapointClick && e.value.events.datapointClick({
450
+ datapoint: t,
451
+ seriesIndex: o
452
+ });
419
453
  }
420
454
  function Ze(t, o, a = "pointer") {
421
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: o }), J.value = a, A.value = o;
455
+ e.value.events.datapointEnter && e.value.events.datapointEnter({
456
+ datapoint: t,
457
+ seriesIndex: o
458
+ }), J.value = a, A.value = o;
422
459
  const l = P.value.slice();
423
460
  be.value = [], Y.value = o, q.value = !0, re.value = {
424
461
  datapoint: t,
@@ -431,16 +468,26 @@ const Va = ["id"], za = ["id"], Ba = ["id"], Ua = { style: { position: "relative
431
468
  config: e.value
432
469
  };
433
470
  const r = e.value.style.chart.tooltip.customFormat;
434
- if (ya(r) && ma(() => r({
435
- seriesIndex: o,
436
- datapoint: t,
437
- series: { categories: l, datapoints: T.value, radar: y.value },
438
- config: e.value
439
- }))) {
471
+ if (ya(r) && ma(
472
+ () => r({
473
+ seriesIndex: o,
474
+ datapoint: t,
475
+ series: {
476
+ categories: l,
477
+ datapoints: T.value,
478
+ radar: y.value
479
+ },
480
+ config: e.value
481
+ })
482
+ )) {
440
483
  ie.value = r({
441
484
  seriesIndex: o,
442
485
  datapoint: t,
443
- series: { categories: l, datapoints: T.value, radar: y.value },
486
+ series: {
487
+ categories: l,
488
+ datapoints: T.value,
489
+ radar: y.value
490
+ },
444
491
  config: e.value
445
492
  });
446
493
  return;
@@ -476,11 +523,23 @@ const Va = ["id"], za = ["id"], Ba = ["id"], Ua = { style: { position: "relative
476
523
  }
477
524
  function ke(t = null) {
478
525
  Ae(() => {
479
- const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = [[""], [e.value.translations.target], ..._.value.flatMap(($) => [[$.name], ["%"]])], l = V.value.series.map(($, L) => [$.name, $.target, ...$.values.flatMap((te) => [
480
- te,
481
- isNaN(te / $.target) ? "" : te / $.target * 100
482
- ])]), r = o.concat([a]).concat(l), n = ha(r);
483
- t ? t(n) : fa({ csvContent: n, title: e.value.style.chart.title.text || "vue-ui-radar" });
526
+ const o = [
527
+ [e.value.style.chart.title.text],
528
+ [e.value.style.chart.title.subtitle.text],
529
+ [""]
530
+ ], a = [
531
+ [""],
532
+ [e.value.translations.target],
533
+ ..._.value.flatMap(($) => [[$.name], ["%"]])
534
+ ], l = V.value.series.map(($, L) => [
535
+ $.name,
536
+ $.target,
537
+ ...$.values.flatMap((te) => [te, isNaN(te / $.target) ? "" : te / $.target * 100])
538
+ ]), r = o.concat([a]).concat(l), n = ha(r);
539
+ t ? t(n) : fa({
540
+ csvContent: n,
541
+ title: e.value.style.chart.title.text || "vue-ui-radar"
542
+ });
484
543
  });
485
544
  }
486
545
  const B = u(!1);
@@ -499,7 +558,12 @@ const Va = ["id"], za = ["id"], Ba = ["id"], Ua = { style: { position: "relative
499
558
  }
500
559
  async function Wt({ scale: t = 2 } = {}) {
501
560
  if (!I.value) return;
502
- const { width: o, height: a } = I.value.getBoundingClientRect(), l = o / a, { imageUri: r, base64: n } = await Ia({ domElement: I.value, base64: !0, img: !0, scale: t });
561
+ const { width: o, height: a } = I.value.getBoundingClientRect(), l = o / a, { imageUri: r, base64: n } = await Ia({
562
+ domElement: I.value,
563
+ base64: !0,
564
+ img: !0,
565
+ scale: t
566
+ });
503
567
  return {
504
568
  imageUri: r,
505
569
  base64: n,
@@ -540,9 +604,12 @@ const Va = ["id"], za = ["id"], Ba = ["id"], Ua = { style: { position: "relative
540
604
  }
541
605
  };
542
606
  });
543
- $e(() => w.value.showTable, (t) => {
544
- e.value.table.show || (t && e.value.table.useDialog && H.value ? H.value.open() : "close" in H.value && H.value.close());
545
- });
607
+ $e(
608
+ () => w.value.showTable,
609
+ (t) => {
610
+ e.value.table.show || (t && e.value.table.useDialog && H.value ? H.value.open() : "close" in H.value && H.value.close());
611
+ }
612
+ );
546
613
  function ot() {
547
614
  w.value.showTable = !1, ce.value && ce.value.setTableIconState(!1);
548
615
  }
@@ -561,7 +628,14 @@ const Va = ["id"], za = ["id"], Ba = ["id"], Ua = { style: { position: "relative
561
628
  try {
562
629
  if (t) {
563
630
  const { blob: o, url: a, text: l, dataUrl: r } = await qt();
564
- await Promise.resolve(e.value.userOptions.callbacks.svg({ blob: o, url: a, text: l, dataUrl: r }));
631
+ await Promise.resolve(
632
+ e.value.userOptions.callbacks.svg({
633
+ blob: o,
634
+ url: a,
635
+ text: l,
636
+ dataUrl: r
637
+ })
638
+ );
565
639
  } else
566
640
  await Promise.resolve(jt());
567
641
  } finally {
@@ -584,13 +658,17 @@ const Va = ["id"], za = ["id"], Ba = ["id"], Ua = { style: { position: "relative
584
658
  config: e.value,
585
659
  dataset: y.value
586
660
  }), !e.value.userOptions.callbacks.altCopy) {
587
- console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
661
+ console.warn(
662
+ "Vue Data UI - A callback must be set for `altCopy` in userOptions."
663
+ );
588
664
  return;
589
665
  }
590
- await Promise.resolve(e.value.userOptions.callbacks.altCopy({
591
- config: e.value,
592
- dataset: y.value
593
- }));
666
+ await Promise.resolve(
667
+ e.value.userOptions.callbacks.altCopy({
668
+ config: e.value,
669
+ dataset: y.value
670
+ })
671
+ );
594
672
  }
595
673
  function Jt() {
596
674
  A.value = null, ve.value = !0;
@@ -611,7 +689,8 @@ const Va = ["id"], za = ["id"], Ba = ["id"], Ua = { style: { position: "relative
611
689
  function ea(t) {
612
690
  if (!x.value || Z.value || document.activeElement !== x.value || !y.value.length) return;
613
691
  const o = ["ArrowLeft", "ArrowUp"].includes(t.key), a = ["ArrowRight", "ArrowDown"].includes(t.key), l = t.key === "Enter" || t.key === " ", r = t.key === "Escape";
614
- if (!o && !a && !l && !r) return;
692
+ if (!o && !a && !l && !r)
693
+ return;
615
694
  if (t.preventDefault(), t.stopPropagation(), r) {
616
695
  A.value = null, J.value = "pointer", q.value = !1, Y.value = null;
617
696
  return;
@@ -846,7 +925,10 @@ const Va = ["id"], za = ["id"], Ba = ["id"], Ua = { style: { position: "relative
846
925
  ref: x,
847
926
  xmlns: i(pa),
848
927
  "aria-describedby": `chart-instructions-${m.value}`,
849
- class: oe({ "vue-data-ui-fullscreen--on": B.value, "vue-data-ui-fulscreen--off": !B.value }),
928
+ class: oe({
929
+ "vue-data-ui-fullscreen--on": B.value,
930
+ "vue-data-ui-fulscreen--off": !B.value
931
+ }),
850
932
  viewBox: `0 0 ${v.value.width <= 0 ? 10 : v.value.width} ${v.value.height <= 0 ? 10 : v.value.height}`,
851
933
  style: ae(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`),
852
934
  tabindex: "0",
@@ -878,11 +960,17 @@ const Va = ["id"], za = ["id"], Ba = ["id"], Ua = { style: { position: "relative
878
960
  }, [
879
961
  b("stop", {
880
962
  offset: "0%",
881
- "stop-color": i(_e)(i(ga)(a.color, 0.05), e.value.style.chart.layout.dataPolygon.opacity)
963
+ "stop-color": i(_e)(
964
+ i(ga)(a.color, 0.05),
965
+ e.value.style.chart.layout.dataPolygon.opacity
966
+ )
882
967
  }, null, 8, Ga),
883
968
  b("stop", {
884
969
  offset: "100%",
885
- "stop-color": i(_e)(a.color, e.value.style.chart.layout.dataPolygon.opacity)
970
+ "stop-color": i(_e)(
971
+ a.color,
972
+ e.value.style.chart.layout.dataPolygon.opacity
973
+ )
886
974
  }, null, 8, Xa)
887
975
  ], 8, Wa))), 256))
888
976
  ]),
@@ -898,7 +986,10 @@ const Va = ["id"], za = ["id"], Ba = ["id"], Ua = { style: { position: "relative
898
986
  e.value.style.chart.layout.grid.graduations > 0 ? (s(), c("g", ja, [
899
987
  (s(!0), c(U, null, E(zt.value, (a) => (s(), c("path", {
900
988
  d: i(dt)({
901
- plot: { x: v.value.width / 2, y: v.value.height / 2 },
989
+ plot: {
990
+ x: v.value.width / 2,
991
+ y: v.value.height / 2
992
+ },
902
993
  radius: a,
903
994
  sides: qe.value,
904
995
  rotation: 0
@@ -934,19 +1025,36 @@ const Va = ["id"], za = ["id"], Ba = ["id"], Ua = { style: { position: "relative
934
1025
  b("g", null, [
935
1026
  e.value.useCssAnimation || !e.value.useCssAnimation && !h.value.includes(l) ? (s(), c("polygon", {
936
1027
  key: 0,
937
- points: i(pt)(y.value.map((r) => r.plots[l]), !1, !0),
1028
+ points: i(pt)(
1029
+ y.value.map((r) => r.plots[l]),
1030
+ !1,
1031
+ !0
1032
+ ),
938
1033
  stroke: e.value.style.chart.backgroundColor,
939
1034
  "stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth + 1,
940
1035
  fill: "none",
941
- class: oe({ "animated-out": h.value.includes(l) && e.value.useCssAnimation, "animated-in": X.value && Q.value === l && e.value.useCssAnimation })
1036
+ class: oe({
1037
+ "animated-out": h.value.includes(l) && e.value.useCssAnimation,
1038
+ "animated-in": X.value && Q.value === l && e.value.useCssAnimation
1039
+ })
942
1040
  }, null, 10, Za)) : f("", !0),
943
1041
  e.value.useCssAnimation || !e.value.useCssAnimation && !h.value.includes(l) ? (s(), c("polygon", {
944
1042
  key: 1,
945
- points: i(pt)(y.value.map((r) => r.plots[l]), !1, !0),
1043
+ points: i(pt)(
1044
+ y.value.map((r) => r.plots[l]),
1045
+ !1,
1046
+ !0
1047
+ ),
946
1048
  stroke: a.color,
947
1049
  "stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth,
948
- fill: e.value.style.chart.layout.dataPolygon.transparent ? "transparent" : e.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${m.value}_${l})` : i(_e)(a.color, e.value.style.chart.layout.dataPolygon.opacity),
949
- class: oe({ "animated-out": h.value.includes(l) && e.value.useCssAnimation, "animated-in": X.value && Q.value === l && e.value.useCssAnimation })
1050
+ fill: e.value.style.chart.layout.dataPolygon.transparent ? "transparent" : e.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${m.value}_${l})` : i(_e)(
1051
+ a.color,
1052
+ e.value.style.chart.layout.dataPolygon.opacity
1053
+ ),
1054
+ class: oe({
1055
+ "animated-out": h.value.includes(l) && e.value.useCssAnimation,
1056
+ "animated-in": X.value && Q.value === l && e.value.useCssAnimation
1057
+ })
950
1058
  }, null, 10, eo)) : f("", !0)
951
1059
  ])
952
1060
  ]))), 256)),
@@ -959,7 +1067,10 @@ const Va = ["id"], za = ["id"], Ba = ["id"], Ua = { style: { position: "relative
959
1067
  r: Y.value !== null && Y.value === l ? e.value.style.chart.layout.plots.radius * 1.6 : e.value.style.chart.layout.plots.radius,
960
1068
  stroke: h.value.includes(n) ? "transparent" : e.value.style.chart.backgroundColor,
961
1069
  "stroke-width": 0.5,
962
- class: oe({ "animated-out": h.value.includes(n) && e.value.useCssAnimation, "animated-in": X.value && Q.value === n && e.value.useCssAnimation })
1070
+ class: oe({
1071
+ "animated-out": h.value.includes(n) && e.value.useCssAnimation,
1072
+ "animated-in": X.value && Q.value === n && e.value.useCssAnimation
1073
+ })
963
1074
  }, null, 10, ao))), 256))
964
1075
  ]))), 256))
965
1076
  ])) : f("", !0),
@@ -972,11 +1083,16 @@ const Va = ["id"], za = ["id"], Ba = ["id"], Ua = { style: { position: "relative
972
1083
  }, void 0, !0)
973
1084
  ], 46, Ea)),
974
1085
  t.$slots.hint ? (s(), c("div", oo, [
975
- p(t.$slots, "hint", k(C({ hint: e.value.a11y.translations.keyboardNavigation, isVisible: ve.value })), void 0, !0)
1086
+ p(t.$slots, "hint", k(C({
1087
+ hint: e.value.a11y.translations.keyboardNavigation,
1088
+ isVisible: ve.value
1089
+ })), void 0, !0)
976
1090
  ])) : f("", !0)
977
1091
  ]),
978
1092
  t.$slots.watermark ? (s(), c("div", lo, [
979
- p(t.$slots, "watermark", k(C({ isPrinting: i(he) || i(fe) || le.value || ne.value })), void 0, !0)
1093
+ p(t.$slots, "watermark", k(C({
1094
+ isPrinting: i(he) || i(fe) || le.value || ne.value
1095
+ })), void 0, !0)
980
1096
  ])) : f("", !0),
981
1097
  b("div", {
982
1098
  id: `legend-bottom-${m.value}`
@@ -1059,7 +1175,9 @@ const Va = ["id"], za = ["id"], Ba = ["id"], Ua = { style: { position: "relative
1059
1175
  p(t.$slots, "tooltip", k(C({ ...re.value })), void 0, !0)
1060
1176
  ]),
1061
1177
  "tooltip-after": d(() => [
1062
- !["function"].includes(typeof e.value.style.chart.tooltip.customFormat) && !t.$slots.tooltip ? (s(), c("div", ro, [
1178
+ !["function"].includes(
1179
+ typeof e.value.style.chart.tooltip.customFormat
1180
+ ) && !t.$slots.tooltip ? (s(), c("div", ro, [
1063
1181
  ue(i(kt), {
1064
1182
  dataset: be.value,
1065
1183
  config: xt.value,
@@ -1136,7 +1254,7 @@ const Va = ["id"], za = ["id"], Ba = ["id"], Ua = { style: { position: "relative
1136
1254
  ], !0)
1137
1255
  ], 46, Va));
1138
1256
  }
1139
- }, xo = /* @__PURE__ */ Da(vo, [["__scopeId", "data-v-dd180fcd"]]);
1257
+ }, xo = /* @__PURE__ */ Da(vo, [["__scopeId", "data-v-0c144ba2"]]);
1140
1258
  export {
1141
1259
  xo as default
1142
1260
  };
@@ -1,7 +1,7 @@
1
1
  import { ref as $, useSlots as Q, onMounted as R, computed as x, watch as Z, openBlock as o, createElementBlock as a, normalizeStyle as s, createElementVNode as r, toDisplayString as f, createCommentVNode as p, unref as n, Fragment as j, renderList as ee, renderSlot as B, mergeProps as O, withKeys as te } from "vue";
2
- import { j as le, o as oe, q as ae, k as b, l as _, X as z, v as X, z as I } from "./lib-DBptbyyI.js";
3
- import { u as ie } from "./useNestedProp-Bf5XFbs8.js";
4
- import { u as se } from "./useConfig-C40HvGpD.js";
2
+ import { j as le, o as oe, q as ae, k as b, l as _, X as z, v as X, z as I } from "./lib-DMzrGQHK.js";
3
+ import { u as ie } from "./useNestedProp-DH0BEVVS.js";
4
+ import { u as se } from "./useConfig-DTHxOX6V.js";
5
5
  import { _ as ne } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const re = {
7
7
  key: 0,
@@ -36,7 +36,9 @@ const re = {
36
36
  setup(Y, { expose: G, emit: L }) {
37
37
  const { vue_ui_rating: U } = se(), u = Y, m = $(le()), S = $(!1), v = $(void 0), h = $(void 0), w = $([]), D = Q();
38
38
  R(() => {
39
- D["chart-background"] && console.warn("VueUiRating does not support the #chart-background slot.");
39
+ D["chart-background"] && console.warn(
40
+ "VueUiRating does not support the #chart-background slot."
41
+ );
40
42
  });
41
43
  const E = L, e = x({
42
44
  get: () => C(),
@@ -48,9 +50,13 @@ const re = {
48
50
  defaultConfig: U
49
51
  });
50
52
  }
51
- Z(() => u.config, (l) => {
52
- e.value = C(), F();
53
- }, { deep: !0 });
53
+ Z(
54
+ () => u.config,
55
+ (l) => {
56
+ e.value = C(), F();
57
+ },
58
+ { deep: !0 }
59
+ );
54
60
  const K = x(() => typeof u.dataset.rating == "object" && !Array.isArray(u.dataset.rating) ? q(u.dataset.rating) : u.dataset.rating), T = x(() => typeof u.dataset.rating == "object" && !Array.isArray(u.dataset.rating)), y = $(K.value), V = x(() => e.value.type === "image"), g = x(() => e.value.readonly);
55
61
  function q(l) {
56
62
  let i = 0, t = 0;
@@ -61,7 +67,10 @@ const re = {
61
67
  if (t === 0)
62
68
  return 0;
63
69
  const c = i / t;
64
- return Math.min(e.value.to, Math.max(e.value.from, c));
70
+ return Math.min(
71
+ e.value.to,
72
+ Math.max(e.value.from, c)
73
+ );
65
74
  }
66
75
  R(() => {
67
76
  F();
@@ -152,10 +161,20 @@ const re = {
152
161
  }, [
153
162
  l.$slots["layer-under"] || l.$slots["layer-above"] ? (o(), a("div", ue, [
154
163
  l.$slots["layer-under"] ? (o(), a("div", ve, [
155
- B(l.$slots, "layer-under", O({ ref_for: !0 }, { value: t, size: e.value.style.itemSize, hoveredValue: v.value, focusedValue: h.value }), void 0, !0)
164
+ B(l.$slots, "layer-under", O({ ref_for: !0 }, {
165
+ value: t,
166
+ size: e.value.style.itemSize,
167
+ hoveredValue: v.value,
168
+ focusedValue: h.value
169
+ }), void 0, !0)
156
170
  ])) : p("", !0),
157
171
  l.$slots["layer-above"] ? (o(), a("div", de, [
158
- B(l.$slots, "layer-above", O({ ref_for: !0 }, { value: t, size: e.value.style.itemSize, hoveredValue: v.value, focusedValue: h.value }), void 0, !0)
172
+ B(l.$slots, "layer-above", O({ ref_for: !0 }, {
173
+ value: t,
174
+ size: e.value.style.itemSize,
175
+ hoveredValue: v.value,
176
+ focusedValue: h.value
177
+ }), void 0, !0)
159
178
  ])) : p("", !0)
160
179
  ])) : (o(), a(j, { key: 1 }, [
161
180
  V.value ? (o(), a("img", {
@@ -345,7 +364,7 @@ const re = {
345
364
  )), 5)) : p("", !0)
346
365
  ], 36));
347
366
  }
348
- }, Re = /* @__PURE__ */ ne(Ce, [["__scopeId", "data-v-d8f7266f"]]);
367
+ }, Re = /* @__PURE__ */ ne(Ce, [["__scopeId", "data-v-75c80ffe"]]);
349
368
  export {
350
369
  Re as default
351
370
  };