@lumx/vue 4.3.2-alpha.36 → 4.3.2-alpha.37

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,20 +1,20 @@
1
- import { ColorVariant as $a, Theme as Ta, AspectRatio as Ca, Size as _a } from "@lumx/core/js/constants";
1
+ import { ColorVariant as Ca, Theme as _a, AspectRatio as xa, Size as Ea } 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 l, mergeProps as h, defineComponent as y, useAttrs as P, isVNode as ee, inject as It, computed as $, unref as kt, provide as Kr, getCurrentScope as xa, onScopeDispose as Ea, watch as V, toValue as Lt, shallowRef as wa, getCurrentInstance as Yr, onMounted as Ia, ref as ie, useSlots as Ot, Fragment as U, useTemplateRef as La, toRefs as Oa, reactive as Ba, createTextVNode as pe, onBeforeUnmount as Ra, nextTick as ja, toRef as X } from "vue";
5
- import { getDisabledState as Ma } from "@lumx/core/js/utils/disabledState";
6
- import { mdiAlertCircle as Jr } from "@lumx/icons/esm/alert-circle.js";
7
- import { classNames as Z } from "@lumx/core/js/utils";
8
- import { mdiCheck as qa } from "@lumx/icons/esm/check.js";
9
- import { mdiMinus as Da } from "@lumx/icons/esm/minus.js";
10
- import { mdiAlert as Fa } from "@lumx/icons/esm/alert.js";
11
- import { mdiCheckCircle as za } from "@lumx/icons/esm/check-circle.js";
12
- import { mdiClose as Ga } from "@lumx/icons/esm/close.js";
13
- import { mdiInformation as Ua } from "@lumx/icons/esm/information.js";
14
- import { mdiArrowDown as Ha } from "@lumx/icons/esm/arrow-down.js";
15
- import { mdiArrowUp as Va } from "@lumx/icons/esm/arrow-up.js";
16
- import { mdiImageBroken as Wa } from "@lumx/icons/esm/image-broken.js";
17
- const ve = {
4
+ import { createVNode as l, mergeProps as h, defineComponent as y, useAttrs as S, isVNode as Z, inject as Ot, computed as $, unref as Tt, provide as Jr, getCurrentScope as wa, onScopeDispose as Ia, watch as V, toValue as Bt, shallowRef as La, getCurrentInstance as Xr, onMounted as Oa, ref as se, useSlots as Rt, Fragment as U, useTemplateRef as Ba, toRefs as Ra, reactive as ja, createTextVNode as ge, onBeforeUnmount as Ma, nextTick as qa, toRef as J } from "vue";
5
+ import { getDisabledState as Da } from "@lumx/core/js/utils/disabledState";
6
+ import { mdiAlertCircle as Qr } from "@lumx/icons/esm/alert-circle.js";
7
+ import { classNames as Q } from "@lumx/core/js/utils";
8
+ import { mdiCheck as Fa } from "@lumx/icons/esm/check.js";
9
+ import { mdiMinus as za } from "@lumx/icons/esm/minus.js";
10
+ import { mdiAlert as Ga } from "@lumx/icons/esm/alert.js";
11
+ import { mdiCheckCircle as Ua } from "@lumx/icons/esm/check-circle.js";
12
+ import { mdiClose as Ha } from "@lumx/icons/esm/close.js";
13
+ import { mdiInformation as Va } from "@lumx/icons/esm/information.js";
14
+ import { mdiArrowDown as Wa } from "@lumx/icons/esm/arrow-down.js";
15
+ import { mdiArrowUp as Ka } from "@lumx/icons/esm/arrow-up.js";
16
+ import { mdiImageBroken as Ya } from "@lumx/icons/esm/image-broken.js";
17
+ const Ne = {
18
18
  light: "light",
19
19
  dark: "dark"
20
20
  }, w = {
@@ -24,12 +24,12 @@ const ve = {
24
24
  m: "m",
25
25
  xl: "xl",
26
26
  xxl: "xxl"
27
- }, Ka = {
27
+ }, Ja = {
28
28
  horizontal: "horizontal"
29
29
  }, H = {
30
30
  low: "low",
31
31
  high: "high"
32
- }, Ya = {
32
+ }, Xa = {
33
33
  overline: "overline",
34
34
  caption: "caption",
35
35
  body1: "body1",
@@ -39,9 +39,9 @@ const ve = {
39
39
  title: "title",
40
40
  headline: "headline",
41
41
  display1: "display1"
42
- }, Q = {
43
- ...Ya
44
- }, Xr = {
42
+ }, X = {
43
+ ...Xa
44
+ }, Zr = {
45
45
  /** Intrinsic content ratio. */
46
46
  original: "original"
47
47
  }, D = {
@@ -58,14 +58,14 @@ const ve = {
58
58
  red: "red",
59
59
  light: "light"
60
60
  };
61
- var be = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
62
- function Ae(e) {
61
+ var ve = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
62
+ function Pe(e) {
63
63
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
64
64
  }
65
- var Ee = { exports: {} };
66
- var Ht;
67
- function Ja() {
68
- return Ht || (Ht = 1, (function(e) {
65
+ var Ie = { exports: {} };
66
+ var Wt;
67
+ function Qa() {
68
+ return Wt || (Wt = 1, (function(e) {
69
69
  (function() {
70
70
  var t = {}.hasOwnProperty;
71
71
  function r() {
@@ -94,30 +94,30 @@ function Ja() {
94
94
  }
95
95
  e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
96
96
  })();
97
- })(Ee)), Ee.exports;
97
+ })(Ie)), Ie.exports;
98
98
  }
99
- var Xa = Ja();
100
- const N = /* @__PURE__ */ Ae(Xa);
101
- function Bt(e, t) {
99
+ var Za = Qa();
100
+ const N = /* @__PURE__ */ Pe(Za);
101
+ function jt(e, t) {
102
102
  if (!e) return [void 0, t];
103
103
  const [r, a] = e.split("-");
104
104
  return [r, t || a];
105
105
  }
106
- function Qa(e, t, r) {
107
- const [a, n = $a.N] = Bt(t, r);
106
+ function en(e, t, r) {
107
+ const [a, n = Ca.N] = jt(t, r);
108
108
  return `lumx-color-${e}-${a}-${n}`;
109
109
  }
110
- const Za = (e, t) => Qa("font", e, t);
111
- function Rt(e) {
110
+ const tn = (e, t) => en("font", e, t);
111
+ function Mt(e) {
112
112
  return `lumx-typography-${e}`;
113
113
  }
114
- function Qr(e, t) {
114
+ function ea(e, t) {
115
115
  const r = [];
116
116
  for (const [a, n] of Object.entries(t))
117
117
  n && r.push(`${e}--${a}`);
118
118
  return r.join(" ");
119
119
  }
120
- function ye(e, t, r) {
120
+ function Ae(e, t, r) {
121
121
  let a, n;
122
122
  return Array.isArray(t) ? n = t : (a = t, n = r), !a && !n ? e : N(
123
123
  // Additional classes
@@ -125,56 +125,56 @@ function ye(e, t, r) {
125
125
  // Base class
126
126
  e,
127
127
  // Modifier(s)
128
- a ? Qr(e, a) : null
128
+ a ? ea(e, a) : null
129
129
  );
130
130
  }
131
- function Vt(e, t, r, a) {
132
- return Array.isArray(r) ? ye(`${e}__${t}`, r) : ye(`${e}__${t}`, r, a);
131
+ function Kt(e, t, r, a) {
132
+ return Array.isArray(r) ? Ae(`${e}__${t}`, r) : Ae(`${e}__${t}`, r, a);
133
133
  }
134
134
  function T(e) {
135
135
  function t(a, n) {
136
- return Array.isArray(a) ? ye(e, a) : ye(e, a, n);
136
+ return Array.isArray(a) ? Ae(e, a) : Ae(e, a, n);
137
137
  }
138
138
  function r(a, n, s) {
139
- return Array.isArray(n) ? Vt(e, a, n) : Vt(e, a, n, s);
139
+ return Array.isArray(n) ? Kt(e, a, n) : Kt(e, a, n, s);
140
140
  }
141
141
  return {
142
142
  block: t,
143
143
  element: r,
144
- modifier: (a) => Qr(e, a)
144
+ modifier: (a) => ea(e, a)
145
145
  };
146
146
  }
147
- const en = "Badge", Zr = "lumx-badge", {
148
- block: tn
149
- } = T(Zr), ea = {
147
+ const rn = "Badge", ta = "lumx-badge", {
148
+ block: an
149
+ } = T(ta), ra = {
150
150
  color: E.primary
151
- }, Se = (e) => {
151
+ }, ke = (e) => {
152
152
  const {
153
153
  children: t,
154
154
  className: r,
155
- color: a = ea.color,
155
+ color: a = ra.color,
156
156
  ref: n,
157
157
  ...s
158
158
  } = e;
159
159
  return l("div", h({
160
160
  ref: n
161
161
  }, s, {
162
- className: N(r, tn({
162
+ className: N(r, an({
163
163
  [`color-${a}`]: !!a
164
164
  }))
165
165
  }), [t]);
166
166
  };
167
- Se.displayName = en;
168
- Se.className = Zr;
169
- Se.defaultProps = ea;
167
+ ke.displayName = rn;
168
+ ke.className = ta;
169
+ ke.defaultProps = ra;
170
170
  const A = () => (...e) => e.reduce(
171
171
  (t, r) => (t[r] = { required: !1 }, t),
172
172
  {}
173
- ), Si = /* @__PURE__ */ y((e, {
173
+ ), ki = /* @__PURE__ */ y((e, {
174
174
  slots: t
175
175
  }) => {
176
- const r = P();
177
- return () => l(Se, h(e, r, {
176
+ const r = S();
177
+ return () => l(ke, h(e, r, {
178
178
  className: e.class,
179
179
  children: t.default?.()
180
180
  }), null);
@@ -183,10 +183,10 @@ const A = () => (...e) => e.reduce(
183
183
  inheritAttrs: !1,
184
184
  // Redefine properties so that they come in as `props` on the `defineComponent` function
185
185
  props: A()("color", "class")
186
- }), rn = "lumx-badge-wrapper", {
187
- block: an,
188
- element: nn
189
- } = T(rn), sn = (e) => {
186
+ }), nn = "lumx-badge-wrapper", {
187
+ block: sn,
188
+ element: on
189
+ } = T(nn), ln = (e) => {
190
190
  const {
191
191
  badge: t,
192
192
  children: r,
@@ -197,15 +197,15 @@ const A = () => (...e) => e.reduce(
197
197
  return l("div", h({
198
198
  ref: n
199
199
  }, s, {
200
- className: N(a, an())
200
+ className: N(a, sn())
201
201
  }), [r, t && l("div", {
202
- className: nn("badge")
202
+ className: on("badge")
203
203
  }, [t])]);
204
- }, Pi = /* @__PURE__ */ y((e, {
204
+ }, $i = /* @__PURE__ */ y((e, {
205
205
  slots: t
206
206
  }) => {
207
- const r = P();
208
- return () => l(sn, h(e, r, {
207
+ const r = S();
208
+ return () => l(ln, h(e, r, {
209
209
  className: e.class,
210
210
  badge: e.badge || t.badge?.(),
211
211
  children: t.default?.()
@@ -215,40 +215,40 @@ const A = () => (...e) => e.reduce(
215
215
  inheritAttrs: !1,
216
216
  props: A()("badge", "class")
217
217
  });
218
- var we, Wt;
219
- function ta() {
220
- if (Wt) return we;
221
- Wt = 1;
218
+ var Le, Yt;
219
+ function aa() {
220
+ if (Yt) return Le;
221
+ Yt = 1;
222
222
  var e = Object.prototype;
223
223
  function t(r) {
224
224
  var a = r && r.constructor, n = typeof a == "function" && a.prototype || e;
225
225
  return r === n;
226
226
  }
227
- return we = t, we;
227
+ return Le = t, Le;
228
228
  }
229
- var Ie, Kt;
230
- function on() {
231
- if (Kt) return Ie;
232
- Kt = 1;
229
+ var Oe, Jt;
230
+ function cn() {
231
+ if (Jt) return Oe;
232
+ Jt = 1;
233
233
  function e(t, r) {
234
234
  return function(a) {
235
235
  return t(r(a));
236
236
  };
237
237
  }
238
- return Ie = e, Ie;
238
+ return Oe = e, Oe;
239
239
  }
240
- var Le, Yt;
241
- function ln() {
242
- if (Yt) return Le;
243
- Yt = 1;
244
- var e = on(), t = e(Object.keys, Object);
245
- return Le = t, Le;
240
+ var Be, Xt;
241
+ function un() {
242
+ if (Xt) return Be;
243
+ Xt = 1;
244
+ var e = cn(), t = e(Object.keys, Object);
245
+ return Be = t, Be;
246
246
  }
247
- var Oe, Jt;
248
- function cn() {
249
- if (Jt) return Oe;
250
- Jt = 1;
251
- var e = ta(), t = ln(), r = Object.prototype, a = r.hasOwnProperty;
247
+ var Re, Qt;
248
+ function dn() {
249
+ if (Qt) return Re;
250
+ Qt = 1;
251
+ var e = aa(), t = un(), r = Object.prototype, a = r.hasOwnProperty;
252
252
  function n(s) {
253
253
  if (!e(s))
254
254
  return t(s);
@@ -257,34 +257,34 @@ function cn() {
257
257
  a.call(s, i) && i != "constructor" && o.push(i);
258
258
  return o;
259
259
  }
260
- return Oe = n, Oe;
261
- }
262
- var Be, Xt;
263
- function ra() {
264
- if (Xt) return Be;
265
- Xt = 1;
266
- var e = typeof be == "object" && be && be.Object === Object && be;
267
- return Be = e, Be;
268
- }
269
- var Re, Qt;
270
- function F() {
271
- if (Qt) return Re;
272
- Qt = 1;
273
- var e = ra(), t = typeof self == "object" && self && self.Object === Object && self, r = e || t || Function("return this")();
274
- return Re = r, Re;
260
+ return Re = n, Re;
275
261
  }
276
262
  var je, Zt;
277
- function aa() {
263
+ function na() {
278
264
  if (Zt) return je;
279
265
  Zt = 1;
280
- var e = F(), t = e.Symbol;
281
- return je = t, je;
266
+ var e = typeof ve == "object" && ve && ve.Object === Object && ve;
267
+ return je = e, je;
282
268
  }
283
269
  var Me, er;
284
- function un() {
270
+ function F() {
285
271
  if (er) return Me;
286
272
  er = 1;
287
- var e = aa(), t = Object.prototype, r = t.hasOwnProperty, a = t.toString, n = e ? e.toStringTag : void 0;
273
+ var e = na(), t = typeof self == "object" && self && self.Object === Object && self, r = e || t || Function("return this")();
274
+ return Me = r, Me;
275
+ }
276
+ var qe, tr;
277
+ function sa() {
278
+ if (tr) return qe;
279
+ tr = 1;
280
+ var e = F(), t = e.Symbol;
281
+ return qe = t, qe;
282
+ }
283
+ var De, rr;
284
+ function fn() {
285
+ if (rr) return De;
286
+ rr = 1;
287
+ var e = sa(), t = Object.prototype, r = t.hasOwnProperty, a = t.toString, n = e ? e.toStringTag : void 0;
288
288
  function s(o) {
289
289
  var i = r.call(o, n), u = o[n];
290
290
  try {
@@ -295,75 +295,75 @@ function un() {
295
295
  var d = a.call(o);
296
296
  return c && (i ? o[n] = u : delete o[n]), d;
297
297
  }
298
- return Me = s, Me;
298
+ return De = s, De;
299
299
  }
300
- var qe, tr;
301
- function dn() {
302
- if (tr) return qe;
303
- tr = 1;
300
+ var Fe, ar;
301
+ function mn() {
302
+ if (ar) return Fe;
303
+ ar = 1;
304
304
  var e = Object.prototype, t = e.toString;
305
305
  function r(a) {
306
306
  return t.call(a);
307
307
  }
308
- return qe = r, qe;
308
+ return Fe = r, Fe;
309
309
  }
310
- var De, rr;
311
- function le() {
312
- if (rr) return De;
313
- rr = 1;
314
- var e = aa(), t = un(), r = dn(), a = "[object Null]", n = "[object Undefined]", s = e ? e.toStringTag : void 0;
310
+ var ze, nr;
311
+ function oe() {
312
+ if (nr) return ze;
313
+ nr = 1;
314
+ var e = sa(), t = fn(), r = mn(), a = "[object Null]", n = "[object Undefined]", s = e ? e.toStringTag : void 0;
315
315
  function o(i) {
316
316
  return i == null ? i === void 0 ? n : a : s && s in Object(i) ? t(i) : r(i);
317
317
  }
318
- return De = o, De;
318
+ return ze = o, ze;
319
319
  }
320
- var Fe, ar;
321
- function jt() {
322
- if (ar) return Fe;
323
- ar = 1;
320
+ var Ge, sr;
321
+ function qt() {
322
+ if (sr) return Ge;
323
+ sr = 1;
324
324
  function e(t) {
325
325
  var r = typeof t;
326
326
  return t != null && (r == "object" || r == "function");
327
327
  }
328
- return Fe = e, Fe;
328
+ return Ge = e, Ge;
329
329
  }
330
- var ze, nr;
331
- function na() {
332
- if (nr) return ze;
333
- nr = 1;
334
- var e = le(), t = jt(), r = "[object AsyncFunction]", a = "[object Function]", n = "[object GeneratorFunction]", s = "[object Proxy]";
330
+ var Ue, or;
331
+ function oa() {
332
+ if (or) return Ue;
333
+ or = 1;
334
+ var e = oe(), t = qt(), r = "[object AsyncFunction]", a = "[object Function]", n = "[object GeneratorFunction]", s = "[object Proxy]";
335
335
  function o(i) {
336
336
  if (!t(i))
337
337
  return !1;
338
338
  var u = e(i);
339
339
  return u == a || u == n || u == r || u == s;
340
340
  }
341
- return ze = o, ze;
341
+ return Ue = o, Ue;
342
342
  }
343
- var Ge, sr;
344
- function fn() {
345
- if (sr) return Ge;
346
- sr = 1;
343
+ var He, ir;
344
+ function hn() {
345
+ if (ir) return He;
346
+ ir = 1;
347
347
  var e = F(), t = e["__core-js_shared__"];
348
- return Ge = t, Ge;
348
+ return He = t, He;
349
349
  }
350
- var Ue, or;
351
- function mn() {
352
- if (or) return Ue;
353
- or = 1;
354
- var e = fn(), t = (function() {
350
+ var Ve, lr;
351
+ function pn() {
352
+ if (lr) return Ve;
353
+ lr = 1;
354
+ var e = hn(), t = (function() {
355
355
  var a = /[^.]+$/.exec(e && e.keys && e.keys.IE_PROTO || "");
356
356
  return a ? "Symbol(src)_1." + a : "";
357
357
  })();
358
358
  function r(a) {
359
359
  return !!t && t in a;
360
360
  }
361
- return Ue = r, Ue;
361
+ return Ve = r, Ve;
362
362
  }
363
- var He, ir;
364
- function sa() {
365
- if (ir) return He;
366
- ir = 1;
363
+ var We, cr;
364
+ function ia() {
365
+ if (cr) return We;
366
+ cr = 1;
367
367
  var e = Function.prototype, t = e.toString;
368
368
  function r(a) {
369
369
  if (a != null) {
@@ -378,13 +378,13 @@ function sa() {
378
378
  }
379
379
  return "";
380
380
  }
381
- return He = r, He;
381
+ return We = r, We;
382
382
  }
383
- var Ve, lr;
384
- function hn() {
385
- if (lr) return Ve;
386
- lr = 1;
387
- var e = na(), t = mn(), r = jt(), a = sa(), n = /[\\^$.*+?()[\]{}|]/g, s = /^\[object .+?Constructor\]$/, o = Function.prototype, i = Object.prototype, u = o.toString, c = i.hasOwnProperty, d = RegExp(
383
+ var Ke, ur;
384
+ function bn() {
385
+ if (ur) return Ke;
386
+ ur = 1;
387
+ var e = oa(), t = pn(), r = qt(), a = ia(), n = /[\\^$.*+?()[\]{}|]/g, s = /^\[object .+?Constructor\]$/, o = Function.prototype, i = Object.prototype, u = o.toString, c = i.hasOwnProperty, d = RegExp(
388
388
  "^" + u.call(c).replace(n, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
389
389
  );
390
390
  function f(m) {
@@ -393,68 +393,68 @@ function hn() {
393
393
  var p = e(m) ? d : s;
394
394
  return p.test(a(m));
395
395
  }
396
- return Ve = f, Ve;
396
+ return Ke = f, Ke;
397
397
  }
398
- var We, cr;
399
- function pn() {
400
- if (cr) return We;
401
- cr = 1;
398
+ var Ye, dr;
399
+ function gn() {
400
+ if (dr) return Ye;
401
+ dr = 1;
402
402
  function e(t, r) {
403
403
  return t?.[r];
404
404
  }
405
- return We = e, We;
405
+ return Ye = e, Ye;
406
406
  }
407
- var Ke, ur;
408
- function ce() {
409
- if (ur) return Ke;
410
- ur = 1;
411
- var e = hn(), t = pn();
407
+ var Je, fr;
408
+ function ie() {
409
+ if (fr) return Je;
410
+ fr = 1;
411
+ var e = bn(), t = gn();
412
412
  function r(a, n) {
413
413
  var s = t(a, n);
414
414
  return e(s) ? s : void 0;
415
415
  }
416
- return Ke = r, Ke;
417
- }
418
- var Ye, dr;
419
- function bn() {
420
- if (dr) return Ye;
421
- dr = 1;
422
- var e = ce(), t = F(), r = e(t, "DataView");
423
- return Ye = r, Ye;
424
- }
425
- var Je, fr;
426
- function gn() {
427
- if (fr) return Je;
428
- fr = 1;
429
- var e = ce(), t = F(), r = e(t, "Map");
430
416
  return Je = r, Je;
431
417
  }
432
418
  var Xe, mr;
433
419
  function vn() {
434
420
  if (mr) return Xe;
435
421
  mr = 1;
436
- var e = ce(), t = F(), r = e(t, "Promise");
422
+ var e = ie(), t = F(), r = e(t, "DataView");
437
423
  return Xe = r, Xe;
438
424
  }
439
425
  var Qe, hr;
440
426
  function yn() {
441
427
  if (hr) return Qe;
442
428
  hr = 1;
443
- var e = ce(), t = F(), r = e(t, "Set");
429
+ var e = ie(), t = F(), r = e(t, "Map");
444
430
  return Qe = r, Qe;
445
431
  }
446
432
  var Ze, pr;
447
433
  function Nn() {
448
434
  if (pr) return Ze;
449
435
  pr = 1;
450
- var e = ce(), t = F(), r = e(t, "WeakMap");
436
+ var e = ie(), t = F(), r = e(t, "Promise");
451
437
  return Ze = r, Ze;
452
438
  }
453
439
  var et, br;
454
440
  function An() {
455
441
  if (br) return et;
456
442
  br = 1;
457
- var e = bn(), t = gn(), r = vn(), a = yn(), n = Nn(), s = le(), o = sa(), i = "[object Map]", u = "[object Object]", c = "[object Promise]", d = "[object Set]", f = "[object WeakMap]", m = "[object DataView]", p = o(e), g = o(t), b = o(r), v = o(a), C = o(n), k = s;
443
+ var e = ie(), t = F(), r = e(t, "Set");
444
+ return et = r, et;
445
+ }
446
+ var tt, gr;
447
+ function Sn() {
448
+ if (gr) return tt;
449
+ gr = 1;
450
+ var e = ie(), t = F(), r = e(t, "WeakMap");
451
+ return tt = r, tt;
452
+ }
453
+ var rt, vr;
454
+ function Pn() {
455
+ if (vr) return rt;
456
+ vr = 1;
457
+ var e = vn(), t = yn(), r = Nn(), a = An(), n = Sn(), s = oe(), o = ia(), i = "[object Map]", u = "[object Object]", c = "[object Promise]", d = "[object Set]", f = "[object WeakMap]", m = "[object DataView]", p = o(e), g = o(t), b = o(r), v = o(a), C = o(n), k = s;
458
458
  return (e && k(new e(new ArrayBuffer(1))) != m || t && k(new t()) != i || r && k(r.resolve()) != c || a && k(new a()) != d || n && k(new n()) != f) && (k = function(_) {
459
459
  var O = s(_), L = O == u ? _.constructor : void 0, B = L ? o(L) : "";
460
460
  if (B)
@@ -471,110 +471,110 @@ function An() {
471
471
  return f;
472
472
  }
473
473
  return O;
474
- }), et = k, et;
474
+ }), rt = k, rt;
475
475
  }
476
- var tt, gr;
477
- function Pe() {
478
- if (gr) return tt;
479
- gr = 1;
476
+ var at, yr;
477
+ function $e() {
478
+ if (yr) return at;
479
+ yr = 1;
480
480
  function e(t) {
481
481
  return t != null && typeof t == "object";
482
482
  }
483
- return tt = e, tt;
483
+ return at = e, at;
484
484
  }
485
- var rt, vr;
486
- function Sn() {
487
- if (vr) return rt;
488
- vr = 1;
489
- var e = le(), t = Pe(), r = "[object Arguments]";
485
+ var nt, Nr;
486
+ function kn() {
487
+ if (Nr) return nt;
488
+ Nr = 1;
489
+ var e = oe(), t = $e(), r = "[object Arguments]";
490
490
  function a(n) {
491
491
  return t(n) && e(n) == r;
492
492
  }
493
- return rt = a, rt;
493
+ return nt = a, nt;
494
494
  }
495
- var at, yr;
496
- function Pn() {
497
- if (yr) return at;
498
- yr = 1;
499
- var e = Sn(), t = Pe(), r = Object.prototype, a = r.hasOwnProperty, n = r.propertyIsEnumerable, s = e(/* @__PURE__ */ (function() {
495
+ var st, Ar;
496
+ function $n() {
497
+ if (Ar) return st;
498
+ Ar = 1;
499
+ var e = kn(), t = $e(), r = Object.prototype, a = r.hasOwnProperty, n = r.propertyIsEnumerable, s = e(/* @__PURE__ */ (function() {
500
500
  return arguments;
501
501
  })()) ? e : function(o) {
502
502
  return t(o) && a.call(o, "callee") && !n.call(o, "callee");
503
503
  };
504
- return at = s, at;
504
+ return st = s, st;
505
505
  }
506
- var nt, Nr;
507
- function oa() {
508
- if (Nr) return nt;
509
- Nr = 1;
506
+ var ot, Sr;
507
+ function la() {
508
+ if (Sr) return ot;
509
+ Sr = 1;
510
510
  var e = Array.isArray;
511
- return nt = e, nt;
511
+ return ot = e, ot;
512
512
  }
513
- var st, Ar;
514
- function ia() {
515
- if (Ar) return st;
516
- Ar = 1;
513
+ var it, Pr;
514
+ function ca() {
515
+ if (Pr) return it;
516
+ Pr = 1;
517
517
  var e = 9007199254740991;
518
518
  function t(r) {
519
519
  return typeof r == "number" && r > -1 && r % 1 == 0 && r <= e;
520
520
  }
521
- return st = t, st;
521
+ return it = t, it;
522
522
  }
523
- var ot, Sr;
524
- function kn() {
525
- if (Sr) return ot;
526
- Sr = 1;
527
- var e = na(), t = ia();
523
+ var lt, kr;
524
+ function Tn() {
525
+ if (kr) return lt;
526
+ kr = 1;
527
+ var e = oa(), t = ca();
528
528
  function r(a) {
529
529
  return a != null && t(a.length) && !e(a);
530
530
  }
531
- return ot = r, ot;
531
+ return lt = r, lt;
532
532
  }
533
- var ne = { exports: {} }, it, Pr;
534
- function $n() {
535
- if (Pr) return it;
536
- Pr = 1;
533
+ var re = { exports: {} }, ct, $r;
534
+ function Cn() {
535
+ if ($r) return ct;
536
+ $r = 1;
537
537
  function e() {
538
538
  return !1;
539
539
  }
540
- return it = e, it;
540
+ return ct = e, ct;
541
541
  }
542
- ne.exports;
543
- var kr;
544
- function Tn() {
545
- return kr || (kr = 1, (function(e, t) {
546
- var r = F(), a = $n(), n = t && !t.nodeType && t, s = n && !0 && e && !e.nodeType && e, o = s && s.exports === n, i = o ? r.Buffer : void 0, u = i ? i.isBuffer : void 0, c = u || a;
542
+ re.exports;
543
+ var Tr;
544
+ function _n() {
545
+ return Tr || (Tr = 1, (function(e, t) {
546
+ var r = F(), a = Cn(), n = t && !t.nodeType && t, s = n && !0 && e && !e.nodeType && e, o = s && s.exports === n, i = o ? r.Buffer : void 0, u = i ? i.isBuffer : void 0, c = u || a;
547
547
  e.exports = c;
548
- })(ne, ne.exports)), ne.exports;
548
+ })(re, re.exports)), re.exports;
549
549
  }
550
- var lt, $r;
551
- function Cn() {
552
- if ($r) return lt;
553
- $r = 1;
554
- var e = le(), t = ia(), r = Pe(), a = "[object Arguments]", n = "[object Array]", s = "[object Boolean]", o = "[object Date]", i = "[object Error]", u = "[object Function]", c = "[object Map]", d = "[object Number]", f = "[object Object]", m = "[object RegExp]", p = "[object Set]", g = "[object String]", b = "[object WeakMap]", v = "[object ArrayBuffer]", C = "[object DataView]", k = "[object Float32Array]", _ = "[object Float64Array]", O = "[object Int8Array]", L = "[object Int16Array]", B = "[object Int32Array]", me = "[object Uint8Array]", Y = "[object Uint8ClampedArray]", he = "[object Uint16Array]", te = "[object Uint32Array]", S = {};
555
- S[k] = S[_] = S[O] = S[L] = S[B] = S[me] = S[Y] = S[he] = S[te] = !0, S[a] = S[n] = S[v] = S[s] = S[C] = S[o] = S[i] = S[u] = S[c] = S[d] = S[f] = S[m] = S[p] = S[g] = S[b] = !1;
556
- function J(R) {
557
- return r(R) && t(R.length) && !!S[e(R)];
550
+ var ut, Cr;
551
+ function xn() {
552
+ if (Cr) return ut;
553
+ Cr = 1;
554
+ var e = oe(), t = ca(), r = $e(), a = "[object Arguments]", n = "[object Array]", s = "[object Boolean]", o = "[object Date]", i = "[object Error]", u = "[object Function]", c = "[object Map]", d = "[object Number]", f = "[object Object]", m = "[object RegExp]", p = "[object Set]", g = "[object String]", b = "[object WeakMap]", v = "[object ArrayBuffer]", C = "[object DataView]", k = "[object Float32Array]", _ = "[object Float64Array]", O = "[object Int8Array]", L = "[object Int16Array]", B = "[object Int32Array]", de = "[object Uint8Array]", Y = "[object Uint8ClampedArray]", fe = "[object Uint16Array]", me = "[object Uint32Array]", P = {};
555
+ P[k] = P[_] = P[O] = P[L] = P[B] = P[de] = P[Y] = P[fe] = P[me] = !0, P[a] = P[n] = P[v] = P[s] = P[C] = P[o] = P[i] = P[u] = P[c] = P[d] = P[f] = P[m] = P[p] = P[g] = P[b] = !1;
556
+ function he(R) {
557
+ return r(R) && t(R.length) && !!P[e(R)];
558
558
  }
559
- return lt = J, lt;
559
+ return ut = he, ut;
560
560
  }
561
- var ct, Tr;
562
- function _n() {
563
- if (Tr) return ct;
564
- Tr = 1;
561
+ var dt, _r;
562
+ function En() {
563
+ if (_r) return dt;
564
+ _r = 1;
565
565
  function e(t) {
566
566
  return function(r) {
567
567
  return t(r);
568
568
  };
569
569
  }
570
- return ct = e, ct;
570
+ return dt = e, dt;
571
571
  }
572
- var se = { exports: {} };
573
- se.exports;
574
- var Cr;
575
- function xn() {
576
- return Cr || (Cr = 1, (function(e, t) {
577
- var r = ra(), a = t && !t.nodeType && t, n = a && !0 && e && !e.nodeType && e, s = n && n.exports === a, o = s && r.process, i = (function() {
572
+ var ae = { exports: {} };
573
+ ae.exports;
574
+ var xr;
575
+ function wn() {
576
+ return xr || (xr = 1, (function(e, t) {
577
+ var r = na(), a = t && !t.nodeType && t, n = a && !0 && e && !e.nodeType && e, s = n && n.exports === a, o = s && r.process, i = (function() {
578
578
  try {
579
579
  var u = n && n.require && n.require("util").types;
580
580
  return u || o && o.binding && o.binding("util");
@@ -582,20 +582,20 @@ function xn() {
582
582
  }
583
583
  })();
584
584
  e.exports = i;
585
- })(se, se.exports)), se.exports;
586
- }
587
- var ut, _r;
588
- function En() {
589
- if (_r) return ut;
590
- _r = 1;
591
- var e = Cn(), t = _n(), r = xn(), a = r && r.isTypedArray, n = a ? t(a) : e;
592
- return ut = n, ut;
593
- }
594
- var dt, xr;
595
- function wn() {
596
- if (xr) return dt;
597
- xr = 1;
598
- var e = cn(), t = An(), r = Pn(), a = oa(), n = kn(), s = Tn(), o = ta(), i = En(), u = "[object Map]", c = "[object Set]", d = Object.prototype, f = d.hasOwnProperty;
585
+ })(ae, ae.exports)), ae.exports;
586
+ }
587
+ var ft, Er;
588
+ function In() {
589
+ if (Er) return ft;
590
+ Er = 1;
591
+ var e = xn(), t = En(), r = wn(), a = r && r.isTypedArray, n = a ? t(a) : e;
592
+ return ft = n, ft;
593
+ }
594
+ var mt, wr;
595
+ function Ln() {
596
+ if (wr) return mt;
597
+ wr = 1;
598
+ var e = dn(), t = Pn(), r = $n(), a = la(), n = Tn(), s = _n(), o = aa(), i = In(), u = "[object Map]", c = "[object Set]", d = Object.prototype, f = d.hasOwnProperty;
599
599
  function m(p) {
600
600
  if (p == null)
601
601
  return !0;
@@ -611,53 +611,55 @@ function wn() {
611
611
  return !1;
612
612
  return !0;
613
613
  }
614
- return dt = m, dt;
614
+ return mt = m, mt;
615
615
  }
616
- var In = wn();
617
- const Er = /* @__PURE__ */ Ae(In);
618
- function Ln(e) {
619
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ee(e);
616
+ var On = Ln();
617
+ const Ir = /* @__PURE__ */ Pe(On);
618
+ function Bn(e) {
619
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Z(e);
620
620
  }
621
- const la = (e) => {
621
+ const ua = (e) => {
622
622
  const {
623
623
  children: t,
624
- onClick: r,
625
- disabled: a,
626
- isDisabled: n = a,
627
- "aria-disabled": s,
628
- as: o,
629
- ...i
630
- } = e, u = n || s === "true" || s === !0, c = o;
631
- let d;
632
- return c === "button" ? d = {
633
- type: i.type || "button",
634
- disabled: n
635
- } : d = {
636
- tabIndex: n ? "-1" : i.tabIndex
637
- }, l(c, h({
638
- "aria-disabled": u || void 0
639
- }, i, d, {
640
- onClick: (f) => {
641
- if (u) {
642
- f.stopPropagation(), f.preventDefault();
624
+ handleClick: r,
625
+ handleKeyPress: a,
626
+ disabled: n,
627
+ isDisabled: s = n,
628
+ "aria-disabled": o,
629
+ as: i,
630
+ ...u
631
+ } = e, c = s || o === "true" || o === !0, d = i;
632
+ let f;
633
+ return d === "button" ? f = {
634
+ type: u.type || "button",
635
+ disabled: s
636
+ } : f = {
637
+ tabIndex: s ? "-1" : u.tabIndex
638
+ }, l(d, h({
639
+ "aria-disabled": c || void 0
640
+ }, u, f, {
641
+ onKeyPress: a,
642
+ onClick: (m) => {
643
+ if (c) {
644
+ m.stopPropagation(), m.preventDefault();
643
645
  return;
644
646
  }
645
- r?.(f);
647
+ r?.(m);
646
648
  }
647
- }), Ln(t) ? t : {
649
+ }), Bn(t) ? t : {
648
650
  default: () => [t]
649
651
  });
650
- }, On = "ButtonRoot", Bn = "lumx-button-wrapper", {
651
- block: Rn
652
- } = T(Bn), jn = "lumx-button", {
652
+ }, Rn = "ButtonRoot", jn = "lumx-button-wrapper", {
653
653
  block: Mn
654
- } = T(jn), qn = (e) => {
654
+ } = T(jn), qn = "lumx-button", {
655
+ block: Dn
656
+ } = T(qn), Fn = (e) => {
655
657
  const {
656
658
  color: t,
657
659
  emphasis: r,
658
660
  variant: a,
659
661
  fullWidth: n
660
- } = e, s = r === H.low && (t === E.light ? E.dark : E.light), o = Rn({
662
+ } = e, s = r === H.low && (t === E.light ? E.dark : E.light), o = Mn({
661
663
  [`color-${s}`]: !!s,
662
664
  [`variant-${a}`]: !!a,
663
665
  "is-full-width": n
@@ -667,8 +669,8 @@ const la = (e) => {
667
669
  };
668
670
  return l("div", {
669
671
  className: o
670
- }, [ue(i)]);
671
- }, ue = (e) => {
672
+ }, [le(i)]);
673
+ }, le = (e) => {
672
674
  const {
673
675
  "aria-label": t,
674
676
  "aria-disabled": r,
@@ -683,20 +685,20 @@ const la = (e) => {
683
685
  isHovered: f,
684
686
  linkAs: m,
685
687
  size: p,
686
- theme: g = ve.light,
688
+ theme: g = Ne.light,
687
689
  variant: b,
688
690
  fullWidth: v,
689
691
  ref: C,
690
692
  ...k
691
- } = e, _ = s || o !== H.high && g === ve.dark && E.light || o === H.high && E.primary || E.dark;
693
+ } = e, _ = s || o !== H.high && g === Ne.dark && E.light || o === H.high && E.primary || E.dark;
692
694
  if (i)
693
- return qn({
695
+ return Fn({
694
696
  ...e,
695
697
  ref: C,
696
698
  variant: b,
697
699
  color: _
698
700
  });
699
- const O = N(n, Mn({
701
+ const O = N(n, Dn({
700
702
  [`color-${_}`]: !!_,
701
703
  [`emphasis-${o}`]: !!o,
702
704
  "is-selected": u,
@@ -709,7 +711,7 @@ const la = (e) => {
709
711
  [`variant-${b}`]: !!b,
710
712
  "is-full-width": v
711
713
  }));
712
- return la({
714
+ return ua({
713
715
  as: m || (k.href ? "a" : "button"),
714
716
  ...k,
715
717
  "aria-disabled": r,
@@ -719,26 +721,26 @@ const la = (e) => {
719
721
  children: a
720
722
  });
721
723
  };
722
- ue.displayName = On;
723
- ue.defaultProps = {};
724
- const Dn = "Button", ca = "lumx-button", {
725
- modifier: Fn
726
- } = T(ca), $t = {
724
+ le.displayName = Rn;
725
+ le.defaultProps = {};
726
+ const zn = "Button", da = "lumx-button", {
727
+ modifier: Gn
728
+ } = T(da), Ct = {
727
729
  emphasis: H.high,
728
730
  size: w.m
729
- }, ke = (e) => {
731
+ }, Te = (e) => {
730
732
  const {
731
733
  className: t,
732
- emphasis: r = $t.emphasis,
734
+ emphasis: r = Ct.emphasis,
733
735
  leftIcon: a,
734
736
  rightIcon: n,
735
- size: s = $t.size,
737
+ size: s = Ct.size,
736
738
  ...o
737
- } = e, i = N(t, Fn({
739
+ } = e, i = N(t, Gn({
738
740
  "has-left-icon": !!a,
739
741
  "has-right-icon": !!n
740
742
  }));
741
- return ue({
743
+ return le({
742
744
  emphasis: r,
743
745
  size: s,
744
746
  ...o,
@@ -746,21 +748,21 @@ const Dn = "Button", ca = "lumx-button", {
746
748
  variant: "button"
747
749
  });
748
750
  };
749
- ke.displayName = Dn;
750
- ke.className = ca;
751
- ke.defaultProps = $t;
752
- function x(e = { defaultTheme: Ta.light }) {
753
- const { defaultTheme: t } = e, r = It("theme", void 0);
754
- return $(() => kt(r) || t);
751
+ Te.displayName = zn;
752
+ Te.className = da;
753
+ Te.defaultProps = Ct;
754
+ function x(e = { defaultTheme: _a.light }) {
755
+ const { defaultTheme: t } = e, r = Ot("theme", void 0);
756
+ return $(() => Tt(r) || t);
755
757
  }
756
- const zn = /* @__PURE__ */ Symbol("DISABLED_STATE_KEY");
757
- function Gn() {
758
- return It(zn, { state: null });
758
+ const Un = /* @__PURE__ */ Symbol("DISABLED_STATE_KEY");
759
+ function Hn() {
760
+ return Ot(Un, { state: null });
759
761
  }
760
762
  function z(e) {
761
- const t = Gn(), r = $(() => {
762
- const s = typeof e == "function" ? e() : kt(e);
763
- return Ma(t, {
763
+ const t = Hn(), r = $(() => {
764
+ const s = typeof e == "function" ? e() : Tt(e);
765
+ return Da(t, {
764
766
  disabled: s.disabled,
765
767
  isDisabled: s.isDisabled,
766
768
  "aria-disabled": s["aria-disabled"] ?? s.ariaDisabled
@@ -768,19 +770,19 @@ function z(e) {
768
770
  }), a = $(
769
771
  () => r.value["aria-disabled"] || r.value.disabled || void 0
770
772
  ), n = $(() => {
771
- const s = typeof e == "function" ? e() : kt(e), { disabled: o, isDisabled: i, "aria-disabled": u, ariaDisabled: c, onClick: d, onChange: f, ...m } = s;
773
+ const s = typeof e == "function" ? e() : Tt(e), { disabled: o, isDisabled: i, "aria-disabled": u, ariaDisabled: c, onClick: d, onChange: f, ...m } = s;
772
774
  return a.value || (d && (m.onClick = d), f && (m.onChange = f)), m;
773
775
  });
774
776
  return { disabledStateProps: r, isAnyDisabled: a, otherProps: n };
775
777
  }
776
- const wr = y({
778
+ const Lr = y({
777
779
  name: "ResetTheme",
778
780
  setup(e, { slots: t }) {
779
- return Kr("theme", void 0), () => t.default?.();
781
+ return Jr("theme", void 0), () => t.default?.();
780
782
  }
781
- }), Un = "Icon", Hn = "lumx-icon", ua = Hn, {
782
- block: Vn
783
- } = T(ua), Wn = {}, I = (e) => {
783
+ }), Vn = "Icon", Wn = "lumx-icon", fa = Wn, {
784
+ block: Kn
785
+ } = T(fa), Yn = {}, I = (e) => {
784
786
  const {
785
787
  className: t,
786
788
  color: r,
@@ -793,23 +795,23 @@ const wr = y({
793
795
  alt: c,
794
796
  verticalAlign: d,
795
797
  ...f
796
- } = e, [m, p] = Bt(r, a);
798
+ } = e, [m, p] = jt(r, a);
797
799
  let g = m;
798
- !g && (n || u) && (g = u === ve.dark ? E.light : E.dark);
800
+ !g && (n || u) && (g = u === Ne.dark ? E.light : E.dark);
799
801
  let b = p;
800
802
  !b && n && g === E.dark && (b = "L2");
801
803
  let v = o;
802
804
  return o && n ? o === w.xxs || o === w.xs ? v = w.s : o === w.xxl && (v = w.xl) : n && (v = w.m), l("i", h({
803
805
  ref: i
804
806
  }, f, {
805
- className: N(t, Vn({
807
+ className: N(t, Kn({
806
808
  [`color-${g}`]: !!g,
807
809
  [`color-variant-${b}`]: !!b,
808
810
  "has-shape": n,
809
811
  [`theme-${u}`]: !!u,
810
812
  [`size-${v}`]: !!v,
811
813
  "no-shape": !n,
812
- "has-dark-layer": !n && g === E.yellow && s === Jr,
814
+ "has-dark-layer": !n && g === E.yellow && s === Qr,
813
815
  path: !0,
814
816
  "vertical-align-middle": d === "middle"
815
817
  }))
@@ -829,11 +831,11 @@ const wr = y({
829
831
  fill: "currentColor"
830
832
  }, null)])]);
831
833
  };
832
- I.displayName = Un;
833
- I.className = ua;
834
- I.defaultProps = Wn;
835
- const Tt = /* @__PURE__ */ y((e) => {
836
- const t = P(), r = x({
834
+ I.displayName = Vn;
835
+ I.className = fa;
836
+ I.defaultProps = Yn;
837
+ const _t = /* @__PURE__ */ y((e) => {
838
+ const t = S(), r = x({
837
839
  defaultTheme: void 0
838
840
  });
839
841
  return () => l(I, h(e, t, {
@@ -845,9 +847,9 @@ const Tt = /* @__PURE__ */ y((e) => {
845
847
  inheritAttrs: !1,
846
848
  // Redefine properties so that they come in as `props` on the `defineComponent` function
847
849
  props: A()("icon", "color", "colorVariant", "hasShape", "size", "alt", "verticalAlign", "theme", "class")
848
- }), Kn = "lumx-text", {
849
- block: Yn
850
- } = T(Kn), Jn = (e) => {
850
+ }), Jn = "lumx-text", {
851
+ block: Xn
852
+ } = T(Jn), Qn = (e) => {
851
853
  const {
852
854
  className: t,
853
855
  color: r,
@@ -863,11 +865,11 @@ const Tt = /* @__PURE__ */ y((e) => {
863
865
  "--lumx-text-white-space": i
864
866
  };
865
867
  return {
866
- className: N(t, Yn({
868
+ className: N(t, Xn({
867
869
  "is-truncated": f && !d,
868
870
  "is-truncated-multiline": d,
869
871
  "no-wrap": n
870
- }), s && Rt(s), r && Za(r, a)),
872
+ }), s && Mt(s), r && tn(r, a)),
871
873
  style: {
872
874
  ...c,
873
875
  ...m,
@@ -875,40 +877,40 @@ const Tt = /* @__PURE__ */ y((e) => {
875
877
  }
876
878
  };
877
879
  };
878
- function da(e, t) {
879
- return xa() ? (Ea(e, t), !0) : !1;
880
+ function ma(e, t) {
881
+ return wa() ? (Ia(e, t), !0) : !1;
880
882
  }
881
- const Xn = typeof window < "u" && typeof document < "u";
883
+ const Zn = typeof window < "u" && typeof document < "u";
882
884
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
883
- const Qn = (e) => e != null;
884
- function Zn(e) {
885
+ const es = (e) => e != null;
886
+ function ts(e) {
885
887
  return Array.isArray(e) ? e : [e];
886
888
  }
887
- const fa = Xn ? window : void 0;
888
- function Ct(e) {
889
+ const ha = Zn ? window : void 0;
890
+ function xt(e) {
889
891
  var t;
890
- const r = Lt(e);
892
+ const r = Bt(e);
891
893
  return (t = r?.$el) !== null && t !== void 0 ? t : r;
892
894
  }
893
895
  // @__NO_SIDE_EFFECTS__
894
- function es() {
895
- const e = wa(!1), t = Yr();
896
- return t && Ia(() => {
896
+ function rs() {
897
+ const e = La(!1), t = Xr();
898
+ return t && Oa(() => {
897
899
  e.value = !0;
898
900
  }, t), e;
899
901
  }
900
902
  // @__NO_SIDE_EFFECTS__
901
- function ma(e) {
902
- const t = /* @__PURE__ */ es();
903
+ function pa(e) {
904
+ const t = /* @__PURE__ */ rs();
903
905
  return $(() => (t.value, !!e()));
904
906
  }
905
- function ts(e, t, r = {}) {
906
- const { window: a = fa, ...n } = r;
907
+ function as(e, t, r = {}) {
908
+ const { window: a = ha, ...n } = r;
907
909
  let s;
908
- const o = /* @__PURE__ */ ma(() => a && "MutationObserver" in a), i = () => {
910
+ const o = /* @__PURE__ */ pa(() => a && "MutationObserver" in a), i = () => {
909
911
  s && (s.disconnect(), s = void 0);
910
912
  }, u = V($(() => {
911
- const f = Zn(Lt(e)).map(Ct).filter(Qn);
913
+ const f = ts(Bt(e)).map(xt).filter(es);
912
914
  return new Set(f);
913
915
  }), (f) => {
914
916
  i(), o.value && f.size && (s = new MutationObserver(t), f.forEach((m) => s.observe(m, n)));
@@ -918,20 +920,20 @@ function ts(e, t, r = {}) {
918
920
  }), c = () => s?.takeRecords(), d = () => {
919
921
  u(), i();
920
922
  };
921
- return da(d), {
923
+ return ma(d), {
922
924
  isSupported: o,
923
925
  stop: d,
924
926
  takeRecords: c
925
927
  };
926
928
  }
927
- function rs(e, t, r = {}) {
928
- const { window: a = fa, ...n } = r;
929
+ function ns(e, t, r = {}) {
930
+ const { window: a = ha, ...n } = r;
929
931
  let s;
930
- const o = /* @__PURE__ */ ma(() => a && "ResizeObserver" in a), i = () => {
932
+ const o = /* @__PURE__ */ pa(() => a && "ResizeObserver" in a), i = () => {
931
933
  s && (s.disconnect(), s = void 0);
932
934
  }, u = V($(() => {
933
- const d = Lt(e);
934
- return Array.isArray(d) ? d.map((f) => Ct(f)) : [Ct(d)];
935
+ const d = Bt(e);
936
+ return Array.isArray(d) ? d.map((f) => xt(f)) : [xt(d)];
935
937
  }), (d) => {
936
938
  if (i(), o.value && a) {
937
939
  s = new ResizeObserver(t);
@@ -943,49 +945,49 @@ function rs(e, t, r = {}) {
943
945
  }), c = () => {
944
946
  i(), u();
945
947
  };
946
- return da(c), {
948
+ return ma(c), {
947
949
  isSupported: o,
948
950
  stop: c
949
951
  };
950
952
  }
951
- function as(e) {
952
- const t = ie(void 0), r = () => {
953
+ function ss(e) {
954
+ const t = se(void 0), r = () => {
953
955
  const a = e.value;
954
- a && !a.closest(`.${Z.visuallyHidden()}`) && a.offsetWidth < a.scrollWidth ? t.value = a.innerText : t.value = void 0;
956
+ a && !a.closest(`.${Q.visuallyHidden()}`) && a.offsetWidth < a.scrollWidth ? t.value = a.innerText : t.value = void 0;
955
957
  };
956
- return ts(e, r, {
958
+ return as(e, r, {
957
959
  childList: !0,
958
960
  attributes: !0,
959
961
  characterData: !0,
960
962
  subtree: !0
961
- }), rs(e, r), V(e, r, { immediate: !0 }), { tooltipLabel: t };
963
+ }), ns(e, r), V(e, r, { immediate: !0 }), { tooltipLabel: t };
962
964
  }
963
- const ns = (e = "default") => {
964
- const t = Ot();
965
+ const os = (e = "default") => {
966
+ const t = Rt();
965
967
  return () => {
966
968
  const r = t?.[e];
967
969
  return r ? r() : null;
968
970
  };
969
971
  };
970
- function _t(e) {
972
+ function Et(e) {
971
973
  if (!e) return;
972
974
  const t = [];
973
975
  for (const r of e) {
974
- if (!ee(r)) {
976
+ if (!Z(r)) {
975
977
  t.push(r);
976
978
  continue;
977
979
  }
978
- if (r.type === Tt) {
980
+ if (r.type === _t) {
979
981
  t.push(" "), t.push(r), t.push(" ");
980
982
  continue;
981
983
  }
982
984
  if (r.type === U && Array.isArray(r.children)) {
983
- const a = _t(r.children);
985
+ const a = Et(r.children);
984
986
  a && t.push(...a);
985
987
  continue;
986
988
  }
987
989
  if (typeof r.type == "string" && Array.isArray(r.children)) {
988
- const a = _t(r.children), n = { ...r.props || {} };
990
+ const a = Et(r.children), n = { ...r.props || {} };
989
991
  r.key != null && (n.key = r.key), r.ref != null && (n.ref = r.ref), t.push(l(r.type, n, a));
990
992
  continue;
991
993
  }
@@ -993,15 +995,15 @@ function _t(e) {
993
995
  }
994
996
  return t;
995
997
  }
996
- function ss(e) {
997
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ee(e);
998
+ function is(e) {
999
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Z(e);
998
1000
  }
999
- const Mt = /* @__PURE__ */ y((e, {
1001
+ const Dt = /* @__PURE__ */ y((e, {
1000
1002
  slots: t
1001
1003
  }) => {
1002
- const r = P(), a = ns(), n = La("tooltip-label"), {
1004
+ const r = S(), a = os(), n = Ba("tooltip-label"), {
1003
1005
  tooltipLabel: s
1004
- } = as(n), o = $(() => Jn({
1006
+ } = ss(n), o = $(() => Qn({
1005
1007
  ...e,
1006
1008
  className: e.class || r.class || r.className
1007
1009
  })), i = $(() => {
@@ -1015,14 +1017,14 @@ const Mt = /* @__PURE__ */ y((e, {
1015
1017
  };
1016
1018
  });
1017
1019
  return () => {
1018
- const u = e.as || "div", c = a() || t.default?.(), d = c ? _t(c) : null;
1020
+ const u = e.as || "div", c = a() || t.default?.(), d = c ? Et(c) : null;
1019
1021
  return l(u, h({
1020
1022
  ref: "tooltip-label"
1021
1023
  }, i.value, {
1022
1024
  class: i.value.className,
1023
1025
  style: i.value.style,
1024
1026
  title: s.value
1025
- }), ss(d) ? d : {
1027
+ }), is(d) ? d : {
1026
1028
  default: () => [d]
1027
1029
  });
1028
1030
  };
@@ -1031,12 +1033,12 @@ const Mt = /* @__PURE__ */ y((e, {
1031
1033
  inheritAttrs: !1,
1032
1034
  // Redefine properties so that they come in as `props` on the `defineComponent` function
1033
1035
  props: A()("as", "color", "colorVariant", "typography", "truncate", "noWrap", "whiteSpace", "style", "class")
1034
- }), os = {
1036
+ }), ls = {
1035
1037
  click: (e) => e instanceof MouseEvent
1036
- }, ki = /* @__PURE__ */ y((e, {
1038
+ }, Ti = /* @__PURE__ */ y((e, {
1037
1039
  emit: t
1038
1040
  }) => {
1039
- const r = Ot(), a = P(), n = x(), {
1041
+ const r = Rt(), a = S(), n = x(), {
1040
1042
  isAnyDisabled: s,
1041
1043
  disabledStateProps: o,
1042
1044
  otherProps: i
@@ -1047,22 +1049,22 @@ const Mt = /* @__PURE__ */ y((e, {
1047
1049
  s.value || (d.stopImmediatePropagation(), t("click", d));
1048
1050
  }, c = () => {
1049
1051
  const d = r.default?.();
1050
- return !d || d.length === 0 ? null : d.length === 1 && d[0].type === Mt ? d[0] : l("span", null, [d]);
1052
+ return !d || d.length === 0 ? null : d.length === 1 && d[0].type === Dt ? d[0] : l("span", null, [d]);
1051
1053
  };
1052
1054
  return () => {
1053
- const d = l(U, null, [e.leftIcon && !Er(e.leftIcon) && l(wr, null, {
1054
- default: () => [l(Tt, {
1055
+ const d = l(U, null, [e.leftIcon && !Ir(e.leftIcon) && l(Lr, null, {
1056
+ default: () => [l(_t, {
1055
1057
  icon: e.leftIcon
1056
1058
  }, null)]
1057
- }), c(), e.rightIcon && !Er(e.rightIcon) && l(wr, null, {
1058
- default: () => [l(Tt, {
1059
+ }), c(), e.rightIcon && !Ir(e.rightIcon) && l(Lr, null, {
1060
+ default: () => [l(_t, {
1059
1061
  icon: e.rightIcon
1060
1062
  }, null)]
1061
1063
  })]);
1062
- return l(ke, h(i.value, o.value, {
1064
+ return l(Te, h(i.value, o.value, {
1063
1065
  className: e.class,
1064
1066
  theme: e.theme || n.value,
1065
- onClick: u,
1067
+ handleClick: u,
1066
1068
  children: d
1067
1069
  }), null);
1068
1070
  };
@@ -1071,17 +1073,17 @@ const Mt = /* @__PURE__ */ y((e, {
1071
1073
  inheritAttrs: !1,
1072
1074
  // Redefine properties so that they come in as `props` on the `defineComponent` function
1073
1075
  props: A()("leftIcon", "rightIcon", "color", "emphasis", "hasBackground", "href", "isDisabled", "isSelected", "name", "size", "theme", "class", "aria-expanded", "aria-disabled", "aria-haspopup", "aria-label", "aria-pressed", "disabled", "fullWidth", "isActive", "isFocused", "isHovered", "linkAs", "target", "type"),
1074
- emits: os
1075
- }), is = "IconButton", ls = "lumx-icon-button", xt = {
1076
+ emits: ls
1077
+ }), cs = "IconButton", us = "lumx-icon-button", wt = {
1076
1078
  emphasis: H.high,
1077
1079
  size: w.m
1078
- }, de = (e) => {
1080
+ }, ce = (e) => {
1079
1081
  const {
1080
- emphasis: t = xt.emphasis,
1082
+ emphasis: t = wt.emphasis,
1081
1083
  image: r,
1082
1084
  icon: a,
1083
1085
  label: n,
1084
- size: s = xt.size,
1086
+ size: s = wt.size,
1085
1087
  ...o
1086
1088
  } = e, i = r ? l("img", {
1087
1089
  alt: "",
@@ -1089,7 +1091,7 @@ const Mt = /* @__PURE__ */ y((e, {
1089
1091
  }, null) : I({
1090
1092
  icon: a
1091
1093
  });
1092
- return ue({
1094
+ return le({
1093
1095
  emphasis: t,
1094
1096
  size: s,
1095
1097
  ...o,
@@ -1098,15 +1100,15 @@ const Mt = /* @__PURE__ */ y((e, {
1098
1100
  children: i
1099
1101
  });
1100
1102
  };
1101
- de.displayName = is;
1102
- de.className = ls;
1103
- de.defaultProps = xt;
1104
- const cs = {
1103
+ ce.displayName = cs;
1104
+ ce.className = us;
1105
+ ce.defaultProps = wt;
1106
+ const ds = {
1105
1107
  click: (e) => e instanceof MouseEvent
1106
- }, $i = /* @__PURE__ */ y((e, {
1108
+ }, Ci = /* @__PURE__ */ y((e, {
1107
1109
  emit: t
1108
1110
  }) => {
1109
- const r = P(), a = x(), {
1111
+ const r = S(), a = x(), {
1110
1112
  isAnyDisabled: n,
1111
1113
  disabledStateProps: s,
1112
1114
  otherProps: o
@@ -1116,37 +1118,37 @@ const cs = {
1116
1118
  }))), i = (u) => {
1117
1119
  n.value || (u.stopImmediatePropagation(), t("click", u));
1118
1120
  };
1119
- return () => l(de, h(o.value, s.value, {
1121
+ return () => l(ce, h(o.value, s.value, {
1120
1122
  className: e.class,
1121
1123
  theme: e.theme || a.value,
1122
1124
  title: e.label,
1123
1125
  label: e.label,
1124
- onClick: i
1126
+ handleClick: i
1125
1127
  }), null);
1126
1128
  }, {
1127
1129
  name: "IconButton",
1128
1130
  inheritAttrs: !1,
1129
1131
  // Redefine properties so that they come in as `props` on the `defineComponent` function
1130
1132
  props: A()("icon", "image", "color", "label", "emphasis", "hasBackground", "href", "isDisabled", "isSelected", "name", "size", "theme", "class", "aria-expanded", "aria-disabled", "aria-haspopup", "aria-label", "aria-pressed", "disabled", "fullWidth", "isActive", "isFocused", "isHovered", "isDisabled", "linkAs", "target", "type", "title"),
1131
- emits: cs
1132
- }), us = "ButtonGroup", ha = "lumx-button-group", ds = {}, $e = (e) => {
1133
+ emits: ds
1134
+ }), fs = "ButtonGroup", ba = "lumx-button-group", ms = {}, Ce = (e) => {
1133
1135
  const {
1134
1136
  children: t,
1135
1137
  className: r,
1136
1138
  ...a
1137
1139
  } = e;
1138
1140
  return l("div", h(a, {
1139
- className: N(r, ha)
1141
+ className: N(r, ba)
1140
1142
  }), [t]);
1141
1143
  };
1142
- $e.displayName = us;
1143
- $e.className = ha;
1144
- $e.defaultProps = ds;
1145
- const Ti = /* @__PURE__ */ y((e, {
1144
+ Ce.displayName = fs;
1145
+ Ce.className = ba;
1146
+ Ce.defaultProps = ms;
1147
+ const _i = /* @__PURE__ */ y((e, {
1146
1148
  slots: t
1147
1149
  }) => {
1148
- const r = P();
1149
- return () => l($e, h(e, r, {
1150
+ const r = S();
1151
+ return () => l(Ce, h(e, r, {
1150
1152
  className: e.class,
1151
1153
  children: t.default?.()
1152
1154
  }), null);
@@ -1155,9 +1157,9 @@ const Ti = /* @__PURE__ */ y((e, {
1155
1157
  inheritAttrs: !1,
1156
1158
  // Redefine properties so that they come in as `props` on the `defineComponent` function
1157
1159
  props: A()("class")
1158
- }), fs = "InputLabel", ms = "lumx-input-label", pa = ms, {
1159
- block: hs
1160
- } = T(pa), ps = {};
1160
+ }), hs = "InputLabel", ps = "lumx-input-label", ga = ps, {
1161
+ block: bs
1162
+ } = T(ga), gs = {};
1161
1163
  function W(e) {
1162
1164
  const {
1163
1165
  children: t,
@@ -1173,52 +1175,52 @@ function W(e) {
1173
1175
  ref: i
1174
1176
  }, u, {
1175
1177
  htmlFor: a,
1176
- className: N(r, hs({
1178
+ className: N(r, bs({
1177
1179
  "is-required": n,
1178
1180
  [`theme-${s}`]: !!s,
1179
1181
  "has-custom-typography": !!o
1180
- }), o && Rt(o))
1182
+ }), o && Mt(o))
1181
1183
  }), [t]);
1182
1184
  }
1183
- W.displayName = fs;
1184
- W.className = pa;
1185
- W.defaultProps = ps;
1186
- const bs = {
1185
+ W.displayName = hs;
1186
+ W.className = ga;
1187
+ W.defaultProps = gs;
1188
+ const vs = {
1187
1189
  [D.error]: { color: "red" },
1188
1190
  [D.success]: { color: "green" },
1189
1191
  [D.warning]: { color: "yellow" }
1190
- }, gs = "InputHelper", vs = "lumx-input-helper", ba = vs, {
1191
- block: ys
1192
- } = T(ba), ga = {
1192
+ }, ys = "InputHelper", Ns = "lumx-input-helper", va = Ns, {
1193
+ block: As
1194
+ } = T(va), ya = {
1193
1195
  kind: D.info
1194
1196
  };
1195
1197
  function K(e) {
1196
1198
  const {
1197
1199
  children: t,
1198
1200
  className: r,
1199
- kind: a = ga.kind,
1201
+ kind: a = ya.kind,
1200
1202
  theme: n,
1201
1203
  ref: s,
1202
1204
  ...o
1203
1205
  } = e, {
1204
1206
  color: i
1205
- } = bs[a] || {};
1207
+ } = vs[a] || {};
1206
1208
  return l("p", h({
1207
1209
  ref: s
1208
1210
  }, o, {
1209
- className: N(r, ys({
1211
+ className: N(r, As({
1210
1212
  [`color-${i}`]: !!i,
1211
1213
  [`theme-${n}`]: !!n
1212
1214
  }))
1213
1215
  }), [t]);
1214
1216
  }
1215
- K.displayName = gs;
1216
- K.className = ba;
1217
- K.defaultProps = ga;
1218
- const va = "intermediate", Ns = "lumx-checkbox", {
1219
- block: As,
1217
+ K.displayName = ys;
1218
+ K.className = va;
1219
+ K.defaultProps = ya;
1220
+ const Na = "intermediate", Ss = "lumx-checkbox", {
1221
+ block: Ps,
1220
1222
  element: j
1221
- } = T(Ns), Ss = (e) => {
1223
+ } = T(Ss), ks = (e) => {
1222
1224
  const {
1223
1225
  checked: t,
1224
1226
  className: r,
@@ -1229,20 +1231,20 @@ const va = "intermediate", Ns = "lumx-checkbox", {
1229
1231
  label: i,
1230
1232
  name: u,
1231
1233
  ref: c,
1232
- onChange: d,
1234
+ handleChange: d,
1233
1235
  theme: f,
1234
1236
  value: m,
1235
1237
  inputProps: p = {},
1236
1238
  isDisabled: g,
1237
1239
  inputId: b,
1238
1240
  ...v
1239
- } = e, C = o === va, k = (_) => {
1241
+ } = e, C = o === Na, k = (_) => {
1240
1242
  d && d(!o, m, u, _);
1241
1243
  };
1242
1244
  return l("div", h({
1243
1245
  ref: c
1244
1246
  }, v, {
1245
- className: N(r, As({
1247
+ className: N(r, Ps({
1246
1248
  // Whether state is intermediate class name will "-checked"
1247
1249
  "is-checked": C ? !0 : o,
1248
1250
  "is-disabled": g,
@@ -1271,7 +1273,7 @@ const va = "intermediate", Ns = "lumx-checkbox", {
1271
1273
  }, null), l("div", {
1272
1274
  className: j("input-indicator")
1273
1275
  }, [I({
1274
- icon: C ? Da : qa
1276
+ icon: C ? za : Fa
1275
1277
  })])])]), l("div", {
1276
1278
  className: j("content")
1277
1279
  }, [i && W({
@@ -1286,23 +1288,23 @@ const va = "intermediate", Ns = "lumx-checkbox", {
1286
1288
  children: a
1287
1289
  })])]);
1288
1290
  };
1289
- let Ir = 0;
1290
- function qt() {
1291
- return Ir += 1, `:lumx${Ir}:`;
1291
+ let Or = 0;
1292
+ function Ft() {
1293
+ return Or += 1, `:lumx${Or}:`;
1292
1294
  }
1293
- const Ps = {
1295
+ const $s = {
1294
1296
  change: (e, t, r, a) => typeof e == "boolean" && a instanceof Event
1295
- }, Ci = /* @__PURE__ */ y((e, {
1297
+ }, xi = /* @__PURE__ */ y((e, {
1296
1298
  emit: t
1297
1299
  }) => {
1298
- const r = P(), a = x(), n = qt(), s = $(() => e.id || n), o = ie(null), {
1300
+ const r = S(), a = x(), n = Ft(), s = $(() => e.id || n), o = se(null), {
1299
1301
  isAnyDisabled: i,
1300
1302
  disabledStateProps: u,
1301
1303
  otherProps: c
1302
1304
  } = z($(() => ({
1303
1305
  ...e,
1304
1306
  ...r
1305
- }))), d = $(() => e.isChecked === va);
1307
+ }))), d = $(() => e.isChecked === Na);
1306
1308
  V(d, (m) => {
1307
1309
  o.value && (o.value.indeterminate = m);
1308
1310
  }, {
@@ -1311,13 +1313,13 @@ const Ps = {
1311
1313
  const f = (m, p, g, b) => {
1312
1314
  i.value || (b?.stopImmediatePropagation?.(), t("change", m, p, g, b));
1313
1315
  };
1314
- return () => l(Ss, h(c.value, {
1316
+ return () => l(ks, h(c.value, {
1315
1317
  className: e.class,
1316
1318
  theme: e.theme || a.value,
1317
1319
  inputId: s.value,
1318
1320
  inputRef: o,
1319
1321
  isDisabled: i.value,
1320
- onChange: f,
1322
+ handleChange: f,
1321
1323
  label: e.label,
1322
1324
  inputProps: {
1323
1325
  ...e.inputProps,
@@ -1330,10 +1332,10 @@ const Ps = {
1330
1332
  inheritAttrs: !1,
1331
1333
  // Redefine properties so that they come in as `props` on the `defineComponent` function
1332
1334
  props: A()("checked", "class", "disabled", "helper", "id", "inputProps", "isChecked", "isDisabled", "label", "name", "theme", "value", "aria-disabled"),
1333
- emits: Ps
1334
- }), ks = "lumx-divider", {
1335
- block: $s
1336
- } = T(ks), Ts = (e) => {
1335
+ emits: $s
1336
+ }), Ts = "lumx-divider", {
1337
+ block: Cs
1338
+ } = T(Ts), _s = (e) => {
1337
1339
  const {
1338
1340
  className: t,
1339
1341
  theme: r,
@@ -1343,13 +1345,13 @@ const Ps = {
1343
1345
  return l("hr", h({
1344
1346
  ref: a
1345
1347
  }, n, {
1346
- className: N(t, $s({
1348
+ className: N(t, Cs({
1347
1349
  [`theme-${r}`]: !!r
1348
1350
  }))
1349
1351
  }), null);
1350
- }, _i = /* @__PURE__ */ y((e) => {
1351
- const t = P(), r = x();
1352
- return () => l(Ts, h(t, e, {
1352
+ }, Ei = /* @__PURE__ */ y((e) => {
1353
+ const t = S(), r = x();
1354
+ return () => l(_s, h(t, e, {
1353
1355
  className: e.class,
1354
1356
  theme: e.theme || r.value
1355
1357
  }), null);
@@ -1359,13 +1361,13 @@ const Ps = {
1359
1361
  // Redefine properties so that they come in as `props` on the `defineComponent` function
1360
1362
  props: A()("class", "theme")
1361
1363
  });
1362
- function Cs(e) {
1363
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ee(e);
1364
+ function xs(e) {
1365
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Z(e);
1364
1366
  }
1365
- const _s = "lumx-flag", {
1366
- block: xs,
1367
- element: Lr
1368
- } = T(_s), Es = (e) => {
1367
+ const Es = "lumx-flag", {
1368
+ block: ws,
1369
+ element: Br
1370
+ } = T(Es), Is = (e) => {
1369
1371
  const {
1370
1372
  children: t,
1371
1373
  icon: r,
@@ -1375,33 +1377,33 @@ const _s = "lumx-flag", {
1375
1377
  truncate: o,
1376
1378
  Text: i,
1377
1379
  ...u
1378
- } = e, c = a || (s === ve.light ? E.dark : E.light), d = !!o;
1380
+ } = e, c = a || (s === Ne.light ? E.dark : E.light), d = !!o;
1379
1381
  return l("div", h(u, {
1380
- className: N(n, xs({
1382
+ className: N(n, ws({
1381
1383
  [`color-${c}`]: !!c,
1382
1384
  "is-truncated": d
1383
1385
  }))
1384
1386
  }), [r && I({
1385
1387
  icon: r,
1386
1388
  size: w.xxs,
1387
- className: Lr("icon")
1389
+ className: Br("icon")
1388
1390
  }), l(i, {
1389
1391
  as: "span",
1390
1392
  truncate: !!o,
1391
1393
  typography: "overline",
1392
- className: Lr("label")
1393
- }, Cs(t) ? t : {
1394
+ className: Br("label")
1395
+ }, xs(t) ? t : {
1394
1396
  default: () => [t]
1395
1397
  })]);
1396
- }, xi = /* @__PURE__ */ y((e, {
1398
+ }, wi = /* @__PURE__ */ y((e, {
1397
1399
  slots: t
1398
1400
  }) => {
1399
- const r = P(), a = x();
1400
- return () => l(Es, h(e, r, {
1401
+ const r = S(), a = x();
1402
+ return () => l(Is, h(e, r, {
1401
1403
  className: e.class,
1402
1404
  theme: e.theme || a.value,
1403
1405
  children: t.default?.(),
1404
- Text: Mt
1406
+ Text: Dt
1405
1407
  }), null);
1406
1408
  }, {
1407
1409
  name: "Flag",
@@ -1409,24 +1411,24 @@ const _s = "lumx-flag", {
1409
1411
  // Redefine properties so that they come in as `props` on the `defineComponent` function
1410
1412
  props: A()("color", "icon", "truncate", "theme", "class")
1411
1413
  });
1412
- var ft, Or;
1413
- function ws() {
1414
- if (Or) return ft;
1415
- Or = 1;
1416
- var e = oa();
1414
+ var ht, Rr;
1415
+ function Ls() {
1416
+ if (Rr) return ht;
1417
+ Rr = 1;
1418
+ var e = la();
1417
1419
  function t() {
1418
1420
  if (!arguments.length)
1419
1421
  return [];
1420
1422
  var r = arguments[0];
1421
1423
  return e(r) ? r : [r];
1422
1424
  }
1423
- return ft = t, ft;
1425
+ return ht = t, ht;
1424
1426
  }
1425
- var Is = ws();
1426
- const Ls = /* @__PURE__ */ Ae(Is), Os = "lumx-flex-box", {
1427
- block: Bs
1428
- } = T(Os);
1429
- function Rs(e) {
1427
+ var Os = Ls();
1428
+ const Bs = /* @__PURE__ */ Pe(Os), Rs = "lumx-flex-box", {
1429
+ block: js
1430
+ } = T(Rs);
1431
+ function Ms(e) {
1430
1432
  const {
1431
1433
  className: t,
1432
1434
  fillSpace: r,
@@ -1438,10 +1440,10 @@ function Rs(e) {
1438
1440
  wrap: u,
1439
1441
  orientation: c,
1440
1442
  ...d
1441
- } = e, f = c ?? (u || n || i ? Ka.horizontal : null);
1443
+ } = e, f = c ?? (u || n || i ? Ja.horizontal : null);
1442
1444
  return {
1443
1445
  ...d,
1444
- className: N(t, Bs({
1446
+ className: N(t, js({
1445
1447
  [`orientation-${f}`]: !!f,
1446
1448
  [`v-align-${i}`]: !!i,
1447
1449
  [`h-align-${n}`]: !!n,
@@ -1449,16 +1451,16 @@ function Rs(e) {
1449
1451
  wrap: !!u,
1450
1452
  "fill-space": r,
1451
1453
  "no-shrink": o,
1452
- ...Object.fromEntries(Ls(s).filter(Boolean).map((m) => [`margin-auto-${m}`, !0]))
1454
+ ...Object.fromEntries(Bs(s).filter(Boolean).map((m) => [`margin-auto-${m}`, !0]))
1453
1455
  }))
1454
1456
  };
1455
1457
  }
1456
- const Ei = /* @__PURE__ */ y((e, {
1458
+ const Ii = /* @__PURE__ */ y((e, {
1457
1459
  slots: t
1458
1460
  }) => {
1459
- const r = P();
1461
+ const r = S();
1460
1462
  return () => {
1461
- const a = e.as || "div", n = Rs({
1463
+ const a = e.as || "div", n = Ms({
1462
1464
  ...e,
1463
1465
  ...r,
1464
1466
  className: e.class
@@ -1473,43 +1475,43 @@ const Ei = /* @__PURE__ */ y((e, {
1473
1475
  // Redefine properties so that they come in as `props` on the `defineComponent` function
1474
1476
  props: A()("as", "fillSpace", "gap", "hAlign", "marginAuto", "noShrink", "orientation", "vAlign", "wrap", "class")
1475
1477
  });
1476
- var mt, Br;
1477
- function js() {
1478
- if (Br) return mt;
1479
- Br = 1;
1478
+ var pt, jr;
1479
+ function qs() {
1480
+ if (jr) return pt;
1481
+ jr = 1;
1480
1482
  var e = /\s/;
1481
1483
  function t(r) {
1482
1484
  for (var a = r.length; a-- && e.test(r.charAt(a)); )
1483
1485
  ;
1484
1486
  return a;
1485
1487
  }
1486
- return mt = t, mt;
1488
+ return pt = t, pt;
1487
1489
  }
1488
- var ht, Rr;
1489
- function Ms() {
1490
- if (Rr) return ht;
1491
- Rr = 1;
1492
- var e = js(), t = /^\s+/;
1490
+ var bt, Mr;
1491
+ function Ds() {
1492
+ if (Mr) return bt;
1493
+ Mr = 1;
1494
+ var e = qs(), t = /^\s+/;
1493
1495
  function r(a) {
1494
1496
  return a && a.slice(0, e(a) + 1).replace(t, "");
1495
1497
  }
1496
- return ht = r, ht;
1498
+ return bt = r, bt;
1497
1499
  }
1498
- var pt, jr;
1499
- function qs() {
1500
- if (jr) return pt;
1501
- jr = 1;
1502
- var e = le(), t = Pe(), r = "[object Symbol]";
1500
+ var gt, qr;
1501
+ function Fs() {
1502
+ if (qr) return gt;
1503
+ qr = 1;
1504
+ var e = oe(), t = $e(), r = "[object Symbol]";
1503
1505
  function a(n) {
1504
1506
  return typeof n == "symbol" || t(n) && e(n) == r;
1505
1507
  }
1506
- return pt = a, pt;
1508
+ return gt = a, gt;
1507
1509
  }
1508
- var bt, Mr;
1509
- function Ds() {
1510
- if (Mr) return bt;
1511
- Mr = 1;
1512
- var e = Ms(), t = jt(), r = qs(), a = NaN, n = /^[-+]0x[0-9a-f]+$/i, s = /^0b[01]+$/i, o = /^0o[0-7]+$/i, i = parseInt;
1510
+ var vt, Dr;
1511
+ function zs() {
1512
+ if (Dr) return vt;
1513
+ Dr = 1;
1514
+ var e = Ds(), t = qt(), r = Fs(), a = NaN, n = /^[-+]0x[0-9a-f]+$/i, s = /^0b[01]+$/i, o = /^0o[0-7]+$/i, i = parseInt;
1513
1515
  function u(c) {
1514
1516
  if (typeof c == "number")
1515
1517
  return c;
@@ -1525,13 +1527,13 @@ function Ds() {
1525
1527
  var f = s.test(c);
1526
1528
  return f || o.test(c) ? i(c.slice(2), f ? 2 : 8) : n.test(c) ? a : +c;
1527
1529
  }
1528
- return bt = u, bt;
1530
+ return vt = u, vt;
1529
1531
  }
1530
- var gt, qr;
1531
- function Fs() {
1532
- if (qr) return gt;
1533
- qr = 1;
1534
- var e = Ds(), t = 1 / 0, r = 17976931348623157e292;
1532
+ var yt, Fr;
1533
+ function Gs() {
1534
+ if (Fr) return yt;
1535
+ Fr = 1;
1536
+ var e = zs(), t = 1 / 0, r = 17976931348623157e292;
1535
1537
  function a(n) {
1536
1538
  if (!n)
1537
1539
  return n === 0 ? n : 0;
@@ -1541,35 +1543,35 @@ function Fs() {
1541
1543
  }
1542
1544
  return n === n ? n : 0;
1543
1545
  }
1544
- return gt = a, gt;
1546
+ return yt = a, yt;
1545
1547
  }
1546
- var vt, Dr;
1547
- function zs() {
1548
- if (Dr) return vt;
1549
- Dr = 1;
1550
- var e = Fs();
1548
+ var Nt, zr;
1549
+ function Us() {
1550
+ if (zr) return Nt;
1551
+ zr = 1;
1552
+ var e = Gs();
1551
1553
  function t(r) {
1552
1554
  var a = e(r), n = a % 1;
1553
1555
  return a === a ? n ? a - n : a : 0;
1554
1556
  }
1555
- return vt = t, vt;
1557
+ return Nt = t, Nt;
1556
1558
  }
1557
- var yt, Fr;
1558
- function Gs() {
1559
- if (Fr) return yt;
1560
- Fr = 1;
1561
- var e = zs();
1559
+ var At, Gr;
1560
+ function Hs() {
1561
+ if (Gr) return At;
1562
+ Gr = 1;
1563
+ var e = Us();
1562
1564
  function t(r) {
1563
1565
  return typeof r == "number" && r == e(r);
1564
1566
  }
1565
- return yt = t, yt;
1567
+ return At = t, At;
1566
1568
  }
1567
- var Us = Gs();
1568
- const Hs = /* @__PURE__ */ Ae(Us);
1569
- function Vs(e) {
1570
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ee(e);
1569
+ var Vs = Hs();
1570
+ const Ws = /* @__PURE__ */ Pe(Vs);
1571
+ function Ks(e) {
1572
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Z(e);
1571
1573
  }
1572
- const Ws = "GridColumn", ya = "lumx-grid-column", Ks = {}, Te = (e) => {
1574
+ const Ys = "GridColumn", Aa = "lumx-grid-column", Js = {}, _e = (e) => {
1573
1575
  const {
1574
1576
  as: t = "div",
1575
1577
  gap: r,
@@ -1583,25 +1585,25 @@ const Ws = "GridColumn", ya = "lumx-grid-column", Ks = {}, Te = (e) => {
1583
1585
  } = e;
1584
1586
  return l(t, h(c, {
1585
1587
  ref: u,
1586
- className: N(o, ya),
1588
+ className: N(o, Aa),
1587
1589
  style: {
1588
1590
  ...i,
1589
- "--lumx-grid-column-item-min-width": Hs(n) && `${n}px`,
1591
+ "--lumx-grid-column-item-min-width": Ws(n) && `${n}px`,
1590
1592
  "--lumx-grid-column-columns": a,
1591
1593
  "--lumx-grid-column-gap": r && `var(--lumx-spacing-unit-${r})`
1592
1594
  }
1593
- }), Vs(s) ? s : {
1595
+ }), Ks(s) ? s : {
1594
1596
  default: () => [s]
1595
1597
  });
1596
1598
  };
1597
- Te.displayName = Ws;
1598
- Te.className = ya;
1599
- Te.defaultProps = Ks;
1600
- const wi = /* @__PURE__ */ y((e, {
1599
+ _e.displayName = Ys;
1600
+ _e.className = Aa;
1601
+ _e.defaultProps = Js;
1602
+ const Li = /* @__PURE__ */ y((e, {
1601
1603
  slots: t
1602
1604
  }) => {
1603
- const r = P();
1604
- return () => l(Te, h(e, r, {
1605
+ const r = S();
1606
+ return () => l(_e, h(e, r, {
1605
1607
  className: e.class,
1606
1608
  children: t.default?.()
1607
1609
  }), null);
@@ -1609,29 +1611,29 @@ const wi = /* @__PURE__ */ y((e, {
1609
1611
  name: "LumxGridColumn",
1610
1612
  inheritAttrs: !1,
1611
1613
  props: A()("as", "class", "gap", "itemMinWidth", "maxColumns", "style")
1612
- }), zr = 6, Ys = {
1613
- h1: Q.display1,
1614
- h2: Q.headline,
1615
- h3: Q.title,
1616
- h4: Q.subtitle2,
1617
- h5: Q.subtitle1,
1618
- h6: Q.body2
1619
- }, Js = { level: 1, headingElement: "h1" }, Xs = "lumx-heading", Qs = (e, t) => {
1614
+ }), Ur = 6, Xs = {
1615
+ h1: X.display1,
1616
+ h2: X.headline,
1617
+ h3: X.title,
1618
+ h4: X.subtitle2,
1619
+ h5: X.subtitle1,
1620
+ h6: X.body2
1621
+ }, Qs = { level: 1, headingElement: "h1" }, Zs = "lumx-heading", eo = (e, t) => {
1620
1622
  const { as: r, className: a, typography: n, ...s } = e, o = r || t || "h1";
1621
1623
  return {
1622
1624
  ...s,
1623
1625
  as: o,
1624
- className: N(a, Xs),
1625
- typography: n || Ys[o]
1626
+ className: N(a, Zs),
1627
+ typography: n || Xs[o]
1626
1628
  };
1627
- }, Na = /* @__PURE__ */ Symbol("HeadingLevelContext"), Aa = () => It(Na, Js), Ii = /* @__PURE__ */ y((e, {
1629
+ }, Sa = /* @__PURE__ */ Symbol("HeadingLevelContext"), Pa = () => Ot(Sa, Qs), Oi = /* @__PURE__ */ y((e, {
1628
1630
  slots: t
1629
1631
  }) => {
1630
- const r = P(), a = Aa(), n = $(() => {
1632
+ const r = S(), a = Pa(), n = $(() => {
1631
1633
  const {
1632
1634
  className: s,
1633
1635
  ...o
1634
- } = Qs({
1636
+ } = eo({
1635
1637
  ...r,
1636
1638
  ...e,
1637
1639
  className: e.class || r.class || r.className
@@ -1641,7 +1643,7 @@ const wi = /* @__PURE__ */ y((e, {
1641
1643
  class: s
1642
1644
  };
1643
1645
  });
1644
- return () => l(Mt, n.value, {
1646
+ return () => l(Dt, n.value, {
1645
1647
  default: () => [t.default?.()]
1646
1648
  });
1647
1649
  }, {
@@ -1649,26 +1651,26 @@ const wi = /* @__PURE__ */ y((e, {
1649
1651
  inheritAttrs: !1,
1650
1652
  // Redefine properties so that they come in as `props` on the `defineComponent` function
1651
1653
  props: A()("as", "color", "colorVariant", "typography", "truncate", "noWrap", "whiteSpace", "style", "class")
1652
- }), Zs = (e, t) => {
1654
+ }), to = (e, t) => {
1653
1655
  const r = e || t + 1;
1654
- return r > zr ? zr : r;
1655
- }, Li = /* @__PURE__ */ y((e, {
1656
+ return r > Ur ? Ur : r;
1657
+ }, Bi = /* @__PURE__ */ y((e, {
1656
1658
  slots: t
1657
1659
  }) => {
1658
1660
  const {
1659
1661
  level: r
1660
- } = Oa(e), a = Aa(), n = $(() => Zs(r?.value, a.level)), s = $(() => `h${n.value}`), o = Ba({
1662
+ } = Ra(e), a = Pa(), n = $(() => to(r?.value, a.level)), s = $(() => `h${n.value}`), o = ja({
1661
1663
  level: n,
1662
1664
  headingElement: s
1663
1665
  });
1664
- return Kr(Na, o), () => t.default?.();
1666
+ return Jr(Sa, o), () => t.default?.();
1665
1667
  }, {
1666
1668
  name: "HeadingLevelProvider",
1667
1669
  props: A()("level")
1668
- }), Oi = /* @__PURE__ */ y((e, {
1670
+ }), Ri = /* @__PURE__ */ y((e, {
1669
1671
  slots: t
1670
1672
  }) => {
1671
- const r = P(), a = x();
1673
+ const r = S(), a = x();
1672
1674
  return () => l(K, h(e, r, {
1673
1675
  className: e.class,
1674
1676
  theme: e.theme || a.value,
@@ -1679,10 +1681,10 @@ const wi = /* @__PURE__ */ y((e, {
1679
1681
  inheritAttrs: !1,
1680
1682
  // Redefine properties so that they come in as `props` on the `defineComponent` function
1681
1683
  props: A()("kind", "theme", "class", "id")
1682
- }), Bi = /* @__PURE__ */ y((e, {
1684
+ }), ji = /* @__PURE__ */ y((e, {
1683
1685
  slots: t
1684
1686
  }) => {
1685
- const r = P(), a = x();
1687
+ const r = S(), a = x();
1686
1688
  return () => l(W, h(e, r, {
1687
1689
  className: e.class,
1688
1690
  theme: e.theme || a.value,
@@ -1694,13 +1696,13 @@ const wi = /* @__PURE__ */ y((e, {
1694
1696
  // Redefine properties so that they come in as `props` on the `defineComponent` function
1695
1697
  props: A()("htmlFor", "isRequired", "typography", "theme", "class")
1696
1698
  });
1697
- function eo(e) {
1698
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ee(e);
1699
+ function ro(e) {
1700
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Z(e);
1699
1701
  }
1700
- const to = "lumx-link", {
1701
- block: ro,
1702
- element: Nt
1703
- } = T(to), ao = (e) => {
1702
+ const ao = "lumx-link", {
1703
+ block: no,
1704
+ element: St
1705
+ } = T(ao), so = (e) => {
1704
1706
  const {
1705
1707
  label: t,
1706
1708
  className: r,
@@ -1717,36 +1719,36 @@ const to = "lumx-link", {
1717
1719
  target: p,
1718
1720
  handleClick: g,
1719
1721
  ...b
1720
- } = e, [v, C] = Bt(a, n), k = u || (m ? "a" : "button"), _ = {};
1722
+ } = e, [v, C] = jt(a, n), k = u || (m ? "a" : "button"), _ = {};
1721
1723
  d && (k === "button" || !m && !u ? _.disabled = !0 : (_["aria-disabled"] = !0, _.tabIndex = -1));
1722
- const O = N(r, ro({
1724
+ const O = N(r, no({
1723
1725
  [`color-${v}`]: !!v,
1724
1726
  [`color-variant-${C}`]: !!C,
1725
1727
  "has-typography": !!i
1726
- }), i && Rt(i)), L = l(U, null, [s && l(U, null, [pe(" "), I({
1728
+ }), i && Mt(i)), L = l(U, null, [s && l(U, null, [ge(" "), I({
1727
1729
  icon: s,
1728
- className: Nt("left-icon")
1729
- }), pe(" ")]), t && l("span", {
1730
- className: Nt("content")
1731
- }, [t]), o && l(U, null, [pe(" "), I({
1730
+ className: St("left-icon")
1731
+ }), ge(" ")]), t && l("span", {
1732
+ className: St("content")
1733
+ }, [t]), o && l(U, null, [ge(" "), I({
1732
1734
  icon: o,
1733
- className: Nt("right-icon")
1734
- }), pe(" ")])]), B = {
1735
+ className: St("right-icon")
1736
+ }), ge(" ")])]), B = {
1735
1737
  ref: c,
1736
1738
  className: O,
1737
1739
  onClick: d ? void 0 : g,
1738
1740
  ...b,
1739
1741
  ..._
1740
1742
  };
1741
- return m && (B.href = m), p && (B.target = p), l(k, B, eo(L) ? L : {
1743
+ return m && (B.href = m), p && (B.target = p), l(k, B, ro(L) ? L : {
1742
1744
  default: () => [L]
1743
1745
  });
1744
- }, no = {
1746
+ }, oo = {
1745
1747
  click: (e) => e instanceof Event
1746
- }, Ri = /* @__PURE__ */ y((e, {
1748
+ }, Mi = /* @__PURE__ */ y((e, {
1747
1749
  emit: t
1748
1750
  }) => {
1749
- const r = P(), a = Ot(), n = x(), {
1751
+ const r = S(), a = Rt(), n = x(), {
1750
1752
  class: s,
1751
1753
  ...o
1752
1754
  } = e, {
@@ -1761,7 +1763,7 @@ const to = "lumx-link", {
1761
1763
  };
1762
1764
  return () => {
1763
1765
  const m = a.default?.() || c.value.label;
1764
- return l(ao, h(c.value, u.value, {
1766
+ return l(so, h(c.value, u.value, {
1765
1767
  className: s,
1766
1768
  theme: e.theme || n.value,
1767
1769
  isDisabled: i.value,
@@ -1774,28 +1776,28 @@ const to = "lumx-link", {
1774
1776
  inheritAttrs: !1,
1775
1777
  // Redefine properties so that they come in as `props` on the `defineComponent` function
1776
1778
  props: A()("as", "class", "color", "colorVariant", "disabled", "href", "isDisabled", "leftIcon", "rightIcon", "target", "theme", "typography", "aria-disabled"),
1777
- emits: no
1778
- }), so = "Message", Sa = "lumx-message", {
1779
- block: oo,
1780
- element: At
1781
- } = T(Sa), io = {
1779
+ emits: oo
1780
+ }), io = "Message", ka = "lumx-message", {
1781
+ block: lo,
1782
+ element: Pt
1783
+ } = T(ka), co = {
1782
1784
  [D.error]: {
1783
1785
  color: E.red,
1784
- icon: Fa
1786
+ icon: Ga
1785
1787
  },
1786
1788
  [D.info]: {
1787
1789
  color: E.blue,
1788
- icon: Ua
1790
+ icon: Va
1789
1791
  },
1790
1792
  [D.success]: {
1791
1793
  color: E.green,
1792
- icon: za
1794
+ icon: Ua
1793
1795
  },
1794
1796
  [D.warning]: {
1795
1797
  color: E.yellow,
1796
- icon: Jr
1798
+ icon: Qr
1797
1799
  }
1798
- }, Dt = (e) => {
1800
+ }, zt = (e) => {
1799
1801
  const {
1800
1802
  children: t,
1801
1803
  className: r,
@@ -1808,41 +1810,41 @@ const to = "lumx-link", {
1808
1810
  } = e, {
1809
1811
  color: c,
1810
1812
  icon: d
1811
- } = io[n] || {}, {
1813
+ } = co[n] || {}, {
1812
1814
  onClick: f,
1813
1815
  label: m
1814
1816
  } = o || {}, p = a && n === "info" && f && m;
1815
1817
  return l("div", h(u, {
1816
1818
  ref: i,
1817
- className: N(r, oo({
1819
+ className: N(r, lo({
1818
1820
  [`color-${c}`]: !!c,
1819
1821
  "has-background": a
1820
1822
  }))
1821
1823
  }), [(s || d) && I({
1822
- className: At("icon"),
1824
+ className: Pt("icon"),
1823
1825
  icon: s || d,
1824
1826
  size: w.xs,
1825
1827
  color: c
1826
1828
  }), l("div", {
1827
- className: At("text")
1828
- }, [t]), p && de({
1829
- className: At("close-button"),
1830
- icon: Ga,
1831
- onClick: f,
1829
+ className: Pt("text")
1830
+ }, [t]), p && ce({
1831
+ className: Pt("close-button"),
1832
+ icon: Ha,
1833
+ handleClick: f,
1832
1834
  label: m,
1833
1835
  emphasis: H.low
1834
1836
  })]);
1835
1837
  };
1836
- Dt.displayName = so;
1837
- Dt.className = Sa;
1838
- const ji = /* @__PURE__ */ y((e, {
1838
+ zt.displayName = io;
1839
+ zt.className = ka;
1840
+ const qi = /* @__PURE__ */ y((e, {
1839
1841
  slots: t,
1840
1842
  emit: r
1841
1843
  }) => {
1842
- const a = P(), {
1844
+ const a = S(), {
1843
1845
  closeButtonLabel: n
1844
1846
  } = e;
1845
- return () => l(Dt, h(e, a, {
1847
+ return () => l(zt, h(e, a, {
1846
1848
  className: e.class,
1847
1849
  children: t.default?.(),
1848
1850
  closeButtonProps: n ? {
@@ -1856,18 +1858,18 @@ const ji = /* @__PURE__ */ y((e, {
1856
1858
  // Redefine properties so that they come in as `props` on the `defineComponent` function
1857
1859
  props: A()("hasBackground", "icon", "kind", "class", "closeButtonLabel"),
1858
1860
  emits: ["close"]
1859
- }), Mi = "ProgressCircular", lo = "lumx-progress-circular", {
1860
- block: co,
1861
- element: Ne
1862
- } = T(lo), Gr = {
1861
+ }), Di = "ProgressCircular", uo = "lumx-progress-circular", {
1862
+ block: fo,
1863
+ element: Se
1864
+ } = T(uo), Hr = {
1863
1865
  size: w.m,
1864
1866
  display: "block"
1865
- }, uo = (e) => {
1867
+ }, mo = (e) => {
1866
1868
  const {
1867
1869
  className: t,
1868
1870
  theme: r,
1869
- size: a = Gr.size,
1870
- display: n = Gr.display,
1871
+ size: a = Hr.size,
1872
+ display: n = Hr.display,
1871
1873
  ref: s,
1872
1874
  circleProps: o,
1873
1875
  svgProps: i,
@@ -1876,16 +1878,16 @@ const ji = /* @__PURE__ */ y((e, {
1876
1878
  return l(c, h({
1877
1879
  ref: s
1878
1880
  }, u, {
1879
- className: N(t, co({
1881
+ className: N(t, fo({
1880
1882
  [`theme-${r}`]: !!r,
1881
1883
  [`size-${a}`]: !!a,
1882
1884
  [`display-${n}`]: !!n
1883
1885
  }))
1884
1886
  }), {
1885
1887
  default: () => [l(c, {
1886
- className: Ne("double-bounce1")
1888
+ className: Se("double-bounce1")
1887
1889
  }, null), l(c, {
1888
- className: Ne("double-bounce2")
1890
+ className: Se("double-bounce2")
1889
1891
  }, null), l("svg", h(i, {
1890
1892
  viewBox: "25 25 50 50"
1891
1893
  }), [l("circle", h(o, {
@@ -1895,27 +1897,27 @@ const ji = /* @__PURE__ */ y((e, {
1895
1897
  fill: "none"
1896
1898
  }), null)])]
1897
1899
  });
1898
- }, qi = /* @__PURE__ */ y((e) => {
1899
- const t = P(), r = x();
1900
- return () => l(uo, h(e, t, {
1900
+ }, Fi = /* @__PURE__ */ y((e) => {
1901
+ const t = S(), r = x();
1902
+ return () => l(mo, h(e, t, {
1901
1903
  className: e.class,
1902
1904
  theme: e.theme || r.value,
1903
1905
  circleProps: {
1904
- class: Ne("path"),
1906
+ class: Se("path"),
1905
1907
  "stroke-width": "5"
1906
1908
  },
1907
1909
  svgProps: {
1908
- class: Ne("svg")
1910
+ class: Se("svg")
1909
1911
  }
1910
1912
  }), null);
1911
1913
  }, {
1912
1914
  name: "LumxProgressCircular",
1913
1915
  inheritAttrs: !1,
1914
1916
  props: A()("class", "size", "display", "theme")
1915
- }), Di = "ProgressLinear", fo = "lumx-progress-linear", {
1916
- block: mo,
1917
- element: Ur
1918
- } = T(fo), ho = (e) => {
1917
+ }), zi = "ProgressLinear", ho = "lumx-progress-linear", {
1918
+ block: po,
1919
+ element: Vr
1920
+ } = T(ho), bo = (e) => {
1919
1921
  const {
1920
1922
  className: t,
1921
1923
  theme: r,
@@ -1925,17 +1927,17 @@ const ji = /* @__PURE__ */ y((e, {
1925
1927
  return l("div", h({
1926
1928
  ref: a
1927
1929
  }, n, {
1928
- className: N(t, mo({
1930
+ className: N(t, po({
1929
1931
  [`theme-${r}`]: !!r
1930
1932
  }))
1931
1933
  }), [l("div", {
1932
- className: Ur("line1")
1934
+ className: Vr("line1")
1933
1935
  }, null), l("div", {
1934
- className: Ur("line2")
1936
+ className: Vr("line2")
1935
1937
  }, null)]);
1936
- }, Fi = /* @__PURE__ */ y((e) => {
1937
- const t = P(), r = x();
1938
- return () => l(ho, h(e, t, {
1938
+ }, Gi = /* @__PURE__ */ y((e) => {
1939
+ const t = S(), r = x();
1940
+ return () => l(bo, h(e, t, {
1939
1941
  className: e.class,
1940
1942
  theme: e.theme || r.value
1941
1943
  }), null);
@@ -1943,10 +1945,10 @@ const ji = /* @__PURE__ */ y((e, {
1943
1945
  name: "LumxProgressLinear",
1944
1946
  inheritAttrs: !1,
1945
1947
  props: A()("class", "theme")
1946
- }), po = "lumx-radio-button", {
1947
- block: bo,
1948
+ }), go = "lumx-radio-button", {
1949
+ block: vo,
1948
1950
  element: M
1949
- } = T(po), go = (e) => {
1951
+ } = T(go), yo = (e) => {
1950
1952
  const {
1951
1953
  checked: t,
1952
1954
  className: r,
@@ -1957,7 +1959,7 @@ const ji = /* @__PURE__ */ y((e, {
1957
1959
  label: i,
1958
1960
  name: u,
1959
1961
  ref: c,
1960
- onChange: d,
1962
+ handleChange: d,
1961
1963
  theme: f,
1962
1964
  value: m,
1963
1965
  inputProps: p = {},
@@ -1970,7 +1972,7 @@ const ji = /* @__PURE__ */ y((e, {
1970
1972
  return l("div", h({
1971
1973
  ref: c
1972
1974
  }, v, {
1973
- className: N(r, bo({
1975
+ className: N(r, vo({
1974
1976
  "is-checked": o,
1975
1977
  "is-disabled": g,
1976
1978
  "is-unchecked": !o,
@@ -2009,12 +2011,12 @@ const ji = /* @__PURE__ */ y((e, {
2009
2011
  theme: f,
2010
2012
  children: a
2011
2013
  })])]);
2012
- }, vo = {
2014
+ }, No = {
2013
2015
  change: (e, t, r) => r instanceof Event
2014
- }, zi = /* @__PURE__ */ y((e, {
2016
+ }, Ui = /* @__PURE__ */ y((e, {
2015
2017
  emit: t
2016
2018
  }) => {
2017
- const r = P(), a = x(), n = qt(), s = $(() => e.id || n), {
2019
+ const r = S(), a = x(), n = Ft(), s = $(() => e.id || n), {
2018
2020
  isAnyDisabled: o,
2019
2021
  disabledStateProps: i,
2020
2022
  otherProps: u
@@ -2024,12 +2026,12 @@ const ji = /* @__PURE__ */ y((e, {
2024
2026
  }))), c = (d, f, m) => {
2025
2027
  o.value || (m?.stopImmediatePropagation?.(), t("change", d, f, m));
2026
2028
  };
2027
- return () => l(go, h(u.value, {
2029
+ return () => l(yo, h(u.value, {
2028
2030
  className: e.class,
2029
2031
  theme: e.theme || a.value,
2030
2032
  inputId: s.value,
2031
2033
  isDisabled: o.value,
2032
- onChange: c,
2034
+ handleChange: c,
2033
2035
  label: e.label,
2034
2036
  inputProps: {
2035
2037
  ...e.inputProps,
@@ -2042,8 +2044,8 @@ const ji = /* @__PURE__ */ y((e, {
2042
2044
  inheritAttrs: !1,
2043
2045
  // Redefine properties so that they come in as `props` on the `defineComponent` function
2044
2046
  props: A()("checked", "class", "disabled", "helper", "id", "inputProps", "isChecked", "isDisabled", "label", "name", "theme", "value", "aria-disabled"),
2045
- emits: vo
2046
- }), yo = "RadioGroup", Pa = "lumx-radio-group", No = {}, Ce = (e) => {
2047
+ emits: No
2048
+ }), Ao = "RadioGroup", $a = "lumx-radio-group", So = {}, xe = (e) => {
2047
2049
  const {
2048
2050
  children: t,
2049
2051
  className: r,
@@ -2053,17 +2055,17 @@ const ji = /* @__PURE__ */ y((e, {
2053
2055
  return l("div", h({
2054
2056
  ref: a
2055
2057
  }, n, {
2056
- className: N(r, Pa)
2058
+ className: N(r, $a)
2057
2059
  }), [t]);
2058
2060
  };
2059
- Ce.displayName = yo;
2060
- Ce.className = Pa;
2061
- Ce.defaultProps = No;
2062
- const Gi = /* @__PURE__ */ y((e, {
2061
+ xe.displayName = Ao;
2062
+ xe.className = $a;
2063
+ xe.defaultProps = So;
2064
+ const Hi = /* @__PURE__ */ y((e, {
2063
2065
  slots: t
2064
2066
  }) => {
2065
- const r = P();
2066
- return () => l(Ce, h(e, r, {
2067
+ const r = S();
2068
+ return () => l(xe, h(e, r, {
2067
2069
  className: e.class,
2068
2070
  children: t.default?.()
2069
2071
  }), null);
@@ -2071,9 +2073,9 @@ const Gi = /* @__PURE__ */ y((e, {
2071
2073
  name: "RadioGroup",
2072
2074
  inheritAttrs: !1,
2073
2075
  props: A()("class")
2074
- }), Ao = "lumx-skeleton-circle", {
2075
- block: So
2076
- } = T(Ao), Po = (e) => {
2076
+ }), Po = "lumx-skeleton-circle", {
2077
+ block: ko
2078
+ } = T(Po), $o = (e) => {
2077
2079
  const {
2078
2080
  className: t,
2079
2081
  size: r,
@@ -2085,28 +2087,28 @@ const Gi = /* @__PURE__ */ y((e, {
2085
2087
  return l("div", h({
2086
2088
  ref: s
2087
2089
  }, o, {
2088
- className: N(t, So({
2090
+ className: N(t, ko({
2089
2091
  [`size-${r}`]: !!r,
2090
2092
  [`color-${a}`]: !!a,
2091
2093
  [`theme-${n}`]: !!n
2092
2094
  }))
2093
2095
  }), null);
2094
- }, ko = {
2096
+ }, To = {
2095
2097
  squared: "squared",
2096
2098
  rounded: "rounded",
2097
2099
  pill: "pill"
2098
- }, $o = "lumx-skeleton-rectangle", {
2099
- block: To,
2100
- element: Co
2101
- } = T($o), _o = {
2102
- variant: ko.squared
2103
- }, xo = (e) => {
2100
+ }, Co = "lumx-skeleton-rectangle", {
2101
+ block: _o,
2102
+ element: xo
2103
+ } = T(Co), Eo = {
2104
+ variant: To.squared
2105
+ }, wo = (e) => {
2104
2106
  const {
2105
2107
  aspectRatio: t,
2106
2108
  className: r,
2107
2109
  height: a,
2108
2110
  theme: n,
2109
- variant: s = _o.variant,
2111
+ variant: s = Eo.variant,
2110
2112
  width: o,
2111
2113
  color: i,
2112
2114
  ref: u,
@@ -2115,7 +2117,7 @@ const Gi = /* @__PURE__ */ y((e, {
2115
2117
  return l("div", h({
2116
2118
  ref: u
2117
2119
  }, c, {
2118
- className: N(r, To({
2120
+ className: N(r, _o({
2119
2121
  [`aspect-ratio-${t}`]: !!t,
2120
2122
  [`height-${a}`]: !!(!t && a),
2121
2123
  [`theme-${n}`]: !!n,
@@ -2124,12 +2126,12 @@ const Gi = /* @__PURE__ */ y((e, {
2124
2126
  [`color-${i}`]: !!i
2125
2127
  }))
2126
2128
  }), [l("div", {
2127
- className: Co("inner")
2129
+ className: xo("inner")
2128
2130
  }, null)]);
2129
- }, Eo = "lumx-skeleton-typography", {
2130
- block: wo,
2131
- element: Io
2132
- } = T(Eo), Lo = (e) => {
2131
+ }, Io = "lumx-skeleton-typography", {
2132
+ block: Lo,
2133
+ element: Oo
2134
+ } = T(Io), Bo = (e) => {
2133
2135
  const {
2134
2136
  className: t,
2135
2137
  theme: r,
@@ -2142,7 +2144,7 @@ const Gi = /* @__PURE__ */ y((e, {
2142
2144
  return l("div", h({
2143
2145
  ref: o
2144
2146
  }, i, {
2145
- className: N(t, wo({
2147
+ className: N(t, Lo({
2146
2148
  [`theme-${r}`]: !!r,
2147
2149
  [`typography-${a}`]: !!a,
2148
2150
  [`color-${s}`]: !!s
@@ -2152,11 +2154,11 @@ const Gi = /* @__PURE__ */ y((e, {
2152
2154
  width: n
2153
2155
  }
2154
2156
  }), [l("div", {
2155
- className: Io("inner")
2157
+ className: Oo("inner")
2156
2158
  }, null)]);
2157
- }, Ui = /* @__PURE__ */ y((e) => {
2158
- const t = P(), r = x();
2159
- return () => l(Po, h(e, t, {
2159
+ }, Vi = /* @__PURE__ */ y((e) => {
2160
+ const t = S(), r = x();
2161
+ return () => l($o, h(e, t, {
2160
2162
  className: e.class,
2161
2163
  theme: e.theme || r.value
2162
2164
  }), null);
@@ -2164,9 +2166,9 @@ const Gi = /* @__PURE__ */ y((e, {
2164
2166
  name: "LumxSkeletonCircle",
2165
2167
  inheritAttrs: !1,
2166
2168
  props: A()("class", "size", "color", "theme")
2167
- }), Hi = /* @__PURE__ */ y((e) => {
2168
- const t = P(), r = x();
2169
- return () => l(xo, h(e, t, {
2169
+ }), Wi = /* @__PURE__ */ y((e) => {
2170
+ const t = S(), r = x();
2171
+ return () => l(wo, h(e, t, {
2170
2172
  className: e.class,
2171
2173
  theme: e.theme || r.value
2172
2174
  }), null);
@@ -2174,9 +2176,9 @@ const Gi = /* @__PURE__ */ y((e, {
2174
2176
  name: "SkeletonRectangle",
2175
2177
  inheritAttrs: !1,
2176
2178
  props: A()("class", "aspectRatio", "height", "variant", "width", "color", "theme")
2177
- }), Vi = /* @__PURE__ */ y((e) => {
2178
- const t = P(), r = x();
2179
- return () => l(Lo, h(e, t, {
2179
+ }), Ki = /* @__PURE__ */ y((e) => {
2180
+ const t = S(), r = x();
2181
+ return () => l(Bo, h(e, t, {
2180
2182
  className: e.class,
2181
2183
  theme: e.theme || r.value
2182
2184
  }), null);
@@ -2184,12 +2186,12 @@ const Gi = /* @__PURE__ */ y((e, {
2184
2186
  name: "LumxSkeletonTypography",
2185
2187
  inheritAttrs: !1,
2186
2188
  props: A()("class", "typography", "width", "color", "theme", "style")
2187
- }), Wi = "Switch", Oo = "lumx-switch", {
2188
- block: Bo,
2189
+ }), Yi = "Switch", Ro = "lumx-switch", {
2190
+ block: jo,
2189
2191
  element: q
2190
- } = T(Oo), Ro = {
2192
+ } = T(Ro), Mo = {
2191
2193
  position: "left"
2192
- }, jo = (e) => {
2194
+ }, qo = (e) => {
2193
2195
  const {
2194
2196
  checked: t,
2195
2197
  className: r,
@@ -2200,13 +2202,13 @@ const Gi = /* @__PURE__ */ y((e, {
2200
2202
  label: i,
2201
2203
  name: u,
2202
2204
  ref: c,
2203
- onChange: d,
2205
+ handleChange: d,
2204
2206
  theme: f,
2205
2207
  value: m,
2206
2208
  inputProps: p = {},
2207
2209
  isDisabled: g,
2208
2210
  inputId: b,
2209
- position: v = Ro.position,
2211
+ position: v = Mo.position,
2210
2212
  ...C
2211
2213
  } = e, k = (_) => {
2212
2214
  d && d(!o, m, u, _);
@@ -2214,7 +2216,7 @@ const Gi = /* @__PURE__ */ y((e, {
2214
2216
  return l("div", h({
2215
2217
  ref: c
2216
2218
  }, C, {
2217
- className: N(r, Bo({
2219
+ className: N(r, jo({
2218
2220
  "is-checked": o,
2219
2221
  "is-disabled": g,
2220
2222
  "is-unchecked": !o,
@@ -2256,13 +2258,13 @@ const Gi = /* @__PURE__ */ y((e, {
2256
2258
  theme: f,
2257
2259
  children: a
2258
2260
  })])]);
2259
- }, Mo = {
2261
+ }, Do = {
2260
2262
  change: (e, t, r, a) => typeof e == "boolean" && a instanceof Event
2261
- }, Ki = /* @__PURE__ */ y((e, {
2263
+ }, Ji = /* @__PURE__ */ y((e, {
2262
2264
  emit: t,
2263
2265
  slots: r
2264
2266
  }) => {
2265
- const a = P(), n = x(), s = qt(), o = $(() => e.id || s), {
2267
+ const a = S(), n = x(), s = Ft(), o = $(() => e.id || s), {
2266
2268
  isAnyDisabled: i,
2267
2269
  disabledStateProps: u,
2268
2270
  otherProps: c
@@ -2272,12 +2274,12 @@ const Gi = /* @__PURE__ */ y((e, {
2272
2274
  }))), d = (f, m, p, g) => {
2273
2275
  i.value || (g.stopImmediatePropagation(), t("change", f, m, p, g));
2274
2276
  };
2275
- return () => l(jo, h(c.value, {
2277
+ return () => l(qo, h(c.value, {
2276
2278
  className: e.class,
2277
2279
  theme: e.theme || n.value,
2278
2280
  inputId: o.value,
2279
2281
  isDisabled: i.value,
2280
- onChange: d,
2282
+ handleChange: d,
2281
2283
  label: e.label || r.default?.(),
2282
2284
  inputProps: {
2283
2285
  ...e.inputProps,
@@ -2290,10 +2292,10 @@ const Gi = /* @__PURE__ */ y((e, {
2290
2292
  inheritAttrs: !1,
2291
2293
  // Redefine properties so that they come in as `props` on the `defineComponent` function
2292
2294
  props: A()("checked", "class", "disabled", "helper", "id", "inputProps", "isChecked", "isDisabled", "label", "name", "position", "theme", "value", "aria-disabled"),
2293
- emits: Mo
2294
- }), fe = "lumx-table", {
2295
- block: qo
2296
- } = T(fe), Do = (e) => {
2295
+ emits: Do
2296
+ }), ue = "lumx-table", {
2297
+ block: Fo
2298
+ } = T(ue), zo = (e) => {
2297
2299
  const {
2298
2300
  children: t,
2299
2301
  className: r,
@@ -2306,17 +2308,17 @@ const Gi = /* @__PURE__ */ y((e, {
2306
2308
  return l("table", h({
2307
2309
  ref: s
2308
2310
  }, i, {
2309
- className: N(r, qo({
2311
+ className: N(r, Fo({
2310
2312
  "has-before": a,
2311
2313
  "has-dividers": n,
2312
2314
  [`theme-${o}`]: !!o
2313
2315
  }))
2314
2316
  }), [t]);
2315
- }, Yi = /* @__PURE__ */ y((e, {
2317
+ }, Xi = /* @__PURE__ */ y((e, {
2316
2318
  slots: t
2317
2319
  }) => {
2318
- const r = P(), a = x();
2319
- return () => l(Do, h(e, r, {
2320
+ const r = S(), a = x();
2321
+ return () => l(zo, h(e, r, {
2320
2322
  className: e.class,
2321
2323
  theme: e.theme || a.value,
2322
2324
  children: t.default?.()
@@ -2325,7 +2327,7 @@ const Gi = /* @__PURE__ */ y((e, {
2325
2327
  name: "LumxTable",
2326
2328
  inheritAttrs: !1,
2327
2329
  props: A()("class", "hasBefore", "hasDividers", "theme")
2328
- }), Fo = `${fe}__body`, zo = (e) => {
2330
+ }), Go = `${ue}__body`, Uo = (e) => {
2329
2331
  const {
2330
2332
  children: t,
2331
2333
  className: r,
@@ -2335,13 +2337,13 @@ const Gi = /* @__PURE__ */ y((e, {
2335
2337
  return l("tbody", h({
2336
2338
  ref: a
2337
2339
  }, n, {
2338
- className: N(r, Fo)
2340
+ className: N(r, Go)
2339
2341
  }), [t]);
2340
- }, Ji = /* @__PURE__ */ y((e, {
2342
+ }, Qi = /* @__PURE__ */ y((e, {
2341
2343
  slots: t
2342
2344
  }) => {
2343
- const r = P();
2344
- return () => l(zo, h(e, r, {
2345
+ const r = S();
2346
+ return () => l(Uo, h(e, r, {
2345
2347
  className: e.class,
2346
2348
  children: t.default?.()
2347
2349
  }), null);
@@ -2349,17 +2351,17 @@ const Gi = /* @__PURE__ */ y((e, {
2349
2351
  name: "LumxTableBody",
2350
2352
  inheritAttrs: !1,
2351
2353
  props: A()("class")
2352
- }), ge = {
2354
+ }), ye = {
2353
2355
  asc: "asc",
2354
2356
  desc: "desc"
2355
- }, Et = {
2357
+ }, It = {
2356
2358
  body: "body",
2357
2359
  head: "head"
2358
- }, G = `${fe}__cell`, {
2359
- block: Hr
2360
- } = T(G), Go = {
2361
- variant: Et.body
2362
- }, Uo = (e) => {
2360
+ }, G = `${ue}__cell`, {
2361
+ block: Wr
2362
+ } = T(G), Ho = {
2363
+ variant: It.body
2364
+ }, Vo = (e) => {
2363
2365
  const {
2364
2366
  children: t,
2365
2367
  className: r,
@@ -2368,17 +2370,17 @@ const Gi = /* @__PURE__ */ y((e, {
2368
2370
  handleClick: s,
2369
2371
  ref: o,
2370
2372
  sortOrder: i,
2371
- variant: u = Go.variant,
2373
+ variant: u = Ho.variant,
2372
2374
  ...c
2373
2375
  } = e, d = s ? "button" : "div", f = d === "button" ? {
2374
2376
  type: "button",
2375
2377
  onClick: s
2376
2378
  } : void 0;
2377
2379
  let m;
2378
- return n && (m = "none", i === ge.asc && (m = "ascending"), i === ge.desc && (m = "descending")), l(U, null, [u === Et.head && l("th", h({
2380
+ return n && (m = "none", i === ye.asc && (m = "ascending"), i === ye.desc && (m = "descending")), l(U, null, [u === It.head && l("th", h({
2379
2381
  ref: o
2380
2382
  }, c, {
2381
- className: N(r, Hr({
2383
+ className: N(r, Wr({
2382
2384
  "is-sortable": n,
2383
2385
  "is-sorted": n && !!i,
2384
2386
  head: !0
@@ -2391,37 +2393,37 @@ const Gi = /* @__PURE__ */ y((e, {
2391
2393
  className: `${G}-icon`,
2392
2394
  icon: a,
2393
2395
  size: w.xxs
2394
- }), n && i === ge.asc && I({
2396
+ }), n && i === ye.asc && I({
2395
2397
  className: `${G}-icon`,
2396
- icon: Va,
2398
+ icon: Ka,
2397
2399
  size: w.xxs
2398
- }), n && i === ge.desc && I({
2400
+ }), n && i === ye.desc && I({
2399
2401
  className: `${G}-icon`,
2400
- icon: Ha,
2402
+ icon: Wa,
2401
2403
  size: w.xxs
2402
2404
  }), l("div", {
2403
2405
  className: `${G}-content`
2404
2406
  }, [t])]
2405
- })]), u === Et.body && l("td", h({
2407
+ })]), u === It.body && l("td", h({
2406
2408
  ref: o
2407
2409
  }, c, {
2408
- className: N(r, Hr({
2410
+ className: N(r, Wr({
2409
2411
  body: !0
2410
2412
  }))
2411
2413
  }), [l("div", {
2412
2414
  className: `${G}-content`
2413
2415
  }, [t])])]);
2414
- }, wt = (e) => Yr()?.vnode.props?.[e] !== void 0, Ho = {
2416
+ }, Lt = (e) => Xr()?.vnode.props?.[e] !== void 0, Wo = {
2415
2417
  headerClick: () => !0
2416
- }, Xi = /* @__PURE__ */ y((e, {
2418
+ }, Zi = /* @__PURE__ */ y((e, {
2417
2419
  emit: t,
2418
2420
  slots: r,
2419
2421
  attrs: a
2420
2422
  }) => {
2421
2423
  const n = () => {
2422
2424
  t("headerClick");
2423
- }, s = wt("onHeaderClick");
2424
- return () => l(Uo, h(e, a, {
2425
+ }, s = Lt("onHeaderClick");
2426
+ return () => l(Vo, h(e, a, {
2425
2427
  className: e.class,
2426
2428
  handleClick: s ? n : void 0,
2427
2429
  children: r.default?.()
@@ -2430,8 +2432,8 @@ const Gi = /* @__PURE__ */ y((e, {
2430
2432
  name: "LumxTableCell",
2431
2433
  inheritAttrs: !1,
2432
2434
  props: A()("class", "icon", "isSortable", "sortOrder", "variant"),
2433
- emits: Ho
2434
- }), Vo = `${fe}__header`, Wo = (e) => {
2435
+ emits: Wo
2436
+ }), Ko = `${ue}__header`, Yo = (e) => {
2435
2437
  const {
2436
2438
  children: t,
2437
2439
  className: r,
@@ -2441,13 +2443,13 @@ const Gi = /* @__PURE__ */ y((e, {
2441
2443
  return l("thead", h({
2442
2444
  ref: a
2443
2445
  }, n, {
2444
- className: N(r, Vo)
2446
+ className: N(r, Ko)
2445
2447
  }), [t]);
2446
- }, Qi = /* @__PURE__ */ y((e, {
2448
+ }, el = /* @__PURE__ */ y((e, {
2447
2449
  slots: t
2448
2450
  }) => {
2449
- const r = P();
2450
- return () => l(Wo, h(e, r, {
2451
+ const r = S();
2452
+ return () => l(Yo, h(e, r, {
2451
2453
  className: e.class,
2452
2454
  children: t.default?.()
2453
2455
  }), null);
@@ -2455,9 +2457,9 @@ const Gi = /* @__PURE__ */ y((e, {
2455
2457
  name: "LumxTableHeader",
2456
2458
  inheritAttrs: !1,
2457
2459
  props: A()("class")
2458
- }), Ko = `${fe}__row`, {
2459
- block: Yo
2460
- } = T(Ko), Jo = (e) => {
2460
+ }), Jo = `${ue}__row`, {
2461
+ block: Xo
2462
+ } = T(Jo), Qo = (e) => {
2461
2463
  const {
2462
2464
  children: t,
2463
2465
  className: r,
@@ -2474,23 +2476,23 @@ const Gi = /* @__PURE__ */ y((e, {
2474
2476
  }, o !== void 0 ? {
2475
2477
  tabIndex: o
2476
2478
  } : {}, u, {
2477
- className: N(r, Yo({
2479
+ className: N(r, Xo({
2478
2480
  "is-clickable": a && !c,
2479
2481
  "is-disabled": c,
2480
2482
  "is-selected": n && !c
2481
2483
  }))
2482
2484
  }), [t]);
2483
- }, Zi = /* @__PURE__ */ y((e, {
2485
+ }, tl = /* @__PURE__ */ y((e, {
2484
2486
  slots: t
2485
2487
  }) => {
2486
- const r = P(), {
2488
+ const r = S(), {
2487
2489
  isAnyDisabled: a,
2488
2490
  otherProps: n
2489
2491
  } = z($(() => ({
2490
2492
  ...e,
2491
2493
  ...r
2492
2494
  })));
2493
- return () => l(Jo, h(n.value, {
2495
+ return () => l(Qo, h(n.value, {
2494
2496
  className: e.class,
2495
2497
  tabIndex: e.isClickable && !a.value ? 0 : -1,
2496
2498
  "aria-disabled": a.value,
@@ -2501,10 +2503,10 @@ const Gi = /* @__PURE__ */ y((e, {
2501
2503
  inheritAttrs: !1,
2502
2504
  props: A()("class", "isClickable", "isDisabled", "isSelected")
2503
2505
  });
2504
- function St(e, t) {
2506
+ function kt(e, t) {
2505
2507
  return t?.type === "error" || e?.complete && !e.getAttribute("src") ? "hasError" : !e || !e.complete ? "isLoading" : "isLoaded";
2506
2508
  }
2507
- function Xo({
2509
+ function Zo({
2508
2510
  image: e,
2509
2511
  aspectRatio: t,
2510
2512
  focusPoint: r,
@@ -2513,14 +2515,14 @@ function Xo({
2513
2515
  element: s,
2514
2516
  isLoaded: o
2515
2517
  }) {
2516
- if (!(!e || t === Xr.original || !r?.x && !r?.y)) {
2518
+ if (!(!e || t === Zr.original || !r?.x && !r?.y)) {
2517
2519
  if (typeof a == "number" && typeof n == "number")
2518
2520
  return { width: a, height: n };
2519
2521
  if (s && o)
2520
2522
  return { width: s.naturalWidth, height: s.naturalHeight };
2521
2523
  }
2522
2524
  }
2523
- function Vr({
2525
+ function Kr({
2524
2526
  scale: e,
2525
2527
  focusPoint: t,
2526
2528
  imageSize: r,
@@ -2531,7 +2533,7 @@ function Vr({
2531
2533
  const i = (t * n - a / 2) / (n - a);
2532
2534
  return Math.floor(Math.max(Math.min(i, 1), 0) * 100);
2533
2535
  }
2534
- function Qo({
2536
+ function ei({
2535
2537
  image: e,
2536
2538
  aspectRatio: t,
2537
2539
  focusPoint: r,
@@ -2539,41 +2541,41 @@ function Qo({
2539
2541
  imageSize: n,
2540
2542
  containerSize: s
2541
2543
  }) {
2542
- if (!e || t === Xr.original || !r?.x && !r?.y)
2544
+ if (!e || t === Zr.original || !r?.x && !r?.y)
2543
2545
  return {};
2544
2546
  if (!a || !n)
2545
2547
  return { visibility: "hidden" };
2546
2548
  if (!s || !n.height || !n.width)
2547
2549
  return {};
2548
- const o = n.height / s.height, i = n.width / s.width, u = Math.min(i, o), c = Math.abs((r?.y || 0) - 1) / 2, d = Vr({
2550
+ const o = n.height / s.height, i = n.width / s.width, u = Math.min(i, o), c = Math.abs((r?.y || 0) - 1) / 2, d = Kr({
2549
2551
  scale: u,
2550
2552
  focusPoint: c,
2551
2553
  imageSize: n.height,
2552
2554
  containerSize: s.height
2553
2555
  }), f = Math.abs((r?.x || 0) + 1) / 2;
2554
- return { objectPosition: `${Vr({
2556
+ return { objectPosition: `${Kr({
2555
2557
  scale: u,
2556
2558
  focusPoint: f,
2557
2559
  imageSize: n.width,
2558
2560
  containerSize: s.width
2559
2561
  })}% ${d}%` };
2560
2562
  }
2561
- const Zo = "lumx-thumbnail", {
2562
- block: ei,
2563
- element: oe
2564
- } = Z.bem(Zo), Wr = {
2565
- fallback: Wa,
2563
+ const ti = "lumx-thumbnail", {
2564
+ block: ri,
2565
+ element: ne
2566
+ } = Q.bem(ti), Yr = {
2567
+ fallback: Ya,
2566
2568
  loading: "lazy"
2567
- }, ti = (e) => {
2569
+ }, ai = (e) => {
2568
2570
  const {
2569
2571
  align: t,
2570
2572
  alt: r,
2571
- aspectRatio: a = Ca.original,
2573
+ aspectRatio: a = xa.original,
2572
2574
  badge: n,
2573
2575
  className: s,
2574
2576
  crossOrigin: o,
2575
2577
  ref: i,
2576
- fallback: u = Wr.fallback,
2578
+ fallback: u = Yr.fallback,
2577
2579
  focusPointStyle: c,
2578
2580
  fillHeight: d,
2579
2581
  image: f,
@@ -2581,93 +2583,97 @@ const Zo = "lumx-thumbnail", {
2581
2583
  imgRef: p,
2582
2584
  isLoading: g,
2583
2585
  objectFit: b,
2584
- loading: v = Wr.loading,
2586
+ loading: v = Yr.loading,
2585
2587
  loadingPlaceholderImageRef: C,
2586
2588
  isAnyDisabled: k,
2587
2589
  disabledStateProps: _,
2588
2590
  size: O,
2589
2591
  theme: L,
2590
2592
  loadingState: B,
2591
- variant: me,
2593
+ variant: de,
2592
2594
  linkProps: Y,
2593
- linkAs: he,
2594
- ...te
2595
- } = e, S = g || B === "isLoading", J = B === "hasError", R = J && typeof u == "string", Ft = J && !R, _e = {};
2596
- R ? _e.visibility = "hidden" : Ft && (_e.display = "none");
2597
- const zt = !!(Y?.href || he), xe = !k && !!(zt || te.onClick), re = {
2598
- ...te
2595
+ linkAs: fe,
2596
+ handleClick: me,
2597
+ handleKeyPress: P,
2598
+ ...he
2599
+ } = e, R = g || B === "isLoading", pe = B === "hasError", be = pe && typeof u == "string", Gt = pe && !be, Ee = {};
2600
+ be ? Ee.visibility = "hidden" : Gt && (Ee.display = "none");
2601
+ const Ut = !!(Y?.href || fe), we = !k && !!(Ut || me || P), ee = {
2602
+ ...he
2599
2603
  };
2600
- xe && (Object.assign(re, {
2601
- as: he || (Y?.href ? "a" : "button")
2602
- }, _), zt ? Object.assign(re, Y) : re["aria-label"] = te["aria-label"] || r);
2603
- const Gt = Z.join(Y?.className, s, ei({
2604
+ we && (Object.assign(ee, {
2605
+ as: fe || (Y?.href ? "a" : "button")
2606
+ }, _), Ut ? Object.assign(ee, Y) : ee["aria-label"] = he["aria-label"] || r);
2607
+ const Ht = Q.join(Y?.className, s, ri({
2604
2608
  [`align-${t}`]: !!t,
2605
2609
  [`aspect-ratio-${a}`]: !!a,
2606
2610
  [`size-${O}`]: !!O,
2607
2611
  [`theme-${L}`]: !!L,
2608
- [`variant-${me}`]: !!me,
2609
- "is-clickable": xe,
2610
- "has-error": J,
2611
- "has-icon-error-fallback": R,
2612
- "has-custom-error-fallback": Ft,
2613
- "is-loading": S,
2612
+ [`variant-${de}`]: !!de,
2613
+ "is-clickable": we,
2614
+ "has-error": pe,
2615
+ "has-icon-error-fallback": be,
2616
+ "has-custom-error-fallback": Gt,
2617
+ "is-loading": R,
2614
2618
  [`object-fit-${b}`]: !!b,
2615
2619
  "has-badge": !!n,
2616
2620
  "fill-height": d
2617
- })), ae = S && C?.current?.complete && C?.current || void 0, ka = ae ? {
2618
- backgroundImage: `url(${ae.src})`
2619
- } : void 0, Ut = l(U, null, [l("span", {
2620
- className: oe("background")
2621
+ })), te = R && C?.current?.complete && C?.current || void 0, Ta = te ? {
2622
+ backgroundImage: `url(${te.src})`
2623
+ } : void 0, Vt = l(U, null, [l("span", {
2624
+ className: ne("background")
2621
2625
  }, [l("img", h({
2622
- width: ae?.naturalWidth,
2623
- height: ae?.naturalHeight
2626
+ width: te?.naturalWidth,
2627
+ height: te?.naturalHeight
2624
2628
  }, m, {
2625
2629
  style: {
2626
2630
  // Reserve space while loading (when possible)
2627
- width: S ? m?.width || ae?.naturalWidth : void 0,
2631
+ width: R ? m?.width || te?.naturalWidth : void 0,
2628
2632
  ...m?.style,
2629
- ..._e,
2633
+ ...Ee,
2630
2634
  ...c,
2631
- ...ka
2635
+ ...Ta
2632
2636
  },
2633
2637
  ref: p,
2634
- className: Z.join(oe("image", {
2635
- "is-loading": S,
2638
+ className: Q.join(ne("image", {
2639
+ "is-loading": R,
2636
2640
  "has-defined-size": !!(m?.height && m.width)
2637
2641
  }), m?.className),
2638
2642
  crossOrigin: o,
2639
2643
  src: f,
2640
2644
  alt: r,
2641
2645
  loading: v
2642
- }), null), !S && J && l("span", {
2643
- className: oe("fallback")
2644
- }, [R ? I({
2646
+ }), null), !R && pe && l("span", {
2647
+ className: ne("fallback")
2648
+ }, [be ? I({
2645
2649
  icon: u,
2646
- size: _a.xxs,
2650
+ size: Ea.xxs,
2647
2651
  theme: L
2648
2652
  }) : u])]), n]);
2649
- return xe ? la({
2653
+ return we ? ua({
2650
2654
  ref: i,
2651
- ...re,
2652
- className: Gt,
2653
- children: Ut
2655
+ ...ee,
2656
+ className: Ht,
2657
+ children: Vt,
2658
+ handleClick: me,
2659
+ handleKeyPress: P
2654
2660
  }) : l("div", h({
2655
2661
  ref: i
2656
- }, re, {
2657
- className: Gt
2658
- }), [Ut]);
2662
+ }, ee, {
2663
+ className: Ht
2664
+ }), [Vt]);
2659
2665
  };
2660
- function ri(e, t) {
2661
- const r = ie(St(t.value));
2666
+ function ni(e, t) {
2667
+ const r = se(kt(t.value));
2662
2668
  V(
2663
2669
  [e, t],
2664
2670
  () => {
2665
- r.value = St(t.value);
2671
+ r.value = kt(t.value);
2666
2672
  },
2667
2673
  { immediate: !0 }
2668
2674
  );
2669
2675
  const a = (n) => {
2670
- t.value && (r.value = St(t.value, n));
2676
+ t.value && (r.value = kt(t.value, n));
2671
2677
  };
2672
2678
  return V(
2673
2679
  t,
@@ -2675,13 +2681,13 @@ function ri(e, t) {
2675
2681
  s && (s.removeEventListener("load", a), s.removeEventListener("error", a)), n && (n.addEventListener("load", a), n.addEventListener("error", a));
2676
2682
  },
2677
2683
  { immediate: !0 }
2678
- ), Ra(() => {
2684
+ ), Ma(() => {
2679
2685
  t.value && (t.value.removeEventListener("load", a), t.value.removeEventListener("error", a));
2680
2686
  }), r;
2681
2687
  }
2682
- function ai(e) {
2688
+ function si(e) {
2683
2689
  const { image: t, aspectRatio: r, focusPoint: a, width: n, height: s, element: o, isLoaded: i } = e, u = $(
2684
- () => Xo({
2690
+ () => Zo({
2685
2691
  image: t.value,
2686
2692
  aspectRatio: r.value,
2687
2693
  focusPoint: a.value,
@@ -2690,7 +2696,7 @@ function ai(e) {
2690
2696
  element: o.value,
2691
2697
  isLoaded: i.value
2692
2698
  })
2693
- ), c = ie(void 0), d = () => {
2699
+ ), c = se(void 0), d = () => {
2694
2700
  const m = o.value?.offsetWidth, p = o.value?.offsetHeight;
2695
2701
  if (m && p) {
2696
2702
  const g = c.value;
@@ -2700,11 +2706,11 @@ function ai(e) {
2700
2706
  return V(
2701
2707
  [() => o.value?.offsetWidth, () => o.value?.offsetHeight, u],
2702
2708
  () => {
2703
- ja(d);
2709
+ qa(d);
2704
2710
  },
2705
2711
  { immediate: !0 }
2706
2712
  ), $(
2707
- () => Qo({
2713
+ () => ei({
2708
2714
  image: t.value,
2709
2715
  aspectRatio: r.value,
2710
2716
  focusPoint: a.value,
@@ -2714,26 +2720,26 @@ function ai(e) {
2714
2720
  })
2715
2721
  );
2716
2722
  }
2717
- const ni = {
2723
+ const oi = {
2718
2724
  click: (e) => e instanceof Event,
2719
2725
  keyPress: (e) => e instanceof Event
2720
- }, el = /* @__PURE__ */ y((e, {
2726
+ }, rl = /* @__PURE__ */ y((e, {
2721
2727
  emit: t,
2722
2728
  slots: r
2723
2729
  }) => {
2724
- const a = P(), n = x(), s = ie(), o = wt("onClick"), i = wt("onKeyPress"), {
2730
+ const a = S(), n = x(), s = se(), o = Lt("onClick"), i = Lt("onKeyPress"), {
2725
2731
  isAnyDisabled: u,
2726
2732
  disabledStateProps: c,
2727
2733
  otherProps: d
2728
2734
  } = z($(() => ({
2729
2735
  ...e,
2730
2736
  ...a
2731
- }))), f = ri(X(() => e.image), s), m = $(() => f.value === "isLoaded"), p = ai({
2732
- image: X(() => e.image),
2733
- aspectRatio: X(() => e.aspectRatio),
2734
- focusPoint: X(() => e.focusPoint),
2735
- width: X(() => typeof e.imgProps?.width == "number" ? e.imgProps.width : void 0),
2736
- height: X(() => typeof e.imgProps?.height == "number" ? e.imgProps.height : void 0),
2737
+ }))), f = ni(J(() => e.image), s), m = $(() => f.value === "isLoaded"), p = si({
2738
+ image: J(() => e.image),
2739
+ aspectRatio: J(() => e.aspectRatio),
2740
+ focusPoint: J(() => e.focusPoint),
2741
+ width: J(() => typeof e.imgProps?.width == "number" ? e.imgProps.width : void 0),
2742
+ height: J(() => typeof e.imgProps?.height == "number" ? e.imgProps.height : void 0),
2737
2743
  element: s,
2738
2744
  isLoaded: m
2739
2745
  }), g = (v) => {
@@ -2743,7 +2749,7 @@ const ni = {
2743
2749
  };
2744
2750
  return () => {
2745
2751
  const v = r.badge?.(), C = r.fallback?.();
2746
- return l(ti, h(d.value, {
2752
+ return l(ai, h(d.value, {
2747
2753
  className: e.class,
2748
2754
  theme: e.theme || n.value,
2749
2755
  isAnyDisabled: u.value,
@@ -2752,20 +2758,20 @@ const ni = {
2752
2758
  loadingState: f.value,
2753
2759
  imgRef: s,
2754
2760
  image: e.image,
2755
- onClick: o ? g : void 0,
2756
- onKeyPress: i ? b : void 0,
2761
+ handleClick: o ? g : void 0,
2762
+ handleKeyPress: i ? b : void 0,
2757
2763
  fallback: C,
2758
2764
  badge: v && (Array.isArray(v) ? v.map((k) => ({
2759
2765
  ...k,
2760
2766
  props: {
2761
2767
  ...k.props,
2762
- class: Z.join(oe("badge"), k.props?.class)
2768
+ class: Q.join(ne("badge"), k.props?.class)
2763
2769
  }
2764
2770
  })) : {
2765
2771
  ...v,
2766
2772
  props: {
2767
2773
  ...v.props,
2768
- class: Z.join(oe("badge"), v.props?.class)
2774
+ class: Q.join(ne("badge"), v.props?.class)
2769
2775
  }
2770
2776
  })
2771
2777
  }), null);
@@ -2774,17 +2780,17 @@ const ni = {
2774
2780
  name: "LumxThumbnail",
2775
2781
  inheritAttrs: !1,
2776
2782
  props: A()("align", "alt", "aspectRatio", "class", "crossOrigin", "fillHeight", "focusPoint", "image", "imgProps", "isLoading", "linkAs", "linkProps", "loading", "loadingPlaceholderImageRef", "objectFit", "size", "theme", "variant", "aria-disabled", "aria-label"),
2777
- emits: ni
2778
- }), tl = {
2783
+ emits: oi
2784
+ }), al = {
2779
2785
  squared: "squared",
2780
2786
  rounded: "rounded"
2781
- }, rl = {
2787
+ }, nl = {
2782
2788
  cover: "cover",
2783
2789
  contain: "contain"
2784
- }, al = "Toolbar", si = "lumx-toolbar", {
2785
- block: oi,
2786
- element: Pt
2787
- } = T(si), ii = (e) => {
2790
+ }, sl = "Toolbar", ii = "lumx-toolbar", {
2791
+ block: li,
2792
+ element: $t
2793
+ } = T(ii), ci = (e) => {
2788
2794
  const {
2789
2795
  after: t,
2790
2796
  before: r,
@@ -2796,23 +2802,23 @@ const ni = {
2796
2802
  return l("div", h({
2797
2803
  ref: s
2798
2804
  }, o, {
2799
- className: N(a, oi({
2805
+ className: N(a, li({
2800
2806
  "has-after": !!t,
2801
2807
  "has-before": !!r,
2802
2808
  "has-label": !!n
2803
2809
  }))
2804
2810
  }), [r && l("div", {
2805
- className: Pt("before")
2811
+ className: $t("before")
2806
2812
  }, [r]), n && l("div", {
2807
- className: Pt("label")
2813
+ className: $t("label")
2808
2814
  }, [n]), t && l("div", {
2809
- className: Pt("after")
2815
+ className: $t("after")
2810
2816
  }, [t])]);
2811
- }, nl = /* @__PURE__ */ y((e, {
2817
+ }, ol = /* @__PURE__ */ y((e, {
2812
2818
  slots: t
2813
2819
  }) => {
2814
- const r = P();
2815
- return () => l(ii, h(e, r, {
2820
+ const r = S();
2821
+ return () => l(ci, h(e, r, {
2816
2822
  className: e.class,
2817
2823
  label: t.default?.(),
2818
2824
  before: t.before?.(),
@@ -2824,55 +2830,55 @@ const ni = {
2824
2830
  props: A()("class")
2825
2831
  });
2826
2832
  export {
2827
- Si as Badge,
2828
- Pi as BadgeWrapper,
2829
- ki as Button,
2830
- Ti as ButtonGroup,
2831
- Oo as CLASSNAME,
2832
- Wi as COMPONENT_NAME,
2833
- Ci as Checkbox,
2834
- Ro as DEFAULT_PROPS,
2835
- _i as Divider,
2836
- xi as Flag,
2837
- Ei as FlexBox,
2838
- ya as GRID_COLUMN_CLASSNAME,
2839
- Ws as GRID_COLUMN_COMPONENT_NAME,
2840
- wi as GridColumn,
2841
- Ii as Heading,
2842
- Li as HeadingLevelProvider,
2843
- Tt as Icon,
2844
- $i as IconButton,
2845
- Oi as InputHelper,
2846
- Bi as InputLabel,
2847
- Ri as Link,
2848
- ji as Message,
2849
- lo as PROGRESS_CIRCULAR_CLASSNAME,
2850
- Mi as PROGRESS_CIRCULAR_COMPONENT_NAME,
2851
- fo as PROGRESS_LINEAR_CLASSNAME,
2852
- Di as PROGRESS_LINEAR_COMPONENT_NAME,
2853
- qi as ProgressCircular,
2854
- Fi as ProgressLinear,
2855
- zi as RadioButton,
2856
- Gi as RadioGroup,
2857
- Ui as SkeletonCircle,
2858
- Hi as SkeletonRectangle,
2859
- ko as SkeletonRectangleVariant,
2860
- Vi as SkeletonTypography,
2861
- Ki as Switch,
2862
- al as TOOLBAR_NAME,
2863
- Yi as Table,
2864
- Ji as TableBody,
2865
- Xi as TableCell,
2866
- Et as TableCellVariant,
2867
- Qi as TableHeader,
2868
- Zi as TableRow,
2869
- Mt as Text,
2870
- ge as ThOrder,
2871
- el as Thumbnail,
2872
- rl as ThumbnailObjectFit,
2873
- tl as ThumbnailVariant,
2874
- nl as Toolbar,
2875
- Ho as emitSchema,
2876
- Aa as useHeadingLevel
2833
+ ki as Badge,
2834
+ $i as BadgeWrapper,
2835
+ Ti as Button,
2836
+ _i as ButtonGroup,
2837
+ Ro as CLASSNAME,
2838
+ Yi as COMPONENT_NAME,
2839
+ xi as Checkbox,
2840
+ Mo as DEFAULT_PROPS,
2841
+ Ei as Divider,
2842
+ wi as Flag,
2843
+ Ii as FlexBox,
2844
+ Aa as GRID_COLUMN_CLASSNAME,
2845
+ Ys as GRID_COLUMN_COMPONENT_NAME,
2846
+ Li as GridColumn,
2847
+ Oi as Heading,
2848
+ Bi as HeadingLevelProvider,
2849
+ _t as Icon,
2850
+ Ci as IconButton,
2851
+ Ri as InputHelper,
2852
+ ji as InputLabel,
2853
+ Mi as Link,
2854
+ qi as Message,
2855
+ uo as PROGRESS_CIRCULAR_CLASSNAME,
2856
+ Di as PROGRESS_CIRCULAR_COMPONENT_NAME,
2857
+ ho as PROGRESS_LINEAR_CLASSNAME,
2858
+ zi as PROGRESS_LINEAR_COMPONENT_NAME,
2859
+ Fi as ProgressCircular,
2860
+ Gi as ProgressLinear,
2861
+ Ui as RadioButton,
2862
+ Hi as RadioGroup,
2863
+ Vi as SkeletonCircle,
2864
+ Wi as SkeletonRectangle,
2865
+ To as SkeletonRectangleVariant,
2866
+ Ki as SkeletonTypography,
2867
+ Ji as Switch,
2868
+ sl as TOOLBAR_NAME,
2869
+ Xi as Table,
2870
+ Qi as TableBody,
2871
+ Zi as TableCell,
2872
+ It as TableCellVariant,
2873
+ el as TableHeader,
2874
+ tl as TableRow,
2875
+ Dt as Text,
2876
+ ye as ThOrder,
2877
+ rl as Thumbnail,
2878
+ nl as ThumbnailObjectFit,
2879
+ al as ThumbnailVariant,
2880
+ ol as Toolbar,
2881
+ Wo as emitSchema,
2882
+ Pa as useHeadingLevel
2877
2883
  };
2878
2884
  //# sourceMappingURL=index.js.map