@adyen/lume-vue3 1.6.2 → 1.6.3

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.
@@ -1 +1 @@
1
- {"version":3,"file":"lume-chart-legend.vue.d.ts","sourceRoot":"","sources":["../../../../../../lib/src/components/core/lume-chart-legend/lume-chart-legend.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAAuB,QAAQ,EAAE,MAAM,KAAK,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;;;;;;;;;;;;;;;;;;;;;;AA0HhD,wBAaG"}
1
+ {"version":3,"file":"lume-chart-legend.vue.d.ts","sourceRoot":"","sources":["../../../../../../lib/src/components/core/lume-chart-legend/lume-chart-legend.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAAU,QAAQ,EAAY,MAAM,KAAK,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;;;;;;;;;;;;;;;;;;;;;;AA0HhD,wBAaG"}
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as Z, ref as B, openBlock as _, createElementBlock as $, mergeProps as j, createElementVNode as G, toDisplayString as ae, createCommentVNode as z, isRef as Bt, computed as v, watch as Y, toRefs as ne, inject as De, reactive as Ge, onMounted as ye, unref as d, Fragment as ee, renderList as W, createBlock as K, normalizeClass as oe, normalizeStyle as Rt, onBeforeUnmount as St, watchEffect as Ct, renderSlot as S, createTextVNode as fe, useSlots as re, withDirectives as rn, withCtx as V, createSlots as de, vShow as sn, pushScopeId as cn, popScopeId as dn, provide as Fe, createVNode as ie, nextTick as _t, toHandlers as le, normalizeProps as he, guardReactiveProps as ge, defineAsyncComponent as ze, resolveDynamicComponent as vn } from "vue";
1
+ import { defineComponent as Z, ref as M, openBlock as _, createElementBlock as $, mergeProps as j, createElementVNode as G, toDisplayString as ae, createCommentVNode as z, isRef as Bt, computed as v, watch as Y, toRefs as ne, inject as De, reactive as Ge, onMounted as ye, unref as d, Fragment as ee, renderList as W, createBlock as K, normalizeClass as oe, normalizeStyle as Rt, onBeforeUnmount as St, watchEffect as Ct, renderSlot as S, createTextVNode as fe, useSlots as re, withDirectives as rn, withCtx as V, createSlots as de, vShow as sn, pushScopeId as cn, popScopeId as dn, provide as Fe, createVNode as ie, nextTick as _t, toHandlers as le, normalizeProps as he, guardReactiveProps as ge, defineAsyncComponent as ze, resolveDynamicComponent as vn } from "vue";
2
2
  import { format as mn, ticks as pn, scaleBand as Ee, scaleLinear as Ne, link as fn, line as hn, area as gn } from "d3";
3
3
  import { createPopper as _n } from "@popperjs/core";
4
4
  import { sankeyLinkHorizontal as yn, sankey as kn, sankeyJustify as bn } from "d3-sankey";
@@ -44,7 +44,7 @@ const An = {
44
44
  },
45
45
  emits: ["click", "mouseenter"],
46
46
  setup(e, { expose: n, emit: t }) {
47
- const o = t, l = B(null);
47
+ const o = t, l = M(null);
48
48
  return n({ ref: l }), (u, a) => (_(), $("g", j(e.group, {
49
49
  class: ["axis__tick", {
50
50
  "axis__tick--hovered": e.isHovered,
@@ -220,7 +220,7 @@ function pe(e, n) {
220
220
  }
221
221
  const Rn = 0.2;
222
222
  function Sn(e, n, t) {
223
- const o = B(), l = v(() => Math.max(...e.value.range())), u = v(() => n.value.length);
223
+ const o = M(), l = v(() => Math.max(...e.value.range())), u = v(() => n.value.length);
224
224
  function a() {
225
225
  if (!n.value)
226
226
  return;
@@ -504,7 +504,7 @@ const bt = /* @__PURE__ */ Z({
504
504
  },
505
505
  emits: ["mouseenter", "click", "mouseleave", "lume__internal--axis-size"],
506
506
  setup(e, { emit: n }) {
507
- const o = e, l = n, { scale: u, containerSize: a, hoveredIndex: i, options: s, orientation: c } = ne(o), p = De("isEmpty", B(!1)), r = Ge({}), h = B(null), g = B(null), m = B(null), A = v(
507
+ const o = e, l = n, { scale: u, containerSize: a, hoveredIndex: i, options: s, orientation: c } = ne(o), p = De("isEmpty", M(!1)), r = Ge({}), h = M(null), g = M(null), m = M(null), A = v(
508
508
  () => o.type ? Xe[o.type] : o.position
509
509
  ), x = v(
510
510
  () => o.type || (A.value === "left" ? "y" : "x")
@@ -514,8 +514,8 @@ const bt = /* @__PURE__ */ Z({
514
514
  s,
515
515
  x.value === "x" ? Vn : Pn
516
516
  ), { showTick: O } = Sn(u, h, f.value.skip), N = v(() => {
517
- var R, H, k, M;
518
- return x.value === "y" && p.value ? `translate(0, ${((R = a.value) == null ? void 0 : R.height) / 2})` : x.value === "x" && p.value ? `translate(-${((H = a.value) == null ? void 0 : H.width) / 2}, ${(k = a.value) == null ? void 0 : k.height})` : `translate(0, ${x.value === "x" ? (M = a.value) == null ? void 0 : M.height : 0})`;
517
+ var R, H, k, B;
518
+ return x.value === "y" && p.value ? `translate(0, ${((R = a.value) == null ? void 0 : R.height) / 2})` : x.value === "x" && p.value ? `translate(-${((H = a.value) == null ? void 0 : H.width) / 2}, ${(k = a.value) == null ? void 0 : k.height})` : `translate(0, ${x.value === "x" ? (B = a.value) == null ? void 0 : B.height : 0})`;
519
519
  }), E = v(() => {
520
520
  if (ve(u.value))
521
521
  return u.value.labels || u.value.domain();
@@ -578,8 +578,8 @@ const bt = /* @__PURE__ */ Z({
578
578
  function be() {
579
579
  const R = u.value.step ? "bandScale" : "linearScale", H = Un[`${x.value}-${Xt[R]}`];
580
580
  Object.entries(H(u, a, f) || []).forEach(
581
- ([k, M]) => {
582
- r[k] = M;
581
+ ([k, B]) => {
582
+ r[k] = B;
583
583
  }
584
584
  );
585
585
  }
@@ -593,16 +593,16 @@ const bt = /* @__PURE__ */ Z({
593
593
  onMouseleave: H[1] || (H[1] = (k) => l("mouseleave", k))
594
594
  }, [
595
595
  x.value === "x" ? (_(), $("defs", Yn, Jn)) : z("", !0),
596
- (_(!0), $(ee, null, W(m.value, (k, M) => (_(), K(d(yt), j({
597
- key: `${k.value}_${M}`,
596
+ (_(!0), $(ee, null, W(m.value, (k, B) => (_(), K(d(yt), j({
597
+ key: `${k.value}_${B}`,
598
598
  ref_for: !0,
599
599
  ref_key: "tickRefs",
600
600
  ref: h
601
601
  }, k, {
602
- "is-hidden": d(f).skip && !d(O)(M),
602
+ "is-hidden": d(f).skip && !d(O)(B),
603
603
  "with-gridlines": d(f).gridLines,
604
- onMouseenter: (y) => q(M, k.value, y),
605
- onClick: (y) => P(M, k.value, y)
604
+ onMouseenter: (y) => q(B, k.value, y),
605
+ onClick: (y) => P(B, k.value, y)
606
606
  }), null, 16, ["is-hidden", "with-gridlines", "onMouseenter", "onClick"]))), 128)),
607
607
  w.value ? (_(), K(d(yt), j({ key: 1 }, m.value[d(i)], {
608
608
  "with-gridlines": !1,
@@ -629,7 +629,7 @@ function Qn(e, n, t, o) {
629
629
  return { computedX: a, computedY: i, shouldHaveMinWidth: l, shouldHaveMinHeight: u };
630
630
  }
631
631
  function qn(e, n, t, o) {
632
- const l = B(0), u = B(0), a = v(() => `${e.value + t.value / 2}px ${n.value + o.value / 2}px`);
632
+ const l = M(0), u = M(0), a = v(() => `${e.value + t.value / 2}px ${n.value + o.value / 2}px`);
633
633
  return ye(() => {
634
634
  l.value = t.value, u.value = o.value;
635
635
  }), Y(t, (i) => l.value = i), Y(o, (i) => u.value = i), { computedWidth: l, computedHeight: u, transformOrigin: a };
@@ -672,7 +672,7 @@ const eo = ["x", "y", "width", "height"], to = /* @__PURE__ */ Z({
672
672
  },
673
673
  emits: ["click", "mouseover", "mouseleave"],
674
674
  setup(e, { emit: n }) {
675
- const t = e, o = n, { x: l, y: u, width: a, height: i, transition: s, classList: c } = ne(t), p = B(null), r = v(
675
+ const t = e, o = n, { x: l, y: u, width: a, height: i, transition: s, classList: c } = ne(t), p = M(null), r = v(
676
676
  () => typeof c.value == "string" ? [c.value] : c.value
677
677
  ), h = v(() => s.value === "width"), g = v(() => s.value === "height"), m = qn(l, u, a, i), { computedX: A, computedY: x, shouldHaveMinWidth: T, shouldHaveMinHeight: f } = Qn(l, u, a, i), O = v(() => T.value ? 1 : (h.value ? m.computedWidth : a).value), N = v(() => f.value ? 1 : (g.value ? m.computedHeight : i).value), E = h.value || g.value ? m.transformOrigin : null;
678
678
  return ye(() => je(p.value)), (F, w) => (_(), $("rect", {
@@ -701,7 +701,7 @@ const eo = ["x", "y", "width", "height"], to = /* @__PURE__ */ Z({
701
701
  });
702
702
  const rt = /* @__PURE__ */ te(to, [["__scopeId", "data-v-8e8f732a"]]);
703
703
  function no() {
704
- const e = B(), n = Ge({
704
+ const e = M(), n = Ge({
705
705
  dimensions: {}
706
706
  }), t = new ResizeObserver((o) => {
707
707
  o.forEach((l) => {
@@ -736,7 +736,7 @@ const oo = ["height"], ao = ["transform"], lo = /* @__PURE__ */ Z({
736
736
  },
737
737
  emits: ["click", "mouseenter", "mouseleave", "resize"],
738
738
  setup(e, { emit: n }) {
739
- const t = e, o = n, { margins: l, containerSize: u } = ne(t), a = B(null), { resizeRef: i, resizeState: s } = no(), c = v(
739
+ const t = e, o = n, { margins: l, containerSize: u } = ne(t), a = M(null), { resizeRef: i, resizeState: s } = no(), c = v(
740
740
  () => u.value.height + l.value.top + l.value.bottom
741
741
  );
742
742
  return Ct(() => {
@@ -797,7 +797,7 @@ const uo = /* @__PURE__ */ te(lo, [["__scopeId", "data-v-2c7d0302"]]), ro = ["on
797
797
  },
798
798
  emits: ["click", "mouseenter", "mouseleave"],
799
799
  setup(e, { emit: n }) {
800
- const t = n, o = De("isEmpty");
800
+ const t = n, o = De("isEmpty", M(!1));
801
801
  return (l, u) => d(o) ? z("", !0) : (_(), $("div", {
802
802
  key: 0,
803
803
  class: "lume-chart-legend",
@@ -821,7 +821,7 @@ const uo = /* @__PURE__ */ te(lo, [["__scopeId", "data-v-2c7d0302"]]), ro = ["on
821
821
  ], 32));
822
822
  }
823
823
  });
824
- const At = /* @__PURE__ */ te(io, [["__scopeId", "data-v-4710298b"]]);
824
+ const At = /* @__PURE__ */ te(io, [["__scopeId", "data-v-b298ddd7"]]);
825
825
  const so = {}, co = {
826
826
  class: "lume-tooltip__title",
827
827
  "data-j-tooltip__title": ""
@@ -917,7 +917,7 @@ const To = /* @__PURE__ */ te(Ao, [["__scopeId", "data-v-4f995c3c"]]), Lo = (e)
917
917
  },
918
918
  emits: ["opened", "moved", "closed", "tooltip-mouseenter", "tooltip-mouseleave"],
919
919
  setup(e, { emit: n }) {
920
- const t = e, o = n, l = B(null), { items: u, options: a } = ne(t), i = re(), s = B(null), { allOptions: c } = pe(a), p = v(
920
+ const t = e, o = n, l = M(null), { items: u, options: a } = ne(t), i = re(), s = M(null), { allOptions: c } = pe(a), p = v(
921
921
  () => c.value.fixedPositioning ?? t.fixedPositioning
922
922
  ), r = v(
923
923
  () => p.value ? "fixed" : "absolute"
@@ -1138,7 +1138,7 @@ const Vo = () => ({
1138
1138
  }
1139
1139
  });
1140
1140
  function Po(e, n, t, o, l) {
1141
- const u = B(null), a = B(null);
1141
+ const u = M(null), a = M(null);
1142
1142
  function i() {
1143
1143
  const { width: s, height: c } = t;
1144
1144
  !s && !c || !n.value || !e.value || (o.value === D.HORIZONTAL ? (u.value = xt(
@@ -1447,7 +1447,7 @@ const na = { class: "lume-chart__header" }, oa = { class: "lume-chart__header-se
1447
1447
  }
1448
1448
  },
1449
1449
  setup(e, { emit: n }) {
1450
- const t = e, o = re(), l = n, { data: u, labels: a, color: i, options: s, orientation: c, chartType: p } = ne(t), r = B(-1), h = B(null), g = B(null), m = B([]), A = B(null), x = B(0), T = B(0), { allOptions: f } = pe(s), { internalData: O, computedLabels: N, containerSize: E, updateSize: F, chartID: w } = st(u, a, i, f, c), { xScale: C, yScale: J } = Po(
1450
+ const t = e, o = re(), l = n, { data: u, labels: a, color: i, options: s, orientation: c, chartType: p } = ne(t), r = M(-1), h = M(null), g = M(null), m = M([]), A = M(null), x = M(0), T = M(0), { allOptions: f } = pe(s), { internalData: O, computedLabels: N, containerSize: E, updateSize: F, chartID: w } = st(u, a, i, f, c), { xScale: C, yScale: J } = Po(
1451
1451
  O,
1452
1452
  N,
1453
1453
  E,
@@ -1482,7 +1482,7 @@ const na = { class: "lume-chart__header" }, oa = { class: "lume-chart__header-se
1482
1482
  }), k = v(() => {
1483
1483
  var L;
1484
1484
  return ((L = f.value.yAxisOptions) == null ? void 0 : L.withTitle) !== !1 && R.value;
1485
- }), M = v(
1485
+ }), B = v(
1486
1486
  () => u.value.every((L) => !L.values.length)
1487
1487
  ), y = v(() => {
1488
1488
  const L = [], { noBaseScales: b } = f.value;
@@ -1553,7 +1553,7 @@ const na = { class: "lume-chart__header" }, oa = { class: "lume-chart__header-se
1553
1553
  ), Y(
1554
1554
  a,
1555
1555
  (L, b) => l("labels-changed", { newValue: L, oldValue: b })
1556
- ), Y(M, (L) => L && _e(me.Empty), { immediate: !0 }), Y(() => t.hoveredIndex, ft), Y(
1556
+ ), Y(B, (L) => L && _e(me.Empty), { immediate: !0 }), Y(() => t.hoveredIndex, ft), Y(
1557
1557
  m,
1558
1558
  (L) => {
1559
1559
  L && t.hoveredIndex != null && r.value === -1 && ft(t.hoveredIndex);
@@ -1563,7 +1563,7 @@ const na = { class: "lume-chart__header" }, oa = { class: "lume-chart__header-se
1563
1563
  L === !1 && Ae.opened && pt();
1564
1564
  }), ye(async () => {
1565
1565
  l("rendered"), o.groups || console.error('"groups" `<slot>` must have content.');
1566
- }), Fe("chartID", w), Fe("isEmpty", M), Fe("tooltipAnchorAttributes", m), (L, b) => (_(), K(d(uo), {
1566
+ }), Fe("chartID", w), Fe("isEmpty", B), Fe("tooltipAnchorAttributes", m), (L, b) => (_(), K(d(uo), {
1567
1567
  id: `lume-chart_${d(w)}`,
1568
1568
  ref_key: "chartContainer",
1569
1569
  ref: g,
@@ -1753,7 +1753,7 @@ const we = /* @__PURE__ */ te(da, [["__scopeId", "data-v-15099487"]]), Et = 8, v
1753
1753
  },
1754
1754
  emits: ["lume__internal--node-resize"],
1755
1755
  setup(e, { emit: n }) {
1756
- const t = e, o = n, l = B(null), u = B(t.maxWidth), a = B(1);
1756
+ const t = e, o = n, l = M(null), u = M(t.maxWidth), a = M(1);
1757
1757
  return Y(
1758
1758
  [l, () => t.maxWidth],
1759
1759
  async ([i, s]) => {
@@ -1818,7 +1818,7 @@ function Dt(e, n) {
1818
1818
  };
1819
1819
  }
1820
1820
  function Aa(e) {
1821
- const n = B(Dt(e));
1821
+ const n = M(Dt(e));
1822
1822
  function t(o) {
1823
1823
  n.value = Dt(e, o);
1824
1824
  }
@@ -1922,7 +1922,7 @@ function Mt(e, n) {
1922
1922
  return n.find((t) => t.every((o) => o.x0 === e.x0));
1923
1923
  }
1924
1924
  function Ba(e, n, t) {
1925
- const o = B(null), l = v(() => {
1925
+ const o = M(null), l = v(() => {
1926
1926
  var r;
1927
1927
  return (r = e.value) == null ? void 0 : r[0].values.map(
1928
1928
  ({ label: h, color: g, value: m, deriveColorFromIncomingLinks: A, offset: x }) => ({
@@ -2046,7 +2046,7 @@ const Sa = (e, n) => {
2046
2046
  };
2047
2047
  };
2048
2048
  function Ga(e, n, t) {
2049
- const o = B(null), l = v(() => o.value ? typeof n.value.highlightedElements == "function" ? n.value.highlightedElements(
2049
+ const o = M(null), l = v(() => o.value ? typeof n.value.highlightedElements == "function" ? n.value.highlightedElements(
2050
2050
  o.value,
2051
2051
  t.value
2052
2052
  ) : n.value.highlightedElements === "closest" ? Ca(o.value, t.value) : Sa(o.value, t.value) : { nodes: {}, links: [] });
@@ -2087,7 +2087,7 @@ const ja = {
2087
2087
  },
2088
2088
  emits: ["node-click", "node-mouseenter", "node-mouseleave", "link-click", "link-mouseenter", "link-mouseleave"],
2089
2089
  setup(e, { emit: n }) {
2090
- const t = e, o = n, l = De("chartID"), { data: u, options: a } = ne(t), i = B([]), s = B([]), c = B(null), { extents: p, updateExtents: r } = Aa(t.containerSize), { columns: h, graph: g } = Ba(u, a, p), { hoveredElement: m, highlightedElements: A } = Ga(
2090
+ const t = e, o = n, l = De("chartID"), { data: u, options: a } = ne(t), i = M([]), s = M([]), c = M(null), { extents: p, updateExtents: r } = Aa(t.containerSize), { columns: h, graph: g } = Ba(u, a, p), { hoveredElement: m, highlightedElements: A } = Ga(
2091
2091
  i,
2092
2092
  a,
2093
2093
  g
@@ -2097,17 +2097,17 @@ const ja = {
2097
2097
  (k) => k[0].x0 + a.value.nodeWidth / 2
2098
2098
  ) : []), O = v(() => {
2099
2099
  if (!(!a.value.nodeHeaders || !a.value.nodeHeaders.length))
2100
- return a.value.nodeHeaders.slice(0, f.value.length).map((k, M) => ({
2100
+ return a.value.nodeHeaders.slice(0, f.value.length).map((k, B) => ({
2101
2101
  label: k,
2102
- x: f.value[M]
2102
+ x: f.value[B]
2103
2103
  }));
2104
2104
  }), N = v(
2105
2105
  () => a.value.nodeHeaderPadding ?? ma
2106
2106
  ), E = v(() => {
2107
2107
  if (!(!a.value.gradient || !g.value))
2108
- return g.value.links.reduce((k, M) => {
2109
- const { source: y, target: X } = M, Q = y.color || y.fallbackColor, ce = X.deriveColorFromIncomingLinks ? Q : X.color || X.fallbackColor;
2110
- return k[M.id] = {
2108
+ return g.value.links.reduce((k, B) => {
2109
+ const { source: y, target: X } = B, Q = y.color || y.fallbackColor, ce = X.deriveColorFromIncomingLinks ? Q : X.color || X.fallbackColor;
2110
+ return k[B.id] = {
2111
2111
  source: Q,
2112
2112
  target: ce,
2113
2113
  x1: y.x1,
@@ -2117,7 +2117,7 @@ const ja = {
2117
2117
  }), F = v(() => {
2118
2118
  const k = i.value.filter(
2119
2119
  (y) => P(y)
2120
- ), M = [];
2120
+ ), B = [];
2121
2121
  return k.forEach((y) => {
2122
2122
  const X = [];
2123
2123
  s.value.filter(({ link: Q }) => Q.target.id === y.node.id).reverse().reduce((Q, ce) => {
@@ -2130,11 +2130,11 @@ const ja = {
2130
2130
  key: `node-block-${y.node.id}-source-link-${ce.link.source.id}`,
2131
2131
  class: `lume-alluvial-group__node-block lume-fill--${ce.link.source.color || Be}`
2132
2132
  }), Q + Re;
2133
- }, 0), M.push({
2133
+ }, 0), B.push({
2134
2134
  id: y.node.id,
2135
2135
  subNodes: X
2136
2136
  });
2137
- }), M;
2137
+ }), B;
2138
2138
  });
2139
2139
  function w(k) {
2140
2140
  return a.value.gradient && `url('#${l}_${k.id}')`;
@@ -2154,28 +2154,28 @@ const ja = {
2154
2154
  function P(k) {
2155
2155
  return !k.node.color && k.node.deriveColorFromIncomingLinks;
2156
2156
  }
2157
- function ue(k, M) {
2158
- k !== m.value && (m.value = k, o("link-mouseenter", { link: k, event: M }));
2157
+ function ue(k, B) {
2158
+ k !== m.value && (m.value = k, o("link-mouseenter", { link: k, event: B }));
2159
2159
  }
2160
2160
  function xe(k) {
2161
- const M = m.value;
2162
- m.value = null, o("link-mouseleave", { link: M, event: k });
2161
+ const B = m.value;
2162
+ m.value = null, o("link-mouseleave", { link: B, event: k });
2163
2163
  }
2164
2164
  function be(k) {
2165
2165
  if (k == null) {
2166
2166
  m.value = null;
2167
2167
  return;
2168
2168
  }
2169
- const M = xa(k, g.value) || $a(k, g.value);
2170
- if (!M) {
2169
+ const B = xa(k, g.value) || $a(k, g.value);
2170
+ if (!B) {
2171
2171
  _e(me.InvalidHoveredElement);
2172
2172
  return;
2173
2173
  }
2174
- m.value = M;
2174
+ m.value = B;
2175
2175
  }
2176
2176
  function R(k) {
2177
- var M;
2178
- return ((M = F.value.find(({ id: y }) => k === y)) == null ? void 0 : M.subNodes) ?? [];
2177
+ var B;
2178
+ return ((B = F.value.find(({ id: y }) => k === y)) == null ? void 0 : B.subNodes) ?? [];
2179
2179
  }
2180
2180
  function H() {
2181
2181
  const k = Ia(g.value, c.value);
@@ -2185,7 +2185,7 @@ const ja = {
2185
2185
  i.value = wa(k.nodes), s.value = Ha(k.links).reverse(), m.value == null && t.hoveredElementId != null && be(t.hoveredElementId);
2186
2186
  }), Y([t.containerSize, c], () => {
2187
2187
  t.containerSize.width && t.containerSize.height && H();
2188
- }), Y(() => t.hoveredElementId, be), (k, M) => (_(), $("g", ja, [
2188
+ }), Y(() => t.hoveredElementId, be), (k, B) => (_(), $("g", ja, [
2189
2189
  O.value ? (_(), $("g", Va, [
2190
2190
  (_(!0), $(ee, null, W(O.value, (y) => (_(), $("text", {
2191
2191
  key: `header_${y.x}`,
@@ -2259,7 +2259,7 @@ const ja = {
2259
2259
  onMouseenter: (Q) => o("node-mouseenter", { node: y.node, event: Q }),
2260
2260
  onMouseleave: (Q) => o("node-mouseleave", { node: y.node, event: Q }),
2261
2261
  onMouseover: (Q) => m.value = y.node,
2262
- onMouseout: M[0] || (M[0] = (Q) => m.value = null)
2262
+ onMouseout: B[0] || (B[0] = (Q) => m.value = null)
2263
2263
  }, [
2264
2264
  P(y) ? (_(!0), $(ee, { key: 0 }, W(R(
2265
2265
  y.node.id
@@ -2877,7 +2877,7 @@ const cl = {
2877
2877
  },
2878
2878
  emits: ["click"],
2879
2879
  setup(e, { emit: n }) {
2880
- const t = n, o = B(null);
2880
+ const t = n, o = M(null);
2881
2881
  return ye(() => je(o.value)), (l, u) => (_(), $("path", {
2882
2882
  ref_key: "root",
2883
2883
  ref: o,
@@ -2917,7 +2917,7 @@ const yl = /* @__PURE__ */ te(_l, [["__scopeId", "data-v-08896455"]]), kl = ["cx
2917
2917
  },
2918
2918
  emits: ["click"],
2919
2919
  setup(e, { emit: n }) {
2920
- const t = e, o = n, l = B(null), u = v(() => t.radius / 2);
2920
+ const t = e, o = n, l = M(null), u = v(() => t.radius / 2);
2921
2921
  return ye(() => je(l.value)), (a, i) => (_(), $("circle", {
2922
2922
  ref_key: "root",
2923
2923
  ref: l,