vue-data-ui 2.17.0 → 2.17.1

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 (91) hide show
  1. package/README.md +2 -1
  2. package/dist/{Arrow-BAEkZGzL.js → Arrow-BDCVJzQB.js} +1 -1
  3. package/dist/{BaseDraggableDialog-ChCkcmj_.js → BaseDraggableDialog-BvuWrldK.js} +2 -2
  4. package/dist/{BaseIcon-naqtCxVi.js → BaseIcon-D9Tz8ARD.js} +1 -1
  5. package/dist/{ColorPicker-CfIPgxcj.js → ColorPicker-wGf46G2G.js} +2 -2
  6. package/dist/{DataTable-D0VYDhfx.js → DataTable-Dt-TIOyY.js} +2 -2
  7. package/dist/{Legend-Bxlv67uY.js → Legend-3LNqqLDg.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-b_oVy-Dd.js → NonSvgPenAndPaper-iDdMuUEo.js} +3 -3
  9. package/dist/{PackageVersion-5TR4ocqp.js → PackageVersion-C-4Ee8BQ.js} +1 -1
  10. package/dist/{PenAndPaper-D6AqipIO.js → PenAndPaper-Cde-wJ3N.js} +3 -3
  11. package/dist/{Shape-DtFT5EJa.js → Shape-C75836Jl.js} +1 -1
  12. package/dist/{Slicer-CL6-MRI6.js → Slicer-CpSu7plp.js} +2 -2
  13. package/dist/{SparkTooltip-Bcv1aoA5.js → SparkTooltip-B_GXa2tb.js} +1 -1
  14. package/dist/{Title-B-2bV0SW.js → Title-DpERl1yr.js} +1 -1
  15. package/dist/{Tooltip-CoQnTnr-.js → Tooltip-DA0bYKFG.js} +1 -1
  16. package/dist/{UserOptions-Dd34lEKb.js → UserOptions-DTEJ3UM_.js} +2 -2
  17. package/dist/{dom-to-png-2AA0wHlX.js → dom-to-png-DWDGYXFL.js} +1 -1
  18. package/dist/{img-Y_hYz-ZC.js → img-utitT2Gd.js} +1 -1
  19. package/dist/{index-pPGk-uhD.js → index-CobsZUkv.js} +22 -8
  20. package/dist/{pdf-yfk3d1is.js → pdf-DWZ8IB56.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +63 -160
  23. package/dist/types/vue-data-ui.d.ts +63 -160
  24. package/dist/{useNestedProp-DjACxgdZ.js → useNestedProp-BwL5wmVa.js} +1 -1
  25. package/dist/{usePrinter-DDHcrl0A.js → usePrinter-DPh6U_Qk.js} +2 -2
  26. package/dist/{vue-data-ui-CIWxgKjd.js → vue-data-ui-D7ZgRDQ_.js} +63 -63
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-D5Wpdqfk.js → vue-ui-3d-bar-ORUAjkg7.js} +41 -34
  29. package/dist/{vue-ui-accordion-CVnA550V.js → vue-ui-accordion-UewqY6OI.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-BuAl-zC5.js → vue-ui-age-pyramid-Yl4aRpNc.js} +134 -127
  31. package/dist/{vue-ui-annotator-gl2A20m3.js → vue-ui-annotator-B1gqiBqq.js} +2 -2
  32. package/dist/{vue-ui-bullet-D-VMKpwe.js → vue-ui-bullet-C307lCPt.js} +90 -83
  33. package/dist/{vue-ui-candlestick-1r6YwiUV.js → vue-ui-candlestick-BE6PcEdh.js} +101 -94
  34. package/dist/{vue-ui-carousel-table-B6UJoNtP.js → vue-ui-carousel-table-Cpvjr677.js} +4 -4
  35. package/dist/{vue-ui-chestnut-DnlBYpC5.js → vue-ui-chestnut-CUw74AgC.js} +270 -263
  36. package/dist/{vue-ui-chord-D3kpzYjp.js → vue-ui-chord-CCPGeAiY.js} +60 -53
  37. package/dist/{vue-ui-circle-pack-CHgdpoYu.js → vue-ui-circle-pack-dfyPiQmy.js} +121 -114
  38. package/dist/{vue-ui-cursor-63EAvElT.js → vue-ui-cursor-C2zmfeoD.js} +2 -2
  39. package/dist/{vue-ui-dashboard-Da6CPET-.js → vue-ui-dashboard-CotAqRbX.js} +62 -62
  40. package/dist/{vue-ui-digits-CA8pUKej.js → vue-ui-digits-7qJFCuoI.js} +2 -2
  41. package/dist/{vue-ui-donut-CKa7nFjt.js → vue-ui-donut-D41WeqQU.js} +244 -243
  42. package/dist/{vue-ui-donut-evolution-qeBEA4W8.js → vue-ui-donut-evolution-Deg0dsYg.js} +215 -211
  43. package/dist/{vue-ui-dumbbell-Bm0PvAKT.js → vue-ui-dumbbell-DDwNoTPG.js} +117 -110
  44. package/dist/{vue-ui-flow-C2dqXvrU.js → vue-ui-flow-6oR7IMyi.js} +105 -98
  45. package/dist/{vue-ui-funnel-Dvy5rRld.js → vue-ui-funnel-BnXtOJmh.js} +138 -131
  46. package/dist/{vue-ui-galaxy-Y8LYp5n2.js → vue-ui-galaxy-75XC8SpV.js} +150 -146
  47. package/dist/{vue-ui-gauge-BBo0jWAP.js → vue-ui-gauge-w31j915C.js} +125 -118
  48. package/dist/{vue-ui-gizmo-DjXfTOWn.js → vue-ui-gizmo-bZqk6oZS.js} +3 -3
  49. package/dist/{vue-ui-heatmap-BbxRpltP.js → vue-ui-heatmap-BfU62tMW.js} +155 -148
  50. package/dist/{vue-ui-history-plot-ChYf3Nvc.js → vue-ui-history-plot-CFfco-Yj.js} +141 -134
  51. package/dist/{vue-ui-kpi-Vfc5-JnE.js → vue-ui-kpi-DaJ1U3wf.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-C0-Nsz8K.js → vue-ui-mini-loader-CF_2jAI8.js} +2 -2
  53. package/dist/{vue-ui-molecule-B7Yu7vzF.js → vue-ui-molecule-Tdk3Gd8M.js} +141 -134
  54. package/dist/{vue-ui-mood-radar-C8JUTwNw.js → vue-ui-mood-radar-Dg5wS7W5.js} +126 -119
  55. package/dist/{vue-ui-nested-donuts-D0RgFifU.js → vue-ui-nested-donuts-CpRe0sQB.js} +244 -244
  56. package/dist/{vue-ui-onion-D4U7TL_N.js → vue-ui-onion-B8o4ft2v.js} +88 -81
  57. package/dist/{vue-ui-parallel-coordinate-plot-CXMT7Rjr.js → vue-ui-parallel-coordinate-plot-zW-CNqWC.js} +123 -116
  58. package/dist/{vue-ui-quadrant-B13pTVVZ.js → vue-ui-quadrant-DiRtZ16w.js} +151 -144
  59. package/dist/{vue-ui-quick-chart-C0UL4o63.js → vue-ui-quick-chart-BRlYC_yT.js} +39 -32
  60. package/dist/{vue-ui-radar-XpdiXnhz.js → vue-ui-radar-DKgX1Ibx.js} +58 -51
  61. package/dist/{vue-ui-rating-CM8ZrUb1.js → vue-ui-rating-DlklKr-X.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CYoFNekk.js → vue-ui-relation-circle-MHiAp8dC.js} +127 -120
  63. package/dist/{vue-ui-ridgeline-QUquE6ck.js → vue-ui-ridgeline-DA8verAe.js} +98 -91
  64. package/dist/{vue-ui-rings-DwT0IfOh.js → vue-ui-rings-Dh6lFqun.js} +208 -204
  65. package/dist/{vue-ui-scatter-zDpy1udm.js → vue-ui-scatter-CLC5sTOi.js} +172 -165
  66. package/dist/{vue-ui-skeleton-DJPjyNYn.js → vue-ui-skeleton-8s4xts8z.js} +3 -3
  67. package/dist/{vue-ui-smiley-DoDXl6k0.js → vue-ui-smiley-utuzw8uI.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-CniV6Cpr.js → vue-ui-spark-trend-BODEqGRr.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-Ds2ITgwn.js → vue-ui-sparkbar-B8MB-kn9.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-CosfK-kw.js → vue-ui-sparkgauge-CuD7kTS3.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-C7O1wPAJ.js → vue-ui-sparkhistogram-BYJszvna.js} +4 -4
  72. package/dist/{vue-ui-sparkline-B_iUj3F2.js → vue-ui-sparkline-D77GyWzG.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-DBhWrysr.js → vue-ui-sparkstackbar-DNb1yD64.js} +3 -3
  74. package/dist/{vue-ui-stackbar-C3aV4IcL.js → vue-ui-stackbar-C6rjCYDD.js} +61 -54
  75. package/dist/{vue-ui-strip-plot-Bvr1GAzH.js → vue-ui-strip-plot-B6cYojHQ.js} +116 -109
  76. package/dist/{vue-ui-table-DQKKRgyo.js → vue-ui-table-IC7SmWVd.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-Dyqj5XJC.js → vue-ui-table-heatmap-DHFpJMpA.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-D4RubyLj.js → vue-ui-table-sparkline-D7wz-sCj.js} +4 -4
  79. package/dist/{vue-ui-thermometer-B0FKI5cG.js → vue-ui-thermometer-D-oiVT3n.js} +88 -81
  80. package/dist/{vue-ui-timer-DUCBRIl-.js → vue-ui-timer-C9jVyX5l.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-CRt4UQZD.js → vue-ui-tiremarks-B1bM9Aoo.js} +127 -120
  82. package/dist/vue-ui-treemap-DX48YlU5.js +965 -0
  83. package/dist/{vue-ui-vertical-bar-C5fPYltO.js → vue-ui-vertical-bar-6SjKPQWR.js} +233 -226
  84. package/dist/{vue-ui-waffle-BpWLlfpg.js → vue-ui-waffle-CYao9MMw.js} +183 -179
  85. package/dist/{vue-ui-wheel-CTzuCroy.js → vue-ui-wheel-USuDhMwW.js} +121 -114
  86. package/dist/{vue-ui-word-cloud-BPokdaP1.js → vue-ui-word-cloud-TOBTs7yF.js} +152 -145
  87. package/dist/{vue-ui-world-CS6k-oil.js → vue-ui-world-C2qikqBa.js} +77 -70
  88. package/dist/{vue-ui-xy-CQ425kLR.js → vue-ui-xy-DxwgKoO-.js} +229 -222
  89. package/dist/{vue-ui-xy-canvas-D2IFwAr7.js → vue-ui-xy-canvas-N69OpVn8.js} +154 -147
  90. package/package.json +1 -1
  91. package/dist/vue-ui-treemap-CWP5nYDx.js +0 -961
@@ -1,22 +1,19 @@
1
- import { defineAsyncComponent as Z, useSlots as Xt, computed as y, shallowRef as E, ref as x, onMounted as lt, onBeforeUnmount as Dt, watch as at, createElementBlock as n, openBlock as u, normalizeStyle as b, normalizeClass as _e, createBlock as ee, createCommentVNode as i, renderSlot as m, createElementVNode as f, createVNode as xe, unref as r, createSlots as ot, withCtx as C, normalizeProps as ue, guardReactiveProps as se, Fragment as p, renderList as A, mergeProps as ut, toDisplayString as P, createTextVNode as st, nextTick as Vt } from "vue";
2
- import { u as Bt, o as Gt, e as nt, g as Wt, c as Rt, b as Et, v as Ut, d as rt, p as te, m as it, $ as jt, f as M, X as Ht, s as fe, w as qt, j as Jt, N as L, i as D, k as ve, n as w, t as Kt, a as Qt, q as Zt, r as el, x as tl, T as vt } from "./index-pPGk-uhD.js";
1
+ import { defineAsyncComponent as Z, useSlots as It, computed as y, shallowRef as E, ref as $, onMounted as lt, onBeforeUnmount as Xt, watch as at, createElementBlock as n, openBlock as u, normalizeStyle as b, normalizeClass as _e, createBlock as ee, createCommentVNode as i, renderSlot as m, createElementVNode as f, createVNode as $e, unref as r, createSlots as ot, withCtx as C, normalizeProps as ue, guardReactiveProps as se, Fragment as g, renderList as A, mergeProps as ut, toDisplayString as T, createTextVNode as Vt, nextTick as Dt } from "vue";
2
+ import { u as Bt, o as Gt, e as st, g as Rt, c as Wt, b as Et, v as Ut, d as nt, p as te, m as rt, $ as jt, f as M, X as Ht, s as fe, w as qt, j as Jt, N as L, i as V, k as ve, n as w, t as Kt, a as Qt, q as Zt, r as el, x as tl, T as it } from "./index-CobsZUkv.js";
3
3
  import { t as ll, u as al } from "./useResponsive-DfdjqQps.js";
4
- import { u as ct } from "./useNestedProp-DjACxgdZ.js";
5
- import { u as ol } from "./usePrinter-DDHcrl0A.js";
4
+ import { u as vt } from "./useNestedProp-BwL5wmVa.js";
5
+ import { u as ol } from "./usePrinter-DPh6U_Qk.js";
6
6
  import { u as ul } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as sl } from "./useChartAccessibility-9icAAmYg.js";
8
- import nl from "./Legend-Bxlv67uY.js";
9
- import rl from "./Title-B-2bV0SW.js";
10
- import { _ as il } from "./Shape-DtFT5EJa.js";
11
- import vl from "./img-Y_hYz-ZC.js";
8
+ import nl from "./Legend-3LNqqLDg.js";
9
+ import rl from "./Title-DpERl1yr.js";
10
+ import { _ as il } from "./Shape-C75836Jl.js";
11
+ import vl from "./img-utitT2Gd.js";
12
12
  import { _ as cl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
- const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { key: 1 }, pl = ["id"], gl = ["stop-color"], ml = ["offset", "stop-color"], bl = ["offset", "stop-color"], wl = ["stop-color"], kl = { key: 2 }, _l = ["id", "cx", "cy"], xl = ["stop-color", "stop-opacity"], $l = ["stop-color"], Cl = ["id"], Tl = ["id"], Pl = ["id"], Al = ["flood-color"], Sl = ["id"], Fl = ["flood-color"], Ll = ["d", "stroke", "filter"], Ol = ["d", "stroke", "filter"], zl = ["cx", "cy", "r", "fill", "filter"], Nl = { key: 6 }, Ml = ["stroke", "d"], Yl = ["d", "fill", "stroke", "stroke-width", "filter"], Il = { key: 0 }, Xl = ["d", "fill", "stroke", "stroke-width", "filter"], Dl = { key: 0 }, Vl = ["stroke", "d"], Bl = { key: 0 }, Gl = ["d", "stroke", "stroke-width", "filter"], Wl = { key: 1 }, Rl = ["d", "fill", "stroke", "stroke-width", "filter"], El = ["d", "fill", "stroke", "stroke-width", "filter"], Ul = { key: 1 }, jl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Hl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], ql = { key: 0 }, Jl = ["d", "fill", "stroke", "stroke-width"], Kl = ["cx", "cy", "r", "stroke"], Ql = ["cx", "cy", "r", "fill"], Zl = { key: 0 }, ea = ["d", "fill", "onMouseenter", "onClick"], ta = { key: 1 }, la = ["cx", "cy", "r"], aa = ["x", "y", "fill", "font-size"], oa = ["x", "y", "fill", "font-size"], ua = ["x", "y", "fill", "font-size"], sa = ["x", "y", "fill", "font-size"], na = ["filter"], ra = { key: 0 }, ia = ["x", "y"], va = { key: 1 }, ca = ["cx", "cy", "fill", "stroke", "filter", "onClick"], da = ["cx", "cy", "fill", "stroke", "filter", "onClick"], ha = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], ya = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], fa = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], pa = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], ga = { key: 2 }, ma = ["x", "y", "width"], ba = ["x", "y", "width"], wa = {
13
+ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { key: 1 }, gl = ["id"], pl = ["stop-color"], ml = ["offset", "stop-color"], bl = ["offset", "stop-color"], wl = ["stop-color"], kl = { key: 2 }, _l = ["id", "cx", "cy"], $l = ["stop-color", "stop-opacity"], xl = ["stop-color"], Cl = ["id"], Pl = ["id"], Tl = ["id"], Al = ["flood-color"], Sl = ["id"], Fl = ["flood-color"], Ll = ["d", "stroke", "filter"], Ol = ["d", "stroke", "filter"], zl = ["cx", "cy", "r", "fill", "filter"], Nl = { key: 6 }, Ml = ["stroke", "d"], Yl = ["d", "fill", "stroke", "stroke-width", "filter"], Il = { key: 0 }, Xl = ["d", "fill", "stroke", "stroke-width", "filter"], Vl = { key: 0 }, Dl = ["stroke", "d"], Bl = { key: 0 }, Gl = ["d", "stroke", "stroke-width", "filter"], Rl = { key: 1 }, Wl = ["d", "fill", "stroke", "stroke-width", "filter"], El = ["d", "fill", "stroke", "stroke-width", "filter"], Ul = { key: 1 }, jl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Hl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], ql = { key: 0 }, Jl = ["d", "fill", "stroke", "stroke-width"], Kl = ["cx", "cy", "r", "stroke"], Ql = ["cx", "cy", "r", "fill"], Zl = { key: 0 }, ea = ["d", "fill", "onMouseenter", "onClick"], ta = { key: 1 }, la = ["cx", "cy", "r"], aa = ["x", "y", "fill", "font-size"], oa = ["x", "y", "fill", "font-size"], ua = ["x", "y", "fill", "font-size"], sa = ["x", "y", "fill", "font-size"], na = ["filter"], ra = { key: 0 }, ia = ["x", "y"], va = { key: 1 }, ca = ["cx", "cy", "fill", "stroke", "filter", "onClick"], da = ["cx", "cy", "fill", "stroke", "filter", "onClick"], ha = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], ya = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], fa = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], ga = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], pa = { key: 2 }, ma = ["x", "y", "width"], ba = ["x", "y", "width"], wa = {
14
14
  key: 5,
15
15
  class: "vue-data-ui-watermark"
16
- }, ka = ["onClick"], _a = {
17
- key: 0,
18
- style: { "font-variant-numeric": "tabular-nums" }
19
- }, xa = { key: 1 }, $a = ["innerHTML"], Ca = {
16
+ }, ka = ["onClick"], _a = ["innerHTML"], $a = {
20
17
  __name: "vue-ui-donut",
21
18
  props: {
22
19
  config: {
@@ -33,30 +30,30 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
33
30
  }
34
31
  },
35
32
  emits: ["selectLegend", "selectDatapoint"],
36
- setup($e, { expose: dt, emit: ht }) {
37
- const yt = Z(() => import("./vue-ui-accordion-CVnA550V.js")), ft = Z(() => import("./DataTable-D0VYDhfx.js")), pt = Z(() => import("./PackageVersion-5TR4ocqp.js")), gt = Z(() => import("./PenAndPaper-D6AqipIO.js")), mt = Z(() => import("./vue-ui-skeleton-DJPjyNYn.js")), bt = Z(() => import("./Tooltip-CoQnTnr-.js")), wt = Z(() => import("./UserOptions-Dd34lEKb.js")), { vue_ui_donut: kt } = Bt(), _t = Xt(), O = $e, ne = y({
33
+ setup(xe, { expose: ct, emit: dt }) {
34
+ const ht = Z(() => import("./vue-ui-accordion-UewqY6OI.js")), yt = Z(() => import("./DataTable-Dt-TIOyY.js")), ft = Z(() => import("./PackageVersion-C-4Ee8BQ.js")), gt = Z(() => import("./PenAndPaper-Cde-wJ3N.js")), pt = Z(() => import("./vue-ui-skeleton-8s4xts8z.js")), mt = Z(() => import("./Tooltip-DA0bYKFG.js")), bt = Z(() => import("./UserOptions-DTEJ3UM_.js")), { vue_ui_donut: wt } = Bt(), kt = It(), O = xe, ne = y({
38
35
  get() {
39
36
  return !!O.dataset && O.dataset.length;
40
37
  },
41
38
  set(l) {
42
39
  return l;
43
40
  }
44
- }), q = E(null), Ce = E(null), Te = E(null), U = E(null), le = E(null), Pe = E(null), Ae = E(null), Se = x(0), Fe = x(0), Le = x(0);
41
+ }), U = E(null), Ce = E(null), Pe = E(null), j = E(null), le = E(null), Te = E(null), Ae = E(null), Se = $(0), Fe = $(0), Le = $(0);
45
42
  lt(() => {
46
43
  Oe();
47
- }), Dt(() => {
48
- U.value && (le.value && U.value.unobserve(le.value), U.value.disconnect());
44
+ }), Xt(() => {
45
+ j.value && (le.value && j.value.unobserve(le.value), j.value.disconnect());
49
46
  });
50
47
  function Oe() {
51
- if (Gt(O.dataset) ? nt({
48
+ if (Gt(O.dataset) ? st({
52
49
  componentName: "VueUiDonut",
53
50
  type: "dataset"
54
51
  }) : O.dataset.forEach((l, o) => {
55
- Wt({
52
+ Rt({
56
53
  datasetObject: l,
57
54
  requiredAttributes: ["name", "values"]
58
55
  }).forEach((t) => {
59
- ne.value = !1, nt({
56
+ ne.value = !1, st({
60
57
  componentName: "VueUiDonut",
61
58
  type: "datasetSerieAttribute",
62
59
  property: t,
@@ -66,10 +63,10 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
66
63
  }), e.value.responsive) {
67
64
  const l = ll(() => {
68
65
  const { width: o, height: t } = al({
69
- chart: q.value,
66
+ chart: U.value,
70
67
  title: e.value.style.chart.title.text ? Ce.value : null,
71
- legend: e.value.style.chart.legend.show ? Te.value : null,
72
- source: Pe.value,
68
+ legend: e.value.style.chart.legend.show ? Pe.value : null,
69
+ source: Te.value,
73
70
  noTitle: Ae.value,
74
71
  padding: Ie.value
75
72
  });
@@ -77,17 +74,17 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
77
74
  s.value.width = o, s.value.height = t;
78
75
  });
79
76
  });
80
- U.value && (le.value && U.value.unobserve(le.value), U.value.disconnect()), U.value = new ResizeObserver(l), le.value = q.value.parentNode, U.value.observe(le.value);
77
+ j.value && (le.value && j.value.unobserve(le.value), j.value.disconnect()), j.value = new ResizeObserver(l), le.value = U.value.parentNode, j.value.observe(le.value);
81
78
  }
82
79
  }
83
- const g = x(Rt()), xt = x(null), ce = x(!1), pe = x(""), z = x(null), ze = x(0);
80
+ const p = $(Wt()), _t = $(null), ce = $(!1), ge = $(""), z = $(null), ze = $(0);
84
81
  function Ne() {
85
- const l = ct({
82
+ const l = vt({
86
83
  userConfig: O.config,
87
- defaultConfig: kt
84
+ defaultConfig: wt
88
85
  });
89
86
  return l.theme ? {
90
- ...ct({
87
+ ...vt({
91
88
  userConfig: Qt.vue_ui_donut[l.theme] || O.config,
92
89
  defaultConfig: l
93
90
  }),
@@ -97,21 +94,21 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
97
94
  const e = y({
98
95
  get: () => Ne(),
99
96
  set: (l) => l
100
- }), T = x(!0), B = E([]);
97
+ }), P = $(!0), B = E([]);
101
98
  function $t(l, o = 1e3, t = 50) {
102
99
  return new Promise((a) => {
103
100
  const v = l.length;
104
101
  B.value = Array(v).fill(0);
105
102
  let d = 0;
106
- l.forEach((_, $) => {
103
+ l.forEach((_, x) => {
107
104
  setTimeout(() => {
108
- const R = performance.now();
105
+ const W = performance.now();
109
106
  function X(ie) {
110
- const ye = Math.min((ie - R) / o, 1), It = vt(ye);
111
- B.value[$] = _ * It, B.value = [...B.value], ye < 1 ? requestAnimationFrame(X) : (B.value[$] = _, B.value = [...B.value], d += 1, d === v && a());
107
+ const ye = Math.min((ie - W) / o, 1), Yt = it(ye);
108
+ B.value[x] = _ * Yt, B.value = [...B.value], ye < 1 ? requestAnimationFrame(X) : (B.value[x] = _, B.value = [...B.value], d += 1, d === v && a());
112
109
  }
113
110
  requestAnimationFrame(X);
114
- }, $ * t);
111
+ }, x * t);
115
112
  });
116
113
  });
117
114
  }
@@ -121,17 +118,17 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
121
118
  l,
122
119
  e.value.startAnimation.durationMs,
123
120
  e.value.startAnimation.staggerMs
124
- ), T.value = !1;
121
+ ), P.value = !1;
125
122
  });
126
- const { userOptionsVisible: ge, setUserOptionsVisibility: Me, keepUserOptionState: Ye } = ul({ config: e.value }), { svgRef: me } = sl({ config: e.value.style.chart.title });
127
- function Ct() {
123
+ const { userOptionsVisible: pe, setUserOptionsVisibility: Me, keepUserOptionState: Ye } = ul({ config: e.value }), { svgRef: me } = sl({ config: e.value.style.chart.title });
124
+ function xt() {
128
125
  Me(!0);
129
126
  }
130
- function Tt() {
127
+ function Ct() {
131
128
  Me(!1);
132
129
  }
133
130
  at(() => O.config, (l) => {
134
- e.value = Ne(), ge.value = !e.value.userOptions.showOnChartHover, Oe(), Se.value += 1, Fe.value += 1, Le.value += 1, h.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, h.value.showTable = e.value.table.show, h.value.showTooltip = e.value.style.chart.tooltip.show, s.value.height = e.value.style.chart.height, s.value.width = e.value.style.chart.width;
131
+ e.value = Ne(), pe.value = !e.value.userOptions.showOnChartHover, Oe(), Se.value += 1, Fe.value += 1, Le.value += 1, h.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, h.value.showTable = e.value.table.show, h.value.showTooltip = e.value.style.chart.tooltip.show, s.value.height = e.value.style.chart.height, s.value.width = e.value.style.chart.width;
135
132
  }, { deep: !0 });
136
133
  const Ie = y(() => {
137
134
  const { top: l, right: o, bottom: t, left: a } = e.value.style.chart.padding;
@@ -142,66 +139,66 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
142
139
  bottom: t,
143
140
  left: a
144
141
  };
145
- }), { isPrinting: Xe, isImaging: De, generatePdf: Ve, generateImage: Be } = ol({
146
- elementId: `donut__${g.value}`,
142
+ }), { isPrinting: Xe, isImaging: Ve, generatePdf: De, generateImage: Be } = ol({
143
+ elementId: `donut__${p.value}`,
147
144
  fileName: e.value.style.chart.title.text || "vue-ui-donut",
148
145
  options: e.value.userOptions.print
149
- }), Pt = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ge = y(() => Et(e.value.customPalette)), h = x({
146
+ }), Pt = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ge = y(() => Et(e.value.customPalette)), h = $({
150
147
  dataLabels: {
151
148
  show: e.value.style.chart.layout.labels.dataLabels.show
152
149
  },
153
150
  showTable: e.value.table.show,
154
151
  showTooltip: e.value.style.chart.tooltip.show
155
- }), s = x({
152
+ }), s = $({
156
153
  height: e.value.style.chart.height,
157
154
  width: e.value.style.chart.width
158
155
  }), J = y(() => {
159
156
  const l = e.value.style.chart.layout.donut.strokeWidth / 512, o = Math.min(s.value.width, s.value.height) * l, t = o > k.value ? k.value : o;
160
157
  return Math.max(t, 3);
161
- }), We = ht, G = y(() => O.dataset.map((l, o) => ({
158
+ }), Re = dt, G = y(() => O.dataset.map((l, o) => ({
162
159
  name: l.name,
163
- color: rt(l.color) || Ge.value[o] || te[o] || te[o % te.length],
160
+ color: nt(l.color) || Ge.value[o] || te[o] || te[o % te.length],
164
161
  value: Ut(l.values.reduce((t, a) => t + a, 0)),
165
162
  absoluteValues: l.values,
166
163
  comment: l.comment || "",
167
164
  patternIndex: o,
168
165
  seriesIndex: o,
169
166
  ghost: !1,
170
- pattern: `pattern_${g.value}_${o}`
167
+ pattern: `pattern_${p.value}_${o}`
171
168
  }))), N = E(G.value);
172
169
  at(() => G.value, (l) => N.value = l);
173
- function At() {
170
+ function Tt() {
174
171
  return G.value.map((l) => ({
175
172
  name: l.name,
176
173
  color: l.color,
177
174
  value: l.value
178
175
  }));
179
176
  }
180
- const V = x([]), K = x(!1);
181
- function Re({ from: l, to: o, duration: t, onUpdate: a, onDone: v, easing: d = vt }) {
177
+ const D = $([]), K = $(!1);
178
+ function We({ from: l, to: o, duration: t, onUpdate: a, onDone: v, easing: d = it }) {
182
179
  const _ = performance.now();
183
- function $(R) {
184
- const X = Math.min((R - _) / t, 1), ie = d(X), ye = l + (o - l) * ie;
185
- a(ye, X), X < 1 ? requestAnimationFrame($) : (a(o, 1), v && v());
180
+ function x(W) {
181
+ const X = Math.min((W - _) / t, 1), ie = d(X), ye = l + (o - l) * ie;
182
+ a(ye, X), X < 1 ? requestAnimationFrame(x) : (a(o, 1), v && v());
186
183
  }
187
- requestAnimationFrame($);
184
+ requestAnimationFrame(x);
188
185
  }
189
186
  function Ee(l) {
190
187
  const o = G.value.find((v, d) => d === l);
191
188
  let a = N.value.find((v, d) => d === l).value;
192
- if (V.value.includes(l)) {
189
+ if (D.value.includes(l)) {
193
190
  let d = function() {
194
191
  N.value = N.value.map(
195
- ($, R) => l === R ? { ...$, value: v } : $
192
+ (x, W) => l === W ? { ...x, value: v } : x
196
193
  );
197
194
  }, _ = function() {
198
- K.value = !0, Re({
195
+ K.value = !0, We({
199
196
  from: a,
200
197
  to: v,
201
198
  duration: e.value.serieToggleAnimation.durationMs,
202
- onUpdate: ($, R) => {
199
+ onUpdate: (x, W) => {
203
200
  N.value = N.value.map(
204
- (X, ie) => l === ie ? { ...X, value: $ } : X
201
+ (X, ie) => l === ie ? { ...X, value: x } : X
205
202
  );
206
203
  },
207
204
  onDone: () => {
@@ -209,22 +206,22 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
209
206
  }
210
207
  });
211
208
  };
212
- V.value = V.value.filter(($) => $ !== l);
209
+ D.value = D.value.filter((x) => x !== l);
213
210
  const v = o.value;
214
211
  e.value.serieToggleAnimation.show && e.value.type === "classic" ? _() : d();
215
- } else if (V.value.length < G.value.length - 1) {
212
+ } else if (D.value.length < G.value.length - 1) {
216
213
  let v = function() {
217
- V.value.push(l), N.value = N.value.map(
218
- (_, $) => l === $ ? { ..._, value: 0 } : _
214
+ D.value.push(l), N.value = N.value.map(
215
+ (_, x) => l === x ? { ..._, value: 0 } : _
219
216
  );
220
217
  }, d = function() {
221
- K.value = !0, Re({
218
+ K.value = !0, We({
222
219
  from: a,
223
220
  to: 0,
224
221
  duration: e.value.serieToggleAnimation.durationMs,
225
- onUpdate: (_, $) => {
222
+ onUpdate: (_, x) => {
226
223
  N.value = N.value.map(
227
- (R, X) => l === X ? { ...R, value: _ } : R
224
+ (W, X) => l === X ? { ...W, value: _ } : W
228
225
  );
229
226
  },
230
227
  onDone: () => {
@@ -234,20 +231,20 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
234
231
  };
235
232
  e.value.serieToggleAnimation.show && e.value.type === "classic" ? d() : v();
236
233
  }
237
- We("selectLegend", W.value.map((v) => ({
234
+ Re("selectLegend", R.value.map((v) => ({
238
235
  name: v.name,
239
236
  color: v.color,
240
237
  value: v.value
241
238
  })));
242
239
  }
243
- const St = y(() => O.dataset.reduce((l, o) => l + o.values.reduce((t, a) => t + a, 0), 0)), W = y(() => {
244
- if (T.value) {
240
+ const At = y(() => O.dataset.reduce((l, o) => l + o.values.reduce((t, a) => t + a, 0), 0)), R = y(() => {
241
+ if (P.value) {
245
242
  const l = B.value.map((t, a) => ({
246
243
  ...G.value[a],
247
244
  value: t,
248
245
  color: G.value[a].color,
249
246
  ghost: !1
250
- })), o = St.value - B.value.reduce((t, a) => t + a, 0);
247
+ })), o = At.value - B.value.reduce((t, a) => t + a, 0);
251
248
  return o > 0 && l.push({
252
249
  name: "__ghost__",
253
250
  value: o,
@@ -264,20 +261,20 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
264
261
  }), N.value.map((l, o) => ({
265
262
  ...l,
266
263
  seriesIndex: o
267
- })).filter((l, o) => !V.value.includes(o));
264
+ })).filter((l, o) => !D.value.includes(o));
268
265
  }), Ue = y(() => O.dataset.map((l, o) => ({
269
266
  name: l.name,
270
- color: rt(l.color) || Ge.value[o] || te[o] || te[o % te.length],
267
+ color: nt(l.color) || Ge.value[o] || te[o] || te[o % te.length],
271
268
  value: (l.values || []).reduce((t, a) => t + a, 0),
272
269
  shape: "circle",
273
270
  patternIndex: o
274
271
  })).map((l, o) => ({
275
272
  ...l,
276
273
  proportion: l.value / O.dataset.map((t) => (t.values || []).reduce((a, v) => a + v, 0)).reduce((t, a) => t + a, 0),
277
- opacity: V.value.includes(o) ? 0.5 : 1,
274
+ opacity: D.value.includes(o) ? 0.5 : 1,
278
275
  segregate: () => !K.value && Ee(o),
279
- isSegregated: V.value.includes(o)
280
- }))), Ft = y(() => ({
276
+ isSegregated: D.value.includes(o)
277
+ }))), St = y(() => ({
281
278
  cy: "donut-div-legend",
282
279
  backgroundColor: e.value.style.chart.legend.backgroundColor,
283
280
  color: e.value.style.chart.legend.color,
@@ -287,7 +284,7 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
287
284
  })), k = y(() => {
288
285
  const l = Math.min(s.value.width / 3, s.value.height / 3);
289
286
  return l < 55 ? 55 : l;
290
- }), S = y(() => it({ series: W.value }, s.value.width / 2, s.value.height / 2, k.value, k.value, 1.99999, 2, 1, 360, 105.25, J.value)), Lt = y(() => Math.abs(W.value.map((l) => l.value).reduce((l, o) => l + o, 0)) > 0), Ot = y(() => it({
287
+ }), S = y(() => rt({ series: R.value }, s.value.width / 2, s.value.height / 2, k.value, k.value, 1.99999, 2, 1, 360, 105.25, J.value)), Ft = y(() => Math.abs(R.value.map((l) => l.value).reduce((l, o) => l + o, 0)) > 0), Lt = y(() => rt({
291
288
  series: [
292
289
  {
293
290
  value: 1,
@@ -300,7 +297,7 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
300
297
  }
301
298
  ]
302
299
  }, s.value.width / 2, s.value.height / 2, k.value, k.value, 1.99999, 2, 1, 360, 105.25, J.value)), Y = y(() => S.value.filter((l) => !l.ghost)), c = y(() => {
303
- const l = Math.max(...W.value.map((t) => t.value)), o = W.value.map((t) => t.value / l);
300
+ const l = Math.max(...R.value.map((t) => t.value)), o = R.value.map((t) => t.value / l);
304
301
  return jt({
305
302
  series: o,
306
303
  center: {
@@ -308,21 +305,21 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
308
305
  y: s.value.height / 2
309
306
  },
310
307
  maxRadius: Math.min(s.value.width, s.value.height) / 3,
311
- hasGhost: T.value
308
+ hasGhost: P.value
312
309
  });
313
310
  });
314
311
  function ae(l) {
315
312
  return l.x > s.value.width / 2 + 6 ? "start" : l.x < s.value.width / 2 - 6 ? "end" : "middle";
316
313
  }
317
- function zt(l) {
314
+ function Ot(l) {
318
315
  return l.middlePoint.y > s.value.height / 2 ? L({ initX: l.middlePoint.x, initY: l.middlePoint.y, offset: 100, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y : L({ initX: l.middlePoint.x, initY: l.middlePoint.y, offset: 0, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y - 100;
319
316
  }
320
317
  function I(l) {
321
318
  return l.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
322
319
  }
323
320
  function be(l, o) {
324
- const t = l.value / Nt(o);
325
- return isNaN(t) ? 0 : D(
321
+ const t = l.value / zt(o);
322
+ return isNaN(t) ? 0 : V(
326
323
  e.value.style.chart.layout.labels.percentage.formatter,
327
324
  t * 100,
328
325
  M({
@@ -333,10 +330,10 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
333
330
  { datapoint: l }
334
331
  );
335
332
  }
336
- function Nt(l) {
333
+ function zt(l) {
337
334
  return [...l].map((o) => o.value).reduce((o, t) => o + t, 0);
338
335
  }
339
- const F = y(() => W.value.map((l) => l.value).reduce((l, o) => l + o, 0)), je = y(() => F.value / W.value.length), He = y(() => (l) => K.value ? l.proportion * 100 : l.value / F.value * 100), we = x(null), re = x(!1);
336
+ const F = y(() => R.value.map((l) => l.value).reduce((l, o) => l + o, 0)), je = y(() => F.value / R.value.length), He = y(() => (l) => K.value ? l.proportion * 100 : l.value / F.value * 100), we = $(null), re = $(!1);
340
337
  function qe({ datapoint: l, relativeIndex: o, seriesIndex: t, show: a = !1 }) {
341
338
  we.value = { datapoint: l, seriesIndex: t, config: e.value, series: G.value }, ce.value = a, z.value = o;
342
339
  let v = "";
@@ -349,12 +346,12 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
349
346
  series: G.value,
350
347
  config: e.value
351
348
  });
352
- typeof _ == "string" && (pe.value = _, re.value = !0);
349
+ typeof _ == "string" && (ge.value = _, re.value = !0);
353
350
  } catch {
354
351
  console.warn("Custom format cannot be applied."), re.value = !1;
355
352
  }
356
353
  if (!re.value) {
357
- if (v += `<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>`, v += `<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}"/>${_t.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${g.value}_${t})"/>` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (v += `<b>${D(
354
+ if (v += `<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>`, v += `<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}"/>${kt.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${p.value}_${t})"/>` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (v += `<b>${V(
358
355
  e.value.style.chart.layout.labels.value.formatter,
359
356
  l.value,
360
357
  M({
@@ -369,7 +366,7 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
369
366
  seriesIndex: t
370
367
  }
371
368
  )}</b>`), e.value.style.chart.tooltip.showPercentage) {
372
- const _ = D(
369
+ const _ = V(
373
370
  e.value.style.chart.layout.labels.percentage.formatter,
374
371
  l.proportion * 100,
375
372
  M({
@@ -385,24 +382,24 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
385
382
  );
386
383
  e.value.style.chart.tooltip.showValue ? v += `<span>(${_})</span></div>` : v += `<b>${_}</b></div>`;
387
384
  }
388
- e.value.style.chart.comments.showInTooltip && l.comment && (v += `<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>`), pe.value = `<div>${v}</div>`;
385
+ e.value.style.chart.comments.showInTooltip && l.comment && (v += `<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>`), ge.value = `<div>${v}</div>`;
389
386
  }
390
387
  }
391
388
  function Q(l) {
392
- return e.value.useBlurOnHover && ![null, void 0].includes(z.value) && z.value !== l ? `url(#blur_${g.value})` : "";
389
+ return e.value.useBlurOnHover && ![null, void 0].includes(z.value) && z.value !== l ? `url(#blur_${p.value})` : "";
393
390
  }
394
- const j = y(() => {
395
- const l = W.value.map((t) => ({
391
+ const H = y(() => {
392
+ const l = R.value.map((t) => ({
396
393
  name: t.name,
397
394
  color: t.color
398
- })), o = W.value.map((t) => t.value);
395
+ })), o = R.value.map((t) => t.value);
399
396
  return { head: l, body: o };
400
397
  });
401
398
  function Je(l = null) {
402
- Vt(() => {
403
- const o = j.value.head.map((v, d) => [[
399
+ Dt(() => {
400
+ const o = H.value.head.map((v, d) => [[
404
401
  v.name
405
- ], [j.value.body[d]], [isNaN(j.value.body[d] / F.value) ? "-" : j.value.body[d] / F.value * 100]]), t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(o), a = Zt(t);
402
+ ], [H.value.body[d]], [isNaN(H.value.body[d] / F.value) ? "-" : H.value.body[d] / F.value * 100]]), t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(o), a = Zt(t);
406
403
  l ? l(a) : el({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-donut" });
407
404
  });
408
405
  }
@@ -411,13 +408,13 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
411
408
  ' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
412
409
  M({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: F.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
413
410
  "100%"
414
- ], o = j.value.head.map((v, d) => [
411
+ ], o = H.value.head.map((v, d) => [
415
412
  {
416
413
  color: v.color,
417
414
  name: v.name
418
415
  },
419
- j.value.body[d],
420
- isNaN(j.value.body[d] / F.value) ? "-" : (j.value.body[d] / F.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
416
+ H.value.body[d],
417
+ isNaN(H.value.body[d] / F.value) ? "-" : (H.value.body[d] / F.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
421
418
  ]), t = {
422
419
  th: {
423
420
  backgroundColor: e.value.table.th.backgroundColor,
@@ -441,16 +438,16 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
441
438
  body: o,
442
439
  config: t
443
440
  };
444
- }), oe = x(!1);
441
+ }), oe = $(!1);
445
442
  function Ke(l) {
446
443
  oe.value = l, ze.value += 1;
447
444
  }
448
445
  const Qe = y(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
449
- function Mt(l) {
446
+ function Nt(l) {
450
447
  return l.toFixed(e.value.style.chart.legend.roundingPercentage).split("").map((o) => "-").join("");
451
448
  }
452
- function H(l, o) {
453
- We("selectDatapoint", { datapoint: l, index: o });
449
+ function q(l, o) {
450
+ Re("selectDatapoint", { datapoint: l, index: o });
454
451
  }
455
452
  function Ze() {
456
453
  h.value.showTable = !h.value.showTable;
@@ -461,19 +458,26 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
461
458
  function tt() {
462
459
  h.value.showTooltip = !h.value.showTooltip;
463
460
  }
464
- const he = x(!1);
461
+ const he = $(!1);
465
462
  function ke() {
466
463
  he.value = !he.value;
467
464
  }
468
- async function Yt({ scale: l = 2 } = {}) {
469
- if (!q.value) return;
470
- const { imageUri: o, base64: t } = await vl({ domElement: q.value, base64: !0, img: !0, scale: l });
471
- return { imageUri: o, base64: t };
465
+ async function Mt({ scale: l = 2 } = {}) {
466
+ if (!U.value) return;
467
+ const { width: o, height: t } = U.value.getBoundingClientRect(), a = o / t, { imageUri: v, base64: d } = await vl({ domElement: U.value, base64: !0, img: !0, scale: l });
468
+ return {
469
+ imageUri: v,
470
+ base64: d,
471
+ title: e.value.style.chart.title.text,
472
+ width: o,
473
+ height: t,
474
+ aspectRatio: a
475
+ };
472
476
  }
473
- return dt({
474
- getData: At,
475
- getImage: Yt,
476
- generatePdf: Ve,
477
+ return ct({
478
+ getData: Tt,
479
+ getImage: Mt,
480
+ generatePdf: De,
477
481
  generateCsv: Je,
478
482
  generateImage: Be,
479
483
  toggleTable: Ze,
@@ -483,12 +487,12 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
483
487
  toggleFullscreen: Ke
484
488
  }), (l, o) => (u(), n("div", {
485
489
  ref_key: "donutChart",
486
- ref: q,
490
+ ref: U,
487
491
  class: _e(`vue-ui-donut ${oe.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
488
492
  style: b(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
489
- id: `donut__${g.value}`,
490
- onMouseenter: Ct,
491
- onMouseleave: Tt
493
+ id: `donut__${p.value}`,
494
+ onMouseenter: xt,
495
+ onMouseleave: Ct
492
496
  }, [
493
497
  e.value.userOptions.buttons.annotator && r(me) ? (u(), ee(r(gt), {
494
498
  key: 0,
@@ -526,15 +530,15 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
526
530
  }
527
531
  }, null, 8, ["config"]))
528
532
  ], 512)) : i("", !0),
529
- e.value.userOptions.show && ne.value && (r(Ye) || r(ge)) ? (u(), ee(r(wt), {
533
+ e.value.userOptions.show && ne.value && (r(Ye) || r(pe)) ? (u(), ee(r(bt), {
530
534
  ref_key: "details",
531
- ref: xt,
535
+ ref: _t,
532
536
  key: `user_option_${ze.value}`,
533
537
  backgroundColor: e.value.style.chart.backgroundColor,
534
538
  color: e.value.style.chart.color,
535
539
  isPrinting: r(Xe),
536
- isImaging: r(De),
537
- uid: g.value,
540
+ isImaging: r(Ve),
541
+ uid: p.value,
538
542
  hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
539
543
  hasPdf: e.value.userOptions.buttons.pdf,
540
544
  hasImg: e.value.userOptions.buttons.img,
@@ -543,7 +547,7 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
543
547
  hasLabel: e.value.userOptions.buttons.labels,
544
548
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
545
549
  isFullscreen: oe.value,
546
- chartElement: q.value,
550
+ chartElement: U.value,
547
551
  position: e.value.userOptions.position,
548
552
  callbacks: e.value.userOptions.callbacks,
549
553
  isTooltip: h.value.showTooltip,
@@ -552,7 +556,7 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
552
556
  isAnnotation: he.value,
553
557
  printScale: e.value.userOptions.print.scale,
554
558
  onToggleFullscreen: Ke,
555
- onGeneratePdf: r(Ve),
559
+ onGeneratePdf: r(De),
556
560
  onGenerateCsv: Je,
557
561
  onGenerateImage: r(Be),
558
562
  onToggleTable: Ze,
@@ -560,7 +564,7 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
560
564
  onToggleTooltip: tt,
561
565
  onToggleAnnotator: ke,
562
566
  style: b({
563
- visibility: r(Ye) ? r(ge) ? "visible" : "hidden" : "visible"
567
+ visibility: r(Ye) ? r(pe) ? "visible" : "hidden" : "visible"
564
568
  })
565
569
  }, ot({ _: 2 }, [
566
570
  l.$slots.menuIcon ? {
@@ -636,7 +640,7 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
636
640
  viewBox: `0 0 ${s.value.width <= 0 ? 10 : s.value.width} ${s.value.height <= 0 ? 10 : s.value.height}`,
637
641
  style: b(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};${Ie.value.css}`)
638
642
  }, [
639
- xe(r(pt)),
643
+ $e(r(ft)),
640
644
  l.$slots["chart-background"] ? (u(), n("foreignObject", {
641
645
  key: 0,
642
646
  x: 0,
@@ -652,13 +656,13 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
652
656
  e.value.type === "classic" && !isNaN(J.value / k.value) ? (u(), n("defs", fl, [
653
657
  e.value.style.chart.useGradient ? (u(), n("radialGradient", {
654
658
  key: 0,
655
- id: `gradient_${g.value}`
659
+ id: `gradient_${p.value}`
656
660
  }, [
657
661
  f("stop", {
658
662
  offset: "0%",
659
663
  "stop-color": r(fe)(e.value.style.chart.backgroundColor, 0),
660
664
  "stop-opacity": "0"
661
- }, null, 8, gl),
665
+ }, null, 8, pl),
662
666
  f("stop", {
663
667
  offset: `${(1 - J.value / k.value) * 100}%`,
664
668
  "stop-color": r(fe)("#FFFFFF", 0),
@@ -673,11 +677,11 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
673
677
  "stop-color": r(fe)(e.value.style.chart.backgroundColor, 0),
674
678
  "stop-opacity": "0"
675
679
  }, null, 8, wl)
676
- ], 8, pl)) : i("", !0)
680
+ ], 8, gl)) : i("", !0)
677
681
  ])) : i("", !0),
678
682
  e.value.type === "polar" ? (u(), n("defs", kl, [
679
- (u(!0), n(p, null, A(c.value, (t, a) => (u(), n("radialGradient", {
680
- id: `polar_gradient_${a}_${g.value}`,
683
+ (u(!0), n(g, null, A(c.value, (t, a) => (u(), n("radialGradient", {
684
+ id: `polar_gradient_${a}_${p.value}`,
681
685
  cx: (isNaN(t.middlePoint.x / s.value.width * 100) ? 0 : t.middlePoint.x / s.value.width * 100) + "%",
682
686
  cy: (isNaN(t.middlePoint.y / s.value.height * 100) ? 0 : t.middlePoint.y / s.value.height * 100) + "%",
683
687
  r: "62%"
@@ -686,16 +690,16 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
686
690
  offset: "0%",
687
691
  "stop-color": r(qt)(S.value[a].color, 0.05),
688
692
  "stop-opacity": e.value.style.chart.gradientIntensity / 100
689
- }, null, 8, xl),
693
+ }, null, 8, $l),
690
694
  f("stop", {
691
695
  offset: "100%",
692
696
  "stop-color": S.value[a].color
693
- }, null, 8, $l)
697
+ }, null, 8, xl)
694
698
  ], 8, _l))), 256))
695
699
  ])) : i("", !0),
696
700
  f("defs", null, [
697
701
  f("filter", {
698
- id: `blur_${g.value}`,
702
+ id: `blur_${p.value}`,
699
703
  x: "-50%",
700
704
  y: "-50%",
701
705
  width: "200%",
@@ -704,15 +708,15 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
704
708
  f("feGaussianBlur", {
705
709
  in: "SourceGraphic",
706
710
  stdDeviation: 2,
707
- id: `blur_std_${g.value}`
708
- }, null, 8, Tl),
711
+ id: `blur_std_${p.value}`
712
+ }, null, 8, Pl),
709
713
  o[6] || (o[6] = f("feColorMatrix", {
710
714
  type: "saturate",
711
715
  values: "0"
712
716
  }, null, -1))
713
717
  ], 8, Cl),
714
718
  f("filter", {
715
- id: `shadow_${g.value}`,
719
+ id: `shadow_${p.value}`,
716
720
  "color-interpolation-filters": "sRGB"
717
721
  }, [
718
722
  f("feDropShadow", {
@@ -722,9 +726,9 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
722
726
  "flood-opacity": "0.5",
723
727
  "flood-color": e.value.style.chart.layout.donut.shadowColor
724
728
  }, null, 8, Al)
725
- ], 8, Pl),
729
+ ], 8, Tl),
726
730
  f("filter", {
727
- id: `drop_shadow_${g.value}`,
731
+ id: `drop_shadow_${p.value}`,
728
732
  "color-interpolation-filters": "sRGB",
729
733
  x: "-50%",
730
734
  y: "-50%",
@@ -740,7 +744,7 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
740
744
  }, null, 8, Fl)
741
745
  ], 8, Sl)
742
746
  ]),
743
- e.value.type === "classic" ? (u(!0), n(p, { key: 3 }, A(S.value.filter((t) => !t.ghost), (t, a) => (u(), n("g", null, [
747
+ e.value.type === "classic" ? (u(!0), n(g, { key: 3 }, A(S.value.filter((t) => !t.ghost), (t, a) => (u(), n("g", null, [
744
748
  I(t) && h.value.dataLabels.show ? (u(), n("path", {
745
749
  key: 0,
746
750
  d: r(Jt)(t, { x: s.value.width / 2, y: s.value.height / 2 }, 16, 16, !1, !1, J.value, 12, e.value.style.chart.layout.curvedMarkers),
@@ -752,7 +756,7 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
752
756
  filter: Q(a)
753
757
  }, null, 8, Ll)) : i("", !0)
754
758
  ]))), 256)) : i("", !0),
755
- e.value.type === "polar" ? (u(!0), n(p, { key: 4 }, A(S.value.filter((t) => !t.ghost), (t, a) => (u(), n("g", null, [
759
+ e.value.type === "polar" ? (u(!0), n(g, { key: 4 }, A(S.value.filter((t) => !t.ghost), (t, a) => (u(), n("g", null, [
756
760
  I(t) && h.value.dataLabels.show ? (u(), n("path", {
757
761
  key: 0,
758
762
  d: `M ${r(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x},${r(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y} ${c.value[a].middlePoint.x},${c.value[a].middlePoint.y}`,
@@ -763,7 +767,7 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
763
767
  fill: "none",
764
768
  filter: Q(a),
765
769
  style: b({
766
- transition: T.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
770
+ transition: P.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
767
771
  })
768
772
  }, null, 12, Ol)) : i("", !0)
769
773
  ]))), 256)) : i("", !0),
@@ -773,22 +777,22 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
773
777
  cy: s.value.height / 2,
774
778
  r: k.value <= 0 ? 10 : k.value,
775
779
  fill: e.value.style.chart.backgroundColor,
776
- filter: `url(#shadow_${g.value})`
780
+ filter: `url(#shadow_${p.value})`
777
781
  }, null, 8, zl)) : i("", !0),
778
782
  l.$slots.pattern ? (u(), n("g", Nl, [
779
- (u(!0), n(p, null, A($e.dataset, (t, a) => (u(), n("defs", {
783
+ (u(!0), n(g, null, A(xe.dataset, (t, a) => (u(), n("defs", {
780
784
  key: `pattern-${t.patternIndex}`
781
785
  }, [
782
- m(l.$slots, "pattern", ut({ ref_for: !0 }, { seriesIndex: a, patternId: `pattern_${g.value}_${a}` }), void 0, !0)
786
+ m(l.$slots, "pattern", ut({ ref_for: !0 }, { seriesIndex: a, patternId: `pattern_${p.value}_${a}` }), void 0, !0)
783
787
  ]))), 128))
784
788
  ])) : i("", !0),
785
- F.value && e.value.type === "classic" ? (u(), n(p, { key: 7 }, [
786
- (u(!0), n(p, null, A(Y.value, (t, a) => (u(), n("path", {
789
+ F.value && e.value.type === "classic" ? (u(), n(g, { key: 7 }, [
790
+ (u(!0), n(g, null, A(Y.value, (t, a) => (u(), n("path", {
787
791
  stroke: e.value.style.chart.backgroundColor,
788
792
  d: t.arcSlice,
789
793
  fill: "#FFFFFF"
790
794
  }, null, 8, Ml))), 256)),
791
- (u(!0), n(p, null, A(Y.value, (t, a) => (u(), n("path", {
795
+ (u(!0), n(g, null, A(Y.value, (t, a) => (u(), n("path", {
792
796
  class: "vue-ui-donut-arc-path",
793
797
  d: t.arcSlice,
794
798
  fill: t.color,
@@ -797,7 +801,7 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
797
801
  filter: Q(a)
798
802
  }, null, 8, Yl))), 256)),
799
803
  l.$slots.pattern ? (u(), n("g", Il, [
800
- (u(!0), n(p, null, A(Y.value, (t, a) => (u(), n("path", {
804
+ (u(!0), n(g, null, A(Y.value, (t, a) => (u(), n("path", {
801
805
  class: "vue-ui-donut-arc-path",
802
806
  d: t.arcSlice,
803
807
  fill: `url(#${t.pattern})`,
@@ -807,31 +811,31 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
807
811
  }, null, 8, Xl))), 256))
808
812
  ])) : i("", !0)
809
813
  ], 64)) : i("", !0),
810
- F.value && e.value.type === "polar" ? (u(), n(p, { key: 8 }, [
811
- S.value.length > 1 ? (u(), n("g", Dl, [
812
- (u(!0), n(p, null, A(Y.value, (t, a) => (u(), n("path", {
814
+ F.value && e.value.type === "polar" ? (u(), n(g, { key: 8 }, [
815
+ S.value.length > 1 ? (u(), n("g", Vl, [
816
+ (u(!0), n(g, null, A(Y.value, (t, a) => (u(), n("path", {
813
817
  stroke: e.value.style.chart.backgroundColor,
814
818
  d: c.value[a].path,
815
819
  fill: "#FFFFFF",
816
820
  style: b({
817
- transition: T.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
821
+ transition: P.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
818
822
  })
819
- }, null, 12, Vl))), 256)),
823
+ }, null, 12, Dl))), 256)),
820
824
  e.value.style.chart.layout.donut.useShadow ? (u(), n("g", Bl, [
821
- (u(!0), n(p, null, A(Y.value, (t, a) => (u(), n("path", {
825
+ (u(!0), n(g, null, A(Y.value, (t, a) => (u(), n("path", {
822
826
  class: "vue-ui-donut-arc-path",
823
827
  d: c.value[a].path,
824
828
  fill: "transparent",
825
829
  stroke: e.value.style.chart.backgroundColor,
826
830
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
827
- filter: `url(#drop_shadow_${g.value})`,
831
+ filter: `url(#drop_shadow_${p.value})`,
828
832
  style: b({
829
- transition: T.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
833
+ transition: P.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
830
834
  })
831
835
  }, null, 12, Gl))), 256))
832
836
  ])) : i("", !0),
833
- l.$slots.pattern ? (u(), n("g", Wl, [
834
- (u(!0), n(p, null, A(Y.value, (t, a) => (u(), n("path", {
837
+ l.$slots.pattern ? (u(), n("g", Rl, [
838
+ (u(!0), n(g, null, A(Y.value, (t, a) => (u(), n("path", {
835
839
  class: "vue-ui-donut-arc-path",
836
840
  d: c.value[a].path,
837
841
  fill: `url(#${t.pattern})`,
@@ -839,19 +843,19 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
839
843
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
840
844
  filter: Q(a),
841
845
  style: b({
842
- transition: T.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
846
+ transition: P.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
843
847
  })
844
- }, null, 12, Rl))), 256))
848
+ }, null, 12, Wl))), 256))
845
849
  ])) : i("", !0),
846
- (u(!0), n(p, null, A(Y.value, (t, a) => (u(), n("path", {
850
+ (u(!0), n(g, null, A(Y.value, (t, a) => (u(), n("path", {
847
851
  class: "vue-ui-donut-arc-path",
848
852
  d: c.value[a].path,
849
- fill: e.value.style.chart.useGradient ? `url(#polar_gradient_${a}_${g.value})` : t.color,
853
+ fill: e.value.style.chart.useGradient ? `url(#polar_gradient_${a}_${p.value})` : t.color,
850
854
  stroke: e.value.style.chart.backgroundColor,
851
855
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
852
856
  filter: Q(a),
853
857
  style: b({
854
- transition: T.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
858
+ transition: P.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
855
859
  })
856
860
  }, null, 12, El))), 256))
857
861
  ])) : (u(), n("g", Ul, [
@@ -860,7 +864,7 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
860
864
  cx: s.value.width / 2,
861
865
  cy: s.value.height / 2,
862
866
  r: k.value,
863
- fill: `url(#pattern_${g.value}_${S.value[0].patternIndex})`,
867
+ fill: `url(#pattern_${p.value}_${S.value[0].patternIndex})`,
864
868
  stroke: e.value.style.chart.backgroundColor,
865
869
  "stroke-width": e.value.style.chart.layout.donut.borderWidth
866
870
  }, null, 8, jl)) : i("", !0),
@@ -868,14 +872,14 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
868
872
  cx: s.value.width / 2,
869
873
  cy: s.value.height / 2,
870
874
  r: k.value,
871
- fill: e.value.style.chart.useGradient ? `url(#polar_gradient_0_${g.value})` : S.value[0].color,
875
+ fill: e.value.style.chart.useGradient ? `url(#polar_gradient_0_${p.value})` : S.value[0].color,
872
876
  stroke: e.value.style.chart.backgroundColor,
873
877
  "stroke-width": e.value.style.chart.layout.donut.borderWidth
874
878
  }, null, 8, Hl)
875
879
  ]))
876
- ], 64)) : (u(), n(p, { key: 9 }, [
877
- e.value.type === "classic" && !Lt.value ? (u(), n("g", ql, [
878
- (u(!0), n(p, null, A(Ot.value, (t, a) => (u(), n("path", {
880
+ ], 64)) : (u(), n(g, { key: 9 }, [
881
+ e.value.type === "classic" && !Ft.value ? (u(), n("g", ql, [
882
+ (u(!0), n(g, null, A(Lt.value, (t, a) => (u(), n("path", {
879
883
  class: "vue-ui-donut-arc-path",
880
884
  d: t.arcSlice,
881
885
  fill: t.color,
@@ -899,11 +903,11 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
899
903
  /* This might require adjustments */
900
904
  k.value <= 0 ? 10 : k.value
901
905
  ),
902
- fill: `url(#gradient_${g.value})`
906
+ fill: `url(#gradient_${p.value})`
903
907
  }, null, 8, Ql)) : i("", !0),
904
- F.value ? (u(), n(p, { key: 11 }, [
908
+ F.value ? (u(), n(g, { key: 11 }, [
905
909
  S.value.length > 1 || e.value.type === "classic" ? (u(), n("g", Zl, [
906
- (u(!0), n(p, null, A(S.value.filter((t) => !t.ghost), (t, a) => (u(), n("path", {
910
+ (u(!0), n(g, null, A(S.value.filter((t) => !t.ghost), (t, a) => (u(), n("path", {
907
911
  d: e.value.type === "classic" ? t.arcSlice : c.value[a].path,
908
912
  fill: z.value === a ? "rgba(0,0,0,0.1)" : "transparent",
909
913
  onMouseenter: (v) => qe({
@@ -915,7 +919,7 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
915
919
  onMouseleave: o[0] || (o[0] = (v) => {
916
920
  ce.value = !1, z.value = null;
917
921
  }),
918
- onClick: (v) => H(t, a)
922
+ onClick: (v) => q(t, a)
919
923
  }, null, 40, ea))), 256))
920
924
  ])) : (u(), n("g", ta, [
921
925
  f("circle", {
@@ -932,11 +936,11 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
932
936
  onMouseleave: o[2] || (o[2] = (t) => {
933
937
  ce.value = !1, z.value = null;
934
938
  }),
935
- onClick: o[3] || (o[3] = (t) => H(S.value[0], l.i))
939
+ onClick: o[3] || (o[3] = (t) => q(S.value[0], l.i))
936
940
  }, null, 40, la)
937
941
  ]))
938
942
  ], 64)) : i("", !0),
939
- e.value.type === "classic" ? (u(), n(p, { key: 12 }, [
943
+ e.value.type === "classic" ? (u(), n(g, { key: 12 }, [
940
944
  e.value.style.chart.layout.labels.hollow.total.show ? (u(), n("text", {
941
945
  key: 0,
942
946
  "text-anchor": "middle",
@@ -945,7 +949,7 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
945
949
  fill: e.value.style.chart.layout.labels.hollow.total.color,
946
950
  "font-size": e.value.style.chart.layout.labels.hollow.total.fontSize,
947
951
  style: b(`font-weight:${e.value.style.chart.layout.labels.hollow.total.bold ? "bold" : ""}`)
948
- }, P(e.value.style.chart.layout.labels.hollow.total.text), 13, aa)) : i("", !0),
952
+ }, T(e.value.style.chart.layout.labels.hollow.total.text), 13, aa)) : i("", !0),
949
953
  e.value.style.chart.layout.labels.hollow.total.show ? (u(), n("text", {
950
954
  key: 1,
951
955
  "text-anchor": "middle",
@@ -954,7 +958,7 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
954
958
  fill: e.value.style.chart.layout.labels.hollow.total.value.color,
955
959
  "font-size": e.value.style.chart.layout.labels.hollow.total.value.fontSize,
956
960
  style: b(`font-weight:${e.value.style.chart.layout.labels.hollow.total.value.bold ? "bold" : ""}`)
957
- }, P(r(D)(
961
+ }, T(r(V)(
958
962
  e.value.style.chart.layout.labels.hollow.total.value.formatter,
959
963
  F.value,
960
964
  r(M)({
@@ -971,7 +975,7 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
971
975
  fill: e.value.style.chart.layout.labels.hollow.average.color,
972
976
  "font-size": e.value.style.chart.layout.labels.hollow.average.fontSize,
973
977
  style: b(`font-weight:${e.value.style.chart.layout.labels.hollow.average.bold ? "bold" : ""}`)
974
- }, P(e.value.style.chart.layout.labels.hollow.average.text), 13, ua)) : i("", !0),
978
+ }, T(e.value.style.chart.layout.labels.hollow.average.text), 13, ua)) : i("", !0),
975
979
  e.value.style.chart.layout.labels.hollow.average.show ? (u(), n("text", {
976
980
  key: 3,
977
981
  "text-anchor": "middle",
@@ -980,7 +984,7 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
980
984
  fill: e.value.style.chart.layout.labels.hollow.average.value.color,
981
985
  "font-size": e.value.style.chart.layout.labels.hollow.average.value.fontSize,
982
986
  style: b(`font-weight:${e.value.style.chart.layout.labels.hollow.average.value.bold ? "bold" : ""}`)
983
- }, P(K.value || T.value ? "--" : r(D)(
987
+ }, T(K.value || P.value ? "--" : r(V)(
984
988
  e.value.style.chart.layout.labels.hollow.average.value.formatter,
985
989
  je.value,
986
990
  r(M)({
@@ -991,7 +995,7 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
991
995
  })
992
996
  )), 13, sa)) : i("", !0)
993
997
  ], 64)) : i("", !0),
994
- (u(!0), n(p, null, A(Y.value.filter((t) => !t.ghost), (t, a) => (u(), n("g", {
998
+ (u(!0), n(g, null, A(Y.value.filter((t) => !t.ghost), (t, a) => (u(), n("g", {
995
999
  filter: Q(a),
996
1000
  class: _e({ animated: e.value.useCssAnimation })
997
1001
  }, [
@@ -1016,7 +1020,7 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
1016
1020
  ])
1017
1021
  ], 8, ia))
1018
1022
  ])) : (u(), n("g", va, [
1019
- e.value.type === "classic" ? (u(), n(p, { key: 0 }, [
1023
+ e.value.type === "classic" ? (u(), n(g, { key: 0 }, [
1020
1024
  I(t) && h.value.dataLabels.show ? (u(), n("circle", {
1021
1025
  key: 0,
1022
1026
  cx: r(w)(t).x,
@@ -1025,11 +1029,11 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
1025
1029
  stroke: e.value.style.chart.backgroundColor,
1026
1030
  "stroke-width": 1,
1027
1031
  r: 3,
1028
- filter: !e.value.useBlurOnHover || [null, void 0].includes(z.value) || z.value === a ? "" : `url(#blur_${g.value})`,
1029
- onClick: (v) => H(t, a)
1032
+ filter: !e.value.useBlurOnHover || [null, void 0].includes(z.value) || z.value === a ? "" : `url(#blur_${p.value})`,
1033
+ onClick: (v) => q(t, a)
1030
1034
  }, null, 8, ca)) : i("", !0)
1031
1035
  ], 64)) : i("", !0),
1032
- e.value.type === "polar" ? (u(), n(p, { key: 1 }, [
1036
+ e.value.type === "polar" ? (u(), n(g, { key: 1 }, [
1033
1037
  I(t) && h.value.dataLabels.show ? (u(), n("circle", {
1034
1038
  key: 0,
1035
1039
  cx: r(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x,
@@ -1038,14 +1042,14 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
1038
1042
  stroke: e.value.style.chart.backgroundColor,
1039
1043
  "stroke-width": 1,
1040
1044
  r: 3,
1041
- filter: !e.value.useBlurOnHover || [null, void 0].includes(z.value) || z.value === a ? "" : `url(#blur_${g.value})`,
1042
- onClick: (v) => H(t, a),
1045
+ filter: !e.value.useBlurOnHover || [null, void 0].includes(z.value) || z.value === a ? "" : `url(#blur_${p.value})`,
1046
+ onClick: (v) => q(t, a),
1043
1047
  style: b({
1044
- transition: T.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
1048
+ transition: P.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
1045
1049
  })
1046
1050
  }, null, 12, da)) : i("", !0)
1047
1051
  ], 64)) : i("", !0),
1048
- e.value.type === "classic" ? (u(), n(p, { key: 2 }, [
1052
+ e.value.type === "classic" ? (u(), n(g, { key: 2 }, [
1049
1053
  I(t) && h.value.dataLabels.show ? (u(), n("text", {
1050
1054
  key: 0,
1051
1055
  "text-anchor": r(w)(t, !0, 12).anchor,
@@ -1054,8 +1058,8 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
1054
1058
  fill: e.value.style.chart.layout.labels.percentage.color,
1055
1059
  "font-size": e.value.style.chart.layout.labels.percentage.fontSize,
1056
1060
  style: b(`font-weight:${e.value.style.chart.layout.labels.percentage.bold ? "bold" : ""}`),
1057
- onClick: (v) => H(t, a)
1058
- }, P(be(t, Y.value)) + " " + P(e.value.style.chart.layout.labels.value.show ? `(${r(D)(
1061
+ onClick: (v) => q(t, a)
1062
+ }, T(be(t, Y.value)) + " " + T(e.value.style.chart.layout.labels.value.show ? `(${r(V)(
1059
1063
  e.value.style.chart.layout.labels.value.formatter,
1060
1064
  t.value,
1061
1065
  r(M)({
@@ -1074,10 +1078,10 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
1074
1078
  fill: e.value.style.chart.layout.labels.name.color,
1075
1079
  "font-size": e.value.style.chart.layout.labels.name.fontSize,
1076
1080
  style: b(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
1077
- onClick: (v) => H(t, a)
1078
- }, P(t.name), 13, ya)) : i("", !0)
1081
+ onClick: (v) => q(t, a)
1082
+ }, T(t.name), 13, ya)) : i("", !0)
1079
1083
  ], 64)) : i("", !0),
1080
- e.value.type === "polar" ? (u(), n(p, { key: 3 }, [
1084
+ e.value.type === "polar" ? (u(), n(g, { key: 3 }, [
1081
1085
  I(t) && h.value.dataLabels.show ? (u(), n("text", {
1082
1086
  key: 0,
1083
1087
  "text-anchor": ae(c.value[a].middlePoint),
@@ -1086,11 +1090,11 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
1086
1090
  fill: e.value.style.chart.layout.labels.percentage.color,
1087
1091
  "font-size": e.value.style.chart.layout.labels.percentage.fontSize,
1088
1092
  style: b({
1089
- transition: T.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`,
1093
+ transition: P.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`,
1090
1094
  fontWeight: e.value.style.chart.layout.labels.percentage.bold ? "bold" : "normal"
1091
1095
  }),
1092
- onClick: (v) => H(t, a)
1093
- }, P(be(t, Y.value)) + " " + P(e.value.style.chart.layout.labels.value.show ? `(${r(D)(
1096
+ onClick: (v) => q(t, a)
1097
+ }, T(be(t, Y.value)) + " " + T(e.value.style.chart.layout.labels.value.show ? `(${r(V)(
1094
1098
  e.value.style.chart.layout.labels.value.formatter,
1095
1099
  t.value,
1096
1100
  r(M)({
@@ -1109,14 +1113,14 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
1109
1113
  fill: e.value.style.chart.layout.labels.name.color,
1110
1114
  "font-size": e.value.style.chart.layout.labels.name.fontSize,
1111
1115
  style: b({
1112
- transition: T.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`,
1116
+ transition: P.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`,
1113
1117
  fontWeight: e.value.style.chart.layout.labels.name.bold ? "bold" : "normal"
1114
1118
  }),
1115
- onClick: (v) => H(t, a)
1116
- }, P(t.name), 13, pa)) : i("", !0)
1119
+ onClick: (v) => q(t, a)
1120
+ }, T(t.name), 13, ga)) : i("", !0)
1117
1121
  ], 64)) : i("", !0)
1118
1122
  ])),
1119
- h.value.dataLabels.show && e.value.style.chart.comments.show && t.comment ? (u(), n("g", ga, [
1123
+ h.value.dataLabels.show && e.value.style.chart.comments.show && t.comment ? (u(), n("g", pa, [
1120
1124
  I(t) && e.value.type === "classic" ? (u(), n("foreignObject", {
1121
1125
  key: 0,
1122
1126
  x: e.value.style.chart.comments.offsetX + (r(w)(t, !0).anchor === "end" ? r(w)(t).x - e.value.style.chart.comments.width : r(w)(t, !0).anchor === "middle" ? r(w)(t).x - e.value.style.chart.comments.width / 2 : r(w)(t).x),
@@ -1127,25 +1131,25 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
1127
1131
  }, [
1128
1132
  f("div", null, [
1129
1133
  m(l.$slots, "plot-comment", {
1130
- plot: { ...t, textAlign: r(w)(t, !0, 16, !0).anchor, flexAlign: r(w)(t, !0, 16).anchor, isFirstLoad: T.value }
1134
+ plot: { ...t, textAlign: r(w)(t, !0, 16, !0).anchor, flexAlign: r(w)(t, !0, 16).anchor, isFirstLoad: P.value }
1131
1135
  }, void 0, !0)
1132
1136
  ])
1133
1137
  ], 8, ma)) : i("", !0),
1134
1138
  I(t) && e.value.type === "polar" ? (u(), n("foreignObject", {
1135
1139
  key: 1,
1136
1140
  x: e.value.style.chart.comments.offsetX + (ae(c.value[a].middlePoint) === "end" ? r(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x - e.value.style.chart.comments.width : ae(c.value[a].middlePoint) === "middle" ? r(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x - e.value.style.chart.comments.width / 2 : r(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x),
1137
- y: zt(c.value[a]) + e.value.style.chart.comments.offsetY,
1141
+ y: Ot(c.value[a]) + e.value.style.chart.comments.offsetY,
1138
1142
  width: e.value.style.chart.comments.width,
1139
1143
  height: "200",
1140
1144
  style: b({
1141
- transition: T.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`,
1145
+ transition: P.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`,
1142
1146
  overflow: "visible",
1143
1147
  pointerEvents: "none"
1144
1148
  })
1145
1149
  }, [
1146
1150
  f("div", null, [
1147
1151
  m(l.$slots, "plot-comment", {
1148
- plot: { ...t, textAlign: ae(c.value[a].middlePoint), flexAlign: ae(c.value[a].middlePoint), isFirstLoad: T.value }
1152
+ plot: { ...t, textAlign: ae(c.value[a].middlePoint), flexAlign: ae(c.value[a].middlePoint), isFirstLoad: P.value }
1149
1153
  }, void 0, !0)
1150
1154
  ])
1151
1155
  ], 12, ba)) : i("", !0)
@@ -1154,9 +1158,9 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
1154
1158
  m(l.$slots, "svg", { svg: s.value }, void 0, !0)
1155
1159
  ], 14, hl)) : i("", !0),
1156
1160
  l.$slots.watermark ? (u(), n("div", wa, [
1157
- m(l.$slots, "watermark", ue(se({ isPrinting: r(Xe) || r(De) })), void 0, !0)
1161
+ m(l.$slots, "watermark", ue(se({ isPrinting: r(Xe) || r(Ve) })), void 0, !0)
1158
1162
  ])) : i("", !0),
1159
- ne.value ? i("", !0) : (u(), ee(r(mt), {
1163
+ ne.value ? i("", !0) : (u(), ee(r(pt), {
1160
1164
  key: 6,
1161
1165
  config: {
1162
1166
  type: "donut",
@@ -1171,55 +1175,52 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
1171
1175
  }, null, 8, ["config"])),
1172
1176
  f("div", {
1173
1177
  ref_key: "chartLegend",
1174
- ref: Te
1178
+ ref: Pe
1175
1179
  }, [
1176
1180
  e.value.style.chart.legend.show ? (u(), ee(nl, {
1177
1181
  key: `legend_${Le.value}`,
1178
1182
  legendSet: Ue.value,
1179
- config: Ft.value,
1183
+ config: St.value,
1180
1184
  onClickMarker: o[4] || (o[4] = ({ i: t }) => Ee(t))
1181
1185
  }, ot({
1182
1186
  item: C(({ legend: t, index: a }) => [
1183
1187
  f("div", {
1184
- style: b(`opacity:${V.value.includes(a) ? 0.5 : 1}`),
1188
+ style: b(`opacity:${D.value.includes(a) ? 0.5 : 1}`),
1185
1189
  onClick: (v) => t.segregate()
1186
- }, [
1187
- st(P(t.name) + ": " + P(r(D)(
1188
- e.value.style.chart.layout.labels.value.formatter,
1189
- t.value,
1190
- r(M)({
1191
- p: e.value.style.chart.layout.labels.dataLabels.prefix,
1192
- v: t.value,
1193
- s: e.value.style.chart.layout.labels.dataLabels.suffix,
1194
- r: e.value.style.chart.legend.roundingValue
1195
- }),
1196
- {
1197
- datapoint: t,
1198
- index: a
1199
- }
1200
- )) + " ", 1),
1201
- V.value.includes(a) ? (u(), n("span", xa, " ( " + P(Mt(t.proportion * 100)) + " % ) ", 1)) : (u(), n("span", _a, " (" + P(isNaN(t.value / F.value) ? "-" : r(D)(
1202
- e.value.style.chart.layout.labels.percentage.formatter,
1203
- He.value(t),
1204
- r(M)({
1205
- v: He.value(t),
1206
- s: "%",
1207
- r: e.value.style.chart.legend.roundingPercentage
1208
- })
1209
- )) + ") ", 1))
1210
- ], 12, ka)
1190
+ }, T(t.name) + T(e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ":" : "") + " " + T(e.value.style.chart.legend.showValue ? r(V)(
1191
+ e.value.style.chart.layout.labels.value.formatter,
1192
+ t.value,
1193
+ r(M)({
1194
+ p: e.value.style.chart.layout.labels.dataLabels.prefix,
1195
+ v: t.value,
1196
+ s: e.value.style.chart.layout.labels.dataLabels.suffix,
1197
+ r: e.value.style.chart.legend.roundingValue
1198
+ }),
1199
+ {
1200
+ datapoint: t,
1201
+ index: a
1202
+ }
1203
+ ) : "") + " " + T(e.value.style.chart.legend.showPercentage ? D.value.includes(a) ? `${e.value.style.chart.legend.showValue ? "(" : ""}${Nt(t.proportion * 100)}%${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? "(" : ""}${isNaN(t.value / F.value) ? "-" : r(V)(
1204
+ e.value.style.chart.layout.labels.percentage.formatter,
1205
+ He.value(t),
1206
+ r(M)({
1207
+ v: He.value(t),
1208
+ s: "%",
1209
+ r: e.value.style.chart.legend.roundingPercentage
1210
+ })
1211
+ )}${e.value.style.chart.legend.showValue ? ")" : ""}` : ""), 13, ka)
1211
1212
  ]),
1212
1213
  _: 2
1213
1214
  }, [
1214
1215
  l.$slots.pattern ? {
1215
1216
  name: "legend-pattern",
1216
1217
  fn: C(({ legend: t, index: a }) => [
1217
- xe(il, {
1218
+ $e(il, {
1218
1219
  shape: t.shape,
1219
1220
  radius: 30,
1220
1221
  stroke: "none",
1221
1222
  plot: { x: 30, y: 30 },
1222
- fill: `url(#pattern_${g.value}_${a})`
1223
+ fill: `url(#pattern_${p.value}_${a})`
1223
1224
  }, null, 8, ["shape", "fill"])
1224
1225
  ]),
1225
1226
  key: "0"
@@ -1230,12 +1231,12 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
1230
1231
  l.$slots.source ? (u(), n("div", {
1231
1232
  key: 7,
1232
1233
  ref_key: "source",
1233
- ref: Pe,
1234
+ ref: Te,
1234
1235
  dir: "auto"
1235
1236
  }, [
1236
1237
  m(l.$slots, "source", {}, void 0, !0)
1237
1238
  ], 512)) : i("", !0),
1238
- xe(r(bt), {
1239
+ $e(r(mt), {
1239
1240
  show: h.value.showTooltip && ce.value,
1240
1241
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
1241
1242
  color: e.value.style.chart.tooltip.color,
@@ -1246,8 +1247,8 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
1246
1247
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
1247
1248
  position: e.value.style.chart.tooltip.position,
1248
1249
  offsetY: e.value.style.chart.tooltip.offsetY,
1249
- parent: q.value,
1250
- content: pe.value,
1250
+ parent: U.value,
1251
+ content: ge.value,
1251
1252
  isCustom: re.value,
1252
1253
  isFullscreen: oe.value
1253
1254
  }, {
@@ -1259,7 +1260,7 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
1259
1260
  ]),
1260
1261
  _: 3
1261
1262
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen"]),
1262
- ne.value ? (u(), ee(r(yt), {
1263
+ ne.value ? (u(), ee(r(ht), {
1263
1264
  key: 8,
1264
1265
  hideDetails: "",
1265
1266
  config: {
@@ -1276,7 +1277,7 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
1276
1277
  }
1277
1278
  }, {
1278
1279
  content: C(() => [
1279
- (u(), ee(r(ft), {
1280
+ (u(), ee(r(yt), {
1280
1281
  key: `table_${Fe.value}`,
1281
1282
  colNames: de.value.colNames,
1282
1283
  head: de.value.head,
@@ -1289,10 +1290,10 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
1289
1290
  f("div", {
1290
1291
  innerHTML: t,
1291
1292
  style: { display: "flex", "align-items": "center" }
1292
- }, null, 8, $a)
1293
+ }, null, 8, _a)
1293
1294
  ]),
1294
1295
  td: C(({ td: t }) => [
1295
- st(P(t.name ? t.name : isNaN(Number(t)) ? t.includes("%") ? t : r(D)(
1296
+ Vt(T(t.name ? t.name : isNaN(Number(t)) ? t.includes("%") ? t : r(V)(
1296
1297
  e.value.style.chart.layout.labels.percentage.formatter,
1297
1298
  t,
1298
1299
  r(M)({
@@ -1300,7 +1301,7 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
1300
1301
  s: "%",
1301
1302
  r: e.value.style.chart.layout.labels.percentage.rounding
1302
1303
  })
1303
- ) : r(D)(
1304
+ ) : r(V)(
1304
1305
  e.value.style.chart.layout.labels.value.formatter,
1305
1306
  t,
1306
1307
  r(M)({
@@ -1318,7 +1319,7 @@ const dl = ["id"], hl = ["xmlns", "viewBox"], yl = ["width", "height"], fl = { k
1318
1319
  }, 8, ["config"])) : i("", !0)
1319
1320
  ], 46, dl));
1320
1321
  }
1321
- }, Xa = /* @__PURE__ */ cl(Ca, [["__scopeId", "data-v-e9aecf1b"]]);
1322
+ }, Ya = /* @__PURE__ */ cl($a, [["__scopeId", "data-v-ac4cbcc5"]]);
1322
1323
  export {
1323
- Xa as default
1324
+ Ya as default
1324
1325
  };