vue-data-ui 3.1.3 → 3.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/dist/{Arrow-DBaAWGvq.js → Arrow-BFbcF5Sq.js} +1 -1
  2. package/dist/{BaseDraggableDialog-BmN9jTP8.js → BaseDraggableDialog-BO4B1Kwa.js} +2 -2
  3. package/dist/{BaseIcon-BcOSijbz.js → BaseIcon-BQQGRQ2U.js} +1 -1
  4. package/dist/{ColorPicker-D1yNPt76.js → ColorPicker-d1kmGapq.js} +2 -2
  5. package/dist/{DataTable-Cm8Tt9PQ.js → DataTable-D6voeZvO.js} +2 -2
  6. package/dist/{Legend-5qvgVkrY.js → Legend-nPGcCxG_.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-D3QGd7vP.js → NonSvgPenAndPaper-xRGRe41H.js} +3 -3
  8. package/dist/{PackageVersion-0XlRFsI_.js → PackageVersion-BeStrsPr.js} +1 -1
  9. package/dist/{PenAndPaper-CyH7Ip2i.js → PenAndPaper-C6tiapdo.js} +3 -3
  10. package/dist/{Shape-DiplSMFy.js → Shape-DBVq0fdK.js} +1 -1
  11. package/dist/Slicer-Duqm7KZK.js +597 -0
  12. package/dist/{SparkTooltip-VveQSwlw.js → SparkTooltip-wNGmXZSx.js} +1 -1
  13. package/dist/{Title-CqYBs02Y.js → Title-ydtId0LC.js} +1 -1
  14. package/dist/Tooltip-oeu9knGI.js +200 -0
  15. package/dist/{UserOptions-ZmwlARCV.js → UserOptions-CnJxN2Vo.js} +29 -29
  16. package/dist/{dom-to-png-DGA4a3xT.js → dom-to-png-CMCYtLrX.js} +1 -1
  17. package/dist/{img-DSrvx9J6.js → img-Neec0VVb.js} +1 -1
  18. package/dist/{index-CaxArMHL.js → index-BkfuZCRT.js} +7 -2
  19. package/dist/{pdf-BG8PiGFH.js → pdf-CpQ-dqJh.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +12 -0
  22. package/dist/types/vue-data-ui.d.ts +12 -0
  23. package/dist/{useAutoSizeLabelsInsideViewbox-DmtFf4bt.js → useAutoSizeLabelsInsideViewbox-DR2HExYc.js} +1 -1
  24. package/dist/{useNestedProp-tWT02_6S.js → useNestedProp-BMzw9VUz.js} +1 -1
  25. package/dist/{usePrinter-BYtPmEo8.js → usePrinter-CEdg3j8S.js} +2 -2
  26. package/dist/{vue-data-ui-DVb8r5z7.js → vue-data-ui-D5B7a84o.js} +64 -64
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-BLKyWpz7.js → vue-ui-3d-bar-C8_Qu1rf.js} +6 -6
  29. package/dist/{vue-ui-accordion-DUlNpLir.js → vue-ui-accordion-DFxAHGEZ.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-LLqbXP1m.js → vue-ui-age-pyramid-D_kTImtX.js} +43 -41
  31. package/dist/{vue-ui-annotator-CcYIlcKF.js → vue-ui-annotator-B1vSlzfu.js} +2 -2
  32. package/dist/{vue-ui-bullet-BKmts_u4.js → vue-ui-bullet-VPchh2r2.js} +7 -7
  33. package/dist/{vue-ui-candlestick-C9l_NpXu.js → vue-ui-candlestick-CB3bj7_-.js} +42 -40
  34. package/dist/{vue-ui-carousel-table-H7xS6aBC.js → vue-ui-carousel-table-CUiSyrTY.js} +4 -4
  35. package/dist/{vue-ui-chestnut-CAW0IOdY.js → vue-ui-chestnut-BE5ZEt1N.js} +5 -5
  36. package/dist/{vue-ui-chord-CK5YhCqM.js → vue-ui-chord-DVSBY9ou.js} +8 -8
  37. package/dist/{vue-ui-circle-pack-NLyZgTGF.js → vue-ui-circle-pack-BfDjZFaF.js} +6 -6
  38. package/dist/{vue-ui-cursor-CyGUrKWU.js → vue-ui-cursor-BIuc6nds.js} +2 -2
  39. package/dist/{vue-ui-dashboard-Cf5pvEzD.js → vue-ui-dashboard-C7xIcrvD.js} +79 -80
  40. package/dist/{vue-ui-digits-BZWwwp7c.js → vue-ui-digits-C3mI-0Fg.js} +2 -2
  41. package/dist/{vue-ui-donut-g1WHrj6G.js → vue-ui-donut-BApz1ho5.js} +52 -50
  42. package/dist/{vue-ui-donut-evolution-CaEYMVZj.js → vue-ui-donut-evolution-B2PJiYY9.js} +8 -8
  43. package/dist/{vue-ui-dumbbell-BArS1nXS.js → vue-ui-dumbbell-DQjVvBH_.js} +7 -7
  44. package/dist/{vue-ui-flow-BR0CB5qt.js → vue-ui-flow-COtJRNLE.js} +40 -38
  45. package/dist/{vue-ui-funnel-D2OCItvq.js → vue-ui-funnel-BY2qeg-m.js} +6 -6
  46. package/dist/{vue-ui-galaxy-qgGF1AAf.js → vue-ui-galaxy-3zec_QLi.js} +58 -56
  47. package/dist/{vue-ui-gauge-BIXmGyQL.js → vue-ui-gauge-CFUA5ORH.js} +8 -8
  48. package/dist/{vue-ui-gizmo-DHEoS051.js → vue-ui-gizmo-CUPFU8GE.js} +3 -3
  49. package/dist/{vue-ui-heatmap-tRzq9BnI.js → vue-ui-heatmap-DakytdCv.js} +68 -66
  50. package/dist/{vue-ui-history-plot-DmwHhrDk.js → vue-ui-history-plot-DnSB7au4.js} +85 -83
  51. package/dist/{vue-ui-kpi-C2b2R5i1.js → vue-ui-kpi-UmcKQftv.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-Bs1Mi1tD.js → vue-ui-mini-loader-Bl8GHasa.js} +2 -2
  53. package/dist/{vue-ui-molecule-BsUvf2v7.js → vue-ui-molecule-BZrmSVps.js} +63 -61
  54. package/dist/{vue-ui-mood-radar-D3JIpVvX.js → vue-ui-mood-radar-CVM8vl5N.js} +7 -7
  55. package/dist/{vue-ui-nested-donuts-dJEgQXTH.js → vue-ui-nested-donuts-LTzijeVK.js} +70 -68
  56. package/dist/{vue-ui-onion-D8dF1DdA.js → vue-ui-onion-aHCc3r7L.js} +38 -36
  57. package/dist/{vue-ui-parallel-coordinate-plot-LmFsg7UA.js → vue-ui-parallel-coordinate-plot-0xXe6A-6.js} +54 -52
  58. package/dist/{vue-ui-quadrant-C4O8ki4N.js → vue-ui-quadrant-BlM9WNN7.js} +203 -201
  59. package/dist/{vue-ui-quick-chart-6bEtTQBG.js → vue-ui-quick-chart-CJ2Wdln9.js} +152 -150
  60. package/dist/{vue-ui-radar-CfjGWGk3.js → vue-ui-radar-Cgnooz7-.js} +121 -119
  61. package/dist/{vue-ui-rating-D3WSs2OD.js → vue-ui-rating-DF71ymNG.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-DzTfi7Tf.js → vue-ui-relation-circle-DsuEL1gY.js} +7 -7
  63. package/dist/{vue-ui-ridgeline-NtYOJvDy.js → vue-ui-ridgeline-DxP8uxgx.js} +8 -8
  64. package/dist/{vue-ui-rings-CYQ4i71V.js → vue-ui-rings-C4hKgrft.js} +162 -160
  65. package/dist/{vue-ui-scatter-meJEHdAD.js → vue-ui-scatter-B_SzTSE5.js} +157 -155
  66. package/dist/{vue-ui-skeleton-BtILTxx-.js → vue-ui-skeleton-DCAlHSMV.js} +3 -3
  67. package/dist/{vue-ui-smiley-B5bELpYD.js → vue-ui-smiley-B_JFtrl6.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-lixdWq_N.js → vue-ui-spark-trend-CC7q1UbE.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-CaGPav-J.js → vue-ui-sparkbar-C2YRX4mJ.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-BZBGYDjs.js → vue-ui-sparkgauge-BO4c3j-8.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-Bp6KxpjH.js → vue-ui-sparkhistogram-BuGOHT9h.js} +4 -4
  72. package/dist/{vue-ui-sparkline-CF-EAZa6.js → vue-ui-sparkline-hOyPCIt8.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-Cj1LAYC8.js → vue-ui-sparkstackbar-DhSc-U8u.js} +36 -34
  74. package/dist/{vue-ui-stackbar-BrzKhqAK.js → vue-ui-stackbar-VdBWv1wm.js} +14 -12
  75. package/dist/{vue-ui-strip-plot-BfVVaSFn.js → vue-ui-strip-plot-CBj5ntWM.js} +58 -56
  76. package/dist/{vue-ui-table-CBzNgzVP.js → vue-ui-table-BItmKbvF.js} +156 -121
  77. package/dist/{vue-ui-table-heatmap-CKz5bA7N.js → vue-ui-table-heatmap-DziHVKba.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-O-Z0YH6u.js → vue-ui-table-sparkline-CpWDqm7q.js} +4 -4
  79. package/dist/{vue-ui-thermometer-DpNyTGNH.js → vue-ui-thermometer-CWt0q_Tu.js} +7 -7
  80. package/dist/{vue-ui-timer-uvshaRMI.js → vue-ui-timer-BIv2sfQA.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-A8Akuz-q.js → vue-ui-tiremarks-BE_VWjK-.js} +6 -6
  82. package/dist/{vue-ui-treemap-Dvmuo3tM.js → vue-ui-treemap-2AIbDpTo.js} +41 -39
  83. package/dist/{vue-ui-vertical-bar-eMgRMSKN.js → vue-ui-vertical-bar-CP-XFVV5.js} +53 -51
  84. package/dist/{vue-ui-waffle-Cm8VfnG8.js → vue-ui-waffle-CewP8k-W.js} +67 -65
  85. package/dist/{vue-ui-wheel-Bhsklf_m.js → vue-ui-wheel-Ik8FoLfz.js} +6 -6
  86. package/dist/{vue-ui-word-cloud-C9HGLsG4.js → vue-ui-word-cloud-CEEc5ep_.js} +83 -80
  87. package/dist/{vue-ui-world-B_MrjwGJ.js → vue-ui-world-CuwXMI3D.js} +11 -9
  88. package/dist/{vue-ui-xy-DnYJw2aS.js → vue-ui-xy-Bsh2OBHp.js} +1326 -1329
  89. package/dist/{vue-ui-xy-canvas-C0Snw0Dz.js → vue-ui-xy-canvas-CKzjhhNg.js} +46 -44
  90. package/package.json +1 -1
  91. package/dist/Slicer-DG99wPTy.js +0 -604
  92. package/dist/Tooltip-CP0tVHAf.js +0 -161
@@ -1,16 +1,16 @@
1
- import { defineAsyncComponent as z, computed as _, ref as c, toRefs as tl, watch as te, onMounted as ll, shallowRef as gt, onBeforeUnmount as al, createElementBlock as r, openBlock as u, unref as i, normalizeStyle as ve, normalizeClass as M, createBlock as B, createCommentVNode as k, createElementVNode as p, createVNode as Ve, createSlots as mt, withCtx as C, renderSlot as x, normalizeProps as H, guardReactiveProps as J, Fragment as A, renderList as T, toDisplayString as N, withDirectives as wt, vShow as kt, Teleport as ol, resolveDynamicComponent as sl, mergeProps as ul, createTextVNode as $t, nextTick as Ct } from "vue";
2
- import { u as nl, c as rl, t as il, a as dl, p as ze, b as vl, C as Me, o as cl, f as K, d as hl, G as E, e as fl, m as Be, i as F, X as pl, s as yl, L as Lt, q as Ee, r as Q, k as le, y as _t, v as bl, w as gl, z as ml, T as xt, h as Re } from "./index-CaxArMHL.js";
1
+ import { defineAsyncComponent as z, computed as _, ref as c, toRefs as tl, watch as te, onMounted as ll, shallowRef as gt, onBeforeUnmount as al, createElementBlock as r, openBlock as u, unref as i, normalizeStyle as ve, normalizeClass as M, createBlock as B, createCommentVNode as k, createElementVNode as p, createVNode as Ve, createSlots as mt, withCtx as C, renderSlot as x, normalizeProps as H, guardReactiveProps as J, Fragment as A, renderList as T, toDisplayString as S, withDirectives as wt, vShow as kt, Teleport as ol, resolveDynamicComponent as sl, mergeProps as ul, createTextVNode as $t, nextTick as Ct } from "vue";
2
+ import { u as nl, c as rl, t as il, a as dl, p as ze, b as vl, C as Me, o as cl, f as K, d as hl, G as E, e as fl, m as Be, i as O, X as pl, s as yl, L as Lt, q as Ee, r as Q, k as le, y as _t, v as bl, w as gl, z as ml, T as xt, h as Re } from "./index-BkfuZCRT.js";
3
3
  import { t as wl, u as kl } from "./useResponsive-DfdjqQps.js";
4
4
  import { u as $l, B as Cl } from "./BaseScanner-BgWxam9d.js";
5
- import { u as Ll } from "./usePrinter-BYtPmEo8.js";
6
- import { u as At } from "./useNestedProp-tWT02_6S.js";
5
+ import { u as Ll } from "./usePrinter-CEdg3j8S.js";
6
+ import { u as At } from "./useNestedProp-BMzw9VUz.js";
7
7
  import { u as _l } from "./useUserOptionState-BIvW1Kz7.js";
8
8
  import { u as xl } from "./useChartAccessibility-9icAAmYg.js";
9
- import Al from "./img-DSrvx9J6.js";
10
- import Tl from "./Title-CqYBs02Y.js";
11
- import Ol from "./Legend-5qvgVkrY.js";
12
- import { _ as Nl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
- const Fl = ["id"], Sl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "height"], Pl = ["id"], Vl = ["offset", "stop-color"], zl = ["offset", "stop-opacity"], Ml = ["id"], Bl = ["id"], El = ["id"], Rl = ["flood-color"], Ul = ["id", "d"], Gl = ["d", "fill", "stroke", "stroke-width", "filter"], Yl = ["d", "fill", "stroke", "stroke-width"], Wl = { key: 1 }, Xl = ["d", "fill"], ql = { key: 2 }, Hl = ["font-size", "font-weight", "fill", "dy"], Jl = ["href"], Kl = ["x", "y", "font-size", "font-weight", "fill"], Ql = { key: 3 }, Zl = ["filter"], jl = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], ea = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], ta = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], la = ["d", "fill", "onMouseenter", "onClick", "onMouseleave"], aa = {
9
+ import Al from "./img-Neec0VVb.js";
10
+ import Tl from "./Title-ydtId0LC.js";
11
+ import Fl from "./Legend-nPGcCxG_.js";
12
+ import { _ as Sl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
+ const Ol = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "height"], Pl = ["id"], Vl = ["offset", "stop-color"], zl = ["offset", "stop-opacity"], Ml = ["id"], Bl = ["id"], El = ["id"], Rl = ["flood-color"], Ul = ["id", "d"], Gl = ["d", "fill", "stroke", "stroke-width", "filter"], Yl = ["d", "fill", "stroke", "stroke-width"], Wl = { key: 1 }, Xl = ["d", "fill"], ql = { key: 2 }, Hl = ["font-size", "font-weight", "fill", "dy"], Jl = ["href"], Kl = ["x", "y", "font-size", "font-weight", "fill"], Ql = { key: 3 }, Zl = ["filter"], jl = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], ea = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], ta = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], la = ["d", "fill", "onMouseenter", "onClick", "onMouseleave"], aa = {
14
14
  key: 4,
15
15
  class: "vue-data-ui-watermark"
16
16
  }, oa = ["id"], sa = {
@@ -33,8 +33,8 @@ const Fl = ["id"], Sl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
33
33
  }
34
34
  },
35
35
  emits: ["selectLegend", "selectDatapoint"],
36
- setup(Tt, { expose: Ot, emit: Nt }) {
37
- const Ft = z(() => import("./Tooltip-CP0tVHAf.js")), St = z(() => import("./BaseIcon-BcOSijbz.js")), It = z(() => import("./vue-ui-accordion-DUlNpLir.js")), Dt = z(() => import("./DataTable-Cm8Tt9PQ.js")), Pt = z(() => import("./UserOptions-ZmwlARCV.js")), Vt = z(() => import("./PenAndPaper-CyH7Ip2i.js")), zt = z(() => import("./PackageVersion-0XlRFsI_.js")), Mt = z(() => import("./BaseDraggableDialog-BmN9jTP8.js")), { vue_ui_nested_donuts: Bt } = nl(), g = Tt, ce = _({
36
+ setup(Tt, { expose: Ft, emit: St }) {
37
+ const Ot = z(() => import("./Tooltip-oeu9knGI.js")), Nt = z(() => import("./BaseIcon-BQQGRQ2U.js")), It = z(() => import("./vue-ui-accordion-DFxAHGEZ.js")), Dt = z(() => import("./DataTable-D6voeZvO.js")), Pt = z(() => import("./UserOptions-CnJxN2Vo.js")), Vt = z(() => import("./PenAndPaper-C6tiapdo.js")), zt = z(() => import("./PackageVersion-BeStrsPr.js")), Mt = z(() => import("./BaseDraggableDialog-BO4B1Kwa.js")), { vue_ui_nested_donuts: Bt } = nl(), g = Tt, ce = _({
38
38
  get() {
39
39
  return !!g.dataset && g.dataset.length;
40
40
  },
@@ -143,29 +143,29 @@ const Fl = ["id"], Sl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
143
143
  setTimeout(() => {
144
144
  const w = performance.now();
145
145
  function d(b) {
146
- const O = Math.min((b - w) / s, 1), Oe = xt(O), Ne = v * Oe;
147
- U.value[y] = Ne, U.value = [...U.value];
146
+ const F = Math.min((b - w) / s, 1), Fe = xt(F), Se = v * Fe;
147
+ U.value[y] = Se, U.value = [...U.value];
148
148
  const ie = [];
149
- let Fe = 0;
150
- g.dataset.forEach((de, Se) => {
149
+ let Oe = 0;
150
+ g.dataset.forEach((de, Ne) => {
151
151
  const Qt = Re(de.series.reduce(
152
152
  (De, Pe) => De + Re(E(Pe.values).reduce((jt, el) => jt + el, 0)),
153
153
  0
154
- )), Zt = Re(U.value.slice(Fe, Fe + de.series.length).reduce((De, Pe) => De + Pe, 0)), Ie = Qt - Zt;
154
+ )), Zt = Re(U.value.slice(Oe, Oe + de.series.length).reduce((De, Pe) => De + Pe, 0)), Ie = Qt - Zt;
155
155
  Ie > Number.MIN_VALUE && ie.push({
156
156
  name: "__ghost__",
157
157
  arcOf: de.name,
158
- arcOfId: `${f.value}_${Se}`,
159
- id: `ghost_${f.value}_${Se}`,
158
+ arcOfId: `${f.value}_${Ne}`,
159
+ id: `ghost_${f.value}_${Ne}`,
160
160
  seriesIndex: -1,
161
- datasetIndex: Se,
161
+ datasetIndex: Ne,
162
162
  color: "transparent",
163
163
  value: Ie,
164
164
  fullValue: Ie,
165
165
  absoluteValues: [],
166
166
  ghost: !0
167
- }), Fe += de.series.length;
168
- }), Z.value = ie, O < 1 ? requestAnimationFrame(d) : (n += 1, n === t && o());
167
+ }), Oe += de.series.length;
168
+ }), Z.value = ie, F < 1 ? requestAnimationFrame(d) : (n += 1, n === t && o());
169
169
  }
170
170
  requestAnimationFrame(d);
171
171
  }, y * a);
@@ -257,7 +257,7 @@ const Fl = ["id"], Sl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
257
257
  const h = c({
258
258
  width: e.value.style.chart.width,
259
259
  height: e.value.style.chart.height
260
- }), nt = Nt;
260
+ }), nt = St;
261
261
  function Gt({ datapoint: l, index: s, seriesIndex: a }) {
262
262
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: a }), nt("selectDatapoint", { datapoint: l, index: s });
263
263
  }
@@ -271,12 +271,12 @@ const Fl = ["id"], Sl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
271
271
  }) {
272
272
  const v = performance.now();
273
273
  function y(w) {
274
- const d = Math.min((w - v) / a, 1), b = n(d), O = l + (s - l) * b;
275
- o(O, d), d < 1 ? requestAnimationFrame(y) : (o(s, 1), t && t());
274
+ const d = Math.min((w - v) / a, 1), b = n(d), F = l + (s - l) * b;
275
+ o(F, d), d < 1 ? requestAnimationFrame(y) : (o(s, 1), t && t());
276
276
  }
277
277
  requestAnimationFrame(y);
278
278
  }
279
- const L = c([]), S = _(() => {
279
+ const L = c([]), N = _(() => {
280
280
  ge.value, Y.value.forEach((s, a) => {
281
281
  [null, void 0].includes(s.name) && K({
282
282
  componentName: "VueUiNestedDonuts",
@@ -338,7 +338,7 @@ const Fl = ["id"], Sl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
338
338
  te(() => g.dataset, (l) => {
339
339
  Array.isArray(l) && l.length > 0 && (me.value = !1);
340
340
  }, { immediate: !0 });
341
- const D = _(() => Math.min(h.value.height, h.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)), it = _(() => [...S.value].map((l, s) => {
341
+ const D = _(() => Math.min(h.value.height, h.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)), it = _(() => [...N.value].map((l, s) => {
342
342
  const a = l.series.filter((o) => !L.value.includes(o.id)).map((o) => o.value).reduce((o, t) => o + t, 0);
343
343
  return {
344
344
  ...l,
@@ -363,16 +363,16 @@ const Fl = ["id"], Sl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
363
363
  function $e(l) {
364
364
  nt("selectLegend", l);
365
365
  const s = g.dataset.flatMap(
366
- (d, b) => d.series.map((O, Oe) => ({
367
- value: E(O.values).reduce((Ne, ie) => Ne + ie, 0),
368
- id: `${f.value}_${b}_${Oe}`,
366
+ (d, b) => d.series.map((F, Fe) => ({
367
+ value: E(F.values).reduce((Se, ie) => Se + ie, 0),
368
+ id: `${f.value}_${b}_${Fe}`,
369
369
  arcOfId: `${f.value}_${b}`
370
370
  }))
371
371
  ).find((d) => d.id === l.id);
372
372
  if (!s) return;
373
- const a = S.value.flatMap((d) => d.series).find((d) => d.id === l.id)?.value ?? 0, o = m.value.flatMap((d) => d.series).find((d) => d.id === l.id);
373
+ const a = N.value.flatMap((d) => d.series).find((d) => d.id === l.id)?.value ?? 0, o = m.value.flatMap((d) => d.series).find((d) => d.id === l.id);
374
374
  let n = o ? o.value : 0;
375
- const v = S.value.find(
375
+ const v = N.value.find(
376
376
  (d) => d.id === s.arcOfId
377
377
  );
378
378
  if (!v) return;
@@ -388,7 +388,7 @@ const Fl = ["id"], Sl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
388
388
  onUpdate: (d) => {
389
389
  m.value = m.value.map((b) => ({
390
390
  ...b,
391
- series: b.series.map((O) => O.id === l.id ? { ...O, value: d } : O)
391
+ series: b.series.map((F) => F.id === l.id ? { ...F, value: d } : F)
392
392
  }));
393
393
  }
394
394
  }) : m.value = m.value.map((d) => ({
@@ -401,7 +401,7 @@ const Fl = ["id"], Sl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
401
401
  onUpdate: (d) => {
402
402
  m.value = m.value.map((b) => ({
403
403
  ...b,
404
- series: b.series.map((O) => O.id === l.id ? { ...O, value: d } : O)
404
+ series: b.series.map((F) => F.id === l.id ? { ...F, value: d } : F)
405
405
  }));
406
406
  },
407
407
  onDone: () => {
@@ -412,7 +412,7 @@ const Fl = ["id"], Sl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
412
412
  series: d.series.map((b) => b.id === l.id ? { ...b, value: 0 } : b)
413
413
  })), L.value.push(l.id)));
414
414
  }
415
- const oe = _(() => D.value / S.value.length * e.value.style.chart.layout.donut.spacingRatio), dt = _(() => m.value.map((l, s) => D.value - s * D.value / S.value.length)), q = _(() => m.value.map((l, s) => {
415
+ const oe = _(() => D.value / N.value.length * e.value.style.chart.layout.donut.spacingRatio), dt = _(() => m.value.map((l, s) => D.value - s * D.value / N.value.length)), q = _(() => m.value.map((l, s) => {
416
416
  const a = Math.abs(l.series.map((w) => w.value).reduce((w, d) => w + d, 0)) > 0, o = D.value - s * D.value / m.value.length, t = R.value ? Z.value.find((w) => w.datasetIndex === s) : null, n = [...l.series, ...t ? [t] : []].map((w) => ({
417
417
  ...w,
418
418
  value: w.value < 1e-11 ? Number.MIN_VALUE : w.value
@@ -453,8 +453,8 @@ const Fl = ["id"], Sl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
453
453
  oe.value
454
454
  )
455
455
  };
456
- })), vt = _(() => [...S.value].map((l, s) => {
457
- const a = s * D.value / S.value.length;
456
+ })), vt = _(() => [...N.value].map((l, s) => {
457
+ const a = s * D.value / N.value.length;
458
458
  return {
459
459
  sizeRatio: a,
460
460
  donut: Be(
@@ -468,7 +468,7 @@ const Fl = ["id"], Sl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
468
468
  1,
469
469
  360,
470
470
  105.25,
471
- D.value / S.value.length * e.value.style.chart.layout.donut.spacingRatio
471
+ D.value / N.value.length * e.value.style.chart.layout.donut.spacingRatio
472
472
  )[0]
473
473
  };
474
474
  })), ct = c(null), se = c(null), ue = c(null), Ce = c(null);
@@ -517,7 +517,7 @@ const Fl = ["id"], Sl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
517
517
  ${e.value.style.chart.tooltip.showValue ? `<b>${le(
518
518
  e.value.style.chart.layout.labels.dataLabels.formatter,
519
519
  l.value,
520
- F({
520
+ O({
521
521
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
522
522
  v: l.value,
523
523
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -526,7 +526,7 @@ const Fl = ["id"], Sl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
526
526
  { datapoint: l, seriesIndex: a }
527
527
  )}
528
528
  </b>` : ""}
529
- ${e.value.style.chart.tooltip.showPercentage ? `(${F({
529
+ ${e.value.style.chart.tooltip.showPercentage ? `(${O({
530
530
  v: v.proportion * 100,
531
531
  s: "%",
532
532
  r: e.value.style.chart.tooltip.roundingPercentage
@@ -539,18 +539,18 @@ const Fl = ["id"], Sl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
539
539
  t += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.arcOf ?? ""} - ${l.name}</div>`, t += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${l.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (t += `<b>${le(
540
540
  e.value.style.chart.layout.labels.dataLabels.formatter,
541
541
  l.value,
542
- F({
542
+ O({
543
543
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
544
544
  v: l.value,
545
545
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
546
546
  r: e.value.style.chart.tooltip.roundingValue
547
547
  }),
548
548
  { datapoint: l, seriesIndex: a }
549
- )}</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? t += `<span>(${F({
549
+ )}</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? t += `<span>(${O({
550
550
  v: l.proportion * 100,
551
551
  s: "%",
552
552
  r: e.value.style.chart.tooltip.roundingPercentage
553
- })})</span></div>` : t += `<b>${F({
553
+ })})</span></div>` : t += `<b>${O({
554
554
  v: l.proportion * 100,
555
555
  s: "%",
556
556
  r: e.value.style.chart.tooltip.roundingPercentage
@@ -570,7 +570,7 @@ const Fl = ["id"], Sl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
570
570
  if (!e.value.style.chart.tooltip.showAllItemsAtIndex || L.value.length)
571
571
  return [null, void 0].includes(se.value) || se.value === l.id ? "" : `url(#blur_${f.value})`;
572
572
  }
573
- const _e = _(() => S.value.map((l, s) => {
573
+ const _e = _(() => N.value.map((l, s) => {
574
574
  const a = l.series.filter(
575
575
  (t) => !L.value.includes(t.id)
576
576
  ), o = R.value ? a.map((t) => {
@@ -641,7 +641,7 @@ const Fl = ["id"], Sl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
641
641
  e.value.table.columnNames.value,
642
642
  e.value.table.columnNames.percentage
643
643
  ], s = V.value.head.map((t, n) => {
644
- const v = F({
644
+ const v = O({
645
645
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
646
646
  v: V.value.body[n],
647
647
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -653,7 +653,7 @@ const Fl = ["id"], Sl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
653
653
  name: t.name
654
654
  },
655
655
  v,
656
- isNaN(V.value.body[n] / t.total) ? "-" : F({
656
+ isNaN(V.value.body[n] / t.total) ? "-" : O({
657
657
  v: V.value.body[n] / t.total * 100,
658
658
  s: "%",
659
659
  r: e.value.table.td.roundingPercentage
@@ -684,7 +684,7 @@ const Fl = ["id"], Sl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
684
684
  };
685
685
  });
686
686
  function Ht() {
687
- return S.value;
687
+ return N.value;
688
688
  }
689
689
  function ft() {
690
690
  $.value.showTable = !$.value.showTable;
@@ -753,7 +753,7 @@ const Fl = ["id"], Sl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
753
753
  function bt() {
754
754
  $.value.showTable = !1, be.value && be.value.setTableIconState(!1);
755
755
  }
756
- return Ot({
756
+ return Ft({
757
757
  autoSize: Kt,
758
758
  getData: Ht,
759
759
  getImage: Jt,
@@ -810,7 +810,7 @@ const Fl = ["id"], Sl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
810
810
  ], 512)) : k("", !0),
811
811
  p("div", {
812
812
  id: `legend-top-${f.value}`
813
- }, null, 8, Sl),
813
+ }, null, 8, Nl),
814
814
  e.value.userOptions.show && ce.value && (i(je) || i(we)) ? (u(), B(i(Pt), {
815
815
  ref_key: "userOptionsRef",
816
816
  ref: be,
@@ -1057,7 +1057,7 @@ const Fl = ["id"], Sl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
1057
1057
  method: "align",
1058
1058
  spacing: "auto",
1059
1059
  side: "right"
1060
- }, N(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? i(Lt)({
1060
+ }, S(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? i(Lt)({
1061
1061
  source: a.name,
1062
1062
  length: e.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize
1063
1063
  }) : a.name), 9, Jl)
@@ -1074,7 +1074,7 @@ const Fl = ["id"], Sl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
1074
1074
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
1075
1075
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldDonutName ? "bold" : "normal",
1076
1076
  fill: e.value.style.chart.layout.labels.dataLabels.color
1077
- }, N(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? i(Lt)({
1077
+ }, S(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? i(Lt)({
1078
1078
  source: a.name,
1079
1079
  length: e.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize
1080
1080
  }) : a.name), 11, Kl)) : k("", !0)
@@ -1103,7 +1103,7 @@ const Fl = ["id"], Sl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
1103
1103
  fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? t.color : e.value.style.chart.layout.labels.dataLabels.color,
1104
1104
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
1105
1105
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldPercentage ? "bold" : "normal"
1106
- }, N(i(F)({
1106
+ }, S(i(O)({
1107
1107
  v: t.proportion * 100,
1108
1108
  s: "%",
1109
1109
  r: e.value.style.chart.layout.labels.dataLabels.roundingPercentage
@@ -1130,10 +1130,10 @@ const Fl = ["id"], Sl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
1130
1130
  fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? t.color : e.value.style.chart.layout.labels.dataLabels.color,
1131
1131
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
1132
1132
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldValue ? "bold" : "normal"
1133
- }, " (" + N(i(le)(
1133
+ }, " (" + S(i(le)(
1134
1134
  e.value.style.chart.layout.labels.dataLabels.formatter,
1135
1135
  t.value,
1136
- i(F)({
1136
+ i(O)({
1137
1137
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
1138
1138
  v: t.value,
1139
1139
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -1163,10 +1163,10 @@ const Fl = ["id"], Sl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
1163
1163
  fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? t.color : e.value.style.chart.layout.labels.dataLabels.color,
1164
1164
  "font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
1165
1165
  "font-weight": e.value.style.chart.layout.labels.dataLabels.boldValue ? "bold" : "normal"
1166
- }, N(i(le)(
1166
+ }, S(i(le)(
1167
1167
  e.value.style.chart.layout.labels.dataLabels.formatter,
1168
1168
  t.value,
1169
- i(F)({
1169
+ i(O)({
1170
1170
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
1171
1171
  v: t.value,
1172
1172
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -1197,7 +1197,7 @@ const Fl = ["id"], Sl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
1197
1197
  l.$slots.watermark ? (u(), r("div", aa, [
1198
1198
  x(l.$slots, "watermark", H(J({ isPrinting: i(at) || i(ot) })), void 0, !0)
1199
1199
  ])) : k("", !0),
1200
- Ve(i(Ft), {
1200
+ Ve(i(Ot), {
1201
1201
  show: $.value.showTooltip && he.value,
1202
1202
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
1203
1203
  color: e.value.style.chart.tooltip.color,
@@ -1213,7 +1213,9 @@ const Fl = ["id"], Sl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
1213
1213
  isFullscreen: G.value,
1214
1214
  isCustom: i(_t)(e.value.style.chart.tooltip.customFormat),
1215
1215
  smooth: e.value.style.chart.tooltip.smooth,
1216
- backdropFilter: e.value.style.chart.tooltip.backdropFilter
1216
+ backdropFilter: e.value.style.chart.tooltip.backdropFilter,
1217
+ smoothForce: e.value.style.chart.tooltip.smoothForce,
1218
+ smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
1217
1219
  }, {
1218
1220
  "tooltip-before": C(() => [
1219
1221
  x(l.$slots, "tooltip-before", H(J({ ...Ce.value })), void 0, !0)
@@ -1222,7 +1224,7 @@ const Fl = ["id"], Sl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
1222
1224
  x(l.$slots, "tooltip-after", H(J({ ...Ce.value })), void 0, !0)
1223
1225
  ]),
1224
1226
  _: 3
1225
- }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
1227
+ }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
1226
1228
  p("div", {
1227
1229
  id: `legend-bottom-${f.value}`
1228
1230
  }, null, 8, oa),
@@ -1236,30 +1238,30 @@ const Fl = ["id"], Sl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
1236
1238
  ref: ye,
1237
1239
  class: M({ "vue-ui-nested-donuts-legend": _e.value.length > 1 })
1238
1240
  }, [
1239
- (u(!0), r(A, null, T(_e.value, (a, o) => (u(), B(Ol, {
1241
+ (u(!0), r(A, null, T(_e.value, (a, o) => (u(), B(Fl, {
1240
1242
  key: `legend_${o}_${He.value}`,
1241
1243
  legendSet: a,
1242
1244
  config: qt.value,
1243
1245
  onClickMarker: s[0] || (s[0] = ({ legend: t }) => $e(t))
1244
1246
  }, {
1245
1247
  legendTitle: C(({ titleSet: t }) => [
1246
- t[0] && t[0].arcOf ? (u(), r("div", sa, N(t[0].arcOf), 1)) : k("", !0)
1248
+ t[0] && t[0].arcOf ? (u(), r("div", sa, S(t[0].arcOf), 1)) : k("", !0)
1247
1249
  ]),
1248
1250
  item: C(({ legend: t, index: n }) => [
1249
1251
  p("div", {
1250
1252
  onClick: (v) => $e(t),
1251
1253
  style: ve(`opacity:${L.value.includes(t.id) ? 0.5 : 1}`)
1252
- }, N(t.name) + N(e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ":" : "") + " " + N(e.value.style.chart.legend.showValue ? i(le)(
1254
+ }, S(t.name) + S(e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ":" : "") + " " + S(e.value.style.chart.legend.showValue ? i(le)(
1253
1255
  e.value.style.chart.layout.labels.dataLabels.formatter,
1254
1256
  t.value,
1255
- i(F)({
1257
+ i(O)({
1256
1258
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
1257
1259
  v: t.value,
1258
1260
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
1259
1261
  r: e.value.style.chart.legend.roundingValue
1260
1262
  }),
1261
1263
  { datapoint: t, seriesIndex: n }
1262
- ) : "") + " " + N(e.value.style.chart.legend.showPercentage ? L.value.includes(t.id) ? `${e.value.style.chart.legend.showValue ? "(" : ""}- %${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? "(" : ""}${isNaN(t.value / t.total) ? "-" : i(F)({
1264
+ ) : "") + " " + S(e.value.style.chart.legend.showPercentage ? L.value.includes(t.id) ? `${e.value.style.chart.legend.showValue ? "(" : ""}- %${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? "(" : ""}${isNaN(t.value / t.total) ? "-" : i(O)({
1263
1265
  v: t.value / t.total * 100,
1264
1266
  s: "%",
1265
1267
  r: e.value.style.chart.legend.roundingPercentage
@@ -1307,7 +1309,7 @@ const Fl = ["id"], Sl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
1307
1309
  }, null, 8, na)
1308
1310
  ]),
1309
1311
  td: C(({ td: a }) => [
1310
- $t(N(a.name || a), 1)
1312
+ $t(S(a.name || a), 1)
1311
1313
  ]),
1312
1314
  _: 1
1313
1315
  }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
@@ -1317,7 +1319,7 @@ const Fl = ["id"], Sl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
1317
1319
  e.value.table.useDialog ? {
1318
1320
  name: "title",
1319
1321
  fn: C(() => [
1320
- $t(N(ee.value.title), 1)
1322
+ $t(S(ee.value.title), 1)
1321
1323
  ]),
1322
1324
  key: "0"
1323
1325
  } : void 0,
@@ -1329,7 +1331,7 @@ const Fl = ["id"], Sl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
1329
1331
  class: "vue-ui-user-options-button",
1330
1332
  onClick: s[1] || (s[1] = (a) => xe(e.value.userOptions.callbacks.csv))
1331
1333
  }, [
1332
- Ve(i(St), {
1334
+ Ve(i(Nt), {
1333
1335
  name: "excel",
1334
1336
  stroke: ee.value.props.color
1335
1337
  }, null, 8, ["stroke"])
@@ -1339,9 +1341,9 @@ const Fl = ["id"], Sl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
1339
1341
  } : void 0
1340
1342
  ]), 1040)) : k("", !0),
1341
1343
  i(ge) ? (u(), B(Cl, { key: 9 })) : k("", !0)
1342
- ], 46, Fl));
1344
+ ], 46, Ol));
1343
1345
  }
1344
- }, ka = /* @__PURE__ */ Nl(ra, [["__scopeId", "data-v-43ccbed4"]]);
1346
+ }, ka = /* @__PURE__ */ Sl(ra, [["__scopeId", "data-v-82796b42"]]);
1345
1347
  export {
1346
1348
  ka as default
1347
1349
  };