@adyen/lume 1.5.0 → 1.5.2

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,8 +1,8 @@
1
- import { defineComponent as w, ref as I, isRef as _t, computed as d, 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";
2
- import { format as Ft, ticks as Gt, scaleBand as se, scaleLinear as ce, link as Vt, line as jt, area as Mt } from "d3";
3
- import { createPopper as zt } from "@popperjs/core";
4
- import { sankeyLinkHorizontal as Wt, sankey as Zt, sankeyJustify as Xt } from "d3-sankey";
5
- const Ut = /* @__PURE__ */ w({
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";
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
+ import { createPopper as Wt } from "@popperjs/core";
4
+ import { sankeyLinkHorizontal as Zt, sankey as Xt, sankeyJustify as Ut } from "d3-sankey";
5
+ const Yt = /* @__PURE__ */ w({
6
6
  __name: "lume-tick",
7
7
  props: {
8
8
  value: {
@@ -60,9 +60,9 @@ function E(t, e, r, n, o, a, l, i) {
60
60
  } : o), c)
61
61
  if (u.functional) {
62
62
  u._injectStyles = c;
63
- var v = u.render;
63
+ var d = u.render;
64
64
  u.render = function(m, f) {
65
- return c.call(f), v(m, f);
65
+ return c.call(f), d(m, f);
66
66
  };
67
67
  } else {
68
68
  var s = u.beforeCreate;
@@ -73,7 +73,7 @@ function E(t, e, r, n, o, a, l, i) {
73
73
  options: u
74
74
  };
75
75
  }
76
- var Yt = function() {
76
+ var Kt = function() {
77
77
  var e = this, r = e._self._c, n = e._self._setupProxy;
78
78
  return r("g", e._b({ staticClass: "axis__tick", class: {
79
79
  "axis__tick--hovered": e.isHovered,
@@ -83,17 +83,17 @@ var Yt = function() {
83
83
  }, click: function(o) {
84
84
  return n.emit("click", o);
85
85
  } } }, "g", e.group, !1), [r("g", { staticClass: "axis__tick-label lume-typography--axis", attrs: { "pointer-events": "all", "data-j-axis__tick-label": "" } }, [r("rect", e._b({ staticClass: "axis__ghost", attrs: { fill: "url(#lume-tick-gradient)" } }, "rect", e.ghost, !1)), r("text", e._b({ ref: "labelRef", staticClass: "axis__label" }, "text", e.label, !1), [e._v(" " + e._s(e.value) + " ")])]), e.withGridlines ? r("line", e._b({ staticClass: "axis__grid-line" }, "line", e.gridline, !1)) : e._e()]);
86
- }, Kt = [], Jt = /* @__PURE__ */ E(
87
- Ut,
86
+ }, Jt = [], Qt = /* @__PURE__ */ E(
88
87
  Yt,
89
88
  Kt,
89
+ Jt,
90
90
  !1,
91
91
  null,
92
92
  "59ddc0a6",
93
93
  null,
94
94
  null
95
95
  );
96
- const Qt = Jt.exports, qt = [
96
+ const qt = Qt.exports, en = [
97
97
  "controls",
98
98
  "legend",
99
99
  "axes",
@@ -112,7 +112,7 @@ function ht(t) {
112
112
  function Fe(t) {
113
113
  return t.length === 1;
114
114
  }
115
- function en(t) {
115
+ function tn(t) {
116
116
  return !!t && t.every(
117
117
  (e) => "color" in e
118
118
  );
@@ -126,16 +126,16 @@ function gt(t, e) {
126
126
  r[n] = $e(t[n]) && $e(o) ? gt(t[n], o) : o;
127
127
  }), r;
128
128
  }
129
- function tn(t) {
129
+ function nn(t) {
130
130
  return t != null && $e(t) && "value" in t;
131
131
  }
132
132
  function oe(t) {
133
133
  return (t == null ? void 0 : t.bandwidth) !== void 0;
134
134
  }
135
- function nn(t) {
135
+ function rn(t) {
136
136
  return oe(t) ? t.step() : Math.max(...t.range()) / Math.max(...t.domain());
137
137
  }
138
- const rn = (t, e) => {
138
+ const on = (t, e) => {
139
139
  if (!t)
140
140
  throw new Error("Data is not a valid array");
141
141
  if (t.length === 0)
@@ -145,9 +145,9 @@ const rn = (t, e) => {
145
145
  ))
146
146
  throw new Error("Index exceeds length of all of the datasets");
147
147
  };
148
- function on(t, e) {
148
+ function an(t, e) {
149
149
  var r;
150
- return rn(t, e), ((r = t.reduce(
150
+ return on(t, e), ((r = t.reduce(
151
151
  (n, o) => {
152
152
  var a, l;
153
153
  return (((a = n.values[e]) == null ? void 0 : a.value) ?? 0) > (((l = o.values[e]) == null ? void 0 : l.value) ?? 0) ? n : o;
@@ -164,13 +164,13 @@ function Ie(t) {
164
164
  );
165
165
  return Array(r).fill(null);
166
166
  }
167
- function an(t) {
167
+ function ln(t) {
168
168
  return oe(t) ? t.domain().length : Math.max(...t.domain());
169
169
  }
170
- function ln(t, e) {
170
+ function un(t, e) {
171
171
  return (r) => Math.round(t * (1 - r) + e * r);
172
172
  }
173
- function un(t, e, r) {
173
+ function sn(t, e, r) {
174
174
  const n = r ? t.length - e : e, o = t.slice(0, n);
175
175
  return t.slice(n).concat(o);
176
176
  }
@@ -184,30 +184,30 @@ function ae(t) {
184
184
  }
185
185
  return t;
186
186
  }
187
- function sn(t) {
187
+ function cn(t) {
188
188
  return Object.assign(
189
189
  {},
190
190
  ...Object.keys(t).map(
191
- (e) => qt.includes(e) ? {} : { [e]: t[e] }
191
+ (e) => en.includes(e) ? {} : { [e]: t[e] }
192
192
  )
193
193
  );
194
194
  }
195
- const cn = (t = 21) => crypto.getRandomValues(new Uint8Array(t)).reduce(
195
+ const dn = (t = 21) => crypto.getRandomValues(new Uint8Array(t)).reduce(
196
196
  (e, r) => e += (r &= 63) < 36 ? r.toString(36) : r < 62 ? (r - 26).toString(36).toUpperCase() : r > 62 ? "-" : "_",
197
197
  ""
198
198
  );
199
199
  var K = /* @__PURE__ */ ((t) => (t.DatasetLength = `Our guidelines highly recommend not having more than 5 datasets in one chart.
200
200
  Learn more: https://lume.design/guidelines/datasets`, t.ColorLoop = "Colors will loop around after the 5th dataset. You can prevent this by setting specific colors for your datasets.", t.Empty = "The dataset(s) provided are empty.", t.InvalidFormat = "The string provided to format is invalid. Please refer to https://github.com/d3/d3-format for valid arguments.", t.NotContainedInSvg = "This component is an `SVGElement`, thus it is required to be inside an `<svg>` container.", t.InvalidHoveredIndex = "The provided hovered index is not valid for the data of this chart.", t.InvalidHoveredElement = "The provided hovered element is not valid for the data of this diagram.", t))(K || {});
201
- const dn = "[lume] ";
201
+ const vn = "[lume] ";
202
202
  function ne(t, e = !0) {
203
- e && mt() || console.warn(dn + "Warning: " + t);
203
+ e && mt() || console.warn(vn + "Warning: " + t);
204
204
  }
205
205
  const he = (t) => {
206
206
  let e = null;
207
207
  switch (typeof t) {
208
208
  case "string":
209
209
  try {
210
- e = Ft(t);
210
+ e = Gt(t);
211
211
  } catch {
212
212
  ne(K.InvalidFormat), e = null;
213
213
  }
@@ -229,22 +229,22 @@ const he = (t) => {
229
229
  }
230
230
  });
231
231
  function Z(t, e) {
232
- return { allOptions: d(() => {
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;
235
235
  }) };
236
236
  }
237
- const vn = 0.2;
238
- function _n(t, e, r) {
239
- const n = I(), o = d(() => Math.max(...t.value.range())), a = d(() => e.value.length);
237
+ const _n = 0.2;
238
+ function pn(t, e, r) {
239
+ const n = I(), o = v(() => Math.max(...t.value.range())), a = v(() => e.value.length);
240
240
  function l() {
241
241
  if (!e.value)
242
242
  return;
243
243
  const u = e.value.reduce(
244
- (v, s) => v + s.ref.getBoundingClientRect().width,
244
+ (d, s) => d + s.ref.getBoundingClientRect().width,
245
245
  0
246
246
  ), c = Math.ceil(u / a.value);
247
- n.value = c + c * vn;
247
+ n.value = c + c * _n;
248
248
  }
249
249
  function i(u) {
250
250
  if (!e.value)
@@ -252,7 +252,7 @@ function _n(t, e, r) {
252
252
  const c = e.value.length;
253
253
  if (u === 0)
254
254
  return !0;
255
- const v = o.value / c, s = typeof r == "number" && r > 0 && r + 1 || Math.ceil(n.value / v);
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
258
  return H(e, l), { showTick: i };
@@ -261,11 +261,11 @@ var j = /* @__PURE__ */ ((t) => (t.Skyblue = "skyblue", t.Royalblue = "royalblue
261
261
  const L = {
262
262
  HORIZONTAL: "horizontal",
263
263
  VERTICAL: "vertical"
264
- }, pn = {
264
+ }, fn = {
265
265
  SINGLE: "single",
266
266
  GROUPED: "grouped",
267
267
  STACKED: "stacked"
268
- }, bt = "No data", Je = 20, kt = 0.33, Tt = 0.5, xt = 12, _e = 8, fn = 1, mn = [
268
+ }, kt = "No data", Je = 20, bt = 0.33, Tt = 0.5, xt = 12, _e = 8, mn = 1, hn = [
269
269
  "auto",
270
270
  "auto-start",
271
271
  "auto-end",
@@ -301,25 +301,25 @@ const At = {
301
301
  tickFormat: null,
302
302
  /** Space between the tick label and the axis line. */
303
303
  tickPadding: 8
304
- }, hn = {
304
+ }, gn = {
305
305
  ...At,
306
306
  withTitle: !1,
307
307
  skip: !0
308
- }, gn = {
308
+ }, yn = {
309
309
  ...At,
310
310
  gridLines: !0
311
- }, yn = function(t, e, r) {
312
- const n = d(() => t.value.step() * t.value.paddingInner() / 2);
311
+ }, kn = function(t, e, r) {
312
+ const n = v(() => t.value.step() * t.value.paddingInner() / 2);
313
313
  function o(u, c) {
314
314
  return {
315
315
  transform: `translate(${(t.value(c) ?? t.value(u)) - n.value}, 0)`
316
316
  };
317
317
  }
318
318
  function a(u) {
319
- var v;
319
+ var d;
320
320
  const c = Math.max(
321
321
  t.value.step(),
322
- (u ? (v = u.getComputedTextLength) == null ? void 0 : v.call(u) : t.value.step()) + 20
322
+ (u ? (d = u.getComputedTextLength) == null ? void 0 : d.call(u) : t.value.step()) + 20
323
323
  );
324
324
  return {
325
325
  x: -(c - t.value.step()) / 2,
@@ -351,15 +351,15 @@ const At = {
351
351
  getTickLabelAttributes: i
352
352
  };
353
353
  }, bn = function(t, e, r) {
354
- const n = d(() => t.value.step() * t.value.paddingInner() / 2);
354
+ const n = v(() => t.value.step() * t.value.paddingInner() / 2);
355
355
  function o(u, c) {
356
356
  return {
357
357
  transform: `translate(0, ${(t.value(c) ?? t.value(u)) - n.value})`
358
358
  };
359
359
  }
360
360
  function a(u) {
361
- var v;
362
- const c = (u ? (v = u.getComputedTextLength) == null ? void 0 : v.call(u) : 42) + r.value.tickPadding + _e;
361
+ var d;
362
+ const c = (u ? (d = u.getComputedTextLength) == null ? void 0 : d.call(u) : 42) + r.value.tickPadding + _e;
363
363
  return {
364
364
  x: -c,
365
365
  width: c,
@@ -388,8 +388,8 @@ const At = {
388
388
  getTickGroupAttributes: o,
389
389
  getTickLabelAttributes: i
390
390
  };
391
- }, kn = function(t, e, r) {
392
- const n = d(() => {
391
+ }, Tn = function(t, e, r) {
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;
395
395
  });
@@ -423,8 +423,8 @@ const At = {
423
423
  getTickGroupAttributes: o,
424
424
  getTickLabelAttributes: i
425
425
  };
426
- }, Tn = function(t, e, r) {
427
- const n = d(() => {
426
+ }, xn = function(t, e, r) {
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;
430
430
  });
@@ -434,8 +434,8 @@ const At = {
434
434
  };
435
435
  }
436
436
  function a(u) {
437
- var v;
438
- const c = (((v = u == null ? void 0 : u.getComputedTextLength) == null ? void 0 : v.call(u)) || 0) + r.value.tickPadding + _e;
437
+ var d;
438
+ const c = (((d = u == null ? void 0 : u.getComputedTextLength) == null ? void 0 : d.call(u)) || 0) + r.value.tickPadding + _e;
439
439
  return {
440
440
  width: c,
441
441
  height: n.value,
@@ -461,14 +461,14 @@ const At = {
461
461
  getTickGroupAttributes: o,
462
462
  getTickLabelAttributes: i
463
463
  };
464
- }, xn = {
465
- "x-band-scale-axis": yn,
464
+ }, An = {
465
+ "x-band-scale-axis": kn,
466
466
  "y-band-scale-axis": bn,
467
- "x-linear-scale-axis": kn,
468
- "y-linear-scale-axis": Tn
467
+ "x-linear-scale-axis": Tn,
468
+ "y-linear-scale-axis": xn
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
- const An = /* @__PURE__ */ w({
471
+ const Ln = /* @__PURE__ */ w({
472
472
  __name: "lume-axis",
473
473
  props: {
474
474
  scale: {
@@ -501,31 +501,31 @@ const An = /* @__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)), v = ge({}), s = I(null), _ = I(null), m = I(null), f = d(
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(
505
505
  () => r.type ? me[r.type] : r.position
506
- ), g = d(
506
+ ), g = v(
507
507
  () => r.type || (f.value === "left" ? "y" : "x")
508
- ), y = d(
508
+ ), y = v(
509
509
  () => g.value === "x" && u.value === L.VERTICAL || g.value === "y" && u.value === L.HORIZONTAL
510
510
  ), { allOptions: p } = Z(
511
511
  i,
512
- g.value === "x" ? hn : gn
513
- ), { showTick: T } = _n(o, s, p.value.skip), A = d(() => {
512
+ g.value === "x" ? gn : yn
513
+ ), { showTick: T } = 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 = d(() => {
516
+ }), x = 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();
520
- return Gt(h, O, $);
521
- }), k = d(() => {
520
+ return Vt(h, O, $);
521
+ }), b = v(() => {
522
522
  const { tickFormat: $ } = p.value;
523
523
  return he($);
524
- }), C = d(
524
+ }), C = v(
525
525
  () => p.value.withHover && y.value && l.value > -1
526
- ), D = d(
526
+ ), D = v(
527
527
  () => p.value.tickPadding + _e || n
528
- ), R = d(() => g.value === "x" ? (
528
+ ), R = v(() => g.value === "x" ? (
529
529
  // If x axis, get the tick height
530
530
  Math.max(
531
531
  ...(s.value || []).map(
@@ -548,7 +548,7 @@ const An = /* @__PURE__ */ w({
548
548
  ));
549
549
  function B($) {
550
550
  const { showTicks: h } = p.value;
551
- return h === !1 ? "" : k.value($);
551
+ return h === !1 ? "" : b.value($);
552
552
  }
553
553
  function Q($, h, O) {
554
554
  e("mouseenter", { index: y.value ? $ : null, value: h, event: O });
@@ -565,25 +565,25 @@ const An = /* @__PURE__ */ w({
565
565
  m.value = x.value.map(
566
566
  ($, h) => ({
567
567
  value: B($),
568
- group: v.getTickGroupAttributes($, h),
569
- ghost: v.getTickGhostAttributes(M(h)),
570
- label: v.getTickLabelAttributes(),
571
- gridline: v.getGridLinesAttributes()
568
+ group: d.getTickGroupAttributes($, h),
569
+ ghost: d.getTickGhostAttributes(M(h)),
570
+ label: d.getTickLabelAttributes(),
571
+ gridline: d.getGridLinesAttributes()
572
572
  })
573
573
  );
574
574
  }
575
575
  function U() {
576
- const $ = o.value.step ? "bandScale" : "linearScale", h = xn[`${g.value}-${Ee[$]}`];
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]) => {
579
- v[O] = N;
579
+ d[O] = N;
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: v, tickRefs: s, root: _, ticksWithAttributes: m, computedPosition: f, computedType: g, shouldHover: y, allOptions: p, showTick: T, axisTransform: A, ticks: x, tickFormatter: k, isHovering: C, axisLabelOffset: D, axisSize: R, formatTick: B, handleTickMouseenter: Q, handleTickClick: G, getTextNode: M, setTicks: q, init: U, LumeTick: Qt };
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 };
584
584
  }
585
585
  });
586
- var Ln = function() {
586
+ var On = function() {
587
587
  var e = this, r = e._self._c, n = e._self._setupProxy;
588
588
  return n.scale ? r("g", { ref: "root", staticClass: "axis", attrs: { transform: n.axisTransform, "data-j-axis": "" }, on: { mouseleave: function(o) {
589
589
  return n.emit("mouseleave", o);
@@ -600,36 +600,36 @@ var Ln = function() {
600
600
  o
601
601
  );
602
602
  } } }, "lume-tick", n.ticksWithAttributes[n.hoveredIndex], !1)) : e._e()], 2) : e._e();
603
- }, On = [], $n = /* @__PURE__ */ E(
604
- An,
603
+ }, $n = [], In = /* @__PURE__ */ E(
605
604
  Ln,
606
605
  On,
606
+ $n,
607
607
  !1,
608
608
  null,
609
609
  null,
610
610
  null,
611
611
  null
612
612
  );
613
- const In = $n.exports;
614
- function En(t, e, r, n) {
615
- const o = d(() => r.value > 0 && r.value < 1), a = d(
613
+ const En = In.exports;
614
+ function wn(t, e, r, n) {
615
+ const o = v(() => r.value > 0 && r.value < 1), a = v(
616
616
  () => n.value > 0 && n.value < 1
617
- ), l = d(
617
+ ), l = v(
618
618
  () => o.value ? t.value - 0.5 : t.value
619
619
  // draws the 1px bar closer to the axis
620
- ), i = d(
620
+ ), i = v(
621
621
  () => a.value ? e.value - 0.5 : e.value
622
622
  // draws the 1px bar closer to the axis
623
623
  );
624
624
  return { computedX: l, computedY: i, shouldHaveMinWidth: o, shouldHaveMinHeight: a };
625
625
  }
626
- function wn(t, e, r, n) {
627
- const o = I(0), a = I(0), l = d(() => `${t.value + r.value / 2}px ${e.value + n.value / 2}px`);
626
+ function Nn(t, e, r, n) {
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
630
  }), H(r, (i) => o.value = i), H(n, (i) => a.value = i), { computedWidth: o, computedHeight: a, transformOrigin: l };
631
631
  }
632
- const Nn = /* @__PURE__ */ w({
632
+ const Cn = /* @__PURE__ */ w({
633
633
  __name: "lume-bar",
634
634
  props: {
635
635
  x: {
@@ -667,13 +667,13 @@ const Nn = /* @__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), v = d(
670
+ const r = t, { x: n, y: o, width: a, height: l, transition: i, classList: u } = P(r), c = I(null), d = v(
671
671
  () => typeof u.value == "string" ? [u.value] : u.value
672
- ), s = d(() => i.value === "width"), _ = d(() => i.value === "height"), m = wn(n, o, a, l), { computedX: f, computedY: g, shouldHaveMinWidth: y, shouldHaveMinHeight: p } = En(n, o, a, l), T = d(() => y.value ? 1 : (s.value ? m.computedWidth : a).value), A = d(() => 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: v, 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), 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 };
674
674
  }
675
675
  });
676
- var Cn = function() {
676
+ var Hn = 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
  {
@@ -690,18 +690,18 @@ var Cn = function() {
690
690
  }, mouseleave: function(o) {
691
691
  return n.emit("mouseleave", o);
692
692
  } } });
693
- }, Hn = [], Dn = /* @__PURE__ */ E(
694
- Nn,
693
+ }, Dn = [], Rn = /* @__PURE__ */ E(
695
694
  Cn,
696
695
  Hn,
696
+ Dn,
697
697
  !1,
698
698
  null,
699
699
  "8e8f732a",
700
700
  null,
701
701
  null
702
702
  );
703
- const Me = Dn.exports;
704
- function Rn() {
703
+ const Me = Rn.exports;
704
+ function Pn() {
705
705
  const t = I(), e = ge({
706
706
  dimensions: {}
707
707
  }), r = new ResizeObserver((n) => {
@@ -715,7 +715,7 @@ function Rn() {
715
715
  r.unobserve(t.value);
716
716
  }), { resizeState: e, resizeRef: t };
717
717
  }
718
- const Pn = /* @__PURE__ */ w({
718
+ const Sn = /* @__PURE__ */ w({
719
719
  __name: "lume-chart-container",
720
720
  props: {
721
721
  margins: {
@@ -737,26 +737,26 @@ const Pn = /* @__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 } = Rn(), u = d(
740
+ const r = t, { margins: n, containerSize: o } = P(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(() => {
744
744
  if (!a.value)
745
745
  return;
746
- const { width: c } = i.dimensions, { height: v } = a.value.getBoundingClientRect();
747
- if (!c || !v)
746
+ const { width: c } = i.dimensions, { height: d } = a.value.getBoundingClientRect();
747
+ if (!c || !d)
748
748
  return;
749
- const s = c - n.value.left - n.value.right, _ = v - n.value.top - n.value.bottom, m = {
749
+ const s = c - n.value.left - n.value.right, _ = d - n.value.top - n.value.bottom, m = {
750
750
  width: s > 0 ? s : 0,
751
751
  height: _ > 0 ? _ : 0,
752
752
  outerWidth: c,
753
- outerHeight: v
753
+ outerHeight: d
754
754
  };
755
755
  e("resize", m);
756
756
  }), { __sfc: !0, props: r, emit: e, margins: n, containerSize: o, root: a, resizeRef: l, resizeState: i, svgHeight: u };
757
757
  }
758
758
  });
759
- var Sn = function() {
759
+ var Bn = function() {
760
760
  var e = this, r = e._self._c, n = e._self._setupProxy;
761
761
  return r("div", { ref: "resizeRef", staticClass: "lume-chart-container", class: {
762
762
  "lume-chart-container--minimum": !e.noMinSize
@@ -769,22 +769,22 @@ var Sn = function() {
769
769
  }, mouseleave: function(o) {
770
770
  return n.emit("mouseleave", o);
771
771
  } } }, [r("g", { staticClass: "lume-chart-container__group", attrs: { transform: `translate(${n.margins.left}, ${n.margins.top})`, "data-j-chart-container__group": "" } }, [e._t("default")], 2)]), e._t("footer"), e._t("extra")], 2);
772
- }, Bn = [], Fn = /* @__PURE__ */ E(
773
- Pn,
772
+ }, Fn = [], Gn = /* @__PURE__ */ E(
774
773
  Sn,
775
774
  Bn,
775
+ Fn,
776
776
  !1,
777
777
  null,
778
778
  "36870bc4",
779
779
  null,
780
780
  null
781
781
  );
782
- const Gn = Fn.exports, Vn = /* @__PURE__ */ w({
782
+ const Vn = Gn.exports, jn = /* @__PURE__ */ w({
783
783
  __name: "lume-chart-legend",
784
784
  props: {
785
785
  data: {
786
786
  type: Array,
787
- validator: en,
787
+ validator: tn,
788
788
  required: !0
789
789
  }
790
790
  },
@@ -794,7 +794,7 @@ const Gn = Fn.exports, Vn = /* @__PURE__ */ w({
794
794
  return { __sfc: !0, emit: e, isEmpty: r };
795
795
  }
796
796
  });
797
- var jn = function() {
797
+ var Mn = function() {
798
798
  var e = this, r = e._self._c, n = e._self._setupProxy;
799
799
  return n.isEmpty ? e._e() : r("div", { staticClass: "lume-chart-legend", attrs: { "data-j-chart-legend": "" }, on: { mouseleave: function(o) {
800
800
  return n.emit("mouseleave");
@@ -805,47 +805,47 @@ var jn = function() {
805
805
  return n.emit("mouseenter", { index: a, dataset: o, event: l });
806
806
  } } }, [r("span", { staticClass: "lume-chart-legend__symbol", class: `lume-background-color--${o.color}`, attrs: { "data-j-chart-legend__symbol": "" } }), e._v(" " + e._s(o.label || a) + " ")]);
807
807
  }), 0);
808
- }, Mn = [], zn = /* @__PURE__ */ E(
809
- Vn,
808
+ }, zn = [], Wn = /* @__PURE__ */ E(
810
809
  jn,
811
810
  Mn,
811
+ zn,
812
812
  !1,
813
813
  null,
814
814
  "4710298b",
815
815
  null,
816
816
  null
817
817
  );
818
- const Wn = zn.exports;
819
- const Zn = {};
820
- var Xn = function() {
818
+ const Zn = Wn.exports;
819
+ const Xn = {};
820
+ var Un = function() {
821
821
  var e = this, r = e._self._c;
822
822
  return r("div", { staticClass: "lume-tooltip__title", attrs: { "data-j-tooltip__title": "" } }, [e._t("default")], 2);
823
- }, Un = [], Yn = /* @__PURE__ */ E(
824
- Zn,
823
+ }, Yn = [], Kn = /* @__PURE__ */ E(
825
824
  Xn,
826
825
  Un,
826
+ Yn,
827
827
  !1,
828
828
  null,
829
829
  "8af3fac6",
830
830
  null,
831
831
  null
832
832
  );
833
- const Kn = Yn.exports;
834
- const Jn = {};
835
- var Qn = function() {
833
+ const Jn = Kn.exports;
834
+ const Qn = {};
835
+ var qn = function() {
836
836
  var e = this, r = e._self._c;
837
837
  return r("li", { staticClass: "lume-tooltip__item", attrs: { "data-j-tooltip__summary-item": "" } }, [r("span", [e._t("default")], 2), r("strong", { staticClass: "lume-tooltip__value" }, [e._t("value")], 2)]);
838
- }, qn = [], er = /* @__PURE__ */ E(
839
- Jn,
838
+ }, er = [], tr = /* @__PURE__ */ E(
840
839
  Qn,
841
840
  qn,
841
+ er,
842
842
  !1,
843
843
  null,
844
844
  "4ed7ec1b",
845
845
  null,
846
846
  null
847
847
  );
848
- const tr = er.exports, nr = /* @__PURE__ */ w({
848
+ const nr = tr.exports, rr = /* @__PURE__ */ w({
849
849
  __name: "lume-tooltip-item",
850
850
  props: {
851
851
  color: {
@@ -857,20 +857,20 @@ const tr = er.exports, nr = /* @__PURE__ */ w({
857
857
  return { __sfc: !0 };
858
858
  }
859
859
  });
860
- var rr = function() {
860
+ var or = function() {
861
861
  var e = this, r = e._self._c;
862
862
  return e._self._setupProxy, r("li", { staticClass: "lume-tooltip__item", attrs: { "data-j-tooltip__item": "" } }, [e.color ? r("span", { staticClass: "lume-tooltip__symbol", class: [`lume-background-color--${e.color}`], attrs: { "data-j-tooltip__item__symbol": "" } }) : e._e(), r("span", { attrs: { "data-j-tooltip__item__label": "" } }, [e._t("label")], 2), r("strong", { staticClass: "lume-tooltip__value", attrs: { "data-j-tooltip__item__value": "" } }, [e._t("value")], 2)]);
863
- }, or = [], ar = /* @__PURE__ */ E(
864
- nr,
863
+ }, ar = [], lr = /* @__PURE__ */ E(
865
864
  rr,
866
865
  or,
866
+ ar,
867
867
  !1,
868
868
  null,
869
869
  "4f995c3c",
870
870
  null,
871
871
  null
872
872
  );
873
- const lr = ar.exports, ur = /* @__PURE__ */ w({
873
+ const ur = lr.exports, ir = /* @__PURE__ */ w({
874
874
  __name: "lume-tooltip",
875
875
  props: {
876
876
  targetElement: {
@@ -884,7 +884,7 @@ const lr = ar.exports, ur = /* @__PURE__ */ w({
884
884
  position: {
885
885
  type: String,
886
886
  default: "auto",
887
- validator: (t) => mn.includes(t)
887
+ validator: (t) => hn.includes(t)
888
888
  },
889
889
  fixedPositioning: {
890
890
  type: Boolean,
@@ -906,11 +906,11 @@ const lr = ar.exports, ur = /* @__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 = d(
909
+ const r = t, n = I(null), { items: o, options: a } = P(r), l = V(), i = I(null), { allOptions: u } = Z(a), c = v(
910
910
  () => u.value.fixedPositioning ?? r.fixedPositioning
911
- ), v = d(
911
+ ), d = v(
912
912
  () => c.value ? "fixed" : "absolute"
913
- ), s = d(() => [
913
+ ), s = v(() => [
914
914
  {
915
915
  name: "computeStyles",
916
916
  options: {
@@ -923,20 +923,20 @@ const lr = ar.exports, ur = /* @__PURE__ */ w({
923
923
  options: { offset: [0, u.value.offset || 8] }
924
924
  },
925
925
  ...r.modifiers || []
926
- ]), _ = d(
926
+ ]), _ = v(
927
927
  () => u.value.showTitle !== !1 && r.title != null
928
- ), m = d(() => he(u.value.valueFormat)), f = d(() => he(u.value.titleFormat)), g = d(
928
+ ), m = v(() => he(u.value.valueFormat)), f = v(() => he(u.value.titleFormat)), g = v(
929
929
  () => {
930
930
  var x;
931
- return ((x = o.value) == null ? void 0 : x.find((k) => k.isSummary)) || {
931
+ return ((x = o.value) == null ? void 0 : x.find((b) => b.isSummary)) || {
932
932
  label: u.value.summary ?? r.summary
933
933
  };
934
934
  }
935
- ), y = d(() => l.summary || g.value.label);
935
+ ), y = v(() => l.summary || g.value.label);
936
936
  function p() {
937
- r.targetElement && n.value && (i.value = zt(r.targetElement, n.value, {
937
+ r.targetElement && n.value && (i.value = Wt(r.targetElement, n.value, {
938
938
  placement: r.position,
939
- strategy: v.value,
939
+ strategy: d.value,
940
940
  modifiers: s.value
941
941
  }), e("opened", r.targetElement));
942
942
  }
@@ -950,13 +950,13 @@ const lr = ar.exports, ur = /* @__PURE__ */ w({
950
950
  }
951
951
  return H(
952
952
  () => r.targetElement,
953
- (x, k) => {
954
- !k && x ? p() : A();
953
+ (x, b) => {
954
+ !b && x ? 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: v, allModifiers: s, showTitle: _, formatValue: m, formatTitle: f, summaryItem: g, hasSummary: y, initPopper: p, destroyPopper: T, updatePopper: A, LumeTooltipTitle: Kn, LumeTooltipSummary: tr, LumeTooltipItem: lr };
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 };
957
957
  }
958
958
  });
959
- var ir = function() {
959
+ var sr = function() {
960
960
  var e = this, r = e._self._c, n = e._self._setupProxy;
961
961
  return r("div", { directives: [{ name: "show", rawName: "v-show", value: e.targetElement, expression: "targetElement" }], ref: "root", staticClass: "lume-tooltip lume-typography--caption", class: {
962
962
  "lume-tooltip--pointer-events": n.options.withPointerEvents
@@ -981,23 +981,23 @@ var ir = function() {
981
981
  });
982
982
  })], 2)];
983
983
  })], 2);
984
- }, sr = [], cr = /* @__PURE__ */ E(
985
- ur,
984
+ }, cr = [], dr = /* @__PURE__ */ E(
986
985
  ir,
987
986
  sr,
987
+ cr,
988
988
  !1,
989
989
  null,
990
990
  "8ec11304",
991
991
  null,
992
992
  null
993
993
  );
994
- const dr = cr.exports;
994
+ const vr = dr.exports;
995
995
  var te = /* @__PURE__ */ ((t) => (t.Categorical = "categorical", t.Sequential = "sequential", t.Divergent = "divergent", t))(te || {});
996
- const vr = te.Categorical, pe = j.Skyblue, _r = Ge.SkyTeal;
997
- function pr(t) {
998
- return t === te.Divergent ? _r : pe;
999
- }
996
+ const _r = te.Categorical, pe = j.Skyblue, pr = Ge.SkyTeal;
1000
997
  function fr(t) {
998
+ return t === te.Divergent ? pr : pe;
999
+ }
1000
+ function mr(t) {
1001
1001
  return Object.values(je).includes(t);
1002
1002
  }
1003
1003
  function Qe(t, e) {
@@ -1008,15 +1008,15 @@ function Qe(t, e) {
1008
1008
  ...je
1009
1009
  }).includes(t);
1010
1010
  }
1011
- function mr(t, e) {
1011
+ function hr(t, e) {
1012
1012
  const r = Object.values(j).indexOf(t);
1013
- return un(Object.values(j), r > -1 ? r : 0)[e];
1013
+ return sn(Object.values(j), r > -1 ? r : 0)[e];
1014
1014
  }
1015
- function hr(t, e) {
1015
+ function gr(t, e) {
1016
1016
  const r = 50 + e * 10;
1017
1017
  return `${t}-${r}`;
1018
1018
  }
1019
- function gr(t, e) {
1019
+ function yr(t, e) {
1020
1020
  const r = (e + 1) * 10;
1021
1021
  return `${t}-${r}`;
1022
1022
  }
@@ -1024,20 +1024,20 @@ function qe(t, e, r) {
1024
1024
  switch (e) {
1025
1025
  default:
1026
1026
  case te.Categorical:
1027
- return fr(t) ? t : mr(t, r);
1027
+ return mr(t) ? t : hr(t, r);
1028
1028
  case te.Sequential:
1029
- return hr(t, r);
1030
- case te.Divergent:
1031
1029
  return gr(t, r);
1030
+ case te.Divergent:
1031
+ return yr(t, r);
1032
1032
  }
1033
1033
  }
1034
- function yr(t, e, r = vr, n) {
1035
- return Qe(t, r) ? t : (n > 4 && (ne(K.ColorLoop), n = n % 5), Qe(e, r) ? qe(e, r, n) : qe(pr(r), r, n));
1034
+ function kr(t, e, r = _r, n) {
1035
+ return Qe(t, r) ? t : (n > 4 && (ne(K.ColorLoop), n = n % 5), Qe(e, r) ? qe(e, r, n) : qe(fr(r), r, n));
1036
1036
  }
1037
1037
  function br(t) {
1038
- return t.map((e) => tn(e) ? e : { value: e });
1038
+ return t.map((e) => nn(e) ? e : { value: e });
1039
1039
  }
1040
- function kr(t) {
1040
+ function Tr(t) {
1041
1041
  return t.__internal === !0;
1042
1042
  }
1043
1043
  const ze = (t = null) => ({
@@ -1063,13 +1063,13 @@ function We(t, e, r, n, o) {
1063
1063
  const a = ge({
1064
1064
  width: 0,
1065
1065
  height: 0
1066
- }), l = cn(12), i = d(() => {
1067
- var v;
1068
- return t.value.length > 5 && ne(K.DatasetLength), (v = t.value) == null ? void 0 : v.map(
1066
+ }), l = dn(12), i = v(() => {
1067
+ var d;
1068
+ return t.value.length > 5 && ne(K.DatasetLength), (d = t.value) == null ? void 0 : d.map(
1069
1069
  (s, _) => {
1070
- if (kr(s))
1070
+ if (Tr(s))
1071
1071
  return s;
1072
- const m = br(s.values), f = yr(
1072
+ const m = br(s.values), f = kr(
1073
1073
  s.color,
1074
1074
  r == null ? void 0 : r.value,
1075
1075
  n == null ? void 0 : n.value.colorPalette,
@@ -1083,10 +1083,10 @@ function We(t, e, r, n, o) {
1083
1083
  };
1084
1084
  }
1085
1085
  );
1086
- }), u = d(() => Array.isArray(e.value) ? e.value : Ie(t.value).map((v, s) => s));
1087
- function c(v) {
1088
- const s = (o == null ? void 0 : o.value) === L.HORIZONTAL && Ie(t).length * (((n == null ? void 0 : n.value.barHeight) || Je) * 2) + ((n == null ? void 0 : n.value.barHeight) || Je) || v.height;
1089
- a.width = v.width, a.height = s;
1086
+ }), u = v(() => Array.isArray(e.value) ? e.value : Ie(t.value).map((d, s) => s));
1087
+ function c(d) {
1088
+ const s = (o == null ? void 0 : o.value) === L.HORIZONTAL && Ie(t).length * (((n == null ? void 0 : n.value.barHeight) || Je) * 2) + ((n == null ? void 0 : n.value.barHeight) || Je) || d.height;
1089
+ a.width = d.width, a.height = s;
1090
1090
  }
1091
1091
  return {
1092
1092
  chartID: l,
@@ -1096,7 +1096,7 @@ function We(t, e, r, n, o) {
1096
1096
  updateSize: c
1097
1097
  };
1098
1098
  }
1099
- const Tr = () => ({
1099
+ const xr = () => ({
1100
1100
  xScale: {
1101
1101
  type: Function,
1102
1102
  default: null
@@ -1106,7 +1106,7 @@ const Tr = () => ({
1106
1106
  default: null
1107
1107
  }
1108
1108
  });
1109
- function xr(t, e, r, n, o) {
1109
+ function Ar(t, e, r, n, o) {
1110
1110
  const a = I(null), l = I(null);
1111
1111
  function i() {
1112
1112
  const { width: u, height: c } = r;
@@ -1135,14 +1135,14 @@ function xr(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 : kt);
1138
+ const o = [0, e], { padding: a, paddingInner: l, paddingOuter: i } = n, u = a ?? (r === L.HORIZONTAL ? Tt : bt);
1139
1139
  return Object.assign(
1140
- se().range(o).paddingInner(l ?? u).paddingOuter(i ?? u).domain(t.map((c, v) => v)),
1140
+ se().range(o).paddingInner(l ?? u).paddingOuter(i ?? u).domain(t.map((c, d) => d)),
1141
1141
  { labels: t }
1142
1142
  );
1143
1143
  }
1144
1144
  function tt(t, e, r, n) {
1145
- const o = ht(t).filter((v) => v != null), a = [0, e];
1145
+ const o = ht(t).filter((d) => d != null), a = [0, e];
1146
1146
  if (o.length === 0)
1147
1147
  return ce().range(a).domain([0, 0]).nice();
1148
1148
  const l = Math.min(...o), i = n && l > 0 ? 0 : l, u = Math.max(...o), c = r === L.HORIZONTAL ? [i, u] : [u, i];
@@ -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 : kt);
1162
+ const a = r ?? (e === L.HORIZONTAL ? Tt : 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
- ...Tr(),
1170
+ ...xr(),
1171
1171
  ...ve(),
1172
1172
  classList: {
1173
1173
  type: [String, Array],
@@ -1184,14 +1184,14 @@ const ue = (t, e = !0) => ({
1184
1184
  validator: Lt
1185
1185
  }
1186
1186
  } : {}
1187
- }), Ar = (t) => ({
1187
+ }), Lr = (t) => ({
1188
1188
  ...ze(t),
1189
1189
  ...ve(),
1190
1190
  hoveredElement: {
1191
1191
  type: [Number, String],
1192
1192
  default: null
1193
1193
  }
1194
- }), be = () => ({
1194
+ }), ke = () => ({
1195
1195
  data: {
1196
1196
  type: Array,
1197
1197
  required: !0
@@ -1233,10 +1233,10 @@ const ue = (t, e = !0) => ({
1233
1233
  type: [String, Array],
1234
1234
  default: () => []
1235
1235
  }
1236
- }), Lr = /* @__PURE__ */ w({
1236
+ }), Or = /* @__PURE__ */ w({
1237
1237
  __name: "lume-overlay-group",
1238
1238
  props: {
1239
- ...be(),
1239
+ ...ke(),
1240
1240
  orientation: {
1241
1241
  type: String,
1242
1242
  default: L.VERTICAL
@@ -1244,10 +1244,10 @@ 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 = d(() => Ie(n));
1247
+ const r = t, { data: n, orientation: o, xScale: a, yScale: l } = P(r), i = v(() => Ie(n));
1248
1248
  function u(c) {
1249
1249
  var y;
1250
- const v = o.value === L.HORIZONTAL ? l.value : a.value, s = v.domain(), _ = nn(v), m = ((y = v.paddingInner) == null ? void 0 : y.call(v)) ?? 0, f = _ * m, g = oe(v) ? v(s[c]) - f / 2 : v(c) - _ / 2;
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;
1251
1251
  return o.value === L.HORIZONTAL ? {
1252
1252
  width: Math.max(...a.value.range()),
1253
1253
  height: _,
@@ -1261,7 +1261,7 @@ const ue = (t, e = !0) => ({
1261
1261
  return { __sfc: !0, props: r, emit: e, data: n, orientation: o, xScale: a, yScale: l, overlayData: i, getOverlayBarAttributes: u, LumeBar: Me };
1262
1262
  }
1263
1263
  });
1264
- var Or = function() {
1264
+ var $r = function() {
1265
1265
  var e = this, r = e._self._c, n = e._self._setupProxy;
1266
1266
  return r("g", { staticClass: "lume-overlay-group" }, e._l(n.overlayData, function(o, a) {
1267
1267
  return r(n.LumeBar, e._b({ key: `overlay-${a}`, attrs: { "data-j-lume-overlay-group": a, transition: !1, "class-list": "lume-fill--transparent" }, on: { mouseover: function(l) {
@@ -1270,17 +1270,17 @@ var Or = function() {
1270
1270
  return n.emit("click", { index: a, event: l });
1271
1271
  } } }, "lume-bar", n.getOverlayBarAttributes(a), !1));
1272
1272
  }), 1);
1273
- }, $r = [], Ir = /* @__PURE__ */ E(
1274
- Lr,
1273
+ }, Ir = [], Er = /* @__PURE__ */ E(
1275
1274
  Or,
1276
1275
  $r,
1276
+ Ir,
1277
1277
  !1,
1278
1278
  null,
1279
1279
  null,
1280
1280
  null,
1281
1281
  null
1282
1282
  );
1283
- const Er = Ir.exports, wr = [
1283
+ const wr = Er.exports, Nr = [
1284
1284
  "axis-click",
1285
1285
  "axis-mouseenter",
1286
1286
  "axis-mouseleave",
@@ -1321,73 +1321,83 @@ const Er = Ir.exports, wr = [
1321
1321
  (i) => l(...i.detail)
1322
1322
  );
1323
1323
  }
1324
- return { componentEventPropagator: wr.reduce((a, l) => (a[l] = (i) => t(l, i), a), {}), emitInternalEvent: r, listenInternalEvent: n };
1324
+ return { componentEventPropagator: Nr.reduce((a, l) => (a[l] = (i) => t(l, i), a), {}), emitInternalEvent: r, listenInternalEvent: n };
1325
1325
  };
1326
- function Nr(t) {
1327
- return { hasNegativeValues: d(
1326
+ function Cr(t) {
1327
+ return { hasNegativeValues: v(
1328
1328
  () => ht(t.value).some((r) => r < 0)
1329
1329
  ) };
1330
1330
  }
1331
- function Cr(t, e, r, n) {
1332
- const o = d(
1331
+ function Hr(t, e, r, n) {
1332
+ const o = v(
1333
1333
  () => n.value === L.HORIZONTAL
1334
- ), a = d(
1334
+ ), a = v(
1335
1335
  () => {
1336
1336
  var c;
1337
1337
  return t.height - (o != null && o.value ? 0 : ((c = r.value) == null ? void 0 : c.call(r, 0)) || 0);
1338
1338
  }
1339
- ), l = d(
1339
+ ), l = v(
1340
1340
  () => {
1341
1341
  var c;
1342
1342
  return o != null && o.value ? ((c = e.value) == null ? void 0 : c.call(e, 0)) || 0 : t.width;
1343
1343
  }
1344
- ), i = d(
1344
+ ), i = v(
1345
1345
  () => {
1346
1346
  var c;
1347
1347
  return o != null && o.value ? "translate(0, 0)" : `translate(0, ${((c = r.value) == null ? void 0 : c.call(r, 0)) || 0})`;
1348
1348
  }
1349
1349
  );
1350
- return { negativeBarAttributes: d(() => ({
1350
+ return { negativeBarAttributes: v(() => ({
1351
1351
  width: l.value,
1352
1352
  height: a.value,
1353
1353
  transform: i.value
1354
1354
  })) };
1355
1355
  }
1356
- function Hr(t) {
1357
- return t.reduce((e, r) => r.values.map((n, o) => e[o] ? n.value > e[o] ? n.value : e[o] : n.value ?? 0), []);
1356
+ function Ot(t, e) {
1357
+ const r = e - t.length;
1358
+ return r > 0 ? [...t, ...Array(r).fill({ value: null })] : t;
1358
1359
  }
1359
- function Dr(t) {
1360
- return t.reduce((e, r) => r.values.map((n, o) => {
1361
- const a = n.value == null || n.value < 0 ? 0 : n.value;
1362
- return e[o] ? e[o] + a : a;
1363
- }), []);
1360
+ function Dr(t, e) {
1361
+ return t.reduce((r, n) => Ot(n.values, e).map((o, a) => r[a] ? o.value > r[a] ? o.value : r[a] : o.value ?? 0), []);
1362
+ }
1363
+ function Rr(t, e) {
1364
+ return t.reduce((r, n) => Ot(n.values, e).map(
1365
+ (o, a) => {
1366
+ const l = o.value == null || o.value < 0 ? 0 : o.value;
1367
+ return r[a] ? r[a] + l : l;
1368
+ }
1369
+ ), []);
1364
1370
  }
1365
1371
  const ot = {
1366
- "stacked-bar": Dr
1372
+ "stacked-bar": Rr
1367
1373
  };
1368
- function Ot(t, e, r, n, o, a, l) {
1369
- const i = d(
1374
+ function $t(t, e, r, n, o, a, l, i) {
1375
+ const u = v(
1370
1376
  () => {
1371
- var c;
1372
- return e.value.withTooltip !== !1 && !((c = e.value.tooltipOptions) != null && c.targetElement);
1377
+ var d;
1378
+ return e.value.withTooltip !== !1 && !((d = e.value.tooltipOptions) != null && d.targetElement);
1373
1379
  }
1374
1380
  );
1375
- function u(c) {
1376
- const v = l != null && l.value && ot[l.value] ? ot[l.value](c) : Hr(c);
1377
- t.value = v.map((s, _) => ({
1378
- cx: (o == null ? void 0 : o.value) === L.HORIZONTAL ? r.value(s) : Ne(r.value, _),
1379
- cy: (o == null ? void 0 : o.value) === L.HORIZONTAL ? Ne(n.value, _) : n.value(s)
1381
+ function c(d) {
1382
+ var m;
1383
+ const s = ((m = i == null ? void 0 : i.value) == null ? void 0 : m.length) ?? 0, _ = l != null && l.value && ot[l.value] ? ot[l.value](
1384
+ d,
1385
+ s
1386
+ ) : Dr(d, s);
1387
+ t.value = _.map((f, g) => ({
1388
+ cx: (o == null ? void 0 : o.value) === L.HORIZONTAL ? r.value(f) : Ne(r.value, g),
1389
+ cy: (o == null ? void 0 : o.value) === L.HORIZONTAL ? Ne(n.value, g) : n.value(f)
1380
1390
  }));
1381
1391
  }
1382
1392
  return H(
1383
1393
  [r, n],
1384
1394
  () => {
1385
- r.value && n.value && (a != null && a.value) && i.value && u(a.value);
1395
+ r.value && n.value && (a != null && a.value) && u.value && c(a.value);
1386
1396
  },
1387
1397
  { immediate: !0 }
1388
- ), { shouldGenerateTooltipAnchors: i, updateTooltipAnchorAttributes: u };
1398
+ ), { shouldGenerateTooltipAnchors: u, updateTooltipAnchorAttributes: c };
1389
1399
  }
1390
- function Rr() {
1400
+ function Pr() {
1391
1401
  const t = ge({
1392
1402
  opened: !1,
1393
1403
  targetElement: null
@@ -1398,14 +1408,14 @@ function Rr() {
1398
1408
  t.opened = !1, t.targetElement = null;
1399
1409
  } };
1400
1410
  }
1401
- function Pr(t) {
1402
- return { getTooltipItems: d(
1411
+ function Sr(t) {
1412
+ return { getTooltipItems: v(
1403
1413
  () => (r) => t.value.map(({ color: n, label: o, values: a }) => {
1404
1414
  var l, i, u;
1405
1415
  return {
1406
1416
  color: ((l = a[r]) == null ? void 0 : l.color) || n,
1407
1417
  label: o,
1408
- value: ((i = a[r]) == null ? void 0 : i.label) ?? ((u = a[r]) == null ? void 0 : u.value) ?? bt
1418
+ value: ((i = a[r]) == null ? void 0 : i.label) ?? ((u = a[r]) == null ? void 0 : u.value) ?? kt
1409
1419
  };
1410
1420
  })
1411
1421
  ) };
@@ -1424,19 +1434,19 @@ const Ce = 16, He = 8, De = 28, Re = 24, re = {
1424
1434
  left: Re
1425
1435
  }
1426
1436
  };
1427
- function Sr(t) {
1437
+ function Br(t) {
1428
1438
  return !t || t === "auto" || t.top == null || t.top === "auto" ? Ce : t.top;
1429
1439
  }
1430
- function Br(t) {
1440
+ function Fr(t) {
1431
1441
  return !t || t === "auto" || t.right == null || t.right === "auto" ? He : t.right;
1432
1442
  }
1433
- function Fr(t, e) {
1443
+ function Gr(t, e) {
1434
1444
  return !t || t === "auto" || t.bottom == null || t.bottom === "auto" ? e || De : t.bottom;
1435
1445
  }
1436
- function Gr(t, e) {
1446
+ function Vr(t, e) {
1437
1447
  return !t || t === "auto" || t.left == null || t.left === "auto" ? e || Re : t.left;
1438
1448
  }
1439
- const Vr = /* @__PURE__ */ w({
1449
+ const jr = /* @__PURE__ */ w({
1440
1450
  __name: "lume-chart",
1441
1451
  props: {
1442
1452
  ...ue(),
@@ -1446,123 +1456,124 @@ const Vr = /* @__PURE__ */ w({
1446
1456
  }
1447
1457
  },
1448
1458
  setup(t, { emit: e }) {
1449
- const r = t, n = V(), { data: o, labels: a, color: l, options: i, orientation: u, chartType: c } = P(r), v = 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: k, chartID: C } = We(o, a, l, p, u), { listenInternalEvent: D } = X(e, C), { xScale: R, yScale: B } = xr(
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(
1450
1460
  T,
1451
1461
  A,
1452
1462
  x,
1453
1463
  u,
1454
1464
  p
1455
- ), Q = d(() => ({
1456
- top: Sr(p.value.margins),
1457
- right: Br(p.value.margins),
1458
- bottom: Fr(p.value.margins, g.value),
1459
- left: Gr(p.value.margins, y.value)
1460
- })), G = d(() => {
1461
- var b;
1462
- return r.xScale ? nt(r.xScale) ? r.xScale : (b = r.xScale) == null ? void 0 : b.call(r, T.value, a.value, x) : R.value;
1463
- }), M = d(() => {
1464
- var b;
1465
- return r.yScale ? nt(r.yScale) ? r.yScale : (b = r.yScale) == null ? void 0 : b.call(r, T.value, a.value, x) : B.value;
1466
- }), q = d(() => ({
1465
+ ), Q = v(() => ({
1466
+ top: Br(p.value.margins),
1467
+ right: Fr(p.value.margins),
1468
+ bottom: Gr(p.value.margins, g.value),
1469
+ left: Vr(p.value.margins, y.value)
1470
+ })), G = v(() => {
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(() => {
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;
1476
+ }), q = v(() => ({
1467
1477
  ...p.value.xAxisOptions,
1468
1478
  withHover: u.value === L.VERTICAL
1469
- })), U = d(() => ({
1479
+ })), U = v(() => ({
1470
1480
  ...p.value.yAxisOptions,
1471
1481
  withHover: u.value === L.HORIZONTAL
1472
- })), $ = d(() => {
1473
- var b;
1474
- return (b = p.value.xAxisOptions) == null ? void 0 : b.title;
1475
- }), h = d(() => {
1476
- var b;
1477
- return (b = p.value.yAxisOptions) == null ? void 0 : b.title;
1478
- }), O = d(() => {
1479
- var b;
1480
- return ((b = p.value.xAxisOptions) == null ? void 0 : b.withTitle) !== !1 && $.value;
1481
- }), N = d(() => {
1482
- var b;
1483
- return ((b = p.value.yAxisOptions) == null ? void 0 : b.withTitle) !== !1 && h.value;
1484
- }), F = d(
1485
- () => o.value.every((b) => !b.values.length)
1486
- ), z = d(() => {
1487
- const b = [], { noBaseScales: S } = p.value;
1488
- return S || b.push(() => !!(G.value && M.value)), b.every((Y) => Y() === !0);
1489
- }), { hasNegativeValues: W } = Nr(T), { negativeBarAttributes: ke } = Cr(
1482
+ })), $ = v(() => {
1483
+ var k;
1484
+ return (k = p.value.xAxisOptions) == null ? void 0 : k.title;
1485
+ }), h = v(() => {
1486
+ var k;
1487
+ return (k = p.value.yAxisOptions) == null ? void 0 : k.title;
1488
+ }), O = v(() => {
1489
+ var k;
1490
+ return ((k = p.value.xAxisOptions) == null ? void 0 : k.withTitle) !== !1 && $.value;
1491
+ }), N = v(() => {
1492
+ var k;
1493
+ return ((k = p.value.yAxisOptions) == null ? void 0 : k.withTitle) !== !1 && h.value;
1494
+ }), F = v(
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(
1490
1500
  x,
1491
1501
  G,
1492
1502
  M,
1493
1503
  u
1494
- ), { shouldGenerateTooltipAnchors: Xe } = Ot(
1504
+ ), { shouldGenerateTooltipAnchors: Xe } = $t(
1495
1505
  m,
1496
1506
  p,
1497
1507
  G,
1498
1508
  M,
1499
1509
  u,
1500
1510
  T,
1501
- c
1502
- ), { tooltipConfig: ee, showTooltip: Ue, hideTooltip: Ye } = Rr(), { getTooltipItems: Ct } = Pr(T), Ht = d(
1511
+ c,
1512
+ a
1513
+ ), { tooltipConfig: ee, showTooltip: Ue, hideTooltip: Ye } = Pr(), { getTooltipItems: Ht } = Sr(T), Dt = v(
1503
1514
  () => p.value.withTooltip !== !1 && ee.opened
1504
- ), Dt = d(
1515
+ ), Rt = v(
1505
1516
  () => {
1506
- var b;
1507
- return ((b = p.value.tooltipOptions) == null ? void 0 : b.position) || "top";
1517
+ var k;
1518
+ return ((k = p.value.tooltipOptions) == null ? void 0 : k.position) || "top";
1508
1519
  }
1509
- ), Ke = d(() => {
1520
+ ), Ke = v(() => {
1510
1521
  var S;
1511
- const b = (S = p.value.tooltipOptions) == null ? void 0 : S.withPointerEvents;
1512
- return ee.opened && (!b || b && f.value === !1);
1522
+ const k = (S = p.value.tooltipOptions) == null ? void 0 : S.withPointerEvents;
1523
+ return ee.opened && (!k || k && f.value === !1);
1513
1524
  });
1514
- function fe(b) {
1525
+ function fe(k) {
1515
1526
  var Y;
1516
- if (b === v.value)
1527
+ if (k === d.value)
1517
1528
  return;
1518
- const S = v.value;
1519
- if (p.value.withHover !== !1 && (v.value = b), p.value.withTooltip !== !1) {
1520
- const Bt = (Y = p.value.tooltipOptions) != null && Y.targetElement ? p.value.tooltipOptions.targetElement === "self" ? _.value.$el : p.value.tooltipOptions.targetElement : s.value[b];
1521
- Ue(Bt);
1529
+ const S = d.value;
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];
1532
+ Ue(Ft);
1522
1533
  }
1523
- e("hovered-index-changed", { newIndex: b, oldIndex: S });
1534
+ e("hovered-index-changed", { newIndex: k, oldIndex: S });
1524
1535
  }
1525
1536
  function Te() {
1526
- Ye(), v.value = -1;
1537
+ Ye(), d.value = -1;
1527
1538
  }
1528
- function xe(b) {
1529
- if (b > o.value[0].values.length - 1) {
1539
+ function xe(k) {
1540
+ if (k > o.value[0].values.length - 1) {
1530
1541
  ne(K.InvalidHoveredIndex);
1531
1542
  return;
1532
1543
  }
1533
- fe(b);
1544
+ fe(k);
1534
1545
  }
1535
- function Rt() {
1546
+ function Pt() {
1536
1547
  setTimeout(() => {
1537
1548
  Ke.value && Te(), e("chart-mouseleave");
1538
1549
  }, 0);
1539
1550
  }
1540
- function Pt({ index: b, value: S, event: Y }) {
1541
- b !== null && fe(b), e("axis-mouseenter", { index: b, value: S, event: Y });
1551
+ function St({ index: k, value: S, event: Y }) {
1552
+ k !== null && fe(k), e("axis-mouseenter", { index: k, value: S, event: Y });
1542
1553
  }
1543
- function St({ index: b, value: S, event: Y }) {
1544
- e("axis-click", { index: b, value: S, event: Y });
1554
+ function Bt({ index: k, value: S, event: Y }) {
1555
+ e("axis-click", { index: k, value: S, event: Y });
1545
1556
  }
1546
1557
  return H(
1547
1558
  o,
1548
- (b, S) => e("data-changed", { newValue: b, oldValue: S })
1559
+ (k, S) => e("data-changed", { newValue: k, oldValue: S })
1549
1560
  ), H(
1550
1561
  a,
1551
- (b, S) => e("labels-changed", { newValue: b, oldValue: S })
1552
- ), H(F, (b) => b && ne(K.Empty), { immediate: !0 }), H(() => r.hoveredIndex, xe), H(
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(
1553
1564
  m,
1554
- (b) => {
1555
- b && r.hoveredIndex != null && v.value === -1 && xe(r.hoveredIndex);
1565
+ (k) => {
1566
+ k && r.hoveredIndex != null && d.value === -1 && xe(r.hoveredIndex);
1556
1567
  },
1557
1568
  { flush: "post" }
1558
- ), H(f, (b) => {
1559
- b === !1 && ee.opened && Te();
1569
+ ), H(f, (k) => {
1570
+ k === !1 && ee.opened && Te();
1560
1571
  }), J(async () => {
1561
1572
  e("rendered"), n.groups || console.error('"groups" `<slot>` must have content.'), D("lume__internal--hover", fe);
1562
- }), 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: v, tooltipAnchor: s, chartContainer: _, tooltipAnchorAttributes: m, isHoveringTooltip: f, xAxisHeight: g, yAxisWidth: y, allOptions: p, internalData: T, computedLabels: A, containerSize: x, updateSize: k, 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: ke, shouldGenerateTooltipAnchors: Xe, tooltipConfig: ee, showTooltip: Ue, hideTooltip: Ye, getTooltipItems: Ct, isTooltipOpened: Ht, tooltipPosition: Dt, shouldHideTooltip: Ke, handleInternalHover: fe, handleHideTooltip: Te, handleExternalHover: xe, handleMouseleave: Rt, handleAxisMouseenter: Pt, handleAxisClick: St, LumeAxis: In, LumeBar: Me, LumeChartContainer: Gn, LumeChartLegend: Wn, LumeTooltip: dr, LumeOverlayGroup: Er, TOOLTIP_ANCHOR_RADIUS: fn };
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 };
1563
1574
  }
1564
1575
  });
1565
- var jr = function() {
1576
+ var Mr = function() {
1566
1577
  var e = this, r = e._self._c, n = e._self._setupProxy;
1567
1578
  return r(n.LumeChartContainer, { ref: "chartContainer", attrs: { id: `lume-chart_${n.chartID}`, margins: n.computedMargins, "container-size": n.containerSize, "no-min-size": n.allOptions.noMinSize, "transparent-background": n.allOptions.transparentBackground, "data-j-lume-chart": "" }, on: { resize: n.updateSize, click: function(o) {
1568
1579
  return n.emit("chart-click", o);
@@ -1619,17 +1630,17 @@ var jr = function() {
1619
1630
  }, { xScale: n.computedXScale, yScale: n.computedYScale, containerSize: n.containerSize, options: n.allOptions, hoveredIndex: n.internalHoveredIndex }) : e._e(), n.allOptions.withHover !== !1 ? r(n.LumeOverlayGroup, { attrs: { data: n.internalData, orientation: n.orientation, "x-scale": n.computedXScale, "y-scale": n.computedYScale, "data-j-lume-chart__overlay-group": "" }, on: { "lume__internal--hover": n.handleInternalHover } }) : e._e(), n.shouldGenerateTooltipAnchors ? r("g", e._l(n.tooltipAnchorAttributes, function(o, a) {
1620
1631
  return r("circle", e._b({ key: `anchor_${a}`, ref: "tooltipAnchor", refInFor: !0, staticClass: "lume-fill--transparent", attrs: { r: n.TOOLTIP_ANCHOR_RADIUS } }, "circle", o, !1));
1621
1632
  }), 0) : e._e(), e._t("groups", null, { data: n.internalData, labels: n.computedLabels, options: n.allOptions, orientation: n.orientation, xScale: n.computedXScale, yScale: n.computedYScale, hoveredIndex: n.internalHoveredIndex, containerSize: n.containerSize, transition: n.allOptions.withTransition !== !1, classList: e.classList })] : e._e()], 2);
1622
- }, Mr = [], zr = /* @__PURE__ */ E(
1623
- Vr,
1633
+ }, zr = [], Wr = /* @__PURE__ */ E(
1624
1634
  jr,
1625
1635
  Mr,
1636
+ zr,
1626
1637
  !1,
1627
1638
  null,
1628
- "dad8a6ee",
1639
+ "42aac599",
1629
1640
  null,
1630
1641
  null
1631
1642
  );
1632
- const ie = zr.exports, Wr = /* @__PURE__ */ w({
1643
+ const ie = Wr.exports, Zr = /* @__PURE__ */ w({
1633
1644
  __name: "lume-alluvial-node-label",
1634
1645
  props: {
1635
1646
  bottom: { type: Boolean, default: !1 }
@@ -1638,20 +1649,20 @@ const ie = zr.exports, Wr = /* @__PURE__ */ w({
1638
1649
  return { __sfc: !0 };
1639
1650
  }
1640
1651
  });
1641
- var Zr = function() {
1652
+ var Xr = function() {
1642
1653
  var e = this, r = e._self._c;
1643
1654
  return e._self._setupProxy, r("text", { staticClass: "lume-alluvial-group__node-label", attrs: { dy: e.bottom ? "1.2em" : "" } }, [e._t("default")], 2);
1644
- }, Xr = [], Ur = /* @__PURE__ */ E(
1645
- Wr,
1655
+ }, Ur = [], Yr = /* @__PURE__ */ E(
1646
1656
  Zr,
1647
1657
  Xr,
1658
+ Ur,
1648
1659
  !1,
1649
1660
  null,
1650
1661
  "d2a7cb8e",
1651
1662
  null,
1652
1663
  null
1653
1664
  );
1654
- const Yr = Ur.exports, Kr = /* @__PURE__ */ w({
1665
+ const Kr = Yr.exports, Jr = /* @__PURE__ */ w({
1655
1666
  __name: "lume-alluvial-node-value",
1656
1667
  props: {
1657
1668
  bottom: { type: Boolean, default: !0 }
@@ -1660,20 +1671,20 @@ const Yr = Ur.exports, Kr = /* @__PURE__ */ w({
1660
1671
  return { __sfc: !0 };
1661
1672
  }
1662
1673
  });
1663
- var Jr = function() {
1674
+ var Qr = function() {
1664
1675
  var e = this, r = e._self._c;
1665
1676
  return e._self._setupProxy, r("text", { staticClass: "lume-alluvial-group__node-value", attrs: { dy: e.bottom ? "1.2em" : "" } }, [e._t("default")], 2);
1666
- }, Qr = [], qr = /* @__PURE__ */ E(
1667
- Kr,
1677
+ }, qr = [], eo = /* @__PURE__ */ E(
1668
1678
  Jr,
1669
1679
  Qr,
1680
+ qr,
1670
1681
  !1,
1671
1682
  null,
1672
1683
  "002e2887",
1673
1684
  null,
1674
1685
  null
1675
1686
  );
1676
- const eo = qr.exports;
1687
+ const to = eo.exports;
1677
1688
  function at(t, e) {
1678
1689
  return {
1679
1690
  x0: 0 + (e ? e.left : 0),
@@ -1682,32 +1693,32 @@ function at(t, e) {
1682
1693
  y1: t.height - (e ? e.bottom : 0)
1683
1694
  };
1684
1695
  }
1685
- function to(t) {
1696
+ function no(t) {
1686
1697
  const e = I(at(t));
1687
1698
  function r(n) {
1688
1699
  e.value = at(t, n);
1689
1700
  }
1690
1701
  return { extents: e, updateExtents: r };
1691
1702
  }
1692
- var $t = /* @__PURE__ */ ((t) => (t.GraphProblem = "There was an issue generating your alluvial graph.", t))($t || {});
1693
- const no = "[lume] ";
1694
- function ro(t, e, r = !0) {
1695
- r && mt() || console.error(no + "Error: " + t, e);
1703
+ var It = /* @__PURE__ */ ((t) => (t.GraphProblem = "There was an issue generating your alluvial graph.", t))(It || {});
1704
+ const ro = "[lume] ";
1705
+ function oo(t, e, r = !0) {
1706
+ r && mt() || console.error(ro + "Error: " + t, e);
1696
1707
  }
1697
- const lt = 8, oo = 8, ao = 20, Oe = 2, lo = 200;
1708
+ const lt = 8, ao = 8, lo = 20, Oe = 2, uo = 200;
1698
1709
  function le(t) {
1699
1710
  return typeof t == "string" || typeof t == "number" ? t : t.id ?? t.label;
1700
1711
  }
1701
- function uo(t, e) {
1712
+ function io(t, e) {
1702
1713
  return e.nodes.find((r) => r.id === t);
1703
1714
  }
1704
- function io(t, e) {
1715
+ function so(t, e) {
1705
1716
  return e.links.find((r) => r.id === t);
1706
1717
  }
1707
- function It(t) {
1718
+ function Et(t) {
1708
1719
  return !!(t.sourceLinks && t.targetLinks);
1709
1720
  }
1710
- function so(t, e) {
1721
+ function co(t, e) {
1711
1722
  if (!e)
1712
1723
  return;
1713
1724
  const r = t.nodes.filter((l) => l.targetLinks.length === 0).map((l) => `${l.id}`), n = t.nodes.filter((l) => l.sourceLinks.length === 0).map((l) => `${l.id}`), o = e.filter((l) => r.includes(l.dataset.id)).reduce(
@@ -1724,7 +1735,7 @@ function so(t, e) {
1724
1735
  bottom: 0
1725
1736
  };
1726
1737
  }
1727
- function co(t) {
1738
+ function vo(t) {
1728
1739
  return t.map((e) => {
1729
1740
  const r = e.y1 - e.y0 < Oe;
1730
1741
  return {
@@ -1741,22 +1752,22 @@ function co(t) {
1741
1752
  };
1742
1753
  });
1743
1754
  }
1744
- function vo(t) {
1745
- return [t.source.x1, t.y0];
1746
- }
1747
1755
  function _o(t) {
1748
- return [t.target.x0, t.y1];
1756
+ return [t.source.x1, t.y0];
1749
1757
  }
1750
1758
  function po(t) {
1751
- return t.curveFunction ? Vt(t.curveFunction).source(vo).target(_o) : Wt();
1759
+ return [t.target.x0, t.y1];
1752
1760
  }
1753
1761
  function fo(t) {
1762
+ return t.curveFunction ? jt(t.curveFunction).source(_o).target(po) : Zt();
1763
+ }
1764
+ function mo(t) {
1754
1765
  return t.map((e) => {
1755
1766
  var r;
1756
1767
  return {
1757
1768
  id: e.id,
1758
1769
  color: e.color || ((r = e.source) == null ? void 0 : r.color) || pe,
1759
- d: po(e)(e),
1770
+ d: fo(e)(e),
1760
1771
  strokeWidth: Math.max(1, e.width),
1761
1772
  link: e
1762
1773
  };
@@ -1770,8 +1781,8 @@ function ut(t, e, r, n, o) {
1770
1781
  };
1771
1782
  return;
1772
1783
  }
1773
- const a = Date.now(), l = ln(e, r), i = () => {
1774
- let c = (Date.now() - a) / lo;
1784
+ const a = Date.now(), l = un(e, r), i = () => {
1785
+ let c = (Date.now() - a) / uo;
1775
1786
  c > 1 && (c = 1), t.node = {
1776
1787
  ...t.node,
1777
1788
  transitionValue: o && c === 1 ? void 0 : l(c)
@@ -1779,15 +1790,15 @@ function ut(t, e, r, n, o) {
1779
1790
  };
1780
1791
  requestAnimationFrame(i);
1781
1792
  }
1782
- const mo = {
1793
+ const ho = {
1783
1794
  nodes: [],
1784
1795
  links: []
1785
1796
  };
1786
1797
  function it(t, e) {
1787
1798
  return e.find((r) => r.every((n) => n.x0 === t.x0));
1788
1799
  }
1789
- function ho(t, e, r) {
1790
- const n = I(null), o = d(() => {
1800
+ function go(t, e, r) {
1801
+ const n = I(null), o = v(() => {
1791
1802
  var s;
1792
1803
  return (s = t.value) == null ? void 0 : s[0].values.map(
1793
1804
  ({ label: _, color: m, value: f, deriveColorFromIncomingLinks: g, offset: y }) => ({
@@ -1799,7 +1810,7 @@ function ho(t, e, r) {
1799
1810
  offset: y
1800
1811
  })
1801
1812
  );
1802
- }), a = d(
1813
+ }), a = v(
1803
1814
  () => {
1804
1815
  var s;
1805
1816
  return (s = t.value) == null ? void 0 : s[0].values.map(
@@ -1818,7 +1829,7 @@ function ho(t, e, r) {
1818
1829
  }
1819
1830
  ).filter(Boolean).flat();
1820
1831
  }
1821
- ), l = d(() => Zt().nodeId(le).nodeAlign(e.value.nodeAlign).nodePadding(e.value.nodePadding).nodeSort(e.value.nodeSort).nodeWidth(e.value.nodeWidth).linkSort(e.value.linkSort).iterations(e.value.iterations)), i = d(() => {
1832
+ ), l = v(() => Xt().nodeId(le).nodeAlign(e.value.nodeAlign).nodePadding(e.value.nodePadding).nodeSort(e.value.nodeSort).nodeWidth(e.value.nodeWidth).linkSort(e.value.linkSort).iterations(e.value.iterations)), i = v(() => {
1822
1833
  var s;
1823
1834
  return (s = n.value) == null ? void 0 : s.nodes.reduce(
1824
1835
  (_, m) => {
@@ -1843,7 +1854,7 @@ function ho(t, e, r) {
1843
1854
  ), T = g - f;
1844
1855
  y.forEach((A) => A.y0 += T), p.forEach((A) => A.y1 += T);
1845
1856
  }
1846
- const v = d(() => (n.value && o.value.forEach((s) => {
1857
+ const d = v(() => (n.value && o.value.forEach((s) => {
1847
1858
  s.value === 0 && (s.fallbackColor = Ve.Grey), typeof s.offset == "number" && (u(s), c(s, n.value));
1848
1859
  }), n.value));
1849
1860
  return H([l, r], () => {
@@ -1854,9 +1865,9 @@ function ho(t, e, r) {
1854
1865
  [m, f]
1855
1866
  ])({ nodes: o.value, links: a.value });
1856
1867
  } catch (s) {
1857
- ro($t.GraphProblem, s), n.value = mo;
1868
+ oo(It.GraphProblem, s), n.value = ho;
1858
1869
  }
1859
- }), { columns: i, graph: v };
1870
+ }), { columns: i, graph: d };
1860
1871
  }
1861
1872
  function Pe(t, e) {
1862
1873
  return e || (e = {}), t.targetLinks && t.targetLinks.forEach(({ source: r, value: n }) => {
@@ -1874,12 +1885,12 @@ function Se(t, e) {
1874
1885
  );
1875
1886
  }), e;
1876
1887
  }
1877
- function go(t, e) {
1888
+ function yo(t, e) {
1878
1889
  return e.links.reduce((r, n) => (n.source.id in t && n.target.id in t && r.push(n.id), r), []);
1879
1890
  }
1880
- const yo = (t, e) => {
1891
+ const ko = (t, e) => {
1881
1892
  let r;
1882
- It(t) ? r = {
1893
+ Et(t) ? r = {
1883
1894
  [t.id]: t.value,
1884
1895
  ...Pe(t),
1885
1896
  ...Se(t)
@@ -1889,10 +1900,10 @@ const yo = (t, e) => {
1889
1900
  ...Pe(t.source),
1890
1901
  ...Se(t.target)
1891
1902
  };
1892
- const n = go(r, e);
1903
+ const n = yo(r, e);
1893
1904
  return { nodes: r, links: n };
1894
1905
  }, bo = (t) => {
1895
- if (It(t)) {
1906
+ if (Et(t)) {
1896
1907
  const e = [...t.sourceLinks, ...t.targetLinks];
1897
1908
  return {
1898
1909
  nodes: e.reduce(
@@ -1910,11 +1921,11 @@ const yo = (t, e) => {
1910
1921
  links: [t.id]
1911
1922
  };
1912
1923
  };
1913
- function ko(t, e, r) {
1914
- const n = I(null), o = d(() => n.value ? typeof e.value.highlightedElements == "function" ? e.value.highlightedElements(
1924
+ function To(t, e, r) {
1925
+ const n = I(null), o = v(() => n.value ? typeof e.value.highlightedElements == "function" ? e.value.highlightedElements(
1915
1926
  n.value,
1916
1927
  r.value
1917
- ) : e.value.highlightedElements === "closest" ? bo(n.value, r.value) : yo(n.value, r.value) : { nodes: {}, links: [] });
1928
+ ) : e.value.highlightedElements === "closest" ? bo(n.value, r.value) : ko(n.value, r.value) : { nodes: {}, links: [] });
1918
1929
  return H(o, (a, l) => {
1919
1930
  if (a.links.length === 0 && Object.keys(a.nodes).length === 0) {
1920
1931
  t.value.forEach((i) => {
@@ -1938,10 +1949,10 @@ function ko(t, e, r) {
1938
1949
  });
1939
1950
  }), { highlightedElements: o, hoveredElement: n };
1940
1951
  }
1941
- const To = /* @__PURE__ */ w({
1952
+ const xo = /* @__PURE__ */ w({
1942
1953
  __name: "lume-alluvial-group",
1943
1954
  props: {
1944
- ...be(),
1955
+ ...ke(),
1945
1956
  hoveredElementId: {
1946
1957
  type: [Number, String],
1947
1958
  default: null
@@ -1949,23 +1960,23 @@ const To = /* @__PURE__ */ w({
1949
1960
  },
1950
1961
  emits: ["node-click", "node-mouseenter", "node-mouseleave", "link-click", "link-mouseenter", "link-mouseleave"],
1951
1962
  setup(t, { emit: e }) {
1952
- const r = t, n = de("chartID"), { data: o, options: a } = P(r), l = I([]), i = I([]), u = I(null), { extents: c, updateExtents: v } = to(r.containerSize), { columns: s, graph: _ } = ho(o, a, c), { hoveredElement: m, highlightedElements: f } = ko(
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(
1953
1964
  l,
1954
1965
  a,
1955
1966
  _
1956
- ), g = d(() => he(a.value.valueFormat)), y = d(
1967
+ ), g = v(() => he(a.value.valueFormat)), y = v(
1957
1968
  () => Object.keys(f.value.nodes)
1958
- ), p = d(() => s.value ? s.value.map(
1969
+ ), p = v(() => s.value ? s.value.map(
1959
1970
  (h) => h[0].x0 + a.value.nodeWidth / 2
1960
- ) : []), T = d(() => {
1971
+ ) : []), T = v(() => {
1961
1972
  if (!(!a.value.nodeHeaders || !a.value.nodeHeaders.length))
1962
1973
  return a.value.nodeHeaders.slice(0, p.value.length).map((h, O) => ({
1963
1974
  label: h,
1964
1975
  x: p.value[O]
1965
1976
  }));
1966
- }), A = d(
1967
- () => a.value.nodeHeaderPadding ?? ao
1968
- ), x = d(() => {
1977
+ }), A = v(
1978
+ () => a.value.nodeHeaderPadding ?? lo
1979
+ ), x = v(() => {
1969
1980
  if (!(!a.value.gradient || !_.value))
1970
1981
  return _.value.links.reduce((h, O) => {
1971
1982
  const { source: N, target: F } = O, z = N.color || N.fallbackColor, W = F.deriveColorFromIncomingLinks ? z : F.color || F.fallbackColor;
@@ -1976,14 +1987,14 @@ const To = /* @__PURE__ */ w({
1976
1987
  x2: F.x0
1977
1988
  }, h;
1978
1989
  }, {});
1979
- }), k = d(() => {
1990
+ }), b = v(() => {
1980
1991
  const h = l.value.filter(
1981
1992
  (N) => G(N)
1982
1993
  ), O = [];
1983
1994
  return h.forEach((N) => {
1984
1995
  const F = [];
1985
1996
  i.value.filter(({ link: z }) => z.target.id === N.node.id).reverse().reduce((z, W) => {
1986
- const ke = W.link.target.y1 - W.link.target.y0, ee = W.link.value / N.node.value * ke;
1997
+ const be = W.link.target.y1 - W.link.target.y0, ee = W.link.value / N.node.value * be;
1987
1998
  return F.push({
1988
1999
  x: N.x,
1989
2000
  y: N.y + z,
@@ -2028,7 +2039,7 @@ const To = /* @__PURE__ */ w({
2028
2039
  m.value = null;
2029
2040
  return;
2030
2041
  }
2031
- const O = uo(h, _.value) || io(h, _.value);
2042
+ const O = io(h, _.value) || so(h, _.value);
2032
2043
  if (!O) {
2033
2044
  ne(K.InvalidHoveredElement);
2034
2045
  return;
@@ -2037,19 +2048,19 @@ const To = /* @__PURE__ */ w({
2037
2048
  }
2038
2049
  function $(h) {
2039
2050
  var O;
2040
- return ((O = k.value.find(({ id: N }) => h === N)) == null ? void 0 : O.subNodes) ?? [];
2051
+ return ((O = b.value.find(({ id: N }) => h === N)) == null ? void 0 : O.subNodes) ?? [];
2041
2052
  }
2042
2053
  return H(_, (h) => {
2043
- l.value = co(h.nodes), i.value = fo(h.links).reverse(), m.value == null && r.hoveredElementId != null && U(r.hoveredElementId);
2054
+ l.value = vo(h.nodes), i.value = mo(h.links).reverse(), m.value == null && r.hoveredElementId != null && U(r.hoveredElementId);
2044
2055
  }), H([r.containerSize, u], () => {
2045
2056
  if (r.containerSize.width && r.containerSize.height) {
2046
- const h = so(_.value, u.value);
2047
- v(h);
2057
+ const h = co(_.value, u.value);
2058
+ d(h);
2048
2059
  }
2049
- }), 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: v, columns: s, graph: _, hoveredElement: m, highlightedElements: f, formatValue: g, hoveredNodeIds: y, nodeColumnPositions: p, nodeHeaders: T, computedNodeHeaderPadding: A, gradients: x, nodesDerivingColorFromIncomingLinks: k, getLinkStroke: C, isNodeFaded: D, isNodeFocused: R, isLinkFaded: B, isLinkFocused: Q, shouldDeriveNodeColorFromIncomingLinks: G, handleLinkMouseover: M, handleLinkMouseleave: q, handleExternalHover: U, getSubNodesDerivingColorFromIncomingLinks: $, LumeAlluvialNodeLabel: Yr, LumeAlluvialNodeValue: eo, GHOST_STROKE_WIDTH_OFFSET: oo };
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 };
2050
2061
  }
2051
2062
  });
2052
- var xo = function() {
2063
+ var Ao = function() {
2053
2064
  var e = this, r = e._self._c, n = e._self._setupProxy;
2054
2065
  return r("g", { staticClass: "lume-alluvial-group", attrs: { "data-j-alluvial-group": "" } }, [n.nodeHeaders ? r("g", e._l(n.nodeHeaders, function(o) {
2055
2066
  return r("text", { key: `header_${o.x}`, staticClass: "lume-alluvial-group__node-header lume-typography--caption", attrs: { x: o.x, y: -n.computedNodeHeaderPadding } }, [e._v(" " + e._s(o.label) + " ")]);
@@ -2101,17 +2112,17 @@ var xo = function() {
2101
2112
  o.node.value
2102
2113
  ) })], 2)], 2)]);
2103
2114
  })], 2);
2104
- }, Ao = [], Lo = /* @__PURE__ */ E(
2105
- To,
2115
+ }, Lo = [], Oo = /* @__PURE__ */ E(
2106
2116
  xo,
2107
2117
  Ao,
2118
+ Lo,
2108
2119
  !1,
2109
2120
  null,
2110
2121
  "6fe8c153",
2111
2122
  null,
2112
2123
  null
2113
2124
  );
2114
- const Oo = Lo.exports, $o = {
2125
+ const $o = Oo.exports, Io = {
2115
2126
  margins: {
2116
2127
  top: 0,
2117
2128
  right: 0,
@@ -2127,16 +2138,16 @@ const Oo = Lo.exports, $o = {
2127
2138
  highlightedElements: "closest",
2128
2139
  nodePadding: 16,
2129
2140
  nodeWidth: 16,
2130
- nodeAlign: Xt,
2141
+ nodeAlign: Ut,
2131
2142
  valueFormat: (t) => String(t),
2132
2143
  iterations: 6
2133
- }, Io = /* @__PURE__ */ w({
2144
+ }, Eo = /* @__PURE__ */ w({
2134
2145
  __name: "lume-alluvial-diagram",
2135
2146
  props: {
2136
- ...Ar(Fe)
2147
+ ...Lr(Fe)
2137
2148
  },
2138
2149
  setup(t, { emit: e }) {
2139
- const r = t, { componentEventPropagator: n } = X(e), o = ae(V()), a = sn(V()), { options: l } = P(r), { allOptions: i } = Z(l, $o);
2150
+ const r = t, { componentEventPropagator: n } = X(e), o = ae(V()), a = cn(V()), { options: l } = P(r), { allOptions: i } = Z(l, Io);
2140
2151
  function u(c) {
2141
2152
  return {
2142
2153
  ...c,
@@ -2144,10 +2155,10 @@ const Oo = Lo.exports, $o = {
2144
2155
  // Alluvial chart never uses base scales
2145
2156
  };
2146
2157
  }
2147
- return { __sfc: !0, props: r, emit: e, componentEventPropagator: n, slots: o, groupSlots: a, options: l, allOptions: i, getAlluvialDiagramOptions: u, LumeChart: ie, LumeAlluvialGroup: Oo };
2158
+ return { __sfc: !0, props: r, emit: e, componentEventPropagator: n, slots: o, groupSlots: a, options: l, allOptions: i, getAlluvialDiagramOptions: u, LumeChart: ie, LumeAlluvialGroup: $o };
2148
2159
  }
2149
2160
  });
2150
- var Eo = function() {
2161
+ var wo = function() {
2151
2162
  var e = this, r = e._self._c, n = e._self._setupProxy;
2152
2163
  return r(n.LumeChart, e._g(e._b({ attrs: { options: n.getAlluvialDiagramOptions(n.allOptions), "data-j-alluvial-diagram": "" }, scopedSlots: e._u([{ key: "groups", fn: function(o) {
2153
2164
  return [r(n.LumeAlluvialGroup, e._g(e._b({ attrs: { "hovered-element-id": e.hoveredElement }, scopedSlots: e._u([e._l(n.groupSlots, function(a, l) {
@@ -2160,19 +2171,19 @@ var Eo = function() {
2160
2171
  return [e._t(a, null, null, l || {})];
2161
2172
  } };
2162
2173
  })], null, !0) }, "lume-chart", n.props, !1), n.componentEventPropagator));
2163
- }, wo = [], No = /* @__PURE__ */ E(
2164
- Io,
2174
+ }, No = [], Co = /* @__PURE__ */ E(
2165
2175
  Eo,
2166
2176
  wo,
2177
+ No,
2167
2178
  !1,
2168
2179
  null,
2169
2180
  null,
2170
2181
  null,
2171
2182
  null
2172
2183
  );
2173
- const ja = No.exports;
2184
+ const Ma = Co.exports;
2174
2185
  var Be = /* @__PURE__ */ ((t) => (t.grouped = "grouped", t.stacked = "stacked", t))(Be || {});
2175
- const Co = /* @__PURE__ */ w({
2186
+ const Ho = /* @__PURE__ */ w({
2176
2187
  __name: "lume-bar-chart",
2177
2188
  props: {
2178
2189
  ...ue(),
@@ -2205,7 +2216,7 @@ const Co = /* @__PURE__ */ w({
2205
2216
  }
2206
2217
  };
2207
2218
  }
2208
- const v = d(() => {
2219
+ const d = v(() => {
2209
2220
  if (r.data) {
2210
2221
  if (Fe(r.data))
2211
2222
  return l.get("single");
@@ -2214,55 +2225,55 @@ const Co = /* @__PURE__ */ w({
2214
2225
  return l.get(r.type);
2215
2226
  }
2216
2227
  });
2217
- return { __sfc: !0, TYPES: Be, LumeSingleBarChart: n, LumeGroupedBarChart: o, LumeStackedBarChart: a, COMPONENT_MAP: l, props: r, emit: e, componentEventPropagator: i, slots: u, getBarChartOptions: c, component: v };
2228
+ return { __sfc: !0, TYPES: Be, LumeSingleBarChart: n, LumeGroupedBarChart: o, LumeStackedBarChart: a, COMPONENT_MAP: l, props: r, emit: e, componentEventPropagator: i, slots: u, getBarChartOptions: c, component: d };
2218
2229
  }
2219
2230
  });
2220
- var Ho = function() {
2231
+ var Do = function() {
2221
2232
  var e = this, r = e._self._c, n = e._self._setupProxy;
2222
2233
  return r(n.component, e._g(e._b({ tag: "component", attrs: { options: n.getBarChartOptions(e.options) }, scopedSlots: e._u([e._l(n.slots, function(o, a) {
2223
2234
  return { key: a, fn: function(l) {
2224
2235
  return [e._t(a, null, null, l || {})];
2225
2236
  } };
2226
2237
  })], null, !0) }, "component", { ...n.props, ...e.$attrs }, !1), n.componentEventPropagator));
2227
- }, Do = [], Ro = /* @__PURE__ */ E(
2228
- Co,
2238
+ }, Ro = [], Po = /* @__PURE__ */ E(
2229
2239
  Ho,
2230
2240
  Do,
2241
+ Ro,
2231
2242
  !1,
2232
2243
  null,
2233
2244
  null,
2234
2245
  null,
2235
2246
  null
2236
2247
  );
2237
- const Ma = Ro.exports;
2238
- function Po(t) {
2239
- return Object.values(pn).includes(t) || t == null;
2240
- }
2248
+ const za = Po.exports;
2241
2249
  function So(t) {
2250
+ return Object.values(fn).includes(t) || t == null;
2251
+ }
2252
+ function Bo(t) {
2242
2253
  return Object.values(L).includes(t);
2243
2254
  }
2244
- const Bo = (t = !1) => ({
2255
+ const Fo = (t = !1) => ({
2245
2256
  type: {
2246
2257
  type: String,
2247
2258
  default: null,
2248
- validator: Po
2259
+ validator: So
2249
2260
  },
2250
2261
  ...t ? {
2251
2262
  orientation: {
2252
2263
  type: String,
2253
2264
  default: L.VERTICAL,
2254
- validator: So
2265
+ validator: Bo
2255
2266
  }
2256
2267
  } : {}
2257
2268
  });
2258
- function Et(t) {
2259
- const e = d(() => t.value.map((n) => ({
2269
+ function wt(t) {
2270
+ const e = v(() => t.value.map((n) => ({
2260
2271
  ...n,
2261
2272
  values: n.values.map((o) => ({
2262
2273
  ...o,
2263
2274
  value: (o == null ? void 0 : o.value) || 0
2264
2275
  }))
2265
- }))), r = d(() => {
2276
+ }))), r = v(() => {
2266
2277
  var n;
2267
2278
  return (n = e.value) == null ? void 0 : n.reduce((o, a) => (a.values.forEach((l, i) => {
2268
2279
  o[i] ? o[i].push(l) : o[i] = [l];
@@ -2270,21 +2281,21 @@ function Et(t) {
2270
2281
  });
2271
2282
  return { multiBarData: e, groupedData: r };
2272
2283
  }
2273
- function Fo(t, e) {
2284
+ function Go(t, e) {
2274
2285
  return t.value.length === 1 ? "single" : e.value;
2275
2286
  }
2276
- function Go(t, e, r) {
2277
- const n = d(
2287
+ function Vo(t, e, r) {
2288
+ const n = v(
2278
2289
  () => r.value === L.HORIZONTAL
2279
2290
  );
2280
2291
  function o(i) {
2281
2292
  Math.min(...i.domain()) > 0 && console.error("Bar linear scale domain cannot start above 0!");
2282
2293
  }
2283
- const a = d(() => n.value ? (() => (o(t.value), t.value))() : t.value), l = d(() => n.value ? e.value : (() => (o(e.value), e.value))());
2294
+ const a = v(() => n.value ? (() => (o(t.value), t.value))() : t.value), l = v(() => n.value ? e.value : (() => (o(e.value), e.value))());
2284
2295
  return { barXScale: a, barYScale: l };
2285
2296
  }
2286
- function Vo(t, e, r, n, o, a) {
2287
- const l = d(
2297
+ function jo(t, e, r, n, o, a) {
2298
+ const l = v(
2288
2299
  () => n.value === L.HORIZONTAL
2289
2300
  );
2290
2301
  function i(s, _) {
@@ -2297,7 +2308,7 @@ function Vo(t, e, r, n, o, a) {
2297
2308
  function c(s) {
2298
2309
  return l.value ? r.value.bandwidth() : s < 0 ? r.value(s) - r.value(0) : r.value(0) - r.value(s);
2299
2310
  }
2300
- function v(s, _, m) {
2311
+ function d(s, _, m) {
2301
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);
2302
2313
  return {
2303
2314
  classList: [`lume-fill--${y}`, ...a],
@@ -2309,19 +2320,19 @@ function Vo(t, e, r, n, o, a) {
2309
2320
  isNegative: f < 0
2310
2321
  };
2311
2322
  }
2312
- return { barAttributeGenerator: v };
2323
+ return { barAttributeGenerator: d };
2313
2324
  }
2314
- function jo(t, e, r, n, o, a) {
2315
- const l = d(
2325
+ function Mo(t, e, r, n, o, a) {
2326
+ const l = v(
2316
2327
  () => n.value === L.HORIZONTAL
2317
- ), i = d(() => se().domain(t.value.map((f, g) => g)).range([0, e.value.bandwidth()]).padding(0)), u = d(() => se().domain(t.value.map((f, g) => g)).range([0, r.value.bandwidth()]).padding(0));
2328
+ ), i = v(() => se().domain(t.value.map((f, g) => g)).range([0, e.value.bandwidth()]).padding(0)), u = v(() => se().domain(t.value.map((f, g) => g)).range([0, r.value.bandwidth()]).padding(0));
2318
2329
  function c(f, g, y) {
2319
2330
  if (l.value)
2320
2331
  return f >= 0 ? e.value(0) : e.value(f);
2321
2332
  const p = e.value.domain();
2322
2333
  return e.value(p[g]) + i.value(y);
2323
2334
  }
2324
- function v(f, g, y) {
2335
+ function d(f, g, y) {
2325
2336
  if (l.value) {
2326
2337
  const p = r.value.domain();
2327
2338
  return r.value(p[g]) + u.value(y);
@@ -2335,11 +2346,11 @@ function jo(t, e, r, n, o, a) {
2335
2346
  return l.value ? u.value.bandwidth() : f < 0 ? r.value(f) - r.value(0) : r.value(0) - r.value(f);
2336
2347
  }
2337
2348
  function m(f, g, y) {
2338
- const { value: p, color: T } = f, A = T ?? t.value[g].color ?? Object.values(j)[g], x = c(p, y, g), k = v(p, y, g), C = s(p), D = _(p);
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);
2339
2350
  return {
2340
2351
  classList: [`lume-fill--${A}`, ...a],
2341
2352
  x,
2342
- y: k,
2353
+ y: b,
2343
2354
  width: C,
2344
2355
  height: D,
2345
2356
  isFaded: o.value !== -1 && o.value !== y,
@@ -2348,58 +2359,58 @@ function jo(t, e, r, n, o, a) {
2348
2359
  }
2349
2360
  return { barAttributeGenerator: m };
2350
2361
  }
2351
- function Mo(t, e, r) {
2352
- const n = d(
2362
+ function zo(t, e, r) {
2363
+ const n = v(
2353
2364
  () => e.value === L.HORIZONTAL
2354
- ), o = d(() => {
2365
+ ), o = v(() => {
2355
2366
  const u = t.value.map(
2356
- (c) => c.filter((v) => v.value < 0).reduce((v, s) => v + s.value, 0)
2367
+ (c) => c.filter((d) => d.value < 0).reduce((d, s) => d + s.value, 0)
2357
2368
  );
2358
2369
  return Math.min(...u);
2359
- }), a = d(() => {
2370
+ }), a = v(() => {
2360
2371
  const u = t.value.map(
2361
2372
  (c) => c.reduce(
2362
- (v, s) => s.value >= 0 ? v + s.value : v,
2373
+ (d, s) => s.value >= 0 ? d + s.value : d,
2363
2374
  0
2364
2375
  )
2365
2376
  );
2366
2377
  return Math.max(...u);
2367
2378
  });
2368
- function l(u, c, v) {
2369
- return n.value ? ce().domain([o.value, a.value]).range([0, v.width]) : Object.assign(
2379
+ function l(u, c, d) {
2380
+ return n.value ? ce().domain([o.value, a.value]).range([0, d.width]) : Object.assign(
2370
2381
  rt(
2371
- se().domain(c.map((s, _) => _)).range([0, v.width]),
2382
+ se().domain(c.map((s, _) => _)).range([0, d.width]),
2372
2383
  e.value,
2373
2384
  r.value
2374
2385
  ),
2375
2386
  { labels: c }
2376
2387
  );
2377
2388
  }
2378
- function i(u, c, v) {
2389
+ function i(u, c, d) {
2379
2390
  return n.value ? Object.assign(
2380
2391
  rt(
2381
- se().domain(c.map((s, _) => _)).range([0, v.height]),
2392
+ se().domain(c.map((s, _) => _)).range([0, d.height]),
2382
2393
  e.value,
2383
2394
  r.value
2384
2395
  ),
2385
2396
  { labels: c }
2386
- ) : ce().domain([a.value, o.value]).range([0, v.height]);
2397
+ ) : ce().domain([a.value, o.value]).range([0, d.height]);
2387
2398
  }
2388
2399
  return { stackedXScaleGenerator: l, stackedYScaleGenerator: i };
2389
2400
  }
2390
- function zo(t, e, r, n, o, a) {
2391
- const l = d(
2401
+ function Wo(t, e, r, n, o, a) {
2402
+ const l = v(
2392
2403
  () => n.value === L.HORIZONTAL
2393
- ), i = d(
2404
+ ), i = v(
2394
2405
  () => l.value ? r.value.domain() : e.value.domain()
2395
- ), u = d(
2406
+ ), u = v(
2396
2407
  () => t.value.map((p) => p.values.map((T) => T == null ? void 0 : T.value))
2397
2408
  );
2398
2409
  function c(p, T, A) {
2399
- let x, k;
2400
- return l.value ? (x = e.value(p >= 0 ? 0 + A : p + A), k = r.value(i.value[T])) : (x = e.value(i.value[T]), k = r.value(p >= 0 ? p + A : 0 + A)), { x, y: k };
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 };
2401
2412
  }
2402
- function v(p) {
2413
+ function d(p) {
2403
2414
  return l.value ? e.value(p) - e.value(0) : e.value.bandwidth();
2404
2415
  }
2405
2416
  function s(p) {
@@ -2412,15 +2423,15 @@ function zo(t, e, r, n, o, a) {
2412
2423
  return l.value ? r.value.bandwidth() : r.value(p) - r.value(0);
2413
2424
  }
2414
2425
  function f(p, T) {
2415
- return p ? u.value.reduce((A, x, k) => (k < p && x[T] >= 0 && (A += x[T]), A), 0) : 0;
2426
+ return p ? u.value.reduce((A, x, b) => (b < p && x[T] >= 0 && (A += x[T]), A), 0) : 0;
2416
2427
  }
2417
2428
  function g(p, T) {
2418
- return p ? u.value.reduce((A, x, k) => (k < p && x[T] < 0 && (A += x[T]), A), 0) : 0;
2429
+ return p ? u.value.reduce((A, x, b) => (b < p && x[T] < 0 && (A += x[T]), A), 0) : 0;
2419
2430
  }
2420
2431
  function y(p, T, A) {
2421
- const { value: x, color: k } = p, C = x >= 0 ? v(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);
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);
2422
2433
  return {
2423
- classList: [`lume-fill--${k ?? t.value[T].color ?? Object.values(j)[T]}`, ...a],
2434
+ classList: [`lume-fill--${b ?? t.value[T].color ?? Object.values(j)[T]}`, ...a],
2424
2435
  width: C,
2425
2436
  height: D,
2426
2437
  x: B,
@@ -2432,18 +2443,18 @@ function zo(t, e, r, n, o, a) {
2432
2443
  return { barAttributeGenerator: y };
2433
2444
  }
2434
2445
  const st = {
2435
- single: Vo,
2436
- grouped: jo,
2437
- stacked: zo
2438
- }, Wo = /* @__PURE__ */ w({
2446
+ single: jo,
2447
+ grouped: Mo,
2448
+ stacked: Wo
2449
+ }, Zo = /* @__PURE__ */ w({
2439
2450
  __name: "lume-bar-group",
2440
2451
  props: {
2441
- ...be(),
2452
+ ...ke(),
2442
2453
  classList: {
2443
2454
  type: [String, Array],
2444
2455
  default: () => []
2445
2456
  },
2446
- ...Bo(!0),
2457
+ ...Fo(!0),
2447
2458
  transition: {
2448
2459
  type: Boolean,
2449
2460
  default: !0
@@ -2459,9 +2470,9 @@ const st = {
2459
2470
  type: i,
2460
2471
  xScale: u,
2461
2472
  yScale: c,
2462
- classList: v
2463
- } = P(r), s = de("chartID"), { emitInternalEvent: _ } = X(e, s), { groupedData: m } = Et(n), { barXScale: f, barYScale: g } = Go(u, c, a), y = d(() => typeof v.value == "string" ? [v.value] : v.value), p = d(() => {
2464
- const x = Fo(n, i), { barAttributeGenerator: k } = st[x](
2473
+ 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](
2465
2476
  n,
2466
2477
  f,
2467
2478
  g,
@@ -2469,18 +2480,18 @@ const st = {
2469
2480
  o,
2470
2481
  y.value
2471
2482
  );
2472
- return k;
2473
- }), T = d(() => {
2483
+ return b;
2484
+ }), T = v(() => {
2474
2485
  if (l.value)
2475
2486
  return a.value === L.HORIZONTAL ? "width" : "height";
2476
2487
  });
2477
2488
  async function A(x) {
2478
2489
  e("lume__internal--hover", x), _("lume__internal--hover", x);
2479
2490
  }
2480
- 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: v, chartID: s, emitInternalEvent: _, groupedData: m, barXScale: f, barYScale: g, computedClasses: y, getBarAttributes: p, computedTransition: T, handleInternalHover: A, LumeBar: Me };
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 };
2481
2492
  }
2482
2493
  });
2483
- var Zo = function() {
2494
+ var Xo = function() {
2484
2495
  var e = this, r = e._self._c, n = e._self._setupProxy;
2485
2496
  return r("g", { staticClass: "lume-bar-group", attrs: { "data-j-bars-group": "" } }, e._l(n.groupedData, function(o, a) {
2486
2497
  return r("g", { key: a, on: { mouseenter: function(l) {
@@ -2495,17 +2506,17 @@ var Zo = function() {
2495
2506
  } } }, "lume-bar", n.getBarAttributes(l, i, a, o), !1));
2496
2507
  }), 1);
2497
2508
  }), 0);
2498
- }, Xo = [], Uo = /* @__PURE__ */ E(
2499
- Wo,
2509
+ }, Uo = [], Yo = /* @__PURE__ */ E(
2500
2510
  Zo,
2501
2511
  Xo,
2512
+ Uo,
2502
2513
  !1,
2503
2514
  null,
2504
2515
  null,
2505
2516
  null,
2506
2517
  null
2507
2518
  );
2508
- const Ze = Uo.exports, Yo = {
2519
+ const Ze = Yo.exports, Ko = {
2509
2520
  [L.VERTICAL]: {
2510
2521
  withTooltip: !0,
2511
2522
  xAxisOptions: {},
@@ -2518,20 +2529,20 @@ const Ze = Uo.exports, Yo = {
2518
2529
  yAxisOptions: { gridLines: !1 },
2519
2530
  margins: re.HORIZONTAL
2520
2531
  }
2521
- }, Ko = /* @__PURE__ */ w({
2532
+ }, Jo = /* @__PURE__ */ w({
2522
2533
  __name: "lume-single-bar-chart",
2523
2534
  props: {
2524
2535
  ...ue(Fe)
2525
2536
  },
2526
2537
  setup(t, { emit: e }) {
2527
- const r = t, { componentEventPropagator: n } = X(e), o = ae(V()), { orientation: a, options: l } = P(r), i = d(
2528
- () => Yo[a.value || L.VERTICAL]
2538
+ const r = t, { componentEventPropagator: n } = X(e), o = ae(V()), { orientation: a, options: l } = P(r), i = v(
2539
+ () => Ko[a.value || L.VERTICAL]
2529
2540
  // needs to be computed so that default options are reactive
2530
2541
  ), { allOptions: u } = Z(l, i);
2531
2542
  return { __sfc: !0, props: r, emit: e, componentEventPropagator: n, slots: o, orientation: a, options: l, baseOptions: i, allOptions: u, LumeChart: ie, LumeBarGroup: Ze };
2532
2543
  }
2533
2544
  });
2534
- var Jo = function() {
2545
+ var Qo = function() {
2535
2546
  var e = this, r = e._self._c, n = e._self._setupProxy;
2536
2547
  return r(n.LumeChart, e._g(e._b({ attrs: { "chart-type": "single-bar", options: n.allOptions, "data-j-single-bar-chart": "" }, scopedSlots: e._u([{ key: "groups", fn: function(o) {
2537
2548
  return [r(n.LumeBarGroup, e._g(e._b({ attrs: { orientation: n.orientation } }, "lume-bar-group", o, !1), n.componentEventPropagator))];
@@ -2540,17 +2551,17 @@ var Jo = function() {
2540
2551
  return [e._t(a, null, null, l || {})];
2541
2552
  } };
2542
2553
  })], null, !0) }, "lume-chart", n.props, !1), n.componentEventPropagator));
2543
- }, Qo = [], qo = /* @__PURE__ */ E(
2544
- Ko,
2554
+ }, qo = [], ea = /* @__PURE__ */ E(
2545
2555
  Jo,
2546
2556
  Qo,
2557
+ qo,
2547
2558
  !1,
2548
2559
  null,
2549
2560
  null,
2550
2561
  null,
2551
2562
  null
2552
2563
  );
2553
- const za = qo.exports, ea = {
2564
+ const Wa = ea.exports, ta = {
2554
2565
  [L.VERTICAL]: {
2555
2566
  withTooltip: !0,
2556
2567
  xAxisOptions: {},
@@ -2564,14 +2575,14 @@ const za = qo.exports, ea = {
2564
2575
  margins: re.HORIZONTAL,
2565
2576
  tooltipOptions: { position: "right" }
2566
2577
  }
2567
- }, ta = /* @__PURE__ */ w({
2578
+ }, na = /* @__PURE__ */ w({
2568
2579
  __name: "lume-grouped-bar-chart",
2569
2580
  props: {
2570
2581
  ...ue()
2571
2582
  },
2572
2583
  setup(t, { emit: e }) {
2573
- const r = t, { componentEventPropagator: n } = X(e), o = ae(V()), { orientation: a, options: l } = P(r), i = d(
2574
- () => ea[a.value || L.VERTICAL]
2584
+ const r = t, { componentEventPropagator: n } = X(e), o = ae(V()), { orientation: a, options: l } = P(r), i = v(
2585
+ () => ta[a.value || L.VERTICAL]
2575
2586
  // needs to be computed so that default options are reactive
2576
2587
  ), { allOptions: u } = Z(
2577
2588
  l,
@@ -2580,7 +2591,7 @@ const za = qo.exports, ea = {
2580
2591
  return { __sfc: !0, props: r, emit: e, componentEventPropagator: n, slots: o, orientation: a, options: l, baseOptions: i, allOptions: u, LumeChart: ie, LumeBarGroup: Ze };
2581
2592
  }
2582
2593
  });
2583
- var na = function() {
2594
+ var ra = function() {
2584
2595
  var e = this, r = e._self._c, n = e._self._setupProxy;
2585
2596
  return r(n.LumeChart, e._g(e._b({ attrs: { "chart-type": "grouped-bar", options: n.allOptions, "data-j-grouped-bar-chart": "" }, scopedSlots: e._u([{ key: "groups", fn: function(o) {
2586
2597
  return [r(n.LumeBarGroup, e._g(e._b({ attrs: { type: "grouped" } }, "lume-bar-group", o, !1), n.componentEventPropagator))];
@@ -2589,17 +2600,17 @@ var na = function() {
2589
2600
  return [e._t(a, null, null, l || {})];
2590
2601
  } };
2591
2602
  })], null, !0) }, "lume-chart", n.props, !1), n.componentEventPropagator));
2592
- }, ra = [], oa = /* @__PURE__ */ E(
2593
- ta,
2603
+ }, oa = [], aa = /* @__PURE__ */ E(
2594
2604
  na,
2595
2605
  ra,
2606
+ oa,
2596
2607
  !1,
2597
2608
  null,
2598
2609
  null,
2599
2610
  null,
2600
2611
  null
2601
2612
  );
2602
- const Wa = oa.exports, aa = {
2613
+ const Za = aa.exports, la = {
2603
2614
  [L.VERTICAL]: {
2604
2615
  withTooltip: !0,
2605
2616
  xAxisOptions: {},
@@ -2613,27 +2624,27 @@ const Wa = oa.exports, aa = {
2613
2624
  margins: re.HORIZONTAL,
2614
2625
  tooltipOptions: { position: "right" }
2615
2626
  }
2616
- }, la = /* @__PURE__ */ w({
2627
+ }, ua = /* @__PURE__ */ w({
2617
2628
  __name: "lume-stacked-bar-chart",
2618
2629
  props: {
2619
2630
  ...ue()
2620
2631
  },
2621
2632
  setup(t, { emit: e }) {
2622
- const r = t, { componentEventPropagator: n } = X(e), o = ae(V()), { data: a, orientation: l, options: i } = P(r), u = d(
2623
- () => aa[l.value || L.VERTICAL]
2633
+ const r = t, { componentEventPropagator: n } = X(e), o = ae(V()), { data: a, orientation: l, options: i } = P(r), u = v(
2634
+ () => la[l.value || L.VERTICAL]
2624
2635
  // needs to be computed so that default options are reactive
2625
2636
  ), { allOptions: c } = Z(
2626
2637
  i,
2627
2638
  u
2628
- ), { internalData: v } = We(a), { groupedData: s } = Et(v), { stackedXScaleGenerator: _, stackedYScaleGenerator: m } = Mo(
2639
+ ), { internalData: d } = We(a), { groupedData: s } = wt(d), { stackedXScaleGenerator: _, stackedYScaleGenerator: m } = zo(
2629
2640
  s,
2630
2641
  l,
2631
2642
  i
2632
2643
  );
2633
- return { __sfc: !0, props: r, emit: e, componentEventPropagator: n, slots: o, data: a, orientation: l, options: i, baseOptions: u, allOptions: c, internalData: v, groupedData: s, stackedXScaleGenerator: _, stackedYScaleGenerator: m, LumeChart: ie, LumeBarGroup: Ze };
2644
+ return { __sfc: !0, props: r, emit: e, componentEventPropagator: n, slots: o, data: a, orientation: l, options: i, baseOptions: u, allOptions: c, internalData: d, groupedData: s, stackedXScaleGenerator: _, stackedYScaleGenerator: m, LumeChart: ie, LumeBarGroup: Ze };
2634
2645
  }
2635
2646
  });
2636
- var ua = function() {
2647
+ var ia = function() {
2637
2648
  var e = this, r = e._self._c, n = e._self._setupProxy;
2638
2649
  return r(n.LumeChart, e._g(e._b({ attrs: { "chart-type": "stacked-bar", options: n.allOptions, "x-scale": n.stackedXScaleGenerator, "y-scale": n.stackedYScaleGenerator, "data-j-stacked-bar-chart": "" }, scopedSlots: e._u([{ key: "groups", fn: function(o) {
2639
2650
  return [r(n.LumeBarGroup, e._g(e._b({ attrs: { type: "stacked" } }, "lume-bar-group", o, !1), n.componentEventPropagator))];
@@ -2642,17 +2653,17 @@ var ua = function() {
2642
2653
  return [e._t(a, null, null, l || {})];
2643
2654
  } };
2644
2655
  })], null, !0) }, "lume-chart", n.props, !1), n.componentEventPropagator));
2645
- }, ia = [], sa = /* @__PURE__ */ E(
2646
- la,
2656
+ }, sa = [], ca = /* @__PURE__ */ E(
2647
2657
  ua,
2648
2658
  ia,
2659
+ sa,
2649
2660
  !1,
2650
2661
  null,
2651
2662
  null,
2652
2663
  null,
2653
2664
  null
2654
2665
  );
2655
- const Za = sa.exports, ct = 2, ca = /* @__PURE__ */ w({
2666
+ const Xa = ca.exports, ct = 2, da = /* @__PURE__ */ w({
2656
2667
  __name: "lume-line",
2657
2668
  props: {
2658
2669
  pathDefinition: {
@@ -2690,7 +2701,7 @@ const Za = sa.exports, ct = 2, ca = /* @__PURE__ */ w({
2690
2701
  return J(() => ye(r.value)), { __sfc: !0, DEFAULT_LINE_WIDTH: ct, emit: e, root: r };
2691
2702
  }
2692
2703
  });
2693
- var da = function() {
2704
+ var va = function() {
2694
2705
  var e = this, r = e._self._c, n = e._self._setupProxy;
2695
2706
  return r("path", { ref: "root", staticClass: "lume-line", class: {
2696
2707
  [`lume-stroke--${e.color}`]: !0,
@@ -2702,17 +2713,17 @@ var da = function() {
2702
2713
  }, attrs: { d: e.pathDefinition, "stroke-width": e.width, "data-j-line": "" }, on: { click: function(o) {
2703
2714
  return n.emit("click", o);
2704
2715
  } } });
2705
- }, va = [], _a = /* @__PURE__ */ E(
2706
- ca,
2716
+ }, _a = [], pa = /* @__PURE__ */ E(
2707
2717
  da,
2708
2718
  va,
2719
+ _a,
2709
2720
  !1,
2710
2721
  null,
2711
2722
  "08896455",
2712
2723
  null,
2713
2724
  null
2714
2725
  );
2715
- const pa = _a.exports, dt = 4, fa = /* @__PURE__ */ w({
2726
+ const fa = pa.exports, dt = 4, ma = /* @__PURE__ */ w({
2716
2727
  __name: "lume-point",
2717
2728
  props: {
2718
2729
  x: { type: Number, required: !0 },
@@ -2732,27 +2743,27 @@ const pa = _a.exports, dt = 4, fa = /* @__PURE__ */ w({
2732
2743
  },
2733
2744
  emits: ["click"],
2734
2745
  setup(t, { emit: e }) {
2735
- const r = t, n = I(null), o = d(() => r.radius / 2);
2746
+ const r = t, n = I(null), o = v(() => r.radius / 2);
2736
2747
  return J(() => ye(n.value)), { __sfc: !0, DEFAULT_RADIUS: dt, props: r, emit: e, root: n, strokeWidth: o };
2737
2748
  }
2738
2749
  });
2739
- var ma = function() {
2750
+ var ha = function() {
2740
2751
  var e = this, r = e._self._c, n = e._self._setupProxy;
2741
2752
  return r("circle", { ref: "root", staticClass: "lume-point", class: `lume-stroke--${e.color}`, attrs: { cx: e.x, cy: e.y, r: e.active ? e.radius : 0, "stroke-width": n.strokeWidth, "data-j-point": "" }, on: { click: function(o) {
2742
2753
  return n.emit("click", o);
2743
2754
  } } });
2744
- }, ha = [], ga = /* @__PURE__ */ E(
2745
- fa,
2755
+ }, ga = [], ya = /* @__PURE__ */ E(
2746
2756
  ma,
2747
2757
  ha,
2758
+ ga,
2748
2759
  !1,
2749
2760
  null,
2750
2761
  "9bacbd7d",
2751
2762
  null,
2752
2763
  null
2753
2764
  );
2754
- const ya = ga.exports;
2755
- function wt(t) {
2765
+ const ka = ya.exports;
2766
+ function Nt(t) {
2756
2767
  function e(a) {
2757
2768
  let l = null;
2758
2769
  return a == null ? void 0 : a.reduce((i, u, c) => (u == null || u.value == null ? (l ? l.push(c) : l = [c], c === (a == null ? void 0 : a.length) - 1 && i.push(l)) : l && (i.push(l), l = null), i), []);
@@ -2768,19 +2779,19 @@ function wt(t) {
2768
2779
  );
2769
2780
  };
2770
2781
  }
2771
- return { computedLineData: d(() => t.value.map((a) => {
2782
+ return { computedLineData: v(() => t.value.map((a) => {
2772
2783
  const l = e(a.values);
2773
2784
  return {
2774
2785
  ...a,
2775
2786
  isDashed: n(l),
2776
2787
  values: a.values.map((i, u) => {
2777
- var v, s;
2788
+ var d, s;
2778
2789
  const c = l.find(
2779
2790
  (_) => _.includes(u)
2780
2791
  );
2781
2792
  if (c) {
2782
2793
  const _ = c[0] - 1, m = c[c.length - 1] + 1;
2783
- let f = (v = a.values[_]) == null ? void 0 : v.value, g = (s = a.values[m]) == null ? void 0 : s.value;
2794
+ let f = (d = a.values[_]) == null ? void 0 : d.value, g = (s = a.values[m]) == null ? void 0 : s.value;
2784
2795
  return f == null && (f = g), g == null && (g = f), {
2785
2796
  value: r(
2786
2797
  f,
@@ -2788,7 +2799,7 @@ function wt(t) {
2788
2799
  c.length,
2789
2800
  c.indexOf(u)
2790
2801
  ),
2791
- label: bt
2802
+ label: kt
2792
2803
  };
2793
2804
  }
2794
2805
  return i;
@@ -2800,18 +2811,18 @@ function ba(t, e) {
2800
2811
  const r = t.bandwidth() / 2;
2801
2812
  return (n, o) => t(t.domain()[e + (o - 1)]) + r;
2802
2813
  }
2803
- function ka(t, e) {
2814
+ function Ta(t, e) {
2804
2815
  return (r, n) => t(e + (n - 1));
2805
2816
  }
2806
- function Ta(t, e, r, n) {
2807
- return jt().x(
2808
- oe(r) ? ba(r, t) : ka(r, t)
2817
+ function xa(t, e, r, n) {
2818
+ return Mt().x(
2819
+ oe(r) ? ba(r, t) : Ta(r, t)
2809
2820
  ).y((a) => n(a))(e);
2810
2821
  }
2811
- const vt = 1, xa = /* @__PURE__ */ w({
2822
+ const vt = 1, Aa = /* @__PURE__ */ w({
2812
2823
  __name: "lume-line-group",
2813
2824
  props: {
2814
- ...be(),
2825
+ ...ke(),
2815
2826
  withPoints: {
2816
2827
  type: Boolean,
2817
2828
  default: !0
@@ -2826,79 +2837,79 @@ const vt = 1, xa = /* @__PURE__ */ w({
2826
2837
  const r = t, { data: n, options: o, xScale: a, yScale: l } = P(r), i = de(
2827
2838
  "tooltipAnchorAttributes",
2828
2839
  null
2829
- ), { updateTooltipAnchorAttributes: u } = Ot(
2840
+ ), { updateTooltipAnchorAttributes: u } = $t(
2830
2841
  i,
2831
2842
  o,
2832
2843
  a,
2833
2844
  l
2834
- ), c = d(() => {
2845
+ ), c = v(() => {
2835
2846
  if (n.value.every((C) => C.isDashed))
2836
2847
  return n.value;
2837
- const { computedLineData: k } = wt(n);
2838
- return o.value.withTooltip !== !1 && (i != null && i.value) && u(k.value), k.value;
2839
- }), v = d(() => {
2848
+ const { computedLineData: b } = Nt(n);
2849
+ return o.value.withTooltip !== !1 && (i != null && i.value) && u(b.value), b.value;
2850
+ }), d = v(() => {
2840
2851
  if (r.hoveredIndex === -1)
2841
2852
  return;
2842
- const k = on(
2853
+ const b = an(
2843
2854
  c.value,
2844
2855
  r.hoveredIndex
2845
2856
  );
2846
2857
  return {
2847
2858
  d: `M ${Ne(a.value, r.hoveredIndex)},${l.value.range()[1]}
2848
- V ${l.value(k)}`
2859
+ V ${l.value(b)}`
2849
2860
  // Move to X index, Vertical line to the highest point
2850
2861
  };
2851
- }), s = d(
2852
- () => a.value && vt / (an(a.value) - 1)
2862
+ }), s = v(
2863
+ () => a.value && vt / (ln(a.value) - 1)
2853
2864
  // Subtracting the first line (read below)
2854
- ), _ = d(
2865
+ ), _ = v(
2855
2866
  () => {
2856
- var k;
2857
- return ((k = o.value) == null ? void 0 : k.lineWidth) * 2 || void 0;
2867
+ var b;
2868
+ return ((b = o.value) == null ? void 0 : b.lineWidth) * 2 || void 0;
2858
2869
  }
2859
2870
  // If no `lineWidth`, returns NaN which needs to be undefined
2860
- ), m = d(
2871
+ ), m = v(
2861
2872
  () => a.value.bandwidth() / 2
2862
- ), f = d(() => a.value.domain()), g = d(
2873
+ ), f = v(() => a.value.domain()), g = v(
2863
2874
  () => o.value.withPoints ?? r.withPoints
2864
2875
  );
2865
- function y(k) {
2866
- return c.value[k].values;
2876
+ function y(b) {
2877
+ return c.value[b].values;
2867
2878
  }
2868
- function p(k, C) {
2879
+ function p(b, C) {
2869
2880
  var R, B;
2870
- const D = k === 0 ? [] : [
2871
- (R = y(C)[k - 1]) == null ? void 0 : R.value,
2872
- (B = y(C)[k]) == null ? void 0 : B.value
2881
+ 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
2873
2884
  ];
2874
- return Ta(
2875
- k,
2885
+ return xa(
2886
+ b,
2876
2887
  D,
2877
2888
  a.value,
2878
2889
  l.value
2879
2890
  ) || "";
2880
2891
  }
2881
- function T(k) {
2892
+ function T(b) {
2882
2893
  return {
2883
- animationDelay: k < 2 ? 0 : (k - 1) * s.value,
2894
+ animationDelay: b < 2 ? 0 : (b - 1) * s.value,
2884
2895
  animationDuration: s.value
2885
2896
  };
2886
2897
  }
2887
- function A(k, C) {
2898
+ function A(b, C) {
2888
2899
  var R;
2889
- const D = (R = y(C)[k]) == null ? void 0 : R.value;
2900
+ const D = (R = y(C)[b]) == null ? void 0 : R.value;
2890
2901
  return {
2891
- x: oe(a.value) ? r.xScale(f.value[k]) + m.value : r.xScale(k),
2902
+ x: oe(a.value) ? r.xScale(f.value[b]) + m.value : r.xScale(b),
2892
2903
  y: l.value(D)
2893
2904
  };
2894
2905
  }
2895
- function x(k) {
2896
- return r.hoveredIndex === k;
2906
+ function x(b) {
2907
+ return r.hoveredIndex === b;
2897
2908
  }
2898
- 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: v, animationDuration: s, pointRadius: _, xAxisOffset: m, domain: f, computedWithPoints: g, getValuesFromDataset: y, getPathDefinition: p, getLineTransitionParams: T, getPointPosition: A, isPointActive: x, LumeLine: pa, LumePoint: ya };
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 };
2899
2910
  }
2900
2911
  });
2901
- var Aa = function() {
2912
+ var La = function() {
2902
2913
  var e = this, r = e._self._c, n = e._self._setupProxy;
2903
2914
  return r("g", { staticClass: "lume-line-group", attrs: { "data-j-lume-line-group": "" } }, [r("path", e._b({ staticClass: "lume-line-group__overlay-line", attrs: { "data-j-lume-line-group__overlay-line": "" } }, "path", n.overlayLineAttributes, !1)), e._l(n.computedGroupData, function(o, a) {
2904
2915
  return r("g", { key: o.label, staticClass: "lume-line-group__group" }, [r("g", { staticClass: "lume-line-group__lines" }, e._l(o.values, function(l, i) {
@@ -2911,33 +2922,33 @@ var Aa = function() {
2911
2922
  } } }, "lume-point", n.getPointPosition(i, a), !1));
2912
2923
  }), 1) : e._e()]);
2913
2924
  })], 2);
2914
- }, La = [], Oa = /* @__PURE__ */ E(
2915
- xa,
2925
+ }, Oa = [], $a = /* @__PURE__ */ E(
2916
2926
  Aa,
2917
2927
  La,
2928
+ Oa,
2918
2929
  !1,
2919
2930
  null,
2920
2931
  "c4d7f0ca",
2921
2932
  null,
2922
2933
  null
2923
2934
  );
2924
- const Nt = Oa.exports, $a = {
2935
+ const Ct = $a.exports, Ia = {
2925
2936
  margins: re.VERTICAL,
2926
2937
  startOnZero: !0,
2927
2938
  withTooltip: !0,
2928
2939
  xAxisOptions: {},
2929
2940
  yAxisOptions: { gridLines: !0 }
2930
- }, Ia = /* @__PURE__ */ w({
2941
+ }, Ea = /* @__PURE__ */ w({
2931
2942
  __name: "lume-line-chart",
2932
2943
  props: {
2933
2944
  ...ue(null, !1)
2934
2945
  },
2935
2946
  setup(t, { emit: e }) {
2936
- const r = t, { componentEventPropagator: n } = X(e), o = ae(V()), { options: a } = P(r), { allOptions: l } = Z(a, $a);
2937
- return { __sfc: !0, props: r, emit: e, componentEventPropagator: n, slots: o, options: a, allOptions: l, LumeChart: ie, LumeLineGroup: Nt };
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 };
2938
2949
  }
2939
2950
  });
2940
- var Ea = function() {
2951
+ var wa = function() {
2941
2952
  var e = this, r = e._self._c, n = e._self._setupProxy;
2942
2953
  return r(n.LumeChart, e._g(e._b({ attrs: { "chart-type": "line", options: n.allOptions, "data-j-lume-line-chart": "" }, scopedSlots: e._u([{ key: "groups", fn: function(o) {
2943
2954
  return [r(n.LumeLineGroup, e._g(e._b({}, "lume-line-group", o, !1), n.componentEventPropagator))];
@@ -2946,28 +2957,28 @@ var Ea = function() {
2946
2957
  return [e._t(a, null, null, l || {})];
2947
2958
  } };
2948
2959
  })], null, !0) }, "lume-chart", n.props, !1), n.componentEventPropagator));
2949
- }, wa = [], Na = /* @__PURE__ */ E(
2950
- Ia,
2960
+ }, Na = [], Ca = /* @__PURE__ */ E(
2951
2961
  Ea,
2952
2962
  wa,
2963
+ Na,
2953
2964
  !1,
2954
2965
  null,
2955
2966
  null,
2956
2967
  null,
2957
2968
  null
2958
2969
  );
2959
- const Xa = Na.exports;
2960
- function Ca(t) {
2961
- return { areaPathDefinition: d(
2970
+ const Ua = Ca.exports;
2971
+ function Ha(t) {
2972
+ return { areaPathDefinition: v(
2962
2973
  () => function(r, n) {
2963
2974
  if (!r || !n)
2964
2975
  return;
2965
2976
  const o = t.value[0].values;
2966
- return Mt().x((a, l) => r(l)).y0(n(Math.min(...n.domain()))).y1((a) => n(a.value))(o);
2977
+ return zt().x((a, l) => r(l)).y0(n(Math.min(...n.domain()))).y1((a) => n(a.value))(o);
2967
2978
  }
2968
2979
  ) };
2969
2980
  }
2970
- const Ha = {
2981
+ const Da = {
2971
2982
  margins: {
2972
2983
  top: 0,
2973
2984
  right: 0,
@@ -2981,14 +2992,14 @@ const Ha = {
2981
2992
  tooltipOptions: {
2982
2993
  showTitle: !1
2983
2994
  }
2984
- }, Da = /* @__PURE__ */ w({
2995
+ }, Ra = /* @__PURE__ */ w({
2985
2996
  __name: "lume-sparkline-chart",
2986
2997
  props: {
2987
2998
  ...ze(null),
2988
2999
  ...ve()
2989
3000
  },
2990
3001
  setup(t, { expose: e, emit: r }) {
2991
- const n = t, { componentEventPropagator: o } = X(r), a = ae(V()), { data: l, options: i } = P(n), { internalData: u } = We(l), { allOptions: c } = Z(i, Ha), { computedLineData: v } = wt(u), { areaPathDefinition: s } = Ca(v), _ = d(() => u.value[0].color), m = d(
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(
2992
3003
  () => l.value[0].areaColor || _.value
2993
3004
  );
2994
3005
  function f(y) {
@@ -3002,10 +3013,10 @@ const Ha = {
3002
3013
  }
3003
3014
  return e({
3004
3015
  areaPathDefinition: s
3005
- }), { __sfc: !0, props: n, emit: r, componentEventPropagator: o, slots: a, data: l, options: i, internalData: u, allOptions: c, computedLineData: v, areaPathDefinition: s, computedColor: _, areaColor: m, getSparklineOptions: f, xScaleGenerator: g, LumeChart: ie, LumeLineGroup: Nt };
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 };
3006
3017
  }
3007
3018
  });
3008
- var Ra = function() {
3019
+ var Pa = function() {
3009
3020
  var e = this, r = e._self._c, n = e._self._setupProxy;
3010
3021
  return r(n.LumeChart, e._g(e._b({ attrs: { "chart-type": "line", options: n.getSparklineOptions(n.allOptions), "x-scale": n.xScaleGenerator }, scopedSlots: e._u([{ key: "groups", fn: function(o) {
3011
3022
  return [n.allOptions.showArea ? r("path", { class: [
@@ -3019,41 +3030,41 @@ var Ra = function() {
3019
3030
  return [e._t(a, null, null, l || {})];
3020
3031
  } };
3021
3032
  })], null, !0) }, "lume-chart", n.props, !1), n.componentEventPropagator));
3022
- }, Pa = [], Sa = /* @__PURE__ */ E(
3023
- Da,
3033
+ }, Sa = [], Ba = /* @__PURE__ */ E(
3024
3034
  Ra,
3025
3035
  Pa,
3036
+ Sa,
3026
3037
  !1,
3027
3038
  null,
3028
3039
  "c681fff6",
3029
3040
  null,
3030
3041
  null
3031
3042
  );
3032
- const Ua = Sa.exports;
3043
+ const Ya = Ba.exports;
3033
3044
  export {
3034
- ja as LumeAlluvialDiagram,
3035
- Oo as LumeAlluvialGroup,
3036
- Yr as LumeAlluvialNodeLabel,
3037
- eo as LumeAlluvialNodeValue,
3038
- In as LumeAxis,
3045
+ Ma as LumeAlluvialDiagram,
3046
+ $o as LumeAlluvialGroup,
3047
+ Kr as LumeAlluvialNodeLabel,
3048
+ to as LumeAlluvialNodeValue,
3049
+ En as LumeAxis,
3039
3050
  Me as LumeBar,
3040
- Ma as LumeBarChart,
3051
+ za as LumeBarChart,
3041
3052
  Ze as LumeBarGroup,
3042
3053
  ie as LumeChart,
3043
- Gn as LumeChartContainer,
3044
- Wn as LumeChartLegend,
3045
- Wa as LumeGroupedBarChart,
3046
- pa as LumeLine,
3047
- Xa as LumeLineChart,
3048
- Nt as LumeLineGroup,
3049
- Er as LumeOverlayGroup,
3050
- ya as LumePoint,
3051
- za as LumeSingleBarChart,
3052
- Ua as LumeSparklineChart,
3053
- Za as LumeStackedBarChart,
3054
- dr as LumeTooltip,
3055
- lr as LumeTooltipItem,
3056
- tr as LumeTooltipSummary,
3057
- Kn as LumeTooltipTitle
3054
+ Vn as LumeChartContainer,
3055
+ Zn as LumeChartLegend,
3056
+ Za as LumeGroupedBarChart,
3057
+ fa as LumeLine,
3058
+ Ua as LumeLineChart,
3059
+ Ct as LumeLineGroup,
3060
+ wr as LumeOverlayGroup,
3061
+ ka as LumePoint,
3062
+ Wa as LumeSingleBarChart,
3063
+ Ya as LumeSparklineChart,
3064
+ Xa as LumeStackedBarChart,
3065
+ vr as LumeTooltip,
3066
+ ur as LumeTooltipItem,
3067
+ nr as LumeTooltipSummary,
3068
+ Jn as LumeTooltipTitle
3058
3069
  };
3059
3070
  //# sourceMappingURL=index.js.map