vue-data-ui 3.15.12 → 3.16.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 (218) hide show
  1. package/README.md +132 -59
  2. package/dist/A11yDataTable-KcVAX2cP.js +54 -0
  3. package/dist/{Arrow-DlPyR6HQ.js → Arrow-Bn-9n3bm.js} +1 -1
  4. package/dist/{BaseDraggableDialog-DSpKTn3R.js → BaseDraggableDialog-CIb-iD9g.js} +2 -2
  5. package/dist/{BaseIcon-CNx8Tzl5.js → BaseIcon-Cb3zzG6s.js} +1 -1
  6. package/dist/{BaseLegendToggle-Y61xahI4.js → BaseLegendToggle-BQVIawmA.js} +1 -1
  7. package/dist/{BaseZoomControls-CoFievy9.js → BaseZoomControls-DievbOeJ.js} +2 -2
  8. package/dist/ColorPicker-B0mV4xzu.js +255 -0
  9. package/dist/{DataTable-Bo1pmAqG.js → DataTable-DT2kIdQ6.js} +2 -2
  10. package/dist/Legend-CS7Xo5LK.js +101 -0
  11. package/dist/{NonSvgPenAndPaper-CGk_xThe.js → NonSvgPenAndPaper-VyJFyJ6X.js} +3 -3
  12. package/dist/{PackageVersion-DN9d0ME5.js → PackageVersion-DPO-OOVI.js} +1 -1
  13. package/dist/{PenAndPaper-DWV1FMIi.js → PenAndPaper-Ct3qJ4lA.js} +109 -101
  14. package/dist/{Shape-CSyWYgXc.js → Shape-BKRUOeKk.js} +1 -1
  15. package/dist/{Slicer-DZJA9IG-.js → Slicer-DUycDH_N.js} +2 -2
  16. package/dist/{SlicerPreview-I2J0UUF_.js → SlicerPreview-DTjwV0iY.js} +2 -2
  17. package/dist/{SparkTooltip-BiseJed3.js → SparkTooltip-BorBpltj.js} +1 -1
  18. package/dist/{Title-BfyrP-jp.js → Title-BeMKE1cj.js} +1 -1
  19. package/dist/{Tooltip-DL3QgjZf.js → Tooltip-Bf-kM3_A.js} +86 -68
  20. package/dist/{UserOptions-CrLqEimB.js → UserOptions-rW2fRf3V.js} +228 -222
  21. package/dist/components/arrow.js +1 -1
  22. package/dist/components/vue-ui-3d-bar.js +1 -1
  23. package/dist/components/vue-ui-accordion.js +1 -1
  24. package/dist/components/vue-ui-age-pyramid.js +1 -1
  25. package/dist/components/vue-ui-annotator.js +1 -1
  26. package/dist/components/vue-ui-bullet.js +1 -1
  27. package/dist/components/vue-ui-bump.js +1 -1
  28. package/dist/components/vue-ui-candlestick.js +1 -1
  29. package/dist/components/vue-ui-carousel-table.js +1 -1
  30. package/dist/components/vue-ui-chestnut.js +1 -1
  31. package/dist/components/vue-ui-chord.js +1 -1
  32. package/dist/components/vue-ui-circle-pack.js +1 -1
  33. package/dist/components/vue-ui-cursor.js +1 -1
  34. package/dist/components/vue-ui-dag.js +1 -1
  35. package/dist/components/vue-ui-dashboard.js +1 -1
  36. package/dist/components/vue-ui-digits.js +1 -1
  37. package/dist/components/vue-ui-donut-evolution.js +1 -1
  38. package/dist/components/vue-ui-donut.js +1 -1
  39. package/dist/components/vue-ui-dumbbell.js +1 -1
  40. package/dist/components/vue-ui-flow.js +1 -1
  41. package/dist/components/vue-ui-funnel.js +1 -1
  42. package/dist/components/vue-ui-galaxy.js +1 -1
  43. package/dist/components/vue-ui-gauge.js +1 -1
  44. package/dist/components/vue-ui-geo.js +1 -1
  45. package/dist/components/vue-ui-gizmo.js +1 -1
  46. package/dist/components/vue-ui-heatmap.js +1 -1
  47. package/dist/components/vue-ui-history-plot.js +1 -1
  48. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  49. package/dist/components/vue-ui-icon.js +1 -1
  50. package/dist/components/vue-ui-kpi.js +1 -1
  51. package/dist/components/vue-ui-mini-loader.js +1 -1
  52. package/dist/components/vue-ui-molecule.js +1 -1
  53. package/dist/components/vue-ui-mood-radar.js +1 -1
  54. package/dist/components/vue-ui-nested-donuts.js +1 -1
  55. package/dist/components/vue-ui-onion.js +1 -1
  56. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  57. package/dist/components/vue-ui-quadrant.js +1 -1
  58. package/dist/components/vue-ui-quick-chart.js +1 -1
  59. package/dist/components/vue-ui-radar.js +1 -1
  60. package/dist/components/vue-ui-rating.js +1 -1
  61. package/dist/components/vue-ui-relation-circle.js +1 -1
  62. package/dist/components/vue-ui-ridgeline.js +1 -1
  63. package/dist/components/vue-ui-rings.js +1 -1
  64. package/dist/components/vue-ui-scatter.js +1 -1
  65. package/dist/components/vue-ui-skeleton.js +1 -1
  66. package/dist/components/vue-ui-smiley.js +1 -1
  67. package/dist/components/vue-ui-spark-trend.js +1 -1
  68. package/dist/components/vue-ui-sparkbar.js +1 -1
  69. package/dist/components/vue-ui-sparkgauge.js +1 -1
  70. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  71. package/dist/components/vue-ui-sparkline.js +1 -1
  72. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  73. package/dist/components/vue-ui-stackbar.js +1 -1
  74. package/dist/components/vue-ui-stackline.js +1 -1
  75. package/dist/components/vue-ui-strip-plot.js +1 -1
  76. package/dist/components/vue-ui-table-heatmap.js +1 -1
  77. package/dist/components/vue-ui-table-sparkline.js +1 -1
  78. package/dist/components/vue-ui-table.js +1 -1
  79. package/dist/components/vue-ui-thermometer.js +1 -1
  80. package/dist/components/vue-ui-timer.js +1 -1
  81. package/dist/components/vue-ui-tiremarks.js +1 -1
  82. package/dist/components/vue-ui-treemap.js +1 -1
  83. package/dist/components/vue-ui-vertical-bar.js +1 -1
  84. package/dist/components/vue-ui-waffle.js +1 -1
  85. package/dist/components/vue-ui-wheel.js +1 -1
  86. package/dist/components/vue-ui-word-cloud.js +1 -1
  87. package/dist/components/vue-ui-world.js +1 -1
  88. package/dist/components/vue-ui-xy-canvas.js +1 -1
  89. package/dist/components/vue-ui-xy.js +1 -1
  90. package/dist/{dom-to-png-BAqzNjb1.js → dom-to-png-CtxhhdWb.js} +1 -1
  91. package/dist/{exposedLib-H4lmBl1t.js → exposedLib-DlqmhBx3.js} +1 -1
  92. package/dist/{img-BYYzY_QU.js → img-LXxMLmCg.js} +1 -1
  93. package/dist/{labelUtils-CTXUc3V9.js → labelUtils-CqTHa20R.js} +1 -1
  94. package/dist/{lib-GwPnJSrY.js → lib-DBptbyyI.js} +106 -84
  95. package/dist/{pdf-z-YiJeJQ.js → pdf-B4tTdfvl.js} +1 -1
  96. package/dist/style.css +1 -1
  97. package/dist/types/vue-data-ui.d.ts +59 -0
  98. package/dist/{useAutoSizeLabelsInsideViewbox-80fzdfxt.js → useAutoSizeLabelsInsideViewbox-DX7LdvFX.js} +1 -1
  99. package/dist/{useConfig-CIgyKZ6R.js → useConfig-DO94Aj5s.js} +953 -700
  100. package/dist/{useNestedProp-BBT0mbHh.js → useNestedProp-Bf5XFbs8.js} +1 -1
  101. package/dist/{useObjectBindings-BlXBVtRa.js → useObjectBindings-DQ8g8Jwi.js} +1 -1
  102. package/dist/usePrefersMotion-CUKm8_t8.js +15 -0
  103. package/dist/{usePrinter-DiK5R6k-.js → usePrinter-CEpYU3r5.js} +2 -2
  104. package/dist/utils.js +3 -3
  105. package/dist/{vue-data-ui-C2kPofmi.js → vue-data-ui-DXGkXRnC.js} +68 -68
  106. package/dist/vue-data-ui.js +72 -72
  107. package/dist/vue-ui-3d-bar-BaFpQnd5.js +1597 -0
  108. package/dist/{vue-ui-accordion-BGHTqIBt.js → vue-ui-accordion-nvggWcGN.js} +4 -4
  109. package/dist/vue-ui-age-pyramid-CRM498Pc.js +1069 -0
  110. package/dist/{vue-ui-annotator-B1GWVtPp.js → vue-ui-annotator-CkPi9moo.js} +7 -7
  111. package/dist/{vue-ui-bullet-DPoGGtaG.js → vue-ui-bullet-BBiwof3c.js} +158 -150
  112. package/dist/vue-ui-bump-Brxpu4xV.js +1147 -0
  113. package/dist/vue-ui-candlestick-DAnZv77-.js +1587 -0
  114. package/dist/{vue-ui-carousel-table-CmiHTJ8E.js → vue-ui-carousel-table-BHRZBYY0.js} +168 -160
  115. package/dist/vue-ui-chestnut-CbrYnRgm.js +1812 -0
  116. package/dist/vue-ui-chord-CaX_IUVs.js +1326 -0
  117. package/dist/vue-ui-circle-pack-CR3h53sc.js +988 -0
  118. package/dist/{vue-ui-cursor-B4mHR7QC.js → vue-ui-cursor-Cjfazw7Z.js} +4 -4
  119. package/dist/vue-ui-dag-B9vH3c66.js +3047 -0
  120. package/dist/{vue-ui-dashboard-Bo5FX73U.js → vue-ui-dashboard-DWll05qs.js} +70 -70
  121. package/dist/{vue-ui-digits-mpo2IcM5.js → vue-ui-digits-DcM67rMx.js} +76 -66
  122. package/dist/vue-ui-donut-Be5G38P5.js +2229 -0
  123. package/dist/vue-ui-donut-evolution-BLSesj3c.js +1358 -0
  124. package/dist/vue-ui-dumbbell-DIMiCY4r.js +1380 -0
  125. package/dist/vue-ui-flow-zvZylhgr.js +1202 -0
  126. package/dist/{vue-ui-funnel-BRkaEkBb.js → vue-ui-funnel-CSri-oWm.js} +7 -7
  127. package/dist/vue-ui-galaxy-CGykxsAI.js +1012 -0
  128. package/dist/{vue-ui-gauge-J2VYHsQe.js → vue-ui-gauge-D1MNB9Jq.js} +8 -8
  129. package/dist/vue-ui-geo-DdJDGhG2.js +1437 -0
  130. package/dist/{vue-ui-gizmo-DEec3-v9.js → vue-ui-gizmo-BZYRHGFm.js} +77 -68
  131. package/dist/vue-ui-heatmap-CryOx6XK.js +1500 -0
  132. package/dist/vue-ui-history-plot-C85iw9Kl.js +1449 -0
  133. package/dist/vue-ui-horizontal-bar-BoBZOybC.js +1637 -0
  134. package/dist/vue-ui-kpi-DHrolXw6.js +109 -0
  135. package/dist/{vue-ui-mini-loader-CoOHvZUk.js → vue-ui-mini-loader-Bc3fEQ9j.js} +3 -3
  136. package/dist/{vue-ui-molecule-Chq1qWDK.js → vue-ui-molecule-DJ_BQ4DK.js} +6 -6
  137. package/dist/vue-ui-mood-radar-CBE02TpQ.js +1086 -0
  138. package/dist/vue-ui-nested-donuts-YTFtb4CL.js +1595 -0
  139. package/dist/vue-ui-onion-B9l81-PS.js +1124 -0
  140. package/dist/vue-ui-parallel-coordinate-plot-C1e_rs8J.js +1252 -0
  141. package/dist/vue-ui-quadrant-C1qsLCRn.js +1759 -0
  142. package/dist/vue-ui-quick-chart-DFoz3WiA.js +2216 -0
  143. package/dist/vue-ui-radar-Cmo3p-UA.js +1139 -0
  144. package/dist/{vue-ui-rating-zV58MDQh.js → vue-ui-rating-BAHhYt_A.js} +3 -3
  145. package/dist/vue-ui-relation-circle-BqwznVwf.js +782 -0
  146. package/dist/vue-ui-ridgeline-CDk9eXJq.js +1473 -0
  147. package/dist/vue-ui-rings-BRkGoQdL.js +1156 -0
  148. package/dist/vue-ui-scatter-BxDtWASQ.js +1831 -0
  149. package/dist/{vue-ui-skeleton-CbqNz9IE.js → vue-ui-skeleton-D6kTb9aO.js} +4 -4
  150. package/dist/{vue-ui-smiley-BK5EKp9u.js → vue-ui-smiley-CzVaLlpB.js} +3 -3
  151. package/dist/vue-ui-spark-trend-D8Mf2A1w.js +378 -0
  152. package/dist/{vue-ui-sparkbar-DUDWvTo-.js → vue-ui-sparkbar-BbYj56c3.js} +86 -84
  153. package/dist/vue-ui-sparkgauge-DXzOSLRb.js +256 -0
  154. package/dist/vue-ui-sparkhistogram-DMfSx1iH.js +474 -0
  155. package/dist/vue-ui-sparkline-D-rQ9PsC.js +1327 -0
  156. package/dist/vue-ui-sparkstackbar-DK5n8IKP.js +621 -0
  157. package/dist/vue-ui-stackbar-BHthy6jf.js +2070 -0
  158. package/dist/vue-ui-stackline-C6-WNpKD.js +2164 -0
  159. package/dist/vue-ui-strip-plot-CHu-1ilI.js +1183 -0
  160. package/dist/{vue-ui-table-BHuXI4Eq.js → vue-ui-table-DW9JGsLq.js} +6 -6
  161. package/dist/{vue-ui-table-heatmap-y88sBfu3.js → vue-ui-table-heatmap-LYqoBit9.js} +6 -6
  162. package/dist/{vue-ui-table-sparkline-ClpLLKi2.js → vue-ui-table-sparkline-CXK1dFr-.js} +5 -5
  163. package/dist/{vue-ui-thermometer-sjruUGQx.js → vue-ui-thermometer-BN8tflOz.js} +272 -256
  164. package/dist/{vue-ui-timer-CgdgMKIc.js → vue-ui-timer-DGT0UBOF.js} +6 -6
  165. package/dist/{vue-ui-tiremarks-UBDpAIVr.js → vue-ui-tiremarks-BZ-osQqY.js} +204 -191
  166. package/dist/vue-ui-treemap-98KaVRyd.js +1723 -0
  167. package/dist/vue-ui-waffle-Cb7oJnIc.js +1321 -0
  168. package/dist/vue-ui-wheel-sfew1fjw.js +738 -0
  169. package/dist/vue-ui-word-cloud-vq1t9JHr.js +1548 -0
  170. package/dist/{vue-ui-world-D-3wgoTn.js → vue-ui-world-CN0f6elD.js} +8 -8
  171. package/dist/vue-ui-xy-BdzEiImZ.js +3877 -0
  172. package/dist/vue-ui-xy-canvas-CWQzUQzY.js +1810 -0
  173. package/package.json +2 -2
  174. package/dist/ColorPicker-j0ySewhI.js +0 -244
  175. package/dist/Legend-1LMMsPxL.js +0 -90
  176. package/dist/vue-ui-3d-bar-BhNgFaJA.js +0 -1484
  177. package/dist/vue-ui-age-pyramid-CuYRf5v-.js +0 -997
  178. package/dist/vue-ui-bump-C_fKharc.js +0 -1059
  179. package/dist/vue-ui-candlestick-BY-_E7eZ.js +0 -1487
  180. package/dist/vue-ui-chestnut-C-bQYaNI.js +0 -1557
  181. package/dist/vue-ui-chord-uQYQgyGM.js +0 -1220
  182. package/dist/vue-ui-circle-pack-CdbDcuDw.js +0 -907
  183. package/dist/vue-ui-dag-DsHUvjvm.js +0 -2885
  184. package/dist/vue-ui-donut-CzCgCVsx.js +0 -2139
  185. package/dist/vue-ui-donut-evolution-C_ck_TOR.js +0 -1297
  186. package/dist/vue-ui-dumbbell-CVSA90b2.js +0 -1293
  187. package/dist/vue-ui-flow-CsbSaFnu.js +0 -1075
  188. package/dist/vue-ui-galaxy-DWKHDciu.js +0 -914
  189. package/dist/vue-ui-geo-DykhEWVq.js +0 -1331
  190. package/dist/vue-ui-heatmap-BEDirv8T.js +0 -1334
  191. package/dist/vue-ui-history-plot-Bs96PebH.js +0 -1292
  192. package/dist/vue-ui-horizontal-bar-ClQcB9nL.js +0 -1522
  193. package/dist/vue-ui-kpi-DlUEHKuw.js +0 -101
  194. package/dist/vue-ui-mood-radar-A2LBLgUi.js +0 -967
  195. package/dist/vue-ui-nested-donuts-DFX251aT.js +0 -1513
  196. package/dist/vue-ui-onion-CW0YO9Ro.js +0 -1045
  197. package/dist/vue-ui-parallel-coordinate-plot-UFg10bHP.js +0 -1134
  198. package/dist/vue-ui-quadrant-C1pLW2zA.js +0 -1647
  199. package/dist/vue-ui-quick-chart-FaxttnJY.js +0 -2030
  200. package/dist/vue-ui-radar-DE70LPBZ.js +0 -1067
  201. package/dist/vue-ui-relation-circle-iuRXIyRU.js +0 -704
  202. package/dist/vue-ui-ridgeline-CwvDh5pG.js +0 -1385
  203. package/dist/vue-ui-rings-80ZUki42.js +0 -1083
  204. package/dist/vue-ui-scatter-FdAAYJOK.js +0 -1670
  205. package/dist/vue-ui-spark-trend-C68p8-Xp.js +0 -349
  206. package/dist/vue-ui-sparkgauge-DdRtHQDe.js +0 -245
  207. package/dist/vue-ui-sparkhistogram-C9DvzQae.js +0 -396
  208. package/dist/vue-ui-sparkline-B2RDrdiR.js +0 -1273
  209. package/dist/vue-ui-sparkstackbar-BsIOHUE5.js +0 -475
  210. package/dist/vue-ui-stackbar-BZl0kEkb.js +0 -2001
  211. package/dist/vue-ui-stackline-2VKxwFei.js +0 -2099
  212. package/dist/vue-ui-strip-plot-B9nBSRyY.js +0 -1080
  213. package/dist/vue-ui-treemap-BS5EilZf.js +0 -1645
  214. package/dist/vue-ui-waffle-CbX5K9Q2.js +0 -1211
  215. package/dist/vue-ui-wheel-BIJ09H5D.js +0 -723
  216. package/dist/vue-ui-word-cloud-DJmJ-oYT.js +0 -1466
  217. package/dist/vue-ui-xy-canvas-4auyhlTr.js +0 -1717
  218. package/dist/vue-ui-xy-f67V1xjd.js +0 -3713
@@ -0,0 +1,1139 @@
1
+ import { defineAsyncComponent as x, computed as p, ref as u, toRefs as aa, watch as $e, shallowRef as ut, onMounted as oa, onBeforeUnmount as la, openBlock as s, createElementBlock as c, unref as i, normalizeStyle as ae, normalizeClass as oe, createElementVNode as b, toDisplayString as R, createBlock as S, createCommentVNode as f, withCtx as d, renderSlot as g, normalizeProps as w, guardReactiveProps as $, createSlots as it, createVNode as re, Fragment as U, renderList as E, Teleport as na, resolveDynamicComponent as sa, mergeProps as ra, createTextVNode as Te, nextTick as Ae } from "vue";
2
+ import { j as ua, t as ct, m as ia, p as M, o as ca, q as W, n as va, s as vt, A as dt, K as da, l as j, k as Pe, X as pa, u as _e, v as ga, ah as pt, r as gt, a0 as ha, a1 as fa, T as ya, U as ma } from "./lib-DBptbyyI.js";
3
+ import { t as ba, u as ka } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Ca } from "./useConfig-DO94Aj5s.js";
5
+ import { u as wa, B as $a } from "./BaseScanner-BhhkKVoj.js";
6
+ import { u as Ta } from "./usePrinter-CEpYU3r5.js";
7
+ import { u as Aa } from "./useSvgExport-ByUukOZt.js";
8
+ import { u as Se } from "./useNestedProp-Bf5XFbs8.js";
9
+ import { u as Pa } from "./useThemeCheck-D1ZYXUwG.js";
10
+ import { u as _a } from "./useUserOptionState-BIvW1Kz7.js";
11
+ import { u as Sa } from "./useChartAccessibility-9icAAmYg.js";
12
+ import { u as Oa } from "./useAutoSizeLabelsInsideViewbox-DX7LdvFX.js";
13
+ import Ia from "./img-LXxMLmCg.js";
14
+ import xa from "./Title-BeMKE1cj.js";
15
+ import Fa from "./Legend-CS7Xo5LK.js";
16
+ import Na from "./vue_ui_radar-DryGBOrz.js";
17
+ import { A as La } from "./A11yDataTable-KcVAX2cP.js";
18
+ import { B as Ra } from "./BaseLegendToggle-BQVIawmA.js";
19
+ import { _ as Da } from "./_plugin-vue_export-helper-CHgC5LLL.js";
20
+ const Va = ["id"], za = ["id"], Ba = ["id"], Ua = { style: { position: "relative" } }, Ea = ["xmlns", "aria-describedby", "viewBox"], Ma = ["width", "height"], Wa = ["id"], Ga = ["stop-color"], Xa = ["stop-color"], Ka = { key: 1 }, Ya = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ja = { key: 0 }, qa = ["d", "stroke", "stroke-width"], Ha = ["d", "stroke", "stroke-width"], Ja = { key: 2 }, Qa = ["x", "y", "text-anchor", "font-size", "fill", "onMouseenter", "onMouseleave", "onClick"], Za = ["points", "stroke", "stroke-width"], eo = ["points", "stroke", "stroke-width", "fill"], to = { key: 3 }, ao = ["cx", "cy", "fill", "r", "stroke"], oo = {
21
+ key: 0,
22
+ style: { position: "absolute", top: "100%", left: "0", width: "100%" },
23
+ "data-dom-to-png-ignore": "",
24
+ "aria-hidden": "true"
25
+ }, lo = {
26
+ key: 5,
27
+ class: "vue-data-ui-watermark"
28
+ }, no = ["id"], so = ["onClick"], ro = {
29
+ key: 0,
30
+ style: { "max-width": "200px", margin: "0 auto" }
31
+ }, uo = {
32
+ class: "vue-ui-radar-tooltip-datalabel",
33
+ style: { width: "100%" }
34
+ }, io = { class: "vue-ui-radar-tooltip-datalabel-name" }, co = { key: 0 }, vo = {
35
+ __name: "vue-ui-radar",
36
+ props: {
37
+ config: {
38
+ type: Object,
39
+ default() {
40
+ return {};
41
+ }
42
+ },
43
+ dataset: {
44
+ type: Object,
45
+ default() {
46
+ return {};
47
+ }
48
+ }
49
+ },
50
+ emits: ["selectLegend", "copyAlt"],
51
+ setup(ht, { expose: ft, emit: yt }) {
52
+ const mt = x(() => import("./Tooltip-Bf-kM3_A.js")), bt = x(() => import("./BaseIcon-Cb3zzG6s.js")), kt = x(() => import("./vue-ui-sparkbar-BbYj56c3.js")), Ct = x(() => import("./vue-ui-accordion-nvggWcGN.js")), wt = x(() => import("./DataTable-DT2kIdQ6.js")), $t = x(() => import("./PenAndPaper-Ct3qJ4lA.js")), Tt = x(() => import("./UserOptions-rW2fRf3V.js")), At = x(() => import("./PackageVersion-DPO-OOVI.js")), Pt = x(() => import("./BaseDraggableDialog-CIb-iD9g.js")), { vue_ui_radar: _t } = Ca(), { isThemeValid: St, warnInvalidTheme: Ot } = Pa(), O = ht, Oe = p(() => !!O.dataset && Object.keys(O.dataset).length), m = u(ua()), q = u(!1), ue = u(""), Ie = u(0), I = u(null), xe = u(null), Fe = u(null), Ne = u(null), Le = u(null), Re = u(0), De = u(0), Ve = u(0), ze = u(!1), H = u(null), ie = u(null), le = u(!1), ne = u(!1), A = u(null), Be = u({ x: 0, y: 0 }), J = u("pointer"), ce = u(!1), e = u(pe()), D = p(() => e.value.userOptions.useCursorPointer), It = p(() => ct({
53
+ defaultConfig: {
54
+ userOptions: { show: !1 },
55
+ table: { show: !1 },
56
+ useCssAnimation: !1,
57
+ style: {
58
+ chart: {
59
+ backgroundColor: "#99999930",
60
+ layout: {
61
+ grid: {
62
+ stroke: "#6A6A6A90"
63
+ },
64
+ labels: {
65
+ dataLabels: { show: !1 }
66
+ },
67
+ outerPolygon: {
68
+ stroke: "#6A6A6A"
69
+ }
70
+ },
71
+ legend: {
72
+ backgroundColor: "transparent"
73
+ }
74
+ }
75
+ }
76
+ },
77
+ userConfig: e.value.skeletonConfig ?? {}
78
+ })), { loading: ve, FINAL_DATASET: V } = wa({
79
+ ...aa(O),
80
+ FINAL_CONFIG: e,
81
+ prepareConfig: pe,
82
+ callback: () => {
83
+ Promise.resolve().then(async () => {
84
+ await Ae(), k.value.showTable = e.value.table.show;
85
+ });
86
+ },
87
+ skeletonDataset: O.config?.skeletonDataset ?? {
88
+ categories: [{ name: "_", color: "#6A6A6A" }],
89
+ series: [
90
+ { name: "_", values: [0.6], target: 1 },
91
+ { name: "_", values: [0.6], target: 1 },
92
+ { name: "_", values: [0.6], target: 1 },
93
+ { name: "_", values: [0.6], target: 1 },
94
+ { name: "_", values: [0.6], target: 1 },
95
+ { name: "_", values: [0.6], target: 1 }
96
+ ]
97
+ },
98
+ skeletonConfig: ct({
99
+ defaultConfig: e.value,
100
+ userConfig: It.value
101
+ })
102
+ }), { userOptionsVisible: de, setUserOptionsVisibility: Ue, keepUserOptionState: Ee } = _a({ config: e.value }), { svgRef: F } = Sa({ config: e.value.style.chart.title });
103
+ function pe() {
104
+ const t = Se({
105
+ userConfig: O.config,
106
+ defaultConfig: _t
107
+ }), o = t.theme;
108
+ if (!o) return t;
109
+ if (!St.value(t))
110
+ return Ot(t), t;
111
+ const a = Se({
112
+ userConfig: Na[o] || O.config,
113
+ defaultConfig: t
114
+ }), l = Se({
115
+ userConfig: O.config,
116
+ defaultConfig: a
117
+ });
118
+ return {
119
+ ...l,
120
+ customPalette: l.customPalette.length ? l.customPalette : ia[o] || M
121
+ };
122
+ }
123
+ $e(() => O.config, (t) => {
124
+ e.value = pe(), de.value = !e.value.userOptions.showOnChartHover, Me(), Re.value += 1, De.value += 1, Ve.value += 1, k.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, k.value.showTable = e.value.table.show, k.value.showTooltip = e.value.style.chart.tooltip ? e.value.style.chart.tooltip.show : !1;
125
+ }, { deep: !0 });
126
+ const N = ut(null), G = ut(null), z = p(() => e.value.debug);
127
+ function Me() {
128
+ if (ca(O.dataset) && W({
129
+ componentName: "VueUiRadar",
130
+ type: "dataset",
131
+ debug: z.value
132
+ }), e.value.responsive) {
133
+ const t = ba(() => {
134
+ const { width: o, height: a } = ka({
135
+ chart: I.value,
136
+ title: e.value.style.chart.title.text ? xe.value : null,
137
+ legend: e.value.style.chart.legend.show ? Fe.value : null,
138
+ source: Ne.value,
139
+ noTitle: Le.value
140
+ });
141
+ requestAnimationFrame(() => {
142
+ v.value.width = o, v.value.height = a, Je();
143
+ });
144
+ });
145
+ N.value && (G.value && N.value.unobserve(G.value), N.value.disconnect()), N.value = new ResizeObserver(t), G.value = I.value.parentNode, N.value.observe(G.value);
146
+ }
147
+ Je();
148
+ }
149
+ oa(() => {
150
+ ze.value = !0, Me();
151
+ }), la(() => {
152
+ N.value && (G.value && N.value.unobserve(G.value), N.value.disconnect());
153
+ });
154
+ const { isPrinting: ge, isImaging: he, generatePdf: We, generateImage: Ge } = Ta({
155
+ elementId: `vue-ui-radar_${m.value}`,
156
+ fileName: e.value.style.chart.title.text || "vue-ui-radar",
157
+ options: e.value.userOptions.print
158
+ }), xt = p(() => e.value.userOptions.show && !e.value.style.chart.title.text), Xe = p(() => va(e.value.customPalette)), k = u({
159
+ dataLabels: {
160
+ show: e.value.style.chart.layout.labels.dataLabels.show
161
+ },
162
+ showTable: e.value.table.show,
163
+ showTooltip: e.value.style.chart.tooltip.show
164
+ }), Ft = p(() => ({
165
+ style: {
166
+ backgroundColor: "#FFFFFF00",
167
+ animation: {
168
+ show: e.value.style.chart.tooltip.animation.show,
169
+ animationFrames: e.value.style.chart.tooltip.animation.animationFrames
170
+ },
171
+ labels: {
172
+ fontSize: e.value.style.chart.tooltip.fontSize,
173
+ name: {
174
+ color: e.value.style.chart.tooltip.color
175
+ }
176
+ },
177
+ gutter: {
178
+ backgroundColor: "#CCCCCC",
179
+ opacity: 30
180
+ }
181
+ }
182
+ })), v = u({
183
+ height: 312,
184
+ width: 512
185
+ }), Ke = yt, h = u([]), Q = u(null), X = u(!1);
186
+ function Nt() {
187
+ h.value.length ? h.value = [] : _.value.forEach((t, o) => {
188
+ h.value.push(o);
189
+ });
190
+ }
191
+ function se(t) {
192
+ X.value = !0, h.value.includes(t) ? (Q.value = t, h.value = h.value.filter((o) => o !== t), setTimeout(() => {
193
+ X.value = !1, Q.value = null;
194
+ }, 500)) : (h.value.push(t), setTimeout(() => {
195
+ X.value = !1;
196
+ }, 500)), Ke("selectLegend", _.value.filter((o, a) => !h.value.includes(a)).map((o) => ({
197
+ name: o.name,
198
+ color: o.color,
199
+ proportion: o.totalProportion
200
+ })));
201
+ }
202
+ function Lt() {
203
+ return _.value.map((t) => ({
204
+ name: t.name,
205
+ color: t.color,
206
+ proportion: t.totalProportion
207
+ }));
208
+ }
209
+ function Rt() {
210
+ const t = V.value;
211
+ if ([null, void 0].includes(t?.categories)) {
212
+ W({
213
+ componentName: "VueUiRadar",
214
+ type: "dataset",
215
+ debug: z.value
216
+ }), W({
217
+ componentName: "VueUiRadar",
218
+ type: "datasetAttribute",
219
+ property: "categories ({ name: string; prefix?: string; suffix?: string}[])",
220
+ debug: z.value
221
+ });
222
+ return;
223
+ }
224
+ t.categories.length === 0 ? W({
225
+ componentName: "VueUiRadar",
226
+ type: "datasetAttributeEmpty",
227
+ property: "categories",
228
+ debug: z.value
229
+ }) : t.categories.forEach((o, a) => {
230
+ gt({
231
+ datasetObject: o,
232
+ requiredAttributes: ["name"]
233
+ }).forEach((l) => {
234
+ W({
235
+ componentName: "VueUiRadar",
236
+ type: "datasetAttribute",
237
+ property: `category.${l} at index ${a}`,
238
+ index: a,
239
+ debug: z.value
240
+ });
241
+ });
242
+ }), [null, void 0].includes(t?.series) ? W({
243
+ componentName: "VueUiRadar",
244
+ type: "datasetAttribute",
245
+ property: "series ({ name: string; values: number[]; color?: string; target: number}[])",
246
+ debug: z.value
247
+ }) : t.series.forEach((o, a) => {
248
+ gt({
249
+ datasetObject: o,
250
+ requiredAttributes: ["name", "values", "target"]
251
+ }).forEach((l) => {
252
+ W({
253
+ componentName: "VueUiRadar",
254
+ type: "datasetSerieAttribute",
255
+ key: "series",
256
+ property: l,
257
+ index: a,
258
+ debug: z.value
259
+ });
260
+ });
261
+ });
262
+ }
263
+ $e(
264
+ () => V.value,
265
+ () => Rt(),
266
+ { deep: !0, immediate: !0 }
267
+ );
268
+ const P = p(() => {
269
+ const t = Array.isArray(V.value?.categories) ? V.value.categories : [], o = Xe.value ?? M;
270
+ return t.map((a, l) => ({
271
+ name: a?.name ?? "",
272
+ categoryId: `radar_category_${m.value}_${l}`,
273
+ color: vt(a?.color) || o[l] || M[l % M.length],
274
+ prefix: a?.prefix ?? "",
275
+ suffix: a?.suffix ?? ""
276
+ }));
277
+ }), T = p(() => V.value.series.map((t, o) => ({
278
+ ...t,
279
+ color: vt(t.color) || Xe.value[o] || M[o] || M[o % M.length],
280
+ serieId: `radar_serie_${m.value}_${o}`,
281
+ formatter: t.formatter || null,
282
+ absoluteIndex: o
283
+ })));
284
+ function Ye(t) {
285
+ if (!T.value.length)
286
+ return e.value.debug && console.warn("VueUiRadar - There are no series to show."), null;
287
+ const o = _.value.find((a) => a.name === t);
288
+ return o || (e.value.debug && console.warn(`VueUiRadar - Series name not found "${t}"`), null);
289
+ }
290
+ function Dt(t) {
291
+ const o = Ye(t);
292
+ o !== null && h.value.includes(o.absoluteIndex) && se(o.absoluteIndex);
293
+ }
294
+ function Vt(t) {
295
+ const o = Ye(t);
296
+ o !== null && (h.value.includes(o.absoluteIndex) || se(o.absoluteIndex));
297
+ }
298
+ const je = p(() => Math.max(...T.value.flatMap((t) => t.values))), qe = p(() => T.value.length), fe = p(() => Math.min(v.value.width, v.value.height) / 3), He = p(() => dt({
299
+ plot: { x: v.value.width / 2, y: v.value.height / 2 },
300
+ radius: fe.value,
301
+ sides: qe.value,
302
+ rotation: 0
303
+ })), zt = p(() => {
304
+ const t = [];
305
+ for (let o = 0; o < fe.value; o += fe.value / e.value.style.chart.layout.grid.graduations)
306
+ t.push(o);
307
+ return t;
308
+ }), y = p(() => He.value.coordinates.map((t, o) => {
309
+ const a = T.value[o].values.map((l) => Ut({
310
+ centerX: v.value.width / 2,
311
+ centerY: v.value.height / 2,
312
+ apexX: t.x,
313
+ apexY: t.y,
314
+ proportion: l / (T.value[o].target || je.value)
315
+ }));
316
+ return {
317
+ ...t,
318
+ ...T.value[o],
319
+ plots: a
320
+ };
321
+ }).map((t) => ({
322
+ ...t,
323
+ labelX: ye(t).x,
324
+ labelY: ye(t).y,
325
+ labelAnchor: ye(t).anchor
326
+ })));
327
+ function ye({ x: t, y: o }) {
328
+ let a = "middle";
329
+ return t = Math.round(t), o = Math.round(o), t > v.value.width / 2 && (t += 12, a = "start"), t < v.value.width / 2 && (t -= 12, a = "end"), o > v.value.height / 2 + 1 && (o += 20), o < v.value.height / 2 - 1 && (o -= 12), o === v.value.height / 2 && (o += 4), { x: t, y: o, anchor: a };
330
+ }
331
+ const Bt = p({
332
+ get: () => e.value.style.chart.layout.labels.dataLabels.fontSize,
333
+ set: (t) => t
334
+ }), { autoSizeLabels: Je } = Oa({
335
+ svgRef: F,
336
+ fontSize: e.value.style.chart.layout.labels.dataLabels.fontSize,
337
+ minFontSize: 6,
338
+ sizeRef: Bt,
339
+ labelClass: ".vue-ui-radar-apex-label"
340
+ });
341
+ function Ut({ centerX: t, centerY: o, apexX: a, apexY: l, proportion: r }) {
342
+ return {
343
+ x: t + (a - t) * r,
344
+ y: o + (l - o) * r
345
+ };
346
+ }
347
+ const _ = p(() => {
348
+ const t = T.value.map((o, a) => o.values.map((l) => l / (o.target || je.value)));
349
+ return P.value.map((o, a) => {
350
+ const l = da(t.map((r) => r[a]).reduce((r, n) => r + n, 0) / T.value.length);
351
+ return {
352
+ ...o,
353
+ absoluteIndex: a,
354
+ totalProportion: l,
355
+ shape: "circle",
356
+ opacity: h.value.includes(a) ? 0.5 : 1,
357
+ segregate: () => se(a),
358
+ isSegregated: h.value.includes(a),
359
+ display: `${o.name}: ${j({
360
+ v: (l ?? 0) * 100,
361
+ s: "%",
362
+ r: e.value.style.chart.legend.roundingPercentage
363
+ })}`
364
+ };
365
+ });
366
+ }), Et = p(() => ({
367
+ cy: "radar-div-legend",
368
+ backgroundColor: e.value.style.chart.legend.backgroundColor,
369
+ color: e.value.style.chart.legend.color,
370
+ fontSize: e.value.style.chart.legend.fontSize,
371
+ paddingBottom: 12,
372
+ fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
373
+ })), K = p(() => {
374
+ const t = [
375
+ { name: e.value.translations.datapoint, color: "" },
376
+ { name: e.value.translations.target, color: "" },
377
+ ..._.value
378
+ ], o = V.value.series.map((l) => [
379
+ l.name,
380
+ Pe(
381
+ l.formatter,
382
+ l.target,
383
+ j({
384
+ p: l.prefix,
385
+ v: l.target,
386
+ s: l.suffix,
387
+ r: e.value.table.td.roundingValue
388
+ })
389
+ ),
390
+ ...l.values.map((r, n) => `${Pe(
391
+ l.formatter,
392
+ r,
393
+ j({ p: P.value[n]?.prefix ?? "", v: r, s: P.value[n]?.suffix ?? "", r: e.value.table.td.roundingValue })
394
+ )} (${isNaN(r / l.target) ? "" : j({
395
+ v: r / l.target * 100,
396
+ s: "%",
397
+ r: e.value.table.td.roundingPercentage
398
+ })})`)
399
+ ]), a = {
400
+ th: {
401
+ backgroundColor: e.value.table.th.backgroundColor,
402
+ color: e.value.table.th.color,
403
+ outline: e.value.table.th.outline
404
+ },
405
+ td: {
406
+ backgroundColor: e.value.table.td.backgroundColor,
407
+ color: e.value.table.td.color,
408
+ outline: e.value.table.td.outline
409
+ },
410
+ breakpoint: e.value.table.responsiveBreakpoint
411
+ };
412
+ return { head: t, body: o, config: a, colNames: t };
413
+ }), Y = u(null), me = u([]), be = u(null);
414
+ function Mt(t, o) {
415
+ q.value = !1, Y.value = null, A.value = null, J.value = "pointer", e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: o });
416
+ }
417
+ function Qe(t, o) {
418
+ e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: o });
419
+ }
420
+ function Ze(t, o, a = "pointer") {
421
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: o }), J.value = a, A.value = o;
422
+ const l = P.value.slice();
423
+ me.value = [], Y.value = o, q.value = !0, be.value = {
424
+ datapoint: t,
425
+ seriesIndex: o,
426
+ series: {
427
+ categories: l,
428
+ datapoints: T.value,
429
+ radar: y.value
430
+ },
431
+ config: e.value
432
+ };
433
+ const r = e.value.style.chart.tooltip.customFormat;
434
+ if (ya(r) && ma(() => r({
435
+ seriesIndex: o,
436
+ datapoint: t,
437
+ series: { categories: l, datapoints: T.value, radar: y.value },
438
+ config: e.value
439
+ }))) {
440
+ ue.value = r({
441
+ seriesIndex: o,
442
+ datapoint: t,
443
+ series: { categories: l, datapoints: T.value, radar: y.value },
444
+ config: e.value
445
+ });
446
+ return;
447
+ }
448
+ ue.value = `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`;
449
+ for (let n = 0; n < t.values.length; n += 1)
450
+ if (!h.value.includes(n)) {
451
+ const C = l[n], L = t.values[n], te = isNaN(L / t.target) ? 0 : L / t.target * 100, st = Pe(
452
+ t.formatter,
453
+ L,
454
+ j({
455
+ p: P.value[n].prefix,
456
+ v: L,
457
+ s: P.value[n].suffix,
458
+ r: e.value.style.chart.tooltip.roundingValue
459
+ }),
460
+ { datapoint: t }
461
+ ), rt = j({
462
+ v: te,
463
+ s: "%",
464
+ r: e.value.style.chart.tooltip.roundingPercentage
465
+ }), ta = e.value.style.chart.tooltip.showValue && e.value.style.chart.tooltip.showPercentage ? `${st} (${rt})` : e.value.style.chart.tooltip.showValue && !e.value.style.chart.tooltip.showPercentage ? st : !e.value.style.chart.tooltip.showValue && e.value.style.chart.tooltip.showPercentage ? `${rt}` : "";
466
+ me.value.push({
467
+ name: C?.name ?? `#${n + 1}`,
468
+ value: t.values[n] / t.target * 100,
469
+ color: C?.color,
470
+ suffix: ta,
471
+ prefix: "",
472
+ rounding: e.value.style.chart.tooltip.roundingPercentage,
473
+ formatter: t.formatter
474
+ });
475
+ }
476
+ }
477
+ function ke(t = null) {
478
+ Ae(() => {
479
+ const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = [[""], [e.value.translations.target], ..._.value.flatMap((C) => [[C.name], ["%"]])], l = V.value.series.map((C, L) => [C.name, C.target, ...C.values.flatMap((te) => [
480
+ te,
481
+ isNaN(te / C.target) ? "" : te / C.target * 100
482
+ ])]), r = o.concat([a]).concat(l), n = ha(r);
483
+ t ? t(n) : fa({ csvContent: n, title: e.value.style.chart.title.text || "vue-ui-radar" });
484
+ });
485
+ }
486
+ const B = u(!1);
487
+ function et(t) {
488
+ B.value = t, Ie.value += 1;
489
+ }
490
+ function tt() {
491
+ k.value.showTable = !k.value.showTable;
492
+ }
493
+ function at() {
494
+ k.value.showTooltip = !k.value.showTooltip;
495
+ }
496
+ const Z = u(!1);
497
+ function Ce() {
498
+ Z.value = !Z.value;
499
+ }
500
+ async function Wt({ scale: t = 2 } = {}) {
501
+ if (!I.value) return;
502
+ const { width: o, height: a } = I.value.getBoundingClientRect(), l = o / a, { imageUri: r, base64: n } = await Ia({ domElement: I.value, base64: !0, img: !0, scale: t });
503
+ return {
504
+ imageUri: r,
505
+ base64: n,
506
+ title: e.value.style.chart.title.text,
507
+ width: o,
508
+ height: a,
509
+ aspectRatio: l
510
+ };
511
+ }
512
+ const ee = p(() => {
513
+ const t = e.value.table.useDialog && !e.value.table.show, o = k.value.showTable;
514
+ return {
515
+ component: t ? Pt : Ct,
516
+ title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
517
+ props: t ? {
518
+ backgroundColor: e.value.table.th.backgroundColor,
519
+ color: e.value.table.th.color,
520
+ headerColor: e.value.table.th.color,
521
+ headerBg: e.value.table.th.backgroundColor,
522
+ isFullscreen: B.value,
523
+ fullscreenParent: I.value,
524
+ forcedWidth: Math.min(800, window.innerWidth * 0.8),
525
+ isCursorPointer: D.value
526
+ } : {
527
+ hideDetails: !0,
528
+ config: {
529
+ open: o,
530
+ maxHeight: 1e4,
531
+ body: {
532
+ backgroundColor: e.value.style.chart.backgroundColor,
533
+ color: e.value.style.chart.color
534
+ },
535
+ head: {
536
+ backgroundColor: e.value.style.chart.backgroundColor,
537
+ color: e.value.style.chart.color
538
+ }
539
+ }
540
+ }
541
+ };
542
+ });
543
+ $e(() => k.value.showTable, (t) => {
544
+ e.value.table.show || (t && e.value.table.useDialog && H.value ? H.value.open() : "close" in H.value && H.value.close());
545
+ });
546
+ function ot() {
547
+ k.value.showTable = !1, ie.value && ie.value.setTableIconState(!1);
548
+ }
549
+ const Gt = p(() => _.value.map((t) => ({
550
+ ...t,
551
+ name: t.display
552
+ }))), Xt = p(() => e.value.style.chart.backgroundColor), Kt = p(() => e.value.style.chart.legend), Yt = p(() => e.value.style.chart.title), { exportSvg: jt, getSvg: qt } = Aa({
553
+ svg: F,
554
+ title: Yt,
555
+ legend: Kt,
556
+ legendItems: Gt,
557
+ backgroundColor: Xt
558
+ });
559
+ async function lt({ isCb: t }) {
560
+ ne.value = !0, await Ae();
561
+ try {
562
+ if (t) {
563
+ const { blob: o, url: a, text: l, dataUrl: r } = await qt();
564
+ await Promise.resolve(e.value.userOptions.callbacks.svg({ blob: o, url: a, text: l, dataUrl: r }));
565
+ } else
566
+ await Promise.resolve(jt());
567
+ } finally {
568
+ ne.value = !1;
569
+ }
570
+ }
571
+ function Ht(t) {
572
+ if (t?.stage === "start") {
573
+ le.value = !0;
574
+ return;
575
+ }
576
+ if (t?.stage === "end") {
577
+ le.value = !1;
578
+ return;
579
+ }
580
+ Ge();
581
+ }
582
+ async function nt() {
583
+ if (Ke("copyAlt", {
584
+ config: e.value,
585
+ dataset: y.value
586
+ }), !e.value.userOptions.callbacks.altCopy) {
587
+ console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
588
+ return;
589
+ }
590
+ await Promise.resolve(e.value.userOptions.callbacks.altCopy({
591
+ config: e.value,
592
+ dataset: y.value
593
+ }));
594
+ }
595
+ function Jt() {
596
+ A.value = null, ce.value = !0;
597
+ }
598
+ function Qt() {
599
+ A.value = null, J.value = "pointer", q.value = !1, Y.value = null, ce.value = !1;
600
+ }
601
+ function Zt(t) {
602
+ if (!Number.isFinite(t) || !F.value) return;
603
+ const o = y.value[t];
604
+ if (!o) return;
605
+ const a = F.value.getBoundingClientRect();
606
+ Be.value = {
607
+ x: a.left + o.labelX / v.value.width * a.width,
608
+ y: a.top + o.labelY / v.value.height * a.height
609
+ };
610
+ }
611
+ function ea(t) {
612
+ if (!F.value || Z.value || document.activeElement !== F.value || !y.value.length) return;
613
+ const o = ["ArrowLeft", "ArrowUp"].includes(t.key), a = ["ArrowRight", "ArrowDown"].includes(t.key), l = t.key === "Enter" || t.key === " ", r = t.key === "Escape";
614
+ if (!o && !a && !l && !r) return;
615
+ if (t.preventDefault(), t.stopPropagation(), r) {
616
+ A.value = null, J.value = "pointer", q.value = !1, Y.value = null;
617
+ return;
618
+ }
619
+ if (l) {
620
+ if (A.value === null) return;
621
+ const L = y.value[A.value];
622
+ if (!L) return;
623
+ Qe(L, A.value);
624
+ return;
625
+ }
626
+ let n = A.value;
627
+ n === null || n < 0 || n >= y.value.length ? n = a ? 0 : y.value.length - 1 : a ? (n += 1, n >= y.value.length && (n = 0)) : o && (n -= 1, n < 0 && (n = y.value.length - 1));
628
+ const C = y.value[n];
629
+ C && (A.value = n, Zt(n), Ze(C, n, "keyboard"));
630
+ }
631
+ const we = p(() => {
632
+ const t = K.value?.colNames?.map((a) => a.name ?? a) ?? [], o = K.value?.body ?? [];
633
+ return { headers: t, rows: o };
634
+ });
635
+ return ft({
636
+ getData: Lt,
637
+ getImage: Wt,
638
+ generatePdf: We,
639
+ generateCsv: ke,
640
+ generateImage: Ge,
641
+ generateSvg: lt,
642
+ hideSeries: Vt,
643
+ showSeries: Dt,
644
+ toggleTable: tt,
645
+ toggleTooltip: at,
646
+ toggleAnnotator: Ce,
647
+ toggleFullscreen: et,
648
+ copyAlt: nt
649
+ }), (t, o) => (s(), c("div", {
650
+ class: oe(`vue-data-ui-component vue-ui-radar ${B.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
651
+ ref_key: "radarChart",
652
+ ref: I,
653
+ id: `vue-ui-radar_${m.value}`,
654
+ style: ae(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
655
+ onMouseenter: o[2] || (o[2] = () => i(Ue)(!0)),
656
+ onMouseleave: o[3] || (o[3] = () => i(Ue)(!1))
657
+ }, [
658
+ b("div", {
659
+ id: `chart-instructions-${m.value}`,
660
+ class: "sr-only"
661
+ }, [
662
+ b("p", null, R(e.value.a11y.translations.keyboardNavigation), 1)
663
+ ], 8, za),
664
+ we.value?.rows?.length ? (s(), S(La, {
665
+ key: 0,
666
+ uid: m.value,
667
+ head: we.value.headers,
668
+ body: we.value.rows,
669
+ notice: e.value.a11y.translations.tableAvailable,
670
+ caption: e.value.a11y.translations.tableCaption
671
+ }, null, 8, ["uid", "head", "body", "notice", "caption"])) : f("", !0),
672
+ e.value.userOptions.buttons.annotator ? (s(), S(i($t), {
673
+ key: 1,
674
+ svgRef: i(F),
675
+ backgroundColor: e.value.style.chart.backgroundColor,
676
+ color: e.value.style.chart.color,
677
+ active: Z.value,
678
+ isCursorPointer: D.value,
679
+ onClose: Ce
680
+ }, {
681
+ "annotator-action-close": d(() => [
682
+ g(t.$slots, "annotator-action-close", {}, void 0, !0)
683
+ ]),
684
+ "annotator-action-color": d(({ color: a }) => [
685
+ g(t.$slots, "annotator-action-color", w($({ color: a })), void 0, !0)
686
+ ]),
687
+ "annotator-action-draw": d(({ mode: a }) => [
688
+ g(t.$slots, "annotator-action-draw", w($({ mode: a })), void 0, !0)
689
+ ]),
690
+ "annotator-action-undo": d(({ disabled: a }) => [
691
+ g(t.$slots, "annotator-action-undo", w($({ disabled: a })), void 0, !0)
692
+ ]),
693
+ "annotator-action-redo": d(({ disabled: a }) => [
694
+ g(t.$slots, "annotator-action-redo", w($({ disabled: a })), void 0, !0)
695
+ ]),
696
+ "annotator-action-delete": d(({ disabled: a }) => [
697
+ g(t.$slots, "annotator-action-delete", w($({ disabled: a })), void 0, !0)
698
+ ]),
699
+ _: 3
700
+ }, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : f("", !0),
701
+ xt.value ? (s(), c("div", {
702
+ key: 2,
703
+ ref_key: "noTitle",
704
+ ref: Le,
705
+ class: "vue-data-ui-no-title-space",
706
+ style: "height:36px; width: 100%;background:transparent"
707
+ }, null, 512)) : f("", !0),
708
+ e.value.style.chart.title.text ? (s(), c("div", {
709
+ key: 3,
710
+ ref_key: "chartTitle",
711
+ ref: xe,
712
+ style: "width:100%;background:transparent;padding-bottom:12px"
713
+ }, [
714
+ (s(), S(xa, {
715
+ key: `title_${Re.value}`,
716
+ config: {
717
+ title: {
718
+ cy: "radar-div-title",
719
+ ...e.value.style.chart.title
720
+ },
721
+ subtitle: {
722
+ cy: "radar-div-subtitle",
723
+ ...e.value.style.chart.title.subtitle
724
+ }
725
+ }
726
+ }, null, 8, ["config"]))
727
+ ], 512)) : f("", !0),
728
+ b("div", {
729
+ id: `legend-top-${m.value}`
730
+ }, null, 8, Ba),
731
+ e.value.userOptions.show && Oe.value && (i(Ee) || i(de)) ? (s(), S(i(Tt), {
732
+ ref_key: "userOptionsRef",
733
+ ref: ie,
734
+ key: `user_options_${Ie.value}`,
735
+ backgroundColor: e.value.style.chart.backgroundColor,
736
+ color: e.value.style.chart.color,
737
+ isImaging: i(he),
738
+ isPrinting: i(ge),
739
+ uid: m.value,
740
+ hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
741
+ hasPdf: e.value.userOptions.buttons.pdf,
742
+ hasImg: e.value.userOptions.buttons.img,
743
+ hasSvg: e.value.userOptions.buttons.svg,
744
+ hasXls: e.value.userOptions.buttons.csv,
745
+ hasTable: e.value.userOptions.buttons.table,
746
+ hasFullscreen: e.value.userOptions.buttons.fullscreen,
747
+ hasAltCopy: e.value.userOptions.buttons.altCopy,
748
+ isFullscreen: B.value,
749
+ isTooltip: k.value.showTooltip,
750
+ titles: { ...e.value.userOptions.buttonTitles },
751
+ chartElement: I.value,
752
+ position: e.value.userOptions.position,
753
+ hasAnnotator: e.value.userOptions.buttons.annotator,
754
+ isAnnotation: Z.value,
755
+ callbacks: e.value.userOptions.callbacks,
756
+ printScale: e.value.userOptions.print.scale,
757
+ tableDialog: e.value.table.useDialog,
758
+ isCursorPointer: D.value,
759
+ onToggleFullscreen: et,
760
+ onGeneratePdf: i(We),
761
+ onGenerateCsv: ke,
762
+ onGenerateImage: Ht,
763
+ onGenerateSvg: lt,
764
+ onToggleTable: tt,
765
+ onToggleTooltip: at,
766
+ onToggleAnnotator: Ce,
767
+ onCopyAlt: nt,
768
+ style: ae({
769
+ visibility: i(Ee) ? i(de) ? "visible" : "hidden" : "visible"
770
+ })
771
+ }, it({ _: 2 }, [
772
+ t.$slots.menuIcon ? {
773
+ name: "menuIcon",
774
+ fn: d(({ isOpen: a, color: l }) => [
775
+ g(t.$slots, "menuIcon", w($({ isOpen: a, color: l })), void 0, !0)
776
+ ]),
777
+ key: "0"
778
+ } : void 0,
779
+ t.$slots.optionTooltip ? {
780
+ name: "optionTooltip",
781
+ fn: d(() => [
782
+ g(t.$slots, "optionTooltip", {}, void 0, !0)
783
+ ]),
784
+ key: "1"
785
+ } : void 0,
786
+ t.$slots.optionPdf ? {
787
+ name: "optionPdf",
788
+ fn: d(() => [
789
+ g(t.$slots, "optionPdf", {}, void 0, !0)
790
+ ]),
791
+ key: "2"
792
+ } : void 0,
793
+ t.$slots.optionCsv ? {
794
+ name: "optionCsv",
795
+ fn: d(() => [
796
+ g(t.$slots, "optionCsv", {}, void 0, !0)
797
+ ]),
798
+ key: "3"
799
+ } : void 0,
800
+ t.$slots.optionImg ? {
801
+ name: "optionImg",
802
+ fn: d(() => [
803
+ g(t.$slots, "optionImg", {}, void 0, !0)
804
+ ]),
805
+ key: "4"
806
+ } : void 0,
807
+ t.$slots.optionSvg ? {
808
+ name: "optionSvg",
809
+ fn: d(() => [
810
+ g(t.$slots, "optionSvg", {}, void 0, !0)
811
+ ]),
812
+ key: "5"
813
+ } : void 0,
814
+ t.$slots.optionTable ? {
815
+ name: "optionTable",
816
+ fn: d(() => [
817
+ g(t.$slots, "optionTable", {}, void 0, !0)
818
+ ]),
819
+ key: "6"
820
+ } : void 0,
821
+ t.$slots.optionFullscreen ? {
822
+ name: "optionFullscreen",
823
+ fn: d(({ toggleFullscreen: a, isFullscreen: l }) => [
824
+ g(t.$slots, "optionFullscreen", w($({ toggleFullscreen: a, isFullscreen: l })), void 0, !0)
825
+ ]),
826
+ key: "7"
827
+ } : void 0,
828
+ t.$slots.optionAnnotator ? {
829
+ name: "optionAnnotator",
830
+ fn: d(({ toggleAnnotator: a, isAnnotator: l }) => [
831
+ g(t.$slots, "optionAnnotator", w($({ toggleAnnotator: a, isAnnotator: l })), void 0, !0)
832
+ ]),
833
+ key: "8"
834
+ } : void 0,
835
+ t.$slots.optionAltCopy ? {
836
+ name: "optionAltCopy",
837
+ fn: d(({ altCopy: a }) => [
838
+ g(t.$slots, "optionAltCopy", w($({ altCopy: a })), void 0, !0)
839
+ ]),
840
+ key: "9"
841
+ } : void 0
842
+ ]), 1032, ["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"])) : f("", !0),
843
+ b("div", Ua, [
844
+ (s(), c("svg", {
845
+ ref_key: "svgRef",
846
+ ref: F,
847
+ xmlns: i(pa),
848
+ "aria-describedby": `chart-instructions-${m.value}`,
849
+ class: oe({ "vue-data-ui-fullscreen--on": B.value, "vue-data-ui-fulscreen--off": !B.value }),
850
+ viewBox: `0 0 ${v.value.width <= 0 ? 10 : v.value.width} ${v.value.height <= 0 ? 10 : v.value.height}`,
851
+ style: ae(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`),
852
+ tabindex: "0",
853
+ onFocus: Jt,
854
+ onBlur: Qt,
855
+ onKeydown: ea
856
+ }, [
857
+ re(i(At)),
858
+ t.$slots["chart-background"] ? (s(), c("foreignObject", {
859
+ key: 0,
860
+ x: 0,
861
+ y: 0,
862
+ width: v.value.width <= 0 ? 10 : v.value.width,
863
+ height: v.value.height <= 0 ? 10 : v.value.height,
864
+ style: {
865
+ pointerEvents: "none"
866
+ }
867
+ }, [
868
+ g(t.$slots, "chart-background", {}, void 0, !0)
869
+ ], 8, Ma)) : f("", !0),
870
+ b("defs", null, [
871
+ (s(!0), c(U, null, E(P.value, (a, l) => (s(), c("radialGradient", {
872
+ cx: "50%",
873
+ cy: "50%",
874
+ r: "50%",
875
+ fx: "50%",
876
+ fy: "50%",
877
+ id: `radar_gradient_${m.value}_${l}`
878
+ }, [
879
+ b("stop", {
880
+ offset: "0%",
881
+ "stop-color": i(_e)(i(ga)(a.color, 0.05), e.value.style.chart.layout.dataPolygon.opacity)
882
+ }, null, 8, Ga),
883
+ b("stop", {
884
+ offset: "100%",
885
+ "stop-color": i(_e)(a.color, e.value.style.chart.layout.dataPolygon.opacity)
886
+ }, null, 8, Xa)
887
+ ], 8, Wa))), 256))
888
+ ]),
889
+ e.value.style.chart.layout.grid.show ? (s(), c("g", Ka, [
890
+ (s(!0), c(U, null, E(y.value, (a) => (s(), c("line", {
891
+ x1: v.value.width / 2,
892
+ y1: v.value.height / 2,
893
+ x2: a.x,
894
+ y2: a.y,
895
+ stroke: e.value.style.chart.layout.grid.stroke,
896
+ "stroke-width": e.value.style.chart.layout.grid.strokeWidth
897
+ }, null, 8, Ya))), 256)),
898
+ e.value.style.chart.layout.grid.graduations > 0 ? (s(), c("g", ja, [
899
+ (s(!0), c(U, null, E(zt.value, (a) => (s(), c("path", {
900
+ d: i(dt)({
901
+ plot: { x: v.value.width / 2, y: v.value.height / 2 },
902
+ radius: a,
903
+ sides: qe.value,
904
+ rotation: 0
905
+ }).path,
906
+ fill: "none",
907
+ stroke: e.value.style.chart.layout.grid.stroke,
908
+ "stroke-width": e.value.style.chart.layout.grid.strokeWidth
909
+ }, null, 8, qa))), 256))
910
+ ])) : f("", !0)
911
+ ])) : f("", !0),
912
+ b("path", {
913
+ d: He.value.path,
914
+ fill: "none",
915
+ stroke: e.value.style.chart.layout.outerPolygon.stroke,
916
+ "stroke-width": e.value.style.chart.layout.outerPolygon.strokeWidth,
917
+ "stroke-linejoin": "round",
918
+ "stroke-linecap": "round"
919
+ }, null, 8, Ha),
920
+ e.value.style.chart.layout.labels.dataLabels.show ? (s(), c("g", Ja, [
921
+ (s(!0), c(U, null, E(y.value, (a, l) => (s(), c("text", {
922
+ class: "vue-ui-radar-apex-label",
923
+ x: a.labelX,
924
+ y: a.labelY,
925
+ "text-anchor": a.labelAnchor,
926
+ "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
927
+ fill: e.value.style.chart.layout.labels.dataLabels.color,
928
+ onMouseenter: (r) => Ze(a, l, "pointer"),
929
+ onMouseleave: (r) => Mt(a, l),
930
+ onClick: (r) => Qe(a, l)
931
+ }, R(a.name), 41, Qa))), 256))
932
+ ])) : f("", !0),
933
+ (s(!0), c(U, null, E(P.value, (a, l) => (s(), c("g", null, [
934
+ b("g", null, [
935
+ e.value.useCssAnimation || !e.value.useCssAnimation && !h.value.includes(l) ? (s(), c("polygon", {
936
+ key: 0,
937
+ points: i(pt)(y.value.map((r) => r.plots[l]), !1, !0),
938
+ stroke: e.value.style.chart.backgroundColor,
939
+ "stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth + 1,
940
+ fill: "none",
941
+ class: oe({ "animated-out": h.value.includes(l) && e.value.useCssAnimation, "animated-in": X.value && Q.value === l && e.value.useCssAnimation })
942
+ }, null, 10, Za)) : f("", !0),
943
+ e.value.useCssAnimation || !e.value.useCssAnimation && !h.value.includes(l) ? (s(), c("polygon", {
944
+ key: 1,
945
+ points: i(pt)(y.value.map((r) => r.plots[l]), !1, !0),
946
+ stroke: a.color,
947
+ "stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth,
948
+ fill: e.value.style.chart.layout.dataPolygon.transparent ? "transparent" : e.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${m.value}_${l})` : i(_e)(a.color, e.value.style.chart.layout.dataPolygon.opacity),
949
+ class: oe({ "animated-out": h.value.includes(l) && e.value.useCssAnimation, "animated-in": X.value && Q.value === l && e.value.useCssAnimation })
950
+ }, null, 10, eo)) : f("", !0)
951
+ ])
952
+ ]))), 256)),
953
+ e.value.style.chart.layout.plots.show ? (s(), c("g", to, [
954
+ (s(!0), c(U, null, E(y.value, (a, l) => (s(), c("g", null, [
955
+ (s(!0), c(U, null, E(a.plots, (r, n) => (s(), c("circle", {
956
+ cx: r.x,
957
+ cy: r.y,
958
+ fill: h.value.includes(n) ? "transparent" : P.value[n] ? P.value[n].color : "transparent",
959
+ r: Y.value !== null && Y.value === l ? e.value.style.chart.layout.plots.radius * 1.6 : e.value.style.chart.layout.plots.radius,
960
+ stroke: h.value.includes(n) ? "transparent" : e.value.style.chart.backgroundColor,
961
+ "stroke-width": 0.5,
962
+ class: oe({ "animated-out": h.value.includes(n) && e.value.useCssAnimation, "animated-in": X.value && Q.value === n && e.value.useCssAnimation })
963
+ }, null, 10, ao))), 256))
964
+ ]))), 256))
965
+ ])) : f("", !0),
966
+ g(t.$slots, "svg", {
967
+ svg: {
968
+ ...v.value,
969
+ isPrintingImg: i(ge) | i(he) | le.value,
970
+ isPrintingSvg: ne.value
971
+ }
972
+ }, void 0, !0)
973
+ ], 46, Ea)),
974
+ t.$slots.hint ? (s(), c("div", oo, [
975
+ g(t.$slots, "hint", w($({ hint: e.value.a11y.translations.keyboardNavigation, isVisible: ce.value })), void 0, !0)
976
+ ])) : f("", !0)
977
+ ]),
978
+ t.$slots.watermark ? (s(), c("div", lo, [
979
+ g(t.$slots, "watermark", w($({ isPrinting: i(ge) || i(he) || le.value || ne.value })), void 0, !0)
980
+ ])) : f("", !0),
981
+ b("div", {
982
+ id: `legend-bottom-${m.value}`
983
+ }, null, 8, no),
984
+ ze.value ? (s(), S(na, {
985
+ key: 6,
986
+ to: e.value.style.chart.legend.position === "top" ? `#legend-top-${m.value}` : `#legend-bottom-${m.value}`
987
+ }, [
988
+ b("div", {
989
+ ref_key: "chartLegend",
990
+ ref: Fe
991
+ }, [
992
+ e.value.style.chart.legend.show ? (s(), S(Fa, {
993
+ key: `legend_${Ve.value}`,
994
+ legendSet: _.value,
995
+ config: Et.value,
996
+ isCursorPointer: D.value,
997
+ onClickMarker: o[0] || (o[0] = ({ i: a }) => se(a))
998
+ }, {
999
+ item: d(({ legend: a, index: l }) => [
1000
+ i(ve) ? f("", !0) : (s(), c("div", {
1001
+ key: 0,
1002
+ onClick: (r) => a.segregate(),
1003
+ style: ae(`opacity:${h.value.includes(l) ? 0.5 : 1}`)
1004
+ }, R(a.display), 13, so))
1005
+ ]),
1006
+ legendToggle: d(() => [
1007
+ _.value.length > 2 && e.value.style.chart.legend.selectAllToggle.show && !i(ve) ? (s(), S(Ra, {
1008
+ key: 0,
1009
+ backgroundColor: e.value.style.chart.legend.selectAllToggle.backgroundColor,
1010
+ color: e.value.style.chart.legend.selectAllToggle.color,
1011
+ fontSize: e.value.style.chart.legend.fontSize,
1012
+ checked: h.value.length > 0,
1013
+ isCursorPointer: D.value,
1014
+ onToggle: Nt
1015
+ }, null, 8, ["backgroundColor", "color", "fontSize", "checked", "isCursorPointer"])) : f("", !0)
1016
+ ]),
1017
+ _: 1
1018
+ }, 8, ["legendSet", "config", "isCursorPointer"])) : g(t.$slots, "legend", {
1019
+ key: 1,
1020
+ legend: _.value
1021
+ }, void 0, !0)
1022
+ ], 512)
1023
+ ], 8, ["to"])) : f("", !0),
1024
+ t.$slots.source ? (s(), c("div", {
1025
+ key: 7,
1026
+ ref_key: "source",
1027
+ ref: Ne,
1028
+ dir: "auto"
1029
+ }, [
1030
+ g(t.$slots, "source", {}, void 0, !0)
1031
+ ], 512)) : f("", !0),
1032
+ re(i(mt), {
1033
+ teleportTo: e.value.style.chart.tooltip.teleportTo,
1034
+ show: k.value.showTooltip && q.value,
1035
+ backgroundColor: e.value.style.chart.tooltip.backgroundColor,
1036
+ color: e.value.style.chart.tooltip.color,
1037
+ borderRadius: e.value.style.chart.tooltip.borderRadius,
1038
+ borderColor: e.value.style.chart.tooltip.borderColor,
1039
+ borderWidth: e.value.style.chart.tooltip.borderWidth,
1040
+ backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
1041
+ fontSize: e.value.style.chart.tooltip.fontSize,
1042
+ position: e.value.style.chart.tooltip.position,
1043
+ offsetY: e.value.style.chart.tooltip.offsetY,
1044
+ parent: I.value,
1045
+ content: ue.value,
1046
+ isFullscreen: B.value,
1047
+ isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
1048
+ smooth: e.value.style.chart.tooltip.smooth,
1049
+ backdropFilter: e.value.style.chart.tooltip.backdropFilter,
1050
+ smoothForce: e.value.style.chart.tooltip.smoothForce,
1051
+ smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold,
1052
+ isA11yMode: J.value === "keyboard",
1053
+ a11yPosition: Be.value
1054
+ }, {
1055
+ "tooltip-before": d(() => [
1056
+ g(t.$slots, "tooltip-before", w($({ ...be.value })), void 0, !0)
1057
+ ]),
1058
+ "tooltip-after": d(() => [
1059
+ ["function"].includes(typeof e.value.style.chart.tooltip.customFormat) ? f("", !0) : (s(), c("div", ro, [
1060
+ re(i(kt), {
1061
+ dataset: me.value,
1062
+ config: Ft.value,
1063
+ backgroundOpacity: 0
1064
+ }, {
1065
+ "data-label": d(({ bar: a }) => [
1066
+ b("div", uo, [
1067
+ b("span", io, R(a.name + (e.value.style.chart.tooltip.showValue || e.value.style.chart.tooltip.showPercentage ? ":" : "")), 1),
1068
+ e.value.style.chart.tooltip.showValue || e.value.style.chart.tooltip.showPercentage ? (s(), c("span", co, R(a.suffix), 1)) : f("", !0)
1069
+ ])
1070
+ ]),
1071
+ _: 1
1072
+ }, 8, ["dataset", "config"])
1073
+ ])),
1074
+ g(t.$slots, "tooltip-after", w($({ ...be.value })), void 0, !0)
1075
+ ]),
1076
+ _: 3
1077
+ }, 8, ["teleportTo", "show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "fontSize", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold", "isA11yMode", "a11yPosition"]),
1078
+ Oe.value && e.value.userOptions.buttons.table ? (s(), S(sa(ee.value.component), ra({ key: 8 }, ee.value.props, {
1079
+ ref_key: "tableUnit",
1080
+ ref: H,
1081
+ onClose: ot
1082
+ }), it({
1083
+ content: d(() => [
1084
+ (s(), S(i(wt), {
1085
+ key: `table_${De.value}`,
1086
+ colNames: K.value.colNames,
1087
+ head: K.value.head,
1088
+ body: K.value.body,
1089
+ config: K.value.config,
1090
+ title: e.value.table.useDialog ? "" : ee.value.title,
1091
+ withCloseButton: !e.value.table.useDialog,
1092
+ isCursorPointer: D.value,
1093
+ onClose: ot
1094
+ }, {
1095
+ th: d(({ th: a }) => [
1096
+ Te(R(a.name), 1)
1097
+ ]),
1098
+ td: d(({ td: a }) => [
1099
+ Te(R(a), 1)
1100
+ ]),
1101
+ _: 1
1102
+ }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton", "isCursorPointer"]))
1103
+ ]),
1104
+ _: 2
1105
+ }, [
1106
+ e.value.table.useDialog ? {
1107
+ name: "title",
1108
+ fn: d(() => [
1109
+ Te(R(ee.value.title), 1)
1110
+ ]),
1111
+ key: "0"
1112
+ } : void 0,
1113
+ e.value.table.useDialog ? {
1114
+ name: "actions",
1115
+ fn: d(() => [
1116
+ b("button", {
1117
+ tabindex: "0",
1118
+ class: "vue-ui-user-options-button",
1119
+ onClick: o[1] || (o[1] = (a) => ke(e.value.userOptions.callbacks.csv)),
1120
+ style: ae({ cursor: D.value ? "pointer" : "default" })
1121
+ }, [
1122
+ re(i(bt), {
1123
+ name: "fileCsv",
1124
+ stroke: ee.value.props.color
1125
+ }, null, 8, ["stroke"])
1126
+ ], 4)
1127
+ ]),
1128
+ key: "1"
1129
+ } : void 0
1130
+ ]), 1040)) : f("", !0),
1131
+ g(t.$slots, "skeleton", {}, () => [
1132
+ i(ve) ? (s(), S($a, { key: 0 })) : f("", !0)
1133
+ ], !0)
1134
+ ], 46, Va));
1135
+ }
1136
+ }, Fo = /* @__PURE__ */ Da(vo, [["__scopeId", "data-v-b7b15d24"]]);
1137
+ export {
1138
+ Fo as default
1139
+ };