vue-data-ui 3.22.8 → 3.22.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 (169) hide show
  1. package/dist/{BaseDraggableDialog-DcfGlH8A.js → BaseDraggableDialog-Av7Uxq5V.js} +1 -1
  2. package/dist/BaseIcon-UdRAvP2h.js +483 -0
  3. package/dist/{BaseLegendToggle-DtQ8vyfr.js → BaseLegendToggle-DWtet-Hh.js} +1 -1
  4. package/dist/{BaseZoomControls-C6zonwhr.js → BaseZoomControls-BY2KLqs6.js} +1 -1
  5. package/dist/{ColorPicker-CK2-h611.js → ColorPicker-DR_ummtM.js} +1 -1
  6. package/dist/{DataTable-D9NvewTT.js → DataTable-BxpTMgfK.js} +1 -1
  7. package/dist/DefGrad-DVBqDjhO.js +48 -0
  8. package/dist/{NonSvgPenAndPaper-BHHNsVVP.js → NonSvgPenAndPaper-B6EG_Sga.js} +2 -2
  9. package/dist/{PackageVersion-DW7zwRcm.js → PackageVersion-D__dRVRA.js} +1 -1
  10. package/dist/{PenAndPaper-pcgwlYr2.js → PenAndPaper-DsXi7GJ-.js} +2 -2
  11. package/dist/{Slicer-BZ5VnOOS.js → Slicer-CW_XPIKL.js} +359 -354
  12. package/dist/{SlicerPreview-BQFeCw0m.js → SlicerPreview-CTz41lOu.js} +471 -466
  13. package/dist/{UserOptions-16uF1ayB.js → UserOptions-trvJ26nz.js} +1 -1
  14. package/dist/components/vue-ui-3d-bar.js +1 -1
  15. package/dist/components/vue-ui-accordion.js +1 -1
  16. package/dist/components/vue-ui-age-pyramid.js +1 -1
  17. package/dist/components/vue-ui-annotator.js +1 -1
  18. package/dist/components/vue-ui-bullet.js +1 -1
  19. package/dist/components/vue-ui-bump.js +1 -1
  20. package/dist/components/vue-ui-candlestick.js +1 -1
  21. package/dist/components/vue-ui-carousel-table.js +1 -1
  22. package/dist/components/vue-ui-chestnut.js +1 -1
  23. package/dist/components/vue-ui-chord.js +1 -1
  24. package/dist/components/vue-ui-circle-pack.js +1 -1
  25. package/dist/components/vue-ui-cursor.js +1 -1
  26. package/dist/components/vue-ui-dag.js +1 -1
  27. package/dist/components/vue-ui-dashboard.js +1 -1
  28. package/dist/components/vue-ui-digits.js +1 -1
  29. package/dist/components/vue-ui-donut-evolution.js +1 -1
  30. package/dist/components/vue-ui-donut.js +1 -1
  31. package/dist/components/vue-ui-dumbbell.js +1 -1
  32. package/dist/components/vue-ui-flow.js +1 -1
  33. package/dist/components/vue-ui-funnel.js +1 -1
  34. package/dist/components/vue-ui-galaxy.js +1 -1
  35. package/dist/components/vue-ui-gauge.js +1 -1
  36. package/dist/components/vue-ui-geo.js +1 -1
  37. package/dist/components/vue-ui-gizmo.js +1 -1
  38. package/dist/components/vue-ui-heatmap.js +1 -1
  39. package/dist/components/vue-ui-history-plot.js +1 -1
  40. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  41. package/dist/components/vue-ui-icon.js +1 -1
  42. package/dist/components/vue-ui-kpi.js +1 -1
  43. package/dist/components/vue-ui-molecule.js +1 -1
  44. package/dist/components/vue-ui-mood-radar.js +1 -1
  45. package/dist/components/vue-ui-nested-donuts.js +1 -1
  46. package/dist/components/vue-ui-onion.js +1 -1
  47. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  48. package/dist/components/vue-ui-quadrant.js +1 -1
  49. package/dist/components/vue-ui-quick-chart.js +1 -1
  50. package/dist/components/vue-ui-radar.js +1 -1
  51. package/dist/components/vue-ui-rating.js +1 -1
  52. package/dist/components/vue-ui-relation-circle.js +1 -1
  53. package/dist/components/vue-ui-ridgeline.js +1 -1
  54. package/dist/components/vue-ui-rings.js +1 -1
  55. package/dist/components/vue-ui-scatter.js +1 -1
  56. package/dist/components/vue-ui-skeleton.js +1 -1
  57. package/dist/components/vue-ui-smiley.js +1 -1
  58. package/dist/components/vue-ui-spark-trend.js +1 -1
  59. package/dist/components/vue-ui-sparkbar.js +1 -1
  60. package/dist/components/vue-ui-sparkgauge.js +1 -1
  61. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  62. package/dist/components/vue-ui-sparkline.js +1 -1
  63. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  64. package/dist/components/vue-ui-stackbar.js +1 -1
  65. package/dist/components/vue-ui-stackline.js +1 -1
  66. package/dist/components/vue-ui-strip-plot.js +1 -1
  67. package/dist/components/vue-ui-table-heatmap.js +1 -1
  68. package/dist/components/vue-ui-table-sparkline.js +1 -1
  69. package/dist/components/vue-ui-table.js +1 -1
  70. package/dist/components/vue-ui-thermometer.js +1 -1
  71. package/dist/components/vue-ui-timer.js +1 -1
  72. package/dist/components/vue-ui-tiremarks.js +1 -1
  73. package/dist/components/vue-ui-treemap.js +1 -1
  74. package/dist/components/vue-ui-vertical-bar.js +1 -1
  75. package/dist/components/vue-ui-waffle.js +1 -1
  76. package/dist/components/vue-ui-wheel.js +1 -1
  77. package/dist/components/vue-ui-word-cloud.js +1 -1
  78. package/dist/components/vue-ui-world.js +1 -1
  79. package/dist/components/vue-ui-xy-canvas.js +1 -1
  80. package/dist/components/vue-ui-xy.js +1 -1
  81. package/dist/{package-gp9pYCfN.js → package-ByOT60IK.js} +1 -1
  82. package/dist/{render-common-CLn1VXJ9.js → render-common-D18VrP0h.js} +1 -1
  83. package/dist/ssr/vue-ui-donut.js +1 -1
  84. package/dist/ssr/vue-ui-xy.js +1 -1
  85. package/dist/ssr.js +2 -2
  86. package/dist/style.css +1 -1
  87. package/dist/{vue-data-ui-AZZ9Cq-4.js → vue-data-ui-ub3fCh6P.js} +67 -67
  88. package/dist/vue-data-ui.js +67 -67
  89. package/dist/vue-ui-3d-bar-taPI41_I.js +1825 -0
  90. package/dist/{vue-ui-accordion-YyosvEPo.js → vue-ui-accordion-CjAGqEJg.js} +1 -1
  91. package/dist/{vue-ui-age-pyramid-DTAOc7fn.js → vue-ui-age-pyramid-jvQZbF8E.js} +306 -297
  92. package/dist/{vue-ui-annotator-CfJXeAOE.js → vue-ui-annotator-BIucnT0L.js} +3 -3
  93. package/dist/{vue-ui-bullet-CCLnrOLm.js → vue-ui-bullet-CIATzlsk.js} +1 -1
  94. package/dist/{vue-ui-bump-Rq7efdoe.js → vue-ui-bump-D8MxltQE.js} +2 -2
  95. package/dist/{vue-ui-candlestick-D-Z9pEaA.js → vue-ui-candlestick-DULUMU-Q.js} +513 -502
  96. package/dist/{vue-ui-carousel-table-Lx5Zk4dG.js → vue-ui-carousel-table-BSmdexG7.js} +1 -1
  97. package/dist/vue-ui-chestnut-BIh1nQ7q.js +2042 -0
  98. package/dist/{vue-ui-chord-Db1O_diJ.js → vue-ui-chord-DL1M7cgL.js} +1 -1
  99. package/dist/vue-ui-circle-pack-C1Pgq6si.js +1614 -0
  100. package/dist/{vue-ui-cursor-DLP7wxsw.js → vue-ui-cursor-d2uLAKTQ.js} +1 -1
  101. package/dist/{vue-ui-dag-DL3zq0F2.js → vue-ui-dag-CVh9FpZr.js} +2 -2
  102. package/dist/{vue-ui-dashboard-C2ozZ-LI.js → vue-ui-dashboard-BH0N3ebj.js} +65 -65
  103. package/dist/{vue-ui-digits-ThFVNO3l.js → vue-ui-digits-R6wi3J-Y.js} +1 -1
  104. package/dist/{vue-ui-donut-BuTd6dt4.js → vue-ui-donut-BWDeVzLc.js} +1 -1
  105. package/dist/{vue-ui-donut-C3Rt6j-I.js → vue-ui-donut-BoZdciGh.js} +632 -623
  106. package/dist/vue-ui-donut-evolution-CpC9EMro.js +1522 -0
  107. package/dist/{vue-ui-dumbbell-wK7vUB0x.js → vue-ui-dumbbell-DGA5Bfnl.js} +528 -494
  108. package/dist/{vue-ui-flow-BTUNfWb7.js → vue-ui-flow-CNczKwTh.js} +1 -1
  109. package/dist/vue-ui-funnel-CaD2tZCT.js +782 -0
  110. package/dist/{vue-ui-galaxy-DJ2uNYcN.js → vue-ui-galaxy-v3cTbUiM.js} +2 -2
  111. package/dist/vue-ui-gauge-DxvMjfoc.js +926 -0
  112. package/dist/{vue-ui-geo-ovHu_Sc9.js → vue-ui-geo-BgmLkZZ2.js} +2 -2
  113. package/dist/{vue-ui-gizmo-DDxEj-qe.js → vue-ui-gizmo-n1kmcGeE.js} +66 -61
  114. package/dist/{vue-ui-heatmap-Npqnvb1r.js → vue-ui-heatmap-dSTh8ah_.js} +2 -2
  115. package/dist/{vue-ui-history-plot-C3Kjy2tc.js → vue-ui-history-plot-N8BqMFVU.js} +395 -384
  116. package/dist/{vue-ui-horizontal-bar-D1rCsgqt.js → vue-ui-horizontal-bar-CwiQxYzv.js} +360 -354
  117. package/dist/{vue-ui-kpi-BrlfYO-j.js → vue-ui-kpi-BKrUk9o8.js} +1 -1
  118. package/dist/{vue-ui-molecule-CExCqZ08.js → vue-ui-molecule--kK1JfnP.js} +295 -289
  119. package/dist/{vue-ui-mood-radar-DlVh6hwx.js → vue-ui-mood-radar-CpBRHQo_.js} +209 -204
  120. package/dist/{vue-ui-nested-donuts-3TRV8pN-.js → vue-ui-nested-donuts-8Ehwcuns.js} +307 -301
  121. package/dist/{vue-ui-onion-DwKK9DXn.js → vue-ui-onion-Cf6JiYTH.js} +2 -2
  122. package/dist/{vue-ui-parallel-coordinate-plot-DSp_cwU-.js → vue-ui-parallel-coordinate-plot-Blnqp1DB.js} +2 -2
  123. package/dist/{vue-ui-quadrant-ByVg-NBs.js → vue-ui-quadrant-CxU0jiOm.js} +366 -360
  124. package/dist/{vue-ui-quick-chart-WMzSJxGZ.js → vue-ui-quick-chart-BO98uEPl.js} +3 -3
  125. package/dist/{vue-ui-radar-DE-me6OC.js → vue-ui-radar-eH2Qih4_.js} +272 -266
  126. package/dist/{vue-ui-rating-CzD3EQ3G.js → vue-ui-rating-CN-ZiAES.js} +135 -126
  127. package/dist/{vue-ui-relation-circle-L7-dTqet.js → vue-ui-relation-circle-BIcP-aAt.js} +1 -1
  128. package/dist/vue-ui-ridgeline-ChXHzEJw.js +1628 -0
  129. package/dist/{vue-ui-rings-WzWiEo9W.js → vue-ui-rings-J990vNbX.js} +262 -256
  130. package/dist/{vue-ui-scatter-DwrAydha.js → vue-ui-scatter-BeJB0EKg.js} +642 -633
  131. package/dist/{vue-ui-skeleton-CuFm4PtB.js → vue-ui-skeleton-DC2bZ0nk.js} +336 -333
  132. package/dist/{vue-ui-smiley-D4NnZ1mg.js → vue-ui-smiley-Dyyu1je3.js} +111 -98
  133. package/dist/{vue-ui-spark-trend-C38ysZ-c.js → vue-ui-spark-trend-CpDX85H3.js} +158 -153
  134. package/dist/vue-ui-sparkbar-DhIo1qsW.js +398 -0
  135. package/dist/{vue-ui-sparkgauge-DgPc4vPT.js → vue-ui-sparkgauge-D0Fo3Hts.js} +75 -70
  136. package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +576 -0
  137. package/dist/vue-ui-sparkline-ApivEMBP.js +1560 -0
  138. package/dist/{vue-ui-sparkstackbar-DrmiWFlw.js → vue-ui-sparkstackbar-DsKQJx_n.js} +179 -167
  139. package/dist/{vue-ui-stackbar-BVdApDnY.js → vue-ui-stackbar-Ds4hXATH.js} +538 -531
  140. package/dist/vue-ui-stackline-DJbcVvmN.js +2425 -0
  141. package/dist/{vue-ui-strip-plot-C-TFNvgz.js → vue-ui-strip-plot-C3ZHf4bD.js} +368 -361
  142. package/dist/{vue-ui-table-heatmap-D0pZbBOH.js → vue-ui-table-heatmap-CNXNXXBU.js} +1 -1
  143. package/dist/{vue-ui-table-sparkline-Q6BHPKUn.js → vue-ui-table-sparkline-B9JJ4pFF.js} +1 -1
  144. package/dist/{vue-ui-table-Q3brrivC.js → vue-ui-table-uudidrYt.js} +4 -4
  145. package/dist/vue-ui-thermometer-Bvw3oQb3.js +770 -0
  146. package/dist/{vue-ui-timer-BdzKpoRj.js → vue-ui-timer-5NAWw5BN.js} +91 -86
  147. package/dist/{vue-ui-tiremarks-DWb69ofh.js → vue-ui-tiremarks-Caz_g1c5.js} +1 -1
  148. package/dist/{vue-ui-treemap-uUz07Prw.js → vue-ui-treemap-F9upPyOI.js} +458 -453
  149. package/dist/{vue-ui-waffle-Pi9e7Ae7.js → vue-ui-waffle-Bk9AsrPp.js} +296 -290
  150. package/dist/{vue-ui-wheel-DTfvWYA7.js → vue-ui-wheel-DD6Q39BA.js} +1 -1
  151. package/dist/{vue-ui-word-cloud-DqfljAqH.js → vue-ui-word-cloud-BZLT5svo.js} +2 -2
  152. package/dist/{vue-ui-world-BtBrH92Z.js → vue-ui-world-DbEJN5NA.js} +284 -273
  153. package/dist/{vue-ui-xy-Bvgy2do1.js → vue-ui-xy-BYMAITk_.js} +1294 -1268
  154. package/dist/{vue-ui-xy-D5KsuNR2.js → vue-ui-xy-Cn9Q8YPr.js} +1 -1
  155. package/dist/{vue-ui-xy-canvas-BfgeE3TW.js → vue-ui-xy-canvas-Dcm2ftwm.js} +5 -5
  156. package/package.json +1 -1
  157. package/dist/BaseIcon-C2qlyHc7.js +0 -502
  158. package/dist/vue-ui-3d-bar-B3HxJmDI.js +0 -1757
  159. package/dist/vue-ui-chestnut-RfWMGUD-.js +0 -2010
  160. package/dist/vue-ui-circle-pack-B4Ro7UuI.js +0 -1608
  161. package/dist/vue-ui-donut-evolution-DY46UPF_.js +0 -1510
  162. package/dist/vue-ui-funnel-BhoHzyHa.js +0 -777
  163. package/dist/vue-ui-gauge-Cf4NqvrO.js +0 -920
  164. package/dist/vue-ui-ridgeline-Cp3YP0xe.js +0 -1622
  165. package/dist/vue-ui-sparkbar-B03ndcUe.js +0 -393
  166. package/dist/vue-ui-sparkhistogram-D02ff7ZI.js +0 -560
  167. package/dist/vue-ui-sparkline-DlTfNQj8.js +0 -1547
  168. package/dist/vue-ui-stackline-QzQQ7lTy.js +0 -2419
  169. package/dist/vue-ui-thermometer-Bg0RR6m4.js +0 -763
@@ -11,35 +11,36 @@ import { n as xe } from "./Title-CcNiYzEo.js";
11
11
  import { t as Se } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
12
  import { c as Ce } from "./canvas-lib-BOP_HS11.js";
13
13
  import { t as we } from "./useResponsive-BfnK0KxU.js";
14
- import { t as Te } from "./BaseLegendToggle-DtQ8vyfr.js";
15
- import { t as Ee } from "./A11yDataTable-DdRsVULz.js";
16
- import { t as De } from "./useUserOptionState-DK-_1ddE.js";
17
- import { t as Oe } from "./useChartAccessibility-DYqac8yF.js";
18
- import { t as ke } from "./Legend-ROt6ugzW.js";
19
- import { t as Ae } from "./useAutoSizeLabelsInsideViewbox-BGnDfZdg.js";
20
- import { t as je } from "./vue_ui_radar-jafTED5j.js";
21
- import { Fragment as l, Teleport as Me, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as Ne, createTextVNode as Pe, createVNode as Fe, defineAsyncComponent as h, guardReactiveProps as g, mergeProps as Ie, nextTick as Le, normalizeClass as _, normalizeProps as v, normalizeStyle as y, onBeforeUnmount as Re, onMounted as ze, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as Be, shallowRef as Ve, toDisplayString as w, toRefs as He, unref as T, watch as Ue, withCtx as E } from "vue";
14
+ import { t as Te } from "./DefGrad-DVBqDjhO.js";
15
+ import { t as Ee } from "./BaseLegendToggle-DWtet-Hh.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-ROt6ugzW.js";
20
+ import { t as je } from "./useAutoSizeLabelsInsideViewbox-BGnDfZdg.js";
21
+ import { t as Me } from "./vue_ui_radar-jafTED5j.js";
22
+ import { Fragment as l, Teleport as Ne, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as Pe, createTextVNode as Fe, createVNode as Ie, defineAsyncComponent as h, guardReactiveProps as g, mergeProps as Le, nextTick as Re, normalizeClass as _, normalizeProps as v, normalizeStyle as y, onBeforeUnmount as ze, onMounted as Be, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as Ve, shallowRef as He, toDisplayString as w, toRefs as Ue, unref as T, watch as We, withCtx as E } from "vue";
22
23
  //#region src/components/vue-ui-radar.vue
23
- var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe = ["id"], Je = { style: { position: "relative" } }, Ye = [
24
+ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je = ["id"], Ye = { style: { position: "relative" } }, Xe = [
24
25
  "xmlns",
25
26
  "aria-describedby",
26
27
  "viewBox"
27
- ], Xe = ["width", "height"], Ze = ["id"], Qe = ["stop-color"], $e = ["stop-color"], et = { key: 1 }, tt = [
28
+ ], Ze = ["width", "height"], Qe = { key: 1 }, $e = [
28
29
  "x1",
29
30
  "y1",
30
31
  "x2",
31
32
  "y2",
32
33
  "stroke",
33
34
  "stroke-width"
34
- ], nt = { key: 0 }, rt = [
35
+ ], et = { key: 0 }, tt = [
35
36
  "d",
36
37
  "stroke",
37
38
  "stroke-width"
38
- ], it = [
39
+ ], nt = [
39
40
  "d",
40
41
  "stroke",
41
42
  "stroke-width"
42
- ], at = { key: 2 }, ot = [
43
+ ], rt = { key: 2 }, it = [
43
44
  "x",
44
45
  "y",
45
46
  "text-anchor",
@@ -48,27 +49,27 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
48
49
  "onMouseenter",
49
50
  "onMouseleave",
50
51
  "onClick"
51
- ], st = [
52
+ ], at = [
52
53
  "points",
53
54
  "stroke",
54
55
  "stroke-width"
55
- ], ct = [
56
+ ], ot = [
56
57
  "points",
57
58
  "stroke",
58
59
  "stroke-width",
59
60
  "fill"
60
- ], lt = [
61
+ ], st = [
61
62
  "d",
62
63
  "stroke",
63
64
  "stroke-width",
64
65
  "stroke-dasharray"
65
- ], ut = { key: 4 }, dt = [
66
+ ], ct = { key: 4 }, lt = [
66
67
  "cx",
67
68
  "cy",
68
69
  "fill",
69
70
  "r",
70
71
  "stroke"
71
- ], ft = {
72
+ ], ut = {
72
73
  key: 0,
73
74
  style: {
74
75
  position: "absolute",
@@ -78,23 +79,23 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
78
79
  },
79
80
  "data-dom-to-png-ignore": "",
80
81
  "aria-hidden": "true"
81
- }, pt = {
82
+ }, dt = {
82
83
  key: 5,
83
84
  class: "vue-data-ui-watermark"
84
- }, mt = ["id"], ht = ["onClick"], gt = { class: "vue-data-ui-legend-item" }, _t = [
85
+ }, ft = ["id"], pt = ["onClick"], mt = { class: "vue-data-ui-legend-item" }, ht = [
85
86
  "stroke",
86
87
  "stroke-width",
87
88
  "stroke-dasharray"
88
- ], vt = {
89
+ ], gt = {
89
90
  key: 0,
90
91
  style: {
91
92
  "max-width": "200px",
92
93
  margin: "0 auto"
93
94
  }
94
- }, yt = {
95
+ }, _t = {
95
96
  class: "vue-ui-radar-tooltip-datalabel",
96
97
  style: { width: "100%" }
97
- }, bt = { class: "vue-ui-radar-tooltip-datalabel-name" }, xt = { key: 0 }, St = /*#__PURE__*/ Se({
98
+ }, vt = { class: "vue-ui-radar-tooltip-datalabel-name" }, yt = { key: 0 }, bt = /*#__PURE__*/ Se({
98
99
  __name: "vue-ui-radar",
99
100
  props: {
100
101
  config: {
@@ -111,11 +112,11 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
111
112
  }
112
113
  },
113
114
  emits: ["selectLegend", "copyAlt"],
114
- setup(e, { expose: Se, emit: We }) {
115
- let St = h(() => import("./Tooltip-CxOrWlFy.js")), Ct = h(() => import("./BaseIcon-C2qlyHc7.js").then((e) => e.n)), wt = h(() => import("./vue-ui-sparkbar-B03ndcUe.js").then((e) => e.n)), Tt = h(() => import("./vue-ui-accordion-YyosvEPo.js").then((e) => e.n)), Et = h(() => import("./DataTable-D9NvewTT.js")), Dt = h(() => import("./PenAndPaper-pcgwlYr2.js").then((e) => e.t)), Ot = h(() => import("./UserOptions-16uF1ayB.js").then((e) => e.n)), kt = h(() => import("./PackageVersion-DW7zwRcm.js").then((e) => e.t)), At = h(() => import("./BaseDraggableDialog-DcfGlH8A.js").then((e) => e.n)), { vue_ui_radar: jt } = pe(), { isThemeValid: Mt, warnInvalidTheme: Nt } = ye(), D = e, Pt = u(() => !!D.dataset && Object.keys(D.dataset).length), O = x(r()), k = x(!1), Ft = x(""), It = x(0), A = x(null), Lt = x(null), Rt = x(null), zt = x(null), Bt = x(null), Vt = x(0), Ht = x(0), Ut = x(0), Wt = x(!1), j = x(null), Gt = x(null), Kt = x(!1), qt = x(!1), M = x(null), Jt = x({
115
+ setup(e, { expose: Se, emit: Ge }) {
116
+ let bt = h(() => import("./Tooltip-CxOrWlFy.js")), xt = h(() => import("./BaseIcon-UdRAvP2h.js").then((e) => e.n)), St = h(() => import("./vue-ui-sparkbar-DhIo1qsW.js").then((e) => e.n)), Ct = h(() => import("./vue-ui-accordion-CjAGqEJg.js").then((e) => e.n)), wt = h(() => import("./DataTable-BxpTMgfK.js")), Tt = h(() => import("./PenAndPaper-DsXi7GJ-.js").then((e) => e.t)), Et = h(() => import("./UserOptions-trvJ26nz.js").then((e) => e.n)), Dt = h(() => import("./PackageVersion-D__dRVRA.js").then((e) => e.t)), Ot = h(() => import("./BaseDraggableDialog-Av7Uxq5V.js").then((e) => e.n)), { vue_ui_radar: kt } = pe(), { isThemeValid: At, warnInvalidTheme: jt } = ye(), D = e, Mt = u(() => !!D.dataset && Object.keys(D.dataset).length), O = x(r()), k = x(!1), Nt = x(""), Pt = x(0), A = x(null), Ft = x(null), It = x(null), Lt = x(null), Rt = x(null), zt = x(0), Bt = x(0), Vt = x(0), Ht = x(!1), j = x(null), Ut = x(null), Wt = x(!1), Gt = x(!1), M = x(null), Kt = x({
116
117
  x: 0,
117
118
  y: 0
118
- }), N = x("pointer"), Yt = x(!1), P = x(tn()), F = u(() => P.value.userOptions.useCursorPointer), Xt = u(() => a({
119
+ }), N = x("pointer"), qt = x(!1), P = x($t()), F = u(() => P.value.userOptions.useCursorPointer), Jt = u(() => a({
119
120
  defaultConfig: {
120
121
  userOptions: { show: !1 },
121
122
  table: { show: !1 },
@@ -131,13 +132,13 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
131
132
  } }
132
133
  },
133
134
  userConfig: P.value.skeletonConfig ?? {}
134
- })), { loading: Zt, FINAL_DATASET: I } = he({
135
- ...He(D),
135
+ })), { loading: Yt, FINAL_DATASET: I } = he({
136
+ ...Ue(D),
136
137
  FINAL_CONFIG: P,
137
- prepareConfig: tn,
138
+ prepareConfig: $t,
138
139
  callback: () => {
139
140
  Promise.resolve().then(async () => {
140
- await Le(), V.value.showTable = P.value.table.show;
141
+ await Re(), V.value.showTable = P.value.table.show;
141
142
  });
142
143
  },
143
144
  skeletonDataset: D.config?.skeletonDataset ?? {
@@ -180,18 +181,18 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
180
181
  },
181
182
  skeletonConfig: a({
182
183
  defaultConfig: P.value,
183
- userConfig: Xt.value
184
+ userConfig: Jt.value
184
185
  })
185
- }), { userOptionsVisible: Qt, setUserOptionsVisibility: $t, keepUserOptionState: en } = De({ config: P.value }), { svgRef: L } = Oe({ config: P.value.style.chart.title });
186
- function tn() {
186
+ }), { userOptionsVisible: Xt, setUserOptionsVisibility: Zt, keepUserOptionState: Qt } = Oe({ config: P.value }), { svgRef: L } = ke({ config: P.value.style.chart.title });
187
+ function $t() {
187
188
  let e = ve({
188
189
  userConfig: D.config,
189
- defaultConfig: jt
190
+ defaultConfig: kt
190
191
  }), t = e.theme;
191
192
  if (!t) return e;
192
- if (!Mt.value(e)) return Nt(e), e;
193
+ if (!At.value(e)) return jt(e), e;
193
194
  let n = ve({
194
- userConfig: je[t] || D.config,
195
+ userConfig: Me[t] || D.config,
195
196
  defaultConfig: e
196
197
  }), r = ve({
197
198
  userConfig: D.config,
@@ -202,11 +203,11 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
202
203
  customPalette: r.customPalette.length ? r.customPalette : ne[t] || o
203
204
  };
204
205
  }
205
- Ue(() => D.config, (e) => {
206
- P.value = tn(), Qt.value = !P.value.userOptions.showOnChartHover, nn(), Vt.value += 1, Ht.value += 1, Ut.value += 1, V.value.dataLabels.show = P.value.style.chart.layout.labels.dataLabels.show, V.value.showTable = P.value.table.show, V.value.showTooltip = P.value.style.chart.tooltip ? P.value.style.chart.tooltip.show : !1;
206
+ We(() => D.config, (e) => {
207
+ P.value = $t(), Xt.value = !P.value.userOptions.showOnChartHover, en(), zt.value += 1, Bt.value += 1, Vt.value += 1, V.value.dataLabels.show = P.value.style.chart.layout.labels.dataLabels.show, V.value.showTable = P.value.table.show, V.value.showTooltip = P.value.style.chart.tooltip ? P.value.style.chart.tooltip.show : !1;
207
208
  }, { deep: !0 });
208
- let R = Ve(null), z = Ve(null), B = u(() => P.value.debug);
209
- function nn() {
209
+ let R = He(null), z = He(null), B = u(() => P.value.debug);
210
+ function en() {
210
211
  if (se(D.dataset) && t({
211
212
  componentName: "VueUiRadar",
212
213
  type: "dataset",
@@ -215,33 +216,33 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
215
216
  let e = Ce(() => {
216
217
  let { width: e, height: t } = we({
217
218
  chart: A.value,
218
- title: P.value.style.chart.title.text ? Lt.value : null,
219
- legend: P.value.style.chart.legend.show ? Rt.value : null,
220
- source: zt.value,
221
- noTitle: Bt.value
219
+ title: P.value.style.chart.title.text ? Ft.value : null,
220
+ legend: P.value.style.chart.legend.show ? It.value : null,
221
+ source: Lt.value,
222
+ noTitle: Rt.value
222
223
  });
223
224
  requestAnimationFrame(() => {
224
- H.value.width = e, H.value.height = t, kn();
225
+ H.value.width = e, H.value.height = t, Dn();
225
226
  });
226
227
  });
227
228
  R.value && (z.value && R.value.unobserve(z.value), R.value.disconnect()), R.value = new ResizeObserver(e), z.value = A.value.parentNode, R.value.observe(z.value);
228
229
  }
229
- kn();
230
+ Dn();
230
231
  }
231
- ze(() => {
232
- Wt.value = !0, nn();
233
- }), Re(() => {
232
+ Be(() => {
233
+ Ht.value = !0, en();
234
+ }), ze(() => {
234
235
  R.value && (z.value && R.value.unobserve(z.value), R.value.disconnect());
235
236
  });
236
- let { isPrinting: rn, isImaging: an, generatePdf: on, generateImage: sn } = me({
237
+ let { isPrinting: tn, isImaging: nn, generatePdf: rn, generateImage: an } = me({
237
238
  elementId: `vue-ui-radar_${O.value}`,
238
239
  fileName: P.value.style.chart.title.text || "vue-ui-radar",
239
240
  options: P.value.userOptions.print
240
- }), cn = u(() => P.value.userOptions.show && !P.value.style.chart.title.text), ln = u(() => ee(P.value.customPalette)), V = x({
241
+ }), on = u(() => P.value.userOptions.show && !P.value.style.chart.title.text), sn = u(() => ee(P.value.customPalette)), V = x({
241
242
  dataLabels: { show: P.value.style.chart.layout.labels.dataLabels.show },
242
243
  showTable: P.value.table.show,
243
244
  showTooltip: P.value.style.chart.tooltip.show
244
- }), un = u(() => ({ style: {
245
+ }), cn = u(() => ({ style: {
245
246
  backgroundColor: "#FFFFFF00",
246
247
  animation: {
247
248
  show: P.value.style.chart.tooltip.animation.show,
@@ -258,34 +259,34 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
258
259
  } })), H = x({
259
260
  height: 312,
260
261
  width: 512
261
- }), dn = We, U = x([]), W = x(null), G = x(!1);
262
- function fn() {
262
+ }), ln = Ge, U = x([]), W = x(null), G = x(!1);
263
+ function un() {
263
264
  U.value.length ? U.value = [] : Y.value.forEach((e, t) => {
264
265
  U.value.push(t);
265
- }), pn();
266
+ }), dn();
266
267
  }
267
- function pn() {
268
- dn("selectLegend", Y.value.filter((e, t) => !U.value.includes(t)).map((e) => ({
268
+ function dn() {
269
+ ln("selectLegend", Y.value.filter((e, t) => !U.value.includes(t)).map((e) => ({
269
270
  name: e.name,
270
271
  color: e.color,
271
272
  proportion: e.totalProportion
272
273
  })));
273
274
  }
274
- function mn(e) {
275
+ function fn(e) {
275
276
  G.value = !0, U.value.includes(e) ? (W.value = e, U.value = U.value.filter((t) => t !== e), setTimeout(() => {
276
277
  G.value = !1, W.value = null;
277
278
  }, 500)) : (U.value.push(e), setTimeout(() => {
278
279
  G.value = !1;
279
- }, 500)), pn();
280
+ }, 500)), dn();
280
281
  }
281
- function hn() {
282
+ function pn() {
282
283
  return Y.value.map((e) => ({
283
284
  name: e.name,
284
285
  color: e.color,
285
286
  proportion: e.totalProportion
286
287
  }));
287
288
  }
288
- function gn() {
289
+ function mn() {
289
290
  let e = I.value;
290
291
  if ([null, void 0].includes(e?.categories)) {
291
292
  t({
@@ -343,12 +344,12 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
343
344
  });
344
345
  });
345
346
  }
346
- Ue(() => I.value, () => gn(), {
347
+ We(() => I.value, () => mn(), {
347
348
  deep: !0,
348
349
  immediate: !0
349
350
  });
350
351
  let K = u(() => {
351
- let e = Array.isArray(I.value?.categories) ? I.value.categories : [], t = ln.value ?? o;
352
+ let e = Array.isArray(I.value?.categories) ? I.value.categories : [], t = sn.value ?? o;
352
353
  return e.map((e, n) => ({
353
354
  name: e?.name ?? "",
354
355
  categoryId: `radar_category_${O.value}_${n}`,
@@ -358,54 +359,54 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
358
359
  }));
359
360
  }), q = u(() => I.value.series.map((e, t) => ({
360
361
  ...e,
361
- color: ie(e.color) || ln.value[t] || o[t] || o[t % o.length],
362
+ color: ie(e.color) || sn.value[t] || o[t] || o[t % o.length],
362
363
  serieId: `radar_serie_${O.value}_${t}`,
363
364
  formatter: e.formatter || null,
364
365
  absoluteIndex: t
365
366
  })));
366
- function _n(e) {
367
+ function hn(e) {
367
368
  return q.value.length ? Y.value.find((t) => t.name === e) || (P.value.debug && console.warn(`VueUiRadar - Series name not found "${e}"`), null) : (P.value.debug && console.warn("VueUiRadar - There are no series to show."), null);
368
369
  }
369
- function vn(e) {
370
- let t = _n(e);
371
- t !== null && U.value.includes(t.absoluteIndex) && mn(t.absoluteIndex);
370
+ function gn(e) {
371
+ let t = hn(e);
372
+ t !== null && U.value.includes(t.absoluteIndex) && fn(t.absoluteIndex);
372
373
  }
373
- function yn(e) {
374
- let t = _n(e);
375
- t !== null && (U.value.includes(t.absoluteIndex) || mn(t.absoluteIndex));
374
+ function _n(e) {
375
+ let t = hn(e);
376
+ t !== null && (U.value.includes(t.absoluteIndex) || fn(t.absoluteIndex));
376
377
  }
377
- let bn = u(() => Math.max(0, ...q.value.flatMap((e) => e.values)));
378
- function xn(e) {
379
- return P.value.style.chart.layout.scaleToAxisMax ? Math.max(1, e.target || 0, ...e.values) : e.target || bn.value || 1;
378
+ let vn = u(() => Math.max(0, ...q.value.flatMap((e) => e.values)));
379
+ function yn(e) {
380
+ return P.value.style.chart.layout.scaleToAxisMax ? Math.max(1, e.target || 0, ...e.values) : e.target || vn.value || 1;
380
381
  }
381
- let Sn = u(() => q.value.map((e, t) => {
382
- let n = Tn.value.coordinates[t];
383
- return An({
382
+ let bn = u(() => q.value.map((e, t) => {
383
+ let n = Cn.value.coordinates[t];
384
+ return On({
384
385
  centerX: H.value.width / 2,
385
386
  centerY: H.value.height / 2,
386
387
  apexX: n.x,
387
388
  apexY: n.y,
388
- proportion: (e.target || 0) / xn(e)
389
+ proportion: (e.target || 0) / yn(e)
389
390
  });
390
- })), Cn = u(() => q.value.length), wn = u(() => Math.min(H.value.width, H.value.height) / 3), Tn = u(() => n({
391
+ })), xn = u(() => q.value.length), Sn = u(() => Math.min(H.value.width, H.value.height) / 3), Cn = u(() => n({
391
392
  plot: {
392
393
  x: H.value.width / 2,
393
394
  y: H.value.height / 2
394
395
  },
395
- radius: wn.value,
396
- sides: Cn.value,
396
+ radius: Sn.value,
397
+ sides: xn.value,
397
398
  rotation: 0
398
- })), En = u(() => {
399
+ })), wn = u(() => {
399
400
  let e = [];
400
- for (let t = 0; t < wn.value; t += wn.value / P.value.style.chart.layout.grid.graduations) e.push(t);
401
+ for (let t = 0; t < Sn.value; t += Sn.value / P.value.style.chart.layout.grid.graduations) e.push(t);
401
402
  return e;
402
- }), J = u(() => Tn.value.coordinates.map((e, t) => {
403
- let n = q.value[t], r = q.value[t].values.map((t) => An({
403
+ }), J = u(() => Cn.value.coordinates.map((e, t) => {
404
+ let n = q.value[t], r = q.value[t].values.map((t) => On({
404
405
  centerX: H.value.width / 2,
405
406
  centerY: H.value.height / 2,
406
407
  apexX: e.x,
407
408
  apexY: e.y,
408
- proportion: t / xn(n)
409
+ proportion: t / yn(n)
409
410
  }));
410
411
  return {
411
412
  ...e,
@@ -414,11 +415,11 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
414
415
  };
415
416
  }).map((e) => ({
416
417
  ...e,
417
- labelX: Dn(e).x,
418
- labelY: Dn(e).y,
419
- labelAnchor: Dn(e).anchor
418
+ labelX: Tn(e).x,
419
+ labelY: Tn(e).y,
420
+ labelAnchor: Tn(e).anchor
420
421
  })));
421
- function Dn({ x: e, y: t }) {
422
+ function Tn({ x: e, y: t }) {
422
423
  let n = "middle";
423
424
  return e = Math.round(e), t = Math.round(t), e > H.value.width / 2 && (e += 12, n = "start"), e < H.value.width / 2 && (e -= 12, n = "end"), t > H.value.height / 2 + 1 && (t += 20), t < H.value.height / 2 - 1 && (t -= 12), t === H.value.height / 2 && (t += 4), {
424
425
  x: e,
@@ -426,24 +427,24 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
426
427
  anchor: n
427
428
  };
428
429
  }
429
- let On = u({
430
+ let En = u({
430
431
  get: () => P.value.style.chart.layout.labels.dataLabels.fontSize,
431
432
  set: (e) => e
432
- }), { autoSizeLabels: kn } = Ae({
433
+ }), { autoSizeLabels: Dn } = je({
433
434
  svgRef: L,
434
435
  fontSize: P.value.style.chart.layout.labels.dataLabels.fontSize,
435
436
  minFontSize: 6,
436
- sizeRef: On,
437
+ sizeRef: En,
437
438
  labelClass: ".vue-ui-radar-apex-label"
438
439
  });
439
- function An({ centerX: e, centerY: t, apexX: n, apexY: r, proportion: i }) {
440
+ function On({ centerX: e, centerY: t, apexX: n, apexY: r, proportion: i }) {
440
441
  return {
441
442
  x: e + (n - e) * i,
442
443
  y: t + (r - t) * i
443
444
  };
444
445
  }
445
446
  let Y = u(() => {
446
- let e = q.value.map((e, t) => e.values.map((t) => t / (e.target || bn.value)));
447
+ let e = q.value.map((e, t) => e.values.map((t) => t / (e.target || vn.value)));
447
448
  return K.value.map((t, n) => {
448
449
  let r = ue(e.map((e) => e[n]).reduce((e, t) => e + t, 0) / q.value.length);
449
450
  return {
@@ -452,7 +453,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
452
453
  totalProportion: r,
453
454
  shape: "circle",
454
455
  opacity: U.value.includes(n) ? .5 : 1,
455
- segregate: () => mn(n),
456
+ segregate: () => fn(n),
456
457
  isSegregated: U.value.includes(n),
457
458
  display: `${t.name}: ${i({
458
459
  v: (r ?? 0) * 100,
@@ -461,7 +462,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
461
462
  })}`
462
463
  };
463
464
  });
464
- }), jn = u(() => ({
465
+ }), kn = u(() => ({
465
466
  cy: "radar-div-legend",
466
467
  backgroundColor: P.value.style.chart.legend.backgroundColor,
467
468
  color: P.value.style.chart.legend.color,
@@ -516,26 +517,26 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
516
517
  },
517
518
  colNames: e
518
519
  };
519
- }), Z = x(null), Mn = x([]), Nn = x(null);
520
- function Pn(e, t) {
520
+ }), Z = x(null), An = x([]), jn = x(null);
521
+ function Mn(e, t) {
521
522
  k.value = !1, Z.value = null, M.value = null, N.value = "pointer", P.value.events.datapointLeave && P.value.events.datapointLeave({
522
523
  datapoint: e,
523
524
  seriesIndex: t
524
525
  });
525
526
  }
526
- function Fn(e, t) {
527
+ function Nn(e, t) {
527
528
  P.value.events.datapointClick && P.value.events.datapointClick({
528
529
  datapoint: e,
529
530
  seriesIndex: t
530
531
  });
531
532
  }
532
- function In(e, t, n = "pointer") {
533
+ function Pn(e, t, n = "pointer") {
533
534
  P.value.events.datapointEnter && P.value.events.datapointEnter({
534
535
  datapoint: e,
535
536
  seriesIndex: t
536
537
  }), N.value = n, M.value = t;
537
538
  let r = K.value.slice();
538
- Mn.value = [], Z.value = t, k.value = !0, Nn.value = {
539
+ An.value = [], Z.value = t, k.value = !0, jn.value = {
539
540
  datapoint: e,
540
541
  seriesIndex: t,
541
542
  series: {
@@ -556,7 +557,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
556
557
  },
557
558
  config: P.value
558
559
  }))) {
559
- Ft.value = a({
560
+ Nt.value = a({
560
561
  seriesIndex: t,
561
562
  datapoint: e,
562
563
  series: {
@@ -568,7 +569,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
568
569
  });
569
570
  return;
570
571
  }
571
- Ft.value = `<div style="width:100%;text-align:center;border-bottom:1px solid ${P.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`;
572
+ Nt.value = `<div style="width:100%;text-align:center;border-bottom:1px solid ${P.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`;
572
573
  for (let t = 0; t < e.values.length; t += 1) if (!U.value.includes(t)) {
573
574
  let n = r[t], a = e.values[t], o = isNaN(a / e.target) ? 0 : a / e.target * 100, s = oe(e.formatter, a, i({
574
575
  p: K.value[t].prefix,
@@ -580,7 +581,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
580
581
  s: "%",
581
582
  r: P.value.style.chart.tooltip.roundingPercentage
582
583
  }), ee = P.value.style.chart.tooltip.showValue && P.value.style.chart.tooltip.showPercentage ? `${s} (${c})` : P.value.style.chart.tooltip.showValue && !P.value.style.chart.tooltip.showPercentage ? s : !P.value.style.chart.tooltip.showValue && P.value.style.chart.tooltip.showPercentage ? `${c}` : "";
583
- Mn.value.push({
584
+ An.value.push({
584
585
  name: n?.name ?? `#${t + 1}`,
585
586
  value: e.values[t] / e.target * 100,
586
587
  color: n?.color,
@@ -591,8 +592,8 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
591
592
  });
592
593
  }
593
594
  }
594
- function Ln(e = null) {
595
- Le(() => {
595
+ function Fn(e = null) {
596
+ Re(() => {
596
597
  let t = [
597
598
  [P.value.style.chart.title.text],
598
599
  [P.value.style.chart.title.subtitle.text],
@@ -613,20 +614,20 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
613
614
  });
614
615
  }
615
616
  let Q = x(!1);
616
- function Rn(e) {
617
- Q.value = e, It.value += 1;
617
+ function In(e) {
618
+ Q.value = e, Pt.value += 1;
618
619
  }
619
- function zn() {
620
+ function Ln() {
620
621
  V.value.showTable = !V.value.showTable;
621
622
  }
622
- function Bn() {
623
+ function Rn() {
623
624
  V.value.showTooltip = !V.value.showTooltip;
624
625
  }
625
626
  let $ = x(!1);
626
- function Vn() {
627
+ function zn() {
627
628
  $.value = !$.value;
628
629
  }
629
- async function Hn({ scale: e = 2 } = {}) {
630
+ async function Bn({ scale: e = 2 } = {}) {
630
631
  if (!A.value) return;
631
632
  let { width: t, height: n } = A.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await be({
632
633
  domElement: A.value,
@@ -643,10 +644,10 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
643
644
  aspectRatio: r
644
645
  };
645
646
  }
646
- let Un = u(() => {
647
+ let Vn = u(() => {
647
648
  let e = P.value.table.useDialog && !P.value.table.show, t = V.value.showTable;
648
649
  return {
649
- component: e ? At : Tt,
650
+ component: e ? Ot : Ct,
650
651
  title: `${P.value.style.chart.title.text}${P.value.style.chart.title.subtitle.text ? `: ${P.value.style.chart.title.subtitle.text}` : ""}`,
651
652
  props: e ? {
652
653
  backgroundColor: P.value.table.th.backgroundColor,
@@ -674,51 +675,51 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
674
675
  }
675
676
  };
676
677
  });
677
- Ue(() => V.value.showTable, (e) => {
678
+ We(() => V.value.showTable, (e) => {
678
679
  P.value.table.show || (e && P.value.table.useDialog && j.value ? j.value.open() : "close" in j.value && j.value.close());
679
680
  });
680
- function Wn() {
681
- V.value.showTable = !1, Gt.value && Gt.value.setTableIconState(!1);
681
+ function Hn() {
682
+ V.value.showTable = !1, Ut.value && Ut.value.setTableIconState(!1);
682
683
  }
683
- let Gn = u(() => Y.value.map((e) => ({
684
+ let Un = u(() => Y.value.map((e) => ({
684
685
  ...e,
685
686
  name: e.display
686
- }))), Kn = u(() => P.value.style.chart.backgroundColor), qn = u(() => P.value.style.chart.legend), { exportSvg: Jn, getSvg: Yn } = _e({
687
+ }))), Wn = u(() => P.value.style.chart.backgroundColor), Gn = u(() => P.value.style.chart.legend), { exportSvg: Kn, getSvg: qn } = _e({
687
688
  svg: L,
688
689
  title: u(() => P.value.style.chart.title),
689
- legend: qn,
690
- legendItems: Gn,
691
- backgroundColor: Kn
690
+ legend: Gn,
691
+ legendItems: Un,
692
+ backgroundColor: Wn
692
693
  });
693
- async function Xn({ isCb: e }) {
694
- qt.value = !0, await Le();
694
+ async function Jn({ isCb: e }) {
695
+ Gt.value = !0, await Re();
695
696
  try {
696
697
  if (e) {
697
- let { blob: e, url: t, text: n, dataUrl: r } = await Yn();
698
+ let { blob: e, url: t, text: n, dataUrl: r } = await qn();
698
699
  await Promise.resolve(P.value.userOptions.callbacks.svg({
699
700
  blob: e,
700
701
  url: t,
701
702
  text: n,
702
703
  dataUrl: r
703
704
  }));
704
- } else await Promise.resolve(Jn());
705
+ } else await Promise.resolve(Kn());
705
706
  } finally {
706
- qt.value = !1;
707
+ Gt.value = !1;
707
708
  }
708
709
  }
709
- function Zn(e) {
710
+ function Yn(e) {
710
711
  if (e?.stage === "start") {
711
- Kt.value = !0;
712
+ Wt.value = !0;
712
713
  return;
713
714
  }
714
715
  if (e?.stage === "end") {
715
- Kt.value = !1;
716
+ Wt.value = !1;
716
717
  return;
717
718
  }
718
- sn();
719
+ an();
719
720
  }
720
- async function Qn() {
721
- if (dn("copyAlt", {
721
+ async function Xn() {
722
+ if (ln("copyAlt", {
722
723
  config: P.value,
723
724
  dataset: J.value
724
725
  }), !P.value.userOptions.callbacks.altCopy) {
@@ -730,23 +731,23 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
730
731
  dataset: J.value
731
732
  }));
732
733
  }
733
- function $n() {
734
- M.value = null, Yt.value = !0;
734
+ function Zn() {
735
+ M.value = null, qt.value = !0;
735
736
  }
736
- function er() {
737
- M.value = null, N.value = "pointer", k.value = !1, Z.value = null, Yt.value = !1;
737
+ function Qn() {
738
+ M.value = null, N.value = "pointer", k.value = !1, Z.value = null, qt.value = !1;
738
739
  }
739
- function tr(e) {
740
+ function $n(e) {
740
741
  if (!Number.isFinite(e) || !L.value) return;
741
742
  let t = J.value[e];
742
743
  if (!t) return;
743
744
  let n = L.value.getBoundingClientRect();
744
- Jt.value = {
745
+ Kt.value = {
745
746
  x: n.left + t.labelX / H.value.width * n.width,
746
747
  y: n.top + t.labelY / H.value.height * n.height
747
748
  };
748
749
  }
749
- function nr(e) {
750
+ function er(e) {
750
751
  if (!L.value || $.value || document.activeElement !== L.value || !J.value.length) return;
751
752
  let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
752
753
  if (!t && !n && !r && !i) return;
@@ -758,50 +759,50 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
758
759
  if (M.value === null) return;
759
760
  let e = J.value[M.value];
760
761
  if (!e) return;
761
- Fn(e, M.value);
762
+ Nn(e, M.value);
762
763
  return;
763
764
  }
764
765
  let a = M.value;
765
766
  a === null || a < 0 || a >= J.value.length ? a = n ? 0 : J.value.length - 1 : n ? (a += 1, a >= J.value.length && (a = 0)) : t && (--a, a < 0 && (a = J.value.length - 1));
766
767
  let o = J.value[a];
767
- o && (M.value = a, tr(a), In(o, a, "keyboard"));
768
+ o && (M.value = a, $n(a), Pn(o, a, "keyboard"));
768
769
  }
769
- let rr = u(() => ({
770
+ let tr = u(() => ({
770
771
  headers: X.value?.colNames?.map((e) => e.name ?? e) ?? [],
771
772
  rows: X.value?.body ?? []
772
773
  }));
773
774
  return Se({
774
- getData: hn,
775
- getImage: Hn,
776
- generatePdf: on,
777
- generateCsv: Ln,
778
- generateImage: sn,
779
- generateSvg: Xn,
780
- hideSeries: yn,
781
- showSeries: vn,
782
- toggleTable: zn,
783
- toggleTooltip: Bn,
784
- toggleAnnotator: Vn,
785
- toggleFullscreen: Rn,
786
- copyAlt: Qn
775
+ getData: pn,
776
+ getImage: Bn,
777
+ generatePdf: rn,
778
+ generateCsv: Fn,
779
+ generateImage: an,
780
+ generateSvg: Jn,
781
+ hideSeries: _n,
782
+ showSeries: gn,
783
+ toggleTable: Ln,
784
+ toggleTooltip: Rn,
785
+ toggleAnnotator: zn,
786
+ toggleFullscreen: In,
787
+ copyAlt: Xn
787
788
  }), (e, t) => (b(), p("div", {
788
789
  class: _(`vue-data-ui-component vue-ui-radar ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${P.value.useCssAnimation ? "" : "vue-ui-dna"}`),
789
790
  ref_key: "radarChart",
790
791
  ref: A,
791
792
  id: `vue-ui-radar_${O.value}`,
792
793
  style: y(`font-family:${P.value.style.fontFamily};width:100%; ${P.value.responsive ? "height: 100%;" : ""} text-align:center;background:${P.value.style.chart.backgroundColor}`),
793
- onMouseenter: t[2] ||= () => T($t)(!0),
794
- onMouseleave: t[3] ||= () => T($t)(!1)
794
+ onMouseenter: t[2] ||= () => T(Zt)(!0),
795
+ onMouseleave: t[3] ||= () => T(Zt)(!1)
795
796
  }, [
796
797
  m("div", {
797
798
  id: `chart-instructions-${O.value}`,
798
799
  class: "sr-only"
799
- }, [m("p", null, w(P.value.a11y.translations.keyboardNavigation), 1)], 8, Ke),
800
- rr.value?.rows?.length ? (b(), d(Ee, {
800
+ }, [m("p", null, w(P.value.a11y.translations.keyboardNavigation), 1)], 8, qe),
801
+ tr.value?.rows?.length ? (b(), d(De, {
801
802
  key: 0,
802
803
  uid: O.value,
803
- head: rr.value.headers,
804
- body: rr.value.rows,
804
+ head: tr.value.headers,
805
+ body: tr.value.rows,
805
806
  notice: P.value.a11y.translations.tableAvailable,
806
807
  caption: P.value.a11y.translations.tableCaption
807
808
  }, null, 8, [
@@ -811,14 +812,14 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
811
812
  "notice",
812
813
  "caption"
813
814
  ])) : f("", !0),
814
- P.value.userOptions.buttons.annotator ? (b(), d(T(Dt), {
815
+ P.value.userOptions.buttons.annotator ? (b(), d(T(Tt), {
815
816
  key: 1,
816
817
  svgRef: T(L),
817
818
  backgroundColor: P.value.style.chart.backgroundColor,
818
819
  color: P.value.style.chart.color,
819
820
  active: $.value,
820
821
  isCursorPointer: F.value,
821
- onClose: Vn
822
+ onClose: zn
822
823
  }, {
823
824
  "annotator-action-close": E(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
824
825
  "annotator-action-color": E(({ color: t }) => [C(e.$slots, "annotator-action-color", v(g({ color: t })), void 0, !0)]),
@@ -834,20 +835,20 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
834
835
  "active",
835
836
  "isCursorPointer"
836
837
  ])) : f("", !0),
837
- cn.value ? (b(), p("div", {
838
+ on.value ? (b(), p("div", {
838
839
  key: 2,
839
840
  ref_key: "noTitle",
840
- ref: Bt,
841
+ ref: Rt,
841
842
  class: "vue-data-ui-no-title-space",
842
843
  style: "height:36px; width: 100%;background:transparent"
843
844
  }, null, 512)) : f("", !0),
844
845
  P.value.style.chart.title.text ? (b(), p("div", {
845
846
  key: 3,
846
847
  ref_key: "chartTitle",
847
- ref: Lt,
848
+ ref: Ft,
848
849
  style: "width:100%;background:transparent;padding-bottom:12px"
849
850
  }, [(b(), d(xe, {
850
- key: `title_${Vt.value}`,
851
+ key: `title_${zt.value}`,
851
852
  config: {
852
853
  title: {
853
854
  cy: "radar-div-title",
@@ -859,15 +860,15 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
859
860
  }
860
861
  }
861
862
  }, null, 8, ["config"]))], 512)) : f("", !0),
862
- m("div", { id: `legend-top-${O.value}` }, null, 8, qe),
863
- P.value.userOptions.show && Pt.value && (T(en) || T(Qt)) ? (b(), d(T(Ot), {
863
+ m("div", { id: `legend-top-${O.value}` }, null, 8, Je),
864
+ P.value.userOptions.show && Mt.value && (T(Qt) || T(Xt)) ? (b(), d(T(Et), {
864
865
  ref_key: "userOptionsRef",
865
- ref: Gt,
866
- key: `user_options_${It.value}`,
866
+ ref: Ut,
867
+ key: `user_options_${Pt.value}`,
867
868
  backgroundColor: P.value.style.chart.backgroundColor,
868
869
  color: P.value.style.chart.color,
869
- isImaging: T(an),
870
- isPrinting: T(rn),
870
+ isImaging: T(nn),
871
+ isPrinting: T(tn),
871
872
  uid: O.value,
872
873
  hasTooltip: P.value.userOptions.buttons.tooltip && P.value.style.chart.tooltip.show,
873
874
  hasPdf: P.value.userOptions.buttons.pdf,
@@ -888,17 +889,17 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
888
889
  printScale: P.value.userOptions.print.scale,
889
890
  tableDialog: P.value.table.useDialog,
890
891
  isCursorPointer: F.value,
891
- onToggleFullscreen: Rn,
892
- onGeneratePdf: T(on),
893
- onGenerateCsv: Ln,
894
- onGenerateImage: Zn,
895
- onGenerateSvg: Xn,
896
- onToggleTable: zn,
897
- onToggleTooltip: Bn,
898
- onToggleAnnotator: Vn,
899
- onCopyAlt: Qn,
900
- style: y({ visibility: T(en) ? T(Qt) ? "visible" : "hidden" : "visible" })
901
- }, Ne({ _: 2 }, [
892
+ onToggleFullscreen: In,
893
+ onGeneratePdf: T(rn),
894
+ onGenerateCsv: Fn,
895
+ onGenerateImage: Yn,
896
+ onGenerateSvg: Jn,
897
+ onToggleTable: Ln,
898
+ onToggleTooltip: Rn,
899
+ onToggleAnnotator: zn,
900
+ onCopyAlt: Xn,
901
+ style: y({ visibility: T(Qt) ? T(Xt) ? "visible" : "hidden" : "visible" })
902
+ }, Pe({ _: 2 }, [
902
903
  e.$slots.menuIcon ? {
903
904
  name: "menuIcon",
904
905
  fn: E(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", v(g({
@@ -969,7 +970,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
969
970
  key: "11"
970
971
  } : void 0
971
972
  ]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : f("", !0),
972
- m("div", Je, [(b(), p("svg", {
973
+ m("div", Ye, [(b(), p("svg", {
973
974
  ref_key: "svgRef",
974
975
  ref: L,
975
976
  xmlns: T(le),
@@ -981,11 +982,11 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
981
982
  viewBox: `0 0 ${H.value.width <= 0 ? 10 : H.value.width} ${H.value.height <= 0 ? 10 : H.value.height}`,
982
983
  style: y(`max-width:100%;overflow:visible;background:transparent;color:${P.value.style.chart.color}`),
983
984
  tabindex: "0",
984
- onFocus: $n,
985
- onBlur: er,
986
- onKeydown: nr
985
+ onFocus: Zn,
986
+ onBlur: Qn,
987
+ onKeydown: er
987
988
  }, [
988
- Fe(T(kt)),
989
+ Ie(T(Dt)),
989
990
  e.$slots["chart-background"] ? (b(), p("foreignObject", {
990
991
  key: 0,
991
992
  x: 0,
@@ -993,61 +994,66 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
993
994
  width: H.value.width <= 0 ? 10 : H.value.width,
994
995
  height: H.value.height <= 0 ? 10 : H.value.height,
995
996
  style: { pointerEvents: "none" }
996
- }, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, Xe)) : f("", !0),
997
- m("defs", null, [(b(!0), p(l, null, S(K.value, (e, t) => (b(), p("radialGradient", {
997
+ }, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, Ze)) : f("", !0),
998
+ m("defs", null, [(b(!0), p(l, null, S(K.value, (e, t) => (b(), d(Te, {
999
+ t: "radial",
998
1000
  cx: "50%",
999
1001
  cy: "50%",
1000
1002
  r: "50%",
1001
1003
  fx: "50%",
1002
1004
  fy: "50%",
1003
- id: `radar_gradient_${O.value}_${t}`
1004
- }, [m("stop", {
1005
- offset: "0%",
1006
- "stop-color": T(c)(T(fe)(e.color, .05), P.value.style.chart.layout.dataPolygon.opacity)
1007
- }, null, 8, Qe), m("stop", {
1008
- offset: "100%",
1009
- "stop-color": T(c)(e.color, P.value.style.chart.layout.dataPolygon.opacity)
1010
- }, null, 8, $e)], 8, Ze))), 256))]),
1011
- P.value.style.chart.layout.grid.show ? (b(), p("g", et, [(b(!0), p(l, null, S(J.value, (e) => (b(), p("line", {
1005
+ id: `radar_gradient_${O.value}_${t}`,
1006
+ key: `radar_gradient_${O.value}_${t}`,
1007
+ stops: [[
1008
+ "0%",
1009
+ T(c)(T(fe)(e.color, .05), P.value.style.chart.layout.dataPolygon.opacity),
1010
+ 1
1011
+ ], [
1012
+ "100%",
1013
+ T(c)(e.color, P.value.style.chart.layout.dataPolygon.opacity),
1014
+ 1
1015
+ ]]
1016
+ }, null, 8, ["id", "stops"]))), 128))]),
1017
+ P.value.style.chart.layout.grid.show ? (b(), p("g", Qe, [(b(!0), p(l, null, S(J.value, (e) => (b(), p("line", {
1012
1018
  x1: H.value.width / 2,
1013
1019
  y1: H.value.height / 2,
1014
1020
  x2: e.x,
1015
1021
  y2: e.y,
1016
1022
  stroke: P.value.style.chart.layout.grid.stroke,
1017
1023
  "stroke-width": P.value.style.chart.layout.grid.strokeWidth
1018
- }, null, 8, tt))), 256)), P.value.style.chart.layout.grid.graduations > 0 ? (b(), p("g", nt, [(b(!0), p(l, null, S(En.value, (e) => (b(), p("path", {
1024
+ }, null, 8, $e))), 256)), P.value.style.chart.layout.grid.graduations > 0 ? (b(), p("g", et, [(b(!0), p(l, null, S(wn.value, (e) => (b(), p("path", {
1019
1025
  d: T(n)({
1020
1026
  plot: {
1021
1027
  x: H.value.width / 2,
1022
1028
  y: H.value.height / 2
1023
1029
  },
1024
1030
  radius: e,
1025
- sides: Cn.value,
1031
+ sides: xn.value,
1026
1032
  rotation: 0
1027
1033
  }).path,
1028
1034
  fill: "none",
1029
1035
  stroke: P.value.style.chart.layout.grid.stroke,
1030
1036
  "stroke-width": P.value.style.chart.layout.grid.strokeWidth
1031
- }, null, 8, rt))), 256))])) : f("", !0)])) : f("", !0),
1037
+ }, null, 8, tt))), 256))])) : f("", !0)])) : f("", !0),
1032
1038
  m("path", {
1033
- d: Tn.value.path,
1039
+ d: Cn.value.path,
1034
1040
  fill: "none",
1035
1041
  stroke: P.value.style.chart.layout.outerPolygon.stroke,
1036
1042
  "stroke-width": P.value.style.chart.layout.outerPolygon.strokeWidth,
1037
1043
  "stroke-linejoin": "round",
1038
1044
  "stroke-linecap": "round"
1039
- }, null, 8, it),
1040
- P.value.style.chart.layout.labels.dataLabels.show ? (b(), p("g", at, [(b(!0), p(l, null, S(J.value, (e, t) => (b(), p("text", {
1045
+ }, null, 8, nt),
1046
+ P.value.style.chart.layout.labels.dataLabels.show ? (b(), p("g", rt, [(b(!0), p(l, null, S(J.value, (e, t) => (b(), p("text", {
1041
1047
  class: "vue-ui-radar-apex-label",
1042
1048
  x: e.labelX,
1043
1049
  y: e.labelY,
1044
1050
  "text-anchor": e.labelAnchor,
1045
1051
  "font-size": P.value.style.chart.layout.labels.dataLabels.fontSize,
1046
1052
  fill: P.value.style.chart.layout.labels.dataLabels.color,
1047
- onMouseenter: (n) => In(e, t, "pointer"),
1048
- onMouseleave: (n) => Pn(e, t),
1049
- onClick: (n) => Fn(e, t)
1050
- }, w(e.name), 41, ot))), 256))])) : f("", !0),
1053
+ onMouseenter: (n) => Pn(e, t, "pointer"),
1054
+ onMouseleave: (n) => Mn(e, t),
1055
+ onClick: (n) => Nn(e, t)
1056
+ }, w(e.name), 41, it))), 256))])) : f("", !0),
1051
1057
  (b(!0), p(l, null, S(K.value, (e, t) => (b(), p("g", null, [m("g", null, [P.value.useCssAnimation || !P.value.useCssAnimation && !U.value.includes(t) ? (b(), p("polygon", {
1052
1058
  key: 0,
1053
1059
  points: T(s)(J.value.map((e) => e.plots[t]), !1, !0),
@@ -1058,7 +1064,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
1058
1064
  "animated-out": U.value.includes(t) && P.value.useCssAnimation,
1059
1065
  "animated-in": G.value && W.value === t && P.value.useCssAnimation
1060
1066
  })
1061
- }, null, 10, st)) : f("", !0), P.value.useCssAnimation || !P.value.useCssAnimation && !U.value.includes(t) ? (b(), p("polygon", {
1067
+ }, null, 10, at)) : f("", !0), P.value.useCssAnimation || !P.value.useCssAnimation && !U.value.includes(t) ? (b(), p("polygon", {
1062
1068
  key: 1,
1063
1069
  points: T(s)(J.value.map((e) => e.plots[t]), !1, !0),
1064
1070
  stroke: e.color,
@@ -1068,19 +1074,19 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
1068
1074
  "animated-out": U.value.includes(t) && P.value.useCssAnimation,
1069
1075
  "animated-in": G.value && W.value === t && P.value.useCssAnimation
1070
1076
  })
1071
- }, null, 10, ct)) : f("", !0)])]))), 256)),
1077
+ }, null, 10, ot)) : f("", !0)])]))), 256)),
1072
1078
  P.value.style.chart.layout.targetReference.show ? (b(), p("path", {
1073
1079
  key: 3,
1074
1080
  class: "vue-ui-radar-target-polygon",
1075
- d: `M${T(s)(Sn.value, !1, !0)}Z`,
1081
+ d: `M${T(s)(bn.value, !1, !0)}Z`,
1076
1082
  fill: "none",
1077
1083
  stroke: P.value.style.chart.layout.targetReference.stroke,
1078
1084
  "stroke-width": P.value.style.chart.layout.targetReference.strokeWidth,
1079
1085
  "stroke-linejoin": "round",
1080
1086
  "stroke-linecap": "round",
1081
1087
  "stroke-dasharray": P.value.style.chart.layout.targetReference.strokeDasharray
1082
- }, null, 8, lt)) : f("", !0),
1083
- P.value.style.chart.layout.plots.show ? (b(), p("g", ut, [(b(!0), p(l, null, S(J.value, (e, t) => (b(), p("g", null, [(b(!0), p(l, null, S(e.plots, (e, n) => (b(), p("circle", {
1088
+ }, null, 8, st)) : f("", !0),
1089
+ P.value.style.chart.layout.plots.show ? (b(), p("g", ct, [(b(!0), p(l, null, S(J.value, (e, t) => (b(), p("g", null, [(b(!0), p(l, null, S(e.plots, (e, n) => (b(), p("circle", {
1084
1090
  cx: e.x,
1085
1091
  cy: e.y,
1086
1092
  fill: U.value.includes(n) ? "transparent" : K.value[n] ? K.value[n].color : "transparent",
@@ -1091,45 +1097,45 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
1091
1097
  "animated-out": U.value.includes(n) && P.value.useCssAnimation,
1092
1098
  "animated-in": G.value && W.value === n && P.value.useCssAnimation
1093
1099
  })
1094
- }, null, 10, dt))), 256))]))), 256))])) : f("", !0),
1100
+ }, null, 10, lt))), 256))]))), 256))])) : f("", !0),
1095
1101
  C(e.$slots, "svg", { svg: {
1096
1102
  ...H.value,
1097
- outerPolygon: Tn.value,
1098
- isPrintingImg: T(rn) || T(an) || Kt.value,
1099
- isPrintingSvg: qt.value
1103
+ outerPolygon: Cn.value,
1104
+ isPrintingImg: T(tn) || T(nn) || Wt.value,
1105
+ isPrintingSvg: Gt.value
1100
1106
  } }, void 0, !0)
1101
- ], 46, Ye)), e.$slots.hint ? (b(), p("div", ft, [C(e.$slots, "hint", v(g({
1107
+ ], 46, Xe)), e.$slots.hint ? (b(), p("div", ut, [C(e.$slots, "hint", v(g({
1102
1108
  hint: P.value.a11y.translations.keyboardNavigation,
1103
- isVisible: Yt.value
1109
+ isVisible: qt.value
1104
1110
  })), void 0, !0)])) : f("", !0)]),
1105
- e.$slots.watermark ? (b(), p("div", pt, [C(e.$slots, "watermark", v(g({ isPrinting: T(rn) || T(an) || Kt.value || qt.value })), void 0, !0)])) : f("", !0),
1106
- m("div", { id: `legend-bottom-${O.value}` }, null, 8, mt),
1107
- Wt.value && (P.value.style.chart.legend.show || e.$slots.legend) ? (b(), d(Me, {
1111
+ e.$slots.watermark ? (b(), p("div", dt, [C(e.$slots, "watermark", v(g({ isPrinting: T(tn) || T(nn) || Wt.value || Gt.value })), void 0, !0)])) : f("", !0),
1112
+ m("div", { id: `legend-bottom-${O.value}` }, null, 8, ft),
1113
+ Ht.value && (P.value.style.chart.legend.show || e.$slots.legend) ? (b(), d(Ne, {
1108
1114
  key: 6,
1109
1115
  to: P.value.style.chart.legend.position === "top" ? `#legend-top-${O.value}` : `#legend-bottom-${O.value}`
1110
1116
  }, [m("div", {
1111
1117
  ref_key: "chartLegend",
1112
- ref: Rt
1113
- }, [C(e.$slots, "legend", { legend: Y.value }, () => [P.value.style.chart.legend.show ? (b(), d(ke, {
1114
- key: `legend_${Ut.value}`,
1118
+ ref: It
1119
+ }, [C(e.$slots, "legend", { legend: Y.value }, () => [P.value.style.chart.legend.show ? (b(), d(Ae, {
1120
+ key: `legend_${Vt.value}`,
1115
1121
  legendSet: Y.value,
1116
- config: jn.value,
1122
+ config: kn.value,
1117
1123
  isCursorPointer: F.value,
1118
- onClickMarker: t[0] ||= ({ i: e }) => mn(e)
1119
- }, Ne({
1120
- item: E(({ legend: e, index: t }) => [T(Zt) ? f("", !0) : (b(), p("div", {
1124
+ onClickMarker: t[0] ||= ({ i: e }) => fn(e)
1125
+ }, Pe({
1126
+ item: E(({ legend: e, index: t }) => [T(Yt) ? f("", !0) : (b(), p("div", {
1121
1127
  key: 0,
1122
1128
  onClick: (t) => e.segregate(),
1123
1129
  style: y(`opacity:${U.value.includes(t) ? .5 : 1}`)
1124
- }, w(e.display), 13, ht))]),
1125
- legendToggle: E(() => [Y.value.length > 2 && P.value.style.chart.legend.selectAllToggle.show && !T(Zt) ? (b(), d(Te, {
1130
+ }, w(e.display), 13, pt))]),
1131
+ legendToggle: E(() => [Y.value.length > 2 && P.value.style.chart.legend.selectAllToggle.show && !T(Yt) ? (b(), d(Ee, {
1126
1132
  key: 0,
1127
1133
  backgroundColor: P.value.style.chart.legend.selectAllToggle.backgroundColor,
1128
1134
  color: P.value.style.chart.legend.selectAllToggle.color,
1129
1135
  fontSize: P.value.style.chart.legend.fontSize,
1130
1136
  checked: U.value.length > 0,
1131
1137
  isCursorPointer: F.value,
1132
- onToggle: fn
1138
+ onToggle: un
1133
1139
  }, null, 8, [
1134
1140
  "backgroundColor",
1135
1141
  "color",
@@ -1140,7 +1146,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
1140
1146
  _: 2
1141
1147
  }, [P.value.style.chart.layout.targetReference.show && P.value.style.chart.layout.targetReference.showInLegend ? {
1142
1148
  name: "after",
1143
- fn: E(() => [m("div", gt, [m("div", { style: y({
1149
+ fn: E(() => [m("div", mt, [m("div", { style: y({
1144
1150
  display: "flex",
1145
1151
  height: P.value.style.chart.legend.fontSize
1146
1152
  }) }, [(b(), p("svg", {
@@ -1155,7 +1161,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
1155
1161
  "stroke-width": P.value.style.chart.layout.targetReference.strokeWidth * .7,
1156
1162
  "stroke-dasharray": P.value.style.chart.layout.targetReference.strokeDasharray * .7,
1157
1163
  "stroke-linecap": "round"
1158
- }, null, 8, _t)], 4))], 4), m("span", null, w(P.value.style.chart.layout.targetReference.legendLabel), 1)])]),
1164
+ }, null, 8, ht)], 4))], 4), m("span", null, w(P.value.style.chart.layout.targetReference.legendLabel), 1)])]),
1159
1165
  key: "0"
1160
1166
  } : void 0]), 1032, [
1161
1167
  "legendSet",
@@ -1165,10 +1171,10 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
1165
1171
  e.$slots.source ? (b(), p("div", {
1166
1172
  key: 7,
1167
1173
  ref_key: "source",
1168
- ref: zt,
1174
+ ref: Lt,
1169
1175
  dir: "auto"
1170
1176
  }, [C(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
1171
- Fe(T(St), {
1177
+ Ie(T(bt), {
1172
1178
  teleportTo: P.value.style.chart.tooltip.teleportTo,
1173
1179
  show: V.value.showTooltip && k.value,
1174
1180
  backgroundColor: P.value.style.chart.tooltip.backgroundColor,
@@ -1182,7 +1188,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
1182
1188
  offsetX: P.value.style.chart.tooltip.offsetX,
1183
1189
  offsetY: P.value.style.chart.tooltip.offsetY,
1184
1190
  parent: A.value,
1185
- content: Ft.value,
1191
+ content: Nt.value,
1186
1192
  isFullscreen: Q.value,
1187
1193
  isCustom: P.value.style.chart.tooltip.customFormat && typeof P.value.style.chart.tooltip.customFormat == "function",
1188
1194
  smooth: P.value.style.chart.tooltip.smooth,
@@ -1190,18 +1196,18 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
1190
1196
  smoothForce: P.value.style.chart.tooltip.smoothForce,
1191
1197
  smoothSnapThreshold: P.value.style.chart.tooltip.smoothSnapThreshold,
1192
1198
  isA11yMode: N.value === "keyboard",
1193
- a11yPosition: Jt.value
1199
+ a11yPosition: Kt.value
1194
1200
  }, {
1195
- "tooltip-before": E(() => [C(e.$slots, "tooltip-before", v(g({ ...Nn.value })), void 0, !0)]),
1196
- tooltip: E(() => [C(e.$slots, "tooltip", v(g({ ...Nn.value })), void 0, !0)]),
1197
- "tooltip-after": E(() => [!["function"].includes(typeof P.value.style.chart.tooltip.customFormat) && !e.$slots.tooltip ? (b(), p("div", vt, [Fe(T(wt), {
1198
- dataset: Mn.value,
1199
- config: un.value,
1201
+ "tooltip-before": E(() => [C(e.$slots, "tooltip-before", v(g({ ...jn.value })), void 0, !0)]),
1202
+ tooltip: E(() => [C(e.$slots, "tooltip", v(g({ ...jn.value })), void 0, !0)]),
1203
+ "tooltip-after": E(() => [!["function"].includes(typeof P.value.style.chart.tooltip.customFormat) && !e.$slots.tooltip ? (b(), p("div", gt, [Ie(T(St), {
1204
+ dataset: An.value,
1205
+ config: cn.value,
1200
1206
  backgroundOpacity: 0
1201
1207
  }, {
1202
- "data-label": E(({ bar: e }) => [m("div", yt, [m("span", bt, w(e.name + (P.value.style.chart.tooltip.showValue || P.value.style.chart.tooltip.showPercentage ? ":" : "")), 1), P.value.style.chart.tooltip.showValue || P.value.style.chart.tooltip.showPercentage ? (b(), p("span", xt, w(e.suffix), 1)) : f("", !0)])]),
1208
+ "data-label": E(({ bar: e }) => [m("div", _t, [m("span", vt, w(e.name + (P.value.style.chart.tooltip.showValue || P.value.style.chart.tooltip.showPercentage ? ":" : "")), 1), P.value.style.chart.tooltip.showValue || P.value.style.chart.tooltip.showPercentage ? (b(), p("span", yt, w(e.suffix), 1)) : f("", !0)])]),
1203
1209
  _: 1
1204
- }, 8, ["dataset", "config"])])) : f("", !0), C(e.$slots, "tooltip-after", v(g({ ...Nn.value })), void 0, !0)]),
1210
+ }, 8, ["dataset", "config"])])) : f("", !0), C(e.$slots, "tooltip-after", v(g({ ...jn.value })), void 0, !0)]),
1205
1211
  _: 3
1206
1212
  }, 8, [
1207
1213
  "teleportTo",
@@ -1227,24 +1233,24 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
1227
1233
  "isA11yMode",
1228
1234
  "a11yPosition"
1229
1235
  ]),
1230
- Pt.value && P.value.userOptions.buttons.table ? (b(), d(Be(Un.value.component), Ie({ key: 8 }, Un.value.props, {
1236
+ Mt.value && P.value.userOptions.buttons.table ? (b(), d(Ve(Vn.value.component), Le({ key: 8 }, Vn.value.props, {
1231
1237
  ref_key: "tableUnit",
1232
1238
  ref: j,
1233
- onClose: Wn
1234
- }), Ne({
1235
- content: E(() => [(b(), d(T(Et), {
1236
- key: `table_${Ht.value}`,
1239
+ onClose: Hn
1240
+ }), Pe({
1241
+ content: E(() => [(b(), d(T(wt), {
1242
+ key: `table_${Bt.value}`,
1237
1243
  colNames: X.value.colNames,
1238
1244
  head: X.value.head,
1239
1245
  body: X.value.body,
1240
1246
  config: X.value.config,
1241
- title: P.value.table.useDialog ? "" : Un.value.title,
1247
+ title: P.value.table.useDialog ? "" : Vn.value.title,
1242
1248
  withCloseButton: !P.value.table.useDialog,
1243
1249
  isCursorPointer: F.value,
1244
- onClose: Wn
1250
+ onClose: Hn
1245
1251
  }, {
1246
- th: E(({ th: e }) => [Pe(w(e.name), 1)]),
1247
- td: E(({ td: e }) => [Pe(w(e), 1)]),
1252
+ th: E(({ th: e }) => [Fe(w(e.name), 1)]),
1253
+ td: E(({ td: e }) => [Fe(w(e), 1)]),
1248
1254
  _: 1
1249
1255
  }, 8, [
1250
1256
  "colNames",
@@ -1258,24 +1264,24 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
1258
1264
  _: 2
1259
1265
  }, [P.value.table.useDialog ? {
1260
1266
  name: "title",
1261
- fn: E(() => [Pe(w(Un.value.title), 1)]),
1267
+ fn: E(() => [Fe(w(Vn.value.title), 1)]),
1262
1268
  key: "0"
1263
1269
  } : void 0, P.value.table.useDialog ? {
1264
1270
  name: "actions",
1265
1271
  fn: E(() => [m("button", {
1266
1272
  tabindex: "0",
1267
1273
  class: "vue-ui-user-options-button",
1268
- onClick: t[1] ||= (e) => Ln(P.value.userOptions.callbacks.csv),
1274
+ onClick: t[1] ||= (e) => Fn(P.value.userOptions.callbacks.csv),
1269
1275
  style: y({ cursor: F.value ? "pointer" : "default" })
1270
- }, [Fe(T(Ct), {
1276
+ }, [Ie(T(xt), {
1271
1277
  name: "fileCsv",
1272
- stroke: Un.value.props.color
1278
+ stroke: Vn.value.props.color
1273
1279
  }, null, 8, ["stroke"])], 4)]),
1274
1280
  key: "1"
1275
1281
  } : void 0]), 1040)) : f("", !0),
1276
- C(e.$slots, "skeleton", {}, () => [T(Zt) ? (b(), d(ge, { key: 0 })) : f("", !0)], !0)
1277
- ], 46, Ge));
1282
+ C(e.$slots, "skeleton", {}, () => [T(Yt) ? (b(), d(ge, { key: 0 })) : f("", !0)], !0)
1283
+ ], 46, Ke));
1278
1284
  }
1279
- }, [["__scopeId", "data-v-be7bab86"]]);
1285
+ }, [["__scopeId", "data-v-ee3081b3"]]);
1280
1286
  //#endregion
1281
- export { We as n, St as t };
1287
+ export { Ge as n, bt as t };