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,22 +1,22 @@
1
1
  import { computed as m, defineAsyncComponent as Me, useSlots as aa, shallowRef as Ie, ref as b, onMounted as vl, onBeforeUnmount as dl, toRefs as oa, watch as je, openBlock as u, createElementBlock as i, normalizeStyle as L, normalizeClass as qt, createElementVNode as w, toDisplayString as ye, createBlock as ge, createCommentVNode as d, unref as s, withCtx as _, renderSlot as k, normalizeProps as W, guardReactiveProps as j, createSlots as Wt, createVNode as Tt, Fragment as P, renderList as J, mergeProps as jt, withDirectives as Pt, vShow as St, Teleport as na, resolveDynamicComponent as sa, createTextVNode as hl, nextTick as fl } from "vue";
2
- import { o as yl, q as Kt, r as ua, j as ra, t as gl, n as ia, p as Re, K as ca, s as pl, k as pe, l as ve, a4 as ml, ax as va, X as da, u as Lt, v as ha, a5 as fa, ae as X, G as bl, a6 as we, a7 as A, as as wl, C as ya, m as ga, a0 as pa, a1 as ma, T as ba, ay as kl, ai as xl } from "./lib-DBptbyyI.js";
3
- import { f as wa, b as ka } from "./labelUtils-CqTHa20R.js";
2
+ import { o as yl, q as Kt, r as ua, j as ra, t as gl, n as ia, p as Re, K as ca, s as pl, k as pe, l as ve, a4 as ml, ax as va, X as da, u as Lt, v as ha, a5 as fa, ae as X, G as bl, a6 as we, a7 as A, as as wl, C as ya, m as ga, a0 as pa, a1 as ma, T as ba, ay as kl, ai as xl } from "./lib-DMzrGQHK.js";
3
+ import { f as wa, b as ka } from "./labelUtils-DX9oyq3C.js";
4
4
  import { t as xa, u as $a } from "./useResponsive-DfdjqQps.js";
5
- import { u as Ca } from "./useConfig-C40HvGpD.js";
6
- import { u as _a } from "./usePrinter-CEpYU3r5.js";
7
- import { u as Aa, B as Ta } from "./BaseScanner-BhhkKVoj.js";
8
- import { u as Pa } from "./useSvgExport-ByUukOZt.js";
9
- import { u as Qt } from "./useNestedProp-Bf5XFbs8.js";
10
- import { u as Sa } from "./useThemeCheck-D1ZYXUwG.js";
11
- import { u as La } from "./useUserOptionState-BIvW1Kz7.js";
12
- import { u as Ma } from "./useChartAccessibility-9icAAmYg.js";
13
- import Ia from "./img-LXxMLmCg.js";
14
- import { _ as Fa } from "./Shape-BKRUOeKk.js";
15
- import za from "./Title-BeMKE1cj.js";
5
+ import { u as Ca } from "./useConfig-DTHxOX6V.js";
6
+ import { u as _a } from "./usePrinter-C4t8DdQ-.js";
7
+ import { u as Aa, B as Ta } from "./BaseScanner-BON3d_Sx.js";
8
+ import { u as Pa } from "./useSvgExport-BTG4hVPO.js";
9
+ import { u as Qt } from "./useNestedProp-DH0BEVVS.js";
10
+ import { u as Sa } from "./useThemeCheck-C9Ccl7U9.js";
11
+ import { u as La } from "./useUserOptionState-B7Ej974k.js";
12
+ import { u as Ma } from "./useChartAccessibility-cp6XQtqi.js";
13
+ import Ia from "./img-CjTQXS0U.js";
14
+ import { _ as Fa } from "./Shape-CxJ5_Rre.js";
15
+ import za from "./Title-BbKoiBk2.js";
16
16
  import Oa from "./vue_ui_donut-CA4dgV8J.js";
17
- import Ya from "./Legend-CS7Xo5LK.js";
18
- import { A as Da } from "./A11yDataTable-KcVAX2cP.js";
19
- import { B as Ba } from "./BaseLegendToggle-BQVIawmA.js";
17
+ import Ya from "./Legend-DGN5lY60.js";
18
+ import { A as Da } from "./A11yDataTable-BpmuNomI.js";
19
+ import { B as Ba } from "./BaseLegendToggle-cMP8M2u0.js";
20
20
  import { _ as Xa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
21
21
  function Na(it) {
22
22
  const {
@@ -41,9 +41,13 @@ function Na(it) {
41
41
  function pt({ midX: h, midY: g, bandX: f, bandY: C }) {
42
42
  if (!gt)
43
43
  return `M ${h} ${g} L ${h} ${C} L ${f} ${C}`;
44
- const I = f < B ? -1 : 1, F = f - h, le = C - g, ae = Math.sqrt(F * F + le * le) || 1, ke = h - B, p = g - M, oe = Math.sqrt(ke * ke + p * p) || 1, se = ke / oe, z = p / oe, Oe = oe + 9;
44
+ const I = f < B ? -1 : 1, F = f - h, le = C - g, ae = Math.sqrt(F * F + le * le) || 1, ke = h - B, p = g - M, oe = Math.sqrt(
45
+ ke * ke + p * p
46
+ ) || 1, se = ke / oe, z = p / oe, Oe = oe + 9;
45
47
  function e({ x: _e, y: de }) {
46
- const re = _e - B, Z = de - M, Ae = Math.sqrt(re * re + Z * Z) || 1;
48
+ const re = _e - B, Z = de - M, Ae = Math.sqrt(
49
+ re * re + Z * Z
50
+ ) || 1;
47
51
  if (Ae >= Oe) return { x: _e, y: de };
48
52
  const Te = Oe / Ae;
49
53
  return {
@@ -56,7 +60,10 @@ function Na(it) {
56
60
  let re = -(le / ae), Z = _e;
57
61
  const Ae = (h + f) * 0.5, Te = (g + C) * 0.5, K = Ae + re, kt = Te + Z, Nt = (K - B) * (K - B) + (kt - M) * (kt - M), He = Ae - re, Ge = Te - Z;
58
62
  (He - B) * (He - B) + (Ge - M) * (Ge - M) > Nt && (re = -re, Z = -Z);
59
- const at = 0.78, $t = h + F * at, Rt = g + le * at, qe = Math.max(0, Math.min(1, (ae - 18) / 44)), x = qe * qe * (3 - 2 * qe);
63
+ const at = 0.78, $t = h + F * at, Rt = g + le * at, qe = Math.max(
64
+ 0,
65
+ Math.min(1, (ae - 18) / 44)
66
+ ), x = qe * qe * (3 - 2 * qe);
60
67
  let n = 2.5 + x * 4, he = 1 + x * 2.5;
61
68
  n *= 0.9;
62
69
  const ot = {
@@ -73,7 +80,10 @@ function Na(it) {
73
80
  x: h + se * $e,
74
81
  y: g + z * $e
75
82
  }, Ue = B + I * Math.max(Math.abs(f - B), Oe), Xt = {
76
- x: f - I * Math.min(ue, Math.abs(Ue - f) * 0.75),
83
+ x: f - I * Math.min(
84
+ ue,
85
+ Math.abs(Ue - f) * 0.75
86
+ ),
77
87
  y: C
78
88
  }, Y = e(Ye), Ce = e(Xt);
79
89
  return `M ${h} ${g} C ${Y.x} ${Y.y} ${Ce.x} ${Ce.y} ${f} ${C}`;
@@ -104,12 +114,22 @@ function Na(it) {
104
114
  }
105
115
  function Ve(h, g) {
106
116
  if (g.startsWith("T")) {
107
- h.sort((C, I) => C.inlineMarkerY - I.inlineMarkerY || C.index - I.index);
117
+ h.sort(
118
+ (C, I) => C.inlineMarkerY - I.inlineMarkerY || C.index - I.index
119
+ );
108
120
  return;
109
121
  }
110
- h.sort((C, I) => I.inlineMarkerY - C.inlineMarkerY || C.index - I.index);
122
+ h.sort(
123
+ (C, I) => I.inlineMarkerY - C.inlineMarkerY || C.index - I.index
124
+ );
111
125
  }
112
- function Ee({ side: h, markerX: g, markerY: f, labelY: C, connectorPath: I }) {
126
+ function Ee({
127
+ side: h,
128
+ markerX: g,
129
+ markerY: f,
130
+ labelY: C,
131
+ connectorPath: I
132
+ }) {
113
133
  return {
114
134
  side: h,
115
135
  labelX: h === "left" ? g - ne : g + ne,
@@ -156,7 +176,10 @@ function Na(it) {
156
176
  return wt.forEach((h) => {
157
177
  G[tt(h)].push(h);
158
178
  }), Object.keys(G).forEach((h) => {
159
- Ve(G[h], h);
179
+ Ve(
180
+ G[h],
181
+ h
182
+ );
160
183
  }), H({
161
184
  candidateList: G.TL,
162
185
  side: "left",
@@ -213,7 +236,15 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
213
236
  },
214
237
  emits: ["selectLegend", "selectDatapoint", "copyAlt"],
215
238
  setup(it, { expose: ct, emit: Mt }) {
216
- const Ke = Me(() => import("./Tooltip-C8KGyqQk.js")), vt = Me(() => import("./BaseIcon-Cb3zzG6s.js")), It = Me(() => import("./vue-ui-accordion-DDuJT1xA.js")), dt = Me(() => import("./DataTable-DT2kIdQ6.js")), Ft = Me(() => import("./PenAndPaper-Ct3qJ4lA.js")), zt = Me(() => import("./UserOptions-rW2fRf3V.js")), Ot = Me(() => import("./PackageVersion-DP_kfXUM.js")), Yt = Me(() => import("./BaseDraggableDialog-CIb-iD9g.js")), { vue_ui_donut: Dt } = Ca(), { isThemeValid: Bt, warnInvalidTheme: Jt } = Sa(), Qe = aa(), E = it, B = m({
239
+ const Ke = Me(() => import("./Tooltip-Cvt7Fi0Q.js")), vt = Me(() => import("./BaseIcon-DX0hTWa-.js")), It = Me(() => import("./vue-ui-accordion-BHmfmb_6.js")), dt = Me(() => import("./DataTable-cMnb68Ik.js")), Ft = Me(
240
+ () => import("./PenAndPaper-CJDoB5H9.js")
241
+ ), zt = Me(
242
+ () => import("./UserOptions-DVduN6X7.js")
243
+ ), Ot = Me(
244
+ () => import("./PackageVersion-DVvvyQXB.js")
245
+ ), Yt = Me(
246
+ () => import("./BaseDraggableDialog-Di8Hlru3.js")
247
+ ), { vue_ui_donut: Dt } = Ca(), { isThemeValid: Bt, warnInvalidTheme: Jt } = Sa(), Qe = aa(), E = it, B = m({
217
248
  get() {
218
249
  return !!E.dataset && E.dataset.length;
219
250
  },
@@ -361,7 +392,9 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
361
392
  }
362
393
  return o;
363
394
  }
364
- const e = b(Oe()), xe = m(() => e.value.userOptions.useCursorPointer), $e = m(() => gl({
395
+ const e = b(Oe()), xe = m(
396
+ () => e.value.userOptions.useCursorPointer
397
+ ), $e = m(() => gl({
365
398
  defaultConfig: {
366
399
  useCssAnimation: !1,
367
400
  table: { show: !1 },
@@ -453,16 +486,22 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
453
486
  },
454
487
  { immediate: !0 }
455
488
  );
456
- const { userOptionsVisible: Z, setUserOptionsVisibility: Ae, keepUserOptionState: Te } = La({ config: e.value }), { svgRef: K } = Ma({ config: e.value.style.chart.title });
489
+ const { userOptionsVisible: Z, setUserOptionsVisibility: Ae, keepUserOptionState: Te } = La({ config: e.value }), { svgRef: K } = Ma({
490
+ config: e.value.style.chart.title
491
+ });
457
492
  function kt() {
458
493
  Ae(!0);
459
494
  }
460
495
  function Nt() {
461
496
  Ae(!1);
462
497
  }
463
- je(() => E.config, (t) => {
464
- ue.value || (e.value = Oe()), Z.value = !e.value.userOptions.showOnChartHover, ke(), gt.value += 1, pt.value += 1, mt.value += 1, x.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, x.value.showTable = e.value.table.show, x.value.showTooltip = e.value.style.chart.tooltip.show, n.value.height = e.value.style.chart.height, n.value.width = e.value.style.chart.width;
465
- }, { deep: !0 });
498
+ je(
499
+ () => E.config,
500
+ (t) => {
501
+ ue.value || (e.value = Oe()), Z.value = !e.value.userOptions.showOnChartHover, ke(), gt.value += 1, pt.value += 1, mt.value += 1, x.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, x.value.showTable = e.value.table.show, x.value.showTooltip = e.value.style.chart.tooltip.show, n.value.height = e.value.style.chart.height, n.value.width = e.value.style.chart.width;
502
+ },
503
+ { deep: !0 }
504
+ );
466
505
  const He = m(() => {
467
506
  const { top: t, right: o, bottom: l, left: a } = e.value.style.chart.padding;
468
507
  return {
@@ -483,15 +522,19 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
483
522
  showTable: e.value.table.show,
484
523
  showTooltip: e.value.style.chart.tooltip.show
485
524
  });
486
- je(e, () => {
487
- x.value = {
488
- dataLabels: {
489
- show: e.value.style.chart.layout.labels.dataLabels.show
490
- },
491
- showTable: e.value.table.show,
492
- showTooltip: e.value.style.chart.tooltip.show
493
- };
494
- }, { immediate: !0 });
525
+ je(
526
+ e,
527
+ () => {
528
+ x.value = {
529
+ dataLabels: {
530
+ show: e.value.style.chart.layout.labels.dataLabels.show
531
+ },
532
+ showTable: e.value.table.show,
533
+ showTooltip: e.value.style.chart.tooltip.show
534
+ };
535
+ },
536
+ { immediate: !0 }
537
+ );
495
538
  const n = b({
496
539
  height: e.value.style.chart.height,
497
540
  width: e.value.style.chart.width
@@ -514,13 +557,20 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
514
557
  ghost: !1,
515
558
  pattern: `pattern_${p.value}_${o}`
516
559
  })));
517
- je(() => E.dataset, (t) => {
518
- Array.isArray(t) && t.length > 0 && (Ue.value = !1);
519
- }, { immediate: !0 });
560
+ je(
561
+ () => E.dataset,
562
+ (t) => {
563
+ Array.isArray(t) && t.length > 0 && (Ue.value = !1);
564
+ },
565
+ { immediate: !0 }
566
+ );
520
567
  const Q = Ie(U.value);
521
- je(() => U.value, (t) => {
522
- Q.value = t, requestAnimationFrame(F);
523
- });
568
+ je(
569
+ () => U.value,
570
+ (t) => {
571
+ Q.value = t, requestAnimationFrame(F);
572
+ }
573
+ );
524
574
  function $l() {
525
575
  return U.value.map((t) => ({
526
576
  name: t.name,
@@ -529,7 +579,14 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
529
579
  }));
530
580
  }
531
581
  const N = b([]), Pe = b(!1), De = b(null);
532
- function Zt({ from: t, to: o, duration: l, onUpdate: a, onDone: r, easing: c = xl }) {
582
+ function Zt({
583
+ from: t,
584
+ to: o,
585
+ duration: l,
586
+ onUpdate: a,
587
+ onDone: r,
588
+ easing: c = xl
589
+ }) {
533
590
  const y = performance.now();
534
591
  function $(D) {
535
592
  const S = Math.min((D - y) / l, 1), V = c(S), Ne = t + (o - t) * V;
@@ -590,11 +647,14 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
590
647
  };
591
648
  e.value.serieToggleAnimation.show && e.value.type === "classic" ? c() : r();
592
649
  }
593
- ot("selectLegend", be.value.map((r) => ({
594
- name: r.name,
595
- color: r.color,
596
- value: r.value
597
- })));
650
+ ot(
651
+ "selectLegend",
652
+ be.value.map((r) => ({
653
+ name: r.name,
654
+ color: r.color,
655
+ value: r.value
656
+ }))
657
+ );
598
658
  }
599
659
  function el(t) {
600
660
  if (!U.value.length)
@@ -639,7 +699,9 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
639
699
  }), Q.value.map((t, o) => ({
640
700
  ...t,
641
701
  seriesIndex: o
642
- })).filter((t, o) => !N.value.includes(o));
702
+ })).filter(
703
+ (t, o) => !N.value.includes(o)
704
+ );
643
705
  }), nt = m(() => Ye.value.map((t, o) => {
644
706
  const l = (t.values || []).reduce((r, c) => r + c, 0), a = l / Ye.value.map((r) => (r.values || []).reduce((c, y) => c + y, 0)).reduce((r, c) => r + c, 0);
645
707
  return {
@@ -651,16 +713,25 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
651
713
  proportion: a
652
714
  };
653
715
  }).map((t, o) => {
654
- const l = pe(e.value.style.chart.layout.labels.value.formatter, t.value, ve({
655
- p: e.value.style.chart.layout.labels.dataLabels.prefix,
656
- v: t.value,
657
- s: e.value.style.chart.layout.labels.dataLabels.suffix,
658
- r: e.value.style.chart.legend.roundingValue
659
- }), { datapoint: t, index: o }), a = pe(e.value.style.chart.layout.labels.percentage.formatter, ll(t), ve({
660
- v: ll(t),
661
- s: "%",
662
- r: e.value.style.chart.legend.roundingPercentage
663
- })), r = Ut({
716
+ const l = pe(
717
+ e.value.style.chart.layout.labels.value.formatter,
718
+ t.value,
719
+ ve({
720
+ p: e.value.style.chart.layout.labels.dataLabels.prefix,
721
+ v: t.value,
722
+ s: e.value.style.chart.layout.labels.dataLabels.suffix,
723
+ r: e.value.style.chart.legend.roundingValue
724
+ }),
725
+ { datapoint: t, index: o }
726
+ ), a = pe(
727
+ e.value.style.chart.layout.labels.percentage.formatter,
728
+ ll(t),
729
+ ve({
730
+ v: ll(t),
731
+ s: "%",
732
+ r: e.value.style.chart.legend.roundingPercentage
733
+ })
734
+ ), r = Ut({
664
735
  val: l,
665
736
  percentage: N.value.includes(o) ? `${Xl(t.proportion * 100)}%` : a,
666
737
  showVal: e.value.style.chart.legend.showValue,
@@ -682,21 +753,52 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
682
753
  paddingBottom: 12,
683
754
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
684
755
  })), O = m(() => {
685
- const t = e.value.style.chart.layout.donut.radiusRatio, o = Math.max(0.1, Math.min(0.50001, t)), l = Math.min(n.value.width * o, n.value.height * o);
756
+ const t = e.value.style.chart.layout.donut.radiusRatio, o = Math.max(0.1, Math.min(0.50001, t)), l = Math.min(
757
+ n.value.width * o,
758
+ n.value.height * o
759
+ );
686
760
  return Math.max(12, l);
687
- }), q = m(() => ml({ series: be.value }, n.value.width / 2, n.value.height / 2, O.value, O.value, 1.99999, 2, 1, 360, 105.25, he.value)), Sl = m(() => Math.abs(be.value.map((t) => t.value).reduce((t, o) => t + o, 0)) > 0), Ll = m(() => ml({
688
- series: [
689
- {
690
- value: 1,
691
- color: e.value.style.chart.layout.donut.emptyFill,
692
- name: "_",
693
- seriesIndex: 0,
694
- patternIndex: -1,
695
- ghost: !1,
696
- absoluteValues: [1]
697
- }
698
- ]
699
- }, n.value.width / 2, n.value.height / 2, O.value, O.value, 1.99999, 2, 1, 360, 105.25, he.value)), T = m(() => q.value.filter((t) => !t.ghost)), v = m(() => {
761
+ }), q = m(() => ml(
762
+ { series: be.value },
763
+ n.value.width / 2,
764
+ n.value.height / 2,
765
+ O.value,
766
+ O.value,
767
+ 1.99999,
768
+ 2,
769
+ 1,
770
+ 360,
771
+ 105.25,
772
+ he.value
773
+ )), Sl = m(() => Math.abs(
774
+ be.value.map((t) => t.value).reduce((t, o) => t + o, 0)
775
+ ) > 0), Ll = m(() => ml(
776
+ {
777
+ series: [
778
+ {
779
+ value: 1,
780
+ color: e.value.style.chart.layout.donut.emptyFill,
781
+ name: "_",
782
+ seriesIndex: 0,
783
+ patternIndex: -1,
784
+ ghost: !1,
785
+ absoluteValues: [1]
786
+ }
787
+ ]
788
+ },
789
+ n.value.width / 2,
790
+ n.value.height / 2,
791
+ O.value,
792
+ O.value,
793
+ 1.99999,
794
+ 2,
795
+ 1,
796
+ 360,
797
+ 105.25,
798
+ he.value
799
+ )), T = m(
800
+ () => q.value.filter((t) => !t.ghost)
801
+ ), v = m(() => {
700
802
  const t = Math.max(...be.value.map((l) => l.value)), o = be.value.map((l) => l.value / t);
701
803
  return va({
702
804
  series: o,
@@ -712,7 +814,19 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
712
814
  return t.x > n.value.width / 2 + 6 ? "start" : t.x < n.value.width / 2 - 6 ? "end" : "middle";
713
815
  }
714
816
  function Ml(t) {
715
- return t.middlePoint.y > n.value.height / 2 ? X({ initX: t.middlePoint.x, initY: t.middlePoint.y, offset: 100, centerX: n.value.width / 2, centerY: n.value.height / 2 }).y : X({ initX: t.middlePoint.x, initY: t.middlePoint.y, offset: 0, centerX: n.value.width / 2, centerY: n.value.height / 2 }).y - 100;
817
+ return t.middlePoint.y > n.value.height / 2 ? X({
818
+ initX: t.middlePoint.x,
819
+ initY: t.middlePoint.y,
820
+ offset: 100,
821
+ centerX: n.value.width / 2,
822
+ centerY: n.value.height / 2
823
+ }).y : X({
824
+ initX: t.middlePoint.x,
825
+ initY: t.middlePoint.y,
826
+ offset: 0,
827
+ centerX: n.value.width / 2,
828
+ centerY: n.value.height / 2
829
+ }).y - 100;
716
830
  }
717
831
  function ee(t) {
718
832
  return t.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
@@ -762,8 +876,19 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
762
876
  function fe({ datapoint: t, seriesIndex: o }) {
763
877
  e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: o }), oe.value = !1, z.value = null, H.value = null, G.value = "pointer";
764
878
  }
765
- function ie({ datapoint: t, relativeIndex: o, seriesIndex: l, show: a = !1, triggerMode: r = "pointer" }) {
766
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: l }), G.value = r, H.value = o, _t.value = { datapoint: t, seriesIndex: l, config: e.value, series: U.value }, oe.value = a, z.value = o;
879
+ function ie({
880
+ datapoint: t,
881
+ relativeIndex: o,
882
+ seriesIndex: l,
883
+ show: a = !1,
884
+ triggerMode: r = "pointer"
885
+ }) {
886
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: l }), G.value = r, H.value = o, _t.value = {
887
+ datapoint: t,
888
+ seriesIndex: l,
889
+ config: e.value,
890
+ series: U.value
891
+ }, oe.value = a, z.value = o;
767
892
  let c = "";
768
893
  const y = e.value.style.chart.tooltip.customFormat;
769
894
  if (st.value = !1, ba(y))
@@ -914,16 +1039,32 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
914
1039
  });
915
1040
  function Et(t = null) {
916
1041
  fl(() => {
917
- const o = Le.value.head.map((r, c) => [[
918
- r.name
919
- ], [Le.value.body[c]], [isNaN(Le.value.body[c] / te.value) ? "-" : Le.value.body[c] / te.value * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(o), a = pa(l);
920
- t ? t(a) : ma({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-donut" });
1042
+ const o = Le.value.head.map((r, c) => [
1043
+ [r.name],
1044
+ [Le.value.body[c]],
1045
+ [
1046
+ isNaN(Le.value.body[c] / te.value) ? "-" : Le.value.body[c] / te.value * 100
1047
+ ]
1048
+ ]), l = [
1049
+ [e.value.style.chart.title.text],
1050
+ [e.value.style.chart.title.subtitle.text],
1051
+ [[""], ["val"], ["%"]]
1052
+ ].concat(o), a = pa(l);
1053
+ t ? t(a) : ma({
1054
+ csvContent: a,
1055
+ title: e.value.style.chart.title.text || "vue-ui-donut"
1056
+ });
921
1057
  });
922
1058
  }
923
1059
  const We = m(() => {
924
1060
  const t = [
925
1061
  ' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
926
- ve({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: te.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
1062
+ ve({
1063
+ p: e.value.style.chart.layout.labels.dataLabels.prefix,
1064
+ v: te.value,
1065
+ s: e.value.style.chart.layout.labels.dataLabels.suffix,
1066
+ r: e.value.table.td.roundingValue
1067
+ }),
927
1068
  "100%"
928
1069
  ], o = Le.value.head.map((c, y) => [
929
1070
  {
@@ -931,7 +1072,9 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
931
1072
  name: c.name || "-"
932
1073
  },
933
1074
  Le.value.body[y],
934
- isNaN(Le.value.body[y] / te.value) ? "-" : (Le.value.body[y] / te.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
1075
+ isNaN(Le.value.body[y] / te.value) ? "-" : (Le.value.body[y] / te.value * 100).toFixed(
1076
+ e.value.table.td.roundingPercentage
1077
+ ) + "%"
935
1078
  ]), l = o.map((c) => c.map((y, $) => $ === 0 ? y.name : y)), a = {
936
1079
  th: {
937
1080
  backgroundColor: e.value.table.th.backgroundColor,
@@ -967,13 +1110,7 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
967
1110
  rounding: e.value.style.chart.legend.roundingPercentage
968
1111
  });
969
1112
  }
970
- function Ut({
971
- val: t,
972
- percentage: o,
973
- showVal: l,
974
- showPercentage: a,
975
- config: r
976
- }) {
1113
+ function Ut({ val: t, percentage: o, showVal: l, showPercentage: a, config: r }) {
977
1114
  return ka({
978
1115
  config: r,
979
1116
  val: t,
@@ -1002,7 +1139,10 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
1002
1139
  });
1003
1140
  }
1004
1141
  function ce(t, o) {
1005
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: t.seriesIndex }), ot("selectDatapoint", { datapoint: t, index: o });
1142
+ e.value.events.datapointClick && e.value.events.datapointClick({
1143
+ datapoint: t,
1144
+ seriesIndex: t.seriesIndex
1145
+ }), ot("selectDatapoint", { datapoint: t, index: o });
1006
1146
  }
1007
1147
  function nl() {
1008
1148
  x.value.showTable = !x.value.showTable;
@@ -1019,7 +1159,12 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
1019
1159
  }
1020
1160
  async function Nl({ scale: t = 2 } = {}) {
1021
1161
  if (!M.value) return;
1022
- const { width: o, height: l } = M.value.getBoundingClientRect(), a = o / l, { imageUri: r, base64: c } = await Ia({ domElement: M.value, base64: !0, img: !0, scale: t });
1162
+ const { width: o, height: l } = M.value.getBoundingClientRect(), a = o / l, { imageUri: r, base64: c } = await Ia({
1163
+ domElement: M.value,
1164
+ base64: !0,
1165
+ img: !0,
1166
+ scale: t
1167
+ });
1023
1168
  return {
1024
1169
  imageUri: r,
1025
1170
  base64: c,
@@ -1032,7 +1177,10 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
1032
1177
  function Rl() {
1033
1178
  if (!Fe.value) return;
1034
1179
  const { x: t, y: o, width: l, height: a } = Fe.value.getBBox();
1035
- K.value && K.value.setAttribute("viewBox", `${t} ${o} ${l + Math.min(0, t)} ${a + Math.min(0, o)}`);
1180
+ K.value && K.value.setAttribute(
1181
+ "viewBox",
1182
+ `${t} ${o} ${l + Math.min(0, t)} ${a + Math.min(0, o)}`
1183
+ );
1036
1184
  }
1037
1185
  const rt = m(() => {
1038
1186
  const t = e.value.table.useDialog && !e.value.table.show, o = x.value.showTable;
@@ -1065,9 +1213,12 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
1065
1213
  }
1066
1214
  };
1067
1215
  });
1068
- je(() => x.value.showTable, (t) => {
1069
- e.value.table.show || (t && e.value.table.useDialog && ze.value ? ze.value.open() : "close" in ze.value && ze.value.close());
1070
- });
1216
+ je(
1217
+ () => x.value.showTable,
1218
+ (t) => {
1219
+ e.value.table.show || (t && e.value.table.useDialog && ze.value ? ze.value.open() : "close" in ze.value && ze.value.close());
1220
+ }
1221
+ );
1071
1222
  function rl() {
1072
1223
  x.value.showTable = !1, tt.value && tt.value.setTableIconState(!1);
1073
1224
  }
@@ -1086,7 +1237,14 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
1086
1237
  try {
1087
1238
  if (t) {
1088
1239
  const { blob: o, url: l, text: a, dataUrl: r } = await ql();
1089
- await Promise.resolve(e.value.userOptions.callbacks.svg({ blob: o, url: l, text: a, dataUrl: r }));
1240
+ await Promise.resolve(
1241
+ e.value.userOptions.callbacks.svg({
1242
+ blob: o,
1243
+ url: l,
1244
+ text: a,
1245
+ dataUrl: r
1246
+ })
1247
+ );
1090
1248
  } else
1091
1249
  await Promise.resolve(Gl());
1092
1250
  } finally {
@@ -1109,13 +1267,17 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
1109
1267
  config: e.value,
1110
1268
  dataset: Q.value
1111
1269
  }), !e.value.userOptions.callbacks.altCopy) {
1112
- console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
1270
+ console.warn(
1271
+ "Vue Data UI - A callback must be set for `altCopy` in userOptions."
1272
+ );
1113
1273
  return;
1114
1274
  }
1115
- await Promise.resolve(e.value.userOptions.callbacks.altCopy({
1116
- config: e.value,
1117
- dataset: Q.value
1118
- }));
1275
+ await Promise.resolve(
1276
+ e.value.userOptions.callbacks.altCopy({
1277
+ config: e.value,
1278
+ dataset: Q.value
1279
+ })
1280
+ );
1119
1281
  }
1120
1282
  function jl() {
1121
1283
  H.value = null, h.value = !0;
@@ -1126,7 +1288,8 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
1126
1288
  function Ql(t) {
1127
1289
  if (!K.value || ut.value || document.activeElement !== K.value || !T.value.length) return;
1128
1290
  const o = ["ArrowLeft", "ArrowUp"].includes(t.key), l = ["ArrowRight", "ArrowDown"].includes(t.key), a = t.key === "Enter" || t.key === " ", r = t.key === "Escape";
1129
- if (!o && !l && !a && !r) return;
1291
+ if (!o && !l && !a && !r)
1292
+ return;
1130
1293
  if (t.preventDefault(), t.stopPropagation(), r) {
1131
1294
  H.value = null, G.value = "pointer", oe.value = !1, z.value = null;
1132
1295
  return;
@@ -1312,7 +1475,9 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
1312
1475
  onToggleTooltip: ul,
1313
1476
  onToggleAnnotator: Ht,
1314
1477
  onCopyAlt: cl,
1315
- style: L({ visibility: s(Te) ? s(Z) ? "visible" : "hidden" : "visible" })
1478
+ style: L({
1479
+ visibility: s(Te) ? s(Z) ? "visible" : "hidden" : "visible"
1480
+ })
1316
1481
  }, Wt({ _: 2 }, [
1317
1482
  t.$slots.menuIcon ? {
1318
1483
  name: "menuIcon",
@@ -1398,7 +1563,11 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
1398
1563
  ref: K,
1399
1564
  xmlns: s(da),
1400
1565
  "aria-describedby": `chart-instructions-${p.value}`,
1401
- class: qt({ "vue-data-ui-fullscreen--on": Xe.value, "vue-data-ui-fulscreen--off": !Xe.value, "vue-data-ui-svg": !0 }),
1566
+ class: qt({
1567
+ "vue-data-ui-fullscreen--on": Xe.value,
1568
+ "vue-data-ui-fulscreen--off": !Xe.value,
1569
+ "vue-data-ui-svg": !0
1570
+ }),
1402
1571
  viewBox: `0 0 ${n.value.width <= 0 ? 10 : n.value.width} ${n.value.height <= 0 ? 10 : n.value.height}`,
1403
1572
  style: L(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};${He.value.css}`),
1404
1573
  tabindex: "0",
@@ -1431,7 +1600,10 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
1431
1600
  }, [
1432
1601
  w("stop", {
1433
1602
  offset: "0%",
1434
- "stop-color": s(Lt)(e.value.style.chart.backgroundColor, 0),
1603
+ "stop-color": s(Lt)(
1604
+ e.value.style.chart.backgroundColor,
1605
+ 0
1606
+ ),
1435
1607
  "stop-opacity": "0"
1436
1608
  }, null, 8, ja),
1437
1609
  w("stop", {
@@ -1441,11 +1613,17 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
1441
1613
  }, null, 8, Ka),
1442
1614
  w("stop", {
1443
1615
  offset: `${(1 - he.value / O.value / 2) * 100}%`,
1444
- "stop-color": s(Lt)("#FFFFFF", e.value.style.chart.gradientIntensity)
1616
+ "stop-color": s(Lt)(
1617
+ "#FFFFFF",
1618
+ e.value.style.chart.gradientIntensity
1619
+ )
1445
1620
  }, null, 8, Qa),
1446
1621
  w("stop", {
1447
1622
  offset: "100%",
1448
- "stop-color": s(Lt)(e.value.style.chart.backgroundColor, 0),
1623
+ "stop-color": s(Lt)(
1624
+ e.value.style.chart.backgroundColor,
1625
+ 0
1626
+ ),
1449
1627
  "stop-opacity": "0"
1450
1628
  }, null, 8, Ja)
1451
1629
  ], 8, Wa)) : d("", !0)
@@ -1515,7 +1693,9 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
1515
1693
  }, null, 8, ro)
1516
1694
  ], 8, uo)
1517
1695
  ]),
1518
- e.value.type === "classic" ? (u(!0), i(P, { key: 3 }, J(q.value.filter((l) => !l.ghost), (l, a) => (u(), i("g", null, [
1696
+ e.value.type === "classic" ? (u(!0), i(P, { key: 3 }, J(q.value.filter(
1697
+ (l) => !l.ghost
1698
+ ), (l, a) => (u(), i("g", null, [
1519
1699
  ee(l) && x.value.dataLabels.show ? (u(), i("path", {
1520
1700
  key: 0,
1521
1701
  d: s(R)[a]?.connectorPath || s(fa)(
@@ -1537,7 +1717,9 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
1537
1717
  filter: Be(a)
1538
1718
  }, null, 8, io)) : d("", !0)
1539
1719
  ]))), 256)) : d("", !0),
1540
- e.value.type === "polar" ? (u(!0), i(P, { key: 4 }, J(q.value.filter((l) => !l.ghost), (l, a) => (u(), i("g", null, [
1720
+ e.value.type === "polar" ? (u(!0), i(P, { key: 4 }, J(q.value.filter(
1721
+ (l) => !l.ghost
1722
+ ), (l, a) => (u(), i("g", null, [
1541
1723
  ee(l) && x.value.dataLabels.show ? (u(), i("path", {
1542
1724
  key: 0,
1543
1725
  d: `M ${s(X)({ initX: v.value[a].middlePoint.x, initY: v.value[a].middlePoint.y, offset: 24, centerX: n.value.width / 2, centerY: n.value.height / 2 }).x},${s(X)({ initX: v.value[a].middlePoint.x, initY: v.value[a].middlePoint.y, offset: 24, centerX: n.value.width / 2, centerY: n.value.height / 2 }).y} ${v.value[a].middlePoint.x},${v.value[a].middlePoint.y}`,
@@ -1564,7 +1746,10 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
1564
1746
  (u(!0), i(P, null, J(it.dataset, (l, a) => (u(), i("defs", {
1565
1747
  key: `pattern-${l.patternIndex}`
1566
1748
  }, [
1567
- k(t.$slots, "pattern", jt({ ref_for: !0 }, { seriesIndex: a, patternId: `pattern_${p.value}_${a}` }), void 0, !0)
1749
+ k(t.$slots, "pattern", jt({ ref_for: !0 }, {
1750
+ seriesIndex: a,
1751
+ patternId: `pattern_${p.value}_${a}`
1752
+ }), void 0, !0)
1568
1753
  ]))), 128))
1569
1754
  ])) : d("", !0),
1570
1755
  te.value && e.value.type === "classic" ? (u(), i(P, { key: 7 }, [
@@ -1698,7 +1883,9 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
1698
1883
  }, null, 8, Io),
1699
1884
  te.value ? (u(), i(P, { key: 11 }, [
1700
1885
  q.value.length > 1 || e.value.type === "classic" ? (u(), i("g", Fo, [
1701
- (u(!0), i(P, null, J(q.value.filter((l) => !l.ghost), (l, a) => (u(), i("path", {
1886
+ (u(!0), i(P, null, J(q.value.filter(
1887
+ (l) => !l.ghost
1888
+ ), (l, a) => (u(), i("path", {
1702
1889
  d: e.value.type === "classic" ? l.arcSlice : v.value[a].path,
1703
1890
  stroke: e.value.style.chart.layout.donut.borderColorAuto ? e.value.style.chart.backgroundColor : e.value.style.chart.layout.donut.borderColor,
1704
1891
  fill: z.value === a ? e.value.style.chart.layout.donut.selectedColor : "transparent",
@@ -1708,7 +1895,10 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
1708
1895
  seriesIndex: l.seriesIndex,
1709
1896
  show: !0
1710
1897
  }),
1711
- onMouseleave: (r) => fe({ datapoint: l, seriesIndex: l.seriesIndex }),
1898
+ onMouseleave: (r) => fe({
1899
+ datapoint: l,
1900
+ seriesIndex: l.seriesIndex
1901
+ }),
1712
1902
  onClick: (r) => ce(l, a)
1713
1903
  }, null, 40, zo))), 256))
1714
1904
  ])) : (u(), i("g", Oo, [
@@ -1723,7 +1913,10 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
1723
1913
  seriesIndex: q.value[0].seriesIndex,
1724
1914
  show: !0
1725
1915
  })),
1726
- onMouseleave: o[1] || (o[1] = (l) => fe({ datapoint: q.value[0], seriesIndex: q.value[0].seriesIndex })),
1916
+ onMouseleave: o[1] || (o[1] = (l) => fe({
1917
+ datapoint: q.value[0],
1918
+ seriesIndex: q.value[0].seriesIndex
1919
+ })),
1727
1920
  onClick: o[2] || (o[2] = (l) => ce(q.value[0], t.i))
1728
1921
  }, null, 40, Yo)
1729
1922
  ]))
@@ -1788,7 +1981,9 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
1788
1981
  })
1789
1982
  )), 13, No)) : d("", !0)
1790
1983
  ], 512)) : d("", !0),
1791
- (u(!0), i(P, null, J(T.value.filter((l) => !l.ghost), (l, a) => (u(), i("g", {
1984
+ (u(!0), i(P, null, J(T.value.filter(
1985
+ (l) => !l.ghost
1986
+ ), (l, a) => (u(), i("g", {
1792
1987
  filter: Be(a),
1793
1988
  class: qt({ animated: e.value.useCssAnimation }),
1794
1989
  key: l.seriesIndex,
@@ -1805,12 +2000,26 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
1805
2000
  w("div", null, [
1806
2001
  k(t.$slots, "dataLabel", jt({ ref_for: !0 }, {
1807
2002
  datapoint: l,
1808
- isBlur: !e.value.useBlurOnHover || [null, void 0].includes(z.value) || z.value === a,
2003
+ isBlur: !e.value.useBlurOnHover || [null, void 0].includes(
2004
+ z.value
2005
+ ) || z.value === a,
1809
2006
  isSafari: ol.value,
1810
2007
  isVisible: ee(l) && x.value.dataLabels.show,
1811
- textAlign: s(A)(l, !0, 16, !0).anchor,
1812
- flexAlign: s(A)(l, !0, 16).anchor,
1813
- percentage: tl(l, T.value)
2008
+ textAlign: s(A)(
2009
+ l,
2010
+ !0,
2011
+ 16,
2012
+ !0
2013
+ ).anchor,
2014
+ flexAlign: s(A)(
2015
+ l,
2016
+ !0,
2017
+ 16
2018
+ ).anchor,
2019
+ percentage: tl(
2020
+ l,
2021
+ T.value
2022
+ )
1814
2023
  }), void 0, !0)
1815
2024
  ])
1816
2025
  ], 8, Eo))
@@ -1824,7 +2033,9 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
1824
2033
  stroke: e.value.style.chart.backgroundColor,
1825
2034
  "stroke-width": 1,
1826
2035
  r: 3,
1827
- filter: !e.value.useBlurOnHover || [null, void 0].includes(z.value) || z.value === a ? "" : `url(#blur_${p.value})`,
2036
+ filter: !e.value.useBlurOnHover || [null, void 0].includes(
2037
+ z.value
2038
+ ) || z.value === a ? "" : `url(#blur_${p.value})`,
1828
2039
  onClick: (r) => ce(l, a),
1829
2040
  onMouseenter: (r) => ie({
1830
2041
  datapoint: l,
@@ -1832,7 +2043,10 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
1832
2043
  seriesIndex: l.seriesIndex,
1833
2044
  show: !0
1834
2045
  }),
1835
- onMouseleave: (r) => fe({ datapoint: l, seriesIndex: l.seriesIndex })
2046
+ onMouseleave: (r) => fe({
2047
+ datapoint: l,
2048
+ seriesIndex: l.seriesIndex
2049
+ })
1836
2050
  }, null, 40, Ho)) : d("", !0),
1837
2051
  e.value.style.chart.layout.labels.dataLabels.oneLine || s(R)[a] ? Pt((u(), i("text", {
1838
2052
  key: 1,
@@ -1847,10 +2061,20 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
1847
2061
  seriesIndex: l.seriesIndex,
1848
2062
  show: !0
1849
2063
  }),
1850
- onMouseleave: (r) => fe({ datapoint: l, seriesIndex: l.seriesIndex }),
1851
- innerHTML: Yl(l, a, !!s(R)[a])
2064
+ onMouseleave: (r) => fe({
2065
+ datapoint: l,
2066
+ seriesIndex: l.seriesIndex
2067
+ }),
2068
+ innerHTML: Yl(
2069
+ l,
2070
+ a,
2071
+ !!s(R)[a]
2072
+ )
1852
2073
  }, null, 40, Go)), [
1853
- [St, ee(l) && x.value.dataLabels.show]
2074
+ [
2075
+ St,
2076
+ ee(l) && x.value.dataLabels.show
2077
+ ]
1854
2078
  ]) : (u(), i(P, { key: 2 }, [
1855
2079
  Pt(w("text", {
1856
2080
  class: "vue-data-ui-datalabel-value",
@@ -1867,9 +2091,15 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
1867
2091
  seriesIndex: l.seriesIndex,
1868
2092
  show: !0
1869
2093
  }),
1870
- onMouseleave: (r) => fe({ datapoint: l, seriesIndex: l.seriesIndex })
2094
+ onMouseleave: (r) => fe({
2095
+ datapoint: l,
2096
+ seriesIndex: l.seriesIndex
2097
+ })
1871
2098
  }, ye(At(l)), 45, qo), [
1872
- [St, ee(l) && x.value.dataLabels.show]
2099
+ [
2100
+ St,
2101
+ ee(l) && x.value.dataLabels.show
2102
+ ]
1873
2103
  ]),
1874
2104
  Pt(w("text", {
1875
2105
  class: "vue-data-ui-datalabel-name",
@@ -1886,29 +2116,55 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
1886
2116
  seriesIndex: l.seriesIndex,
1887
2117
  show: !0
1888
2118
  }),
1889
- onMouseleave: (r) => fe({ datapoint: l, seriesIndex: l.seriesIndex }),
2119
+ onMouseleave: (r) => fe({
2120
+ datapoint: l,
2121
+ seriesIndex: l.seriesIndex
2122
+ }),
1890
2123
  innerHTML: s(wl)({
1891
2124
  content: l.name,
1892
2125
  fontSize: f.value,
1893
2126
  fill: e.value.style.chart.layout.labels.name.color,
1894
- x: s(R)[a]?.labelX ?? s(A)(l, !0, 12).x,
1895
- y: (s(R)[a]?.labelY ?? s(we)(l)) + f.value
2127
+ x: s(R)[a]?.labelX ?? s(A)(
2128
+ l,
2129
+ !0,
2130
+ 12
2131
+ ).x,
2132
+ y: (s(R)[a]?.labelY ?? s(we)(
2133
+ l
2134
+ )) + f.value
1896
2135
  })
1897
2136
  }, null, 44, Wo), [
1898
- [St, ee(l) && x.value.dataLabels.show && e.value.style.chart.layout.labels.name.show]
2137
+ [
2138
+ St,
2139
+ ee(l) && x.value.dataLabels.show && e.value.style.chart.layout.labels.name.show
2140
+ ]
1899
2141
  ])
1900
2142
  ], 64))
1901
2143
  ], 64)) : d("", !0),
1902
2144
  e.value.type === "polar" ? (u(), i(P, { key: 1 }, [
1903
2145
  ee(l) && x.value.dataLabels.show ? (u(), i("circle", {
1904
2146
  key: 0,
1905
- cx: s(X)({ initX: v.value[a].middlePoint.x, initY: v.value[a].middlePoint.y, offset: 24, centerX: n.value.width / 2, centerY: n.value.height / 2 }).x,
1906
- cy: s(X)({ initX: v.value[a].middlePoint.x, initY: v.value[a].middlePoint.y, offset: 24, centerX: n.value.width / 2, centerY: n.value.height / 2 }).y,
2147
+ cx: s(X)({
2148
+ initX: v.value[a].middlePoint.x,
2149
+ initY: v.value[a].middlePoint.y,
2150
+ offset: 24,
2151
+ centerX: n.value.width / 2,
2152
+ centerY: n.value.height / 2
2153
+ }).x,
2154
+ cy: s(X)({
2155
+ initX: v.value[a].middlePoint.x,
2156
+ initY: v.value[a].middlePoint.y,
2157
+ offset: 24,
2158
+ centerX: n.value.width / 2,
2159
+ centerY: n.value.height / 2
2160
+ }).y,
1907
2161
  fill: l.color,
1908
2162
  stroke: e.value.style.chart.backgroundColor,
1909
2163
  "stroke-width": 1,
1910
2164
  r: 3,
1911
- filter: !e.value.useBlurOnHover || [null, void 0].includes(z.value) || z.value === a ? "" : `url(#blur_${p.value})`,
2165
+ filter: !e.value.useBlurOnHover || [null, void 0].includes(
2166
+ z.value
2167
+ ) || z.value === a ? "" : `url(#blur_${p.value})`,
1912
2168
  onClick: (r) => ce(l, a),
1913
2169
  onMouseenter: (r) => ie({
1914
2170
  datapoint: l,
@@ -1916,7 +2172,10 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
1916
2172
  seriesIndex: l.seriesIndex,
1917
2173
  show: !0
1918
2174
  }),
1919
- onMouseleave: (r) => fe({ datapoint: l, seriesIndex: l.seriesIndex }),
2175
+ onMouseleave: (r) => fe({
2176
+ datapoint: l,
2177
+ seriesIndex: l.seriesIndex
2178
+ }),
1920
2179
  style: L({
1921
2180
  transition: Y.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
1922
2181
  })
@@ -1924,9 +2183,23 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
1924
2183
  e.value.style.chart.layout.labels.dataLabels.oneLine ? Pt((u(), i("text", {
1925
2184
  key: 1,
1926
2185
  class: "vue-data-ui-datalabel-inline",
1927
- "text-anchor": Se(v.value[a].middlePoint),
1928
- x: s(X)({ initX: v.value[a].middlePoint.x, initY: v.value[a].middlePoint.y, offset: 42, centerX: n.value.width / 2, centerY: n.value.height / 2 }).x,
1929
- y: s(X)({ initX: v.value[a].middlePoint.x, initY: v.value[a].middlePoint.y, offset: 42, centerX: n.value.width / 2, centerY: n.value.height / 2 }).y,
2186
+ "text-anchor": Se(
2187
+ v.value[a].middlePoint
2188
+ ),
2189
+ x: s(X)({
2190
+ initX: v.value[a].middlePoint.x,
2191
+ initY: v.value[a].middlePoint.y,
2192
+ offset: 42,
2193
+ centerX: n.value.width / 2,
2194
+ centerY: n.value.height / 2
2195
+ }).x,
2196
+ y: s(X)({
2197
+ initX: v.value[a].middlePoint.x,
2198
+ initY: v.value[a].middlePoint.y,
2199
+ offset: 42,
2200
+ centerX: n.value.width / 2,
2201
+ centerY: n.value.height / 2
2202
+ }).y,
1930
2203
  style: L({
1931
2204
  transition: Y.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
1932
2205
  }),
@@ -1937,17 +2210,37 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
1937
2210
  seriesIndex: l.seriesIndex,
1938
2211
  show: !0
1939
2212
  }),
1940
- onMouseleave: (r) => fe({ datapoint: l, seriesIndex: l.seriesIndex }),
2213
+ onMouseleave: (r) => fe({
2214
+ datapoint: l,
2215
+ seriesIndex: l.seriesIndex
2216
+ }),
1941
2217
  innerHTML: Dl(l, a)
1942
2218
  }, null, 44, Ko)), [
1943
- [St, ee(l) && x.value.dataLabels.show]
2219
+ [
2220
+ St,
2221
+ ee(l) && x.value.dataLabels.show
2222
+ ]
1944
2223
  ]) : (u(), i(P, { key: 2 }, [
1945
2224
  ee(l) && x.value.dataLabels.show ? (u(), i("text", {
1946
2225
  key: 0,
1947
2226
  class: "vue-data-ui-datalabel-value",
1948
- "text-anchor": Se(v.value[a].middlePoint),
1949
- x: s(X)({ initX: v.value[a].middlePoint.x, initY: v.value[a].middlePoint.y, offset: 42, centerX: n.value.width / 2, centerY: n.value.height / 2 }).x,
1950
- y: s(X)({ initX: v.value[a].middlePoint.x, initY: v.value[a].middlePoint.y, offset: 42, centerX: n.value.width / 2, centerY: n.value.height / 2 }).y,
2227
+ "text-anchor": Se(
2228
+ v.value[a].middlePoint
2229
+ ),
2230
+ x: s(X)({
2231
+ initX: v.value[a].middlePoint.x,
2232
+ initY: v.value[a].middlePoint.y,
2233
+ offset: 42,
2234
+ centerX: n.value.width / 2,
2235
+ centerY: n.value.height / 2
2236
+ }).x,
2237
+ y: s(X)({
2238
+ initX: v.value[a].middlePoint.x,
2239
+ initY: v.value[a].middlePoint.y,
2240
+ offset: 42,
2241
+ centerX: n.value.width / 2,
2242
+ centerY: n.value.height / 2
2243
+ }).y,
1951
2244
  fill: e.value.style.chart.layout.labels.percentage.color,
1952
2245
  "font-size": g.value,
1953
2246
  style: L({
@@ -1961,14 +2254,31 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
1961
2254
  seriesIndex: l.seriesIndex,
1962
2255
  show: !0
1963
2256
  }),
1964
- onMouseleave: (r) => fe({ datapoint: l, seriesIndex: l.seriesIndex })
2257
+ onMouseleave: (r) => fe({
2258
+ datapoint: l,
2259
+ seriesIndex: l.seriesIndex
2260
+ })
1965
2261
  }, ye(At(l)), 45, Qo)) : d("", !0),
1966
2262
  ee(l) && x.value.dataLabels.show && e.value.style.chart.layout.labels.name.show ? (u(), i("text", {
1967
2263
  key: 1,
1968
2264
  class: "vue-data-ui-datalabel-name",
1969
- "text-anchor": Se(v.value[a].middlePoint),
1970
- x: s(X)({ initX: v.value[a].middlePoint.x, initY: v.value[a].middlePoint.y, offset: 42, centerX: n.value.width / 2, centerY: n.value.height / 2 }).x,
1971
- y: s(X)({ initX: v.value[a].middlePoint.x, initY: v.value[a].middlePoint.y, offset: 42, centerX: n.value.width / 2, centerY: n.value.height / 2 }).y + f.value * 1.2,
2265
+ "text-anchor": Se(
2266
+ v.value[a].middlePoint
2267
+ ),
2268
+ x: s(X)({
2269
+ initX: v.value[a].middlePoint.x,
2270
+ initY: v.value[a].middlePoint.y,
2271
+ offset: 42,
2272
+ centerX: n.value.width / 2,
2273
+ centerY: n.value.height / 2
2274
+ }).x,
2275
+ y: s(X)({
2276
+ initX: v.value[a].middlePoint.x,
2277
+ initY: v.value[a].middlePoint.y,
2278
+ offset: 42,
2279
+ centerX: n.value.width / 2,
2280
+ centerY: n.value.height / 2
2281
+ }).y + f.value * 1.2,
1972
2282
  fill: e.value.style.chart.layout.labels.name.color,
1973
2283
  "font-size": f.value,
1974
2284
  style: L({
@@ -1982,13 +2292,28 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
1982
2292
  seriesIndex: l.seriesIndex,
1983
2293
  show: !0
1984
2294
  }),
1985
- onMouseleave: (r) => fe({ datapoint: l, seriesIndex: l.seriesIndex }),
2295
+ onMouseleave: (r) => fe({
2296
+ datapoint: l,
2297
+ seriesIndex: l.seriesIndex
2298
+ }),
1986
2299
  innerHTML: s(wl)({
1987
2300
  content: l.name,
1988
2301
  fontSize: f.value,
1989
2302
  fill: e.value.style.chart.layout.labels.name.color,
1990
- x: s(X)({ initX: v.value[a].middlePoint.x, initY: v.value[a].middlePoint.y, offset: 42, centerX: n.value.width / 2, centerY: n.value.height / 2 }).x,
1991
- y: s(X)({ initX: v.value[a].middlePoint.x, initY: v.value[a].middlePoint.y, offset: 42, centerX: n.value.width / 2, centerY: n.value.height / 2 }).y + f.value * 1.2
2303
+ x: s(X)({
2304
+ initX: v.value[a].middlePoint.x,
2305
+ initY: v.value[a].middlePoint.y,
2306
+ offset: 42,
2307
+ centerX: n.value.width / 2,
2308
+ centerY: n.value.height / 2
2309
+ }).x,
2310
+ y: s(X)({
2311
+ initX: v.value[a].middlePoint.x,
2312
+ initY: v.value[a].middlePoint.y,
2313
+ offset: 42,
2314
+ centerX: n.value.width / 2,
2315
+ centerY: n.value.height / 2
2316
+ }).y + f.value * 1.2
1992
2317
  })
1993
2318
  }, null, 44, Jo)) : d("", !0)
1994
2319
  ], 64))
@@ -2005,13 +2330,49 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
2005
2330
  }, [
2006
2331
  w("div", null, [
2007
2332
  k(t.$slots, "plot-comment", {
2008
- plot: { ...l, textAlign: s(A)(l, !0, 16, !0).anchor, flexAlign: s(A)(l, !0, 16).anchor, isFirstLoad: Y.value }
2333
+ plot: {
2334
+ ...l,
2335
+ textAlign: s(A)(
2336
+ l,
2337
+ !0,
2338
+ 16,
2339
+ !0
2340
+ ).anchor,
2341
+ flexAlign: s(A)(
2342
+ l,
2343
+ !0,
2344
+ 16
2345
+ ).anchor,
2346
+ isFirstLoad: Y.value
2347
+ }
2009
2348
  }, void 0, !0)
2010
2349
  ])
2011
2350
  ], 8, en)) : d("", !0),
2012
2351
  ee(l) && e.value.type === "polar" ? (u(), i("foreignObject", {
2013
2352
  key: 1,
2014
- x: e.value.style.chart.comments.offsetX + (Se(v.value[a].middlePoint) === "end" ? s(X)({ initX: v.value[a].middlePoint.x, initY: v.value[a].middlePoint.y, offset: 42, centerX: n.value.width / 2, centerY: n.value.height / 2 }).x - e.value.style.chart.comments.width : Se(v.value[a].middlePoint) === "middle" ? s(X)({ initX: v.value[a].middlePoint.x, initY: v.value[a].middlePoint.y, offset: 42, centerX: n.value.width / 2, centerY: n.value.height / 2 }).x - e.value.style.chart.comments.width / 2 : s(X)({ initX: v.value[a].middlePoint.x, initY: v.value[a].middlePoint.y, offset: 42, centerX: n.value.width / 2, centerY: n.value.height / 2 }).x),
2353
+ x: e.value.style.chart.comments.offsetX + (Se(
2354
+ v.value[a].middlePoint
2355
+ ) === "end" ? s(X)({
2356
+ initX: v.value[a].middlePoint.x,
2357
+ initY: v.value[a].middlePoint.y,
2358
+ offset: 42,
2359
+ centerX: n.value.width / 2,
2360
+ centerY: n.value.height / 2
2361
+ }).x - e.value.style.chart.comments.width : Se(
2362
+ v.value[a].middlePoint
2363
+ ) === "middle" ? s(X)({
2364
+ initX: v.value[a].middlePoint.x,
2365
+ initY: v.value[a].middlePoint.y,
2366
+ offset: 42,
2367
+ centerX: n.value.width / 2,
2368
+ centerY: n.value.height / 2
2369
+ }).x - e.value.style.chart.comments.width / 2 : s(X)({
2370
+ initX: v.value[a].middlePoint.x,
2371
+ initY: v.value[a].middlePoint.y,
2372
+ offset: 42,
2373
+ centerX: n.value.width / 2,
2374
+ centerY: n.value.height / 2
2375
+ }).x),
2015
2376
  y: Ml(v.value[a]) + e.value.style.chart.comments.offsetY,
2016
2377
  width: e.value.style.chart.comments.width,
2017
2378
  height: "200",
@@ -2023,7 +2384,16 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
2023
2384
  }, [
2024
2385
  w("div", null, [
2025
2386
  k(t.$slots, "plot-comment", {
2026
- plot: { ...l, textAlign: Se(v.value[a].middlePoint), flexAlign: Se(v.value[a].middlePoint), isFirstLoad: Y.value }
2387
+ plot: {
2388
+ ...l,
2389
+ textAlign: Se(
2390
+ v.value[a].middlePoint
2391
+ ),
2392
+ flexAlign: Se(
2393
+ v.value[a].middlePoint
2394
+ ),
2395
+ isFirstLoad: Y.value
2396
+ }
2027
2397
  }, void 0, !0)
2028
2398
  ])
2029
2399
  ], 12, tn)) : d("", !0)
@@ -2039,11 +2409,16 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
2039
2409
  ], 512)
2040
2410
  ], 46, Ha)),
2041
2411
  t.$slots.hint ? (u(), i("div", ln, [
2042
- k(t.$slots, "hint", W(j({ hint: e.value.a11y.translations.keyboardNavigation, isVisible: h.value })), void 0, !0)
2412
+ k(t.$slots, "hint", W(j({
2413
+ hint: e.value.a11y.translations.keyboardNavigation,
2414
+ isVisible: h.value
2415
+ })), void 0, !0)
2043
2416
  ])) : d("", !0)
2044
2417
  ]),
2045
2418
  t.$slots.watermark ? (u(), i("div", an, [
2046
- k(t.$slots, "watermark", W(j({ isPrinting: s(Ge) || s(xt) || Ve.value || Ee.value })), void 0, !0)
2419
+ k(t.$slots, "watermark", W(j({
2420
+ isPrinting: s(Ge) || s(xt) || Ve.value || Ee.value
2421
+ })), void 0, !0)
2047
2422
  ])) : d("", !0),
2048
2423
  w("div", {
2049
2424
  id: `legend-bottom-${p.value}`
@@ -2226,7 +2601,7 @@ const Ra = ["id"], Va = ["id"], Ea = ["id"], Ua = { style: { position: "relative
2226
2601
  ], !0)
2227
2602
  ], 46, Ra));
2228
2603
  }
2229
- }, Ln = /* @__PURE__ */ Xa(rn, [["__scopeId", "data-v-efe06837"]]);
2604
+ }, Ln = /* @__PURE__ */ Xa(rn, [["__scopeId", "data-v-edb07b02"]]);
2230
2605
  export {
2231
2606
  Ln as default
2232
2607
  };