@lumx/vue 4.18.0 → 4.18.1-alpha.1

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/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 w, 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";
@@ -184,7 +184,7 @@ const an = () => cd;
184
184
  function jd(e, t, n, a) {
185
185
  return Sr(`${e}__${t}`, n, a);
186
186
  }
187
- function B(e) {
187
+ function F(e) {
188
188
  function t(a, o) {
189
189
  return Sr(e, a, o);
190
190
  }
@@ -239,7 +239,7 @@ const Wd = {
239
239
  }
240
240
  }, Ud = "AlertDialog", Gd = "lumx-alert-dialog", {
241
241
  block: Kd
242
- } = B(Gd), as = {
242
+ } = F(Gd), as = {
243
243
  size: H.tiny,
244
244
  kind: ie.info
245
245
  }, Xd = (e) => {
@@ -265,11 +265,11 @@ const Wd = {
265
265
  ...A
266
266
  } = e, {
267
267
  color: N,
268
- icon: P
269
- } = Wd[i] || {}, w = `${t}-title`, k = `${t}-description`, {
270
- label: x,
268
+ icon: x
269
+ } = Wd[i] || {}, C = `${t}-title`, O = `${t}-description`, {
270
+ label: P,
271
271
  onClick: T,
272
- ...O
272
+ ...k
273
273
  } = r, {
274
274
  label: _,
275
275
  onClick: q,
@@ -282,8 +282,8 @@ const Wd = {
282
282
  dialogProps: {
283
283
  id: t,
284
284
  role: "alertdialog",
285
- "aria-labelledby": w,
286
- "aria-describedby": k,
285
+ "aria-labelledby": C,
286
+ "aria-describedby": O,
287
287
  ...c
288
288
  },
289
289
  className: L(a, Kd({
@@ -293,16 +293,16 @@ 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),
300
300
  label: m("h2", {
301
- id: w,
301
+ id: C,
302
302
  className: "lumx-typography-title"
303
303
  }, [n])
304
304
  }, null)]), d && m(u, {
305
- id: k,
305
+ id: O,
306
306
  className: "lumx-typography-body2 lumx-spacing-padding-vertical-big lumx-spacing-padding-horizontal-huge"
307
307
  }, Ln(d) ? d : {
308
308
  default: () => [d]
@@ -314,13 +314,13 @@ const Wd = {
314
314
  onClick: q
315
315
  }), Ln(_) ? _ : {
316
316
  default: () => [_]
317
- }), m(v, S(O, {
317
+ }), m(v, S(k, {
318
318
  ref: f,
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
  });
@@ -331,7 +331,7 @@ function re() {
331
331
  }
332
332
  function yc(e, t, n) {
333
333
  const a = D();
334
- return C(() => {
334
+ return w(() => {
335
335
  const o = Me(e), r = a[t];
336
336
  return n ? n(o, r) : o ?? r;
337
337
  });
@@ -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,16 +375,16 @@ 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
- return C(() => (t.value, !!e()));
380
+ return w(() => (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
- }, l = X(C(() => {
387
+ }, l = X(w(() => {
388
388
  const u = Sc(Me(e)).map(st).filter(Ac);
389
389
  return new Set(u);
390
390
  }), (u) => {
@@ -402,11 +402,11 @@ 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
- }, l = X(C(() => {
409
+ }, l = X(w(() => {
410
410
  const d = Me(e);
411
411
  return Array.isArray(d) ? d.map((u) => st(u)) : [st(d)];
412
412
  }), (d) => {
@@ -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 = w(() => 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,
@@ -482,7 +482,7 @@ function tf(e, t = !1) {
482
482
  const s = En(Me(e));
483
483
  !s || !n.value || (s.style.overflow = a, $n.delete(s), n.value = !1);
484
484
  };
485
- return on(r), C({
485
+ return on(r), w({
486
486
  get() {
487
487
  return n.value;
488
488
  },
@@ -493,8 +493,8 @@ function tf(e, t = !1) {
493
493
  }
494
494
  const nf = "lumx-dialog", {
495
495
  block: af,
496
- element: Pe
497
- } = B(nf), Nc = {
496
+ element: xe
497
+ } = F(nf), Nc = {
498
498
  size: H.big
499
499
  }, of = (e) => {
500
500
  const {
@@ -518,24 +518,24 @@ const nf = "lumx-dialog", {
518
518
  ThemeProvider: y,
519
519
  ClickAwayProvider: A,
520
520
  shouldPreventCloseOnClickAway: N,
521
- clickAwayRefs: P,
522
- rootRef: w,
523
- wrapperRef: k,
524
- hasTopIntersection: x,
521
+ clickAwayRefs: x,
522
+ rootRef: C,
523
+ wrapperRef: O,
524
+ hasTopIntersection: P,
525
525
  headerChildProps: T,
526
- setSentinelTop: O,
526
+ setSentinelTop: k,
527
527
  content: _,
528
528
  setSentinelBottom: q,
529
529
  footerChildContent: j,
530
530
  footerChildProps: I,
531
- ProgressCircular: F,
532
- hasBottomIntersection: V,
533
- ...W
531
+ ProgressCircular: B,
532
+ hasBottomIntersection: z,
533
+ ...V
534
534
  } = e;
535
535
  return m(b, null, {
536
536
  default: () => [m("div", S({
537
537
  ref: n
538
- }, W, {
538
+ }, V, {
539
539
  className: L(t, af({
540
540
  "is-hidden": !l,
541
541
  "is-loading": i,
@@ -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,41 +554,41 @@ 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,
563
- parentRef: w
562
+ childrenRefs: x,
563
+ parentRef: C
564
564
  }, {
565
565
  default: () => [m("section", {
566
- className: Pe("wrapper"),
567
- ref: k
566
+ className: xe("wrapper"),
567
+ ref: O
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
- ref: O
579
+ ref: k
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", {
587
- "has-divider": !!(o || V)
586
+ className: L(xe("footer", {
587
+ "has-divider": !!(o || z)
588
588
  }), I?.className)
589
589
  }), [s, j]), i && m("div", {
590
- className: Pe("progress-overlay")
591
- }, [m(F, null, null)])])]
590
+ className: xe("progress-overlay")
591
+ }, [m(B, null, null)])])]
592
592
  })])]
593
593
  })]
594
594
  })])]
@@ -603,23 +603,23 @@ 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 = w(() => lf(n?.value, a.level)), r = w(() => `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")
619
619
  }), cf = "lumx-progress-circular", {
620
620
  block: uf,
621
621
  element: Gt
622
- } = B(cf), is = {
622
+ } = F(cf), is = {
623
623
  size: H.m,
624
624
  display: "block"
625
625
  }, df = (e) => {
@@ -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;
@@ -1224,7 +1224,7 @@ function Dc(e, t, n) {
1224
1224
  s !== r && (r = s, n?.value?.(s));
1225
1225
  }), en(() => {
1226
1226
  clearTimeout(o);
1227
- }), C(() => e.value || a.value);
1227
+ }), w(() => e.value || a.value);
1228
1228
  }
1229
1229
  function Bc(e) {
1230
1230
  const t = tf(typeof document < "u" ? document.body : null);
@@ -1240,29 +1240,29 @@ const qf = {
1240
1240
  slots: n,
1241
1241
  attrs: a
1242
1242
  }) => {
1243
- const o = M(() => e.class), r = R(null), s = R(null), i = R(null), l = R(null), c = R(null), d = (w) => {
1244
- l.value = w;
1245
- }, u = (w) => {
1246
- c.value = w;
1243
+ const o = M(() => e.class), r = R(null), s = R(null), i = R(null), l = R(null), c = R(null), d = (C) => {
1244
+ l.value = C;
1245
+ }, u = (C) => {
1246
+ c.value = C;
1247
1247
  }, h = R(null), f = R(null);
1248
- rs(l, (w) => {
1249
- const k = w[0];
1250
- h.value = k ? !k.isIntersecting : null;
1251
- }), rs(c, (w) => {
1252
- const k = w[0];
1253
- f.value = k ? !k.isIntersecting : null;
1248
+ rs(l, (C) => {
1249
+ const O = C[0];
1250
+ h.value = O ? !O.isIntersecting : null;
1251
+ }), rs(c, (C) => {
1252
+ const O = C[0];
1253
+ f.value = O ? !O.isIntersecting : null;
1254
1254
  });
1255
- const g = C(() => e.preventAutoClose || e.preventCloseOnEscape), p = () => t("close");
1256
- ln(p, C(() => !!(e.isOpen && !g.value)));
1257
- const b = C(() => e.isOpen && s.value || !1);
1258
- Cr(b, C(() => e.focusElement)), Or(C(() => !0), C(() => {
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) => {
1261
- i.value = w, e.contentRef && (e.contentRef.value = w);
1255
+ const g = w(() => e.preventAutoClose || e.preventCloseOnEscape), p = () => t("close");
1256
+ ln(p, w(() => !!(e.isOpen && !g.value)));
1257
+ const b = w(() => e.isOpen && s.value || !1);
1258
+ Cr(b, w(() => e.focusElement)), Or(w(() => !0), w(() => {
1259
+ }), w(() => e.parentElement), s, w(() => !!e.isOpen)), Bc(w(() => e.disableBodyScroll !== !1 && !!e.isOpen));
1260
+ const v = Dc(w(() => !!e.isOpen), ac, w(() => (C) => t("visibilityChange", C))), y = w(() => e.isOpen || v.value || e.closeMode === "hide"), A = w(() => [s]), N = w(() => e.preventAutoClose || e.preventCloseOnClick), x = (C) => {
1261
+ i.value = C, e.contentRef && (e.contentRef.value = C);
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 C = n.default?.() ?? [], O = C.find((_) => _.type === "header"), P = C.find((_) => _.type === "footer"), k = !!(O || P) ? C.filter((_) => _.type !== "header" && _.type !== "footer" && _.type !== pr) : C;
1266
1266
  return of({
1267
1267
  ...a,
1268
1268
  ClickAwayProvider: vr,
@@ -1272,11 +1272,11 @@ const qf = {
1272
1272
  ProgressCircular: ff,
1273
1273
  className: o.value,
1274
1274
  clickAwayRefs: A,
1275
- content: O.length ? O : void 0,
1276
- contentRef: P,
1275
+ content: k.length ? k : void 0,
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,
@@ -1284,7 +1284,7 @@ const qf = {
1284
1284
  hasBottomIntersection: f.value,
1285
1285
  hasTopIntersection: h.value,
1286
1286
  header: void 0,
1287
- headerChildContent: n.header?.() ?? k?.children,
1287
+ headerChildContent: n.header?.() ?? O?.children,
1288
1288
  headerChildProps: void 0,
1289
1289
  isLoading: e.isLoading,
1290
1290
  isOpen: e.isOpen,
@@ -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,9 +1390,9 @@ 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) : "";
1394
- if (w)
1395
- switch (w) {
1393
+ var N = r(A), x = N == l ? A.constructor : void 0, C = x ? s(x) : "";
1394
+ if (C)
1395
+ switch (C) {
1396
1396
  case f:
1397
1397
  return h;
1398
1398
  case g:
@@ -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]", C = "[object Int32Array]", O = "[object Uint8Array]", P = "[object Uint8ClampedArray]", T = "[object Uint16Array]", k = "[object Uint32Array]", _ = {};
1489
+ _[y] = _[A] = _[N] = _[x] = _[C] = _[O] = _[P] = _[T] = _[k] = !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
  }
@@ -1574,9 +1574,9 @@ const ft = (e) => {
1574
1574
  });
1575
1575
  }, sh = "ButtonRoot", ih = "lumx-button-wrapper", {
1576
1576
  block: lh
1577
- } = B(ih), ch = "lumx-button", {
1577
+ } = F(ih), ch = "lumx-button", {
1578
1578
  block: uh
1579
- } = B(ch), dh = (e) => {
1579
+ } = F(ch), dh = (e) => {
1580
1580
  const {
1581
1581
  color: t,
1582
1582
  emphasis: n,
@@ -1648,7 +1648,7 @@ _t.displayName = sh;
1648
1648
  _t.defaultProps = {};
1649
1649
  const fh = "Button", jc = "lumx-button", {
1650
1650
  modifier: hh
1651
- } = B(jc), er = {
1651
+ } = F(jc), er = {
1652
1652
  emphasis: ve.high,
1653
1653
  size: H.m
1654
1654
  }, un = (e) => {
@@ -1679,17 +1679,17 @@ function ph() {
1679
1679
  return qe(mh, { state: null });
1680
1680
  }
1681
1681
  function te(e) {
1682
- const t = ph(), n = C(() => {
1683
- const r = typeof e == "function" ? e() : Pt(e);
1682
+ const t = ph(), n = w(() => {
1683
+ const r = typeof e == "function" ? e() : xt(e);
1684
1684
  return Sd(t, {
1685
1685
  disabled: r.disabled,
1686
1686
  isDisabled: r.isDisabled,
1687
1687
  "aria-disabled": r["aria-disabled"] ?? r.ariaDisabled
1688
1688
  });
1689
- }), a = C(
1689
+ }), a = w(
1690
1690
  () => n.value["aria-disabled"] || n.value.disabled || void 0
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;
1691
+ ), o = w(() => {
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 };
@@ -1701,7 +1701,7 @@ const hi = E({
1701
1701
  }
1702
1702
  }), gh = "Icon", vh = "lumx-icon", Hc = vh, {
1703
1703
  block: bh
1704
- } = B(Hc), yh = {}, ee = (e) => {
1704
+ } = F(Hc), yh = {}, ee = (e) => {
1705
1705
  const {
1706
1706
  className: t,
1707
1707
  color: n,
@@ -1768,7 +1768,7 @@ const De = /* @__PURE__ */ E((e) => {
1768
1768
  props: $()("icon", "color", "colorVariant", "hasShape", "size", "alt", "verticalAlign", "theme", "class")
1769
1769
  }), Ah = "lumx-text", {
1770
1770
  block: Sh
1771
- } = B(Ah), zc = (e) => {
1771
+ } = F(Ah), zc = (e) => {
1772
1772
  const {
1773
1773
  className: t,
1774
1774
  color: n,
@@ -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;
@@ -1858,10 +1858,10 @@ const me = /* @__PURE__ */ E((e, {
1858
1858
  }) => {
1859
1859
  const n = D(), a = Wc(), o = pd("tooltip-label"), {
1860
1860
  tooltipLabel: r
1861
- } = wh(o), s = M(() => e.class), i = C(() => zc({
1861
+ } = wh(o), s = M(() => e.class), i = w(() => zc({
1862
1862
  ...e,
1863
1863
  className: s.value
1864
- })), l = C(() => {
1864
+ })), l = w(() => {
1865
1865
  const {
1866
1866
  children: c,
1867
1867
  ...d
@@ -1897,7 +1897,7 @@ const me = /* @__PURE__ */ E((e, {
1897
1897
  isAnyDisabled: s,
1898
1898
  disabledStateProps: i,
1899
1899
  otherProps: l
1900
- } = te(C(() => ({
1900
+ } = te(w(() => ({
1901
1901
  ...e,
1902
1902
  ...a
1903
1903
  }))), c = (u) => {
@@ -1937,7 +1937,7 @@ const me = /* @__PURE__ */ E((e, {
1937
1937
  }), pN = "Toolbar", kh = "lumx-toolbar", {
1938
1938
  block: Th,
1939
1939
  element: Da
1940
- } = B(kh), _h = (e) => {
1940
+ } = F(kh), _h = (e) => {
1941
1941
  const {
1942
1942
  after: t,
1943
1943
  before: n,
@@ -1981,7 +1981,7 @@ const me = /* @__PURE__ */ E((e, {
1981
1981
  emit: t,
1982
1982
  slots: n
1983
1983
  }) => {
1984
- const a = D(), o = M(() => e.class), r = re(), s = C(() => e.id || r), i = Re(void 0), l = Re(void 0);
1984
+ const a = D(), o = M(() => e.class), r = re(), s = w(() => e.id || r), i = Re(void 0), l = Re(void 0);
1985
1985
  return () => {
1986
1986
  const c = n.default?.(), u = c?.length === 1 && c[0].type === lc ? "p" : "div", h = {
1987
1987
  isOpen: e.isOpen,
@@ -2032,7 +2032,7 @@ const me = /* @__PURE__ */ E((e, {
2032
2032
  }), Eh = "lumx-avatar", {
2033
2033
  block: $h,
2034
2034
  element: nr
2035
- } = B(Eh), Uc = {
2035
+ } = F(Eh), Uc = {
2036
2036
  size: H.m
2037
2037
  }, Mh = (e) => {
2038
2038
  const {
@@ -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,32 +2143,32 @@ const Bh = "lumx-thumbnail", {
2143
2143
  isAnyDisabled: y,
2144
2144
  disabledStateProps: A,
2145
2145
  size: N,
2146
- theme: P,
2147
- loadingState: w,
2148
- variant: k,
2149
- linkProps: x,
2146
+ theme: x,
2147
+ loadingState: C,
2148
+ variant: O,
2149
+ linkProps: P,
2150
2150
  linkAs: T,
2151
- handleClick: O,
2151
+ handleClick: k,
2152
2152
  handleKeyPress: _,
2153
2153
  ...q
2154
- } = e, j = g || w === "isLoading", I = w === "hasError", F = I && typeof l == "string", V = I && !F, W = {};
2155
- F ? W.visibility = "hidden" : V && (W.display = "none");
2156
- const z = !!(x?.href || T), Y = !y && !!(z || O || _), ae = {
2154
+ } = e, j = g || C === "isLoading", I = C === "hasError", B = I && typeof l == "string", z = I && !B, V = {};
2155
+ B ? V.visibility = "hidden" : z && (V.display = "none");
2156
+ const W = !!(P?.href || T), Y = !y && !!(W || k || _), 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), W ? 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,
2167
- [`variant-${k}`]: !!k,
2166
+ [`theme-${x}`]: !!x,
2167
+ [`variant-${O}`]: !!O,
2168
2168
  "is-clickable": Y,
2169
2169
  "has-error": I,
2170
- "has-icon-error-fallback": F,
2171
- "has-custom-error-fallback": V,
2170
+ "has-icon-error-fallback": B,
2171
+ "has-custom-error-fallback": z,
2172
2172
  "is-loading": j,
2173
2173
  [`object-fit-${p}`]: !!p,
2174
2174
  "has-badge": !!o,
@@ -2185,7 +2185,7 @@ const Bh = "lumx-thumbnail", {
2185
2185
  // Reserve space while loading (when possible)
2186
2186
  width: j ? h?.width || J?.naturalWidth : void 0,
2187
2187
  ...h?.style,
2188
- ...W,
2188
+ ...V,
2189
2189
  ...c,
2190
2190
  ...id
2191
2191
  },
@@ -2200,17 +2200,17 @@ const Bh = "lumx-thumbnail", {
2200
2200
  loading: b
2201
2201
  }), null), !j && I && m("span", {
2202
2202
  className: Nt("fallback")
2203
- }, [F ? ee({
2203
+ }, [B ? 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,
2210
2210
  ...ae,
2211
2211
  className: Z,
2212
2212
  children: Xr,
2213
- handleClick: O,
2213
+ handleClick: k,
2214
2214
  handleKeyPress: _
2215
2215
  }) : m("div", S({
2216
2216
  ref: i
@@ -2241,7 +2241,7 @@ function jh(e, t) {
2241
2241
  }), n;
2242
2242
  }
2243
2243
  function Hh(e) {
2244
- const { image: t, aspectRatio: n, focusPoint: a, width: o, height: r, element: s, isLoaded: i } = e, l = C(
2244
+ const { image: t, aspectRatio: n, focusPoint: a, width: o, height: r, element: s, isLoaded: i } = e, l = w(
2245
2245
  () => Rh({
2246
2246
  image: t.value,
2247
2247
  aspectRatio: n.value,
@@ -2264,7 +2264,7 @@ function Hh(e) {
2264
2264
  cc(d);
2265
2265
  },
2266
2266
  { immediate: !0 }
2267
- ), C(
2267
+ ), w(
2268
2268
  () => Dh({
2269
2269
  image: t.value,
2270
2270
  aspectRatio: n.value,
@@ -2286,10 +2286,10 @@ const zh = {
2286
2286
  isAnyDisabled: c,
2287
2287
  disabledStateProps: d,
2288
2288
  otherProps: u
2289
- } = te(C(() => ({
2289
+ } = te(w(() => ({
2290
2290
  ...e,
2291
2291
  ...a
2292
- }))), h = jh(Q(() => e.image), s), f = C(() => h.value === "isLoaded"), g = Hh({
2292
+ }))), h = jh(Q(() => e.image), s), f = w(() => h.value === "isLoaded"), g = Hh({
2293
2293
  image: Q(() => e.image),
2294
2294
  aspectRatio: Q(() => e.aspectRatio),
2295
2295
  focusPoint: Q(() => e.focusPoint),
@@ -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,33 +2507,33 @@ 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();
2511
- let O = null, _ = w;
2512
- if (k)
2513
- x.currentNode = k;
2514
- else if (!P) {
2515
- if (O = x.lastChild(), !O) return null;
2510
+ const x = N > 0, C = Math.abs(N), O = l(), P = d(), T = x ? () => P.nextNode() : () => P.previousNode();
2511
+ let k = null, _ = C;
2512
+ if (O)
2513
+ P.currentNode = O;
2514
+ else if (!x) {
2515
+ if (k = P.lastChild(), !k) return null;
2516
2516
  _ -= 1;
2517
2517
  }
2518
2518
  for (let q = 0; q < _; q++) {
2519
2519
  const j = T();
2520
2520
  if (j)
2521
- O = j;
2522
- else if (k && s) {
2523
- const I = P ? u() : h();
2524
- if (!I || I === k) break;
2525
- O = I, x.currentNode = I;
2521
+ k = j;
2522
+ else if (O && s) {
2523
+ const I = x ? u() : h();
2524
+ if (!I || I === O) break;
2525
+ k = I, P.currentNode = I;
2526
2526
  } else
2527
2527
  break;
2528
2528
  }
2529
- return O;
2529
+ return k;
2530
2530
  }
2531
2531
  function p(N) {
2532
- const P = d(!1);
2533
- let w = P.nextNode();
2534
- for (; w; ) {
2535
- if (N(w)) return w;
2536
- w = P.nextNode();
2532
+ const x = d(!1);
2533
+ let C = x.nextNode();
2534
+ for (; C; ) {
2535
+ if (N(C)) return C;
2536
+ C = 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 C = x.nextNode();
2563
+ return C instanceof HTMLElement ? C : (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)) {
2569
- const w = l();
2570
- return w !== P && (w && t.onDeactivate(w), t.onActivate(P)), f.clear(), !0;
2567
+ const x = N(v);
2568
+ if (x && x.matches(o) && a.contains(x)) {
2569
+ const C = l();
2570
+ return C !== x && (C && t.onDeactivate(C), 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,76 +2624,76 @@ 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", k) {
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)) {
2634
- const j = O ? O(q) : q;
2634
+ const j = k ? k(q) : q;
2635
2635
  j && (yield j);
2636
2636
  }
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);
2648
- if (O.length === 0) return !1;
2649
- const _ = Math.min(T, O.length - 1);
2650
- return i.setActive(O[_]), !0;
2651
- }
2652
- function y(x) {
2653
- const T = g(x);
2646
+ function v(P, T) {
2647
+ const k = d(P);
2648
+ if (k.length === 0) return !1;
2649
+ const _ = Math.min(T, k.length - 1);
2650
+ return i.setActive(k[_]), !0;
2651
+ }
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
- const O = d(T), _ = O.indexOf(i.active);
2670
+ const k = d(T), _ = k.indexOf(i.active);
2671
2671
  if (_ === -1) return !1;
2672
- const q = _ + x;
2673
- if (q >= 0 && q < O.length)
2674
- return b = q, i.setActive(O[q]), !0;
2672
+ const q = _ + P;
2673
+ if (q >= 0 && q < k.length)
2674
+ return b = q, i.setActive(k[q]), !0;
2675
2675
  if (!s) return !1;
2676
- const j = x > 0 ? "next" : "prev", F = _e(u(T, j)) ?? (x > 0 ? h() : f());
2677
- if (!F) return !1;
2678
- const V = d(F);
2679
- if (V.length === 0) return !1;
2680
- const W = x > 0 ? 0 : V.length - 1;
2681
- return b = W, i.setActive(V[W]), !0;
2682
- }
2683
- function w(x) {
2676
+ const j = P > 0 ? "next" : "prev", B = _e(u(T, j)) ?? (P > 0 ? h() : f());
2677
+ if (!B) return !1;
2678
+ const z = d(B);
2679
+ if (z.length === 0) return !1;
2680
+ const V = P > 0 ? 0 : z.length - 1;
2681
+ return b = V, i.setActive(z[V]), !0;
2682
+ }
2683
+ function C(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));
2689
- if (O) return v(O, b);
2688
+ const k = _e(u(T, P));
2689
+ if (k) return v(k, 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;
2695
2695
  }
2696
- const k = {
2696
+ const O = {
2697
2697
  get activeItem() {
2698
2698
  return i.active;
2699
2699
  },
@@ -2705,47 +2705,47 @@ 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
- selectors: k,
2713
- goToOffset(x) {
2714
- if (x === 0) return i.active !== null;
2712
+ selectors: O,
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));
2719
- return v(T[F], b);
2718
+ const j = P > 0 ? 0 : T.length - 1, I = P > 0 ? P - 1 : P + 1, B = Math.max(0, Math.min(j + I, T.length - 1));
2719
+ return v(T[B], b);
2720
2720
  }
2721
- const O = g(i.active);
2722
- if (!O) return !1;
2723
- const _ = T.indexOf(O);
2721
+ const k = g(i.active);
2722
+ if (!k) return !1;
2723
+ const _ = T.indexOf(k);
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(O);
2733
+ return T && y(T) ? (p.clear(), !0) : (p.defer(() => this.goTo(P)), !1);
2734
2734
  },
2735
2735
  flushPendingNavigation() {
2736
2736
  p.flush();
2737
2737
  },
2738
2738
  goUp() {
2739
- return w("prev");
2739
+ return C("prev");
2740
2740
  },
2741
2741
  goDown() {
2742
- return w("next");
2742
+ return C("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,42 +2837,42 @@ 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 = [];
2841
- for (const k of v) {
2842
- if (k.type === "childList") {
2840
+ const x = [], C = [];
2841
+ for (const O of v) {
2842
+ if (O.type === "childList") {
2843
2843
  if (!y)
2844
- for (const T of k.removedNodes) {
2845
- const { value: O } = vi(T, l).next();
2846
- if (O) {
2847
- y = O, A = k.nextSibling ?? k.previousSibling ?? null;
2844
+ for (const T of O.removedNodes) {
2845
+ const { value: k } = vi(T, l).next();
2846
+ if (k) {
2847
+ y = k, A = O.nextSibling ?? O.previousSibling ?? null;
2848
2848
  break;
2849
2849
  }
2850
2850
  }
2851
- for (const T of k.addedNodes)
2852
- for (const O of vi(T, a))
2853
- w.push(O);
2851
+ for (const T of O.addedNodes)
2852
+ for (const k of vi(T, a))
2853
+ C.push(k);
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 = O.target;
2856
+ O.type === "attributes" && P.matches(a) && (O.attributeName === s && P.getAttribute(s) === "true" ? N = P : r && P.matches(r) && x.push(P));
2857
2857
  }
2858
2858
  if (y) {
2859
- const k = d.hasFocus;
2860
- d.reset(), p(k, A);
2859
+ const O = d.hasFocus;
2860
+ d.reset(), p(O, A);
2861
2861
  }
2862
- if (w.length > 0) {
2863
- const k = n.querySelector(l) !== null;
2864
- f(w, k);
2862
+ if (C.length > 0) {
2863
+ const O = n.querySelector(l) !== null;
2864
+ f(C, O);
2865
2865
  }
2866
- if (P.length > 0) {
2867
- const k = u.selectors.activeItem;
2868
- for (const O of P)
2869
- h(O, "-1");
2870
- const T = !!(k && P.includes(k) && d.hasFocus);
2866
+ if (x.length > 0) {
2867
+ const O = u.selectors.activeItem;
2868
+ for (const k of x)
2869
+ h(k, "-1");
2870
+ const T = !!(O && x.includes(O) && d.hasFocus);
2871
2871
  p(T);
2872
2872
  }
2873
2873
  if (N) {
2874
- const k = n.querySelector(l);
2875
- k && k !== N && h(k, "-1"), h(N, "0");
2874
+ const O = n.querySelector(l);
2875
+ O && O !== N && h(O, "-1"), h(N, "0");
2876
2876
  }
2877
2877
  });
2878
2878
  return b.observe(n, {
@@ -2988,92 +2988,92 @@ function Xc(e, t, n) {
2988
2988
  loadingChange: /* @__PURE__ */ new Set(),
2989
2989
  loadingAnnouncement: /* @__PURE__ */ new Set()
2990
2990
  };
2991
- function v(I, F) {
2992
- b[I].forEach((V) => V(F));
2991
+ function v(I, B) {
2992
+ b[I].forEach((z) => z(B));
2993
2993
  }
2994
2994
  function y() {
2995
2995
  let I = 0;
2996
- for (const F of c.values())
2997
- F.lastFiltered || (I += 1);
2996
+ for (const B of c.values())
2997
+ B.lastFiltered || (I += 1);
2998
2998
  return I;
2999
2999
  }
3000
3000
  function A() {
3001
3001
  return y() > 0 || p > 0;
3002
3002
  }
3003
3003
  function N() {
3004
- for (const [W] of d)
3005
- gi(W, d, c);
3006
- const I = y(), F = o?.value ?? "";
3007
- (I !== h || I === 0 && F !== f) && (h = I, f = F, v("optionsChange", { optionsLength: I, inputValue: F })), i && o?.setAttribute("aria-expanded", String(A()));
3004
+ for (const [V] of d)
3005
+ gi(V, d, c);
3006
+ const I = y(), B = o?.value ?? "";
3007
+ (I !== h || I === 0 && B !== f) && (h = I, f = B, v("optionsChange", { optionsLength: I, inputValue: B })), i && o?.setAttribute("aria-expanded", String(A()));
3008
3008
  }
3009
- const P = 500;
3010
- let w, k = !1;
3011
- function x() {
3012
- clearTimeout(w), p > 0 && i && (w = setTimeout(() => {
3013
- p > 0 && i && (k = !0, v("loadingAnnouncement", !0));
3014
- }, P));
3009
+ const x = 500;
3010
+ let C, O = !1;
3011
+ function P() {
3012
+ clearTimeout(C), p > 0 && i && (C = setTimeout(() => {
3013
+ p > 0 && i && (O = !0, v("loadingAnnouncement", !0));
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(C), O && (O = !1, v("loadingAnnouncement", !1)));
3019
3019
  }
3020
- let O;
3020
+ let k;
3021
3021
  function _() {
3022
3022
  u?.abort(), u = null, s = null;
3023
3023
  }
3024
- function q(I, F, V) {
3025
- function W(z) {
3026
- if (V?.(z)) {
3027
- z.stopPropagation(), z.preventDefault();
3024
+ function q(I, B, z) {
3025
+ function V(W) {
3026
+ if (z?.(W)) {
3027
+ W.stopPropagation(), W.preventDefault();
3028
3028
  return;
3029
3029
  }
3030
3030
  let Y = !1;
3031
- const { altKey: ae } = z, Z = O.focusNav;
3032
- switch (z.key) {
3031
+ const { altKey: ae } = W, Z = k.focusNav;
3032
+ switch (W.key) {
3033
3033
  case "Enter":
3034
- if (O.isOpen && Z?.selectors.activeItem) {
3034
+ if (k.isOpen && Z?.selectors.activeItem) {
3035
3035
  const { activeItem: J } = Z.selectors;
3036
3036
  Gc(J) || J.click(), Y = !0;
3037
- } else O.isOpen && !O.isMultiSelect && O.setIsOpen(!1);
3037
+ } else k.isOpen && !k.isMultiSelect && k.setIsOpen(!1);
3038
3038
  break;
3039
3039
  // Open if closed, else move focus within listbox (wrap if enabled).
3040
3040
  case "ArrowDown":
3041
- O.isOpen ? Z?.selectors.hasNavigableItems && !ae && (Z.selectors.activeItem ? Z.goDown() : Z.goTo((J) => J.getMatching(Bt) ?? J.getFirst())) : (O.setIsOpen(!0), ae || Z?.goTo((J) => J.getMatching(Bt) ?? J.getFirst())), Y = !0;
3041
+ k.isOpen ? Z?.selectors.hasNavigableItems && !ae && (Z.selectors.activeItem ? Z.goDown() : Z.goTo((J) => J.getMatching(Bt) ?? J.getFirst())) : (k.setIsOpen(!0), ae || Z?.goTo((J) => J.getMatching(Bt) ?? J.getFirst())), Y = !0;
3042
3042
  break;
3043
3043
  // Open if closed, else move focus within listbox (wrap if enabled).
3044
3044
  case "ArrowUp":
3045
- !O.isOpen && !ae ? (O.setIsOpen(!0), Z?.goTo((J) => J.getMatching(Bt) ?? J.getLast())) : O.isOpen && Z?.selectors.hasNavigableItems && (Z.selectors.activeItem ? Z.goUp() : ae || Z.goTo((J) => J.getMatching(Bt) ?? J.getLast())), Y = !0;
3045
+ !k.isOpen && !ae ? (k.setIsOpen(!0), Z?.goTo((J) => J.getMatching(Bt) ?? J.getLast())) : k.isOpen && Z?.selectors.hasNavigableItems && (Z.selectors.activeItem ? Z.goUp() : ae || Z.goTo((J) => J.getMatching(Bt) ?? J.getLast())), Y = !0;
3046
3046
  break;
3047
3047
  case "Escape":
3048
- O.isOpen ? O.setIsOpen(!1) : O.select(null), Y = !0;
3048
+ k.isOpen ? k.setIsOpen(!1) : k.select(null), Y = !0;
3049
3049
  break;
3050
3050
  case "PageUp":
3051
- O.isOpen && Z?.selectors.activeItem && Z.goToOffset(-10), Y = !0;
3051
+ k.isOpen && Z?.selectors.activeItem && Z.goToOffset(-10), Y = !0;
3052
3052
  break;
3053
3053
  case "PageDown":
3054
- O.isOpen && Z?.selectors.activeItem && Z.goToOffset(10), Y = !0;
3054
+ k.isOpen && Z?.selectors.activeItem && Z.goToOffset(10), Y = !0;
3055
3055
  break;
3056
3056
  }
3057
- Y && (z.stopPropagation(), z.preventDefault());
3057
+ Y && (W.stopPropagation(), W.preventDefault());
3058
3058
  }
3059
- I.addEventListener("keydown", (z) => W(z), { signal: F });
3059
+ I.addEventListener("keydown", (W) => V(W), { signal: B });
3060
3060
  }
3061
3061
  function j() {
3062
3062
  if (!o) return;
3063
3063
  const I = !u;
3064
3064
  if (u || (u = new AbortController()), o.getAttribute("aria-activedescendant") || o.setAttribute("aria-activedescendant", ""), o.setAttribute("aria-expanded", String(i)), I) {
3065
- const F = n?.(O, u.signal) || void 0;
3066
- q(o, u.signal, F), o.addEventListener(
3065
+ const B = n?.(k, u.signal) || void 0;
3066
+ q(o, u.signal, B), o.addEventListener(
3067
3067
  "focusout",
3068
3068
  () => {
3069
- O.setIsOpen(!1);
3069
+ k.setIsOpen(!1);
3070
3070
  },
3071
3071
  { signal: u.signal }
3072
3072
  );
3073
3073
  }
3074
- r && !s && (s = bi(O, u.signal, v, { wrapNavigation: a }));
3074
+ r && !s && (s = bi(k, u.signal, v, { wrapNavigation: a }));
3075
3075
  }
3076
- return O = {
3076
+ return k = {
3077
3077
  get trigger() {
3078
3078
  return o;
3079
3079
  },
@@ -3093,39 +3093,39 @@ 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(C), O && (O = !1, v("loadingAnnouncement", !1))), o?.setAttribute("aria-expanded", String(I && A())), v("open", I));
3097
3097
  },
3098
3098
  select(I) {
3099
- e.onSelect?.({ value: I ? Dt(I) : "" }), I && !O.isMultiSelect && (O.focusNav?.clear(), requestAnimationFrame(() => {
3100
- O.setIsOpen(!1);
3099
+ e.onSelect?.({ value: I ? Dt(I) : "" }), I && !k.isMultiSelect && (k.focusNav?.clear(), requestAnimationFrame(() => {
3100
+ k.setIsOpen(!1);
3101
3101
  }));
3102
3102
  },
3103
3103
  flushPendingNavigation() {
3104
3104
  s?.flushPendingNavigation();
3105
3105
  },
3106
- registerOption(I, F) {
3107
- const V = l.toLowerCase(), W = Dt(I).toLowerCase(), z = V.length > 0 && !W.includes(V);
3108
- return c.set(I, { callback: F, lastFiltered: z }), F(z), N(), () => {
3106
+ registerOption(I, B) {
3107
+ const z = l.toLowerCase(), V = Dt(I).toLowerCase(), W = z.length > 0 && !V.includes(z);
3108
+ return c.set(I, { callback: B, lastFiltered: W }), B(W), N(), () => {
3109
3109
  c.delete(I), N();
3110
3110
  };
3111
3111
  },
3112
3112
  setFilter(I) {
3113
3113
  l = I;
3114
- const F = I.toLowerCase();
3115
- for (const [V, W] of c) {
3116
- const z = Dt(V).toLowerCase(), Y = F.length > 0 && !z.includes(F);
3117
- Y !== W.lastFiltered && (W.lastFiltered = Y, W.callback(Y));
3114
+ const B = I.toLowerCase();
3115
+ for (const [z, V] of c) {
3116
+ const W = Dt(z).toLowerCase(), Y = B.length > 0 && !W.includes(B);
3117
+ Y !== V.lastFiltered && (V.lastFiltered = Y, V.callback(Y));
3118
3118
  }
3119
3119
  N();
3120
3120
  },
3121
3121
  refilterOption(I) {
3122
- const F = c.get(I);
3123
- if (!F) return;
3124
- const V = l.toLowerCase(), W = Dt(I).toLowerCase(), z = V.length > 0 && !W.includes(V);
3125
- z !== F.lastFiltered && (F.lastFiltered = z, F.callback(z), N());
3122
+ const B = c.get(I);
3123
+ if (!B) return;
3124
+ const z = l.toLowerCase(), V = Dt(I).toLowerCase(), W = z.length > 0 && !V.includes(z);
3125
+ W !== B.lastFiltered && (B.lastFiltered = W, B.callback(W), N());
3126
3126
  },
3127
- registerSection(I, F) {
3128
- return d.set(I, { callback: F, last: { hidden: !1, "aria-hidden": !1 } }), gi(I, d, c, !0), () => {
3127
+ registerSection(I, B) {
3128
+ return d.set(I, { callback: B, last: { hidden: !1, "aria-hidden": !1 } }), gi(I, d, c, !0), () => {
3129
3129
  d.delete(I);
3130
3130
  };
3131
3131
  },
@@ -3143,22 +3143,22 @@ function Xc(e, t, n) {
3143
3143
  registerListbox(I) {
3144
3144
  if (r === I) return () => {
3145
3145
  };
3146
- const F = !!r;
3147
- return r = I, o && u && (F ? (_(), j()) : s = bi(O, u.signal, v, { wrapNavigation: a })), () => {
3146
+ const B = !!r;
3147
+ return r = I, o && u && (B ? (_(), j()) : s = bi(k, u.signal, v, { wrapNavigation: a })), () => {
3148
3148
  r === I && (r = null, s = null);
3149
3149
  };
3150
3150
  },
3151
- subscribe(I, F) {
3152
- return b[I].add(F), I === "open" && i && F(!0), I === "loadingChange" && g && F(!0), () => {
3153
- b[I].delete(F);
3151
+ subscribe(I, B) {
3152
+ return b[I].add(B), I === "open" && i && B(!0), I === "loadingChange" && g && B(!0), () => {
3153
+ b[I].delete(B);
3154
3154
  };
3155
3155
  },
3156
3156
  destroy() {
3157
- _(), o = null, r = null, l = "", h = 0, f = "", g = !1, c.clear(), d.clear(), p = 0, clearTimeout(w), k = !1;
3157
+ _(), o = null, r = null, l = "", h = 0, f = "", g = !1, c.clear(), d.clear(), p = 0, clearTimeout(C), O = !1;
3158
3158
  for (const I of Object.values(b))
3159
3159
  I.clear();
3160
3160
  }
3161
- }, O;
3161
+ }, k;
3162
3162
  }
3163
3163
  const nm = 500;
3164
3164
  function Yc(e, t, n) {
@@ -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,8 +3492,8 @@ const vm = async (e, t, n) => {
3492
3492
  } = i[b], {
3493
3493
  x: A,
3494
3494
  y: N,
3495
- data: P,
3496
- reset: w
3495
+ data: x,
3496
+ reset: C
3497
3497
  } = await y({
3498
3498
  x: d,
3499
3499
  y: u,
@@ -3515,16 +3515,16 @@ const vm = async (e, t, n) => {
3515
3515
  ...f,
3516
3516
  [v]: {
3517
3517
  ...f[v],
3518
- ...P
3518
+ ...x
3519
3519
  }
3520
- }, w && g <= 50 && (g++, typeof w == "object" && (w.placement && (h = w.placement), w.rects && (c = w.rects === !0 ? await s.getElementRects({
3520
+ }, C && g <= 50 && (g++, typeof C == "object" && (C.placement && (h = C.placement), C.rects && (c = C.rects === !0 ? await s.getElementRects({
3521
3521
  reference: e,
3522
3522
  floating: t,
3523
3523
  strategy: o
3524
- }) : w.rects), {
3524
+ }) : C.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,20 +3554,20 @@ 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));
3558
- let k = w ? w[A] : 0;
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;
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], C = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(c));
3558
+ let O = C ? C[A] : 0;
3559
+ (!O || !await (s.isElement == null ? void 0 : s.isElement(C))) && (O = i.floating[A] || r.floating[g]);
3560
+ const P = N / 2 - x / 2, T = O / 2 - p[g] / 2 - 1, k = Be(u[v], T), _ = Be(u[y], T), q = k, j = O - p[g] - _, I = O / 2 - p[g] / 2 + P, B = rr(q, I, j), z = !l.arrow && de(o) != null && I !== B && r.reference[g] / 2 - (I < q ? k : _) - p[g] / 2 < 0, V = z ? I < q ? I - q : I - j : 0;
3561
3561
  return {
3562
- [f]: h[f] + W,
3562
+ [f]: h[f] + V,
3563
3563
  data: {
3564
- [f]: F,
3565
- centerOffset: I - F - W,
3566
- ...V && {
3567
- alignmentOffset: W
3564
+ [f]: B,
3565
+ centerOffset: I - B - V,
3566
+ ...z && {
3567
+ alignmentOffset: V
3568
3568
  }
3569
3569
  },
3570
- reset: V
3570
+ reset: z
3571
3571
  };
3572
3572
  }
3573
3573
  });
@@ -3602,39 +3602,39 @@ 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
- }], w = p[v + 1];
3609
- if (w)
3608
+ }], C = p[v + 1];
3609
+ if (C)
3610
3610
  return {
3611
3611
  data: {
3612
3612
  index: v + 1,
3613
- overflows: P
3613
+ overflows: x
3614
3614
  },
3615
3615
  reset: {
3616
- placement: w
3616
+ placement: C
3617
3617
  }
3618
3618
  };
3619
- const k = P.map((O) => {
3620
- const _ = de(O.placement);
3621
- return [O.placement, _ && d ? (
3619
+ const O = x.map((k) => {
3620
+ const _ = de(k.placement);
3621
+ return [k.placement, _ && d ? (
3622
3622
  // Check along the mainAxis and main crossAxis side.
3623
- O.overflows.slice(0, 2).reduce((q, j) => q + j, 0)
3623
+ k.overflows.slice(0, 2).reduce((q, j) => q + j, 0)
3624
3624
  ) : (
3625
3625
  // Check only the mainAxis.
3626
- O.overflows[0]
3627
- ), O.overflows];
3628
- }).sort((O, _) => O[1] - _[1]), T = ((o = k.filter((O) => O[2].slice(
3626
+ k.overflows[0]
3627
+ ), k.overflows];
3628
+ }).sort((k, _) => k[1] - _[1]), T = ((o = O.filter((k) => k[2].slice(
3629
3629
  0,
3630
3630
  // Aligned placements should not check their opposite crossAxis
3631
3631
  // side.
3632
- de(O[0]) ? 2 : 3
3633
- ).every((_) => _ <= 0))[0]) == null ? void 0 : o[0]) || k[0][0];
3632
+ de(k[0]) ? 2 : 3
3633
+ ).every((_) => _ <= 0))[0]) == null ? void 0 : o[0]) || O[0][0];
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,57 +3666,57 @@ 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 = [];
3672
- let O = ((a = r.flip) == null ? void 0 : a.overflows) || [];
3673
- if (d && T.push(x[v]), u) {
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)), C = g !== "none";
3670
+ !h && C && x.push(...mm(i, p, g, N));
3671
+ const O = [i, ...x], P = await l.detectOverflow(t, b), T = [];
3672
+ let k = ((a = r.flip) == null ? void 0 : a.overflows) || [];
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
- if (O = [...O, {
3677
+ if (k = [...k, {
3678
3678
  placement: o,
3679
3679
  overflows: T
3680
3680
  }], !T.every((I) => I <= 0)) {
3681
3681
  var _, q;
3682
- const I = (((_ = r.flip) == null ? void 0 : _.index) || 0) + 1, F = k[I];
3683
- if (F && (!(u === "alignment" ? y !== Ce(F) : !1) || // We leave the current main axis only if every placement on that axis
3682
+ const I = (((_ = r.flip) == null ? void 0 : _.index) || 0) + 1, B = O[I];
3683
+ if (B && (!(u === "alignment" ? y !== Ce(B) : !1) || // We leave the current main axis only if every placement on that axis
3684
3684
  // overflows the main axis.
3685
- O.every((z) => Ce(z.placement) === y ? z.overflows[0] > 0 : !0)))
3685
+ k.every((W) => Ce(W.placement) === y ? W.overflows[0] > 0 : !0)))
3686
3686
  return {
3687
3687
  data: {
3688
3688
  index: I,
3689
- overflows: O
3689
+ overflows: k
3690
3690
  },
3691
3691
  reset: {
3692
- placement: F
3692
+ placement: B
3693
3693
  }
3694
3694
  };
3695
- let V = (q = O.filter((W) => W.overflows[0] <= 0).sort((W, z) => W.overflows[1] - z.overflows[1])[0]) == null ? void 0 : q.placement;
3696
- if (!V)
3695
+ let z = (q = k.filter((V) => V.overflows[0] <= 0).sort((V, W) => V.overflows[1] - W.overflows[1])[0]) == null ? void 0 : q.placement;
3696
+ if (!z)
3697
3697
  switch (f) {
3698
3698
  case "bestFit": {
3699
3699
  var j;
3700
- const W = (j = O.filter((z) => {
3701
- if (w) {
3702
- const Y = Ce(z.placement);
3700
+ const V = (j = k.filter((W) => {
3701
+ if (C) {
3702
+ const Y = Ce(W.placement);
3703
3703
  return Y === y || // Create a bias to the `y` side axis due to horizontal
3704
3704
  // reading directions favoring greater width.
3705
3705
  Y === "y";
3706
3706
  }
3707
3707
  return !0;
3708
- }).map((z) => [z.placement, z.overflows.filter((Y) => Y > 0).reduce((Y, ae) => Y + ae, 0)]).sort((z, Y) => z[1] - Y[1])[0]) == null ? void 0 : j[0];
3709
- W && (V = W);
3708
+ }).map((W) => [W.placement, W.overflows.filter((Y) => Y > 0).reduce((Y, ae) => Y + ae, 0)]).sort((W, Y) => W[1] - Y[1])[0]) == null ? void 0 : j[0];
3709
+ V && (z = V);
3710
3710
  break;
3711
3711
  }
3712
3712
  case "initialPlacement":
3713
- V = i;
3713
+ z = i;
3714
3714
  break;
3715
3715
  }
3716
- if (o !== V)
3716
+ if (o !== z)
3717
3717
  return {
3718
3718
  reset: {
3719
- placement: V
3719
+ placement: z
3720
3720
  }
3721
3721
  };
3722
3722
  }
@@ -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,16 +3851,16 @@ 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) {
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));
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), C = !t.middlewareData.shift;
3855
+ let O = N, P = x;
3856
+ if ((n = t.middlewareData.shift) != null && n.enabled.x && (P = A), (a = t.middlewareData.shift) != null && a.enabled.y && (O = y), C && !h) {
3857
+ const k = le(d.left, 0), _ = le(d.right, 0), q = le(d.top, 0), j = le(d.bottom, 0);
3858
+ f ? P = g - 2 * (k !== 0 || _ !== 0 ? k + _ : le(d.left, d.right)) : O = 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,
3863
- availableHeight: k
3862
+ availableWidth: P,
3863
+ availableHeight: O
3864
3864
  });
3865
3865
  const T = await s.getDimensions(i.floating);
3866
3866
  return g !== T.width || p !== T.height ? {
@@ -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,25 +4298,25 @@ function Zm(e, t) {
4298
4298
  threshold: le(0, Be(1, l)) || 1
4299
4299
  };
4300
4300
  let N = !0;
4301
- function P(w) {
4302
- const k = w[0].intersectionRatio;
4303
- if (k !== l) {
4301
+ function x(C) {
4302
+ const O = C[0].intersectionRatio;
4303
+ if (O !== l) {
4304
4304
  if (!N)
4305
4305
  return s();
4306
- k ? s(!1, k) : a = setTimeout(() => {
4306
+ O ? s(!1, O) : a = setTimeout(() => {
4307
4307
  s(!1, 1e-7);
4308
4308
  }, 1e3);
4309
4309
  }
4310
- k === 1 && !su(c, e.getBoundingClientRect()) && s(), N = !1;
4310
+ O === 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;
@@ -4393,36 +4393,36 @@ function Ti(e, t) {
4393
4393
  }
4394
4394
  function uu(e, t, n) {
4395
4395
  n === void 0 && (n = {});
4396
- const a = n.whileElementsMounted, o = C(() => {
4397
- var k;
4398
- return (k = vt(n.open)) != null ? k : !0;
4399
- }), r = C(() => vt(n.middleware)), s = C(() => {
4400
- var k;
4401
- return (k = vt(n.placement)) != null ? k : "bottom";
4402
- }), i = C(() => {
4403
- var k;
4404
- return (k = vt(n.strategy)) != null ? k : "absolute";
4405
- }), l = C(() => {
4406
- var k;
4407
- return (k = vt(n.transform)) != null ? k : !0;
4408
- }), c = C(() => ki(e.value)), d = C(() => ki(t.value)), u = R(0), h = R(0), f = R(i.value), g = R(s.value), p = Re({}), b = R(!1), v = C(() => {
4409
- const k = {
4396
+ const a = n.whileElementsMounted, o = w(() => {
4397
+ var O;
4398
+ return (O = vt(n.open)) != null ? O : !0;
4399
+ }), r = w(() => vt(n.middleware)), s = w(() => {
4400
+ var O;
4401
+ return (O = vt(n.placement)) != null ? O : "bottom";
4402
+ }), i = w(() => {
4403
+ var O;
4404
+ return (O = vt(n.strategy)) != null ? O : "absolute";
4405
+ }), l = w(() => {
4406
+ var O;
4407
+ return (O = vt(n.transform)) != null ? O : !0;
4408
+ }), c = w(() => ki(e.value)), d = w(() => ki(t.value)), u = R(0), h = R(0), f = R(i.value), g = R(s.value), p = Re({}), b = R(!1), v = w(() => {
4409
+ const O = {
4410
4410
  position: f.value,
4411
4411
  left: "0",
4412
4412
  top: "0"
4413
4413
  };
4414
4414
  if (!d.value)
4415
- return k;
4416
- const x = Ti(d.value, u.value), T = Ti(d.value, h.value);
4415
+ return O;
4416
+ const P = Ti(d.value, u.value), T = Ti(d.value, h.value);
4417
4417
  return l.value ? {
4418
- ...k,
4419
- transform: "translate(" + x + "px, " + T + "px)",
4418
+ ...O,
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
  });
@@ -4430,19 +4430,19 @@ function uu(e, t, n) {
4430
4430
  function A() {
4431
4431
  if (c.value == null || d.value == null)
4432
4432
  return;
4433
- const k = o.value;
4433
+ const O = o.value;
4434
4434
  ap(c.value, d.value, {
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 = O !== !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;
@@ -4452,14 +4452,14 @@ function uu(e, t, n) {
4452
4452
  return;
4453
4453
  }
4454
4454
  }
4455
- function w() {
4455
+ function C() {
4456
4456
  o.value || (b.value = !1);
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
- }), X(o, w, {
4462
+ }), X(o, C, {
4463
4463
  flush: "sync"
4464
4464
  }), rc() && mr(N), {
4465
4465
  x: nt(u),
@@ -4480,7 +4480,7 @@ const rp = 8, du = 1e4, qt = {
4480
4480
  }, sp = "Tooltip", fu = "lumx-tooltip", {
4481
4481
  block: ip,
4482
4482
  element: _i
4483
- } = B(fu), Dr = (e) => {
4483
+ } = F(fu), Dr = (e) => {
4484
4484
  const {
4485
4485
  id: t,
4486
4486
  label: n,
@@ -4620,7 +4620,7 @@ function mp(e) {
4620
4620
  const gn = /* @__PURE__ */ E((e, {
4621
4621
  slots: t
4622
4622
  }) => {
4623
- const n = re(), a = M(() => e.class), o = R(null), r = R(null), s = C(() => e.placement || qt.placement), i = C(() => e.closeMode || qt.closeMode), l = C(() => e.ariaLinkMode || qt.ariaLinkMode), c = C(() => e.zIndex || qt.zIndex), {
4623
+ const n = re(), a = M(() => e.class), o = R(null), r = R(null), s = w(() => e.placement || qt.placement), i = w(() => e.closeMode || qt.closeMode), l = w(() => e.ariaLinkMode || qt.ariaLinkMode), c = w(() => e.zIndex || qt.zIndex), {
4624
4624
  floatingStyles: d,
4625
4625
  placement: u
4626
4626
  } = uu(o, r, {
@@ -4631,13 +4631,13 @@ const gn = /* @__PURE__ */ E((e, {
4631
4631
  isOpen: h,
4632
4632
  onPopperMount: f,
4633
4633
  manager: g
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(), () => {
4634
+ } = dp(w(() => e.delay), o), p = w(() => (h.value || e.forceOpen) && !!e.label), b = w(() => !!e.label && (p.value || i.value === "hide")), v = w(() => !p.value && i.value === "hide");
4635
+ return ln(w(() => 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,9 +4645,9 @@ 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;
4650
- r.value = w, f(w);
4648
+ ref: (x) => {
4649
+ const C = x?.$el || x;
4650
+ r.value = C, f(C);
4651
4651
  },
4652
4652
  id: n,
4653
4653
  label: e.label,
@@ -4674,7 +4674,7 @@ const gn = /* @__PURE__ */ E((e, {
4674
4674
  isAnyDisabled: i,
4675
4675
  disabledStateProps: l,
4676
4676
  otherProps: c
4677
- } = te(C(() => ({
4677
+ } = te(w(() => ({
4678
4678
  ...e,
4679
4679
  ...a
4680
4680
  }))), d = (f) => {
@@ -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
+ } = F(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
  })),
@@ -5020,7 +5020,7 @@ const gu = "lumx-text-field", vu = `${gu}__input-native`, {
5020
5020
  emits: Cp
5021
5021
  }), {
5022
5022
  block: kp
5023
- } = B(vu), bu = {
5023
+ } = F(vu), bu = {
5024
5024
  rows: 2
5025
5025
  }, Tp = (e) => {
5026
5026
  const {
@@ -5087,7 +5087,7 @@ const Ip = {
5087
5087
  }, Lp = /* @__PURE__ */ E((e, {
5088
5088
  emit: t
5089
5089
  }) => {
5090
- const n = D(), a = U(), o = M(() => e.class), r = R(null), s = _p(C(() => e.rows ?? bu.rows), r, C(() => e.value)), i = (u, h, f) => {
5090
+ const n = D(), a = U(), o = M(() => e.class), r = R(null), s = _p(w(() => e.rows ?? bu.rows), r, w(() => e.value)), i = (u, h, f) => {
5091
5091
  f?.stopImmediatePropagation(), t("change", u, h, f);
5092
5092
  }, l = (u, h, f) => {
5093
5093
  t("input", u, h, f);
@@ -5119,7 +5119,7 @@ function Ep(e) {
5119
5119
  }
5120
5120
  const $p = "InputLabel", Mp = "lumx-input-label", yu = Mp, {
5121
5121
  block: Rp
5122
- } = B(yu), Dp = {};
5122
+ } = F(yu), Dp = {};
5123
5123
  function Ve(e) {
5124
5124
  const {
5125
5125
  children: t,
@@ -5154,7 +5154,7 @@ const Bp = {
5154
5154
  [ie.warning]: { color: "yellow" }
5155
5155
  }, Fp = "InputHelper", qp = "lumx-input-helper", Au = qp, {
5156
5156
  block: jp
5157
- } = B(Au), Su = {
5157
+ } = F(Au), Su = {
5158
5158
  kind: ie.info
5159
5159
  };
5160
5160
  function Oe(e) {
@@ -5183,7 +5183,7 @@ Oe.defaultProps = Su;
5183
5183
  const {
5184
5184
  block: Hp,
5185
5185
  element: ue
5186
- } = B(gu);
5186
+ } = F(gu);
5187
5187
  function zp(e, t, n, a, o) {
5188
5188
  const r = e ? `text-field-helper-${n}` : void 0, s = t ? `text-field-error-${n}` : void 0, i = o ? `text-field-label-${n}` : void 0, l = [s, r, a].filter(Boolean), c = l.length === 0 ? void 0 : l.join(" ");
5189
5189
  return {
@@ -5213,87 +5213,89 @@ const Vp = (e) => {
5213
5213
  multiline: b,
5214
5214
  placeholder: v,
5215
5215
  textFieldRef: y,
5216
- helperId: A,
5217
- errorId: N,
5218
- labelId: P,
5219
- theme: w,
5220
- value: k,
5221
- afterElement: x,
5222
- input: T,
5223
- isFocus: O,
5224
- IconButton: _,
5225
- ref: q
5226
- } = e, j = (k || "").length, I = j > 0;
5216
+ charCounterMessage: A,
5217
+ helperId: N,
5218
+ errorId: x,
5219
+ labelId: C,
5220
+ theme: O,
5221
+ value: P,
5222
+ afterElement: T,
5223
+ input: k,
5224
+ isFocus: _,
5225
+ IconButton: q,
5226
+ ref: j
5227
+ } = e, I = (P || "").length, B = I > 0, z = p ? p - I : 0, V = p ? m("span", {
5228
+ className: ue("char-counter"),
5229
+ role: "status"
5230
+ }, [A ? A(z) : z, z === 0 && ee({
5231
+ icon: wt,
5232
+ size: H.xxs
5233
+ })]) : void 0;
5227
5234
  return m("div", {
5228
- ref: q,
5235
+ ref: j,
5229
5236
  className: L(n, Hp({
5230
5237
  "has-chips": !!t,
5231
5238
  "has-error": !u && s,
5232
5239
  "has-icon": !!l,
5233
5240
  "has-input": !b,
5234
- "has-input-clear": !!(a && I),
5241
+ "has-input-clear": !!(a && B),
5235
5242
  "has-label": !!h,
5236
5243
  "has-placeholder": !!v,
5237
5244
  "has-textarea": b,
5238
- "has-value": !!k,
5245
+ "has-value": !!P,
5239
5246
  "is-disabled": g,
5240
- "is-focus": O || r,
5247
+ "is-focus": _ || r,
5241
5248
  "is-valid": u,
5242
- [`theme-${w}`]: !!w
5249
+ [`theme-${O}`]: !!O
5243
5250
  }))
5244
5251
  }, [(h || p) && m("div", {
5245
5252
  className: ue("header")
5246
- }, [h && Ve({
5253
+ }, [Ve({
5247
5254
  ...f,
5248
- id: P,
5255
+ id: C,
5249
5256
  htmlFor: c,
5250
5257
  className: ue("label"),
5251
5258
  isRequired: d,
5252
- theme: w,
5253
- children: h
5254
- }), p && m("div", {
5255
- className: ue("char-counter")
5256
- }, [m("span", null, [p - j]), p - j === 0 && ee({
5257
- icon: wt,
5258
- size: H.xxs
5259
- })])]), m("div", {
5259
+ theme: O,
5260
+ children: [h, V]
5261
+ })]), m("div", {
5260
5262
  className: ue("wrapper"),
5261
5263
  ref: y
5262
5264
  }, [l && ee({
5263
5265
  className: ue("input-icon"),
5264
- color: w === he.dark ? "light" : void 0,
5266
+ color: O === he.dark ? "light" : void 0,
5265
5267
  icon: l,
5266
5268
  size: H.xs
5267
5269
  }), t ? m("div", {
5268
5270
  className: ue("chips")
5269
- }, [t, T]) : m("div", {
5271
+ }, [t, k]) : m("div", {
5270
5272
  className: ue("input-wrapper")
5271
- }, [T]), (u || s) && ee({
5273
+ }, [k]), (u || s) && ee({
5272
5274
  className: ue("input-validity"),
5273
- color: w === he.dark ? "light" : void 0,
5275
+ color: O === he.dark ? "light" : void 0,
5274
5276
  icon: u ? br : wt,
5275
5277
  size: H.xxs
5276
- }), a && I && !g && m(_, S({
5277
- "aria-describedby": P
5278
+ }), a && B && !g && m(q, S({
5279
+ "aria-describedby": C
5278
5280
  }, a, {
5279
5281
  className: ue("input-clear"),
5280
5282
  icon: Nd,
5281
5283
  emphasis: ve.low,
5282
5284
  size: H.s,
5283
- theme: w,
5285
+ theme: O,
5284
5286
  type: "button"
5285
- }), null), x && m("div", {
5287
+ }), null), T && m("div", {
5286
5288
  className: ue("after-element")
5287
- }, [x])]), s && o && Oe({
5289
+ }, [T])]), s && o && Oe({
5288
5290
  children: o,
5289
5291
  className: ue("helper"),
5290
5292
  kind: ie.error,
5291
- theme: w,
5292
- id: N
5293
+ theme: O,
5294
+ id: x
5293
5295
  }), i && Oe({
5294
5296
  className: ue("helper"),
5295
- theme: w,
5296
- id: A,
5297
+ theme: O,
5298
+ id: N,
5297
5299
  children: i
5298
5300
  })]);
5299
5301
  }, Wp = {
@@ -5310,10 +5312,10 @@ const Vp = (e) => {
5310
5312
  }, Up = /* @__PURE__ */ E((e, {
5311
5313
  emit: t
5312
5314
  }) => {
5313
- const n = D(), a = Wc("chips"), o = U(), r = M(() => e.class), s = re(), i = C(() => e.id || s), l = R(!1), {
5315
+ const n = D(), a = Wc("chips"), o = U(), r = M(() => e.class), s = re(), i = w(() => e.id || s), l = R(!1), {
5314
5316
  isAnyDisabled: c,
5315
5317
  disabledStateProps: d
5316
- } = te(C(() => ({
5318
+ } = te(w(() => ({
5317
5319
  ...e,
5318
5320
  ...n
5319
5321
  }))), u = R(null);
@@ -5323,7 +5325,7 @@ const Vp = (e) => {
5323
5325
  }, {
5324
5326
  flush: "sync"
5325
5327
  });
5326
- const h = C(() => zp(e.helper, e.error, s, n["aria-describedby"] || void 0, e.label)), f = (y, A, N) => {
5328
+ const h = w(() => zp(e.helper, e.error, s, n["aria-describedby"] || void 0, e.label)), f = (y, A, N) => {
5327
5329
  t("change", y, A, N);
5328
5330
  }, g = (y, A, N) => {
5329
5331
  t("input", y, A, N);
@@ -5338,21 +5340,21 @@ const Vp = (e) => {
5338
5340
  const y = e.theme || o.value, {
5339
5341
  helperId: A,
5340
5342
  errorId: N,
5341
- describedById: P,
5342
- labelId: w
5343
+ describedById: x,
5344
+ labelId: C
5343
5345
  } = h.value, {
5344
- class: k,
5345
- className: x,
5346
+ class: O,
5347
+ className: P,
5346
5348
  "aria-describedby": T,
5347
- disabled: O,
5349
+ disabled: k,
5348
5350
  isDisabled: _,
5349
5351
  "aria-disabled": q,
5350
5352
  ariaDisabled: j,
5351
5353
  onChange: I,
5352
- onInput: F,
5353
- onFocus: V,
5354
- onBlur: W,
5355
- chips: z,
5354
+ onInput: B,
5355
+ onFocus: z,
5356
+ onBlur: V,
5357
+ chips: W,
5356
5358
  ...Y
5357
5359
  } = n, ae = {
5358
5360
  ...Y,
@@ -5362,7 +5364,7 @@ const Vp = (e) => {
5362
5364
  placeholder: e.placeholder,
5363
5365
  theme: y,
5364
5366
  "aria-invalid": e.hasError || void 0,
5365
- "aria-describedby": P,
5367
+ "aria-describedby": x,
5366
5368
  ...d.value,
5367
5369
  readOnly: !!Y.readOnly || !!d.value["aria-disabled"],
5368
5370
  onChange: f,
@@ -5379,7 +5381,7 @@ const Vp = (e) => {
5379
5381
  type: e.type || "text"
5380
5382
  }), null);
5381
5383
  return m(Vp, {
5382
- chips: (a() ?? z) || void 0,
5384
+ chips: (a() ?? W) || void 0,
5383
5385
  error: e.error,
5384
5386
  forceFocusStyle: e.forceFocusStyle,
5385
5387
  hasError: e.hasError,
@@ -5391,6 +5393,7 @@ const Vp = (e) => {
5391
5393
  label: e.label,
5392
5394
  labelProps: e.labelProps,
5393
5395
  maxLength: e.maxLength,
5396
+ charCounterMessage: e.charCounterMessage,
5394
5397
  multiline: e.multiline,
5395
5398
  placeholder: e.placeholder,
5396
5399
  value: e.value,
@@ -5399,7 +5402,7 @@ const Vp = (e) => {
5399
5402
  id: i.value,
5400
5403
  isAnyDisabled: c.value,
5401
5404
  helperId: A,
5402
- labelId: w,
5405
+ labelId: C,
5403
5406
  errorId: N,
5404
5407
  isFocus: l.value,
5405
5408
  input: Z,
@@ -5414,7 +5417,7 @@ const Vp = (e) => {
5414
5417
  }, {
5415
5418
  name: "LumxTextField",
5416
5419
  inheritAttrs: !1,
5417
- props: $()("class", "theme", "value", "error", "forceFocusStyle", "hasError", "afterElement", "helper", "icon", "isRequired", "isValid", "label", "labelProps", "maxLength", "isDisabled", "disabled", "multiline", "placeholder", "aria-disabled", "id", "clearButtonProps", "name", "type", "minimumRows", "inputRef", "textFieldRef"),
5420
+ props: $()("class", "theme", "value", "error", "forceFocusStyle", "hasError", "afterElement", "helper", "icon", "isRequired", "isValid", "label", "labelProps", "maxLength", "charCounterMessage", "isDisabled", "disabled", "multiline", "placeholder", "aria-disabled", "id", "clearButtonProps", "name", "type", "minimumRows", "inputRef", "textFieldRef"),
5418
5421
  emits: Wp
5419
5422
  }), Gp = /* @__PURE__ */ E((e, {
5420
5423
  emit: t,
@@ -5425,7 +5428,7 @@ const Vp = (e) => {
5425
5428
  anchorRef: r,
5426
5429
  setHandle: s,
5427
5430
  handle: i
5428
- } = xe(), {
5431
+ } = Pe(), {
5429
5432
  isOpen: l,
5430
5433
  setIsOpen: c
5431
5434
  } = Br(), d = R(null);
@@ -5459,29 +5462,29 @@ const Vp = (e) => {
5459
5462
  selectionMode: y,
5460
5463
  class: A,
5461
5464
  ...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)
5465
+ } = e, x = {
5466
+ onChange: (P, T, k) => t("change", P, T, k),
5467
+ onInput: (P) => t("change", P),
5468
+ onFocus: (P) => t("focus", P),
5469
+ onBlur: (P) => t("blur", P),
5470
+ onClear: (P) => t("clear", P)
5468
5471
  }, {
5469
- ariaDisabled: w,
5470
- ...k
5472
+ ariaDisabled: C,
5473
+ ...O
5471
5474
  } = N;
5472
5475
  return Sp({
5473
5476
  ...n,
5474
- ...k,
5475
- "aria-disabled": w ?? n.ariaDisabled,
5476
- ...P,
5477
+ ...O,
5478
+ "aria-disabled": C ?? n.ariaDisabled,
5479
+ ...x,
5477
5480
  listboxId: o,
5478
5481
  isOpen: l.value && (!!u.value?.optionsLength || h.value),
5479
5482
  filter: b,
5480
- textFieldRef: (x) => {
5481
- r.value = x, e.textFieldRef?.(x);
5483
+ textFieldRef: (P) => {
5484
+ r.value = P, e.textFieldRef?.(P);
5482
5485
  },
5483
- inputRef: (x) => {
5484
- d.value = x, e.inputRef?.(x);
5486
+ inputRef: (P) => {
5487
+ d.value = P, e.inputRef?.(P);
5485
5488
  },
5486
5489
  toggleButtonProps: g,
5487
5490
  handleToggle: f,
@@ -5494,7 +5497,7 @@ const Vp = (e) => {
5494
5497
  }, {
5495
5498
  name: "LumxComboboxInput",
5496
5499
  inheritAttrs: !1,
5497
- props: $()("class", "theme", "value", "error", "forceFocusStyle", "hasError", "afterElement", "helper", "icon", "isRequired", "isValid", "label", "labelProps", "maxLength", "isDisabled", "disabled", "aria-disabled", "multiline", "placeholder", "id", "clearButtonProps", "name", "type", "minimumRows", "inputRef", "textFieldRef", "toggleButtonProps", "onSelect", "filter", "openOnFocus", "selectionMode"),
5500
+ props: $()("class", "theme", "value", "error", "forceFocusStyle", "hasError", "afterElement", "helper", "icon", "isRequired", "isValid", "label", "labelProps", "maxLength", "charCounterMessage", "isDisabled", "disabled", "aria-disabled", "multiline", "placeholder", "id", "clearButtonProps", "name", "type", "minimumRows", "inputRef", "textFieldRef", "toggleButtonProps", "onSelect", "filter", "openOnFocus", "selectionMode"),
5498
5501
  emits: {
5499
5502
  select: (e) => !!e,
5500
5503
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
@@ -5508,7 +5511,7 @@ const Vp = (e) => {
5508
5511
  }
5509
5512
  }), Kp = "List", Nu = "lumx-list", {
5510
5513
  block: Xp
5511
- } = B(Nu), Yp = {}, pt = (e) => {
5514
+ } = F(Nu), Yp = {}, pt = (e) => {
5512
5515
  const {
5513
5516
  children: t,
5514
5517
  className: n,
@@ -5548,12 +5551,12 @@ const Zp = "lumx-combobox-list", Jp = (e) => {
5548
5551
  "aria-busy": n || void 0,
5549
5552
  children: a
5550
5553
  });
5551
- }, xu = /* @__PURE__ */ Symbol("combobox-list-context"), Qp = { type: "listbox" };
5554
+ }, Pu = /* @__PURE__ */ Symbol("combobox-list-context"), Qp = { type: "listbox" };
5552
5555
  function eg(e) {
5553
- je(xu, e);
5556
+ je(Pu, e);
5554
5557
  }
5555
5558
  function tg() {
5556
- return qe(xu, Qp);
5559
+ return qe(Pu, Qp);
5557
5560
  }
5558
5561
  const ng = /* @__PURE__ */ E((e, {
5559
5562
  slots: t
@@ -5561,7 +5564,7 @@ const ng = /* @__PURE__ */ E((e, {
5561
5564
  const n = D(), a = M(() => e.class), {
5562
5565
  listboxId: o,
5563
5566
  handle: r
5564
- } = xe(), s = R(null);
5567
+ } = Pe(), s = R(null);
5565
5568
  eg({
5566
5569
  type: e.type || "listbox"
5567
5570
  }), mt([r, s], ([d, u]) => {
@@ -5593,10 +5596,10 @@ const ng = /* @__PURE__ */ E((e, {
5593
5596
  // hyphenated prop names to camelCase (ariaLabel) internally, making it inaccessible
5594
5597
  // via props['aria-label']. Instead, we read it from attrs where Vue keeps the original name.
5595
5598
  props: $()("type", "class")
5596
- }), ag = "ListItem", Pu = "lumx-list-item", {
5599
+ }), ag = "ListItem", xu = "lumx-list-item", {
5597
5600
  block: og,
5598
5601
  element: jt
5599
- } = B(Pu), wu = {
5602
+ } = F(xu), wu = {
5600
5603
  size: H.regular
5601
5604
  }, tt = (e) => {
5602
5605
  const {
@@ -5644,7 +5647,7 @@ const ng = /* @__PURE__ */ E((e, {
5644
5647
  })]);
5645
5648
  };
5646
5649
  tt.displayName = ag;
5647
- tt.className = Pu;
5650
+ tt.className = xu;
5648
5651
  tt.defaultProps = wu;
5649
5652
  const Fr = (e) => {
5650
5653
  const {
@@ -5671,7 +5674,7 @@ function rg(e) {
5671
5674
  const sg = "lumx-combobox-option", {
5672
5675
  block: ig,
5673
5676
  element: Ii
5674
- } = B(sg), lg = (e, {
5677
+ } = F(sg), lg = (e, {
5675
5678
  Tooltip: t
5676
5679
  } = {}) => {
5677
5680
  const {
@@ -5695,7 +5698,7 @@ const sg = "lumx-combobox-option", {
5695
5698
  } = e;
5696
5699
  let A, N;
5697
5700
  l || (A = u ? "gridcell" : "option", N = u ? "row" : "none");
5698
- const P = Fr({
5701
+ const x = Fr({
5699
5702
  as: "button",
5700
5703
  ...g,
5701
5704
  id: c,
@@ -5707,9 +5710,9 @@ const sg = "lumx-combobox-option", {
5707
5710
  "aria-disabled": d ? "true" : void 0,
5708
5711
  role: A,
5709
5712
  children: o
5710
- }), w = t && b && !l ? m(t, b, rg(P) ? P : {
5711
- default: () => [P]
5712
- }) : P;
5713
+ }), C = t && b && !l ? m(t, b, rg(x) ? x : {
5714
+ default: () => [x]
5715
+ }) : x;
5713
5716
  return tt({
5714
5717
  ref: p,
5715
5718
  size: "tiny",
@@ -5719,7 +5722,7 @@ const sg = "lumx-combobox-option", {
5719
5722
  before: n,
5720
5723
  after: a,
5721
5724
  role: N,
5722
- children: m(ne, null, [w, s && m("p", S({
5725
+ children: m(ne, null, [C, s && m("p", S({
5723
5726
  id: i
5724
5727
  }, zc({
5725
5728
  className: Ii("description"),
@@ -5747,7 +5750,7 @@ const dg = {
5747
5750
  type: r
5748
5751
  } = tg(), {
5749
5752
  handle: s
5750
- } = xe(), i = r === "grid", l = re(), c = re(), d = R(null), u = R(!1);
5753
+ } = Pe(), i = r === "grid", l = re(), c = re(), d = R(null), u = R(!1);
5751
5754
  cg({
5752
5755
  optionId: l
5753
5756
  }), mt([s, d], ([p, b]) => {
@@ -5851,7 +5854,7 @@ function pg(e) {
5851
5854
  const gg = "lumx-combobox-option-more-info", {
5852
5855
  block: vg,
5853
5856
  element: bg
5854
- } = B(gg), yg = (e, {
5857
+ } = F(gg), yg = (e, {
5855
5858
  IconButton: t,
5856
5859
  Popover: n
5857
5860
  }) => {
@@ -5867,7 +5870,7 @@ const gg = "lumx-combobox-option-more-info", {
5867
5870
  } = e;
5868
5871
  return m(ne, null, [m(t, S({
5869
5872
  ref: i,
5870
- icon: xd,
5873
+ icon: Pd,
5871
5874
  size: "s"
5872
5875
  }, d, {
5873
5876
  className: vg([o, d?.className]),
@@ -5908,13 +5911,13 @@ const gg = "lumx-combobox-option-more-info", {
5908
5911
  }, Sg = {
5909
5912
  MIN_WIDTH: "minWidth"
5910
5913
  }, qa = 14, Ng = 9999;
5911
- function xg(e) {
5914
+ function Pg(e) {
5912
5915
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !K(e);
5913
5916
  }
5914
- const Pg = "lumx-popover", {
5917
+ const xg = "lumx-popover", {
5915
5918
  block: wg,
5916
5919
  element: Cg
5917
- } = B(Pg), Wt = {
5920
+ } = F(xg), Wt = {
5918
5921
  closeMode: "unmount",
5919
5922
  elevation: 3,
5920
5923
  placement: Ag.AUTO,
@@ -5944,31 +5947,31 @@ const Pg = "lumx-popover", {
5944
5947
  clickAwayRefs: A,
5945
5948
  unmountSentinel: N,
5946
5949
  // Forwarded props
5947
- ...P
5948
- } = e, w = !d && i === "hide", k = d || i === "hide", x = o, T = Math.min(l || 0, 5);
5949
- return k ? m(t, {
5950
+ ...x
5951
+ } = e, C = !d && i === "hide", O = d || i === "hide", P = o, T = Math.min(l || 0, 5);
5952
+ return O ? m(t, {
5950
5953
  enabled: v
5951
5954
  }, {
5952
- default: () => [m(x, S(P, {
5955
+ default: () => [m(P, S(x, {
5953
5956
  ref: p,
5954
5957
  className: L(s, wg({
5955
5958
  [`theme-${g}`]: !!g,
5956
5959
  [`elevation-${T}`]: !!T,
5957
5960
  [`position-${u}`]: !!u,
5958
- "is-hidden": !!w
5961
+ "is-hidden": !!C
5959
5962
  })),
5960
- hidden: w || void 0,
5961
- style: w ? void 0 : h,
5963
+ hidden: C || void 0,
5964
+ style: C ? void 0 : h,
5962
5965
  "data-popper-placement": u
5963
5966
  }), {
5964
5967
  default: () => [N, m(n, {
5965
- callback: !w && y,
5968
+ callback: !C && y,
5966
5969
  childrenRefs: A
5967
5970
  }, {
5968
5971
  default: () => [c && m("div", {
5969
5972
  ref: b,
5970
5973
  className: Cg("arrow"),
5971
- style: w ? void 0 : f
5974
+ style: C ? void 0 : f
5972
5975
  }, [m("svg", {
5973
5976
  viewBox: "0 0 14 14",
5974
5977
  "aria-hidden": !0
@@ -5976,7 +5979,7 @@ const Pg = "lumx-popover", {
5976
5979
  d: "M8 3.49C7.62 2.82 6.66 2.82 6.27 3.48L.04 14 14.04 14 8 3.49Z"
5977
5980
  }, null)])]), m(a, {
5978
5981
  value: g
5979
- }, xg(r) ? r : {
5982
+ }, Pg(r) ? r : {
5980
5983
  default: () => [r]
5981
5984
  })]
5982
5985
  })]
@@ -6012,17 +6015,17 @@ function Ig(e) {
6012
6015
  boundary: u,
6013
6016
  parsedPlacement: h,
6014
6017
  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(
6018
+ } = 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), C = t?.along ?? 0;
6019
+ return N.push(lu({ mainAxis: x, crossAxis: C })), h.isAuto ? N.push(
6017
6020
  Jm({ ...u ? { boundary: u } : {}, alignment: h.autoAlignment })
6018
6021
  ) : (N.push(ep(u ? { boundary: u } : {})), N.push(Qm(u ? { boundary: u } : {}))), (a || o || g || p || b || v || y || A) && N.push(
6019
6022
  tp({
6020
6023
  ...u ? { boundary: u } : {},
6021
- apply({ availableHeight: x, rects: T, elements: O }) {
6024
+ apply({ availableHeight: P, rects: T, elements: k }) {
6022
6025
  const _ = `${T.reference.width}px`;
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`;
6025
- O.floating.style.maxHeight = Li(
6026
+ k.floating.style.width = g || (a === "width" ? _ : ""), k.floating.style.minWidth = _g(p, a === "minWidth" ? _ : ""), k.floating.style.maxWidth = Li(b, a === "maxWidth" ? _ : ""), k.floating.style.height = v || "", k.floating.style.minHeight = y || "";
6027
+ const q = `${Math.max(0, P - qa)}px`;
6028
+ k.floating.style.maxHeight = Li(
6026
6029
  A,
6027
6030
  o ? q : ""
6028
6031
  );
@@ -6041,7 +6044,7 @@ function Eg(e) {
6041
6044
  return e.isAuto ? void 0 : e.floatingPlacement;
6042
6045
  }
6043
6046
  function $g(e) {
6044
- const t = R(), n = R(), a = C(() => kg(e.placement?.value)), o = C(() => Tg(e.fitToAnchorWidth?.value)), r = C(
6047
+ const t = R(), n = R(), a = w(() => kg(e.placement?.value)), o = w(() => Tg(e.fitToAnchorWidth?.value)), r = w(
6045
6048
  () => Ig({
6046
6049
  offset: e.offset?.value,
6047
6050
  hasArrow: e.hasArrow?.value,
@@ -6057,7 +6060,7 @@ function $g(e) {
6057
6060
  parsedPlacement: a.value,
6058
6061
  arrowElement: n.value
6059
6062
  })
6060
- ), s = C(() => Eg(a.value)), {
6063
+ ), s = w(() => Eg(a.value)), {
6061
6064
  floatingStyles: i,
6062
6065
  placement: l,
6063
6066
  isPositioned: c,
@@ -6066,9 +6069,9 @@ function $g(e) {
6066
6069
  placement: s,
6067
6070
  whileElementsMounted: iu,
6068
6071
  middleware: r
6069
- }), u = C(
6072
+ }), u = w(
6070
6073
  () => l.value ?? e.placement?.value
6071
- ), h = C(() => Lg(d.value?.arrow)), f = C(() => ({
6074
+ ), h = w(() => Lg(d.value?.arrow)), f = w(() => ({
6072
6075
  ...e.style?.value || {},
6073
6076
  ...i.value,
6074
6077
  zIndex: e.zIndex?.value
@@ -6095,7 +6098,7 @@ const Rg = {
6095
6098
  slots: n,
6096
6099
  attrs: a
6097
6100
  }) => {
6098
- const o = M(() => e.class), r = C(() => Pt(e.anchorRef)), s = Q(e, "focusElement"), {
6101
+ const o = M(() => e.class), r = w(() => xt(e.anchorRef)), s = Q(e, "focusElement"), {
6099
6102
  styles: i,
6100
6103
  isPositioned: l,
6101
6104
  position: c,
@@ -6103,7 +6106,7 @@ const Rg = {
6103
6106
  arrowRef: u
6104
6107
  } = $g({
6105
6108
  anchorRef: r,
6106
- boundaryRef: C(() => Pt(e.boundaryRef)),
6109
+ boundaryRef: w(() => xt(e.boundaryRef)),
6107
6110
  offset: Q(e, "offset"),
6108
6111
  hasArrow: Q(e, "hasArrow"),
6109
6112
  fitToAnchorWidth: Q(e, "fitToAnchorWidth"),
@@ -6114,21 +6117,21 @@ const Rg = {
6114
6117
  height: Q(e, "height"),
6115
6118
  minHeight: Q(e, "minHeight"),
6116
6119
  maxHeight: Q(e, "maxHeight"),
6117
- placement: C(() => e.placement || Wt.placement),
6118
- style: C(() => {
6120
+ placement: w(() => e.placement || Wt.placement),
6121
+ style: w(() => {
6119
6122
  }),
6120
- zIndex: C(() => e.zIndex ?? Ng)
6123
+ zIndex: w(() => e.zIndex ?? Ng)
6121
6124
  });
6122
- Or(C(() => e.focusAnchorOnClose ?? !0), r, C(() => e.parentElement), d, C(() => !!e.isOpen));
6125
+ Or(w(() => e.focusAnchorOnClose ?? !0), r, w(() => e.parentElement), d, w(() => !!e.isOpen));
6123
6126
  const h = () => {
6124
6127
  t("close");
6125
6128
  };
6126
- ln(C(() => h), C(() => !!(e.isOpen && e.closeOnEscape)));
6127
- const f = C(() => !e.withFocusTrap && !!e.isOpen && l.value);
6129
+ ln(w(() => h), w(() => !!(e.isOpen && e.closeOnEscape)));
6130
+ const f = w(() => !e.withFocusTrap && !!e.isOpen && l.value);
6128
6131
  Mg(s, f);
6129
- const g = C(() => !e.withFocusTrap || !e.isOpen ? !1 : e.focusTrapZoneElement || d.value || !1);
6132
+ const g = w(() => !e.withFocusTrap || !e.isOpen ? !1 : e.focusTrapZoneElement || d.value || !1);
6130
6133
  Cr(g, s);
6131
- const p = C(() => [d, r]);
6134
+ const p = w(() => [d, r]);
6132
6135
  return () => Og({
6133
6136
  ...a,
6134
6137
  as: e.as,
@@ -6164,7 +6167,7 @@ function Dg(e) {
6164
6167
  const ku = /* @__PURE__ */ E((e, {
6165
6168
  slots: t
6166
6169
  }) => {
6167
- const n = M(() => e.class), a = R(null), o = C(() => a.value?.$el ?? void 0), r = R(!1), {
6170
+ const n = M(() => e.class), a = R(null), o = w(() => a.value?.$el ?? void 0), r = R(!1), {
6168
6171
  optionId: s
6169
6172
  } = ug(), i = ye("activeDescendantChange", null), l = `${s}-more-info`;
6170
6173
  function c(u) {
@@ -6229,7 +6232,7 @@ const ku = /* @__PURE__ */ E((e, {
6229
6232
  }), Bg = "lumx-skeleton-typography", {
6230
6233
  block: Fg,
6231
6234
  element: qg
6232
- } = B(Bg), ir = (e) => {
6235
+ } = F(Bg), ir = (e) => {
6233
6236
  const {
6234
6237
  className: t,
6235
6238
  theme: n,
@@ -6287,7 +6290,7 @@ const ku = /* @__PURE__ */ E((e, {
6287
6290
  }) => {
6288
6291
  const a = M(() => e.class), {
6289
6292
  handle: o
6290
- } = xe();
6293
+ } = Pe();
6291
6294
  return mt(o, (r) => r?.registerSkeleton()), () => {
6292
6295
  const r = n.before, s = n.after, i = t.default?.();
6293
6296
  return Hg({
@@ -6310,7 +6313,7 @@ function Vg(e) {
6310
6313
  const Wg = "lumx-combobox-popover", {
6311
6314
  block: Ug,
6312
6315
  element: Gg
6313
- } = B(Wg), Kg = (e, {
6316
+ } = F(Wg), Kg = (e, {
6314
6317
  Popover: t,
6315
6318
  FlexBox: n
6316
6319
  }) => {
@@ -6363,7 +6366,7 @@ function Xg() {
6363
6366
  var Yg = Xg();
6364
6367
  const qr = /* @__PURE__ */ Te(Yg), Zg = "lumx-flex-box", {
6365
6368
  block: Jg
6366
- } = B(Zg);
6369
+ } = F(Zg);
6367
6370
  function Qg(e) {
6368
6371
  const {
6369
6372
  className: t,
@@ -6417,10 +6420,10 @@ const yn = /* @__PURE__ */ E((e, {
6417
6420
  }) => {
6418
6421
  const n = M(() => e.class), {
6419
6422
  anchorRef: a
6420
- } = xe(), {
6423
+ } = Pe(), {
6421
6424
  isOpen: o,
6422
6425
  setIsOpen: r
6423
- } = Br(), s = C(() => a.value ?? void 0);
6426
+ } = Br(), s = w(() => a.value ?? void 0);
6424
6427
  return () => {
6425
6428
  const {
6426
6429
  class: i,
@@ -6541,7 +6544,7 @@ const Iu = /* @__PURE__ */ E((e) => {
6541
6544
  isAnyDisabled: r,
6542
6545
  disabledStateProps: s,
6543
6546
  otherProps: i
6544
- } = te(C(() => ({
6547
+ } = te(w(() => ({
6545
6548
  ...e,
6546
6549
  ...a
6547
6550
  }))), l = (c) => {
@@ -6575,7 +6578,7 @@ const Iu = /* @__PURE__ */ E((e) => {
6575
6578
  isAnyDisabled: s,
6576
6579
  disabledStateProps: i,
6577
6580
  otherProps: l
6578
- } = te(C(() => ({
6581
+ } = te(w(() => ({
6579
6582
  ...e,
6580
6583
  ...a
6581
6584
  }))), c = (d) => {
@@ -6607,7 +6610,7 @@ const Iu = /* @__PURE__ */ E((e) => {
6607
6610
  }), dv = "ListSection", Lu = "lumx-list-section", {
6608
6611
  block: fv,
6609
6612
  element: $i
6610
- } = B(Lu), hv = {}, Sn = (e) => {
6613
+ } = F(Lu), hv = {}, Sn = (e) => {
6611
6614
  const {
6612
6615
  children: t,
6613
6616
  className: n,
@@ -6659,7 +6662,7 @@ const mv = /* @__PURE__ */ E((e, {
6659
6662
  }) => {
6660
6663
  const n = M(() => e.class), {
6661
6664
  handle: a
6662
- } = xe(), o = R(null), r = ic({
6665
+ } = Pe(), o = R(null), r = ic({
6663
6666
  hidden: !1,
6664
6667
  "aria-hidden": !1
6665
6668
  });
@@ -6698,7 +6701,7 @@ function bt(e) {
6698
6701
  }
6699
6702
  const pv = "lumx-combobox-state", {
6700
6703
  block: gv
6701
- } = B(pv), vv = (e, {
6704
+ } = F(pv), vv = (e, {
6702
6705
  GenericBlock: t,
6703
6706
  Text: n
6704
6707
  }) => {
@@ -6771,7 +6774,7 @@ function Ha(e) {
6771
6774
  const Av = "lumx-generic-block", {
6772
6775
  block: Sv,
6773
6776
  element: za
6774
- } = B(Av), Mi = {
6777
+ } = F(Av), Mi = {
6775
6778
  gap: H.big,
6776
6779
  orientation: ct.horizontal
6777
6780
  }, Nv = (e) => {
@@ -6813,7 +6816,7 @@ const Av = "lumx-generic-block", {
6813
6816
  default: () => [r]
6814
6817
  })]
6815
6818
  });
6816
- }, xv = /* @__PURE__ */ E((e, {
6819
+ }, Pv = /* @__PURE__ */ E((e, {
6817
6820
  slots: t
6818
6821
  }) => {
6819
6822
  const n = D(), a = M(() => e.class);
@@ -6861,7 +6864,7 @@ function Nn() {
6861
6864
  return Va = a, Va;
6862
6865
  }
6863
6866
  var Wa, Di;
6864
- function Pv() {
6867
+ function xv() {
6865
6868
  if (Di) return Wa;
6866
6869
  Di = 1;
6867
6870
  var e = Je(), t = Nn(), n = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, a = /^\w*$/;
@@ -6874,7 +6877,7 @@ function Pv() {
6874
6877
  return Wa = o, Wa;
6875
6878
  }
6876
6879
  var Ua, Bi;
6877
- function xn() {
6880
+ function Pn() {
6878
6881
  if (Bi) return Ua;
6879
6882
  Bi = 1;
6880
6883
  var e = Ze(), t = e(Object, "create");
@@ -6884,7 +6887,7 @@ var Ga, Fi;
6884
6887
  function wv() {
6885
6888
  if (Fi) return Ga;
6886
6889
  Fi = 1;
6887
- var e = xn();
6890
+ var e = Pn();
6888
6891
  function t() {
6889
6892
  this.__data__ = e ? e(null) : {}, this.size = 0;
6890
6893
  }
@@ -6904,7 +6907,7 @@ var Xa, ji;
6904
6907
  function Ov() {
6905
6908
  if (ji) return Xa;
6906
6909
  ji = 1;
6907
- var e = xn(), t = "__lodash_hash_undefined__", n = Object.prototype, a = n.hasOwnProperty;
6910
+ var e = Pn(), t = "__lodash_hash_undefined__", n = Object.prototype, a = n.hasOwnProperty;
6908
6911
  function o(r) {
6909
6912
  var s = this.__data__;
6910
6913
  if (e) {
@@ -6919,7 +6922,7 @@ var Ya, Hi;
6919
6922
  function kv() {
6920
6923
  if (Hi) return Ya;
6921
6924
  Hi = 1;
6922
- var e = xn(), t = Object.prototype, n = t.hasOwnProperty;
6925
+ var e = Pn(), t = Object.prototype, n = t.hasOwnProperty;
6923
6926
  function a(o) {
6924
6927
  var r = this.__data__;
6925
6928
  return e ? r[o] !== void 0 : n.call(r, o);
@@ -6930,7 +6933,7 @@ var Za, zi;
6930
6933
  function Tv() {
6931
6934
  if (zi) return Za;
6932
6935
  zi = 1;
6933
- var e = xn(), t = "__lodash_hash_undefined__";
6936
+ var e = Pn(), t = "__lodash_hash_undefined__";
6934
6937
  function n(a, o) {
6935
6938
  var r = this.__data__;
6936
6939
  return this.size += this.has(a) ? 0 : 1, r[a] = e && o === void 0 ? t : o, this;
@@ -6970,7 +6973,7 @@ function $u() {
6970
6973
  return eo = e, eo;
6971
6974
  }
6972
6975
  var to, Gi;
6973
- function Pn() {
6976
+ function xn() {
6974
6977
  if (Gi) return to;
6975
6978
  Gi = 1;
6976
6979
  var e = $u();
@@ -6986,7 +6989,7 @@ var no, Ki;
6986
6989
  function Lv() {
6987
6990
  if (Ki) return no;
6988
6991
  Ki = 1;
6989
- var e = Pn(), t = Array.prototype, n = t.splice;
6992
+ var e = xn(), t = Array.prototype, n = t.splice;
6990
6993
  function a(o) {
6991
6994
  var r = this.__data__, s = e(r, o);
6992
6995
  if (s < 0)
@@ -7000,7 +7003,7 @@ var ao, Xi;
7000
7003
  function Ev() {
7001
7004
  if (Xi) return ao;
7002
7005
  Xi = 1;
7003
- var e = Pn();
7006
+ var e = xn();
7004
7007
  function t(n) {
7005
7008
  var a = this.__data__, o = e(a, n);
7006
7009
  return o < 0 ? void 0 : a[o][1];
@@ -7011,7 +7014,7 @@ var oo, Yi;
7011
7014
  function $v() {
7012
7015
  if (Yi) return oo;
7013
7016
  Yi = 1;
7014
- var e = Pn();
7017
+ var e = xn();
7015
7018
  function t(n) {
7016
7019
  return e(this.__data__, n) > -1;
7017
7020
  }
@@ -7021,7 +7024,7 @@ var ro, Zi;
7021
7024
  function Mv() {
7022
7025
  if (Zi) return ro;
7023
7026
  Zi = 1;
7024
- var e = Pn();
7027
+ var e = xn();
7025
7028
  function t(n, a) {
7026
7029
  var o = this.__data__, r = e(o, n);
7027
7030
  return r < 0 ? (++this.size, o.push([n, a])) : o[r][1] = a, this;
@@ -7208,7 +7211,7 @@ var So, fl;
7208
7211
  function Cn() {
7209
7212
  if (fl) return So;
7210
7213
  fl = 1;
7211
- var e = Je(), t = Pv(), n = Uv(), a = Kv();
7214
+ var e = Je(), t = xv(), n = Uv(), a = Kv();
7212
7215
  function o(r, s) {
7213
7216
  return e(r) ? r : t(r, s) ? [r] : n(a(r));
7214
7217
  }
@@ -7227,9 +7230,9 @@ function jr() {
7227
7230
  }
7228
7231
  return No = t, No;
7229
7232
  }
7230
- var xo, ml;
7233
+ var Po, ml;
7231
7234
  function Xv() {
7232
- if (ml) return xo;
7235
+ if (ml) return Po;
7233
7236
  ml = 1;
7234
7237
  var e = Cn(), t = jr();
7235
7238
  function n(a, o) {
@@ -7238,11 +7241,11 @@ function Xv() {
7238
7241
  a = a[t(o[r++])];
7239
7242
  return r && r == s ? a : void 0;
7240
7243
  }
7241
- return xo = n, xo;
7244
+ return Po = n, Po;
7242
7245
  }
7243
- var Po, pl;
7246
+ var xo, pl;
7244
7247
  function Yv() {
7245
- if (pl) return Po;
7248
+ if (pl) return xo;
7246
7249
  pl = 1;
7247
7250
  var e = _c();
7248
7251
  function t(n, a, o) {
@@ -7253,7 +7256,7 @@ function Yv() {
7253
7256
  writable: !0
7254
7257
  }) : n[a] = o;
7255
7258
  }
7256
- return Po = t, Po;
7259
+ return xo = t, xo;
7257
7260
  }
7258
7261
  var wo, gl;
7259
7262
  function Zv() {
@@ -7350,10 +7353,10 @@ function tb() {
7350
7353
  }
7351
7354
  return Io = n, Io;
7352
7355
  }
7353
- var Lo, xl;
7356
+ var Lo, Pl;
7354
7357
  function nb() {
7355
- if (xl) return Lo;
7356
- xl = 1;
7358
+ if (Pl) return Lo;
7359
+ Pl = 1;
7357
7360
  var e = Jv(), t = tb();
7358
7361
  function n(a, o) {
7359
7362
  return e(a, o, function(r, s) {
@@ -7362,10 +7365,10 @@ function nb() {
7362
7365
  }
7363
7366
  return Lo = n, Lo;
7364
7367
  }
7365
- var Eo, Pl;
7368
+ var Eo, xl;
7366
7369
  function ab() {
7367
- if (Pl) return Eo;
7368
- Pl = 1;
7370
+ if (xl) return Eo;
7371
+ xl = 1;
7369
7372
  function e(t, n) {
7370
7373
  for (var a = -1, o = n.length, r = t.length; ++a < o; )
7371
7374
  t[r + a] = n[a];
@@ -7432,7 +7435,7 @@ var cb = lb();
7432
7435
  const ub = /* @__PURE__ */ Te(cb), NN = ub(H, ["tiny", "regular", "medium", "big", "huge"]), db = /* @__PURE__ */ E((e) => {
7433
7436
  const {
7434
7437
  handle: t
7435
- } = xe(), n = ye("optionsChange", void 0), a = R(!1), o = R(!1), r = R(!1);
7438
+ } = Pe(), n = ye("optionsChange", void 0), a = R(!1), o = R(!1), r = R(!1);
7436
7439
  return mt(t, (s) => {
7437
7440
  if (s)
7438
7441
  return yv(s, {
@@ -7460,7 +7463,7 @@ const ub = /* @__PURE__ */ Te(cb), NN = ub(H, ["tiny", "regular", "medium", "big
7460
7463
  loadingMessage: i,
7461
7464
  state: s
7462
7465
  }, {
7463
- GenericBlock: xv,
7466
+ GenericBlock: Pv,
7464
7467
  Text: me
7465
7468
  });
7466
7469
  };
@@ -7495,7 +7498,7 @@ const ub = /* @__PURE__ */ Te(cb), NN = ub(H, ["tiny", "regular", "medium", "big
7495
7498
  Divider: Iu
7496
7499
  }, fb = "Badge", Bu = "lumx-badge", {
7497
7500
  block: hb
7498
- } = B(Bu), Fu = {
7501
+ } = F(Bu), Fu = {
7499
7502
  color: G.primary
7500
7503
  }, On = (e) => {
7501
7504
  const {
@@ -7516,7 +7519,7 @@ const ub = /* @__PURE__ */ Te(cb), NN = ub(H, ["tiny", "regular", "medium", "big
7516
7519
  On.displayName = fb;
7517
7520
  On.className = Bu;
7518
7521
  On.defaultProps = Fu;
7519
- const xN = /* @__PURE__ */ E((e, {
7522
+ const PN = /* @__PURE__ */ E((e, {
7520
7523
  slots: t
7521
7524
  }) => {
7522
7525
  const n = D(), a = M(() => e.class);
@@ -7532,7 +7535,7 @@ const xN = /* @__PURE__ */ E((e, {
7532
7535
  }), mb = "lumx-badge-wrapper", {
7533
7536
  block: pb,
7534
7537
  element: gb
7535
- } = B(mb), vb = (e) => {
7538
+ } = F(mb), vb = (e) => {
7536
7539
  const {
7537
7540
  badge: t,
7538
7541
  children: n,
@@ -7547,7 +7550,7 @@ const xN = /* @__PURE__ */ E((e, {
7547
7550
  }), [n, t && m("div", {
7548
7551
  className: gb("badge")
7549
7552
  }, [t])]);
7550
- }, PN = /* @__PURE__ */ E((e, {
7553
+ }, xN = /* @__PURE__ */ E((e, {
7551
7554
  slots: t
7552
7555
  }) => {
7553
7556
  const n = D(), a = M(() => e.class);
@@ -7563,7 +7566,7 @@ const xN = /* @__PURE__ */ E((e, {
7563
7566
  }), qu = "intermediate", bb = "lumx-checkbox", {
7564
7567
  block: yb,
7565
7568
  element: Ie
7566
- } = B(bb), Ab = (e) => {
7569
+ } = F(bb), Ab = (e) => {
7567
7570
  const {
7568
7571
  checked: t,
7569
7572
  className: n,
@@ -7635,14 +7638,14 @@ const xN = /* @__PURE__ */ E((e, {
7635
7638
  }, wN = /* @__PURE__ */ E((e, {
7636
7639
  emit: t
7637
7640
  }) => {
7638
- const n = D(), a = U(), o = M(() => e.class), r = re(), s = C(() => e.id || r), i = R(null), {
7641
+ const n = D(), a = U(), o = M(() => e.class), r = re(), s = w(() => e.id || r), i = R(null), {
7639
7642
  isAnyDisabled: l,
7640
7643
  disabledStateProps: c,
7641
7644
  otherProps: d
7642
- } = te(C(() => ({
7645
+ } = te(w(() => ({
7643
7646
  ...e,
7644
7647
  ...n
7645
- }))), u = C(() => e.isChecked === qu);
7648
+ }))), u = w(() => e.isChecked === qu);
7646
7649
  X(u, (f) => {
7647
7650
  i.value && (i.value.indeterminate = f);
7648
7651
  }, {
@@ -7674,9 +7677,9 @@ const xN = /* @__PURE__ */ E((e, {
7674
7677
  }), kt = "lumx-chip", {
7675
7678
  block: Nb,
7676
7679
  element: Fo
7677
- } = B(kt), xb = {
7680
+ } = F(kt), Pb = {
7678
7681
  size: H.m
7679
- }, Pb = (e) => {
7682
+ }, xb = (e) => {
7680
7683
  const {
7681
7684
  after: t,
7682
7685
  before: n,
@@ -7692,33 +7695,33 @@ const xN = /* @__PURE__ */ E((e, {
7692
7695
  hasAfterClick: h,
7693
7696
  hasBeforeClick: f,
7694
7697
  hasOnClick: g,
7695
- size: p = xb.size,
7698
+ size: p = Pb.size,
7696
7699
  theme: b,
7697
7700
  ref: v,
7698
7701
  href: y,
7699
7702
  handleKeyDown: A,
7700
7703
  disabledStateProps: N,
7701
- isAnyDisabled: P,
7702
- keyDownProp: w = "onKeyDown",
7703
- tabIndexProp: k = "tabIndex",
7704
- ...x
7705
- } = e, T = g && !y, O = !!g || !!y || s, _ = r || (b === he.light ? G.dark : G.light), q = (I) => {
7704
+ isAnyDisabled: x,
7705
+ keyDownProp: C = "onKeyDown",
7706
+ tabIndexProp: O = "tabIndex",
7707
+ ...P
7708
+ } = e, T = g && !y, k = !!g || !!y || s, _ = r || (b === he.light ? G.dark : G.light), q = (I) => {
7706
7709
  A?.(I), g && u && Hd(u)(I);
7707
7710
  }, j = {
7708
- [w]: q,
7709
- [k]: O && !N.disabled ? 0 : void 0
7711
+ [C]: q,
7712
+ [O]: k && !N.disabled ? 0 : void 0
7710
7713
  };
7711
7714
  return (
7712
7715
  // eslint-disable-next-line jsx-a11y/no-static-element-interactions
7713
7716
  m("a", S({
7714
7717
  role: T ? "button" : void 0
7715
- }, j, x, {
7718
+ }, j, P, {
7716
7719
  href: N.disabled ? void 0 : y,
7717
7720
  ref: v,
7718
7721
  className: L(o, Nb({
7719
- "is-clickable": O,
7722
+ "is-clickable": k,
7720
7723
  [`color-${_}`]: !!_,
7721
- "is-disabled": P,
7724
+ "is-disabled": x,
7722
7725
  "has-after": !!t,
7723
7726
  "has-before": !!n,
7724
7727
  "is-highlighted": !!i,
@@ -7726,7 +7729,7 @@ const xN = /* @__PURE__ */ E((e, {
7726
7729
  [`size-${p}`]: !!p,
7727
7730
  "is-unselected": !l
7728
7731
  })),
7729
- "aria-disabled": O && P || void 0,
7732
+ "aria-disabled": k && x || void 0,
7730
7733
  onClick: g ? u : void 0
7731
7734
  }), [n && // eslint-disable-next-line jsx-a11y/click-events-have-key-events,jsx-a11y/no-static-element-interactions
7732
7735
  m("div", {
@@ -7756,7 +7759,7 @@ const xN = /* @__PURE__ */ E((e, {
7756
7759
  isAnyDisabled: c,
7757
7760
  disabledStateProps: d,
7758
7761
  otherProps: u
7759
- } = te(C(() => ({
7762
+ } = te(w(() => ({
7760
7763
  ...e,
7761
7764
  ...a
7762
7765
  }))), h = (b) => {
@@ -7768,7 +7771,7 @@ const xN = /* @__PURE__ */ E((e, {
7768
7771
  }, p = (b) => {
7769
7772
  c.value || t("keydown", b);
7770
7773
  };
7771
- return () => m(Pb, S(u.value, {
7774
+ return () => m(xb, S(u.value, {
7772
7775
  className: r.value,
7773
7776
  theme: e.theme || o.value,
7774
7777
  handleClick: h,
@@ -7822,7 +7825,7 @@ function Tb(e) {
7822
7825
  const _b = "lumx-selection-chip-group", {
7823
7826
  block: Ib,
7824
7827
  element: Lb
7825
- } = B(_b), Eb = (e, {
7828
+ } = F(_b), Eb = (e, {
7826
7829
  Chip: t,
7827
7830
  ChipGroup: n,
7828
7831
  Icon: a,
@@ -7851,31 +7854,31 @@ const _b = "lumx-selection-chip-group", {
7851
7854
  "aria-orientation": "horizontal",
7852
7855
  className: Ib([g])
7853
7856
  }), 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;
7857
+ const A = c && se(c, y) || se(l, y), N = se(l, y), x = p?.(y) || {}, C = x.isDisabled || h, O = typeof x.children == "string" ? x.children : A, P = u ? `${O} - ${u}` : O;
7855
7858
  return m(r, {
7856
7859
  key: N,
7857
- label: w ? void 0 : x
7860
+ label: C ? void 0 : P
7858
7861
  }, {
7859
7862
  default: () => [m(t, S({
7860
- "aria-label": x
7861
- }, P, {
7863
+ "aria-label": P
7864
+ }, x, {
7862
7865
  size: "s",
7863
7866
  after: m(a, {
7864
7867
  icon: yr
7865
7868
  }, null),
7866
- className: Lb("chip", [P.className]),
7869
+ className: Lb("chip", [x.className]),
7867
7870
  "data-option-id": N,
7868
7871
  isClickable: !0,
7869
7872
  role: "option",
7870
7873
  "aria-selected": "true",
7871
7874
  theme: f,
7872
- isDisabled: w
7875
+ isDisabled: C
7873
7876
  }), {
7874
7877
  default: () => [m(o, {
7875
7878
  as: "span",
7876
7879
  truncate: !0
7877
7880
  }, {
7878
- default: () => [P.children || A]
7881
+ default: () => [x.children || A]
7879
7882
  })]
7880
7883
  })]
7881
7884
  });
@@ -7966,7 +7969,7 @@ const Hu = (e) => (t) => K(t) && t.type === e, Rb = {
7966
7969
  });
7967
7970
  c(d);
7968
7971
  });
7969
- const l = C(i);
7972
+ const l = w(i);
7970
7973
  return ju({
7971
7974
  containerRef: l,
7972
7975
  itemSelector: `.${kt}`,
@@ -8021,7 +8024,7 @@ const Hu = (e) => (t) => K(t) && t.type === e, Rb = {
8021
8024
  ), Bb = "lumx-lightbox", {
8022
8025
  block: Fb,
8023
8026
  element: El
8024
- } = B(Bb), qb = (e) => {
8027
+ } = F(Bb), qb = (e) => {
8025
8028
  const {
8026
8029
  "aria-labelledby": t,
8027
8030
  ariaLabelledBy: n = t,
@@ -8043,10 +8046,10 @@ const Hu = (e) => (t) => K(t) && t.type === e, Rb = {
8043
8046
  HeadingLevelProvider: y,
8044
8047
  ThemeProvider: A,
8045
8048
  ClickAwayProvider: N,
8046
- childrenRef: P,
8047
- clickAwayRefs: w,
8048
- closeButtonRef: k,
8049
- IconButton: x,
8049
+ childrenRef: x,
8050
+ clickAwayRefs: C,
8051
+ closeButtonRef: O,
8052
+ IconButton: P,
8050
8053
  ...T
8051
8054
  } = e;
8052
8055
  return !l && !p ? null : m(v, null, {
@@ -8068,8 +8071,8 @@ const Hu = (e) => (t) => K(t) && t.type === e, Rb = {
8068
8071
  }
8069
8072
  }), [i && m("div", {
8070
8073
  className: El("close")
8071
- }, [m(x, S(i, {
8072
- ref: k,
8074
+ }, [m(P, S(i, {
8075
+ ref: O,
8073
8076
  emphasis: "low",
8074
8077
  hasBackground: !0,
8075
8078
  icon: yr,
@@ -8084,10 +8087,10 @@ const Hu = (e) => (t) => K(t) && t.type === e, Rb = {
8084
8087
  }, {
8085
8088
  default: () => [m(N, {
8086
8089
  callback: !h && c,
8087
- childrenRefs: w
8090
+ childrenRefs: C
8088
8091
  }, {
8089
8092
  default: () => [m("div", {
8090
- ref: P,
8093
+ ref: x,
8091
8094
  className: El("wrapper"),
8092
8095
  role: "presentation"
8093
8096
  }, [r])]
@@ -8103,14 +8106,14 @@ const Hu = (e) => (t) => K(t) && t.type === e, Rb = {
8103
8106
  attrs: a
8104
8107
  }) => {
8105
8108
  const o = M(() => e.class), r = R(null), s = R(null), i = () => t("close");
8106
- ln(i, C(() => !!(e.isOpen && !e.preventAutoClose)));
8107
- const l = C(() => e.isOpen && r.value || !1);
8108
- Cr(l, C(() => {
8109
+ ln(i, w(() => !!(e.isOpen && !e.preventAutoClose)));
8110
+ const l = w(() => e.isOpen && r.value || !1);
8111
+ Cr(l, w(() => {
8109
8112
  const h = s.value?.$el ?? s.value;
8110
8113
  return e.focusElement || h || r.value;
8111
- })), Or(C(() => !0), C(() => {
8112
- }), C(() => e.parentElement), r, C(() => !!e.isOpen)), Bc(C(() => !!e.isOpen));
8113
- const c = Dc(C(() => !!e.isOpen), ac), d = C(() => e.isOpen || c.value), u = C(() => [r]);
8114
+ })), Or(w(() => !0), w(() => {
8115
+ }), w(() => e.parentElement), r, w(() => !!e.isOpen)), Bc(w(() => !!e.isOpen));
8116
+ const c = Dc(w(() => !!e.isOpen), ac), d = w(() => e.isOpen || c.value), u = w(() => [r]);
8114
8117
  return () => d.value ? qb({
8115
8118
  ...a,
8116
8119
  ClickAwayProvider: vr,
@@ -8137,7 +8140,7 @@ const Hu = (e) => (t) => K(t) && t.type === e, Rb = {
8137
8140
  emits: jb
8138
8141
  }), Hb = "lumx-divider", {
8139
8142
  block: zb
8140
- } = B(Hb), Vb = (e) => {
8143
+ } = F(Hb), Vb = (e) => {
8141
8144
  const {
8142
8145
  className: t,
8143
8146
  theme: n,
@@ -8164,7 +8167,7 @@ const Hu = (e) => (t) => K(t) && t.type === e, Rb = {
8164
8167
  props: $()("class", "theme")
8165
8168
  }), Wb = "lumx-drag-handle", {
8166
8169
  block: Ub
8167
- } = B(Wb), Gb = (e) => {
8170
+ } = F(Wb), Gb = (e) => {
8168
8171
  const {
8169
8172
  className: t,
8170
8173
  theme: n,
@@ -8197,7 +8200,7 @@ const Hu = (e) => (t) => K(t) && t.type === e, Rb = {
8197
8200
  }), Kb = "lumx-expansion-panel", {
8198
8201
  block: Xb,
8199
8202
  element: we
8200
- } = B(Kb), Yb = {
8203
+ } = F(Kb), Yb = {
8201
8204
  closeMode: "unmount"
8202
8205
  }, Zb = (e) => {
8203
8206
  const {
@@ -8221,12 +8224,12 @@ const Hu = (e) => (t) => K(t) && t.type === e, Rb = {
8221
8224
  isChildrenVisible: y,
8222
8225
  IconButton: A,
8223
8226
  footer: N,
8224
- closeMode: P,
8225
- ...w
8226
- } = e, k = (O) => {
8227
+ closeMode: x,
8228
+ ...C
8229
+ } = e, O = (k) => {
8227
8230
  const _ = !s;
8228
- c && _ && c(O), l && !_ && l(O), d && d(_, O);
8229
- }, x = u === he.dark ? G.light : G.dark, T = L(t, Xb({
8231
+ c && _ && c(k), l && !_ && l(k), d && d(_, k);
8232
+ }, P = u === he.dark ? G.light : G.dark, T = L(t, Xb({
8230
8233
  "has-background": a,
8231
8234
  "has-header": !Kt(f.children),
8232
8235
  "has-header-divider": r,
@@ -8237,11 +8240,11 @@ const Hu = (e) => (t) => K(t) && t.type === e, Rb = {
8237
8240
  }));
8238
8241
  return m("section", S({
8239
8242
  ref: o
8240
- }, w, {
8243
+ }, C, {
8241
8244
  className: T
8242
8245
  }), [m("header", {
8243
8246
  className: we("header"),
8244
- onClick: k
8247
+ onClick: O
8245
8248
  }, [p && m("div", {
8246
8249
  className: we("header-drag")
8247
8250
  }, [p]), m("div", S(f, {
@@ -8249,7 +8252,7 @@ const Hu = (e) => (t) => K(t) && t.type === e, Rb = {
8249
8252
  }), [g]), m("div", {
8250
8253
  className: we("header-toggle")
8251
8254
  }, [m(A, S(h, {
8252
- color: x,
8255
+ color: P,
8253
8256
  emphasis: ve.low,
8254
8257
  icon: s ? dc : fc,
8255
8258
  "aria-expanded": s || "false"
@@ -8335,7 +8338,7 @@ function Qb(e) {
8335
8338
  const ey = "lumx-flag", {
8336
8339
  block: ty,
8337
8340
  element: $l
8338
- } = B(ey), ny = (e) => {
8341
+ } = F(ey), ny = (e) => {
8339
8342
  const {
8340
8343
  children: t,
8341
8344
  icon: n,
@@ -8516,7 +8519,7 @@ const IN = /* @__PURE__ */ E((e, {
8516
8519
  }, LN = /* @__PURE__ */ E((e, {
8517
8520
  slots: t
8518
8521
  }) => {
8519
- const n = D(), a = Pc(), o = M(() => e.class), r = C(() => {
8522
+ const n = D(), a = xc(), o = M(() => e.class), r = w(() => {
8520
8523
  const {
8521
8524
  className: s,
8522
8525
  ...i
@@ -8568,7 +8571,7 @@ const IN = /* @__PURE__ */ E((e, {
8568
8571
  props: $()("htmlFor", "id", "isRequired", "typography", "theme", "class", "as")
8569
8572
  }), Wu = "lumx-link", {
8570
8573
  block: py
8571
- } = B(Wu), gy = (e) => {
8574
+ } = F(Wu), gy = (e) => {
8572
8575
  const {
8573
8576
  children: t,
8574
8577
  className: n,
@@ -8605,7 +8608,7 @@ const IN = /* @__PURE__ */ E((e, {
8605
8608
  isAnyDisabled: r,
8606
8609
  disabledStateProps: s,
8607
8610
  otherProps: i
8608
- } = te(C(() => ({
8611
+ } = te(w(() => ({
8609
8612
  ...e,
8610
8613
  ...a
8611
8614
  }))), l = (c) => {
@@ -8638,7 +8641,7 @@ function jl(e) {
8638
8641
  const yy = "lumx-link-preview", {
8639
8642
  block: Ay,
8640
8643
  element: We
8641
- } = B(yy), Uu = {
8644
+ } = F(yy), Uu = {
8642
8645
  size: H.regular,
8643
8646
  titleHeading: "h2"
8644
8647
  }, Sy = (e) => {
@@ -8731,9 +8734,9 @@ const yy = "lumx-link-preview", {
8731
8734
  inheritAttrs: !1,
8732
8735
  props: $()("class", "description", "link", "linkAs", "linkProps", "size", "theme", "thumbnailProps", "title", "titleHeading")
8733
8736
  }), Ny = "lumx-menu-item", {
8734
- block: xy,
8735
- element: Py
8736
- } = B(Ny), wy = (e) => {
8737
+ block: Py,
8738
+ element: xy
8739
+ } = F(Ny), wy = (e) => {
8737
8740
  const {
8738
8741
  children: t,
8739
8742
  className: n,
@@ -8750,7 +8753,7 @@ const yy = "lumx-link-preview", {
8750
8753
  type: "button",
8751
8754
  ...i,
8752
8755
  ref: l,
8753
- className: Py("action"),
8756
+ className: xy("action"),
8754
8757
  handleClick: s,
8755
8758
  "data-menu-item": "",
8756
8759
  "aria-disabled": r ? "true" : void 0,
@@ -8760,7 +8763,7 @@ const yy = "lumx-link-preview", {
8760
8763
  ref: c,
8761
8764
  size: "tiny",
8762
8765
  ...d,
8763
- className: L(n, xy()),
8766
+ className: L(n, Py()),
8764
8767
  before: a,
8765
8768
  after: o,
8766
8769
  children: u
@@ -9150,7 +9153,7 @@ function qy(e) {
9150
9153
  const jy = "lumx-menu-popover", {
9151
9154
  block: Hy,
9152
9155
  element: zy
9153
- } = B(jy), Vy = (e, {
9156
+ } = F(jy), Vy = (e, {
9154
9157
  Popover: t,
9155
9158
  FlexBox: n
9156
9159
  }) => {
@@ -9287,7 +9290,7 @@ const jy = "lumx-menu-popover", {
9287
9290
  }), Yy = "Message", Ku = "lumx-message", {
9288
9291
  block: Zy,
9289
9292
  element: Uo
9290
- } = B(Ku), Jy = {
9293
+ } = F(Ku), Jy = {
9291
9294
  [ie.error]: {
9292
9295
  color: G.red,
9293
9296
  icon: hc
@@ -9393,7 +9396,7 @@ var tA = eA();
9393
9396
  const nA = /* @__PURE__ */ Te(tA), aA = "lumx-mosaic", {
9394
9397
  block: oA,
9395
9398
  element: Xo
9396
- } = B(aA), rA = (e) => {
9399
+ } = F(aA), rA = (e) => {
9397
9400
  const {
9398
9401
  className: t,
9399
9402
  theme: n,
@@ -9467,7 +9470,7 @@ const nA = /* @__PURE__ */ Te(tA), aA = "lumx-mosaic", {
9467
9470
  emit: t,
9468
9471
  slots: n
9469
9472
  }) => {
9470
- const a = D(), o = M(() => e.class), r = C(() => e.label ?? e.ariaLabel ?? a["aria-label"]), s = () => t("close");
9473
+ const a = D(), o = M(() => e.class), r = w(() => e.label ?? e.ariaLabel ?? a["aria-label"]), s = () => t("close");
9471
9474
  return () => {
9472
9475
  const {
9473
9476
  label: i,
@@ -9501,7 +9504,7 @@ const nA = /* @__PURE__ */ Te(tA), aA = "lumx-mosaic", {
9501
9504
  }), uA = "lumx-progress-linear", {
9502
9505
  block: dA,
9503
9506
  element: Wl
9504
- } = B(uA), fA = (e) => {
9507
+ } = F(uA), fA = (e) => {
9505
9508
  const {
9506
9509
  className: t,
9507
9510
  theme: n,
@@ -9532,7 +9535,7 @@ const nA = /* @__PURE__ */ Te(tA), aA = "lumx-mosaic", {
9532
9535
  }), hA = "lumx-radio-button", {
9533
9536
  block: mA,
9534
9537
  element: Le
9535
- } = B(hA), pA = (e) => {
9538
+ } = F(hA), pA = (e) => {
9536
9539
  const {
9537
9540
  checked: t,
9538
9541
  className: n,
@@ -9600,11 +9603,11 @@ const nA = /* @__PURE__ */ Te(tA), aA = "lumx-mosaic", {
9600
9603
  }, HN = /* @__PURE__ */ E((e, {
9601
9604
  emit: t
9602
9605
  }) => {
9603
- const n = D(), a = U(), o = M(() => e.class), r = re(), s = C(() => e.id || r), {
9606
+ const n = D(), a = U(), o = M(() => e.class), r = re(), s = w(() => e.id || r), {
9604
9607
  isAnyDisabled: i,
9605
9608
  disabledStateProps: l,
9606
9609
  otherProps: c
9607
- } = te(C(() => ({
9610
+ } = te(w(() => ({
9608
9611
  ...e,
9609
9612
  ...n
9610
9613
  }))), d = (u, h, f) => {
@@ -9659,7 +9662,7 @@ const zN = /* @__PURE__ */ E((e, {
9659
9662
  props: $()("class")
9660
9663
  }), yA = "lumx-skeleton-circle", {
9661
9664
  block: AA
9662
- } = B(yA), SA = (e) => {
9665
+ } = F(yA), SA = (e) => {
9663
9666
  const {
9664
9667
  className: t,
9665
9668
  size: n,
@@ -9681,10 +9684,10 @@ const zN = /* @__PURE__ */ E((e, {
9681
9684
  squared: "squared",
9682
9685
  rounded: "rounded",
9683
9686
  pill: "pill"
9684
- }, xA = "lumx-skeleton-rectangle", {
9685
- block: PA,
9687
+ }, PA = "lumx-skeleton-rectangle", {
9688
+ block: xA,
9686
9689
  element: wA
9687
- } = B(xA), CA = {
9690
+ } = F(PA), CA = {
9688
9691
  variant: NA.squared
9689
9692
  }, OA = (e) => {
9690
9693
  const {
@@ -9701,7 +9704,7 @@ const zN = /* @__PURE__ */ E((e, {
9701
9704
  return m("div", S({
9702
9705
  ref: l
9703
9706
  }, c, {
9704
- className: L(n, PA({
9707
+ className: L(n, xA({
9705
9708
  [`aspect-ratio-${t}`]: !!t,
9706
9709
  [`height-${a}`]: !!(!t && a),
9707
9710
  [`theme-${o}`]: !!o,
@@ -9745,7 +9748,7 @@ const zN = /* @__PURE__ */ E((e, {
9745
9748
  }), kA = "lumx-switch", {
9746
9749
  block: TA,
9747
9750
  element: Ee
9748
- } = B(kA), _A = {
9751
+ } = F(kA), _A = {
9749
9752
  position: "left"
9750
9753
  }, IA = (e) => {
9751
9754
  const {
@@ -9820,11 +9823,11 @@ const zN = /* @__PURE__ */ E((e, {
9820
9823
  emit: t,
9821
9824
  slots: n
9822
9825
  }) => {
9823
- const a = D(), o = U(), r = M(() => e.class), s = re(), i = C(() => e.id || s), {
9826
+ const a = D(), o = U(), r = M(() => e.class), s = re(), i = w(() => e.id || s), {
9824
9827
  isAnyDisabled: l,
9825
9828
  disabledStateProps: c,
9826
9829
  otherProps: d
9827
- } = te(C(() => ({
9830
+ } = te(w(() => ({
9828
9831
  ...e,
9829
9832
  ...a
9830
9833
  }))), u = (h, f, g, p) => {
@@ -9856,7 +9859,7 @@ const zN = /* @__PURE__ */ E((e, {
9856
9859
  }, EA = "lumx-uploader", {
9857
9860
  block: $A,
9858
9861
  element: yt
9859
- } = B(EA), Yo = {
9862
+ } = F(EA), Yo = {
9860
9863
  aspectRatio: dt.horizontal,
9861
9864
  size: H.xl,
9862
9865
  variant: Yu.square
@@ -9916,11 +9919,11 @@ const zN = /* @__PURE__ */ E((e, {
9916
9919
  }, KN = /* @__PURE__ */ E((e, {
9917
9920
  emit: t
9918
9921
  }) => {
9919
- const n = D(), a = U(), o = M(() => e.class), r = re(), s = C(() => e.fileInputProps?.id || r), i = R(!1), {
9922
+ const n = D(), a = U(), o = M(() => e.class), r = re(), s = w(() => e.fileInputProps?.id || r), i = R(!1), {
9920
9923
  isAnyDisabled: l,
9921
9924
  disabledStateProps: c,
9922
9925
  otherProps: d
9923
- } = te(C(() => ({
9926
+ } = te(w(() => ({
9924
9927
  ...e,
9925
9928
  ...n
9926
9929
  }))), u = (f) => {
@@ -9984,7 +9987,7 @@ const zN = /* @__PURE__ */ E((e, {
9984
9987
  }, Zu = "lumx-image-block", {
9985
9988
  block: BA,
9986
9989
  element: Ul
9987
- } = B(Zu), Gl = {
9990
+ } = F(Zu), Gl = {
9988
9991
  captionPosition: DA.below,
9989
9992
  align: Ar.left
9990
9993
  }, FA = (e) => {
@@ -10163,7 +10166,7 @@ const qA = (e) => {
10163
10166
  }), HA = "InlineList", Ju = "lumx-inline-list", {
10164
10167
  block: zA,
10165
10168
  element: Kl
10166
- } = B(Ju), VA = {}, _n = (e) => {
10169
+ } = F(Ju), VA = {}, _n = (e) => {
10167
10170
  const {
10168
10171
  className: t,
10169
10172
  color: n,
@@ -10213,7 +10216,7 @@ const YN = /* @__PURE__ */ E((e, {
10213
10216
  props: $()("color", "colorVariant", "typography", "wrap", "class")
10214
10217
  }), Mt = "lumx-table", {
10215
10218
  block: WA
10216
- } = B(Mt), UA = (e) => {
10219
+ } = F(Mt), UA = (e) => {
10217
10220
  const {
10218
10221
  children: t,
10219
10222
  className: n,
@@ -10277,7 +10280,7 @@ const YN = /* @__PURE__ */ E((e, {
10277
10280
  head: "head"
10278
10281
  }, Ue = `${Mt}__cell`, {
10279
10282
  block: Xl
10280
- } = B(Ue), XA = {
10283
+ } = F(Ue), XA = {
10281
10284
  variant: ur.body
10282
10285
  }, YA = (e) => {
10283
10286
  const {
@@ -10363,7 +10366,7 @@ const YN = /* @__PURE__ */ E((e, {
10363
10366
  }, o, {
10364
10367
  className: L(n, JA)
10365
10368
  }), [t]);
10366
- }, ex = /* @__PURE__ */ E((e, {
10369
+ }, eP = /* @__PURE__ */ E((e, {
10367
10370
  slots: t
10368
10371
  }) => {
10369
10372
  const n = D(), a = M(() => e.class);
@@ -10377,7 +10380,7 @@ const YN = /* @__PURE__ */ E((e, {
10377
10380
  props: $()("class")
10378
10381
  }), eS = `${Mt}__row`, {
10379
10382
  block: tS
10380
- } = B(eS), nS = (e) => {
10383
+ } = F(eS), nS = (e) => {
10381
10384
  const {
10382
10385
  children: t,
10383
10386
  className: n,
@@ -10400,13 +10403,13 @@ const YN = /* @__PURE__ */ E((e, {
10400
10403
  "is-selected": o && !c
10401
10404
  }))
10402
10405
  }), [t]);
10403
- }, tx = /* @__PURE__ */ E((e, {
10406
+ }, tP = /* @__PURE__ */ E((e, {
10404
10407
  slots: t
10405
10408
  }) => {
10406
10409
  const n = D(), a = M(() => e.class), {
10407
10410
  isAnyDisabled: o,
10408
10411
  otherProps: r
10409
- } = te(C(() => ({
10412
+ } = te(w(() => ({
10410
10413
  ...e,
10411
10414
  ...n
10412
10415
  })));
@@ -10426,7 +10429,7 @@ function aS(e) {
10426
10429
  }
10427
10430
  const oS = `${Qu}__link`, {
10428
10431
  block: rS
10429
- } = B(oS), sS = (e) => {
10432
+ } = F(oS), sS = (e) => {
10430
10433
  const {
10431
10434
  className: t,
10432
10435
  icon: n,
@@ -10448,28 +10451,28 @@ const oS = `${Qu}__link`, {
10448
10451
  Icon: y,
10449
10452
  Text: A,
10450
10453
  ref: N,
10451
- ...P
10452
- } = e, w = () => {
10454
+ ...x
10455
+ } = e, C = () => {
10453
10456
  o || g?.();
10454
- }, k = (T) => {
10455
- c?.(T), b && w();
10456
- }, x = (T) => {
10457
- d?.(T), !(T.key !== "Enter" || o) && w();
10457
+ }, O = (T) => {
10458
+ c?.(T), b && C();
10459
+ }, P = (T) => {
10460
+ d?.(T), !(T.key !== "Enter" || o) && C();
10458
10461
  };
10459
10462
  return m("button", S({
10460
10463
  ref: N
10461
- }, P, {
10464
+ }, x, {
10462
10465
  type: "button",
10463
10466
  id: v,
10464
10467
  className: L(t, rS({
10465
10468
  "is-active": i,
10466
10469
  "is-disabled": o
10467
10470
  })),
10468
- onClick: w
10471
+ onClick: C
10469
10472
  }, {
10470
- [f]: x
10473
+ [f]: P
10471
10474
  }, {
10472
- onFocus: k,
10475
+ onFocus: O,
10473
10476
  role: "tab"
10474
10477
  }, {
10475
10478
  [h]: i ? 0 : u
@@ -10486,7 +10489,7 @@ const oS = `${Qu}__link`, {
10486
10489
  }, aS(l) ? l : {
10487
10490
  default: () => [l]
10488
10491
  })]);
10489
- }, xt = {
10492
+ }, Pt = {
10490
10493
  isLazy: !0,
10491
10494
  shouldActivateOnFocus: !1,
10492
10495
  activeTabIndex: 0,
@@ -10515,14 +10518,14 @@ const oS = `${Qu}__link`, {
10515
10518
  }, ed = /* @__PURE__ */ Symbol("LumxTabProvider"), td = (e, t) => {
10516
10519
  const n = qe(ed, void 0);
10517
10520
  if (!n)
10518
- return C(() => {
10521
+ return w(() => {
10519
10522
  });
10520
10523
  const { state: a, dispatch: o } = n, r = re(), s = t || r;
10521
10524
  return Ke(() => {
10522
10525
  o({ type: "register", payload: { type: e, id: s } });
10523
10526
  }), en(() => {
10524
10527
  o({ type: "unregister", payload: { type: e, id: s } });
10525
- }), C(() => {
10528
+ }), w(() => {
10526
10529
  const i = a.value.ids[e].indexOf(s);
10527
10530
  if (i !== -1)
10528
10531
  return {
@@ -10539,15 +10542,15 @@ const oS = `${Qu}__link`, {
10539
10542
  focus: (e) => !0,
10540
10543
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
10541
10544
  keypress: (e) => !0
10542
- }, nx = /* @__PURE__ */ E((e, {
10545
+ }, nP = /* @__PURE__ */ E((e, {
10543
10546
  emit: t
10544
10547
  }) => {
10545
10548
  const n = D(), a = M(() => e.class), {
10546
10549
  isAnyDisabled: o
10547
- } = te(C(() => ({
10550
+ } = te(w(() => ({
10548
10551
  ...e,
10549
10552
  ...n
10550
- }))), r = td("tab", e.id), s = C(() => e.isActive || r.value?.isActive), i = (c) => t("focus", c), l = (c) => t("keypress", c);
10553
+ }))), r = td("tab", e.id), s = w(() => e.isActive || r.value?.isActive), i = (c) => t("focus", c), l = (c) => t("keypress", c);
10551
10554
  return () => m(sS, S(n, {
10552
10555
  id: e.id,
10553
10556
  className: a.value,
@@ -10576,7 +10579,7 @@ const oS = `${Qu}__link`, {
10576
10579
  }), {
10577
10580
  block: cS,
10578
10581
  element: uS
10579
- } = B(Qu);
10582
+ } = F(Qu);
10580
10583
  let dS = /* @__PURE__ */ (function(e) {
10581
10584
  return e.clustered = "clustered", e.fixed = "fixed", e;
10582
10585
  })({});
@@ -10607,7 +10610,7 @@ const Yl = {
10607
10610
  role: "tablist",
10608
10611
  "aria-label": t
10609
10612
  }, [n])]);
10610
- }, ax = /* @__PURE__ */ E((e) => {
10613
+ }, aP = /* @__PURE__ */ E((e) => {
10611
10614
  const t = D(), n = ke(), a = U(), o = M(() => e.class), r = R(null);
10612
10615
  return ju({
10613
10616
  containerRef: r,
@@ -10627,7 +10630,7 @@ const Yl = {
10627
10630
  props: $()("layout", "position", "theme", "class")
10628
10631
  }), hS = "lumx-tab-panel", {
10629
10632
  block: mS
10630
- } = B(hS), pS = (e) => {
10633
+ } = F(hS), pS = (e) => {
10631
10634
  const {
10632
10635
  children: t,
10633
10636
  className: n,
@@ -10652,8 +10655,8 @@ const Yl = {
10652
10655
  }, {
10653
10656
  "aria-labelledby": r
10654
10657
  }), [(!s || a) && t]);
10655
- }, ox = /* @__PURE__ */ E((e) => {
10656
- const t = D(), n = ke(), a = M(() => e.class), o = td("tabPanel", e.id), r = C(() => e.isActive || o.value?.isActive);
10658
+ }, oP = /* @__PURE__ */ E((e) => {
10659
+ const t = D(), n = ke(), a = M(() => e.class), o = td("tabPanel", e.id), r = w(() => e.isActive || o.value?.isActive);
10657
10660
  return () => m(pS, S(t, {
10658
10661
  className: a.value,
10659
10662
  isActive: r.value,
@@ -10668,18 +10671,18 @@ const Yl = {
10668
10671
  inheritAttrs: !1,
10669
10672
  props: $()("isActive", "id", "class")
10670
10673
  }), Zl = {
10671
- isLazy: xt.isLazy,
10672
- shouldActivateOnFocus: xt.shouldActivateOnFocus
10674
+ isLazy: Pt.isLazy,
10675
+ shouldActivateOnFocus: Pt.shouldActivateOnFocus
10673
10676
  }, gS = {
10674
10677
  change: (e) => typeof e == "number"
10675
- }, rx = /* @__PURE__ */ E((e, {
10678
+ }, rP = /* @__PURE__ */ E((e, {
10676
10679
  emit: t,
10677
10680
  slots: n
10678
10681
  }) => {
10679
10682
  const a = R({
10680
- ...xt,
10681
- isLazy: e.isLazy ?? xt.isLazy,
10682
- shouldActivateOnFocus: e.shouldActivateOnFocus ?? xt.shouldActivateOnFocus,
10683
+ ...Pt,
10684
+ isLazy: e.isLazy ?? Pt.isLazy,
10685
+ shouldActivateOnFocus: e.shouldActivateOnFocus ?? Pt.shouldActivateOnFocus,
10683
10686
  ...e.activeTabIndex !== void 0 ? {
10684
10687
  activeTabIndex: e.activeTabIndex
10685
10688
  } : {}
@@ -10736,7 +10739,7 @@ function AS(e) {
10736
10739
  const SS = "lumx-user-block", {
10737
10740
  block: NS,
10738
10741
  element: $e
10739
- } = B(SS), Ql = {
10742
+ } = F(SS), Ql = {
10740
10743
  orientation: ct.horizontal,
10741
10744
  size: H.m
10742
10745
  }, dr = ({
@@ -10746,7 +10749,7 @@ const SS = "lumx-user-block", {
10746
10749
  }) => {
10747
10750
  const a = !!(t?.href || e);
10748
10751
  return !!n || a;
10749
- }, xS = (e) => {
10752
+ }, PS = (e) => {
10750
10753
  const {
10751
10754
  avatarProps: t,
10752
10755
  className: n,
@@ -10768,25 +10771,25 @@ const SS = "lumx-user-block", {
10768
10771
  theme: y,
10769
10772
  children: A,
10770
10773
  additionalFields: N,
10771
- after: P,
10772
- Text: w,
10773
- Avatar: k,
10774
- ...x
10774
+ after: x,
10775
+ Text: C,
10776
+ Avatar: O,
10777
+ ...P
10775
10778
  } = e;
10776
10779
  let T = v;
10777
10780
  p === ct.vertical && (T = H.l);
10778
- const O = p === ct.vertical, _ = dr({
10781
+ const k = p === ct.vertical, _ = dr({
10779
10782
  handleClick: h,
10780
10783
  linkAs: r,
10781
10784
  linkProps: o
10782
10785
  }), q = T !== H.s && T !== H.xs, j = a && q && m("div", {
10783
10786
  className: $e("fields")
10784
- }, [a.map((F, V) => m(w, {
10787
+ }, [a.map((B, z) => m(C, {
10785
10788
  as: "span",
10786
- key: V,
10789
+ key: z,
10787
10790
  className: $e("field")
10788
- }, AS(F) ? F : {
10789
- default: () => [F]
10791
+ }, AS(B) ? B : {
10792
+ default: () => [B]
10790
10793
  }))]), I = {
10791
10794
  ...f && {
10792
10795
  [l]: f
@@ -10797,14 +10800,14 @@ const SS = "lumx-user-block", {
10797
10800
  };
10798
10801
  return m("div", S({
10799
10802
  ref: s
10800
- }, x, I, {
10803
+ }, P, I, {
10801
10804
  className: L(n, NS({
10802
10805
  [`orientation-${p}`]: !!p,
10803
10806
  [`size-${T}`]: !!T,
10804
10807
  [`theme-${y}`]: !!y,
10805
10808
  "is-clickable": _
10806
10809
  }))
10807
- }), [t && m(k, S({
10810
+ }), [t && m(O, S({
10808
10811
  linkAs: r,
10809
10812
  linkProps: o,
10810
10813
  alt: ""
@@ -10815,22 +10818,22 @@ const SS = "lumx-user-block", {
10815
10818
  theme: y
10816
10819
  }), null), (a || d || A || N) && m("div", {
10817
10820
  className: $e("wrapper")
10818
- }, [A, j, q ? N : null]), O && b && m("div", {
10821
+ }, [A, j, q ? N : null]), k && b && m("div", {
10819
10822
  className: $e("action")
10820
- }, [b]), O && i && m("div", {
10823
+ }, [b]), k && i && m("div", {
10821
10824
  className: $e("actions")
10822
- }, [i]), P ? m("div", {
10825
+ }, [i]), x ? m("div", {
10823
10826
  className: $e("after")
10824
- }, [P]) : null]);
10827
+ }, [x]) : null]);
10825
10828
  };
10826
- function PS(e) {
10829
+ function xS(e) {
10827
10830
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !K(e);
10828
10831
  }
10829
10832
  const wS = {
10830
10833
  click: () => !0,
10831
10834
  mouseenter: () => !0,
10832
10835
  mouseleave: () => !0
10833
- }, sx = /* @__PURE__ */ E((e, {
10836
+ }, sP = /* @__PURE__ */ E((e, {
10834
10837
  emit: t,
10835
10838
  slots: n
10836
10839
  }) => {
@@ -10840,7 +10843,7 @@ const wS = {
10840
10843
  t("mouseenter");
10841
10844
  }, l = () => {
10842
10845
  t("mouseleave");
10843
- }, c = oe("onClick"), d = oe("onMouseenter"), u = oe("onMouseleave"), h = C(() => {
10846
+ }, c = oe("onClick"), d = oe("onMouseenter"), u = oe("onMouseleave"), h = w(() => {
10844
10847
  const g = e.name || n.name?.();
10845
10848
  if (Kt(g))
10846
10849
  return null;
@@ -10862,11 +10865,11 @@ const wS = {
10862
10865
  }), {
10863
10866
  default: () => [m(me, {
10864
10867
  as: "span"
10865
- }, PS(g) ? g : {
10868
+ }, xS(g) ? g : {
10866
10869
  default: () => [g]
10867
10870
  })]
10868
10871
  });
10869
- }), f = C(() => {
10872
+ }), f = w(() => {
10870
10873
  if (!e.avatarProps) return;
10871
10874
  if (dr({
10872
10875
  linkAs: e.linkAs,
@@ -10886,7 +10889,7 @@ const wS = {
10886
10889
  fields: p,
10887
10890
  ...b
10888
10891
  } = e, v = n.default?.() || h.value;
10889
- return m(xS, S(b, a, {
10892
+ return m(PS, S(b, a, {
10890
10893
  linkAs: Ye(g),
10891
10894
  className: r.value,
10892
10895
  theme: e.theme || o.value,
@@ -11023,9 +11026,9 @@ const OS = "SelectButton", kS = "lumx-select-button", TS = {
11023
11026
  listStatus: y = "idle",
11024
11027
  translations: A,
11025
11028
  onOpen: N,
11026
- onLoadMore: P,
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(", ") : "";
11029
+ onLoadMore: x,
11030
+ infiniteScrollOptions: C
11031
+ } = e, O = y === "loading", P = y === "loadingMore", T = y === "error", k = u === "multiple", _ = d != null ? qr(d).map((q) => ad(q, r, o)).filter(Boolean).join(", ") : "";
11029
11032
  return m(t.Provider, {
11030
11033
  onOpen: N
11031
11034
  }, {
@@ -11041,9 +11044,9 @@ const OS = "SelectButton", kS = "lumx-select-button", TS = {
11041
11044
  }, p), {
11042
11045
  default: () => [m(t.List, S(b, {
11043
11046
  "aria-label": h,
11044
- "aria-multiselectable": O || void 0
11047
+ "aria-multiselectable": k || void 0
11045
11048
  }), {
11046
- default: () => [k ? m(t.OptionSkeleton, {
11049
+ default: () => [O ? m(t.OptionSkeleton, {
11047
11050
  count: 3
11048
11051
  }, null) : Wr({
11049
11052
  options: a,
@@ -11056,12 +11059,12 @@ const OS = "SelectButton", kS = "lumx-select-button", TS = {
11056
11059
  selected: d
11057
11060
  }, {
11058
11061
  Combobox: t
11059
- }), P && n && m(n, {
11062
+ }), x && n && m(n, {
11060
11063
  callback: () => {
11061
- y && y !== "idle" || P();
11064
+ y && y !== "idle" || x();
11062
11065
  },
11063
- options: w
11064
- }, null), x && m(t.OptionSkeleton, {
11066
+ options: C
11067
+ }, null), P && m(t.OptionSkeleton, {
11065
11068
  count: 1
11066
11069
  }, null)]
11067
11070
  }), m(t.State, {
@@ -11081,7 +11084,7 @@ function _S(e) {
11081
11084
  }
11082
11085
  function od(e) {
11083
11086
  const t = D();
11084
- return C(() => {
11087
+ return w(() => {
11085
11088
  const n = t.renderOption;
11086
11089
  if (!(!e && !n))
11087
11090
  return (a, o) => {
@@ -11115,7 +11118,7 @@ function od(e) {
11115
11118
  });
11116
11119
  }
11117
11120
  function rd(e) {
11118
- return C(() => {
11121
+ return w(() => {
11119
11122
  if (e)
11120
11123
  return (t, n) => e({
11121
11124
  sectionId: t,
@@ -11140,17 +11143,17 @@ const LS = {
11140
11143
  "load-more": () => !0,
11141
11144
  /** Dropdown opened or closed. */
11142
11145
  open: (e) => !0
11143
- }, ix = /* @__PURE__ */ E((e, {
11146
+ }, iP = /* @__PURE__ */ E((e, {
11144
11147
  emit: t,
11145
11148
  slots: n,
11146
11149
  attrs: a
11147
11150
  }) => {
11148
11151
  const o = R(null), r = M(() => e.class), {
11149
11152
  disabledStateProps: s
11150
- } = te(C(() => ({
11153
+ } = te(w(() => ({
11151
11154
  ...e,
11152
11155
  ...a
11153
- }))), i = od(n.option), l = rd(n.sectionTitle), c = C(() => ({
11156
+ }))), i = od(n.option), l = rd(n.sectionTitle), c = w(() => ({
11154
11157
  className: f,
11155
11158
  children: g,
11156
11159
  ref: p,
@@ -11218,7 +11221,7 @@ const LS = {
11218
11221
  slots: Object,
11219
11222
  props: $()("options", "getOptionId", "getOptionName", "getOptionDescription", "getSectionId", "selectionType", "value", "label", "labelDisplayMode", "popoverProps", "listStatus", "translations", "class"),
11220
11223
  emits: LS
11221
- }), lx = Ot, ES = "SelectTextField", $S = "lumx-select-text-field", Gr = (e, {
11224
+ }), lP = Ot, ES = "SelectTextField", $S = "lumx-select-text-field", Gr = (e, {
11222
11225
  Combobox: t,
11223
11226
  InfiniteScroll: n
11224
11227
  }) => {
@@ -11241,22 +11244,22 @@ const LS = {
11241
11244
  emptyMessage: y,
11242
11245
  nbOptionMessage: A,
11243
11246
  errorMessage: N,
11244
- errorTryReloadMessage: P,
11245
- onOpen: w,
11246
- chips: k,
11247
- beforeOptions: x,
11247
+ errorTryReloadMessage: x,
11248
+ onOpen: C,
11249
+ chips: O,
11250
+ beforeOptions: P,
11248
11251
  afterOptions: T,
11249
- onLoadMore: O,
11252
+ onLoadMore: k,
11250
11253
  infiniteScrollOptions: _
11251
11254
  } = e, q = b === "loading", j = b === "loadingMore", I = b === "error";
11252
11255
  return m(t.Provider, {
11253
- onOpen: w
11256
+ onOpen: C
11254
11257
  }, {
11255
11258
  default: () => [m(t.Input, S({
11256
11259
  label: u
11257
11260
  }, f, {
11258
11261
  selectionMode: "keep",
11259
- chips: k
11262
+ chips: O
11260
11263
  }), null), m(t.Popover, S({
11261
11264
  fitToAnchorWidth: "minWidth",
11262
11265
  fitWithinViewportHeight: !0,
@@ -11266,7 +11269,7 @@ const LS = {
11266
11269
  "aria-label": u,
11267
11270
  "aria-multiselectable": h || void 0
11268
11271
  }), {
11269
- default: () => [x, q ? m(t.OptionSkeleton, {
11272
+ default: () => [P, q ? m(t.OptionSkeleton, {
11270
11273
  count: 3
11271
11274
  }, null) : Wr({
11272
11275
  options: a,
@@ -11279,9 +11282,9 @@ const LS = {
11279
11282
  selected: d
11280
11283
  }, {
11281
11284
  Combobox: t
11282
- }), T, O && n && m(n, {
11285
+ }), T, k && n && m(n, {
11283
11286
  callback: () => {
11284
- b && b !== "idle" || O();
11287
+ b && b !== "idle" || k();
11285
11288
  },
11286
11289
  options: _
11287
11290
  }, null), j && m(t.OptionSkeleton, {
@@ -11292,7 +11295,7 @@ const LS = {
11292
11295
  emptyMessage: y,
11293
11296
  nbOptionMessage: A,
11294
11297
  errorMessage: I ? N : void 0,
11295
- errorTryReloadMessage: I ? P : void 0
11298
+ errorTryReloadMessage: I ? x : void 0
11296
11299
  }, null)]
11297
11300
  })]
11298
11301
  });
@@ -11329,28 +11332,28 @@ const MS = {
11329
11332
  slots: n,
11330
11333
  attrs: a
11331
11334
  }) => {
11332
- const o = C(() => e.selectionType === "multiple"), r = M(() => e.class), {
11335
+ const o = w(() => e.selectionType === "multiple"), r = M(() => e.class), {
11333
11336
  isAnyDisabled: s,
11334
11337
  disabledStateProps: i
11335
- } = te(C(() => ({
11338
+ } = te(w(() => ({
11336
11339
  ...e,
11337
11340
  ...a
11338
11341
  }))), 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);
11342
+ X(() => e.searchInputValue, (x) => {
11343
+ x !== void 0 && (c.value = x, l.value = !!x);
11341
11344
  });
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");
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
+ const h = w(() => e.selectionType === "multiple" || l.value ? c.value : ad(e.value, e.getOptionName, e.getOptionId)), f = (x) => {
11346
+ const C = nd(e.options, e.getOptionId, e.value, x.value, e.selectionType === "multiple");
11347
+ t("change", C), l.value = !1, c.value = "", t("search", "");
11348
+ }, g = (x) => {
11349
+ l.value = !0, c.value = x, t("search", x), !o.value && x === "" && e.value !== void 0 && e.value !== null && t("change", void 0);
11350
+ }, p = (x) => {
11351
+ t("change", void 0), l.value = !1, c.value = "", t("search", ""), t("clear", x);
11352
+ }, b = (x) => {
11353
+ l.value = !1, c.value = "", t("search", ""), t("blur", x);
11351
11354
  }, v = od(n.option), y = rd(n.sectionTitle), A = oe("onLoadMore") || oe("onLoad-more"), N = () => t("load-more");
11352
11355
  return () => {
11353
- const P = !o.value && !s.value && (e.hasClearButton ?? !0) && e.value !== void 0 && e.value !== null, w = e.selectionType === "multiple" ? m(Db, {
11356
+ const x = !o.value && !s.value && (e.hasClearButton ?? !0) && e.value !== void 0 && e.value !== null, C = e.selectionType === "multiple" ? m(Db, {
11354
11357
  value: e.value,
11355
11358
  theme: e.theme,
11356
11359
  getOptionId: e.getOptionId,
@@ -11362,7 +11365,7 @@ const MS = {
11362
11365
  chipRemoveLabel: e.translations.chipRemoveLabel
11363
11366
  }, {
11364
11367
  chip: n.chip || void 0
11365
- }) : void 0, k = e.listStatus ?? "idle", x = e.beforeOptions ?? n.beforeOptions?.();
11368
+ }) : void 0, O = e.listStatus ?? "idle", P = e.beforeOptions ?? n.beforeOptions?.();
11366
11369
  return Gr({
11367
11370
  options: e.options,
11368
11371
  getOptionId: e.getOptionId,
@@ -11374,7 +11377,7 @@ const MS = {
11374
11377
  selected: e.value,
11375
11378
  label: e.label,
11376
11379
  isMultiselectable: o.value,
11377
- listStatus: k,
11380
+ listStatus: O,
11378
11381
  onOpen: (T) => t("open", T),
11379
11382
  loadingMessage: e.translations.loadingMessage,
11380
11383
  emptyMessage: e.translations.emptyMessage,
@@ -11404,7 +11407,7 @@ const MS = {
11404
11407
  isValid: e.isValid,
11405
11408
  maxLength: e.maxLength,
11406
11409
  "aria-label": e.ariaLabel,
11407
- clearButtonProps: P ? {
11410
+ clearButtonProps: x ? {
11408
11411
  label: e.translations.clearLabel
11409
11412
  } : void 0,
11410
11413
  onClear: p,
@@ -11420,8 +11423,8 @@ const MS = {
11420
11423
  listProps: {
11421
11424
  ref: d
11422
11425
  },
11423
- chips: w,
11424
- beforeOptions: x,
11426
+ chips: C,
11427
+ beforeOptions: P,
11425
11428
  onLoadMore: A ? N : void 0,
11426
11429
  infiniteScrollOptions: {
11427
11430
  root: d.value?.$el ?? null,
@@ -11437,9 +11440,9 @@ const MS = {
11437
11440
  inheritAttrs: !1,
11438
11441
  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
11442
  emits: MS
11440
- }), DS = Ot, cx = Eu, ux = ku, dx = Tu, fx = Iu, BS = "TimePickerField", sd = "lumx-time-picker-field", {
11443
+ }), DS = Ot, cP = Eu, uP = ku, dP = Tu, fP = Iu, BS = "TimePickerField", sd = "lumx-time-picker-field", {
11441
11444
  block: FS
11442
- } = B(sd), tc = {
11445
+ } = F(sd), tc = {
11443
11446
  step: 30,
11444
11447
  boundsMode: "on-blur"
11445
11448
  }, Kr = (e, {
@@ -11453,16 +11456,30 @@ const MS = {
11453
11456
  handleChange: s,
11454
11457
  handleSearch: i,
11455
11458
  handleBlur: l,
11456
- ...c
11459
+ getOptionProps: c,
11460
+ ...d
11457
11461
  } = e;
11458
- return m(t, S(c, {
11462
+ return m(t, S(d, {
11459
11463
  className: FS([r]),
11460
11464
  selectionType: "single",
11461
11465
  options: a,
11462
11466
  getOptionId: "name",
11463
- renderOption: (d) => m(n, {
11464
- isDisabled: d.outOfRange
11465
- }, null),
11467
+ renderOption: ({
11468
+ hour: u,
11469
+ minute: h,
11470
+ outOfRange: f
11471
+ }) => {
11472
+ const {
11473
+ isDisabled: g,
11474
+ ...p
11475
+ } = c?.({
11476
+ hour: u,
11477
+ minute: h
11478
+ }) || {};
11479
+ return m(n, S({
11480
+ isDisabled: f || g
11481
+ }, p), null);
11482
+ },
11466
11483
  onChange: s,
11467
11484
  onSearch: i,
11468
11485
  onBlur: l,
@@ -11525,15 +11542,15 @@ const WS = () => navigator.languages?.[0] || navigator.language, US = {
11525
11542
  */
11526
11543
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
11527
11544
  change: (e) => !0
11528
- }, hx = /* @__PURE__ */ E((e, {
11545
+ }, hP = /* @__PURE__ */ E((e, {
11529
11546
  emit: t
11530
11547
  }) => {
11531
- 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({
11548
+ const n = M(() => e.class), a = w(() => e.locale ?? WS()), o = w(() => e.step ?? tc.step), r = w(() => e.boundsMode ?? tc.boundsMode), s = w(() => jS({
11532
11549
  step: o.value,
11533
11550
  minTime: e.minTime,
11534
11551
  maxTime: e.maxTime,
11535
11552
  locale: a.value
11536
- })), i = R(""), l = C(() => {
11553
+ })), i = R(""), l = w(() => {
11537
11554
  const {
11538
11555
  value: h
11539
11556
  } = e;
@@ -11576,10 +11593,11 @@ const WS = () => navigator.languages?.[0] || navigator.language, US = {
11576
11593
  maxTime: v,
11577
11594
  translations: y,
11578
11595
  class: A,
11579
- ...N
11596
+ getOptionProps: N,
11597
+ ...x
11580
11598
  } = e;
11581
11599
  return Kr({
11582
- ...N,
11600
+ ...x,
11583
11601
  value: l.value,
11584
11602
  options: s.value,
11585
11603
  translations: y,
@@ -11587,7 +11605,8 @@ const WS = () => navigator.languages?.[0] || navigator.language, US = {
11587
11605
  handleChange: c,
11588
11606
  handleSearch: d,
11589
11607
  handleBlur: u,
11590
- searchInputValue: h
11608
+ searchInputValue: h,
11609
+ getOptionProps: N
11591
11610
  }, {
11592
11611
  SelectTextField: RS,
11593
11612
  Option: DS
@@ -11604,6 +11623,7 @@ const WS = () => navigator.languages?.[0] || navigator.language, US = {
11604
11623
  "maxTime",
11605
11624
  "boundsMode",
11606
11625
  "translations",
11626
+ "getOptionProps",
11607
11627
  "class",
11608
11628
  // Inherited SelectTextField props
11609
11629
  "label",
@@ -11628,8 +11648,8 @@ const WS = () => navigator.languages?.[0] || navigator.language, US = {
11628
11648
  export {
11629
11649
  gN as AlertDialog,
11630
11650
  Wh as Avatar,
11631
- xN as Badge,
11632
- PN as BadgeWrapper,
11651
+ PN as Badge,
11652
+ xN as BadgeWrapper,
11633
11653
  It as Button,
11634
11654
  yN as ButtonGroup,
11635
11655
  wN as Checkbox,
@@ -11642,7 +11662,7 @@ export {
11642
11662
  TN as ExpansionPanel,
11643
11663
  _N as Flag,
11644
11664
  yn as FlexBox,
11645
- xv as GenericBlock,
11665
+ Pv as GenericBlock,
11646
11666
  NN as GenericBlockGapSize,
11647
11667
  IN as GridColumn,
11648
11668
  LN as Heading,
@@ -11676,14 +11696,14 @@ export {
11676
11696
  zN as RadioGroup,
11677
11697
  Op as RawInputText,
11678
11698
  Lp as RawInputTextarea,
11679
- ix as SelectButton,
11680
- lx as SelectButtonOption,
11699
+ iP as SelectButton,
11700
+ lP as SelectButtonOption,
11681
11701
  RS as SelectTextField,
11682
- fx as SelectTextFieldDivider,
11702
+ fP as SelectTextFieldDivider,
11683
11703
  DS as SelectTextFieldOption,
11684
- ux as SelectTextFieldOptionMoreInfo,
11685
- dx as SelectTextFieldOptionSkeleton,
11686
- cx as SelectTextFieldSection,
11704
+ uP as SelectTextFieldOptionMoreInfo,
11705
+ dP as SelectTextFieldOptionSkeleton,
11706
+ cP as SelectTextFieldSection,
11687
11707
  Db as SelectionChipGroup,
11688
11708
  VN as SkeletonCircle,
11689
11709
  WN as SkeletonRectangle,
@@ -11691,30 +11711,30 @@ export {
11691
11711
  UN as SkeletonTypography,
11692
11712
  GN as Switch,
11693
11713
  pN as TOOLBAR_NAME,
11694
- nx as Tab,
11695
- ax as TabList,
11714
+ nP as Tab,
11715
+ aP as TabList,
11696
11716
  dS as TabListLayout,
11697
- ox as TabPanel,
11698
- rx as TabProvider,
11717
+ oP as TabPanel,
11718
+ rP as TabProvider,
11699
11719
  ZN as Table,
11700
11720
  JN as TableBody,
11701
11721
  QN as TableCell,
11702
11722
  ur as TableCellVariant,
11703
- ex as TableHeader,
11704
- tx as TableRow,
11723
+ eP as TableHeader,
11724
+ tP as TableRow,
11705
11725
  me as Text,
11706
11726
  Up as TextField,
11707
11727
  zt as ThOrder,
11708
11728
  dn as Thumbnail,
11709
11729
  bN as ThumbnailObjectFit,
11710
11730
  vN as ThumbnailVariant,
11711
- hx as TimePickerField,
11731
+ hP as TimePickerField,
11712
11732
  Ih as Toolbar,
11713
11733
  gn as Tooltip,
11714
11734
  KN as Uploader,
11715
11735
  Yu as UploaderVariant,
11716
- sx as UserBlock,
11736
+ sP as UserBlock,
11717
11737
  ZA as emitSchema,
11718
- Pc as useHeadingLevel
11738
+ xc as useHeadingLevel
11719
11739
  };
11720
11740
  //# sourceMappingURL=index.js.map