vue-data-ui 3.1.0 → 3.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/dist/{Arrow-DvG07exK.js → Arrow-BotYLY2I.js} +1 -1
  2. package/dist/{BaseDraggableDialog-O7900pGp.js → BaseDraggableDialog-Dkpr-qUQ.js} +2 -2
  3. package/dist/{BaseIcon-DHtro8us.js → BaseIcon-BLg8FaQ2.js} +5 -3
  4. package/dist/{ColorPicker-CpWzNn4r.js → ColorPicker-C2sMVpbA.js} +2 -2
  5. package/dist/{DataTable-DJjA2_wf.js → DataTable-BRN1-1ob.js} +2 -2
  6. package/dist/{Legend-2-dC7DVb.js → Legend-DLzeDl3-.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-DHeE4Yuv.js → NonSvgPenAndPaper-Dp53d2re.js} +3 -3
  8. package/dist/{PackageVersion-DU12WH3O.js → PackageVersion-Jz9FlNXl.js} +1 -1
  9. package/dist/{PenAndPaper-B7QEDgx4.js → PenAndPaper-TgGWddgD.js} +3 -3
  10. package/dist/{Shape-Dj2Hl33H.js → Shape-Bmpx9GRg.js} +1 -1
  11. package/dist/{Slicer-D99HytqX.js → Slicer-DeWHn8zH.js} +2 -2
  12. package/dist/{SparkTooltip-B-wL07rI.js → SparkTooltip-C6fJOQ0j.js} +1 -1
  13. package/dist/{Title-Dq2_Z9kR.js → Title-AGmmsSi_.js} +1 -1
  14. package/dist/{Tooltip-Y219DXZO.js → Tooltip-le0yZk_t.js} +1 -1
  15. package/dist/{UserOptions-BuGfCdAY.js → UserOptions-DEFwuQIo.js} +125 -108
  16. package/dist/{dom-to-png-BhciAKaM.js → dom-to-png-C7V0EktO.js} +1 -1
  17. package/dist/{img-JOqdlnUs.js → img-DvuphHeJ.js} +1 -1
  18. package/dist/{index-CDQbCd41.js → index-BFqW8WA0.js} +97 -74
  19. package/dist/pdf-Bdf65IBz.js +79 -0
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +25 -2
  22. package/dist/types/vue-data-ui.d.ts +25 -2
  23. package/dist/{useAutoSizeLabelsInsideViewbox-Bky5KGFZ.js → useAutoSizeLabelsInsideViewbox-N1I6Rk6M.js} +1 -1
  24. package/dist/{useNestedProp-BPEHGiYX.js → useNestedProp-BSZCnuGl.js} +1 -1
  25. package/dist/{usePrinter-Bnl1YeUU.js → usePrinter-DDIKRiOp.js} +13 -12
  26. package/dist/useTableResponsive-Cbx-ACcP.js +22 -0
  27. package/dist/{vue-data-ui-DcNYz3cZ.js → vue-data-ui-vwh3dolO.js} +64 -64
  28. package/dist/vue-data-ui.js +1 -1
  29. package/dist/{vue-ui-3d-bar-BNIFAeN-.js → vue-ui-3d-bar-DNw3RWRt.js} +371 -366
  30. package/dist/{vue-ui-accordion-Bf_LHFFX.js → vue-ui-accordion-Cv747Pg6.js} +3 -3
  31. package/dist/{vue-ui-age-pyramid-Bz-l1afR.js → vue-ui-age-pyramid-B1Yun-v7.js} +200 -195
  32. package/dist/{vue-ui-annotator-BcfRH2BF.js → vue-ui-annotator-B_5hOApA.js} +2 -2
  33. package/dist/{vue-ui-bullet-DK1aM9fX.js → vue-ui-bullet-C2Aj7Lcx.js} +7 -7
  34. package/dist/{vue-ui-candlestick-D6mMjvtu.js → vue-ui-candlestick-BBYqZVUp.js} +225 -220
  35. package/dist/{vue-ui-carousel-table-Vp5f238W.js → vue-ui-carousel-table-DPIOnp9J.js} +4 -4
  36. package/dist/{vue-ui-chestnut-BKc4v-lf.js → vue-ui-chestnut-C4B0wEFn.js} +484 -487
  37. package/dist/{vue-ui-chord-CquhRjf0.js → vue-ui-chord-B9Zml1V7.js} +272 -266
  38. package/dist/{vue-ui-circle-pack-D6zLgxa3.js → vue-ui-circle-pack-CLn19BHH.js} +6 -6
  39. package/dist/{vue-ui-cursor-DIXb2S93.js → vue-ui-cursor-AVEV-uv3.js} +2 -2
  40. package/dist/vue-ui-dashboard-DwNYa1I4.js +412 -0
  41. package/dist/{vue-ui-digits-CLAIo9gW.js → vue-ui-digits-Dr4OHGU0.js} +2 -2
  42. package/dist/{vue-ui-donut-evolution-C3r0YhKz.js → vue-ui-donut-evolution-hJh-1Z48.js} +310 -304
  43. package/dist/{vue-ui-donut-C8h_tCSO.js → vue-ui-donut-xseR2SnT.js} +348 -343
  44. package/dist/{vue-ui-dumbbell-D-t4M00E.js → vue-ui-dumbbell-FdTx7uAG.js} +293 -287
  45. package/dist/{vue-ui-flow-D7_D_UNm.js → vue-ui-flow-Bh6FqlC1.js} +263 -257
  46. package/dist/{vue-ui-funnel-B0QOfZRz.js → vue-ui-funnel-BlsKhHbk.js} +206 -200
  47. package/dist/{vue-ui-galaxy-Ccw5uNes.js → vue-ui-galaxy-C0B8stYi.js} +243 -238
  48. package/dist/{vue-ui-gauge-DvW7nFmK.js → vue-ui-gauge-B1-UiZwV.js} +7 -7
  49. package/dist/{vue-ui-gizmo-WGQxvGPy.js → vue-ui-gizmo-Df_SCjOI.js} +3 -3
  50. package/dist/{vue-ui-heatmap-BQkLujyp.js → vue-ui-heatmap-NfRSd6fU.js} +370 -375
  51. package/dist/{vue-ui-history-plot-eU33r_Ot.js → vue-ui-history-plot-Ce-DJ8xC.js} +305 -299
  52. package/dist/{vue-ui-kpi-CKg2i71M.js → vue-ui-kpi-CH3rWyiG.js} +3 -3
  53. package/dist/{vue-ui-mini-loader-BmkGQsm_.js → vue-ui-mini-loader-D9EVnpxk.js} +2 -2
  54. package/dist/{vue-ui-molecule-Dlu0hjSg.js → vue-ui-molecule-C973vfYh.js} +188 -183
  55. package/dist/{vue-ui-mood-radar-DQaxfw9R.js → vue-ui-mood-radar-DdLxBhlO.js} +197 -192
  56. package/dist/{vue-ui-nested-donuts-Djj9Aw_i.js → vue-ui-nested-donuts-tARXMYzx.js} +326 -320
  57. package/dist/{vue-ui-onion-ZgsErXis.js → vue-ui-onion-BC9czZGG.js} +8 -8
  58. package/dist/{vue-ui-parallel-coordinate-plot-B5fB22Jc.js → vue-ui-parallel-coordinate-plot-CxDIkZKr.js} +401 -395
  59. package/dist/{vue-ui-quadrant-CMevCtXH.js → vue-ui-quadrant-Bpm5ZoTp.js} +339 -334
  60. package/dist/{vue-ui-quick-chart-DcparKSX.js → vue-ui-quick-chart-Bkc_JBCw.js} +6 -6
  61. package/dist/{vue-ui-radar-DFbxoKCK.js → vue-ui-radar-DVJQYNeL.js} +248 -243
  62. package/dist/{vue-ui-rating-ZUpxCWrk.js → vue-ui-rating-DITnRSiS.js} +2 -2
  63. package/dist/{vue-ui-relation-circle-eNKJY4Sx.js → vue-ui-relation-circle-D_OTYUmS.js} +7 -7
  64. package/dist/{vue-ui-ridgeline-D4shpQZd.js → vue-ui-ridgeline-Gc1c4LXq.js} +267 -263
  65. package/dist/{vue-ui-rings-TdTHMbsa.js → vue-ui-rings-CUT1N_kK.js} +229 -224
  66. package/dist/{vue-ui-scatter-CVuV9ljU.js → vue-ui-scatter-DwnZHy0V.js} +359 -354
  67. package/dist/{vue-ui-skeleton-CFxBU2-p.js → vue-ui-skeleton-CeyaKpZd.js} +3 -3
  68. package/dist/{vue-ui-smiley-Har3B3aQ.js → vue-ui-smiley-B9yNexWr.js} +2 -2
  69. package/dist/{vue-ui-spark-trend-FPk-XEwI.js → vue-ui-spark-trend-DTYVcrHV.js} +3 -3
  70. package/dist/{vue-ui-sparkbar-V3eJ0w0t.js → vue-ui-sparkbar-BzxynYoW.js} +3 -3
  71. package/dist/{vue-ui-sparkgauge-DKTGkWnJ.js → vue-ui-sparkgauge-DoznCX5h.js} +3 -3
  72. package/dist/{vue-ui-sparkhistogram-DJsgFwHs.js → vue-ui-sparkhistogram-DoZpd0H2.js} +4 -4
  73. package/dist/{vue-ui-sparkline-Dmrm5SL5.js → vue-ui-sparkline-ZKit-hgG.js} +3 -3
  74. package/dist/{vue-ui-sparkstackbar-B0Pl7VMI.js → vue-ui-sparkstackbar-DjoqH_Xs.js} +3 -3
  75. package/dist/{vue-ui-stackbar-CNsgBPhj.js → vue-ui-stackbar-J-gxI4Xn.js} +310 -304
  76. package/dist/{vue-ui-strip-plot-CYAWwYOM.js → vue-ui-strip-plot-CO7NVeFi.js} +246 -240
  77. package/dist/{vue-ui-table-heatmap-COI9LRqC.js → vue-ui-table-heatmap-BEFdai_O.js} +5 -5
  78. package/dist/{vue-ui-table-Dn6H98rP.js → vue-ui-table-rmbBw_0d.js} +3 -3
  79. package/dist/{vue-ui-table-sparkline-B7Gg5FfJ.js → vue-ui-table-sparkline-CjgaQXbc.js} +4 -4
  80. package/dist/{vue-ui-thermometer-Bgynq5El.js → vue-ui-thermometer--aqaJwFo.js} +7 -7
  81. package/dist/{vue-ui-timer-CXng51v5.js → vue-ui-timer-qFNHDcU_.js} +5 -5
  82. package/dist/{vue-ui-tiremarks-Cy1U3hO1.js → vue-ui-tiremarks-DA8fzQHo.js} +6 -6
  83. package/dist/{vue-ui-treemap-BsvIvRmE.js → vue-ui-treemap-DGC9zxon.js} +262 -256
  84. package/dist/{vue-ui-vertical-bar-DHqWeDIf.js → vue-ui-vertical-bar-DOCeCCqz.js} +297 -298
  85. package/dist/{vue-ui-waffle-D1Mscj3N.js → vue-ui-waffle-DD9jtkcQ.js} +257 -252
  86. package/dist/{vue-ui-wheel-DpV-N5tF.js → vue-ui-wheel-87VStrfJ.js} +6 -6
  87. package/dist/vue-ui-word-cloud-CCMfa9H1.js +817 -0
  88. package/dist/{vue-ui-world-DYz6zw3x.js → vue-ui-world-Cm3Hn1-2.js} +257 -252
  89. package/dist/{vue-ui-xy-B1nqNbzw.js → vue-ui-xy-C2SnbN6w.js} +1453 -1447
  90. package/dist/{vue-ui-xy-canvas-D4wd-Asd.js → vue-ui-xy-canvas-WxSJqoiF.js} +235 -229
  91. package/package.json +1 -1
  92. package/dist/pdf-Dd-LIJqz.js +0 -61
  93. package/dist/vue-ui-dashboard-DmiriAK7.js +0 -325
  94. package/dist/vue-ui-word-cloud-MaNQ3Kdk.js +0 -811
@@ -1,22 +1,22 @@
1
- import { defineAsyncComponent as P, ref as u, computed as c, toRefs as Ye, onMounted as Je, watch as ge, createElementBlock as v, openBlock as r, unref as a, normalizeStyle as j, normalizeClass as me, createBlock as m, createCommentVNode as d, createElementVNode as s, createVNode as z, createSlots as ke, withCtx as y, renderSlot as f, normalizeProps as W, guardReactiveProps as G, Fragment as be, renderList as Ce, toDisplayString as L, Teleport as Qe, resolveDynamicComponent as Ze, mergeProps as et, createTextVNode as we, nextTick as xe } from "vue";
2
- import { u as tt, c as ot, t as lt, o as at, f as $e, b as st, R as nt, X as rt, s as $, x as ut, S as it, k as _e, i as H, v as dt, w as ct } from "./index-CDQbCd41.js";
3
- import { t as vt, u as yt } from "./useResponsive-DfdjqQps.js";
4
- import { u as ht, B as ft } from "./BaseScanner-BgWxam9d.js";
5
- import { u as pt } from "./usePrinter-Bnl1YeUU.js";
6
- import { u as Ae } from "./useNestedProp-BPEHGiYX.js";
7
- import { u as gt } from "./useUserOptionState-BIvW1Kz7.js";
8
- import { u as mt } from "./useChartAccessibility-9icAAmYg.js";
9
- import kt from "./img-JOqdlnUs.js";
10
- import bt from "./Title-Dq2_Z9kR.js";
11
- import Ct from "./Legend-2-dC7DVb.js";
12
- import { _ as wt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
- const xt = ["id"], $t = ["id"], _t = ["xmlns", "viewBox"], At = ["width", "height"], Mt = ["id"], Pt = ["stop-color"], Tt = ["stop-color"], Nt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Ot = ["d", "stroke", "stroke-width"], Lt = ["transform"], It = ["stroke"], Dt = ["fill"], St = ["transform"], Ft = ["stroke"], Bt = ["fill"], Et = ["transform"], Rt = ["stroke"], Vt = ["fill"], Ut = ["transform"], jt = ["stroke"], zt = ["fill"], Wt = ["transform"], Gt = ["stroke"], Ht = ["fill"], Xt = ["d", "stroke", "stroke-width", "fill"], Kt = ["x1", "y1", "x2", "y2", "stroke"], qt = ["cx", "cy", "fill", "stroke"], Yt = ["cx", "cy", "fill", "stroke"], Jt = ["x", "y", "fill", "font-weight"], Qt = ["x", "y", "fill"], Zt = {
1
+ import { defineAsyncComponent as T, ref as u, computed as c, toRefs as Je, onMounted as Qe, watch as ke, createElementBlock as v, openBlock as r, unref as a, normalizeStyle as j, normalizeClass as be, createBlock as m, createCommentVNode as d, createElementVNode as s, createVNode as z, createSlots as Ce, withCtx as y, renderSlot as f, normalizeProps as W, guardReactiveProps as G, Fragment as we, renderList as xe, toDisplayString as L, Teleport as Ze, resolveDynamicComponent as et, mergeProps as tt, createTextVNode as $e, nextTick as _e } from "vue";
2
+ import { u as ot, c as lt, t as at, o as st, f as Ae, b as nt, R as rt, X as ut, s as x, x as it, S as dt, k as Me, i as H, v as ct, w as vt } from "./index-BFqW8WA0.js";
3
+ import { t as yt, u as ht } from "./useResponsive-DfdjqQps.js";
4
+ import { u as ft, B as pt } from "./BaseScanner-BgWxam9d.js";
5
+ import { u as gt } from "./usePrinter-DDIKRiOp.js";
6
+ import { u as Te } from "./useNestedProp-BSZCnuGl.js";
7
+ import { u as mt } from "./useUserOptionState-BIvW1Kz7.js";
8
+ import { u as kt } from "./useChartAccessibility-9icAAmYg.js";
9
+ import bt from "./img-DvuphHeJ.js";
10
+ import Ct from "./Title-AGmmsSi_.js";
11
+ import wt from "./Legend-DLzeDl3-.js";
12
+ import { _ as xt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
+ const $t = ["id"], _t = ["id"], At = ["xmlns", "viewBox"], Mt = ["width", "height"], Tt = ["id"], Pt = ["stop-color"], Nt = ["stop-color"], Ot = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Lt = ["d", "stroke", "stroke-width"], It = ["transform"], Dt = ["stroke"], St = ["fill"], Ft = ["transform"], Bt = ["stroke"], Rt = ["fill"], Et = ["transform"], Vt = ["stroke"], Ut = ["fill"], jt = ["transform"], zt = ["stroke"], Wt = ["fill"], Gt = ["transform"], Ht = ["stroke"], Xt = ["fill"], Kt = ["d", "stroke", "stroke-width", "fill"], qt = ["x1", "y1", "x2", "y2", "stroke"], Yt = ["cx", "cy", "fill", "stroke"], Jt = ["cx", "cy", "fill", "stroke"], Qt = ["x", "y", "fill", "font-weight"], Zt = ["x", "y", "fill"], eo = {
14
14
  key: 4,
15
15
  class: "vue-data-ui-watermark"
16
- }, eo = ["id"], to = ["onClick"], oo = {
16
+ }, to = ["id"], oo = ["onClick"], lo = {
17
17
  key: 5,
18
18
  style: { "font-weight": "bold" }
19
- }, lo = { key: 6 }, ao = ["innerHTML"], so = {
19
+ }, ao = { key: 6 }, so = ["innerHTML"], no = {
20
20
  __name: "vue-ui-mood-radar",
21
21
  props: {
22
22
  config: {
@@ -32,14 +32,14 @@ const xt = ["id"], $t = ["id"], _t = ["xmlns", "viewBox"], At = ["width", "heigh
32
32
  }
33
33
  }
34
34
  },
35
- setup(Me, { expose: Pe }) {
36
- const T = P(() => import("./BaseIcon-DHtro8us.js")), Te = P(() => import("./vue-ui-accordion-Bf_LHFFX.js")), Ne = P(() => import("./DataTable-DJjA2_wf.js")), Oe = P(() => import("./PenAndPaper-B7QEDgx4.js")), Le = P(() => import("./UserOptions-BuGfCdAY.js")), Ie = P(() => import("./PackageVersion-DU12WH3O.js")), De = P(() => import("./BaseDraggableDialog-O7900pGp.js")), { vue_ui_mood_radar: Se } = tt(), _ = Me, k = u(ot()), C = u(null), Fe = u(null), p = u(null), ee = u(null), Be = u(0), Ee = u(0), te = u(0), oe = u(null), le = u(null), I = u(null), R = u(null), ae = u(null), se = u(!1), D = u(null), ne = c(() => !!_.dataset && Object.keys(_.dataset).length), e = u(q()), { loading: X, FINAL_DATASET: A } = ht({
37
- ...Ye(_),
35
+ setup(Pe, { expose: Ne }) {
36
+ const P = T(() => import("./BaseIcon-BLg8FaQ2.js")), Oe = T(() => import("./vue-ui-accordion-Cv747Pg6.js")), Le = T(() => import("./DataTable-BRN1-1ob.js")), Ie = T(() => import("./PenAndPaper-TgGWddgD.js")), De = T(() => import("./UserOptions-DEFwuQIo.js")), Se = T(() => import("./PackageVersion-Jz9FlNXl.js")), Fe = T(() => import("./BaseDraggableDialog-Dkpr-qUQ.js")), { vue_ui_mood_radar: Be } = ot(), $ = Pe, k = u(lt()), C = u(null), p = u(null), te = u(null), Re = u(0), Ee = u(0), oe = u(0), le = u(null), ae = u(null), I = u(null), E = u(null), se = u(null), ne = u(!1), D = u(null), X = u(null), re = c(() => !!$.dataset && Object.keys($.dataset).length), e = u(Y()), { loading: K, FINAL_DATASET: _ } = ft({
37
+ ...Je($),
38
38
  FINAL_CONFIG: e,
39
- prepareConfig: q,
39
+ prepareConfig: Y,
40
40
  callback: () => {
41
41
  Promise.resolve().then(async () => {
42
- await xe(), w.value.showTable = e.value.table.show;
42
+ await _e(), A.value.showTable = e.value.table.show;
43
43
  });
44
44
  },
45
45
  skeletonDataset: {
@@ -49,7 +49,7 @@ const xt = ["id"], $t = ["id"], _t = ["xmlns", "viewBox"], At = ["width", "heigh
49
49
  4: 1,
50
50
  5: 1
51
51
  },
52
- skeletonConfig: lt({
52
+ skeletonConfig: at({
53
53
  defaultConfig: e.value,
54
54
  userConfig: {
55
55
  userOptions: { show: !1 },
@@ -90,88 +90,88 @@ const xt = ["id"], $t = ["id"], _t = ["xmlns", "viewBox"], At = ["width", "heigh
90
90
  }
91
91
  })
92
92
  });
93
- Je(() => {
94
- se.value = !0, re();
93
+ Qe(() => {
94
+ ne.value = !0, ue();
95
95
  });
96
- const Re = c(() => e.value.debug);
97
- function re() {
98
- if (at(_.dataset) && $e({
96
+ const Ve = c(() => e.value.debug);
97
+ function ue() {
98
+ if (st($.dataset) && Ae({
99
99
  componentName: "VueUiMoodRadar",
100
100
  type: "dataset",
101
- debug: Re.value
101
+ debug: Ve.value
102
102
  }), e.value.responsive) {
103
- const o = vt(() => {
104
- const { width: l, height: t } = yt({
103
+ const o = yt(() => {
104
+ const { width: l, height: t } = ht({
105
105
  chart: C.value,
106
- title: e.value.style.chart.title.text ? oe.value : null,
107
- legend: e.value.style.chart.legend.show ? le.value : null,
108
- noTitle: ee.value,
109
- source: ae.value
106
+ title: e.value.style.chart.title.text ? le.value : null,
107
+ legend: e.value.style.chart.legend.show ? ae.value : null,
108
+ noTitle: te.value,
109
+ source: se.value
110
110
  });
111
111
  requestAnimationFrame(() => {
112
112
  n.value.width = l, n.value.height = t - 12;
113
113
  });
114
114
  });
115
- I.value && (R.value && I.value.unobserve(R.value), I.value.disconnect()), I.value = new ResizeObserver(o), R.value = C.value.parentNode, I.value.observe(R.value);
115
+ I.value && (E.value && I.value.unobserve(E.value), I.value.disconnect()), I.value = new ResizeObserver(o), E.value = C.value.parentNode, I.value.observe(E.value);
116
116
  }
117
117
  }
118
- const { userOptionsVisible: K, setUserOptionsVisibility: ue, keepUserOptionState: ie } = gt({ config: e.value }), { svgRef: de } = mt({ config: e.value.style.chart.title });
119
- function q() {
120
- const o = Ae({
121
- userConfig: _.config,
122
- defaultConfig: Se
118
+ const { userOptionsVisible: q, setUserOptionsVisibility: ie, keepUserOptionState: de } = mt({ config: e.value }), { svgRef: ce } = kt({ config: e.value.style.chart.title });
119
+ function Y() {
120
+ const o = Te({
121
+ userConfig: $.config,
122
+ defaultConfig: Be
123
123
  });
124
124
  return o.theme ? {
125
- ...Ae({
126
- userConfig: st.vue_ui_mood_radar[o.theme] || _.config,
125
+ ...Te({
126
+ userConfig: nt.vue_ui_mood_radar[o.theme] || $.config,
127
127
  defaultConfig: o
128
128
  })
129
129
  } : o;
130
130
  }
131
- ge(() => _.config, (o) => {
132
- e.value = q(), K.value = !e.value.userOptions.showOnChartHover, re(), Be.value += 1, Ee.value += 1, te.value += 1, w.value.showTable = e.value.table.show;
131
+ ke(() => $.config, (o) => {
132
+ e.value = Y(), q.value = !e.value.userOptions.showOnChartHover, ue(), Re.value += 1, Ee.value += 1, oe.value += 1, A.value.showTable = e.value.table.show;
133
133
  }, { deep: !0 });
134
- const { isPrinting: ce, isImaging: ve, generatePdf: ye, generateImage: he } = pt({
134
+ const { isPrinting: ve, isImaging: ye, generatePdf: he, generateImage: fe } = gt({
135
135
  elementId: k.value,
136
136
  fileName: e.value.style.chart.title.text || "vue-ui-mood-radar",
137
137
  options: e.value.userOptions.print
138
- }), Ve = c(() => e.value.userOptions.show && !e.value.style.chart.title.text), w = u({
138
+ }), Ue = c(() => e.value.userOptions.show && !e.value.style.chart.title.text), A = u({
139
139
  showTable: e.value.table.show
140
140
  }), n = u({
141
141
  height: 256,
142
142
  width: 256
143
- }), Ue = {
143
+ }), je = {
144
144
  5: { x: 128, y: 35 },
145
145
  4: { x: 218, y: 98.5 },
146
146
  3: { x: 185, y: 204 },
147
147
  2: { x: 70, y: 204 },
148
148
  1: { x: 38.5, y: 98.5 }
149
- }, je = c(() => {
149
+ }, ze = c(() => {
150
150
  const o = {};
151
- return J.value.forEach((l) => {
151
+ return Q.value.forEach((l) => {
152
152
  o[l.key] = { x: l.x, y: l.y };
153
153
  }), o;
154
154
  });
155
155
  function S(o) {
156
- const l = Ue[o], t = je.value[o] || l;
156
+ const l = je[o], t = ze.value[o] || l;
157
157
  return `translate(${t.x - l.x}, ${t.y - l.y})`;
158
158
  }
159
- const Y = c(() => nt({
159
+ const J = c(() => rt({
160
160
  plot: { x: n.value.width / 2, y: n.value.height / 2 },
161
161
  radius: Math.min(n.value.height, n.value.width) * 0.35,
162
162
  sides: 5,
163
163
  rotation: 11
164
164
  }));
165
- function ze({ centerX: o, centerY: l, apexX: t, apexY: i, proportion: b, key: g, value: qe }) {
165
+ function We({ centerX: o, centerY: l, apexX: t, apexY: i, proportion: b, key: g, value: Ye }) {
166
166
  return {
167
167
  x: o + (t - o) * b,
168
168
  y: l + (i - l) * b,
169
169
  key: g,
170
- value: qe
170
+ value: Ye
171
171
  };
172
172
  }
173
- const We = c(() => Math.max(...Object.values(A.value).map((o) => isNaN(o) ? 0 : o))), M = c(() => Object.values(A.value).reduce((o, l) => (isNaN(o) ? 0 : o) + (isNaN(l) ? 0 : l), 0)), h = c(() => Object.keys(A.value).map((o, l) => {
174
- const t = typeof A.value[o] != "number" || isNaN(A.value[o]) ? 0 : A.value[o];
173
+ const Ge = c(() => Math.max(...Object.values(_.value).map((o) => isNaN(o) ? 0 : o))), M = c(() => Object.values(_.value).reduce((o, l) => (isNaN(o) ? 0 : o) + (isNaN(l) ? 0 : l), 0)), h = c(() => Object.keys(_.value).map((o, l) => {
174
+ const t = typeof _.value[o] != "number" || isNaN(_.value[o]) ? 0 : _.value[o];
175
175
  return {
176
176
  index: l,
177
177
  key: o,
@@ -179,19 +179,19 @@ const xt = ["id"], $t = ["id"], _t = ["xmlns", "viewBox"], At = ["width", "heigh
179
179
  proportion: t / M.value,
180
180
  color: e.value.style.chart.layout.smileys.colors[o]
181
181
  };
182
- }).sort((o, l) => l.key - o.key)), J = c(() => (["1", "2", "3", "4", "5"].forEach((o) => {
183
- [null, void 0].includes(A.value[o]) && $e({
182
+ }).sort((o, l) => l.key - o.key)), Q = c(() => (["1", "2", "3", "4", "5"].forEach((o) => {
183
+ [null, void 0].includes(_.value[o]) && Ae({
184
184
  componentName: "VueUiMoodRadar",
185
185
  type: "datasetAttribute",
186
186
  property: o
187
187
  });
188
- }), Y.value.coordinates.map((o, l) => {
189
- const t = ze({
188
+ }), J.value.coordinates.map((o, l) => {
189
+ const t = We({
190
190
  centerX: n.value.width / 2,
191
191
  centerY: n.value.height / 2,
192
192
  apexX: o.x,
193
193
  apexY: o.y,
194
- proportion: h.value[l].value / We.value,
194
+ proportion: h.value[l].value / Ge.value,
195
195
  key: h.value[l].key,
196
196
  value: h.value[l].value
197
197
  });
@@ -200,7 +200,7 @@ const xt = ["id"], $t = ["id"], _t = ["xmlns", "viewBox"], At = ["width", "heigh
200
200
  plots: t,
201
201
  key: h.value[l].key
202
202
  };
203
- }))), Ge = c(() => ({
203
+ }))), He = c(() => ({
204
204
  cy: "mood-radar-legend",
205
205
  backgroundColor: e.value.style.chart.legend.backgroundColor,
206
206
  color: e.value.style.chart.legend.color,
@@ -208,7 +208,7 @@ const xt = ["id"], $t = ["id"], _t = ["xmlns", "viewBox"], At = ["width", "heigh
208
208
  paddingBottom: 12,
209
209
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
210
210
  }));
211
- function He(o) {
211
+ function Xe(o) {
212
212
  o === p.value ? p.value = null : (p.value = o, N(o));
213
213
  }
214
214
  function F(o) {
@@ -225,19 +225,19 @@ const xt = ["id"], $t = ["id"], _t = ["xmlns", "viewBox"], At = ["width", "heigh
225
225
  const l = h.value.find((t) => t.key === o);
226
226
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: l.index });
227
227
  }
228
- const x = c(() => {
228
+ const w = c(() => {
229
229
  const o = h.value.map((t) => ({
230
230
  name: t.key,
231
231
  color: t.color
232
232
  })), l = h.value.map((t) => isNaN(t.value) ? 0 : t.value);
233
233
  return { head: o, body: l };
234
234
  });
235
- function Q(o = null) {
236
- xe(() => {
237
- const l = x.value.head.map((b, g) => [[
235
+ function Z(o = null) {
236
+ _e(() => {
237
+ const l = w.value.head.map((b, g) => [[
238
238
  b.name
239
- ], [x.value.body[g]], [isNaN(x.value.body[g] / M.value) ? "-" : x.value.body[g] / M.value * 100]]), t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), i = dt(t);
240
- o ? o(i) : ct({ csvContent: i, title: e.value.style.chart.title.text || "vue-ui-mood-radar" });
239
+ ], [w.value.body[g]], [isNaN(w.value.body[g] / M.value) ? "-" : w.value.body[g] / M.value * 100]]), t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), i = ct(t);
240
+ o ? o(i) : vt({ csvContent: i, title: e.value.style.chart.title.text || "vue-ui-mood-radar" });
241
241
  });
242
242
  }
243
243
  const V = c(() => {
@@ -245,13 +245,13 @@ const xt = ["id"], $t = ["id"], _t = ["xmlns", "viewBox"], At = ["width", "heigh
245
245
  ' <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>',
246
246
  Number(M.value.toFixed(e.value.table.td.roundingValue)).toLocaleString(),
247
247
  "100%"
248
- ], l = x.value.head.map((b, g) => [
248
+ ], l = w.value.head.map((b, g) => [
249
249
  {
250
250
  color: b.color,
251
251
  name: b.name
252
252
  },
253
- x.value.body[g].toFixed(e.value.table.td.roundingValue),
254
- isNaN(x.value.body[g] / M.value) ? "-" : (x.value.body[g] / M.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
253
+ w.value.body[g].toFixed(e.value.table.td.roundingValue),
254
+ isNaN(w.value.body[g] / M.value) ? "-" : (w.value.body[g] / M.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
255
255
  ]), t = {
256
256
  th: {
257
257
  backgroundColor: e.value.table.th.backgroundColor,
@@ -276,23 +276,23 @@ const xt = ["id"], $t = ["id"], _t = ["xmlns", "viewBox"], At = ["width", "heigh
276
276
  colNames: i
277
277
  };
278
278
  });
279
- function Xe() {
279
+ function Ke() {
280
280
  return h.value;
281
281
  }
282
- function fe() {
283
- w.value.showTable = !w.value.showTable;
282
+ function pe() {
283
+ A.value.showTable = !A.value.showTable;
284
284
  }
285
285
  const O = u(!1);
286
- function pe(o) {
286
+ function ge(o) {
287
287
  O.value = o;
288
288
  }
289
289
  const U = u(!1);
290
- function Z() {
290
+ function ee() {
291
291
  U.value = !U.value;
292
292
  }
293
- async function Ke({ scale: o = 2 } = {}) {
293
+ async function qe({ scale: o = 2 } = {}) {
294
294
  if (!C.value) return;
295
- const { width: l, height: t } = C.value.getBoundingClientRect(), i = l / t, { imageUri: b, base64: g } = await kt({ domElement: C.value, base64: !0, img: !0, scale: o });
295
+ const { width: l, height: t } = C.value.getBoundingClientRect(), i = l / t, { imageUri: b, base64: g } = await bt({ domElement: C.value, base64: !0, img: !0, scale: o });
296
296
  return {
297
297
  imageUri: b,
298
298
  base64: g,
@@ -302,10 +302,10 @@ const xt = ["id"], $t = ["id"], _t = ["xmlns", "viewBox"], At = ["width", "heigh
302
302
  aspectRatio: i
303
303
  };
304
304
  }
305
- const E = c(() => {
306
- const o = e.value.table.useDialog && !e.value.table.show, l = w.value.showTable;
305
+ const R = c(() => {
306
+ const o = e.value.table.useDialog && !e.value.table.show, l = A.value.showTable;
307
307
  return {
308
- component: o ? De : Te,
308
+ component: o ? Fe : Oe,
309
309
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
310
310
  props: o ? {
311
311
  backgroundColor: e.value.table.th.backgroundColor,
@@ -332,48 +332,52 @@ const xt = ["id"], $t = ["id"], _t = ["xmlns", "viewBox"], At = ["width", "heigh
332
332
  }
333
333
  };
334
334
  });
335
- return ge(() => w.value.showTable, (o) => {
335
+ ke(() => A.value.showTable, (o) => {
336
336
  e.value.table.show || (o && e.value.table.useDialog && D.value ? D.value.open() : "close" in D.value && D.value.close());
337
- }), Pe({
338
- getData: Xe,
339
- getImage: Ke,
340
- generatePdf: ye,
341
- generateCsv: Q,
342
- generateImage: he,
343
- toggleTable: fe,
344
- toggleAnnotator: Z,
345
- toggleFullscreen: pe
337
+ });
338
+ function me() {
339
+ A.value.showTable = !1, X.value && X.value.setTableIconState(!1);
340
+ }
341
+ return Ne({
342
+ getData: Ke,
343
+ getImage: qe,
344
+ generatePdf: he,
345
+ generateCsv: Z,
346
+ generateImage: fe,
347
+ toggleTable: pe,
348
+ toggleAnnotator: ee,
349
+ toggleFullscreen: ge
346
350
  }), (o, l) => (r(), v("div", {
347
- class: me(`vue-ui-mood-radar ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
351
+ class: be(`vue-ui-mood-radar ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
348
352
  ref_key: "moodRadarChart",
349
353
  ref: C,
350
354
  id: `${k.value}`,
351
355
  style: j(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
352
- onMouseenter: l[18] || (l[18] = () => a(ue)(!0)),
353
- onMouseleave: l[19] || (l[19] = () => a(ue)(!1))
356
+ onMouseenter: l[16] || (l[16] = () => a(ie)(!0)),
357
+ onMouseleave: l[17] || (l[17] = () => a(ie)(!1))
354
358
  }, [
355
- e.value.userOptions.buttons.annotator ? (r(), m(a(Oe), {
359
+ e.value.userOptions.buttons.annotator ? (r(), m(a(Ie), {
356
360
  key: 0,
357
- svgRef: a(de),
361
+ svgRef: a(ce),
358
362
  backgroundColor: e.value.style.chart.backgroundColor,
359
363
  color: e.value.style.chart.color,
360
364
  active: U.value,
361
- onClose: Z
365
+ onClose: ee
362
366
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : d("", !0),
363
- Ve.value ? (r(), v("div", {
367
+ Ue.value ? (r(), v("div", {
364
368
  key: 1,
365
369
  ref_key: "noTitle",
366
- ref: ee,
370
+ ref: te,
367
371
  class: "vue-data-ui-no-title-space",
368
372
  style: "height:36px; width: 100%;background:transparent"
369
373
  }, null, 512)) : d("", !0),
370
374
  e.value.style.chart.title.text ? (r(), v("div", {
371
375
  key: 2,
372
376
  ref_key: "chartTitle",
373
- ref: oe,
377
+ ref: le,
374
378
  style: "width:100%;background:transparent"
375
379
  }, [
376
- z(bt, {
380
+ z(Ct, {
377
381
  config: {
378
382
  title: {
379
383
  cy: "mood-radar-title",
@@ -388,15 +392,15 @@ const xt = ["id"], $t = ["id"], _t = ["xmlns", "viewBox"], At = ["width", "heigh
388
392
  ], 512)) : d("", !0),
389
393
  s("div", {
390
394
  id: `legend-top-${k.value}`
391
- }, null, 8, $t),
392
- e.value.userOptions.show && ne.value && (a(ie) || a(K)) ? (r(), m(a(Le), {
395
+ }, null, 8, _t),
396
+ e.value.userOptions.show && re.value && (a(de) || a(q)) ? (r(), m(a(De), {
393
397
  key: 3,
394
- ref_key: "details",
395
- ref: Fe,
398
+ ref_key: "userOptionsRef",
399
+ ref: X,
396
400
  backgroundColor: e.value.style.chart.backgroundColor,
397
401
  color: e.value.style.chart.color,
398
- isPrinting: a(ce),
399
- isImaging: a(ve),
402
+ isPrinting: a(ve),
403
+ isImaging: a(ye),
400
404
  uid: k.value,
401
405
  hasPdf: e.value.userOptions.buttons.pdf,
402
406
  hasXls: e.value.userOptions.buttons.csv,
@@ -411,16 +415,17 @@ const xt = ["id"], $t = ["id"], _t = ["xmlns", "viewBox"], At = ["width", "heigh
411
415
  isAnnotation: U.value,
412
416
  callbacks: e.value.userOptions.callbacks,
413
417
  printScale: e.value.userOptions.print.scale,
414
- onToggleFullscreen: pe,
415
- onGeneratePdf: a(ye),
416
- onGenerateCsv: Q,
417
- onGenerateImage: a(he),
418
- onToggleTable: fe,
419
- onToggleAnnotator: Z,
418
+ tableDialog: e.value.table.useDialog,
419
+ onToggleFullscreen: ge,
420
+ onGeneratePdf: a(he),
421
+ onGenerateCsv: Z,
422
+ onGenerateImage: a(fe),
423
+ onToggleTable: pe,
424
+ onToggleAnnotator: ee,
420
425
  style: j({
421
- visibility: a(ie) ? a(K) ? "visible" : "hidden" : "visible"
426
+ visibility: a(de) ? a(q) ? "visible" : "hidden" : "visible"
422
427
  })
423
- }, ke({ _: 2 }, [
428
+ }, Ce({ _: 2 }, [
424
429
  o.$slots.menuIcon ? {
425
430
  name: "menuIcon",
426
431
  fn: y(({ isOpen: t, color: i }) => [
@@ -470,16 +475,16 @@ const xt = ["id"], $t = ["id"], _t = ["xmlns", "viewBox"], At = ["width", "heigh
470
475
  ]),
471
476
  key: "6"
472
477
  } : void 0
473
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : d("", !0),
478
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : d("", !0),
474
479
  (r(), v("svg", {
475
480
  ref_key: "svgRef",
476
- ref: de,
477
- xmlns: a(rt),
481
+ ref: ce,
482
+ xmlns: a(ut),
478
483
  viewBox: `0 0 ${n.value.width} ${n.value.height}`,
479
- class: me({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
484
+ class: be({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
480
485
  style: j(`overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
481
486
  }, [
482
- z(a(Ie)),
487
+ z(a(Se)),
483
488
  o.$slots["chart-background"] ? (r(), v("foreignObject", {
484
489
  key: 0,
485
490
  x: 0,
@@ -491,7 +496,7 @@ const xt = ["id"], $t = ["id"], _t = ["xmlns", "viewBox"], At = ["width", "heigh
491
496
  }
492
497
  }, [
493
498
  f(o.$slots, "chart-background", {}, void 0, !0)
494
- ], 8, At)) : d("", !0),
499
+ ], 8, Mt)) : d("", !0),
495
500
  s("defs", null, [
496
501
  s("radialGradient", {
497
502
  cx: "50%",
@@ -503,30 +508,30 @@ const xt = ["id"], $t = ["id"], _t = ["xmlns", "viewBox"], At = ["width", "heigh
503
508
  }, [
504
509
  s("stop", {
505
510
  offset: "0%",
506
- "stop-color": a($)(e.value.style.chart.layout.dataPolygon.color, e.value.style.chart.layout.dataPolygon.opacity)
511
+ "stop-color": a(x)(e.value.style.chart.layout.dataPolygon.color, e.value.style.chart.layout.dataPolygon.opacity)
507
512
  }, null, 8, Pt),
508
513
  s("stop", {
509
514
  offset: "100%",
510
- "stop-color": a($)(a(ut)(e.value.style.chart.layout.dataPolygon.color, e.value.style.chart.layout.dataPolygon.gradient.intensity / 100), e.value.style.chart.layout.dataPolygon.opacity)
511
- }, null, 8, Tt)
512
- ], 8, Mt)
515
+ "stop-color": a(x)(a(it)(e.value.style.chart.layout.dataPolygon.color, e.value.style.chart.layout.dataPolygon.gradient.intensity / 100), e.value.style.chart.layout.dataPolygon.opacity)
516
+ }, null, 8, Nt)
517
+ ], 8, Tt)
513
518
  ]),
514
- (r(!0), v(be, null, Ce(Y.value.coordinates, (t) => (r(), v("line", {
519
+ (r(!0), v(we, null, xe(J.value.coordinates, (t) => (r(), v("line", {
515
520
  x1: n.value.width / 2,
516
521
  y1: n.value.height / 2,
517
522
  x2: t.x,
518
523
  y2: t.y,
519
524
  stroke: e.value.style.chart.layout.grid.stroke,
520
525
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth
521
- }, null, 8, Nt))), 256)),
526
+ }, null, 8, Ot))), 256)),
522
527
  s("path", {
523
- d: Y.value.path,
528
+ d: J.value.path,
524
529
  fill: "none",
525
530
  stroke: e.value.style.chart.layout.outerPolygon.stroke,
526
531
  "stroke-width": e.value.style.chart.layout.outerPolygon.strokeWidth,
527
532
  "stroke-linejoin": "round",
528
533
  "stroke-linecap": "round"
529
- }, null, 8, Ot),
534
+ }, null, 8, Lt),
530
535
  s("g", {
531
536
  transform: S("5")
532
537
  }, [
@@ -536,18 +541,18 @@ const xt = ["id"], $t = ["id"], _t = ["xmlns", "viewBox"], At = ["width", "heigh
536
541
  "stroke-width": "1",
537
542
  "stroke-linecap": "round",
538
543
  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"
539
- }, null, 8, It),
544
+ }, null, 8, Dt),
540
545
  s("circle", {
541
546
  class: "vue-ui-mood-radar-trap",
542
547
  cx: "128",
543
548
  cy: "25",
544
549
  r: "20",
545
- fill: p.value === "5" ? a($)(e.value.style.chart.layout.smileys.colors[5], 20) : "transparent",
550
+ fill: p.value === "5" ? a(x)(e.value.style.chart.layout.smileys.colors[5], 20) : "transparent",
546
551
  onMouseenter: l[0] || (l[0] = (t) => F("5")),
547
552
  onMouseleave: l[1] || (l[1] = (t) => B("5")),
548
553
  onClick: l[2] || (l[2] = (t) => N("5"))
549
- }, null, 40, Dt)
550
- ], 8, Lt),
554
+ }, null, 40, St)
555
+ ], 8, It),
551
556
  s("g", {
552
557
  transform: S("4")
553
558
  }, [
@@ -557,18 +562,18 @@ const xt = ["id"], $t = ["id"], _t = ["xmlns", "viewBox"], At = ["width", "heigh
557
562
  "stroke-width": "1",
558
563
  "stroke-linecap": "round",
559
564
  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"
560
- }, null, 8, Ft),
565
+ }, null, 8, Bt),
561
566
  s("circle", {
562
567
  class: "vue-ui-mood-radar-trap",
563
568
  cx: "227",
564
569
  cy: "95.5",
565
570
  r: "20",
566
- fill: p.value === "4" ? a($)(e.value.style.chart.layout.smileys.colors[4], 20) : "transparent",
571
+ fill: p.value === "4" ? a(x)(e.value.style.chart.layout.smileys.colors[4], 20) : "transparent",
567
572
  onMouseenter: l[3] || (l[3] = (t) => F("4")),
568
573
  onMouseleave: l[4] || (l[4] = (t) => B("4")),
569
574
  onClick: l[5] || (l[5] = (t) => N("4"))
570
- }, null, 40, Bt)
571
- ], 8, St),
575
+ }, null, 40, Rt)
576
+ ], 8, Ft),
572
577
  s("g", {
573
578
  transform: S("3")
574
579
  }, [
@@ -578,17 +583,17 @@ const xt = ["id"], $t = ["id"], _t = ["xmlns", "viewBox"], At = ["width", "heigh
578
583
  "stroke-width": "1",
579
584
  "stroke-linecap": "round",
580
585
  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"
581
- }, null, 8, Rt),
586
+ }, null, 8, Vt),
582
587
  s("circle", {
583
588
  class: "vue-ui-mood-radar-trap",
584
589
  cx: "190",
585
590
  cy: "213.5",
586
591
  r: "20",
587
- fill: p.value === "3" ? a($)(e.value.style.chart.layout.smileys.colors[3], 20) : "transparent",
592
+ fill: p.value === "3" ? a(x)(e.value.style.chart.layout.smileys.colors[3], 20) : "transparent",
588
593
  onMouseenter: l[6] || (l[6] = (t) => F("3")),
589
594
  onMouseleave: l[7] || (l[7] = (t) => B("3")),
590
595
  onClick: l[8] || (l[8] = (t) => N("3"))
591
- }, null, 40, Vt)
596
+ }, null, 40, Ut)
592
597
  ], 8, Et),
593
598
  s("g", {
594
599
  transform: S("2")
@@ -599,18 +604,18 @@ const xt = ["id"], $t = ["id"], _t = ["xmlns", "viewBox"], At = ["width", "heigh
599
604
  "stroke-width": "1",
600
605
  "stroke-linecap": "round",
601
606
  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"
602
- }, null, 8, jt),
607
+ }, null, 8, zt),
603
608
  s("circle", {
604
609
  class: "vue-ui-mood-radar-trap",
605
610
  cx: "65",
606
611
  cy: "213.5",
607
612
  r: "20",
608
- fill: p.value === "2" ? a($)(e.value.style.chart.layout.smileys.colors[2], 20) : "transparent",
613
+ fill: p.value === "2" ? a(x)(e.value.style.chart.layout.smileys.colors[2], 20) : "transparent",
609
614
  onMouseenter: l[9] || (l[9] = (t) => F("2")),
610
615
  onMouseleave: l[10] || (l[10] = (t) => B("2")),
611
616
  onClick: l[11] || (l[11] = (t) => N("2"))
612
- }, null, 40, zt)
613
- ], 8, Ut),
617
+ }, null, 40, Wt)
618
+ ], 8, jt),
614
619
  s("g", {
615
620
  transform: S("1")
616
621
  }, [
@@ -620,27 +625,27 @@ const xt = ["id"], $t = ["id"], _t = ["xmlns", "viewBox"], At = ["width", "heigh
620
625
  "stroke-width": "1",
621
626
  "stroke-linecap": "round",
622
627
  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"
623
- }, null, 8, Gt),
628
+ }, null, 8, Ht),
624
629
  s("circle", {
625
630
  class: "vue-ui-mood-radar-trap",
626
631
  cx: "29",
627
632
  cy: "95.5",
628
633
  r: "20",
629
- fill: p.value === "1" ? a($)(e.value.style.chart.layout.smileys.colors[1], 20) : "transparent",
634
+ fill: p.value === "1" ? a(x)(e.value.style.chart.layout.smileys.colors[1], 20) : "transparent",
630
635
  onMouseenter: l[12] || (l[12] = (t) => F("1")),
631
636
  onMouseleave: l[13] || (l[13] = (t) => B("1")),
632
637
  onClick: l[14] || (l[14] = (t) => N("1"))
633
- }, null, 40, Ht)
634
- ], 8, Wt),
638
+ }, null, 40, Xt)
639
+ ], 8, Gt),
635
640
  s("path", {
636
- d: a(it)(J.value.map((t) => t.plots)),
641
+ d: a(dt)(Q.value.map((t) => t.plots)),
637
642
  stroke: e.value.style.chart.layout.dataPolygon.stroke,
638
643
  "stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth,
639
644
  "stroke-linecap": "round",
640
645
  "stroke-linejoin": "round",
641
- fill: e.value.style.chart.layout.dataPolygon.gradient.show ? `url(#mood_radar_gradient_${k.value})` : a($)(e.value.style.chart.layout.dataPolygon.color, e.value.style.chart.layout.dataPolygon.opacity)
642
- }, null, 8, Xt),
643
- (r(!0), v(be, null, Ce(J.value.map((t) => t.plots), (t, i) => (r(), v("g", {
646
+ fill: e.value.style.chart.layout.dataPolygon.gradient.show ? `url(#mood_radar_gradient_${k.value})` : a(x)(e.value.style.chart.layout.dataPolygon.color, e.value.style.chart.layout.dataPolygon.opacity)
647
+ }, null, 8, Kt),
648
+ (r(!0), v(we, null, xe(Q.value.map((t) => t.plots), (t, i) => (r(), v("g", {
644
649
  class: "vue-ui-mood-radar-trap",
645
650
  style: j(`opacity:${p.value == t.key ? "1" : "0"}`)
646
651
  }, [
@@ -650,7 +655,7 @@ const xt = ["id"], $t = ["id"], _t = ["xmlns", "viewBox"], At = ["width", "heigh
650
655
  x2: n.value.width / 2,
651
656
  y2: n.value.height / 2,
652
657
  stroke: e.value.style.chart.layout.smileys.colors[t.key]
653
- }, null, 8, Kt),
658
+ }, null, 8, qt),
654
659
  s("circle", {
655
660
  cx: t.x,
656
661
  cy: t.y,
@@ -658,7 +663,7 @@ const xt = ["id"], $t = ["id"], _t = ["xmlns", "viewBox"], At = ["width", "heigh
658
663
  r: "3",
659
664
  stroke: e.value.style.chart.backgroundColor,
660
665
  "stroke-width": 0.5
661
- }, null, 8, qt),
666
+ }, null, 8, Yt),
662
667
  s("circle", {
663
668
  cx: n.value.width / 2,
664
669
  cy: n.value.height / 2,
@@ -666,7 +671,7 @@ const xt = ["id"], $t = ["id"], _t = ["xmlns", "viewBox"], At = ["width", "heigh
666
671
  r: "3",
667
672
  stroke: e.value.style.chart.backgroundColor,
668
673
  "stroke-width": 0.5
669
- }, null, 8, Yt),
674
+ }, null, 8, Jt),
670
675
  s("text", {
671
676
  x: n.value.width / 2,
672
677
  y: ["5", 5].includes(t.key) ? n.value.height / 2 * 1.13 : n.value.height / 2 * 0.9375,
@@ -674,7 +679,7 @@ const xt = ["id"], $t = ["id"], _t = ["xmlns", "viewBox"], At = ["width", "heigh
674
679
  "font-size": "12",
675
680
  "text-anchor": "middle",
676
681
  "font-weight": e.value.style.chart.layout.dataLabel.bold ? "bold" : "normal"
677
- }, L(a(_e)(
682
+ }, L(a(Me)(
678
683
  e.value.style.chart.layout.dataLabel.formatter,
679
684
  t.value,
680
685
  a(H)({
@@ -684,7 +689,7 @@ const xt = ["id"], $t = ["id"], _t = ["xmlns", "viewBox"], At = ["width", "heigh
684
689
  r: e.value.style.chart.layout.dataLabel.roundingValue
685
690
  }),
686
691
  { datapoint: t, seriesIndex: i }
687
- )), 9, Jt),
692
+ )), 9, Qt),
688
693
  s("text", {
689
694
  x: n.value.width / 2,
690
695
  y: ["5", 5].includes(t.key) ? n.value.height / 2 * 1.273 : n.value.height / 2 * 0.7968,
@@ -695,66 +700,66 @@ const xt = ["id"], $t = ["id"], _t = ["xmlns", "viewBox"], At = ["width", "heigh
695
700
  v: t.value / M.value * 100,
696
701
  s: "%",
697
702
  r: e.value.style.chart.layout.dataLabel.roundingPercentage
698
- })) + ") ", 9, Qt)
703
+ })) + ") ", 9, Zt)
699
704
  ], 4))), 256)),
700
705
  f(o.$slots, "svg", { svg: n.value }, void 0, !0)
701
- ], 14, _t)),
702
- o.$slots.watermark ? (r(), v("div", Zt, [
703
- f(o.$slots, "watermark", W(G({ isPrinting: a(ce) || a(ve) })), void 0, !0)
706
+ ], 14, At)),
707
+ o.$slots.watermark ? (r(), v("div", eo, [
708
+ f(o.$slots, "watermark", W(G({ isPrinting: a(ve) || a(ye) })), void 0, !0)
704
709
  ])) : d("", !0),
705
710
  s("div", {
706
711
  id: `legend-bottom-${k.value}`
707
- }, null, 8, eo),
708
- se.value ? (r(), m(Qe, {
712
+ }, null, 8, to),
713
+ ne.value ? (r(), m(Ze, {
709
714
  key: 5,
710
715
  to: e.value.style.chart.legend.position === "top" ? `#legend-top-${k.value}` : `#legend-bottom-${k.value}`
711
716
  }, [
712
717
  s("div", {
713
718
  ref_key: "chartLegend",
714
- ref: le
719
+ ref: ae
715
720
  }, [
716
- e.value.style.chart.legend.show ? (r(), m(Ct, {
721
+ e.value.style.chart.legend.show ? (r(), m(wt, {
717
722
  legendSet: h.value,
718
- config: Ge.value,
719
- key: `legend_${te.value}`,
723
+ config: He.value,
724
+ key: `legend_${oe.value}`,
720
725
  style: { display: "flex", "row-gap": "6px" }
721
726
  }, {
722
727
  item: y(({ legend: t, index: i }) => [
723
728
  s("div", {
724
- onClick: () => He(t.key),
729
+ onClick: () => Xe(t.key),
725
730
  style: { display: "flex", "flex-direction": "row", gap: "3px", "align-items": "center", margin: "3px 0" }
726
731
  }, [
727
- t.key == 1 ? (r(), m(a(T), {
732
+ t.key == 1 ? (r(), m(a(P), {
728
733
  key: 0,
729
734
  strokeWidth: 1,
730
735
  name: "moodSad",
731
736
  stroke: e.value.style.chart.layout.smileys.colors[t.key]
732
737
  }, null, 8, ["stroke"])) : d("", !0),
733
- t.key == 2 ? (r(), m(a(T), {
738
+ t.key == 2 ? (r(), m(a(P), {
734
739
  key: 1,
735
740
  strokeWidth: 1,
736
741
  name: "moodFlat",
737
742
  stroke: e.value.style.chart.layout.smileys.colors[t.key]
738
743
  }, null, 8, ["stroke"])) : d("", !0),
739
- t.key == 3 ? (r(), m(a(T), {
744
+ t.key == 3 ? (r(), m(a(P), {
740
745
  key: 2,
741
746
  strokeWidth: 1,
742
747
  name: "moodNeutral",
743
748
  stroke: e.value.style.chart.layout.smileys.colors[t.key]
744
749
  }, null, 8, ["stroke"])) : d("", !0),
745
- t.key == 4 ? (r(), m(a(T), {
750
+ t.key == 4 ? (r(), m(a(P), {
746
751
  key: 3,
747
752
  strokeWidth: 1,
748
753
  name: "smiley",
749
754
  stroke: e.value.style.chart.layout.smileys.colors[t.key]
750
755
  }, null, 8, ["stroke"])) : d("", !0),
751
- t.key == 5 ? (r(), m(a(T), {
756
+ t.key == 5 ? (r(), m(a(P), {
752
757
  key: 4,
753
758
  strokeWidth: 1,
754
759
  name: "moodHappy",
755
760
  stroke: e.value.style.chart.layout.smileys.colors[t.key]
756
761
  }, null, 8, ["stroke"])) : d("", !0),
757
- a(X) ? d("", !0) : (r(), v("span", oo, L(a(_e)(
762
+ a(K) ? d("", !0) : (r(), v("span", lo, L(a(Me)(
758
763
  e.value.style.chart.layout.dataLabel.formatter,
759
764
  t.value,
760
765
  a(H)({
@@ -765,12 +770,12 @@ const xt = ["id"], $t = ["id"], _t = ["xmlns", "viewBox"], At = ["width", "heigh
765
770
  }),
766
771
  { datapoint: t, seriesIndex: i }
767
772
  )), 1)),
768
- a(X) ? d("", !0) : (r(), v("span", lo, "(" + L(a(H)({
773
+ a(K) ? d("", !0) : (r(), v("span", ao, "(" + L(a(H)({
769
774
  v: t.proportion * 100,
770
775
  s: "%",
771
776
  r: e.value.style.chart.legend.roundingPercentage
772
777
  })) + ")", 1))
773
- ], 8, to)
778
+ ], 8, oo)
774
779
  ]),
775
780
  _: 1
776
781
  }, 8, ["legendSet", "config"])) : d("", !0),
@@ -780,34 +785,34 @@ const xt = ["id"], $t = ["id"], _t = ["xmlns", "viewBox"], At = ["width", "heigh
780
785
  o.$slots.source ? (r(), v("div", {
781
786
  key: 6,
782
787
  ref_key: "source",
783
- ref: ae,
788
+ ref: se,
784
789
  dir: "auto"
785
790
  }, [
786
791
  f(o.$slots, "source", {}, void 0, !0)
787
792
  ], 512)) : d("", !0),
788
- ne.value ? (r(), m(Ze(E.value.component), et({ key: 7 }, E.value.props, {
793
+ re.value ? (r(), m(et(R.value.component), tt({ key: 7 }, R.value.props, {
789
794
  ref_key: "tableUnit",
790
795
  ref: D,
791
- onClose: l[17] || (l[17] = (t) => w.value.showTable = !1)
792
- }), ke({
796
+ onClose: me
797
+ }), Ce({
793
798
  content: y(() => [
794
- z(a(Ne), {
799
+ z(a(Le), {
795
800
  colNames: V.value.colNames,
796
801
  head: V.value.head,
797
802
  body: V.value.body,
798
803
  config: V.value.config,
799
- title: e.value.table.useDialog ? "" : E.value.title,
804
+ title: e.value.table.useDialog ? "" : R.value.title,
800
805
  withCloseButton: !e.value.table.useDialog,
801
- onClose: l[16] || (l[16] = (t) => w.value.showTable = !1)
806
+ onClose: me
802
807
  }, {
803
808
  th: y(({ th: t }) => [
804
809
  s("div", {
805
810
  innerHTML: t,
806
811
  style: { display: "flex", "align-items": "center" }
807
- }, null, 8, ao)
812
+ }, null, 8, so)
808
813
  ]),
809
814
  td: y(({ td: t }) => [
810
- we(L(t.name || t), 1)
815
+ $e(L(t.name || t), 1)
811
816
  ]),
812
817
  _: 1
813
818
  }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"])
@@ -817,7 +822,7 @@ const xt = ["id"], $t = ["id"], _t = ["xmlns", "viewBox"], At = ["width", "heigh
817
822
  e.value.table.useDialog ? {
818
823
  name: "title",
819
824
  fn: y(() => [
820
- we(L(E.value.title), 1)
825
+ $e(L(R.value.title), 1)
821
826
  ]),
822
827
  key: "0"
823
828
  } : void 0,
@@ -827,21 +832,21 @@ const xt = ["id"], $t = ["id"], _t = ["xmlns", "viewBox"], At = ["width", "heigh
827
832
  s("button", {
828
833
  tabindex: "0",
829
834
  class: "vue-ui-user-options-button",
830
- onClick: l[15] || (l[15] = (t) => Q(e.value.userOptions.callbacks.csv))
835
+ onClick: l[15] || (l[15] = (t) => Z(e.value.userOptions.callbacks.csv))
831
836
  }, [
832
- z(a(T), {
837
+ z(a(P), {
833
838
  name: "excel",
834
- stroke: E.value.props.color
839
+ stroke: R.value.props.color
835
840
  }, null, 8, ["stroke"])
836
841
  ])
837
842
  ]),
838
843
  key: "1"
839
844
  } : void 0
840
845
  ]), 1040)) : d("", !0),
841
- a(X) ? (r(), m(ft, { key: 8 })) : d("", !0)
842
- ], 46, xt));
846
+ a(K) ? (r(), m(pt, { key: 8 })) : d("", !0)
847
+ ], 46, $t));
843
848
  }
844
- }, ko = /* @__PURE__ */ wt(so, [["__scopeId", "data-v-5ae0d1e0"]]);
849
+ }, bo = /* @__PURE__ */ xt(no, [["__scopeId", "data-v-ffacf64d"]]);
845
850
  export {
846
- ko as default
851
+ bo as default
847
852
  };