vue-data-ui 2.16.6 → 2.17.1

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 (94) hide show
  1. package/README.md +84 -53
  2. package/dist/{Arrow-DCqxVwey.js → Arrow-BDCVJzQB.js} +1 -1
  3. package/dist/{BaseDraggableDialog-6DIKXIBU.js → BaseDraggableDialog-BvuWrldK.js} +2 -2
  4. package/dist/{BaseIcon-Bn996RXm.js → BaseIcon-D9Tz8ARD.js} +1 -1
  5. package/dist/{ColorPicker-OFfLkKNb.js → ColorPicker-wGf46G2G.js} +2 -2
  6. package/dist/{DataTable-CHBLjKtZ.js → DataTable-Dt-TIOyY.js} +2 -2
  7. package/dist/{Legend-nBXoxXJH.js → Legend-3LNqqLDg.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-Cls2idJS.js → NonSvgPenAndPaper-iDdMuUEo.js} +3 -3
  9. package/dist/{PackageVersion-Bg_9KCU-.js → PackageVersion-C-4Ee8BQ.js} +1 -1
  10. package/dist/{PenAndPaper-BPTpbnay.js → PenAndPaper-Cde-wJ3N.js} +32 -32
  11. package/dist/{Shape-Bnf512BA.js → Shape-C75836Jl.js} +1 -1
  12. package/dist/{Slicer-BrqtJG2E.js → Slicer-CpSu7plp.js} +2 -2
  13. package/dist/{SparkTooltip-C-rLATAw.js → SparkTooltip-B_GXa2tb.js} +1 -1
  14. package/dist/{Title-Gi81VwUM.js → Title-DpERl1yr.js} +1 -1
  15. package/dist/{Tooltip-CJxVw7-T.js → Tooltip-DA0bYKFG.js} +1 -1
  16. package/dist/{UserOptions-CBEK6_jo.js → UserOptions-DTEJ3UM_.js} +2 -2
  17. package/dist/{dom-to-png-CRHNL8VU.js → dom-to-png-DWDGYXFL.js} +1 -1
  18. package/dist/{img-BgOg8opa.js → img-utitT2Gd.js} +1 -1
  19. package/dist/{index-DvIXJm6t.js → index-CobsZUkv.js} +22 -8
  20. package/dist/{pdf-DhTxBrbJ.js → pdf-DWZ8IB56.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +999 -160
  23. package/dist/types/vue-data-ui.d.ts +999 -160
  24. package/dist/{useNestedProp-DrYHm61t.js → useNestedProp-BwL5wmVa.js} +1 -1
  25. package/dist/{usePrinter-CWnXbGMb.js → usePrinter-DPh6U_Qk.js} +2 -2
  26. package/dist/vue-data-ui-D7ZgRDQ_.js +312 -0
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-CtlB4p7i.js → vue-ui-3d-bar-ORUAjkg7.js} +246 -231
  29. package/dist/{vue-ui-accordion-D55kCO5G.js → vue-ui-accordion-UewqY6OI.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-DSshyUn-.js → vue-ui-age-pyramid-Yl4aRpNc.js} +225 -210
  31. package/dist/{vue-ui-annotator-DQSMv_k2.js → vue-ui-annotator-B1gqiBqq.js} +2 -2
  32. package/dist/{vue-ui-bullet-FeScjj7q.js → vue-ui-bullet-C307lCPt.js} +168 -153
  33. package/dist/{vue-ui-candlestick-Drupgyoi.js → vue-ui-candlestick-BE6PcEdh.js} +218 -203
  34. package/dist/{vue-ui-carousel-table-BTZQRZfO.js → vue-ui-carousel-table-Cpvjr677.js} +4 -4
  35. package/dist/{vue-ui-chestnut-DLWjPwRL.js → vue-ui-chestnut-CUw74AgC.js} +412 -397
  36. package/dist/{vue-ui-chord-BgLbFBT9.js → vue-ui-chord-CCPGeAiY.js} +202 -187
  37. package/dist/{vue-ui-circle-pack-VXcRh2gy.js → vue-ui-circle-pack-dfyPiQmy.js} +222 -207
  38. package/dist/{vue-ui-cursor-DWmfnM25.js → vue-ui-cursor-C2zmfeoD.js} +2 -2
  39. package/dist/{vue-ui-dashboard-CGIocEHj.js → vue-ui-dashboard-CotAqRbX.js} +62 -62
  40. package/dist/{vue-ui-digits-BgQch3Fc.js → vue-ui-digits-7qJFCuoI.js} +2 -2
  41. package/dist/{vue-ui-donut-B59bCV5_.js → vue-ui-donut-D41WeqQU.js} +420 -411
  42. package/dist/{vue-ui-donut-evolution-CI8qBIQd.js → vue-ui-donut-evolution-Deg0dsYg.js} +352 -340
  43. package/dist/{vue-ui-dumbbell-CXv7sk88.js → vue-ui-dumbbell-DDwNoTPG.js} +214 -199
  44. package/dist/{vue-ui-flow-DxF0ELtv.js → vue-ui-flow-6oR7IMyi.js} +215 -200
  45. package/dist/{vue-ui-funnel-Bco8rqF8.js → vue-ui-funnel-BnXtOJmh.js} +212 -197
  46. package/dist/{vue-ui-galaxy-CaPJwwOj.js → vue-ui-galaxy-75XC8SpV.js} +213 -201
  47. package/dist/{vue-ui-gauge-D7arhDmb.js → vue-ui-gauge-w31j915C.js} +218 -203
  48. package/dist/{vue-ui-gizmo-Dwli-Mip.js → vue-ui-gizmo-bZqk6oZS.js} +3 -3
  49. package/dist/{vue-ui-heatmap-Cyn-ahGO.js → vue-ui-heatmap-BfU62tMW.js} +242 -223
  50. package/dist/{vue-ui-history-plot-C2AEToqx.js → vue-ui-history-plot-CFfco-Yj.js} +267 -252
  51. package/dist/{vue-ui-kpi-DKDibSdl.js → vue-ui-kpi-DaJ1U3wf.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-B8OVutUx.js → vue-ui-mini-loader-CF_2jAI8.js} +2 -2
  53. package/dist/{vue-ui-molecule-BVSrqIGw.js → vue-ui-molecule-Tdk3Gd8M.js} +207 -192
  54. package/dist/{vue-ui-mood-radar-DvlyS3RN.js → vue-ui-mood-radar-Dg5wS7W5.js} +204 -189
  55. package/dist/{vue-ui-nested-donuts-D9ssSus6.js → vue-ui-nested-donuts-CpRe0sQB.js} +248 -240
  56. package/dist/{vue-ui-onion-Buu4VX3u.js → vue-ui-onion-B8o4ft2v.js} +184 -169
  57. package/dist/{vue-ui-parallel-coordinate-plot-DFLUvhxD.js → vue-ui-parallel-coordinate-plot-zW-CNqWC.js} +192 -177
  58. package/dist/{vue-ui-quadrant-BMC7NBGd.js → vue-ui-quadrant-DiRtZ16w.js} +259 -244
  59. package/dist/{vue-ui-quick-chart-DB9RKUkb.js → vue-ui-quick-chart-BRlYC_yT.js} +324 -309
  60. package/dist/{vue-ui-radar-68NMPxxQ.js → vue-ui-radar-DKgX1Ibx.js} +195 -180
  61. package/dist/{vue-ui-rating-swH9kRr3.js → vue-ui-rating-DlklKr-X.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CT-EdSjO.js → vue-ui-relation-circle-MHiAp8dC.js} +186 -171
  63. package/dist/{vue-ui-ridgeline-DftROPaX.js → vue-ui-ridgeline-DA8verAe.js} +227 -212
  64. package/dist/{vue-ui-rings-M-9dPI5D.js → vue-ui-rings-Dh6lFqun.js} +214 -202
  65. package/dist/{vue-ui-scatter-CsGhaFJh.js → vue-ui-scatter-CLC5sTOi.js} +270 -256
  66. package/dist/{vue-ui-skeleton-BAOt2neL.js → vue-ui-skeleton-8s4xts8z.js} +3 -3
  67. package/dist/{vue-ui-smiley-7_kIgPg-.js → vue-ui-smiley-utuzw8uI.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-DHlQQpwz.js → vue-ui-spark-trend-BODEqGRr.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-BnHhzuKf.js → vue-ui-sparkbar-B8MB-kn9.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-WtfkCK8g.js → vue-ui-sparkgauge-CuD7kTS3.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-B2u4XLVd.js → vue-ui-sparkhistogram-BYJszvna.js} +4 -4
  72. package/dist/{vue-ui-sparkline-DKIyUlSm.js → vue-ui-sparkline-D77GyWzG.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-BLGz2qIb.js → vue-ui-sparkstackbar-DNb1yD64.js} +3 -3
  74. package/dist/{vue-ui-stackbar-BDpMsTYe.js → vue-ui-stackbar-C6rjCYDD.js} +251 -236
  75. package/dist/{vue-ui-strip-plot-5qDcYPnR.js → vue-ui-strip-plot-B6cYojHQ.js} +239 -224
  76. package/dist/{vue-ui-table-Bg5HIQ3O.js → vue-ui-table-IC7SmWVd.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-DmjNy1q1.js → vue-ui-table-heatmap-DHFpJMpA.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-CnkJkBk5.js → vue-ui-table-sparkline-D7wz-sCj.js} +4 -4
  79. package/dist/{vue-ui-thermometer-RlD-9mJf.js → vue-ui-thermometer-D-oiVT3n.js} +168 -153
  80. package/dist/{vue-ui-timer-Bes74INL.js → vue-ui-timer-C9jVyX5l.js} +5 -5
  81. package/dist/vue-ui-tiremarks-B1bM9Aoo.js +358 -0
  82. package/dist/{vue-ui-treemap-BG1Omm38.js → vue-ui-treemap-DX48YlU5.js} +374 -362
  83. package/dist/{vue-ui-vertical-bar-CwqQyZFX.js → vue-ui-vertical-bar-6SjKPQWR.js} +252 -237
  84. package/dist/{vue-ui-waffle-Ce3T4BPp.js → vue-ui-waffle-CYao9MMw.js} +232 -220
  85. package/dist/vue-ui-wheel-USuDhMwW.js +352 -0
  86. package/dist/vue-ui-word-cloud-TOBTs7yF.js +659 -0
  87. package/dist/{vue-ui-world-B9PxVO4n.js → vue-ui-world-C2qikqBa.js} +237 -222
  88. package/dist/{vue-ui-xy-DtJ7qJib.js → vue-ui-xy-DxwgKoO-.js} +557 -544
  89. package/dist/{vue-ui-xy-canvas-S6YpFgzs.js → vue-ui-xy-canvas-N69OpVn8.js} +395 -380
  90. package/package.json +1 -1
  91. package/dist/vue-data-ui-B8EWlMIK.js +0 -301
  92. package/dist/vue-ui-tiremarks-DiLS3akQ.js +0 -343
  93. package/dist/vue-ui-wheel-6B0WTkf2.js +0 -337
  94. package/dist/vue-ui-word-cloud-ByYZCOh7.js +0 -644
@@ -1,23 +1,24 @@
1
- import { defineAsyncComponent as _, computed as c, onMounted as Ae, ref as y, watch as Oe, createElementBlock as h, openBlock as r, unref as a, normalizeStyle as I, normalizeClass as te, createBlock as m, createCommentVNode as i, renderSlot as v, createVNode as U, createSlots as Te, withCtx as f, normalizeProps as F, guardReactiveProps as S, createElementVNode as s, Fragment as oe, renderList as le, toDisplayString as O, createTextVNode as ae, nextTick as Le } from "vue";
2
- import { u as Ie, o as Fe, e as se, c as Se, a as Ve, R as je, X as Re, s as C, w as Be, S as Ue, i as re, f as V, q as We, r as ze } from "./index-DvIXJm6t.js";
3
- import { u as ne } from "./useNestedProp-DrYHm61t.js";
4
- import { u as De } from "./usePrinter-CWnXbGMb.js";
5
- import { u as Ee } from "./useUserOptionState-BIvW1Kz7.js";
6
- import { u as Ge } from "./useChartAccessibility-9icAAmYg.js";
7
- import He from "./Legend-nBXoxXJH.js";
8
- import Xe from "./Title-Gi81VwUM.js";
9
- import { _ as Ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
- const qe = ["id"], Ye = {
1
+ import { defineAsyncComponent as _, computed as c, onMounted as Oe, ref as h, watch as Te, createElementBlock as f, openBlock as r, unref as a, normalizeStyle as F, normalizeClass as oe, createBlock as g, createCommentVNode as i, renderSlot as v, createVNode as E, createSlots as Ie, withCtx as p, normalizeProps as S, guardReactiveProps as V, createElementVNode as s, Fragment as le, renderList as ae, toDisplayString as T, createTextVNode as se, nextTick as Le } from "vue";
2
+ import { u as Fe, o as Se, e as re, c as Ve, a as Re, R as je, X as Be, s as w, w as Ue, S as Ee, i as ne, f as R, q as We, r as ze } from "./index-CobsZUkv.js";
3
+ import { u as ue } from "./useNestedProp-BwL5wmVa.js";
4
+ import { u as De } from "./usePrinter-DPh6U_Qk.js";
5
+ import { u as Ge } from "./useUserOptionState-BIvW1Kz7.js";
6
+ import { u as He } from "./useChartAccessibility-9icAAmYg.js";
7
+ import Xe from "./Legend-3LNqqLDg.js";
8
+ import Ke from "./Title-DpERl1yr.js";
9
+ import qe from "./img-utitT2Gd.js";
10
+ import { _ as Ye } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
+ const Je = ["id"], Qe = {
11
12
  key: 2,
12
13
  style: "width:100%;background:transparent"
13
- }, Je = ["xmlns", "viewBox"], Qe = ["width", "height"], Ze = ["id"], et = ["stop-color"], tt = ["stop-color"], ot = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], lt = ["d", "stroke", "stroke-width"], at = ["stroke"], st = ["fill"], rt = ["stroke"], nt = ["fill"], ut = ["stroke"], it = ["fill"], dt = ["stroke"], ct = ["fill"], vt = ["stroke"], yt = ["fill"], ht = ["d", "stroke", "stroke-width", "fill"], ft = ["x1", "y1", "stroke"], pt = ["cx", "cy", "fill", "stroke"], mt = ["fill", "stroke"], gt = ["y", "fill", "font-weight"], kt = ["y", "fill"], bt = {
14
+ }, Ze = ["xmlns", "viewBox"], et = ["width", "height"], tt = ["id"], ot = ["stop-color"], lt = ["stop-color"], at = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], st = ["d", "stroke", "stroke-width"], rt = ["stroke"], nt = ["fill"], ut = ["stroke"], it = ["fill"], dt = ["stroke"], ct = ["fill"], vt = ["stroke"], yt = ["fill"], ht = ["stroke"], ft = ["fill"], pt = ["d", "stroke", "stroke-width", "fill"], mt = ["x1", "y1", "stroke"], gt = ["cx", "cy", "fill", "stroke"], kt = ["fill", "stroke"], bt = ["y", "fill", "font-weight"], Ct = ["y", "fill"], wt = {
14
15
  key: 5,
15
16
  class: "vue-data-ui-watermark"
16
- }, Ct = ["onClick"], wt = { style: { "font-weight": "bold" } }, xt = {
17
+ }, xt = ["onClick"], _t = { style: { "font-weight": "bold" } }, $t = {
17
18
  key: 8,
18
19
  ref: "source",
19
20
  dir: "auto"
20
- }, _t = ["innerHTML"], $t = {
21
+ }, Mt = ["innerHTML"], Pt = {
21
22
  __name: "vue-ui-mood-radar",
22
23
  props: {
23
24
  config: {
@@ -33,90 +34,90 @@ const qe = ["id"], Ye = {
33
34
  }
34
35
  }
35
36
  },
36
- setup(ue, { expose: ie }) {
37
- const de = _(() => import("./vue-ui-accordion-D55kCO5G.js")), $ = _(() => import("./BaseIcon-Bn996RXm.js")), ce = _(() => import("./DataTable-CHBLjKtZ.js")), ve = _(() => import("./PackageVersion-Bg_9KCU-.js")), ye = _(() => import("./PenAndPaper-BPTpbnay.js")), he = _(() => import("./vue-ui-skeleton-BAOt2neL.js")), fe = _(() => import("./UserOptions-CBEK6_jo.js")), { vue_ui_mood_radar: pe } = Ie(), d = ue, M = c(() => !!d.dataset && Object.keys(d.dataset).length);
38
- Ae(() => {
37
+ setup(ie, { expose: de }) {
38
+ const ce = _(() => import("./vue-ui-accordion-UewqY6OI.js")), $ = _(() => import("./BaseIcon-D9Tz8ARD.js")), ve = _(() => import("./DataTable-Dt-TIOyY.js")), ye = _(() => import("./PackageVersion-C-4Ee8BQ.js")), he = _(() => import("./PenAndPaper-Cde-wJ3N.js")), fe = _(() => import("./vue-ui-skeleton-8s4xts8z.js")), pe = _(() => import("./UserOptions-DTEJ3UM_.js")), { vue_ui_mood_radar: me } = Fe(), d = ie, M = c(() => !!d.dataset && Object.keys(d.dataset).length);
39
+ Oe(() => {
39
40
  W();
40
41
  });
41
42
  function W() {
42
- Fe(d.dataset) && se({
43
+ Se(d.dataset) && re({
43
44
  componentName: "VueUiMoodRadar",
44
45
  type: "dataset"
45
46
  });
46
47
  }
47
- const P = y(Se()), z = y(null), me = y(null), n = y(null), ge = y(null), ke = y(0), be = y(0), D = y(0), e = c({
48
+ const P = h(Ve()), N = h(null), ge = h(null), n = h(null), ke = h(null), be = h(0), Ce = h(0), z = h(0), e = c({
48
49
  get: () => X(),
49
50
  set: (o) => o
50
- }), { userOptionsVisible: j, setUserOptionsVisibility: E, keepUserOptionState: G } = Ee({ config: e.value }), { svgRef: H } = Ge({ config: e.value.style.chart.title });
51
+ }), { userOptionsVisible: j, setUserOptionsVisibility: D, keepUserOptionState: G } = Ge({ config: e.value }), { svgRef: H } = He({ config: e.value.style.chart.title });
51
52
  function X() {
52
- const o = ne({
53
+ const o = ue({
53
54
  userConfig: d.config,
54
- defaultConfig: pe
55
+ defaultConfig: me
55
56
  });
56
57
  return o.theme ? {
57
- ...ne({
58
- userConfig: Ve.vue_ui_mood_radar[o.theme] || d.config,
58
+ ...ue({
59
+ userConfig: Re.vue_ui_mood_radar[o.theme] || d.config,
59
60
  defaultConfig: o
60
61
  })
61
62
  } : o;
62
63
  }
63
- Oe(() => d.config, (o) => {
64
- e.value = X(), j.value = !e.value.userOptions.showOnChartHover, W(), ke.value += 1, be.value += 1, D.value += 1, N.value.showTable = e.value.table.show;
64
+ Te(() => d.config, (o) => {
65
+ e.value = X(), j.value = !e.value.userOptions.showOnChartHover, W(), be.value += 1, Ce.value += 1, z.value += 1, A.value.showTable = e.value.table.show;
65
66
  }, { deep: !0 });
66
67
  const { isPrinting: K, isImaging: q, generatePdf: Y, generateImage: J } = De({
67
68
  elementId: P.value,
68
69
  fileName: e.value.style.chart.title.text || "vue-ui-mood-radar",
69
70
  options: e.value.userOptions.print
70
- }), Ce = c(() => e.value.userOptions.show && !e.value.style.chart.title.text), N = y({
71
+ }), we = c(() => e.value.userOptions.show && !e.value.style.chart.title.text), A = h({
71
72
  showTable: e.value.table.show
72
- }), p = c(() => ({
73
+ }), m = c(() => ({
73
74
  height: 256,
74
75
  width: 256
75
- })), R = c(() => je({
76
- plot: { x: 128, y: p.value.height / 2 },
76
+ })), B = c(() => je({
77
+ plot: { x: 128, y: m.value.height / 2 },
77
78
  radius: 90,
78
79
  sides: 5,
79
80
  rotation: 11
80
81
  }));
81
- function we({ centerX: o, centerY: l, apexX: t, apexY: u, proportion: x, key: k, value: Ne }) {
82
+ function xe({ centerX: o, centerY: l, apexX: t, apexY: u, proportion: b, key: y, value: Ae }) {
82
83
  return {
83
- x: o + (t - o) * x,
84
- y: l + (u - l) * x,
85
- key: k,
86
- value: Ne
84
+ x: o + (t - o) * b,
85
+ y: l + (u - l) * b,
86
+ key: y,
87
+ value: Ae
87
88
  };
88
89
  }
89
- const xe = c(() => Math.max(...Object.values(d.dataset).map((o) => isNaN(o) ? 0 : o))), w = c(() => Object.values(d.dataset).reduce((o, l) => (isNaN(o) ? 0 : o) + (isNaN(l) ? 0 : l), 0)), g = c(() => Object.keys(d.dataset).map((o, l) => {
90
+ const _e = c(() => Math.max(...Object.values(d.dataset).map((o) => isNaN(o) ? 0 : o))), x = c(() => Object.values(d.dataset).reduce((o, l) => (isNaN(o) ? 0 : o) + (isNaN(l) ? 0 : l), 0)), k = c(() => Object.keys(d.dataset).map((o, l) => {
90
91
  const t = typeof d.dataset[o] != "number" || isNaN(d.dataset[o]) ? 0 : d.dataset[o];
91
92
  return {
92
93
  index: l,
93
94
  key: o,
94
95
  value: t,
95
- proportion: t / w.value,
96
+ proportion: t / x.value,
96
97
  color: e.value.style.chart.layout.smileys.colors[o]
97
98
  };
98
99
  }).sort((o, l) => l.key - o.key)), Q = c(() => M.value ? (["1", "2", "3", "4", "5"].forEach((o) => {
99
- [null, void 0].includes(d.dataset[o]) && se({
100
+ [null, void 0].includes(d.dataset[o]) && re({
100
101
  componentName: "VueUiMoodRadar",
101
102
  type: "datasetAttribute",
102
103
  property: o
103
104
  });
104
- }), R.value.coordinates.map((o, l) => {
105
- const t = we({
106
- centerX: p.value.width / 2,
107
- centerY: p.value.height / 2,
105
+ }), B.value.coordinates.map((o, l) => {
106
+ const t = xe({
107
+ centerX: m.value.width / 2,
108
+ centerY: m.value.height / 2,
108
109
  apexX: o.x,
109
110
  apexY: o.y,
110
- proportion: g.value[l].value / xe.value,
111
- key: g.value[l].key,
112
- value: g.value[l].value
111
+ proportion: k.value[l].value / _e.value,
112
+ key: k.value[l].key,
113
+ value: k.value[l].value
113
114
  });
114
115
  return {
115
116
  ...o,
116
117
  plots: t,
117
- key: g.value[l].key
118
+ key: k.value[l].key
118
119
  };
119
- })) : []), _e = c(() => ({
120
+ })) : []), $e = c(() => ({
120
121
  cy: "mood-radar-legend",
121
122
  backgroundColor: e.value.style.chart.legend.backgroundColor,
122
123
  color: e.value.style.chart.legend.color,
@@ -124,36 +125,36 @@ const qe = ["id"], Ye = {
124
125
  paddingBottom: 12,
125
126
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
126
127
  }));
127
- function $e(o) {
128
+ function Me(o) {
128
129
  o === n.value ? n.value = null : n.value = o;
129
130
  }
130
- const b = c(() => {
131
- const o = g.value.map((t) => ({
131
+ const C = c(() => {
132
+ const o = k.value.map((t) => ({
132
133
  name: t.key,
133
134
  color: t.color
134
- })), l = g.value.map((t) => isNaN(t.value) ? 0 : t.value);
135
+ })), l = k.value.map((t) => isNaN(t.value) ? 0 : t.value);
135
136
  return { head: o, body: l };
136
137
  });
137
138
  function Z(o = null) {
138
139
  Le(() => {
139
- const l = b.value.head.map((x, k) => [[
140
- x.name
141
- ], [b.value.body[k]], [isNaN(b.value.body[k] / w.value) ? "-" : b.value.body[k] / w.value * 100]]), t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), u = We(t);
140
+ const l = C.value.head.map((b, y) => [[
141
+ b.name
142
+ ], [C.value.body[y]], [isNaN(C.value.body[y] / x.value) ? "-" : C.value.body[y] / x.value * 100]]), t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), u = We(t);
142
143
  o ? o(u) : ze({ csvContent: u, title: e.value.style.chart.title.text || "vue-ui-mood-radar" });
143
144
  });
144
145
  }
145
- const T = c(() => {
146
+ const I = c(() => {
146
147
  const o = [
147
148
  ' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
148
- Number(w.value.toFixed(e.value.table.td.roundingValue)).toLocaleString(),
149
+ Number(x.value.toFixed(e.value.table.td.roundingValue)).toLocaleString(),
149
150
  "100%"
150
- ], l = b.value.head.map((x, k) => [
151
+ ], l = C.value.head.map((b, y) => [
151
152
  {
152
- color: x.color,
153
- name: x.name
153
+ color: b.color,
154
+ name: b.name
154
155
  },
155
- b.value.body[k].toFixed(e.value.table.td.roundingValue),
156
- isNaN(b.value.body[k] / w.value) ? "-" : (b.value.body[k] / w.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
156
+ C.value.body[y].toFixed(e.value.table.td.roundingValue),
157
+ isNaN(C.value.body[y] / x.value) ? "-" : (C.value.body[y] / x.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
157
158
  ]), t = {
158
159
  th: {
159
160
  backgroundColor: e.value.table.th.backgroundColor,
@@ -178,53 +179,67 @@ const qe = ["id"], Ye = {
178
179
  colNames: u
179
180
  };
180
181
  });
181
- function Me() {
182
- return g.value;
182
+ function Pe() {
183
+ return k.value;
183
184
  }
184
185
  function ee() {
185
- N.value.showTable = !N.value.showTable;
186
+ A.value.showTable = !A.value.showTable;
186
187
  }
187
- const A = y(!1);
188
- function Pe(o) {
189
- A.value = o;
188
+ const O = h(!1);
189
+ function te(o) {
190
+ O.value = o;
190
191
  }
191
- const L = y(!1);
192
- function B() {
192
+ const L = h(!1);
193
+ function U() {
193
194
  L.value = !L.value;
194
195
  }
195
- return ie({
196
- getData: Me,
196
+ async function Ne({ scale: o = 2 } = {}) {
197
+ if (!N.value) return;
198
+ const { width: l, height: t } = N.value.getBoundingClientRect(), u = l / t, { imageUri: b, base64: y } = await qe({ domElement: N.value, base64: !0, img: !0, scale: o });
199
+ return {
200
+ imageUri: b,
201
+ base64: y,
202
+ title: e.value.style.chart.title.text,
203
+ width: l,
204
+ height: t,
205
+ aspectRatio: u
206
+ };
207
+ }
208
+ return de({
209
+ getData: Pe,
210
+ getImage: Ne,
197
211
  generatePdf: Y,
198
212
  generateCsv: Z,
199
213
  generateImage: J,
200
214
  toggleTable: ee,
201
- toggleAnnotator: B
202
- }), (o, l) => (r(), h("div", {
203
- class: te(`vue-ui-mood-radar ${A.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
215
+ toggleAnnotator: U,
216
+ toggleFullscreen: te
217
+ }), (o, l) => (r(), f("div", {
218
+ class: oe(`vue-ui-mood-radar ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
204
219
  ref_key: "moodRadarChart",
205
- ref: z,
220
+ ref: N,
206
221
  id: `${P.value}`,
207
- style: I(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
208
- onMouseenter: l[11] || (l[11] = () => a(E)(!0)),
209
- onMouseleave: l[12] || (l[12] = () => a(E)(!1))
222
+ style: F(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
223
+ onMouseenter: l[11] || (l[11] = () => a(D)(!0)),
224
+ onMouseleave: l[12] || (l[12] = () => a(D)(!1))
210
225
  }, [
211
- e.value.userOptions.buttons.annotator ? (r(), m(a(ye), {
226
+ e.value.userOptions.buttons.annotator ? (r(), g(a(he), {
212
227
  key: 0,
213
228
  svgRef: a(H),
214
229
  backgroundColor: e.value.style.chart.backgroundColor,
215
230
  color: e.value.style.chart.color,
216
231
  active: L.value,
217
- onClose: B
232
+ onClose: U
218
233
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : i("", !0),
219
- Ce.value ? (r(), h("div", {
234
+ we.value ? (r(), f("div", {
220
235
  key: 1,
221
236
  ref_key: "noTitle",
222
- ref: ge,
237
+ ref: ke,
223
238
  class: "vue-data-ui-no-title-space",
224
239
  style: "height:36px; width: 100%;background:transparent"
225
240
  }, null, 512)) : i("", !0),
226
- e.value.style.chart.title.text ? (r(), h("div", Ye, [
227
- U(Xe, {
241
+ e.value.style.chart.title.text ? (r(), f("div", Qe, [
242
+ E(Ke, {
228
243
  config: {
229
244
  title: {
230
245
  cy: "mood-radar-title",
@@ -237,10 +252,10 @@ const qe = ["id"], Ye = {
237
252
  }
238
253
  }, null, 8, ["config"])
239
254
  ])) : i("", !0),
240
- e.value.userOptions.show && M.value && (a(G) || a(j)) ? (r(), m(a(fe), {
255
+ e.value.userOptions.show && M.value && (a(G) || a(j)) ? (r(), g(a(pe), {
241
256
  key: 3,
242
257
  ref_key: "details",
243
- ref: me,
258
+ ref: ge,
244
259
  backgroundColor: e.value.style.chart.backgroundColor,
245
260
  color: e.value.style.chart.color,
246
261
  isPrinting: a(K),
@@ -251,96 +266,96 @@ const qe = ["id"], Ye = {
251
266
  hasImg: e.value.userOptions.buttons.img,
252
267
  hasTable: e.value.userOptions.buttons.table,
253
268
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
254
- isFullscreen: A.value,
269
+ isFullscreen: O.value,
255
270
  titles: { ...e.value.userOptions.buttonTitles },
256
- chartElement: z.value,
271
+ chartElement: N.value,
257
272
  position: e.value.userOptions.position,
258
273
  hasAnnotator: e.value.userOptions.buttons.annotator,
259
274
  isAnnotation: L.value,
260
275
  callbacks: e.value.userOptions.callbacks,
261
276
  printScale: e.value.userOptions.print.scale,
262
- onToggleFullscreen: Pe,
277
+ onToggleFullscreen: te,
263
278
  onGeneratePdf: a(Y),
264
279
  onGenerateCsv: Z,
265
280
  onGenerateImage: a(J),
266
281
  onToggleTable: ee,
267
- onToggleAnnotator: B,
268
- style: I({
282
+ onToggleAnnotator: U,
283
+ style: F({
269
284
  visibility: a(G) ? a(j) ? "visible" : "hidden" : "visible"
270
285
  })
271
- }, Te({ _: 2 }, [
286
+ }, Ie({ _: 2 }, [
272
287
  o.$slots.menuIcon ? {
273
288
  name: "menuIcon",
274
- fn: f(({ isOpen: t, color: u }) => [
275
- v(o.$slots, "menuIcon", F(S({ isOpen: t, color: u })), void 0, !0)
289
+ fn: p(({ isOpen: t, color: u }) => [
290
+ v(o.$slots, "menuIcon", S(V({ isOpen: t, color: u })), void 0, !0)
276
291
  ]),
277
292
  key: "0"
278
293
  } : void 0,
279
294
  o.$slots.optionPdf ? {
280
295
  name: "optionPdf",
281
- fn: f(() => [
296
+ fn: p(() => [
282
297
  v(o.$slots, "optionPdf", {}, void 0, !0)
283
298
  ]),
284
299
  key: "1"
285
300
  } : void 0,
286
301
  o.$slots.optionCsv ? {
287
302
  name: "optionCsv",
288
- fn: f(() => [
303
+ fn: p(() => [
289
304
  v(o.$slots, "optionCsv", {}, void 0, !0)
290
305
  ]),
291
306
  key: "2"
292
307
  } : void 0,
293
308
  o.$slots.optionImg ? {
294
309
  name: "optionImg",
295
- fn: f(() => [
310
+ fn: p(() => [
296
311
  v(o.$slots, "optionImg", {}, void 0, !0)
297
312
  ]),
298
313
  key: "3"
299
314
  } : void 0,
300
315
  o.$slots.optionTable ? {
301
316
  name: "optionTable",
302
- fn: f(() => [
317
+ fn: p(() => [
303
318
  v(o.$slots, "optionTable", {}, void 0, !0)
304
319
  ]),
305
320
  key: "4"
306
321
  } : void 0,
307
322
  o.$slots.optionFullscreen ? {
308
323
  name: "optionFullscreen",
309
- fn: f(({ toggleFullscreen: t, isFullscreen: u }) => [
310
- v(o.$slots, "optionFullscreen", F(S({ toggleFullscreen: t, isFullscreen: u })), void 0, !0)
324
+ fn: p(({ toggleFullscreen: t, isFullscreen: u }) => [
325
+ v(o.$slots, "optionFullscreen", S(V({ toggleFullscreen: t, isFullscreen: u })), void 0, !0)
311
326
  ]),
312
327
  key: "5"
313
328
  } : void 0,
314
329
  o.$slots.optionAnnotator ? {
315
330
  name: "optionAnnotator",
316
- fn: f(({ toggleAnnotator: t, isAnnotator: u }) => [
317
- v(o.$slots, "optionAnnotator", F(S({ toggleAnnotator: t, isAnnotator: u })), void 0, !0)
331
+ fn: p(({ toggleAnnotator: t, isAnnotator: u }) => [
332
+ v(o.$slots, "optionAnnotator", S(V({ toggleAnnotator: t, isAnnotator: u })), void 0, !0)
318
333
  ]),
319
334
  key: "6"
320
335
  } : void 0
321
336
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : i("", !0),
322
- M.value ? (r(), h("svg", {
337
+ M.value ? (r(), f("svg", {
323
338
  key: 4,
324
339
  ref_key: "svgRef",
325
340
  ref: H,
326
- xmlns: a(Re),
327
- viewBox: `0 0 ${p.value.width} ${p.value.height}`,
328
- class: te({ "vue-data-ui-fullscreen--on": A.value, "vue-data-ui-fulscreen--off": !A.value }),
329
- style: I(`overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
341
+ xmlns: a(Be),
342
+ viewBox: `0 0 ${m.value.width} ${m.value.height}`,
343
+ class: oe({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
344
+ style: F(`overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
330
345
  }, [
331
- U(a(ve)),
332
- o.$slots["chart-background"] ? (r(), h("foreignObject", {
346
+ E(a(ye)),
347
+ o.$slots["chart-background"] ? (r(), f("foreignObject", {
333
348
  key: 0,
334
349
  x: 0,
335
350
  y: 0,
336
- width: p.value.width,
337
- height: p.value.height,
351
+ width: m.value.width,
352
+ height: m.value.height,
338
353
  style: {
339
354
  pointerEvents: "none"
340
355
  }
341
356
  }, [
342
357
  v(o.$slots, "chart-background", {}, void 0, !0)
343
- ], 8, Qe)) : i("", !0),
358
+ ], 8, et)) : i("", !0),
344
359
  s("defs", null, [
345
360
  s("radialGradient", {
346
361
  cx: "50%",
@@ -352,37 +367,37 @@ const qe = ["id"], Ye = {
352
367
  }, [
353
368
  s("stop", {
354
369
  offset: "0%",
355
- "stop-color": a(C)(e.value.style.chart.layout.dataPolygon.color, e.value.style.chart.layout.dataPolygon.opacity)
356
- }, null, 8, et),
370
+ "stop-color": a(w)(e.value.style.chart.layout.dataPolygon.color, e.value.style.chart.layout.dataPolygon.opacity)
371
+ }, null, 8, ot),
357
372
  s("stop", {
358
373
  offset: "100%",
359
- "stop-color": a(C)(a(Be)(e.value.style.chart.layout.dataPolygon.color, e.value.style.chart.layout.dataPolygon.gradient.intensity / 100), e.value.style.chart.layout.dataPolygon.opacity)
360
- }, null, 8, tt)
361
- ], 8, Ze)
374
+ "stop-color": a(w)(a(Ue)(e.value.style.chart.layout.dataPolygon.color, e.value.style.chart.layout.dataPolygon.gradient.intensity / 100), e.value.style.chart.layout.dataPolygon.opacity)
375
+ }, null, 8, lt)
376
+ ], 8, tt)
362
377
  ]),
363
- (r(!0), h(oe, null, le(R.value.coordinates, (t) => (r(), h("line", {
364
- x1: p.value.width / 2,
365
- y1: p.value.height / 2,
378
+ (r(!0), f(le, null, ae(B.value.coordinates, (t) => (r(), f("line", {
379
+ x1: m.value.width / 2,
380
+ y1: m.value.height / 2,
366
381
  x2: t.x,
367
382
  y2: t.y,
368
383
  stroke: e.value.style.chart.layout.grid.stroke,
369
384
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth
370
- }, null, 8, ot))), 256)),
385
+ }, null, 8, at))), 256)),
371
386
  s("path", {
372
- d: R.value.path,
387
+ d: B.value.path,
373
388
  fill: "none",
374
389
  stroke: e.value.style.chart.layout.outerPolygon.stroke,
375
390
  "stroke-width": e.value.style.chart.layout.outerPolygon.strokeWidth,
376
391
  "stroke-linejoin": "round",
377
392
  "stroke-linecap": "round"
378
- }, null, 8, lt),
393
+ }, null, 8, st),
379
394
  s("path", {
380
395
  fill: "none",
381
396
  stroke: e.value.style.chart.layout.smileys.colors[5],
382
397
  "stroke-width": "1",
383
398
  "stroke-linecap": "round",
384
399
  d: "M119 25A1 1 0 00137 25 1 1 0 00119 25M123 26C124 33 132 33 133 26L123 26M123 22A1 1 0 00126 22 1 1 0 00123 22M130 22A1 1 0 00133 22 1 1 0 00130 22"
385
- }, null, 8, at),
400
+ }, null, 8, rt),
386
401
  s("circle", {
387
402
  class: "vue-ui-mood-radar-trap",
388
403
  onMouseenter: l[0] || (l[0] = (t) => n.value = 5),
@@ -390,15 +405,15 @@ const qe = ["id"], Ye = {
390
405
  cx: "128",
391
406
  cy: "25",
392
407
  r: "20",
393
- fill: n.value === 5 ? a(C)(e.value.style.chart.layout.smileys.colors[5], 20) : "transparent"
394
- }, null, 40, st),
408
+ fill: n.value === 5 ? a(w)(e.value.style.chart.layout.smileys.colors[5], 20) : "transparent"
409
+ }, null, 40, nt),
395
410
  s("path", {
396
411
  fill: "none",
397
412
  stroke: e.value.style.chart.layout.smileys.colors[4],
398
413
  "stroke-width": "1",
399
414
  "stroke-linecap": "round",
400
415
  d: "M218 95A1 1 0 00236 95 1 1 0 00218 95M222 97C225 99 229 99 232 97M222 92A1 1 0 00225 92 1 1 0 00222 92M229 92A1 1 0 00232 92 1 1 0 00229 92"
401
- }, null, 8, rt),
416
+ }, null, 8, ut),
402
417
  s("circle", {
403
418
  class: "vue-ui-mood-radar-trap",
404
419
  onMouseenter: l[2] || (l[2] = (t) => n.value = 4),
@@ -406,15 +421,15 @@ const qe = ["id"], Ye = {
406
421
  cx: "227",
407
422
  cy: "95.5",
408
423
  r: "20",
409
- fill: n.value === 4 ? a(C)(e.value.style.chart.layout.smileys.colors[4], 20) : "transparent"
410
- }, null, 40, nt),
424
+ fill: n.value === 4 ? a(w)(e.value.style.chart.layout.smileys.colors[4], 20) : "transparent"
425
+ }, null, 40, it),
411
426
  s("path", {
412
427
  fill: "none",
413
428
  stroke: e.value.style.chart.layout.smileys.colors[3],
414
429
  "stroke-width": "1",
415
430
  "stroke-linecap": "round",
416
431
  d: "M181 213A1 1 0 00199 213 1 1 0 00181 213M185 210A1 1 0 00188 210 1 1 0 00185 210M192 210A1 1 0 00195 210 1 1 0 00192 210M185 215 195 215"
417
- }, null, 8, ut),
432
+ }, null, 8, dt),
418
433
  s("circle", {
419
434
  class: "vue-ui-mood-radar-trap",
420
435
  onMouseenter: l[4] || (l[4] = (t) => n.value = 3),
@@ -422,15 +437,15 @@ const qe = ["id"], Ye = {
422
437
  cx: "190",
423
438
  cy: "213.5",
424
439
  r: "20",
425
- fill: n.value === 3 ? a(C)(e.value.style.chart.layout.smileys.colors[3], 20) : "transparent"
426
- }, null, 40, it),
440
+ fill: n.value === 3 ? a(w)(e.value.style.chart.layout.smileys.colors[3], 20) : "transparent"
441
+ }, null, 40, ct),
427
442
  s("path", {
428
443
  fill: "none",
429
444
  stroke: e.value.style.chart.layout.smileys.colors[2],
430
445
  "stroke-width": "1",
431
446
  "stroke-linecap": "round",
432
447
  d: "M56 213A1 1 0 0074 213 1 1 0 0056 213M60 216C63 214 67 214 70 216M60 210A1 1 0 0063 210 1 1 0 0060 210M67 210A1 1 0 0070 210 1 1 0 0067 210"
433
- }, null, 8, dt),
448
+ }, null, 8, vt),
434
449
  s("circle", {
435
450
  class: "vue-ui-mood-radar-trap",
436
451
  onMouseenter: l[6] || (l[6] = (t) => n.value = 2),
@@ -438,15 +453,15 @@ const qe = ["id"], Ye = {
438
453
  cx: "65",
439
454
  cy: "213.5",
440
455
  r: "20",
441
- fill: n.value === 2 ? a(C)(e.value.style.chart.layout.smileys.colors[2], 20) : "transparent"
442
- }, null, 40, ct),
456
+ fill: n.value === 2 ? a(w)(e.value.style.chart.layout.smileys.colors[2], 20) : "transparent"
457
+ }, null, 40, yt),
443
458
  s("path", {
444
459
  fill: "none",
445
460
  stroke: e.value.style.chart.layout.smileys.colors[1],
446
461
  "stroke-width": "1",
447
462
  "stroke-linecap": "round",
448
463
  d: "M20 96A1 1 0 0038 96 1 1 0 0020 96M24 100C25 95 33 95 34 100L24 100M24 93A1 1 0 0027 93 1 1 0 0024 93M31 93A1 1 0 0034 93 1 1 0 0031 93"
449
- }, null, 8, vt),
464
+ }, null, 8, ht),
450
465
  s("circle", {
451
466
  class: "vue-ui-mood-radar-trap",
452
467
  onMouseenter: l[8] || (l[8] = (t) => n.value = 1),
@@ -454,19 +469,19 @@ const qe = ["id"], Ye = {
454
469
  cx: "29",
455
470
  cy: "95.5",
456
471
  r: "20",
457
- fill: n.value === 1 ? a(C)(e.value.style.chart.layout.smileys.colors[1], 20) : "transparent"
458
- }, null, 40, yt),
472
+ fill: n.value === 1 ? a(w)(e.value.style.chart.layout.smileys.colors[1], 20) : "transparent"
473
+ }, null, 40, ft),
459
474
  s("path", {
460
- d: a(Ue)(Q.value.map((t) => t.plots)),
475
+ d: a(Ee)(Q.value.map((t) => t.plots)),
461
476
  stroke: e.value.style.chart.layout.dataPolygon.stroke,
462
477
  "stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth,
463
478
  "stroke-linecap": "round",
464
479
  "stroke-linejoin": "round",
465
- fill: e.value.style.chart.layout.dataPolygon.gradient.show ? `url(#mood_radar_gradient_${P.value})` : a(C)(e.value.style.chart.layout.dataPolygon.color, e.value.style.chart.layout.dataPolygon.opacity)
466
- }, null, 8, ht),
467
- (r(!0), h(oe, null, le(Q.value.map((t) => t.plots), (t, u) => (r(), h("g", {
480
+ fill: e.value.style.chart.layout.dataPolygon.gradient.show ? `url(#mood_radar_gradient_${P.value})` : a(w)(e.value.style.chart.layout.dataPolygon.color, e.value.style.chart.layout.dataPolygon.opacity)
481
+ }, null, 8, pt),
482
+ (r(!0), f(le, null, ae(Q.value.map((t) => t.plots), (t, u) => (r(), f("g", {
468
483
  class: "vue-ui-mood-radar-trap",
469
- style: I(`opacity:${n.value == t.key ? "1" : "0"}`)
484
+ style: F(`opacity:${n.value == t.key ? "1" : "0"}`)
470
485
  }, [
471
486
  s("line", {
472
487
  x1: t.x,
@@ -474,7 +489,7 @@ const qe = ["id"], Ye = {
474
489
  x2: 128,
475
490
  y2: 128,
476
491
  stroke: e.value.style.chart.layout.smileys.colors[t.key]
477
- }, null, 8, ft),
492
+ }, null, 8, mt),
478
493
  s("circle", {
479
494
  cx: t.x,
480
495
  cy: t.y,
@@ -482,7 +497,7 @@ const qe = ["id"], Ye = {
482
497
  r: "3",
483
498
  stroke: e.value.style.chart.backgroundColor,
484
499
  "stroke-width": 0.5
485
- }, null, 8, pt),
500
+ }, null, 8, gt),
486
501
  s("circle", {
487
502
  cx: 128,
488
503
  cy: 128,
@@ -490,7 +505,7 @@ const qe = ["id"], Ye = {
490
505
  r: "3",
491
506
  stroke: e.value.style.chart.backgroundColor,
492
507
  "stroke-width": 0.5
493
- }, null, 8, mt),
508
+ }, null, 8, kt),
494
509
  s("text", {
495
510
  x: 128,
496
511
  y: ["5", 5].includes(t.key) ? 145 : 120,
@@ -498,35 +513,35 @@ const qe = ["id"], Ye = {
498
513
  "font-size": "12",
499
514
  "text-anchor": "middle",
500
515
  "font-weight": e.value.style.chart.layout.dataLabel.bold ? "bold" : "normal"
501
- }, O(a(re)(
516
+ }, T(a(ne)(
502
517
  e.value.style.chart.layout.dataLabel.formatter,
503
518
  t.value,
504
- a(V)({
519
+ a(R)({
505
520
  p: e.value.style.chart.layout.dataLabel.prefix,
506
521
  v: t.value,
507
522
  s: e.value.style.chart.layout.dataLabel.suffix,
508
523
  r: e.value.style.chart.layout.dataLabel.roundingValue
509
524
  }),
510
525
  { datapoint: t, seriesIndex: u }
511
- )), 9, gt),
526
+ )), 9, bt),
512
527
  s("text", {
513
528
  x: 128,
514
529
  y: ["5", 5].includes(t.key) ? 163 : 102,
515
530
  fill: e.value.style.chart.layout.dataLabel.color,
516
531
  "font-size": "12",
517
532
  "text-anchor": "middle"
518
- }, " (" + O(a(V)({
519
- v: t.value / w.value * 100,
533
+ }, " (" + T(a(R)({
534
+ v: t.value / x.value * 100,
520
535
  s: "%",
521
536
  r: e.value.style.chart.layout.dataLabel.roundingPercentage
522
- })) + ") ", 9, kt)
537
+ })) + ") ", 9, Ct)
523
538
  ], 4))), 256)),
524
- v(o.$slots, "svg", { svg: p.value }, void 0, !0)
525
- ], 14, Je)) : i("", !0),
526
- o.$slots.watermark ? (r(), h("div", bt, [
527
- v(o.$slots, "watermark", F(S({ isPrinting: a(K) || a(q) })), void 0, !0)
539
+ v(o.$slots, "svg", { svg: m.value }, void 0, !0)
540
+ ], 14, Ze)) : i("", !0),
541
+ o.$slots.watermark ? (r(), f("div", wt, [
542
+ v(o.$slots, "watermark", S(V({ isPrinting: a(K) || a(q) })), void 0, !0)
528
543
  ])) : i("", !0),
529
- M.value ? i("", !0) : (r(), m(a(he), {
544
+ M.value ? i("", !0) : (r(), g(a(fe), {
530
545
  key: 6,
531
546
  config: {
532
547
  type: "radar",
@@ -543,51 +558,51 @@ const qe = ["id"], Ye = {
543
558
  }
544
559
  }
545
560
  }, null, 8, ["config"])),
546
- e.value.style.chart.legend.show ? (r(), m(He, {
547
- legendSet: g.value,
548
- config: _e.value,
549
- key: `legend_${D.value}`,
561
+ e.value.style.chart.legend.show ? (r(), g(Xe, {
562
+ legendSet: k.value,
563
+ config: $e.value,
564
+ key: `legend_${z.value}`,
550
565
  style: { display: "flex", "row-gap": "6px" }
551
566
  }, {
552
- item: f(({ legend: t, index: u }) => [
567
+ item: p(({ legend: t, index: u }) => [
553
568
  s("div", {
554
- onClick: () => $e(t.key),
569
+ onClick: () => Me(t.key),
555
570
  style: { display: "flex", "flex-direction": "row", gap: "3px", "align-items": "center", margin: "3px 0" }
556
571
  }, [
557
- t.key == 1 ? (r(), m(a($), {
572
+ t.key == 1 ? (r(), g(a($), {
558
573
  key: 0,
559
574
  strokeWidth: 1,
560
575
  name: "moodSad",
561
576
  stroke: e.value.style.chart.layout.smileys.colors[t.key]
562
577
  }, null, 8, ["stroke"])) : i("", !0),
563
- t.key == 2 ? (r(), m(a($), {
578
+ t.key == 2 ? (r(), g(a($), {
564
579
  key: 1,
565
580
  strokeWidth: 1,
566
581
  name: "moodFlat",
567
582
  stroke: e.value.style.chart.layout.smileys.colors[t.key]
568
583
  }, null, 8, ["stroke"])) : i("", !0),
569
- t.key == 3 ? (r(), m(a($), {
584
+ t.key == 3 ? (r(), g(a($), {
570
585
  key: 2,
571
586
  strokeWidth: 1,
572
587
  name: "moodNeutral",
573
588
  stroke: e.value.style.chart.layout.smileys.colors[t.key]
574
589
  }, null, 8, ["stroke"])) : i("", !0),
575
- t.key == 4 ? (r(), m(a($), {
590
+ t.key == 4 ? (r(), g(a($), {
576
591
  key: 3,
577
592
  strokeWidth: 1,
578
593
  name: "smiley",
579
594
  stroke: e.value.style.chart.layout.smileys.colors[t.key]
580
595
  }, null, 8, ["stroke"])) : i("", !0),
581
- t.key == 5 ? (r(), m(a($), {
596
+ t.key == 5 ? (r(), g(a($), {
582
597
  key: 4,
583
598
  strokeWidth: 1,
584
599
  name: "moodHappy",
585
600
  stroke: e.value.style.chart.layout.smileys.colors[t.key]
586
601
  }, null, 8, ["stroke"])) : i("", !0),
587
- s("span", wt, O(a(re)(
602
+ s("span", _t, T(a(ne)(
588
603
  e.value.style.chart.layout.dataLabel.formatter,
589
604
  t.value,
590
- a(V)({
605
+ a(R)({
591
606
  p: e.value.style.chart.layout.dataLabel.prefix,
592
607
  v: t.value,
593
608
  s: e.value.style.chart.layout.dataLabel.suffix,
@@ -595,24 +610,24 @@ const qe = ["id"], Ye = {
595
610
  }),
596
611
  { datapoint: t, seriesIndex: u }
597
612
  )), 1),
598
- ae(" (" + O(a(V)({
613
+ se(" (" + T(a(R)({
599
614
  v: t.proportion * 100,
600
615
  s: "%",
601
616
  r: e.value.style.chart.legend.roundingPercentage
602
617
  })) + ") ", 1)
603
- ], 8, Ct)
618
+ ], 8, xt)
604
619
  ]),
605
620
  _: 1
606
621
  }, 8, ["legendSet", "config"])) : i("", !0),
607
- v(o.$slots, "legend", { legend: g.value }, void 0, !0),
608
- o.$slots.source ? (r(), h("div", xt, [
622
+ v(o.$slots, "legend", { legend: k.value }, void 0, !0),
623
+ o.$slots.source ? (r(), f("div", $t, [
609
624
  v(o.$slots, "source", {}, void 0, !0)
610
625
  ], 512)) : i("", !0),
611
- M.value ? (r(), m(a(de), {
626
+ M.value ? (r(), g(a(ce), {
612
627
  key: 9,
613
628
  hideDetails: "",
614
629
  config: {
615
- open: N.value.showTable,
630
+ open: A.value.showTable,
616
631
  maxHeight: 1e4,
617
632
  body: {
618
633
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -624,32 +639,32 @@ const qe = ["id"], Ye = {
624
639
  }
625
640
  }
626
641
  }, {
627
- content: f(() => [
628
- U(a(ce), {
629
- colNames: T.value.colNames,
630
- head: T.value.head,
631
- body: T.value.body,
632
- config: T.value.config,
642
+ content: p(() => [
643
+ E(a(ve), {
644
+ colNames: I.value.colNames,
645
+ head: I.value.head,
646
+ body: I.value.body,
647
+ config: I.value.config,
633
648
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
634
- onClose: l[10] || (l[10] = (t) => N.value.showTable = !1)
649
+ onClose: l[10] || (l[10] = (t) => A.value.showTable = !1)
635
650
  }, {
636
- th: f(({ th: t }) => [
651
+ th: p(({ th: t }) => [
637
652
  s("div", {
638
653
  innerHTML: t,
639
654
  style: { display: "flex", "align-items": "center" }
640
- }, null, 8, _t)
655
+ }, null, 8, Mt)
641
656
  ]),
642
- td: f(({ td: t }) => [
643
- ae(O(t.name || t), 1)
657
+ td: p(({ td: t }) => [
658
+ se(T(t.name || t), 1)
644
659
  ]),
645
660
  _: 1
646
661
  }, 8, ["colNames", "head", "body", "config", "title"])
647
662
  ]),
648
663
  _: 1
649
664
  }, 8, ["config"])) : i("", !0)
650
- ], 46, qe));
665
+ ], 46, Je));
651
666
  }
652
- }, St = /* @__PURE__ */ Ke($t, [["__scopeId", "data-v-07c761ad"]]);
667
+ }, jt = /* @__PURE__ */ Ye(Pt, [["__scopeId", "data-v-a85b97be"]]);
653
668
  export {
654
- St as default
669
+ jt as default
655
670
  };