vue-data-ui 3.20.11 → 3.21.0

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 (188) hide show
  1. package/dist/{Arrow-D6j6ocXm.js → Arrow-_pDGXl76.js} +1 -1
  2. package/dist/{BaseDraggableDialog-4hDW-Rj2.js → BaseDraggableDialog-BvaFJWHb.js} +2 -2
  3. package/dist/{BaseIcon-DfLoHNUj.js → BaseIcon-CbDazQLH.js} +1 -1
  4. package/dist/{BaseLegendToggle-C_Db-y7s.js → BaseLegendToggle-BNRi408o.js} +1 -1
  5. package/dist/{BaseZoomControls-CG7hI_1P.js → BaseZoomControls-Dbtq9oyx.js} +2 -2
  6. package/dist/{ColorPicker-Bjwxnvfh.js → ColorPicker-B4ob7JgP.js} +2 -2
  7. package/dist/{DataTable-B--IN22e.js → DataTable-DweDyHc1.js} +2 -2
  8. package/dist/{Legend-Cz2uQ5gs.js → Legend-BLhREbj7.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-gLNJ1Lmr.js → NonSvgPenAndPaper-BzZyMJBF.js} +3 -3
  10. package/dist/{PackageVersion-eS823iMF.js → PackageVersion-DYLo3MRd.js} +1 -1
  11. package/dist/{PenAndPaper-DqrClVfb.js → PenAndPaper-D4aFMYZf.js} +3 -3
  12. package/dist/{Shape-BPCJfphn.js → Shape-BxFtoF1z.js} +1 -1
  13. package/dist/{Slicer-SHBj0VaV.js → Slicer-GABgkLkB.js} +2 -2
  14. package/dist/{SlicerPreview-By4kBVCY.js → SlicerPreview-CXLgqXX8.js} +6 -6
  15. package/dist/{SparkTooltip-CfE6yCad.js → SparkTooltip-CdSRUoZN.js} +6 -6
  16. package/dist/{Title-NWp4qB4K.js → Title-DH6G8_cZ.js} +1 -1
  17. package/dist/{Tooltip-BENq327o.js → Tooltip-979Ytd8R.js} +1 -1
  18. package/dist/{UserOptions-C1NgoGu6.js → UserOptions-qFz-9Pnw.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-history-plot.js +1 -1
  46. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  47. package/dist/components/vue-ui-icon.js +1 -1
  48. package/dist/components/vue-ui-kpi.js +1 -1
  49. package/dist/components/vue-ui-mini-loader.js +1 -1
  50. package/dist/components/vue-ui-molecule.js +1 -1
  51. package/dist/components/vue-ui-mood-radar.js +1 -1
  52. package/dist/components/vue-ui-nested-donuts.js +1 -1
  53. package/dist/components/vue-ui-onion.js +1 -1
  54. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  55. package/dist/components/vue-ui-quadrant.js +1 -1
  56. package/dist/components/vue-ui-quick-chart.js +1 -1
  57. package/dist/components/vue-ui-radar.js +1 -1
  58. package/dist/components/vue-ui-rating.js +1 -1
  59. package/dist/components/vue-ui-relation-circle.js +1 -1
  60. package/dist/components/vue-ui-ridgeline.js +1 -1
  61. package/dist/components/vue-ui-rings.js +1 -1
  62. package/dist/components/vue-ui-scatter.js +1 -1
  63. package/dist/components/vue-ui-skeleton.js +1 -1
  64. package/dist/components/vue-ui-smiley.js +1 -1
  65. package/dist/components/vue-ui-spark-trend.js +1 -1
  66. package/dist/components/vue-ui-sparkbar.js +1 -1
  67. package/dist/components/vue-ui-sparkgauge.js +1 -1
  68. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  69. package/dist/components/vue-ui-sparkline.js +1 -1
  70. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  71. package/dist/components/vue-ui-stackbar.js +1 -1
  72. package/dist/components/vue-ui-stackline.js +1 -1
  73. package/dist/components/vue-ui-strip-plot.js +1 -1
  74. package/dist/components/vue-ui-table-heatmap.js +1 -1
  75. package/dist/components/vue-ui-table-sparkline.js +1 -1
  76. package/dist/components/vue-ui-table.js +1 -1
  77. package/dist/components/vue-ui-thermometer.js +1 -1
  78. package/dist/components/vue-ui-timer.js +1 -1
  79. package/dist/components/vue-ui-tiremarks.js +1 -1
  80. package/dist/components/vue-ui-treemap.js +1 -1
  81. package/dist/components/vue-ui-vertical-bar.js +1 -1
  82. package/dist/components/vue-ui-waffle.js +1 -1
  83. package/dist/components/vue-ui-wheel.js +1 -1
  84. package/dist/components/vue-ui-word-cloud.js +1 -1
  85. package/dist/components/vue-ui-world.js +1 -1
  86. package/dist/components/vue-ui-xy-canvas.js +1 -1
  87. package/dist/components/vue-ui-xy.js +1 -1
  88. package/dist/{dom-to-png-BYtB4BF3.js → dom-to-png-CtV3uxDJ.js} +1 -1
  89. package/dist/exposedLib-BJbE_A8E.js +19 -0
  90. package/dist/{img-1cKsci8e.js → img-C_RNNswI.js} +1 -1
  91. package/dist/{labelUtils-CUctkYoA.js → labelUtils-Bycs-017.js} +1 -1
  92. package/dist/{lib-DUeYQsS0.js → lib-AJRHFE5U.js} +12 -6
  93. package/dist/{pdf-D0eZ99cP.js → pdf-CdX23zf1.js} +1 -1
  94. package/dist/ssr.js +1366 -0
  95. package/dist/types/ssr.d.ts +128 -0
  96. package/dist/types/vue-data-ui.d.ts +135 -1
  97. package/dist/{useAutoSizeLabelsInsideViewbox-BIVntRZp.js → useAutoSizeLabelsInsideViewbox-kjVKQz36.js} +1 -1
  98. package/dist/{useNestedProp-CNcoy38D.js → useNestedProp-DtcXIg7n.js} +1 -1
  99. package/dist/{usePrinter-C1Gqt_Sp.js → usePrinter-6n2MzVyV.js} +2 -2
  100. package/dist/utils.js +8 -8
  101. package/dist/{vue-data-ui-0t8DsSSW.js → vue-data-ui-D2dM3IQZ.js} +68 -68
  102. package/dist/vue-data-ui.js +72 -72
  103. package/dist/vue-ui-3d-bar-0C_yshya.js +1757 -0
  104. package/dist/{vue-ui-accordion-Bpbv-VHE.js → vue-ui-accordion-DLnwuQda.js} +3 -3
  105. package/dist/vue-ui-age-pyramid-DFNELwbT.js +1238 -0
  106. package/dist/{vue-ui-annotator-Q57JevNc.js → vue-ui-annotator-BljP5cB7.js} +8 -8
  107. package/dist/vue-ui-bullet-ChQq42AN.js +710 -0
  108. package/dist/{vue-ui-bump-CE8VRCs2.js → vue-ui-bump-BVCYywuS.js} +253 -253
  109. package/dist/{vue-ui-candlestick-B4tkLoQe.js → vue-ui-candlestick-CQ0nfkmL.js} +276 -276
  110. package/dist/vue-ui-carousel-table-Cvi1gsKR.js +455 -0
  111. package/dist/vue-ui-chestnut-DeWbKqze.js +2010 -0
  112. package/dist/vue-ui-chord-bRXYWpGT.js +1391 -0
  113. package/dist/{vue-ui-circle-pack-SCxS2mrl.js → vue-ui-circle-pack-DWO8x9gf.js} +36 -36
  114. package/dist/{vue-ui-cursor-DT8uNrQa.js → vue-ui-cursor-BKGUvOWO.js} +3 -3
  115. package/dist/{vue-ui-dag-CK30vhll.js → vue-ui-dag-lL0juBzN.js} +20 -20
  116. package/dist/{vue-ui-dashboard-Cf21Q0H0.js → vue-ui-dashboard-CEk2z8v9.js} +69 -69
  117. package/dist/{vue-ui-digits-DiapBzIK.js → vue-ui-digits-BAjr0eIJ.js} +3 -3
  118. package/dist/vue-ui-donut-BsSpIinL.js +2410 -0
  119. package/dist/vue-ui-donut-evolution-1UhFKEgG.js +1510 -0
  120. package/dist/vue-ui-dumbbell-ChqJicg9.js +1530 -0
  121. package/dist/{vue-ui-flow-uPuvDSxv.js → vue-ui-flow-BXfzMTXx.js} +57 -57
  122. package/dist/{vue-ui-funnel-CCy9NFKa.js → vue-ui-funnel-BpnC82m0.js} +32 -32
  123. package/dist/{vue-ui-galaxy-BjoOO1lq.js → vue-ui-galaxy-FNzwDOH1.js} +330 -330
  124. package/dist/vue-ui-gauge-D6I78FZr.js +920 -0
  125. package/dist/{vue-ui-geo-C8FXD9it.js → vue-ui-geo-Z1xuH8r6.js} +18 -18
  126. package/dist/{vue-ui-gizmo-BiLdRUEw.js → vue-ui-gizmo-ZlmJIh0_.js} +62 -62
  127. package/dist/{vue-ui-heatmap-D3ewCJX6.js → vue-ui-heatmap-BWN0UBKE.js} +264 -264
  128. package/dist/{vue-ui-history-plot-BpyvvMPA.js → vue-ui-history-plot-2E6KrNhv.js} +74 -74
  129. package/dist/vue-ui-horizontal-bar-BzP7k_3J.js +1681 -0
  130. package/dist/{vue-ui-kpi-YCPfpGty.js → vue-ui-kpi-B9bdicir.js} +3 -3
  131. package/dist/{vue-ui-mini-loader-Bi0nsbao.js → vue-ui-mini-loader-BnLOdRA0.js} +2 -2
  132. package/dist/vue-ui-molecule-B-69fE_1.js +925 -0
  133. package/dist/{vue-ui-mood-radar-81X63j-D.js → vue-ui-mood-radar-D3kF7iHz.js} +21 -21
  134. package/dist/{vue-ui-nested-donuts-C1j-h8RW.js → vue-ui-nested-donuts-CTmomXj1.js} +256 -256
  135. package/dist/{vue-ui-onion-CZLJxedN.js → vue-ui-onion-3fJB4mfC.js} +45 -45
  136. package/dist/{vue-ui-parallel-coordinate-plot-Czndz3oA.js → vue-ui-parallel-coordinate-plot-CKKkbBlu.js} +39 -39
  137. package/dist/{vue-ui-quadrant-LwMr7DKL.js → vue-ui-quadrant-DGLnjwva.js} +355 -355
  138. package/dist/{vue-ui-quick-chart-C20W7LNY.js → vue-ui-quick-chart-DJnhlEXi.js} +359 -359
  139. package/dist/vue-ui-radar-AIBX0QYs.js +1229 -0
  140. package/dist/{vue-ui-rating-D8QQctnQ.js → vue-ui-rating-pDVqT08V.js} +33 -33
  141. package/dist/vue-ui-relation-circle-BQVR8L9Y.js +924 -0
  142. package/dist/{vue-ui-ridgeline-B5BRKUoc.js → vue-ui-ridgeline-CYq3APPQ.js} +54 -54
  143. package/dist/{vue-ui-rings-DVA3hiUL.js → vue-ui-rings-BgFO7NYF.js} +81 -81
  144. package/dist/vue-ui-scatter-BPu5DwaJ.js +2413 -0
  145. package/dist/{vue-ui-skeleton-DxXA3XSP.js → vue-ui-skeleton-qpdvvWtx.js} +41 -41
  146. package/dist/{vue-ui-smiley-CqwB6Uhu.js → vue-ui-smiley-DUI5n89s.js} +16 -16
  147. package/dist/{vue-ui-spark-trend-B3mkyeZ3.js → vue-ui-spark-trend-CQ9ZN5sL.js} +27 -27
  148. package/dist/{vue-ui-sparkbar-BlmV-ndv.js → vue-ui-sparkbar-d6ctWlLA.js} +83 -83
  149. package/dist/{vue-ui-sparkgauge-DKRJDqAS.js → vue-ui-sparkgauge-HX_rqLxX.js} +44 -44
  150. package/dist/{vue-ui-sparkhistogram-BNiXxI65.js → vue-ui-sparkhistogram-B_zxKMHv.js} +110 -110
  151. package/dist/vue-ui-sparkline-BSdOdtKu.js +1507 -0
  152. package/dist/{vue-ui-sparkstackbar-C6qMimoL.js → vue-ui-sparkstackbar-B2sqpW-w.js} +155 -155
  153. package/dist/{vue-ui-stackbar-C7jTnGyT.js → vue-ui-stackbar-DH75CCpy.js} +81 -81
  154. package/dist/vue-ui-stackline-CXodezD1.js +2398 -0
  155. package/dist/{vue-ui-strip-plot-CvjdxEOT.js → vue-ui-strip-plot-C1un5Mku.js} +90 -90
  156. package/dist/{vue-ui-table-B0zkvlw5.js → vue-ui-table-R-aXpHvF.js} +78 -78
  157. package/dist/{vue-ui-table-heatmap-xwfStZrD.js → vue-ui-table-heatmap-C1e_7MJ2.js} +16 -16
  158. package/dist/{vue-ui-table-sparkline-BQjo2sbB.js → vue-ui-table-sparkline-Dy-6i82F.js} +22 -22
  159. package/dist/{vue-ui-thermometer-CVhxnkN-.js → vue-ui-thermometer-CIse_lcE.js} +21 -21
  160. package/dist/{vue-ui-timer-Cimuw9rF.js → vue-ui-timer-AlYvthQ6.js} +23 -23
  161. package/dist/{vue-ui-tiremarks-CSPL1oli.js → vue-ui-tiremarks-CP_bw6by.js} +19 -19
  162. package/dist/{vue-ui-treemap-BWivpffU.js → vue-ui-treemap-BXrV5VAp.js} +65 -65
  163. package/dist/{vue-ui-waffle-FmLPDL2g.js → vue-ui-waffle-uoqEnQ30.js} +232 -232
  164. package/dist/{vue-ui-wheel-BjdVO5f4.js → vue-ui-wheel-DLgw_xfe.js} +36 -36
  165. package/dist/{vue-ui-word-cloud-hhjEM6ee.js → vue-ui-word-cloud-Bgu-qbcp.js} +35 -35
  166. package/dist/{vue-ui-world-H9HX6smc.js → vue-ui-world-B93iq1ZM.js} +445 -445
  167. package/dist/vue-ui-xy-DzuOBbPL.js +4744 -0
  168. package/dist/{vue-ui-xy-canvas-kbP-mjEo.js → vue-ui-xy-canvas-DjxM7y3T.js} +60 -60
  169. package/package.json +5 -1
  170. package/dist/exposedLib-CI8ji8G-.js +0 -19
  171. package/dist/vue-ui-3d-bar-D1dX4mDU.js +0 -1757
  172. package/dist/vue-ui-age-pyramid-BYIxO-rR.js +0 -1238
  173. package/dist/vue-ui-bullet-B65T4IyK.js +0 -710
  174. package/dist/vue-ui-carousel-table-DB1kG5AJ.js +0 -455
  175. package/dist/vue-ui-chestnut-CXzK4gsf.js +0 -2010
  176. package/dist/vue-ui-chord-BhuABwXT.js +0 -1391
  177. package/dist/vue-ui-donut-DrM628Ge.js +0 -2410
  178. package/dist/vue-ui-donut-evolution-CIXY4tKY.js +0 -1510
  179. package/dist/vue-ui-dumbbell-B8V84XkY.js +0 -1530
  180. package/dist/vue-ui-gauge-DbV0oQs3.js +0 -920
  181. package/dist/vue-ui-horizontal-bar-DoCvNzdC.js +0 -1681
  182. package/dist/vue-ui-molecule-IFNTvQdE.js +0 -925
  183. package/dist/vue-ui-radar-Dxopl3RI.js +0 -1229
  184. package/dist/vue-ui-relation-circle-CMRXow6X.js +0 -924
  185. package/dist/vue-ui-scatter-DcveiIfl.js +0 -2413
  186. package/dist/vue-ui-sparkline-C5EDZIAt.js +0 -1507
  187. package/dist/vue-ui-stackline-fdOF6lLn.js +0 -2398
  188. package/dist/vue-ui-xy-omDIF90L.js +0 -4744
@@ -1,1229 +0,0 @@
1
- import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Bt as t, Ct as n, D as r, Et as i, G as a, H as ee, J as te, Mt as o, Nt as ne, Rt as re, S as ie, St as ae, X as s, i as oe, nt as se, ot as ce, pt as le, t as ue, v as de, x as fe, y as pe } from "./lib-DUeYQsS0.js";
3
- import { t as me } from "./useConfig-DnH7Pf_2.js";
4
- import { t as he } from "./usePrinter-C1Gqt_Sp.js";
5
- import { n as ge, t as _e } from "./BaseScanner-Dr2a1Msy.js";
6
- import { t as ve } from "./useSvgExport-SVIsDot8.js";
7
- import { t as ye } from "./useNestedProp-CNcoy38D.js";
8
- import { t as be } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as xe } from "./img-1cKsci8e.js";
10
- import { n as Se } from "./Title-NWp4qB4K.js";
11
- import { t as Ce } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
- import { c as we } from "./canvas-lib-BOP_HS11.js";
13
- import { t as Te } from "./useResponsive-BfnK0KxU.js";
14
- import { t as Ee } from "./BaseLegendToggle-C_Db-y7s.js";
15
- import { t as De } from "./A11yDataTable-BCbtxMU6.js";
16
- import { t as Oe } from "./useUserOptionState-DK-_1ddE.js";
17
- import { t as ke } from "./useChartAccessibility-DYqac8yF.js";
18
- import { t as Ae } from "./Legend-Cz2uQ5gs.js";
19
- import { t as je } from "./useAutoSizeLabelsInsideViewbox-BIVntRZp.js";
20
- import { t as Me } from "./vue_ui_radar-jafTED5j.js";
21
- import { Fragment as c, Teleport as Ne, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as Pe, createTextVNode as Fe, createVNode as Ie, defineAsyncComponent as m, guardReactiveProps as h, mergeProps as Le, nextTick as Re, normalizeClass as g, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as ze, onMounted as Be, openBlock as y, ref as b, renderList as x, renderSlot as S, resolveDynamicComponent as Ve, shallowRef as He, toDisplayString as C, toRefs as Ue, unref as w, watch as We, withCtx as T } from "vue";
22
- //#region src/components/vue-ui-radar.vue
23
- var Ge = /* @__PURE__ */ e({ default: () => bt }), Ke = ["id"], qe = ["id"], Je = ["id"], Ye = { style: { position: "relative" } }, Xe = [
24
- "xmlns",
25
- "aria-describedby",
26
- "viewBox"
27
- ], Ze = ["width", "height"], Qe = ["id"], $e = ["stop-color"], et = ["stop-color"], tt = { key: 1 }, nt = [
28
- "x1",
29
- "y1",
30
- "x2",
31
- "y2",
32
- "stroke",
33
- "stroke-width"
34
- ], rt = { key: 0 }, it = [
35
- "d",
36
- "stroke",
37
- "stroke-width"
38
- ], at = [
39
- "d",
40
- "stroke",
41
- "stroke-width"
42
- ], ot = { key: 2 }, st = [
43
- "x",
44
- "y",
45
- "text-anchor",
46
- "font-size",
47
- "fill",
48
- "onMouseenter",
49
- "onMouseleave",
50
- "onClick"
51
- ], ct = [
52
- "points",
53
- "stroke",
54
- "stroke-width"
55
- ], lt = [
56
- "points",
57
- "stroke",
58
- "stroke-width",
59
- "fill"
60
- ], ut = { key: 3 }, dt = [
61
- "cx",
62
- "cy",
63
- "fill",
64
- "r",
65
- "stroke"
66
- ], ft = {
67
- key: 0,
68
- style: {
69
- position: "absolute",
70
- top: "100%",
71
- left: "0",
72
- width: "100%"
73
- },
74
- "data-dom-to-png-ignore": "",
75
- "aria-hidden": "true"
76
- }, pt = {
77
- key: 5,
78
- class: "vue-data-ui-watermark"
79
- }, mt = ["id"], ht = ["onClick"], gt = {
80
- key: 0,
81
- style: {
82
- "max-width": "200px",
83
- margin: "0 auto"
84
- }
85
- }, _t = {
86
- class: "vue-ui-radar-tooltip-datalabel",
87
- style: { width: "100%" }
88
- }, vt = { class: "vue-ui-radar-tooltip-datalabel-name" }, yt = { key: 0 }, bt = /* @__PURE__ */ Ce({
89
- __name: "vue-ui-radar",
90
- props: {
91
- config: {
92
- type: Object,
93
- default() {
94
- return {};
95
- }
96
- },
97
- dataset: {
98
- type: Object,
99
- default() {
100
- return {};
101
- }
102
- }
103
- },
104
- emits: ["selectLegend", "copyAlt"],
105
- setup(e, { expose: Ce, emit: Ge }) {
106
- let bt = m(() => import("./Tooltip-BENq327o.js")), xt = m(() => import("./BaseIcon-DfLoHNUj.js").then((e) => e.n)), St = m(() => import("./vue-ui-sparkbar-BlmV-ndv.js").then((e) => e.n)), Ct = m(() => import("./vue-ui-accordion-Bpbv-VHE.js").then((e) => e.n)), wt = m(() => import("./DataTable-B--IN22e.js")), Tt = m(() => import("./PenAndPaper-DqrClVfb.js").then((e) => e.t)), Et = m(() => import("./UserOptions-C1NgoGu6.js").then((e) => e.n)), Dt = m(() => import("./PackageVersion-eS823iMF.js").then((e) => e.t)), Ot = m(() => import("./BaseDraggableDialog-4hDW-Rj2.js").then((e) => e.n)), { vue_ui_radar: kt } = me(), { isThemeValid: At, warnInvalidTheme: jt } = be(), E = e, Mt = l(() => !!E.dataset && Object.keys(E.dataset).length), D = b(ee()), O = b(!1), Nt = b(""), Pt = b(0), k = b(null), Ft = b(null), It = b(null), Lt = b(null), Rt = b(null), zt = b(0), Bt = b(0), Vt = b(0), Ht = b(!1), A = b(null), Ut = b(null), Wt = b(!1), Gt = b(!1), j = b(null), Kt = b({
107
- x: 0,
108
- y: 0
109
- }), M = b("pointer"), qt = b(!1), N = b($t()), P = l(() => N.value.userOptions.useCursorPointer), Jt = l(() => t({
110
- defaultConfig: {
111
- userOptions: { show: !1 },
112
- table: { show: !1 },
113
- useCssAnimation: !1,
114
- style: { chart: {
115
- backgroundColor: "#99999930",
116
- layout: {
117
- grid: { stroke: "#6A6A6A90" },
118
- labels: { dataLabels: { show: !1 } },
119
- outerPolygon: { stroke: "#6A6A6A" }
120
- },
121
- legend: { backgroundColor: "transparent" }
122
- } }
123
- },
124
- userConfig: N.value.skeletonConfig ?? {}
125
- })), { loading: Yt, FINAL_DATASET: F } = ge({
126
- ...Ue(E),
127
- FINAL_CONFIG: N,
128
- prepareConfig: $t,
129
- callback: () => {
130
- Promise.resolve().then(async () => {
131
- await Re(), B.value.showTable = N.value.table.show;
132
- });
133
- },
134
- skeletonDataset: E.config?.skeletonDataset ?? {
135
- categories: [{
136
- name: "_",
137
- color: "#6A6A6A"
138
- }],
139
- series: [
140
- {
141
- name: "_",
142
- values: [.6],
143
- target: 1
144
- },
145
- {
146
- name: "_",
147
- values: [.6],
148
- target: 1
149
- },
150
- {
151
- name: "_",
152
- values: [.6],
153
- target: 1
154
- },
155
- {
156
- name: "_",
157
- values: [.6],
158
- target: 1
159
- },
160
- {
161
- name: "_",
162
- values: [.6],
163
- target: 1
164
- },
165
- {
166
- name: "_",
167
- values: [.6],
168
- target: 1
169
- }
170
- ]
171
- },
172
- skeletonConfig: t({
173
- defaultConfig: N.value,
174
- userConfig: Jt.value
175
- })
176
- }), { userOptionsVisible: Xt, setUserOptionsVisibility: Zt, keepUserOptionState: Qt } = Oe({ config: N.value }), { svgRef: I } = ke({ config: N.value.style.chart.title });
177
- function $t() {
178
- let e = ye({
179
- userConfig: E.config,
180
- defaultConfig: kt
181
- }), t = e.theme;
182
- if (!t) return e;
183
- if (!At.value(e)) return jt(e), e;
184
- let n = ye({
185
- userConfig: Me[t] || E.config,
186
- defaultConfig: e
187
- }), r = ye({
188
- userConfig: E.config,
189
- defaultConfig: n
190
- });
191
- return {
192
- ...r,
193
- customPalette: r.customPalette.length ? r.customPalette : re[t] || i
194
- };
195
- }
196
- We(() => E.config, (e) => {
197
- N.value = $t(), Xt.value = !N.value.userOptions.showOnChartHover, en(), zt.value += 1, Bt.value += 1, Vt.value += 1, B.value.dataLabels.show = N.value.style.chart.layout.labels.dataLabels.show, B.value.showTable = N.value.table.show, B.value.showTooltip = N.value.style.chart.tooltip ? N.value.style.chart.tooltip.show : !1;
198
- }, { deep: !0 });
199
- let L = He(null), R = He(null), z = l(() => N.value.debug);
200
- function en() {
201
- if (n(E.dataset) && s({
202
- componentName: "VueUiRadar",
203
- type: "dataset",
204
- debug: z.value
205
- }), N.value.responsive) {
206
- let e = we(() => {
207
- let { width: e, height: t } = Te({
208
- chart: k.value,
209
- title: N.value.style.chart.title.text ? Ft.value : null,
210
- legend: N.value.style.chart.legend.show ? It.value : null,
211
- source: Lt.value,
212
- noTitle: Rt.value
213
- });
214
- requestAnimationFrame(() => {
215
- V.value.width = e, V.value.height = t, Tn();
216
- });
217
- });
218
- L.value && (R.value && L.value.unobserve(R.value), L.value.disconnect()), L.value = new ResizeObserver(e), R.value = k.value.parentNode, L.value.observe(R.value);
219
- }
220
- Tn();
221
- }
222
- Be(() => {
223
- Ht.value = !0, en();
224
- }), ze(() => {
225
- L.value && (R.value && L.value.unobserve(R.value), L.value.disconnect());
226
- });
227
- let { isPrinting: tn, isImaging: nn, generatePdf: rn, generateImage: an } = he({
228
- elementId: `vue-ui-radar_${D.value}`,
229
- fileName: N.value.style.chart.title.text || "vue-ui-radar",
230
- options: N.value.userOptions.print
231
- }), on = l(() => N.value.userOptions.show && !N.value.style.chart.title.text), sn = l(() => fe(N.value.customPalette)), B = b({
232
- dataLabels: { show: N.value.style.chart.layout.labels.dataLabels.show },
233
- showTable: N.value.table.show,
234
- showTooltip: N.value.style.chart.tooltip.show
235
- }), cn = l(() => ({ style: {
236
- backgroundColor: "#FFFFFF00",
237
- animation: {
238
- show: N.value.style.chart.tooltip.animation.show,
239
- animationFrames: N.value.style.chart.tooltip.animation.animationFrames
240
- },
241
- labels: {
242
- fontSize: N.value.style.chart.tooltip.fontSize,
243
- name: { color: N.value.style.chart.tooltip.color }
244
- },
245
- gutter: {
246
- backgroundColor: "#CCCCCC",
247
- opacity: 30
248
- }
249
- } })), V = b({
250
- height: 312,
251
- width: 512
252
- }), ln = Ge, H = b([]), U = b(null), W = b(!1);
253
- function un() {
254
- H.value.length ? H.value = [] : J.value.forEach((e, t) => {
255
- H.value.push(t);
256
- }), dn();
257
- }
258
- function dn() {
259
- ln("selectLegend", J.value.filter((e, t) => !H.value.includes(t)).map((e) => ({
260
- name: e.name,
261
- color: e.color,
262
- proportion: e.totalProportion
263
- })));
264
- }
265
- function fn(e) {
266
- W.value = !0, H.value.includes(e) ? (U.value = e, H.value = H.value.filter((t) => t !== e), setTimeout(() => {
267
- W.value = !1, U.value = null;
268
- }, 500)) : (H.value.push(e), setTimeout(() => {
269
- W.value = !1;
270
- }, 500)), dn();
271
- }
272
- function pn() {
273
- return J.value.map((e) => ({
274
- name: e.name,
275
- color: e.color,
276
- proportion: e.totalProportion
277
- }));
278
- }
279
- function mn() {
280
- let e = F.value;
281
- if ([null, void 0].includes(e?.categories)) {
282
- s({
283
- componentName: "VueUiRadar",
284
- type: "dataset",
285
- debug: z.value
286
- }), s({
287
- componentName: "VueUiRadar",
288
- type: "datasetAttribute",
289
- property: "categories ({ name: string; prefix?: string; suffix?: string}[])",
290
- debug: z.value
291
- });
292
- return;
293
- }
294
- e.categories.length === 0 ? s({
295
- componentName: "VueUiRadar",
296
- type: "datasetAttributeEmpty",
297
- property: "categories",
298
- debug: z.value
299
- }) : e.categories.forEach((e, t) => {
300
- ce({
301
- datasetObject: e,
302
- requiredAttributes: ["name"]
303
- }).forEach((e) => {
304
- s({
305
- componentName: "VueUiRadar",
306
- type: "datasetAttribute",
307
- property: `category.${e} at index ${t}`,
308
- index: t,
309
- debug: z.value
310
- });
311
- });
312
- }), [null, void 0].includes(e?.series) ? s({
313
- componentName: "VueUiRadar",
314
- type: "datasetAttribute",
315
- property: "series ({ name: string; values: number[]; color?: string; target: number}[])",
316
- debug: z.value
317
- }) : e.series.forEach((e, t) => {
318
- ce({
319
- datasetObject: e,
320
- requiredAttributes: [
321
- "name",
322
- "values",
323
- "target"
324
- ]
325
- }).forEach((e) => {
326
- s({
327
- componentName: "VueUiRadar",
328
- type: "datasetSerieAttribute",
329
- key: "series",
330
- property: e,
331
- index: t,
332
- debug: z.value
333
- });
334
- });
335
- });
336
- }
337
- We(() => F.value, () => mn(), {
338
- deep: !0,
339
- immediate: !0
340
- });
341
- let G = l(() => {
342
- let e = Array.isArray(F.value?.categories) ? F.value.categories : [], t = sn.value ?? i;
343
- return e.map((e, n) => ({
344
- name: e?.name ?? "",
345
- categoryId: `radar_category_${D.value}_${n}`,
346
- color: pe(e?.color) || t[n] || i[n % i.length],
347
- prefix: e?.prefix ?? "",
348
- suffix: e?.suffix ?? ""
349
- }));
350
- }), K = l(() => F.value.series.map((e, t) => ({
351
- ...e,
352
- color: pe(e.color) || sn.value[t] || i[t] || i[t % i.length],
353
- serieId: `radar_serie_${D.value}_${t}`,
354
- formatter: e.formatter || null,
355
- absoluteIndex: t
356
- })));
357
- function hn(e) {
358
- return K.value.length ? J.value.find((t) => t.name === e) || (N.value.debug && console.warn(`VueUiRadar - Series name not found "${e}"`), null) : (N.value.debug && console.warn("VueUiRadar - There are no series to show."), null);
359
- }
360
- function gn(e) {
361
- let t = hn(e);
362
- t !== null && H.value.includes(t.absoluteIndex) && fn(t.absoluteIndex);
363
- }
364
- function _n(e) {
365
- let t = hn(e);
366
- t !== null && (H.value.includes(t.absoluteIndex) || fn(t.absoluteIndex));
367
- }
368
- let vn = l(() => Math.max(...K.value.flatMap((e) => e.values))), yn = l(() => K.value.length), bn = l(() => Math.min(V.value.width, V.value.height) / 3), xn = l(() => r({
369
- plot: {
370
- x: V.value.width / 2,
371
- y: V.value.height / 2
372
- },
373
- radius: bn.value,
374
- sides: yn.value,
375
- rotation: 0
376
- })), Sn = l(() => {
377
- let e = [];
378
- for (let t = 0; t < bn.value; t += bn.value / N.value.style.chart.layout.grid.graduations) e.push(t);
379
- return e;
380
- }), q = l(() => xn.value.coordinates.map((e, t) => {
381
- let n = K.value[t].values.map((n) => En({
382
- centerX: V.value.width / 2,
383
- centerY: V.value.height / 2,
384
- apexX: e.x,
385
- apexY: e.y,
386
- proportion: n / (K.value[t].target || vn.value)
387
- }));
388
- return {
389
- ...e,
390
- ...K.value[t],
391
- plots: n
392
- };
393
- }).map((e) => ({
394
- ...e,
395
- labelX: Cn(e).x,
396
- labelY: Cn(e).y,
397
- labelAnchor: Cn(e).anchor
398
- })));
399
- function Cn({ x: e, y: t }) {
400
- let n = "middle";
401
- return e = Math.round(e), t = Math.round(t), e > V.value.width / 2 && (e += 12, n = "start"), e < V.value.width / 2 && (e -= 12, n = "end"), t > V.value.height / 2 + 1 && (t += 20), t < V.value.height / 2 - 1 && (t -= 12), t === V.value.height / 2 && (t += 4), {
402
- x: e,
403
- y: t,
404
- anchor: n
405
- };
406
- }
407
- let wn = l({
408
- get: () => N.value.style.chart.layout.labels.dataLabels.fontSize,
409
- set: (e) => e
410
- }), { autoSizeLabels: Tn } = je({
411
- svgRef: I,
412
- fontSize: N.value.style.chart.layout.labels.dataLabels.fontSize,
413
- minFontSize: 6,
414
- sizeRef: wn,
415
- labelClass: ".vue-ui-radar-apex-label"
416
- });
417
- function En({ centerX: e, centerY: t, apexX: n, apexY: r, proportion: i }) {
418
- return {
419
- x: e + (n - e) * i,
420
- y: t + (r - t) * i
421
- };
422
- }
423
- let J = l(() => {
424
- let e = K.value.map((e, t) => e.values.map((t) => t / (e.target || vn.value)));
425
- return G.value.map((t, n) => {
426
- let r = de(e.map((e) => e[n]).reduce((e, t) => e + t, 0) / K.value.length);
427
- return {
428
- ...t,
429
- absoluteIndex: n,
430
- totalProportion: r,
431
- shape: "circle",
432
- opacity: H.value.includes(n) ? .5 : 1,
433
- segregate: () => fn(n),
434
- isSegregated: H.value.includes(n),
435
- display: `${t.name}: ${a({
436
- v: (r ?? 0) * 100,
437
- s: "%",
438
- r: N.value.style.chart.legend.roundingPercentage
439
- })}`
440
- };
441
- });
442
- }), Dn = l(() => ({
443
- cy: "radar-div-legend",
444
- backgroundColor: N.value.style.chart.legend.backgroundColor,
445
- color: N.value.style.chart.legend.color,
446
- fontSize: N.value.style.chart.legend.fontSize,
447
- paddingBottom: 12,
448
- fontWeight: N.value.style.chart.legend.bold ? "bold" : ""
449
- })), Y = l(() => {
450
- let e = [
451
- {
452
- name: N.value.translations.datapoint,
453
- color: ""
454
- },
455
- {
456
- name: N.value.translations.target,
457
- color: ""
458
- },
459
- ...J.value
460
- ];
461
- return {
462
- head: e,
463
- body: F.value.series.map((e) => [
464
- e.name,
465
- oe(e.formatter, e.target, a({
466
- p: e.prefix,
467
- v: e.target,
468
- s: e.suffix,
469
- r: N.value.table.td.roundingValue
470
- })),
471
- ...e.values.map((t, n) => `${oe(e.formatter, t, a({
472
- p: G.value[n]?.prefix ?? "",
473
- v: t,
474
- s: G.value[n]?.suffix ?? "",
475
- r: N.value.table.td.roundingValue
476
- }))} (${isNaN(t / e.target) ? "" : a({
477
- v: t / e.target * 100,
478
- s: "%",
479
- r: N.value.table.td.roundingPercentage
480
- })})`)
481
- ]),
482
- config: {
483
- th: {
484
- backgroundColor: N.value.table.th.backgroundColor,
485
- color: N.value.table.th.color,
486
- outline: N.value.table.th.outline
487
- },
488
- td: {
489
- backgroundColor: N.value.table.td.backgroundColor,
490
- color: N.value.table.td.color,
491
- outline: N.value.table.td.outline
492
- },
493
- breakpoint: N.value.table.responsiveBreakpoint
494
- },
495
- colNames: e
496
- };
497
- }), X = b(null), On = b([]), kn = b(null);
498
- function An(e, t) {
499
- O.value = !1, X.value = null, j.value = null, M.value = "pointer", N.value.events.datapointLeave && N.value.events.datapointLeave({
500
- datapoint: e,
501
- seriesIndex: t
502
- });
503
- }
504
- function jn(e, t) {
505
- N.value.events.datapointClick && N.value.events.datapointClick({
506
- datapoint: e,
507
- seriesIndex: t
508
- });
509
- }
510
- function Mn(e, t, n = "pointer") {
511
- N.value.events.datapointEnter && N.value.events.datapointEnter({
512
- datapoint: e,
513
- seriesIndex: t
514
- }), M.value = n, j.value = t;
515
- let r = G.value.slice();
516
- On.value = [], X.value = t, O.value = !0, kn.value = {
517
- datapoint: e,
518
- seriesIndex: t,
519
- series: {
520
- categories: r,
521
- datapoints: K.value,
522
- radar: q.value
523
- },
524
- config: N.value
525
- };
526
- let i = N.value.style.chart.tooltip.customFormat;
527
- if (le(i) && se(() => i({
528
- seriesIndex: t,
529
- datapoint: e,
530
- series: {
531
- categories: r,
532
- datapoints: K.value,
533
- radar: q.value
534
- },
535
- config: N.value
536
- }))) {
537
- Nt.value = i({
538
- seriesIndex: t,
539
- datapoint: e,
540
- series: {
541
- categories: r,
542
- datapoints: K.value,
543
- radar: q.value
544
- },
545
- config: N.value
546
- });
547
- return;
548
- }
549
- Nt.value = `<div style="width:100%;text-align:center;border-bottom:1px solid ${N.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`;
550
- for (let t = 0; t < e.values.length; t += 1) if (!H.value.includes(t)) {
551
- let n = r[t], i = e.values[t], ee = isNaN(i / e.target) ? 0 : i / e.target * 100, te = oe(e.formatter, i, a({
552
- p: G.value[t].prefix,
553
- v: i,
554
- s: G.value[t].suffix,
555
- r: N.value.style.chart.tooltip.roundingValue
556
- }), { datapoint: e }), o = a({
557
- v: ee,
558
- s: "%",
559
- r: N.value.style.chart.tooltip.roundingPercentage
560
- }), ne = N.value.style.chart.tooltip.showValue && N.value.style.chart.tooltip.showPercentage ? `${te} (${o})` : N.value.style.chart.tooltip.showValue && !N.value.style.chart.tooltip.showPercentage ? te : !N.value.style.chart.tooltip.showValue && N.value.style.chart.tooltip.showPercentage ? `${o}` : "";
561
- On.value.push({
562
- name: n?.name ?? `#${t + 1}`,
563
- value: e.values[t] / e.target * 100,
564
- color: n?.color,
565
- suffix: ne,
566
- prefix: "",
567
- rounding: N.value.style.chart.tooltip.roundingPercentage,
568
- formatter: e.formatter
569
- });
570
- }
571
- }
572
- function Nn(e = null) {
573
- Re(() => {
574
- let t = [
575
- [N.value.style.chart.title.text],
576
- [N.value.style.chart.title.subtitle.text],
577
- [""]
578
- ], n = [
579
- [""],
580
- [N.value.translations.target],
581
- ...J.value.flatMap((e) => [[e.name], ["%"]])
582
- ], r = F.value.series.map((e, t) => [
583
- e.name,
584
- e.target,
585
- ...e.values.flatMap((t) => [t, isNaN(t / e.target) ? "" : t / e.target * 100])
586
- ]), i = ie(t.concat([n]).concat(r));
587
- e ? e(i) : te({
588
- csvContent: i,
589
- title: N.value.style.chart.title.text || "vue-ui-radar"
590
- });
591
- });
592
- }
593
- let Z = b(!1);
594
- function Pn(e) {
595
- Z.value = e, Pt.value += 1;
596
- }
597
- function Fn() {
598
- B.value.showTable = !B.value.showTable;
599
- }
600
- function In() {
601
- B.value.showTooltip = !B.value.showTooltip;
602
- }
603
- let Q = b(!1);
604
- function Ln() {
605
- Q.value = !Q.value;
606
- }
607
- async function Rn({ scale: e = 2 } = {}) {
608
- if (!k.value) return;
609
- let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await xe({
610
- domElement: k.value,
611
- base64: !0,
612
- img: !0,
613
- scale: e
614
- });
615
- return {
616
- imageUri: i,
617
- base64: a,
618
- title: N.value.style.chart.title.text,
619
- width: t,
620
- height: n,
621
- aspectRatio: r
622
- };
623
- }
624
- let $ = l(() => {
625
- let e = N.value.table.useDialog && !N.value.table.show, t = B.value.showTable;
626
- return {
627
- component: e ? Ot : Ct,
628
- title: `${N.value.style.chart.title.text}${N.value.style.chart.title.subtitle.text ? `: ${N.value.style.chart.title.subtitle.text}` : ""}`,
629
- props: e ? {
630
- backgroundColor: N.value.table.th.backgroundColor,
631
- color: N.value.table.th.color,
632
- headerColor: N.value.table.th.color,
633
- headerBg: N.value.table.th.backgroundColor,
634
- isFullscreen: Z.value,
635
- fullscreenParent: k.value,
636
- forcedWidth: Math.min(800, window.innerWidth * .8),
637
- isCursorPointer: P.value
638
- } : {
639
- hideDetails: !0,
640
- config: {
641
- open: t,
642
- maxHeight: 1e4,
643
- body: {
644
- backgroundColor: N.value.style.chart.backgroundColor,
645
- color: N.value.style.chart.color
646
- },
647
- head: {
648
- backgroundColor: N.value.style.chart.backgroundColor,
649
- color: N.value.style.chart.color
650
- }
651
- }
652
- }
653
- };
654
- });
655
- We(() => B.value.showTable, (e) => {
656
- N.value.table.show || (e && N.value.table.useDialog && A.value ? A.value.open() : "close" in A.value && A.value.close());
657
- });
658
- function zn() {
659
- B.value.showTable = !1, Ut.value && Ut.value.setTableIconState(!1);
660
- }
661
- let Bn = l(() => J.value.map((e) => ({
662
- ...e,
663
- name: e.display
664
- }))), Vn = l(() => N.value.style.chart.backgroundColor), Hn = l(() => N.value.style.chart.legend), { exportSvg: Un, getSvg: Wn } = ve({
665
- svg: I,
666
- title: l(() => N.value.style.chart.title),
667
- legend: Hn,
668
- legendItems: Bn,
669
- backgroundColor: Vn
670
- });
671
- async function Gn({ isCb: e }) {
672
- Gt.value = !0, await Re();
673
- try {
674
- if (e) {
675
- let { blob: e, url: t, text: n, dataUrl: r } = await Wn();
676
- await Promise.resolve(N.value.userOptions.callbacks.svg({
677
- blob: e,
678
- url: t,
679
- text: n,
680
- dataUrl: r
681
- }));
682
- } else await Promise.resolve(Un());
683
- } finally {
684
- Gt.value = !1;
685
- }
686
- }
687
- function Kn(e) {
688
- if (e?.stage === "start") {
689
- Wt.value = !0;
690
- return;
691
- }
692
- if (e?.stage === "end") {
693
- Wt.value = !1;
694
- return;
695
- }
696
- an();
697
- }
698
- async function qn() {
699
- if (ln("copyAlt", {
700
- config: N.value,
701
- dataset: q.value
702
- }), !N.value.userOptions.callbacks.altCopy) {
703
- console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
704
- return;
705
- }
706
- await Promise.resolve(N.value.userOptions.callbacks.altCopy({
707
- config: N.value,
708
- dataset: q.value
709
- }));
710
- }
711
- function Jn() {
712
- j.value = null, qt.value = !0;
713
- }
714
- function Yn() {
715
- j.value = null, M.value = "pointer", O.value = !1, X.value = null, qt.value = !1;
716
- }
717
- function Xn(e) {
718
- if (!Number.isFinite(e) || !I.value) return;
719
- let t = q.value[e];
720
- if (!t) return;
721
- let n = I.value.getBoundingClientRect();
722
- Kt.value = {
723
- x: n.left + t.labelX / V.value.width * n.width,
724
- y: n.top + t.labelY / V.value.height * n.height
725
- };
726
- }
727
- function Zn(e) {
728
- if (!I.value || Q.value || document.activeElement !== I.value || !q.value.length) return;
729
- let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
730
- if (!t && !n && !r && !i) return;
731
- if (e.preventDefault(), e.stopPropagation(), i) {
732
- j.value = null, M.value = "pointer", O.value = !1, X.value = null;
733
- return;
734
- }
735
- if (r) {
736
- if (j.value === null) return;
737
- let e = q.value[j.value];
738
- if (!e) return;
739
- jn(e, j.value);
740
- return;
741
- }
742
- let a = j.value;
743
- a === null || a < 0 || a >= q.value.length ? a = n ? 0 : q.value.length - 1 : n ? (a += 1, a >= q.value.length && (a = 0)) : t && (--a, a < 0 && (a = q.value.length - 1));
744
- let ee = q.value[a];
745
- ee && (j.value = a, Xn(a), Mn(ee, a, "keyboard"));
746
- }
747
- let Qn = l(() => ({
748
- headers: Y.value?.colNames?.map((e) => e.name ?? e) ?? [],
749
- rows: Y.value?.body ?? []
750
- }));
751
- return Ce({
752
- getData: pn,
753
- getImage: Rn,
754
- generatePdf: rn,
755
- generateCsv: Nn,
756
- generateImage: an,
757
- generateSvg: Gn,
758
- hideSeries: _n,
759
- showSeries: gn,
760
- toggleTable: Fn,
761
- toggleTooltip: In,
762
- toggleAnnotator: Ln,
763
- toggleFullscreen: Pn,
764
- copyAlt: qn
765
- }), (e, t) => (y(), f("div", {
766
- class: g(`vue-data-ui-component vue-ui-radar ${Z.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${N.value.useCssAnimation ? "" : "vue-ui-dna"}`),
767
- ref_key: "radarChart",
768
- ref: k,
769
- id: `vue-ui-radar_${D.value}`,
770
- style: v(`font-family:${N.value.style.fontFamily};width:100%; ${N.value.responsive ? "height: 100%;" : ""} text-align:center;background:${N.value.style.chart.backgroundColor}`),
771
- onMouseenter: t[2] ||= () => w(Zt)(!0),
772
- onMouseleave: t[3] ||= () => w(Zt)(!1)
773
- }, [
774
- p("div", {
775
- id: `chart-instructions-${D.value}`,
776
- class: "sr-only"
777
- }, [p("p", null, C(N.value.a11y.translations.keyboardNavigation), 1)], 8, qe),
778
- Qn.value?.rows?.length ? (y(), u(De, {
779
- key: 0,
780
- uid: D.value,
781
- head: Qn.value.headers,
782
- body: Qn.value.rows,
783
- notice: N.value.a11y.translations.tableAvailable,
784
- caption: N.value.a11y.translations.tableCaption
785
- }, null, 8, [
786
- "uid",
787
- "head",
788
- "body",
789
- "notice",
790
- "caption"
791
- ])) : d("", !0),
792
- N.value.userOptions.buttons.annotator ? (y(), u(w(Tt), {
793
- key: 1,
794
- svgRef: w(I),
795
- backgroundColor: N.value.style.chart.backgroundColor,
796
- color: N.value.style.chart.color,
797
- active: Q.value,
798
- isCursorPointer: P.value,
799
- onClose: Ln
800
- }, {
801
- "annotator-action-close": T(() => [S(e.$slots, "annotator-action-close", {}, void 0, !0)]),
802
- "annotator-action-color": T(({ color: t }) => [S(e.$slots, "annotator-action-color", _(h({ color: t })), void 0, !0)]),
803
- "annotator-action-draw": T(({ mode: t }) => [S(e.$slots, "annotator-action-draw", _(h({ mode: t })), void 0, !0)]),
804
- "annotator-action-undo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-undo", _(h({ disabled: t })), void 0, !0)]),
805
- "annotator-action-redo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-redo", _(h({ disabled: t })), void 0, !0)]),
806
- "annotator-action-delete": T(({ disabled: t }) => [S(e.$slots, "annotator-action-delete", _(h({ disabled: t })), void 0, !0)]),
807
- _: 3
808
- }, 8, [
809
- "svgRef",
810
- "backgroundColor",
811
- "color",
812
- "active",
813
- "isCursorPointer"
814
- ])) : d("", !0),
815
- on.value ? (y(), f("div", {
816
- key: 2,
817
- ref_key: "noTitle",
818
- ref: Rt,
819
- class: "vue-data-ui-no-title-space",
820
- style: "height:36px; width: 100%;background:transparent"
821
- }, null, 512)) : d("", !0),
822
- N.value.style.chart.title.text ? (y(), f("div", {
823
- key: 3,
824
- ref_key: "chartTitle",
825
- ref: Ft,
826
- style: "width:100%;background:transparent;padding-bottom:12px"
827
- }, [(y(), u(Se, {
828
- key: `title_${zt.value}`,
829
- config: {
830
- title: {
831
- cy: "radar-div-title",
832
- ...N.value.style.chart.title
833
- },
834
- subtitle: {
835
- cy: "radar-div-subtitle",
836
- ...N.value.style.chart.title.subtitle
837
- }
838
- }
839
- }, null, 8, ["config"]))], 512)) : d("", !0),
840
- p("div", { id: `legend-top-${D.value}` }, null, 8, Je),
841
- N.value.userOptions.show && Mt.value && (w(Qt) || w(Xt)) ? (y(), u(w(Et), {
842
- ref_key: "userOptionsRef",
843
- ref: Ut,
844
- key: `user_options_${Pt.value}`,
845
- backgroundColor: N.value.style.chart.backgroundColor,
846
- color: N.value.style.chart.color,
847
- isImaging: w(nn),
848
- isPrinting: w(tn),
849
- uid: D.value,
850
- hasTooltip: N.value.userOptions.buttons.tooltip && N.value.style.chart.tooltip.show,
851
- hasPdf: N.value.userOptions.buttons.pdf,
852
- hasImg: N.value.userOptions.buttons.img,
853
- hasSvg: N.value.userOptions.buttons.svg,
854
- hasXls: N.value.userOptions.buttons.csv,
855
- hasTable: N.value.userOptions.buttons.table,
856
- hasFullscreen: N.value.userOptions.buttons.fullscreen,
857
- hasAltCopy: N.value.userOptions.buttons.altCopy,
858
- isFullscreen: Z.value,
859
- isTooltip: B.value.showTooltip,
860
- titles: { ...N.value.userOptions.buttonTitles },
861
- chartElement: k.value,
862
- position: N.value.userOptions.position,
863
- hasAnnotator: N.value.userOptions.buttons.annotator,
864
- isAnnotation: Q.value,
865
- callbacks: N.value.userOptions.callbacks,
866
- printScale: N.value.userOptions.print.scale,
867
- tableDialog: N.value.table.useDialog,
868
- isCursorPointer: P.value,
869
- onToggleFullscreen: Pn,
870
- onGeneratePdf: w(rn),
871
- onGenerateCsv: Nn,
872
- onGenerateImage: Kn,
873
- onGenerateSvg: Gn,
874
- onToggleTable: Fn,
875
- onToggleTooltip: In,
876
- onToggleAnnotator: Ln,
877
- onCopyAlt: qn,
878
- style: v({ visibility: w(Qt) ? w(Xt) ? "visible" : "hidden" : "visible" })
879
- }, Pe({ _: 2 }, [
880
- e.$slots.menuIcon ? {
881
- name: "menuIcon",
882
- fn: T(({ isOpen: t, color: n }) => [S(e.$slots, "menuIcon", _(h({
883
- isOpen: t,
884
- color: n
885
- })), void 0, !0)]),
886
- key: "0"
887
- } : void 0,
888
- e.$slots.optionTooltip ? {
889
- name: "optionTooltip",
890
- fn: T(() => [S(e.$slots, "optionTooltip", {}, void 0, !0)]),
891
- key: "1"
892
- } : void 0,
893
- e.$slots.optionPdf ? {
894
- name: "optionPdf",
895
- fn: T(() => [S(e.$slots, "optionPdf", {}, void 0, !0)]),
896
- key: "2"
897
- } : void 0,
898
- e.$slots.optionCsv ? {
899
- name: "optionCsv",
900
- fn: T(() => [S(e.$slots, "optionCsv", {}, void 0, !0)]),
901
- key: "3"
902
- } : void 0,
903
- e.$slots.optionImg ? {
904
- name: "optionImg",
905
- fn: T(() => [S(e.$slots, "optionImg", {}, void 0, !0)]),
906
- key: "4"
907
- } : void 0,
908
- e.$slots.optionSvg ? {
909
- name: "optionSvg",
910
- fn: T(() => [S(e.$slots, "optionSvg", {}, void 0, !0)]),
911
- key: "5"
912
- } : void 0,
913
- e.$slots.optionTable ? {
914
- name: "optionTable",
915
- fn: T(() => [S(e.$slots, "optionTable", {}, void 0, !0)]),
916
- key: "6"
917
- } : void 0,
918
- e.$slots.optionFullscreen ? {
919
- name: "optionFullscreen",
920
- fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [S(e.$slots, "optionFullscreen", _(h({
921
- toggleFullscreen: t,
922
- isFullscreen: n
923
- })), void 0, !0)]),
924
- key: "7"
925
- } : void 0,
926
- e.$slots.optionAnnotator ? {
927
- name: "optionAnnotator",
928
- fn: T(({ toggleAnnotator: t, isAnnotator: n }) => [S(e.$slots, "optionAnnotator", _(h({
929
- toggleAnnotator: t,
930
- isAnnotator: n
931
- })), void 0, !0)]),
932
- key: "8"
933
- } : void 0,
934
- e.$slots.optionAltCopy ? {
935
- name: "optionAltCopy",
936
- fn: T(({ altCopy: t }) => [S(e.$slots, "optionAltCopy", _(h({ altCopy: t })), void 0, !0)]),
937
- key: "9"
938
- } : void 0,
939
- e.$slots["custom-menu-before"] ? {
940
- name: "custom-menu-before",
941
- fn: T(() => [S(e.$slots, "custom-menu-before", {}, void 0, !0)]),
942
- key: "10"
943
- } : void 0,
944
- e.$slots["custom-menu-after"] ? {
945
- name: "custom-menu-after",
946
- fn: T(() => [S(e.$slots, "custom-menu-after", {}, void 0, !0)]),
947
- key: "11"
948
- } : void 0
949
- ]), 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("."))) : d("", !0),
950
- p("div", Ye, [(y(), f("svg", {
951
- ref_key: "svgRef",
952
- ref: I,
953
- xmlns: w(ue),
954
- "aria-describedby": `chart-instructions-${D.value}`,
955
- class: g({
956
- "vue-data-ui-fullscreen--on": Z.value,
957
- "vue-data-ui-fulscreen--off": !Z.value
958
- }),
959
- viewBox: `0 0 ${V.value.width <= 0 ? 10 : V.value.width} ${V.value.height <= 0 ? 10 : V.value.height}`,
960
- style: v(`max-width:100%;overflow:visible;background:transparent;color:${N.value.style.chart.color}`),
961
- tabindex: "0",
962
- onFocus: Jn,
963
- onBlur: Yn,
964
- onKeydown: Zn
965
- }, [
966
- Ie(w(Dt)),
967
- e.$slots["chart-background"] ? (y(), f("foreignObject", {
968
- key: 0,
969
- x: 0,
970
- y: 0,
971
- width: V.value.width <= 0 ? 10 : V.value.width,
972
- height: V.value.height <= 0 ? 10 : V.value.height,
973
- style: { pointerEvents: "none" }
974
- }, [S(e.$slots, "chart-background", {}, void 0, !0)], 8, Ze)) : d("", !0),
975
- p("defs", null, [(y(!0), f(c, null, x(G.value, (e, t) => (y(), f("radialGradient", {
976
- cx: "50%",
977
- cy: "50%",
978
- r: "50%",
979
- fx: "50%",
980
- fy: "50%",
981
- id: `radar_gradient_${D.value}_${t}`
982
- }, [p("stop", {
983
- offset: "0%",
984
- "stop-color": w(o)(w(ne)(e.color, .05), N.value.style.chart.layout.dataPolygon.opacity)
985
- }, null, 8, $e), p("stop", {
986
- offset: "100%",
987
- "stop-color": w(o)(e.color, N.value.style.chart.layout.dataPolygon.opacity)
988
- }, null, 8, et)], 8, Qe))), 256))]),
989
- N.value.style.chart.layout.grid.show ? (y(), f("g", tt, [(y(!0), f(c, null, x(q.value, (e) => (y(), f("line", {
990
- x1: V.value.width / 2,
991
- y1: V.value.height / 2,
992
- x2: e.x,
993
- y2: e.y,
994
- stroke: N.value.style.chart.layout.grid.stroke,
995
- "stroke-width": N.value.style.chart.layout.grid.strokeWidth
996
- }, null, 8, nt))), 256)), N.value.style.chart.layout.grid.graduations > 0 ? (y(), f("g", rt, [(y(!0), f(c, null, x(Sn.value, (e) => (y(), f("path", {
997
- d: w(r)({
998
- plot: {
999
- x: V.value.width / 2,
1000
- y: V.value.height / 2
1001
- },
1002
- radius: e,
1003
- sides: yn.value,
1004
- rotation: 0
1005
- }).path,
1006
- fill: "none",
1007
- stroke: N.value.style.chart.layout.grid.stroke,
1008
- "stroke-width": N.value.style.chart.layout.grid.strokeWidth
1009
- }, null, 8, it))), 256))])) : d("", !0)])) : d("", !0),
1010
- p("path", {
1011
- d: xn.value.path,
1012
- fill: "none",
1013
- stroke: N.value.style.chart.layout.outerPolygon.stroke,
1014
- "stroke-width": N.value.style.chart.layout.outerPolygon.strokeWidth,
1015
- "stroke-linejoin": "round",
1016
- "stroke-linecap": "round"
1017
- }, null, 8, at),
1018
- N.value.style.chart.layout.labels.dataLabels.show ? (y(), f("g", ot, [(y(!0), f(c, null, x(q.value, (e, t) => (y(), f("text", {
1019
- class: "vue-ui-radar-apex-label",
1020
- x: e.labelX,
1021
- y: e.labelY,
1022
- "text-anchor": e.labelAnchor,
1023
- "font-size": N.value.style.chart.layout.labels.dataLabels.fontSize,
1024
- fill: N.value.style.chart.layout.labels.dataLabels.color,
1025
- onMouseenter: (n) => Mn(e, t, "pointer"),
1026
- onMouseleave: (n) => An(e, t),
1027
- onClick: (n) => jn(e, t)
1028
- }, C(e.name), 41, st))), 256))])) : d("", !0),
1029
- (y(!0), f(c, null, x(G.value, (e, t) => (y(), f("g", null, [p("g", null, [N.value.useCssAnimation || !N.value.useCssAnimation && !H.value.includes(t) ? (y(), f("polygon", {
1030
- key: 0,
1031
- points: w(ae)(q.value.map((e) => e.plots[t]), !1, !0),
1032
- stroke: N.value.style.chart.backgroundColor,
1033
- "stroke-width": N.value.style.chart.layout.dataPolygon.strokeWidth + 1,
1034
- fill: "none",
1035
- class: g({
1036
- "animated-out": H.value.includes(t) && N.value.useCssAnimation,
1037
- "animated-in": W.value && U.value === t && N.value.useCssAnimation
1038
- })
1039
- }, null, 10, ct)) : d("", !0), N.value.useCssAnimation || !N.value.useCssAnimation && !H.value.includes(t) ? (y(), f("polygon", {
1040
- key: 1,
1041
- points: w(ae)(q.value.map((e) => e.plots[t]), !1, !0),
1042
- stroke: e.color,
1043
- "stroke-width": N.value.style.chart.layout.dataPolygon.strokeWidth,
1044
- fill: N.value.style.chart.layout.dataPolygon.transparent ? "transparent" : N.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${D.value}_${t})` : w(o)(e.color, N.value.style.chart.layout.dataPolygon.opacity),
1045
- class: g({
1046
- "animated-out": H.value.includes(t) && N.value.useCssAnimation,
1047
- "animated-in": W.value && U.value === t && N.value.useCssAnimation
1048
- })
1049
- }, null, 10, lt)) : d("", !0)])]))), 256)),
1050
- N.value.style.chart.layout.plots.show ? (y(), f("g", ut, [(y(!0), f(c, null, x(q.value, (e, t) => (y(), f("g", null, [(y(!0), f(c, null, x(e.plots, (e, n) => (y(), f("circle", {
1051
- cx: e.x,
1052
- cy: e.y,
1053
- fill: H.value.includes(n) ? "transparent" : G.value[n] ? G.value[n].color : "transparent",
1054
- r: X.value !== null && X.value === t ? N.value.style.chart.layout.plots.radius * 1.6 : N.value.style.chart.layout.plots.radius,
1055
- stroke: H.value.includes(n) ? "transparent" : N.value.style.chart.backgroundColor,
1056
- "stroke-width": .5,
1057
- class: g({
1058
- "animated-out": H.value.includes(n) && N.value.useCssAnimation,
1059
- "animated-in": W.value && U.value === n && N.value.useCssAnimation
1060
- })
1061
- }, null, 10, dt))), 256))]))), 256))])) : d("", !0),
1062
- S(e.$slots, "svg", { svg: {
1063
- ...V.value,
1064
- outerPolygon: xn.value,
1065
- isPrintingImg: w(tn) || w(nn) || Wt.value,
1066
- isPrintingSvg: Gt.value
1067
- } }, void 0, !0)
1068
- ], 46, Xe)), e.$slots.hint ? (y(), f("div", ft, [S(e.$slots, "hint", _(h({
1069
- hint: N.value.a11y.translations.keyboardNavigation,
1070
- isVisible: qt.value
1071
- })), void 0, !0)])) : d("", !0)]),
1072
- e.$slots.watermark ? (y(), f("div", pt, [S(e.$slots, "watermark", _(h({ isPrinting: w(tn) || w(nn) || Wt.value || Gt.value })), void 0, !0)])) : d("", !0),
1073
- p("div", { id: `legend-bottom-${D.value}` }, null, 8, mt),
1074
- Ht.value && (N.value.style.chart.legend.show || e.$slots.legend) ? (y(), u(Ne, {
1075
- key: 6,
1076
- to: N.value.style.chart.legend.position === "top" ? `#legend-top-${D.value}` : `#legend-bottom-${D.value}`
1077
- }, [p("div", {
1078
- ref_key: "chartLegend",
1079
- ref: It
1080
- }, [S(e.$slots, "legend", { legend: J.value }, () => [N.value.style.chart.legend.show ? (y(), u(Ae, {
1081
- key: `legend_${Vt.value}`,
1082
- legendSet: J.value,
1083
- config: Dn.value,
1084
- isCursorPointer: P.value,
1085
- onClickMarker: t[0] ||= ({ i: e }) => fn(e)
1086
- }, {
1087
- item: T(({ legend: e, index: t }) => [w(Yt) ? d("", !0) : (y(), f("div", {
1088
- key: 0,
1089
- onClick: (t) => e.segregate(),
1090
- style: v(`opacity:${H.value.includes(t) ? .5 : 1}`)
1091
- }, C(e.display), 13, ht))]),
1092
- legendToggle: T(() => [J.value.length > 2 && N.value.style.chart.legend.selectAllToggle.show && !w(Yt) ? (y(), u(Ee, {
1093
- key: 0,
1094
- backgroundColor: N.value.style.chart.legend.selectAllToggle.backgroundColor,
1095
- color: N.value.style.chart.legend.selectAllToggle.color,
1096
- fontSize: N.value.style.chart.legend.fontSize,
1097
- checked: H.value.length > 0,
1098
- isCursorPointer: P.value,
1099
- onToggle: un
1100
- }, null, 8, [
1101
- "backgroundColor",
1102
- "color",
1103
- "fontSize",
1104
- "checked",
1105
- "isCursorPointer"
1106
- ])) : d("", !0)]),
1107
- _: 1
1108
- }, 8, [
1109
- "legendSet",
1110
- "config",
1111
- "isCursorPointer"
1112
- ])) : d("", !0)], !0)], 512)], 8, ["to"])) : d("", !0),
1113
- e.$slots.source ? (y(), f("div", {
1114
- key: 7,
1115
- ref_key: "source",
1116
- ref: Lt,
1117
- dir: "auto"
1118
- }, [S(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0),
1119
- Ie(w(bt), {
1120
- teleportTo: N.value.style.chart.tooltip.teleportTo,
1121
- show: B.value.showTooltip && O.value,
1122
- backgroundColor: N.value.style.chart.tooltip.backgroundColor,
1123
- color: N.value.style.chart.tooltip.color,
1124
- borderRadius: N.value.style.chart.tooltip.borderRadius,
1125
- borderColor: N.value.style.chart.tooltip.borderColor,
1126
- borderWidth: N.value.style.chart.tooltip.borderWidth,
1127
- backgroundOpacity: N.value.style.chart.tooltip.backgroundOpacity,
1128
- fontSize: N.value.style.chart.tooltip.fontSize,
1129
- position: N.value.style.chart.tooltip.position,
1130
- offsetX: N.value.style.chart.tooltip.offsetX,
1131
- offsetY: N.value.style.chart.tooltip.offsetY,
1132
- parent: k.value,
1133
- content: Nt.value,
1134
- isFullscreen: Z.value,
1135
- isCustom: N.value.style.chart.tooltip.customFormat && typeof N.value.style.chart.tooltip.customFormat == "function",
1136
- smooth: N.value.style.chart.tooltip.smooth,
1137
- backdropFilter: N.value.style.chart.tooltip.backdropFilter,
1138
- smoothForce: N.value.style.chart.tooltip.smoothForce,
1139
- smoothSnapThreshold: N.value.style.chart.tooltip.smoothSnapThreshold,
1140
- isA11yMode: M.value === "keyboard",
1141
- a11yPosition: Kt.value
1142
- }, {
1143
- "tooltip-before": T(() => [S(e.$slots, "tooltip-before", _(h({ ...kn.value })), void 0, !0)]),
1144
- tooltip: T(() => [S(e.$slots, "tooltip", _(h({ ...kn.value })), void 0, !0)]),
1145
- "tooltip-after": T(() => [!["function"].includes(typeof N.value.style.chart.tooltip.customFormat) && !e.$slots.tooltip ? (y(), f("div", gt, [Ie(w(St), {
1146
- dataset: On.value,
1147
- config: cn.value,
1148
- backgroundOpacity: 0
1149
- }, {
1150
- "data-label": T(({ bar: e }) => [p("div", _t, [p("span", vt, C(e.name + (N.value.style.chart.tooltip.showValue || N.value.style.chart.tooltip.showPercentage ? ":" : "")), 1), N.value.style.chart.tooltip.showValue || N.value.style.chart.tooltip.showPercentage ? (y(), f("span", yt, C(e.suffix), 1)) : d("", !0)])]),
1151
- _: 1
1152
- }, 8, ["dataset", "config"])])) : d("", !0), S(e.$slots, "tooltip-after", _(h({ ...kn.value })), void 0, !0)]),
1153
- _: 3
1154
- }, 8, [
1155
- "teleportTo",
1156
- "show",
1157
- "backgroundColor",
1158
- "color",
1159
- "borderRadius",
1160
- "borderColor",
1161
- "borderWidth",
1162
- "backgroundOpacity",
1163
- "fontSize",
1164
- "position",
1165
- "offsetX",
1166
- "offsetY",
1167
- "parent",
1168
- "content",
1169
- "isFullscreen",
1170
- "isCustom",
1171
- "smooth",
1172
- "backdropFilter",
1173
- "smoothForce",
1174
- "smoothSnapThreshold",
1175
- "isA11yMode",
1176
- "a11yPosition"
1177
- ]),
1178
- Mt.value && N.value.userOptions.buttons.table ? (y(), u(Ve($.value.component), Le({ key: 8 }, $.value.props, {
1179
- ref_key: "tableUnit",
1180
- ref: A,
1181
- onClose: zn
1182
- }), Pe({
1183
- content: T(() => [(y(), u(w(wt), {
1184
- key: `table_${Bt.value}`,
1185
- colNames: Y.value.colNames,
1186
- head: Y.value.head,
1187
- body: Y.value.body,
1188
- config: Y.value.config,
1189
- title: N.value.table.useDialog ? "" : $.value.title,
1190
- withCloseButton: !N.value.table.useDialog,
1191
- isCursorPointer: P.value,
1192
- onClose: zn
1193
- }, {
1194
- th: T(({ th: e }) => [Fe(C(e.name), 1)]),
1195
- td: T(({ td: e }) => [Fe(C(e), 1)]),
1196
- _: 1
1197
- }, 8, [
1198
- "colNames",
1199
- "head",
1200
- "body",
1201
- "config",
1202
- "title",
1203
- "withCloseButton",
1204
- "isCursorPointer"
1205
- ]))]),
1206
- _: 2
1207
- }, [N.value.table.useDialog ? {
1208
- name: "title",
1209
- fn: T(() => [Fe(C($.value.title), 1)]),
1210
- key: "0"
1211
- } : void 0, N.value.table.useDialog ? {
1212
- name: "actions",
1213
- fn: T(() => [p("button", {
1214
- tabindex: "0",
1215
- class: "vue-ui-user-options-button",
1216
- onClick: t[1] ||= (e) => Nn(N.value.userOptions.callbacks.csv),
1217
- style: v({ cursor: P.value ? "pointer" : "default" })
1218
- }, [Ie(w(xt), {
1219
- name: "fileCsv",
1220
- stroke: $.value.props.color
1221
- }, null, 8, ["stroke"])], 4)]),
1222
- key: "1"
1223
- } : void 0]), 1040)) : d("", !0),
1224
- S(e.$slots, "skeleton", {}, () => [w(Yt) ? (y(), u(_e, { key: 0 })) : d("", !0)], !0)
1225
- ], 46, Ke));
1226
- }
1227
- }, [["__scopeId", "data-v-d5e67629"]]);
1228
- //#endregion
1229
- export { Ge as n, bt as t };