vue-data-ui 2.14.2 → 2.14.3-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 (88) hide show
  1. package/README.md +17 -0
  2. package/dist/{Arrow-DNJvKMao.js → Arrow-DrUXalK1.js} +1 -1
  3. package/dist/{BaseDraggableDialog-XPll8ONG.js → BaseDraggableDialog-BBiAE4t8.js} +2 -2
  4. package/dist/{BaseIcon-D0Q4E4nY.js → BaseIcon-avTvifnO.js} +1 -1
  5. package/dist/{ColorPicker-CQl1kba_.js → ColorPicker-BAOfnFRQ.js} +2 -2
  6. package/dist/{DataTable-DzCoab4C.js → DataTable-D8n1mvaG.js} +2 -2
  7. package/dist/{Legend-DLJ9I-cg.js → Legend-Cpx0xSce.js} +4 -4
  8. package/dist/{NonSvgPenAndPaper-B0-XpttN.js → NonSvgPenAndPaper-ClnGCm8G.js} +3 -3
  9. package/dist/{PackageVersion-DrhYhyQR.js → PackageVersion-Bwu7jdjH.js} +2 -2
  10. package/dist/{PenAndPaper-BdnVqpO9.js → PenAndPaper-BzQcbTCN.js} +3 -3
  11. package/dist/{Shape-DdpwkHh8.js → Shape-D65xhJAN.js} +1 -1
  12. package/dist/{Slicer-B6mk6VRe.js → Slicer-DjwiDPEk.js} +14 -14
  13. package/dist/{SparkTooltip-DvS7F_gk.js → SparkTooltip-B8nH7aKM.js} +1 -1
  14. package/dist/{Title-xtSGHclp.js → Title-B71Dk29x.js} +1 -1
  15. package/dist/{Tooltip-D8swCIay.js → Tooltip-BuP-Tir7.js} +1 -1
  16. package/dist/{UserOptions-BbJkNcCM.js → UserOptions-fd2DeGS7.js} +2 -2
  17. package/dist/{dom-to-png-DrB0WHa5.js → dom-to-png-D7idYX2d.js} +1 -1
  18. package/dist/{img-CtqhCOnQ.js → img-CSeVuPYh.js} +1 -1
  19. package/dist/{index-DBYSSUsg.js → index-BzH6XFI9.js} +409 -394
  20. package/dist/{pdf-Cq3bf6D0.js → pdf-ksl9rS7r.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/{useNestedProp-Cu77c3W4.js → useNestedProp-CKM2gCr5.js} +1 -1
  23. package/dist/{usePrinter-xF9W73YL.js → usePrinter-C653sJjz.js} +2 -2
  24. package/dist/{vue-data-ui-BhsGEgCE.js → vue-data-ui-DdffTqYM.js} +63 -63
  25. package/dist/vue-data-ui.js +21 -21
  26. package/dist/{vue-ui-3d-bar-BiehKQpG.js → vue-ui-3d-bar-vdc7daf_.js} +5 -5
  27. package/dist/{vue-ui-accordion-CEZHj_of.js → vue-ui-accordion-Cjq4hqGi.js} +3 -3
  28. package/dist/{vue-ui-age-pyramid-CV3X9UIL.js → vue-ui-age-pyramid-CMFgIKLE.js} +5 -5
  29. package/dist/{vue-ui-annotator-C0tRqId7.js → vue-ui-annotator-BvODcd7y.js} +2 -2
  30. package/dist/{vue-ui-bullet-Dnzzp7eQ.js → vue-ui-bullet-BX73-v3g.js} +6 -6
  31. package/dist/{vue-ui-candlestick-HP8z-e20.js → vue-ui-candlestick-Ogvne-GG.js} +6 -6
  32. package/dist/{vue-ui-carousel-table-CIytKGfB.js → vue-ui-carousel-table-DXeRsoL_.js} +4 -4
  33. package/dist/{vue-ui-chestnut-jJ5DocEt.js → vue-ui-chestnut-DXDQOgbn.js} +4 -4
  34. package/dist/{vue-ui-chord-C2p48bdc.js → vue-ui-chord-CWStby-a.js} +7 -7
  35. package/dist/{vue-ui-circle-pack-Cm42Kre2.js → vue-ui-circle-pack-C4kdJPNJ.js} +5 -5
  36. package/dist/{vue-ui-cursor-DYOAowBf.js → vue-ui-cursor-Du4IVYWM.js} +2 -2
  37. package/dist/{vue-ui-dashboard-CqQ_erdb.js → vue-ui-dashboard-XpoAcLb4.js} +62 -62
  38. package/dist/{vue-ui-digits-Ckblhu11.js → vue-ui-digits-Ce_eR3L5.js} +2 -2
  39. package/dist/{vue-ui-donut-6ioyEN3H.js → vue-ui-donut-D6VPixUt.js} +111 -111
  40. package/dist/{vue-ui-donut-evolution-DcpDJ9Nx.js → vue-ui-donut-evolution-C3MA75pG.js} +309 -293
  41. package/dist/{vue-ui-dumbbell-Bs6C9JZw.js → vue-ui-dumbbell-CeQOb65i.js} +6 -6
  42. package/dist/{vue-ui-flow-2PtX-g_5.js → vue-ui-flow-D-_7gBhg.js} +26 -26
  43. package/dist/{vue-ui-funnel-DnjXDXiD.js → vue-ui-funnel-BsXNYzPK.js} +5 -5
  44. package/dist/{vue-ui-galaxy-C15I7QgX.js → vue-ui-galaxy--N2CYrWl.js} +4 -4
  45. package/dist/{vue-ui-gauge-C4ukJ9LH.js → vue-ui-gauge-DhKGlAJd.js} +5 -5
  46. package/dist/{vue-ui-gizmo-CV03sWPz.js → vue-ui-gizmo-Bcwgwj-f.js} +3 -3
  47. package/dist/{vue-ui-heatmap-C-9U8urH.js → vue-ui-heatmap-BlY7-ZUF.js} +6 -6
  48. package/dist/{vue-ui-history-plot-CctIOnX8.js → vue-ui-history-plot-typzqDiw.js} +234 -210
  49. package/dist/{vue-ui-kpi-D8DQ02cm.js → vue-ui-kpi-Cj_96Iru.js} +3 -3
  50. package/dist/{vue-ui-mini-loader-DpwNHrxl.js → vue-ui-mini-loader-Dr42qu-K.js} +2 -2
  51. package/dist/{vue-ui-molecule-je8BUEgl.js → vue-ui-molecule-DfQCNRcr.js} +16 -16
  52. package/dist/{vue-ui-mood-radar-DUwpDrKf.js → vue-ui-mood-radar-ChryER9p.js} +19 -19
  53. package/dist/{vue-ui-nested-donuts-CcIiH5y3.js → vue-ui-nested-donuts-CWm-A-co.js} +46 -46
  54. package/dist/{vue-ui-onion-B3ciM-zx.js → vue-ui-onion-Bb8s5St0.js} +6 -6
  55. package/dist/{vue-ui-parallel-coordinate-plot-C4jC8sCn.js → vue-ui-parallel-coordinate-plot-DcD53HSq.js} +188 -171
  56. package/dist/{vue-ui-quadrant--xMPLV7W.js → vue-ui-quadrant-CpuFmTG9.js} +243 -225
  57. package/dist/{vue-ui-quick-chart-Bce5gdOB.js → vue-ui-quick-chart-BHO_J8Tc.js} +369 -353
  58. package/dist/{vue-ui-radar-Bs4DRm4L.js → vue-ui-radar-LsSH7YAg.js} +45 -45
  59. package/dist/{vue-ui-rating-BjP1BHbM.js → vue-ui-rating-rcN8C68M.js} +8 -8
  60. package/dist/{vue-ui-relation-circle-D9P-zdmr.js → vue-ui-relation-circle-CmZ8rXwC.js} +5 -5
  61. package/dist/{vue-ui-ridgeline-DmNbKyms.js → vue-ui-ridgeline-CpXWT3tk.js} +185 -165
  62. package/dist/{vue-ui-rings-BebupVaJ.js → vue-ui-rings-x_HCzzIw.js} +7 -7
  63. package/dist/{vue-ui-scatter-cQ-Eu6ff.js → vue-ui-scatter-DNgUU2mO.js} +49 -49
  64. package/dist/{vue-ui-skeleton-BJy7bURO.js → vue-ui-skeleton-qa5B2MES.js} +3 -3
  65. package/dist/{vue-ui-smiley-D5QHdm68.js → vue-ui-smiley-C0DEaxQK.js} +2 -2
  66. package/dist/{vue-ui-spark-trend-CP5l6hCt.js → vue-ui-spark-trend-DjctYLri.js} +3 -3
  67. package/dist/{vue-ui-sparkbar-CW95uw6O.js → vue-ui-sparkbar-Un3CJINy.js} +3 -3
  68. package/dist/{vue-ui-sparkgauge-a4VbU8l_.js → vue-ui-sparkgauge-BascS5LC.js} +8 -8
  69. package/dist/{vue-ui-sparkhistogram-Bu2URfSJ.js → vue-ui-sparkhistogram-CZYnWAUW.js} +4 -4
  70. package/dist/{vue-ui-sparkline-TItbUk-X.js → vue-ui-sparkline-DyIDPpiz.js} +11 -11
  71. package/dist/{vue-ui-sparkstackbar-B7hTZ5lP.js → vue-ui-sparkstackbar-Ctz_OFbi.js} +3 -3
  72. package/dist/{vue-ui-stackbar-Dsdwa6lC.js → vue-ui-stackbar-DqIv6O-t.js} +417 -373
  73. package/dist/{vue-ui-strip-plot-8t8ozRzt.js → vue-ui-strip-plot-BAfdL6Ih.js} +202 -184
  74. package/dist/{vue-ui-table-CFn0ptr3.js → vue-ui-table-CCMkrVp7.js} +3 -3
  75. package/dist/{vue-ui-table-heatmap-By7Epu_x.js → vue-ui-table-heatmap--gO5Zuyp.js} +18 -18
  76. package/dist/{vue-ui-table-sparkline-CXqoNu29.js → vue-ui-table-sparkline-5HTiQPhC.js} +4 -4
  77. package/dist/{vue-ui-thermometer-XTsctSeT.js → vue-ui-thermometer-BbxNtsdP.js} +5 -5
  78. package/dist/{vue-ui-timer-LsMK3baq.js → vue-ui-timer-DwUmt-Jo.js} +5 -5
  79. package/dist/{vue-ui-tiremarks-Dmqxy_za.js → vue-ui-tiremarks-YyiGuluO.js} +5 -5
  80. package/dist/{vue-ui-treemap-CBK79HgE.js → vue-ui-treemap-hHSyoGry.js} +7 -7
  81. package/dist/{vue-ui-vertical-bar-s0W_ZvXa.js → vue-ui-vertical-bar-Bjyjarmi.js} +8 -8
  82. package/dist/{vue-ui-waffle-DYSvsk-v.js → vue-ui-waffle-B3lfeeZs.js} +246 -242
  83. package/dist/{vue-ui-wheel-ffWrYzpO.js → vue-ui-wheel-DrVnxe3n.js} +5 -5
  84. package/dist/{vue-ui-word-cloud-DMtRVU6x.js → vue-ui-word-cloud-CRFfYl4B.js} +15 -15
  85. package/dist/{vue-ui-world-DPT1WnyR.js → vue-ui-world-BeVT9bsc.js} +5 -5
  86. package/dist/{vue-ui-xy-BhuRQnpn.js → vue-ui-xy-B6LjQd7h.js} +591 -570
  87. package/dist/{vue-ui-xy-canvas-BaqwCoBL.js → vue-ui-xy-canvas-DviTudRz.js} +7 -7
  88. package/package.json +1 -1
@@ -1,25 +1,25 @@
1
- import { defineAsyncComponent as E, computed as m, ref as h, onMounted as kt, watch as Xe, createElementBlock as n, openBlock as o, unref as r, normalizeStyle as ee, normalizeClass as D, createBlock as P, createCommentVNode as c, renderSlot as z, createSlots as Ct, withCtx as _, normalizeProps as j, guardReactiveProps as Y, createVNode as _t, createElementVNode as w, Fragment as L, renderList as A, toDisplayString as p, createTextVNode as de, nextTick as q } from "vue";
2
- import { u as wt, o as St, e as te, g as $t, c as Ge, t as zt, p as le, a as Lt, C as We, b as At, d as he, H as It, D as je, m as ye, X as Nt, s as J, E as Pt, i as ge, f as ae, j as Dt, k as Ft, n as Ye, q as Ot, r as Et, I as qe, J as Tt } from "./index-DBYSSUsg.js";
1
+ import { defineAsyncComponent as T, computed as m, ref as h, onMounted as kt, watch as Xe, createElementBlock as n, openBlock as a, unref as r, normalizeStyle as ee, normalizeClass as P, createBlock as F, createCommentVNode as c, renderSlot as z, createSlots as Ct, withCtx as w, normalizeProps as j, guardReactiveProps as Y, createVNode as _t, createElementVNode as L, Fragment as $, renderList as I, toDisplayString as x, createTextVNode as de, nextTick as q } from "vue";
2
+ import { u as wt, o as Lt, e as te, g as St, c as Ge, t as At, p as le, a as zt, C as We, b as $t, d as he, H as It, D as je, m as ye, X as Nt, s as J, E as Ft, i as fe, f as ae, I as Pt, j as Dt, k as Ot, n as Ye, q as Tt, r as Et, J as qe, K as Ht } from "./index-BzH6XFI9.js";
3
3
  import { u as Vt } from "./useChartAccessibility-9icAAmYg.js";
4
- import { u as Je } from "./useNestedProp-Cu77c3W4.js";
5
- import { u as Ht } from "./usePrinter-xF9W73YL.js";
4
+ import { u as Je } from "./useNestedProp-CKM2gCr5.js";
5
+ import { u as Mt } from "./usePrinter-C653sJjz.js";
6
6
  import { u as Rt } from "./useTimeLabels-Mrr0jrpL.js";
7
- import { u as Mt } from "./useUserOptionState-BIvW1Kz7.js";
8
- import Ut from "./Legend-DLJ9I-cg.js";
9
- import { S as Bt } from "./Slicer-B6mk6VRe.js";
10
- import Xt from "./Title-xtSGHclp.js";
11
- import { _ as Gt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
- const Wt = ["id"], jt = ["xmlns", "viewBox"], Yt = ["x", "y", "width", "height"], qt = ["id"], Jt = ["stop-color"], Kt = ["stop-color"], Qt = ["id"], Zt = ["stop-color"], el = ["stop-color"], tl = ["stop-color"], ll = { key: 1 }, al = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ol = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ul = { key: 0 }, nl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], sl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], rl = ["x", "y", "font-size", "fill", "font-weight"], il = {
7
+ import { u as Ut } from "./useUserOptionState-BIvW1Kz7.js";
8
+ import Bt from "./Legend-Cpx0xSce.js";
9
+ import { S as Xt } from "./Slicer-DjwiDPEk.js";
10
+ import Gt from "./Title-B71Dk29x.js";
11
+ import { _ as Wt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
+ const jt = ["id"], Yt = ["xmlns", "viewBox"], qt = ["x", "y", "width", "height"], Jt = ["id"], Kt = ["stop-color"], Qt = ["stop-color"], Zt = ["id"], el = ["stop-color"], tl = ["stop-color"], ll = ["stop-color"], al = { key: 1 }, ol = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ul = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], nl = { key: 0 }, sl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], rl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], il = ["x", "y", "font-size", "fill", "font-weight"], cl = {
13
13
  key: 3,
14
- class: /* @__PURE__ */ D({ "donut-opacity": !0 })
15
- }, cl = ["text-anchor", "font-size", "fill", "transform"], vl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], dl = { key: 1 }, hl = ["cx", "cy", "r", "fill"], yl = { key: 0 }, gl = { key: 0 }, fl = ["d", "stroke"], ml = ["text-anchor", "x", "y", "fill"], bl = ["cx", "cy", "r", "fill"], pl = { key: 0 }, xl = ["cx", "cy", "fill"], kl = { key: 1 }, Cl = ["d", "fill", "stroke"], _l = { key: 2 }, wl = ["d", "fill", "stroke"], Sl = ["x", "y", "font-size", "fill"], $l = ["x", "y", "width", "height", "fill"], zl = ["x", "y", "width", "height", "onMouseenter", "onClick"], Ll = {
14
+ class: /* @__PURE__ */ P({ "donut-opacity": !0 })
15
+ }, vl = { key: 0 }, dl = ["text-anchor", "font-size", "fill", "transform"], hl = ["text-anchor", "font-size", "fill", "transform", "innerHTML"], yl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], fl = { key: 1 }, gl = ["cx", "cy", "r", "fill"], ml = { key: 0 }, bl = { key: 0 }, pl = ["d", "stroke"], xl = ["text-anchor", "x", "y", "fill"], kl = ["cx", "cy", "r", "fill"], Cl = { key: 0 }, _l = ["cx", "cy", "fill"], wl = { key: 1 }, Ll = ["d", "fill", "stroke"], Sl = { key: 2 }, Al = ["d", "fill", "stroke"], zl = ["x", "y", "font-size", "fill"], $l = ["x", "y", "width", "height", "fill"], Il = ["x", "y", "width", "height", "onMouseenter", "onClick"], Nl = {
16
16
  key: 5,
17
17
  class: "vue-data-ui-watermark"
18
- }, Al = ["onClick"], Il = { key: 0 }, Nl = { key: 1 }, Pl = {
18
+ }, Fl = ["onClick"], Pl = { key: 0 }, Dl = { key: 1 }, Ol = {
19
19
  key: 9,
20
20
  ref: "source",
21
21
  dir: "auto"
22
- }, Dl = { key: 0 }, Fl = { key: 1 }, Ol = {
22
+ }, Tl = { key: 0 }, El = { key: 1 }, Hl = {
23
23
  __name: "vue-ui-donut-evolution",
24
24
  props: {
25
25
  config: {
@@ -37,33 +37,33 @@ const Wt = ["id"], jt = ["xmlns", "viewBox"], Yt = ["x", "y", "width", "height"]
37
37
  },
38
38
  emits: ["selectLegend"],
39
39
  setup(Ke, { expose: Qe, emit: Ze }) {
40
- const et = E(() => import("./vue-ui-accordion-CEZHj_of.js")), tt = E(() => import("./BaseDraggableDialog-XPll8ONG.js")), lt = E(() => import("./DataTable-DzCoab4C.js")), at = E(() => import("./PackageVersion-DrhYhyQR.js")), ot = E(() => import("./PenAndPaper-BdnVqpO9.js")), ut = E(() => import("./vue-ui-skeleton-BJy7bURO.js")), nt = E(() => import("./UserOptions-BbJkNcCM.js")), st = E(() => import("./vue-ui-donut-6ioyEN3H.js")), { vue_ui_donut_evolution: rt } = wt(), b = Ke, K = m(() => !!b.dataset && b.dataset.length), y = h({
40
+ const et = T(() => import("./vue-ui-accordion-Cjq4hqGi.js")), tt = T(() => import("./BaseDraggableDialog-BBiAE4t8.js")), lt = T(() => import("./DataTable-D8n1mvaG.js")), at = T(() => import("./PackageVersion-Bwu7jdjH.js")), ot = T(() => import("./PenAndPaper-BzQcbTCN.js")), ut = T(() => import("./vue-ui-skeleton-qa5B2MES.js")), nt = T(() => import("./UserOptions-fd2DeGS7.js")), st = T(() => import("./vue-ui-donut-D6VPixUt.js")), { vue_ui_donut_evolution: rt } = wt(), b = Ke, K = m(() => !!b.dataset && b.dataset.length), y = h({
41
41
  start: 0,
42
42
  end: Math.max(...b.dataset.map((t) => t.values.length))
43
43
  });
44
- function fe() {
44
+ function ge() {
45
45
  me();
46
46
  }
47
- const V = h(null);
47
+ const H = h(null);
48
48
  async function me() {
49
- (e.value.style.chart.zoom.startIndex !== null || e.value.style.chart.zoom.endIndex !== null) && V.value ? (e.value.style.chart.zoom.startIndex !== null && (await q(), await q(), V.value && V.value.setStartValue(e.value.style.chart.zoom.startIndex)), e.value.style.chart.zoom.endIndex !== null && (await q(), await q(), V.value && V.value.setEndValue(it(e.value.style.chart.zoom.endIndex + 1)))) : (y.value = {
49
+ (e.value.style.chart.zoom.startIndex !== null || e.value.style.chart.zoom.endIndex !== null) && H.value ? (e.value.style.chart.zoom.startIndex !== null && (await q(), await q(), H.value && H.value.setStartValue(e.value.style.chart.zoom.startIndex)), e.value.style.chart.zoom.endIndex !== null && (await q(), await q(), H.value && H.value.setEndValue(it(e.value.style.chart.zoom.endIndex + 1)))) : (y.value = {
50
50
  start: 0,
51
51
  end: O.value
52
52
  }, xe.value += 1);
53
53
  }
54
54
  function it(t) {
55
- const a = O.value;
56
- return t > a ? a : t < 0 || e.value.style.chart.zoom.startIndex !== null && t < e.value.style.chart.zoom.startIndex ? e.value.style.chart.zoom.startIndex !== null ? e.value.style.chart.zoom.startIndex + 1 : 1 : t;
55
+ const o = O.value;
56
+ return t > o ? o : t < 0 || e.value.style.chart.zoom.startIndex !== null && t < e.value.style.chart.zoom.startIndex ? e.value.style.chart.zoom.startIndex !== null ? e.value.style.chart.zoom.startIndex + 1 : 1 : t;
57
57
  }
58
58
  kt(() => {
59
59
  be();
60
60
  });
61
61
  function be() {
62
- St(b.dataset) ? te({
62
+ Lt(b.dataset) ? te({
63
63
  componentName: "VueUiDonutEvolution",
64
64
  type: "dataset"
65
- }) : b.dataset.length && b.dataset.forEach((t, a) => {
66
- $t({
65
+ }) : b.dataset.length && b.dataset.forEach((t, o) => {
66
+ St({
67
67
  datasetObject: t,
68
68
  requiredAttributes: ["name", "values"]
69
69
  }).forEach((l) => {
@@ -71,39 +71,39 @@ const Wt = ["id"], jt = ["xmlns", "viewBox"], Yt = ["x", "y", "width", "height"]
71
71
  componentName: "VueUiDonutEvolution",
72
72
  type: "datasetSerieAttribute",
73
73
  property: l,
74
- index: a
74
+ index: o
75
75
  });
76
76
  });
77
77
  }), me();
78
78
  }
79
- const H = h(Ge()), x = h([]), g = h(null), Q = h(null), oe = h(!1), T = h(null), ue = h(null), ct = h(null), pe = h(0), xe = h(0), ke = h(0), Ce = h(0), _e = h(0), we = Ze, e = m({
80
- get: () => Le(),
79
+ const V = h(Ge()), k = h([]), f = h(null), Q = h(null), oe = h(!1), E = h(null), ue = h(null), ct = h(null), pe = h(0), xe = h(0), ke = h(0), Ce = h(0), _e = h(0), we = Ze, e = m({
80
+ get: () => ze(),
81
81
  set: (t) => t
82
- }), { userOptionsVisible: ne, setUserOptionsVisibility: Se, keepUserOptionState: $e } = Mt({ config: e.value }), { svgRef: ze } = Vt({ config: e.value.style.chart.title });
83
- function Le() {
82
+ }), { userOptionsVisible: ne, setUserOptionsVisibility: Le, keepUserOptionState: Se } = Ut({ config: e.value }), { svgRef: Ae } = Vt({ config: e.value.style.chart.title });
83
+ function ze() {
84
84
  const t = Je({
85
85
  userConfig: b.config,
86
86
  defaultConfig: rt
87
87
  });
88
- let a = {};
89
- return t.theme ? a = {
88
+ let o = {};
89
+ return t.theme ? o = {
90
90
  ...Je({
91
- userConfig: Lt.vue_ui_donut_evolution[t.theme] || b.config,
91
+ userConfig: zt.vue_ui_donut_evolution[t.theme] || b.config,
92
92
  defaultConfig: t
93
93
  }),
94
- customPalette: zt[t.theme] || le
95
- } : a = t, b.config && We(b.config, "style.chart.zoom.startIndex") ? a.style.chart.zoom.startIndex = b.config.style.chart.zoom.startIndex : a.style.chart.zoom.startIndex = null, b.config && We(b.config, "style.chart.zoom.endIndex") ? a.style.chart.zoom.endIndex = b.config.style.chart.zoom.endIndex : a.style.chart.zoom.endIndex = null, a;
94
+ customPalette: At[t.theme] || le
95
+ } : o = t, b.config && We(b.config, "style.chart.zoom.startIndex") ? o.style.chart.zoom.startIndex = b.config.style.chart.zoom.startIndex : o.style.chart.zoom.startIndex = null, b.config && We(b.config, "style.chart.zoom.endIndex") ? o.style.chart.zoom.endIndex = b.config.style.chart.zoom.endIndex : o.style.chart.zoom.endIndex = null, o;
96
96
  }
97
97
  Xe(() => b.config, (t) => {
98
- e.value = Le(), ne.value = !e.value.userOptions.showOnChartHover, be(), ke.value += 1, Ce.value += 1, _e.value += 1, X.value.showTable = e.value.table.show;
98
+ e.value = ze(), ne.value = !e.value.userOptions.showOnChartHover, be(), ke.value += 1, Ce.value += 1, _e.value += 1, X.value.showTable = e.value.table.show;
99
99
  }, { deep: !0 }), Xe(() => b.dataset, (t) => {
100
- fe();
100
+ ge();
101
101
  }, { deep: !0 });
102
- const { isPrinting: Ae, isImaging: Ie, generatePdf: Ne, generateImage: Pe } = Ht({
103
- elementId: H.value,
102
+ const { isPrinting: $e, isImaging: Ie, generatePdf: Ne, generateImage: Fe } = Mt({
103
+ elementId: V.value,
104
104
  fileName: e.value.style.chart.title.text || "vue-ui-donut-evolution",
105
105
  options: e.value.userOptions.print
106
- }), vt = m(() => e.value.userOptions.show && !e.value.style.chart.title.text), dt = m(() => At(e.value.customPalette)), X = h({
106
+ }), vt = m(() => e.value.userOptions.show && !e.value.style.chart.title.text), dt = m(() => $t(e.value.customPalette)), X = h({
107
107
  showTable: e.value.table.show
108
108
  }), i = m(() => ({
109
109
  top: e.value.style.chart.layout.padding.top,
@@ -111,89 +111,89 @@ const Wt = ["id"], jt = ["xmlns", "viewBox"], Yt = ["x", "y", "width", "height"]
111
111
  bottom: e.value.style.chart.layout.padding.bottom,
112
112
  left: e.value.style.chart.layout.padding.left
113
113
  })), v = m(() => {
114
- const t = e.value.style.chart.layout.height, a = e.value.style.chart.layout.width, l = t - i.value.top - i.value.bottom, s = a - i.value.left - i.value.right;
114
+ const t = e.value.style.chart.layout.height, o = e.value.style.chart.layout.width, l = t - i.value.top - i.value.bottom, s = o - i.value.left - i.value.right;
115
115
  return {
116
116
  absoluteHeight: t,
117
- absoluteWidth: a,
117
+ absoluteWidth: o,
118
118
  centerX: i.value.left + s / 2,
119
119
  centerY: i.value.top + l / 2,
120
120
  height: l,
121
121
  width: s
122
122
  };
123
- }), F = m(() => (b.dataset.forEach((t, a) => {
123
+ }), D = m(() => (b.dataset.forEach((t, o) => {
124
124
  [null, void 0].includes(t.name) && te({
125
125
  componentName: "VueUiDonutEvolution",
126
126
  type: "datasetSerieAttribute",
127
127
  property: "name",
128
- index: a
128
+ index: o
129
129
  }), [null, void 0].includes(t.values) && te({
130
130
  componentName: "VueUiDonutEvolution",
131
131
  type: "datasetSerieAttribute",
132
132
  property: "values",
133
- index: a
133
+ index: o
134
134
  });
135
- }), b.dataset.map((t, a) => ({
135
+ }), b.dataset.map((t, o) => ({
136
136
  ...t,
137
137
  values: It(t.values),
138
- color: he(t.color) || dt.value[a] || le[a] || le[a % le.length],
138
+ color: he(t.color) || dt.value[o] || le[o] || le[o % le.length],
139
139
  length: (t.values || []).length,
140
140
  uid: Ge()
141
- })))), G = m(() => F.value.filter((t) => !x.value.includes(t.uid)).map((t) => ({
141
+ })))), G = m(() => D.value.filter((t) => !k.value.includes(t.uid)).map((t) => ({
142
142
  ...t,
143
- values: t.values.filter((a, l) => l >= y.value.start && l <= y.value.end)
144
- }))), O = m(() => Math.max(...G.value.map((t) => t.length))), N = m(() => Rt({
143
+ values: t.values.filter((o, l) => l >= y.value.start && l <= y.value.end)
144
+ }))), O = m(() => Math.max(...G.value.map((t) => t.length))), S = m(() => Rt({
145
145
  values: e.value.style.chart.layout.grid.xAxis.dataLabels.values,
146
146
  maxDatapoints: O.value,
147
147
  formatter: e.value.style.chart.layout.grid.xAxis.dataLabels.datetimeFormatter,
148
148
  start: y.value.start,
149
149
  end: y.value.end
150
- })), S = m(() => v.value.width / (y.value.end - y.value.start)), k = m(() => {
150
+ })), p = m(() => v.value.width / (y.value.end - y.value.start)), C = m(() => {
151
151
  const t = [];
152
152
  for (let u = 0; u < y.value.end - y.value.start; u += 1) {
153
- const f = G.value.map((I) => I.values[u] ?? null), d = f.filter((I) => [void 0, null].includes(I)).length === f.length, C = f.reduce((I, $) => I + $, 0), ve = f.map((I) => I / C), B = i.value.left + S.value * u + S.value / 2;
153
+ const g = G.value.map((N) => N.values[u] ?? null), d = g.filter((N) => [void 0, null].includes(N)).length === g.length, _ = g.reduce((N, A) => N + A, 0), ve = g.map((N) => N / _), B = i.value.left + p.value * u + p.value / 2;
154
154
  t.push({
155
155
  index: u,
156
156
  percentages: ve,
157
- subtotal: d || C < 0 ? null : C,
158
- values: f,
157
+ subtotal: d || _ < 0 ? null : _,
158
+ values: g,
159
159
  x: B
160
160
  });
161
161
  }
162
- const a = 0, l = Math.max(...t.map((u) => u.subtotal)), s = t.length === 1 ? l * 2 : l;
163
- return t.map((u, f) => {
164
- const d = S.value / 2 * 0.7, C = d > v.value.width / 16 ? v.value.width / 16 : d, ve = g.value === u.index ? v.value.width / 16 : C, B = t.length > 4 ? d * 2 : d * 2 > S.value / 2 * 0.7 ? S.value / 2 * 0.7 : d * 2, I = v.value.absoluteHeight - i.value.bottom - v.value.height * u.subtotal / je(a, s, e.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;
162
+ const o = 0, l = Math.max(...t.map((u) => u.subtotal)), s = t.length === 1 ? l * 2 : l;
163
+ return t.map((u, g) => {
164
+ const d = p.value / 2 * 0.7, _ = d > v.value.width / 16 ? v.value.width / 16 : d, ve = f.value === u.index ? v.value.width / 16 : _, B = t.length > 4 ? d * 2 : d * 2 > p.value / 2 * 0.7 ? p.value / 2 * 0.7 : d * 2, N = v.value.absoluteHeight - i.value.bottom - v.value.height * u.subtotal / je(o, s, e.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;
165
165
  return {
166
166
  ...u,
167
- y: I,
168
- radius: C,
167
+ y: N,
168
+ radius: _,
169
169
  activeRadius: ve,
170
170
  hoverRadius: B,
171
171
  donut: ye({
172
- series: G.value.map(($, Be) => ({
173
- color: $.color,
174
- name: $.name,
175
- value: $.values[f] ?? 0
172
+ series: G.value.map((A, Be) => ({
173
+ color: A.color,
174
+ name: A.name,
175
+ value: A.values[g] ?? 0
176
176
  }))
177
- }, u.x, I, C, C, 1.99999, 2, 1, 360, 105.25, C / 2),
177
+ }, u.x, N, _, _, 1.99999, 2, 1, 360, 105.25, _ / 2),
178
178
  donutHover: ye({
179
- series: G.value.map(($, Be) => ({
180
- color: $.color,
181
- name: $.name,
182
- value: $.values[f] ?? 0
179
+ series: G.value.map((A, Be) => ({
180
+ color: A.color,
181
+ name: A.name,
182
+ value: A.values[g] ?? 0
183
183
  }))
184
- }, u.x, I, B, B, 1.99999, 2, 1, 360, 105.25, B / 2),
184
+ }, u.x, N, B, B, 1.99999, 2, 1, 360, 105.25, B / 2),
185
185
  donutFocus: ye({
186
- series: G.value.map(($, Be) => ({
187
- color: $.color,
188
- name: $.name,
189
- value: $.values[f] ?? 0
186
+ series: G.value.map((A, Be) => ({
187
+ color: A.color,
188
+ name: A.name,
189
+ value: A.values[g] ?? 0
190
190
  }))
191
191
  }, v.value.centerX, v.value.centerY, v.value.height / 3.6, v.value.height / 3.6, 1.99999, 2, 1, 360, 105.25, v.value.height / 6)
192
192
  };
193
193
  });
194
194
  });
195
- function De(t, a, l) {
196
- return ge(
195
+ function Pe(t, o, l) {
196
+ return fe(
197
197
  e.value.style.chart.layout.dataLabels.formatter,
198
198
  t,
199
199
  ae({
@@ -202,48 +202,48 @@ const Wt = ["id"], jt = ["xmlns", "viewBox"], Yt = ["x", "y", "width", "height"]
202
202
  s: e.value.style.chart.layout.dataLabels.suffix,
203
203
  r: e.value.style.chart.layout.dataLabels.rounding
204
204
  }),
205
- { datapoint: a, index: l }
205
+ { datapoint: o, index: l }
206
206
  );
207
207
  }
208
208
  const se = m(() => ({
209
- max: Math.max(...k.value.map((t) => t.subtotal)),
209
+ max: Math.max(...C.value.map((t) => t.subtotal)),
210
210
  min: 0
211
- })), R = m(() => {
212
- const t = k.value.length === 1 ? se.value.max * 2 : se.value.max;
211
+ })), M = m(() => {
212
+ const t = C.value.length === 1 ? se.value.max * 2 : se.value.max;
213
213
  return je(se.value.min, t, e.value.style.chart.layout.grid.yAxis.dataLabels.steps);
214
214
  });
215
215
  function ht(t) {
216
- return t / R.value.max;
216
+ return t / M.value.max;
217
217
  }
218
- const yt = m(() => R.value.ticks.map((t) => ({
218
+ const yt = m(() => M.value.ticks.map((t) => ({
219
219
  y: v.value.absoluteHeight - i.value.bottom - v.value.height * ht(t),
220
220
  value: t
221
221
  })));
222
- function gt(t, a) {
223
- return isNaN(t.value / qe(a, "value")) ? 0 : (t.value / qe(a, "value") * 100).toFixed(0) + "%";
222
+ function ft(t, o) {
223
+ return isNaN(t.value / qe(o, "value")) ? 0 : (t.value / qe(o, "value") * 100).toFixed(0) + "%";
224
224
  }
225
- function Fe() {
226
- g.value = null, Q.value = null;
225
+ function De() {
226
+ f.value = null, Q.value = null;
227
227
  }
228
- function ft(t) {
229
- g.value = t.index, Q.value = t;
228
+ function gt(t) {
229
+ f.value = t.index, Q.value = t;
230
230
  }
231
231
  const W = h(null);
232
- function Oe(t, a) {
233
- !t.subtotal || !e.value.style.chart.dialog.show || (Q.value = null, g.value = null, oe.value = !0, T.value = t, xt(t), [null, void 0].includes(a) || (W.value = a));
232
+ function Oe(t, o) {
233
+ !t.subtotal || !e.value.style.chart.dialog.show || (Q.value = null, f.value = null, oe.value = !0, E.value = t, xt(t), [null, void 0].includes(o) || (W.value = o));
234
234
  }
235
- const Ee = m(() => F.value.map((t, a) => ({
235
+ const Te = m(() => D.value.map((t, o) => ({
236
236
  name: t.name,
237
237
  value: t.values.slice(y.value.start, y.value.end).reduce((l, s) => l + s, 0),
238
238
  shape: "circle",
239
239
  uid: t.uid,
240
240
  color: t.color
241
- })).sort((t, a) => a.value - t.value).map((t) => ({
241
+ })).sort((t, o) => o.value - t.value).map((t) => ({
242
242
  ...t,
243
- opacity: x.value.includes(t.uid) ? 0.5 : 1,
243
+ opacity: k.value.includes(t.uid) ? 0.5 : 1,
244
244
  segregate: () => re(t.uid),
245
- isSegregated: x.value.includes(t.uid)
246
- }))), Te = m(() => k.value.map((t) => t.subtotal).reduce((t, a) => t + a, 0)), mt = m(() => ({
245
+ isSegregated: k.value.includes(t.uid)
246
+ }))), Ee = m(() => C.value.map((t) => t.subtotal).reduce((t, o) => t + o, 0)), mt = m(() => ({
247
247
  cy: "donut-div-legend",
248
248
  backgroundColor: e.value.style.chart.legend.backgroundColor,
249
249
  color: e.value.style.chart.legend.color,
@@ -252,26 +252,26 @@ const Wt = ["id"], jt = ["xmlns", "viewBox"], Yt = ["x", "y", "width", "height"]
252
252
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
253
253
  }));
254
254
  function re(t) {
255
- if (x.value.includes(t))
256
- x.value = x.value.filter((a) => a !== t), we("selectLegend", null);
255
+ if (k.value.includes(t))
256
+ k.value = k.value.filter((o) => o !== t), we("selectLegend", null);
257
257
  else {
258
- if (x.value.length === F.value.length - 1) return;
259
- x.value.push(t), we("selectLegend", F.value.find((a) => a.uid === t));
258
+ if (k.value.length === D.value.length - 1) return;
259
+ k.value.push(t), we("selectLegend", D.value.find((o) => o.uid === t));
260
260
  }
261
- T.value && Oe(k.value.find((a, l) => l === W.value));
261
+ E.value && Oe(C.value.find((o, l) => l === W.value));
262
262
  }
263
- const M = m(() => {
264
- const t = [""].concat(F.value.filter((u) => !x.value.includes(u.uid)).map((u) => ({
263
+ const R = m(() => {
264
+ const t = [""].concat(D.value.filter((u) => !k.value.includes(u.uid)).map((u) => ({
265
265
  name: u.name,
266
266
  color: u.color
267
267
  }))).concat(["Σ"]);
268
- let a = [];
268
+ let o = [];
269
269
  for (let u = 0; u < O.value; u += 1) {
270
- const f = F.value.filter((d) => !x.value.includes(d.uid)).map((d) => d.values[u] ?? 0).reduce((d, C) => d + C, 0);
271
- a.push([N[u] ? N[u].text : "-"].concat(F.value.filter((d) => !x.value.includes(d.uid)).map((d) => ({
270
+ const g = D.value.filter((d) => !k.value.includes(d.uid)).map((d) => d.values[u] ?? 0).reduce((d, _) => d + _, 0);
271
+ o.push([S[u] ? S[u].text : "-"].concat(D.value.filter((d) => !k.value.includes(d.uid)).map((d) => ({
272
272
  value: d.values[u] ?? 0,
273
- percentage: d.values[u] ? d.values[u] / f * 100 : 0
274
- }))).concat([`${e.value.style.chart.layout.dataLabels.prefix}${Number(f.toFixed(e.value.table.td.roundingValue))}${e.value.style.chart.layout.dataLabels.suffix}`]));
273
+ percentage: d.values[u] ? d.values[u] / g * 100 : 0
274
+ }))).concat([`${e.value.style.chart.layout.dataLabels.prefix}${Number(g.toFixed(e.value.table.td.roundingValue))}${e.value.style.chart.layout.dataLabels.suffix}`]));
275
275
  }
276
276
  const l = {
277
277
  th: {
@@ -287,39 +287,39 @@ const Wt = ["id"], jt = ["xmlns", "viewBox"], Yt = ["x", "y", "width", "height"]
287
287
  breakpoint: e.value.table.responsiveBreakpoint
288
288
  }, s = [
289
289
  e.value.table.columnNames.period
290
- ].concat(F.value.filter((u) => !x.value.includes(u.uid)).map((u) => u.name)).concat(e.value.table.columnNames.total);
291
- return { head: t, body: a, config: l, colNames: s };
290
+ ].concat(D.value.filter((u) => !k.value.includes(u.uid)).map((u) => u.name)).concat(e.value.table.columnNames.total);
291
+ return { head: t, body: o, config: l, colNames: s };
292
292
  });
293
293
  function bt() {
294
- return F.value;
294
+ return D.value;
295
295
  }
296
- function Ve(t = null) {
296
+ function He(t = null) {
297
297
  q(() => {
298
- const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = [...M.value.head.map((d) => d.name ?? d)], s = [...M.value.body.map((d) => d.map((C) => C.value ?? C))], u = a.concat([l]).concat(s), f = Ot(u);
299
- t ? t(f) : Et({ csvContent: f, title: e.value.style.chart.title.text || "vue-ui-donut-evolution" });
298
+ const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = [...R.value.head.map((d) => d.name ?? d)], s = [...R.value.body.map((d) => d.map((_) => _.value ?? _))], u = o.concat([l]).concat(s), g = Tt(u);
299
+ t ? t(g) : Et({ csvContent: g, title: e.value.style.chart.title.text || "vue-ui-donut-evolution" });
300
300
  });
301
301
  }
302
302
  const U = h(!1);
303
303
  function pt(t) {
304
304
  U.value = t, pe.value += 1;
305
305
  }
306
- function He() {
306
+ function Ve() {
307
307
  X.value.showTable = !X.value.showTable;
308
308
  }
309
309
  const Z = h(!1);
310
310
  function ie() {
311
311
  Z.value = !Z.value;
312
312
  }
313
- function Re(t) {
313
+ function Me(t) {
314
314
  return t.proportion * 100 > e.value.style.chart.donuts.hover.hideLabelsUnderValue;
315
315
  }
316
- const Me = h([]), Ue = h({}), ce = h(null);
316
+ const Re = h([]), Ue = h({}), ce = h(null);
317
317
  function xt(t) {
318
- Me.value = t.donut.map((a) => ({
319
- name: a.name,
320
- values: [a.value],
321
- color: a.color
322
- })), Ue.value = Tt({
318
+ Re.value = t.donut.map((o) => ({
319
+ name: o.name,
320
+ values: [o.value],
321
+ color: o.color
322
+ })), Ue.value = Ht({
323
323
  ...e.value.style.chart.dialog.donutChart,
324
324
  responsive: !0,
325
325
  theme: e.value.theme
@@ -328,40 +328,40 @@ const Wt = ["id"], jt = ["xmlns", "viewBox"], Yt = ["x", "y", "width", "height"]
328
328
  return Qe({
329
329
  getData: bt,
330
330
  generatePdf: Ne,
331
- generateCsv: Ve,
332
- generateImage: Pe,
333
- toggleTable: He,
331
+ generateCsv: He,
332
+ generateImage: Fe,
333
+ toggleTable: Ve,
334
334
  toggleAnnotator: ie
335
- }), (t, a) => (o(), n("div", {
335
+ }), (t, o) => (a(), n("div", {
336
336
  ref_key: "donutEvolutionChart",
337
337
  ref: ue,
338
- class: D(`vue-ui-donut-evolution ${U.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
338
+ class: P(`vue-ui-donut-evolution ${U.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
339
339
  style: ee(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
340
- id: H.value,
341
- onMouseenter: a[5] || (a[5] = () => r(Se)(!0)),
342
- onMouseleave: a[6] || (a[6] = () => r(Se)(!1))
340
+ id: V.value,
341
+ onMouseenter: o[5] || (o[5] = () => r(Le)(!0)),
342
+ onMouseleave: o[6] || (o[6] = () => r(Le)(!1))
343
343
  }, [
344
- e.value.userOptions.buttons.annotator ? (o(), P(r(ot), {
344
+ e.value.userOptions.buttons.annotator ? (a(), F(r(ot), {
345
345
  key: 0,
346
- svgRef: r(ze),
346
+ svgRef: r(Ae),
347
347
  backgroundColor: e.value.style.chart.backgroundColor,
348
348
  color: e.value.style.chart.color,
349
349
  active: Z.value,
350
350
  onClose: ie
351
351
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
352
- vt.value ? (o(), n("div", {
352
+ vt.value ? (a(), n("div", {
353
353
  key: 1,
354
354
  ref_key: "noTitle",
355
355
  ref: ct,
356
356
  class: "vue-data-ui-no-title-space",
357
357
  style: "height:36px; width: 100%;background:transparent"
358
358
  }, null, 512)) : c("", !0),
359
- e.value.style.chart.title.text ? (o(), n("div", {
359
+ e.value.style.chart.title.text ? (a(), n("div", {
360
360
  key: 2,
361
361
  style: "width:100%;background:transparent;padding-bottom:24px",
362
- onMouseleave: Fe
362
+ onMouseleave: De
363
363
  }, [
364
- (o(), P(Xt, {
364
+ (a(), F(Gt, {
365
365
  key: `title_${ke.value}`,
366
366
  config: {
367
367
  title: {
@@ -375,14 +375,14 @@ const Wt = ["id"], jt = ["xmlns", "viewBox"], Yt = ["x", "y", "width", "height"]
375
375
  }
376
376
  }, null, 8, ["config"]))
377
377
  ], 32)) : c("", !0),
378
- e.value.userOptions.show && K.value && (r($e) || r(ne)) ? (o(), P(r(nt), {
378
+ e.value.userOptions.show && K.value && (r(Se) || r(ne)) ? (a(), F(r(nt), {
379
379
  ref: "details",
380
380
  key: `user_options_${pe.value}`,
381
381
  backgroundColor: e.value.style.chart.backgroundColor,
382
382
  color: e.value.style.chart.color,
383
- isPrinting: r(Ae),
383
+ isPrinting: r($e),
384
384
  isImaging: r(Ie),
385
- uid: H.value,
385
+ uid: V.value,
386
386
  hasPdf: e.value.userOptions.buttons.pdf,
387
387
  hasImg: e.value.userOptions.buttons.img,
388
388
  hasXls: e.value.userOptions.buttons.csv,
@@ -397,75 +397,75 @@ const Wt = ["id"], jt = ["xmlns", "viewBox"], Yt = ["x", "y", "width", "height"]
397
397
  callbacks: e.value.userOptions.callbacks,
398
398
  onToggleFullscreen: pt,
399
399
  onGeneratePdf: r(Ne),
400
- onGenerateCsv: Ve,
401
- onGenerateImage: r(Pe),
402
- onToggleTable: He,
400
+ onGenerateCsv: He,
401
+ onGenerateImage: r(Fe),
402
+ onToggleTable: Ve,
403
403
  onToggleAnnotator: ie,
404
404
  style: ee({
405
- visibility: r($e) ? r(ne) ? "visible" : "hidden" : "visible"
405
+ visibility: r(Se) ? r(ne) ? "visible" : "hidden" : "visible"
406
406
  })
407
407
  }, Ct({ _: 2 }, [
408
408
  t.$slots.menuIcon ? {
409
409
  name: "menuIcon",
410
- fn: _(({ isOpen: l, color: s }) => [
410
+ fn: w(({ isOpen: l, color: s }) => [
411
411
  z(t.$slots, "menuIcon", j(Y({ isOpen: l, color: s })), void 0, !0)
412
412
  ]),
413
413
  key: "0"
414
414
  } : void 0,
415
415
  t.$slots.optionPdf ? {
416
416
  name: "optionPdf",
417
- fn: _(() => [
417
+ fn: w(() => [
418
418
  z(t.$slots, "optionPdf", {}, void 0, !0)
419
419
  ]),
420
420
  key: "1"
421
421
  } : void 0,
422
422
  t.$slots.optionCsv ? {
423
423
  name: "optionCsv",
424
- fn: _(() => [
424
+ fn: w(() => [
425
425
  z(t.$slots, "optionCsv", {}, void 0, !0)
426
426
  ]),
427
427
  key: "2"
428
428
  } : void 0,
429
429
  t.$slots.optionImg ? {
430
430
  name: "optionImg",
431
- fn: _(() => [
431
+ fn: w(() => [
432
432
  z(t.$slots, "optionImg", {}, void 0, !0)
433
433
  ]),
434
434
  key: "3"
435
435
  } : void 0,
436
436
  t.$slots.optionTable ? {
437
437
  name: "optionTable",
438
- fn: _(() => [
438
+ fn: w(() => [
439
439
  z(t.$slots, "optionTable", {}, void 0, !0)
440
440
  ]),
441
441
  key: "4"
442
442
  } : void 0,
443
443
  t.$slots.optionFullscreen ? {
444
444
  name: "optionFullscreen",
445
- fn: _(({ toggleFullscreen: l, isFullscreen: s }) => [
445
+ fn: w(({ toggleFullscreen: l, isFullscreen: s }) => [
446
446
  z(t.$slots, "optionFullscreen", j(Y({ toggleFullscreen: l, isFullscreen: s })), void 0, !0)
447
447
  ]),
448
448
  key: "5"
449
449
  } : void 0,
450
450
  t.$slots.optionAnnotator ? {
451
451
  name: "optionAnnotator",
452
- fn: _(({ toggleAnnotator: l, isAnnotator: s }) => [
452
+ fn: w(({ toggleAnnotator: l, isAnnotator: s }) => [
453
453
  z(t.$slots, "optionAnnotator", j(Y({ toggleAnnotator: l, isAnnotator: s })), void 0, !0)
454
454
  ]),
455
455
  key: "6"
456
456
  } : void 0
457
457
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
458
- K.value ? (o(), n("svg", {
458
+ K.value ? (a(), n("svg", {
459
459
  key: 4,
460
460
  ref_key: "svgRef",
461
- ref: ze,
461
+ ref: Ae,
462
462
  xmlns: r(Nt),
463
- class: D({ "vue-data-ui-fullscreen--on": U.value, "vue-data-ui-fulscreen--off": !U.value }),
463
+ class: P({ "vue-data-ui-fullscreen--on": U.value, "vue-data-ui-fulscreen--off": !U.value }),
464
464
  viewBox: `0 0 ${v.value.absoluteWidth} ${v.value.absoluteHeight}`,
465
465
  style: ee(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};`)
466
466
  }, [
467
467
  _t(r(at)),
468
- t.$slots["chart-background"] ? (o(), n("foreignObject", {
468
+ t.$slots["chart-background"] ? (a(), n("foreignObject", {
469
469
  key: 0,
470
470
  x: i.value.left,
471
471
  y: i.value.top,
@@ -476,43 +476,43 @@ const Wt = ["id"], jt = ["xmlns", "viewBox"], Yt = ["x", "y", "width", "height"]
476
476
  }
477
477
  }, [
478
478
  z(t.$slots, "chart-background", {}, void 0, !0)
479
- ], 8, Yt)) : c("", !0),
480
- w("defs", null, [
481
- w("linearGradient", {
482
- id: `hover_${H.value}`,
479
+ ], 8, qt)) : c("", !0),
480
+ L("defs", null, [
481
+ L("linearGradient", {
482
+ id: `hover_${V.value}`,
483
483
  x1: "0%",
484
484
  y1: "0%",
485
485
  x2: "0%",
486
486
  y2: "100%"
487
487
  }, [
488
- w("stop", {
488
+ L("stop", {
489
489
  offset: "0%",
490
490
  "stop-color": r(J)(e.value.style.chart.backgroundColor, e.value.style.chart.layout.highlighter.opacity)
491
- }, null, 8, Jt),
492
- w("stop", {
491
+ }, null, 8, Kt),
492
+ L("stop", {
493
493
  offset: "100%",
494
494
  "stop-color": r(J)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity)
495
- }, null, 8, Kt)
496
- ], 8, qt),
497
- w("radialGradient", {
498
- id: `focus_${H.value}`
495
+ }, null, 8, Qt)
496
+ ], 8, Jt),
497
+ L("radialGradient", {
498
+ id: `focus_${V.value}`
499
499
  }, [
500
- w("stop", {
500
+ L("stop", {
501
501
  offset: "0%",
502
502
  "stop-color": r(J)(r(he)(e.value.style.chart.backgroundColor), 0)
503
- }, null, 8, Zt),
504
- w("stop", {
503
+ }, null, 8, el),
504
+ L("stop", {
505
505
  offset: "77%",
506
506
  "stop-color": r(J)("#FFFFFF", 30)
507
- }, null, 8, el),
508
- w("stop", {
507
+ }, null, 8, tl),
508
+ L("stop", {
509
509
  offset: "100%",
510
510
  "stop-color": r(J)(r(he)(e.value.style.chart.backgroundColor), 0)
511
- }, null, 8, tl)
512
- ], 8, Qt)
511
+ }, null, 8, ll)
512
+ ], 8, Zt)
513
513
  ]),
514
- e.value.style.chart.layout.grid.show ? (o(), n("g", ll, [
515
- w("line", {
514
+ e.value.style.chart.layout.grid.show ? (a(), n("g", al, [
515
+ L("line", {
516
516
  x1: i.value.left,
517
517
  x2: i.value.left,
518
518
  y1: i.value.top,
@@ -520,8 +520,8 @@ const Wt = ["id"], jt = ["xmlns", "viewBox"], Yt = ["x", "y", "width", "height"]
520
520
  stroke: e.value.style.chart.layout.grid.stroke,
521
521
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth,
522
522
  "stroke-linecap": "round"
523
- }, null, 8, al),
524
- w("line", {
523
+ }, null, 8, ol),
524
+ L("line", {
525
525
  x1: i.value.left,
526
526
  x2: v.value.absoluteWidth - i.value.right,
527
527
  y1: v.value.absoluteHeight - i.value.bottom,
@@ -529,25 +529,25 @@ const Wt = ["id"], jt = ["xmlns", "viewBox"], Yt = ["x", "y", "width", "height"]
529
529
  stroke: e.value.style.chart.layout.grid.stroke,
530
530
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth,
531
531
  "stroke-linecap": "round"
532
- }, null, 8, ol),
533
- e.value.style.chart.layout.grid.showVerticalLines ? (o(), n("g", ul, [
534
- (o(!0), n(L, null, A(y.value.end - y.value.start, (l, s) => (o(), n("line", {
535
- x1: i.value.left + (s + 1) * S.value,
536
- x2: i.value.left + (s + 1) * S.value,
532
+ }, null, 8, ul),
533
+ e.value.style.chart.layout.grid.showVerticalLines ? (a(), n("g", nl, [
534
+ (a(!0), n($, null, I(y.value.end - y.value.start, (l, s) => (a(), n("line", {
535
+ x1: i.value.left + (s + 1) * p.value,
536
+ x2: i.value.left + (s + 1) * p.value,
537
537
  y1: i.value.top,
538
538
  y2: v.value.absoluteHeight - i.value.bottom,
539
539
  stroke: e.value.style.chart.layout.grid.stroke,
540
540
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth,
541
541
  "stroke-linecap": "round"
542
- }, null, 8, nl))), 256))
542
+ }, null, 8, sl))), 256))
543
543
  ])) : c("", !0)
544
544
  ])) : c("", !0),
545
- e.value.style.chart.layout.grid.yAxis.dataLabels.show ? (o(), n("g", {
545
+ e.value.style.chart.layout.grid.yAxis.dataLabels.show ? (a(), n("g", {
546
546
  key: 2,
547
- class: D({ "donut-opacity": !0, "donut-behind": g.value !== null })
547
+ class: P({ "donut-opacity": !0, "donut-behind": f.value !== null })
548
548
  }, [
549
- (o(!0), n(L, null, A(yt.value, (l, s) => (o(), n("g", null, [
550
- l.value >= R.value.min && l.value <= R.value.max ? (o(), n("line", {
549
+ (a(!0), n($, null, I(yt.value, (l, s) => (a(), n("g", null, [
550
+ l.value >= M.value.min && l.value <= M.value.max ? (a(), n("line", {
551
551
  key: 0,
552
552
  x1: i.value.left,
553
553
  x2: i.value.left - 5,
@@ -555,8 +555,8 @@ const Wt = ["id"], jt = ["xmlns", "viewBox"], Yt = ["x", "y", "width", "height"]
555
555
  y2: l.y,
556
556
  stroke: e.value.style.chart.layout.grid.stroke,
557
557
  "stroke-width": e.value.style.chart.layout.grid.strokeWidth
558
- }, null, 8, sl)) : c("", !0),
559
- l.value >= R.value.min && l.value <= R.value.max ? (o(), n("text", {
558
+ }, null, 8, rl)) : c("", !0),
559
+ l.value >= M.value.min && l.value <= M.value.max ? (a(), n("text", {
560
560
  key: 1,
561
561
  x: i.value.left - 8 + e.value.style.chart.layout.grid.yAxis.dataLabels.offsetX,
562
562
  y: l.y + e.value.style.chart.layout.grid.yAxis.dataLabels.fontSize / 3,
@@ -564,7 +564,7 @@ const Wt = ["id"], jt = ["xmlns", "viewBox"], Yt = ["x", "y", "width", "height"]
564
564
  "text-anchor": "end",
565
565
  fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
566
566
  "font-weight": e.value.style.chart.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
567
- }, p(r(Pt)(l.value) ? r(ge)(
567
+ }, x(r(Ft)(l.value) ? r(fe)(
568
568
  e.value.style.chart.layout.dataLabels.formatter,
569
569
  l.value,
570
570
  r(ae)({
@@ -574,50 +574,66 @@ const Wt = ["id"], jt = ["xmlns", "viewBox"], Yt = ["x", "y", "width", "height"]
574
574
  r: e.value.style.chart.layout.grid.yAxis.dataLabels.roundingValue
575
575
  }),
576
576
  { datapoint: l, seriesIndex: s }
577
- ) : ""), 9, rl)) : c("", !0)
577
+ ) : ""), 9, il)) : c("", !0)
578
578
  ]))), 256))
579
579
  ], 2)) : c("", !0),
580
- e.value.style.chart.layout.grid.xAxis.dataLabels.show ? (o(), n("g", il, [
581
- (o(!0), n(L, null, A(y.value.end - y.value.start, (l, s) => (o(), n("g", null, [
582
- e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (s === 0 || s === O.value - 1) || !e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast ? (o(), n("text", {
583
- key: 0,
584
- "text-anchor": e.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
585
- "font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
586
- fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
587
- transform: `translate(${i.value.left + S.value * s + S.value / 2}, ${e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY + v.value.absoluteHeight - i.value.bottom + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 2}), rotate(${e.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`
588
- }, p(N.value[s] ? N.value[s].text : ""), 9, cl)) : c("", !0)
580
+ e.value.style.chart.layout.grid.xAxis.dataLabels.show ? (a(), n("g", cl, [
581
+ (a(!0), n($, null, I(y.value.end - y.value.start, (l, s) => (a(), n("g", null, [
582
+ (e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (s === 0 || s === O.value - 1) || !e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast) && S.value[s] && S.value[s].text ? (a(), n("g", vl, [
583
+ S.value[s].text.includes(`
584
+ `) ? (a(), n("text", {
585
+ key: 1,
586
+ "text-anchor": e.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
587
+ "font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
588
+ fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
589
+ transform: `translate(${i.value.left + p.value * s + p.value / 2}, ${e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY + v.value.absoluteHeight - i.value.bottom + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 2}), rotate(${e.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`,
590
+ innerHTML: r(Pt)({
591
+ content: S.value[s].text,
592
+ fontSize: e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
593
+ fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
594
+ x: 0,
595
+ y: 0
596
+ })
597
+ }, null, 8, hl)) : (a(), n("text", {
598
+ key: 0,
599
+ "text-anchor": e.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
600
+ "font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
601
+ fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
602
+ transform: `translate(${i.value.left + p.value * s + p.value / 2}, ${e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY + v.value.absoluteHeight - i.value.bottom + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 2}), rotate(${e.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`
603
+ }, x(S.value[s].text), 9, dl))
604
+ ])) : c("", !0)
589
605
  ]))), 256))
590
606
  ])) : c("", !0),
591
- (o(!0), n(L, null, A(k.value, (l, s) => (o(), n("g", null, [
592
- e.value.style.chart.layout.line.show && s < k.value.length - 1 && ![l.subtotal, k.value[s + 1].subtotal].includes(null) ? (o(), n("line", {
607
+ (a(!0), n($, null, I(C.value, (l, s) => (a(), n("g", null, [
608
+ e.value.style.chart.layout.line.show && s < C.value.length - 1 && ![l.subtotal, C.value[s + 1].subtotal].includes(null) ? (a(), n("line", {
593
609
  key: 0,
594
- class: D({ "donut-opacity": !0, "donut-behind": g.value !== null }),
610
+ class: P({ "donut-opacity": !0, "donut-behind": f.value !== null }),
595
611
  x1: l.x,
596
612
  y1: l.y,
597
- x2: k.value[s + 1].x,
598
- y2: k.value[s + 1].y,
613
+ x2: C.value[s + 1].x,
614
+ y2: C.value[s + 1].y,
599
615
  stroke: e.value.style.chart.layout.line.stroke,
600
616
  "stroke-width": e.value.style.chart.layout.line.strokeWidth,
601
617
  "stroke-linecap": "round",
602
618
  "stroke-linejoin": "round"
603
- }, null, 10, vl)) : c("", !0),
604
- l.subtotal !== null ? (o(), n("g", dl, [
605
- l.subtotal ? (o(), n("circle", {
619
+ }, null, 10, yl)) : c("", !0),
620
+ l.subtotal !== null ? (a(), n("g", fl, [
621
+ l.subtotal ? (a(), n("circle", {
606
622
  key: 0,
607
623
  cx: l.x,
608
624
  cy: l.y,
609
625
  r: l.activeRadius,
610
626
  fill: e.value.style.chart.backgroundColor
611
- }, null, 8, hl)) : c("", !0)
627
+ }, null, 8, gl)) : c("", !0)
612
628
  ])) : c("", !0)
613
629
  ]))), 256)),
614
- (o(!0), n(L, null, A(k.value, (l, s) => (o(), n("g", {
615
- class: D({ "donut-opacity": !0, "donut-behind": s !== g.value && g.value !== null })
630
+ (a(!0), n($, null, I(C.value, (l, s) => (a(), n("g", {
631
+ class: P({ "donut-opacity": !0, "donut-behind": s !== f.value && f.value !== null })
616
632
  }, [
617
- l.subtotal ? (o(), n("g", yl, [
618
- g.value !== null && g.value === s ? (o(), n("g", gl, [
619
- (o(!0), n(L, null, A(l.donutHover, (u) => (o(), n("g", null, [
620
- Re(u) ? (o(), n("path", {
633
+ l.subtotal ? (a(), n("g", ml, [
634
+ f.value !== null && f.value === s ? (a(), n("g", bl, [
635
+ (a(!0), n($, null, I(l.donutHover, (u) => (a(), n("g", null, [
636
+ Me(u) ? (a(), n("path", {
621
637
  key: 0,
622
638
  d: r(Dt)(u, { x: u.center.endX, y: u.center.endY }, 12, 12, { x: l.x, y: l.y }, !1, 20),
623
639
  stroke: u.color,
@@ -625,100 +641,100 @@ const Wt = ["id"], jt = ["xmlns", "viewBox"], Yt = ["x", "y", "width", "height"]
625
641
  "stroke-linecap": "round",
626
642
  "stroke-linejoin": "round",
627
643
  fill: "none"
628
- }, null, 8, fl)) : c("", !0)
644
+ }, null, 8, pl)) : c("", !0)
629
645
  ]))), 256)),
630
- (o(!0), n(L, null, A(l.donutHover, (u, f) => (o(), n("g", null, [
631
- Re(u) ? (o(), n("text", {
646
+ (a(!0), n($, null, I(l.donutHover, (u, g) => (a(), n("g", null, [
647
+ Me(u) ? (a(), n("text", {
632
648
  key: 0,
633
649
  "data-cy-hover-label": "",
634
650
  "text-anchor": r(Ye)(u, !0, 0).anchor,
635
651
  x: r(Ye)(u, !0, 9).x,
636
- y: r(Ft)(u, 14, 10),
652
+ y: r(Ot)(u, 14, 10),
637
653
  fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
638
654
  "font-size": 8,
639
655
  "font-weight": "bold"
640
- }, p(u.name) + ": " + p(gt(u, l.donut)) + " (" + p(u.value === null ? "-" : De(u.value, u, f)) + ") ", 9, ml)) : c("", !0)
656
+ }, x(u.name) + ": " + x(ft(u, l.donut)) + " (" + x(u.value === null ? "-" : Pe(u.value, u, g)) + ") ", 9, xl)) : c("", !0)
641
657
  ]))), 256)),
642
- w("g", null, [
643
- w("circle", {
658
+ L("g", null, [
659
+ L("circle", {
644
660
  cx: l.x,
645
661
  cy: l.y,
646
662
  r: l.hoverRadius,
647
663
  fill: e.value.style.chart.backgroundColor
648
- }, null, 8, bl)
664
+ }, null, 8, kl)
649
665
  ])
650
666
  ])) : c("", !0)
651
667
  ])) : c("", !0)
652
668
  ], 2))), 256)),
653
- (o(!0), n(L, null, A(k.value, (l, s) => (o(), n("g", {
654
- class: D({ "donut-opacity": !0, "donut-behind": s !== g.value && g.value !== null })
669
+ (a(!0), n($, null, I(C.value, (l, s) => (a(), n("g", {
670
+ class: P({ "donut-opacity": !0, "donut-behind": s !== f.value && f.value !== null })
655
671
  }, [
656
- l.subtotal !== null ? (o(), n("g", pl, [
657
- l.subtotal === 0 ? (o(), n("circle", {
672
+ l.subtotal !== null ? (a(), n("g", Cl, [
673
+ l.subtotal === 0 ? (a(), n("circle", {
658
674
  key: 0,
659
675
  cx: l.x,
660
676
  cy: l.y,
661
677
  r: 3,
662
678
  fill: e.value.style.chart.color
663
- }, null, 8, xl)) : g.value !== null && g.value === s ? (o(), n("g", kl, [
664
- (o(!0), n(L, null, A(l.donutHover, (u, f) => (o(), n("path", {
679
+ }, null, 8, _l)) : f.value !== null && f.value === s ? (a(), n("g", wl, [
680
+ (a(!0), n($, null, I(l.donutHover, (u, g) => (a(), n("path", {
665
681
  d: u.arcSlice,
666
682
  fill: `${u.color}`,
667
683
  "stroke-width": 1,
668
684
  stroke: e.value.style.chart.backgroundColor
669
- }, null, 8, Cl))), 256))
670
- ])) : (o(), n("g", _l, [
671
- (o(!0), n(L, null, A(l.donut, (u, f) => (o(), n("path", {
685
+ }, null, 8, Ll))), 256))
686
+ ])) : (a(), n("g", Sl, [
687
+ (a(!0), n($, null, I(l.donut, (u, g) => (a(), n("path", {
672
688
  d: u.arcSlice,
673
689
  fill: `${u.color}`,
674
690
  "stroke-width": 0.5,
675
691
  stroke: e.value.style.chart.backgroundColor
676
- }, null, 8, wl))), 256))
692
+ }, null, 8, Al))), 256))
677
693
  ]))
678
694
  ])) : c("", !0)
679
695
  ], 2))), 256)),
680
- (o(!0), n(L, null, A(k.value, (l, s) => (o(), n("g", {
681
- class: D({ "donut-opacity": !0, "donut-behind": s !== g.value && g.value !== null || oe.value && s !== T.value.index })
696
+ (a(!0), n($, null, I(C.value, (l, s) => (a(), n("g", {
697
+ class: P({ "donut-opacity": !0, "donut-behind": s !== f.value && f.value !== null || oe.value && s !== E.value.index })
682
698
  }, [
683
- l.subtotal !== null && e.value.style.chart.layout.dataLabels.show ? (o(), n("text", {
699
+ l.subtotal !== null && e.value.style.chart.layout.dataLabels.show ? (a(), n("text", {
684
700
  key: 0,
685
701
  "text-anchor": "middle",
686
702
  x: l.x,
687
- y: g.value === l.index && l.subtotal ? l.y + e.value.style.chart.layout.dataLabels.fontSize / 3 : l.y - l.radius - e.value.style.chart.layout.dataLabels.fontSize + e.value.style.chart.layout.dataLabels.offsetY,
703
+ y: f.value === l.index && l.subtotal ? l.y + e.value.style.chart.layout.dataLabels.fontSize / 3 : l.y - l.radius - e.value.style.chart.layout.dataLabels.fontSize + e.value.style.chart.layout.dataLabels.offsetY,
688
704
  "font-size": e.value.style.chart.layout.dataLabels.fontSize,
689
705
  "font-weight": "bold",
690
706
  fill: e.value.style.chart.layout.dataLabels.color
691
- }, p(De(l.subtotal, l, s)), 9, Sl)) : c("", !0)
707
+ }, x(Pe(l.subtotal, l, s)), 9, zl)) : c("", !0)
692
708
  ], 2))), 256)),
693
- (o(!0), n(L, null, A(k.value, (l, s) => (o(), n("rect", {
694
- x: i.value.left + s * S.value,
709
+ (a(!0), n($, null, I(C.value, (l, s) => (a(), n("rect", {
710
+ x: i.value.left + s * p.value,
695
711
  y: i.value.top,
696
- width: S.value,
712
+ width: p.value,
697
713
  height: v.value.height,
698
- fill: [g.value, W.value].includes(l.index) ? `url(#hover_${H.value})` : "transparent",
699
- class: D({ "donut-hover": l.subtotal && [g.value, W.value].includes(l.index) }),
714
+ fill: [f.value, W.value].includes(l.index) ? `url(#hover_${V.value})` : "transparent",
715
+ class: P({ "donut-hover": l.subtotal && [f.value, W.value].includes(l.index) }),
700
716
  style: {
701
717
  pointerEvents: "none"
702
718
  }
703
719
  }, null, 10, $l))), 256)),
704
- (o(!0), n(L, null, A(k.value, (l, s) => (o(), n("rect", {
720
+ (a(!0), n($, null, I(C.value, (l, s) => (a(), n("rect", {
705
721
  "data-cy-trap": "",
706
- x: i.value.left + s * S.value,
722
+ x: i.value.left + s * p.value,
707
723
  y: i.value.top,
708
- width: S.value,
724
+ width: p.value,
709
725
  height: v.value.height,
710
726
  fill: "transparent",
711
- onMouseenter: (u) => ft(l),
712
- onMouseleave: Fe,
727
+ onMouseenter: (u) => gt(l),
728
+ onMouseleave: De,
713
729
  onClick: (u) => Oe(l, s),
714
- class: D({ "donut-hover": g.value === l.index && l.subtotal })
715
- }, null, 42, zl))), 256)),
730
+ class: P({ "donut-hover": f.value === l.index && l.subtotal })
731
+ }, null, 42, Il))), 256)),
716
732
  z(t.$slots, "svg", { svg: v.value }, void 0, !0)
717
- ], 14, jt)) : c("", !0),
718
- t.$slots.watermark ? (o(), n("div", Ll, [
719
- z(t.$slots, "watermark", j(Y({ isPrinting: r(Ae) || r(Ie) })), void 0, !0)
733
+ ], 14, Yt)) : c("", !0),
734
+ t.$slots.watermark ? (a(), n("div", Nl, [
735
+ z(t.$slots, "watermark", j(Y({ isPrinting: r($e) || r(Ie) })), void 0, !0)
720
736
  ])) : c("", !0),
721
- K.value ? c("", !0) : (o(), P(r(ut), {
737
+ K.value ? c("", !0) : (a(), F(r(ut), {
722
738
  key: 6,
723
739
  config: {
724
740
  type: "donutEvolution",
@@ -735,16 +751,16 @@ const Wt = ["id"], jt = ["xmlns", "viewBox"], Yt = ["x", "y", "width", "height"]
735
751
  }
736
752
  }
737
753
  }, null, 8, ["config"])),
738
- O.value > 1 && e.value.style.chart.zoom.show ? (o(), P(Bt, {
754
+ O.value > 1 && e.value.style.chart.zoom.show ? (a(), F(Xt, {
739
755
  ref_key: "slicerComponent",
740
- ref: V,
756
+ ref: H,
741
757
  key: `slicer_${xe.value}`,
742
758
  background: e.value.style.chart.zoom.color,
743
759
  borderColor: e.value.style.chart.backgroundColor,
744
760
  fontSize: e.value.style.chart.zoom.fontSize,
745
761
  useResetSlot: e.value.style.chart.zoom.useResetSlot,
746
- labelLeft: N.value[0] ? N.value[0].text : "",
747
- labelRight: N.value.at(-1) ? N.value.at(-1).text : "",
762
+ labelLeft: S.value[0] ? S.value[0].text : "",
763
+ labelRight: S.value.at(-1) ? S.value.at(-1).text : "",
748
764
  textColor: e.value.style.chart.color,
749
765
  inputColor: e.value.style.chart.zoom.color,
750
766
  selectColor: e.value.style.chart.zoom.highlightColor,
@@ -753,32 +769,32 @@ const Wt = ["id"], jt = ["xmlns", "viewBox"], Yt = ["x", "y", "width", "height"]
753
769
  valueStart: y.value.start,
754
770
  valueEnd: y.value.end,
755
771
  start: y.value.start,
756
- "onUpdate:start": a[0] || (a[0] = (l) => y.value.start = l),
772
+ "onUpdate:start": o[0] || (o[0] = (l) => y.value.start = l),
757
773
  end: y.value.end,
758
- "onUpdate:end": a[1] || (a[1] = (l) => y.value.end = l),
774
+ "onUpdate:end": o[1] || (o[1] = (l) => y.value.end = l),
759
775
  refreshStartPoint: e.value.style.chart.zoom.startIndex !== null ? e.value.style.chart.zoom.startIndex : 0,
760
776
  refreshEndPoint: e.value.style.chart.zoom.endIndex !== null ? e.value.style.chart.zoom.endIndex + 1 : O.value,
761
777
  enableRangeHandles: e.value.style.chart.zoom.enableRangeHandles,
762
778
  enableSelectionDrag: e.value.style.chart.zoom.enableSelectionDrag,
763
- onReset: fe
779
+ onReset: ge
764
780
  }, {
765
- "reset-action": _(({ reset: l }) => [
781
+ "reset-action": w(({ reset: l }) => [
766
782
  z(t.$slots, "reset-action", j(Y({ reset: l })), void 0, !0)
767
783
  ]),
768
784
  _: 3
769
785
  }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag"])) : c("", !0),
770
- e.value.style.chart.legend.show ? (o(), P(Ut, {
786
+ e.value.style.chart.legend.show ? (a(), F(Bt, {
771
787
  key: `legend_${_e.value}`,
772
- legendSet: Ee.value,
788
+ legendSet: Te.value,
773
789
  config: mt.value,
774
- onClickMarker: a[2] || (a[2] = ({ legend: l }) => re(l.uid))
790
+ onClickMarker: o[2] || (o[2] = ({ legend: l }) => re(l.uid))
775
791
  }, {
776
- item: _(({ legend: l, index: s }) => [
777
- w("div", {
792
+ item: w(({ legend: l, index: s }) => [
793
+ L("div", {
778
794
  onClick: (u) => re(l.uid),
779
- style: ee(`opacity:${x.value.includes(l.uid) ? 0.5 : 1}`)
795
+ style: ee(`opacity:${k.value.includes(l.uid) ? 0.5 : 1}`)
780
796
  }, [
781
- de(p(l.name) + ": " + p(r(ge)(
797
+ de(x(l.name) + ": " + x(r(fe)(
782
798
  e.value.style.chart.layout.dataLabels.formatter,
783
799
  l.value,
784
800
  r(ae)({
@@ -789,20 +805,20 @@ const Wt = ["id"], jt = ["xmlns", "viewBox"], Yt = ["x", "y", "width", "height"]
789
805
  }),
790
806
  { datapoint: l, seriesIndex: s }
791
807
  )) + " ", 1),
792
- x.value.includes(l.uid) ? (o(), n("span", Nl, " ( - % ) ")) : (o(), n("span", Il, " (" + p(isNaN(l.value / Te.value) ? "-" : r(ae)({
793
- v: l.value / Te.value * 100,
808
+ k.value.includes(l.uid) ? (a(), n("span", Dl, " ( - % ) ")) : (a(), n("span", Pl, " (" + x(isNaN(l.value / Ee.value) ? "-" : r(ae)({
809
+ v: l.value / Ee.value * 100,
794
810
  s: "%",
795
811
  r: e.value.style.chart.legend.roundingPercentage
796
812
  })) + ") ", 1))
797
- ], 12, Al)
813
+ ], 12, Fl)
798
814
  ]),
799
815
  _: 1
800
816
  }, 8, ["legendSet", "config"])) : c("", !0),
801
- z(t.$slots, "legend", { legend: Ee.value }, void 0, !0),
802
- t.$slots.source ? (o(), n("div", Pl, [
817
+ z(t.$slots, "legend", { legend: Te.value }, void 0, !0),
818
+ t.$slots.source ? (a(), n("div", Ol, [
803
819
  z(t.$slots, "source", {}, void 0, !0)
804
820
  ], 512)) : c("", !0),
805
- K.value ? (o(), P(r(et), {
821
+ K.value ? (a(), F(r(et), {
806
822
  key: 10,
807
823
  hideDetails: "",
808
824
  config: {
@@ -818,34 +834,34 @@ const Wt = ["id"], jt = ["xmlns", "viewBox"], Yt = ["x", "y", "width", "height"]
818
834
  }
819
835
  }
820
836
  }, {
821
- content: _(() => [
822
- (o(), P(r(lt), {
837
+ content: w(() => [
838
+ (a(), F(r(lt), {
823
839
  key: `table_${Ce.value}`,
824
- colNames: M.value.colNames,
825
- head: M.value.head,
826
- body: M.value.body,
827
- config: M.value.config,
840
+ colNames: R.value.colNames,
841
+ head: R.value.head,
842
+ body: R.value.body,
843
+ config: R.value.config,
828
844
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
829
- onClose: a[3] || (a[3] = (l) => X.value.showTable = !1)
845
+ onClose: o[3] || (o[3] = (l) => X.value.showTable = !1)
830
846
  }, {
831
- th: _(({ th: l }) => [
832
- de(p(l.name ?? l), 1)
847
+ th: w(({ th: l }) => [
848
+ de(x(l.name ?? l), 1)
833
849
  ]),
834
- td: _(({ td: l }) => [
835
- l.value === null ? (o(), n("span", Dl, "-")) : (o(), n("b", Fl, p(isNaN(l.value) ? "" : e.value.style.chart.layout.dataLabels.prefix) + p(!isNaN(l.value) && l.value !== null ? Number(l.value.toFixed(e.value.table.td.roundingValue)).toLocaleString() : l) + p(isNaN(l.value) ? "" : e.value.style.chart.layout.dataLabels.suffix), 1)),
836
- w("span", null, p(l.percentage && !isNaN(l.percentage) ? `(${Number(l.percentage.toFixed(e.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)
850
+ td: w(({ td: l }) => [
851
+ l.value === null ? (a(), n("span", Tl, "-")) : (a(), n("b", El, x(isNaN(l.value) ? "" : e.value.style.chart.layout.dataLabels.prefix) + x(!isNaN(l.value) && l.value !== null ? Number(l.value.toFixed(e.value.table.td.roundingValue)).toLocaleString() : l) + x(isNaN(l.value) ? "" : e.value.style.chart.layout.dataLabels.suffix), 1)),
852
+ L("span", null, x(l.percentage && !isNaN(l.percentage) ? `(${Number(l.percentage.toFixed(e.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)
837
853
  ]),
838
854
  _: 1
839
855
  }, 8, ["colNames", "head", "body", "config", "title"]))
840
856
  ]),
841
857
  _: 1
842
858
  }, 8, ["config"])) : c("", !0),
843
- e.value.style.chart.dialog.show ? (o(), P(r(tt), {
859
+ e.value.style.chart.dialog.show ? (a(), F(r(tt), {
844
860
  key: 11,
845
861
  ref_key: "dialog",
846
862
  ref: ce,
847
- onClose: a[4] || (a[4] = (l) => {
848
- T.value = null, oe.value = !1, Q.value = null, g.value = null, W.value = null;
863
+ onClose: o[4] || (o[4] = (l) => {
864
+ E.value = null, oe.value = !1, Q.value = null, f.value = null, W.value = null;
849
865
  }),
850
866
  backgroundColor: e.value.style.chart.dialog.backgroundColor,
851
867
  color: e.value.style.chart.dialog.color,
@@ -854,21 +870,21 @@ const Wt = ["id"], jt = ["xmlns", "viewBox"], Yt = ["x", "y", "width", "height"]
854
870
  isFullscreen: U.value,
855
871
  fullscreenParent: ue.value
856
872
  }, {
857
- title: _(() => [
858
- de(p(N.value[Number(T.value.index)] ? N.value[Number(T.value.index)].text : ""), 1)
873
+ title: w(() => [
874
+ de(x(S.value[Number(E.value.index)] ? S.value[Number(E.value.index)].text : ""), 1)
859
875
  ]),
860
- default: _(() => [
861
- T.value ? (o(), P(r(st), {
876
+ default: w(() => [
877
+ E.value ? (a(), F(r(st), {
862
878
  key: 0,
863
879
  config: Ue.value,
864
- dataset: Me.value
880
+ dataset: Re.value
865
881
  }, null, 8, ["config", "dataset"])) : c("", !0)
866
882
  ]),
867
883
  _: 1
868
884
  }, 8, ["backgroundColor", "color", "headerBg", "headerColor", "isFullscreen", "fullscreenParent"])) : c("", !0)
869
- ], 46, Wt));
885
+ ], 46, jt));
870
886
  }
871
- }, jl = /* @__PURE__ */ Gt(Ol, [["__scopeId", "data-v-7a04e4ad"]]);
887
+ }, Jl = /* @__PURE__ */ Wt(Hl, [["__scopeId", "data-v-e6b95a81"]]);
872
888
  export {
873
- jl as default
889
+ Jl as default
874
890
  };