vue-data-ui 3.23.0 → 3.23.2

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 (206) hide show
  1. package/dist/{Arrow-o2qHNvrC.js → Arrow-CF0VFcBH.js} +1 -1
  2. package/dist/{BaseDraggableDialog-qTnfhLBz.js → BaseDraggableDialog-LoqqwRtV.js} +2 -2
  3. package/dist/{BaseIcon-91MZoczJ.js → BaseIcon-BfndwIWE.js} +1 -1
  4. package/dist/{BaseLegendToggle-CtAPwzr2.js → BaseLegendToggle-DZVucLnv.js} +1 -1
  5. package/dist/{BaseZoomControls-rdzlicuz.js → BaseZoomControls-BZvCnZEi.js} +2 -2
  6. package/dist/{ColorPicker-CIAkdPrj.js → ColorPicker--ayG2YHf.js} +2 -2
  7. package/dist/{DataTable-D4tM9s5Y.js → DataTable-BbKgJ5UI.js} +2 -2
  8. package/dist/{HillActions-BWhxHlrj.js → HillActions-BD9j_sOU.js} +1 -1
  9. package/dist/{Legend-CQTRlzK-.js → Legend-CQxUgOd-.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-Cawacw1W.js → NonSvgPenAndPaper-4ypecDg1.js} +6 -6
  11. package/dist/{PackageVersion--QCMh5k_.js → PackageVersion-DXU7nRr9.js} +1 -1
  12. package/dist/{PenAndPaper-cE4J8-rA.js → PenAndPaper-DAE-tnEQ.js} +6 -6
  13. package/dist/{Shape-BPMV94Ij.js → Shape-C21CMlWS.js} +1 -1
  14. package/dist/SlicerPreview-wUw1hFwe.js +1703 -0
  15. package/dist/{SparkTooltip-BaYtEKS6.js → SparkTooltip-CjsbIhzi.js} +1 -1
  16. package/dist/{Title-BODtwViI.js → Title-BE3qg9xl.js} +1 -1
  17. package/dist/{Tooltip-CMTGxeYO.js → Tooltip-DhjyfHwz.js} +2 -2
  18. package/dist/{UserOptions-3ujTo3LD.js → UserOptions-Dt98of5H.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-hill.js +1 -1
  46. package/dist/components/vue-ui-history-plot.js +1 -1
  47. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  48. package/dist/components/vue-ui-icon.js +1 -1
  49. package/dist/components/vue-ui-kpi.js +1 -1
  50. package/dist/components/vue-ui-mini-loader.js +1 -1
  51. package/dist/components/vue-ui-molecule.js +1 -1
  52. package/dist/components/vue-ui-mood-radar.js +1 -1
  53. package/dist/components/vue-ui-nested-donuts.js +1 -1
  54. package/dist/components/vue-ui-onion.js +1 -1
  55. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  56. package/dist/components/vue-ui-quadrant.js +1 -1
  57. package/dist/components/vue-ui-quick-chart.js +1 -1
  58. package/dist/components/vue-ui-radar.js +1 -1
  59. package/dist/components/vue-ui-rating.js +1 -1
  60. package/dist/components/vue-ui-relation-circle.js +1 -1
  61. package/dist/components/vue-ui-ridgeline.js +1 -1
  62. package/dist/components/vue-ui-rings.js +1 -1
  63. package/dist/components/vue-ui-scatter.js +1 -1
  64. package/dist/components/vue-ui-skeleton.js +1 -1
  65. package/dist/components/vue-ui-smiley.js +1 -1
  66. package/dist/components/vue-ui-spark-trend.js +1 -1
  67. package/dist/components/vue-ui-sparkbar.js +1 -1
  68. package/dist/components/vue-ui-sparkgauge.js +1 -1
  69. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  70. package/dist/components/vue-ui-sparkline.js +1 -1
  71. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  72. package/dist/components/vue-ui-stackbar.js +1 -1
  73. package/dist/components/vue-ui-stackline.js +1 -1
  74. package/dist/components/vue-ui-strip-plot.js +1 -1
  75. package/dist/components/vue-ui-table-heatmap.js +1 -1
  76. package/dist/components/vue-ui-table-sparkline.js +1 -1
  77. package/dist/components/vue-ui-table.js +1 -1
  78. package/dist/components/vue-ui-thermometer.js +1 -1
  79. package/dist/components/vue-ui-timer.js +1 -1
  80. package/dist/components/vue-ui-tiremarks.js +1 -1
  81. package/dist/components/vue-ui-treemap.js +1 -1
  82. package/dist/components/vue-ui-vertical-bar.js +1 -1
  83. package/dist/components/vue-ui-waffle.js +1 -1
  84. package/dist/components/vue-ui-wheel.js +1 -1
  85. package/dist/components/vue-ui-word-cloud.js +1 -1
  86. package/dist/components/vue-ui-world.js +1 -1
  87. package/dist/components/vue-ui-xy-canvas.js +1 -1
  88. package/dist/components/vue-ui-xy.js +1 -1
  89. package/dist/composables.js +1 -1
  90. package/dist/{dom-to-png-4tdMNGPX.js → dom-to-png-BYIvdTe8.js} +1 -1
  91. package/dist/{exposedLib-DWLRqRhv.js → exposedLib-C0DPCgFj.js} +7 -4
  92. package/dist/{geoProjections-BCP_PoiB.js → geoProjections-CEo3dVaL.js} +1 -1
  93. package/dist/{img-DIQG5q8T.js → img-Bnokohej.js} +1 -1
  94. package/dist/{labelUtils-C5lnc_xc.js → labelUtils-BeVpDvTJ.js} +1 -1
  95. package/dist/{lib-BuMGJ_a0.js → lib-Bttd6u5E.js} +21 -11
  96. package/dist/{package-BMc_ZieJ.js → package-bsfpO6y3.js} +1 -1
  97. package/dist/{pdf-Cnz4NKM9.js → pdf-CVIDfCrS.js} +1 -1
  98. package/dist/{render-common-Ktg2LZFG.js → render-common-C0PEe9so.js} +2 -2
  99. package/dist/ssr/vue-ui-donut.js +1 -1
  100. package/dist/ssr/vue-ui-xy.js +1 -1
  101. package/dist/ssr.js +2 -2
  102. package/dist/style.css +1 -1
  103. package/dist/types/vue-data-ui.d.ts +9 -0
  104. package/dist/{useSvgExport-Ba9qBr9M.js → useChartExport-DNiwdPmb.js} +48 -2
  105. package/dist/{useConfig-BilxnBNr.js → useConfig-DlNpz6P8.js} +13 -1
  106. package/dist/{useNestedProp--NSEmhOH.js → useNestedProp-vPNvh7rV.js} +5 -3
  107. package/dist/{useObjectBindings-Cwq7NcQz.js → useObjectBindings-BeWS5v0i.js} +1 -1
  108. package/dist/{usePrinter-BFvi4jVy.js → usePrinter-DN5bYhTG.js} +2 -2
  109. package/dist/{useTimeLabels-B9CEuiLZ.js → useTimeLabels-d2f-W1L4.js} +2 -4
  110. package/dist/{useTooltipPosition-BsRysTrw.js → useTooltipPosition-DifeoeQW.js} +13 -13
  111. package/dist/utils.js +3 -3
  112. package/dist/{vue-data-ui-EsawKe_W.js → vue-data-ui-BNxtW8pK.js} +69 -69
  113. package/dist/vue-data-ui.js +74 -74
  114. package/dist/{vue-ui-3d-bar-RSUS2xpL.js → vue-ui-3d-bar-BYumVxZG.js} +147 -165
  115. package/dist/{vue-ui-accordion-61MlW-Ge.js → vue-ui-accordion-DegI2lzR.js} +4 -4
  116. package/dist/vue-ui-age-pyramid-tJx_hCsS.js +1241 -0
  117. package/dist/{vue-ui-annotator-DBRT85HG.js → vue-ui-annotator-DfG79D4r.js} +41 -68
  118. package/dist/vue-ui-bullet-DrWG4jRy.js +700 -0
  119. package/dist/{vue-ui-bump-Dvv3iSKr.js → vue-ui-bump-mKysp0KO.js} +222 -272
  120. package/dist/vue-ui-candlestick-PgKcBZdy.js +1837 -0
  121. package/dist/vue-ui-carousel-table-DRvycNBl.js +467 -0
  122. package/dist/{vue-ui-chestnut-ArloORzP.js → vue-ui-chestnut-Dpklo-VE.js} +311 -365
  123. package/dist/vue-ui-chord-7PPVH_iG.js +1345 -0
  124. package/dist/vue-ui-circle-pack-DW4Os6_8.js +1636 -0
  125. package/dist/{vue-ui-cursor-CxgE6Phh.js → vue-ui-cursor-DIt7vOwc.js} +4 -4
  126. package/dist/{vue-ui-dag-C9Sf9vH7.js → vue-ui-dag-Cl0WdSLb.js} +812 -840
  127. package/dist/{vue-ui-dashboard-bGmaglAj.js → vue-ui-dashboard-BwxRLR4E.js} +70 -70
  128. package/dist/{vue-ui-digits-DgDE-_Fn.js → vue-ui-digits-Bp1OH_t1.js} +5 -5
  129. package/dist/{vue-ui-donut-B_n6wF6B.js → vue-ui-donut-BZUT7QYt.js} +352 -377
  130. package/dist/vue-ui-donut-evolution-CQy3ZKXk.js +1549 -0
  131. package/dist/{vue-ui-donut-Bmo149AR.js → vue-ui-donut-y6tOAVyY.js} +18 -17
  132. package/dist/{vue-ui-dumbbell-BX4Ao_wR.js → vue-ui-dumbbell-BtKZcAOV.js} +370 -420
  133. package/dist/{vue-ui-flow-Bshw8pT_.js → vue-ui-flow-BF_cndsv.js} +191 -216
  134. package/dist/vue-ui-funnel-z3AeiDu6.js +750 -0
  135. package/dist/{vue-ui-galaxy-CvXgy-dy.js → vue-ui-galaxy-ClWaSOmM.js} +276 -302
  136. package/dist/vue-ui-gauge-CJstpakj.js +932 -0
  137. package/dist/{vue-ui-geo-C-gSZL2q.js → vue-ui-geo-B1tOD3HC.js} +398 -449
  138. package/dist/{vue-ui-gizmo-CJdxyPID.js → vue-ui-gizmo-foatosAv.js} +4 -4
  139. package/dist/{vue-ui-heatmap-DEEKv8ip.js → vue-ui-heatmap-By33A9dZ.js} +479 -502
  140. package/dist/{vue-ui-hill-D7LYAgAL.js → vue-ui-hill-ewqkK9s5.js} +570 -593
  141. package/dist/vue-ui-history-plot-FEIwXlsz.js +1698 -0
  142. package/dist/{vue-ui-horizontal-bar-CfFye5tL.js → vue-ui-horizontal-bar-D51sAeVu.js} +307 -332
  143. package/dist/{vue-ui-kpi-DCBnNfTb.js → vue-ui-kpi-y3EkgqJQ.js} +4 -4
  144. package/dist/{vue-ui-mini-loader-CtWpqnLW.js → vue-ui-mini-loader-CtTewZJG.js} +3 -3
  145. package/dist/vue-ui-molecule-paWHp18h.js +935 -0
  146. package/dist/{vue-ui-mood-radar-sl6DMxqR.js → vue-ui-mood-radar-wBRTZI5k.js} +341 -390
  147. package/dist/vue-ui-nested-donuts-CB-HOLo2.js +1503 -0
  148. package/dist/vue-ui-onion-B2Q2n55x.js +1233 -0
  149. package/dist/{vue-ui-parallel-coordinate-plot-DE9wTmQQ.js → vue-ui-parallel-coordinate-plot-GpkXiIZA.js} +189 -214
  150. package/dist/{vue-ui-quadrant-SaY_RPSE.js → vue-ui-quadrant-DOPuejDE.js} +254 -284
  151. package/dist/{vue-ui-quick-chart-CJ9rejnj.js → vue-ui-quick-chart-CgHX9njq.js} +108 -109
  152. package/dist/{vue-ui-radar-CaNen5Fj.js → vue-ui-radar-BLvG-_zE.js} +407 -434
  153. package/dist/{vue-ui-rating--K7rX2an.js → vue-ui-rating-BDVSVFA0.js} +10 -11
  154. package/dist/vue-ui-relation-circle-plOXwxJ5.js +903 -0
  155. package/dist/vue-ui-ridgeline-BbrnXvBo.js +1614 -0
  156. package/dist/{vue-ui-rings-BevKD8P-.js → vue-ui-rings-B3cKfMWy.js} +419 -444
  157. package/dist/vue-ui-scatter-BY7waF2T.js +2403 -0
  158. package/dist/{vue-ui-skeleton-B9ZP1w-i.js → vue-ui-skeleton-DwKxd7fk.js} +4 -4
  159. package/dist/{vue-ui-smiley-DYnqqk6u.js → vue-ui-smiley-5iHJeTPc.js} +64 -65
  160. package/dist/{vue-ui-spark-trend-R0ebpg-G.js → vue-ui-spark-trend-MpvrV5Wd.js} +11 -11
  161. package/dist/{vue-ui-sparkbar-DYC3By0v.js → vue-ui-sparkbar-s-2rBmEz.js} +97 -100
  162. package/dist/{vue-ui-sparkgauge-Bw6no-In.js → vue-ui-sparkgauge-B-BYVv4p.js} +4 -4
  163. package/dist/{vue-ui-sparkhistogram-DvRKy8rq.js → vue-ui-sparkhistogram-D7D4NHdi.js} +18 -19
  164. package/dist/{vue-ui-sparkline-Dz1uzBos.js → vue-ui-sparkline-RbeYtLWp.js} +11 -11
  165. package/dist/{vue-ui-sparkstackbar-DlnPdZih.js → vue-ui-sparkstackbar-ohN7mtbg.js} +194 -198
  166. package/dist/{vue-ui-stackbar-B-THcavY.js → vue-ui-stackbar-D2bpvQYt.js} +530 -552
  167. package/dist/{vue-ui-stackline-3dBPoI0h.js → vue-ui-stackline-Bo1oE8yq.js} +592 -614
  168. package/dist/vue-ui-strip-plot-CZ-C4a5x.js +1734 -0
  169. package/dist/vue-ui-table-3PPiJPV6.js +1352 -0
  170. package/dist/{vue-ui-table-heatmap-DVwMqzje.js → vue-ui-table-heatmap-D1bbPXKG.js} +56 -57
  171. package/dist/{vue-ui-table-sparkline-CABJzK8p.js → vue-ui-table-sparkline-l1cUX3ny.js} +13 -15
  172. package/dist/{vue-ui-thermometer-CVQ-H69Q.js → vue-ui-thermometer-DltAELO7.js} +240 -261
  173. package/dist/{vue-ui-timer-Bm8LpsnI.js → vue-ui-timer-DWNdx47q.js} +6 -6
  174. package/dist/vue-ui-tiremarks-GYhji_fa.js +538 -0
  175. package/dist/{vue-ui-treemap-DP0Sx8Y8.js → vue-ui-treemap-DjNlnOG5.js} +521 -547
  176. package/dist/vue-ui-waffle-BAA9EX6O.js +1386 -0
  177. package/dist/vue-ui-wheel-DrefGLos.js +871 -0
  178. package/dist/{vue-ui-word-cloud-B2sxtel9.js → vue-ui-word-cloud-CQZ8AyOi.js} +382 -405
  179. package/dist/{vue-ui-world-BBQZLnzm.js → vue-ui-world-Y7a3VEjq.js} +426 -451
  180. package/dist/{vue-ui-xy-DZj5DT-q.js → vue-ui-xy-CJcdttNL.js} +879 -905
  181. package/dist/{vue-ui-xy-ChZg7AtI.js → vue-ui-xy-DPxtkYGc.js} +329 -326
  182. package/dist/{vue-ui-xy-canvas-BN2u0bOJ.js → vue-ui-xy-canvas-1rbwMA1m.js} +30 -27
  183. package/package.json +4 -4
  184. package/dist/Slicer-5yIrdoJv.js +0 -1149
  185. package/dist/SlicerPreview-DvjLV2TW.js +0 -1689
  186. package/dist/vue-ui-age-pyramid-CgnPWA93.js +0 -1263
  187. package/dist/vue-ui-bullet-Bc3-WaN1.js +0 -724
  188. package/dist/vue-ui-candlestick-DvvsrIdp.js +0 -1864
  189. package/dist/vue-ui-carousel-table-DtsNVim8.js +0 -463
  190. package/dist/vue-ui-chord-xX5gWZy8.js +0 -1396
  191. package/dist/vue-ui-circle-pack-D8wykmqg.js +0 -1638
  192. package/dist/vue-ui-donut-evolution-D6vH_hfx.js +0 -1598
  193. package/dist/vue-ui-funnel-CjYosIik.js +0 -797
  194. package/dist/vue-ui-gauge-CByT0_vF.js +0 -953
  195. package/dist/vue-ui-history-plot-BhcU94Pt.js +0 -1722
  196. package/dist/vue-ui-molecule-D3igGyOy.js +0 -958
  197. package/dist/vue-ui-nested-donuts-aS4YzaB3.js +0 -1528
  198. package/dist/vue-ui-onion-EhPTZpW_.js +0 -1258
  199. package/dist/vue-ui-relation-circle-FLs8vOxQ.js +0 -925
  200. package/dist/vue-ui-ridgeline-Beg5hshN.js +0 -1663
  201. package/dist/vue-ui-scatter-CNA7jF-o.js +0 -2428
  202. package/dist/vue-ui-strip-plot-ACeYOoHj.js +0 -1757
  203. package/dist/vue-ui-table-rFy16bp0.js +0 -1347
  204. package/dist/vue-ui-tiremarks-DB3f5qiz.js +0 -559
  205. package/dist/vue-ui-waffle-iPpdk1Bm.js +0 -1412
  206. package/dist/vue-ui-wheel-BJkEYfLj.js +0 -892
@@ -1,46 +1,46 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, At as n, Bt as r, D as i, Jt as a, Kt as o, M as ee, Pt as s, S as te, Vt as ne, X as c, b as re, ct as ie, i as ae, jt as oe, pt as se, q as ce, t as le, tt as l, w as ue, xt as de } from "./lib-BuMGJ_a0.js";
3
- import { n as fe } from "./useHints-Dq_w2E8B.js";
4
- import { t as pe } from "./useConfig-BilxnBNr.js";
5
- import { t as me } from "./usePrinter-BFvi4jVy.js";
6
- import { n as he, t as ge } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as _e } from "./useSvgExport-Ba9qBr9M.js";
8
- import { t as ve } from "./useNestedProp--NSEmhOH.js";
9
- import { t as ye } from "./useThemeCheck-C43Tcqmk.js";
10
- import { t as be } from "./img-DIQG5q8T.js";
11
- import { n as xe } from "./Title-BODtwViI.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-CtAPwzr2.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-CQTRlzK-.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 v, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as ze, onMounted as Be, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Ve, shallowRef as He, toDisplayString as T, toRefs as Ue, unref as E, watch as We, withCtx as D } from "vue";
2
+ import { $ as t, At as n, Bt as r, D as i, Jt as a, Kt as o, M as s, Pt as c, S as ee, Vt as te, X as l, b as ne, ct as re, i as ie, jt as ae, pt as oe, q as se, t as ce, tt as u, w as le, xt as ue } from "./lib-Bttd6u5E.js";
3
+ import { n as de } from "./useHints-Dq_w2E8B.js";
4
+ import { t as fe } from "./useConfig-DlNpz6P8.js";
5
+ import { t as pe } from "./usePrinter-DN5bYhTG.js";
6
+ import { n as me, t as he } from "./BaseScanner-DZvpgOjM.js";
7
+ import { t as ge } from "./useNestedProp-vPNvh7rV.js";
8
+ import { t as _e } from "./useThemeCheck-C43Tcqmk.js";
9
+ import { t as ve } from "./useChartExport-DNiwdPmb.js";
10
+ import { t as ye } from "./img-Bnokohej.js";
11
+ import { n as be } from "./Title-BE3qg9xl.js";
12
+ import { t as xe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
+ import { l as Se, t as Ce } from "./useResponsive-ZtArZtUf.js";
14
+ import { t as we } from "./DefGrad-DVBqDjhO.js";
15
+ import { t as Te } from "./BaseLegendToggle-DZVucLnv.js";
16
+ import { t as Ee } from "./A11yDataTable-DdRsVULz.js";
17
+ import { t as De } from "./useUserOptionState-DK-_1ddE.js";
18
+ import { t as Oe } from "./useChartAccessibility-DYqac8yF.js";
19
+ import { t as ke } from "./Legend-CQxUgOd-.js";
20
+ import { t as Ae } from "./useAutoSizeLabelsInsideViewbox-DvDwcwi_.js";
21
+ import { t as je } from "./vue_ui_radar-jafTED5j.js";
22
+ import { Fragment as d, Teleport as Me, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as Ne, createTextVNode as Pe, createVNode as Fe, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as Ie, nextTick as Le, normalizeClass as y, normalizeProps as b, normalizeStyle as x, onBeforeUnmount as Re, onMounted as ze, openBlock as S, ref as C, renderList as w, renderSlot as T, resolveDynamicComponent as Be, shallowRef as Ve, toDisplayString as E, toRefs as He, unref as D, watch as Ue, withCtx as O } from "vue";
23
23
  //#region src/components/vue-ui-radar.vue
24
- var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je = ["id"], Ye = { style: { position: "relative" } }, Xe = [
24
+ var We = /* @__PURE__ */ e({ default: () => yt }), Ge = ["id"], Ke = ["id"], qe = ["id"], Je = { style: { position: "relative" } }, Ye = [
25
25
  "xmlns",
26
26
  "aria-describedby",
27
27
  "viewBox"
28
- ], Ze = ["width", "height"], Qe = { key: 1 }, $e = [
28
+ ], Xe = ["width", "height"], Ze = { key: 1 }, Qe = [
29
29
  "x1",
30
30
  "y1",
31
31
  "x2",
32
32
  "y2",
33
33
  "stroke",
34
34
  "stroke-width"
35
- ], et = { key: 0 }, tt = [
35
+ ], $e = { key: 0 }, et = [
36
36
  "d",
37
37
  "stroke",
38
38
  "stroke-width"
39
- ], nt = [
39
+ ], tt = [
40
40
  "d",
41
41
  "stroke",
42
42
  "stroke-width"
43
- ], rt = { key: 2 }, it = [
43
+ ], nt = { key: 2 }, rt = [
44
44
  "x",
45
45
  "y",
46
46
  "text-anchor",
@@ -49,27 +49,27 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
49
49
  "onMouseenter",
50
50
  "onMouseleave",
51
51
  "onClick"
52
- ], at = [
52
+ ], it = [
53
53
  "points",
54
54
  "stroke",
55
55
  "stroke-width"
56
- ], ot = [
56
+ ], at = [
57
57
  "points",
58
58
  "stroke",
59
59
  "stroke-width",
60
60
  "fill"
61
- ], st = [
61
+ ], ot = [
62
62
  "d",
63
63
  "stroke",
64
64
  "stroke-width",
65
65
  "stroke-dasharray"
66
- ], ct = { key: 4 }, lt = [
66
+ ], st = { key: 4 }, ct = [
67
67
  "cx",
68
68
  "cy",
69
69
  "fill",
70
70
  "r",
71
71
  "stroke"
72
- ], ut = {
72
+ ], lt = {
73
73
  key: 0,
74
74
  style: {
75
75
  position: "absolute",
@@ -79,23 +79,23 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
79
79
  },
80
80
  "data-dom-to-png-ignore": "",
81
81
  "aria-hidden": "true"
82
- }, dt = {
82
+ }, ut = {
83
83
  key: 5,
84
84
  class: "vue-data-ui-watermark"
85
- }, ft = ["id"], pt = ["onClick"], mt = { class: "vue-data-ui-legend-item" }, ht = [
85
+ }, dt = ["id"], ft = ["onClick"], pt = { class: "vue-data-ui-legend-item" }, mt = [
86
86
  "stroke",
87
87
  "stroke-width",
88
88
  "stroke-dasharray"
89
- ], gt = {
89
+ ], ht = {
90
90
  key: 0,
91
91
  style: {
92
92
  "max-width": "200px",
93
93
  margin: "0 auto"
94
94
  }
95
- }, _t = {
95
+ }, gt = {
96
96
  class: "vue-ui-radar-tooltip-datalabel",
97
97
  style: { width: "100%" }
98
- }, vt = { class: "vue-ui-radar-tooltip-datalabel-name" }, yt = { key: 0 }, bt = /*#__PURE__*/ Se({
98
+ }, _t = { class: "vue-ui-radar-tooltip-datalabel-name" }, vt = { key: 0 }, yt = /*#__PURE__*/ xe({
99
99
  __name: "vue-ui-radar",
100
100
  props: {
101
101
  config: {
@@ -112,14 +112,14 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
112
112
  }
113
113
  },
114
114
  emits: ["selectLegend", "copyAlt"],
115
- setup(e, { expose: Se, emit: Ge }) {
116
- let bt = g(() => import("./Tooltip-CMTGxeYO.js")), xt = g(() => import("./BaseIcon-91MZoczJ.js").then((e) => e.n)), St = g(() => import("./vue-ui-sparkbar-DYC3By0v.js").then((e) => e.n)), Ct = g(() => import("./vue-ui-accordion-61MlW-Ge.js").then((e) => e.n)), wt = g(() => import("./DataTable-D4tM9s5Y.js")), Tt = g(() => import("./PenAndPaper-cE4J8-rA.js").then((e) => e.t)), Et = g(() => import("./UserOptions-3ujTo3LD.js").then((e) => e.n)), Dt = g(() => import("./PackageVersion--QCMh5k_.js").then((e) => e.t)), Ot = g(() => import("./BaseDraggableDialog-qTnfhLBz.js").then((e) => e.n)), { vue_ui_radar: kt } = pe(), { isThemeValid: At, warnInvalidTheme: jt } = ye(), O = e, Mt = d(() => !!O.dataset && Object.keys(O.dataset).length), k = S(ce()), A = S(!1), Nt = S(""), Pt = S(0), j = S(null), Ft = S(null), It = S(null), Lt = S(null), Rt = S(null), zt = S(0), Bt = S(0), Vt = S(0), Ht = S(!1), M = S(null), Ut = S(null), Wt = S(!1), Gt = S(!1), N = S(null), Kt = S({
115
+ setup(e, { expose: xe, emit: We }) {
116
+ let yt = _(() => import("./Tooltip-DhjyfHwz.js")), bt = _(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), xt = _(() => import("./vue-ui-sparkbar-s-2rBmEz.js").then((e) => e.n)), St = _(() => import("./vue-ui-accordion-DegI2lzR.js").then((e) => e.n)), Ct = _(() => import("./DataTable-BbKgJ5UI.js")), wt = _(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), Tt = _(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), Et = _(() => import("./PackageVersion-DXU7nRr9.js").then((e) => e.t)), Dt = _(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), { vue_ui_radar: Ot } = fe(), { isThemeValid: kt, warnInvalidTheme: At } = _e(), k = e, jt = f(() => !!k.dataset && Object.keys(k.dataset).length), A = C(se()), j = C(!1), Mt = C(""), Nt = C(0), M = C(null), Pt = C(null), Ft = C(null), It = C(null), Lt = C(null), Rt = C(0), zt = C(0), Bt = C(0), Vt = C(!1), N = C(null), Ht = C(null), P = C(null), Ut = C({
117
117
  x: 0,
118
118
  y: 0
119
- }), P = S("pointer"), qt = S(!1), F = S($t());
120
- fe({
119
+ }), Wt = C("pointer"), Gt = C(!1), F = C(Zt());
120
+ de({
121
121
  config: () => F.value,
122
- dataset: () => O.dataset,
122
+ dataset: () => k.dataset,
123
123
  component: "VueUiRadar",
124
124
  rules: [
125
125
  {
@@ -161,7 +161,7 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
161
161
  }
162
162
  ]
163
163
  });
164
- let I = d(() => F.value.userOptions.useCursorPointer), Jt = d(() => a({
164
+ let I = f(() => F.value.userOptions.useCursorPointer), Kt = f(() => a({
165
165
  defaultConfig: {
166
166
  userOptions: { show: !1 },
167
167
  table: { show: !1 },
@@ -177,16 +177,16 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
177
177
  } }
178
178
  },
179
179
  userConfig: F.value.skeletonConfig ?? {}
180
- })), { loading: Yt, FINAL_DATASET: L } = he({
181
- ...Ue(O),
180
+ })), { loading: qt, FINAL_DATASET: L } = me({
181
+ ...He(k),
182
182
  FINAL_CONFIG: F,
183
- prepareConfig: $t,
183
+ prepareConfig: Zt,
184
184
  callback: () => {
185
185
  Promise.resolve().then(async () => {
186
- await Re(), H.value.showTable = F.value.table.show;
186
+ await Le(), H.value.showTable = F.value.table.show;
187
187
  });
188
188
  },
189
- skeletonDataset: O.config?.skeletonDataset ?? {
189
+ skeletonDataset: k.config?.skeletonDataset ?? {
190
190
  categories: [{
191
191
  name: "_",
192
192
  color: "#6A6A6A"
@@ -226,68 +226,68 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
226
226
  },
227
227
  skeletonConfig: a({
228
228
  defaultConfig: F.value,
229
- userConfig: Jt.value
229
+ userConfig: Kt.value
230
230
  })
231
- }), { userOptionsVisible: Xt, setUserOptionsVisibility: Zt, keepUserOptionState: Qt } = Oe({ config: F.value }), { svgRef: R } = ke({ config: F.value.style.chart.title });
232
- function $t() {
233
- let e = ve({
234
- userConfig: O.config,
235
- defaultConfig: kt
231
+ }), { userOptionsVisible: Jt, setUserOptionsVisibility: Yt, keepUserOptionState: Xt } = De({ config: F.value }), { svgRef: R } = Oe({ config: F.value.style.chart.title });
232
+ function Zt() {
233
+ let e = ge({
234
+ userConfig: k.config,
235
+ defaultConfig: Ot
236
236
  }), t = e.theme;
237
237
  if (!t) return e;
238
- if (!At.value(e)) return jt(e), e;
239
- let n = ve({
240
- userConfig: Me[t] || O.config,
238
+ if (!kt.value(e)) return At(e), e;
239
+ let n = ge({
240
+ userConfig: je[t] || k.config,
241
241
  defaultConfig: e
242
- }), r = ve({
243
- userConfig: O.config,
242
+ }), r = ge({
243
+ userConfig: k.config,
244
244
  defaultConfig: n
245
245
  });
246
246
  return {
247
247
  ...r,
248
- customPalette: r.customPalette.length ? r.customPalette : o[t] || s
248
+ customPalette: r.customPalette.length ? r.customPalette : o[t] || c
249
249
  };
250
250
  }
251
- We(() => O.config, (e) => {
252
- F.value = $t(), Xt.value = !F.value.userOptions.showOnChartHover, en(), zt.value += 1, Bt.value += 1, Vt.value += 1, H.value.dataLabels.show = F.value.style.chart.layout.labels.dataLabels.show, H.value.showTable = F.value.table.show, H.value.showTooltip = F.value.style.chart.tooltip ? F.value.style.chart.tooltip.show : !1;
251
+ Ue(() => k.config, (e) => {
252
+ F.value = Zt(), Jt.value = !F.value.userOptions.showOnChartHover, Qt(), Rt.value += 1, zt.value += 1, Bt.value += 1, H.value.dataLabels.show = F.value.style.chart.layout.labels.dataLabels.show, H.value.showTable = F.value.table.show, H.value.showTooltip = F.value.style.chart.tooltip ? F.value.style.chart.tooltip.show : !1;
253
253
  }, { deep: !0 });
254
- let z = He(null), B = He(null), V = d(() => F.value.debug);
255
- function en() {
256
- if (oe(O.dataset) && l({
254
+ let z = Ve(null), B = Ve(null), V = f(() => F.value.debug);
255
+ function Qt() {
256
+ if (ae(k.dataset) && u({
257
257
  componentName: "VueUiRadar",
258
258
  type: "dataset",
259
259
  debug: V.value
260
260
  }), F.value.responsive) {
261
- let e = Ce(() => {
262
- let { width: e, height: t } = we({
263
- chart: j.value,
264
- title: F.value.style.chart.title.text ? Ft.value : null,
265
- legend: F.value.style.chart.legend.show ? It.value : null,
266
- source: Lt.value,
267
- noTitle: Rt.value
261
+ let e = Se(() => {
262
+ let { width: e, height: t } = Ce({
263
+ chart: M.value,
264
+ title: F.value.style.chart.title.text ? Pt.value : null,
265
+ legend: F.value.style.chart.legend.show ? Ft.value : null,
266
+ source: It.value,
267
+ noTitle: Lt.value
268
268
  });
269
269
  requestAnimationFrame(() => {
270
- U.value.width = e, U.value.height = t, Dn();
270
+ U.value.width = e, U.value.height = t, Tn();
271
271
  });
272
272
  });
273
- z.value && (B.value && z.value.unobserve(B.value), z.value.disconnect()), z.value = new ResizeObserver(e), B.value = j.value.parentNode, z.value.observe(B.value);
273
+ z.value && (B.value && z.value.unobserve(B.value), z.value.disconnect()), z.value = new ResizeObserver(e), B.value = M.value.parentNode, z.value.observe(B.value);
274
274
  }
275
- Dn();
275
+ Tn();
276
276
  }
277
- Be(() => {
278
- Ht.value = !0, en();
279
- }), ze(() => {
277
+ ze(() => {
278
+ Vt.value = !0, Qt();
279
+ }), Re(() => {
280
280
  z.value && (B.value && z.value.unobserve(B.value), z.value.disconnect());
281
281
  });
282
- let { isPrinting: tn, isImaging: nn, generatePdf: rn, generateImage: an } = me({
283
- elementId: `vue-ui-radar_${k.value}`,
282
+ let { isPrinting: $t, isImaging: en, generatePdf: tn, generateImage: nn } = pe({
283
+ elementId: `vue-ui-radar_${A.value}`,
284
284
  fileName: F.value.style.chart.title.text || "vue-ui-radar",
285
285
  options: F.value.userOptions.print
286
- }), on = d(() => F.value.userOptions.show && !F.value.style.chart.title.text), sn = d(() => ue(F.value.customPalette)), H = S({
286
+ }), rn = f(() => F.value.userOptions.show && !F.value.style.chart.title.text), an = f(() => le(F.value.customPalette)), H = C({
287
287
  dataLabels: { show: F.value.style.chart.layout.labels.dataLabels.show },
288
288
  showTable: F.value.table.show,
289
289
  showTooltip: F.value.style.chart.tooltip.show
290
- }), cn = d(() => ({ style: {
290
+ }), on = f(() => ({ style: {
291
291
  backgroundColor: "#FFFFFF00",
292
292
  animation: {
293
293
  show: F.value.style.chart.tooltip.animation.show,
@@ -301,44 +301,44 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
301
301
  backgroundColor: "#CCCCCC",
302
302
  opacity: 30
303
303
  }
304
- } })), U = S({
304
+ } })), U = C({
305
305
  height: 312,
306
306
  width: 512
307
- }), ln = Ge, W = S([]), G = S(null), K = S(!1);
308
- function un() {
307
+ }), sn = We, W = C([]), G = C(null), K = C(!1);
308
+ function cn() {
309
309
  W.value.length ? W.value = [] : X.value.forEach((e, t) => {
310
310
  W.value.push(t);
311
- }), dn();
311
+ }), ln();
312
312
  }
313
- function dn() {
314
- ln("selectLegend", X.value.filter((e, t) => !W.value.includes(t)).map((e) => ({
313
+ function ln() {
314
+ sn("selectLegend", X.value.filter((e, t) => !W.value.includes(t)).map((e) => ({
315
315
  name: e.name,
316
316
  color: e.color,
317
317
  proportion: e.totalProportion
318
318
  })));
319
319
  }
320
- function fn(e) {
320
+ function un(e) {
321
321
  K.value = !0, W.value.includes(e) ? (G.value = e, W.value = W.value.filter((t) => t !== e), setTimeout(() => {
322
322
  K.value = !1, G.value = null;
323
323
  }, 500)) : (W.value.push(e), setTimeout(() => {
324
324
  K.value = !1;
325
- }, 500)), dn();
325
+ }, 500)), ln();
326
326
  }
327
- function pn() {
327
+ function dn() {
328
328
  return X.value.map((e) => ({
329
329
  name: e.name,
330
330
  color: e.color,
331
331
  proportion: e.totalProportion
332
332
  }));
333
333
  }
334
- function mn() {
334
+ function fn() {
335
335
  let e = L.value;
336
336
  if ([null, void 0].includes(e?.categories)) {
337
- l({
337
+ u({
338
338
  componentName: "VueUiRadar",
339
339
  type: "dataset",
340
340
  debug: V.value
341
- }), l({
341
+ }), u({
342
342
  componentName: "VueUiRadar",
343
343
  type: "datasetAttribute",
344
344
  property: "categories ({ name: string; prefix?: string; suffix?: string}[])",
@@ -346,31 +346,30 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
346
346
  });
347
347
  return;
348
348
  }
349
- e.categories.length === 0 ? l({
349
+ e.categories.length === 0 ? u({
350
350
  componentName: "VueUiRadar",
351
351
  type: "datasetAttributeEmpty",
352
352
  property: "categories",
353
353
  debug: V.value
354
- }) : e.categories.forEach((e, t) => {
355
- se({
354
+ }) : V.value && e.categories.forEach((e, t) => {
355
+ oe({
356
356
  datasetObject: e,
357
357
  requiredAttributes: ["name"]
358
358
  }).forEach((e) => {
359
- l({
359
+ u({
360
360
  componentName: "VueUiRadar",
361
361
  type: "datasetAttribute",
362
362
  property: `category.${e} at index ${t}`,
363
- index: t,
364
- debug: V.value
363
+ index: t
365
364
  });
366
365
  });
367
- }), [null, void 0].includes(e?.series) ? l({
366
+ }), [null, void 0].includes(e?.series) ? u({
368
367
  componentName: "VueUiRadar",
369
368
  type: "datasetAttribute",
370
369
  property: "series ({ name: string; values: number[]; color?: string; target: number}[])",
371
370
  debug: V.value
372
- }) : e.series.forEach((e, t) => {
373
- se({
371
+ }) : V.value && e.series.forEach((e, t) => {
372
+ oe({
374
373
  datasetObject: e,
375
374
  requiredAttributes: [
376
375
  "name",
@@ -378,80 +377,79 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
378
377
  "target"
379
378
  ]
380
379
  }).forEach((e) => {
381
- l({
380
+ u({
382
381
  componentName: "VueUiRadar",
383
382
  type: "datasetSerieAttribute",
384
383
  key: "series",
385
384
  property: e,
386
- index: t,
387
- debug: V.value
385
+ index: t
388
386
  });
389
387
  });
390
388
  });
391
389
  }
392
- We(() => L.value, () => mn(), {
390
+ Ue(() => L.value, () => fn(), {
393
391
  deep: !0,
394
392
  immediate: !0
395
393
  });
396
- let q = d(() => {
397
- let e = Array.isArray(L.value?.categories) ? L.value.categories : [], t = sn.value ?? s;
394
+ let q = f(() => {
395
+ let e = Array.isArray(L.value?.categories) ? L.value.categories : [], t = an.value ?? c;
398
396
  return e.map((e, n) => ({
399
397
  name: e?.name ?? "",
400
- categoryId: `radar_category_${k.value}_${n}`,
401
- color: te(e?.color) || t[n] || s[n % s.length],
398
+ categoryId: `radar_category_${A.value}_${n}`,
399
+ color: ee(e?.color) || t[n] || c[n % c.length],
402
400
  prefix: e?.prefix ?? "",
403
401
  suffix: e?.suffix ?? ""
404
402
  }));
405
- }), J = d(() => L.value.series.map((e, t) => ({
403
+ }), J = f(() => L.value.series.map((e, t) => ({
406
404
  ...e,
407
- color: te(e.color) || sn.value[t] || s[t] || s[t % s.length],
408
- serieId: `radar_serie_${k.value}_${t}`,
405
+ color: ee(e.color) || an.value[t] || c[t] || c[t % c.length],
406
+ serieId: `radar_serie_${A.value}_${t}`,
409
407
  formatter: e.formatter || null,
410
408
  absoluteIndex: t
411
409
  })));
412
- function hn(e) {
413
- return J.value.length ? X.value.find((t) => t.name === e) || (F.value.debug && console.warn(`VueUiRadar - Series name not found "${e}"`), null) : (F.value.debug && console.warn("VueUiRadar - There are no series to show."), null);
410
+ function pn(e) {
411
+ return J.value.length ? X.value.find((t) => t.name === e) || (V.value && console.warn(`VueUiRadar - Series name not found "${e}"`), null) : (V.value && console.warn("VueUiRadar - There are no series to show."), null);
414
412
  }
415
- function gn(e) {
416
- let t = hn(e);
417
- t !== null && W.value.includes(t.absoluteIndex) && fn(t.absoluteIndex);
413
+ function mn(e) {
414
+ let t = pn(e);
415
+ t !== null && W.value.includes(t.absoluteIndex) && un(t.absoluteIndex);
418
416
  }
419
- function _n(e) {
420
- let t = hn(e);
421
- t !== null && (W.value.includes(t.absoluteIndex) || fn(t.absoluteIndex));
417
+ function hn(e) {
418
+ let t = pn(e);
419
+ t !== null && (W.value.includes(t.absoluteIndex) || un(t.absoluteIndex));
422
420
  }
423
- let vn = d(() => Math.max(0, ...J.value.flatMap((e) => e.values)));
424
- function yn(e) {
425
- return F.value.style.chart.layout.scaleToAxisMax ? Math.max(1, e.target || 0, ...e.values) : e.target || vn.value || 1;
421
+ let gn = f(() => Math.max(0, ...J.value.flatMap((e) => e.values)));
422
+ function _n(e) {
423
+ return F.value.style.chart.layout.scaleToAxisMax ? Math.max(1, e.target || 0, ...e.values) : e.target || gn.value || 1;
426
424
  }
427
- let bn = d(() => J.value.map((e, t) => {
428
- let n = Cn.value.coordinates[t];
429
- return On({
425
+ let vn = f(() => J.value.map((e, t) => {
426
+ let n = xn.value.coordinates[t];
427
+ return En({
430
428
  centerX: U.value.width / 2,
431
429
  centerY: U.value.height / 2,
432
430
  apexX: n.x,
433
431
  apexY: n.y,
434
- proportion: (e.target || 0) / yn(e)
432
+ proportion: (e.target || 0) / _n(e)
435
433
  });
436
- })), xn = d(() => J.value.length), Sn = d(() => Math.min(U.value.width, U.value.height) / 3), Cn = d(() => ee({
434
+ })), yn = f(() => J.value.length), bn = f(() => Math.min(U.value.width, U.value.height) / 3), xn = f(() => s({
437
435
  plot: {
438
436
  x: U.value.width / 2,
439
437
  y: U.value.height / 2
440
438
  },
441
- radius: Sn.value,
442
- sides: xn.value,
439
+ radius: bn.value,
440
+ sides: yn.value,
443
441
  rotation: 0
444
- })), wn = d(() => {
442
+ })), Sn = f(() => {
445
443
  let e = [];
446
- for (let t = 0; t < Sn.value; t += Sn.value / F.value.style.chart.layout.grid.graduations) e.push(t);
444
+ for (let t = 0; t < bn.value; t += bn.value / F.value.style.chart.layout.grid.graduations) e.push(t);
447
445
  return e;
448
- }), Y = d(() => Cn.value.coordinates.map((e, t) => {
449
- let n = J.value[t], r = J.value[t].values.map((t) => On({
446
+ }), Y = f(() => xn.value.coordinates.map((e, t) => {
447
+ let n = J.value[t], r = J.value[t].values.map((t) => En({
450
448
  centerX: U.value.width / 2,
451
449
  centerY: U.value.height / 2,
452
450
  apexX: e.x,
453
451
  apexY: e.y,
454
- proportion: t / yn(n)
452
+ proportion: t / _n(n)
455
453
  }));
456
454
  return {
457
455
  ...e,
@@ -460,11 +458,11 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
460
458
  };
461
459
  }).map((e) => ({
462
460
  ...e,
463
- labelX: Tn(e).x,
464
- labelY: Tn(e).y,
465
- labelAnchor: Tn(e).anchor
461
+ labelX: Cn(e).x,
462
+ labelY: Cn(e).y,
463
+ labelAnchor: Cn(e).anchor
466
464
  })));
467
- function Tn({ x: e, y: t }) {
465
+ function Cn({ x: e, y: t }) {
468
466
  let n = "middle";
469
467
  return e = Math.round(e), t = Math.round(t), e > U.value.width / 2 && (e += 12, n = "start"), e < U.value.width / 2 && (e -= 12, n = "end"), t > U.value.height / 2 + 1 && (t += 20), t < U.value.height / 2 - 1 && (t -= 12), t === U.value.height / 2 && (t += 4), {
470
468
  x: e,
@@ -472,49 +470,49 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
472
470
  anchor: n
473
471
  };
474
472
  }
475
- let En = d({
473
+ let wn = f({
476
474
  get: () => F.value.style.chart.layout.labels.dataLabels.fontSize,
477
475
  set: (e) => e
478
- }), { autoSizeLabels: Dn } = je({
476
+ }), { autoSizeLabels: Tn } = Ae({
479
477
  svgRef: R,
480
478
  fontSize: F.value.style.chart.layout.labels.dataLabels.fontSize,
481
479
  minFontSize: 6,
482
- sizeRef: En,
480
+ sizeRef: wn,
483
481
  labelClass: ".vue-ui-radar-apex-label"
484
482
  });
485
- function On({ centerX: e, centerY: t, apexX: n, apexY: r, proportion: i }) {
483
+ function En({ centerX: e, centerY: t, apexX: n, apexY: r, proportion: i }) {
486
484
  return {
487
485
  x: e + (n - e) * i,
488
486
  y: t + (r - t) * i
489
487
  };
490
488
  }
491
- let X = d(() => {
492
- let e = J.value.map((e, t) => e.values.map((t) => t / (e.target || vn.value)));
489
+ let X = f(() => {
490
+ let e = J.value.map((e, t) => e.values.map((t) => t / (e.target || gn.value)));
493
491
  return q.value.map((t, n) => {
494
- let r = re(e.map((e) => e[n]).reduce((e, t) => e + t, 0) / J.value.length);
492
+ let r = ne(e.map((e) => e[n]).reduce((e, t) => e + t, 0) / J.value.length);
495
493
  return {
496
494
  ...t,
497
495
  absoluteIndex: n,
498
496
  totalProportion: r,
499
497
  shape: "circle",
500
498
  opacity: W.value.includes(n) ? .5 : 1,
501
- segregate: () => fn(n),
499
+ segregate: () => un(n),
502
500
  isSegregated: W.value.includes(n),
503
- display: `${t.name}: ${c({
501
+ display: `${t.name}: ${l({
504
502
  v: (r ?? 0) * 100,
505
503
  s: "%",
506
504
  r: F.value.style.chart.legend.roundingPercentage
507
505
  })}`
508
506
  };
509
507
  });
510
- }), kn = d(() => ({
508
+ }), Dn = f(() => ({
511
509
  cy: "radar-div-legend",
512
510
  backgroundColor: F.value.style.chart.legend.backgroundColor,
513
511
  color: F.value.style.chart.legend.color,
514
512
  fontSize: F.value.style.chart.legend.fontSize,
515
513
  paddingBottom: 12,
516
514
  fontWeight: F.value.style.chart.legend.bold ? "bold" : ""
517
- })), Z = d(() => {
515
+ })), Z = f(() => {
518
516
  let e = [
519
517
  {
520
518
  name: F.value.translations.datapoint,
@@ -530,18 +528,18 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
530
528
  head: e,
531
529
  body: L.value.series.map((e) => [
532
530
  e.name,
533
- ae(e.formatter, e.target, c({
531
+ ie(e.formatter, e.target, l({
534
532
  p: e.prefix,
535
533
  v: e.target,
536
534
  s: e.suffix,
537
535
  r: F.value.table.td.roundingValue
538
536
  })),
539
- ...e.values.map((t, n) => `${ae(e.formatter, t, c({
537
+ ...e.values.map((t, n) => `${ie(e.formatter, t, l({
540
538
  p: q.value[n]?.prefix ?? "",
541
539
  v: t,
542
540
  s: q.value[n]?.suffix ?? "",
543
541
  r: F.value.table.td.roundingValue
544
- }))} (${isNaN(t / e.target) ? "" : c({
542
+ }))} (${isNaN(t / e.target) ? "" : l({
545
543
  v: t / e.target * 100,
546
544
  s: "%",
547
545
  r: F.value.table.td.roundingPercentage
@@ -562,26 +560,26 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
562
560
  },
563
561
  colNames: e
564
562
  };
565
- }), Q = S(null), An = S([]), jn = S(null);
566
- function Mn(e, t) {
567
- A.value = !1, Q.value = null, N.value = null, P.value = "pointer", F.value.events.datapointLeave && F.value.events.datapointLeave({
563
+ }), Q = C(null), On = C([]), kn = C(null);
564
+ function An(e, t) {
565
+ j.value = !1, Q.value = null, P.value = null, Wt.value = "pointer", F.value.events.datapointLeave && F.value.events.datapointLeave({
568
566
  datapoint: e,
569
567
  seriesIndex: t
570
568
  });
571
569
  }
572
- function Nn(e, t) {
570
+ function jn(e, t) {
573
571
  F.value.events.datapointClick && F.value.events.datapointClick({
574
572
  datapoint: e,
575
573
  seriesIndex: t
576
574
  });
577
575
  }
578
- function Pn(e, t, n = "pointer") {
576
+ function Mn(e, t, n = "pointer") {
579
577
  F.value.events.datapointEnter && F.value.events.datapointEnter({
580
578
  datapoint: e,
581
579
  seriesIndex: t
582
- }), P.value = n, N.value = t;
580
+ }), Wt.value = n, P.value = t;
583
581
  let r = q.value.slice();
584
- An.value = [], Q.value = t, A.value = !0, jn.value = {
582
+ On.value = [], Q.value = t, j.value = !0, kn.value = {
585
583
  datapoint: e,
586
584
  seriesIndex: t,
587
585
  series: {
@@ -592,7 +590,7 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
592
590
  config: F.value
593
591
  };
594
592
  let i = F.value.style.chart.tooltip.customFormat;
595
- if (de(i) && ie(() => i({
593
+ if (ue(i) && re(() => i({
596
594
  seriesIndex: t,
597
595
  datapoint: e,
598
596
  series: {
@@ -602,7 +600,7 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
602
600
  },
603
601
  config: F.value
604
602
  }))) {
605
- Nt.value = i({
603
+ Mt.value = i({
606
604
  seriesIndex: t,
607
605
  datapoint: e,
608
606
  series: {
@@ -614,31 +612,31 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
614
612
  });
615
613
  return;
616
614
  }
617
- Nt.value = `<div style="width:100%;text-align:center;border-bottom:1px solid ${F.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`;
615
+ Mt.value = `<div style="width:100%;text-align:center;border-bottom:1px solid ${F.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`;
618
616
  for (let t = 0; t < e.values.length; t += 1) if (!W.value.includes(t)) {
619
- let n = r[t], i = e.values[t], a = isNaN(i / e.target) ? 0 : i / e.target * 100, o = ae(e.formatter, i, c({
617
+ let n = r[t], i = e.values[t], a = isNaN(i / e.target) ? 0 : i / e.target * 100, o = ie(e.formatter, i, l({
620
618
  p: q.value[t].prefix,
621
619
  v: i,
622
620
  s: q.value[t].suffix,
623
621
  r: F.value.style.chart.tooltip.roundingValue
624
- }), { datapoint: e }), ee = c({
622
+ }), { datapoint: e }), s = l({
625
623
  v: a,
626
624
  s: "%",
627
625
  r: F.value.style.chart.tooltip.roundingPercentage
628
- }), s = F.value.style.chart.tooltip.showValue && F.value.style.chart.tooltip.showPercentage ? `${o} (${ee})` : F.value.style.chart.tooltip.showValue && !F.value.style.chart.tooltip.showPercentage ? o : !F.value.style.chart.tooltip.showValue && F.value.style.chart.tooltip.showPercentage ? `${ee}` : "";
629
- An.value.push({
626
+ }), c = F.value.style.chart.tooltip.showValue && F.value.style.chart.tooltip.showPercentage ? `${o} (${s})` : F.value.style.chart.tooltip.showValue && !F.value.style.chart.tooltip.showPercentage ? o : !F.value.style.chart.tooltip.showValue && F.value.style.chart.tooltip.showPercentage ? `${s}` : "";
627
+ On.value.push({
630
628
  name: n?.name ?? `#${t + 1}`,
631
629
  value: e.values[t] / e.target * 100,
632
630
  color: n?.color,
633
- suffix: s,
631
+ suffix: c,
634
632
  prefix: "",
635
633
  rounding: F.value.style.chart.tooltip.roundingPercentage,
636
634
  formatter: e.formatter
637
635
  });
638
636
  }
639
637
  }
640
- function Fn(e = null) {
641
- Re(() => {
638
+ function Nn(e = null) {
639
+ Le(() => {
642
640
  let n = [
643
641
  [F.value.style.chart.title.text],
644
642
  [F.value.style.chart.title.subtitle.text],
@@ -651,31 +649,31 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
651
649
  e.name,
652
650
  e.target,
653
651
  ...e.values.flatMap((t) => [t, isNaN(t / e.target) ? "" : t / e.target * 100])
654
- ]), o = i(n.concat([r]).concat(a));
655
- e ? e(o) : t({
656
- csvContent: o,
652
+ ]), o = n.concat([r]).concat(a), s = i(o);
653
+ e ? e(s) : t({
654
+ csvContent: s,
657
655
  title: F.value.style.chart.title.text || "vue-ui-radar"
658
656
  });
659
657
  });
660
658
  }
661
- let $ = S(!1);
662
- function In(e) {
663
- $.value = e, Pt.value += 1;
659
+ let $ = C(!1);
660
+ function Pn(e) {
661
+ $.value = e, Nt.value += 1;
664
662
  }
665
- function Ln() {
663
+ function Fn() {
666
664
  H.value.showTable = !H.value.showTable;
667
665
  }
668
- function Rn() {
666
+ function In() {
669
667
  H.value.showTooltip = !H.value.showTooltip;
670
668
  }
671
- let zn = S(!1);
672
- function Bn() {
673
- zn.value = !zn.value;
669
+ let Ln = C(!1);
670
+ function Rn() {
671
+ Ln.value = !Ln.value;
674
672
  }
675
- async function Vn({ scale: e = 2 } = {}) {
676
- if (!j.value) return;
677
- let { width: t, height: n } = j.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await be({
678
- domElement: j.value,
673
+ async function zn({ scale: e = 2 } = {}) {
674
+ if (!M.value) return;
675
+ let { width: t, height: n } = M.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ye({
676
+ domElement: M.value,
679
677
  base64: !0,
680
678
  img: !0,
681
679
  scale: e
@@ -689,10 +687,10 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
689
687
  aspectRatio: r
690
688
  };
691
689
  }
692
- let Hn = d(() => {
690
+ let Bn = f(() => {
693
691
  let e = F.value.table.useDialog && !F.value.table.show, t = H.value.showTable;
694
692
  return {
695
- component: e ? Ot : Ct,
693
+ component: e ? Dt : St,
696
694
  title: `${F.value.style.chart.title.text}${F.value.style.chart.title.subtitle.text ? `: ${F.value.style.chart.title.subtitle.text}` : ""}`,
697
695
  props: e ? {
698
696
  backgroundColor: F.value.table.th.backgroundColor,
@@ -700,7 +698,7 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
700
698
  headerColor: F.value.table.th.color,
701
699
  headerBg: F.value.table.th.backgroundColor,
702
700
  isFullscreen: $.value,
703
- fullscreenParent: j.value,
701
+ fullscreenParent: M.value,
704
702
  forcedWidth: Math.min(800, window.innerWidth * .8),
705
703
  isCursorPointer: I.value
706
704
  } : {
@@ -720,51 +718,26 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
720
718
  }
721
719
  };
722
720
  });
723
- We(() => H.value.showTable, (e) => {
724
- F.value.table.show || (e && F.value.table.useDialog && M.value ? M.value.open() : "close" in M.value && M.value.close());
721
+ Ue(() => H.value.showTable, (e) => {
722
+ F.value.table.show || (e && F.value.table.useDialog && N.value ? N.value.open() : "close" in N.value && N.value.close());
725
723
  });
726
- function Un() {
727
- H.value.showTable = !1, Ut.value && Ut.value.setTableIconState(!1);
724
+ function Vn() {
725
+ H.value.showTable = !1, Ht.value && Ht.value.setTableIconState(!1);
728
726
  }
729
- let Wn = d(() => X.value.map((e) => ({
727
+ let Hn = f(() => X.value.map((e) => ({
730
728
  ...e,
731
729
  name: e.display
732
- }))), Gn = d(() => F.value.style.chart.backgroundColor), Kn = d(() => F.value.style.chart.legend), { exportSvg: qn, getSvg: Jn } = _e({
730
+ }))), Un = f(() => F.value.style.chart.backgroundColor), Wn = f(() => F.value.style.chart.legend), Gn = f(() => F.value.style.chart.title), { isCallbackImaging: Kn, isCallbackSvg: qn, generateSvg: Jn, onGenerateImage: Yn } = ve({
733
731
  svg: R,
734
- title: d(() => F.value.style.chart.title),
735
- legend: Kn,
736
- legendItems: Wn,
737
- backgroundColor: Gn
732
+ title: Gn,
733
+ legend: Wn,
734
+ legendItems: Hn,
735
+ backgroundColor: Un,
736
+ getSvgCallback: () => F.value.userOptions.callbacks.svg,
737
+ generateImage: nn
738
738
  });
739
- async function Yn({ isCb: e }) {
740
- Gt.value = !0, await Re();
741
- try {
742
- if (e) {
743
- let { blob: e, url: t, text: n, dataUrl: r } = await Jn();
744
- await Promise.resolve(F.value.userOptions.callbacks.svg({
745
- blob: e,
746
- url: t,
747
- text: n,
748
- dataUrl: r
749
- }));
750
- } else await Promise.resolve(qn());
751
- } finally {
752
- Gt.value = !1;
753
- }
754
- }
755
- function Xn(e) {
756
- if (e?.stage === "start") {
757
- Wt.value = !0;
758
- return;
759
- }
760
- if (e?.stage === "end") {
761
- Wt.value = !1;
762
- return;
763
- }
764
- an();
765
- }
766
- async function Zn() {
767
- if (ln("copyAlt", {
739
+ async function Xn() {
740
+ if (sn("copyAlt", {
768
741
  config: F.value,
769
742
  dataset: Y.value
770
743
  }), !F.value.userOptions.callbacks.altCopy) {
@@ -776,78 +749,78 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
776
749
  dataset: Y.value
777
750
  }));
778
751
  }
779
- function Qn() {
780
- N.value = null, qt.value = !0;
752
+ function Zn() {
753
+ P.value = null, Gt.value = !0;
781
754
  }
782
- function $n() {
783
- N.value = null, P.value = "pointer", A.value = !1, Q.value = null, qt.value = !1;
755
+ function Qn() {
756
+ P.value = null, Wt.value = "pointer", j.value = !1, Q.value = null, Gt.value = !1;
784
757
  }
785
- function er(e) {
758
+ function $n(e) {
786
759
  if (!Number.isFinite(e) || !R.value) return;
787
760
  let t = Y.value[e];
788
761
  if (!t) return;
789
762
  let n = R.value.getBoundingClientRect();
790
- Kt.value = {
763
+ Ut.value = {
791
764
  x: n.left + t.labelX / U.value.width * n.width,
792
765
  y: n.top + t.labelY / U.value.height * n.height
793
766
  };
794
767
  }
795
- function tr(e) {
796
- if (!R.value || zn.value || document.activeElement !== R.value || !Y.value.length) return;
768
+ function er(e) {
769
+ if (!R.value || Ln.value || document.activeElement !== R.value || !Y.value.length) return;
797
770
  let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
798
771
  if (!t && !n && !r && !i) return;
799
772
  if (e.preventDefault(), e.stopPropagation(), i) {
800
- N.value = null, P.value = "pointer", A.value = !1, Q.value = null;
773
+ P.value = null, Wt.value = "pointer", j.value = !1, Q.value = null;
801
774
  return;
802
775
  }
803
776
  if (r) {
804
- if (N.value === null) return;
805
- let e = Y.value[N.value];
777
+ if (P.value === null) return;
778
+ let e = Y.value[P.value];
806
779
  if (!e) return;
807
- Nn(e, N.value);
780
+ jn(e, P.value);
808
781
  return;
809
782
  }
810
- let a = N.value;
783
+ let a = P.value;
811
784
  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));
812
785
  let o = Y.value[a];
813
- o && (N.value = a, er(a), Pn(o, a, "keyboard"));
786
+ o && (P.value = a, $n(a), Mn(o, a, "keyboard"));
814
787
  }
815
- let nr = d(() => ({
788
+ let tr = f(() => ({
816
789
  headers: Z.value?.colNames?.map((e) => e.name ?? e) ?? [],
817
790
  rows: Z.value?.body ?? []
818
791
  }));
819
- return Se({
820
- getData: pn,
821
- getImage: Vn,
822
- generatePdf: rn,
823
- generateCsv: Fn,
824
- generateImage: an,
825
- generateSvg: Yn,
826
- hideSeries: _n,
827
- showSeries: gn,
828
- toggleTable: Ln,
829
- toggleTooltip: Rn,
830
- toggleAnnotator: Bn,
831
- toggleFullscreen: In,
832
- copyAlt: Zn
833
- }), (e, t) => (x(), m("div", {
834
- class: v(`vue-data-ui-component vue-ui-radar ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${F.value.useCssAnimation ? "" : "vue-ui-dna"}`),
792
+ return xe({
793
+ getData: dn,
794
+ getImage: zn,
795
+ generatePdf: tn,
796
+ generateCsv: Nn,
797
+ generateImage: nn,
798
+ generateSvg: Jn,
799
+ hideSeries: hn,
800
+ showSeries: mn,
801
+ toggleTable: Fn,
802
+ toggleTooltip: In,
803
+ toggleAnnotator: Rn,
804
+ toggleFullscreen: Pn,
805
+ copyAlt: Xn
806
+ }), (e, t) => (S(), h("div", {
807
+ class: y(`vue-data-ui-component vue-ui-radar ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${F.value.useCssAnimation ? "" : "vue-ui-dna"}`),
835
808
  ref_key: "radarChart",
836
- ref: j,
837
- id: `vue-ui-radar_${k.value}`,
838
- style: b(`font-family:${F.value.style.fontFamily};width:100%; ${F.value.responsive ? "height: 100%;" : ""} text-align:center;background:${F.value.style.chart.backgroundColor}`),
839
- onMouseenter: t[2] ||= () => E(Zt)(!0),
840
- onMouseleave: t[3] ||= () => E(Zt)(!1)
809
+ ref: M,
810
+ id: `vue-ui-radar_${A.value}`,
811
+ style: x(`font-family:${F.value.style.fontFamily};width:100%; ${F.value.responsive ? "height: 100%;" : ""} text-align:center;background:${F.value.style.chart.backgroundColor}`),
812
+ onMouseenter: t[2] ||= () => D(Yt)(!0),
813
+ onMouseleave: t[3] ||= () => D(Yt)(!1)
841
814
  }, [
842
- h("div", {
843
- id: `chart-instructions-${k.value}`,
815
+ g("div", {
816
+ id: `chart-instructions-${A.value}`,
844
817
  class: "sr-only"
845
- }, [h("p", null, T(F.value.a11y.translations.keyboardNavigation), 1)], 8, qe),
846
- nr.value?.rows?.length ? (x(), f(De, {
818
+ }, [g("p", null, E(F.value.a11y.translations.keyboardNavigation), 1)], 8, Ke),
819
+ tr.value?.rows?.length ? (S(), p(Ee, {
847
820
  key: 0,
848
- uid: k.value,
849
- head: nr.value.headers,
850
- body: nr.value.rows,
821
+ uid: A.value,
822
+ head: tr.value.headers,
823
+ body: tr.value.rows,
851
824
  notice: F.value.a11y.translations.tableAvailable,
852
825
  caption: F.value.a11y.translations.tableCaption
853
826
  }, null, 8, [
@@ -856,22 +829,22 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
856
829
  "body",
857
830
  "notice",
858
831
  "caption"
859
- ])) : p("", !0),
860
- F.value.userOptions.buttons.annotator ? (x(), f(E(Tt), {
832
+ ])) : m("", !0),
833
+ F.value.userOptions.buttons.annotator ? (S(), p(D(wt), {
861
834
  key: 1,
862
- svgRef: E(R),
835
+ svgRef: D(R),
863
836
  backgroundColor: F.value.style.chart.backgroundColor,
864
837
  color: F.value.style.chart.color,
865
- active: zn.value,
838
+ active: Ln.value,
866
839
  isCursorPointer: I.value,
867
- onClose: Bn
840
+ onClose: Rn
868
841
  }, {
869
- "annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
870
- "annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", y(_({ color: t })), void 0, !0)]),
871
- "annotator-action-draw": D(({ mode: t }) => [w(e.$slots, "annotator-action-draw", y(_({ mode: t })), void 0, !0)]),
872
- "annotator-action-undo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-undo", y(_({ disabled: t })), void 0, !0)]),
873
- "annotator-action-redo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-redo", y(_({ disabled: t })), void 0, !0)]),
874
- "annotator-action-delete": D(({ disabled: t }) => [w(e.$slots, "annotator-action-delete", y(_({ disabled: t })), void 0, !0)]),
842
+ "annotator-action-close": O(() => [T(e.$slots, "annotator-action-close", {}, void 0, !0)]),
843
+ "annotator-action-color": O(({ color: t }) => [T(e.$slots, "annotator-action-color", b(v({ color: t })), void 0, !0)]),
844
+ "annotator-action-draw": O(({ mode: t }) => [T(e.$slots, "annotator-action-draw", b(v({ mode: t })), void 0, !0)]),
845
+ "annotator-action-undo": O(({ disabled: t }) => [T(e.$slots, "annotator-action-undo", b(v({ disabled: t })), void 0, !0)]),
846
+ "annotator-action-redo": O(({ disabled: t }) => [T(e.$slots, "annotator-action-redo", b(v({ disabled: t })), void 0, !0)]),
847
+ "annotator-action-delete": O(({ disabled: t }) => [T(e.$slots, "annotator-action-delete", b(v({ disabled: t })), void 0, !0)]),
875
848
  _: 3
876
849
  }, 8, [
877
850
  "svgRef",
@@ -879,21 +852,21 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
879
852
  "color",
880
853
  "active",
881
854
  "isCursorPointer"
882
- ])) : p("", !0),
883
- on.value ? (x(), m("div", {
855
+ ])) : m("", !0),
856
+ rn.value ? (S(), h("div", {
884
857
  key: 2,
885
858
  ref_key: "noTitle",
886
- ref: Rt,
859
+ ref: Lt,
887
860
  class: "vue-data-ui-no-title-space",
888
861
  style: "height:36px; width: 100%;background:transparent"
889
- }, null, 512)) : p("", !0),
890
- F.value.style.chart.title.text ? (x(), m("div", {
862
+ }, null, 512)) : m("", !0),
863
+ F.value.style.chart.title.text ? (S(), h("div", {
891
864
  key: 3,
892
865
  ref_key: "chartTitle",
893
- ref: Ft,
866
+ ref: Pt,
894
867
  style: "width:100%;background:transparent;padding-bottom:12px"
895
- }, [(x(), f(xe, {
896
- key: `title_${zt.value}`,
868
+ }, [(S(), p(be, {
869
+ key: `title_${Rt.value}`,
897
870
  config: {
898
871
  title: {
899
872
  cy: "radar-div-title",
@@ -904,17 +877,17 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
904
877
  ...F.value.style.chart.title.subtitle
905
878
  }
906
879
  }
907
- }, null, 8, ["config"]))], 512)) : p("", !0),
908
- h("div", { id: `legend-top-${k.value}` }, null, 8, Je),
909
- F.value.userOptions.show && Mt.value && (E(Qt) || E(Xt)) ? (x(), f(E(Et), {
880
+ }, null, 8, ["config"]))], 512)) : m("", !0),
881
+ g("div", { id: `legend-top-${A.value}` }, null, 8, qe),
882
+ F.value.userOptions.show && jt.value && (D(Xt) || D(Jt)) ? (S(), p(D(Tt), {
910
883
  ref_key: "userOptionsRef",
911
- ref: Ut,
912
- key: `user_options_${Pt.value}`,
884
+ ref: Ht,
885
+ key: `user_options_${Nt.value}`,
913
886
  backgroundColor: F.value.style.chart.backgroundColor,
914
887
  color: F.value.style.chart.color,
915
- isImaging: E(nn),
916
- isPrinting: E(tn),
917
- uid: k.value,
888
+ isImaging: D(en),
889
+ isPrinting: D($t),
890
+ uid: A.value,
918
891
  hasTooltip: F.value.userOptions.buttons.tooltip && F.value.style.chart.tooltip.show,
919
892
  hasPdf: F.value.userOptions.buttons.pdf,
920
893
  hasImg: F.value.userOptions.buttons.img,
@@ -926,28 +899,28 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
926
899
  isFullscreen: $.value,
927
900
  isTooltip: H.value.showTooltip,
928
901
  titles: { ...F.value.userOptions.buttonTitles },
929
- chartElement: j.value,
902
+ chartElement: M.value,
930
903
  position: F.value.userOptions.position,
931
904
  hasAnnotator: F.value.userOptions.buttons.annotator,
932
- isAnnotation: zn.value,
905
+ isAnnotation: Ln.value,
933
906
  callbacks: F.value.userOptions.callbacks,
934
907
  printScale: F.value.userOptions.print.scale,
935
908
  tableDialog: F.value.table.useDialog,
936
909
  isCursorPointer: I.value,
937
- onToggleFullscreen: In,
938
- onGeneratePdf: E(rn),
939
- onGenerateCsv: Fn,
940
- onGenerateImage: Xn,
941
- onGenerateSvg: Yn,
942
- onToggleTable: Ln,
943
- onToggleTooltip: Rn,
944
- onToggleAnnotator: Bn,
945
- onCopyAlt: Zn,
946
- style: b({ visibility: E(Qt) ? E(Xt) ? "visible" : "hidden" : "visible" })
947
- }, Pe({ _: 2 }, [
910
+ onToggleFullscreen: Pn,
911
+ onGeneratePdf: D(tn),
912
+ onGenerateCsv: Nn,
913
+ onGenerateImage: D(Yn),
914
+ onGenerateSvg: D(Jn),
915
+ onToggleTable: Fn,
916
+ onToggleTooltip: In,
917
+ onToggleAnnotator: Rn,
918
+ onCopyAlt: Xn,
919
+ style: x({ visibility: D(Xt) ? D(Jt) ? "visible" : "hidden" : "visible" })
920
+ }, Ne({ _: 2 }, [
948
921
  e.$slots.menuIcon ? {
949
922
  name: "menuIcon",
950
- fn: D(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", y(_({
923
+ fn: O(({ isOpen: t, color: n }) => [T(e.$slots, "menuIcon", b(v({
951
924
  isOpen: t,
952
925
  color: n
953
926
  })), void 0, !0)]),
@@ -955,37 +928,37 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
955
928
  } : void 0,
956
929
  e.$slots.optionTooltip ? {
957
930
  name: "optionTooltip",
958
- fn: D(() => [w(e.$slots, "optionTooltip", {}, void 0, !0)]),
931
+ fn: O(() => [T(e.$slots, "optionTooltip", {}, void 0, !0)]),
959
932
  key: "1"
960
933
  } : void 0,
961
934
  e.$slots.optionPdf ? {
962
935
  name: "optionPdf",
963
- fn: D(() => [w(e.$slots, "optionPdf", {}, void 0, !0)]),
936
+ fn: O(() => [T(e.$slots, "optionPdf", {}, void 0, !0)]),
964
937
  key: "2"
965
938
  } : void 0,
966
939
  e.$slots.optionCsv ? {
967
940
  name: "optionCsv",
968
- fn: D(() => [w(e.$slots, "optionCsv", {}, void 0, !0)]),
941
+ fn: O(() => [T(e.$slots, "optionCsv", {}, void 0, !0)]),
969
942
  key: "3"
970
943
  } : void 0,
971
944
  e.$slots.optionImg ? {
972
945
  name: "optionImg",
973
- fn: D(() => [w(e.$slots, "optionImg", {}, void 0, !0)]),
946
+ fn: O(() => [T(e.$slots, "optionImg", {}, void 0, !0)]),
974
947
  key: "4"
975
948
  } : void 0,
976
949
  e.$slots.optionSvg ? {
977
950
  name: "optionSvg",
978
- fn: D(() => [w(e.$slots, "optionSvg", {}, void 0, !0)]),
951
+ fn: O(() => [T(e.$slots, "optionSvg", {}, void 0, !0)]),
979
952
  key: "5"
980
953
  } : void 0,
981
954
  e.$slots.optionTable ? {
982
955
  name: "optionTable",
983
- fn: D(() => [w(e.$slots, "optionTable", {}, void 0, !0)]),
956
+ fn: O(() => [T(e.$slots, "optionTable", {}, void 0, !0)]),
984
957
  key: "6"
985
958
  } : void 0,
986
959
  e.$slots.optionFullscreen ? {
987
960
  name: "optionFullscreen",
988
- fn: D(({ toggleFullscreen: t, isFullscreen: n }) => [w(e.$slots, "optionFullscreen", y(_({
961
+ fn: O(({ toggleFullscreen: t, isFullscreen: n }) => [T(e.$slots, "optionFullscreen", b(v({
989
962
  toggleFullscreen: t,
990
963
  isFullscreen: n
991
964
  })), void 0, !0)]),
@@ -993,7 +966,7 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
993
966
  } : void 0,
994
967
  e.$slots.optionAnnotator ? {
995
968
  name: "optionAnnotator",
996
- fn: D(({ toggleAnnotator: t, isAnnotator: n }) => [w(e.$slots, "optionAnnotator", y(_({
969
+ fn: O(({ toggleAnnotator: t, isAnnotator: n }) => [T(e.$slots, "optionAnnotator", b(v({
997
970
  toggleAnnotator: t,
998
971
  isAnnotator: n
999
972
  })), void 0, !0)]),
@@ -1001,203 +974,203 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
1001
974
  } : void 0,
1002
975
  e.$slots.optionAltCopy ? {
1003
976
  name: "optionAltCopy",
1004
- fn: D(({ altCopy: t }) => [w(e.$slots, "optionAltCopy", y(_({ altCopy: t })), void 0, !0)]),
977
+ fn: O(({ altCopy: t }) => [T(e.$slots, "optionAltCopy", b(v({ altCopy: t })), void 0, !0)]),
1005
978
  key: "9"
1006
979
  } : void 0,
1007
980
  e.$slots["custom-menu-before"] ? {
1008
981
  name: "custom-menu-before",
1009
- fn: D(() => [w(e.$slots, "custom-menu-before", {}, void 0, !0)]),
982
+ fn: O(() => [T(e.$slots, "custom-menu-before", {}, void 0, !0)]),
1010
983
  key: "10"
1011
984
  } : void 0,
1012
985
  e.$slots["custom-menu-after"] ? {
1013
986
  name: "custom-menu-after",
1014
- fn: D(() => [w(e.$slots, "custom-menu-after", {}, void 0, !0)]),
987
+ fn: O(() => [T(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1015
988
  key: "11"
1016
989
  } : void 0
1017
- ]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : p("", !0),
1018
- h("div", Ye, [(x(), m("svg", {
990
+ ]), 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("."))) : m("", !0),
991
+ g("div", Je, [(S(), h("svg", {
1019
992
  ref_key: "svgRef",
1020
993
  ref: R,
1021
- xmlns: E(le),
1022
- "aria-describedby": `chart-instructions-${k.value}`,
1023
- class: v({
994
+ xmlns: D(ce),
995
+ "aria-describedby": `chart-instructions-${A.value}`,
996
+ class: y({
1024
997
  "vue-data-ui-fullscreen--on": $.value,
1025
998
  "vue-data-ui-fulscreen--off": !$.value
1026
999
  }),
1027
1000
  viewBox: `0 0 ${U.value.width <= 0 ? 10 : U.value.width} ${U.value.height <= 0 ? 10 : U.value.height}`,
1028
- style: b(`max-width:100%;overflow:visible;background:transparent;color:${F.value.style.chart.color}`),
1001
+ style: x(`max-width:100%;overflow:visible;background:transparent;color:${F.value.style.chart.color}`),
1029
1002
  tabindex: "0",
1030
- onFocus: Qn,
1031
- onBlur: $n,
1032
- onKeydown: tr
1003
+ onFocus: Zn,
1004
+ onBlur: Qn,
1005
+ onKeydown: er
1033
1006
  }, [
1034
- Ie(E(Dt)),
1035
- e.$slots["chart-background"] ? (x(), m("foreignObject", {
1007
+ Fe(D(Et)),
1008
+ e.$slots["chart-background"] ? (S(), h("foreignObject", {
1036
1009
  key: 0,
1037
1010
  x: 0,
1038
1011
  y: 0,
1039
1012
  width: U.value.width <= 0 ? 10 : U.value.width,
1040
1013
  height: U.value.height <= 0 ? 10 : U.value.height,
1041
1014
  style: { pointerEvents: "none" }
1042
- }, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, Ze)) : p("", !0),
1043
- h("defs", null, [(x(!0), m(u, null, C(q.value, (e, t) => (x(), f(Te, {
1015
+ }, [T(e.$slots, "chart-background", {}, void 0, !0)], 8, Xe)) : m("", !0),
1016
+ g("defs", null, [(S(!0), h(d, null, w(q.value, (e, t) => (S(), p(we, {
1044
1017
  t: "radial",
1045
1018
  cx: "50%",
1046
1019
  cy: "50%",
1047
1020
  r: "50%",
1048
1021
  fx: "50%",
1049
1022
  fy: "50%",
1050
- id: `radar_gradient_${k.value}_${t}`,
1051
- key: `radar_gradient_${k.value}_${t}`,
1023
+ id: `radar_gradient_${A.value}_${t}`,
1024
+ key: `radar_gradient_${A.value}_${t}`,
1052
1025
  stops: [[
1053
1026
  "0%",
1054
- E(r)(E(ne)(e.color, .05), F.value.style.chart.layout.dataPolygon.opacity),
1027
+ D(r)(D(te)(e.color, .05), F.value.style.chart.layout.dataPolygon.opacity),
1055
1028
  1
1056
1029
  ], [
1057
1030
  "100%",
1058
- E(r)(e.color, F.value.style.chart.layout.dataPolygon.opacity),
1031
+ D(r)(e.color, F.value.style.chart.layout.dataPolygon.opacity),
1059
1032
  1
1060
1033
  ]]
1061
1034
  }, null, 8, ["id", "stops"]))), 128))]),
1062
- F.value.style.chart.layout.grid.show ? (x(), m("g", Qe, [(x(!0), m(u, null, C(Y.value, (e) => (x(), m("line", {
1035
+ F.value.style.chart.layout.grid.show ? (S(), h("g", Ze, [(S(!0), h(d, null, w(Y.value, (e) => (S(), h("line", {
1063
1036
  x1: U.value.width / 2,
1064
1037
  y1: U.value.height / 2,
1065
1038
  x2: e.x,
1066
1039
  y2: e.y,
1067
1040
  stroke: F.value.style.chart.layout.grid.stroke,
1068
1041
  "stroke-width": F.value.style.chart.layout.grid.strokeWidth
1069
- }, null, 8, $e))), 256)), F.value.style.chart.layout.grid.graduations > 0 ? (x(), m("g", et, [(x(!0), m(u, null, C(wn.value, (e) => (x(), m("path", {
1070
- d: E(ee)({
1042
+ }, null, 8, Qe))), 256)), F.value.style.chart.layout.grid.graduations > 0 ? (S(), h("g", $e, [(S(!0), h(d, null, w(Sn.value, (e) => (S(), h("path", {
1043
+ d: D(s)({
1071
1044
  plot: {
1072
1045
  x: U.value.width / 2,
1073
1046
  y: U.value.height / 2
1074
1047
  },
1075
1048
  radius: e,
1076
- sides: xn.value,
1049
+ sides: yn.value,
1077
1050
  rotation: 0
1078
1051
  }).path,
1079
1052
  fill: "none",
1080
1053
  stroke: F.value.style.chart.layout.grid.stroke,
1081
1054
  "stroke-width": F.value.style.chart.layout.grid.strokeWidth
1082
- }, null, 8, tt))), 256))])) : p("", !0)])) : p("", !0),
1083
- h("path", {
1084
- d: Cn.value.path,
1055
+ }, null, 8, et))), 256))])) : m("", !0)])) : m("", !0),
1056
+ g("path", {
1057
+ d: xn.value.path,
1085
1058
  fill: "none",
1086
1059
  stroke: F.value.style.chart.layout.outerPolygon.stroke,
1087
1060
  "stroke-width": F.value.style.chart.layout.outerPolygon.strokeWidth,
1088
1061
  "stroke-linejoin": "round",
1089
1062
  "stroke-linecap": "round"
1090
- }, null, 8, nt),
1091
- F.value.style.chart.layout.labels.dataLabels.show ? (x(), m("g", rt, [(x(!0), m(u, null, C(Y.value, (e, t) => (x(), m("text", {
1063
+ }, null, 8, tt),
1064
+ F.value.style.chart.layout.labels.dataLabels.show ? (S(), h("g", nt, [(S(!0), h(d, null, w(Y.value, (e, t) => (S(), h("text", {
1092
1065
  class: "vue-ui-radar-apex-label",
1093
1066
  x: e.labelX,
1094
1067
  y: e.labelY,
1095
1068
  "text-anchor": e.labelAnchor,
1096
1069
  "font-size": F.value.style.chart.layout.labels.dataLabels.fontSize,
1097
1070
  fill: F.value.style.chart.layout.labels.dataLabels.color,
1098
- onMouseenter: (n) => Pn(e, t, "pointer"),
1099
- onMouseleave: (n) => Mn(e, t),
1100
- onClick: (n) => Nn(e, t)
1101
- }, T(e.name), 41, it))), 256))])) : p("", !0),
1102
- (x(!0), m(u, null, C(q.value, (e, t) => (x(), m("g", null, [h("g", null, [F.value.useCssAnimation || !F.value.useCssAnimation && !W.value.includes(t) ? (x(), m("polygon", {
1071
+ onMouseenter: (n) => Mn(e, t, "pointer"),
1072
+ onMouseleave: (n) => An(e, t),
1073
+ onClick: (n) => jn(e, t)
1074
+ }, E(e.name), 41, rt))), 256))])) : m("", !0),
1075
+ (S(!0), h(d, null, w(q.value, (e, t) => (S(), h("g", null, [g("g", null, [F.value.useCssAnimation || !F.value.useCssAnimation && !W.value.includes(t) ? (S(), h("polygon", {
1103
1076
  key: 0,
1104
- points: E(n)(Y.value.map((e) => e.plots[t]), !1, !0),
1077
+ points: D(n)(Y.value.map((e) => e.plots[t]), !1, !0),
1105
1078
  stroke: F.value.style.chart.backgroundColor,
1106
1079
  "stroke-width": F.value.style.chart.layout.dataPolygon.strokeWidth + 1,
1107
1080
  fill: "none",
1108
- class: v({
1081
+ class: y({
1109
1082
  "animated-out": W.value.includes(t) && F.value.useCssAnimation,
1110
1083
  "animated-in": K.value && G.value === t && F.value.useCssAnimation
1111
1084
  })
1112
- }, null, 10, at)) : p("", !0), F.value.useCssAnimation || !F.value.useCssAnimation && !W.value.includes(t) ? (x(), m("polygon", {
1085
+ }, null, 10, it)) : m("", !0), F.value.useCssAnimation || !F.value.useCssAnimation && !W.value.includes(t) ? (S(), h("polygon", {
1113
1086
  key: 1,
1114
- points: E(n)(Y.value.map((e) => e.plots[t]), !1, !0),
1087
+ points: D(n)(Y.value.map((e) => e.plots[t]), !1, !0),
1115
1088
  stroke: e.color,
1116
1089
  "stroke-width": F.value.style.chart.layout.dataPolygon.strokeWidth,
1117
- fill: F.value.style.chart.layout.dataPolygon.transparent ? "transparent" : F.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${k.value}_${t})` : E(r)(e.color, F.value.style.chart.layout.dataPolygon.opacity),
1118
- class: v({
1090
+ fill: F.value.style.chart.layout.dataPolygon.transparent ? "transparent" : F.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${A.value}_${t})` : D(r)(e.color, F.value.style.chart.layout.dataPolygon.opacity),
1091
+ class: y({
1119
1092
  "animated-out": W.value.includes(t) && F.value.useCssAnimation,
1120
1093
  "animated-in": K.value && G.value === t && F.value.useCssAnimation
1121
1094
  })
1122
- }, null, 10, ot)) : p("", !0)])]))), 256)),
1123
- F.value.style.chart.layout.targetReference.show ? (x(), m("path", {
1095
+ }, null, 10, at)) : m("", !0)])]))), 256)),
1096
+ F.value.style.chart.layout.targetReference.show ? (S(), h("path", {
1124
1097
  key: 3,
1125
1098
  class: "vue-ui-radar-target-polygon",
1126
- d: `M${E(n)(bn.value, !1, !0)}Z`,
1099
+ d: `M${D(n)(vn.value, !1, !0)}Z`,
1127
1100
  fill: "none",
1128
1101
  stroke: F.value.style.chart.layout.targetReference.stroke,
1129
1102
  "stroke-width": F.value.style.chart.layout.targetReference.strokeWidth,
1130
1103
  "stroke-linejoin": "round",
1131
1104
  "stroke-linecap": "round",
1132
1105
  "stroke-dasharray": F.value.style.chart.layout.targetReference.strokeDasharray
1133
- }, null, 8, st)) : p("", !0),
1134
- F.value.style.chart.layout.plots.show ? (x(), m("g", ct, [(x(!0), m(u, null, C(Y.value, (e, t) => (x(), m("g", null, [(x(!0), m(u, null, C(e.plots, (e, n) => (x(), m("circle", {
1106
+ }, null, 8, ot)) : m("", !0),
1107
+ F.value.style.chart.layout.plots.show ? (S(), h("g", st, [(S(!0), h(d, null, w(Y.value, (e, t) => (S(), h("g", null, [(S(!0), h(d, null, w(e.plots, (e, n) => (S(), h("circle", {
1135
1108
  cx: e.x,
1136
1109
  cy: e.y,
1137
1110
  fill: W.value.includes(n) ? "transparent" : q.value[n] ? q.value[n].color : "transparent",
1138
1111
  r: Q.value !== null && Q.value === t ? F.value.style.chart.layout.plots.radius * 1.6 : F.value.style.chart.layout.plots.radius,
1139
1112
  stroke: W.value.includes(n) ? "transparent" : F.value.style.chart.backgroundColor,
1140
1113
  "stroke-width": .5,
1141
- class: v({
1114
+ class: y({
1142
1115
  "animated-out": W.value.includes(n) && F.value.useCssAnimation,
1143
1116
  "animated-in": K.value && G.value === n && F.value.useCssAnimation
1144
1117
  })
1145
- }, null, 10, lt))), 256))]))), 256))])) : p("", !0),
1146
- w(e.$slots, "svg", { svg: {
1118
+ }, null, 10, ct))), 256))]))), 256))])) : m("", !0),
1119
+ T(e.$slots, "svg", { svg: {
1147
1120
  ...U.value,
1148
- outerPolygon: Cn.value,
1149
- isPrintingImg: E(tn) || E(nn) || Wt.value,
1150
- isPrintingSvg: Gt.value
1121
+ outerPolygon: xn.value,
1122
+ isPrintingImg: D($t) || D(en) || D(Kn),
1123
+ isPrintingSvg: D(qn)
1151
1124
  } }, void 0, !0)
1152
- ], 46, Xe)), e.$slots.hint ? (x(), m("div", ut, [w(e.$slots, "hint", y(_({
1125
+ ], 46, Ye)), e.$slots.hint ? (S(), h("div", lt, [T(e.$slots, "hint", b(v({
1153
1126
  hint: F.value.a11y.translations.keyboardNavigation,
1154
- isVisible: qt.value
1155
- })), void 0, !0)])) : p("", !0)]),
1156
- e.$slots.watermark ? (x(), m("div", dt, [w(e.$slots, "watermark", y(_({ isPrinting: E(tn) || E(nn) || Wt.value || Gt.value })), void 0, !0)])) : p("", !0),
1157
- h("div", { id: `legend-bottom-${k.value}` }, null, 8, ft),
1158
- Ht.value && (F.value.style.chart.legend.show || e.$slots.legend) ? (x(), f(Ne, {
1127
+ isVisible: Gt.value
1128
+ })), void 0, !0)])) : m("", !0)]),
1129
+ e.$slots.watermark ? (S(), h("div", ut, [T(e.$slots, "watermark", b(v({ isPrinting: D($t) || D(en) || D(Kn) || D(qn) })), void 0, !0)])) : m("", !0),
1130
+ g("div", { id: `legend-bottom-${A.value}` }, null, 8, dt),
1131
+ Vt.value && (F.value.style.chart.legend.show || e.$slots.legend) ? (S(), p(Me, {
1159
1132
  key: 6,
1160
- to: F.value.style.chart.legend.position === "top" ? `#legend-top-${k.value}` : `#legend-bottom-${k.value}`
1161
- }, [h("div", {
1133
+ to: F.value.style.chart.legend.position === "top" ? `#legend-top-${A.value}` : `#legend-bottom-${A.value}`
1134
+ }, [g("div", {
1162
1135
  ref_key: "chartLegend",
1163
- ref: It
1164
- }, [w(e.$slots, "legend", { legend: X.value }, () => [F.value.style.chart.legend.show ? (x(), f(Ae, {
1165
- key: `legend_${Vt.value}`,
1136
+ ref: Ft
1137
+ }, [T(e.$slots, "legend", { legend: X.value }, () => [F.value.style.chart.legend.show ? (S(), p(ke, {
1138
+ key: `legend_${Bt.value}`,
1166
1139
  legendSet: X.value,
1167
- config: kn.value,
1140
+ config: Dn.value,
1168
1141
  isCursorPointer: I.value,
1169
- onClickMarker: t[0] ||= ({ i: e }) => fn(e)
1170
- }, Pe({
1171
- item: D(({ legend: e, index: t }) => [E(Yt) ? p("", !0) : (x(), m("div", {
1142
+ onClickMarker: t[0] ||= ({ i: e }) => un(e)
1143
+ }, Ne({
1144
+ item: O(({ legend: e, index: t }) => [D(qt) ? m("", !0) : (S(), h("div", {
1172
1145
  key: 0,
1173
1146
  onClick: (t) => e.segregate(),
1174
- style: b(`opacity:${W.value.includes(t) ? .5 : 1}`)
1175
- }, T(e.display), 13, pt))]),
1176
- legendToggle: D(() => [X.value.length > 2 && F.value.style.chart.legend.selectAllToggle.show && !E(Yt) ? (x(), f(Ee, {
1147
+ style: x(`opacity:${W.value.includes(t) ? .5 : 1}`)
1148
+ }, E(e.display), 13, ft))]),
1149
+ legendToggle: O(() => [X.value.length > 2 && F.value.style.chart.legend.selectAllToggle.show && !D(qt) ? (S(), p(Te, {
1177
1150
  key: 0,
1178
1151
  backgroundColor: F.value.style.chart.legend.selectAllToggle.backgroundColor,
1179
1152
  color: F.value.style.chart.legend.selectAllToggle.color,
1180
1153
  fontSize: F.value.style.chart.legend.fontSize,
1181
1154
  checked: W.value.length > 0,
1182
1155
  isCursorPointer: I.value,
1183
- onToggle: un
1156
+ onToggle: cn
1184
1157
  }, null, 8, [
1185
1158
  "backgroundColor",
1186
1159
  "color",
1187
1160
  "fontSize",
1188
1161
  "checked",
1189
1162
  "isCursorPointer"
1190
- ])) : p("", !0)]),
1163
+ ])) : m("", !0)]),
1191
1164
  _: 2
1192
1165
  }, [F.value.style.chart.layout.targetReference.show && F.value.style.chart.layout.targetReference.showInLegend ? {
1193
1166
  name: "after",
1194
- fn: D(() => [h("div", mt, [h("div", { style: b({
1167
+ fn: O(() => [g("div", pt, [g("div", { style: x({
1195
1168
  display: "flex",
1196
1169
  height: F.value.style.chart.legend.fontSize
1197
- }) }, [(x(), m("svg", {
1198
- style: b({ width: F.value.style.chart.legend.fontSize * 2 }),
1170
+ }) }, [(S(), h("svg", {
1171
+ style: x({ width: F.value.style.chart.legend.fontSize * 2 }),
1199
1172
  viewBox: "0 0 16 8"
1200
- }, [h("line", {
1173
+ }, [g("line", {
1201
1174
  x1: "0",
1202
1175
  x2: "16",
1203
1176
  y1: "4",
@@ -1206,22 +1179,22 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
1206
1179
  "stroke-width": F.value.style.chart.layout.targetReference.strokeWidth * .7,
1207
1180
  "stroke-dasharray": F.value.style.chart.layout.targetReference.strokeDasharray * .7,
1208
1181
  "stroke-linecap": "round"
1209
- }, null, 8, ht)], 4))], 4), h("span", null, T(F.value.style.chart.layout.targetReference.legendLabel), 1)])]),
1182
+ }, null, 8, mt)], 4))], 4), g("span", null, E(F.value.style.chart.layout.targetReference.legendLabel), 1)])]),
1210
1183
  key: "0"
1211
1184
  } : void 0]), 1032, [
1212
1185
  "legendSet",
1213
1186
  "config",
1214
1187
  "isCursorPointer"
1215
- ])) : p("", !0)], !0)], 512)], 8, ["to"])) : p("", !0),
1216
- e.$slots.source ? (x(), m("div", {
1188
+ ])) : m("", !0)], !0)], 512)], 8, ["to"])) : m("", !0),
1189
+ e.$slots.source ? (S(), h("div", {
1217
1190
  key: 7,
1218
1191
  ref_key: "source",
1219
- ref: Lt,
1192
+ ref: It,
1220
1193
  dir: "auto"
1221
- }, [w(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
1222
- Ie(E(bt), {
1194
+ }, [T(e.$slots, "source", {}, void 0, !0)], 512)) : m("", !0),
1195
+ Fe(D(yt), {
1223
1196
  teleportTo: F.value.style.chart.tooltip.teleportTo,
1224
- show: H.value.showTooltip && A.value,
1197
+ show: H.value.showTooltip && j.value,
1225
1198
  backgroundColor: F.value.style.chart.tooltip.backgroundColor,
1226
1199
  color: F.value.style.chart.tooltip.color,
1227
1200
  borderRadius: F.value.style.chart.tooltip.borderRadius,
@@ -1232,27 +1205,27 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
1232
1205
  position: F.value.style.chart.tooltip.position,
1233
1206
  offsetX: F.value.style.chart.tooltip.offsetX,
1234
1207
  offsetY: F.value.style.chart.tooltip.offsetY,
1235
- parent: j.value,
1236
- content: Nt.value,
1208
+ parent: M.value,
1209
+ content: Mt.value,
1237
1210
  isFullscreen: $.value,
1238
1211
  isCustom: F.value.style.chart.tooltip.customFormat && typeof F.value.style.chart.tooltip.customFormat == "function",
1239
1212
  smooth: F.value.style.chart.tooltip.smooth,
1240
1213
  backdropFilter: F.value.style.chart.tooltip.backdropFilter,
1241
1214
  smoothForce: F.value.style.chart.tooltip.smoothForce,
1242
1215
  smoothSnapThreshold: F.value.style.chart.tooltip.smoothSnapThreshold,
1243
- isA11yMode: P.value === "keyboard",
1244
- a11yPosition: Kt.value
1216
+ isA11yMode: Wt.value === "keyboard",
1217
+ a11yPosition: Ut.value
1245
1218
  }, {
1246
- "tooltip-before": D(() => [w(e.$slots, "tooltip-before", y(_({ ...jn.value })), void 0, !0)]),
1247
- tooltip: D(() => [w(e.$slots, "tooltip", y(_({ ...jn.value })), void 0, !0)]),
1248
- "tooltip-after": D(() => [!["function"].includes(typeof F.value.style.chart.tooltip.customFormat) && !e.$slots.tooltip ? (x(), m("div", gt, [Ie(E(St), {
1249
- dataset: An.value,
1250
- config: cn.value,
1219
+ "tooltip-before": O(() => [T(e.$slots, "tooltip-before", b(v({ ...kn.value })), void 0, !0)]),
1220
+ tooltip: O(() => [T(e.$slots, "tooltip", b(v({ ...kn.value })), void 0, !0)]),
1221
+ "tooltip-after": O(() => [!["function"].includes(typeof F.value.style.chart.tooltip.customFormat) && !e.$slots.tooltip ? (S(), h("div", ht, [Fe(D(xt), {
1222
+ dataset: On.value,
1223
+ config: on.value,
1251
1224
  backgroundOpacity: 0
1252
1225
  }, {
1253
- "data-label": D(({ bar: e }) => [h("div", _t, [h("span", vt, T(e.name + (F.value.style.chart.tooltip.showValue || F.value.style.chart.tooltip.showPercentage ? ":" : "")), 1), F.value.style.chart.tooltip.showValue || F.value.style.chart.tooltip.showPercentage ? (x(), m("span", yt, T(e.suffix), 1)) : p("", !0)])]),
1226
+ "data-label": O(({ bar: e }) => [g("div", gt, [g("span", _t, E(e.name + (F.value.style.chart.tooltip.showValue || F.value.style.chart.tooltip.showPercentage ? ":" : "")), 1), F.value.style.chart.tooltip.showValue || F.value.style.chart.tooltip.showPercentage ? (S(), h("span", vt, E(e.suffix), 1)) : m("", !0)])]),
1254
1227
  _: 1
1255
- }, 8, ["dataset", "config"])])) : p("", !0), w(e.$slots, "tooltip-after", y(_({ ...jn.value })), void 0, !0)]),
1228
+ }, 8, ["dataset", "config"])])) : m("", !0), T(e.$slots, "tooltip-after", b(v({ ...kn.value })), void 0, !0)]),
1256
1229
  _: 3
1257
1230
  }, 8, [
1258
1231
  "teleportTo",
@@ -1278,24 +1251,24 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
1278
1251
  "isA11yMode",
1279
1252
  "a11yPosition"
1280
1253
  ]),
1281
- Mt.value && F.value.userOptions.buttons.table ? (x(), f(Ve(Hn.value.component), Le({ key: 8 }, Hn.value.props, {
1254
+ jt.value && F.value.userOptions.buttons.table ? (S(), p(Be(Bn.value.component), Ie({ key: 8 }, Bn.value.props, {
1282
1255
  ref_key: "tableUnit",
1283
- ref: M,
1284
- onClose: Un
1285
- }), Pe({
1286
- content: D(() => [(x(), f(E(wt), {
1287
- key: `table_${Bt.value}`,
1256
+ ref: N,
1257
+ onClose: Vn
1258
+ }), Ne({
1259
+ content: O(() => [(S(), p(D(Ct), {
1260
+ key: `table_${zt.value}`,
1288
1261
  colNames: Z.value.colNames,
1289
1262
  head: Z.value.head,
1290
1263
  body: Z.value.body,
1291
1264
  config: Z.value.config,
1292
- title: F.value.table.useDialog ? "" : Hn.value.title,
1265
+ title: F.value.table.useDialog ? "" : Bn.value.title,
1293
1266
  withCloseButton: !F.value.table.useDialog,
1294
1267
  isCursorPointer: I.value,
1295
- onClose: Un
1268
+ onClose: Vn
1296
1269
  }, {
1297
- th: D(({ th: e }) => [Fe(T(e.name), 1)]),
1298
- td: D(({ td: e }) => [Fe(T(e), 1)]),
1270
+ th: O(({ th: e }) => [Pe(E(e.name), 1)]),
1271
+ td: O(({ td: e }) => [Pe(E(e), 1)]),
1299
1272
  _: 1
1300
1273
  }, 8, [
1301
1274
  "colNames",
@@ -1309,24 +1282,24 @@ var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je
1309
1282
  _: 2
1310
1283
  }, [F.value.table.useDialog ? {
1311
1284
  name: "title",
1312
- fn: D(() => [Fe(T(Hn.value.title), 1)]),
1285
+ fn: O(() => [Pe(E(Bn.value.title), 1)]),
1313
1286
  key: "0"
1314
1287
  } : void 0, F.value.table.useDialog ? {
1315
1288
  name: "actions",
1316
- fn: D(() => [h("button", {
1289
+ fn: O(() => [g("button", {
1317
1290
  tabindex: "0",
1318
1291
  class: "vue-ui-user-options-button",
1319
- onClick: t[1] ||= (e) => Fn(F.value.userOptions.callbacks.csv),
1320
- style: b({ cursor: I.value ? "pointer" : "default" })
1321
- }, [Ie(E(xt), {
1292
+ onClick: t[1] ||= (e) => Nn(F.value.userOptions.callbacks.csv),
1293
+ style: x({ cursor: I.value ? "pointer" : "default" })
1294
+ }, [Fe(D(bt), {
1322
1295
  name: "fileCsv",
1323
- stroke: Hn.value.props.color
1296
+ stroke: Bn.value.props.color
1324
1297
  }, null, 8, ["stroke"])], 4)]),
1325
1298
  key: "1"
1326
- } : void 0]), 1040)) : p("", !0),
1327
- w(e.$slots, "skeleton", {}, () => [E(Yt) ? (x(), f(ge, { key: 0 })) : p("", !0)], !0)
1328
- ], 46, Ke));
1299
+ } : void 0]), 1040)) : m("", !0),
1300
+ T(e.$slots, "skeleton", {}, () => [D(qt) ? (S(), p(he, { key: 0 })) : m("", !0)], !0)
1301
+ ], 46, Ge));
1329
1302
  }
1330
- }, [["__scopeId", "data-v-92aa007a"]]);
1303
+ }, [["__scopeId", "data-v-0a3f041f"]]);
1331
1304
  //#endregion
1332
- export { Ge as n, bt as t };
1305
+ export { We as n, yt as t };