@lumx/vue 4.12.0 → 4.12.1-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -90,7 +90,7 @@ const Lo = {
90
90
  N: "N"
91
91
  }, ld = typeof window < "u" && !window.navigator.userAgent.includes("jsdom");
92
92
  var Lt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
93
- function xe(e) {
93
+ function Pe(e) {
94
94
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
95
95
  }
96
96
  var Sn = { exports: {} };
@@ -128,7 +128,7 @@ function cd() {
128
128
  })(Sn)), Sn.exports;
129
129
  }
130
130
  var ud = cd();
131
- const I = /* @__PURE__ */ xe(ud);
131
+ const I = /* @__PURE__ */ Pe(ud);
132
132
  function Xl(e, t) {
133
133
  const n = [];
134
134
  for (const [a, r] of Object.entries(t))
@@ -216,7 +216,7 @@ function gd(e, t) {
216
216
  }
217
217
  return n;
218
218
  }
219
- function Pn(e) {
219
+ function xn(e) {
220
220
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !X(e);
221
221
  }
222
222
  const yd = {
@@ -263,14 +263,14 @@ const yd = {
263
263
  Icon: y,
264
264
  ...A
265
265
  } = e, {
266
- color: x,
266
+ color: P,
267
267
  icon: C
268
- } = yd[i] || {}, w = `${t}-title`, N = `${t}-description`, {
268
+ } = yd[i] || {}, N = `${t}-title`, w = `${t}-description`, {
269
269
  label: k,
270
270
  onClick: T,
271
271
  ..._
272
272
  } = o, {
273
- label: P,
273
+ label: x,
274
274
  onClick: R,
275
275
  ...D
276
276
  } = r || {};
@@ -281,8 +281,8 @@ const yd = {
281
281
  dialogProps: {
282
282
  id: t,
283
283
  role: "alertdialog",
284
- "aria-labelledby": w,
285
- "aria-describedby": N,
284
+ "aria-labelledby": N,
285
+ "aria-describedby": w,
286
286
  ...c
287
287
  },
288
288
  className: I(a, wd({
@@ -294,16 +294,16 @@ const yd = {
294
294
  before: f(y, {
295
295
  icon: C,
296
296
  size: H.s,
297
- color: x
297
+ color: P
298
298
  }, null),
299
299
  label: f("h2", {
300
- id: w,
300
+ id: N,
301
301
  className: "lumx-typography-title"
302
302
  }, [n])
303
303
  }, null)]), u && f(d, {
304
- id: N,
304
+ id: w,
305
305
  className: "lumx-typography-body2 lumx-spacing-padding-vertical-big lumx-spacing-padding-horizontal-huge"
306
- }, Pn(u) ? u : {
306
+ }, xn(u) ? u : {
307
307
  default: () => [u]
308
308
  }), f("footer", null, [f(g, {
309
309
  className: "lumx-spacing-margin-horizontal",
@@ -311,14 +311,14 @@ const yd = {
311
311
  ref: m,
312
312
  emphasis: me.medium,
313
313
  onClick: R
314
- }), Pn(P) ? P : {
315
- default: () => [P]
314
+ }), xn(x) ? x : {
315
+ default: () => [x]
316
316
  }), f(b, S(_, {
317
317
  ref: h,
318
- color: x,
318
+ color: P,
319
319
  className: "lumx-spacing-margin-left-regular",
320
320
  onClick: T
321
- }), Pn(k) ? k : {
321
+ }), xn(k) ? k : {
322
322
  default: () => [k]
323
323
  })])
324
324
  }, null)])]
@@ -341,11 +341,11 @@ function $(e) {
341
341
  function Zt(e, t) {
342
342
  return Fl() ? (ql(e, t), !0) : !1;
343
343
  }
344
- const Pd = typeof window < "u" && typeof document < "u";
344
+ const xd = typeof window < "u" && typeof document < "u";
345
345
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
346
346
  const ec = (e) => e != null, Dt = () => {
347
347
  };
348
- function xd(...e) {
348
+ function Pd(...e) {
349
349
  if (e.length !== 1) return te(...e);
350
350
  const t = e[0];
351
351
  return typeof t == "function" ? qu(zu(() => ({
@@ -356,7 +356,7 @@ function xd(...e) {
356
356
  function tc(e) {
357
357
  return Array.isArray(e) ? e : [e];
358
358
  }
359
- const io = Pd ? window : void 0;
359
+ const io = xd ? window : void 0;
360
360
  function Ze(e) {
361
361
  var t;
362
362
  const n = _e(e);
@@ -455,15 +455,15 @@ function qo(e, t, n = {}) {
455
455
  stop: h
456
456
  };
457
457
  }
458
- function xn(e) {
458
+ function Pn(e) {
459
459
  return typeof Window < "u" && e instanceof Window ? e.document.documentElement : typeof Document < "u" && e instanceof Document ? e.documentElement : e;
460
460
  }
461
461
  const Cn = /* @__PURE__ */ new WeakMap();
462
462
  function Td(e, t = !1) {
463
463
  const n = Ie(t);
464
464
  let a = "";
465
- K(xd(e), (s) => {
466
- const i = xn(_e(s));
465
+ K(Pd(e), (s) => {
466
+ const i = Pn(_e(s));
467
467
  if (i) {
468
468
  const l = i;
469
469
  if (Cn.get(l) || Cn.set(l, l.style.overflow), l.style.overflow !== "hidden" && (a = l.style.overflow), l.style.overflow === "hidden") return n.value = !0;
@@ -471,10 +471,10 @@ function Td(e, t = !1) {
471
471
  }
472
472
  }, { immediate: !0 });
473
473
  const r = () => {
474
- const s = xn(_e(e));
474
+ const s = Pn(_e(e));
475
475
  !s || n.value || (s.style.overflow = "hidden", n.value = !0);
476
476
  }, o = () => {
477
- const s = xn(_e(e));
477
+ const s = Pn(_e(e));
478
478
  !s || !n.value || (s.style.overflow = a, Cn.delete(s), n.value = !1);
479
479
  };
480
480
  return Zt(o), O({
@@ -512,14 +512,14 @@ const _d = "lumx-dialog", {
512
512
  HeadingLevelProvider: b,
513
513
  ThemeProvider: y,
514
514
  ClickAwayProvider: A,
515
- shouldPreventCloseOnClickAway: x,
515
+ shouldPreventCloseOnClickAway: P,
516
516
  clickAwayRefs: C,
517
- rootRef: w,
518
- wrapperRef: N,
517
+ rootRef: N,
518
+ wrapperRef: w,
519
519
  hasTopIntersection: k,
520
520
  headerChildProps: T,
521
521
  setSentinelTop: _,
522
- content: P,
522
+ content: x,
523
523
  setSentinelBottom: R,
524
524
  footerChildContent: D,
525
525
  footerChildProps: q,
@@ -553,13 +553,13 @@ const _d = "lumx-dialog", {
553
553
  role: "dialog",
554
554
  "aria-modal": "true"
555
555
  }, h), [f(A, {
556
- callback: !x && c,
556
+ callback: !P && c,
557
557
  childrenRefs: C,
558
- parentRef: w
558
+ parentRef: N
559
559
  }, {
560
560
  default: () => [f("section", {
561
561
  className: Ne("wrapper"),
562
- ref: N
562
+ ref: w
563
563
  }, [(a || p) && f("header", S(T, {
564
564
  className: I(Ne("header", {
565
565
  "has-divider": !!(o || k)
@@ -572,7 +572,7 @@ const _d = "lumx-dialog", {
572
572
  top: !0
573
573
  }),
574
574
  ref: _
575
- }, null), P, f("div", {
575
+ }, null), x, f("div", {
576
576
  className: Ne("sentinel", {
577
577
  bottom: !0
578
578
  }),
@@ -679,7 +679,7 @@ function qd() {
679
679
  return On = e, On;
680
680
  }
681
681
  var zd = qd();
682
- const Vo = /* @__PURE__ */ xe(zd);
682
+ const Vo = /* @__PURE__ */ Pe(zd);
683
683
  var kn, Wo;
684
684
  function oc() {
685
685
  if (Wo) return kn;
@@ -1068,15 +1068,15 @@ function sf() {
1068
1068
  }
1069
1069
  return sa = t, sa;
1070
1070
  }
1071
- var ia, Ps;
1071
+ var ia, xs;
1072
1072
  function lf() {
1073
- if (Ps) return ia;
1074
- Ps = 1;
1073
+ if (xs) return ia;
1074
+ xs = 1;
1075
1075
  var e = Jd(), t = sf(), n = e(t);
1076
1076
  return ia = n, ia;
1077
1077
  }
1078
1078
  var cf = lf();
1079
- const uf = /* @__PURE__ */ xe(cf);
1079
+ const uf = /* @__PURE__ */ Pe(cf);
1080
1080
  function mc() {
1081
1081
  const e = [];
1082
1082
  return {
@@ -1211,29 +1211,29 @@ const pf = {
1211
1211
  slots: n,
1212
1212
  attrs: a
1213
1213
  }) => {
1214
- const r = $(() => e.class), o = B(null), s = B(null), i = B(null), l = B(null), c = B(null), u = (w) => {
1215
- l.value = w;
1216
- }, d = (w) => {
1217
- c.value = w;
1214
+ const r = $(() => e.class), o = B(null), s = B(null), i = B(null), l = B(null), c = B(null), u = (N) => {
1215
+ l.value = N;
1216
+ }, d = (N) => {
1217
+ c.value = N;
1218
1218
  }, m = B(null), h = B(null);
1219
- qo(l, (w) => {
1220
- const N = w[0];
1221
- m.value = N ? !N.isIntersecting : null;
1222
- }), qo(c, (w) => {
1223
- const N = w[0];
1224
- h.value = N ? !N.isIntersecting : null;
1219
+ qo(l, (N) => {
1220
+ const w = N[0];
1221
+ m.value = w ? !w.isIntersecting : null;
1222
+ }), qo(c, (N) => {
1223
+ const w = N[0];
1224
+ h.value = w ? !w.isIntersecting : null;
1225
1225
  });
1226
1226
  const p = O(() => e.preventAutoClose || e.preventCloseOnEscape), v = () => t("close");
1227
1227
  en(v, O(() => !!(e.isOpen && !p.value)));
1228
1228
  const g = O(() => e.isOpen && s.value || !1);
1229
1229
  uo(g, O(() => e.focusElement)), fo(O(() => !0), O(() => {
1230
1230
  }), O(() => e.parentElement), s, O(() => !!e.isOpen)), vc(O(() => e.disableBodyScroll !== !1 && !!e.isOpen));
1231
- const b = pc(O(() => !!e.isOpen), Dl, O(() => (w) => t("visibilityChange", w))), y = O(() => e.isOpen || b.value || e.closeMode === "hide"), A = O(() => [s]), x = O(() => e.preventAutoClose || e.preventCloseOnClick), C = (w) => {
1232
- i.value = w, e.contentRef && (e.contentRef.value = w);
1231
+ const b = pc(O(() => !!e.isOpen), Dl, O(() => (N) => t("visibilityChange", N))), y = O(() => e.isOpen || b.value || e.closeMode === "hide"), A = O(() => [s]), P = O(() => e.preventAutoClose || e.preventCloseOnClick), C = (N) => {
1232
+ i.value = N, e.contentRef && (e.contentRef.value = N);
1233
1233
  };
1234
1234
  return () => {
1235
1235
  if (!y.value) return null;
1236
- const w = n.default?.() ?? [], N = w.find((P) => P.type === "header"), k = w.find((P) => P.type === "footer"), _ = !!(N || k) ? w.filter((P) => P.type !== "header" && P.type !== "footer" && P.type !== Hl) : w;
1236
+ const N = n.default?.() ?? [], w = N.find((x) => x.type === "header"), k = N.find((x) => x.type === "footer"), _ = !!(w || k) ? N.filter((x) => x.type !== "header" && x.type !== "footer" && x.type !== Hl) : N;
1237
1237
  return Ld({
1238
1238
  ...a,
1239
1239
  ClickAwayProvider: no,
@@ -1255,7 +1255,7 @@ const pf = {
1255
1255
  hasBottomIntersection: h.value,
1256
1256
  hasTopIntersection: m.value,
1257
1257
  header: void 0,
1258
- headerChildContent: n.header?.() ?? N?.children,
1258
+ headerChildContent: n.header?.() ?? w?.children,
1259
1259
  headerChildProps: void 0,
1260
1260
  isLoading: e.isLoading,
1261
1261
  isOpen: e.isOpen,
@@ -1264,7 +1264,7 @@ const pf = {
1264
1264
  rootRef: o,
1265
1265
  setSentinelBottom: d,
1266
1266
  setSentinelTop: u,
1267
- shouldPreventCloseOnClickAway: x.value,
1267
+ shouldPreventCloseOnClickAway: P.value,
1268
1268
  size: e.size ?? nc.size,
1269
1269
  wrapperRef: s,
1270
1270
  zIndex: e.zIndex
@@ -1276,10 +1276,10 @@ const pf = {
1276
1276
  props: E()("class", "closeMode", "contentRef", "dialogProps", "disableBodyScroll", "focusElement", "forceFooterDivider", "forceHeaderDivider", "isLoading", "isOpen", "parentElement", "preventAutoClose", "preventCloseOnClick", "preventCloseOnEscape", "size", "zIndex"),
1277
1277
  emits: pf
1278
1278
  });
1279
- var ua, xs;
1279
+ var ua, Ps;
1280
1280
  function bc() {
1281
- if (xs) return ua;
1282
- xs = 1;
1281
+ if (Ps) return ua;
1282
+ Ps = 1;
1283
1283
  var e = Object.prototype;
1284
1284
  function t(n) {
1285
1285
  var a = n && n.constructor, r = typeof a == "function" && a.prototype || e;
@@ -1356,14 +1356,14 @@ function Sf() {
1356
1356
  return ga = n, ga;
1357
1357
  }
1358
1358
  var ya, $s;
1359
- function Pf() {
1359
+ function xf() {
1360
1360
  if ($s) return ya;
1361
1361
  $s = 1;
1362
1362
  var e = Af(), t = gc(), n = Nf(), a = wf(), r = Sf(), o = St(), s = cc(), i = "[object Map]", l = "[object Object]", c = "[object Promise]", u = "[object Set]", d = "[object WeakMap]", m = "[object DataView]", h = s(e), p = s(t), v = s(n), g = s(a), b = s(r), y = o;
1363
1363
  return (e && y(new e(new ArrayBuffer(1))) != m || t && y(new t()) != i || n && y(n.resolve()) != c || a && y(new a()) != u || r && y(new r()) != d) && (y = function(A) {
1364
- var x = o(A), C = x == l ? A.constructor : void 0, w = C ? s(C) : "";
1365
- if (w)
1366
- switch (w) {
1364
+ var P = o(A), C = P == l ? A.constructor : void 0, N = C ? s(C) : "";
1365
+ if (N)
1366
+ switch (N) {
1367
1367
  case h:
1368
1368
  return m;
1369
1369
  case p:
@@ -1375,7 +1375,7 @@ function Pf() {
1375
1375
  case b:
1376
1376
  return d;
1377
1377
  }
1378
- return x;
1378
+ return P;
1379
1379
  }), ya = y, ya;
1380
1380
  }
1381
1381
  var Aa, Rs;
@@ -1388,7 +1388,7 @@ function tn() {
1388
1388
  return Aa = e, Aa;
1389
1389
  }
1390
1390
  var Na, Ms;
1391
- function xf() {
1391
+ function Pf() {
1392
1392
  if (Ms) return Na;
1393
1393
  Ms = 1;
1394
1394
  var e = St(), t = tn(), n = "[object Arguments]";
@@ -1401,7 +1401,7 @@ var wa, Ds;
1401
1401
  function ho() {
1402
1402
  if (Ds) return wa;
1403
1403
  Ds = 1;
1404
- var e = xf(), t = tn(), n = Object.prototype, a = n.hasOwnProperty, r = n.propertyIsEnumerable, o = e(/* @__PURE__ */ (function() {
1404
+ var e = Pf(), t = tn(), n = Object.prototype, a = n.hasOwnProperty, r = n.propertyIsEnumerable, o = e(/* @__PURE__ */ (function() {
1405
1405
  return arguments;
1406
1406
  })()) ? e : function(s) {
1407
1407
  return t(s) && a.call(s, "callee") && !r.call(s, "callee");
@@ -1415,25 +1415,25 @@ function We() {
1415
1415
  var e = Array.isArray;
1416
1416
  return Sa = e, Sa;
1417
1417
  }
1418
- var Pa, Fs;
1418
+ var xa, Fs;
1419
1419
  function mo() {
1420
- if (Fs) return Pa;
1420
+ if (Fs) return xa;
1421
1421
  Fs = 1;
1422
1422
  var e = 9007199254740991;
1423
1423
  function t(n) {
1424
1424
  return typeof n == "number" && n > -1 && n % 1 == 0 && n <= e;
1425
1425
  }
1426
- return Pa = t, Pa;
1426
+ return xa = t, xa;
1427
1427
  }
1428
- var xa, qs;
1428
+ var Pa, qs;
1429
1429
  function Cf() {
1430
- if (qs) return xa;
1430
+ if (qs) return Pa;
1431
1431
  qs = 1;
1432
1432
  var e = lc(), t = mo();
1433
1433
  function n(a) {
1434
1434
  return a != null && t(a.length) && !e(a);
1435
1435
  }
1436
- return xa = n, xa;
1436
+ return Pa = n, Pa;
1437
1437
  }
1438
1438
  var ht = { exports: {} }, Ca, zs;
1439
1439
  function Of() {
@@ -1456,10 +1456,10 @@ var Oa, Hs;
1456
1456
  function Tf() {
1457
1457
  if (Hs) return Oa;
1458
1458
  Hs = 1;
1459
- var e = St(), t = mo(), n = tn(), a = "[object Arguments]", r = "[object Array]", o = "[object Boolean]", s = "[object Date]", i = "[object Error]", l = "[object Function]", c = "[object Map]", u = "[object Number]", d = "[object Object]", m = "[object RegExp]", h = "[object Set]", p = "[object String]", v = "[object WeakMap]", g = "[object ArrayBuffer]", b = "[object DataView]", y = "[object Float32Array]", A = "[object Float64Array]", x = "[object Int8Array]", C = "[object Int16Array]", w = "[object Int32Array]", N = "[object Uint8Array]", k = "[object Uint8ClampedArray]", T = "[object Uint16Array]", _ = "[object Uint32Array]", P = {};
1460
- P[y] = P[A] = P[x] = P[C] = P[w] = P[N] = P[k] = P[T] = P[_] = !0, P[a] = P[r] = P[g] = P[o] = P[b] = P[s] = P[i] = P[l] = P[c] = P[u] = P[d] = P[m] = P[h] = P[p] = P[v] = !1;
1459
+ var e = St(), t = mo(), n = tn(), a = "[object Arguments]", r = "[object Array]", o = "[object Boolean]", s = "[object Date]", i = "[object Error]", l = "[object Function]", c = "[object Map]", u = "[object Number]", d = "[object Object]", m = "[object RegExp]", h = "[object Set]", p = "[object String]", v = "[object WeakMap]", g = "[object ArrayBuffer]", b = "[object DataView]", y = "[object Float32Array]", A = "[object Float64Array]", P = "[object Int8Array]", C = "[object Int16Array]", N = "[object Int32Array]", w = "[object Uint8Array]", k = "[object Uint8ClampedArray]", T = "[object Uint16Array]", _ = "[object Uint32Array]", x = {};
1460
+ x[y] = x[A] = x[P] = x[C] = x[N] = x[w] = x[k] = x[T] = x[_] = !0, x[a] = x[r] = x[g] = x[o] = x[b] = x[s] = x[i] = x[l] = x[c] = x[u] = x[d] = x[m] = x[h] = x[p] = x[v] = !1;
1461
1461
  function R(D) {
1462
- return n(D) && t(D.length) && !!P[e(D)];
1462
+ return n(D) && t(D.length) && !!x[e(D)];
1463
1463
  }
1464
1464
  return Oa = R, Oa;
1465
1465
  }
@@ -1489,7 +1489,7 @@ var Ta, Us;
1489
1489
  function Lf() {
1490
1490
  if (Us) return Ta;
1491
1491
  Us = 1;
1492
- var e = yf(), t = Pf(), n = ho(), a = We(), r = Cf(), o = kf(), s = bc(), i = If(), l = "[object Map]", c = "[object Set]", u = Object.prototype, d = u.hasOwnProperty;
1492
+ var e = yf(), t = xf(), n = ho(), a = We(), r = Cf(), o = kf(), s = bc(), i = If(), l = "[object Map]", c = "[object Set]", u = Object.prototype, d = u.hasOwnProperty;
1493
1493
  function m(h) {
1494
1494
  if (h == null)
1495
1495
  return !0;
@@ -1508,7 +1508,7 @@ function Lf() {
1508
1508
  return Ta = m, Ta;
1509
1509
  }
1510
1510
  var Ef = Lf();
1511
- const qt = /* @__PURE__ */ xe(Ef);
1511
+ const qt = /* @__PURE__ */ Pe(Ef);
1512
1512
  function $f(e) {
1513
1513
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !X(e);
1514
1514
  }
@@ -1563,8 +1563,8 @@ const ot = (e) => {
1563
1563
  };
1564
1564
  return f("div", {
1565
1565
  className: s
1566
- }, [Pt(i)]);
1567
- }, Pt = (e) => {
1566
+ }, [xt(i)]);
1567
+ }, xt = (e) => {
1568
1568
  const {
1569
1569
  "aria-label": t,
1570
1570
  "aria-disabled": n,
@@ -1592,7 +1592,7 @@ const ot = (e) => {
1592
1592
  variant: v,
1593
1593
  color: A
1594
1594
  });
1595
- const x = I(r, Ff({
1595
+ const P = I(r, Ff({
1596
1596
  [`color-${A}`]: !!A,
1597
1597
  [`emphasis-${s}`]: !!s,
1598
1598
  "is-selected": l,
@@ -1611,12 +1611,12 @@ const ot = (e) => {
1611
1611
  "aria-disabled": n,
1612
1612
  "aria-label": t,
1613
1613
  ref: b,
1614
- className: x,
1614
+ className: P,
1615
1615
  children: a
1616
1616
  });
1617
1617
  };
1618
- Pt.displayName = Rf;
1619
- Pt.defaultProps = {};
1618
+ xt.displayName = Rf;
1619
+ xt.defaultProps = {};
1620
1620
  const zf = "Button", yc = "lumx-button", {
1621
1621
  modifier: jf
1622
1622
  } = F(yc), Ur = {
@@ -1634,7 +1634,7 @@ const zf = "Button", yc = "lumx-button", {
1634
1634
  "has-left-icon": !!a,
1635
1635
  "has-right-icon": !!r
1636
1636
  }));
1637
- return Pt({
1637
+ return xt({
1638
1638
  emphasis: n,
1639
1639
  size: o,
1640
1640
  ...s,
@@ -1861,7 +1861,7 @@ const ve = /* @__PURE__ */ L((e, {
1861
1861
  props: E()("as", "color", "colorVariant", "typography", "truncate", "noWrap", "whiteSpace", "style", "class")
1862
1862
  }), nh = {
1863
1863
  click: (e) => e instanceof MouseEvent
1864
- }, Pc = /* @__PURE__ */ L((e, {
1864
+ }, xc = /* @__PURE__ */ L((e, {
1865
1865
  emit: t
1866
1866
  }) => {
1867
1867
  const n = at(), a = M(), r = W(), o = $(() => e.class), {
@@ -1978,7 +1978,7 @@ const ve = /* @__PURE__ */ L((e, {
1978
1978
  return Sd({
1979
1979
  ...a,
1980
1980
  ...m,
1981
- Button: Pc,
1981
+ Button: xc,
1982
1982
  Dialog: vf,
1983
1983
  Icon: et,
1984
1984
  Toolbar: sh,
@@ -2003,7 +2003,7 @@ const ve = /* @__PURE__ */ L((e, {
2003
2003
  }), lh = "lumx-avatar", {
2004
2004
  block: ch,
2005
2005
  element: Kr
2006
- } = F(lh), xc = {
2006
+ } = F(lh), Pc = {
2007
2007
  size: H.m
2008
2008
  }, uh = (e) => {
2009
2009
  const {
@@ -2011,7 +2011,7 @@ const ve = /* @__PURE__ */ L((e, {
2011
2011
  badge: n,
2012
2012
  className: a,
2013
2013
  image: r,
2014
- size: o = xc.size,
2014
+ size: o = Pc.size,
2015
2015
  theme: s,
2016
2016
  ref: i,
2017
2017
  ...l
@@ -2113,18 +2113,18 @@ const hh = "lumx-thumbnail", {
2113
2113
  loadingPlaceholderImageRef: b,
2114
2114
  isAnyDisabled: y,
2115
2115
  disabledStateProps: A,
2116
- size: x,
2116
+ size: P,
2117
2117
  theme: C,
2118
- loadingState: w,
2119
- variant: N,
2118
+ loadingState: N,
2119
+ variant: w,
2120
2120
  linkProps: k,
2121
2121
  linkAs: T,
2122
2122
  handleClick: _,
2123
- handleKeyPress: P,
2123
+ handleKeyPress: x,
2124
2124
  ...R
2125
- } = e, D = p || w === "isLoading", q = w === "hasError", j = q && typeof l == "string", V = q && !j, G = {};
2125
+ } = e, D = p || N === "isLoading", q = N === "hasError", j = q && typeof l == "string", V = q && !j, G = {};
2126
2126
  j ? G.visibility = "hidden" : V && (G.display = "none");
2127
- const z = !!(k?.href || T), Y = !y && !!(z || _ || P), he = {
2127
+ const z = !!(k?.href || T), Y = !y && !!(z || _ || x), he = {
2128
2128
  ...R
2129
2129
  };
2130
2130
  Y && (Object.assign(he, {
@@ -2133,9 +2133,9 @@ const hh = "lumx-thumbnail", {
2133
2133
  const It = ce.join(k?.className, o, mh({
2134
2134
  [`align-${t}`]: !!t,
2135
2135
  [`aspect-ratio-${a}`]: !!a,
2136
- [`size-${x}`]: !!x,
2136
+ [`size-${P}`]: !!P,
2137
2137
  [`theme-${C}`]: !!C,
2138
- [`variant-${N}`]: !!N,
2138
+ [`variant-${w}`]: !!w,
2139
2139
  "is-clickable": Y,
2140
2140
  "has-error": q,
2141
2141
  "has-icon-error-fallback": j,
@@ -2182,7 +2182,7 @@ const hh = "lumx-thumbnail", {
2182
2182
  className: It,
2183
2183
  children: ko,
2184
2184
  handleClick: _,
2185
- handleKeyPress: P
2185
+ handleKeyPress: x
2186
2186
  }) : f("div", S({
2187
2187
  ref: i
2188
2188
  }, he, {
@@ -2276,9 +2276,9 @@ const gh = {
2276
2276
  return () => {
2277
2277
  const b = n.badge?.(), y = n.fallback?.(), {
2278
2278
  linkAs: A,
2279
- ...x
2279
+ ...P
2280
2280
  } = d.value;
2281
- return f(ph, S(x, {
2281
+ return f(ph, S(P, {
2282
2282
  linkAs: He(A),
2283
2283
  className: o.value,
2284
2284
  theme: e.theme || r.value,
@@ -2325,7 +2325,7 @@ const gh = {
2325
2325
  const {
2326
2326
  image: o,
2327
2327
  alt: s,
2328
- size: i = xc.size,
2328
+ size: i = Pc.size,
2329
2329
  theme: l,
2330
2330
  linkProps: c,
2331
2331
  linkAs: u,
@@ -2471,23 +2471,23 @@ function Tc(e, t, n) {
2471
2471
  return A ? (ct(l, t, A), !0) : !1;
2472
2472
  }
2473
2473
  function v(A) {
2474
- const x = l();
2475
- if (A === 0) return x !== null;
2476
- const C = A > 0, w = Math.abs(A);
2477
- if (!x)
2478
- return (C ? h() : p()) ? w === 1 ? !0 : v(C ? A - 1 : A + 1) : !1;
2479
- const N = u();
2480
- N.currentNode = x;
2481
- const k = C ? () => N.nextNode() : () => N.previousNode();
2474
+ const P = l();
2475
+ if (A === 0) return P !== null;
2476
+ const C = A > 0, N = Math.abs(A);
2477
+ if (!P)
2478
+ return (C ? h() : p()) ? N === 1 ? !0 : v(C ? A - 1 : A + 1) : !1;
2479
+ const w = u();
2480
+ w.currentNode = P;
2481
+ const k = C ? () => w.nextNode() : () => w.previousNode();
2482
2482
  let T = 0, _ = null;
2483
- for (let P = 0; P < w; P++) {
2483
+ for (let x = 0; x < N; x++) {
2484
2484
  const R = k();
2485
2485
  if (R)
2486
2486
  _ = R, T += 1;
2487
2487
  else if (s) {
2488
2488
  const D = C ? d() : m();
2489
- if (!D || D === x) break;
2490
- _ = D, T += 1, N.currentNode = D;
2489
+ if (!D || D === P) break;
2490
+ _ = D, T += 1, w.currentNode = D;
2491
2491
  } else
2492
2492
  break;
2493
2493
  }
@@ -2519,12 +2519,12 @@ function Tc(e, t, n) {
2519
2519
  return v(A);
2520
2520
  },
2521
2521
  goToItemMatching(A) {
2522
- const x = u(!1);
2523
- let C = x.nextNode();
2522
+ const P = u(!1);
2523
+ let C = P.nextNode();
2524
2524
  for (; C; ) {
2525
2525
  if (A(C))
2526
2526
  return ct(l, t, C), !0;
2527
- C = x.nextNode();
2527
+ C = P.nextNode();
2528
2528
  }
2529
2529
  return !1;
2530
2530
  },
@@ -2532,10 +2532,10 @@ function Tc(e, t, n) {
2532
2532
  if (!a.contains(A)) return d();
2533
2533
  if (A instanceof HTMLElement && A.matches(c))
2534
2534
  return A;
2535
- const x = u();
2536
- x.currentNode = A;
2537
- const C = x.nextNode();
2538
- return C instanceof HTMLElement ? C : (x.currentNode = A, x.previousNode());
2535
+ const P = u();
2536
+ P.currentNode = A;
2537
+ const C = P.nextNode();
2538
+ return C instanceof HTMLElement ? C : (P.currentNode = A, P.previousNode());
2539
2539
  },
2540
2540
  clear: y,
2541
2541
  goUp() {
@@ -2567,48 +2567,48 @@ function Sh(e, t, n) {
2567
2567
  clear: r
2568
2568
  };
2569
2569
  }
2570
- function Ph(e, t, n) {
2570
+ function xh(e, t, n) {
2571
2571
  const { container: a, rowSelector: r, cellSelector: o, isRowVisible: s, wrap: i = !1 } = e, l = Sh(t, n);
2572
2572
  let c = 0;
2573
- function u(w) {
2574
- return !s || s(w);
2573
+ function u(N) {
2574
+ return !s || s(N);
2575
2575
  }
2576
- function d(w) {
2577
- return u(w) && w.querySelector(o) !== null;
2576
+ function d(N) {
2577
+ return u(N) && N.querySelector(o) !== null;
2578
2578
  }
2579
2579
  function m() {
2580
2580
  return rn(a, r);
2581
2581
  }
2582
- function h(w) {
2583
- const N = m();
2584
- if (w === "all") {
2582
+ function h(N) {
2583
+ const w = m();
2584
+ if (N === "all") {
2585
2585
  const _ = [];
2586
- let P = N.nextNode();
2587
- for (; P; )
2588
- d(P) && _.push(P), P = N.nextNode();
2586
+ let x = w.nextNode();
2587
+ for (; x; )
2588
+ d(x) && _.push(x), x = w.nextNode();
2589
2589
  return _;
2590
2590
  }
2591
- let k = null, T = N.nextNode();
2591
+ let k = null, T = w.nextNode();
2592
2592
  for (; T; ) {
2593
2593
  if (d(T)) {
2594
- if (w === "first") return T;
2594
+ if (N === "first") return T;
2595
2595
  k = T;
2596
2596
  }
2597
- T = N.nextNode();
2597
+ T = w.nextNode();
2598
2598
  }
2599
2599
  return k;
2600
2600
  }
2601
- function p(w) {
2602
- return Array.from(w.querySelectorAll(o));
2601
+ function p(N) {
2602
+ return Array.from(N.querySelectorAll(o));
2603
2603
  }
2604
- function v(w) {
2605
- const N = w.closest(r);
2606
- return N && a.contains(N) ? N : null;
2604
+ function v(N) {
2605
+ const w = N.closest(r);
2606
+ return w && a.contains(w) ? w : null;
2607
2607
  }
2608
- function g(w, N) {
2608
+ function g(N, w) {
2609
2609
  const k = m();
2610
- k.currentNode = w;
2611
- const T = N === "next" ? () => k.nextNode() : () => k.previousNode();
2610
+ k.currentNode = N;
2611
+ const T = w === "next" ? () => k.nextNode() : () => k.previousNode();
2612
2612
  let _ = T();
2613
2613
  for (; _; ) {
2614
2614
  if (d(_)) return _;
@@ -2616,46 +2616,46 @@ function Ph(e, t, n) {
2616
2616
  }
2617
2617
  return null;
2618
2618
  }
2619
- function b(w, N) {
2620
- const k = p(w);
2619
+ function b(N, w) {
2620
+ const k = p(N);
2621
2621
  if (k.length === 0) return !1;
2622
- const T = Math.min(N, k.length - 1);
2622
+ const T = Math.min(w, k.length - 1);
2623
2623
  return l.setActive(k[T]), !0;
2624
2624
  }
2625
2625
  function y() {
2626
- const w = h("first");
2627
- return w ? (c = 0, b(w, 0)) : !1;
2626
+ const N = h("first");
2627
+ return N ? (c = 0, b(N, 0)) : !1;
2628
2628
  }
2629
2629
  function A() {
2630
- const w = h("last");
2631
- return w ? (c = 0, b(w, 0)) : !1;
2630
+ const N = h("last");
2631
+ return N ? (c = 0, b(N, 0)) : !1;
2632
2632
  }
2633
- function x(w) {
2633
+ function P(N) {
2634
2634
  if (!l.active) return !1;
2635
- const N = v(l.active);
2636
- if (!N) return !1;
2637
- const k = p(N), T = k.indexOf(l.active);
2635
+ const w = v(l.active);
2636
+ if (!w) return !1;
2637
+ const k = p(w), T = k.indexOf(l.active);
2638
2638
  if (T === -1) return !1;
2639
- const _ = T + w;
2639
+ const _ = T + N;
2640
2640
  if (_ >= 0 && _ < k.length)
2641
2641
  return c = _, l.setActive(k[_]), !0;
2642
2642
  if (!i) return !1;
2643
- const P = w > 0 ? "next" : "prev", D = g(N, P) ?? (w > 0 ? h("first") : h("last"));
2643
+ const x = N > 0 ? "next" : "prev", D = g(w, x) ?? (N > 0 ? h("first") : h("last"));
2644
2644
  if (!D) return !1;
2645
2645
  const q = p(D);
2646
2646
  if (q.length === 0) return !1;
2647
- const j = w > 0 ? 0 : q.length - 1;
2647
+ const j = N > 0 ? 0 : q.length - 1;
2648
2648
  return c = j, l.setActive(q[j]), !0;
2649
2649
  }
2650
- function C(w) {
2650
+ function C(N) {
2651
2651
  if (!l.active)
2652
- return w === "next" ? y() : A();
2653
- const N = v(l.active);
2654
- if (!N) return !1;
2655
- const k = g(N, w);
2652
+ return N === "next" ? y() : A();
2653
+ const w = v(l.active);
2654
+ if (!w) return !1;
2655
+ const k = g(w, N);
2656
2656
  if (k) return b(k, c);
2657
2657
  if (i) {
2658
- const T = h(w === "next" ? "first" : "last");
2658
+ const T = h(N === "next" ? "first" : "last");
2659
2659
  if (T) return b(T, c);
2660
2660
  }
2661
2661
  return !1;
@@ -2673,40 +2673,40 @@ function Ph(e, t, n) {
2673
2673
  },
2674
2674
  goToFirst: y,
2675
2675
  goToLast: A,
2676
- goToOffset(w) {
2677
- if (w === 0) return l.active !== null;
2678
- const N = h("all");
2679
- if (N.length === 0) return !1;
2676
+ goToOffset(N) {
2677
+ if (N === 0) return l.active !== null;
2678
+ const w = h("all");
2679
+ if (w.length === 0) return !1;
2680
2680
  if (!l.active) {
2681
- const P = w > 0 ? 0 : N.length - 1, R = w > 0 ? w - 1 : w + 1, D = Math.max(0, Math.min(P + R, N.length - 1));
2682
- return b(N[D], c);
2681
+ const x = N > 0 ? 0 : w.length - 1, R = N > 0 ? N - 1 : N + 1, D = Math.max(0, Math.min(x + R, w.length - 1));
2682
+ return b(w[D], c);
2683
2683
  }
2684
2684
  const k = v(l.active);
2685
2685
  if (!k) return !1;
2686
- const T = N.indexOf(k);
2686
+ const T = w.indexOf(k);
2687
2687
  if (T === -1) return !1;
2688
- const _ = Math.max(0, Math.min(T + w, N.length - 1));
2689
- return _ === T ? !1 : b(N[_], c);
2688
+ const _ = Math.max(0, Math.min(T + N, w.length - 1));
2689
+ return _ === T ? !1 : b(w[_], c);
2690
2690
  },
2691
- goToItemMatching(w) {
2692
- const N = m();
2693
- let k = N.nextNode();
2691
+ goToItemMatching(N) {
2692
+ const w = m();
2693
+ let k = w.nextNode();
2694
2694
  for (; k; ) {
2695
2695
  if (d(k)) {
2696
2696
  const T = p(k);
2697
2697
  for (let _ = 0; _ < T.length; _++)
2698
- if (w(T[_]))
2698
+ if (N(T[_]))
2699
2699
  return c = _, l.setActive(T[_]), !0;
2700
2700
  }
2701
- k = N.nextNode();
2701
+ k = w.nextNode();
2702
2702
  }
2703
2703
  return !1;
2704
2704
  },
2705
- goToItem(w) {
2706
- const N = v(w);
2707
- if (!N || !u(N)) return !1;
2708
- const T = p(N).indexOf(w);
2709
- return T === -1 ? !1 : (c = T, l.setActive(w), !0);
2705
+ goToItem(N) {
2706
+ const w = v(N);
2707
+ if (!w || !u(w)) return !1;
2708
+ const T = p(w).indexOf(N);
2709
+ return T === -1 ? !1 : (c = T, l.setActive(N), !0);
2710
2710
  },
2711
2711
  clear() {
2712
2712
  l.clear();
@@ -2718,17 +2718,17 @@ function Ph(e, t, n) {
2718
2718
  return C("next");
2719
2719
  },
2720
2720
  goLeft() {
2721
- return x(-1);
2721
+ return P(-1);
2722
2722
  },
2723
2723
  goRight() {
2724
- return x(1);
2724
+ return P(1);
2725
2725
  }
2726
2726
  };
2727
2727
  }
2728
2728
  function* Qs(e, t) {
2729
2729
  e instanceof HTMLElement && (e.matches(t) && (yield e), yield* e.querySelectorAll(t));
2730
2730
  }
2731
- function xh(e, t) {
2731
+ function Ph(e, t) {
2732
2732
  let n = e.contains(document.activeElement);
2733
2733
  return e.addEventListener(
2734
2734
  "focusin",
@@ -2763,7 +2763,7 @@ function Ch(e, t) {
2763
2763
  } = e, l = `${a}[tabindex="0"]`;
2764
2764
  let c = `${a}[${s}=true]`;
2765
2765
  o && (c += `:not(${o})`);
2766
- const u = xh(n, t), d = Tc(
2766
+ const u = Ph(n, t), d = Tc(
2767
2767
  {
2768
2768
  container: n,
2769
2769
  itemSelector: a,
@@ -2787,21 +2787,21 @@ function Ch(e, t) {
2787
2787
  }
2788
2788
  function h(b, y) {
2789
2789
  let A = y;
2790
- for (const x of b) {
2791
- if (!n.contains(x)) continue;
2792
- !(o ? x.matches(o) : !1) && !A ? (m(x, "0"), A = !0) : m(x, "-1");
2790
+ for (const P of b) {
2791
+ if (!n.contains(P)) continue;
2792
+ !(o ? P.matches(o) : !1) && !A ? (m(P, "0"), A = !0) : m(P, "-1");
2793
2793
  }
2794
2794
  if (!A) {
2795
- const x = n.querySelector(d.enabledItemSelector);
2796
- x && m(x, "0");
2795
+ const P = n.querySelector(d.enabledItemSelector);
2796
+ P && m(P, "0");
2797
2797
  }
2798
2798
  }
2799
2799
  function p() {
2800
2800
  const b = Array.from(n.querySelectorAll(a)), { activeItem: y } = d;
2801
2801
  let A = y && b.indexOf(y);
2802
- if ((!A || A === -1) && (A = b.findIndex((x) => x.matches(c))), A && A > 0) {
2803
- const [x] = b.splice(A, 1);
2804
- b.unshift(x);
2802
+ if ((!A || A === -1) && (A = b.findIndex((P) => P.matches(c))), A && A > 0) {
2803
+ const [P] = b.splice(A, 1);
2804
+ b.unshift(P);
2805
2805
  }
2806
2806
  h(b, !1);
2807
2807
  }
@@ -2812,43 +2812,43 @@ function Ch(e, t) {
2812
2812
  }
2813
2813
  p();
2814
2814
  const g = new MutationObserver((b) => {
2815
- let y = null, A = null, x = null;
2816
- const C = [], w = [];
2817
- for (const N of b) {
2818
- if (N.type === "childList") {
2815
+ let y = null, A = null, P = null;
2816
+ const C = [], N = [];
2817
+ for (const w of b) {
2818
+ if (w.type === "childList") {
2819
2819
  if (!y)
2820
- for (const T of N.removedNodes) {
2820
+ for (const T of w.removedNodes) {
2821
2821
  const { value: _ } = Qs(T, l).next();
2822
2822
  if (_) {
2823
- y = _, A = N.nextSibling ?? N.previousSibling ?? null;
2823
+ y = _, A = w.nextSibling ?? w.previousSibling ?? null;
2824
2824
  break;
2825
2825
  }
2826
2826
  }
2827
- for (const T of N.addedNodes)
2827
+ for (const T of w.addedNodes)
2828
2828
  for (const _ of Qs(T, a))
2829
- w.push(_);
2829
+ N.push(_);
2830
2830
  }
2831
- const k = N.target;
2832
- N.type === "attributes" && k.matches(a) && (N.attributeName === s && k.getAttribute(s) === "true" ? x = k : o && k.matches(o) && C.push(k));
2831
+ const k = w.target;
2832
+ w.type === "attributes" && k.matches(a) && (w.attributeName === s && k.getAttribute(s) === "true" ? P = k : o && k.matches(o) && C.push(k));
2833
2833
  }
2834
2834
  if (y) {
2835
- const N = u.hasFocus;
2836
- u.reset(), v(N, A);
2835
+ const w = u.hasFocus;
2836
+ u.reset(), v(w, A);
2837
2837
  }
2838
- if (w.length > 0) {
2839
- const N = n.querySelector(l) !== null;
2840
- h(w, N);
2838
+ if (N.length > 0) {
2839
+ const w = n.querySelector(l) !== null;
2840
+ h(N, w);
2841
2841
  }
2842
2842
  if (C.length > 0) {
2843
- const N = d.activeItem;
2843
+ const w = d.activeItem;
2844
2844
  for (const _ of C)
2845
2845
  m(_, "-1");
2846
- const T = !!(N && C.includes(N) && u.hasFocus);
2846
+ const T = !!(w && C.includes(w) && u.hasFocus);
2847
2847
  v(T);
2848
2848
  }
2849
- if (x) {
2850
- const N = n.querySelector(l);
2851
- N && N !== x && m(N, "-1"), m(x, "0");
2849
+ if (P) {
2850
+ const w = n.querySelector(l);
2851
+ w && w !== P && m(w, "-1"), m(P, "0");
2852
2852
  }
2853
2853
  });
2854
2854
  return g.observe(n, {
@@ -2908,7 +2908,7 @@ function ei(e, t, n) {
2908
2908
  }
2909
2909
  };
2910
2910
  let l;
2911
- o ? (l = Ph(
2911
+ o ? (l = xh(
2912
2912
  {
2913
2913
  container: r,
2914
2914
  rowSelector: '[role="row"]',
@@ -2963,85 +2963,85 @@ function _c(e, t, n) {
2963
2963
  loadingChange: /* @__PURE__ */ new Set(),
2964
2964
  loadingAnnouncement: /* @__PURE__ */ new Set()
2965
2965
  };
2966
- function v(P, R) {
2967
- p[P].forEach((D) => D(R));
2966
+ function v(x, R) {
2967
+ p[x].forEach((D) => D(R));
2968
2968
  }
2969
2969
  function g() {
2970
2970
  for (const [q] of u)
2971
2971
  Js(q, u, c);
2972
- let P = 0;
2972
+ let x = 0;
2973
2973
  for (const q of c.values())
2974
- q.lastFiltered || (P += 1);
2974
+ q.lastFiltered || (x += 1);
2975
2975
  const R = r?.value ?? "";
2976
- (P !== m || P === 0 && R !== h) && (m = P, h = R, v("optionsChange", { optionsLength: P, inputValue: R }));
2976
+ (x !== m || x === 0 && R !== h) && (m = x, h = R, v("optionsChange", { optionsLength: x, inputValue: R }));
2977
2977
  }
2978
2978
  const b = 500;
2979
- let y = 0, A, x = !1;
2979
+ let y = 0, A, P = !1;
2980
2980
  function C() {
2981
2981
  clearTimeout(A), y > 0 && i && (A = setTimeout(() => {
2982
- y > 0 && i && (x = !0, v("loadingAnnouncement", !0));
2982
+ y > 0 && i && (P = !0, v("loadingAnnouncement", !0));
2983
2983
  }, b));
2984
2984
  }
2985
- function w() {
2986
- const P = y > 0;
2987
- v("loadingChange", P), P ? C() : (clearTimeout(A), x && (x = !1, v("loadingAnnouncement", !1)));
2985
+ function N() {
2986
+ const x = y > 0;
2987
+ v("loadingChange", x), x ? C() : (clearTimeout(A), P && (P = !1, v("loadingAnnouncement", !1)));
2988
2988
  }
2989
- let N;
2989
+ let w;
2990
2990
  function k() {
2991
2991
  d?.abort(), d = null, s = null;
2992
2992
  }
2993
- function T(P, R, D) {
2993
+ function T(x, R, D) {
2994
2994
  function q(j) {
2995
2995
  if (D?.(j)) {
2996
2996
  j.stopPropagation(), j.preventDefault();
2997
2997
  return;
2998
2998
  }
2999
2999
  let V = !1;
3000
- const { altKey: G } = j, z = N.focusNav;
3000
+ const { altKey: G } = j, z = w.focusNav;
3001
3001
  switch (j.key) {
3002
3002
  case "Enter":
3003
- if (N.isOpen && z?.hasActiveItem && z.activeItem) {
3003
+ if (w.isOpen && z?.hasActiveItem && z.activeItem) {
3004
3004
  const { activeItem: Y } = z;
3005
- Cc(Y) || Y.click(), !N.isMultiSelect && !Oc(Y) && N.setIsOpen(!1);
3006
- } else N.isMultiSelect || N.setIsOpen(!N.isOpen);
3005
+ Cc(Y) || Y.click(), !w.isMultiSelect && !Oc(Y) && w.setIsOpen(!1);
3006
+ } else w.isMultiSelect || w.setIsOpen(!w.isOpen);
3007
3007
  V = !0;
3008
3008
  break;
3009
3009
  case "ArrowDown":
3010
- z?.hasNavigableItems && (N.isOpen && !G ? z.hasActiveItem ? z.type === "grid" ? z.goDown() : !z.goToOffset(1) && a && z.goToFirst() : Ys(z) : (N.setIsOpen(!0), G || Ys(z))), V = !0;
3010
+ z?.hasNavigableItems && (w.isOpen && !G ? z.hasActiveItem ? z.type === "grid" ? z.goDown() : !z.goToOffset(1) && a && z.goToFirst() : Ys(z) : (w.setIsOpen(!0), G || Ys(z))), V = !0;
3011
3011
  break;
3012
3012
  case "ArrowUp":
3013
- z?.hasNavigableItems && (!N.isOpen && !G ? (N.setIsOpen(!0), Zs(z)) : N.isOpen && z.hasActiveItem ? z.type === "grid" ? z.goUp() : !z.goToOffset(-1) && a && z.goToLast() : N.isOpen && !z.hasActiveItem && !G && Zs(z)), V = !0;
3013
+ z?.hasNavigableItems && (!w.isOpen && !G ? (w.setIsOpen(!0), Zs(z)) : w.isOpen && z.hasActiveItem ? z.type === "grid" ? z.goUp() : !z.goToOffset(-1) && a && z.goToLast() : w.isOpen && !z.hasActiveItem && !G && Zs(z)), V = !0;
3014
3014
  break;
3015
3015
  case "Escape":
3016
- N.isOpen ? N.setIsOpen(!1) : N.select(null), V = !0;
3016
+ w.isOpen ? w.setIsOpen(!1) : w.select(null), V = !0;
3017
3017
  break;
3018
3018
  case "PageUp":
3019
- N.isOpen && z?.hasActiveItem && z.goToOffset(-10), V = !0;
3019
+ w.isOpen && z?.hasActiveItem && z.goToOffset(-10), V = !0;
3020
3020
  break;
3021
3021
  case "PageDown":
3022
- N.isOpen && z?.hasActiveItem && z.goToOffset(10), V = !0;
3022
+ w.isOpen && z?.hasActiveItem && z.goToOffset(10), V = !0;
3023
3023
  break;
3024
3024
  }
3025
3025
  V && (j.stopPropagation(), j.preventDefault());
3026
3026
  }
3027
- P.addEventListener("keydown", (j) => q(j), { signal: R });
3027
+ x.addEventListener("keydown", (j) => q(j), { signal: R });
3028
3028
  }
3029
3029
  function _() {
3030
3030
  if (!r) return;
3031
- const P = !d;
3032
- if (d || (d = new AbortController()), r.getAttribute("aria-activedescendant") || r.setAttribute("aria-activedescendant", ""), r.setAttribute("aria-expanded", String(i)), P) {
3033
- const R = n?.(N, d.signal) || void 0;
3031
+ const x = !d;
3032
+ if (d || (d = new AbortController()), r.getAttribute("aria-activedescendant") || r.setAttribute("aria-activedescendant", ""), r.setAttribute("aria-expanded", String(i)), x) {
3033
+ const R = n?.(w, d.signal) || void 0;
3034
3034
  T(r, d.signal, R), r.addEventListener(
3035
3035
  "focusout",
3036
3036
  () => {
3037
- N.setIsOpen(!1);
3037
+ w.setIsOpen(!1);
3038
3038
  },
3039
3039
  { signal: d.signal }
3040
3040
  );
3041
3041
  }
3042
- o && !s && (s = ei(N, d.signal, v));
3042
+ o && !s && (s = ei(w, d.signal, v));
3043
3043
  }
3044
- return N = {
3044
+ return w = {
3045
3045
  get trigger() {
3046
3046
  return r;
3047
3047
  },
@@ -3060,71 +3060,71 @@ function _c(e, t, n) {
3060
3060
  get isLoading() {
3061
3061
  return y > 0;
3062
3062
  },
3063
- setIsOpen(P) {
3064
- if (i !== P && (i = P, P ? y > 0 && C() : (s?.clear(), clearTimeout(A), x && (x = !1, v("loadingAnnouncement", !1))), r?.setAttribute("aria-expanded", String(P)), v("open", P), P)) {
3063
+ setIsOpen(x) {
3064
+ if (i !== x && (i = x, x ? y > 0 && C() : (s?.clear(), clearTimeout(A), P && (P = !1, v("loadingAnnouncement", !1))), r?.setAttribute("aria-expanded", String(x)), v("open", x), x)) {
3065
3065
  const R = r?.value ?? "";
3066
3066
  v("optionsChange", { optionsLength: m, inputValue: R });
3067
3067
  }
3068
3068
  },
3069
- select(P) {
3070
- e.onSelect({ value: P ? pt(P) : "" }, N);
3069
+ select(x) {
3070
+ e.onSelect?.({ value: x ? pt(x) : "" });
3071
3071
  },
3072
- registerOption(P, R) {
3073
- const D = l.toLowerCase(), q = pt(P).toLowerCase(), j = D.length > 0 && !q.includes(D);
3074
- return c.set(P, { callback: R, lastFiltered: j }), R(j), g(), () => {
3075
- c.delete(P), g();
3072
+ registerOption(x, R) {
3073
+ const D = l.toLowerCase(), q = pt(x).toLowerCase(), j = D.length > 0 && !q.includes(D);
3074
+ return c.set(x, { callback: R, lastFiltered: j }), R(j), g(), () => {
3075
+ c.delete(x), g();
3076
3076
  };
3077
3077
  },
3078
- setFilter(P) {
3079
- l = P;
3080
- const R = P.toLowerCase();
3078
+ setFilter(x) {
3079
+ l = x;
3080
+ const R = x.toLowerCase();
3081
3081
  for (const [D, q] of c) {
3082
3082
  const j = pt(D).toLowerCase(), V = R.length > 0 && !j.includes(R);
3083
3083
  V !== q.lastFiltered && (q.lastFiltered = V, q.callback(V));
3084
3084
  }
3085
3085
  g();
3086
3086
  },
3087
- refilterOption(P) {
3088
- const R = c.get(P);
3087
+ refilterOption(x) {
3088
+ const R = c.get(x);
3089
3089
  if (!R) return;
3090
- const D = l.toLowerCase(), q = pt(P).toLowerCase(), j = D.length > 0 && !q.includes(D);
3090
+ const D = l.toLowerCase(), q = pt(x).toLowerCase(), j = D.length > 0 && !q.includes(D);
3091
3091
  j !== R.lastFiltered && (R.lastFiltered = j, R.callback(j), g());
3092
3092
  },
3093
- registerSection(P, R) {
3094
- return u.set(P, { callback: R, last: { hidden: !1, "aria-hidden": !1 } }), Js(P, u, c, !0), () => {
3095
- u.delete(P);
3093
+ registerSection(x, R) {
3094
+ return u.set(x, { callback: R, last: { hidden: !1, "aria-hidden": !1 } }), Js(x, u, c, !0), () => {
3095
+ u.delete(x);
3096
3096
  };
3097
3097
  },
3098
3098
  registerSkeleton() {
3099
- const P = y > 0;
3100
- return y += 1, P || w(), () => {
3101
- y -= 1, y === 0 && w();
3099
+ const x = y > 0;
3100
+ return y += 1, x || N(), () => {
3101
+ y -= 1, y === 0 && N();
3102
3102
  };
3103
3103
  },
3104
- registerTrigger(P) {
3105
- return r && r !== P && k(), r = P, _(), () => {
3106
- r === P && (k(), r = null);
3104
+ registerTrigger(x) {
3105
+ return r && r !== x && k(), r = x, _(), () => {
3106
+ r === x && (k(), r = null);
3107
3107
  };
3108
3108
  },
3109
- registerListbox(P) {
3110
- if (o === P) return () => {
3109
+ registerListbox(x) {
3110
+ if (o === x) return () => {
3111
3111
  };
3112
3112
  const R = !!o;
3113
- return o = P, r && d && (R ? (k(), _()) : s = ei(N, d.signal, v)), () => {
3114
- o === P && (o = null, s = null);
3113
+ return o = x, r && d && (R ? (k(), _()) : s = ei(w, d.signal, v)), () => {
3114
+ o === x && (o = null, s = null);
3115
3115
  };
3116
3116
  },
3117
- subscribe(P, R) {
3118
- return p[P].add(R), () => {
3119
- p[P].delete(R);
3117
+ subscribe(x, R) {
3118
+ return p[x].add(R), () => {
3119
+ p[x].delete(R);
3120
3120
  };
3121
3121
  },
3122
3122
  destroy() {
3123
- k(), r = null, o = null, l = "", m = 0, h = "", c.clear(), u.clear(), y = 0, clearTimeout(A), x = !1;
3124
- for (const P of Object.values(p))
3125
- P.clear();
3123
+ k(), r = null, o = null, l = "", m = 0, h = "", c.clear(), u.clear(), y = 0, clearTimeout(A), P = !1;
3124
+ for (const x of Object.values(p))
3125
+ x.clear();
3126
3126
  }
3127
- }, N;
3127
+ }, w;
3128
3128
  }
3129
3129
  const Oh = 500;
3130
3130
  function kh(e, t, n) {
@@ -3207,7 +3207,7 @@ function _h(e, t) {
3207
3207
  const Ih = "IconButton", Lh = "lumx-icon-button", Xr = {
3208
3208
  emphasis: me.high,
3209
3209
  size: H.m
3210
- }, xt = (e) => {
3210
+ }, Pt = (e) => {
3211
3211
  const {
3212
3212
  emphasis: t = Xr.emphasis,
3213
3213
  image: n,
@@ -3221,7 +3221,7 @@ const Ih = "IconButton", Lh = "lumx-icon-button", Xr = {
3221
3221
  }, null) : Z({
3222
3222
  icon: a
3223
3223
  });
3224
- return Pt({
3224
+ return xt({
3225
3225
  emphasis: t,
3226
3226
  size: o,
3227
3227
  ...s,
@@ -3230,9 +3230,9 @@ const Ih = "IconButton", Lh = "lumx-icon-button", Xr = {
3230
3230
  children: i
3231
3231
  });
3232
3232
  };
3233
- xt.displayName = Ih;
3234
- xt.className = Lh;
3235
- xt.defaultProps = Xr;
3233
+ Pt.displayName = Ih;
3234
+ Pt.className = Lh;
3235
+ Pt.defaultProps = Xr;
3236
3236
  const Eh = ["top", "right", "bottom", "left"], ti = ["start", "end"], ni = /* @__PURE__ */ Eh.reduce((e, t) => e.concat(t, t + "-" + ti[0], t + "-" + ti[1]), []), Le = Math.min, ne = Math.max, zt = Math.round, Et = Math.floor, pe = (e) => ({
3237
3237
  x: e,
3238
3238
  y: e
@@ -3413,7 +3413,7 @@ async function Hh(e, t) {
3413
3413
  y: r,
3414
3414
  width: s.floating.width,
3415
3415
  height: s.floating.height
3416
- } : s.reference, A = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(i.floating)), x = await (o.isElement == null ? void 0 : o.isElement(A)) ? await (o.getScale == null ? void 0 : o.getScale(A)) || {
3416
+ } : s.reference, A = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(i.floating)), P = await (o.isElement == null ? void 0 : o.isElement(A)) ? await (o.getScale == null ? void 0 : o.getScale(A)) || {
3417
3417
  x: 1,
3418
3418
  y: 1
3419
3419
  } : {
@@ -3426,10 +3426,10 @@ async function Hh(e, t) {
3426
3426
  strategy: l
3427
3427
  }) : y);
3428
3428
  return {
3429
- top: (b.top - C.top + p.top) / x.y,
3430
- bottom: (C.bottom - b.bottom + p.bottom) / x.y,
3431
- left: (b.left - C.left + p.left) / x.x,
3432
- right: (C.right - b.right + p.right) / x.x
3429
+ top: (b.top - C.top + p.top) / P.y,
3430
+ bottom: (C.bottom - b.bottom + p.bottom) / P.y,
3431
+ left: (b.left - C.left + p.left) / P.x,
3432
+ right: (C.right - b.right + p.right) / P.x
3433
3433
  };
3434
3434
  }
3435
3435
  const Vh = async (e, t, n) => {
@@ -3454,9 +3454,9 @@ const Vh = async (e, t, n) => {
3454
3454
  fn: y
3455
3455
  } = i[g], {
3456
3456
  x: A,
3457
- y: x,
3457
+ y: P,
3458
3458
  data: C,
3459
- reset: w
3459
+ reset: N
3460
3460
  } = await y({
3461
3461
  x: u,
3462
3462
  y: d,
@@ -3474,17 +3474,17 @@ const Vh = async (e, t, n) => {
3474
3474
  floating: t
3475
3475
  }
3476
3476
  });
3477
- u = A ?? u, d = x ?? d, h = {
3477
+ u = A ?? u, d = P ?? d, h = {
3478
3478
  ...h,
3479
3479
  [b]: {
3480
3480
  ...h[b],
3481
3481
  ...C
3482
3482
  }
3483
- }, w && p <= 50 && (p++, typeof w == "object" && (w.placement && (m = w.placement), w.rects && (c = w.rects === !0 ? await s.getElementRects({
3483
+ }, N && p <= 50 && (p++, typeof N == "object" && (N.placement && (m = N.placement), N.rects && (c = N.rects === !0 ? await s.getElementRects({
3484
3484
  reference: e,
3485
3485
  floating: t,
3486
3486
  strategy: r
3487
- }) : w.rects), {
3487
+ }) : N.rects), {
3488
3488
  x: u,
3489
3489
  y: d
3490
3490
  } = oi(c, m, l)), g = -1);
@@ -3517,10 +3517,10 @@ const Vh = async (e, t, n) => {
3517
3517
  const d = Ec(u), m = {
3518
3518
  x: n,
3519
3519
  y: a
3520
- }, h = vo(r), p = po(h), v = await s.getDimensions(c), g = h === "y", b = g ? "top" : "left", y = g ? "bottom" : "right", A = g ? "clientHeight" : "clientWidth", x = o.reference[p] + o.reference[h] - m[h] - o.floating[p], C = m[h] - o.reference[h], w = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(c));
3521
- let N = w ? w[A] : 0;
3522
- (!N || !await (s.isElement == null ? void 0 : s.isElement(w))) && (N = i.floating[A] || o.floating[p]);
3523
- const k = x / 2 - C / 2, T = N / 2 - v[p] / 2 - 1, _ = Le(d[b], T), P = Le(d[y], T), R = _, D = N - v[p] - P, q = N / 2 - v[p] / 2 + k, j = Yr(R, q, D), V = !l.arrow && le(r) != null && q !== j && o.reference[p] / 2 - (q < R ? _ : P) - v[p] / 2 < 0, G = V ? q < R ? q - R : q - D : 0;
3520
+ }, h = vo(r), p = po(h), v = await s.getDimensions(c), g = h === "y", b = g ? "top" : "left", y = g ? "bottom" : "right", A = g ? "clientHeight" : "clientWidth", P = o.reference[p] + o.reference[h] - m[h] - o.floating[p], C = m[h] - o.reference[h], N = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(c));
3521
+ let w = N ? N[A] : 0;
3522
+ (!w || !await (s.isElement == null ? void 0 : s.isElement(N))) && (w = i.floating[A] || o.floating[p]);
3523
+ const k = P / 2 - C / 2, T = w / 2 - v[p] / 2 - 1, _ = Le(d[b], T), x = Le(d[y], T), R = _, D = w - v[p] - x, q = w / 2 - v[p] / 2 + k, j = Yr(R, q, D), V = !l.arrow && le(r) != null && q !== j && o.reference[p] / 2 - (q < R ? _ : x) - v[p] / 2 < 0, G = V ? q < R ? q - R : q - D : 0;
3524
3524
  return {
3525
3525
  [h]: m[h] + G,
3526
3526
  data: {
@@ -3565,35 +3565,35 @@ const Gh = function(e) {
3565
3565
  placement: v[0]
3566
3566
  }
3567
3567
  };
3568
- const x = [g[be(y)], g[A[0]], g[A[1]]], C = [...((a = s.autoPlacement) == null ? void 0 : a.overflows) || [], {
3568
+ const P = [g[be(y)], g[A[0]], g[A[1]]], C = [...((a = s.autoPlacement) == null ? void 0 : a.overflows) || [], {
3569
3569
  placement: y,
3570
- overflows: x
3571
- }], w = v[b + 1];
3572
- if (w)
3570
+ overflows: P
3571
+ }], N = v[b + 1];
3572
+ if (N)
3573
3573
  return {
3574
3574
  data: {
3575
3575
  index: b + 1,
3576
3576
  overflows: C
3577
3577
  },
3578
3578
  reset: {
3579
- placement: w
3579
+ placement: N
3580
3580
  }
3581
3581
  };
3582
- const N = C.map((_) => {
3583
- const P = le(_.placement);
3584
- return [_.placement, P && u ? (
3582
+ const w = C.map((_) => {
3583
+ const x = le(_.placement);
3584
+ return [_.placement, x && u ? (
3585
3585
  // Check along the mainAxis and main crossAxis side.
3586
3586
  _.overflows.slice(0, 2).reduce((R, D) => R + D, 0)
3587
3587
  ) : (
3588
3588
  // Check only the mainAxis.
3589
3589
  _.overflows[0]
3590
3590
  ), _.overflows];
3591
- }).sort((_, P) => _[1] - P[1]), T = ((r = N.filter((_) => _[2].slice(
3591
+ }).sort((_, x) => _[1] - x[1]), T = ((r = w.filter((_) => _[2].slice(
3592
3592
  0,
3593
3593
  // Aligned placements should not check their opposite crossAxis
3594
3594
  // side.
3595
3595
  le(_[0]) ? 2 : 3
3596
- ).every((P) => P <= 0))[0]) == null ? void 0 : r[0]) || N[0][0];
3596
+ ).every((x) => x <= 0))[0]) == null ? void 0 : r[0]) || w[0][0];
3597
3597
  return T !== i ? {
3598
3598
  data: {
3599
3599
  index: b + 1,
@@ -3629,20 +3629,20 @@ const Gh = function(e) {
3629
3629
  } = Ue(e, t);
3630
3630
  if ((n = o.arrow) != null && n.alignmentOffset)
3631
3631
  return {};
3632
- const b = be(r), y = Se(i), A = be(i) === i, x = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), C = m || (A || !v ? [Ht(i)] : Dh(i)), w = p !== "none";
3633
- !m && w && C.push(...zh(i, v, p, x));
3634
- const N = [i, ...C], k = await l.detectOverflow(t, g), T = [];
3632
+ const b = be(r), y = Se(i), A = be(i) === i, P = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), C = m || (A || !v ? [Ht(i)] : Dh(i)), N = p !== "none";
3633
+ !m && N && C.push(...zh(i, v, p, P));
3634
+ const w = [i, ...C], k = await l.detectOverflow(t, g), T = [];
3635
3635
  let _ = ((a = o.flip) == null ? void 0 : a.overflows) || [];
3636
3636
  if (u && T.push(k[b]), d) {
3637
- const q = Lc(r, s, x);
3637
+ const q = Lc(r, s, P);
3638
3638
  T.push(k[q[0]], k[q[1]]);
3639
3639
  }
3640
3640
  if (_ = [..._, {
3641
3641
  placement: r,
3642
3642
  overflows: T
3643
3643
  }], !T.every((q) => q <= 0)) {
3644
- var P, R;
3645
- const q = (((P = o.flip) == null ? void 0 : P.index) || 0) + 1, j = N[q];
3644
+ var x, R;
3645
+ const q = (((x = o.flip) == null ? void 0 : x.index) || 0) + 1, j = w[q];
3646
3646
  if (j && (!(d === "alignment" ? y !== Se(j) : !1) || // We leave the current main axis only if every placement on that axis
3647
3647
  // overflows the main axis.
3648
3648
  _.every((z) => Se(z.placement) === y ? z.overflows[0] > 0 : !0)))
@@ -3661,7 +3661,7 @@ const Gh = function(e) {
3661
3661
  case "bestFit": {
3662
3662
  var D;
3663
3663
  const G = (D = _.filter((z) => {
3664
- if (w) {
3664
+ if (N) {
3665
3665
  const Y = Se(z.placement);
3666
3666
  return Y === y || // Create a bias to the `y` side axis due to horizontal
3667
3667
  // reading directions favoring greater width.
@@ -3768,12 +3768,12 @@ const Zh = function(e) {
3768
3768
  }, d = await o.detectOverflow(t, c), m = Se(be(r)), h = Ic(m);
3769
3769
  let p = u[h], v = u[m];
3770
3770
  if (s) {
3771
- const b = h === "y" ? "top" : "left", y = h === "y" ? "bottom" : "right", A = p + d[b], x = p - d[y];
3772
- p = Yr(A, p, x);
3771
+ const b = h === "y" ? "top" : "left", y = h === "y" ? "bottom" : "right", A = p + d[b], P = p - d[y];
3772
+ p = Yr(A, p, P);
3773
3773
  }
3774
3774
  if (i) {
3775
- const b = m === "y" ? "top" : "left", y = m === "y" ? "bottom" : "right", A = v + d[b], x = v - d[y];
3776
- v = Yr(A, v, x);
3775
+ const b = m === "y" ? "top" : "left", y = m === "y" ? "bottom" : "right", A = v + d[b], P = v - d[y];
3776
+ v = Yr(A, v, P);
3777
3777
  }
3778
3778
  const g = l.fn({
3779
3779
  ...t,
@@ -3814,16 +3814,16 @@ const Zh = function(e) {
3814
3814
  } = o.floating;
3815
3815
  let g, b;
3816
3816
  d === "top" || d === "bottom" ? (g = d, b = m === (await (s.isRTL == null ? void 0 : s.isRTL(i.floating)) ? "start" : "end") ? "left" : "right") : (b = d, g = m === "end" ? "top" : "bottom");
3817
- const y = v - u.top - u.bottom, A = p - u.left - u.right, x = Le(v - u[g], y), C = Le(p - u[b], A), w = !t.middlewareData.shift;
3818
- let N = x, k = C;
3819
- if ((n = t.middlewareData.shift) != null && n.enabled.x && (k = A), (a = t.middlewareData.shift) != null && a.enabled.y && (N = y), w && !m) {
3820
- const _ = ne(u.left, 0), P = ne(u.right, 0), R = ne(u.top, 0), D = ne(u.bottom, 0);
3821
- h ? k = p - 2 * (_ !== 0 || P !== 0 ? _ + P : ne(u.left, u.right)) : N = v - 2 * (R !== 0 || D !== 0 ? R + D : ne(u.top, u.bottom));
3817
+ const y = v - u.top - u.bottom, A = p - u.left - u.right, P = Le(v - u[g], y), C = Le(p - u[b], A), N = !t.middlewareData.shift;
3818
+ let w = P, k = C;
3819
+ if ((n = t.middlewareData.shift) != null && n.enabled.x && (k = A), (a = t.middlewareData.shift) != null && a.enabled.y && (w = y), N && !m) {
3820
+ const _ = ne(u.left, 0), x = ne(u.right, 0), R = ne(u.top, 0), D = ne(u.bottom, 0);
3821
+ h ? k = p - 2 * (_ !== 0 || x !== 0 ? _ + x : ne(u.left, u.right)) : w = v - 2 * (R !== 0 || D !== 0 ? R + D : ne(u.top, u.bottom));
3822
3822
  }
3823
3823
  await l({
3824
3824
  ...t,
3825
3825
  availableWidth: k,
3826
- availableHeight: N
3826
+ availableHeight: w
3827
3827
  });
3828
3828
  const T = await s.getDimensions(i.floating);
3829
3829
  return p !== T.width || v !== T.height ? {
@@ -3998,8 +3998,8 @@ function Fe(e, t, n, a) {
3998
3998
  const m = re(o), h = a && de(a) ? re(a) : a;
3999
3999
  let p = m, v = Zr(p);
4000
4000
  for (; v && a && h !== p; ) {
4001
- const g = Je(v), b = v.getBoundingClientRect(), y = fe(v), A = b.left + (v.clientLeft + parseFloat(y.paddingLeft)) * g.x, x = b.top + (v.clientTop + parseFloat(y.paddingTop)) * g.y;
4002
- l *= g.x, c *= g.y, u *= g.x, d *= g.y, l += A, c += x, p = re(v), v = Zr(p);
4001
+ const g = Je(v), b = v.getBoundingClientRect(), y = fe(v), A = b.left + (v.clientLeft + parseFloat(y.paddingLeft)) * g.x, P = b.top + (v.clientTop + parseFloat(y.paddingTop)) * g.y;
4002
+ l *= g.x, c *= g.y, u *= g.x, d *= g.y, l += A, c += P, p = re(v), v = Zr(p);
4003
4003
  }
4004
4004
  }
4005
4005
  return Vt({
@@ -4239,7 +4239,7 @@ const Sm = {
4239
4239
  function qc(e, t) {
4240
4240
  return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
4241
4241
  }
4242
- function Pm(e, t) {
4242
+ function xm(e, t) {
4243
4243
  let n = null, a;
4244
4244
  const r = ye(e);
4245
4245
  function o() {
@@ -4260,17 +4260,17 @@ function Pm(e, t) {
4260
4260
  rootMargin: -p + "px " + -v + "px " + -g + "px " + -b + "px",
4261
4261
  threshold: ne(0, Le(1, l)) || 1
4262
4262
  };
4263
- let x = !0;
4264
- function C(w) {
4265
- const N = w[0].intersectionRatio;
4266
- if (N !== l) {
4267
- if (!x)
4263
+ let P = !0;
4264
+ function C(N) {
4265
+ const w = N[0].intersectionRatio;
4266
+ if (w !== l) {
4267
+ if (!P)
4268
4268
  return s();
4269
- N ? s(!1, N) : a = setTimeout(() => {
4269
+ w ? s(!1, w) : a = setTimeout(() => {
4270
4270
  s(!1, 1e-7);
4271
4271
  }, 1e3);
4272
4272
  }
4273
- N === 1 && !qc(c, e.getBoundingClientRect()) && s(), x = !1;
4273
+ w === 1 && !qc(c, e.getBoundingClientRect()) && s(), P = !1;
4274
4274
  }
4275
4275
  try {
4276
4276
  n = new IntersectionObserver(C, {
@@ -4299,7 +4299,7 @@ function zc(e, t, n, a) {
4299
4299
  passive: !0
4300
4300
  }), o && b.addEventListener("resize", n);
4301
4301
  });
4302
- const d = c && i ? Pm(c, n) : null;
4302
+ const d = c && i ? xm(c, n) : null;
4303
4303
  let m = -1, h = null;
4304
4304
  s && (h = new ResizeObserver((b) => {
4305
4305
  let [y] = b;
@@ -4321,7 +4321,7 @@ function zc(e, t, n, a) {
4321
4321
  }), d?.(), (b = h) == null || b.disconnect(), h = null, l && cancelAnimationFrame(p);
4322
4322
  };
4323
4323
  }
4324
- const jc = Zh, xm = Gh, Cm = Jh, Om = Kh, km = Qh, Tm = Wh, _m = (e, t, n) => {
4324
+ const jc = Zh, Pm = Gh, Cm = Jh, Om = Kh, km = Qh, Tm = Wh, _m = (e, t, n) => {
4325
4325
  const a = /* @__PURE__ */ new Map(), r = {
4326
4326
  platform: Sm,
4327
4327
  ...n
@@ -4357,28 +4357,28 @@ function di(e, t) {
4357
4357
  function Vc(e, t, n) {
4358
4358
  n === void 0 && (n = {});
4359
4359
  const a = n.whileElementsMounted, r = O(() => {
4360
- var N;
4361
- return (N = ut(n.open)) != null ? N : !0;
4360
+ var w;
4361
+ return (w = ut(n.open)) != null ? w : !0;
4362
4362
  }), o = O(() => ut(n.middleware)), s = O(() => {
4363
- var N;
4364
- return (N = ut(n.placement)) != null ? N : "bottom";
4363
+ var w;
4364
+ return (w = ut(n.placement)) != null ? w : "bottom";
4365
4365
  }), i = O(() => {
4366
- var N;
4367
- return (N = ut(n.strategy)) != null ? N : "absolute";
4366
+ var w;
4367
+ return (w = ut(n.strategy)) != null ? w : "absolute";
4368
4368
  }), l = O(() => {
4369
- var N;
4370
- return (N = ut(n.transform)) != null ? N : !0;
4369
+ var w;
4370
+ return (w = ut(n.transform)) != null ? w : !0;
4371
4371
  }), c = O(() => ui(e.value)), u = O(() => ui(t.value)), d = B(0), m = B(0), h = B(i.value), p = B(s.value), v = Ie({}), g = B(!1), b = O(() => {
4372
- const N = {
4372
+ const w = {
4373
4373
  position: h.value,
4374
4374
  left: "0",
4375
4375
  top: "0"
4376
4376
  };
4377
4377
  if (!u.value)
4378
- return N;
4378
+ return w;
4379
4379
  const k = di(u.value, d.value), T = di(u.value, m.value);
4380
4380
  return l.value ? {
4381
- ...N,
4381
+ ...w,
4382
4382
  transform: "translate(" + k + "px, " + T + "px)",
4383
4383
  ...Hc(u.value) >= 1.5 && {
4384
4384
  willChange: "transform"
@@ -4393,20 +4393,20 @@ function Vc(e, t, n) {
4393
4393
  function A() {
4394
4394
  if (c.value == null || u.value == null)
4395
4395
  return;
4396
- const N = r.value;
4396
+ const w = r.value;
4397
4397
  _m(c.value, u.value, {
4398
4398
  middleware: o.value,
4399
4399
  placement: s.value,
4400
4400
  strategy: i.value
4401
4401
  }).then((k) => {
4402
- d.value = k.x, m.value = k.y, h.value = k.strategy, p.value = k.placement, v.value = k.middlewareData, g.value = N !== !1;
4402
+ d.value = k.x, m.value = k.y, h.value = k.strategy, p.value = k.placement, v.value = k.middlewareData, g.value = w !== !1;
4403
4403
  });
4404
4404
  }
4405
- function x() {
4405
+ function P() {
4406
4406
  typeof y == "function" && (y(), y = void 0);
4407
4407
  }
4408
4408
  function C() {
4409
- if (x(), a === void 0) {
4409
+ if (P(), a === void 0) {
4410
4410
  A();
4411
4411
  return;
4412
4412
  }
@@ -4415,16 +4415,16 @@ function Vc(e, t, n) {
4415
4415
  return;
4416
4416
  }
4417
4417
  }
4418
- function w() {
4418
+ function N() {
4419
4419
  r.value || (g.value = !1);
4420
4420
  }
4421
4421
  return K([o, s, i, r], A, {
4422
4422
  flush: "sync"
4423
4423
  }), K([c, u], C, {
4424
4424
  flush: "sync"
4425
- }), K(r, w, {
4425
+ }), K(r, N, {
4426
4426
  flush: "sync"
4427
- }), Fl() && ql(x), {
4427
+ }), Fl() && ql(P), {
4428
4428
  x: Ke(d),
4429
4429
  y: Ke(m),
4430
4430
  strategy: Ke(h),
@@ -4505,8 +4505,8 @@ function Dm(e) {
4505
4505
  s = new AbortController();
4506
4506
  const { signal: y } = s;
4507
4507
  if (c) {
4508
- const A = (x) => {
4509
- r && (Date.now() - r >= d ? (x.stopPropagation(), x.preventDefault(), b.focus(), v()) : g());
4508
+ const A = (P) => {
4509
+ r && (Date.now() - r >= d ? (P.stopPropagation(), P.preventDefault(), b.focus(), v()) : g());
4510
4510
  };
4511
4511
  b.addEventListener(u ? "touchstart" : "mousedown", h, { signal: y }), b.addEventListener(u ? "touchend" : "mouseup", A, { signal: y });
4512
4512
  } else
@@ -4597,7 +4597,7 @@ const un = /* @__PURE__ */ L((e, {
4597
4597
  } = Bm(O(() => e.delay), r), v = O(() => (m.value || e.forceOpen) && !!e.label), g = O(() => !!e.label && (v.value || i.value === "hide")), b = O(() => !v.value && i.value === "hide");
4598
4598
  return en(O(() => v.value ? () => p.value?.close() : void 0)), Jf(), () => {
4599
4599
  let y;
4600
- const A = d.value ?? s.value, x = qm({
4600
+ const A = d.value ?? s.value, P = qm({
4601
4601
  slotContent: t.default?.(),
4602
4602
  setAnchorElement: (C) => {
4603
4603
  r.value = C?.$el || C;
@@ -4607,10 +4607,10 @@ const un = /* @__PURE__ */ L((e, {
4607
4607
  label: e.label,
4608
4608
  ariaLinkMode: l.value
4609
4609
  });
4610
- return f(ee, null, [x, g.value && f(Kt, null, zm(y = No({
4610
+ return f(ee, null, [P, g.value && f(Kt, null, zm(y = No({
4611
4611
  ref: (C) => {
4612
- const w = C?.$el || C;
4613
- o.value = w, h(w);
4612
+ const N = C?.$el || C;
4613
+ o.value = N, h(N);
4614
4614
  },
4615
4615
  id: n,
4616
4616
  label: e.label,
@@ -4655,7 +4655,7 @@ const un = /* @__PURE__ */ L((e, {
4655
4655
  return f(un, S({
4656
4656
  label: p ? "" : e.label
4657
4657
  }, h), {
4658
- default: () => [f(xt, S(v, {
4658
+ default: () => [f(Pt, S(v, {
4659
4659
  ref: d,
4660
4660
  linkAs: He(m)
4661
4661
  }, l.value, {
@@ -4785,7 +4785,7 @@ const Um = /* @__PURE__ */ L((e, {
4785
4785
  },
4786
4786
  className: a.value
4787
4787
  }, {
4788
- Button: Pc,
4788
+ Button: xc,
4789
4789
  Tooltip: un
4790
4790
  });
4791
4791
  };
@@ -4846,34 +4846,35 @@ const Km = (e, {
4846
4846
  }), null);
4847
4847
  };
4848
4848
  function Xm(e, t) {
4849
- const { filter: n = "auto", onSelect: a } = t, r = t.openOnFocus ?? n === "off", o = n === "auto", s = () => e.disabled || e.getAttribute("aria-disabled") === "true";
4850
- let i = !1;
4851
- const c = _c({ onSelect: (u, d) => {
4852
- a(u, d), d.isMultiSelect || d.focusNav?.clear(), i = !1, d.setIsOpen(!0), o && d.setFilter("");
4849
+ let n;
4850
+ const { filter: a = "auto", onSelect: r } = t, o = t.openOnFocus ?? a === "off", s = a === "auto", i = () => e.disabled || e.getAttribute("aria-disabled") === "true";
4851
+ let l = !1;
4852
+ return n = _c({ onSelect: (u) => {
4853
+ r?.(u), n.isMultiSelect || n.focusNav?.clear(), l = !1, n.setIsOpen(!0), s && n.setFilter("");
4853
4854
  } }, { wrapNavigation: !0 }, (u, d) => {
4854
4855
  d.addEventListener("abort", () => {
4855
- i = !1;
4856
+ l = !1;
4856
4857
  }), e.addEventListener(
4857
4858
  "input",
4858
4859
  (h) => {
4859
- h instanceof InputEvent && (s() || (u.focusNav?.clear(), i = !0, u.setIsOpen(!0), o && u.setFilter(e.value)));
4860
+ h instanceof InputEvent && (i() || (u.focusNav?.clear(), l = !0, u.setIsOpen(!0), s && u.setFilter(e.value)));
4860
4861
  },
4861
4862
  { signal: d }
4862
4863
  ), e.addEventListener(
4863
4864
  "focus",
4864
4865
  () => {
4865
- s() || (u.focusNav?.clear(), r && u.setIsOpen(!0));
4866
+ i() || (u.focusNav?.clear(), o && u.setIsOpen(!0));
4866
4867
  },
4867
4868
  { signal: d }
4868
4869
  ), e.addEventListener(
4869
4870
  "click",
4870
4871
  () => {
4871
- s() || u.setIsOpen(!0);
4872
+ i() || u.setIsOpen(!0);
4872
4873
  },
4873
4874
  { signal: d }
4874
4875
  );
4875
4876
  const m = u.subscribe("open", (h) => {
4876
- h && o && i && u.setFilter(e.value);
4877
+ h && s && l && u.setFilter(e.value);
4877
4878
  });
4878
4879
  return d.addEventListener("abort", m), (h) => {
4879
4880
  const p = u.focusNav;
@@ -4891,8 +4892,7 @@ function Xm(e, t) {
4891
4892
  return !1;
4892
4893
  }
4893
4894
  };
4894
- });
4895
- return c.registerTrigger(e), c;
4895
+ }), n.registerTrigger(e), n;
4896
4896
  }
4897
4897
  const Yc = "lumx-text-field", Zc = `${Yc}__input-native`, {
4898
4898
  block: Ym
@@ -5071,7 +5071,7 @@ const up = {
5071
5071
  } = F(eu), tu = {
5072
5072
  kind: Q.info
5073
5073
  };
5074
- function Pe(e) {
5074
+ function xe(e) {
5075
5075
  const {
5076
5076
  children: t,
5077
5077
  className: n,
@@ -5091,9 +5091,9 @@ function Pe(e) {
5091
5091
  }))
5092
5092
  }), [t]);
5093
5093
  }
5094
- Pe.displayName = dp;
5095
- Pe.className = eu;
5096
- Pe.defaultProps = tu;
5094
+ xe.displayName = dp;
5095
+ xe.className = eu;
5096
+ xe.defaultProps = tu;
5097
5097
  const {
5098
5098
  block: mp,
5099
5099
  element: se
@@ -5128,16 +5128,16 @@ const vp = (e) => {
5128
5128
  placeholder: b,
5129
5129
  textFieldRef: y,
5130
5130
  helperId: A,
5131
- errorId: x,
5131
+ errorId: P,
5132
5132
  labelId: C,
5133
- theme: w,
5134
- value: N,
5133
+ theme: N,
5134
+ value: w,
5135
5135
  afterElement: k,
5136
5136
  input: T,
5137
5137
  isFocus: _,
5138
- IconButton: P,
5138
+ IconButton: x,
5139
5139
  ref: R
5140
- } = e, D = (N || "").length, q = D > 0;
5140
+ } = e, D = (w || "").length, q = D > 0;
5141
5141
  return f("div", {
5142
5142
  ref: R,
5143
5143
  className: I(n, mp({
@@ -5149,11 +5149,11 @@ const vp = (e) => {
5149
5149
  "has-label": !!m,
5150
5150
  "has-placeholder": !!b,
5151
5151
  "has-textarea": g,
5152
- "has-value": !!N,
5152
+ "has-value": !!w,
5153
5153
  "is-disabled": p,
5154
5154
  "is-focus": _ || o,
5155
5155
  "is-valid": d,
5156
- [`theme-${w}`]: !!w
5156
+ [`theme-${N}`]: !!N
5157
5157
  }))
5158
5158
  }, [(m || v) && f("div", {
5159
5159
  className: se("header")
@@ -5163,7 +5163,7 @@ const vp = (e) => {
5163
5163
  htmlFor: c,
5164
5164
  className: se("label"),
5165
5165
  isRequired: u,
5166
- theme: w,
5166
+ theme: N,
5167
5167
  children: m
5168
5168
  }), v && f("div", {
5169
5169
  className: se("char-counter")
@@ -5175,7 +5175,7 @@ const vp = (e) => {
5175
5175
  ref: y
5176
5176
  }, [l && Z({
5177
5177
  className: se("input-icon"),
5178
- color: w === ue.dark ? "light" : void 0,
5178
+ color: N === ue.dark ? "light" : void 0,
5179
5179
  icon: l,
5180
5180
  size: H.xs
5181
5181
  }), t ? f("div", {
@@ -5184,29 +5184,29 @@ const vp = (e) => {
5184
5184
  className: se("input-wrapper")
5185
5185
  }, [T]), (d || s) && Z({
5186
5186
  className: se("input-validity"),
5187
- color: w === ue.dark ? "light" : void 0,
5187
+ color: N === ue.dark ? "light" : void 0,
5188
5188
  icon: d ? ao : yt,
5189
5189
  size: H.xxs
5190
- }), a && q && !p && f(P, S({
5190
+ }), a && q && !p && f(x, S({
5191
5191
  "aria-describedby": C
5192
5192
  }, a, {
5193
5193
  className: se("input-clear"),
5194
5194
  icon: Qu,
5195
5195
  emphasis: me.low,
5196
5196
  size: H.s,
5197
- theme: w,
5197
+ theme: N,
5198
5198
  type: "button"
5199
5199
  }), null), k && f("div", {
5200
5200
  className: se("after-element")
5201
- }, [k])]), s && r && Pe({
5201
+ }, [k])]), s && r && xe({
5202
5202
  children: r,
5203
5203
  className: se("helper"),
5204
5204
  kind: Q.error,
5205
- theme: w,
5206
- id: x
5207
- }), i && Pe({
5205
+ theme: N,
5206
+ id: P
5207
+ }), i && xe({
5208
5208
  className: se("helper"),
5209
- theme: w,
5209
+ theme: N,
5210
5210
  id: A,
5211
5211
  children: i
5212
5212
  })]);
@@ -5237,10 +5237,10 @@ const vp = (e) => {
5237
5237
  }, {
5238
5238
  flush: "sync"
5239
5239
  });
5240
- const m = O(() => pp(e.helper, e.error, s, n["aria-describedby"] || void 0, e.label)), h = (y, A, x) => {
5241
- t("change", y, A, x);
5242
- }, p = (y, A, x) => {
5243
- t("input", y, A, x);
5240
+ const m = O(() => pp(e.helper, e.error, s, n["aria-describedby"] || void 0, e.label)), h = (y, A, P) => {
5241
+ t("change", y, A, P);
5242
+ }, p = (y, A, P) => {
5243
+ t("input", y, A, P);
5244
5244
  }, v = (y) => {
5245
5245
  l.value = !0, t("focus", y);
5246
5246
  }, g = (y) => {
@@ -5251,15 +5251,15 @@ const vp = (e) => {
5251
5251
  return () => {
5252
5252
  const y = e.theme || r.value, {
5253
5253
  helperId: A,
5254
- errorId: x,
5254
+ errorId: P,
5255
5255
  describedById: C,
5256
- labelId: w
5256
+ labelId: N
5257
5257
  } = m.value, {
5258
- class: N,
5258
+ class: w,
5259
5259
  className: k,
5260
5260
  "aria-describedby": T,
5261
5261
  disabled: _,
5262
- isDisabled: P,
5262
+ isDisabled: x,
5263
5263
  "aria-disabled": R,
5264
5264
  ariaDisabled: D,
5265
5265
  onChange: q,
@@ -5313,8 +5313,8 @@ const vp = (e) => {
5313
5313
  id: i.value,
5314
5314
  isAnyDisabled: c.value,
5315
5315
  helperId: A,
5316
- labelId: w,
5317
- errorId: x,
5316
+ labelId: N,
5317
+ errorId: P,
5318
5318
  isFocus: l.value,
5319
5319
  input: It,
5320
5320
  textFieldRef: e.textFieldRef,
@@ -5367,28 +5367,28 @@ const vp = (e) => {
5367
5367
  class: b,
5368
5368
  ...y
5369
5369
  } = e, A = {
5370
- onChange: (w, N, k) => t("change", w, N, k),
5371
- onInput: (w) => t("change", w),
5372
- onFocus: (w) => t("focus", w),
5373
- onBlur: (w) => t("blur", w),
5374
- onClear: (w) => t("clear", w)
5370
+ onChange: (N, w, k) => t("change", N, w, k),
5371
+ onInput: (N) => t("change", N),
5372
+ onFocus: (N) => t("focus", N),
5373
+ onBlur: (N) => t("blur", N),
5374
+ onClear: (N) => t("clear", N)
5375
5375
  }, {
5376
- ariaDisabled: x,
5376
+ ariaDisabled: P,
5377
5377
  ...C
5378
5378
  } = y;
5379
5379
  return Km({
5380
5380
  ...n,
5381
5381
  ...C,
5382
- "aria-disabled": x ?? n.ariaDisabled,
5382
+ "aria-disabled": P ?? n.ariaDisabled,
5383
5383
  ...A,
5384
5384
  listboxId: r,
5385
5385
  isOpen: l.value,
5386
5386
  filter: v,
5387
- textFieldRef: (w) => {
5388
- o.value = w;
5387
+ textFieldRef: (N) => {
5388
+ o.value = N, e.textFieldRef?.(N);
5389
5389
  },
5390
- inputRef: (w) => {
5391
- u.value = w, n.inputRef?.(w);
5390
+ inputRef: (N) => {
5391
+ u.value = N, e.inputRef?.(N);
5392
5392
  },
5393
5393
  toggleButtonProps: h,
5394
5394
  handleToggle: m,
@@ -5401,7 +5401,7 @@ const vp = (e) => {
5401
5401
  }, {
5402
5402
  name: "LumxComboboxInput",
5403
5403
  inheritAttrs: !1,
5404
- props: E()("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", "toggleButtonProps", "onSelect", "filter", "openOnFocus"),
5404
+ props: E()("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"),
5405
5405
  emits: {
5406
5406
  select: (e) => !!e,
5407
5407
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
@@ -5433,7 +5433,7 @@ const vp = (e) => {
5433
5433
  Tt.displayName = Ap;
5434
5434
  Tt.className = nu;
5435
5435
  Tt.defaultProps = wp;
5436
- const Sp = "lumx-combobox-list", Pp = (e) => {
5436
+ const Sp = "lumx-combobox-list", xp = (e) => {
5437
5437
  const {
5438
5438
  "aria-label": t,
5439
5439
  "aria-busy": n,
@@ -5455,12 +5455,12 @@ const Sp = "lumx-combobox-list", Pp = (e) => {
5455
5455
  "aria-busy": n || void 0,
5456
5456
  children: a
5457
5457
  });
5458
- }, au = /* @__PURE__ */ Symbol("combobox-list-context"), xp = { type: "listbox" };
5458
+ }, au = /* @__PURE__ */ Symbol("combobox-list-context"), Pp = { type: "listbox" };
5459
5459
  function Cp(e) {
5460
5460
  ze(au, e);
5461
5461
  }
5462
5462
  function Op() {
5463
- return qe(au, xp);
5463
+ return qe(au, Pp);
5464
5464
  }
5465
5465
  const kp = /* @__PURE__ */ L((e, {
5466
5466
  slots: t
@@ -5478,7 +5478,7 @@ const kp = /* @__PURE__ */ L((e, {
5478
5478
  const i = kt("loadingChange", !1);
5479
5479
  return () => {
5480
5480
  const l = t.default?.(), c = n["aria-label"] ?? "", u = n["aria-multiselectable"];
5481
- return Pp({
5481
+ return xp({
5482
5482
  "aria-label": c,
5483
5483
  "aria-multiselectable": u || void 0,
5484
5484
  "aria-busy": i.value || void 0,
@@ -5596,8 +5596,8 @@ const Lp = "lumx-combobox-option", {
5596
5596
  value: b,
5597
5597
  ...y
5598
5598
  } = e;
5599
- let A, x;
5600
- l || (A = d ? "gridcell" : "option", x = d ? "row" : "none");
5599
+ let A, P;
5600
+ l || (A = d ? "gridcell" : "option", P = d ? "row" : "none");
5601
5601
  const C = su({
5602
5602
  as: "button",
5603
5603
  ...p,
@@ -5610,7 +5610,7 @@ const Lp = "lumx-combobox-option", {
5610
5610
  "aria-disabled": u ? "true" : void 0,
5611
5611
  role: A,
5612
5612
  children: r
5613
- }), w = t && g && !l ? f(t, g, Ip(C) ? C : {
5613
+ }), N = t && g && !l ? f(t, g, Ip(C) ? C : {
5614
5614
  default: () => [C]
5615
5615
  }) : C;
5616
5616
  return it({
@@ -5621,8 +5621,8 @@ const Lp = "lumx-combobox-option", {
5621
5621
  className: l ? void 0 : I(o, Ep()),
5622
5622
  before: n,
5623
5623
  after: a,
5624
- role: x,
5625
- children: f(ee, null, [w, s && f("p", S({
5624
+ role: P,
5625
+ children: f(ee, null, [N, s && f("p", S({
5626
5626
  id: i
5627
5627
  }, Nc({
5628
5628
  className: hi("description"),
@@ -5845,11 +5845,11 @@ const Yp = "lumx-popover", {
5845
5845
  usePortal: b = Bt.usePortal,
5846
5846
  clickAwayCallback: y,
5847
5847
  clickAwayRefs: A,
5848
- unmountSentinel: x,
5848
+ unmountSentinel: P,
5849
5849
  // Forwarded props
5850
5850
  ...C
5851
- } = e, w = !u && i === "hide", N = u || i === "hide", k = r, T = Math.min(l || 0, 5);
5852
- return N ? f(t, {
5851
+ } = e, N = !u && i === "hide", w = u || i === "hide", k = r, T = Math.min(l || 0, 5);
5852
+ return w ? f(t, {
5853
5853
  enabled: b
5854
5854
  }, {
5855
5855
  default: () => [f(k, S(C, {
@@ -5858,19 +5858,19 @@ const Yp = "lumx-popover", {
5858
5858
  [`theme-${p}`]: !!p,
5859
5859
  [`elevation-${T}`]: !!T,
5860
5860
  [`position-${d}`]: !!d,
5861
- "is-hidden": !!w
5861
+ "is-hidden": !!N
5862
5862
  })),
5863
- style: w ? void 0 : m,
5863
+ style: N ? void 0 : m,
5864
5864
  "data-popper-placement": d
5865
5865
  }), {
5866
- default: () => [x, f(n, {
5867
- callback: !w && y,
5866
+ default: () => [P, f(n, {
5867
+ callback: !N && y,
5868
5868
  childrenRefs: A
5869
5869
  }, {
5870
5870
  default: () => [c && f("div", {
5871
5871
  ref: g,
5872
5872
  className: Jp("arrow"),
5873
- style: w ? void 0 : h
5873
+ style: N ? void 0 : h
5874
5874
  }, [f("svg", {
5875
5875
  viewBox: "0 0 14 14",
5876
5876
  "aria-hidden": !0
@@ -5895,7 +5895,7 @@ function tv(e) {
5895
5895
  function nv(e) {
5896
5896
  const { offset: t, hasArrow: n, fitWidth: a, fitWithinViewportHeight: r, boundary: o, parsedPlacement: s, arrowElement: i } = e, l = [], c = (t?.away ?? 0) + (n ? Ea : 0), u = t?.along ?? 0;
5897
5897
  return l.push(jc({ mainAxis: c, crossAxis: u })), s.isAuto ? l.push(
5898
- xm({ ...o ? { boundary: o } : {}, alignment: s.autoAlignment })
5898
+ Pm({ ...o ? { boundary: o } : {}, alignment: s.autoAlignment })
5899
5899
  ) : (l.push(Om(o ? { boundary: o } : {})), l.push(Cm(o ? { boundary: o } : {}))), (a || r) && l.push(
5900
5900
  km({
5901
5901
  ...o ? { boundary: o } : {},
@@ -6227,10 +6227,10 @@ function yv() {
6227
6227
  return $a = t, $a;
6228
6228
  }
6229
6229
  var Av = yv();
6230
- const Nv = /* @__PURE__ */ xe(Av), wv = "lumx-flex-box", {
6230
+ const Nv = /* @__PURE__ */ Pe(Av), wv = "lumx-flex-box", {
6231
6231
  block: Sv
6232
6232
  } = F(wv);
6233
- function Pv(e) {
6233
+ function xv(e) {
6234
6234
  const {
6235
6235
  className: t,
6236
6236
  fillSpace: n,
@@ -6257,12 +6257,12 @@ function Pv(e) {
6257
6257
  }))
6258
6258
  };
6259
6259
  }
6260
- const Po = /* @__PURE__ */ L((e, {
6260
+ const xo = /* @__PURE__ */ L((e, {
6261
6261
  slots: t
6262
6262
  }) => {
6263
6263
  const n = M(), a = $(() => e.class);
6264
6264
  return () => {
6265
- const r = e.as || "div", o = Pv({
6265
+ const r = e.as || "div", o = xv({
6266
6266
  ...e,
6267
6267
  ...n,
6268
6268
  className: a.value,
@@ -6278,7 +6278,7 @@ const Po = /* @__PURE__ */ L((e, {
6278
6278
  inheritAttrs: !1,
6279
6279
  // Redefine properties so that they come in as `props` on the `defineComponent` function
6280
6280
  props: E()("as", "fillSpace", "gap", "horizontalAlign", "marginAuto", "noShrink", "orientation", "verticalAlign", "wrap", "class")
6281
- }), xv = /* @__PURE__ */ L((e, {
6281
+ }), Pv = /* @__PURE__ */ L((e, {
6282
6282
  slots: t
6283
6283
  }) => {
6284
6284
  const n = $(() => e.class), {
@@ -6301,7 +6301,7 @@ const Po = /* @__PURE__ */ L((e, {
6301
6301
  handleClose: () => o(!1)
6302
6302
  }, {
6303
6303
  Popover: So,
6304
- FlexBox: Po
6304
+ FlexBox: xo
6305
6305
  });
6306
6306
  };
6307
6307
  }, {
@@ -6699,7 +6699,7 @@ const Wv = "lumx-generic-block", {
6699
6699
  } = e;
6700
6700
  return f(Gv, S(c, n, {
6701
6701
  className: a.value,
6702
- FlexBox: Po,
6702
+ FlexBox: xo,
6703
6703
  figure: r,
6704
6704
  content: o,
6705
6705
  actions: s,
@@ -6798,10 +6798,10 @@ function Qv() {
6798
6798
  }
6799
6799
  return Ha = a, Ha;
6800
6800
  }
6801
- var Va, Pi;
6801
+ var Va, xi;
6802
6802
  function eb() {
6803
- if (Pi) return Va;
6804
- Pi = 1;
6803
+ if (xi) return Va;
6804
+ xi = 1;
6805
6805
  var e = pn(), t = "__lodash_hash_undefined__";
6806
6806
  function n(a, r) {
6807
6807
  var o = this.__data__;
@@ -6809,10 +6809,10 @@ function eb() {
6809
6809
  }
6810
6810
  return Va = n, Va;
6811
6811
  }
6812
- var Wa, xi;
6812
+ var Wa, Pi;
6813
6813
  function tb() {
6814
- if (xi) return Wa;
6815
- xi = 1;
6814
+ if (Pi) return Wa;
6815
+ Pi = 1;
6816
6816
  var e = Yv(), t = Zv(), n = Jv(), a = Qv(), r = eb();
6817
6817
  function o(s) {
6818
6818
  var i = -1, l = s == null ? 0 : s.length;
@@ -7087,7 +7087,7 @@ function gn() {
7087
7087
  return hr = r, hr;
7088
7088
  }
7089
7089
  var mr, Ki;
7090
- function xo() {
7090
+ function Po() {
7091
7091
  if (Ki) return mr;
7092
7092
  Ki = 1;
7093
7093
  var e = mn();
@@ -7103,7 +7103,7 @@ var pr, Xi;
7103
7103
  function Ab() {
7104
7104
  if (Xi) return pr;
7105
7105
  Xi = 1;
7106
- var e = gn(), t = xo();
7106
+ var e = gn(), t = Po();
7107
7107
  function n(a, r) {
7108
7108
  r = e(r, a);
7109
7109
  for (var o = 0, s = r.length; a != null && o < s; )
@@ -7153,7 +7153,7 @@ var yr, Qi;
7153
7153
  function vu() {
7154
7154
  if (Qi) return yr;
7155
7155
  Qi = 1;
7156
- var e = wb(), t = gn(), n = pu(), a = Qt(), r = xo();
7156
+ var e = wb(), t = gn(), n = pu(), a = Qt(), r = Po();
7157
7157
  function o(s, i, l, c) {
7158
7158
  if (!a(s))
7159
7159
  return s;
@@ -7187,7 +7187,7 @@ function Sb() {
7187
7187
  return Ar = a, Ar;
7188
7188
  }
7189
7189
  var Nr, tl;
7190
- function Pb() {
7190
+ function xb() {
7191
7191
  if (tl) return Nr;
7192
7192
  tl = 1;
7193
7193
  function e(t, n) {
@@ -7196,10 +7196,10 @@ function Pb() {
7196
7196
  return Nr = e, Nr;
7197
7197
  }
7198
7198
  var wr, nl;
7199
- function xb() {
7199
+ function Pb() {
7200
7200
  if (nl) return wr;
7201
7201
  nl = 1;
7202
- var e = gn(), t = ho(), n = We(), a = pu(), r = mo(), o = xo();
7202
+ var e = gn(), t = ho(), n = We(), a = pu(), r = mo(), o = Po();
7203
7203
  function s(i, l, c) {
7204
7204
  l = e(l, i);
7205
7205
  for (var u = -1, d = l.length, m = !1; ++u < d; ) {
@@ -7216,15 +7216,15 @@ var Sr, al;
7216
7216
  function Cb() {
7217
7217
  if (al) return Sr;
7218
7218
  al = 1;
7219
- var e = Pb(), t = xb();
7219
+ var e = xb(), t = Pb();
7220
7220
  function n(a, r) {
7221
7221
  return a != null && t(a, r, e);
7222
7222
  }
7223
7223
  return Sr = n, Sr;
7224
7224
  }
7225
- var Pr, rl;
7225
+ var xr, rl;
7226
7226
  function Ob() {
7227
- if (rl) return Pr;
7227
+ if (rl) return xr;
7228
7228
  rl = 1;
7229
7229
  var e = Sb(), t = Cb();
7230
7230
  function n(a, r) {
@@ -7232,18 +7232,18 @@ function Ob() {
7232
7232
  return t(a, s);
7233
7233
  });
7234
7234
  }
7235
- return Pr = n, Pr;
7235
+ return xr = n, xr;
7236
7236
  }
7237
- var xr, ol;
7237
+ var Pr, ol;
7238
7238
  function kb() {
7239
- if (ol) return xr;
7239
+ if (ol) return Pr;
7240
7240
  ol = 1;
7241
7241
  function e(t, n) {
7242
7242
  for (var a = -1, r = n.length, o = t.length; ++a < r; )
7243
7243
  t[o + a] = n[a];
7244
7244
  return t;
7245
7245
  }
7246
- return xr = e, xr;
7246
+ return Pr = e, Pr;
7247
7247
  }
7248
7248
  var Cr, sl;
7249
7249
  function Tb() {
@@ -7301,7 +7301,7 @@ function Eb() {
7301
7301
  return _r = n, _r;
7302
7302
  }
7303
7303
  var $b = Eb();
7304
- const Rb = /* @__PURE__ */ xe($b), nN = Rb(H, ["tiny", "regular", "medium", "big", "huge"]), Mb = /* @__PURE__ */ L((e) => {
7304
+ const Rb = /* @__PURE__ */ Pe($b), nN = Rb(H, ["tiny", "regular", "medium", "big", "huge"]), Mb = /* @__PURE__ */ L((e) => {
7305
7305
  const {
7306
7306
  handle: t
7307
7307
  } = Ae(), n = kt("optionsChange", void 0), a = B(!1), r = B(!1), o = B(!1);
@@ -7358,7 +7358,7 @@ const Rb = /* @__PURE__ */ xe($b), nN = Rb(H, ["tiny", "regular", "medium", "big
7358
7358
  /** Loading placeholder skeleton(s) that auto-register loading state with the combobox handle. */
7359
7359
  OptionSkeleton: cu,
7360
7360
  /** Floating popover container that auto-binds to the combobox anchor and open/close state. */
7361
- Popover: xv,
7361
+ Popover: Pv,
7362
7362
  /** Labelled group of options that auto-hides when all its child options are filtered out. */
7363
7363
  Section: hu,
7364
7364
  /** Displays empty, error, and loading state messages for the combobox list. */
@@ -7496,7 +7496,7 @@ const aN = /* @__PURE__ */ L((e, {
7496
7496
  className: Ce("label"),
7497
7497
  theme: d,
7498
7498
  children: i
7499
- }), a && Pe({
7499
+ }), a && xe({
7500
7500
  id: `${v}-helper`,
7501
7501
  className: Ce("helper"),
7502
7502
  theme: d,
@@ -7569,27 +7569,27 @@ const aN = /* @__PURE__ */ L((e, {
7569
7569
  ref: b,
7570
7570
  href: y,
7571
7571
  handleKeyDown: A,
7572
- disabledStateProps: x,
7572
+ disabledStateProps: P,
7573
7573
  isAnyDisabled: C,
7574
- keyDownProp: w = "onKeyDown",
7575
- tabIndexProp: N = "tabIndex",
7574
+ keyDownProp: N = "onKeyDown",
7575
+ tabIndexProp: w = "tabIndex",
7576
7576
  ...k
7577
- } = e, T = p && !y, _ = !!p || !!y || s, P = o || (g === ue.light ? U.dark : U.light), R = (q) => {
7577
+ } = e, T = p && !y, _ = !!p || !!y || s, x = o || (g === ue.light ? U.dark : U.light), R = (q) => {
7578
7578
  A?.(q), p && d && vd(d)(q);
7579
7579
  }, D = {
7580
- [w]: R,
7581
- [N]: _ && !x.disabled ? 0 : void 0
7580
+ [N]: R,
7581
+ [w]: _ && !P.disabled ? 0 : void 0
7582
7582
  };
7583
7583
  return (
7584
7584
  // eslint-disable-next-line jsx-a11y/no-static-element-interactions
7585
7585
  f("a", S({
7586
7586
  role: T ? "button" : void 0
7587
7587
  }, D, k, {
7588
- href: x.disabled ? void 0 : y,
7588
+ href: P.disabled ? void 0 : y,
7589
7589
  ref: b,
7590
7590
  className: I(r, Kb({
7591
7591
  "is-clickable": _,
7592
- [`color-${P}`]: !!P,
7592
+ [`color-${x}`]: !!x,
7593
7593
  "is-disabled": C,
7594
7594
  "has-after": !!t,
7595
7595
  "has-before": !!n,
@@ -7723,10 +7723,10 @@ const ng = "lumx-selection-chip-group", {
7723
7723
  "aria-orientation": "horizontal",
7724
7724
  className: ag([p])
7725
7725
  }), tg(s = i.map((y) => {
7726
- const A = c && ie(c, y) || ie(l, y), x = ie(l, y), C = v?.(y) || {}, w = C.isDisabled || m, N = typeof C.children == "string" ? C.children : A, k = d ? `${N} - ${d}` : N;
7726
+ const A = c && ie(c, y) || ie(l, y), P = ie(l, y), C = v?.(y) || {}, N = C.isDisabled || m, w = typeof C.children == "string" ? C.children : A, k = d ? `${w} - ${d}` : w;
7727
7727
  return f(o, {
7728
- key: x,
7729
- label: w ? void 0 : k
7728
+ key: P,
7729
+ label: N ? void 0 : k
7730
7730
  }, {
7731
7731
  default: () => [f(t, S({
7732
7732
  "aria-label": k
@@ -7736,12 +7736,12 @@ const ng = "lumx-selection-chip-group", {
7736
7736
  icon: ro
7737
7737
  }, null),
7738
7738
  className: rg("chip", [C.className]),
7739
- "data-option-id": x,
7739
+ "data-option-id": P,
7740
7740
  isClickable: !0,
7741
7741
  role: "option",
7742
7742
  "aria-selected": "true",
7743
7743
  theme: h,
7744
- isDisabled: w
7744
+ isDisabled: N
7745
7745
  }), {
7746
7746
  default: () => [f(r, {
7747
7747
  as: "span",
@@ -7915,10 +7915,10 @@ const Nu = (e) => (t) => X(t) && t.type === e, lg = {
7915
7915
  Portal: b,
7916
7916
  HeadingLevelProvider: y,
7917
7917
  ThemeProvider: A,
7918
- ClickAwayProvider: x,
7918
+ ClickAwayProvider: P,
7919
7919
  childrenRef: C,
7920
- clickAwayRefs: w,
7921
- closeButtonRef: N,
7920
+ clickAwayRefs: N,
7921
+ closeButtonRef: w,
7922
7922
  IconButton: k,
7923
7923
  ...T
7924
7924
  } = e;
@@ -7942,7 +7942,7 @@ const Nu = (e) => (t) => X(t) && t.type === e, lg = {
7942
7942
  }), [i && f("div", {
7943
7943
  className: vl("close")
7944
7944
  }, [f(k, S(i, {
7945
- ref: N,
7945
+ ref: w,
7946
7946
  emphasis: "low",
7947
7947
  hasBackground: !0,
7948
7948
  icon: ro,
@@ -7955,9 +7955,9 @@ const Nu = (e) => (t) => X(t) && t.type === e, lg = {
7955
7955
  default: () => [f(A, {
7956
7956
  value: void 0
7957
7957
  }, {
7958
- default: () => [f(x, {
7958
+ default: () => [f(P, {
7959
7959
  callback: !m && c,
7960
- childrenRefs: w
7960
+ childrenRefs: N
7961
7961
  }, {
7962
7962
  default: () => [f("div", {
7963
7963
  ref: C,
@@ -8093,12 +8093,12 @@ const Nu = (e) => (t) => X(t) && t.type === e, lg = {
8093
8093
  content: b,
8094
8094
  isChildrenVisible: y,
8095
8095
  IconButton: A,
8096
- footer: x,
8096
+ footer: P,
8097
8097
  closeMode: C,
8098
- ...w
8099
- } = e, N = (_) => {
8100
- const P = !s;
8101
- c && P && c(_), l && !P && l(_), u && u(P, _);
8098
+ ...N
8099
+ } = e, w = (_) => {
8100
+ const x = !s;
8101
+ c && x && c(_), l && !x && l(_), u && u(x, _);
8102
8102
  }, k = d === ue.dark ? U.light : U.dark, T = I(t, Ng({
8103
8103
  "has-background": a,
8104
8104
  "has-header": !qt(h.children),
@@ -8110,11 +8110,11 @@ const Nu = (e) => (t) => X(t) && t.type === e, lg = {
8110
8110
  }));
8111
8111
  return f("section", S({
8112
8112
  ref: r
8113
- }, w, {
8113
+ }, N, {
8114
8114
  className: T
8115
8115
  }), [f("header", {
8116
8116
  className: we("header"),
8117
- onClick: N
8117
+ onClick: w
8118
8118
  }, [v && f("div", {
8119
8119
  className: we("header-drag")
8120
8120
  }, [v]), f("div", S(h, {
@@ -8133,10 +8133,10 @@ const Nu = (e) => (t) => X(t) && t.type === e, lg = {
8133
8133
  className: we("container")
8134
8134
  }, [f("div", {
8135
8135
  className: we("content")
8136
- }, [b]), x && f("div", {
8136
+ }, [b]), P && f("div", {
8137
8137
  className: we("footer")
8138
- }, [x])])])]);
8139
- }, Pg = {
8138
+ }, [P])])])]);
8139
+ }, xg = {
8140
8140
  open: (e) => e instanceof MouseEvent,
8141
8141
  close: (e) => e instanceof MouseEvent,
8142
8142
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
@@ -8200,9 +8200,9 @@ const Nu = (e) => (t) => X(t) && t.type === e, lg = {
8200
8200
  name: "LumxExpansionPanel",
8201
8201
  inheritAttrs: !1,
8202
8202
  props: E()("class", "closeMode", "hasBackground", "hasHeaderDivider", "isOpen", "label", "theme", "toggleButtonProps"),
8203
- emits: Pg
8203
+ emits: xg
8204
8204
  });
8205
- function xg(e) {
8205
+ function Pg(e) {
8206
8206
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !X(e);
8207
8207
  }
8208
8208
  const Cg = "lumx-flag", {
@@ -8233,7 +8233,7 @@ const Cg = "lumx-flag", {
8233
8233
  truncate: !!s,
8234
8234
  typography: "overline",
8235
8235
  className: bl("label")
8236
- }, xg(t) ? t : {
8236
+ }, Pg(t) ? t : {
8237
8237
  default: () => [t]
8238
8238
  })]);
8239
8239
  }, uN = /* @__PURE__ */ L((e, {
@@ -8334,7 +8334,7 @@ function Eg() {
8334
8334
  return Dr = t, Dr;
8335
8335
  }
8336
8336
  var $g = Eg();
8337
- const Rg = /* @__PURE__ */ xe($g);
8337
+ const Rg = /* @__PURE__ */ Pe($g);
8338
8338
  function Mg(e) {
8339
8339
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !X(e);
8340
8340
  }
@@ -8415,7 +8415,7 @@ const dN = /* @__PURE__ */ L((e, {
8415
8415
  slots: t
8416
8416
  }) => {
8417
8417
  const n = M(), a = W(), r = $(() => e.class);
8418
- return () => f(Pe, S(e, n, {
8418
+ return () => f(xe, S(e, n, {
8419
8419
  className: r.value,
8420
8420
  theme: e.theme || a.value,
8421
8421
  children: t.default?.()
@@ -8439,9 +8439,9 @@ const dN = /* @__PURE__ */ L((e, {
8439
8439
  inheritAttrs: !1,
8440
8440
  // Redefine properties so that they come in as `props` on the `defineComponent` function
8441
8441
  props: E()("htmlFor", "id", "isRequired", "typography", "theme", "class")
8442
- }), Pu = "lumx-link", {
8442
+ }), xu = "lumx-link", {
8443
8443
  block: zg
8444
- } = F(Pu), jg = (e) => {
8444
+ } = F(xu), jg = (e) => {
8445
8445
  const {
8446
8446
  children: t,
8447
8447
  className: n,
@@ -8471,7 +8471,7 @@ const dN = /* @__PURE__ */ L((e, {
8471
8471
  click: (e) => e instanceof MouseEvent
8472
8472
  }, {
8473
8473
  element: Vg
8474
- } = ce.bem(Pu), xu = /* @__PURE__ */ L((e, {
8474
+ } = ce.bem(xu), Pu = /* @__PURE__ */ L((e, {
8475
8475
  emit: t
8476
8476
  }) => {
8477
8477
  const n = at(), a = M(), r = $(() => e.class), {
@@ -8505,7 +8505,7 @@ const dN = /* @__PURE__ */ L((e, {
8505
8505
  props: E()("color", "colorVariant", "href", "isDisabled", "disabled", "linkAs", "target", "typography", "class", "aria-disabled"),
8506
8506
  emits: Hg
8507
8507
  });
8508
- function Pl(e) {
8508
+ function xl(e) {
8509
8509
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !X(e);
8510
8510
  }
8511
8511
  const Wg = "lumx-link-preview", {
@@ -8564,7 +8564,7 @@ const Wg = "lumx-link-preview", {
8564
8564
  href: a,
8565
8565
  color: i === ue.light ? U.dark : U.light,
8566
8566
  colorVariant: $o.N
8567
- }), Pl(u) ? u : {
8567
+ }), xl(u) ? u : {
8568
8568
  default: () => [u]
8569
8569
  })]
8570
8570
  }), n && f("p", {
@@ -8579,7 +8579,7 @@ const Wg = "lumx-link-preview", {
8579
8579
  color: i === ue.light ? U.primary : U.light,
8580
8580
  colorVariant: $o.N,
8581
8581
  tabIndex: u ? "-1" : void 0
8582
- }), Pl(a) ? a : {
8582
+ }), xl(a) ? a : {
8583
8583
  default: () => [a]
8584
8584
  })])])])]);
8585
8585
  }, pN = /* @__PURE__ */ L((e) => {
@@ -8595,7 +8595,7 @@ const Wg = "lumx-link-preview", {
8595
8595
  className: a.value,
8596
8596
  theme: e.theme || n.value,
8597
8597
  TitleHeading: r,
8598
- Link: xu,
8598
+ Link: Pu,
8599
8599
  Thumbnail: an
8600
8600
  }), null);
8601
8601
  };
@@ -8653,7 +8653,7 @@ const Wg = "lumx-link-preview", {
8653
8653
  color: c
8654
8654
  }), f("div", {
8655
8655
  className: Br("text")
8656
- }, [t]), h && xt({
8656
+ }, [t]), h && Pt({
8657
8657
  className: Br("close-button"),
8658
8658
  icon: ro,
8659
8659
  handleClick: d,
@@ -8685,10 +8685,10 @@ const vN = /* @__PURE__ */ L((e, {
8685
8685
  props: E()("hasBackground", "icon", "kind", "class", "closeButtonLabel"),
8686
8686
  emits: ["close"]
8687
8687
  });
8688
- var Fr, xl;
8688
+ var Fr, Pl;
8689
8689
  function Zg() {
8690
- if (xl) return Fr;
8691
- xl = 1;
8690
+ if (Pl) return Fr;
8691
+ Pl = 1;
8692
8692
  function e(t, n, a) {
8693
8693
  var r = -1, o = t.length;
8694
8694
  n < 0 && (n = -n > o ? 0 : o + n), a = a > o ? o : a, a < 0 && (a += o), o = n > a ? 0 : a - n >>> 0, n >>>= 0;
@@ -8709,7 +8709,7 @@ function Jg() {
8709
8709
  return qr = n, qr;
8710
8710
  }
8711
8711
  var Qg = Jg();
8712
- const ey = /* @__PURE__ */ xe(Qg), ty = "lumx-mosaic", {
8712
+ const ey = /* @__PURE__ */ Pe(Qg), ty = "lumx-mosaic", {
8713
8713
  block: ny,
8714
8714
  element: zr
8715
8715
  } = F(ty), ay = (e) => {
@@ -8908,7 +8908,7 @@ const ey = /* @__PURE__ */ xe(Qg), ty = "lumx-mosaic", {
8908
8908
  className: Oe("label"),
8909
8909
  theme: d,
8910
8910
  children: i
8911
- }), a && Pe({
8911
+ }), a && xe({
8912
8912
  id: `${v}-helper`,
8913
8913
  className: Oe("helper"),
8914
8914
  theme: d,
@@ -9003,15 +9003,15 @@ const NN = /* @__PURE__ */ L((e, {
9003
9003
  }, Ny = "lumx-skeleton-rectangle", {
9004
9004
  block: wy,
9005
9005
  element: Sy
9006
- } = F(Ny), Py = {
9006
+ } = F(Ny), xy = {
9007
9007
  variant: Ay.squared
9008
- }, xy = (e) => {
9008
+ }, Py = (e) => {
9009
9009
  const {
9010
9010
  aspectRatio: t,
9011
9011
  className: n,
9012
9012
  height: a,
9013
9013
  theme: r,
9014
- variant: o = Py.variant,
9014
+ variant: o = xy.variant,
9015
9015
  width: s,
9016
9016
  color: i,
9017
9017
  ref: l,
@@ -9043,7 +9043,7 @@ const NN = /* @__PURE__ */ L((e, {
9043
9043
  props: E()("class", "size", "color", "theme")
9044
9044
  }), SN = /* @__PURE__ */ L((e) => {
9045
9045
  const t = M(), n = W(), a = $(() => e.class);
9046
- return () => f(xy, S(e, t, {
9046
+ return () => f(Py, S(e, t, {
9047
9047
  className: a.value,
9048
9048
  theme: e.theme || n.value
9049
9049
  }), null);
@@ -9051,7 +9051,7 @@ const NN = /* @__PURE__ */ L((e, {
9051
9051
  name: "SkeletonRectangle",
9052
9052
  inheritAttrs: !1,
9053
9053
  props: E()("class", "aspectRatio", "height", "variant", "width", "color", "theme")
9054
- }), PN = /* @__PURE__ */ L((e) => {
9054
+ }), xN = /* @__PURE__ */ L((e) => {
9055
9055
  const t = M(), n = W(), a = $(() => e.class);
9056
9056
  return () => f(Jr, S(e, t, {
9057
9057
  className: a.value,
@@ -9127,7 +9127,7 @@ const NN = /* @__PURE__ */ L((e, {
9127
9127
  className: ke("label"),
9128
9128
  theme: d,
9129
9129
  children: i
9130
- }), a && Pe({
9130
+ }), a && xe({
9131
9131
  id: `${v}-helper`,
9132
9132
  className: ke("helper"),
9133
9133
  theme: d,
@@ -9135,7 +9135,7 @@ const NN = /* @__PURE__ */ L((e, {
9135
9135
  })])]);
9136
9136
  }, _y = {
9137
9137
  change: (e, t, n, a) => typeof e == "boolean" && a instanceof Event
9138
- }, xN = /* @__PURE__ */ L((e, {
9138
+ }, PN = /* @__PURE__ */ L((e, {
9139
9139
  emit: t,
9140
9140
  slots: n
9141
9141
  }) => {
@@ -9327,11 +9327,11 @@ const NN = /* @__PURE__ */ L((e, {
9327
9327
  titleProps: b,
9328
9328
  Thumbnail: y,
9329
9329
  ImageCaption: A,
9330
- ...x
9330
+ ...P
9331
9331
  } = e;
9332
9332
  return f("figure", S({
9333
9333
  ref: h
9334
- }, x, {
9334
+ }, P, {
9335
9335
  className: I(s, My({
9336
9336
  [`caption-position-${r}`]: !!r,
9337
9337
  [`align-${n}`]: !!n,
@@ -9442,7 +9442,7 @@ const By = (e) => {
9442
9442
  return f(By, S(o, {
9443
9443
  align: r,
9444
9444
  theme: a || t.value,
9445
- FlexBox: Po,
9445
+ FlexBox: xo,
9446
9446
  Text: ve,
9447
9447
  wrapperProps: {
9448
9448
  verticalAlign: r,
@@ -9766,17 +9766,17 @@ const nA = `${Lu}__link`, {
9766
9766
  tabId: b,
9767
9767
  Icon: y,
9768
9768
  Text: A,
9769
- ref: x,
9769
+ ref: P,
9770
9770
  ...C
9771
- } = e, w = () => {
9771
+ } = e, N = () => {
9772
9772
  r || p?.();
9773
- }, N = (T) => {
9774
- c?.(T), g && w();
9773
+ }, w = (T) => {
9774
+ c?.(T), g && N();
9775
9775
  }, k = (T) => {
9776
- u?.(T), !(T.key !== "Enter" || r) && w();
9776
+ u?.(T), !(T.key !== "Enter" || r) && N();
9777
9777
  };
9778
9778
  return f("button", S({
9779
- ref: x
9779
+ ref: P
9780
9780
  }, C, {
9781
9781
  type: "button",
9782
9782
  id: b,
@@ -9784,11 +9784,11 @@ const nA = `${Lu}__link`, {
9784
9784
  "is-active": i,
9785
9785
  "is-disabled": r
9786
9786
  })),
9787
- onClick: w
9787
+ onClick: N
9788
9788
  }, {
9789
9789
  [h]: k
9790
9790
  }, {
9791
- onFocus: N,
9791
+ onFocus: w,
9792
9792
  role: "tab"
9793
9793
  }, {
9794
9794
  [m]: i ? 0 : d
@@ -10048,7 +10048,7 @@ function mA() {
10048
10048
  return Vr = t, Vr;
10049
10049
  }
10050
10050
  var pA = mA();
10051
- const vA = /* @__PURE__ */ xe(pA);
10051
+ const vA = /* @__PURE__ */ Pe(pA);
10052
10052
  function bA(e) {
10053
10053
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !X(e);
10054
10054
  }
@@ -10086,21 +10086,21 @@ const gA = "lumx-user-block", {
10086
10086
  size: b = Rl.size,
10087
10087
  theme: y,
10088
10088
  children: A,
10089
- additionalFields: x,
10089
+ additionalFields: P,
10090
10090
  after: C,
10091
- Text: w,
10092
- Avatar: N,
10091
+ Text: N,
10092
+ Avatar: w,
10093
10093
  ...k
10094
10094
  } = e;
10095
10095
  let T = b;
10096
10096
  v === Qe.vertical && (T = H.l);
10097
- const _ = v === Qe.vertical, P = eo({
10097
+ const _ = v === Qe.vertical, x = eo({
10098
10098
  handleClick: m,
10099
10099
  linkAs: o,
10100
10100
  linkProps: r
10101
10101
  }), R = T !== H.s && T !== H.xs, D = a && R && f("div", {
10102
10102
  className: Te("fields")
10103
- }, [a.map((j, V) => f(w, {
10103
+ }, [a.map((j, V) => f(N, {
10104
10104
  as: "span",
10105
10105
  key: V,
10106
10106
  className: Te("field")
@@ -10121,9 +10121,9 @@ const gA = "lumx-user-block", {
10121
10121
  [`orientation-${v}`]: !!v,
10122
10122
  [`size-${T}`]: !!T,
10123
10123
  [`theme-${y}`]: !!y,
10124
- "is-clickable": P
10124
+ "is-clickable": x
10125
10125
  }))
10126
- }), [t && f(N, S({
10126
+ }), [t && f(w, S({
10127
10127
  linkAs: o,
10128
10128
  linkProps: r,
10129
10129
  alt: ""
@@ -10132,9 +10132,9 @@ const gA = "lumx-user-block", {
10132
10132
  size: T,
10133
10133
  onClick: m,
10134
10134
  theme: y
10135
- }), null), (a || u || A || x) && f("div", {
10135
+ }), null), (a || u || A || P) && f("div", {
10136
10136
  className: Te("wrapper")
10137
- }, [A, D, R ? x : null]), _ && g && f("div", {
10137
+ }, [A, D, R ? P : null]), _ && g && f("div", {
10138
10138
  className: Te("action")
10139
10139
  }, [g]), _ && i && f("div", {
10140
10140
  className: Te("actions")
@@ -10173,7 +10173,7 @@ const wA = {
10173
10173
  ...e.nameProps,
10174
10174
  class: ce.join(Te("name"), e.linkProps?.class, e.nameProps?.class)
10175
10175
  };
10176
- return v && (g = xu, Object.assign(b, {
10176
+ return v && (g = Pu, Object.assign(b, {
10177
10177
  ...e.linkProps,
10178
10178
  color: Fu.dark
10179
10179
  })), f(g, S(b, {
@@ -10221,9 +10221,9 @@ const wA = {
10221
10221
  Avatar: (y) => {
10222
10222
  const {
10223
10223
  badge: A,
10224
- ...x
10224
+ ...P
10225
10225
  } = y;
10226
- return f(yh, x, {
10226
+ return f(yh, P, {
10227
10227
  badge: A ? () => A : void 0
10228
10228
  });
10229
10229
  },
@@ -10302,7 +10302,7 @@ function Ru(e, t) {
10302
10302
  });
10303
10303
  });
10304
10304
  }
10305
- const PA = "SelectTextField", xA = "lumx-select-text-field", Oo = (e, {
10305
+ const xA = "SelectTextField", PA = "lumx-select-text-field", Oo = (e, {
10306
10306
  Combobox: t,
10307
10307
  InfiniteScroll: n
10308
10308
  }) => {
@@ -10324,22 +10324,22 @@ const PA = "SelectTextField", xA = "lumx-select-text-field", Oo = (e, {
10324
10324
  loadingMessage: b,
10325
10325
  emptyMessage: y,
10326
10326
  nbOptionMessage: A,
10327
- errorMessage: x,
10327
+ errorMessage: P,
10328
10328
  errorTryReloadMessage: C,
10329
- onOpen: w,
10330
- chips: N,
10329
+ onOpen: N,
10330
+ chips: w,
10331
10331
  beforeOptions: k,
10332
10332
  afterOptions: T,
10333
10333
  onLoadMore: _,
10334
- infiniteScrollOptions: P
10334
+ infiniteScrollOptions: x
10335
10335
  } = e, R = g === "loading", D = g === "loadingMore", q = g === "error";
10336
10336
  return f(t.Provider, {
10337
- onOpen: w
10337
+ onOpen: N
10338
10338
  }, {
10339
10339
  default: () => [f(t.Input, S({
10340
10340
  label: d
10341
10341
  }, h, {
10342
- chips: N
10342
+ chips: w
10343
10343
  }), null), f(t.Popover, S({
10344
10344
  fitToAnchorWidth: "minWidth",
10345
10345
  fitWithinViewportHeight: !0,
@@ -10366,7 +10366,7 @@ const PA = "SelectTextField", xA = "lumx-select-text-field", Oo = (e, {
10366
10366
  callback: () => {
10367
10367
  g && g !== "idle" || _();
10368
10368
  },
10369
- options: P
10369
+ options: x
10370
10370
  }, null), D && f(t.OptionSkeleton, {
10371
10371
  count: 1
10372
10372
  }, null)]
@@ -10374,14 +10374,14 @@ const PA = "SelectTextField", xA = "lumx-select-text-field", Oo = (e, {
10374
10374
  loadingMessage: b,
10375
10375
  emptyMessage: y,
10376
10376
  nbOptionMessage: A,
10377
- errorMessage: q ? x : void 0,
10377
+ errorMessage: q ? P : void 0,
10378
10378
  errorTryReloadMessage: q ? C : void 0
10379
10379
  }, null)]
10380
10380
  })]
10381
10381
  });
10382
10382
  };
10383
- Oo.displayName = PA;
10384
- Oo.className = xA;
10383
+ Oo.displayName = xA;
10384
+ Oo.className = PA;
10385
10385
  function CA(e) {
10386
10386
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !X(e);
10387
10387
  }
@@ -10426,13 +10426,13 @@ const OA = {
10426
10426
  C !== void 0 && (c.value = C, l.value = !!C);
10427
10427
  });
10428
10428
  const m = O(() => e.selectionType === "multiple" || l.value ? c.value : SA(e.value, e.getOptionName, e.getOptionId)), h = (C) => {
10429
- const w = C.value, N = w && e.options?.find((k) => Io(e.getOptionId, k) === w);
10429
+ const N = C.value, w = N && e.options?.find((k) => Io(e.getOptionId, k) === N);
10430
10430
  if (e.selectionType === "single")
10431
- t("change", N);
10431
+ t("change", w);
10432
10432
  else {
10433
- const k = e.value || [], T = k.findIndex((_) => Io(e.getOptionId, _) === w);
10433
+ const k = e.value || [], T = k.findIndex((_) => Io(e.getOptionId, _) === N);
10434
10434
  if (T === -1)
10435
- N && t("change", [...k, N]);
10435
+ w && t("change", [...k, w]);
10436
10436
  else {
10437
10437
  const _ = [...k];
10438
10438
  _.splice(T, 1), t("change", _);
@@ -10448,17 +10448,17 @@ const OA = {
10448
10448
  }, b = O(() => {
10449
10449
  const C = n.option;
10450
10450
  if (C)
10451
- return (w, {
10452
- index: N,
10451
+ return (N, {
10452
+ index: w,
10453
10453
  value: k,
10454
10454
  isSelected: T,
10455
10455
  description: _
10456
10456
  }) => {
10457
- const P = C({
10458
- option: w,
10459
- index: N
10460
- }), R = P?.find(Nu(Wt));
10461
- if (!R) return P;
10457
+ const x = C({
10458
+ option: N,
10459
+ index: w
10460
+ }), R = x?.find(Nu(Wt));
10461
+ if (!R) return x;
10462
10462
  const D = R.props || {}, q = Object.fromEntries(Object.entries(D).filter(([, Y]) => Y !== void 0)), {
10463
10463
  before: j,
10464
10464
  after: V,
@@ -10478,13 +10478,13 @@ const OA = {
10478
10478
  }), y = O(() => {
10479
10479
  const C = n.sectionTitle;
10480
10480
  if (C)
10481
- return (w, N) => C({
10482
- sectionId: w,
10483
- options: N
10481
+ return (N, w) => C({
10482
+ sectionId: N,
10483
+ options: w
10484
10484
  });
10485
- }), A = ae("onLoadMore") || ae("onLoad-more"), x = () => t("load-more");
10485
+ }), A = ae("onLoadMore") || ae("onLoad-more"), P = () => t("load-more");
10486
10486
  return () => {
10487
- const C = !r.value && !s.value && (e.hasClearButton ?? !0) && e.value !== void 0 && e.value !== null, w = e.selectionType === "multiple" ? f(cg, {
10487
+ const C = !r.value && !s.value && (e.hasClearButton ?? !0) && e.value !== void 0 && e.value !== null, N = e.selectionType === "multiple" ? f(cg, {
10488
10488
  value: e.value,
10489
10489
  theme: e.theme,
10490
10490
  getOptionId: e.getOptionId,
@@ -10496,7 +10496,7 @@ const OA = {
10496
10496
  chipRemoveLabel: e.translations.chipRemoveLabel
10497
10497
  }, {
10498
10498
  chip: n.chip || void 0
10499
- }) : void 0, N = e.listStatus ?? "idle", k = e.beforeOptions ?? n.beforeOptions?.();
10499
+ }) : void 0, w = e.listStatus ?? "idle", k = e.beforeOptions ?? n.beforeOptions?.();
10500
10500
  return Oo({
10501
10501
  options: e.options,
10502
10502
  getOptionId: e.getOptionId,
@@ -10508,7 +10508,7 @@ const OA = {
10508
10508
  selected: e.value,
10509
10509
  label: e.label,
10510
10510
  isMultiselectable: r.value,
10511
- listStatus: N,
10511
+ listStatus: w,
10512
10512
  onOpen: (T) => t("open", T),
10513
10513
  loadingMessage: e.translations.loadingMessage,
10514
10514
  emptyMessage: e.translations.emptyMessage,
@@ -10554,9 +10554,9 @@ const OA = {
10554
10554
  listProps: {
10555
10555
  ref: u
10556
10556
  },
10557
- chips: w,
10557
+ chips: N,
10558
10558
  beforeOptions: k,
10559
- onLoadMore: A ? x : void 0,
10559
+ onLoadMore: A ? P : void 0,
10560
10560
  infiniteScrollOptions: {
10561
10561
  root: u.value?.$el ?? null,
10562
10562
  rootMargin: "100px"
@@ -10577,7 +10577,7 @@ export {
10577
10577
  yh as Avatar,
10578
10578
  aN as Badge,
10579
10579
  rN as BadgeWrapper,
10580
- Pc as Button,
10580
+ xc as Button,
10581
10581
  QA as ButtonGroup,
10582
10582
  oN as Checkbox,
10583
10583
  dl as Chip,
@@ -10588,7 +10588,7 @@ export {
10588
10588
  lN as DragHandle,
10589
10589
  cN as ExpansionPanel,
10590
10590
  uN as Flag,
10591
- Po as FlexBox,
10591
+ xo as FlexBox,
10592
10592
  Kv as GenericBlock,
10593
10593
  nN as GenericBlockGapSize,
10594
10594
  dN as GridColumn,
@@ -10602,7 +10602,7 @@ export {
10602
10602
  hN as InputHelper,
10603
10603
  mN as InputLabel,
10604
10604
  sN as Lightbox,
10605
- xu as Link,
10605
+ Pu as Link,
10606
10606
  pN as LinkPreview,
10607
10607
  eN as List,
10608
10608
  du as ListDivider,
@@ -10630,8 +10630,8 @@ export {
10630
10630
  wN as SkeletonCircle,
10631
10631
  SN as SkeletonRectangle,
10632
10632
  Ay as SkeletonRectangleVariant,
10633
- PN as SkeletonTypography,
10634
- xN as Switch,
10633
+ xN as SkeletonTypography,
10634
+ PN as Switch,
10635
10635
  XA as TOOLBAR_NAME,
10636
10636
  $N as Tab,
10637
10637
  RN as TabList,