@lumx/vue 4.18.0 → 4.18.1-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.js +397 -380
  2. package/index.js.map +1 -1
  3. package/package.json +5 -4
package/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { ColorVariant as ld, Size as rt, VISUALLY_HIDDEN as cd, DIALOG_TRANSITION_DURATION as ac, AspectRatio as oc, IS_BROWSER as Yr, ColorPalette as ud } from "@lumx/core/js/constants";
2
2
  export * from "@lumx/core/js/constants";
3
3
  export * from "@lumx/core/js/types";
4
- import { createVNode as m, mergeProps as S, Fragment as ne, isVNode as K, useAttrs as D, computed as C, toValue as Me, getCurrentScope as rc, onScopeDispose as mr, toRef as Q, readonly as dd, customRef as fd, ref as R, shallowRef as Re, watch as X, getCurrentInstance as sc, onMounted as Ke, inject as qe, defineComponent as E, toRefs as hd, reactive as ic, provide as je, watchEffect as Xe, isRef as lt, onUnmounted as He, watchPostEffect as md, onBeforeUnmount as en, Comment as pr, unref as Pt, useSlots as ke, useTemplateRef as pd, toRaw as Ye, Text as lc, nextTick as cc, shallowReadonly as nt, h as Zr, cloneVNode as gd, onWatcherCleanup as vd, createTextVNode as bd, withDirectives as yd, resolveDirective as Ad } from "vue";
4
+ import { createVNode as m, mergeProps as S, Fragment as ne, isVNode as K, useAttrs as D, computed as C, toValue as Me, getCurrentScope as rc, onScopeDispose as mr, toRef as Q, readonly as dd, customRef as fd, ref as R, shallowRef as Re, watch as X, getCurrentInstance as sc, onMounted as Ke, inject as qe, defineComponent as E, toRefs as hd, reactive as ic, provide as je, watchEffect as Xe, isRef as lt, onUnmounted as He, watchPostEffect as md, onBeforeUnmount as en, Comment as pr, unref as xt, useSlots as ke, useTemplateRef as pd, toRaw as Ye, Text as lc, nextTick as cc, shallowReadonly as nt, h as Zr, cloneVNode as gd, onWatcherCleanup as vd, createTextVNode as bd, withDirectives as yd, resolveDirective as Ad } from "vue";
5
5
  import { classNames as fe } from "@lumx/core/js/utils";
6
6
  import { k as $, u as U, T as gr, P as tn, C as vr, I as uc } from "./_internal/CHaqSUjw.js";
7
7
  import { getDisabledState as Sd } from "@lumx/core/js/utils/disabledState";
@@ -10,10 +10,10 @@ import { mdiChevronUp as dc } from "@lumx/icons/esm/chevron-up.js";
10
10
  import { mdiChevronDown as fc } from "@lumx/icons/esm/chevron-down.js";
11
11
  import { mdiCheckCircle as br } from "@lumx/icons/esm/check-circle.js";
12
12
  import { mdiCloseCircle as Nd } from "@lumx/icons/esm/close-circle.js";
13
- import { mdiInformationOutline as xd } from "@lumx/icons/esm/information-outline.js";
13
+ import { mdiInformationOutline as Pd } from "@lumx/icons/esm/information-outline.js";
14
14
  import { mdiAlert as hc } from "@lumx/icons/esm/alert.js";
15
15
  import { mdiInformation as mc } from "@lumx/icons/esm/information.js";
16
- import { mdiImageBroken as Pd } from "@lumx/icons/esm/image-broken.js";
16
+ import { mdiImageBroken as xd } from "@lumx/icons/esm/image-broken.js";
17
17
  import { mdiCheck as wd } from "@lumx/icons/esm/check.js";
18
18
  import { mdiMinus as Cd } from "@lumx/icons/esm/minus.js";
19
19
  import { mdiDragVertical as Od } from "@lumx/icons/esm/drag-vertical.js";
@@ -265,9 +265,9 @@ const Wd = {
265
265
  ...A
266
266
  } = e, {
267
267
  color: N,
268
- icon: P
268
+ icon: x
269
269
  } = Wd[i] || {}, w = `${t}-title`, k = `${t}-description`, {
270
- label: x,
270
+ label: P,
271
271
  onClick: T,
272
272
  ...O
273
273
  } = r, {
@@ -293,7 +293,7 @@ const Wd = {
293
293
  default: () => [m("header", null, [m(b, {
294
294
  className: "lumx-spacing-margin-horizontal",
295
295
  before: m(y, {
296
- icon: P,
296
+ icon: x,
297
297
  size: H.s,
298
298
  color: N
299
299
  }, null),
@@ -319,8 +319,8 @@ const Wd = {
319
319
  color: N,
320
320
  className: "lumx-spacing-margin-left-regular",
321
321
  onClick: T
322
- }), Ln(x) ? x : {
323
- default: () => [x]
322
+ }), Ln(P) ? P : {
323
+ default: () => [P]
324
324
  })])
325
325
  }, null)])]
326
326
  });
@@ -361,7 +361,7 @@ function Zd(...e) {
361
361
  function Sc(e) {
362
362
  return Array.isArray(e) ? e : [e];
363
363
  }
364
- const xr = Yd ? window : void 0;
364
+ const Pr = Yd ? window : void 0;
365
365
  function st(e) {
366
366
  var t;
367
367
  const n = Me(e);
@@ -375,14 +375,14 @@ function Jd() {
375
375
  }, t), e;
376
376
  }
377
377
  // @__NO_SIDE_EFFECTS__
378
- function Pr(e) {
378
+ function xr(e) {
379
379
  const t = /* @__PURE__ */ Jd();
380
380
  return C(() => (t.value, !!e()));
381
381
  }
382
382
  function Qd(e, t, n = {}) {
383
- const { window: a = xr, ...o } = n;
383
+ const { window: a = Pr, ...o } = n;
384
384
  let r;
385
- const s = /* @__PURE__ */ Pr(() => a && "MutationObserver" in a), i = () => {
385
+ const s = /* @__PURE__ */ xr(() => a && "MutationObserver" in a), i = () => {
386
386
  r && (r.disconnect(), r = void 0);
387
387
  }, l = X(C(() => {
388
388
  const u = Sc(Me(e)).map(st).filter(Ac);
@@ -402,9 +402,9 @@ function Qd(e, t, n = {}) {
402
402
  };
403
403
  }
404
404
  function ef(e, t, n = {}) {
405
- const { window: a = xr, ...o } = n;
405
+ const { window: a = Pr, ...o } = n;
406
406
  let r;
407
- const s = /* @__PURE__ */ Pr(() => a && "ResizeObserver" in a), i = () => {
407
+ const s = /* @__PURE__ */ xr(() => a && "ResizeObserver" in a), i = () => {
408
408
  r && (r.disconnect(), r = void 0);
409
409
  }, l = X(C(() => {
410
410
  const d = Me(e);
@@ -426,7 +426,7 @@ function ef(e, t, n = {}) {
426
426
  };
427
427
  }
428
428
  function rs(e, t, n = {}) {
429
- const { root: a, rootMargin: o = "0px", threshold: r = 0, window: s = xr, immediate: i = !0 } = n, l = /* @__PURE__ */ Pr(() => s && "IntersectionObserver" in s), c = C(() => Sc(Me(e)).map(st).filter(Ac));
429
+ const { root: a, rootMargin: o = "0px", threshold: r = 0, window: s = Pr, immediate: i = !0 } = n, l = /* @__PURE__ */ xr(() => s && "IntersectionObserver" in s), c = C(() => Sc(Me(e)).map(st).filter(Ac));
430
430
  let d = Vt;
431
431
  const u = Re(i), h = l.value ? X(() => [
432
432
  c.value,
@@ -493,7 +493,7 @@ function tf(e, t = !1) {
493
493
  }
494
494
  const nf = "lumx-dialog", {
495
495
  block: af,
496
- element: Pe
496
+ element: xe
497
497
  } = B(nf), Nc = {
498
498
  size: H.big
499
499
  }, of = (e) => {
@@ -518,10 +518,10 @@ const nf = "lumx-dialog", {
518
518
  ThemeProvider: y,
519
519
  ClickAwayProvider: A,
520
520
  shouldPreventCloseOnClickAway: N,
521
- clickAwayRefs: P,
521
+ clickAwayRefs: x,
522
522
  rootRef: w,
523
523
  wrapperRef: k,
524
- hasTopIntersection: x,
524
+ hasTopIntersection: P,
525
525
  headerChildProps: T,
526
526
  setSentinelTop: O,
527
527
  content: _,
@@ -546,7 +546,7 @@ const nf = "lumx-dialog", {
546
546
  zIndex: h
547
547
  }
548
548
  }), [m("div", {
549
- className: Pe("overlay")
549
+ className: xe("overlay")
550
550
  }, null), m(v, {
551
551
  level: 2
552
552
  }, {
@@ -554,40 +554,40 @@ const nf = "lumx-dialog", {
554
554
  value: void 0
555
555
  }, {
556
556
  default: () => [m("div", S({
557
- className: Pe("container"),
557
+ className: xe("container"),
558
558
  role: "dialog",
559
559
  "aria-modal": "true"
560
560
  }, f), [m(A, {
561
561
  callback: !N && c,
562
- childrenRefs: P,
562
+ childrenRefs: x,
563
563
  parentRef: w
564
564
  }, {
565
565
  default: () => [m("section", {
566
- className: Pe("wrapper"),
566
+ className: xe("wrapper"),
567
567
  ref: k
568
568
  }, [(a || g) && m("header", S(T, {
569
- className: L(Pe("header", {
570
- "has-divider": !!(r || x)
569
+ className: L(xe("header", {
570
+ "has-divider": !!(r || P)
571
571
  }), T?.className)
572
572
  }), [a, g]), m("div", {
573
573
  ref: d,
574
- className: Pe("content")
574
+ className: xe("content")
575
575
  }, [m("div", {
576
- className: Pe("sentinel", {
576
+ className: xe("sentinel", {
577
577
  top: !0
578
578
  }),
579
579
  ref: O
580
580
  }, null), _, m("div", {
581
- className: Pe("sentinel", {
581
+ className: xe("sentinel", {
582
582
  bottom: !0
583
583
  }),
584
584
  ref: q
585
585
  }, null)]), (s || j) && m("footer", S(I, {
586
- className: L(Pe("footer", {
586
+ className: L(xe("footer", {
587
587
  "has-divider": !!(o || V)
588
588
  }), I?.className)
589
589
  }), [s, j]), i && m("div", {
590
- className: Pe("progress-overlay")
590
+ className: xe("progress-overlay")
591
591
  }, [m(F, null, null)])])]
592
592
  })])]
593
593
  })]
@@ -603,16 +603,16 @@ const nf = "lumx-dialog", {
603
603
  }, sf = { level: 1, headingElement: "h1" }, lf = (e, t) => {
604
604
  const n = e || t + 1;
605
605
  return n > ss ? ss : n;
606
- }, xc = /* @__PURE__ */ Symbol("HeadingLevelContext"), Pc = () => qe(xc, sf), wr = /* @__PURE__ */ E((e, {
606
+ }, Pc = /* @__PURE__ */ Symbol("HeadingLevelContext"), xc = () => qe(Pc, sf), wr = /* @__PURE__ */ E((e, {
607
607
  slots: t
608
608
  }) => {
609
609
  const {
610
610
  level: n
611
- } = hd(e), a = Pc(), o = C(() => lf(n?.value, a.level)), r = C(() => `h${o.value}`), s = ic({
611
+ } = hd(e), a = xc(), o = C(() => lf(n?.value, a.level)), r = C(() => `h${o.value}`), s = ic({
612
612
  level: o,
613
613
  headingElement: r
614
614
  });
615
- return je(xc, s), () => t.default?.();
615
+ return je(Pc, s), () => t.default?.();
616
616
  }, {
617
617
  name: "HeadingLevelProvider",
618
618
  props: $()("level")
@@ -829,10 +829,10 @@ function yf() {
829
829
  var e = ze(), t = e["__core-js_shared__"];
830
830
  return Kn = t, Kn;
831
831
  }
832
- var Xn, xs;
832
+ var Xn, Ps;
833
833
  function Af() {
834
- if (xs) return Xn;
835
- xs = 1;
834
+ if (Ps) return Xn;
835
+ Ps = 1;
836
836
  var e = yf(), t = (function() {
837
837
  var a = /[^.]+$/.exec(e && e.keys && e.keys.IE_PROTO || "");
838
838
  return a ? "Symbol(src)_1." + a : "";
@@ -842,10 +842,10 @@ function Af() {
842
842
  }
843
843
  return Xn = n, Xn;
844
844
  }
845
- var Yn, Ps;
845
+ var Yn, xs;
846
846
  function Tc() {
847
- if (Ps) return Yn;
848
- Ps = 1;
847
+ if (xs) return Yn;
848
+ xs = 1;
849
849
  var e = Function.prototype, t = e.toString;
850
850
  function n(a) {
851
851
  if (a != null) {
@@ -911,7 +911,7 @@ function _c() {
911
911
  return ea = t, ea;
912
912
  }
913
913
  var ta, Ts;
914
- function xf() {
914
+ function Pf() {
915
915
  if (Ts) return ta;
916
916
  Ts = 1;
917
917
  var e = gf(), t = _c(), n = wc(), a = t ? function(o, r) {
@@ -925,7 +925,7 @@ function xf() {
925
925
  return ta = a, ta;
926
926
  }
927
927
  var na, _s;
928
- function Pf() {
928
+ function xf() {
929
929
  if (_s) return na;
930
930
  _s = 1;
931
931
  var e = 800, t = 16, n = Date.now;
@@ -947,7 +947,7 @@ var aa, Is;
947
947
  function Ic() {
948
948
  if (Is) return aa;
949
949
  Is = 1;
950
- var e = xf(), t = Pf(), n = t(e);
950
+ var e = Pf(), t = xf(), n = t(e);
951
951
  return aa = n, aa;
952
952
  }
953
953
  var oa, Ls;
@@ -1257,12 +1257,12 @@ const qf = {
1257
1257
  const b = C(() => e.isOpen && s.value || !1);
1258
1258
  Cr(b, C(() => e.focusElement)), Or(C(() => !0), C(() => {
1259
1259
  }), C(() => e.parentElement), s, C(() => !!e.isOpen)), Bc(C(() => e.disableBodyScroll !== !1 && !!e.isOpen));
1260
- const v = Dc(C(() => !!e.isOpen), ac, C(() => (w) => t("visibilityChange", w))), y = C(() => e.isOpen || v.value || e.closeMode === "hide"), A = C(() => [s]), N = C(() => e.preventAutoClose || e.preventCloseOnClick), P = (w) => {
1260
+ const v = Dc(C(() => !!e.isOpen), ac, C(() => (w) => t("visibilityChange", w))), y = C(() => e.isOpen || v.value || e.closeMode === "hide"), A = C(() => [s]), N = C(() => e.preventAutoClose || e.preventCloseOnClick), x = (w) => {
1261
1261
  i.value = w, e.contentRef && (e.contentRef.value = w);
1262
1262
  };
1263
1263
  return () => {
1264
1264
  if (!y.value) return null;
1265
- const w = n.default?.() ?? [], k = w.find((_) => _.type === "header"), x = w.find((_) => _.type === "footer"), O = !!(k || x) ? w.filter((_) => _.type !== "header" && _.type !== "footer" && _.type !== pr) : w;
1265
+ const w = n.default?.() ?? [], k = w.find((_) => _.type === "header"), P = w.find((_) => _.type === "footer"), O = !!(k || P) ? w.filter((_) => _.type !== "header" && _.type !== "footer" && _.type !== pr) : w;
1266
1266
  return of({
1267
1267
  ...a,
1268
1268
  ClickAwayProvider: vr,
@@ -1273,10 +1273,10 @@ const qf = {
1273
1273
  className: o.value,
1274
1274
  clickAwayRefs: A,
1275
1275
  content: O.length ? O : void 0,
1276
- contentRef: P,
1276
+ contentRef: x,
1277
1277
  dialogProps: e.dialogProps,
1278
1278
  footer: void 0,
1279
- footerChildContent: n.footer?.() ?? x?.children,
1279
+ footerChildContent: n.footer?.() ?? P?.children,
1280
1280
  footerChildProps: void 0,
1281
1281
  forceFooterDivider: e.forceFooterDivider,
1282
1282
  forceHeaderDivider: e.forceHeaderDivider,
@@ -1363,19 +1363,19 @@ function qc() {
1363
1363
  var e = Ze(), t = ze(), n = e(t, "Map");
1364
1364
  return Na = n, Na;
1365
1365
  }
1366
- var xa, Zs;
1366
+ var Pa, Zs;
1367
1367
  function Uf() {
1368
- if (Zs) return xa;
1368
+ if (Zs) return Pa;
1369
1369
  Zs = 1;
1370
1370
  var e = Ze(), t = ze(), n = e(t, "Promise");
1371
- return xa = n, xa;
1371
+ return Pa = n, Pa;
1372
1372
  }
1373
- var Pa, Js;
1373
+ var xa, Js;
1374
1374
  function Gf() {
1375
- if (Js) return Pa;
1375
+ if (Js) return xa;
1376
1376
  Js = 1;
1377
1377
  var e = Ze(), t = ze(), n = e(t, "Set");
1378
- return Pa = n, Pa;
1378
+ return xa = n, xa;
1379
1379
  }
1380
1380
  var wa, Qs;
1381
1381
  function Kf() {
@@ -1390,7 +1390,7 @@ function Xf() {
1390
1390
  ei = 1;
1391
1391
  var e = Wf(), t = qc(), n = Uf(), a = Gf(), o = Kf(), r = Tt(), s = Tc(), i = "[object Map]", l = "[object Object]", c = "[object Promise]", d = "[object Set]", u = "[object WeakMap]", h = "[object DataView]", f = s(e), g = s(t), p = s(n), b = s(a), v = s(o), y = r;
1392
1392
  return (e && y(new e(new ArrayBuffer(1))) != h || t && y(new t()) != i || n && y(n.resolve()) != c || a && y(new a()) != d || o && y(new o()) != u) && (y = function(A) {
1393
- var N = r(A), P = N == l ? A.constructor : void 0, w = P ? s(P) : "";
1393
+ var N = r(A), x = N == l ? A.constructor : void 0, w = x ? s(x) : "";
1394
1394
  if (w)
1395
1395
  switch (w) {
1396
1396
  case f:
@@ -1485,8 +1485,8 @@ var $a, ci;
1485
1485
  function eh() {
1486
1486
  if (ci) return $a;
1487
1487
  ci = 1;
1488
- var e = Tt(), t = Tr(), n = cn(), a = "[object Arguments]", o = "[object Array]", r = "[object Boolean]", s = "[object Date]", i = "[object Error]", l = "[object Function]", c = "[object Map]", d = "[object Number]", u = "[object Object]", h = "[object RegExp]", f = "[object Set]", g = "[object String]", p = "[object WeakMap]", b = "[object ArrayBuffer]", v = "[object DataView]", y = "[object Float32Array]", A = "[object Float64Array]", N = "[object Int8Array]", P = "[object Int16Array]", w = "[object Int32Array]", k = "[object Uint8Array]", x = "[object Uint8ClampedArray]", T = "[object Uint16Array]", O = "[object Uint32Array]", _ = {};
1489
- _[y] = _[A] = _[N] = _[P] = _[w] = _[k] = _[x] = _[T] = _[O] = !0, _[a] = _[o] = _[b] = _[r] = _[v] = _[s] = _[i] = _[l] = _[c] = _[d] = _[u] = _[h] = _[f] = _[g] = _[p] = !1;
1488
+ var e = Tt(), t = Tr(), n = cn(), a = "[object Arguments]", o = "[object Array]", r = "[object Boolean]", s = "[object Date]", i = "[object Error]", l = "[object Function]", c = "[object Map]", d = "[object Number]", u = "[object Object]", h = "[object RegExp]", f = "[object Set]", g = "[object String]", p = "[object WeakMap]", b = "[object ArrayBuffer]", v = "[object DataView]", y = "[object Float32Array]", A = "[object Float64Array]", N = "[object Int8Array]", x = "[object Int16Array]", w = "[object Int32Array]", k = "[object Uint8Array]", P = "[object Uint8ClampedArray]", T = "[object Uint16Array]", O = "[object Uint32Array]", _ = {};
1489
+ _[y] = _[A] = _[N] = _[x] = _[w] = _[k] = _[P] = _[T] = _[O] = !0, _[a] = _[o] = _[b] = _[r] = _[v] = _[s] = _[i] = _[l] = _[c] = _[d] = _[u] = _[h] = _[f] = _[g] = _[p] = !1;
1490
1490
  function q(j) {
1491
1491
  return n(j) && t(j.length) && !!_[e(j)];
1492
1492
  }
@@ -1680,7 +1680,7 @@ function ph() {
1680
1680
  }
1681
1681
  function te(e) {
1682
1682
  const t = ph(), n = C(() => {
1683
- const r = typeof e == "function" ? e() : Pt(e);
1683
+ const r = typeof e == "function" ? e() : xt(e);
1684
1684
  return Sd(t, {
1685
1685
  disabled: r.disabled,
1686
1686
  isDisabled: r.isDisabled,
@@ -1689,7 +1689,7 @@ function te(e) {
1689
1689
  }), a = C(
1690
1690
  () => n.value["aria-disabled"] || n.value.disabled || void 0
1691
1691
  ), o = C(() => {
1692
- const r = typeof e == "function" ? e() : Pt(e), { disabled: s, isDisabled: i, "aria-disabled": l, ariaDisabled: c, onClick: d, onChange: u, ...h } = r;
1692
+ const r = typeof e == "function" ? e() : xt(e), { disabled: s, isDisabled: i, "aria-disabled": l, ariaDisabled: c, onClick: d, onChange: u, ...h } = r;
1693
1693
  return a.value || (d && (h.onClick = d), u && (h.onChange = u)), h;
1694
1694
  });
1695
1695
  return { disabledStateProps: n, isAnyDisabled: a, otherProps: o };
@@ -1796,15 +1796,15 @@ const De = /* @__PURE__ */ E((e) => {
1796
1796
  }
1797
1797
  };
1798
1798
  }, Vc = /* @__PURE__ */ Symbol("tooltip-context"), Nh = {};
1799
- function xh() {
1799
+ function Ph() {
1800
1800
  je(Vc, Nh);
1801
1801
  }
1802
- function Ph() {
1802
+ function xh() {
1803
1803
  return qe(Vc, void 0);
1804
1804
  }
1805
1805
  function wh(e) {
1806
1806
  const t = R(void 0);
1807
- if (Ph())
1807
+ if (xh())
1808
1808
  return { tooltipLabel: t };
1809
1809
  const a = () => {
1810
1810
  const o = e.value;
@@ -2119,7 +2119,7 @@ const Bh = "lumx-thumbnail", {
2119
2119
  block: Fh,
2120
2120
  element: Nt
2121
2121
  } = fe.bem(Bh), pi = {
2122
- fallback: Pd,
2122
+ fallback: xd,
2123
2123
  loading: "lazy"
2124
2124
  }, qh = (e) => {
2125
2125
  const {
@@ -2143,27 +2143,27 @@ const Bh = "lumx-thumbnail", {
2143
2143
  isAnyDisabled: y,
2144
2144
  disabledStateProps: A,
2145
2145
  size: N,
2146
- theme: P,
2146
+ theme: x,
2147
2147
  loadingState: w,
2148
2148
  variant: k,
2149
- linkProps: x,
2149
+ linkProps: P,
2150
2150
  linkAs: T,
2151
2151
  handleClick: O,
2152
2152
  handleKeyPress: _,
2153
2153
  ...q
2154
2154
  } = e, j = g || w === "isLoading", I = w === "hasError", F = I && typeof l == "string", V = I && !F, W = {};
2155
2155
  F ? W.visibility = "hidden" : V && (W.display = "none");
2156
- const z = !!(x?.href || T), Y = !y && !!(z || O || _), ae = {
2156
+ const z = !!(P?.href || T), Y = !y && !!(z || O || _), ae = {
2157
2157
  ...q
2158
2158
  };
2159
2159
  Y && (Object.assign(ae, {
2160
- as: T || (x?.href ? "a" : "button")
2161
- }, A), z ? Object.assign(ae, x) : ae["aria-label"] = q["aria-label"] || n);
2162
- const Z = fe.join(x?.className, r, Fh({
2160
+ as: T || (P?.href ? "a" : "button")
2161
+ }, A), z ? Object.assign(ae, P) : ae["aria-label"] = q["aria-label"] || n);
2162
+ const Z = fe.join(P?.className, r, Fh({
2163
2163
  [`align-${t}`]: !!t,
2164
2164
  [`aspect-ratio-${a}`]: !!a,
2165
2165
  [`size-${N}`]: !!N,
2166
- [`theme-${P}`]: !!P,
2166
+ [`theme-${x}`]: !!x,
2167
2167
  [`variant-${k}`]: !!k,
2168
2168
  "is-clickable": Y,
2169
2169
  "has-error": I,
@@ -2203,7 +2203,7 @@ const Bh = "lumx-thumbnail", {
2203
2203
  }, [F ? ee({
2204
2204
  icon: l,
2205
2205
  size: rt.xxs,
2206
- theme: P
2206
+ theme: x
2207
2207
  }) : l])]), o]);
2208
2208
  return Y ? ft({
2209
2209
  ref: i,
@@ -2320,11 +2320,11 @@ const zh = {
2320
2320
  handleClick: i ? p : void 0,
2321
2321
  handleKeyPress: l ? b : void 0,
2322
2322
  fallback: y,
2323
- badge: v && (Array.isArray(v) ? v.map((P) => ({
2324
- ...P,
2323
+ badge: v && (Array.isArray(v) ? v.map((x) => ({
2324
+ ...x,
2325
2325
  props: {
2326
- ...P.props,
2327
- class: fe.join(Nt("badge"), P.props?.class)
2326
+ ...x.props,
2327
+ class: fe.join(Nt("badge"), x.props?.class)
2328
2328
  }
2329
2329
  })) : {
2330
2330
  ...v,
@@ -2507,12 +2507,12 @@ function _r(e, t, n) {
2507
2507
  }
2508
2508
  const f = Kc(n);
2509
2509
  function g(N) {
2510
- const P = N > 0, w = Math.abs(N), k = l(), x = d(), T = P ? () => x.nextNode() : () => x.previousNode();
2510
+ const x = N > 0, w = Math.abs(N), k = l(), P = d(), T = x ? () => P.nextNode() : () => P.previousNode();
2511
2511
  let O = null, _ = w;
2512
2512
  if (k)
2513
- x.currentNode = k;
2514
- else if (!P) {
2515
- if (O = x.lastChild(), !O) return null;
2513
+ P.currentNode = k;
2514
+ else if (!x) {
2515
+ if (O = P.lastChild(), !O) return null;
2516
2516
  _ -= 1;
2517
2517
  }
2518
2518
  for (let q = 0; q < _; q++) {
@@ -2520,20 +2520,20 @@ function _r(e, t, n) {
2520
2520
  if (j)
2521
2521
  O = j;
2522
2522
  else if (k && s) {
2523
- const I = P ? u() : h();
2523
+ const I = x ? u() : h();
2524
2524
  if (!I || I === k) break;
2525
- O = I, x.currentNode = I;
2525
+ O = I, P.currentNode = I;
2526
2526
  } else
2527
2527
  break;
2528
2528
  }
2529
2529
  return O;
2530
2530
  }
2531
2531
  function p(N) {
2532
- const P = d(!1);
2533
- let w = P.nextNode();
2532
+ const x = d(!1);
2533
+ let w = x.nextNode();
2534
2534
  for (; w; ) {
2535
2535
  if (N(w)) return w;
2536
- w = P.nextNode();
2536
+ w = x.nextNode();
2537
2537
  }
2538
2538
  return null;
2539
2539
  }
@@ -2557,24 +2557,24 @@ function _r(e, t, n) {
2557
2557
  if (!a.contains(N)) return u();
2558
2558
  if (N instanceof HTMLElement && N.matches(c))
2559
2559
  return N;
2560
- const P = d();
2561
- P.currentNode = N;
2562
- const w = P.nextNode();
2563
- return w instanceof HTMLElement ? w : (P.currentNode = N, P.previousNode());
2560
+ const x = d();
2561
+ x.currentNode = N;
2562
+ const w = x.nextNode();
2563
+ return w instanceof HTMLElement ? w : (x.currentNode = N, x.previousNode());
2564
2564
  }
2565
2565
  };
2566
2566
  function y(N) {
2567
- const P = N(v);
2568
- if (P && P.matches(o) && a.contains(P)) {
2567
+ const x = N(v);
2568
+ if (x && x.matches(o) && a.contains(x)) {
2569
2569
  const w = l();
2570
- return w !== P && (w && t.onDeactivate(w), t.onActivate(P)), f.clear(), !0;
2570
+ return w !== x && (w && t.onDeactivate(w), t.onActivate(x)), f.clear(), !0;
2571
2571
  }
2572
2572
  return f.defer(() => y(N)), !1;
2573
2573
  }
2574
2574
  function A(N) {
2575
2575
  if (N === 0) return l() !== null;
2576
- const P = g(N);
2577
- return P ? y(() => P) : !1;
2576
+ const x = g(N);
2577
+ return x ? y(() => x) : !1;
2578
2578
  }
2579
2579
  return {
2580
2580
  type: "list",
@@ -2624,10 +2624,10 @@ function _e(e) {
2624
2624
  return n ? null : t;
2625
2625
  }
2626
2626
  function Qh(e, t, n) {
2627
- const { container: a, rowSelector: o, cellSelector: r, wrap: s = !1 } = e, i = Zh(t, n), l = (x) => x.querySelector(r) !== null, c = (x) => x.querySelector(r), d = (x) => Array.from(x.querySelectorAll(r));
2628
- function* u(x = "first", T = "next", O) {
2627
+ const { container: a, rowSelector: o, cellSelector: r, wrap: s = !1 } = e, i = Zh(t, n), l = (P) => P.querySelector(r) !== null, c = (P) => P.querySelector(r), d = (P) => Array.from(P.querySelectorAll(r));
2628
+ function* u(P = "first", T = "next", O) {
2629
2629
  const _ = Lt(a, o);
2630
- x instanceof HTMLElement ? _.currentNode = x : x === "last" && (_.currentNode = Jh(a));
2630
+ P instanceof HTMLElement ? _.currentNode = P : P === "last" && (_.currentNode = Jh(a));
2631
2631
  let q;
2632
2632
  do
2633
2633
  if (q = T === "next" ? _.nextNode() : _.previousNode(), q && l(q)) {
@@ -2637,58 +2637,58 @@ function Qh(e, t, n) {
2637
2637
  while (q);
2638
2638
  }
2639
2639
  const h = () => _e(u()), f = () => _e(u("last", "prev"));
2640
- function g(x) {
2641
- const T = x.closest(o);
2640
+ function g(P) {
2641
+ const T = P.closest(o);
2642
2642
  return T && a.contains(T) ? T : null;
2643
2643
  }
2644
2644
  const p = Kc(n);
2645
2645
  let b = 0;
2646
- function v(x, T) {
2647
- const O = d(x);
2646
+ function v(P, T) {
2647
+ const O = d(P);
2648
2648
  if (O.length === 0) return !1;
2649
2649
  const _ = Math.min(T, O.length - 1);
2650
2650
  return i.setActive(O[_]), !0;
2651
2651
  }
2652
- function y(x) {
2653
- const T = g(x);
2652
+ function y(P) {
2653
+ const T = g(P);
2654
2654
  if (!T) return !1;
2655
- const _ = d(T).indexOf(x);
2656
- return _ === -1 ? !1 : (b = _, i.setActive(x), !0);
2655
+ const _ = d(T).indexOf(P);
2656
+ return _ === -1 ? !1 : (b = _, i.setActive(P), !0);
2657
2657
  }
2658
2658
  function A() {
2659
- const x = h();
2660
- return x ? (b = 0, v(x, 0)) : !1;
2659
+ const P = h();
2660
+ return P ? (b = 0, v(P, 0)) : !1;
2661
2661
  }
2662
2662
  function N() {
2663
- const x = f();
2664
- return x ? (b = 0, v(x, 0)) : !1;
2663
+ const P = f();
2664
+ return P ? (b = 0, v(P, 0)) : !1;
2665
2665
  }
2666
- function P(x) {
2666
+ function x(P) {
2667
2667
  if (!i.active) return !1;
2668
2668
  const T = g(i.active);
2669
2669
  if (!T) return !1;
2670
2670
  const O = d(T), _ = O.indexOf(i.active);
2671
2671
  if (_ === -1) return !1;
2672
- const q = _ + x;
2672
+ const q = _ + P;
2673
2673
  if (q >= 0 && q < O.length)
2674
2674
  return b = q, i.setActive(O[q]), !0;
2675
2675
  if (!s) return !1;
2676
- const j = x > 0 ? "next" : "prev", F = _e(u(T, j)) ?? (x > 0 ? h() : f());
2676
+ const j = P > 0 ? "next" : "prev", F = _e(u(T, j)) ?? (P > 0 ? h() : f());
2677
2677
  if (!F) return !1;
2678
2678
  const V = d(F);
2679
2679
  if (V.length === 0) return !1;
2680
- const W = x > 0 ? 0 : V.length - 1;
2680
+ const W = P > 0 ? 0 : V.length - 1;
2681
2681
  return b = W, i.setActive(V[W]), !0;
2682
2682
  }
2683
- function w(x) {
2683
+ function w(P) {
2684
2684
  if (!i.active)
2685
- return x === "next" ? A() : N();
2685
+ return P === "next" ? A() : N();
2686
2686
  const T = g(i.active);
2687
2687
  if (!T) return !1;
2688
- const O = _e(u(T, x));
2688
+ const O = _e(u(T, P));
2689
2689
  if (O) return v(O, b);
2690
2690
  if (s) {
2691
- const _ = x === "next" ? h() : f();
2691
+ const _ = P === "next" ? h() : f();
2692
2692
  if (_) return v(_, b);
2693
2693
  }
2694
2694
  return !1;
@@ -2705,32 +2705,32 @@ function Qh(e, t, n) {
2705
2705
  // First cell in last row
2706
2706
  getLast: () => _e(u("last", "prev", c)),
2707
2707
  // First cell matching predicate
2708
- getMatching: (x) => _e(u("first", "next", (T) => d(T).find(x)))
2708
+ getMatching: (P) => _e(u("first", "next", (T) => d(T).find(P)))
2709
2709
  };
2710
2710
  return {
2711
2711
  type: "grid",
2712
2712
  selectors: k,
2713
- goToOffset(x) {
2714
- if (x === 0) return i.active !== null;
2713
+ goToOffset(P) {
2714
+ if (P === 0) return i.active !== null;
2715
2715
  const T = Array.from(u());
2716
2716
  if (T.length === 0) return !1;
2717
2717
  if (!i.active) {
2718
- const j = x > 0 ? 0 : T.length - 1, I = x > 0 ? x - 1 : x + 1, F = Math.max(0, Math.min(j + I, T.length - 1));
2718
+ const j = P > 0 ? 0 : T.length - 1, I = P > 0 ? P - 1 : P + 1, F = Math.max(0, Math.min(j + I, T.length - 1));
2719
2719
  return v(T[F], b);
2720
2720
  }
2721
2721
  const O = g(i.active);
2722
2722
  if (!O) return !1;
2723
2723
  const _ = T.indexOf(O);
2724
2724
  if (_ === -1) return !1;
2725
- const q = Math.max(0, Math.min(_ + x, T.length - 1));
2725
+ const q = Math.max(0, Math.min(_ + P, T.length - 1));
2726
2726
  return q === _ ? !1 : v(T[q], b);
2727
2727
  },
2728
2728
  clear() {
2729
2729
  i.clear(), p.clear();
2730
2730
  },
2731
- goTo(x) {
2732
- const T = x(k);
2733
- return T && y(T) ? (p.clear(), !0) : (p.defer(() => this.goTo(x)), !1);
2731
+ goTo(P) {
2732
+ const T = P(k);
2733
+ return T && y(T) ? (p.clear(), !0) : (p.defer(() => this.goTo(P)), !1);
2734
2734
  },
2735
2735
  flushPendingNavigation() {
2736
2736
  p.flush();
@@ -2742,10 +2742,10 @@ function Qh(e, t, n) {
2742
2742
  return w("next");
2743
2743
  },
2744
2744
  goLeft() {
2745
- return P(-1);
2745
+ return x(-1);
2746
2746
  },
2747
2747
  goRight() {
2748
- return P(1);
2748
+ return x(1);
2749
2749
  }
2750
2750
  };
2751
2751
  }
@@ -2837,7 +2837,7 @@ function tm(e, t) {
2837
2837
  g();
2838
2838
  const b = new MutationObserver((v) => {
2839
2839
  let y = null, A = null, N = null;
2840
- const P = [], w = [];
2840
+ const x = [], w = [];
2841
2841
  for (const k of v) {
2842
2842
  if (k.type === "childList") {
2843
2843
  if (!y)
@@ -2852,8 +2852,8 @@ function tm(e, t) {
2852
2852
  for (const O of vi(T, a))
2853
2853
  w.push(O);
2854
2854
  }
2855
- const x = k.target;
2856
- k.type === "attributes" && x.matches(a) && (k.attributeName === s && x.getAttribute(s) === "true" ? N = x : r && x.matches(r) && P.push(x));
2855
+ const P = k.target;
2856
+ k.type === "attributes" && P.matches(a) && (k.attributeName === s && P.getAttribute(s) === "true" ? N = P : r && P.matches(r) && x.push(P));
2857
2857
  }
2858
2858
  if (y) {
2859
2859
  const k = d.hasFocus;
@@ -2863,11 +2863,11 @@ function tm(e, t) {
2863
2863
  const k = n.querySelector(l) !== null;
2864
2864
  f(w, k);
2865
2865
  }
2866
- if (P.length > 0) {
2866
+ if (x.length > 0) {
2867
2867
  const k = u.selectors.activeItem;
2868
- for (const O of P)
2868
+ for (const O of x)
2869
2869
  h(O, "-1");
2870
- const T = !!(k && P.includes(k) && d.hasFocus);
2870
+ const T = !!(k && x.includes(k) && d.hasFocus);
2871
2871
  p(T);
2872
2872
  }
2873
2873
  if (N) {
@@ -3006,16 +3006,16 @@ function Xc(e, t, n) {
3006
3006
  const I = y(), F = o?.value ?? "";
3007
3007
  (I !== h || I === 0 && F !== f) && (h = I, f = F, v("optionsChange", { optionsLength: I, inputValue: F })), i && o?.setAttribute("aria-expanded", String(A()));
3008
3008
  }
3009
- const P = 500;
3009
+ const x = 500;
3010
3010
  let w, k = !1;
3011
- function x() {
3011
+ function P() {
3012
3012
  clearTimeout(w), p > 0 && i && (w = setTimeout(() => {
3013
3013
  p > 0 && i && (k = !0, v("loadingAnnouncement", !0));
3014
- }, P));
3014
+ }, x));
3015
3015
  }
3016
3016
  function T() {
3017
3017
  const I = p > 0;
3018
- g = I, v("loadingChange", I), I ? x() : (clearTimeout(w), k && (k = !1, v("loadingAnnouncement", !1)));
3018
+ g = I, v("loadingChange", I), I ? P() : (clearTimeout(w), k && (k = !1, v("loadingAnnouncement", !1)));
3019
3019
  }
3020
3020
  let O;
3021
3021
  function _() {
@@ -3093,7 +3093,7 @@ function Xc(e, t, n) {
3093
3093
  return p > 0;
3094
3094
  },
3095
3095
  setIsOpen(I) {
3096
- i !== I && (i = I, I ? p > 0 && x() : (s?.clear(), clearTimeout(w), k && (k = !1, v("loadingAnnouncement", !1))), o?.setAttribute("aria-expanded", String(I && A())), v("open", I));
3096
+ i !== I && (i = I, I ? p > 0 && P() : (s?.clear(), clearTimeout(w), k && (k = !1, v("loadingAnnouncement", !1))), o?.setAttribute("aria-expanded", String(I && A())), v("open", I));
3097
3097
  },
3098
3098
  select(I) {
3099
3099
  e.onSelect?.({ value: I ? Dt(I) : "" }), I && !O.isMultiSelect && (O.focusNav?.clear(), requestAnimationFrame(() => {
@@ -3376,7 +3376,7 @@ function Jt(e) {
3376
3376
  y: n
3377
3377
  };
3378
3378
  }
3379
- function xi(e, t, n) {
3379
+ function Pi(e, t, n) {
3380
3380
  let {
3381
3381
  reference: a,
3382
3382
  floating: o
@@ -3456,17 +3456,17 @@ async function gm(e, t) {
3456
3456
  } : {
3457
3457
  x: 1,
3458
3458
  y: 1
3459
- }, P = Jt(r.convertOffsetParentRelativeRectToViewportRelativeRect ? await r.convertOffsetParentRelativeRectToViewportRelativeRect({
3459
+ }, x = Jt(r.convertOffsetParentRelativeRectToViewportRelativeRect ? await r.convertOffsetParentRelativeRectToViewportRelativeRect({
3460
3460
  elements: i,
3461
3461
  rect: y,
3462
3462
  offsetParent: A,
3463
3463
  strategy: l
3464
3464
  }) : y);
3465
3465
  return {
3466
- top: (v.top - P.top + g.top) / N.y,
3467
- bottom: (P.bottom - v.bottom + g.bottom) / N.y,
3468
- left: (v.left - P.left + g.left) / N.x,
3469
- right: (P.right - v.right + g.right) / N.x
3466
+ top: (v.top - x.top + g.top) / N.y,
3467
+ bottom: (x.bottom - v.bottom + g.bottom) / N.y,
3468
+ left: (v.left - x.left + g.left) / N.x,
3469
+ right: (x.right - v.right + g.right) / N.x
3470
3470
  };
3471
3471
  }
3472
3472
  const vm = async (e, t, n) => {
@@ -3483,7 +3483,7 @@ const vm = async (e, t, n) => {
3483
3483
  }), {
3484
3484
  x: d,
3485
3485
  y: u
3486
- } = xi(c, a, l), h = a, f = {}, g = 0;
3486
+ } = Pi(c, a, l), h = a, f = {}, g = 0;
3487
3487
  for (let b = 0; b < i.length; b++) {
3488
3488
  var p;
3489
3489
  const {
@@ -3492,7 +3492,7 @@ const vm = async (e, t, n) => {
3492
3492
  } = i[b], {
3493
3493
  x: A,
3494
3494
  y: N,
3495
- data: P,
3495
+ data: x,
3496
3496
  reset: w
3497
3497
  } = await y({
3498
3498
  x: d,
@@ -3515,7 +3515,7 @@ const vm = async (e, t, n) => {
3515
3515
  ...f,
3516
3516
  [v]: {
3517
3517
  ...f[v],
3518
- ...P
3518
+ ...x
3519
3519
  }
3520
3520
  }, w && g <= 50 && (g++, typeof w == "object" && (w.placement && (h = w.placement), w.rects && (c = w.rects === !0 ? await s.getElementRects({
3521
3521
  reference: e,
@@ -3524,7 +3524,7 @@ const vm = async (e, t, n) => {
3524
3524
  }) : w.rects), {
3525
3525
  x: d,
3526
3526
  y: u
3527
- } = xi(c, h, l)), b = -1);
3527
+ } = Pi(c, h, l)), b = -1);
3528
3528
  }
3529
3529
  return {
3530
3530
  x: d,
@@ -3554,10 +3554,10 @@ const vm = async (e, t, n) => {
3554
3554
  const u = Qc(d), h = {
3555
3555
  x: n,
3556
3556
  y: a
3557
- }, f = Lr(o), g = Ir(f), p = await s.getDimensions(c), b = f === "y", v = b ? "top" : "left", y = b ? "bottom" : "right", A = b ? "clientHeight" : "clientWidth", N = r.reference[g] + r.reference[f] - h[f] - r.floating[g], P = h[f] - r.reference[f], w = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(c));
3557
+ }, f = Lr(o), g = Ir(f), p = await s.getDimensions(c), b = f === "y", v = b ? "top" : "left", y = b ? "bottom" : "right", A = b ? "clientHeight" : "clientWidth", N = r.reference[g] + r.reference[f] - h[f] - r.floating[g], x = h[f] - r.reference[f], w = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(c));
3558
3558
  let k = w ? w[A] : 0;
3559
3559
  (!k || !await (s.isElement == null ? void 0 : s.isElement(w))) && (k = i.floating[A] || r.floating[g]);
3560
- const x = N / 2 - P / 2, T = k / 2 - p[g] / 2 - 1, O = Be(u[v], T), _ = Be(u[y], T), q = O, j = k - p[g] - _, I = k / 2 - p[g] / 2 + x, F = rr(q, I, j), V = !l.arrow && de(o) != null && I !== F && r.reference[g] / 2 - (I < q ? O : _) - p[g] / 2 < 0, W = V ? I < q ? I - q : I - j : 0;
3560
+ const P = N / 2 - x / 2, T = k / 2 - p[g] / 2 - 1, O = Be(u[v], T), _ = Be(u[y], T), q = O, j = k - p[g] - _, I = k / 2 - p[g] / 2 + P, F = rr(q, I, j), V = !l.arrow && de(o) != null && I !== F && r.reference[g] / 2 - (I < q ? O : _) - p[g] / 2 < 0, W = V ? I < q ? I - q : I - j : 0;
3561
3561
  return {
3562
3562
  [f]: h[f] + W,
3563
3563
  data: {
@@ -3602,7 +3602,7 @@ const Am = function(e) {
3602
3602
  placement: p[0]
3603
3603
  }
3604
3604
  };
3605
- const N = [b[Ae(y)], b[A[0]], b[A[1]]], P = [...((a = s.autoPlacement) == null ? void 0 : a.overflows) || [], {
3605
+ const N = [b[Ae(y)], b[A[0]], b[A[1]]], x = [...((a = s.autoPlacement) == null ? void 0 : a.overflows) || [], {
3606
3606
  placement: y,
3607
3607
  overflows: N
3608
3608
  }], w = p[v + 1];
@@ -3610,13 +3610,13 @@ const Am = function(e) {
3610
3610
  return {
3611
3611
  data: {
3612
3612
  index: v + 1,
3613
- overflows: P
3613
+ overflows: x
3614
3614
  },
3615
3615
  reset: {
3616
3616
  placement: w
3617
3617
  }
3618
3618
  };
3619
- const k = P.map((O) => {
3619
+ const k = x.map((O) => {
3620
3620
  const _ = de(O.placement);
3621
3621
  return [O.placement, _ && d ? (
3622
3622
  // Check along the mainAxis and main crossAxis side.
@@ -3634,7 +3634,7 @@ const Am = function(e) {
3634
3634
  return T !== i ? {
3635
3635
  data: {
3636
3636
  index: v + 1,
3637
- overflows: P
3637
+ overflows: x
3638
3638
  },
3639
3639
  reset: {
3640
3640
  placement: T
@@ -3666,13 +3666,13 @@ const Am = function(e) {
3666
3666
  } = Qe(e, t);
3667
3667
  if ((n = r.arrow) != null && n.alignmentOffset)
3668
3668
  return {};
3669
- const v = Ae(o), y = Ce(i), A = Ae(i) === i, N = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), P = h || (A || !p ? [Zt(i)] : um(i)), w = g !== "none";
3670
- !h && w && P.push(...mm(i, p, g, N));
3671
- const k = [i, ...P], x = await l.detectOverflow(t, b), T = [];
3669
+ const v = Ae(o), y = Ce(i), A = Ae(i) === i, N = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), x = h || (A || !p ? [Zt(i)] : um(i)), w = g !== "none";
3670
+ !h && w && x.push(...mm(i, p, g, N));
3671
+ const k = [i, ...x], P = await l.detectOverflow(t, b), T = [];
3672
3672
  let O = ((a = r.flip) == null ? void 0 : a.overflows) || [];
3673
- if (d && T.push(x[v]), u) {
3673
+ if (d && T.push(P[v]), u) {
3674
3674
  const I = Jc(o, s, N);
3675
- T.push(x[I[0]], x[I[1]]);
3675
+ T.push(P[I[0]], P[I[1]]);
3676
3676
  }
3677
3677
  if (O = [...O, {
3678
3678
  placement: o,
@@ -3724,7 +3724,7 @@ const Am = function(e) {
3724
3724
  }
3725
3725
  };
3726
3726
  }, Nm = /* @__PURE__ */ new Set(["left", "top"]);
3727
- async function xm(e, t) {
3727
+ async function Pm(e, t) {
3728
3728
  const {
3729
3729
  placement: n,
3730
3730
  platform: a,
@@ -3751,7 +3751,7 @@ async function xm(e, t) {
3751
3751
  y: f * d
3752
3752
  };
3753
3753
  }
3754
- const Pm = function(e) {
3754
+ const xm = function(e) {
3755
3755
  return e === void 0 && (e = 0), {
3756
3756
  name: "offset",
3757
3757
  options: e,
@@ -3762,7 +3762,7 @@ const Pm = function(e) {
3762
3762
  y: r,
3763
3763
  placement: s,
3764
3764
  middlewareData: i
3765
- } = t, l = await xm(t, e);
3765
+ } = t, l = await Pm(t, e);
3766
3766
  return s === ((n = i.offset) == null ? void 0 : n.placement) && (a = i.arrow) != null && a.alignmentOffset ? {} : {
3767
3767
  x: o + l.x,
3768
3768
  y: r + l.y,
@@ -3851,15 +3851,15 @@ const Pm = function(e) {
3851
3851
  } = r.floating;
3852
3852
  let b, v;
3853
3853
  u === "top" || u === "bottom" ? (b = u, v = h === (await (s.isRTL == null ? void 0 : s.isRTL(i.floating)) ? "start" : "end") ? "left" : "right") : (v = u, b = h === "end" ? "top" : "bottom");
3854
- const y = p - d.top - d.bottom, A = g - d.left - d.right, N = Be(p - d[b], y), P = Be(g - d[v], A), w = !t.middlewareData.shift;
3855
- let k = N, x = P;
3856
- if ((n = t.middlewareData.shift) != null && n.enabled.x && (x = A), (a = t.middlewareData.shift) != null && a.enabled.y && (k = y), w && !h) {
3854
+ const y = p - d.top - d.bottom, A = g - d.left - d.right, N = Be(p - d[b], y), x = Be(g - d[v], A), w = !t.middlewareData.shift;
3855
+ let k = N, P = x;
3856
+ if ((n = t.middlewareData.shift) != null && n.enabled.x && (P = A), (a = t.middlewareData.shift) != null && a.enabled.y && (k = y), w && !h) {
3857
3857
  const O = le(d.left, 0), _ = le(d.right, 0), q = le(d.top, 0), j = le(d.bottom, 0);
3858
- f ? x = g - 2 * (O !== 0 || _ !== 0 ? O + _ : le(d.left, d.right)) : k = p - 2 * (q !== 0 || j !== 0 ? q + j : le(d.top, d.bottom));
3858
+ f ? P = g - 2 * (O !== 0 || _ !== 0 ? O + _ : le(d.left, d.right)) : k = p - 2 * (q !== 0 || j !== 0 ? q + j : le(d.top, d.bottom));
3859
3859
  }
3860
3860
  await l({
3861
3861
  ...t,
3862
- availableWidth: x,
3862
+ availableWidth: P,
3863
3863
  availableHeight: k
3864
3864
  });
3865
3865
  const T = await s.getDimensions(i.floating);
@@ -3894,7 +3894,7 @@ function pe(e) {
3894
3894
  function Se(e) {
3895
3895
  return fn() ? e instanceof HTMLElement || e instanceof ce(e).HTMLElement : !1;
3896
3896
  }
3897
- function Pi(e) {
3897
+ function xi(e) {
3898
3898
  return !fn() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof ce(e).ShadowRoot;
3899
3899
  }
3900
3900
  const Om = /* @__PURE__ */ new Set(["inline", "contents"]);
@@ -3963,10 +3963,10 @@ function Fe(e) {
3963
3963
  // Step into the shadow DOM of the parent of a slotted node.
3964
3964
  e.assignedSlot || // DOM Element detected.
3965
3965
  e.parentNode || // ShadowRoot detected.
3966
- Pi(e) && e.host || // Fallback.
3966
+ xi(e) && e.host || // Fallback.
3967
3967
  Ne(e)
3968
3968
  );
3969
- return Pi(t) ? t.host : t;
3969
+ return xi(t) ? t.host : t;
3970
3970
  }
3971
3971
  function eu(e) {
3972
3972
  const t = Fe(e);
@@ -4298,7 +4298,7 @@ function Zm(e, t) {
4298
4298
  threshold: le(0, Be(1, l)) || 1
4299
4299
  };
4300
4300
  let N = !0;
4301
- function P(w) {
4301
+ function x(w) {
4302
4302
  const k = w[0].intersectionRatio;
4303
4303
  if (k !== l) {
4304
4304
  if (!N)
@@ -4310,13 +4310,13 @@ function Zm(e, t) {
4310
4310
  k === 1 && !su(c, e.getBoundingClientRect()) && s(), N = !1;
4311
4311
  }
4312
4312
  try {
4313
- n = new IntersectionObserver(P, {
4313
+ n = new IntersectionObserver(x, {
4314
4314
  ...A,
4315
4315
  // Handle <iframe>s
4316
4316
  root: o.ownerDocument
4317
4317
  });
4318
4318
  } catch {
4319
- n = new IntersectionObserver(P, A);
4319
+ n = new IntersectionObserver(x, A);
4320
4320
  }
4321
4321
  n.observe(e);
4322
4322
  }
@@ -4358,7 +4358,7 @@ function iu(e, t, n, a) {
4358
4358
  }), u?.(), (v = f) == null || v.disconnect(), f = null, l && cancelAnimationFrame(g);
4359
4359
  };
4360
4360
  }
4361
- const lu = Pm, Jm = Am, Qm = wm, ep = Sm, tp = Cm, np = bm, ap = (e, t, n) => {
4361
+ const lu = xm, Jm = Am, Qm = wm, ep = Sm, tp = Cm, np = bm, ap = (e, t, n) => {
4362
4362
  const a = /* @__PURE__ */ new Map(), o = {
4363
4363
  platform: Ym,
4364
4364
  ...n
@@ -4382,7 +4382,7 @@ function ki(e) {
4382
4382
  return e;
4383
4383
  }
4384
4384
  function vt(e) {
4385
- return typeof e == "function" ? e() : Pt(e);
4385
+ return typeof e == "function" ? e() : xt(e);
4386
4386
  }
4387
4387
  function cu(e) {
4388
4388
  return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
@@ -4413,16 +4413,16 @@ function uu(e, t, n) {
4413
4413
  };
4414
4414
  if (!d.value)
4415
4415
  return k;
4416
- const x = Ti(d.value, u.value), T = Ti(d.value, h.value);
4416
+ const P = Ti(d.value, u.value), T = Ti(d.value, h.value);
4417
4417
  return l.value ? {
4418
4418
  ...k,
4419
- transform: "translate(" + x + "px, " + T + "px)",
4419
+ transform: "translate(" + P + "px, " + T + "px)",
4420
4420
  ...cu(d.value) >= 1.5 && {
4421
4421
  willChange: "transform"
4422
4422
  }
4423
4423
  } : {
4424
4424
  position: f.value,
4425
- left: x + "px",
4425
+ left: P + "px",
4426
4426
  top: T + "px"
4427
4427
  };
4428
4428
  });
@@ -4435,14 +4435,14 @@ function uu(e, t, n) {
4435
4435
  middleware: r.value,
4436
4436
  placement: s.value,
4437
4437
  strategy: i.value
4438
- }).then((x) => {
4439
- u.value = x.x, h.value = x.y, f.value = x.strategy, g.value = x.placement, p.value = x.middlewareData, b.value = k !== !1;
4438
+ }).then((P) => {
4439
+ u.value = P.x, h.value = P.y, f.value = P.strategy, g.value = P.placement, p.value = P.middlewareData, b.value = k !== !1;
4440
4440
  });
4441
4441
  }
4442
4442
  function N() {
4443
4443
  typeof y == "function" && (y(), y = void 0);
4444
4444
  }
4445
- function P() {
4445
+ function x() {
4446
4446
  if (N(), a === void 0) {
4447
4447
  A();
4448
4448
  return;
@@ -4457,7 +4457,7 @@ function uu(e, t, n) {
4457
4457
  }
4458
4458
  return X([r, s, i, o], A, {
4459
4459
  flush: "sync"
4460
- }), X([c, d], P, {
4460
+ }), X([c, d], x, {
4461
4461
  flush: "sync"
4462
4462
  }), X(o, w, {
4463
4463
  flush: "sync"
@@ -4632,12 +4632,12 @@ const gn = /* @__PURE__ */ E((e, {
4632
4632
  onPopperMount: f,
4633
4633
  manager: g
4634
4634
  } = dp(C(() => e.delay), o), p = C(() => (h.value || e.forceOpen) && !!e.label), b = C(() => !!e.label && (p.value || i.value === "hide")), v = C(() => !p.value && i.value === "hide");
4635
- return ln(C(() => p.value ? () => g.value?.close() : void 0)), xh(), () => {
4635
+ return ln(C(() => p.value ? () => g.value?.close() : void 0)), Ph(), () => {
4636
4636
  let y;
4637
4637
  const A = u.value ?? s.value, N = hp({
4638
4638
  slotContent: t.default?.(),
4639
- setAnchorElement: (P) => {
4640
- o.value = P?.$el || P;
4639
+ setAnchorElement: (x) => {
4640
+ o.value = x?.$el || x;
4641
4641
  },
4642
4642
  isMounted: b.value,
4643
4643
  id: n,
@@ -4645,8 +4645,8 @@ const gn = /* @__PURE__ */ E((e, {
4645
4645
  ariaLinkMode: l.value
4646
4646
  });
4647
4647
  return m(ne, null, [N, b.value && m(tn, null, mp(y = Dr({
4648
- ref: (P) => {
4649
- const w = P?.$el || P;
4648
+ ref: (x) => {
4649
+ const w = x?.$el || x;
4650
4650
  r.value = w, f(w);
4651
4651
  },
4652
4652
  id: n,
@@ -4746,7 +4746,7 @@ const yN = /* @__PURE__ */ E((e, {
4746
4746
  function bp(e) {
4747
4747
  je(pu, e);
4748
4748
  }
4749
- function xe() {
4749
+ function Pe() {
4750
4750
  const e = qe(pu);
4751
4751
  if (!e)
4752
4752
  throw new Error("Combobox sub-components must be used within a Combobox");
@@ -4772,7 +4772,7 @@ function mt(e, t, n = { immediate: !0 }) {
4772
4772
  };
4773
4773
  }
4774
4774
  function ye(e, t) {
4775
- const { handle: n } = xe(), a = R(t);
4775
+ const { handle: n } = Pe(), a = R(t);
4776
4776
  return mt(n, (o) => {
4777
4777
  if (o)
4778
4778
  return o.subscribe(e, (r) => {
@@ -4781,7 +4781,7 @@ function ye(e, t) {
4781
4781
  }), a;
4782
4782
  }
4783
4783
  function Br() {
4784
- const { handle: e } = xe();
4784
+ const { handle: e } = Pe();
4785
4785
  return { isOpen: ye("open", !1), setIsOpen: (a) => e.value?.setIsOpen(a) };
4786
4786
  }
4787
4787
  const yp = /* @__PURE__ */ E((e, {
@@ -4792,7 +4792,7 @@ const yp = /* @__PURE__ */ E((e, {
4792
4792
  anchorRef: r,
4793
4793
  setHandle: s,
4794
4794
  handle: i
4795
- } = xe(), {
4795
+ } = Pe(), {
4796
4796
  isOpen: l
4797
4797
  } = Br(), c = ye("optionsChange", {
4798
4798
  optionsLength: 0
@@ -4946,8 +4946,8 @@ function Np(e, t) {
4946
4946
  }), n.registerTrigger(e), n;
4947
4947
  }
4948
4948
  const gu = "lumx-text-field", vu = `${gu}__input-native`, {
4949
- block: xp
4950
- } = B(vu), Pp = {
4949
+ block: Pp
4950
+ } = B(vu), xp = {
4951
4951
  type: "text"
4952
4952
  }, wp = (e) => {
4953
4953
  const {
@@ -4958,7 +4958,7 @@ const gu = "lumx-text-field", vu = `${gu}__input-native`, {
4958
4958
  handleInput: r,
4959
4959
  handleFocus: s,
4960
4960
  handleBlur: i,
4961
- type: l = Pp.type,
4961
+ type: l = xp.type,
4962
4962
  name: c,
4963
4963
  ref: d,
4964
4964
  ...u
@@ -4971,7 +4971,7 @@ const gu = "lumx-text-field", vu = `${gu}__input-native`, {
4971
4971
  name: c,
4972
4972
  type: l,
4973
4973
  ref: d,
4974
- className: L(t, xp({
4974
+ className: L(t, Pp({
4975
4975
  [`theme-${n}`]: !!n,
4976
4976
  text: !0
4977
4977
  })),
@@ -5215,10 +5215,10 @@ const Vp = (e) => {
5215
5215
  textFieldRef: y,
5216
5216
  helperId: A,
5217
5217
  errorId: N,
5218
- labelId: P,
5218
+ labelId: x,
5219
5219
  theme: w,
5220
5220
  value: k,
5221
- afterElement: x,
5221
+ afterElement: P,
5222
5222
  input: T,
5223
5223
  isFocus: O,
5224
5224
  IconButton: _,
@@ -5245,7 +5245,7 @@ const Vp = (e) => {
5245
5245
  className: ue("header")
5246
5246
  }, [h && Ve({
5247
5247
  ...f,
5248
- id: P,
5248
+ id: x,
5249
5249
  htmlFor: c,
5250
5250
  className: ue("label"),
5251
5251
  isRequired: d,
@@ -5274,7 +5274,7 @@ const Vp = (e) => {
5274
5274
  icon: u ? br : wt,
5275
5275
  size: H.xxs
5276
5276
  }), a && I && !g && m(_, S({
5277
- "aria-describedby": P
5277
+ "aria-describedby": x
5278
5278
  }, a, {
5279
5279
  className: ue("input-clear"),
5280
5280
  icon: Nd,
@@ -5282,9 +5282,9 @@ const Vp = (e) => {
5282
5282
  size: H.s,
5283
5283
  theme: w,
5284
5284
  type: "button"
5285
- }), null), x && m("div", {
5285
+ }), null), P && m("div", {
5286
5286
  className: ue("after-element")
5287
- }, [x])]), s && o && Oe({
5287
+ }, [P])]), s && o && Oe({
5288
5288
  children: o,
5289
5289
  className: ue("helper"),
5290
5290
  kind: ie.error,
@@ -5338,11 +5338,11 @@ const Vp = (e) => {
5338
5338
  const y = e.theme || o.value, {
5339
5339
  helperId: A,
5340
5340
  errorId: N,
5341
- describedById: P,
5341
+ describedById: x,
5342
5342
  labelId: w
5343
5343
  } = h.value, {
5344
5344
  class: k,
5345
- className: x,
5345
+ className: P,
5346
5346
  "aria-describedby": T,
5347
5347
  disabled: O,
5348
5348
  isDisabled: _,
@@ -5362,7 +5362,7 @@ const Vp = (e) => {
5362
5362
  placeholder: e.placeholder,
5363
5363
  theme: y,
5364
5364
  "aria-invalid": e.hasError || void 0,
5365
- "aria-describedby": P,
5365
+ "aria-describedby": x,
5366
5366
  ...d.value,
5367
5367
  readOnly: !!Y.readOnly || !!d.value["aria-disabled"],
5368
5368
  onChange: f,
@@ -5425,7 +5425,7 @@ const Vp = (e) => {
5425
5425
  anchorRef: r,
5426
5426
  setHandle: s,
5427
5427
  handle: i
5428
- } = xe(), {
5428
+ } = Pe(), {
5429
5429
  isOpen: l,
5430
5430
  setIsOpen: c
5431
5431
  } = Br(), d = R(null);
@@ -5459,12 +5459,12 @@ const Vp = (e) => {
5459
5459
  selectionMode: y,
5460
5460
  class: A,
5461
5461
  ...N
5462
- } = e, P = {
5463
- onChange: (x, T, O) => t("change", x, T, O),
5464
- onInput: (x) => t("change", x),
5465
- onFocus: (x) => t("focus", x),
5466
- onBlur: (x) => t("blur", x),
5467
- onClear: (x) => t("clear", x)
5462
+ } = e, x = {
5463
+ onChange: (P, T, O) => t("change", P, T, O),
5464
+ onInput: (P) => t("change", P),
5465
+ onFocus: (P) => t("focus", P),
5466
+ onBlur: (P) => t("blur", P),
5467
+ onClear: (P) => t("clear", P)
5468
5468
  }, {
5469
5469
  ariaDisabled: w,
5470
5470
  ...k
@@ -5473,15 +5473,15 @@ const Vp = (e) => {
5473
5473
  ...n,
5474
5474
  ...k,
5475
5475
  "aria-disabled": w ?? n.ariaDisabled,
5476
- ...P,
5476
+ ...x,
5477
5477
  listboxId: o,
5478
5478
  isOpen: l.value && (!!u.value?.optionsLength || h.value),
5479
5479
  filter: b,
5480
- textFieldRef: (x) => {
5481
- r.value = x, e.textFieldRef?.(x);
5480
+ textFieldRef: (P) => {
5481
+ r.value = P, e.textFieldRef?.(P);
5482
5482
  },
5483
- inputRef: (x) => {
5484
- d.value = x, e.inputRef?.(x);
5483
+ inputRef: (P) => {
5484
+ d.value = P, e.inputRef?.(P);
5485
5485
  },
5486
5486
  toggleButtonProps: g,
5487
5487
  handleToggle: f,
@@ -5548,12 +5548,12 @@ const Zp = "lumx-combobox-list", Jp = (e) => {
5548
5548
  "aria-busy": n || void 0,
5549
5549
  children: a
5550
5550
  });
5551
- }, xu = /* @__PURE__ */ Symbol("combobox-list-context"), Qp = { type: "listbox" };
5551
+ }, Pu = /* @__PURE__ */ Symbol("combobox-list-context"), Qp = { type: "listbox" };
5552
5552
  function eg(e) {
5553
- je(xu, e);
5553
+ je(Pu, e);
5554
5554
  }
5555
5555
  function tg() {
5556
- return qe(xu, Qp);
5556
+ return qe(Pu, Qp);
5557
5557
  }
5558
5558
  const ng = /* @__PURE__ */ E((e, {
5559
5559
  slots: t
@@ -5561,7 +5561,7 @@ const ng = /* @__PURE__ */ E((e, {
5561
5561
  const n = D(), a = M(() => e.class), {
5562
5562
  listboxId: o,
5563
5563
  handle: r
5564
- } = xe(), s = R(null);
5564
+ } = Pe(), s = R(null);
5565
5565
  eg({
5566
5566
  type: e.type || "listbox"
5567
5567
  }), mt([r, s], ([d, u]) => {
@@ -5593,10 +5593,10 @@ const ng = /* @__PURE__ */ E((e, {
5593
5593
  // hyphenated prop names to camelCase (ariaLabel) internally, making it inaccessible
5594
5594
  // via props['aria-label']. Instead, we read it from attrs where Vue keeps the original name.
5595
5595
  props: $()("type", "class")
5596
- }), ag = "ListItem", Pu = "lumx-list-item", {
5596
+ }), ag = "ListItem", xu = "lumx-list-item", {
5597
5597
  block: og,
5598
5598
  element: jt
5599
- } = B(Pu), wu = {
5599
+ } = B(xu), wu = {
5600
5600
  size: H.regular
5601
5601
  }, tt = (e) => {
5602
5602
  const {
@@ -5644,7 +5644,7 @@ const ng = /* @__PURE__ */ E((e, {
5644
5644
  })]);
5645
5645
  };
5646
5646
  tt.displayName = ag;
5647
- tt.className = Pu;
5647
+ tt.className = xu;
5648
5648
  tt.defaultProps = wu;
5649
5649
  const Fr = (e) => {
5650
5650
  const {
@@ -5695,7 +5695,7 @@ const sg = "lumx-combobox-option", {
5695
5695
  } = e;
5696
5696
  let A, N;
5697
5697
  l || (A = u ? "gridcell" : "option", N = u ? "row" : "none");
5698
- const P = Fr({
5698
+ const x = Fr({
5699
5699
  as: "button",
5700
5700
  ...g,
5701
5701
  id: c,
@@ -5707,9 +5707,9 @@ const sg = "lumx-combobox-option", {
5707
5707
  "aria-disabled": d ? "true" : void 0,
5708
5708
  role: A,
5709
5709
  children: o
5710
- }), w = t && b && !l ? m(t, b, rg(P) ? P : {
5711
- default: () => [P]
5712
- }) : P;
5710
+ }), w = t && b && !l ? m(t, b, rg(x) ? x : {
5711
+ default: () => [x]
5712
+ }) : x;
5713
5713
  return tt({
5714
5714
  ref: p,
5715
5715
  size: "tiny",
@@ -5747,7 +5747,7 @@ const dg = {
5747
5747
  type: r
5748
5748
  } = tg(), {
5749
5749
  handle: s
5750
- } = xe(), i = r === "grid", l = re(), c = re(), d = R(null), u = R(!1);
5750
+ } = Pe(), i = r === "grid", l = re(), c = re(), d = R(null), u = R(!1);
5751
5751
  cg({
5752
5752
  optionId: l
5753
5753
  }), mt([s, d], ([p, b]) => {
@@ -5867,7 +5867,7 @@ const gg = "lumx-combobox-option-more-info", {
5867
5867
  } = e;
5868
5868
  return m(ne, null, [m(t, S({
5869
5869
  ref: i,
5870
- icon: xd,
5870
+ icon: Pd,
5871
5871
  size: "s"
5872
5872
  }, d, {
5873
5873
  className: vg([o, d?.className]),
@@ -5908,13 +5908,13 @@ const gg = "lumx-combobox-option-more-info", {
5908
5908
  }, Sg = {
5909
5909
  MIN_WIDTH: "minWidth"
5910
5910
  }, qa = 14, Ng = 9999;
5911
- function xg(e) {
5911
+ function Pg(e) {
5912
5912
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !K(e);
5913
5913
  }
5914
- const Pg = "lumx-popover", {
5914
+ const xg = "lumx-popover", {
5915
5915
  block: wg,
5916
5916
  element: Cg
5917
- } = B(Pg), Wt = {
5917
+ } = B(xg), Wt = {
5918
5918
  closeMode: "unmount",
5919
5919
  elevation: 3,
5920
5920
  placement: Ag.AUTO,
@@ -5944,12 +5944,12 @@ const Pg = "lumx-popover", {
5944
5944
  clickAwayRefs: A,
5945
5945
  unmountSentinel: N,
5946
5946
  // Forwarded props
5947
- ...P
5948
- } = e, w = !d && i === "hide", k = d || i === "hide", x = o, T = Math.min(l || 0, 5);
5947
+ ...x
5948
+ } = e, w = !d && i === "hide", k = d || i === "hide", P = o, T = Math.min(l || 0, 5);
5949
5949
  return k ? m(t, {
5950
5950
  enabled: v
5951
5951
  }, {
5952
- default: () => [m(x, S(P, {
5952
+ default: () => [m(P, S(x, {
5953
5953
  ref: p,
5954
5954
  className: L(s, wg({
5955
5955
  [`theme-${g}`]: !!g,
@@ -5976,7 +5976,7 @@ const Pg = "lumx-popover", {
5976
5976
  d: "M8 3.49C7.62 2.82 6.66 2.82 6.27 3.48L.04 14 14.04 14 8 3.49Z"
5977
5977
  }, null)])]), m(a, {
5978
5978
  value: g
5979
- }, xg(r) ? r : {
5979
+ }, Pg(r) ? r : {
5980
5980
  default: () => [r]
5981
5981
  })]
5982
5982
  })]
@@ -6012,16 +6012,16 @@ function Ig(e) {
6012
6012
  boundary: u,
6013
6013
  parsedPlacement: h,
6014
6014
  arrowElement: f
6015
- } = e, g = ot(r), p = ot(s), b = ot(i), v = ot(l), y = ot(c), A = ot(d), N = [], P = (t?.away ?? 0) + (n ? qa : 0), w = t?.along ?? 0;
6016
- return N.push(lu({ mainAxis: P, crossAxis: w })), h.isAuto ? N.push(
6015
+ } = e, g = ot(r), p = ot(s), b = ot(i), v = ot(l), y = ot(c), A = ot(d), N = [], x = (t?.away ?? 0) + (n ? qa : 0), w = t?.along ?? 0;
6016
+ return N.push(lu({ mainAxis: x, crossAxis: w })), h.isAuto ? N.push(
6017
6017
  Jm({ ...u ? { boundary: u } : {}, alignment: h.autoAlignment })
6018
6018
  ) : (N.push(ep(u ? { boundary: u } : {})), N.push(Qm(u ? { boundary: u } : {}))), (a || o || g || p || b || v || y || A) && N.push(
6019
6019
  tp({
6020
6020
  ...u ? { boundary: u } : {},
6021
- apply({ availableHeight: x, rects: T, elements: O }) {
6021
+ apply({ availableHeight: P, rects: T, elements: O }) {
6022
6022
  const _ = `${T.reference.width}px`;
6023
6023
  O.floating.style.width = g || (a === "width" ? _ : ""), O.floating.style.minWidth = _g(p, a === "minWidth" ? _ : ""), O.floating.style.maxWidth = Li(b, a === "maxWidth" ? _ : ""), O.floating.style.height = v || "", O.floating.style.minHeight = y || "";
6024
- const q = `${Math.max(0, x - qa)}px`;
6024
+ const q = `${Math.max(0, P - qa)}px`;
6025
6025
  O.floating.style.maxHeight = Li(
6026
6026
  A,
6027
6027
  o ? q : ""
@@ -6095,7 +6095,7 @@ const Rg = {
6095
6095
  slots: n,
6096
6096
  attrs: a
6097
6097
  }) => {
6098
- const o = M(() => e.class), r = C(() => Pt(e.anchorRef)), s = Q(e, "focusElement"), {
6098
+ const o = M(() => e.class), r = C(() => xt(e.anchorRef)), s = Q(e, "focusElement"), {
6099
6099
  styles: i,
6100
6100
  isPositioned: l,
6101
6101
  position: c,
@@ -6103,7 +6103,7 @@ const Rg = {
6103
6103
  arrowRef: u
6104
6104
  } = $g({
6105
6105
  anchorRef: r,
6106
- boundaryRef: C(() => Pt(e.boundaryRef)),
6106
+ boundaryRef: C(() => xt(e.boundaryRef)),
6107
6107
  offset: Q(e, "offset"),
6108
6108
  hasArrow: Q(e, "hasArrow"),
6109
6109
  fitToAnchorWidth: Q(e, "fitToAnchorWidth"),
@@ -6287,7 +6287,7 @@ const ku = /* @__PURE__ */ E((e, {
6287
6287
  }) => {
6288
6288
  const a = M(() => e.class), {
6289
6289
  handle: o
6290
- } = xe();
6290
+ } = Pe();
6291
6291
  return mt(o, (r) => r?.registerSkeleton()), () => {
6292
6292
  const r = n.before, s = n.after, i = t.default?.();
6293
6293
  return Hg({
@@ -6417,7 +6417,7 @@ const yn = /* @__PURE__ */ E((e, {
6417
6417
  }) => {
6418
6418
  const n = M(() => e.class), {
6419
6419
  anchorRef: a
6420
- } = xe(), {
6420
+ } = Pe(), {
6421
6421
  isOpen: o,
6422
6422
  setIsOpen: r
6423
6423
  } = Br(), s = C(() => a.value ?? void 0);
@@ -6659,7 +6659,7 @@ const mv = /* @__PURE__ */ E((e, {
6659
6659
  }) => {
6660
6660
  const n = M(() => e.class), {
6661
6661
  handle: a
6662
- } = xe(), o = R(null), r = ic({
6662
+ } = Pe(), o = R(null), r = ic({
6663
6663
  hidden: !1,
6664
6664
  "aria-hidden": !1
6665
6665
  });
@@ -6813,7 +6813,7 @@ const Av = "lumx-generic-block", {
6813
6813
  default: () => [r]
6814
6814
  })]
6815
6815
  });
6816
- }, xv = /* @__PURE__ */ E((e, {
6816
+ }, Pv = /* @__PURE__ */ E((e, {
6817
6817
  slots: t
6818
6818
  }) => {
6819
6819
  const n = D(), a = M(() => e.class);
@@ -6861,7 +6861,7 @@ function Nn() {
6861
6861
  return Va = a, Va;
6862
6862
  }
6863
6863
  var Wa, Di;
6864
- function Pv() {
6864
+ function xv() {
6865
6865
  if (Di) return Wa;
6866
6866
  Di = 1;
6867
6867
  var e = Je(), t = Nn(), n = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, a = /^\w*$/;
@@ -6874,7 +6874,7 @@ function Pv() {
6874
6874
  return Wa = o, Wa;
6875
6875
  }
6876
6876
  var Ua, Bi;
6877
- function xn() {
6877
+ function Pn() {
6878
6878
  if (Bi) return Ua;
6879
6879
  Bi = 1;
6880
6880
  var e = Ze(), t = e(Object, "create");
@@ -6884,7 +6884,7 @@ var Ga, Fi;
6884
6884
  function wv() {
6885
6885
  if (Fi) return Ga;
6886
6886
  Fi = 1;
6887
- var e = xn();
6887
+ var e = Pn();
6888
6888
  function t() {
6889
6889
  this.__data__ = e ? e(null) : {}, this.size = 0;
6890
6890
  }
@@ -6904,7 +6904,7 @@ var Xa, ji;
6904
6904
  function Ov() {
6905
6905
  if (ji) return Xa;
6906
6906
  ji = 1;
6907
- var e = xn(), t = "__lodash_hash_undefined__", n = Object.prototype, a = n.hasOwnProperty;
6907
+ var e = Pn(), t = "__lodash_hash_undefined__", n = Object.prototype, a = n.hasOwnProperty;
6908
6908
  function o(r) {
6909
6909
  var s = this.__data__;
6910
6910
  if (e) {
@@ -6919,7 +6919,7 @@ var Ya, Hi;
6919
6919
  function kv() {
6920
6920
  if (Hi) return Ya;
6921
6921
  Hi = 1;
6922
- var e = xn(), t = Object.prototype, n = t.hasOwnProperty;
6922
+ var e = Pn(), t = Object.prototype, n = t.hasOwnProperty;
6923
6923
  function a(o) {
6924
6924
  var r = this.__data__;
6925
6925
  return e ? r[o] !== void 0 : n.call(r, o);
@@ -6930,7 +6930,7 @@ var Za, zi;
6930
6930
  function Tv() {
6931
6931
  if (zi) return Za;
6932
6932
  zi = 1;
6933
- var e = xn(), t = "__lodash_hash_undefined__";
6933
+ var e = Pn(), t = "__lodash_hash_undefined__";
6934
6934
  function n(a, o) {
6935
6935
  var r = this.__data__;
6936
6936
  return this.size += this.has(a) ? 0 : 1, r[a] = e && o === void 0 ? t : o, this;
@@ -6970,7 +6970,7 @@ function $u() {
6970
6970
  return eo = e, eo;
6971
6971
  }
6972
6972
  var to, Gi;
6973
- function Pn() {
6973
+ function xn() {
6974
6974
  if (Gi) return to;
6975
6975
  Gi = 1;
6976
6976
  var e = $u();
@@ -6986,7 +6986,7 @@ var no, Ki;
6986
6986
  function Lv() {
6987
6987
  if (Ki) return no;
6988
6988
  Ki = 1;
6989
- var e = Pn(), t = Array.prototype, n = t.splice;
6989
+ var e = xn(), t = Array.prototype, n = t.splice;
6990
6990
  function a(o) {
6991
6991
  var r = this.__data__, s = e(r, o);
6992
6992
  if (s < 0)
@@ -7000,7 +7000,7 @@ var ao, Xi;
7000
7000
  function Ev() {
7001
7001
  if (Xi) return ao;
7002
7002
  Xi = 1;
7003
- var e = Pn();
7003
+ var e = xn();
7004
7004
  function t(n) {
7005
7005
  var a = this.__data__, o = e(a, n);
7006
7006
  return o < 0 ? void 0 : a[o][1];
@@ -7011,7 +7011,7 @@ var oo, Yi;
7011
7011
  function $v() {
7012
7012
  if (Yi) return oo;
7013
7013
  Yi = 1;
7014
- var e = Pn();
7014
+ var e = xn();
7015
7015
  function t(n) {
7016
7016
  return e(this.__data__, n) > -1;
7017
7017
  }
@@ -7021,7 +7021,7 @@ var ro, Zi;
7021
7021
  function Mv() {
7022
7022
  if (Zi) return ro;
7023
7023
  Zi = 1;
7024
- var e = Pn();
7024
+ var e = xn();
7025
7025
  function t(n, a) {
7026
7026
  var o = this.__data__, r = e(o, n);
7027
7027
  return r < 0 ? (++this.size, o.push([n, a])) : o[r][1] = a, this;
@@ -7208,7 +7208,7 @@ var So, fl;
7208
7208
  function Cn() {
7209
7209
  if (fl) return So;
7210
7210
  fl = 1;
7211
- var e = Je(), t = Pv(), n = Uv(), a = Kv();
7211
+ var e = Je(), t = xv(), n = Uv(), a = Kv();
7212
7212
  function o(r, s) {
7213
7213
  return e(r) ? r : t(r, s) ? [r] : n(a(r));
7214
7214
  }
@@ -7227,9 +7227,9 @@ function jr() {
7227
7227
  }
7228
7228
  return No = t, No;
7229
7229
  }
7230
- var xo, ml;
7230
+ var Po, ml;
7231
7231
  function Xv() {
7232
- if (ml) return xo;
7232
+ if (ml) return Po;
7233
7233
  ml = 1;
7234
7234
  var e = Cn(), t = jr();
7235
7235
  function n(a, o) {
@@ -7238,11 +7238,11 @@ function Xv() {
7238
7238
  a = a[t(o[r++])];
7239
7239
  return r && r == s ? a : void 0;
7240
7240
  }
7241
- return xo = n, xo;
7241
+ return Po = n, Po;
7242
7242
  }
7243
- var Po, pl;
7243
+ var xo, pl;
7244
7244
  function Yv() {
7245
- if (pl) return Po;
7245
+ if (pl) return xo;
7246
7246
  pl = 1;
7247
7247
  var e = _c();
7248
7248
  function t(n, a, o) {
@@ -7253,7 +7253,7 @@ function Yv() {
7253
7253
  writable: !0
7254
7254
  }) : n[a] = o;
7255
7255
  }
7256
- return Po = t, Po;
7256
+ return xo = t, xo;
7257
7257
  }
7258
7258
  var wo, gl;
7259
7259
  function Zv() {
@@ -7350,10 +7350,10 @@ function tb() {
7350
7350
  }
7351
7351
  return Io = n, Io;
7352
7352
  }
7353
- var Lo, xl;
7353
+ var Lo, Pl;
7354
7354
  function nb() {
7355
- if (xl) return Lo;
7356
- xl = 1;
7355
+ if (Pl) return Lo;
7356
+ Pl = 1;
7357
7357
  var e = Jv(), t = tb();
7358
7358
  function n(a, o) {
7359
7359
  return e(a, o, function(r, s) {
@@ -7362,10 +7362,10 @@ function nb() {
7362
7362
  }
7363
7363
  return Lo = n, Lo;
7364
7364
  }
7365
- var Eo, Pl;
7365
+ var Eo, xl;
7366
7366
  function ab() {
7367
- if (Pl) return Eo;
7368
- Pl = 1;
7367
+ if (xl) return Eo;
7368
+ xl = 1;
7369
7369
  function e(t, n) {
7370
7370
  for (var a = -1, o = n.length, r = t.length; ++a < o; )
7371
7371
  t[r + a] = n[a];
@@ -7432,7 +7432,7 @@ var cb = lb();
7432
7432
  const ub = /* @__PURE__ */ Te(cb), NN = ub(H, ["tiny", "regular", "medium", "big", "huge"]), db = /* @__PURE__ */ E((e) => {
7433
7433
  const {
7434
7434
  handle: t
7435
- } = xe(), n = ye("optionsChange", void 0), a = R(!1), o = R(!1), r = R(!1);
7435
+ } = Pe(), n = ye("optionsChange", void 0), a = R(!1), o = R(!1), r = R(!1);
7436
7436
  return mt(t, (s) => {
7437
7437
  if (s)
7438
7438
  return yv(s, {
@@ -7460,7 +7460,7 @@ const ub = /* @__PURE__ */ Te(cb), NN = ub(H, ["tiny", "regular", "medium", "big
7460
7460
  loadingMessage: i,
7461
7461
  state: s
7462
7462
  }, {
7463
- GenericBlock: xv,
7463
+ GenericBlock: Pv,
7464
7464
  Text: me
7465
7465
  });
7466
7466
  };
@@ -7516,7 +7516,7 @@ const ub = /* @__PURE__ */ Te(cb), NN = ub(H, ["tiny", "regular", "medium", "big
7516
7516
  On.displayName = fb;
7517
7517
  On.className = Bu;
7518
7518
  On.defaultProps = Fu;
7519
- const xN = /* @__PURE__ */ E((e, {
7519
+ const PN = /* @__PURE__ */ E((e, {
7520
7520
  slots: t
7521
7521
  }) => {
7522
7522
  const n = D(), a = M(() => e.class);
@@ -7547,7 +7547,7 @@ const xN = /* @__PURE__ */ E((e, {
7547
7547
  }), [n, t && m("div", {
7548
7548
  className: gb("badge")
7549
7549
  }, [t])]);
7550
- }, PN = /* @__PURE__ */ E((e, {
7550
+ }, xN = /* @__PURE__ */ E((e, {
7551
7551
  slots: t
7552
7552
  }) => {
7553
7553
  const n = D(), a = M(() => e.class);
@@ -7674,9 +7674,9 @@ const xN = /* @__PURE__ */ E((e, {
7674
7674
  }), kt = "lumx-chip", {
7675
7675
  block: Nb,
7676
7676
  element: Fo
7677
- } = B(kt), xb = {
7677
+ } = B(kt), Pb = {
7678
7678
  size: H.m
7679
- }, Pb = (e) => {
7679
+ }, xb = (e) => {
7680
7680
  const {
7681
7681
  after: t,
7682
7682
  before: n,
@@ -7692,16 +7692,16 @@ const xN = /* @__PURE__ */ E((e, {
7692
7692
  hasAfterClick: h,
7693
7693
  hasBeforeClick: f,
7694
7694
  hasOnClick: g,
7695
- size: p = xb.size,
7695
+ size: p = Pb.size,
7696
7696
  theme: b,
7697
7697
  ref: v,
7698
7698
  href: y,
7699
7699
  handleKeyDown: A,
7700
7700
  disabledStateProps: N,
7701
- isAnyDisabled: P,
7701
+ isAnyDisabled: x,
7702
7702
  keyDownProp: w = "onKeyDown",
7703
7703
  tabIndexProp: k = "tabIndex",
7704
- ...x
7704
+ ...P
7705
7705
  } = e, T = g && !y, O = !!g || !!y || s, _ = r || (b === he.light ? G.dark : G.light), q = (I) => {
7706
7706
  A?.(I), g && u && Hd(u)(I);
7707
7707
  }, j = {
@@ -7712,13 +7712,13 @@ const xN = /* @__PURE__ */ E((e, {
7712
7712
  // eslint-disable-next-line jsx-a11y/no-static-element-interactions
7713
7713
  m("a", S({
7714
7714
  role: T ? "button" : void 0
7715
- }, j, x, {
7715
+ }, j, P, {
7716
7716
  href: N.disabled ? void 0 : y,
7717
7717
  ref: v,
7718
7718
  className: L(o, Nb({
7719
7719
  "is-clickable": O,
7720
7720
  [`color-${_}`]: !!_,
7721
- "is-disabled": P,
7721
+ "is-disabled": x,
7722
7722
  "has-after": !!t,
7723
7723
  "has-before": !!n,
7724
7724
  "is-highlighted": !!i,
@@ -7726,7 +7726,7 @@ const xN = /* @__PURE__ */ E((e, {
7726
7726
  [`size-${p}`]: !!p,
7727
7727
  "is-unselected": !l
7728
7728
  })),
7729
- "aria-disabled": O && P || void 0,
7729
+ "aria-disabled": O && x || void 0,
7730
7730
  onClick: g ? u : void 0
7731
7731
  }), [n && // eslint-disable-next-line jsx-a11y/click-events-have-key-events,jsx-a11y/no-static-element-interactions
7732
7732
  m("div", {
@@ -7768,7 +7768,7 @@ const xN = /* @__PURE__ */ E((e, {
7768
7768
  }, p = (b) => {
7769
7769
  c.value || t("keydown", b);
7770
7770
  };
7771
- return () => m(Pb, S(u.value, {
7771
+ return () => m(xb, S(u.value, {
7772
7772
  className: r.value,
7773
7773
  theme: e.theme || o.value,
7774
7774
  handleClick: h,
@@ -7851,19 +7851,19 @@ const _b = "lumx-selection-chip-group", {
7851
7851
  "aria-orientation": "horizontal",
7852
7852
  className: Ib([g])
7853
7853
  }), Tb(s = i.map((y) => {
7854
- const A = c && se(c, y) || se(l, y), N = se(l, y), P = p?.(y) || {}, w = P.isDisabled || h, k = typeof P.children == "string" ? P.children : A, x = u ? `${k} - ${u}` : k;
7854
+ const A = c && se(c, y) || se(l, y), N = se(l, y), x = p?.(y) || {}, w = x.isDisabled || h, k = typeof x.children == "string" ? x.children : A, P = u ? `${k} - ${u}` : k;
7855
7855
  return m(r, {
7856
7856
  key: N,
7857
- label: w ? void 0 : x
7857
+ label: w ? void 0 : P
7858
7858
  }, {
7859
7859
  default: () => [m(t, S({
7860
- "aria-label": x
7861
- }, P, {
7860
+ "aria-label": P
7861
+ }, x, {
7862
7862
  size: "s",
7863
7863
  after: m(a, {
7864
7864
  icon: yr
7865
7865
  }, null),
7866
- className: Lb("chip", [P.className]),
7866
+ className: Lb("chip", [x.className]),
7867
7867
  "data-option-id": N,
7868
7868
  isClickable: !0,
7869
7869
  role: "option",
@@ -7875,7 +7875,7 @@ const _b = "lumx-selection-chip-group", {
7875
7875
  as: "span",
7876
7876
  truncate: !0
7877
7877
  }, {
7878
- default: () => [P.children || A]
7878
+ default: () => [x.children || A]
7879
7879
  })]
7880
7880
  })]
7881
7881
  });
@@ -8043,10 +8043,10 @@ const Hu = (e) => (t) => K(t) && t.type === e, Rb = {
8043
8043
  HeadingLevelProvider: y,
8044
8044
  ThemeProvider: A,
8045
8045
  ClickAwayProvider: N,
8046
- childrenRef: P,
8046
+ childrenRef: x,
8047
8047
  clickAwayRefs: w,
8048
8048
  closeButtonRef: k,
8049
- IconButton: x,
8049
+ IconButton: P,
8050
8050
  ...T
8051
8051
  } = e;
8052
8052
  return !l && !p ? null : m(v, null, {
@@ -8068,7 +8068,7 @@ const Hu = (e) => (t) => K(t) && t.type === e, Rb = {
8068
8068
  }
8069
8069
  }), [i && m("div", {
8070
8070
  className: El("close")
8071
- }, [m(x, S(i, {
8071
+ }, [m(P, S(i, {
8072
8072
  ref: k,
8073
8073
  emphasis: "low",
8074
8074
  hasBackground: !0,
@@ -8087,7 +8087,7 @@ const Hu = (e) => (t) => K(t) && t.type === e, Rb = {
8087
8087
  childrenRefs: w
8088
8088
  }, {
8089
8089
  default: () => [m("div", {
8090
- ref: P,
8090
+ ref: x,
8091
8091
  className: El("wrapper"),
8092
8092
  role: "presentation"
8093
8093
  }, [r])]
@@ -8221,12 +8221,12 @@ const Hu = (e) => (t) => K(t) && t.type === e, Rb = {
8221
8221
  isChildrenVisible: y,
8222
8222
  IconButton: A,
8223
8223
  footer: N,
8224
- closeMode: P,
8224
+ closeMode: x,
8225
8225
  ...w
8226
8226
  } = e, k = (O) => {
8227
8227
  const _ = !s;
8228
8228
  c && _ && c(O), l && !_ && l(O), d && d(_, O);
8229
- }, x = u === he.dark ? G.light : G.dark, T = L(t, Xb({
8229
+ }, P = u === he.dark ? G.light : G.dark, T = L(t, Xb({
8230
8230
  "has-background": a,
8231
8231
  "has-header": !Kt(f.children),
8232
8232
  "has-header-divider": r,
@@ -8249,7 +8249,7 @@ const Hu = (e) => (t) => K(t) && t.type === e, Rb = {
8249
8249
  }), [g]), m("div", {
8250
8250
  className: we("header-toggle")
8251
8251
  }, [m(A, S(h, {
8252
- color: x,
8252
+ color: P,
8253
8253
  emphasis: ve.low,
8254
8254
  icon: s ? dc : fc,
8255
8255
  "aria-expanded": s || "false"
@@ -8516,7 +8516,7 @@ const IN = /* @__PURE__ */ E((e, {
8516
8516
  }, LN = /* @__PURE__ */ E((e, {
8517
8517
  slots: t
8518
8518
  }) => {
8519
- const n = D(), a = Pc(), o = M(() => e.class), r = C(() => {
8519
+ const n = D(), a = xc(), o = M(() => e.class), r = C(() => {
8520
8520
  const {
8521
8521
  className: s,
8522
8522
  ...i
@@ -8731,8 +8731,8 @@ const yy = "lumx-link-preview", {
8731
8731
  inheritAttrs: !1,
8732
8732
  props: $()("class", "description", "link", "linkAs", "linkProps", "size", "theme", "thumbnailProps", "title", "titleHeading")
8733
8733
  }), Ny = "lumx-menu-item", {
8734
- block: xy,
8735
- element: Py
8734
+ block: Py,
8735
+ element: xy
8736
8736
  } = B(Ny), wy = (e) => {
8737
8737
  const {
8738
8738
  children: t,
@@ -8750,7 +8750,7 @@ const yy = "lumx-link-preview", {
8750
8750
  type: "button",
8751
8751
  ...i,
8752
8752
  ref: l,
8753
- className: Py("action"),
8753
+ className: xy("action"),
8754
8754
  handleClick: s,
8755
8755
  "data-menu-item": "",
8756
8756
  "aria-disabled": r ? "true" : void 0,
@@ -8760,7 +8760,7 @@ const yy = "lumx-link-preview", {
8760
8760
  ref: c,
8761
8761
  size: "tiny",
8762
8762
  ...d,
8763
- className: L(n, xy()),
8763
+ className: L(n, Py()),
8764
8764
  before: a,
8765
8765
  after: o,
8766
8766
  children: u
@@ -9681,10 +9681,10 @@ const zN = /* @__PURE__ */ E((e, {
9681
9681
  squared: "squared",
9682
9682
  rounded: "rounded",
9683
9683
  pill: "pill"
9684
- }, xA = "lumx-skeleton-rectangle", {
9685
- block: PA,
9684
+ }, PA = "lumx-skeleton-rectangle", {
9685
+ block: xA,
9686
9686
  element: wA
9687
- } = B(xA), CA = {
9687
+ } = B(PA), CA = {
9688
9688
  variant: NA.squared
9689
9689
  }, OA = (e) => {
9690
9690
  const {
@@ -9701,7 +9701,7 @@ const zN = /* @__PURE__ */ E((e, {
9701
9701
  return m("div", S({
9702
9702
  ref: l
9703
9703
  }, c, {
9704
- className: L(n, PA({
9704
+ className: L(n, xA({
9705
9705
  [`aspect-ratio-${t}`]: !!t,
9706
9706
  [`height-${a}`]: !!(!t && a),
9707
9707
  [`theme-${o}`]: !!o,
@@ -10363,7 +10363,7 @@ const YN = /* @__PURE__ */ E((e, {
10363
10363
  }, o, {
10364
10364
  className: L(n, JA)
10365
10365
  }), [t]);
10366
- }, ex = /* @__PURE__ */ E((e, {
10366
+ }, eP = /* @__PURE__ */ E((e, {
10367
10367
  slots: t
10368
10368
  }) => {
10369
10369
  const n = D(), a = M(() => e.class);
@@ -10400,7 +10400,7 @@ const YN = /* @__PURE__ */ E((e, {
10400
10400
  "is-selected": o && !c
10401
10401
  }))
10402
10402
  }), [t]);
10403
- }, tx = /* @__PURE__ */ E((e, {
10403
+ }, tP = /* @__PURE__ */ E((e, {
10404
10404
  slots: t
10405
10405
  }) => {
10406
10406
  const n = D(), a = M(() => e.class), {
@@ -10448,17 +10448,17 @@ const oS = `${Qu}__link`, {
10448
10448
  Icon: y,
10449
10449
  Text: A,
10450
10450
  ref: N,
10451
- ...P
10451
+ ...x
10452
10452
  } = e, w = () => {
10453
10453
  o || g?.();
10454
10454
  }, k = (T) => {
10455
10455
  c?.(T), b && w();
10456
- }, x = (T) => {
10456
+ }, P = (T) => {
10457
10457
  d?.(T), !(T.key !== "Enter" || o) && w();
10458
10458
  };
10459
10459
  return m("button", S({
10460
10460
  ref: N
10461
- }, P, {
10461
+ }, x, {
10462
10462
  type: "button",
10463
10463
  id: v,
10464
10464
  className: L(t, rS({
@@ -10467,7 +10467,7 @@ const oS = `${Qu}__link`, {
10467
10467
  })),
10468
10468
  onClick: w
10469
10469
  }, {
10470
- [f]: x
10470
+ [f]: P
10471
10471
  }, {
10472
10472
  onFocus: k,
10473
10473
  role: "tab"
@@ -10486,7 +10486,7 @@ const oS = `${Qu}__link`, {
10486
10486
  }, aS(l) ? l : {
10487
10487
  default: () => [l]
10488
10488
  })]);
10489
- }, xt = {
10489
+ }, Pt = {
10490
10490
  isLazy: !0,
10491
10491
  shouldActivateOnFocus: !1,
10492
10492
  activeTabIndex: 0,
@@ -10539,7 +10539,7 @@ const oS = `${Qu}__link`, {
10539
10539
  focus: (e) => !0,
10540
10540
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
10541
10541
  keypress: (e) => !0
10542
- }, nx = /* @__PURE__ */ E((e, {
10542
+ }, nP = /* @__PURE__ */ E((e, {
10543
10543
  emit: t
10544
10544
  }) => {
10545
10545
  const n = D(), a = M(() => e.class), {
@@ -10607,7 +10607,7 @@ const Yl = {
10607
10607
  role: "tablist",
10608
10608
  "aria-label": t
10609
10609
  }, [n])]);
10610
- }, ax = /* @__PURE__ */ E((e) => {
10610
+ }, aP = /* @__PURE__ */ E((e) => {
10611
10611
  const t = D(), n = ke(), a = U(), o = M(() => e.class), r = R(null);
10612
10612
  return ju({
10613
10613
  containerRef: r,
@@ -10652,7 +10652,7 @@ const Yl = {
10652
10652
  }, {
10653
10653
  "aria-labelledby": r
10654
10654
  }), [(!s || a) && t]);
10655
- }, ox = /* @__PURE__ */ E((e) => {
10655
+ }, oP = /* @__PURE__ */ E((e) => {
10656
10656
  const t = D(), n = ke(), a = M(() => e.class), o = td("tabPanel", e.id), r = C(() => e.isActive || o.value?.isActive);
10657
10657
  return () => m(pS, S(t, {
10658
10658
  className: a.value,
@@ -10668,18 +10668,18 @@ const Yl = {
10668
10668
  inheritAttrs: !1,
10669
10669
  props: $()("isActive", "id", "class")
10670
10670
  }), Zl = {
10671
- isLazy: xt.isLazy,
10672
- shouldActivateOnFocus: xt.shouldActivateOnFocus
10671
+ isLazy: Pt.isLazy,
10672
+ shouldActivateOnFocus: Pt.shouldActivateOnFocus
10673
10673
  }, gS = {
10674
10674
  change: (e) => typeof e == "number"
10675
- }, rx = /* @__PURE__ */ E((e, {
10675
+ }, rP = /* @__PURE__ */ E((e, {
10676
10676
  emit: t,
10677
10677
  slots: n
10678
10678
  }) => {
10679
10679
  const a = R({
10680
- ...xt,
10681
- isLazy: e.isLazy ?? xt.isLazy,
10682
- shouldActivateOnFocus: e.shouldActivateOnFocus ?? xt.shouldActivateOnFocus,
10680
+ ...Pt,
10681
+ isLazy: e.isLazy ?? Pt.isLazy,
10682
+ shouldActivateOnFocus: e.shouldActivateOnFocus ?? Pt.shouldActivateOnFocus,
10683
10683
  ...e.activeTabIndex !== void 0 ? {
10684
10684
  activeTabIndex: e.activeTabIndex
10685
10685
  } : {}
@@ -10746,7 +10746,7 @@ const SS = "lumx-user-block", {
10746
10746
  }) => {
10747
10747
  const a = !!(t?.href || e);
10748
10748
  return !!n || a;
10749
- }, xS = (e) => {
10749
+ }, PS = (e) => {
10750
10750
  const {
10751
10751
  avatarProps: t,
10752
10752
  className: n,
@@ -10768,10 +10768,10 @@ const SS = "lumx-user-block", {
10768
10768
  theme: y,
10769
10769
  children: A,
10770
10770
  additionalFields: N,
10771
- after: P,
10771
+ after: x,
10772
10772
  Text: w,
10773
10773
  Avatar: k,
10774
- ...x
10774
+ ...P
10775
10775
  } = e;
10776
10776
  let T = v;
10777
10777
  p === ct.vertical && (T = H.l);
@@ -10797,7 +10797,7 @@ const SS = "lumx-user-block", {
10797
10797
  };
10798
10798
  return m("div", S({
10799
10799
  ref: s
10800
- }, x, I, {
10800
+ }, P, I, {
10801
10801
  className: L(n, NS({
10802
10802
  [`orientation-${p}`]: !!p,
10803
10803
  [`size-${T}`]: !!T,
@@ -10819,18 +10819,18 @@ const SS = "lumx-user-block", {
10819
10819
  className: $e("action")
10820
10820
  }, [b]), O && i && m("div", {
10821
10821
  className: $e("actions")
10822
- }, [i]), P ? m("div", {
10822
+ }, [i]), x ? m("div", {
10823
10823
  className: $e("after")
10824
- }, [P]) : null]);
10824
+ }, [x]) : null]);
10825
10825
  };
10826
- function PS(e) {
10826
+ function xS(e) {
10827
10827
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !K(e);
10828
10828
  }
10829
10829
  const wS = {
10830
10830
  click: () => !0,
10831
10831
  mouseenter: () => !0,
10832
10832
  mouseleave: () => !0
10833
- }, sx = /* @__PURE__ */ E((e, {
10833
+ }, sP = /* @__PURE__ */ E((e, {
10834
10834
  emit: t,
10835
10835
  slots: n
10836
10836
  }) => {
@@ -10862,7 +10862,7 @@ const wS = {
10862
10862
  }), {
10863
10863
  default: () => [m(me, {
10864
10864
  as: "span"
10865
- }, PS(g) ? g : {
10865
+ }, xS(g) ? g : {
10866
10866
  default: () => [g]
10867
10867
  })]
10868
10868
  });
@@ -10886,7 +10886,7 @@ const wS = {
10886
10886
  fields: p,
10887
10887
  ...b
10888
10888
  } = e, v = n.default?.() || h.value;
10889
- return m(xS, S(b, a, {
10889
+ return m(PS, S(b, a, {
10890
10890
  linkAs: Ye(g),
10891
10891
  className: r.value,
10892
10892
  theme: e.theme || o.value,
@@ -11023,9 +11023,9 @@ const OS = "SelectButton", kS = "lumx-select-button", TS = {
11023
11023
  listStatus: y = "idle",
11024
11024
  translations: A,
11025
11025
  onOpen: N,
11026
- onLoadMore: P,
11026
+ onLoadMore: x,
11027
11027
  infiniteScrollOptions: w
11028
- } = e, k = y === "loading", x = y === "loadingMore", T = y === "error", O = u === "multiple", _ = d != null ? qr(d).map((q) => ad(q, r, o)).filter(Boolean).join(", ") : "";
11028
+ } = e, k = y === "loading", P = y === "loadingMore", T = y === "error", O = u === "multiple", _ = d != null ? qr(d).map((q) => ad(q, r, o)).filter(Boolean).join(", ") : "";
11029
11029
  return m(t.Provider, {
11030
11030
  onOpen: N
11031
11031
  }, {
@@ -11056,12 +11056,12 @@ const OS = "SelectButton", kS = "lumx-select-button", TS = {
11056
11056
  selected: d
11057
11057
  }, {
11058
11058
  Combobox: t
11059
- }), P && n && m(n, {
11059
+ }), x && n && m(n, {
11060
11060
  callback: () => {
11061
- y && y !== "idle" || P();
11061
+ y && y !== "idle" || x();
11062
11062
  },
11063
11063
  options: w
11064
- }, null), x && m(t.OptionSkeleton, {
11064
+ }, null), P && m(t.OptionSkeleton, {
11065
11065
  count: 1
11066
11066
  }, null)]
11067
11067
  }), m(t.State, {
@@ -11140,7 +11140,7 @@ const LS = {
11140
11140
  "load-more": () => !0,
11141
11141
  /** Dropdown opened or closed. */
11142
11142
  open: (e) => !0
11143
- }, ix = /* @__PURE__ */ E((e, {
11143
+ }, iP = /* @__PURE__ */ E((e, {
11144
11144
  emit: t,
11145
11145
  slots: n,
11146
11146
  attrs: a
@@ -11218,7 +11218,7 @@ const LS = {
11218
11218
  slots: Object,
11219
11219
  props: $()("options", "getOptionId", "getOptionName", "getOptionDescription", "getSectionId", "selectionType", "value", "label", "labelDisplayMode", "popoverProps", "listStatus", "translations", "class"),
11220
11220
  emits: LS
11221
- }), lx = Ot, ES = "SelectTextField", $S = "lumx-select-text-field", Gr = (e, {
11221
+ }), lP = Ot, ES = "SelectTextField", $S = "lumx-select-text-field", Gr = (e, {
11222
11222
  Combobox: t,
11223
11223
  InfiniteScroll: n
11224
11224
  }) => {
@@ -11241,10 +11241,10 @@ const LS = {
11241
11241
  emptyMessage: y,
11242
11242
  nbOptionMessage: A,
11243
11243
  errorMessage: N,
11244
- errorTryReloadMessage: P,
11244
+ errorTryReloadMessage: x,
11245
11245
  onOpen: w,
11246
11246
  chips: k,
11247
- beforeOptions: x,
11247
+ beforeOptions: P,
11248
11248
  afterOptions: T,
11249
11249
  onLoadMore: O,
11250
11250
  infiniteScrollOptions: _
@@ -11266,7 +11266,7 @@ const LS = {
11266
11266
  "aria-label": u,
11267
11267
  "aria-multiselectable": h || void 0
11268
11268
  }), {
11269
- default: () => [x, q ? m(t.OptionSkeleton, {
11269
+ default: () => [P, q ? m(t.OptionSkeleton, {
11270
11270
  count: 3
11271
11271
  }, null) : Wr({
11272
11272
  options: a,
@@ -11292,7 +11292,7 @@ const LS = {
11292
11292
  emptyMessage: y,
11293
11293
  nbOptionMessage: A,
11294
11294
  errorMessage: I ? N : void 0,
11295
- errorTryReloadMessage: I ? P : void 0
11295
+ errorTryReloadMessage: I ? x : void 0
11296
11296
  }, null)]
11297
11297
  })]
11298
11298
  });
@@ -11336,21 +11336,21 @@ const MS = {
11336
11336
  ...e,
11337
11337
  ...a
11338
11338
  }))), l = R(!!e.searchInputValue), c = R(e.searchInputValue ?? ""), d = R(null), u = R(null);
11339
- X(() => e.searchInputValue, (P) => {
11340
- P !== void 0 && (c.value = P, l.value = !!P);
11339
+ X(() => e.searchInputValue, (x) => {
11340
+ x !== void 0 && (c.value = x, l.value = !!x);
11341
11341
  });
11342
- const h = C(() => e.selectionType === "multiple" || l.value ? c.value : ad(e.value, e.getOptionName, e.getOptionId)), f = (P) => {
11343
- const w = nd(e.options, e.getOptionId, e.value, P.value, e.selectionType === "multiple");
11342
+ const h = C(() => e.selectionType === "multiple" || l.value ? c.value : ad(e.value, e.getOptionName, e.getOptionId)), f = (x) => {
11343
+ const w = nd(e.options, e.getOptionId, e.value, x.value, e.selectionType === "multiple");
11344
11344
  t("change", w), l.value = !1, c.value = "", t("search", "");
11345
- }, g = (P) => {
11346
- l.value = !0, c.value = P, t("search", P), !o.value && P === "" && e.value !== void 0 && e.value !== null && t("change", void 0);
11347
- }, p = (P) => {
11348
- t("change", void 0), l.value = !1, c.value = "", t("search", ""), t("clear", P);
11349
- }, b = (P) => {
11350
- l.value = !1, c.value = "", t("search", ""), t("blur", P);
11345
+ }, g = (x) => {
11346
+ l.value = !0, c.value = x, t("search", x), !o.value && x === "" && e.value !== void 0 && e.value !== null && t("change", void 0);
11347
+ }, p = (x) => {
11348
+ t("change", void 0), l.value = !1, c.value = "", t("search", ""), t("clear", x);
11349
+ }, b = (x) => {
11350
+ l.value = !1, c.value = "", t("search", ""), t("blur", x);
11351
11351
  }, v = od(n.option), y = rd(n.sectionTitle), A = oe("onLoadMore") || oe("onLoad-more"), N = () => t("load-more");
11352
11352
  return () => {
11353
- const P = !o.value && !s.value && (e.hasClearButton ?? !0) && e.value !== void 0 && e.value !== null, w = e.selectionType === "multiple" ? m(Db, {
11353
+ const x = !o.value && !s.value && (e.hasClearButton ?? !0) && e.value !== void 0 && e.value !== null, w = e.selectionType === "multiple" ? m(Db, {
11354
11354
  value: e.value,
11355
11355
  theme: e.theme,
11356
11356
  getOptionId: e.getOptionId,
@@ -11362,7 +11362,7 @@ const MS = {
11362
11362
  chipRemoveLabel: e.translations.chipRemoveLabel
11363
11363
  }, {
11364
11364
  chip: n.chip || void 0
11365
- }) : void 0, k = e.listStatus ?? "idle", x = e.beforeOptions ?? n.beforeOptions?.();
11365
+ }) : void 0, k = e.listStatus ?? "idle", P = e.beforeOptions ?? n.beforeOptions?.();
11366
11366
  return Gr({
11367
11367
  options: e.options,
11368
11368
  getOptionId: e.getOptionId,
@@ -11404,7 +11404,7 @@ const MS = {
11404
11404
  isValid: e.isValid,
11405
11405
  maxLength: e.maxLength,
11406
11406
  "aria-label": e.ariaLabel,
11407
- clearButtonProps: P ? {
11407
+ clearButtonProps: x ? {
11408
11408
  label: e.translations.clearLabel
11409
11409
  } : void 0,
11410
11410
  onClear: p,
@@ -11421,7 +11421,7 @@ const MS = {
11421
11421
  ref: d
11422
11422
  },
11423
11423
  chips: w,
11424
- beforeOptions: x,
11424
+ beforeOptions: P,
11425
11425
  onLoadMore: A ? N : void 0,
11426
11426
  infiniteScrollOptions: {
11427
11427
  root: d.value?.$el ?? null,
@@ -11437,7 +11437,7 @@ const MS = {
11437
11437
  inheritAttrs: !1,
11438
11438
  props: $()("options", "getOptionId", "getOptionName", "getOptionDescription", "getSectionId", "selectionType", "value", "filter", "searchInputValue", "hasClearButton", "listStatus", "label", "placeholder", "icon", "isDisabled", "aria-disabled", "isRequired", "hasError", "error", "helper", "id", "name", "isValid", "maxLength", "ariaLabel", "inputProps", "popoverProps", "translations", "beforeOptions", "openOnFocus", "class", "theme"),
11439
11439
  emits: MS
11440
- }), DS = Ot, cx = Eu, ux = ku, dx = Tu, fx = Iu, BS = "TimePickerField", sd = "lumx-time-picker-field", {
11440
+ }), DS = Ot, cP = Eu, uP = ku, dP = Tu, fP = Iu, BS = "TimePickerField", sd = "lumx-time-picker-field", {
11441
11441
  block: FS
11442
11442
  } = B(sd), tc = {
11443
11443
  step: 30,
@@ -11453,16 +11453,30 @@ const MS = {
11453
11453
  handleChange: s,
11454
11454
  handleSearch: i,
11455
11455
  handleBlur: l,
11456
- ...c
11456
+ getOptionProps: c,
11457
+ ...d
11457
11458
  } = e;
11458
- return m(t, S(c, {
11459
+ return m(t, S(d, {
11459
11460
  className: FS([r]),
11460
11461
  selectionType: "single",
11461
11462
  options: a,
11462
11463
  getOptionId: "name",
11463
- renderOption: (d) => m(n, {
11464
- isDisabled: d.outOfRange
11465
- }, null),
11464
+ renderOption: ({
11465
+ hour: u,
11466
+ minute: h,
11467
+ outOfRange: f
11468
+ }) => {
11469
+ const {
11470
+ isDisabled: g,
11471
+ ...p
11472
+ } = c?.({
11473
+ hour: u,
11474
+ minute: h
11475
+ }) || {};
11476
+ return m(n, S({
11477
+ isDisabled: f || g
11478
+ }, p), null);
11479
+ },
11466
11480
  onChange: s,
11467
11481
  onSearch: i,
11468
11482
  onBlur: l,
@@ -11525,7 +11539,7 @@ const WS = () => navigator.languages?.[0] || navigator.language, US = {
11525
11539
  */
11526
11540
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
11527
11541
  change: (e) => !0
11528
- }, hx = /* @__PURE__ */ E((e, {
11542
+ }, hP = /* @__PURE__ */ E((e, {
11529
11543
  emit: t
11530
11544
  }) => {
11531
11545
  const n = M(() => e.class), a = C(() => e.locale ?? WS()), o = C(() => e.step ?? tc.step), r = C(() => e.boundsMode ?? tc.boundsMode), s = C(() => jS({
@@ -11576,10 +11590,11 @@ const WS = () => navigator.languages?.[0] || navigator.language, US = {
11576
11590
  maxTime: v,
11577
11591
  translations: y,
11578
11592
  class: A,
11579
- ...N
11593
+ getOptionProps: N,
11594
+ ...x
11580
11595
  } = e;
11581
11596
  return Kr({
11582
- ...N,
11597
+ ...x,
11583
11598
  value: l.value,
11584
11599
  options: s.value,
11585
11600
  translations: y,
@@ -11587,7 +11602,8 @@ const WS = () => navigator.languages?.[0] || navigator.language, US = {
11587
11602
  handleChange: c,
11588
11603
  handleSearch: d,
11589
11604
  handleBlur: u,
11590
- searchInputValue: h
11605
+ searchInputValue: h,
11606
+ getOptionProps: N
11591
11607
  }, {
11592
11608
  SelectTextField: RS,
11593
11609
  Option: DS
@@ -11604,6 +11620,7 @@ const WS = () => navigator.languages?.[0] || navigator.language, US = {
11604
11620
  "maxTime",
11605
11621
  "boundsMode",
11606
11622
  "translations",
11623
+ "getOptionProps",
11607
11624
  "class",
11608
11625
  // Inherited SelectTextField props
11609
11626
  "label",
@@ -11628,8 +11645,8 @@ const WS = () => navigator.languages?.[0] || navigator.language, US = {
11628
11645
  export {
11629
11646
  gN as AlertDialog,
11630
11647
  Wh as Avatar,
11631
- xN as Badge,
11632
- PN as BadgeWrapper,
11648
+ PN as Badge,
11649
+ xN as BadgeWrapper,
11633
11650
  It as Button,
11634
11651
  yN as ButtonGroup,
11635
11652
  wN as Checkbox,
@@ -11642,7 +11659,7 @@ export {
11642
11659
  TN as ExpansionPanel,
11643
11660
  _N as Flag,
11644
11661
  yn as FlexBox,
11645
- xv as GenericBlock,
11662
+ Pv as GenericBlock,
11646
11663
  NN as GenericBlockGapSize,
11647
11664
  IN as GridColumn,
11648
11665
  LN as Heading,
@@ -11676,14 +11693,14 @@ export {
11676
11693
  zN as RadioGroup,
11677
11694
  Op as RawInputText,
11678
11695
  Lp as RawInputTextarea,
11679
- ix as SelectButton,
11680
- lx as SelectButtonOption,
11696
+ iP as SelectButton,
11697
+ lP as SelectButtonOption,
11681
11698
  RS as SelectTextField,
11682
- fx as SelectTextFieldDivider,
11699
+ fP as SelectTextFieldDivider,
11683
11700
  DS as SelectTextFieldOption,
11684
- ux as SelectTextFieldOptionMoreInfo,
11685
- dx as SelectTextFieldOptionSkeleton,
11686
- cx as SelectTextFieldSection,
11701
+ uP as SelectTextFieldOptionMoreInfo,
11702
+ dP as SelectTextFieldOptionSkeleton,
11703
+ cP as SelectTextFieldSection,
11687
11704
  Db as SelectionChipGroup,
11688
11705
  VN as SkeletonCircle,
11689
11706
  WN as SkeletonRectangle,
@@ -11691,30 +11708,30 @@ export {
11691
11708
  UN as SkeletonTypography,
11692
11709
  GN as Switch,
11693
11710
  pN as TOOLBAR_NAME,
11694
- nx as Tab,
11695
- ax as TabList,
11711
+ nP as Tab,
11712
+ aP as TabList,
11696
11713
  dS as TabListLayout,
11697
- ox as TabPanel,
11698
- rx as TabProvider,
11714
+ oP as TabPanel,
11715
+ rP as TabProvider,
11699
11716
  ZN as Table,
11700
11717
  JN as TableBody,
11701
11718
  QN as TableCell,
11702
11719
  ur as TableCellVariant,
11703
- ex as TableHeader,
11704
- tx as TableRow,
11720
+ eP as TableHeader,
11721
+ tP as TableRow,
11705
11722
  me as Text,
11706
11723
  Up as TextField,
11707
11724
  zt as ThOrder,
11708
11725
  dn as Thumbnail,
11709
11726
  bN as ThumbnailObjectFit,
11710
11727
  vN as ThumbnailVariant,
11711
- hx as TimePickerField,
11728
+ hP as TimePickerField,
11712
11729
  Ih as Toolbar,
11713
11730
  gn as Tooltip,
11714
11731
  KN as Uploader,
11715
11732
  Yu as UploaderVariant,
11716
- sx as UserBlock,
11733
+ sP as UserBlock,
11717
11734
  ZA as emitSchema,
11718
- Pc as useHeadingLevel
11735
+ xc as useHeadingLevel
11719
11736
  };
11720
11737
  //# sourceMappingURL=index.js.map