vue-data-ui 3.4.8 → 3.5.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 (114) hide show
  1. package/README.md +88 -37
  2. package/dist/{PackageVersion-D-auaEEJ.js → PackageVersion-Cyx_s25h.js} +1 -1
  3. package/dist/components/vue-ui-3d-bar.js +1 -1
  4. package/dist/components/vue-ui-age-pyramid.js +1 -1
  5. package/dist/components/vue-ui-bullet.js +1 -1
  6. package/dist/components/vue-ui-candlestick.js +1 -1
  7. package/dist/components/vue-ui-carousel-table.js +1 -1
  8. package/dist/components/vue-ui-chestnut.js +1 -1
  9. package/dist/components/vue-ui-chord.js +1 -1
  10. package/dist/components/vue-ui-circle-pack.js +1 -1
  11. package/dist/components/vue-ui-dashboard.js +1 -1
  12. package/dist/components/vue-ui-donut-evolution.js +1 -1
  13. package/dist/components/vue-ui-donut.js +1 -1
  14. package/dist/components/vue-ui-dumbbell.js +1 -1
  15. package/dist/components/vue-ui-flow.js +1 -1
  16. package/dist/components/vue-ui-funnel.js +1 -1
  17. package/dist/components/vue-ui-galaxy.js +1 -1
  18. package/dist/components/vue-ui-gauge.js +1 -1
  19. package/dist/components/vue-ui-gizmo.js +1 -1
  20. package/dist/components/vue-ui-heatmap.js +1 -1
  21. package/dist/components/vue-ui-history-plot.js +1 -1
  22. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  23. package/dist/components/vue-ui-molecule.js +1 -1
  24. package/dist/components/vue-ui-mood-radar.js +1 -1
  25. package/dist/components/vue-ui-nested-donuts.js +1 -1
  26. package/dist/components/vue-ui-onion.js +1 -1
  27. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  28. package/dist/components/vue-ui-quadrant.js +1 -1
  29. package/dist/components/vue-ui-quick-chart.js +1 -1
  30. package/dist/components/vue-ui-radar.js +1 -1
  31. package/dist/components/vue-ui-relation-circle.js +1 -1
  32. package/dist/components/vue-ui-ridgeline.js +1 -1
  33. package/dist/components/vue-ui-rings.js +1 -1
  34. package/dist/components/vue-ui-scatter.js +1 -1
  35. package/dist/components/vue-ui-skeleton.js +1 -1
  36. package/dist/components/vue-ui-spark-trend.js +1 -1
  37. package/dist/components/vue-ui-sparkbar.js +1 -1
  38. package/dist/components/vue-ui-sparkgauge.js +1 -1
  39. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  40. package/dist/components/vue-ui-sparkline.js +1 -1
  41. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  42. package/dist/components/vue-ui-stackbar.js +1 -1
  43. package/dist/components/vue-ui-strip-plot.js +1 -1
  44. package/dist/components/vue-ui-table-sparkline.js +1 -1
  45. package/dist/components/vue-ui-table.js +1 -1
  46. package/dist/components/vue-ui-thermometer.js +1 -1
  47. package/dist/components/vue-ui-timer.js +1 -1
  48. package/dist/components/vue-ui-tiremarks.js +1 -1
  49. package/dist/components/vue-ui-treemap.js +1 -1
  50. package/dist/components/vue-ui-vertical-bar.js +1 -1
  51. package/dist/components/vue-ui-waffle.js +1 -1
  52. package/dist/components/vue-ui-wheel.js +1 -1
  53. package/dist/components/vue-ui-word-cloud.js +1 -1
  54. package/dist/components/vue-ui-world.js +1 -1
  55. package/dist/components/vue-ui-xy-canvas.js +1 -1
  56. package/dist/components/vue-ui-xy.js +1 -1
  57. package/dist/style.css +1 -1
  58. package/dist/{vue-data-ui-CzqHcPqG.js → vue-data-ui-DxgRqCAo.js} +104 -98
  59. package/dist/vue-data-ui.js +54 -54
  60. package/dist/{vue-ui-3d-bar-CwXiD8zD.js → vue-ui-3d-bar-DmNJp8SY.js} +1 -1
  61. package/dist/{vue-ui-age-pyramid-DlEPlWmV.js → vue-ui-age-pyramid-CPAP3sNY.js} +1 -1
  62. package/dist/{vue-ui-bullet-DtzpeIu4.js → vue-ui-bullet-Ce6uvCQJ.js} +1 -1
  63. package/dist/{vue-ui-candlestick-DzoiyaeB.js → vue-ui-candlestick-DewevWV_.js} +1 -1
  64. package/dist/{vue-ui-carousel-table-BqRERrjs.js → vue-ui-carousel-table-Dv1CDfE5.js} +1 -1
  65. package/dist/{vue-ui-chestnut-CzBGckif.js → vue-ui-chestnut-D9sdFZ4E.js} +1 -1
  66. package/dist/{vue-ui-chord-B4waG93A.js → vue-ui-chord-BG4dxKNA.js} +1 -1
  67. package/dist/{vue-ui-circle-pack-DiTw_p5r.js → vue-ui-circle-pack-Be74QB_0.js} +1 -1
  68. package/dist/{vue-ui-dashboard-Bt-MUKqy.js → vue-ui-dashboard-C4BLwHey.js} +54 -54
  69. package/dist/{vue-ui-donut-Bc492JeS.js → vue-ui-donut-BRGFcgxS.js} +542 -526
  70. package/dist/{vue-ui-donut-evolution-D6TaZK2x.js → vue-ui-donut-evolution-DJ0C-7jH.js} +364 -348
  71. package/dist/{vue-ui-dumbbell-BlZr68Sq.js → vue-ui-dumbbell-iQJ0BUhm.js} +1 -1
  72. package/dist/{vue-ui-flow-ByEP18dA.js → vue-ui-flow-CTYFoib3.js} +1 -1
  73. package/dist/{vue-ui-funnel-BU7d_U6T.js → vue-ui-funnel-CG55Xcdy.js} +1 -1
  74. package/dist/{vue-ui-galaxy-CpVrxaTr.js → vue-ui-galaxy-BQrxjKZJ.js} +221 -205
  75. package/dist/{vue-ui-gauge-B9Z4EXoj.js → vue-ui-gauge-Tc-0NI0Y.js} +1 -1
  76. package/dist/{vue-ui-gizmo-T1paJEJ3.js → vue-ui-gizmo-P8h-gnLd.js} +1 -1
  77. package/dist/{vue-ui-heatmap-Uw83eEMz.js → vue-ui-heatmap-BZimPzsL.js} +1 -1
  78. package/dist/{vue-ui-history-plot-C93VwVCY.js → vue-ui-history-plot-BVzbuqYY.js} +383 -367
  79. package/dist/{vue-ui-molecule-CFMWwXFN.js → vue-ui-molecule-BALqwB8c.js} +1 -1
  80. package/dist/{vue-ui-mood-radar-FkVaaOVG.js → vue-ui-mood-radar-QJ5nlZby.js} +1 -1
  81. package/dist/{vue-ui-nested-donuts-Cyi98NXq.js → vue-ui-nested-donuts-CmUabkkQ.js} +404 -384
  82. package/dist/{vue-ui-onion-BCENNhsY.js → vue-ui-onion-DAOCf3f8.js} +331 -309
  83. package/dist/{vue-ui-parallel-coordinate-plot-Dca9wkD0.js → vue-ui-parallel-coordinate-plot-D8jTuFjq.js} +378 -361
  84. package/dist/{vue-ui-quadrant-CEtFEZT3.js → vue-ui-quadrant-CO52mSRY.js} +428 -411
  85. package/dist/{vue-ui-quick-chart-bqcp6BIl.js → vue-ui-quick-chart-DEaVSldE.js} +1 -1
  86. package/dist/{vue-ui-radar-lgRCmyNP.js → vue-ui-radar-C5V4hhbW.js} +393 -374
  87. package/dist/{vue-ui-relation-circle-cRRrbaIT.js → vue-ui-relation-circle-CbMM0Jka.js} +1 -1
  88. package/dist/{vue-ui-ridgeline-CaeFJq9a.js → vue-ui-ridgeline-CXCIRDq6.js} +454 -438
  89. package/dist/{vue-ui-rings-DbsYfGjx.js → vue-ui-rings-BpUcyqo7.js} +285 -263
  90. package/dist/{vue-ui-scatter-DcMnoNrY.js → vue-ui-scatter--Dxe-hfO.js} +629 -613
  91. package/dist/{vue-ui-skeleton-b5fdgyHv.js → vue-ui-skeleton-BWq-VDzg.js} +1 -1
  92. package/dist/{vue-ui-spark-trend-DrQ26BzL.js → vue-ui-spark-trend-T4J_YOa_.js} +1 -1
  93. package/dist/{vue-ui-sparkbar-BlvXLcfO.js → vue-ui-sparkbar-DnKP55Vu.js} +1 -1
  94. package/dist/{vue-ui-sparkgauge-CQmNePxu.js → vue-ui-sparkgauge-BDQLP-zi.js} +1 -1
  95. package/dist/{vue-ui-sparkhistogram-CJatqy8x.js → vue-ui-sparkhistogram-Dm7QXrA-.js} +1 -1
  96. package/dist/{vue-ui-sparkline-5m7hFiMq.js → vue-ui-sparkline-tXGDLHRy.js} +1 -1
  97. package/dist/vue-ui-sparkstackbar-M53Nt07M.js +441 -0
  98. package/dist/{vue-ui-stackbar-WrexTg8_.js → vue-ui-stackbar-CkBOjryQ.js} +438 -421
  99. package/dist/{vue-ui-strip-plot-DqX7yya9.js → vue-ui-strip-plot-BX9i3wMn.js} +1 -1
  100. package/dist/{vue-ui-table-BhrP9BCp.js → vue-ui-table-7r02N9R9.js} +2 -2
  101. package/dist/{vue-ui-table-sparkline-BECa8n5_.js → vue-ui-table-sparkline-DZaAh10E.js} +1 -1
  102. package/dist/{vue-ui-thermometer-BxBGrsSR.js → vue-ui-thermometer-CFPt3MOv.js} +1 -1
  103. package/dist/{vue-ui-timer-BbHY5Ed5.js → vue-ui-timer-Ds-MJoW2.js} +1 -1
  104. package/dist/{vue-ui-tiremarks-DzL3Sc1f.js → vue-ui-tiremarks-2eIQ6vxu.js} +1 -1
  105. package/dist/{vue-ui-treemap-DoHoS5NK.js → vue-ui-treemap-BEvl8hiw.js} +500 -484
  106. package/dist/{vue-ui-vertical-bar-D0N5btU-.js → vue-ui-vertical-bar-D8dtM8sw.js} +350 -334
  107. package/dist/{vue-ui-waffle-CTt7dxCY.js → vue-ui-waffle-B3q-2SCR.js} +302 -286
  108. package/dist/{vue-ui-wheel--TIPvQ9I.js → vue-ui-wheel-BpirIgAG.js} +1 -1
  109. package/dist/{vue-ui-word-cloud-D5pZq4Jq.js → vue-ui-word-cloud-ChT7uLbN.js} +1 -1
  110. package/dist/{vue-ui-world-BERHgePa.js → vue-ui-world-CdP4g_3_.js} +1 -1
  111. package/dist/{vue-ui-xy-BI5stV8f.js → vue-ui-xy-B68qQ-gX.js} +1089 -1073
  112. package/dist/{vue-ui-xy-canvas-DXnLFwW3.js → vue-ui-xy-canvas-DDngEA1s.js} +338 -322
  113. package/package.json +1 -1
  114. package/dist/vue-ui-sparkstackbar-Z5g6L2Hj.js +0 -424
@@ -1,24 +1,24 @@
1
- import { defineAsyncComponent as z, computed as b, ref as c, toRefs as rl, watch as le, onMounted as il, shallowRef as mt, onBeforeUnmount as dl, createElementBlock as r, openBlock as u, unref as i, normalizeStyle as ce, normalizeClass as M, createBlock as B, createCommentVNode as k, createElementVNode as y, createVNode as Ve, createSlots as wt, withCtx as C, renderSlot as _, normalizeProps as q, guardReactiveProps as Q, Fragment as A, renderList as T, toDisplayString as D, withDirectives as $t, vShow as kt, Teleport as vl, resolveDynamicComponent as cl, mergeProps as hl, createTextVNode as Ct, nextTick as Lt } from "vue";
2
- import { c as fl, t as pl, b as yl, p as ze, O as Me, o as gl, f as J, e as bl, a1 as E, h as ml, T as Be, a as ae, d as O, X as wl, s as $l, I as xt, W as Ee, Y as K, G as _t, P as kl, Q as Cl, H as Ll, a0 as At, x as Re } from "./lib-C_mNZmhD.js";
3
- import { t as xl, u as _l } from "./useResponsive-DfdjqQps.js";
4
- import { u as Al, a as Tt } from "./useNestedProp-BjZe1Y85.js";
5
- import { u as Tl, B as Sl } from "./BaseScanner-BgWxam9d.js";
6
- import { u as Ol } from "./usePrinter-DTzqpYKF.js";
7
- import { u as Fl } from "./useSvgExport-DrjCWun4.js";
8
- import { u as Il } from "./useUserOptionState-BIvW1Kz7.js";
9
- import { u as Nl } from "./useChartAccessibility-9icAAmYg.js";
10
- import Dl from "./img-BecE5qXd.js";
11
- import Pl from "./Title-l36lOBMx.js";
12
- import { t as Vl } from "./themes-AUNCOb2G.js";
13
- import zl from "./Legend-G6GMcdAc.js";
14
- import { _ as Ml } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "height"], Gl = ["id"], Yl = ["offset", "stop-color"], Wl = ["offset", "stop-opacity"], Xl = ["id"], Hl = ["id"], ql = ["id"], Ql = ["flood-color"], Jl = ["id", "d"], Kl = ["d", "fill", "stroke", "stroke-width", "filter"], Zl = ["d", "fill", "stroke", "stroke-width"], jl = { key: 1 }, ea = ["d", "fill"], ta = { key: 2 }, la = ["font-size", "font-weight", "fill", "dy"], aa = ["href"], oa = ["x", "y", "font-size", "font-weight", "fill"], sa = { key: 3 }, ua = ["filter"], na = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], ra = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], ia = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], da = ["d", "fill", "onMouseenter", "onClick", "onMouseleave"], va = {
1
+ import { defineAsyncComponent as z, computed as m, ref as c, toRefs as vl, watch as ae, onMounted as cl, shallowRef as wt, onBeforeUnmount as hl, createElementBlock as r, openBlock as u, unref as i, normalizeStyle as he, normalizeClass as M, createBlock as B, createCommentVNode as C, createElementVNode as y, createVNode as Ve, createSlots as $t, withCtx as L, renderSlot as _, normalizeProps as Q, guardReactiveProps as J, Fragment as A, renderList as T, toDisplayString as I, withDirectives as kt, vShow as Ct, Teleport as fl, resolveDynamicComponent as pl, mergeProps as yl, createTextVNode as Lt, nextTick as xt } from "vue";
2
+ import { c as gl, t as bl, b as ml, p as ze, O as Me, o as wl, f as K, e as $l, a1 as E, h as kl, T as Be, a as oe, d as F, X as Cl, s as Ll, I as _t, W as Ee, Y as Z, G as At, P as xl, Q as _l, H as Al, a0 as Tt, x as Ue } from "./lib-C_mNZmhD.js";
3
+ import { t as Tl, u as Sl } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Ol, a as St } from "./useNestedProp-BjZe1Y85.js";
5
+ import { u as Fl, B as Nl } from "./BaseScanner-BgWxam9d.js";
6
+ import { u as Dl } from "./usePrinter-DTzqpYKF.js";
7
+ import { u as Il } from "./useSvgExport-DrjCWun4.js";
8
+ import { u as Pl } from "./useUserOptionState-BIvW1Kz7.js";
9
+ import { u as Vl } from "./useChartAccessibility-9icAAmYg.js";
10
+ import zl from "./img-BecE5qXd.js";
11
+ import Ml from "./Title-l36lOBMx.js";
12
+ import { t as Bl } from "./themes-AUNCOb2G.js";
13
+ import El from "./Legend-G6GMcdAc.js";
14
+ import { _ as Ul } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
+ const Rl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], Wl = ["width", "height"], Xl = ["id"], Hl = ["offset", "stop-color"], ql = ["offset", "stop-opacity"], Ql = ["id"], Jl = ["id"], Kl = ["id"], Zl = ["flood-color"], jl = ["id", "d"], ea = ["d", "fill", "stroke", "stroke-width", "filter"], ta = ["d", "fill", "stroke", "stroke-width"], la = { key: 1 }, aa = ["d", "fill"], oa = { key: 2 }, sa = ["font-size", "font-weight", "fill", "dy"], ua = ["href"], na = ["x", "y", "font-size", "font-weight", "fill"], ra = { key: 3 }, ia = ["filter"], da = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], va = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], ca = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], ha = ["d", "fill", "onMouseenter", "onClick", "onMouseleave"], fa = {
16
16
  key: 4,
17
17
  class: "vue-data-ui-watermark"
18
- }, ca = ["id"], ha = {
18
+ }, pa = ["id"], ya = {
19
19
  key: 0,
20
20
  class: "vue-ui-nested-donuts-legend-title"
21
- }, fa = ["onClick"], pa = ["innerHTML"], ya = {
21
+ }, ga = ["onClick"], ba = ["innerHTML"], ma = {
22
22
  __name: "vue-ui-nested-donuts",
23
23
  props: {
24
24
  config: {
@@ -35,19 +35,19 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
35
35
  }
36
36
  },
37
37
  emits: ["selectLegend", "selectDatapoint"],
38
- setup(St, { expose: Ot, emit: Ft }) {
39
- const It = z(() => import("./Tooltip-oWCO1HKy.js")), Nt = z(() => import("./BaseIcon-BmMbm4d0.js")), Dt = z(() => import("./vue-ui-accordion-CZ0thhxa.js")), Pt = z(() => import("./DataTable-BT7VF2ua.js")), Vt = z(() => import("./UserOptions-CGnQt6Fd.js")), zt = z(() => import("./PenAndPaper-DSvu9dwa.js")), Mt = z(() => import("./PackageVersion-D-auaEEJ.js")), Bt = z(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_nested_donuts: Et } = Al(), w = St, he = b({
38
+ setup(Ot, { expose: Ft, emit: Nt }) {
39
+ const Dt = z(() => import("./Tooltip-oWCO1HKy.js")), It = z(() => import("./BaseIcon-BmMbm4d0.js")), Pt = z(() => import("./vue-ui-accordion-CZ0thhxa.js")), Vt = z(() => import("./DataTable-BT7VF2ua.js")), zt = z(() => import("./UserOptions-CGnQt6Fd.js")), Mt = z(() => import("./PenAndPaper-DSvu9dwa.js")), Bt = z(() => import("./PackageVersion-Cyx_s25h.js")), Et = z(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_nested_donuts: Ut } = Ol(), $ = Ot, fe = m({
40
40
  get() {
41
- return !!w.dataset && w.dataset.length;
41
+ return !!$.dataset && $.dataset.length;
42
42
  },
43
43
  set(t) {
44
44
  return t;
45
45
  }
46
- }), p = c(fl()), fe = c(!1), pe = c(""), ye = c(null), Ue = c(0), I = c(null), Ge = c(null), ge = c(null), Ye = c(null), We = c(null), Xe = c(0), He = c(0), qe = c(0), R = c(!0), U = c([]), Z = c([]), Qe = c(!1), j = c(null), be = c(null), G = c(!1);
46
+ }), p = c(gl()), pe = c(!1), ye = c(""), ge = c(null), Re = c(0), N = c(null), Ge = c(null), be = c(null), Ye = c(null), We = c(null), Xe = c(0), He = c(0), qe = c(0), U = c(!0), R = c([]), j = c([]), Qe = c(!1), ee = c(null), me = c(null), G = c(!1);
47
47
  function Je(t) {
48
- G.value = t, Ue.value += 1;
48
+ G.value = t, Re.value += 1;
49
49
  }
50
- const e = c(ke()), Ke = {
50
+ const e = c(Ce()), Ke = {
51
51
  name: "",
52
52
  series: [
53
53
  {
@@ -66,17 +66,17 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
66
66
  color: "#CACACA"
67
67
  }
68
68
  ]
69
- }, { loading: me, FINAL_DATASET: Y, manualLoading: we } = Tl({
70
- ...rl(w),
69
+ }, { loading: we, FINAL_DATASET: Y, manualLoading: $e } = Fl({
70
+ ...vl($),
71
71
  FINAL_CONFIG: e,
72
- prepareConfig: ke,
72
+ prepareConfig: Ce,
73
73
  callback: () => {
74
74
  Promise.resolve().then(async () => {
75
75
  await tt();
76
76
  });
77
77
  },
78
78
  skeletonDataset: [Ke, Ke],
79
- skeletonConfig: pl({
79
+ skeletonConfig: bl({
80
80
  defaultConfig: e.value,
81
81
  userConfig: {
82
82
  useCssAnimation: !1,
@@ -102,31 +102,31 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
102
102
  }
103
103
  }
104
104
  })
105
- }), { userOptionsVisible: $e, setUserOptionsVisibility: Ze, keepUserOptionState: je } = Il({ config: e.value }), { svgRef: ee } = Nl({
105
+ }), { userOptionsVisible: ke, setUserOptionsVisibility: Ze, keepUserOptionState: je } = Pl({ config: e.value }), { svgRef: te } = Vl({
106
106
  config: e.value.style.chart.title
107
107
  });
108
- function ke() {
109
- const t = Tt({
110
- userConfig: w.config,
111
- defaultConfig: Et
108
+ function Ce() {
109
+ const t = St({
110
+ userConfig: $.config,
111
+ defaultConfig: Ut
112
112
  });
113
113
  let s = {};
114
114
  return t.theme ? s = {
115
- ...Tt({
116
- userConfig: Vl.vue_ui_nested_donuts[t.theme] || w.config,
115
+ ...St({
116
+ userConfig: Bl.vue_ui_nested_donuts[t.theme] || $.config,
117
117
  defaultConfig: t
118
118
  }),
119
- customPalette: yl[t.theme] || ze
120
- } : s = t, w.config && Me(w.config, "events.datapointEnter") ? s.events.datapointEnter = w.config.events.datapointEnter : s.events.datapointEnter = null, w.config && Me(w.config, "events.datapointLeave") ? s.events.datapointLeave = w.config.events.datapointLeave : s.events.datapointLeave = null, w.config && Me(w.config, "events.datapointClick") ? s.events.datapointClick = w.config.events.datapointClick : s.events.datapointClick = null, s;
119
+ customPalette: ml[t.theme] || ze
120
+ } : s = t, $.config && Me($.config, "events.datapointEnter") ? s.events.datapointEnter = $.config.events.datapointEnter : s.events.datapointEnter = null, $.config && Me($.config, "events.datapointLeave") ? s.events.datapointLeave = $.config.events.datapointLeave : s.events.datapointLeave = null, $.config && Me($.config, "events.datapointClick") ? s.events.datapointClick = $.config.events.datapointClick : s.events.datapointClick = null, s;
121
121
  }
122
- le(
123
- () => w.config,
122
+ ae(
123
+ () => $.config,
124
124
  (t) => {
125
- me.value || (e.value = ke()), $e.value = !e.value.userOptions.showOnChartHover, lt(), Xe.value += 1, He.value += 1, qe.value += 1, L.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, L.value.showTable = e.value.table.show, L.value.showTooltip = e.value.style.chart.tooltip.show, h.value.width = e.value.style.chart.width, h.value.height = e.value.style.chart.height;
125
+ we.value || (e.value = Ce()), ke.value = !e.value.userOptions.showOnChartHover, lt(), Xe.value += 1, He.value += 1, qe.value += 1, x.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, x.value.showTable = e.value.table.show, x.value.showTooltip = e.value.style.chart.tooltip.show, h.value.width = e.value.style.chart.width, h.value.height = e.value.style.chart.height;
126
126
  },
127
127
  { deep: !0 }
128
128
  );
129
- const et = b(() => {
129
+ const et = m(() => {
130
130
  const { top: t, right: s, bottom: a, left: o } = e.value.style.chart.padding;
131
131
  return {
132
132
  css: `padding:${t}px ${s}px ${a}px ${o}px`,
@@ -139,35 +139,35 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
139
139
  function Rt(t, s = 1e3, a = 50) {
140
140
  return new Promise((o) => {
141
141
  const l = t.length;
142
- U.value = Array(l).fill(0), Z.value = [];
142
+ R.value = Array(l).fill(0), j.value = [];
143
143
  let n = 0;
144
144
  t.forEach((v, f) => {
145
145
  setTimeout(() => {
146
- const m = performance.now();
146
+ const w = performance.now();
147
147
  function d(g) {
148
- const S = Math.min((g - m) / s, 1), Se = At(S), Oe = v * Se;
149
- U.value[f] = Oe, U.value = [...U.value];
150
- const de = [];
148
+ const S = Math.min((g - w) / s, 1), Se = Tt(S), Oe = v * Se;
149
+ R.value[f] = Oe, R.value = [...R.value];
150
+ const ve = [];
151
151
  let Fe = 0;
152
- w.dataset.forEach((ve, Ie) => {
153
- const ol = Re(ve.series.reduce(
154
- (De, Pe) => De + Re(E(Pe.values).reduce((ul, nl) => ul + nl, 0)),
152
+ $.dataset.forEach((ce, Ne) => {
153
+ const nl = Ue(ce.series.reduce(
154
+ (Ie, Pe) => Ie + Ue(E(Pe.values).reduce((il, dl) => il + dl, 0)),
155
155
  0
156
- )), sl = Re(U.value.slice(Fe, Fe + ve.series.length).reduce((De, Pe) => De + Pe, 0)), Ne = ol - sl;
157
- Ne > Number.MIN_VALUE && de.push({
156
+ )), rl = Ue(R.value.slice(Fe, Fe + ce.series.length).reduce((Ie, Pe) => Ie + Pe, 0)), De = nl - rl;
157
+ De > Number.MIN_VALUE && ve.push({
158
158
  name: "__ghost__",
159
- arcOf: ve.name,
160
- arcOfId: `${p.value}_${Ie}`,
161
- id: `ghost_${p.value}_${Ie}`,
159
+ arcOf: ce.name,
160
+ arcOfId: `${p.value}_${Ne}`,
161
+ id: `ghost_${p.value}_${Ne}`,
162
162
  seriesIndex: -1,
163
- datasetIndex: Ie,
163
+ datasetIndex: Ne,
164
164
  color: "transparent",
165
- value: Ne,
166
- fullValue: Ne,
165
+ value: De,
166
+ fullValue: De,
167
167
  absoluteValues: [],
168
168
  ghost: !0
169
- }), Fe += ve.series.length;
170
- }), Z.value = de, S < 1 ? requestAnimationFrame(d) : (n += 1, n === l && o());
169
+ }), Fe += ce.series.length;
170
+ }), j.value = ve, S < 1 ? requestAnimationFrame(d) : (n += 1, n === l && o());
171
171
  }
172
172
  requestAnimationFrame(d);
173
173
  }, f * a);
@@ -179,9 +179,9 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
179
179
  const s = Y.value.flatMap((a) => a.series).map(
180
180
  (a) => E(a.values).reduce((o, l) => o + l, 0)
181
181
  );
182
- U.value = s.map(() => 0), R.value = !0, Z.value = Y.value.map((a, o) => {
182
+ R.value = s.map(() => 0), U.value = !0, j.value = Y.value.map((a, o) => {
183
183
  const l = a.series.reduce(
184
- (n, v) => n + E(v.values).reduce((f, m) => f + m, 0),
184
+ (n, v) => n + E(v.values).reduce((f, w) => f + w, 0),
185
185
  0
186
186
  );
187
187
  return {
@@ -197,31 +197,31 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
197
197
  absoluteValues: [],
198
198
  ghost: !0
199
199
  };
200
- }), await Lt(), Rt(
200
+ }), await xt(), Rt(
201
201
  s,
202
202
  e.value.startAnimation.durationMs,
203
203
  e.value.startAnimation.staggerMs
204
204
  ).then(() => {
205
- R.value = !1, Z.value = [];
205
+ U.value = !1, j.value = [];
206
206
  });
207
207
  } else
208
- R.value = !1;
208
+ U.value = !1;
209
209
  }
210
- il(async () => {
210
+ cl(async () => {
211
211
  Qe.value = !0, lt(), await tt();
212
212
  });
213
- const P = mt(null), W = mt(null), X = b(() => !!e.value.debug);
213
+ const P = wt(null), X = wt(null), H = m(() => !!e.value.debug);
214
214
  function lt() {
215
- if (gl(w.dataset) ? (J({
215
+ if (wl($.dataset) ? (K({
216
216
  componentName: "VueUiNestedDonuts",
217
217
  type: "dataset",
218
- debug: X.value
219
- }), he.value = !1, we.value = !0) : we.value = e.value.loading, e.value.responsive) {
220
- const t = xl(() => {
221
- const { width: s, height: a } = _l({
222
- chart: I.value,
218
+ debug: H.value
219
+ }), fe.value = !1, $e.value = !0) : $e.value = e.value.loading, e.value.responsive) {
220
+ const t = Tl(() => {
221
+ const { width: s, height: a } = Sl({
222
+ chart: N.value,
223
223
  title: e.value.style.chart.title.text ? Ge.value : null,
224
- legend: e.value.style.chart.legend.show ? ge.value : null,
224
+ legend: e.value.style.chart.legend.show ? be.value : null,
225
225
  source: Ye.value,
226
226
  noTitle: We.value,
227
227
  padding: et.value
@@ -230,25 +230,25 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
230
230
  h.value.width = s, h.value.height = a;
231
231
  });
232
232
  });
233
- P.value && (W.value && P.value.unobserve(W.value), P.value.disconnect()), P.value = new ResizeObserver(t), W.value = I.value.parentNode, P.value.observe(W.value);
233
+ P.value && (X.value && P.value.unobserve(X.value), P.value.disconnect()), P.value = new ResizeObserver(t), X.value = N.value.parentNode, P.value.observe(X.value);
234
234
  }
235
235
  }
236
- dl(() => {
237
- P.value && (W.value && P.value.unobserve(W.value), P.value.disconnect());
236
+ hl(() => {
237
+ P.value && (X.value && P.value.unobserve(X.value), P.value.disconnect());
238
238
  });
239
- const { isPrinting: at, isImaging: ot, generatePdf: st, generateImage: ut } = Ol({
239
+ const { isPrinting: at, isImaging: ot, generatePdf: st, generateImage: ut } = Dl({
240
240
  elementId: `nested_donuts_${p.value}`,
241
241
  fileName: e.value.style.chart.title.text || "vue-ui-nested-donuts",
242
242
  options: e.value.userOptions.print
243
- }), Ut = b(() => e.value.userOptions.show && !e.value.style.chart.title.text), Gt = b(() => bl(e.value.customPalette)), L = c({
243
+ }), Gt = m(() => e.value.userOptions.show && !e.value.style.chart.title.text), Yt = m(() => $l(e.value.customPalette)), x = c({
244
244
  dataLabels: {
245
245
  show: e.value.style.chart.layout.labels.dataLabels.show
246
246
  },
247
247
  showTable: e.value.table.show,
248
248
  showTooltip: e.value.style.chart.tooltip.show
249
249
  });
250
- le(e, () => {
251
- L.value = {
250
+ ae(e, () => {
251
+ x.value = {
252
252
  dataLabels: {
253
253
  show: e.value.style.chart.layout.labels.dataLabels.show
254
254
  },
@@ -259,8 +259,8 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
259
259
  const h = c({
260
260
  width: e.value.style.chart.width,
261
261
  height: e.value.style.chart.height
262
- }), nt = Ft;
263
- function Yt({ datapoint: t, index: s, seriesIndex: a }) {
262
+ }), nt = Nt;
263
+ function Wt({ datapoint: t, index: s, seriesIndex: a }) {
264
264
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: a }), nt("selectDatapoint", { datapoint: t, index: s });
265
265
  }
266
266
  function rt({
@@ -269,56 +269,56 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
269
269
  duration: a,
270
270
  onUpdate: o,
271
271
  onDone: l,
272
- easing: n = At
272
+ easing: n = Tt
273
273
  }) {
274
274
  const v = performance.now();
275
- function f(m) {
276
- const d = Math.min((m - v) / a, 1), g = n(d), S = t + (s - t) * g;
275
+ function f(w) {
276
+ const d = Math.min((w - v) / a, 1), g = n(d), S = t + (s - t) * g;
277
277
  o(S, d), d < 1 ? requestAnimationFrame(f) : (o(s, 1), l && l());
278
278
  }
279
279
  requestAnimationFrame(f);
280
280
  }
281
- const x = c([]), F = b(() => {
282
- me.value, Y.value.forEach((s, a) => {
283
- [null, void 0].includes(s.name) && J({
281
+ const b = c([]), O = m(() => {
282
+ we.value, Y.value.forEach((s, a) => {
283
+ [null, void 0].includes(s.name) && K({
284
284
  componentName: "VueUiNestedDonuts",
285
285
  type: "datasetSerieAttribute",
286
286
  property: "name",
287
287
  index: a,
288
- debug: X.value
289
- }), [null, void 0].includes(s.series) ? J({
288
+ debug: H.value
289
+ }), [null, void 0].includes(s.series) ? K({
290
290
  componentName: "VueUiNestedDonuts",
291
291
  type: "datasetSerieAttribute",
292
292
  property: "series",
293
293
  index: a,
294
- debug: X.value
295
- }) : s.series.length === 0 ? J({
294
+ debug: H.value
295
+ }) : s.series.length === 0 ? K({
296
296
  componentName: "VueUiNestedDonuts",
297
297
  type: "datasetAttributeEmpty",
298
298
  property: `series at index ${a}`,
299
- debug: X.value
299
+ debug: H.value
300
300
  }) : s.series.forEach((o, l) => {
301
- [null, void 0].includes(o.name) && J({
301
+ [null, void 0].includes(o.name) && K({
302
302
  componentName: "VueUiNestedDonuts",
303
303
  type: "datasetSerieAttribute",
304
304
  property: "name",
305
305
  index: l,
306
306
  key: "serie",
307
- debug: X.value
308
- }), [null, void 0].includes(o.values) && J({
307
+ debug: H.value
308
+ }), [null, void 0].includes(o.values) && K({
309
309
  componentName: "VueUiNestedDonuts",
310
310
  type: "datasetSerieAttribute",
311
311
  property: "values",
312
312
  index: l,
313
313
  key: "serie",
314
- debug: X.value
314
+ debug: H.value
315
315
  });
316
316
  });
317
317
  });
318
318
  let t = 0;
319
319
  return Y.value.map((s, a) => ({
320
320
  ...s,
321
- total: s.series.filter((o) => !x.value.includes(o.id)).map((o) => E(o.values).reduce((l, n) => l + n, 0)).reduce((o, l) => o + l, 0),
321
+ total: s.series.filter((o) => !b.value.includes(o.id)).map((o) => E(o.values).reduce((l, n) => l + n, 0)).reduce((o, l) => o + l, 0),
322
322
  datasetIndex: a,
323
323
  id: `${p.value}_${a}`,
324
324
  series: s.series.map((o, l) => {
@@ -330,94 +330,112 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
330
330
  id: `${p.value}_${a}_${l}`,
331
331
  seriesIndex: l,
332
332
  datasetIndex: a,
333
- color: ml(o.color) || Gt.value[l] || ze[l % ze.length],
334
- value: R.value ? U.value[t++] ?? 0 : n,
333
+ color: kl(o.color) || Yt.value[l] || ze[l % ze.length],
334
+ value: U.value ? R.value[t++] ?? 0 : n,
335
335
  absoluteValues: o.values || []
336
336
  };
337
337
  })
338
338
  }));
339
339
  });
340
- le(() => w.dataset, (t) => {
341
- Array.isArray(t) && t.length > 0 && (we.value = !1);
340
+ ae(() => $.dataset, (t) => {
341
+ Array.isArray(t) && t.length > 0 && ($e.value = !1);
342
342
  }, { immediate: !0 });
343
- const N = b(() => Math.min(h.value.height, h.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)), it = b(() => [...F.value].map((t, s) => {
344
- const a = t.series.filter((o) => !x.value.includes(o.id)).map((o) => o.value).reduce((o, l) => o + l, 0);
343
+ const D = m(() => Math.min(h.value.height, h.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)), it = m(() => [...O.value].map((t, s) => {
344
+ const a = t.series.filter((o) => !b.value.includes(o.id)).map((o) => o.value).reduce((o, l) => o + l, 0);
345
345
  return {
346
346
  ...t,
347
347
  total: a,
348
- series: t.series.filter((o) => !x.value.includes(o.id)).map((o) => ({
348
+ series: t.series.filter((o) => !b.value.includes(o.id)).map((o) => ({
349
349
  ...o,
350
350
  proportion: o.value / a
351
351
  }))
352
352
  };
353
353
  }));
354
- function Wt(t, s, a) {
354
+ function Xt(t, s, a) {
355
355
  let o = 0;
356
356
  for (let l = 0; l < t.length; l += 1)
357
357
  a.includes(t[l]) && (o += 1);
358
358
  return o < s;
359
359
  }
360
- const $ = c(it.value);
361
- le(
360
+ const k = c(it.value);
361
+ ae(
362
362
  () => it.value,
363
- (t) => $.value = t
363
+ (t) => k.value = t
364
364
  );
365
- function Ce(t) {
365
+ function W(t) {
366
366
  nt("selectLegend", t);
367
- const s = w.dataset.flatMap(
367
+ const s = $.dataset.flatMap(
368
368
  (d, g) => d.series.map((S, Se) => ({
369
- value: E(S.values).reduce((Oe, de) => Oe + de, 0),
369
+ value: E(S.values).reduce((Oe, ve) => Oe + ve, 0),
370
370
  id: `${p.value}_${g}_${Se}`,
371
371
  arcOfId: `${p.value}_${g}`
372
372
  }))
373
373
  ).find((d) => d.id === t.id);
374
374
  if (!s) return;
375
- const a = F.value.flatMap((d) => d.series).find((d) => d.id === t.id)?.value ?? 0, o = $.value.flatMap((d) => d.series).find((d) => d.id === t.id);
375
+ const a = O.value.flatMap((d) => d.series).find((d) => d.id === t.id)?.value ?? 0, o = k.value.flatMap((d) => d.series).find((d) => d.id === t.id);
376
376
  let n = o ? o.value : 0;
377
- const v = F.value.find(
377
+ const v = O.value.find(
378
378
  (d) => d.id === s.arcOfId
379
379
  );
380
380
  if (!v) return;
381
- const f = v.series.map((d) => d.id), m = Wt(
381
+ const f = v.series.map((d) => d.id), w = Xt(
382
382
  f,
383
383
  f.length - 1,
384
- x.value
384
+ b.value
385
385
  );
386
- x.value.includes(t.id) ? (x.value = x.value.filter((d) => d !== t.id), e.value.serieToggleAnimation.show ? rt({
386
+ b.value.includes(t.id) ? (b.value = b.value.filter((d) => d !== t.id), e.value.serieToggleAnimation.show ? rt({
387
387
  from: n,
388
388
  to: a,
389
389
  duration: e.value.serieToggleAnimation.durationMs,
390
390
  onUpdate: (d) => {
391
- $.value = $.value.map((g) => ({
391
+ k.value = k.value.map((g) => ({
392
392
  ...g,
393
393
  series: g.series.map((S) => S.id === t.id ? { ...S, value: d } : S)
394
394
  }));
395
395
  }
396
- }) : $.value = $.value.map((d) => ({
396
+ }) : k.value = k.value.map((d) => ({
397
397
  ...d,
398
398
  series: d.series.map((g) => g.id === t.id ? { ...g, value: a } : g)
399
- }))) : m && (e.value.serieToggleAnimation.show ? rt({
399
+ }))) : w && (e.value.serieToggleAnimation.show ? rt({
400
400
  from: n,
401
401
  to: 0,
402
402
  duration: e.value.serieToggleAnimation.durationMs,
403
403
  onUpdate: (d) => {
404
- $.value = $.value.map((g) => ({
404
+ k.value = k.value.map((g) => ({
405
405
  ...g,
406
406
  series: g.series.map((S) => S.id === t.id ? { ...S, value: d } : S)
407
407
  }));
408
408
  },
409
409
  onDone: () => {
410
- x.value.push(t.id);
410
+ b.value.push(t.id);
411
411
  }
412
- }) : ($.value = $.value.map((d) => ({
412
+ }) : (k.value = k.value.map((d) => ({
413
413
  ...d,
414
414
  series: d.series.map((g) => g.id === t.id ? { ...g, value: 0 } : g)
415
- })), x.value.push(t.id)));
415
+ })), b.value.push(t.id)));
416
416
  }
417
- const oe = b(() => N.value / F.value.length * e.value.style.chart.layout.donut.spacingRatio), dt = b(() => $.value.map((t, s) => N.value - s * N.value / F.value.length)), H = b(() => $.value.map((t, s) => {
418
- const a = Math.abs(t.series.map((m) => m.value).reduce((m, d) => m + d, 0)) > 0, o = N.value - s * N.value / $.value.length, l = R.value ? Z.value.find((m) => m.datasetIndex === s) : null, n = [...t.series, ...l ? [l] : []].map((m) => ({
419
- ...m,
420
- value: m.value < 1e-11 ? Number.MIN_VALUE : m.value
417
+ function dt(t) {
418
+ if (!O.value.length)
419
+ return e.value.debug && console.warn("VueUiNestedDonuts - There are no series to show."), null;
420
+ const s = O.value.flatMap((a) => a.series).filter((a) => a.name === t);
421
+ return s || (e.value.debug && console.warn(`VueUiNestedDonuts - Series name not found "${t}"`), null);
422
+ }
423
+ function Ht(t) {
424
+ const s = dt(t);
425
+ s !== null && (Array.isArray(s) ? s.forEach((a) => {
426
+ b.value.includes(a.id) && W({ id: a.id });
427
+ }) : b.value.includes(s.id) && W({ id: s.id }));
428
+ }
429
+ function qt(t) {
430
+ const s = dt(t);
431
+ s !== null && (Array.isArray(s) ? s.forEach((a) => {
432
+ b.value.includes(a.id) || W({ id: a.id });
433
+ }) : b.value.includes(s.id) || W({ id: s.id }));
434
+ }
435
+ const se = m(() => D.value / O.value.length * e.value.style.chart.layout.donut.spacingRatio), vt = m(() => k.value.map((t, s) => D.value - s * D.value / O.value.length)), q = m(() => k.value.map((t, s) => {
436
+ const a = Math.abs(t.series.map((w) => w.value).reduce((w, d) => w + d, 0)) > 0, o = D.value - s * D.value / k.value.length, l = U.value ? j.value.find((w) => w.datasetIndex === s) : null, n = [...t.series, ...l ? [l] : []].map((w) => ({
437
+ ...w,
438
+ value: w.value < 1e-11 ? Number.MIN_VALUE : w.value
421
439
  })), v = Be(
422
440
  { series: [
423
441
  { name: "_", color: e.value.style.chart.layout.donut.emptyFill, value: 1 }
@@ -431,7 +449,7 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
431
449
  1,
432
450
  360,
433
451
  105.25,
434
- oe.value
452
+ se.value
435
453
  ), f = `M ${h.value.width / 2},${h.value.height / 2 + o}
436
454
  a ${o},${o} 0 1,1 0,${-2 * o}
437
455
  a ${o},${o} 0 1,1 0,${2 * o}`;
@@ -452,57 +470,57 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
452
470
  1,
453
471
  360,
454
472
  105.25,
455
- oe.value
473
+ se.value
456
474
  )
457
475
  };
458
- })), vt = b(() => [...F.value].map((t, s) => {
459
- const a = s * N.value / F.value.length;
476
+ })), ct = m(() => [...O.value].map((t, s) => {
477
+ const a = s * D.value / O.value.length;
460
478
  return {
461
479
  sizeRatio: a,
462
480
  donut: Be(
463
481
  { series: [{ value: 1 }] },
464
482
  h.value.width / 2,
465
483
  h.value.height / 2,
466
- N.value - a,
467
- N.value - a,
484
+ D.value - a,
485
+ D.value - a,
468
486
  1.99999,
469
487
  2,
470
488
  1,
471
489
  360,
472
490
  105.25,
473
- N.value / F.value.length * e.value.style.chart.layout.donut.spacingRatio
491
+ D.value / O.value.length * e.value.style.chart.layout.donut.spacingRatio
474
492
  )[0]
475
493
  };
476
- })), ct = c(null), se = c(null), ue = c(null), Le = c(null);
477
- function Xt({ datapoint: t, seriesIndex: s }) {
478
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: s }), fe.value = !1, ct.value = null, ye.value = null, se.value = null, ue.value = null;
494
+ })), ht = c(null), ue = c(null), ne = c(null), Le = c(null);
495
+ function Qt({ datapoint: t, seriesIndex: s }) {
496
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: s }), pe.value = !1, ht.value = null, ge.value = null, ue.value = null, ne.value = null;
479
497
  }
480
- function Ht({ datapoint: t, _relativeIndex: s, seriesIndex: a }) {
481
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a }), ct.value = t.arcOfId, se.value = t.id, ue.value = a, ye.value = t.id, Le.value = {
498
+ function Jt({ datapoint: t, _relativeIndex: s, seriesIndex: a }) {
499
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a }), ht.value = t.arcOfId, ue.value = t.id, ne.value = a, ge.value = t.id, Le.value = {
482
500
  datapoint: t,
483
501
  seriesIndex: a,
484
- series: $.value,
502
+ series: k.value,
485
503
  config: e.value
486
504
  };
487
505
  const o = e.value.style.chart.tooltip.customFormat;
488
- if (_t(o) && Ll(
506
+ if (At(o) && Al(
489
507
  () => o({
490
508
  seriesIndex: a,
491
509
  datapoint: t,
492
- series: $.value,
510
+ series: k.value,
493
511
  config: e.value
494
512
  })
495
513
  ))
496
- pe.value = o({
514
+ ye.value = o({
497
515
  seriesIndex: a,
498
516
  datapoint: t,
499
- series: $.value,
517
+ series: k.value,
500
518
  config: e.value
501
519
  });
502
520
  else {
503
521
  let l = "";
504
- if (e.value.style.chart.tooltip.showAllItemsAtIndex && x.value.length === 0) {
505
- const n = $.value.map((v) => v.series.find((f) => f.seriesIndex === a));
522
+ if (e.value.style.chart.tooltip.showAllItemsAtIndex && b.value.length === 0) {
523
+ const n = k.value.map((v) => v.series.find((f) => f.seriesIndex === a));
506
524
  n.forEach((v, f) => {
507
525
  if (!v) return "";
508
526
  l += `
@@ -516,10 +534,10 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
516
534
  </span>
517
535
  </div>
518
536
  <span>
519
- ${e.value.style.chart.tooltip.showValue ? `<b>${ae(
537
+ ${e.value.style.chart.tooltip.showValue ? `<b>${oe(
520
538
  e.value.style.chart.layout.labels.dataLabels.formatter,
521
539
  t.value,
522
- O({
540
+ F({
523
541
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
524
542
  v: t.value,
525
543
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -528,7 +546,7 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
528
546
  { datapoint: t, seriesIndex: a }
529
547
  )}
530
548
  </b>` : ""}
531
- ${e.value.style.chart.tooltip.showPercentage ? `(${O({
549
+ ${e.value.style.chart.tooltip.showPercentage ? `(${F({
532
550
  v: v.proportion * 100,
533
551
  s: "%",
534
552
  r: e.value.style.chart.tooltip.roundingPercentage
@@ -538,44 +556,44 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
538
556
  `;
539
557
  });
540
558
  } else
541
- l += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.arcOf ?? ""} - ${t.name}</div>`, l += `<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="${t.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (l += `<b>${ae(
559
+ l += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.arcOf ?? ""} - ${t.name}</div>`, l += `<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="${t.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (l += `<b>${oe(
542
560
  e.value.style.chart.layout.labels.dataLabels.formatter,
543
561
  t.value,
544
- O({
562
+ F({
545
563
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
546
564
  v: t.value,
547
565
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
548
566
  r: e.value.style.chart.tooltip.roundingValue
549
567
  }),
550
568
  { datapoint: t, seriesIndex: a }
551
- )}</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? l += `<span>(${O({
569
+ )}</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? l += `<span>(${F({
552
570
  v: t.proportion * 100,
553
571
  s: "%",
554
572
  r: e.value.style.chart.tooltip.roundingPercentage
555
- })})</span></div>` : l += `<b>${O({
573
+ })})</span></div>` : l += `<b>${F({
556
574
  v: t.proportion * 100,
557
575
  s: "%",
558
576
  r: e.value.style.chart.tooltip.roundingPercentage
559
577
  })}</b></div>`);
560
- pe.value = `<div style="font-size:${e.value.style.chart.tooltip.fontSize}px">${l}</div>`;
578
+ ye.value = `<div style="font-size:${e.value.style.chart.tooltip.fontSize}px">${l}</div>`;
561
579
  }
562
- fe.value = !0;
580
+ pe.value = !0;
563
581
  }
564
582
  function xe(t) {
565
583
  return t.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
566
584
  }
567
- function ht(t, s) {
585
+ function ft(t, s) {
568
586
  if (!e.value.useBlurOnHover)
569
587
  return "";
570
- if (e.value.style.chart.tooltip.showAllItemsAtIndex && x.value.length === 0)
571
- return [null, void 0].includes(ue.value) || ue.value === s ? "" : `url(#blur_${p.value})`;
572
- if (!e.value.style.chart.tooltip.showAllItemsAtIndex || x.value.length)
573
- return [null, void 0].includes(se.value) || se.value === t.id ? "" : `url(#blur_${p.value})`;
588
+ if (e.value.style.chart.tooltip.showAllItemsAtIndex && b.value.length === 0)
589
+ return [null, void 0].includes(ne.value) || ne.value === s ? "" : `url(#blur_${p.value})`;
590
+ if (!e.value.style.chart.tooltip.showAllItemsAtIndex || b.value.length)
591
+ return [null, void 0].includes(ue.value) || ue.value === t.id ? "" : `url(#blur_${p.value})`;
574
592
  }
575
- const ne = b(() => F.value.map((t, s) => {
593
+ const re = m(() => O.value.map((t, s) => {
576
594
  const a = t.series.filter(
577
- (l) => !x.value.includes(l.id)
578
- ), o = R.value ? a.map((l) => {
595
+ (l) => !b.value.includes(l.id)
596
+ ), o = U.value ? a.map((l) => {
579
597
  const n = Y.value[s].series.findIndex(
580
598
  (v) => v.name === l.name
581
599
  );
@@ -587,17 +605,17 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
587
605
  const v = E(Y.value[s].series[n].values).reduce(
588
606
  (d, g) => d + g,
589
607
  0
590
- ), f = R.value ? v : l.value, m = `${l.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${e.value.style.chart.legend.showValue ? ae(
608
+ ), f = U.value ? v : l.value, w = `${l.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${e.value.style.chart.legend.showValue ? oe(
591
609
  e.value.style.chart.layout.labels.dataLabels.formatter,
592
610
  f,
593
- O({
611
+ F({
594
612
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
595
613
  v: f,
596
614
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
597
615
  r: e.value.style.chart.legend.roundingValue
598
616
  }),
599
617
  { datapoint: l, seriesIndex: n }
600
- ) : ""}${e.value.style.chart.legend.showPercentage ? x.value.includes(l.id) ? `${e.value.style.chart.legend.showValue ? "(" : ""}- %${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? "(" : ""}${isNaN(f / o) ? "-" : O({
618
+ ) : ""}${e.value.style.chart.legend.showPercentage ? b.value.includes(l.id) ? `${e.value.style.chart.legend.showValue ? "(" : ""}- %${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? "(" : ""}${isNaN(f / o) ? "-" : F({
601
619
  v: f / o * 100,
602
620
  s: "%",
603
621
  r: e.value.style.chart.legend.roundingPercentage
@@ -606,36 +624,36 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
606
624
  name: l.name,
607
625
  color: l.color,
608
626
  value: f,
609
- display: m,
610
- svgDisplay: `${l.arcOf ? `${l.arcOf} - ` : ""}${m}`,
627
+ display: w,
628
+ svgDisplay: `${l.arcOf ? `${l.arcOf} - ` : ""}${w}`,
611
629
  shape: "circle",
612
630
  arcOf: l.arcOf,
613
631
  id: l.id,
614
632
  seriesIndex: n,
615
633
  datasetIndex: s,
616
634
  total: o,
617
- opacity: x.value.includes(l.id) ? 0.5 : 1,
618
- segregate: () => Ce(l),
619
- isSegregated: x.value.includes(l.id)
635
+ opacity: b.value.includes(l.id) ? 0.5 : 1,
636
+ segregate: () => W(l),
637
+ isSegregated: b.value.includes(l.id)
620
638
  };
621
639
  });
622
- })), qt = b(() => ({
640
+ })), Kt = m(() => ({
623
641
  cy: "nested-donuts-legend",
624
642
  backgroundColor: e.value.style.chart.legend.backgroundColor,
625
643
  color: e.value.style.chart.legend.color,
626
644
  fontSize: e.value.style.chart.legend.fontSize,
627
645
  paddingBottom: 12,
628
646
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
629
- })), V = b(() => {
630
- const t = $.value.flatMap((a) => a.series.map((o) => ({
647
+ })), V = m(() => {
648
+ const t = k.value.flatMap((a) => a.series.map((o) => ({
631
649
  name: `${a.name} - ${o.name}`,
632
650
  color: o.color,
633
651
  total: a.total
634
- }))), s = $.value.flatMap((a) => a.series.map((o) => o.value));
652
+ }))), s = k.value.flatMap((a) => a.series.map((o) => o.value));
635
653
  return { head: t, body: s };
636
654
  });
637
655
  function _e(t = null) {
638
- Lt(() => {
656
+ xt(() => {
639
657
  const s = V.value.head.map((l, n) => [
640
658
  [l.name],
641
659
  [V.value.body[n]],
@@ -646,20 +664,20 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
646
664
  [e.value.style.chart.title.text],
647
665
  [e.value.style.chart.title.subtitle.text],
648
666
  [[""], ["val"], ["%"]]
649
- ].concat(s), o = kl(a);
650
- t ? t(o) : Cl({
667
+ ].concat(s), o = xl(a);
668
+ t ? t(o) : _l({
651
669
  csvContent: o,
652
670
  title: e.value.style.chart.title.text || "vue-ui-nested-donuts"
653
671
  });
654
672
  });
655
673
  }
656
- const re = b(() => {
674
+ const ie = m(() => {
657
675
  const t = [
658
676
  e.value.table.columnNames.series,
659
677
  e.value.table.columnNames.value,
660
678
  e.value.table.columnNames.percentage
661
679
  ], s = V.value.head.map((l, n) => {
662
- const v = O({
680
+ const v = F({
663
681
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
664
682
  v: V.value.body[n],
665
683
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -671,7 +689,7 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
671
689
  name: l.name
672
690
  },
673
691
  v,
674
- isNaN(V.value.body[n] / l.total) ? "-" : O({
692
+ isNaN(V.value.body[n] / l.total) ? "-" : F({
675
693
  v: V.value.body[n] / l.total * 100,
676
694
  s: "%",
677
695
  r: e.value.table.td.roundingPercentage
@@ -701,25 +719,25 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
701
719
  config: a
702
720
  };
703
721
  });
704
- function Qt() {
705
- return F.value;
706
- }
707
- function ft() {
708
- L.value.showTable = !L.value.showTable;
722
+ function Zt() {
723
+ return O.value;
709
724
  }
710
725
  function pt() {
711
- L.value.dataLabels.show = !L.value.dataLabels.show;
726
+ x.value.showTable = !x.value.showTable;
712
727
  }
713
728
  function yt() {
714
- L.value.showTooltip = !L.value.showTooltip;
729
+ x.value.dataLabels.show = !x.value.dataLabels.show;
715
730
  }
716
- const ie = c(!1);
731
+ function gt() {
732
+ x.value.showTooltip = !x.value.showTooltip;
733
+ }
734
+ const de = c(!1);
717
735
  function Ae() {
718
- ie.value = !ie.value;
736
+ de.value = !de.value;
719
737
  }
720
- async function Jt({ scale: t = 2 } = {}) {
721
- if (!I.value) return;
722
- const { width: s, height: a } = I.value.getBoundingClientRect(), o = s / a, { imageUri: l, base64: n } = await Dl({ domElement: I.value, base64: !0, img: !0, scale: t });
738
+ async function jt({ scale: t = 2 } = {}) {
739
+ if (!N.value) return;
740
+ const { width: s, height: a } = N.value.getBoundingClientRect(), o = s / a, { imageUri: l, base64: n } = await zl({ domElement: N.value, base64: !0, img: !0, scale: t });
723
741
  return {
724
742
  imageUri: l,
725
743
  base64: n,
@@ -730,15 +748,15 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
730
748
  };
731
749
  }
732
750
  const Te = c(null);
733
- function Kt() {
751
+ function el() {
734
752
  if (!Te.value) return;
735
753
  const { x: t, y: s, width: a, height: o } = Te.value.getBBox();
736
- ee.value && ee.value.setAttribute("viewBox", `${t} ${s} ${a + Math.min(0, t)} ${o + Math.min(0, s)}`);
754
+ te.value && te.value.setAttribute("viewBox", `${t} ${s} ${a + Math.min(0, t)} ${o + Math.min(0, s)}`);
737
755
  }
738
- const te = b(() => {
739
- const t = e.value.table.useDialog && !e.value.table.show, s = L.value.showTable;
756
+ const le = m(() => {
757
+ const t = e.value.table.useDialog && !e.value.table.show, s = x.value.showTable;
740
758
  return {
741
- component: t ? Bt : Dt,
759
+ component: t ? Et : Pt,
742
760
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
743
761
  props: t ? {
744
762
  backgroundColor: e.value.table.th.backgroundColor,
@@ -746,7 +764,7 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
746
764
  headerColor: e.value.table.th.color,
747
765
  headerBg: e.value.table.th.backgroundColor,
748
766
  isFullscreen: G.value,
749
- fullscreenParent: I.value,
767
+ fullscreenParent: N.value,
750
768
  forcedWidth: Math.min(800, window.innerWidth * 0.8)
751
769
  } : {
752
770
  hideDetails: !0,
@@ -765,72 +783,74 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
765
783
  }
766
784
  };
767
785
  });
768
- le(() => L.value.showTable, (t) => {
769
- e.value.table.show || (t && e.value.table.useDialog && j.value ? j.value.open() : "close" in j.value && j.value.close());
786
+ ae(() => x.value.showTable, (t) => {
787
+ e.value.table.show || (t && e.value.table.useDialog && ee.value ? ee.value.open() : "close" in ee.value && ee.value.close());
770
788
  });
771
- function gt() {
772
- L.value.showTable = !1, be.value && be.value.setTableIconState(!1);
789
+ function bt() {
790
+ x.value.showTable = !1, me.value && me.value.setTableIconState(!1);
773
791
  }
774
- const Zt = b(() => e.value.style.chart.backgroundColor), jt = b(() => e.value.style.chart.legend), el = b(() => e.value.style.chart.title), tl = b(() => ne.value.flat().map((t) => ({
792
+ const tl = m(() => e.value.style.chart.backgroundColor), ll = m(() => e.value.style.chart.legend), al = m(() => e.value.style.chart.title), ol = m(() => re.value.flat().map((t) => ({
775
793
  ...t,
776
794
  name: t.svgDisplay
777
- }))), { exportSvg: ll, getSvg: al } = Fl({
778
- svg: ee,
779
- title: el,
780
- legend: jt,
781
- legendItems: tl,
782
- backgroundColor: Zt
795
+ }))), { exportSvg: sl, getSvg: ul } = Il({
796
+ svg: te,
797
+ title: al,
798
+ legend: ll,
799
+ legendItems: ol,
800
+ backgroundColor: tl
783
801
  });
784
- async function bt({ isCb: t }) {
802
+ async function mt({ isCb: t }) {
785
803
  if (t) {
786
- const { blob: s, url: a, text: o, dataUrl: l } = await al();
804
+ const { blob: s, url: a, text: o, dataUrl: l } = await ul();
787
805
  e.value.userOptions.callbacks.svg({ blob: s, url: a, text: o, dataUrl: l });
788
806
  } else
789
- ll();
807
+ sl();
790
808
  }
791
- return Ot({
792
- autoSize: Kt,
793
- getData: Qt,
794
- getImage: Jt,
809
+ return Ft({
810
+ autoSize: el,
811
+ getData: Zt,
812
+ getImage: jt,
795
813
  generatePdf: st,
796
814
  generateCsv: _e,
797
815
  generateImage: ut,
798
- generateSvg: bt,
799
- toggleTable: ft,
800
- toggleLabels: pt,
801
- toggleTooltip: yt,
816
+ generateSvg: mt,
817
+ hideSeries: qt,
818
+ showSeries: Ht,
819
+ toggleTable: pt,
820
+ toggleLabels: yt,
821
+ toggleTooltip: gt,
802
822
  toggleAnnotator: Ae,
803
823
  toggleFullscreen: Je
804
824
  }), (t, s) => (u(), r("div", {
805
825
  ref_key: "nestedDonutsChart",
806
- ref: I,
826
+ ref: N,
807
827
  class: M(`vue-data-ui-component vue-ui-nested-donuts ${G.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
808
- style: ce(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
828
+ style: he(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
809
829
  id: `nested_donuts_${p.value}`,
810
830
  onMouseenter: s[2] || (s[2] = () => i(Ze)(!0)),
811
831
  onMouseleave: s[3] || (s[3] = () => i(Ze)(!1))
812
832
  }, [
813
- e.value.userOptions.buttons.annotator ? (u(), B(i(zt), {
833
+ e.value.userOptions.buttons.annotator ? (u(), B(i(Mt), {
814
834
  key: 0,
815
- svgRef: i(ee),
835
+ svgRef: i(te),
816
836
  backgroundColor: e.value.style.chart.backgroundColor,
817
837
  color: e.value.style.chart.color,
818
- active: ie.value,
838
+ active: de.value,
819
839
  onClose: Ae
820
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : k("", !0),
821
- Ut.value ? (u(), r("div", {
840
+ }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : C("", !0),
841
+ Gt.value ? (u(), r("div", {
822
842
  key: 1,
823
843
  ref_key: "noTitle",
824
844
  ref: We,
825
845
  class: "vue-data-ui-no-title-space",
826
846
  style: "height:36px; width: 100%;background:transparent"
827
- }, null, 512)) : k("", !0),
847
+ }, null, 512)) : C("", !0),
828
848
  e.value.style.chart.title.text ? (u(), r("div", {
829
849
  key: 2,
830
850
  ref_key: "chartTitle",
831
851
  ref: Ge
832
852
  }, [
833
- (u(), B(Pl, {
853
+ (u(), B(Ml, {
834
854
  key: `title_${Xe.value}`,
835
855
  config: {
836
856
  title: {
@@ -843,14 +863,14 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
843
863
  }
844
864
  }
845
865
  }, null, 8, ["config"]))
846
- ], 512)) : k("", !0),
866
+ ], 512)) : C("", !0),
847
867
  y("div", {
848
868
  id: `legend-top-${p.value}`
849
- }, null, 8, El),
850
- e.value.userOptions.show && he.value && (i(je) || i($e)) ? (u(), B(i(Vt), {
869
+ }, null, 8, Gl),
870
+ e.value.userOptions.show && fe.value && (i(je) || i(ke)) ? (u(), B(i(zt), {
851
871
  ref_key: "userOptionsRef",
852
- ref: be,
853
- key: `user_option_${Ue.value}`,
872
+ ref: me,
873
+ key: `user_option_${Re.value}`,
854
874
  backgroundColor: e.value.style.chart.backgroundColor,
855
875
  color: e.value.style.chart.color,
856
876
  isPrinting: i(at),
@@ -865,12 +885,12 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
865
885
  hasLabel: e.value.userOptions.buttons.labels,
866
886
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
867
887
  isFullscreen: G.value,
868
- isTooltip: L.value.showTooltip,
888
+ isTooltip: x.value.showTooltip,
869
889
  titles: { ...e.value.userOptions.buttonTitles },
870
- chartElement: I.value,
890
+ chartElement: N.value,
871
891
  position: e.value.userOptions.position,
872
892
  hasAnnotator: e.value.userOptions.buttons.annotator,
873
- isAnnotation: ie.value,
893
+ isAnnotation: de.value,
874
894
  callbacks: e.value.userOptions.callbacks,
875
895
  printScale: e.value.userOptions.print.scale,
876
896
  tableDialog: e.value.table.useDialog,
@@ -878,104 +898,104 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
878
898
  onGeneratePdf: i(st),
879
899
  onGenerateCsv: _e,
880
900
  onGenerateImage: i(ut),
881
- onGenerateSvg: bt,
882
- onToggleTable: ft,
883
- onToggleLabels: pt,
884
- onToggleTooltip: yt,
901
+ onGenerateSvg: mt,
902
+ onToggleTable: pt,
903
+ onToggleLabels: yt,
904
+ onToggleTooltip: gt,
885
905
  onToggleAnnotator: Ae,
886
- style: ce({
887
- visibility: i(je) ? i($e) ? "visible" : "hidden" : "visible"
906
+ style: he({
907
+ visibility: i(je) ? i(ke) ? "visible" : "hidden" : "visible"
888
908
  })
889
- }, wt({ _: 2 }, [
909
+ }, $t({ _: 2 }, [
890
910
  t.$slots.menuIcon ? {
891
911
  name: "menuIcon",
892
- fn: C(({ isOpen: a, color: o }) => [
893
- _(t.$slots, "menuIcon", q(Q({ isOpen: a, color: o })), void 0, !0)
912
+ fn: L(({ isOpen: a, color: o }) => [
913
+ _(t.$slots, "menuIcon", Q(J({ isOpen: a, color: o })), void 0, !0)
894
914
  ]),
895
915
  key: "0"
896
916
  } : void 0,
897
917
  t.$slots.optionTooltip ? {
898
918
  name: "optionTooltip",
899
- fn: C(() => [
919
+ fn: L(() => [
900
920
  _(t.$slots, "optionTooltip", {}, void 0, !0)
901
921
  ]),
902
922
  key: "1"
903
923
  } : void 0,
904
924
  t.$slots.optionPdf ? {
905
925
  name: "optionPdf",
906
- fn: C(() => [
926
+ fn: L(() => [
907
927
  _(t.$slots, "optionPdf", {}, void 0, !0)
908
928
  ]),
909
929
  key: "2"
910
930
  } : void 0,
911
931
  t.$slots.optionCsv ? {
912
932
  name: "optionCsv",
913
- fn: C(() => [
933
+ fn: L(() => [
914
934
  _(t.$slots, "optionCsv", {}, void 0, !0)
915
935
  ]),
916
936
  key: "3"
917
937
  } : void 0,
918
938
  t.$slots.optionImg ? {
919
939
  name: "optionImg",
920
- fn: C(() => [
940
+ fn: L(() => [
921
941
  _(t.$slots, "optionImg", {}, void 0, !0)
922
942
  ]),
923
943
  key: "4"
924
944
  } : void 0,
925
945
  t.$slots.optionSvg ? {
926
946
  name: "optionSvg",
927
- fn: C(() => [
947
+ fn: L(() => [
928
948
  _(t.$slots, "optionSvg", {}, void 0, !0)
929
949
  ]),
930
950
  key: "5"
931
951
  } : void 0,
932
952
  t.$slots.optionTable ? {
933
953
  name: "optionTable",
934
- fn: C(() => [
954
+ fn: L(() => [
935
955
  _(t.$slots, "optionTable", {}, void 0, !0)
936
956
  ]),
937
957
  key: "6"
938
958
  } : void 0,
939
959
  t.$slots.optionLabels ? {
940
960
  name: "optionLabels",
941
- fn: C(() => [
961
+ fn: L(() => [
942
962
  _(t.$slots, "optionLabels", {}, void 0, !0)
943
963
  ]),
944
964
  key: "7"
945
965
  } : void 0,
946
966
  t.$slots.optionFullscreen ? {
947
967
  name: "optionFullscreen",
948
- fn: C(({ toggleFullscreen: a, isFullscreen: o }) => [
949
- _(t.$slots, "optionFullscreen", q(Q({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
968
+ fn: L(({ toggleFullscreen: a, isFullscreen: o }) => [
969
+ _(t.$slots, "optionFullscreen", Q(J({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
950
970
  ]),
951
971
  key: "8"
952
972
  } : void 0,
953
973
  t.$slots.optionAnnotator ? {
954
974
  name: "optionAnnotator",
955
- fn: C(({ toggleAnnotator: a, isAnnotator: o }) => [
956
- _(t.$slots, "optionAnnotator", q(Q({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
975
+ fn: L(({ toggleAnnotator: a, isAnnotator: o }) => [
976
+ _(t.$slots, "optionAnnotator", Q(J({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
957
977
  ]),
958
978
  key: "9"
959
979
  } : void 0
960
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : k("", !0),
980
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : C("", !0),
961
981
  (u(), r("svg", {
962
982
  ref_key: "svgRef",
963
- ref: ee,
964
- xmlns: i(wl),
983
+ ref: te,
984
+ xmlns: i(Cl),
965
985
  class: M({
966
986
  "vue-data-ui-fullscreen--on": G.value,
967
987
  "vue-data-ui-fulscreen--off": !G.value,
968
988
  "vue-data-ui-svg": !0
969
989
  }),
970
990
  viewBox: `0 0 ${h.value.width <= 0 ? 1e-3 : h.value.width} ${h.value.height < 0 ? 1e-3 : h.value.height}`,
971
- style: ce(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};${et.value.css}`)
991
+ style: he(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};${et.value.css}`)
972
992
  }, [
973
993
  y("g", {
974
994
  ref_key: "G",
975
995
  ref: Te,
976
996
  class: "vue-data-ui-g"
977
997
  }, [
978
- Ve(i(Mt)),
998
+ Ve(i(Bt)),
979
999
  t.$slots["chart-background"] ? (u(), r("foreignObject", {
980
1000
  key: 0,
981
1001
  x: 0,
@@ -987,9 +1007,9 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
987
1007
  }
988
1008
  }, [
989
1009
  _(t.$slots, "chart-background", {}, void 0, !0)
990
- ], 8, Ul)) : k("", !0),
1010
+ ], 8, Wl)) : C("", !0),
991
1011
  y("defs", null, [
992
- (u(!0), r(A, null, T(vt.value, (a, o) => (u(), r("radialGradient", {
1012
+ (u(!0), r(A, null, T(ct.value, (a, o) => (u(), r("radialGradient", {
993
1013
  id: `radial_${p.value}_${o}`
994
1014
  }, [
995
1015
  s[4] || (s[4] = y("stop", {
@@ -998,21 +1018,21 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
998
1018
  "stop-opacity": "0"
999
1019
  }, null, -1)),
1000
1020
  y("stop", {
1001
- offset: `${(1 - oe.value / dt.value[o]) * 100}%`,
1002
- "stop-color": i($l)("#FFFFFF", 0),
1021
+ offset: `${(1 - se.value / vt.value[o]) * 100}%`,
1022
+ "stop-color": i(Ll)("#FFFFFF", 0),
1003
1023
  "stop-opacity": "0"
1004
- }, null, 8, Yl),
1024
+ }, null, 8, Hl),
1005
1025
  y("stop", {
1006
- offset: `${(1 - oe.value / dt.value[o] / 2) * 100}%`,
1026
+ offset: `${(1 - se.value / vt.value[o] / 2) * 100}%`,
1007
1027
  "stop-color": "#FFFFFF",
1008
1028
  "stop-opacity": e.value.style.chart.gradientIntensity / 100
1009
- }, null, 8, Wl),
1029
+ }, null, 8, ql),
1010
1030
  s[5] || (s[5] = y("stop", {
1011
1031
  offset: "100%",
1012
1032
  "stop-color": "#FFFFFF",
1013
1033
  "stop-opacity": "0"
1014
1034
  }, null, -1))
1015
- ], 8, Gl))), 256))
1035
+ ], 8, Xl))), 256))
1016
1036
  ]),
1017
1037
  y("defs", null, [
1018
1038
  y("filter", {
@@ -1026,12 +1046,12 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
1026
1046
  in: "SourceGraphic",
1027
1047
  stdDeviation: 2,
1028
1048
  id: `blur_std_${p.value}`
1029
- }, null, 8, Hl),
1049
+ }, null, 8, Jl),
1030
1050
  s[6] || (s[6] = y("feColorMatrix", {
1031
1051
  type: "saturate",
1032
1052
  values: "0"
1033
1053
  }, null, -1))
1034
- ], 8, Xl),
1054
+ ], 8, Ql),
1035
1055
  y("filter", {
1036
1056
  id: `shadow_${p.value}`,
1037
1057
  "color-interpolation-filters": "sRGB"
@@ -1042,18 +1062,18 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
1042
1062
  stdDeviation: "10",
1043
1063
  "flood-opacity": "0.5",
1044
1064
  "flood-color": e.value.style.chart.layout.donut.shadowColor
1045
- }, null, 8, Ql)
1046
- ], 8, ql)
1065
+ }, null, 8, Zl)
1066
+ ], 8, Kl)
1047
1067
  ]),
1048
1068
  y("defs", null, [
1049
- (u(!0), r(A, null, T(H.value, (a, o) => (u(), r("path", {
1069
+ (u(!0), r(A, null, T(q.value, (a, o) => (u(), r("path", {
1050
1070
  key: `path-full-${o}`,
1051
1071
  id: `path-full-${o}-${p.value}`,
1052
1072
  d: a.fullCirclePath,
1053
1073
  fill: "none"
1054
- }, null, 8, Jl))), 128))
1074
+ }, null, 8, jl))), 128))
1055
1075
  ]),
1056
- (u(!0), r(A, null, T(H.value, (a, o) => (u(), r("g", null, [
1076
+ (u(!0), r(A, null, T(q.value, (a, o) => (u(), r("g", null, [
1057
1077
  a.hasData ? (u(!0), r(A, { key: 0 }, T(a.donut.filter((l) => !l.ghost), (l, n) => (u(), r("g", null, [
1058
1078
  y("path", {
1059
1079
  class: "vue-ui-donut-arc-path",
@@ -1061,8 +1081,8 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
1061
1081
  fill: l.color,
1062
1082
  stroke: e.value.style.chart.layout.donut.borderColorAuto ? e.value.style.chart.backgroundColor : e.value.style.chart.layout.donut.borderColor,
1063
1083
  "stroke-width": e.value.style.chart.layout.donut.borderWidth,
1064
- filter: ht(l, n)
1065
- }, null, 8, Kl)
1084
+ filter: ft(l, n)
1085
+ }, null, 8, ea)
1066
1086
  ]))), 256)) : (u(!0), r(A, { key: 1 }, T(a.skeleton, (l, n) => (u(), r("g", null, [
1067
1087
  y("path", {
1068
1088
  class: "vue-ui-donut-arc-path",
@@ -1070,21 +1090,21 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
1070
1090
  fill: l.color,
1071
1091
  stroke: e.value.style.chart.layout.donut.borderColorAuto ? e.value.style.chart.backgroundColor : e.value.style.chart.layout.donut.borderColor,
1072
1092
  "stroke-width": e.value.style.chart.layout.donut.borderWidth
1073
- }, null, 8, Zl)
1093
+ }, null, 8, ta)
1074
1094
  ]))), 256))
1075
1095
  ]))), 256)),
1076
- e.value.style.chart.useGradient ? (u(), r("g", jl, [
1077
- (u(!0), r(A, null, T(vt.value, (a, o) => (u(), r("g", null, [
1096
+ e.value.style.chart.useGradient ? (u(), r("g", la, [
1097
+ (u(!0), r(A, null, T(ct.value, (a, o) => (u(), r("g", null, [
1078
1098
  y("path", {
1079
1099
  d: a.donut.arcSlice,
1080
1100
  fill: `url(#radial_${p.value}_${o})`,
1081
1101
  stroke: "transparent",
1082
1102
  "stroke-width": "0"
1083
- }, null, 8, ea)
1103
+ }, null, 8, aa)
1084
1104
  ]))), 256))
1085
- ])) : k("", !0),
1086
- e.value.style.chart.layout.labels.dataLabels.showDonutName ? (u(), r("g", ta, [
1087
- e.value.style.chart.layout.labels.dataLabels.curvedDonutName ? (u(!0), r(A, { key: 0 }, T(H.value, (a, o) => (u(), r("g", null, [
1105
+ ])) : C("", !0),
1106
+ e.value.style.chart.layout.labels.dataLabels.showDonutName ? (u(), r("g", oa, [
1107
+ e.value.style.chart.layout.labels.dataLabels.curvedDonutName ? (u(!0), r(A, { key: 0 }, T(q.value, (a, o) => (u(), r("g", null, [
1088
1108
  (u(!0), r(A, null, T(a.donut, (l, n) => (u(), r("g", null, [
1089
1109
  n === 0 && h.value.width && h.value.height ? (u(), r("text", {
1090
1110
  key: 0,
@@ -1101,13 +1121,13 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
1101
1121
  "text-anchor": "middle",
1102
1122
  method: "align",
1103
1123
  spacing: "auto"
1104
- }, D(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? i(xt)({
1124
+ }, I(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? i(_t)({
1105
1125
  source: a.name,
1106
1126
  length: e.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize
1107
- }) : a.name), 9, aa)
1108
- ], 10, la)) : k("", !0)
1127
+ }) : a.name), 9, ua)
1128
+ ], 10, sa)) : C("", !0)
1109
1129
  ]))), 256))
1110
- ]))), 256)) : (u(!0), r(A, { key: 1 }, T(H.value, (a, o) => (u(), r("g", null, [
1130
+ ]))), 256)) : (u(!0), r(A, { key: 1 }, T(q.value, (a, o) => (u(), r("g", null, [
1111
1131
  (u(!0), r(A, null, T(a.donut, (l, n) => (u(), r("g", null, [
1112
1132
  n === 0 && h.value.width && h.value.height ? (u(), r("text", {
1113
1133
  key: 0,
@@ -1118,23 +1138,23 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
1118
1138
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
1119
1139
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldDonutName ? "bold" : "normal",
1120
1140
  fill: e.value.style.chart.layout.labels.dataLabels.color
1121
- }, D(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? i(xt)({
1141
+ }, I(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? i(_t)({
1122
1142
  source: a.name,
1123
1143
  length: e.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize
1124
- }) : a.name), 11, oa)) : k("", !0)
1144
+ }) : a.name), 11, na)) : C("", !0)
1125
1145
  ]))), 256))
1126
1146
  ]))), 256))
1127
- ])) : k("", !0),
1128
- e.value.style.chart.layout.labels.dataLabels.show ? (u(), r("g", sa, [
1129
- (u(!0), r(A, null, T(H.value, (a, o) => (u(), r("g", null, [
1147
+ ])) : C("", !0),
1148
+ e.value.style.chart.layout.labels.dataLabels.show ? (u(), r("g", ra, [
1149
+ (u(!0), r(A, null, T(q.value, (a, o) => (u(), r("g", null, [
1130
1150
  (u(!0), r(A, null, T(a.donut.filter((l) => !l.ghost), (l, n) => (u(), r("g", {
1131
- filter: ht(l, n)
1151
+ filter: ft(l, n)
1132
1152
  }, [
1133
- $t(y("text", {
1153
+ kt(y("text", {
1134
1154
  class: M({ animated: e.value.useCssAnimation }),
1135
1155
  opacity: xe(l) ? 1 : 0,
1136
- "text-anchor": i(K)(l, !0).anchor,
1137
- x: i(K)(
1156
+ "text-anchor": i(Z)(l, !0).anchor,
1157
+ x: i(Z)(
1138
1158
  l,
1139
1159
  !1,
1140
1160
  e.value.style.chart.layout.labels.dataLabels.offsetX
@@ -1147,21 +1167,21 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
1147
1167
  fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? l.color : e.value.style.chart.layout.labels.dataLabels.color,
1148
1168
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
1149
1169
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldPercentage ? "bold" : "normal"
1150
- }, D(i(O)({
1170
+ }, I(i(F)({
1151
1171
  v: l.proportion * 100,
1152
1172
  s: "%",
1153
1173
  r: e.value.style.chart.layout.labels.dataLabels.roundingPercentage
1154
- })), 11, na), [
1174
+ })), 11, da), [
1155
1175
  [
1156
- kt,
1157
- L.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage
1176
+ Ct,
1177
+ x.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage
1158
1178
  ]
1159
1179
  ]),
1160
- $t(y("text", {
1180
+ kt(y("text", {
1161
1181
  class: M({ animated: e.value.useCssAnimation }),
1162
1182
  opacity: xe(l) ? 1 : 0,
1163
- "text-anchor": i(K)(l, !0).anchor,
1164
- x: i(K)(
1183
+ "text-anchor": i(Z)(l, !0).anchor,
1184
+ x: i(Z)(
1165
1185
  l,
1166
1186
  !1,
1167
1187
  e.value.style.chart.layout.labels.dataLabels.offsetX
@@ -1174,27 +1194,27 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
1174
1194
  fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? l.color : e.value.style.chart.layout.labels.dataLabels.color,
1175
1195
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
1176
1196
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldValue ? "bold" : "normal"
1177
- }, " (" + D(i(ae)(
1197
+ }, " (" + I(i(oe)(
1178
1198
  e.value.style.chart.layout.labels.dataLabels.formatter,
1179
1199
  l.value,
1180
- i(O)({
1200
+ i(F)({
1181
1201
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
1182
1202
  v: l.value,
1183
1203
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
1184
1204
  r: e.value.style.chart.layout.labels.dataLabels.roundingValue
1185
1205
  }),
1186
1206
  { datapoint: l, seriesIndex: o, datapointIndex: n }
1187
- )) + ") ", 11, ra), [
1207
+ )) + ") ", 11, va), [
1188
1208
  [
1189
- kt,
1190
- L.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue
1209
+ Ct,
1210
+ x.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue
1191
1211
  ]
1192
1212
  ]),
1193
- xe(l) && L.value.dataLabels.show && !e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), r("text", {
1213
+ xe(l) && x.value.dataLabels.show && !e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), r("text", {
1194
1214
  key: 0,
1195
1215
  class: M({ animated: e.value.useCssAnimation }),
1196
- "text-anchor": i(K)(l, !0).anchor,
1197
- x: i(K)(
1216
+ "text-anchor": i(Z)(l, !0).anchor,
1217
+ x: i(Z)(
1198
1218
  l,
1199
1219
  !1,
1200
1220
  e.value.style.chart.layout.labels.dataLabels.offsetX
@@ -1207,42 +1227,42 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
1207
1227
  fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? l.color : e.value.style.chart.layout.labels.dataLabels.color,
1208
1228
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
1209
1229
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldValue ? "bold" : "normal"
1210
- }, D(i(ae)(
1230
+ }, I(i(oe)(
1211
1231
  e.value.style.chart.layout.labels.dataLabels.formatter,
1212
1232
  l.value,
1213
- i(O)({
1233
+ i(F)({
1214
1234
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
1215
1235
  v: l.value,
1216
1236
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
1217
1237
  r: e.value.style.chart.layout.labels.dataLabels.roundingValue
1218
1238
  }),
1219
1239
  { datapoint: l, seriesIndex: o, datapointIndex: n }
1220
- )), 11, ia)) : k("", !0)
1221
- ], 8, ua))), 256))
1240
+ )), 11, ca)) : C("", !0)
1241
+ ], 8, ia))), 256))
1222
1242
  ]))), 256))
1223
- ])) : k("", !0),
1224
- (u(!0), r(A, null, T(H.value, (a, o) => (u(), r("g", null, [
1243
+ ])) : C("", !0),
1244
+ (u(!0), r(A, null, T(q.value, (a, o) => (u(), r("g", null, [
1225
1245
  (u(!0), r(A, null, T(a.donut, (l, n) => (u(), r("g", null, [
1226
1246
  y("path", {
1227
1247
  d: l.arcSlice,
1228
- fill: ye.value === l.id ? e.value.style.chart.layout.donut.selectedColor : "transparent",
1229
- onMouseenter: (v) => Ht({
1248
+ fill: ge.value === l.id ? e.value.style.chart.layout.donut.selectedColor : "transparent",
1249
+ onMouseenter: (v) => Jt({
1230
1250
  datapoint: l,
1231
1251
  seriesIndex: l.seriesIndex
1232
1252
  }),
1233
- onClick: (v) => Yt({ datapoint: l, index: n, seriesIndex: l.seriesIndex }),
1234
- onMouseleave: (v) => Xt({ datapoint: l, seriesIndex: l.seriesIndex })
1235
- }, null, 40, da)
1253
+ onClick: (v) => Wt({ datapoint: l, index: n, seriesIndex: l.seriesIndex }),
1254
+ onMouseleave: (v) => Qt({ datapoint: l, seriesIndex: l.seriesIndex })
1255
+ }, null, 40, ha)
1236
1256
  ]))), 256))
1237
1257
  ]))), 256)),
1238
1258
  _(t.$slots, "svg", { svg: h.value }, void 0, !0)
1239
1259
  ], 512)
1240
- ], 14, Rl)),
1241
- t.$slots.watermark ? (u(), r("div", va, [
1242
- _(t.$slots, "watermark", q(Q({ isPrinting: i(at) || i(ot) })), void 0, !0)
1243
- ])) : k("", !0),
1244
- Ve(i(It), {
1245
- show: L.value.showTooltip && fe.value,
1260
+ ], 14, Yl)),
1261
+ t.$slots.watermark ? (u(), r("div", fa, [
1262
+ _(t.$slots, "watermark", Q(J({ isPrinting: i(at) || i(ot) })), void 0, !0)
1263
+ ])) : C("", !0),
1264
+ Ve(i(Dt), {
1265
+ show: x.value.showTooltip && pe.value,
1246
1266
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
1247
1267
  color: e.value.style.chart.tooltip.color,
1248
1268
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -1252,61 +1272,61 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
1252
1272
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
1253
1273
  position: e.value.style.chart.tooltip.position,
1254
1274
  offsetY: e.value.style.chart.tooltip.offsetY,
1255
- parent: I.value,
1256
- content: pe.value,
1275
+ parent: N.value,
1276
+ content: ye.value,
1257
1277
  isFullscreen: G.value,
1258
- isCustom: i(_t)(e.value.style.chart.tooltip.customFormat),
1278
+ isCustom: i(At)(e.value.style.chart.tooltip.customFormat),
1259
1279
  smooth: e.value.style.chart.tooltip.smooth,
1260
1280
  backdropFilter: e.value.style.chart.tooltip.backdropFilter,
1261
1281
  smoothForce: e.value.style.chart.tooltip.smoothForce,
1262
1282
  smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
1263
1283
  }, {
1264
- "tooltip-before": C(() => [
1265
- _(t.$slots, "tooltip-before", q(Q({ ...Le.value })), void 0, !0)
1284
+ "tooltip-before": L(() => [
1285
+ _(t.$slots, "tooltip-before", Q(J({ ...Le.value })), void 0, !0)
1266
1286
  ]),
1267
- "tooltip-after": C(() => [
1268
- _(t.$slots, "tooltip-after", q(Q({ ...Le.value })), void 0, !0)
1287
+ "tooltip-after": L(() => [
1288
+ _(t.$slots, "tooltip-after", Q(J({ ...Le.value })), void 0, !0)
1269
1289
  ]),
1270
1290
  _: 3
1271
1291
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
1272
1292
  y("div", {
1273
1293
  id: `legend-bottom-${p.value}`
1274
- }, null, 8, ca),
1275
- Qe.value ? (u(), B(vl, {
1294
+ }, null, 8, pa),
1295
+ Qe.value ? (u(), B(fl, {
1276
1296
  key: 5,
1277
1297
  to: e.value.style.chart.legend.position === "top" ? `#legend-top-${p.value}` : `#legend-bottom-${p.value}`
1278
1298
  }, [
1279
1299
  e.value.style.chart.legend.show ? (u(), r("div", {
1280
1300
  key: 0,
1281
1301
  ref_key: "chartLegend",
1282
- ref: ge,
1283
- class: M({ "vue-ui-nested-donuts-legend": ne.value.length > 1 })
1302
+ ref: be,
1303
+ class: M({ "vue-ui-nested-donuts-legend": re.value.length > 1 })
1284
1304
  }, [
1285
- (u(!0), r(A, null, T(ne.value, (a, o) => (u(), B(zl, {
1305
+ (u(!0), r(A, null, T(re.value, (a, o) => (u(), B(El, {
1286
1306
  key: `legend_${o}_${qe.value}`,
1287
1307
  legendSet: a,
1288
- config: qt.value,
1289
- onClickMarker: s[0] || (s[0] = ({ legend: l }) => Ce(l))
1308
+ config: Kt.value,
1309
+ onClickMarker: s[0] || (s[0] = ({ legend: l }) => W(l))
1290
1310
  }, {
1291
- legendTitle: C(({ titleSet: l }) => [
1292
- l[0] && l[0].arcOf ? (u(), r("div", ha, D(l[0].arcOf), 1)) : k("", !0)
1311
+ legendTitle: L(({ titleSet: l }) => [
1312
+ l[0] && l[0].arcOf ? (u(), r("div", ya, I(l[0].arcOf), 1)) : C("", !0)
1293
1313
  ]),
1294
- item: C(({ legend: l, index: n }) => [
1314
+ item: L(({ legend: l, index: n }) => [
1295
1315
  y("div", {
1296
- onClick: (v) => Ce(l),
1297
- style: ce(`opacity:${x.value.includes(l.id) ? 0.5 : 1}`)
1298
- }, D(l.display), 13, fa)
1316
+ onClick: (v) => W(l),
1317
+ style: he(`opacity:${b.value.includes(l.id) ? 0.5 : 1}`)
1318
+ }, I(l.display), 13, ga)
1299
1319
  ]),
1300
1320
  _: 1
1301
1321
  }, 8, ["legendSet", "config"]))), 128))
1302
- ], 2)) : k("", !0)
1303
- ], 8, ["to"])) : k("", !0),
1304
- e.value.style.chart.legend.show ? k("", !0) : (u(), r("div", {
1322
+ ], 2)) : C("", !0)
1323
+ ], 8, ["to"])) : C("", !0),
1324
+ e.value.style.chart.legend.show ? C("", !0) : (u(), r("div", {
1305
1325
  key: 6,
1306
1326
  ref_key: "chartLegend",
1307
- ref: ge
1327
+ ref: be
1308
1328
  }, [
1309
- _(t.$slots, "legend", { legend: ne.value }, void 0, !0)
1329
+ _(t.$slots, "legend", { legend: re.value }, void 0, !0)
1310
1330
  ], 512)),
1311
1331
  t.$slots.source ? (u(), r("div", {
1312
1332
  key: 7,
@@ -1315,31 +1335,31 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
1315
1335
  dir: "auto"
1316
1336
  }, [
1317
1337
  _(t.$slots, "source", {}, void 0, !0)
1318
- ], 512)) : k("", !0),
1319
- he.value && e.value.userOptions.buttons.table ? (u(), B(cl(te.value.component), hl({ key: 8 }, te.value.props, {
1338
+ ], 512)) : C("", !0),
1339
+ fe.value && e.value.userOptions.buttons.table ? (u(), B(pl(le.value.component), yl({ key: 8 }, le.value.props, {
1320
1340
  ref_key: "tableUnit",
1321
- ref: j,
1322
- onClose: gt
1323
- }), wt({
1324
- content: C(() => [
1325
- (u(), B(i(Pt), {
1341
+ ref: ee,
1342
+ onClose: bt
1343
+ }), $t({
1344
+ content: L(() => [
1345
+ (u(), B(i(Vt), {
1326
1346
  key: `table_${He.value}`,
1327
- colNames: re.value.colNames,
1328
- head: re.value.head,
1329
- body: re.value.body,
1330
- config: re.value.config,
1331
- title: e.value.table.useDialog ? "" : te.value.title,
1347
+ colNames: ie.value.colNames,
1348
+ head: ie.value.head,
1349
+ body: ie.value.body,
1350
+ config: ie.value.config,
1351
+ title: e.value.table.useDialog ? "" : le.value.title,
1332
1352
  withCloseButton: !e.value.table.useDialog,
1333
- onClose: gt
1353
+ onClose: bt
1334
1354
  }, {
1335
- th: C(({ th: a }) => [
1355
+ th: L(({ th: a }) => [
1336
1356
  y("div", {
1337
1357
  innerHTML: a,
1338
1358
  style: { display: "flex", "align-items": "center" }
1339
- }, null, 8, pa)
1359
+ }, null, 8, ba)
1340
1360
  ]),
1341
- td: C(({ td: a }) => [
1342
- Ct(D(a.name || a), 1)
1361
+ td: L(({ td: a }) => [
1362
+ Lt(I(a.name || a), 1)
1343
1363
  ]),
1344
1364
  _: 1
1345
1365
  }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
@@ -1348,32 +1368,32 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
1348
1368
  }, [
1349
1369
  e.value.table.useDialog ? {
1350
1370
  name: "title",
1351
- fn: C(() => [
1352
- Ct(D(te.value.title), 1)
1371
+ fn: L(() => [
1372
+ Lt(I(le.value.title), 1)
1353
1373
  ]),
1354
1374
  key: "0"
1355
1375
  } : void 0,
1356
1376
  e.value.table.useDialog ? {
1357
1377
  name: "actions",
1358
- fn: C(() => [
1378
+ fn: L(() => [
1359
1379
  y("button", {
1360
1380
  tabindex: "0",
1361
1381
  class: "vue-ui-user-options-button",
1362
1382
  onClick: s[1] || (s[1] = (a) => _e(e.value.userOptions.callbacks.csv))
1363
1383
  }, [
1364
- Ve(i(Nt), {
1384
+ Ve(i(It), {
1365
1385
  name: "excel",
1366
- stroke: te.value.props.color
1386
+ stroke: le.value.props.color
1367
1387
  }, null, 8, ["stroke"])
1368
1388
  ])
1369
1389
  ]),
1370
1390
  key: "1"
1371
1391
  } : void 0
1372
- ]), 1040)) : k("", !0),
1373
- i(me) ? (u(), B(Sl, { key: 9 })) : k("", !0)
1374
- ], 46, Bl));
1392
+ ]), 1040)) : C("", !0),
1393
+ i(we) ? (u(), B(Nl, { key: 9 })) : C("", !0)
1394
+ ], 46, Rl));
1375
1395
  }
1376
- }, Fa = /* @__PURE__ */ Ml(ya, [["__scopeId", "data-v-4462e610"]]);
1396
+ }, Ia = /* @__PURE__ */ Ul(ma, [["__scopeId", "data-v-2263029b"]]);
1377
1397
  export {
1378
- Fa as default
1398
+ Ia as default
1379
1399
  };