vue-data-ui 3.16.5 → 3.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/README.md +64 -46
  2. package/dist/{PackageVersion-CvtT2-UH.js → PackageVersion-B3kmPxTR.js} +1 -1
  3. package/dist/{Slicer-DUycDH_N.js → Slicer-CIHwwuNR.js} +107 -110
  4. package/dist/SlicerPreview-BIvxyb5W.js +1484 -0
  5. package/dist/{Tooltip-Bf-kM3_A.js → Tooltip-C8KGyqQk.js} +19 -17
  6. package/dist/components/vue-ui-3d-bar.js +1 -1
  7. package/dist/components/vue-ui-accordion.js +1 -1
  8. package/dist/components/vue-ui-age-pyramid.js +1 -1
  9. package/dist/components/vue-ui-annotator.js +1 -1
  10. package/dist/components/vue-ui-bullet.js +1 -1
  11. package/dist/components/vue-ui-bump.js +1 -1
  12. package/dist/components/vue-ui-candlestick.js +1 -1
  13. package/dist/components/vue-ui-carousel-table.js +1 -1
  14. package/dist/components/vue-ui-chestnut.js +1 -1
  15. package/dist/components/vue-ui-chord.js +1 -1
  16. package/dist/components/vue-ui-circle-pack.js +1 -1
  17. package/dist/components/vue-ui-cursor.js +1 -1
  18. package/dist/components/vue-ui-dag.js +1 -1
  19. package/dist/components/vue-ui-dashboard.js +1 -1
  20. package/dist/components/vue-ui-digits.js +1 -1
  21. package/dist/components/vue-ui-donut-evolution.js +1 -1
  22. package/dist/components/vue-ui-donut.js +1 -1
  23. package/dist/components/vue-ui-dumbbell.js +1 -1
  24. package/dist/components/vue-ui-flow.js +1 -1
  25. package/dist/components/vue-ui-funnel.js +1 -1
  26. package/dist/components/vue-ui-galaxy.js +1 -1
  27. package/dist/components/vue-ui-gauge.js +1 -1
  28. package/dist/components/vue-ui-geo.js +1 -1
  29. package/dist/components/vue-ui-gizmo.js +1 -1
  30. package/dist/components/vue-ui-heatmap.js +1 -1
  31. package/dist/components/vue-ui-history-plot.js +1 -1
  32. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  33. package/dist/components/vue-ui-kpi.js +1 -1
  34. package/dist/components/vue-ui-mini-loader.js +1 -1
  35. package/dist/components/vue-ui-molecule.js +1 -1
  36. package/dist/components/vue-ui-mood-radar.js +1 -1
  37. package/dist/components/vue-ui-nested-donuts.js +1 -1
  38. package/dist/components/vue-ui-onion.js +1 -1
  39. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  40. package/dist/components/vue-ui-quadrant.js +1 -1
  41. package/dist/components/vue-ui-quick-chart.js +1 -1
  42. package/dist/components/vue-ui-radar.js +1 -1
  43. package/dist/components/vue-ui-rating.js +1 -1
  44. package/dist/components/vue-ui-relation-circle.js +1 -1
  45. package/dist/components/vue-ui-ridgeline.js +1 -1
  46. package/dist/components/vue-ui-rings.js +1 -1
  47. package/dist/components/vue-ui-scatter.js +1 -1
  48. package/dist/components/vue-ui-skeleton.js +1 -1
  49. package/dist/components/vue-ui-smiley.js +1 -1
  50. package/dist/components/vue-ui-spark-trend.js +1 -1
  51. package/dist/components/vue-ui-sparkbar.js +1 -1
  52. package/dist/components/vue-ui-sparkgauge.js +1 -1
  53. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  54. package/dist/components/vue-ui-sparkline.js +1 -1
  55. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  56. package/dist/components/vue-ui-stackbar.js +1 -1
  57. package/dist/components/vue-ui-stackline.js +1 -1
  58. package/dist/components/vue-ui-strip-plot.js +1 -1
  59. package/dist/components/vue-ui-table-heatmap.js +1 -1
  60. package/dist/components/vue-ui-table-sparkline.js +1 -1
  61. package/dist/components/vue-ui-table.js +1 -1
  62. package/dist/components/vue-ui-thermometer.js +1 -1
  63. package/dist/components/vue-ui-timer.js +1 -1
  64. package/dist/components/vue-ui-tiremarks.js +1 -1
  65. package/dist/components/vue-ui-treemap.js +1 -1
  66. package/dist/components/vue-ui-vertical-bar.js +1 -1
  67. package/dist/components/vue-ui-waffle.js +1 -1
  68. package/dist/components/vue-ui-wheel.js +1 -1
  69. package/dist/components/vue-ui-word-cloud.js +1 -1
  70. package/dist/components/vue-ui-world.js +1 -1
  71. package/dist/components/vue-ui-xy-canvas.js +1 -1
  72. package/dist/components/vue-ui-xy.js +1 -1
  73. package/dist/style.css +1 -1
  74. package/dist/types/vue-data-ui.d.ts +1 -1
  75. package/dist/{useConfig-CpJA0VZa.js → useConfig-ChRble71.js} +1 -0
  76. package/dist/{useObjectBindings-DToqZaRC.js → useObjectBindings-BVFCsss5.js} +1 -1
  77. package/dist/utils.js +1 -1
  78. package/dist/{vue-data-ui-XhJQD-ri.js → vue-data-ui-BX3I-ZQt.js} +67 -67
  79. package/dist/vue-data-ui.js +68 -68
  80. package/dist/{vue-ui-3d-bar-BhzRmNak.js → vue-ui-3d-bar-DsSxN6Xl.js} +2 -2
  81. package/dist/{vue-ui-accordion-BF4v32wv.js → vue-ui-accordion-CnDW2UQL.js} +1 -1
  82. package/dist/{vue-ui-age-pyramid-CZCn6OMX.js → vue-ui-age-pyramid-DgAJXx1F.js} +112 -109
  83. package/dist/{vue-ui-annotator-U961V1Kc.js → vue-ui-annotator-BA4hRkfX.js} +2 -2
  84. package/dist/{vue-ui-bullet-BRyBDt56.js → vue-ui-bullet-BCuT1zVr.js} +2 -2
  85. package/dist/{vue-ui-bump-Dulq2vNg.js → vue-ui-bump-BTnwgB5Q.js} +2 -2
  86. package/dist/{vue-ui-candlestick-BJD25FJV.js → vue-ui-candlestick-BMvM7WIc.js} +148 -145
  87. package/dist/{vue-ui-carousel-table-DCHtRFDV.js → vue-ui-carousel-table-DCtWIG49.js} +2 -2
  88. package/dist/{vue-ui-chestnut-46054xSO.js → vue-ui-chestnut-DJ0R3Aqx.js} +2 -2
  89. package/dist/{vue-ui-chord-CSdFVJx2.js → vue-ui-chord-BbWToSBq.js} +2 -2
  90. package/dist/{vue-ui-circle-pack-CmPyW4rp.js → vue-ui-circle-pack-CwuEfQPE.js} +117 -114
  91. package/dist/{vue-ui-cursor-QZjpAemm.js → vue-ui-cursor-C4MnK_CE.js} +2 -2
  92. package/dist/{vue-ui-dag-C051dx6c.js → vue-ui-dag-HKbeFOit.js} +2 -2
  93. package/dist/{vue-ui-dashboard-zCwCXCfe.js → vue-ui-dashboard-DTYz-idn.js} +65 -65
  94. package/dist/{vue-ui-digits-HPy7kRgm.js → vue-ui-digits-CrFH4BlD.js} +2 -2
  95. package/dist/{vue-ui-donut-DxOwX8nC.js → vue-ui-donut-B1C7vzFY.js} +100 -97
  96. package/dist/{vue-ui-donut-evolution-KD1WwwLS.js → vue-ui-donut-evolution-BUIQwZ-c.js} +3 -3
  97. package/dist/{vue-ui-dumbbell-0BJ1t72z.js → vue-ui-dumbbell-Bq-X5L24.js} +2 -2
  98. package/dist/{vue-ui-flow-lPRZK-_Q.js → vue-ui-flow-DUn9hp_J.js} +141 -138
  99. package/dist/{vue-ui-funnel-WJG6UU4c.js → vue-ui-funnel-CNF2ULOQ.js} +2 -2
  100. package/dist/{vue-ui-galaxy-Cnqgwc0G.js → vue-ui-galaxy-BzlU9OSU.js} +75 -72
  101. package/dist/{vue-ui-gauge-BXFwr3H7.js → vue-ui-gauge-aF_V6ynK.js} +2 -2
  102. package/dist/{vue-ui-geo-DeYdEiHT.js → vue-ui-geo-xaZvHjAP.js} +116 -113
  103. package/dist/{vue-ui-gizmo-C0-M2WoG.js → vue-ui-gizmo-BGvS_AHj.js} +2 -2
  104. package/dist/{vue-ui-heatmap-DctMvoRr.js → vue-ui-heatmap-B_BmpyVy.js} +191 -188
  105. package/dist/{vue-ui-history-plot-sLaCn8jd.js → vue-ui-history-plot-DsoLp3aL.js} +124 -121
  106. package/dist/{vue-ui-horizontal-bar-reisxCWX.js → vue-ui-horizontal-bar-JVjE88ZW.js} +218 -215
  107. package/dist/{vue-ui-kpi-z3S4DcoQ.js → vue-ui-kpi-B-v1zpd4.js} +2 -2
  108. package/dist/{vue-ui-mini-loader-DSQ9kcmW.js → vue-ui-mini-loader-CPfZsqWP.js} +1 -1
  109. package/dist/{vue-ui-molecule-CQEaLq9E.js → vue-ui-molecule-Di9_wsME.js} +61 -58
  110. package/dist/{vue-ui-mood-radar-BGIt_k-N.js → vue-ui-mood-radar-CetQpdnu.js} +2 -2
  111. package/dist/{vue-ui-nested-donuts-BxXAWrhM.js → vue-ui-nested-donuts-Y-UMjjYV.js} +131 -128
  112. package/dist/{vue-ui-onion-CMKIYAuh.js → vue-ui-onion-MM3QZLzF.js} +142 -139
  113. package/dist/{vue-ui-parallel-coordinate-plot-Tb8aJ91r.js → vue-ui-parallel-coordinate-plot-CcHmB0MQ.js} +91 -88
  114. package/dist/{vue-ui-quadrant-CLAqGLQH.js → vue-ui-quadrant-CQIMUggy.js} +58 -55
  115. package/dist/{vue-ui-quick-chart-BK2SOFv9.js → vue-ui-quick-chart-lwGufdDj.js} +235 -232
  116. package/dist/{vue-ui-radar-BY7vIWHL.js → vue-ui-radar-CS74L65M.js} +117 -114
  117. package/dist/{vue-ui-rating-hudM2QS0.js → vue-ui-rating-DiLLVHq3.js} +1 -1
  118. package/dist/{vue-ui-relation-circle-BlUbhTZ5.js → vue-ui-relation-circle-D3dO8RTC.js} +2 -2
  119. package/dist/{vue-ui-ridgeline-Bsfw_4y_.js → vue-ui-ridgeline-Dpvq9yp2.js} +2 -2
  120. package/dist/{vue-ui-rings-BaORhzZH.js → vue-ui-rings-D-45pPpZ.js} +122 -119
  121. package/dist/{vue-ui-scatter-D8afRw4d.js → vue-ui-scatter-BzCjfGB9.js} +121 -118
  122. package/dist/{vue-ui-skeleton-BE5ADLxq.js → vue-ui-skeleton-Dai-bZZw.js} +2 -2
  123. package/dist/{vue-ui-smiley-CQ_rGHFe.js → vue-ui-smiley-BioqmYwT.js} +1 -1
  124. package/dist/{vue-ui-spark-trend-C2QdubPf.js → vue-ui-spark-trend-DiC9V0VU.js} +2 -2
  125. package/dist/{vue-ui-sparkbar-BxP_TDR3.js → vue-ui-sparkbar-D6EsbW6u.js} +2 -2
  126. package/dist/{vue-ui-sparkgauge-CgHAoaeu.js → vue-ui-sparkgauge-BHDXZgJH.js} +2 -2
  127. package/dist/{vue-ui-sparkhistogram-0m7QAV93.js → vue-ui-sparkhistogram-DzuOjuNH.js} +2 -2
  128. package/dist/{vue-ui-sparkline-DNt9nHQ9.js → vue-ui-sparkline-B-zOqzrC.js} +2 -2
  129. package/dist/{vue-ui-sparkstackbar-RU8zQLfe.js → vue-ui-sparkstackbar-bqKzIKSg.js} +147 -144
  130. package/dist/{vue-ui-stackbar-C3qGXmTQ.js → vue-ui-stackbar-DPfxqQUG.js} +435 -424
  131. package/dist/{vue-ui-stackline-W24y7z12.js → vue-ui-stackline-Ctqe1OuF.js} +627 -609
  132. package/dist/{vue-ui-strip-plot--MWxAM0R.js → vue-ui-strip-plot-Dg2URhvc.js} +72 -69
  133. package/dist/{vue-ui-table-heatmap-DU7w6PrX.js → vue-ui-table-heatmap-Da6sqBlI.js} +1 -1
  134. package/dist/{vue-ui-table-sparkline-DKbkhX_x.js → vue-ui-table-sparkline-Bkv6Qz6V.js} +2 -2
  135. package/dist/{vue-ui-table-BtkypjfT.js → vue-ui-table-xrD-xqis.js} +3 -3
  136. package/dist/{vue-ui-thermometer-qaGYZUMd.js → vue-ui-thermometer-D7VVeA2i.js} +2 -2
  137. package/dist/{vue-ui-timer-CpQYSD-K.js → vue-ui-timer-D7XYgZfb.js} +2 -2
  138. package/dist/{vue-ui-tiremarks-CUiSLMlj.js → vue-ui-tiremarks-i6e8GTI9.js} +2 -2
  139. package/dist/{vue-ui-treemap-CMfWyA5N.js → vue-ui-treemap-D8Mbfeuc.js} +220 -217
  140. package/dist/{vue-ui-waffle-H02mH3Rc.js → vue-ui-waffle-7rVD530d.js} +123 -120
  141. package/dist/{vue-ui-wheel-agcFNYTs.js → vue-ui-wheel-HQNWtsvJ.js} +2 -2
  142. package/dist/{vue-ui-word-cloud-B0fNWUVr.js → vue-ui-word-cloud-DFAEbzUa.js} +159 -156
  143. package/dist/{vue-ui-world-B8mANOO8.js → vue-ui-world-YvmrdfIm.js} +86 -83
  144. package/dist/vue-ui-xy-canvas-CEaAQ_tr.js +1819 -0
  145. package/dist/{vue-ui-xy-DgyEEqnJ.js → vue-ui-xy-n4juEarQ.js} +402 -398
  146. package/package.json +1 -1
  147. package/dist/SlicerPreview-DTjwV0iY.js +0 -1372
  148. package/dist/vue-ui-xy-canvas-CaoWw3AU.js +0 -1810
@@ -1,8 +1,8 @@
1
- import { defineAsyncComponent as G, computed as $, ref as h, toRefs as Ol, watch as fe, onMounted as Fl, shallowRef as Ft, onBeforeUnmount as Dl, openBlock as u, createElementBlock as r, unref as v, normalizeStyle as pe, normalizeClass as Z, createElementVNode as g, toDisplayString as E, createBlock as V, createCommentVNode as A, withCtx as y, renderSlot as w, normalizeProps as P, guardReactiveProps as S, createSlots as Dt, createVNode as Xe, Fragment as T, renderList as _, withDirectives as Nt, vShow as Vt, Teleport as Nl, resolveDynamicComponent as Vl, mergeProps as Ml, createTextVNode as Mt, nextTick as He } from "vue";
2
- import { j as zl, t as zt, m as Bl, p as qe, o as El, q as oe, n as Ul, a8 as Y, s as Rl, a4 as je, k as Ae, l as D, X as Gl, u as Yl, a as Bt, a6 as Et, a7 as Le, B as Ut, T as Rt, a0 as Wl, a1 as Kl, U as Xl, ai as Gt, K as Je } from "./lib-DBptbyyI.js";
1
+ import { defineAsyncComponent as G, computed as $, ref as h, toRefs as Ol, watch as fe, onMounted as Fl, shallowRef as Ft, onBeforeUnmount as Dl, openBlock as u, createElementBlock as r, unref as v, normalizeStyle as pe, normalizeClass as Z, createElementVNode as g, toDisplayString as E, createBlock as V, createCommentVNode as A, withCtx as y, renderSlot as b, normalizeProps as P, guardReactiveProps as S, createSlots as Dt, createVNode as Xe, Fragment as T, renderList as _, withDirectives as Nt, vShow as Vt, Teleport as Nl, resolveDynamicComponent as Vl, mergeProps as Ml, createTextVNode as Mt, nextTick as He } from "vue";
2
+ import { j as zl, t as zt, m as Bl, p as qe, o as El, q as oe, n as Ul, a8 as Y, s as Rl, a4 as je, k as Le, l as D, X as Gl, u as Yl, a as Bt, a6 as Et, a7 as xe, B as Ut, T as Rt, a0 as Wl, a1 as Kl, U as Xl, ai as Gt, K as Je } from "./lib-DBptbyyI.js";
3
3
  import { b as Hl } from "./labelUtils-CqTHa20R.js";
4
4
  import { t as ql, u as jl } from "./useResponsive-DfdjqQps.js";
5
- import { u as Jl } from "./useConfig-CpJA0VZa.js";
5
+ import { u as Jl } from "./useConfig-ChRble71.js";
6
6
  import { u as Ql, B as Zl } from "./BaseScanner-BhhkKVoj.js";
7
7
  import { u as ea } from "./usePrinter-CEpYU3r5.js";
8
8
  import { u as ta } from "./useSvgExport-ByUukOZt.js";
@@ -46,18 +46,18 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
46
46
  },
47
47
  emits: ["selectLegend", "selectDatapoint", "copyAlt"],
48
48
  setup(Yt, { expose: Wt, emit: Kt }) {
49
- const Xt = G(() => import("./Tooltip-Bf-kM3_A.js")), Ht = G(() => import("./BaseIcon-Cb3zzG6s.js")), qt = G(() => import("./vue-ui-accordion-BF4v32wv.js")), jt = G(() => import("./DataTable-DT2kIdQ6.js")), Jt = G(() => import("./UserOptions-rW2fRf3V.js")), Qt = G(() => import("./PenAndPaper-Ct3qJ4lA.js")), Zt = G(() => import("./PackageVersion-CvtT2-UH.js")), el = G(() => import("./BaseDraggableDialog-CIb-iD9g.js")), { vue_ui_nested_donuts: tl } = Jl(), { isThemeValid: ll, warnInvalidTheme: al } = la(), I = Yt, xe = $({
49
+ const Xt = G(() => import("./Tooltip-C8KGyqQk.js")), Ht = G(() => import("./BaseIcon-Cb3zzG6s.js")), qt = G(() => import("./vue-ui-accordion-CnDW2UQL.js")), jt = G(() => import("./DataTable-DT2kIdQ6.js")), Jt = G(() => import("./UserOptions-rW2fRf3V.js")), Qt = G(() => import("./PenAndPaper-Ct3qJ4lA.js")), Zt = G(() => import("./PackageVersion-B3kmPxTR.js")), el = G(() => import("./BaseDraggableDialog-CIb-iD9g.js")), { vue_ui_nested_donuts: tl } = Jl(), { isThemeValid: ll, warnInvalidTheme: al } = la(), I = Yt, Te = $({
50
50
  get() {
51
51
  return !!I.dataset && I.dataset.length;
52
52
  },
53
53
  set(t) {
54
54
  return t;
55
55
  }
56
- }), f = h(zl()), se = h(!1), Te = h(""), ne = h(null), Ze = h(0), M = h(null), et = h(null), _e = h(null), tt = h(null), lt = h(null), at = h(0), ot = h(0), st = h(0), W = h(!0), K = h([]), ue = h([]), nt = h(!1), re = h(null), Pe = h(null), ge = h(!1), ye = h(!1), N = h(null), ut = h({ x: 0, y: 0 }), ie = h("pointer"), Se = h(!1), X = h(!1);
56
+ }), f = h(zl()), se = h(!1), _e = h(""), ne = h(null), Ze = h(0), M = h(null), et = h(null), Pe = h(null), tt = h(null), lt = h(null), at = h(0), ot = h(0), st = h(0), W = h(!0), K = h([]), ue = h([]), nt = h(!1), re = h(null), Se = h(null), ge = h(!1), ye = h(!1), N = h(null), ut = h({ x: 0, y: 0 }), ie = h("pointer"), Ie = h(!1), X = h(!1);
57
57
  function rt(t) {
58
58
  X.value = t, Ze.value += 1;
59
59
  }
60
- const e = h(Fe()), H = $(() => e.value.userOptions.useCursorPointer), it = {
60
+ const e = h(De()), H = $(() => e.value.userOptions.useCursorPointer), it = {
61
61
  name: "",
62
62
  series: [
63
63
  {
@@ -101,10 +101,10 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
101
101
  }
102
102
  },
103
103
  userConfig: e.value.skeletonConfig ?? {}
104
- })), { loading: be, FINAL_DATASET: q, manualLoading: Ie } = Ql({
104
+ })), { loading: be, FINAL_DATASET: q, manualLoading: Oe } = Ql({
105
105
  ...Ol(I),
106
106
  FINAL_CONFIG: e,
107
- prepareConfig: Fe,
107
+ prepareConfig: De,
108
108
  callback: () => {
109
109
  Promise.resolve().then(async () => {
110
110
  await ht();
@@ -115,10 +115,10 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
115
115
  defaultConfig: e.value,
116
116
  userConfig: ol.value
117
117
  })
118
- }), { userOptionsVisible: Oe, setUserOptionsVisibility: dt, keepUserOptionState: ct } = aa({ config: e.value }), { svgRef: z } = oa({
118
+ }), { userOptionsVisible: Fe, setUserOptionsVisibility: dt, keepUserOptionState: ct } = aa({ config: e.value }), { svgRef: z } = oa({
119
119
  config: e.value.style.chart.title
120
120
  });
121
- function Fe() {
121
+ function De() {
122
122
  const t = Qe({
123
123
  userConfig: I.config,
124
124
  defaultConfig: tl
@@ -148,7 +148,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
148
148
  fe(
149
149
  () => I.config,
150
150
  (t) => {
151
- be.value || (e.value = Fe()), Oe.value = !e.value.userOptions.showOnChartHover, ft(), at.value += 1, ot.value += 1, st.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, p.value.width = e.value.style.chart.width, p.value.height = e.value.style.chart.height;
151
+ be.value || (e.value = De()), Fe.value = !e.value.userOptions.showOnChartHover, ft(), at.value += 1, ot.value += 1, st.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, p.value.width = e.value.style.chart.width, p.value.height = e.value.style.chart.height;
152
152
  },
153
153
  { deep: !0 }
154
154
  );
@@ -170,19 +170,19 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
170
170
  t.forEach((d, c) => {
171
171
  setTimeout(() => {
172
172
  const k = performance.now();
173
- function i(m) {
174
- const x = Math.min((m - k) / s, 1), ve = Gt(x), he = d * ve;
173
+ function i(w) {
174
+ const x = Math.min((w - k) / s, 1), ve = Gt(x), he = d * ve;
175
175
  K.value[c] = he, K.value = [...K.value];
176
- const $e = [];
176
+ const Ce = [];
177
177
  let Re = 0;
178
- I.dataset.forEach((Ce, Ge) => {
179
- const _l = Je(Ce.series.reduce(
178
+ I.dataset.forEach((Ae, Ge) => {
179
+ const _l = Je(Ae.series.reduce(
180
180
  (We, Ke) => We + Je(Y(Ke.values).reduce((Sl, Il) => Sl + Il, 0)),
181
181
  0
182
- )), Pl = Je(K.value.slice(Re, Re + Ce.series.length).reduce((We, Ke) => We + Ke, 0)), Ye = _l - Pl;
183
- Ye > Number.MIN_VALUE && $e.push({
182
+ )), Pl = Je(K.value.slice(Re, Re + Ae.series.length).reduce((We, Ke) => We + Ke, 0)), Ye = _l - Pl;
183
+ Ye > Number.MIN_VALUE && Ce.push({
184
184
  name: "__ghost__",
185
- arcOf: Ce.name,
185
+ arcOf: Ae.name,
186
186
  arcOfId: `${f.value}_${Ge}`,
187
187
  id: `ghost_${f.value}_${Ge}`,
188
188
  seriesIndex: -1,
@@ -192,8 +192,8 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
192
192
  fullValue: Ye,
193
193
  absoluteValues: [],
194
194
  ghost: !0
195
- }), Re += Ce.series.length;
196
- }), ue.value = $e, x < 1 ? requestAnimationFrame(i) : (n += 1, n === a && o());
195
+ }), Re += Ae.series.length;
196
+ }), ue.value = Ce, x < 1 ? requestAnimationFrame(i) : (n += 1, n === a && o());
197
197
  }
198
198
  requestAnimationFrame(i);
199
199
  }, c * l);
@@ -242,12 +242,12 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
242
242
  componentName: "VueUiNestedDonuts",
243
243
  type: "dataset",
244
244
  debug: te.value
245
- }), xe.value = !1, Ie.value = !0) : Ie.value = e.value.loading, e.value.responsive) {
245
+ }), Te.value = !1, Oe.value = !0) : Oe.value = e.value.loading, e.value.responsive) {
246
246
  const t = ql(() => {
247
247
  const { width: s, height: l } = jl({
248
248
  chart: M.value,
249
249
  title: e.value.style.chart.title.text ? et.value : null,
250
- legend: e.value.style.chart.legend.show ? _e.value : null,
250
+ legend: e.value.style.chart.legend.show ? Pe.value : null,
251
251
  source: tt.value,
252
252
  noTitle: lt.value,
253
253
  padding: vt.value
@@ -262,7 +262,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
262
262
  Dl(() => {
263
263
  U.value && (ee.value && U.value.unobserve(ee.value), U.value.disconnect());
264
264
  });
265
- const { isPrinting: De, isImaging: Ne, generatePdf: pt, generateImage: gt } = ea({
265
+ const { isPrinting: Ne, isImaging: Ve, generatePdf: pt, generateImage: gt } = ea({
266
266
  elementId: `nested_donuts_${f.value}`,
267
267
  fileName: e.value.style.chart.title.text || "vue-ui-nested-donuts",
268
268
  options: e.value.userOptions.print
@@ -285,9 +285,9 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
285
285
  const p = h({
286
286
  width: e.value.style.chart.width,
287
287
  height: e.value.style.chart.height
288
- }), Ve = Kt;
288
+ }), Me = Kt;
289
289
  function yt({ datapoint: t, index: s, seriesIndex: l }) {
290
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: l }), Ve("selectDatapoint", { datapoint: t, index: s });
290
+ e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: l }), Me("selectDatapoint", { datapoint: t, index: s });
291
291
  }
292
292
  function bt({
293
293
  from: t,
@@ -299,12 +299,12 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
299
299
  }) {
300
300
  const d = performance.now();
301
301
  function c(k) {
302
- const i = Math.min((k - d) / l, 1), m = n(i), x = t + (s - t) * m;
302
+ const i = Math.min((k - d) / l, 1), w = n(i), x = t + (s - t) * w;
303
303
  o(x, i), i < 1 ? requestAnimationFrame(c) : (o(s, 1), a && a());
304
304
  }
305
305
  requestAnimationFrame(c);
306
306
  }
307
- const b = h([]), O = $(() => {
307
+ const m = h([]), O = $(() => {
308
308
  be.value, q.value.forEach((s, l) => {
309
309
  [null, void 0].includes(s.name) && oe({
310
310
  componentName: "VueUiNestedDonuts",
@@ -344,7 +344,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
344
344
  let t = 0;
345
345
  return q.value.map((s, l) => ({
346
346
  ...s,
347
- total: s.series.filter((o) => !b.value.includes(o.id)).map((o) => Y(o.values).reduce((a, n) => a + n, 0)).reduce((o, a) => o + a, 0),
347
+ total: s.series.filter((o) => !m.value.includes(o.id)).map((o) => Y(o.values).reduce((a, n) => a + n, 0)).reduce((o, a) => o + a, 0),
348
348
  datasetIndex: l,
349
349
  id: `${f.value}_${l}`,
350
350
  series: s.series.map((o, a) => {
@@ -364,14 +364,14 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
364
364
  }));
365
365
  });
366
366
  fe(() => I.dataset, (t) => {
367
- Array.isArray(t) && t.length > 0 && (Ie.value = !1);
367
+ Array.isArray(t) && t.length > 0 && (Oe.value = !1);
368
368
  }, { immediate: !0 });
369
369
  const B = $(() => Math.min(p.value.height, p.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)), mt = $(() => [...O.value].map((t, s) => {
370
- const l = t.series.filter((o) => !b.value.includes(o.id)).map((o) => o.value).reduce((o, a) => o + a, 0);
370
+ const l = t.series.filter((o) => !m.value.includes(o.id)).map((o) => o.value).reduce((o, a) => o + a, 0);
371
371
  return {
372
372
  ...t,
373
373
  total: l,
374
- series: t.series.filter((o) => !b.value.includes(o.id)).map((o) => ({
374
+ series: t.series.filter((o) => !m.value.includes(o.id)).map((o) => ({
375
375
  ...o,
376
376
  proportion: o.value / l
377
377
  }))
@@ -390,19 +390,19 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
390
390
  );
391
391
  function il(t) {
392
392
  const s = t.map((l) => l.id);
393
- if (t.some((l) => b.value.includes(l.id))) {
393
+ if (t.some((l) => m.value.includes(l.id))) {
394
394
  const l = new Set(s);
395
- b.value = b.value.filter((o) => !l.has(o));
395
+ m.value = m.value.filter((o) => !l.has(o));
396
396
  } else
397
- b.value.push(...s);
397
+ m.value.push(...s);
398
398
  }
399
399
  function j(t) {
400
- Ve("selectLegend", t);
400
+ Me("selectLegend", t);
401
401
  const s = I.dataset.flatMap(
402
- (i, m) => i.series.map((x, ve) => ({
403
- value: Y(x.values).reduce((he, $e) => he + $e, 0),
404
- id: `${f.value}_${m}_${ve}`,
405
- arcOfId: `${f.value}_${m}`
402
+ (i, w) => i.series.map((x, ve) => ({
403
+ value: Y(x.values).reduce((he, Ce) => he + Ce, 0),
404
+ id: `${f.value}_${w}_${ve}`,
405
+ arcOfId: `${f.value}_${w}`
406
406
  }))
407
407
  ).find((i) => i.id === t.id);
408
408
  if (!s) return;
@@ -415,38 +415,38 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
415
415
  const c = d.series.map((i) => i.id), k = rl(
416
416
  c,
417
417
  c.length - 1,
418
- b.value
418
+ m.value
419
419
  );
420
- b.value.includes(t.id) ? (b.value = b.value.filter((i) => i !== t.id), e.value.serieToggleAnimation.show ? bt({
420
+ m.value.includes(t.id) ? (m.value = m.value.filter((i) => i !== t.id), e.value.serieToggleAnimation.show ? bt({
421
421
  from: n,
422
422
  to: l,
423
423
  duration: e.value.serieToggleAnimation.durationMs,
424
424
  onUpdate: (i) => {
425
- C.value = C.value.map((m) => ({
426
- ...m,
427
- series: m.series.map((x) => x.id === t.id ? { ...x, value: i } : x)
425
+ C.value = C.value.map((w) => ({
426
+ ...w,
427
+ series: w.series.map((x) => x.id === t.id ? { ...x, value: i } : x)
428
428
  }));
429
429
  }
430
430
  }) : C.value = C.value.map((i) => ({
431
431
  ...i,
432
- series: i.series.map((m) => m.id === t.id ? { ...m, value: l } : m)
432
+ series: i.series.map((w) => w.id === t.id ? { ...w, value: l } : w)
433
433
  }))) : k && (e.value.serieToggleAnimation.show ? bt({
434
434
  from: n,
435
435
  to: 0,
436
436
  duration: e.value.serieToggleAnimation.durationMs,
437
437
  onUpdate: (i) => {
438
- C.value = C.value.map((m) => ({
439
- ...m,
440
- series: m.series.map((x) => x.id === t.id ? { ...x, value: i } : x)
438
+ C.value = C.value.map((w) => ({
439
+ ...w,
440
+ series: w.series.map((x) => x.id === t.id ? { ...x, value: i } : x)
441
441
  }));
442
442
  },
443
443
  onDone: () => {
444
- b.value.push(t.id);
444
+ m.value.push(t.id);
445
445
  }
446
446
  }) : (C.value = C.value.map((i) => ({
447
447
  ...i,
448
- series: i.series.map((m) => m.id === t.id ? { ...m, value: 0 } : m)
449
- })), b.value.push(t.id)));
448
+ series: i.series.map((w) => w.id === t.id ? { ...w, value: 0 } : w)
449
+ })), m.value.push(t.id)));
450
450
  }
451
451
  function wt(t) {
452
452
  if (!O.value.length)
@@ -457,14 +457,14 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
457
457
  function dl(t) {
458
458
  const s = wt(t);
459
459
  s !== null && (Array.isArray(s) ? s.forEach((l) => {
460
- b.value.includes(l.id) && j({ id: l.id });
461
- }) : b.value.includes(s.id) && j({ id: s.id }));
460
+ m.value.includes(l.id) && j({ id: l.id });
461
+ }) : m.value.includes(s.id) && j({ id: s.id }));
462
462
  }
463
463
  function cl(t) {
464
464
  const s = wt(t);
465
465
  s !== null && (Array.isArray(s) ? s.forEach((l) => {
466
- b.value.includes(l.id) || j({ id: l.id });
467
- }) : b.value.includes(s.id) || j({ id: s.id }));
466
+ m.value.includes(l.id) || j({ id: l.id });
467
+ }) : m.value.includes(s.id) || j({ id: s.id }));
468
468
  }
469
469
  const me = $(() => B.value / O.value.length * e.value.style.chart.layout.donut.spacingRatio), kt = $(() => C.value.map((t, s) => B.value - s * B.value / O.value.length)), J = $(() => C.value.map((t, s) => {
470
470
  const l = Math.abs(t.series.map((k) => k.value).reduce((k, i) => k + i, 0)) > 0, o = B.value - s * B.value / C.value.length, a = W.value ? ue.value.find((k) => k.datasetIndex === s) : null, n = [...t.series, ...a ? [a] : []].map((k) => ({
@@ -525,7 +525,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
525
525
  B.value / O.value.length * e.value.style.chart.layout.donut.spacingRatio
526
526
  )[0]
527
527
  };
528
- })), we = h(null), le = h(null), Q = h(null), Me = h(null);
528
+ })), we = h(null), le = h(null), Q = h(null), ke = h(null);
529
529
  function vl({ datapoint: t, seriesIndex: s }) {
530
530
  e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: s }), se.value = !1, we.value = null, ne.value = null, le.value = null, Q.value = null, N.value = null, ie.value = "pointer";
531
531
  }
@@ -545,7 +545,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
545
545
  });
546
546
  }
547
547
  function At({ datapoint: t, _relativeIndex: s, seriesIndex: l, triggerMode: o = "pointer" }) {
548
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: l }), ie.value = o, N.value = l, we.value = t.arcOfId, le.value = t.id, Q.value = l, ne.value = t.id, Me.value = {
548
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: l }), ie.value = o, N.value = l, we.value = t.arcOfId, le.value = t.id, Q.value = l, ne.value = t.id, ke.value = {
549
549
  datapoint: t,
550
550
  seriesIndex: l,
551
551
  series: C.value,
@@ -560,7 +560,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
560
560
  config: e.value
561
561
  })
562
562
  ))
563
- Te.value = a({
563
+ _e.value = a({
564
564
  seriesIndex: l,
565
565
  datapoint: t,
566
566
  series: C.value,
@@ -568,7 +568,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
568
568
  });
569
569
  else {
570
570
  let n = "";
571
- if (e.value.style.chart.tooltip.showAllItemsAtIndex && b.value.length === 0) {
571
+ if (e.value.style.chart.tooltip.showAllItemsAtIndex && m.value.length === 0) {
572
572
  const d = C.value.map((c) => c.series.find((k) => k.seriesIndex === l));
573
573
  d.forEach((c, k) => {
574
574
  if (!c) return "";
@@ -588,7 +588,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
588
588
  config: e.value.style.chart.tooltip,
589
589
  showVal: e.value.style.chart.tooltip.showValue,
590
590
  showPercentage: e.value.style.chart.tooltip.showPercentage,
591
- val: Ae(
591
+ val: Le(
592
592
  e.value.style.chart.layout.labels.dataLabels.formatter,
593
593
  t.value,
594
594
  D({
@@ -611,7 +611,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
611
611
  `;
612
612
  });
613
613
  } else
614
- n += `<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>`, n += `<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 && (n += `<b>${Ae(
614
+ n += `<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>`, n += `<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 && (n += `<b>${Le(
615
615
  e.value.style.chart.layout.labels.dataLabels.formatter,
616
616
  t.value,
617
617
  D({
@@ -630,7 +630,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
630
630
  s: "%",
631
631
  r: e.value.style.chart.tooltip.roundingPercentage
632
632
  })}</b></div>`);
633
- Te.value = `<div style="font-size:${e.value.style.chart.tooltip.fontSize}px">${n}</div>`;
633
+ _e.value = `<div style="font-size:${e.value.style.chart.tooltip.fontSize}px">${n}</div>`;
634
634
  }
635
635
  se.value = !0;
636
636
  }
@@ -640,14 +640,14 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
640
640
  function xt(t, s) {
641
641
  if (!e.value.useBlurOnHover)
642
642
  return "";
643
- if (e.value.style.chart.tooltip.showAllItemsAtIndex && b.value.length === 0)
643
+ if (e.value.style.chart.tooltip.showAllItemsAtIndex && m.value.length === 0)
644
644
  return [null, void 0].includes(Q.value) || Q.value === s ? "" : `url(#blur_${f.value})`;
645
- if (!e.value.style.chart.tooltip.showAllItemsAtIndex || b.value.length)
645
+ if (!e.value.style.chart.tooltip.showAllItemsAtIndex || m.value.length)
646
646
  return [null, void 0].includes(le.value) || le.value === t.id ? "" : `url(#blur_${f.value})`;
647
647
  }
648
- const ke = $(() => O.value.map((t, s) => {
648
+ const $e = $(() => O.value.map((t, s) => {
649
649
  const l = t.series.filter(
650
- (a) => !b.value.includes(a.id)
650
+ (a) => !m.value.includes(a.id)
651
651
  ), o = W.value ? l.map((a) => {
652
652
  const n = q.value[s].series.findIndex(
653
653
  (d) => d.name === a.name
@@ -660,7 +660,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
660
660
  const d = Y(q.value[s].series[n].values).reduce(
661
661
  (ve, he) => ve + he,
662
662
  0
663
- ), c = W.value ? d : a.value, k = Ae(
663
+ ), c = W.value ? d : a.value, k = Le(
664
664
  e.value.style.chart.layout.labels.dataLabels.formatter,
665
665
  c,
666
666
  D({
@@ -670,17 +670,17 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
670
670
  r: e.value.style.chart.legend.roundingValue
671
671
  }),
672
672
  { datapoint: a, seriesIndex: n }
673
- ), i = isNaN(c / o) || b.value.includes(a.id) ? "-" : D({
673
+ ), i = isNaN(c / o) || m.value.includes(a.id) ? "-" : D({
674
674
  v: c / o * 100,
675
675
  s: "%",
676
676
  r: e.value.style.chart.legend.roundingPercentage
677
- }), m = Ct({
677
+ }), w = Ct({
678
678
  val: k,
679
679
  percentage: i,
680
680
  showVal: e.value.style.chart.legend.showValue,
681
681
  showPercentage: e.value.style.chart.legend.showPercentage,
682
682
  config: e.value.style.chart.legend
683
- }), x = `${a.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${m}`;
683
+ }), x = `${a.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${w}`;
684
684
  return {
685
685
  name: a.name,
686
686
  color: a.color,
@@ -693,9 +693,9 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
693
693
  seriesIndex: n,
694
694
  datasetIndex: s,
695
695
  total: o,
696
- opacity: b.value.includes(a.id) ? 0.5 : 1,
696
+ opacity: m.value.includes(a.id) ? 0.5 : 1,
697
697
  segregate: () => j(a),
698
- isSegregated: b.value.includes(a.id)
698
+ isSegregated: m.value.includes(a.id)
699
699
  };
700
700
  });
701
701
  })), hl = $(() => ({
@@ -850,9 +850,9 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
850
850
  e.value.table.show || (t && e.value.table.useDialog && re.value ? re.value.open() : "close" in re.value && re.value.close());
851
851
  });
852
852
  function St() {
853
- L.value.showTable = !1, Pe.value && Pe.value.setTableIconState(!1);
853
+ L.value.showTable = !1, Se.value && Se.value.setTableIconState(!1);
854
854
  }
855
- const yl = $(() => e.value.style.chart.backgroundColor), bl = $(() => e.value.style.chart.legend), ml = $(() => e.value.style.chart.title), wl = $(() => ke.value.flat().map((t) => ({
855
+ const yl = $(() => e.value.style.chart.backgroundColor), bl = $(() => e.value.style.chart.legend), ml = $(() => e.value.style.chart.title), wl = $(() => $e.value.flat().map((t) => ({
856
856
  ...t,
857
857
  name: t.svgDisplay
858
858
  }))), { exportSvg: kl, getSvg: $l } = ta({
@@ -886,7 +886,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
886
886
  gt();
887
887
  }
888
888
  async function Ot() {
889
- if (Ve("copyAlt", {
889
+ if (Me("copyAlt", {
890
890
  config: e.value,
891
891
  dataset: C.value
892
892
  }), !e.value.userOptions.callbacks.altCopy) {
@@ -900,10 +900,10 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
900
900
  }
901
901
  const F = $(() => J.value.flatMap((t) => t.donut.filter((s) => !s.ghost)));
902
902
  function Al() {
903
- N.value = null, Se.value = !0;
903
+ N.value = null, Ie.value = !0;
904
904
  }
905
905
  function Ll() {
906
- N.value = null, ie.value = "pointer", se.value = !1, we.value = null, ne.value = null, le.value = null, Q.value = null, Se.value = !1;
906
+ N.value = null, ie.value = "pointer", se.value = !1, we.value = null, ne.value = null, le.value = null, Q.value = null, Ie.value = !1;
907
907
  }
908
908
  function xl(t) {
909
909
  if (!z.value || de.value || document.activeElement !== z.value || !F.value.length) return;
@@ -915,12 +915,12 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
915
915
  }
916
916
  if (o) {
917
917
  if (N.value === null) return;
918
- const m = F.value[N.value];
919
- if (!m) return;
918
+ const w = F.value[N.value];
919
+ if (!w) return;
920
920
  yt({
921
- datapoint: m,
921
+ datapoint: w,
922
922
  index: N.value,
923
- seriesIndex: m.seriesIndex
923
+ seriesIndex: w.seriesIndex
924
924
  });
925
925
  return;
926
926
  }
@@ -995,22 +995,22 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
995
995
  onClose: Be
996
996
  }, {
997
997
  "annotator-action-close": y(() => [
998
- w(t.$slots, "annotator-action-close", {}, void 0, !0)
998
+ b(t.$slots, "annotator-action-close", {}, void 0, !0)
999
999
  ]),
1000
1000
  "annotator-action-color": y(({ color: l }) => [
1001
- w(t.$slots, "annotator-action-color", P(S({ color: l })), void 0, !0)
1001
+ b(t.$slots, "annotator-action-color", P(S({ color: l })), void 0, !0)
1002
1002
  ]),
1003
1003
  "annotator-action-draw": y(({ mode: l }) => [
1004
- w(t.$slots, "annotator-action-draw", P(S({ mode: l })), void 0, !0)
1004
+ b(t.$slots, "annotator-action-draw", P(S({ mode: l })), void 0, !0)
1005
1005
  ]),
1006
1006
  "annotator-action-undo": y(({ disabled: l }) => [
1007
- w(t.$slots, "annotator-action-undo", P(S({ disabled: l })), void 0, !0)
1007
+ b(t.$slots, "annotator-action-undo", P(S({ disabled: l })), void 0, !0)
1008
1008
  ]),
1009
1009
  "annotator-action-redo": y(({ disabled: l }) => [
1010
- w(t.$slots, "annotator-action-redo", P(S({ disabled: l })), void 0, !0)
1010
+ b(t.$slots, "annotator-action-redo", P(S({ disabled: l })), void 0, !0)
1011
1011
  ]),
1012
1012
  "annotator-action-delete": y(({ disabled: l }) => [
1013
- w(t.$slots, "annotator-action-delete", P(S({ disabled: l })), void 0, !0)
1013
+ b(t.$slots, "annotator-action-delete", P(S({ disabled: l })), void 0, !0)
1014
1014
  ]),
1015
1015
  _: 3
1016
1016
  }, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : A("", !0),
@@ -1043,14 +1043,14 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
1043
1043
  g("div", {
1044
1044
  id: `legend-top-${f.value}`
1045
1045
  }, null, 8, fa),
1046
- e.value.userOptions.show && xe.value && (v(ct) || v(Oe)) ? (u(), V(v(Jt), {
1046
+ e.value.userOptions.show && Te.value && (v(ct) || v(Fe)) ? (u(), V(v(Jt), {
1047
1047
  ref_key: "userOptionsRef",
1048
- ref: Pe,
1048
+ ref: Se,
1049
1049
  key: `user_option_${Ze.value}`,
1050
1050
  backgroundColor: e.value.style.chart.backgroundColor,
1051
1051
  color: e.value.style.chart.color,
1052
- isPrinting: v(De),
1053
- isImaging: v(Ne),
1052
+ isPrinting: v(Ne),
1053
+ isImaging: v(Ve),
1054
1054
  uid: f.value,
1055
1055
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
1056
1056
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -1083,83 +1083,83 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
1083
1083
  onToggleAnnotator: Be,
1084
1084
  onCopyAlt: Ot,
1085
1085
  style: pe({
1086
- visibility: v(ct) ? v(Oe) ? "visible" : "hidden" : "visible"
1086
+ visibility: v(ct) ? v(Fe) ? "visible" : "hidden" : "visible"
1087
1087
  })
1088
1088
  }, Dt({ _: 2 }, [
1089
1089
  t.$slots.menuIcon ? {
1090
1090
  name: "menuIcon",
1091
1091
  fn: y(({ isOpen: l, color: o }) => [
1092
- w(t.$slots, "menuIcon", P(S({ isOpen: l, color: o })), void 0, !0)
1092
+ b(t.$slots, "menuIcon", P(S({ isOpen: l, color: o })), void 0, !0)
1093
1093
  ]),
1094
1094
  key: "0"
1095
1095
  } : void 0,
1096
1096
  t.$slots.optionTooltip ? {
1097
1097
  name: "optionTooltip",
1098
1098
  fn: y(() => [
1099
- w(t.$slots, "optionTooltip", {}, void 0, !0)
1099
+ b(t.$slots, "optionTooltip", {}, void 0, !0)
1100
1100
  ]),
1101
1101
  key: "1"
1102
1102
  } : void 0,
1103
1103
  t.$slots.optionPdf ? {
1104
1104
  name: "optionPdf",
1105
1105
  fn: y(() => [
1106
- w(t.$slots, "optionPdf", {}, void 0, !0)
1106
+ b(t.$slots, "optionPdf", {}, void 0, !0)
1107
1107
  ]),
1108
1108
  key: "2"
1109
1109
  } : void 0,
1110
1110
  t.$slots.optionCsv ? {
1111
1111
  name: "optionCsv",
1112
1112
  fn: y(() => [
1113
- w(t.$slots, "optionCsv", {}, void 0, !0)
1113
+ b(t.$slots, "optionCsv", {}, void 0, !0)
1114
1114
  ]),
1115
1115
  key: "3"
1116
1116
  } : void 0,
1117
1117
  t.$slots.optionImg ? {
1118
1118
  name: "optionImg",
1119
1119
  fn: y(() => [
1120
- w(t.$slots, "optionImg", {}, void 0, !0)
1120
+ b(t.$slots, "optionImg", {}, void 0, !0)
1121
1121
  ]),
1122
1122
  key: "4"
1123
1123
  } : void 0,
1124
1124
  t.$slots.optionSvg ? {
1125
1125
  name: "optionSvg",
1126
1126
  fn: y(() => [
1127
- w(t.$slots, "optionSvg", {}, void 0, !0)
1127
+ b(t.$slots, "optionSvg", {}, void 0, !0)
1128
1128
  ]),
1129
1129
  key: "5"
1130
1130
  } : void 0,
1131
1131
  t.$slots.optionTable ? {
1132
1132
  name: "optionTable",
1133
1133
  fn: y(() => [
1134
- w(t.$slots, "optionTable", {}, void 0, !0)
1134
+ b(t.$slots, "optionTable", {}, void 0, !0)
1135
1135
  ]),
1136
1136
  key: "6"
1137
1137
  } : void 0,
1138
1138
  t.$slots.optionLabels ? {
1139
1139
  name: "optionLabels",
1140
1140
  fn: y(() => [
1141
- w(t.$slots, "optionLabels", {}, void 0, !0)
1141
+ b(t.$slots, "optionLabels", {}, void 0, !0)
1142
1142
  ]),
1143
1143
  key: "7"
1144
1144
  } : void 0,
1145
1145
  t.$slots.optionFullscreen ? {
1146
1146
  name: "optionFullscreen",
1147
1147
  fn: y(({ toggleFullscreen: l, isFullscreen: o }) => [
1148
- w(t.$slots, "optionFullscreen", P(S({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
1148
+ b(t.$slots, "optionFullscreen", P(S({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
1149
1149
  ]),
1150
1150
  key: "8"
1151
1151
  } : void 0,
1152
1152
  t.$slots.optionAnnotator ? {
1153
1153
  name: "optionAnnotator",
1154
1154
  fn: y(({ toggleAnnotator: l, isAnnotator: o }) => [
1155
- w(t.$slots, "optionAnnotator", P(S({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
1155
+ b(t.$slots, "optionAnnotator", P(S({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
1156
1156
  ]),
1157
1157
  key: "9"
1158
1158
  } : void 0,
1159
1159
  t.$slots.optionAltCopy ? {
1160
1160
  name: "optionAltCopy",
1161
1161
  fn: y(({ altCopy: l }) => [
1162
- w(t.$slots, "optionAltCopy", P(S({ altCopy: l })), void 0, !0)
1162
+ b(t.$slots, "optionAltCopy", P(S({ altCopy: l })), void 0, !0)
1163
1163
  ]),
1164
1164
  key: "10"
1165
1165
  } : void 0
@@ -1198,7 +1198,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
1198
1198
  pointerEvents: "none"
1199
1199
  }
1200
1200
  }, [
1201
- w(t.$slots, "chart-background", {}, void 0, !0)
1201
+ b(t.$slots, "chart-background", {}, void 0, !0)
1202
1202
  ], 8, ya)) : A("", !0),
1203
1203
  g("defs", null, [
1204
1204
  (u(!0), r(T, null, _($t.value, (l, o) => (u(), r("radialGradient", {
@@ -1345,8 +1345,8 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
1345
1345
  Nt(g("text", {
1346
1346
  class: Z({ animated: e.value.useCssAnimation }),
1347
1347
  opacity: Lt(a) ? 1 : 0,
1348
- "text-anchor": v(Le)(a, !0).anchor,
1349
- x: v(Le)(
1348
+ "text-anchor": v(xe)(a, !0).anchor,
1349
+ x: v(xe)(
1350
1350
  a,
1351
1351
  !1,
1352
1352
  e.value.style.chart.layout.labels.dataLabels.offsetX
@@ -1373,8 +1373,8 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
1373
1373
  Nt(g("text", {
1374
1374
  class: Z({ animated: e.value.useCssAnimation }),
1375
1375
  opacity: Lt(a) ? 1 : 0,
1376
- "text-anchor": v(Le)(a, !0).anchor,
1377
- x: v(Le)(
1376
+ "text-anchor": v(xe)(a, !0).anchor,
1377
+ x: v(xe)(
1378
1378
  a,
1379
1379
  !1,
1380
1380
  e.value.style.chart.layout.labels.dataLabels.offsetX
@@ -1388,7 +1388,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
1388
1388
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
1389
1389
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldValue ? "bold" : "normal"
1390
1390
  }, E(v(Ut)(
1391
- v(Ae)(
1391
+ v(Le)(
1392
1392
  e.value.style.chart.layout.labels.dataLabels.formatter,
1393
1393
  a.value,
1394
1394
  v(D)({
@@ -1422,21 +1422,21 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
1422
1422
  }, null, 40, za)
1423
1423
  ]))), 256))
1424
1424
  ]))), 256)),
1425
- w(t.$slots, "svg", {
1425
+ b(t.$slots, "svg", {
1426
1426
  svg: {
1427
1427
  ...p.value,
1428
- isPrintingImg: v(De) | v(Ne) | ge.value,
1428
+ isPrintingImg: v(Ne) | v(Ve) | ge.value,
1429
1429
  isPrintingSvg: ye.value
1430
1430
  }
1431
1431
  }, void 0, !0)
1432
1432
  ], 512)
1433
1433
  ], 46, ga)),
1434
1434
  t.$slots.hint ? (u(), r("div", Ba, [
1435
- w(t.$slots, "hint", P(S({ hint: e.value.a11y.translations.keyboardNavigation, isVisible: Se.value })), void 0, !0)
1435
+ b(t.$slots, "hint", P(S({ hint: e.value.a11y.translations.keyboardNavigation, isVisible: Ie.value })), void 0, !0)
1436
1436
  ])) : A("", !0)
1437
1437
  ]),
1438
1438
  t.$slots.watermark ? (u(), r("div", Ea, [
1439
- w(t.$slots, "watermark", P(S({ isPrinting: v(De) || v(Ne) || ge.value || ye.value })), void 0, !0)
1439
+ b(t.$slots, "watermark", P(S({ isPrinting: v(Ne) || v(Ve) || ge.value || ye.value })), void 0, !0)
1440
1440
  ])) : A("", !0),
1441
1441
  Xe(v(Xt), {
1442
1442
  teleportTo: e.value.style.chart.tooltip.teleportTo,
@@ -1451,7 +1451,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
1451
1451
  position: e.value.style.chart.tooltip.position,
1452
1452
  offsetY: e.value.style.chart.tooltip.offsetY,
1453
1453
  parent: M.value,
1454
- content: Te.value,
1454
+ content: _e.value,
1455
1455
  isFullscreen: X.value,
1456
1456
  isCustom: v(Rt)(e.value.style.chart.tooltip.customFormat),
1457
1457
  smooth: e.value.style.chart.tooltip.smooth,
@@ -1462,10 +1462,13 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
1462
1462
  a11yPosition: ut.value
1463
1463
  }, {
1464
1464
  "tooltip-before": y(() => [
1465
- w(t.$slots, "tooltip-before", P(S({ ...Me.value })), void 0, !0)
1465
+ b(t.$slots, "tooltip-before", P(S({ ...ke.value })), void 0, !0)
1466
+ ]),
1467
+ tooltip: y(() => [
1468
+ b(t.$slots, "tooltip", P(S({ ...ke.value })), void 0, !0)
1466
1469
  ]),
1467
1470
  "tooltip-after": y(() => [
1468
- w(t.$slots, "tooltip-after", P(S({ ...Me.value })), void 0, !0)
1471
+ b(t.$slots, "tooltip-after", P(S({ ...ke.value })), void 0, !0)
1469
1472
  ]),
1470
1473
  _: 3
1471
1474
  }, 8, ["teleportTo", "show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold", "isA11yMode", "a11yPosition"]),
@@ -1479,10 +1482,10 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
1479
1482
  e.value.style.chart.legend.show ? (u(), r("div", {
1480
1483
  key: 0,
1481
1484
  ref_key: "chartLegend",
1482
- ref: _e,
1483
- class: Z({ "vue-ui-nested-donuts-legend": ke.value.length > 1 })
1485
+ ref: Pe,
1486
+ class: Z({ "vue-ui-nested-donuts-legend": $e.value.length > 1 })
1484
1487
  }, [
1485
- (u(!0), r(T, null, _(ke.value, (l, o) => (u(), V(ra, {
1488
+ (u(!0), r(T, null, _($e.value, (l, o) => (u(), V(ra, {
1486
1489
  key: `legend_${o}_${st.value}`,
1487
1490
  legendSet: l,
1488
1491
  config: hl.value,
@@ -1495,7 +1498,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
1495
1498
  item: y(({ legend: a, index: n }) => [
1496
1499
  g("div", {
1497
1500
  onClick: (d) => j(a),
1498
- style: pe(`opacity:${b.value.includes(a.id) ? 0.5 : 1}`)
1501
+ style: pe(`opacity:${m.value.includes(a.id) ? 0.5 : 1}`)
1499
1502
  }, E(a.display), 13, Ga)
1500
1503
  ]),
1501
1504
  legendToggle: y(() => [
@@ -1504,7 +1507,7 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
1504
1507
  backgroundColor: e.value.style.chart.legend.selectAllToggle.backgroundColor,
1505
1508
  color: e.value.style.chart.legend.selectAllToggle.color,
1506
1509
  fontSize: e.value.style.chart.legend.fontSize,
1507
- checked: l.some((a) => b.value.includes(a.id)),
1510
+ checked: l.some((a) => m.value.includes(a.id)),
1508
1511
  isCursorPointer: H.value,
1509
1512
  onToggle: (a) => il(l)
1510
1513
  }, null, 8, ["backgroundColor", "color", "fontSize", "checked", "isCursorPointer", "onToggle"])) : A("", !0)
@@ -1516,9 +1519,9 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
1516
1519
  e.value.style.chart.legend.show ? A("", !0) : (u(), r("div", {
1517
1520
  key: 7,
1518
1521
  ref_key: "chartLegend",
1519
- ref: _e
1522
+ ref: Pe
1520
1523
  }, [
1521
- w(t.$slots, "legend", { legend: ke.value }, void 0, !0)
1524
+ b(t.$slots, "legend", { legend: $e.value }, void 0, !0)
1522
1525
  ], 512)),
1523
1526
  t.$slots.source ? (u(), r("div", {
1524
1527
  key: 8,
@@ -1526,9 +1529,9 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
1526
1529
  ref: tt,
1527
1530
  dir: "auto"
1528
1531
  }, [
1529
- w(t.$slots, "source", {}, void 0, !0)
1532
+ b(t.$slots, "source", {}, void 0, !0)
1530
1533
  ], 512)) : A("", !0),
1531
- xe.value && e.value.userOptions.buttons.table ? (u(), V(Vl(ce.value.component), Ml({ key: 9 }, ce.value.props, {
1534
+ Te.value && e.value.userOptions.buttons.table ? (u(), V(Vl(ce.value.component), Ml({ key: 9 }, ce.value.props, {
1532
1535
  ref_key: "tableUnit",
1533
1536
  ref: re,
1534
1537
  onClose: St
@@ -1584,12 +1587,12 @@ const va = ["id"], ha = ["id"], fa = ["id"], pa = { style: { position: "relative
1584
1587
  key: "1"
1585
1588
  } : void 0
1586
1589
  ]), 1040)) : A("", !0),
1587
- w(t.$slots, "skeleton", {}, () => [
1590
+ b(t.$slots, "skeleton", {}, () => [
1588
1591
  v(be) ? (u(), V(Zl, { key: 0 })) : A("", !0)
1589
1592
  ], !0)
1590
1593
  ], 46, va));
1591
1594
  }
1592
- }, vo = /* @__PURE__ */ ca(Wa, [["__scopeId", "data-v-37af710e"]]);
1595
+ }, vo = /* @__PURE__ */ ca(Wa, [["__scopeId", "data-v-821b36c3"]]);
1593
1596
  export {
1594
1597
  vo as default
1595
1598
  };