vue-data-ui 3.0.0-next.4 → 3.0.0-next.6

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 (90) hide show
  1. package/dist/{Arrow-COeGcYaf.js → Arrow-Ul64M9UV.js} +1 -1
  2. package/dist/{BaseDraggableDialog-B6a_nUd1.js → BaseDraggableDialog-Q2ajCztp.js} +2 -2
  3. package/dist/{BaseIcon-C_m_NEgt.js → BaseIcon-BKR7AGeP.js} +1 -1
  4. package/dist/{ColorPicker-_xpvmgl6.js → ColorPicker-BagIs8-K.js} +2 -2
  5. package/dist/{DataTable-kd4xY9pT.js → DataTable-CDwApkI_.js} +2 -2
  6. package/dist/{Legend-Bow74t3d.js → Legend-BSLj7tYc.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-cUcAGGV2.js → NonSvgPenAndPaper-DjJe5fXu.js} +3 -3
  8. package/dist/{PackageVersion-3ZfzB951.js → PackageVersion-BsKpz6KS.js} +1 -1
  9. package/dist/{PenAndPaper-BZddJqUG.js → PenAndPaper-BYRk8xrS.js} +3 -3
  10. package/dist/{Shape-BsptIVCm.js → Shape-DK7zYTKa.js} +1 -1
  11. package/dist/{Slicer-i0BAmgHn.js → Slicer-B_Hb6qSk.js} +2 -2
  12. package/dist/{SparkTooltip-BdD0e0jv.js → SparkTooltip-Dy2sVTb_.js} +1 -1
  13. package/dist/{Title-FiH2Kirc.js → Title-Cednydse.js} +1 -1
  14. package/dist/{Tooltip-BLtR7DBZ.js → Tooltip-DJlwW-XP.js} +1 -1
  15. package/dist/{UserOptions-DOwmMJId.js → UserOptions-DxIzWere.js} +2 -2
  16. package/dist/{dom-to-png-DnsK-Zal.js → dom-to-png-lZcM-YfK.js} +1 -1
  17. package/dist/{img-CP2uNkKq.js → img-DqlIAUF6.js} +1 -1
  18. package/dist/{index-BnnNoGGd.js → index-BQcLOx39.js} +270 -261
  19. package/dist/{pdf-urw1sGoX.js → pdf-CjIXhsyg.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +4 -0
  22. package/dist/types/vue-data-ui.d.ts +4 -0
  23. package/dist/{useNestedProp-B6Dz15k2.js → useNestedProp-DefBVltl.js} +1 -1
  24. package/dist/{usePrinter-Dd-RkmL8.js → usePrinter-BRY5saEA.js} +2 -2
  25. package/dist/{vue-data-ui-Dql75T3d.js → vue-data-ui-CWRlSsiN.js} +64 -64
  26. package/dist/vue-data-ui.js +1 -1
  27. package/dist/{vue-ui-3d-bar-CUDEgTKp.js → vue-ui-3d-bar-CJMZqDo1.js} +6 -6
  28. package/dist/{vue-ui-accordion-qNR0BQCP.js → vue-ui-accordion-Df-5BRRg.js} +3 -3
  29. package/dist/{vue-ui-age-pyramid-BFWU1VGZ.js → vue-ui-age-pyramid-B6WAMtPk.js} +6 -6
  30. package/dist/{vue-ui-annotator-CeMOjHpf.js → vue-ui-annotator-BxC5dcIv.js} +2 -2
  31. package/dist/{vue-ui-bullet-CmNollxj.js → vue-ui-bullet-NmtltFbU.js} +7 -7
  32. package/dist/{vue-ui-candlestick-CkoAVYNh.js → vue-ui-candlestick-BzqQtynP.js} +7 -7
  33. package/dist/{vue-ui-carousel-table-CAr64-2F.js → vue-ui-carousel-table-NTDzafWQ.js} +4 -4
  34. package/dist/{vue-ui-chestnut-B0zNp1jY.js → vue-ui-chestnut-k21Qqjjq.js} +5 -5
  35. package/dist/{vue-ui-chord-C-_tz6Tb.js → vue-ui-chord-BVoA6nfI.js} +8 -8
  36. package/dist/{vue-ui-circle-pack-BSTkkKx-.js → vue-ui-circle-pack-CEBgImRX.js} +6 -6
  37. package/dist/{vue-ui-cursor-Dqd6RkcK.js → vue-ui-cursor-BQcz8xw2.js} +2 -2
  38. package/dist/{vue-ui-dashboard-CspqjC6x.js → vue-ui-dashboard-CyzEpJoI.js} +62 -62
  39. package/dist/{vue-ui-digits-CazGAGyM.js → vue-ui-digits-Dafw1UsT.js} +2 -2
  40. package/dist/{vue-ui-donut-BK35Gt-7.js → vue-ui-donut-DKfux8XT.js} +407 -392
  41. package/dist/{vue-ui-donut-evolution-SomhFGJh.js → vue-ui-donut-evolution-D7cNk_6l.js} +8 -8
  42. package/dist/{vue-ui-dumbbell-CJal89Ud.js → vue-ui-dumbbell--H80zebk.js} +7 -7
  43. package/dist/{vue-ui-flow-BFsmk2iL.js → vue-ui-flow-lk_HU5NB.js} +7 -7
  44. package/dist/{vue-ui-funnel-Dm0LCakq.js → vue-ui-funnel-CuN8HWwP.js} +6 -6
  45. package/dist/{vue-ui-galaxy-C9poCSSD.js → vue-ui-galaxy-BHCLFlmy.js} +5 -5
  46. package/dist/{vue-ui-gauge-CYXXfMRC.js → vue-ui-gauge-DWlCh2_B.js} +6 -6
  47. package/dist/{vue-ui-gizmo-B-8rhor5.js → vue-ui-gizmo-DHEEfdp9.js} +3 -3
  48. package/dist/{vue-ui-heatmap-BQzObiF9.js → vue-ui-heatmap-BK6BNOY_.js} +7 -7
  49. package/dist/{vue-ui-history-plot-C_Si7S5S.js → vue-ui-history-plot-CGF6lE-7.js} +7 -7
  50. package/dist/{vue-ui-kpi-BYYBkt55.js → vue-ui-kpi-C4i2w_Yd.js} +3 -3
  51. package/dist/{vue-ui-mini-loader-DmHE-wrb.js → vue-ui-mini-loader-BeetGv_m.js} +2 -2
  52. package/dist/{vue-ui-molecule-I2ZUVtal.js → vue-ui-molecule-F_gDXjJr.js} +5 -5
  53. package/dist/{vue-ui-mood-radar-BYUr9rcv.js → vue-ui-mood-radar-BJMOEqlu.js} +7 -7
  54. package/dist/{vue-ui-nested-donuts-DEm7s2uC.js → vue-ui-nested-donuts-BX0Z0rb1.js} +7 -7
  55. package/dist/{vue-ui-onion-BpGz1RFC.js → vue-ui-onion-BhjUET_W.js} +7 -7
  56. package/dist/{vue-ui-parallel-coordinate-plot-SkVvzSSQ.js → vue-ui-parallel-coordinate-plot-n7QPVLrW.js} +8 -8
  57. package/dist/{vue-ui-quadrant-CByC4r8k.js → vue-ui-quadrant-DTyRC1_v.js} +8 -8
  58. package/dist/{vue-ui-quick-chart-GEYFXShR.js → vue-ui-quick-chart-5xX-yBIY.js} +6 -6
  59. package/dist/{vue-ui-radar-CBVb6GyN.js → vue-ui-radar-De2iznwo.js} +7 -7
  60. package/dist/{vue-ui-rating-Thf6P6AF.js → vue-ui-rating-CarXXyD-.js} +2 -2
  61. package/dist/{vue-ui-relation-circle-Blg3GkeU.js → vue-ui-relation-circle-CKkK9D4E.js} +6 -6
  62. package/dist/{vue-ui-ridgeline-D6kxALQN.js → vue-ui-ridgeline-DQ8RQf3E.js} +8 -8
  63. package/dist/{vue-ui-rings-bBHc4cwe.js → vue-ui-rings-Cze6OsmO.js} +8 -8
  64. package/dist/{vue-ui-scatter-DS6-kGZL.js → vue-ui-scatter-CwI3_Dn7.js} +8 -8
  65. package/dist/{vue-ui-skeleton-gHkpLBcj.js → vue-ui-skeleton-C7maR60-.js} +3 -3
  66. package/dist/{vue-ui-smiley-S7qJ-dRf.js → vue-ui-smiley-DzCCn5Oc.js} +2 -2
  67. package/dist/{vue-ui-spark-trend-Co-sKoQX.js → vue-ui-spark-trend-Db-Fnp8C.js} +3 -3
  68. package/dist/{vue-ui-sparkbar-G1Jhr305.js → vue-ui-sparkbar-C6wsNMMO.js} +3 -3
  69. package/dist/{vue-ui-sparkgauge-Bzm5X8us.js → vue-ui-sparkgauge-DAQ4zozy.js} +3 -3
  70. package/dist/{vue-ui-sparkhistogram-IGnxrQK9.js → vue-ui-sparkhistogram-CMEaO0CW.js} +4 -4
  71. package/dist/{vue-ui-sparkline-ezu4qjgC.js → vue-ui-sparkline-R7pfxRWN.js} +3 -3
  72. package/dist/{vue-ui-sparkstackbar-C_cbbRT_.js → vue-ui-sparkstackbar-DV_XqJQ2.js} +3 -3
  73. package/dist/{vue-ui-stackbar-BD9gyxAb.js → vue-ui-stackbar-gReSujA_.js} +9 -9
  74. package/dist/{vue-ui-strip-plot-Cw1CDIL0.js → vue-ui-strip-plot-8fsm3nn2.js} +7 -7
  75. package/dist/{vue-ui-table-C4A73F9D.js → vue-ui-table-Dck8Pyg9.js} +3 -3
  76. package/dist/{vue-ui-table-heatmap-DDlDAXMI.js → vue-ui-table-heatmap-DknIGf9_.js} +5 -5
  77. package/dist/{vue-ui-table-sparkline-CQDLqNvX.js → vue-ui-table-sparkline-G4HAzUt6.js} +4 -4
  78. package/dist/{vue-ui-thermometer-DgBtT1Ts.js → vue-ui-thermometer-BIkXa4hY.js} +6 -6
  79. package/dist/{vue-ui-timer-DwL2EUHc.js → vue-ui-timer-Dmr-HCSc.js} +5 -5
  80. package/dist/{vue-ui-tiremarks-J9v9JAmf.js → vue-ui-tiremarks-YWbRk0dm.js} +6 -6
  81. package/dist/{vue-ui-treemap-BSPd3wFo.js → vue-ui-treemap-D2OnG3Fh.js} +8 -8
  82. package/dist/vue-ui-vertical-bar--QFtoFje.js +1092 -0
  83. package/dist/{vue-ui-waffle-Bh_gS8y2.js → vue-ui-waffle-BdaCXuWc.js} +8 -8
  84. package/dist/{vue-ui-wheel-B_r_vUFd.js → vue-ui-wheel-Bw3XSa8N.js} +6 -6
  85. package/dist/{vue-ui-word-cloud-DqvRfwF3.js → vue-ui-word-cloud-BH8UZH_J.js} +6 -6
  86. package/dist/{vue-ui-world-DguPtgux.js → vue-ui-world-BcK_brDq.js} +6 -6
  87. package/dist/{vue-ui-xy-MFNbJqgb.js → vue-ui-xy-Be--zwe9.js} +8 -8
  88. package/dist/{vue-ui-xy-canvas-Cv4Fs6Jw.js → vue-ui-xy-canvas--88oKdGN.js} +8 -8
  89. package/package.json +1 -1
  90. package/dist/vue-ui-vertical-bar-B5b5tXjT.js +0 -1029
@@ -1,20 +1,20 @@
1
- import { defineAsyncComponent as ce, useSlots as sl, computed as y, shallowRef as U, ref as p, onMounted as ul, onBeforeUnmount as nl, toRefs as rl, watch as ge, createElementBlock as r, openBlock as n, normalizeStyle as $, normalizeClass as Xe, createBlock as ae, createCommentVNode as v, renderSlot as w, createElementVNode as h, createVNode as De, unref as u, createSlots as wt, withCtx as A, normalizeProps as he, guardReactiveProps as ye, Fragment as b, renderList as F, mergeProps as kt, toDisplayString as I, withDirectives as xt, createTextVNode as Be, vShow as _t, nextTick as il } from "vue";
2
- import { u as vl, o as $t, e as Ve, g as dl, c as cl, A as hl, b as yl, v as fl, d as Ct, p as oe, m as At, $ as pl, f as N, X as gl, s as Ce, w as ml, j as bl, N as P, i as V, k as fe, n as x, a0 as Tt, a1 as wl, a2 as kl, t as xl, a as _l, C as Ee, q as $l, r as Cl, x as Al, T as St } from "./index-BnnNoGGd.js";
3
- import { t as Tl, u as Sl } from "./useResponsive-DfdjqQps.js";
4
- import { u as Pt } from "./useNestedProp-B6Dz15k2.js";
5
- import { u as Pl } from "./usePrinter-Dd-RkmL8.js";
6
- import { u as Fl } from "./useUserOptionState-BIvW1Kz7.js";
7
- import { u as Ll } from "./useChartAccessibility-9icAAmYg.js";
8
- import Il from "./Legend-Bow74t3d.js";
9
- import Ml from "./Title-FiH2Kirc.js";
10
- import { _ as zl } from "./Shape-BsptIVCm.js";
11
- import { u as Ol, B as Nl } from "./useLoading-Bt5Doa8m.js";
12
- import Yl from "./img-CP2uNkKq.js";
13
- import { _ as Xl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
- const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { key: 1 }, Gl = ["id"], Rl = ["stop-color"], ql = ["offset", "stop-color"], Wl = ["offset", "stop-color"], Ul = ["stop-color"], Hl = { key: 2 }, jl = ["id", "cx", "cy"], Jl = ["stop-color", "stop-opacity"], Kl = ["stop-color"], Ql = ["id"], Zl = ["id"], ea = ["id"], ta = ["flood-color"], la = ["id"], aa = ["flood-color"], oa = ["d", "stroke", "filter"], sa = ["d", "stroke", "filter"], ua = ["cx", "cy", "r", "fill", "filter"], na = { key: 6 }, ra = ["stroke", "d"], ia = ["d", "fill", "stroke", "stroke-width", "filter"], va = { key: 0 }, da = ["d", "fill", "stroke", "stroke-width", "filter"], ca = { key: 0 }, ha = ["stroke", "d"], ya = { key: 0 }, fa = ["d", "stroke", "stroke-width", "filter"], pa = { key: 1 }, ga = ["d", "fill", "stroke", "stroke-width", "filter"], ma = ["d", "fill", "stroke", "stroke-width", "filter"], ba = { key: 1 }, wa = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], ka = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], xa = { key: 0 }, _a = ["d", "fill", "stroke", "stroke-width"], $a = ["cx", "cy", "r", "stroke"], Ca = ["cx", "cy", "r", "fill"], Aa = ["cx", "cy", "r"], Ta = { key: 0 }, Sa = ["d", "stroke", "fill", "onMouseenter", "onMouseleave", "onClick"], Pa = { key: 1 }, Fa = ["cx", "cy", "r"], La = ["x", "y", "fill", "font-size"], Ia = ["x", "y", "fill", "font-size"], Ma = ["x", "y", "fill", "font-size"], za = ["x", "y", "fill", "font-size"], Oa = ["filter"], Na = { key: 0 }, Ya = ["x", "y"], Xa = { key: 1 }, Da = ["cx", "cy", "fill", "stroke", "filter", "onClick", "onMouseenter", "onMouseleave"], Ba = ["cx", "cy", "fill", "stroke", "filter", "onClick", "onMouseenter", "onMouseleave"], Va = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "onMouseenter", "onMouseleave"], Ea = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "innerHTML"], Ga = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "onMouseenter", "onMouseleave"], Ra = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "innerHTML"], qa = { key: 2 }, Wa = ["x", "y", "width"], Ua = ["x", "y", "width"], Ha = {
1
+ import { defineAsyncComponent as ce, useSlots as rl, computed as y, shallowRef as H, ref as p, onMounted as kt, onBeforeUnmount as xt, toRefs as il, watch as ge, createElementBlock as r, openBlock as u, normalizeStyle as $, normalizeClass as De, createBlock as ae, createCommentVNode as v, renderSlot as w, createElementVNode as h, createVNode as Be, unref as n, createSlots as _t, withCtx as A, normalizeProps as he, guardReactiveProps as ye, Fragment as b, renderList as F, mergeProps as $t, toDisplayString as I, withDirectives as Ct, createTextVNode as Ve, vShow as At, nextTick as vl } from "vue";
2
+ import { u as dl, o as Tt, e as Ee, g as cl, c as hl, A as yl, b as fl, v as pl, d as St, p as oe, m as Pt, $ as gl, f as N, X as ml, s as Ce, w as bl, j as wl, N as P, i as V, k as fe, n as x, a0 as Ft, a1 as kl, a2 as xl, t as _l, a as $l, C as Ge, q as Cl, r as Al, x as Tl, T as Lt } from "./index-BQcLOx39.js";
3
+ import { t as Sl, u as Pl } from "./useResponsive-DfdjqQps.js";
4
+ import { u as It } from "./useNestedProp-DefBVltl.js";
5
+ import { u as Fl } from "./usePrinter-BRY5saEA.js";
6
+ import { u as Ll } from "./useUserOptionState-BIvW1Kz7.js";
7
+ import { u as Il } from "./useChartAccessibility-9icAAmYg.js";
8
+ import Ml from "./Legend-BSLj7tYc.js";
9
+ import zl from "./Title-Cednydse.js";
10
+ import { _ as Ol } from "./Shape-DK7zYTKa.js";
11
+ import { u as Nl, B as Yl } from "./useLoading-Bt5Doa8m.js";
12
+ import Xl from "./img-DqlIAUF6.js";
13
+ import { _ as Dl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
+ const Bl = ["id"], Vl = ["xmlns", "viewBox"], El = ["width", "height"], Gl = { key: 1 }, Rl = ["id"], ql = ["stop-color"], Wl = ["offset", "stop-color"], Ul = ["offset", "stop-color"], Hl = ["stop-color"], jl = { key: 2 }, Jl = ["id", "cx", "cy"], Kl = ["stop-color", "stop-opacity"], Ql = ["stop-color"], Zl = ["id"], ea = ["id"], ta = ["id"], la = ["flood-color"], aa = ["id"], oa = ["flood-color"], sa = ["d", "stroke", "filter"], na = ["d", "stroke", "filter"], ua = ["cx", "cy", "r", "fill", "filter"], ra = { key: 6 }, ia = ["stroke", "d"], va = ["d", "fill", "stroke", "stroke-width", "filter"], da = { key: 0 }, ca = ["d", "fill", "stroke", "stroke-width", "filter"], ha = { key: 0 }, ya = ["stroke", "d"], fa = { key: 0 }, pa = ["d", "stroke", "stroke-width", "filter"], ga = { key: 1 }, ma = ["d", "fill", "stroke", "stroke-width", "filter"], ba = ["d", "fill", "stroke", "stroke-width", "filter"], wa = { key: 1 }, ka = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], xa = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], _a = { key: 0 }, $a = ["d", "fill", "stroke", "stroke-width"], Ca = ["cx", "cy", "r", "stroke"], Aa = ["cx", "cy", "r", "fill"], Ta = ["cx", "cy", "r"], Sa = { key: 0 }, Pa = ["d", "stroke", "fill", "onMouseenter", "onMouseleave", "onClick"], Fa = { key: 1 }, La = ["cx", "cy", "r"], Ia = ["x", "y", "fill", "font-size"], Ma = ["x", "y", "fill", "font-size"], za = ["x", "y", "fill", "font-size"], Oa = ["x", "y", "fill", "font-size"], Na = ["filter"], Ya = { key: 0 }, Xa = ["x", "y"], Da = { key: 1 }, Ba = ["cx", "cy", "fill", "stroke", "filter", "onClick", "onMouseenter", "onMouseleave"], Va = ["cx", "cy", "fill", "stroke", "filter", "onClick", "onMouseenter", "onMouseleave"], Ea = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "onMouseenter", "onMouseleave"], Ga = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "innerHTML"], Ra = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "onMouseenter", "onMouseleave"], qa = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "innerHTML"], Wa = { key: 2 }, Ua = ["x", "y", "width"], Ha = ["x", "y", "width"], ja = {
15
15
  key: 4,
16
16
  class: "vue-data-ui-watermark"
17
- }, ja = ["onClick"], Ja = ["innerHTML"], Ka = {
17
+ }, Ja = ["onClick"], Ka = ["innerHTML"], Qa = {
18
18
  __name: "vue-ui-donut",
19
19
  props: {
20
20
  config: {
@@ -31,15 +31,15 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
31
31
  }
32
32
  },
33
33
  emits: ["selectLegend", "selectDatapoint"],
34
- setup(Ge, { expose: Ft, emit: Lt }) {
35
- const It = ce(() => import("./vue-ui-accordion-qNR0BQCP.js")), Mt = ce(() => import("./DataTable-kd4xY9pT.js")), zt = ce(() => import("./PackageVersion-3ZfzB951.js")), Ot = ce(() => import("./PenAndPaper-BZddJqUG.js")), Nt = ce(() => import("./Tooltip-BLtR7DBZ.js")), Yt = ce(() => import("./UserOptions-DOwmMJId.js")), { vue_ui_donut: Xt } = vl(), Dt = sl(), k = Ge, me = y({
34
+ setup(Re, { expose: Mt, emit: zt }) {
35
+ const Ot = ce(() => import("./vue-ui-accordion-Df-5BRRg.js")), Nt = ce(() => import("./DataTable-CDwApkI_.js")), Yt = ce(() => import("./PackageVersion-BsKpz6KS.js")), Xt = ce(() => import("./PenAndPaper-BYRk8xrS.js")), Dt = ce(() => import("./Tooltip-DJlwW-XP.js")), Bt = ce(() => import("./UserOptions-DxIzWere.js")), { vue_ui_donut: Vt } = dl(), Et = rl(), k = Re, me = y({
36
36
  get() {
37
37
  return !!k.dataset && k.dataset.length;
38
38
  },
39
39
  set(l) {
40
40
  return l;
41
41
  }
42
- }), H = U(null), be = p(null), Ae = p(null), Te = p(null), Re = U(null), qe = U(null), j = U(null), se = U(null), We = U(null), Ue = U(null), He = p(0), je = p(0), Je = p(0), we = y({
42
+ }), E = H(null), be = p(null), Ae = p(null), Te = p(null), qe = H(null), We = H(null), j = H(null), se = H(null), Ue = H(null), He = H(null), je = p(0), Je = p(0), Ke = p(0), we = y({
43
43
  get: () => e.value.style.chart.layout.labels.percentage.fontSize,
44
44
  set: (l) => l
45
45
  }), J = y({
@@ -50,7 +50,7 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
50
50
  const G = () => {
51
51
  !e.value.autoSize || Se || (Se = !0, requestAnimationFrame(() => {
52
52
  Se = !1;
53
- const l = e.value, o = be.value, t = ne.value;
53
+ const l = e.value, o = be.value, t = ue.value;
54
54
  if (!l.autoSize || !o || !t) return;
55
55
  const [a, i, c, m] = t.getAttribute("viewBox").split(" ").map(Number), C = { x: a, y: i, width: c, height: m }, z = [
56
56
  {
@@ -66,92 +66,106 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
66
66
  sizeRef: J
67
67
  }
68
68
  ];
69
- z.map((B) => o.querySelectorAll(B.selector).length).reduce((B, Z) => B + Z, 0) !== 0 && (z.forEach(({ selector: B, baseSize: Z, minSize: Ye, sizeRef: ll }) => {
70
- o.querySelectorAll(B).forEach((al) => {
71
- const ol = wl({
72
- el: al,
69
+ z.map((B) => o.querySelectorAll(B.selector).length).reduce((B, Z) => B + Z, 0) !== 0 && (z.forEach(({ selector: B, baseSize: Z, minSize: Xe, sizeRef: sl }) => {
70
+ o.querySelectorAll(B).forEach((nl) => {
71
+ const ul = kl({
72
+ el: nl,
73
73
  bounds: C,
74
74
  currentFontSize: Z,
75
- minFontSize: Ye,
75
+ minFontSize: Xe,
76
76
  attempts: 200,
77
77
  padding: 1
78
78
  });
79
- ll.value = ol;
79
+ sl.value = ul;
80
80
  });
81
- }), e.value.autoSize && Ae.value && Te.value && kl({
81
+ }), e.value.autoSize && Ae.value && Te.value && xl({
82
82
  el: Ae.value,
83
83
  container: Te.value
84
84
  }));
85
85
  }));
86
86
  };
87
- ul(async () => {
88
- Ke(), requestAnimationFrame(G);
89
- }), nl(() => {
87
+ kt(async () => {
88
+ Qe(), requestAnimationFrame(G);
89
+ });
90
+ let Pe;
91
+ kt(() => {
92
+ E.value && (Pe = new ResizeObserver((l) => {
93
+ for (const o of l) {
94
+ const { width: t, height: a } = o.contentRect;
95
+ if (t > 0 && a > 0) {
96
+ G();
97
+ break;
98
+ }
99
+ }
100
+ }), Pe.observe(E.value.parentElement));
101
+ }), xt(() => {
102
+ Pe?.disconnect();
103
+ }), xt(() => {
90
104
  j.value && (se.value && j.value.unobserve(se.value), j.value.disconnect());
91
105
  });
92
- const Pe = y(() => !!e.value.debug);
93
- function Ke() {
94
- if ($t(k.dataset) ? (Ve({
106
+ const Fe = y(() => !!e.value.debug);
107
+ function Qe() {
108
+ if (Tt(k.dataset) ? (Ee({
95
109
  componentName: "VueUiDonut",
96
110
  type: "dataset",
97
- debug: Pe.value
111
+ debug: Fe.value
98
112
  }), me.value = !1, xe.value = !0) : (k.dataset.forEach((l, o) => {
99
- dl({
113
+ cl({
100
114
  datasetObject: l,
101
115
  requiredAttributes: ["name", "values"]
102
116
  }).forEach((t) => {
103
- me.value = !1, xe.value = !0, Ve({
117
+ Ee({
104
118
  componentName: "VueUiDonut",
105
119
  type: "datasetSerieAttribute",
106
120
  property: t,
107
121
  index: o,
108
- debug: Pe.value
109
- });
122
+ debug: Fe.value
123
+ }), me.value = !1, xe.value = !0;
110
124
  });
111
125
  }), k.dataset.forEach((l, o) => {
112
- (!l.name || l.name === "") && Ve({
126
+ (!l.name || l.name === "") && Ee({
113
127
  componentName: "VueUiDonut",
114
128
  type: "datasetAttributeEmpty",
115
129
  property: "name",
116
130
  index: o,
117
- debug: Pe.value
131
+ debug: Fe.value
118
132
  });
119
- })), $t(k.dataset) || (xe.value = e.value.loading), e.value.responsive) {
120
- const l = Tl(() => {
121
- const { width: o, height: t } = Sl({
122
- chart: H.value,
123
- title: e.value.style.chart.title.text ? Re.value : null,
124
- legend: e.value.style.chart.legend.show ? qe.value : null,
125
- source: We.value,
126
- noTitle: Ue.value,
127
- padding: e.value.autoSize ? void 0 : lt.value
133
+ })), Tt(k.dataset) || (xe.value = e.value.loading), e.value.responsive) {
134
+ const l = Sl(() => {
135
+ const { width: o, height: t } = Pl({
136
+ chart: E.value,
137
+ title: e.value.style.chart.title.text ? qe.value : null,
138
+ legend: e.value.style.chart.legend.show ? We.value : null,
139
+ source: Ue.value,
140
+ noTitle: He.value,
141
+ padding: e.value.autoSize ? void 0 : at.value
128
142
  });
129
143
  requestAnimationFrame(() => {
130
144
  s.value.width = o, s.value.height = t, G();
131
145
  });
132
146
  });
133
- j.value && (se.value && j.value.unobserve(se.value), j.value.disconnect()), j.value = new ResizeObserver(l), se.value = H.value.parentNode, j.value.observe(se.value);
147
+ j.value && (se.value && j.value.unobserve(se.value), j.value.disconnect()), j.value = new ResizeObserver(l), se.value = E.value.parentNode, j.value.observe(se.value);
134
148
  }
135
149
  }
136
- const g = p(cl()), Bt = p(null), Fe = p(!1), Le = p(""), Y = p(null), Qe = p(0);
137
- function Ie() {
138
- const l = Pt({
150
+ const g = p(hl()), Gt = p(null), Le = p(!1), Ie = p(""), Y = p(null), Ze = p(0);
151
+ function Me() {
152
+ const l = It({
139
153
  userConfig: k.config,
140
- defaultConfig: Xt
154
+ defaultConfig: Vt
141
155
  });
142
156
  let o = {};
143
157
  return l.theme ? o = {
144
- ...Pt({
145
- userConfig: _l.vue_ui_donut[l.theme] || k.config,
158
+ ...It({
159
+ userConfig: $l.vue_ui_donut[l.theme] || k.config,
146
160
  defaultConfig: l
147
161
  }),
148
- customPalette: xl[l.theme] || oe
149
- } : o = l, k.config && Ee(k.config, "events.datapointEnter") ? o.events.datapointEnter = k.config.events.datapointEnter : o.events.datapointEnter = null, k.config && Ee(k.config, "events.datapointLeave") ? o.events.datapointLeave = k.config.events.datapointLeave : o.events.datapointLeave = null, k.config && Ee(k.config, "events.datapointClick") ? o.events.datapointClick = k.config.events.datapointClick : o.events.datapointClick = null, o;
162
+ customPalette: _l[l.theme] || oe
163
+ } : o = l, k.config && Ge(k.config, "events.datapointEnter") ? o.events.datapointEnter = k.config.events.datapointEnter : o.events.datapointEnter = null, k.config && Ge(k.config, "events.datapointLeave") ? o.events.datapointLeave = k.config.events.datapointLeave : o.events.datapointLeave = null, k.config && Ge(k.config, "events.datapointClick") ? o.events.datapointClick = k.config.events.datapointClick : o.events.datapointClick = null, o;
150
164
  }
151
- const e = p(Ie()), { loading: ke, FINAL_DATASET: ue, manualLoading: xe, skeletonDataset: Vt } = Ol({
152
- ...rl(k),
165
+ const e = p(Me()), { loading: ke, FINAL_DATASET: ne, manualLoading: xe, skeletonDataset: Rt } = Nl({
166
+ ...il(k),
153
167
  FINAL_CONFIG: e,
154
- prepareConfig: Ie,
168
+ prepareConfig: Me,
155
169
  skeletonDataset: [
156
170
  {
157
171
  name: "",
@@ -169,10 +183,11 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
169
183
  color: "#CACACA"
170
184
  }
171
185
  ],
172
- skeletonConfig: hl({
186
+ skeletonConfig: yl({
173
187
  defaultConfig: e.value,
174
188
  userConfig: {
175
189
  useCssAnimation: !1,
190
+ table: { show: !1 },
176
191
  startAnimation: {
177
192
  show: !1
178
193
  },
@@ -205,36 +220,36 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
205
220
  }
206
221
  }
207
222
  })
208
- }), T = p(!0), R = U([]);
209
- function Et(l, o = 1e3, t = 50) {
223
+ }), T = p(!0), q = H([]);
224
+ function qt(l, o = 1e3, t = 50) {
210
225
  return new Promise((a) => {
211
226
  const i = l.length;
212
- R.value = Array(i).fill(0);
227
+ q.value = Array(i).fill(0);
213
228
  let c = 0;
214
229
  l.forEach((m, C) => {
215
230
  setTimeout(() => {
216
231
  const z = performance.now();
217
232
  function O(B) {
218
- const Z = Math.min((B - z) / o, 1), Ye = St(Z);
219
- R.value[C] = m * Ye, R.value = [...R.value], Z < 1 ? (requestAnimationFrame(O), requestAnimationFrame(G)) : (R.value[C] = m, R.value = [...R.value], c += 1, c === i && a(), requestAnimationFrame(G));
233
+ const Z = Math.min((B - z) / o, 1), Xe = Lt(Z);
234
+ q.value[C] = m * Xe, q.value = [...q.value], Z < 1 ? (requestAnimationFrame(O), requestAnimationFrame(G)) : (q.value[C] = m, q.value = [...q.value], c += 1, c === i && a(), requestAnimationFrame(G));
220
235
  }
221
236
  requestAnimationFrame(O);
222
237
  }, C * t);
223
238
  });
224
239
  });
225
240
  }
226
- const Ze = p(!1);
241
+ const et = p(!1);
227
242
  ge(
228
243
  () => ke.value,
229
244
  async (l) => {
230
- if (l || Ze.value) return;
231
- const o = ue.value === Vt, t = e.value.startAnimation?.show;
245
+ if (l || et.value) return;
246
+ const o = ne.value === Rt, t = e.value.startAnimation?.show;
232
247
  if (!o && t) {
233
- Ze.value = !0;
234
- const a = ue.value.map(
248
+ et.value = !0;
249
+ const a = ne.value.map(
235
250
  (i) => i.values.reduce((c, m) => c + m, 0)
236
251
  );
237
- await Et(
252
+ await qt(
238
253
  a,
239
254
  e.value.startAnimation.durationMs,
240
255
  e.value.startAnimation.staggerMs
@@ -244,17 +259,17 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
244
259
  },
245
260
  { immediate: !0 }
246
261
  );
247
- const { userOptionsVisible: Me, setUserOptionsVisibility: et, keepUserOptionState: tt } = Fl({ config: e.value }), { svgRef: ne } = Ll({ config: e.value.style.chart.title });
248
- function Gt() {
249
- et(!0);
262
+ const { userOptionsVisible: ze, setUserOptionsVisibility: tt, keepUserOptionState: lt } = Ll({ config: e.value }), { svgRef: ue } = Il({ config: e.value.style.chart.title });
263
+ function Wt() {
264
+ tt(!0);
250
265
  }
251
- function Rt() {
252
- et(!1);
266
+ function Ut() {
267
+ tt(!1);
253
268
  }
254
269
  ge(() => k.config, (l) => {
255
- ke.value || (e.value = Ie()), Me.value = !e.value.userOptions.showOnChartHover, Ke(), He.value += 1, je.value += 1, Je.value += 1, f.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, f.value.showTable = e.value.table.show, f.value.showTooltip = e.value.style.chart.tooltip.show, s.value.height = e.value.style.chart.height, s.value.width = e.value.style.chart.width;
270
+ ke.value || (e.value = Me()), ze.value = !e.value.userOptions.showOnChartHover, Qe(), je.value += 1, Je.value += 1, Ke.value += 1, f.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, f.value.showTable = e.value.table.show, f.value.showTooltip = e.value.style.chart.tooltip.show, s.value.height = e.value.style.chart.height, s.value.width = e.value.style.chart.width;
256
271
  }, { deep: !0 });
257
- const lt = y(() => {
272
+ const at = y(() => {
258
273
  const { top: l, right: o, bottom: t, left: a } = e.value.style.chart.padding;
259
274
  return {
260
275
  css: `padding:${l}px ${o}px ${t}px ${a}px`,
@@ -263,11 +278,11 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
263
278
  bottom: t,
264
279
  left: a
265
280
  };
266
- }), { isPrinting: at, isImaging: ot, generatePdf: st, generateImage: ut } = Pl({
281
+ }), { isPrinting: ot, isImaging: st, generatePdf: nt, generateImage: ut } = Fl({
267
282
  elementId: `donut__${g.value}`,
268
283
  fileName: e.value.style.chart.title.text || "vue-ui-donut",
269
284
  options: e.value.userOptions.print
270
- }), qt = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), nt = y(() => yl(e.value.customPalette)), f = p({
285
+ }), Ht = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), rt = y(() => fl(e.value.customPalette)), f = p({
271
286
  dataLabels: {
272
287
  show: e.value.style.chart.layout.labels.dataLabels.show
273
288
  },
@@ -291,10 +306,10 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
291
306
  return _.value;
292
307
  const l = e.value.style.chart.layout.donut.strokeWidth / 512, o = Math.min(s.value.width, s.value.height) * l, t = o > _.value ? _.value : o;
293
308
  return Math.max(t, 12 * (1 + l));
294
- }), rt = Lt, q = y(() => ue.value.map((l, o) => ({
309
+ }), it = zt, W = y(() => ne.value.map((l, o) => ({
295
310
  name: l.name,
296
- color: Ct(l.color) || nt.value[o] || oe[o] || oe[o % oe.length],
297
- value: fl(l.values.reduce((t, a) => t + a, 0)),
311
+ color: St(l.color) || rt.value[o] || oe[o] || oe[o % oe.length],
312
+ value: pl(l.values.reduce((t, a) => t + a, 0)),
298
313
  absoluteValues: l.values,
299
314
  comment: l.comment || "",
300
315
  patternIndex: o,
@@ -305,19 +320,19 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
305
320
  ge(() => k.dataset, (l) => {
306
321
  Array.isArray(l) && l.length > 0 && (xe.value = !1);
307
322
  }, { immediate: !0 });
308
- const M = U(q.value);
309
- ge(() => q.value, (l) => {
323
+ const M = H(W.value);
324
+ ge(() => W.value, (l) => {
310
325
  M.value = l, requestAnimationFrame(G);
311
326
  });
312
- function Wt() {
313
- return q.value.map((l) => ({
327
+ function jt() {
328
+ return W.value.map((l) => ({
314
329
  name: l.name,
315
330
  color: l.color,
316
331
  value: l.value
317
332
  }));
318
333
  }
319
- const E = p([]), te = p(!1);
320
- function it({ from: l, to: o, duration: t, onUpdate: a, onDone: i, easing: c = St }) {
334
+ const R = p([]), te = p(!1);
335
+ function vt({ from: l, to: o, duration: t, onUpdate: a, onDone: i, easing: c = Lt }) {
321
336
  const m = performance.now();
322
337
  function C(z) {
323
338
  const O = Math.min((z - m) / t, 1), B = c(O), Z = l + (o - l) * B;
@@ -325,16 +340,16 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
325
340
  }
326
341
  requestAnimationFrame(C);
327
342
  }
328
- function vt(l) {
329
- const o = q.value.find((i, c) => c === l);
343
+ function dt(l) {
344
+ const o = W.value.find((i, c) => c === l);
330
345
  let a = M.value.find((i, c) => c === l).value;
331
- if (E.value.includes(l)) {
346
+ if (R.value.includes(l)) {
332
347
  let c = function() {
333
348
  M.value = M.value.map(
334
349
  (C, z) => l === z ? { ...C, value: i } : C
335
350
  );
336
351
  }, m = function() {
337
- te.value = !0, it({
352
+ te.value = !0, vt({
338
353
  from: a,
339
354
  to: i,
340
355
  duration: e.value.serieToggleAnimation.durationMs,
@@ -348,16 +363,16 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
348
363
  }
349
364
  });
350
365
  };
351
- E.value = E.value.filter((C) => C !== l);
366
+ R.value = R.value.filter((C) => C !== l);
352
367
  const i = o.value;
353
368
  e.value.serieToggleAnimation.show && e.value.type === "classic" ? m() : (c(), requestAnimationFrame(G));
354
- } else if (E.value.length < q.value.length - 1) {
369
+ } else if (R.value.length < W.value.length - 1) {
355
370
  let i = function() {
356
- E.value.push(l), M.value = M.value.map(
371
+ R.value.push(l), M.value = M.value.map(
357
372
  (m, C) => l === C ? { ...m, value: 0 } : m
358
373
  );
359
374
  }, c = function() {
360
- te.value = !0, it({
375
+ te.value = !0, vt({
361
376
  from: a,
362
377
  to: 0,
363
378
  duration: e.value.serieToggleAnimation.durationMs,
@@ -373,20 +388,20 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
373
388
  };
374
389
  e.value.serieToggleAnimation.show && e.value.type === "classic" ? c() : i();
375
390
  }
376
- rt("selectLegend", W.value.map((i) => ({
391
+ it("selectLegend", U.value.map((i) => ({
377
392
  name: i.name,
378
393
  color: i.color,
379
394
  value: i.value
380
395
  })));
381
396
  }
382
- const Ut = y(() => ue.value.reduce((l, o) => l + o.values.reduce((t, a) => t + a, 0), 0)), W = y(() => {
397
+ const Jt = y(() => ne.value.reduce((l, o) => l + o.values.reduce((t, a) => t + a, 0), 0)), U = y(() => {
383
398
  if (T.value && !ke.value) {
384
- const l = R.value.map((t, a) => ({
385
- ...q.value[a],
399
+ const l = q.value.map((t, a) => ({
400
+ ...W.value[a],
386
401
  value: t,
387
- color: q.value[a].color,
402
+ color: W.value[a].color,
388
403
  ghost: !1
389
- })), o = Ut.value - R.value.reduce((t, a) => t + a, 0);
404
+ })), o = Jt.value - q.value.reduce((t, a) => t + a, 0);
390
405
  return o > 0 && l.push({
391
406
  name: "__ghost__",
392
407
  value: o,
@@ -403,20 +418,20 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
403
418
  }), M.value.map((l, o) => ({
404
419
  ...l,
405
420
  seriesIndex: o
406
- })).filter((l, o) => !E.value.includes(o));
407
- }), dt = y(() => ue.value.map((l, o) => ({
421
+ })).filter((l, o) => !R.value.includes(o));
422
+ }), ct = y(() => ne.value.map((l, o) => ({
408
423
  name: l.name,
409
- color: Ct(l.color) || nt.value[o] || oe[o] || oe[o % oe.length],
424
+ color: St(l.color) || rt.value[o] || oe[o] || oe[o % oe.length],
410
425
  value: (l.values || []).reduce((t, a) => t + a, 0),
411
426
  shape: "circle",
412
427
  patternIndex: o
413
428
  })).map((l, o) => ({
414
429
  ...l,
415
- proportion: l.value / ue.value.map((t) => (t.values || []).reduce((a, i) => a + i, 0)).reduce((t, a) => t + a, 0),
416
- opacity: E.value.includes(o) ? 0.5 : 1,
417
- segregate: () => !te.value && vt(o),
418
- isSegregated: E.value.includes(o)
419
- }))), Ht = y(() => ({
430
+ proportion: l.value / ne.value.map((t) => (t.values || []).reduce((a, i) => a + i, 0)).reduce((t, a) => t + a, 0),
431
+ opacity: R.value.includes(o) ? 0.5 : 1,
432
+ segregate: () => !te.value && dt(o),
433
+ isSegregated: R.value.includes(o)
434
+ }))), Kt = y(() => ({
420
435
  cy: "donut-div-legend",
421
436
  backgroundColor: e.value.style.chart.legend.backgroundColor,
422
437
  color: e.value.style.chart.legend.color,
@@ -426,7 +441,7 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
426
441
  })), _ = y(() => {
427
442
  const l = Math.min(s.value.width / 3, s.value.height / 3);
428
443
  return l < 12 ? 12 : l;
429
- }), S = y(() => At({ series: W.value }, s.value.width / 2, s.value.height / 2, _.value, _.value, 1.99999, 2, 1, 360, 105.25, ee.value)), jt = y(() => Math.abs(W.value.map((l) => l.value).reduce((l, o) => l + o, 0)) > 0), Jt = y(() => At({
444
+ }), S = y(() => Pt({ series: U.value }, s.value.width / 2, s.value.height / 2, _.value, _.value, 1.99999, 2, 1, 360, 105.25, ee.value)), Qt = y(() => Math.abs(U.value.map((l) => l.value).reduce((l, o) => l + o, 0)) > 0), Zt = y(() => Pt({
430
445
  series: [
431
446
  {
432
447
  value: 1,
@@ -439,8 +454,8 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
439
454
  }
440
455
  ]
441
456
  }, s.value.width / 2, s.value.height / 2, _.value, _.value, 1.99999, 2, 1, 360, 105.25, ee.value)), X = y(() => S.value.filter((l) => !l.ghost)), d = y(() => {
442
- const l = Math.max(...W.value.map((t) => t.value)), o = W.value.map((t) => t.value / l);
443
- return pl({
457
+ const l = Math.max(...U.value.map((t) => t.value)), o = U.value.map((t) => t.value / l);
458
+ return gl({
444
459
  series: o,
445
460
  center: {
446
461
  x: s.value.width / 2,
@@ -453,14 +468,14 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
453
468
  function re(l) {
454
469
  return l.x > s.value.width / 2 + 6 ? "start" : l.x < s.value.width / 2 - 6 ? "end" : "middle";
455
470
  }
456
- function Kt(l) {
471
+ function el(l) {
457
472
  return l.middlePoint.y > s.value.height / 2 ? P({ initX: l.middlePoint.x, initY: l.middlePoint.y, offset: 100, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y : P({ initX: l.middlePoint.x, initY: l.middlePoint.y, offset: 0, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y - 100;
458
473
  }
459
474
  function D(l) {
460
475
  return l.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
461
476
  }
462
- function ze(l, o) {
463
- const t = l.value / Qt(o);
477
+ function Oe(l, o) {
478
+ const t = l.value / tl(o);
464
479
  return isNaN(t) ? 0 : V(
465
480
  e.value.style.chart.layout.labels.percentage.formatter,
466
481
  t * 100,
@@ -472,31 +487,31 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
472
487
  { datapoint: l }
473
488
  );
474
489
  }
475
- function Qt(l) {
490
+ function tl(l) {
476
491
  return [...l].map((o) => o.value).reduce((o, t) => o + t, 0);
477
492
  }
478
- const L = y(() => W.value.map((l) => l.value).reduce((l, o) => l + o, 0)), ct = y(() => L.value / W.value.length), ht = y(() => (l) => te.value ? l.proportion * 100 : l.value / L.value * 100), Oe = p(null), pe = p(!1);
493
+ const L = y(() => U.value.map((l) => l.value).reduce((l, o) => l + o, 0)), ht = y(() => L.value / U.value.length), yt = y(() => (l) => te.value ? l.proportion * 100 : l.value / L.value * 100), Ne = p(null), pe = p(!1);
479
494
  function ie({ datapoint: l, seriesIndex: o }) {
480
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: o }), Fe.value = !1, Y.value = null;
495
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: o }), Le.value = !1, Y.value = null;
481
496
  }
482
497
  function ve({ datapoint: l, relativeIndex: o, seriesIndex: t, show: a = !1 }) {
483
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: l, seriesIndex: t }), Oe.value = { datapoint: l, seriesIndex: t, config: e.value, series: q.value }, Fe.value = a, Y.value = o;
498
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: l, seriesIndex: t }), Ne.value = { datapoint: l, seriesIndex: t, config: e.value, series: W.value }, Le.value = a, Y.value = o;
484
499
  let i = "";
485
500
  const c = e.value.style.chart.tooltip.customFormat;
486
- if (pe.value = !1, Al(c))
501
+ if (pe.value = !1, Tl(c))
487
502
  try {
488
503
  const m = c({
489
504
  seriesIndex: t,
490
505
  datapoint: l,
491
- series: q.value,
506
+ series: W.value,
492
507
  config: e.value
493
508
  });
494
- typeof m == "string" && (Le.value = m, pe.value = !0);
509
+ typeof m == "string" && (Ie.value = m, pe.value = !0);
495
510
  } catch {
496
511
  console.warn("Custom format cannot be applied."), pe.value = !1;
497
512
  }
498
513
  if (!pe.value) {
499
- if (i += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`, i += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><circle cx="30" cy="30" r="30" stroke="none" fill="${l.color}"/>${Dt.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${g.value}_${t})"/>` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (i += `<b>${V(
514
+ if (i += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`, i += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><circle cx="30" cy="30" r="30" stroke="none" fill="${l.color}"/>${Et.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${g.value}_${t})"/>` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (i += `<b>${V(
500
515
  e.value.style.chart.layout.labels.value.formatter,
501
516
  l.value,
502
517
  N({
@@ -527,25 +542,25 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
527
542
  );
528
543
  e.value.style.chart.tooltip.showValue ? i += `<span>(${m})</span></div>` : i += `<b>${m}</b></div>`;
529
544
  }
530
- e.value.style.chart.comments.showInTooltip && l.comment && (i += `<div class="vue-data-ui-tooltip-comment" style="background:${l.color}20; padding: 6px; margin-bottom: 6px; margin-top:6px; border-left: 1px solid ${l.color}">${l.comment}</div>`), Le.value = `<div>${i}</div>`;
545
+ e.value.style.chart.comments.showInTooltip && l.comment && (i += `<div class="vue-data-ui-tooltip-comment" style="background:${l.color}20; padding: 6px; margin-bottom: 6px; margin-top:6px; border-left: 1px solid ${l.color}">${l.comment}</div>`), Ie.value = `<div>${i}</div>`;
531
546
  }
532
547
  }
533
548
  function le(l) {
534
549
  return e.value.useBlurOnHover && ![null, void 0].includes(Y.value) && Y.value !== l ? `url(#blur_${g.value})` : "";
535
550
  }
536
551
  const K = y(() => {
537
- const l = W.value.map((t) => ({
552
+ const l = U.value.map((t) => ({
538
553
  name: t.name,
539
554
  color: t.color
540
- })), o = W.value.map((t) => t.value);
555
+ })), o = U.value.map((t) => t.value);
541
556
  return { head: l, body: o };
542
557
  });
543
- function yt(l = null) {
544
- il(() => {
558
+ function ft(l = null) {
559
+ vl(() => {
545
560
  const o = K.value.head.map((i, c) => [[
546
561
  i.name
547
- ], [K.value.body[c]], [isNaN(K.value.body[c] / L.value) ? "-" : K.value.body[c] / L.value * 100]]), t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(o), a = $l(t);
548
- l ? l(a) : Cl({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-donut" });
562
+ ], [K.value.body[c]], [isNaN(K.value.body[c] / L.value) ? "-" : K.value.body[c] / L.value * 100]]), t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(o), a = Cl(t);
563
+ l ? l(a) : Al({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-donut" });
549
564
  });
550
565
  }
551
566
  const _e = y(() => {
@@ -584,32 +599,32 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
584
599
  config: t
585
600
  };
586
601
  }), de = p(!1);
587
- function ft(l) {
588
- de.value = l, Qe.value += 1;
602
+ function pt(l) {
603
+ de.value = l, Ze.value += 1;
589
604
  }
590
- const pt = y(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
591
- function Zt(l) {
605
+ const gt = y(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
606
+ function ll(l) {
592
607
  return l.toFixed(e.value.style.chart.legend.roundingPercentage).split("").map((o) => "-").join("");
593
608
  }
594
609
  function Q(l, o) {
595
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: l.seriesIndex }), rt("selectDatapoint", { datapoint: l, index: o });
610
+ e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: l.seriesIndex }), it("selectDatapoint", { datapoint: l, index: o });
596
611
  }
597
- function gt() {
612
+ function mt() {
598
613
  f.value.showTable = !f.value.showTable;
599
614
  }
600
- function mt() {
615
+ function bt() {
601
616
  f.value.dataLabels.show = !f.value.dataLabels.show;
602
617
  }
603
- function bt() {
618
+ function wt() {
604
619
  f.value.showTooltip = !f.value.showTooltip;
605
620
  }
606
621
  const $e = p(!1);
607
- function Ne() {
622
+ function Ye() {
608
623
  $e.value = !$e.value;
609
624
  }
610
- async function el({ scale: l = 2 } = {}) {
611
- if (!H.value) return;
612
- const { width: o, height: t } = H.value.getBoundingClientRect(), a = o / t, { imageUri: i, base64: c } = await Yl({ domElement: H.value, base64: !0, img: !0, scale: l });
625
+ async function al({ scale: l = 2 } = {}) {
626
+ if (!E.value) return;
627
+ const { width: o, height: t } = E.value.getBoundingClientRect(), a = o / t, { imageUri: i, base64: c } = await Xl({ domElement: E.value, base64: !0, img: !0, scale: l });
613
628
  return {
614
629
  imageUri: i,
615
630
  base64: c,
@@ -619,56 +634,56 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
619
634
  aspectRatio: a
620
635
  };
621
636
  }
622
- function tl() {
637
+ function ol() {
623
638
  if (!be.value) return;
624
639
  const { x: l, y: o, width: t, height: a } = be.value.getBBox();
625
- ne.value && ne.value.setAttribute("viewBox", `${l} ${o} ${t + Math.min(0, l)} ${a + Math.min(0, o)}`);
640
+ ue.value && ue.value.setAttribute("viewBox", `${l} ${o} ${t + Math.min(0, l)} ${a + Math.min(0, o)}`);
626
641
  }
627
- return Ft({
628
- autoSize: tl,
629
- getData: Wt,
630
- getImage: el,
631
- generatePdf: st,
632
- generateCsv: yt,
642
+ return Mt({
643
+ autoSize: ol,
644
+ getData: jt,
645
+ getImage: al,
646
+ generatePdf: nt,
647
+ generateCsv: ft,
633
648
  generateImage: ut,
634
- toggleTable: gt,
635
- toggleLabels: mt,
636
- toggleTooltip: bt,
637
- toggleAnnotator: Ne,
638
- toggleFullscreen: ft
639
- }), (l, o) => (n(), r("div", {
649
+ toggleTable: mt,
650
+ toggleLabels: bt,
651
+ toggleTooltip: wt,
652
+ toggleAnnotator: Ye,
653
+ toggleFullscreen: pt
654
+ }), (l, o) => (u(), r("div", {
640
655
  ref_key: "donutChart",
641
- ref: H,
642
- class: Xe(`vue-ui-donut ${de.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
656
+ ref: E,
657
+ class: De(`vue-ui-donut ${de.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
643
658
  style: $(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
644
659
  id: `donut__${g.value}`,
645
- onMouseenter: Gt,
646
- onMouseleave: Rt
660
+ onMouseenter: Wt,
661
+ onMouseleave: Ut
647
662
  }, [
648
- e.value.userOptions.buttons.annotator && u(ne) ? (n(), ae(u(Ot), {
663
+ e.value.userOptions.buttons.annotator && n(ue) ? (u(), ae(n(Xt), {
649
664
  key: 0,
650
665
  color: e.value.style.chart.color,
651
666
  backgroundColor: e.value.style.chart.backgroundColor,
652
667
  active: $e.value,
653
- svgRef: u(ne),
654
- onClose: Ne
668
+ svgRef: n(ue),
669
+ onClose: Ye
655
670
  }, null, 8, ["color", "backgroundColor", "active", "svgRef"])) : v("", !0),
656
671
  w(l.$slots, "userConfig", {}, void 0, !0),
657
- qt.value ? (n(), r("div", {
672
+ Ht.value ? (u(), r("div", {
658
673
  key: 1,
659
674
  ref_key: "noTitle",
660
- ref: Ue,
675
+ ref: He,
661
676
  class: "vue-data-ui-no-title-space",
662
677
  style: "height:36px; width: 100%;background:transparent"
663
678
  }, null, 512)) : v("", !0),
664
- e.value.style.chart.title.text ? (n(), r("div", {
679
+ e.value.style.chart.title.text ? (u(), r("div", {
665
680
  key: 2,
666
681
  ref_key: "chartTitle",
667
- ref: Re,
682
+ ref: qe,
668
683
  style: "width:100%;background:transparent;padding-bottom:24px"
669
684
  }, [
670
- (n(), ae(Ml, {
671
- key: `title_${He.value}`,
685
+ (u(), ae(zl, {
686
+ key: `title_${je.value}`,
672
687
  config: {
673
688
  title: {
674
689
  cy: "donut-div-title",
@@ -681,14 +696,14 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
681
696
  }
682
697
  }, null, 8, ["config"]))
683
698
  ], 512)) : v("", !0),
684
- e.value.userOptions.show && me.value && (u(tt) || u(Me)) ? (n(), ae(u(Yt), {
699
+ e.value.userOptions.show && me.value && (n(lt) || n(ze)) ? (u(), ae(n(Bt), {
685
700
  ref_key: "details",
686
- ref: Bt,
687
- key: `user_option_${Qe.value}`,
701
+ ref: Gt,
702
+ key: `user_option_${Ze.value}`,
688
703
  backgroundColor: e.value.style.chart.backgroundColor,
689
704
  color: e.value.style.chart.color,
690
- isPrinting: u(at),
691
- isImaging: u(ot),
705
+ isPrinting: n(ot),
706
+ isImaging: n(st),
692
707
  uid: g.value,
693
708
  hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
694
709
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -698,7 +713,7 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
698
713
  hasLabel: e.value.userOptions.buttons.labels,
699
714
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
700
715
  isFullscreen: de.value,
701
- chartElement: H.value,
716
+ chartElement: E.value,
702
717
  position: e.value.userOptions.position,
703
718
  callbacks: e.value.userOptions.callbacks,
704
719
  isTooltip: f.value.showTooltip,
@@ -706,18 +721,18 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
706
721
  hasAnnotator: e.value.userOptions.buttons.annotator,
707
722
  isAnnotation: $e.value,
708
723
  printScale: e.value.userOptions.print.scale,
709
- onToggleFullscreen: ft,
710
- onGeneratePdf: u(st),
711
- onGenerateCsv: yt,
712
- onGenerateImage: u(ut),
713
- onToggleTable: gt,
714
- onToggleLabels: mt,
715
- onToggleTooltip: bt,
716
- onToggleAnnotator: Ne,
724
+ onToggleFullscreen: pt,
725
+ onGeneratePdf: n(nt),
726
+ onGenerateCsv: ft,
727
+ onGenerateImage: n(ut),
728
+ onToggleTable: mt,
729
+ onToggleLabels: bt,
730
+ onToggleTooltip: wt,
731
+ onToggleAnnotator: Ye,
717
732
  style: $({
718
- visibility: u(tt) ? u(Me) ? "visible" : "hidden" : "visible"
733
+ visibility: n(lt) ? n(ze) ? "visible" : "hidden" : "visible"
719
734
  })
720
- }, wt({ _: 2 }, [
735
+ }, _t({ _: 2 }, [
721
736
  l.$slots.menuIcon ? {
722
737
  name: "menuIcon",
723
738
  fn: A(({ isOpen: t, color: a }) => [
@@ -782,21 +797,21 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
782
797
  key: "8"
783
798
  } : void 0
784
799
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "position", "callbacks", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !0),
785
- (n(), r("svg", {
800
+ (u(), r("svg", {
786
801
  ref_key: "svgRef",
787
- ref: ne,
788
- xmlns: u(gl),
789
- class: Xe({ "vue-data-ui-fullscreen--on": de.value, "vue-data-ui-fulscreen--off": !de.value, "vue-data-ui-svg": !0 }),
802
+ ref: ue,
803
+ xmlns: n(ml),
804
+ class: De({ "vue-data-ui-fullscreen--on": de.value, "vue-data-ui-fulscreen--off": !de.value, "vue-data-ui-svg": !0 }),
790
805
  viewBox: `0 0 ${s.value.width <= 0 ? 10 : s.value.width} ${s.value.height <= 0 ? 10 : s.value.height}`,
791
- style: $(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};${lt.value.css}`)
806
+ style: $(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};${at.value.css}`)
792
807
  }, [
793
808
  h("g", {
794
809
  ref_key: "G",
795
810
  ref: be,
796
811
  class: "vue-data-ui-g"
797
812
  }, [
798
- De(u(zt)),
799
- l.$slots["chart-background"] ? (n(), r("foreignObject", {
813
+ Be(n(Yt)),
814
+ l.$slots["chart-background"] ? (u(), r("foreignObject", {
800
815
  key: 0,
801
816
  x: 0,
802
817
  y: 0,
@@ -807,35 +822,35 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
807
822
  }
808
823
  }, [
809
824
  w(l.$slots, "chart-background", {}, void 0, !0)
810
- ], 8, Vl)) : v("", !0),
811
- e.value.type === "classic" && !isNaN(ee.value / _.value) ? (n(), r("defs", El, [
812
- e.value.style.chart.useGradient ? (n(), r("radialGradient", {
825
+ ], 8, El)) : v("", !0),
826
+ e.value.type === "classic" && !isNaN(ee.value / _.value) ? (u(), r("defs", Gl, [
827
+ e.value.style.chart.useGradient ? (u(), r("radialGradient", {
813
828
  key: 0,
814
829
  id: `gradient_${g.value}`
815
830
  }, [
816
831
  h("stop", {
817
832
  offset: "0%",
818
- "stop-color": u(Ce)(e.value.style.chart.backgroundColor, 0),
833
+ "stop-color": n(Ce)(e.value.style.chart.backgroundColor, 0),
819
834
  "stop-opacity": "0"
820
- }, null, 8, Rl),
835
+ }, null, 8, ql),
821
836
  h("stop", {
822
837
  offset: `${(1 - ee.value / _.value) * 100}%`,
823
- "stop-color": u(Ce)("#FFFFFF", 0),
838
+ "stop-color": n(Ce)("#FFFFFF", 0),
824
839
  "stop-opacity": "0"
825
- }, null, 8, ql),
840
+ }, null, 8, Wl),
826
841
  h("stop", {
827
842
  offset: `${(1 - ee.value / _.value / 2) * 100}%`,
828
- "stop-color": u(Ce)("#FFFFFF", e.value.style.chart.gradientIntensity)
829
- }, null, 8, Wl),
843
+ "stop-color": n(Ce)("#FFFFFF", e.value.style.chart.gradientIntensity)
844
+ }, null, 8, Ul),
830
845
  h("stop", {
831
846
  offset: "100%",
832
- "stop-color": u(Ce)(e.value.style.chart.backgroundColor, 0),
847
+ "stop-color": n(Ce)(e.value.style.chart.backgroundColor, 0),
833
848
  "stop-opacity": "0"
834
- }, null, 8, Ul)
835
- ], 8, Gl)) : v("", !0)
849
+ }, null, 8, Hl)
850
+ ], 8, Rl)) : v("", !0)
836
851
  ])) : v("", !0),
837
- e.value.type === "polar" ? (n(), r("defs", Hl, [
838
- (n(!0), r(b, null, F(d.value, (t, a) => (n(), r("radialGradient", {
852
+ e.value.type === "polar" ? (u(), r("defs", jl, [
853
+ (u(!0), r(b, null, F(d.value, (t, a) => (u(), r("radialGradient", {
839
854
  id: `polar_gradient_${a}_${g.value}`,
840
855
  cx: (isNaN(t.middlePoint.x / s.value.width * 100) ? 0 : t.middlePoint.x / s.value.width * 100) + "%",
841
856
  cy: (isNaN(t.middlePoint.y / s.value.height * 100) ? 0 : t.middlePoint.y / s.value.height * 100) + "%",
@@ -843,14 +858,14 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
843
858
  }, [
844
859
  h("stop", {
845
860
  offset: "0%",
846
- "stop-color": u(ml)(S.value[a].color, 0.05),
861
+ "stop-color": n(bl)(S.value[a].color, 0.05),
847
862
  "stop-opacity": e.value.style.chart.gradientIntensity / 100
848
- }, null, 8, Jl),
863
+ }, null, 8, Kl),
849
864
  h("stop", {
850
865
  offset: "100%",
851
866
  "stop-color": S.value[a].color
852
- }, null, 8, Kl)
853
- ], 8, jl))), 256))
867
+ }, null, 8, Ql)
868
+ ], 8, Jl))), 256))
854
869
  ])) : v("", !0),
855
870
  h("defs", null, [
856
871
  h("filter", {
@@ -864,12 +879,12 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
864
879
  in: "SourceGraphic",
865
880
  stdDeviation: 2,
866
881
  id: `blur_std_${g.value}`
867
- }, null, 8, Zl),
882
+ }, null, 8, ea),
868
883
  o[5] || (o[5] = h("feColorMatrix", {
869
884
  type: "saturate",
870
885
  values: "0"
871
886
  }, null, -1))
872
- ], 8, Ql),
887
+ ], 8, Zl),
873
888
  h("filter", {
874
889
  id: `shadow_${g.value}`,
875
890
  "color-interpolation-filters": "sRGB"
@@ -880,8 +895,8 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
880
895
  stdDeviation: "10",
881
896
  "flood-opacity": "0.5",
882
897
  "flood-color": e.value.style.chart.layout.donut.shadowColor
883
- }, null, 8, ta)
884
- ], 8, ea),
898
+ }, null, 8, la)
899
+ ], 8, ta),
885
900
  h("filter", {
886
901
  id: `drop_shadow_${g.value}`,
887
902
  "color-interpolation-filters": "sRGB",
@@ -896,25 +911,25 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
896
911
  stdDeviation: "3",
897
912
  "flood-opacity": "1",
898
913
  "flood-color": e.value.style.chart.layout.donut.shadowColor
899
- }, null, 8, aa)
900
- ], 8, la)
914
+ }, null, 8, oa)
915
+ ], 8, aa)
901
916
  ]),
902
- e.value.type === "classic" ? (n(!0), r(b, { key: 3 }, F(S.value.filter((t) => !t.ghost), (t, a) => (n(), r("g", null, [
903
- D(t) && f.value.dataLabels.show ? (n(), r("path", {
917
+ e.value.type === "classic" ? (u(!0), r(b, { key: 3 }, F(S.value.filter((t) => !t.ghost), (t, a) => (u(), r("g", null, [
918
+ D(t) && f.value.dataLabels.show ? (u(), r("path", {
904
919
  key: 0,
905
- d: u(bl)(t, { x: s.value.width / 2, y: s.value.height / 2 }, 16, 16, !1, !1, ee.value, 12, e.value.style.chart.layout.curvedMarkers),
920
+ d: n(wl)(t, { x: s.value.width / 2, y: s.value.height / 2 }, 16, 16, !1, !1, ee.value, 12, e.value.style.chart.layout.curvedMarkers),
906
921
  stroke: t.color,
907
922
  "stroke-width": "1",
908
923
  "stroke-linecap": "round",
909
924
  "stroke-linejoin": "round",
910
925
  fill: "none",
911
926
  filter: le(a)
912
- }, null, 8, oa)) : v("", !0)
927
+ }, null, 8, sa)) : v("", !0)
913
928
  ]))), 256)) : v("", !0),
914
- e.value.type === "polar" ? (n(!0), r(b, { key: 4 }, F(S.value.filter((t) => !t.ghost), (t, a) => (n(), r("g", null, [
915
- D(t) && f.value.dataLabels.show ? (n(), r("path", {
929
+ e.value.type === "polar" ? (u(!0), r(b, { key: 4 }, F(S.value.filter((t) => !t.ghost), (t, a) => (u(), r("g", null, [
930
+ D(t) && f.value.dataLabels.show ? (u(), r("path", {
916
931
  key: 0,
917
- d: `M ${u(P)({ initX: d.value[a].middlePoint.x, initY: d.value[a].middlePoint.y, offset: 24, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x},${u(P)({ initX: d.value[a].middlePoint.x, initY: d.value[a].middlePoint.y, offset: 24, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y} ${d.value[a].middlePoint.x},${d.value[a].middlePoint.y}`,
932
+ d: `M ${n(P)({ initX: d.value[a].middlePoint.x, initY: d.value[a].middlePoint.y, offset: 24, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x},${n(P)({ initX: d.value[a].middlePoint.x, initY: d.value[a].middlePoint.y, offset: 24, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y} ${d.value[a].middlePoint.x},${d.value[a].middlePoint.y}`,
918
933
  stroke: t.color,
919
934
  "stroke-width": "1",
920
935
  "stroke-linecap": "round",
@@ -924,9 +939,9 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
924
939
  style: $({
925
940
  transition: T.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
926
941
  })
927
- }, null, 12, sa)) : v("", !0)
942
+ }, null, 12, na)) : v("", !0)
928
943
  ]))), 256)) : v("", !0),
929
- e.value.type === "classic" && e.value.style.chart.layout.donut.useShadow ? (n(), r("circle", {
944
+ e.value.type === "classic" && e.value.style.chart.layout.donut.useShadow ? (u(), r("circle", {
930
945
  key: 5,
931
946
  cx: s.value.width / 2,
932
947
  cy: s.value.height / 2,
@@ -934,50 +949,50 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
934
949
  fill: e.value.style.chart.backgroundColor,
935
950
  filter: `url(#shadow_${g.value})`
936
951
  }, null, 8, ua)) : v("", !0),
937
- l.$slots.pattern ? (n(), r("g", na, [
938
- (n(!0), r(b, null, F(Ge.dataset, (t, a) => (n(), r("defs", {
952
+ l.$slots.pattern ? (u(), r("g", ra, [
953
+ (u(!0), r(b, null, F(Re.dataset, (t, a) => (u(), r("defs", {
939
954
  key: `pattern-${t.patternIndex}`
940
955
  }, [
941
- w(l.$slots, "pattern", kt({ ref_for: !0 }, { seriesIndex: a, patternId: `pattern_${g.value}_${a}` }), void 0, !0)
956
+ w(l.$slots, "pattern", $t({ ref_for: !0 }, { seriesIndex: a, patternId: `pattern_${g.value}_${a}` }), void 0, !0)
942
957
  ]))), 128))
943
958
  ])) : v("", !0),
944
- L.value && e.value.type === "classic" ? (n(), r(b, { key: 7 }, [
945
- (n(!0), r(b, null, F(X.value, (t, a) => (n(), r("path", {
959
+ L.value && e.value.type === "classic" ? (u(), r(b, { key: 7 }, [
960
+ (u(!0), r(b, null, F(X.value, (t, a) => (u(), r("path", {
946
961
  stroke: e.value.style.chart.backgroundColor,
947
962
  d: t.arcSlice,
948
963
  fill: "#FFFFFF"
949
- }, null, 8, ra))), 256)),
950
- (n(!0), r(b, null, F(X.value, (t, a) => (n(), r("path", {
964
+ }, null, 8, ia))), 256)),
965
+ (u(!0), r(b, null, F(X.value, (t, a) => (u(), r("path", {
951
966
  class: "vue-ui-donut-arc-path",
952
967
  d: t.arcSlice,
953
968
  fill: t.color,
954
969
  stroke: e.value.style.chart.layout.donut.borderColorAuto ? e.value.style.chart.backgroundColor : e.value.style.chart.layout.donut.borderColor,
955
970
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
956
971
  filter: le(a)
957
- }, null, 8, ia))), 256)),
958
- l.$slots.pattern ? (n(), r("g", va, [
959
- (n(!0), r(b, null, F(X.value, (t, a) => (n(), r("path", {
972
+ }, null, 8, va))), 256)),
973
+ l.$slots.pattern ? (u(), r("g", da, [
974
+ (u(!0), r(b, null, F(X.value, (t, a) => (u(), r("path", {
960
975
  class: "vue-ui-donut-arc-path",
961
976
  d: t.arcSlice,
962
977
  fill: `url(#${t.pattern})`,
963
978
  stroke: e.value.style.chart.layout.donut.borderColorAuto ? e.value.style.chart.backgroundColor : e.value.style.chart.layout.donut.borderColor,
964
979
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
965
980
  filter: le(a)
966
- }, null, 8, da))), 256))
981
+ }, null, 8, ca))), 256))
967
982
  ])) : v("", !0)
968
983
  ], 64)) : v("", !0),
969
- L.value && e.value.type === "polar" ? (n(), r(b, { key: 8 }, [
970
- S.value.length > 1 ? (n(), r("g", ca, [
971
- (n(!0), r(b, null, F(X.value, (t, a) => (n(), r("path", {
984
+ L.value && e.value.type === "polar" ? (u(), r(b, { key: 8 }, [
985
+ S.value.length > 1 ? (u(), r("g", ha, [
986
+ (u(!0), r(b, null, F(X.value, (t, a) => (u(), r("path", {
972
987
  stroke: e.value.style.chart.layout.donut.borderColorAuto ? e.value.style.chart.backgroundColor : e.value.style.chart.layout.donut.borderColor,
973
988
  d: d.value[a].path,
974
989
  fill: "#FFFFFF",
975
990
  style: $({
976
991
  transition: T.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
977
992
  })
978
- }, null, 12, ha))), 256)),
979
- e.value.style.chart.layout.donut.useShadow ? (n(), r("g", ya, [
980
- (n(!0), r(b, null, F(X.value, (t, a) => (n(), r("path", {
993
+ }, null, 12, ya))), 256)),
994
+ e.value.style.chart.layout.donut.useShadow ? (u(), r("g", fa, [
995
+ (u(!0), r(b, null, F(X.value, (t, a) => (u(), r("path", {
981
996
  class: "vue-ui-donut-arc-path",
982
997
  d: d.value[a].path,
983
998
  fill: "transparent",
@@ -987,10 +1002,10 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
987
1002
  style: $({
988
1003
  transition: T.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
989
1004
  })
990
- }, null, 12, fa))), 256))
1005
+ }, null, 12, pa))), 256))
991
1006
  ])) : v("", !0),
992
- l.$slots.pattern ? (n(), r("g", pa, [
993
- (n(!0), r(b, null, F(X.value, (t, a) => (n(), r("path", {
1007
+ l.$slots.pattern ? (u(), r("g", ga, [
1008
+ (u(!0), r(b, null, F(X.value, (t, a) => (u(), r("path", {
994
1009
  class: "vue-ui-donut-arc-path",
995
1010
  d: d.value[a].path,
996
1011
  fill: `url(#${t.pattern})`,
@@ -1001,9 +1016,9 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1001
1016
  transition: T.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`,
1002
1017
  transformOrigin: "center"
1003
1018
  })
1004
- }, null, 12, ga))), 256))
1019
+ }, null, 12, ma))), 256))
1005
1020
  ])) : v("", !0),
1006
- (n(!0), r(b, null, F(X.value, (t, a) => (n(), r("path", {
1021
+ (u(!0), r(b, null, F(X.value, (t, a) => (u(), r("path", {
1007
1022
  class: "vue-ui-donut-arc-path",
1008
1023
  d: d.value[a].path,
1009
1024
  fill: e.value.style.chart.useGradient ? `url(#polar_gradient_${a}_${g.value})` : t.color,
@@ -1013,9 +1028,9 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1013
1028
  style: $({
1014
1029
  transition: T.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
1015
1030
  })
1016
- }, null, 12, ma))), 256))
1017
- ])) : (n(), r("g", ba, [
1018
- l.$slots.pattern ? (n(), r("circle", {
1031
+ }, null, 12, ba))), 256))
1032
+ ])) : (u(), r("g", wa, [
1033
+ l.$slots.pattern ? (u(), r("circle", {
1019
1034
  key: 0,
1020
1035
  cx: s.value.width / 2,
1021
1036
  cy: s.value.height / 2,
@@ -1023,7 +1038,7 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1023
1038
  fill: `url(#pattern_${g.value}_${S.value[0].patternIndex})`,
1024
1039
  stroke: e.value.style.chart.backgroundColor,
1025
1040
  "stroke-width": e.value.style.chart.layout.donut.borderWidth
1026
- }, null, 8, wa)) : v("", !0),
1041
+ }, null, 8, ka)) : v("", !0),
1027
1042
  h("circle", {
1028
1043
  cx: s.value.width / 2,
1029
1044
  cy: s.value.height / 2,
@@ -1031,17 +1046,17 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1031
1046
  fill: e.value.style.chart.useGradient ? `url(#polar_gradient_0_${g.value})` : S.value[0].color,
1032
1047
  stroke: e.value.style.chart.backgroundColor,
1033
1048
  "stroke-width": e.value.style.chart.layout.donut.borderWidth
1034
- }, null, 8, ka)
1049
+ }, null, 8, xa)
1035
1050
  ]))
1036
- ], 64)) : (n(), r(b, { key: 9 }, [
1037
- e.value.type === "classic" && !jt.value ? (n(), r("g", xa, [
1038
- (n(!0), r(b, null, F(Jt.value, (t, a) => (n(), r("path", {
1051
+ ], 64)) : (u(), r(b, { key: 9 }, [
1052
+ e.value.type === "classic" && !Qt.value ? (u(), r("g", _a, [
1053
+ (u(!0), r(b, null, F(Zt.value, (t, a) => (u(), r("path", {
1039
1054
  class: "vue-ui-donut-arc-path",
1040
1055
  d: t.arcSlice,
1041
1056
  fill: t.color,
1042
1057
  stroke: e.value.style.chart.backgroundColor,
1043
1058
  "stroke-width": e.value.style.chart.layout.donut.borderWidth
1044
- }, null, 8, _a))), 256))
1059
+ }, null, 8, $a))), 256))
1045
1060
  ])) : v("", !0),
1046
1061
  h("circle", {
1047
1062
  cx: s.value.width / 2,
@@ -1049,9 +1064,9 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1049
1064
  r: _.value <= 0 ? 10 : _.value,
1050
1065
  fill: "transparent",
1051
1066
  stroke: e.value.style.chart.backgroundColor
1052
- }, null, 8, $a)
1067
+ }, null, 8, Ca)
1053
1068
  ], 64)),
1054
- e.value.style.chart.useGradient && e.value.type === "classic" ? (n(), r("circle", {
1069
+ e.value.style.chart.useGradient && e.value.type === "classic" ? (u(), r("circle", {
1055
1070
  key: 10,
1056
1071
  cx: s.value.width / 2,
1057
1072
  cy: s.value.height / 2,
@@ -1060,7 +1075,7 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1060
1075
  _.value <= 0 ? 10 : _.value
1061
1076
  ),
1062
1077
  fill: `url(#gradient_${g.value})`
1063
- }, null, 8, Ca)) : v("", !0),
1078
+ }, null, 8, Aa)) : v("", !0),
1064
1079
  h("circle", {
1065
1080
  ref_key: "circle_hollow",
1066
1081
  ref: Te,
@@ -1069,10 +1084,10 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1069
1084
  cx: s.value.width / 2,
1070
1085
  cy: s.value.height / 2,
1071
1086
  r: Math.max(0.1, ee.value * 1.7)
1072
- }, null, 8, Aa),
1073
- L.value ? (n(), r(b, { key: 11 }, [
1074
- S.value.length > 1 || e.value.type === "classic" ? (n(), r("g", Ta, [
1075
- (n(!0), r(b, null, F(S.value.filter((t) => !t.ghost), (t, a) => (n(), r("path", {
1087
+ }, null, 8, Ta),
1088
+ L.value ? (u(), r(b, { key: 11 }, [
1089
+ S.value.length > 1 || e.value.type === "classic" ? (u(), r("g", Sa, [
1090
+ (u(!0), r(b, null, F(S.value.filter((t) => !t.ghost), (t, a) => (u(), r("path", {
1076
1091
  d: e.value.type === "classic" ? t.arcSlice : d.value[a].path,
1077
1092
  stroke: e.value.style.chart.layout.donut.borderColorAuto ? e.value.style.chart.backgroundColor : e.value.style.chart.layout.donut.borderColor,
1078
1093
  fill: Y.value === a ? e.value.style.chart.layout.donut.selectedColor : "transparent",
@@ -1084,8 +1099,8 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1084
1099
  }),
1085
1100
  onMouseleave: (i) => ie({ datapoint: t, seriesIndex: t.seriesIndex }),
1086
1101
  onClick: (i) => Q(t, a)
1087
- }, null, 40, Sa))), 256))
1088
- ])) : (n(), r("g", Pa, [
1102
+ }, null, 40, Pa))), 256))
1103
+ ])) : (u(), r("g", Fa, [
1089
1104
  h("circle", {
1090
1105
  cx: s.value.width / 2,
1091
1106
  cy: s.value.height / 2,
@@ -1099,16 +1114,16 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1099
1114
  })),
1100
1115
  onMouseleave: o[1] || (o[1] = (t) => ie({ datapoint: S.value[0], seriesIndex: S.value[0].seriesIndex })),
1101
1116
  onClick: o[2] || (o[2] = (t) => Q(S.value[0], l.i))
1102
- }, null, 40, Fa)
1117
+ }, null, 40, La)
1103
1118
  ]))
1104
1119
  ], 64)) : v("", !0),
1105
- e.value.type === "classic" ? (n(), r("g", {
1120
+ e.value.type === "classic" ? (u(), r("g", {
1106
1121
  key: 12,
1107
1122
  ref_key: "G_hollow",
1108
1123
  ref: Ae,
1109
1124
  class: "vue-data-ui-donut-hollow-labels"
1110
1125
  }, [
1111
- e.value.style.chart.layout.labels.hollow.total.show ? (n(), r("text", {
1126
+ e.value.style.chart.layout.labels.hollow.total.show ? (u(), r("text", {
1112
1127
  key: 0,
1113
1128
  "text-anchor": "middle",
1114
1129
  x: s.value.width / 2,
@@ -1116,8 +1131,8 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1116
1131
  fill: e.value.style.chart.layout.labels.hollow.total.color,
1117
1132
  "font-size": e.value.style.chart.layout.labels.hollow.total.fontSize,
1118
1133
  style: $(`font-weight:${e.value.style.chart.layout.labels.hollow.total.bold ? "bold" : ""}`)
1119
- }, I(e.value.style.chart.layout.labels.hollow.total.text), 13, La)) : v("", !0),
1120
- e.value.style.chart.layout.labels.hollow.total.show ? (n(), r("text", {
1134
+ }, I(e.value.style.chart.layout.labels.hollow.total.text), 13, Ia)) : v("", !0),
1135
+ e.value.style.chart.layout.labels.hollow.total.show ? (u(), r("text", {
1121
1136
  key: 1,
1122
1137
  "text-anchor": "middle",
1123
1138
  x: s.value.width / 2,
@@ -1125,16 +1140,16 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1125
1140
  fill: e.value.style.chart.layout.labels.hollow.total.value.color,
1126
1141
  "font-size": e.value.style.chart.layout.labels.hollow.total.value.fontSize,
1127
1142
  style: $(`font-weight:${e.value.style.chart.layout.labels.hollow.total.value.bold ? "bold" : ""}`)
1128
- }, I(u(V)(
1143
+ }, I(n(V)(
1129
1144
  e.value.style.chart.layout.labels.hollow.total.value.formatter,
1130
1145
  L.value,
1131
- u(N)({
1146
+ n(N)({
1132
1147
  p: e.value.style.chart.layout.labels.hollow.total.value.prefix,
1133
1148
  v: L.value,
1134
1149
  s: e.value.style.chart.layout.labels.hollow.total.value.suffix
1135
1150
  })
1136
- )), 13, Ia)) : v("", !0),
1137
- e.value.style.chart.layout.labels.hollow.average.show ? (n(), r("text", {
1151
+ )), 13, Ma)) : v("", !0),
1152
+ e.value.style.chart.layout.labels.hollow.average.show ? (u(), r("text", {
1138
1153
  key: 2,
1139
1154
  "text-anchor": "middle",
1140
1155
  x: s.value.width / 2,
@@ -1142,8 +1157,8 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1142
1157
  fill: e.value.style.chart.layout.labels.hollow.average.color,
1143
1158
  "font-size": e.value.style.chart.layout.labels.hollow.average.fontSize,
1144
1159
  style: $(`font-weight:${e.value.style.chart.layout.labels.hollow.average.bold ? "bold" : ""}`)
1145
- }, I(e.value.style.chart.layout.labels.hollow.average.text), 13, Ma)) : v("", !0),
1146
- e.value.style.chart.layout.labels.hollow.average.show ? (n(), r("text", {
1160
+ }, I(e.value.style.chart.layout.labels.hollow.average.text), 13, za)) : v("", !0),
1161
+ e.value.style.chart.layout.labels.hollow.average.show ? (u(), r("text", {
1147
1162
  key: 3,
1148
1163
  "text-anchor": "middle",
1149
1164
  x: s.value.width / 2,
@@ -1151,48 +1166,48 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1151
1166
  fill: e.value.style.chart.layout.labels.hollow.average.value.color,
1152
1167
  "font-size": e.value.style.chart.layout.labels.hollow.average.value.fontSize,
1153
1168
  style: $(`font-weight:${e.value.style.chart.layout.labels.hollow.average.value.bold ? "bold" : ""}`)
1154
- }, I(te.value || T.value ? "--" : u(V)(
1169
+ }, I(te.value || T.value ? "--" : n(V)(
1155
1170
  e.value.style.chart.layout.labels.hollow.average.value.formatter,
1156
- ct.value,
1157
- u(N)({
1171
+ ht.value,
1172
+ n(N)({
1158
1173
  p: e.value.style.chart.layout.labels.hollow.average.value.prefix,
1159
- v: ct.value,
1174
+ v: ht.value,
1160
1175
  s: e.value.style.chart.layout.labels.hollow.average.value.suffix,
1161
1176
  r: e.value.style.chart.layout.labels.hollow.average.value.rounding
1162
1177
  })
1163
- )), 13, za)) : v("", !0)
1178
+ )), 13, Oa)) : v("", !0)
1164
1179
  ], 512)) : v("", !0),
1165
- (n(!0), r(b, null, F(X.value.filter((t) => !t.ghost), (t, a) => (n(), r("g", {
1180
+ (u(!0), r(b, null, F(X.value.filter((t) => !t.ghost), (t, a) => (u(), r("g", {
1166
1181
  filter: le(a),
1167
- class: Xe({ animated: e.value.useCssAnimation }),
1182
+ class: De({ animated: e.value.useCssAnimation }),
1168
1183
  key: t.seriesIndex
1169
1184
  }, [
1170
- e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (n(), r("g", Na, [
1171
- (n(), r("foreignObject", {
1172
- x: u(x)(t, !0).anchor === "end" ? u(x)(t).x - 120 : u(x)(t, !0).anchor === "middle" ? u(x)(t).x - 60 : u(x)(t).x,
1173
- y: u(fe)(t) - (pt.value ? 20 : 0),
1185
+ e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (u(), r("g", Ya, [
1186
+ (u(), r("foreignObject", {
1187
+ x: n(x)(t, !0).anchor === "end" ? n(x)(t).x - 120 : n(x)(t, !0).anchor === "middle" ? n(x)(t).x - 60 : n(x)(t).x,
1188
+ y: n(fe)(t) - (gt.value ? 20 : 0),
1174
1189
  width: "120",
1175
1190
  height: "60",
1176
1191
  style: { overflow: "visible" }
1177
1192
  }, [
1178
1193
  h("div", null, [
1179
- w(l.$slots, "dataLabel", kt({ ref_for: !0 }, {
1194
+ w(l.$slots, "dataLabel", $t({ ref_for: !0 }, {
1180
1195
  datapoint: t,
1181
1196
  isBlur: !e.value.useBlurOnHover || [null, void 0].includes(Y.value) || Y.value === a,
1182
- isSafari: pt.value,
1197
+ isSafari: gt.value,
1183
1198
  isVisible: D(t) && f.value.dataLabels.show,
1184
- textAlign: u(x)(t, !0, 16, !0).anchor,
1185
- flexAlign: u(x)(t, !0, 16).anchor,
1186
- percentage: ze(t, X.value)
1199
+ textAlign: n(x)(t, !0, 16, !0).anchor,
1200
+ flexAlign: n(x)(t, !0, 16).anchor,
1201
+ percentage: Oe(t, X.value)
1187
1202
  }), void 0, !0)
1188
1203
  ])
1189
- ], 8, Ya))
1190
- ])) : (n(), r("g", Xa, [
1191
- e.value.type === "classic" ? (n(), r(b, { key: 0 }, [
1192
- D(t) && f.value.dataLabels.show ? (n(), r("circle", {
1204
+ ], 8, Xa))
1205
+ ])) : (u(), r("g", Da, [
1206
+ e.value.type === "classic" ? (u(), r(b, { key: 0 }, [
1207
+ D(t) && f.value.dataLabels.show ? (u(), r("circle", {
1193
1208
  key: 0,
1194
- cx: u(x)(t).x,
1195
- cy: u(fe)(t) - 3.5,
1209
+ cx: n(x)(t).x,
1210
+ cy: n(fe)(t) - 3.5,
1196
1211
  fill: t.color,
1197
1212
  stroke: e.value.style.chart.backgroundColor,
1198
1213
  "stroke-width": 1,
@@ -1206,13 +1221,13 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1206
1221
  show: !0
1207
1222
  }),
1208
1223
  onMouseleave: (i) => ie({ datapoint: t, seriesIndex: t.seriesIndex })
1209
- }, null, 40, Da)) : v("", !0)
1224
+ }, null, 40, Ba)) : v("", !0)
1210
1225
  ], 64)) : v("", !0),
1211
- e.value.type === "polar" ? (n(), r(b, { key: 1 }, [
1212
- D(t) && f.value.dataLabels.show ? (n(), r("circle", {
1226
+ e.value.type === "polar" ? (u(), r(b, { key: 1 }, [
1227
+ D(t) && f.value.dataLabels.show ? (u(), r("circle", {
1213
1228
  key: 0,
1214
- cx: u(P)({ initX: d.value[a].middlePoint.x, initY: d.value[a].middlePoint.y, offset: 24, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x,
1215
- cy: u(P)({ initX: d.value[a].middlePoint.x, initY: d.value[a].middlePoint.y, offset: 24, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y,
1229
+ cx: n(P)({ initX: d.value[a].middlePoint.x, initY: d.value[a].middlePoint.y, offset: 24, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x,
1230
+ cy: n(P)({ initX: d.value[a].middlePoint.x, initY: d.value[a].middlePoint.y, offset: 24, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y,
1216
1231
  fill: t.color,
1217
1232
  stroke: e.value.style.chart.backgroundColor,
1218
1233
  "stroke-width": 1,
@@ -1229,14 +1244,14 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1229
1244
  style: $({
1230
1245
  transition: T.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
1231
1246
  })
1232
- }, null, 44, Ba)) : v("", !0)
1247
+ }, null, 44, Va)) : v("", !0)
1233
1248
  ], 64)) : v("", !0),
1234
- e.value.type === "classic" ? (n(), r(b, { key: 2 }, [
1235
- xt(h("text", {
1249
+ e.value.type === "classic" ? (u(), r(b, { key: 2 }, [
1250
+ Ct(h("text", {
1236
1251
  class: "vue-data-ui-datalabel-value",
1237
- "text-anchor": u(x)(t, !0, 12).anchor,
1238
- x: u(x)(t, !0, 12).x,
1239
- y: u(fe)(t),
1252
+ "text-anchor": n(x)(t, !0, 12).anchor,
1253
+ x: n(x)(t, !0, 12).x,
1254
+ y: n(fe)(t),
1240
1255
  fill: e.value.style.chart.layout.labels.percentage.color,
1241
1256
  "font-size": we.value + "px",
1242
1257
  style: $(`font-weight:${e.value.style.chart.layout.labels.percentage.bold ? "bold" : ""}`),
@@ -1248,47 +1263,47 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1248
1263
  show: !0
1249
1264
  }),
1250
1265
  onMouseleave: (i) => ie({ datapoint: t, seriesIndex: t.seriesIndex })
1251
- }, I(ze(t, X.value)) + " " + I(e.value.style.chart.layout.labels.value.show ? `(${u(V)(
1266
+ }, I(Oe(t, X.value)) + " " + I(e.value.style.chart.layout.labels.value.show ? `(${n(V)(
1252
1267
  e.value.style.chart.layout.labels.value.formatter,
1253
1268
  t.value,
1254
- u(N)({
1269
+ n(N)({
1255
1270
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
1256
1271
  v: t.value,
1257
1272
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
1258
1273
  r: e.value.style.chart.layout.labels.value.rounding
1259
1274
  }),
1260
1275
  { datapoint: t }
1261
- )})` : ""), 45, Va), [
1262
- [_t, D(t) && f.value.dataLabels.show]
1276
+ )})` : ""), 45, Ea), [
1277
+ [At, D(t) && f.value.dataLabels.show]
1263
1278
  ]),
1264
- xt(h("text", {
1279
+ Ct(h("text", {
1265
1280
  class: "vue-data-ui-datalabel-name",
1266
- "text-anchor": u(x)(t).anchor,
1267
- x: u(x)(t, !0, 12).x,
1268
- y: u(fe)(t) + J.value * 1.2,
1281
+ "text-anchor": n(x)(t).anchor,
1282
+ x: n(x)(t, !0, 12).x,
1283
+ y: n(fe)(t) + J.value * 1.2,
1269
1284
  fill: e.value.style.chart.layout.labels.name.color,
1270
1285
  "font-size": J.value + "px",
1271
1286
  style: $(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
1272
1287
  onClick: (i) => Q(t, a),
1273
- innerHTML: u(Tt)({
1288
+ innerHTML: n(Ft)({
1274
1289
  content: t.name,
1275
1290
  fontSize: J.value,
1276
1291
  fill: e.value.style.chart.layout.labels.name.color,
1277
- x: u(x)(t, !0, 12).x,
1278
- y: u(fe)(t) + J.value
1292
+ x: n(x)(t, !0, 12).x,
1293
+ y: n(fe)(t) + J.value
1279
1294
  })
1280
- }, null, 12, Ea), [
1281
- [_t, D(t) && f.value.dataLabels.show]
1295
+ }, null, 12, Ga), [
1296
+ [At, D(t) && f.value.dataLabels.show]
1282
1297
  ]),
1283
- o[6] || (o[6] = Be(' @mouseenter="useTooltip({ datapoint: arc, relativeIndex: i, seriesIndex: arc.seriesIndex, show: true })" @mouseleave="handleDatapointLeave({ datapoint: arc, seriesIndex: arc.seriesIndex })" /> '))
1298
+ o[6] || (o[6] = Ve(' @mouseenter="useTooltip({ datapoint: arc, relativeIndex: i, seriesIndex: arc.seriesIndex, show: true })" @mouseleave="handleDatapointLeave({ datapoint: arc, seriesIndex: arc.seriesIndex })" /> '))
1284
1299
  ], 64)) : v("", !0),
1285
- e.value.type === "polar" ? (n(), r(b, { key: 3 }, [
1286
- D(t) && f.value.dataLabels.show ? (n(), r("text", {
1300
+ e.value.type === "polar" ? (u(), r(b, { key: 3 }, [
1301
+ D(t) && f.value.dataLabels.show ? (u(), r("text", {
1287
1302
  key: 0,
1288
1303
  class: "vue-data-ui-datalabel-value",
1289
1304
  "text-anchor": re(d.value[a].middlePoint),
1290
- x: u(P)({ initX: d.value[a].middlePoint.x, initY: d.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x,
1291
- y: u(P)({ initX: d.value[a].middlePoint.x, initY: d.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y,
1305
+ x: n(P)({ initX: d.value[a].middlePoint.x, initY: d.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x,
1306
+ y: n(P)({ initX: d.value[a].middlePoint.x, initY: d.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y,
1292
1307
  fill: e.value.style.chart.layout.labels.percentage.color,
1293
1308
  "font-size": we.value,
1294
1309
  style: $({
@@ -1303,23 +1318,23 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1303
1318
  show: !0
1304
1319
  }),
1305
1320
  onMouseleave: (i) => ie({ datapoint: t, seriesIndex: t.seriesIndex })
1306
- }, I(ze(t, X.value)) + " " + I(e.value.style.chart.layout.labels.value.show ? `(${u(V)(
1321
+ }, I(Oe(t, X.value)) + " " + I(e.value.style.chart.layout.labels.value.show ? `(${n(V)(
1307
1322
  e.value.style.chart.layout.labels.value.formatter,
1308
1323
  t.value,
1309
- u(N)({
1324
+ n(N)({
1310
1325
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
1311
1326
  v: t.value,
1312
1327
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
1313
1328
  r: e.value.style.chart.layout.labels.value.rounding
1314
1329
  }),
1315
1330
  { datapoint: t }
1316
- )})` : ""), 45, Ga)) : v("", !0),
1317
- D(t) && f.value.dataLabels.show ? (n(), r("text", {
1331
+ )})` : ""), 45, Ra)) : v("", !0),
1332
+ D(t) && f.value.dataLabels.show ? (u(), r("text", {
1318
1333
  key: 1,
1319
1334
  class: "vue-data-ui-datalabel-name",
1320
1335
  "text-anchor": re(d.value[a].middlePoint),
1321
- x: u(P)({ initX: d.value[a].middlePoint.x, initY: d.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x,
1322
- y: u(P)({ initX: d.value[a].middlePoint.x, initY: d.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y + J.value * 1.2,
1336
+ x: n(P)({ initX: d.value[a].middlePoint.x, initY: d.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x,
1337
+ y: n(P)({ initX: d.value[a].middlePoint.x, initY: d.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y + J.value * 1.2,
1323
1338
  fill: e.value.style.chart.layout.labels.name.color,
1324
1339
  "font-size": J.value,
1325
1340
  style: $({
@@ -1327,36 +1342,36 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1327
1342
  fontWeight: e.value.style.chart.layout.labels.name.bold ? "bold" : "normal"
1328
1343
  }),
1329
1344
  onClick: (i) => Q(t, a),
1330
- innerHTML: u(Tt)({
1345
+ innerHTML: n(Ft)({
1331
1346
  content: t.name,
1332
1347
  fontSize: we.value,
1333
1348
  fill: e.value.style.chart.layout.labels.name.color,
1334
- x: u(P)({ initX: d.value[a].middlePoint.x, initY: d.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x,
1335
- y: u(P)({ initX: d.value[a].middlePoint.x, initY: d.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y + J.value * 1.2
1349
+ x: n(P)({ initX: d.value[a].middlePoint.x, initY: d.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x,
1350
+ y: n(P)({ initX: d.value[a].middlePoint.x, initY: d.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y + J.value * 1.2
1336
1351
  })
1337
- }, null, 12, Ra)) : v("", !0),
1338
- o[7] || (o[7] = Be(' @mouseenter="useTooltip({ datapoint: arc, relativeIndex: i, seriesIndex: arc.seriesIndex, show: true })" @mouseleave="handleDatapointLeave({ datapoint: arc, seriesIndex: arc.seriesIndex })" /> '))
1352
+ }, null, 12, qa)) : v("", !0),
1353
+ o[7] || (o[7] = Ve(' @mouseenter="useTooltip({ datapoint: arc, relativeIndex: i, seriesIndex: arc.seriesIndex, show: true })" @mouseleave="handleDatapointLeave({ datapoint: arc, seriesIndex: arc.seriesIndex })" /> '))
1339
1354
  ], 64)) : v("", !0)
1340
1355
  ])),
1341
- f.value.dataLabels.show && e.value.style.chart.comments.show && t.comment ? (n(), r("g", qa, [
1342
- D(t) && e.value.type === "classic" ? (n(), r("foreignObject", {
1356
+ f.value.dataLabels.show && e.value.style.chart.comments.show && t.comment ? (u(), r("g", Wa, [
1357
+ D(t) && e.value.type === "classic" ? (u(), r("foreignObject", {
1343
1358
  key: 0,
1344
- x: e.value.style.chart.comments.offsetX + (u(x)(t, !0).anchor === "end" ? u(x)(t).x - e.value.style.chart.comments.width : u(x)(t, !0).anchor === "middle" ? u(x)(t).x - e.value.style.chart.comments.width / 2 : u(x)(t).x),
1345
- y: u(fe)(t) + 24 + e.value.style.chart.comments.offsetY,
1359
+ x: e.value.style.chart.comments.offsetX + (n(x)(t, !0).anchor === "end" ? n(x)(t).x - e.value.style.chart.comments.width : n(x)(t, !0).anchor === "middle" ? n(x)(t).x - e.value.style.chart.comments.width / 2 : n(x)(t).x),
1360
+ y: n(fe)(t) + 24 + e.value.style.chart.comments.offsetY,
1346
1361
  width: e.value.style.chart.comments.width,
1347
1362
  height: "200",
1348
1363
  style: { overflow: "visible", "pointer-events": "none" }
1349
1364
  }, [
1350
1365
  h("div", null, [
1351
1366
  w(l.$slots, "plot-comment", {
1352
- plot: { ...t, textAlign: u(x)(t, !0, 16, !0).anchor, flexAlign: u(x)(t, !0, 16).anchor, isFirstLoad: T.value }
1367
+ plot: { ...t, textAlign: n(x)(t, !0, 16, !0).anchor, flexAlign: n(x)(t, !0, 16).anchor, isFirstLoad: T.value }
1353
1368
  }, void 0, !0)
1354
1369
  ])
1355
- ], 8, Wa)) : v("", !0),
1356
- D(t) && e.value.type === "polar" ? (n(), r("foreignObject", {
1370
+ ], 8, Ua)) : v("", !0),
1371
+ D(t) && e.value.type === "polar" ? (u(), r("foreignObject", {
1357
1372
  key: 1,
1358
- x: e.value.style.chart.comments.offsetX + (re(d.value[a].middlePoint) === "end" ? u(P)({ initX: d.value[a].middlePoint.x, initY: d.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x - e.value.style.chart.comments.width : re(d.value[a].middlePoint) === "middle" ? u(P)({ initX: d.value[a].middlePoint.x, initY: d.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x - e.value.style.chart.comments.width / 2 : u(P)({ initX: d.value[a].middlePoint.x, initY: d.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x),
1359
- y: Kt(d.value[a]) + e.value.style.chart.comments.offsetY,
1373
+ x: e.value.style.chart.comments.offsetX + (re(d.value[a].middlePoint) === "end" ? n(P)({ initX: d.value[a].middlePoint.x, initY: d.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x - e.value.style.chart.comments.width : re(d.value[a].middlePoint) === "middle" ? n(P)({ initX: d.value[a].middlePoint.x, initY: d.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x - e.value.style.chart.comments.width / 2 : n(P)({ initX: d.value[a].middlePoint.x, initY: d.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x),
1374
+ y: el(d.value[a]) + e.value.style.chart.comments.offsetY,
1360
1375
  width: e.value.style.chart.comments.width,
1361
1376
  height: "200",
1362
1377
  style: $({
@@ -1370,33 +1385,33 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1370
1385
  plot: { ...t, textAlign: re(d.value[a].middlePoint), flexAlign: re(d.value[a].middlePoint), isFirstLoad: T.value }
1371
1386
  }, void 0, !0)
1372
1387
  ])
1373
- ], 12, Ua)) : v("", !0)
1388
+ ], 12, Ha)) : v("", !0)
1374
1389
  ])) : v("", !0)
1375
- ], 10, Oa))), 128)),
1390
+ ], 10, Na))), 128)),
1376
1391
  w(l.$slots, "svg", { svg: s.value }, void 0, !0)
1377
1392
  ], 512)
1378
- ], 14, Bl)),
1379
- l.$slots.watermark ? (n(), r("div", Ha, [
1380
- w(l.$slots, "watermark", he(ye({ isPrinting: u(at) || u(ot) })), void 0, !0)
1393
+ ], 14, Vl)),
1394
+ l.$slots.watermark ? (u(), r("div", ja, [
1395
+ w(l.$slots, "watermark", he(ye({ isPrinting: n(ot) || n(st) })), void 0, !0)
1381
1396
  ])) : v("", !0),
1382
1397
  h("div", {
1383
1398
  ref_key: "chartLegend",
1384
- ref: qe
1399
+ ref: We
1385
1400
  }, [
1386
- e.value.style.chart.legend.show ? (n(), ae(Il, {
1387
- key: `legend_${Je.value}`,
1388
- legendSet: dt.value,
1389
- config: Ht.value,
1390
- onClickMarker: o[3] || (o[3] = ({ i: t }) => vt(t))
1391
- }, wt({
1401
+ e.value.style.chart.legend.show ? (u(), ae(Ml, {
1402
+ key: `legend_${Ke.value}`,
1403
+ legendSet: ct.value,
1404
+ config: Kt.value,
1405
+ onClickMarker: o[3] || (o[3] = ({ i: t }) => dt(t))
1406
+ }, _t({
1392
1407
  item: A(({ legend: t, index: a }) => [
1393
1408
  h("div", {
1394
- style: $(`opacity:${E.value.includes(a) ? 0.5 : 1}`),
1409
+ style: $(`opacity:${R.value.includes(a) ? 0.5 : 1}`),
1395
1410
  onClick: (i) => t.segregate()
1396
- }, I(t.name) + I(e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ":" : "") + " " + I(e.value.style.chart.legend.showValue ? u(V)(
1411
+ }, I(t.name) + I(e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ":" : "") + " " + I(e.value.style.chart.legend.showValue ? n(V)(
1397
1412
  e.value.style.chart.layout.labels.value.formatter,
1398
1413
  t.value,
1399
- u(N)({
1414
+ n(N)({
1400
1415
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
1401
1416
  v: t.value,
1402
1417
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -1406,22 +1421,22 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1406
1421
  datapoint: t,
1407
1422
  index: a
1408
1423
  }
1409
- ) : "") + " " + I(e.value.style.chart.legend.showPercentage ? E.value.includes(a) ? `${e.value.style.chart.legend.showValue ? "(" : ""}${Zt(t.proportion * 100)}%${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? "(" : ""}${isNaN(t.value / L.value) ? "-" : u(V)(
1424
+ ) : "") + " " + I(e.value.style.chart.legend.showPercentage ? R.value.includes(a) ? `${e.value.style.chart.legend.showValue ? "(" : ""}${ll(t.proportion * 100)}%${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? "(" : ""}${isNaN(t.value / L.value) ? "-" : n(V)(
1410
1425
  e.value.style.chart.layout.labels.percentage.formatter,
1411
- ht.value(t),
1412
- u(N)({
1413
- v: ht.value(t),
1426
+ yt.value(t),
1427
+ n(N)({
1428
+ v: yt.value(t),
1414
1429
  s: "%",
1415
1430
  r: e.value.style.chart.legend.roundingPercentage
1416
1431
  })
1417
- )}${e.value.style.chart.legend.showValue ? ")" : ""}` : ""), 13, ja)
1432
+ )}${e.value.style.chart.legend.showValue ? ")" : ""}` : ""), 13, Ja)
1418
1433
  ]),
1419
1434
  _: 2
1420
1435
  }, [
1421
1436
  l.$slots.pattern ? {
1422
1437
  name: "legend-pattern",
1423
1438
  fn: A(({ legend: t, index: a }) => [
1424
- De(zl, {
1439
+ Be(Ol, {
1425
1440
  shape: t.shape,
1426
1441
  radius: 30,
1427
1442
  stroke: "none",
@@ -1432,18 +1447,18 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1432
1447
  key: "0"
1433
1448
  } : void 0
1434
1449
  ]), 1032, ["legendSet", "config"])) : v("", !0),
1435
- w(l.$slots, "legend", { legend: dt.value }, void 0, !0)
1450
+ w(l.$slots, "legend", { legend: ct.value }, void 0, !0)
1436
1451
  ], 512),
1437
- l.$slots.source ? (n(), r("div", {
1452
+ l.$slots.source ? (u(), r("div", {
1438
1453
  key: 5,
1439
1454
  ref_key: "source",
1440
- ref: We,
1455
+ ref: Ue,
1441
1456
  dir: "auto"
1442
1457
  }, [
1443
1458
  w(l.$slots, "source", {}, void 0, !0)
1444
1459
  ], 512)) : v("", !0),
1445
- De(u(Nt), {
1446
- show: f.value.showTooltip && Fe.value,
1460
+ Be(n(Dt), {
1461
+ show: f.value.showTooltip && Le.value,
1447
1462
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
1448
1463
  color: e.value.style.chart.tooltip.color,
1449
1464
  fontSize: e.value.style.chart.tooltip.fontSize,
@@ -1453,20 +1468,20 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1453
1468
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
1454
1469
  position: e.value.style.chart.tooltip.position,
1455
1470
  offsetY: e.value.style.chart.tooltip.offsetY,
1456
- parent: H.value,
1457
- content: Le.value,
1471
+ parent: E.value,
1472
+ content: Ie.value,
1458
1473
  isCustom: pe.value,
1459
1474
  isFullscreen: de.value
1460
1475
  }, {
1461
1476
  "tooltip-before": A(() => [
1462
- w(l.$slots, "tooltip-before", he(ye({ ...Oe.value })), void 0, !0)
1477
+ w(l.$slots, "tooltip-before", he(ye({ ...Ne.value })), void 0, !0)
1463
1478
  ]),
1464
1479
  "tooltip-after": A(() => [
1465
- w(l.$slots, "tooltip-after", he(ye({ ...Oe.value })), void 0, !0)
1480
+ w(l.$slots, "tooltip-after", he(ye({ ...Ne.value })), void 0, !0)
1466
1481
  ]),
1467
1482
  _: 3
1468
1483
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen"]),
1469
- me.value ? (n(), ae(u(It), {
1484
+ me.value ? (u(), ae(n(Ot), {
1470
1485
  key: 6,
1471
1486
  hideDetails: "",
1472
1487
  config: {
@@ -1483,8 +1498,8 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1483
1498
  }
1484
1499
  }, {
1485
1500
  content: A(() => [
1486
- (n(), ae(u(Mt), {
1487
- key: `table_${je.value}`,
1501
+ (u(), ae(n(Nt), {
1502
+ key: `table_${Je.value}`,
1488
1503
  colNames: _e.value.colNames,
1489
1504
  head: _e.value.head,
1490
1505
  body: _e.value.body,
@@ -1496,21 +1511,21 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1496
1511
  h("div", {
1497
1512
  innerHTML: t,
1498
1513
  style: { display: "flex", "align-items": "center" }
1499
- }, null, 8, Ja)
1514
+ }, null, 8, Ka)
1500
1515
  ]),
1501
1516
  td: A(({ td: t }) => [
1502
- Be(I(t.name ? t.name : isNaN(Number(t)) ? t.includes("%") ? t : u(V)(
1517
+ Ve(I(t.name ? t.name : isNaN(Number(t)) ? t.includes("%") ? t : n(V)(
1503
1518
  e.value.style.chart.layout.labels.percentage.formatter,
1504
1519
  t,
1505
- u(N)({
1520
+ n(N)({
1506
1521
  v: t,
1507
1522
  s: "%",
1508
1523
  r: e.value.style.chart.layout.labels.percentage.rounding
1509
1524
  })
1510
- ) : u(V)(
1525
+ ) : n(V)(
1511
1526
  e.value.style.chart.layout.labels.value.formatter,
1512
1527
  t,
1513
- u(N)({
1528
+ n(N)({
1514
1529
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
1515
1530
  v: t,
1516
1531
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -1523,10 +1538,10 @@ const Dl = ["id"], Bl = ["xmlns", "viewBox"], Vl = ["width", "height"], El = { k
1523
1538
  ]),
1524
1539
  _: 1
1525
1540
  }, 8, ["config"])) : v("", !0),
1526
- u(ke) ? (n(), ae(Nl, { key: 7 })) : v("", !0)
1527
- ], 46, Dl));
1541
+ n(ke) ? (u(), ae(Yl, { key: 7 })) : v("", !0)
1542
+ ], 46, Bl));
1528
1543
  }
1529
- }, co = /* @__PURE__ */ Xl(Ka, [["__scopeId", "data-v-fdce44b0"]]);
1544
+ }, ho = /* @__PURE__ */ Dl(Qa, [["__scopeId", "data-v-d018e003"]]);
1530
1545
  export {
1531
- co as default
1546
+ ho as default
1532
1547
  };