@lumx/vue 4.17.1-alpha.0 → 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) {
@@ -4987,7 +4987,7 @@ const vu = "lumx-text-field", gu = `${vu}__input-native`, {
4987
4987
  }, Op = /* @__PURE__ */ E((e, {
4988
4988
  emit: t
4989
4989
  }) => {
4990
- 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) => {
4991
4991
  u?.stopImmediatePropagation(), t("change", c, d, u);
4992
4992
  }, s = (c, d, u) => {
4993
4993
  t("input", c, d, u);
@@ -5050,7 +5050,7 @@ const vu = "lumx-text-field", gu = `${vu}__input-native`, {
5050
5050
  }), null);
5051
5051
  };
5052
5052
  function _p(e, t, n) {
5053
- const a = M(e.value);
5053
+ const a = R(e.value);
5054
5054
  return Xe(
5055
5055
  () => {
5056
5056
  const o = t.value;
@@ -5081,7 +5081,7 @@ const Ip = {
5081
5081
  }, Lp = /* @__PURE__ */ E((e, {
5082
5082
  emit: t
5083
5083
  }) => {
5084
- 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) => {
5085
5085
  h?.stopImmediatePropagation(), t("change", u, f, h);
5086
5086
  }, l = (u, f, h) => {
5087
5087
  t("input", u, f, h);
@@ -5111,8 +5111,8 @@ const Ip = {
5111
5111
  function Ep(e) {
5112
5112
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !K(e);
5113
5113
  }
5114
- const $p = "InputLabel", Rp = "lumx-input-label", yu = Rp, {
5115
- block: Mp
5114
+ const $p = "InputLabel", Mp = "lumx-input-label", yu = Mp, {
5115
+ block: Rp
5116
5116
  } = B(yu), Dp = {};
5117
5117
  function Ve(e) {
5118
5118
  const {
@@ -5130,7 +5130,7 @@ function Ve(e) {
5130
5130
  ref: l
5131
5131
  }, c, {
5132
5132
  htmlFor: a,
5133
- className: L(n, Mp({
5133
+ className: L(n, Rp({
5134
5134
  "is-required": o,
5135
5135
  [`theme-${r}`]: !!r,
5136
5136
  "has-custom-typography": !!i
@@ -5209,15 +5209,15 @@ const Vp = (e) => {
5209
5209
  textFieldRef: y,
5210
5210
  helperId: A,
5211
5211
  errorId: N,
5212
- labelId: x,
5212
+ labelId: P,
5213
5213
  theme: w,
5214
- value: P,
5215
- afterElement: O,
5214
+ value: k,
5215
+ afterElement: x,
5216
5216
  input: T,
5217
- isFocus: k,
5217
+ isFocus: O,
5218
5218
  IconButton: _,
5219
5219
  ref: q
5220
- } = e, j = (P || "").length, I = j > 0;
5220
+ } = e, j = (k || "").length, I = j > 0;
5221
5221
  return m("div", {
5222
5222
  ref: q,
5223
5223
  className: L(n, Hp({
@@ -5229,9 +5229,9 @@ const Vp = (e) => {
5229
5229
  "has-label": !!f,
5230
5230
  "has-placeholder": !!g,
5231
5231
  "has-textarea": b,
5232
- "has-value": !!P,
5232
+ "has-value": !!k,
5233
5233
  "is-disabled": v,
5234
- "is-focus": k || r,
5234
+ "is-focus": O || r,
5235
5235
  "is-valid": u,
5236
5236
  [`theme-${w}`]: !!w
5237
5237
  }))
@@ -5239,7 +5239,7 @@ const Vp = (e) => {
5239
5239
  className: ue("header")
5240
5240
  }, [f && Ve({
5241
5241
  ...h,
5242
- id: x,
5242
+ id: P,
5243
5243
  htmlFor: c,
5244
5244
  className: ue("label"),
5245
5245
  isRequired: d,
@@ -5268,7 +5268,7 @@ const Vp = (e) => {
5268
5268
  icon: u ? br : wt,
5269
5269
  size: H.xxs
5270
5270
  }), a && I && !v && m(_, S({
5271
- "aria-describedby": x
5271
+ "aria-describedby": P
5272
5272
  }, a, {
5273
5273
  className: ue("input-clear"),
5274
5274
  icon: Nd,
@@ -5276,9 +5276,9 @@ const Vp = (e) => {
5276
5276
  size: H.s,
5277
5277
  theme: w,
5278
5278
  type: "button"
5279
- }), null), O && m("div", {
5279
+ }), null), x && m("div", {
5280
5280
  className: ue("after-element")
5281
- }, [O])]), s && o && Oe({
5281
+ }, [x])]), s && o && Oe({
5282
5282
  children: o,
5283
5283
  className: ue("helper"),
5284
5284
  kind: ie.error,
@@ -5304,13 +5304,13 @@ const Vp = (e) => {
5304
5304
  }, Up = /* @__PURE__ */ E((e, {
5305
5305
  emit: t
5306
5306
  }) => {
5307
- 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), {
5308
5308
  isAnyDisabled: c,
5309
5309
  disabledStateProps: d
5310
5310
  } = te(C(() => ({
5311
5311
  ...e,
5312
5312
  ...n
5313
- }))), u = M(null);
5313
+ }))), u = R(null);
5314
5314
  X(u, (y) => {
5315
5315
  const A = y?.$el ?? y ?? null;
5316
5316
  e.inputRef?.(A);
@@ -5332,13 +5332,13 @@ const Vp = (e) => {
5332
5332
  const y = e.theme || o.value, {
5333
5333
  helperId: A,
5334
5334
  errorId: N,
5335
- describedById: x,
5335
+ describedById: P,
5336
5336
  labelId: w
5337
5337
  } = f.value, {
5338
- class: P,
5339
- className: O,
5338
+ class: k,
5339
+ className: x,
5340
5340
  "aria-describedby": T,
5341
- disabled: k,
5341
+ disabled: O,
5342
5342
  isDisabled: _,
5343
5343
  "aria-disabled": q,
5344
5344
  ariaDisabled: j,
@@ -5356,7 +5356,7 @@ const Vp = (e) => {
5356
5356
  placeholder: e.placeholder,
5357
5357
  theme: y,
5358
5358
  "aria-invalid": e.hasError || void 0,
5359
- "aria-describedby": x,
5359
+ "aria-describedby": P,
5360
5360
  ...d.value,
5361
5361
  readOnly: !!Y.readOnly || !!d.value["aria-disabled"],
5362
5362
  onChange: h,
@@ -5414,7 +5414,7 @@ const Vp = (e) => {
5414
5414
  emit: t,
5415
5415
  attrs: n
5416
5416
  }) => {
5417
- const a = R(() => e.class), {
5417
+ const a = M(() => e.class), {
5418
5418
  listboxId: o,
5419
5419
  anchorRef: r,
5420
5420
  setHandle: s,
@@ -5422,13 +5422,14 @@ const Vp = (e) => {
5422
5422
  } = xe(), {
5423
5423
  isOpen: l,
5424
5424
  setIsOpen: c
5425
- } = Br(), d = M(null);
5425
+ } = Br(), d = R(null);
5426
5426
  Ke(() => {
5427
5427
  const v = d.value;
5428
5428
  v && s(Np(v, {
5429
5429
  onSelect(p) {
5430
- t("change", p.value), e.onSelect?.(p), t("select", p);
5430
+ e.onSelect?.(p), t("select", p), e.selectionMode === "keep" || (e.selectionMode === "clear" ? t("change", "") : t("change", p.value));
5431
5431
  },
5432
+ selectionMode: e.selectionMode,
5432
5433
  filter: e.filter,
5433
5434
  openOnFocus: e.openOnFocus
5434
5435
  }));
@@ -5446,31 +5447,32 @@ const Vp = (e) => {
5446
5447
  onSelect: p,
5447
5448
  filter: b,
5448
5449
  openOnFocus: g,
5449
- class: y,
5450
- ...A
5451
- } = e, N = {
5452
- onChange: (P, O, T) => t("change", P, O, T),
5453
- onInput: (P) => t("change", P),
5454
- onFocus: (P) => t("focus", P),
5455
- onBlur: (P) => t("blur", P),
5456
- 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)
5457
5459
  }, {
5458
- ariaDisabled: x,
5459
- ...w
5460
- } = A;
5460
+ ariaDisabled: w,
5461
+ ...k
5462
+ } = N;
5461
5463
  return Sp({
5462
5464
  ...n,
5463
- ...w,
5464
- "aria-disabled": x ?? n.ariaDisabled,
5465
- ...N,
5465
+ ...k,
5466
+ "aria-disabled": w ?? n.ariaDisabled,
5467
+ ...P,
5466
5468
  listboxId: o,
5467
5469
  isOpen: l.value && (!!u.value?.optionsLength || f.value),
5468
5470
  filter: b,
5469
- textFieldRef: (P) => {
5470
- r.value = P, e.textFieldRef?.(P);
5471
+ textFieldRef: (x) => {
5472
+ r.value = x, e.textFieldRef?.(x);
5471
5473
  },
5472
- inputRef: (P) => {
5473
- d.value = P, e.inputRef?.(P);
5474
+ inputRef: (x) => {
5475
+ d.value = x, e.inputRef?.(x);
5474
5476
  },
5475
5477
  toggleButtonProps: v,
5476
5478
  handleToggle: h,
@@ -5483,7 +5485,7 @@ const Vp = (e) => {
5483
5485
  }, {
5484
5486
  name: "LumxComboboxInput",
5485
5487
  inheritAttrs: !1,
5486
- 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"),
5487
5489
  emits: {
5488
5490
  select: (e) => !!e,
5489
5491
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
@@ -5547,10 +5549,10 @@ function tv() {
5547
5549
  const nv = /* @__PURE__ */ E((e, {
5548
5550
  slots: t
5549
5551
  }) => {
5550
- const n = D(), a = R(() => e.class), {
5552
+ const n = D(), a = M(() => e.class), {
5551
5553
  listboxId: o,
5552
5554
  handle: r
5553
- } = xe(), s = M(null);
5555
+ } = xe(), s = R(null);
5554
5556
  ev({
5555
5557
  type: e.type || "listbox"
5556
5558
  }), mt([r, s], ([d, u]) => {
@@ -5684,7 +5686,7 @@ const sv = "lumx-combobox-option", {
5684
5686
  } = e;
5685
5687
  let A, N;
5686
5688
  l || (A = u ? "gridcell" : "option", N = u ? "row" : "none");
5687
- const x = Fr({
5689
+ const P = Fr({
5688
5690
  as: "button",
5689
5691
  ...v,
5690
5692
  id: c,
@@ -5696,9 +5698,9 @@ const sv = "lumx-combobox-option", {
5696
5698
  "aria-disabled": d ? "true" : void 0,
5697
5699
  role: A,
5698
5700
  children: o
5699
- }), w = t && b && !l ? m(t, b, rv(x) ? x : {
5700
- default: () => [x]
5701
- }) : x;
5701
+ }), w = t && b && !l ? m(t, b, rv(P) ? P : {
5702
+ default: () => [P]
5703
+ }) : P;
5702
5704
  return tt({
5703
5705
  ref: p,
5704
5706
  size: "tiny",
@@ -5732,11 +5734,11 @@ const dv = {
5732
5734
  slots: t,
5733
5735
  emit: n
5734
5736
  }) => {
5735
- const a = D(), o = R(() => e.class), {
5737
+ const a = D(), o = M(() => e.class), {
5736
5738
  type: r
5737
5739
  } = tv(), {
5738
5740
  handle: s
5739
- } = 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);
5740
5742
  cv({
5741
5743
  optionId: l
5742
5744
  }), mt([s, d], ([p, b]) => {
@@ -5808,7 +5810,7 @@ const dv = {
5808
5810
  slots: t,
5809
5811
  attrs: n
5810
5812
  }) => {
5811
- const a = re(), o = R(() => e.class), {
5813
+ const a = re(), o = M(() => e.class), {
5812
5814
  disabledStateProps: r,
5813
5815
  otherProps: s
5814
5816
  } = te(e);
@@ -5933,12 +5935,12 @@ const Pv = "lumx-popover", {
5933
5935
  clickAwayRefs: A,
5934
5936
  unmountSentinel: N,
5935
5937
  // Forwarded props
5936
- ...x
5937
- } = e, w = !d && i === "hide", P = d || i === "hide", O = o, T = Math.min(l || 0, 5);
5938
- 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, {
5939
5941
  enabled: g
5940
5942
  }, {
5941
- default: () => [m(O, S(x, {
5943
+ default: () => [m(x, S(P, {
5942
5944
  ref: p,
5943
5945
  className: L(s, wv({
5944
5946
  [`theme-${v}`]: !!v,
@@ -6001,17 +6003,17 @@ function Iv(e) {
6001
6003
  boundary: u,
6002
6004
  parsedPlacement: f,
6003
6005
  arrowElement: h
6004
- } = 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;
6005
- 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(
6006
6008
  Jm({ ...u ? { boundary: u } : {}, alignment: f.autoAlignment })
6007
6009
  ) : (N.push(ep(u ? { boundary: u } : {})), N.push(Qm(u ? { boundary: u } : {}))), (a || o || v || p || b || g || y || A) && N.push(
6008
6010
  tp({
6009
6011
  ...u ? { boundary: u } : {},
6010
- apply({ availableHeight: O, rects: T, elements: k }) {
6012
+ apply({ availableHeight: x, rects: T, elements: O }) {
6011
6013
  const _ = `${T.reference.width}px`;
6012
- 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 || "";
6013
- const q = `${Math.max(0, O - qa)}px`;
6014
- 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(
6015
6017
  A,
6016
6018
  o ? q : ""
6017
6019
  );
@@ -6030,7 +6032,7 @@ function Ev(e) {
6030
6032
  return e.isAuto ? void 0 : e.floatingPlacement;
6031
6033
  }
6032
6034
  function $v(e) {
6033
- 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(
6034
6036
  () => Iv({
6035
6037
  offset: e.offset?.value,
6036
6038
  hasArrow: e.hasArrow?.value,
@@ -6070,21 +6072,21 @@ function $v(e) {
6070
6072
  arrowRef: n
6071
6073
  };
6072
6074
  }
6073
- function Rv(e, t = !0) {
6074
- const n = M(!1);
6075
+ function Mv(e, t = !0) {
6076
+ const n = R(!1);
6075
6077
  Xe(() => {
6076
6078
  const a = lt(e) ? e.value : e, o = lt(t) ? t.value : t;
6077
6079
  o && !n.value && a && (a.focus(), n.value = !0), o || (n.value = !1);
6078
6080
  });
6079
6081
  }
6080
- const Mv = {
6082
+ const Rv = {
6081
6083
  close: () => !0
6082
6084
  }, bn = /* @__PURE__ */ E((e, {
6083
6085
  emit: t,
6084
6086
  slots: n,
6085
6087
  attrs: a
6086
6088
  }) => {
6087
- 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"), {
6088
6090
  styles: i,
6089
6091
  isPositioned: l,
6090
6092
  position: c,
@@ -6114,7 +6116,7 @@ const Mv = {
6114
6116
  };
6115
6117
  ln(C(() => f), C(() => !!(e.isOpen && e.closeOnEscape)));
6116
6118
  const h = C(() => !e.withFocusTrap && !!e.isOpen && l.value);
6117
- Rv(s, h);
6119
+ Mv(s, h);
6118
6120
  const v = C(() => !e.withFocusTrap || !e.isOpen ? !1 : e.focusTrapZoneElement || d.value || !1);
6119
6121
  Cr(v, s);
6120
6122
  const p = C(() => [d, r]);
@@ -6145,7 +6147,7 @@ const Mv = {
6145
6147
  name: "LumxPopover",
6146
6148
  inheritAttrs: !1,
6147
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"),
6148
- emits: Mv
6150
+ emits: Rv
6149
6151
  });
6150
6152
  function Dv(e) {
6151
6153
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !K(e);
@@ -6153,7 +6155,7 @@ function Dv(e) {
6153
6155
  const ku = /* @__PURE__ */ E((e, {
6154
6156
  slots: t
6155
6157
  }) => {
6156
- 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), {
6157
6159
  optionId: s
6158
6160
  } = uv(), i = ye("activeDescendantChange", null), l = `${s}-more-info`;
6159
6161
  function c(u) {
@@ -6274,7 +6276,7 @@ const ku = /* @__PURE__ */ E((e, {
6274
6276
  slots: t,
6275
6277
  attrs: n
6276
6278
  }) => {
6277
- const a = R(() => e.class), {
6279
+ const a = M(() => e.class), {
6278
6280
  handle: o
6279
6281
  } = xe();
6280
6282
  return mt(o, (r) => r?.registerSkeleton()), () => {
@@ -6383,7 +6385,7 @@ function Qv(e) {
6383
6385
  const yn = /* @__PURE__ */ E((e, {
6384
6386
  slots: t
6385
6387
  }) => {
6386
- const n = D(), a = R(() => e.class);
6388
+ const n = D(), a = M(() => e.class);
6387
6389
  return () => {
6388
6390
  const o = e.as || "div", r = Qv({
6389
6391
  ...e,
@@ -6404,7 +6406,7 @@ const yn = /* @__PURE__ */ E((e, {
6404
6406
  }), eg = /* @__PURE__ */ E((e, {
6405
6407
  slots: t
6406
6408
  }) => {
6407
- const n = R(() => e.class), {
6409
+ const n = M(() => e.class), {
6408
6410
  anchorRef: a
6409
6411
  } = xe(), {
6410
6412
  isOpen: o,
@@ -6435,7 +6437,7 @@ const yn = /* @__PURE__ */ E((e, {
6435
6437
  slots: t,
6436
6438
  emit: n
6437
6439
  }) => {
6438
- const a = D(), o = re(), r = M(null), s = Me(null);
6440
+ const a = D(), o = re(), r = R(null), s = Re(null);
6439
6441
  return bp({
6440
6442
  handle: s,
6441
6443
  setHandle: (l) => {
@@ -6486,7 +6488,7 @@ const ag = "lumx-combobox-section", og = (e, {
6486
6488
  }, AN = /* @__PURE__ */ E((e, {
6487
6489
  slots: t
6488
6490
  }) => {
6489
- const n = D(), a = R(() => e.class);
6491
+ const n = D(), a = M(() => e.class);
6490
6492
  return () => m(pt, S(e, n, {
6491
6493
  className: a.value,
6492
6494
  children: t.default?.()
@@ -6512,7 +6514,7 @@ An.displayName = rg;
6512
6514
  An.className = _u;
6513
6515
  An.defaultProps = sg;
6514
6516
  const Iu = /* @__PURE__ */ E((e) => {
6515
- const t = D(), n = R(() => e.class);
6517
+ const t = D(), n = M(() => e.class);
6516
6518
  return () => m(An, S(t, {
6517
6519
  className: n.value
6518
6520
  }), null);
@@ -6526,7 +6528,7 @@ const Iu = /* @__PURE__ */ E((e) => {
6526
6528
  emit: t,
6527
6529
  slots: n
6528
6530
  }) => {
6529
- const a = D(), o = R(() => e.class), {
6531
+ const a = D(), o = M(() => e.class), {
6530
6532
  isAnyDisabled: r,
6531
6533
  disabledStateProps: s,
6532
6534
  otherProps: i
@@ -6560,7 +6562,7 @@ const Iu = /* @__PURE__ */ E((e) => {
6560
6562
  emit: t,
6561
6563
  slots: n
6562
6564
  }) => {
6563
- const a = D(), o = R(() => e.class), r = oe("onClick"), {
6565
+ const a = D(), o = M(() => e.class), r = oe("onClick"), {
6564
6566
  isAnyDisabled: s,
6565
6567
  disabledStateProps: i,
6566
6568
  otherProps: l
@@ -6632,7 +6634,7 @@ Sn.defaultProps = hg;
6632
6634
  const mg = /* @__PURE__ */ E((e, {
6633
6635
  slots: t
6634
6636
  }) => {
6635
- const n = D(), a = re(), o = R(() => e.class);
6637
+ const n = D(), a = re(), o = M(() => e.class);
6636
6638
  return () => m(Sn, S(e, n, {
6637
6639
  className: o.value,
6638
6640
  id: a,
@@ -6646,9 +6648,9 @@ const mg = /* @__PURE__ */ E((e, {
6646
6648
  }), Eu = /* @__PURE__ */ E((e, {
6647
6649
  slots: t
6648
6650
  }) => {
6649
- const n = R(() => e.class), {
6651
+ const n = M(() => e.class), {
6650
6652
  handle: a
6651
- } = xe(), o = M(null), r = ic({
6653
+ } = xe(), o = R(null), r = ic({
6652
6654
  hidden: !1,
6653
6655
  "aria-hidden": !1
6654
6656
  });
@@ -6760,7 +6762,7 @@ function Ha(e) {
6760
6762
  const Ag = "lumx-generic-block", {
6761
6763
  block: Sg,
6762
6764
  element: za
6763
- } = B(Ag), Ri = {
6765
+ } = B(Ag), Mi = {
6764
6766
  gap: H.big,
6765
6767
  orientation: ct.horizontal
6766
6768
  }, Ng = (e) => {
@@ -6771,10 +6773,10 @@ const Ag = "lumx-generic-block", {
6771
6773
  children: o,
6772
6774
  actions: r,
6773
6775
  actionsProps: s,
6774
- gap: i = Ri.gap,
6776
+ gap: i = Mi.gap,
6775
6777
  ref: l,
6776
6778
  content: c,
6777
- orientation: d = Ri.orientation,
6779
+ orientation: d = Mi.orientation,
6778
6780
  contentProps: u,
6779
6781
  FlexBox: f,
6780
6782
  ...h
@@ -6805,7 +6807,7 @@ const Ag = "lumx-generic-block", {
6805
6807
  }, xg = /* @__PURE__ */ E((e, {
6806
6808
  slots: t
6807
6809
  }) => {
6808
- const n = D(), a = R(() => e.class);
6810
+ const n = D(), a = M(() => e.class);
6809
6811
  return () => {
6810
6812
  const o = t.figure?.(), r = t.default?.(), s = t.actions?.(), i = {
6811
6813
  verticalAlign: e.verticalAlign,
@@ -6839,10 +6841,10 @@ const Ag = "lumx-generic-block", {
6839
6841
  inheritAttrs: !1,
6840
6842
  props: $()("as", "orientation", "verticalAlign", "horizontalAlign", "gap", "fillSpace", "wrap", "marginAuto", "noShrink", "figureProps", "contentProps", "actionsProps", "class")
6841
6843
  });
6842
- var Va, Mi;
6844
+ var Va, Ri;
6843
6845
  function Nn() {
6844
- if (Mi) return Va;
6845
- Mi = 1;
6846
+ if (Ri) return Va;
6847
+ Ri = 1;
6846
6848
  var e = Tt(), t = cn(), n = "[object Symbol]";
6847
6849
  function a(o) {
6848
6850
  return typeof o == "symbol" || t(o) && e(o) == n;
@@ -7007,7 +7009,7 @@ function $g() {
7007
7009
  return oo = t, oo;
7008
7010
  }
7009
7011
  var ro, Zi;
7010
- function Rg() {
7012
+ function Mg() {
7011
7013
  if (Zi) return ro;
7012
7014
  Zi = 1;
7013
7015
  var e = Pn();
@@ -7018,10 +7020,10 @@ function Rg() {
7018
7020
  return ro = t, ro;
7019
7021
  }
7020
7022
  var so, Ji;
7021
- function Mg() {
7023
+ function Rg() {
7022
7024
  if (Ji) return so;
7023
7025
  Ji = 1;
7024
- var e = Ig(), t = Lg(), n = Eg(), a = $g(), o = Rg();
7026
+ var e = Ig(), t = Lg(), n = Eg(), a = $g(), o = Mg();
7025
7027
  function r(s) {
7026
7028
  var i = -1, l = s == null ? 0 : s.length;
7027
7029
  for (this.clear(); ++i < l; ) {
@@ -7035,7 +7037,7 @@ var io, Qi;
7035
7037
  function Dg() {
7036
7038
  if (Qi) return io;
7037
7039
  Qi = 1;
7038
- var e = _g(), t = Mg(), n = qc();
7040
+ var e = _g(), t = Rg(), n = qc();
7039
7041
  function a() {
7040
7042
  this.size = 0, this.__data__ = {
7041
7043
  hash: new e(),
@@ -7256,7 +7258,7 @@ function Zg() {
7256
7258
  return wo = o, wo;
7257
7259
  }
7258
7260
  var Co, gl;
7259
- function Ru() {
7261
+ function Mu() {
7260
7262
  if (gl) return Co;
7261
7263
  gl = 1;
7262
7264
  var e = 9007199254740991, t = /^(?:0|[1-9]\d*)$/;
@@ -7267,10 +7269,10 @@ function Ru() {
7267
7269
  return Co = n, Co;
7268
7270
  }
7269
7271
  var Oo, bl;
7270
- function Mu() {
7272
+ function Ru() {
7271
7273
  if (bl) return Oo;
7272
7274
  bl = 1;
7273
- var e = Zg(), t = Cn(), n = Ru(), a = sn(), o = jr();
7275
+ var e = Zg(), t = Cn(), n = Mu(), a = sn(), o = jr();
7274
7276
  function r(s, i, l, c) {
7275
7277
  if (!a(s))
7276
7278
  return s;
@@ -7293,7 +7295,7 @@ var ko, yl;
7293
7295
  function Jg() {
7294
7296
  if (yl) return ko;
7295
7297
  yl = 1;
7296
- var e = Xg(), t = Mu(), n = Cn();
7298
+ var e = Xg(), t = Ru(), n = Cn();
7297
7299
  function a(o, r, s) {
7298
7300
  for (var i = -1, l = r.length, c = {}; ++i < l; ) {
7299
7301
  var d = r[i], u = e(o, d);
@@ -7316,7 +7318,7 @@ var _o, Sl;
7316
7318
  function eb() {
7317
7319
  if (Sl) return _o;
7318
7320
  Sl = 1;
7319
- 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();
7320
7322
  function s(i, l, c) {
7321
7323
  l = e(l, i);
7322
7324
  for (var d = -1, u = l.length, f = !1; ++d < u; ) {
@@ -7372,9 +7374,9 @@ function ob() {
7372
7374
  }
7373
7375
  return $o = o, $o;
7374
7376
  }
7375
- var Ro, Cl;
7377
+ var Mo, Cl;
7376
7378
  function rb() {
7377
- if (Cl) return Ro;
7379
+ if (Cl) return Mo;
7378
7380
  Cl = 1;
7379
7381
  var e = ab(), t = ob();
7380
7382
  function n(a, o, r, s, i) {
@@ -7385,18 +7387,18 @@ function rb() {
7385
7387
  }
7386
7388
  return i;
7387
7389
  }
7388
- return Ro = n, Ro;
7390
+ return Mo = n, Mo;
7389
7391
  }
7390
- var Mo, Ol;
7392
+ var Ro, Ol;
7391
7393
  function sb() {
7392
- if (Ol) return Mo;
7394
+ if (Ol) return Ro;
7393
7395
  Ol = 1;
7394
7396
  var e = rb();
7395
7397
  function t(n) {
7396
7398
  var a = n == null ? 0 : n.length;
7397
7399
  return a ? e(n, 1) : [];
7398
7400
  }
7399
- return Mo = t, Mo;
7401
+ return Ro = t, Ro;
7400
7402
  }
7401
7403
  var Do, kl;
7402
7404
  function ib() {
@@ -7421,7 +7423,7 @@ var cb = lb();
7421
7423
  const ub = /* @__PURE__ */ Te(cb), NN = ub(H, ["tiny", "regular", "medium", "big", "huge"]), db = /* @__PURE__ */ E((e) => {
7422
7424
  const {
7423
7425
  handle: t
7424
- } = 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);
7425
7427
  return mt(t, (s) => {
7426
7428
  if (s)
7427
7429
  return yg(s, {
@@ -7508,7 +7510,7 @@ On.defaultProps = Fu;
7508
7510
  const xN = /* @__PURE__ */ E((e, {
7509
7511
  slots: t
7510
7512
  }) => {
7511
- const n = D(), a = R(() => e.class);
7513
+ const n = D(), a = M(() => e.class);
7512
7514
  return () => m(On, S(e, n, {
7513
7515
  className: a.value,
7514
7516
  children: t.default?.()
@@ -7539,7 +7541,7 @@ const xN = /* @__PURE__ */ E((e, {
7539
7541
  }, PN = /* @__PURE__ */ E((e, {
7540
7542
  slots: t
7541
7543
  }) => {
7542
- const n = D(), a = R(() => e.class);
7544
+ const n = D(), a = M(() => e.class);
7543
7545
  return () => m(gb, S(e, n, {
7544
7546
  className: a.value,
7545
7547
  badge: e.badge || t.badge?.(),
@@ -7624,7 +7626,7 @@ const xN = /* @__PURE__ */ E((e, {
7624
7626
  }, wN = /* @__PURE__ */ E((e, {
7625
7627
  emit: t
7626
7628
  }) => {
7627
- 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), {
7628
7630
  isAnyDisabled: l,
7629
7631
  disabledStateProps: c,
7630
7632
  otherProps: d
@@ -7687,27 +7689,27 @@ const xN = /* @__PURE__ */ E((e, {
7687
7689
  href: y,
7688
7690
  handleKeyDown: A,
7689
7691
  disabledStateProps: N,
7690
- isAnyDisabled: x,
7692
+ isAnyDisabled: P,
7691
7693
  keyDownProp: w = "onKeyDown",
7692
- tabIndexProp: P = "tabIndex",
7693
- ...O
7694
- } = 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) => {
7695
7697
  A?.(I), v && u && Hd(u)(I);
7696
7698
  }, j = {
7697
7699
  [w]: q,
7698
- [P]: k && !N.disabled ? 0 : void 0
7700
+ [k]: O && !N.disabled ? 0 : void 0
7699
7701
  };
7700
7702
  return (
7701
7703
  // eslint-disable-next-line jsx-a11y/no-static-element-interactions
7702
7704
  m("a", S({
7703
7705
  role: T ? "button" : void 0
7704
- }, j, O, {
7706
+ }, j, x, {
7705
7707
  href: N.disabled ? void 0 : y,
7706
7708
  ref: g,
7707
7709
  className: L(o, Nb({
7708
- "is-clickable": k,
7710
+ "is-clickable": O,
7709
7711
  [`color-${_}`]: !!_,
7710
- "is-disabled": x,
7712
+ "is-disabled": P,
7711
7713
  "has-after": !!t,
7712
7714
  "has-before": !!n,
7713
7715
  "is-highlighted": !!i,
@@ -7715,7 +7717,7 @@ const xN = /* @__PURE__ */ E((e, {
7715
7717
  [`size-${p}`]: !!p,
7716
7718
  "is-unselected": !l
7717
7719
  })),
7718
- "aria-disabled": k && x || void 0,
7720
+ "aria-disabled": O && P || void 0,
7719
7721
  onClick: v ? u : void 0
7720
7722
  }), [n && // eslint-disable-next-line jsx-a11y/click-events-have-key-events,jsx-a11y/no-static-element-interactions
7721
7723
  m("div", {
@@ -7741,7 +7743,7 @@ const xN = /* @__PURE__ */ E((e, {
7741
7743
  }, lr = /* @__PURE__ */ E((e, {
7742
7744
  emit: t
7743
7745
  }) => {
7744
- 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"), {
7745
7747
  isAnyDisabled: c,
7746
7748
  disabledStateProps: d,
7747
7749
  otherProps: u
@@ -7795,7 +7797,7 @@ const xN = /* @__PURE__ */ E((e, {
7795
7797
  }, kb = /* @__PURE__ */ E((e, {
7796
7798
  slots: t
7797
7799
  }) => {
7798
- const n = D(), a = R(() => e.class);
7800
+ const n = D(), a = M(() => e.class);
7799
7801
  return () => m(Ob, S(e, n, {
7800
7802
  className: a.value,
7801
7803
  children: t.default?.()
@@ -7840,19 +7842,19 @@ const _b = "lumx-selection-chip-group", {
7840
7842
  "aria-orientation": "horizontal",
7841
7843
  className: Ib([v])
7842
7844
  }), Tb(s = i.map((y) => {
7843
- 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;
7844
7846
  return m(r, {
7845
7847
  key: N,
7846
- label: w ? void 0 : O
7848
+ label: w ? void 0 : x
7847
7849
  }, {
7848
7850
  default: () => [m(t, S({
7849
- "aria-label": O
7850
- }, x, {
7851
+ "aria-label": x
7852
+ }, P, {
7851
7853
  size: "s",
7852
7854
  after: m(a, {
7853
7855
  icon: yr
7854
7856
  }, null),
7855
- className: Lb("chip", [x.className]),
7857
+ className: Lb("chip", [P.className]),
7856
7858
  "data-option-id": N,
7857
7859
  isClickable: !0,
7858
7860
  role: "option",
@@ -7864,7 +7866,7 @@ const _b = "lumx-selection-chip-group", {
7864
7866
  as: "span",
7865
7867
  truncate: !0
7866
7868
  }, {
7867
- default: () => [x.children || A]
7869
+ default: () => [P.children || A]
7868
7870
  })]
7869
7871
  })]
7870
7872
  });
@@ -7892,7 +7894,7 @@ function Ll(e, t) {
7892
7894
  const o = [...n];
7893
7895
  o.splice(a, 1), e.onChange(o);
7894
7896
  }
7895
- function Rb(e) {
7897
+ function Mb(e) {
7896
7898
  const t = e.getContainer();
7897
7899
  if (!t) return () => {
7898
7900
  };
@@ -7935,7 +7937,7 @@ function ju({
7935
7937
  ), s(() => l.abort());
7936
7938
  });
7937
7939
  }
7938
- const Hu = (e) => (t) => K(t) && t.type === e, Mb = {
7940
+ const Hu = (e) => (t) => K(t) && t.type === e, Rb = {
7939
7941
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
7940
7942
  change: (e) => !0
7941
7943
  }, Db = /* @__PURE__ */ E(
@@ -7944,9 +7946,9 @@ const Hu = (e) => (t) => K(t) && t.type === e, Mb = {
7944
7946
  emit: t,
7945
7947
  slots: n
7946
7948
  }) => {
7947
- 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;
7948
7950
  Xe((c) => {
7949
- const d = Rb({
7951
+ const d = Mb({
7950
7952
  getContainer: i,
7951
7953
  getInput: () => e.inputRef,
7952
7954
  onChange: (u) => t("change", u),
@@ -8005,7 +8007,7 @@ const Hu = (e) => (t) => K(t) && t.type === e, Mb = {
8005
8007
  name: "LumxSelectionChipGroup",
8006
8008
  inheritAttrs: !1,
8007
8009
  props: $()("getChipProps", "getOptionId", "getOptionName", "value", "label", "chipRemoveLabel", "isDisabled", "theme", "class", "inputRef"),
8008
- emits: Mb
8010
+ emits: Rb
8009
8011
  }
8010
8012
  ), Bb = "lumx-lightbox", {
8011
8013
  block: Fb,
@@ -8032,10 +8034,10 @@ const Hu = (e) => (t) => K(t) && t.type === e, Mb = {
8032
8034
  HeadingLevelProvider: y,
8033
8035
  ThemeProvider: A,
8034
8036
  ClickAwayProvider: N,
8035
- childrenRef: x,
8037
+ childrenRef: P,
8036
8038
  clickAwayRefs: w,
8037
- closeButtonRef: P,
8038
- IconButton: O,
8039
+ closeButtonRef: k,
8040
+ IconButton: x,
8039
8041
  ...T
8040
8042
  } = e;
8041
8043
  return !l && !p ? null : m(g, null, {
@@ -8057,8 +8059,8 @@ const Hu = (e) => (t) => K(t) && t.type === e, Mb = {
8057
8059
  }
8058
8060
  }), [i && m("div", {
8059
8061
  className: El("close")
8060
- }, [m(O, S(i, {
8061
- ref: P,
8062
+ }, [m(x, S(i, {
8063
+ ref: k,
8062
8064
  emphasis: "low",
8063
8065
  hasBackground: !0,
8064
8066
  icon: yr,
@@ -8076,7 +8078,7 @@ const Hu = (e) => (t) => K(t) && t.type === e, Mb = {
8076
8078
  childrenRefs: w
8077
8079
  }, {
8078
8080
  default: () => [m("div", {
8079
- ref: x,
8081
+ ref: P,
8080
8082
  className: El("wrapper"),
8081
8083
  role: "presentation"
8082
8084
  }, [r])]
@@ -8091,7 +8093,7 @@ const Hu = (e) => (t) => K(t) && t.type === e, Mb = {
8091
8093
  slots: n,
8092
8094
  attrs: a
8093
8095
  }) => {
8094
- 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");
8095
8097
  ln(i, C(() => !!(e.isOpen && !e.preventAutoClose)));
8096
8098
  const l = C(() => e.isOpen && r.value || !1);
8097
8099
  Cr(l, C(() => {
@@ -8141,7 +8143,7 @@ const Hu = (e) => (t) => K(t) && t.type === e, Mb = {
8141
8143
  }))
8142
8144
  }), null);
8143
8145
  }, ON = /* @__PURE__ */ E((e) => {
8144
- const t = D(), n = U(), a = R(() => e.class);
8146
+ const t = D(), n = U(), a = M(() => e.class);
8145
8147
  return () => m(Vb, S(t, e, {
8146
8148
  className: a.value,
8147
8149
  theme: e.theme || n.value
@@ -8174,7 +8176,7 @@ const Hu = (e) => (t) => K(t) && t.type === e, Mb = {
8174
8176
  }, kN = /* @__PURE__ */ E((e) => {
8175
8177
  const t = D(), n = U({
8176
8178
  defaultTheme: void 0
8177
- }), a = R(() => e.class);
8179
+ }), a = M(() => e.class);
8178
8180
  return () => m(Gb, S(t, e, {
8179
8181
  className: a.value,
8180
8182
  theme: e.theme || n.value
@@ -8210,12 +8212,12 @@ const Hu = (e) => (t) => K(t) && t.type === e, Mb = {
8210
8212
  isChildrenVisible: y,
8211
8213
  IconButton: A,
8212
8214
  footer: N,
8213
- closeMode: x,
8215
+ closeMode: P,
8214
8216
  ...w
8215
- } = e, P = (k) => {
8217
+ } = e, k = (O) => {
8216
8218
  const _ = !s;
8217
- c && _ && c(k), l && !_ && l(k), d && d(_, k);
8218
- }, 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({
8219
8221
  "has-background": a,
8220
8222
  "has-header": !Kt(h.children),
8221
8223
  "has-header-divider": r,
@@ -8230,7 +8232,7 @@ const Hu = (e) => (t) => K(t) && t.type === e, Mb = {
8230
8232
  className: T
8231
8233
  }), [m("header", {
8232
8234
  className: we("header"),
8233
- onClick: P
8235
+ onClick: k
8234
8236
  }, [p && m("div", {
8235
8237
  className: we("header-drag")
8236
8238
  }, [p]), m("div", S(h, {
@@ -8238,7 +8240,7 @@ const Hu = (e) => (t) => K(t) && t.type === e, Mb = {
8238
8240
  }), [v]), m("div", {
8239
8241
  className: we("header-toggle")
8240
8242
  }, [m(A, S(f, {
8241
- color: O,
8243
+ color: x,
8242
8244
  emphasis: ge.low,
8243
8245
  icon: s ? dc : fc,
8244
8246
  "aria-expanded": s || "false"
@@ -8261,7 +8263,7 @@ const Hu = (e) => (t) => K(t) && t.type === e, Mb = {
8261
8263
  emit: t,
8262
8264
  slots: n
8263
8265
  }) => {
8264
- 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);
8265
8267
  X(() => e.isOpen, (h) => {
8266
8268
  l.value = h, h || e.closeMode === "hide" ? i.value = !0 : Yr || (i.value = !1);
8267
8269
  }, {
@@ -8355,7 +8357,7 @@ const ey = "lumx-flag", {
8355
8357
  }, _N = /* @__PURE__ */ E((e, {
8356
8358
  slots: t
8357
8359
  }) => {
8358
- const n = D(), a = U(), o = R(() => e.class);
8360
+ const n = D(), a = U(), o = M(() => e.class);
8359
8361
  return () => m(ny, S(e, n, {
8360
8362
  className: o.value,
8361
8363
  theme: e.theme || a.value,
@@ -8368,10 +8370,10 @@ const ey = "lumx-flag", {
8368
8370
  // Redefine properties so that they come in as `props` on the `defineComponent` function
8369
8371
  props: $()("color", "icon", "truncate", "theme", "class")
8370
8372
  });
8371
- var qo, Rl;
8373
+ var qo, Ml;
8372
8374
  function ay() {
8373
- if (Rl) return qo;
8374
- Rl = 1;
8375
+ if (Ml) return qo;
8376
+ Ml = 1;
8375
8377
  var e = /\s/;
8376
8378
  function t(n) {
8377
8379
  for (var a = n.length; a-- && e.test(n.charAt(a)); )
@@ -8380,10 +8382,10 @@ function ay() {
8380
8382
  }
8381
8383
  return qo = t, qo;
8382
8384
  }
8383
- var jo, Ml;
8385
+ var jo, Rl;
8384
8386
  function oy() {
8385
- if (Ml) return jo;
8386
- Ml = 1;
8387
+ if (Rl) return jo;
8388
+ Rl = 1;
8387
8389
  var e = ay(), t = /^\s+/;
8388
8390
  function n(a) {
8389
8391
  return a && a.slice(0, e(a) + 1).replace(t, "");
@@ -8485,7 +8487,7 @@ kn.defaultProps = fy;
8485
8487
  const IN = /* @__PURE__ */ E((e, {
8486
8488
  slots: t
8487
8489
  }) => {
8488
- const n = D(), a = R(() => e.class);
8490
+ const n = D(), a = M(() => e.class);
8489
8491
  return () => m(kn, S(e, n, {
8490
8492
  className: a.value,
8491
8493
  children: t.default?.()
@@ -8505,7 +8507,7 @@ const IN = /* @__PURE__ */ E((e, {
8505
8507
  }, LN = /* @__PURE__ */ E((e, {
8506
8508
  slots: t
8507
8509
  }) => {
8508
- const n = D(), a = Pc(), o = R(() => e.class), r = C(() => {
8510
+ const n = D(), a = Pc(), o = M(() => e.class), r = C(() => {
8509
8511
  const {
8510
8512
  className: s,
8511
8513
  ...i
@@ -8530,7 +8532,7 @@ const IN = /* @__PURE__ */ E((e, {
8530
8532
  }), EN = /* @__PURE__ */ E((e, {
8531
8533
  slots: t
8532
8534
  }) => {
8533
- const n = D(), a = U(), o = R(() => e.class);
8535
+ const n = D(), a = U(), o = M(() => e.class);
8534
8536
  return () => m(Oe, S(e, n, {
8535
8537
  className: o.value,
8536
8538
  theme: e.theme || a.value,
@@ -8544,7 +8546,7 @@ const IN = /* @__PURE__ */ E((e, {
8544
8546
  }), $N = /* @__PURE__ */ E((e, {
8545
8547
  slots: t
8546
8548
  }) => {
8547
- const n = D(), a = U(), o = R(() => e.class);
8549
+ const n = D(), a = U(), o = M(() => e.class);
8548
8550
  return () => m(Ve, S(e, n, {
8549
8551
  className: o.value,
8550
8552
  theme: e.theme || a.value,
@@ -8590,7 +8592,7 @@ const IN = /* @__PURE__ */ E((e, {
8590
8592
  } = fe.bem(Wu), Hr = /* @__PURE__ */ E((e, {
8591
8593
  emit: t
8592
8594
  }) => {
8593
- const n = ke(), a = D(), o = R(() => e.class), {
8595
+ const n = ke(), a = D(), o = M(() => e.class), {
8594
8596
  isAnyDisabled: r,
8595
8597
  disabledStateProps: s,
8596
8598
  otherProps: i
@@ -8698,8 +8700,8 @@ const yy = "lumx-link-preview", {
8698
8700
  }), jl(a) ? a : {
8699
8701
  default: () => [a]
8700
8702
  })])])])]);
8701
- }, RN = /* @__PURE__ */ E((e) => {
8702
- const t = D(), n = U(), a = R(() => e.class);
8703
+ }, MN = /* @__PURE__ */ E((e) => {
8704
+ const t = D(), n = U(), a = M(() => e.class);
8703
8705
  return () => {
8704
8706
  const {
8705
8707
  titleHeading: o = Uu.titleHeading,
@@ -8767,14 +8769,14 @@ function vt() {
8767
8769
  function Oy(e) {
8768
8770
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !K(e);
8769
8771
  }
8770
- const MN = /* @__PURE__ */ E((e, {
8772
+ const RN = /* @__PURE__ */ E((e, {
8771
8773
  slots: t,
8772
8774
  emit: n,
8773
8775
  attrs: a
8774
8776
  }) => {
8775
8777
  const {
8776
8778
  handle: o
8777
- } = vt(), r = R(() => e.class), s = M(null), i = (l) => {
8779
+ } = vt(), r = M(() => e.class), s = R(null), i = (l) => {
8778
8780
  if (e.isDisabled) {
8779
8781
  l.preventDefault();
8780
8782
  return;
@@ -8867,8 +8869,8 @@ function Iy(e) {
8867
8869
  return Array.from(e.querySelectorAll(cr));
8868
8870
  }
8869
8871
  function Ly(e) {
8870
- const t = Array.from(document.querySelectorAll(Rc)).filter(
8871
- (o) => !o.matches(Mc) && o.tabIndex >= 0
8872
+ const t = Array.from(document.querySelectorAll(Mc)).filter(
8873
+ (o) => !o.matches(Rc) && o.tabIndex >= 0
8872
8874
  ), n = t.indexOf(e);
8873
8875
  if (n === -1) return;
8874
8876
  t[n + 1]?.focus();
@@ -9022,7 +9024,7 @@ function Ey(e = {}) {
9022
9024
  const $y = /* @__PURE__ */ E((e, {
9023
9025
  emit: t
9024
9026
  }) => {
9025
- 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({
9026
9028
  menuId: a
9027
9029
  });
9028
9030
  return Ke(() => {
@@ -9051,10 +9053,10 @@ const $y = /* @__PURE__ */ E((e, {
9051
9053
  },
9052
9054
  emits: ["open"]
9053
9055
  });
9054
- function Ry(e) {
9056
+ function My(e) {
9055
9057
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !K(e);
9056
9058
  }
9057
- const My = "lumx-menu-trigger", Dy = (e, {
9059
+ const Ry = "lumx-menu-trigger", Dy = (e, {
9058
9060
  Trigger: t
9059
9061
  }) => {
9060
9062
  const {
@@ -9068,16 +9070,16 @@ const My = "lumx-menu-trigger", Dy = (e, {
9068
9070
  return m(t, S({
9069
9071
  ref: s
9070
9072
  }, i, {
9071
- className: L(a, My),
9073
+ className: L(a, Ry),
9072
9074
  "aria-haspopup": "true",
9073
9075
  "aria-controls": o,
9074
9076
  "aria-expanded": r ? "true" : "false"
9075
- }), Ry(n) ? n : {
9077
+ }), My(n) ? n : {
9076
9078
  default: () => [n]
9077
9079
  });
9078
9080
  };
9079
9081
  function By(e, t) {
9080
- const { handle: n } = vt(), a = M(t);
9082
+ const { handle: n } = vt(), a = R(t);
9081
9083
  let o;
9082
9084
  return Ke(() => {
9083
9085
  o = n.subscribe(e, (r) => {
@@ -9098,7 +9100,7 @@ const Fy = /* @__PURE__ */ E((e, {
9098
9100
  triggerId: o,
9099
9101
  anchorRef: r,
9100
9102
  handle: s
9101
- } = vt(), [i] = zr(), l = R(() => e.class), c = M(null);
9103
+ } = vt(), [i] = zr(), l = M(() => e.class), c = R(null);
9102
9104
  return Xe((d) => {
9103
9105
  const u = c.value?.$el ?? c.value;
9104
9106
  if (!u) return;
@@ -9214,7 +9216,7 @@ const jy = "lumx-menu-popover", {
9214
9216
  menuId: n,
9215
9217
  triggerId: a,
9216
9218
  handle: o
9217
- } = vt(), [r] = zr(), s = R(() => e.class), i = M(null);
9219
+ } = vt(), [r] = zr(), s = M(() => e.class), i = R(null);
9218
9220
  return Ke(() => {
9219
9221
  const l = i.value;
9220
9222
  if (!l) return;
@@ -9243,7 +9245,7 @@ const jy = "lumx-menu-popover", {
9243
9245
  slots: n,
9244
9246
  attrs: a
9245
9247
  }) => {
9246
- const o = R(() => e.class), r = (s) => t("open", s);
9248
+ const o = M(() => e.class), r = (s) => t("open", s);
9247
9249
  return () => {
9248
9250
  const {
9249
9251
  variant: s = ky.variant,
@@ -9339,7 +9341,7 @@ const BN = /* @__PURE__ */ E((e, {
9339
9341
  }) => {
9340
9342
  const a = D(), {
9341
9343
  closeButtonLabel: o
9342
- } = e, r = R(() => e.class);
9344
+ } = e, r = M(() => e.class);
9343
9345
  return () => m(Vr, S(e, a, {
9344
9346
  className: r.value,
9345
9347
  children: t.default?.(),
@@ -9435,7 +9437,7 @@ const nA = /* @__PURE__ */ Te(tA), aA = "lumx-mosaic", {
9435
9437
  }, FN = /* @__PURE__ */ E((e, {
9436
9438
  emit: t
9437
9439
  }) => {
9438
- 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) => {
9439
9441
  t("handleClick", i);
9440
9442
  };
9441
9443
  return () => m(rA, S(n, {
@@ -9456,7 +9458,7 @@ const nA = /* @__PURE__ */ Te(tA), aA = "lumx-mosaic", {
9456
9458
  emit: t,
9457
9459
  slots: n
9458
9460
  }) => {
9459
- 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");
9460
9462
  return () => {
9461
9463
  const {
9462
9464
  label: i,
@@ -9509,7 +9511,7 @@ const nA = /* @__PURE__ */ Te(tA), aA = "lumx-mosaic", {
9509
9511
  className: Wl("line2")
9510
9512
  }, null)]);
9511
9513
  }, jN = /* @__PURE__ */ E((e) => {
9512
- const t = D(), n = U(), a = R(() => e.class);
9514
+ const t = D(), n = U(), a = M(() => e.class);
9513
9515
  return () => m(fA, S(e, t, {
9514
9516
  className: a.value,
9515
9517
  theme: e.theme || n.value
@@ -9589,7 +9591,7 @@ const nA = /* @__PURE__ */ Te(tA), aA = "lumx-mosaic", {
9589
9591
  }, HN = /* @__PURE__ */ E((e, {
9590
9592
  emit: t
9591
9593
  }) => {
9592
- 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), {
9593
9595
  isAnyDisabled: i,
9594
9596
  disabledStateProps: l,
9595
9597
  otherProps: c
@@ -9637,7 +9639,7 @@ Tn.defaultProps = bA;
9637
9639
  const zN = /* @__PURE__ */ E((e, {
9638
9640
  slots: t
9639
9641
  }) => {
9640
- const n = D(), a = R(() => e.class);
9642
+ const n = D(), a = M(() => e.class);
9641
9643
  return () => m(Tn, S(e, n, {
9642
9644
  className: a.value,
9643
9645
  children: t.default?.()
@@ -9702,7 +9704,7 @@ const zN = /* @__PURE__ */ E((e, {
9702
9704
  className: wA("inner")
9703
9705
  }, null)]);
9704
9706
  }, VN = /* @__PURE__ */ E((e) => {
9705
- const t = D(), n = U(), a = R(() => e.class);
9707
+ const t = D(), n = U(), a = M(() => e.class);
9706
9708
  return () => m(SA, S(e, t, {
9707
9709
  className: a.value,
9708
9710
  theme: e.theme || n.value
@@ -9712,7 +9714,7 @@ const zN = /* @__PURE__ */ E((e, {
9712
9714
  inheritAttrs: !1,
9713
9715
  props: $()("class", "size", "color", "theme")
9714
9716
  }), WN = /* @__PURE__ */ E((e) => {
9715
- const t = D(), n = U(), a = R(() => e.class);
9717
+ const t = D(), n = U(), a = M(() => e.class);
9716
9718
  return () => m(OA, S(e, t, {
9717
9719
  className: a.value,
9718
9720
  theme: e.theme || n.value
@@ -9722,7 +9724,7 @@ const zN = /* @__PURE__ */ E((e, {
9722
9724
  inheritAttrs: !1,
9723
9725
  props: $()("class", "aspectRatio", "height", "variant", "width", "color", "theme")
9724
9726
  }), UN = /* @__PURE__ */ E((e) => {
9725
- const t = D(), n = U(), a = R(() => e.class);
9727
+ const t = D(), n = U(), a = M(() => e.class);
9726
9728
  return () => m(ir, S(e, t, {
9727
9729
  className: a.value,
9728
9730
  theme: e.theme || n.value
@@ -9809,7 +9811,7 @@ const zN = /* @__PURE__ */ E((e, {
9809
9811
  emit: t,
9810
9812
  slots: n
9811
9813
  }) => {
9812
- 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), {
9813
9815
  isAnyDisabled: l,
9814
9816
  disabledStateProps: c,
9815
9817
  otherProps: d
@@ -9849,7 +9851,7 @@ const zN = /* @__PURE__ */ E((e, {
9849
9851
  aspectRatio: dt.horizontal,
9850
9852
  size: H.xl,
9851
9853
  variant: Yu.square
9852
- }, RA = (e) => {
9854
+ }, MA = (e) => {
9853
9855
  const {
9854
9856
  aspectRatio: t = Yo.aspectRatio,
9855
9857
  className: n,
@@ -9899,13 +9901,13 @@ const zN = /* @__PURE__ */ E((e, {
9899
9901
  onChange: h
9900
9902
  }), null)]
9901
9903
  });
9902
- }, MA = {
9904
+ }, RA = {
9903
9905
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
9904
9906
  change: (e, t) => !0
9905
9907
  }, KN = /* @__PURE__ */ E((e, {
9906
9908
  emit: t
9907
9909
  }) => {
9908
- 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), {
9909
9911
  isAnyDisabled: l,
9910
9912
  disabledStateProps: c,
9911
9913
  otherProps: d
@@ -9932,7 +9934,7 @@ const zN = /* @__PURE__ */ E((e, {
9932
9934
  theme: g,
9933
9935
  ...y
9934
9936
  } = d.value;
9935
- return m(RA, S(y, {
9937
+ return m(MA, S(y, {
9936
9938
  className: o.value,
9937
9939
  theme: e.theme || a.value,
9938
9940
  inputId: s.value,
@@ -9966,7 +9968,7 @@ const zN = /* @__PURE__ */ E((e, {
9966
9968
  name: "LumxUploader",
9967
9969
  inheritAttrs: !1,
9968
9970
  props: $()("class", "theme", "aspectRatio", "icon", "label", "size", "variant", "isDisabled", "disabled", "aria-disabled", "fileInputProps"),
9969
- emits: MA
9971
+ emits: RA
9970
9972
  }), DA = {
9971
9973
  below: "below",
9972
9974
  over: "over"
@@ -10127,7 +10129,7 @@ const qA = (e) => {
10127
10129
  }), XN = /* @__PURE__ */ E((e, {
10128
10130
  slots: t
10129
10131
  }) => {
10130
- const n = D(), a = U(), o = R(() => e.class);
10132
+ const n = D(), a = U(), o = M(() => e.class);
10131
10133
  return () => {
10132
10134
  const {
10133
10135
  class: r,
@@ -10191,7 +10193,7 @@ _n.defaultProps = VA;
10191
10193
  const YN = /* @__PURE__ */ E((e, {
10192
10194
  slots: t
10193
10195
  }) => {
10194
- const n = D(), a = R(() => e.class);
10196
+ const n = D(), a = M(() => e.class);
10195
10197
  return () => m(_n, S(e, n, {
10196
10198
  className: a.value,
10197
10199
  items: t.default?.()
@@ -10200,9 +10202,9 @@ const YN = /* @__PURE__ */ E((e, {
10200
10202
  name: "LumxInlineList",
10201
10203
  inheritAttrs: !1,
10202
10204
  props: $()("color", "colorVariant", "typography", "wrap", "class")
10203
- }), Rt = "lumx-table", {
10205
+ }), Mt = "lumx-table", {
10204
10206
  block: WA
10205
- } = B(Rt), UA = (e) => {
10207
+ } = B(Mt), UA = (e) => {
10206
10208
  const {
10207
10209
  children: t,
10208
10210
  className: n,
@@ -10224,7 +10226,7 @@ const YN = /* @__PURE__ */ E((e, {
10224
10226
  }, ZN = /* @__PURE__ */ E((e, {
10225
10227
  slots: t
10226
10228
  }) => {
10227
- const n = D(), a = U(), o = R(() => e.class);
10229
+ const n = D(), a = U(), o = M(() => e.class);
10228
10230
  return () => m(UA, S(e, n, {
10229
10231
  className: o.value,
10230
10232
  theme: e.theme || a.value,
@@ -10234,7 +10236,7 @@ const YN = /* @__PURE__ */ E((e, {
10234
10236
  name: "LumxTable",
10235
10237
  inheritAttrs: !1,
10236
10238
  props: $()("class", "hasBefore", "hasDividers", "theme")
10237
- }), GA = `${Rt}__body`, KA = (e) => {
10239
+ }), GA = `${Mt}__body`, KA = (e) => {
10238
10240
  const {
10239
10241
  children: t,
10240
10242
  className: n,
@@ -10249,7 +10251,7 @@ const YN = /* @__PURE__ */ E((e, {
10249
10251
  }, JN = /* @__PURE__ */ E((e, {
10250
10252
  slots: t
10251
10253
  }) => {
10252
- const n = D(), a = R(() => e.class);
10254
+ const n = D(), a = M(() => e.class);
10253
10255
  return () => m(KA, S(e, n, {
10254
10256
  className: a.value,
10255
10257
  children: t.default?.()
@@ -10264,7 +10266,7 @@ const YN = /* @__PURE__ */ E((e, {
10264
10266
  }, ur = {
10265
10267
  body: "body",
10266
10268
  head: "head"
10267
- }, Ue = `${Rt}__cell`, {
10269
+ }, Ue = `${Mt}__cell`, {
10268
10270
  block: Xl
10269
10271
  } = B(Ue), XA = {
10270
10272
  variant: ur.body
@@ -10327,7 +10329,7 @@ const YN = /* @__PURE__ */ E((e, {
10327
10329
  slots: n,
10328
10330
  attrs: a
10329
10331
  }) => {
10330
- const o = R(() => e.class), r = () => {
10332
+ const o = M(() => e.class), r = () => {
10331
10333
  t("headerClick");
10332
10334
  }, s = oe("onHeaderClick");
10333
10335
  return () => m(YA, S(e, a, {
@@ -10340,7 +10342,7 @@ const YN = /* @__PURE__ */ E((e, {
10340
10342
  inheritAttrs: !1,
10341
10343
  props: $()("class", "icon", "isSortable", "sortOrder", "variant"),
10342
10344
  emits: ZA
10343
- }), JA = `${Rt}__header`, QA = (e) => {
10345
+ }), JA = `${Mt}__header`, QA = (e) => {
10344
10346
  const {
10345
10347
  children: t,
10346
10348
  className: n,
@@ -10355,7 +10357,7 @@ const YN = /* @__PURE__ */ E((e, {
10355
10357
  }, ex = /* @__PURE__ */ E((e, {
10356
10358
  slots: t
10357
10359
  }) => {
10358
- const n = D(), a = R(() => e.class);
10360
+ const n = D(), a = M(() => e.class);
10359
10361
  return () => m(QA, S(e, n, {
10360
10362
  className: a.value,
10361
10363
  children: t.default?.()
@@ -10364,7 +10366,7 @@ const YN = /* @__PURE__ */ E((e, {
10364
10366
  name: "LumxTableHeader",
10365
10367
  inheritAttrs: !1,
10366
10368
  props: $()("class")
10367
- }), eS = `${Rt}__row`, {
10369
+ }), eS = `${Mt}__row`, {
10368
10370
  block: tS
10369
10371
  } = B(eS), nS = (e) => {
10370
10372
  const {
@@ -10392,7 +10394,7 @@ const YN = /* @__PURE__ */ E((e, {
10392
10394
  }, tx = /* @__PURE__ */ E((e, {
10393
10395
  slots: t
10394
10396
  }) => {
10395
- const n = D(), a = R(() => e.class), {
10397
+ const n = D(), a = M(() => e.class), {
10396
10398
  isAnyDisabled: o,
10397
10399
  otherProps: r
10398
10400
  } = te(C(() => ({
@@ -10437,17 +10439,17 @@ const oS = `${Qu}__link`, {
10437
10439
  Icon: y,
10438
10440
  Text: A,
10439
10441
  ref: N,
10440
- ...x
10442
+ ...P
10441
10443
  } = e, w = () => {
10442
10444
  o || v?.();
10443
- }, P = (T) => {
10445
+ }, k = (T) => {
10444
10446
  c?.(T), b && w();
10445
- }, O = (T) => {
10447
+ }, x = (T) => {
10446
10448
  d?.(T), !(T.key !== "Enter" || o) && w();
10447
10449
  };
10448
10450
  return m("button", S({
10449
10451
  ref: N
10450
- }, x, {
10452
+ }, P, {
10451
10453
  type: "button",
10452
10454
  id: g,
10453
10455
  className: L(t, rS({
@@ -10456,9 +10458,9 @@ const oS = `${Qu}__link`, {
10456
10458
  })),
10457
10459
  onClick: w
10458
10460
  }, {
10459
- [h]: O
10461
+ [h]: x
10460
10462
  }, {
10461
- onFocus: P,
10463
+ onFocus: k,
10462
10464
  role: "tab"
10463
10465
  }, {
10464
10466
  [f]: i ? 0 : u
@@ -10531,7 +10533,7 @@ const oS = `${Qu}__link`, {
10531
10533
  }, nx = /* @__PURE__ */ E((e, {
10532
10534
  emit: t
10533
10535
  }) => {
10534
- const n = D(), a = R(() => e.class), {
10536
+ const n = D(), a = M(() => e.class), {
10535
10537
  isAnyDisabled: o
10536
10538
  } = te(C(() => ({
10537
10539
  ...e,
@@ -10597,7 +10599,7 @@ const Yl = {
10597
10599
  "aria-label": t
10598
10600
  }, [n])]);
10599
10601
  }, ax = /* @__PURE__ */ E((e) => {
10600
- 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);
10601
10603
  return ju({
10602
10604
  containerRef: r,
10603
10605
  itemSelector: '[role="tab"]'
@@ -10642,7 +10644,7 @@ const Yl = {
10642
10644
  "aria-labelledby": r
10643
10645
  }), [(!s || a) && t]);
10644
10646
  }, ox = /* @__PURE__ */ E((e) => {
10645
- 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);
10646
10648
  return () => m(pS, S(t, {
10647
10649
  className: a.value,
10648
10650
  isActive: r.value,
@@ -10665,7 +10667,7 @@ const Yl = {
10665
10667
  emit: t,
10666
10668
  slots: n
10667
10669
  }) => {
10668
- const a = M({
10670
+ const a = R({
10669
10671
  ...xt,
10670
10672
  isLazy: e.isLazy ?? xt.isLazy,
10671
10673
  shouldActivateOnFocus: e.shouldActivateOnFocus ?? xt.shouldActivateOnFocus,
@@ -10711,7 +10713,7 @@ var Jo, Jl;
10711
10713
  function gS() {
10712
10714
  if (Jl) return Jo;
10713
10715
  Jl = 1;
10714
- var e = Mu();
10716
+ var e = Ru();
10715
10717
  function t(n, a, o) {
10716
10718
  return n == null ? n : e(n, a, o);
10717
10719
  }
@@ -10757,14 +10759,14 @@ const SS = "lumx-user-block", {
10757
10759
  theme: y,
10758
10760
  children: A,
10759
10761
  additionalFields: N,
10760
- after: x,
10762
+ after: P,
10761
10763
  Text: w,
10762
- Avatar: P,
10763
- ...O
10764
+ Avatar: k,
10765
+ ...x
10764
10766
  } = e;
10765
10767
  let T = g;
10766
10768
  p === ct.vertical && (T = H.l);
10767
- const k = p === ct.vertical, _ = dr({
10769
+ const O = p === ct.vertical, _ = dr({
10768
10770
  handleClick: f,
10769
10771
  linkAs: r,
10770
10772
  linkProps: o
@@ -10786,14 +10788,14 @@ const SS = "lumx-user-block", {
10786
10788
  };
10787
10789
  return m("div", S({
10788
10790
  ref: s
10789
- }, O, I, {
10791
+ }, x, I, {
10790
10792
  className: L(n, NS({
10791
10793
  [`orientation-${p}`]: !!p,
10792
10794
  [`size-${T}`]: !!T,
10793
10795
  [`theme-${y}`]: !!y,
10794
10796
  "is-clickable": _
10795
10797
  }))
10796
- }), [t && m(P, S({
10798
+ }), [t && m(k, S({
10797
10799
  linkAs: r,
10798
10800
  linkProps: o,
10799
10801
  alt: ""
@@ -10804,13 +10806,13 @@ const SS = "lumx-user-block", {
10804
10806
  theme: y
10805
10807
  }), null), (a || d || A || N) && m("div", {
10806
10808
  className: $e("wrapper")
10807
- }, [A, j, q ? N : null]), k && b && m("div", {
10809
+ }, [A, j, q ? N : null]), O && b && m("div", {
10808
10810
  className: $e("action")
10809
- }, [b]), k && i && m("div", {
10811
+ }, [b]), O && i && m("div", {
10810
10812
  className: $e("actions")
10811
- }, [i]), x ? m("div", {
10813
+ }, [i]), P ? m("div", {
10812
10814
  className: $e("after")
10813
- }, [x]) : null]);
10815
+ }, [P]) : null]);
10814
10816
  };
10815
10817
  function PS(e) {
10816
10818
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !K(e);
@@ -10823,7 +10825,7 @@ const wS = {
10823
10825
  emit: t,
10824
10826
  slots: n
10825
10827
  }) => {
10826
- const a = D(), o = U(), r = R(() => e.class), s = () => {
10828
+ const a = D(), o = U(), r = M(() => e.class), s = () => {
10827
10829
  t("click");
10828
10830
  }, i = () => {
10829
10831
  t("mouseenter");
@@ -11012,9 +11014,9 @@ const OS = "SelectButton", kS = "lumx-select-button", TS = {
11012
11014
  listStatus: y = "idle",
11013
11015
  translations: A,
11014
11016
  onOpen: N,
11015
- onLoadMore: x,
11017
+ onLoadMore: P,
11016
11018
  infiniteScrollOptions: w
11017
- } = 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(", ") : "";
11018
11020
  return m(t.Provider, {
11019
11021
  onOpen: N
11020
11022
  }, {
@@ -11030,9 +11032,9 @@ const OS = "SelectButton", kS = "lumx-select-button", TS = {
11030
11032
  }, p), {
11031
11033
  default: () => [m(t.List, S(b, {
11032
11034
  "aria-label": f,
11033
- "aria-multiselectable": k || void 0
11035
+ "aria-multiselectable": O || void 0
11034
11036
  }), {
11035
- default: () => [P ? m(t.OptionSkeleton, {
11037
+ default: () => [k ? m(t.OptionSkeleton, {
11036
11038
  count: 3
11037
11039
  }, null) : Wr({
11038
11040
  options: a,
@@ -11045,12 +11047,12 @@ const OS = "SelectButton", kS = "lumx-select-button", TS = {
11045
11047
  selected: d
11046
11048
  }, {
11047
11049
  Combobox: t
11048
- }), x && n && m(n, {
11050
+ }), P && n && m(n, {
11049
11051
  callback: () => {
11050
- y && y !== "idle" || x();
11052
+ y && y !== "idle" || P();
11051
11053
  },
11052
11054
  options: w
11053
- }, null), O && m(t.OptionSkeleton, {
11055
+ }, null), x && m(t.OptionSkeleton, {
11054
11056
  count: 1
11055
11057
  }, null)]
11056
11058
  }), m(t.State, {
@@ -11134,7 +11136,7 @@ const LS = {
11134
11136
  slots: n,
11135
11137
  attrs: a
11136
11138
  }) => {
11137
- const o = M(null), r = R(() => e.class), {
11139
+ const o = R(null), r = M(() => e.class), {
11138
11140
  disabledStateProps: s
11139
11141
  } = te(C(() => ({
11140
11142
  ...e,
@@ -11230,12 +11232,12 @@ const LS = {
11230
11232
  emptyMessage: y,
11231
11233
  nbOptionMessage: A,
11232
11234
  errorMessage: N,
11233
- errorTryReloadMessage: x,
11235
+ errorTryReloadMessage: P,
11234
11236
  onOpen: w,
11235
- chips: P,
11236
- beforeOptions: O,
11237
+ chips: k,
11238
+ beforeOptions: x,
11237
11239
  afterOptions: T,
11238
- onLoadMore: k,
11240
+ onLoadMore: O,
11239
11241
  infiniteScrollOptions: _
11240
11242
  } = e, q = b === "loading", j = b === "loadingMore", I = b === "error";
11241
11243
  return m(t.Provider, {
@@ -11244,7 +11246,8 @@ const LS = {
11244
11246
  default: () => [m(t.Input, S({
11245
11247
  label: u
11246
11248
  }, h, {
11247
- chips: P
11249
+ selectionMode: "keep",
11250
+ chips: k
11248
11251
  }), null), m(t.Popover, S({
11249
11252
  fitToAnchorWidth: "minWidth",
11250
11253
  fitWithinViewportHeight: !0,
@@ -11254,7 +11257,7 @@ const LS = {
11254
11257
  "aria-label": u,
11255
11258
  "aria-multiselectable": f || void 0
11256
11259
  }), {
11257
- default: () => [O, q ? m(t.OptionSkeleton, {
11260
+ default: () => [x, q ? m(t.OptionSkeleton, {
11258
11261
  count: 3
11259
11262
  }, null) : Wr({
11260
11263
  options: a,
@@ -11267,9 +11270,9 @@ const LS = {
11267
11270
  selected: d
11268
11271
  }, {
11269
11272
  Combobox: t
11270
- }), T, k && n && m(n, {
11273
+ }), T, O && n && m(n, {
11271
11274
  callback: () => {
11272
- b && b !== "idle" || k();
11275
+ b && b !== "idle" || O();
11273
11276
  },
11274
11277
  options: _
11275
11278
  }, null), j && m(t.OptionSkeleton, {
@@ -11280,14 +11283,14 @@ const LS = {
11280
11283
  emptyMessage: y,
11281
11284
  nbOptionMessage: A,
11282
11285
  errorMessage: I ? N : void 0,
11283
- errorTryReloadMessage: I ? x : void 0
11286
+ errorTryReloadMessage: I ? P : void 0
11284
11287
  }, null)]
11285
11288
  })]
11286
11289
  });
11287
11290
  };
11288
11291
  Gr.displayName = ES;
11289
11292
  Gr.className = $S;
11290
- const RS = {
11293
+ const MS = {
11291
11294
  /**
11292
11295
  * Selection change. Payload type depends on `selectionType`:
11293
11296
  * - `'single'` → `O | undefined` (option on select, `undefined` on clear).
@@ -11312,33 +11315,33 @@ const RS = {
11312
11315
  clear: (e) => !0,
11313
11316
  /** Dropdown opened or closed. */
11314
11317
  open: (e) => !0
11315
- }, MS = /* @__PURE__ */ E((e, {
11318
+ }, RS = /* @__PURE__ */ E((e, {
11316
11319
  emit: t,
11317
11320
  slots: n,
11318
11321
  attrs: a
11319
11322
  }) => {
11320
- const o = C(() => e.selectionType === "multiple"), r = R(() => e.class), {
11323
+ const o = C(() => e.selectionType === "multiple"), r = M(() => e.class), {
11321
11324
  isAnyDisabled: s,
11322
11325
  disabledStateProps: i
11323
11326
  } = te(C(() => ({
11324
11327
  ...e,
11325
11328
  ...a
11326
- }))), l = M(!!e.searchInputValue), c = M(e.searchInputValue ?? ""), d = M(null), u = M(null);
11327
- X(() => e.searchInputValue, (x) => {
11328
- 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);
11329
11332
  });
11330
- const f = C(() => e.selectionType === "multiple" || l.value ? c.value : ad(e.value, e.getOptionName, e.getOptionId)), h = (x) => {
11331
- 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");
11332
11335
  t("change", w), l.value = !1, c.value = "", t("search", "");
11333
- }, v = (x) => {
11334
- l.value = !0, c.value = x, t("search", x), !o.value && x === "" && e.value !== void 0 && e.value !== null && t("change", void 0);
11335
- }, p = (x) => {
11336
- t("change", void 0), l.value = !1, c.value = "", t("search", ""), t("clear", x);
11337
- }, b = (x) => {
11338
- 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);
11339
11342
  }, g = od(n.option), y = rd(n.sectionTitle), A = oe("onLoadMore") || oe("onLoad-more"), N = () => t("load-more");
11340
11343
  return () => {
11341
- 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, {
11342
11345
  value: e.value,
11343
11346
  theme: e.theme,
11344
11347
  getOptionId: e.getOptionId,
@@ -11350,7 +11353,7 @@ const RS = {
11350
11353
  chipRemoveLabel: e.translations.chipRemoveLabel
11351
11354
  }, {
11352
11355
  chip: n.chip || void 0
11353
- }) : void 0, P = e.listStatus ?? "idle", O = e.beforeOptions ?? n.beforeOptions?.();
11356
+ }) : void 0, k = e.listStatus ?? "idle", x = e.beforeOptions ?? n.beforeOptions?.();
11354
11357
  return Gr({
11355
11358
  options: e.options,
11356
11359
  getOptionId: e.getOptionId,
@@ -11362,7 +11365,7 @@ const RS = {
11362
11365
  selected: e.value,
11363
11366
  label: e.label,
11364
11367
  isMultiselectable: o.value,
11365
- listStatus: P,
11368
+ listStatus: k,
11366
11369
  onOpen: (T) => t("open", T),
11367
11370
  loadingMessage: e.translations.loadingMessage,
11368
11371
  emptyMessage: e.translations.emptyMessage,
@@ -11392,7 +11395,7 @@ const RS = {
11392
11395
  isValid: e.isValid,
11393
11396
  maxLength: e.maxLength,
11394
11397
  "aria-label": e.ariaLabel,
11395
- clearButtonProps: x ? {
11398
+ clearButtonProps: P ? {
11396
11399
  label: e.translations.clearLabel
11397
11400
  } : void 0,
11398
11401
  onClear: p,
@@ -11409,7 +11412,7 @@ const RS = {
11409
11412
  ref: d
11410
11413
  },
11411
11414
  chips: w,
11412
- beforeOptions: O,
11415
+ beforeOptions: x,
11413
11416
  onLoadMore: A ? N : void 0,
11414
11417
  infiniteScrollOptions: {
11415
11418
  root: d.value?.$el ?? null,
@@ -11424,7 +11427,7 @@ const RS = {
11424
11427
  name: "LumxSelectTextField",
11425
11428
  inheritAttrs: !1,
11426
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"),
11427
- emits: RS
11430
+ emits: MS
11428
11431
  }), DS = Ot, cx = Eu, ux = ku, dx = Tu, fx = Iu, BS = "TimePickerField", sd = "lumx-time-picker-field", {
11429
11432
  block: FS
11430
11433
  } = B(sd), tc = {
@@ -11516,12 +11519,12 @@ const WS = () => navigator.languages?.[0] || navigator.language, US = {
11516
11519
  }, hx = /* @__PURE__ */ E((e, {
11517
11520
  emit: t
11518
11521
  }) => {
11519
- 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({
11520
11523
  step: o.value,
11521
11524
  minTime: e.minTime,
11522
11525
  maxTime: e.maxTime,
11523
11526
  locale: a.value
11524
- })), i = M(""), l = C(() => {
11527
+ })), i = R(""), l = C(() => {
11525
11528
  const {
11526
11529
  value: f
11527
11530
  } = e;
@@ -11577,7 +11580,7 @@ const WS = () => navigator.languages?.[0] || navigator.language, US = {
11577
11580
  handleBlur: u,
11578
11581
  searchInputValue: f
11579
11582
  }, {
11580
- SelectTextField: MS,
11583
+ SelectTextField: RS,
11581
11584
  Option: DS
11582
11585
  });
11583
11586
  };
@@ -11644,7 +11647,7 @@ export {
11644
11647
  $N as InputLabel,
11645
11648
  CN as Lightbox,
11646
11649
  Hr as Link,
11647
- RN as LinkPreview,
11650
+ MN as LinkPreview,
11648
11651
  AN as List,
11649
11652
  Iu as ListDivider,
11650
11653
  SN as ListItem,
@@ -11652,7 +11655,7 @@ export {
11652
11655
  mg as ListSection,
11653
11656
  DN as MenuButton,
11654
11657
  Iu as MenuDivider,
11655
- MN as MenuItem,
11658
+ RN as MenuItem,
11656
11659
  BN as Message,
11657
11660
  FN as Mosaic,
11658
11661
  Av as Placement,
@@ -11666,7 +11669,7 @@ export {
11666
11669
  Lp as RawInputTextarea,
11667
11670
  ix as SelectButton,
11668
11671
  lx as SelectButtonOption,
11669
- MS as SelectTextField,
11672
+ RS as SelectTextField,
11670
11673
  fx as SelectTextFieldDivider,
11671
11674
  DS as SelectTextFieldOption,
11672
11675
  ux as SelectTextFieldOptionMoreInfo,