@adyen/lume-vue3 1.15.0 → 1.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- import { defineComponent as Q, ref as S, openBlock as _, createElementBlock as O, mergeProps as V, createElementVNode as j, toDisplayString as re, createCommentVNode as Z, isRef as Ut, computed as m, watch as X, toRefs as le, inject as Ke, reactive as Je, onMounted as $e, unref as v, Fragment as te, renderList as J, createBlock as q, normalizeStyle as Zt, normalizeClass as ae, watchEffect as Xt, onBeforeUnmount as Yt, renderSlot as G, createTextVNode as pe, useSlots as de, nextTick as at, withCtx as U, createSlots as ge, pushScopeId as _n, popScopeId as kn, provide as nt, createVNode as ve, withKeys as xt, withModifiers as Ot, toHandlers as ie, normalizeProps as Le, guardReactiveProps as Ae, defineAsyncComponent as ot, resolveDynamicComponent as bn } from "vue";
1
+ import { defineComponent as Q, ref as S, openBlock as _, createElementBlock as w, mergeProps as V, createElementVNode as j, toDisplayString as re, createCommentVNode as Z, isRef as Ut, computed as m, watch as X, toRefs as le, inject as Ke, reactive as Je, onMounted as $e, unref as v, Fragment as te, renderList as J, createBlock as q, normalizeStyle as Zt, normalizeClass as ae, watchEffect as Xt, onBeforeUnmount as Yt, renderSlot as G, createTextVNode as pe, useSlots as de, nextTick as at, withCtx as U, createSlots as ge, pushScopeId as _n, popScopeId as kn, provide as nt, createVNode as ve, withKeys as xt, withModifiers as wt, toHandlers as ie, normalizeProps as Le, guardReactiveProps as Ae, defineAsyncComponent as ot, resolveDynamicComponent as bn } from "vue";
2
2
  import { sankeyLinkHorizontal as Ln, sankey as An, sankeyJustify as Tn } from "d3-sankey";
3
- import { format as $n, ticks as In, scaleLinear as Fe, scaleBand as je, link as xn, line as On, area as wn } from "d3";
3
+ import { format as $n, ticks as In, scaleLinear as Fe, scaleBand as je, link as xn, line as wn, area as On } from "d3";
4
4
  import { createPopper as Nn } from "@popperjs/core";
5
5
  const En = {
6
6
  class: "axis__tick-label lume-typography--axis",
@@ -45,7 +45,7 @@ const En = {
45
45
  emits: ["click", "mouseenter"],
46
46
  setup(e, { expose: n, emit: t }) {
47
47
  const o = t, a = S(null);
48
- return n({ ref: a }), (r, l) => (_(), O("g", V(e.group, {
48
+ return n({ ref: a }), (r, l) => (_(), w("g", V(e.group, {
49
49
  class: ["axis__tick", {
50
50
  "axis__tick--hovered": e.isHovered,
51
51
  "axis__tick--hidden": e.isHidden
@@ -65,7 +65,7 @@ const En = {
65
65
  class: "axis__label"
66
66
  }), re(e.value), 17)
67
67
  ]),
68
- e.withGridlines ? (_(), O("line", V({ key: 0 }, e.gridline, { class: "axis__grid-line" }), null, 16)) : Z("", !0)
68
+ e.withGridlines ? (_(), w("line", V({ key: 0 }, e.gridline, { class: "axis__grid-line" }), null, 16)) : Z("", !0)
69
69
  ], 16));
70
70
  }
71
71
  }), oe = (e, n) => {
@@ -73,7 +73,7 @@ const En = {
73
73
  for (const [o, a] of n)
74
74
  t[o] = a;
75
75
  return t;
76
- }, wt = /* @__PURE__ */ oe(Dn, [["__scopeId", "data-v-59ddc0a6"]]), Bn = [
76
+ }, Ot = /* @__PURE__ */ oe(Dn, [["__scopeId", "data-v-59ddc0a6"]]), Bn = [
77
77
  "controls",
78
78
  "legend",
79
79
  "axes",
@@ -522,7 +522,7 @@ const Et = /* @__PURE__ */ Q({
522
522
  }), H = m(() => {
523
523
  const { tickFormat: F } = f.value;
524
524
  return Xe(F);
525
- }), w = m(
525
+ }), O = m(
526
526
  () => f.value.withHover && g.value && i.value > -1
527
527
  ), P = m(
528
528
  () => f.value.tickPadding + Pe || 16
@@ -585,7 +585,7 @@ const Et = /* @__PURE__ */ Q({
585
585
  }
586
586
  );
587
587
  }
588
- return X(r, Se, { flush: "sync", immediate: !0 }), X(r, xe, { immediate: !0 }), X(p, xe), X(K, (F) => a("lume__internal--axis-size", F)), X(o.containerSize, De), $e(() => Qe(b.value)), (F, R) => v(r) ? (_(), O("g", {
588
+ return X(r, Se, { flush: "sync", immediate: !0 }), X(r, xe, { immediate: !0 }), X(p, xe), X(K, (F) => a("lume__internal--axis-size", F)), X(o.containerSize, De), $e(() => Qe(b.value)), (F, R) => v(r) ? (_(), w("g", {
589
589
  key: 0,
590
590
  ref_key: "root",
591
591
  ref: b,
@@ -594,8 +594,8 @@ const Et = /* @__PURE__ */ Q({
594
594
  "data-j-axis": "",
595
595
  onMouseleave: R[1] || (R[1] = (C) => a("mouseleave", C))
596
596
  }, [
597
- $.value === "x" ? (_(), O("defs", ao, uo)) : Z("", !0),
598
- (_(!0), O(te, null, J(k.value, (C, ue) => (_(), q(v(wt), V({
597
+ $.value === "x" ? (_(), w("defs", ao, uo)) : Z("", !0),
598
+ (_(!0), w(te, null, J(k.value, (C, ue) => (_(), q(v(Ot), V({
599
599
  key: `${C.value}_${ue}`,
600
600
  ref_for: !0,
601
601
  ref_key: "tickRefs",
@@ -606,7 +606,7 @@ const Et = /* @__PURE__ */ Q({
606
606
  onMouseenter: (ke) => ne(ue, C.value, ke),
607
607
  onClick: (ke) => ee(ue, C.value, ke)
608
608
  }), null, 16, ["is-hidden", "with-gridlines", "onMouseenter", "onClick"]))), 128)),
609
- w.value ? (_(), q(v(wt), V({ key: 1 }, k.value[v(i)], {
609
+ O.value ? (_(), q(v(Ot), V({ key: 1 }, k.value[v(i)], {
610
610
  "with-gridlines": !1,
611
611
  "is-hovered": "",
612
612
  onClick: R[0] || (R[0] = (C) => ee(
@@ -677,7 +677,7 @@ const so = ["x", "y", "width", "height"], co = /* @__PURE__ */ Q({
677
677
  const t = e, o = n, { x: a, y: r, width: l, height: i, transition: u, classList: s } = le(t), d = S(null), c = m(
678
678
  () => typeof s.value == "string" ? [s.value] : s.value
679
679
  ), p = m(() => u.value === "width"), b = m(() => u.value === "height"), k = io(a, r, l, i), { computedX: L, computedY: $, shouldHaveMinWidth: g, shouldHaveMinHeight: f } = ro(a, r, l, i), y = m(() => g.value ? 1 : (p.value ? k.computedWidth : l).value), I = m(() => f.value ? 1 : (b.value ? k.computedHeight : i).value), E = p.value || b.value ? k.transformOrigin : null;
680
- return $e(() => Qe(d.value)), (D, H) => (_(), O("rect", {
680
+ return $e(() => Qe(d.value)), (D, H) => (_(), w("rect", {
681
681
  ref_key: "root",
682
682
  ref: d,
683
683
  class: ae(["lume-bar", [
@@ -695,22 +695,22 @@ const so = ["x", "y", "width", "height"], co = /* @__PURE__ */ Q({
695
695
  width: y.value,
696
696
  height: I.value,
697
697
  "data-j-bar": "",
698
- onClick: H[0] || (H[0] = (w) => o("click", w)),
699
- onMouseover: H[1] || (H[1] = (w) => o("mouseover", w)),
700
- onMouseleave: H[2] || (H[2] = (w) => o("mouseleave", w))
698
+ onClick: H[0] || (H[0] = (O) => o("click", O)),
699
+ onMouseover: H[1] || (H[1] = (O) => o("mouseover", O)),
700
+ onMouseleave: H[2] || (H[2] = (O) => o("mouseleave", O))
701
701
  }, null, 46, so));
702
702
  }
703
703
  }), ht = /* @__PURE__ */ oe(co, [["__scopeId", "data-v-8e8f732a"]]);
704
- var we = /* @__PURE__ */ ((e) => (e.Categorical = "categorical", e.Sequential = "sequential", e.Divergent = "divergent", e))(we || {}), fe = /* @__PURE__ */ ((e) => (e.Skyblue = "skyblue", e.Royalblue = "royalblue", e.Violet = "violet", e.Darkteal = "darkteal", e.Gold = "gold", e))(fe || {}), rn = /* @__PURE__ */ ((e) => (e.Skyblue10 = "skyblue-10", e.Skyblue20 = "skyblue-20", e.Skyblue30 = "skyblue-30", e.Skyblue40 = "skyblue-40", e.Skyblue50 = "skyblue-50", e.Skyblue60 = "skyblue-60", e.Skyblue70 = "skyblue-70", e.Skyblue80 = "skyblue-80", e.Skyblue90 = "skyblue-90", e.Skyblue100 = "skyblue-100", e.Royalblue10 = "royalblue-10", e.Royalblue20 = "royalblue-20", e.Royalblue30 = "royalblue-30", e.Royalblue40 = "royalblue-40", e.Royalblue50 = "royalblue-50", e.Royalblue60 = "royalblue-60", e.Royalblue70 = "royalblue-70", e.Royalblue80 = "royalblue-80", e.Royalblue90 = "royalblue-90", e.Royalblue100 = "royalblue-100", e.Violet10 = "violet-10", e.Violet20 = "violet-20", e.Violet30 = "violet-30", e.Violet40 = "violet-40", e.Violet50 = "violet-50", e.Violet60 = "violet-60", e.Violet70 = "violet-70", e.Violet80 = "violet-80", e.Violet90 = "violet-90", e.Violet100 = "violet-100", e.Darkteal10 = "darkteal-10", e.Darkteal20 = "darkteal-20", e.Darkteal30 = "darkteal-30", e.Darkteal40 = "darkteal-40", e.Darkteal50 = "darkteal-50", e.Darkteal60 = "darkteal-60", e.Darkteal70 = "darkteal-70", e.Darkteal80 = "darkteal-80", e.Darkteal90 = "darkteal-90", e.Darkteal100 = "darkteal-100", e.Gold10 = "gold-10", e.Gold20 = "gold-20", e.Gold30 = "gold-30", e.Gold40 = "gold-40", e.Gold50 = "gold-50", e.Gold60 = "gold-60", e.Gold70 = "gold-70", e.Gold80 = "gold-80", e.Gold90 = "gold-90", e.Gold100 = "gold-100", e))(rn || {}), yt = /* @__PURE__ */ ((e) => (e.SkyTeal = "skyblue-darkteal", e.VioletRoyal = "violet-royalblue", e.VioletTeal = "violet-darkteal", e.GoldTeal = "gold-darkteal", e.GoldRoyal = "gold-royalblue", e))(yt || {}), _t = /* @__PURE__ */ ((e) => (e.White = "white", e.Black = "black", e.Green = "green", e.Orange = "orange", e.Red = "red", e.Grey = "grey", e.Grey10 = "grey-10", e.Grey20 = "grey-20", e.Grey30 = "grey-30", e.Grey40 = "grey-40", e.Grey50 = "grey-50", e.Grey60 = "grey-60", e.Grey70 = "grey-70", e.Grey80 = "grey-80", e.Grey90 = "grey-90", e.Grey100 = "grey-100", e))(_t || {}), kt = /* @__PURE__ */ ((e) => (e["01"] = "01", e["02"] = "02", e["03"] = "03", e["04"] = "04", e["05"] = "05", e["06"] = "06", e["07"] = "07", e["08"] = "08", e["09"] = "09", e))(kt || {});
705
- const vo = we.Categorical, Ve = fe.Skyblue, fo = yt.SkyTeal;
704
+ var Oe = /* @__PURE__ */ ((e) => (e.Categorical = "categorical", e.Sequential = "sequential", e.Divergent = "divergent", e))(Oe || {}), fe = /* @__PURE__ */ ((e) => (e.Skyblue = "skyblue", e.Royalblue = "royalblue", e.Violet = "violet", e.Darkteal = "darkteal", e.Gold = "gold", e))(fe || {}), rn = /* @__PURE__ */ ((e) => (e.Skyblue10 = "skyblue-10", e.Skyblue20 = "skyblue-20", e.Skyblue30 = "skyblue-30", e.Skyblue40 = "skyblue-40", e.Skyblue50 = "skyblue-50", e.Skyblue60 = "skyblue-60", e.Skyblue70 = "skyblue-70", e.Skyblue80 = "skyblue-80", e.Skyblue90 = "skyblue-90", e.Skyblue100 = "skyblue-100", e.Royalblue10 = "royalblue-10", e.Royalblue20 = "royalblue-20", e.Royalblue30 = "royalblue-30", e.Royalblue40 = "royalblue-40", e.Royalblue50 = "royalblue-50", e.Royalblue60 = "royalblue-60", e.Royalblue70 = "royalblue-70", e.Royalblue80 = "royalblue-80", e.Royalblue90 = "royalblue-90", e.Royalblue100 = "royalblue-100", e.Violet10 = "violet-10", e.Violet20 = "violet-20", e.Violet30 = "violet-30", e.Violet40 = "violet-40", e.Violet50 = "violet-50", e.Violet60 = "violet-60", e.Violet70 = "violet-70", e.Violet80 = "violet-80", e.Violet90 = "violet-90", e.Violet100 = "violet-100", e.Darkteal10 = "darkteal-10", e.Darkteal20 = "darkteal-20", e.Darkteal30 = "darkteal-30", e.Darkteal40 = "darkteal-40", e.Darkteal50 = "darkteal-50", e.Darkteal60 = "darkteal-60", e.Darkteal70 = "darkteal-70", e.Darkteal80 = "darkteal-80", e.Darkteal90 = "darkteal-90", e.Darkteal100 = "darkteal-100", e.Gold10 = "gold-10", e.Gold20 = "gold-20", e.Gold30 = "gold-30", e.Gold40 = "gold-40", e.Gold50 = "gold-50", e.Gold60 = "gold-60", e.Gold70 = "gold-70", e.Gold80 = "gold-80", e.Gold90 = "gold-90", e.Gold100 = "gold-100", e))(rn || {}), yt = /* @__PURE__ */ ((e) => (e.SkyTeal = "skyblue-darkteal", e.VioletRoyal = "violet-royalblue", e.VioletTeal = "violet-darkteal", e.GoldTeal = "gold-darkteal", e.GoldRoyal = "gold-royalblue", e))(yt || {}), _t = /* @__PURE__ */ ((e) => (e.White = "white", e.Black = "black", e.Green = "green", e.Yellow = "yellow", e.Orange = "orange", e.Red = "red", e.Grey = "grey", e.Grey10 = "grey-10", e.Grey20 = "grey-20", e.Grey30 = "grey-30", e.Grey40 = "grey-40", e.Grey50 = "grey-50", e.Grey60 = "grey-60", e.Grey70 = "grey-70", e.Grey80 = "grey-80", e.Grey90 = "grey-90", e.Grey100 = "grey-100", e))(_t || {}), kt = /* @__PURE__ */ ((e) => (e["01"] = "01", e["02"] = "02", e["03"] = "03", e["04"] = "04", e["05"] = "05", e["06"] = "06", e["07"] = "07", e["08"] = "08", e["09"] = "09", e))(kt || {});
705
+ const vo = Oe.Categorical, Ve = fe.Skyblue, fo = yt.SkyTeal;
706
706
  function mo(e) {
707
- return e === we.Divergent ? fo : Ve;
707
+ return e === Oe.Divergent ? fo : Ve;
708
708
  }
709
709
  function po(e) {
710
710
  return Object.values(kt).includes(e);
711
711
  }
712
712
  function Dt(e, n) {
713
- return n === we.Divergent ? Object.values(yt).includes(e) : Object.values({
713
+ return n === Oe.Divergent ? Object.values(yt).includes(e) : Object.values({
714
714
  ...fe,
715
715
  ...rn,
716
716
  ..._t,
@@ -732,11 +732,11 @@ function yo(e, n) {
732
732
  function Bt(e, n, t) {
733
733
  switch (n) {
734
734
  default:
735
- case we.Categorical:
735
+ case Oe.Categorical:
736
736
  return po(e) ? e : go(e, t);
737
- case we.Sequential:
737
+ case Oe.Sequential:
738
738
  return ho(e, t);
739
- case we.Divergent:
739
+ case Oe.Divergent:
740
740
  return yo(e, t);
741
741
  }
742
742
  }
@@ -918,7 +918,7 @@ function $o() {
918
918
  t.unobserve(e.value);
919
919
  }), { resizeState: n, resizeRef: e };
920
920
  }
921
- const Io = ["height"], xo = ["transform"], Oo = /* @__PURE__ */ Q({
921
+ const Io = ["height"], xo = ["transform"], wo = /* @__PURE__ */ Q({
922
922
  __name: "lume-chart-container",
923
923
  props: {
924
924
  margins: {
@@ -960,7 +960,7 @@ const Io = ["height"], xo = ["transform"], Oo = /* @__PURE__ */ Q({
960
960
  outerHeight: c
961
961
  };
962
962
  o("resize", k);
963
- }), (d, c) => (_(), O("div", {
963
+ }), (d, c) => (_(), w("div", {
964
964
  ref_key: "resizeRef",
965
965
  ref: i,
966
966
  class: ae(["lume-chart-container", {
@@ -969,7 +969,7 @@ const Io = ["height"], xo = ["transform"], Oo = /* @__PURE__ */ Q({
969
969
  "data-j-chart-container": ""
970
970
  }, [
971
971
  G(d.$slots, "header", {}, void 0, !0),
972
- (_(), O("svg", {
972
+ (_(), w("svg", {
973
973
  ref_key: "root",
974
974
  ref: l,
975
975
  class: ae(["lume-chart-container__svg", {
@@ -993,7 +993,7 @@ const Io = ["height"], xo = ["transform"], Oo = /* @__PURE__ */ Q({
993
993
  G(d.$slots, "extra", {}, void 0, !0)
994
994
  ], 2));
995
995
  }
996
- }), wo = /* @__PURE__ */ oe(Oo, [["__scopeId", "data-v-d53cdc3e"]]), No = ["onClick", "onMouseenter"], Eo = /* @__PURE__ */ Q({
996
+ }), Oo = /* @__PURE__ */ oe(wo, [["__scopeId", "data-v-d53cdc3e"]]), No = ["onClick", "onMouseenter"], Eo = /* @__PURE__ */ Q({
997
997
  __name: "lume-chart-legend",
998
998
  props: {
999
999
  data: {
@@ -1005,12 +1005,12 @@ const Io = ["height"], xo = ["transform"], Oo = /* @__PURE__ */ Q({
1005
1005
  emits: ["click", "mouseenter", "mouseleave"],
1006
1006
  setup(e, { emit: n }) {
1007
1007
  const t = n;
1008
- return (o, a) => (_(), O("div", {
1008
+ return (o, a) => (_(), w("div", {
1009
1009
  class: "lume-chart-legend",
1010
1010
  "data-j-chart-legend": "",
1011
1011
  onMouseleave: a[0] || (a[0] = (r) => t("mouseleave"))
1012
1012
  }, [
1013
- (_(!0), O(te, null, J(e.data, (r, l) => (_(), O("div", {
1013
+ (_(!0), w(te, null, J(e.data, (r, l) => (_(), w("div", {
1014
1014
  key: `legend-item-${l}`,
1015
1015
  class: "lume-chart-legend__item lume-typography--caption",
1016
1016
  tabindex: "0",
@@ -1031,7 +1031,7 @@ const Io = ["height"], xo = ["transform"], Oo = /* @__PURE__ */ Q({
1031
1031
  "data-j-tooltip__title": ""
1032
1032
  };
1033
1033
  function Ho(e, n) {
1034
- return _(), O("div", Bo, [
1034
+ return _(), w("div", Bo, [
1035
1035
  G(e.$slots, "default", {}, void 0, !0)
1036
1036
  ]);
1037
1037
  }
@@ -1040,7 +1040,7 @@ const Mo = /* @__PURE__ */ oe(Do, [["render", Ho], ["__scopeId", "data-v-8af3fac
1040
1040
  "data-j-tooltip__summary-item": ""
1041
1041
  }, Go = { class: "lume-tooltip__value" };
1042
1042
  function Fo(e, n) {
1043
- return _(), O("li", Ro, [
1043
+ return _(), w("li", Ro, [
1044
1044
  j("span", null, [
1045
1045
  G(e.$slots, "default", {}, void 0, !0)
1046
1046
  ]),
@@ -1064,8 +1064,8 @@ const jo = /* @__PURE__ */ oe(So, [["render", Fo], ["__scopeId", "data-v-4ed7ec1
1064
1064
  }
1065
1065
  },
1066
1066
  setup(e) {
1067
- return (n, t) => (_(), O("li", Co, [
1068
- e.color ? (_(), O("span", {
1067
+ return (n, t) => (_(), w("li", Co, [
1068
+ e.color ? (_(), w("span", {
1069
1069
  key: 0,
1070
1070
  class: ae([[`lume-background-color--${e.color}`], "lume-tooltip__symbol"]),
1071
1071
  "data-j-tooltip__item__symbol": ""
@@ -1174,7 +1174,7 @@ const jo = /* @__PURE__ */ oe(So, [["render", Fo], ["__scopeId", "data-v-4ed7ec1
1174
1174
  async (D, H) => {
1175
1175
  !H && D ? (await at(), y()) : E();
1176
1176
  }
1177
- ), $e(y), Yt(I), (D, H) => e.opened && e.targetElement ? (_(), O("div", {
1177
+ ), $e(y), Yt(I), (D, H) => e.opened && e.targetElement ? (_(), w("div", {
1178
1178
  key: 0,
1179
1179
  ref_key: "root",
1180
1180
  ref: a,
@@ -1182,8 +1182,8 @@ const jo = /* @__PURE__ */ oe(So, [["render", Fo], ["__scopeId", "data-v-4ed7ec1
1182
1182
  "lume-tooltip--pointer-events": v(l).withPointerEvents
1183
1183
  }]),
1184
1184
  "data-j-tooltip": "",
1185
- onMouseenter: H[0] || (H[0] = (w) => o("tooltip-mouseenter")),
1186
- onMouseleave: H[1] || (H[1] = (w) => o("tooltip-mouseleave"))
1185
+ onMouseenter: H[0] || (H[0] = (O) => o("tooltip-mouseenter")),
1186
+ onMouseleave: H[1] || (H[1] = (O) => o("tooltip-mouseleave"))
1187
1187
  }, [
1188
1188
  G(D.$slots, "default", {}, () => [
1189
1189
  G(D.$slots, "title", {}, () => [
@@ -1211,17 +1211,17 @@ const jo = /* @__PURE__ */ oe(So, [["render", Fo], ["__scopeId", "data-v-4ed7ec1
1211
1211
  } : void 0
1212
1212
  ]), 1024)) : Z("", !0)
1213
1213
  ], !0),
1214
- g.value ? (_(), O("li", Xo, Ko)) : Z("", !0),
1214
+ g.value ? (_(), w("li", Xo, Ko)) : Z("", !0),
1215
1215
  G(D.$slots, "items", {}, () => [
1216
- (_(!0), O(te, null, J(f.value, (w) => (_(), q(v(Wo), {
1217
- key: w.label,
1218
- color: w.color
1216
+ (_(!0), w(te, null, J(f.value, (O) => (_(), q(v(Wo), {
1217
+ key: O.label,
1218
+ color: O.color
1219
1219
  }, {
1220
1220
  label: U(() => [
1221
- pe(re(w.label), 1)
1221
+ pe(re(O.label), 1)
1222
1222
  ]),
1223
1223
  value: U(() => [
1224
- pe(re(k.value(w.value)), 1)
1224
+ pe(re(k.value(O.value)), 1)
1225
1225
  ]),
1226
1226
  _: 2
1227
1227
  }, 1032, ["color"]))), 128))
@@ -1297,8 +1297,8 @@ const jo = /* @__PURE__ */ oe(So, [["render", Fo], ["__scopeId", "data-v-4ed7ec1
1297
1297
  transform: `translate(${$}, 0)`
1298
1298
  };
1299
1299
  }
1300
- return (d, c) => (_(), O("g", qo, [
1301
- (_(!0), O(te, null, J(u.value, (p, b) => (_(), q(v(ht), V(s(b), {
1300
+ return (d, c) => (_(), w("g", qo, [
1301
+ (_(!0), w(te, null, J(u.value, (p, b) => (_(), q(v(ht), V(s(b), {
1302
1302
  key: `overlay-${b}`,
1303
1303
  "data-j-lume-overlay-group": b,
1304
1304
  transition: !1,
@@ -1455,7 +1455,7 @@ const da = { class: "lume-chart__header" }, va = { class: "lume-chart__header-se
1455
1455
  }
1456
1456
  },
1457
1457
  setup(e, { emit: n }) {
1458
- const t = e, o = de(), a = n, { data: r, labels: l, color: i, options: u, orientation: s, chartType: d } = le(t), c = S(-1), p = S(null), b = S(null), k = S([]), L = S(null), $ = S(0), g = S(0), { allOptions: f } = _e(u), { internalData: y, computedLabels: I, containerSize: E, updateSize: D, chartID: H } = Lt(r, l, i, f, s), { xScale: w, yScale: P } = Ao(
1458
+ const t = e, o = de(), a = n, { data: r, labels: l, color: i, options: u, orientation: s, chartType: d } = le(t), c = S(-1), p = S(null), b = S(null), k = S([]), L = S(null), $ = S(0), g = S(0), { allOptions: f } = _e(u), { internalData: y, computedLabels: I, containerSize: E, updateSize: D, chartID: H } = Lt(r, l, i, f, s), { xScale: O, yScale: P } = Ao(
1459
1459
  y,
1460
1460
  I,
1461
1461
  E,
@@ -1468,7 +1468,7 @@ const da = { class: "lume-chart__header" }, va = { class: "lume-chart__header-se
1468
1468
  left: ca(f.value.margins, g.value)
1469
1469
  })), Y = m(() => {
1470
1470
  var T;
1471
- return t.xScale ? St(t.xScale) ? t.xScale : (T = t.xScale) == null ? void 0 : T.call(t, y.value, l.value, E) : w.value;
1471
+ return t.xScale ? St(t.xScale) ? t.xScale : (T = t.xScale) == null ? void 0 : T.call(t, y.value, l.value, E) : O.value;
1472
1472
  }), ne = m(() => {
1473
1473
  var T;
1474
1474
  return t.yScale ? St(t.yScale) ? t.yScale : (T = t.yScale) == null ? void 0 : T.call(t, y.value, l.value, E) : P.value;
@@ -1509,7 +1509,7 @@ const da = { class: "lume-chart__header" }, va = { class: "lume-chart__header-se
1509
1509
  s,
1510
1510
  y,
1511
1511
  d
1512
- ), { tooltipConfig: Oe, showTooltip: et, hideTooltip: ze } = la(), { getTooltipItems: We } = ua(y), Be = m(
1512
+ ), { tooltipConfig: we, showTooltip: et, hideTooltip: ze } = la(), { getTooltipItems: We } = ua(y), Be = m(
1513
1513
  () => {
1514
1514
  var T;
1515
1515
  return ((T = f.value.tooltipOptions) == null ? void 0 : T.position) || "top";
@@ -1517,7 +1517,7 @@ const da = { class: "lume-chart__header" }, va = { class: "lume-chart__header-se
1517
1517
  ), x = m(() => {
1518
1518
  var A;
1519
1519
  const T = (A = f.value.tooltipOptions) == null ? void 0 : A.withPointerEvents;
1520
- return Oe.opened && (!T || T && L.value === !1);
1520
+ return we.opened && (!T || T && L.value === !1);
1521
1521
  });
1522
1522
  function M(T) {
1523
1523
  var N;
@@ -1568,10 +1568,10 @@ const da = { class: "lume-chart__header" }, va = { class: "lume-chart__header-se
1568
1568
  },
1569
1569
  { flush: "post" }
1570
1570
  ), X(L, (T) => {
1571
- T === !1 && Oe.opened && h();
1571
+ T === !1 && we.opened && h();
1572
1572
  }), $e(async () => {
1573
1573
  a("rendered"), o.groups || console.error('"groups" `<slot>` must have content.');
1574
- }), nt("chartID", H), nt("isEmpty", R), nt("tooltipAnchorAttributes", k), (T, A) => (_(), q(v(wo), {
1574
+ }), nt("chartID", H), nt("isEmpty", R), nt("tooltipAnchorAttributes", k), (T, A) => (_(), q(v(Oo), {
1575
1575
  id: `lume-chart_${v(H)}`,
1576
1576
  ref_key: "chartContainer",
1577
1577
  ref: b,
@@ -1589,13 +1589,13 @@ const da = { class: "lume-chart__header" }, va = { class: "lume-chart__header-se
1589
1589
  header: U(() => [
1590
1590
  j("div", da, [
1591
1591
  j("div", va, [
1592
- T.title ? (_(), O("h1", fa, re(T.title), 1)) : Z("", !0),
1592
+ T.title ? (_(), w("h1", fa, re(T.title), 1)) : Z("", !0),
1593
1593
  j("div", ma, [
1594
1594
  G(T.$slots, "controls", {}, void 0, !0)
1595
1595
  ])
1596
1596
  ]),
1597
1597
  j("div", pa, [
1598
- F.value ? (_(), O("h3", ga, re(De.value), 1)) : Z("", !0),
1598
+ F.value ? (_(), w("h3", ga, re(De.value), 1)) : Z("", !0),
1599
1599
  G(T.$slots, "legend", { data: v(y) }, () => [
1600
1600
  v(f).withLegend !== !1 && v(f).legendPosition !== "bottom" ? (_(), q(v(Gt), {
1601
1601
  key: 0,
@@ -1611,7 +1611,7 @@ const da = { class: "lume-chart__header" }, va = { class: "lume-chart__header-se
1611
1611
  ])
1612
1612
  ]),
1613
1613
  footer: U(() => [
1614
- Se.value ? (_(), O("h3", _a, re(xe.value), 1)) : Z("", !0),
1614
+ Se.value ? (_(), w("h3", _a, re(xe.value), 1)) : Z("", !0),
1615
1615
  v(f).withLegend !== !1 && v(f).legendPosition == "bottom" ? (_(), q(v(Gt), {
1616
1616
  key: 1,
1617
1617
  data: v(y),
@@ -1623,7 +1623,7 @@ const da = { class: "lume-chart__header" }, va = { class: "lume-chart__header-se
1623
1623
  }, null, 8, ["data"])) : Z("", !0)
1624
1624
  ]),
1625
1625
  extra: U(() => [
1626
- G(T.$slots, "tooltip", V(v(Oe), {
1626
+ G(T.$slots, "tooltip", V(v(we), {
1627
1627
  data: v(y),
1628
1628
  labels: v(I),
1629
1629
  title: v(I)[c.value],
@@ -1635,7 +1635,7 @@ const da = { class: "lume-chart__header" }, va = { class: "lume-chart__header-se
1635
1635
  handleMouseLeave: () => L.value = !1,
1636
1636
  options: v(f).tooltipOptions
1637
1637
  }), () => [
1638
- v(f).withTooltip !== !1 ? (_(), q(v(Qo), V({ key: 0 }, v(Oe), {
1638
+ v(f).withTooltip !== !1 ? (_(), q(v(Qo), V({ key: 0 }, v(we), {
1639
1639
  position: Be.value,
1640
1640
  title: v(I)[c.value],
1641
1641
  items: v(We)(c.value),
@@ -1665,7 +1665,7 @@ const da = { class: "lume-chart__header" }, va = { class: "lume-chart__header-se
1665
1665
  ], !0)
1666
1666
  ]),
1667
1667
  default: U(() => [
1668
- C.value ? (_(), O(te, { key: 0 }, [
1668
+ C.value ? (_(), w(te, { key: 0 }, [
1669
1669
  v(ue) ? (_(), q(v(ht), V({ key: 0 }, v(ke), {
1670
1670
  "class-list": "lume-fill--negative",
1671
1671
  transition: !1,
@@ -1715,8 +1715,8 @@ const da = { class: "lume-chart__header" }, va = { class: "lume-chart__header-se
1715
1715
  "data-j-lume-chart__overlay-group": "",
1716
1716
  "onLume__internal-Hover": M
1717
1717
  }, null, 8, ["data", "orientation", "x-scale", "y-scale"])) : Z("", !0),
1718
- v(Re) ? (_(), O("g", ha, [
1719
- (_(!0), O(te, null, J(k.value, (N, be) => (_(), O("circle", V(N, {
1718
+ v(Re) ? (_(), w("g", ha, [
1719
+ (_(!0), w(te, null, J(k.value, (N, be) => (_(), w("circle", V(N, {
1720
1720
  ref_for: !0,
1721
1721
  ref_key: "tooltipAnchor",
1722
1722
  ref: p,
@@ -1774,7 +1774,7 @@ const da = { class: "lume-chart__header" }, va = { class: "lume-chart__header-se
1774
1774
  { immediate: !0 }
1775
1775
  ), X(r, async (i) => {
1776
1776
  i !== t.maxWidth && (await at(), o("lume__internal--node-resize"));
1777
- }), (i, u) => e.maxWidth ? (_(), O("foreignObject", {
1777
+ }), (i, u) => e.maxWidth ? (_(), w("foreignObject", {
1778
1778
  key: 1,
1779
1779
  class: "lume-alluvial-group__node-foreign",
1780
1780
  y: e.bottom ? "0.1em" : -l.value + 1,
@@ -1791,7 +1791,7 @@ const da = { class: "lume-chart__header" }, va = { class: "lume-chart__header-se
1791
1791
  G(i.$slots, "default", {}, void 0, !0)
1792
1792
  ], 512)
1793
1793
  ])
1794
- ], 8, $a)) : (_(), O("text", {
1794
+ ], 8, $a)) : (_(), w("text", {
1795
1795
  key: 0,
1796
1796
  class: "lume-alluvial-group__node-label",
1797
1797
  dy: e.bottom ? ".2em" : "-.2em",
@@ -1800,19 +1800,19 @@ const da = { class: "lume-chart__header" }, va = { class: "lume-chart__header-se
1800
1800
  G(i.$slots, "default", {}, void 0, !0)
1801
1801
  ], 8, Ta));
1802
1802
  }
1803
- }), Oa = /* @__PURE__ */ oe(xa, [["__scopeId", "data-v-7126dfdb"]]), wa = ["y", "dominant-baseline"], Na = /* @__PURE__ */ Q({
1803
+ }), wa = /* @__PURE__ */ oe(xa, [["__scopeId", "data-v-7126dfdb"]]), Oa = ["y", "dominant-baseline"], Na = /* @__PURE__ */ Q({
1804
1804
  __name: "lume-alluvial-node-value",
1805
1805
  props: {
1806
1806
  bottom: { type: Boolean, default: !0 }
1807
1807
  },
1808
1808
  setup(e) {
1809
- return (n, t) => (_(), O("text", {
1809
+ return (n, t) => (_(), w("text", {
1810
1810
  class: "lume-alluvial-group__node-value",
1811
1811
  y: e.bottom ? ".2em" : "-.2em",
1812
1812
  "dominant-baseline": e.bottom ? "hanging" : "auto"
1813
1813
  }, [
1814
1814
  G(n.$slots, "default", {}, void 0, !0)
1815
- ], 8, wa));
1815
+ ], 8, Oa));
1816
1816
  }
1817
1817
  }), Ea = /* @__PURE__ */ oe(Na, [["__scopeId", "data-v-b4fc758b"]]), Da = ["transform"], Ba = ["transform"], Ha = ["transform"], Ma = /* @__PURE__ */ Q({
1818
1818
  __name: "lume-alluvial-node-header",
@@ -1833,7 +1833,7 @@ const da = { class: "lume-chart__header" }, va = { class: "lume-chart__header-se
1833
1833
  ), l = m(
1834
1834
  () => t.value && `translate(${a.value + o.value}, 0)`
1835
1835
  );
1836
- return (i, u) => (_(), O("g", {
1836
+ return (i, u) => (_(), w("g", {
1837
1837
  transform: `translate(${e.x}, ${e.y})`
1838
1838
  }, [
1839
1839
  j("g", { transform: r.value }, [
@@ -2254,7 +2254,7 @@ function sl(e, n, t) {
2254
2254
  value: E,
2255
2255
  deriveColorFromIncomingLinks: D,
2256
2256
  expandableNodes: H,
2257
- offset: w
2257
+ offset: O
2258
2258
  }) => ({
2259
2259
  label: y || E.toString(),
2260
2260
  color: I,
@@ -2262,7 +2262,7 @@ function sl(e, n, t) {
2262
2262
  id: E,
2263
2263
  deriveColorFromIncomingLinks: D,
2264
2264
  expandableNodes: H,
2265
- offset: w
2265
+ offset: O
2266
2266
  })
2267
2267
  );
2268
2268
  }), c = m(
@@ -2272,10 +2272,10 @@ function sl(e, n, t) {
2272
2272
  (y) => {
2273
2273
  var I;
2274
2274
  return (I = y.targets) == null ? void 0 : I.map(
2275
- ({ node: E, value: D, color: H, curveFunction: w }) => ({
2275
+ ({ node: E, value: D, color: H, curveFunction: O }) => ({
2276
2276
  id: `${y.value}:${E}`,
2277
2277
  color: H,
2278
- curveFunction: w,
2278
+ curveFunction: O,
2279
2279
  source: y.value ?? y.label,
2280
2280
  target: E,
2281
2281
  value: D
@@ -2302,8 +2302,8 @@ function sl(e, n, t) {
2302
2302
  (P) => P.source.id === y
2303
2303
  ), H = f.links.filter(
2304
2304
  (P) => P.target.id === y
2305
- ), w = E - I;
2306
- D.forEach((P) => P.y0 += w), H.forEach((P) => P.y1 += w);
2305
+ ), O = E - I;
2306
+ D.forEach((P) => P.y0 += O), H.forEach((P) => P.y1 += O);
2307
2307
  }
2308
2308
  const $ = m(() => {
2309
2309
  var g;
@@ -2445,15 +2445,15 @@ const ml = {
2445
2445
  var x, M;
2446
2446
  return (M = (x = L.value) == null ? void 0 : x.nodes) != null && M.length ? Tt(L.value.nodes) : 0;
2447
2447
  }
2448
- ), w = m(() => {
2448
+ ), O = m(() => {
2449
2449
  if (!k.value) return [];
2450
2450
  const x = k.value.length - 1;
2451
2451
  return k.value.map(([{ x0: M, x1: h }], z) => z === 0 && l.value.alignFirstNodeLabels === "right" ? { x: M, align: "left" } : z === x && l.value.alignLastNodeLabels === "left" ? { x: h, align: "right" } : { x: (M + h) / 2, align: "center" });
2452
2452
  }), P = m(() => {
2453
2453
  if (!(!l.value.nodeHeaders || !l.value.nodeHeaders.length))
2454
- return l.value.nodeHeaders.slice(0, w.value.length).map((x, M) => ({
2454
+ return l.value.nodeHeaders.slice(0, O.value.length).map((x, M) => ({
2455
2455
  label: x,
2456
- ...w.value[M]
2456
+ ...O.value[M]
2457
2457
  }));
2458
2458
  }), K = m(
2459
2459
  () => l.value.nodeHeaderPadding ?? La
@@ -2524,7 +2524,7 @@ const ml = {
2524
2524
  function Re(x) {
2525
2525
  E.value && C(x);
2526
2526
  }
2527
- function Oe(x, M) {
2527
+ function we(x, M) {
2528
2528
  x !== f.value && (f.value = x, o("link-mouseenter", { link: x, event: M }));
2529
2529
  }
2530
2530
  function et(x) {
@@ -2564,9 +2564,9 @@ const ml = {
2564
2564
  }), X(
2565
2565
  () => [l.value.alignFirstNodeLabels, l.value.alignLastNodeLabels],
2566
2566
  Be
2567
- ), X(() => t.hoveredElementId, ze), (x, M) => (_(), O("g", ml, [
2568
- P.value ? (_(), O("g", pl, [
2569
- (_(!0), O(te, null, J(P.value, (h, z) => G(x.$slots, `node-header-${z}`, {
2567
+ ), X(() => t.hoveredElementId, ze), (x, M) => (_(), w("g", ml, [
2568
+ P.value ? (_(), w("g", pl, [
2569
+ (_(!0), w(te, null, J(P.value, (h, z) => G(x.$slots, `node-header-${z}`, {
2570
2570
  align: h.align,
2571
2571
  x: h.x,
2572
2572
  y: -K.value
@@ -2588,8 +2588,8 @@ const ml = {
2588
2588
  class: "lume-alluvial-link-group",
2589
2589
  onMouseleave: et
2590
2590
  }, [
2591
- v(l).gradient ? (_(), O("defs", gl, [
2592
- (_(!0), O(te, null, J(Y.value, (h, z) => (_(), O("linearGradient", {
2591
+ v(l).gradient ? (_(), w("defs", gl, [
2592
+ (_(!0), w(te, null, J(Y.value, (h, z) => (_(), w("linearGradient", {
2593
2593
  id: `${v(a)}_${z}`,
2594
2594
  key: z,
2595
2595
  gradientUnits: "userSpaceOnUse",
@@ -2606,7 +2606,7 @@ const ml = {
2606
2606
  }, null, 8, _l)
2607
2607
  ], 8, hl))), 128))
2608
2608
  ])) : Z("", !0),
2609
- (_(!0), O(te, null, J(u.value, (h) => (_(), O("path", {
2609
+ (_(!0), w(te, null, J(u.value, (h) => (_(), w("path", {
2610
2610
  key: `link-ghost_${h.id}`,
2611
2611
  class: ae(["lume-alluvial-group__link", [
2612
2612
  "lume-stroke--transparent",
@@ -2616,9 +2616,9 @@ const ml = {
2616
2616
  "stroke-width": h.strokeWidth + v(ba),
2617
2617
  "data-j-alluvial-ghost": "",
2618
2618
  onClick: (z) => o("link-click", { link: h.link, event: z }),
2619
- onMouseover: (z) => Oe(h.link, z)
2619
+ onMouseover: (z) => we(h.link, z)
2620
2620
  }, null, 40, kl))), 128)),
2621
- (_(!0), O(te, null, J(u.value, (h) => (_(), O("path", {
2621
+ (_(!0), w(te, null, J(u.value, (h) => (_(), w("path", {
2622
2622
  key: `link_${h.id}`,
2623
2623
  class: ae(["lume-alluvial-group__link", {
2624
2624
  [`lume-stroke--${h.color}`]: !v(l).gradient && h.color,
@@ -2633,10 +2633,10 @@ const ml = {
2633
2633
  "data-j-alluvial-path": "",
2634
2634
  "data-id": h.id,
2635
2635
  onClick: (z) => o("link-click", { link: h.link, event: z }),
2636
- onMouseover: (z) => Oe(h.link, z)
2636
+ onMouseover: (z) => we(h.link, z)
2637
2637
  }, null, 42, bl))), 128))
2638
2638
  ], 32),
2639
- (_(!0), O(te, null, J(i.value, (h, z) => (_(), O("g", {
2639
+ (_(!0), w(te, null, J(i.value, (h, z) => (_(), w("g", {
2640
2640
  key: `node-block_${z}`,
2641
2641
  class: ae(["lume-alluvial-group__node", {
2642
2642
  "lume-alluvial-group__node--expandable": v($)(
@@ -2652,8 +2652,8 @@ const ml = {
2652
2652
  tabindex: v($)(h.node.id) ? "0" : null,
2653
2653
  onClick: (W) => ue(h.node, W),
2654
2654
  onKeydown: [
2655
- xt(Ot((W) => ke(h.node, W), ["prevent"]), ["enter"]),
2656
- xt(Ot((W) => ke(h.node, W), ["prevent"]), ["space"])
2655
+ xt(wt((W) => ke(h.node, W), ["prevent"]), ["enter"]),
2656
+ xt(wt((W) => ke(h.node, W), ["prevent"]), ["space"])
2657
2657
  ],
2658
2658
  onMouseenter: (W) => o("node-mouseenter", { node: h.node, event: W }),
2659
2659
  onMouseleave: (W) => o("node-mouseleave", { node: h.node, event: W }),
@@ -2662,13 +2662,13 @@ const ml = {
2662
2662
  onFocus: (W) => c.value = h.node,
2663
2663
  onBlur: M[1] || (M[1] = (W) => c.value = null)
2664
2664
  }, [
2665
- R(h) ? (_(!0), O(te, { key: 0 }, J(We(
2665
+ R(h) ? (_(!0), w(te, { key: 0 }, J(We(
2666
2666
  h.node.id
2667
- ), (W) => (_(), O("rect", V(W, {
2667
+ ), (W) => (_(), w("rect", V(W, {
2668
2668
  key: W.key,
2669
2669
  "data-j-alluvial-sub-nodes": "",
2670
2670
  onClick: (se) => Re(h.node)
2671
- }), null, 16, Al))), 128)) : (_(), O("rect", {
2671
+ }), null, 16, Al))), 128)) : (_(), w("rect", {
2672
2672
  key: 1,
2673
2673
  class: ae(["lume-alluvial-group__node-block", `lume-fill--${h.node.color || h.node.fallbackColor}`]),
2674
2674
  x: h.x,
@@ -2677,7 +2677,7 @@ const ml = {
2677
2677
  width: h.width,
2678
2678
  onClick: (W) => Re(h.node)
2679
2679
  }, null, 10, Tl)),
2680
- v($)(h.node.id) ? (_(), O("rect", {
2680
+ v($)(h.node.id) ? (_(), w("rect", {
2681
2681
  key: 2,
2682
2682
  class: ae(["lume-alluvial-group__node-outline", `lume-stroke--${h.node.color || h.node.fallbackColor}`]),
2683
2683
  x: h.x - v(Ze),
@@ -2708,7 +2708,7 @@ const ml = {
2708
2708
  h.node.value
2709
2709
  )
2710
2710
  }, () => [
2711
- ve(v(Oa), {
2711
+ ve(v(wa), {
2712
2712
  bottom: v(l).switchText,
2713
2713
  left: F(h.node),
2714
2714
  "max-width": v(l).nodeLabelMaxWidth,
@@ -2736,7 +2736,7 @@ const ml = {
2736
2736
  ], 2))), 128))
2737
2737
  ]));
2738
2738
  }
2739
- }), Ol = /* @__PURE__ */ oe(xl, [["__scopeId", "data-v-0f56c6f5"]]), wl = {
2739
+ }), wl = /* @__PURE__ */ oe(xl, [["__scopeId", "data-v-0f56c6f5"]]), Ol = {
2740
2740
  margins: {
2741
2741
  top: 0,
2742
2742
  right: 0,
@@ -2764,7 +2764,7 @@ const ml = {
2764
2764
  ...To(pt)
2765
2765
  },
2766
2766
  setup(e, { emit: n }) {
2767
- const t = e, { componentEventPropagator: o } = Ie(), a = Ee(de()), r = Vn(de()), { options: l } = le(t), { allOptions: i } = _e(l, wl);
2767
+ const t = e, { componentEventPropagator: o } = Ie(), a = Ee(de()), r = Vn(de()), { options: l } = le(t), { allOptions: i } = _e(l, Ol);
2768
2768
  function u(s) {
2769
2769
  return {
2770
2770
  ...s,
@@ -2777,7 +2777,7 @@ const ml = {
2777
2777
  "data-j-alluvial-diagram": ""
2778
2778
  }, ie(v(o))), ge({
2779
2779
  groups: U((c) => [
2780
- ve(v(Ol), V(c, { "hovered-element-id": s.hoveredElement }, ie(v(o))), ge({ _: 2 }, [
2780
+ ve(v(wl), V(c, { "hovered-element-id": s.hoveredElement }, ie(v(o))), ge({ _: 2 }, [
2781
2781
  J(v(r), (p, b) => ({
2782
2782
  name: b,
2783
2783
  fn: U((k) => [
@@ -2810,11 +2810,11 @@ const ku = /* @__PURE__ */ Q({
2810
2810
  },
2811
2811
  setup(e, { emit: n }) {
2812
2812
  const t = ot(
2813
- () => import("./0W8x2hzC.js")
2813
+ () => import("./BgaIG7xN.js")
2814
2814
  ), o = ot(
2815
- () => import("./Cv9UKwcP.js")
2815
+ () => import("./DQ1wPLy9.js")
2816
2816
  ), a = ot(
2817
- () => import("./DAIy0MBF.js")
2817
+ () => import("./Cd2sV3nh.js")
2818
2818
  ), r = /* @__PURE__ */ new Map([
2819
2819
  ["single", t],
2820
2820
  ["grouped", o],
@@ -2969,13 +2969,13 @@ function Gl(e, n, t, o, a, r) {
2969
2969
  }
2970
2970
  function b(k, L, $) {
2971
2971
  if (!(n.value && t.value)) return Rl;
2972
- const { value: f, color: y } = k, I = y ?? e.value[L].color ?? Object.values(fe)[L], E = s(f, $, L), D = d(f, $, L), H = c(f), w = p(f);
2972
+ const { value: f, color: y } = k, I = y ?? e.value[L].color ?? Object.values(fe)[L], E = s(f, $, L), D = d(f, $, L), H = c(f), O = p(f);
2973
2973
  return {
2974
2974
  classList: [`lume-fill--${I}`, ...r],
2975
2975
  x: E,
2976
2976
  y: D,
2977
2977
  width: H,
2978
- height: w,
2978
+ height: O,
2979
2979
  isFaded: a.value !== -1 && a.value !== $,
2980
2980
  isNegative: f < 0
2981
2981
  };
@@ -3052,7 +3052,7 @@ function jl(e, n, t, o, a, r) {
3052
3052
  return g ? u.value.reduce((y, I, E) => (E < g && I[f] < 0 && (y += I[f]), y), 0) : 0;
3053
3053
  }
3054
3054
  function $(g, f, y) {
3055
- const { value: I, color: E } = g, D = I >= 0 ? d(I) : c(I), H = I >= 0 ? p(I) : b(I), w = I >= 0 ? k(f, y) : L(f, y), { x: P, y: K } = s(I, y, w);
3055
+ const { value: I, color: E } = g, D = I >= 0 ? d(I) : c(I), H = I >= 0 ? p(I) : b(I), O = I >= 0 ? k(f, y) : L(f, y), { x: P, y: K } = s(I, y, O);
3056
3056
  return {
3057
3057
  classList: [`lume-fill--${E ?? e.value[f].color ?? Object.values(fe)[f]}`, ...r],
3058
3058
  width: D,
@@ -3117,17 +3117,17 @@ const Cl = {
3117
3117
  async function I(E) {
3118
3118
  o("lume__internal--hover", E), b("lume__internal--hover", E);
3119
3119
  }
3120
- return (E, D) => (_(), O("g", Cl, [
3121
- (_(!0), O(te, null, J(v(k), (H, w) => (_(), O("g", {
3122
- key: w,
3123
- onMouseenter: (P) => I(w)
3120
+ return (E, D) => (_(), w("g", Cl, [
3121
+ (_(!0), w(te, null, J(v(k), (H, O) => (_(), w("g", {
3122
+ key: O,
3123
+ onMouseenter: (P) => I(O)
3124
3124
  }, [
3125
- (_(!0), O(te, null, J(H, (P, K) => (_(), q(v(ht), V(f.value(P, K, w, H), {
3125
+ (_(!0), w(te, null, J(H, (P, K) => (_(), q(v(ht), V(f.value(P, K, O, H), {
3126
3126
  key: `bar-${K}`,
3127
3127
  transition: y.value,
3128
3128
  "data-j-lume-bar": "",
3129
3129
  onClick: (Y) => o("bar-click", {
3130
- index: w,
3130
+ index: O,
3131
3131
  datasetIndex: K,
3132
3132
  event: Y
3133
3133
  })
@@ -3308,7 +3308,7 @@ const Cl = {
3308
3308
  emits: ["click"],
3309
3309
  setup(e, { emit: n }) {
3310
3310
  const t = n, o = S(null);
3311
- return $e(() => Qe(o.value)), (a, r) => (_(), O("path", {
3311
+ return $e(() => Qe(o.value)), (a, r) => (_(), w("path", {
3312
3312
  ref_key: "root",
3313
3313
  ref: o,
3314
3314
  class: ae(["lume-line", {
@@ -3339,7 +3339,7 @@ const Cl = {
3339
3339
  emits: ["click"],
3340
3340
  setup(e, { emit: n }) {
3341
3341
  const t = e, o = n, a = S(null), r = m(() => t.radius / 2), l = m(() => t.active ? t.radius : t.visible ? ql : 0);
3342
- return $e(() => Qe(a.value)), (i, u) => (_(), O("circle", {
3342
+ return $e(() => Qe(a.value)), (i, u) => (_(), w("circle", {
3343
3343
  ref_key: "root",
3344
3344
  ref: a,
3345
3345
  class: ae(["lume-point", {
@@ -3415,7 +3415,7 @@ function ou(e, n) {
3415
3415
  return (t, o) => e(n + (o - 1));
3416
3416
  }
3417
3417
  function au(e, n, t, o) {
3418
- const a = On().x(
3418
+ const a = wn().x(
3419
3419
  he(t) ? nu(t, e) : ou(t, e)
3420
3420
  ).y((r) => o(r));
3421
3421
  return n.every((r) => r == null) ? null : a(n);
@@ -3454,20 +3454,20 @@ const lu = {
3454
3454
  ), c = m(() => {
3455
3455
  if (a.value.every((P) => P.isDashed))
3456
3456
  return a.value;
3457
- const { computedLineData: w } = hn(
3457
+ const { computedLineData: O } = hn(
3458
3458
  a,
3459
3459
  i
3460
3460
  );
3461
- return r.value.withTooltip !== !1 && (s != null && s.value) && d(w.value), w.value;
3461
+ return r.value.withTooltip !== !1 && (s != null && s.value) && d(O.value), O.value;
3462
3462
  }), p = m(() => {
3463
3463
  if (t.hoveredIndex === -1) return;
3464
- const w = Fn(
3464
+ const O = Fn(
3465
3465
  c.value,
3466
3466
  t.hoveredIndex
3467
3467
  );
3468
3468
  return {
3469
3469
  d: `M ${rt(l.value, t.hoveredIndex)},${i.value.range()[1]}
3470
- V ${i.value(w)}`
3470
+ V ${i.value(O)}`
3471
3471
  // Move to X index, Vertical line to the highest point
3472
3472
  };
3473
3473
  }), b = m(
@@ -3475,8 +3475,8 @@ const lu = {
3475
3475
  // Subtracting the first line (read below)
3476
3476
  ), k = m(
3477
3477
  () => {
3478
- var w;
3479
- return ((w = r.value) == null ? void 0 : w.lineWidth) * 2 || void 0;
3478
+ var O;
3479
+ return ((O = r.value) == null ? void 0 : O.lineWidth) * 2 || void 0;
3480
3480
  }
3481
3481
  // If no `lineWidth`, returns NaN which needs to be undefined
3482
3482
  ), L = m(
@@ -3486,50 +3486,50 @@ const lu = {
3486
3486
  ), f = m(
3487
3487
  () => r.value.withPoints === "visible" || t.withPoints === "visible"
3488
3488
  );
3489
- function y(w) {
3490
- return c.value[w].values;
3489
+ function y(O) {
3490
+ return c.value[O].values;
3491
3491
  }
3492
- function I(w, P) {
3492
+ function I(O, P) {
3493
3493
  var Y, ne;
3494
- const K = w === 0 ? [] : [
3495
- (Y = y(P)[w - 1]) == null ? void 0 : Y.value,
3496
- (ne = y(P)[w]) == null ? void 0 : ne.value
3494
+ const K = O === 0 ? [] : [
3495
+ (Y = y(P)[O - 1]) == null ? void 0 : Y.value,
3496
+ (ne = y(P)[O]) == null ? void 0 : ne.value
3497
3497
  ];
3498
3498
  return au(
3499
- w,
3499
+ O,
3500
3500
  K,
3501
3501
  l.value,
3502
3502
  i.value
3503
3503
  ) || "";
3504
3504
  }
3505
- function E(w) {
3505
+ function E(O) {
3506
3506
  return {
3507
- animationDelay: w < 2 ? 0 : (w - 1) * b.value,
3507
+ animationDelay: O < 2 ? 0 : (O - 1) * b.value,
3508
3508
  animationDuration: b.value
3509
3509
  };
3510
3510
  }
3511
- function D(w, P) {
3511
+ function D(O, P) {
3512
3512
  var Y;
3513
- const K = (Y = y(P)[w]) == null ? void 0 : Y.value;
3513
+ const K = (Y = y(P)[O]) == null ? void 0 : Y.value;
3514
3514
  return {
3515
- x: he(l.value) ? t.xScale($.value[w]) + L.value : t.xScale(w),
3515
+ x: he(l.value) ? t.xScale($.value[O]) + L.value : t.xScale(O),
3516
3516
  y: K === null ? i.value(i.value.domain()[1]) : i.value(K)
3517
3517
  };
3518
3518
  }
3519
- function H(w) {
3520
- return t.hoveredIndex === w;
3519
+ function H(O) {
3520
+ return t.hoveredIndex === O;
3521
3521
  }
3522
- return (w, P) => (_(), O("g", lu, [
3522
+ return (O, P) => (_(), w("g", lu, [
3523
3523
  j("path", V(p.value, {
3524
3524
  class: "lume-line-group__overlay-line",
3525
3525
  "data-j-lume-line-group__overlay-line": ""
3526
3526
  }), null, 16),
3527
- (_(!0), O(te, null, J(c.value, (K, Y) => (_(), O("g", {
3527
+ (_(!0), w(te, null, J(c.value, (K, Y) => (_(), w("g", {
3528
3528
  key: K.label,
3529
3529
  class: "lume-line-group__group"
3530
3530
  }, [
3531
3531
  j("g", uu, [
3532
- (_(!0), O(te, null, J(K.values, (ne, ee) => (_(), q(v(Kl), V(E(ee), {
3532
+ (_(!0), w(te, null, J(K.values, (ne, ee) => (_(), q(v(Kl), V(E(ee), {
3533
3533
  key: `line-${ee}`,
3534
3534
  color: K.color,
3535
3535
  dashed: K.isDashed(ee),
@@ -3539,8 +3539,8 @@ const lu = {
3539
3539
  onClick: (me) => o("line-click", { index: ee, datasetIndex: Y, event: me })
3540
3540
  }), null, 16, ["color", "dashed", "path-definition", "transition", "width", "onClick"]))), 128))
3541
3541
  ]),
3542
- g.value ? (_(), O("g", ru, [
3543
- (_(!0), O(te, null, J(K.values, (ne, ee) => (_(), O(te, {
3542
+ g.value ? (_(), w("g", ru, [
3543
+ (_(!0), w(te, null, J(K.values, (ne, ee) => (_(), w(te, {
3544
3544
  key: `point-${ee}`
3545
3545
  }, [
3546
3546
  ne.isNull ? Z("", !0) : (_(), q(v(tu), V({ key: 0 }, D(ee, Y), {
@@ -3594,7 +3594,7 @@ function du(e) {
3594
3594
  if (!t || !o || he(t) || he(o))
3595
3595
  return;
3596
3596
  const a = e.value[0].values;
3597
- return wn().x((r, l) => t(l)).y0(o(Math.min(...o.domain()))).y1((r) => o(r.value))(a);
3597
+ return On().x((r, l) => t(l)).y0(o(Math.min(...o.domain()))).y1((r) => o(r.value))(a);
3598
3598
  }
3599
3599
  ) };
3600
3600
  }
@@ -3646,7 +3646,7 @@ const vu = {
3646
3646
  "x-scale": L
3647
3647
  }, ie(v(a))), ge({
3648
3648
  groups: U((f) => [
3649
- v(s).showArea ? (_(), O("path", {
3649
+ v(s).showArea ? (_(), w("path", {
3650
3650
  key: 0,
3651
3651
  class: ae([
3652
3652
  "sparkline-chart__area",
@@ -3673,7 +3673,7 @@ const vu = {
3673
3673
  export {
3674
3674
  Rt as A,
3675
3675
  rt as B,
3676
- we as C,
3676
+ Oe as C,
3677
3677
  yt as D,
3678
3678
  St as E,
3679
3679
  At as F,
@@ -3696,16 +3696,16 @@ export {
3696
3696
  Lo as W,
3697
3697
  _u as _,
3698
3698
  fe as a,
3699
- Ol as b,
3699
+ wl as b,
3700
3700
  Sa as c,
3701
- Oa as d,
3701
+ wa as d,
3702
3702
  Ea as e,
3703
3703
  Et as f,
3704
3704
  ht as g,
3705
3705
  ku as h,
3706
3706
  It as i,
3707
3707
  Me as j,
3708
- wo as k,
3708
+ Oo as k,
3709
3709
  Gt as l,
3710
3710
  Lu as m,
3711
3711
  Kl as n,
@@ -3722,4 +3722,4 @@ export {
3722
3722
  Mo as y,
3723
3723
  ta as z
3724
3724
  };
3725
- //# sourceMappingURL=Bksflyvk.js.map
3725
+ //# sourceMappingURL=BYhjdB9y.js.map