vue-data-ui 3.1.4 → 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-COJRk3pc.js → Arrow-BFbcF5Sq.js} +1 -1
  2. package/dist/{BaseDraggableDialog-BdAp3qr9.js → BaseDraggableDialog-BO4B1Kwa.js} +2 -2
  3. package/dist/{BaseIcon-B5nQNkmd.js → BaseIcon-BQQGRQ2U.js} +1 -1
  4. package/dist/{ColorPicker-CPqHwp1V.js → ColorPicker-d1kmGapq.js} +2 -2
  5. package/dist/{DataTable-CzO3oHys.js → DataTable-D6voeZvO.js} +2 -2
  6. package/dist/{Legend-BQqnf4BN.js → Legend-nPGcCxG_.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-D_g27Foy.js → NonSvgPenAndPaper-xRGRe41H.js} +3 -3
  8. package/dist/{PackageVersion-7CxQB-mx.js → PackageVersion-BeStrsPr.js} +1 -1
  9. package/dist/{PenAndPaper-C8hICPzL.js → PenAndPaper-C6tiapdo.js} +3 -3
  10. package/dist/{Shape-BEVQVI0z.js → Shape-DBVq0fdK.js} +1 -1
  11. package/dist/Slicer-Duqm7KZK.js +597 -0
  12. package/dist/{SparkTooltip-BSgzljwP.js → SparkTooltip-wNGmXZSx.js} +1 -1
  13. package/dist/{Title-nHtPyPd9.js → Title-ydtId0LC.js} +1 -1
  14. package/dist/Tooltip-oeu9knGI.js +200 -0
  15. package/dist/{UserOptions-D3pVnvAB.js → UserOptions-CnJxN2Vo.js} +2 -2
  16. package/dist/{dom-to-png-CcijTM69.js → dom-to-png-CMCYtLrX.js} +1 -1
  17. package/dist/{img-Bl0o2UAr.js → img-Neec0VVb.js} +1 -1
  18. package/dist/{index-INqbM37s.js → index-BkfuZCRT.js} +6 -2
  19. package/dist/{pdf-BeeAdG2m.js → pdf-CpQ-dqJh.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +4 -0
  22. package/dist/types/vue-data-ui.d.ts +4 -0
  23. package/dist/{useAutoSizeLabelsInsideViewbox-DXkvjSDn.js → useAutoSizeLabelsInsideViewbox-DR2HExYc.js} +1 -1
  24. package/dist/{useNestedProp-BKprMEaB.js → useNestedProp-BMzw9VUz.js} +1 -1
  25. package/dist/{usePrinter-9WO5mDzj.js → usePrinter-CEdg3j8S.js} +2 -2
  26. package/dist/{vue-data-ui-IMHc9Ta4.js → vue-data-ui-D5B7a84o.js} +64 -64
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-D-1TVi2s.js → vue-ui-3d-bar-C8_Qu1rf.js} +6 -6
  29. package/dist/{vue-ui-accordion-CQZjxT5U.js → vue-ui-accordion-DFxAHGEZ.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-B31NbBxS.js → vue-ui-age-pyramid-D_kTImtX.js} +43 -41
  31. package/dist/{vue-ui-annotator-BmFYtzWW.js → vue-ui-annotator-B1vSlzfu.js} +2 -2
  32. package/dist/{vue-ui-bullet-BvMlcux3.js → vue-ui-bullet-VPchh2r2.js} +7 -7
  33. package/dist/{vue-ui-candlestick-CCrNcgjy.js → vue-ui-candlestick-CB3bj7_-.js} +42 -40
  34. package/dist/{vue-ui-carousel-table-DrGj7_CL.js → vue-ui-carousel-table-CUiSyrTY.js} +4 -4
  35. package/dist/{vue-ui-chestnut-Dz0E-AxZ.js → vue-ui-chestnut-BE5ZEt1N.js} +5 -5
  36. package/dist/{vue-ui-chord-BxOzgPka.js → vue-ui-chord-DVSBY9ou.js} +8 -8
  37. package/dist/{vue-ui-circle-pack-CaWwzEF0.js → vue-ui-circle-pack-BfDjZFaF.js} +6 -6
  38. package/dist/{vue-ui-cursor-CG-oJITu.js → vue-ui-cursor-BIuc6nds.js} +2 -2
  39. package/dist/{vue-ui-dashboard-BFLQYXuo.js → vue-ui-dashboard-C7xIcrvD.js} +67 -67
  40. package/dist/{vue-ui-digits-BlZsS_qz.js → vue-ui-digits-C3mI-0Fg.js} +2 -2
  41. package/dist/{vue-ui-donut-COXIRkz4.js → vue-ui-donut-BApz1ho5.js} +52 -50
  42. package/dist/{vue-ui-donut-evolution-DSGLD4z5.js → vue-ui-donut-evolution-B2PJiYY9.js} +8 -8
  43. package/dist/{vue-ui-dumbbell-DgUPMy2W.js → vue-ui-dumbbell-DQjVvBH_.js} +7 -7
  44. package/dist/{vue-ui-flow-E8_jp5Qc.js → vue-ui-flow-COtJRNLE.js} +40 -38
  45. package/dist/{vue-ui-funnel-NMcBpYTQ.js → vue-ui-funnel-BY2qeg-m.js} +6 -6
  46. package/dist/{vue-ui-galaxy-Cay4NZ6o.js → vue-ui-galaxy-3zec_QLi.js} +58 -56
  47. package/dist/{vue-ui-gauge-DWOH8_Z2.js → vue-ui-gauge-CFUA5ORH.js} +7 -7
  48. package/dist/{vue-ui-gizmo-DtZu2tcU.js → vue-ui-gizmo-CUPFU8GE.js} +3 -3
  49. package/dist/{vue-ui-heatmap-Dk5515tQ.js → vue-ui-heatmap-DakytdCv.js} +68 -66
  50. package/dist/{vue-ui-history-plot-X_jPheWu.js → vue-ui-history-plot-DnSB7au4.js} +85 -83
  51. package/dist/{vue-ui-kpi-DwNsapLR.js → vue-ui-kpi-UmcKQftv.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-uyATuTz5.js → vue-ui-mini-loader-Bl8GHasa.js} +2 -2
  53. package/dist/{vue-ui-molecule-BOeCt8b2.js → vue-ui-molecule-BZrmSVps.js} +63 -61
  54. package/dist/{vue-ui-mood-radar-BeHjc5Ty.js → vue-ui-mood-radar-CVM8vl5N.js} +7 -7
  55. package/dist/{vue-ui-nested-donuts-CPoaD2py.js → vue-ui-nested-donuts-LTzijeVK.js} +70 -68
  56. package/dist/{vue-ui-onion-C8H8i77u.js → vue-ui-onion-aHCc3r7L.js} +38 -36
  57. package/dist/{vue-ui-parallel-coordinate-plot-Cblzs6mf.js → vue-ui-parallel-coordinate-plot-0xXe6A-6.js} +54 -52
  58. package/dist/{vue-ui-quadrant-BLYsMAey.js → vue-ui-quadrant-BlM9WNN7.js} +203 -201
  59. package/dist/{vue-ui-quick-chart-D-7cooqG.js → vue-ui-quick-chart-CJ2Wdln9.js} +63 -61
  60. package/dist/{vue-ui-radar-BBR8cYGx.js → vue-ui-radar-Cgnooz7-.js} +121 -119
  61. package/dist/{vue-ui-rating-Ccn8aUMA.js → vue-ui-rating-DF71ymNG.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-SKeIJXHs.js → vue-ui-relation-circle-DsuEL1gY.js} +7 -7
  63. package/dist/{vue-ui-ridgeline-CuHSBPB8.js → vue-ui-ridgeline-DxP8uxgx.js} +8 -8
  64. package/dist/{vue-ui-rings-SusI7pff.js → vue-ui-rings-C4hKgrft.js} +162 -160
  65. package/dist/{vue-ui-scatter-Do8NoLng.js → vue-ui-scatter-B_SzTSE5.js} +157 -155
  66. package/dist/{vue-ui-skeleton-FONviv9G.js → vue-ui-skeleton-DCAlHSMV.js} +3 -3
  67. package/dist/{vue-ui-smiley-Bbt8bZxB.js → vue-ui-smiley-B_JFtrl6.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-DB7RPBwQ.js → vue-ui-spark-trend-CC7q1UbE.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-B8inUR_m.js → vue-ui-sparkbar-C2YRX4mJ.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-B4_YoY5M.js → vue-ui-sparkgauge-BO4c3j-8.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-DXSLenC7.js → vue-ui-sparkhistogram-BuGOHT9h.js} +4 -4
  72. package/dist/{vue-ui-sparkline-BQ6Voxky.js → vue-ui-sparkline-hOyPCIt8.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-BgFJQKhq.js → vue-ui-sparkstackbar-DhSc-U8u.js} +36 -34
  74. package/dist/{vue-ui-stackbar-CBB-kH1C.js → vue-ui-stackbar-VdBWv1wm.js} +14 -12
  75. package/dist/{vue-ui-strip-plot-3gWivNhR.js → vue-ui-strip-plot-CBj5ntWM.js} +58 -56
  76. package/dist/{vue-ui-table-NJNp95Us.js → vue-ui-table-BItmKbvF.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-CRzHSurU.js → vue-ui-table-heatmap-DziHVKba.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-DxGr1WNr.js → vue-ui-table-sparkline-CpWDqm7q.js} +4 -4
  79. package/dist/{vue-ui-thermometer-B6NudPzq.js → vue-ui-thermometer-CWt0q_Tu.js} +7 -7
  80. package/dist/{vue-ui-timer-DO3oJlhi.js → vue-ui-timer-BIv2sfQA.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-Dv39xDlL.js → vue-ui-tiremarks-BE_VWjK-.js} +6 -6
  82. package/dist/{vue-ui-treemap-D9jbccaW.js → vue-ui-treemap-2AIbDpTo.js} +41 -39
  83. package/dist/{vue-ui-vertical-bar-CxJNWczK.js → vue-ui-vertical-bar-CP-XFVV5.js} +53 -51
  84. package/dist/{vue-ui-waffle-BMjk9LhH.js → vue-ui-waffle-CewP8k-W.js} +67 -65
  85. package/dist/{vue-ui-wheel-CMACWJLJ.js → vue-ui-wheel-Ik8FoLfz.js} +6 -6
  86. package/dist/{vue-ui-word-cloud-BbwSabN0.js → vue-ui-word-cloud-CEEc5ep_.js} +83 -80
  87. package/dist/{vue-ui-world-DCp2i-uy.js → vue-ui-world-CuwXMI3D.js} +11 -9
  88. package/dist/{vue-ui-xy-CRQHfrGQ.js → vue-ui-xy-Bsh2OBHp.js} +1326 -1329
  89. package/dist/{vue-ui-xy-canvas-D-iziyn0.js → vue-ui-xy-canvas-CKzjhhNg.js} +46 -44
  90. package/package.json +1 -1
  91. package/dist/Slicer-Cmc94zkG.js +0 -604
  92. package/dist/Tooltip-RCWHeRDV.js +0 -161
@@ -1,15 +1,15 @@
1
1
  import { defineAsyncComponent as te, useSlots as Wt, onMounted as yt, computed as b, ref as m, shallowRef as U, toRefs as Gt, watch as ke, onBeforeUnmount as Xt, createElementBlock as y, openBlock as d, unref as c, normalizeStyle as M, normalizeClass as Le, createBlock as Z, createCommentVNode as _, createElementVNode as O, createVNode as we, createSlots as bt, withCtx as T, renderSlot as C, normalizeProps as le, guardReactiveProps as oe, Fragment as Ce, renderList as Me, withKeys as kt, withModifiers as Be, mergeProps as Ve, createTextVNode as $e, toDisplayString as H, Teleport as qt, resolveDynamicComponent as Yt, nextTick as jt } from "vue";
2
- import { u as Zt, c as Te, t as Kt, a as Jt, p as I, b as Qt, d as el, o as wt, f as tl, e as de, k as xe, i as he, X as ll, l as Ct, F as $t, y as Tt, v as ol, w as al, z as nl } from "./index-INqbM37s.js";
2
+ import { u as Zt, c as Te, t as Kt, a as Jt, p as F, b as Qt, d as el, o as wt, f as tl, e as de, k as xe, i as he, X as ll, l as Ct, F as $t, y as Tt, v as ol, w as al, z as nl } from "./index-BkfuZCRT.js";
3
3
  import { t as sl, u as ul } from "./useResponsive-DfdjqQps.js";
4
4
  import { u as rl, B as il } from "./BaseScanner-BgWxam9d.js";
5
- import { u as cl } from "./usePrinter-9WO5mDzj.js";
6
- import { u as xt } from "./useNestedProp-BKprMEaB.js";
5
+ import { u as cl } from "./usePrinter-CEdg3j8S.js";
6
+ import { u as xt } from "./useNestedProp-BMzw9VUz.js";
7
7
  import { u as vl } from "./useUserOptionState-BIvW1Kz7.js";
8
8
  import { u as dl } from "./useChartAccessibility-9icAAmYg.js";
9
- import hl from "./img-Bl0o2UAr.js";
10
- import pl from "./Title-nHtPyPd9.js";
11
- import fl from "./Legend-BQqnf4BN.js";
12
- import _t from "./BaseIcon-B5nQNkmd.js";
9
+ import hl from "./img-Neec0VVb.js";
10
+ import pl from "./Title-ydtId0LC.js";
11
+ import fl from "./Legend-nPGcCxG_.js";
12
+ import _t from "./BaseIcon-BQQGRQ2U.js";
13
13
  import { _ as gl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
14
  function Ot(n, r) {
15
15
  const s = n.length;
@@ -61,34 +61,34 @@ function bl(n, r) {
61
61
  ...r,
62
62
  children: n
63
63
  };
64
- return It(s);
64
+ return Ft(s);
65
65
  }
66
66
  function kl(n) {
67
67
  return (n.x1 - n.x0) * (n.y1 - n.y0);
68
68
  }
69
69
  function St(n, r) {
70
- const { width: s, height: i, xOffset: u, yOffset: h } = Ee(r), v = n.length, g = n.map((w) => w.normalizedValue || 0).reduce((w, F) => w + F, 0), f = g / i, W = g / s;
70
+ const { width: s, height: i, xOffset: u, yOffset: h } = Ee(r), v = n.length, g = n.map((w) => w.normalizedValue || 0).reduce((w, I) => w + I, 0), f = g / i, W = g / s;
71
71
  let P = u, k = h;
72
72
  const $ = [];
73
73
  if (s >= i) {
74
74
  for (let w = 0; w < v; w += 1) {
75
- const F = n[w], B = k + F.normalizedValue / f, A = {
75
+ const I = n[w], B = k + I.normalizedValue / f, A = {
76
76
  x0: P,
77
77
  y0: k,
78
78
  x1: P + f,
79
79
  y1: B
80
- }, N = Object.assign({}, F, A);
80
+ }, N = Object.assign({}, I, A);
81
81
  k = B, $.push(N);
82
82
  }
83
83
  return $;
84
84
  } else {
85
85
  for (let w = 0; w < v; w += 1) {
86
- const F = n[w], B = P + F.normalizedValue / W, A = {
86
+ const I = n[w], B = P + I.normalizedValue / W, A = {
87
87
  x0: P,
88
88
  y0: k,
89
89
  x1: B,
90
90
  y1: k + W
91
- }, N = Object.assign({}, F, A);
91
+ }, N = Object.assign({}, I, A);
92
92
  P = B, $.push(N);
93
93
  }
94
94
  return $;
@@ -133,12 +133,12 @@ function $l(n, r, s, i) {
133
133
  let w = 0;
134
134
  for (let N = 0; N < $; N += 1)
135
135
  w += h[N].normalizedValue;
136
- const F = Tl(v, w), B = St(h, v), A = g.concat(B);
137
- u = u, h = [], v = F, g = A;
136
+ const I = Tl(v, w), B = St(h, v), A = g.concat(B);
137
+ u = u, h = [], v = I, g = A;
138
138
  }
139
139
  }
140
140
  }
141
- function It(n) {
141
+ function Ft(n) {
142
142
  if (typeof n.children > "u" || !n.children.length)
143
143
  return [n];
144
144
  {
@@ -147,7 +147,7 @@ function It(n) {
147
147
  kl(n)
148
148
  ), s = $l(r, [], n, []), i = s.length, u = [];
149
149
  for (let v = 0; v < i; v += 1)
150
- u.push(It(s[v]));
150
+ u.push(Ft(s[v]));
151
151
  return yl(u);
152
152
  }
153
153
  }
@@ -171,10 +171,10 @@ function Tl(n, r) {
171
171
  return At(f);
172
172
  }
173
173
  }
174
- const xl = ["id"], _l = ["id"], Ol = ["tabindex", "onClick", "onKeydown", "data-last-crumb", "onMouseenter", "onFocus"], Al = { class: "vue-ui-treemap-crumb-unit" }, Sl = { class: "vue-ui-treemap-crumb-unit-label" }, Il = {
174
+ const xl = ["id"], _l = ["id"], Ol = ["tabindex", "onClick", "onKeydown", "data-last-crumb", "onMouseenter", "onFocus"], Al = { class: "vue-ui-treemap-crumb-unit" }, Sl = { class: "vue-ui-treemap-crumb-unit-label" }, Fl = {
175
175
  key: 0,
176
176
  style: { width: "24px", display: "flex", "align-items": "center" }
177
- }, Fl = {
177
+ }, Il = {
178
178
  key: 0,
179
179
  class: "vue-ui-treemap-crumb-unit-arrow"
180
180
  }, Dl = ["xmlns", "viewBox"], Nl = { key: 0 }, Rl = ["id"], Pl = ["stop-color"], zl = ["stop-color"], Ll = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick", "onMouseenter", "onMouseleave"], Ml = ["x", "y", "height", "width"], Bl = {
@@ -201,11 +201,11 @@ const xl = ["id"], _l = ["id"], Ol = ["tabindex", "onClick", "onKeydown", "data-
201
201
  },
202
202
  emits: ["selectLegend", "selectDatapoint"],
203
203
  setup(n, { expose: r, emit: s }) {
204
- const i = te(() => import("./DataTable-CzO3oHys.js")), u = te(() => import("./PenAndPaper-C8hICPzL.js")), h = te(() => import("./vue-ui-accordion-CQZjxT5U.js")), v = te(() => import("./Tooltip-RCWHeRDV.js")), g = te(() => import("./UserOptions-D3pVnvAB.js")), f = te(() => import("./PackageVersion-7CxQB-mx.js")), W = te(() => import("./BaseDraggableDialog-BdAp3qr9.js")), { vue_ui_treemap: P } = Zt(), k = n, $ = s, w = Wt();
204
+ const i = te(() => import("./DataTable-D6voeZvO.js")), u = te(() => import("./PenAndPaper-C6tiapdo.js")), h = te(() => import("./vue-ui-accordion-DFxAHGEZ.js")), v = te(() => import("./Tooltip-oeu9knGI.js")), g = te(() => import("./UserOptions-CnJxN2Vo.js")), f = te(() => import("./PackageVersion-BeStrsPr.js")), W = te(() => import("./BaseDraggableDialog-BO4B1Kwa.js")), { vue_ui_treemap: P } = Zt(), k = n, $ = s, w = Wt();
205
205
  yt(() => {
206
206
  w["chart-background"] && console.warn("VueUiTreemap does not support the #chart-background slot.");
207
207
  });
208
- const F = b(() => !!k.dataset && k.dataset.length), B = b(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), A = m(Te()), N = m(!1), _e = m(""), K = m(!1), Ue = m(0), z = m([]), V = U(null), He = U(null), We = U(null), Ge = U(null), Xe = U(null), qe = m(0), Oe = m(0), Ae = m(0), x = m([]), Se = m(null), Ye = m(!1), ue = m(null), Ie = m(null), e = m(Ne()), { loading: re, FINAL_DATASET: Fe, manualLoading: Ft } = rl({
208
+ const I = b(() => !!k.dataset && k.dataset.length), B = b(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), A = m(Te()), N = m(!1), _e = m(""), K = m(!1), Ue = m(0), z = m([]), V = U(null), He = U(null), We = U(null), Ge = U(null), Xe = U(null), qe = m(0), Oe = m(0), Ae = m(0), x = m([]), Se = m(null), Ye = m(!1), ue = m(null), Fe = m(null), e = m(Ne()), { loading: re, FINAL_DATASET: Ie, manualLoading: It } = rl({
209
209
  ...Gt(k),
210
210
  FINAL_CONFIG: e,
211
211
  prepareConfig: Ne,
@@ -258,7 +258,7 @@ const xl = ["id"], _l = ["id"], Ol = ["tabindex", "onClick", "onKeydown", "data-
258
258
  userConfig: Qt.vue_ui_treemap[t.theme] || k.config,
259
259
  defaultConfig: t
260
260
  }),
261
- customPalette: Jt[t.theme] || I
261
+ customPalette: Jt[t.theme] || F
262
262
  } : t;
263
263
  }
264
264
  ke(() => k.config, (t) => {
@@ -290,11 +290,11 @@ const xl = ["id"], _l = ["id"], Ol = ["tabindex", "onClick", "onKeydown", "data-
290
290
  vbHeight: G.value.height,
291
291
  vbWidth: G.value.width,
292
292
  width: G.value.width - e.value.style.chart.padding.left - e.value.style.chart.padding.right
293
- })), R = m(Fe.value), X = m(R.value), lt = U(/* @__PURE__ */ new Map());
293
+ })), R = m(Ie.value), X = m(R.value), lt = U(/* @__PURE__ */ new Map());
294
294
  function ot(t) {
295
295
  Array.isArray(t) && t.forEach((o, l) => {
296
296
  o.id || (o.id = Te());
297
- let a = de(o.color) || lt.value.get(o.id) || pe.value[l] || I[l] || I[l % I.length];
297
+ let a = de(o.color) || lt.value.get(o.id) || pe.value[l] || F[l] || F[l % F.length];
298
298
  a = de(a), lt.value.set(o.id, a), o.color = a, at(o, a);
299
299
  });
300
300
  }
@@ -312,9 +312,9 @@ const xl = ["id"], _l = ["id"], Ol = ["tabindex", "onClick", "onKeydown", "data-
312
312
  }
313
313
  }
314
314
  ke(
315
- () => Fe.value,
315
+ () => Ie.value,
316
316
  () => {
317
- R.value = Fe.value, ot(R.value), Nt(), Ae.value += 1, Oe.value += 1;
317
+ R.value = Ie.value, ot(R.value), Nt(), Ae.value += 1, Oe.value += 1;
318
318
  },
319
319
  { deep: !0, immediate: !0, flush: "post" }
320
320
  );
@@ -328,7 +328,7 @@ const xl = ["id"], _l = ["id"], Ol = ["tabindex", "onClick", "onKeydown", "data-
328
328
  componentName: "VueUiTreemap",
329
329
  type: "dataset",
330
330
  debug: Rt.value
331
- }), ot(R.value), wt(k.dataset) || (Ft.value = e.value.loading), e.value.responsive) {
331
+ }), ot(R.value), wt(k.dataset) || (It.value = e.value.loading), e.value.responsive) {
332
332
  const t = sl(() => {
333
333
  const { width: o, height: l } = ul({
334
334
  chart: V.value,
@@ -349,7 +349,7 @@ const xl = ["id"], _l = ["id"], Ol = ["tabindex", "onClick", "onKeydown", "data-
349
349
  });
350
350
  const ie = b(() => X.value.map((t, o) => ({
351
351
  ...t,
352
- color: de(t.color) || pe.value[o] || I[o] || I[o % I.length]
352
+ color: de(t.color) || pe.value[o] || F[o] || F[o % F.length]
353
353
  })).filter((t) => !z.value.includes(t.id))), ne = b(() => R.value.filter((t) => !z.value.includes(t.id)).map((t) => t.value || 0).reduce((t, o) => t + o, 0)), nt = b({
354
354
  get() {
355
355
  let t = [...ie.value];
@@ -370,7 +370,7 @@ const xl = ["id"], _l = ["id"], Ol = ["tabindex", "onClick", "onKeydown", "data-
370
370
  }
371
371
  function ut(t, o, l, a) {
372
372
  return t.map((p, S) => {
373
- const be = zt(de(o) || pe.value[S] || I[S] || I[S % I.length], p, a), Ht = st(p, a);
373
+ const be = zt(de(o) || pe.value[S] || F[S] || F[S % F.length], p, a), Ht = st(p, a);
374
374
  return {
375
375
  ...p,
376
376
  color: be,
@@ -473,7 +473,7 @@ const xl = ["id"], _l = ["id"], Ol = ["tabindex", "onClick", "onKeydown", "data-
473
473
  return t;
474
474
  }), L = U(null), vt = b(() => R.value.map((t, o) => ({
475
475
  ...t,
476
- color: de(t.color) || pe.value[o] || I[o] || I[o % I.length],
476
+ color: de(t.color) || pe.value[o] || F[o] || F[o % F.length],
477
477
  shape: "square"
478
478
  })).sort((t, o) => o.value - t.value).map((t, o) => ({
479
479
  ...t,
@@ -658,7 +658,7 @@ const xl = ["id"], _l = ["id"], Ol = ["tabindex", "onClick", "onKeydown", "data-
658
658
  e.value.table.show || (t && e.value.table.useDialog && ue.value ? ue.value.open() : "close" in ue.value && ue.value.close());
659
659
  });
660
660
  function mt() {
661
- D.value.showTable = !1, Ie.value && Ie.value.setTableIconState(!1);
661
+ D.value.showTable = !1, Fe.value && Fe.value.setTableIconState(!1);
662
662
  }
663
663
  return r({
664
664
  getData: Et,
@@ -717,9 +717,9 @@ const xl = ["id"], _l = ["id"], Ol = ["tabindex", "onClick", "onKeydown", "data-
717
717
  O("div", {
718
718
  id: `legend-top-${A.value}`
719
719
  }, null, 8, _l),
720
- e.value.userOptions.show && F.value && (c(Ze) || c(De)) ? (d(), Z(c(g), {
720
+ e.value.userOptions.show && I.value && (c(Ze) || c(De)) ? (d(), Z(c(g), {
721
721
  ref_key: "userOptionsRef",
722
- ref: Ie,
722
+ ref: Fe,
723
723
  key: `user_option_${Ue.value}`,
724
724
  backgroundColor: e.value.style.chart.backgroundColor,
725
725
  color: e.value.style.chart.color,
@@ -840,7 +840,7 @@ const xl = ["id"], _l = ["id"], Ol = ["tabindex", "onClick", "onKeydown", "data-
840
840
  O("span", Al, [
841
841
  O("span", Sl, [
842
842
  C(t.$slots, "breadcrumb-label", Ve({ ref_for: !0 }, { crumb: l, isRoot: a === 0, isFocus: ye.value === a }), () => [
843
- a === 0 ? (d(), y("div", Il, [
843
+ a === 0 ? (d(), y("div", Fl, [
844
844
  we(_t, {
845
845
  name: ye.value === 0 ? "homeFilled" : "home",
846
846
  stroke: e.value.style.chart.color
@@ -850,7 +850,7 @@ const xl = ["id"], _l = ["id"], Ol = ["tabindex", "onClick", "onKeydown", "data-
850
850
  ], 64))
851
851
  ], !0)
852
852
  ]),
853
- a < j.value.length - 1 ? (d(), y("span", Fl, [
853
+ a < j.value.length - 1 ? (d(), y("span", Il, [
854
854
  C(t.$slots, "breadcrumb-arrow", {}, () => [
855
855
  o[4] || (o[4] = $e(" › ", -1))
856
856
  ], !0)
@@ -1025,7 +1025,9 @@ const xl = ["id"], _l = ["id"], Ol = ["tabindex", "onClick", "onKeydown", "data-
1025
1025
  isFullscreen: K.value,
1026
1026
  isCustom: c(Tt)(e.value.style.chart.tooltip.customFormat),
1027
1027
  smooth: e.value.style.chart.tooltip.smooth,
1028
- backdropFilter: e.value.style.chart.tooltip.backdropFilter
1028
+ backdropFilter: e.value.style.chart.tooltip.backdropFilter,
1029
+ smoothForce: e.value.style.chart.tooltip.smoothForce,
1030
+ smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
1029
1031
  }, {
1030
1032
  "tooltip-before": T(() => [
1031
1033
  C(t.$slots, "tooltip-before", le(oe({ ...Re.value })), void 0, !0)
@@ -1034,8 +1036,8 @@ const xl = ["id"], _l = ["id"], Ol = ["tabindex", "onClick", "onKeydown", "data-
1034
1036
  C(t.$slots, "tooltip-after", le(oe({ ...Re.value })), void 0, !0)
1035
1037
  ]),
1036
1038
  _: 3
1037
- }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
1038
- F.value ? (d(), Z(Yt(ve.value.component), Ve({ key: 8 }, ve.value.props, {
1039
+ }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
1040
+ I.value ? (d(), Z(Yt(ve.value.component), Ve({ key: 8 }, ve.value.props, {
1039
1041
  ref_key: "tableUnit",
1040
1042
  ref: ue,
1041
1043
  onClose: mt
@@ -1092,7 +1094,7 @@ const xl = ["id"], _l = ["id"], Ol = ["tabindex", "onClick", "onKeydown", "data-
1092
1094
  c(re) ? (d(), Z(il, { key: 9 })) : _("", !0)
1093
1095
  ], 46, xl));
1094
1096
  }
1095
- }, ao = /* @__PURE__ */ gl(Wl, [["__scopeId", "data-v-d46b680a"]]);
1097
+ }, ao = /* @__PURE__ */ gl(Wl, [["__scopeId", "data-v-42396722"]]);
1096
1098
  export {
1097
1099
  ao as default
1098
1100
  };
@@ -1,19 +1,19 @@
1
1
  import { useCssVars as Ut, defineAsyncComponent as K, useSlots as Xt, computed as y, ref as i, toRefs as Wt, watch as Ae, shallowRef as vt, onMounted as ze, nextTick as de, onBeforeUnmount as Gt, createElementBlock as v, openBlock as u, unref as s, normalizeStyle as d, normalizeClass as U, createBlock as X, createCommentVNode as f, renderSlot as _, createVNode as J, createSlots as he, withCtx as m, normalizeProps as Q, guardReactiveProps as Z, createElementVNode as n, toDisplayString as h, Fragment as ee, renderList as te, mergeProps as ct, resolveDynamicComponent as Ht, withKeys as jt, createTextVNode as dt } from "vue";
2
- import { u as qt, c as Yt, t as Kt, a as Jt, p as W, b as Qt, C as Ve, d as Zt, h as L, o as Ie, f as ue, e as Oe, k as pe, i as G, X as ea, s as Fe, x as ta, v as aa, w as la, y as oa, z as na } from "./index-INqbM37s.js";
2
+ import { u as qt, c as Yt, t as Kt, a as Jt, p as W, b as Qt, C as Ve, d as Zt, h as L, o as Fe, f as ue, e as Ie, k as pe, i as G, X as ea, s as Oe, x as ta, v as aa, w as la, y as oa, z as na } from "./index-BkfuZCRT.js";
3
3
  import { t as ua, u as sa } from "./useResponsive-DfdjqQps.js";
4
4
  import { u as ra, B as ia } from "./BaseScanner-BgWxam9d.js";
5
- import { u as va } from "./usePrinter-9WO5mDzj.js";
6
- import { u as ht } from "./useNestedProp-BKprMEaB.js";
5
+ import { u as va } from "./usePrinter-CEdg3j8S.js";
6
+ import { u as ht } from "./useNestedProp-BMzw9VUz.js";
7
7
  import { u as ca } from "./useTableResponsive-Cbx-ACcP.js";
8
8
  import { u as da } from "./useUserOptionState-BIvW1Kz7.js";
9
9
  import { u as ha } from "./useChartAccessibility-9icAAmYg.js";
10
- import pt from "./Legend-BQqnf4BN.js";
11
- import pa from "./vue-ui-accordion-CQZjxT5U.js";
12
- import fa from "./Title-nHtPyPd9.js";
13
- import { _ as ft } from "./Shape-BEVQVI0z.js";
14
- import ga from "./img-Bl0o2UAr.js";
10
+ import pt from "./Legend-nPGcCxG_.js";
11
+ import pa from "./vue-ui-accordion-DFxAHGEZ.js";
12
+ import fa from "./Title-ydtId0LC.js";
13
+ import { _ as ft } from "./Shape-DBVq0fdK.js";
14
+ import ga from "./img-Neec0VVb.js";
15
15
  import { _ as ya } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
- const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "width", "height"], _a = ["id"], wa = ["stop-color"], $a = ["stop-color"], Ca = { key: 1 }, Ta = ["x", "y", "width", "height", "fill", "rx"], Sa = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], La = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Pa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Na = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Aa = { class: "vue-ui-horizontal-bar-child-label" }, za = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], Va = ["x", "y", "font-size", "fill", "font-weight"], Ia = { class: "vue-ui-horizontal-bar-parent-label" }, Oa = ["x", "y", "font-size", "fill", "font-weight"], Fa = ["x", "y", "font-size", "fill", "font-weight"], Ma = ["x", "y", "width", "height", "fill", "onMouseenter", "onMouseleave", "onClick"], Da = {
16
+ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "width", "height"], _a = ["id"], wa = ["stop-color"], $a = ["stop-color"], Ca = { key: 1 }, Ta = ["x", "y", "width", "height", "fill", "rx"], Sa = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], La = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Pa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Na = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Aa = { class: "vue-ui-horizontal-bar-child-label" }, za = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], Va = ["x", "y", "font-size", "fill", "font-weight"], Fa = { class: "vue-ui-horizontal-bar-parent-label" }, Ia = ["x", "y", "font-size", "fill", "font-weight"], Oa = ["x", "y", "font-size", "fill", "font-weight"], Ma = ["x", "y", "width", "height", "fill", "onMouseenter", "onMouseleave", "onClick"], Da = {
17
17
  key: 5,
18
18
  class: "vue-data-ui-watermark"
19
19
  }, Ba = ["onClick"], Ra = { style: "width:100%;padding-top: 36px;position:relative" }, Ea = { class: "vue-ui-data-table" }, Ua = { key: 0 }, Xa = { style: { width: "100%" } }, Wa = ["data-cell"], Ga = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ha = ["data-cell"], ja = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, qa = ["data-cell"], Ya = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ka = ["data-cell"], Ja = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Qa = ["data-cell"], Za = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, el = ["data-cell"], tl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, al = ["data-cell"], ll = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ol = {
@@ -35,9 +35,9 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
35
35
  emits: ["selectLegend"],
36
36
  setup(gt, { expose: yt, emit: bt }) {
37
37
  Ut((t) => ({
38
- f1ede08a: t.tdo
38
+ cbb69808: t.tdo
39
39
  }));
40
- const mt = K(() => import("./Tooltip-RCWHeRDV.js")), Me = K(() => import("./BaseIcon-B5nQNkmd.js")), kt = K(() => import("./PenAndPaper-C8hICPzL.js")), xt = K(() => import("./UserOptions-D3pVnvAB.js")), _t = K(() => import("./PackageVersion-7CxQB-mx.js")), wt = K(() => import("./BaseDraggableDialog-BdAp3qr9.js")), { vue_ui_vertical_bar: $t } = qt(), Ct = Xt(), b = gt, fe = y({
40
+ const mt = K(() => import("./Tooltip-oeu9knGI.js")), Me = K(() => import("./BaseIcon-BQQGRQ2U.js")), kt = K(() => import("./PenAndPaper-C6tiapdo.js")), xt = K(() => import("./UserOptions-CnJxN2Vo.js")), _t = K(() => import("./PackageVersion-BeStrsPr.js")), wt = K(() => import("./BaseDraggableDialog-BO4B1Kwa.js")), { vue_ui_vertical_bar: $t } = qt(), Ct = Xt(), b = gt, fe = y({
41
41
  get() {
42
42
  return !!b.dataset && b.dataset.length;
43
43
  },
@@ -57,7 +57,7 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
57
57
  prepareConfig: $e,
58
58
  callback: () => {
59
59
  Promise.resolve().then(async () => {
60
- q(), $.value.showTable = e.value.table.show, await O();
60
+ q(), $.value.showTable = e.value.table.show, await I();
61
61
  });
62
62
  },
63
63
  skeletonDataset: Lt.value,
@@ -131,14 +131,14 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
131
131
  elementId: `vue-ui-vertical-bar_${S.value}`,
132
132
  fileName: e.value.style.chart.title.text || "vue-ui-vertical-bar",
133
133
  options: e.value.userOptions.print
134
- }), Pt = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), Je = y(() => Zt(e.value.customPalette)), Qe = i(null), Nt = y(() => e.value.table.responsiveBreakpoint), I = vt(null), j = vt(null), se = i("0 0 10 10"), N = y(() => {
134
+ }), Pt = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), Je = y(() => Zt(e.value.customPalette)), Qe = i(null), Nt = y(() => e.value.table.responsiveBreakpoint), F = vt(null), j = vt(null), se = i("0 0 10 10"), N = y(() => {
135
135
  const [t, l, a, o] = se.value.split(" ").map(Number);
136
136
  return { x: t, y: l, width: a, height: o };
137
137
  });
138
138
  ze(async () => {
139
- await de(), et(), O();
139
+ await de(), et(), I();
140
140
  });
141
- async function O() {
141
+ async function I() {
142
142
  if (se.value = `0 0 ${C.value.width} ${r.value.fullHeight}`, !e.value.autoSize || !H.value) return;
143
143
  const t = H.value.querySelectorAll(".vue-ui-horizontal-bar-parent-label"), l = H.value.querySelectorAll(".vue-ui-horizontal-bar-child-label");
144
144
  if (t && t.length) {
@@ -172,7 +172,7 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
172
172
  const { width: a, height: o } = l.contentRect;
173
173
  if (a > 0 && o > 0) {
174
174
  Promise.resolve().then(async () => {
175
- q(), await O();
175
+ q(), await I();
176
176
  });
177
177
  break;
178
178
  }
@@ -181,11 +181,11 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
181
181
  });
182
182
  const re = y(() => !!e.value.debug), Ce = i(0);
183
183
  function et() {
184
- if (Ie(b.dataset) && (ue({
184
+ if (Fe(b.dataset) && (ue({
185
185
  componentName: "VueUiVerticalBar",
186
186
  type: "dataset",
187
187
  debug: re.value
188
- }), fe.value = !1, _e.value = !0), ae.value = xe.value.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0), Ie(b.dataset) || (_e.value = e.value.loading), e.value.responsive) {
188
+ }), fe.value = !1, _e.value = !0), ae.value = xe.value.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0), Fe(b.dataset) || (_e.value = e.value.loading), e.value.responsive) {
189
189
  const t = ua(() => {
190
190
  const { width: l, height: a } = sa({
191
191
  chart: P.value,
@@ -197,26 +197,26 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
197
197
  Ce.value = a / 3, requestAnimationFrame(async () => {
198
198
  lt.value = l;
199
199
  const o = k.value * (ae.value - 1);
200
- p.value = (a - o) / ae.value, await de(), O();
200
+ p.value = (a - o) / ae.value, await de(), I();
201
201
  });
202
202
  });
203
- I.value && (j.value && I.value.unobserve(j.value), I.value.disconnect()), I.value = new ResizeObserver(t), j.value = P.value.parentNode, I.value.observe(j.value), e.value.autoSize && O();
203
+ F.value && (j.value && F.value.unobserve(j.value), F.value.disconnect()), F.value = new ResizeObserver(t), j.value = P.value.parentNode, F.value.observe(j.value), e.value.autoSize && I();
204
204
  }
205
205
  }
206
206
  Gt(() => {
207
- I.value && (j.value && I.value.unobserve(j.value), I.value.disconnect());
207
+ F.value && (j.value && F.value.unobserve(j.value), F.value.disconnect());
208
208
  });
209
209
  const $ = i({
210
210
  showTable: e.value.table.show,
211
211
  sortDesc: e.value.style.chart.layout.bars.sort === "desc",
212
212
  showTooltip: e.value.style.chart.tooltip.show
213
- }), tt = y(() => $.value.sortDesc), F = y(() => (xe.value.forEach((t, l) => {
213
+ }), tt = y(() => $.value.sortDesc), O = y(() => (xe.value.forEach((t, l) => {
214
214
  !t.value && !t.children && ue({
215
215
  componentName: "VueUiVerticalBar",
216
216
  type: "datasetAttributeEmpty",
217
217
  property: `value (index ${l})`,
218
218
  debug: re.value
219
- }), t.children && (Ie(t.children) ? ue({
219
+ }), t.children && (Fe(t.children) ? ue({
220
220
  componentName: "VueUiVerticalBar",
221
221
  type: "datasetAttributeEmpty",
222
222
  property: `children (index ${l})`,
@@ -245,7 +245,7 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
245
245
  isChild: !1,
246
246
  segregate: () => oe(a),
247
247
  isSegregated: A.value.includes(a),
248
- color: Oe(t.color) || Je.value[l] || W[l] || W[l % W.length],
248
+ color: Ie(t.color) || Je.value[l] || W[l] || W[l % W.length],
249
249
  children: !t.children || !t.children.length ? [] : t.children.toSorted(ie.value ? () => 0 : (c, x) => tt.value ? x.value - c.value : c.value - x.value).map((c, x) => ({
250
250
  ...c,
251
251
  value: L(Math.abs(c.value)),
@@ -258,7 +258,7 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
258
258
  parentSign: w,
259
259
  id: `vertical_child_${l}_${x}_${S.value}`,
260
260
  childIndex: x,
261
- color: Oe(c.color) || Oe(t.color) || Je.value[l] || W[l] || W[l % W.length]
261
+ color: Ie(c.color) || Ie(t.color) || Je.value[l] || W[l] || W[l % W.length]
262
262
  })).map((c, x) => ({
263
263
  ...c,
264
264
  isFirstChild: x === 0,
@@ -290,19 +290,19 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
290
290
  width: C.value.width - (C.value.padding.left + C.value.padding.right)
291
291
  }));
292
292
  async function q() {
293
- ae.value = D.value.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0), e.value.autoSize && await O();
293
+ ae.value = D.value.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0), e.value.autoSize && await I();
294
294
  }
295
295
  const A = i([]);
296
296
  async function oe(t) {
297
297
  if (A.value.includes(t))
298
298
  A.value = A.value.filter((l) => l !== t);
299
299
  else {
300
- if (A.value.length === F.value.length - 1) return;
300
+ if (A.value.length === O.value.length - 1) return;
301
301
  A.value.push(t);
302
302
  }
303
- q(), await de(), e.value.autoSize && O(), St("selectLegend", D.value);
303
+ q(), await de(), e.value.autoSize && I(), St("selectLegend", D.value);
304
304
  }
305
- const D = y(() => F.value.filter((t) => !A.value.includes(t.id))), V = y(() => D.value.map((t) => Math.abs(t.value)).reduce((t, l) => t + l, 0));
305
+ const D = y(() => O.value.filter((t) => !A.value.includes(t.id))), V = y(() => D.value.map((t) => Math.abs(t.value)).reduce((t, l) => t + l, 0));
306
306
  function ot(t, l = !1, a = 0) {
307
307
  return l ? G({
308
308
  v: L(Math.abs(t) / V.value * 100),
@@ -328,33 +328,33 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
328
328
  sign: a.sign
329
329
  };
330
330
  }
331
- function It() {
331
+ function Ft() {
332
332
  return D.value;
333
333
  }
334
334
  const Te = i(null), Se = i(null);
335
- function Ot({ datapoint: t, seriesIndex: l }) {
335
+ function It({ datapoint: t, seriesIndex: l }) {
336
336
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: l });
337
337
  }
338
- function Ft({ datapoint: t, seriesIndex: l }) {
338
+ function Ot({ datapoint: t, seriesIndex: l }) {
339
339
  e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: l }), Tt.value = null, ge.value = !1, Te.value = null;
340
340
  }
341
341
  function Mt(t, l) {
342
342
  e.value.events.datapointEnter && e.value.events.datapointEnter({ datpoint: t, seriesIndex: l }), Se.value = {
343
343
  datapoint: t,
344
344
  seriesIndex: l,
345
- series: F.value,
345
+ series: O.value,
346
346
  config: e.value
347
347
  }, ge.value = !0, Te.value = t.id;
348
348
  let a = "";
349
349
  const o = t.isChild ? t.parentName : t.name, g = t.isChild ? t.name : "", w = e.value.style.chart.tooltip.customFormat;
350
350
  oa(w) && na(() => w({
351
351
  datapoint: t,
352
- series: F.value,
352
+ series: O.value,
353
353
  config: e.value,
354
354
  seriesIndex: l
355
355
  })) ? ye.value = w({
356
356
  datapoint: t,
357
- series: F.value,
357
+ series: O.value,
358
358
  config: e.value,
359
359
  seriesIndex: l
360
360
  }) : (a += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;text-align:left;">
@@ -530,9 +530,9 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
530
530
  $.value.showTable = !1, ke.value && ke.value.setTableIconState(!1);
531
531
  }
532
532
  return yt({
533
- autoSize: O,
533
+ autoSize: I,
534
534
  // v3
535
- getData: It,
535
+ getData: Ft,
536
536
  getImage: Rt,
537
537
  recalculateHeight: q,
538
538
  generatePdf: Ye,
@@ -703,7 +703,7 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
703
703
  }, [
704
704
  (u(), X(pt, {
705
705
  key: `legend_top_${me.value}`,
706
- legendSet: F.value,
706
+ legendSet: O.value,
707
707
  config: at.value,
708
708
  onClickMarker: l[0] || (l[0] = ({ legend: a }) => oe(a.id))
709
709
  }, he({
@@ -779,7 +779,7 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
779
779
  }, null, 8, wa),
780
780
  n("stop", {
781
781
  offset: "100%",
782
- "stop-color": s(Fe)(s(ta)(a.color, 0.03), 100 - e.value.style.chart.layout.bars.gradientIntensity)
782
+ "stop-color": s(Oe)(s(ta)(a.color, 0.03), 100 - e.value.style.chart.layout.bars.gradientIntensity)
783
783
  }, null, 8, $a)
784
784
  ], 8, _a))), 256)),
785
785
  t.$slots.pattern ? (u(), v("g", Ca, [
@@ -804,7 +804,7 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
804
804
  y: r.value.top + (k.value + p.value) * o,
805
805
  width: s(L)(T(a.value) <= 0 ? 1e-4 : T(a.value)),
806
806
  height: p.value <= 0 ? 1e-4 : p.value,
807
- fill: e.value.style.chart.layout.bars.useGradient ? `url(#vertical_bar_gradient_${S.value}_${o})` : s(Fe)(a.color, e.value.style.chart.layout.bars.fillOpacity),
807
+ fill: e.value.style.chart.layout.bars.useGradient ? `url(#vertical_bar_gradient_${S.value}_${o})` : s(Oe)(a.color, e.value.style.chart.layout.bars.fillOpacity),
808
808
  rx: e.value.style.chart.layout.bars.borderRadius,
809
809
  stroke: e.value.style.chart.layout.bars.useStroke ? a.color : "none",
810
810
  "stroke-width": e.value.style.chart.layout.bars.useStroke ? e.value.style.chart.layout.bars.strokeWidth : 0,
@@ -862,7 +862,7 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
862
862
  "font-weight": e.value.style.chart.layout.bars.nameLabels.bold ? "bold" : "normal"
863
863
  }, h(a.name), 9, Va)) : f("", !0)
864
864
  ]),
865
- n("g", Ia, [
865
+ n("g", Fa, [
866
866
  a.isChild && a.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), v("text", {
867
867
  key: 0,
868
868
  x: e.value.autoSize ? void 0 : N.value.x + e.value.style.chart.layout.bars.parentLabels.offsetX,
@@ -871,7 +871,7 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
871
871
  fill: e.value.style.chart.layout.bars.parentLabels.color,
872
872
  "font-weight": e.value.style.chart.layout.bars.parentLabels.bold ? "bold" : "normal",
873
873
  "text-anchor": "start"
874
- }, h(ne(a, o).name), 9, Oa)) : f("", !0),
874
+ }, h(ne(a, o).name), 9, Ia)) : f("", !0),
875
875
  a.isChild && a.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), v("text", {
876
876
  key: 1,
877
877
  x: e.value.autoSize ? void 0 : N.value.x + e.value.style.chart.layout.bars.parentLabels.offsetX,
@@ -880,17 +880,17 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
880
880
  fill: e.value.style.chart.layout.bars.parentLabels.color,
881
881
  "font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal",
882
882
  "text-anchor": "start"
883
- }, h(nt(ne(a, o).value), ne(a, o), o, a.parentSign || a.sign), 9, Fa)) : f("", !0)
883
+ }, h(nt(ne(a, o).value), ne(a, o), o, a.parentSign || a.sign), 9, Oa)) : f("", !0)
884
884
  ]),
885
885
  n("rect", {
886
886
  x: N.value.x,
887
887
  y: r.value.top + (k.value + p.value) * o - k.value / 2,
888
888
  width: N.value.width,
889
889
  height: p.value + k.value <= 0 ? 1e-4 : p.value + k.value,
890
- fill: Te.value === a.id ? s(Fe)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity) : "transparent",
890
+ fill: Te.value === a.id ? s(Oe)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity) : "transparent",
891
891
  onMouseenter: (g) => Mt(a, o),
892
- onMouseleave: (g) => Ft({ datapoint: a, seriesIndex: o }),
893
- onClick: (g) => Ot({ datapoint: a, seriesIndex: o })
892
+ onMouseleave: (g) => Ot({ datapoint: a, seriesIndex: o }),
893
+ onClick: (g) => It({ datapoint: a, seriesIndex: o })
894
894
  }, null, 40, Ma)
895
895
  ]))), 256)),
896
896
  _(t.$slots, "svg", { svg: N.value }, void 0, !0)
@@ -906,7 +906,7 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
906
906
  }, [
907
907
  (u(), X(pt, {
908
908
  key: `legend_bottom_${me.value}`,
909
- legendSet: F.value,
909
+ legendSet: O.value,
910
910
  config: at.value,
911
911
  onClickMarker: l[1] || (l[1] = ({ legend: a }) => oe(a.id))
912
912
  }, he({
@@ -943,7 +943,7 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
943
943
  } : void 0
944
944
  ]), 1032, ["legendSet", "config"]))
945
945
  ], 512)) : f("", !0),
946
- _(t.$slots, "legend", { legend: F.value }, void 0, !0),
946
+ _(t.$slots, "legend", { legend: O.value }, void 0, !0),
947
947
  t.$slots.source ? (u(), v("div", {
948
948
  key: 7,
949
949
  ref_key: "source",
@@ -968,7 +968,9 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
968
968
  isFullscreen: E.value,
969
969
  isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
970
970
  smooth: e.value.style.chart.tooltip.smooth,
971
- backdropFilter: e.value.style.chart.tooltip.backdropFilter
971
+ backdropFilter: e.value.style.chart.tooltip.backdropFilter,
972
+ smoothForce: e.value.style.chart.tooltip.smoothForce,
973
+ smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
972
974
  }, {
973
975
  "tooltip-before": m(() => [
974
976
  _(t.$slots, "tooltip-before", Q(Z({ ...Se.value })), void 0, !0)
@@ -977,7 +979,7 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
977
979
  _(t.$slots, "tooltip-after", Q(Z({ ...Se.value })), void 0, !0)
978
980
  ]),
979
981
  _: 3
980
- }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
982
+ }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
981
983
  fe.value ? (u(), X(Ht(ce.value.component), ct({ key: 8 }, ce.value.props, {
982
984
  ref_key: "tableUnit",
983
985
  ref: le,
@@ -1149,7 +1151,7 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
1149
1151
  s(Xe) ? (u(), X(ia, { key: 9 })) : f("", !0)
1150
1152
  ], 46, ba));
1151
1153
  }
1152
- }, kl = /* @__PURE__ */ ya(ol, [["__scopeId", "data-v-e20a4dff"]]);
1154
+ }, kl = /* @__PURE__ */ ya(ol, [["__scopeId", "data-v-5f6bbba1"]]);
1153
1155
  export {
1154
1156
  kl as default
1155
1157
  };