vue-data-ui 2.12.5 → 2.12.7-beta.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 (112) hide show
  1. package/README.md +56 -1
  2. package/dist/{Arrow-CD7YT-M0.js → Arrow-CmqjRRUl.js} +1 -1
  3. package/dist/BaseDraggableDialog-BMlyvt7E.js +180 -0
  4. package/dist/{BaseIcon-CgSWwnK7.js → BaseIcon-CZdMutjs.js} +1 -1
  5. package/dist/{ColorPicker-w8R8Tqdv.js → ColorPicker-DvVKgyAl.js} +23 -24
  6. package/dist/{DataTable-CicthvOV.js → DataTable-Cv9CIz-a.js} +11 -11
  7. package/dist/{Legend-0UY0Mmli.js → Legend-DFunFf8i.js} +8 -8
  8. package/dist/NonSvgPenAndPaper-pVuHj6_A.js +467 -0
  9. package/dist/PackageVersion-CLY-udAA.js +10 -0
  10. package/dist/{PenAndPaper-DLsvRwoD.js → PenAndPaper-B9na2mbr.js} +8 -10
  11. package/dist/RecursiveCircles-Dn3TGoL6.js +96 -0
  12. package/dist/RecursiveLabels-NTMB9w5C.js +49 -0
  13. package/dist/RecursiveLinks-ld_gDZH4.js +64 -0
  14. package/dist/{Shape-DICeBEtN.js → Shape-D3w9qas1.js} +2 -2
  15. package/dist/{Slicer-D1nsbsWE.js → Slicer-ncY8krrM.js} +2 -2
  16. package/dist/SparkTooltip-CwThutH2.js +68 -0
  17. package/dist/{Title-xO1jFsSw.js → Title-B5qqUI3M.js} +2 -2
  18. package/dist/Tooltip-C9rxJ-Ru.js +149 -0
  19. package/dist/{usePrinter-CcgJXHIK.js → UserOptions-Ddy6CuLC.js} +172 -231
  20. package/dist/{dom-to-png-CS4NRYd_.js → dom-to-png-DDlooC9r.js} +1 -1
  21. package/dist/{img-CsXjm5I4.js → img-m9g7lR5d.js} +1 -1
  22. package/dist/{index-vjCxtaM0.js → index-BiHmNd1-.js} +153 -118
  23. package/dist/{pdf-DHexTTpK.js → pdf-BqM953uL.js} +1 -1
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +96 -2
  26. package/dist/types/vue-data-ui.d.ts +96 -2
  27. package/dist/useChartAccessibility-9icAAmYg.js +12 -0
  28. package/dist/useMouse-AicQS8Vf.js +13 -0
  29. package/dist/{useNestedProp-Du1hnYFA.js → useNestedProp-tRqS0ZAM.js} +1 -1
  30. package/dist/{usePanZoom-CUkkqW81.js → usePanZoom-BQMvRXEQ.js} +16 -17
  31. package/dist/usePrinter-CRCbl1WG.js +53 -0
  32. package/dist/vClickOutside-C6WiFswA.js +13 -0
  33. package/dist/{vue-data-ui-BOrA3Tc9.js → vue-data-ui-D9uTDt73.js} +63 -63
  34. package/dist/vue-data-ui.js +42 -40
  35. package/dist/{vue-ui-3d-bar-Z8yAd4bw.js → vue-ui-3d-bar-rtuSc8FS.js} +397 -402
  36. package/dist/{vue-ui-accordion-CAN430Oy.js → vue-ui-accordion-CmCs2yR2.js} +3 -3
  37. package/dist/{vue-ui-age-pyramid-C6PZU9Ez.js → vue-ui-age-pyramid-BrzMSiyu.js} +215 -218
  38. package/dist/{vue-ui-annotator-CqoDLx3t.js → vue-ui-annotator-CYxmTpf6.js} +2 -2
  39. package/dist/{vue-ui-bullet-DZC3aY3d.js → vue-ui-bullet-D25qNQfb.js} +137 -140
  40. package/dist/{vue-ui-candlestick-B5mq_lgW.js → vue-ui-candlestick-BuerNa-r.js} +265 -271
  41. package/dist/{vue-ui-carousel-table-CBwerU49.js → vue-ui-carousel-table-aN0HLsOO.js} +137 -137
  42. package/dist/{vue-ui-chestnut-COyOAY28.js → vue-ui-chestnut-oUj2ocsZ.js} +397 -400
  43. package/dist/{vue-ui-chord-Cw0F_jHM.js → vue-ui-chord-C4evlXYB.js} +356 -365
  44. package/dist/vue-ui-circle-pack-CWrNiKTY.js +656 -0
  45. package/dist/{vue-ui-cursor-CWXqmlVy.js → vue-ui-cursor-DgpSttlt.js} +2 -2
  46. package/dist/{vue-ui-dashboard-Ba2tF4md.js → vue-ui-dashboard-BN2ha1Eh.js} +62 -62
  47. package/dist/{vue-ui-digits-BV7yyUdY.js → vue-ui-digits-BhjAxXgm.js} +2 -2
  48. package/dist/vue-ui-donut-D3_z61HI.js +1291 -0
  49. package/dist/vue-ui-donut-evolution-oKtmZPx4.js +864 -0
  50. package/dist/{vue-ui-dumbbell-SDCcLJIc.js → vue-ui-dumbbell-C8Lokx-F.js} +265 -270
  51. package/dist/{vue-ui-flow-CrqGSDNK.js → vue-ui-flow-BVRkH0PS.js} +291 -300
  52. package/dist/{vue-ui-funnel-CcDOoxp8.js → vue-ui-funnel-DFxcmAB5.js} +216 -219
  53. package/dist/{vue-ui-galaxy-jlDp0DRJ.js → vue-ui-galaxy-CGE0hlBC.js} +227 -235
  54. package/dist/{vue-ui-gauge-8t8rWb1C.js → vue-ui-gauge-B48eMvOR.js} +240 -243
  55. package/dist/{vue-ui-gizmo-CFwdrMYP.js → vue-ui-gizmo-zTKNpjvv.js} +57 -58
  56. package/dist/{vue-ui-heatmap-BT-mIeZp.js → vue-ui-heatmap-UNfTt8SM.js} +239 -242
  57. package/dist/{vue-ui-history-plot-crLloc7J.js → vue-ui-history-plot-CbCWmvtg.js} +257 -262
  58. package/dist/{vue-ui-kpi-96v4ZIYo.js → vue-ui-kpi-Drf_lrlh.js} +29 -30
  59. package/dist/{vue-ui-mini-loader-rBHBxNIT.js → vue-ui-mini-loader-DU3G6BVs.js} +2 -2
  60. package/dist/vue-ui-molecule-B5MOXYEA.js +580 -0
  61. package/dist/{vue-ui-mood-radar-DrVSXIY4.js → vue-ui-mood-radar-CC_CVLvn.js} +180 -186
  62. package/dist/{vue-ui-nested-donuts-C9Ah9lgv.js → vue-ui-nested-donuts-D_H962kk.js} +366 -374
  63. package/dist/{vue-ui-onion-DwNPyn4X.js → vue-ui-onion-P8k6T724.js} +252 -258
  64. package/dist/{vue-ui-parallel-coordinate-plot-tSuK6xWu.js → vue-ui-parallel-coordinate-plot-B5Los0vX.js} +296 -303
  65. package/dist/{vue-ui-quadrant-C0Kaoo7K.js → vue-ui-quadrant-B3wzCTxK.js} +402 -409
  66. package/dist/{vue-ui-quick-chart-xMh_Ygct.js → vue-ui-quick-chart-oucj6hXk.js} +611 -616
  67. package/dist/{vue-ui-radar-C1jSDQt_.js → vue-ui-radar-Cjqlyu6d.js} +270 -277
  68. package/dist/{vue-ui-rating-6Kb7hsKF.js → vue-ui-rating-gryk_h_6.js} +2 -2
  69. package/dist/vue-ui-relation-circle-ielvWC-1.js +525 -0
  70. package/dist/{vue-ui-ridgeline-BBvPVQjC.js → vue-ui-ridgeline-Dydqo68b.js} +321 -326
  71. package/dist/{vue-ui-rings-B92cXv7f.js → vue-ui-rings-BRBXektJ.js} +262 -269
  72. package/dist/{vue-ui-scatter-Bt1aty87.js → vue-ui-scatter-Df-BM7Ts.js} +372 -379
  73. package/dist/{vue-ui-skeleton-DfOIDTJM.js → vue-ui-skeleton-CbYQYRvD.js} +19 -19
  74. package/dist/{vue-ui-smiley-sVgBnkbx.js → vue-ui-smiley-BfHaQMaW.js} +2 -2
  75. package/dist/{vue-ui-spark-trend-D6uzJ4Qd.js → vue-ui-spark-trend-z3fUChs_.js} +114 -117
  76. package/dist/{vue-ui-sparkbar-D4c2EE7J.js → vue-ui-sparkbar-ChtFIugH.js} +104 -106
  77. package/dist/{vue-ui-sparkgauge-DaQ6iz98.js → vue-ui-sparkgauge-DtpODCww.js} +72 -74
  78. package/dist/{vue-ui-sparkhistogram-D_YnmM2T.js → vue-ui-sparkhistogram-C3XnYiXI.js} +83 -86
  79. package/dist/vue-ui-sparkline-CoL8jiX8.js +459 -0
  80. package/dist/{vue-ui-sparkstackbar-DecnmqgJ.js → vue-ui-sparkstackbar-CYk3mZJH.js} +102 -105
  81. package/dist/{vue-ui-stackbar-D1eNs1j_.js → vue-ui-stackbar-D9LGbuG5.js} +433 -437
  82. package/dist/{vue-ui-strip-plot-iPZ8Hhmr.js → vue-ui-strip-plot-C5r1Ee2R.js} +245 -252
  83. package/dist/{vue-ui-table-BFjE28sw.js → vue-ui-table-DBaT_TfA.js} +3 -3
  84. package/dist/{vue-ui-table-heatmap-DipFDu39.js → vue-ui-table-heatmap-CYW4YfKN.js} +93 -94
  85. package/dist/{vue-ui-table-sparkline-CGAecOZh.js → vue-ui-table-sparkline-Di0MYR4p.js} +212 -212
  86. package/dist/{vue-ui-thermometer-Cx_yr-hs.js → vue-ui-thermometer-BF1btHY2.js} +154 -157
  87. package/dist/{vue-ui-timer-ClVmS8MH.js → vue-ui-timer-D9FfRWN5.js} +180 -181
  88. package/dist/vue-ui-tiremarks-CQ0lk8fJ.js +341 -0
  89. package/dist/vue-ui-treemap-1Lx7YRtc.js +947 -0
  90. package/dist/{vue-ui-vertical-bar-BHYCnFEN.js → vue-ui-vertical-bar-DdVVQ1ED.js} +397 -403
  91. package/dist/{vue-ui-waffle-DEPUbrOt.js → vue-ui-waffle-BhnuPiRD.js} +317 -324
  92. package/dist/vue-ui-wheel-BIjJ0fg8.js +335 -0
  93. package/dist/vue-ui-word-cloud-3-r8HwO_.js +642 -0
  94. package/dist/{vue-ui-world-DStJ5i0i.js → vue-ui-world-CPIGEswq.js} +430 -442
  95. package/dist/{vue-ui-xy-CEop49z6.js → vue-ui-xy-9e_epIN4.js} +845 -846
  96. package/dist/vue-ui-xy-canvas-DcGgQ7s4.js +1206 -0
  97. package/package.json +6 -6
  98. package/dist/BaseDraggableDialog-BjFEob7i.js +0 -186
  99. package/dist/PackageVersion-Cw2caN1c.js +0 -10
  100. package/dist/Tooltip-LKe8L-Mg.js +0 -158
  101. package/dist/useChartAccessibility-BWojgys7.js +0 -13
  102. package/dist/vue-ui-circle-pack-BtpaZLYs.js +0 -659
  103. package/dist/vue-ui-donut-CRdQFQgA.js +0 -1292
  104. package/dist/vue-ui-donut-evolution-De3-5OgR.js +0 -871
  105. package/dist/vue-ui-molecule-DSr_bHGG.js +0 -782
  106. package/dist/vue-ui-relation-circle-fh0Hl9m0.js +0 -528
  107. package/dist/vue-ui-sparkline-C2HuTMDz.js +0 -519
  108. package/dist/vue-ui-tiremarks-4Sa3RCSv.js +0 -344
  109. package/dist/vue-ui-treemap-CD5pPg7v.js +0 -956
  110. package/dist/vue-ui-wheel-qU0bgJsi.js +0 -338
  111. package/dist/vue-ui-word-cloud-z2ZguOdy.js +0 -648
  112. package/dist/vue-ui-xy-canvas-DV0BVdZb.js +0 -1673
@@ -1,29 +1,23 @@
1
- import { computed as c, onMounted as we, ref as y, watch as _e, createElementBlock as h, openBlock as r, unref as a, normalizeStyle as L, normalizeClass as ee, createBlock as p, createCommentVNode as u, renderSlot as v, createVNode as U, createSlots as xe, withCtx as f, normalizeProps as I, guardReactiveProps as F, createElementVNode as s, Fragment as te, renderList as oe, toDisplayString as P, createTextVNode as le, nextTick as $e } from "vue";
2
- import { u as Me, o as Ne, e as ae, c as Pe, a as Ae, Q as Oe, X as Te, s as C, w as Le, R as Ie, i as se, f as S, q as Fe, r as Se } from "./index-vjCxtaM0.js";
3
- import { _ as Ve } from "./Title-xO1jFsSw.js";
4
- import { u as je, U as Re } from "./usePrinter-CcgJXHIK.js";
5
- import { L as Ue } from "./Legend-0UY0Mmli.js";
6
- import A from "./BaseIcon-CgSWwnK7.js";
7
- import { D as Be } from "./DataTable-CicthvOV.js";
8
- import De from "./vue-ui-skeleton-DfOIDTJM.js";
9
- import We from "./vue-ui-accordion-CAN430Oy.js";
10
- import { u as re } from "./useNestedProp-Du1hnYFA.js";
11
- import { _ as ze } from "./PackageVersion-Cw2caN1c.js";
12
- import { _ as Ee } from "./PenAndPaper-DLsvRwoD.js";
13
- import { u as Ge } from "./useUserOptionState-BIvW1Kz7.js";
14
- import { u as He } from "./useChartAccessibility-BWojgys7.js";
15
- import { _ as Xe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
- const Ke = ["id"], qe = {
1
+ import { defineAsyncComponent as x, 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 u, 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, Q as je, X as Re, s as C, w as Be, R as Ue, i as re, f as V, q as We, r as ze } from "./index-BiHmNd1-.js";
3
+ import { u as ne } from "./useNestedProp-tRqS0ZAM.js";
4
+ import { u as De } from "./usePrinter-CRCbl1WG.js";
5
+ import { u as Ee } from "./useUserOptionState-BIvW1Kz7.js";
6
+ import { u as Ge } from "./useChartAccessibility-9icAAmYg.js";
7
+ import He from "./Legend-DFunFf8i.js";
8
+ import Xe from "./Title-B5qqUI3M.js";
9
+ import { _ as Ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
+ const qe = ["id"], Qe = {
17
11
  key: 2,
18
12
  style: "width:100%;background:transparent"
19
- }, Qe = ["xmlns", "viewBox"], Ye = ["width", "height"], Je = ["id"], Ze = ["stop-color"], et = ["stop-color"], tt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ot = ["d", "stroke", "stroke-width"], lt = ["stroke"], at = ["fill"], st = ["stroke"], rt = ["fill"], nt = ["stroke"], ut = ["fill"], it = ["stroke"], dt = ["fill"], ct = ["stroke"], vt = ["fill"], yt = ["d", "stroke", "stroke-width", "fill"], ht = ["x1", "y1", "stroke"], ft = ["cx", "cy", "fill", "stroke"], mt = ["fill", "stroke"], pt = ["y", "fill", "font-weight"], gt = ["y", "fill"], kt = {
13
+ }, Ye = ["xmlns", "viewBox"], Je = ["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 = {
20
14
  key: 5,
21
15
  class: "vue-data-ui-watermark"
22
- }, bt = ["onClick"], Ct = { style: { "font-weight": "bold" } }, wt = {
16
+ }, Ct = ["onClick"], wt = { style: { "font-weight": "bold" } }, xt = {
23
17
  key: 8,
24
18
  ref: "source",
25
19
  dir: "auto"
26
- }, _t = ["innerHTML"], xt = {
20
+ }, _t = ["innerHTML"], $t = {
27
21
  __name: "vue-ui-mood-radar",
28
22
  props: {
29
23
  config: {
@@ -39,60 +33,60 @@ const Ke = ["id"], qe = {
39
33
  }
40
34
  }
41
35
  },
42
- setup(ne, { expose: ue }) {
43
- const { vue_ui_mood_radar: ie } = Me(), d = ne, _ = c(() => !!d.dataset && Object.keys(d.dataset).length);
44
- we(() => {
45
- B();
36
+ setup(ue, { expose: ie }) {
37
+ const de = x(() => import("./vue-ui-accordion-CmCs2yR2.js")), _ = x(() => import("./BaseIcon-CZdMutjs.js")), ce = x(() => import("./DataTable-Cv9CIz-a.js")), ve = x(() => import("./PackageVersion-CLY-udAA.js")), ye = x(() => import("./PenAndPaper-B9na2mbr.js")), he = x(() => import("./vue-ui-skeleton-CbYQYRvD.js")), fe = x(() => import("./UserOptions-Ddy6CuLC.js")), { vue_ui_mood_radar: pe } = Ie(), d = ue, $ = c(() => !!d.dataset && Object.keys(d.dataset).length);
38
+ Ae(() => {
39
+ W();
46
40
  });
47
- function B() {
48
- Ne(d.dataset) && ae({
41
+ function W() {
42
+ Fe(d.dataset) && se({
49
43
  componentName: "VueUiMoodRadar",
50
44
  type: "dataset"
51
45
  });
52
46
  }
53
- const x = y(Pe()), D = y(null), de = y(null), n = y(null), ce = y(null), ve = y(0), ye = y(0), W = y(0), e = c({
54
- get: () => H(),
47
+ const M = 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
+ get: () => X(),
55
49
  set: (o) => o
56
- }), { userOptionsVisible: V, setUserOptionsVisibility: z, keepUserOptionState: E } = Ge({ config: e.value }), { svgRef: G } = He({ config: e.value.style.chart.title });
57
- function H() {
58
- const o = re({
50
+ }), { userOptionsVisible: j, setUserOptionsVisibility: E, keepUserOptionState: G } = Ee({ config: e.value }), { svgRef: H } = Ge({ config: e.value.style.chart.title });
51
+ function X() {
52
+ const o = ne({
59
53
  userConfig: d.config,
60
- defaultConfig: ie
54
+ defaultConfig: pe
61
55
  });
62
56
  return o.theme ? {
63
- ...re({
64
- userConfig: Ae.vue_ui_mood_radar[o.theme] || d.config,
57
+ ...ne({
58
+ userConfig: Ve.vue_ui_mood_radar[o.theme] || d.config,
65
59
  defaultConfig: o
66
60
  })
67
61
  } : o;
68
62
  }
69
- _e(() => d.config, (o) => {
70
- e.value = H(), V.value = !e.value.userOptions.showOnChartHover, B(), ve.value += 1, ye.value += 1, W.value += 1, $.value.showTable = e.value.table.show;
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, P.value.showTable = e.value.table.show;
71
65
  }, { deep: !0 });
72
- const { isPrinting: X, isImaging: K, generatePdf: q, generateImage: Q } = je({
73
- elementId: x.value,
66
+ const { isPrinting: K, isImaging: q, generatePdf: Q, generateImage: Y } = De({
67
+ elementId: M.value,
74
68
  fileName: e.value.style.chart.title.text || "vue-ui-mood-radar",
75
69
  options: e.value.userOptions.print
76
- }), he = c(() => e.value.userOptions.show && !e.value.style.chart.title.text), $ = y({
70
+ }), Ce = c(() => e.value.userOptions.show && !e.value.style.chart.title.text), P = y({
77
71
  showTable: e.value.table.show
78
- }), m = c(() => ({
72
+ }), p = c(() => ({
79
73
  height: 256,
80
74
  width: 256
81
- })), j = c(() => Oe({
82
- plot: { x: 128, y: m.value.height / 2 },
75
+ })), R = c(() => je({
76
+ plot: { x: 128, y: p.value.height / 2 },
83
77
  radius: 90,
84
78
  sides: 5,
85
79
  rotation: 11
86
80
  }));
87
- function fe({ centerX: o, centerY: l, apexX: t, apexY: i, proportion: k, key: N, value: Ce }) {
81
+ function we({ centerX: o, centerY: l, apexX: t, apexY: i, proportion: k, key: A, value: Ne }) {
88
82
  return {
89
83
  x: o + (t - o) * k,
90
84
  y: l + (i - l) * k,
91
- key: N,
92
- value: Ce
85
+ key: A,
86
+ value: Ne
93
87
  };
94
88
  }
95
- const me = 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) => {
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) => {
96
90
  const t = typeof d.dataset[o] != "number" || isNaN(d.dataset[o]) ? 0 : d.dataset[o];
97
91
  return {
98
92
  index: l,
@@ -101,19 +95,19 @@ const Ke = ["id"], qe = {
101
95
  proportion: t / w.value,
102
96
  color: e.value.style.chart.layout.smileys.colors[o]
103
97
  };
104
- }).sort((o, l) => l.key - o.key)), Y = c(() => _.value ? (["1", "2", "3", "4", "5"].forEach((o) => {
105
- [null, void 0].includes(d.dataset[o]) && ae({
98
+ }).sort((o, l) => l.key - o.key)), J = c(() => $.value ? (["1", "2", "3", "4", "5"].forEach((o) => {
99
+ [null, void 0].includes(d.dataset[o]) && se({
106
100
  componentName: "VueUiMoodRadar",
107
101
  type: "datasetAttribute",
108
102
  property: o
109
103
  });
110
- }), j.value.coordinates.map((o, l) => {
111
- const t = fe({
112
- centerX: m.value.width / 2,
113
- centerY: m.value.height / 2,
104
+ }), R.value.coordinates.map((o, l) => {
105
+ const t = we({
106
+ centerX: p.value.width / 2,
107
+ centerY: p.value.height / 2,
114
108
  apexX: o.x,
115
109
  apexY: o.y,
116
- proportion: g.value[l].value / me.value,
110
+ proportion: g.value[l].value / xe.value,
117
111
  key: g.value[l].key,
118
112
  value: g.value[l].value
119
113
  });
@@ -122,7 +116,7 @@ const Ke = ["id"], qe = {
122
116
  plots: t,
123
117
  key: g.value[l].key
124
118
  };
125
- })) : []), pe = c(() => ({
119
+ })) : []), _e = c(() => ({
126
120
  cy: "mood-radar-legend",
127
121
  backgroundColor: e.value.style.chart.legend.backgroundColor,
128
122
  color: e.value.style.chart.legend.color,
@@ -130,7 +124,7 @@ const Ke = ["id"], qe = {
130
124
  paddingBottom: 12,
131
125
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
132
126
  }));
133
- function ge(o) {
127
+ function $e(o) {
134
128
  o === n.value ? n.value = null : n.value = o;
135
129
  }
136
130
  const b = c(() => {
@@ -140,26 +134,26 @@ const Ke = ["id"], qe = {
140
134
  })), l = g.value.map((t) => isNaN(t.value) ? 0 : t.value);
141
135
  return { head: o, body: l };
142
136
  });
143
- function J() {
144
- $e(() => {
137
+ function Z() {
138
+ Le(() => {
145
139
  const o = b.value.head.map((i, k) => [[
146
140
  i.name
147
- ], [b.value.body[k]], [isNaN(b.value.body[k] / w.value) ? "-" : b.value.body[k] / w.value * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(o), t = Fe(l);
148
- Se({ csvContent: t, title: e.value.style.chart.title.text || "vue-ui-mood-radar" });
141
+ ], [b.value.body[k]], [isNaN(b.value.body[k] / w.value) ? "-" : b.value.body[k] / w.value * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(o), t = We(l);
142
+ ze({ csvContent: t, title: e.value.style.chart.title.text || "vue-ui-mood-radar" });
149
143
  });
150
144
  }
151
- const O = c(() => {
145
+ const T = c(() => {
152
146
  const o = [
153
147
  ' <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>',
154
148
  Number(w.value.toFixed(e.value.table.td.roundingValue)).toLocaleString(),
155
149
  "100%"
156
- ], l = b.value.head.map((k, N) => [
150
+ ], l = b.value.head.map((k, A) => [
157
151
  {
158
152
  color: k.color,
159
153
  name: k.name
160
154
  },
161
- b.value.body[N].toFixed(e.value.table.td.roundingValue),
162
- isNaN(b.value.body[N] / w.value) ? "-" : (b.value.body[N] / w.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
155
+ b.value.body[A].toFixed(e.value.table.td.roundingValue),
156
+ isNaN(b.value.body[A] / w.value) ? "-" : (b.value.body[A] / w.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
163
157
  ]), t = {
164
158
  th: {
165
159
  backgroundColor: e.value.table.th.backgroundColor,
@@ -184,53 +178,53 @@ const Ke = ["id"], qe = {
184
178
  colNames: i
185
179
  };
186
180
  });
187
- function ke() {
181
+ function Me() {
188
182
  return g.value;
189
183
  }
190
- function Z() {
191
- $.value.showTable = !$.value.showTable;
184
+ function ee() {
185
+ P.value.showTable = !P.value.showTable;
192
186
  }
193
- const M = y(!1);
194
- function be(o) {
195
- M.value = o;
187
+ const N = y(!1);
188
+ function Pe(o) {
189
+ N.value = o;
196
190
  }
197
- const T = y(!1);
198
- function R() {
199
- T.value = !T.value;
191
+ const L = y(!1);
192
+ function B() {
193
+ L.value = !L.value;
200
194
  }
201
- return ue({
202
- getData: ke,
203
- generatePdf: q,
204
- generateCsv: J,
205
- generateImage: Q,
206
- toggleTable: Z,
207
- toggleAnnotator: R
195
+ return ie({
196
+ getData: Me,
197
+ generatePdf: Q,
198
+ generateCsv: Z,
199
+ generateImage: Y,
200
+ toggleTable: ee,
201
+ toggleAnnotator: B
208
202
  }), (o, l) => (r(), h("div", {
209
- class: ee(`vue-ui-mood-radar ${M.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
203
+ class: te(`vue-ui-mood-radar ${N.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
210
204
  ref_key: "moodRadarChart",
211
- ref: D,
212
- id: `${x.value}`,
213
- style: L(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
214
- onMouseenter: l[11] || (l[11] = () => a(z)(!0)),
215
- onMouseleave: l[12] || (l[12] = () => a(z)(!1))
205
+ ref: z,
206
+ id: `${M.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))
216
210
  }, [
217
- e.value.userOptions.buttons.annotator ? (r(), p(Ee, {
211
+ e.value.userOptions.buttons.annotator ? (r(), m(a(ye), {
218
212
  key: 0,
219
- svgRef: a(G),
213
+ svgRef: a(H),
220
214
  backgroundColor: e.value.style.chart.backgroundColor,
221
215
  color: e.value.style.chart.color,
222
- active: T.value,
223
- onClose: R
216
+ active: L.value,
217
+ onClose: B
224
218
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : u("", !0),
225
- he.value ? (r(), h("div", {
219
+ Ce.value ? (r(), h("div", {
226
220
  key: 1,
227
221
  ref_key: "noTitle",
228
- ref: ce,
222
+ ref: ge,
229
223
  class: "vue-data-ui-no-title-space",
230
224
  style: "height:36px; width: 100%;background:transparent"
231
225
  }, null, 512)) : u("", !0),
232
- e.value.style.chart.title.text ? (r(), h("div", qe, [
233
- U(Ve, {
226
+ e.value.style.chart.title.text ? (r(), h("div", Qe, [
227
+ U(Xe, {
234
228
  config: {
235
229
  title: {
236
230
  cy: "mood-radar-title",
@@ -243,40 +237,40 @@ const Ke = ["id"], qe = {
243
237
  }
244
238
  }, null, 8, ["config"])
245
239
  ])) : u("", !0),
246
- e.value.userOptions.show && _.value && (a(E) || a(V)) ? (r(), p(Re, {
240
+ e.value.userOptions.show && $.value && (a(G) || a(j)) ? (r(), m(a(fe), {
247
241
  key: 3,
248
242
  ref_key: "details",
249
- ref: de,
243
+ ref: me,
250
244
  backgroundColor: e.value.style.chart.backgroundColor,
251
245
  color: e.value.style.chart.color,
252
- isPrinting: a(X),
253
- isImaging: a(K),
254
- uid: x.value,
246
+ isPrinting: a(K),
247
+ isImaging: a(q),
248
+ uid: M.value,
255
249
  hasPdf: e.value.userOptions.buttons.pdf,
256
250
  hasXls: e.value.userOptions.buttons.csv,
257
251
  hasImg: e.value.userOptions.buttons.img,
258
252
  hasTable: e.value.userOptions.buttons.table,
259
253
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
260
- isFullscreen: M.value,
254
+ isFullscreen: N.value,
261
255
  titles: { ...e.value.userOptions.buttonTitles },
262
- chartElement: D.value,
256
+ chartElement: z.value,
263
257
  position: e.value.userOptions.position,
264
258
  hasAnnotator: e.value.userOptions.buttons.annotator,
265
- isAnnotation: T.value,
266
- onToggleFullscreen: be,
267
- onGeneratePdf: a(q),
268
- onGenerateCsv: J,
269
- onGenerateImage: a(Q),
270
- onToggleTable: Z,
271
- onToggleAnnotator: R,
272
- style: L({
273
- visibility: a(E) ? a(V) ? "visible" : "hidden" : "visible"
259
+ isAnnotation: L.value,
260
+ onToggleFullscreen: Pe,
261
+ onGeneratePdf: a(Q),
262
+ onGenerateCsv: Z,
263
+ onGenerateImage: a(Y),
264
+ onToggleTable: ee,
265
+ onToggleAnnotator: B,
266
+ style: I({
267
+ visibility: a(G) ? a(j) ? "visible" : "hidden" : "visible"
274
268
  })
275
- }, xe({ _: 2 }, [
269
+ }, Te({ _: 2 }, [
276
270
  o.$slots.menuIcon ? {
277
271
  name: "menuIcon",
278
272
  fn: f(({ isOpen: t, color: i }) => [
279
- v(o.$slots, "menuIcon", I(F({ isOpen: t, color: i })), void 0, !0)
273
+ v(o.$slots, "menuIcon", F(S({ isOpen: t, color: i })), void 0, !0)
280
274
  ]),
281
275
  key: "0"
282
276
  } : void 0,
@@ -311,40 +305,40 @@ const Ke = ["id"], qe = {
311
305
  o.$slots.optionFullscreen ? {
312
306
  name: "optionFullscreen",
313
307
  fn: f(({ toggleFullscreen: t, isFullscreen: i }) => [
314
- v(o.$slots, "optionFullscreen", I(F({ toggleFullscreen: t, isFullscreen: i })), void 0, !0)
308
+ v(o.$slots, "optionFullscreen", F(S({ toggleFullscreen: t, isFullscreen: i })), void 0, !0)
315
309
  ]),
316
310
  key: "5"
317
311
  } : void 0,
318
312
  o.$slots.optionAnnotator ? {
319
313
  name: "optionAnnotator",
320
314
  fn: f(({ toggleAnnotator: t, isAnnotator: i }) => [
321
- v(o.$slots, "optionAnnotator", I(F({ toggleAnnotator: t, isAnnotator: i })), void 0, !0)
315
+ v(o.$slots, "optionAnnotator", F(S({ toggleAnnotator: t, isAnnotator: i })), void 0, !0)
322
316
  ]),
323
317
  key: "6"
324
318
  } : void 0
325
319
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : u("", !0),
326
- _.value ? (r(), h("svg", {
320
+ $.value ? (r(), h("svg", {
327
321
  key: 4,
328
322
  ref_key: "svgRef",
329
- ref: G,
330
- xmlns: a(Te),
331
- viewBox: `0 0 ${m.value.width} ${m.value.height}`,
332
- class: ee({ "vue-data-ui-fullscreen--on": M.value, "vue-data-ui-fulscreen--off": !M.value }),
333
- style: L(`overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
323
+ ref: H,
324
+ xmlns: a(Re),
325
+ viewBox: `0 0 ${p.value.width} ${p.value.height}`,
326
+ class: te({ "vue-data-ui-fullscreen--on": N.value, "vue-data-ui-fulscreen--off": !N.value }),
327
+ style: I(`overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
334
328
  }, [
335
- U(ze),
329
+ U(a(ve)),
336
330
  o.$slots["chart-background"] ? (r(), h("foreignObject", {
337
331
  key: 0,
338
332
  x: 0,
339
333
  y: 0,
340
- width: m.value.width,
341
- height: m.value.height,
334
+ width: p.value.width,
335
+ height: p.value.height,
342
336
  style: {
343
337
  pointerEvents: "none"
344
338
  }
345
339
  }, [
346
340
  v(o.$slots, "chart-background", {}, void 0, !0)
347
- ], 8, Ye)) : u("", !0),
341
+ ], 8, Je)) : u("", !0),
348
342
  s("defs", null, [
349
343
  s("radialGradient", {
350
344
  cx: "50%",
@@ -352,41 +346,41 @@ const Ke = ["id"], qe = {
352
346
  r: "50%",
353
347
  fx: "50%",
354
348
  fy: "50%",
355
- id: `mood_radar_gradient_${x.value}`
349
+ id: `mood_radar_gradient_${M.value}`
356
350
  }, [
357
351
  s("stop", {
358
352
  offset: "0%",
359
353
  "stop-color": a(C)(e.value.style.chart.layout.dataPolygon.color, e.value.style.chart.layout.dataPolygon.opacity)
360
- }, null, 8, Ze),
354
+ }, null, 8, et),
361
355
  s("stop", {
362
356
  offset: "100%",
363
- "stop-color": a(C)(a(Le)(e.value.style.chart.layout.dataPolygon.color, e.value.style.chart.layout.dataPolygon.gradient.intensity / 100), e.value.style.chart.layout.dataPolygon.opacity)
364
- }, null, 8, et)
365
- ], 8, Je)
357
+ "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)
358
+ }, null, 8, tt)
359
+ ], 8, Ze)
366
360
  ]),
367
- (r(!0), h(te, null, oe(j.value.coordinates, (t) => (r(), h("line", {
368
- x1: m.value.width / 2,
369
- y1: m.value.height / 2,
361
+ (r(!0), h(oe, null, le(R.value.coordinates, (t) => (r(), h("line", {
362
+ x1: p.value.width / 2,
363
+ y1: p.value.height / 2,
370
364
  x2: t.x,
371
365
  y2: t.y,
372
366
  stroke: e.value.style.chart.layout.grid.stroke,
373
367
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth
374
- }, null, 8, tt))), 256)),
368
+ }, null, 8, ot))), 256)),
375
369
  s("path", {
376
- d: j.value.path,
370
+ d: R.value.path,
377
371
  fill: "none",
378
372
  stroke: e.value.style.chart.layout.outerPolygon.stroke,
379
373
  "stroke-width": e.value.style.chart.layout.outerPolygon.strokeWidth,
380
374
  "stroke-linejoin": "round",
381
375
  "stroke-linecap": "round"
382
- }, null, 8, ot),
376
+ }, null, 8, lt),
383
377
  s("path", {
384
378
  fill: "none",
385
379
  stroke: e.value.style.chart.layout.smileys.colors[5],
386
380
  "stroke-width": "1",
387
381
  "stroke-linecap": "round",
388
382
  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"
389
- }, null, 8, lt),
383
+ }, null, 8, at),
390
384
  s("circle", {
391
385
  class: "vue-ui-mood-radar-trap",
392
386
  onMouseenter: l[0] || (l[0] = (t) => n.value = 5),
@@ -395,14 +389,14 @@ const Ke = ["id"], qe = {
395
389
  cy: "25",
396
390
  r: "20",
397
391
  fill: n.value === 5 ? a(C)(e.value.style.chart.layout.smileys.colors[5], 20) : "transparent"
398
- }, null, 40, at),
392
+ }, null, 40, st),
399
393
  s("path", {
400
394
  fill: "none",
401
395
  stroke: e.value.style.chart.layout.smileys.colors[4],
402
396
  "stroke-width": "1",
403
397
  "stroke-linecap": "round",
404
398
  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"
405
- }, null, 8, st),
399
+ }, null, 8, rt),
406
400
  s("circle", {
407
401
  class: "vue-ui-mood-radar-trap",
408
402
  onMouseenter: l[2] || (l[2] = (t) => n.value = 4),
@@ -411,14 +405,14 @@ const Ke = ["id"], qe = {
411
405
  cy: "95.5",
412
406
  r: "20",
413
407
  fill: n.value === 4 ? a(C)(e.value.style.chart.layout.smileys.colors[4], 20) : "transparent"
414
- }, null, 40, rt),
408
+ }, null, 40, nt),
415
409
  s("path", {
416
410
  fill: "none",
417
411
  stroke: e.value.style.chart.layout.smileys.colors[3],
418
412
  "stroke-width": "1",
419
413
  "stroke-linecap": "round",
420
414
  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"
421
- }, null, 8, nt),
415
+ }, null, 8, ut),
422
416
  s("circle", {
423
417
  class: "vue-ui-mood-radar-trap",
424
418
  onMouseenter: l[4] || (l[4] = (t) => n.value = 3),
@@ -427,14 +421,14 @@ const Ke = ["id"], qe = {
427
421
  cy: "213.5",
428
422
  r: "20",
429
423
  fill: n.value === 3 ? a(C)(e.value.style.chart.layout.smileys.colors[3], 20) : "transparent"
430
- }, null, 40, ut),
424
+ }, null, 40, it),
431
425
  s("path", {
432
426
  fill: "none",
433
427
  stroke: e.value.style.chart.layout.smileys.colors[2],
434
428
  "stroke-width": "1",
435
429
  "stroke-linecap": "round",
436
430
  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"
437
- }, null, 8, it),
431
+ }, null, 8, dt),
438
432
  s("circle", {
439
433
  class: "vue-ui-mood-radar-trap",
440
434
  onMouseenter: l[6] || (l[6] = (t) => n.value = 2),
@@ -443,14 +437,14 @@ const Ke = ["id"], qe = {
443
437
  cy: "213.5",
444
438
  r: "20",
445
439
  fill: n.value === 2 ? a(C)(e.value.style.chart.layout.smileys.colors[2], 20) : "transparent"
446
- }, null, 40, dt),
440
+ }, null, 40, ct),
447
441
  s("path", {
448
442
  fill: "none",
449
443
  stroke: e.value.style.chart.layout.smileys.colors[1],
450
444
  "stroke-width": "1",
451
445
  "stroke-linecap": "round",
452
446
  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"
453
- }, null, 8, ct),
447
+ }, null, 8, vt),
454
448
  s("circle", {
455
449
  class: "vue-ui-mood-radar-trap",
456
450
  onMouseenter: l[8] || (l[8] = (t) => n.value = 1),
@@ -459,18 +453,18 @@ const Ke = ["id"], qe = {
459
453
  cy: "95.5",
460
454
  r: "20",
461
455
  fill: n.value === 1 ? a(C)(e.value.style.chart.layout.smileys.colors[1], 20) : "transparent"
462
- }, null, 40, vt),
456
+ }, null, 40, yt),
463
457
  s("path", {
464
- d: a(Ie)(Y.value.map((t) => t.plots)),
458
+ d: a(Ue)(J.value.map((t) => t.plots)),
465
459
  stroke: e.value.style.chart.layout.dataPolygon.stroke,
466
460
  "stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth,
467
461
  "stroke-linecap": "round",
468
462
  "stroke-linejoin": "round",
469
- fill: e.value.style.chart.layout.dataPolygon.gradient.show ? `url(#mood_radar_gradient_${x.value})` : a(C)(e.value.style.chart.layout.dataPolygon.color, e.value.style.chart.layout.dataPolygon.opacity)
470
- }, null, 8, yt),
471
- (r(!0), h(te, null, oe(Y.value.map((t) => t.plots), (t, i) => (r(), h("g", {
463
+ fill: e.value.style.chart.layout.dataPolygon.gradient.show ? `url(#mood_radar_gradient_${M.value})` : a(C)(e.value.style.chart.layout.dataPolygon.color, e.value.style.chart.layout.dataPolygon.opacity)
464
+ }, null, 8, ht),
465
+ (r(!0), h(oe, null, le(J.value.map((t) => t.plots), (t, i) => (r(), h("g", {
472
466
  class: "vue-ui-mood-radar-trap",
473
- style: L(`opacity:${n.value == t.key ? "1" : "0"}`)
467
+ style: I(`opacity:${n.value == t.key ? "1" : "0"}`)
474
468
  }, [
475
469
  s("line", {
476
470
  x1: t.x,
@@ -478,7 +472,7 @@ const Ke = ["id"], qe = {
478
472
  x2: 128,
479
473
  y2: 128,
480
474
  stroke: e.value.style.chart.layout.smileys.colors[t.key]
481
- }, null, 8, ht),
475
+ }, null, 8, ft),
482
476
  s("circle", {
483
477
  cx: t.x,
484
478
  cy: t.y,
@@ -486,7 +480,7 @@ const Ke = ["id"], qe = {
486
480
  r: "3",
487
481
  stroke: e.value.style.chart.backgroundColor,
488
482
  "stroke-width": 0.5
489
- }, null, 8, ft),
483
+ }, null, 8, pt),
490
484
  s("circle", {
491
485
  cx: 128,
492
486
  cy: 128,
@@ -502,35 +496,35 @@ const Ke = ["id"], qe = {
502
496
  "font-size": "12",
503
497
  "text-anchor": "middle",
504
498
  "font-weight": e.value.style.chart.layout.dataLabel.bold ? "bold" : "normal"
505
- }, P(a(se)(
499
+ }, O(a(re)(
506
500
  e.value.style.chart.layout.dataLabel.formatter,
507
501
  t.value,
508
- a(S)({
502
+ a(V)({
509
503
  p: e.value.style.chart.layout.dataLabel.prefix,
510
504
  v: t.value,
511
505
  s: e.value.style.chart.layout.dataLabel.suffix,
512
506
  r: e.value.style.chart.layout.dataLabel.roundingValue
513
507
  }),
514
508
  { datapoint: t, seriesIndex: i }
515
- )), 9, pt),
509
+ )), 9, gt),
516
510
  s("text", {
517
511
  x: 128,
518
512
  y: ["5", 5].includes(t.key) ? 163 : 102,
519
513
  fill: e.value.style.chart.layout.dataLabel.color,
520
514
  "font-size": "12",
521
515
  "text-anchor": "middle"
522
- }, " (" + P(a(S)({
516
+ }, " (" + O(a(V)({
523
517
  v: t.value / w.value * 100,
524
518
  s: "%",
525
519
  r: e.value.style.chart.layout.dataLabel.roundingPercentage
526
- })) + ") ", 9, gt)
520
+ })) + ") ", 9, kt)
527
521
  ], 4))), 256)),
528
- v(o.$slots, "svg", { svg: m.value }, void 0, !0)
529
- ], 14, Qe)) : u("", !0),
530
- o.$slots.watermark ? (r(), h("div", kt, [
531
- v(o.$slots, "watermark", I(F({ isPrinting: a(X) || a(K) })), void 0, !0)
522
+ v(o.$slots, "svg", { svg: p.value }, void 0, !0)
523
+ ], 14, Ye)) : u("", !0),
524
+ o.$slots.watermark ? (r(), h("div", bt, [
525
+ v(o.$slots, "watermark", F(S({ isPrinting: a(K) || a(q) })), void 0, !0)
532
526
  ])) : u("", !0),
533
- _.value ? u("", !0) : (r(), p(De, {
527
+ $.value ? u("", !0) : (r(), m(a(he), {
534
528
  key: 6,
535
529
  config: {
536
530
  type: "radar",
@@ -547,51 +541,51 @@ const Ke = ["id"], qe = {
547
541
  }
548
542
  }
549
543
  }, null, 8, ["config"])),
550
- e.value.style.chart.legend.show ? (r(), p(Ue, {
544
+ e.value.style.chart.legend.show ? (r(), m(He, {
551
545
  legendSet: g.value,
552
- config: pe.value,
553
- key: `legend_${W.value}`,
546
+ config: _e.value,
547
+ key: `legend_${D.value}`,
554
548
  style: { display: "flex", "row-gap": "6px" }
555
549
  }, {
556
550
  item: f(({ legend: t, index: i }) => [
557
551
  s("div", {
558
- onClick: () => ge(t.key),
552
+ onClick: () => $e(t.key),
559
553
  style: { display: "flex", "flex-direction": "row", gap: "3px", "align-items": "center", margin: "3px 0" }
560
554
  }, [
561
- t.key == 1 ? (r(), p(A, {
555
+ t.key == 1 ? (r(), m(a(_), {
562
556
  key: 0,
563
557
  strokeWidth: 1,
564
558
  name: "moodSad",
565
559
  stroke: e.value.style.chart.layout.smileys.colors[t.key]
566
560
  }, null, 8, ["stroke"])) : u("", !0),
567
- t.key == 2 ? (r(), p(A, {
561
+ t.key == 2 ? (r(), m(a(_), {
568
562
  key: 1,
569
563
  strokeWidth: 1,
570
564
  name: "moodFlat",
571
565
  stroke: e.value.style.chart.layout.smileys.colors[t.key]
572
566
  }, null, 8, ["stroke"])) : u("", !0),
573
- t.key == 3 ? (r(), p(A, {
567
+ t.key == 3 ? (r(), m(a(_), {
574
568
  key: 2,
575
569
  strokeWidth: 1,
576
570
  name: "moodNeutral",
577
571
  stroke: e.value.style.chart.layout.smileys.colors[t.key]
578
572
  }, null, 8, ["stroke"])) : u("", !0),
579
- t.key == 4 ? (r(), p(A, {
573
+ t.key == 4 ? (r(), m(a(_), {
580
574
  key: 3,
581
575
  strokeWidth: 1,
582
576
  name: "smiley",
583
577
  stroke: e.value.style.chart.layout.smileys.colors[t.key]
584
578
  }, null, 8, ["stroke"])) : u("", !0),
585
- t.key == 5 ? (r(), p(A, {
579
+ t.key == 5 ? (r(), m(a(_), {
586
580
  key: 4,
587
581
  strokeWidth: 1,
588
582
  name: "moodHappy",
589
583
  stroke: e.value.style.chart.layout.smileys.colors[t.key]
590
584
  }, null, 8, ["stroke"])) : u("", !0),
591
- s("span", Ct, P(a(se)(
585
+ s("span", wt, O(a(re)(
592
586
  e.value.style.chart.layout.dataLabel.formatter,
593
587
  t.value,
594
- a(S)({
588
+ a(V)({
595
589
  p: e.value.style.chart.layout.dataLabel.prefix,
596
590
  v: t.value,
597
591
  s: e.value.style.chart.layout.dataLabel.suffix,
@@ -599,24 +593,24 @@ const Ke = ["id"], qe = {
599
593
  }),
600
594
  { datapoint: t, seriesIndex: i }
601
595
  )), 1),
602
- le(" (" + P(a(S)({
596
+ ae(" (" + O(a(V)({
603
597
  v: t.proportion * 100,
604
598
  s: "%",
605
599
  r: e.value.style.chart.legend.roundingPercentage
606
600
  })) + ") ", 1)
607
- ], 8, bt)
601
+ ], 8, Ct)
608
602
  ]),
609
603
  _: 1
610
604
  }, 8, ["legendSet", "config"])) : u("", !0),
611
605
  v(o.$slots, "legend", { legend: g.value }, void 0, !0),
612
- o.$slots.source ? (r(), h("div", wt, [
606
+ o.$slots.source ? (r(), h("div", xt, [
613
607
  v(o.$slots, "source", {}, void 0, !0)
614
608
  ], 512)) : u("", !0),
615
- _.value ? (r(), p(We, {
609
+ $.value ? (r(), m(a(de), {
616
610
  key: 9,
617
611
  hideDetails: "",
618
612
  config: {
619
- open: $.value.showTable,
613
+ open: P.value.showTable,
620
614
  maxHeight: 1e4,
621
615
  body: {
622
616
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -629,13 +623,13 @@ const Ke = ["id"], qe = {
629
623
  }
630
624
  }, {
631
625
  content: f(() => [
632
- U(Be, {
633
- colNames: O.value.colNames,
634
- head: O.value.head,
635
- body: O.value.body,
636
- config: O.value.config,
626
+ U(a(ce), {
627
+ colNames: T.value.colNames,
628
+ head: T.value.head,
629
+ body: T.value.body,
630
+ config: T.value.config,
637
631
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
638
- onClose: l[10] || (l[10] = (t) => $.value.showTable = !1)
632
+ onClose: l[10] || (l[10] = (t) => P.value.showTable = !1)
639
633
  }, {
640
634
  th: f(({ th: t }) => [
641
635
  s("div", {
@@ -644,16 +638,16 @@ const Ke = ["id"], qe = {
644
638
  }, null, 8, _t)
645
639
  ]),
646
640
  td: f(({ td: t }) => [
647
- le(P(t.name || t), 1)
641
+ ae(O(t.name || t), 1)
648
642
  ]),
649
643
  _: 1
650
644
  }, 8, ["colNames", "head", "body", "config", "title"])
651
645
  ]),
652
646
  _: 1
653
647
  }, 8, ["config"])) : u("", !0)
654
- ], 46, Ke));
648
+ ], 46, qe));
655
649
  }
656
- }, Bt = /* @__PURE__ */ Xe(xt, [["__scopeId", "data-v-219c3ecd"]]);
650
+ }, St = /* @__PURE__ */ Ke($t, [["__scopeId", "data-v-661afa58"]]);
657
651
  export {
658
- Bt as default
652
+ St as default
659
653
  };