vue-data-ui 3.4.7 → 3.4.8

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 (115) hide show
  1. package/dist/{PackageVersion-QNVkHOgG.js → PackageVersion-D-auaEEJ.js} +1 -1
  2. package/dist/{UserOptions-CnzumGJj.js → UserOptions-CGnQt6Fd.js} +91 -91
  3. package/dist/components/vue-ui-3d-bar.js +1 -1
  4. package/dist/components/vue-ui-age-pyramid.js +1 -1
  5. package/dist/components/vue-ui-bullet.js +1 -1
  6. package/dist/components/vue-ui-candlestick.js +1 -1
  7. package/dist/components/vue-ui-carousel-table.js +1 -1
  8. package/dist/components/vue-ui-chestnut.js +1 -1
  9. package/dist/components/vue-ui-chord.js +1 -1
  10. package/dist/components/vue-ui-circle-pack.js +1 -1
  11. package/dist/components/vue-ui-dashboard.js +1 -1
  12. package/dist/components/vue-ui-donut-evolution.js +1 -1
  13. package/dist/components/vue-ui-donut.js +1 -1
  14. package/dist/components/vue-ui-dumbbell.js +1 -1
  15. package/dist/components/vue-ui-flow.js +1 -1
  16. package/dist/components/vue-ui-funnel.js +1 -1
  17. package/dist/components/vue-ui-galaxy.js +1 -1
  18. package/dist/components/vue-ui-gauge.js +1 -1
  19. package/dist/components/vue-ui-gizmo.js +1 -1
  20. package/dist/components/vue-ui-heatmap.js +1 -1
  21. package/dist/components/vue-ui-history-plot.js +1 -1
  22. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  23. package/dist/components/vue-ui-molecule.js +1 -1
  24. package/dist/components/vue-ui-mood-radar.js +1 -1
  25. package/dist/components/vue-ui-nested-donuts.js +1 -1
  26. package/dist/components/vue-ui-onion.js +1 -1
  27. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  28. package/dist/components/vue-ui-quadrant.js +1 -1
  29. package/dist/components/vue-ui-quick-chart.js +1 -1
  30. package/dist/components/vue-ui-radar.js +1 -1
  31. package/dist/components/vue-ui-relation-circle.js +1 -1
  32. package/dist/components/vue-ui-ridgeline.js +1 -1
  33. package/dist/components/vue-ui-rings.js +1 -1
  34. package/dist/components/vue-ui-scatter.js +1 -1
  35. package/dist/components/vue-ui-skeleton.js +1 -1
  36. package/dist/components/vue-ui-spark-trend.js +1 -1
  37. package/dist/components/vue-ui-sparkbar.js +1 -1
  38. package/dist/components/vue-ui-sparkgauge.js +1 -1
  39. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  40. package/dist/components/vue-ui-sparkline.js +1 -1
  41. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  42. package/dist/components/vue-ui-stackbar.js +1 -1
  43. package/dist/components/vue-ui-strip-plot.js +1 -1
  44. package/dist/components/vue-ui-table-heatmap.js +1 -1
  45. package/dist/components/vue-ui-table-sparkline.js +1 -1
  46. package/dist/components/vue-ui-table.js +1 -1
  47. package/dist/components/vue-ui-thermometer.js +1 -1
  48. package/dist/components/vue-ui-timer.js +1 -1
  49. package/dist/components/vue-ui-tiremarks.js +1 -1
  50. package/dist/components/vue-ui-treemap.js +1 -1
  51. package/dist/components/vue-ui-vertical-bar.js +1 -1
  52. package/dist/components/vue-ui-waffle.js +1 -1
  53. package/dist/components/vue-ui-wheel.js +1 -1
  54. package/dist/components/vue-ui-word-cloud.js +1 -1
  55. package/dist/components/vue-ui-world.js +1 -1
  56. package/dist/components/vue-ui-xy-canvas.js +1 -1
  57. package/dist/components/vue-ui-xy.js +1 -1
  58. package/dist/style.css +1 -1
  59. package/dist/{vue-data-ui-BFwmY6si.js → vue-data-ui-CzqHcPqG.js} +55 -55
  60. package/dist/vue-data-ui.js +55 -55
  61. package/dist/{vue-ui-3d-bar-D1GoJWeg.js → vue-ui-3d-bar-CwXiD8zD.js} +49 -42
  62. package/dist/{vue-ui-age-pyramid-BDGFSsA5.js → vue-ui-age-pyramid-DlEPlWmV.js} +12 -5
  63. package/dist/{vue-ui-bullet-C3GtE3bF.js → vue-ui-bullet-DtzpeIu4.js} +59 -52
  64. package/dist/{vue-ui-candlestick-BlzmB2vM.js → vue-ui-candlestick-DzoiyaeB.js} +56 -49
  65. package/dist/{vue-ui-carousel-table-TKa7KYZ0.js → vue-ui-carousel-table-BqRERrjs.js} +79 -72
  66. package/dist/{vue-ui-chestnut-DNxARRsx.js → vue-ui-chestnut-CzBGckif.js} +77 -70
  67. package/dist/{vue-ui-chord-BM7tZig3.js → vue-ui-chord-B4waG93A.js} +71 -64
  68. package/dist/{vue-ui-circle-pack-BZU75WUb.js → vue-ui-circle-pack-DiTw_p5r.js} +58 -51
  69. package/dist/{vue-ui-dashboard-pNXFzQu4.js → vue-ui-dashboard-Bt-MUKqy.js} +56 -56
  70. package/dist/{vue-ui-donut-CRvfqCUO.js → vue-ui-donut-Bc492JeS.js} +95 -88
  71. package/dist/{vue-ui-donut-evolution-CCdIWlyZ.js → vue-ui-donut-evolution-D6TaZK2x.js} +80 -73
  72. package/dist/{vue-ui-dumbbell-CLmwZyrf.js → vue-ui-dumbbell-BlZr68Sq.js} +12 -5
  73. package/dist/{vue-ui-flow-BY8XQXKF.js → vue-ui-flow-ByEP18dA.js} +205 -198
  74. package/dist/{vue-ui-funnel-BmxhWoVW.js → vue-ui-funnel-BU7d_U6T.js} +98 -91
  75. package/dist/{vue-ui-galaxy-BgtKffX5.js → vue-ui-galaxy-CpVrxaTr.js} +140 -133
  76. package/dist/{vue-ui-gauge-DLpK4-Cd.js → vue-ui-gauge-B9Z4EXoj.js} +108 -101
  77. package/dist/{vue-ui-gizmo-CCNboEnL.js → vue-ui-gizmo-T1paJEJ3.js} +1 -1
  78. package/dist/{vue-ui-heatmap-BSDmuvq8.js → vue-ui-heatmap-Uw83eEMz.js} +97 -90
  79. package/dist/{vue-ui-history-plot-s8wYm7fn.js → vue-ui-history-plot-C93VwVCY.js} +41 -34
  80. package/dist/{vue-ui-molecule-BYWE2ONy.js → vue-ui-molecule-CFMWwXFN.js} +94 -87
  81. package/dist/{vue-ui-mood-radar-BOvaA1Jq.js → vue-ui-mood-radar-FkVaaOVG.js} +71 -64
  82. package/dist/{vue-ui-nested-donuts-BUGkuN56.js → vue-ui-nested-donuts-Cyi98NXq.js} +93 -86
  83. package/dist/{vue-ui-onion-CPshjlgf.js → vue-ui-onion-BCENNhsY.js} +82 -75
  84. package/dist/{vue-ui-parallel-coordinate-plot-orQotxDr.js → vue-ui-parallel-coordinate-plot-Dca9wkD0.js} +116 -109
  85. package/dist/{vue-ui-quadrant-CM3iH31f.js → vue-ui-quadrant-CEtFEZT3.js} +46 -39
  86. package/dist/{vue-ui-quick-chart-BhO2YQn0.js → vue-ui-quick-chart-bqcp6BIl.js} +171 -164
  87. package/dist/{vue-ui-radar-CNZVFG-v.js → vue-ui-radar-lgRCmyNP.js} +36 -29
  88. package/dist/{vue-ui-relation-circle-BX48Cgx3.js → vue-ui-relation-circle-cRRrbaIT.js} +100 -93
  89. package/dist/{vue-ui-ridgeline-MQAF9nvq.js → vue-ui-ridgeline-CaeFJq9a.js} +23 -16
  90. package/dist/{vue-ui-rings-BPhLSCUX.js → vue-ui-rings-DbsYfGjx.js} +55 -48
  91. package/dist/{vue-ui-scatter-C3dD6T6q.js → vue-ui-scatter-DcMnoNrY.js} +189 -182
  92. package/dist/{vue-ui-skeleton-Be8xm0gy.js → vue-ui-skeleton-b5fdgyHv.js} +1 -1
  93. package/dist/{vue-ui-spark-trend-suNsujGP.js → vue-ui-spark-trend-DrQ26BzL.js} +1 -1
  94. package/dist/{vue-ui-sparkbar-BjD2kUth.js → vue-ui-sparkbar-BlvXLcfO.js} +1 -1
  95. package/dist/{vue-ui-sparkgauge-C816ocz6.js → vue-ui-sparkgauge-CQmNePxu.js} +1 -1
  96. package/dist/{vue-ui-sparkhistogram-CAgfueUq.js → vue-ui-sparkhistogram-CJatqy8x.js} +1 -1
  97. package/dist/{vue-ui-sparkline-BmVwG9vw.js → vue-ui-sparkline-5m7hFiMq.js} +1 -1
  98. package/dist/{vue-ui-sparkstackbar-DoFTW_u_.js → vue-ui-sparkstackbar-Z5g6L2Hj.js} +1 -1
  99. package/dist/{vue-ui-stackbar-C1qHHSuI.js → vue-ui-stackbar-WrexTg8_.js} +53 -46
  100. package/dist/{vue-ui-strip-plot-Ccz9BiSl.js → vue-ui-strip-plot-DqX7yya9.js} +13 -6
  101. package/dist/{vue-ui-table-IKsrsEUh.js → vue-ui-table-BhrP9BCp.js} +2 -2
  102. package/dist/{vue-ui-table-heatmap-B4rjR34n.js → vue-ui-table-heatmap-BqCEBoUf.js} +1 -1
  103. package/dist/{vue-ui-table-sparkline-B71QVMkq.js → vue-ui-table-sparkline-BECa8n5_.js} +1 -1
  104. package/dist/{vue-ui-thermometer-fY5WxAbX.js → vue-ui-thermometer-BxBGrsSR.js} +83 -76
  105. package/dist/{vue-ui-timer-BBdNJ0fK.js → vue-ui-timer-BbHY5Ed5.js} +1 -1
  106. package/dist/{vue-ui-tiremarks-Co0t61HH.js → vue-ui-tiremarks-DzL3Sc1f.js} +43 -36
  107. package/dist/{vue-ui-treemap-ujTn_36A.js → vue-ui-treemap-DoHoS5NK.js} +114 -107
  108. package/dist/{vue-ui-vertical-bar-BNp-Vl0q.js → vue-ui-vertical-bar-D0N5btU-.js} +89 -82
  109. package/dist/{vue-ui-waffle-CRPYb9mZ.js → vue-ui-waffle-CTt7dxCY.js} +41 -34
  110. package/dist/{vue-ui-wheel-BvycoQ3Z.js → vue-ui-wheel--TIPvQ9I.js} +132 -125
  111. package/dist/{vue-ui-word-cloud-Cjs46-dC.js → vue-ui-word-cloud-D5pZq4Jq.js} +116 -109
  112. package/dist/{vue-ui-world-BTLAdJeD.js → vue-ui-world-BERHgePa.js} +71 -64
  113. package/dist/{vue-ui-xy-CBRHUbAn.js → vue-ui-xy-BI5stV8f.js} +163 -156
  114. package/dist/{vue-ui-xy-canvas-BGl_2pHw.js → vue-ui-xy-canvas-DXnLFwW3.js} +1 -1
  115. package/package.json +1 -1
@@ -1,18 +1,18 @@
1
- import { defineAsyncComponent as M, ref as u, computed as d, toRefs as st, onMounted as nt, watch as Ce, createElementBlock as h, openBlock as r, unref as a, normalizeStyle as E, normalizeClass as we, createBlock as k, createCommentVNode as c, createElementVNode as s, createVNode as j, createSlots as xe, withCtx as v, renderSlot as g, normalizeProps as z, guardReactiveProps as G, Fragment as $e, renderList as _e, toDisplayString as R, Teleport as rt, resolveDynamicComponent as ut, mergeProps as it, createTextVNode as Ae, nextTick as Te } from "vue";
1
+ import { defineAsyncComponent as M, ref as u, computed as d, toRefs as st, onMounted as nt, watch as Ce, createElementBlock as g, openBlock as r, unref as a, normalizeStyle as E, normalizeClass as we, createBlock as k, createCommentVNode as c, createElementVNode as s, createVNode as j, createSlots as xe, withCtx as v, renderSlot as y, normalizeProps as z, guardReactiveProps as G, Fragment as $e, renderList as Ae, toDisplayString as R, Teleport as rt, resolveDynamicComponent as ut, mergeProps as it, createTextVNode as _e, nextTick as Te } from "vue";
2
2
  import { c as dt, t as ct, o as vt, f as Me, k as yt, a as Pe, d as H, X as ht, s as x, i as gt, a8 as ft, P as pt, Q as mt } from "./lib-C_mNZmhD.js";
3
3
  import { t as kt, u as bt } from "./useResponsive-DfdjqQps.js";
4
4
  import { u as Ct, a as Oe } from "./useNestedProp-BjZe1Y85.js";
5
5
  import { u as wt, B as xt } from "./BaseScanner-BgWxam9d.js";
6
6
  import { u as $t } from "./usePrinter-DTzqpYKF.js";
7
- import { u as _t } from "./useSvgExport-DrjCWun4.js";
8
- import { u as At } from "./useUserOptionState-BIvW1Kz7.js";
7
+ import { u as At } from "./useSvgExport-DrjCWun4.js";
8
+ import { u as _t } from "./useUserOptionState-BIvW1Kz7.js";
9
9
  import { u as Tt } from "./useChartAccessibility-9icAAmYg.js";
10
10
  import Mt from "./img-BecE5qXd.js";
11
11
  import Pt from "./Title-l36lOBMx.js";
12
12
  import { t as Ot } from "./themes-AUNCOb2G.js";
13
13
  import Nt from "./Legend-G6GMcdAc.js";
14
- import { _ as Lt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["id"], Et = ["stop-color"], Rt = ["stop-color"], Vt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Ut = ["d", "stroke", "stroke-width"], Wt = ["transform"], jt = ["stroke"], zt = ["fill"], Gt = ["transform"], Ht = ["stroke"], Xt = ["fill"], Kt = ["transform"], qt = ["stroke"], Qt = ["fill"], Yt = ["transform"], Jt = ["stroke"], Zt = ["fill"], eo = ["transform"], to = ["stroke"], oo = ["fill"], lo = ["d", "stroke", "stroke-width", "fill"], ao = ["x1", "y1", "x2", "y2", "stroke"], so = ["cx", "cy", "fill", "stroke"], no = ["cx", "cy", "fill", "stroke"], ro = ["x", "y", "fill", "font-weight"], uo = ["x", "y", "fill"], io = {
14
+ import { _ as St } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
+ const Lt = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["id"], Et = ["stop-color"], Rt = ["stop-color"], Vt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Ut = ["d", "stroke", "stroke-width"], Wt = ["transform"], jt = ["stroke"], zt = ["fill"], Gt = ["transform"], Ht = ["stroke"], Xt = ["fill"], Kt = ["transform"], qt = ["stroke"], Qt = ["fill"], Yt = ["transform"], Jt = ["stroke"], Zt = ["fill"], eo = ["transform"], to = ["stroke"], oo = ["fill"], lo = ["d", "stroke", "stroke-width", "fill"], ao = ["x1", "y1", "x2", "y2", "stroke"], so = ["cx", "cy", "fill", "stroke"], no = ["cx", "cy", "fill", "stroke"], ro = ["x", "y", "fill", "font-weight"], uo = ["x", "y", "fill"], io = {
16
16
  key: 4,
17
17
  class: "vue-data-ui-watermark"
18
18
  }, co = ["id"], vo = ["onClick"], yo = ["innerHTML"], ho = {
@@ -31,14 +31,14 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
31
31
  }
32
32
  }
33
33
  },
34
- setup(Ne, { expose: Le }) {
35
- const P = M(() => import("./BaseIcon-BmMbm4d0.js")), Se = M(() => import("./vue-ui-accordion-CZ0thhxa.js")), Ie = M(() => import("./DataTable-BT7VF2ua.js")), De = M(() => import("./PenAndPaper-DSvu9dwa.js")), Fe = M(() => import("./UserOptions-CnzumGJj.js")), Be = M(() => import("./PackageVersion-QNVkHOgG.js")), Ee = M(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_mood_radar: Re } = Ct(), $ = Ne, b = u(dt()), C = u(null), f = u(null), oe = u(null), Ve = u(0), Ue = u(0), le = u(0), ae = u(null), se = u(null), L = u(null), V = u(null), ne = u(null), re = u(!1), S = u(null), X = u(null), ue = d(() => !!$.dataset && Object.keys($.dataset).length), e = u(Y()), { loading: K, FINAL_DATASET: _ } = wt({
34
+ setup(Ne, { expose: Se }) {
35
+ const P = M(() => import("./BaseIcon-BmMbm4d0.js")), Le = M(() => import("./vue-ui-accordion-CZ0thhxa.js")), Ie = M(() => import("./DataTable-BT7VF2ua.js")), De = M(() => import("./PenAndPaper-DSvu9dwa.js")), Fe = M(() => import("./UserOptions-CGnQt6Fd.js")), Be = M(() => import("./PackageVersion-D-auaEEJ.js")), Ee = M(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_mood_radar: Re } = Ct(), $ = Ne, b = u(dt()), C = u(null), f = u(null), oe = u(null), Ve = u(0), Ue = u(0), le = u(0), ae = u(null), se = u(null), S = u(null), V = u(null), ne = u(null), re = u(!1), L = u(null), X = u(null), ue = d(() => !!$.dataset && Object.keys($.dataset).length), e = u(Y()), { loading: K, FINAL_DATASET: A } = wt({
36
36
  ...st($),
37
37
  FINAL_CONFIG: e,
38
38
  prepareConfig: Y,
39
39
  callback: () => {
40
40
  Promise.resolve().then(async () => {
41
- await Te(), A.value.showTable = e.value.table.show;
41
+ await Te(), _.value.showTable = e.value.table.show;
42
42
  });
43
43
  },
44
44
  skeletonDataset: {
@@ -111,10 +111,10 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
111
111
  n.value.width = l, n.value.height = o - 12;
112
112
  });
113
113
  });
114
- L.value && (V.value && L.value.unobserve(V.value), L.value.disconnect()), L.value = new ResizeObserver(t), V.value = C.value.parentNode, L.value.observe(V.value);
114
+ S.value && (V.value && S.value.unobserve(V.value), S.value.disconnect()), S.value = new ResizeObserver(t), V.value = C.value.parentNode, S.value.observe(V.value);
115
115
  }
116
116
  }
117
- const { userOptionsVisible: q, setUserOptionsVisibility: de, keepUserOptionState: ce } = At({ config: e.value }), { svgRef: Q } = Tt({ config: e.value.style.chart.title });
117
+ const { userOptionsVisible: q, setUserOptionsVisibility: de, keepUserOptionState: ce } = _t({ config: e.value }), { svgRef: Q } = Tt({ config: e.value.style.chart.title });
118
118
  function Y() {
119
119
  const t = Oe({
120
120
  userConfig: $.config,
@@ -128,13 +128,13 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
128
128
  } : t;
129
129
  }
130
130
  Ce(() => $.config, (t) => {
131
- e.value = Y(), q.value = !e.value.userOptions.showOnChartHover, ie(), Ve.value += 1, Ue.value += 1, le.value += 1, A.value.showTable = e.value.table.show;
131
+ e.value = Y(), q.value = !e.value.userOptions.showOnChartHover, ie(), Ve.value += 1, Ue.value += 1, le.value += 1, _.value.showTable = e.value.table.show;
132
132
  }, { deep: !0 });
133
133
  const { isPrinting: ve, isImaging: ye, generatePdf: he, generateImage: ge } = $t({
134
134
  elementId: b.value,
135
135
  fileName: e.value.style.chart.title.text || "vue-ui-mood-radar",
136
136
  options: e.value.userOptions.print
137
- }), je = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), A = u({
137
+ }), je = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), _ = u({
138
138
  showTable: e.value.table.show
139
139
  }), n = u({
140
140
  height: 256,
@@ -169,8 +169,8 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
169
169
  value: at
170
170
  };
171
171
  }
172
- const Xe = d(() => Math.max(...Object.values(_.value).map((t) => isNaN(t) ? 0 : t))), T = d(() => Object.values(_.value).reduce((t, l) => (isNaN(t) ? 0 : t) + (isNaN(l) ? 0 : l), 0)), y = d(() => Object.keys(_.value).map((t, l) => {
173
- const o = typeof _.value[t] != "number" || isNaN(_.value[t]) ? 0 : _.value[t];
172
+ const Xe = d(() => Math.max(...Object.values(A.value).map((t) => isNaN(t) ? 0 : t))), T = d(() => Object.values(A.value).reduce((t, l) => (isNaN(t) ? 0 : t) + (isNaN(l) ? 0 : l), 0)), h = d(() => Object.keys(A.value).map((t, l) => {
173
+ const o = typeof A.value[t] != "number" || isNaN(A.value[t]) ? 0 : A.value[t];
174
174
  return {
175
175
  index: l,
176
176
  key: t,
@@ -178,7 +178,7 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
178
178
  proportion: o / T.value,
179
179
  color: e.value.style.chart.layout.smileys.colors[t]
180
180
  };
181
- }).sort((t, l) => l.key - t.key)), fe = d(() => y.value.map((t, l) => ({
181
+ }).sort((t, l) => l.key - t.key)), fe = d(() => h.value.map((t, l) => ({
182
182
  ...t,
183
183
  display: `${Pe(
184
184
  e.value.style.chart.layout.dataLabel.formatter,
@@ -195,7 +195,7 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
195
195
  r: e.value.style.chart.legend.roundingPercentage
196
196
  })})`}`
197
197
  }))), Z = d(() => (["1", "2", "3", "4", "5"].forEach((t) => {
198
- [null, void 0].includes(_.value[t]) && Me({
198
+ [null, void 0].includes(A.value[t]) && Me({
199
199
  componentName: "VueUiMoodRadar",
200
200
  type: "datasetAttribute",
201
201
  property: t
@@ -206,14 +206,14 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
206
206
  centerY: n.value.height / 2,
207
207
  apexX: t.x,
208
208
  apexY: t.y,
209
- proportion: y.value[l].value / Xe.value,
210
- key: y.value[l].key,
211
- value: y.value[l].value
209
+ proportion: h.value[l].value / Xe.value,
210
+ key: h.value[l].key,
211
+ value: h.value[l].value
212
212
  });
213
213
  return {
214
214
  ...t,
215
215
  plots: o,
216
- key: y.value[l].key
216
+ key: h.value[l].key
217
217
  };
218
218
  }))), Ke = d(() => ({
219
219
  cy: "mood-radar-legend",
@@ -228,23 +228,23 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
228
228
  }
229
229
  function D(t) {
230
230
  f.value = t;
231
- const l = y.value.find((o) => o.key === t);
231
+ const l = h.value.find((o) => o.key === t);
232
232
  e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: l, seriesIndex: l.index });
233
233
  }
234
234
  function F(t) {
235
235
  f.value = null;
236
- const l = y.value.find((o) => o.key === t);
236
+ const l = h.value.find((o) => o.key === t);
237
237
  e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: l.index });
238
238
  }
239
239
  function O(t) {
240
- const l = y.value.find((o) => o.key === t);
240
+ const l = h.value.find((o) => o.key === t);
241
241
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: l.index });
242
242
  }
243
243
  const w = d(() => {
244
- const t = y.value.map((o) => ({
244
+ const t = h.value.map((o) => ({
245
245
  name: o.key,
246
246
  color: o.color
247
- })), l = y.value.map((o) => isNaN(o.value) ? 0 : o.value);
247
+ })), l = h.value.map((o) => isNaN(o.value) ? 0 : o.value);
248
248
  return { head: t, body: l };
249
249
  });
250
250
  function ee(t = null) {
@@ -292,10 +292,10 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
292
292
  };
293
293
  });
294
294
  function Qe() {
295
- return y.value;
295
+ return h.value;
296
296
  }
297
297
  function pe() {
298
- A.value.showTable = !A.value.showTable;
298
+ _.value.showTable = !_.value.showTable;
299
299
  }
300
300
  const N = u(!1);
301
301
  function me(t) {
@@ -318,9 +318,9 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
318
318
  };
319
319
  }
320
320
  const B = d(() => {
321
- const t = e.value.table.useDialog && !e.value.table.show, l = A.value.showTable;
321
+ const t = e.value.table.useDialog && !e.value.table.show, l = _.value.showTable;
322
322
  return {
323
- component: t ? Ee : Se,
323
+ component: t ? Ee : Le,
324
324
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
325
325
  props: t ? {
326
326
  backgroundColor: e.value.table.th.backgroundColor,
@@ -347,17 +347,17 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
347
347
  }
348
348
  };
349
349
  });
350
- Ce(() => A.value.showTable, (t) => {
351
- e.value.table.show || (t && e.value.table.useDialog && S.value ? S.value.open() : "close" in S.value && S.value.close());
350
+ Ce(() => _.value.showTable, (t) => {
351
+ e.value.table.show || (t && e.value.table.useDialog && L.value ? L.value.open() : "close" in L.value && L.value.close());
352
352
  });
353
353
  function ke() {
354
- A.value.showTable = !1, X.value && X.value.setTableIconState(!1);
354
+ _.value.showTable = !1, X.value && X.value.setTableIconState(!1);
355
355
  }
356
356
  const Je = d(() => fe.value.map((t) => ({
357
357
  ...t,
358
358
  name: t.display,
359
359
  shape: "circle"
360
- }))), Ze = d(() => e.value.style.chart.backgroundColor), et = d(() => e.value.style.chart.legend), tt = d(() => e.value.style.chart.title), { exportSvg: ot, getSvg: lt } = _t({
360
+ }))), Ze = d(() => e.value.style.chart.backgroundColor), et = d(() => e.value.style.chart.legend), tt = d(() => e.value.style.chart.title), { exportSvg: ot, getSvg: lt } = At({
361
361
  svg: Q,
362
362
  title: tt,
363
363
  legend: et,
@@ -371,7 +371,7 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
371
371
  } else
372
372
  ot();
373
373
  }
374
- return Le({
374
+ return Se({
375
375
  getData: Qe,
376
376
  getImage: Ye,
377
377
  generatePdf: he,
@@ -381,7 +381,7 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
381
381
  toggleTable: pe,
382
382
  toggleAnnotator: te,
383
383
  toggleFullscreen: me
384
- }), (t, l) => (r(), h("div", {
384
+ }), (t, l) => (r(), g("div", {
385
385
  class: we(`vue-data-ui-component vue-ui-mood-radar ${N.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
386
386
  ref_key: "moodRadarChart",
387
387
  ref: C,
@@ -398,14 +398,14 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
398
398
  active: W.value,
399
399
  onClose: te
400
400
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
401
- je.value ? (r(), h("div", {
401
+ je.value ? (r(), g("div", {
402
402
  key: 1,
403
403
  ref_key: "noTitle",
404
404
  ref: oe,
405
405
  class: "vue-data-ui-no-title-space",
406
406
  style: "height:36px; width: 100%;background:transparent"
407
407
  }, null, 512)) : c("", !0),
408
- e.value.style.chart.title.text ? (r(), h("div", {
408
+ e.value.style.chart.title.text ? (r(), g("div", {
409
409
  key: 2,
410
410
  ref_key: "chartTitle",
411
411
  ref: ae,
@@ -465,54 +465,61 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
465
465
  t.$slots.menuIcon ? {
466
466
  name: "menuIcon",
467
467
  fn: v(({ isOpen: o, color: i }) => [
468
- g(t.$slots, "menuIcon", z(G({ isOpen: o, color: i })), void 0, !0)
468
+ y(t.$slots, "menuIcon", z(G({ isOpen: o, color: i })), void 0, !0)
469
469
  ]),
470
470
  key: "0"
471
471
  } : void 0,
472
472
  t.$slots.optionPdf ? {
473
473
  name: "optionPdf",
474
474
  fn: v(() => [
475
- g(t.$slots, "optionPdf", {}, void 0, !0)
475
+ y(t.$slots, "optionPdf", {}, void 0, !0)
476
476
  ]),
477
477
  key: "1"
478
478
  } : void 0,
479
479
  t.$slots.optionCsv ? {
480
480
  name: "optionCsv",
481
481
  fn: v(() => [
482
- g(t.$slots, "optionCsv", {}, void 0, !0)
482
+ y(t.$slots, "optionCsv", {}, void 0, !0)
483
483
  ]),
484
484
  key: "2"
485
485
  } : void 0,
486
486
  t.$slots.optionImg ? {
487
487
  name: "optionImg",
488
488
  fn: v(() => [
489
- g(t.$slots, "optionImg", {}, void 0, !0)
489
+ y(t.$slots, "optionImg", {}, void 0, !0)
490
490
  ]),
491
491
  key: "3"
492
492
  } : void 0,
493
+ t.$slots.optionSvg ? {
494
+ name: "optionSvg",
495
+ fn: v(() => [
496
+ y(t.$slots, "optionSvg", {}, void 0, !0)
497
+ ]),
498
+ key: "4"
499
+ } : void 0,
493
500
  t.$slots.optionTable ? {
494
501
  name: "optionTable",
495
502
  fn: v(() => [
496
- g(t.$slots, "optionTable", {}, void 0, !0)
503
+ y(t.$slots, "optionTable", {}, void 0, !0)
497
504
  ]),
498
- key: "4"
505
+ key: "5"
499
506
  } : void 0,
500
507
  t.$slots.optionFullscreen ? {
501
508
  name: "optionFullscreen",
502
509
  fn: v(({ toggleFullscreen: o, isFullscreen: i }) => [
503
- g(t.$slots, "optionFullscreen", z(G({ toggleFullscreen: o, isFullscreen: i })), void 0, !0)
510
+ y(t.$slots, "optionFullscreen", z(G({ toggleFullscreen: o, isFullscreen: i })), void 0, !0)
504
511
  ]),
505
- key: "5"
512
+ key: "6"
506
513
  } : void 0,
507
514
  t.$slots.optionAnnotator ? {
508
515
  name: "optionAnnotator",
509
516
  fn: v(({ toggleAnnotator: o, isAnnotator: i }) => [
510
- g(t.$slots, "optionAnnotator", z(G({ toggleAnnotator: o, isAnnotator: i })), void 0, !0)
517
+ y(t.$slots, "optionAnnotator", z(G({ toggleAnnotator: o, isAnnotator: i })), void 0, !0)
511
518
  ]),
512
- key: "6"
519
+ key: "7"
513
520
  } : void 0
514
521
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
515
- (r(), h("svg", {
522
+ (r(), g("svg", {
516
523
  ref_key: "svgRef",
517
524
  ref: Q,
518
525
  xmlns: a(ht),
@@ -521,7 +528,7 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
521
528
  style: E(`overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
522
529
  }, [
523
530
  j(a(Be)),
524
- t.$slots["chart-background"] ? (r(), h("foreignObject", {
531
+ t.$slots["chart-background"] ? (r(), g("foreignObject", {
525
532
  key: 0,
526
533
  x: 0,
527
534
  y: 0,
@@ -531,7 +538,7 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
531
538
  pointerEvents: "none"
532
539
  }
533
540
  }, [
534
- g(t.$slots, "chart-background", {}, void 0, !0)
541
+ y(t.$slots, "chart-background", {}, void 0, !0)
535
542
  ], 8, Ft)) : c("", !0),
536
543
  s("defs", null, [
537
544
  s("radialGradient", {
@@ -552,7 +559,7 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
552
559
  }, null, 8, Rt)
553
560
  ], 8, Bt)
554
561
  ]),
555
- (r(!0), h($e, null, _e(J.value.coordinates, (o) => (r(), h("line", {
562
+ (r(!0), g($e, null, Ae(J.value.coordinates, (o) => (r(), g("line", {
556
563
  x1: n.value.width / 2,
557
564
  y1: n.value.height / 2,
558
565
  x2: o.x,
@@ -681,7 +688,7 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
681
688
  "stroke-linejoin": "round",
682
689
  fill: e.value.style.chart.layout.dataPolygon.gradient.show ? `url(#mood_radar_gradient_${b.value})` : a(x)(e.value.style.chart.layout.dataPolygon.color, e.value.style.chart.layout.dataPolygon.opacity)
683
690
  }, null, 8, lo),
684
- (r(!0), h($e, null, _e(Z.value.map((o) => o.plots), (o, i) => (r(), h("g", {
691
+ (r(!0), g($e, null, Ae(Z.value.map((o) => o.plots), (o, i) => (r(), g("g", {
685
692
  class: "vue-ui-mood-radar-trap",
686
693
  style: E(`opacity:${f.value == o.key ? "1" : "0"}`)
687
694
  }, [
@@ -738,10 +745,10 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
738
745
  r: e.value.style.chart.layout.dataLabel.roundingPercentage
739
746
  })) + ") ", 9, uo)
740
747
  ], 4))), 256)),
741
- g(t.$slots, "svg", { svg: n.value }, void 0, !0)
748
+ y(t.$slots, "svg", { svg: n.value }, void 0, !0)
742
749
  ], 14, Dt)),
743
- t.$slots.watermark ? (r(), h("div", io, [
744
- g(t.$slots, "watermark", z(G({ isPrinting: a(ve) || a(ye) })), void 0, !0)
750
+ t.$slots.watermark ? (r(), g("div", io, [
751
+ y(t.$slots, "watermark", z(G({ isPrinting: a(ve) || a(ye) })), void 0, !0)
745
752
  ])) : c("", !0),
746
753
  s("div", {
747
754
  id: `legend-bottom-${b.value}`
@@ -795,7 +802,7 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
795
802
  name: "moodHappy",
796
803
  stroke: e.value.style.chart.layout.smileys.colors[o.key]
797
804
  }, null, 8, ["stroke"])) : c("", !0),
798
- a(K) ? c("", !0) : (r(), h("span", {
805
+ a(K) ? c("", !0) : (r(), g("span", {
799
806
  key: 5,
800
807
  style: E({ fontWeight: e.value.style.chart.legend.bold ? "bold" : "normal" })
801
808
  }, R(o.display), 5))
@@ -803,20 +810,20 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
803
810
  ]),
804
811
  _: 1
805
812
  }, 8, ["legendSet", "config"])) : c("", !0),
806
- g(t.$slots, "legend", { legend: y.value }, void 0, !0)
813
+ y(t.$slots, "legend", { legend: h.value }, void 0, !0)
807
814
  ], 512)
808
815
  ], 8, ["to"])) : c("", !0),
809
- t.$slots.source ? (r(), h("div", {
816
+ t.$slots.source ? (r(), g("div", {
810
817
  key: 6,
811
818
  ref_key: "source",
812
819
  ref: ne,
813
820
  dir: "auto"
814
821
  }, [
815
- g(t.$slots, "source", {}, void 0, !0)
822
+ y(t.$slots, "source", {}, void 0, !0)
816
823
  ], 512)) : c("", !0),
817
824
  ue.value && e.value.userOptions.buttons.table ? (r(), k(ut(B.value.component), it({ key: 7 }, B.value.props, {
818
825
  ref_key: "tableUnit",
819
- ref: S,
826
+ ref: L,
820
827
  onClose: ke
821
828
  }), xe({
822
829
  content: v(() => [
@@ -836,7 +843,7 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
836
843
  }, null, 8, yo)
837
844
  ]),
838
845
  td: v(({ td: o }) => [
839
- Ae(R(o.name || o), 1)
846
+ _e(R(o.name || o), 1)
840
847
  ]),
841
848
  _: 1
842
849
  }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"])
@@ -846,7 +853,7 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
846
853
  e.value.table.useDialog ? {
847
854
  name: "title",
848
855
  fn: v(() => [
849
- Ae(R(B.value.title), 1)
856
+ _e(R(B.value.title), 1)
850
857
  ]),
851
858
  key: "0"
852
859
  } : void 0,
@@ -868,9 +875,9 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
868
875
  } : void 0
869
876
  ]), 1040)) : c("", !0),
870
877
  a(K) ? (r(), k(xt, { key: 8 })) : c("", !0)
871
- ], 46, St));
878
+ ], 46, Lt));
872
879
  }
873
- }, Po = /* @__PURE__ */ Lt(ho, [["__scopeId", "data-v-a940bb04"]]);
880
+ }, Po = /* @__PURE__ */ St(ho, [["__scopeId", "data-v-06c857b2"]]);
874
881
  export {
875
882
  Po as default
876
883
  };