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