vue-data-ui 3.22.14 → 3.23.1

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 (229) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +13 -1
  3. package/dist/{Arrow-Ci7Burxz.js → Arrow-CF0VFcBH.js} +1 -1
  4. package/dist/{BaseDraggableDialog-hyW32gLf.js → BaseDraggableDialog-LoqqwRtV.js} +2 -2
  5. package/dist/{BaseIcon-DJbOzCDs.js → BaseIcon-BfndwIWE.js} +4 -3
  6. package/dist/{BaseLegendToggle-DJU4VsLO.js → BaseLegendToggle-DZVucLnv.js} +1 -1
  7. package/dist/{BaseZoomControls-CwhpsHIL.js → BaseZoomControls-BZvCnZEi.js} +2 -2
  8. package/dist/{ColorPicker-BVWrKEQl.js → ColorPicker--ayG2YHf.js} +2 -2
  9. package/dist/{DataTable-rIsBpJMt.js → DataTable-BbKgJ5UI.js} +2 -2
  10. package/dist/HillActions-BD9j_sOU.js +187 -0
  11. package/dist/{Legend-DSPDFP3n.js → Legend-CQxUgOd-.js} +2 -2
  12. package/dist/{NonSvgPenAndPaper-DZyYthbM.js → NonSvgPenAndPaper-4ypecDg1.js} +22 -22
  13. package/dist/{PackageVersion-BUmadjVO.js → PackageVersion-D6d8SCp9.js} +1 -1
  14. package/dist/{PenAndPaper-D--sbRMA.js → PenAndPaper-DAE-tnEQ.js} +14 -14
  15. package/dist/{Shape-Dmh9jBFh.js → Shape-C21CMlWS.js} +3 -3
  16. package/dist/Slicer-CIk57nL4.js +1163 -0
  17. package/dist/{SlicerPreview-CCIb3v8u.js → SlicerPreview-wUw1hFwe.js} +384 -370
  18. package/dist/{SparkTooltip-GjWLZ39s.js → SparkTooltip-CjsbIhzi.js} +6 -6
  19. package/dist/Title-BE3qg9xl.js +87 -0
  20. package/dist/{Tooltip-CEbqzIhL.js → Tooltip-DhjyfHwz.js} +2 -2
  21. package/dist/{UserOptions-BknvMNU1.js → UserOptions-Dt98of5H.js} +2 -2
  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-hill.js +2 -0
  49. package/dist/components/vue-ui-history-plot.js +1 -1
  50. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  51. package/dist/components/vue-ui-icon.js +1 -1
  52. package/dist/components/vue-ui-kpi.js +1 -1
  53. package/dist/components/vue-ui-mini-loader.js +1 -1
  54. package/dist/components/vue-ui-molecule.js +1 -1
  55. package/dist/components/vue-ui-mood-radar.js +1 -1
  56. package/dist/components/vue-ui-nested-donuts.js +1 -1
  57. package/dist/components/vue-ui-onion.js +1 -1
  58. package/dist/components/vue-ui-parallel-coordinate-plot.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/composables.js +1 -1
  93. package/dist/{dom-to-png-BbPRUKX6.js → dom-to-png-BYIvdTe8.js} +1 -1
  94. package/dist/exposedLib-C0DPCgFj.js +28 -0
  95. package/dist/{geoProjections-BCP_PoiB.js → geoProjections-CEo3dVaL.js} +1 -1
  96. package/dist/{img-zY7_pJz1.js → img-Bnokohej.js} +1 -1
  97. package/dist/{labelUtils-DYdYmN_Q.js → labelUtils-BeVpDvTJ.js} +1 -1
  98. package/dist/{lib-C-QGo8GG.js → lib-Bttd6u5E.js} +27 -12
  99. package/dist/{package-QmuZcjWs.js → package-KvlL5CqE.js} +1 -1
  100. package/dist/{pdf-CuSS-5_j.js → pdf-CVIDfCrS.js} +1 -1
  101. package/dist/{render-common-DasqIYp9.js → render-common-oDYGTc5P.js} +21 -21
  102. package/dist/ssr/vue-ui-donut.js +1 -1
  103. package/dist/ssr/vue-ui-xy.js +1 -1
  104. package/dist/ssr.js +2 -2
  105. package/dist/style.css +1 -1
  106. package/dist/types/vue-data-ui.d.ts +496 -0
  107. package/dist/types/vue-ui-hill.d.ts +90 -0
  108. package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +122 -0
  109. package/dist/{useConfig-C0V0eG7L.js → useConfig-D3scuR88.js} +774 -477
  110. package/dist/useHints-Dq_w2E8B.js +66 -0
  111. package/dist/{useNestedProp-BYfiWVP8.js → useNestedProp-vPNvh7rV.js} +5 -3
  112. package/dist/{useObjectBindings-Djwpii4d.js → useObjectBindings-Brg8mm5J.js} +3 -2
  113. package/dist/{usePrinter-C5ordS-4.js → usePrinter-DN5bYhTG.js} +2 -2
  114. package/dist/{useSvgExport-Ba9qBr9M.js → useSvgExport-DH-FfcqQ.js} +1 -1
  115. package/dist/{useTimeLabels-B9CEuiLZ.js → useTimeLabels-d2f-W1L4.js} +2 -4
  116. package/dist/{useTooltipPosition-BsRysTrw.js → useTooltipPosition-DifeoeQW.js} +13 -13
  117. package/dist/useTransitions-g_zBREk2.js +39 -0
  118. package/dist/utils.js +14 -14
  119. package/dist/{vue-data-ui-D3jZ4lg1.js → vue-data-ui-DGWDPCwC.js} +85 -81
  120. package/dist/vue-data-ui.js +77 -76
  121. package/dist/vue-ui-3d-bar-C_Su9fve.js +1849 -0
  122. package/dist/{vue-ui-accordion-FimGHtuy.js → vue-ui-accordion-BxGriZik.js} +4 -4
  123. package/dist/vue-ui-age-pyramid-D4k1MkAL.js +1264 -0
  124. package/dist/vue-ui-annotator-CCtnM8Rv.js +2886 -0
  125. package/dist/vue-ui-bullet-DLZr2Uk8.js +724 -0
  126. package/dist/{vue-ui-bump-CG3WTTFy.js → vue-ui-bump-CcdzJZ9n.js} +334 -297
  127. package/dist/{vue-ui-candlestick-C3smYvQA.js → vue-ui-candlestick-EEEt7ORC.js} +468 -442
  128. package/dist/vue-ui-carousel-table-BicIpNAD.js +463 -0
  129. package/dist/{vue-ui-chestnut-i7FYoqi8.js → vue-ui-chestnut-BI7mC5dd.js} +523 -497
  130. package/dist/{vue-ui-chord-DCZo55QA.js → vue-ui-chord-DXaq8ZMu.js} +432 -426
  131. package/dist/vue-ui-circle-pack-XHJBMG51.js +1659 -0
  132. package/dist/{vue-ui-cursor-DEf_l0Xc.js → vue-ui-cursor-BqHr0n1Z.js} +61 -61
  133. package/dist/{vue-ui-dag-beo3-quD.js → vue-ui-dag-jMLVoQkb.js} +677 -674
  134. package/dist/vue-ui-dashboard-DVAUFETR.js +520 -0
  135. package/dist/{vue-ui-digits-BnMqGAhl.js → vue-ui-digits-Dy4gG6qm.js} +59 -51
  136. package/dist/vue-ui-donut-C0cWRLbU.js +2441 -0
  137. package/dist/{vue-ui-donut-Cr0uTWGk.js → vue-ui-donut-CYpxGBhl.js} +117 -116
  138. package/dist/{vue-ui-donut-evolution-D54NP3FP.js → vue-ui-donut-evolution-DwR47A2r.js} +534 -448
  139. package/dist/vue-ui-dumbbell-DxVbRjKR.js +1582 -0
  140. package/dist/{vue-ui-flow-CnateJjc.js → vue-ui-flow-DWaZF4FS.js} +415 -407
  141. package/dist/vue-ui-funnel-Bmpx5GHR.js +797 -0
  142. package/dist/vue-ui-galaxy-CWBP9oH9.js +1111 -0
  143. package/dist/vue-ui-gauge-ByE_txav.js +953 -0
  144. package/dist/{vue-ui-geo-DnO1RIFR.js → vue-ui-geo-ZA7CBy8f.js} +372 -357
  145. package/dist/{vue-ui-gizmo-DyxeSKIk.js → vue-ui-gizmo-SQCou0bQ.js} +57 -49
  146. package/dist/{vue-ui-heatmap-6Ja5LKYE.js → vue-ui-heatmap-CHd9gs_p.js} +473 -465
  147. package/dist/vue-ui-hill-BT183G-_.js +1768 -0
  148. package/dist/vue-ui-history-plot-BwnlC1mx.js +1723 -0
  149. package/dist/vue-ui-horizontal-bar-BUar2HUH.js +1733 -0
  150. package/dist/vue-ui-kpi-BF_9WWoo.js +104 -0
  151. package/dist/vue-ui-mini-loader-CvfukjXi.js +133 -0
  152. package/dist/vue-ui-molecule-Bi2CKHer.js +958 -0
  153. package/dist/{vue-ui-mood-radar-TWo57SKD.js → vue-ui-mood-radar-_zpbmvJs.js} +349 -341
  154. package/dist/{vue-ui-nested-donuts-W0TpPXIQ.js → vue-ui-nested-donuts-qHZAJ70u.js} +452 -416
  155. package/dist/vue-ui-onion-CB5RYIy5.js +1258 -0
  156. package/dist/vue-ui-parallel-coordinate-plot-BUwt-apg.js +1455 -0
  157. package/dist/{vue-ui-quadrant-BM9VLDcC.js → vue-ui-quadrant-CoROD3er.js} +636 -628
  158. package/dist/vue-ui-quick-chart-BcH7eY4-.js +2397 -0
  159. package/dist/{vue-ui-radar-BVz6Uq2k.js → vue-ui-radar-DGbaXGme.js} +380 -334
  160. package/dist/vue-ui-rating-Bo3zD3yW.js +360 -0
  161. package/dist/vue-ui-relation-circle-DaU1eTsG.js +925 -0
  162. package/dist/vue-ui-ridgeline-BCaGcyfk.js +1664 -0
  163. package/dist/{vue-ui-rings-DEZrfBYX.js → vue-ui-rings-BJUBn8_b.js} +450 -424
  164. package/dist/{vue-ui-scatter-owaIOpD0.js → vue-ui-scatter-Pcft1bUt.js} +721 -702
  165. package/dist/{vue-ui-skeleton-Cxszgax7.js → vue-ui-skeleton-EeJcGbCo.js} +395 -387
  166. package/dist/{vue-ui-smiley-DZBPvVeN.js → vue-ui-smiley-D0gibt5c.js} +128 -120
  167. package/dist/{vue-ui-spark-trend-CW4cLUqP.js → vue-ui-spark-trend-BRoQ7JpQ.js} +132 -117
  168. package/dist/{vue-ui-sparkbar-DeSSqv4v.js → vue-ui-sparkbar-DFp2k7-7.js} +119 -111
  169. package/dist/{vue-ui-sparkgauge-VSiPVgUQ.js → vue-ui-sparkgauge-D0Bq85Hs.js} +76 -68
  170. package/dist/vue-ui-sparkhistogram-BPln7v63.js +590 -0
  171. package/dist/{vue-ui-sparkline-DyZdAQMl.js → vue-ui-sparkline-C6Q45Dqp.js} +391 -365
  172. package/dist/vue-ui-sparkstackbar-CjK4bcQg.js +692 -0
  173. package/dist/vue-ui-stackbar-Ca8EPf3e.js +2353 -0
  174. package/dist/vue-ui-stackline-Pz5WWlWT.js +2467 -0
  175. package/dist/{vue-ui-strip-plot-BquHFKHA.js → vue-ui-strip-plot-Dw4MGDSO.js} +508 -487
  176. package/dist/vue-ui-table-Bjg-ujJu.js +1352 -0
  177. package/dist/vue-ui-table-heatmap-ljeYW8Wc.js +364 -0
  178. package/dist/{vue-ui-table-sparkline-CyGqW88t.js → vue-ui-table-sparkline-iRFmtK5S.js} +207 -181
  179. package/dist/vue-ui-thermometer-D8uiOaeA.js +777 -0
  180. package/dist/{vue-ui-timer-BVjydam-.js → vue-ui-timer-CYw983oL.js} +66 -58
  181. package/dist/vue-ui-tiremarks-CekiW2Ru.js +559 -0
  182. package/dist/vue-ui-treemap-h4VbnqPA.js +1760 -0
  183. package/dist/vue-ui-waffle-cu0w_s6L.js +1412 -0
  184. package/dist/{vue-ui-wheel-D-VVxvxY.js → vue-ui-wheel-tLvJadk5.js} +225 -217
  185. package/dist/{vue-ui-word-cloud-CcRch2t2.js → vue-ui-word-cloud-BjpGSsod.js} +440 -432
  186. package/dist/{vue-ui-world-BJq4PZqF.js → vue-ui-world-B4fCS3jN.js} +350 -342
  187. package/dist/{vue-ui-xy-D64AB5Qy.js → vue-ui-xy-7ZT9IRD8.js} +1639 -1595
  188. package/dist/{vue-ui-xy-canvas-mDqjPtxh.js → vue-ui-xy-canvas-BnLEwBpi.js} +459 -431
  189. package/dist/{vue-ui-xy-B8XBn08L.js → vue-ui-xy-gyNS0yH0.js} +216 -213
  190. package/dist/vue_ui_hill-dnltu0L-.js +368 -0
  191. package/package.json +4 -4
  192. package/dist/Slicer-JdCzBeYM.js +0 -1149
  193. package/dist/Title-Thf71-8D.js +0 -87
  194. package/dist/exposedLib-CfZhN94x.js +0 -25
  195. package/dist/useAutoSizeLabelsInsideViewbox-CSzmRywi.js +0 -50
  196. package/dist/useMountedDelay-BAjrhRJb.js +0 -14
  197. package/dist/vue-ui-3d-bar-D9-jAA5Z.js +0 -1824
  198. package/dist/vue-ui-age-pyramid-D4f-Agb7.js +0 -1246
  199. package/dist/vue-ui-annotator-P9E8hpJl.js +0 -2905
  200. package/dist/vue-ui-bullet-CKg0bShN.js +0 -709
  201. package/dist/vue-ui-carousel-table-BD_fxykj.js +0 -455
  202. package/dist/vue-ui-circle-pack--DUVDQx3.js +0 -1610
  203. package/dist/vue-ui-dashboard-mGLvP0UA.js +0 -512
  204. package/dist/vue-ui-donut-BCLG16Vb.js +0 -2418
  205. package/dist/vue-ui-dumbbell-DZ78WASa.js +0 -1564
  206. package/dist/vue-ui-funnel-DSpUMyDO.js +0 -781
  207. package/dist/vue-ui-galaxy-CxKafV1X.js +0 -1076
  208. package/dist/vue-ui-gauge-CegUK3FD.js +0 -925
  209. package/dist/vue-ui-history-plot-XOexkxeI.js +0 -1725
  210. package/dist/vue-ui-horizontal-bar-BCTdLxjK.js +0 -1689
  211. package/dist/vue-ui-kpi-EenGDZ-l.js +0 -96
  212. package/dist/vue-ui-mini-loader-CA7XxPk7.js +0 -125
  213. package/dist/vue-ui-molecule-5rpD2mlK.js +0 -932
  214. package/dist/vue-ui-onion-CDC9AGh1.js +0 -1199
  215. package/dist/vue-ui-parallel-coordinate-plot-DUOI7HoD.js +0 -1412
  216. package/dist/vue-ui-quick-chart-B8XCKef-.js +0 -2443
  217. package/dist/vue-ui-rating-B7ApWpIJ.js +0 -352
  218. package/dist/vue-ui-relation-circle-LVOR5VZ6.js +0 -917
  219. package/dist/vue-ui-ridgeline-BlyzSJHc.js +0 -1627
  220. package/dist/vue-ui-sparkhistogram-B5252IVr.js +0 -575
  221. package/dist/vue-ui-sparkstackbar-CiLgNzaI.js +0 -674
  222. package/dist/vue-ui-stackbar-Bwz6Z7M4.js +0 -2322
  223. package/dist/vue-ui-stackline-DX3YDRSg.js +0 -2427
  224. package/dist/vue-ui-table-DEhy61ln.js +0 -1339
  225. package/dist/vue-ui-table-heatmap-1LTxQfQX.js +0 -338
  226. package/dist/vue-ui-thermometer-CNvTQJUq.js +0 -769
  227. package/dist/vue-ui-tiremarks-3ZBAE8SA.js +0 -551
  228. package/dist/vue-ui-treemap-FqqXQvZw.js +0 -1727
  229. package/dist/vue-ui-waffle-B37Yx9uw.js +0 -1367
@@ -1,45 +1,46 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { At as t, Bt as n, C as r, E as i, Gt as a, K as o, Nt as s, Q as ee, Y as c, bt as te, et as l, ft as ne, i as re, j as ie, kt as ae, qt as oe, st as se, t as ce, x as le, y as ue, zt as de } from "./lib-C-QGo8GG.js";
3
- import { t as fe } from "./useConfig-C0V0eG7L.js";
4
- import { t as pe } from "./usePrinter-C5ordS-4.js";
2
+ import { $ as t, At as n, Bt as r, D as i, Jt as a, Kt as o, M as s, Pt as c, S as ee, Vt as te, X as l, b as ne, ct as re, i as ie, jt as ae, pt as oe, q as se, t as ce, tt as u, w as le, xt as ue } from "./lib-Bttd6u5E.js";
3
+ import { n as de } from "./useHints-Dq_w2E8B.js";
4
+ import { t as fe } from "./useConfig-D3scuR88.js";
5
+ import { t as pe } from "./usePrinter-DN5bYhTG.js";
5
6
  import { n as me, t as he } from "./BaseScanner-DZvpgOjM.js";
6
- import { t as ge } from "./useSvgExport-Ba9qBr9M.js";
7
- import { t as _e } from "./useNestedProp-BYfiWVP8.js";
7
+ import { t as ge } from "./useSvgExport-DH-FfcqQ.js";
8
+ import { t as _e } from "./useNestedProp-vPNvh7rV.js";
8
9
  import { t as ve } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as ye } from "./img-zY7_pJz1.js";
10
- import { n as be } from "./Title-Thf71-8D.js";
10
+ import { t as ye } from "./img-Bnokohej.js";
11
+ import { n as be } from "./Title-BE3qg9xl.js";
11
12
  import { t as xe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
13
  import { l as Se, t as Ce } from "./useResponsive-ZtArZtUf.js";
13
14
  import { t as we } from "./DefGrad-DVBqDjhO.js";
14
- import { t as Te } from "./BaseLegendToggle-DJU4VsLO.js";
15
+ import { t as Te } from "./BaseLegendToggle-DZVucLnv.js";
15
16
  import { t as Ee } from "./A11yDataTable-DdRsVULz.js";
16
17
  import { t as De } from "./useUserOptionState-DK-_1ddE.js";
17
18
  import { t as Oe } from "./useChartAccessibility-DYqac8yF.js";
18
- import { t as ke } from "./Legend-DSPDFP3n.js";
19
- import { t as Ae } from "./useAutoSizeLabelsInsideViewbox-CSzmRywi.js";
19
+ import { t as ke } from "./Legend-CQxUgOd-.js";
20
+ import { t as Ae } from "./useAutoSizeLabelsInsideViewbox-DvDwcwi_.js";
20
21
  import { t as je } from "./vue_ui_radar-jafTED5j.js";
21
- import { Fragment as u, Teleport as Me, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Ne, createTextVNode as Pe, createVNode as Fe, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as Ie, nextTick as Le, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as Re, onMounted as ze, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Be, shallowRef as Ve, toDisplayString as T, toRefs as He, unref as E, watch as Ue, withCtx as D } from "vue";
22
+ import { Fragment as d, Teleport as Me, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as Ne, createTextVNode as Pe, createVNode as Fe, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as Ie, nextTick as Le, normalizeClass as Re, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as ze, onMounted as Be, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Ve, shallowRef as He, toDisplayString as T, toRefs as Ue, unref as E, watch as We, withCtx as D } from "vue";
22
23
  //#region src/components/vue-ui-radar.vue
23
- var We = /* @__PURE__ */ e({ default: () => yt }), Ge = ["id"], Ke = ["id"], qe = ["id"], Je = { style: { position: "relative" } }, Ye = [
24
+ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je = ["id"], Ye = { style: { position: "relative" } }, Xe = [
24
25
  "xmlns",
25
26
  "aria-describedby",
26
27
  "viewBox"
27
- ], Xe = ["width", "height"], Ze = { key: 1 }, Qe = [
28
+ ], Ze = ["width", "height"], Qe = { key: 1 }, $e = [
28
29
  "x1",
29
30
  "y1",
30
31
  "x2",
31
32
  "y2",
32
33
  "stroke",
33
34
  "stroke-width"
34
- ], $e = { key: 0 }, et = [
35
+ ], et = { key: 0 }, tt = [
35
36
  "d",
36
37
  "stroke",
37
38
  "stroke-width"
38
- ], tt = [
39
+ ], nt = [
39
40
  "d",
40
41
  "stroke",
41
42
  "stroke-width"
42
- ], nt = { key: 2 }, rt = [
43
+ ], rt = { key: 2 }, it = [
43
44
  "x",
44
45
  "y",
45
46
  "text-anchor",
@@ -48,27 +49,27 @@ var We = /* @__PURE__ */ e({ default: () => yt }), Ge = ["id"], Ke = ["id"], qe
48
49
  "onMouseenter",
49
50
  "onMouseleave",
50
51
  "onClick"
51
- ], it = [
52
+ ], at = [
52
53
  "points",
53
54
  "stroke",
54
55
  "stroke-width"
55
- ], at = [
56
+ ], ot = [
56
57
  "points",
57
58
  "stroke",
58
59
  "stroke-width",
59
60
  "fill"
60
- ], ot = [
61
+ ], st = [
61
62
  "d",
62
63
  "stroke",
63
64
  "stroke-width",
64
65
  "stroke-dasharray"
65
- ], st = { key: 4 }, ct = [
66
+ ], ct = { key: 4 }, lt = [
66
67
  "cx",
67
68
  "cy",
68
69
  "fill",
69
70
  "r",
70
71
  "stroke"
71
- ], lt = {
72
+ ], ut = {
72
73
  key: 0,
73
74
  style: {
74
75
  position: "absolute",
@@ -78,23 +79,23 @@ var We = /* @__PURE__ */ e({ default: () => yt }), Ge = ["id"], Ke = ["id"], qe
78
79
  },
79
80
  "data-dom-to-png-ignore": "",
80
81
  "aria-hidden": "true"
81
- }, ut = {
82
+ }, dt = {
82
83
  key: 5,
83
84
  class: "vue-data-ui-watermark"
84
- }, dt = ["id"], ft = ["onClick"], pt = { class: "vue-data-ui-legend-item" }, mt = [
85
+ }, ft = ["id"], pt = ["onClick"], mt = { class: "vue-data-ui-legend-item" }, ht = [
85
86
  "stroke",
86
87
  "stroke-width",
87
88
  "stroke-dasharray"
88
- ], ht = {
89
+ ], gt = {
89
90
  key: 0,
90
91
  style: {
91
92
  "max-width": "200px",
92
93
  margin: "0 auto"
93
94
  }
94
- }, gt = {
95
+ }, _t = {
95
96
  class: "vue-ui-radar-tooltip-datalabel",
96
97
  style: { width: "100%" }
97
- }, _t = { class: "vue-ui-radar-tooltip-datalabel-name" }, vt = { key: 0 }, yt = /*#__PURE__*/ xe({
98
+ }, vt = { class: "vue-ui-radar-tooltip-datalabel-name" }, yt = { key: 0 }, bt = /*#__PURE__*/ xe({
98
99
  __name: "vue-ui-radar",
99
100
  props: {
100
101
  config: {
@@ -111,11 +112,56 @@ var We = /* @__PURE__ */ e({ default: () => yt }), Ge = ["id"], Ke = ["id"], qe
111
112
  }
112
113
  },
113
114
  emits: ["selectLegend", "copyAlt"],
114
- setup(e, { expose: xe, emit: We }) {
115
- let yt = g(() => import("./Tooltip-CEbqzIhL.js")), bt = g(() => import("./BaseIcon-DJbOzCDs.js").then((e) => e.n)), xt = g(() => import("./vue-ui-sparkbar-DeSSqv4v.js").then((e) => e.n)), St = g(() => import("./vue-ui-accordion-FimGHtuy.js").then((e) => e.n)), Ct = g(() => import("./DataTable-rIsBpJMt.js")), wt = g(() => import("./PenAndPaper-D--sbRMA.js").then((e) => e.t)), Tt = g(() => import("./UserOptions-BknvMNU1.js").then((e) => e.n)), Et = g(() => import("./PackageVersion-BUmadjVO.js").then((e) => e.t)), Dt = g(() => import("./BaseDraggableDialog-hyW32gLf.js").then((e) => e.n)), { vue_ui_radar: Ot } = fe(), { isThemeValid: kt, warnInvalidTheme: At } = ve(), O = e, jt = d(() => !!O.dataset && Object.keys(O.dataset).length), k = S(o()), A = S(!1), Mt = S(""), Nt = S(0), j = S(null), Pt = S(null), Ft = S(null), It = S(null), Lt = S(null), Rt = S(0), zt = S(0), Bt = S(0), Vt = S(!1), M = S(null), Ht = S(null), Ut = S(!1), Wt = S(!1), N = S(null), Gt = S({
115
+ setup(e, { expose: xe, emit: Ge }) {
116
+ let bt = _(() => import("./Tooltip-DhjyfHwz.js")), xt = _(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), St = _(() => import("./vue-ui-sparkbar-DFp2k7-7.js").then((e) => e.n)), Ct = _(() => import("./vue-ui-accordion-BxGriZik.js").then((e) => e.n)), wt = _(() => import("./DataTable-BbKgJ5UI.js")), Tt = _(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), Et = _(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), Dt = _(() => import("./PackageVersion-D6d8SCp9.js").then((e) => e.t)), Ot = _(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), { vue_ui_radar: kt } = fe(), { isThemeValid: At, warnInvalidTheme: jt } = ve(), O = e, Mt = f(() => !!O.dataset && Object.keys(O.dataset).length), k = S(se()), A = S(!1), Nt = S(""), Pt = S(0), j = S(null), Ft = S(null), It = S(null), Lt = S(null), Rt = S(null), zt = S(0), Bt = S(0), Vt = S(0), Ht = S(!1), M = S(null), Ut = S(null), Wt = S(!1), Gt = S(!1), N = S(null), Kt = S({
116
117
  x: 0,
117
118
  y: 0
118
- }), P = S("pointer"), Kt = S(!1), F = S(Qt()), I = d(() => F.value.userOptions.useCursorPointer), qt = d(() => oe({
119
+ }), P = S("pointer"), qt = S(!1), F = S($t());
120
+ de({
121
+ config: () => F.value,
122
+ dataset: () => O.dataset,
123
+ component: "VueUiRadar",
124
+ rules: [
125
+ {
126
+ test: (e) => e?.categories && e.categories.length === 0,
127
+ message: [
128
+ "👀 There are no categories in your dataset. Consider:",
129
+ "",
130
+ "▶️ Adding categories..."
131
+ ]
132
+ },
133
+ {
134
+ test: (e) => e?.series && e.series.length === 0,
135
+ message: [
136
+ "👀 There are no series in your dataset. Consider:",
137
+ "",
138
+ "▶️ Adding series..."
139
+ ]
140
+ },
141
+ {
142
+ test: (e) => e?.categories && e.categories.length > 3,
143
+ message: [
144
+ "👀 The number of categories > 3, the chart might become hard to read. Consider:",
145
+ "",
146
+ "▶️ Using several instances of the component to display related categories.",
147
+ "",
148
+ "▶️ Adding filters to allow users to choose a maximum number of categories."
149
+ ]
150
+ },
151
+ {
152
+ test: (e) => e?.series && e.series.length > 12,
153
+ message: [
154
+ "👀 The number of series is > 12. Consider:",
155
+ "",
156
+ "▶️ Using several instances of the component to distribute the series.",
157
+ "",
158
+ "▶️ Using filters to let users choose a maximum number of series to display.",
159
+ ""
160
+ ]
161
+ }
162
+ ]
163
+ });
164
+ let I = f(() => F.value.userOptions.useCursorPointer), Jt = f(() => a({
119
165
  defaultConfig: {
120
166
  userOptions: { show: !1 },
121
167
  table: { show: !1 },
@@ -131,10 +177,10 @@ var We = /* @__PURE__ */ e({ default: () => yt }), Ge = ["id"], Ke = ["id"], qe
131
177
  } }
132
178
  },
133
179
  userConfig: F.value.skeletonConfig ?? {}
134
- })), { loading: Jt, FINAL_DATASET: L } = me({
135
- ...He(O),
180
+ })), { loading: Yt, FINAL_DATASET: L } = me({
181
+ ...Ue(O),
136
182
  FINAL_CONFIG: F,
137
- prepareConfig: Qt,
183
+ prepareConfig: $t,
138
184
  callback: () => {
139
185
  Promise.resolve().then(async () => {
140
186
  await Le(), H.value.showTable = F.value.table.show;
@@ -178,18 +224,18 @@ var We = /* @__PURE__ */ e({ default: () => yt }), Ge = ["id"], Ke = ["id"], qe
178
224
  }
179
225
  ]
180
226
  },
181
- skeletonConfig: oe({
227
+ skeletonConfig: a({
182
228
  defaultConfig: F.value,
183
- userConfig: qt.value
229
+ userConfig: Jt.value
184
230
  })
185
- }), { userOptionsVisible: Yt, setUserOptionsVisibility: Xt, keepUserOptionState: Zt } = De({ config: F.value }), { svgRef: R } = Oe({ config: F.value.style.chart.title });
186
- function Qt() {
231
+ }), { userOptionsVisible: Xt, setUserOptionsVisibility: Zt, keepUserOptionState: Qt } = De({ config: F.value }), { svgRef: R } = Oe({ config: F.value.style.chart.title });
232
+ function $t() {
187
233
  let e = _e({
188
234
  userConfig: O.config,
189
- defaultConfig: Ot
235
+ defaultConfig: kt
190
236
  }), t = e.theme;
191
237
  if (!t) return e;
192
- if (!kt.value(e)) return At(e), e;
238
+ if (!At.value(e)) return jt(e), e;
193
239
  let n = _e({
194
240
  userConfig: je[t] || O.config,
195
241
  defaultConfig: e
@@ -199,15 +245,15 @@ var We = /* @__PURE__ */ e({ default: () => yt }), Ge = ["id"], Ke = ["id"], qe
199
245
  });
200
246
  return {
201
247
  ...r,
202
- customPalette: r.customPalette.length ? r.customPalette : a[t] || s
248
+ customPalette: r.customPalette.length ? r.customPalette : o[t] || c
203
249
  };
204
250
  }
205
- Ue(() => O.config, (e) => {
206
- F.value = Qt(), Yt.value = !F.value.userOptions.showOnChartHover, $t(), Rt.value += 1, zt.value += 1, Bt.value += 1, H.value.dataLabels.show = F.value.style.chart.layout.labels.dataLabels.show, H.value.showTable = F.value.table.show, H.value.showTooltip = F.value.style.chart.tooltip ? F.value.style.chart.tooltip.show : !1;
251
+ We(() => O.config, (e) => {
252
+ F.value = $t(), Xt.value = !F.value.userOptions.showOnChartHover, en(), zt.value += 1, Bt.value += 1, Vt.value += 1, H.value.dataLabels.show = F.value.style.chart.layout.labels.dataLabels.show, H.value.showTable = F.value.table.show, H.value.showTooltip = F.value.style.chart.tooltip ? F.value.style.chart.tooltip.show : !1;
207
253
  }, { deep: !0 });
208
- let z = Ve(null), B = Ve(null), V = d(() => F.value.debug);
209
- function $t() {
210
- if (t(O.dataset) && l({
254
+ let z = He(null), B = He(null), V = f(() => F.value.debug);
255
+ function en() {
256
+ if (ae(O.dataset) && u({
211
257
  componentName: "VueUiRadar",
212
258
  type: "dataset",
213
259
  debug: V.value
@@ -215,33 +261,33 @@ var We = /* @__PURE__ */ e({ default: () => yt }), Ge = ["id"], Ke = ["id"], qe
215
261
  let e = Se(() => {
216
262
  let { width: e, height: t } = Ce({
217
263
  chart: j.value,
218
- title: F.value.style.chart.title.text ? Pt.value : null,
219
- legend: F.value.style.chart.legend.show ? Ft.value : null,
220
- source: It.value,
221
- noTitle: Lt.value
264
+ title: F.value.style.chart.title.text ? Ft.value : null,
265
+ legend: F.value.style.chart.legend.show ? It.value : null,
266
+ source: Lt.value,
267
+ noTitle: Rt.value
222
268
  });
223
269
  requestAnimationFrame(() => {
224
- U.value.width = e, U.value.height = t, En();
270
+ U.value.width = e, U.value.height = t, Dn();
225
271
  });
226
272
  });
227
273
  z.value && (B.value && z.value.unobserve(B.value), z.value.disconnect()), z.value = new ResizeObserver(e), B.value = j.value.parentNode, z.value.observe(B.value);
228
274
  }
229
- En();
275
+ Dn();
230
276
  }
231
- ze(() => {
232
- Vt.value = !0, $t();
233
- }), Re(() => {
277
+ Be(() => {
278
+ Ht.value = !0, en();
279
+ }), ze(() => {
234
280
  z.value && (B.value && z.value.unobserve(B.value), z.value.disconnect());
235
281
  });
236
- let { isPrinting: en, isImaging: tn, generatePdf: nn, generateImage: rn } = pe({
282
+ let { isPrinting: tn, isImaging: nn, generatePdf: rn, generateImage: an } = pe({
237
283
  elementId: `vue-ui-radar_${k.value}`,
238
284
  fileName: F.value.style.chart.title.text || "vue-ui-radar",
239
285
  options: F.value.userOptions.print
240
- }), an = d(() => F.value.userOptions.show && !F.value.style.chart.title.text), on = d(() => r(F.value.customPalette)), H = S({
286
+ }), on = f(() => F.value.userOptions.show && !F.value.style.chart.title.text), sn = f(() => le(F.value.customPalette)), H = S({
241
287
  dataLabels: { show: F.value.style.chart.layout.labels.dataLabels.show },
242
288
  showTable: F.value.table.show,
243
289
  showTooltip: F.value.style.chart.tooltip.show
244
- }), sn = d(() => ({ style: {
290
+ }), cn = f(() => ({ style: {
245
291
  backgroundColor: "#FFFFFF00",
246
292
  animation: {
247
293
  show: F.value.style.chart.tooltip.animation.show,
@@ -258,41 +304,41 @@ var We = /* @__PURE__ */ e({ default: () => yt }), Ge = ["id"], Ke = ["id"], qe
258
304
  } })), U = S({
259
305
  height: 312,
260
306
  width: 512
261
- }), cn = We, W = S([]), G = S(null), K = S(!1);
262
- function ln() {
307
+ }), ln = Ge, W = S([]), G = S(null), K = S(!1);
308
+ function un() {
263
309
  W.value.length ? W.value = [] : X.value.forEach((e, t) => {
264
310
  W.value.push(t);
265
- }), un();
311
+ }), dn();
266
312
  }
267
- function un() {
268
- cn("selectLegend", X.value.filter((e, t) => !W.value.includes(t)).map((e) => ({
313
+ function dn() {
314
+ ln("selectLegend", X.value.filter((e, t) => !W.value.includes(t)).map((e) => ({
269
315
  name: e.name,
270
316
  color: e.color,
271
317
  proportion: e.totalProportion
272
318
  })));
273
319
  }
274
- function dn(e) {
320
+ function fn(e) {
275
321
  K.value = !0, W.value.includes(e) ? (G.value = e, W.value = W.value.filter((t) => t !== e), setTimeout(() => {
276
322
  K.value = !1, G.value = null;
277
323
  }, 500)) : (W.value.push(e), setTimeout(() => {
278
324
  K.value = !1;
279
- }, 500)), un();
325
+ }, 500)), dn();
280
326
  }
281
- function fn() {
327
+ function pn() {
282
328
  return X.value.map((e) => ({
283
329
  name: e.name,
284
330
  color: e.color,
285
331
  proportion: e.totalProportion
286
332
  }));
287
333
  }
288
- function pn() {
334
+ function mn() {
289
335
  let e = L.value;
290
336
  if ([null, void 0].includes(e?.categories)) {
291
- l({
337
+ u({
292
338
  componentName: "VueUiRadar",
293
339
  type: "dataset",
294
340
  debug: V.value
295
- }), l({
341
+ }), u({
296
342
  componentName: "VueUiRadar",
297
343
  type: "datasetAttribute",
298
344
  property: "categories ({ name: string; prefix?: string; suffix?: string}[])",
@@ -300,17 +346,17 @@ var We = /* @__PURE__ */ e({ default: () => yt }), Ge = ["id"], Ke = ["id"], qe
300
346
  });
301
347
  return;
302
348
  }
303
- e.categories.length === 0 ? l({
349
+ e.categories.length === 0 ? u({
304
350
  componentName: "VueUiRadar",
305
351
  type: "datasetAttributeEmpty",
306
352
  property: "categories",
307
353
  debug: V.value
308
354
  }) : e.categories.forEach((e, t) => {
309
- ne({
355
+ oe({
310
356
  datasetObject: e,
311
357
  requiredAttributes: ["name"]
312
358
  }).forEach((e) => {
313
- l({
359
+ u({
314
360
  componentName: "VueUiRadar",
315
361
  type: "datasetAttribute",
316
362
  property: `category.${e} at index ${t}`,
@@ -318,13 +364,13 @@ var We = /* @__PURE__ */ e({ default: () => yt }), Ge = ["id"], Ke = ["id"], qe
318
364
  debug: V.value
319
365
  });
320
366
  });
321
- }), [null, void 0].includes(e?.series) ? l({
367
+ }), [null, void 0].includes(e?.series) ? u({
322
368
  componentName: "VueUiRadar",
323
369
  type: "datasetAttribute",
324
370
  property: "series ({ name: string; values: number[]; color?: string; target: number}[])",
325
371
  debug: V.value
326
372
  }) : e.series.forEach((e, t) => {
327
- ne({
373
+ oe({
328
374
  datasetObject: e,
329
375
  requiredAttributes: [
330
376
  "name",
@@ -332,7 +378,7 @@ var We = /* @__PURE__ */ e({ default: () => yt }), Ge = ["id"], Ke = ["id"], qe
332
378
  "target"
333
379
  ]
334
380
  }).forEach((e) => {
335
- l({
381
+ u({
336
382
  componentName: "VueUiRadar",
337
383
  type: "datasetSerieAttribute",
338
384
  key: "series",
@@ -343,69 +389,69 @@ var We = /* @__PURE__ */ e({ default: () => yt }), Ge = ["id"], Ke = ["id"], qe
343
389
  });
344
390
  });
345
391
  }
346
- Ue(() => L.value, () => pn(), {
392
+ We(() => L.value, () => mn(), {
347
393
  deep: !0,
348
394
  immediate: !0
349
395
  });
350
- let q = d(() => {
351
- let e = Array.isArray(L.value?.categories) ? L.value.categories : [], t = on.value ?? s;
396
+ let q = f(() => {
397
+ let e = Array.isArray(L.value?.categories) ? L.value.categories : [], t = sn.value ?? c;
352
398
  return e.map((e, n) => ({
353
399
  name: e?.name ?? "",
354
400
  categoryId: `radar_category_${k.value}_${n}`,
355
- color: le(e?.color) || t[n] || s[n % s.length],
401
+ color: ee(e?.color) || t[n] || c[n % c.length],
356
402
  prefix: e?.prefix ?? "",
357
403
  suffix: e?.suffix ?? ""
358
404
  }));
359
- }), J = d(() => L.value.series.map((e, t) => ({
405
+ }), J = f(() => L.value.series.map((e, t) => ({
360
406
  ...e,
361
- color: le(e.color) || on.value[t] || s[t] || s[t % s.length],
407
+ color: ee(e.color) || sn.value[t] || c[t] || c[t % c.length],
362
408
  serieId: `radar_serie_${k.value}_${t}`,
363
409
  formatter: e.formatter || null,
364
410
  absoluteIndex: t
365
411
  })));
366
- function mn(e) {
367
- return J.value.length ? X.value.find((t) => t.name === e) || (F.value.debug && console.warn(`VueUiRadar - Series name not found "${e}"`), null) : (F.value.debug && console.warn("VueUiRadar - There are no series to show."), null);
368
- }
369
412
  function hn(e) {
370
- let t = mn(e);
371
- t !== null && W.value.includes(t.absoluteIndex) && dn(t.absoluteIndex);
413
+ return J.value.length ? X.value.find((t) => t.name === e) || (F.value.debug && console.warn(`VueUiRadar - Series name not found "${e}"`), null) : (F.value.debug && console.warn("VueUiRadar - There are no series to show."), null);
372
414
  }
373
415
  function gn(e) {
374
- let t = mn(e);
375
- t !== null && (W.value.includes(t.absoluteIndex) || dn(t.absoluteIndex));
416
+ let t = hn(e);
417
+ t !== null && W.value.includes(t.absoluteIndex) && fn(t.absoluteIndex);
418
+ }
419
+ function _n(e) {
420
+ let t = hn(e);
421
+ t !== null && (W.value.includes(t.absoluteIndex) || fn(t.absoluteIndex));
376
422
  }
377
- let _n = d(() => Math.max(0, ...J.value.flatMap((e) => e.values)));
378
- function vn(e) {
379
- return F.value.style.chart.layout.scaleToAxisMax ? Math.max(1, e.target || 0, ...e.values) : e.target || _n.value || 1;
423
+ let vn = f(() => Math.max(0, ...J.value.flatMap((e) => e.values)));
424
+ function yn(e) {
425
+ return F.value.style.chart.layout.scaleToAxisMax ? Math.max(1, e.target || 0, ...e.values) : e.target || vn.value || 1;
380
426
  }
381
- let yn = d(() => J.value.map((e, t) => {
382
- let n = Sn.value.coordinates[t];
383
- return Dn({
427
+ let bn = f(() => J.value.map((e, t) => {
428
+ let n = Cn.value.coordinates[t];
429
+ return On({
384
430
  centerX: U.value.width / 2,
385
431
  centerY: U.value.height / 2,
386
432
  apexX: n.x,
387
433
  apexY: n.y,
388
- proportion: (e.target || 0) / vn(e)
434
+ proportion: (e.target || 0) / yn(e)
389
435
  });
390
- })), bn = d(() => J.value.length), xn = d(() => Math.min(U.value.width, U.value.height) / 3), Sn = d(() => ie({
436
+ })), xn = f(() => J.value.length), Sn = f(() => Math.min(U.value.width, U.value.height) / 3), Cn = f(() => s({
391
437
  plot: {
392
438
  x: U.value.width / 2,
393
439
  y: U.value.height / 2
394
440
  },
395
- radius: xn.value,
396
- sides: bn.value,
441
+ radius: Sn.value,
442
+ sides: xn.value,
397
443
  rotation: 0
398
- })), Cn = d(() => {
444
+ })), wn = f(() => {
399
445
  let e = [];
400
- for (let t = 0; t < xn.value; t += xn.value / F.value.style.chart.layout.grid.graduations) e.push(t);
446
+ for (let t = 0; t < Sn.value; t += Sn.value / F.value.style.chart.layout.grid.graduations) e.push(t);
401
447
  return e;
402
- }), Y = d(() => Sn.value.coordinates.map((e, t) => {
403
- let n = J.value[t], r = J.value[t].values.map((t) => Dn({
448
+ }), Y = f(() => Cn.value.coordinates.map((e, t) => {
449
+ let n = J.value[t], r = J.value[t].values.map((t) => On({
404
450
  centerX: U.value.width / 2,
405
451
  centerY: U.value.height / 2,
406
452
  apexX: e.x,
407
453
  apexY: e.y,
408
- proportion: t / vn(n)
454
+ proportion: t / yn(n)
409
455
  }));
410
456
  return {
411
457
  ...e,
@@ -414,11 +460,11 @@ var We = /* @__PURE__ */ e({ default: () => yt }), Ge = ["id"], Ke = ["id"], qe
414
460
  };
415
461
  }).map((e) => ({
416
462
  ...e,
417
- labelX: wn(e).x,
418
- labelY: wn(e).y,
419
- labelAnchor: wn(e).anchor
463
+ labelX: Tn(e).x,
464
+ labelY: Tn(e).y,
465
+ labelAnchor: Tn(e).anchor
420
466
  })));
421
- function wn({ x: e, y: t }) {
467
+ function Tn({ x: e, y: t }) {
422
468
  let n = "middle";
423
469
  return e = Math.round(e), t = Math.round(t), e > U.value.width / 2 && (e += 12, n = "start"), e < U.value.width / 2 && (e -= 12, n = "end"), t > U.value.height / 2 + 1 && (t += 20), t < U.value.height / 2 - 1 && (t -= 12), t === U.value.height / 2 && (t += 4), {
424
470
  x: e,
@@ -426,49 +472,49 @@ var We = /* @__PURE__ */ e({ default: () => yt }), Ge = ["id"], Ke = ["id"], qe
426
472
  anchor: n
427
473
  };
428
474
  }
429
- let Tn = d({
475
+ let En = f({
430
476
  get: () => F.value.style.chart.layout.labels.dataLabels.fontSize,
431
477
  set: (e) => e
432
- }), { autoSizeLabels: En } = Ae({
478
+ }), { autoSizeLabels: Dn } = Ae({
433
479
  svgRef: R,
434
480
  fontSize: F.value.style.chart.layout.labels.dataLabels.fontSize,
435
481
  minFontSize: 6,
436
- sizeRef: Tn,
482
+ sizeRef: En,
437
483
  labelClass: ".vue-ui-radar-apex-label"
438
484
  });
439
- function Dn({ centerX: e, centerY: t, apexX: n, apexY: r, proportion: i }) {
485
+ function On({ centerX: e, centerY: t, apexX: n, apexY: r, proportion: i }) {
440
486
  return {
441
487
  x: e + (n - e) * i,
442
488
  y: t + (r - t) * i
443
489
  };
444
490
  }
445
- let X = d(() => {
446
- let e = J.value.map((e, t) => e.values.map((t) => t / (e.target || _n.value)));
491
+ let X = f(() => {
492
+ let e = J.value.map((e, t) => e.values.map((t) => t / (e.target || vn.value)));
447
493
  return q.value.map((t, n) => {
448
- let r = ue(e.map((e) => e[n]).reduce((e, t) => e + t, 0) / J.value.length);
494
+ let r = ne(e.map((e) => e[n]).reduce((e, t) => e + t, 0) / J.value.length);
449
495
  return {
450
496
  ...t,
451
497
  absoluteIndex: n,
452
498
  totalProportion: r,
453
499
  shape: "circle",
454
500
  opacity: W.value.includes(n) ? .5 : 1,
455
- segregate: () => dn(n),
501
+ segregate: () => fn(n),
456
502
  isSegregated: W.value.includes(n),
457
- display: `${t.name}: ${c({
503
+ display: `${t.name}: ${l({
458
504
  v: (r ?? 0) * 100,
459
505
  s: "%",
460
506
  r: F.value.style.chart.legend.roundingPercentage
461
507
  })}`
462
508
  };
463
509
  });
464
- }), On = d(() => ({
510
+ }), kn = f(() => ({
465
511
  cy: "radar-div-legend",
466
512
  backgroundColor: F.value.style.chart.legend.backgroundColor,
467
513
  color: F.value.style.chart.legend.color,
468
514
  fontSize: F.value.style.chart.legend.fontSize,
469
515
  paddingBottom: 12,
470
516
  fontWeight: F.value.style.chart.legend.bold ? "bold" : ""
471
- })), Z = d(() => {
517
+ })), Z = f(() => {
472
518
  let e = [
473
519
  {
474
520
  name: F.value.translations.datapoint,
@@ -484,18 +530,18 @@ var We = /* @__PURE__ */ e({ default: () => yt }), Ge = ["id"], Ke = ["id"], qe
484
530
  head: e,
485
531
  body: L.value.series.map((e) => [
486
532
  e.name,
487
- re(e.formatter, e.target, c({
533
+ ie(e.formatter, e.target, l({
488
534
  p: e.prefix,
489
535
  v: e.target,
490
536
  s: e.suffix,
491
537
  r: F.value.table.td.roundingValue
492
538
  })),
493
- ...e.values.map((t, n) => `${re(e.formatter, t, c({
539
+ ...e.values.map((t, n) => `${ie(e.formatter, t, l({
494
540
  p: q.value[n]?.prefix ?? "",
495
541
  v: t,
496
542
  s: q.value[n]?.suffix ?? "",
497
543
  r: F.value.table.td.roundingValue
498
- }))} (${isNaN(t / e.target) ? "" : c({
544
+ }))} (${isNaN(t / e.target) ? "" : l({
499
545
  v: t / e.target * 100,
500
546
  s: "%",
501
547
  r: F.value.table.td.roundingPercentage
@@ -516,26 +562,26 @@ var We = /* @__PURE__ */ e({ default: () => yt }), Ge = ["id"], Ke = ["id"], qe
516
562
  },
517
563
  colNames: e
518
564
  };
519
- }), Q = S(null), kn = S([]), An = S(null);
520
- function jn(e, t) {
565
+ }), Q = S(null), An = S([]), jn = S(null);
566
+ function Mn(e, t) {
521
567
  A.value = !1, Q.value = null, N.value = null, P.value = "pointer", F.value.events.datapointLeave && F.value.events.datapointLeave({
522
568
  datapoint: e,
523
569
  seriesIndex: t
524
570
  });
525
571
  }
526
- function Mn(e, t) {
572
+ function Nn(e, t) {
527
573
  F.value.events.datapointClick && F.value.events.datapointClick({
528
574
  datapoint: e,
529
575
  seriesIndex: t
530
576
  });
531
577
  }
532
- function Nn(e, t, n = "pointer") {
578
+ function Pn(e, t, n = "pointer") {
533
579
  F.value.events.datapointEnter && F.value.events.datapointEnter({
534
580
  datapoint: e,
535
581
  seriesIndex: t
536
582
  }), P.value = n, N.value = t;
537
583
  let r = q.value.slice();
538
- kn.value = [], Q.value = t, A.value = !0, An.value = {
584
+ An.value = [], Q.value = t, A.value = !0, jn.value = {
539
585
  datapoint: e,
540
586
  seriesIndex: t,
541
587
  series: {
@@ -546,7 +592,7 @@ var We = /* @__PURE__ */ e({ default: () => yt }), Ge = ["id"], Ke = ["id"], qe
546
592
  config: F.value
547
593
  };
548
594
  let i = F.value.style.chart.tooltip.customFormat;
549
- if (te(i) && se(() => i({
595
+ if (ue(i) && re(() => i({
550
596
  seriesIndex: t,
551
597
  datapoint: e,
552
598
  series: {
@@ -556,7 +602,7 @@ var We = /* @__PURE__ */ e({ default: () => yt }), Ge = ["id"], Ke = ["id"], qe
556
602
  },
557
603
  config: F.value
558
604
  }))) {
559
- Mt.value = i({
605
+ Nt.value = i({
560
606
  seriesIndex: t,
561
607
  datapoint: e,
562
608
  series: {
@@ -568,65 +614,65 @@ var We = /* @__PURE__ */ e({ default: () => yt }), Ge = ["id"], Ke = ["id"], qe
568
614
  });
569
615
  return;
570
616
  }
571
- Mt.value = `<div style="width:100%;text-align:center;border-bottom:1px solid ${F.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`;
617
+ Nt.value = `<div style="width:100%;text-align:center;border-bottom:1px solid ${F.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`;
572
618
  for (let t = 0; t < e.values.length; t += 1) if (!W.value.includes(t)) {
573
- let n = r[t], i = e.values[t], a = isNaN(i / e.target) ? 0 : i / e.target * 100, o = re(e.formatter, i, c({
619
+ let n = r[t], i = e.values[t], a = isNaN(i / e.target) ? 0 : i / e.target * 100, o = ie(e.formatter, i, l({
574
620
  p: q.value[t].prefix,
575
621
  v: i,
576
622
  s: q.value[t].suffix,
577
623
  r: F.value.style.chart.tooltip.roundingValue
578
- }), { datapoint: e }), s = c({
624
+ }), { datapoint: e }), s = l({
579
625
  v: a,
580
626
  s: "%",
581
627
  r: F.value.style.chart.tooltip.roundingPercentage
582
- }), ee = F.value.style.chart.tooltip.showValue && F.value.style.chart.tooltip.showPercentage ? `${o} (${s})` : F.value.style.chart.tooltip.showValue && !F.value.style.chart.tooltip.showPercentage ? o : !F.value.style.chart.tooltip.showValue && F.value.style.chart.tooltip.showPercentage ? `${s}` : "";
583
- kn.value.push({
628
+ }), c = F.value.style.chart.tooltip.showValue && F.value.style.chart.tooltip.showPercentage ? `${o} (${s})` : F.value.style.chart.tooltip.showValue && !F.value.style.chart.tooltip.showPercentage ? o : !F.value.style.chart.tooltip.showValue && F.value.style.chart.tooltip.showPercentage ? `${s}` : "";
629
+ An.value.push({
584
630
  name: n?.name ?? `#${t + 1}`,
585
631
  value: e.values[t] / e.target * 100,
586
632
  color: n?.color,
587
- suffix: ee,
633
+ suffix: c,
588
634
  prefix: "",
589
635
  rounding: F.value.style.chart.tooltip.roundingPercentage,
590
636
  formatter: e.formatter
591
637
  });
592
638
  }
593
639
  }
594
- function Pn(e = null) {
640
+ function Fn(e = null) {
595
641
  Le(() => {
596
- let t = [
642
+ let n = [
597
643
  [F.value.style.chart.title.text],
598
644
  [F.value.style.chart.title.subtitle.text],
599
645
  [""]
600
- ], n = [
646
+ ], r = [
601
647
  [""],
602
648
  [F.value.translations.target],
603
649
  ...X.value.flatMap((e) => [[e.name], ["%"]])
604
- ], r = L.value.series.map((e, t) => [
650
+ ], a = L.value.series.map((e, t) => [
605
651
  e.name,
606
652
  e.target,
607
653
  ...e.values.flatMap((t) => [t, isNaN(t / e.target) ? "" : t / e.target * 100])
608
- ]), a = i(t.concat([n]).concat(r));
609
- e ? e(a) : ee({
610
- csvContent: a,
654
+ ]), o = n.concat([r]).concat(a), s = i(o);
655
+ e ? e(s) : t({
656
+ csvContent: s,
611
657
  title: F.value.style.chart.title.text || "vue-ui-radar"
612
658
  });
613
659
  });
614
660
  }
615
661
  let $ = S(!1);
616
- function Fn(e) {
617
- $.value = e, Nt.value += 1;
662
+ function In(e) {
663
+ $.value = e, Pt.value += 1;
618
664
  }
619
- function In() {
665
+ function Ln() {
620
666
  H.value.showTable = !H.value.showTable;
621
667
  }
622
- function Ln() {
668
+ function Rn() {
623
669
  H.value.showTooltip = !H.value.showTooltip;
624
670
  }
625
- let Rn = S(!1);
626
- function zn() {
627
- Rn.value = !Rn.value;
671
+ let zn = S(!1);
672
+ function Bn() {
673
+ zn.value = !zn.value;
628
674
  }
629
- async function Bn({ scale: e = 2 } = {}) {
675
+ async function Vn({ scale: e = 2 } = {}) {
630
676
  if (!j.value) return;
631
677
  let { width: t, height: n } = j.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ye({
632
678
  domElement: j.value,
@@ -643,10 +689,10 @@ var We = /* @__PURE__ */ e({ default: () => yt }), Ge = ["id"], Ke = ["id"], qe
643
689
  aspectRatio: r
644
690
  };
645
691
  }
646
- let Vn = d(() => {
692
+ let Hn = f(() => {
647
693
  let e = F.value.table.useDialog && !F.value.table.show, t = H.value.showTable;
648
694
  return {
649
- component: e ? Dt : St,
695
+ component: e ? Ot : Ct,
650
696
  title: `${F.value.style.chart.title.text}${F.value.style.chart.title.subtitle.text ? `: ${F.value.style.chart.title.subtitle.text}` : ""}`,
651
697
  props: e ? {
652
698
  backgroundColor: F.value.table.th.backgroundColor,
@@ -674,51 +720,51 @@ var We = /* @__PURE__ */ e({ default: () => yt }), Ge = ["id"], Ke = ["id"], qe
674
720
  }
675
721
  };
676
722
  });
677
- Ue(() => H.value.showTable, (e) => {
723
+ We(() => H.value.showTable, (e) => {
678
724
  F.value.table.show || (e && F.value.table.useDialog && M.value ? M.value.open() : "close" in M.value && M.value.close());
679
725
  });
680
- function Hn() {
681
- H.value.showTable = !1, Ht.value && Ht.value.setTableIconState(!1);
726
+ function Un() {
727
+ H.value.showTable = !1, Ut.value && Ut.value.setTableIconState(!1);
682
728
  }
683
- let Un = d(() => X.value.map((e) => ({
729
+ let Wn = f(() => X.value.map((e) => ({
684
730
  ...e,
685
731
  name: e.display
686
- }))), Wn = d(() => F.value.style.chart.backgroundColor), Gn = d(() => F.value.style.chart.legend), { exportSvg: Kn, getSvg: qn } = ge({
732
+ }))), Gn = f(() => F.value.style.chart.backgroundColor), Kn = f(() => F.value.style.chart.legend), qn = f(() => F.value.style.chart.title), { exportSvg: Jn, getSvg: Yn } = ge({
687
733
  svg: R,
688
- title: d(() => F.value.style.chart.title),
689
- legend: Gn,
690
- legendItems: Un,
691
- backgroundColor: Wn
734
+ title: qn,
735
+ legend: Kn,
736
+ legendItems: Wn,
737
+ backgroundColor: Gn
692
738
  });
693
- async function Jn({ isCb: e }) {
694
- Wt.value = !0, await Le();
739
+ async function Xn({ isCb: e }) {
740
+ Gt.value = !0, await Le();
695
741
  try {
696
742
  if (e) {
697
- let { blob: e, url: t, text: n, dataUrl: r } = await qn();
743
+ let { blob: e, url: t, text: n, dataUrl: r } = await Yn();
698
744
  await Promise.resolve(F.value.userOptions.callbacks.svg({
699
745
  blob: e,
700
746
  url: t,
701
747
  text: n,
702
748
  dataUrl: r
703
749
  }));
704
- } else await Promise.resolve(Kn());
750
+ } else await Promise.resolve(Jn());
705
751
  } finally {
706
- Wt.value = !1;
752
+ Gt.value = !1;
707
753
  }
708
754
  }
709
- function Yn(e) {
755
+ function Zn(e) {
710
756
  if (e?.stage === "start") {
711
- Ut.value = !0;
757
+ Wt.value = !0;
712
758
  return;
713
759
  }
714
760
  if (e?.stage === "end") {
715
- Ut.value = !1;
761
+ Wt.value = !1;
716
762
  return;
717
763
  }
718
- rn();
764
+ an();
719
765
  }
720
- async function Xn() {
721
- if (cn("copyAlt", {
766
+ async function Qn() {
767
+ if (ln("copyAlt", {
722
768
  config: F.value,
723
769
  dataset: Y.value
724
770
  }), !F.value.userOptions.callbacks.altCopy) {
@@ -730,24 +776,24 @@ var We = /* @__PURE__ */ e({ default: () => yt }), Ge = ["id"], Ke = ["id"], qe
730
776
  dataset: Y.value
731
777
  }));
732
778
  }
733
- function Zn() {
734
- N.value = null, Kt.value = !0;
779
+ function $n() {
780
+ N.value = null, qt.value = !0;
735
781
  }
736
- function Qn() {
737
- N.value = null, P.value = "pointer", A.value = !1, Q.value = null, Kt.value = !1;
782
+ function er() {
783
+ N.value = null, P.value = "pointer", A.value = !1, Q.value = null, qt.value = !1;
738
784
  }
739
- function $n(e) {
785
+ function tr(e) {
740
786
  if (!Number.isFinite(e) || !R.value) return;
741
787
  let t = Y.value[e];
742
788
  if (!t) return;
743
789
  let n = R.value.getBoundingClientRect();
744
- Gt.value = {
790
+ Kt.value = {
745
791
  x: n.left + t.labelX / U.value.width * n.width,
746
792
  y: n.top + t.labelY / U.value.height * n.height
747
793
  };
748
794
  }
749
- function er(e) {
750
- if (!R.value || Rn.value || document.activeElement !== R.value || !Y.value.length) return;
795
+ function nr(e) {
796
+ if (!R.value || zn.value || document.activeElement !== R.value || !Y.value.length) return;
751
797
  let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
752
798
  if (!t && !n && !r && !i) return;
753
799
  if (e.preventDefault(), e.stopPropagation(), i) {
@@ -758,50 +804,50 @@ var We = /* @__PURE__ */ e({ default: () => yt }), Ge = ["id"], Ke = ["id"], qe
758
804
  if (N.value === null) return;
759
805
  let e = Y.value[N.value];
760
806
  if (!e) return;
761
- Mn(e, N.value);
807
+ Nn(e, N.value);
762
808
  return;
763
809
  }
764
810
  let a = N.value;
765
811
  a === null || a < 0 || a >= Y.value.length ? a = n ? 0 : Y.value.length - 1 : n ? (a += 1, a >= Y.value.length && (a = 0)) : t && (--a, a < 0 && (a = Y.value.length - 1));
766
812
  let o = Y.value[a];
767
- o && (N.value = a, $n(a), Nn(o, a, "keyboard"));
813
+ o && (N.value = a, tr(a), Pn(o, a, "keyboard"));
768
814
  }
769
- let tr = d(() => ({
815
+ let rr = f(() => ({
770
816
  headers: Z.value?.colNames?.map((e) => e.name ?? e) ?? [],
771
817
  rows: Z.value?.body ?? []
772
818
  }));
773
819
  return xe({
774
- getData: fn,
775
- getImage: Bn,
776
- generatePdf: nn,
777
- generateCsv: Pn,
778
- generateImage: rn,
779
- generateSvg: Jn,
780
- hideSeries: gn,
781
- showSeries: hn,
782
- toggleTable: In,
783
- toggleTooltip: Ln,
784
- toggleAnnotator: zn,
785
- toggleFullscreen: Fn,
786
- copyAlt: Xn
787
- }), (e, t) => (x(), m("div", {
788
- class: v(`vue-data-ui-component vue-ui-radar ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${F.value.useCssAnimation ? "" : "vue-ui-dna"}`),
820
+ getData: pn,
821
+ getImage: Vn,
822
+ generatePdf: rn,
823
+ generateCsv: Fn,
824
+ generateImage: an,
825
+ generateSvg: Xn,
826
+ hideSeries: _n,
827
+ showSeries: gn,
828
+ toggleTable: Ln,
829
+ toggleTooltip: Rn,
830
+ toggleAnnotator: Bn,
831
+ toggleFullscreen: In,
832
+ copyAlt: Qn
833
+ }), (e, t) => (x(), h("div", {
834
+ class: Re(`vue-data-ui-component vue-ui-radar ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${F.value.useCssAnimation ? "" : "vue-ui-dna"}`),
789
835
  ref_key: "radarChart",
790
836
  ref: j,
791
837
  id: `vue-ui-radar_${k.value}`,
792
838
  style: b(`font-family:${F.value.style.fontFamily};width:100%; ${F.value.responsive ? "height: 100%;" : ""} text-align:center;background:${F.value.style.chart.backgroundColor}`),
793
- onMouseenter: t[2] ||= () => E(Xt)(!0),
794
- onMouseleave: t[3] ||= () => E(Xt)(!1)
839
+ onMouseenter: t[2] ||= () => E(Zt)(!0),
840
+ onMouseleave: t[3] ||= () => E(Zt)(!1)
795
841
  }, [
796
- h("div", {
842
+ g("div", {
797
843
  id: `chart-instructions-${k.value}`,
798
844
  class: "sr-only"
799
- }, [h("p", null, T(F.value.a11y.translations.keyboardNavigation), 1)], 8, Ke),
800
- tr.value?.rows?.length ? (x(), f(Ee, {
845
+ }, [g("p", null, T(F.value.a11y.translations.keyboardNavigation), 1)], 8, qe),
846
+ rr.value?.rows?.length ? (x(), p(Ee, {
801
847
  key: 0,
802
848
  uid: k.value,
803
- head: tr.value.headers,
804
- body: tr.value.rows,
849
+ head: rr.value.headers,
850
+ body: rr.value.rows,
805
851
  notice: F.value.a11y.translations.tableAvailable,
806
852
  caption: F.value.a11y.translations.tableCaption
807
853
  }, null, 8, [
@@ -810,22 +856,22 @@ var We = /* @__PURE__ */ e({ default: () => yt }), Ge = ["id"], Ke = ["id"], qe
810
856
  "body",
811
857
  "notice",
812
858
  "caption"
813
- ])) : p("", !0),
814
- F.value.userOptions.buttons.annotator ? (x(), f(E(wt), {
859
+ ])) : m("", !0),
860
+ F.value.userOptions.buttons.annotator ? (x(), p(E(Tt), {
815
861
  key: 1,
816
862
  svgRef: E(R),
817
863
  backgroundColor: F.value.style.chart.backgroundColor,
818
864
  color: F.value.style.chart.color,
819
- active: Rn.value,
865
+ active: zn.value,
820
866
  isCursorPointer: I.value,
821
- onClose: zn
867
+ onClose: Bn
822
868
  }, {
823
869
  "annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
824
- "annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", y(_({ color: t })), void 0, !0)]),
825
- "annotator-action-draw": D(({ mode: t }) => [w(e.$slots, "annotator-action-draw", y(_({ mode: t })), void 0, !0)]),
826
- "annotator-action-undo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-undo", y(_({ disabled: t })), void 0, !0)]),
827
- "annotator-action-redo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-redo", y(_({ disabled: t })), void 0, !0)]),
828
- "annotator-action-delete": D(({ disabled: t }) => [w(e.$slots, "annotator-action-delete", y(_({ disabled: t })), void 0, !0)]),
870
+ "annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", y(v({ color: t })), void 0, !0)]),
871
+ "annotator-action-draw": D(({ mode: t }) => [w(e.$slots, "annotator-action-draw", y(v({ mode: t })), void 0, !0)]),
872
+ "annotator-action-undo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-undo", y(v({ disabled: t })), void 0, !0)]),
873
+ "annotator-action-redo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-redo", y(v({ disabled: t })), void 0, !0)]),
874
+ "annotator-action-delete": D(({ disabled: t }) => [w(e.$slots, "annotator-action-delete", y(v({ disabled: t })), void 0, !0)]),
829
875
  _: 3
830
876
  }, 8, [
831
877
  "svgRef",
@@ -833,21 +879,21 @@ var We = /* @__PURE__ */ e({ default: () => yt }), Ge = ["id"], Ke = ["id"], qe
833
879
  "color",
834
880
  "active",
835
881
  "isCursorPointer"
836
- ])) : p("", !0),
837
- an.value ? (x(), m("div", {
882
+ ])) : m("", !0),
883
+ on.value ? (x(), h("div", {
838
884
  key: 2,
839
885
  ref_key: "noTitle",
840
- ref: Lt,
886
+ ref: Rt,
841
887
  class: "vue-data-ui-no-title-space",
842
888
  style: "height:36px; width: 100%;background:transparent"
843
- }, null, 512)) : p("", !0),
844
- F.value.style.chart.title.text ? (x(), m("div", {
889
+ }, null, 512)) : m("", !0),
890
+ F.value.style.chart.title.text ? (x(), h("div", {
845
891
  key: 3,
846
892
  ref_key: "chartTitle",
847
- ref: Pt,
893
+ ref: Ft,
848
894
  style: "width:100%;background:transparent;padding-bottom:12px"
849
- }, [(x(), f(be, {
850
- key: `title_${Rt.value}`,
895
+ }, [(x(), p(be, {
896
+ key: `title_${zt.value}`,
851
897
  config: {
852
898
  title: {
853
899
  cy: "radar-div-title",
@@ -858,16 +904,16 @@ var We = /* @__PURE__ */ e({ default: () => yt }), Ge = ["id"], Ke = ["id"], qe
858
904
  ...F.value.style.chart.title.subtitle
859
905
  }
860
906
  }
861
- }, null, 8, ["config"]))], 512)) : p("", !0),
862
- h("div", { id: `legend-top-${k.value}` }, null, 8, qe),
863
- F.value.userOptions.show && jt.value && (E(Zt) || E(Yt)) ? (x(), f(E(Tt), {
907
+ }, null, 8, ["config"]))], 512)) : m("", !0),
908
+ g("div", { id: `legend-top-${k.value}` }, null, 8, Je),
909
+ F.value.userOptions.show && Mt.value && (E(Qt) || E(Xt)) ? (x(), p(E(Et), {
864
910
  ref_key: "userOptionsRef",
865
- ref: Ht,
866
- key: `user_options_${Nt.value}`,
911
+ ref: Ut,
912
+ key: `user_options_${Pt.value}`,
867
913
  backgroundColor: F.value.style.chart.backgroundColor,
868
914
  color: F.value.style.chart.color,
869
- isImaging: E(tn),
870
- isPrinting: E(en),
915
+ isImaging: E(nn),
916
+ isPrinting: E(tn),
871
917
  uid: k.value,
872
918
  hasTooltip: F.value.userOptions.buttons.tooltip && F.value.style.chart.tooltip.show,
873
919
  hasPdf: F.value.userOptions.buttons.pdf,
@@ -883,25 +929,25 @@ var We = /* @__PURE__ */ e({ default: () => yt }), Ge = ["id"], Ke = ["id"], qe
883
929
  chartElement: j.value,
884
930
  position: F.value.userOptions.position,
885
931
  hasAnnotator: F.value.userOptions.buttons.annotator,
886
- isAnnotation: Rn.value,
932
+ isAnnotation: zn.value,
887
933
  callbacks: F.value.userOptions.callbacks,
888
934
  printScale: F.value.userOptions.print.scale,
889
935
  tableDialog: F.value.table.useDialog,
890
936
  isCursorPointer: I.value,
891
- onToggleFullscreen: Fn,
892
- onGeneratePdf: E(nn),
893
- onGenerateCsv: Pn,
894
- onGenerateImage: Yn,
895
- onGenerateSvg: Jn,
896
- onToggleTable: In,
897
- onToggleTooltip: Ln,
898
- onToggleAnnotator: zn,
899
- onCopyAlt: Xn,
900
- style: b({ visibility: E(Zt) ? E(Yt) ? "visible" : "hidden" : "visible" })
937
+ onToggleFullscreen: In,
938
+ onGeneratePdf: E(rn),
939
+ onGenerateCsv: Fn,
940
+ onGenerateImage: Zn,
941
+ onGenerateSvg: Xn,
942
+ onToggleTable: Ln,
943
+ onToggleTooltip: Rn,
944
+ onToggleAnnotator: Bn,
945
+ onCopyAlt: Qn,
946
+ style: b({ visibility: E(Qt) ? E(Xt) ? "visible" : "hidden" : "visible" })
901
947
  }, Ne({ _: 2 }, [
902
948
  e.$slots.menuIcon ? {
903
949
  name: "menuIcon",
904
- fn: D(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", y(_({
950
+ fn: D(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", y(v({
905
951
  isOpen: t,
906
952
  color: n
907
953
  })), void 0, !0)]),
@@ -939,7 +985,7 @@ var We = /* @__PURE__ */ e({ default: () => yt }), Ge = ["id"], Ke = ["id"], qe
939
985
  } : void 0,
940
986
  e.$slots.optionFullscreen ? {
941
987
  name: "optionFullscreen",
942
- fn: D(({ toggleFullscreen: t, isFullscreen: n }) => [w(e.$slots, "optionFullscreen", y(_({
988
+ fn: D(({ toggleFullscreen: t, isFullscreen: n }) => [w(e.$slots, "optionFullscreen", y(v({
943
989
  toggleFullscreen: t,
944
990
  isFullscreen: n
945
991
  })), void 0, !0)]),
@@ -947,7 +993,7 @@ var We = /* @__PURE__ */ e({ default: () => yt }), Ge = ["id"], Ke = ["id"], qe
947
993
  } : void 0,
948
994
  e.$slots.optionAnnotator ? {
949
995
  name: "optionAnnotator",
950
- fn: D(({ toggleAnnotator: t, isAnnotator: n }) => [w(e.$slots, "optionAnnotator", y(_({
996
+ fn: D(({ toggleAnnotator: t, isAnnotator: n }) => [w(e.$slots, "optionAnnotator", y(v({
951
997
  toggleAnnotator: t,
952
998
  isAnnotator: n
953
999
  })), void 0, !0)]),
@@ -955,7 +1001,7 @@ var We = /* @__PURE__ */ e({ default: () => yt }), Ge = ["id"], Ke = ["id"], qe
955
1001
  } : void 0,
956
1002
  e.$slots.optionAltCopy ? {
957
1003
  name: "optionAltCopy",
958
- fn: D(({ altCopy: t }) => [w(e.$slots, "optionAltCopy", y(_({ altCopy: t })), void 0, !0)]),
1004
+ fn: D(({ altCopy: t }) => [w(e.$slots, "optionAltCopy", y(v({ altCopy: t })), void 0, !0)]),
959
1005
  key: "9"
960
1006
  } : void 0,
961
1007
  e.$slots["custom-menu-before"] ? {
@@ -968,33 +1014,33 @@ var We = /* @__PURE__ */ e({ default: () => yt }), Ge = ["id"], Ke = ["id"], qe
968
1014
  fn: D(() => [w(e.$slots, "custom-menu-after", {}, void 0, !0)]),
969
1015
  key: "11"
970
1016
  } : void 0
971
- ]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : p("", !0),
972
- h("div", Je, [(x(), m("svg", {
1017
+ ]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : m("", !0),
1018
+ g("div", Ye, [(x(), h("svg", {
973
1019
  ref_key: "svgRef",
974
1020
  ref: R,
975
1021
  xmlns: E(ce),
976
1022
  "aria-describedby": `chart-instructions-${k.value}`,
977
- class: v({
1023
+ class: Re({
978
1024
  "vue-data-ui-fullscreen--on": $.value,
979
1025
  "vue-data-ui-fulscreen--off": !$.value
980
1026
  }),
981
1027
  viewBox: `0 0 ${U.value.width <= 0 ? 10 : U.value.width} ${U.value.height <= 0 ? 10 : U.value.height}`,
982
1028
  style: b(`max-width:100%;overflow:visible;background:transparent;color:${F.value.style.chart.color}`),
983
1029
  tabindex: "0",
984
- onFocus: Zn,
985
- onBlur: Qn,
986
- onKeydown: er
1030
+ onFocus: $n,
1031
+ onBlur: er,
1032
+ onKeydown: nr
987
1033
  }, [
988
- Fe(E(Et)),
989
- e.$slots["chart-background"] ? (x(), m("foreignObject", {
1034
+ Fe(E(Dt)),
1035
+ e.$slots["chart-background"] ? (x(), h("foreignObject", {
990
1036
  key: 0,
991
1037
  x: 0,
992
1038
  y: 0,
993
1039
  width: U.value.width <= 0 ? 10 : U.value.width,
994
1040
  height: U.value.height <= 0 ? 10 : U.value.height,
995
1041
  style: { pointerEvents: "none" }
996
- }, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, Xe)) : p("", !0),
997
- h("defs", null, [(x(!0), m(u, null, C(q.value, (e, t) => (x(), f(we, {
1042
+ }, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, Ze)) : m("", !0),
1043
+ g("defs", null, [(x(!0), h(d, null, C(q.value, (e, t) => (x(), p(we, {
998
1044
  t: "radial",
999
1045
  cx: "50%",
1000
1046
  cy: "50%",
@@ -1005,153 +1051,153 @@ var We = /* @__PURE__ */ e({ default: () => yt }), Ge = ["id"], Ke = ["id"], qe
1005
1051
  key: `radar_gradient_${k.value}_${t}`,
1006
1052
  stops: [[
1007
1053
  "0%",
1008
- E(de)(E(n)(e.color, .05), F.value.style.chart.layout.dataPolygon.opacity),
1054
+ E(r)(E(te)(e.color, .05), F.value.style.chart.layout.dataPolygon.opacity),
1009
1055
  1
1010
1056
  ], [
1011
1057
  "100%",
1012
- E(de)(e.color, F.value.style.chart.layout.dataPolygon.opacity),
1058
+ E(r)(e.color, F.value.style.chart.layout.dataPolygon.opacity),
1013
1059
  1
1014
1060
  ]]
1015
1061
  }, null, 8, ["id", "stops"]))), 128))]),
1016
- F.value.style.chart.layout.grid.show ? (x(), m("g", Ze, [(x(!0), m(u, null, C(Y.value, (e) => (x(), m("line", {
1062
+ F.value.style.chart.layout.grid.show ? (x(), h("g", Qe, [(x(!0), h(d, null, C(Y.value, (e) => (x(), h("line", {
1017
1063
  x1: U.value.width / 2,
1018
1064
  y1: U.value.height / 2,
1019
1065
  x2: e.x,
1020
1066
  y2: e.y,
1021
1067
  stroke: F.value.style.chart.layout.grid.stroke,
1022
1068
  "stroke-width": F.value.style.chart.layout.grid.strokeWidth
1023
- }, null, 8, Qe))), 256)), F.value.style.chart.layout.grid.graduations > 0 ? (x(), m("g", $e, [(x(!0), m(u, null, C(Cn.value, (e) => (x(), m("path", {
1024
- d: E(ie)({
1069
+ }, null, 8, $e))), 256)), F.value.style.chart.layout.grid.graduations > 0 ? (x(), h("g", et, [(x(!0), h(d, null, C(wn.value, (e) => (x(), h("path", {
1070
+ d: E(s)({
1025
1071
  plot: {
1026
1072
  x: U.value.width / 2,
1027
1073
  y: U.value.height / 2
1028
1074
  },
1029
1075
  radius: e,
1030
- sides: bn.value,
1076
+ sides: xn.value,
1031
1077
  rotation: 0
1032
1078
  }).path,
1033
1079
  fill: "none",
1034
1080
  stroke: F.value.style.chart.layout.grid.stroke,
1035
1081
  "stroke-width": F.value.style.chart.layout.grid.strokeWidth
1036
- }, null, 8, et))), 256))])) : p("", !0)])) : p("", !0),
1037
- h("path", {
1038
- d: Sn.value.path,
1082
+ }, null, 8, tt))), 256))])) : m("", !0)])) : m("", !0),
1083
+ g("path", {
1084
+ d: Cn.value.path,
1039
1085
  fill: "none",
1040
1086
  stroke: F.value.style.chart.layout.outerPolygon.stroke,
1041
1087
  "stroke-width": F.value.style.chart.layout.outerPolygon.strokeWidth,
1042
1088
  "stroke-linejoin": "round",
1043
1089
  "stroke-linecap": "round"
1044
- }, null, 8, tt),
1045
- F.value.style.chart.layout.labels.dataLabels.show ? (x(), m("g", nt, [(x(!0), m(u, null, C(Y.value, (e, t) => (x(), m("text", {
1090
+ }, null, 8, nt),
1091
+ F.value.style.chart.layout.labels.dataLabels.show ? (x(), h("g", rt, [(x(!0), h(d, null, C(Y.value, (e, t) => (x(), h("text", {
1046
1092
  class: "vue-ui-radar-apex-label",
1047
1093
  x: e.labelX,
1048
1094
  y: e.labelY,
1049
1095
  "text-anchor": e.labelAnchor,
1050
1096
  "font-size": F.value.style.chart.layout.labels.dataLabels.fontSize,
1051
1097
  fill: F.value.style.chart.layout.labels.dataLabels.color,
1052
- onMouseenter: (n) => Nn(e, t, "pointer"),
1053
- onMouseleave: (n) => jn(e, t),
1054
- onClick: (n) => Mn(e, t)
1055
- }, T(e.name), 41, rt))), 256))])) : p("", !0),
1056
- (x(!0), m(u, null, C(q.value, (e, t) => (x(), m("g", null, [h("g", null, [F.value.useCssAnimation || !F.value.useCssAnimation && !W.value.includes(t) ? (x(), m("polygon", {
1098
+ onMouseenter: (n) => Pn(e, t, "pointer"),
1099
+ onMouseleave: (n) => Mn(e, t),
1100
+ onClick: (n) => Nn(e, t)
1101
+ }, T(e.name), 41, it))), 256))])) : m("", !0),
1102
+ (x(!0), h(d, null, C(q.value, (e, t) => (x(), h("g", null, [g("g", null, [F.value.useCssAnimation || !F.value.useCssAnimation && !W.value.includes(t) ? (x(), h("polygon", {
1057
1103
  key: 0,
1058
- points: E(ae)(Y.value.map((e) => e.plots[t]), !1, !0),
1104
+ points: E(n)(Y.value.map((e) => e.plots[t]), !1, !0),
1059
1105
  stroke: F.value.style.chart.backgroundColor,
1060
1106
  "stroke-width": F.value.style.chart.layout.dataPolygon.strokeWidth + 1,
1061
1107
  fill: "none",
1062
- class: v({
1108
+ class: Re({
1063
1109
  "animated-out": W.value.includes(t) && F.value.useCssAnimation,
1064
1110
  "animated-in": K.value && G.value === t && F.value.useCssAnimation
1065
1111
  })
1066
- }, null, 10, it)) : p("", !0), F.value.useCssAnimation || !F.value.useCssAnimation && !W.value.includes(t) ? (x(), m("polygon", {
1112
+ }, null, 10, at)) : m("", !0), F.value.useCssAnimation || !F.value.useCssAnimation && !W.value.includes(t) ? (x(), h("polygon", {
1067
1113
  key: 1,
1068
- points: E(ae)(Y.value.map((e) => e.plots[t]), !1, !0),
1114
+ points: E(n)(Y.value.map((e) => e.plots[t]), !1, !0),
1069
1115
  stroke: e.color,
1070
1116
  "stroke-width": F.value.style.chart.layout.dataPolygon.strokeWidth,
1071
- fill: F.value.style.chart.layout.dataPolygon.transparent ? "transparent" : F.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${k.value}_${t})` : E(de)(e.color, F.value.style.chart.layout.dataPolygon.opacity),
1072
- class: v({
1117
+ fill: F.value.style.chart.layout.dataPolygon.transparent ? "transparent" : F.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${k.value}_${t})` : E(r)(e.color, F.value.style.chart.layout.dataPolygon.opacity),
1118
+ class: Re({
1073
1119
  "animated-out": W.value.includes(t) && F.value.useCssAnimation,
1074
1120
  "animated-in": K.value && G.value === t && F.value.useCssAnimation
1075
1121
  })
1076
- }, null, 10, at)) : p("", !0)])]))), 256)),
1077
- F.value.style.chart.layout.targetReference.show ? (x(), m("path", {
1122
+ }, null, 10, ot)) : m("", !0)])]))), 256)),
1123
+ F.value.style.chart.layout.targetReference.show ? (x(), h("path", {
1078
1124
  key: 3,
1079
1125
  class: "vue-ui-radar-target-polygon",
1080
- d: `M${E(ae)(yn.value, !1, !0)}Z`,
1126
+ d: `M${E(n)(bn.value, !1, !0)}Z`,
1081
1127
  fill: "none",
1082
1128
  stroke: F.value.style.chart.layout.targetReference.stroke,
1083
1129
  "stroke-width": F.value.style.chart.layout.targetReference.strokeWidth,
1084
1130
  "stroke-linejoin": "round",
1085
1131
  "stroke-linecap": "round",
1086
1132
  "stroke-dasharray": F.value.style.chart.layout.targetReference.strokeDasharray
1087
- }, null, 8, ot)) : p("", !0),
1088
- F.value.style.chart.layout.plots.show ? (x(), m("g", st, [(x(!0), m(u, null, C(Y.value, (e, t) => (x(), m("g", null, [(x(!0), m(u, null, C(e.plots, (e, n) => (x(), m("circle", {
1133
+ }, null, 8, st)) : m("", !0),
1134
+ F.value.style.chart.layout.plots.show ? (x(), h("g", ct, [(x(!0), h(d, null, C(Y.value, (e, t) => (x(), h("g", null, [(x(!0), h(d, null, C(e.plots, (e, n) => (x(), h("circle", {
1089
1135
  cx: e.x,
1090
1136
  cy: e.y,
1091
1137
  fill: W.value.includes(n) ? "transparent" : q.value[n] ? q.value[n].color : "transparent",
1092
1138
  r: Q.value !== null && Q.value === t ? F.value.style.chart.layout.plots.radius * 1.6 : F.value.style.chart.layout.plots.radius,
1093
1139
  stroke: W.value.includes(n) ? "transparent" : F.value.style.chart.backgroundColor,
1094
1140
  "stroke-width": .5,
1095
- class: v({
1141
+ class: Re({
1096
1142
  "animated-out": W.value.includes(n) && F.value.useCssAnimation,
1097
1143
  "animated-in": K.value && G.value === n && F.value.useCssAnimation
1098
1144
  })
1099
- }, null, 10, ct))), 256))]))), 256))])) : p("", !0),
1145
+ }, null, 10, lt))), 256))]))), 256))])) : m("", !0),
1100
1146
  w(e.$slots, "svg", { svg: {
1101
1147
  ...U.value,
1102
- outerPolygon: Sn.value,
1103
- isPrintingImg: E(en) || E(tn) || Ut.value,
1104
- isPrintingSvg: Wt.value
1148
+ outerPolygon: Cn.value,
1149
+ isPrintingImg: E(tn) || E(nn) || Wt.value,
1150
+ isPrintingSvg: Gt.value
1105
1151
  } }, void 0, !0)
1106
- ], 46, Ye)), e.$slots.hint ? (x(), m("div", lt, [w(e.$slots, "hint", y(_({
1152
+ ], 46, Xe)), e.$slots.hint ? (x(), h("div", ut, [w(e.$slots, "hint", y(v({
1107
1153
  hint: F.value.a11y.translations.keyboardNavigation,
1108
- isVisible: Kt.value
1109
- })), void 0, !0)])) : p("", !0)]),
1110
- e.$slots.watermark ? (x(), m("div", ut, [w(e.$slots, "watermark", y(_({ isPrinting: E(en) || E(tn) || Ut.value || Wt.value })), void 0, !0)])) : p("", !0),
1111
- h("div", { id: `legend-bottom-${k.value}` }, null, 8, dt),
1112
- Vt.value && (F.value.style.chart.legend.show || e.$slots.legend) ? (x(), f(Me, {
1154
+ isVisible: qt.value
1155
+ })), void 0, !0)])) : m("", !0)]),
1156
+ e.$slots.watermark ? (x(), h("div", dt, [w(e.$slots, "watermark", y(v({ isPrinting: E(tn) || E(nn) || Wt.value || Gt.value })), void 0, !0)])) : m("", !0),
1157
+ g("div", { id: `legend-bottom-${k.value}` }, null, 8, ft),
1158
+ Ht.value && (F.value.style.chart.legend.show || e.$slots.legend) ? (x(), p(Me, {
1113
1159
  key: 6,
1114
1160
  to: F.value.style.chart.legend.position === "top" ? `#legend-top-${k.value}` : `#legend-bottom-${k.value}`
1115
- }, [h("div", {
1161
+ }, [g("div", {
1116
1162
  ref_key: "chartLegend",
1117
- ref: Ft
1118
- }, [w(e.$slots, "legend", { legend: X.value }, () => [F.value.style.chart.legend.show ? (x(), f(ke, {
1119
- key: `legend_${Bt.value}`,
1163
+ ref: It
1164
+ }, [w(e.$slots, "legend", { legend: X.value }, () => [F.value.style.chart.legend.show ? (x(), p(ke, {
1165
+ key: `legend_${Vt.value}`,
1120
1166
  legendSet: X.value,
1121
- config: On.value,
1167
+ config: kn.value,
1122
1168
  isCursorPointer: I.value,
1123
- onClickMarker: t[0] ||= ({ i: e }) => dn(e)
1169
+ onClickMarker: t[0] ||= ({ i: e }) => fn(e)
1124
1170
  }, Ne({
1125
- item: D(({ legend: e, index: t }) => [E(Jt) ? p("", !0) : (x(), m("div", {
1171
+ item: D(({ legend: e, index: t }) => [E(Yt) ? m("", !0) : (x(), h("div", {
1126
1172
  key: 0,
1127
1173
  onClick: (t) => e.segregate(),
1128
1174
  style: b(`opacity:${W.value.includes(t) ? .5 : 1}`)
1129
- }, T(e.display), 13, ft))]),
1130
- legendToggle: D(() => [X.value.length > 2 && F.value.style.chart.legend.selectAllToggle.show && !E(Jt) ? (x(), f(Te, {
1175
+ }, T(e.display), 13, pt))]),
1176
+ legendToggle: D(() => [X.value.length > 2 && F.value.style.chart.legend.selectAllToggle.show && !E(Yt) ? (x(), p(Te, {
1131
1177
  key: 0,
1132
1178
  backgroundColor: F.value.style.chart.legend.selectAllToggle.backgroundColor,
1133
1179
  color: F.value.style.chart.legend.selectAllToggle.color,
1134
1180
  fontSize: F.value.style.chart.legend.fontSize,
1135
1181
  checked: W.value.length > 0,
1136
1182
  isCursorPointer: I.value,
1137
- onToggle: ln
1183
+ onToggle: un
1138
1184
  }, null, 8, [
1139
1185
  "backgroundColor",
1140
1186
  "color",
1141
1187
  "fontSize",
1142
1188
  "checked",
1143
1189
  "isCursorPointer"
1144
- ])) : p("", !0)]),
1190
+ ])) : m("", !0)]),
1145
1191
  _: 2
1146
1192
  }, [F.value.style.chart.layout.targetReference.show && F.value.style.chart.layout.targetReference.showInLegend ? {
1147
1193
  name: "after",
1148
- fn: D(() => [h("div", pt, [h("div", { style: b({
1194
+ fn: D(() => [g("div", mt, [g("div", { style: b({
1149
1195
  display: "flex",
1150
1196
  height: F.value.style.chart.legend.fontSize
1151
- }) }, [(x(), m("svg", {
1197
+ }) }, [(x(), h("svg", {
1152
1198
  style: b({ width: F.value.style.chart.legend.fontSize * 2 }),
1153
1199
  viewBox: "0 0 16 8"
1154
- }, [h("line", {
1200
+ }, [g("line", {
1155
1201
  x1: "0",
1156
1202
  x2: "16",
1157
1203
  y1: "4",
@@ -1160,20 +1206,20 @@ var We = /* @__PURE__ */ e({ default: () => yt }), Ge = ["id"], Ke = ["id"], qe
1160
1206
  "stroke-width": F.value.style.chart.layout.targetReference.strokeWidth * .7,
1161
1207
  "stroke-dasharray": F.value.style.chart.layout.targetReference.strokeDasharray * .7,
1162
1208
  "stroke-linecap": "round"
1163
- }, null, 8, mt)], 4))], 4), h("span", null, T(F.value.style.chart.layout.targetReference.legendLabel), 1)])]),
1209
+ }, null, 8, ht)], 4))], 4), g("span", null, T(F.value.style.chart.layout.targetReference.legendLabel), 1)])]),
1164
1210
  key: "0"
1165
1211
  } : void 0]), 1032, [
1166
1212
  "legendSet",
1167
1213
  "config",
1168
1214
  "isCursorPointer"
1169
- ])) : p("", !0)], !0)], 512)], 8, ["to"])) : p("", !0),
1170
- e.$slots.source ? (x(), m("div", {
1215
+ ])) : m("", !0)], !0)], 512)], 8, ["to"])) : m("", !0),
1216
+ e.$slots.source ? (x(), h("div", {
1171
1217
  key: 7,
1172
1218
  ref_key: "source",
1173
- ref: It,
1219
+ ref: Lt,
1174
1220
  dir: "auto"
1175
- }, [w(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
1176
- Fe(E(yt), {
1221
+ }, [w(e.$slots, "source", {}, void 0, !0)], 512)) : m("", !0),
1222
+ Fe(E(bt), {
1177
1223
  teleportTo: F.value.style.chart.tooltip.teleportTo,
1178
1224
  show: H.value.showTooltip && A.value,
1179
1225
  backgroundColor: F.value.style.chart.tooltip.backgroundColor,
@@ -1187,7 +1233,7 @@ var We = /* @__PURE__ */ e({ default: () => yt }), Ge = ["id"], Ke = ["id"], qe
1187
1233
  offsetX: F.value.style.chart.tooltip.offsetX,
1188
1234
  offsetY: F.value.style.chart.tooltip.offsetY,
1189
1235
  parent: j.value,
1190
- content: Mt.value,
1236
+ content: Nt.value,
1191
1237
  isFullscreen: $.value,
1192
1238
  isCustom: F.value.style.chart.tooltip.customFormat && typeof F.value.style.chart.tooltip.customFormat == "function",
1193
1239
  smooth: F.value.style.chart.tooltip.smooth,
@@ -1195,18 +1241,18 @@ var We = /* @__PURE__ */ e({ default: () => yt }), Ge = ["id"], Ke = ["id"], qe
1195
1241
  smoothForce: F.value.style.chart.tooltip.smoothForce,
1196
1242
  smoothSnapThreshold: F.value.style.chart.tooltip.smoothSnapThreshold,
1197
1243
  isA11yMode: P.value === "keyboard",
1198
- a11yPosition: Gt.value
1244
+ a11yPosition: Kt.value
1199
1245
  }, {
1200
- "tooltip-before": D(() => [w(e.$slots, "tooltip-before", y(_({ ...An.value })), void 0, !0)]),
1201
- tooltip: D(() => [w(e.$slots, "tooltip", y(_({ ...An.value })), void 0, !0)]),
1202
- "tooltip-after": D(() => [!["function"].includes(typeof F.value.style.chart.tooltip.customFormat) && !e.$slots.tooltip ? (x(), m("div", ht, [Fe(E(xt), {
1203
- dataset: kn.value,
1204
- config: sn.value,
1246
+ "tooltip-before": D(() => [w(e.$slots, "tooltip-before", y(v({ ...jn.value })), void 0, !0)]),
1247
+ tooltip: D(() => [w(e.$slots, "tooltip", y(v({ ...jn.value })), void 0, !0)]),
1248
+ "tooltip-after": D(() => [!["function"].includes(typeof F.value.style.chart.tooltip.customFormat) && !e.$slots.tooltip ? (x(), h("div", gt, [Fe(E(St), {
1249
+ dataset: An.value,
1250
+ config: cn.value,
1205
1251
  backgroundOpacity: 0
1206
1252
  }, {
1207
- "data-label": D(({ bar: e }) => [h("div", gt, [h("span", _t, T(e.name + (F.value.style.chart.tooltip.showValue || F.value.style.chart.tooltip.showPercentage ? ":" : "")), 1), F.value.style.chart.tooltip.showValue || F.value.style.chart.tooltip.showPercentage ? (x(), m("span", vt, T(e.suffix), 1)) : p("", !0)])]),
1253
+ "data-label": D(({ bar: e }) => [g("div", _t, [g("span", vt, T(e.name + (F.value.style.chart.tooltip.showValue || F.value.style.chart.tooltip.showPercentage ? ":" : "")), 1), F.value.style.chart.tooltip.showValue || F.value.style.chart.tooltip.showPercentage ? (x(), h("span", yt, T(e.suffix), 1)) : m("", !0)])]),
1208
1254
  _: 1
1209
- }, 8, ["dataset", "config"])])) : p("", !0), w(e.$slots, "tooltip-after", y(_({ ...An.value })), void 0, !0)]),
1255
+ }, 8, ["dataset", "config"])])) : m("", !0), w(e.$slots, "tooltip-after", y(v({ ...jn.value })), void 0, !0)]),
1210
1256
  _: 3
1211
1257
  }, 8, [
1212
1258
  "teleportTo",
@@ -1232,21 +1278,21 @@ var We = /* @__PURE__ */ e({ default: () => yt }), Ge = ["id"], Ke = ["id"], qe
1232
1278
  "isA11yMode",
1233
1279
  "a11yPosition"
1234
1280
  ]),
1235
- jt.value && F.value.userOptions.buttons.table ? (x(), f(Be(Vn.value.component), Ie({ key: 8 }, Vn.value.props, {
1281
+ Mt.value && F.value.userOptions.buttons.table ? (x(), p(Ve(Hn.value.component), Ie({ key: 8 }, Hn.value.props, {
1236
1282
  ref_key: "tableUnit",
1237
1283
  ref: M,
1238
- onClose: Hn
1284
+ onClose: Un
1239
1285
  }), Ne({
1240
- content: D(() => [(x(), f(E(Ct), {
1241
- key: `table_${zt.value}`,
1286
+ content: D(() => [(x(), p(E(wt), {
1287
+ key: `table_${Bt.value}`,
1242
1288
  colNames: Z.value.colNames,
1243
1289
  head: Z.value.head,
1244
1290
  body: Z.value.body,
1245
1291
  config: Z.value.config,
1246
- title: F.value.table.useDialog ? "" : Vn.value.title,
1292
+ title: F.value.table.useDialog ? "" : Hn.value.title,
1247
1293
  withCloseButton: !F.value.table.useDialog,
1248
1294
  isCursorPointer: I.value,
1249
- onClose: Hn
1295
+ onClose: Un
1250
1296
  }, {
1251
1297
  th: D(({ th: e }) => [Pe(T(e.name), 1)]),
1252
1298
  td: D(({ td: e }) => [Pe(T(e), 1)]),
@@ -1263,24 +1309,24 @@ var We = /* @__PURE__ */ e({ default: () => yt }), Ge = ["id"], Ke = ["id"], qe
1263
1309
  _: 2
1264
1310
  }, [F.value.table.useDialog ? {
1265
1311
  name: "title",
1266
- fn: D(() => [Pe(T(Vn.value.title), 1)]),
1312
+ fn: D(() => [Pe(T(Hn.value.title), 1)]),
1267
1313
  key: "0"
1268
1314
  } : void 0, F.value.table.useDialog ? {
1269
1315
  name: "actions",
1270
- fn: D(() => [h("button", {
1316
+ fn: D(() => [g("button", {
1271
1317
  tabindex: "0",
1272
1318
  class: "vue-ui-user-options-button",
1273
- onClick: t[1] ||= (e) => Pn(F.value.userOptions.callbacks.csv),
1319
+ onClick: t[1] ||= (e) => Fn(F.value.userOptions.callbacks.csv),
1274
1320
  style: b({ cursor: I.value ? "pointer" : "default" })
1275
- }, [Fe(E(bt), {
1321
+ }, [Fe(E(xt), {
1276
1322
  name: "fileCsv",
1277
- stroke: Vn.value.props.color
1323
+ stroke: Hn.value.props.color
1278
1324
  }, null, 8, ["stroke"])], 4)]),
1279
1325
  key: "1"
1280
- } : void 0]), 1040)) : p("", !0),
1281
- w(e.$slots, "skeleton", {}, () => [E(Jt) ? (x(), f(he, { key: 0 })) : p("", !0)], !0)
1282
- ], 46, Ge));
1326
+ } : void 0]), 1040)) : m("", !0),
1327
+ w(e.$slots, "skeleton", {}, () => [E(Yt) ? (x(), p(he, { key: 0 })) : m("", !0)], !0)
1328
+ ], 46, Ke));
1283
1329
  }
1284
- }, [["__scopeId", "data-v-ee3081b3"]]);
1330
+ }, [["__scopeId", "data-v-92aa007a"]]);
1285
1331
  //#endregion
1286
- export { We as n, yt as t };
1332
+ export { Ge as n, bt as t };