@lumx/vue 4.20.0 → 4.20.1-alpha.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
@@ -1,9 +1,9 @@
1
1
  import { ColorVariant as Fd, Size as lt, VISUALLY_HIDDEN as qd, DIALOG_TRANSITION_DURATION as hc, AspectRatio as mc, Typography as jd, IS_BROWSER as rs, ColorPalette as Hd } from "@lumx/core/js/constants";
2
2
  export * from "@lumx/core/js/constants";
3
3
  export * from "@lumx/core/js/types";
4
- import { createVNode as m, mergeProps as A, Fragment as ne, isVNode as G, useAttrs as B, computed as w, toValue as qe, getCurrentScope as pc, onScopeDispose as vr, toRef as ee, readonly as zd, customRef as Vd, ref as D, shallowRef as je, watch as Z, getCurrentInstance as gc, onMounted as Ze, inject as be, defineComponent as I, toRefs as Wd, reactive as vc, provide as Ie, watchEffect as We, onUnmounted as Ce, isRef as dt, watchPostEffect as Ud, onBeforeUnmount as nn, Comment as br, unref as wt, useSlots as Me, useTemplateRef as Gd, toRaw as Je, Text as bc, nextTick as yc, shallowReadonly as rt, h as ss, cloneVNode as Kd, onWatcherCleanup as Yd, createTextVNode as Xd, withDirectives as Zd, resolveDirective as Jd } from "vue";
4
+ import { createVNode as m, mergeProps as A, Fragment as ne, isVNode as G, useAttrs as B, computed as w, toValue as qe, getCurrentScope as pc, onScopeDispose as vr, toRef as ee, readonly as zd, customRef as Vd, ref as D, shallowRef as je, watch as Z, getCurrentInstance as gc, onMounted as Ze, inject as be, defineComponent as E, toRefs as Wd, reactive as vc, provide as Ie, watchEffect as We, onUnmounted as Ce, isRef as dt, watchPostEffect as Ud, onBeforeUnmount as nn, Comment as br, unref as wt, useSlots as Me, useTemplateRef as Gd, toRaw as Je, Text as bc, nextTick as yc, shallowReadonly as rt, h as ss, cloneVNode as Kd, onWatcherCleanup as Yd, createTextVNode as Xd, withDirectives as Zd, resolveDirective as Jd } from "vue";
5
5
  import { classNames as fe } from "@lumx/core/js/utils";
6
- import { k as L, g as M, u as K, C as yr, T as Nr, P as an, I as Nc } from "./_internal/GIQod6ql.js";
6
+ import { k as L, g as M, u as K, C as yr, T as Nr, P as an, I as Nc } from "./_internal/CK74QL1A.js";
7
7
  import { getDisabledState as Qd } from "@lumx/core/js/utils/disabledState";
8
8
  import { mdiAlertCircle as xt } from "@lumx/icons/esm/alert-circle.js";
9
9
  import { mdiChevronUp as Ac } from "@lumx/icons/esm/chevron-up.js";
@@ -625,7 +625,7 @@ const jf = "DialogContent", Hf = (e) => {
625
625
  }, Vf = { level: 1, headingElement: "h1" }, Wf = (e, t) => {
626
626
  const n = e || t + 1;
627
627
  return n > ps ? ps : n;
628
- }, Mc = /* @__PURE__ */ Symbol("HeadingLevelContext"), $c = () => be(Mc, Vf), _r = /* @__PURE__ */ I((e, {
628
+ }, Mc = /* @__PURE__ */ Symbol("HeadingLevelContext"), $c = () => be(Mc, Vf), _r = /* @__PURE__ */ E((e, {
629
629
  slots: t
630
630
  }) => {
631
631
  const {
@@ -677,7 +677,7 @@ const jf = "DialogContent", Hf = (e) => {
677
677
  fill: "none"
678
678
  }), null)])]
679
679
  });
680
- }, Xf = /* @__PURE__ */ I((e) => {
680
+ }, Xf = /* @__PURE__ */ E((e) => {
681
681
  const t = B(), n = K(), a = R(() => e.class);
682
682
  return () => m(Yf, A(e, t, {
683
683
  className: a.value,
@@ -720,7 +720,7 @@ function Zf() {
720
720
  }
721
721
  };
722
722
  }
723
- const Jf = "IdsRegistryProvider", kr = /* @__PURE__ */ Symbol("LumxIdsRegistry"), Er = I({
723
+ const Jf = "IdsRegistryProvider", kr = /* @__PURE__ */ Symbol("LumxIdsRegistry"), Er = E({
724
724
  name: M(Jf),
725
725
  setup(e, { slots: t }) {
726
726
  return Ie(kr, Zf()), () => t.default?.();
@@ -744,7 +744,7 @@ function Ir(e) {
744
744
  })
745
745
  ), n;
746
746
  }
747
- const eh = /* @__PURE__ */ I((e) => {
747
+ const eh = /* @__PURE__ */ E((e) => {
748
748
  const t = Ir(ln);
749
749
  return () => Hf({
750
750
  ...e,
@@ -1328,7 +1328,7 @@ const Th = {
1328
1328
  className: t
1329
1329
  } : {}
1330
1330
  };
1331
- }, _h = /* @__PURE__ */ I((e, {
1331
+ }, _h = /* @__PURE__ */ E((e, {
1332
1332
  emit: t,
1333
1333
  slots: n,
1334
1334
  attrs: a
@@ -1789,7 +1789,7 @@ function ae(e) {
1789
1789
  });
1790
1790
  return { disabledStateProps: n, isAnyDisabled: a, otherProps: o };
1791
1791
  }
1792
- const Pi = I({
1792
+ const Pi = E({
1793
1793
  name: "ResetTheme",
1794
1794
  setup(e, { slots: t }) {
1795
1795
  return Ie("theme", void 0), () => t.default?.();
@@ -1848,7 +1848,7 @@ const Pi = I({
1848
1848
  te.displayName = Qc;
1849
1849
  te.className = eu;
1850
1850
  te.defaultProps = rm;
1851
- const He = /* @__PURE__ */ I((e) => {
1851
+ const He = /* @__PURE__ */ E((e) => {
1852
1852
  const t = B(), n = K({
1853
1853
  defaultTheme: void 0
1854
1854
  }), a = R(() => e.class);
@@ -1948,7 +1948,7 @@ function or(e) {
1948
1948
  function hm(e) {
1949
1949
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !G(e);
1950
1950
  }
1951
- const pe = /* @__PURE__ */ I((e, {
1951
+ const pe = /* @__PURE__ */ E((e, {
1952
1952
  slots: t
1953
1953
  }) => {
1954
1954
  const n = B(), a = au(), o = Gd("tooltip-label"), {
@@ -1986,7 +1986,7 @@ const pe = /* @__PURE__ */ I((e, {
1986
1986
  props: L()("id", "as", "color", "colorVariant", "typography", "truncate", "noWrap", "whiteSpace", "style", "class")
1987
1987
  }), mm = {
1988
1988
  click: (e) => e instanceof MouseEvent
1989
- }, Mt = /* @__PURE__ */ I((e, {
1989
+ }, Mt = /* @__PURE__ */ E((e, {
1990
1990
  emit: t
1991
1991
  }) => {
1992
1992
  const n = Me(), a = B(), o = K(), r = R(() => e.class), {
@@ -2057,7 +2057,7 @@ const pe = /* @__PURE__ */ I((e, {
2057
2057
  }, [o]), t && m("div", {
2058
2058
  className: qa("after")
2059
2059
  }, [t])]);
2060
- }, ym = /* @__PURE__ */ I((e, {
2060
+ }, ym = /* @__PURE__ */ E((e, {
2061
2061
  slots: t
2062
2062
  }) => {
2063
2063
  const n = B(), a = R(() => e.class);
@@ -2073,7 +2073,7 @@ const pe = /* @__PURE__ */ I((e, {
2073
2073
  props: L()("class")
2074
2074
  }), Nm = {
2075
2075
  close: () => !0
2076
- }, zP = /* @__PURE__ */ I((e, {
2076
+ }, YP = /* @__PURE__ */ E((e, {
2077
2077
  emit: t,
2078
2078
  slots: n
2079
2079
  }) => {
@@ -2247,8 +2247,8 @@ const xm = "Thumbnail", Tm = "lumx-thumbnail", {
2247
2247
  handleClick: _,
2248
2248
  handleKeyPress: S,
2249
2249
  ...q
2250
- } = e, H = g || C === "isLoading", z = C === "hasError", E = z && typeof l == "string", j = z && !E, W = {};
2251
- E ? W.visibility = "hidden" : j && (W.display = "none");
2250
+ } = e, H = g || C === "isLoading", z = C === "hasError", I = z && typeof l == "string", j = z && !I, W = {};
2251
+ I ? W.visibility = "hidden" : j && (W.display = "none");
2252
2252
  const X = !!(P?.href || k), U = !y && !!(X || _ || S), J = {
2253
2253
  ...q
2254
2254
  };
@@ -2263,7 +2263,7 @@ const xm = "Thumbnail", Tm = "lumx-thumbnail", {
2263
2263
  [`variant-${x}`]: !!x,
2264
2264
  "is-clickable": U,
2265
2265
  "has-error": z,
2266
- "has-icon-error-fallback": E,
2266
+ "has-icon-error-fallback": I,
2267
2267
  "has-custom-error-fallback": j,
2268
2268
  "is-loading": H,
2269
2269
  [`object-fit-${p}`]: !!p,
@@ -2296,7 +2296,7 @@ const xm = "Thumbnail", Tm = "lumx-thumbnail", {
2296
2296
  loading: b
2297
2297
  }), null), !H && z && m("span", {
2298
2298
  className: Ct("fallback")
2299
- }, [E ? te({
2299
+ }, [I ? te({
2300
2300
  icon: l,
2301
2301
  size: lt.xxs,
2302
2302
  theme: T
@@ -2374,7 +2374,7 @@ function Im(e) {
2374
2374
  const Mm = {
2375
2375
  click: (e) => e instanceof Event,
2376
2376
  keyPress: (e) => e instanceof Event
2377
- }, mn = /* @__PURE__ */ I((e, {
2377
+ }, mn = /* @__PURE__ */ E((e, {
2378
2378
  emit: t,
2379
2379
  slots: n
2380
2380
  }) => {
@@ -2436,10 +2436,10 @@ const Mm = {
2436
2436
  inheritAttrs: !1,
2437
2437
  props: L()("align", "alt", "aspectRatio", "class", "crossOrigin", "fillHeight", "focusPoint", "image", "imgProps", "isLoading", "linkAs", "linkProps", "loading", "loadingPlaceholderImageRef", "objectFit", "size", "theme", "variant", "aria-disabled", "aria-label"),
2438
2438
  emits: Mm
2439
- }), VP = {
2439
+ }), XP = {
2440
2440
  squared: "squared",
2441
2441
  rounded: "rounded"
2442
- }, WP = {
2442
+ }, ZP = {
2443
2443
  cover: "cover",
2444
2444
  contain: "contain"
2445
2445
  }, $m = {
@@ -2447,7 +2447,7 @@ const Mm = {
2447
2447
  click: (e) => !0,
2448
2448
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
2449
2449
  keypress: (e) => !0
2450
- }, Lm = /* @__PURE__ */ I((e, {
2450
+ }, Lm = /* @__PURE__ */ E((e, {
2451
2451
  emit: t,
2452
2452
  slots: n
2453
2453
  }) => {
@@ -2769,9 +2769,9 @@ function Vm(e, t, n) {
2769
2769
  if (q >= 0 && q < _.length)
2770
2770
  return b = q, i.setActive(_[q]), !0;
2771
2771
  if (!s) return !1;
2772
- const H = P > 0 ? "next" : "prev", E = Le(d(k, H)) ?? (P > 0 ? f() : h());
2773
- if (!E) return !1;
2774
- const j = u(E);
2772
+ const H = P > 0 ? "next" : "prev", I = Le(d(k, H)) ?? (P > 0 ? f() : h());
2773
+ if (!I) return !1;
2774
+ const j = u(I);
2775
2775
  if (j.length === 0) return !1;
2776
2776
  const W = P > 0 ? 0 : j.length - 1;
2777
2777
  return b = W, i.setActive(j[W]), !0;
@@ -2811,8 +2811,8 @@ function Vm(e, t, n) {
2811
2811
  const k = Array.from(d());
2812
2812
  if (k.length === 0) return !1;
2813
2813
  if (!i.active) {
2814
- const H = P > 0 ? 0 : k.length - 1, z = P > 0 ? P - 1 : P + 1, E = Math.max(0, Math.min(H + z, k.length - 1));
2815
- return v(k[E], b);
2814
+ const H = P > 0 ? 0 : k.length - 1, z = P > 0 ? P - 1 : P + 1, I = Math.max(0, Math.min(H + z, k.length - 1));
2815
+ return v(k[I], b);
2816
2816
  }
2817
2817
  const _ = g(i.active);
2818
2818
  if (!_) return !1;
@@ -3084,14 +3084,14 @@ function iu(e, t, n) {
3084
3084
  loadingChange: /* @__PURE__ */ new Set(),
3085
3085
  loadingAnnouncement: /* @__PURE__ */ new Set()
3086
3086
  }, v = {};
3087
- function y(E, j) {
3088
- v[E] = j, b[E].forEach((W) => W(j));
3087
+ function y(I, j) {
3088
+ v[I] = j, b[I].forEach((W) => W(j));
3089
3089
  }
3090
3090
  function N() {
3091
- let E = 0;
3091
+ let I = 0;
3092
3092
  for (const j of c.values())
3093
- j.lastFiltered || (E += 1);
3094
- return E;
3093
+ j.lastFiltered || (I += 1);
3094
+ return I;
3095
3095
  }
3096
3096
  function O() {
3097
3097
  return N() > 0 || p > 0;
@@ -3099,8 +3099,8 @@ function iu(e, t, n) {
3099
3099
  function T() {
3100
3100
  for (const [X] of u)
3101
3101
  wi(X, u, c);
3102
- const E = N(), j = o?.value ?? "";
3103
- (E !== f || E === 0 && j !== h) && (f = E, h = j, y("optionsChange", { optionsLength: E, inputValue: j })), i && o?.setAttribute("aria-expanded", String(O()));
3102
+ const I = N(), j = o?.value ?? "";
3103
+ (I !== f || I === 0 && j !== h) && (f = I, h = j, y("optionsChange", { optionsLength: I, inputValue: j })), i && o?.setAttribute("aria-expanded", String(O()));
3104
3104
  }
3105
3105
  const C = 500;
3106
3106
  let x, P = !1;
@@ -3110,14 +3110,14 @@ function iu(e, t, n) {
3110
3110
  }, C));
3111
3111
  }
3112
3112
  function _() {
3113
- const E = p > 0;
3114
- g = E, y("loadingChange", E), E ? k() : (clearTimeout(x), P && (P = !1, y("loadingAnnouncement", !1)));
3113
+ const I = p > 0;
3114
+ g = I, y("loadingChange", I), I ? k() : (clearTimeout(x), P && (P = !1, y("loadingAnnouncement", !1)));
3115
3115
  }
3116
3116
  let S;
3117
3117
  function q() {
3118
3118
  d?.abort(), d = null, s = null;
3119
3119
  }
3120
- function H(E, j, W) {
3120
+ function H(I, j, W) {
3121
3121
  function X(U) {
3122
3122
  if (W?.(U)) {
3123
3123
  U.stopPropagation(), U.preventDefault();
@@ -3152,12 +3152,12 @@ function iu(e, t, n) {
3152
3152
  }
3153
3153
  J && (U.stopPropagation(), U.preventDefault());
3154
3154
  }
3155
- E.addEventListener("keydown", (U) => X(U), { signal: j });
3155
+ I.addEventListener("keydown", (U) => X(U), { signal: j });
3156
3156
  }
3157
3157
  function z() {
3158
3158
  if (!o) return;
3159
- const E = !d;
3160
- if (d || (d = new AbortController()), o.getAttribute("aria-activedescendant") || o.setAttribute("aria-activedescendant", ""), o.setAttribute("aria-expanded", String(i)), E) {
3159
+ const I = !d;
3160
+ if (d || (d = new AbortController()), o.getAttribute("aria-activedescendant") || o.setAttribute("aria-activedescendant", ""), o.setAttribute("aria-expanded", String(i)), I) {
3161
3161
  const j = n?.(S, d.signal) || void 0;
3162
3162
  H(o, d.signal, j), o.addEventListener(
3163
3163
  "focusout",
@@ -3188,77 +3188,77 @@ function iu(e, t, n) {
3188
3188
  get isLoading() {
3189
3189
  return p > 0;
3190
3190
  },
3191
- setIsOpen(E) {
3192
- i !== E && (i = E, E ? p > 0 && k() : (s?.clear(), clearTimeout(x), P && (P = !1, y("loadingAnnouncement", !1))), o?.setAttribute("aria-expanded", String(E && O())), y("open", E));
3191
+ setIsOpen(I) {
3192
+ i !== I && (i = I, I ? p > 0 && k() : (s?.clear(), clearTimeout(x), P && (P = !1, y("loadingAnnouncement", !1))), o?.setAttribute("aria-expanded", String(I && O())), y("open", I));
3193
3193
  },
3194
- select(E) {
3195
- e.onSelect?.({ value: E ? Ft(E) : "" }), E && !S.isMultiSelect && (S.focusNav?.clear(), requestAnimationFrame(() => {
3194
+ select(I) {
3195
+ e.onSelect?.({ value: I ? Ft(I) : "" }), I && !S.isMultiSelect && (S.focusNav?.clear(), requestAnimationFrame(() => {
3196
3196
  S.setIsOpen(!1);
3197
3197
  }));
3198
3198
  },
3199
3199
  flushPendingNavigation() {
3200
3200
  s?.flushPendingNavigation();
3201
3201
  },
3202
- registerOption(E, j) {
3203
- const W = l.toLowerCase(), X = Ft(E).toLowerCase(), U = W.length > 0 && !X.includes(W);
3204
- return c.set(E, { callback: j, lastFiltered: U }), j(U), T(), () => {
3205
- c.delete(E), T();
3202
+ registerOption(I, j) {
3203
+ const W = l.toLowerCase(), X = Ft(I).toLowerCase(), U = W.length > 0 && !X.includes(W);
3204
+ return c.set(I, { callback: j, lastFiltered: U }), j(U), T(), () => {
3205
+ c.delete(I), T();
3206
3206
  };
3207
3207
  },
3208
- setFilter(E) {
3209
- l = E;
3210
- const j = E.toLowerCase();
3208
+ setFilter(I) {
3209
+ l = I;
3210
+ const j = I.toLowerCase();
3211
3211
  for (const [W, X] of c) {
3212
3212
  const U = Ft(W).toLowerCase(), J = j.length > 0 && !U.includes(j);
3213
3213
  J !== X.lastFiltered && (X.lastFiltered = J, X.callback(J));
3214
3214
  }
3215
3215
  T();
3216
3216
  },
3217
- refilterOption(E) {
3218
- const j = c.get(E);
3217
+ refilterOption(I) {
3218
+ const j = c.get(I);
3219
3219
  if (!j) return;
3220
- const W = l.toLowerCase(), X = Ft(E).toLowerCase(), U = W.length > 0 && !X.includes(W);
3220
+ const W = l.toLowerCase(), X = Ft(I).toLowerCase(), U = W.length > 0 && !X.includes(W);
3221
3221
  U !== j.lastFiltered && (j.lastFiltered = U, j.callback(U), T());
3222
3222
  },
3223
- registerSection(E, j) {
3224
- return u.set(E, { callback: j, last: { hidden: !1, "aria-hidden": !1 } }), wi(E, u, c, !0), () => {
3225
- u.delete(E);
3223
+ registerSection(I, j) {
3224
+ return u.set(I, { callback: j, last: { hidden: !1, "aria-hidden": !1 } }), wi(I, u, c, !0), () => {
3225
+ u.delete(I);
3226
3226
  };
3227
3227
  },
3228
3228
  registerSkeleton() {
3229
- const E = p > 0;
3230
- return p += 1, E || _(), () => {
3229
+ const I = p > 0;
3230
+ return p += 1, I || _(), () => {
3231
3231
  p -= 1, p === 0 && _();
3232
3232
  };
3233
3233
  },
3234
- registerTrigger(E) {
3235
- return o && o !== E && q(), o = E, z(), () => {
3236
- o === E && (q(), o = null);
3234
+ registerTrigger(I) {
3235
+ return o && o !== I && q(), o = I, z(), () => {
3236
+ o === I && (q(), o = null);
3237
3237
  };
3238
3238
  },
3239
- registerListbox(E) {
3240
- if (r === E) return () => {
3239
+ registerListbox(I) {
3240
+ if (r === I) return () => {
3241
3241
  };
3242
3242
  const j = !!r;
3243
- return r = E, o && d && (j ? (q(), z()) : s = Ti(S, d.signal, y, { wrapNavigation: a })), () => {
3244
- r === E && (r = null, s = null);
3243
+ return r = I, o && d && (j ? (q(), z()) : s = Ti(S, d.signal, y, { wrapNavigation: a })), () => {
3244
+ r === I && (r = null, s = null);
3245
3245
  };
3246
3246
  },
3247
- subscribe(E, j) {
3248
- return b[E].add(j), E === "open" && i && j(!0), E === "loadingChange" && g && j(!0), () => {
3249
- b[E].delete(j);
3247
+ subscribe(I, j) {
3248
+ return b[I].add(j), I === "open" && i && j(!0), I === "loadingChange" && g && j(!0), () => {
3249
+ b[I].delete(j);
3250
3250
  };
3251
3251
  },
3252
- getSnapshot(E) {
3253
- return v[E];
3252
+ getSnapshot(I) {
3253
+ return v[I];
3254
3254
  },
3255
3255
  destroy() {
3256
3256
  q(), o = null, r = null, l = "", f = 0, h = "", g = !1;
3257
- for (const E of Object.keys(v))
3258
- delete v[E];
3257
+ for (const I of Object.keys(v))
3258
+ delete v[I];
3259
3259
  c.clear(), u.clear(), p = 0, clearTimeout(x), P = !1;
3260
- for (const E of Object.values(b))
3261
- E.clear();
3260
+ for (const I of Object.values(b))
3261
+ I.clear();
3262
3262
  }
3263
3263
  }, S;
3264
3264
  }
@@ -3659,12 +3659,12 @@ const ip = async (e, t, n) => {
3659
3659
  }, h = Fr(o), g = Br(h), p = await s.getDimensions(c), b = h === "y", v = b ? "top" : "left", y = b ? "bottom" : "right", N = b ? "clientHeight" : "clientWidth", O = r.reference[g] + r.reference[h] - f[h] - r.floating[g], T = f[h] - r.reference[h], C = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(c));
3660
3660
  let x = C ? C[N] : 0;
3661
3661
  (!x || !await (s.isElement == null ? void 0 : s.isElement(C))) && (x = i.floating[N] || r.floating[g]);
3662
- const P = O / 2 - T / 2, k = x / 2 - p[g] / 2 - 1, _ = ze(d[v], k), S = ze(d[y], k), q = _, H = x - p[g] - S, z = x / 2 - p[g] / 2 + P, E = lr(q, z, H), j = !l.arrow && he(o) != null && z !== E && r.reference[g] / 2 - (z < q ? _ : S) - p[g] / 2 < 0, W = j ? z < q ? z - q : z - H : 0;
3662
+ const P = O / 2 - T / 2, k = x / 2 - p[g] / 2 - 1, _ = ze(d[v], k), S = ze(d[y], k), q = _, H = x - p[g] - S, z = x / 2 - p[g] / 2 + P, I = lr(q, z, H), j = !l.arrow && he(o) != null && z !== I && r.reference[g] / 2 - (z < q ? _ : S) - p[g] / 2 < 0, W = j ? z < q ? z - q : z - H : 0;
3663
3663
  return {
3664
3664
  [h]: f[h] + W,
3665
3665
  data: {
3666
- [h]: E,
3667
- centerOffset: z - E - W,
3666
+ [h]: I,
3667
+ centerOffset: z - I - W,
3668
3668
  ...j && {
3669
3669
  alignmentOffset: W
3670
3670
  }
@@ -3781,8 +3781,8 @@ const up = function(e) {
3781
3781
  overflows: k
3782
3782
  }], !k.every((z) => z <= 0)) {
3783
3783
  var S, q;
3784
- const z = (((S = r.flip) == null ? void 0 : S.index) || 0) + 1, E = x[z];
3785
- if (E && (!(d === "alignment" ? y !== ke(E) : !1) || // We leave the current main axis only if every placement on that axis
3784
+ const z = (((S = r.flip) == null ? void 0 : S.index) || 0) + 1, I = x[z];
3785
+ if (I && (!(d === "alignment" ? y !== ke(I) : !1) || // We leave the current main axis only if every placement on that axis
3786
3786
  // overflows the main axis.
3787
3787
  _.every((X) => ke(X.placement) === y ? X.overflows[0] > 0 : !0)))
3788
3788
  return {
@@ -3791,7 +3791,7 @@ const up = function(e) {
3791
3791
  overflows: _
3792
3792
  },
3793
3793
  reset: {
3794
- placement: E
3794
+ placement: I
3795
3795
  }
3796
3796
  };
3797
3797
  let j = (q = _.filter((W) => W.overflows[0] <= 0).sort((W, X) => W.overflows[1] - X.overflows[1])[0]) == null ? void 0 : q.placement;
@@ -4719,7 +4719,7 @@ function ng(e) {
4719
4719
  function ag(e) {
4720
4720
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !G(e);
4721
4721
  }
4722
- const yn = /* @__PURE__ */ I((e, {
4722
+ const yn = /* @__PURE__ */ E((e, {
4723
4723
  slots: t
4724
4724
  }) => {
4725
4725
  const n = re(), a = R(() => e.class), o = D(null), r = D(null), s = w(() => e.placement || Ht.placement), i = w(() => e.closeMode || Ht.closeMode), l = w(() => e.ariaLinkMode || Ht.ariaLinkMode), c = w(() => e.zIndex || Ht.zIndex), {
@@ -4768,7 +4768,7 @@ const yn = /* @__PURE__ */ I((e, {
4768
4768
  props: L()("label", "placement", "delay", "forceOpen", "closeMode", "ariaLinkMode", "zIndex", "class")
4769
4769
  }), og = {
4770
4770
  click: (e) => e instanceof MouseEvent
4771
- }, pt = /* @__PURE__ */ I((e, {
4771
+ }, pt = /* @__PURE__ */ E((e, {
4772
4772
  emit: t,
4773
4773
  expose: n
4774
4774
  }) => {
@@ -4831,7 +4831,7 @@ const yn = /* @__PURE__ */ I((e, {
4831
4831
  Nn.displayName = Tu;
4832
4832
  Nn.className = _u;
4833
4833
  Nn.defaultProps = rg;
4834
- const UP = /* @__PURE__ */ I((e, {
4834
+ const JP = /* @__PURE__ */ E((e, {
4835
4835
  slots: t
4836
4836
  }) => {
4837
4837
  const n = B(), a = R(() => e.class);
@@ -4896,7 +4896,7 @@ function Wr() {
4896
4896
  const { handle: e } = we();
4897
4897
  return { isOpen: Ae("open", !1), setIsOpen: (a) => e.value?.setIsOpen(a) };
4898
4898
  }
4899
- const ig = /* @__PURE__ */ I((e, {
4899
+ const ig = /* @__PURE__ */ E((e, {
4900
4900
  emit: t
4901
4901
  }) => {
4902
4902
  const n = B(), a = R(() => e.class), {
@@ -5102,7 +5102,7 @@ const fg = "TextField", Eu = "lumx-text-field", Iu = `${Eu}__input-native`, {
5102
5102
  focus: (e) => !0,
5103
5103
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
5104
5104
  blur: (e) => !0
5105
- }, vg = /* @__PURE__ */ I((e, {
5105
+ }, vg = /* @__PURE__ */ E((e, {
5106
5106
  emit: t
5107
5107
  }) => {
5108
5108
  const n = B(), a = K(), o = R(() => e.class), r = (c, u, d) => {
@@ -5196,7 +5196,7 @@ const Ag = {
5196
5196
  focus: (e) => !0,
5197
5197
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
5198
5198
  blur: (e) => !0
5199
- }, Og = /* @__PURE__ */ I((e, {
5199
+ }, Og = /* @__PURE__ */ E((e, {
5200
5200
  emit: t
5201
5201
  }) => {
5202
5202
  const n = B(), a = K(), o = R(() => e.class), r = D(null), s = Ng(w(() => e.rows ?? Mu.rows), r, w(() => e.value)), i = (d, f, h) => {
@@ -5336,7 +5336,7 @@ const Ig = (e) => {
5336
5336
  isFocus: S,
5337
5337
  IconButton: q,
5338
5338
  ref: H
5339
- } = e, z = (P || "").length, E = z > 0, j = p ? p - z : 0, W = p ? m("span", {
5339
+ } = e, z = (P || "").length, I = z > 0, j = p ? p - z : 0, W = p ? m("span", {
5340
5340
  className: de("char-counter"),
5341
5341
  role: "status"
5342
5342
  }, [N ? N(j) : j, j === 0 && te({
@@ -5350,7 +5350,7 @@ const Ig = (e) => {
5350
5350
  "has-error": !d && s,
5351
5351
  "has-icon": !!l,
5352
5352
  "has-input": !b,
5353
- "has-input-clear": !!(a && E),
5353
+ "has-input-clear": !!(a && I),
5354
5354
  "has-label": !!f,
5355
5355
  "has-placeholder": !!v,
5356
5356
  "has-textarea": b,
@@ -5387,7 +5387,7 @@ const Ig = (e) => {
5387
5387
  color: x === me.dark ? "light" : void 0,
5388
5388
  icon: d ? Ar : xt,
5389
5389
  size: V.xxs
5390
- }), a && E && !g && m(q, A({
5390
+ }), a && I && !g && m(q, A({
5391
5391
  "aria-describedby": C
5392
5392
  }, a, {
5393
5393
  className: de("input-clear"),
@@ -5421,7 +5421,7 @@ const Ig = (e) => {
5421
5421
  blur: (e) => !0,
5422
5422
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
5423
5423
  clear: (e) => !0
5424
- }, $g = /* @__PURE__ */ I((e, {
5424
+ }, $g = /* @__PURE__ */ E((e, {
5425
5425
  emit: t
5426
5426
  }) => {
5427
5427
  const n = B(), a = au("chips"), o = K(), r = R(() => e.class), s = re(), i = w(() => e.id || s), l = D(!1), {
@@ -5463,7 +5463,7 @@ const Ig = (e) => {
5463
5463
  "aria-disabled": q,
5464
5464
  ariaDisabled: H,
5465
5465
  onChange: z,
5466
- onInput: E,
5466
+ onInput: I,
5467
5467
  onFocus: j,
5468
5468
  onBlur: W,
5469
5469
  chips: X,
@@ -5531,7 +5531,7 @@ const Ig = (e) => {
5531
5531
  inheritAttrs: !1,
5532
5532
  props: L()("class", "theme", "value", "error", "forceFocusStyle", "hasError", "afterElement", "helper", "icon", "isRequired", "isValid", "label", "labelProps", "maxLength", "charCounterMessage", "isDisabled", "disabled", "multiline", "placeholder", "aria-disabled", "id", "clearButtonProps", "name", "type", "minimumRows", "inputRef", "textFieldRef"),
5533
5533
  emits: Mg
5534
- }), Lg = /* @__PURE__ */ I((e, {
5534
+ }), Lg = /* @__PURE__ */ E((e, {
5535
5535
  emit: t,
5536
5536
  attrs: n
5537
5537
  }) => {
@@ -5670,7 +5670,7 @@ function Hg(e) {
5670
5670
  function zg() {
5671
5671
  return be(ju, jg);
5672
5672
  }
5673
- const Vg = /* @__PURE__ */ I((e, {
5673
+ const Vg = /* @__PURE__ */ E((e, {
5674
5674
  slots: t
5675
5675
  }) => {
5676
5676
  const n = B(), a = R(() => e.class), {
@@ -5854,7 +5854,7 @@ function Qg() {
5854
5854
  }
5855
5855
  const ev = {
5856
5856
  click: () => !0
5857
- }, _t = /* @__PURE__ */ I((e, {
5857
+ }, _t = /* @__PURE__ */ E((e, {
5858
5858
  slots: t,
5859
5859
  emit: n
5860
5860
  }) => {
@@ -5930,7 +5930,7 @@ const ev = {
5930
5930
  handleClick: o,
5931
5931
  children: t
5932
5932
  });
5933
- }, ov = /* @__PURE__ */ I((e, {
5933
+ }, ov = /* @__PURE__ */ E((e, {
5934
5934
  slots: t,
5935
5935
  attrs: n
5936
5936
  }) => {
@@ -6205,7 +6205,7 @@ function xv(e, t = !0) {
6205
6205
  }
6206
6206
  const Tv = {
6207
6207
  close: () => !0
6208
- }, An = /* @__PURE__ */ I((e, {
6208
+ }, An = /* @__PURE__ */ E((e, {
6209
6209
  emit: t,
6210
6210
  slots: n,
6211
6211
  attrs: a
@@ -6276,7 +6276,7 @@ const Tv = {
6276
6276
  function _v(e) {
6277
6277
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !G(e);
6278
6278
  }
6279
- const Gu = /* @__PURE__ */ I((e, {
6279
+ const Gu = /* @__PURE__ */ E((e, {
6280
6280
  slots: t
6281
6281
  }) => {
6282
6282
  const n = R(() => e.class), a = D(null), o = w(() => a.value?.$el ?? void 0), r = D(!1), {
@@ -6396,7 +6396,7 @@ const Gu = /* @__PURE__ */ I((e, {
6396
6396
  }, (l, c) => m(ot, A({
6397
6397
  key: c
6398
6398
  }, i), null))]);
6399
- }, Ku = /* @__PURE__ */ I((e, {
6399
+ }, Ku = /* @__PURE__ */ E((e, {
6400
6400
  slots: t,
6401
6401
  attrs: n
6402
6402
  }) => {
@@ -6506,7 +6506,7 @@ function Yv(e) {
6506
6506
  }))
6507
6507
  };
6508
6508
  }
6509
- const On = /* @__PURE__ */ I((e, {
6509
+ const On = /* @__PURE__ */ E((e, {
6510
6510
  slots: t
6511
6511
  }) => {
6512
6512
  const n = B(), a = R(() => e.class);
@@ -6527,7 +6527,7 @@ const On = /* @__PURE__ */ I((e, {
6527
6527
  inheritAttrs: !1,
6528
6528
  // Redefine properties so that they come in as `props` on the `defineComponent` function
6529
6529
  props: L()("as", "fillSpace", "gap", "horizontalAlign", "marginAuto", "noShrink", "orientation", "verticalAlign", "wrap", "class")
6530
- }), Xv = /* @__PURE__ */ I((e, {
6530
+ }), Xv = /* @__PURE__ */ E((e, {
6531
6531
  slots: t
6532
6532
  }) => {
6533
6533
  const n = R(() => e.class), {
@@ -6557,7 +6557,7 @@ const On = /* @__PURE__ */ I((e, {
6557
6557
  name: M(qv),
6558
6558
  inheritAttrs: !1,
6559
6559
  props: L()("as", "boundaryRef", "class", "closeMode", "closeOnClickAway", "closeOnEscape", "elevation", "fitToAnchorWidth", "fitWithinViewportHeight", "focusAnchorOnClose", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "focusElement", "focusTrapZoneElement", "hasArrow", "offset", "parentElement", "placement", "theme", "usePortal", "withFocusTrap", "zIndex")
6560
- }), Zv = /* @__PURE__ */ I((e, {
6560
+ }), Zv = /* @__PURE__ */ E((e, {
6561
6561
  slots: t,
6562
6562
  emit: n
6563
6563
  }) => {
@@ -6609,7 +6609,7 @@ const Qv = "ComboboxSection", eb = "lumx-combobox-section", tb = (e, {
6609
6609
  }), Jv(n) ? n : {
6610
6610
  default: () => [n]
6611
6611
  });
6612
- }, GP = /* @__PURE__ */ I((e, {
6612
+ }, QP = /* @__PURE__ */ E((e, {
6613
6613
  slots: t
6614
6614
  }) => {
6615
6615
  const n = B(), a = R(() => e.class);
@@ -6637,7 +6637,7 @@ const Qv = "ComboboxSection", eb = "lumx-combobox-section", tb = (e, {
6637
6637
  Pn.displayName = Yu;
6638
6638
  Pn.className = Xu;
6639
6639
  Pn.defaultProps = nb;
6640
- const Zu = /* @__PURE__ */ I((e) => {
6640
+ const Zu = /* @__PURE__ */ E((e) => {
6641
6641
  const t = B(), n = R(() => e.class);
6642
6642
  return () => m(Pn, A(t, {
6643
6643
  className: n.value
@@ -6648,7 +6648,7 @@ const Zu = /* @__PURE__ */ I((e) => {
6648
6648
  props: L()("class")
6649
6649
  }), ab = {
6650
6650
  click: (e) => e instanceof MouseEvent
6651
- }, ob = /* @__PURE__ */ I((e, {
6651
+ }, ob = /* @__PURE__ */ E((e, {
6652
6652
  emit: t,
6653
6653
  slots: n
6654
6654
  }) => {
@@ -6682,7 +6682,7 @@ const Zu = /* @__PURE__ */ I((e) => {
6682
6682
  emits: ab
6683
6683
  }), rb = {
6684
6684
  click: (e) => e instanceof MouseEvent
6685
- }, sb = /* @__PURE__ */ I((e, {
6685
+ }, sb = /* @__PURE__ */ E((e, {
6686
6686
  emit: t,
6687
6687
  slots: n
6688
6688
  }) => {
@@ -6717,7 +6717,7 @@ const Zu = /* @__PURE__ */ I((e) => {
6717
6717
  inheritAttrs: !1,
6718
6718
  props: L()("isHighlighted", "isSelected", "isDisabled", "linkAs", "linkProps", "size", "class", "aria-disabled"),
6719
6719
  emits: rb
6720
- }), KP = Object.assign(sb, {
6720
+ }), eC = Object.assign(sb, {
6721
6721
  Action: ob
6722
6722
  }), Ju = "ListSection", Qu = "lumx-list-section", {
6723
6723
  block: ib,
@@ -6755,7 +6755,7 @@ const Zu = /* @__PURE__ */ I((e) => {
6755
6755
  Cn.displayName = Ju;
6756
6756
  Cn.className = Qu;
6757
6757
  Cn.defaultProps = lb;
6758
- const cb = /* @__PURE__ */ I((e, {
6758
+ const cb = /* @__PURE__ */ E((e, {
6759
6759
  slots: t
6760
6760
  }) => {
6761
6761
  const n = B(), a = re(), o = R(() => e.class);
@@ -6769,7 +6769,7 @@ const cb = /* @__PURE__ */ I((e, {
6769
6769
  name: M(Ju),
6770
6770
  inheritAttrs: !1,
6771
6771
  props: L()("label", "icon", "itemsWrapperProps", "class")
6772
- }), ed = /* @__PURE__ */ I((e, {
6772
+ }), ed = /* @__PURE__ */ E((e, {
6773
6773
  slots: t
6774
6774
  }) => {
6775
6775
  const n = R(() => e.class), {
@@ -6928,7 +6928,7 @@ const gb = "GenericBlock", vb = "lumx-generic-block", {
6928
6928
  default: () => [r]
6929
6929
  })]
6930
6930
  });
6931
- }, Nb = /* @__PURE__ */ I((e, {
6931
+ }, Nb = /* @__PURE__ */ E((e, {
6932
6932
  slots: t
6933
6933
  }) => {
6934
6934
  const n = B(), a = R(() => e.class);
@@ -7544,7 +7544,7 @@ function ry() {
7544
7544
  return jo = n, jo;
7545
7545
  }
7546
7546
  var sy = ry();
7547
- const iy = /* @__PURE__ */ $e(sy), YP = iy(V, ["tiny", "regular", "medium", "big", "huge"]), ly = /* @__PURE__ */ I((e) => {
7547
+ const iy = /* @__PURE__ */ $e(sy), tC = iy(V, ["tiny", "regular", "medium", "big", "huge"]), ly = /* @__PURE__ */ E((e) => {
7548
7548
  const {
7549
7549
  handle: t
7550
7550
  } = we(), n = Ae("optionsChange", void 0), a = D(!1), o = D(!1), r = D(!1);
@@ -7631,7 +7631,7 @@ const iy = /* @__PURE__ */ $e(sy), YP = iy(V, ["tiny", "regular", "medium", "big
7631
7631
  kn.displayName = rd;
7632
7632
  kn.className = sd;
7633
7633
  kn.defaultProps = id;
7634
- const XP = /* @__PURE__ */ I((e, {
7634
+ const nC = /* @__PURE__ */ E((e, {
7635
7635
  slots: t
7636
7636
  }) => {
7637
7637
  const n = B(), a = R(() => e.class);
@@ -7662,7 +7662,7 @@ const XP = /* @__PURE__ */ I((e, {
7662
7662
  }), [n, t && m("div", {
7663
7663
  className: hy("badge")
7664
7664
  }, [t])]);
7665
- }, ZP = /* @__PURE__ */ I((e, {
7665
+ }, aC = /* @__PURE__ */ E((e, {
7666
7666
  slots: t
7667
7667
  }) => {
7668
7668
  const n = B(), a = R(() => e.class);
@@ -7675,10 +7675,49 @@ const XP = /* @__PURE__ */ I((e, {
7675
7675
  name: M(uy),
7676
7676
  inheritAttrs: !1,
7677
7677
  props: L()("badge", "class")
7678
- }), ld = "intermediate", py = "Checkbox", gy = "lumx-checkbox", {
7679
- block: vy,
7678
+ });
7679
+ function py(e) {
7680
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !G(e);
7681
+ }
7682
+ const gy = "Card", vy = "lumx-card", {
7683
+ block: by
7684
+ } = F(vy), yy = {
7685
+ as: "div"
7686
+ }, Ny = (e) => {
7687
+ const {
7688
+ className: t,
7689
+ children: n,
7690
+ elevation: a,
7691
+ ref: o,
7692
+ as: r = yy.as,
7693
+ ...s
7694
+ } = e;
7695
+ return m(r, A({
7696
+ ref: o
7697
+ }, s, {
7698
+ className: $(t, by({
7699
+ [`elevation-${a}`]: !!a
7700
+ }))
7701
+ }), py(n) ? n : {
7702
+ default: () => [n]
7703
+ });
7704
+ }, oC = /* @__PURE__ */ E((e, {
7705
+ slots: t
7706
+ }) => {
7707
+ const n = B(), a = R(() => e.class);
7708
+ return () => m(Ny, A(n, e, {
7709
+ className: a.value,
7710
+ children: t.default?.()
7711
+ }), null);
7712
+ }, {
7713
+ name: M(gy),
7714
+ inheritAttrs: !1,
7715
+ // Redefine properties so that they come in as `props` on the `defineComponent` function
7716
+ props: L()("class", "elevation", "as")
7717
+ }), ld = "intermediate", Ay = "Checkbox", Oy = "lumx-checkbox", {
7718
+ block: Py,
7680
7719
  element: Re
7681
- } = F(gy), by = (e) => {
7720
+ } = F(Oy), Cy = (e) => {
7682
7721
  const {
7683
7722
  checked: t,
7684
7723
  className: n,
@@ -7702,7 +7741,7 @@ const XP = /* @__PURE__ */ I((e, {
7702
7741
  return m("div", A({
7703
7742
  ref: c
7704
7743
  }, b, {
7705
- className: $(n, vy({
7744
+ className: $(n, Py({
7706
7745
  // Whether state is intermediate class name will "-checked"
7707
7746
  "is-checked": v ? !0 : s,
7708
7747
  "is-disabled": g,
@@ -7745,9 +7784,9 @@ const XP = /* @__PURE__ */ I((e, {
7745
7784
  theme: d,
7746
7785
  children: a
7747
7786
  })])]);
7748
- }, yy = {
7787
+ }, Sy = {
7749
7788
  change: (e, t, n, a) => typeof e == "boolean" && a instanceof Event
7750
- }, JP = /* @__PURE__ */ I((e, {
7789
+ }, rC = /* @__PURE__ */ E((e, {
7751
7790
  emit: t
7752
7791
  }) => {
7753
7792
  const n = B(), a = K(), o = R(() => e.class), r = re(), s = w(() => e.id || r), i = D(null), {
@@ -7766,7 +7805,7 @@ const XP = /* @__PURE__ */ I((e, {
7766
7805
  const f = (h, g, p, b) => {
7767
7806
  l.value || t("change", h, g, p, b);
7768
7807
  };
7769
- return () => m(by, A(u.value, {
7808
+ return () => m(Cy, A(u.value, {
7770
7809
  className: o.value,
7771
7810
  theme: e.theme || a.value,
7772
7811
  inputId: s.value,
@@ -7781,17 +7820,17 @@ const XP = /* @__PURE__ */ I((e, {
7781
7820
  }
7782
7821
  }), null);
7783
7822
  }, {
7784
- name: M(py),
7823
+ name: M(Ay),
7785
7824
  inheritAttrs: !1,
7786
7825
  // Redefine properties so that they come in as `props` on the `defineComponent` function
7787
7826
  props: L()("checked", "class", "disabled", "helper", "id", "inputProps", "isChecked", "isDisabled", "label", "name", "theme", "value", "aria-disabled"),
7788
- emits: yy
7789
- }), Ny = "Chip", kt = "lumx-chip", {
7790
- block: Ay,
7827
+ emits: Sy
7828
+ }), wy = "Chip", kt = "lumx-chip", {
7829
+ block: xy,
7791
7830
  element: Ho
7792
- } = F(kt), Oy = {
7831
+ } = F(kt), Ty = {
7793
7832
  size: V.m
7794
- }, Py = (e) => {
7833
+ }, _y = (e) => {
7795
7834
  const {
7796
7835
  after: t,
7797
7836
  before: n,
@@ -7807,7 +7846,7 @@ const XP = /* @__PURE__ */ I((e, {
7807
7846
  hasAfterClick: f,
7808
7847
  hasBeforeClick: h,
7809
7848
  hasOnClick: g,
7810
- size: p = Oy.size,
7849
+ size: p = Ty.size,
7811
7850
  theme: b,
7812
7851
  ref: v,
7813
7852
  href: y,
@@ -7830,7 +7869,7 @@ const XP = /* @__PURE__ */ I((e, {
7830
7869
  }, H, P, {
7831
7870
  href: O.disabled ? void 0 : y,
7832
7871
  ref: v,
7833
- className: $(o, Ay({
7872
+ className: $(o, xy({
7834
7873
  "is-clickable": _,
7835
7874
  [`color-${S}`]: !!S,
7836
7875
  "is-disabled": T,
@@ -7859,12 +7898,12 @@ const XP = /* @__PURE__ */ I((e, {
7859
7898
  onClick: c
7860
7899
  }, [t])])
7861
7900
  );
7862
- }, Cy = {
7901
+ }, ky = {
7863
7902
  click: (e) => e instanceof MouseEvent,
7864
7903
  afterClick: (e) => e instanceof MouseEvent,
7865
7904
  beforeClick: (e) => e instanceof MouseEvent,
7866
7905
  keydown: (e) => e instanceof KeyboardEvent
7867
- }, dr = /* @__PURE__ */ I((e, {
7906
+ }, dr = /* @__PURE__ */ E((e, {
7868
7907
  emit: t
7869
7908
  }) => {
7870
7909
  const n = Me(), a = B(), o = K(), r = R(() => e.class), s = se("onClick"), i = se("onAfterClick"), l = se("onBeforeClick"), {
@@ -7883,7 +7922,7 @@ const XP = /* @__PURE__ */ I((e, {
7883
7922
  }, p = (b) => {
7884
7923
  c.value || t("keydown", b);
7885
7924
  };
7886
- return () => m(Py, A(d.value, {
7925
+ return () => m(_y, A(d.value, {
7887
7926
  className: r.value,
7888
7927
  theme: e.theme || o.value,
7889
7928
  handleClick: f,
@@ -7902,11 +7941,11 @@ const XP = /* @__PURE__ */ I((e, {
7902
7941
  tabIndexProp: "tabindex"
7903
7942
  }), null);
7904
7943
  }, {
7905
- name: M(Ny),
7944
+ name: M(wy),
7906
7945
  inheritAttrs: !1,
7907
7946
  props: L()("color", "href", "isClickable", "isDisabled", "isHighlighted", "isSelected", "size", "theme", "class", "aria-disabled", "disabled"),
7908
- emits: Cy
7909
- }), Sy = "ChipGroup", wy = "lumx-chip-group", xy = (e) => {
7947
+ emits: ky
7948
+ }), Ey = "ChipGroup", Iy = "lumx-chip-group", My = (e) => {
7910
7949
  const {
7911
7950
  children: t,
7912
7951
  className: n,
@@ -7916,28 +7955,28 @@ const XP = /* @__PURE__ */ I((e, {
7916
7955
  return m("div", A({
7917
7956
  ref: a
7918
7957
  }, o, {
7919
- className: $(n, wy)
7958
+ className: $(n, Iy)
7920
7959
  }), [t]);
7921
- }, Ty = /* @__PURE__ */ I((e, {
7960
+ }, $y = /* @__PURE__ */ E((e, {
7922
7961
  slots: t
7923
7962
  }) => {
7924
7963
  const n = B(), a = R(() => e.class);
7925
- return () => m(xy, A(e, n, {
7964
+ return () => m(My, A(e, n, {
7926
7965
  className: a.value,
7927
7966
  children: t.default?.()
7928
7967
  }), null);
7929
7968
  }, {
7930
- name: M(Sy),
7969
+ name: M(Ey),
7931
7970
  inheritAttrs: !1,
7932
7971
  props: L()("align", "class")
7933
7972
  });
7934
- function _y(e) {
7973
+ function Ly(e) {
7935
7974
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !G(e);
7936
7975
  }
7937
- const ky = "SelectionChipGroup", Ey = "lumx-selection-chip-group", {
7938
- block: Iy,
7939
- element: My
7940
- } = F(Ey), $y = (e, {
7976
+ const Ry = "SelectionChipGroup", Dy = "lumx-selection-chip-group", {
7977
+ block: By,
7978
+ element: Fy
7979
+ } = F(Dy), qy = (e, {
7941
7980
  Chip: t,
7942
7981
  ChipGroup: n,
7943
7982
  Icon: a,
@@ -7964,8 +8003,8 @@ const ky = "SelectionChipGroup", Ey = "lumx-selection-chip-group", {
7964
8003
  "aria-label": u,
7965
8004
  "aria-multiselectable": "true",
7966
8005
  "aria-orientation": "horizontal",
7967
- className: Iy([g])
7968
- }), _y(s = i.map((y) => {
8006
+ className: By([g])
8007
+ }), Ly(s = i.map((y) => {
7969
8008
  const N = c && ie(c, y) || ie(l, y), O = ie(l, y), T = p?.(y) || {}, C = T.isDisabled || f, x = typeof T.children == "string" ? T.children : N, P = d ? `${x} - ${d}` : x;
7970
8009
  return m(r, {
7971
8010
  key: O,
@@ -7978,7 +8017,7 @@ const ky = "SelectionChipGroup", Ey = "lumx-selection-chip-group", {
7978
8017
  after: m(a, {
7979
8018
  icon: Or
7980
8019
  }, null),
7981
- className: My("chip", [T.className]),
8020
+ className: Fy("chip", [T.className]),
7982
8021
  "data-option-id": O,
7983
8022
  isClickable: !0,
7984
8023
  role: "option",
@@ -7997,9 +8036,9 @@ const ky = "SelectionChipGroup", Ey = "lumx-selection-chip-group", {
7997
8036
  })) ? s : {
7998
8037
  default: () => [s]
7999
8038
  });
8000
- }, Ly = `.${kt}:not([aria-disabled="true"])`, ql = (e) => e?.closest?.(`.${kt}`) || null, jl = (e) => e?.getAttribute("aria-disabled") === "true";
8039
+ }, jy = `.${kt}:not([aria-disabled="true"])`, ql = (e) => e?.closest?.(`.${kt}`) || null, jl = (e) => e?.getAttribute("aria-disabled") === "true";
8001
8040
  function Vt(e, t, n) {
8002
- const a = $t(e, Ly);
8041
+ const a = $t(e, jy);
8003
8042
  if (n)
8004
8043
  return a.currentNode = n, (t === "next" ? a.nextNode() : a.previousNode()) || void 0;
8005
8044
  if (t === "previous") {
@@ -8018,7 +8057,7 @@ function Hl(e, t) {
8018
8057
  const o = [...n];
8019
8058
  o.splice(a, 1), e.onChange(o);
8020
8059
  }
8021
- function Ry(e) {
8060
+ function Hy(e) {
8022
8061
  const t = e.getContainer();
8023
8062
  if (!t) return () => {
8024
8063
  };
@@ -8061,10 +8100,10 @@ function cd({
8061
8100
  ), s(() => l.abort());
8062
8101
  });
8063
8102
  }
8064
- const ud = (e) => (t) => G(t) && t.type === e, Dy = {
8103
+ const ud = (e) => (t) => G(t) && t.type === e, zy = {
8065
8104
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
8066
8105
  change: (e) => !0
8067
- }, By = /* @__PURE__ */ I(
8106
+ }, Vy = /* @__PURE__ */ E(
8068
8107
  // The component is internally typed against `any` — the generic is layered on at export time
8069
8108
  (e, {
8070
8109
  emit: t,
@@ -8072,7 +8111,7 @@ const ud = (e) => (t) => G(t) && t.type === e, Dy = {
8072
8111
  }) => {
8073
8112
  const a = B(), o = R(() => e.class), r = K(), s = D(null), i = () => s.value?.$el ?? s.value ?? null;
8074
8113
  We((c) => {
8075
- const u = Ry({
8114
+ const u = Hy({
8076
8115
  getContainer: i,
8077
8116
  getInput: () => e.inputRef,
8078
8117
  onChange: (d) => t("change", d),
@@ -8107,7 +8146,7 @@ const ud = (e) => (t) => G(t) && t.type === e, Dy = {
8107
8146
  class: u,
8108
8147
  ...d
8109
8148
  } = e;
8110
- return $y({
8149
+ return qy({
8111
8150
  ...a,
8112
8151
  ...d,
8113
8152
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -8120,7 +8159,7 @@ const ud = (e) => (t) => G(t) && t.type === e, Dy = {
8120
8159
  ref: s
8121
8160
  }, {
8122
8161
  Chip: dr,
8123
- ChipGroup: Ty,
8162
+ ChipGroup: $y,
8124
8163
  Icon: He,
8125
8164
  Tooltip: yn,
8126
8165
  Text: pe
@@ -8128,27 +8167,27 @@ const ud = (e) => (t) => G(t) && t.type === e, Dy = {
8128
8167
  };
8129
8168
  },
8130
8169
  {
8131
- name: M(ky),
8170
+ name: M(Ry),
8132
8171
  inheritAttrs: !1,
8133
8172
  props: L()("getChipProps", "getOptionId", "getOptionName", "value", "label", "chipRemoveLabel", "isDisabled", "theme", "class", "inputRef"),
8134
- emits: Dy
8173
+ emits: zy
8135
8174
  }
8136
- ), Fy = "Heading", qy = "lumx-heading", jy = (e, t) => {
8175
+ ), Wy = "Heading", Uy = "lumx-heading", Gy = (e, t) => {
8137
8176
  const { as: n, className: a, typography: o, ...r } = e, s = n || t || "h1";
8138
8177
  return {
8139
8178
  ...r,
8140
8179
  as: s,
8141
- className: $(a, qy),
8180
+ className: $(a, Uy),
8142
8181
  typography: o || zf[s]
8143
8182
  };
8144
- }, Hy = /* @__PURE__ */ I((e, {
8183
+ }, Ky = /* @__PURE__ */ E((e, {
8145
8184
  slots: t
8146
8185
  }) => {
8147
8186
  const n = B(), a = $c(), o = R(() => e.class), r = w(() => {
8148
8187
  const {
8149
8188
  className: s,
8150
8189
  ...i
8151
- } = jy({
8190
+ } = Gy({
8152
8191
  ...n,
8153
8192
  ...e,
8154
8193
  className: o.value
@@ -8162,11 +8201,11 @@ const ud = (e) => (t) => G(t) && t.type === e, Dy = {
8162
8201
  default: () => [t.default?.()]
8163
8202
  });
8164
8203
  }, {
8165
- name: M(Fy),
8204
+ name: M(Wy),
8166
8205
  inheritAttrs: !1,
8167
8206
  // Redefine properties so that they come in as `props` on the `defineComponent` function
8168
8207
  props: L()("id", "as", "color", "colorVariant", "typography", "truncate", "noWrap", "whiteSpace", "style", "class")
8169
- }), QP = /* @__PURE__ */ I((e, {
8208
+ }), sC = /* @__PURE__ */ E((e, {
8170
8209
  slots: t
8171
8210
  }) => {
8172
8211
  const n = B(), a = re(), o = w(() => e.id || a);
@@ -8177,17 +8216,17 @@ const ud = (e) => (t) => G(t) && t.type === e, Dy = {
8177
8216
  id: o.value,
8178
8217
  typography: e.typography ?? jd.title
8179
8218
  }));
8180
- return () => m(Hy, r.value, {
8219
+ return () => m(Ky, r.value, {
8181
8220
  default: () => [t.default?.()]
8182
8221
  });
8183
8222
  }, {
8184
8223
  name: M(Rf),
8185
8224
  inheritAttrs: !1,
8186
8225
  props: L()("id", "as", "color", "colorVariant", "typography", "truncate", "noWrap", "whiteSpace", "style", "class")
8187
- }), zy = "Lightbox", Vy = "lumx-lightbox", {
8188
- block: Wy,
8226
+ }), Yy = "Lightbox", Xy = "lumx-lightbox", {
8227
+ block: Zy,
8189
8228
  element: zl
8190
- } = F(Vy), Uy = (e) => {
8229
+ } = F(Xy), Jy = (e) => {
8191
8230
  const {
8192
8231
  "aria-labelledby": t,
8193
8232
  ariaLabelledBy: n = t,
@@ -8224,7 +8263,7 @@ const ud = (e) => (t) => G(t) && t.type === e, Dy = {
8224
8263
  "aria-modal": "true",
8225
8264
  role: "dialog",
8226
8265
  tabIndex: -1,
8227
- className: $(s, Wy({
8266
+ className: $(s, Zy({
8228
8267
  "is-hidden": !l,
8229
8268
  "is-shown": l || v,
8230
8269
  [`theme-${p}`]: !!p
@@ -8272,7 +8311,7 @@ const ud = (e) => (t) => G(t) && t.type === e, Dy = {
8272
8311
  "preventAutoClose",
8273
8312
  "preventCloseOnClick",
8274
8313
  "zIndex"
8275
- ), Gy = /* @__PURE__ */ I((e, {
8314
+ ), Qy = /* @__PURE__ */ E((e, {
8276
8315
  emit: t,
8277
8316
  slots: n,
8278
8317
  attrs: a
@@ -8286,7 +8325,7 @@ const ud = (e) => (t) => G(t) && t.type === e, Dy = {
8286
8325
  })), $r(w(() => !0), w(() => {
8287
8326
  }), w(() => e.parentElement), r, w(() => !!e.isOpen)), Kc(w(() => !!e.isOpen));
8288
8327
  const c = Gc(w(() => !!e.isOpen), hc), u = w(() => e.isOpen || c.value), d = w(() => [r]), f = Ir(ln);
8289
- return () => u.value ? Uy({
8328
+ return () => u.value ? Jy({
8290
8329
  ...a,
8291
8330
  ClickAwayProvider: yr,
8292
8331
  HeadingLevelProvider: _r,
@@ -8312,27 +8351,27 @@ const ud = (e) => (t) => G(t) && t.type === e, Dy = {
8312
8351
  inheritAttrs: !1,
8313
8352
  props: fd,
8314
8353
  emits: dd
8315
- }), eC = /* @__PURE__ */ I((e, {
8354
+ }), iC = /* @__PURE__ */ E((e, {
8316
8355
  emit: t,
8317
8356
  slots: n,
8318
8357
  attrs: a
8319
8358
  }) => {
8320
8359
  const o = () => t("close");
8321
8360
  return () => m(Er, null, {
8322
- default: () => [m(Gy, A(e, a, {
8361
+ default: () => [m(Qy, A(e, a, {
8323
8362
  onClose: o
8324
8363
  }), {
8325
8364
  default: () => [n.default?.()]
8326
8365
  })]
8327
8366
  });
8328
8367
  }, {
8329
- name: M(zy),
8368
+ name: M(Yy),
8330
8369
  inheritAttrs: !1,
8331
8370
  props: fd,
8332
8371
  emits: dd
8333
- }), Ky = "Divider", Yy = "lumx-divider", {
8334
- block: Xy
8335
- } = F(Yy), Zy = (e) => {
8372
+ }), eN = "Divider", tN = "lumx-divider", {
8373
+ block: nN
8374
+ } = F(tN), aN = (e) => {
8336
8375
  const {
8337
8376
  className: t,
8338
8377
  theme: n,
@@ -8342,24 +8381,24 @@ const ud = (e) => (t) => G(t) && t.type === e, Dy = {
8342
8381
  return m("hr", A({
8343
8382
  ref: a
8344
8383
  }, o, {
8345
- className: $(t, Xy({
8384
+ className: $(t, nN({
8346
8385
  [`theme-${n}`]: !!n
8347
8386
  }))
8348
8387
  }), null);
8349
- }, tC = /* @__PURE__ */ I((e) => {
8388
+ }, lC = /* @__PURE__ */ E((e) => {
8350
8389
  const t = B(), n = K(), a = R(() => e.class);
8351
- return () => m(Zy, A(t, e, {
8390
+ return () => m(aN, A(t, e, {
8352
8391
  className: a.value,
8353
8392
  theme: e.theme || n.value
8354
8393
  }), null);
8355
8394
  }, {
8356
- name: M(Ky),
8395
+ name: M(eN),
8357
8396
  inheritAttrs: !1,
8358
8397
  // Redefine properties so that they come in as `props` on the `defineComponent` function
8359
8398
  props: L()("class", "theme")
8360
- }), Jy = "DragHandle", Qy = "lumx-drag-handle", {
8361
- block: eN
8362
- } = F(Qy), tN = (e) => {
8399
+ }), oN = "DragHandle", rN = "lumx-drag-handle", {
8400
+ block: sN
8401
+ } = F(rN), iN = (e) => {
8363
8402
  const {
8364
8403
  className: t,
8365
8404
  theme: n,
@@ -8369,7 +8408,7 @@ const ud = (e) => (t) => G(t) && t.type === e, Dy = {
8369
8408
  return m("div", A({
8370
8409
  ref: a
8371
8410
  }, o, {
8372
- className: $(t, eN({
8411
+ className: $(t, sN({
8373
8412
  [`theme-${n}`]: !!n
8374
8413
  }))
8375
8414
  }), [te({
@@ -8377,24 +8416,24 @@ const ud = (e) => (t) => G(t) && t.type === e, Dy = {
8377
8416
  color: n === me.dark ? Y.light : Y.dark,
8378
8417
  size: V.xs
8379
8418
  })]);
8380
- }, nC = /* @__PURE__ */ I((e) => {
8419
+ }, cC = /* @__PURE__ */ E((e) => {
8381
8420
  const t = B(), n = K({
8382
8421
  defaultTheme: void 0
8383
8422
  }), a = R(() => e.class);
8384
- return () => m(tN, A(t, e, {
8423
+ return () => m(iN, A(t, e, {
8385
8424
  className: a.value,
8386
8425
  theme: e.theme || n.value
8387
8426
  }), null);
8388
8427
  }, {
8389
- name: M(Jy),
8428
+ name: M(oN),
8390
8429
  inheritAttrs: !1,
8391
8430
  props: L()("class", "theme")
8392
- }), nN = "ExpansionPanel", aN = "lumx-expansion-panel", {
8393
- block: oN,
8431
+ }), lN = "ExpansionPanel", cN = "lumx-expansion-panel", {
8432
+ block: uN,
8394
8433
  element: _e
8395
- } = F(aN), rN = {
8434
+ } = F(cN), dN = {
8396
8435
  closeMode: "unmount"
8397
- }, sN = (e) => {
8436
+ }, fN = (e) => {
8398
8437
  const {
8399
8438
  className: t,
8400
8439
  children: n,
@@ -8421,7 +8460,7 @@ const ud = (e) => (t) => G(t) && t.type === e, Dy = {
8421
8460
  } = e, x = (_) => {
8422
8461
  const S = !s;
8423
8462
  c && S && c(_), l && !S && l(_), u && u(S, _);
8424
- }, P = d === me.dark ? Y.light : Y.dark, k = $(t, oN({
8463
+ }, P = d === me.dark ? Y.light : Y.dark, k = $(t, uN({
8425
8464
  "has-background": a,
8426
8465
  "has-header": !Xt(h.children),
8427
8466
  "has-header-divider": r,
@@ -8458,12 +8497,12 @@ const ud = (e) => (t) => G(t) && t.type === e, Dy = {
8458
8497
  }, [v]), O && m("div", {
8459
8498
  className: _e("footer")
8460
8499
  }, [O])])])]);
8461
- }, iN = {
8500
+ }, hN = {
8462
8501
  open: (e) => e instanceof MouseEvent,
8463
8502
  close: (e) => e instanceof MouseEvent,
8464
8503
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
8465
8504
  toggleOpen: (e, t) => typeof e == "boolean"
8466
- }, aC = /* @__PURE__ */ I((e, {
8505
+ }, uC = /* @__PURE__ */ E((e, {
8467
8506
  emit: t,
8468
8507
  slots: n
8469
8508
  }) => {
@@ -8494,14 +8533,14 @@ const ud = (e) => (t) => G(t) && t.type === e, Dy = {
8494
8533
  const h = n.header?.(), g = h || m("span", {
8495
8534
  class: _e("label")
8496
8535
  }, [e.label]);
8497
- return m(sN, A(a, {
8536
+ return m(fN, A(a, {
8498
8537
  className: r.value,
8499
8538
  theme: e.theme || o.value,
8500
8539
  isOpen: e.isOpen,
8501
8540
  label: e.label,
8502
8541
  hasBackground: e.hasBackground,
8503
8542
  hasHeaderDivider: e.hasHeaderDivider,
8504
- closeMode: e.closeMode || rN.closeMode,
8543
+ closeMode: e.closeMode || dN.closeMode,
8505
8544
  toggleButtonProps: e.toggleButtonProps || {
8506
8545
  label: ""
8507
8546
  },
@@ -8519,18 +8558,18 @@ const ud = (e) => (t) => G(t) && t.type === e, Dy = {
8519
8558
  }), null);
8520
8559
  };
8521
8560
  }, {
8522
- name: M(nN),
8561
+ name: M(lN),
8523
8562
  inheritAttrs: !1,
8524
8563
  props: L()("class", "closeMode", "hasBackground", "hasHeaderDivider", "isOpen", "label", "theme", "toggleButtonProps"),
8525
- emits: iN
8564
+ emits: hN
8526
8565
  });
8527
- function lN(e) {
8566
+ function mN(e) {
8528
8567
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !G(e);
8529
8568
  }
8530
- const cN = "Flag", uN = "lumx-flag", {
8531
- block: dN,
8569
+ const pN = "Flag", gN = "lumx-flag", {
8570
+ block: vN,
8532
8571
  element: Vl
8533
- } = F(uN), fN = (e) => {
8572
+ } = F(gN), bN = (e) => {
8534
8573
  const {
8535
8574
  children: t,
8536
8575
  icon: n,
@@ -8542,7 +8581,7 @@ const cN = "Flag", uN = "lumx-flag", {
8542
8581
  ...l
8543
8582
  } = e, c = a || (r === me.light ? Y.dark : Y.light), u = !!s;
8544
8583
  return m("div", A(l, {
8545
- className: $(o, dN({
8584
+ className: $(o, vN({
8546
8585
  [`color-${c}`]: !!c,
8547
8586
  "is-truncated": u
8548
8587
  }))
@@ -8555,27 +8594,27 @@ const cN = "Flag", uN = "lumx-flag", {
8555
8594
  truncate: !!s,
8556
8595
  typography: "overline",
8557
8596
  className: Vl("label")
8558
- }, lN(t) ? t : {
8597
+ }, mN(t) ? t : {
8559
8598
  default: () => [t]
8560
8599
  })]);
8561
- }, oC = /* @__PURE__ */ I((e, {
8600
+ }, dC = /* @__PURE__ */ E((e, {
8562
8601
  slots: t
8563
8602
  }) => {
8564
8603
  const n = B(), a = K(), o = R(() => e.class);
8565
- return () => m(fN, A(e, n, {
8604
+ return () => m(bN, A(e, n, {
8566
8605
  className: o.value,
8567
8606
  theme: e.theme || a.value,
8568
8607
  children: t.default?.(),
8569
8608
  Text: pe
8570
8609
  }), null);
8571
8610
  }, {
8572
- name: M(cN),
8611
+ name: M(pN),
8573
8612
  inheritAttrs: !1,
8574
8613
  // Redefine properties so that they come in as `props` on the `defineComponent` function
8575
8614
  props: L()("color", "icon", "truncate", "theme", "class")
8576
8615
  });
8577
8616
  var zo, Wl;
8578
- function hN() {
8617
+ function yN() {
8579
8618
  if (Wl) return zo;
8580
8619
  Wl = 1;
8581
8620
  var e = /\s/;
@@ -8587,20 +8626,20 @@ function hN() {
8587
8626
  return zo = t, zo;
8588
8627
  }
8589
8628
  var Vo, Ul;
8590
- function mN() {
8629
+ function NN() {
8591
8630
  if (Ul) return Vo;
8592
8631
  Ul = 1;
8593
- var e = hN(), t = /^\s+/;
8632
+ var e = yN(), t = /^\s+/;
8594
8633
  function n(a) {
8595
8634
  return a && a.slice(0, e(a) + 1).replace(t, "");
8596
8635
  }
8597
8636
  return Vo = n, Vo;
8598
8637
  }
8599
8638
  var Wo, Gl;
8600
- function pN() {
8639
+ function AN() {
8601
8640
  if (Gl) return Wo;
8602
8641
  Gl = 1;
8603
- var e = mN(), t = un(), n = Sn(), a = NaN, o = /^[-+]0x[0-9a-f]+$/i, r = /^0b[01]+$/i, s = /^0o[0-7]+$/i, i = parseInt;
8642
+ var e = NN(), t = un(), n = Sn(), a = NaN, o = /^[-+]0x[0-9a-f]+$/i, r = /^0b[01]+$/i, s = /^0o[0-7]+$/i, i = parseInt;
8604
8643
  function l(c) {
8605
8644
  if (typeof c == "number")
8606
8645
  return c;
@@ -8619,10 +8658,10 @@ function pN() {
8619
8658
  return Wo = l, Wo;
8620
8659
  }
8621
8660
  var Uo, Kl;
8622
- function gN() {
8661
+ function ON() {
8623
8662
  if (Kl) return Uo;
8624
8663
  Kl = 1;
8625
- var e = pN(), t = 1 / 0, n = 17976931348623157e292;
8664
+ var e = AN(), t = 1 / 0, n = 17976931348623157e292;
8626
8665
  function a(o) {
8627
8666
  if (!o)
8628
8667
  return o === 0 ? o : 0;
@@ -8638,7 +8677,7 @@ var Go, Yl;
8638
8677
  function hd() {
8639
8678
  if (Yl) return Go;
8640
8679
  Yl = 1;
8641
- var e = gN();
8680
+ var e = ON();
8642
8681
  function t(n) {
8643
8682
  var a = e(n), o = a % 1;
8644
8683
  return a === a ? o ? a - o : a : 0;
@@ -8646,7 +8685,7 @@ function hd() {
8646
8685
  return Go = t, Go;
8647
8686
  }
8648
8687
  var Ko, Xl;
8649
- function vN() {
8688
+ function PN() {
8650
8689
  if (Xl) return Ko;
8651
8690
  Xl = 1;
8652
8691
  var e = hd();
@@ -8655,12 +8694,12 @@ function vN() {
8655
8694
  }
8656
8695
  return Ko = t, Ko;
8657
8696
  }
8658
- var bN = vN();
8659
- const yN = /* @__PURE__ */ $e(bN);
8660
- function NN(e) {
8697
+ var CN = PN();
8698
+ const SN = /* @__PURE__ */ $e(CN);
8699
+ function wN(e) {
8661
8700
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !G(e);
8662
8701
  }
8663
- const md = "GridColumn", pd = "lumx-grid-column", AN = {}, En = (e) => {
8702
+ const md = "GridColumn", pd = "lumx-grid-column", xN = {}, En = (e) => {
8664
8703
  const {
8665
8704
  as: t = "div",
8666
8705
  gap: n,
@@ -8677,18 +8716,18 @@ const md = "GridColumn", pd = "lumx-grid-column", AN = {}, En = (e) => {
8677
8716
  className: $(s, pd),
8678
8717
  style: {
8679
8718
  ...i,
8680
- "--lumx-grid-column-item-min-width": yN(o) && `${o}px`,
8719
+ "--lumx-grid-column-item-min-width": SN(o) && `${o}px`,
8681
8720
  "--lumx-grid-column-columns": a,
8682
8721
  "--lumx-grid-column-gap": n && `var(--lumx-spacing-unit-${n})`
8683
8722
  }
8684
- }), NN(r) ? r : {
8723
+ }), wN(r) ? r : {
8685
8724
  default: () => [r]
8686
8725
  });
8687
8726
  };
8688
8727
  En.displayName = md;
8689
8728
  En.className = pd;
8690
- En.defaultProps = AN;
8691
- const rC = /* @__PURE__ */ I((e, {
8729
+ En.defaultProps = xN;
8730
+ const fC = /* @__PURE__ */ E((e, {
8692
8731
  slots: t
8693
8732
  }) => {
8694
8733
  const n = B(), a = R(() => e.class);
@@ -8700,7 +8739,7 @@ const rC = /* @__PURE__ */ I((e, {
8700
8739
  name: M(md),
8701
8740
  inheritAttrs: !1,
8702
8741
  props: L()("as", "class", "gap", "itemMinWidth", "maxColumns", "style")
8703
- }), sC = /* @__PURE__ */ I((e, {
8742
+ }), hC = /* @__PURE__ */ E((e, {
8704
8743
  slots: t
8705
8744
  }) => {
8706
8745
  const n = B(), a = K(), o = R(() => e.class);
@@ -8714,7 +8753,7 @@ const rC = /* @__PURE__ */ I((e, {
8714
8753
  inheritAttrs: !1,
8715
8754
  // Redefine properties so that they come in as `props` on the `defineComponent` function
8716
8755
  props: L()("kind", "theme", "class", "id")
8717
- }), iC = /* @__PURE__ */ I((e, {
8756
+ }), mC = /* @__PURE__ */ E((e, {
8718
8757
  slots: t
8719
8758
  }) => {
8720
8759
  const n = B(), a = K(), o = R(() => e.class);
@@ -8728,9 +8767,9 @@ const rC = /* @__PURE__ */ I((e, {
8728
8767
  inheritAttrs: !1,
8729
8768
  // Redefine properties so that they come in as `props` on the `defineComponent` function
8730
8769
  props: L()("htmlFor", "id", "isRequired", "typography", "theme", "class", "as")
8731
- }), ON = "Link", gd = "lumx-link", {
8732
- block: PN
8733
- } = F(gd), CN = (e) => {
8770
+ }), TN = "Link", gd = "lumx-link", {
8771
+ block: _N
8772
+ } = F(gd), kN = (e) => {
8734
8773
  const {
8735
8774
  children: t,
8736
8775
  className: n,
@@ -8750,17 +8789,17 @@ const rC = /* @__PURE__ */ I((e, {
8750
8789
  ...u,
8751
8790
  handleClick: i,
8752
8791
  children: t,
8753
- className: $(n, PN({
8792
+ className: $(n, _N({
8754
8793
  [`color-${d}`]: !!d,
8755
8794
  [`color-variant-${f}`]: !!f,
8756
8795
  "has-typography": !!r
8757
8796
  }), r && on(r))
8758
8797
  });
8759
- }, SN = {
8798
+ }, EN = {
8760
8799
  click: (e) => e instanceof MouseEvent
8761
8800
  }, {
8762
- element: wN
8763
- } = fe.bem(gd), Xr = /* @__PURE__ */ I((e, {
8801
+ element: IN
8802
+ } = fe.bem(gd), Xr = /* @__PURE__ */ E((e, {
8764
8803
  emit: t
8765
8804
  }) => {
8766
8805
  const n = Me(), a = B(), o = R(() => e.class), {
@@ -8778,32 +8817,32 @@ const rC = /* @__PURE__ */ I((e, {
8778
8817
  linkAs: c,
8779
8818
  ...u
8780
8819
  } = i.value;
8781
- return m(CN, A(u, {
8820
+ return m(kN, A(u, {
8782
8821
  linkAs: Je(c)
8783
8822
  }, s.value, {
8784
8823
  className: o.value,
8785
8824
  handleClick: l,
8786
8825
  children: m("span", {
8787
- className: wN("content")
8826
+ className: IN("content")
8788
8827
  }, [n.default?.()])
8789
8828
  }), null);
8790
8829
  };
8791
8830
  }, {
8792
- name: M(ON),
8831
+ name: M(TN),
8793
8832
  inheritAttrs: !1,
8794
8833
  props: L()("color", "colorVariant", "href", "isDisabled", "disabled", "linkAs", "target", "typography", "class", "aria-disabled"),
8795
- emits: SN
8834
+ emits: EN
8796
8835
  });
8797
8836
  function Zl(e) {
8798
8837
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !G(e);
8799
8838
  }
8800
- const xN = "LinkPreview", TN = "lumx-link-preview", {
8801
- block: _N,
8839
+ const MN = "LinkPreview", $N = "lumx-link-preview", {
8840
+ block: LN,
8802
8841
  element: Ke
8803
- } = F(TN), vd = {
8842
+ } = F($N), vd = {
8804
8843
  size: V.regular,
8805
8844
  titleHeading: "h2"
8806
- }, kN = (e) => {
8845
+ }, RN = (e) => {
8807
8846
  const {
8808
8847
  className: t,
8809
8848
  description: n,
@@ -8823,7 +8862,7 @@ const xN = "LinkPreview", TN = "lumx-link-preview", {
8823
8862
  return m("article", A({
8824
8863
  ref: c
8825
8864
  }, g, {
8826
- className: $(t, _N({
8865
+ className: $(t, LN({
8827
8866
  [`size-${p}`]: !!p,
8828
8867
  [`theme-${i}`]: !!i
8829
8868
  }))
@@ -8871,7 +8910,7 @@ const xN = "LinkPreview", TN = "lumx-link-preview", {
8871
8910
  }), Zl(a) ? a : {
8872
8911
  default: () => [a]
8873
8912
  })])])])]);
8874
- }, lC = /* @__PURE__ */ I((e) => {
8913
+ }, pC = /* @__PURE__ */ E((e) => {
8875
8914
  const t = B(), n = K(), a = R(() => e.class);
8876
8915
  return () => {
8877
8916
  const {
@@ -8879,7 +8918,7 @@ const xN = "LinkPreview", TN = "lumx-link-preview", {
8879
8918
  linkAs: r,
8880
8919
  ...s
8881
8920
  } = e;
8882
- return m(kN, A(s, t, {
8921
+ return m(RN, A(s, t, {
8883
8922
  linkAs: Je(r),
8884
8923
  className: a.value,
8885
8924
  theme: e.theme || n.value,
@@ -8889,13 +8928,13 @@ const xN = "LinkPreview", TN = "lumx-link-preview", {
8889
8928
  }), null);
8890
8929
  };
8891
8930
  }, {
8892
- name: M(xN),
8931
+ name: M(MN),
8893
8932
  inheritAttrs: !1,
8894
8933
  props: L()("class", "description", "link", "linkAs", "linkProps", "size", "theme", "thumbnailProps", "title", "titleHeading")
8895
- }), EN = "MenuItem", IN = "lumx-menu-item", {
8896
- block: MN,
8897
- element: $N
8898
- } = F(IN), LN = (e) => {
8934
+ }), DN = "MenuItem", BN = "lumx-menu-item", {
8935
+ block: FN,
8936
+ element: qN
8937
+ } = F(BN), jN = (e) => {
8899
8938
  const {
8900
8939
  children: t,
8901
8940
  className: n,
@@ -8912,7 +8951,7 @@ const xN = "LinkPreview", TN = "lumx-link-preview", {
8912
8951
  type: "button",
8913
8952
  ...i,
8914
8953
  ref: l,
8915
- className: $N("action"),
8954
+ className: qN("action"),
8916
8955
  handleClick: s,
8917
8956
  "data-menu-item": "",
8918
8957
  "aria-disabled": r ? "true" : void 0,
@@ -8922,13 +8961,13 @@ const xN = "LinkPreview", TN = "lumx-link-preview", {
8922
8961
  ref: c,
8923
8962
  size: "tiny",
8924
8963
  ...u,
8925
- className: $(n, MN()),
8964
+ className: $(n, FN()),
8926
8965
  before: a,
8927
8966
  after: o,
8928
8967
  children: d
8929
8968
  });
8930
8969
  }, bd = /* @__PURE__ */ Symbol("LumxMenuContext");
8931
- function RN(e) {
8970
+ function HN(e) {
8932
8971
  Ie(bd, e);
8933
8972
  }
8934
8973
  function bt() {
@@ -8937,10 +8976,10 @@ function bt() {
8937
8976
  throw new Error("Menu sub-components must be used within a Menu.Provider");
8938
8977
  return e;
8939
8978
  }
8940
- function DN(e) {
8979
+ function zN(e) {
8941
8980
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !G(e);
8942
8981
  }
8943
- const cC = /* @__PURE__ */ I((e, {
8982
+ const gC = /* @__PURE__ */ E((e, {
8944
8983
  slots: t,
8945
8984
  emit: n,
8946
8985
  attrs: a
@@ -8974,7 +9013,7 @@ const cC = /* @__PURE__ */ I((e, {
8974
9013
  ...c.props,
8975
9014
  onClick: i,
8976
9015
  as: c.type
8977
- }, g = c.children), g = g ?? t.default?.(), LN({
9016
+ }, g = c.children), g = g ?? t.default?.(), jN({
8978
9017
  ...a,
8979
9018
  ...e,
8980
9019
  className: r.value,
@@ -8988,13 +9027,13 @@ const cC = /* @__PURE__ */ I((e, {
8988
9027
  children: m(pe, {
8989
9028
  as: "span",
8990
9029
  color: e.color
8991
- }, DN(g) ? g : {
9030
+ }, zN(g) ? g : {
8992
9031
  default: () => [g]
8993
9032
  })
8994
9033
  });
8995
9034
  };
8996
9035
  }, {
8997
- name: M(EN),
9036
+ name: M(DN),
8998
9037
  inheritAttrs: !1,
8999
9038
  props: L()("icon", "afterIcon", "color", "isDisabled", "class"),
9000
9039
  emits: ["click"],
@@ -9003,9 +9042,9 @@ const cC = /* @__PURE__ */ I((e, {
9003
9042
  function Jl(e) {
9004
9043
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !G(e);
9005
9044
  }
9006
- const BN = {
9045
+ const VN = {
9007
9046
  variant: "button"
9008
- }, FN = "MenuButton", qN = (e, {
9047
+ }, WN = "MenuButton", UN = (e, {
9009
9048
  MenuProvider: t,
9010
9049
  MenuTrigger: n,
9011
9050
  MenuPopover: a,
@@ -9032,28 +9071,28 @@ const BN = {
9032
9071
  })]
9033
9072
  })]
9034
9073
  });
9035
- }, jN = "MenuProvider", fr = "[data-menu-item]";
9036
- function HN(e) {
9074
+ }, GN = "MenuProvider", fr = "[data-menu-item]";
9075
+ function KN(e) {
9037
9076
  return e.textContent?.trim() ?? "";
9038
9077
  }
9039
- function zN(e) {
9078
+ function YN(e) {
9040
9079
  return Array.from(e.querySelectorAll(fr));
9041
9080
  }
9042
- function VN(e) {
9081
+ function XN(e) {
9043
9082
  const t = Array.from(document.querySelectorAll(Wc)).filter(
9044
9083
  (o) => !o.matches(Uc) && o.tabIndex >= 0
9045
9084
  ), n = t.indexOf(e);
9046
9085
  if (n === -1) return;
9047
9086
  t[n + 1]?.focus();
9048
9087
  }
9049
- function WN(e = {}) {
9088
+ function ZN(e = {}) {
9050
9089
  const { menuId: t } = e;
9051
9090
  let n = null, a = null, o = !1;
9052
9091
  const r = new AbortController();
9053
9092
  let s = null, i = null, l = null, c;
9054
9093
  const u = lu(
9055
9094
  () => a ? $t(a, fr) : null,
9056
- HN,
9095
+ KN,
9057
9096
  r.signal
9058
9097
  ), d = {
9059
9098
  open: /* @__PURE__ */ new Set()
@@ -9155,12 +9194,12 @@ function WN(e = {}) {
9155
9194
  v.preventDefault(), v.stopPropagation(), n?.focus(), c.setOpen(!1);
9156
9195
  break;
9157
9196
  case "Tab": {
9158
- const y = zN(p);
9197
+ const y = YN(p);
9159
9198
  if (y.length === 0) return;
9160
9199
  const N = y.indexOf(document.activeElement);
9161
9200
  if (N === -1) return;
9162
9201
  v.shiftKey && N === 0 ? (v.preventDefault(), n?.focus(), c.setOpen(!1)) : !v.shiftKey && N === y.length - 1 && (v.preventDefault(), document.activeElement?.blur(), c.setOpen(!1), setTimeout(() => {
9163
- n && VN(n);
9202
+ n && XN(n);
9164
9203
  }, 0));
9165
9204
  break;
9166
9205
  }
@@ -9192,10 +9231,10 @@ function WN(e = {}) {
9192
9231
  }
9193
9232
  }, c;
9194
9233
  }
9195
- const UN = /* @__PURE__ */ I((e, {
9234
+ const JN = /* @__PURE__ */ E((e, {
9196
9235
  emit: t
9197
9236
  }) => {
9198
- const n = Me(), a = re(), o = re(), r = D(null), s = WN({
9237
+ const n = Me(), a = re(), o = re(), r = D(null), s = ZN({
9199
9238
  menuId: a
9200
9239
  });
9201
9240
  return Ze(() => {
@@ -9203,14 +9242,14 @@ const UN = /* @__PURE__ */ I((e, {
9203
9242
  Ce(() => {
9204
9243
  i(), s.destroy();
9205
9244
  });
9206
- }), RN({
9245
+ }), HN({
9207
9246
  handle: s,
9208
9247
  menuId: a,
9209
9248
  triggerId: o,
9210
9249
  anchorRef: r
9211
9250
  }), () => n.default?.();
9212
9251
  }, {
9213
- name: M(jN),
9252
+ name: M(GN),
9214
9253
  inheritAttrs: !1,
9215
9254
  props: {
9216
9255
  onOpen: {
@@ -9224,10 +9263,10 @@ const UN = /* @__PURE__ */ I((e, {
9224
9263
  },
9225
9264
  emits: ["open"]
9226
9265
  });
9227
- function GN(e) {
9266
+ function QN(e) {
9228
9267
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !G(e);
9229
9268
  }
9230
- const KN = "MenuTrigger", YN = "lumx-menu-trigger", XN = (e, {
9269
+ const eA = "MenuTrigger", tA = "lumx-menu-trigger", nA = (e, {
9231
9270
  Trigger: t
9232
9271
  }) => {
9233
9272
  const {
@@ -9241,15 +9280,15 @@ const KN = "MenuTrigger", YN = "lumx-menu-trigger", XN = (e, {
9241
9280
  return m(t, A({
9242
9281
  ref: s
9243
9282
  }, i, {
9244
- className: $(a, YN),
9283
+ className: $(a, tA),
9245
9284
  "aria-haspopup": "true",
9246
9285
  "aria-controls": o,
9247
9286
  "aria-expanded": r ? "true" : "false"
9248
- }), GN(n) ? n : {
9287
+ }), QN(n) ? n : {
9249
9288
  default: () => [n]
9250
9289
  });
9251
9290
  };
9252
- function ZN(e, t) {
9291
+ function aA(e, t) {
9253
9292
  const { handle: n } = bt(), a = D(t);
9254
9293
  let o;
9255
9294
  return Ze(() => {
@@ -9260,9 +9299,9 @@ function ZN(e, t) {
9260
9299
  }
9261
9300
  function Zr() {
9262
9301
  const { handle: e } = bt();
9263
- return [ZN("open", !1), (a) => e.setOpen(a)];
9302
+ return [aA("open", !1), (a) => e.setOpen(a)];
9264
9303
  }
9265
- const JN = /* @__PURE__ */ I((e, {
9304
+ const oA = /* @__PURE__ */ E((e, {
9266
9305
  slots: t,
9267
9306
  attrs: n
9268
9307
  }) => {
@@ -9289,7 +9328,7 @@ const JN = /* @__PURE__ */ I((e, {
9289
9328
  ...h,
9290
9329
  ref: c
9291
9330
  }
9292
- }) : u && (f = u), XN({
9331
+ }) : u && (f = u), nA({
9293
9332
  ...d,
9294
9333
  id: o,
9295
9334
  ref: t.trigger ? void 0 : c,
@@ -9302,17 +9341,17 @@ const JN = /* @__PURE__ */ I((e, {
9302
9341
  });
9303
9342
  };
9304
9343
  }, {
9305
- name: M(KN),
9344
+ name: M(eA),
9306
9345
  inheritAttrs: !1,
9307
9346
  props: L()("class", "id")
9308
9347
  });
9309
- function QN(e) {
9348
+ function rA(e) {
9310
9349
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !G(e);
9311
9350
  }
9312
- const eA = "MenuPopover", tA = "lumx-menu-popover", {
9313
- block: nA,
9314
- element: aA
9315
- } = F(tA), oA = (e, {
9351
+ const sA = "MenuPopover", iA = "lumx-menu-popover", {
9352
+ block: lA,
9353
+ element: cA
9354
+ } = F(iA), uA = (e, {
9316
9355
  Popover: t,
9317
9356
  FlexBox: n
9318
9357
  }) => {
@@ -9337,20 +9376,20 @@ const eA = "MenuPopover", tA = "lumx-menu-popover", {
9337
9376
  withFocusTrap: !1,
9338
9377
  closeMode: "hide",
9339
9378
  fitToAnchorWidth: !1,
9340
- className: nA([o])
9379
+ className: lA([o])
9341
9380
  }), {
9342
9381
  default: () => [m(n, {
9343
9382
  orientation: "vertical",
9344
- className: aA("scroll")
9345
- }, QN(a) ? a : {
9383
+ className: cA("scroll")
9384
+ }, rA(a) ? a : {
9346
9385
  default: () => [a]
9347
9386
  })]
9348
9387
  });
9349
- }, rA = /* @__PURE__ */ I((e) => {
9388
+ }, dA = /* @__PURE__ */ E((e) => {
9350
9389
  const t = Me(), {
9351
9390
  anchorRef: n
9352
9391
  } = bt(), [a, o] = Zr();
9353
- return () => oA({
9392
+ return () => uA({
9354
9393
  ...e,
9355
9394
  children: t.default?.(),
9356
9395
  isOpen: a.value,
@@ -9361,10 +9400,10 @@ const eA = "MenuPopover", tA = "lumx-menu-popover", {
9361
9400
  FlexBox: On
9362
9401
  });
9363
9402
  }, {
9364
- name: M(eA),
9403
+ name: M(sA),
9365
9404
  inheritAttrs: !1,
9366
9405
  props: L()("placement", "class")
9367
- }), sA = "Menu", iA = "lumx-menu", lA = (e) => {
9406
+ }), fA = "Menu", hA = "lumx-menu", mA = (e) => {
9368
9407
  const {
9369
9408
  "aria-labelledby": t,
9370
9409
  children: n,
@@ -9377,12 +9416,12 @@ const eA = "MenuPopover", tA = "lumx-menu-popover", {
9377
9416
  ...s,
9378
9417
  ref: r,
9379
9418
  id: o,
9380
- className: $(a, iA),
9419
+ className: $(a, hA),
9381
9420
  itemPadding: "big",
9382
9421
  "aria-labelledby": t,
9383
9422
  children: n
9384
9423
  });
9385
- }, cA = /* @__PURE__ */ I((e) => {
9424
+ }, pA = /* @__PURE__ */ E((e) => {
9386
9425
  const t = Me(), {
9387
9426
  menuId: n,
9388
9427
  triggerId: a,
@@ -9395,7 +9434,7 @@ const eA = "MenuPopover", tA = "lumx-menu-popover", {
9395
9434
  Ce(() => c?.());
9396
9435
  }), Z(r, (l) => {
9397
9436
  l && yc(() => o.flushPendingNavigation());
9398
- }), () => lA({
9437
+ }), () => mA({
9399
9438
  className: s.value,
9400
9439
  id: n,
9401
9440
  "aria-labelledby": a,
@@ -9403,15 +9442,15 @@ const eA = "MenuPopover", tA = "lumx-menu-popover", {
9403
9442
  children: r.value ? t.default?.() : null
9404
9443
  });
9405
9444
  }, {
9406
- name: M(sA),
9445
+ name: M(fA),
9407
9446
  inheritAttrs: !1,
9408
9447
  props: L()("class")
9409
- }), uA = {
9448
+ }), gA = {
9410
9449
  button: Mt,
9411
9450
  "icon-button": pt,
9412
9451
  chip: dr,
9413
9452
  link: Xr
9414
- }, uC = /* @__PURE__ */ I((e, {
9453
+ }, vC = /* @__PURE__ */ E((e, {
9415
9454
  emit: t,
9416
9455
  slots: n,
9417
9456
  attrs: a
@@ -9419,11 +9458,11 @@ const eA = "MenuPopover", tA = "lumx-menu-popover", {
9419
9458
  const o = R(() => e.class), r = (s) => t("open", s);
9420
9459
  return () => {
9421
9460
  const {
9422
- variant: s = BN.variant,
9461
+ variant: s = VN.variant,
9423
9462
  label: i,
9424
9463
  popoverProps: l
9425
9464
  } = e;
9426
- return qN({
9465
+ return UN({
9427
9466
  label: i,
9428
9467
  children: n.default?.(),
9429
9468
  popoverProps: l,
@@ -9431,25 +9470,25 @@ const eA = "MenuPopover", tA = "lumx-menu-popover", {
9431
9470
  variant: s,
9432
9471
  triggerProps: {
9433
9472
  ...a,
9434
- as: uA[s],
9473
+ as: gA[s],
9435
9474
  class: o.value
9436
9475
  }
9437
9476
  }, {
9438
- MenuProvider: UN,
9439
- MenuTrigger: JN,
9440
- MenuPopover: rA,
9441
- MenuList: cA
9477
+ MenuProvider: JN,
9478
+ MenuTrigger: oA,
9479
+ MenuPopover: dA,
9480
+ MenuList: pA
9442
9481
  });
9443
9482
  };
9444
9483
  }, {
9445
- name: M(FN),
9484
+ name: M(WN),
9446
9485
  inheritAttrs: !1,
9447
9486
  props: L()("label", "popoverProps", "class", "variant"),
9448
9487
  emits: ["open"]
9449
9488
  }), yd = "Message", Nd = "lumx-message", {
9450
- block: dA,
9489
+ block: vA,
9451
9490
  element: Yo
9452
- } = F(Nd), fA = {
9491
+ } = F(Nd), bA = {
9453
9492
  [le.error]: {
9454
9493
  color: Y.red,
9455
9494
  icon: Pc
@@ -9479,13 +9518,13 @@ const eA = "MenuPopover", tA = "lumx-menu-popover", {
9479
9518
  } = e, {
9480
9519
  color: c,
9481
9520
  icon: u
9482
- } = fA[o] || {}, {
9521
+ } = bA[o] || {}, {
9483
9522
  onClick: d,
9484
9523
  label: f
9485
9524
  } = s || {}, h = a && o === "info" && d && f;
9486
9525
  return m("div", A(l, {
9487
9526
  ref: i,
9488
- className: $(n, dA({
9527
+ className: $(n, vA({
9489
9528
  [`color-${c}`]: !!c,
9490
9529
  "has-background": a
9491
9530
  }))
@@ -9506,7 +9545,7 @@ const eA = "MenuPopover", tA = "lumx-menu-popover", {
9506
9545
  };
9507
9546
  Jr.displayName = yd;
9508
9547
  Jr.className = Nd;
9509
- const dC = /* @__PURE__ */ I((e, {
9548
+ const bC = /* @__PURE__ */ E((e, {
9510
9549
  slots: t,
9511
9550
  emit: n
9512
9551
  }) => {
@@ -9529,7 +9568,7 @@ const dC = /* @__PURE__ */ I((e, {
9529
9568
  emits: ["close"]
9530
9569
  });
9531
9570
  var Xo, Ql;
9532
- function hA() {
9571
+ function yA() {
9533
9572
  if (Ql) return Xo;
9534
9573
  Ql = 1;
9535
9574
  function e(t, n, a) {
@@ -9542,20 +9581,20 @@ function hA() {
9542
9581
  return Xo = e, Xo;
9543
9582
  }
9544
9583
  var Zo, ec;
9545
- function mA() {
9584
+ function NA() {
9546
9585
  if (ec) return Zo;
9547
9586
  ec = 1;
9548
- var e = hA(), t = hd();
9587
+ var e = yA(), t = hd();
9549
9588
  function n(a, o, r) {
9550
9589
  return a && a.length ? (o = r || o === void 0 ? 1 : t(o), e(a, 0, o < 0 ? 0 : o)) : [];
9551
9590
  }
9552
9591
  return Zo = n, Zo;
9553
9592
  }
9554
- var pA = mA();
9555
- const gA = /* @__PURE__ */ $e(pA), vA = "Mosaic", bA = "lumx-mosaic", {
9556
- block: yA,
9593
+ var AA = NA();
9594
+ const OA = /* @__PURE__ */ $e(AA), PA = "Mosaic", CA = "lumx-mosaic", {
9595
+ block: SA,
9557
9596
  element: Jo
9558
- } = F(bA), NA = (e) => {
9597
+ } = F(CA), wA = (e) => {
9559
9598
  const {
9560
9599
  className: t,
9561
9600
  theme: n,
@@ -9573,7 +9612,7 @@ const gA = /* @__PURE__ */ $e(pA), vA = "Mosaic", bA = "lumx-mosaic", {
9573
9612
  return m("div", A({
9574
9613
  ref: s
9575
9614
  }, i, {
9576
- className: $(t, yA({
9615
+ className: $(t, SA({
9577
9616
  [`theme-${n}`]: !!n,
9578
9617
  "has-1-thumbnail": a?.length === 1,
9579
9618
  "has-2-thumbnails": a?.length === 2,
@@ -9582,7 +9621,7 @@ const gA = /* @__PURE__ */ $e(pA), vA = "Mosaic", bA = "lumx-mosaic", {
9582
9621
  }))
9583
9622
  }), [m("div", {
9584
9623
  className: Jo("wrapper")
9585
- }, [gA(a, 4).map((c, u) => {
9624
+ }, [OA(a, 4).map((c, u) => {
9586
9625
  const {
9587
9626
  image: d,
9588
9627
  onClick: f,
@@ -9603,15 +9642,15 @@ const gA = /* @__PURE__ */ $e(pA), vA = "Mosaic", bA = "lumx-mosaic", {
9603
9642
  className: Jo("overlay")
9604
9643
  }, [m("span", null, [Xd("+"), a.length - 4])])]);
9605
9644
  })])]);
9606
- }, AA = {
9645
+ }, xA = {
9607
9646
  handleClick: (e) => typeof e == "number"
9608
- }, fC = /* @__PURE__ */ I((e, {
9647
+ }, yC = /* @__PURE__ */ E((e, {
9609
9648
  emit: t
9610
9649
  }) => {
9611
9650
  const n = B(), a = K(), o = R(() => e.class), r = se("onHandleClick"), s = (i) => {
9612
9651
  t("handleClick", i);
9613
9652
  };
9614
- return () => m(NA, A(n, {
9653
+ return () => m(wA, A(n, {
9615
9654
  className: o.value,
9616
9655
  theme: e.theme || a.value,
9617
9656
  thumbnails: e.thumbnails,
@@ -9619,11 +9658,11 @@ const gA = /* @__PURE__ */ $e(pA), vA = "Mosaic", bA = "lumx-mosaic", {
9619
9658
  handleClick: r ? s : void 0
9620
9659
  }), null);
9621
9660
  }, {
9622
- name: M(vA),
9661
+ name: M(PA),
9623
9662
  inheritAttrs: !1,
9624
9663
  props: L()("thumbnails", "theme", "class"),
9625
- emits: AA
9626
- }), OA = "PopoverDialog", PA = "lumx-popover-dialog", Ad = {
9664
+ emits: xA
9665
+ }), TA = "PopoverDialog", _A = "lumx-popover-dialog", Ad = {
9627
9666
  close: () => !0
9628
9667
  }, Od = L()(
9629
9668
  "anchorRef",
@@ -9657,7 +9696,7 @@ const gA = /* @__PURE__ */ $e(pA), vA = "Mosaic", bA = "lumx-mosaic", {
9657
9696
  "zIndex",
9658
9697
  "theme",
9659
9698
  "class"
9660
- ), CA = /* @__PURE__ */ I((e, {
9699
+ ), kA = /* @__PURE__ */ E((e, {
9661
9700
  emit: t,
9662
9701
  slots: n,
9663
9702
  attrs: a
@@ -9678,7 +9717,7 @@ const gA = /* @__PURE__ */ $e(pA), vA = "Mosaic", bA = "lumx-mosaic", {
9678
9717
  "aria-modal": "true",
9679
9718
  ...c.value
9680
9719
  }), {
9681
- class: fe.join(PA, o.value),
9720
+ class: fe.join(_A, o.value),
9682
9721
  closeOnClickAway: !0,
9683
9722
  closeOnEscape: !0,
9684
9723
  withFocusTrap: !0,
@@ -9696,28 +9735,28 @@ const gA = /* @__PURE__ */ $e(pA), vA = "Mosaic", bA = "lumx-mosaic", {
9696
9735
  inheritAttrs: !1,
9697
9736
  props: Od,
9698
9737
  emits: Ad
9699
- }), hC = /* @__PURE__ */ I((e, {
9738
+ }), NC = /* @__PURE__ */ E((e, {
9700
9739
  emit: t,
9701
9740
  slots: n,
9702
9741
  attrs: a
9703
9742
  }) => {
9704
9743
  const o = () => t("close");
9705
9744
  return () => m(Er, null, {
9706
- default: () => [m(CA, A(e, a, {
9745
+ default: () => [m(kA, A(e, a, {
9707
9746
  onClose: o
9708
9747
  }), {
9709
9748
  default: () => [n.default?.()]
9710
9749
  })]
9711
9750
  });
9712
9751
  }, {
9713
- name: M(OA),
9752
+ name: M(TA),
9714
9753
  inheritAttrs: !1,
9715
9754
  props: Od,
9716
9755
  emits: Ad
9717
- }), SA = "ProgressLinear", wA = "lumx-progress-linear", {
9718
- block: xA,
9756
+ }), EA = "ProgressLinear", IA = "lumx-progress-linear", {
9757
+ block: MA,
9719
9758
  element: tc
9720
- } = F(wA), TA = (e) => {
9759
+ } = F(IA), $A = (e) => {
9721
9760
  const {
9722
9761
  className: t,
9723
9762
  theme: n,
@@ -9727,7 +9766,7 @@ const gA = /* @__PURE__ */ $e(pA), vA = "Mosaic", bA = "lumx-mosaic", {
9727
9766
  return m("div", A({
9728
9767
  ref: a
9729
9768
  }, o, {
9730
- className: $(t, xA({
9769
+ className: $(t, MA({
9731
9770
  [`theme-${n}`]: !!n
9732
9771
  }))
9733
9772
  }), [m("div", {
@@ -9735,20 +9774,20 @@ const gA = /* @__PURE__ */ $e(pA), vA = "Mosaic", bA = "lumx-mosaic", {
9735
9774
  }, null), m("div", {
9736
9775
  className: tc("line2")
9737
9776
  }, null)]);
9738
- }, mC = /* @__PURE__ */ I((e) => {
9777
+ }, AC = /* @__PURE__ */ E((e) => {
9739
9778
  const t = B(), n = K(), a = R(() => e.class);
9740
- return () => m(TA, A(e, t, {
9779
+ return () => m($A, A(e, t, {
9741
9780
  className: a.value,
9742
9781
  theme: e.theme || n.value
9743
9782
  }), null);
9744
9783
  }, {
9745
- name: M(SA),
9784
+ name: M(EA),
9746
9785
  inheritAttrs: !1,
9747
9786
  props: L()("class", "theme")
9748
- }), _A = "RadioButton", kA = "lumx-radio-button", {
9749
- block: EA,
9787
+ }), LA = "RadioButton", RA = "lumx-radio-button", {
9788
+ block: DA,
9750
9789
  element: De
9751
- } = F(kA), IA = (e) => {
9790
+ } = F(RA), BA = (e) => {
9752
9791
  const {
9753
9792
  checked: t,
9754
9793
  className: n,
@@ -9772,7 +9811,7 @@ const gA = /* @__PURE__ */ $e(pA), vA = "Mosaic", bA = "lumx-mosaic", {
9772
9811
  return m("div", A({
9773
9812
  ref: c
9774
9813
  }, b, {
9775
- className: $(n, EA({
9814
+ className: $(n, DA({
9776
9815
  "is-checked": s,
9777
9816
  "is-disabled": g,
9778
9817
  "is-unchecked": !s,
@@ -9811,9 +9850,9 @@ const gA = /* @__PURE__ */ $e(pA), vA = "Mosaic", bA = "lumx-mosaic", {
9811
9850
  theme: d,
9812
9851
  children: a
9813
9852
  })])]);
9814
- }, MA = {
9853
+ }, FA = {
9815
9854
  change: (e, t, n) => n instanceof Event
9816
- }, pC = /* @__PURE__ */ I((e, {
9855
+ }, OC = /* @__PURE__ */ E((e, {
9817
9856
  emit: t
9818
9857
  }) => {
9819
9858
  const n = B(), a = K(), o = R(() => e.class), r = re(), s = w(() => e.id || r), {
@@ -9826,7 +9865,7 @@ const gA = /* @__PURE__ */ $e(pA), vA = "Mosaic", bA = "lumx-mosaic", {
9826
9865
  }))), u = (d, f, h) => {
9827
9866
  i.value || t("change", d, f, h);
9828
9867
  };
9829
- return () => m(IA, A(c.value, {
9868
+ return () => m(BA, A(c.value, {
9830
9869
  className: o.value,
9831
9870
  theme: e.theme || a.value,
9832
9871
  inputId: s.value,
@@ -9840,12 +9879,12 @@ const gA = /* @__PURE__ */ $e(pA), vA = "Mosaic", bA = "lumx-mosaic", {
9840
9879
  }
9841
9880
  }), null);
9842
9881
  }, {
9843
- name: M(_A),
9882
+ name: M(LA),
9844
9883
  inheritAttrs: !1,
9845
9884
  // Redefine properties so that they come in as `props` on the `defineComponent` function
9846
9885
  props: L()("checked", "class", "disabled", "helper", "id", "inputProps", "isChecked", "isDisabled", "label", "name", "theme", "value", "aria-disabled"),
9847
- emits: MA
9848
- }), Pd = "RadioGroup", Cd = "lumx-radio-group", $A = {}, In = (e) => {
9886
+ emits: FA
9887
+ }), Pd = "RadioGroup", Cd = "lumx-radio-group", qA = {}, In = (e) => {
9849
9888
  const {
9850
9889
  children: t,
9851
9890
  className: n,
@@ -9860,8 +9899,8 @@ const gA = /* @__PURE__ */ $e(pA), vA = "Mosaic", bA = "lumx-mosaic", {
9860
9899
  };
9861
9900
  In.displayName = Pd;
9862
9901
  In.className = Cd;
9863
- In.defaultProps = $A;
9864
- const gC = /* @__PURE__ */ I((e, {
9902
+ In.defaultProps = qA;
9903
+ const PC = /* @__PURE__ */ E((e, {
9865
9904
  slots: t
9866
9905
  }) => {
9867
9906
  const n = B(), a = R(() => e.class);
@@ -9873,9 +9912,9 @@ const gC = /* @__PURE__ */ I((e, {
9873
9912
  name: M(Pd),
9874
9913
  inheritAttrs: !1,
9875
9914
  props: L()("class")
9876
- }), LA = "SkeletonCircle", RA = "lumx-skeleton-circle", {
9877
- block: DA
9878
- } = F(RA), BA = (e) => {
9915
+ }), jA = "SkeletonCircle", HA = "lumx-skeleton-circle", {
9916
+ block: zA
9917
+ } = F(HA), VA = (e) => {
9879
9918
  const {
9880
9919
  className: t,
9881
9920
  size: n,
@@ -9887,28 +9926,28 @@ const gC = /* @__PURE__ */ I((e, {
9887
9926
  return m("div", A({
9888
9927
  ref: r
9889
9928
  }, s, {
9890
- className: $(t, DA({
9929
+ className: $(t, zA({
9891
9930
  [`size-${n}`]: !!n,
9892
9931
  [`color-${a}`]: !!a,
9893
9932
  [`theme-${o}`]: !!o
9894
9933
  }))
9895
9934
  }), null);
9896
- }, FA = {
9935
+ }, WA = {
9897
9936
  squared: "squared",
9898
9937
  rounded: "rounded",
9899
9938
  pill: "pill"
9900
- }, qA = "SkeletonRectangle", jA = "lumx-skeleton-rectangle", {
9901
- block: HA,
9902
- element: zA
9903
- } = F(jA), VA = {
9904
- variant: FA.squared
9905
- }, WA = (e) => {
9939
+ }, UA = "SkeletonRectangle", GA = "lumx-skeleton-rectangle", {
9940
+ block: KA,
9941
+ element: YA
9942
+ } = F(GA), XA = {
9943
+ variant: WA.squared
9944
+ }, ZA = (e) => {
9906
9945
  const {
9907
9946
  aspectRatio: t,
9908
9947
  className: n,
9909
9948
  height: a,
9910
9949
  theme: o,
9911
- variant: r = VA.variant,
9950
+ variant: r = XA.variant,
9912
9951
  width: s,
9913
9952
  color: i,
9914
9953
  ref: l,
@@ -9917,7 +9956,7 @@ const gC = /* @__PURE__ */ I((e, {
9917
9956
  return m("div", A({
9918
9957
  ref: l
9919
9958
  }, c, {
9920
- className: $(n, HA({
9959
+ className: $(n, KA({
9921
9960
  [`aspect-ratio-${t}`]: !!t,
9922
9961
  [`height-${a}`]: !!(!t && a),
9923
9962
  [`theme-${o}`]: !!o,
@@ -9926,29 +9965,29 @@ const gC = /* @__PURE__ */ I((e, {
9926
9965
  [`color-${i}`]: !!i
9927
9966
  }))
9928
9967
  }), [m("div", {
9929
- className: zA("inner")
9968
+ className: YA("inner")
9930
9969
  }, null)]);
9931
- }, vC = /* @__PURE__ */ I((e) => {
9970
+ }, CC = /* @__PURE__ */ E((e) => {
9932
9971
  const t = B(), n = K(), a = R(() => e.class);
9933
- return () => m(BA, A(e, t, {
9972
+ return () => m(VA, A(e, t, {
9934
9973
  className: a.value,
9935
9974
  theme: e.theme || n.value
9936
9975
  }), null);
9937
9976
  }, {
9938
- name: M(LA),
9977
+ name: M(jA),
9939
9978
  inheritAttrs: !1,
9940
9979
  props: L()("class", "size", "color", "theme")
9941
- }), bC = /* @__PURE__ */ I((e) => {
9980
+ }), SC = /* @__PURE__ */ E((e) => {
9942
9981
  const t = B(), n = K(), a = R(() => e.class);
9943
- return () => m(WA, A(e, t, {
9982
+ return () => m(ZA, A(e, t, {
9944
9983
  className: a.value,
9945
9984
  theme: e.theme || n.value
9946
9985
  }), null);
9947
9986
  }, {
9948
- name: M(qA),
9987
+ name: M(UA),
9949
9988
  inheritAttrs: !1,
9950
9989
  props: L()("class", "aspectRatio", "height", "variant", "width", "color", "theme")
9951
- }), yC = /* @__PURE__ */ I((e) => {
9990
+ }), wC = /* @__PURE__ */ E((e) => {
9952
9991
  const t = B(), n = K(), a = R(() => e.class);
9953
9992
  return () => m(ur, A(e, t, {
9954
9993
  className: a.value,
@@ -9958,12 +9997,12 @@ const gC = /* @__PURE__ */ I((e, {
9958
9997
  name: M(kv),
9959
9998
  inheritAttrs: !1,
9960
9999
  props: L()("class", "typography", "width", "color", "theme", "style")
9961
- }), UA = "Switch", GA = "lumx-switch", {
9962
- block: KA,
10000
+ }), JA = "Switch", QA = "lumx-switch", {
10001
+ block: eO,
9963
10002
  element: Be
9964
- } = F(GA), YA = {
10003
+ } = F(QA), tO = {
9965
10004
  position: "left"
9966
- }, XA = (e) => {
10005
+ }, nO = (e) => {
9967
10006
  const {
9968
10007
  checked: t,
9969
10008
  className: n,
@@ -9980,7 +10019,7 @@ const gC = /* @__PURE__ */ I((e, {
9980
10019
  inputProps: h = {},
9981
10020
  isDisabled: g,
9982
10021
  inputId: p,
9983
- position: b = YA.position,
10022
+ position: b = tO.position,
9984
10023
  ...v
9985
10024
  } = e, y = (N) => {
9986
10025
  u && u(!s, f, l, N);
@@ -9988,7 +10027,7 @@ const gC = /* @__PURE__ */ I((e, {
9988
10027
  return m("div", A({
9989
10028
  ref: c
9990
10029
  }, v, {
9991
- className: $(n, KA({
10030
+ className: $(n, eO({
9992
10031
  "is-checked": s,
9993
10032
  "is-disabled": g,
9994
10033
  "is-unchecked": !s,
@@ -10030,9 +10069,9 @@ const gC = /* @__PURE__ */ I((e, {
10030
10069
  theme: d,
10031
10070
  children: a
10032
10071
  })])]);
10033
- }, ZA = {
10072
+ }, aO = {
10034
10073
  change: (e, t, n, a) => typeof e == "boolean" && a instanceof Event
10035
- }, NC = /* @__PURE__ */ I((e, {
10074
+ }, xC = /* @__PURE__ */ E((e, {
10036
10075
  emit: t,
10037
10076
  slots: n
10038
10077
  }) => {
@@ -10046,7 +10085,7 @@ const gC = /* @__PURE__ */ I((e, {
10046
10085
  }))), d = (f, h, g, p) => {
10047
10086
  l.value || t("change", f, h, g, p);
10048
10087
  };
10049
- return () => m(XA, A(u.value, {
10088
+ return () => m(nO, A(u.value, {
10050
10089
  className: r.value,
10051
10090
  theme: e.theme || o.value,
10052
10091
  inputId: i.value,
@@ -10060,23 +10099,23 @@ const gC = /* @__PURE__ */ I((e, {
10060
10099
  }
10061
10100
  }), null);
10062
10101
  }, {
10063
- name: M(UA),
10102
+ name: M(JA),
10064
10103
  inheritAttrs: !1,
10065
10104
  // Redefine properties so that they come in as `props` on the `defineComponent` function
10066
10105
  props: L()("checked", "class", "disabled", "helper", "id", "inputProps", "isChecked", "isDisabled", "label", "name", "position", "theme", "value", "aria-disabled"),
10067
- emits: ZA
10106
+ emits: aO
10068
10107
  }), Sd = {
10069
10108
  square: "square",
10070
10109
  rounded: "rounded",
10071
10110
  circle: "circle"
10072
- }, JA = "Uploader", QA = "lumx-uploader", {
10073
- block: eO,
10111
+ }, oO = "Uploader", rO = "lumx-uploader", {
10112
+ block: sO,
10074
10113
  element: At
10075
- } = F(QA), Qo = {
10114
+ } = F(rO), Qo = {
10076
10115
  aspectRatio: mt.horizontal,
10077
10116
  size: V.xl,
10078
10117
  variant: Sd.square
10079
- }, tO = (e) => {
10118
+ }, iO = (e) => {
10080
10119
  const {
10081
10120
  aspectRatio: t = Qo.aspectRatio,
10082
10121
  className: n,
@@ -10099,7 +10138,7 @@ const gC = /* @__PURE__ */ I((e, {
10099
10138
  ref: p
10100
10139
  }, b, {
10101
10140
  onClick: f,
10102
- className: $(n, eO({
10141
+ className: $(n, sO({
10103
10142
  [`aspect-ratio-${v}`]: !!v,
10104
10143
  [`size-${r}`]: !!r,
10105
10144
  [`theme-${s}`]: !!s,
@@ -10126,10 +10165,10 @@ const gC = /* @__PURE__ */ I((e, {
10126
10165
  onChange: h
10127
10166
  }), null)]
10128
10167
  });
10129
- }, nO = {
10168
+ }, lO = {
10130
10169
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
10131
10170
  change: (e, t) => !0
10132
- }, AC = /* @__PURE__ */ I((e, {
10171
+ }, TC = /* @__PURE__ */ E((e, {
10133
10172
  emit: t
10134
10173
  }) => {
10135
10174
  const n = B(), a = K(), o = R(() => e.class), r = re(), s = w(() => e.fileInputProps?.id || r), i = D(!1), {
@@ -10159,7 +10198,7 @@ const gC = /* @__PURE__ */ I((e, {
10159
10198
  theme: v,
10160
10199
  ...y
10161
10200
  } = u.value;
10162
- return m(tO, A(y, {
10201
+ return m(iO, A(y, {
10163
10202
  className: o.value,
10164
10203
  theme: e.theme || a.value,
10165
10204
  inputId: s.value,
@@ -10190,20 +10229,20 @@ const gC = /* @__PURE__ */ I((e, {
10190
10229
  }), null);
10191
10230
  };
10192
10231
  }, {
10193
- name: M(JA),
10232
+ name: M(oO),
10194
10233
  inheritAttrs: !1,
10195
10234
  props: L()("class", "theme", "aspectRatio", "icon", "label", "size", "variant", "isDisabled", "disabled", "aria-disabled", "fileInputProps"),
10196
- emits: nO
10197
- }), aO = {
10235
+ emits: lO
10236
+ }), cO = {
10198
10237
  below: "below",
10199
10238
  over: "over"
10200
- }, oO = "ImageBlock", wd = "lumx-image-block", {
10201
- block: rO,
10239
+ }, uO = "ImageBlock", wd = "lumx-image-block", {
10240
+ block: dO,
10202
10241
  element: nc
10203
10242
  } = F(wd), ac = {
10204
- captionPosition: aO.below,
10243
+ captionPosition: cO.below,
10205
10244
  align: Pr.left
10206
- }, sO = (e) => {
10245
+ }, fO = (e) => {
10207
10246
  const {
10208
10247
  actions: t,
10209
10248
  align: n = ac.align,
@@ -10229,7 +10268,7 @@ const gC = /* @__PURE__ */ I((e, {
10229
10268
  return m("figure", A({
10230
10269
  ref: h
10231
10270
  }, O, {
10232
- className: $(s, rO({
10271
+ className: $(s, dO({
10233
10272
  [`caption-position-${o}`]: !!o,
10234
10273
  [`align-${n}`]: !!n,
10235
10274
  [`size-${d}`]: !!d,
@@ -10263,7 +10302,7 @@ const gC = /* @__PURE__ */ I((e, {
10263
10302
  function er(e) {
10264
10303
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !G(e);
10265
10304
  }
10266
- const iO = (e) => {
10305
+ const hO = (e) => {
10267
10306
  const {
10268
10307
  baseClassName: t,
10269
10308
  theme: n,
@@ -10327,7 +10366,7 @@ const iO = (e) => {
10327
10366
  default: () => [l]
10328
10367
  }), [[Jd("align"), u]])]
10329
10368
  });
10330
- }, lO = /* @__PURE__ */ I((e) => {
10369
+ }, mO = /* @__PURE__ */ E((e) => {
10331
10370
  const t = K();
10332
10371
  return () => {
10333
10372
  const {
@@ -10336,7 +10375,7 @@ const iO = (e) => {
10336
10375
  align: o,
10337
10376
  ...r
10338
10377
  } = e;
10339
- return m(iO, A(r, {
10378
+ return m(hO, A(r, {
10340
10379
  align: o,
10341
10380
  theme: a || t.value,
10342
10381
  FlexBox: On,
@@ -10351,7 +10390,7 @@ const iO = (e) => {
10351
10390
  name: M("ImageCaption"),
10352
10391
  inheritAttrs: !1,
10353
10392
  props: L()("align", "as", "baseClassName", "captionStyle", "class", "description", "descriptionProps", "tags", "theme", "title", "titleProps", "truncate")
10354
- }), OC = /* @__PURE__ */ I((e, {
10393
+ }), _C = /* @__PURE__ */ E((e, {
10355
10394
  slots: t
10356
10395
  }) => {
10357
10396
  const n = B(), a = K(), o = R(() => e.class);
@@ -10363,23 +10402,23 @@ const iO = (e) => {
10363
10402
  actions: l,
10364
10403
  ...c
10365
10404
  } = e, u = t.tags?.() ?? i, d = t.actions?.() ?? l;
10366
- return m(sO, A(c, n, {
10405
+ return m(fO, A(c, n, {
10367
10406
  className: o.value,
10368
10407
  theme: s || a.value,
10369
10408
  tags: u,
10370
10409
  actions: d,
10371
10410
  Thumbnail: mn,
10372
- ImageCaption: lO
10411
+ ImageCaption: mO
10373
10412
  }), null);
10374
10413
  };
10375
10414
  }, {
10376
- name: M(oO),
10415
+ name: M(uO),
10377
10416
  inheritAttrs: !1,
10378
10417
  props: L()("actions", "align", "alt", "captionPosition", "captionStyle", "class", "description", "descriptionProps", "fillHeight", "image", "size", "tags", "theme", "thumbnailProps", "title", "titleProps")
10379
10418
  }), xd = "InlineList", Td = "lumx-inline-list", {
10380
- block: cO,
10419
+ block: pO,
10381
10420
  element: oc
10382
- } = F(Td), uO = {}, Mn = (e) => {
10421
+ } = F(Td), gO = {}, Mn = (e) => {
10383
10422
  const {
10384
10423
  className: t,
10385
10424
  color: n,
@@ -10394,7 +10433,7 @@ const iO = (e) => {
10394
10433
  // eslint-disable-next-line jsx-a11y/no-redundant-roles
10395
10434
  m("ul", A(l, {
10396
10435
  ref: i,
10397
- className: $(t, cO({
10436
+ className: $(t, pO({
10398
10437
  wrap: !!s
10399
10438
  }), n && xc(n, a), o && on(o)),
10400
10439
  role: "list"
@@ -10414,8 +10453,8 @@ const iO = (e) => {
10414
10453
  };
10415
10454
  Mn.displayName = xd;
10416
10455
  Mn.className = Td;
10417
- Mn.defaultProps = uO;
10418
- const PC = /* @__PURE__ */ I((e, {
10456
+ Mn.defaultProps = gO;
10457
+ const kC = /* @__PURE__ */ E((e, {
10419
10458
  slots: t
10420
10459
  }) => {
10421
10460
  const n = B(), a = R(() => e.class);
@@ -10427,9 +10466,9 @@ const PC = /* @__PURE__ */ I((e, {
10427
10466
  name: M(xd),
10428
10467
  inheritAttrs: !1,
10429
10468
  props: L()("color", "colorVariant", "typography", "wrap", "class")
10430
- }), dO = "Table", Dt = "lumx-table", {
10431
- block: fO
10432
- } = F(Dt), hO = (e) => {
10469
+ }), vO = "Table", Dt = "lumx-table", {
10470
+ block: bO
10471
+ } = F(Dt), yO = (e) => {
10433
10472
  const {
10434
10473
  children: t,
10435
10474
  className: n,
@@ -10442,26 +10481,26 @@ const PC = /* @__PURE__ */ I((e, {
10442
10481
  return m("table", A({
10443
10482
  ref: r
10444
10483
  }, i, {
10445
- className: $(n, fO({
10484
+ className: $(n, bO({
10446
10485
  "has-before": a,
10447
10486
  "has-dividers": o,
10448
10487
  [`theme-${s}`]: !!s
10449
10488
  }))
10450
10489
  }), [t]);
10451
- }, CC = /* @__PURE__ */ I((e, {
10490
+ }, EC = /* @__PURE__ */ E((e, {
10452
10491
  slots: t
10453
10492
  }) => {
10454
10493
  const n = B(), a = K(), o = R(() => e.class);
10455
- return () => m(hO, A(e, n, {
10494
+ return () => m(yO, A(e, n, {
10456
10495
  className: o.value,
10457
10496
  theme: e.theme || a.value,
10458
10497
  children: t.default?.()
10459
10498
  }), null);
10460
10499
  }, {
10461
- name: M(dO),
10500
+ name: M(vO),
10462
10501
  inheritAttrs: !1,
10463
10502
  props: L()("class", "hasBefore", "hasDividers", "theme")
10464
- }), mO = "TableBody", pO = `${Dt}__body`, gO = (e) => {
10503
+ }), NO = "TableBody", AO = `${Dt}__body`, OO = (e) => {
10465
10504
  const {
10466
10505
  children: t,
10467
10506
  className: n,
@@ -10471,18 +10510,18 @@ const PC = /* @__PURE__ */ I((e, {
10471
10510
  return m("tbody", A({
10472
10511
  ref: a
10473
10512
  }, o, {
10474
- className: $(n, pO)
10513
+ className: $(n, AO)
10475
10514
  }), [t]);
10476
- }, SC = /* @__PURE__ */ I((e, {
10515
+ }, IC = /* @__PURE__ */ E((e, {
10477
10516
  slots: t
10478
10517
  }) => {
10479
10518
  const n = B(), a = R(() => e.class);
10480
- return () => m(gO, A(e, n, {
10519
+ return () => m(OO, A(e, n, {
10481
10520
  className: a.value,
10482
10521
  children: t.default?.()
10483
10522
  }), null);
10484
10523
  }, {
10485
- name: M(mO),
10524
+ name: M(NO),
10486
10525
  inheritAttrs: !1,
10487
10526
  props: L()("class")
10488
10527
  }), Wt = {
@@ -10491,11 +10530,11 @@ const PC = /* @__PURE__ */ I((e, {
10491
10530
  }, hr = {
10492
10531
  body: "body",
10493
10532
  head: "head"
10494
- }, vO = "TableCell", Ye = `${Dt}__cell`, {
10533
+ }, PO = "TableCell", Ye = `${Dt}__cell`, {
10495
10534
  block: rc
10496
- } = F(Ye), bO = {
10535
+ } = F(Ye), CO = {
10497
10536
  variant: hr.body
10498
- }, yO = (e) => {
10537
+ }, SO = (e) => {
10499
10538
  const {
10500
10539
  children: t,
10501
10540
  className: n,
@@ -10504,7 +10543,7 @@ const PC = /* @__PURE__ */ I((e, {
10504
10543
  handleClick: r,
10505
10544
  ref: s,
10506
10545
  sortOrder: i,
10507
- variant: l = bO.variant,
10546
+ variant: l = CO.variant,
10508
10547
  ...c
10509
10548
  } = e, u = r ? "button" : "div", d = u === "button" ? {
10510
10549
  type: "button",
@@ -10547,9 +10586,9 @@ const PC = /* @__PURE__ */ I((e, {
10547
10586
  }), [m("div", {
10548
10587
  className: `${Ye}-content`
10549
10588
  }, [t])])]);
10550
- }, NO = {
10589
+ }, wO = {
10551
10590
  headerClick: () => !0
10552
- }, wC = /* @__PURE__ */ I((e, {
10591
+ }, MC = /* @__PURE__ */ E((e, {
10553
10592
  emit: t,
10554
10593
  slots: n,
10555
10594
  attrs: a
@@ -10557,17 +10596,17 @@ const PC = /* @__PURE__ */ I((e, {
10557
10596
  const o = R(() => e.class), r = () => {
10558
10597
  t("headerClick");
10559
10598
  }, s = se("onHeaderClick");
10560
- return () => m(yO, A(e, a, {
10599
+ return () => m(SO, A(e, a, {
10561
10600
  className: o.value,
10562
10601
  handleClick: s ? r : void 0,
10563
10602
  children: n.default?.()
10564
10603
  }), null);
10565
10604
  }, {
10566
- name: M(vO),
10605
+ name: M(PO),
10567
10606
  inheritAttrs: !1,
10568
10607
  props: L()("class", "icon", "isSortable", "sortOrder", "variant"),
10569
- emits: NO
10570
- }), AO = "TableHeader", OO = `${Dt}__header`, PO = (e) => {
10608
+ emits: wO
10609
+ }), xO = "TableHeader", TO = `${Dt}__header`, _O = (e) => {
10571
10610
  const {
10572
10611
  children: t,
10573
10612
  className: n,
@@ -10577,23 +10616,23 @@ const PC = /* @__PURE__ */ I((e, {
10577
10616
  return m("thead", A({
10578
10617
  ref: a
10579
10618
  }, o, {
10580
- className: $(n, OO)
10619
+ className: $(n, TO)
10581
10620
  }), [t]);
10582
- }, xC = /* @__PURE__ */ I((e, {
10621
+ }, $C = /* @__PURE__ */ E((e, {
10583
10622
  slots: t
10584
10623
  }) => {
10585
10624
  const n = B(), a = R(() => e.class);
10586
- return () => m(PO, A(e, n, {
10625
+ return () => m(_O, A(e, n, {
10587
10626
  className: a.value,
10588
10627
  children: t.default?.()
10589
10628
  }), null);
10590
10629
  }, {
10591
- name: M(AO),
10630
+ name: M(xO),
10592
10631
  inheritAttrs: !1,
10593
10632
  props: L()("class")
10594
- }), CO = "TableRow", SO = `${Dt}__row`, {
10595
- block: wO
10596
- } = F(SO), xO = (e) => {
10633
+ }), kO = "TableRow", EO = `${Dt}__row`, {
10634
+ block: IO
10635
+ } = F(EO), MO = (e) => {
10597
10636
  const {
10598
10637
  children: t,
10599
10638
  className: n,
@@ -10610,13 +10649,13 @@ const PC = /* @__PURE__ */ I((e, {
10610
10649
  }, s !== void 0 ? {
10611
10650
  tabIndex: s
10612
10651
  } : {}, l, {
10613
- className: $(n, wO({
10652
+ className: $(n, IO({
10614
10653
  "is-clickable": a && !c,
10615
10654
  "is-disabled": c,
10616
10655
  "is-selected": o && !c
10617
10656
  }))
10618
10657
  }), [t]);
10619
- }, TC = /* @__PURE__ */ I((e, {
10658
+ }, LC = /* @__PURE__ */ E((e, {
10620
10659
  slots: t
10621
10660
  }) => {
10622
10661
  const n = B(), a = R(() => e.class), {
@@ -10626,23 +10665,23 @@ const PC = /* @__PURE__ */ I((e, {
10626
10665
  ...e,
10627
10666
  ...n
10628
10667
  })));
10629
- return () => m(xO, A(r.value, {
10668
+ return () => m(MO, A(r.value, {
10630
10669
  className: a.value,
10631
10670
  tabIndex: e.isClickable && !o.value ? 0 : -1,
10632
10671
  "aria-disabled": o.value,
10633
10672
  children: t.default?.()
10634
10673
  }), null);
10635
10674
  }, {
10636
- name: M(CO),
10675
+ name: M(kO),
10637
10676
  inheritAttrs: !1,
10638
10677
  props: L()("class", "isClickable", "isDisabled", "isSelected")
10639
- }), _d = "lumx-tabs", TO = "TabProvider";
10640
- function _O(e) {
10678
+ }), _d = "lumx-tabs", $O = "TabProvider";
10679
+ function LO(e) {
10641
10680
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !G(e);
10642
10681
  }
10643
- const kO = "Tab", EO = `${_d}__link`, {
10644
- block: IO
10645
- } = F(EO), MO = (e) => {
10682
+ const RO = "Tab", DO = `${_d}__link`, {
10683
+ block: BO
10684
+ } = F(DO), FO = (e) => {
10646
10685
  const {
10647
10686
  as: t = "button",
10648
10687
  className: n,
@@ -10703,7 +10742,7 @@ const kO = "Tab", EO = `${_d}__link`, {
10703
10742
  ...x,
10704
10743
  as: t,
10705
10744
  id: i,
10706
- className: $(n, IO({
10745
+ className: $(n, BO({
10707
10746
  "is-active": l,
10708
10747
  "is-disabled": r
10709
10748
  })),
@@ -10714,7 +10753,7 @@ const kO = "Tab", EO = `${_d}__link`, {
10714
10753
  }, o), null), u && m(O, {
10715
10754
  as: "span",
10716
10755
  truncate: !0
10717
- }, _O(u) ? u : {
10756
+ }, LO(u) ? u : {
10718
10757
  default: () => [u]
10719
10758
  })])
10720
10759
  });
@@ -10723,7 +10762,7 @@ const kO = "Tab", EO = `${_d}__link`, {
10723
10762
  shouldActivateOnFocus: !1,
10724
10763
  activeTabIndex: 0,
10725
10764
  ids: { tab: [], tabPanel: [] }
10726
- }, $O = (e, t) => {
10765
+ }, qO = (e, t) => {
10727
10766
  switch (t.type) {
10728
10767
  case "update":
10729
10768
  return { ...e, ...t.payload };
@@ -10765,12 +10804,12 @@ const kO = "Tab", EO = `${_d}__link`, {
10765
10804
  changeToTab: () => o({ type: "setActiveTabIndex", payload: i })
10766
10805
  };
10767
10806
  });
10768
- }, LO = {
10807
+ }, jO = {
10769
10808
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
10770
10809
  focus: (e) => !0,
10771
10810
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
10772
10811
  keypress: (e) => !0
10773
- }, _C = /* @__PURE__ */ I((e, {
10812
+ }, RC = /* @__PURE__ */ E((e, {
10774
10813
  emit: t,
10775
10814
  slots: n
10776
10815
  }) => {
@@ -10796,7 +10835,7 @@ const kO = "Tab", EO = `${_d}__link`, {
10796
10835
  } = g.props || {};
10797
10836
  Object.assign(f, b), f = b, f.as = g.type, f.className = fe.join(f.className, p);
10798
10837
  }
10799
- return MO({
10838
+ return FO({
10800
10839
  ...a,
10801
10840
  ...d,
10802
10841
  ...f,
@@ -10818,26 +10857,26 @@ const kO = "Tab", EO = `${_d}__link`, {
10818
10857
  });
10819
10858
  };
10820
10859
  }, {
10821
- name: M(kO),
10860
+ name: M(RO),
10822
10861
  inheritAttrs: !1,
10823
10862
  props: L()("icon", "iconProps", "id", "isActive", "isDisabled", "label", "class"),
10824
- emits: LO,
10863
+ emits: jO,
10825
10864
  slots: Object
10826
10865
  });
10827
- function RO(e) {
10866
+ function HO(e) {
10828
10867
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !G(e);
10829
10868
  }
10830
10869
  const {
10831
- block: DO,
10832
- element: BO
10870
+ block: zO,
10871
+ element: VO
10833
10872
  } = F(_d);
10834
- let FO = /* @__PURE__ */ (function(e) {
10873
+ let WO = /* @__PURE__ */ (function(e) {
10835
10874
  return e.clustered = "clustered", e.fixed = "fixed", e;
10836
10875
  })({});
10837
- const qO = "TabList", sc = {
10838
- layout: FO.fixed,
10876
+ const UO = "TabList", sc = {
10877
+ layout: WO.fixed,
10839
10878
  position: Pr.left
10840
- }, jO = (e) => {
10879
+ }, GO = (e) => {
10841
10880
  const {
10842
10881
  "aria-label": t,
10843
10882
  children: n,
@@ -10852,26 +10891,26 @@ const qO = "TabList", sc = {
10852
10891
  return m("div", A({
10853
10892
  ref: l
10854
10893
  }, c, {
10855
- className: $(a, DO({
10894
+ className: $(a, zO({
10856
10895
  [`layout-${o}`]: !!o,
10857
10896
  [`position-${r}`]: !!r,
10858
10897
  [`theme-${i}`]: !!i
10859
10898
  }))
10860
10899
  }), [m(u, {
10861
- className: BO("links"),
10900
+ className: VO("links"),
10862
10901
  role: s,
10863
10902
  "aria-label": t
10864
- }, RO(n) ? n : {
10903
+ }, HO(n) ? n : {
10865
10904
  default: () => [n]
10866
10905
  })]);
10867
- }, kC = /* @__PURE__ */ I((e) => {
10906
+ }, DC = /* @__PURE__ */ E((e) => {
10868
10907
  const t = B(), n = Me(), a = K(), o = R(() => e.class), r = D(null), s = be(Qr, void 0) === void 0 ? "navigation" : "tablist";
10869
10908
  return cd({
10870
10909
  containerRef: s === "navigation" ? D(null) : r,
10871
10910
  itemSelector: '[role="tab"]'
10872
10911
  }), () => {
10873
10912
  const i = n.default?.();
10874
- return m(jO, A(t, {
10913
+ return m(GO, A(t, {
10875
10914
  ref: r,
10876
10915
  "aria-label": t["aria-label"],
10877
10916
  className: o.value,
@@ -10883,12 +10922,12 @@ const qO = "TabList", sc = {
10883
10922
  }), null);
10884
10923
  };
10885
10924
  }, {
10886
- name: M(qO),
10925
+ name: M(UO),
10887
10926
  inheritAttrs: !1,
10888
10927
  props: L()("layout", "position", "theme", "class")
10889
- }), HO = "TabPanel", zO = "lumx-tab-panel", {
10890
- block: VO
10891
- } = F(zO), WO = (e) => {
10928
+ }), KO = "TabPanel", YO = "lumx-tab-panel", {
10929
+ block: XO
10930
+ } = F(YO), ZO = (e) => {
10892
10931
  const {
10893
10932
  children: t,
10894
10933
  className: n,
@@ -10904,7 +10943,7 @@ const qO = "TabList", sc = {
10904
10943
  ref: l
10905
10944
  }, c, {
10906
10945
  id: o,
10907
- className: $(n, VO({
10946
+ className: $(n, XO({
10908
10947
  "is-active": a
10909
10948
  })),
10910
10949
  role: "tabpanel"
@@ -10913,9 +10952,9 @@ const qO = "TabList", sc = {
10913
10952
  }, {
10914
10953
  "aria-labelledby": r
10915
10954
  }), [(!s || a) && t]);
10916
- }, EC = /* @__PURE__ */ I((e) => {
10955
+ }, BC = /* @__PURE__ */ E((e) => {
10917
10956
  const t = B(), n = Me(), a = R(() => e.class), o = kd("tabPanel", e.id), r = w(() => e.isActive || o.value?.isActive);
10918
- return () => m(WO, A(t, {
10957
+ return () => m(ZO, A(t, {
10919
10958
  className: a.value,
10920
10959
  isActive: r.value,
10921
10960
  id: o.value?.tabPanelId,
@@ -10925,15 +10964,15 @@ const qO = "TabList", sc = {
10925
10964
  children: n.default?.()
10926
10965
  }), null);
10927
10966
  }, {
10928
- name: M(HO),
10967
+ name: M(KO),
10929
10968
  inheritAttrs: !1,
10930
10969
  props: L()("isActive", "id", "class")
10931
10970
  }), ic = {
10932
10971
  isLazy: St.isLazy,
10933
10972
  shouldActivateOnFocus: St.shouldActivateOnFocus
10934
- }, UO = {
10973
+ }, JO = {
10935
10974
  change: (e) => typeof e == "number"
10936
- }, IC = /* @__PURE__ */ I((e, {
10975
+ }, FC = /* @__PURE__ */ E((e, {
10937
10976
  emit: t,
10938
10977
  slots: n
10939
10978
  }) => {
@@ -10945,7 +10984,7 @@ const qO = "TabList", sc = {
10945
10984
  activeTabIndex: e.activeTabIndex
10946
10985
  } : {}
10947
10986
  }), o = (r) => {
10948
- a.value = $O(a.value, r);
10987
+ a.value = qO(a.value, r);
10949
10988
  };
10950
10989
  return Ie(Qr, {
10951
10990
  state: a,
@@ -10965,7 +11004,7 @@ const qO = "TabList", sc = {
10965
11004
  e.activeTabIndex !== r && t("change", r);
10966
11005
  }), () => n.default?.();
10967
11006
  }, {
10968
- name: M(TO),
11007
+ name: M($O),
10969
11008
  props: {
10970
11009
  activeTabIndex: {
10971
11010
  required: !1
@@ -10977,10 +11016,10 @@ const qO = "TabList", sc = {
10977
11016
  required: !1
10978
11017
  }
10979
11018
  },
10980
- emits: UO
11019
+ emits: JO
10981
11020
  });
10982
11021
  var tr, lc;
10983
- function GO() {
11022
+ function QO() {
10984
11023
  if (lc) return tr;
10985
11024
  lc = 1;
10986
11025
  var e = ad();
@@ -10989,15 +11028,15 @@ function GO() {
10989
11028
  }
10990
11029
  return tr = t, tr;
10991
11030
  }
10992
- var KO = GO();
10993
- const YO = /* @__PURE__ */ $e(KO);
10994
- function XO(e) {
11031
+ var eP = QO();
11032
+ const tP = /* @__PURE__ */ $e(eP);
11033
+ function nP(e) {
10995
11034
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !G(e);
10996
11035
  }
10997
- const ZO = "UserBlock", JO = "lumx-user-block", {
10998
- block: QO,
11036
+ const aP = "UserBlock", oP = "lumx-user-block", {
11037
+ block: rP,
10999
11038
  element: Fe
11000
- } = F(JO), cc = {
11039
+ } = F(oP), cc = {
11001
11040
  orientation: ft.horizontal,
11002
11041
  size: V.m
11003
11042
  }, mr = ({
@@ -11007,7 +11046,7 @@ const ZO = "UserBlock", JO = "lumx-user-block", {
11007
11046
  }) => {
11008
11047
  const a = !!(t?.href || e);
11009
11048
  return !!n || a;
11010
- }, eP = (e) => {
11049
+ }, sP = (e) => {
11011
11050
  const {
11012
11051
  avatarProps: t,
11013
11052
  className: n,
@@ -11042,12 +11081,12 @@ const ZO = "UserBlock", JO = "lumx-user-block", {
11042
11081
  linkProps: o
11043
11082
  }), q = k !== V.s && k !== V.xs, H = a && q && m("div", {
11044
11083
  className: Fe("fields")
11045
- }, [a.map((E, j) => m(C, {
11084
+ }, [a.map((I, j) => m(C, {
11046
11085
  as: "span",
11047
11086
  key: j,
11048
11087
  className: Fe("field")
11049
- }, XO(E) ? E : {
11050
- default: () => [E]
11088
+ }, nP(I) ? I : {
11089
+ default: () => [I]
11051
11090
  }))]), z = {
11052
11091
  ...h && {
11053
11092
  [l]: h
@@ -11059,7 +11098,7 @@ const ZO = "UserBlock", JO = "lumx-user-block", {
11059
11098
  return m("div", A({
11060
11099
  ref: s
11061
11100
  }, P, z, {
11062
- className: $(n, QO({
11101
+ className: $(n, rP({
11063
11102
  [`orientation-${p}`]: !!p,
11064
11103
  [`size-${k}`]: !!k,
11065
11104
  [`theme-${y}`]: !!y,
@@ -11084,14 +11123,14 @@ const ZO = "UserBlock", JO = "lumx-user-block", {
11084
11123
  className: Fe("after")
11085
11124
  }, [T]) : null]);
11086
11125
  };
11087
- function tP(e) {
11126
+ function iP(e) {
11088
11127
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !G(e);
11089
11128
  }
11090
- const nP = {
11129
+ const lP = {
11091
11130
  click: () => !0,
11092
11131
  mouseenter: () => !0,
11093
11132
  mouseleave: () => !0
11094
- }, MC = /* @__PURE__ */ I((e, {
11133
+ }, qC = /* @__PURE__ */ E((e, {
11095
11134
  emit: t,
11096
11135
  slots: n
11097
11136
  }) => {
@@ -11123,7 +11162,7 @@ const nP = {
11123
11162
  }), {
11124
11163
  default: () => [m(pe, {
11125
11164
  as: "span"
11126
- }, tP(g) ? g : {
11165
+ }, iP(g) ? g : {
11127
11166
  default: () => [g]
11128
11167
  })]
11129
11168
  });
@@ -11137,7 +11176,7 @@ const nP = {
11137
11176
  const p = {
11138
11177
  ...e.avatarProps
11139
11178
  };
11140
- return YO(p, ["thumbnailProps", "tabIndex"], -1), p;
11179
+ return tP(p, ["thumbnailProps", "tabIndex"], -1), p;
11141
11180
  }
11142
11181
  return e.avatarProps;
11143
11182
  });
@@ -11147,7 +11186,7 @@ const nP = {
11147
11186
  fields: p,
11148
11187
  ...b
11149
11188
  } = e, v = n.default?.() || f.value;
11150
- return m(eP, A(b, a, {
11189
+ return m(sP, A(b, a, {
11151
11190
  linkAs: Je(g),
11152
11191
  className: r.value,
11153
11192
  theme: e.theme || o.value,
@@ -11176,17 +11215,17 @@ const nP = {
11176
11215
  }), null);
11177
11216
  };
11178
11217
  }, {
11179
- name: M(ZO),
11218
+ name: M(aP),
11180
11219
  inheritAttrs: !1,
11181
11220
  props: L()("avatarProps", "class", "fields", "linkAs", "linkProps", "name", "nameProps", "orientation", "size", "theme"),
11182
- emits: nP
11221
+ emits: lP
11183
11222
  });
11184
- function aP(e, t, n) {
11223
+ function cP(e, t, n) {
11185
11224
  if (n != null)
11186
11225
  return e?.find((a) => ie(t, a) === n);
11187
11226
  }
11188
11227
  function Ed(e, t, n, a, o) {
11189
- const r = aP(e, t, a);
11228
+ const r = cP(e, t, a);
11190
11229
  if (!o)
11191
11230
  return r;
11192
11231
  const s = Array.isArray(n) ? n : [], i = s.findIndex((c) => ie(t, c) === a);
@@ -11259,7 +11298,7 @@ function es(e, t) {
11259
11298
  });
11260
11299
  });
11261
11300
  }
11262
- const Md = "SelectButton", oP = "lumx-select-button", rP = {
11301
+ const Md = "SelectButton", uP = "lumx-select-button", dP = {
11263
11302
  selectionType: "single"
11264
11303
  }, ts = (e, {
11265
11304
  Combobox: t,
@@ -11274,7 +11313,7 @@ const Md = "SelectButton", oP = "lumx-select-button", rP = {
11274
11313
  getSectionId: l,
11275
11314
  renderSectionTitle: c,
11276
11315
  value: u,
11277
- selectionType: d = rP.selectionType,
11316
+ selectionType: d = dP.selectionType,
11278
11317
  label: f,
11279
11318
  labelDisplayMode: h,
11280
11319
  buttonProps: g,
@@ -11334,8 +11373,8 @@ const Md = "SelectButton", oP = "lumx-select-button", rP = {
11334
11373
  });
11335
11374
  };
11336
11375
  ts.displayName = Md;
11337
- ts.className = oP;
11338
- function sP(e) {
11376
+ ts.className = uP;
11377
+ function fP(e) {
11339
11378
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !G(e);
11340
11379
  }
11341
11380
  function $d(e) {
@@ -11367,7 +11406,7 @@ function $d(e) {
11367
11406
  value: s,
11368
11407
  isSelected: i,
11369
11408
  description: l ?? void 0
11370
- }, b), sP(v) ? v : {
11409
+ }, b), fP(v) ? v : {
11371
11410
  default: () => [v]
11372
11411
  });
11373
11412
  };
@@ -11382,10 +11421,10 @@ function Ld(e) {
11382
11421
  });
11383
11422
  });
11384
11423
  }
11385
- function iP(e) {
11424
+ function hP(e) {
11386
11425
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !G(e);
11387
11426
  }
11388
- const lP = {
11427
+ const mP = {
11389
11428
  /**
11390
11429
  * Selection change. Payload type depends on `selectionType`:
11391
11430
  * - default / `'single'` → `O` (selected option).
@@ -11399,7 +11438,7 @@ const lP = {
11399
11438
  "load-more": () => !0,
11400
11439
  /** Dropdown opened or closed. */
11401
11440
  open: (e) => !0
11402
- }, $C = /* @__PURE__ */ I((e, {
11441
+ }, jC = /* @__PURE__ */ E((e, {
11403
11442
  emit: t,
11404
11443
  slots: n,
11405
11444
  attrs: a
@@ -11426,7 +11465,7 @@ const lP = {
11426
11465
  children: p
11427
11466
  }) : m(Mt, A({
11428
11467
  rightIcon: lf
11429
- }, y), iP(p) ? p : {
11468
+ }, y), hP(p) ? p : {
11430
11469
  default: () => [p]
11431
11470
  });
11432
11471
  }), d = (g) => {
@@ -11476,8 +11515,8 @@ const lP = {
11476
11515
  inheritAttrs: !1,
11477
11516
  slots: Object,
11478
11517
  props: L()("options", "getOptionId", "getOptionName", "getOptionDescription", "getSectionId", "selectionType", "value", "label", "labelDisplayMode", "popoverProps", "listStatus", "translations", "class"),
11479
- emits: lP
11480
- }), LC = _t, Rd = "SelectTextField", cP = "lumx-select-text-field", ns = (e, {
11518
+ emits: mP
11519
+ }), HC = _t, Rd = "SelectTextField", pP = "lumx-select-text-field", ns = (e, {
11481
11520
  Combobox: t,
11482
11521
  InfiniteScroll: n
11483
11522
  }) => {
@@ -11507,7 +11546,7 @@ const lP = {
11507
11546
  afterOptions: k,
11508
11547
  onLoadMore: _,
11509
11548
  infiniteScrollOptions: S
11510
- } = e, q = b === "loading", H = b === "loadingMore", z = b === "error", E = !b || b === "idle";
11549
+ } = e, q = b === "loading", H = b === "loadingMore", z = b === "error", I = !b || b === "idle";
11511
11550
  return m(t.Provider, {
11512
11551
  onOpen: C
11513
11552
  }, {
@@ -11539,7 +11578,7 @@ const lP = {
11539
11578
  }, {
11540
11579
  Combobox: t
11541
11580
  }), k, _ && n && m(n, {
11542
- callback: E ? _ : void 0,
11581
+ callback: I ? _ : void 0,
11543
11582
  options: S
11544
11583
  }, null), H && m(t.OptionSkeleton, {
11545
11584
  count: 1
@@ -11555,8 +11594,8 @@ const lP = {
11555
11594
  });
11556
11595
  };
11557
11596
  ns.displayName = Rd;
11558
- ns.className = cP;
11559
- const uP = {
11597
+ ns.className = pP;
11598
+ const gP = {
11560
11599
  /**
11561
11600
  * Selection change. Payload type depends on `selectionType`:
11562
11601
  * - `'single'` → `O | undefined` (option on select, `undefined` on clear).
@@ -11581,7 +11620,7 @@ const uP = {
11581
11620
  clear: (e) => !0,
11582
11621
  /** Dropdown opened or closed. */
11583
11622
  open: (e) => !0
11584
- }, dP = /* @__PURE__ */ I((e, {
11623
+ }, vP = /* @__PURE__ */ E((e, {
11585
11624
  emit: t,
11586
11625
  slots: n,
11587
11626
  attrs: a
@@ -11607,7 +11646,7 @@ const uP = {
11607
11646
  l.value = !1, c.value = "", t("search", ""), t("blur", C);
11608
11647
  }, y = $d(n.option), N = Ld(n.sectionTitle), O = se("onLoadMore") || se("onLoad-more"), T = () => t("load-more");
11609
11648
  return () => {
11610
- const C = !o.value && !s.value && (e.hasClearButton ?? !0) && e.value !== void 0 && e.value !== null, x = e.selectionType === "multiple" ? m(By, {
11649
+ const C = !o.value && !s.value && (e.hasClearButton ?? !0) && e.value !== void 0 && e.value !== null, x = e.selectionType === "multiple" ? m(Vy, {
11611
11650
  value: e.value,
11612
11651
  theme: e.theme,
11613
11652
  getOptionId: e.getOptionId,
@@ -11693,9 +11732,9 @@ const uP = {
11693
11732
  name: M(Rd),
11694
11733
  inheritAttrs: !1,
11695
11734
  props: L()("options", "getOptionId", "getOptionName", "getOptionDescription", "getSectionId", "selectionType", "value", "filter", "searchInputValue", "hasClearButton", "listStatus", "label", "placeholder", "icon", "isDisabled", "aria-disabled", "isRequired", "hasError", "error", "helper", "id", "name", "isValid", "maxLength", "ariaLabel", "inputProps", "popoverProps", "translations", "beforeOptions", "openOnFocus", "class", "theme"),
11696
- emits: uP
11697
- }), fP = _t, RC = ed, DC = Gu, BC = Ku, FC = Zu, Dd = "TimePickerField", Bd = "lumx-time-picker-field", {
11698
- block: hP
11735
+ emits: gP
11736
+ }), bP = _t, zC = ed, VC = Gu, WC = Ku, UC = Zu, Dd = "TimePickerField", Bd = "lumx-time-picker-field", {
11737
+ block: yP
11699
11738
  } = F(Bd), dc = {
11700
11739
  step: 30,
11701
11740
  boundsMode: "on-blur"
@@ -11714,7 +11753,7 @@ const uP = {
11714
11753
  ...u
11715
11754
  } = e;
11716
11755
  return m(t, A(u, {
11717
- className: hP([r]),
11756
+ className: yP([r]),
11718
11757
  selectionType: "single",
11719
11758
  options: a,
11720
11759
  getOptionId: "name",
@@ -11753,22 +11792,22 @@ function Kt({ hour: e, minute: t }, n) {
11753
11792
  function tn(e) {
11754
11793
  return e.getHours() * 60 + e.getMinutes();
11755
11794
  }
11756
- const gr = 60, mP = 24 * gr;
11757
- function pP(e = {}) {
11795
+ const gr = 60, NP = 24 * gr;
11796
+ function AP(e = {}) {
11758
11797
  const { step: t = 30, minTime: n, maxTime: a, locale: o } = e;
11759
11798
  if (!Number.isInteger(t) || t <= 0)
11760
11799
  return [];
11761
11800
  const r = n ? tn(n) : void 0, s = a ? tn(a) : void 0, i = [];
11762
- for (let l = 0; l < mP; l += t) {
11801
+ for (let l = 0; l < NP; l += t) {
11763
11802
  const c = Math.floor(l / gr), u = l % gr, d = r !== void 0 && l < r || s !== void 0 && l > s || void 0, f = o ? pr(Kt({ hour: c, minute: u }), o) : void 0;
11764
11803
  i.push({ hour: c, minute: u, name: f, outOfRange: d });
11765
11804
  }
11766
11805
  return i;
11767
11806
  }
11768
- const gP = /^T?(\d{1,2})(?:[:.h]?([0-5]\d)(?:[:.]?[0-5]\d)?)?\s*(a\.?m?\.?|p\.?m?\.?)?Z?$/i;
11769
- function vP(e) {
11807
+ const OP = /^T?(\d{1,2})(?:[:.h]?([0-5]\d)(?:[:.]?[0-5]\d)?)?\s*(a\.?m?\.?|p\.?m?\.?)?Z?$/i;
11808
+ function PP(e) {
11770
11809
  if (typeof e != "string") return;
11771
- const t = e.trim().match(gP);
11810
+ const t = e.trim().match(OP);
11772
11811
  if (!t) return;
11773
11812
  const [, n, a, o] = t;
11774
11813
  let r = Number(n);
@@ -11785,10 +11824,10 @@ function fc(e, t, n) {
11785
11824
  const a = e.hour * 60 + e.minute;
11786
11825
  return t && a < tn(t) ? { hour: t.getHours(), minute: t.getMinutes() } : n && a > tn(n) ? { hour: n.getHours(), minute: n.getMinutes() } : e;
11787
11826
  }
11788
- function bP(e, t) {
11827
+ function CP(e, t) {
11789
11828
  return e.getHours() === t.hour && e.getMinutes() === t.minute;
11790
11829
  }
11791
- const yP = () => navigator.languages?.[0] || navigator.language, NP = {
11830
+ const SP = () => navigator.languages?.[0] || navigator.language, wP = {
11792
11831
  /**
11793
11832
  * Selection change. Payload is the new `Date` whose date part is inherited
11794
11833
  * from the previous `value` (or today, if none) and whose time-of-day
@@ -11796,10 +11835,10 @@ const yP = () => navigator.languages?.[0] || navigator.language, NP = {
11796
11835
  */
11797
11836
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
11798
11837
  change: (e) => !0
11799
- }, qC = /* @__PURE__ */ I((e, {
11838
+ }, GC = /* @__PURE__ */ E((e, {
11800
11839
  emit: t
11801
11840
  }) => {
11802
- const n = R(() => e.class), a = w(() => e.locale ?? yP()), o = w(() => e.step ?? dc.step), r = w(() => e.boundsMode ?? dc.boundsMode), s = w(() => pP({
11841
+ const n = R(() => e.class), a = w(() => e.locale ?? SP()), o = w(() => e.step ?? dc.step), r = w(() => e.boundsMode ?? dc.boundsMode), s = w(() => AP({
11803
11842
  step: o.value,
11804
11843
  minTime: e.minTime,
11805
11844
  maxTime: e.maxTime,
@@ -11833,10 +11872,10 @@ const yP = () => navigator.languages?.[0] || navigator.language, NP = {
11833
11872
  }, d = () => {
11834
11873
  const f = i.value;
11835
11874
  if (i.value = "", !f) return;
11836
- const h = vP(f);
11875
+ const h = PP(f);
11837
11876
  if (!h) return;
11838
11877
  const g = fc(h, e.minTime, e.maxTime);
11839
- e.value && bP(e.value, g) || t("change", Kt(g, e.value));
11878
+ e.value && CP(e.value, g) || t("change", Kt(g, e.value));
11840
11879
  };
11841
11880
  return () => {
11842
11881
  const f = e.value ? pr(e.value, a.value) : void 0, {
@@ -11862,8 +11901,8 @@ const yP = () => navigator.languages?.[0] || navigator.language, NP = {
11862
11901
  searchInputValue: f,
11863
11902
  getOptionProps: O
11864
11903
  }, {
11865
- SelectTextField: dP,
11866
- Option: fP
11904
+ SelectTextField: vP,
11905
+ Option: bP
11867
11906
  });
11868
11907
  };
11869
11908
  }, {
@@ -11897,98 +11936,99 @@ const yP = () => navigator.languages?.[0] || navigator.language, NP = {
11897
11936
  "theme",
11898
11937
  "hasClearButton"
11899
11938
  ),
11900
- emits: NP
11939
+ emits: wP
11901
11940
  });
11902
11941
  export {
11903
- zP as AlertDialog,
11942
+ YP as AlertDialog,
11904
11943
  Lm as Avatar,
11905
- XP as Badge,
11906
- ZP as BadgeWrapper,
11944
+ nC as Badge,
11945
+ aC as BadgeWrapper,
11907
11946
  Mt as Button,
11908
- UP as ButtonGroup,
11909
- JP as Checkbox,
11947
+ JP as ButtonGroup,
11948
+ oC as Card,
11949
+ rC as Checkbox,
11910
11950
  dr as Chip,
11911
- Ty as ChipGroup,
11951
+ $y as ChipGroup,
11912
11952
  od as Combobox,
11913
11953
  _h as Dialog,
11914
- QP as DialogHeading,
11915
- tC as Divider,
11916
- nC as DragHandle,
11917
- aC as ExpansionPanel,
11918
- oC as Flag,
11954
+ sC as DialogHeading,
11955
+ lC as Divider,
11956
+ cC as DragHandle,
11957
+ uC as ExpansionPanel,
11958
+ dC as Flag,
11919
11959
  On as FlexBox,
11920
11960
  Nb as GenericBlock,
11921
- YP as GenericBlockGapSize,
11922
- rC as GridColumn,
11923
- Hy as Heading,
11961
+ tC as GenericBlockGapSize,
11962
+ fC as GridColumn,
11963
+ Ky as Heading,
11924
11964
  _r as HeadingLevelProvider,
11925
11965
  He as Icon,
11926
11966
  pt as IconButton,
11927
- OC as ImageBlock,
11928
- aO as ImageBlockCaptionPosition,
11929
- PC as InlineList,
11930
- sC as InputHelper,
11931
- iC as InputLabel,
11932
- eC as Lightbox,
11967
+ _C as ImageBlock,
11968
+ cO as ImageBlockCaptionPosition,
11969
+ kC as InlineList,
11970
+ hC as InputHelper,
11971
+ mC as InputLabel,
11972
+ iC as Lightbox,
11933
11973
  Xr as Link,
11934
- lC as LinkPreview,
11935
- GP as List,
11974
+ pC as LinkPreview,
11975
+ QP as List,
11936
11976
  Zu as ListDivider,
11937
- KP as ListItem,
11977
+ eC as ListItem,
11938
11978
  ob as ListItemAction,
11939
11979
  cb as ListSection,
11940
- uC as MenuButton,
11980
+ vC as MenuButton,
11941
11981
  Zu as MenuDivider,
11942
- cC as MenuItem,
11943
- dC as Message,
11944
- fC as Mosaic,
11982
+ gC as MenuItem,
11983
+ bC as Message,
11984
+ yC as Mosaic,
11945
11985
  dv as Placement,
11946
11986
  An as Popover,
11947
- hC as PopoverDialog,
11987
+ NC as PopoverDialog,
11948
11988
  Xf as ProgressCircular,
11949
- mC as ProgressLinear,
11950
- pC as RadioButton,
11951
- gC as RadioGroup,
11989
+ AC as ProgressLinear,
11990
+ OC as RadioButton,
11991
+ PC as RadioGroup,
11952
11992
  vg as RawInputText,
11953
11993
  Og as RawInputTextarea,
11954
- $C as SelectButton,
11955
- LC as SelectButtonOption,
11956
- dP as SelectTextField,
11957
- FC as SelectTextFieldDivider,
11958
- fP as SelectTextFieldOption,
11959
- DC as SelectTextFieldOptionMoreInfo,
11960
- BC as SelectTextFieldOptionSkeleton,
11961
- RC as SelectTextFieldSection,
11962
- By as SelectionChipGroup,
11963
- vC as SkeletonCircle,
11964
- bC as SkeletonRectangle,
11965
- FA as SkeletonRectangleVariant,
11966
- yC as SkeletonTypography,
11967
- NC as Switch,
11968
- _C as Tab,
11969
- kC as TabList,
11970
- FO as TabListLayout,
11971
- EC as TabPanel,
11972
- IC as TabProvider,
11973
- CC as Table,
11974
- SC as TableBody,
11975
- wC as TableCell,
11994
+ jC as SelectButton,
11995
+ HC as SelectButtonOption,
11996
+ vP as SelectTextField,
11997
+ UC as SelectTextFieldDivider,
11998
+ bP as SelectTextFieldOption,
11999
+ VC as SelectTextFieldOptionMoreInfo,
12000
+ WC as SelectTextFieldOptionSkeleton,
12001
+ zC as SelectTextFieldSection,
12002
+ Vy as SelectionChipGroup,
12003
+ CC as SkeletonCircle,
12004
+ SC as SkeletonRectangle,
12005
+ WA as SkeletonRectangleVariant,
12006
+ wC as SkeletonTypography,
12007
+ xC as Switch,
12008
+ RC as Tab,
12009
+ DC as TabList,
12010
+ WO as TabListLayout,
12011
+ BC as TabPanel,
12012
+ FC as TabProvider,
12013
+ EC as Table,
12014
+ IC as TableBody,
12015
+ MC as TableCell,
11976
12016
  hr as TableCellVariant,
11977
- xC as TableHeader,
11978
- TC as TableRow,
12017
+ $C as TableHeader,
12018
+ LC as TableRow,
11979
12019
  pe as Text,
11980
12020
  $g as TextField,
11981
12021
  Wt as ThOrder,
11982
12022
  mn as Thumbnail,
11983
- WP as ThumbnailObjectFit,
11984
- VP as ThumbnailVariant,
11985
- qC as TimePickerField,
12023
+ ZP as ThumbnailObjectFit,
12024
+ XP as ThumbnailVariant,
12025
+ GC as TimePickerField,
11986
12026
  ym as Toolbar,
11987
12027
  yn as Tooltip,
11988
- AC as Uploader,
12028
+ TC as Uploader,
11989
12029
  Sd as UploaderVariant,
11990
- MC as UserBlock,
11991
- NO as emitSchema,
12030
+ qC as UserBlock,
12031
+ wO as emitSchema,
11992
12032
  $c as useHeadingLevel
11993
12033
  };
11994
12034
  //# sourceMappingURL=index.js.map