vue-data-ui 2.17.7 → 2.17.9

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 (89) hide show
  1. package/dist/{Arrow-me__N_0y.js → Arrow-BtfCY5gt.js} +1 -1
  2. package/dist/{BaseDraggableDialog-B3vDETZF.js → BaseDraggableDialog-DK2afbp7.js} +2 -2
  3. package/dist/{BaseIcon-ChZPZX-A.js → BaseIcon-CF2uYLsg.js} +1 -1
  4. package/dist/{ColorPicker-BTHKcTCn.js → ColorPicker-CQwO6O0H.js} +2 -2
  5. package/dist/{DataTable-U4EH3cP4.js → DataTable-ZaeZyzyi.js} +2 -2
  6. package/dist/{Legend-BQfiyC_w.js → Legend-n-jNc8hc.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-B58ag5uE.js → NonSvgPenAndPaper-DHa-0cgG.js} +3 -3
  8. package/dist/{PackageVersion-NDKFRBq5.js → PackageVersion-UowjP5VV.js} +1 -1
  9. package/dist/{PenAndPaper-CwoLkSrd.js → PenAndPaper-D-V91om_.js} +3 -3
  10. package/dist/{Shape-CeJI3w0R.js → Shape-COmQwu1h.js} +1 -1
  11. package/dist/{Slicer-DKLVa_w9.js → Slicer-BRNq9nmV.js} +2 -2
  12. package/dist/{SparkTooltip-1viQ12s2.js → SparkTooltip-Cq0uEh34.js} +1 -1
  13. package/dist/{Title-tOz-gEGM.js → Title-BiQduNOC.js} +1 -1
  14. package/dist/{Tooltip-Dw_vV0R_.js → Tooltip-BtcoOg7N.js} +1 -1
  15. package/dist/{UserOptions-Bepf6s0a.js → UserOptions-CH1eWh8-.js} +2 -2
  16. package/dist/{dom-to-png-C4e097oF.js → dom-to-png-lcMBIjSq.js} +1 -1
  17. package/dist/{img-Bb0wcHve.js → img-D6ti0cqW.js} +1 -1
  18. package/dist/{index-R4FwM_IZ.js → index-Dv0soSuJ.js} +8 -3
  19. package/dist/{pdf-Bap-QOia.js → pdf-DixtGuc2.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +5 -0
  22. package/dist/types/vue-data-ui.d.ts +5 -0
  23. package/dist/{useNestedProp-BK4CixKz.js → useNestedProp-9yFImdT2.js} +1 -1
  24. package/dist/{usePrinter-3YhL7e8Q.js → usePrinter-DY64Kp3q.js} +2 -2
  25. package/dist/{vue-data-ui-CY0rRZ7Z.js → vue-data-ui-CM_ZATJk.js} +63 -63
  26. package/dist/vue-data-ui.js +1 -1
  27. package/dist/{vue-ui-3d-bar-Dep0ysOa.js → vue-ui-3d-bar-CaaItbDc.js} +6 -6
  28. package/dist/{vue-ui-accordion-CvmwQkdH.js → vue-ui-accordion-BkT_q5p5.js} +3 -3
  29. package/dist/{vue-ui-age-pyramid-BCPyK18i.js → vue-ui-age-pyramid-DdJu5WK9.js} +6 -6
  30. package/dist/{vue-ui-annotator-JTkkUkwf.js → vue-ui-annotator-DUmT0GYd.js} +2 -2
  31. package/dist/{vue-ui-bullet-JkggghcX.js → vue-ui-bullet-CJ6OEjv8.js} +7 -7
  32. package/dist/{vue-ui-candlestick-BGV4q10G.js → vue-ui-candlestick-DdinSuU5.js} +7 -7
  33. package/dist/{vue-ui-carousel-table-B_ie5YYq.js → vue-ui-carousel-table-BNRZCTS8.js} +4 -4
  34. package/dist/{vue-ui-chestnut-CLxKZsOD.js → vue-ui-chestnut-dnxQ6UPV.js} +5 -5
  35. package/dist/{vue-ui-chord-Co3kJVCi.js → vue-ui-chord-Drl5anFE.js} +8 -8
  36. package/dist/{vue-ui-circle-pack-PL75C9jO.js → vue-ui-circle-pack-DCmNOdKp.js} +6 -6
  37. package/dist/{vue-ui-cursor-DC7O-8eZ.js → vue-ui-cursor-DKv9oB3v.js} +2 -2
  38. package/dist/{vue-ui-dashboard-C3nn1lMD.js → vue-ui-dashboard-BZ-M9Yme.js} +62 -62
  39. package/dist/{vue-ui-digits-D5UgycEC.js → vue-ui-digits-CbUmrEHB.js} +2 -2
  40. package/dist/{vue-ui-donut-evolution-BNo8EYG7.js → vue-ui-donut-evolution-DrFvNObb.js} +8 -8
  41. package/dist/{vue-ui-donut-eHNz1cS2.js → vue-ui-donut-pIqtpIED.js} +180 -179
  42. package/dist/{vue-ui-dumbbell-D2RD8nwP.js → vue-ui-dumbbell-CLSmiH-N.js} +7 -7
  43. package/dist/{vue-ui-flow-nlmivNyk.js → vue-ui-flow-Dg4hlNmC.js} +7 -7
  44. package/dist/{vue-ui-funnel-eWVO6Rh-.js → vue-ui-funnel-BB-wv_Eb.js} +6 -6
  45. package/dist/{vue-ui-galaxy-Ch2uWCU5.js → vue-ui-galaxy-iQqpqXx3.js} +5 -5
  46. package/dist/{vue-ui-gauge-Ccknj5io.js → vue-ui-gauge-BWVgzdlW.js} +6 -6
  47. package/dist/{vue-ui-gizmo-CYbxx735.js → vue-ui-gizmo-B2IFV8hw.js} +3 -3
  48. package/dist/{vue-ui-heatmap-zSgV_xBw.js → vue-ui-heatmap-DXhGcT2z.js} +7 -7
  49. package/dist/{vue-ui-history-plot-DwOOZx8Y.js → vue-ui-history-plot-B1TzA1qK.js} +7 -7
  50. package/dist/{vue-ui-kpi-vZcmV3FL.js → vue-ui-kpi-DNlnwSgl.js} +3 -3
  51. package/dist/{vue-ui-mini-loader-DqrVkeKh.js → vue-ui-mini-loader-B9n2olxI.js} +2 -2
  52. package/dist/{vue-ui-molecule-DuMBa5Er.js → vue-ui-molecule-04VOLuZF.js} +5 -5
  53. package/dist/{vue-ui-mood-radar-DeFiyKZo.js → vue-ui-mood-radar-DmUVxolx.js} +7 -7
  54. package/dist/{vue-ui-nested-donuts-ChqfdGIA.js → vue-ui-nested-donuts-BJEZY_NE.js} +269 -269
  55. package/dist/{vue-ui-onion-f1aoOv6z.js → vue-ui-onion-DabxP3_Z.js} +7 -7
  56. package/dist/{vue-ui-parallel-coordinate-plot-Ca-UNZey.js → vue-ui-parallel-coordinate-plot-DkSpGGJx.js} +8 -8
  57. package/dist/{vue-ui-quadrant-DUCj9oO3.js → vue-ui-quadrant-Dj547XAk.js} +8 -8
  58. package/dist/{vue-ui-quick-chart-R2nTOiT6.js → vue-ui-quick-chart-DW2adLRL.js} +6 -6
  59. package/dist/{vue-ui-radar-CVcnsuAK.js → vue-ui-radar-C6ggXr8y.js} +7 -7
  60. package/dist/{vue-ui-rating-D2wYPFBm.js → vue-ui-rating-COLcK1an.js} +2 -2
  61. package/dist/{vue-ui-relation-circle-D9TquCd5.js → vue-ui-relation-circle-B0rySjIX.js} +6 -6
  62. package/dist/{vue-ui-ridgeline-Cg1Zo2a_.js → vue-ui-ridgeline-BgoqoPtM.js} +8 -8
  63. package/dist/{vue-ui-rings-DUjrPHK_.js → vue-ui-rings-zu_YvMFP.js} +8 -8
  64. package/dist/{vue-ui-scatter-BWB6HCP0.js → vue-ui-scatter-CjW__QNt.js} +8 -8
  65. package/dist/{vue-ui-skeleton-WSSONwJZ.js → vue-ui-skeleton-Qi2Epuis.js} +3 -3
  66. package/dist/{vue-ui-smiley-WLYZ-Ah-.js → vue-ui-smiley-smM23ynJ.js} +2 -2
  67. package/dist/{vue-ui-spark-trend-E6k5O2Rw.js → vue-ui-spark-trend-Cv4G6d8v.js} +3 -3
  68. package/dist/{vue-ui-sparkbar-CNzH63eE.js → vue-ui-sparkbar-DXpIZ08M.js} +3 -3
  69. package/dist/{vue-ui-sparkgauge-Bhh1DXey.js → vue-ui-sparkgauge-Co1_3phQ.js} +3 -3
  70. package/dist/{vue-ui-sparkhistogram-DyLwFyLp.js → vue-ui-sparkhistogram-CnrpMq7q.js} +4 -4
  71. package/dist/{vue-ui-sparkline-uS8cCax1.js → vue-ui-sparkline-DBIyX7De.js} +3 -3
  72. package/dist/{vue-ui-sparkstackbar-C6dYAH8m.js → vue-ui-sparkstackbar-DG9m4jjc.js} +3 -3
  73. package/dist/{vue-ui-stackbar-Dddp2o8G.js → vue-ui-stackbar-DFnVZcfG.js} +9 -9
  74. package/dist/{vue-ui-strip-plot-B6yC9kff.js → vue-ui-strip-plot-B71AVn21.js} +7 -7
  75. package/dist/{vue-ui-table-Cnih0nfc.js → vue-ui-table-a3jegw_8.js} +3 -3
  76. package/dist/{vue-ui-table-heatmap-BS8p2f9Z.js → vue-ui-table-heatmap-KwzL9P1X.js} +5 -5
  77. package/dist/{vue-ui-table-sparkline-CKq52QYD.js → vue-ui-table-sparkline-GDUe5MSH.js} +4 -4
  78. package/dist/{vue-ui-thermometer-DsLI46GU.js → vue-ui-thermometer-ChQNhMs6.js} +6 -6
  79. package/dist/{vue-ui-timer-BJlG0PSO.js → vue-ui-timer-BogRB1RB.js} +5 -5
  80. package/dist/{vue-ui-tiremarks-DdG9sprc.js → vue-ui-tiremarks-UP4Rb3zD.js} +6 -6
  81. package/dist/{vue-ui-treemap-Bv_8qc1b.js → vue-ui-treemap-_QbE2zz7.js} +8 -8
  82. package/dist/{vue-ui-vertical-bar-BFHAmyWq.js → vue-ui-vertical-bar-DLWqyygn.js} +9 -9
  83. package/dist/{vue-ui-waffle-DlU66HMb.js → vue-ui-waffle-NRo2zrSX.js} +8 -8
  84. package/dist/{vue-ui-wheel-hbOXnmiy.js → vue-ui-wheel-BjsTcotR.js} +6 -6
  85. package/dist/{vue-ui-word-cloud-LPiLJ5Oe.js → vue-ui-word-cloud-DZt001R2.js} +6 -6
  86. package/dist/{vue-ui-world-C5XgS-5e.js → vue-ui-world-B0b8jR5D.js} +6 -6
  87. package/dist/{vue-ui-xy-BEZVemUJ.js → vue-ui-xy-BVqPU615.js} +17 -17
  88. package/dist/{vue-ui-xy-canvas-DxVCBwMh.js → vue-ui-xy-canvas-BQqN3x1L.js} +8 -8
  89. package/package.json +1 -1
@@ -1,15 +1,15 @@
1
- import { defineAsyncComponent as E, computed as k, ref as h, watch as at, onMounted as ot, nextTick as st, shallowRef as ut, onBeforeUnmount as Bt, createElementBlock as i, openBlock as n, unref as r, normalizeStyle as ne, normalizeClass as R, createBlock as U, createCommentVNode as m, createVNode as nt, createSlots as Et, withCtx as x, renderSlot as L, normalizeProps as X, guardReactiveProps as W, createElementVNode as y, Fragment as T, renderList as O, toDisplayString as A, withDirectives as rt, vShow as it, createTextVNode as Rt } from "vue";
2
- import { u as Ut, c as Gt, t as Yt, p as _e, a as Xt, G as z, o as Wt, e as q, b as qt, d as Ht, m as Te, f as F, X as Jt, s as Kt, L as Qt, k as Oe, n as H, i as K, x as dt, q as Zt, r as jt, y as el, v as Fe, T as ct } from "./index-R4FwM_IZ.js";
1
+ import { defineAsyncComponent as E, computed as k, ref as h, watch as ot, onMounted as st, nextTick as ut, shallowRef as nt, onBeforeUnmount as Bt, createElementBlock as i, openBlock as n, unref as r, normalizeStyle as ne, normalizeClass as R, createBlock as U, createCommentVNode as m, createVNode as rt, createSlots as Et, withCtx as C, renderSlot as x, normalizeProps as X, guardReactiveProps as W, createElementVNode as p, Fragment as T, renderList as A, toDisplayString as S, withDirectives as it, vShow as dt, createTextVNode as Rt } from "vue";
2
+ import { u as Ut, c as Gt, t as Yt, p as Te, a as Xt, G as z, o as Wt, e as q, b as qt, d as Ht, m as Ae, f as O, X as Jt, s as Kt, L as Qt, k as Oe, n as H, i as K, x as ct, q as Zt, r as jt, y as el, v as Fe, T as vt } from "./index-Dv0soSuJ.js";
3
3
  import { t as tl, u as ll } from "./useResponsive-DfdjqQps.js";
4
- import { u as vt } from "./useNestedProp-BK4CixKz.js";
5
- import { u as al } from "./usePrinter-3YhL7e8Q.js";
4
+ import { u as ht } from "./useNestedProp-9yFImdT2.js";
5
+ import { u as al } from "./usePrinter-DY64Kp3q.js";
6
6
  import { u as ol } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as sl } from "./useChartAccessibility-9icAAmYg.js";
8
- import ul from "./Title-tOz-gEGM.js";
9
- import nl from "./Legend-BQfiyC_w.js";
10
- import rl from "./img-Bb0wcHve.js";
8
+ import ul from "./Title-BiQduNOC.js";
9
+ import nl from "./Legend-n-jNc8hc.js";
10
+ import rl from "./img-D6ti0cqW.js";
11
11
  import { _ as il } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
- const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["id"], fl = ["offset", "stop-color"], pl = ["offset", "stop-opacity"], yl = ["id"], bl = ["id"], gl = ["id"], ml = ["flood-color"], wl = ["d", "fill", "stroke", "stroke-width", "filter"], $l = ["d", "fill", "stroke", "stroke-width"], kl = { key: 1 }, xl = ["d", "fill"], Ll = { key: 2 }, Cl = ["x", "y", "font-size", "font-weight", "fill"], _l = { key: 3 }, Tl = ["filter"], Ol = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], Fl = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], Nl = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Sl = ["d", "fill", "onMouseenter", "onClick"], Al = {
12
+ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["id"], fl = ["offset", "stop-color"], yl = ["offset", "stop-opacity"], pl = ["id"], bl = ["id"], gl = ["id"], ml = ["flood-color"], wl = ["d", "fill", "stroke", "stroke-width", "filter"], $l = ["d", "fill", "stroke", "stroke-width"], kl = { key: 1 }, Cl = ["d", "fill"], xl = { key: 2 }, Ll = ["x", "y", "font-size", "font-weight", "fill"], _l = { key: 3 }, Tl = ["filter"], Al = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], Ol = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], Fl = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Nl = ["d", "fill", "onMouseenter", "onClick"], Sl = {
13
13
  key: 5,
14
14
  class: "vue-data-ui-watermark"
15
15
  }, Il = {
@@ -32,38 +32,38 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
32
32
  }
33
33
  },
34
34
  emits: ["selectLegend", "selectDatapoint"],
35
- setup(ht, { expose: ft, emit: pt }) {
36
- const yt = E(() => import("./vue-ui-accordion-CvmwQkdH.js")), bt = E(() => import("./DataTable-U4EH3cP4.js")), gt = E(() => import("./PackageVersion-NDKFRBq5.js")), mt = E(() => import("./PenAndPaper-CwoLkSrd.js")), wt = E(() => import("./vue-ui-skeleton-WSSONwJZ.js")), $t = E(() => import("./Tooltip-Dw_vV0R_.js")), kt = E(() => import("./UserOptions-Bepf6s0a.js")), { vue_ui_nested_donuts: xt } = Ut(), C = ht, Q = k(() => !!C.dataset && C.dataset.length), b = h(Gt()), re = h(!1), ie = h(""), Lt = h(null), Ne = h(0), V = h(null), Se = h(null), de = h(null), Ae = h(null), Ie = h(null), Ve = h(0), Pe = h(0), De = h(0), M = h(!0), B = h([]), J = h([]), G = h(!1);
37
- function ze(l) {
35
+ setup(ft, { expose: yt, emit: pt }) {
36
+ const bt = E(() => import("./vue-ui-accordion-BkT_q5p5.js")), gt = E(() => import("./DataTable-ZaeZyzyi.js")), mt = E(() => import("./PackageVersion-UowjP5VV.js")), wt = E(() => import("./PenAndPaper-D-V91om_.js")), $t = E(() => import("./vue-ui-skeleton-Qi2Epuis.js")), kt = E(() => import("./Tooltip-BtcoOg7N.js")), Ct = E(() => import("./UserOptions-CH1eWh8-.js")), { vue_ui_nested_donuts: xt } = Ut(), L = ft, Q = k(() => !!L.dataset && L.dataset.length), b = h(Gt()), re = h(!1), ie = h(""), de = h(null), Ne = h(0), V = h(null), Se = h(null), ce = h(null), Ie = h(null), Ve = h(null), Pe = h(0), De = h(0), ze = h(0), M = h(!0), B = h([]), J = h([]), G = h(!1);
37
+ function Me(l) {
38
38
  G.value = l, Ne.value += 1;
39
39
  }
40
40
  const e = k({
41
- get: () => Ee(),
41
+ get: () => Re(),
42
42
  set: (l) => l
43
- }), { userOptionsVisible: ce, setUserOptionsVisibility: Me, keepUserOptionState: Be } = ol({ config: e.value }), { svgRef: Z } = sl({
43
+ }), { userOptionsVisible: ve, setUserOptionsVisibility: Be, keepUserOptionState: Ee } = ol({ config: e.value }), { svgRef: Z } = sl({
44
44
  config: e.value.style.chart.title
45
45
  });
46
- function Ee() {
47
- const l = vt({
48
- userConfig: C.config,
46
+ function Re() {
47
+ const l = ht({
48
+ userConfig: L.config,
49
49
  defaultConfig: xt
50
50
  });
51
51
  return l.theme ? {
52
- ...vt({
53
- userConfig: Xt.vue_ui_nested_donuts[l.theme] || C.config,
52
+ ...ht({
53
+ userConfig: Xt.vue_ui_nested_donuts[l.theme] || L.config,
54
54
  defaultConfig: l
55
55
  }),
56
- customPalette: Yt[l.theme] || _e
56
+ customPalette: Yt[l.theme] || Te
57
57
  } : l;
58
58
  }
59
- at(
60
- () => C.config,
59
+ ot(
60
+ () => L.config,
61
61
  (l) => {
62
- e.value = Ee(), ce.value = !e.value.userOptions.showOnChartHover, ve(), Ve.value += 1, Pe.value += 1, De.value += 1, $.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, $.value.showTable = e.value.table.show, $.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 = Re(), ve.value = !e.value.userOptions.showOnChartHover, he(), Pe.value += 1, De.value += 1, ze.value += 1, $.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, $.value.showTable = e.value.table.show, $.value.showTooltip = e.value.style.chart.tooltip.show, f.value.width = e.value.style.chart.width, f.value.height = e.value.style.chart.height;
63
63
  },
64
64
  { deep: !0 }
65
65
  );
66
- const Re = k(() => {
66
+ const Ue = k(() => {
67
67
  const { top: l, right: s, bottom: a, left: o } = e.value.style.chart.padding;
68
68
  return {
69
69
  css: `padding:${l}px ${s}px ${a}px ${o}px`,
@@ -73,37 +73,37 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
73
73
  left: o
74
74
  };
75
75
  });
76
- function Ct(l, s = 1e3, a = 50) {
76
+ function Lt(l, s = 1e3, a = 50) {
77
77
  return new Promise((o) => {
78
78
  const t = l.length;
79
79
  B.value = Array(t).fill(0), J.value = [];
80
80
  let u = 0;
81
81
  l.forEach((c, v) => {
82
82
  setTimeout(() => {
83
- const N = performance.now();
84
- function d(p) {
85
- const _ = Math.min((p - N) / s, 1), me = ct(_), we = c * me;
86
- B.value[v] = we, B.value = [...B.value];
83
+ const F = performance.now();
84
+ function d(y) {
85
+ const _ = Math.min((y - F) / s, 1), we = vt(_), $e = c * we;
86
+ B.value[v] = $e, B.value = [...B.value];
87
87
  const se = [];
88
- let $e = 0;
89
- C.dataset.forEach((ue, ke) => {
88
+ let ke = 0;
89
+ L.dataset.forEach((ue, Ce) => {
90
90
  const Pt = Fe(ue.series.reduce(
91
- (Le, Ce) => Le + Fe(z(Ce.values).reduce((zt, Mt) => zt + Mt, 0)),
91
+ (Le, _e) => Le + Fe(z(_e.values).reduce((zt, Mt) => zt + Mt, 0)),
92
92
  0
93
- )), Dt = Fe(B.value.slice($e, $e + ue.series.length).reduce((Le, Ce) => Le + Ce, 0)), xe = Pt - Dt;
93
+ )), Dt = Fe(B.value.slice(ke, ke + ue.series.length).reduce((Le, _e) => Le + _e, 0)), xe = Pt - Dt;
94
94
  xe > Number.MIN_VALUE && se.push({
95
95
  name: "__ghost__",
96
96
  arcOf: ue.name,
97
- arcOfId: `${b.value}_${ke}`,
98
- id: `ghost_${b.value}_${ke}`,
97
+ arcOfId: `${b.value}_${Ce}`,
98
+ id: `ghost_${b.value}_${Ce}`,
99
99
  seriesIndex: -1,
100
- datasetIndex: ke,
100
+ datasetIndex: Ce,
101
101
  color: "transparent",
102
102
  value: xe,
103
103
  fullValue: xe,
104
104
  absoluteValues: [],
105
105
  ghost: !0
106
- }), $e += ue.series.length;
106
+ }), ke += ue.series.length;
107
107
  }), J.value = se, _ < 1 ? requestAnimationFrame(d) : (u += 1, u === t && o());
108
108
  }
109
109
  requestAnimationFrame(d);
@@ -111,14 +111,14 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
111
111
  });
112
112
  });
113
113
  }
114
- ot(async () => {
115
- if (ve(), e.value.startAnimation?.show) {
116
- const s = C.dataset.flatMap((a) => a.series).map(
114
+ st(async () => {
115
+ if (he(), e.value.startAnimation?.show) {
116
+ const s = L.dataset.flatMap((a) => a.series).map(
117
117
  (a) => z(a.values).reduce((o, t) => o + t, 0)
118
118
  );
119
- B.value = s.map(() => 0), M.value = !0, J.value = C.dataset.map((a, o) => {
119
+ B.value = s.map(() => 0), M.value = !0, J.value = L.dataset.map((a, o) => {
120
120
  const t = a.series.reduce(
121
- (u, c) => u + z(c.values).reduce((v, N) => v + N, 0),
121
+ (u, c) => u + z(c.values).reduce((v, F) => v + F, 0),
122
122
  0
123
123
  );
124
124
  return {
@@ -134,7 +134,7 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
134
134
  absoluteValues: [],
135
135
  ghost: !0
136
136
  };
137
- }), await st(), Ct(
137
+ }), await ut(), Lt(
138
138
  s,
139
139
  e.value.startAnimation.durationMs,
140
140
  e.value.startAnimation.staggerMs
@@ -144,12 +144,12 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
144
144
  } else
145
145
  M.value = !1;
146
146
  });
147
- const P = ut(null), Y = ut(null);
148
- ot(() => {
149
- ve();
147
+ const P = nt(null), Y = nt(null);
148
+ st(() => {
149
+ he();
150
150
  });
151
- function ve() {
152
- if (Wt(C.dataset) && q({
151
+ function he() {
152
+ if (Wt(L.dataset) && q({
153
153
  componentName: "VueUiNestedDonuts",
154
154
  type: "dataset"
155
155
  }), e.value.responsive) {
@@ -157,10 +157,10 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
157
157
  const { width: s, height: a } = ll({
158
158
  chart: V.value,
159
159
  title: e.value.style.chart.title.text ? Se.value : null,
160
- legend: e.value.style.chart.legend.show ? de.value : null,
161
- source: Ae.value,
162
- noTitle: Ie.value,
163
- padding: Re.value
160
+ legend: e.value.style.chart.legend.show ? ce.value : null,
161
+ source: Ie.value,
162
+ noTitle: Ve.value,
163
+ padding: Ue.value
164
164
  });
165
165
  requestAnimationFrame(() => {
166
166
  f.value.width = s, f.value.height = a;
@@ -172,7 +172,7 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
172
172
  Bt(() => {
173
173
  P.value && (Y.value && P.value.unobserve(Y.value), P.value.disconnect());
174
174
  });
175
- const { isPrinting: Ue, isImaging: Ge, generatePdf: Ye, generateImage: Xe } = al({
175
+ const { isPrinting: Ge, isImaging: Ye, generatePdf: Xe, generateImage: We } = al({
176
176
  elementId: `nested_donuts_${b.value}`,
177
177
  fileName: e.value.style.chart.title.text || "vue-ui-nested-donuts",
178
178
  options: e.value.userOptions.print
@@ -185,27 +185,27 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
185
185
  }), f = h({
186
186
  width: e.value.style.chart.width,
187
187
  height: e.value.style.chart.height
188
- }), We = pt;
189
- function Ot({ datapoint: l, index: s }) {
190
- We("selectDatapoint", { datapoint: l, index: s });
188
+ }), qe = pt;
189
+ function At({ datapoint: l, index: s }) {
190
+ qe("selectDatapoint", { datapoint: l, index: s });
191
191
  }
192
- function qe({
192
+ function He({
193
193
  from: l,
194
194
  to: s,
195
195
  duration: a,
196
196
  onUpdate: o,
197
197
  onDone: t,
198
- easing: u = ct
198
+ easing: u = vt
199
199
  }) {
200
200
  const c = performance.now();
201
- function v(N) {
202
- const d = Math.min((N - c) / a, 1), p = u(d), _ = l + (s - l) * p;
201
+ function v(F) {
202
+ const d = Math.min((F - c) / a, 1), y = u(d), _ = l + (s - l) * y;
203
203
  o(_, d), d < 1 ? requestAnimationFrame(v) : (o(s, 1), t && t());
204
204
  }
205
205
  requestAnimationFrame(v);
206
206
  }
207
- const w = h([]), S = k(() => {
208
- C.dataset.forEach((s, a) => {
207
+ const w = h([]), N = k(() => {
208
+ L.dataset.forEach((s, a) => {
209
209
  [null, void 0].includes(s.name) && q({
210
210
  componentName: "VueUiNestedDonuts",
211
211
  type: "datasetSerieAttribute",
@@ -237,7 +237,7 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
237
237
  });
238
238
  });
239
239
  let l = 0;
240
- return C.dataset.map((s, a) => ({
240
+ return L.dataset.map((s, a) => ({
241
241
  ...s,
242
242
  total: s.series.filter((o) => !w.value.includes(o.id)).map((o) => z(o.values).reduce((t, u) => t + u, 0)).reduce((o, t) => o + t, 0),
243
243
  datasetIndex: a,
@@ -251,13 +251,13 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
251
251
  id: `${b.value}_${a}_${t}`,
252
252
  seriesIndex: t,
253
253
  datasetIndex: a,
254
- color: Ht(o.color) || Tt.value[t] || _e[t % _e.length],
254
+ color: Ht(o.color) || Tt.value[t] || Te[t % Te.length],
255
255
  value: M.value ? B.value[l++] ?? 0 : u,
256
256
  absoluteValues: o.values || []
257
257
  };
258
258
  })
259
259
  }));
260
- }), I = k(() => Math.min(f.value.height, f.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)), He = k(() => [...S.value].map((l, s) => {
260
+ }), I = k(() => Math.min(f.value.height, f.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)), Je = k(() => [...N.value].map((l, s) => {
261
261
  const a = l.series.filter((o) => !w.value.includes(o.id)).map((o) => o.value).reduce((o, t) => o + t, 0);
262
262
  return {
263
263
  ...l,
@@ -268,59 +268,59 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
268
268
  }))
269
269
  };
270
270
  }));
271
- function Ft(l, s, a) {
271
+ function Ot(l, s, a) {
272
272
  let o = 0;
273
273
  for (let t = 0; t < l.length; t += 1)
274
274
  a.includes(l[t]) && (o += 1);
275
275
  return o < s;
276
276
  }
277
- const g = h(He.value);
278
- at(
279
- () => He.value,
277
+ const g = h(Je.value);
278
+ ot(
279
+ () => Je.value,
280
280
  (l) => g.value = l
281
281
  );
282
- function he(l) {
283
- We("selectLegend", l);
284
- const s = C.dataset.flatMap(
285
- (d, p) => d.series.map((_, me) => ({
286
- value: z(_.values).reduce((we, se) => we + se, 0),
287
- id: `${b.value}_${p}_${me}`,
288
- arcOfId: `${b.value}_${p}`
282
+ function fe(l) {
283
+ qe("selectLegend", l);
284
+ const s = L.dataset.flatMap(
285
+ (d, y) => d.series.map((_, we) => ({
286
+ value: z(_.values).reduce(($e, se) => $e + se, 0),
287
+ id: `${b.value}_${y}_${we}`,
288
+ arcOfId: `${b.value}_${y}`
289
289
  }))
290
290
  ).find((d) => d.id === l.id);
291
291
  if (!s) return;
292
- const a = S.value.flatMap((d) => d.series).find((d) => d.id === l.id)?.value ?? 0, o = g.value.flatMap((d) => d.series).find((d) => d.id === l.id);
292
+ const a = N.value.flatMap((d) => d.series).find((d) => d.id === l.id)?.value ?? 0, o = g.value.flatMap((d) => d.series).find((d) => d.id === l.id);
293
293
  let u = o ? o.value : 0;
294
- const c = S.value.find(
294
+ const c = N.value.find(
295
295
  (d) => d.id === s.arcOfId
296
296
  );
297
297
  if (!c) return;
298
- const v = c.series.map((d) => d.id), N = Ft(
298
+ const v = c.series.map((d) => d.id), F = Ot(
299
299
  v,
300
300
  v.length - 1,
301
301
  w.value
302
302
  );
303
- w.value.includes(l.id) ? (w.value = w.value.filter((d) => d !== l.id), e.value.serieToggleAnimation.show ? qe({
303
+ w.value.includes(l.id) ? (w.value = w.value.filter((d) => d !== l.id), e.value.serieToggleAnimation.show ? He({
304
304
  from: u,
305
305
  to: a,
306
306
  duration: e.value.serieToggleAnimation.durationMs,
307
307
  onUpdate: (d) => {
308
- g.value = g.value.map((p) => ({
309
- ...p,
310
- series: p.series.map((_) => _.id === l.id ? { ..._, value: d } : _)
308
+ g.value = g.value.map((y) => ({
309
+ ...y,
310
+ series: y.series.map((_) => _.id === l.id ? { ..._, value: d } : _)
311
311
  }));
312
312
  }
313
313
  }) : g.value = g.value.map((d) => ({
314
314
  ...d,
315
- series: d.series.map((p) => p.id === l.id ? { ...p, value: a } : p)
316
- }))) : N && (e.value.serieToggleAnimation.show ? qe({
315
+ series: d.series.map((y) => y.id === l.id ? { ...y, value: a } : y)
316
+ }))) : F && (e.value.serieToggleAnimation.show ? He({
317
317
  from: u,
318
318
  to: 0,
319
319
  duration: e.value.serieToggleAnimation.durationMs,
320
320
  onUpdate: (d) => {
321
- g.value = g.value.map((p) => ({
322
- ...p,
323
- series: p.series.map((_) => _.id === l.id ? { ..._, value: d } : _)
321
+ g.value = g.value.map((y) => ({
322
+ ...y,
323
+ series: y.series.map((_) => _.id === l.id ? { ..._, value: d } : _)
324
324
  }));
325
325
  },
326
326
  onDone: () => {
@@ -328,14 +328,14 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
328
328
  }
329
329
  }) : (g.value = g.value.map((d) => ({
330
330
  ...d,
331
- series: d.series.map((p) => p.id === l.id ? { ...p, value: 0 } : p)
331
+ series: d.series.map((y) => y.id === l.id ? { ...y, value: 0 } : y)
332
332
  })), w.value.push(l.id)));
333
333
  }
334
- const j = k(() => I.value / S.value.length * e.value.style.chart.layout.donut.spacingRatio), Je = k(() => g.value.map((l, s) => I.value - s * I.value / S.value.length)), ee = k(() => g.value.map((l, s) => {
335
- const a = Math.abs(l.series.map((v) => v.value).reduce((v, N) => v + N, 0)) > 0, o = I.value - s * I.value / g.value.length, t = M.value ? J.value.find((v) => v.datasetIndex === s) : null, u = [...l.series, ...t ? [t] : []].map((v) => ({
334
+ const j = k(() => I.value / N.value.length * e.value.style.chart.layout.donut.spacingRatio), Ke = k(() => g.value.map((l, s) => I.value - s * I.value / N.value.length)), ee = k(() => g.value.map((l, s) => {
335
+ const a = Math.abs(l.series.map((v) => v.value).reduce((v, F) => v + F, 0)) > 0, o = I.value - s * I.value / g.value.length, t = M.value ? J.value.find((v) => v.datasetIndex === s) : null, u = [...l.series, ...t ? [t] : []].map((v) => ({
336
336
  ...v,
337
337
  value: v.value < 1e-11 ? Number.MIN_VALUE : v.value
338
- })), c = Te(
338
+ })), c = Ae(
339
339
  { series: [
340
340
  { name: "_", color: e.value.style.chart.layout.donut.emptyFill, value: 1 }
341
341
  ] },
@@ -355,7 +355,7 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
355
355
  hasData: a,
356
356
  radius: o,
357
357
  skeleton: c,
358
- donut: Te(
358
+ donut: Ae(
359
359
  { series: u },
360
360
  f.value.width / 2,
361
361
  f.value.height / 2,
@@ -369,11 +369,11 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
369
369
  j.value
370
370
  )
371
371
  };
372
- })), Ke = k(() => [...S.value].map((l, s) => {
373
- const a = s * I.value / S.value.length;
372
+ })), Qe = k(() => [...N.value].map((l, s) => {
373
+ const a = s * I.value / N.value.length;
374
374
  return {
375
375
  sizeRatio: a,
376
- donut: Te(
376
+ donut: Ae(
377
377
  { series: [{ value: 1 }] },
378
378
  f.value.width / 2,
379
379
  f.value.height / 2,
@@ -384,19 +384,19 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
384
384
  1,
385
385
  360,
386
386
  105.25,
387
- I.value / S.value.length * e.value.style.chart.layout.donut.spacingRatio
387
+ I.value / N.value.length * e.value.style.chart.layout.donut.spacingRatio
388
388
  )[0]
389
389
  };
390
- })), Qe = h(null), te = h(null), le = h(null), fe = h(null);
391
- function Nt({ datapoint: l, _relativeIndex: s, seriesIndex: a }) {
392
- Qe.value = l.arcOfId, te.value = l.id, le.value = a, fe.value = {
390
+ })), Ze = h(null), te = h(null), le = h(null), ye = h(null);
391
+ function Ft({ datapoint: l, _relativeIndex: s, seriesIndex: a }) {
392
+ Ze.value = l.arcOfId, te.value = l.id, le.value = a, de.value = l.id, ye.value = {
393
393
  datapoint: l,
394
394
  seriesIndex: a,
395
395
  series: g.value,
396
396
  config: e.value
397
397
  };
398
398
  const o = e.value.style.chart.tooltip.customFormat;
399
- if (dt(o) && el(
399
+ if (ct(o) && el(
400
400
  () => o({
401
401
  seriesIndex: a,
402
402
  datapoint: l,
@@ -430,7 +430,7 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
430
430
  ${e.value.style.chart.tooltip.showValue ? `<b>${K(
431
431
  e.value.style.chart.layout.labels.dataLabels.formatter,
432
432
  l.value,
433
- F({
433
+ O({
434
434
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
435
435
  v: l.value,
436
436
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -439,7 +439,7 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
439
439
  { datapoint: l, seriesIndex: a }
440
440
  )}
441
441
  </b>` : ""}
442
- ${e.value.style.chart.tooltip.showPercentage ? `(${F({
442
+ ${e.value.style.chart.tooltip.showPercentage ? `(${O({
443
443
  v: c.proportion * 100,
444
444
  s: "%",
445
445
  r: e.value.style.chart.tooltip.roundingPercentage
@@ -452,18 +452,18 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
452
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(
453
453
  e.value.style.chart.layout.labels.dataLabels.formatter,
454
454
  l.value,
455
- F({
455
+ O({
456
456
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
457
457
  v: l.value,
458
458
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
459
459
  r: e.value.style.chart.tooltip.roundingValue
460
460
  }),
461
461
  { datapoint: l, seriesIndex: a }
462
- )}</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? t += `<span>(${F({
462
+ )}</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? t += `<span>(${O({
463
463
  v: l.proportion * 100,
464
464
  s: "%",
465
465
  r: e.value.style.chart.tooltip.roundingPercentage
466
- })})</span></div>` : t += `<b>${F({
466
+ })})</span></div>` : t += `<b>${O({
467
467
  v: l.proportion * 100,
468
468
  s: "%",
469
469
  r: e.value.style.chart.tooltip.roundingPercentage
@@ -475,7 +475,7 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
475
475
  function pe(l) {
476
476
  return l.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
477
477
  }
478
- function Ze(l, s) {
478
+ function je(l, s) {
479
479
  if (!e.value.useBlurOnHover)
480
480
  return "";
481
481
  if (e.value.style.chart.tooltip.showAllItemsAtIndex && w.value.length === 0)
@@ -483,20 +483,20 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
483
483
  if (!e.value.style.chart.tooltip.showAllItemsAtIndex || w.value.length)
484
484
  return [null, void 0].includes(te.value) || te.value === l.id ? "" : `url(#blur_${b.value})`;
485
485
  }
486
- const ye = k(() => S.value.map((l, s) => {
486
+ const be = k(() => N.value.map((l, s) => {
487
487
  const a = l.series.filter(
488
488
  (t) => !w.value.includes(t.id)
489
489
  ), o = M.value ? a.map((t) => {
490
- const u = C.dataset[s].series.findIndex(
490
+ const u = L.dataset[s].series.findIndex(
491
491
  (c) => c.name === t.name
492
492
  );
493
493
  return z(
494
- C.dataset[s].series[u].values
494
+ L.dataset[s].series[u].values
495
495
  ).reduce((c, v) => c + v, 0);
496
496
  }).reduce((t, u) => t + u, 0) : a.map((t) => t.value).reduce((t, u) => t + u, 0);
497
497
  return l.series.map((t, u) => {
498
- const c = z(C.dataset[s].series[u].values).reduce(
499
- (N, d) => N + d,
498
+ const c = z(L.dataset[s].series[u].values).reduce(
499
+ (F, d) => F + d,
500
500
  0
501
501
  ), v = M.value ? c : t.value;
502
502
  return {
@@ -510,11 +510,11 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
510
510
  datasetIndex: s,
511
511
  total: o,
512
512
  opacity: w.value.includes(t.id) ? 0.5 : 1,
513
- segregate: () => he(t),
513
+ segregate: () => fe(t),
514
514
  isSegregated: w.value.includes(t.id)
515
515
  };
516
516
  });
517
- })), St = k(() => ({
517
+ })), Nt = k(() => ({
518
518
  cy: "nested-donuts-legend",
519
519
  backgroundColor: e.value.style.chart.legend.backgroundColor,
520
520
  color: e.value.style.chart.legend.color,
@@ -529,8 +529,8 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
529
529
  }))), s = g.value.flatMap((a) => a.series.map((o) => o.value));
530
530
  return { head: l, body: s };
531
531
  });
532
- function je(l = null) {
533
- st(() => {
532
+ function et(l = null) {
533
+ ut(() => {
534
534
  const s = D.value.head.map((t, u) => [
535
535
  [t.name],
536
536
  [D.value.body[u]],
@@ -554,7 +554,7 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
554
554
  e.value.table.columnNames.value,
555
555
  e.value.table.columnNames.percentage
556
556
  ], s = D.value.head.map((t, u) => {
557
- const c = F({
557
+ const c = O({
558
558
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
559
559
  v: D.value.body[u],
560
560
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -566,7 +566,7 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
566
566
  name: t.name
567
567
  },
568
568
  c,
569
- isNaN(D.value.body[u] / t.total) ? "-" : F({
569
+ isNaN(D.value.body[u] / t.total) ? "-" : O({
570
570
  v: D.value.body[u] / t.total * 100,
571
571
  s: "%",
572
572
  r: e.value.table.td.roundingPercentage
@@ -596,20 +596,20 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
596
596
  config: a
597
597
  };
598
598
  });
599
- function At() {
600
- return S.value;
599
+ function St() {
600
+ return N.value;
601
601
  }
602
- function et() {
602
+ function tt() {
603
603
  $.value.showTable = !$.value.showTable;
604
604
  }
605
- function tt() {
605
+ function lt() {
606
606
  $.value.dataLabels.show = !$.value.dataLabels.show;
607
607
  }
608
- function lt() {
608
+ function at() {
609
609
  $.value.showTooltip = !$.value.showTooltip;
610
610
  }
611
611
  const oe = h(!1);
612
- function be() {
612
+ function ge() {
613
613
  oe.value = !oe.value;
614
614
  }
615
615
  async function It({ scale: l = 2 } = {}) {
@@ -624,45 +624,45 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
624
624
  aspectRatio: o
625
625
  };
626
626
  }
627
- const ge = h(null);
627
+ const me = h(null);
628
628
  function Vt() {
629
- if (!ge.value) return;
630
- const { x: l, y: s, width: a, height: o } = ge.value.getBBox();
629
+ if (!me.value) return;
630
+ const { x: l, y: s, width: a, height: o } = me.value.getBBox();
631
631
  Z.value && Z.value.setAttribute("viewBox", `${l} ${s} ${a + Math.min(0, l)} ${o + Math.min(0, s)}`);
632
632
  }
633
- return ft({
633
+ return yt({
634
634
  autoSize: Vt,
635
- getData: At,
635
+ getData: St,
636
636
  getImage: It,
637
- generatePdf: Ye,
638
- generateCsv: je,
639
- generateImage: Xe,
640
- toggleTable: et,
641
- toggleLabels: tt,
642
- toggleTooltip: lt,
643
- toggleAnnotator: be,
644
- toggleFullscreen: ze
637
+ generatePdf: Xe,
638
+ generateCsv: et,
639
+ generateImage: We,
640
+ toggleTable: tt,
641
+ toggleLabels: lt,
642
+ toggleTooltip: at,
643
+ toggleAnnotator: ge,
644
+ toggleFullscreen: Me
645
645
  }), (l, s) => (n(), i("div", {
646
646
  ref_key: "nestedDonutsChart",
647
647
  ref: V,
648
648
  class: R(`vue-ui-nested-donuts ${G.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
649
649
  style: ne(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
650
650
  id: `nested_donuts_${b.value}`,
651
- onMouseenter: s[3] || (s[3] = () => r(Me)(!0)),
652
- onMouseleave: s[4] || (s[4] = () => r(Me)(!1))
651
+ onMouseenter: s[3] || (s[3] = () => r(Be)(!0)),
652
+ onMouseleave: s[4] || (s[4] = () => r(Be)(!1))
653
653
  }, [
654
- e.value.userOptions.buttons.annotator ? (n(), U(r(mt), {
654
+ e.value.userOptions.buttons.annotator ? (n(), U(r(wt), {
655
655
  key: 0,
656
656
  svgRef: r(Z),
657
657
  backgroundColor: e.value.style.chart.backgroundColor,
658
658
  color: e.value.style.chart.color,
659
659
  active: oe.value,
660
- onClose: be
660
+ onClose: ge
661
661
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : m("", !0),
662
662
  _t.value ? (n(), i("div", {
663
663
  key: 1,
664
664
  ref_key: "noTitle",
665
- ref: Ie,
665
+ ref: Ve,
666
666
  class: "vue-data-ui-no-title-space",
667
667
  style: "height:36px; width: 100%;background:transparent"
668
668
  }, null, 512)) : m("", !0),
@@ -672,7 +672,7 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
672
672
  ref: Se
673
673
  }, [
674
674
  (n(), U(ul, {
675
- key: `title_${Ve.value}`,
675
+ key: `title_${Pe.value}`,
676
676
  config: {
677
677
  title: {
678
678
  cy: "donut-div-title",
@@ -685,13 +685,13 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
685
685
  }
686
686
  }, null, 8, ["config"]))
687
687
  ], 512)) : m("", !0),
688
- e.value.userOptions.show && Q.value && (r(Be) || r(ce)) ? (n(), U(r(kt), {
688
+ e.value.userOptions.show && Q.value && (r(Ee) || r(ve)) ? (n(), U(r(Ct), {
689
689
  ref: "details",
690
690
  key: `user_option_${Ne.value}`,
691
691
  backgroundColor: e.value.style.chart.backgroundColor,
692
692
  color: e.value.style.chart.color,
693
- isPrinting: r(Ue),
694
- isImaging: r(Ge),
693
+ isPrinting: r(Ge),
694
+ isImaging: r(Ye),
695
695
  uid: b.value,
696
696
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
697
697
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -709,78 +709,78 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
709
709
  isAnnotation: oe.value,
710
710
  callbacks: e.value.userOptions.callbacks,
711
711
  printScale: e.value.userOptions.print.scale,
712
- onToggleFullscreen: ze,
713
- onGeneratePdf: r(Ye),
714
- onGenerateCsv: je,
715
- onGenerateImage: r(Xe),
716
- onToggleTable: et,
717
- onToggleLabels: tt,
718
- onToggleTooltip: lt,
719
- onToggleAnnotator: be,
712
+ onToggleFullscreen: Me,
713
+ onGeneratePdf: r(Xe),
714
+ onGenerateCsv: et,
715
+ onGenerateImage: r(We),
716
+ onToggleTable: tt,
717
+ onToggleLabels: lt,
718
+ onToggleTooltip: at,
719
+ onToggleAnnotator: ge,
720
720
  style: ne({
721
- visibility: r(Be) ? r(ce) ? "visible" : "hidden" : "visible"
721
+ visibility: r(Ee) ? r(ve) ? "visible" : "hidden" : "visible"
722
722
  })
723
723
  }, Et({ _: 2 }, [
724
724
  l.$slots.menuIcon ? {
725
725
  name: "menuIcon",
726
- fn: x(({ isOpen: a, color: o }) => [
727
- L(l.$slots, "menuIcon", X(W({ isOpen: a, color: o })), void 0, !0)
726
+ fn: C(({ isOpen: a, color: o }) => [
727
+ x(l.$slots, "menuIcon", X(W({ isOpen: a, color: o })), void 0, !0)
728
728
  ]),
729
729
  key: "0"
730
730
  } : void 0,
731
731
  l.$slots.optionTooltip ? {
732
732
  name: "optionTooltip",
733
- fn: x(() => [
734
- L(l.$slots, "optionTooltip", {}, void 0, !0)
733
+ fn: C(() => [
734
+ x(l.$slots, "optionTooltip", {}, void 0, !0)
735
735
  ]),
736
736
  key: "1"
737
737
  } : void 0,
738
738
  l.$slots.optionPdf ? {
739
739
  name: "optionPdf",
740
- fn: x(() => [
741
- L(l.$slots, "optionPdf", {}, void 0, !0)
740
+ fn: C(() => [
741
+ x(l.$slots, "optionPdf", {}, void 0, !0)
742
742
  ]),
743
743
  key: "2"
744
744
  } : void 0,
745
745
  l.$slots.optionCsv ? {
746
746
  name: "optionCsv",
747
- fn: x(() => [
748
- L(l.$slots, "optionCsv", {}, void 0, !0)
747
+ fn: C(() => [
748
+ x(l.$slots, "optionCsv", {}, void 0, !0)
749
749
  ]),
750
750
  key: "3"
751
751
  } : void 0,
752
752
  l.$slots.optionImg ? {
753
753
  name: "optionImg",
754
- fn: x(() => [
755
- L(l.$slots, "optionImg", {}, void 0, !0)
754
+ fn: C(() => [
755
+ x(l.$slots, "optionImg", {}, void 0, !0)
756
756
  ]),
757
757
  key: "4"
758
758
  } : void 0,
759
759
  l.$slots.optionTable ? {
760
760
  name: "optionTable",
761
- fn: x(() => [
762
- L(l.$slots, "optionTable", {}, void 0, !0)
761
+ fn: C(() => [
762
+ x(l.$slots, "optionTable", {}, void 0, !0)
763
763
  ]),
764
764
  key: "5"
765
765
  } : void 0,
766
766
  l.$slots.optionLabels ? {
767
767
  name: "optionLabels",
768
- fn: x(() => [
769
- L(l.$slots, "optionLabels", {}, void 0, !0)
768
+ fn: C(() => [
769
+ x(l.$slots, "optionLabels", {}, void 0, !0)
770
770
  ]),
771
771
  key: "6"
772
772
  } : void 0,
773
773
  l.$slots.optionFullscreen ? {
774
774
  name: "optionFullscreen",
775
- fn: x(({ toggleFullscreen: a, isFullscreen: o }) => [
776
- L(l.$slots, "optionFullscreen", X(W({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
775
+ fn: C(({ toggleFullscreen: a, isFullscreen: o }) => [
776
+ x(l.$slots, "optionFullscreen", X(W({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
777
777
  ]),
778
778
  key: "7"
779
779
  } : void 0,
780
780
  l.$slots.optionAnnotator ? {
781
781
  name: "optionAnnotator",
782
- fn: x(({ toggleAnnotator: a, isAnnotator: o }) => [
783
- L(l.$slots, "optionAnnotator", X(W({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
782
+ fn: C(({ toggleAnnotator: a, isAnnotator: o }) => [
783
+ x(l.$slots, "optionAnnotator", X(W({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
784
784
  ]),
785
785
  key: "8"
786
786
  } : void 0
@@ -796,14 +796,14 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
796
796
  "vue-data-ui-svg": !0
797
797
  }),
798
798
  viewBox: `0 0 ${f.value.width <= 0 ? 1e-3 : f.value.width} ${f.value.height < 0 ? 1e-3 : f.value.height}`,
799
- style: ne(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};${Re.value.css}`)
799
+ style: ne(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};${Ue.value.css}`)
800
800
  }, [
801
- y("g", {
801
+ p("g", {
802
802
  ref_key: "G",
803
- ref: ge,
803
+ ref: me,
804
804
  class: "vue-data-ui-g"
805
805
  }, [
806
- nt(r(gt)),
806
+ rt(r(mt)),
807
807
  l.$slots["chart-background"] ? (n(), i("foreignObject", {
808
808
  key: 0,
809
809
  x: 0,
@@ -814,57 +814,57 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
814
814
  pointerEvents: "none"
815
815
  }
816
816
  }, [
817
- L(l.$slots, "chart-background", {}, void 0, !0)
817
+ x(l.$slots, "chart-background", {}, void 0, !0)
818
818
  ], 8, vl)) : m("", !0),
819
- y("defs", null, [
820
- (n(!0), i(T, null, O(Ke.value, (a, o) => (n(), i("radialGradient", {
819
+ p("defs", null, [
820
+ (n(!0), i(T, null, A(Qe.value, (a, o) => (n(), i("radialGradient", {
821
821
  id: `radial_${b.value}_${o}`
822
822
  }, [
823
- s[5] || (s[5] = y("stop", {
823
+ s[5] || (s[5] = p("stop", {
824
824
  offset: "0%",
825
825
  "stop-color": "#FFFFFF",
826
826
  "stop-opacity": "0"
827
827
  }, null, -1)),
828
- y("stop", {
829
- offset: `${(1 - j.value / Je.value[o]) * 100}%`,
828
+ p("stop", {
829
+ offset: `${(1 - j.value / Ke.value[o]) * 100}%`,
830
830
  "stop-color": r(Kt)("#FFFFFF", 0),
831
831
  "stop-opacity": "0"
832
832
  }, null, 8, fl),
833
- y("stop", {
834
- offset: `${(1 - j.value / Je.value[o] / 2) * 100}%`,
833
+ p("stop", {
834
+ offset: `${(1 - j.value / Ke.value[o] / 2) * 100}%`,
835
835
  "stop-color": "#FFFFFF",
836
836
  "stop-opacity": e.value.style.chart.gradientIntensity / 100
837
- }, null, 8, pl),
838
- s[6] || (s[6] = y("stop", {
837
+ }, null, 8, yl),
838
+ s[6] || (s[6] = p("stop", {
839
839
  offset: "100%",
840
840
  "stop-color": "#FFFFFF",
841
841
  "stop-opacity": "0"
842
842
  }, null, -1))
843
843
  ], 8, hl))), 256))
844
844
  ]),
845
- y("defs", null, [
846
- y("filter", {
845
+ p("defs", null, [
846
+ p("filter", {
847
847
  id: `blur_${b.value}`,
848
848
  x: "-50%",
849
849
  y: "-50%",
850
850
  width: "200%",
851
851
  height: "200%"
852
852
  }, [
853
- y("feGaussianBlur", {
853
+ p("feGaussianBlur", {
854
854
  in: "SourceGraphic",
855
855
  stdDeviation: 2,
856
856
  id: `blur_std_${b.value}`
857
857
  }, null, 8, bl),
858
- s[7] || (s[7] = y("feColorMatrix", {
858
+ s[7] || (s[7] = p("feColorMatrix", {
859
859
  type: "saturate",
860
860
  values: "0"
861
861
  }, null, -1))
862
- ], 8, yl),
863
- y("filter", {
862
+ ], 8, pl),
863
+ p("filter", {
864
864
  id: `shadow_${b.value}`,
865
865
  "color-interpolation-filters": "sRGB"
866
866
  }, [
867
- y("feDropShadow", {
867
+ p("feDropShadow", {
868
868
  dx: "0",
869
869
  dy: "0",
870
870
  stdDeviation: "10",
@@ -873,39 +873,39 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
873
873
  }, null, 8, ml)
874
874
  ], 8, gl)
875
875
  ]),
876
- (n(!0), i(T, null, O(ee.value, (a, o) => (n(), i("g", null, [
877
- a.hasData ? (n(!0), i(T, { key: 0 }, O(a.donut.filter((t) => !t.ghost), (t, u) => (n(), i("g", null, [
878
- y("path", {
876
+ (n(!0), i(T, null, A(ee.value, (a, o) => (n(), i("g", null, [
877
+ a.hasData ? (n(!0), i(T, { key: 0 }, A(a.donut.filter((t) => !t.ghost), (t, u) => (n(), i("g", null, [
878
+ p("path", {
879
879
  class: "vue-ui-donut-arc-path",
880
880
  d: t.arcSlice,
881
881
  fill: t.color,
882
- stroke: e.value.style.chart.backgroundColor,
882
+ stroke: e.value.style.chart.layout.donut.borderColorAuto ? e.value.style.chart.backgroundColor : e.value.style.chart.layout.donut.borderColor,
883
883
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
884
- filter: Ze(t, u)
884
+ filter: je(t, u)
885
885
  }, null, 8, wl)
886
- ]))), 256)) : (n(!0), i(T, { key: 1 }, O(a.skeleton, (t, u) => (n(), i("g", null, [
887
- y("path", {
886
+ ]))), 256)) : (n(!0), i(T, { key: 1 }, A(a.skeleton, (t, u) => (n(), i("g", null, [
887
+ p("path", {
888
888
  class: "vue-ui-donut-arc-path",
889
889
  d: t.arcSlice,
890
890
  fill: t.color,
891
- stroke: e.value.style.chart.backgroundColor,
891
+ stroke: e.value.style.chart.layout.donut.borderColorAuto ? e.value.style.chart.backgroundColor : e.value.style.chart.layout.donut.borderColor,
892
892
  "stroke-width": e.value.style.chart.layout.donut.borderWidth
893
893
  }, null, 8, $l)
894
894
  ]))), 256))
895
895
  ]))), 256)),
896
896
  e.value.style.chart.useGradient ? (n(), i("g", kl, [
897
- (n(!0), i(T, null, O(Ke.value, (a, o) => (n(), i("g", null, [
898
- y("path", {
897
+ (n(!0), i(T, null, A(Qe.value, (a, o) => (n(), i("g", null, [
898
+ p("path", {
899
899
  d: a.donut.arcSlice,
900
900
  fill: `url(#radial_${b.value}_${o})`,
901
901
  stroke: "transparent",
902
902
  "stroke-width": "0"
903
- }, null, 8, xl)
903
+ }, null, 8, Cl)
904
904
  ]))), 256))
905
905
  ])) : m("", !0),
906
- e.value.style.chart.layout.labels.dataLabels.showDonutName ? (n(), i("g", Ll, [
907
- (n(!0), i(T, null, O(ee.value, (a, o) => (n(), i("g", null, [
908
- (n(!0), i(T, null, O(a.donut, (t, u) => (n(), i("g", null, [
906
+ e.value.style.chart.layout.labels.dataLabels.showDonutName ? (n(), i("g", xl, [
907
+ (n(!0), i(T, null, A(ee.value, (a, o) => (n(), i("g", null, [
908
+ (n(!0), i(T, null, A(a.donut, (t, u) => (n(), i("g", null, [
909
909
  u === 0 && f.value.width && f.value.height ? (n(), i("text", {
910
910
  key: 0,
911
911
  class: R({ animated: e.value.useCssAnimation }),
@@ -915,19 +915,19 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
915
915
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
916
916
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldDonutName ? "bold" : "normal",
917
917
  fill: e.value.style.chart.layout.labels.dataLabels.color
918
- }, A(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? r(Qt)({
918
+ }, S(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? r(Qt)({
919
919
  source: a.name,
920
920
  length: e.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize
921
- }) : a.name), 11, Cl)) : m("", !0)
921
+ }) : a.name), 11, Ll)) : m("", !0)
922
922
  ]))), 256))
923
923
  ]))), 256))
924
924
  ])) : m("", !0),
925
925
  e.value.style.chart.layout.labels.dataLabels.show ? (n(), i("g", _l, [
926
- (n(!0), i(T, null, O(ee.value, (a, o) => (n(), i("g", null, [
927
- (n(!0), i(T, null, O(a.donut.filter((t) => !t.ghost), (t, u) => (n(), i("g", {
928
- filter: Ze(t, u)
926
+ (n(!0), i(T, null, A(ee.value, (a, o) => (n(), i("g", null, [
927
+ (n(!0), i(T, null, A(a.donut.filter((t) => !t.ghost), (t, u) => (n(), i("g", {
928
+ filter: je(t, u)
929
929
  }, [
930
- rt(y("text", {
930
+ it(p("text", {
931
931
  class: R({ animated: e.value.useCssAnimation }),
932
932
  opacity: pe(t) ? 1 : 0,
933
933
  "text-anchor": r(H)(t, !0).anchor,
@@ -944,17 +944,17 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
944
944
  fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? t.color : e.value.style.chart.layout.labels.dataLabels.color,
945
945
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
946
946
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldPercentage ? "bold" : "normal"
947
- }, A(r(F)({
947
+ }, S(r(O)({
948
948
  v: t.proportion * 100,
949
949
  s: "%",
950
950
  r: e.value.style.chart.layout.labels.dataLabels.roundingPercentage
951
- })), 11, Ol), [
951
+ })), 11, Al), [
952
952
  [
953
- it,
953
+ dt,
954
954
  $.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage
955
955
  ]
956
956
  ]),
957
- rt(y("text", {
957
+ it(p("text", {
958
958
  class: R({ animated: e.value.useCssAnimation }),
959
959
  opacity: pe(t) ? 1 : 0,
960
960
  "text-anchor": r(H)(t, !0).anchor,
@@ -971,19 +971,19 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
971
971
  fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? t.color : e.value.style.chart.layout.labels.dataLabels.color,
972
972
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
973
973
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldValue ? "bold" : "normal"
974
- }, " (" + A(r(K)(
974
+ }, " (" + S(r(K)(
975
975
  e.value.style.chart.layout.labels.dataLabels.formatter,
976
976
  t.value,
977
- r(F)({
977
+ r(O)({
978
978
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
979
979
  v: t.value,
980
980
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
981
981
  r: e.value.style.chart.layout.labels.dataLabels.roundingValue
982
982
  }),
983
983
  { datapoint: t, seriesIndex: o, datapointIndex: u }
984
- )) + ") ", 11, Fl), [
984
+ )) + ") ", 11, Ol), [
985
985
  [
986
- it,
986
+ dt,
987
987
  $.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue
988
988
  ]
989
989
  ]),
@@ -1004,43 +1004,43 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
1004
1004
  fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? t.color : e.value.style.chart.layout.labels.dataLabels.color,
1005
1005
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
1006
1006
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldValue ? "bold" : "normal"
1007
- }, A(r(K)(
1007
+ }, S(r(K)(
1008
1008
  e.value.style.chart.layout.labels.dataLabels.formatter,
1009
1009
  t.value,
1010
- r(F)({
1010
+ r(O)({
1011
1011
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
1012
1012
  v: t.value,
1013
1013
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
1014
1014
  r: e.value.style.chart.layout.labels.dataLabels.roundingValue
1015
1015
  }),
1016
1016
  { datapoint: t, seriesIndex: o, datapointIndex: u }
1017
- )), 11, Nl)) : m("", !0)
1017
+ )), 11, Fl)) : m("", !0)
1018
1018
  ], 8, Tl))), 256))
1019
1019
  ]))), 256))
1020
1020
  ])) : m("", !0),
1021
- (n(!0), i(T, null, O(ee.value, (a, o) => (n(), i("g", null, [
1022
- (n(!0), i(T, null, O(a.donut, (t, u) => (n(), i("g", null, [
1023
- y("path", {
1021
+ (n(!0), i(T, null, A(ee.value, (a, o) => (n(), i("g", null, [
1022
+ (n(!0), i(T, null, A(a.donut, (t, u) => (n(), i("g", null, [
1023
+ p("path", {
1024
1024
  d: t.arcSlice,
1025
- fill: Lt.value === o ? "rgba(0,0,0,0.1)" : "transparent",
1026
- onMouseenter: (c) => Nt({
1025
+ fill: de.value === t.id ? e.value.style.chart.layout.donut.selectedColor : "transparent",
1026
+ onMouseenter: (c) => Ft({
1027
1027
  datapoint: t,
1028
1028
  seriesIndex: t.seriesIndex
1029
1029
  }),
1030
- onClick: (c) => Ot({ datapoint: t, index: u }),
1030
+ onClick: (c) => At({ datapoint: t, index: u }),
1031
1031
  onMouseleave: s[0] || (s[0] = (c) => {
1032
- re.value = !1, Qe.value = null, te.value = null, le.value = null;
1032
+ re.value = !1, Ze.value = null, te.value = null, le.value = null, de.value = null;
1033
1033
  })
1034
- }, null, 40, Sl)
1034
+ }, null, 40, Nl)
1035
1035
  ]))), 256))
1036
1036
  ]))), 256)),
1037
- L(l.$slots, "svg", { svg: f.value }, void 0, !0)
1037
+ x(l.$slots, "svg", { svg: f.value }, void 0, !0)
1038
1038
  ], 512)
1039
1039
  ], 14, cl)) : m("", !0),
1040
- l.$slots.watermark ? (n(), i("div", Al, [
1041
- L(l.$slots, "watermark", X(W({ isPrinting: r(Ue) || r(Ge) })), void 0, !0)
1040
+ l.$slots.watermark ? (n(), i("div", Sl, [
1041
+ x(l.$slots, "watermark", X(W({ isPrinting: r(Ge) || r(Ye) })), void 0, !0)
1042
1042
  ])) : m("", !0),
1043
- Q.value ? m("", !0) : (n(), U(r(wt), {
1043
+ Q.value ? m("", !0) : (n(), U(r($t), {
1044
1044
  key: 6,
1045
1045
  config: {
1046
1046
  type: "donut",
@@ -1052,7 +1052,7 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
1052
1052
  }
1053
1053
  }
1054
1054
  }, null, 8, ["config"])),
1055
- nt(r($t), {
1055
+ rt(r(kt), {
1056
1056
  show: $.value.showTooltip && re.value,
1057
1057
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
1058
1058
  color: e.value.style.chart.tooltip.color,
@@ -1066,46 +1066,46 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
1066
1066
  parent: V.value,
1067
1067
  content: ie.value,
1068
1068
  isFullscreen: G.value,
1069
- isCustom: r(dt)(e.value.style.chart.tooltip.customFormat)
1069
+ isCustom: r(ct)(e.value.style.chart.tooltip.customFormat)
1070
1070
  }, {
1071
- "tooltip-before": x(() => [
1072
- L(l.$slots, "tooltip-before", X(W({ ...fe.value })), void 0, !0)
1071
+ "tooltip-before": C(() => [
1072
+ x(l.$slots, "tooltip-before", X(W({ ...ye.value })), void 0, !0)
1073
1073
  ]),
1074
- "tooltip-after": x(() => [
1075
- L(l.$slots, "tooltip-after", X(W({ ...fe.value })), void 0, !0)
1074
+ "tooltip-after": C(() => [
1075
+ x(l.$slots, "tooltip-after", X(W({ ...ye.value })), void 0, !0)
1076
1076
  ]),
1077
1077
  _: 3
1078
1078
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
1079
1079
  e.value.style.chart.legend.show ? (n(), i("div", {
1080
1080
  key: 7,
1081
1081
  ref_key: "chartLegend",
1082
- ref: de,
1083
- class: R({ "vue-ui-nested-donuts-legend": ye.value.length > 1 })
1082
+ ref: ce,
1083
+ class: R({ "vue-ui-nested-donuts-legend": be.value.length > 1 })
1084
1084
  }, [
1085
- (n(!0), i(T, null, O(ye.value, (a, o) => (n(), U(nl, {
1086
- key: `legend_${o}_${De.value}`,
1085
+ (n(!0), i(T, null, A(be.value, (a, o) => (n(), U(nl, {
1086
+ key: `legend_${o}_${ze.value}`,
1087
1087
  legendSet: a,
1088
- config: St.value,
1089
- onClickMarker: s[1] || (s[1] = ({ legend: t }) => he(t))
1088
+ config: Nt.value,
1089
+ onClickMarker: s[1] || (s[1] = ({ legend: t }) => fe(t))
1090
1090
  }, {
1091
- legendTitle: x(({ titleSet: t }) => [
1092
- t[0] && t[0].arcOf ? (n(), i("div", Il, A(t[0].arcOf), 1)) : m("", !0)
1091
+ legendTitle: C(({ titleSet: t }) => [
1092
+ t[0] && t[0].arcOf ? (n(), i("div", Il, S(t[0].arcOf), 1)) : m("", !0)
1093
1093
  ]),
1094
- item: x(({ legend: t, index: u }) => [
1095
- y("div", {
1096
- onClick: (c) => he(t),
1094
+ item: C(({ legend: t, index: u }) => [
1095
+ p("div", {
1096
+ onClick: (c) => fe(t),
1097
1097
  style: ne(`opacity:${w.value.includes(t.id) ? 0.5 : 1}`)
1098
- }, A(t.name) + A(e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ":" : "") + " " + A(e.value.style.chart.legend.showValue ? r(K)(
1098
+ }, S(t.name) + S(e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ":" : "") + " " + S(e.value.style.chart.legend.showValue ? r(K)(
1099
1099
  e.value.style.chart.layout.labels.dataLabels.formatter,
1100
1100
  t.value,
1101
- r(F)({
1101
+ r(O)({
1102
1102
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
1103
1103
  v: t.value,
1104
1104
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
1105
1105
  r: e.value.style.chart.legend.roundingValue
1106
1106
  }),
1107
1107
  { datapoint: t, seriesIndex: u }
1108
- ) : "") + " " + A(e.value.style.chart.legend.showPercentage ? w.value.includes(t.id) ? `${e.value.style.chart.legend.showValue ? "(" : ""}- %${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? "(" : ""}${isNaN(t.value / t.total) ? "-" : r(F)({
1108
+ ) : "") + " " + S(e.value.style.chart.legend.showPercentage ? w.value.includes(t.id) ? `${e.value.style.chart.legend.showValue ? "(" : ""}- %${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? "(" : ""}${isNaN(t.value / t.total) ? "-" : r(O)({
1109
1109
  v: t.value / t.total * 100,
1110
1110
  s: "%",
1111
1111
  r: e.value.style.chart.legend.roundingPercentage
@@ -1117,19 +1117,19 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
1117
1117
  e.value.style.chart.legend.show ? m("", !0) : (n(), i("div", {
1118
1118
  key: 8,
1119
1119
  ref_key: "chartLegend",
1120
- ref: de
1120
+ ref: ce
1121
1121
  }, [
1122
- L(l.$slots, "legend", { legend: ye.value }, void 0, !0)
1122
+ x(l.$slots, "legend", { legend: be.value }, void 0, !0)
1123
1123
  ], 512)),
1124
1124
  l.$slots.source ? (n(), i("div", {
1125
1125
  key: 9,
1126
1126
  ref_key: "source",
1127
- ref: Ae,
1127
+ ref: Ie,
1128
1128
  dir: "auto"
1129
1129
  }, [
1130
- L(l.$slots, "source", {}, void 0, !0)
1130
+ x(l.$slots, "source", {}, void 0, !0)
1131
1131
  ], 512)) : m("", !0),
1132
- Q.value ? (n(), U(r(yt), {
1132
+ Q.value ? (n(), U(r(bt), {
1133
1133
  key: 10,
1134
1134
  hideDetails: "",
1135
1135
  config: {
@@ -1145,9 +1145,9 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
1145
1145
  }
1146
1146
  }
1147
1147
  }, {
1148
- content: x(() => [
1149
- (n(), U(r(bt), {
1150
- key: `table_${Pe.value}`,
1148
+ content: C(() => [
1149
+ (n(), U(r(gt), {
1150
+ key: `table_${De.value}`,
1151
1151
  colNames: ae.value.colNames,
1152
1152
  head: ae.value.head,
1153
1153
  body: ae.value.body,
@@ -1155,14 +1155,14 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
1155
1155
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
1156
1156
  onClose: s[2] || (s[2] = (a) => $.value.showTable = !1)
1157
1157
  }, {
1158
- th: x(({ th: a }) => [
1159
- y("div", {
1158
+ th: C(({ th: a }) => [
1159
+ p("div", {
1160
1160
  innerHTML: a,
1161
1161
  style: { display: "flex", "align-items": "center" }
1162
1162
  }, null, 8, Pl)
1163
1163
  ]),
1164
- td: x(({ td: a }) => [
1165
- Rt(A(a.name || a), 1)
1164
+ td: C(({ td: a }) => [
1165
+ Rt(S(a.name || a), 1)
1166
1166
  ]),
1167
1167
  _: 1
1168
1168
  }, 8, ["colNames", "head", "body", "config", "title"]))
@@ -1171,7 +1171,7 @@ const dl = ["id"], cl = ["xmlns", "viewBox"], vl = ["width", "height"], hl = ["i
1171
1171
  }, 8, ["config"])) : m("", !0)
1172
1172
  ], 46, dl));
1173
1173
  }
1174
- }, Hl = /* @__PURE__ */ il(Dl, [["__scopeId", "data-v-80b2a252"]]);
1174
+ }, Hl = /* @__PURE__ */ il(Dl, [["__scopeId", "data-v-89767698"]]);
1175
1175
  export {
1176
1176
  Hl as default
1177
1177
  };