vue-data-ui 2.16.5 → 2.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/README.md +85 -55
  2. package/dist/{Arrow-D9B36pfx.js → Arrow-BAEkZGzL.js} +1 -1
  3. package/dist/{BaseDraggableDialog-DloHiD4h.js → BaseDraggableDialog-ChCkcmj_.js} +2 -2
  4. package/dist/{BaseIcon-DJab5OQD.js → BaseIcon-naqtCxVi.js} +1 -1
  5. package/dist/{ColorPicker-Br0rMnNb.js → ColorPicker-CfIPgxcj.js} +2 -2
  6. package/dist/{DataTable-B6MXw9cG.js → DataTable-D0VYDhfx.js} +2 -2
  7. package/dist/{Legend-DoxQwq_u.js → Legend-Bxlv67uY.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-DhbyLXKW.js → NonSvgPenAndPaper-b_oVy-Dd.js} +3 -3
  9. package/dist/{PackageVersion-DCreTQN4.js → PackageVersion-5TR4ocqp.js} +1 -1
  10. package/dist/{PenAndPaper-BS60tkQN.js → PenAndPaper-D6AqipIO.js} +32 -32
  11. package/dist/{Shape-CrstrfQ9.js → Shape-DtFT5EJa.js} +1 -1
  12. package/dist/{Slicer-Bd0AkciG.js → Slicer-CL6-MRI6.js} +2 -2
  13. package/dist/{SparkTooltip-B4j_rvhG.js → SparkTooltip-Bcv1aoA5.js} +1 -1
  14. package/dist/{Title-BQLtfM0P.js → Title-B-2bV0SW.js} +1 -1
  15. package/dist/{Tooltip-5JmGL7sR.js → Tooltip-CoQnTnr-.js} +1 -1
  16. package/dist/{UserOptions-DMGkAAIO.js → UserOptions-Dd34lEKb.js} +137 -129
  17. package/dist/{dom-to-png-g3Q8kjna.js → dom-to-png-2AA0wHlX.js} +1 -1
  18. package/dist/img-Y_hYz-ZC.js +27 -0
  19. package/dist/{index-CZNLCg7T.js → index-pPGk-uhD.js} +1 -1
  20. package/dist/{pdf-DJVOD0cz.js → pdf-yfk3d1is.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +1098 -162
  23. package/dist/types/vue-data-ui.d.ts +1098 -162
  24. package/dist/{useNestedProp-BcPDA6Xr.js → useNestedProp-DjACxgdZ.js} +1 -1
  25. package/dist/{usePrinter-ButWuZVm.js → usePrinter-DDHcrl0A.js} +2 -2
  26. package/dist/vue-data-ui-CIWxgKjd.js +312 -0
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-o8P0DCbz.js → vue-ui-3d-bar-D5Wpdqfk.js} +244 -235
  29. package/dist/{vue-ui-accordion-CO4hmfuX.js → vue-ui-accordion-CVnA550V.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-C9T5bAEl.js → vue-ui-age-pyramid-BuAl-zC5.js} +167 -158
  31. package/dist/{vue-ui-annotator-CyOygaxE.js → vue-ui-annotator-gl2A20m3.js} +2 -2
  32. package/dist/{vue-ui-bullet-CPT1jdcz.js → vue-ui-bullet-D-VMKpwe.js} +131 -122
  33. package/dist/{vue-ui-candlestick-BfZTMGE0.js → vue-ui-candlestick-1r6YwiUV.js} +248 -239
  34. package/dist/{vue-ui-carousel-table-Bam9qqkj.js → vue-ui-carousel-table-B6UJoNtP.js} +17 -16
  35. package/dist/{vue-ui-chestnut-BAIMBFaQ.js → vue-ui-chestnut-DnlBYpC5.js} +257 -248
  36. package/dist/{vue-ui-chord-92E1yKdu.js → vue-ui-chord-D3kpzYjp.js} +229 -220
  37. package/dist/{vue-ui-circle-pack-DxXPqA7Z.js → vue-ui-circle-pack-CHgdpoYu.js} +200 -191
  38. package/dist/{vue-ui-cursor-Bvy_o8wb.js → vue-ui-cursor-63EAvElT.js} +2 -2
  39. package/dist/{vue-ui-dashboard--QRCkp7q.js → vue-ui-dashboard-Da6CPET-.js} +62 -62
  40. package/dist/{vue-ui-digits-Dl8RHLvt.js → vue-ui-digits-CA8pUKej.js} +2 -2
  41. package/dist/{vue-ui-donut-BxSTOFDt.js → vue-ui-donut-CKa7nFjt.js} +352 -343
  42. package/dist/{vue-ui-donut-evolution-DNzTtWnJ.js → vue-ui-donut-evolution-qeBEA4W8.js} +267 -258
  43. package/dist/{vue-ui-dumbbell-D01p3t3P.js → vue-ui-dumbbell-Bm0PvAKT.js} +146 -137
  44. package/dist/{vue-ui-flow-BMvaRn7E.js → vue-ui-flow-C2dqXvrU.js} +171 -162
  45. package/dist/{vue-ui-funnel-Bd_3wouw.js → vue-ui-funnel-Dvy5rRld.js} +134 -125
  46. package/dist/{vue-ui-galaxy-D4HJH1qq.js → vue-ui-galaxy-Y8LYp5n2.js} +181 -172
  47. package/dist/{vue-ui-gauge-CgIlk2pu.js → vue-ui-gauge-BBo0jWAP.js} +166 -157
  48. package/dist/{vue-ui-gizmo-C1-QYvsn.js → vue-ui-gizmo-DjXfTOWn.js} +3 -3
  49. package/dist/{vue-ui-heatmap-tUn_BlSp.js → vue-ui-heatmap-BbxRpltP.js} +242 -229
  50. package/dist/{vue-ui-history-plot-TfVRzyIK.js → vue-ui-history-plot-ChYf3Nvc.js} +218 -209
  51. package/dist/{vue-ui-kpi-BuL8MAMD.js → vue-ui-kpi-Vfc5-JnE.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-DIeG36P8.js → vue-ui-mini-loader-C0-Nsz8K.js} +2 -2
  53. package/dist/{vue-ui-molecule-8RJNzWIw.js → vue-ui-molecule-B7Yu7vzF.js} +155 -146
  54. package/dist/{vue-ui-mood-radar-DftzG_Bi.js → vue-ui-mood-radar-C8JUTwNw.js} +130 -121
  55. package/dist/{vue-ui-nested-donuts-B9JC_0xK.js → vue-ui-nested-donuts-D0RgFifU.js} +255 -246
  56. package/dist/{vue-ui-onion-DTjaH-Bu.js → vue-ui-onion-D4U7TL_N.js} +150 -141
  57. package/dist/{vue-ui-parallel-coordinate-plot-DwqfVqFB.js → vue-ui-parallel-coordinate-plot-CXMT7Rjr.js} +194 -185
  58. package/dist/{vue-ui-quadrant-Cv3VWA6d.js → vue-ui-quadrant-B13pTVVZ.js} +248 -239
  59. package/dist/{vue-ui-quick-chart-imc0KrbF.js → vue-ui-quick-chart-C0UL4o63.js} +328 -319
  60. package/dist/{vue-ui-radar-kNySclk1.js → vue-ui-radar-XpdiXnhz.js} +165 -156
  61. package/dist/{vue-ui-rating-DBhEbgwD.js → vue-ui-rating-CM8ZrUb1.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-BJQhS0aG.js → vue-ui-relation-circle-CYoFNekk.js} +145 -136
  63. package/dist/{vue-ui-ridgeline-Bhd1Uwm8.js → vue-ui-ridgeline-QUquE6ck.js} +198 -189
  64. package/dist/{vue-ui-rings-C_IT2mi0.js → vue-ui-rings-DwT0IfOh.js} +136 -127
  65. package/dist/{vue-ui-scatter-i8XZreWa.js → vue-ui-scatter-zDpy1udm.js} +207 -199
  66. package/dist/{vue-ui-skeleton-D9B8DY_k.js → vue-ui-skeleton-DJPjyNYn.js} +3 -3
  67. package/dist/{vue-ui-smiley-gmdnUWcW.js → vue-ui-smiley-DoDXl6k0.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-DOF3vl8_.js → vue-ui-spark-trend-CniV6Cpr.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-BVOVq3dA.js → vue-ui-sparkbar-Ds2ITgwn.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-DVO2Z0Rg.js → vue-ui-sparkgauge-CosfK-kw.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-CbV86a2i.js → vue-ui-sparkhistogram-C7O1wPAJ.js} +4 -4
  72. package/dist/{vue-ui-sparkline-jDNAVZu-.js → vue-ui-sparkline-B_iUj3F2.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-auT8CUXm.js → vue-ui-sparkstackbar-DBhWrysr.js} +3 -3
  74. package/dist/{vue-ui-stackbar-DmO02We2.js → vue-ui-stackbar-C3aV4IcL.js} +242 -233
  75. package/dist/{vue-ui-strip-plot-B25s87lj.js → vue-ui-strip-plot-Bvr1GAzH.js} +204 -195
  76. package/dist/{vue-ui-table-B4xbQdK_.js → vue-ui-table-DQKKRgyo.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-DI57VcvH.js → vue-ui-table-heatmap-Dyqj5XJC.js} +26 -25
  78. package/dist/{vue-ui-table-sparkline-DRgsZztN.js → vue-ui-table-sparkline-D4RubyLj.js} +8 -7
  79. package/dist/{vue-ui-thermometer-DkeT5DV_.js → vue-ui-thermometer-B0FKI5cG.js} +149 -140
  80. package/dist/{vue-ui-timer-uon_DLeH.js → vue-ui-timer-DUCBRIl-.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-BV0qXRF2.js → vue-ui-tiremarks-CRt4UQZD.js} +114 -105
  82. package/dist/{vue-ui-treemap-DzJsjtz7.js → vue-ui-treemap-CWP5nYDx.js} +298 -289
  83. package/dist/{vue-ui-vertical-bar-CkLS_DGb.js → vue-ui-vertical-bar-C5fPYltO.js} +294 -285
  84. package/dist/{vue-ui-waffle-B2XiLGQx.js → vue-ui-waffle-BpWLlfpg.js} +190 -181
  85. package/dist/{vue-ui-wheel-BR1DDpKU.js → vue-ui-wheel-CTzuCroy.js} +96 -87
  86. package/dist/{vue-ui-word-cloud-BvOT6hu2.js → vue-ui-word-cloud-BPokdaP1.js} +212 -203
  87. package/dist/{vue-ui-world-BeP91MNX.js → vue-ui-world-CS6k-oil.js} +201 -192
  88. package/dist/{vue-ui-xy-BaR-ZDba.js → vue-ui-xy-CQ425kLR.js} +517 -510
  89. package/dist/{vue-ui-xy-canvas-B4ZmECCK.js → vue-ui-xy-canvas-D2IFwAr7.js} +364 -355
  90. package/package.json +1 -1
  91. package/dist/img-CTC5DLKL.js +0 -20
  92. package/dist/vue-data-ui-BB8Upnjm.js +0 -301
@@ -1,20 +1,21 @@
1
- import { defineAsyncComponent as E, computed as $, ref as h, watch as lt, onMounted as at, nextTick as ot, shallowRef as st, onBeforeUnmount as zt, createElementBlock as i, openBlock as n, unref as r, normalizeStyle as ue, normalizeClass as U, createBlock as R, createCommentVNode as m, createVNode as ut, createSlots as Mt, withCtx as L, renderSlot as x, normalizeProps as Y, guardReactiveProps as X, createElementVNode as g, Fragment as T, renderList as F, toDisplayString as S, withDirectives as nt, vShow as rt, createTextVNode as ne } from "vue";
2
- import { u as Et, c as Ut, t as Rt, p as Ce, a as Bt, G as D, o as Gt, e as W, b as Yt, d as Xt, m as _e, f as N, X as Wt, s as qt, L as Ht, k as Te, n as q, i as K, x as it, q as Jt, r as Kt, y as Qt, v as Fe, T as dt } from "./index-CZNLCg7T.js";
3
- import { t as Zt, u as jt } from "./useResponsive-DfdjqQps.js";
4
- import { u as ct } from "./useNestedProp-BcPDA6Xr.js";
5
- import { u as el } from "./usePrinter-ButWuZVm.js";
6
- import { u as tl } from "./useUserOptionState-BIvW1Kz7.js";
7
- import { u as ll } from "./useChartAccessibility-9icAAmYg.js";
8
- import al from "./Title-BQLtfM0P.js";
9
- import ol from "./Legend-DoxQwq_u.js";
10
- import { _ as sl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
- const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["id"], dl = ["offset", "stop-color"], cl = ["offset", "stop-opacity"], vl = ["id"], hl = ["id"], fl = ["id"], pl = ["flood-color"], yl = ["d", "fill", "stroke", "stroke-width", "filter"], bl = ["d", "fill", "stroke", "stroke-width"], gl = { key: 1 }, ml = ["d", "fill"], wl = { key: 2 }, kl = ["x", "y", "font-size", "font-weight", "fill"], $l = { key: 3 }, Ll = ["filter"], xl = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], Cl = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], _l = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Tl = ["d", "fill", "onMouseenter", "onClick"], Fl = {
1
+ import { defineAsyncComponent as U, computed as $, ref as h, watch as at, onMounted as ot, nextTick as st, shallowRef as ut, onBeforeUnmount as Mt, createElementBlock as i, openBlock as n, unref as r, normalizeStyle as ue, normalizeClass as R, createBlock as B, createCommentVNode as m, createVNode as nt, createSlots as Et, withCtx as L, renderSlot as x, normalizeProps as X, guardReactiveProps as W, createElementVNode as g, Fragment as T, renderList as O, toDisplayString as I, withDirectives as rt, vShow as it, createTextVNode as ne } from "vue";
2
+ import { u as Ut, c as Rt, t as Bt, p as Ce, a as Gt, G as D, o as Yt, e as q, b as Xt, d as Wt, m as _e, f as F, X as qt, s as Ht, L as Jt, k as Te, n as H, i as K, x as dt, q as Kt, r as Qt, y as Zt, v as Oe, T as ct } from "./index-pPGk-uhD.js";
3
+ import { t as jt, u as el } from "./useResponsive-DfdjqQps.js";
4
+ import { u as vt } from "./useNestedProp-DjACxgdZ.js";
5
+ import { u as tl } from "./usePrinter-DDHcrl0A.js";
6
+ import { u as ll } from "./useUserOptionState-BIvW1Kz7.js";
7
+ import { u as al } from "./useChartAccessibility-9icAAmYg.js";
8
+ import ol from "./Title-B-2bV0SW.js";
9
+ import sl from "./Legend-Bxlv67uY.js";
10
+ import ul from "./img-Y_hYz-ZC.js";
11
+ import { _ as nl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
+ const rl = ["id"], il = ["xmlns", "viewBox"], dl = ["width", "height"], cl = ["id"], vl = ["offset", "stop-color"], hl = ["offset", "stop-opacity"], fl = ["id"], pl = ["id"], yl = ["id"], bl = ["flood-color"], gl = ["d", "fill", "stroke", "stroke-width", "filter"], ml = ["d", "fill", "stroke", "stroke-width"], wl = { key: 1 }, kl = ["d", "fill"], $l = { key: 2 }, Ll = ["x", "y", "font-size", "font-weight", "fill"], xl = { key: 3 }, Cl = ["filter"], _l = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], Tl = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], Ol = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Fl = ["d", "fill", "onMouseenter", "onClick"], Nl = {
12
13
  key: 5,
13
14
  class: "vue-data-ui-watermark"
14
- }, Nl = {
15
+ }, Sl = {
15
16
  key: 0,
16
17
  class: "vue-ui-nested-donuts-legend-title"
17
- }, Ol = ["onClick"], Al = ["innerHTML"], Il = {
18
+ }, Al = ["onClick"], Il = ["innerHTML"], Vl = {
18
19
  __name: "vue-ui-nested-donuts",
19
20
  props: {
20
21
  config: {
@@ -31,38 +32,38 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
31
32
  }
32
33
  },
33
34
  emits: ["selectLegend", "selectDatapoint"],
34
- setup(vt, { expose: ht, emit: ft }) {
35
- const pt = E(() => import("./vue-ui-accordion-CO4hmfuX.js")), yt = E(() => import("./DataTable-B6MXw9cG.js")), bt = E(() => import("./PackageVersion-DCreTQN4.js")), gt = E(() => import("./PenAndPaper-BS60tkQN.js")), mt = E(() => import("./vue-ui-skeleton-D9B8DY_k.js")), wt = E(() => import("./Tooltip-5JmGL7sR.js")), kt = E(() => import("./UserOptions-DMGkAAIO.js")), { vue_ui_nested_donuts: $t } = Et(), C = vt, Q = $(() => !!C.dataset && C.dataset.length), y = h(Ut()), re = h(!1), ie = h(""), Lt = h(null), Ne = h(0), H = h(null), Oe = h(null), de = h(null), Ae = h(null), Ie = h(null), Se = h(0), Ve = h(0), Pe = h(0), z = h(!0), M = h([]), J = h([]), B = h(!1);
36
- function xt(l) {
37
- B.value = l, Ne.value += 1;
35
+ setup(ht, { expose: ft, emit: pt }) {
36
+ const yt = U(() => import("./vue-ui-accordion-CVnA550V.js")), bt = U(() => import("./DataTable-D0VYDhfx.js")), gt = U(() => import("./PackageVersion-5TR4ocqp.js")), mt = U(() => import("./PenAndPaper-D6AqipIO.js")), wt = U(() => import("./vue-ui-skeleton-DJPjyNYn.js")), kt = U(() => import("./Tooltip-CoQnTnr-.js")), $t = U(() => import("./UserOptions-Dd34lEKb.js")), { vue_ui_nested_donuts: Lt } = Ut(), C = ht, Q = $(() => !!C.dataset && C.dataset.length), y = h(Rt()), re = h(!1), ie = h(""), xt = h(null), Fe = h(0), z = h(null), Ne = h(null), de = h(null), Se = h(null), Ae = h(null), Ie = h(0), Ve = h(0), Pe = h(0), M = h(!0), E = h([]), J = h([]), G = h(!1);
37
+ function De(l) {
38
+ G.value = l, Fe.value += 1;
38
39
  }
39
40
  const e = $({
40
- get: () => Ee(),
41
+ get: () => Ue(),
41
42
  set: (l) => l
42
- }), { userOptionsVisible: ce, setUserOptionsVisibility: De, keepUserOptionState: ze } = tl({ config: e.value }), { svgRef: Me } = ll({
43
+ }), { userOptionsVisible: ce, setUserOptionsVisibility: ze, keepUserOptionState: Me } = ll({ config: e.value }), { svgRef: Ee } = al({
43
44
  config: e.value.style.chart.title
44
45
  });
45
- function Ee() {
46
- const l = ct({
46
+ function Ue() {
47
+ const l = vt({
47
48
  userConfig: C.config,
48
- defaultConfig: $t
49
+ defaultConfig: Lt
49
50
  });
50
51
  return l.theme ? {
51
- ...ct({
52
- userConfig: Bt.vue_ui_nested_donuts[l.theme] || C.config,
52
+ ...vt({
53
+ userConfig: Gt.vue_ui_nested_donuts[l.theme] || C.config,
53
54
  defaultConfig: l
54
55
  }),
55
- customPalette: Rt[l.theme] || Ce
56
+ customPalette: Bt[l.theme] || Ce
56
57
  } : l;
57
58
  }
58
- lt(
59
+ at(
59
60
  () => C.config,
60
61
  (l) => {
61
- e.value = Ee(), ce.value = !e.value.userOptions.showOnChartHover, ve(), Se.value += 1, Ve.value += 1, Pe.value += 1, k.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, k.value.showTable = e.value.table.show, k.value.showTooltip = e.value.style.chart.tooltip.show, f.value.width = e.value.style.chart.width, f.value.height = e.value.style.chart.height;
62
+ e.value = Ue(), ce.value = !e.value.userOptions.showOnChartHover, ve(), Ie.value += 1, Ve.value += 1, Pe.value += 1, k.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, k.value.showTable = e.value.table.show, k.value.showTooltip = e.value.style.chart.tooltip.show, f.value.width = e.value.style.chart.width, f.value.height = e.value.style.chart.height;
62
63
  },
63
64
  { deep: !0 }
64
65
  );
65
- const Ue = $(() => {
66
+ const Re = $(() => {
66
67
  const { top: l, right: s, bottom: a, left: o } = e.value.style.chart.padding;
67
68
  return {
68
69
  css: `padding:${l}px ${s}px ${a}px ${o}px`,
@@ -75,21 +76,21 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
75
76
  function Ct(l, s = 1e3, a = 50) {
76
77
  return new Promise((o) => {
77
78
  const t = l.length;
78
- M.value = Array(t).fill(0), J.value = [];
79
+ E.value = Array(t).fill(0), J.value = [];
79
80
  let u = 0;
80
81
  l.forEach((c, v) => {
81
82
  setTimeout(() => {
82
- const O = performance.now();
83
+ const N = performance.now();
83
84
  function d(p) {
84
- const _ = Math.min((p - O) / s, 1), ge = dt(_), me = c * ge;
85
- M.value[v] = me, M.value = [...M.value];
85
+ const _ = Math.min((p - N) / s, 1), ge = ct(_), me = c * ge;
86
+ E.value[v] = me, E.value = [...E.value];
86
87
  const oe = [];
87
88
  let we = 0;
88
89
  C.dataset.forEach((se, ke) => {
89
- const St = Fe(se.series.reduce(
90
- (Le, xe) => Le + Fe(D(xe.values).reduce((Pt, Dt) => Pt + Dt, 0)),
90
+ const Vt = Oe(se.series.reduce(
91
+ (Le, xe) => Le + Oe(D(xe.values).reduce((Dt, zt) => Dt + zt, 0)),
91
92
  0
92
- )), Vt = Fe(M.value.slice(we, we + se.series.length).reduce((Le, xe) => Le + xe, 0)), $e = St - Vt;
93
+ )), Pt = Oe(E.value.slice(we, we + se.series.length).reduce((Le, xe) => Le + xe, 0)), $e = Vt - Pt;
93
94
  $e > Number.MIN_VALUE && oe.push({
94
95
  name: "__ghost__",
95
96
  arcOf: se.name,
@@ -110,14 +111,14 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
110
111
  });
111
112
  });
112
113
  }
113
- at(async () => {
114
+ ot(async () => {
114
115
  if (ve(), e.value.startAnimation?.show) {
115
116
  const s = C.dataset.flatMap((a) => a.series).map(
116
117
  (a) => D(a.values).reduce((o, t) => o + t, 0)
117
118
  );
118
- M.value = s.map(() => 0), z.value = !0, J.value = C.dataset.map((a, o) => {
119
+ E.value = s.map(() => 0), M.value = !0, J.value = C.dataset.map((a, o) => {
119
120
  const t = a.series.reduce(
120
- (u, c) => u + D(c.values).reduce((v, O) => v + O, 0),
121
+ (u, c) => u + D(c.values).reduce((v, N) => v + N, 0),
121
122
  0
122
123
  );
123
124
  return {
@@ -133,49 +134,49 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
133
134
  absoluteValues: [],
134
135
  ghost: !0
135
136
  };
136
- }), await ot(), Ct(
137
+ }), await st(), Ct(
137
138
  s,
138
139
  e.value.startAnimation.durationMs,
139
140
  e.value.startAnimation.staggerMs
140
141
  ).then(() => {
141
- z.value = !1, J.value = [];
142
+ M.value = !1, J.value = [];
142
143
  });
143
144
  } else
144
- z.value = !1;
145
+ M.value = !1;
145
146
  });
146
- const V = st(null), G = st(null);
147
- at(() => {
147
+ const V = ut(null), Y = ut(null);
148
+ ot(() => {
148
149
  ve();
149
150
  });
150
151
  function ve() {
151
- if (Gt(C.dataset) && W({
152
+ if (Yt(C.dataset) && q({
152
153
  componentName: "VueUiNestedDonuts",
153
154
  type: "dataset"
154
155
  }), e.value.responsive) {
155
- const l = Zt(() => {
156
- const { width: s, height: a } = jt({
157
- chart: H.value,
158
- title: e.value.style.chart.title.text ? Oe.value : null,
156
+ const l = jt(() => {
157
+ const { width: s, height: a } = el({
158
+ chart: z.value,
159
+ title: e.value.style.chart.title.text ? Ne.value : null,
159
160
  legend: e.value.style.chart.legend.show ? de.value : null,
160
- source: Ae.value,
161
- noTitle: Ie.value,
162
- padding: Ue.value
161
+ source: Se.value,
162
+ noTitle: Ae.value,
163
+ padding: Re.value
163
164
  });
164
165
  requestAnimationFrame(() => {
165
166
  f.value.width = s, f.value.height = a;
166
167
  });
167
168
  });
168
- V.value && (G.value && V.value.unobserve(G.value), V.value.disconnect()), V.value = new ResizeObserver(l), G.value = H.value.parentNode, V.value.observe(G.value);
169
+ V.value && (Y.value && V.value.unobserve(Y.value), V.value.disconnect()), V.value = new ResizeObserver(l), Y.value = z.value.parentNode, V.value.observe(Y.value);
169
170
  }
170
171
  }
171
- zt(() => {
172
- V.value && (G.value && V.value.unobserve(G.value), V.value.disconnect());
172
+ Mt(() => {
173
+ V.value && (Y.value && V.value.unobserve(Y.value), V.value.disconnect());
173
174
  });
174
- const { isPrinting: Re, isImaging: Be, generatePdf: Ge, generateImage: Ye } = el({
175
+ const { isPrinting: Be, isImaging: Ge, generatePdf: Ye, generateImage: Xe } = tl({
175
176
  elementId: `nested_donuts_${y.value}`,
176
177
  fileName: e.value.style.chart.title.text || "vue-ui-nested-donuts",
177
178
  options: e.value.userOptions.print
178
- }), _t = $(() => e.value.userOptions.show && !e.value.style.chart.title.text), Tt = $(() => Yt(e.value.customPalette)), k = h({
179
+ }), _t = $(() => e.value.userOptions.show && !e.value.style.chart.title.text), Tt = $(() => Xt(e.value.customPalette)), k = h({
179
180
  dataLabels: {
180
181
  show: e.value.style.chart.layout.labels.dataLabels.show
181
182
  },
@@ -184,49 +185,49 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
184
185
  }), f = h({
185
186
  width: e.value.style.chart.width,
186
187
  height: e.value.style.chart.height
187
- }), Xe = ft;
188
- function Ft({ datapoint: l, index: s }) {
189
- Xe("selectDatapoint", { datapoint: l, index: s });
188
+ }), We = pt;
189
+ function Ot({ datapoint: l, index: s }) {
190
+ We("selectDatapoint", { datapoint: l, index: s });
190
191
  }
191
- function We({
192
+ function qe({
192
193
  from: l,
193
194
  to: s,
194
195
  duration: a,
195
196
  onUpdate: o,
196
197
  onDone: t,
197
- easing: u = dt
198
+ easing: u = ct
198
199
  }) {
199
200
  const c = performance.now();
200
- function v(O) {
201
- const d = Math.min((O - c) / a, 1), p = u(d), _ = l + (s - l) * p;
201
+ function v(N) {
202
+ const d = Math.min((N - c) / a, 1), p = u(d), _ = l + (s - l) * p;
202
203
  o(_, d), d < 1 ? requestAnimationFrame(v) : (o(s, 1), t && t());
203
204
  }
204
205
  requestAnimationFrame(v);
205
206
  }
206
- const w = h([]), A = $(() => {
207
+ const w = h([]), S = $(() => {
207
208
  C.dataset.forEach((s, a) => {
208
- [null, void 0].includes(s.name) && W({
209
+ [null, void 0].includes(s.name) && q({
209
210
  componentName: "VueUiNestedDonuts",
210
211
  type: "datasetSerieAttribute",
211
212
  property: "name",
212
213
  index: a
213
- }), [null, void 0].includes(s.series) ? W({
214
+ }), [null, void 0].includes(s.series) ? q({
214
215
  componentName: "VueUiNestedDonuts",
215
216
  type: "datasetSerieAttribute",
216
217
  property: "series",
217
218
  index: a
218
- }) : s.series.length === 0 ? W({
219
+ }) : s.series.length === 0 ? q({
219
220
  componentName: "VueUiNestedDonuts",
220
221
  type: "datasetAttributeEmpty",
221
222
  property: `series at index ${a}`
222
223
  }) : s.series.forEach((o, t) => {
223
- [null, void 0].includes(o.name) && W({
224
+ [null, void 0].includes(o.name) && q({
224
225
  componentName: "VueUiNestedDonuts",
225
226
  type: "datasetSerieAttribute",
226
227
  property: "name",
227
228
  index: t,
228
229
  key: "serie"
229
- }), [null, void 0].includes(o.values) && W({
230
+ }), [null, void 0].includes(o.values) && q({
230
231
  componentName: "VueUiNestedDonuts",
231
232
  type: "datasetSerieAttribute",
232
233
  property: "values",
@@ -250,13 +251,13 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
250
251
  id: `${y.value}_${a}_${t}`,
251
252
  seriesIndex: t,
252
253
  datasetIndex: a,
253
- color: Xt(o.color) || Tt.value[t] || Ce[t % Ce.length],
254
- value: z.value ? M.value[l++] ?? 0 : u,
254
+ color: Wt(o.color) || Tt.value[t] || Ce[t % Ce.length],
255
+ value: M.value ? E.value[l++] ?? 0 : u,
255
256
  absoluteValues: o.values || []
256
257
  };
257
258
  })
258
259
  }));
259
- }), I = $(() => Math.min(f.value.height, f.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)), qe = $(() => [...A.value].map((l, s) => {
260
+ }), A = $(() => Math.min(f.value.height, f.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)), He = $(() => [...S.value].map((l, s) => {
260
261
  const a = l.series.filter((o) => !w.value.includes(o.id)).map((o) => o.value).reduce((o, t) => o + t, 0);
261
262
  return {
262
263
  ...l,
@@ -267,19 +268,19 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
267
268
  }))
268
269
  };
269
270
  }));
270
- function Nt(l, s, a) {
271
+ function Ft(l, s, a) {
271
272
  let o = 0;
272
273
  for (let t = 0; t < l.length; t += 1)
273
274
  a.includes(l[t]) && (o += 1);
274
275
  return o < s;
275
276
  }
276
- const b = h(qe.value);
277
- lt(
278
- () => qe.value,
277
+ const b = h(He.value);
278
+ at(
279
+ () => He.value,
279
280
  (l) => b.value = l
280
281
  );
281
282
  function he(l) {
282
- Xe("selectLegend", l);
283
+ We("selectLegend", l);
283
284
  const s = C.dataset.flatMap(
284
285
  (d, p) => d.series.map((_, ge) => ({
285
286
  value: D(_.values).reduce((me, oe) => me + oe, 0),
@@ -288,18 +289,18 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
288
289
  }))
289
290
  ).find((d) => d.id === l.id);
290
291
  if (!s) return;
291
- const a = A.value.flatMap((d) => d.series).find((d) => d.id === l.id)?.value ?? 0, o = b.value.flatMap((d) => d.series).find((d) => d.id === l.id);
292
+ const a = S.value.flatMap((d) => d.series).find((d) => d.id === l.id)?.value ?? 0, o = b.value.flatMap((d) => d.series).find((d) => d.id === l.id);
292
293
  let u = o ? o.value : 0;
293
- const c = A.value.find(
294
+ const c = S.value.find(
294
295
  (d) => d.id === s.arcOfId
295
296
  );
296
297
  if (!c) return;
297
- const v = c.series.map((d) => d.id), O = Nt(
298
+ const v = c.series.map((d) => d.id), N = Ft(
298
299
  v,
299
300
  v.length - 1,
300
301
  w.value
301
302
  );
302
- w.value.includes(l.id) ? (w.value = w.value.filter((d) => d !== l.id), e.value.serieToggleAnimation.show ? We({
303
+ w.value.includes(l.id) ? (w.value = w.value.filter((d) => d !== l.id), e.value.serieToggleAnimation.show ? qe({
303
304
  from: u,
304
305
  to: a,
305
306
  duration: e.value.serieToggleAnimation.durationMs,
@@ -312,7 +313,7 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
312
313
  }) : b.value = b.value.map((d) => ({
313
314
  ...d,
314
315
  series: d.series.map((p) => p.id === l.id ? { ...p, value: a } : p)
315
- }))) : O && (e.value.serieToggleAnimation.show ? We({
316
+ }))) : N && (e.value.serieToggleAnimation.show ? qe({
316
317
  from: u,
317
318
  to: 0,
318
319
  duration: e.value.serieToggleAnimation.durationMs,
@@ -330,8 +331,8 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
330
331
  series: d.series.map((p) => p.id === l.id ? { ...p, value: 0 } : p)
331
332
  })), w.value.push(l.id)));
332
333
  }
333
- const Z = $(() => I.value / A.value.length * e.value.style.chart.layout.donut.spacingRatio), He = $(() => b.value.map((l, s) => I.value - s * I.value / A.value.length)), j = $(() => b.value.map((l, s) => {
334
- const a = Math.abs(l.series.map((v) => v.value).reduce((v, O) => v + O, 0)) > 0, o = I.value - s * I.value / b.value.length, t = z.value ? J.value.find((v) => v.datasetIndex === s) : null, u = [...l.series, ...t ? [t] : []].map((v) => ({
334
+ const Z = $(() => A.value / S.value.length * e.value.style.chart.layout.donut.spacingRatio), Je = $(() => b.value.map((l, s) => A.value - s * A.value / S.value.length)), j = $(() => b.value.map((l, s) => {
335
+ const a = Math.abs(l.series.map((v) => v.value).reduce((v, N) => v + N, 0)) > 0, o = A.value - s * A.value / b.value.length, t = M.value ? J.value.find((v) => v.datasetIndex === s) : null, u = [...l.series, ...t ? [t] : []].map((v) => ({
335
336
  ...v,
336
337
  value: v.value < 1e-11 ? Number.MIN_VALUE : v.value
337
338
  })), c = _e(
@@ -368,34 +369,34 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
368
369
  Z.value
369
370
  )
370
371
  };
371
- })), Je = $(() => [...A.value].map((l, s) => {
372
- const a = s * I.value / A.value.length;
372
+ })), Ke = $(() => [...S.value].map((l, s) => {
373
+ const a = s * A.value / S.value.length;
373
374
  return {
374
375
  sizeRatio: a,
375
376
  donut: _e(
376
377
  { series: [{ value: 1 }] },
377
378
  f.value.width / 2,
378
379
  f.value.height / 2,
379
- I.value - a,
380
- I.value - a,
380
+ A.value - a,
381
+ A.value - a,
381
382
  1.99999,
382
383
  2,
383
384
  1,
384
385
  360,
385
386
  105.25,
386
- I.value / A.value.length * e.value.style.chart.layout.donut.spacingRatio
387
+ A.value / S.value.length * e.value.style.chart.layout.donut.spacingRatio
387
388
  )[0]
388
389
  };
389
- })), Ke = h(null), ee = h(null), te = h(null), fe = h(null);
390
- function Ot({ datapoint: l, _relativeIndex: s, seriesIndex: a }) {
391
- Ke.value = l.arcOfId, ee.value = l.id, te.value = a, fe.value = {
390
+ })), Qe = h(null), ee = h(null), te = h(null), fe = h(null);
391
+ function Nt({ datapoint: l, _relativeIndex: s, seriesIndex: a }) {
392
+ Qe.value = l.arcOfId, ee.value = l.id, te.value = a, fe.value = {
392
393
  datapoint: l,
393
394
  seriesIndex: a,
394
395
  series: b.value,
395
396
  config: e.value
396
397
  };
397
398
  const o = e.value.style.chart.tooltip.customFormat;
398
- if (it(o) && Qt(
399
+ if (dt(o) && Zt(
399
400
  () => o({
400
401
  seriesIndex: a,
401
402
  datapoint: l,
@@ -429,7 +430,7 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
429
430
  ${e.value.style.chart.tooltip.showValue ? `<b>${K(
430
431
  e.value.style.chart.layout.labels.dataLabels.formatter,
431
432
  l.value,
432
- N({
433
+ F({
433
434
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
434
435
  v: l.value,
435
436
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -438,7 +439,7 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
438
439
  { datapoint: l, seriesIndex: a }
439
440
  )}
440
441
  </b>` : ""}
441
- ${e.value.style.chart.tooltip.showPercentage ? `(${N({
442
+ ${e.value.style.chart.tooltip.showPercentage ? `(${F({
442
443
  v: c.proportion * 100,
443
444
  s: "%",
444
445
  r: e.value.style.chart.tooltip.roundingPercentage
@@ -451,18 +452,18 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
451
452
  t += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.arcOf ?? ""} - ${l.name}</div>`, t += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${l.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (t += `<b>${K(
452
453
  e.value.style.chart.layout.labels.dataLabels.formatter,
453
454
  l.value,
454
- N({
455
+ F({
455
456
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
456
457
  v: l.value,
457
458
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
458
459
  r: e.value.style.chart.tooltip.roundingValue
459
460
  }),
460
461
  { datapoint: l, seriesIndex: a }
461
- )}</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? t += `<span>(${N({
462
+ )}</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? t += `<span>(${F({
462
463
  v: l.proportion * 100,
463
464
  s: "%",
464
465
  r: e.value.style.chart.tooltip.roundingPercentage
465
- })})</span></div>` : t += `<b>${N({
466
+ })})</span></div>` : t += `<b>${F({
466
467
  v: l.proportion * 100,
467
468
  s: "%",
468
469
  r: e.value.style.chart.tooltip.roundingPercentage
@@ -474,7 +475,7 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
474
475
  function pe(l) {
475
476
  return l.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
476
477
  }
477
- function Qe(l, s) {
478
+ function Ze(l, s) {
478
479
  if (!e.value.useBlurOnHover)
479
480
  return "";
480
481
  if (e.value.style.chart.tooltip.showAllItemsAtIndex && w.value.length === 0)
@@ -482,10 +483,10 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
482
483
  if (!e.value.style.chart.tooltip.showAllItemsAtIndex || w.value.length)
483
484
  return [null, void 0].includes(ee.value) || ee.value === l.id ? "" : `url(#blur_${y.value})`;
484
485
  }
485
- const ye = $(() => A.value.map((l, s) => {
486
+ const ye = $(() => S.value.map((l, s) => {
486
487
  const a = l.series.filter(
487
488
  (t) => !w.value.includes(t.id)
488
- ), o = z.value ? a.map((t) => {
489
+ ), o = M.value ? a.map((t) => {
489
490
  const u = C.dataset[s].series.findIndex(
490
491
  (c) => c.name === t.name
491
492
  );
@@ -495,9 +496,9 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
495
496
  }).reduce((t, u) => t + u, 0) : a.map((t) => t.value).reduce((t, u) => t + u, 0);
496
497
  return l.series.map((t, u) => {
497
498
  const c = D(C.dataset[s].series[u].values).reduce(
498
- (O, d) => O + d,
499
+ (N, d) => N + d,
499
500
  0
500
- ), v = z.value ? c : t.value;
501
+ ), v = M.value ? c : t.value;
501
502
  return {
502
503
  name: t.name,
503
504
  color: t.color,
@@ -513,7 +514,7 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
513
514
  isSegregated: w.value.includes(t.id)
514
515
  };
515
516
  });
516
- })), At = $(() => ({
517
+ })), St = $(() => ({
517
518
  cy: "nested-donuts-legend",
518
519
  backgroundColor: e.value.style.chart.legend.backgroundColor,
519
520
  color: e.value.style.chart.legend.color,
@@ -528,8 +529,8 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
528
529
  }))), s = b.value.flatMap((a) => a.series.map((o) => o.value));
529
530
  return { head: l, body: s };
530
531
  });
531
- function Ze(l = null) {
532
- ot(() => {
532
+ function je(l = null) {
533
+ st(() => {
533
534
  const s = P.value.head.map((t, u) => [
534
535
  [t.name],
535
536
  [P.value.body[u]],
@@ -540,8 +541,8 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
540
541
  [e.value.style.chart.title.text],
541
542
  [e.value.style.chart.title.subtitle.text],
542
543
  [[""], ["val"], ["%"]]
543
- ].concat(s), o = Jt(a);
544
- l ? l(o) : Kt({
544
+ ].concat(s), o = Kt(a);
545
+ l ? l(o) : Qt({
545
546
  csvContent: o,
546
547
  title: e.value.style.chart.title.text || "vue-ui-nested-donuts"
547
548
  });
@@ -553,7 +554,7 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
553
554
  e.value.table.columnNames.value,
554
555
  e.value.table.columnNames.percentage
555
556
  ], s = P.value.head.map((t, u) => {
556
- const c = N({
557
+ const c = F({
557
558
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
558
559
  v: P.value.body[u],
559
560
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -565,7 +566,7 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
565
566
  name: t.name
566
567
  },
567
568
  c,
568
- isNaN(P.value.body[u] / t.total) ? "-" : N({
569
+ isNaN(P.value.body[u] / t.total) ? "-" : F({
569
570
  v: P.value.body[u] / t.total * 100,
570
571
  s: "%",
571
572
  r: e.value.table.td.roundingPercentage
@@ -595,43 +596,50 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
595
596
  config: a
596
597
  };
597
598
  });
598
- function It() {
599
- return A.value;
599
+ function At() {
600
+ return S.value;
600
601
  }
601
- function je() {
602
+ function et() {
602
603
  k.value.showTable = !k.value.showTable;
603
604
  }
604
- function et() {
605
+ function tt() {
605
606
  k.value.dataLabels.show = !k.value.dataLabels.show;
606
607
  }
607
- function tt() {
608
+ function lt() {
608
609
  k.value.showTooltip = !k.value.showTooltip;
609
610
  }
610
611
  const ae = h(!1);
611
612
  function be() {
612
613
  ae.value = !ae.value;
613
614
  }
614
- return ht({
615
- getData: It,
616
- generatePdf: Ge,
617
- generateCsv: Ze,
618
- generateImage: Ye,
619
- toggleTable: je,
620
- toggleLabels: et,
621
- toggleTooltip: tt,
622
- toggleAnnotator: be
615
+ async function It({ scale: l = 2 } = {}) {
616
+ if (!z.value) return;
617
+ const { imageUri: s, base64: a } = await ul({ domElement: z.value, base64: !0, img: !0, scale: l });
618
+ return { imageUri: s, base64: a };
619
+ }
620
+ return ft({
621
+ getData: At,
622
+ getImage: It,
623
+ generatePdf: Ye,
624
+ generateCsv: je,
625
+ generateImage: Xe,
626
+ toggleTable: et,
627
+ toggleLabels: tt,
628
+ toggleTooltip: lt,
629
+ toggleAnnotator: be,
630
+ toggleFullscreen: De
623
631
  }), (l, s) => (n(), i("div", {
624
632
  ref_key: "nestedDonutsChart",
625
- ref: H,
626
- class: U(`vue-ui-nested-donuts ${B.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
633
+ ref: z,
634
+ class: R(`vue-ui-nested-donuts ${G.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
627
635
  style: ue(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
628
636
  id: `nested_donuts_${y.value}`,
629
- onMouseenter: s[3] || (s[3] = () => r(De)(!0)),
630
- onMouseleave: s[4] || (s[4] = () => r(De)(!1))
637
+ onMouseenter: s[3] || (s[3] = () => r(ze)(!0)),
638
+ onMouseleave: s[4] || (s[4] = () => r(ze)(!1))
631
639
  }, [
632
- e.value.userOptions.buttons.annotator ? (n(), R(r(gt), {
640
+ e.value.userOptions.buttons.annotator ? (n(), B(r(mt), {
633
641
  key: 0,
634
- svgRef: r(Me),
642
+ svgRef: r(Ee),
635
643
  backgroundColor: e.value.style.chart.backgroundColor,
636
644
  color: e.value.style.chart.color,
637
645
  active: ae.value,
@@ -640,17 +648,17 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
640
648
  _t.value ? (n(), i("div", {
641
649
  key: 1,
642
650
  ref_key: "noTitle",
643
- ref: Ie,
651
+ ref: Ae,
644
652
  class: "vue-data-ui-no-title-space",
645
653
  style: "height:36px; width: 100%;background:transparent"
646
654
  }, null, 512)) : m("", !0),
647
655
  e.value.style.chart.title.text ? (n(), i("div", {
648
656
  key: 2,
649
657
  ref_key: "chartTitle",
650
- ref: Oe
658
+ ref: Ne
651
659
  }, [
652
- (n(), R(al, {
653
- key: `title_${Se.value}`,
660
+ (n(), B(ol, {
661
+ key: `title_${Ie.value}`,
654
662
  config: {
655
663
  title: {
656
664
  cy: "donut-div-title",
@@ -663,13 +671,13 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
663
671
  }
664
672
  }, null, 8, ["config"]))
665
673
  ], 512)) : m("", !0),
666
- e.value.userOptions.show && Q.value && (r(ze) || r(ce)) ? (n(), R(r(kt), {
674
+ e.value.userOptions.show && Q.value && (r(Me) || r(ce)) ? (n(), B(r($t), {
667
675
  ref: "details",
668
- key: `user_option_${Ne.value}`,
676
+ key: `user_option_${Fe.value}`,
669
677
  backgroundColor: e.value.style.chart.backgroundColor,
670
678
  color: e.value.style.chart.color,
671
- isPrinting: r(Re),
672
- isImaging: r(Be),
679
+ isPrinting: r(Be),
680
+ isImaging: r(Ge),
673
681
  uid: y.value,
674
682
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
675
683
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -678,30 +686,31 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
678
686
  hasTable: e.value.userOptions.buttons.table,
679
687
  hasLabel: e.value.userOptions.buttons.labels,
680
688
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
681
- isFullscreen: B.value,
689
+ isFullscreen: G.value,
682
690
  isTooltip: k.value.showTooltip,
683
691
  titles: { ...e.value.userOptions.buttonTitles },
684
- chartElement: H.value,
692
+ chartElement: z.value,
685
693
  position: e.value.userOptions.position,
686
694
  hasAnnotator: e.value.userOptions.buttons.annotator,
687
695
  isAnnotation: ae.value,
688
696
  callbacks: e.value.userOptions.callbacks,
689
- onToggleFullscreen: xt,
690
- onGeneratePdf: r(Ge),
691
- onGenerateCsv: Ze,
692
- onGenerateImage: r(Ye),
693
- onToggleTable: je,
694
- onToggleLabels: et,
695
- onToggleTooltip: tt,
697
+ printScale: e.value.userOptions.print.scale,
698
+ onToggleFullscreen: De,
699
+ onGeneratePdf: r(Ye),
700
+ onGenerateCsv: je,
701
+ onGenerateImage: r(Xe),
702
+ onToggleTable: et,
703
+ onToggleLabels: tt,
704
+ onToggleTooltip: lt,
696
705
  onToggleAnnotator: be,
697
706
  style: ue({
698
- visibility: r(ze) ? r(ce) ? "visible" : "hidden" : "visible"
707
+ visibility: r(Me) ? r(ce) ? "visible" : "hidden" : "visible"
699
708
  })
700
- }, Mt({ _: 2 }, [
709
+ }, Et({ _: 2 }, [
701
710
  l.$slots.menuIcon ? {
702
711
  name: "menuIcon",
703
712
  fn: L(({ isOpen: a, color: o }) => [
704
- x(l.$slots, "menuIcon", Y(X({ isOpen: a, color: o })), void 0, !0)
713
+ x(l.$slots, "menuIcon", X(W({ isOpen: a, color: o })), void 0, !0)
705
714
  ]),
706
715
  key: "0"
707
716
  } : void 0,
@@ -750,31 +759,31 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
750
759
  l.$slots.optionFullscreen ? {
751
760
  name: "optionFullscreen",
752
761
  fn: L(({ toggleFullscreen: a, isFullscreen: o }) => [
753
- x(l.$slots, "optionFullscreen", Y(X({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
762
+ x(l.$slots, "optionFullscreen", X(W({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
754
763
  ]),
755
764
  key: "7"
756
765
  } : void 0,
757
766
  l.$slots.optionAnnotator ? {
758
767
  name: "optionAnnotator",
759
768
  fn: L(({ toggleAnnotator: a, isAnnotator: o }) => [
760
- x(l.$slots, "optionAnnotator", Y(X({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
769
+ x(l.$slots, "optionAnnotator", X(W({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
761
770
  ]),
762
771
  key: "8"
763
772
  } : void 0
764
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : m("", !0),
773
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : m("", !0),
765
774
  Q.value ? (n(), i("svg", {
766
775
  key: 4,
767
776
  ref_key: "svgRef",
768
- ref: Me,
769
- xmlns: r(Wt),
770
- class: U({
771
- "vue-data-ui-fullscreen--on": B.value,
772
- "vue-data-ui-fulscreen--off": !B.value
777
+ ref: Ee,
778
+ xmlns: r(qt),
779
+ class: R({
780
+ "vue-data-ui-fullscreen--on": G.value,
781
+ "vue-data-ui-fulscreen--off": !G.value
773
782
  }),
774
783
  viewBox: `0 0 ${f.value.width <= 0 ? 1e-3 : f.value.width} ${f.value.height < 0 ? 1e-3 : f.value.height}`,
775
- style: ue(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};${Ue.value.css}`)
784
+ style: ue(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};${Re.value.css}`)
776
785
  }, [
777
- ut(r(bt)),
786
+ nt(r(gt)),
778
787
  l.$slots["chart-background"] ? (n(), i("foreignObject", {
779
788
  key: 0,
780
789
  x: 0,
@@ -786,9 +795,9 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
786
795
  }
787
796
  }, [
788
797
  x(l.$slots, "chart-background", {}, void 0, !0)
789
- ], 8, rl)) : m("", !0),
798
+ ], 8, dl)) : m("", !0),
790
799
  g("defs", null, [
791
- (n(!0), i(T, null, F(Je.value, (a, o) => (n(), i("radialGradient", {
800
+ (n(!0), i(T, null, O(Ke.value, (a, o) => (n(), i("radialGradient", {
792
801
  id: `radial_${y.value}_${o}`
793
802
  }, [
794
803
  s[5] || (s[5] = g("stop", {
@@ -797,21 +806,21 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
797
806
  "stop-opacity": "0"
798
807
  }, null, -1)),
799
808
  g("stop", {
800
- offset: `${(1 - Z.value / He.value[o]) * 100}%`,
801
- "stop-color": r(qt)("#FFFFFF", 0),
809
+ offset: `${(1 - Z.value / Je.value[o]) * 100}%`,
810
+ "stop-color": r(Ht)("#FFFFFF", 0),
802
811
  "stop-opacity": "0"
803
- }, null, 8, dl),
812
+ }, null, 8, vl),
804
813
  g("stop", {
805
- offset: `${(1 - Z.value / He.value[o] / 2) * 100}%`,
814
+ offset: `${(1 - Z.value / Je.value[o] / 2) * 100}%`,
806
815
  "stop-color": "#FFFFFF",
807
816
  "stop-opacity": e.value.style.chart.gradientIntensity / 100
808
- }, null, 8, cl),
817
+ }, null, 8, hl),
809
818
  s[6] || (s[6] = g("stop", {
810
819
  offset: "100%",
811
820
  "stop-color": "#FFFFFF",
812
821
  "stop-opacity": "0"
813
822
  }, null, -1))
814
- ], 8, il))), 256))
823
+ ], 8, cl))), 256))
815
824
  ]),
816
825
  g("defs", null, [
817
826
  g("filter", {
@@ -825,12 +834,12 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
825
834
  in: "SourceGraphic",
826
835
  stdDeviation: 2,
827
836
  id: `blur_std_${y.value}`
828
- }, null, 8, hl),
837
+ }, null, 8, pl),
829
838
  s[7] || (s[7] = g("feColorMatrix", {
830
839
  type: "saturate",
831
840
  values: "0"
832
841
  }, null, -1))
833
- ], 8, vl),
842
+ ], 8, fl),
834
843
  g("filter", {
835
844
  id: `shadow_${y.value}`,
836
845
  "color-interpolation-filters": "sRGB"
@@ -841,68 +850,68 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
841
850
  stdDeviation: "10",
842
851
  "flood-opacity": "0.5",
843
852
  "flood-color": e.value.style.chart.layout.donut.shadowColor
844
- }, null, 8, pl)
845
- ], 8, fl)
853
+ }, null, 8, bl)
854
+ ], 8, yl)
846
855
  ]),
847
- (n(!0), i(T, null, F(j.value, (a, o) => (n(), i("g", null, [
848
- a.hasData ? (n(!0), i(T, { key: 0 }, F(a.donut.filter((t) => !t.ghost), (t, u) => (n(), i("g", null, [
856
+ (n(!0), i(T, null, O(j.value, (a, o) => (n(), i("g", null, [
857
+ a.hasData ? (n(!0), i(T, { key: 0 }, O(a.donut.filter((t) => !t.ghost), (t, u) => (n(), i("g", null, [
849
858
  g("path", {
850
859
  class: "vue-ui-donut-arc-path",
851
860
  d: t.arcSlice,
852
861
  fill: t.color,
853
862
  stroke: e.value.style.chart.backgroundColor,
854
863
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
855
- filter: Qe(t, u)
856
- }, null, 8, yl)
857
- ]))), 256)) : (n(!0), i(T, { key: 1 }, F(a.skeleton, (t, u) => (n(), i("g", null, [
864
+ filter: Ze(t, u)
865
+ }, null, 8, gl)
866
+ ]))), 256)) : (n(!0), i(T, { key: 1 }, O(a.skeleton, (t, u) => (n(), i("g", null, [
858
867
  g("path", {
859
868
  class: "vue-ui-donut-arc-path",
860
869
  d: t.arcSlice,
861
870
  fill: t.color,
862
871
  stroke: e.value.style.chart.backgroundColor,
863
872
  "stroke-width": e.value.style.chart.layout.donut.borderWidth
864
- }, null, 8, bl)
873
+ }, null, 8, ml)
865
874
  ]))), 256))
866
875
  ]))), 256)),
867
- e.value.style.chart.useGradient ? (n(), i("g", gl, [
868
- (n(!0), i(T, null, F(Je.value, (a, o) => (n(), i("g", null, [
876
+ e.value.style.chart.useGradient ? (n(), i("g", wl, [
877
+ (n(!0), i(T, null, O(Ke.value, (a, o) => (n(), i("g", null, [
869
878
  g("path", {
870
879
  d: a.donut.arcSlice,
871
880
  fill: `url(#radial_${y.value}_${o})`,
872
881
  stroke: "transparent",
873
882
  "stroke-width": "0"
874
- }, null, 8, ml)
883
+ }, null, 8, kl)
875
884
  ]))), 256))
876
885
  ])) : m("", !0),
877
- e.value.style.chart.layout.labels.dataLabels.showDonutName ? (n(), i("g", wl, [
878
- (n(!0), i(T, null, F(j.value, (a, o) => (n(), i("g", null, [
879
- (n(!0), i(T, null, F(a.donut, (t, u) => (n(), i("g", null, [
886
+ e.value.style.chart.layout.labels.dataLabels.showDonutName ? (n(), i("g", $l, [
887
+ (n(!0), i(T, null, O(j.value, (a, o) => (n(), i("g", null, [
888
+ (n(!0), i(T, null, O(a.donut, (t, u) => (n(), i("g", null, [
880
889
  u === 0 && f.value.width && f.value.height ? (n(), i("text", {
881
890
  key: 0,
882
- class: U({ animated: e.value.useCssAnimation }),
891
+ class: R({ animated: e.value.useCssAnimation }),
883
892
  x: f.value.width / 2,
884
893
  y: t.startY - e.value.style.chart.layout.labels.dataLabels.fontSize + e.value.style.chart.layout.labels.dataLabels.donutNameOffsetY,
885
894
  "text-anchor": "middle",
886
895
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
887
896
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldDonutName ? "bold" : "normal",
888
897
  fill: e.value.style.chart.layout.labels.dataLabels.color
889
- }, S(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? r(Ht)({
898
+ }, I(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? r(Jt)({
890
899
  source: a.name,
891
900
  length: e.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize
892
- }) : a.name), 11, kl)) : m("", !0)
901
+ }) : a.name), 11, Ll)) : m("", !0)
893
902
  ]))), 256))
894
903
  ]))), 256))
895
904
  ])) : m("", !0),
896
- e.value.style.chart.layout.labels.dataLabels.show ? (n(), i("g", $l, [
897
- (n(!0), i(T, null, F(j.value, (a, o) => (n(), i("g", null, [
898
- (n(!0), i(T, null, F(a.donut.filter((t) => !t.ghost), (t, u) => (n(), i("g", {
899
- filter: Qe(t, u)
905
+ e.value.style.chart.layout.labels.dataLabels.show ? (n(), i("g", xl, [
906
+ (n(!0), i(T, null, O(j.value, (a, o) => (n(), i("g", null, [
907
+ (n(!0), i(T, null, O(a.donut.filter((t) => !t.ghost), (t, u) => (n(), i("g", {
908
+ filter: Ze(t, u)
900
909
  }, [
901
- nt(g("text", {
902
- class: U({ animated: e.value.useCssAnimation }),
910
+ rt(g("text", {
911
+ class: R({ animated: e.value.useCssAnimation }),
903
912
  opacity: pe(t) ? 1 : 0,
904
- "text-anchor": r(q)(t, !0).anchor,
905
- x: r(q)(
913
+ "text-anchor": r(H)(t, !0).anchor,
914
+ x: r(H)(
906
915
  t,
907
916
  !1,
908
917
  e.value.style.chart.layout.labels.dataLabels.offsetX
@@ -915,21 +924,21 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
915
924
  fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? t.color : e.value.style.chart.layout.labels.dataLabels.color,
916
925
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
917
926
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldPercentage ? "bold" : "normal"
918
- }, S(r(N)({
927
+ }, I(r(F)({
919
928
  v: t.proportion * 100,
920
929
  s: "%",
921
930
  r: e.value.style.chart.layout.labels.dataLabels.roundingPercentage
922
- })), 11, xl), [
931
+ })), 11, _l), [
923
932
  [
924
- rt,
933
+ it,
925
934
  k.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage
926
935
  ]
927
936
  ]),
928
- nt(g("text", {
929
- class: U({ animated: e.value.useCssAnimation }),
937
+ rt(g("text", {
938
+ class: R({ animated: e.value.useCssAnimation }),
930
939
  opacity: pe(t) ? 1 : 0,
931
- "text-anchor": r(q)(t, !0).anchor,
932
- x: r(q)(
940
+ "text-anchor": r(H)(t, !0).anchor,
941
+ x: r(H)(
933
942
  t,
934
943
  !1,
935
944
  e.value.style.chart.layout.labels.dataLabels.offsetX
@@ -942,27 +951,27 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
942
951
  fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? t.color : e.value.style.chart.layout.labels.dataLabels.color,
943
952
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
944
953
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldValue ? "bold" : "normal"
945
- }, " (" + S(r(K)(
954
+ }, " (" + I(r(K)(
946
955
  e.value.style.chart.layout.labels.dataLabels.formatter,
947
956
  t.value,
948
- r(N)({
957
+ r(F)({
949
958
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
950
959
  v: t.value,
951
960
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
952
961
  r: e.value.style.chart.layout.labels.dataLabels.roundingValue
953
962
  }),
954
963
  { datapoint: t, seriesIndex: o, datapointIndex: u }
955
- )) + ") ", 11, Cl), [
964
+ )) + ") ", 11, Tl), [
956
965
  [
957
- rt,
966
+ it,
958
967
  k.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue
959
968
  ]
960
969
  ]),
961
970
  pe(t) && k.value.dataLabels.show && !e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (n(), i("text", {
962
971
  key: 0,
963
- class: U({ animated: e.value.useCssAnimation }),
964
- "text-anchor": r(q)(t, !0).anchor,
965
- x: r(q)(
972
+ class: R({ animated: e.value.useCssAnimation }),
973
+ "text-anchor": r(H)(t, !0).anchor,
974
+ x: r(H)(
966
975
  t,
967
976
  !1,
968
977
  e.value.style.chart.layout.labels.dataLabels.offsetX
@@ -975,42 +984,42 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
975
984
  fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? t.color : e.value.style.chart.layout.labels.dataLabels.color,
976
985
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
977
986
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldValue ? "bold" : "normal"
978
- }, S(r(K)(
987
+ }, I(r(K)(
979
988
  e.value.style.chart.layout.labels.dataLabels.formatter,
980
989
  t.value,
981
- r(N)({
990
+ r(F)({
982
991
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
983
992
  v: t.value,
984
993
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
985
994
  r: e.value.style.chart.layout.labels.dataLabels.roundingValue
986
995
  }),
987
996
  { datapoint: t, seriesIndex: o, datapointIndex: u }
988
- )), 11, _l)) : m("", !0)
989
- ], 8, Ll))), 256))
997
+ )), 11, Ol)) : m("", !0)
998
+ ], 8, Cl))), 256))
990
999
  ]))), 256))
991
1000
  ])) : m("", !0),
992
- (n(!0), i(T, null, F(j.value, (a, o) => (n(), i("g", null, [
993
- (n(!0), i(T, null, F(a.donut, (t, u) => (n(), i("g", null, [
1001
+ (n(!0), i(T, null, O(j.value, (a, o) => (n(), i("g", null, [
1002
+ (n(!0), i(T, null, O(a.donut, (t, u) => (n(), i("g", null, [
994
1003
  g("path", {
995
1004
  d: t.arcSlice,
996
- fill: Lt.value === o ? "rgba(0,0,0,0.1)" : "transparent",
997
- onMouseenter: (c) => Ot({
1005
+ fill: xt.value === o ? "rgba(0,0,0,0.1)" : "transparent",
1006
+ onMouseenter: (c) => Nt({
998
1007
  datapoint: t,
999
1008
  seriesIndex: t.seriesIndex
1000
1009
  }),
1001
- onClick: (c) => Ft({ datapoint: t, index: u }),
1010
+ onClick: (c) => Ot({ datapoint: t, index: u }),
1002
1011
  onMouseleave: s[0] || (s[0] = (c) => {
1003
- re.value = !1, Ke.value = null, ee.value = null, te.value = null;
1012
+ re.value = !1, Qe.value = null, ee.value = null, te.value = null;
1004
1013
  })
1005
- }, null, 40, Tl)
1014
+ }, null, 40, Fl)
1006
1015
  ]))), 256))
1007
1016
  ]))), 256)),
1008
1017
  x(l.$slots, "svg", { svg: f.value }, void 0, !0)
1009
- ], 14, nl)) : m("", !0),
1010
- l.$slots.watermark ? (n(), i("div", Fl, [
1011
- x(l.$slots, "watermark", Y(X({ isPrinting: r(Re) || r(Be) })), void 0, !0)
1018
+ ], 14, il)) : m("", !0),
1019
+ l.$slots.watermark ? (n(), i("div", Nl, [
1020
+ x(l.$slots, "watermark", X(W({ isPrinting: r(Be) || r(Ge) })), void 0, !0)
1012
1021
  ])) : m("", !0),
1013
- Q.value ? m("", !0) : (n(), R(r(mt), {
1022
+ Q.value ? m("", !0) : (n(), B(r(wt), {
1014
1023
  key: 6,
1015
1024
  config: {
1016
1025
  type: "donut",
@@ -1022,7 +1031,7 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
1022
1031
  }
1023
1032
  }
1024
1033
  }, null, 8, ["config"])),
1025
- ut(r(wt), {
1034
+ nt(r(kt), {
1026
1035
  show: k.value.showTooltip && re.value,
1027
1036
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
1028
1037
  color: e.value.style.chart.tooltip.color,
@@ -1033,16 +1042,16 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
1033
1042
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
1034
1043
  position: e.value.style.chart.tooltip.position,
1035
1044
  offsetY: e.value.style.chart.tooltip.offsetY,
1036
- parent: H.value,
1045
+ parent: z.value,
1037
1046
  content: ie.value,
1038
- isFullscreen: B.value,
1039
- isCustom: r(it)(e.value.style.chart.tooltip.customFormat)
1047
+ isFullscreen: G.value,
1048
+ isCustom: r(dt)(e.value.style.chart.tooltip.customFormat)
1040
1049
  }, {
1041
1050
  "tooltip-before": L(() => [
1042
- x(l.$slots, "tooltip-before", Y(X({ ...fe.value })), void 0, !0)
1051
+ x(l.$slots, "tooltip-before", X(W({ ...fe.value })), void 0, !0)
1043
1052
  ]),
1044
1053
  "tooltip-after": L(() => [
1045
- x(l.$slots, "tooltip-after", Y(X({ ...fe.value })), void 0, !0)
1054
+ x(l.$slots, "tooltip-after", X(W({ ...fe.value })), void 0, !0)
1046
1055
  ]),
1047
1056
  _: 3
1048
1057
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
@@ -1050,26 +1059,26 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
1050
1059
  key: 7,
1051
1060
  ref_key: "chartLegend",
1052
1061
  ref: de,
1053
- class: U({ "vue-ui-nested-donuts-legend": ye.value.length > 1 })
1062
+ class: R({ "vue-ui-nested-donuts-legend": ye.value.length > 1 })
1054
1063
  }, [
1055
- (n(!0), i(T, null, F(ye.value, (a, o) => (n(), R(ol, {
1064
+ (n(!0), i(T, null, O(ye.value, (a, o) => (n(), B(sl, {
1056
1065
  key: `legend_${o}_${Pe.value}`,
1057
1066
  legendSet: a,
1058
- config: At.value,
1067
+ config: St.value,
1059
1068
  onClickMarker: s[1] || (s[1] = ({ legend: t }) => he(t))
1060
1069
  }, {
1061
1070
  legendTitle: L(({ titleSet: t }) => [
1062
- t[0] && t[0].arcOf ? (n(), i("div", Nl, S(t[0].arcOf), 1)) : m("", !0)
1071
+ t[0] && t[0].arcOf ? (n(), i("div", Sl, I(t[0].arcOf), 1)) : m("", !0)
1063
1072
  ]),
1064
1073
  item: L(({ legend: t, index: u }) => [
1065
1074
  g("div", {
1066
1075
  onClick: (c) => he(t),
1067
1076
  style: ue(`opacity:${w.value.includes(t.id) ? 0.5 : 1}`)
1068
1077
  }, [
1069
- ne(S(t.name) + ": " + S(r(K)(
1078
+ ne(I(t.name) + ": " + I(r(K)(
1070
1079
  e.value.style.chart.layout.labels.dataLabels.formatter,
1071
1080
  t.value,
1072
- r(N)({
1081
+ r(F)({
1073
1082
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
1074
1083
  v: t.value,
1075
1084
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -1080,13 +1089,13 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
1080
1089
  w.value.includes(t.id) ? (n(), i(T, { key: 1 }, [
1081
1090
  ne(" ( - % ) ")
1082
1091
  ], 64)) : (n(), i(T, { key: 0 }, [
1083
- ne(" (" + S(isNaN(t.value / t.total) ? "-" : r(N)({
1092
+ ne(" (" + I(isNaN(t.value / t.total) ? "-" : r(F)({
1084
1093
  v: t.value / t.total * 100,
1085
1094
  s: "%",
1086
1095
  r: e.value.style.chart.legend.roundingPercentage
1087
1096
  })) + ") ", 1)
1088
1097
  ], 64))
1089
- ], 12, Ol)
1098
+ ], 12, Al)
1090
1099
  ]),
1091
1100
  _: 2
1092
1101
  }, 1032, ["legendSet", "config"]))), 128))
@@ -1101,12 +1110,12 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
1101
1110
  l.$slots.source ? (n(), i("div", {
1102
1111
  key: 9,
1103
1112
  ref_key: "source",
1104
- ref: Ae,
1113
+ ref: Se,
1105
1114
  dir: "auto"
1106
1115
  }, [
1107
1116
  x(l.$slots, "source", {}, void 0, !0)
1108
1117
  ], 512)) : m("", !0),
1109
- Q.value ? (n(), R(r(pt), {
1118
+ Q.value ? (n(), B(r(yt), {
1110
1119
  key: 10,
1111
1120
  hideDetails: "",
1112
1121
  config: {
@@ -1123,7 +1132,7 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
1123
1132
  }
1124
1133
  }, {
1125
1134
  content: L(() => [
1126
- (n(), R(r(yt), {
1135
+ (n(), B(r(bt), {
1127
1136
  key: `table_${Ve.value}`,
1128
1137
  colNames: le.value.colNames,
1129
1138
  head: le.value.head,
@@ -1136,19 +1145,19 @@ const ul = ["id"], nl = ["xmlns", "viewBox"], rl = ["width", "height"], il = ["i
1136
1145
  g("div", {
1137
1146
  innerHTML: a,
1138
1147
  style: { display: "flex", "align-items": "center" }
1139
- }, null, 8, Al)
1148
+ }, null, 8, Il)
1140
1149
  ]),
1141
1150
  td: L(({ td: a }) => [
1142
- ne(S(a.name || a), 1)
1151
+ ne(I(a.name || a), 1)
1143
1152
  ]),
1144
1153
  _: 1
1145
1154
  }, 8, ["colNames", "head", "body", "config", "title"]))
1146
1155
  ]),
1147
1156
  _: 1
1148
1157
  }, 8, ["config"])) : m("", !0)
1149
- ], 46, ul));
1158
+ ], 46, rl));
1150
1159
  }
1151
- }, Gl = /* @__PURE__ */ sl(Il, [["__scopeId", "data-v-0b97ffd5"]]);
1160
+ }, Wl = /* @__PURE__ */ nl(Vl, [["__scopeId", "data-v-6a801edc"]]);
1152
1161
  export {
1153
- Gl as default
1162
+ Wl as default
1154
1163
  };