vue-data-ui 3.25.7 → 3.25.9

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 (163) hide show
  1. package/dist/{BaseScanner-DZvpgOjM.js → BaseScanner-Dzc8VT3j.js} +6 -3
  2. package/dist/{PackageVersion-UfoQuPMf.js → PackageVersion-KBMdaOXg.js} +1 -1
  3. package/dist/components/vue-ui-3d-bar.js +1 -1
  4. package/dist/components/vue-ui-accordion.js +1 -1
  5. package/dist/components/vue-ui-age-pyramid.js +1 -1
  6. package/dist/components/vue-ui-annotator.js +1 -1
  7. package/dist/components/vue-ui-bullet.js +1 -1
  8. package/dist/components/vue-ui-bump.js +1 -1
  9. package/dist/components/vue-ui-candlestick.js +1 -1
  10. package/dist/components/vue-ui-carousel-table.js +1 -1
  11. package/dist/components/vue-ui-chestnut.js +1 -1
  12. package/dist/components/vue-ui-chord.js +1 -1
  13. package/dist/components/vue-ui-circle-pack.js +1 -1
  14. package/dist/components/vue-ui-cursor.js +1 -1
  15. package/dist/components/vue-ui-dag.js +1 -1
  16. package/dist/components/vue-ui-dashboard.js +1 -1
  17. package/dist/components/vue-ui-digits.js +1 -1
  18. package/dist/components/vue-ui-donut-evolution.js +1 -1
  19. package/dist/components/vue-ui-donut.js +1 -1
  20. package/dist/components/vue-ui-dumbbell.js +1 -1
  21. package/dist/components/vue-ui-flow.js +1 -1
  22. package/dist/components/vue-ui-funnel.js +1 -1
  23. package/dist/components/vue-ui-galaxy.js +1 -1
  24. package/dist/components/vue-ui-gauge.js +1 -1
  25. package/dist/components/vue-ui-geo.js +1 -1
  26. package/dist/components/vue-ui-gizmo.js +1 -1
  27. package/dist/components/vue-ui-heatmap.js +1 -1
  28. package/dist/components/vue-ui-hill.js +1 -1
  29. package/dist/components/vue-ui-history-plot.js +1 -1
  30. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  31. package/dist/components/vue-ui-kpi.js +1 -1
  32. package/dist/components/vue-ui-label.js +1 -1
  33. package/dist/components/vue-ui-mini-loader.js +1 -1
  34. package/dist/components/vue-ui-molecule.js +1 -1
  35. package/dist/components/vue-ui-mood-radar.js +1 -1
  36. package/dist/components/vue-ui-nested-donuts.js +1 -1
  37. package/dist/components/vue-ui-onion.js +1 -1
  38. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  39. package/dist/components/vue-ui-quadrant.js +1 -1
  40. package/dist/components/vue-ui-quick-chart.js +1 -1
  41. package/dist/components/vue-ui-radar.js +1 -1
  42. package/dist/components/vue-ui-rating.js +1 -1
  43. package/dist/components/vue-ui-relation-circle.js +1 -1
  44. package/dist/components/vue-ui-ridgeline.js +1 -1
  45. package/dist/components/vue-ui-rings.js +1 -1
  46. package/dist/components/vue-ui-scatter.js +1 -1
  47. package/dist/components/vue-ui-skeleton.js +1 -1
  48. package/dist/components/vue-ui-smiley.js +1 -1
  49. package/dist/components/vue-ui-spark-trend.js +1 -1
  50. package/dist/components/vue-ui-sparkbar.js +1 -1
  51. package/dist/components/vue-ui-sparkgauge.js +1 -1
  52. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  53. package/dist/components/vue-ui-sparkline.js +1 -1
  54. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  55. package/dist/components/vue-ui-stackbar.js +1 -1
  56. package/dist/components/vue-ui-stackline.js +1 -1
  57. package/dist/components/vue-ui-strip-plot.js +1 -1
  58. package/dist/components/vue-ui-table-heatmap.js +1 -1
  59. package/dist/components/vue-ui-table-sparkline.js +1 -1
  60. package/dist/components/vue-ui-table.js +1 -1
  61. package/dist/components/vue-ui-thermometer.js +1 -1
  62. package/dist/components/vue-ui-timer.js +1 -1
  63. package/dist/components/vue-ui-tiremarks.js +1 -1
  64. package/dist/components/vue-ui-treemap.js +1 -1
  65. package/dist/components/vue-ui-vertical-bar.js +1 -1
  66. package/dist/components/vue-ui-waffle.js +1 -1
  67. package/dist/components/vue-ui-wheel.js +1 -1
  68. package/dist/components/vue-ui-word-cloud.js +1 -1
  69. package/dist/components/vue-ui-world.js +1 -1
  70. package/dist/components/vue-ui-xy-canvas.js +1 -1
  71. package/dist/components/vue-ui-xy.js +1 -1
  72. package/dist/{package-B-3S5q00.js → package-BL27Ev_h.js} +1 -1
  73. package/dist/{render-common-CAXK7ycr.js → render-common-By8J0AE-.js} +1 -1
  74. package/dist/ssr/vue-ui-donut.js +1 -1
  75. package/dist/ssr/vue-ui-xy.js +1 -1
  76. package/dist/ssr.js +2 -2
  77. package/dist/style.css +1 -1
  78. package/dist/types/vue-data-ui.d.ts +2 -0
  79. package/dist/{useConfig-CIQZ6_r7.js → useConfig-D32D002m.js} +2 -0
  80. package/dist/{useObjectBindings---mHNfbS.js → useObjectBindings-Cd_WuYIn.js} +1 -1
  81. package/dist/utils.js +1 -1
  82. package/dist/{vue-data-ui-DlWT702n.js → vue-data-ui-CBWuUAXT.js} +69 -69
  83. package/dist/vue-data-ui.js +70 -70
  84. package/dist/{vue-ui-3d-bar-DbOk2kpM.js → vue-ui-3d-bar-BSbq90H3.js} +3 -3
  85. package/dist/{vue-ui-accordion-BSmBUjwZ.js → vue-ui-accordion-DmkL8A59.js} +1 -1
  86. package/dist/{vue-ui-age-pyramid-C7_mGIRk.js → vue-ui-age-pyramid-CrXl71iC.js} +263 -251
  87. package/dist/{vue-ui-annotator-CTQHAPho.js → vue-ui-annotator-BO5ihHOB.js} +2 -2
  88. package/dist/{vue-ui-bullet-CDy_dkYz.js → vue-ui-bullet-B2Y3Wqh9.js} +3 -3
  89. package/dist/{vue-ui-bump-DP24leiD.js → vue-ui-bump-DXvvjG4I.js} +3 -3
  90. package/dist/{vue-ui-candlestick-kJLmYaR7.js → vue-ui-candlestick-CFqR6W56.js} +453 -441
  91. package/dist/{vue-ui-carousel-table-BQzAQDw6.js → vue-ui-carousel-table-D-ZkPRta.js} +2 -2
  92. package/dist/{vue-ui-chestnut-DnnRp3Kl.js → vue-ui-chestnut-CyW3IoYC.js} +3 -3
  93. package/dist/{vue-ui-chord-DO15ZDCS.js → vue-ui-chord-DS0jni9A.js} +3 -3
  94. package/dist/{vue-ui-circle-pack-DYTllMPV.js → vue-ui-circle-pack-j2ChgLWr.js} +494 -482
  95. package/dist/{vue-ui-cursor-CtViSjNp.js → vue-ui-cursor-qOONOtcv.js} +2 -2
  96. package/dist/{vue-ui-dag-NXtGYzqg.js → vue-ui-dag-CmeFsKhR.js} +3 -3
  97. package/dist/{vue-ui-dashboard-D3_4QohV.js → vue-ui-dashboard-C7Z5BTN4.js} +65 -65
  98. package/dist/{vue-ui-digits-CB09pLQx.js → vue-ui-digits-Bf68x6fb.js} +2 -2
  99. package/dist/{vue-ui-donut-yTE6D8yV.js → vue-ui-donut-CkBPJW_T.js} +837 -825
  100. package/dist/{vue-ui-donut-eysaEyTy.js → vue-ui-donut-DzDSYgVp.js} +2 -2
  101. package/dist/{vue-ui-donut-evolution-DhrtxvAd.js → vue-ui-donut-evolution-CDJumo0t.js} +3 -3
  102. package/dist/{vue-ui-dumbbell-CmGIeULQ.js → vue-ui-dumbbell-Cr__26dN.js} +3 -3
  103. package/dist/vue-ui-flow-Cz6WRi2c.js +1229 -0
  104. package/dist/{vue-ui-funnel-CLAii4wi.js → vue-ui-funnel-BlC7KxS6.js} +2 -2
  105. package/dist/vue-ui-galaxy-Bg2smlcI.js +1097 -0
  106. package/dist/{vue-ui-gauge-D76-4Z_0.js → vue-ui-gauge-BHsaent1.js} +3 -3
  107. package/dist/{vue-ui-geo-BQ7-UnuG.js → vue-ui-geo-CE3Cr0or.js} +407 -395
  108. package/dist/{vue-ui-gizmo-C47zjcs-.js → vue-ui-gizmo-DqFUBEai.js} +3 -3
  109. package/dist/{vue-ui-heatmap-XJef60IZ.js → vue-ui-heatmap-DXqj9ial.js} +478 -446
  110. package/dist/{vue-ui-hill-D5BYGPXB.js → vue-ui-hill-B3fPAfhL.js} +2 -2
  111. package/dist/vue-ui-history-plot-CrnTnpaM.js +1710 -0
  112. package/dist/{vue-ui-horizontal-bar-BgFHi6_7.js → vue-ui-horizontal-bar-DqvN3imH.js} +432 -420
  113. package/dist/{vue-ui-kpi-Cb8QJeaj.js → vue-ui-kpi-Mf318HvK.js} +2 -2
  114. package/dist/{vue-ui-label-ClMQ5Gez.js → vue-ui-label-C1UAzvAu.js} +1 -1
  115. package/dist/{vue-ui-mini-loader-DtPOVIkK.js → vue-ui-mini-loader-wGeACd-Y.js} +1 -1
  116. package/dist/{vue-ui-molecule-BzwMl-in.js → vue-ui-molecule-CaLReo4h.js} +346 -334
  117. package/dist/{vue-ui-mood-radar-BUR_YCcr.js → vue-ui-mood-radar-jkE2ENX5.js} +3 -3
  118. package/dist/{vue-ui-nested-donuts-BEB4nfsD.js → vue-ui-nested-donuts-BgMOKjil.js} +360 -348
  119. package/dist/vue-ui-onion-DBN3Ev4j.js +1247 -0
  120. package/dist/{vue-ui-parallel-coordinate-plot-CSO4johj.js → vue-ui-parallel-coordinate-plot-BcJzEGJ-.js} +387 -375
  121. package/dist/{vue-ui-quadrant-CKav0I6g.js → vue-ui-quadrant-BvoVlxTI.js} +418 -406
  122. package/dist/{vue-ui-quick-chart-BAQNS9_2.js → vue-ui-quick-chart-2hn8-F_C.js} +550 -538
  123. package/dist/{vue-ui-radar-ClPAgf5I.js → vue-ui-radar-O3AjGrc-.js} +330 -318
  124. package/dist/{vue-ui-rating-CWFMoYpE.js → vue-ui-rating-Criq0ofQ.js} +1 -1
  125. package/dist/{vue-ui-relation-circle-Da2MhrVe.js → vue-ui-relation-circle-CRnH2ikm.js} +3 -3
  126. package/dist/{vue-ui-ridgeline-D7gFs8yR.js → vue-ui-ridgeline-Blejn8LY.js} +3 -3
  127. package/dist/{vue-ui-rings-DkDJ0k5b.js → vue-ui-rings-C1U38Bp0.js} +321 -309
  128. package/dist/{vue-ui-scatter-yv4JzJID.js → vue-ui-scatter-DTsCc9hg.js} +584 -572
  129. package/dist/{vue-ui-skeleton-oFnh5zWs.js → vue-ui-skeleton-BPr3u7IL.js} +2 -2
  130. package/dist/{vue-ui-smiley-DJVusLnp.js → vue-ui-smiley-BIjAIpJ9.js} +1 -1
  131. package/dist/{vue-ui-spark-trend-IqZWPvSB.js → vue-ui-spark-trend-B7w4Mg8O.js} +3 -3
  132. package/dist/{vue-ui-sparkbar-_FW47iYj.js → vue-ui-sparkbar-lVDnYEYA.js} +3 -3
  133. package/dist/{vue-ui-sparkgauge--2vk2Y23.js → vue-ui-sparkgauge-BryoGCoc.js} +3 -3
  134. package/dist/{vue-ui-sparkhistogram-CFEIPa5n.js → vue-ui-sparkhistogram-BdNoLb9L.js} +3 -3
  135. package/dist/{vue-ui-sparkline-Cs9CJR6W.js → vue-ui-sparkline-CNFD5K6z.js} +3 -3
  136. package/dist/vue-ui-sparkstackbar-CZ4tGL-_.js +750 -0
  137. package/dist/vue-ui-stackbar-DfsgaZy7.js +2369 -0
  138. package/dist/vue-ui-stackline-Cx7q2sGF.js +2483 -0
  139. package/dist/vue-ui-strip-plot-BcYhLPHM.js +1752 -0
  140. package/dist/{vue-ui-table-CiccGbRB.js → vue-ui-table-BzF75YjN.js} +3 -3
  141. package/dist/{vue-ui-table-heatmap-DnP3pzh2.js → vue-ui-table-heatmap-BSUab4fG.js} +1 -1
  142. package/dist/{vue-ui-table-sparkline-Bp7RiZh4.js → vue-ui-table-sparkline-B9ICTtoE.js} +2 -2
  143. package/dist/{vue-ui-thermometer-CawumQKP.js → vue-ui-thermometer-Am7llqdI.js} +3 -3
  144. package/dist/{vue-ui-timer-CXinMW7q.js → vue-ui-timer-D6EvkM31.js} +2 -2
  145. package/dist/{vue-ui-tiremarks-BnI2uhki.js → vue-ui-tiremarks-DiQJu8Em.js} +3 -3
  146. package/dist/{vue-ui-treemap-DTlFbfD6.js → vue-ui-treemap-wUZpijpr.js} +310 -298
  147. package/dist/vue-ui-waffle-6hO0flDT.js +1633 -0
  148. package/dist/{vue-ui-wheel-B02tiG0p.js → vue-ui-wheel-DnyCE0CK.js} +3 -3
  149. package/dist/{vue-ui-word-cloud-BZnCOMHx.js → vue-ui-word-cloud-D_MZ3gCS.js} +385 -372
  150. package/dist/{vue-ui-world-DO2VZ-T-.js → vue-ui-world-QNGY2WPz.js} +474 -462
  151. package/dist/{vue-ui-xy-CD6BiP_g.js → vue-ui-xy-BD-ighya.js} +2 -2
  152. package/dist/{vue-ui-xy-BC9GVdWE.js → vue-ui-xy-Ctcwn7Rk.js} +1447 -1432
  153. package/dist/{vue-ui-xy-canvas-DANPuyf4.js → vue-ui-xy-canvas-DUeglcdP.js} +523 -511
  154. package/package.json +1 -1
  155. package/dist/vue-ui-flow-qYAq3Rmn.js +0 -1217
  156. package/dist/vue-ui-galaxy-BVX-o2f-.js +0 -1085
  157. package/dist/vue-ui-history-plot-D-d-1ZiM.js +0 -1698
  158. package/dist/vue-ui-onion-CG6myK7a.js +0 -1235
  159. package/dist/vue-ui-sparkstackbar-Cvbue77A.js +0 -738
  160. package/dist/vue-ui-stackbar-C5ANS2hd.js +0 -2355
  161. package/dist/vue-ui-stackline-7yajJFW4.js +0 -2469
  162. package/dist/vue-ui-strip-plot-BT6Eqhup.js +0 -1740
  163. package/dist/vue-ui-waffle-CjgRkQAp.js +0 -1621
@@ -1,49 +1,49 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, Ct as n, D as r, Lt as i, M as a, Nt as o, Pt as s, S as ee, Ut as te, Wt as ne, X as c, Yt as re, Zt as ie, b as ae, ht as oe, i as se, lt as ce, nt as l, q as le, t as ue, w as de } from "./lib-Dql7cqyA.js";
3
- import { n as fe } from "./useHints-Dq_w2E8B.js";
4
- import { t as pe } from "./useConfig-CIQZ6_r7.js";
5
- import { t as me } from "./usePrinter-DISD7q5m.js";
6
- import { n as he, t as ge } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as _e } from "./useNestedProp-Chvyfpl-.js";
8
- import { t as ve } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as ye } from "./useChartExport-iwOqiIWX.js";
10
- import { t as be } from "./img-DhGApYG0.js";
11
- import { n as xe } from "./Title-CPHi-evi.js";
12
- import { t as Se } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
- import { l as Ce, t as we } from "./useResponsive-ZtArZtUf.js";
14
- import { t as Te } from "./DefGrad-DVBqDjhO.js";
15
- import { t as Ee } from "./BaseLegendToggle-CXQrLjd-.js";
16
- import { t as De } from "./A11yDataTable-DdRsVULz.js";
17
- import { t as Oe } from "./useUserOptionState-DK-_1ddE.js";
18
- import { t as ke } from "./useChartAccessibility-DYqac8yF.js";
19
- import { t as Ae } from "./Legend-X4kF4PvW.js";
20
- import { t as je } from "./useAutoSizeLabelsInsideViewbox-DvDwcwi_.js";
21
- import { t as Me } from "./vue_ui_radar-jafTED5j.js";
22
- import { Fragment as u, Teleport as Ne, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Pe, createTextVNode as Fe, createVNode as Ie, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as Le, nextTick as Re, normalizeClass as ze, normalizeProps as v, normalizeStyle as y, onBeforeUnmount as Be, onMounted as Ve, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as He, shallowRef as Ue, toDisplayString as w, toRefs as We, unref as T, watch as Ge, withCtx as E } from "vue";
2
+ import { $ as t, Ct as n, D as r, Lt as i, M as a, Nt as o, Pt as s, S as ee, Ut as te, Wt as ne, X as c, Yt as re, Z as ie, Zt as ae, b as oe, ht as se, i as ce, lt as le, nt as l, q as ue, t as de, w as fe } from "./lib-Dql7cqyA.js";
3
+ import { n as pe } from "./useHints-Dq_w2E8B.js";
4
+ import { t as me } from "./useConfig-D32D002m.js";
5
+ import { t as he } from "./usePrinter-DISD7q5m.js";
6
+ import { n as ge, t as _e } from "./BaseScanner-Dzc8VT3j.js";
7
+ import { t as ve } from "./useNestedProp-Chvyfpl-.js";
8
+ import { t as ye } from "./useThemeCheck-C43Tcqmk.js";
9
+ import { t as be } from "./useChartExport-iwOqiIWX.js";
10
+ import { t as xe } from "./img-DhGApYG0.js";
11
+ import { n as Se } from "./Title-CPHi-evi.js";
12
+ import { t as Ce } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
+ import { l as we, t as Te } from "./useResponsive-ZtArZtUf.js";
14
+ import { t as Ee } from "./DefGrad-DVBqDjhO.js";
15
+ import { t as De } from "./BaseLegendToggle-CXQrLjd-.js";
16
+ import { t as Oe } from "./A11yDataTable-DdRsVULz.js";
17
+ import { t as ke } from "./useUserOptionState-DK-_1ddE.js";
18
+ import { t as Ae } from "./useChartAccessibility-DYqac8yF.js";
19
+ import { t as je } from "./Legend-X4kF4PvW.js";
20
+ import { t as Me } from "./useAutoSizeLabelsInsideViewbox-DvDwcwi_.js";
21
+ import { t as Ne } from "./vue_ui_radar-jafTED5j.js";
22
+ import { Fragment as u, Teleport as Pe, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Fe, createTextVNode as Ie, createVNode as Le, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as Re, nextTick as ze, normalizeClass as Be, normalizeProps as v, normalizeStyle as y, onBeforeUnmount as Ve, onMounted as He, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as Ue, shallowRef as We, toDisplayString as w, toRefs as Ge, unref as T, watch as Ke, withCtx as E } from "vue";
23
23
  //#region src/components/vue-ui-radar.vue
24
- var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye = ["id"], Xe = { style: { position: "relative" } }, Ze = [
24
+ var qe = /* @__PURE__ */ e({ default: () => wt }), Je = ["id"], Ye = ["id"], Xe = ["id"], Ze = { style: { position: "relative" } }, Qe = [
25
25
  "xmlns",
26
26
  "aria-describedby",
27
27
  "viewBox"
28
- ], Qe = ["width", "height"], $e = { key: 1 }, et = [
28
+ ], $e = ["width", "height"], et = { key: 1 }, tt = [
29
29
  "x1",
30
30
  "y1",
31
31
  "x2",
32
32
  "y2",
33
33
  "stroke",
34
34
  "stroke-width"
35
- ], tt = {
35
+ ], nt = {
36
36
  key: 0,
37
37
  style: { "pointer-events": "none" }
38
- }, nt = [
38
+ }, rt = [
39
39
  "d",
40
40
  "stroke",
41
41
  "stroke-width"
42
- ], rt = [
42
+ ], it = [
43
43
  "d",
44
44
  "stroke",
45
45
  "stroke-width"
46
- ], it = { key: 2 }, at = [
46
+ ], at = { key: 2 }, ot = [
47
47
  "x",
48
48
  "y",
49
49
  "text-anchor",
@@ -52,35 +52,35 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
52
52
  "onMouseenter",
53
53
  "onMouseleave",
54
54
  "onClick"
55
- ], ot = [
55
+ ], st = [
56
56
  "points",
57
57
  "stroke",
58
58
  "stroke-width"
59
- ], st = [
59
+ ], ct = [
60
60
  "points",
61
61
  "stroke",
62
62
  "stroke-width",
63
63
  "fill"
64
- ], ct = [
64
+ ], lt = [
65
65
  "d",
66
66
  "stroke",
67
67
  "stroke-width",
68
68
  "stroke-dasharray"
69
- ], lt = { key: 4 }, ut = [
69
+ ], ut = { key: 4 }, dt = [
70
70
  "onMouseenter",
71
71
  "onMouseleave",
72
72
  "onClick"
73
- ], dt = [
73
+ ], ft = [
74
74
  "cx",
75
75
  "cy",
76
76
  "r"
77
- ], ft = [
77
+ ], pt = [
78
78
  "cx",
79
79
  "cy",
80
80
  "fill",
81
81
  "r",
82
82
  "stroke"
83
- ], pt = {
83
+ ], mt = {
84
84
  key: 0,
85
85
  style: {
86
86
  position: "absolute",
@@ -90,23 +90,23 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
90
90
  },
91
91
  "data-dom-to-png-ignore": "",
92
92
  "aria-hidden": "true"
93
- }, mt = {
93
+ }, ht = {
94
94
  key: 5,
95
95
  class: "vue-data-ui-watermark"
96
- }, ht = ["id"], gt = ["onClick"], _t = { class: "vue-data-ui-legend-item" }, vt = [
96
+ }, gt = ["id"], _t = ["onClick"], vt = { class: "vue-data-ui-legend-item" }, yt = [
97
97
  "stroke",
98
98
  "stroke-width",
99
99
  "stroke-dasharray"
100
- ], yt = {
100
+ ], bt = {
101
101
  key: 0,
102
102
  style: {
103
103
  "max-width": "200px",
104
104
  margin: "0 auto"
105
105
  }
106
- }, bt = {
106
+ }, xt = {
107
107
  class: "vue-ui-radar-tooltip-datalabel",
108
108
  style: { width: "100%" }
109
- }, xt = { class: "vue-ui-radar-tooltip-datalabel-name" }, St = { key: 0 }, Ct = /*#__PURE__*/ Se({
109
+ }, St = { class: "vue-ui-radar-tooltip-datalabel-name" }, Ct = { key: 0 }, wt = /*#__PURE__*/ Ce({
110
110
  __name: "vue-ui-radar",
111
111
  props: {
112
112
  config: {
@@ -123,12 +123,12 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
123
123
  }
124
124
  },
125
125
  emits: ["selectLegend", "copyAlt"],
126
- setup(e, { expose: Se, emit: Ke }) {
127
- let Ct = g(() => import("./Tooltip-hhrkQ3Lk.js")), wt = g(() => import("./BaseIcon-D8R6_sKH.js").then((e) => e.n)), Tt = g(() => import("./vue-ui-sparkbar-_FW47iYj.js").then((e) => e.n)), Et = g(() => import("./vue-ui-accordion-BSmBUjwZ.js").then((e) => e.n)), Dt = g(() => import("./DataTable-oiM9uWrQ.js")), Ot = g(() => import("./PenAndPaper-KFzKlvbi.js").then((e) => e.t)), kt = g(() => import("./UserOptions-2x4VklMW.js").then((e) => e.n)), At = g(() => import("./PackageVersion-UfoQuPMf.js").then((e) => e.t)), jt = g(() => import("./BaseDraggableDialog-Gm4Q30j0.js").then((e) => e.n)), { vue_ui_radar: Mt } = pe(), { isThemeValid: Nt, warnInvalidTheme: Pt } = ve(), D = e, Ft = d(() => !!D.dataset && Object.keys(D.dataset).length), O = x(le()), It = x(!1), Lt = x(""), Rt = x(0), k = x(null), zt = x(null), Bt = x(null), Vt = x(null), Ht = x(null), Ut = x(0), Wt = x(0), Gt = x(0), Kt = x(!1), qt = x(null), Jt = x(null), A = x(null), Yt = x({
126
+ setup(e, { expose: Ce, emit: qe }) {
127
+ let wt = g(() => import("./Tooltip-hhrkQ3Lk.js")), Tt = g(() => import("./BaseIcon-D8R6_sKH.js").then((e) => e.n)), Et = g(() => import("./vue-ui-sparkbar-lVDnYEYA.js").then((e) => e.n)), Dt = g(() => import("./vue-ui-accordion-DmkL8A59.js").then((e) => e.n)), Ot = g(() => import("./DataTable-oiM9uWrQ.js")), kt = g(() => import("./PenAndPaper-KFzKlvbi.js").then((e) => e.t)), At = g(() => import("./UserOptions-2x4VklMW.js").then((e) => e.n)), jt = g(() => import("./PackageVersion-KBMdaOXg.js").then((e) => e.t)), Mt = g(() => import("./BaseDraggableDialog-Gm4Q30j0.js").then((e) => e.n)), { vue_ui_radar: Nt } = me(), { isThemeValid: Pt, warnInvalidTheme: Ft } = ye(), D = e, It = d(() => !!D.dataset && Object.keys(D.dataset).length), O = x(ue()), Lt = x(!1), Rt = x(""), zt = x(0), k = x(null), Bt = x(null), Vt = x(null), Ht = x(null), Ut = x(null), Wt = x(0), Gt = x(0), Kt = x(0), qt = x(!1), Jt = x(null), Yt = x(null), A = x(null), Xt = x({
128
128
  x: 0,
129
129
  y: 0
130
- }), Xt = x("pointer"), Zt = x(!1), j = x(an()), M = d(() => j.value.userOptions), N = d(() => j.value.style.chart.layout.labels), P = d(() => j.value.style.chart.layout), F = d(() => j.value.style.chart.tooltip), I = d(() => j.value.style.chart);
131
- fe({
130
+ }), Zt = x("pointer"), Qt = x(!1), j = x(on()), M = d(() => j.value.userOptions), N = d(() => j.value.style.chart.layout.labels), P = d(() => j.value.style.chart.layout), F = d(() => j.value.style.chart.tooltip), I = d(() => j.value.style.chart);
131
+ pe({
132
132
  config: () => j.value,
133
133
  dataset: () => D.dataset,
134
134
  component: "VueUiRadar",
@@ -172,7 +172,7 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
172
172
  }
173
173
  ]
174
174
  });
175
- let L = d(() => j.value.userOptions.useCursorPointer), Qt = d(() => ie({
175
+ let L = d(() => j.value.userOptions.useCursorPointer), $t = d(() => ae({
176
176
  defaultConfig: {
177
177
  userOptions: { show: !1 },
178
178
  table: { show: !1 },
@@ -188,13 +188,13 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
188
188
  } }
189
189
  },
190
190
  userConfig: j.value.skeletonConfig ?? {}
191
- })), { loading: $t, FINAL_DATASET: R } = he({
192
- ...We(D),
191
+ })), { loading: en, FINAL_DATASET: R } = ge({
192
+ ...Ge(D),
193
193
  FINAL_CONFIG: j,
194
- prepareConfig: an,
194
+ prepareConfig: on,
195
195
  callback: () => {
196
196
  Promise.resolve().then(async () => {
197
- await Re(), U.value.showTable = j.value.table.show;
197
+ await ze(), U.value.showTable = j.value.table.show;
198
198
  });
199
199
  },
200
200
  skeletonDataset: D.config?.skeletonDataset ?? {
@@ -235,12 +235,12 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
235
235
  }
236
236
  ]
237
237
  },
238
- skeletonConfig: ie({
238
+ skeletonConfig: ae({
239
239
  defaultConfig: j.value,
240
- userConfig: Qt.value
240
+ userConfig: $t.value
241
241
  })
242
- }), { userOptionsVisible: en, setUserOptionsVisibility: tn, keepUserOptionState: nn } = Oe({ config: j.value }), { svgRef: z } = ke({ config: I.value.title });
243
- function rn(e) {
242
+ }), { userOptionsVisible: tn, setUserOptionsVisibility: nn, keepUserOptionState: rn } = ke({ config: j.value }), { svgRef: z } = Ae({ config: I.value.title });
243
+ function an(e) {
244
244
  return {
245
245
  ...e,
246
246
  style: {
@@ -265,17 +265,17 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
265
265
  }
266
266
  };
267
267
  }
268
- function an() {
269
- let e = rn(_e({
268
+ function on() {
269
+ let e = an(ve({
270
270
  userConfig: D.config,
271
- defaultConfig: Mt
271
+ defaultConfig: Nt
272
272
  })), t = e.theme;
273
273
  if (!t) return e;
274
- if (!Nt.value(e)) return Pt(e), e;
275
- let n = _e({
276
- userConfig: Me[t] || D.config,
274
+ if (!Pt.value(e)) return Ft(e), e;
275
+ let n = ve({
276
+ userConfig: Ne[t] || D.config,
277
277
  defaultConfig: e
278
- }), r = _e({
278
+ }), r = ve({
279
279
  userConfig: D.config,
280
280
  defaultConfig: n
281
281
  });
@@ -284,46 +284,58 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
284
284
  customPalette: r.customPalette.length ? r.customPalette : re[t] || i
285
285
  };
286
286
  }
287
- Ge(() => D.config, (e) => {
288
- j.value = an(), en.value = !j.value.userOptions.showOnChartHover, on(), Ut.value += 1, Wt.value += 1, Gt.value += 1, U.value.dataLabels.show = N.value.dataLabels.show, U.value.showTable = j.value.table.show, U.value.showTooltip = F.value ? F.value.show : !1;
287
+ function sn(e) {
288
+ let t = ie(e);
289
+ return t?.style?.chart && delete t.style.chart.tooltip, JSON.stringify(t);
290
+ }
291
+ let cn = sn(D.config);
292
+ Ke(() => D.config, (e, t) => {
293
+ let n = sn(e), r = n !== cn;
294
+ cn = n;
295
+ let i = on();
296
+ if (!r) {
297
+ j.value.style.chart.tooltip = i.style.chart.tooltip, U.value.showTooltip = j.value.style.chart.tooltip.show;
298
+ return;
299
+ }
300
+ j.value = i, tn.value = !j.value.userOptions.showOnChartHover, ln(), Wt.value += 1, Gt.value += 1, Kt.value += 1, U.value.dataLabels.show = N.value.dataLabels.show, U.value.showTable = j.value.table.show, U.value.showTooltip = F.value ? F.value.show : !1;
289
301
  }, { deep: !0 });
290
- let B = Ue(null), V = Ue(null), H = d(() => j.value.debug);
291
- function on() {
302
+ let B = We(null), V = We(null), H = d(() => j.value.debug);
303
+ function ln() {
292
304
  if (s(D.dataset) && l({
293
305
  componentName: "VueUiRadar",
294
306
  type: "dataset",
295
307
  debug: H.value
296
308
  }), j.value.responsive) {
297
- let e = Ce(() => {
298
- let { width: e, height: t } = we({
309
+ let e = we(() => {
310
+ let { width: e, height: t } = Te({
299
311
  chart: k.value,
300
- title: I.value.title.text ? zt.value : null,
301
- legend: I.value.legend.show ? Bt.value : null,
302
- source: Vt.value,
303
- noTitle: Ht.value
312
+ title: I.value.title.text ? Bt.value : null,
313
+ legend: I.value.legend.show ? Vt.value : null,
314
+ source: Ht.value,
315
+ noTitle: Ut.value
304
316
  });
305
317
  requestAnimationFrame(() => {
306
- W.value.width = e, W.value.height = t, Fn();
318
+ W.value.width = e, W.value.height = t, Rn();
307
319
  });
308
320
  });
309
321
  B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect()), B.value = new ResizeObserver(e), V.value = k.value.parentNode, B.value.observe(V.value);
310
322
  }
311
- Fn();
323
+ Rn();
312
324
  }
313
- Ve(() => {
314
- Kt.value = !0, on();
315
- }), Be(() => {
325
+ He(() => {
326
+ qt.value = !0, ln();
327
+ }), Ve(() => {
316
328
  B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect());
317
329
  });
318
- let { isPrinting: sn, isImaging: cn, generatePdf: ln, generateImage: un } = me({
330
+ let { isPrinting: un, isImaging: dn, generatePdf: fn, generateImage: pn } = he({
319
331
  elementId: `vue-ui-radar_${O.value}`,
320
332
  fileName: I.value.title.text || "vue-ui-radar",
321
333
  options: j.value.userOptions.print
322
- }), dn = d(() => j.value.userOptions.show && !I.value.title.text), fn = d(() => de(j.value.customPalette)), U = x({
334
+ }), mn = d(() => j.value.userOptions.show && !I.value.title.text), hn = d(() => fe(j.value.customPalette)), U = x({
323
335
  dataLabels: { show: N.value.dataLabels.show },
324
336
  showTable: j.value.table.show,
325
337
  showTooltip: F.value.show
326
- }), pn = d(() => ({ style: {
338
+ }), gn = d(() => ({ style: {
327
339
  backgroundColor: "#FFFFFF00",
328
340
  animation: {
329
341
  show: F.value.animation.show,
@@ -340,34 +352,34 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
340
352
  } })), W = x({
341
353
  height: 312,
342
354
  width: 512
343
- }), mn = Ke, G = x([]), hn = x(null), K = x(!1);
344
- function gn() {
355
+ }), _n = qe, G = x([]), vn = x(null), K = x(!1);
356
+ function yn() {
345
357
  G.value.length ? G.value = [] : X.value.forEach((e, t) => {
346
358
  G.value.push(t);
347
- }), _n();
359
+ }), bn();
348
360
  }
349
- function _n() {
350
- mn("selectLegend", X.value.filter((e, t) => !G.value.includes(t)).map((e) => ({
361
+ function bn() {
362
+ _n("selectLegend", X.value.filter((e, t) => !G.value.includes(t)).map((e) => ({
351
363
  name: e.name,
352
364
  color: e.color,
353
365
  proportion: e.totalProportion
354
366
  })));
355
367
  }
356
- function vn(e) {
357
- K.value = !0, G.value.includes(e) ? (hn.value = e, G.value = G.value.filter((t) => t !== e), setTimeout(() => {
358
- K.value = !1, hn.value = null;
368
+ function xn(e) {
369
+ K.value = !0, G.value.includes(e) ? (vn.value = e, G.value = G.value.filter((t) => t !== e), setTimeout(() => {
370
+ K.value = !1, vn.value = null;
359
371
  }, 500)) : (G.value.push(e), setTimeout(() => {
360
372
  K.value = !1;
361
- }, 500)), _n();
373
+ }, 500)), bn();
362
374
  }
363
- function yn() {
375
+ function Sn() {
364
376
  return X.value.map((e) => ({
365
377
  name: e.name,
366
378
  color: e.color,
367
379
  proportion: e.totalProportion
368
380
  }));
369
381
  }
370
- function bn() {
382
+ function Cn() {
371
383
  let e = R.value;
372
384
  if ([null, void 0].includes(e?.categories)) {
373
385
  l({
@@ -388,7 +400,7 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
388
400
  property: "categories",
389
401
  debug: H.value
390
402
  }) : H.value && e.categories.forEach((e, t) => {
391
- oe({
403
+ se({
392
404
  datasetObject: e,
393
405
  requiredAttributes: ["name"]
394
406
  }).forEach((e) => {
@@ -405,7 +417,7 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
405
417
  property: "series ({ name: string; values: number[]; color?: string; target: number}[])",
406
418
  debug: H.value
407
419
  }) : H.value && e.series.forEach((e, t) => {
408
- oe({
420
+ se({
409
421
  datasetObject: e,
410
422
  requiredAttributes: [
411
423
  "name",
@@ -423,12 +435,12 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
423
435
  });
424
436
  });
425
437
  }
426
- Ge(() => R.value, () => bn(), {
438
+ Ke(() => R.value, () => Cn(), {
427
439
  deep: !0,
428
440
  immediate: !0
429
441
  });
430
442
  let q = d(() => {
431
- let e = Array.isArray(R.value?.categories) ? R.value.categories : [], t = fn.value ?? i;
443
+ let e = Array.isArray(R.value?.categories) ? R.value.categories : [], t = hn.value ?? i;
432
444
  return e.map((e, n) => ({
433
445
  name: e?.name ?? "",
434
446
  categoryId: `radar_category_${O.value}_${n}`,
@@ -438,60 +450,60 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
438
450
  }));
439
451
  }), J = d(() => R.value.series.map((e, t) => ({
440
452
  ...e,
441
- color: ee(e.color) || fn.value[t] || i[t] || i[t % i.length],
453
+ color: ee(e.color) || hn.value[t] || i[t] || i[t % i.length],
442
454
  serieId: `radar_serie_${O.value}_${t}`,
443
455
  formatter: e.formatter || null,
444
456
  absoluteIndex: t
445
457
  })));
446
- function xn(e) {
458
+ function wn(e) {
447
459
  return J.value.length ? X.value.find((t) => t.name === e) || (H.value && console.warn(`VueUiRadar - Series name not found "${e}"`), null) : (H.value && console.warn("VueUiRadar - There are no series to show."), null);
448
460
  }
449
- function Sn(e) {
450
- let t = xn(e);
451
- t !== null && G.value.includes(t.absoluteIndex) && vn(t.absoluteIndex);
461
+ function Tn(e) {
462
+ let t = wn(e);
463
+ t !== null && G.value.includes(t.absoluteIndex) && xn(t.absoluteIndex);
452
464
  }
453
- function Cn(e) {
454
- let t = xn(e);
455
- t !== null && (G.value.includes(t.absoluteIndex) || vn(t.absoluteIndex));
465
+ function En(e) {
466
+ let t = wn(e);
467
+ t !== null && (G.value.includes(t.absoluteIndex) || xn(t.absoluteIndex));
456
468
  }
457
- let wn = d(() => Math.max(0, ...J.value.flatMap((e) => e.values)));
458
- function Tn(e) {
459
- return P.value.scaleToAxisMax ? Math.max(1, e.target || 0, ...e.values) : e.target || wn.value || 1;
469
+ let Dn = d(() => Math.max(0, ...J.value.flatMap((e) => e.values)));
470
+ function On(e) {
471
+ return P.value.scaleToAxisMax ? Math.max(1, e.target || 0, ...e.values) : e.target || Dn.value || 1;
460
472
  }
461
- let En = d(() => J.value.map((e, t) => {
462
- let n = jn.value.coordinates[t];
463
- return In({
473
+ let kn = d(() => J.value.map((e, t) => {
474
+ let n = Pn.value.coordinates[t];
475
+ return zn({
464
476
  centerX: W.value.width / 2,
465
477
  centerY: W.value.height / 2,
466
478
  apexX: n.x,
467
479
  apexY: n.y,
468
- proportion: (e.target || 0) / Tn(e)
480
+ proportion: (e.target || 0) / On(e)
469
481
  });
470
- })), Dn = d(() => J.value.length), On = d(() => Math.min(W.value.width, W.value.height) / 3), kn = d(() => {
482
+ })), An = d(() => J.value.length), jn = d(() => Math.min(W.value.width, W.value.height) / 3), Mn = d(() => {
471
483
  let e = Number(P.value.plots.radius ?? 0);
472
484
  return Math.max(Number.isFinite(e) ? e * 2.5 : 0, 10);
473
- }), An = d(() => {
485
+ }), Nn = d(() => {
474
486
  let e = Number(P.value.grid.rotation ?? 0);
475
487
  return Number.isFinite(e) ? e * Math.PI / 180 : 0;
476
- }), jn = d(() => a({
488
+ }), Pn = d(() => a({
477
489
  plot: {
478
490
  x: W.value.width / 2,
479
491
  y: W.value.height / 2
480
492
  },
481
- radius: On.value,
482
- sides: Dn.value,
483
- rotation: An.value
484
- })), Mn = d(() => {
493
+ radius: jn.value,
494
+ sides: An.value,
495
+ rotation: Nn.value
496
+ })), Fn = d(() => {
485
497
  let e = [];
486
- for (let t = 0; t < On.value; t += On.value / P.value.grid.graduations) e.push(t);
498
+ for (let t = 0; t < jn.value; t += jn.value / P.value.grid.graduations) e.push(t);
487
499
  return e;
488
- }), Y = d(() => jn.value.coordinates.map((e, t) => {
489
- let n = J.value[t], r = J.value[t].values.map((t) => In({
500
+ }), Y = d(() => Pn.value.coordinates.map((e, t) => {
501
+ let n = J.value[t], r = J.value[t].values.map((t) => zn({
490
502
  centerX: W.value.width / 2,
491
503
  centerY: W.value.height / 2,
492
504
  apexX: e.x,
493
505
  apexY: e.y,
494
- proportion: t / Tn(n)
506
+ proportion: t / On(n)
495
507
  }));
496
508
  return {
497
509
  ...e,
@@ -500,11 +512,11 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
500
512
  };
501
513
  }).map((e) => ({
502
514
  ...e,
503
- labelX: Nn(e).x,
504
- labelY: Nn(e).y,
505
- labelAnchor: Nn(e).anchor
515
+ labelX: In(e).x,
516
+ labelY: In(e).y,
517
+ labelAnchor: In(e).anchor
506
518
  })));
507
- function Nn({ x: e, y: t }) {
519
+ function In({ x: e, y: t }) {
508
520
  let n = W.value.width / 2, r = W.value.height / 2, i = e - n, a = t - r, o = Math.hypot(i, a), s = Number(N.value.dataLabels.offset ?? 0), ee = 20 + (Number.isFinite(s) ? s : 0);
509
521
  if (!o) return {
510
522
  x: e,
@@ -518,33 +530,33 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
518
530
  anchor: c
519
531
  };
520
532
  }
521
- let Pn = d({
533
+ let Ln = d({
522
534
  get: () => N.value.dataLabels.fontSize,
523
535
  set: (e) => e
524
- }), { autoSizeLabels: Fn } = je({
536
+ }), { autoSizeLabels: Rn } = Me({
525
537
  svgRef: z,
526
538
  fontSize: N.value.dataLabels.fontSize,
527
539
  minFontSize: 6,
528
- sizeRef: Pn,
540
+ sizeRef: Ln,
529
541
  labelClass: ".vue-ui-radar-apex-label"
530
542
  });
531
- function In({ centerX: e, centerY: t, apexX: n, apexY: r, proportion: i }) {
543
+ function zn({ centerX: e, centerY: t, apexX: n, apexY: r, proportion: i }) {
532
544
  return {
533
545
  x: e + (n - e) * i,
534
546
  y: t + (r - t) * i
535
547
  };
536
548
  }
537
549
  let X = d(() => {
538
- let e = J.value.map((e, t) => e.values.map((t) => t / (e.target || wn.value)));
550
+ let e = J.value.map((e, t) => e.values.map((t) => t / (e.target || Dn.value)));
539
551
  return q.value.map((t, n) => {
540
- let r = ae(e.map((e) => e[n]).reduce((e, t) => e + t, 0) / J.value.length);
552
+ let r = oe(e.map((e) => e[n]).reduce((e, t) => e + t, 0) / J.value.length);
541
553
  return {
542
554
  ...t,
543
555
  absoluteIndex: n,
544
556
  totalProportion: r,
545
557
  shape: "circle",
546
558
  opacity: G.value.includes(n) ? .5 : 1,
547
- segregate: () => vn(n),
559
+ segregate: () => xn(n),
548
560
  isSegregated: G.value.includes(n),
549
561
  display: `${t.name}: ${c({
550
562
  v: (r ?? 0) * 100,
@@ -553,7 +565,7 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
553
565
  })}`
554
566
  };
555
567
  });
556
- }), Ln = d(() => ({
568
+ }), Bn = d(() => ({
557
569
  cy: "radar-div-legend",
558
570
  backgroundColor: I.value.legend.backgroundColor,
559
571
  color: I.value.legend.color,
@@ -576,13 +588,13 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
576
588
  head: e,
577
589
  body: R.value.series.map((e) => [
578
590
  e.name,
579
- se(e.formatter, e.target, c({
591
+ ce(e.formatter, e.target, c({
580
592
  p: e.prefix,
581
593
  v: e.target,
582
594
  s: e.suffix,
583
595
  r: j.value.table.td.roundingValue
584
596
  })),
585
- ...e.values.map((t, n) => `${se(e.formatter, t, c({
597
+ ...e.values.map((t, n) => `${ce(e.formatter, t, c({
586
598
  p: q.value[n]?.prefix ?? "",
587
599
  v: t,
588
600
  s: q.value[n]?.suffix ?? "",
@@ -608,26 +620,26 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
608
620
  },
609
621
  colNames: e
610
622
  };
611
- }), Q = x(null), Rn = x([]), zn = x(null);
612
- function Bn(e, t) {
613
- It.value = !1, Q.value = null, A.value = null, Xt.value = "pointer", j.value.events.datapointLeave && j.value.events.datapointLeave({
623
+ }), Q = x(null), Vn = x([]), Hn = x(null);
624
+ function Un(e, t) {
625
+ Lt.value = !1, Q.value = null, A.value = null, Zt.value = "pointer", j.value.events.datapointLeave && j.value.events.datapointLeave({
614
626
  datapoint: e,
615
627
  seriesIndex: t
616
628
  });
617
629
  }
618
- function Vn(e, t) {
630
+ function Wn(e, t) {
619
631
  j.value.events.datapointClick && j.value.events.datapointClick({
620
632
  datapoint: e,
621
633
  seriesIndex: t
622
634
  });
623
635
  }
624
- function Hn(e, t, r = "pointer") {
636
+ function Gn(e, t, r = "pointer") {
625
637
  j.value.events.datapointEnter && j.value.events.datapointEnter({
626
638
  datapoint: e,
627
639
  seriesIndex: t
628
- }), Xt.value = r, A.value = t;
640
+ }), Zt.value = r, A.value = t;
629
641
  let i = q.value.slice();
630
- Rn.value = [], Q.value = t, It.value = !0, zn.value = {
642
+ Vn.value = [], Q.value = t, Lt.value = !0, Hn.value = {
631
643
  datapoint: e,
632
644
  seriesIndex: t,
633
645
  series: {
@@ -638,7 +650,7 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
638
650
  config: j.value
639
651
  };
640
652
  let a = F.value.customFormat;
641
- if (n(a) && ce(() => a({
653
+ if (n(a) && le(() => a({
642
654
  seriesIndex: t,
643
655
  datapoint: e,
644
656
  series: {
@@ -648,7 +660,7 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
648
660
  },
649
661
  config: j.value
650
662
  }))) {
651
- Lt.value = a({
663
+ Rt.value = a({
652
664
  seriesIndex: t,
653
665
  datapoint: e,
654
666
  series: {
@@ -660,9 +672,9 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
660
672
  });
661
673
  return;
662
674
  }
663
- Lt.value = `<div style="width:100%;text-align:center;border-bottom:1px solid ${F.value.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`;
675
+ Rt.value = `<div style="width:100%;text-align:center;border-bottom:1px solid ${F.value.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`;
664
676
  for (let t = 0; t < e.values.length; t += 1) if (!G.value.includes(t)) {
665
- let n = i[t], r = e.values[t], a = isNaN(r / e.target) ? 0 : r / e.target * 100, o = se(e.formatter, r, c({
677
+ let n = i[t], r = e.values[t], a = isNaN(r / e.target) ? 0 : r / e.target * 100, o = ce(e.formatter, r, c({
666
678
  p: q.value[t].prefix,
667
679
  v: r,
668
680
  s: q.value[t].suffix,
@@ -672,7 +684,7 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
672
684
  s: "%",
673
685
  r: F.value.roundingPercentage
674
686
  }), ee = F.value.showValue && F.value.showPercentage ? `${o} (${s})` : F.value.showValue && !F.value.showPercentage ? o : !F.value.showValue && F.value.showPercentage ? `${s}` : "";
675
- Rn.value.push({
687
+ Vn.value.push({
676
688
  name: n?.name ?? `#${t + 1}`,
677
689
  value: e.values[t] / e.target * 100,
678
690
  color: n?.color,
@@ -683,8 +695,8 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
683
695
  });
684
696
  }
685
697
  }
686
- function Un(e = null) {
687
- Re(() => {
698
+ function Kn(e = null) {
699
+ ze(() => {
688
700
  let n = [
689
701
  [I.value.title.text],
690
702
  [I.value.title.subtitle.text],
@@ -705,22 +717,22 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
705
717
  });
706
718
  }
707
719
  let $ = x(!1);
708
- function Wn(e) {
709
- $.value = e, Rt.value += 1;
720
+ function qn(e) {
721
+ $.value = e, zt.value += 1;
710
722
  }
711
- function Gn() {
723
+ function Jn() {
712
724
  U.value.showTable = !U.value.showTable;
713
725
  }
714
- function Kn() {
726
+ function Yn() {
715
727
  U.value.showTooltip = !U.value.showTooltip;
716
728
  }
717
- let qn = x(!1);
718
- function Jn() {
719
- qn.value = !qn.value;
729
+ let Xn = x(!1);
730
+ function Zn() {
731
+ Xn.value = !Xn.value;
720
732
  }
721
- async function Yn({ scale: e = 2 } = {}) {
733
+ async function Qn({ scale: e = 2 } = {}) {
722
734
  if (!k.value) return;
723
- let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await be({
735
+ let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await xe({
724
736
  domElement: k.value,
725
737
  base64: !0,
726
738
  img: !0,
@@ -735,10 +747,10 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
735
747
  aspectRatio: r
736
748
  };
737
749
  }
738
- let Xn = d(() => {
750
+ let $n = d(() => {
739
751
  let e = j.value.table.useDialog && !j.value.table.show, t = U.value.showTable;
740
752
  return {
741
- component: e ? jt : Et,
753
+ component: e ? Mt : Dt,
742
754
  title: `${I.value.title.text}${I.value.title.subtitle.text ? `: ${I.value.title.subtitle.text}` : ""}`,
743
755
  props: e ? {
744
756
  backgroundColor: j.value.table.th.backgroundColor,
@@ -766,26 +778,26 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
766
778
  }
767
779
  };
768
780
  });
769
- Ge(() => U.value.showTable, (e) => {
770
- j.value.table.show || (e && j.value.table.useDialog && qt.value ? qt.value.open() : "close" in qt.value && qt.value.close());
781
+ Ke(() => U.value.showTable, (e) => {
782
+ j.value.table.show || (e && j.value.table.useDialog && Jt.value ? Jt.value.open() : "close" in Jt.value && Jt.value.close());
771
783
  });
772
- function Zn() {
773
- U.value.showTable = !1, Jt.value && Jt.value.setTableIconState(!1);
784
+ function er() {
785
+ U.value.showTable = !1, Yt.value && Yt.value.setTableIconState(!1);
774
786
  }
775
- let Qn = d(() => X.value.map((e) => ({
787
+ let tr = d(() => X.value.map((e) => ({
776
788
  ...e,
777
789
  name: e.display
778
- }))), $n = d(() => I.value.backgroundColor), er = d(() => I.value.legend), tr = d(() => I.value.title), { isCallbackImaging: nr, isCallbackSvg: rr, generateSvg: ir, onGenerateImage: ar } = ye({
790
+ }))), nr = d(() => I.value.backgroundColor), rr = d(() => I.value.legend), ir = d(() => I.value.title), { isCallbackImaging: ar, isCallbackSvg: or, generateSvg: sr, onGenerateImage: cr } = be({
779
791
  svg: z,
780
- title: tr,
781
- legend: er,
782
- legendItems: Qn,
783
- backgroundColor: $n,
792
+ title: ir,
793
+ legend: rr,
794
+ legendItems: tr,
795
+ backgroundColor: nr,
784
796
  getSvgCallback: () => j.value.userOptions.callbacks.svg,
785
- generateImage: un
797
+ generateImage: pn
786
798
  });
787
- async function or() {
788
- if (mn("copyAlt", {
799
+ async function lr() {
800
+ if (_n("copyAlt", {
789
801
  config: j.value,
790
802
  dataset: Y.value
791
803
  }), !j.value.userOptions.callbacks.altCopy) {
@@ -797,78 +809,78 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
797
809
  dataset: Y.value
798
810
  }));
799
811
  }
800
- function sr() {
801
- A.value = null, Zt.value = !0;
812
+ function ur() {
813
+ A.value = null, Qt.value = !0;
802
814
  }
803
- function cr() {
804
- A.value = null, Xt.value = "pointer", It.value = !1, Q.value = null, Zt.value = !1;
815
+ function dr() {
816
+ A.value = null, Zt.value = "pointer", Lt.value = !1, Q.value = null, Qt.value = !1;
805
817
  }
806
- function lr(e) {
818
+ function fr(e) {
807
819
  if (!Number.isFinite(e) || !z.value) return;
808
820
  let t = Y.value[e];
809
821
  if (!t) return;
810
822
  let n = z.value.getBoundingClientRect();
811
- Yt.value = {
823
+ Xt.value = {
812
824
  x: n.left + t.labelX / W.value.width * n.width,
813
825
  y: n.top + t.labelY / W.value.height * n.height
814
826
  };
815
827
  }
816
- function ur(e) {
817
- if (!z.value || qn.value || document.activeElement !== z.value || !Y.value.length) return;
828
+ function pr(e) {
829
+ if (!z.value || Xn.value || document.activeElement !== z.value || !Y.value.length) return;
818
830
  let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
819
831
  if (!t && !n && !r && !i) return;
820
832
  if (e.preventDefault(), e.stopPropagation(), i) {
821
- A.value = null, Xt.value = "pointer", It.value = !1, Q.value = null;
833
+ A.value = null, Zt.value = "pointer", Lt.value = !1, Q.value = null;
822
834
  return;
823
835
  }
824
836
  if (r) {
825
837
  if (A.value === null) return;
826
838
  let e = Y.value[A.value];
827
839
  if (!e) return;
828
- Vn(e, A.value);
840
+ Wn(e, A.value);
829
841
  return;
830
842
  }
831
843
  let a = A.value;
832
844
  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));
833
845
  let o = Y.value[a];
834
- o && (A.value = a, lr(a), Hn(o, a, "keyboard"));
846
+ o && (A.value = a, fr(a), Gn(o, a, "keyboard"));
835
847
  }
836
- let dr = d(() => ({
848
+ let mr = d(() => ({
837
849
  headers: Z.value?.colNames?.map((e) => e.name ?? e) ?? [],
838
850
  rows: Z.value?.body ?? []
839
851
  }));
840
- return Se({
841
- getData: yn,
842
- getImage: Yn,
843
- generatePdf: ln,
844
- generateCsv: Un,
845
- generateImage: un,
846
- generateSvg: ir,
847
- hideSeries: Cn,
848
- showSeries: Sn,
849
- toggleTable: Gn,
850
- toggleTooltip: Kn,
851
- toggleAnnotator: Jn,
852
- toggleFullscreen: Wn,
853
- copyAlt: or
852
+ return Ce({
853
+ getData: Sn,
854
+ getImage: Qn,
855
+ generatePdf: fn,
856
+ generateCsv: Kn,
857
+ generateImage: pn,
858
+ generateSvg: sr,
859
+ hideSeries: En,
860
+ showSeries: Tn,
861
+ toggleTable: Jn,
862
+ toggleTooltip: Yn,
863
+ toggleAnnotator: Zn,
864
+ toggleFullscreen: qn,
865
+ copyAlt: lr
854
866
  }), (e, t) => (b(), m("div", {
855
- class: ze(`vue-data-ui-component vue-ui-radar ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${j.value.useCssAnimation ? "" : "vue-ui-dna"}`),
867
+ class: Be(`vue-data-ui-component vue-ui-radar ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${j.value.useCssAnimation ? "" : "vue-ui-dna"}`),
856
868
  ref_key: "radarChart",
857
869
  ref: k,
858
870
  id: `vue-ui-radar_${O.value}`,
859
871
  style: y(`font-family:${j.value.style.fontFamily};width:100%; ${j.value.responsive ? "height: 100%;" : ""} text-align:center;background:${I.value.backgroundColor}`),
860
- onMouseenter: t[2] ||= () => T(tn)(!0),
861
- onMouseleave: t[3] ||= () => T(tn)(!1)
872
+ onMouseenter: t[2] ||= () => T(nn)(!0),
873
+ onMouseleave: t[3] ||= () => T(nn)(!1)
862
874
  }, [
863
875
  h("div", {
864
876
  id: `chart-instructions-${O.value}`,
865
877
  class: "sr-only"
866
- }, [h("p", null, w(j.value.a11y.translations.keyboardNavigation), 1)], 8, Je),
867
- dr.value?.rows?.length ? (b(), f(De, {
878
+ }, [h("p", null, w(j.value.a11y.translations.keyboardNavigation), 1)], 8, Ye),
879
+ mr.value?.rows?.length ? (b(), f(Oe, {
868
880
  key: 0,
869
881
  uid: O.value,
870
- head: dr.value.headers,
871
- body: dr.value.rows,
882
+ head: mr.value.headers,
883
+ body: mr.value.rows,
872
884
  notice: j.value.a11y.translations.tableAvailable,
873
885
  caption: j.value.a11y.translations.tableCaption
874
886
  }, null, 8, [
@@ -878,15 +890,15 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
878
890
  "notice",
879
891
  "caption"
880
892
  ])) : p("", !0),
881
- M.value.buttons.annotator ? (b(), f(T(Ot), {
893
+ M.value.buttons.annotator ? (b(), f(T(kt), {
882
894
  key: 1,
883
895
  svgRef: T(z),
884
896
  backgroundColor: I.value.backgroundColor,
885
897
  color: I.value.color,
886
- active: qn.value,
898
+ active: Xn.value,
887
899
  isCursorPointer: L.value,
888
900
  palette: M.value.annotatorPalette,
889
- onClose: Jn
901
+ onClose: Zn
890
902
  }, {
891
903
  "annotator-action-close": E(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
892
904
  "annotator-action-color": E(({ color: t }) => [C(e.$slots, "annotator-action-color", v(_({ color: t })), void 0, !0)]),
@@ -903,20 +915,20 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
903
915
  "isCursorPointer",
904
916
  "palette"
905
917
  ])) : p("", !0),
906
- dn.value ? (b(), m("div", {
918
+ mn.value ? (b(), m("div", {
907
919
  key: 2,
908
920
  ref_key: "noTitle",
909
- ref: Ht,
921
+ ref: Ut,
910
922
  class: "vue-data-ui-no-title-space",
911
923
  style: "height:36px; width: 100%;background:transparent"
912
924
  }, null, 512)) : p("", !0),
913
925
  I.value.title.text ? (b(), m("div", {
914
926
  key: 3,
915
927
  ref_key: "chartTitle",
916
- ref: zt,
928
+ ref: Bt,
917
929
  style: "width:100%;background:transparent;padding-bottom:12px"
918
- }, [(b(), f(xe, {
919
- key: `title_${Ut.value}`,
930
+ }, [(b(), f(Se, {
931
+ key: `title_${Wt.value}`,
920
932
  config: {
921
933
  title: {
922
934
  cy: "radar-div-title",
@@ -928,15 +940,15 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
928
940
  }
929
941
  }
930
942
  }, null, 8, ["config"]))], 512)) : p("", !0),
931
- h("div", { id: `legend-top-${O.value}` }, null, 8, Ye),
932
- M.value.show && Ft.value && (T(nn) || T(en)) ? (b(), f(T(kt), {
943
+ h("div", { id: `legend-top-${O.value}` }, null, 8, Xe),
944
+ M.value.show && It.value && (T(rn) || T(tn)) ? (b(), f(T(At), {
933
945
  ref_key: "userOptionsRef",
934
- ref: Jt,
935
- key: `user_options_${Rt.value}`,
946
+ ref: Yt,
947
+ key: `user_options_${zt.value}`,
936
948
  backgroundColor: I.value.backgroundColor,
937
949
  color: I.value.color,
938
- isImaging: T(cn),
939
- isPrinting: T(sn),
950
+ isImaging: T(dn),
951
+ isPrinting: T(un),
940
952
  uid: O.value,
941
953
  hasTooltip: M.value.buttons.tooltip && F.value.show,
942
954
  hasPdf: M.value.buttons.pdf,
@@ -952,22 +964,22 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
952
964
  chartElement: k.value,
953
965
  position: M.value.position,
954
966
  hasAnnotator: M.value.buttons.annotator,
955
- isAnnotation: qn.value,
967
+ isAnnotation: Xn.value,
956
968
  callbacks: M.value.callbacks,
957
969
  printScale: M.value.print.scale,
958
970
  tableDialog: j.value.table.useDialog,
959
971
  isCursorPointer: L.value,
960
- onToggleFullscreen: Wn,
961
- onGeneratePdf: T(ln),
962
- onGenerateCsv: Un,
963
- onGenerateImage: T(ar),
964
- onGenerateSvg: T(ir),
965
- onToggleTable: Gn,
966
- onToggleTooltip: Kn,
967
- onToggleAnnotator: Jn,
968
- onCopyAlt: or,
969
- style: y({ visibility: T(nn) ? T(en) ? "visible" : "hidden" : "visible" })
970
- }, Pe({ _: 2 }, [
972
+ onToggleFullscreen: qn,
973
+ onGeneratePdf: T(fn),
974
+ onGenerateCsv: Kn,
975
+ onGenerateImage: T(cr),
976
+ onGenerateSvg: T(sr),
977
+ onToggleTable: Jn,
978
+ onToggleTooltip: Yn,
979
+ onToggleAnnotator: Zn,
980
+ onCopyAlt: lr,
981
+ style: y({ visibility: T(rn) ? T(tn) ? "visible" : "hidden" : "visible" })
982
+ }, Fe({ _: 2 }, [
971
983
  e.$slots.menuIcon ? {
972
984
  name: "menuIcon",
973
985
  fn: E(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", v(_({
@@ -1038,23 +1050,23 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
1038
1050
  key: "11"
1039
1051
  } : void 0
1040
1052
  ]), 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.onGenerateImage.onGenerateSvg.style".split("."))) : p("", !0),
1041
- h("div", Xe, [(b(), m("svg", {
1053
+ h("div", Ze, [(b(), m("svg", {
1042
1054
  ref_key: "svgRef",
1043
1055
  ref: z,
1044
- xmlns: T(ue),
1056
+ xmlns: T(de),
1045
1057
  "aria-describedby": `chart-instructions-${O.value}`,
1046
- class: ze({
1058
+ class: Be({
1047
1059
  "vue-data-ui-fullscreen--on": $.value,
1048
1060
  "vue-data-ui-fulscreen--off": !$.value
1049
1061
  }),
1050
1062
  viewBox: `0 0 ${W.value.width <= 0 ? 10 : W.value.width} ${W.value.height <= 0 ? 10 : W.value.height}`,
1051
1063
  style: y(`max-width:100%;overflow:visible;background:transparent;color:${I.value.color}`),
1052
1064
  tabindex: "0",
1053
- onFocus: sr,
1054
- onBlur: cr,
1055
- onKeydown: ur
1065
+ onFocus: ur,
1066
+ onBlur: dr,
1067
+ onKeydown: pr
1056
1068
  }, [
1057
- Ie(T(At)),
1069
+ Le(T(jt)),
1058
1070
  e.$slots["chart-background"] ? (b(), m("foreignObject", {
1059
1071
  key: 0,
1060
1072
  x: 0,
@@ -1062,8 +1074,8 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
1062
1074
  width: W.value.width <= 0 ? 10 : W.value.width,
1063
1075
  height: W.value.height <= 0 ? 10 : W.value.height,
1064
1076
  style: { pointerEvents: "none" }
1065
- }, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, Qe)) : p("", !0),
1066
- h("defs", null, [(b(!0), m(u, null, S(q.value, (e, t) => (b(), f(Te, {
1077
+ }, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, $e)) : p("", !0),
1078
+ h("defs", null, [(b(!0), m(u, null, S(q.value, (e, t) => (b(), f(Ee, {
1067
1079
  t: "radial",
1068
1080
  cx: "50%",
1069
1081
  cy: "50%",
@@ -1082,7 +1094,7 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
1082
1094
  1
1083
1095
  ]]
1084
1096
  }, null, 8, ["id", "stops"]))), 128))]),
1085
- P.value.grid.show ? (b(), m("g", $e, [(b(!0), m(u, null, S(Y.value, (e) => (b(), m("line", {
1097
+ P.value.grid.show ? (b(), m("g", et, [(b(!0), m(u, null, S(Y.value, (e) => (b(), m("line", {
1086
1098
  x1: W.value.width / 2,
1087
1099
  y1: W.value.height / 2,
1088
1100
  x2: e.x,
@@ -1090,30 +1102,30 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
1090
1102
  stroke: P.value.grid.stroke,
1091
1103
  "stroke-width": P.value.grid.strokeWidth,
1092
1104
  style: { "pointer-events": "none" }
1093
- }, null, 8, et))), 256)), P.value.grid.graduations > 0 ? (b(), m("g", tt, [(b(!0), m(u, null, S(Mn.value, (e) => (b(), m("path", {
1105
+ }, null, 8, tt))), 256)), P.value.grid.graduations > 0 ? (b(), m("g", nt, [(b(!0), m(u, null, S(Fn.value, (e) => (b(), m("path", {
1094
1106
  d: T(a)({
1095
1107
  plot: {
1096
1108
  x: W.value.width / 2,
1097
1109
  y: W.value.height / 2
1098
1110
  },
1099
1111
  radius: e,
1100
- sides: Dn.value,
1101
- rotation: An.value
1112
+ sides: An.value,
1113
+ rotation: Nn.value
1102
1114
  }).path,
1103
1115
  fill: "none",
1104
1116
  stroke: P.value.grid.stroke,
1105
1117
  "stroke-width": P.value.grid.strokeWidth
1106
- }, null, 8, nt))), 256))])) : p("", !0)])) : p("", !0),
1118
+ }, null, 8, rt))), 256))])) : p("", !0)])) : p("", !0),
1107
1119
  h("path", {
1108
- d: jn.value.path,
1120
+ d: Pn.value.path,
1109
1121
  fill: "none",
1110
1122
  stroke: P.value.outerPolygon.stroke,
1111
1123
  "stroke-width": P.value.outerPolygon.strokeWidth,
1112
1124
  "stroke-linejoin": "round",
1113
1125
  "stroke-linecap": "round",
1114
1126
  style: { "pointer-events": "none" }
1115
- }, null, 8, rt),
1116
- N.value.dataLabels.show ? (b(), m("g", it, [(b(!0), m(u, null, S(Y.value, (e, t) => (b(), m("text", {
1127
+ }, null, 8, it),
1128
+ N.value.dataLabels.show ? (b(), m("g", at, [(b(!0), m(u, null, S(Y.value, (e, t) => (b(), m("text", {
1117
1129
  class: "vue-ui-radar-apex-label",
1118
1130
  x: e.labelX,
1119
1131
  y: e.labelY,
@@ -1121,37 +1133,37 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
1121
1133
  "dominant-baseline": "middle",
1122
1134
  "font-size": N.value.dataLabels.fontSize,
1123
1135
  fill: N.value.dataLabels.color,
1124
- onMouseenter: (n) => Hn(e, t, "pointer"),
1125
- onMouseleave: (n) => Bn(e, t),
1126
- onClick: (n) => Vn(e, t)
1127
- }, w(e.name), 41, at))), 256))])) : p("", !0),
1136
+ onMouseenter: (n) => Gn(e, t, "pointer"),
1137
+ onMouseleave: (n) => Un(e, t),
1138
+ onClick: (n) => Wn(e, t)
1139
+ }, w(e.name), 41, ot))), 256))])) : p("", !0),
1128
1140
  (b(!0), m(u, null, S(q.value, (e, t) => (b(), m("g", null, [h("g", null, [j.value.useCssAnimation || !j.value.useCssAnimation && !G.value.includes(t) ? (b(), m("polygon", {
1129
1141
  key: 0,
1130
1142
  points: T(o)(Y.value.map((e) => e.plots[t]), !1, !0),
1131
1143
  stroke: I.value.backgroundColor,
1132
1144
  "stroke-width": P.value.dataPolygon.strokeWidth + 1,
1133
1145
  fill: "none",
1134
- class: ze({
1146
+ class: Be({
1135
1147
  "animated-out": G.value.includes(t) && j.value.useCssAnimation,
1136
- "animated-in": K.value && hn.value === t && j.value.useCssAnimation
1148
+ "animated-in": K.value && vn.value === t && j.value.useCssAnimation
1137
1149
  }),
1138
1150
  style: { "pointer-events": "none" }
1139
- }, null, 10, ot)) : p("", !0), j.value.useCssAnimation || !j.value.useCssAnimation && !G.value.includes(t) ? (b(), m("polygon", {
1151
+ }, null, 10, st)) : p("", !0), j.value.useCssAnimation || !j.value.useCssAnimation && !G.value.includes(t) ? (b(), m("polygon", {
1140
1152
  key: 1,
1141
1153
  points: T(o)(Y.value.map((e) => e.plots[t]), !1, !0),
1142
1154
  stroke: e.color,
1143
1155
  "stroke-width": P.value.dataPolygon.strokeWidth,
1144
1156
  fill: P.value.dataPolygon.transparent ? "transparent" : P.value.dataPolygon.useGradient ? `url(#radar_gradient_${O.value}_${t})` : T(te)(e.color, P.value.dataPolygon.opacity),
1145
- class: ze({
1157
+ class: Be({
1146
1158
  "animated-out": G.value.includes(t) && j.value.useCssAnimation,
1147
- "animated-in": K.value && hn.value === t && j.value.useCssAnimation
1159
+ "animated-in": K.value && vn.value === t && j.value.useCssAnimation
1148
1160
  }),
1149
1161
  style: { "pointer-events": "none" }
1150
- }, null, 10, st)) : p("", !0)])]))), 256)),
1162
+ }, null, 10, ct)) : p("", !0)])]))), 256)),
1151
1163
  P.value.targetReference.show ? (b(), m("path", {
1152
1164
  key: 3,
1153
1165
  class: "vue-ui-radar-target-polygon",
1154
- d: `M${T(o)(En.value, !1, !0)}Z`,
1166
+ d: `M${T(o)(kn.value, !1, !0)}Z`,
1155
1167
  fill: "none",
1156
1168
  stroke: P.value.targetReference.stroke,
1157
1169
  "stroke-width": P.value.targetReference.strokeWidth,
@@ -1159,70 +1171,70 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
1159
1171
  "stroke-linecap": "round",
1160
1172
  "stroke-dasharray": P.value.targetReference.strokeDasharray,
1161
1173
  style: { "pointer-events": "none" }
1162
- }, null, 8, ct)) : p("", !0),
1163
- P.value.plots.show ? (b(), m("g", lt, [(b(!0), m(u, null, S(Y.value, (e, t) => (b(), m("g", { key: `radar-category-${t}` }, [(b(!0), m(u, null, S(e.plots, (n, r) => (b(), m("g", {
1174
+ }, null, 8, lt)) : p("", !0),
1175
+ P.value.plots.show ? (b(), m("g", ut, [(b(!0), m(u, null, S(Y.value, (e, t) => (b(), m("g", { key: `radar-category-${t}` }, [(b(!0), m(u, null, S(e.plots, (n, r) => (b(), m("g", {
1164
1176
  key: `radar-plot-${t}-${r}`,
1165
- onMouseenter: (n) => !G.value.includes(r) && Hn(e, t, "pointer"),
1166
- onMouseleave: (n) => !G.value.includes(r) && Bn(e, t),
1167
- onClick: (n) => !G.value.includes(r) && Vn(e, t)
1177
+ onMouseenter: (n) => !G.value.includes(r) && Gn(e, t, "pointer"),
1178
+ onMouseleave: (n) => !G.value.includes(r) && Un(e, t),
1179
+ onClick: (n) => !G.value.includes(r) && Wn(e, t)
1168
1180
  }, [h("circle", {
1169
1181
  cx: n.x,
1170
1182
  cy: n.y,
1171
- r: kn.value,
1183
+ r: Mn.value,
1172
1184
  fill: "transparent",
1173
1185
  stroke: "transparent",
1174
1186
  style: y({ pointerEvents: G.value.includes(r) ? "none" : "all" })
1175
- }, null, 12, dt), h("circle", {
1187
+ }, null, 12, ft), h("circle", {
1176
1188
  cx: n.x,
1177
1189
  cy: n.y,
1178
1190
  fill: G.value.includes(r) ? "transparent" : q.value[r] ? q.value[r].color : "transparent",
1179
1191
  r: Q.value !== null && Q.value === t ? P.value.plots.radius * 1.6 : P.value.plots.radius,
1180
1192
  stroke: G.value.includes(r) ? "transparent" : I.value.backgroundColor,
1181
1193
  "stroke-width": .5,
1182
- class: ze({
1194
+ class: Be({
1183
1195
  "animated-out": G.value.includes(r) && j.value.useCssAnimation,
1184
- "animated-in": K.value && hn.value === r && j.value.useCssAnimation
1196
+ "animated-in": K.value && vn.value === r && j.value.useCssAnimation
1185
1197
  }),
1186
1198
  style: { "pointer-events": "none" }
1187
- }, null, 10, ft)], 40, ut))), 128))]))), 128))])) : p("", !0),
1199
+ }, null, 10, pt)], 40, dt))), 128))]))), 128))])) : p("", !0),
1188
1200
  C(e.$slots, "svg", { svg: {
1189
1201
  ...W.value,
1190
- outerPolygon: jn.value,
1191
- isPrintingImg: T(sn) || T(cn) || T(nr),
1192
- isPrintingSvg: T(rr)
1202
+ outerPolygon: Pn.value,
1203
+ isPrintingImg: T(un) || T(dn) || T(ar),
1204
+ isPrintingSvg: T(or)
1193
1205
  } }, void 0, !0)
1194
- ], 46, Ze)), e.$slots.hint ? (b(), m("div", pt, [C(e.$slots, "hint", v(_({
1206
+ ], 46, Qe)), e.$slots.hint ? (b(), m("div", mt, [C(e.$slots, "hint", v(_({
1195
1207
  hint: j.value.a11y.translations.keyboardNavigation,
1196
- isVisible: Zt.value
1208
+ isVisible: Qt.value
1197
1209
  })), void 0, !0)])) : p("", !0)]),
1198
- e.$slots.watermark ? (b(), m("div", mt, [C(e.$slots, "watermark", v(_({ isPrinting: T(sn) || T(cn) || T(nr) || T(rr) })), void 0, !0)])) : p("", !0),
1199
- h("div", { id: `legend-bottom-${O.value}` }, null, 8, ht),
1200
- Kt.value && (I.value.legend.show || e.$slots.legend) ? (b(), f(Ne, {
1210
+ e.$slots.watermark ? (b(), m("div", ht, [C(e.$slots, "watermark", v(_({ isPrinting: T(un) || T(dn) || T(ar) || T(or) })), void 0, !0)])) : p("", !0),
1211
+ h("div", { id: `legend-bottom-${O.value}` }, null, 8, gt),
1212
+ qt.value && (I.value.legend.show || e.$slots.legend) ? (b(), f(Pe, {
1201
1213
  key: 6,
1202
1214
  to: I.value.legend.position === "top" ? `#legend-top-${O.value}` : `#legend-bottom-${O.value}`
1203
1215
  }, [h("div", {
1204
1216
  ref_key: "chartLegend",
1205
- ref: Bt
1206
- }, [C(e.$slots, "legend", { legend: X.value }, () => [I.value.legend.show ? (b(), f(Ae, {
1207
- key: `legend_${Gt.value}`,
1217
+ ref: Vt
1218
+ }, [C(e.$slots, "legend", { legend: X.value }, () => [I.value.legend.show ? (b(), f(je, {
1219
+ key: `legend_${Kt.value}`,
1208
1220
  legendSet: X.value,
1209
- config: Ln.value,
1221
+ config: Bn.value,
1210
1222
  isCursorPointer: L.value,
1211
- onClickMarker: t[0] ||= ({ i: e }) => vn(e)
1212
- }, Pe({
1213
- item: E(({ legend: e, index: t }) => [T($t) ? p("", !0) : (b(), m("div", {
1223
+ onClickMarker: t[0] ||= ({ i: e }) => xn(e)
1224
+ }, Fe({
1225
+ item: E(({ legend: e, index: t }) => [T(en) ? p("", !0) : (b(), m("div", {
1214
1226
  key: 0,
1215
1227
  onClick: (t) => e.segregate(),
1216
1228
  style: y(`opacity:${G.value.includes(t) ? .5 : 1}`)
1217
- }, w(e.display), 13, gt))]),
1218
- legendToggle: E(() => [X.value.length > 2 && I.value.legend.selectAllToggle.show && !T($t) ? (b(), f(Ee, {
1229
+ }, w(e.display), 13, _t))]),
1230
+ legendToggle: E(() => [X.value.length > 2 && I.value.legend.selectAllToggle.show && !T(en) ? (b(), f(De, {
1219
1231
  key: 0,
1220
1232
  backgroundColor: I.value.legend.selectAllToggle.backgroundColor,
1221
1233
  color: I.value.legend.selectAllToggle.color,
1222
1234
  fontSize: I.value.legend.fontSize,
1223
1235
  checked: G.value.length > 0,
1224
1236
  isCursorPointer: L.value,
1225
- onToggle: gn
1237
+ onToggle: yn
1226
1238
  }, null, 8, [
1227
1239
  "backgroundColor",
1228
1240
  "color",
@@ -1233,7 +1245,7 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
1233
1245
  _: 2
1234
1246
  }, [P.value.targetReference.show && P.value.targetReference.showInLegend ? {
1235
1247
  name: "after",
1236
- fn: E(() => [h("div", _t, [h("div", { style: y({
1248
+ fn: E(() => [h("div", vt, [h("div", { style: y({
1237
1249
  display: "flex",
1238
1250
  height: I.value.legend.fontSize
1239
1251
  }) }, [(b(), m("svg", {
@@ -1248,7 +1260,7 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
1248
1260
  "stroke-width": P.value.targetReference.strokeWidth * .7,
1249
1261
  "stroke-dasharray": P.value.targetReference.strokeDasharray * .7,
1250
1262
  "stroke-linecap": "round"
1251
- }, null, 8, vt)], 4))], 4), h("span", null, w(P.value.targetReference.legendLabel), 1)])]),
1263
+ }, null, 8, yt)], 4))], 4), h("span", null, w(P.value.targetReference.legendLabel), 1)])]),
1252
1264
  key: "0"
1253
1265
  } : void 0]), 1032, [
1254
1266
  "legendSet",
@@ -1258,12 +1270,12 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
1258
1270
  e.$slots.source ? (b(), m("div", {
1259
1271
  key: 7,
1260
1272
  ref_key: "source",
1261
- ref: Vt,
1273
+ ref: Ht,
1262
1274
  dir: "auto"
1263
1275
  }, [C(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
1264
- Ie(T(Ct), {
1276
+ Le(T(wt), {
1265
1277
  teleportTo: F.value.teleportTo,
1266
- show: U.value.showTooltip && It.value,
1278
+ show: U.value.showTooltip && Lt.value,
1267
1279
  backgroundColor: F.value.backgroundColor,
1268
1280
  color: F.value.color,
1269
1281
  borderRadius: F.value.borderRadius,
@@ -1275,26 +1287,26 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
1275
1287
  offsetX: F.value.offsetX,
1276
1288
  offsetY: F.value.offsetY,
1277
1289
  parent: k.value,
1278
- content: Lt.value,
1290
+ content: Rt.value,
1279
1291
  isFullscreen: $.value,
1280
1292
  isCustom: F.value.customFormat && typeof F.value.customFormat == "function",
1281
1293
  smooth: F.value.smooth,
1282
1294
  backdropFilter: F.value.backdropFilter,
1283
1295
  smoothForce: F.value.smoothForce,
1284
1296
  smoothSnapThreshold: F.value.smoothSnapThreshold,
1285
- isA11yMode: Xt.value === "keyboard",
1286
- a11yPosition: Yt.value
1297
+ isA11yMode: Zt.value === "keyboard",
1298
+ a11yPosition: Xt.value
1287
1299
  }, {
1288
- "tooltip-before": E(() => [C(e.$slots, "tooltip-before", v(_({ ...zn.value })), void 0, !0)]),
1289
- tooltip: E(() => [C(e.$slots, "tooltip", v(_({ ...zn.value })), void 0, !0)]),
1290
- "tooltip-after": E(() => [!["function"].includes(typeof F.value.customFormat) && !e.$slots.tooltip ? (b(), m("div", yt, [Ie(T(Tt), {
1291
- dataset: Rn.value,
1292
- config: pn.value,
1300
+ "tooltip-before": E(() => [C(e.$slots, "tooltip-before", v(_({ ...Hn.value })), void 0, !0)]),
1301
+ tooltip: E(() => [C(e.$slots, "tooltip", v(_({ ...Hn.value })), void 0, !0)]),
1302
+ "tooltip-after": E(() => [!["function"].includes(typeof F.value.customFormat) && !e.$slots.tooltip ? (b(), m("div", bt, [Le(T(Et), {
1303
+ dataset: Vn.value,
1304
+ config: gn.value,
1293
1305
  backgroundOpacity: 0
1294
1306
  }, {
1295
- "data-label": E(({ bar: e }) => [h("div", bt, [h("span", xt, w(e.name + (F.value.showValue || F.value.showPercentage ? ":" : "")), 1), F.value.showValue || F.value.showPercentage ? (b(), m("span", St, w(e.suffix), 1)) : p("", !0)])]),
1307
+ "data-label": E(({ bar: e }) => [h("div", xt, [h("span", St, w(e.name + (F.value.showValue || F.value.showPercentage ? ":" : "")), 1), F.value.showValue || F.value.showPercentage ? (b(), m("span", Ct, w(e.suffix), 1)) : p("", !0)])]),
1296
1308
  _: 1
1297
- }, 8, ["dataset", "config"])])) : p("", !0), C(e.$slots, "tooltip-after", v(_({ ...zn.value })), void 0, !0)]),
1309
+ }, 8, ["dataset", "config"])])) : p("", !0), C(e.$slots, "tooltip-after", v(_({ ...Hn.value })), void 0, !0)]),
1298
1310
  _: 3
1299
1311
  }, 8, [
1300
1312
  "teleportTo",
@@ -1320,24 +1332,24 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
1320
1332
  "isA11yMode",
1321
1333
  "a11yPosition"
1322
1334
  ]),
1323
- Ft.value && M.value.buttons.table ? (b(), f(He(Xn.value.component), Le({ key: 8 }, Xn.value.props, {
1335
+ It.value && M.value.buttons.table ? (b(), f(Ue($n.value.component), Re({ key: 8 }, $n.value.props, {
1324
1336
  ref_key: "tableUnit",
1325
- ref: qt,
1326
- onClose: Zn
1327
- }), Pe({
1328
- content: E(() => [(b(), f(T(Dt), {
1329
- key: `table_${Wt.value}`,
1337
+ ref: Jt,
1338
+ onClose: er
1339
+ }), Fe({
1340
+ content: E(() => [(b(), f(T(Ot), {
1341
+ key: `table_${Gt.value}`,
1330
1342
  colNames: Z.value.colNames,
1331
1343
  head: Z.value.head,
1332
1344
  body: Z.value.body,
1333
1345
  config: Z.value.config,
1334
- title: j.value.table.useDialog ? "" : Xn.value.title,
1346
+ title: j.value.table.useDialog ? "" : $n.value.title,
1335
1347
  withCloseButton: !j.value.table.useDialog,
1336
1348
  isCursorPointer: L.value,
1337
- onClose: Zn
1349
+ onClose: er
1338
1350
  }, {
1339
- th: E(({ th: e }) => [Fe(w(e.name), 1)]),
1340
- td: E(({ td: e }) => [Fe(w(e), 1)]),
1351
+ th: E(({ th: e }) => [Ie(w(e.name), 1)]),
1352
+ td: E(({ td: e }) => [Ie(w(e), 1)]),
1341
1353
  _: 1
1342
1354
  }, 8, [
1343
1355
  "colNames",
@@ -1351,24 +1363,24 @@ var Ke = /* @__PURE__ */ e({ default: () => Ct }), qe = ["id"], Je = ["id"], Ye
1351
1363
  _: 2
1352
1364
  }, [j.value.table.useDialog ? {
1353
1365
  name: "title",
1354
- fn: E(() => [Fe(w(Xn.value.title), 1)]),
1366
+ fn: E(() => [Ie(w($n.value.title), 1)]),
1355
1367
  key: "0"
1356
1368
  } : void 0, j.value.table.useDialog ? {
1357
1369
  name: "actions",
1358
1370
  fn: E(() => [h("button", {
1359
1371
  tabindex: "0",
1360
1372
  class: "vue-ui-user-options-button",
1361
- onClick: t[1] ||= (e) => Un(M.value.callbacks.csv),
1373
+ onClick: t[1] ||= (e) => Kn(M.value.callbacks.csv),
1362
1374
  style: y({ cursor: L.value ? "pointer" : "default" })
1363
- }, [Ie(T(wt), {
1375
+ }, [Le(T(Tt), {
1364
1376
  name: "fileCsv",
1365
- stroke: Xn.value.props.color
1377
+ stroke: $n.value.props.color
1366
1378
  }, null, 8, ["stroke"])], 4)]),
1367
1379
  key: "1"
1368
1380
  } : void 0]), 1040)) : p("", !0),
1369
- C(e.$slots, "skeleton", {}, () => [T($t) ? (b(), f(ge, { key: 0 })) : p("", !0)], !0)
1370
- ], 46, qe));
1381
+ C(e.$slots, "skeleton", {}, () => [T(en) ? (b(), f(_e, { key: 0 })) : p("", !0)], !0)
1382
+ ], 46, Je));
1371
1383
  }
1372
- }, [["__scopeId", "data-v-c3dd1a7a"]]);
1384
+ }, [["__scopeId", "data-v-27993883"]]);
1373
1385
  //#endregion
1374
- export { Ke as n, Ct as t };
1386
+ export { qe as n, wt as t };