@lumx/vue 4.12.1 → 4.13.0-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { ColorVariant as Bu, Size as Ye, VISUALLY_HIDDEN as Fu, DIALOG_TRANSITION_DURATION as Fl, AspectRatio as ql, IS_BROWSER as _o, ColorPalette as qu } from "@lumx/core/js/constants";
2
2
  export * from "@lumx/core/js/constants";
3
3
  export * from "@lumx/core/js/types";
4
- import { createVNode as f, mergeProps as S, Fragment as ee, isVNode as X, useAttrs as M, computed as O, toValue as _e, getCurrentScope as zl, onScopeDispose as to, toRef as te, readonly as zu, customRef as ju, ref as B, shallowRef as Ie, watch as K, getCurrentInstance as jl, onMounted as Gt, inject as qe, defineComponent as L, toRefs as Hu, reactive as Hl, provide as ze, watchEffect as je, isRef as Be, onUnmounted as wt, watchPostEffect as Vu, onBeforeUnmount as Kt, Comment as Vl, unref as bt, useSlots as nt, useTemplateRef as Wu, toRaw as He, Text as Wl, nextTick as Uu, shallowReadonly as Ke, h as Io, cloneVNode as Gu, onWatcherCleanup as Ku, createTextVNode as Xu, withDirectives as Yu, resolveDirective as Zu } from "vue";
5
- import { classNames as ce } from "@lumx/core/js/utils";
4
+ import { createVNode as f, mergeProps as S, Fragment as ee, isVNode as Y, useAttrs as D, computed as O, toValue as _e, getCurrentScope as zl, onScopeDispose as to, toRef as te, readonly as zu, customRef as ju, ref as B, shallowRef as Ie, watch as X, getCurrentInstance as jl, onMounted as Gt, inject as qe, defineComponent as L, toRefs as Hu, reactive as Hl, provide as ze, watchEffect as je, isRef as Be, onUnmounted as wt, watchPostEffect as Vu, onBeforeUnmount as Kt, Comment as Vl, unref as bt, useSlots as nt, useTemplateRef as Wu, toRaw as He, Text as Wl, nextTick as Uu, shallowReadonly as Ke, h as Io, cloneVNode as Gu, onWatcherCleanup as Ku, createTextVNode as Xu, withDirectives as Yu, resolveDirective as Zu } from "vue";
5
+ import { classNames as ue } from "@lumx/core/js/utils";
6
6
  import { k as E, u as W, T as no, P as Xt, C as ao, I as Ju } from "./_internal/CO3BhTbu.js";
7
7
  import { getDisabledState as Qu } from "@lumx/core/js/utils/disabledState";
8
8
  import { mdiAlertCircle as gt } from "@lumx/icons/esm/alert-circle.js";
@@ -29,7 +29,7 @@ const Eo = {
29
29
  close: 3e3
30
30
  }, so = {
31
31
  left: "left"
32
- }, ue = {
32
+ }, de = {
33
33
  light: "light",
34
34
  dark: "dark"
35
35
  }, H = {
@@ -206,18 +206,18 @@ function gd(e) {
206
206
  t.key === "Escape" && e(t);
207
207
  };
208
208
  }
209
- const ie = (e, t) => typeof e == "function" ? e(t) : typeof e == "string" ? t[e] : String(t);
209
+ const le = (e, t) => typeof e == "function" ? e(t) : typeof e == "string" ? t[e] : String(t);
210
210
  function yd(e, t) {
211
211
  const n = /* @__PURE__ */ new Map();
212
212
  for (const a of e) {
213
- const r = ie(t, a);
213
+ const r = le(t, a);
214
214
  let o = n.get(r);
215
215
  o || (o = [], n.set(r, o)), o.push(a);
216
216
  }
217
217
  return n;
218
218
  }
219
219
  function Pn(e) {
220
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !X(e);
220
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Y(e);
221
221
  }
222
222
  const Ad = {
223
223
  [Q.error]: {
@@ -272,7 +272,7 @@ const Ad = {
272
272
  } = o, {
273
273
  label: x,
274
274
  onClick: R,
275
- ...D
275
+ ...M
276
276
  } = r || {};
277
277
  return f(v, S({
278
278
  ref: s,
@@ -307,7 +307,7 @@ const Ad = {
307
307
  default: () => [u]
308
308
  }), f("footer", null, [f(g, {
309
309
  className: "lumx-spacing-margin-horizontal",
310
- after: f(ee, null, [r && f(b, S(D, {
310
+ after: f(ee, null, [r && f(b, S(M, {
311
311
  ref: m,
312
312
  emphasis: me.medium,
313
313
  onClick: R
@@ -329,14 +329,14 @@ function oe() {
329
329
  return zo += 1, `:lumx${zo}:`;
330
330
  }
331
331
  function ec(e, t, n) {
332
- const a = M();
332
+ const a = D();
333
333
  return O(() => {
334
334
  const r = _e(e), o = a[t];
335
335
  return n ? n(r, o) : r ?? o;
336
336
  });
337
337
  }
338
338
  function $(e) {
339
- return ec(e, "className", ce.join);
339
+ return ec(e, "className", ue.join);
340
340
  }
341
341
  function Jt(e, t) {
342
342
  return zl() ? (to(e, t), !0) : !1;
@@ -379,7 +379,7 @@ function kd(e, t, n = {}) {
379
379
  let o;
380
380
  const s = /* @__PURE__ */ co(() => a && "MutationObserver" in a), i = () => {
381
381
  o && (o.disconnect(), o = void 0);
382
- }, l = K(O(() => {
382
+ }, l = X(O(() => {
383
383
  const d = nc(_e(e)).map(Ze).filter(tc);
384
384
  return new Set(d);
385
385
  }), (d) => {
@@ -401,7 +401,7 @@ function Td(e, t, n = {}) {
401
401
  let o;
402
402
  const s = /* @__PURE__ */ co(() => a && "ResizeObserver" in a), i = () => {
403
403
  o && (o.disconnect(), o = void 0);
404
- }, l = K(O(() => {
404
+ }, l = X(O(() => {
405
405
  const u = _e(e);
406
406
  return Array.isArray(u) ? u.map((d) => Ze(d)) : [Ze(u)];
407
407
  }), (u) => {
@@ -423,7 +423,7 @@ function Td(e, t, n = {}) {
423
423
  function jo(e, t, n = {}) {
424
424
  const { root: a, rootMargin: r = "0px", threshold: o = 0, window: s = lo, immediate: i = !0 } = n, l = /* @__PURE__ */ co(() => s && "IntersectionObserver" in s), c = O(() => nc(_e(e)).map(Ze).filter(tc));
425
425
  let u = Bt;
426
- const d = Ie(i), m = l.value ? K(() => [
426
+ const d = Ie(i), m = l.value ? X(() => [
427
427
  c.value,
428
428
  Ze(a),
429
429
  d.value
@@ -462,7 +462,7 @@ const On = /* @__PURE__ */ new WeakMap();
462
462
  function _d(e, t = !1) {
463
463
  const n = Ie(t);
464
464
  let a = "";
465
- K(Cd(e), (s) => {
465
+ X(Cd(e), (s) => {
466
466
  const i = Cn(_e(s));
467
467
  if (i) {
468
468
  const l = i;
@@ -521,16 +521,16 @@ const Id = "lumx-dialog", {
521
521
  setSentinelTop: _,
522
522
  content: x,
523
523
  setSentinelBottom: R,
524
- footerChildContent: D,
524
+ footerChildContent: M,
525
525
  footerChildProps: q,
526
- ProgressCircular: j,
526
+ ProgressCircular: z,
527
527
  hasBottomIntersection: V,
528
- ...G
528
+ ...K
529
529
  } = e;
530
530
  return f(g, null, {
531
531
  default: () => [f("div", S({
532
532
  ref: n
533
- }, G, {
533
+ }, K, {
534
534
  className: I(t, Ld({
535
535
  "is-hidden": !l,
536
536
  "is-loading": i,
@@ -577,13 +577,13 @@ const Id = "lumx-dialog", {
577
577
  bottom: !0
578
578
  }),
579
579
  ref: R
580
- }, null)]), (s || D) && f("footer", S(q, {
580
+ }, null)]), (s || M) && f("footer", S(q, {
581
581
  className: I(Ne("footer", {
582
582
  "has-divider": !!(r || V)
583
583
  }), q?.className)
584
- }), [s, D]), i && f("div", {
584
+ }), [s, M]), i && f("div", {
585
585
  className: Ne("progress-overlay")
586
- }, [f(j, null, null)])])]
586
+ }, [f(z, null, null)])])]
587
587
  })])]
588
588
  })]
589
589
  })])]
@@ -651,7 +651,7 @@ const Id = "lumx-dialog", {
651
651
  }), null)])]
652
652
  });
653
653
  }, qd = /* @__PURE__ */ L((e) => {
654
- const t = M(), n = W(), a = $(() => e.class);
654
+ const t = D(), n = W(), a = $(() => e.class);
655
655
  return () => f(Fd, S(e, t, {
656
656
  className: a.value,
657
657
  theme: e.theme || n.value,
@@ -1187,7 +1187,7 @@ function ho(e, t, n, a, r) {
1187
1187
  c)?.focus({ preventScroll: !0 });
1188
1188
  }, 0);
1189
1189
  };
1190
- r && K(
1190
+ r && X(
1191
1191
  r,
1192
1192
  (s, i) => {
1193
1193
  i && !s && o();
@@ -1200,7 +1200,7 @@ function ho(e, t, n, a, r) {
1200
1200
  function vc(e, t, n) {
1201
1201
  const a = B(e.value);
1202
1202
  let r;
1203
- K(
1203
+ X(
1204
1204
  e,
1205
1205
  (s) => {
1206
1206
  if (s)
@@ -1215,7 +1215,7 @@ function vc(e, t, n) {
1215
1215
  { immediate: !1 }
1216
1216
  );
1217
1217
  let o = a.value;
1218
- return K(a, (s) => {
1218
+ return X(a, (s) => {
1219
1219
  s !== o && (o = s, n?.value?.(s));
1220
1220
  }), Kt(() => {
1221
1221
  clearTimeout(r);
@@ -1223,7 +1223,7 @@ function vc(e, t, n) {
1223
1223
  }
1224
1224
  function bc(e) {
1225
1225
  const t = _d(typeof document < "u" ? document.body : null);
1226
- K(e, (n) => {
1226
+ X(e, (n) => {
1227
1227
  t.value = n;
1228
1228
  });
1229
1229
  }
@@ -1482,8 +1482,8 @@ function If() {
1482
1482
  Us = 1;
1483
1483
  var e = St(), t = po(), n = nn(), 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 = {};
1484
1484
  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;
1485
- function R(D) {
1486
- return n(D) && t(D.length) && !!x[e(D)];
1485
+ function R(M) {
1486
+ return n(M) && t(M.length) && !!x[e(M)];
1487
1487
  }
1488
1488
  return Oa = R, Oa;
1489
1489
  }
@@ -1534,7 +1534,7 @@ function $f() {
1534
1534
  var Rf = $f();
1535
1535
  const zt = /* @__PURE__ */ Pe(Rf);
1536
1536
  function Mf(e) {
1537
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !X(e);
1537
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Y(e);
1538
1538
  }
1539
1539
  const rt = (e) => {
1540
1540
  const {
@@ -1603,12 +1603,12 @@ const rt = (e) => {
1603
1603
  isHovered: d,
1604
1604
  linkAs: m,
1605
1605
  size: h,
1606
- theme: p = ue.light,
1606
+ theme: p = de.light,
1607
1607
  variant: v,
1608
1608
  fullWidth: g,
1609
1609
  ref: b,
1610
1610
  ...y
1611
- } = e, A = o || s !== me.high && p === ue.dark && U.light || s === me.high && U.primary || U.dark;
1611
+ } = e, A = o || s !== me.high && p === de.dark && U.light || s === me.high && U.primary || U.dark;
1612
1612
  if (i)
1613
1613
  return jf({
1614
1614
  ...e,
@@ -1711,7 +1711,7 @@ const Ys = L({
1711
1711
  ...d
1712
1712
  } = e, [m, h] = io(n, a);
1713
1713
  let p = m;
1714
- !p && (r || l) && (p = l === ue.dark ? U.light : U.dark);
1714
+ !p && (r || l) && (p = l === de.dark ? U.light : U.dark);
1715
1715
  let v = h;
1716
1716
  !v && r && p === U.dark && (v = "L2");
1717
1717
  let g = s;
@@ -1749,7 +1749,7 @@ Z.displayName = Gf;
1749
1749
  Z.className = Nc;
1750
1750
  Z.defaultProps = Yf;
1751
1751
  const et = /* @__PURE__ */ L((e) => {
1752
- const t = M(), n = W({
1752
+ const t = D(), n = W({
1753
1753
  defaultTheme: void 0
1754
1754
  }), a = $(() => e.class);
1755
1755
  return () => f(Z, S(e, t, {
@@ -1803,14 +1803,14 @@ function nh(e) {
1803
1803
  return { tooltipLabel: t };
1804
1804
  const a = () => {
1805
1805
  const r = e.value;
1806
- r && !r.closest(`.${ce.visuallyHidden()}`) && r.offsetWidth < r.scrollWidth ? t.value = r.innerText : t.value = void 0;
1806
+ r && !r.closest(`.${ue.visuallyHidden()}`) && r.offsetWidth < r.scrollWidth ? t.value = r.innerText : t.value = void 0;
1807
1807
  };
1808
1808
  return kd(e, a, {
1809
1809
  childList: !0,
1810
1810
  attributes: !0,
1811
1811
  characterData: !0,
1812
1812
  subtree: !0
1813
- }), Td(e, a), K(e, a, { immediate: !0 }), { tooltipLabel: t };
1813
+ }), Td(e, a), X(e, a, { immediate: !0 }), { tooltipLabel: t };
1814
1814
  }
1815
1815
  const xc = (e = "default") => {
1816
1816
  const t = nt();
@@ -1823,7 +1823,7 @@ function Gr(e) {
1823
1823
  if (!e) return;
1824
1824
  const t = [];
1825
1825
  for (const n of e) {
1826
- if (!X(n)) {
1826
+ if (!Y(n)) {
1827
1827
  t.push(n);
1828
1828
  continue;
1829
1829
  }
@@ -1846,12 +1846,12 @@ function Gr(e) {
1846
1846
  return t;
1847
1847
  }
1848
1848
  function ah(e) {
1849
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !X(e);
1849
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Y(e);
1850
1850
  }
1851
1851
  const ve = /* @__PURE__ */ L((e, {
1852
1852
  slots: t
1853
1853
  }) => {
1854
- const n = M(), a = xc(), r = Wu("tooltip-label"), {
1854
+ const n = D(), a = xc(), r = Wu("tooltip-label"), {
1855
1855
  tooltipLabel: o
1856
1856
  } = nh(r), s = $(() => e.class), i = O(() => wc({
1857
1857
  ...e,
@@ -1888,7 +1888,7 @@ const ve = /* @__PURE__ */ L((e, {
1888
1888
  }, Pc = /* @__PURE__ */ L((e, {
1889
1889
  emit: t
1890
1890
  }) => {
1891
- const n = nt(), a = M(), r = W(), o = $(() => e.class), {
1891
+ const n = nt(), a = D(), r = W(), o = $(() => e.class), {
1892
1892
  isAnyDisabled: s,
1893
1893
  disabledStateProps: i,
1894
1894
  otherProps: l
@@ -1959,7 +1959,7 @@ const ve = /* @__PURE__ */ L((e, {
1959
1959
  }, lh = /* @__PURE__ */ L((e, {
1960
1960
  slots: t
1961
1961
  }) => {
1962
- const n = M(), a = $(() => e.class);
1962
+ const n = D(), a = $(() => e.class);
1963
1963
  return () => f(ih, S(e, n, {
1964
1964
  className: a.value,
1965
1965
  label: t.default?.() ?? n.label,
@@ -1976,7 +1976,7 @@ const ve = /* @__PURE__ */ L((e, {
1976
1976
  emit: t,
1977
1977
  slots: n
1978
1978
  }) => {
1979
- const a = M(), r = $(() => e.class), o = oe(), s = O(() => e.id || o), i = Ie(void 0), l = Ie(void 0);
1979
+ const a = D(), r = $(() => e.class), o = oe(), s = O(() => e.id || o), i = Ie(void 0), l = Ie(void 0);
1980
1980
  return () => {
1981
1981
  const c = n.default?.(), d = c?.length === 1 && c[0].type === Wl ? "p" : "div", m = {
1982
1982
  isOpen: e.isOpen,
@@ -2113,7 +2113,7 @@ function mh({
2113
2113
  const ph = "lumx-thumbnail", {
2114
2114
  block: vh,
2115
2115
  element: pt
2116
- } = ce.bem(ph), Js = {
2116
+ } = ue.bem(ph), Js = {
2117
2117
  fallback: nd,
2118
2118
  loading: "lazy"
2119
2119
  }, bh = (e) => {
@@ -2146,29 +2146,29 @@ const ph = "lumx-thumbnail", {
2146
2146
  handleClick: _,
2147
2147
  handleKeyPress: x,
2148
2148
  ...R
2149
- } = e, D = p || N === "isLoading", q = N === "hasError", j = q && typeof l == "string", V = q && !j, G = {};
2150
- j ? G.visibility = "hidden" : V && (G.display = "none");
2151
- const z = !!(k?.href || T), Y = !y && !!(z || _ || x), he = {
2149
+ } = e, M = p || N === "isLoading", q = N === "hasError", z = q && typeof l == "string", V = q && !z, K = {};
2150
+ z ? K.visibility = "hidden" : V && (K.display = "none");
2151
+ const j = !!(k?.href || T), G = !y && !!(j || _ || x), se = {
2152
2152
  ...R
2153
2153
  };
2154
- Y && (Object.assign(he, {
2154
+ G && (Object.assign(se, {
2155
2155
  as: T || (k?.href ? "a" : "button")
2156
- }, A), z ? Object.assign(he, k) : he["aria-label"] = R["aria-label"] || n);
2157
- const It = ce.join(k?.className, o, vh({
2156
+ }, A), j ? Object.assign(se, k) : se["aria-label"] = R["aria-label"] || n);
2157
+ const It = ue.join(k?.className, o, vh({
2158
2158
  [`align-${t}`]: !!t,
2159
2159
  [`aspect-ratio-${a}`]: !!a,
2160
2160
  [`size-${P}`]: !!P,
2161
2161
  [`theme-${C}`]: !!C,
2162
2162
  [`variant-${w}`]: !!w,
2163
- "is-clickable": Y,
2163
+ "is-clickable": G,
2164
2164
  "has-error": q,
2165
- "has-icon-error-fallback": j,
2165
+ "has-icon-error-fallback": z,
2166
2166
  "has-custom-error-fallback": V,
2167
- "is-loading": D,
2167
+ "is-loading": M,
2168
2168
  [`object-fit-${v}`]: !!v,
2169
2169
  "has-badge": !!r,
2170
2170
  "fill-height": u
2171
- })), it = D && b?.current?.complete && b?.current || void 0, Du = it ? {
2171
+ })), it = M && b?.current?.complete && b?.current || void 0, Du = it ? {
2172
2172
  backgroundImage: `url(${it.src})`
2173
2173
  } : void 0, To = f(ee, null, [f("span", {
2174
2174
  className: pt("background")
@@ -2178,44 +2178,44 @@ const ph = "lumx-thumbnail", {
2178
2178
  }, m, {
2179
2179
  style: {
2180
2180
  // Reserve space while loading (when possible)
2181
- width: D ? m?.width || it?.naturalWidth : void 0,
2181
+ width: M ? m?.width || it?.naturalWidth : void 0,
2182
2182
  ...m?.style,
2183
- ...G,
2183
+ ...K,
2184
2184
  ...c,
2185
2185
  ...Du
2186
2186
  },
2187
2187
  ref: h,
2188
- className: ce.join(pt("image", {
2189
- "is-loading": D,
2188
+ className: ue.join(pt("image", {
2189
+ "is-loading": M,
2190
2190
  "has-defined-size": !!(m?.height && m.width)
2191
2191
  }), m?.className),
2192
2192
  crossOrigin: s,
2193
2193
  src: d,
2194
2194
  alt: n,
2195
2195
  loading: g
2196
- }), null), !D && q && f("span", {
2196
+ }), null), !M && q && f("span", {
2197
2197
  className: pt("fallback")
2198
- }, [j ? Z({
2198
+ }, [z ? Z({
2199
2199
  icon: l,
2200
2200
  size: Ye.xxs,
2201
2201
  theme: C
2202
2202
  }) : l])]), r]);
2203
- return Y ? rt({
2203
+ return G ? rt({
2204
2204
  ref: i,
2205
- ...he,
2205
+ ...se,
2206
2206
  className: It,
2207
2207
  children: To,
2208
2208
  handleClick: _,
2209
2209
  handleKeyPress: x
2210
2210
  }) : f("div", S({
2211
2211
  ref: i
2212
- }, he, {
2212
+ }, se, {
2213
2213
  className: It
2214
2214
  }), [To]);
2215
2215
  }, ae = (e) => jl()?.vnode.props?.[e] !== void 0;
2216
2216
  function gh(e, t) {
2217
2217
  const n = B(Ia(t.value));
2218
- K(
2218
+ X(
2219
2219
  [e, t],
2220
2220
  () => {
2221
2221
  n.value = Ia(t.value);
@@ -2225,7 +2225,7 @@ function gh(e, t) {
2225
2225
  const a = (r) => {
2226
2226
  t.value && (n.value = Ia(t.value, r));
2227
2227
  };
2228
- return K(
2228
+ return X(
2229
2229
  t,
2230
2230
  (r, o) => {
2231
2231
  o && (o.removeEventListener("load", a), o.removeEventListener("error", a)), r && (r.addEventListener("load", a), r.addEventListener("error", a));
@@ -2253,7 +2253,7 @@ function yh(e) {
2253
2253
  (p?.width !== m || p?.height !== h) && (c.value = { width: m, height: h });
2254
2254
  } else l.value && requestAnimationFrame(u);
2255
2255
  };
2256
- return K(
2256
+ return X(
2257
2257
  [() => s.value?.offsetWidth, () => s.value?.offsetHeight, l],
2258
2258
  () => {
2259
2259
  Uu(u);
@@ -2277,7 +2277,7 @@ const Ah = {
2277
2277
  emit: t,
2278
2278
  slots: n
2279
2279
  }) => {
2280
- const a = M(), r = W(), o = $(() => e.class), s = B(), i = ae("onClick"), l = ae("onKeyPress"), {
2280
+ const a = D(), r = W(), o = $(() => e.class), s = B(), i = ae("onClick"), l = ae("onKeyPress"), {
2281
2281
  isAnyDisabled: c,
2282
2282
  disabledStateProps: u,
2283
2283
  otherProps: d
@@ -2319,13 +2319,13 @@ const Ah = {
2319
2319
  ...C,
2320
2320
  props: {
2321
2321
  ...C.props,
2322
- class: ce.join(pt("badge"), C.props?.class)
2322
+ class: ue.join(pt("badge"), C.props?.class)
2323
2323
  }
2324
2324
  })) : {
2325
2325
  ...b,
2326
2326
  props: {
2327
2327
  ...b.props,
2328
- class: ce.join(pt("badge"), b.props?.class)
2328
+ class: ue.join(pt("badge"), b.props?.class)
2329
2329
  }
2330
2330
  })
2331
2331
  }), null);
@@ -2344,7 +2344,7 @@ const Ah = {
2344
2344
  }, Nh = /* @__PURE__ */ L((e, {
2345
2345
  slots: t
2346
2346
  }) => {
2347
- const n = M(), a = W(), r = $(() => e.class);
2347
+ const n = D(), a = W(), r = $(() => e.class);
2348
2348
  return () => {
2349
2349
  const {
2350
2350
  image: o,
@@ -2388,7 +2388,7 @@ const Ah = {
2388
2388
  props: E()("image", "alt", "size", "theme", "linkProps", "linkAs", "thumbnailProps", "class")
2389
2389
  });
2390
2390
  function wh(e) {
2391
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !X(e);
2391
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Y(e);
2392
2392
  }
2393
2393
  const Sh = "lumx-combobox-button", xh = (e, {
2394
2394
  Button: t,
@@ -2402,25 +2402,26 @@ const Sh = "lumx-combobox-button", xh = (e, {
2402
2402
  listboxId: i,
2403
2403
  isOpen: l,
2404
2404
  ref: c,
2405
- ...u
2406
- } = e, p = s === "show-tooltip" ? null : (s === "show-selection" && o ? o : null) || r;
2405
+ renderButton: u,
2406
+ ...d
2407
+ } = e, v = s === "show-tooltip" ? null : (s === "show-selection" && o ? o : null) || r, g = r === v || l, b = u || t;
2407
2408
  return f(n, {
2408
- className: r === p || l ? Zt() : void 0,
2409
+ className: g ? Zt() : void 0,
2409
2410
  label: r,
2410
2411
  closeMode: "hide",
2411
2412
  ariaLinkMode: "aria-labelledby"
2412
2413
  }, {
2413
- default: () => [f(t, S({
2414
+ default: () => [f(b, S({
2414
2415
  ref: c
2415
- }, u, {
2416
+ }, d, {
2416
2417
  className: I(a, Sh),
2417
2418
  role: "combobox",
2418
2419
  "aria-controls": i,
2419
2420
  "aria-haspopup": "listbox",
2420
2421
  "aria-expanded": l,
2421
2422
  "aria-activedescendant": ""
2422
- }), wh(p) ? p : {
2423
- default: () => [p]
2423
+ }), wh(v) ? v : {
2424
+ default: () => [v]
2424
2425
  })]
2425
2426
  });
2426
2427
  };
@@ -2509,9 +2510,9 @@ function _c(e, t, n) {
2509
2510
  if (R)
2510
2511
  _ = R, T += 1;
2511
2512
  else if (s) {
2512
- const D = C ? d() : m();
2513
- if (!D || D === P) break;
2514
- _ = D, T += 1, w.currentNode = D;
2513
+ const M = C ? d() : m();
2514
+ if (!M || M === P) break;
2515
+ _ = M, T += 1, w.currentNode = M;
2515
2516
  } else
2516
2517
  break;
2517
2518
  }
@@ -2664,12 +2665,12 @@ function Ch(e, t, n) {
2664
2665
  if (_ >= 0 && _ < k.length)
2665
2666
  return c = _, l.setActive(k[_]), !0;
2666
2667
  if (!i) return !1;
2667
- const x = N > 0 ? "next" : "prev", D = g(w, x) ?? (N > 0 ? h("first") : h("last"));
2668
- if (!D) return !1;
2669
- const q = p(D);
2668
+ const x = N > 0 ? "next" : "prev", M = g(w, x) ?? (N > 0 ? h("first") : h("last"));
2669
+ if (!M) return !1;
2670
+ const q = p(M);
2670
2671
  if (q.length === 0) return !1;
2671
- const j = N > 0 ? 0 : q.length - 1;
2672
- return c = j, l.setActive(q[j]), !0;
2672
+ const z = N > 0 ? 0 : q.length - 1;
2673
+ return c = z, l.setActive(q[z]), !0;
2673
2674
  }
2674
2675
  function C(N) {
2675
2676
  if (!l.active)
@@ -2702,8 +2703,8 @@ function Ch(e, t, n) {
2702
2703
  const w = h("all");
2703
2704
  if (w.length === 0) return !1;
2704
2705
  if (!l.active) {
2705
- 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));
2706
- return b(w[D], c);
2706
+ const x = N > 0 ? 0 : w.length - 1, R = N > 0 ? N - 1 : N + 1, M = Math.max(0, Math.min(x + R, w.length - 1));
2707
+ return b(w[M], c);
2707
2708
  }
2708
2709
  const k = v(l.active);
2709
2710
  if (!k) return !1;
@@ -2988,7 +2989,7 @@ function Ic(e, t, n) {
2988
2989
  loadingAnnouncement: /* @__PURE__ */ new Set()
2989
2990
  };
2990
2991
  function v(x, R) {
2991
- p[x].forEach((D) => D(R));
2992
+ p[x].forEach((M) => M(R));
2992
2993
  }
2993
2994
  function g() {
2994
2995
  for (const [q] of u)
@@ -3014,41 +3015,41 @@ function Ic(e, t, n) {
3014
3015
  function k() {
3015
3016
  d?.abort(), d = null, s = null;
3016
3017
  }
3017
- function T(x, R, D) {
3018
- function q(j) {
3019
- if (D?.(j)) {
3020
- j.stopPropagation(), j.preventDefault();
3018
+ function T(x, R, M) {
3019
+ function q(z) {
3020
+ if (M?.(z)) {
3021
+ z.stopPropagation(), z.preventDefault();
3021
3022
  return;
3022
3023
  }
3023
3024
  let V = !1;
3024
- const { altKey: G } = j, z = w.focusNav;
3025
- switch (j.key) {
3025
+ const { altKey: K } = z, j = w.focusNav;
3026
+ switch (z.key) {
3026
3027
  case "Enter":
3027
- if (w.isOpen && z?.hasActiveItem && z.activeItem) {
3028
- const { activeItem: Y } = z;
3029
- Oc(Y) || Y.click(), !w.isMultiSelect && !kc(Y) && w.setIsOpen(!1);
3028
+ if (w.isOpen && j?.hasActiveItem && j.activeItem) {
3029
+ const { activeItem: G } = j;
3030
+ Oc(G) || G.click(), !w.isMultiSelect && !kc(G) && w.setIsOpen(!1);
3030
3031
  } else w.isMultiSelect || w.setIsOpen(!w.isOpen);
3031
3032
  V = !0;
3032
3033
  break;
3033
3034
  case "ArrowDown":
3034
- z?.hasNavigableItems && (w.isOpen && !G ? z.hasActiveItem ? z.type === "grid" ? z.goDown() : !z.goToOffset(1) && a && z.goToFirst() : Qs(z) : (w.setIsOpen(!0), G || Qs(z))), V = !0;
3035
+ j?.hasNavigableItems && (w.isOpen && !K ? j.hasActiveItem ? j.type === "grid" ? j.goDown() : !j.goToOffset(1) && a && j.goToFirst() : Qs(j) : (w.setIsOpen(!0), K || Qs(j))), V = !0;
3035
3036
  break;
3036
3037
  case "ArrowUp":
3037
- z?.hasNavigableItems && (!w.isOpen && !G ? (w.setIsOpen(!0), ei(z)) : w.isOpen && z.hasActiveItem ? z.type === "grid" ? z.goUp() : !z.goToOffset(-1) && a && z.goToLast() : w.isOpen && !z.hasActiveItem && !G && ei(z)), V = !0;
3038
+ j?.hasNavigableItems && (!w.isOpen && !K ? (w.setIsOpen(!0), ei(j)) : w.isOpen && j.hasActiveItem ? j.type === "grid" ? j.goUp() : !j.goToOffset(-1) && a && j.goToLast() : w.isOpen && !j.hasActiveItem && !K && ei(j)), V = !0;
3038
3039
  break;
3039
3040
  case "Escape":
3040
3041
  w.isOpen ? w.setIsOpen(!1) : w.select(null), V = !0;
3041
3042
  break;
3042
3043
  case "PageUp":
3043
- w.isOpen && z?.hasActiveItem && z.goToOffset(-10), V = !0;
3044
+ w.isOpen && j?.hasActiveItem && j.goToOffset(-10), V = !0;
3044
3045
  break;
3045
3046
  case "PageDown":
3046
- w.isOpen && z?.hasActiveItem && z.goToOffset(10), V = !0;
3047
+ w.isOpen && j?.hasActiveItem && j.goToOffset(10), V = !0;
3047
3048
  break;
3048
3049
  }
3049
- V && (j.stopPropagation(), j.preventDefault());
3050
+ V && (z.stopPropagation(), z.preventDefault());
3050
3051
  }
3051
- x.addEventListener("keydown", (j) => q(j), { signal: R });
3052
+ x.addEventListener("keydown", (z) => q(z), { signal: R });
3052
3053
  }
3053
3054
  function _() {
3054
3055
  if (!r) return;
@@ -3094,16 +3095,16 @@ function Ic(e, t, n) {
3094
3095
  e.onSelect?.({ value: x ? mt(x) : "" });
3095
3096
  },
3096
3097
  registerOption(x, R) {
3097
- const D = l.toLowerCase(), q = mt(x).toLowerCase(), j = D.length > 0 && !q.includes(D);
3098
- return c.set(x, { callback: R, lastFiltered: j }), R(j), g(), () => {
3098
+ const M = l.toLowerCase(), q = mt(x).toLowerCase(), z = M.length > 0 && !q.includes(M);
3099
+ return c.set(x, { callback: R, lastFiltered: z }), R(z), g(), () => {
3099
3100
  c.delete(x), g();
3100
3101
  };
3101
3102
  },
3102
3103
  setFilter(x) {
3103
3104
  l = x;
3104
3105
  const R = x.toLowerCase();
3105
- for (const [D, q] of c) {
3106
- const j = mt(D).toLowerCase(), V = R.length > 0 && !j.includes(R);
3106
+ for (const [M, q] of c) {
3107
+ const z = mt(M).toLowerCase(), V = R.length > 0 && !z.includes(R);
3107
3108
  V !== q.lastFiltered && (q.lastFiltered = V, q.callback(V));
3108
3109
  }
3109
3110
  g();
@@ -3111,8 +3112,8 @@ function Ic(e, t, n) {
3111
3112
  refilterOption(x) {
3112
3113
  const R = c.get(x);
3113
3114
  if (!R) return;
3114
- const D = l.toLowerCase(), q = mt(x).toLowerCase(), j = D.length > 0 && !q.includes(D);
3115
- j !== R.lastFiltered && (R.lastFiltered = j, R.callback(j), g());
3115
+ const M = l.toLowerCase(), q = mt(x).toLowerCase(), z = M.length > 0 && !q.includes(M);
3116
+ z !== R.lastFiltered && (R.lastFiltered = z, R.callback(z), g());
3116
3117
  },
3117
3118
  registerSection(x, R) {
3118
3119
  return u.set(x, { callback: R, last: { hidden: !1, "aria-hidden": !1 } }), ti(x, u, c, !0), () => {
@@ -3278,7 +3279,7 @@ function Ue(e, t) {
3278
3279
  function be(e) {
3279
3280
  return e.split("-")[0];
3280
3281
  }
3281
- function le(e) {
3282
+ function ce(e) {
3282
3283
  return e.split("-")[1];
3283
3284
  }
3284
3285
  function Lc(e) {
@@ -3296,7 +3297,7 @@ function bo(e) {
3296
3297
  }
3297
3298
  function Ec(e, t, n) {
3298
3299
  n === void 0 && (n = !1);
3299
- const a = le(e), r = bo(e), o = vo(r);
3300
+ const a = ce(e), r = bo(e), o = vo(r);
3300
3301
  let s = r === "x" ? a === (n ? "end" : "start") ? "right" : "left" : a === "start" ? "bottom" : "top";
3301
3302
  return t.reference[o] > t.floating[o] && (s = Vt(s)), [s, Vt(s)];
3302
3303
  }
@@ -3321,7 +3322,7 @@ function jh(e, t, n) {
3321
3322
  }
3322
3323
  }
3323
3324
  function Hh(e, t, n, a) {
3324
- const r = le(e);
3325
+ const r = ce(e);
3325
3326
  let o = jh(be(e), n === "start", a);
3326
3327
  return r && (o = o.map((s) => s + "-" + r), t && (o = o.concat(o.map(Ht)))), o;
3327
3328
  }
@@ -3401,7 +3402,7 @@ function li(e, t, n) {
3401
3402
  y: a.y
3402
3403
  };
3403
3404
  }
3404
- switch (le(t)) {
3405
+ switch (ce(t)) {
3405
3406
  case "start":
3406
3407
  h[s] -= m * (n && c ? -1 : 1);
3407
3408
  break;
@@ -3544,14 +3545,14 @@ const Uh = async (e, t, n) => {
3544
3545
  }, h = bo(r), p = vo(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));
3545
3546
  let w = N ? N[A] : 0;
3546
3547
  (!w || !await (s.isElement == null ? void 0 : s.isElement(N))) && (w = i.floating[A] || o.floating[p]);
3547
- 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;
3548
+ const k = P / 2 - C / 2, T = w / 2 - v[p] / 2 - 1, _ = Le(d[b], T), x = Le(d[y], T), R = _, M = w - v[p] - x, q = w / 2 - v[p] / 2 + k, z = Yr(R, q, M), V = !l.arrow && ce(r) != null && q !== z && o.reference[p] / 2 - (q < R ? _ : x) - v[p] / 2 < 0, K = V ? q < R ? q - R : q - M : 0;
3548
3549
  return {
3549
- [h]: m[h] + G,
3550
+ [h]: m[h] + K,
3550
3551
  data: {
3551
- [h]: j,
3552
- centerOffset: q - j - G,
3552
+ [h]: z,
3553
+ centerOffset: q - z - K,
3553
3554
  ...V && {
3554
- alignmentOffset: G
3555
+ alignmentOffset: K
3555
3556
  }
3556
3557
  },
3557
3558
  reset: V
@@ -3559,7 +3560,7 @@ const Uh = async (e, t, n) => {
3559
3560
  }
3560
3561
  });
3561
3562
  function Kh(e, t, n) {
3562
- return (e ? [...n.filter((r) => le(r) === e), ...n.filter((r) => le(r) !== e)] : n.filter((r) => be(r) === r)).filter((r) => e ? le(r) === e || (t ? Ht(r) !== r : !1) : !0);
3563
+ return (e ? [...n.filter((r) => ce(r) === e), ...n.filter((r) => ce(r) !== e)] : n.filter((r) => be(r) === r)).filter((r) => e ? ce(r) === e || (t ? Ht(r) !== r : !1) : !0);
3563
3564
  }
3564
3565
  const Xh = function(e) {
3565
3566
  return e === void 0 && (e = {}), {
@@ -3604,10 +3605,10 @@ const Xh = function(e) {
3604
3605
  }
3605
3606
  };
3606
3607
  const w = C.map((_) => {
3607
- const x = le(_.placement);
3608
+ const x = ce(_.placement);
3608
3609
  return [_.placement, x && u ? (
3609
3610
  // Check along the mainAxis and main crossAxis side.
3610
- _.overflows.slice(0, 2).reduce((R, D) => R + D, 0)
3611
+ _.overflows.slice(0, 2).reduce((R, M) => R + M, 0)
3611
3612
  ) : (
3612
3613
  // Check only the mainAxis.
3613
3614
  _.overflows[0]
@@ -3616,7 +3617,7 @@ const Xh = function(e) {
3616
3617
  0,
3617
3618
  // Aligned placements should not check their opposite crossAxis
3618
3619
  // side.
3619
- le(_[0]) ? 2 : 3
3620
+ ce(_[0]) ? 2 : 3
3620
3621
  ).every((x) => x <= 0))[0]) == null ? void 0 : r[0]) || w[0][0];
3621
3622
  return T !== i ? {
3622
3623
  data: {
@@ -3666,34 +3667,34 @@ const Xh = function(e) {
3666
3667
  overflows: T
3667
3668
  }], !T.every((q) => q <= 0)) {
3668
3669
  var x, R;
3669
- const q = (((x = o.flip) == null ? void 0 : x.index) || 0) + 1, j = w[q];
3670
- if (j && (!(d === "alignment" ? y !== Se(j) : !1) || // We leave the current main axis only if every placement on that axis
3670
+ const q = (((x = o.flip) == null ? void 0 : x.index) || 0) + 1, z = w[q];
3671
+ if (z && (!(d === "alignment" ? y !== Se(z) : !1) || // We leave the current main axis only if every placement on that axis
3671
3672
  // overflows the main axis.
3672
- _.every((z) => Se(z.placement) === y ? z.overflows[0] > 0 : !0)))
3673
+ _.every((j) => Se(j.placement) === y ? j.overflows[0] > 0 : !0)))
3673
3674
  return {
3674
3675
  data: {
3675
3676
  index: q,
3676
3677
  overflows: _
3677
3678
  },
3678
3679
  reset: {
3679
- placement: j
3680
+ placement: z
3680
3681
  }
3681
3682
  };
3682
- let V = (R = _.filter((G) => G.overflows[0] <= 0).sort((G, z) => G.overflows[1] - z.overflows[1])[0]) == null ? void 0 : R.placement;
3683
+ let V = (R = _.filter((K) => K.overflows[0] <= 0).sort((K, j) => K.overflows[1] - j.overflows[1])[0]) == null ? void 0 : R.placement;
3683
3684
  if (!V)
3684
3685
  switch (h) {
3685
3686
  case "bestFit": {
3686
- var D;
3687
- const G = (D = _.filter((z) => {
3687
+ var M;
3688
+ const K = (M = _.filter((j) => {
3688
3689
  if (N) {
3689
- const Y = Se(z.placement);
3690
- return Y === y || // Create a bias to the `y` side axis due to horizontal
3690
+ const G = Se(j.placement);
3691
+ return G === y || // Create a bias to the `y` side axis due to horizontal
3691
3692
  // reading directions favoring greater width.
3692
- Y === "y";
3693
+ G === "y";
3693
3694
  }
3694
3695
  return !0;
3695
- }).map((z) => [z.placement, z.overflows.filter((Y) => Y > 0).reduce((Y, he) => Y + he, 0)]).sort((z, Y) => z[1] - Y[1])[0]) == null ? void 0 : D[0];
3696
- G && (V = G);
3696
+ }).map((j) => [j.placement, j.overflows.filter((G) => G > 0).reduce((G, se) => G + se, 0)]).sort((j, G) => j[1] - G[1])[0]) == null ? void 0 : M[0];
3697
+ K && (V = K);
3697
3698
  break;
3698
3699
  }
3699
3700
  case "initialPlacement":
@@ -3716,7 +3717,7 @@ async function Jh(e, t) {
3716
3717
  placement: n,
3717
3718
  platform: a,
3718
3719
  elements: r
3719
- } = e, o = await (a.isRTL == null ? void 0 : a.isRTL(r.floating)), s = be(n), i = le(n), l = Se(n) === "y", c = Zh.has(s) ? -1 : 1, u = o && l ? -1 : 1, d = Ue(t, e);
3720
+ } = e, o = await (a.isRTL == null ? void 0 : a.isRTL(r.floating)), s = be(n), i = ce(n), l = Se(n) === "y", c = Zh.has(s) ? -1 : 1, u = o && l ? -1 : 1, d = Ue(t, e);
3720
3721
  let {
3721
3722
  mainAxis: m,
3722
3723
  crossAxis: h,
@@ -3832,7 +3833,7 @@ const Qh = function(e) {
3832
3833
  apply: l = () => {
3833
3834
  },
3834
3835
  ...c
3835
- } = Ue(e, t), u = await s.detectOverflow(t, c), d = be(r), m = le(r), h = Se(r) === "y", {
3836
+ } = Ue(e, t), u = await s.detectOverflow(t, c), d = be(r), m = ce(r), h = Se(r) === "y", {
3836
3837
  width: p,
3837
3838
  height: v
3838
3839
  } = o.floating;
@@ -3841,8 +3842,8 @@ const Qh = function(e) {
3841
3842
  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;
3842
3843
  let w = P, k = C;
3843
3844
  if ((n = t.middlewareData.shift) != null && n.enabled.x && (k = A), (a = t.middlewareData.shift) != null && a.enabled.y && (w = y), N && !m) {
3844
- const _ = ne(u.left, 0), x = ne(u.right, 0), R = ne(u.top, 0), D = ne(u.bottom, 0);
3845
- 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));
3845
+ const _ = ne(u.left, 0), x = ne(u.right, 0), R = ne(u.top, 0), M = ne(u.bottom, 0);
3846
+ h ? k = p - 2 * (_ !== 0 || x !== 0 ? _ + x : ne(u.left, u.right)) : w = v - 2 * (R !== 0 || M !== 0 ? R + M : ne(u.top, u.bottom));
3846
3847
  }
3847
3848
  await l({
3848
3849
  ...t,
@@ -3875,7 +3876,7 @@ function ye(e) {
3875
3876
  function go(e) {
3876
3877
  return sn() ? e instanceof Node || e instanceof re(e).Node : !1;
3877
3878
  }
3878
- function de(e) {
3879
+ function fe(e) {
3879
3880
  return sn() ? e instanceof Element || e instanceof re(e).Element : !1;
3880
3881
  }
3881
3882
  function ge(e) {
@@ -3891,7 +3892,7 @@ function Ct(e) {
3891
3892
  overflowX: n,
3892
3893
  overflowY: a,
3893
3894
  display: r
3894
- } = fe(e);
3895
+ } = he(e);
3895
3896
  return /auto|scroll|overlay|hidden|clip/.test(t + a + n) && !nm.has(r);
3896
3897
  }
3897
3898
  const am = /* @__PURE__ */ new Set(["table", "td", "th"]);
@@ -3910,7 +3911,7 @@ function ln(e) {
3910
3911
  }
3911
3912
  const sm = ["transform", "translate", "scale", "rotate", "perspective"], im = ["transform", "translate", "scale", "rotate", "perspective", "filter"], lm = ["paint", "layout", "strict", "content"];
3912
3913
  function yo(e) {
3913
- const t = Ao(), n = de(e) ? fe(e) : e;
3914
+ const t = Ao(), n = fe(e) ? he(e) : e;
3914
3915
  return sm.some((a) => n[a] ? n[a] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !t && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !t && (n.filter ? n.filter !== "none" : !1) || im.some((a) => (n.willChange || "").includes(a)) || lm.some((a) => (n.contain || "").includes(a));
3915
3916
  }
3916
3917
  function cm(e) {
@@ -3931,11 +3932,11 @@ const um = /* @__PURE__ */ new Set(["html", "body", "#document"]);
3931
3932
  function tt(e) {
3932
3933
  return um.has(Ge(e));
3933
3934
  }
3934
- function fe(e) {
3935
+ function he(e) {
3935
3936
  return re(e).getComputedStyle(e);
3936
3937
  }
3937
3938
  function cn(e) {
3938
- return de(e) ? {
3939
+ return fe(e) ? {
3939
3940
  scrollLeft: e.scrollLeft,
3940
3941
  scrollTop: e.scrollTop
3941
3942
  } : {
@@ -3973,7 +3974,7 @@ function Zr(e) {
3973
3974
  return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
3974
3975
  }
3975
3976
  function Mc(e) {
3976
- const t = fe(e);
3977
+ const t = he(e);
3977
3978
  let n = parseFloat(t.width) || 0, a = parseFloat(t.height) || 0;
3978
3979
  const r = ge(e), o = r ? e.offsetWidth : n, s = r ? e.offsetHeight : a, i = jt(n) !== o || jt(a) !== s;
3979
3980
  return i && (n = o, a = s), {
@@ -3983,7 +3984,7 @@ function Mc(e) {
3983
3984
  };
3984
3985
  }
3985
3986
  function No(e) {
3986
- return de(e) ? e : e.contextElement;
3987
+ return fe(e) ? e : e.contextElement;
3987
3988
  }
3988
3989
  function Je(e) {
3989
3990
  const t = No(e);
@@ -4015,14 +4016,14 @@ function Fe(e, t, n, a) {
4015
4016
  t === void 0 && (t = !1), n === void 0 && (n = !1);
4016
4017
  const r = e.getBoundingClientRect(), o = No(e);
4017
4018
  let s = pe(1);
4018
- t && (a ? de(a) && (s = Je(a)) : s = Je(e));
4019
+ t && (a ? fe(a) && (s = Je(a)) : s = Je(e));
4019
4020
  const i = fm(o, n, a) ? Dc(o) : pe(0);
4020
4021
  let l = (r.left + i.x) / s.x, c = (r.top + i.y) / s.y, u = r.width / s.x, d = r.height / s.y;
4021
4022
  if (o) {
4022
- const m = re(o), h = a && de(a) ? re(a) : a;
4023
+ const m = re(o), h = a && fe(a) ? re(a) : a;
4023
4024
  let p = m, v = Zr(p);
4024
4025
  for (; v && a && h !== p; ) {
4025
- 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;
4026
+ const g = Je(v), b = v.getBoundingClientRect(), y = he(v), A = b.left + (v.clientLeft + parseFloat(y.paddingLeft)) * g.x, P = b.top + (v.clientTop + parseFloat(y.paddingTop)) * g.y;
4026
4027
  l *= g.x, c *= g.y, u *= g.x, d *= g.y, l += A, c += P, p = re(v), v = Zr(p);
4027
4028
  }
4028
4029
  }
@@ -4078,7 +4079,7 @@ function pm(e) {
4078
4079
  const t = ye(e), n = cn(e), a = e.ownerDocument.body, r = ne(t.scrollWidth, t.clientWidth, a.scrollWidth, a.clientWidth), o = ne(t.scrollHeight, t.clientHeight, a.scrollHeight, a.clientHeight);
4079
4080
  let s = -n.scrollLeft + un(e);
4080
4081
  const i = -n.scrollTop;
4081
- return fe(a).direction === "rtl" && (s += ne(t.clientWidth, a.clientWidth) - r), {
4082
+ return he(a).direction === "rtl" && (s += ne(t.clientWidth, a.clientWidth) - r), {
4082
4083
  width: r,
4083
4084
  height: o,
4084
4085
  x: s,
@@ -4122,7 +4123,7 @@ function di(e, t, n) {
4122
4123
  a = vm(e, n);
4123
4124
  else if (t === "document")
4124
4125
  a = pm(ye(e));
4125
- else if (de(t))
4126
+ else if (fe(t))
4126
4127
  a = gm(t, n);
4127
4128
  else {
4128
4129
  const r = Dc(e);
@@ -4137,17 +4138,17 @@ function di(e, t, n) {
4137
4138
  }
4138
4139
  function Fc(e, t) {
4139
4140
  const n = Ee(e);
4140
- return n === t || !de(n) || tt(n) ? !1 : fe(n).position === "fixed" || Fc(n, t);
4141
+ return n === t || !fe(n) || tt(n) ? !1 : he(n).position === "fixed" || Fc(n, t);
4141
4142
  }
4142
4143
  function ym(e, t) {
4143
4144
  const n = t.get(e);
4144
4145
  if (n)
4145
4146
  return n;
4146
- let a = At(e, [], !1).filter((i) => de(i) && Ge(i) !== "body"), r = null;
4147
- const o = fe(e).position === "fixed";
4147
+ let a = At(e, [], !1).filter((i) => fe(i) && Ge(i) !== "body"), r = null;
4148
+ const o = he(e).position === "fixed";
4148
4149
  let s = o ? Ee(e) : e;
4149
- for (; de(s) && !tt(s); ) {
4150
- const i = fe(s), l = yo(s);
4150
+ for (; fe(s) && !tt(s); ) {
4151
+ const i = he(s), l = yo(s);
4151
4152
  !l && i.position === "fixed" && (r = null), (o ? !l && !r : !l && i.position === "static" && !!r && bm.has(r.position) || Ct(s) && !l && Fc(e, s)) ? a = a.filter((u) => u !== s) : r = i, s = Ee(s);
4152
4153
  }
4153
4154
  return t.set(e, a), a;
@@ -4205,10 +4206,10 @@ function wm(e, t, n) {
4205
4206
  };
4206
4207
  }
4207
4208
  function La(e) {
4208
- return fe(e).position === "static";
4209
+ return he(e).position === "static";
4209
4210
  }
4210
4211
  function fi(e, t) {
4211
- if (!ge(e) || fe(e).position === "fixed")
4212
+ if (!ge(e) || he(e).position === "fixed")
4212
4213
  return null;
4213
4214
  if (t)
4214
4215
  return t(e);
@@ -4222,7 +4223,7 @@ function qc(e, t) {
4222
4223
  if (!ge(e)) {
4223
4224
  let r = Ee(e);
4224
4225
  for (; r && !tt(r); ) {
4225
- if (de(r) && !La(r))
4226
+ if (fe(r) && !La(r))
4226
4227
  return r;
4227
4228
  r = Ee(r);
4228
4229
  }
@@ -4246,7 +4247,7 @@ const Sm = async function(e) {
4246
4247
  };
4247
4248
  };
4248
4249
  function xm(e) {
4249
- return fe(e).direction === "rtl";
4250
+ return he(e).direction === "rtl";
4250
4251
  }
4251
4252
  const Pm = {
4252
4253
  convertOffsetParentRelativeRectToViewportRelativeRect: hm,
@@ -4257,7 +4258,7 @@ const Pm = {
4257
4258
  getClientRects: mm,
4258
4259
  getDimensions: Nm,
4259
4260
  getScale: Je,
4260
- isElement: de,
4261
+ isElement: fe,
4261
4262
  isRTL: xm
4262
4263
  };
4263
4264
  function zc(e, t) {
@@ -4442,11 +4443,11 @@ function Wc(e, t, n) {
4442
4443
  function N() {
4443
4444
  r.value || (g.value = !1);
4444
4445
  }
4445
- return K([o, s, i, r], A, {
4446
+ return X([o, s, i, r], A, {
4446
4447
  flush: "sync"
4447
- }), K([c, u], C, {
4448
+ }), X([c, u], C, {
4448
4449
  flush: "sync"
4449
- }), K(r, N, {
4450
+ }), X(r, N, {
4450
4451
  flush: "sync"
4451
4452
  }), zl() && to(P), {
4452
4453
  x: Ke(d),
@@ -4602,7 +4603,7 @@ function jm(e) {
4602
4603
  return c && (u[s] = c), Io("div", u, t);
4603
4604
  }
4604
4605
  function Hm(e) {
4605
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !X(e);
4606
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Y(e);
4606
4607
  }
4607
4608
  const dn = /* @__PURE__ */ L((e, {
4608
4609
  slots: t
@@ -4657,7 +4658,7 @@ const dn = /* @__PURE__ */ L((e, {
4657
4658
  emit: t,
4658
4659
  expose: n
4659
4660
  }) => {
4660
- const a = M(), r = W(), o = $(() => e.class), s = ec(() => a.tabindex, "tabIndex"), {
4661
+ const a = D(), r = W(), o = $(() => e.class), s = ec(() => a.tabindex, "tabIndex"), {
4661
4662
  isAnyDisabled: i,
4662
4663
  disabledStateProps: l,
4663
4664
  otherProps: c
@@ -4715,7 +4716,7 @@ fn.defaultProps = Um;
4715
4716
  const tN = /* @__PURE__ */ L((e, {
4716
4717
  slots: t
4717
4718
  }) => {
4718
- const n = M(), a = $(() => e.class);
4719
+ const n = D(), a = $(() => e.class);
4719
4720
  return () => f(fn, S(e, n, {
4720
4721
  className: a.value,
4721
4722
  children: t.default?.()
@@ -4739,7 +4740,7 @@ function ot(e, t, n = { immediate: !0 }) {
4739
4740
  let a;
4740
4741
  const r = () => {
4741
4742
  a?.(), a = void 0;
4742
- }, o = K(
4743
+ }, o = X(
4743
4744
  e,
4744
4745
  (s, i) => {
4745
4746
  r();
@@ -4770,7 +4771,7 @@ function So() {
4770
4771
  const Km = /* @__PURE__ */ L((e, {
4771
4772
  emit: t
4772
4773
  }) => {
4773
- const n = M(), a = $(() => e.class), {
4774
+ const n = D(), a = $(() => e.class), {
4774
4775
  listboxId: r,
4775
4776
  anchorRef: o,
4776
4777
  setHandle: s,
@@ -4778,7 +4779,7 @@ const Km = /* @__PURE__ */ L((e, {
4778
4779
  } = Ae(), {
4779
4780
  isOpen: l
4780
4781
  } = So(), c = B(null);
4781
- return K(c, (u) => {
4782
+ return X(c, (u) => {
4782
4783
  u && (s(Lh(u, {
4783
4784
  onSelect(d) {
4784
4785
  e.onSelect?.(d), t("select", d);
@@ -4958,7 +4959,7 @@ const Zc = "lumx-text-field", Jc = `${Zc}__input-native`, {
4958
4959
  }, np = /* @__PURE__ */ L((e, {
4959
4960
  emit: t
4960
4961
  }) => {
4961
- const n = M(), a = W(), r = $(() => e.class), o = (i, l, c) => {
4962
+ const n = D(), a = W(), r = $(() => e.class), o = (i, l, c) => {
4962
4963
  c?.stopImmediatePropagation(), t("change", i, l, c);
4963
4964
  }, s = (i, l, c) => {
4964
4965
  t("input", i, l, c);
@@ -5038,7 +5039,7 @@ const sp = {
5038
5039
  }, ip = /* @__PURE__ */ L((e, {
5039
5040
  emit: t
5040
5041
  }) => {
5041
- const n = M(), a = W(), r = $(() => e.class), o = B(null), s = op(O(() => e.rows ?? Qc.rows), o, O(() => e.value)), i = (c, u, d) => {
5042
+ const n = D(), a = W(), r = $(() => e.class), o = B(null), s = op(O(() => e.rows ?? Qc.rows), o, O(() => e.value)), i = (c, u, d) => {
5042
5043
  d?.stopImmediatePropagation(), t("change", c, u, d);
5043
5044
  }, l = (c, u, d) => {
5044
5045
  t("input", c, u, d);
@@ -5120,7 +5121,7 @@ xe.className = tu;
5120
5121
  xe.defaultProps = nu;
5121
5122
  const {
5122
5123
  block: vp,
5123
- element: se
5124
+ element: ie
5124
5125
  } = F(Zc);
5125
5126
  function bp(e, t, n, a, r) {
5126
5127
  const o = e ? `text-field-helper-${n}` : void 0, s = t ? `text-field-error-${n}` : void 0, i = r ? `text-field-label-${n}` : void 0, l = [s, o, a].filter(Boolean), c = l.length === 0 ? void 0 : l.join(" ");
@@ -5161,7 +5162,7 @@ const gp = (e) => {
5161
5162
  isFocus: _,
5162
5163
  IconButton: x,
5163
5164
  ref: R
5164
- } = e, D = (w || "").length, q = D > 0;
5165
+ } = e, M = (w || "").length, q = M > 0;
5165
5166
  return f("div", {
5166
5167
  ref: R,
5167
5168
  className: I(n, vp({
@@ -5180,56 +5181,56 @@ const gp = (e) => {
5180
5181
  [`theme-${N}`]: !!N
5181
5182
  }))
5182
5183
  }, [(m || v) && f("div", {
5183
- className: se("header")
5184
+ className: ie("header")
5184
5185
  }, [m && Re({
5185
5186
  ...h,
5186
5187
  id: C,
5187
5188
  htmlFor: c,
5188
- className: se("label"),
5189
+ className: ie("label"),
5189
5190
  isRequired: u,
5190
5191
  theme: N,
5191
5192
  children: m
5192
5193
  }), v && f("div", {
5193
- className: se("char-counter")
5194
- }, [f("span", null, [v - D]), v - D === 0 && Z({
5194
+ className: ie("char-counter")
5195
+ }, [f("span", null, [v - M]), v - M === 0 && Z({
5195
5196
  icon: gt,
5196
5197
  size: H.xxs
5197
5198
  })])]), f("div", {
5198
- className: se("wrapper"),
5199
+ className: ie("wrapper"),
5199
5200
  ref: y
5200
5201
  }, [l && Z({
5201
- className: se("input-icon"),
5202
- color: N === ue.dark ? "light" : void 0,
5202
+ className: ie("input-icon"),
5203
+ color: N === de.dark ? "light" : void 0,
5203
5204
  icon: l,
5204
5205
  size: H.xs
5205
5206
  }), t ? f("div", {
5206
- className: se("chips")
5207
+ className: ie("chips")
5207
5208
  }, [t, T]) : f("div", {
5208
- className: se("input-wrapper")
5209
+ className: ie("input-wrapper")
5209
5210
  }, [T]), (d || s) && Z({
5210
- className: se("input-validity"),
5211
- color: N === ue.dark ? "light" : void 0,
5211
+ className: ie("input-validity"),
5212
+ color: N === de.dark ? "light" : void 0,
5212
5213
  icon: d ? ro : gt,
5213
5214
  size: H.xxs
5214
5215
  }), a && q && !p && f(x, S({
5215
5216
  "aria-describedby": C
5216
5217
  }, a, {
5217
- className: se("input-clear"),
5218
+ className: ie("input-clear"),
5218
5219
  icon: ed,
5219
5220
  emphasis: me.low,
5220
5221
  size: H.s,
5221
5222
  theme: N,
5222
5223
  type: "button"
5223
5224
  }), null), k && f("div", {
5224
- className: se("after-element")
5225
+ className: ie("after-element")
5225
5226
  }, [k])]), s && r && xe({
5226
5227
  children: r,
5227
- className: se("helper"),
5228
+ className: ie("helper"),
5228
5229
  kind: Q.error,
5229
5230
  theme: N,
5230
5231
  id: P
5231
5232
  }), i && xe({
5232
- className: se("helper"),
5233
+ className: ie("helper"),
5233
5234
  theme: N,
5234
5235
  id: A,
5235
5236
  children: i
@@ -5248,14 +5249,14 @@ const gp = (e) => {
5248
5249
  }, Ap = /* @__PURE__ */ L((e, {
5249
5250
  emit: t
5250
5251
  }) => {
5251
- const n = M(), a = xc("chips"), r = W(), o = $(() => e.class), s = oe(), i = O(() => e.id || s), l = B(!1), {
5252
+ const n = D(), a = xc("chips"), r = W(), o = $(() => e.class), s = oe(), i = O(() => e.id || s), l = B(!1), {
5252
5253
  isAnyDisabled: c,
5253
5254
  disabledStateProps: u
5254
5255
  } = J(O(() => ({
5255
5256
  ...e,
5256
5257
  ...n
5257
5258
  }))), d = B(null);
5258
- K(d, (y) => {
5259
+ X(d, (y) => {
5259
5260
  const A = y?.$el ?? y ?? null;
5260
5261
  e.inputRef?.(A);
5261
5262
  }, {
@@ -5285,15 +5286,15 @@ const gp = (e) => {
5285
5286
  disabled: _,
5286
5287
  isDisabled: x,
5287
5288
  "aria-disabled": R,
5288
- ariaDisabled: D,
5289
+ ariaDisabled: M,
5289
5290
  onChange: q,
5290
- onInput: j,
5291
+ onInput: z,
5291
5292
  onFocus: V,
5292
- onBlur: G,
5293
- chips: z,
5294
- ...Y
5295
- } = n, he = {
5296
- ...Y,
5293
+ onBlur: K,
5294
+ chips: j,
5295
+ ...G
5296
+ } = n, se = {
5297
+ ...G,
5297
5298
  id: i.value,
5298
5299
  value: e.value,
5299
5300
  name: e.name,
@@ -5302,22 +5303,22 @@ const gp = (e) => {
5302
5303
  "aria-invalid": e.hasError || void 0,
5303
5304
  "aria-describedby": C,
5304
5305
  ...u.value,
5305
- readOnly: !!Y.readOnly || !!u.value["aria-disabled"],
5306
+ readOnly: !!G.readOnly || !!u.value["aria-disabled"],
5306
5307
  onChange: h,
5307
5308
  onInput: p,
5308
5309
  onFocus: v,
5309
5310
  onBlur: g
5310
5311
  }, It = e.multiline ? f(ip, S({
5311
5312
  ref: d
5312
- }, he, {
5313
+ }, se, {
5313
5314
  rows: e.minimumRows
5314
5315
  }), null) : f(np, S({
5315
5316
  ref: d
5316
- }, he, {
5317
+ }, se, {
5317
5318
  type: e.type || "text"
5318
5319
  }), null);
5319
5320
  return f(gp, {
5320
- chips: (a() ?? z) || void 0,
5321
+ chips: (a() ?? j) || void 0,
5321
5322
  error: e.error,
5322
5323
  forceFocusStyle: e.forceFocusStyle,
5323
5324
  hasError: e.hasError,
@@ -5489,7 +5490,7 @@ function Tp() {
5489
5490
  const _p = /* @__PURE__ */ L((e, {
5490
5491
  slots: t
5491
5492
  }) => {
5492
- const n = M(), a = $(() => e.class), {
5493
+ const n = D(), a = $(() => e.class), {
5493
5494
  listboxId: r,
5494
5495
  handle: o
5495
5496
  } = Ae(), s = B(null);
@@ -5593,7 +5594,7 @@ const iu = (e) => {
5593
5594
  });
5594
5595
  };
5595
5596
  function Ep(e) {
5596
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !X(e);
5597
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Y(e);
5597
5598
  }
5598
5599
  const $p = "lumx-combobox-option", {
5599
5600
  block: Rp,
@@ -5670,7 +5671,7 @@ const Fp = {
5670
5671
  slots: t,
5671
5672
  emit: n
5672
5673
  }) => {
5673
- const a = M(), r = $(() => e.class), {
5674
+ const a = D(), r = $(() => e.class), {
5674
5675
  type: o
5675
5676
  } = Tp(), {
5676
5677
  handle: s
@@ -5682,7 +5683,7 @@ const Fp = {
5682
5683
  return v.registerOption(g, (b) => {
5683
5684
  d.value = b;
5684
5685
  });
5685
- }), K(
5686
+ }), X(
5686
5687
  te(e, "value"),
5687
5688
  () => {
5688
5689
  const v = s.value, g = u.value;
@@ -5773,7 +5774,7 @@ const Fp = {
5773
5774
  props: E()("isDisabled", "onClick", "class")
5774
5775
  });
5775
5776
  function Hp(e) {
5776
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !X(e);
5777
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Y(e);
5777
5778
  }
5778
5779
  const Vp = "lumx-combobox-option-more-info", {
5779
5780
  block: Wp,
@@ -5836,7 +5837,7 @@ const Vp = "lumx-combobox-option-more-info", {
5836
5837
  MIN_WIDTH: "minWidth"
5837
5838
  }, Ea = 14, Yp = 9999;
5838
5839
  function Zp(e) {
5839
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !X(e);
5840
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Y(e);
5840
5841
  }
5841
5842
  const Jp = "lumx-popover", {
5842
5843
  block: Qp,
@@ -6046,7 +6047,7 @@ const cv = {
6046
6047
  emits: cv
6047
6048
  });
6048
6049
  function uv(e) {
6049
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !X(e);
6050
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Y(e);
6050
6051
  }
6051
6052
  const cu = /* @__PURE__ */ L((e, {
6052
6053
  slots: t
@@ -6197,7 +6198,7 @@ const cu = /* @__PURE__ */ L((e, {
6197
6198
  props: E()("hasDescription", "count", "class")
6198
6199
  });
6199
6200
  function vv(e) {
6200
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !X(e);
6201
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Y(e);
6201
6202
  }
6202
6203
  const bv = "lumx-combobox-popover", {
6203
6204
  block: gv,
@@ -6284,7 +6285,7 @@ function Cv(e) {
6284
6285
  const Po = /* @__PURE__ */ L((e, {
6285
6286
  slots: t
6286
6287
  }) => {
6287
- const n = M(), a = $(() => e.class);
6288
+ const n = D(), a = $(() => e.class);
6288
6289
  return () => {
6289
6290
  const r = e.as || "div", o = Cv({
6290
6291
  ...e,
@@ -6336,7 +6337,7 @@ const Po = /* @__PURE__ */ L((e, {
6336
6337
  slots: t,
6337
6338
  emit: n
6338
6339
  }) => {
6339
- const a = M(), r = oe(), o = B(null), s = Ie(null);
6340
+ const a = D(), r = oe(), o = B(null), s = Ie(null);
6340
6341
  return Gm({
6341
6342
  handle: s,
6342
6343
  setHandle: (l) => {
@@ -6344,7 +6345,7 @@ const Po = /* @__PURE__ */ L((e, {
6344
6345
  },
6345
6346
  listboxId: r,
6346
6347
  anchorRef: o
6347
- }), K(s, (l) => {
6348
+ }), X(s, (l) => {
6348
6349
  if (!l) return;
6349
6350
  const c = l.subscribe("open", (u) => {
6350
6351
  a.onOpen?.(u), n("open", u);
@@ -6361,7 +6362,7 @@ const Po = /* @__PURE__ */ L((e, {
6361
6362
  }
6362
6363
  });
6363
6364
  function Tv(e) {
6364
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !X(e);
6365
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Y(e);
6365
6366
  }
6366
6367
  const _v = "lumx-combobox-section", Iv = (e, {
6367
6368
  ListSection: t
@@ -6387,7 +6388,7 @@ const _v = "lumx-combobox-section", Iv = (e, {
6387
6388
  }, nN = /* @__PURE__ */ L((e, {
6388
6389
  slots: t
6389
6390
  }) => {
6390
- const n = M(), a = $(() => e.class);
6391
+ const n = D(), a = $(() => e.class);
6391
6392
  return () => f(Tt, S(e, n, {
6392
6393
  className: a.value,
6393
6394
  children: t.default?.()
@@ -6413,7 +6414,7 @@ hn.displayName = Lv;
6413
6414
  hn.className = du;
6414
6415
  hn.defaultProps = Ev;
6415
6416
  const fu = /* @__PURE__ */ L((e) => {
6416
- const t = M(), n = $(() => e.class);
6417
+ const t = D(), n = $(() => e.class);
6417
6418
  return () => f(hn, S(t, {
6418
6419
  className: n.value
6419
6420
  }), null);
@@ -6428,7 +6429,7 @@ const fu = /* @__PURE__ */ L((e) => {
6428
6429
  slots: n,
6429
6430
  expose: a
6430
6431
  }) => {
6431
- const r = M(), o = $(() => e.class), s = B();
6432
+ const r = D(), o = $(() => e.class), s = B();
6432
6433
  a({
6433
6434
  $el: s
6434
6435
  });
@@ -6449,7 +6450,7 @@ const fu = /* @__PURE__ */ L((e) => {
6449
6450
  } = c.value;
6450
6451
  return f(iu, S(m, {
6451
6452
  ref: s,
6452
- className: ce.join(o.value, d),
6453
+ className: ue.join(o.value, d),
6453
6454
  isDisabled: l.value.disabled,
6454
6455
  "aria-disabled": l.value["aria-disabled"],
6455
6456
  handleClick: u,
@@ -6467,7 +6468,7 @@ const fu = /* @__PURE__ */ L((e) => {
6467
6468
  emit: t,
6468
6469
  slots: n
6469
6470
  }) => {
6470
- const a = M(), r = $(() => e.class), o = ae("onClick"), {
6471
+ const a = D(), r = $(() => e.class), o = ae("onClick"), {
6471
6472
  isAnyDisabled: s,
6472
6473
  disabledStateProps: i,
6473
6474
  otherProps: l
@@ -6539,7 +6540,7 @@ mn.defaultProps = qv;
6539
6540
  const zv = /* @__PURE__ */ L((e, {
6540
6541
  slots: t
6541
6542
  }) => {
6542
- const n = M(), a = oe(), r = $(() => e.class);
6543
+ const n = D(), a = oe(), r = $(() => e.class);
6543
6544
  return () => f(mn, S(e, n, {
6544
6545
  className: r.value,
6545
6546
  id: a,
@@ -6590,7 +6591,7 @@ const zv = /* @__PURE__ */ L((e, {
6590
6591
  props: E()("label", "icon", "class")
6591
6592
  });
6592
6593
  function ut(e) {
6593
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !X(e);
6594
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Y(e);
6594
6595
  }
6595
6596
  const jv = "lumx-combobox-state", {
6596
6597
  block: Hv
@@ -6662,7 +6663,7 @@ function Uv(e, t) {
6662
6663
  };
6663
6664
  }
6664
6665
  function Ra(e) {
6665
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !X(e);
6666
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Y(e);
6666
6667
  }
6667
6668
  const Gv = "lumx-generic-block", {
6668
6669
  block: Kv,
@@ -6712,7 +6713,7 @@ const Gv = "lumx-generic-block", {
6712
6713
  }, Yv = /* @__PURE__ */ L((e, {
6713
6714
  slots: t
6714
6715
  }) => {
6715
- const n = M(), a = $(() => e.class);
6716
+ const n = D(), a = $(() => e.class);
6716
6717
  return () => {
6717
6718
  const r = t.figure?.(), o = t.default?.(), s = t.actions?.(), i = {
6718
6719
  verticalAlign: e.verticalAlign,
@@ -7415,7 +7416,7 @@ An.defaultProps = yu;
7415
7416
  const oN = /* @__PURE__ */ L((e, {
7416
7417
  slots: t
7417
7418
  }) => {
7418
- const n = M(), a = $(() => e.class);
7419
+ const n = D(), a = $(() => e.class);
7419
7420
  return () => f(An, S(e, n, {
7420
7421
  className: a.value,
7421
7422
  children: t.default?.()
@@ -7446,7 +7447,7 @@ const oN = /* @__PURE__ */ L((e, {
7446
7447
  }, sN = /* @__PURE__ */ L((e, {
7447
7448
  slots: t
7448
7449
  }) => {
7449
- const n = M(), a = $(() => e.class);
7450
+ const n = D(), a = $(() => e.class);
7450
7451
  return () => f(Wb, S(e, n, {
7451
7452
  className: a.value,
7452
7453
  badge: e.badge || t.badge?.(),
@@ -7531,7 +7532,7 @@ const oN = /* @__PURE__ */ L((e, {
7531
7532
  }, iN = /* @__PURE__ */ L((e, {
7532
7533
  emit: t
7533
7534
  }) => {
7534
- const n = M(), a = W(), r = $(() => e.class), o = oe(), s = O(() => e.id || o), i = B(null), {
7535
+ const n = D(), a = W(), r = $(() => e.class), o = oe(), s = O(() => e.id || o), i = B(null), {
7535
7536
  isAnyDisabled: l,
7536
7537
  disabledStateProps: c,
7537
7538
  otherProps: u
@@ -7539,7 +7540,7 @@ const oN = /* @__PURE__ */ L((e, {
7539
7540
  ...e,
7540
7541
  ...n
7541
7542
  }))), d = O(() => e.isChecked === Au);
7542
- K(d, (h) => {
7543
+ X(d, (h) => {
7543
7544
  i.value && (i.value.indeterminate = h);
7544
7545
  }, {
7545
7546
  immediate: !0
@@ -7598,9 +7599,9 @@ const oN = /* @__PURE__ */ L((e, {
7598
7599
  keyDownProp: N = "onKeyDown",
7599
7600
  tabIndexProp: w = "tabIndex",
7600
7601
  ...k
7601
- } = e, T = p && !y, _ = !!p || !!y || s, x = o || (g === ue.light ? U.dark : U.light), R = (q) => {
7602
+ } = e, T = p && !y, _ = !!p || !!y || s, x = o || (g === de.light ? U.dark : U.light), R = (q) => {
7602
7603
  A?.(q), p && d && bd(d)(q);
7603
- }, D = {
7604
+ }, M = {
7604
7605
  [N]: R,
7605
7606
  [w]: _ && !P.disabled ? 0 : void 0
7606
7607
  };
@@ -7608,7 +7609,7 @@ const oN = /* @__PURE__ */ L((e, {
7608
7609
  // eslint-disable-next-line jsx-a11y/no-static-element-interactions
7609
7610
  f("a", S({
7610
7611
  role: T ? "button" : void 0
7611
- }, D, k, {
7612
+ }, M, k, {
7612
7613
  href: P.disabled ? void 0 : y,
7613
7614
  ref: b,
7614
7615
  className: I(r, Yb({
@@ -7648,7 +7649,7 @@ const oN = /* @__PURE__ */ L((e, {
7648
7649
  }, ml = /* @__PURE__ */ L((e, {
7649
7650
  emit: t
7650
7651
  }) => {
7651
- const n = nt(), a = M(), r = W(), o = $(() => e.class), s = ae("onClick"), i = ae("onAfterClick"), l = ae("onBeforeClick"), {
7652
+ const n = nt(), a = D(), r = W(), o = $(() => e.class), s = ae("onClick"), i = ae("onAfterClick"), l = ae("onBeforeClick"), {
7652
7653
  isAnyDisabled: c,
7653
7654
  disabledStateProps: u,
7654
7655
  otherProps: d
@@ -7702,7 +7703,7 @@ const oN = /* @__PURE__ */ L((e, {
7702
7703
  }, ng = /* @__PURE__ */ L((e, {
7703
7704
  slots: t
7704
7705
  }) => {
7705
- const n = M(), a = $(() => e.class);
7706
+ const n = D(), a = $(() => e.class);
7706
7707
  return () => f(tg, S(e, n, {
7707
7708
  className: a.value,
7708
7709
  children: t.default?.()
@@ -7713,7 +7714,7 @@ const oN = /* @__PURE__ */ L((e, {
7713
7714
  props: E()("align", "class")
7714
7715
  });
7715
7716
  function ag(e) {
7716
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !X(e);
7717
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Y(e);
7717
7718
  }
7718
7719
  const rg = "lumx-selection-chip-group", {
7719
7720
  block: og,
@@ -7747,7 +7748,7 @@ const rg = "lumx-selection-chip-group", {
7747
7748
  "aria-orientation": "horizontal",
7748
7749
  className: og([p])
7749
7750
  }), ag(s = i.map((y) => {
7750
- 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;
7751
+ const A = c && le(c, y) || le(l, y), P = le(l, y), C = v?.(y) || {}, N = C.isDisabled || m, w = typeof C.children == "string" ? C.children : A, k = d ? `${w} - ${d}` : w;
7751
7752
  return f(o, {
7752
7753
  key: P,
7753
7754
  label: N ? void 0 : k
@@ -7794,7 +7795,7 @@ function Mt(e, t, n) {
7794
7795
  function bl(e, t) {
7795
7796
  const n = e.getValue();
7796
7797
  if (!n) return;
7797
- const a = n.findIndex((o) => String(ie(e.getOptionId, o)) === t);
7798
+ const a = n.findIndex((o) => String(le(e.getOptionId, o)) === t);
7798
7799
  if (a === -1) return;
7799
7800
  const r = [...n];
7800
7801
  r.splice(a, 1), e.onChange(r);
@@ -7842,7 +7843,7 @@ function Nu({
7842
7843
  ), s(() => l.abort());
7843
7844
  });
7844
7845
  }
7845
- const wu = (e) => (t) => X(t) && t.type === e, ug = {
7846
+ const wu = (e) => (t) => Y(t) && t.type === e, ug = {
7846
7847
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
7847
7848
  change: (e) => !0
7848
7849
  }, dg = /* @__PURE__ */ L(
@@ -7851,7 +7852,7 @@ const wu = (e) => (t) => X(t) && t.type === e, ug = {
7851
7852
  emit: t,
7852
7853
  slots: n
7853
7854
  }) => {
7854
- const a = M(), r = $(() => e.class), o = W(), s = B(null), i = () => s.value?.$el ?? s.value ?? null;
7855
+ const a = D(), r = $(() => e.class), o = W(), s = B(null), i = () => s.value?.$el ?? s.value ?? null;
7855
7856
  je((c) => {
7856
7857
  const u = cg({
7857
7858
  getContainer: i,
@@ -8048,7 +8049,7 @@ const wu = (e) => (t) => X(t) && t.type === e, ug = {
8048
8049
  }))
8049
8050
  }), null);
8050
8051
  }, cN = /* @__PURE__ */ L((e) => {
8051
- const t = M(), n = W(), a = $(() => e.class);
8052
+ const t = D(), n = W(), a = $(() => e.class);
8052
8053
  return () => f(gg, S(t, e, {
8053
8054
  className: a.value,
8054
8055
  theme: e.theme || n.value
@@ -8075,11 +8076,11 @@ const wu = (e) => (t) => X(t) && t.type === e, ug = {
8075
8076
  }))
8076
8077
  }), [Z({
8077
8078
  icon: od,
8078
- color: n === ue.dark ? U.light : U.dark,
8079
+ color: n === de.dark ? U.light : U.dark,
8079
8080
  size: H.xs
8080
8081
  })]);
8081
8082
  }, uN = /* @__PURE__ */ L((e) => {
8082
- const t = M(), n = W({
8083
+ const t = D(), n = W({
8083
8084
  defaultTheme: void 0
8084
8085
  }), a = $(() => e.class);
8085
8086
  return () => f(Ng, S(t, e, {
@@ -8122,7 +8123,7 @@ const wu = (e) => (t) => X(t) && t.type === e, ug = {
8122
8123
  } = e, w = (_) => {
8123
8124
  const x = !s;
8124
8125
  c && x && c(_), l && !x && l(_), u && u(x, _);
8125
- }, k = d === ue.dark ? U.light : U.dark, T = I(t, Sg({
8126
+ }, k = d === de.dark ? U.light : U.dark, T = I(t, Sg({
8126
8127
  "has-background": a,
8127
8128
  "has-header": !zt(h.children),
8128
8129
  "has-header-divider": o,
@@ -8168,8 +8169,8 @@ const wu = (e) => (t) => X(t) && t.type === e, ug = {
8168
8169
  emit: t,
8169
8170
  slots: n
8170
8171
  }) => {
8171
- const a = M(), r = W(), o = $(() => e.class), s = B(null), i = B(e.isOpen), l = B(e.isOpen);
8172
- K(() => e.isOpen, (h) => {
8172
+ const a = D(), r = W(), o = $(() => e.class), s = B(null), i = B(e.isOpen), l = B(e.isOpen);
8173
+ X(() => e.isOpen, (h) => {
8173
8174
  l.value = h, h || e.closeMode === "hide" ? i.value = !0 : _o || (i.value = !1);
8174
8175
  }, {
8175
8176
  immediate: !0
@@ -8226,7 +8227,7 @@ const wu = (e) => (t) => X(t) && t.type === e, ug = {
8226
8227
  emits: Cg
8227
8228
  });
8228
8229
  function Og(e) {
8229
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !X(e);
8230
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Y(e);
8230
8231
  }
8231
8232
  const kg = "lumx-flag", {
8232
8233
  block: Tg,
@@ -8241,7 +8242,7 @@ const kg = "lumx-flag", {
8241
8242
  truncate: s,
8242
8243
  Text: i,
8243
8244
  ...l
8244
- } = e, c = a || (o === ue.light ? U.dark : U.light), u = !!s;
8245
+ } = e, c = a || (o === de.light ? U.dark : U.light), u = !!s;
8245
8246
  return f("div", S(l, {
8246
8247
  className: I(r, Tg({
8247
8248
  [`color-${c}`]: !!c,
@@ -8262,7 +8263,7 @@ const kg = "lumx-flag", {
8262
8263
  }, fN = /* @__PURE__ */ L((e, {
8263
8264
  slots: t
8264
8265
  }) => {
8265
- const n = M(), a = W(), r = $(() => e.class);
8266
+ const n = D(), a = W(), r = $(() => e.class);
8266
8267
  return () => f(_g, S(e, n, {
8267
8268
  className: r.value,
8268
8269
  theme: e.theme || a.value,
@@ -8359,7 +8360,7 @@ function Rg() {
8359
8360
  var Mg = Rg();
8360
8361
  const Dg = /* @__PURE__ */ Pe(Mg);
8361
8362
  function Bg(e) {
8362
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !X(e);
8363
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Y(e);
8363
8364
  }
8364
8365
  const Fg = "GridColumn", xu = "lumx-grid-column", qg = {}, Nn = (e) => {
8365
8366
  const {
@@ -8392,7 +8393,7 @@ Nn.defaultProps = qg;
8392
8393
  const hN = /* @__PURE__ */ L((e, {
8393
8394
  slots: t
8394
8395
  }) => {
8395
- const n = M(), a = $(() => e.class);
8396
+ const n = D(), a = $(() => e.class);
8396
8397
  return () => f(Nn, S(e, n, {
8397
8398
  className: a.value,
8398
8399
  children: t.default?.()
@@ -8412,7 +8413,7 @@ const hN = /* @__PURE__ */ L((e, {
8412
8413
  }, mN = /* @__PURE__ */ L((e, {
8413
8414
  slots: t
8414
8415
  }) => {
8415
- const n = M(), a = oc(), r = $(() => e.class), o = O(() => {
8416
+ const n = D(), a = oc(), r = $(() => e.class), o = O(() => {
8416
8417
  const {
8417
8418
  className: s,
8418
8419
  ...i
@@ -8437,7 +8438,7 @@ const hN = /* @__PURE__ */ L((e, {
8437
8438
  }), pN = /* @__PURE__ */ L((e, {
8438
8439
  slots: t
8439
8440
  }) => {
8440
- const n = M(), a = W(), r = $(() => e.class);
8441
+ const n = D(), a = W(), r = $(() => e.class);
8441
8442
  return () => f(xe, S(e, n, {
8442
8443
  className: r.value,
8443
8444
  theme: e.theme || a.value,
@@ -8451,7 +8452,7 @@ const hN = /* @__PURE__ */ L((e, {
8451
8452
  }), vN = /* @__PURE__ */ L((e, {
8452
8453
  slots: t
8453
8454
  }) => {
8454
- const n = M(), a = W(), r = $(() => e.class);
8455
+ const n = D(), a = W(), r = $(() => e.class);
8455
8456
  return () => f(Re, S(e, n, {
8456
8457
  className: r.value,
8457
8458
  theme: e.theme || a.value,
@@ -8494,10 +8495,10 @@ const hN = /* @__PURE__ */ L((e, {
8494
8495
  click: (e) => e instanceof MouseEvent
8495
8496
  }, {
8496
8497
  element: Ug
8497
- } = ce.bem(Pu), Cu = /* @__PURE__ */ L((e, {
8498
+ } = ue.bem(Pu), Cu = /* @__PURE__ */ L((e, {
8498
8499
  emit: t
8499
8500
  }) => {
8500
- const n = nt(), a = M(), r = $(() => e.class), {
8501
+ const n = nt(), a = D(), r = $(() => e.class), {
8501
8502
  isAnyDisabled: o,
8502
8503
  disabledStateProps: s,
8503
8504
  otherProps: i
@@ -8529,7 +8530,7 @@ const hN = /* @__PURE__ */ L((e, {
8529
8530
  emits: Wg
8530
8531
  });
8531
8532
  function Cl(e) {
8532
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !X(e);
8533
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Y(e);
8533
8534
  }
8534
8535
  const Gg = "lumx-link-preview", {
8535
8536
  block: Kg,
@@ -8585,7 +8586,7 @@ const Gg = "lumx-link-preview", {
8585
8586
  linkAs: r,
8586
8587
  target: "_blank",
8587
8588
  href: a,
8588
- color: i === ue.light ? U.dark : U.light,
8589
+ color: i === de.light ? U.dark : U.light,
8589
8590
  colorVariant: Ro.N
8590
8591
  }), Cl(u) ? u : {
8591
8592
  default: () => [u]
@@ -8599,14 +8600,14 @@ const Gg = "lumx-link-preview", {
8599
8600
  className: I(Me("link"), o?.className),
8600
8601
  target: "_blank",
8601
8602
  href: a,
8602
- color: i === ue.light ? U.primary : U.light,
8603
+ color: i === de.light ? U.primary : U.light,
8603
8604
  colorVariant: Ro.N,
8604
8605
  tabIndex: u ? "-1" : void 0
8605
8606
  }), Cl(a) ? a : {
8606
8607
  default: () => [a]
8607
8608
  })])])])]);
8608
8609
  }, bN = /* @__PURE__ */ L((e) => {
8609
- const t = M(), n = W(), a = $(() => e.class);
8610
+ const t = D(), n = W(), a = $(() => e.class);
8610
8611
  return () => {
8611
8612
  const {
8612
8613
  titleHeading: r = Ou.titleHeading,
@@ -8690,7 +8691,7 @@ const gN = /* @__PURE__ */ L((e, {
8690
8691
  slots: t,
8691
8692
  emit: n
8692
8693
  }) => {
8693
- const a = M(), {
8694
+ const a = D(), {
8694
8695
  closeButtonLabel: r
8695
8696
  } = e, o = $(() => e.class);
8696
8697
  return () => f(Oo, S(e, a, {
@@ -8788,7 +8789,7 @@ const ny = /* @__PURE__ */ Pe(ty), ay = "lumx-mosaic", {
8788
8789
  }, yN = /* @__PURE__ */ L((e, {
8789
8790
  emit: t
8790
8791
  }) => {
8791
- const n = M(), a = W(), r = $(() => e.class), o = ae("onHandleClick"), s = (i) => {
8792
+ const n = D(), a = W(), r = $(() => e.class), o = ae("onHandleClick"), s = (i) => {
8792
8793
  t("handleClick", i);
8793
8794
  };
8794
8795
  return () => f(oy, S(n, {
@@ -8809,7 +8810,7 @@ const ny = /* @__PURE__ */ Pe(ty), ay = "lumx-mosaic", {
8809
8810
  emit: t,
8810
8811
  slots: n
8811
8812
  }) => {
8812
- const a = M(), r = $(() => e.class), o = O(() => e.label ?? e.ariaLabel ?? a["aria-label"]), s = () => t("close");
8813
+ const a = D(), r = $(() => e.class), o = O(() => e.label ?? e.ariaLabel ?? a["aria-label"]), s = () => t("close");
8813
8814
  return () => {
8814
8815
  const {
8815
8816
  label: i,
@@ -8822,7 +8823,7 @@ const ny = /* @__PURE__ */ Pe(ty), ay = "lumx-mosaic", {
8822
8823
  "aria-modal": "true",
8823
8824
  "aria-label": o.value
8824
8825
  }), {
8825
- class: ce.join(ly, r.value),
8826
+ class: ue.join(ly, r.value),
8826
8827
  closeOnClickAway: !0,
8827
8828
  closeOnEscape: !0,
8828
8829
  withFocusTrap: !0,
@@ -8862,7 +8863,7 @@ const ny = /* @__PURE__ */ Pe(ty), ay = "lumx-mosaic", {
8862
8863
  className: Tl("line2")
8863
8864
  }, null)]);
8864
8865
  }, NN = /* @__PURE__ */ L((e) => {
8865
- const t = M(), n = W(), a = $(() => e.class);
8866
+ const t = D(), n = W(), a = $(() => e.class);
8866
8867
  return () => f(fy, S(e, t, {
8867
8868
  className: a.value,
8868
8869
  theme: e.theme || n.value
@@ -8942,7 +8943,7 @@ const ny = /* @__PURE__ */ Pe(ty), ay = "lumx-mosaic", {
8942
8943
  }, wN = /* @__PURE__ */ L((e, {
8943
8944
  emit: t
8944
8945
  }) => {
8945
- const n = M(), a = W(), r = $(() => e.class), o = oe(), s = O(() => e.id || o), {
8946
+ const n = D(), a = W(), r = $(() => e.class), o = oe(), s = O(() => e.id || o), {
8946
8947
  isAnyDisabled: i,
8947
8948
  disabledStateProps: l,
8948
8949
  otherProps: c
@@ -8990,7 +8991,7 @@ wn.defaultProps = gy;
8990
8991
  const SN = /* @__PURE__ */ L((e, {
8991
8992
  slots: t
8992
8993
  }) => {
8993
- const n = M(), a = $(() => e.class);
8994
+ const n = D(), a = $(() => e.class);
8994
8995
  return () => f(wn, S(e, n, {
8995
8996
  className: a.value,
8996
8997
  children: t.default?.()
@@ -9055,7 +9056,7 @@ const SN = /* @__PURE__ */ L((e, {
9055
9056
  className: Py("inner")
9056
9057
  }, null)]);
9057
9058
  }, xN = /* @__PURE__ */ L((e) => {
9058
- const t = M(), n = W(), a = $(() => e.class);
9059
+ const t = D(), n = W(), a = $(() => e.class);
9059
9060
  return () => f(Ny, S(e, t, {
9060
9061
  className: a.value,
9061
9062
  theme: e.theme || n.value
@@ -9065,7 +9066,7 @@ const SN = /* @__PURE__ */ L((e, {
9065
9066
  inheritAttrs: !1,
9066
9067
  props: E()("class", "size", "color", "theme")
9067
9068
  }), PN = /* @__PURE__ */ L((e) => {
9068
- const t = M(), n = W(), a = $(() => e.class);
9069
+ const t = D(), n = W(), a = $(() => e.class);
9069
9070
  return () => f(Oy, S(e, t, {
9070
9071
  className: a.value,
9071
9072
  theme: e.theme || n.value
@@ -9075,7 +9076,7 @@ const SN = /* @__PURE__ */ L((e, {
9075
9076
  inheritAttrs: !1,
9076
9077
  props: E()("class", "aspectRatio", "height", "variant", "width", "color", "theme")
9077
9078
  }), CN = /* @__PURE__ */ L((e) => {
9078
- const t = M(), n = W(), a = $(() => e.class);
9079
+ const t = D(), n = W(), a = $(() => e.class);
9079
9080
  return () => f(Jr, S(e, t, {
9080
9081
  className: a.value,
9081
9082
  theme: e.theme || n.value
@@ -9162,7 +9163,7 @@ const SN = /* @__PURE__ */ L((e, {
9162
9163
  emit: t,
9163
9164
  slots: n
9164
9165
  }) => {
9165
- const a = M(), r = W(), o = $(() => e.class), s = oe(), i = O(() => e.id || s), {
9166
+ const a = D(), r = W(), o = $(() => e.class), s = oe(), i = O(() => e.id || s), {
9166
9167
  isAnyDisabled: l,
9167
9168
  disabledStateProps: c,
9168
9169
  otherProps: u
@@ -9258,7 +9259,7 @@ const SN = /* @__PURE__ */ L((e, {
9258
9259
  }, kN = /* @__PURE__ */ L((e, {
9259
9260
  emit: t
9260
9261
  }) => {
9261
- const n = M(), a = W(), r = $(() => e.class), o = oe(), s = O(() => e.fileInputProps?.id || o), i = B(!1), {
9262
+ const n = D(), a = W(), r = $(() => e.class), o = oe(), s = O(() => e.fileInputProps?.id || o), i = B(!1), {
9262
9263
  isAnyDisabled: l,
9263
9264
  disabledStateProps: c,
9264
9265
  otherProps: u
@@ -9387,7 +9388,7 @@ const SN = /* @__PURE__ */ L((e, {
9387
9388
  }, [t])]);
9388
9389
  };
9389
9390
  function Hr(e) {
9390
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !X(e);
9391
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Y(e);
9391
9392
  }
9392
9393
  const qy = (e) => {
9393
9394
  const {
@@ -9480,7 +9481,7 @@ const qy = (e) => {
9480
9481
  }), TN = /* @__PURE__ */ L((e, {
9481
9482
  slots: t
9482
9483
  }) => {
9483
- const n = M(), a = W(), r = $(() => e.class);
9484
+ const n = D(), a = W(), r = $(() => e.class);
9484
9485
  return () => {
9485
9486
  const {
9486
9487
  class: o,
@@ -9544,7 +9545,7 @@ Sn.defaultProps = Vy;
9544
9545
  const _N = /* @__PURE__ */ L((e, {
9545
9546
  slots: t
9546
9547
  }) => {
9547
- const n = M(), a = $(() => e.class);
9548
+ const n = D(), a = $(() => e.class);
9548
9549
  return () => f(Sn, S(e, n, {
9549
9550
  className: a.value,
9550
9551
  items: t.default?.()
@@ -9577,7 +9578,7 @@ const _N = /* @__PURE__ */ L((e, {
9577
9578
  }, IN = /* @__PURE__ */ L((e, {
9578
9579
  slots: t
9579
9580
  }) => {
9580
- const n = M(), a = W(), r = $(() => e.class);
9581
+ const n = D(), a = W(), r = $(() => e.class);
9581
9582
  return () => f(Uy, S(e, n, {
9582
9583
  className: r.value,
9583
9584
  theme: e.theme || a.value,
@@ -9602,7 +9603,7 @@ const _N = /* @__PURE__ */ L((e, {
9602
9603
  }, LN = /* @__PURE__ */ L((e, {
9603
9604
  slots: t
9604
9605
  }) => {
9605
- const n = M(), a = $(() => e.class);
9606
+ const n = D(), a = $(() => e.class);
9606
9607
  return () => f(Ky, S(e, n, {
9607
9608
  className: a.value,
9608
9609
  children: t.default?.()
@@ -9708,7 +9709,7 @@ const _N = /* @__PURE__ */ L((e, {
9708
9709
  }, $N = /* @__PURE__ */ L((e, {
9709
9710
  slots: t
9710
9711
  }) => {
9711
- const n = M(), a = $(() => e.class);
9712
+ const n = D(), a = $(() => e.class);
9712
9713
  return () => f(Qy, S(e, n, {
9713
9714
  className: a.value,
9714
9715
  children: t.default?.()
@@ -9745,7 +9746,7 @@ const _N = /* @__PURE__ */ L((e, {
9745
9746
  }, RN = /* @__PURE__ */ L((e, {
9746
9747
  slots: t
9747
9748
  }) => {
9748
- const n = M(), a = $(() => e.class), {
9749
+ const n = D(), a = $(() => e.class), {
9749
9750
  isAnyDisabled: r,
9750
9751
  otherProps: o
9751
9752
  } = J(O(() => ({
@@ -9764,7 +9765,7 @@ const _N = /* @__PURE__ */ L((e, {
9764
9765
  props: E()("class", "isClickable", "isDisabled", "isSelected")
9765
9766
  }), Eu = "lumx-tabs";
9766
9767
  function aA(e) {
9767
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !X(e);
9768
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Y(e);
9768
9769
  }
9769
9770
  const rA = `${Eu}__link`, {
9770
9771
  block: oA
@@ -9877,7 +9878,7 @@ const rA = `${Eu}__link`, {
9877
9878
  };
9878
9879
  });
9879
9880
  }, MN = /* @__PURE__ */ L((e) => {
9880
- const t = M(), n = $(() => e.class), {
9881
+ const t = D(), n = $(() => e.class), {
9881
9882
  isAnyDisabled: a
9882
9883
  } = J(O(() => ({
9883
9884
  ...e,
@@ -9950,7 +9951,7 @@ const $l = {
9950
9951
  "aria-label": t
9951
9952
  }, [n])]);
9952
9953
  }, DN = /* @__PURE__ */ L((e) => {
9953
- const t = M(), n = nt(), a = W(), r = $(() => e.class), o = B(null);
9954
+ const t = D(), n = nt(), a = W(), r = $(() => e.class), o = B(null);
9954
9955
  return Nu({
9955
9956
  containerRef: o,
9956
9957
  itemSelector: '[role="tab"]'
@@ -9995,7 +9996,7 @@ const $l = {
9995
9996
  "aria-labelledby": o
9996
9997
  }), [(!s || a) && t]);
9997
9998
  }, BN = /* @__PURE__ */ L((e) => {
9998
- const t = M(), n = nt(), a = $(() => e.class), r = Ru("tabPanel", e.id), o = O(() => e.isActive || r.value?.isActive);
9999
+ const t = D(), n = nt(), a = $(() => e.class), r = Ru("tabPanel", e.id), o = O(() => e.isActive || r.value?.isActive);
9999
10000
  return () => f(mA, S(t, {
10000
10001
  className: a.value,
10001
10002
  isActive: o.value,
@@ -10031,7 +10032,7 @@ const $l = {
10031
10032
  return ze($u, {
10032
10033
  state: a,
10033
10034
  dispatch: r
10034
- }), K([() => e.activeTabIndex, () => e.isLazy, () => e.shouldActivateOnFocus], () => {
10035
+ }), X([() => e.activeTabIndex, () => e.isLazy, () => e.shouldActivateOnFocus], () => {
10035
10036
  r({
10036
10037
  type: "update",
10037
10038
  payload: {
@@ -10042,7 +10043,7 @@ const $l = {
10042
10043
  } : {}
10043
10044
  }
10044
10045
  });
10045
- }), K(() => a.value.activeTabIndex, (o) => {
10046
+ }), X(() => a.value.activeTabIndex, (o) => {
10046
10047
  e.activeTabIndex !== o && t("change", o);
10047
10048
  }), () => n.default?.();
10048
10049
  }, {
@@ -10073,7 +10074,7 @@ function vA() {
10073
10074
  var bA = vA();
10074
10075
  const gA = /* @__PURE__ */ Pe(bA);
10075
10076
  function yA(e) {
10076
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !X(e);
10077
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Y(e);
10077
10078
  }
10078
10079
  const AA = "lumx-user-block", {
10079
10080
  block: NA,
@@ -10121,14 +10122,14 @@ const AA = "lumx-user-block", {
10121
10122
  handleClick: m,
10122
10123
  linkAs: o,
10123
10124
  linkProps: r
10124
- }), R = T !== H.s && T !== H.xs, D = a && R && f("div", {
10125
+ }), R = T !== H.s && T !== H.xs, M = a && R && f("div", {
10125
10126
  className: Te("fields")
10126
- }, [a.map((j, V) => f(N, {
10127
+ }, [a.map((z, V) => f(N, {
10127
10128
  as: "span",
10128
10129
  key: V,
10129
10130
  className: Te("field")
10130
- }, yA(j) ? j : {
10131
- default: () => [j]
10131
+ }, yA(z) ? z : {
10132
+ default: () => [z]
10132
10133
  }))]), q = {
10133
10134
  ...h && {
10134
10135
  [l]: h
@@ -10157,7 +10158,7 @@ const AA = "lumx-user-block", {
10157
10158
  theme: y
10158
10159
  }), null), (a || u || A || P) && f("div", {
10159
10160
  className: Te("wrapper")
10160
- }, [A, D, R ? P : null]), _ && g && f("div", {
10161
+ }, [A, M, R ? P : null]), _ && g && f("div", {
10161
10162
  className: Te("action")
10162
10163
  }, [g]), _ && i && f("div", {
10163
10164
  className: Te("actions")
@@ -10166,7 +10167,7 @@ const AA = "lumx-user-block", {
10166
10167
  }, [C]) : null]);
10167
10168
  };
10168
10169
  function SA(e) {
10169
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !X(e);
10170
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Y(e);
10170
10171
  }
10171
10172
  const xA = {
10172
10173
  click: () => !0,
@@ -10176,7 +10177,7 @@ const xA = {
10176
10177
  emit: t,
10177
10178
  slots: n
10178
10179
  }) => {
10179
- const a = M(), r = W(), o = $(() => e.class), s = () => {
10180
+ const a = D(), r = W(), o = $(() => e.class), s = () => {
10180
10181
  t("click");
10181
10182
  }, i = () => {
10182
10183
  t("mouseenter");
@@ -10194,7 +10195,7 @@ const xA = {
10194
10195
  let g = "span";
10195
10196
  const b = {
10196
10197
  ...e.nameProps,
10197
- class: ce.join(Te("name"), e.linkProps?.class, e.nameProps?.class)
10198
+ class: ue.join(Te("name"), e.linkProps?.class, e.nameProps?.class)
10198
10199
  };
10199
10200
  return v && (g = Cu, Object.assign(b, {
10200
10201
  ...e.linkProps,
@@ -10265,13 +10266,13 @@ const xA = {
10265
10266
  function PA(e, t, n) {
10266
10267
  if (e == null) return "";
10267
10268
  if (t) {
10268
- const a = ie(t, e);
10269
+ const a = le(t, e);
10269
10270
  if (a != null) return String(a);
10270
10271
  }
10271
- return n ? String(ie(n, e)) : "";
10272
+ return n ? String(le(n, e)) : "";
10272
10273
  }
10273
10274
  function Bl(e) {
10274
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !X(e);
10275
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Y(e);
10275
10276
  }
10276
10277
  function Mu(e, t) {
10277
10278
  const {
@@ -10287,7 +10288,7 @@ function Mu(e, t) {
10287
10288
  Combobox: u
10288
10289
  } = t;
10289
10290
  if (l && n) {
10290
- const m = yd(n, (h) => ie(l, h));
10291
+ const m = yd(n, (h) => le(l, h));
10291
10292
  return Array.from(m.entries()).map(([h, p]) => {
10292
10293
  let v;
10293
10294
  const g = c ? c(h, p) : h;
@@ -10307,12 +10308,13 @@ function Mu(e, t) {
10307
10308
  });
10308
10309
  });
10309
10310
  }
10310
- const d = i ? new Set((Array.isArray(i) ? i : [i]).map((m) => ie(a, m))) : void 0;
10311
+ const d = i ? new Set((Array.isArray(i) ? i : [i]).map((m) => le(a, m))) : void 0;
10311
10312
  return n?.map((m, h) => {
10312
- const p = ie(a || r, m), v = ie(r || a, m), g = o && ie(o, m), b = d?.has(p) ?? !1;
10313
+ const p = le(a || r, m), v = le(r || a, m) || p, g = o && le(o, m), b = d?.has(p) ?? !1;
10313
10314
  return s ? s(m, {
10314
10315
  index: h,
10315
10316
  value: p,
10317
+ name: v,
10316
10318
  isSelected: b,
10317
10319
  description: g
10318
10320
  }) : f(u.Option, {
@@ -10355,7 +10357,7 @@ const CA = "SelectTextField", OA = "lumx-select-text-field", ko = (e, {
10355
10357
  afterOptions: T,
10356
10358
  onLoadMore: _,
10357
10359
  infiniteScrollOptions: x
10358
- } = e, R = g === "loading", D = g === "loadingMore", q = g === "error";
10360
+ } = e, R = g === "loading", M = g === "loadingMore", q = g === "error";
10359
10361
  return f(t.Provider, {
10360
10362
  onOpen: N
10361
10363
  }, {
@@ -10390,7 +10392,7 @@ const CA = "SelectTextField", OA = "lumx-select-text-field", ko = (e, {
10390
10392
  g && g !== "idle" || _();
10391
10393
  },
10392
10394
  options: x
10393
- }, null), D && f(t.OptionSkeleton, {
10395
+ }, null), M && f(t.OptionSkeleton, {
10394
10396
  count: 1
10395
10397
  }, null)]
10396
10398
  }), f(t.State, {
@@ -10406,7 +10408,7 @@ const CA = "SelectTextField", OA = "lumx-select-text-field", ko = (e, {
10406
10408
  ko.displayName = CA;
10407
10409
  ko.className = OA;
10408
10410
  function kA(e) {
10409
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !X(e);
10411
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Y(e);
10410
10412
  }
10411
10413
  const TA = {
10412
10414
  /**
@@ -10445,7 +10447,7 @@ const TA = {
10445
10447
  ...e,
10446
10448
  ...a
10447
10449
  }))), l = B(!!e.searchInputValue), c = B(e.searchInputValue ?? ""), u = B(null), d = B(null);
10448
- K(() => e.searchInputValue, (C) => {
10450
+ X(() => e.searchInputValue, (C) => {
10449
10451
  C !== void 0 && (c.value = C, l.value = !!C);
10450
10452
  });
10451
10453
  const m = O(() => e.selectionType === "multiple" || l.value ? c.value : PA(e.value, e.getOptionName, e.getOptionId)), h = (C) => {
@@ -10475,27 +10477,28 @@ const TA = {
10475
10477
  index: w,
10476
10478
  value: k,
10477
10479
  isSelected: T,
10478
- description: _
10480
+ description: _,
10481
+ name: x
10479
10482
  }) => {
10480
- const x = C({
10483
+ const R = C({
10481
10484
  option: N,
10482
10485
  index: w
10483
- }), R = x?.find(wu(Ut));
10484
- if (!R) return x;
10485
- const D = R.props || {}, q = Object.fromEntries(Object.entries(D).filter(([, Y]) => Y !== void 0)), {
10486
- before: j,
10487
- after: V,
10488
- ...G
10489
- } = q, z = {
10490
- ...R.children
10486
+ }), M = R?.find(wu(Ut));
10487
+ if (!M) return R;
10488
+ const q = M.props || {}, z = Object.fromEntries(Object.entries(q).filter(([, se]) => se !== void 0)), {
10489
+ before: V,
10490
+ after: K,
10491
+ ...j
10492
+ } = z, G = {
10493
+ ...M.children
10491
10494
  };
10492
- return j !== void 0 && !z.before && (z.before = () => j), V !== void 0 && !z.after && (z.after = () => V), f(Ut, S({
10495
+ return V !== void 0 && !G.before && (G.before = () => V), K !== void 0 && !G.after && (G.after = () => K), G.default || (G.default = x), f(Ut, S({
10493
10496
  key: k,
10494
10497
  value: k,
10495
10498
  isSelected: T,
10496
10499
  description: _ ?? void 0
10497
- }, G), kA(z) ? z : {
10498
- default: () => [z]
10500
+ }, j), kA(G) ? G : {
10501
+ default: () => [G]
10499
10502
  });
10500
10503
  };
10501
10504
  }), y = O(() => {