vue-data-ui 2.14.2 → 2.14.3-beta.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 (88) hide show
  1. package/README.md +17 -0
  2. package/dist/{Arrow-DNJvKMao.js → Arrow-CHiKXhrZ.js} +1 -1
  3. package/dist/{BaseDraggableDialog-XPll8ONG.js → BaseDraggableDialog-C_zNQi8p.js} +2 -2
  4. package/dist/{BaseIcon-D0Q4E4nY.js → BaseIcon-CjLVVFOF.js} +1 -1
  5. package/dist/{ColorPicker-CQl1kba_.js → ColorPicker-4qYqEUzw.js} +2 -2
  6. package/dist/{DataTable-DzCoab4C.js → DataTable-CQHjdD9t.js} +2 -2
  7. package/dist/{Legend-DLJ9I-cg.js → Legend-XakQeDJw.js} +4 -4
  8. package/dist/{NonSvgPenAndPaper-B0-XpttN.js → NonSvgPenAndPaper-BVSNCCsg.js} +3 -3
  9. package/dist/{PackageVersion-DrhYhyQR.js → PackageVersion-mH9eFSdi.js} +2 -2
  10. package/dist/{PenAndPaper-BdnVqpO9.js → PenAndPaper-C49A3fVl.js} +3 -3
  11. package/dist/{Shape-DdpwkHh8.js → Shape-D_nY-zV8.js} +1 -1
  12. package/dist/{Slicer-B6mk6VRe.js → Slicer-DAuA0E6E.js} +14 -14
  13. package/dist/{SparkTooltip-DvS7F_gk.js → SparkTooltip-BRAWFiKX.js} +1 -1
  14. package/dist/{Title-xtSGHclp.js → Title-Be-4IBib.js} +1 -1
  15. package/dist/{Tooltip-D8swCIay.js → Tooltip-B4lRAXc3.js} +1 -1
  16. package/dist/{UserOptions-BbJkNcCM.js → UserOptions-CZOjPjId.js} +2 -2
  17. package/dist/{dom-to-png-DrB0WHa5.js → dom-to-png-O95d2xYz.js} +1 -1
  18. package/dist/{img-CtqhCOnQ.js → img-B5QfWbFM.js} +1 -1
  19. package/dist/{index-DBYSSUsg.js → index-DpgjO9No.js} +409 -394
  20. package/dist/{pdf-Cq3bf6D0.js → pdf-C86OOuya.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/{useNestedProp-Cu77c3W4.js → useNestedProp-BS0-lsm3.js} +1 -1
  23. package/dist/{usePrinter-xF9W73YL.js → usePrinter-EqGRLYQ_.js} +2 -2
  24. package/dist/{vue-data-ui-BhsGEgCE.js → vue-data-ui-CkGWUdE5.js} +63 -63
  25. package/dist/vue-data-ui.js +21 -21
  26. package/dist/{vue-ui-3d-bar-BiehKQpG.js → vue-ui-3d-bar-BMy6RIsR.js} +5 -5
  27. package/dist/{vue-ui-accordion-CEZHj_of.js → vue-ui-accordion-B7SuIgFc.js} +3 -3
  28. package/dist/{vue-ui-age-pyramid-CV3X9UIL.js → vue-ui-age-pyramid-DWAc3Ofk.js} +5 -5
  29. package/dist/{vue-ui-annotator-C0tRqId7.js → vue-ui-annotator-BjW1IoFR.js} +2 -2
  30. package/dist/{vue-ui-bullet-Dnzzp7eQ.js → vue-ui-bullet-DfpzNl51.js} +6 -6
  31. package/dist/{vue-ui-candlestick-HP8z-e20.js → vue-ui-candlestick-BhWpJIxD.js} +6 -6
  32. package/dist/{vue-ui-carousel-table-CIytKGfB.js → vue-ui-carousel-table-DMSlJoWw.js} +4 -4
  33. package/dist/{vue-ui-chestnut-jJ5DocEt.js → vue-ui-chestnut-Dby5X8Oy.js} +4 -4
  34. package/dist/{vue-ui-chord-C2p48bdc.js → vue-ui-chord-BBjEiNoo.js} +7 -7
  35. package/dist/{vue-ui-circle-pack-Cm42Kre2.js → vue-ui-circle-pack-QR1HniAL.js} +5 -5
  36. package/dist/{vue-ui-cursor-DYOAowBf.js → vue-ui-cursor-D9HDDbAr.js} +2 -2
  37. package/dist/{vue-ui-dashboard-CqQ_erdb.js → vue-ui-dashboard-DMgkrLHs.js} +62 -62
  38. package/dist/{vue-ui-digits-Ckblhu11.js → vue-ui-digits-AxsWsoNG.js} +2 -2
  39. package/dist/{vue-ui-donut-6ioyEN3H.js → vue-ui-donut-B3cs-HjU.js} +111 -111
  40. package/dist/{vue-ui-donut-evolution-DcpDJ9Nx.js → vue-ui-donut-evolution-piOrh5of.js} +295 -279
  41. package/dist/{vue-ui-dumbbell-Bs6C9JZw.js → vue-ui-dumbbell-C_amhKRH.js} +6 -6
  42. package/dist/{vue-ui-flow-2PtX-g_5.js → vue-ui-flow-kgzJDBYW.js} +26 -26
  43. package/dist/{vue-ui-funnel-DnjXDXiD.js → vue-ui-funnel-D582UlDY.js} +5 -5
  44. package/dist/{vue-ui-galaxy-C15I7QgX.js → vue-ui-galaxy-BCPNqux7.js} +4 -4
  45. package/dist/{vue-ui-gauge-C4ukJ9LH.js → vue-ui-gauge-6YFYdXxG.js} +5 -5
  46. package/dist/{vue-ui-gizmo-CV03sWPz.js → vue-ui-gizmo-PN0sgIDN.js} +3 -3
  47. package/dist/{vue-ui-heatmap-C-9U8urH.js → vue-ui-heatmap-bWGrfPpu.js} +6 -6
  48. package/dist/{vue-ui-history-plot-CctIOnX8.js → vue-ui-history-plot-CNxerxJF.js} +234 -210
  49. package/dist/{vue-ui-kpi-D8DQ02cm.js → vue-ui-kpi-BXiiCP9f.js} +3 -3
  50. package/dist/{vue-ui-mini-loader-DpwNHrxl.js → vue-ui-mini-loader-LXae2ars.js} +2 -2
  51. package/dist/{vue-ui-molecule-je8BUEgl.js → vue-ui-molecule-B2dzn9rQ.js} +16 -16
  52. package/dist/{vue-ui-mood-radar-DUwpDrKf.js → vue-ui-mood-radar-DIJJhVIZ.js} +19 -19
  53. package/dist/{vue-ui-nested-donuts-CcIiH5y3.js → vue-ui-nested-donuts-4lqDDJmG.js} +46 -46
  54. package/dist/{vue-ui-onion-B3ciM-zx.js → vue-ui-onion-BIgfyn7z.js} +6 -6
  55. package/dist/{vue-ui-parallel-coordinate-plot-C4jC8sCn.js → vue-ui-parallel-coordinate-plot-COW7u6EQ.js} +192 -175
  56. package/dist/{vue-ui-quadrant--xMPLV7W.js → vue-ui-quadrant-B3HOf0aF.js} +243 -225
  57. package/dist/{vue-ui-quick-chart-Bce5gdOB.js → vue-ui-quick-chart-Cg7pNkb3.js} +459 -443
  58. package/dist/{vue-ui-radar-Bs4DRm4L.js → vue-ui-radar-DY7BOmEO.js} +45 -45
  59. package/dist/{vue-ui-rating-BjP1BHbM.js → vue-ui-rating-C8ubvpA2.js} +8 -8
  60. package/dist/{vue-ui-relation-circle-D9P-zdmr.js → vue-ui-relation-circle-BSUJrp9v.js} +5 -5
  61. package/dist/{vue-ui-ridgeline-DmNbKyms.js → vue-ui-ridgeline-CNNfP0Gl.js} +185 -165
  62. package/dist/{vue-ui-rings-BebupVaJ.js → vue-ui-rings-C0iQMvwp.js} +7 -7
  63. package/dist/{vue-ui-scatter-cQ-Eu6ff.js → vue-ui-scatter-BaXESoFU.js} +49 -49
  64. package/dist/{vue-ui-skeleton-BJy7bURO.js → vue-ui-skeleton-C-ca3jum.js} +3 -3
  65. package/dist/{vue-ui-smiley-D5QHdm68.js → vue-ui-smiley-BPSnI-sv.js} +2 -2
  66. package/dist/{vue-ui-spark-trend-CP5l6hCt.js → vue-ui-spark-trend-C2p4SwT6.js} +3 -3
  67. package/dist/{vue-ui-sparkbar-CW95uw6O.js → vue-ui-sparkbar-C_Z7se8R.js} +3 -3
  68. package/dist/{vue-ui-sparkgauge-a4VbU8l_.js → vue-ui-sparkgauge-BNQP-wru.js} +8 -8
  69. package/dist/{vue-ui-sparkhistogram-Bu2URfSJ.js → vue-ui-sparkhistogram-S7ZqAbMr.js} +4 -4
  70. package/dist/{vue-ui-sparkline-TItbUk-X.js → vue-ui-sparkline-BOUcxjBn.js} +11 -11
  71. package/dist/{vue-ui-sparkstackbar-B7hTZ5lP.js → vue-ui-sparkstackbar-Bcz6Tg5h.js} +3 -3
  72. package/dist/{vue-ui-stackbar-Dsdwa6lC.js → vue-ui-stackbar-BwY3L4k_.js} +417 -373
  73. package/dist/{vue-ui-strip-plot-8t8ozRzt.js → vue-ui-strip-plot-BQKMvJ_f.js} +202 -184
  74. package/dist/{vue-ui-table-CFn0ptr3.js → vue-ui-table-BMFeG4Ll.js} +3 -3
  75. package/dist/{vue-ui-table-heatmap-By7Epu_x.js → vue-ui-table-heatmap-BMcm8nz5.js} +18 -18
  76. package/dist/{vue-ui-table-sparkline-CXqoNu29.js → vue-ui-table-sparkline-DvbV5c0E.js} +4 -4
  77. package/dist/{vue-ui-thermometer-XTsctSeT.js → vue-ui-thermometer-DaUJKwlB.js} +5 -5
  78. package/dist/{vue-ui-timer-LsMK3baq.js → vue-ui-timer-2lttGgfU.js} +5 -5
  79. package/dist/{vue-ui-tiremarks-Dmqxy_za.js → vue-ui-tiremarks-Br-K5C0A.js} +5 -5
  80. package/dist/{vue-ui-treemap-CBK79HgE.js → vue-ui-treemap-BMcITB4q.js} +7 -7
  81. package/dist/{vue-ui-vertical-bar-s0W_ZvXa.js → vue-ui-vertical-bar-DyHNX6fM.js} +8 -8
  82. package/dist/{vue-ui-waffle-DYSvsk-v.js → vue-ui-waffle-D2O27EVK.js} +246 -242
  83. package/dist/{vue-ui-wheel-ffWrYzpO.js → vue-ui-wheel-BJ11Yo4p.js} +5 -5
  84. package/dist/{vue-ui-word-cloud-DMtRVU6x.js → vue-ui-word-cloud-DoiCiPEX.js} +15 -15
  85. package/dist/{vue-ui-world-DPT1WnyR.js → vue-ui-world-DnATnNkX.js} +5 -5
  86. package/dist/{vue-ui-xy-BhuRQnpn.js → vue-ui-xy-DRE6d6PA.js} +591 -570
  87. package/dist/{vue-ui-xy-canvas-BaqwCoBL.js → vue-ui-xy-canvas-CB8YSoKV.js} +7 -7
  88. package/package.json +1 -1
@@ -1,15 +1,15 @@
1
- import { defineAsyncComponent as K, useSlots as Mt, computed as p, shallowRef as W, ref as _, onMounted as tt, onBeforeUnmount as Nt, watch as lt, createElementBlock as r, openBlock as o, normalizeStyle as b, normalizeClass as _e, createBlock as Q, createCommentVNode as i, renderSlot as g, createElementVNode as f, createVNode as xe, unref as n, createSlots as at, withCtx as C, normalizeProps as oe, guardReactiveProps as se, Fragment as m, renderList as S, mergeProps as ot, toDisplayString as P, createTextVNode as st, nextTick as Yt } from "vue";
2
- import { u as Xt, o as It, e as ut, g as Dt, c as Vt, b as Bt, d as nt, p as Z, m as Gt, _ as Rt, f as N, X as Wt, s as ve, w as Et, j as Ut, M as L, i as D, k as ce, n as w, t as jt, a as Ht, q as qt, r as Jt, x as Kt, S as rt } from "./index-DBYSSUsg.js";
1
+ import { defineAsyncComponent as K, useSlots as Nt, computed as p, shallowRef as W, ref as _, onMounted as tt, onBeforeUnmount as Mt, watch as lt, createElementBlock as r, openBlock as o, normalizeStyle as b, normalizeClass as _e, createBlock as Q, createCommentVNode as i, renderSlot as g, createElementVNode as f, createVNode as $e, unref as n, createSlots as at, withCtx as C, normalizeProps as oe, guardReactiveProps as se, Fragment as m, renderList as S, mergeProps as ot, toDisplayString as P, createTextVNode as st, nextTick as Yt } from "vue";
2
+ import { u as Xt, o as It, e as ut, g as Dt, c as Vt, b as Bt, d as nt, p as Z, m as Gt, $ as Rt, f as M, X as Wt, s as fe, w as Et, j as Ut, N as L, i as D, k as ve, n as w, t as jt, a as Ht, q as qt, r as Jt, x as Kt, T as rt } from "./index-DpgjO9No.js";
3
3
  import { t as Qt, u as Zt } from "./useResponsive-JZ9xq-JV.js";
4
- import { u as it } from "./useNestedProp-Cu77c3W4.js";
5
- import { u as el } from "./usePrinter-xF9W73YL.js";
4
+ import { u as it } from "./useNestedProp-BS0-lsm3.js";
5
+ import { u as el } from "./usePrinter-EqGRLYQ_.js";
6
6
  import { u as tl } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as ll } from "./useChartAccessibility-9icAAmYg.js";
8
- import al from "./Legend-DLJ9I-cg.js";
9
- import ol from "./Title-xtSGHclp.js";
10
- import { _ as sl } from "./Shape-DdpwkHh8.js";
8
+ import al from "./Legend-XakQeDJw.js";
9
+ import ol from "./Title-Be-4IBib.js";
10
+ import { _ as sl } from "./Shape-D_nY-zV8.js";
11
11
  import { _ as ul } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
- const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { key: 1 }, cl = ["id"], dl = ["stop-color"], hl = ["offset", "stop-color"], yl = ["offset", "stop-color"], fl = ["stop-color"], pl = { key: 2 }, gl = ["id", "cx", "cy"], ml = ["stop-color", "stop-opacity"], bl = ["stop-color"], wl = ["id"], kl = ["id"], _l = ["id"], xl = ["flood-color"], $l = ["id"], Cl = ["flood-color"], Tl = ["d", "stroke", "filter"], Pl = ["d", "stroke", "filter"], Al = ["cx", "cy", "r", "fill", "filter"], Fl = { key: 6 }, Sl = ["stroke", "d"], Ll = { key: 0 }, zl = ["d", "fill", "stroke", "stroke-width", "filter"], Ol = ["d", "fill", "stroke", "stroke-width", "filter"], Ml = { key: 0 }, Nl = ["stroke", "d"], Yl = { key: 0 }, Xl = ["d", "stroke", "stroke-width", "filter"], Il = { key: 1 }, Dl = ["d", "fill", "stroke", "stroke-width", "filter"], Vl = ["d", "fill", "stroke", "stroke-width", "filter"], Bl = { key: 1 }, Gl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Rl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Wl = ["cx", "cy", "r", "stroke"], El = ["cx", "cy", "r", "fill"], Ul = { key: 0 }, jl = ["d", "fill", "onMouseenter", "onClick"], Hl = { key: 1 }, ql = ["cx", "cy", "r"], Jl = ["x", "y", "fill", "font-size"], Kl = ["x", "y", "fill", "font-size"], Ql = ["x", "y", "fill", "font-size"], Zl = ["x", "y", "fill", "font-size"], ea = ["filter"], ta = { key: 0 }, la = ["x", "y"], aa = { key: 1 }, oa = ["cx", "cy", "fill", "stroke", "filter", "onClick"], sa = ["cx", "cy", "fill", "stroke", "filter", "onClick"], ua = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], na = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], ra = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], ia = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], va = { key: 2 }, ca = ["x", "y", "width"], da = ["x", "y", "width"], ha = {
12
+ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { key: 1 }, cl = ["id"], dl = ["stop-color"], hl = ["offset", "stop-color"], yl = ["offset", "stop-color"], fl = ["stop-color"], pl = { key: 2 }, gl = ["id", "cx", "cy"], ml = ["stop-color", "stop-opacity"], bl = ["stop-color"], wl = ["id"], kl = ["id"], _l = ["id"], $l = ["flood-color"], xl = ["id"], Cl = ["flood-color"], Tl = ["d", "stroke", "filter"], Pl = ["d", "stroke", "filter"], Al = ["cx", "cy", "r", "fill", "filter"], Fl = { key: 6 }, Sl = ["stroke", "d"], Ll = ["d", "fill", "stroke", "stroke-width", "filter"], zl = { key: 0 }, Ol = ["d", "fill", "stroke", "stroke-width", "filter"], Nl = { key: 0 }, Ml = ["stroke", "d"], Yl = { key: 0 }, Xl = ["d", "stroke", "stroke-width", "filter"], Il = { key: 1 }, Dl = ["d", "fill", "stroke", "stroke-width", "filter"], Vl = ["d", "fill", "stroke", "stroke-width", "filter"], Bl = { key: 1 }, Gl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Rl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Wl = ["cx", "cy", "r", "stroke"], El = ["cx", "cy", "r", "fill"], Ul = { key: 0 }, jl = ["d", "fill", "onMouseenter", "onClick"], Hl = { key: 1 }, ql = ["cx", "cy", "r"], Jl = ["x", "y", "fill", "font-size"], Kl = ["x", "y", "fill", "font-size"], Ql = ["x", "y", "fill", "font-size"], Zl = ["x", "y", "fill", "font-size"], ea = ["filter"], ta = { key: 0 }, la = ["x", "y"], aa = { key: 1 }, oa = ["cx", "cy", "fill", "stroke", "filter", "onClick"], sa = ["cx", "cy", "fill", "stroke", "filter", "onClick"], ua = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], na = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], ra = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], ia = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], va = { key: 2 }, ca = ["x", "y", "width"], da = ["x", "y", "width"], ha = {
13
13
  key: 5,
14
14
  class: "vue-data-ui-watermark"
15
15
  }, ya = ["onClick"], fa = {
@@ -32,8 +32,8 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
32
32
  }
33
33
  },
34
34
  emits: ["selectLegend", "selectDatapoint"],
35
- setup($e, { expose: vt, emit: ct }) {
36
- const dt = K(() => import("./vue-ui-accordion-CEZHj_of.js")), ht = K(() => import("./DataTable-DzCoab4C.js")), yt = K(() => import("./PackageVersion-DrhYhyQR.js")), ft = K(() => import("./PenAndPaper-BdnVqpO9.js")), pt = K(() => import("./vue-ui-skeleton-BJy7bURO.js")), gt = K(() => import("./Tooltip-D8swCIay.js")), mt = K(() => import("./UserOptions-BbJkNcCM.js")), { vue_ui_donut: bt } = Xt(), wt = Mt(), z = $e, ue = p({
35
+ setup(xe, { expose: vt, emit: ct }) {
36
+ const dt = K(() => import("./vue-ui-accordion-B7SuIgFc.js")), ht = K(() => import("./DataTable-CQHjdD9t.js")), yt = K(() => import("./PackageVersion-mH9eFSdi.js")), ft = K(() => import("./PenAndPaper-C49A3fVl.js")), pt = K(() => import("./vue-ui-skeleton-C-ca3jum.js")), gt = K(() => import("./Tooltip-B4lRAXc3.js")), mt = K(() => import("./UserOptions-CZOjPjId.js")), { vue_ui_donut: bt } = Xt(), wt = Nt(), z = xe, ue = p({
37
37
  get() {
38
38
  return !!z.dataset && z.dataset.length;
39
39
  },
@@ -43,7 +43,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
43
43
  }), ne = W(null), Ce = W(null), Te = W(null), E = W(null), ee = W(null), Pe = W(null), Ae = W(null), Fe = _(0), Se = _(0), Le = _(0);
44
44
  tt(() => {
45
45
  ze();
46
- }), Nt(() => {
46
+ }), Mt(() => {
47
47
  E.value && (ee.value && E.value.unobserve(ee.value), E.value.disconnect());
48
48
  });
49
49
  function ze() {
@@ -79,8 +79,8 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
79
79
  E.value && (ee.value && E.value.unobserve(ee.value), E.value.disconnect()), E.value = new ResizeObserver(l), ee.value = ne.value.parentNode, E.value.observe(ee.value);
80
80
  }
81
81
  }
82
- const y = _(Vt()), kt = _(null), de = _(!1), pe = _(""), O = _(null), Oe = _(0);
83
- function Me() {
82
+ const y = _(Vt()), kt = _(null), ce = _(!1), pe = _(""), O = _(null), Oe = _(0);
83
+ function Ne() {
84
84
  const l = it({
85
85
  userConfig: z.config,
86
86
  defaultConfig: bt
@@ -94,7 +94,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
94
94
  } : l;
95
95
  }
96
96
  const e = p({
97
- get: () => Me(),
97
+ get: () => Ne(),
98
98
  set: (l) => l
99
99
  }), T = _(!0), B = W([]);
100
100
  function _t(l, s = 1e3, t = 50) {
@@ -102,15 +102,15 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
102
102
  const v = l.length;
103
103
  B.value = Array(v).fill(0);
104
104
  let d = 0;
105
- l.forEach((k, $) => {
105
+ l.forEach((k, x) => {
106
106
  setTimeout(() => {
107
107
  const R = performance.now();
108
108
  function I(ie) {
109
- const fe = Math.min((ie - R) / s, 1), Ot = rt(fe);
110
- B.value[$] = k * Ot, B.value = [...B.value], fe < 1 ? requestAnimationFrame(I) : (B.value[$] = k, B.value = [...B.value], d += 1, d === v && a());
109
+ const ye = Math.min((ie - R) / s, 1), Ot = rt(ye);
110
+ B.value[x] = k * Ot, B.value = [...B.value], ye < 1 ? requestAnimationFrame(I) : (B.value[x] = k, B.value = [...B.value], d += 1, d === v && a());
111
111
  }
112
112
  requestAnimationFrame(I);
113
- }, $ * t);
113
+ }, x * t);
114
114
  });
115
115
  });
116
116
  }
@@ -122,15 +122,15 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
122
122
  e.value.startAnimation.staggerMs
123
123
  ), T.value = !1;
124
124
  });
125
- const { userOptionsVisible: ge, setUserOptionsVisibility: Ne, keepUserOptionState: Ye } = tl({ config: e.value }), { svgRef: me } = ll({ config: e.value.style.chart.title });
126
- function xt() {
127
- Ne(!0);
128
- }
125
+ const { userOptionsVisible: ge, setUserOptionsVisibility: Me, keepUserOptionState: Ye } = tl({ config: e.value }), { svgRef: me } = ll({ config: e.value.style.chart.title });
129
126
  function $t() {
130
- Ne(!1);
127
+ Me(!0);
128
+ }
129
+ function xt() {
130
+ Me(!1);
131
131
  }
132
132
  lt(() => z.config, (l) => {
133
- e.value = Me(), ge.value = !e.value.userOptions.showOnChartHover, ze(), Fe.value += 1, Se.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, u.value.height = e.value.style.chart.height, u.value.width = e.value.style.chart.width;
133
+ e.value = Ne(), ge.value = !e.value.userOptions.showOnChartHover, ze(), Fe.value += 1, Se.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, u.value.height = e.value.style.chart.height, u.value.width = e.value.style.chart.width;
134
134
  }, { deep: !0 });
135
135
  const Xe = p(() => {
136
136
  const { top: l, right: s, bottom: t, left: a } = e.value.style.chart.padding;
@@ -155,7 +155,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
155
155
  height: e.value.style.chart.height,
156
156
  width: e.value.style.chart.width
157
157
  }), te = p(() => {
158
- const l = e.value.style.chart.layout.donut.strokeWidth / 512, s = Math.min(u.value.width, u.value.height) * l, t = s > x.value ? x.value : s;
158
+ const l = e.value.style.chart.layout.donut.strokeWidth / 512, s = Math.min(u.value.width, u.value.height) * l, t = s > $.value ? $.value : s;
159
159
  return Math.max(t, 3);
160
160
  }), Re = ct, G = p(() => z.dataset.map((l, s) => ({
161
161
  name: l.name,
@@ -167,8 +167,8 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
167
167
  seriesIndex: s,
168
168
  ghost: !1,
169
169
  pattern: `pattern_${y.value}_${s}`
170
- }))), M = W(G.value);
171
- lt(() => G.value, (l) => M.value = l);
170
+ }))), N = W(G.value);
171
+ lt(() => G.value, (l) => N.value = l);
172
172
  function Tt() {
173
173
  return G.value.map((l) => ({
174
174
  name: l.name,
@@ -179,28 +179,28 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
179
179
  const V = _([]), q = _(!1);
180
180
  function We({ from: l, to: s, duration: t, onUpdate: a, onDone: v, easing: d = rt }) {
181
181
  const k = performance.now();
182
- function $(R) {
183
- const I = Math.min((R - k) / t, 1), ie = d(I), fe = l + (s - l) * ie;
184
- a(fe, I), I < 1 ? requestAnimationFrame($) : (a(s, 1), v && v());
182
+ function x(R) {
183
+ const I = Math.min((R - k) / t, 1), ie = d(I), ye = l + (s - l) * ie;
184
+ a(ye, I), I < 1 ? requestAnimationFrame(x) : (a(s, 1), v && v());
185
185
  }
186
- requestAnimationFrame($);
186
+ requestAnimationFrame(x);
187
187
  }
188
188
  function Ee(l) {
189
189
  const s = G.value.find((v, d) => d === l);
190
- let a = M.value.find((v, d) => d === l).value;
190
+ let a = N.value.find((v, d) => d === l).value;
191
191
  if (V.value.includes(l)) {
192
192
  let d = function() {
193
- M.value = M.value.map(
194
- ($, R) => l === R ? { ...$, value: v } : $
193
+ N.value = N.value.map(
194
+ (x, R) => l === R ? { ...x, value: v } : x
195
195
  );
196
196
  }, k = function() {
197
197
  q.value = !0, We({
198
198
  from: a,
199
199
  to: v,
200
200
  duration: e.value.serieToggleAnimation.durationMs,
201
- onUpdate: ($, R) => {
202
- M.value = M.value.map(
203
- (I, ie) => l === ie ? { ...I, value: $ } : I
201
+ onUpdate: (x, R) => {
202
+ N.value = N.value.map(
203
+ (I, ie) => l === ie ? { ...I, value: x } : I
204
204
  );
205
205
  },
206
206
  onDone: () => {
@@ -208,21 +208,21 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
208
208
  }
209
209
  });
210
210
  };
211
- V.value = V.value.filter(($) => $ !== l);
211
+ V.value = V.value.filter((x) => x !== l);
212
212
  const v = s.value;
213
213
  e.value.serieToggleAnimation.show && e.value.type === "classic" ? k() : d();
214
214
  } else if (V.value.length < G.value.length - 1) {
215
215
  let v = function() {
216
- V.value.push(l), M.value = M.value.map(
217
- (k, $) => l === $ ? { ...k, value: 0 } : k
216
+ V.value.push(l), N.value = N.value.map(
217
+ (k, x) => l === x ? { ...k, value: 0 } : k
218
218
  );
219
219
  }, d = function() {
220
220
  q.value = !0, We({
221
221
  from: a,
222
222
  to: 0,
223
223
  duration: e.value.serieToggleAnimation.durationMs,
224
- onUpdate: (k, $) => {
225
- M.value = M.value.map(
224
+ onUpdate: (k, x) => {
225
+ N.value = N.value.map(
226
226
  (R, I) => l === I ? { ...R, value: k } : R
227
227
  );
228
228
  },
@@ -254,13 +254,13 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
254
254
  ghost: !0
255
255
  }), l;
256
256
  } else
257
- return M.value.forEach((l, s) => {
257
+ return N.value.forEach((l, s) => {
258
258
  if ([null, void 0].includes(l.values))
259
259
  return {
260
260
  ...l,
261
261
  values: []
262
262
  };
263
- }), M.value.map((l, s) => ({
263
+ }), N.value.map((l, s) => ({
264
264
  ...l,
265
265
  seriesIndex: s
266
266
  })).filter((l, s) => !V.value.includes(s));
@@ -283,10 +283,10 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
283
283
  fontSize: e.value.style.chart.legend.fontSize,
284
284
  paddingBottom: 12,
285
285
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
286
- })), x = p(() => {
286
+ })), $ = p(() => {
287
287
  const l = Math.min(u.value.width / 3, u.value.height / 3);
288
288
  return l < 55 ? 55 : l;
289
- }), A = p(() => Gt({ series: U.value }, u.value.width / 2, u.value.height / 2, x.value, x.value, 1.99999, 2, 1, 360, 105.25, te.value)), Y = p(() => A.value.filter((l) => !l.ghost)), c = p(() => {
289
+ }), A = p(() => Gt({ series: U.value }, u.value.width / 2, u.value.height / 2, $.value, $.value, 1.99999, 2, 1, 360, 105.25, te.value)), Y = p(() => A.value.filter((l) => !l.ghost)), c = p(() => {
290
290
  const l = Math.max(...U.value.map((t) => t.value)), s = U.value.map((t) => t.value / l);
291
291
  return Rt({
292
292
  series: s,
@@ -312,7 +312,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
312
312
  return isNaN(t) ? 0 : D(
313
313
  e.value.style.chart.layout.labels.percentage.formatter,
314
314
  t * 100,
315
- N({
315
+ M({
316
316
  v: t * 100,
317
317
  s: "%",
318
318
  r: e.value.style.chart.layout.labels.percentage.rounding
@@ -325,7 +325,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
325
325
  }
326
326
  const F = p(() => U.value.map((l) => l.value).reduce((l, s) => l + s, 0)), je = p(() => F.value / U.value.length), He = p(() => (l) => q.value ? l.proportion * 100 : l.value / F.value * 100), we = _(null), re = _(!1);
327
327
  function qe({ datapoint: l, relativeIndex: s, seriesIndex: t, show: a = !1 }) {
328
- we.value = { datapoint: l, seriesIndex: t, config: e.value, series: G.value }, de.value = a, O.value = s;
328
+ we.value = { datapoint: l, seriesIndex: t, config: e.value, series: G.value }, ce.value = a, O.value = s;
329
329
  let v = "";
330
330
  const d = e.value.style.chart.tooltip.customFormat;
331
331
  if (re.value = !1, Kt(d))
@@ -344,7 +344,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
344
344
  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}"/>${wt.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${y.value}_${t})"/>` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (v += `<b>${D(
345
345
  e.value.style.chart.layout.labels.value.formatter,
346
346
  l.value,
347
- N({
347
+ M({
348
348
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
349
349
  v: l.value,
350
350
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -359,7 +359,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
359
359
  const k = D(
360
360
  e.value.style.chart.layout.labels.percentage.formatter,
361
361
  l.proportion * 100,
362
- N({
362
+ M({
363
363
  v: l.proportion * 100,
364
364
  s: "%",
365
365
  r: e.value.style.chart.tooltip.roundingPercentage
@@ -393,10 +393,10 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
393
393
  l ? l(a) : Jt({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-donut" });
394
394
  });
395
395
  }
396
- const he = p(() => {
396
+ const de = p(() => {
397
397
  const l = [
398
398
  ' <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>',
399
- N({ 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 }),
399
+ 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 }),
400
400
  "100%"
401
401
  ], s = j.value.head.map((v, d) => [
402
402
  {
@@ -448,9 +448,9 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
448
448
  function et() {
449
449
  h.value.showTooltip = !h.value.showTooltip;
450
450
  }
451
- const ye = _(!1);
451
+ const he = _(!1);
452
452
  function ke() {
453
- ye.value = !ye.value;
453
+ he.value = !he.value;
454
454
  }
455
455
  return vt({
456
456
  getData: Tt,
@@ -467,14 +467,14 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
467
467
  class: _e(`vue-ui-donut ${ae.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
468
468
  style: b(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
469
469
  id: `donut__${y.value}`,
470
- onMouseenter: xt,
471
- onMouseleave: $t
470
+ onMouseenter: $t,
471
+ onMouseleave: xt
472
472
  }, [
473
473
  e.value.userOptions.buttons.annotator && n(me) ? (o(), Q(n(ft), {
474
474
  key: 0,
475
475
  color: e.value.style.chart.color,
476
476
  backgroundColor: e.value.style.chart.backgroundColor,
477
- active: ye.value,
477
+ active: he.value,
478
478
  svgRef: n(me),
479
479
  onClose: ke
480
480
  }, null, 8, ["color", "backgroundColor", "active", "svgRef"])) : i("", !0),
@@ -529,7 +529,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
529
529
  isTooltip: h.value.showTooltip,
530
530
  titles: { ...e.value.userOptions.buttonTitles },
531
531
  hasAnnotator: e.value.userOptions.buttons.annotator,
532
- isAnnotation: ye.value,
532
+ isAnnotation: he.value,
533
533
  onToggleFullscreen: Lt,
534
534
  onGeneratePdf: n(Ve),
535
535
  onGenerateCsv: Je,
@@ -615,7 +615,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
615
615
  viewBox: `0 0 ${u.value.width <= 0 ? 10 : u.value.width} ${u.value.height <= 0 ? 10 : u.value.height}`,
616
616
  style: b(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};${Xe.value.css}`)
617
617
  }, [
618
- xe(n(yt)),
618
+ $e(n(yt)),
619
619
  l.$slots["chart-background"] ? (o(), r("foreignObject", {
620
620
  key: 0,
621
621
  x: 0,
@@ -628,28 +628,28 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
628
628
  }, [
629
629
  g(l.$slots, "chart-background", {}, void 0, !0)
630
630
  ], 8, il)) : i("", !0),
631
- e.value.type === "classic" && !isNaN(te.value / x.value) ? (o(), r("defs", vl, [
631
+ e.value.type === "classic" && !isNaN(te.value / $.value) ? (o(), r("defs", vl, [
632
632
  e.value.style.chart.useGradient ? (o(), r("radialGradient", {
633
633
  key: 0,
634
634
  id: `gradient_${y.value}`
635
635
  }, [
636
636
  f("stop", {
637
637
  offset: "0%",
638
- "stop-color": n(ve)(e.value.style.chart.backgroundColor, 0),
638
+ "stop-color": n(fe)(e.value.style.chart.backgroundColor, 0),
639
639
  "stop-opacity": "0"
640
640
  }, null, 8, dl),
641
641
  f("stop", {
642
- offset: `${(1 - te.value / x.value) * 100}%`,
643
- "stop-color": n(ve)("#FFFFFF", 0),
642
+ offset: `${(1 - te.value / $.value) * 100}%`,
643
+ "stop-color": n(fe)("#FFFFFF", 0),
644
644
  "stop-opacity": "0"
645
645
  }, null, 8, hl),
646
646
  f("stop", {
647
- offset: `${(1 - te.value / x.value / 2) * 100}%`,
648
- "stop-color": n(ve)("#FFFFFF", e.value.style.chart.gradientIntensity)
647
+ offset: `${(1 - te.value / $.value / 2) * 100}%`,
648
+ "stop-color": n(fe)("#FFFFFF", e.value.style.chart.gradientIntensity)
649
649
  }, null, 8, yl),
650
650
  f("stop", {
651
651
  offset: "100%",
652
- "stop-color": n(ve)(e.value.style.chart.backgroundColor, 0),
652
+ "stop-color": n(fe)(e.value.style.chart.backgroundColor, 0),
653
653
  "stop-opacity": "0"
654
654
  }, null, 8, fl)
655
655
  ], 8, cl)) : i("", !0)
@@ -700,7 +700,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
700
700
  stdDeviation: "10",
701
701
  "flood-opacity": "0.5",
702
702
  "flood-color": e.value.style.chart.layout.donut.shadowColor
703
- }, null, 8, xl)
703
+ }, null, 8, $l)
704
704
  ], 8, _l),
705
705
  f("filter", {
706
706
  id: `drop_shadow_${y.value}`,
@@ -717,7 +717,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
717
717
  "flood-opacity": "1",
718
718
  "flood-color": e.value.style.chart.layout.donut.shadowColor
719
719
  }, null, 8, Cl)
720
- ], 8, $l)
720
+ ], 8, xl)
721
721
  ]),
722
722
  e.value.type === "classic" ? (o(!0), r(m, { key: 3 }, S(A.value.filter((t) => !t.ghost), (t, a) => (o(), r("g", null, [
723
723
  X(t) && h.value.dataLabels.show ? (o(), r("path", {
@@ -750,12 +750,12 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
750
750
  key: 5,
751
751
  cx: u.value.width / 2,
752
752
  cy: u.value.height / 2,
753
- r: x.value <= 0 ? 10 : x.value,
753
+ r: $.value <= 0 ? 10 : $.value,
754
754
  fill: e.value.style.chart.backgroundColor,
755
755
  filter: `url(#shadow_${y.value})`
756
756
  }, null, 8, Al)) : i("", !0),
757
757
  l.$slots.pattern ? (o(), r("g", Fl, [
758
- (o(!0), r(m, null, S($e.dataset, (t, a) => (o(), r("defs", {
758
+ (o(!0), r(m, null, S(xe.dataset, (t, a) => (o(), r("defs", {
759
759
  key: `pattern-${t.patternIndex}`
760
760
  }, [
761
761
  g(l.$slots, "pattern", ot({ ref_for: !0 }, { seriesIndex: a, patternId: `pattern_${y.value}_${a}` }), void 0, !0)
@@ -767,7 +767,15 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
767
767
  d: t.arcSlice,
768
768
  fill: "#FFFFFF"
769
769
  }, null, 8, Sl))), 256)),
770
- l.$slots.pattern ? (o(), r("g", Ll, [
770
+ (o(!0), r(m, null, S(Y.value, (t, a) => (o(), r("path", {
771
+ class: "vue-ui-donut-arc-path",
772
+ d: t.arcSlice,
773
+ fill: t.color,
774
+ stroke: e.value.style.chart.backgroundColor,
775
+ "stroke-width": e.value.style.chart.layout.donut.borderWidth,
776
+ filter: J(a)
777
+ }, null, 8, Ll))), 256)),
778
+ l.$slots.pattern ? (o(), r("g", zl, [
771
779
  (o(!0), r(m, null, S(Y.value, (t, a) => (o(), r("path", {
772
780
  class: "vue-ui-donut-arc-path",
773
781
  d: t.arcSlice,
@@ -775,19 +783,11 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
775
783
  stroke: e.value.style.chart.backgroundColor,
776
784
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
777
785
  filter: J(a)
778
- }, null, 8, zl))), 256))
779
- ])) : i("", !0),
780
- (o(!0), r(m, null, S(Y.value, (t, a) => (o(), r("path", {
781
- class: "vue-ui-donut-arc-path",
782
- d: t.arcSlice,
783
- fill: n(ve)(t.color, 80),
784
- stroke: e.value.style.chart.backgroundColor,
785
- "stroke-width": e.value.style.chart.layout.donut.borderWidth,
786
- filter: J(a)
787
- }, null, 8, Ol))), 256))
786
+ }, null, 8, Ol))), 256))
787
+ ])) : i("", !0)
788
788
  ], 64)) : i("", !0),
789
789
  F.value && e.value.type === "polar" ? (o(), r(m, { key: 8 }, [
790
- A.value.length > 1 ? (o(), r("g", Ml, [
790
+ A.value.length > 1 ? (o(), r("g", Nl, [
791
791
  (o(!0), r(m, null, S(Y.value, (t, a) => (o(), r("path", {
792
792
  stroke: e.value.style.chart.backgroundColor,
793
793
  d: c.value[a].path,
@@ -795,7 +795,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
795
795
  style: b({
796
796
  transition: T.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
797
797
  })
798
- }, null, 12, Nl))), 256)),
798
+ }, null, 12, Ml))), 256)),
799
799
  e.value.style.chart.layout.donut.useShadow ? (o(), r("g", Yl, [
800
800
  (o(!0), r(m, null, S(Y.value, (t, a) => (o(), r("path", {
801
801
  class: "vue-ui-donut-arc-path",
@@ -838,7 +838,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
838
838
  key: 0,
839
839
  cx: u.value.width / 2,
840
840
  cy: u.value.height / 2,
841
- r: x.value,
841
+ r: $.value,
842
842
  fill: `url(#pattern_${y.value}_${A.value[0].patternIndex})`,
843
843
  stroke: e.value.style.chart.backgroundColor,
844
844
  "stroke-width": e.value.style.chart.layout.donut.borderWidth
@@ -846,7 +846,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
846
846
  f("circle", {
847
847
  cx: u.value.width / 2,
848
848
  cy: u.value.height / 2,
849
- r: x.value,
849
+ r: $.value,
850
850
  fill: e.value.style.chart.useGradient ? `url(#polar_gradient_0_${y.value})` : A.value[0].color,
851
851
  stroke: e.value.style.chart.backgroundColor,
852
852
  "stroke-width": e.value.style.chart.layout.donut.borderWidth
@@ -856,7 +856,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
856
856
  key: 9,
857
857
  cx: u.value.width / 2,
858
858
  cy: u.value.height / 2,
859
- r: x.value <= 0 ? 10 : x.value,
859
+ r: $.value <= 0 ? 10 : $.value,
860
860
  fill: "transparent",
861
861
  stroke: e.value.style.chart.backgroundColor
862
862
  }, null, 8, Wl)),
@@ -866,7 +866,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
866
866
  cy: u.value.height / 2,
867
867
  r: (
868
868
  /* This might require adjustments */
869
- x.value <= 0 ? 10 : x.value
869
+ $.value <= 0 ? 10 : $.value
870
870
  ),
871
871
  fill: `url(#gradient_${y.value})`
872
872
  }, null, 8, El)) : i("", !0),
@@ -882,7 +882,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
882
882
  show: !0
883
883
  }),
884
884
  onMouseleave: s[0] || (s[0] = (v) => {
885
- de.value = !1, O.value = null;
885
+ ce.value = !1, O.value = null;
886
886
  }),
887
887
  onClick: (v) => H(t, a)
888
888
  }, null, 40, jl))), 256))
@@ -890,7 +890,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
890
890
  f("circle", {
891
891
  cx: u.value.width / 2,
892
892
  cy: u.value.height / 2,
893
- r: x.value,
893
+ r: $.value,
894
894
  fill: "transparent",
895
895
  onMouseenter: s[1] || (s[1] = (t) => qe({
896
896
  datapoint: A.value[0],
@@ -899,7 +899,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
899
899
  show: !0
900
900
  })),
901
901
  onMouseleave: s[2] || (s[2] = (t) => {
902
- de.value = !1, O.value = null;
902
+ ce.value = !1, O.value = null;
903
903
  }),
904
904
  onClick: s[3] || (s[3] = (t) => H(A.value[0], l.i))
905
905
  }, null, 40, ql)
@@ -926,7 +926,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
926
926
  }, P(n(D)(
927
927
  e.value.style.chart.layout.labels.hollow.total.value.formatter,
928
928
  F.value,
929
- n(N)({
929
+ n(M)({
930
930
  p: e.value.style.chart.layout.labels.hollow.total.value.prefix,
931
931
  v: F.value,
932
932
  s: e.value.style.chart.layout.labels.hollow.total.value.suffix
@@ -952,7 +952,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
952
952
  }, P(q.value || T.value ? "--" : n(D)(
953
953
  e.value.style.chart.layout.labels.hollow.average.value.formatter,
954
954
  je.value,
955
- n(N)({
955
+ n(M)({
956
956
  p: e.value.style.chart.layout.labels.hollow.average.value.prefix,
957
957
  v: je.value,
958
958
  s: e.value.style.chart.layout.labels.hollow.average.value.suffix,
@@ -967,7 +967,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
967
967
  e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (o(), r("g", ta, [
968
968
  (o(), r("foreignObject", {
969
969
  x: n(w)(t, !0).anchor === "end" ? n(w)(t).x - 120 : n(w)(t, !0).anchor === "middle" ? n(w)(t).x - 60 : n(w)(t).x,
970
- y: n(ce)(t) - (Ke.value ? 20 : 0),
970
+ y: n(ve)(t) - (Ke.value ? 20 : 0),
971
971
  width: "120",
972
972
  height: "60",
973
973
  style: { overflow: "visible" }
@@ -989,7 +989,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
989
989
  X(t) && h.value.dataLabels.show ? (o(), r("circle", {
990
990
  key: 0,
991
991
  cx: n(w)(t).x,
992
- cy: n(ce)(t) - 3.5,
992
+ cy: n(ve)(t) - 3.5,
993
993
  fill: t.color,
994
994
  stroke: e.value.style.chart.backgroundColor,
995
995
  "stroke-width": 1,
@@ -1019,7 +1019,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
1019
1019
  key: 0,
1020
1020
  "text-anchor": n(w)(t, !0, 12).anchor,
1021
1021
  x: n(w)(t, !0, 12).x,
1022
- y: n(ce)(t),
1022
+ y: n(ve)(t),
1023
1023
  fill: e.value.style.chart.layout.labels.percentage.color,
1024
1024
  "font-size": e.value.style.chart.layout.labels.percentage.fontSize,
1025
1025
  style: b(`font-weight:${e.value.style.chart.layout.labels.percentage.bold ? "bold" : ""}`),
@@ -1027,7 +1027,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
1027
1027
  }, P(be(t, Y.value)) + " " + P(e.value.style.chart.layout.labels.value.show ? `(${n(D)(
1028
1028
  e.value.style.chart.layout.labels.value.formatter,
1029
1029
  t.value,
1030
- n(N)({
1030
+ n(M)({
1031
1031
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
1032
1032
  v: t.value,
1033
1033
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -1039,7 +1039,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
1039
1039
  key: 1,
1040
1040
  "text-anchor": n(w)(t).anchor,
1041
1041
  x: n(w)(t, !0, 12).x,
1042
- y: n(ce)(t) + e.value.style.chart.layout.labels.percentage.fontSize,
1042
+ y: n(ve)(t) + e.value.style.chart.layout.labels.percentage.fontSize,
1043
1043
  fill: e.value.style.chart.layout.labels.name.color,
1044
1044
  "font-size": e.value.style.chart.layout.labels.name.fontSize,
1045
1045
  style: b(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
@@ -1062,7 +1062,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
1062
1062
  }, P(be(t, Y.value)) + " " + P(e.value.style.chart.layout.labels.value.show ? `(${n(D)(
1063
1063
  e.value.style.chart.layout.labels.value.formatter,
1064
1064
  t.value,
1065
- n(N)({
1065
+ n(M)({
1066
1066
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
1067
1067
  v: t.value,
1068
1068
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -1089,7 +1089,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
1089
1089
  X(t) && e.value.type === "classic" ? (o(), r("foreignObject", {
1090
1090
  key: 0,
1091
1091
  x: e.value.style.chart.comments.offsetX + (n(w)(t, !0).anchor === "end" ? n(w)(t).x - e.value.style.chart.comments.width : n(w)(t, !0).anchor === "middle" ? n(w)(t).x - e.value.style.chart.comments.width / 2 : n(w)(t).x),
1092
- y: n(ce)(t) + 24 + e.value.style.chart.comments.offsetY,
1092
+ y: n(ve)(t) + 24 + e.value.style.chart.comments.offsetY,
1093
1093
  width: e.value.style.chart.comments.width,
1094
1094
  height: "200",
1095
1095
  style: { overflow: "visible", "pointer-events": "none" }
@@ -1156,7 +1156,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
1156
1156
  st(P(t.name) + ": " + P(n(D)(
1157
1157
  e.value.style.chart.layout.labels.value.formatter,
1158
1158
  t.value,
1159
- n(N)({
1159
+ n(M)({
1160
1160
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
1161
1161
  v: t.value,
1162
1162
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -1170,7 +1170,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
1170
1170
  V.value.includes(a) ? (o(), r("span", pa, " ( " + P(zt(t.proportion * 100)) + " % ) ", 1)) : (o(), r("span", fa, " (" + P(isNaN(t.value / F.value) ? "-" : n(D)(
1171
1171
  e.value.style.chart.layout.labels.percentage.formatter,
1172
1172
  He.value(t),
1173
- n(N)({
1173
+ n(M)({
1174
1174
  v: He.value(t),
1175
1175
  s: "%",
1176
1176
  r: e.value.style.chart.legend.roundingPercentage
@@ -1183,7 +1183,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
1183
1183
  l.$slots.pattern ? {
1184
1184
  name: "legend-pattern",
1185
1185
  fn: C(({ legend: t, index: a }) => [
1186
- xe(sl, {
1186
+ $e(sl, {
1187
1187
  shape: t.shape,
1188
1188
  radius: 30,
1189
1189
  stroke: "none",
@@ -1204,8 +1204,8 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
1204
1204
  }, [
1205
1205
  g(l.$slots, "source", {}, void 0, !0)
1206
1206
  ], 512)) : i("", !0),
1207
- xe(n(gt), {
1208
- show: h.value.showTooltip && de.value,
1207
+ $e(n(gt), {
1208
+ show: h.value.showTooltip && ce.value,
1209
1209
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
1210
1210
  color: e.value.style.chart.tooltip.color,
1211
1211
  fontSize: e.value.style.chart.tooltip.fontSize,
@@ -1247,10 +1247,10 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
1247
1247
  content: C(() => [
1248
1248
  (o(), Q(n(ht), {
1249
1249
  key: `table_${Se.value}`,
1250
- colNames: he.value.colNames,
1251
- head: he.value.head,
1252
- body: he.value.body,
1253
- config: he.value.config,
1250
+ colNames: de.value.colNames,
1251
+ head: de.value.head,
1252
+ body: de.value.body,
1253
+ config: de.value.config,
1254
1254
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
1255
1255
  onClose: s[5] || (s[5] = (t) => h.value.showTable = !1)
1256
1256
  }, {
@@ -1264,7 +1264,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
1264
1264
  st(P(t.name ? t.name : isNaN(Number(t)) ? t.includes("%") ? t : n(D)(
1265
1265
  e.value.style.chart.layout.labels.percentage.formatter,
1266
1266
  t,
1267
- n(N)({
1267
+ n(M)({
1268
1268
  v: t,
1269
1269
  s: "%",
1270
1270
  r: e.value.style.chart.layout.labels.percentage.rounding
@@ -1272,7 +1272,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
1272
1272
  ) : n(D)(
1273
1273
  e.value.style.chart.layout.labels.value.formatter,
1274
1274
  t,
1275
- n(N)({
1275
+ n(M)({
1276
1276
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
1277
1277
  v: t,
1278
1278
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -1287,7 +1287,7 @@ const nl = ["id"], rl = ["xmlns", "viewBox"], il = ["width", "height"], vl = { k
1287
1287
  }, 8, ["config"])) : i("", !0)
1288
1288
  ], 46, nl));
1289
1289
  }
1290
- }, Sa = /* @__PURE__ */ ul(ma, [["__scopeId", "data-v-ecf724bd"]]);
1290
+ }, Sa = /* @__PURE__ */ ul(ma, [["__scopeId", "data-v-b5044af7"]]);
1291
1291
  export {
1292
1292
  Sa as default
1293
1293
  };