vue-data-ui 2.16.5 → 2.17.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 (92) hide show
  1. package/README.md +85 -55
  2. package/dist/{Arrow-D9B36pfx.js → Arrow-BAEkZGzL.js} +1 -1
  3. package/dist/{BaseDraggableDialog-DloHiD4h.js → BaseDraggableDialog-ChCkcmj_.js} +2 -2
  4. package/dist/{BaseIcon-DJab5OQD.js → BaseIcon-naqtCxVi.js} +1 -1
  5. package/dist/{ColorPicker-Br0rMnNb.js → ColorPicker-CfIPgxcj.js} +2 -2
  6. package/dist/{DataTable-B6MXw9cG.js → DataTable-D0VYDhfx.js} +2 -2
  7. package/dist/{Legend-DoxQwq_u.js → Legend-Bxlv67uY.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-DhbyLXKW.js → NonSvgPenAndPaper-b_oVy-Dd.js} +3 -3
  9. package/dist/{PackageVersion-DCreTQN4.js → PackageVersion-5TR4ocqp.js} +1 -1
  10. package/dist/{PenAndPaper-BS60tkQN.js → PenAndPaper-D6AqipIO.js} +32 -32
  11. package/dist/{Shape-CrstrfQ9.js → Shape-DtFT5EJa.js} +1 -1
  12. package/dist/{Slicer-Bd0AkciG.js → Slicer-CL6-MRI6.js} +2 -2
  13. package/dist/{SparkTooltip-B4j_rvhG.js → SparkTooltip-Bcv1aoA5.js} +1 -1
  14. package/dist/{Title-BQLtfM0P.js → Title-B-2bV0SW.js} +1 -1
  15. package/dist/{Tooltip-5JmGL7sR.js → Tooltip-CoQnTnr-.js} +1 -1
  16. package/dist/{UserOptions-DMGkAAIO.js → UserOptions-Dd34lEKb.js} +137 -129
  17. package/dist/{dom-to-png-g3Q8kjna.js → dom-to-png-2AA0wHlX.js} +1 -1
  18. package/dist/img-Y_hYz-ZC.js +27 -0
  19. package/dist/{index-CZNLCg7T.js → index-pPGk-uhD.js} +1 -1
  20. package/dist/{pdf-DJVOD0cz.js → pdf-yfk3d1is.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +1098 -162
  23. package/dist/types/vue-data-ui.d.ts +1098 -162
  24. package/dist/{useNestedProp-BcPDA6Xr.js → useNestedProp-DjACxgdZ.js} +1 -1
  25. package/dist/{usePrinter-ButWuZVm.js → usePrinter-DDHcrl0A.js} +2 -2
  26. package/dist/vue-data-ui-CIWxgKjd.js +312 -0
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-o8P0DCbz.js → vue-ui-3d-bar-D5Wpdqfk.js} +244 -235
  29. package/dist/{vue-ui-accordion-CO4hmfuX.js → vue-ui-accordion-CVnA550V.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-C9T5bAEl.js → vue-ui-age-pyramid-BuAl-zC5.js} +167 -158
  31. package/dist/{vue-ui-annotator-CyOygaxE.js → vue-ui-annotator-gl2A20m3.js} +2 -2
  32. package/dist/{vue-ui-bullet-CPT1jdcz.js → vue-ui-bullet-D-VMKpwe.js} +131 -122
  33. package/dist/{vue-ui-candlestick-BfZTMGE0.js → vue-ui-candlestick-1r6YwiUV.js} +248 -239
  34. package/dist/{vue-ui-carousel-table-Bam9qqkj.js → vue-ui-carousel-table-B6UJoNtP.js} +17 -16
  35. package/dist/{vue-ui-chestnut-BAIMBFaQ.js → vue-ui-chestnut-DnlBYpC5.js} +257 -248
  36. package/dist/{vue-ui-chord-92E1yKdu.js → vue-ui-chord-D3kpzYjp.js} +229 -220
  37. package/dist/{vue-ui-circle-pack-DxXPqA7Z.js → vue-ui-circle-pack-CHgdpoYu.js} +200 -191
  38. package/dist/{vue-ui-cursor-Bvy_o8wb.js → vue-ui-cursor-63EAvElT.js} +2 -2
  39. package/dist/{vue-ui-dashboard--QRCkp7q.js → vue-ui-dashboard-Da6CPET-.js} +62 -62
  40. package/dist/{vue-ui-digits-Dl8RHLvt.js → vue-ui-digits-CA8pUKej.js} +2 -2
  41. package/dist/{vue-ui-donut-BxSTOFDt.js → vue-ui-donut-CKa7nFjt.js} +352 -343
  42. package/dist/{vue-ui-donut-evolution-DNzTtWnJ.js → vue-ui-donut-evolution-qeBEA4W8.js} +267 -258
  43. package/dist/{vue-ui-dumbbell-D01p3t3P.js → vue-ui-dumbbell-Bm0PvAKT.js} +146 -137
  44. package/dist/{vue-ui-flow-BMvaRn7E.js → vue-ui-flow-C2dqXvrU.js} +171 -162
  45. package/dist/{vue-ui-funnel-Bd_3wouw.js → vue-ui-funnel-Dvy5rRld.js} +134 -125
  46. package/dist/{vue-ui-galaxy-D4HJH1qq.js → vue-ui-galaxy-Y8LYp5n2.js} +181 -172
  47. package/dist/{vue-ui-gauge-CgIlk2pu.js → vue-ui-gauge-BBo0jWAP.js} +166 -157
  48. package/dist/{vue-ui-gizmo-C1-QYvsn.js → vue-ui-gizmo-DjXfTOWn.js} +3 -3
  49. package/dist/{vue-ui-heatmap-tUn_BlSp.js → vue-ui-heatmap-BbxRpltP.js} +242 -229
  50. package/dist/{vue-ui-history-plot-TfVRzyIK.js → vue-ui-history-plot-ChYf3Nvc.js} +218 -209
  51. package/dist/{vue-ui-kpi-BuL8MAMD.js → vue-ui-kpi-Vfc5-JnE.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-DIeG36P8.js → vue-ui-mini-loader-C0-Nsz8K.js} +2 -2
  53. package/dist/{vue-ui-molecule-8RJNzWIw.js → vue-ui-molecule-B7Yu7vzF.js} +155 -146
  54. package/dist/{vue-ui-mood-radar-DftzG_Bi.js → vue-ui-mood-radar-C8JUTwNw.js} +130 -121
  55. package/dist/{vue-ui-nested-donuts-B9JC_0xK.js → vue-ui-nested-donuts-D0RgFifU.js} +255 -246
  56. package/dist/{vue-ui-onion-DTjaH-Bu.js → vue-ui-onion-D4U7TL_N.js} +150 -141
  57. package/dist/{vue-ui-parallel-coordinate-plot-DwqfVqFB.js → vue-ui-parallel-coordinate-plot-CXMT7Rjr.js} +194 -185
  58. package/dist/{vue-ui-quadrant-Cv3VWA6d.js → vue-ui-quadrant-B13pTVVZ.js} +248 -239
  59. package/dist/{vue-ui-quick-chart-imc0KrbF.js → vue-ui-quick-chart-C0UL4o63.js} +328 -319
  60. package/dist/{vue-ui-radar-kNySclk1.js → vue-ui-radar-XpdiXnhz.js} +165 -156
  61. package/dist/{vue-ui-rating-DBhEbgwD.js → vue-ui-rating-CM8ZrUb1.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-BJQhS0aG.js → vue-ui-relation-circle-CYoFNekk.js} +145 -136
  63. package/dist/{vue-ui-ridgeline-Bhd1Uwm8.js → vue-ui-ridgeline-QUquE6ck.js} +198 -189
  64. package/dist/{vue-ui-rings-C_IT2mi0.js → vue-ui-rings-DwT0IfOh.js} +136 -127
  65. package/dist/{vue-ui-scatter-i8XZreWa.js → vue-ui-scatter-zDpy1udm.js} +207 -199
  66. package/dist/{vue-ui-skeleton-D9B8DY_k.js → vue-ui-skeleton-DJPjyNYn.js} +3 -3
  67. package/dist/{vue-ui-smiley-gmdnUWcW.js → vue-ui-smiley-DoDXl6k0.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-DOF3vl8_.js → vue-ui-spark-trend-CniV6Cpr.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-BVOVq3dA.js → vue-ui-sparkbar-Ds2ITgwn.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-DVO2Z0Rg.js → vue-ui-sparkgauge-CosfK-kw.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-CbV86a2i.js → vue-ui-sparkhistogram-C7O1wPAJ.js} +4 -4
  72. package/dist/{vue-ui-sparkline-jDNAVZu-.js → vue-ui-sparkline-B_iUj3F2.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-auT8CUXm.js → vue-ui-sparkstackbar-DBhWrysr.js} +3 -3
  74. package/dist/{vue-ui-stackbar-DmO02We2.js → vue-ui-stackbar-C3aV4IcL.js} +242 -233
  75. package/dist/{vue-ui-strip-plot-B25s87lj.js → vue-ui-strip-plot-Bvr1GAzH.js} +204 -195
  76. package/dist/{vue-ui-table-B4xbQdK_.js → vue-ui-table-DQKKRgyo.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-DI57VcvH.js → vue-ui-table-heatmap-Dyqj5XJC.js} +26 -25
  78. package/dist/{vue-ui-table-sparkline-DRgsZztN.js → vue-ui-table-sparkline-D4RubyLj.js} +8 -7
  79. package/dist/{vue-ui-thermometer-DkeT5DV_.js → vue-ui-thermometer-B0FKI5cG.js} +149 -140
  80. package/dist/{vue-ui-timer-uon_DLeH.js → vue-ui-timer-DUCBRIl-.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-BV0qXRF2.js → vue-ui-tiremarks-CRt4UQZD.js} +114 -105
  82. package/dist/{vue-ui-treemap-DzJsjtz7.js → vue-ui-treemap-CWP5nYDx.js} +298 -289
  83. package/dist/{vue-ui-vertical-bar-CkLS_DGb.js → vue-ui-vertical-bar-C5fPYltO.js} +294 -285
  84. package/dist/{vue-ui-waffle-B2XiLGQx.js → vue-ui-waffle-BpWLlfpg.js} +190 -181
  85. package/dist/{vue-ui-wheel-BR1DDpKU.js → vue-ui-wheel-CTzuCroy.js} +96 -87
  86. package/dist/{vue-ui-word-cloud-BvOT6hu2.js → vue-ui-word-cloud-BPokdaP1.js} +212 -203
  87. package/dist/{vue-ui-world-BeP91MNX.js → vue-ui-world-CS6k-oil.js} +201 -192
  88. package/dist/{vue-ui-xy-BaR-ZDba.js → vue-ui-xy-CQ425kLR.js} +517 -510
  89. package/dist/{vue-ui-xy-canvas-B4ZmECCK.js → vue-ui-xy-canvas-D2IFwAr7.js} +364 -355
  90. package/package.json +1 -1
  91. package/dist/img-CTC5DLKL.js +0 -20
  92. package/dist/vue-data-ui-BB8Upnjm.js +0 -301
@@ -1,20 +1,21 @@
1
- import { defineAsyncComponent as $, computed as p, ref as c, watch as st, shallowRef as Fe, onMounted as nt, onBeforeUnmount as ut, createElementBlock as u, openBlock as r, unref as n, normalizeStyle as q, normalizeClass as B, createBlock as P, createCommentVNode as d, createElementVNode as x, createVNode as oe, createSlots as it, withCtx as f, renderSlot as g, normalizeProps as L, guardReactiveProps as z, Fragment as A, renderList as O, toDisplayString as D, createTextVNode as Se, nextTick as ct } from "vue";
2
- import { u as dt, c as vt, t as pt, p as F, a as ht, o as gt, e as M, b as ft, g as Ne, d as Ie, R as Re, v as yt, i as Le, f as G, X as mt, s as le, w as bt, S as ze, q as kt, r as Ct, x as wt, y as $t } from "./index-CZNLCg7T.js";
3
- import { t as _t, u as Tt } from "./useResponsive-DfdjqQps.js";
4
- import { u as Me } from "./useNestedProp-BcPDA6Xr.js";
5
- import { u as Pt } from "./usePrinter-ButWuZVm.js";
6
- import { u as xt } from "./useUserOptionState-BIvW1Kz7.js";
1
+ import { defineAsyncComponent as $, computed as p, ref as c, watch as nt, shallowRef as Se, onMounted as ut, onBeforeUnmount as it, createElementBlock as u, openBlock as r, unref as n, normalizeStyle as q, normalizeClass as B, createBlock as x, createCommentVNode as d, createElementVNode as O, createVNode as oe, createSlots as ct, withCtx as f, renderSlot as g, normalizeProps as z, guardReactiveProps as M, Fragment as A, renderList as F, toDisplayString as D, createTextVNode as Ne, nextTick as dt } from "vue";
2
+ import { u as vt, c as pt, t as ht, p as S, a as gt, o as ft, e as V, b as yt, g as Ie, d as Re, R as Le, v as mt, i as ze, f as G, X as bt, s as le, w as kt, S as Me, q as Ct, r as wt, x as $t, y as _t } from "./index-pPGk-uhD.js";
3
+ import { t as Tt, u as Pt } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Ve } from "./useNestedProp-DjACxgdZ.js";
5
+ import { u as xt } from "./usePrinter-DDHcrl0A.js";
6
+ import { u as Ot } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as At } from "./useChartAccessibility-9icAAmYg.js";
8
- import Ot from "./Legend-DoxQwq_u.js";
9
- import Ft from "./Title-BQLtfM0P.js";
10
- import { _ as St } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
- const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["id"], zt = ["stop-color"], Mt = ["stop-color"], Vt = { key: 1 }, Ut = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Et = { key: 0 }, Bt = ["d", "stroke", "stroke-width"], Dt = ["d", "stroke", "stroke-width"], Gt = { key: 2 }, Wt = ["x", "y", "text-anchor", "font-size", "fill", "onMouseenter"], Xt = ["points", "stroke", "stroke-width"], jt = ["points", "stroke", "stroke-width", "fill"], qt = { key: 3 }, Ht = ["cx", "cy", "fill", "r", "stroke"], Yt = {
8
+ import Ft from "./Legend-Bxlv67uY.js";
9
+ import St from "./Title-B-2bV0SW.js";
10
+ import Nt from "./img-Y_hYz-ZC.js";
11
+ import { _ as It } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
+ const Rt = ["id"], Lt = ["xmlns", "viewBox"], zt = ["width", "height"], Mt = ["id"], Vt = ["stop-color"], Ut = ["stop-color"], Et = { key: 1 }, Bt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Dt = { key: 0 }, Gt = ["d", "stroke", "stroke-width"], Wt = ["d", "stroke", "stroke-width"], Xt = { key: 2 }, jt = ["x", "y", "text-anchor", "font-size", "fill", "onMouseenter"], qt = ["points", "stroke", "stroke-width"], Ht = ["points", "stroke", "stroke-width", "fill"], Yt = { key: 3 }, Jt = ["cx", "cy", "fill", "r", "stroke"], Kt = {
12
13
  key: 5,
13
14
  class: "vue-data-ui-watermark"
14
- }, Jt = ["onClick"], Kt = {
15
+ }, Qt = ["onClick"], Zt = {
15
16
  key: 0,
16
17
  style: { "max-width": "200px", margin: "0 auto" }
17
- }, Qt = {
18
+ }, ea = {
18
19
  __name: "vue-ui-radar",
19
20
  props: {
20
21
  config: {
@@ -31,36 +32,36 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
31
32
  }
32
33
  },
33
34
  emits: ["selectLegend"],
34
- setup(Ve, { expose: Ue, emit: Ee }) {
35
- const Be = $(() => import("./DataTable-B6MXw9cG.js")), De = $(() => import("./PenAndPaper-BS60tkQN.js")), Ge = $(() => import("./vue-ui-accordion-CO4hmfuX.js")), We = $(() => import("./vue-ui-skeleton-D9B8DY_k.js")), Xe = $(() => import("./Tooltip-5JmGL7sR.js")), je = $(() => import("./UserOptions-DMGkAAIO.js")), qe = $(() => import("./PackageVersion-DCreTQN4.js")), He = $(() => import("./vue-ui-sparkbar-BVOVq3dA.js")), { vue_ui_radar: Ye } = dt(), h = Ve, V = p(() => !!h.dataset && Object.keys(h.dataset).length), _ = c(vt()), Je = c(null), H = c(!1), Y = c(""), re = c(0), U = c(null), se = c(null), ne = c(null), ue = c(null), ie = c(null), ce = c(0), de = c(0), ve = c(0), e = p({
35
+ setup(Ue, { expose: Ee, emit: Be }) {
36
+ const De = $(() => import("./DataTable-D0VYDhfx.js")), Ge = $(() => import("./PenAndPaper-D6AqipIO.js")), We = $(() => import("./vue-ui-accordion-CVnA550V.js")), Xe = $(() => import("./vue-ui-skeleton-DJPjyNYn.js")), je = $(() => import("./Tooltip-CoQnTnr-.js")), qe = $(() => import("./UserOptions-Dd34lEKb.js")), He = $(() => import("./PackageVersion-5TR4ocqp.js")), Ye = $(() => import("./vue-ui-sparkbar-Ds2ITgwn.js")), { vue_ui_radar: Je } = vt(), h = Ue, U = p(() => !!h.dataset && Object.keys(h.dataset).length), _ = c(pt()), Ke = c(null), H = c(!1), Y = c(""), re = c(0), T = c(null), se = c(null), ne = c(null), ue = c(null), ie = c(null), ce = c(0), de = c(0), ve = c(0), e = p({
36
37
  get: () => fe(),
37
38
  set: (t) => t
38
- }), { userOptionsVisible: J, setUserOptionsVisibility: pe, keepUserOptionState: he } = xt({ config: e.value }), { svgRef: ge } = At({ config: e.value.style.chart.title });
39
+ }), { userOptionsVisible: J, setUserOptionsVisibility: pe, keepUserOptionState: he } = Ot({ config: e.value }), { svgRef: ge } = At({ config: e.value.style.chart.title });
39
40
  function fe() {
40
- const t = Me({
41
+ const t = Ve({
41
42
  userConfig: h.config,
42
- defaultConfig: Ye
43
+ defaultConfig: Je
43
44
  });
44
45
  return t.theme ? {
45
- ...Me({
46
- userConfig: ht.vue_ui_radar[t.theme] || h.config,
46
+ ...Ve({
47
+ userConfig: gt.vue_ui_radar[t.theme] || h.config,
47
48
  defaultConfig: t
48
49
  }),
49
- customPalette: pt[t.theme] || F
50
+ customPalette: ht[t.theme] || S
50
51
  } : t;
51
52
  }
52
- st(() => h.config, (t) => {
53
+ nt(() => h.config, (t) => {
53
54
  e.value = fe(), J.value = !e.value.userOptions.showOnChartHover, ye(), ce.value += 1, de.value += 1, ve.value += 1, m.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, m.value.showTable = e.value.table.show, m.value.showTooltip = e.value.style.chart.tootlip ? e.value.style.chart.tootlip.show : !1;
54
55
  }, { deep: !0 });
55
- const C = Fe(null), S = Fe(null);
56
+ const C = Se(null), N = Se(null);
56
57
  function ye() {
57
- if (gt(h.dataset) && M({
58
+ if (ft(h.dataset) && V({
58
59
  componentName: "VueUiRadar",
59
60
  type: "dataset"
60
61
  }), e.value.responsive) {
61
- const t = _t(() => {
62
- const { width: a, height: o } = Tt({
63
- chart: U.value,
62
+ const t = Tt(() => {
63
+ const { width: a, height: o } = Pt({
64
+ chart: T.value,
64
65
  title: e.value.style.chart.title.text ? se.value : null,
65
66
  legend: e.value.style.chart.legend.show ? ne.value : null,
66
67
  source: ue.value,
@@ -70,25 +71,25 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
70
71
  i.value.width = a, i.value.height = o;
71
72
  });
72
73
  });
73
- C.value && (S.value && C.value.unobserve(S.value), C.value.disconnect()), C.value = new ResizeObserver(t), S.value = U.value.parentNode, C.value.observe(S.value);
74
+ C.value && (N.value && C.value.unobserve(N.value), C.value.disconnect()), C.value = new ResizeObserver(t), N.value = T.value.parentNode, C.value.observe(N.value);
74
75
  }
75
76
  }
76
- nt(() => {
77
+ ut(() => {
77
78
  ye();
78
- }), ut(() => {
79
- C.value && (S.value && C.value.unobserve(S.value), C.value.disconnect());
79
+ }), it(() => {
80
+ C.value && (N.value && C.value.unobserve(N.value), C.value.disconnect());
80
81
  });
81
- const { isPrinting: me, isImaging: be, generatePdf: ke, generateImage: Ce } = Pt({
82
+ const { isPrinting: me, isImaging: be, generatePdf: ke, generateImage: Ce } = xt({
82
83
  elementId: `vue-ui-radar_${_.value}`,
83
84
  fileName: e.value.style.chart.title.text || "vue-ui-radar",
84
85
  options: e.value.userOptions.print
85
- }), Ke = p(() => e.value.userOptions.show && !e.value.style.chart.title.text), we = p(() => ft(e.value.customPalette)), m = c({
86
+ }), Qe = p(() => e.value.userOptions.show && !e.value.style.chart.title.text), we = p(() => yt(e.value.customPalette)), m = c({
86
87
  dataLabels: {
87
88
  show: e.value.style.chart.layout.labels.dataLabels.show
88
89
  },
89
90
  showTable: e.value.table.show,
90
91
  showTooltip: e.value.style.chart.tooltip.show
91
- }), Qe = p(() => ({
92
+ }), Ze = p(() => ({
92
93
  style: {
93
94
  backgroundColor: "#FFFFFF00",
94
95
  animation: {
@@ -109,55 +110,55 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
109
110
  })), i = c({
110
111
  height: 312,
111
112
  width: 512
112
- }), Ze = Ee, v = c([]), E = c(null), N = c(!1);
113
+ }), et = Be, v = c([]), E = c(null), I = c(!1);
113
114
  function $e(t) {
114
- N.value = !0, v.value.includes(t) ? (E.value = t, v.value = v.value.filter((a) => a !== t), setTimeout(() => {
115
- N.value = !1, E.value = null;
115
+ I.value = !0, v.value.includes(t) ? (E.value = t, v.value = v.value.filter((a) => a !== t), setTimeout(() => {
116
+ I.value = !1, E.value = null;
116
117
  }, 500)) : (v.value.push(t), setTimeout(() => {
117
- N.value = !1;
118
- }, 500)), Ze("selectLegend", I.value.filter((a, o) => !v.value.includes(o)).map((a) => ({
118
+ I.value = !1;
119
+ }, 500)), et("selectLegend", R.value.filter((a, o) => !v.value.includes(o)).map((a) => ({
119
120
  name: a.name,
120
121
  color: a.color,
121
122
  proportion: a.totalProportion
122
123
  })));
123
124
  }
124
- function et() {
125
- return I.value.map((t) => ({
125
+ function tt() {
126
+ return R.value.map((t) => ({
126
127
  name: t.name,
127
128
  color: t.color,
128
129
  proportion: t.totalProportion
129
130
  }));
130
131
  }
131
- const y = p(() => [null, void 0].includes(h.dataset.categories) ? (M({
132
+ const y = p(() => [null, void 0].includes(h.dataset.categories) ? (V({
132
133
  componentName: "VueUiRadar",
133
134
  type: "datasetAttribute",
134
135
  property: "categories ({ name: string; prefix?: string; suffix?: string}[])"
135
- }), []) : (h.dataset.categories.length === 0 ? M({
136
+ }), []) : (h.dataset.categories.length === 0 ? V({
136
137
  componentName: "VueUiRadar",
137
138
  type: "datasetAttributeEmpty",
138
139
  property: "categories"
139
140
  }) : h.dataset.categories.forEach((t, a) => {
140
- Ne({
141
+ Ie({
141
142
  datasetObject: t,
142
143
  requiredAttributes: ["name"]
143
144
  }).forEach((o) => {
144
- M({
145
+ V({
145
146
  componentName: "VueUiRadar",
146
147
  type: "datasetAttribute",
147
148
  property: `category.${o} at index ${a}`,
148
149
  index: a
149
150
  });
150
151
  });
151
- }), [null, void 0].includes(h.dataset.series) ? M({
152
+ }), [null, void 0].includes(h.dataset.series) ? V({
152
153
  componentName: "VueUiRadar",
153
154
  type: "datasetAttribute",
154
155
  property: "series ({ name: string; values: number[]; color?: string; target: number}[])"
155
156
  }) : h.dataset.series.forEach((t, a) => {
156
- Ne({
157
+ Ie({
157
158
  datasetObject: t,
158
159
  requiredAttributes: ["name", "values", "target"]
159
160
  }).forEach((o) => {
160
- M({
161
+ V({
161
162
  componentName: "VueUiRadar",
162
163
  type: "datasetSerieAttribute",
163
164
  key: "series",
@@ -168,26 +169,26 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
168
169
  }), h.dataset.categories.map((t, a) => ({
169
170
  name: t.name,
170
171
  categoryId: `radar_category_${_.value}_${a}`,
171
- color: Ie(t.color) || we.value[a] || F[a] || F[a % F.length],
172
+ color: Re(t.color) || we.value[a] || S[a] || S[a % S.length],
172
173
  prefix: t.prefix ?? "",
173
174
  suffix: t.suffix ?? ""
174
- })))), k = p(() => V.value ? h.dataset.series.map((t, a) => ({
175
+ })))), k = p(() => U.value ? h.dataset.series.map((t, a) => ({
175
176
  ...t,
176
- color: Ie(t.color) || we.value[a] || F[a] || F[a % F.length],
177
+ color: Re(t.color) || we.value[a] || S[a] || S[a % S.length],
177
178
  serieId: `radar_serie_${_.value}_${a}`,
178
179
  formatter: t.formatter || null
179
- })) : []), _e = p(() => Math.max(...k.value.flatMap((t) => t.values))), Te = p(() => k.value.length), K = p(() => Math.min(i.value.width, i.value.height) / 3), Pe = p(() => Re({
180
+ })) : []), _e = p(() => Math.max(...k.value.flatMap((t) => t.values))), Te = p(() => k.value.length), K = p(() => Math.min(i.value.width, i.value.height) / 3), Pe = p(() => Le({
180
181
  plot: { x: i.value.width / 2, y: i.value.height / 2 },
181
182
  radius: K.value,
182
183
  sides: Te.value,
183
184
  rotation: 0
184
- })), tt = p(() => {
185
+ })), at = p(() => {
185
186
  const t = [];
186
187
  for (let a = 0; a < K.value; a += K.value / e.value.style.chart.layout.grid.graduations)
187
188
  t.push(a);
188
189
  return t;
189
190
  }), w = p(() => Pe.value.coordinates.map((t, a) => {
190
- const o = k.value[a].values.map((l) => at({
191
+ const o = k.value[a].values.map((l) => ot({
191
192
  centerX: i.value.width / 2,
192
193
  centerY: i.value.height / 2,
193
194
  apexX: t.x,
@@ -204,23 +205,23 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
204
205
  let o = "middle";
205
206
  return t = Math.round(t), a = Math.round(a), t > i.value.width / 2 && (t += 12, o = "start"), t < i.value.width / 2 && (t -= 12, o = "end"), a > i.value.height / 2 && (a += 20), a < i.value.height / 2 && (a -= 12), a === i.value.height / 2 && (a += 4), { x: t, y: a, anchor: o };
206
207
  }
207
- function at({ centerX: t, centerY: a, apexX: o, apexY: l, proportion: s }) {
208
+ function ot({ centerX: t, centerY: a, apexX: o, apexY: l, proportion: s }) {
208
209
  return {
209
210
  x: t + (o - t) * s,
210
211
  y: a + (l - a) * s
211
212
  };
212
213
  }
213
- const I = p(() => {
214
+ const R = p(() => {
214
215
  const t = k.value.map((a, o) => a.values.map((l) => l / (a.target || _e.value)));
215
216
  return y.value.map((a, o) => ({
216
217
  ...a,
217
- totalProportion: yt(t.map((l) => l[o]).reduce((l, s) => l + s, 0) / k.value.length),
218
+ totalProportion: mt(t.map((l) => l[o]).reduce((l, s) => l + s, 0) / k.value.length),
218
219
  shape: "circle",
219
220
  opacity: v.value.includes(o) ? 0.5 : 1,
220
221
  segregate: () => $e(o),
221
222
  isSegregated: v.value.includes(o)
222
223
  }));
223
- }), ot = p(() => ({
224
+ }), lt = p(() => ({
224
225
  cy: "radar-div-legend",
225
226
  backgroundColor: e.value.style.chart.legend.backgroundColor,
226
227
  color: e.value.style.chart.legend.color,
@@ -231,10 +232,10 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
231
232
  const t = [
232
233
  { name: e.value.translations.datapoint, color: "" },
233
234
  { name: e.value.translations.target, color: "" },
234
- ...I.value
235
+ ...R.value
235
236
  ], a = h.dataset.series.map((l) => [
236
237
  l.name,
237
- Le(
238
+ ze(
238
239
  l.formatter,
239
240
  l.target,
240
241
  G({
@@ -244,7 +245,7 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
244
245
  r: e.value.table.td.roundingValue
245
246
  })
246
247
  ),
247
- ...l.values.map((s, b) => `${Le(
248
+ ...l.values.map((s, b) => `${ze(
248
249
  l.formatter,
249
250
  s,
250
251
  G({ p: y.value[b].prefix, v: s, s: y.value[b].suffix, r: e.value.table.td.roundingValue })
@@ -268,7 +269,7 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
268
269
  };
269
270
  return { head: t, body: a, config: o, colNames: t };
270
271
  }), X = c(null), Z = c([]), ee = c(null);
271
- function lt(t, a) {
272
+ function rt(t, a) {
272
273
  Z.value = [], X.value = a, H.value = !0;
273
274
  let o = "";
274
275
  ee.value = {
@@ -282,7 +283,7 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
282
283
  config: e.value
283
284
  };
284
285
  const l = e.value.style.chart.tooltip.customFormat;
285
- if (wt(l) && $t(() => l({
286
+ if ($t(l) && _t(() => l({
286
287
  seriesIndex: a,
287
288
  datapoint: t,
288
289
  series: { categories: y.value, datapoints: k.value, radar: w.value },
@@ -310,46 +311,53 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
310
311
  }
311
312
  }
312
313
  function xe(t = null) {
313
- ct(() => {
314
- const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], o = [[""], [e.value.translations.target], ...I.value.flatMap((T) => [[T.name], ["%"]])], l = h.dataset.series.map((T, Zt) => [T.name, T.target, ...T.values.flatMap((ae) => [
314
+ dt(() => {
315
+ const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], o = [[""], [e.value.translations.target], ...R.value.flatMap((P) => [[P.name], ["%"]])], l = h.dataset.series.map((P, ta) => [P.name, P.target, ...P.values.flatMap((ae) => [
315
316
  ae,
316
- isNaN(ae / T.target) ? "" : ae / T.target * 100
317
- ])]), s = a.concat([o]).concat(l), b = kt(s);
318
- t ? t(b) : Ct({ csvContent: b, title: e.value.style.chart.title.text || "vue-ui-radar" });
317
+ isNaN(ae / P.target) ? "" : ae / P.target * 100
318
+ ])]), s = a.concat([o]).concat(l), b = Ct(s);
319
+ t ? t(b) : wt({ csvContent: b, title: e.value.style.chart.title.text || "vue-ui-radar" });
319
320
  });
320
321
  }
321
- const R = c(!1);
322
- function rt(t) {
323
- R.value = t, re.value += 1;
322
+ const L = c(!1);
323
+ function Oe(t) {
324
+ L.value = t, re.value += 1;
324
325
  }
325
326
  function Ae() {
326
327
  m.value.showTable = !m.value.showTable;
327
328
  }
328
- function Oe() {
329
+ function Fe() {
329
330
  m.value.showTooltip = !m.value.showTooltip;
330
331
  }
331
332
  const j = c(!1);
332
333
  function te() {
333
334
  j.value = !j.value;
334
335
  }
335
- return Ue({
336
- getData: et,
336
+ async function st({ scale: t = 2 } = {}) {
337
+ if (!T.value) return;
338
+ const { imageUri: a, base64: o } = await Nt({ domElement: T.value, base64: !0, img: !0, scale: t });
339
+ return { imageUri: a, base64: o };
340
+ }
341
+ return Ee({
342
+ getData: tt,
343
+ getImage: st,
337
344
  generatePdf: ke,
338
345
  generateCsv: xe,
339
346
  generateImage: Ce,
340
347
  toggleTable: Ae,
341
- toggleTooltip: Oe,
342
- toggleAnnotator: te
348
+ toggleTooltip: Fe,
349
+ toggleAnnotator: te,
350
+ toggleFullscreen: Oe
343
351
  }), (t, a) => (r(), u("div", {
344
- class: B(`vue-ui-radar ${R.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
352
+ class: B(`vue-ui-radar ${L.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
345
353
  ref_key: "radarChart",
346
- ref: U,
354
+ ref: T,
347
355
  id: `vue-ui-radar_${_.value}`,
348
356
  style: q(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
349
357
  onMouseenter: a[3] || (a[3] = () => n(pe)(!0)),
350
358
  onMouseleave: a[4] || (a[4] = () => n(pe)(!1))
351
359
  }, [
352
- e.value.userOptions.buttons.annotator ? (r(), P(n(De), {
360
+ e.value.userOptions.buttons.annotator ? (r(), x(n(Ge), {
353
361
  key: 0,
354
362
  svgRef: n(ge),
355
363
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -357,7 +365,7 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
357
365
  active: j.value,
358
366
  onClose: te
359
367
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : d("", !0),
360
- Ke.value ? (r(), u("div", {
368
+ Qe.value ? (r(), u("div", {
361
369
  key: 1,
362
370
  ref_key: "noTitle",
363
371
  ref: ie,
@@ -370,7 +378,7 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
370
378
  ref: se,
371
379
  style: "width:100%;background:transparent;padding-bottom:12px"
372
380
  }, [
373
- (r(), P(Ft, {
381
+ (r(), x(St, {
374
382
  key: `title_${ce.value}`,
375
383
  config: {
376
384
  title: {
@@ -384,9 +392,9 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
384
392
  }
385
393
  }, null, 8, ["config"]))
386
394
  ], 512)) : d("", !0),
387
- e.value.userOptions.show && V.value && (n(he) || n(J)) ? (r(), P(n(je), {
395
+ e.value.userOptions.show && U.value && (n(he) || n(J)) ? (r(), x(n(qe), {
388
396
  ref_key: "details",
389
- ref: Je,
397
+ ref: Ke,
390
398
  key: `user_options_${re.value}`,
391
399
  backgroundColor: e.value.style.chart.backgroundColor,
392
400
  color: e.value.style.chart.color,
@@ -399,29 +407,30 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
399
407
  hasXls: e.value.userOptions.buttons.csv,
400
408
  hasTable: e.value.userOptions.buttons.table,
401
409
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
402
- isFullscreen: R.value,
410
+ isFullscreen: L.value,
403
411
  isTooltip: m.value.showTooltip,
404
412
  titles: { ...e.value.userOptions.buttonTitles },
405
- chartElement: U.value,
413
+ chartElement: T.value,
406
414
  position: e.value.userOptions.position,
407
415
  hasAnnotator: e.value.userOptions.buttons.annotator,
408
416
  isAnnotation: j.value,
409
417
  callbacks: e.value.userOptions.callbacks,
410
- onToggleFullscreen: rt,
418
+ printScale: e.value.userOptions.print.scale,
419
+ onToggleFullscreen: Oe,
411
420
  onGeneratePdf: n(ke),
412
421
  onGenerateCsv: xe,
413
422
  onGenerateImage: n(Ce),
414
423
  onToggleTable: Ae,
415
- onToggleTooltip: Oe,
424
+ onToggleTooltip: Fe,
416
425
  onToggleAnnotator: te,
417
426
  style: q({
418
427
  visibility: n(he) ? n(J) ? "visible" : "hidden" : "visible"
419
428
  })
420
- }, it({ _: 2 }, [
429
+ }, ct({ _: 2 }, [
421
430
  t.$slots.menuIcon ? {
422
431
  name: "menuIcon",
423
432
  fn: f(({ isOpen: o, color: l }) => [
424
- g(t.$slots, "menuIcon", L(z({ isOpen: o, color: l })), void 0, !0)
433
+ g(t.$slots, "menuIcon", z(M({ isOpen: o, color: l })), void 0, !0)
425
434
  ]),
426
435
  key: "0"
427
436
  } : void 0,
@@ -463,28 +472,28 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
463
472
  t.$slots.optionFullscreen ? {
464
473
  name: "optionFullscreen",
465
474
  fn: f(({ toggleFullscreen: o, isFullscreen: l }) => [
466
- g(t.$slots, "optionFullscreen", L(z({ toggleFullscreen: o, isFullscreen: l })), void 0, !0)
475
+ g(t.$slots, "optionFullscreen", z(M({ toggleFullscreen: o, isFullscreen: l })), void 0, !0)
467
476
  ]),
468
477
  key: "6"
469
478
  } : void 0,
470
479
  t.$slots.optionAnnotator ? {
471
480
  name: "optionAnnotator",
472
481
  fn: f(({ toggleAnnotator: o, isAnnotator: l }) => [
473
- g(t.$slots, "optionAnnotator", L(z({ toggleAnnotator: o, isAnnotator: l })), void 0, !0)
482
+ g(t.$slots, "optionAnnotator", z(M({ toggleAnnotator: o, isAnnotator: l })), void 0, !0)
474
483
  ]),
475
484
  key: "7"
476
485
  } : void 0
477
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : d("", !0),
478
- V.value ? (r(), u("svg", {
486
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : d("", !0),
487
+ U.value ? (r(), u("svg", {
479
488
  key: 4,
480
489
  ref_key: "svgRef",
481
490
  ref: ge,
482
- xmlns: n(mt),
483
- class: B({ "vue-data-ui-fullscreen--on": R.value, "vue-data-ui-fulscreen--off": !R.value }),
491
+ xmlns: n(bt),
492
+ class: B({ "vue-data-ui-fullscreen--on": L.value, "vue-data-ui-fulscreen--off": !L.value }),
484
493
  viewBox: `0 0 ${i.value.width <= 0 ? 10 : i.value.width} ${i.value.height <= 0 ? 10 : i.value.height}`,
485
494
  style: q(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
486
495
  }, [
487
- oe(n(qe)),
496
+ oe(n(He)),
488
497
  t.$slots["chart-background"] ? (r(), u("foreignObject", {
489
498
  key: 0,
490
499
  x: 0,
@@ -496,9 +505,9 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
496
505
  }
497
506
  }, [
498
507
  g(t.$slots, "chart-background", {}, void 0, !0)
499
- ], 8, Rt)) : d("", !0),
500
- x("defs", null, [
501
- (r(!0), u(A, null, O(y.value, (o, l) => (r(), u("radialGradient", {
508
+ ], 8, zt)) : d("", !0),
509
+ O("defs", null, [
510
+ (r(!0), u(A, null, F(y.value, (o, l) => (r(), u("radialGradient", {
502
511
  cx: "50%",
503
512
  cy: "50%",
504
513
  r: "50%",
@@ -506,28 +515,28 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
506
515
  fy: "50%",
507
516
  id: `radar_gradient_${_.value}_${l}`
508
517
  }, [
509
- x("stop", {
518
+ O("stop", {
510
519
  offset: "0%",
511
- "stop-color": n(le)(n(bt)(o.color, 0.05), e.value.style.chart.layout.dataPolygon.opacity)
512
- }, null, 8, zt),
513
- x("stop", {
520
+ "stop-color": n(le)(n(kt)(o.color, 0.05), e.value.style.chart.layout.dataPolygon.opacity)
521
+ }, null, 8, Vt),
522
+ O("stop", {
514
523
  offset: "100%",
515
524
  "stop-color": n(le)(o.color, e.value.style.chart.layout.dataPolygon.opacity)
516
- }, null, 8, Mt)
517
- ], 8, Lt))), 256))
525
+ }, null, 8, Ut)
526
+ ], 8, Mt))), 256))
518
527
  ]),
519
- e.value.style.chart.layout.grid.show ? (r(), u("g", Vt, [
520
- (r(!0), u(A, null, O(w.value, (o) => (r(), u("line", {
528
+ e.value.style.chart.layout.grid.show ? (r(), u("g", Et, [
529
+ (r(!0), u(A, null, F(w.value, (o) => (r(), u("line", {
521
530
  x1: i.value.width / 2,
522
531
  y1: i.value.height / 2,
523
532
  x2: o.x,
524
533
  y2: o.y,
525
534
  stroke: e.value.style.chart.layout.grid.stroke,
526
535
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth
527
- }, null, 8, Ut))), 256)),
528
- e.value.style.chart.layout.grid.graduations > 0 ? (r(), u("g", Et, [
529
- (r(!0), u(A, null, O(tt.value, (o) => (r(), u("path", {
530
- d: n(Re)({
536
+ }, null, 8, Bt))), 256)),
537
+ e.value.style.chart.layout.grid.graduations > 0 ? (r(), u("g", Dt, [
538
+ (r(!0), u(A, null, F(at.value, (o) => (r(), u("path", {
539
+ d: n(Le)({
531
540
  plot: { x: i.value.width / 2, y: i.value.height / 2 },
532
541
  radius: o,
533
542
  sides: Te.value,
@@ -536,69 +545,69 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
536
545
  fill: "none",
537
546
  stroke: e.value.style.chart.layout.grid.stroke,
538
547
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth
539
- }, null, 8, Bt))), 256))
548
+ }, null, 8, Gt))), 256))
540
549
  ])) : d("", !0)
541
550
  ])) : d("", !0),
542
- x("path", {
551
+ O("path", {
543
552
  d: Pe.value.path,
544
553
  fill: "none",
545
554
  stroke: e.value.style.chart.layout.outerPolygon.stroke,
546
555
  "stroke-width": e.value.style.chart.layout.outerPolygon.strokeWidth,
547
556
  "stroke-linejoin": "round",
548
557
  "stroke-linecap": "round"
549
- }, null, 8, Dt),
550
- e.value.style.chart.layout.labels.dataLabels.show ? (r(), u("g", Gt, [
551
- (r(!0), u(A, null, O(w.value, (o, l) => (r(), u("text", {
558
+ }, null, 8, Wt),
559
+ e.value.style.chart.layout.labels.dataLabels.show ? (r(), u("g", Xt, [
560
+ (r(!0), u(A, null, F(w.value, (o, l) => (r(), u("text", {
552
561
  x: Q(o).x,
553
562
  y: Q(o).y,
554
563
  "text-anchor": Q(o).anchor,
555
564
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
556
565
  fill: e.value.style.chart.layout.labels.dataLabels.color,
557
- onMouseenter: (s) => lt(o, l),
566
+ onMouseenter: (s) => rt(o, l),
558
567
  onMouseleave: a[0] || (a[0] = (s) => {
559
568
  H.value = !1, X.value = null;
560
569
  })
561
- }, D(o.name), 41, Wt))), 256))
570
+ }, D(o.name), 41, jt))), 256))
562
571
  ])) : d("", !0),
563
- (r(!0), u(A, null, O(y.value, (o, l) => (r(), u("g", null, [
564
- x("g", null, [
572
+ (r(!0), u(A, null, F(y.value, (o, l) => (r(), u("g", null, [
573
+ O("g", null, [
565
574
  e.value.useCssAnimation || !e.value.useCssAnimation && !v.value.includes(l) ? (r(), u("polygon", {
566
575
  key: 0,
567
- points: n(ze)(w.value.map((s) => s.plots[l]), !1, !0),
576
+ points: n(Me)(w.value.map((s) => s.plots[l]), !1, !0),
568
577
  stroke: e.value.style.chart.backgroundColor,
569
578
  "stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth + 1,
570
579
  fill: "none",
571
- class: B({ "animated-out": v.value.includes(l) && e.value.useCssAnimation, "animated-in": N.value && E.value === l && e.value.useCssAnimation })
572
- }, null, 10, Xt)) : d("", !0),
580
+ class: B({ "animated-out": v.value.includes(l) && e.value.useCssAnimation, "animated-in": I.value && E.value === l && e.value.useCssAnimation })
581
+ }, null, 10, qt)) : d("", !0),
573
582
  e.value.useCssAnimation || !e.value.useCssAnimation && !v.value.includes(l) ? (r(), u("polygon", {
574
583
  key: 1,
575
- points: n(ze)(w.value.map((s) => s.plots[l]), !1, !0),
584
+ points: n(Me)(w.value.map((s) => s.plots[l]), !1, !0),
576
585
  stroke: o.color,
577
586
  "stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth,
578
587
  fill: e.value.style.chart.layout.dataPolygon.transparent ? "transparent" : e.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${_.value}_${l})` : n(le)(o.color, e.value.style.chart.layout.dataPolygon.opacity),
579
- class: B({ "animated-out": v.value.includes(l) && e.value.useCssAnimation, "animated-in": N.value && E.value === l && e.value.useCssAnimation })
580
- }, null, 10, jt)) : d("", !0)
588
+ class: B({ "animated-out": v.value.includes(l) && e.value.useCssAnimation, "animated-in": I.value && E.value === l && e.value.useCssAnimation })
589
+ }, null, 10, Ht)) : d("", !0)
581
590
  ])
582
591
  ]))), 256)),
583
- e.value.style.chart.layout.plots.show ? (r(), u("g", qt, [
584
- (r(!0), u(A, null, O(w.value, (o, l) => (r(), u("g", null, [
585
- (r(!0), u(A, null, O(o.plots, (s, b) => (r(), u("circle", {
592
+ e.value.style.chart.layout.plots.show ? (r(), u("g", Yt, [
593
+ (r(!0), u(A, null, F(w.value, (o, l) => (r(), u("g", null, [
594
+ (r(!0), u(A, null, F(o.plots, (s, b) => (r(), u("circle", {
586
595
  cx: s.x,
587
596
  cy: s.y,
588
597
  fill: v.value.includes(b) ? "transparent" : y.value[b].color,
589
598
  r: X.value !== null && X.value === l ? e.value.style.chart.layout.plots.radius * 1.6 : e.value.style.chart.layout.plots.radius,
590
599
  stroke: v.value.includes(b) ? "transparent" : e.value.style.chart.backgroundColor,
591
600
  "stroke-width": 0.5,
592
- class: B({ "animated-out": v.value.includes(b) && e.value.useCssAnimation, "animated-in": N.value && E.value === b && e.value.useCssAnimation })
593
- }, null, 10, Ht))), 256))
601
+ class: B({ "animated-out": v.value.includes(b) && e.value.useCssAnimation, "animated-in": I.value && E.value === b && e.value.useCssAnimation })
602
+ }, null, 10, Jt))), 256))
594
603
  ]))), 256))
595
604
  ])) : d("", !0),
596
605
  g(t.$slots, "svg", { svg: i.value }, void 0, !0)
597
- ], 14, It)) : d("", !0),
598
- t.$slots.watermark ? (r(), u("div", Yt, [
599
- g(t.$slots, "watermark", L(z({ isPrinting: n(me) || n(be) })), void 0, !0)
606
+ ], 14, Lt)) : d("", !0),
607
+ t.$slots.watermark ? (r(), u("div", Kt, [
608
+ g(t.$slots, "watermark", z(M({ isPrinting: n(me) || n(be) })), void 0, !0)
600
609
  ])) : d("", !0),
601
- V.value ? d("", !0) : (r(), P(n(We), {
610
+ U.value ? d("", !0) : (r(), x(n(Xe), {
602
611
  key: 6,
603
612
  config: {
604
613
  type: "radar",
@@ -615,30 +624,30 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
615
624
  }
616
625
  }
617
626
  }, null, 8, ["config"])),
618
- x("div", {
627
+ O("div", {
619
628
  ref_key: "chartLegend",
620
629
  ref: ne
621
630
  }, [
622
- e.value.style.chart.legend.show ? (r(), P(Ot, {
631
+ e.value.style.chart.legend.show ? (r(), x(Ft, {
623
632
  key: `legend_${ve.value}`,
624
- legendSet: I.value,
625
- config: ot.value,
633
+ legendSet: R.value,
634
+ config: lt.value,
626
635
  onClickMarker: a[1] || (a[1] = ({ i: o }) => $e(o))
627
636
  }, {
628
637
  item: f(({ legend: o, index: l }) => [
629
- x("div", {
638
+ O("div", {
630
639
  onClick: (s) => o.segregate(),
631
640
  style: q(`opacity:${v.value.includes(l) ? 0.5 : 1}`)
632
641
  }, D(o.name) + ": " + D(n(G)({
633
642
  v: o.totalProportion * 100,
634
643
  s: "%",
635
644
  r: e.value.style.chart.legend.roundingPercentage
636
- })), 13, Jt)
645
+ })), 13, Qt)
637
646
  ]),
638
647
  _: 1
639
648
  }, 8, ["legendSet", "config"])) : g(t.$slots, "legend", {
640
649
  key: 1,
641
- legend: I.value
650
+ legend: R.value
642
651
  }, void 0, !0)
643
652
  ], 512),
644
653
  t.$slots.source ? (r(), u("div", {
@@ -649,7 +658,7 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
649
658
  }, [
650
659
  g(t.$slots, "source", {}, void 0, !0)
651
660
  ], 512)) : d("", !0),
652
- oe(n(Xe), {
661
+ oe(n(je), {
653
662
  show: m.value.showTooltip && H.value,
654
663
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
655
664
  color: e.value.style.chart.tooltip.color,
@@ -660,27 +669,27 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
660
669
  fontSize: e.value.style.chart.tooltip.fontSize,
661
670
  position: e.value.style.chart.tooltip.position,
662
671
  offsetY: e.value.style.chart.tooltip.offsetY,
663
- parent: U.value,
672
+ parent: T.value,
664
673
  content: Y.value,
665
- isFullscreen: R.value,
674
+ isFullscreen: L.value,
666
675
  isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function"
667
676
  }, {
668
677
  "tooltip-before": f(() => [
669
- g(t.$slots, "tooltip-before", L(z({ ...ee.value })), void 0, !0)
678
+ g(t.$slots, "tooltip-before", z(M({ ...ee.value })), void 0, !0)
670
679
  ]),
671
680
  "tooltip-after": f(() => [
672
- ["function"].includes(typeof e.value.style.chart.tooltip.customFormat) ? d("", !0) : (r(), u("div", Kt, [
673
- oe(n(He), {
681
+ ["function"].includes(typeof e.value.style.chart.tooltip.customFormat) ? d("", !0) : (r(), u("div", Zt, [
682
+ oe(n(Ye), {
674
683
  dataset: Z.value,
675
- config: Qe.value,
684
+ config: Ze.value,
676
685
  backgroundOpacity: 0
677
686
  }, null, 8, ["dataset", "config"])
678
687
  ])),
679
- g(t.$slots, "tooltip-after", L(z({ ...ee.value })), void 0, !0)
688
+ g(t.$slots, "tooltip-after", z(M({ ...ee.value })), void 0, !0)
680
689
  ]),
681
690
  _: 3
682
691
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "fontSize", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
683
- V.value ? (r(), P(n(Ge), {
692
+ U.value ? (r(), x(n(We), {
684
693
  key: 8,
685
694
  hideDetails: "",
686
695
  config: {
@@ -697,7 +706,7 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
697
706
  }
698
707
  }, {
699
708
  content: f(() => [
700
- (r(), P(n(Be), {
709
+ (r(), x(n(De), {
701
710
  key: `table_${de.value}`,
702
711
  colNames: W.value.colNames,
703
712
  head: W.value.head,
@@ -707,19 +716,19 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
707
716
  onClose: a[2] || (a[2] = (o) => m.value.showTable = !1)
708
717
  }, {
709
718
  th: f(({ th: o }) => [
710
- Se(D(o.name), 1)
719
+ Ne(D(o.name), 1)
711
720
  ]),
712
721
  td: f(({ td: o }) => [
713
- Se(D(o), 1)
722
+ Ne(D(o), 1)
714
723
  ]),
715
724
  _: 1
716
725
  }, 8, ["colNames", "head", "body", "config", "title"]))
717
726
  ]),
718
727
  _: 1
719
728
  }, 8, ["config"])) : d("", !0)
720
- ], 46, Nt));
729
+ ], 46, Rt));
721
730
  }
722
- }, ca = /* @__PURE__ */ St(Qt, [["__scopeId", "data-v-0723e970"]]);
731
+ }, pa = /* @__PURE__ */ It(ea, [["__scopeId", "data-v-e7633d87"]]);
723
732
  export {
724
- ca as default
733
+ pa as default
725
734
  };