@adyen/lume 1.5.2 → 1.5.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.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as w, ref as I, isRef as _t, computed as v, watch as H, toRefs as P, inject as de, reactive as ge, onMounted as J, onBeforeUnmount as pt, watchEffect as ft, useSlots as V, provide as Ae, defineAsyncComponent as Le } from "vue";
1
+ import { defineComponent as w, ref as I, isRef as _t, computed as v, watch as C, toRefs as S, inject as de, reactive as ge, onMounted as J, onBeforeUnmount as pt, watchEffect as ft, useSlots as j, provide as Ae, defineAsyncComponent as Le } from "vue";
2
2
  import { format as Gt, ticks as Vt, scaleBand as se, scaleLinear as ce, link as jt, line as Mt, area as zt } from "d3";
3
3
  import { createPopper as Wt } from "@popperjs/core";
4
4
  import { sankeyLinkHorizontal as Zt, sankey as Xt, sankeyJustify as Ut } from "d3-sankey";
@@ -228,7 +228,7 @@ const he = (t) => {
228
228
  default: () => ({})
229
229
  }
230
230
  });
231
- function Z(t, e) {
231
+ function X(t, e) {
232
232
  return { allOptions: v(() => {
233
233
  const n = _t(e) ? e == null ? void 0 : e.value : e;
234
234
  return n ? gt(n, t.value) : t.value;
@@ -255,9 +255,9 @@ function pn(t, e, r) {
255
255
  const d = o.value / c, s = typeof r == "number" && r > 0 && r + 1 || Math.ceil(n.value / d);
256
256
  return u % s === 0;
257
257
  }
258
- return H(e, l), { showTick: i };
258
+ return C(e, l), { showTick: i };
259
259
  }
260
- var j = /* @__PURE__ */ ((t) => (t.Skyblue = "skyblue", t.Royalblue = "royalblue", t.Violet = "violet", t.Darkteal = "darkteal", t.Gold = "gold", t))(j || {}), yt = /* @__PURE__ */ ((t) => (t.Skyblue10 = "skyblue-10", t.Skyblue20 = "skyblue-20", t.Skyblue30 = "skyblue-30", t.Skyblue40 = "skyblue-40", t.Skyblue50 = "skyblue-50", t.Skyblue60 = "skyblue-60", t.Skyblue70 = "skyblue-70", t.Skyblue80 = "skyblue-80", t.Skyblue90 = "skyblue-90", t.Skyblue100 = "skyblue-100", t.Royalblue10 = "royalblue-10", t.Royalblue20 = "royalblue-20", t.Royalblue30 = "royalblue-30", t.Royalblue40 = "royalblue-40", t.Royalblue50 = "royalblue-50", t.Royalblue60 = "royalblue-60", t.Royalblue70 = "royalblue-70", t.Royalblue80 = "royalblue-80", t.Royalblue90 = "royalblue-90", t.Royalblue100 = "royalblue-100", t.Violet10 = "violet-10", t.Violet20 = "violet-20", t.Violet30 = "violet-30", t.Violet40 = "violet-40", t.Violet50 = "violet-50", t.Violet60 = "violet-60", t.Violet70 = "violet-70", t.Violet80 = "violet-80", t.Violet90 = "violet-90", t.Violet100 = "violet-100", t.Darkteal10 = "darkteal-10", t.Darkteal20 = "darkteal-20", t.Darkteal30 = "darkteal-30", t.Darkteal40 = "darkteal-40", t.Darkteal50 = "darkteal-50", t.Darkteal60 = "darkteal-60", t.Darkteal70 = "darkteal-70", t.Darkteal80 = "darkteal-80", t.Darkteal90 = "darkteal-90", t.Darkteal100 = "darkteal-100", t.Gold10 = "gold-10", t.Gold20 = "gold-20", t.Gold30 = "gold-30", t.Gold40 = "gold-40", t.Gold50 = "gold-50", t.Gold60 = "gold-60", t.Gold70 = "gold-70", t.Gold80 = "gold-80", t.Gold90 = "gold-90", t.Gold100 = "gold-100", t))(yt || {}), Ge = /* @__PURE__ */ ((t) => (t.SkyTeal = "skyblue-darkteal", t.VioletRoyal = "violet-royalblue", t.VioletTeal = "violet-darkteal", t.GoldTeal = "gold-darkteal", t.GoldRoyal = "gold-royalblue", t))(Ge || {}), Ve = /* @__PURE__ */ ((t) => (t.Grey = "grey", t.Green = "green", t.Orange = "orange", t.Red = "red", t))(Ve || {}), je = /* @__PURE__ */ ((t) => (t["01"] = "01", t["02"] = "02", t["03"] = "03", t["04"] = "04", t["05"] = "05", t["06"] = "06", t["07"] = "07", t["08"] = "08", t["09"] = "09", t))(je || {});
260
+ var M = /* @__PURE__ */ ((t) => (t.Skyblue = "skyblue", t.Royalblue = "royalblue", t.Violet = "violet", t.Darkteal = "darkteal", t.Gold = "gold", t))(M || {}), yt = /* @__PURE__ */ ((t) => (t.Skyblue10 = "skyblue-10", t.Skyblue20 = "skyblue-20", t.Skyblue30 = "skyblue-30", t.Skyblue40 = "skyblue-40", t.Skyblue50 = "skyblue-50", t.Skyblue60 = "skyblue-60", t.Skyblue70 = "skyblue-70", t.Skyblue80 = "skyblue-80", t.Skyblue90 = "skyblue-90", t.Skyblue100 = "skyblue-100", t.Royalblue10 = "royalblue-10", t.Royalblue20 = "royalblue-20", t.Royalblue30 = "royalblue-30", t.Royalblue40 = "royalblue-40", t.Royalblue50 = "royalblue-50", t.Royalblue60 = "royalblue-60", t.Royalblue70 = "royalblue-70", t.Royalblue80 = "royalblue-80", t.Royalblue90 = "royalblue-90", t.Royalblue100 = "royalblue-100", t.Violet10 = "violet-10", t.Violet20 = "violet-20", t.Violet30 = "violet-30", t.Violet40 = "violet-40", t.Violet50 = "violet-50", t.Violet60 = "violet-60", t.Violet70 = "violet-70", t.Violet80 = "violet-80", t.Violet90 = "violet-90", t.Violet100 = "violet-100", t.Darkteal10 = "darkteal-10", t.Darkteal20 = "darkteal-20", t.Darkteal30 = "darkteal-30", t.Darkteal40 = "darkteal-40", t.Darkteal50 = "darkteal-50", t.Darkteal60 = "darkteal-60", t.Darkteal70 = "darkteal-70", t.Darkteal80 = "darkteal-80", t.Darkteal90 = "darkteal-90", t.Darkteal100 = "darkteal-100", t.Gold10 = "gold-10", t.Gold20 = "gold-20", t.Gold30 = "gold-30", t.Gold40 = "gold-40", t.Gold50 = "gold-50", t.Gold60 = "gold-60", t.Gold70 = "gold-70", t.Gold80 = "gold-80", t.Gold90 = "gold-90", t.Gold100 = "gold-100", t))(yt || {}), Ge = /* @__PURE__ */ ((t) => (t.SkyTeal = "skyblue-darkteal", t.VioletRoyal = "violet-royalblue", t.VioletTeal = "violet-darkteal", t.GoldTeal = "gold-darkteal", t.GoldRoyal = "gold-royalblue", t))(Ge || {}), Ve = /* @__PURE__ */ ((t) => (t.Grey = "grey", t.Green = "green", t.Orange = "orange", t.Red = "red", t))(Ve || {}), je = /* @__PURE__ */ ((t) => (t["01"] = "01", t["02"] = "02", t["03"] = "03", t["04"] = "04", t["05"] = "05", t["06"] = "06", t["07"] = "07", t["08"] = "08", t["09"] = "09", t))(je || {});
261
261
  const L = {
262
262
  HORIZONTAL: "horizontal",
263
263
  VERTICAL: "vertical"
@@ -265,7 +265,7 @@ const L = {
265
265
  SINGLE: "single",
266
266
  GROUPED: "grouped",
267
267
  STACKED: "stacked"
268
- }, kt = "No data", Je = 20, bt = 0.33, Tt = 0.5, xt = 12, _e = 8, mn = 1, hn = [
268
+ }, kt = "No data", Je = 20, bt = 0.33, xt = 0.5, Tt = 12, _e = 8, mn = 1, hn = [
269
269
  "auto",
270
270
  "auto-start",
271
271
  "auto-end",
@@ -324,7 +324,7 @@ const At = {
324
324
  return {
325
325
  x: -(c - t.value.step()) / 2,
326
326
  width: c,
327
- height: r.value.tickPadding + xt + _e
327
+ height: r.value.tickPadding + Tt + _e
328
328
  };
329
329
  }
330
330
  function l() {
@@ -388,7 +388,7 @@ const At = {
388
388
  getTickGroupAttributes: o,
389
389
  getTickLabelAttributes: i
390
390
  };
391
- }, Tn = function(t, e, r) {
391
+ }, xn = function(t, e, r) {
392
392
  const n = v(() => {
393
393
  const u = t.value.ticks();
394
394
  return u.length > 1 ? t.value(u[1]) - t.value(u[0]) : 0;
@@ -400,7 +400,7 @@ const At = {
400
400
  }
401
401
  function a() {
402
402
  return {
403
- height: r.value.tickPadding + xt + _e,
403
+ height: r.value.tickPadding + Tt + _e,
404
404
  width: n.value,
405
405
  x: -(n.value / 2)
406
406
  };
@@ -423,7 +423,7 @@ const At = {
423
423
  getTickGroupAttributes: o,
424
424
  getTickLabelAttributes: i
425
425
  };
426
- }, xn = function(t, e, r) {
426
+ }, Tn = function(t, e, r) {
427
427
  const n = v(() => {
428
428
  const u = t.value.ticks();
429
429
  return u.length > 1 ? t.value(u[1]) - t.value(u[0]) : 0;
@@ -464,8 +464,8 @@ const At = {
464
464
  }, An = {
465
465
  "x-band-scale-axis": kn,
466
466
  "y-band-scale-axis": bn,
467
- "x-linear-scale-axis": Tn,
468
- "y-linear-scale-axis": xn
467
+ "x-linear-scale-axis": xn,
468
+ "y-linear-scale-axis": Tn
469
469
  };
470
470
  var Ee = /* @__PURE__ */ ((t) => (t.bandScale = "band-scale-axis", t.linearScale = "linear-scale-axis", t))(Ee || {}), we = /* @__PURE__ */ ((t) => (t.left = "left", t.bottom = "bottom", t))(we || {}), me = /* @__PURE__ */ ((t) => (t.x = "bottom", t.y = "left", t))(me || {});
471
471
  const Ln = /* @__PURE__ */ w({
@@ -501,19 +501,19 @@ const Ln = /* @__PURE__ */ w({
501
501
  },
502
502
  emits: ["mouseenter", "click", "mouseleave", "lume__internal--axis-size"],
503
503
  setup(t, { emit: e }) {
504
- const r = t, n = 16, { scale: o, containerSize: a, hoveredIndex: l, options: i, orientation: u } = P(r), c = de("isEmpty", I(!1)), d = ge({}), s = I(null), _ = I(null), m = I(null), f = v(
504
+ const r = t, n = 16, { scale: o, containerSize: a, hoveredIndex: l, options: i, orientation: u } = S(r), c = de("isEmpty", I(!1)), d = ge({}), s = I(null), _ = I(null), m = I(null), f = v(
505
505
  () => r.type ? me[r.type] : r.position
506
506
  ), g = v(
507
507
  () => r.type || (f.value === "left" ? "y" : "x")
508
508
  ), y = v(
509
509
  () => g.value === "x" && u.value === L.VERTICAL || g.value === "y" && u.value === L.HORIZONTAL
510
- ), { allOptions: p } = Z(
510
+ ), { allOptions: p } = X(
511
511
  i,
512
512
  g.value === "x" ? gn : yn
513
- ), { showTick: T } = pn(o, s, p.value.skip), A = v(() => {
513
+ ), { showTick: x } = pn(o, s, p.value.skip), A = v(() => {
514
514
  var $, h, O, N;
515
515
  return g.value === "y" && c.value ? `translate(0, ${(($ = a.value) == null ? void 0 : $.height) / 2})` : g.value === "x" && c.value ? `translate(-${((h = a.value) == null ? void 0 : h.width) / 2}, ${(O = a.value) == null ? void 0 : O.height})` : `translate(0, ${g.value === "x" ? (N = a.value) == null ? void 0 : N.height : 0})`;
516
- }), x = v(() => {
516
+ }), T = v(() => {
517
517
  if (oe(o.value))
518
518
  return o.value.labels || o.value.domain();
519
519
  const { tickCount: $ } = p.value, [h, O] = o.value.domain();
@@ -521,7 +521,7 @@ const Ln = /* @__PURE__ */ w({
521
521
  }), b = v(() => {
522
522
  const { tickFormat: $ } = p.value;
523
523
  return he($);
524
- }), C = v(
524
+ }), H = v(
525
525
  () => p.value.withHover && y.value && l.value > -1
526
526
  ), D = v(
527
527
  () => p.value.tickPadding + _e || n
@@ -556,23 +556,23 @@ const Ln = /* @__PURE__ */ w({
556
556
  function G($, h, O) {
557
557
  e("click", { index: $, value: h, event: O });
558
558
  }
559
- function M($) {
559
+ function z($) {
560
560
  var h;
561
561
  if (!(!s.value || !s.value.length))
562
562
  return (h = s.value[$]) == null ? void 0 : h.ref;
563
563
  }
564
564
  function q() {
565
- m.value = x.value.map(
565
+ m.value = T.value.map(
566
566
  ($, h) => ({
567
567
  value: B($),
568
568
  group: d.getTickGroupAttributes($, h),
569
- ghost: d.getTickGhostAttributes(M(h)),
569
+ ghost: d.getTickGhostAttributes(z(h)),
570
570
  label: d.getTickLabelAttributes(),
571
571
  gridline: d.getGridLinesAttributes()
572
572
  })
573
573
  );
574
574
  }
575
- function U() {
575
+ function Y() {
576
576
  const $ = o.value.step ? "bandScale" : "linearScale", h = An[`${g.value}-${Ee[$]}`];
577
577
  Object.entries(h(o, a, p) || []).forEach(
578
578
  ([O, N]) => {
@@ -580,7 +580,7 @@ const Ln = /* @__PURE__ */ w({
580
580
  }
581
581
  );
582
582
  }
583
- return H(o, U, { flush: "sync", immediate: !0 }), H(o, q, { immediate: !0 }), H(s, q), H(R, ($) => e("lume__internal--axis-size", $)), J(() => ye(_.value)), { __sfc: !0, SCALE_MIXIN_MAP: Ee, POSITIONS: we, TYPES: me, AXIS_LABEL_OFFSET: n, props: r, emit: e, scale: o, containerSize: a, hoveredIndex: l, options: i, orientation: u, isEmpty: c, mixins: d, tickRefs: s, root: _, ticksWithAttributes: m, computedPosition: f, computedType: g, shouldHover: y, allOptions: p, showTick: T, axisTransform: A, ticks: x, tickFormatter: b, isHovering: C, axisLabelOffset: D, axisSize: R, formatTick: B, handleTickMouseenter: Q, handleTickClick: G, getTextNode: M, setTicks: q, init: U, LumeTick: qt };
583
+ return C(o, Y, { flush: "sync", immediate: !0 }), C(o, q, { immediate: !0 }), C(s, q), C(R, ($) => e("lume__internal--axis-size", $)), J(() => ye(_.value)), { __sfc: !0, SCALE_MIXIN_MAP: Ee, POSITIONS: we, TYPES: me, AXIS_LABEL_OFFSET: n, props: r, emit: e, scale: o, containerSize: a, hoveredIndex: l, options: i, orientation: u, isEmpty: c, mixins: d, tickRefs: s, root: _, ticksWithAttributes: m, computedPosition: f, computedType: g, shouldHover: y, allOptions: p, showTick: x, axisTransform: A, ticks: T, tickFormatter: b, isHovering: H, axisLabelOffset: D, axisSize: R, formatTick: B, handleTickMouseenter: Q, handleTickClick: G, getTextNode: z, setTicks: q, init: Y, LumeTick: qt };
584
584
  }
585
585
  });
586
586
  var On = function() {
@@ -627,9 +627,9 @@ function Nn(t, e, r, n) {
627
627
  const o = I(0), a = I(0), l = v(() => `${t.value + r.value / 2}px ${e.value + n.value / 2}px`);
628
628
  return J(() => {
629
629
  o.value = r.value, a.value = n.value;
630
- }), H(r, (i) => o.value = i), H(n, (i) => a.value = i), { computedWidth: o, computedHeight: a, transformOrigin: l };
630
+ }), C(r, (i) => o.value = i), C(n, (i) => a.value = i), { computedWidth: o, computedHeight: a, transformOrigin: l };
631
631
  }
632
- const Cn = /* @__PURE__ */ w({
632
+ const Hn = /* @__PURE__ */ w({
633
633
  __name: "lume-bar",
634
634
  props: {
635
635
  x: {
@@ -667,13 +667,13 @@ const Cn = /* @__PURE__ */ w({
667
667
  },
668
668
  emits: ["click", "mouseover", "mouseleave"],
669
669
  setup(t, { emit: e }) {
670
- const r = t, { x: n, y: o, width: a, height: l, transition: i, classList: u } = P(r), c = I(null), d = v(
670
+ const r = t, { x: n, y: o, width: a, height: l, transition: i, classList: u } = S(r), c = I(null), d = v(
671
671
  () => typeof u.value == "string" ? [u.value] : u.value
672
- ), s = v(() => i.value === "width"), _ = v(() => i.value === "height"), m = Nn(n, o, a, l), { computedX: f, computedY: g, shouldHaveMinWidth: y, shouldHaveMinHeight: p } = wn(n, o, a, l), T = v(() => y.value ? 1 : (s.value ? m.computedWidth : a).value), A = v(() => p.value ? 1 : (_.value ? m.computedHeight : l).value), x = s.value || _.value ? m.transformOrigin : null;
673
- return J(() => ye(c.value)), { __sfc: !0, props: r, emit: e, x: n, y: o, width: a, height: l, transition: i, classList: u, root: c, computedClasses: d, shouldTransitionWidth: s, shouldTransitionHeight: _, transitionProps: m, computedX: f, computedY: g, shouldHaveMinWidth: y, shouldHaveMinHeight: p, computedWidth: T, computedHeight: A, transformOrigin: x };
672
+ ), s = v(() => i.value === "width"), _ = v(() => i.value === "height"), m = Nn(n, o, a, l), { computedX: f, computedY: g, shouldHaveMinWidth: y, shouldHaveMinHeight: p } = wn(n, o, a, l), x = v(() => y.value ? 1 : (s.value ? m.computedWidth : a).value), A = v(() => p.value ? 1 : (_.value ? m.computedHeight : l).value), T = s.value || _.value ? m.transformOrigin : null;
673
+ return J(() => ye(c.value)), { __sfc: !0, props: r, emit: e, x: n, y: o, width: a, height: l, transition: i, classList: u, root: c, computedClasses: d, shouldTransitionWidth: s, shouldTransitionHeight: _, transitionProps: m, computedX: f, computedY: g, shouldHaveMinWidth: y, shouldHaveMinHeight: p, computedWidth: x, computedHeight: A, transformOrigin: T };
674
674
  }
675
675
  });
676
- var Hn = function() {
676
+ var Cn = function() {
677
677
  var e = this, r = e._self._c, n = e._self._setupProxy;
678
678
  return r("rect", { ref: "root", staticClass: "lume-bar", class: [
679
679
  {
@@ -691,8 +691,8 @@ var Hn = function() {
691
691
  return n.emit("mouseleave", o);
692
692
  } } });
693
693
  }, Dn = [], Rn = /* @__PURE__ */ E(
694
- Cn,
695
694
  Hn,
695
+ Cn,
696
696
  Dn,
697
697
  !1,
698
698
  null,
@@ -737,7 +737,7 @@ const Sn = /* @__PURE__ */ w({
737
737
  },
738
738
  emits: ["click", "mouseenter", "mouseleave", "resize"],
739
739
  setup(t, { emit: e }) {
740
- const r = t, { margins: n, containerSize: o } = P(r), a = I(null), { resizeRef: l, resizeState: i } = Pn(), u = v(
740
+ const r = t, { margins: n, containerSize: o } = S(r), a = I(null), { resizeRef: l, resizeState: i } = Pn(), u = v(
741
741
  () => o.value.height + n.value.top + n.value.bottom
742
742
  );
743
743
  return ft(() => {
@@ -906,7 +906,7 @@ const ur = lr.exports, ir = /* @__PURE__ */ w({
906
906
  },
907
907
  emits: ["opened", "moved", "closed", "tooltip-mouseenter", "tooltip-mouseleave"],
908
908
  setup(t, { emit: e }) {
909
- const r = t, n = I(null), { items: o, options: a } = P(r), l = V(), i = I(null), { allOptions: u } = Z(a), c = v(
909
+ const r = t, n = I(null), { items: o, options: a } = S(r), l = j(), i = I(null), { allOptions: u } = X(a), c = v(
910
910
  () => u.value.fixedPositioning ?? r.fixedPositioning
911
911
  ), d = v(
912
912
  () => c.value ? "fixed" : "absolute"
@@ -927,8 +927,8 @@ const ur = lr.exports, ir = /* @__PURE__ */ w({
927
927
  () => u.value.showTitle !== !1 && r.title != null
928
928
  ), m = v(() => he(u.value.valueFormat)), f = v(() => he(u.value.titleFormat)), g = v(
929
929
  () => {
930
- var x;
931
- return ((x = o.value) == null ? void 0 : x.find((b) => b.isSummary)) || {
930
+ var T;
931
+ return ((T = o.value) == null ? void 0 : T.find((b) => b.isSummary)) || {
932
932
  label: u.value.summary ?? r.summary
933
933
  };
934
934
  }
@@ -940,20 +940,20 @@ const ur = lr.exports, ir = /* @__PURE__ */ w({
940
940
  modifiers: s.value
941
941
  }), e("opened", r.targetElement));
942
942
  }
943
- function T() {
943
+ function x() {
944
944
  i.value && (i.value.destroy(), e("closed"));
945
945
  }
946
946
  function A() {
947
947
  i.value && (u.value.withAnimation !== !1 && n.value.classList.add("lume-tooltip--animated"), r.targetElement ? function() {
948
948
  i.value.state.elements.reference = r.targetElement, i.value.update(), e("moved", r.targetElement);
949
- }() : T());
949
+ }() : x());
950
950
  }
951
- return H(
951
+ return C(
952
952
  () => r.targetElement,
953
- (x, b) => {
954
- !b && x ? p() : A();
953
+ (T, b) => {
954
+ !b && T ? p() : A();
955
955
  }
956
- ), J(p), pt(T), { __sfc: !0, props: r, emit: e, root: n, items: o, options: a, slots: l, popper: i, allOptions: u, computedFixedPositioning: c, strategy: d, allModifiers: s, showTitle: _, formatValue: m, formatTitle: f, summaryItem: g, hasSummary: y, initPopper: p, destroyPopper: T, updatePopper: A, LumeTooltipTitle: Jn, LumeTooltipSummary: nr, LumeTooltipItem: ur };
956
+ ), J(p), pt(x), { __sfc: !0, props: r, emit: e, root: n, items: o, options: a, slots: l, popper: i, allOptions: u, computedFixedPositioning: c, strategy: d, allModifiers: s, showTitle: _, formatValue: m, formatTitle: f, summaryItem: g, hasSummary: y, initPopper: p, destroyPopper: x, updatePopper: A, LumeTooltipTitle: Jn, LumeTooltipSummary: nr, LumeTooltipItem: ur };
957
957
  }
958
958
  });
959
959
  var sr = function() {
@@ -993,7 +993,7 @@ var sr = function() {
993
993
  );
994
994
  const vr = dr.exports;
995
995
  var te = /* @__PURE__ */ ((t) => (t.Categorical = "categorical", t.Sequential = "sequential", t.Divergent = "divergent", t))(te || {});
996
- const _r = te.Categorical, pe = j.Skyblue, pr = Ge.SkyTeal;
996
+ const _r = te.Categorical, pe = M.Skyblue, pr = Ge.SkyTeal;
997
997
  function fr(t) {
998
998
  return t === te.Divergent ? pr : pe;
999
999
  }
@@ -1002,15 +1002,15 @@ function mr(t) {
1002
1002
  }
1003
1003
  function Qe(t, e) {
1004
1004
  return e === te.Divergent ? Object.values(Ge).includes(t) : Object.values({
1005
- ...j,
1005
+ ...M,
1006
1006
  ...yt,
1007
1007
  ...Ve,
1008
1008
  ...je
1009
1009
  }).includes(t);
1010
1010
  }
1011
1011
  function hr(t, e) {
1012
- const r = Object.values(j).indexOf(t);
1013
- return sn(Object.values(j), r > -1 ? r : 0)[e];
1012
+ const r = Object.values(M).indexOf(t);
1013
+ return sn(Object.values(M), r > -1 ? r : 0)[e];
1014
1014
  }
1015
1015
  function gr(t, e) {
1016
1016
  const r = 50 + e * 10;
@@ -1037,7 +1037,7 @@ function kr(t, e, r = _r, n) {
1037
1037
  function br(t) {
1038
1038
  return t.map((e) => nn(e) ? e : { value: e });
1039
1039
  }
1040
- function Tr(t) {
1040
+ function xr(t) {
1041
1041
  return t.__internal === !0;
1042
1042
  }
1043
1043
  const ze = (t = null) => ({
@@ -1052,7 +1052,7 @@ const ze = (t = null) => ({
1052
1052
  },
1053
1053
  color: {
1054
1054
  type: String,
1055
- default: j.Skyblue
1055
+ default: M.Skyblue
1056
1056
  },
1057
1057
  title: {
1058
1058
  type: String,
@@ -1067,7 +1067,7 @@ function We(t, e, r, n, o) {
1067
1067
  var d;
1068
1068
  return t.value.length > 5 && ne(K.DatasetLength), (d = t.value) == null ? void 0 : d.map(
1069
1069
  (s, _) => {
1070
- if (Tr(s))
1070
+ if (xr(s))
1071
1071
  return s;
1072
1072
  const m = br(s.values), f = kr(
1073
1073
  s.color,
@@ -1096,7 +1096,7 @@ function We(t, e, r, n, o) {
1096
1096
  updateSize: c
1097
1097
  };
1098
1098
  }
1099
- const xr = () => ({
1099
+ const Tr = () => ({
1100
1100
  xScale: {
1101
1101
  type: Function,
1102
1102
  default: null
@@ -1135,7 +1135,7 @@ function Ar(t, e, r, n, o) {
1135
1135
  return ft(i), { xScale: a, yScale: l };
1136
1136
  }
1137
1137
  function et(t, e, r, n) {
1138
- const o = [0, e], { padding: a, paddingInner: l, paddingOuter: i } = n, u = a ?? (r === L.HORIZONTAL ? Tt : bt);
1138
+ const o = [0, e], { padding: a, paddingInner: l, paddingOuter: i } = n, u = a ?? (r === L.HORIZONTAL ? xt : bt);
1139
1139
  return Object.assign(
1140
1140
  se().range(o).paddingInner(l ?? u).paddingOuter(i ?? u).domain(t.map((c, d) => d)),
1141
1141
  { labels: t }
@@ -1159,7 +1159,7 @@ function rt(t, e, {
1159
1159
  paddingInner: n,
1160
1160
  paddingOuter: o
1161
1161
  } = {}) {
1162
- const a = r ?? (e === L.HORIZONTAL ? Tt : bt);
1162
+ const a = r ?? (e === L.HORIZONTAL ? xt : bt);
1163
1163
  return t.copy().paddingInner(n ?? a).paddingOuter(o ?? a);
1164
1164
  }
1165
1165
  function Lt(t) {
@@ -1167,7 +1167,7 @@ function Lt(t) {
1167
1167
  }
1168
1168
  const ue = (t, e = !0) => ({
1169
1169
  ...ze(t),
1170
- ...xr(),
1170
+ ...Tr(),
1171
1171
  ...ve(),
1172
1172
  classList: {
1173
1173
  type: [String, Array],
@@ -1244,7 +1244,7 @@ const ue = (t, e = !0) => ({
1244
1244
  },
1245
1245
  emits: ["click", "lume__internal--hover", "mouseover"],
1246
1246
  setup(t, { emit: e }) {
1247
- const r = t, { data: n, orientation: o, xScale: a, yScale: l } = P(r), i = v(() => Ie(n));
1247
+ const r = t, { data: n, orientation: o, xScale: a, yScale: l } = S(r), i = v(() => Ie(n));
1248
1248
  function u(c) {
1249
1249
  var y;
1250
1250
  const d = o.value === L.HORIZONTAL ? l.value : a.value, s = d.domain(), _ = rn(d), m = ((y = d.paddingInner) == null ? void 0 : y.call(d)) ?? 0, f = _ * m, g = oe(d) ? d(s[c]) - f / 2 : d(c) - _ / 2;
@@ -1307,7 +1307,7 @@ const wr = Er.exports, Nr = [
1307
1307
  "tooltip-moved",
1308
1308
  "tooltip-closed",
1309
1309
  "hovered-index-changed"
1310
- ], X = (t, e) => {
1310
+ ], U = (t, e) => {
1311
1311
  function r(a, ...l) {
1312
1312
  document.dispatchEvent(
1313
1313
  new CustomEvent(`${e}_${a}`, {
@@ -1323,12 +1323,12 @@ const wr = Er.exports, Nr = [
1323
1323
  }
1324
1324
  return { componentEventPropagator: Nr.reduce((a, l) => (a[l] = (i) => t(l, i), a), {}), emitInternalEvent: r, listenInternalEvent: n };
1325
1325
  };
1326
- function Cr(t) {
1326
+ function Hr(t) {
1327
1327
  return { hasNegativeValues: v(
1328
1328
  () => ht(t.value).some((r) => r < 0)
1329
1329
  ) };
1330
1330
  }
1331
- function Hr(t, e, r, n) {
1331
+ function Cr(t, e, r, n) {
1332
1332
  const o = v(
1333
1333
  () => n.value === L.HORIZONTAL
1334
1334
  ), a = v(
@@ -1389,7 +1389,7 @@ function $t(t, e, r, n, o, a, l, i) {
1389
1389
  cy: (o == null ? void 0 : o.value) === L.HORIZONTAL ? Ne(n.value, g) : n.value(f)
1390
1390
  }));
1391
1391
  }
1392
- return H(
1392
+ return C(
1393
1393
  [r, n],
1394
1394
  () => {
1395
1395
  r.value && n.value && (a != null && a.value) && u.value && c(a.value);
@@ -1420,25 +1420,25 @@ function Sr(t) {
1420
1420
  })
1421
1421
  ) };
1422
1422
  }
1423
- const Ce = 16, He = 8, De = 28, Re = 24, re = {
1423
+ const He = 16, Ce = 8, De = 28, Re = 24, re = {
1424
1424
  VERTICAL: {
1425
- top: Ce,
1426
- right: He,
1425
+ top: He,
1426
+ right: Ce,
1427
1427
  bottom: De,
1428
1428
  left: Re
1429
1429
  },
1430
1430
  HORIZONTAL: {
1431
- top: Ce,
1432
- right: He,
1431
+ top: He,
1432
+ right: Ce,
1433
1433
  bottom: De,
1434
1434
  left: Re
1435
1435
  }
1436
1436
  };
1437
1437
  function Br(t) {
1438
- return !t || t === "auto" || t.top == null || t.top === "auto" ? Ce : t.top;
1438
+ return !t || t === "auto" || t.top == null || t.top === "auto" ? He : t.top;
1439
1439
  }
1440
1440
  function Fr(t) {
1441
- return !t || t === "auto" || t.right == null || t.right === "auto" ? He : t.right;
1441
+ return !t || t === "auto" || t.right == null || t.right === "auto" ? Ce : t.right;
1442
1442
  }
1443
1443
  function Gr(t, e) {
1444
1444
  return !t || t === "auto" || t.bottom == null || t.bottom === "auto" ? e || De : t.bottom;
@@ -1456,10 +1456,10 @@ const jr = /* @__PURE__ */ w({
1456
1456
  }
1457
1457
  },
1458
1458
  setup(t, { emit: e }) {
1459
- const r = t, n = V(), { data: o, labels: a, color: l, options: i, orientation: u, chartType: c } = P(r), d = I(-1), s = I(null), _ = I(null), m = I([]), f = I(null), g = I(0), y = I(0), { allOptions: p } = Z(i), { internalData: T, computedLabels: A, containerSize: x, updateSize: b, chartID: C } = We(o, a, l, p, u), { listenInternalEvent: D } = X(e, C), { xScale: R, yScale: B } = Ar(
1460
- T,
1461
- A,
1459
+ const r = t, n = j(), { data: o, labels: a, color: l, options: i, orientation: u, chartType: c } = S(r), d = I(-1), s = I(null), _ = I(null), m = I([]), f = I(null), g = I(0), y = I(0), { allOptions: p } = X(i), { internalData: x, computedLabels: A, containerSize: T, updateSize: b, chartID: H } = We(o, a, l, p, u), { listenInternalEvent: D } = U(e, H), { xScale: R, yScale: B } = Ar(
1462
1460
  x,
1461
+ A,
1462
+ T,
1463
1463
  u,
1464
1464
  p
1465
1465
  ), Q = v(() => ({
@@ -1469,14 +1469,14 @@ const jr = /* @__PURE__ */ w({
1469
1469
  left: Vr(p.value.margins, y.value)
1470
1470
  })), G = v(() => {
1471
1471
  var k;
1472
- return r.xScale ? nt(r.xScale) ? r.xScale : (k = r.xScale) == null ? void 0 : k.call(r, T.value, a.value, x) : R.value;
1473
- }), M = v(() => {
1472
+ return r.xScale ? nt(r.xScale) ? r.xScale : (k = r.xScale) == null ? void 0 : k.call(r, x.value, a.value, T) : R.value;
1473
+ }), z = v(() => {
1474
1474
  var k;
1475
- return r.yScale ? nt(r.yScale) ? r.yScale : (k = r.yScale) == null ? void 0 : k.call(r, T.value, a.value, x) : B.value;
1475
+ return r.yScale ? nt(r.yScale) ? r.yScale : (k = r.yScale) == null ? void 0 : k.call(r, x.value, a.value, T) : B.value;
1476
1476
  }), q = v(() => ({
1477
1477
  ...p.value.xAxisOptions,
1478
1478
  withHover: u.value === L.VERTICAL
1479
- })), U = v(() => ({
1479
+ })), Y = v(() => ({
1480
1480
  ...p.value.yAxisOptions,
1481
1481
  withHover: u.value === L.HORIZONTAL
1482
1482
  })), $ = v(() => {
@@ -1493,24 +1493,24 @@ const jr = /* @__PURE__ */ w({
1493
1493
  return ((k = p.value.yAxisOptions) == null ? void 0 : k.withTitle) !== !1 && h.value;
1494
1494
  }), F = v(
1495
1495
  () => o.value.every((k) => !k.values.length)
1496
- ), z = v(() => {
1497
- const k = [], { noBaseScales: S } = p.value;
1498
- return S || k.push(() => !!(G.value && M.value)), k.every((Y) => Y() === !0);
1499
- }), { hasNegativeValues: W } = Cr(T), { negativeBarAttributes: be } = Hr(
1500
- x,
1496
+ ), W = v(() => {
1497
+ const k = [], { noBaseScales: P } = p.value;
1498
+ return P || k.push(() => !!(G.value && z.value)), k.every((V) => V() === !0);
1499
+ }), { hasNegativeValues: Z } = Hr(x), { negativeBarAttributes: be } = Cr(
1500
+ T,
1501
1501
  G,
1502
- M,
1502
+ z,
1503
1503
  u
1504
1504
  ), { shouldGenerateTooltipAnchors: Xe } = $t(
1505
1505
  m,
1506
1506
  p,
1507
1507
  G,
1508
- M,
1508
+ z,
1509
1509
  u,
1510
- T,
1510
+ x,
1511
1511
  c,
1512
1512
  a
1513
- ), { tooltipConfig: ee, showTooltip: Ue, hideTooltip: Ye } = Pr(), { getTooltipItems: Ht } = Sr(T), Dt = v(
1513
+ ), { tooltipConfig: ee, showTooltip: Ue, hideTooltip: Ye } = Pr(), { getTooltipItems: Ct } = Sr(x), Dt = v(
1514
1514
  () => p.value.withTooltip !== !1 && ee.opened
1515
1515
  ), Rt = v(
1516
1516
  () => {
@@ -1518,26 +1518,28 @@ const jr = /* @__PURE__ */ w({
1518
1518
  return ((k = p.value.tooltipOptions) == null ? void 0 : k.position) || "top";
1519
1519
  }
1520
1520
  ), Ke = v(() => {
1521
- var S;
1522
- const k = (S = p.value.tooltipOptions) == null ? void 0 : S.withPointerEvents;
1521
+ var P;
1522
+ const k = (P = p.value.tooltipOptions) == null ? void 0 : P.withPointerEvents;
1523
1523
  return ee.opened && (!k || k && f.value === !1);
1524
1524
  });
1525
1525
  function fe(k) {
1526
- var Y;
1526
+ var V;
1527
1527
  if (k === d.value)
1528
1528
  return;
1529
- const S = d.value;
1529
+ const P = d.value;
1530
1530
  if (p.value.withHover !== !1 && (d.value = k), p.value.withTooltip !== !1) {
1531
- const Ft = (Y = p.value.tooltipOptions) != null && Y.targetElement ? p.value.tooltipOptions.targetElement === "self" ? _.value.$el : p.value.tooltipOptions.targetElement : s.value[k];
1531
+ const Ft = (V = p.value.tooltipOptions) != null && V.targetElement ? p.value.tooltipOptions.targetElement === "self" ? _.value.$el : p.value.tooltipOptions.targetElement : s.value[k];
1532
1532
  Ue(Ft);
1533
1533
  }
1534
- e("hovered-index-changed", { newIndex: k, oldIndex: S });
1534
+ e("hovered-index-changed", { newIndex: k, oldIndex: P });
1535
1535
  }
1536
- function Te() {
1536
+ function xe() {
1537
1537
  Ye(), d.value = -1;
1538
1538
  }
1539
- function xe(k) {
1540
- if (k > o.value[0].values.length - 1) {
1539
+ function Te(k) {
1540
+ if (!o.value.some(
1541
+ ({ values: V }) => k <= V.length - 1
1542
+ )) {
1541
1543
  ne(K.InvalidHoveredIndex);
1542
1544
  return;
1543
1545
  }
@@ -1545,32 +1547,32 @@ const jr = /* @__PURE__ */ w({
1545
1547
  }
1546
1548
  function Pt() {
1547
1549
  setTimeout(() => {
1548
- Ke.value && Te(), e("chart-mouseleave");
1550
+ Ke.value && xe(), e("chart-mouseleave");
1549
1551
  }, 0);
1550
1552
  }
1551
- function St({ index: k, value: S, event: Y }) {
1552
- k !== null && fe(k), e("axis-mouseenter", { index: k, value: S, event: Y });
1553
+ function St({ index: k, value: P, event: V }) {
1554
+ k !== null && fe(k), e("axis-mouseenter", { index: k, value: P, event: V });
1553
1555
  }
1554
- function Bt({ index: k, value: S, event: Y }) {
1555
- e("axis-click", { index: k, value: S, event: Y });
1556
+ function Bt({ index: k, value: P, event: V }) {
1557
+ e("axis-click", { index: k, value: P, event: V });
1556
1558
  }
1557
- return H(
1559
+ return C(
1558
1560
  o,
1559
- (k, S) => e("data-changed", { newValue: k, oldValue: S })
1560
- ), H(
1561
+ (k, P) => e("data-changed", { newValue: k, oldValue: P })
1562
+ ), C(
1561
1563
  a,
1562
- (k, S) => e("labels-changed", { newValue: k, oldValue: S })
1563
- ), H(F, (k) => k && ne(K.Empty), { immediate: !0 }), H(() => r.hoveredIndex, xe), H(
1564
+ (k, P) => e("labels-changed", { newValue: k, oldValue: P })
1565
+ ), C(F, (k) => k && ne(K.Empty), { immediate: !0 }), C(() => r.hoveredIndex, Te), C(
1564
1566
  m,
1565
1567
  (k) => {
1566
- k && r.hoveredIndex != null && d.value === -1 && xe(r.hoveredIndex);
1568
+ k && r.hoveredIndex != null && d.value === -1 && Te(r.hoveredIndex);
1567
1569
  },
1568
1570
  { flush: "post" }
1569
- ), H(f, (k) => {
1570
- k === !1 && ee.opened && Te();
1571
+ ), C(f, (k) => {
1572
+ k === !1 && ee.opened && xe();
1571
1573
  }), J(async () => {
1572
1574
  e("rendered"), n.groups || console.error('"groups" `<slot>` must have content.'), D("lume__internal--hover", fe);
1573
- }), Ae("chartID", C), Ae("isEmpty", F), Ae("tooltipAnchorAttributes", m), { __sfc: !0, props: r, slots: n, emit: e, data: o, labels: a, color: l, options: i, orientation: u, chartType: c, internalHoveredIndex: d, tooltipAnchor: s, chartContainer: _, tooltipAnchorAttributes: m, isHoveringTooltip: f, xAxisHeight: g, yAxisWidth: y, allOptions: p, internalData: T, computedLabels: A, containerSize: x, updateSize: b, chartID: C, listenInternalEvent: D, xScale: R, yScale: B, computedMargins: Q, computedXScale: G, computedYScale: M, computedXAxisOptions: q, computedYAxisOptions: U, xAxisTitle: $, yAxisTitle: h, showXAxisTitle: O, showYAxisTitle: N, isEmpty: F, isReady: z, hasNegativeValues: W, negativeBarAttributes: be, shouldGenerateTooltipAnchors: Xe, tooltipConfig: ee, showTooltip: Ue, hideTooltip: Ye, getTooltipItems: Ht, isTooltipOpened: Dt, tooltipPosition: Rt, shouldHideTooltip: Ke, handleInternalHover: fe, handleHideTooltip: Te, handleExternalHover: xe, handleMouseleave: Pt, handleAxisMouseenter: St, handleAxisClick: Bt, LumeAxis: En, LumeBar: Me, LumeChartContainer: Vn, LumeChartLegend: Zn, LumeTooltip: vr, LumeOverlayGroup: wr, TOOLTIP_ANCHOR_RADIUS: mn };
1575
+ }), Ae("chartID", H), Ae("isEmpty", F), Ae("tooltipAnchorAttributes", m), { __sfc: !0, props: r, slots: n, emit: e, data: o, labels: a, color: l, options: i, orientation: u, chartType: c, internalHoveredIndex: d, tooltipAnchor: s, chartContainer: _, tooltipAnchorAttributes: m, isHoveringTooltip: f, xAxisHeight: g, yAxisWidth: y, allOptions: p, internalData: x, computedLabels: A, containerSize: T, updateSize: b, chartID: H, listenInternalEvent: D, xScale: R, yScale: B, computedMargins: Q, computedXScale: G, computedYScale: z, computedXAxisOptions: q, computedYAxisOptions: Y, xAxisTitle: $, yAxisTitle: h, showXAxisTitle: O, showYAxisTitle: N, isEmpty: F, isReady: W, hasNegativeValues: Z, negativeBarAttributes: be, shouldGenerateTooltipAnchors: Xe, tooltipConfig: ee, showTooltip: Ue, hideTooltip: Ye, getTooltipItems: Ct, isTooltipOpened: Dt, tooltipPosition: Rt, shouldHideTooltip: Ke, handleInternalHover: fe, handleHideTooltip: xe, handleExternalHover: Te, handleMouseleave: Pt, handleAxisMouseenter: St, handleAxisClick: Bt, LumeAxis: En, LumeBar: Me, LumeChartContainer: Vn, LumeChartLegend: Zn, LumeTooltip: vr, LumeOverlayGroup: wr, TOOLTIP_ANCHOR_RADIUS: mn };
1574
1576
  }
1575
1577
  });
1576
1578
  var Mr = function() {
@@ -1636,7 +1638,7 @@ var Mr = function() {
1636
1638
  zr,
1637
1639
  !1,
1638
1640
  null,
1639
- "42aac599",
1641
+ "2d7c3049",
1640
1642
  null,
1641
1643
  null
1642
1644
  );
@@ -1851,13 +1853,13 @@ function go(t, e, r) {
1851
1853
  (A) => A.source.id === m
1852
1854
  ), p = _.links.filter(
1853
1855
  (A) => A.target.id === m
1854
- ), T = g - f;
1855
- y.forEach((A) => A.y0 += T), p.forEach((A) => A.y1 += T);
1856
+ ), x = g - f;
1857
+ y.forEach((A) => A.y0 += x), p.forEach((A) => A.y1 += x);
1856
1858
  }
1857
1859
  const d = v(() => (n.value && o.value.forEach((s) => {
1858
1860
  s.value === 0 && (s.fallbackColor = Ve.Grey), typeof s.offset == "number" && (u(s), c(s, n.value));
1859
1861
  }), n.value));
1860
- return H([l, r], () => {
1862
+ return C([l, r], () => {
1861
1863
  try {
1862
1864
  const { x0: s, y0: _, x1: m, y1: f } = r.value;
1863
1865
  n.value = l.value.extent([
@@ -1921,12 +1923,12 @@ const ko = (t, e) => {
1921
1923
  links: [t.id]
1922
1924
  };
1923
1925
  };
1924
- function To(t, e, r) {
1926
+ function xo(t, e, r) {
1925
1927
  const n = I(null), o = v(() => n.value ? typeof e.value.highlightedElements == "function" ? e.value.highlightedElements(
1926
1928
  n.value,
1927
1929
  r.value
1928
1930
  ) : e.value.highlightedElements === "closest" ? bo(n.value, r.value) : ko(n.value, r.value) : { nodes: {}, links: [] });
1929
- return H(o, (a, l) => {
1931
+ return C(o, (a, l) => {
1930
1932
  if (a.links.length === 0 && Object.keys(a.nodes).length === 0) {
1931
1933
  t.value.forEach((i) => {
1932
1934
  i.node.id in l.nodes && ut(
@@ -1949,7 +1951,7 @@ function To(t, e, r) {
1949
1951
  });
1950
1952
  }), { highlightedElements: o, hoveredElement: n };
1951
1953
  }
1952
- const xo = /* @__PURE__ */ w({
1954
+ const To = /* @__PURE__ */ w({
1953
1955
  __name: "lume-alluvial-group",
1954
1956
  props: {
1955
1957
  ...ke(),
@@ -1960,7 +1962,7 @@ const xo = /* @__PURE__ */ w({
1960
1962
  },
1961
1963
  emits: ["node-click", "node-mouseenter", "node-mouseleave", "link-click", "link-mouseenter", "link-mouseleave"],
1962
1964
  setup(t, { emit: e }) {
1963
- const r = t, n = de("chartID"), { data: o, options: a } = P(r), l = I([]), i = I([]), u = I(null), { extents: c, updateExtents: d } = no(r.containerSize), { columns: s, graph: _ } = go(o, a, c), { hoveredElement: m, highlightedElements: f } = To(
1965
+ const r = t, n = de("chartID"), { data: o, options: a } = S(r), l = I([]), i = I([]), u = I(null), { extents: c, updateExtents: d } = no(r.containerSize), { columns: s, graph: _ } = go(o, a, c), { hoveredElement: m, highlightedElements: f } = xo(
1964
1966
  l,
1965
1967
  a,
1966
1968
  _
@@ -1968,7 +1970,7 @@ const xo = /* @__PURE__ */ w({
1968
1970
  () => Object.keys(f.value.nodes)
1969
1971
  ), p = v(() => s.value ? s.value.map(
1970
1972
  (h) => h[0].x0 + a.value.nodeWidth / 2
1971
- ) : []), T = v(() => {
1973
+ ) : []), x = v(() => {
1972
1974
  if (!(!a.value.nodeHeaders || !a.value.nodeHeaders.length))
1973
1975
  return a.value.nodeHeaders.slice(0, p.value.length).map((h, O) => ({
1974
1976
  label: h,
@@ -1976,13 +1978,13 @@ const xo = /* @__PURE__ */ w({
1976
1978
  }));
1977
1979
  }), A = v(
1978
1980
  () => a.value.nodeHeaderPadding ?? lo
1979
- ), x = v(() => {
1981
+ ), T = v(() => {
1980
1982
  if (!(!a.value.gradient || !_.value))
1981
1983
  return _.value.links.reduce((h, O) => {
1982
- const { source: N, target: F } = O, z = N.color || N.fallbackColor, W = F.deriveColorFromIncomingLinks ? z : F.color || F.fallbackColor;
1984
+ const { source: N, target: F } = O, W = N.color || N.fallbackColor, Z = F.deriveColorFromIncomingLinks ? W : F.color || F.fallbackColor;
1983
1985
  return h[O.id] = {
1984
- source: z,
1985
- target: W,
1986
+ source: W,
1987
+ target: Z,
1986
1988
  x1: N.x1,
1987
1989
  x2: F.x0
1988
1990
  }, h;
@@ -1993,23 +1995,23 @@ const xo = /* @__PURE__ */ w({
1993
1995
  ), O = [];
1994
1996
  return h.forEach((N) => {
1995
1997
  const F = [];
1996
- i.value.filter(({ link: z }) => z.target.id === N.node.id).reverse().reduce((z, W) => {
1997
- const be = W.link.target.y1 - W.link.target.y0, ee = W.link.value / N.node.value * be;
1998
+ i.value.filter(({ link: W }) => W.target.id === N.node.id).reverse().reduce((W, Z) => {
1999
+ const be = Z.link.target.y1 - Z.link.target.y0, ee = Z.link.value / N.node.value * be;
1998
2000
  return F.push({
1999
2001
  x: N.x,
2000
- y: N.y + z,
2002
+ y: N.y + W,
2001
2003
  height: ee,
2002
2004
  width: N.width,
2003
- key: `node-block-${N.node.id}-source-link-${W.link.source.id}`,
2004
- class: `lume-alluvial-group__node-block lume-fill--${W.link.source.color || pe}`
2005
- }), z + ee;
2005
+ key: `node-block-${N.node.id}-source-link-${Z.link.source.id}`,
2006
+ class: `lume-alluvial-group__node-block lume-fill--${Z.link.source.color || pe}`
2007
+ }), W + ee;
2006
2008
  }, 0), O.push({
2007
2009
  id: N.node.id,
2008
2010
  subNodes: F
2009
2011
  });
2010
2012
  }), O;
2011
2013
  });
2012
- function C(h) {
2014
+ function H(h) {
2013
2015
  return a.value.gradient && `url('#${n}_${h.id}')`;
2014
2016
  }
2015
2017
  function D(h) {
@@ -2027,14 +2029,14 @@ const xo = /* @__PURE__ */ w({
2027
2029
  function G(h) {
2028
2030
  return !h.node.color && h.node.deriveColorFromIncomingLinks;
2029
2031
  }
2030
- function M(h, O) {
2032
+ function z(h, O) {
2031
2033
  h !== m.value && (m.value = h, e("link-mouseenter", { link: h, event: O }));
2032
2034
  }
2033
2035
  function q(h) {
2034
2036
  const O = m.value;
2035
2037
  m.value = null, e("link-mouseleave", { link: O, event: h });
2036
2038
  }
2037
- function U(h) {
2039
+ function Y(h) {
2038
2040
  if (h == null) {
2039
2041
  m.value = null;
2040
2042
  return;
@@ -2050,14 +2052,14 @@ const xo = /* @__PURE__ */ w({
2050
2052
  var O;
2051
2053
  return ((O = b.value.find(({ id: N }) => h === N)) == null ? void 0 : O.subNodes) ?? [];
2052
2054
  }
2053
- return H(_, (h) => {
2054
- l.value = vo(h.nodes), i.value = mo(h.links).reverse(), m.value == null && r.hoveredElementId != null && U(r.hoveredElementId);
2055
- }), H([r.containerSize, u], () => {
2055
+ return C(_, (h) => {
2056
+ l.value = vo(h.nodes), i.value = mo(h.links).reverse(), m.value == null && r.hoveredElementId != null && Y(r.hoveredElementId);
2057
+ }), C([r.containerSize, u], () => {
2056
2058
  if (r.containerSize.width && r.containerSize.height) {
2057
2059
  const h = co(_.value, u.value);
2058
2060
  d(h);
2059
2061
  }
2060
- }), H(() => r.hoveredElementId, U), { __sfc: !0, props: r, emit: e, chartID: n, data: o, options: a, nodeBlocks: l, linkPaths: i, nodeTextRefs: u, extents: c, updateExtents: d, columns: s, graph: _, hoveredElement: m, highlightedElements: f, formatValue: g, hoveredNodeIds: y, nodeColumnPositions: p, nodeHeaders: T, computedNodeHeaderPadding: A, gradients: x, nodesDerivingColorFromIncomingLinks: b, getLinkStroke: C, isNodeFaded: D, isNodeFocused: R, isLinkFaded: B, isLinkFocused: Q, shouldDeriveNodeColorFromIncomingLinks: G, handleLinkMouseover: M, handleLinkMouseleave: q, handleExternalHover: U, getSubNodesDerivingColorFromIncomingLinks: $, LumeAlluvialNodeLabel: Kr, LumeAlluvialNodeValue: to, GHOST_STROKE_WIDTH_OFFSET: ao };
2062
+ }), C(() => r.hoveredElementId, Y), { __sfc: !0, props: r, emit: e, chartID: n, data: o, options: a, nodeBlocks: l, linkPaths: i, nodeTextRefs: u, extents: c, updateExtents: d, columns: s, graph: _, hoveredElement: m, highlightedElements: f, formatValue: g, hoveredNodeIds: y, nodeColumnPositions: p, nodeHeaders: x, computedNodeHeaderPadding: A, gradients: T, nodesDerivingColorFromIncomingLinks: b, getLinkStroke: H, isNodeFaded: D, isNodeFocused: R, isLinkFaded: B, isLinkFocused: Q, shouldDeriveNodeColorFromIncomingLinks: G, handleLinkMouseover: z, handleLinkMouseleave: q, handleExternalHover: Y, getSubNodesDerivingColorFromIncomingLinks: $, LumeAlluvialNodeLabel: Kr, LumeAlluvialNodeValue: to, GHOST_STROKE_WIDTH_OFFSET: ao };
2061
2063
  }
2062
2064
  });
2063
2065
  var Ao = function() {
@@ -2113,7 +2115,7 @@ var Ao = function() {
2113
2115
  ) })], 2)], 2)]);
2114
2116
  })], 2);
2115
2117
  }, Lo = [], Oo = /* @__PURE__ */ E(
2116
- xo,
2118
+ To,
2117
2119
  Ao,
2118
2120
  Lo,
2119
2121
  !1,
@@ -2147,7 +2149,7 @@ const $o = Oo.exports, Io = {
2147
2149
  ...Lr(Fe)
2148
2150
  },
2149
2151
  setup(t, { emit: e }) {
2150
- const r = t, { componentEventPropagator: n } = X(e), o = ae(V()), a = cn(V()), { options: l } = P(r), { allOptions: i } = Z(l, Io);
2152
+ const r = t, { componentEventPropagator: n } = U(e), o = ae(j()), a = cn(j()), { options: l } = S(r), { allOptions: i } = X(l, Io);
2151
2153
  function u(c) {
2152
2154
  return {
2153
2155
  ...c,
@@ -2171,7 +2173,7 @@ var wo = function() {
2171
2173
  return [e._t(a, null, null, l || {})];
2172
2174
  } };
2173
2175
  })], null, !0) }, "lume-chart", n.props, !1), n.componentEventPropagator));
2174
- }, No = [], Co = /* @__PURE__ */ E(
2176
+ }, No = [], Ho = /* @__PURE__ */ E(
2175
2177
  Eo,
2176
2178
  wo,
2177
2179
  No,
@@ -2181,9 +2183,9 @@ var wo = function() {
2181
2183
  null,
2182
2184
  null
2183
2185
  );
2184
- const Ma = Co.exports;
2186
+ const Ma = Ho.exports;
2185
2187
  var Be = /* @__PURE__ */ ((t) => (t.grouped = "grouped", t.stacked = "stacked", t))(Be || {});
2186
- const Ho = /* @__PURE__ */ w({
2188
+ const Co = /* @__PURE__ */ w({
2187
2189
  __name: "lume-bar-chart",
2188
2190
  props: {
2189
2191
  ...ue(),
@@ -2204,7 +2206,7 @@ const Ho = /* @__PURE__ */ w({
2204
2206
  ["single", n],
2205
2207
  ["grouped", o],
2206
2208
  ["stacked", a]
2207
- ]), { componentEventPropagator: i } = X(e), u = ae(V());
2209
+ ]), { componentEventPropagator: i } = U(e), u = ae(j());
2208
2210
  function c(s) {
2209
2211
  return {
2210
2212
  ...s,
@@ -2236,7 +2238,7 @@ var Do = function() {
2236
2238
  } };
2237
2239
  })], null, !0) }, "component", { ...n.props, ...e.$attrs }, !1), n.componentEventPropagator));
2238
2240
  }, Ro = [], Po = /* @__PURE__ */ E(
2239
- Ho,
2241
+ Co,
2240
2242
  Do,
2241
2243
  Ro,
2242
2244
  !1,
@@ -2309,13 +2311,13 @@ function jo(t, e, r, n, o, a) {
2309
2311
  return l.value ? r.value.bandwidth() : s < 0 ? r.value(s) - r.value(0) : r.value(0) - r.value(s);
2310
2312
  }
2311
2313
  function d(s, _, m) {
2312
- const { value: f, color: g } = s, y = g ?? t.value[_].color ?? pe, { x: p, y: T } = i(f, m), A = u(f), x = c(f);
2314
+ const { value: f, color: g } = s, y = g ?? t.value[_].color ?? pe, { x: p, y: x } = i(f, m), A = u(f), T = c(f);
2313
2315
  return {
2314
2316
  classList: [`lume-fill--${y}`, ...a],
2315
2317
  x: p,
2316
- y: T,
2318
+ y: x,
2317
2319
  width: A,
2318
- height: x,
2320
+ height: T,
2319
2321
  isFaded: o.value !== -1 && o.value !== m,
2320
2322
  isNegative: f < 0
2321
2323
  };
@@ -2346,12 +2348,12 @@ function Mo(t, e, r, n, o, a) {
2346
2348
  return l.value ? u.value.bandwidth() : f < 0 ? r.value(f) - r.value(0) : r.value(0) - r.value(f);
2347
2349
  }
2348
2350
  function m(f, g, y) {
2349
- const { value: p, color: T } = f, A = T ?? t.value[g].color ?? Object.values(j)[g], x = c(p, y, g), b = d(p, y, g), C = s(p), D = _(p);
2351
+ const { value: p, color: x } = f, A = x ?? t.value[g].color ?? Object.values(M)[g], T = c(p, y, g), b = d(p, y, g), H = s(p), D = _(p);
2350
2352
  return {
2351
2353
  classList: [`lume-fill--${A}`, ...a],
2352
- x,
2354
+ x: T,
2353
2355
  y: b,
2354
- width: C,
2356
+ width: H,
2355
2357
  height: D,
2356
2358
  isFaded: o.value !== -1 && o.value !== y,
2357
2359
  isNegative: p < 0
@@ -2404,11 +2406,11 @@ function Wo(t, e, r, n, o, a) {
2404
2406
  ), i = v(
2405
2407
  () => l.value ? r.value.domain() : e.value.domain()
2406
2408
  ), u = v(
2407
- () => t.value.map((p) => p.values.map((T) => T == null ? void 0 : T.value))
2409
+ () => t.value.map((p) => p.values.map((x) => x == null ? void 0 : x.value))
2408
2410
  );
2409
- function c(p, T, A) {
2410
- let x, b;
2411
- return l.value ? (x = e.value(p >= 0 ? 0 + A : p + A), b = r.value(i.value[T])) : (x = e.value(i.value[T]), b = r.value(p >= 0 ? p + A : 0 + A)), { x, y: b };
2411
+ function c(p, x, A) {
2412
+ let T, b;
2413
+ return l.value ? (T = e.value(p >= 0 ? 0 + A : p + A), b = r.value(i.value[x])) : (T = e.value(i.value[x]), b = r.value(p >= 0 ? p + A : 0 + A)), { x: T, y: b };
2412
2414
  }
2413
2415
  function d(p) {
2414
2416
  return l.value ? e.value(p) - e.value(0) : e.value.bandwidth();
@@ -2422,22 +2424,22 @@ function Wo(t, e, r, n, o, a) {
2422
2424
  function m(p) {
2423
2425
  return l.value ? r.value.bandwidth() : r.value(p) - r.value(0);
2424
2426
  }
2425
- function f(p, T) {
2426
- return p ? u.value.reduce((A, x, b) => (b < p && x[T] >= 0 && (A += x[T]), A), 0) : 0;
2427
+ function f(p, x) {
2428
+ return p ? u.value.reduce((A, T, b) => (b < p && T[x] >= 0 && (A += T[x]), A), 0) : 0;
2427
2429
  }
2428
- function g(p, T) {
2429
- return p ? u.value.reduce((A, x, b) => (b < p && x[T] < 0 && (A += x[T]), A), 0) : 0;
2430
+ function g(p, x) {
2431
+ return p ? u.value.reduce((A, T, b) => (b < p && T[x] < 0 && (A += T[x]), A), 0) : 0;
2430
2432
  }
2431
- function y(p, T, A) {
2432
- const { value: x, color: b } = p, C = x >= 0 ? d(x) : s(x), D = x >= 0 ? _(x) : m(x), R = x >= 0 ? f(T, A) : g(T, A), { x: B, y: Q } = c(x, A, R);
2433
+ function y(p, x, A) {
2434
+ const { value: T, color: b } = p, H = T >= 0 ? d(T) : s(T), D = T >= 0 ? _(T) : m(T), R = T >= 0 ? f(x, A) : g(x, A), { x: B, y: Q } = c(T, A, R);
2433
2435
  return {
2434
- classList: [`lume-fill--${b ?? t.value[T].color ?? Object.values(j)[T]}`, ...a],
2435
- width: C,
2436
+ classList: [`lume-fill--${b ?? t.value[x].color ?? Object.values(M)[x]}`, ...a],
2437
+ width: H,
2436
2438
  height: D,
2437
2439
  x: B,
2438
2440
  y: Q,
2439
2441
  isFaded: o.value !== -1 && o.value !== A,
2440
- isNegative: x < 0
2442
+ isNegative: T < 0
2441
2443
  };
2442
2444
  }
2443
2445
  return { barAttributeGenerator: y };
@@ -2471,8 +2473,8 @@ const st = {
2471
2473
  xScale: u,
2472
2474
  yScale: c,
2473
2475
  classList: d
2474
- } = P(r), s = de("chartID"), { emitInternalEvent: _ } = X(e, s), { groupedData: m } = wt(n), { barXScale: f, barYScale: g } = Vo(u, c, a), y = v(() => typeof d.value == "string" ? [d.value] : d.value), p = v(() => {
2475
- const x = Go(n, i), { barAttributeGenerator: b } = st[x](
2476
+ } = S(r), s = de("chartID"), { emitInternalEvent: _ } = U(e, s), { groupedData: m } = wt(n), { barXScale: f, barYScale: g } = Vo(u, c, a), y = v(() => typeof d.value == "string" ? [d.value] : d.value), p = v(() => {
2477
+ const T = Go(n, i), { barAttributeGenerator: b } = st[T](
2476
2478
  n,
2477
2479
  f,
2478
2480
  g,
@@ -2481,14 +2483,14 @@ const st = {
2481
2483
  y.value
2482
2484
  );
2483
2485
  return b;
2484
- }), T = v(() => {
2486
+ }), x = v(() => {
2485
2487
  if (l.value)
2486
2488
  return a.value === L.HORIZONTAL ? "width" : "height";
2487
2489
  });
2488
- async function A(x) {
2489
- e("lume__internal--hover", x), _("lume__internal--hover", x);
2490
+ async function A(T) {
2491
+ e("lume__internal--hover", T), _("lume__internal--hover", T);
2490
2492
  }
2491
- return { __sfc: !0, MIXIN_MAP: st, props: r, emit: e, data: n, hoveredIndex: o, orientation: a, transition: l, type: i, xScale: u, yScale: c, classList: d, chartID: s, emitInternalEvent: _, groupedData: m, barXScale: f, barYScale: g, computedClasses: y, getBarAttributes: p, computedTransition: T, handleInternalHover: A, LumeBar: Me };
2493
+ return { __sfc: !0, MIXIN_MAP: st, props: r, emit: e, data: n, hoveredIndex: o, orientation: a, transition: l, type: i, xScale: u, yScale: c, classList: d, chartID: s, emitInternalEvent: _, groupedData: m, barXScale: f, barYScale: g, computedClasses: y, getBarAttributes: p, computedTransition: x, handleInternalHover: A, LumeBar: Me };
2492
2494
  }
2493
2495
  });
2494
2496
  var Xo = function() {
@@ -2535,10 +2537,10 @@ const Ze = Yo.exports, Ko = {
2535
2537
  ...ue(Fe)
2536
2538
  },
2537
2539
  setup(t, { emit: e }) {
2538
- const r = t, { componentEventPropagator: n } = X(e), o = ae(V()), { orientation: a, options: l } = P(r), i = v(
2540
+ const r = t, { componentEventPropagator: n } = U(e), o = ae(j()), { orientation: a, options: l } = S(r), i = v(
2539
2541
  () => Ko[a.value || L.VERTICAL]
2540
2542
  // needs to be computed so that default options are reactive
2541
- ), { allOptions: u } = Z(l, i);
2543
+ ), { allOptions: u } = X(l, i);
2542
2544
  return { __sfc: !0, props: r, emit: e, componentEventPropagator: n, slots: o, orientation: a, options: l, baseOptions: i, allOptions: u, LumeChart: ie, LumeBarGroup: Ze };
2543
2545
  }
2544
2546
  });
@@ -2581,10 +2583,10 @@ const Wa = ea.exports, ta = {
2581
2583
  ...ue()
2582
2584
  },
2583
2585
  setup(t, { emit: e }) {
2584
- const r = t, { componentEventPropagator: n } = X(e), o = ae(V()), { orientation: a, options: l } = P(r), i = v(
2586
+ const r = t, { componentEventPropagator: n } = U(e), o = ae(j()), { orientation: a, options: l } = S(r), i = v(
2585
2587
  () => ta[a.value || L.VERTICAL]
2586
2588
  // needs to be computed so that default options are reactive
2587
- ), { allOptions: u } = Z(
2589
+ ), { allOptions: u } = X(
2588
2590
  l,
2589
2591
  i
2590
2592
  );
@@ -2630,10 +2632,10 @@ const Za = aa.exports, la = {
2630
2632
  ...ue()
2631
2633
  },
2632
2634
  setup(t, { emit: e }) {
2633
- const r = t, { componentEventPropagator: n } = X(e), o = ae(V()), { data: a, orientation: l, options: i } = P(r), u = v(
2635
+ const r = t, { componentEventPropagator: n } = U(e), o = ae(j()), { data: a, orientation: l, options: i } = S(r), u = v(
2634
2636
  () => la[l.value || L.VERTICAL]
2635
2637
  // needs to be computed so that default options are reactive
2636
- ), { allOptions: c } = Z(
2638
+ ), { allOptions: c } = X(
2637
2639
  i,
2638
2640
  u
2639
2641
  ), { internalData: d } = We(a), { groupedData: s } = wt(d), { stackedXScaleGenerator: _, stackedYScaleGenerator: m } = zo(
@@ -2676,7 +2678,7 @@ const Xa = ca.exports, ct = 2, da = /* @__PURE__ */ w({
2676
2678
  },
2677
2679
  color: {
2678
2680
  type: String,
2679
- default: j.Skyblue
2681
+ default: M.Skyblue
2680
2682
  },
2681
2683
  dashed: {
2682
2684
  type: Boolean,
@@ -2730,7 +2732,7 @@ const fa = pa.exports, dt = 4, ma = /* @__PURE__ */ w({
2730
2732
  y: { type: Number, required: !0 },
2731
2733
  color: {
2732
2734
  type: String,
2733
- default: j.Skyblue
2735
+ default: M.Skyblue
2734
2736
  },
2735
2737
  radius: {
2736
2738
  type: Number,
@@ -2811,12 +2813,12 @@ function ba(t, e) {
2811
2813
  const r = t.bandwidth() / 2;
2812
2814
  return (n, o) => t(t.domain()[e + (o - 1)]) + r;
2813
2815
  }
2814
- function Ta(t, e) {
2816
+ function xa(t, e) {
2815
2817
  return (r, n) => t(e + (n - 1));
2816
2818
  }
2817
- function xa(t, e, r, n) {
2819
+ function Ta(t, e, r, n) {
2818
2820
  return Mt().x(
2819
- oe(r) ? ba(r, t) : Ta(r, t)
2821
+ oe(r) ? ba(r, t) : xa(r, t)
2820
2822
  ).y((a) => n(a))(e);
2821
2823
  }
2822
2824
  const vt = 1, Aa = /* @__PURE__ */ w({
@@ -2834,7 +2836,7 @@ const vt = 1, Aa = /* @__PURE__ */ w({
2834
2836
  },
2835
2837
  emits: ["line-click", "point-click", "lume__internal--hover"],
2836
2838
  setup(t, { emit: e }) {
2837
- const r = t, { data: n, options: o, xScale: a, yScale: l } = P(r), i = de(
2839
+ const r = t, { data: n, options: o, xScale: a, yScale: l } = S(r), i = de(
2838
2840
  "tooltipAnchorAttributes",
2839
2841
  null
2840
2842
  ), { updateTooltipAnchorAttributes: u } = $t(
@@ -2843,7 +2845,7 @@ const vt = 1, Aa = /* @__PURE__ */ w({
2843
2845
  a,
2844
2846
  l
2845
2847
  ), c = v(() => {
2846
- if (n.value.every((C) => C.isDashed))
2848
+ if (n.value.every((H) => H.isDashed))
2847
2849
  return n.value;
2848
2850
  const { computedLineData: b } = Nt(n);
2849
2851
  return o.value.withTooltip !== !1 && (i != null && i.value) && u(b.value), b.value;
@@ -2876,37 +2878,37 @@ const vt = 1, Aa = /* @__PURE__ */ w({
2876
2878
  function y(b) {
2877
2879
  return c.value[b].values;
2878
2880
  }
2879
- function p(b, C) {
2881
+ function p(b, H) {
2880
2882
  var R, B;
2881
2883
  const D = b === 0 ? [] : [
2882
- (R = y(C)[b - 1]) == null ? void 0 : R.value,
2883
- (B = y(C)[b]) == null ? void 0 : B.value
2884
+ (R = y(H)[b - 1]) == null ? void 0 : R.value,
2885
+ (B = y(H)[b]) == null ? void 0 : B.value
2884
2886
  ];
2885
- return xa(
2887
+ return Ta(
2886
2888
  b,
2887
2889
  D,
2888
2890
  a.value,
2889
2891
  l.value
2890
2892
  ) || "";
2891
2893
  }
2892
- function T(b) {
2894
+ function x(b) {
2893
2895
  return {
2894
2896
  animationDelay: b < 2 ? 0 : (b - 1) * s.value,
2895
2897
  animationDuration: s.value
2896
2898
  };
2897
2899
  }
2898
- function A(b, C) {
2900
+ function A(b, H) {
2899
2901
  var R;
2900
- const D = (R = y(C)[b]) == null ? void 0 : R.value;
2902
+ const D = (R = y(H)[b]) == null ? void 0 : R.value;
2901
2903
  return {
2902
2904
  x: oe(a.value) ? r.xScale(f.value[b]) + m.value : r.xScale(b),
2903
2905
  y: l.value(D)
2904
2906
  };
2905
2907
  }
2906
- function x(b) {
2908
+ function T(b) {
2907
2909
  return r.hoveredIndex === b;
2908
2910
  }
2909
- return { __sfc: !0, LUME_TRANSITION_TIME_FULL: vt, props: r, emit: e, data: n, options: o, xScale: a, yScale: l, tooltipAnchorAttributes: i, updateTooltipAnchorAttributes: u, computedGroupData: c, overlayLineAttributes: d, animationDuration: s, pointRadius: _, xAxisOffset: m, domain: f, computedWithPoints: g, getValuesFromDataset: y, getPathDefinition: p, getLineTransitionParams: T, getPointPosition: A, isPointActive: x, LumeLine: fa, LumePoint: ka };
2911
+ return { __sfc: !0, LUME_TRANSITION_TIME_FULL: vt, props: r, emit: e, data: n, options: o, xScale: a, yScale: l, tooltipAnchorAttributes: i, updateTooltipAnchorAttributes: u, computedGroupData: c, overlayLineAttributes: d, animationDuration: s, pointRadius: _, xAxisOffset: m, domain: f, computedWithPoints: g, getValuesFromDataset: y, getPathDefinition: p, getLineTransitionParams: x, getPointPosition: A, isPointActive: T, LumeLine: fa, LumePoint: ka };
2910
2912
  }
2911
2913
  });
2912
2914
  var La = function() {
@@ -2932,7 +2934,7 @@ var La = function() {
2932
2934
  null,
2933
2935
  null
2934
2936
  );
2935
- const Ct = $a.exports, Ia = {
2937
+ const Ht = $a.exports, Ia = {
2936
2938
  margins: re.VERTICAL,
2937
2939
  startOnZero: !0,
2938
2940
  withTooltip: !0,
@@ -2944,8 +2946,8 @@ const Ct = $a.exports, Ia = {
2944
2946
  ...ue(null, !1)
2945
2947
  },
2946
2948
  setup(t, { emit: e }) {
2947
- const r = t, { componentEventPropagator: n } = X(e), o = ae(V()), { options: a } = P(r), { allOptions: l } = Z(a, Ia);
2948
- return { __sfc: !0, props: r, emit: e, componentEventPropagator: n, slots: o, options: a, allOptions: l, LumeChart: ie, LumeLineGroup: Ct };
2949
+ const r = t, { componentEventPropagator: n } = U(e), o = ae(j()), { options: a } = S(r), { allOptions: l } = X(a, Ia);
2950
+ return { __sfc: !0, props: r, emit: e, componentEventPropagator: n, slots: o, options: a, allOptions: l, LumeChart: ie, LumeLineGroup: Ht };
2949
2951
  }
2950
2952
  });
2951
2953
  var wa = function() {
@@ -2957,7 +2959,7 @@ var wa = function() {
2957
2959
  return [e._t(a, null, null, l || {})];
2958
2960
  } };
2959
2961
  })], null, !0) }, "lume-chart", n.props, !1), n.componentEventPropagator));
2960
- }, Na = [], Ca = /* @__PURE__ */ E(
2962
+ }, Na = [], Ha = /* @__PURE__ */ E(
2961
2963
  Ea,
2962
2964
  wa,
2963
2965
  Na,
@@ -2967,8 +2969,8 @@ var wa = function() {
2967
2969
  null,
2968
2970
  null
2969
2971
  );
2970
- const Ua = Ca.exports;
2971
- function Ha(t) {
2972
+ const Ua = Ha.exports;
2973
+ function Ca(t) {
2972
2974
  return { areaPathDefinition: v(
2973
2975
  () => function(r, n) {
2974
2976
  if (!r || !n)
@@ -2999,7 +3001,7 @@ const Da = {
2999
3001
  ...ve()
3000
3002
  },
3001
3003
  setup(t, { expose: e, emit: r }) {
3002
- const n = t, { componentEventPropagator: o } = X(r), a = ae(V()), { data: l, options: i } = P(n), { internalData: u } = We(l), { allOptions: c } = Z(i, Da), { computedLineData: d } = Nt(u), { areaPathDefinition: s } = Ha(d), _ = v(() => u.value[0].color), m = v(
3004
+ const n = t, { componentEventPropagator: o } = U(r), a = ae(j()), { data: l, options: i } = S(n), { internalData: u } = We(l), { allOptions: c } = X(i, Da), { computedLineData: d } = Nt(u), { areaPathDefinition: s } = Ca(d), _ = v(() => u.value[0].color), m = v(
3003
3005
  () => l.value[0].areaColor || _.value
3004
3006
  );
3005
3007
  function f(y) {
@@ -3008,12 +3010,12 @@ const Da = {
3008
3010
  noMinSize: !0
3009
3011
  };
3010
3012
  }
3011
- function g(y, p, T) {
3012
- return ce().range([0, T.width]).domain([0, y[0].values.length - 1]);
3013
+ function g(y, p, x) {
3014
+ return ce().range([0, x.width]).domain([0, y[0].values.length - 1]);
3013
3015
  }
3014
3016
  return e({
3015
3017
  areaPathDefinition: s
3016
- }), { __sfc: !0, props: n, emit: r, componentEventPropagator: o, slots: a, data: l, options: i, internalData: u, allOptions: c, computedLineData: d, areaPathDefinition: s, computedColor: _, areaColor: m, getSparklineOptions: f, xScaleGenerator: g, LumeChart: ie, LumeLineGroup: Ct };
3018
+ }), { __sfc: !0, props: n, emit: r, componentEventPropagator: o, slots: a, data: l, options: i, internalData: u, allOptions: c, computedLineData: d, areaPathDefinition: s, computedColor: _, areaColor: m, getSparklineOptions: f, xScaleGenerator: g, LumeChart: ie, LumeLineGroup: Ht };
3017
3019
  }
3018
3020
  });
3019
3021
  var Pa = function() {
@@ -3056,7 +3058,7 @@ export {
3056
3058
  Za as LumeGroupedBarChart,
3057
3059
  fa as LumeLine,
3058
3060
  Ua as LumeLineChart,
3059
- Ct as LumeLineGroup,
3061
+ Ht as LumeLineGroup,
3060
3062
  wr as LumeOverlayGroup,
3061
3063
  ka as LumePoint,
3062
3064
  Wa as LumeSingleBarChart,