@lumx/vue 4.17.1-alpha.1 → 4.17.1-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/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 Re, getCurrentScope as rc, onScopeDispose as mr, toRef as Q, readonly as dd, customRef as fd, ref as M, shallowRef as Me, 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 vd, onWatcherCleanup as gd, createTextVNode as bd, withDirectives as yd, resolveDirective as Ad } from "vue";
4
+ import { createVNode as m, mergeProps as S, Fragment as ne, isVNode as K, useAttrs as D, computed as C, toValue as Me, getCurrentScope as rc, onScopeDispose as mr, toRef as Q, readonly as dd, customRef as fd, ref as R, shallowRef as Re, watch as X, getCurrentInstance as sc, onMounted as Ke, inject as qe, defineComponent as E, toRefs as hd, reactive as ic, provide as je, watchEffect as Xe, isRef as lt, onUnmounted as He, watchPostEffect as md, onBeforeUnmount as en, Comment as pr, unref as Pt, useSlots as ke, useTemplateRef as pd, toRaw as Ye, Text as lc, nextTick as cc, shallowReadonly as nt, h as Zr, cloneVNode as vd, onWatcherCleanup as gd, 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 vr, P as tn, C as gr, I as uc } from "./_internal/CHaqSUjw.js";
7
7
  import { getDisabledState as Sd } from "@lumx/core/js/utils/disabledState";
@@ -90,7 +90,7 @@ const Jr = {
90
90
  }, es = {
91
91
  N: "N"
92
92
  }, Ed = typeof window < "u" && !window.navigator.userAgent.includes("jsdom");
93
- var Mt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
93
+ var Rt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
94
94
  function Te(e) {
95
95
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
96
96
  }
@@ -128,8 +128,8 @@ function $d() {
128
128
  })();
129
129
  })(In)), In.exports;
130
130
  }
131
- var Rd = $d();
132
- const L = /* @__PURE__ */ Te(Rd);
131
+ var Md = $d();
132
+ const L = /* @__PURE__ */ Te(Md);
133
133
  function pc(e, t) {
134
134
  const n = [];
135
135
  for (const [a, o] of Object.entries(t))
@@ -147,12 +147,12 @@ function Sr(e, t, n) {
147
147
  a ? pc(e, a) : null
148
148
  );
149
149
  }
150
- const vc = "lumx-action-area", Md = `${vc}__action`, Dd = Object.assign(
150
+ const vc = "lumx-action-area", Rd = `${vc}__action`, Dd = Object.assign(
151
151
  /** Action area container class. Sets `position: relative`. */
152
152
  () => vc,
153
153
  {
154
154
  /** Action element class. Adds a `::before` pseudo-element with `position: absolute; inset: 0` to expand the click area. */
155
- action: (e) => Sr(Md, e)
155
+ action: (e) => Sr(Rd, e)
156
156
  }
157
157
  );
158
158
  function Nr(e, t) {
@@ -265,11 +265,11 @@ const Wd = {
265
265
  ...A
266
266
  } = e, {
267
267
  color: N,
268
- icon: x
269
- } = Wd[i] || {}, w = `${t}-title`, P = `${t}-description`, {
270
- label: O,
268
+ icon: P
269
+ } = Wd[i] || {}, w = `${t}-title`, k = `${t}-description`, {
270
+ label: x,
271
271
  onClick: T,
272
- ...k
272
+ ...O
273
273
  } = r, {
274
274
  label: _,
275
275
  onClick: q,
@@ -283,7 +283,7 @@ const Wd = {
283
283
  id: t,
284
284
  role: "alertdialog",
285
285
  "aria-labelledby": w,
286
- "aria-describedby": P,
286
+ "aria-describedby": k,
287
287
  ...c
288
288
  },
289
289
  className: L(a, Kd({
@@ -293,7 +293,7 @@ const Wd = {
293
293
  default: () => [m("header", null, [m(b, {
294
294
  className: "lumx-spacing-margin-horizontal",
295
295
  before: m(y, {
296
- icon: x,
296
+ icon: P,
297
297
  size: H.s,
298
298
  color: N
299
299
  }, null),
@@ -302,7 +302,7 @@ const Wd = {
302
302
  className: "lumx-typography-title"
303
303
  }, [n])
304
304
  }, null)]), d && m(u, {
305
- id: P,
305
+ id: k,
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(g, S(k, {
317
+ }), m(g, S(O, {
318
318
  ref: h,
319
319
  color: N,
320
320
  className: "lumx-spacing-margin-left-regular",
321
321
  onClick: T
322
- }), Ln(O) ? O : {
323
- default: () => [O]
322
+ }), Ln(x) ? x : {
323
+ default: () => [x]
324
324
  })])
325
325
  }, null)])]
326
326
  });
@@ -332,11 +332,11 @@ function re() {
332
332
  function yc(e, t, n) {
333
333
  const a = D();
334
334
  return C(() => {
335
- const o = Re(e), r = a[t];
335
+ const o = Me(e), r = a[t];
336
336
  return n ? n(o, r) : o ?? r;
337
337
  });
338
338
  }
339
- function R(e) {
339
+ function M(e) {
340
340
  return yc(
341
341
  e,
342
342
  "className",
@@ -356,7 +356,7 @@ function Zd(...e) {
356
356
  return typeof t == "function" ? dd(fd(() => ({
357
357
  get: t,
358
358
  set: Vt
359
- }))) : M(t);
359
+ }))) : R(t);
360
360
  }
361
361
  function Sc(e) {
362
362
  return Array.isArray(e) ? e : [e];
@@ -364,12 +364,12 @@ function Sc(e) {
364
364
  const xr = Yd ? window : void 0;
365
365
  function st(e) {
366
366
  var t;
367
- const n = Re(e);
367
+ const n = Me(e);
368
368
  return (t = n?.$el) !== null && t !== void 0 ? t : n;
369
369
  }
370
370
  // @__NO_SIDE_EFFECTS__
371
371
  function Jd() {
372
- const e = Me(!1), t = sc();
372
+ const e = Re(!1), t = sc();
373
373
  return t && Ke(() => {
374
374
  e.value = !0;
375
375
  }, t), e;
@@ -385,7 +385,7 @@ function Qd(e, t, n = {}) {
385
385
  const s = /* @__PURE__ */ Pr(() => a && "MutationObserver" in a), i = () => {
386
386
  r && (r.disconnect(), r = void 0);
387
387
  }, l = X(C(() => {
388
- const u = Sc(Re(e)).map(st).filter(Ac);
388
+ const u = Sc(Me(e)).map(st).filter(Ac);
389
389
  return new Set(u);
390
390
  }), (u) => {
391
391
  i(), s.value && u.size && (r = new MutationObserver(t), u.forEach((f) => r.observe(f, o)));
@@ -407,7 +407,7 @@ function ef(e, t, n = {}) {
407
407
  const s = /* @__PURE__ */ Pr(() => a && "ResizeObserver" in a), i = () => {
408
408
  r && (r.disconnect(), r = void 0);
409
409
  }, l = X(C(() => {
410
- const d = Re(e);
410
+ const d = Me(e);
411
411
  return Array.isArray(d) ? d.map((u) => st(u)) : [st(d)];
412
412
  }), (d) => {
413
413
  if (i(), s.value && a) {
@@ -426,9 +426,9 @@ 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(Re(e)).map(st).filter(Ac));
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));
430
430
  let d = Vt;
431
- const u = Me(i), f = l.value ? X(() => [
431
+ const u = Re(i), f = l.value ? X(() => [
432
432
  c.value,
433
433
  st(a),
434
434
  u.value
@@ -465,10 +465,10 @@ function En(e) {
465
465
  }
466
466
  const $n = /* @__PURE__ */ new WeakMap();
467
467
  function tf(e, t = !1) {
468
- const n = Me(t);
468
+ const n = Re(t);
469
469
  let a = "";
470
470
  X(Zd(e), (s) => {
471
- const i = En(Re(s));
471
+ const i = En(Me(s));
472
472
  if (i) {
473
473
  const l = i;
474
474
  if ($n.get(l) || $n.set(l, l.style.overflow), l.style.overflow !== "hidden" && (a = l.style.overflow), l.style.overflow === "hidden") return n.value = !0;
@@ -476,10 +476,10 @@ function tf(e, t = !1) {
476
476
  }
477
477
  }, { immediate: !0 });
478
478
  const o = () => {
479
- const s = En(Re(e));
479
+ const s = En(Me(e));
480
480
  !s || n.value || (s.style.overflow = "hidden", n.value = !0);
481
481
  }, r = () => {
482
- const s = En(Re(e));
482
+ const s = En(Me(e));
483
483
  !s || !n.value || (s.style.overflow = a, $n.delete(s), n.value = !1);
484
484
  };
485
485
  return on(r), C({
@@ -518,12 +518,12 @@ const nf = "lumx-dialog", {
518
518
  ThemeProvider: y,
519
519
  ClickAwayProvider: A,
520
520
  shouldPreventCloseOnClickAway: N,
521
- clickAwayRefs: x,
521
+ clickAwayRefs: P,
522
522
  rootRef: w,
523
- wrapperRef: P,
524
- hasTopIntersection: O,
523
+ wrapperRef: k,
524
+ hasTopIntersection: x,
525
525
  headerChildProps: T,
526
- setSentinelTop: k,
526
+ setSentinelTop: O,
527
527
  content: _,
528
528
  setSentinelBottom: q,
529
529
  footerChildContent: j,
@@ -559,15 +559,15 @@ const nf = "lumx-dialog", {
559
559
  "aria-modal": "true"
560
560
  }, h), [m(A, {
561
561
  callback: !N && c,
562
- childrenRefs: x,
562
+ childrenRefs: P,
563
563
  parentRef: w
564
564
  }, {
565
565
  default: () => [m("section", {
566
566
  className: Pe("wrapper"),
567
- ref: P
567
+ ref: k
568
568
  }, [(a || v) && m("header", S(T, {
569
569
  className: L(Pe("header", {
570
- "has-divider": !!(r || O)
570
+ "has-divider": !!(r || x)
571
571
  }), T?.className)
572
572
  }), [a, v]), m("div", {
573
573
  ref: d,
@@ -576,7 +576,7 @@ const nf = "lumx-dialog", {
576
576
  className: Pe("sentinel", {
577
577
  top: !0
578
578
  }),
579
- ref: k
579
+ ref: O
580
580
  }, null), _, m("div", {
581
581
  className: Pe("sentinel", {
582
582
  bottom: !0
@@ -656,7 +656,7 @@ const nf = "lumx-dialog", {
656
656
  }), null)])]
657
657
  });
658
658
  }, ff = /* @__PURE__ */ E((e) => {
659
- const t = D(), n = U(), a = R(() => e.class);
659
+ const t = D(), n = U(), a = M(() => e.class);
660
660
  return () => m(df, S(e, t, {
661
661
  className: a.value,
662
662
  theme: e.theme || n.value,
@@ -673,26 +673,26 @@ const nf = "lumx-dialog", {
673
673
  inheritAttrs: !1,
674
674
  props: $()("class", "size", "display", "theme")
675
675
  });
676
- var Rn, ls;
676
+ var Mn, ls;
677
677
  function hf() {
678
- if (ls) return Rn;
678
+ if (ls) return Mn;
679
679
  ls = 1;
680
680
  function e(t) {
681
681
  var n = t == null ? 0 : t.length;
682
682
  return n ? t[n - 1] : void 0;
683
683
  }
684
- return Rn = e, Rn;
684
+ return Mn = e, Mn;
685
685
  }
686
686
  var mf = hf();
687
687
  const cs = /* @__PURE__ */ Te(mf);
688
- var Mn, us;
688
+ var Rn, us;
689
689
  function wc() {
690
- if (us) return Mn;
690
+ if (us) return Rn;
691
691
  us = 1;
692
692
  function e(t) {
693
693
  return t;
694
694
  }
695
- return Mn = e, Mn;
695
+ return Rn = e, Rn;
696
696
  }
697
697
  var Dn, ds;
698
698
  function pf() {
@@ -745,7 +745,7 @@ var qn, ms;
745
745
  function Oc() {
746
746
  if (ms) return qn;
747
747
  ms = 1;
748
- var e = typeof Mt == "object" && Mt && Mt.Object === Object && Mt;
748
+ var e = typeof Rt == "object" && Rt && Rt.Object === Object && Rt;
749
749
  return qn = e, qn;
750
750
  }
751
751
  var jn, ps;
@@ -983,19 +983,19 @@ function Cf() {
983
983
  }
984
984
  return sa = e, sa;
985
985
  }
986
- var ia, Rs;
986
+ var ia, Ms;
987
987
  function Of() {
988
- if (Rs) return ia;
989
- Rs = 1;
988
+ if (Ms) return ia;
989
+ Ms = 1;
990
990
  function e(t) {
991
991
  return t !== t;
992
992
  }
993
993
  return ia = e, ia;
994
994
  }
995
- var la, Ms;
995
+ var la, Rs;
996
996
  function kf() {
997
- if (Ms) return la;
998
- Ms = 1;
997
+ if (Rs) return la;
998
+ Rs = 1;
999
999
  function e(t, n, a) {
1000
1000
  for (var o = a - 1, r = t.length; ++o < r; )
1001
1001
  if (t[o] === n)
@@ -1080,8 +1080,8 @@ function $f() {
1080
1080
  var e = wf(), t = Ef(), n = e(t);
1081
1081
  return pa = n, pa;
1082
1082
  }
1083
- var Rf = $f();
1084
- const Mf = /* @__PURE__ */ Te(Rf);
1083
+ var Mf = $f();
1084
+ const Rf = /* @__PURE__ */ Te(Mf);
1085
1085
  function $c() {
1086
1086
  const e = [];
1087
1087
  return {
@@ -1089,7 +1089,7 @@ function $c() {
1089
1089
  cs(e)?.disable(), e.push(t), t.enable();
1090
1090
  },
1091
1091
  unregister(t) {
1092
- t.disable(), Mf(e, t), cs(e)?.enable();
1092
+ t.disable(), Rf(e, t), cs(e)?.enable();
1093
1093
  }
1094
1094
  };
1095
1095
  }
@@ -1110,9 +1110,9 @@ function ln(e, t = !0) {
1110
1110
  n && (va.unregister(n), n = void 0);
1111
1111
  });
1112
1112
  }
1113
- const Rc = 'a[href], button, textarea, input:not([type="hidden"]):not([hidden]), [tabindex]', Mc = '[hidden], [tabindex="-1"], [disabled]:not([disabled="false"])', Df = (e) => !e.matches(Mc);
1113
+ const Mc = 'a[href], button, textarea, input:not([type="hidden"]):not([hidden]), [tabindex]', Rc = '[hidden], [tabindex="-1"], [disabled]:not([disabled="false"])', Df = (e) => !e.matches(Rc);
1114
1114
  function Bf(e) {
1115
- return Array.from(e.querySelectorAll(Rc)).filter(Df);
1115
+ return Array.from(e.querySelectorAll(Mc)).filter(Df);
1116
1116
  }
1117
1117
  function Qo(e) {
1118
1118
  const t = Bf(e), n = t[0], a = t[t.length - 1];
@@ -1203,7 +1203,7 @@ function Or(e, t, n, a, o) {
1203
1203
  });
1204
1204
  }
1205
1205
  function Dc(e, t, n) {
1206
- const a = M(e.value);
1206
+ const a = R(e.value);
1207
1207
  let o;
1208
1208
  X(
1209
1209
  e,
@@ -1240,29 +1240,29 @@ const qf = {
1240
1240
  slots: n,
1241
1241
  attrs: a
1242
1242
  }) => {
1243
- const o = R(() => e.class), r = M(null), s = M(null), i = M(null), l = M(null), c = M(null), d = (w) => {
1243
+ const o = M(() => e.class), r = R(null), s = R(null), i = R(null), l = R(null), c = R(null), d = (w) => {
1244
1244
  l.value = w;
1245
1245
  }, u = (w) => {
1246
1246
  c.value = w;
1247
- }, f = M(null), h = M(null);
1247
+ }, f = R(null), h = R(null);
1248
1248
  rs(l, (w) => {
1249
- const P = w[0];
1250
- f.value = P ? !P.isIntersecting : null;
1249
+ const k = w[0];
1250
+ f.value = k ? !k.isIntersecting : null;
1251
1251
  }), rs(c, (w) => {
1252
- const P = w[0];
1253
- h.value = P ? !P.isIntersecting : null;
1252
+ const k = w[0];
1253
+ h.value = k ? !k.isIntersecting : null;
1254
1254
  });
1255
1255
  const v = C(() => e.preventAutoClose || e.preventCloseOnEscape), p = () => t("close");
1256
1256
  ln(p, C(() => !!(e.isOpen && !v.value)));
1257
1257
  const b = C(() => e.isOpen && s.value || !1);
1258
1258
  Cr(b, C(() => e.focusElement)), Or(C(() => !0), C(() => {
1259
1259
  }), C(() => e.parentElement), s, C(() => !!e.isOpen)), Bc(C(() => e.disableBodyScroll !== !1 && !!e.isOpen));
1260
- const g = Dc(C(() => !!e.isOpen), ac, C(() => (w) => t("visibilityChange", w))), y = C(() => e.isOpen || g.value || e.closeMode === "hide"), A = C(() => [s]), N = C(() => e.preventAutoClose || e.preventCloseOnClick), x = (w) => {
1260
+ const g = Dc(C(() => !!e.isOpen), ac, C(() => (w) => t("visibilityChange", w))), y = C(() => e.isOpen || g.value || e.closeMode === "hide"), A = C(() => [s]), N = C(() => e.preventAutoClose || e.preventCloseOnClick), P = (w) => {
1261
1261
  i.value = w, e.contentRef && (e.contentRef.value = w);
1262
1262
  };
1263
1263
  return () => {
1264
1264
  if (!y.value) return null;
1265
- const w = n.default?.() ?? [], P = w.find((_) => _.type === "header"), O = w.find((_) => _.type === "footer"), k = !!(P || O) ? w.filter((_) => _.type !== "header" && _.type !== "footer" && _.type !== pr) : w;
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;
1266
1266
  return of({
1267
1267
  ...a,
1268
1268
  ClickAwayProvider: gr,
@@ -1272,11 +1272,11 @@ const qf = {
1272
1272
  ProgressCircular: ff,
1273
1273
  className: o.value,
1274
1274
  clickAwayRefs: A,
1275
- content: k.length ? k : void 0,
1276
- contentRef: x,
1275
+ content: O.length ? O : void 0,
1276
+ contentRef: P,
1277
1277
  dialogProps: e.dialogProps,
1278
1278
  footer: void 0,
1279
- footerChildContent: n.footer?.() ?? O?.children,
1279
+ footerChildContent: n.footer?.() ?? x?.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: h.value,
1285
1285
  hasTopIntersection: f.value,
1286
1286
  header: void 0,
1287
- headerChildContent: n.header?.() ?? P?.children,
1287
+ headerChildContent: n.header?.() ?? k?.children,
1288
1288
  headerChildProps: void 0,
1289
1289
  isLoading: e.isLoading,
1290
1290
  isOpen: e.isOpen,
@@ -1390,7 +1390,7 @@ function Xf() {
1390
1390
  ei = 1;
1391
1391
  var e = Wf(), t = qc(), n = Uf(), a = Gf(), o = Kf(), r = Tt(), s = Tc(), i = "[object Map]", l = "[object Object]", c = "[object Promise]", d = "[object Set]", u = "[object WeakMap]", f = "[object DataView]", h = s(e), v = s(t), p = s(n), b = s(a), g = s(o), y = r;
1392
1392
  return (e && y(new e(new ArrayBuffer(1))) != f || 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), x = N == l ? A.constructor : void 0, w = x ? s(x) : "";
1393
+ var N = r(A), P = N == l ? A.constructor : void 0, w = P ? s(P) : "";
1394
1394
  if (w)
1395
1395
  switch (w) {
1396
1396
  case h:
@@ -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]", f = "[object RegExp]", h = "[object Set]", v = "[object String]", p = "[object WeakMap]", b = "[object ArrayBuffer]", g = "[object DataView]", y = "[object Float32Array]", A = "[object Float64Array]", N = "[object Int8Array]", x = "[object Int16Array]", w = "[object Int32Array]", P = "[object Uint8Array]", O = "[object Uint8ClampedArray]", T = "[object Uint16Array]", k = "[object Uint32Array]", _ = {};
1489
- _[y] = _[A] = _[N] = _[x] = _[w] = _[P] = _[O] = _[T] = _[k] = !0, _[a] = _[o] = _[b] = _[r] = _[g] = _[s] = _[i] = _[l] = _[c] = _[d] = _[u] = _[f] = _[h] = _[v] = _[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]", f = "[object RegExp]", h = "[object Set]", v = "[object String]", p = "[object WeakMap]", b = "[object ArrayBuffer]", g = "[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] = _[g] = _[s] = _[i] = _[l] = _[c] = _[d] = _[u] = _[f] = _[h] = _[v] = _[p] = !1;
1490
1490
  function q(j) {
1491
1491
  return n(j) && t(j.length) && !!_[e(j)];
1492
1492
  }
@@ -1507,16 +1507,16 @@ function th() {
1507
1507
  e.exports = i;
1508
1508
  })(St, St.exports)), St.exports;
1509
1509
  }
1510
- var Ra, di;
1510
+ var Ma, di;
1511
1511
  function nh() {
1512
- if (di) return Ra;
1512
+ if (di) return Ma;
1513
1513
  di = 1;
1514
1514
  var e = eh(), t = Ec(), n = th(), a = n && n.isTypedArray, o = a ? t(a) : e;
1515
- return Ra = o, Ra;
1515
+ return Ma = o, Ma;
1516
1516
  }
1517
- var Ma, fi;
1517
+ var Ra, fi;
1518
1518
  function ah() {
1519
- if (fi) return Ma;
1519
+ if (fi) return Ra;
1520
1520
  fi = 1;
1521
1521
  var e = Vf(), t = Xf(), n = kr(), a = Je(), o = Zf(), r = Qf(), s = Fc(), i = nh(), l = "[object Map]", c = "[object Set]", d = Object.prototype, u = d.hasOwnProperty;
1522
1522
  function f(h) {
@@ -1534,7 +1534,7 @@ function ah() {
1534
1534
  return !1;
1535
1535
  return !0;
1536
1536
  }
1537
- return Ma = f, Ma;
1537
+ return Ra = f, Ra;
1538
1538
  }
1539
1539
  var oh = ah();
1540
1540
  const Kt = /* @__PURE__ */ Te(oh);
@@ -1756,7 +1756,7 @@ ee.defaultProps = yh;
1756
1756
  const De = /* @__PURE__ */ E((e) => {
1757
1757
  const t = D(), n = U({
1758
1758
  defaultTheme: void 0
1759
- }), a = R(() => e.class);
1759
+ }), a = M(() => e.class);
1760
1760
  return () => m(ee, S(e, t, {
1761
1761
  className: a.value,
1762
1762
  theme: e.theme || n.value
@@ -1803,7 +1803,7 @@ function Ph() {
1803
1803
  return qe(Vc, void 0);
1804
1804
  }
1805
1805
  function wh(e) {
1806
- const t = M(void 0);
1806
+ const t = R(void 0);
1807
1807
  if (Ph())
1808
1808
  return { tooltipLabel: t };
1809
1809
  const a = () => {
@@ -1858,7 +1858,7 @@ 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 = R(() => e.class), i = C(() => zc({
1861
+ } = wh(o), s = M(() => e.class), i = C(() => zc({
1862
1862
  ...e,
1863
1863
  className: s.value
1864
1864
  })), l = C(() => {
@@ -1893,7 +1893,7 @@ const me = /* @__PURE__ */ E((e, {
1893
1893
  }, It = /* @__PURE__ */ E((e, {
1894
1894
  emit: t
1895
1895
  }) => {
1896
- const n = ke(), a = D(), o = U(), r = R(() => e.class), {
1896
+ const n = ke(), a = D(), o = U(), r = M(() => e.class), {
1897
1897
  isAnyDisabled: s,
1898
1898
  disabledStateProps: i,
1899
1899
  otherProps: l
@@ -1964,7 +1964,7 @@ const me = /* @__PURE__ */ E((e, {
1964
1964
  }, Ih = /* @__PURE__ */ E((e, {
1965
1965
  slots: t
1966
1966
  }) => {
1967
- const n = D(), a = R(() => e.class);
1967
+ const n = D(), a = M(() => e.class);
1968
1968
  return () => m(_h, S(e, n, {
1969
1969
  className: a.value,
1970
1970
  label: t.default?.() ?? n.label,
@@ -1981,7 +1981,7 @@ const me = /* @__PURE__ */ E((e, {
1981
1981
  emit: t,
1982
1982
  slots: n
1983
1983
  }) => {
1984
- const a = D(), o = R(() => e.class), r = re(), s = C(() => e.id || r), i = Me(void 0), l = Me(void 0);
1984
+ const a = D(), o = M(() => e.class), r = re(), s = C(() => 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", f = {
1987
1987
  isOpen: e.isOpen,
@@ -2034,7 +2034,7 @@ const me = /* @__PURE__ */ E((e, {
2034
2034
  element: nr
2035
2035
  } = B(Eh), Uc = {
2036
2036
  size: H.m
2037
- }, Rh = (e) => {
2037
+ }, Mh = (e) => {
2038
2038
  const {
2039
2039
  actions: t,
2040
2040
  badge: n,
@@ -2061,7 +2061,7 @@ const me = /* @__PURE__ */ E((e, {
2061
2061
  function Ba(e, t) {
2062
2062
  return t?.type === "error" || e?.complete && !e.getAttribute("src") ? "hasError" : !e || !e.complete ? "isLoading" : "isLoaded";
2063
2063
  }
2064
- function Mh({
2064
+ function Rh({
2065
2065
  image: e,
2066
2066
  aspectRatio: t,
2067
2067
  focusPoint: n,
@@ -2143,28 +2143,28 @@ const Bh = "lumx-thumbnail", {
2143
2143
  isAnyDisabled: y,
2144
2144
  disabledStateProps: A,
2145
2145
  size: N,
2146
- theme: x,
2146
+ theme: P,
2147
2147
  loadingState: w,
2148
- variant: P,
2149
- linkProps: O,
2148
+ variant: k,
2149
+ linkProps: x,
2150
2150
  linkAs: T,
2151
- handleClick: k,
2151
+ handleClick: O,
2152
2152
  handleKeyPress: _,
2153
2153
  ...q
2154
2154
  } = e, j = v || w === "isLoading", I = w === "hasError", F = I && typeof l == "string", V = I && !F, W = {};
2155
2155
  F ? W.visibility = "hidden" : V && (W.display = "none");
2156
- const z = !!(O?.href || T), Y = !y && !!(z || k || _), ae = {
2156
+ const z = !!(x?.href || T), Y = !y && !!(z || O || _), ae = {
2157
2157
  ...q
2158
2158
  };
2159
2159
  Y && (Object.assign(ae, {
2160
- as: T || (O?.href ? "a" : "button")
2161
- }, A), z ? Object.assign(ae, O) : ae["aria-label"] = q["aria-label"] || n);
2162
- const Z = fe.join(O?.className, r, Fh({
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({
2163
2163
  [`align-${t}`]: !!t,
2164
2164
  [`aspect-ratio-${a}`]: !!a,
2165
2165
  [`size-${N}`]: !!N,
2166
- [`theme-${x}`]: !!x,
2167
- [`variant-${P}`]: !!P,
2166
+ [`theme-${P}`]: !!P,
2167
+ [`variant-${k}`]: !!k,
2168
2168
  "is-clickable": Y,
2169
2169
  "has-error": I,
2170
2170
  "has-icon-error-fallback": F,
@@ -2203,14 +2203,14 @@ const Bh = "lumx-thumbnail", {
2203
2203
  }, [F ? ee({
2204
2204
  icon: l,
2205
2205
  size: rt.xxs,
2206
- theme: x
2206
+ theme: P
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: k,
2213
+ handleClick: O,
2214
2214
  handleKeyPress: _
2215
2215
  }) : m("div", S({
2216
2216
  ref: i
@@ -2219,7 +2219,7 @@ const Bh = "lumx-thumbnail", {
2219
2219
  }), [Xr]);
2220
2220
  }, oe = (e) => sc()?.vnode.props?.[e] !== void 0;
2221
2221
  function jh(e, t) {
2222
- const n = M(Ba(t.value));
2222
+ const n = R(Ba(t.value));
2223
2223
  X(
2224
2224
  [e, t],
2225
2225
  () => {
@@ -2242,7 +2242,7 @@ function jh(e, t) {
2242
2242
  }
2243
2243
  function Hh(e) {
2244
2244
  const { image: t, aspectRatio: n, focusPoint: a, width: o, height: r, element: s, isLoaded: i } = e, l = C(
2245
- () => Mh({
2245
+ () => Rh({
2246
2246
  image: t.value,
2247
2247
  aspectRatio: n.value,
2248
2248
  focusPoint: a.value,
@@ -2251,7 +2251,7 @@ function Hh(e) {
2251
2251
  element: s.value,
2252
2252
  isLoaded: i.value
2253
2253
  })
2254
- ), c = M(void 0), d = () => {
2254
+ ), c = R(void 0), d = () => {
2255
2255
  const f = s.value?.offsetWidth, h = s.value?.offsetHeight;
2256
2256
  if (f && h) {
2257
2257
  const v = c.value;
@@ -2282,7 +2282,7 @@ const zh = {
2282
2282
  emit: t,
2283
2283
  slots: n
2284
2284
  }) => {
2285
- const a = D(), o = U(), r = R(() => e.class), s = M(), i = oe("onClick"), l = oe("onKeyPress"), {
2285
+ const a = D(), o = U(), r = M(() => e.class), s = R(), i = oe("onClick"), l = oe("onKeyPress"), {
2286
2286
  isAnyDisabled: c,
2287
2287
  disabledStateProps: d,
2288
2288
  otherProps: u
@@ -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: g && (Array.isArray(g) ? g.map((x) => ({
2324
- ...x,
2323
+ badge: g && (Array.isArray(g) ? g.map((P) => ({
2324
+ ...P,
2325
2325
  props: {
2326
- ...x.props,
2327
- class: fe.join(Nt("badge"), x.props?.class)
2326
+ ...P.props,
2327
+ class: fe.join(Nt("badge"), P.props?.class)
2328
2328
  }
2329
2329
  })) : {
2330
2330
  ...g,
@@ -2355,7 +2355,7 @@ const zh = {
2355
2355
  emit: t,
2356
2356
  slots: n
2357
2357
  }) => {
2358
- const a = D(), o = U(), r = R(() => e.class), s = (l) => t("click", l), i = (l) => t("keypress", l);
2358
+ const a = D(), o = U(), r = M(() => e.class), s = (l) => t("click", l), i = (l) => t("keypress", l);
2359
2359
  return () => {
2360
2360
  const {
2361
2361
  image: l,
@@ -2366,7 +2366,7 @@ const zh = {
2366
2366
  linkAs: h,
2367
2367
  thumbnailProps: v
2368
2368
  } = e, p = u || o.value, b = n.actions?.(), g = n.badge?.();
2369
- return m(Rh, S(a, {
2369
+ return m(Mh, S(a, {
2370
2370
  className: r.value,
2371
2371
  theme: p,
2372
2372
  size: d,
@@ -2507,33 +2507,33 @@ function _r(e, t, n) {
2507
2507
  }
2508
2508
  const h = Kc(n);
2509
2509
  function v(N) {
2510
- const x = N > 0, w = Math.abs(N), P = l(), O = d(), T = x ? () => O.nextNode() : () => O.previousNode();
2511
- let k = null, _ = w;
2512
- if (P)
2513
- O.currentNode = P;
2514
- else if (!x) {
2515
- if (k = O.lastChild(), !k) return null;
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;
2516
2516
  _ -= 1;
2517
2517
  }
2518
2518
  for (let q = 0; q < _; q++) {
2519
2519
  const j = T();
2520
2520
  if (j)
2521
- k = j;
2522
- else if (P && s) {
2523
- const I = x ? u() : f();
2524
- if (!I || I === P) break;
2525
- k = I, O.currentNode = I;
2521
+ O = j;
2522
+ else if (k && s) {
2523
+ const I = P ? u() : f();
2524
+ if (!I || I === k) break;
2525
+ O = I, x.currentNode = I;
2526
2526
  } else
2527
2527
  break;
2528
2528
  }
2529
- return k;
2529
+ return O;
2530
2530
  }
2531
2531
  function p(N) {
2532
- const x = d(!1);
2533
- let w = x.nextNode();
2532
+ const P = d(!1);
2533
+ let w = P.nextNode();
2534
2534
  for (; w; ) {
2535
2535
  if (N(w)) return w;
2536
- w = x.nextNode();
2536
+ w = P.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 x = d();
2561
- x.currentNode = N;
2562
- const w = x.nextNode();
2563
- return w instanceof HTMLElement ? w : (x.currentNode = N, x.previousNode());
2560
+ const P = d();
2561
+ P.currentNode = N;
2562
+ const w = P.nextNode();
2563
+ return w instanceof HTMLElement ? w : (P.currentNode = N, P.previousNode());
2564
2564
  }
2565
2565
  };
2566
2566
  function y(N) {
2567
- const x = N(g);
2568
- if (x && x.matches(o) && a.contains(x)) {
2567
+ const P = N(g);
2568
+ if (P && P.matches(o) && a.contains(P)) {
2569
2569
  const w = l();
2570
- return w !== x && (w && t.onDeactivate(w), t.onActivate(x)), h.clear(), !0;
2570
+ return w !== P && (w && t.onDeactivate(w), t.onActivate(P)), h.clear(), !0;
2571
2571
  }
2572
2572
  return h.defer(() => y(N)), !1;
2573
2573
  }
2574
2574
  function A(N) {
2575
2575
  if (N === 0) return l() !== null;
2576
- const x = v(N);
2577
- return x ? y(() => x) : !1;
2576
+ const P = v(N);
2577
+ return P ? y(() => P) : !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 = (O) => O.querySelector(r) !== null, c = (O) => O.querySelector(r), d = (O) => Array.from(O.querySelectorAll(r));
2628
- function* u(O = "first", T = "next", k) {
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) {
2629
2629
  const _ = Lt(a, o);
2630
- O instanceof HTMLElement ? _.currentNode = O : O === "last" && (_.currentNode = Jh(a));
2630
+ x instanceof HTMLElement ? _.currentNode = x : x === "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 = k ? k(q) : q;
2634
+ const j = O ? O(q) : q;
2635
2635
  j && (yield j);
2636
2636
  }
2637
2637
  while (q);
2638
2638
  }
2639
2639
  const f = () => _e(u()), h = () => _e(u("last", "prev"));
2640
- function v(O) {
2641
- const T = O.closest(o);
2640
+ function v(x) {
2641
+ const T = x.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 g(O, T) {
2647
- const k = d(O);
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(O) {
2653
- const T = v(O);
2646
+ function g(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 = v(x);
2654
2654
  if (!T) return !1;
2655
- const _ = d(T).indexOf(O);
2656
- return _ === -1 ? !1 : (b = _, i.setActive(O), !0);
2655
+ const _ = d(T).indexOf(x);
2656
+ return _ === -1 ? !1 : (b = _, i.setActive(x), !0);
2657
2657
  }
2658
2658
  function A() {
2659
- const O = f();
2660
- return O ? (b = 0, g(O, 0)) : !1;
2659
+ const x = f();
2660
+ return x ? (b = 0, g(x, 0)) : !1;
2661
2661
  }
2662
2662
  function N() {
2663
- const O = h();
2664
- return O ? (b = 0, g(O, 0)) : !1;
2663
+ const x = h();
2664
+ return x ? (b = 0, g(x, 0)) : !1;
2665
2665
  }
2666
- function x(O) {
2666
+ function P(x) {
2667
2667
  if (!i.active) return !1;
2668
2668
  const T = v(i.active);
2669
2669
  if (!T) return !1;
2670
- const k = d(T), _ = k.indexOf(i.active);
2670
+ const O = d(T), _ = O.indexOf(i.active);
2671
2671
  if (_ === -1) return !1;
2672
- const q = _ + O;
2673
- if (q >= 0 && q < k.length)
2674
- return b = q, i.setActive(k[q]), !0;
2672
+ const q = _ + x;
2673
+ if (q >= 0 && q < O.length)
2674
+ return b = q, i.setActive(O[q]), !0;
2675
2675
  if (!s) return !1;
2676
- const j = O > 0 ? "next" : "prev", F = _e(u(T, j)) ?? (O > 0 ? f() : h());
2676
+ const j = x > 0 ? "next" : "prev", F = _e(u(T, j)) ?? (x > 0 ? f() : h());
2677
2677
  if (!F) return !1;
2678
2678
  const V = d(F);
2679
2679
  if (V.length === 0) return !1;
2680
- const W = O > 0 ? 0 : V.length - 1;
2680
+ const W = x > 0 ? 0 : V.length - 1;
2681
2681
  return b = W, i.setActive(V[W]), !0;
2682
2682
  }
2683
- function w(O) {
2683
+ function w(x) {
2684
2684
  if (!i.active)
2685
- return O === "next" ? A() : N();
2685
+ return x === "next" ? A() : N();
2686
2686
  const T = v(i.active);
2687
2687
  if (!T) return !1;
2688
- const k = _e(u(T, O));
2689
- if (k) return g(k, b);
2688
+ const O = _e(u(T, x));
2689
+ if (O) return g(O, b);
2690
2690
  if (s) {
2691
- const _ = O === "next" ? f() : h();
2691
+ const _ = x === "next" ? f() : h();
2692
2692
  if (_) return g(_, b);
2693
2693
  }
2694
2694
  return !1;
2695
2695
  }
2696
- const P = {
2696
+ const k = {
2697
2697
  get activeItem() {
2698
2698
  return i.active;
2699
2699
  },
@@ -2705,32 +2705,32 @@ function Qh(e, t, n) {
2705
2705
  // First cell in last row
2706
2706
  getLast: () => _e(u("last", "prev", c)),
2707
2707
  // First cell matching predicate
2708
- getMatching: (O) => _e(u("first", "next", (T) => d(T).find(O)))
2708
+ getMatching: (x) => _e(u("first", "next", (T) => d(T).find(x)))
2709
2709
  };
2710
2710
  return {
2711
2711
  type: "grid",
2712
- selectors: P,
2713
- goToOffset(O) {
2714
- if (O === 0) return i.active !== null;
2712
+ selectors: k,
2713
+ goToOffset(x) {
2714
+ if (x === 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 = O > 0 ? 0 : T.length - 1, I = O > 0 ? O - 1 : O + 1, F = Math.max(0, Math.min(j + I, T.length - 1));
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
2719
  return g(T[F], b);
2720
2720
  }
2721
- const k = v(i.active);
2722
- if (!k) return !1;
2723
- const _ = T.indexOf(k);
2721
+ const O = v(i.active);
2722
+ if (!O) return !1;
2723
+ const _ = T.indexOf(O);
2724
2724
  if (_ === -1) return !1;
2725
- const q = Math.max(0, Math.min(_ + O, T.length - 1));
2725
+ const q = Math.max(0, Math.min(_ + x, T.length - 1));
2726
2726
  return q === _ ? !1 : g(T[q], b);
2727
2727
  },
2728
2728
  clear() {
2729
2729
  i.clear(), p.clear();
2730
2730
  },
2731
- goTo(O) {
2732
- const T = O(P);
2733
- return T && y(T) ? (p.clear(), !0) : (p.defer(() => this.goTo(O)), !1);
2731
+ goTo(x) {
2732
+ const T = x(k);
2733
+ return T && y(T) ? (p.clear(), !0) : (p.defer(() => this.goTo(x)), !1);
2734
2734
  },
2735
2735
  flushPendingNavigation() {
2736
2736
  p.flush();
@@ -2742,10 +2742,10 @@ function Qh(e, t, n) {
2742
2742
  return w("next");
2743
2743
  },
2744
2744
  goLeft() {
2745
- return x(-1);
2745
+ return P(-1);
2746
2746
  },
2747
2747
  goRight() {
2748
- return x(1);
2748
+ return P(1);
2749
2749
  }
2750
2750
  };
2751
2751
  }
@@ -2837,42 +2837,42 @@ function tm(e, t) {
2837
2837
  v();
2838
2838
  const b = new MutationObserver((g) => {
2839
2839
  let y = null, A = null, N = null;
2840
- const x = [], w = [];
2841
- for (const P of g) {
2842
- if (P.type === "childList") {
2840
+ const P = [], w = [];
2841
+ for (const k of g) {
2842
+ if (k.type === "childList") {
2843
2843
  if (!y)
2844
- for (const T of P.removedNodes) {
2845
- const { value: k } = gi(T, l).next();
2846
- if (k) {
2847
- y = k, A = P.nextSibling ?? P.previousSibling ?? null;
2844
+ for (const T of k.removedNodes) {
2845
+ const { value: O } = gi(T, l).next();
2846
+ if (O) {
2847
+ y = O, A = k.nextSibling ?? k.previousSibling ?? null;
2848
2848
  break;
2849
2849
  }
2850
2850
  }
2851
- for (const T of P.addedNodes)
2852
- for (const k of gi(T, a))
2853
- w.push(k);
2851
+ for (const T of k.addedNodes)
2852
+ for (const O of gi(T, a))
2853
+ w.push(O);
2854
2854
  }
2855
- const O = P.target;
2856
- P.type === "attributes" && O.matches(a) && (P.attributeName === s && O.getAttribute(s) === "true" ? N = O : r && O.matches(r) && x.push(O));
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));
2857
2857
  }
2858
2858
  if (y) {
2859
- const P = d.hasFocus;
2860
- d.reset(), p(P, A);
2859
+ const k = d.hasFocus;
2860
+ d.reset(), p(k, A);
2861
2861
  }
2862
2862
  if (w.length > 0) {
2863
- const P = n.querySelector(l) !== null;
2864
- h(w, P);
2863
+ const k = n.querySelector(l) !== null;
2864
+ h(w, k);
2865
2865
  }
2866
- if (x.length > 0) {
2867
- const P = u.selectors.activeItem;
2868
- for (const k of x)
2869
- f(k, "-1");
2870
- const T = !!(P && x.includes(P) && d.hasFocus);
2866
+ if (P.length > 0) {
2867
+ const k = u.selectors.activeItem;
2868
+ for (const O of P)
2869
+ f(O, "-1");
2870
+ const T = !!(k && P.includes(k) && d.hasFocus);
2871
2871
  p(T);
2872
2872
  }
2873
2873
  if (N) {
2874
- const P = n.querySelector(l);
2875
- P && P !== N && f(P, "-1"), f(N, "0");
2874
+ const k = n.querySelector(l);
2875
+ k && k !== N && f(k, "-1"), f(N, "0");
2876
2876
  }
2877
2877
  });
2878
2878
  return b.observe(n, {
@@ -3006,18 +3006,18 @@ function Xc(e, t, n) {
3006
3006
  const I = y(), F = o?.value ?? "";
3007
3007
  (I !== f || I === 0 && F !== h) && (f = I, h = F, g("optionsChange", { optionsLength: I, inputValue: F })), i && o?.setAttribute("aria-expanded", String(A()));
3008
3008
  }
3009
- const x = 500;
3010
- let w, P = !1;
3011
- function O() {
3009
+ const P = 500;
3010
+ let w, k = !1;
3011
+ function x() {
3012
3012
  clearTimeout(w), p > 0 && i && (w = setTimeout(() => {
3013
- p > 0 && i && (P = !0, g("loadingAnnouncement", !0));
3014
- }, x));
3013
+ p > 0 && i && (k = !0, g("loadingAnnouncement", !0));
3014
+ }, P));
3015
3015
  }
3016
3016
  function T() {
3017
3017
  const I = p > 0;
3018
- v = I, g("loadingChange", I), I ? O() : (clearTimeout(w), P && (P = !1, g("loadingAnnouncement", !1)));
3018
+ v = I, g("loadingChange", I), I ? x() : (clearTimeout(w), k && (k = !1, g("loadingAnnouncement", !1)));
3019
3019
  }
3020
- let k;
3020
+ let O;
3021
3021
  function _() {
3022
3022
  u?.abort(), u = null, s = null;
3023
3023
  }
@@ -3028,30 +3028,30 @@ function Xc(e, t, n) {
3028
3028
  return;
3029
3029
  }
3030
3030
  let Y = !1;
3031
- const { altKey: ae } = z, Z = k.focusNav;
3031
+ const { altKey: ae } = z, Z = O.focusNav;
3032
3032
  switch (z.key) {
3033
3033
  case "Enter":
3034
- if (k.isOpen && Z?.selectors.activeItem) {
3034
+ if (O.isOpen && Z?.selectors.activeItem) {
3035
3035
  const { activeItem: J } = Z.selectors;
3036
3036
  Gc(J) || J.click(), Y = !0;
3037
- } else k.isOpen && !k.isMultiSelect && k.setIsOpen(!1);
3037
+ } else O.isOpen && !O.isMultiSelect && O.setIsOpen(!1);
3038
3038
  break;
3039
3039
  // Open if closed, else move focus within listbox (wrap if enabled).
3040
3040
  case "ArrowDown":
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;
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;
3042
3042
  break;
3043
3043
  // Open if closed, else move focus within listbox (wrap if enabled).
3044
3044
  case "ArrowUp":
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;
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;
3046
3046
  break;
3047
3047
  case "Escape":
3048
- k.isOpen ? k.setIsOpen(!1) : k.select(null), Y = !0;
3048
+ O.isOpen ? O.setIsOpen(!1) : O.select(null), Y = !0;
3049
3049
  break;
3050
3050
  case "PageUp":
3051
- k.isOpen && Z?.selectors.activeItem && Z.goToOffset(-10), Y = !0;
3051
+ O.isOpen && Z?.selectors.activeItem && Z.goToOffset(-10), Y = !0;
3052
3052
  break;
3053
3053
  case "PageDown":
3054
- k.isOpen && Z?.selectors.activeItem && Z.goToOffset(10), Y = !0;
3054
+ O.isOpen && Z?.selectors.activeItem && Z.goToOffset(10), Y = !0;
3055
3055
  break;
3056
3056
  }
3057
3057
  Y && (z.stopPropagation(), z.preventDefault());
@@ -3062,18 +3062,18 @@ function Xc(e, t, n) {
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?.(k, u.signal) || void 0;
3065
+ const F = n?.(O, u.signal) || void 0;
3066
3066
  q(o, u.signal, F), o.addEventListener(
3067
3067
  "focusout",
3068
3068
  () => {
3069
- k.setIsOpen(!1);
3069
+ O.setIsOpen(!1);
3070
3070
  },
3071
3071
  { signal: u.signal }
3072
3072
  );
3073
3073
  }
3074
- r && !s && (s = bi(k, u.signal, g, { wrapNavigation: a }));
3074
+ r && !s && (s = bi(O, u.signal, g, { wrapNavigation: a }));
3075
3075
  }
3076
- return k = {
3076
+ return O = {
3077
3077
  get trigger() {
3078
3078
  return o;
3079
3079
  },
@@ -3093,11 +3093,11 @@ function Xc(e, t, n) {
3093
3093
  return p > 0;
3094
3094
  },
3095
3095
  setIsOpen(I) {
3096
- i !== I && (i = I, I ? p > 0 && O() : (s?.clear(), clearTimeout(w), P && (P = !1, g("loadingAnnouncement", !1))), o?.setAttribute("aria-expanded", String(I && A())), g("open", I));
3096
+ i !== I && (i = I, I ? p > 0 && x() : (s?.clear(), clearTimeout(w), k && (k = !1, g("loadingAnnouncement", !1))), o?.setAttribute("aria-expanded", String(I && A())), g("open", I));
3097
3097
  },
3098
3098
  select(I) {
3099
- e.onSelect?.({ value: I ? Dt(I) : "" }), I && !k.isMultiSelect && (k.focusNav?.clear(), requestAnimationFrame(() => {
3100
- k.setIsOpen(!1);
3099
+ e.onSelect?.({ value: I ? Dt(I) : "" }), I && !O.isMultiSelect && (O.focusNav?.clear(), requestAnimationFrame(() => {
3100
+ O.setIsOpen(!1);
3101
3101
  }));
3102
3102
  },
3103
3103
  flushPendingNavigation() {
@@ -3144,7 +3144,7 @@ function Xc(e, t, n) {
3144
3144
  if (r === I) return () => {
3145
3145
  };
3146
3146
  const F = !!r;
3147
- return r = I, o && u && (F ? (_(), j()) : s = bi(k, u.signal, g, { wrapNavigation: a })), () => {
3147
+ return r = I, o && u && (F ? (_(), j()) : s = bi(O, u.signal, g, { wrapNavigation: a })), () => {
3148
3148
  r === I && (r = null, s = null);
3149
3149
  };
3150
3150
  },
@@ -3154,11 +3154,11 @@ function Xc(e, t, n) {
3154
3154
  };
3155
3155
  },
3156
3156
  destroy() {
3157
- _(), o = null, r = null, l = "", f = 0, h = "", v = !1, c.clear(), d.clear(), p = 0, clearTimeout(w), P = !1;
3157
+ _(), o = null, r = null, l = "", f = 0, h = "", v = !1, c.clear(), d.clear(), p = 0, clearTimeout(w), k = !1;
3158
3158
  for (const I of Object.values(b))
3159
3159
  I.clear();
3160
3160
  }
3161
- }, k;
3161
+ }, O;
3162
3162
  }
3163
3163
  const nm = 500;
3164
3164
  function Yc(e, t, n) {
@@ -3456,17 +3456,17 @@ async function vm(e, t) {
3456
3456
  } : {
3457
3457
  x: 1,
3458
3458
  y: 1
3459
- }, x = Jt(r.convertOffsetParentRelativeRectToViewportRelativeRect ? await r.convertOffsetParentRelativeRectToViewportRelativeRect({
3459
+ }, P = 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: (g.top - x.top + v.top) / N.y,
3467
- bottom: (x.bottom - g.bottom + v.bottom) / N.y,
3468
- left: (g.left - x.left + v.left) / N.x,
3469
- right: (x.right - g.right + v.right) / N.x
3466
+ top: (g.top - P.top + v.top) / N.y,
3467
+ bottom: (P.bottom - g.bottom + v.bottom) / N.y,
3468
+ left: (g.left - P.left + v.left) / N.x,
3469
+ right: (P.right - g.right + v.right) / N.x
3470
3470
  };
3471
3471
  }
3472
3472
  const gm = async (e, t, n) => {
@@ -3492,7 +3492,7 @@ const gm = async (e, t, n) => {
3492
3492
  } = i[b], {
3493
3493
  x: A,
3494
3494
  y: N,
3495
- data: x,
3495
+ data: P,
3496
3496
  reset: w
3497
3497
  } = await y({
3498
3498
  x: d,
@@ -3515,7 +3515,7 @@ const gm = async (e, t, n) => {
3515
3515
  ...h,
3516
3516
  [g]: {
3517
3517
  ...h[g],
3518
- ...x
3518
+ ...P
3519
3519
  }
3520
3520
  }, w && v <= 50 && (v++, typeof w == "object" && (w.placement && (f = w.placement), w.rects && (c = w.rects === !0 ? await s.getElementRects({
3521
3521
  reference: e,
@@ -3554,10 +3554,10 @@ const gm = async (e, t, n) => {
3554
3554
  const u = Qc(d), f = {
3555
3555
  x: n,
3556
3556
  y: a
3557
- }, h = Lr(o), v = Ir(h), p = await s.getDimensions(c), b = h === "y", g = b ? "top" : "left", y = b ? "bottom" : "right", A = b ? "clientHeight" : "clientWidth", N = r.reference[v] + r.reference[h] - f[h] - r.floating[v], x = f[h] - r.reference[h], w = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(c));
3558
- let P = w ? w[A] : 0;
3559
- (!P || !await (s.isElement == null ? void 0 : s.isElement(w))) && (P = i.floating[A] || r.floating[v]);
3560
- const O = N / 2 - x / 2, T = P / 2 - p[v] / 2 - 1, k = Be(u[g], T), _ = Be(u[y], T), q = k, j = P - p[v] - _, I = P / 2 - p[v] / 2 + O, F = rr(q, I, j), V = !l.arrow && de(o) != null && I !== F && r.reference[v] / 2 - (I < q ? k : _) - p[v] / 2 < 0, W = V ? I < q ? I - q : I - j : 0;
3557
+ }, h = Lr(o), v = Ir(h), p = await s.getDimensions(c), b = h === "y", g = b ? "top" : "left", y = b ? "bottom" : "right", A = b ? "clientHeight" : "clientWidth", N = r.reference[v] + r.reference[h] - f[h] - r.floating[v], P = f[h] - r.reference[h], 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[v]);
3560
+ const x = N / 2 - P / 2, T = k / 2 - p[v] / 2 - 1, O = Be(u[g], T), _ = Be(u[y], T), q = O, j = k - p[v] - _, I = k / 2 - p[v] / 2 + x, F = rr(q, I, j), V = !l.arrow && de(o) != null && I !== F && r.reference[v] / 2 - (I < q ? O : _) - p[v] / 2 < 0, W = V ? I < q ? I - q : I - j : 0;
3561
3561
  return {
3562
3562
  [h]: f[h] + W,
3563
3563
  data: {
@@ -3602,7 +3602,7 @@ const Am = function(e) {
3602
3602
  placement: p[0]
3603
3603
  }
3604
3604
  };
3605
- const N = [b[Ae(y)], b[A[0]], b[A[1]]], x = [...((a = s.autoPlacement) == null ? void 0 : a.overflows) || [], {
3605
+ const N = [b[Ae(y)], b[A[0]], b[A[1]]], P = [...((a = s.autoPlacement) == null ? void 0 : a.overflows) || [], {
3606
3606
  placement: y,
3607
3607
  overflows: N
3608
3608
  }], w = p[g + 1];
@@ -3610,31 +3610,31 @@ const Am = function(e) {
3610
3610
  return {
3611
3611
  data: {
3612
3612
  index: g + 1,
3613
- overflows: x
3613
+ overflows: P
3614
3614
  },
3615
3615
  reset: {
3616
3616
  placement: w
3617
3617
  }
3618
3618
  };
3619
- const P = x.map((k) => {
3620
- const _ = de(k.placement);
3621
- return [k.placement, _ && d ? (
3619
+ const k = P.map((O) => {
3620
+ const _ = de(O.placement);
3621
+ return [O.placement, _ && d ? (
3622
3622
  // Check along the mainAxis and main crossAxis side.
3623
- k.overflows.slice(0, 2).reduce((q, j) => q + j, 0)
3623
+ O.overflows.slice(0, 2).reduce((q, j) => q + j, 0)
3624
3624
  ) : (
3625
3625
  // Check only the mainAxis.
3626
- k.overflows[0]
3627
- ), k.overflows];
3628
- }).sort((k, _) => k[1] - _[1]), T = ((o = P.filter((k) => k[2].slice(
3626
+ O.overflows[0]
3627
+ ), O.overflows];
3628
+ }).sort((O, _) => O[1] - _[1]), T = ((o = k.filter((O) => O[2].slice(
3629
3629
  0,
3630
3630
  // Aligned placements should not check their opposite crossAxis
3631
3631
  // side.
3632
- de(k[0]) ? 2 : 3
3633
- ).every((_) => _ <= 0))[0]) == null ? void 0 : o[0]) || P[0][0];
3632
+ de(O[0]) ? 2 : 3
3633
+ ).every((_) => _ <= 0))[0]) == null ? void 0 : o[0]) || k[0][0];
3634
3634
  return T !== i ? {
3635
3635
  data: {
3636
3636
  index: g + 1,
3637
- overflows: x
3637
+ overflows: P
3638
3638
  },
3639
3639
  reset: {
3640
3640
  placement: T
@@ -3666,38 +3666,38 @@ const Am = function(e) {
3666
3666
  } = Qe(e, t);
3667
3667
  if ((n = r.arrow) != null && n.alignmentOffset)
3668
3668
  return {};
3669
- const g = Ae(o), y = Ce(i), A = Ae(i) === i, N = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), x = f || (A || !p ? [Zt(i)] : um(i)), w = v !== "none";
3670
- !f && w && x.push(...mm(i, p, v, N));
3671
- const P = [i, ...x], O = await l.detectOverflow(t, b), T = [];
3672
- let k = ((a = r.flip) == null ? void 0 : a.overflows) || [];
3673
- if (d && T.push(O[g]), u) {
3669
+ const g = Ae(o), y = Ce(i), A = Ae(i) === i, N = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), P = f || (A || !p ? [Zt(i)] : um(i)), w = v !== "none";
3670
+ !f && w && P.push(...mm(i, p, v, 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[g]), u) {
3674
3674
  const I = Jc(o, s, N);
3675
- T.push(O[I[0]], O[I[1]]);
3675
+ T.push(x[I[0]], x[I[1]]);
3676
3676
  }
3677
- if (k = [...k, {
3677
+ if (O = [...O, {
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 = P[I];
3682
+ const I = (((_ = r.flip) == null ? void 0 : _.index) || 0) + 1, F = k[I];
3683
3683
  if (F && (!(u === "alignment" ? y !== Ce(F) : !1) || // We leave the current main axis only if every placement on that axis
3684
3684
  // overflows the main axis.
3685
- k.every((z) => Ce(z.placement) === y ? z.overflows[0] > 0 : !0)))
3685
+ O.every((z) => Ce(z.placement) === y ? z.overflows[0] > 0 : !0)))
3686
3686
  return {
3687
3687
  data: {
3688
3688
  index: I,
3689
- overflows: k
3689
+ overflows: O
3690
3690
  },
3691
3691
  reset: {
3692
3692
  placement: F
3693
3693
  }
3694
3694
  };
3695
- let V = (q = k.filter((W) => W.overflows[0] <= 0).sort((W, z) => W.overflows[1] - z.overflows[1])[0]) == null ? void 0 : q.placement;
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
3696
  if (!V)
3697
3697
  switch (h) {
3698
3698
  case "bestFit": {
3699
3699
  var j;
3700
- const W = (j = k.filter((z) => {
3700
+ const W = (j = O.filter((z) => {
3701
3701
  if (w) {
3702
3702
  const Y = Ce(z.placement);
3703
3703
  return Y === y || // Create a bias to the `y` side axis due to horizontal
@@ -3851,16 +3851,16 @@ const Pm = function(e) {
3851
3851
  } = r.floating;
3852
3852
  let b, g;
3853
3853
  u === "top" || u === "bottom" ? (b = u, g = f === (await (s.isRTL == null ? void 0 : s.isRTL(i.floating)) ? "start" : "end") ? "left" : "right") : (g = u, b = f === "end" ? "top" : "bottom");
3854
- const y = p - d.top - d.bottom, A = v - d.left - d.right, N = Be(p - d[b], y), x = Be(v - d[g], A), w = !t.middlewareData.shift;
3855
- let P = N, O = x;
3856
- if ((n = t.middlewareData.shift) != null && n.enabled.x && (O = A), (a = t.middlewareData.shift) != null && a.enabled.y && (P = y), w && !f) {
3857
- const k = le(d.left, 0), _ = le(d.right, 0), q = le(d.top, 0), j = le(d.bottom, 0);
3858
- h ? O = v - 2 * (k !== 0 || _ !== 0 ? k + _ : le(d.left, d.right)) : P = p - 2 * (q !== 0 || j !== 0 ? q + j : le(d.top, d.bottom));
3854
+ const y = p - d.top - d.bottom, A = v - d.left - d.right, N = Be(p - d[b], y), P = Be(v - d[g], 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 && !f) {
3857
+ const O = le(d.left, 0), _ = le(d.right, 0), q = le(d.top, 0), j = le(d.bottom, 0);
3858
+ h ? x = v - 2 * (O !== 0 || _ !== 0 ? O + _ : le(d.left, d.right)) : k = p - 2 * (q !== 0 || j !== 0 ? q + j : le(d.top, d.bottom));
3859
3859
  }
3860
3860
  await l({
3861
3861
  ...t,
3862
- availableWidth: O,
3863
- availableHeight: P
3862
+ availableWidth: x,
3863
+ availableHeight: k
3864
3864
  });
3865
3865
  const T = await s.getDimensions(i.floating);
3866
3866
  return v !== T.width || p !== T.height ? {
@@ -3923,7 +3923,7 @@ function hn(e) {
3923
3923
  }
3924
3924
  const Im = ["transform", "translate", "scale", "rotate", "perspective"], Lm = ["transform", "translate", "scale", "rotate", "perspective", "filter"], Em = ["paint", "layout", "strict", "content"];
3925
3925
  function $r(e) {
3926
- const t = Rr(), n = pe(e) ? ve(e) : e;
3926
+ const t = Mr(), n = pe(e) ? ve(e) : e;
3927
3927
  return Im.some((a) => n[a] ? n[a] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !t && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !t && (n.filter ? n.filter !== "none" : !1) || Lm.some((a) => (n.willChange || "").includes(a)) || Em.some((a) => (n.contain || "").includes(a));
3928
3928
  }
3929
3929
  function $m(e) {
@@ -3937,12 +3937,12 @@ function $m(e) {
3937
3937
  }
3938
3938
  return null;
3939
3939
  }
3940
- function Rr() {
3940
+ function Mr() {
3941
3941
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
3942
3942
  }
3943
- const Rm = /* @__PURE__ */ new Set(["html", "body", "#document"]);
3943
+ const Mm = /* @__PURE__ */ new Set(["html", "body", "#document"]);
3944
3944
  function ut(e) {
3945
- return Rm.has(et(e));
3945
+ return Mm.has(et(e));
3946
3946
  }
3947
3947
  function ve(e) {
3948
3948
  return ce(e).getComputedStyle(e);
@@ -3995,11 +3995,11 @@ function tu(e) {
3995
3995
  $: i
3996
3996
  };
3997
3997
  }
3998
- function Mr(e) {
3998
+ function Rr(e) {
3999
3999
  return pe(e) ? e : e.contextElement;
4000
4000
  }
4001
4001
  function it(e) {
4002
- const t = Mr(e);
4002
+ const t = Rr(e);
4003
4003
  if (!Se(t))
4004
4004
  return be(1);
4005
4005
  const n = t.getBoundingClientRect(), {
@@ -4013,10 +4013,10 @@ function it(e) {
4013
4013
  y: i
4014
4014
  };
4015
4015
  }
4016
- const Mm = /* @__PURE__ */ be(0);
4016
+ const Rm = /* @__PURE__ */ be(0);
4017
4017
  function nu(e) {
4018
4018
  const t = ce(e);
4019
- return !Rr() || !t.visualViewport ? Mm : {
4019
+ return !Mr() || !t.visualViewport ? Rm : {
4020
4020
  x: t.visualViewport.offsetLeft,
4021
4021
  y: t.visualViewport.offsetTop
4022
4022
  };
@@ -4026,7 +4026,7 @@ function Dm(e, t, n) {
4026
4026
  }
4027
4027
  function Ge(e, t, n, a) {
4028
4028
  t === void 0 && (t = !1), n === void 0 && (n = !1);
4029
- const o = e.getBoundingClientRect(), r = Mr(e);
4029
+ const o = e.getBoundingClientRect(), r = Rr(e);
4030
4030
  let s = be(1);
4031
4031
  t && (a ? pe(a) && (s = it(a)) : s = it(e));
4032
4032
  const i = Dm(r, n, a) ? nu(r) : be(0);
@@ -4104,7 +4104,7 @@ function jm(e, t) {
4104
4104
  let r = a.clientWidth, s = a.clientHeight, i = 0, l = 0;
4105
4105
  if (o) {
4106
4106
  r = o.width, s = o.height;
4107
- const d = Rr();
4107
+ const d = Mr();
4108
4108
  (!d || d && t === "fixed") && (i = o.offsetLeft, l = o.offsetTop);
4109
4109
  }
4110
4110
  const c = pn(a);
@@ -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 x(w) {
4302
- const P = w[0].intersectionRatio;
4303
- if (P !== l) {
4301
+ function P(w) {
4302
+ const k = w[0].intersectionRatio;
4303
+ if (k !== l) {
4304
4304
  if (!N)
4305
4305
  return s();
4306
- P ? s(!1, P) : a = setTimeout(() => {
4306
+ k ? s(!1, k) : a = setTimeout(() => {
4307
4307
  s(!1, 1e-7);
4308
4308
  }, 1e3);
4309
4309
  }
4310
- P === 1 && !su(c, e.getBoundingClientRect()) && s(), N = !1;
4310
+ k === 1 && !su(c, e.getBoundingClientRect()) && s(), N = !1;
4311
4311
  }
4312
4312
  try {
4313
- n = new IntersectionObserver(x, {
4313
+ n = new IntersectionObserver(P, {
4314
4314
  ...A,
4315
4315
  // Handle <iframe>s
4316
4316
  root: o.ownerDocument
4317
4317
  });
4318
4318
  } catch {
4319
- n = new IntersectionObserver(x, A);
4319
+ n = new IntersectionObserver(P, A);
4320
4320
  }
4321
4321
  n.observe(e);
4322
4322
  }
@@ -4330,7 +4330,7 @@ function iu(e, t, n, a) {
4330
4330
  elementResize: s = typeof ResizeObserver == "function",
4331
4331
  layoutShift: i = typeof IntersectionObserver == "function",
4332
4332
  animationFrame: l = !1
4333
- } = a, c = Mr(e), d = o || r ? [...c ? Ct(c) : [], ...Ct(t)] : [];
4333
+ } = a, c = Rr(e), d = o || r ? [...c ? Ct(c) : [], ...Ct(t)] : [];
4334
4334
  d.forEach((g) => {
4335
4335
  o && g.addEventListener("scroll", n, {
4336
4336
  passive: !0
@@ -4394,35 +4394,35 @@ function Ti(e, t) {
4394
4394
  function uu(e, t, n) {
4395
4395
  n === void 0 && (n = {});
4396
4396
  const a = n.whileElementsMounted, o = C(() => {
4397
- var P;
4398
- return (P = gt(n.open)) != null ? P : !0;
4397
+ var k;
4398
+ return (k = gt(n.open)) != null ? k : !0;
4399
4399
  }), r = C(() => gt(n.middleware)), s = C(() => {
4400
- var P;
4401
- return (P = gt(n.placement)) != null ? P : "bottom";
4400
+ var k;
4401
+ return (k = gt(n.placement)) != null ? k : "bottom";
4402
4402
  }), i = C(() => {
4403
- var P;
4404
- return (P = gt(n.strategy)) != null ? P : "absolute";
4403
+ var k;
4404
+ return (k = gt(n.strategy)) != null ? k : "absolute";
4405
4405
  }), l = C(() => {
4406
- var P;
4407
- return (P = gt(n.transform)) != null ? P : !0;
4408
- }), c = C(() => ki(e.value)), d = C(() => ki(t.value)), u = M(0), f = M(0), h = M(i.value), v = M(s.value), p = Me({}), b = M(!1), g = C(() => {
4409
- const P = {
4406
+ var k;
4407
+ return (k = gt(n.transform)) != null ? k : !0;
4408
+ }), c = C(() => ki(e.value)), d = C(() => ki(t.value)), u = R(0), f = R(0), h = R(i.value), v = R(s.value), p = Re({}), b = R(!1), g = C(() => {
4409
+ const k = {
4410
4410
  position: h.value,
4411
4411
  left: "0",
4412
4412
  top: "0"
4413
4413
  };
4414
4414
  if (!d.value)
4415
- return P;
4416
- const O = Ti(d.value, u.value), T = Ti(d.value, f.value);
4415
+ return k;
4416
+ const x = Ti(d.value, u.value), T = Ti(d.value, f.value);
4417
4417
  return l.value ? {
4418
- ...P,
4419
- transform: "translate(" + O + "px, " + T + "px)",
4418
+ ...k,
4419
+ transform: "translate(" + x + "px, " + T + "px)",
4420
4420
  ...cu(d.value) >= 1.5 && {
4421
4421
  willChange: "transform"
4422
4422
  }
4423
4423
  } : {
4424
4424
  position: h.value,
4425
- left: O + "px",
4425
+ left: x + "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 P = o.value;
4433
+ const k = 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((O) => {
4439
- u.value = O.x, f.value = O.y, h.value = O.strategy, v.value = O.placement, p.value = O.middlewareData, b.value = P !== !1;
4438
+ }).then((x) => {
4439
+ u.value = x.x, f.value = x.y, h.value = x.strategy, v.value = x.placement, p.value = x.middlewareData, b.value = k !== !1;
4440
4440
  });
4441
4441
  }
4442
4442
  function N() {
4443
4443
  typeof y == "function" && (y(), y = void 0);
4444
4444
  }
4445
- function x() {
4445
+ function P() {
4446
4446
  if (N(), a === void 0) {
4447
4447
  A();
4448
4448
  return;
@@ -4457,7 +4457,7 @@ function uu(e, t, n) {
4457
4457
  }
4458
4458
  return X([r, s, i, o], A, {
4459
4459
  flush: "sync"
4460
- }), X([c, d], x, {
4460
+ }), X([c, d], P, {
4461
4461
  flush: "sync"
4462
4462
  }), X(o, w, {
4463
4463
  flush: "sync"
@@ -4571,7 +4571,7 @@ function up(e) {
4571
4571
  };
4572
4572
  }
4573
4573
  function dp(e, t) {
4574
- const n = M(!1), a = Me();
4574
+ const n = R(!1), a = Re();
4575
4575
  return Xe((r) => {
4576
4576
  const s = t.value;
4577
4577
  if (!s) return;
@@ -4620,7 +4620,7 @@ function mp(e) {
4620
4620
  const vn = /* @__PURE__ */ E((e, {
4621
4621
  slots: t
4622
4622
  }) => {
4623
- const n = re(), a = R(() => e.class), o = M(null), r = M(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 = C(() => e.placement || qt.placement), i = C(() => e.closeMode || qt.closeMode), l = C(() => e.ariaLinkMode || qt.ariaLinkMode), c = C(() => e.zIndex || qt.zIndex), {
4624
4624
  floatingStyles: d,
4625
4625
  placement: u
4626
4626
  } = uu(o, r, {
@@ -4636,8 +4636,8 @@ const vn = /* @__PURE__ */ E((e, {
4636
4636
  let y;
4637
4637
  const A = u.value ?? s.value, N = hp({
4638
4638
  slotContent: t.default?.(),
4639
- setAnchorElement: (x) => {
4640
- o.value = x?.$el || x;
4639
+ setAnchorElement: (P) => {
4640
+ o.value = P?.$el || P;
4641
4641
  },
4642
4642
  isMounted: b.value,
4643
4643
  id: n,
@@ -4645,8 +4645,8 @@ const vn = /* @__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: (x) => {
4649
- const w = x?.$el || x;
4648
+ ref: (P) => {
4649
+ const w = P?.$el || P;
4650
4650
  r.value = w, h(w);
4651
4651
  },
4652
4652
  id: n,
@@ -4670,7 +4670,7 @@ const vn = /* @__PURE__ */ E((e, {
4670
4670
  emit: t,
4671
4671
  expose: n
4672
4672
  }) => {
4673
- const a = D(), o = U(), r = R(() => e.class), s = yc(() => a.tabindex, "tabIndex"), {
4673
+ const a = D(), o = U(), r = M(() => e.class), s = yc(() => a.tabindex, "tabIndex"), {
4674
4674
  isAnyDisabled: i,
4675
4675
  disabledStateProps: l,
4676
4676
  otherProps: c
@@ -4679,7 +4679,7 @@ const vn = /* @__PURE__ */ E((e, {
4679
4679
  ...a
4680
4680
  }))), d = (h) => {
4681
4681
  i.value || t("click", h);
4682
- }, u = M(null), f = (h) => {
4682
+ }, u = R(null), f = (h) => {
4683
4683
  u.value = h?.$el ?? h;
4684
4684
  };
4685
4685
  return n({
@@ -4732,7 +4732,7 @@ gn.defaultProps = gp;
4732
4732
  const yN = /* @__PURE__ */ E((e, {
4733
4733
  slots: t
4734
4734
  }) => {
4735
- const n = D(), a = R(() => e.class);
4735
+ const n = D(), a = M(() => e.class);
4736
4736
  return () => m(gn, S(e, n, {
4737
4737
  className: a.value,
4738
4738
  children: t.default?.()
@@ -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 = M(t);
4775
+ const { handle: n } = xe(), a = R(t);
4776
4776
  return mt(n, (o) => {
4777
4777
  if (o)
4778
4778
  return o.subscribe(e, (r) => {
@@ -4787,7 +4787,7 @@ function Br() {
4787
4787
  const yp = /* @__PURE__ */ E((e, {
4788
4788
  emit: t
4789
4789
  }) => {
4790
- const n = D(), a = R(() => e.class), {
4790
+ const n = D(), a = M(() => e.class), {
4791
4791
  listboxId: o,
4792
4792
  anchorRef: r,
4793
4793
  setHandle: s,
@@ -4796,7 +4796,7 @@ const yp = /* @__PURE__ */ E((e, {
4796
4796
  isOpen: l
4797
4797
  } = Br(), c = ye("optionsChange", {
4798
4798
  optionsLength: 0
4799
- }), d = ye("loadingChange", !1), u = M(null);
4799
+ }), d = ye("loadingChange", !1), u = R(null);
4800
4800
  return X(u, (f) => {
4801
4801
  f && (s(am(f, {
4802
4802
  onSelect(h) {
@@ -4895,8 +4895,7 @@ function Np(e, t) {
4895
4895
  const { filter: a = "auto", onSelect: o, onInput: r } = t, s = t.openOnFocus ?? a === "off", i = a === "auto", l = () => e.disabled || e.getAttribute("aria-disabled") === "true";
4896
4896
  let c = !1;
4897
4897
  return n = Xc({ onSelect: (u) => {
4898
- const f = o?.(u);
4899
- return c = !1, i && n.setFilter(""), f;
4898
+ o?.(u), c = !1, i && n.setFilter("");
4900
4899
  } }, { wrapNavigation: !0 }, (u, f) => {
4901
4900
  f.addEventListener("abort", () => {
4902
4901
  c = !1;
@@ -4988,7 +4987,7 @@ const vu = "lumx-text-field", gu = `${vu}__input-native`, {
4988
4987
  }, Op = /* @__PURE__ */ E((e, {
4989
4988
  emit: t
4990
4989
  }) => {
4991
- const n = D(), a = U(), o = R(() => e.class), r = (c, d, u) => {
4990
+ const n = D(), a = U(), o = M(() => e.class), r = (c, d, u) => {
4992
4991
  u?.stopImmediatePropagation(), t("change", c, d, u);
4993
4992
  }, s = (c, d, u) => {
4994
4993
  t("input", c, d, u);
@@ -5051,7 +5050,7 @@ const vu = "lumx-text-field", gu = `${vu}__input-native`, {
5051
5050
  }), null);
5052
5051
  };
5053
5052
  function _p(e, t, n) {
5054
- const a = M(e.value);
5053
+ const a = R(e.value);
5055
5054
  return Xe(
5056
5055
  () => {
5057
5056
  const o = t.value;
@@ -5082,7 +5081,7 @@ const Ip = {
5082
5081
  }, Lp = /* @__PURE__ */ E((e, {
5083
5082
  emit: t
5084
5083
  }) => {
5085
- const n = D(), a = U(), o = R(() => e.class), r = M(null), s = _p(C(() => e.rows ?? bu.rows), r, C(() => e.value)), i = (u, f, h) => {
5084
+ 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, f, h) => {
5086
5085
  h?.stopImmediatePropagation(), t("change", u, f, h);
5087
5086
  }, l = (u, f, h) => {
5088
5087
  t("input", u, f, h);
@@ -5112,8 +5111,8 @@ const Ip = {
5112
5111
  function Ep(e) {
5113
5112
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !K(e);
5114
5113
  }
5115
- const $p = "InputLabel", Rp = "lumx-input-label", yu = Rp, {
5116
- block: Mp
5114
+ const $p = "InputLabel", Mp = "lumx-input-label", yu = Mp, {
5115
+ block: Rp
5117
5116
  } = B(yu), Dp = {};
5118
5117
  function Ve(e) {
5119
5118
  const {
@@ -5131,7 +5130,7 @@ function Ve(e) {
5131
5130
  ref: l
5132
5131
  }, c, {
5133
5132
  htmlFor: a,
5134
- className: L(n, Mp({
5133
+ className: L(n, Rp({
5135
5134
  "is-required": o,
5136
5135
  [`theme-${r}`]: !!r,
5137
5136
  "has-custom-typography": !!i
@@ -5210,15 +5209,15 @@ const Vp = (e) => {
5210
5209
  textFieldRef: y,
5211
5210
  helperId: A,
5212
5211
  errorId: N,
5213
- labelId: x,
5212
+ labelId: P,
5214
5213
  theme: w,
5215
- value: P,
5216
- afterElement: O,
5214
+ value: k,
5215
+ afterElement: x,
5217
5216
  input: T,
5218
- isFocus: k,
5217
+ isFocus: O,
5219
5218
  IconButton: _,
5220
5219
  ref: q
5221
- } = e, j = (P || "").length, I = j > 0;
5220
+ } = e, j = (k || "").length, I = j > 0;
5222
5221
  return m("div", {
5223
5222
  ref: q,
5224
5223
  className: L(n, Hp({
@@ -5230,9 +5229,9 @@ const Vp = (e) => {
5230
5229
  "has-label": !!f,
5231
5230
  "has-placeholder": !!g,
5232
5231
  "has-textarea": b,
5233
- "has-value": !!P,
5232
+ "has-value": !!k,
5234
5233
  "is-disabled": v,
5235
- "is-focus": k || r,
5234
+ "is-focus": O || r,
5236
5235
  "is-valid": u,
5237
5236
  [`theme-${w}`]: !!w
5238
5237
  }))
@@ -5240,7 +5239,7 @@ const Vp = (e) => {
5240
5239
  className: ue("header")
5241
5240
  }, [f && Ve({
5242
5241
  ...h,
5243
- id: x,
5242
+ id: P,
5244
5243
  htmlFor: c,
5245
5244
  className: ue("label"),
5246
5245
  isRequired: d,
@@ -5269,7 +5268,7 @@ const Vp = (e) => {
5269
5268
  icon: u ? br : wt,
5270
5269
  size: H.xxs
5271
5270
  }), a && I && !v && m(_, S({
5272
- "aria-describedby": x
5271
+ "aria-describedby": P
5273
5272
  }, a, {
5274
5273
  className: ue("input-clear"),
5275
5274
  icon: Nd,
@@ -5277,9 +5276,9 @@ const Vp = (e) => {
5277
5276
  size: H.s,
5278
5277
  theme: w,
5279
5278
  type: "button"
5280
- }), null), O && m("div", {
5279
+ }), null), x && m("div", {
5281
5280
  className: ue("after-element")
5282
- }, [O])]), s && o && Oe({
5281
+ }, [x])]), s && o && Oe({
5283
5282
  children: o,
5284
5283
  className: ue("helper"),
5285
5284
  kind: ie.error,
@@ -5305,13 +5304,13 @@ const Vp = (e) => {
5305
5304
  }, Up = /* @__PURE__ */ E((e, {
5306
5305
  emit: t
5307
5306
  }) => {
5308
- const n = D(), a = Wc("chips"), o = U(), r = R(() => e.class), s = re(), i = C(() => e.id || s), l = M(!1), {
5307
+ const n = D(), a = Wc("chips"), o = U(), r = M(() => e.class), s = re(), i = C(() => e.id || s), l = R(!1), {
5309
5308
  isAnyDisabled: c,
5310
5309
  disabledStateProps: d
5311
5310
  } = te(C(() => ({
5312
5311
  ...e,
5313
5312
  ...n
5314
- }))), u = M(null);
5313
+ }))), u = R(null);
5315
5314
  X(u, (y) => {
5316
5315
  const A = y?.$el ?? y ?? null;
5317
5316
  e.inputRef?.(A);
@@ -5333,13 +5332,13 @@ const Vp = (e) => {
5333
5332
  const y = e.theme || o.value, {
5334
5333
  helperId: A,
5335
5334
  errorId: N,
5336
- describedById: x,
5335
+ describedById: P,
5337
5336
  labelId: w
5338
5337
  } = f.value, {
5339
- class: P,
5340
- className: O,
5338
+ class: k,
5339
+ className: x,
5341
5340
  "aria-describedby": T,
5342
- disabled: k,
5341
+ disabled: O,
5343
5342
  isDisabled: _,
5344
5343
  "aria-disabled": q,
5345
5344
  ariaDisabled: j,
@@ -5357,7 +5356,7 @@ const Vp = (e) => {
5357
5356
  placeholder: e.placeholder,
5358
5357
  theme: y,
5359
5358
  "aria-invalid": e.hasError || void 0,
5360
- "aria-describedby": x,
5359
+ "aria-describedby": P,
5361
5360
  ...d.value,
5362
5361
  readOnly: !!Y.readOnly || !!d.value["aria-disabled"],
5363
5362
  onChange: h,
@@ -5415,7 +5414,7 @@ const Vp = (e) => {
5415
5414
  emit: t,
5416
5415
  attrs: n
5417
5416
  }) => {
5418
- const a = R(() => e.class), {
5417
+ const a = M(() => e.class), {
5419
5418
  listboxId: o,
5420
5419
  anchorRef: r,
5421
5420
  setHandle: s,
@@ -5423,14 +5422,14 @@ const Vp = (e) => {
5423
5422
  } = xe(), {
5424
5423
  isOpen: l,
5425
5424
  setIsOpen: c
5426
- } = Br(), d = M(null);
5425
+ } = Br(), d = R(null);
5427
5426
  Ke(() => {
5428
5427
  const v = d.value;
5429
5428
  v && s(Np(v, {
5430
5429
  onSelect(p) {
5431
- const b = e.onSelect?.(p) === !1;
5432
- t("select", p), b || t("change", p.value);
5430
+ e.onSelect?.(p), t("select", p), e.selectionMode === "keep" || (e.selectionMode === "clear" ? t("change", "") : t("change", p.value));
5433
5431
  },
5432
+ selectionMode: e.selectionMode,
5434
5433
  filter: e.filter,
5435
5434
  openOnFocus: e.openOnFocus
5436
5435
  }));
@@ -5448,31 +5447,32 @@ const Vp = (e) => {
5448
5447
  onSelect: p,
5449
5448
  filter: b,
5450
5449
  openOnFocus: g,
5451
- class: y,
5452
- ...A
5453
- } = e, N = {
5454
- onChange: (P, O, T) => t("change", P, O, T),
5455
- onInput: (P) => t("change", P),
5456
- onFocus: (P) => t("focus", P),
5457
- onBlur: (P) => t("blur", P),
5458
- onClear: (P) => t("clear", P)
5450
+ selectionMode: y,
5451
+ class: A,
5452
+ ...N
5453
+ } = e, P = {
5454
+ onChange: (x, T, O) => t("change", x, T, O),
5455
+ onInput: (x) => t("change", x),
5456
+ onFocus: (x) => t("focus", x),
5457
+ onBlur: (x) => t("blur", x),
5458
+ onClear: (x) => t("clear", x)
5459
5459
  }, {
5460
- ariaDisabled: x,
5461
- ...w
5462
- } = A;
5460
+ ariaDisabled: w,
5461
+ ...k
5462
+ } = N;
5463
5463
  return Sp({
5464
5464
  ...n,
5465
- ...w,
5466
- "aria-disabled": x ?? n.ariaDisabled,
5467
- ...N,
5465
+ ...k,
5466
+ "aria-disabled": w ?? n.ariaDisabled,
5467
+ ...P,
5468
5468
  listboxId: o,
5469
5469
  isOpen: l.value && (!!u.value?.optionsLength || f.value),
5470
5470
  filter: b,
5471
- textFieldRef: (P) => {
5472
- r.value = P, e.textFieldRef?.(P);
5471
+ textFieldRef: (x) => {
5472
+ r.value = x, e.textFieldRef?.(x);
5473
5473
  },
5474
- inputRef: (P) => {
5475
- d.value = P, e.inputRef?.(P);
5474
+ inputRef: (x) => {
5475
+ d.value = x, e.inputRef?.(x);
5476
5476
  },
5477
5477
  toggleButtonProps: v,
5478
5478
  handleToggle: h,
@@ -5485,7 +5485,7 @@ const Vp = (e) => {
5485
5485
  }, {
5486
5486
  name: "LumxComboboxInput",
5487
5487
  inheritAttrs: !1,
5488
- 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"),
5488
+ 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"),
5489
5489
  emits: {
5490
5490
  select: (e) => !!e,
5491
5491
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
@@ -5549,10 +5549,10 @@ function tv() {
5549
5549
  const nv = /* @__PURE__ */ E((e, {
5550
5550
  slots: t
5551
5551
  }) => {
5552
- const n = D(), a = R(() => e.class), {
5552
+ const n = D(), a = M(() => e.class), {
5553
5553
  listboxId: o,
5554
5554
  handle: r
5555
- } = xe(), s = M(null);
5555
+ } = xe(), s = R(null);
5556
5556
  ev({
5557
5557
  type: e.type || "listbox"
5558
5558
  }), mt([r, s], ([d, u]) => {
@@ -5686,7 +5686,7 @@ const sv = "lumx-combobox-option", {
5686
5686
  } = e;
5687
5687
  let A, N;
5688
5688
  l || (A = u ? "gridcell" : "option", N = u ? "row" : "none");
5689
- const x = Fr({
5689
+ const P = Fr({
5690
5690
  as: "button",
5691
5691
  ...v,
5692
5692
  id: c,
@@ -5698,9 +5698,9 @@ const sv = "lumx-combobox-option", {
5698
5698
  "aria-disabled": d ? "true" : void 0,
5699
5699
  role: A,
5700
5700
  children: o
5701
- }), w = t && b && !l ? m(t, b, rv(x) ? x : {
5702
- default: () => [x]
5703
- }) : x;
5701
+ }), w = t && b && !l ? m(t, b, rv(P) ? P : {
5702
+ default: () => [P]
5703
+ }) : P;
5704
5704
  return tt({
5705
5705
  ref: p,
5706
5706
  size: "tiny",
@@ -5734,11 +5734,11 @@ const dv = {
5734
5734
  slots: t,
5735
5735
  emit: n
5736
5736
  }) => {
5737
- const a = D(), o = R(() => e.class), {
5737
+ const a = D(), o = M(() => e.class), {
5738
5738
  type: r
5739
5739
  } = tv(), {
5740
5740
  handle: s
5741
- } = xe(), i = r === "grid", l = re(), c = re(), d = M(null), u = M(!1);
5741
+ } = xe(), i = r === "grid", l = re(), c = re(), d = R(null), u = R(!1);
5742
5742
  cv({
5743
5743
  optionId: l
5744
5744
  }), mt([s, d], ([p, b]) => {
@@ -5810,7 +5810,7 @@ const dv = {
5810
5810
  slots: t,
5811
5811
  attrs: n
5812
5812
  }) => {
5813
- const a = re(), o = R(() => e.class), {
5813
+ const a = re(), o = M(() => e.class), {
5814
5814
  disabledStateProps: r,
5815
5815
  otherProps: s
5816
5816
  } = te(e);
@@ -5935,12 +5935,12 @@ const Pv = "lumx-popover", {
5935
5935
  clickAwayRefs: A,
5936
5936
  unmountSentinel: N,
5937
5937
  // Forwarded props
5938
- ...x
5939
- } = e, w = !d && i === "hide", P = d || i === "hide", O = o, T = Math.min(l || 0, 5);
5940
- return P ? m(t, {
5938
+ ...P
5939
+ } = e, w = !d && i === "hide", k = d || i === "hide", x = o, T = Math.min(l || 0, 5);
5940
+ return k ? m(t, {
5941
5941
  enabled: g
5942
5942
  }, {
5943
- default: () => [m(O, S(x, {
5943
+ default: () => [m(x, S(P, {
5944
5944
  ref: p,
5945
5945
  className: L(s, wv({
5946
5946
  [`theme-${v}`]: !!v,
@@ -6003,17 +6003,17 @@ function Iv(e) {
6003
6003
  boundary: u,
6004
6004
  parsedPlacement: f,
6005
6005
  arrowElement: h
6006
- } = e, v = ot(r), p = ot(s), b = ot(i), g = ot(l), y = ot(c), A = ot(d), N = [], x = (t?.away ?? 0) + (n ? qa : 0), w = t?.along ?? 0;
6007
- return N.push(lu({ mainAxis: x, crossAxis: w })), f.isAuto ? N.push(
6006
+ } = e, v = ot(r), p = ot(s), b = ot(i), g = ot(l), y = ot(c), A = ot(d), N = [], P = (t?.away ?? 0) + (n ? qa : 0), w = t?.along ?? 0;
6007
+ return N.push(lu({ mainAxis: P, crossAxis: w })), f.isAuto ? N.push(
6008
6008
  Jm({ ...u ? { boundary: u } : {}, alignment: f.autoAlignment })
6009
6009
  ) : (N.push(ep(u ? { boundary: u } : {})), N.push(Qm(u ? { boundary: u } : {}))), (a || o || v || p || b || g || y || A) && N.push(
6010
6010
  tp({
6011
6011
  ...u ? { boundary: u } : {},
6012
- apply({ availableHeight: O, rects: T, elements: k }) {
6012
+ apply({ availableHeight: x, rects: T, elements: O }) {
6013
6013
  const _ = `${T.reference.width}px`;
6014
- k.floating.style.width = v || (a === "width" ? _ : ""), k.floating.style.minWidth = _v(p, a === "minWidth" ? _ : ""), k.floating.style.maxWidth = Li(b, a === "maxWidth" ? _ : ""), k.floating.style.height = g || "", k.floating.style.minHeight = y || "";
6015
- const q = `${Math.max(0, O - qa)}px`;
6016
- k.floating.style.maxHeight = Li(
6014
+ O.floating.style.width = v || (a === "width" ? _ : ""), O.floating.style.minWidth = _v(p, a === "minWidth" ? _ : ""), O.floating.style.maxWidth = Li(b, a === "maxWidth" ? _ : ""), O.floating.style.height = g || "", O.floating.style.minHeight = y || "";
6015
+ const q = `${Math.max(0, x - qa)}px`;
6016
+ O.floating.style.maxHeight = Li(
6017
6017
  A,
6018
6018
  o ? q : ""
6019
6019
  );
@@ -6032,7 +6032,7 @@ function Ev(e) {
6032
6032
  return e.isAuto ? void 0 : e.floatingPlacement;
6033
6033
  }
6034
6034
  function $v(e) {
6035
- const t = M(), n = M(), a = C(() => kv(e.placement?.value)), o = C(() => Tv(e.fitToAnchorWidth?.value)), r = C(
6035
+ const t = R(), n = R(), a = C(() => kv(e.placement?.value)), o = C(() => Tv(e.fitToAnchorWidth?.value)), r = C(
6036
6036
  () => Iv({
6037
6037
  offset: e.offset?.value,
6038
6038
  hasArrow: e.hasArrow?.value,
@@ -6072,21 +6072,21 @@ function $v(e) {
6072
6072
  arrowRef: n
6073
6073
  };
6074
6074
  }
6075
- function Rv(e, t = !0) {
6076
- const n = M(!1);
6075
+ function Mv(e, t = !0) {
6076
+ const n = R(!1);
6077
6077
  Xe(() => {
6078
6078
  const a = lt(e) ? e.value : e, o = lt(t) ? t.value : t;
6079
6079
  o && !n.value && a && (a.focus(), n.value = !0), o || (n.value = !1);
6080
6080
  });
6081
6081
  }
6082
- const Mv = {
6082
+ const Rv = {
6083
6083
  close: () => !0
6084
6084
  }, bn = /* @__PURE__ */ E((e, {
6085
6085
  emit: t,
6086
6086
  slots: n,
6087
6087
  attrs: a
6088
6088
  }) => {
6089
- const o = R(() => e.class), r = C(() => Pt(e.anchorRef)), s = Q(e, "focusElement"), {
6089
+ const o = M(() => e.class), r = C(() => Pt(e.anchorRef)), s = Q(e, "focusElement"), {
6090
6090
  styles: i,
6091
6091
  isPositioned: l,
6092
6092
  position: c,
@@ -6116,7 +6116,7 @@ const Mv = {
6116
6116
  };
6117
6117
  ln(C(() => f), C(() => !!(e.isOpen && e.closeOnEscape)));
6118
6118
  const h = C(() => !e.withFocusTrap && !!e.isOpen && l.value);
6119
- Rv(s, h);
6119
+ Mv(s, h);
6120
6120
  const v = C(() => !e.withFocusTrap || !e.isOpen ? !1 : e.focusTrapZoneElement || d.value || !1);
6121
6121
  Cr(v, s);
6122
6122
  const p = C(() => [d, r]);
@@ -6147,7 +6147,7 @@ const Mv = {
6147
6147
  name: "LumxPopover",
6148
6148
  inheritAttrs: !1,
6149
6149
  props: $()("anchorRef", "as", "boundaryRef", "closeMode", "closeOnClickAway", "closeOnEscape", "elevation", "fitToAnchorWidth", "fitWithinViewportHeight", "focusElement", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "focusAnchorOnClose", "hasArrow", "isOpen", "offset", "parentElement", "placement", "usePortal", "focusTrapZoneElement", "zIndex", "withFocusTrap", "theme", "class"),
6150
- emits: Mv
6150
+ emits: Rv
6151
6151
  });
6152
6152
  function Dv(e) {
6153
6153
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !K(e);
@@ -6155,7 +6155,7 @@ function Dv(e) {
6155
6155
  const ku = /* @__PURE__ */ E((e, {
6156
6156
  slots: t
6157
6157
  }) => {
6158
- const n = R(() => e.class), a = M(null), o = C(() => a.value?.$el ?? void 0), r = M(!1), {
6158
+ const n = M(() => e.class), a = R(null), o = C(() => a.value?.$el ?? void 0), r = R(!1), {
6159
6159
  optionId: s
6160
6160
  } = uv(), i = ye("activeDescendantChange", null), l = `${s}-more-info`;
6161
6161
  function c(u) {
@@ -6276,7 +6276,7 @@ const ku = /* @__PURE__ */ E((e, {
6276
6276
  slots: t,
6277
6277
  attrs: n
6278
6278
  }) => {
6279
- const a = R(() => e.class), {
6279
+ const a = M(() => e.class), {
6280
6280
  handle: o
6281
6281
  } = xe();
6282
6282
  return mt(o, (r) => r?.registerSkeleton()), () => {
@@ -6385,7 +6385,7 @@ function Qv(e) {
6385
6385
  const yn = /* @__PURE__ */ E((e, {
6386
6386
  slots: t
6387
6387
  }) => {
6388
- const n = D(), a = R(() => e.class);
6388
+ const n = D(), a = M(() => e.class);
6389
6389
  return () => {
6390
6390
  const o = e.as || "div", r = Qv({
6391
6391
  ...e,
@@ -6406,7 +6406,7 @@ const yn = /* @__PURE__ */ E((e, {
6406
6406
  }), eg = /* @__PURE__ */ E((e, {
6407
6407
  slots: t
6408
6408
  }) => {
6409
- const n = R(() => e.class), {
6409
+ const n = M(() => e.class), {
6410
6410
  anchorRef: a
6411
6411
  } = xe(), {
6412
6412
  isOpen: o,
@@ -6437,7 +6437,7 @@ const yn = /* @__PURE__ */ E((e, {
6437
6437
  slots: t,
6438
6438
  emit: n
6439
6439
  }) => {
6440
- const a = D(), o = re(), r = M(null), s = Me(null);
6440
+ const a = D(), o = re(), r = R(null), s = Re(null);
6441
6441
  return bp({
6442
6442
  handle: s,
6443
6443
  setHandle: (l) => {
@@ -6488,7 +6488,7 @@ const ag = "lumx-combobox-section", og = (e, {
6488
6488
  }, AN = /* @__PURE__ */ E((e, {
6489
6489
  slots: t
6490
6490
  }) => {
6491
- const n = D(), a = R(() => e.class);
6491
+ const n = D(), a = M(() => e.class);
6492
6492
  return () => m(pt, S(e, n, {
6493
6493
  className: a.value,
6494
6494
  children: t.default?.()
@@ -6514,7 +6514,7 @@ An.displayName = rg;
6514
6514
  An.className = _u;
6515
6515
  An.defaultProps = sg;
6516
6516
  const Iu = /* @__PURE__ */ E((e) => {
6517
- const t = D(), n = R(() => e.class);
6517
+ const t = D(), n = M(() => e.class);
6518
6518
  return () => m(An, S(t, {
6519
6519
  className: n.value
6520
6520
  }), null);
@@ -6528,7 +6528,7 @@ const Iu = /* @__PURE__ */ E((e) => {
6528
6528
  emit: t,
6529
6529
  slots: n
6530
6530
  }) => {
6531
- const a = D(), o = R(() => e.class), {
6531
+ const a = D(), o = M(() => e.class), {
6532
6532
  isAnyDisabled: r,
6533
6533
  disabledStateProps: s,
6534
6534
  otherProps: i
@@ -6562,7 +6562,7 @@ const Iu = /* @__PURE__ */ E((e) => {
6562
6562
  emit: t,
6563
6563
  slots: n
6564
6564
  }) => {
6565
- const a = D(), o = R(() => e.class), r = oe("onClick"), {
6565
+ const a = D(), o = M(() => e.class), r = oe("onClick"), {
6566
6566
  isAnyDisabled: s,
6567
6567
  disabledStateProps: i,
6568
6568
  otherProps: l
@@ -6634,7 +6634,7 @@ Sn.defaultProps = hg;
6634
6634
  const mg = /* @__PURE__ */ E((e, {
6635
6635
  slots: t
6636
6636
  }) => {
6637
- const n = D(), a = re(), o = R(() => e.class);
6637
+ const n = D(), a = re(), o = M(() => e.class);
6638
6638
  return () => m(Sn, S(e, n, {
6639
6639
  className: o.value,
6640
6640
  id: a,
@@ -6648,9 +6648,9 @@ const mg = /* @__PURE__ */ E((e, {
6648
6648
  }), Eu = /* @__PURE__ */ E((e, {
6649
6649
  slots: t
6650
6650
  }) => {
6651
- const n = R(() => e.class), {
6651
+ const n = M(() => e.class), {
6652
6652
  handle: a
6653
- } = xe(), o = M(null), r = ic({
6653
+ } = xe(), o = R(null), r = ic({
6654
6654
  hidden: !1,
6655
6655
  "aria-hidden": !1
6656
6656
  });
@@ -6762,7 +6762,7 @@ function Ha(e) {
6762
6762
  const Ag = "lumx-generic-block", {
6763
6763
  block: Sg,
6764
6764
  element: za
6765
- } = B(Ag), Ri = {
6765
+ } = B(Ag), Mi = {
6766
6766
  gap: H.big,
6767
6767
  orientation: ct.horizontal
6768
6768
  }, Ng = (e) => {
@@ -6773,10 +6773,10 @@ const Ag = "lumx-generic-block", {
6773
6773
  children: o,
6774
6774
  actions: r,
6775
6775
  actionsProps: s,
6776
- gap: i = Ri.gap,
6776
+ gap: i = Mi.gap,
6777
6777
  ref: l,
6778
6778
  content: c,
6779
- orientation: d = Ri.orientation,
6779
+ orientation: d = Mi.orientation,
6780
6780
  contentProps: u,
6781
6781
  FlexBox: f,
6782
6782
  ...h
@@ -6807,7 +6807,7 @@ const Ag = "lumx-generic-block", {
6807
6807
  }, xg = /* @__PURE__ */ E((e, {
6808
6808
  slots: t
6809
6809
  }) => {
6810
- const n = D(), a = R(() => e.class);
6810
+ const n = D(), a = M(() => e.class);
6811
6811
  return () => {
6812
6812
  const o = t.figure?.(), r = t.default?.(), s = t.actions?.(), i = {
6813
6813
  verticalAlign: e.verticalAlign,
@@ -6841,10 +6841,10 @@ const Ag = "lumx-generic-block", {
6841
6841
  inheritAttrs: !1,
6842
6842
  props: $()("as", "orientation", "verticalAlign", "horizontalAlign", "gap", "fillSpace", "wrap", "marginAuto", "noShrink", "figureProps", "contentProps", "actionsProps", "class")
6843
6843
  });
6844
- var Va, Mi;
6844
+ var Va, Ri;
6845
6845
  function Nn() {
6846
- if (Mi) return Va;
6847
- Mi = 1;
6846
+ if (Ri) return Va;
6847
+ Ri = 1;
6848
6848
  var e = Tt(), t = cn(), n = "[object Symbol]";
6849
6849
  function a(o) {
6850
6850
  return typeof o == "symbol" || t(o) && e(o) == n;
@@ -7009,7 +7009,7 @@ function $g() {
7009
7009
  return oo = t, oo;
7010
7010
  }
7011
7011
  var ro, Zi;
7012
- function Rg() {
7012
+ function Mg() {
7013
7013
  if (Zi) return ro;
7014
7014
  Zi = 1;
7015
7015
  var e = Pn();
@@ -7020,10 +7020,10 @@ function Rg() {
7020
7020
  return ro = t, ro;
7021
7021
  }
7022
7022
  var so, Ji;
7023
- function Mg() {
7023
+ function Rg() {
7024
7024
  if (Ji) return so;
7025
7025
  Ji = 1;
7026
- var e = Ig(), t = Lg(), n = Eg(), a = $g(), o = Rg();
7026
+ var e = Ig(), t = Lg(), n = Eg(), a = $g(), o = Mg();
7027
7027
  function r(s) {
7028
7028
  var i = -1, l = s == null ? 0 : s.length;
7029
7029
  for (this.clear(); ++i < l; ) {
@@ -7037,7 +7037,7 @@ var io, Qi;
7037
7037
  function Dg() {
7038
7038
  if (Qi) return io;
7039
7039
  Qi = 1;
7040
- var e = _g(), t = Mg(), n = qc();
7040
+ var e = _g(), t = Rg(), n = qc();
7041
7041
  function a() {
7042
7042
  this.size = 0, this.__data__ = {
7043
7043
  hash: new e(),
@@ -7258,7 +7258,7 @@ function Zg() {
7258
7258
  return wo = o, wo;
7259
7259
  }
7260
7260
  var Co, gl;
7261
- function Ru() {
7261
+ function Mu() {
7262
7262
  if (gl) return Co;
7263
7263
  gl = 1;
7264
7264
  var e = 9007199254740991, t = /^(?:0|[1-9]\d*)$/;
@@ -7269,10 +7269,10 @@ function Ru() {
7269
7269
  return Co = n, Co;
7270
7270
  }
7271
7271
  var Oo, bl;
7272
- function Mu() {
7272
+ function Ru() {
7273
7273
  if (bl) return Oo;
7274
7274
  bl = 1;
7275
- var e = Zg(), t = Cn(), n = Ru(), a = sn(), o = jr();
7275
+ var e = Zg(), t = Cn(), n = Mu(), a = sn(), o = jr();
7276
7276
  function r(s, i, l, c) {
7277
7277
  if (!a(s))
7278
7278
  return s;
@@ -7295,7 +7295,7 @@ var ko, yl;
7295
7295
  function Jg() {
7296
7296
  if (yl) return ko;
7297
7297
  yl = 1;
7298
- var e = Xg(), t = Mu(), n = Cn();
7298
+ var e = Xg(), t = Ru(), n = Cn();
7299
7299
  function a(o, r, s) {
7300
7300
  for (var i = -1, l = r.length, c = {}; ++i < l; ) {
7301
7301
  var d = r[i], u = e(o, d);
@@ -7318,7 +7318,7 @@ var _o, Sl;
7318
7318
  function eb() {
7319
7319
  if (Sl) return _o;
7320
7320
  Sl = 1;
7321
- var e = Cn(), t = kr(), n = Je(), a = Ru(), o = Tr(), r = jr();
7321
+ var e = Cn(), t = kr(), n = Je(), a = Mu(), o = Tr(), r = jr();
7322
7322
  function s(i, l, c) {
7323
7323
  l = e(l, i);
7324
7324
  for (var d = -1, u = l.length, f = !1; ++d < u; ) {
@@ -7374,9 +7374,9 @@ function ob() {
7374
7374
  }
7375
7375
  return $o = o, $o;
7376
7376
  }
7377
- var Ro, Cl;
7377
+ var Mo, Cl;
7378
7378
  function rb() {
7379
- if (Cl) return Ro;
7379
+ if (Cl) return Mo;
7380
7380
  Cl = 1;
7381
7381
  var e = ab(), t = ob();
7382
7382
  function n(a, o, r, s, i) {
@@ -7387,18 +7387,18 @@ function rb() {
7387
7387
  }
7388
7388
  return i;
7389
7389
  }
7390
- return Ro = n, Ro;
7390
+ return Mo = n, Mo;
7391
7391
  }
7392
- var Mo, Ol;
7392
+ var Ro, Ol;
7393
7393
  function sb() {
7394
- if (Ol) return Mo;
7394
+ if (Ol) return Ro;
7395
7395
  Ol = 1;
7396
7396
  var e = rb();
7397
7397
  function t(n) {
7398
7398
  var a = n == null ? 0 : n.length;
7399
7399
  return a ? e(n, 1) : [];
7400
7400
  }
7401
- return Mo = t, Mo;
7401
+ return Ro = t, Ro;
7402
7402
  }
7403
7403
  var Do, kl;
7404
7404
  function ib() {
@@ -7423,7 +7423,7 @@ var cb = lb();
7423
7423
  const ub = /* @__PURE__ */ Te(cb), NN = ub(H, ["tiny", "regular", "medium", "big", "huge"]), db = /* @__PURE__ */ E((e) => {
7424
7424
  const {
7425
7425
  handle: t
7426
- } = xe(), n = ye("optionsChange", void 0), a = M(!1), o = M(!1), r = M(!1);
7426
+ } = xe(), n = ye("optionsChange", void 0), a = R(!1), o = R(!1), r = R(!1);
7427
7427
  return mt(t, (s) => {
7428
7428
  if (s)
7429
7429
  return yg(s, {
@@ -7510,7 +7510,7 @@ On.defaultProps = Fu;
7510
7510
  const xN = /* @__PURE__ */ E((e, {
7511
7511
  slots: t
7512
7512
  }) => {
7513
- const n = D(), a = R(() => e.class);
7513
+ const n = D(), a = M(() => e.class);
7514
7514
  return () => m(On, S(e, n, {
7515
7515
  className: a.value,
7516
7516
  children: t.default?.()
@@ -7541,7 +7541,7 @@ const xN = /* @__PURE__ */ E((e, {
7541
7541
  }, PN = /* @__PURE__ */ E((e, {
7542
7542
  slots: t
7543
7543
  }) => {
7544
- const n = D(), a = R(() => e.class);
7544
+ const n = D(), a = M(() => e.class);
7545
7545
  return () => m(gb, S(e, n, {
7546
7546
  className: a.value,
7547
7547
  badge: e.badge || t.badge?.(),
@@ -7626,7 +7626,7 @@ const xN = /* @__PURE__ */ E((e, {
7626
7626
  }, wN = /* @__PURE__ */ E((e, {
7627
7627
  emit: t
7628
7628
  }) => {
7629
- const n = D(), a = U(), o = R(() => e.class), r = re(), s = C(() => e.id || r), i = M(null), {
7629
+ const n = D(), a = U(), o = M(() => e.class), r = re(), s = C(() => e.id || r), i = R(null), {
7630
7630
  isAnyDisabled: l,
7631
7631
  disabledStateProps: c,
7632
7632
  otherProps: d
@@ -7689,27 +7689,27 @@ const xN = /* @__PURE__ */ E((e, {
7689
7689
  href: y,
7690
7690
  handleKeyDown: A,
7691
7691
  disabledStateProps: N,
7692
- isAnyDisabled: x,
7692
+ isAnyDisabled: P,
7693
7693
  keyDownProp: w = "onKeyDown",
7694
- tabIndexProp: P = "tabIndex",
7695
- ...O
7696
- } = e, T = v && !y, k = !!v || !!y || s, _ = r || (b === he.light ? G.dark : G.light), q = (I) => {
7694
+ tabIndexProp: k = "tabIndex",
7695
+ ...x
7696
+ } = e, T = v && !y, O = !!v || !!y || s, _ = r || (b === he.light ? G.dark : G.light), q = (I) => {
7697
7697
  A?.(I), v && u && Hd(u)(I);
7698
7698
  }, j = {
7699
7699
  [w]: q,
7700
- [P]: k && !N.disabled ? 0 : void 0
7700
+ [k]: O && !N.disabled ? 0 : void 0
7701
7701
  };
7702
7702
  return (
7703
7703
  // eslint-disable-next-line jsx-a11y/no-static-element-interactions
7704
7704
  m("a", S({
7705
7705
  role: T ? "button" : void 0
7706
- }, j, O, {
7706
+ }, j, x, {
7707
7707
  href: N.disabled ? void 0 : y,
7708
7708
  ref: g,
7709
7709
  className: L(o, Nb({
7710
- "is-clickable": k,
7710
+ "is-clickable": O,
7711
7711
  [`color-${_}`]: !!_,
7712
- "is-disabled": x,
7712
+ "is-disabled": P,
7713
7713
  "has-after": !!t,
7714
7714
  "has-before": !!n,
7715
7715
  "is-highlighted": !!i,
@@ -7717,7 +7717,7 @@ const xN = /* @__PURE__ */ E((e, {
7717
7717
  [`size-${p}`]: !!p,
7718
7718
  "is-unselected": !l
7719
7719
  })),
7720
- "aria-disabled": k && x || void 0,
7720
+ "aria-disabled": O && P || void 0,
7721
7721
  onClick: v ? u : void 0
7722
7722
  }), [n && // eslint-disable-next-line jsx-a11y/click-events-have-key-events,jsx-a11y/no-static-element-interactions
7723
7723
  m("div", {
@@ -7743,7 +7743,7 @@ const xN = /* @__PURE__ */ E((e, {
7743
7743
  }, lr = /* @__PURE__ */ E((e, {
7744
7744
  emit: t
7745
7745
  }) => {
7746
- const n = ke(), a = D(), o = U(), r = R(() => e.class), s = oe("onClick"), i = oe("onAfterClick"), l = oe("onBeforeClick"), {
7746
+ const n = ke(), a = D(), o = U(), r = M(() => e.class), s = oe("onClick"), i = oe("onAfterClick"), l = oe("onBeforeClick"), {
7747
7747
  isAnyDisabled: c,
7748
7748
  disabledStateProps: d,
7749
7749
  otherProps: u
@@ -7797,7 +7797,7 @@ const xN = /* @__PURE__ */ E((e, {
7797
7797
  }, kb = /* @__PURE__ */ E((e, {
7798
7798
  slots: t
7799
7799
  }) => {
7800
- const n = D(), a = R(() => e.class);
7800
+ const n = D(), a = M(() => e.class);
7801
7801
  return () => m(Ob, S(e, n, {
7802
7802
  className: a.value,
7803
7803
  children: t.default?.()
@@ -7842,19 +7842,19 @@ const _b = "lumx-selection-chip-group", {
7842
7842
  "aria-orientation": "horizontal",
7843
7843
  className: Ib([v])
7844
7844
  }), Tb(s = i.map((y) => {
7845
- const A = c && se(c, y) || se(l, y), N = se(l, y), x = p?.(y) || {}, w = x.isDisabled || f, P = typeof x.children == "string" ? x.children : A, O = u ? `${P} - ${u}` : P;
7845
+ const A = c && se(c, y) || se(l, y), N = se(l, y), P = p?.(y) || {}, w = P.isDisabled || f, k = typeof P.children == "string" ? P.children : A, x = u ? `${k} - ${u}` : k;
7846
7846
  return m(r, {
7847
7847
  key: N,
7848
- label: w ? void 0 : O
7848
+ label: w ? void 0 : x
7849
7849
  }, {
7850
7850
  default: () => [m(t, S({
7851
- "aria-label": O
7852
- }, x, {
7851
+ "aria-label": x
7852
+ }, P, {
7853
7853
  size: "s",
7854
7854
  after: m(a, {
7855
7855
  icon: yr
7856
7856
  }, null),
7857
- className: Lb("chip", [x.className]),
7857
+ className: Lb("chip", [P.className]),
7858
7858
  "data-option-id": N,
7859
7859
  isClickable: !0,
7860
7860
  role: "option",
@@ -7866,7 +7866,7 @@ const _b = "lumx-selection-chip-group", {
7866
7866
  as: "span",
7867
7867
  truncate: !0
7868
7868
  }, {
7869
- default: () => [x.children || A]
7869
+ default: () => [P.children || A]
7870
7870
  })]
7871
7871
  })]
7872
7872
  });
@@ -7894,7 +7894,7 @@ function Ll(e, t) {
7894
7894
  const o = [...n];
7895
7895
  o.splice(a, 1), e.onChange(o);
7896
7896
  }
7897
- function Rb(e) {
7897
+ function Mb(e) {
7898
7898
  const t = e.getContainer();
7899
7899
  if (!t) return () => {
7900
7900
  };
@@ -7937,7 +7937,7 @@ function ju({
7937
7937
  ), s(() => l.abort());
7938
7938
  });
7939
7939
  }
7940
- const Hu = (e) => (t) => K(t) && t.type === e, Mb = {
7940
+ const Hu = (e) => (t) => K(t) && t.type === e, Rb = {
7941
7941
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
7942
7942
  change: (e) => !0
7943
7943
  }, Db = /* @__PURE__ */ E(
@@ -7946,9 +7946,9 @@ const Hu = (e) => (t) => K(t) && t.type === e, Mb = {
7946
7946
  emit: t,
7947
7947
  slots: n
7948
7948
  }) => {
7949
- const a = D(), o = R(() => e.class), r = U(), s = M(null), i = () => s.value?.$el ?? s.value ?? null;
7949
+ const a = D(), o = M(() => e.class), r = U(), s = R(null), i = () => s.value?.$el ?? s.value ?? null;
7950
7950
  Xe((c) => {
7951
- const d = Rb({
7951
+ const d = Mb({
7952
7952
  getContainer: i,
7953
7953
  getInput: () => e.inputRef,
7954
7954
  onChange: (u) => t("change", u),
@@ -8007,7 +8007,7 @@ const Hu = (e) => (t) => K(t) && t.type === e, Mb = {
8007
8007
  name: "LumxSelectionChipGroup",
8008
8008
  inheritAttrs: !1,
8009
8009
  props: $()("getChipProps", "getOptionId", "getOptionName", "value", "label", "chipRemoveLabel", "isDisabled", "theme", "class", "inputRef"),
8010
- emits: Mb
8010
+ emits: Rb
8011
8011
  }
8012
8012
  ), Bb = "lumx-lightbox", {
8013
8013
  block: Fb,
@@ -8034,10 +8034,10 @@ const Hu = (e) => (t) => K(t) && t.type === e, Mb = {
8034
8034
  HeadingLevelProvider: y,
8035
8035
  ThemeProvider: A,
8036
8036
  ClickAwayProvider: N,
8037
- childrenRef: x,
8037
+ childrenRef: P,
8038
8038
  clickAwayRefs: w,
8039
- closeButtonRef: P,
8040
- IconButton: O,
8039
+ closeButtonRef: k,
8040
+ IconButton: x,
8041
8041
  ...T
8042
8042
  } = e;
8043
8043
  return !l && !p ? null : m(g, null, {
@@ -8059,8 +8059,8 @@ const Hu = (e) => (t) => K(t) && t.type === e, Mb = {
8059
8059
  }
8060
8060
  }), [i && m("div", {
8061
8061
  className: El("close")
8062
- }, [m(O, S(i, {
8063
- ref: P,
8062
+ }, [m(x, S(i, {
8063
+ ref: k,
8064
8064
  emphasis: "low",
8065
8065
  hasBackground: !0,
8066
8066
  icon: yr,
@@ -8078,7 +8078,7 @@ const Hu = (e) => (t) => K(t) && t.type === e, Mb = {
8078
8078
  childrenRefs: w
8079
8079
  }, {
8080
8080
  default: () => [m("div", {
8081
- ref: x,
8081
+ ref: P,
8082
8082
  className: El("wrapper"),
8083
8083
  role: "presentation"
8084
8084
  }, [r])]
@@ -8093,7 +8093,7 @@ const Hu = (e) => (t) => K(t) && t.type === e, Mb = {
8093
8093
  slots: n,
8094
8094
  attrs: a
8095
8095
  }) => {
8096
- const o = R(() => e.class), r = M(null), s = M(null), i = () => t("close");
8096
+ const o = M(() => e.class), r = R(null), s = R(null), i = () => t("close");
8097
8097
  ln(i, C(() => !!(e.isOpen && !e.preventAutoClose)));
8098
8098
  const l = C(() => e.isOpen && r.value || !1);
8099
8099
  Cr(l, C(() => {
@@ -8143,7 +8143,7 @@ const Hu = (e) => (t) => K(t) && t.type === e, Mb = {
8143
8143
  }))
8144
8144
  }), null);
8145
8145
  }, ON = /* @__PURE__ */ E((e) => {
8146
- const t = D(), n = U(), a = R(() => e.class);
8146
+ const t = D(), n = U(), a = M(() => e.class);
8147
8147
  return () => m(Vb, S(t, e, {
8148
8148
  className: a.value,
8149
8149
  theme: e.theme || n.value
@@ -8176,7 +8176,7 @@ const Hu = (e) => (t) => K(t) && t.type === e, Mb = {
8176
8176
  }, kN = /* @__PURE__ */ E((e) => {
8177
8177
  const t = D(), n = U({
8178
8178
  defaultTheme: void 0
8179
- }), a = R(() => e.class);
8179
+ }), a = M(() => e.class);
8180
8180
  return () => m(Gb, S(t, e, {
8181
8181
  className: a.value,
8182
8182
  theme: e.theme || n.value
@@ -8212,12 +8212,12 @@ const Hu = (e) => (t) => K(t) && t.type === e, Mb = {
8212
8212
  isChildrenVisible: y,
8213
8213
  IconButton: A,
8214
8214
  footer: N,
8215
- closeMode: x,
8215
+ closeMode: P,
8216
8216
  ...w
8217
- } = e, P = (k) => {
8217
+ } = e, k = (O) => {
8218
8218
  const _ = !s;
8219
- c && _ && c(k), l && !_ && l(k), d && d(_, k);
8220
- }, O = u === he.dark ? G.light : G.dark, T = L(t, Xb({
8219
+ c && _ && c(O), l && !_ && l(O), d && d(_, O);
8220
+ }, x = u === he.dark ? G.light : G.dark, T = L(t, Xb({
8221
8221
  "has-background": a,
8222
8222
  "has-header": !Kt(h.children),
8223
8223
  "has-header-divider": r,
@@ -8232,7 +8232,7 @@ const Hu = (e) => (t) => K(t) && t.type === e, Mb = {
8232
8232
  className: T
8233
8233
  }), [m("header", {
8234
8234
  className: we("header"),
8235
- onClick: P
8235
+ onClick: k
8236
8236
  }, [p && m("div", {
8237
8237
  className: we("header-drag")
8238
8238
  }, [p]), m("div", S(h, {
@@ -8240,7 +8240,7 @@ const Hu = (e) => (t) => K(t) && t.type === e, Mb = {
8240
8240
  }), [v]), m("div", {
8241
8241
  className: we("header-toggle")
8242
8242
  }, [m(A, S(f, {
8243
- color: O,
8243
+ color: x,
8244
8244
  emphasis: ge.low,
8245
8245
  icon: s ? dc : fc,
8246
8246
  "aria-expanded": s || "false"
@@ -8263,7 +8263,7 @@ const Hu = (e) => (t) => K(t) && t.type === e, Mb = {
8263
8263
  emit: t,
8264
8264
  slots: n
8265
8265
  }) => {
8266
- const a = D(), o = U(), r = R(() => e.class), s = M(null), i = M(e.isOpen), l = M(e.isOpen);
8266
+ const a = D(), o = U(), r = M(() => e.class), s = R(null), i = R(e.isOpen), l = R(e.isOpen);
8267
8267
  X(() => e.isOpen, (h) => {
8268
8268
  l.value = h, h || e.closeMode === "hide" ? i.value = !0 : Yr || (i.value = !1);
8269
8269
  }, {
@@ -8357,7 +8357,7 @@ const ey = "lumx-flag", {
8357
8357
  }, _N = /* @__PURE__ */ E((e, {
8358
8358
  slots: t
8359
8359
  }) => {
8360
- const n = D(), a = U(), o = R(() => e.class);
8360
+ const n = D(), a = U(), o = M(() => e.class);
8361
8361
  return () => m(ny, S(e, n, {
8362
8362
  className: o.value,
8363
8363
  theme: e.theme || a.value,
@@ -8370,10 +8370,10 @@ const ey = "lumx-flag", {
8370
8370
  // Redefine properties so that they come in as `props` on the `defineComponent` function
8371
8371
  props: $()("color", "icon", "truncate", "theme", "class")
8372
8372
  });
8373
- var qo, Rl;
8373
+ var qo, Ml;
8374
8374
  function ay() {
8375
- if (Rl) return qo;
8376
- Rl = 1;
8375
+ if (Ml) return qo;
8376
+ Ml = 1;
8377
8377
  var e = /\s/;
8378
8378
  function t(n) {
8379
8379
  for (var a = n.length; a-- && e.test(n.charAt(a)); )
@@ -8382,10 +8382,10 @@ function ay() {
8382
8382
  }
8383
8383
  return qo = t, qo;
8384
8384
  }
8385
- var jo, Ml;
8385
+ var jo, Rl;
8386
8386
  function oy() {
8387
- if (Ml) return jo;
8388
- Ml = 1;
8387
+ if (Rl) return jo;
8388
+ Rl = 1;
8389
8389
  var e = ay(), t = /^\s+/;
8390
8390
  function n(a) {
8391
8391
  return a && a.slice(0, e(a) + 1).replace(t, "");
@@ -8487,7 +8487,7 @@ kn.defaultProps = fy;
8487
8487
  const IN = /* @__PURE__ */ E((e, {
8488
8488
  slots: t
8489
8489
  }) => {
8490
- const n = D(), a = R(() => e.class);
8490
+ const n = D(), a = M(() => e.class);
8491
8491
  return () => m(kn, S(e, n, {
8492
8492
  className: a.value,
8493
8493
  children: t.default?.()
@@ -8507,7 +8507,7 @@ const IN = /* @__PURE__ */ E((e, {
8507
8507
  }, LN = /* @__PURE__ */ E((e, {
8508
8508
  slots: t
8509
8509
  }) => {
8510
- const n = D(), a = Pc(), o = R(() => e.class), r = C(() => {
8510
+ const n = D(), a = Pc(), o = M(() => e.class), r = C(() => {
8511
8511
  const {
8512
8512
  className: s,
8513
8513
  ...i
@@ -8532,7 +8532,7 @@ const IN = /* @__PURE__ */ E((e, {
8532
8532
  }), EN = /* @__PURE__ */ E((e, {
8533
8533
  slots: t
8534
8534
  }) => {
8535
- const n = D(), a = U(), o = R(() => e.class);
8535
+ const n = D(), a = U(), o = M(() => e.class);
8536
8536
  return () => m(Oe, S(e, n, {
8537
8537
  className: o.value,
8538
8538
  theme: e.theme || a.value,
@@ -8546,7 +8546,7 @@ const IN = /* @__PURE__ */ E((e, {
8546
8546
  }), $N = /* @__PURE__ */ E((e, {
8547
8547
  slots: t
8548
8548
  }) => {
8549
- const n = D(), a = U(), o = R(() => e.class);
8549
+ const n = D(), a = U(), o = M(() => e.class);
8550
8550
  return () => m(Ve, S(e, n, {
8551
8551
  className: o.value,
8552
8552
  theme: e.theme || a.value,
@@ -8592,7 +8592,7 @@ const IN = /* @__PURE__ */ E((e, {
8592
8592
  } = fe.bem(Wu), Hr = /* @__PURE__ */ E((e, {
8593
8593
  emit: t
8594
8594
  }) => {
8595
- const n = ke(), a = D(), o = R(() => e.class), {
8595
+ const n = ke(), a = D(), o = M(() => e.class), {
8596
8596
  isAnyDisabled: r,
8597
8597
  disabledStateProps: s,
8598
8598
  otherProps: i
@@ -8700,8 +8700,8 @@ const yy = "lumx-link-preview", {
8700
8700
  }), jl(a) ? a : {
8701
8701
  default: () => [a]
8702
8702
  })])])])]);
8703
- }, RN = /* @__PURE__ */ E((e) => {
8704
- const t = D(), n = U(), a = R(() => e.class);
8703
+ }, MN = /* @__PURE__ */ E((e) => {
8704
+ const t = D(), n = U(), a = M(() => e.class);
8705
8705
  return () => {
8706
8706
  const {
8707
8707
  titleHeading: o = Uu.titleHeading,
@@ -8769,14 +8769,14 @@ function vt() {
8769
8769
  function Oy(e) {
8770
8770
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !K(e);
8771
8771
  }
8772
- const MN = /* @__PURE__ */ E((e, {
8772
+ const RN = /* @__PURE__ */ E((e, {
8773
8773
  slots: t,
8774
8774
  emit: n,
8775
8775
  attrs: a
8776
8776
  }) => {
8777
8777
  const {
8778
8778
  handle: o
8779
- } = vt(), r = R(() => e.class), s = M(null), i = (l) => {
8779
+ } = vt(), r = M(() => e.class), s = R(null), i = (l) => {
8780
8780
  if (e.isDisabled) {
8781
8781
  l.preventDefault();
8782
8782
  return;
@@ -8869,8 +8869,8 @@ function Iy(e) {
8869
8869
  return Array.from(e.querySelectorAll(cr));
8870
8870
  }
8871
8871
  function Ly(e) {
8872
- const t = Array.from(document.querySelectorAll(Rc)).filter(
8873
- (o) => !o.matches(Mc) && o.tabIndex >= 0
8872
+ const t = Array.from(document.querySelectorAll(Mc)).filter(
8873
+ (o) => !o.matches(Rc) && o.tabIndex >= 0
8874
8874
  ), n = t.indexOf(e);
8875
8875
  if (n === -1) return;
8876
8876
  t[n + 1]?.focus();
@@ -9024,7 +9024,7 @@ function Ey(e = {}) {
9024
9024
  const $y = /* @__PURE__ */ E((e, {
9025
9025
  emit: t
9026
9026
  }) => {
9027
- const n = ke(), a = re(), o = re(), r = M(null), s = Ey({
9027
+ const n = ke(), a = re(), o = re(), r = R(null), s = Ey({
9028
9028
  menuId: a
9029
9029
  });
9030
9030
  return Ke(() => {
@@ -9053,10 +9053,10 @@ const $y = /* @__PURE__ */ E((e, {
9053
9053
  },
9054
9054
  emits: ["open"]
9055
9055
  });
9056
- function Ry(e) {
9056
+ function My(e) {
9057
9057
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !K(e);
9058
9058
  }
9059
- const My = "lumx-menu-trigger", Dy = (e, {
9059
+ const Ry = "lumx-menu-trigger", Dy = (e, {
9060
9060
  Trigger: t
9061
9061
  }) => {
9062
9062
  const {
@@ -9070,16 +9070,16 @@ const My = "lumx-menu-trigger", Dy = (e, {
9070
9070
  return m(t, S({
9071
9071
  ref: s
9072
9072
  }, i, {
9073
- className: L(a, My),
9073
+ className: L(a, Ry),
9074
9074
  "aria-haspopup": "true",
9075
9075
  "aria-controls": o,
9076
9076
  "aria-expanded": r ? "true" : "false"
9077
- }), Ry(n) ? n : {
9077
+ }), My(n) ? n : {
9078
9078
  default: () => [n]
9079
9079
  });
9080
9080
  };
9081
9081
  function By(e, t) {
9082
- const { handle: n } = vt(), a = M(t);
9082
+ const { handle: n } = vt(), a = R(t);
9083
9083
  let o;
9084
9084
  return Ke(() => {
9085
9085
  o = n.subscribe(e, (r) => {
@@ -9100,7 +9100,7 @@ const Fy = /* @__PURE__ */ E((e, {
9100
9100
  triggerId: o,
9101
9101
  anchorRef: r,
9102
9102
  handle: s
9103
- } = vt(), [i] = zr(), l = R(() => e.class), c = M(null);
9103
+ } = vt(), [i] = zr(), l = M(() => e.class), c = R(null);
9104
9104
  return Xe((d) => {
9105
9105
  const u = c.value?.$el ?? c.value;
9106
9106
  if (!u) return;
@@ -9216,7 +9216,7 @@ const jy = "lumx-menu-popover", {
9216
9216
  menuId: n,
9217
9217
  triggerId: a,
9218
9218
  handle: o
9219
- } = vt(), [r] = zr(), s = R(() => e.class), i = M(null);
9219
+ } = vt(), [r] = zr(), s = M(() => e.class), i = R(null);
9220
9220
  return Ke(() => {
9221
9221
  const l = i.value;
9222
9222
  if (!l) return;
@@ -9245,7 +9245,7 @@ const jy = "lumx-menu-popover", {
9245
9245
  slots: n,
9246
9246
  attrs: a
9247
9247
  }) => {
9248
- const o = R(() => e.class), r = (s) => t("open", s);
9248
+ const o = M(() => e.class), r = (s) => t("open", s);
9249
9249
  return () => {
9250
9250
  const {
9251
9251
  variant: s = ky.variant,
@@ -9341,7 +9341,7 @@ const BN = /* @__PURE__ */ E((e, {
9341
9341
  }) => {
9342
9342
  const a = D(), {
9343
9343
  closeButtonLabel: o
9344
- } = e, r = R(() => e.class);
9344
+ } = e, r = M(() => e.class);
9345
9345
  return () => m(Vr, S(e, a, {
9346
9346
  className: r.value,
9347
9347
  children: t.default?.(),
@@ -9437,7 +9437,7 @@ const nA = /* @__PURE__ */ Te(tA), aA = "lumx-mosaic", {
9437
9437
  }, FN = /* @__PURE__ */ E((e, {
9438
9438
  emit: t
9439
9439
  }) => {
9440
- const n = D(), a = U(), o = R(() => e.class), r = oe("onHandleClick"), s = (i) => {
9440
+ const n = D(), a = U(), o = M(() => e.class), r = oe("onHandleClick"), s = (i) => {
9441
9441
  t("handleClick", i);
9442
9442
  };
9443
9443
  return () => m(rA, S(n, {
@@ -9458,7 +9458,7 @@ const nA = /* @__PURE__ */ Te(tA), aA = "lumx-mosaic", {
9458
9458
  emit: t,
9459
9459
  slots: n
9460
9460
  }) => {
9461
- const a = D(), o = R(() => e.class), r = C(() => e.label ?? e.ariaLabel ?? a["aria-label"]), s = () => t("close");
9461
+ const a = D(), o = M(() => e.class), r = C(() => e.label ?? e.ariaLabel ?? a["aria-label"]), s = () => t("close");
9462
9462
  return () => {
9463
9463
  const {
9464
9464
  label: i,
@@ -9511,7 +9511,7 @@ const nA = /* @__PURE__ */ Te(tA), aA = "lumx-mosaic", {
9511
9511
  className: Wl("line2")
9512
9512
  }, null)]);
9513
9513
  }, jN = /* @__PURE__ */ E((e) => {
9514
- const t = D(), n = U(), a = R(() => e.class);
9514
+ const t = D(), n = U(), a = M(() => e.class);
9515
9515
  return () => m(fA, S(e, t, {
9516
9516
  className: a.value,
9517
9517
  theme: e.theme || n.value
@@ -9591,7 +9591,7 @@ const nA = /* @__PURE__ */ Te(tA), aA = "lumx-mosaic", {
9591
9591
  }, HN = /* @__PURE__ */ E((e, {
9592
9592
  emit: t
9593
9593
  }) => {
9594
- const n = D(), a = U(), o = R(() => e.class), r = re(), s = C(() => e.id || r), {
9594
+ const n = D(), a = U(), o = M(() => e.class), r = re(), s = C(() => e.id || r), {
9595
9595
  isAnyDisabled: i,
9596
9596
  disabledStateProps: l,
9597
9597
  otherProps: c
@@ -9639,7 +9639,7 @@ Tn.defaultProps = bA;
9639
9639
  const zN = /* @__PURE__ */ E((e, {
9640
9640
  slots: t
9641
9641
  }) => {
9642
- const n = D(), a = R(() => e.class);
9642
+ const n = D(), a = M(() => e.class);
9643
9643
  return () => m(Tn, S(e, n, {
9644
9644
  className: a.value,
9645
9645
  children: t.default?.()
@@ -9704,7 +9704,7 @@ const zN = /* @__PURE__ */ E((e, {
9704
9704
  className: wA("inner")
9705
9705
  }, null)]);
9706
9706
  }, VN = /* @__PURE__ */ E((e) => {
9707
- const t = D(), n = U(), a = R(() => e.class);
9707
+ const t = D(), n = U(), a = M(() => e.class);
9708
9708
  return () => m(SA, S(e, t, {
9709
9709
  className: a.value,
9710
9710
  theme: e.theme || n.value
@@ -9714,7 +9714,7 @@ const zN = /* @__PURE__ */ E((e, {
9714
9714
  inheritAttrs: !1,
9715
9715
  props: $()("class", "size", "color", "theme")
9716
9716
  }), WN = /* @__PURE__ */ E((e) => {
9717
- const t = D(), n = U(), a = R(() => e.class);
9717
+ const t = D(), n = U(), a = M(() => e.class);
9718
9718
  return () => m(OA, S(e, t, {
9719
9719
  className: a.value,
9720
9720
  theme: e.theme || n.value
@@ -9724,7 +9724,7 @@ const zN = /* @__PURE__ */ E((e, {
9724
9724
  inheritAttrs: !1,
9725
9725
  props: $()("class", "aspectRatio", "height", "variant", "width", "color", "theme")
9726
9726
  }), UN = /* @__PURE__ */ E((e) => {
9727
- const t = D(), n = U(), a = R(() => e.class);
9727
+ const t = D(), n = U(), a = M(() => e.class);
9728
9728
  return () => m(ir, S(e, t, {
9729
9729
  className: a.value,
9730
9730
  theme: e.theme || n.value
@@ -9811,7 +9811,7 @@ const zN = /* @__PURE__ */ E((e, {
9811
9811
  emit: t,
9812
9812
  slots: n
9813
9813
  }) => {
9814
- const a = D(), o = U(), r = R(() => e.class), s = re(), i = C(() => e.id || s), {
9814
+ const a = D(), o = U(), r = M(() => e.class), s = re(), i = C(() => e.id || s), {
9815
9815
  isAnyDisabled: l,
9816
9816
  disabledStateProps: c,
9817
9817
  otherProps: d
@@ -9851,7 +9851,7 @@ const zN = /* @__PURE__ */ E((e, {
9851
9851
  aspectRatio: dt.horizontal,
9852
9852
  size: H.xl,
9853
9853
  variant: Yu.square
9854
- }, RA = (e) => {
9854
+ }, MA = (e) => {
9855
9855
  const {
9856
9856
  aspectRatio: t = Yo.aspectRatio,
9857
9857
  className: n,
@@ -9901,13 +9901,13 @@ const zN = /* @__PURE__ */ E((e, {
9901
9901
  onChange: h
9902
9902
  }), null)]
9903
9903
  });
9904
- }, MA = {
9904
+ }, RA = {
9905
9905
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
9906
9906
  change: (e, t) => !0
9907
9907
  }, KN = /* @__PURE__ */ E((e, {
9908
9908
  emit: t
9909
9909
  }) => {
9910
- const n = D(), a = U(), o = R(() => e.class), r = re(), s = C(() => e.fileInputProps?.id || r), i = M(!1), {
9910
+ const n = D(), a = U(), o = M(() => e.class), r = re(), s = C(() => e.fileInputProps?.id || r), i = R(!1), {
9911
9911
  isAnyDisabled: l,
9912
9912
  disabledStateProps: c,
9913
9913
  otherProps: d
@@ -9934,7 +9934,7 @@ const zN = /* @__PURE__ */ E((e, {
9934
9934
  theme: g,
9935
9935
  ...y
9936
9936
  } = d.value;
9937
- return m(RA, S(y, {
9937
+ return m(MA, S(y, {
9938
9938
  className: o.value,
9939
9939
  theme: e.theme || a.value,
9940
9940
  inputId: s.value,
@@ -9968,7 +9968,7 @@ const zN = /* @__PURE__ */ E((e, {
9968
9968
  name: "LumxUploader",
9969
9969
  inheritAttrs: !1,
9970
9970
  props: $()("class", "theme", "aspectRatio", "icon", "label", "size", "variant", "isDisabled", "disabled", "aria-disabled", "fileInputProps"),
9971
- emits: MA
9971
+ emits: RA
9972
9972
  }), DA = {
9973
9973
  below: "below",
9974
9974
  over: "over"
@@ -10129,7 +10129,7 @@ const qA = (e) => {
10129
10129
  }), XN = /* @__PURE__ */ E((e, {
10130
10130
  slots: t
10131
10131
  }) => {
10132
- const n = D(), a = U(), o = R(() => e.class);
10132
+ const n = D(), a = U(), o = M(() => e.class);
10133
10133
  return () => {
10134
10134
  const {
10135
10135
  class: r,
@@ -10193,7 +10193,7 @@ _n.defaultProps = VA;
10193
10193
  const YN = /* @__PURE__ */ E((e, {
10194
10194
  slots: t
10195
10195
  }) => {
10196
- const n = D(), a = R(() => e.class);
10196
+ const n = D(), a = M(() => e.class);
10197
10197
  return () => m(_n, S(e, n, {
10198
10198
  className: a.value,
10199
10199
  items: t.default?.()
@@ -10202,9 +10202,9 @@ const YN = /* @__PURE__ */ E((e, {
10202
10202
  name: "LumxInlineList",
10203
10203
  inheritAttrs: !1,
10204
10204
  props: $()("color", "colorVariant", "typography", "wrap", "class")
10205
- }), Rt = "lumx-table", {
10205
+ }), Mt = "lumx-table", {
10206
10206
  block: WA
10207
- } = B(Rt), UA = (e) => {
10207
+ } = B(Mt), UA = (e) => {
10208
10208
  const {
10209
10209
  children: t,
10210
10210
  className: n,
@@ -10226,7 +10226,7 @@ const YN = /* @__PURE__ */ E((e, {
10226
10226
  }, ZN = /* @__PURE__ */ E((e, {
10227
10227
  slots: t
10228
10228
  }) => {
10229
- const n = D(), a = U(), o = R(() => e.class);
10229
+ const n = D(), a = U(), o = M(() => e.class);
10230
10230
  return () => m(UA, S(e, n, {
10231
10231
  className: o.value,
10232
10232
  theme: e.theme || a.value,
@@ -10236,7 +10236,7 @@ const YN = /* @__PURE__ */ E((e, {
10236
10236
  name: "LumxTable",
10237
10237
  inheritAttrs: !1,
10238
10238
  props: $()("class", "hasBefore", "hasDividers", "theme")
10239
- }), GA = `${Rt}__body`, KA = (e) => {
10239
+ }), GA = `${Mt}__body`, KA = (e) => {
10240
10240
  const {
10241
10241
  children: t,
10242
10242
  className: n,
@@ -10251,7 +10251,7 @@ const YN = /* @__PURE__ */ E((e, {
10251
10251
  }, JN = /* @__PURE__ */ E((e, {
10252
10252
  slots: t
10253
10253
  }) => {
10254
- const n = D(), a = R(() => e.class);
10254
+ const n = D(), a = M(() => e.class);
10255
10255
  return () => m(KA, S(e, n, {
10256
10256
  className: a.value,
10257
10257
  children: t.default?.()
@@ -10266,7 +10266,7 @@ const YN = /* @__PURE__ */ E((e, {
10266
10266
  }, ur = {
10267
10267
  body: "body",
10268
10268
  head: "head"
10269
- }, Ue = `${Rt}__cell`, {
10269
+ }, Ue = `${Mt}__cell`, {
10270
10270
  block: Xl
10271
10271
  } = B(Ue), XA = {
10272
10272
  variant: ur.body
@@ -10329,7 +10329,7 @@ const YN = /* @__PURE__ */ E((e, {
10329
10329
  slots: n,
10330
10330
  attrs: a
10331
10331
  }) => {
10332
- const o = R(() => e.class), r = () => {
10332
+ const o = M(() => e.class), r = () => {
10333
10333
  t("headerClick");
10334
10334
  }, s = oe("onHeaderClick");
10335
10335
  return () => m(YA, S(e, a, {
@@ -10342,7 +10342,7 @@ const YN = /* @__PURE__ */ E((e, {
10342
10342
  inheritAttrs: !1,
10343
10343
  props: $()("class", "icon", "isSortable", "sortOrder", "variant"),
10344
10344
  emits: ZA
10345
- }), JA = `${Rt}__header`, QA = (e) => {
10345
+ }), JA = `${Mt}__header`, QA = (e) => {
10346
10346
  const {
10347
10347
  children: t,
10348
10348
  className: n,
@@ -10357,7 +10357,7 @@ const YN = /* @__PURE__ */ E((e, {
10357
10357
  }, ex = /* @__PURE__ */ E((e, {
10358
10358
  slots: t
10359
10359
  }) => {
10360
- const n = D(), a = R(() => e.class);
10360
+ const n = D(), a = M(() => e.class);
10361
10361
  return () => m(QA, S(e, n, {
10362
10362
  className: a.value,
10363
10363
  children: t.default?.()
@@ -10366,7 +10366,7 @@ const YN = /* @__PURE__ */ E((e, {
10366
10366
  name: "LumxTableHeader",
10367
10367
  inheritAttrs: !1,
10368
10368
  props: $()("class")
10369
- }), eS = `${Rt}__row`, {
10369
+ }), eS = `${Mt}__row`, {
10370
10370
  block: tS
10371
10371
  } = B(eS), nS = (e) => {
10372
10372
  const {
@@ -10394,7 +10394,7 @@ const YN = /* @__PURE__ */ E((e, {
10394
10394
  }, tx = /* @__PURE__ */ E((e, {
10395
10395
  slots: t
10396
10396
  }) => {
10397
- const n = D(), a = R(() => e.class), {
10397
+ const n = D(), a = M(() => e.class), {
10398
10398
  isAnyDisabled: o,
10399
10399
  otherProps: r
10400
10400
  } = te(C(() => ({
@@ -10439,17 +10439,17 @@ const oS = `${Qu}__link`, {
10439
10439
  Icon: y,
10440
10440
  Text: A,
10441
10441
  ref: N,
10442
- ...x
10442
+ ...P
10443
10443
  } = e, w = () => {
10444
10444
  o || v?.();
10445
- }, P = (T) => {
10445
+ }, k = (T) => {
10446
10446
  c?.(T), b && w();
10447
- }, O = (T) => {
10447
+ }, x = (T) => {
10448
10448
  d?.(T), !(T.key !== "Enter" || o) && w();
10449
10449
  };
10450
10450
  return m("button", S({
10451
10451
  ref: N
10452
- }, x, {
10452
+ }, P, {
10453
10453
  type: "button",
10454
10454
  id: g,
10455
10455
  className: L(t, rS({
@@ -10458,9 +10458,9 @@ const oS = `${Qu}__link`, {
10458
10458
  })),
10459
10459
  onClick: w
10460
10460
  }, {
10461
- [h]: O
10461
+ [h]: x
10462
10462
  }, {
10463
- onFocus: P,
10463
+ onFocus: k,
10464
10464
  role: "tab"
10465
10465
  }, {
10466
10466
  [f]: i ? 0 : u
@@ -10533,7 +10533,7 @@ const oS = `${Qu}__link`, {
10533
10533
  }, nx = /* @__PURE__ */ E((e, {
10534
10534
  emit: t
10535
10535
  }) => {
10536
- const n = D(), a = R(() => e.class), {
10536
+ const n = D(), a = M(() => e.class), {
10537
10537
  isAnyDisabled: o
10538
10538
  } = te(C(() => ({
10539
10539
  ...e,
@@ -10599,7 +10599,7 @@ const Yl = {
10599
10599
  "aria-label": t
10600
10600
  }, [n])]);
10601
10601
  }, ax = /* @__PURE__ */ E((e) => {
10602
- const t = D(), n = ke(), a = U(), o = R(() => e.class), r = M(null);
10602
+ const t = D(), n = ke(), a = U(), o = M(() => e.class), r = R(null);
10603
10603
  return ju({
10604
10604
  containerRef: r,
10605
10605
  itemSelector: '[role="tab"]'
@@ -10644,7 +10644,7 @@ const Yl = {
10644
10644
  "aria-labelledby": r
10645
10645
  }), [(!s || a) && t]);
10646
10646
  }, ox = /* @__PURE__ */ E((e) => {
10647
- const t = D(), n = ke(), a = R(() => e.class), o = td("tabPanel", e.id), r = C(() => e.isActive || o.value?.isActive);
10647
+ const t = D(), n = ke(), a = M(() => e.class), o = td("tabPanel", e.id), r = C(() => e.isActive || o.value?.isActive);
10648
10648
  return () => m(pS, S(t, {
10649
10649
  className: a.value,
10650
10650
  isActive: r.value,
@@ -10667,7 +10667,7 @@ const Yl = {
10667
10667
  emit: t,
10668
10668
  slots: n
10669
10669
  }) => {
10670
- const a = M({
10670
+ const a = R({
10671
10671
  ...xt,
10672
10672
  isLazy: e.isLazy ?? xt.isLazy,
10673
10673
  shouldActivateOnFocus: e.shouldActivateOnFocus ?? xt.shouldActivateOnFocus,
@@ -10713,7 +10713,7 @@ var Jo, Jl;
10713
10713
  function gS() {
10714
10714
  if (Jl) return Jo;
10715
10715
  Jl = 1;
10716
- var e = Mu();
10716
+ var e = Ru();
10717
10717
  function t(n, a, o) {
10718
10718
  return n == null ? n : e(n, a, o);
10719
10719
  }
@@ -10759,14 +10759,14 @@ const SS = "lumx-user-block", {
10759
10759
  theme: y,
10760
10760
  children: A,
10761
10761
  additionalFields: N,
10762
- after: x,
10762
+ after: P,
10763
10763
  Text: w,
10764
- Avatar: P,
10765
- ...O
10764
+ Avatar: k,
10765
+ ...x
10766
10766
  } = e;
10767
10767
  let T = g;
10768
10768
  p === ct.vertical && (T = H.l);
10769
- const k = p === ct.vertical, _ = dr({
10769
+ const O = p === ct.vertical, _ = dr({
10770
10770
  handleClick: f,
10771
10771
  linkAs: r,
10772
10772
  linkProps: o
@@ -10788,14 +10788,14 @@ const SS = "lumx-user-block", {
10788
10788
  };
10789
10789
  return m("div", S({
10790
10790
  ref: s
10791
- }, O, I, {
10791
+ }, x, I, {
10792
10792
  className: L(n, NS({
10793
10793
  [`orientation-${p}`]: !!p,
10794
10794
  [`size-${T}`]: !!T,
10795
10795
  [`theme-${y}`]: !!y,
10796
10796
  "is-clickable": _
10797
10797
  }))
10798
- }), [t && m(P, S({
10798
+ }), [t && m(k, S({
10799
10799
  linkAs: r,
10800
10800
  linkProps: o,
10801
10801
  alt: ""
@@ -10806,13 +10806,13 @@ const SS = "lumx-user-block", {
10806
10806
  theme: y
10807
10807
  }), null), (a || d || A || N) && m("div", {
10808
10808
  className: $e("wrapper")
10809
- }, [A, j, q ? N : null]), k && b && m("div", {
10809
+ }, [A, j, q ? N : null]), O && b && m("div", {
10810
10810
  className: $e("action")
10811
- }, [b]), k && i && m("div", {
10811
+ }, [b]), O && i && m("div", {
10812
10812
  className: $e("actions")
10813
- }, [i]), x ? m("div", {
10813
+ }, [i]), P ? m("div", {
10814
10814
  className: $e("after")
10815
- }, [x]) : null]);
10815
+ }, [P]) : null]);
10816
10816
  };
10817
10817
  function PS(e) {
10818
10818
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !K(e);
@@ -10825,7 +10825,7 @@ const wS = {
10825
10825
  emit: t,
10826
10826
  slots: n
10827
10827
  }) => {
10828
- const a = D(), o = U(), r = R(() => e.class), s = () => {
10828
+ const a = D(), o = U(), r = M(() => e.class), s = () => {
10829
10829
  t("click");
10830
10830
  }, i = () => {
10831
10831
  t("mouseenter");
@@ -11014,9 +11014,9 @@ const OS = "SelectButton", kS = "lumx-select-button", TS = {
11014
11014
  listStatus: y = "idle",
11015
11015
  translations: A,
11016
11016
  onOpen: N,
11017
- onLoadMore: x,
11017
+ onLoadMore: P,
11018
11018
  infiniteScrollOptions: w
11019
- } = e, P = y === "loading", O = y === "loadingMore", T = y === "error", k = u === "multiple", _ = d != null ? qr(d).map((q) => ad(q, r, o)).filter(Boolean).join(", ") : "";
11019
+ } = 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(", ") : "";
11020
11020
  return m(t.Provider, {
11021
11021
  onOpen: N
11022
11022
  }, {
@@ -11032,9 +11032,9 @@ const OS = "SelectButton", kS = "lumx-select-button", TS = {
11032
11032
  }, p), {
11033
11033
  default: () => [m(t.List, S(b, {
11034
11034
  "aria-label": f,
11035
- "aria-multiselectable": k || void 0
11035
+ "aria-multiselectable": O || void 0
11036
11036
  }), {
11037
- default: () => [P ? m(t.OptionSkeleton, {
11037
+ default: () => [k ? m(t.OptionSkeleton, {
11038
11038
  count: 3
11039
11039
  }, null) : Wr({
11040
11040
  options: a,
@@ -11047,12 +11047,12 @@ const OS = "SelectButton", kS = "lumx-select-button", TS = {
11047
11047
  selected: d
11048
11048
  }, {
11049
11049
  Combobox: t
11050
- }), x && n && m(n, {
11050
+ }), P && n && m(n, {
11051
11051
  callback: () => {
11052
- y && y !== "idle" || x();
11052
+ y && y !== "idle" || P();
11053
11053
  },
11054
11054
  options: w
11055
- }, null), O && m(t.OptionSkeleton, {
11055
+ }, null), x && m(t.OptionSkeleton, {
11056
11056
  count: 1
11057
11057
  }, null)]
11058
11058
  }), m(t.State, {
@@ -11136,7 +11136,7 @@ const LS = {
11136
11136
  slots: n,
11137
11137
  attrs: a
11138
11138
  }) => {
11139
- const o = M(null), r = R(() => e.class), {
11139
+ const o = R(null), r = M(() => e.class), {
11140
11140
  disabledStateProps: s
11141
11141
  } = te(C(() => ({
11142
11142
  ...e,
@@ -11232,12 +11232,12 @@ const LS = {
11232
11232
  emptyMessage: y,
11233
11233
  nbOptionMessage: A,
11234
11234
  errorMessage: N,
11235
- errorTryReloadMessage: x,
11235
+ errorTryReloadMessage: P,
11236
11236
  onOpen: w,
11237
- chips: P,
11238
- beforeOptions: O,
11237
+ chips: k,
11238
+ beforeOptions: x,
11239
11239
  afterOptions: T,
11240
- onLoadMore: k,
11240
+ onLoadMore: O,
11241
11241
  infiniteScrollOptions: _
11242
11242
  } = e, q = b === "loading", j = b === "loadingMore", I = b === "error";
11243
11243
  return m(t.Provider, {
@@ -11246,7 +11246,8 @@ const LS = {
11246
11246
  default: () => [m(t.Input, S({
11247
11247
  label: u
11248
11248
  }, h, {
11249
- chips: P
11249
+ selectionMode: "keep",
11250
+ chips: k
11250
11251
  }), null), m(t.Popover, S({
11251
11252
  fitToAnchorWidth: "minWidth",
11252
11253
  fitWithinViewportHeight: !0,
@@ -11256,7 +11257,7 @@ const LS = {
11256
11257
  "aria-label": u,
11257
11258
  "aria-multiselectable": f || void 0
11258
11259
  }), {
11259
- default: () => [O, q ? m(t.OptionSkeleton, {
11260
+ default: () => [x, q ? m(t.OptionSkeleton, {
11260
11261
  count: 3
11261
11262
  }, null) : Wr({
11262
11263
  options: a,
@@ -11269,9 +11270,9 @@ const LS = {
11269
11270
  selected: d
11270
11271
  }, {
11271
11272
  Combobox: t
11272
- }), T, k && n && m(n, {
11273
+ }), T, O && n && m(n, {
11273
11274
  callback: () => {
11274
- b && b !== "idle" || k();
11275
+ b && b !== "idle" || O();
11275
11276
  },
11276
11277
  options: _
11277
11278
  }, null), j && m(t.OptionSkeleton, {
@@ -11282,14 +11283,14 @@ const LS = {
11282
11283
  emptyMessage: y,
11283
11284
  nbOptionMessage: A,
11284
11285
  errorMessage: I ? N : void 0,
11285
- errorTryReloadMessage: I ? x : void 0
11286
+ errorTryReloadMessage: I ? P : void 0
11286
11287
  }, null)]
11287
11288
  })]
11288
11289
  });
11289
11290
  };
11290
11291
  Gr.displayName = ES;
11291
11292
  Gr.className = $S;
11292
- const RS = {
11293
+ const MS = {
11293
11294
  /**
11294
11295
  * Selection change. Payload type depends on `selectionType`:
11295
11296
  * - `'single'` → `O | undefined` (option on select, `undefined` on clear).
@@ -11314,33 +11315,33 @@ const RS = {
11314
11315
  clear: (e) => !0,
11315
11316
  /** Dropdown opened or closed. */
11316
11317
  open: (e) => !0
11317
- }, MS = /* @__PURE__ */ E((e, {
11318
+ }, RS = /* @__PURE__ */ E((e, {
11318
11319
  emit: t,
11319
11320
  slots: n,
11320
11321
  attrs: a
11321
11322
  }) => {
11322
- const o = C(() => e.selectionType === "multiple"), r = R(() => e.class), {
11323
+ const o = C(() => e.selectionType === "multiple"), r = M(() => e.class), {
11323
11324
  isAnyDisabled: s,
11324
11325
  disabledStateProps: i
11325
11326
  } = te(C(() => ({
11326
11327
  ...e,
11327
11328
  ...a
11328
- }))), l = M(!!e.searchInputValue), c = M(e.searchInputValue ?? ""), d = M(null), u = M(null);
11329
- X(() => e.searchInputValue, (x) => {
11330
- x !== void 0 && (c.value = x, l.value = !!x);
11329
+ }))), l = R(!!e.searchInputValue), c = R(e.searchInputValue ?? ""), d = R(null), u = R(null);
11330
+ X(() => e.searchInputValue, (P) => {
11331
+ P !== void 0 && (c.value = P, l.value = !!P);
11331
11332
  });
11332
- const f = C(() => e.selectionType === "multiple" || l.value ? c.value : ad(e.value, e.getOptionName, e.getOptionId)), h = (x) => {
11333
- const w = nd(e.options, e.getOptionId, e.value, x.value, e.selectionType === "multiple");
11333
+ const f = C(() => e.selectionType === "multiple" || l.value ? c.value : ad(e.value, e.getOptionName, e.getOptionId)), h = (P) => {
11334
+ const w = nd(e.options, e.getOptionId, e.value, P.value, e.selectionType === "multiple");
11334
11335
  t("change", w), l.value = !1, c.value = "", t("search", "");
11335
- }, v = (x) => {
11336
- l.value = !0, c.value = x, t("search", x), !o.value && x === "" && e.value !== void 0 && e.value !== null && t("change", void 0);
11337
- }, p = (x) => {
11338
- t("change", void 0), l.value = !1, c.value = "", t("search", ""), t("clear", x);
11339
- }, b = (x) => {
11340
- l.value = !1, c.value = "", t("search", ""), t("blur", x);
11336
+ }, v = (P) => {
11337
+ l.value = !0, c.value = P, t("search", P), !o.value && P === "" && e.value !== void 0 && e.value !== null && t("change", void 0);
11338
+ }, p = (P) => {
11339
+ t("change", void 0), l.value = !1, c.value = "", t("search", ""), t("clear", P);
11340
+ }, b = (P) => {
11341
+ l.value = !1, c.value = "", t("search", ""), t("blur", P);
11341
11342
  }, g = od(n.option), y = rd(n.sectionTitle), A = oe("onLoadMore") || oe("onLoad-more"), N = () => t("load-more");
11342
11343
  return () => {
11343
- const x = !o.value && !s.value && (e.hasClearButton ?? !0) && e.value !== void 0 && e.value !== null, w = e.selectionType === "multiple" ? m(Db, {
11344
+ const P = !o.value && !s.value && (e.hasClearButton ?? !0) && e.value !== void 0 && e.value !== null, w = e.selectionType === "multiple" ? m(Db, {
11344
11345
  value: e.value,
11345
11346
  theme: e.theme,
11346
11347
  getOptionId: e.getOptionId,
@@ -11352,7 +11353,7 @@ const RS = {
11352
11353
  chipRemoveLabel: e.translations.chipRemoveLabel
11353
11354
  }, {
11354
11355
  chip: n.chip || void 0
11355
- }) : void 0, P = e.listStatus ?? "idle", O = e.beforeOptions ?? n.beforeOptions?.();
11356
+ }) : void 0, k = e.listStatus ?? "idle", x = e.beforeOptions ?? n.beforeOptions?.();
11356
11357
  return Gr({
11357
11358
  options: e.options,
11358
11359
  getOptionId: e.getOptionId,
@@ -11364,7 +11365,7 @@ const RS = {
11364
11365
  selected: e.value,
11365
11366
  label: e.label,
11366
11367
  isMultiselectable: o.value,
11367
- listStatus: P,
11368
+ listStatus: k,
11368
11369
  onOpen: (T) => t("open", T),
11369
11370
  loadingMessage: e.translations.loadingMessage,
11370
11371
  emptyMessage: e.translations.emptyMessage,
@@ -11394,7 +11395,7 @@ const RS = {
11394
11395
  isValid: e.isValid,
11395
11396
  maxLength: e.maxLength,
11396
11397
  "aria-label": e.ariaLabel,
11397
- clearButtonProps: x ? {
11398
+ clearButtonProps: P ? {
11398
11399
  label: e.translations.clearLabel
11399
11400
  } : void 0,
11400
11401
  onClear: p,
@@ -11411,7 +11412,7 @@ const RS = {
11411
11412
  ref: d
11412
11413
  },
11413
11414
  chips: w,
11414
- beforeOptions: O,
11415
+ beforeOptions: x,
11415
11416
  onLoadMore: A ? N : void 0,
11416
11417
  infiniteScrollOptions: {
11417
11418
  root: d.value?.$el ?? null,
@@ -11426,7 +11427,7 @@ const RS = {
11426
11427
  name: "LumxSelectTextField",
11427
11428
  inheritAttrs: !1,
11428
11429
  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"),
11429
- emits: RS
11430
+ emits: MS
11430
11431
  }), DS = Ot, cx = Eu, ux = ku, dx = Tu, fx = Iu, BS = "TimePickerField", sd = "lumx-time-picker-field", {
11431
11432
  block: FS
11432
11433
  } = B(sd), tc = {
@@ -11518,12 +11519,12 @@ const WS = () => navigator.languages?.[0] || navigator.language, US = {
11518
11519
  }, hx = /* @__PURE__ */ E((e, {
11519
11520
  emit: t
11520
11521
  }) => {
11521
- const n = R(() => e.class), a = C(() => e.locale ?? WS()), o = C(() => e.step ?? tc.step), r = C(() => e.boundsMode ?? tc.boundsMode), s = C(() => jS({
11522
+ 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({
11522
11523
  step: o.value,
11523
11524
  minTime: e.minTime,
11524
11525
  maxTime: e.maxTime,
11525
11526
  locale: a.value
11526
- })), i = M(""), l = C(() => {
11527
+ })), i = R(""), l = C(() => {
11527
11528
  const {
11528
11529
  value: f
11529
11530
  } = e;
@@ -11579,7 +11580,7 @@ const WS = () => navigator.languages?.[0] || navigator.language, US = {
11579
11580
  handleBlur: u,
11580
11581
  searchInputValue: f
11581
11582
  }, {
11582
- SelectTextField: MS,
11583
+ SelectTextField: RS,
11583
11584
  Option: DS
11584
11585
  });
11585
11586
  };
@@ -11646,7 +11647,7 @@ export {
11646
11647
  $N as InputLabel,
11647
11648
  CN as Lightbox,
11648
11649
  Hr as Link,
11649
- RN as LinkPreview,
11650
+ MN as LinkPreview,
11650
11651
  AN as List,
11651
11652
  Iu as ListDivider,
11652
11653
  SN as ListItem,
@@ -11654,7 +11655,7 @@ export {
11654
11655
  mg as ListSection,
11655
11656
  DN as MenuButton,
11656
11657
  Iu as MenuDivider,
11657
- MN as MenuItem,
11658
+ RN as MenuItem,
11658
11659
  BN as Message,
11659
11660
  FN as Mosaic,
11660
11661
  Av as Placement,
@@ -11668,7 +11669,7 @@ export {
11668
11669
  Lp as RawInputTextarea,
11669
11670
  ix as SelectButton,
11670
11671
  lx as SelectButtonOption,
11671
- MS as SelectTextField,
11672
+ RS as SelectTextField,
11672
11673
  fx as SelectTextFieldDivider,
11673
11674
  DS as SelectTextFieldOption,
11674
11675
  ux as SelectTextFieldOptionMoreInfo,