@atelier-ui/vue 0.0.31 → 0.0.32

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.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { defineComponent as v, ref as C, provide as H, computed as p, openBlock as s, createElementBlock as o, normalizeClass as y, renderSlot as b, useId as O, inject as q, onMounted as E, watch as z, onBeforeUnmount as j, createElementVNode as c, toDisplayString as L, createCommentVNode as w, useSlots as ue, Fragment as B, renderList as R, createBlock as W, resolveDynamicComponent as ce, normalizeStyle as G, unref as M, withModifiers as V, onUnmounted as J, createTextVNode as F, createVNode as me, nextTick as Z, useTemplateRef as Q, toRef as fe } from "vue";
2
- const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
1
+ import { defineComponent as v, ref as C, provide as H, computed as p, openBlock as s, createElementBlock as o, normalizeClass as y, renderSlot as b, useId as O, inject as q, onMounted as E, watch as R, onBeforeUnmount as j, createElementVNode as c, toDisplayString as L, createCommentVNode as w, useSlots as ue, Fragment as B, renderList as z, createBlock as W, resolveDynamicComponent as ce, normalizeStyle as P, unref as M, withModifiers as V, onUnmounted as J, createTextVNode as G, createVNode as me, nextTick as Y, useTemplateRef as Z, toRef as fe } from "vue";
2
+ const Q = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
3
3
  name: "LlmAccordionGroup",
4
4
  __name: "llm-accordion-group",
5
5
  props: {
@@ -18,7 +18,7 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
18
18
  function u(i) {
19
19
  n.delete(i);
20
20
  }
21
- H(X, {
21
+ H(Q, {
22
22
  get multi() {
23
23
  return t.multi;
24
24
  },
@@ -34,7 +34,7 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
34
34
  b(i.$slots, "default")
35
35
  ], 2));
36
36
  }
37
- }), pe = { class: "accordion-heading" }, ve = ["aria-expanded", "disabled"], _t = /* @__PURE__ */ v({
37
+ }), pe = { class: "accordion-heading" }, ve = ["aria-expanded", "disabled"], wt = /* @__PURE__ */ v({
38
38
  name: "LlmAccordionItem",
39
39
  __name: "llm-accordion-item",
40
40
  props: {
@@ -43,7 +43,7 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
43
43
  },
44
44
  emits: ["update:expanded"],
45
45
  setup(e, { emit: t }) {
46
- const a = e, n = t, l = O(), d = `llm-accordion-trigger-${l}`, u = `llm-accordion-panel-${l}`, r = q(X, null), i = C(null), m = p(() => r ? r.openItems.value.has(l) : a.expanded ?? !1);
46
+ const a = e, n = t, l = O(), d = `llm-accordion-trigger-${l}`, u = `llm-accordion-panel-${l}`, r = q(Q, null), i = C(null), m = p(() => r ? r.openItems.value.has(l) : a.expanded ?? !1);
47
47
  function $() {
48
48
  a.disabled || (r ? r.toggleItem(l) : n("update:expanded", !m.value));
49
49
  }
@@ -51,12 +51,12 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
51
51
  if (!r) return;
52
52
  const f = Array.from(
53
53
  document.querySelectorAll(".llm-accordion-item:not(.is-disabled) .accordion-trigger")
54
- ), T = f.indexOf(g.currentTarget);
55
- g.key === "ArrowDown" ? (g.preventDefault(), f[(T + 1) % f.length]?.focus()) : g.key === "ArrowUp" ? (g.preventDefault(), f[(T - 1 + f.length) % f.length]?.focus()) : g.key === "Home" ? (g.preventDefault(), f[0]?.focus()) : g.key === "End" && (g.preventDefault(), f[f.length - 1]?.focus());
54
+ ), I = f.indexOf(g.currentTarget);
55
+ g.key === "ArrowDown" ? (g.preventDefault(), f[(I + 1) % f.length]?.focus()) : g.key === "ArrowUp" ? (g.preventDefault(), f[(I - 1 + f.length) % f.length]?.focus()) : g.key === "Home" ? (g.preventDefault(), f[0]?.focus()) : g.key === "End" && (g.preventDefault(), f[f.length - 1]?.focus());
56
56
  }
57
57
  E(() => {
58
58
  r && i.value && r.registerItem(l, i.value), !r && a.expanded;
59
- }), z(
59
+ }), R(
60
60
  () => a.expanded,
61
61
  (g) => {
62
62
  if (!r || g === void 0) return;
@@ -121,7 +121,7 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
121
121
  ], 2)
122
122
  ], 2));
123
123
  }
124
- }), he = { class: "accordion-header-content" }, wt = /* @__PURE__ */ v({
124
+ }), he = { class: "accordion-header-content" }, Lt = /* @__PURE__ */ v({
125
125
  name: "LlmAccordionHeader",
126
126
  __name: "llm-accordion-header",
127
127
  setup(e) {
@@ -132,7 +132,7 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
132
132
  }), be = ["aria-live"], ge = { class: "content" }, ye = {
133
133
  class: "variant-icon",
134
134
  "aria-hidden": "true"
135
- }, Lt = /* @__PURE__ */ v({
135
+ }, xt = /* @__PURE__ */ v({
136
136
  name: "LlmAlert",
137
137
  __name: "llm-alert",
138
138
  props: {
@@ -203,7 +203,7 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
203
203
  viewBox: "0 0 24 24",
204
204
  fill: "currentColor",
205
205
  "aria-hidden": "true"
206
- }, xt = /* @__PURE__ */ v({
206
+ }, Ct = /* @__PURE__ */ v({
207
207
  name: "LlmAvatar",
208
208
  __name: "llm-avatar",
209
209
  props: {
@@ -216,7 +216,7 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
216
216
  },
217
217
  setup(e) {
218
218
  const t = e, a = C(!1);
219
- z(() => t.src, () => {
219
+ R(() => t.src, () => {
220
220
  a.value = !1;
221
221
  });
222
222
  function n(r) {
@@ -247,7 +247,7 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
247
247
  }, null, 2)) : w("", !0)
248
248
  ], 10, $e));
249
249
  }
250
- }), Le = ["aria-label"], Ct = /* @__PURE__ */ v({
250
+ }), Le = ["aria-label"], Bt = /* @__PURE__ */ v({
251
251
  name: "LlmAvatarGroup",
252
252
  __name: "llm-avatar-group",
253
253
  props: {
@@ -259,7 +259,7 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
259
259
  return (u, r) => (s(), o("div", {
260
260
  class: y(["llm-avatar-group", `size-${e.size}`])
261
261
  }, [
262
- (s(!0), o(B, null, R(l.value, (i, m) => (s(), W(ce(i), { key: m }))), 128)),
262
+ (s(!0), o(B, null, z(l.value, (i, m) => (s(), W(ce(i), { key: m }))), 128)),
263
263
  d.value > 0 ? (s(), o("div", {
264
264
  key: 0,
265
265
  class: y(`overflow-badge size-${e.size}`),
@@ -271,7 +271,7 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
271
271
  key: 0,
272
272
  class: "variant-icon",
273
273
  "aria-hidden": "true"
274
- }, Bt = /* @__PURE__ */ v({
274
+ }, It = /* @__PURE__ */ v({
275
275
  name: "LlmBadge",
276
276
  __name: "llm-badge",
277
277
  props: {
@@ -298,7 +298,46 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
298
298
  b(d.$slots, "default")
299
299
  ], 2));
300
300
  }
301
- }), Ce = { class: "breadcrumbs-list" }, Tt = /* @__PURE__ */ v({
301
+ }), Ce = ["role", "aria-label", "aria-hidden"], Tt = /* @__PURE__ */ v({
302
+ name: "LlmIcon",
303
+ __name: "llm-icon",
304
+ props: {
305
+ name: {},
306
+ size: { default: "md" },
307
+ label: { default: void 0 }
308
+ },
309
+ setup(e) {
310
+ const t = e, a = {
311
+ success: "✓",
312
+ warning: "⚠",
313
+ danger: "✕",
314
+ info: "ℹ",
315
+ error: "!",
316
+ "chevron-up": "▲",
317
+ "chevron-down": "▼",
318
+ "chevron-left": "‹",
319
+ "chevron-right": "›",
320
+ "sort-asc": "↑",
321
+ "sort-desc": "↓",
322
+ "arrow-right": "→",
323
+ "arrow-left": "←",
324
+ copy: "⎘",
325
+ paste: "⎗",
326
+ add: "⊕",
327
+ edit: "✏",
328
+ delete: "🗑",
329
+ close: "×",
330
+ more: "…",
331
+ "default-toast": "💬"
332
+ }, n = p(() => ["llm-icon", `size-${t.size}`]), l = p(() => a[t.name]);
333
+ return (d, u) => (s(), o("span", {
334
+ class: y(n.value),
335
+ role: e.label ? "img" : void 0,
336
+ "aria-label": e.label || void 0,
337
+ "aria-hidden": e.label ? void 0 : "true"
338
+ }, L(l.value), 11, Ce));
339
+ }
340
+ }), Be = { class: "breadcrumbs-list" }, St = /* @__PURE__ */ v({
302
341
  name: "LlmBreadcrumbs",
303
342
  __name: "llm-breadcrumbs",
304
343
  props: {
@@ -309,14 +348,14 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
309
348
  return (a, n) => (s(), o("nav", {
310
349
  class: "llm-breadcrumbs",
311
350
  "aria-label": "Breadcrumb",
312
- style: G({ "--llm-separator": `'${t.separator}'` })
351
+ style: P({ "--llm-separator": `'${t.separator}'` })
313
352
  }, [
314
- c("ol", Ce, [
353
+ c("ol", Be, [
315
354
  b(a.$slots, "default")
316
355
  ])
317
356
  ], 4));
318
357
  }
319
- }), Be = ["href"], Te = ["aria-current"], It = /* @__PURE__ */ v({
358
+ }), Ie = ["href"], Te = ["aria-current"], Dt = /* @__PURE__ */ v({
320
359
  name: "LlmBreadcrumbItem",
321
360
  __name: "llm-breadcrumb-item",
322
361
  props: {
@@ -337,7 +376,7 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
337
376
  class: "breadcrumb-link"
338
377
  }, [
339
378
  b(n.$slots, "default")
340
- ], 8, Be)) : (s(), o("span", {
379
+ ], 8, Ie)) : (s(), o("span", {
341
380
  key: 1,
342
381
  class: "breadcrumb-current",
343
382
  "aria-current": e.current ? "page" : void 0
@@ -346,11 +385,11 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
346
385
  ], 8, Te))
347
386
  ], 2));
348
387
  }
349
- }), Ie = ["type", "disabled", "aria-disabled"], De = {
388
+ }), Se = ["type", "disabled", "aria-disabled"], De = {
350
389
  key: 0,
351
390
  class: "spinner",
352
391
  "aria-hidden": "true"
353
- }, Dt = /* @__PURE__ */ v({
392
+ }, Mt = /* @__PURE__ */ v({
354
393
  name: "LlmButton",
355
394
  __name: "llm-button",
356
395
  props: {
@@ -376,9 +415,9 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
376
415
  }, [
377
416
  e.loading ? (s(), o("span", De)) : w("", !0),
378
417
  b(l.$slots, "default")
379
- ], 10, Ie));
418
+ ], 10, Se));
380
419
  }
381
- }), St = /* @__PURE__ */ v({
420
+ }), At = /* @__PURE__ */ v({
382
421
  name: "LlmCard",
383
422
  __name: "llm-card",
384
423
  props: {
@@ -397,35 +436,35 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
397
436
  b(n.$slots, "default")
398
437
  ], 2));
399
438
  }
400
- }), Se = { class: "llm-card-header" }, Mt = /* @__PURE__ */ v({
439
+ }), Me = { class: "llm-card-header" }, zt = /* @__PURE__ */ v({
401
440
  name: "LlmCardHeader",
402
441
  __name: "llm-card-header",
403
442
  setup(e) {
404
- return (t, a) => (s(), o("div", Se, [
443
+ return (t, a) => (s(), o("div", Me, [
405
444
  b(t.$slots, "default")
406
445
  ]));
407
446
  }
408
- }), Me = { class: "llm-card-content" }, At = /* @__PURE__ */ v({
447
+ }), Ae = { class: "llm-card-content" }, Rt = /* @__PURE__ */ v({
409
448
  name: "LlmCardContent",
410
449
  __name: "llm-card-content",
411
450
  setup(e) {
412
- return (t, a) => (s(), o("div", Me, [
451
+ return (t, a) => (s(), o("div", Ae, [
413
452
  b(t.$slots, "default")
414
453
  ]));
415
454
  }
416
- }), Ae = { class: "llm-card-footer" }, Rt = /* @__PURE__ */ v({
455
+ }), ze = { class: "llm-card-footer" }, qt = /* @__PURE__ */ v({
417
456
  name: "LlmCardFooter",
418
457
  __name: "llm-card-footer",
419
458
  setup(e) {
420
- return (t, a) => (s(), o("div", Ae, [
459
+ return (t, a) => (s(), o("div", ze, [
421
460
  b(t.$slots, "default")
422
461
  ]));
423
462
  }
424
- }), Re = ["for"], ze = ["id", "checked", "disabled", "readonly", "required", "name", "aria-invalid"], qe = {
463
+ }), Re = ["for"], qe = ["id", "checked", "disabled", "readonly", "required", "name", "aria-invalid"], He = {
425
464
  key: 0,
426
465
  class: "errors",
427
466
  "aria-live": "polite"
428
- }, He = /* @__PURE__ */ v({
467
+ }, Ee = /* @__PURE__ */ v({
429
468
  name: "LlmCheckbox",
430
469
  __name: "llm-checkbox",
431
470
  props: {
@@ -442,7 +481,7 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
442
481
  emits: ["update:checked"],
443
482
  setup(e, { emit: t }) {
444
483
  const a = e, n = t, l = C(null), d = p(() => a.id || `checkbox-${Math.random().toString(36).slice(2)}`);
445
- z(
484
+ R(
446
485
  () => a.indeterminate,
447
486
  (r) => {
448
487
  l.value && (l.value.indeterminate = r);
@@ -473,18 +512,18 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
473
512
  name: e.name,
474
513
  "aria-invalid": e.invalid || void 0,
475
514
  onChange: u
476
- }, null, 40, ze),
515
+ }, null, 40, qe),
477
516
  b(r.$slots, "default")
478
517
  ], 8, Re),
479
- e.errors.length ? (s(), o("ul", qe, [
480
- (s(!0), o(B, null, R(e.errors, (m, $) => (s(), o("li", {
518
+ e.errors.length ? (s(), o("ul", He, [
519
+ (s(!0), o(B, null, z(e.errors, (m, $) => (s(), o("li", {
481
520
  key: $,
482
521
  class: "error"
483
522
  }, L(m), 1))), 128))
484
523
  ])) : w("", !0)
485
524
  ], 2));
486
525
  }
487
- }), Ee = ["aria-label", "aria-labelledby"], Y = /* @__PURE__ */ Symbol("LlmDialog"), zt = /* @__PURE__ */ v({
526
+ }), Oe = ["aria-label", "aria-labelledby"], X = /* @__PURE__ */ Symbol("LlmDialog"), Ht = /* @__PURE__ */ v({
488
527
  name: "LlmDialog",
489
528
  __name: "llm-dialog",
490
529
  props: {
@@ -499,12 +538,12 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
499
538
  function u() {
500
539
  n("update:open", !1);
501
540
  }
502
- H(Y, {
541
+ H(X, {
503
542
  headerId: d,
504
543
  close: u
505
544
  }), E(() => {
506
545
  a.open && l.value && l.value.showModal();
507
- }), z(
546
+ }), R(
508
547
  () => a.open,
509
548
  (k) => {
510
549
  const h = l.value;
@@ -540,19 +579,19 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
540
579
  }, [
541
580
  b(k.$slots, "default")
542
581
  ], 2)
543
- ], 40, Ee));
582
+ ], 40, Oe));
544
583
  }
545
- }), Oe = ["id"], Ke = { class: "header-content" }, qt = /* @__PURE__ */ v({
584
+ }), Ke = ["id"], je = { class: "header-content" }, Et = /* @__PURE__ */ v({
546
585
  name: "LlmDialogHeader",
547
586
  __name: "llm-dialog-header",
548
587
  setup(e) {
549
- const t = q(Y, { headerId: "", close: () => {
588
+ const t = q(X, { headerId: "", close: () => {
550
589
  } });
551
590
  return (a, n) => (s(), o("div", {
552
591
  id: M(t).headerId,
553
592
  class: "llm-dialog-header"
554
593
  }, [
555
- c("span", Ke, [
594
+ c("span", je, [
556
595
  b(a.$slots, "default")
557
596
  ]),
558
597
  c("button", {
@@ -587,25 +626,25 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
587
626
  })
588
627
  ], -1)
589
628
  ])])
590
- ], 8, Oe));
629
+ ], 8, Ke));
591
630
  }
592
- }), je = { class: "llm-dialog-content" }, Ht = /* @__PURE__ */ v({
631
+ }), Ge = { class: "llm-dialog-content" }, Ot = /* @__PURE__ */ v({
593
632
  name: "LlmDialogContent",
594
633
  __name: "llm-dialog-content",
595
634
  setup(e) {
596
- return (t, a) => (s(), o("div", je, [
635
+ return (t, a) => (s(), o("div", Ge, [
597
636
  b(t.$slots, "default")
598
637
  ]));
599
638
  }
600
- }), Fe = { class: "llm-dialog-footer" }, Et = /* @__PURE__ */ v({
639
+ }), Pe = { class: "llm-dialog-footer" }, Kt = /* @__PURE__ */ v({
601
640
  name: "LlmDialogFooter",
602
641
  __name: "llm-dialog-footer",
603
642
  setup(e) {
604
- return (t, a) => (s(), o("div", Fe, [
643
+ return (t, a) => (s(), o("div", Pe, [
605
644
  b(t.$slots, "default")
606
645
  ]));
607
646
  }
608
- }), Ge = ["aria-labelledby"], ee = /* @__PURE__ */ Symbol("LlmDrawer"), Ot = /* @__PURE__ */ v({
647
+ }), Fe = ["aria-labelledby"], ee = /* @__PURE__ */ Symbol("LlmDrawer"), jt = /* @__PURE__ */ v({
609
648
  name: "LlmDrawer",
610
649
  __name: "llm-drawer",
611
650
  props: {
@@ -625,7 +664,7 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
625
664
  close: u
626
665
  }), E(() => {
627
666
  a.open && l.value && l.value.showModal();
628
- }), z(
667
+ }), R(
629
668
  () => a.open,
630
669
  (k) => {
631
670
  const h = l.value;
@@ -665,9 +704,9 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
665
704
  }, [
666
705
  b(k.$slots, "default")
667
706
  ])
668
- ], 42, Ge));
707
+ ], 42, Fe));
669
708
  }
670
- }), Pe = ["id"], Ve = { class: "header-content" }, Kt = /* @__PURE__ */ v({
709
+ }), Ve = ["id"], Ne = { class: "header-content" }, Gt = /* @__PURE__ */ v({
671
710
  name: "LlmDrawerHeader",
672
711
  __name: "llm-drawer-header",
673
712
  setup(e) {
@@ -677,7 +716,7 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
677
716
  id: M(t).headerId,
678
717
  class: "llm-drawer-header"
679
718
  }, [
680
- c("span", Ve, [
719
+ c("span", Ne, [
681
720
  b(a.$slots, "default")
682
721
  ]),
683
722
  c("button", {
@@ -712,29 +751,29 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
712
751
  })
713
752
  ], -1)
714
753
  ])])
715
- ], 8, Pe));
754
+ ], 8, Ve));
716
755
  }
717
- }), Ne = { class: "llm-drawer-content" }, jt = /* @__PURE__ */ v({
756
+ }), Ue = { class: "llm-drawer-content" }, Pt = /* @__PURE__ */ v({
718
757
  name: "LlmDrawerContent",
719
758
  __name: "llm-drawer-content",
720
759
  setup(e) {
721
- return (t, a) => (s(), o("div", Ne, [
760
+ return (t, a) => (s(), o("div", Ue, [
722
761
  b(t.$slots, "default")
723
762
  ]));
724
763
  }
725
- }), Ue = { class: "llm-drawer-footer" }, Ft = /* @__PURE__ */ v({
764
+ }), We = { class: "llm-drawer-footer" }, Ft = /* @__PURE__ */ v({
726
765
  name: "LlmDrawerFooter",
727
766
  __name: "llm-drawer-footer",
728
767
  setup(e) {
729
- return (t, a) => (s(), o("div", Ue, [
768
+ return (t, a) => (s(), o("div", We, [
730
769
  b(t.$slots, "default")
731
770
  ]));
732
771
  }
733
- }), We = ["for"], Je = { class: "input-field" }, Ze = ["id", "type", "value", "placeholder", "disabled", "readonly", "required", "name", "aria-invalid"], Qe = {
772
+ }), Je = ["for"], Ye = { class: "input-field" }, Ze = ["id", "type", "value", "placeholder", "disabled", "readonly", "required", "name", "aria-invalid"], Qe = {
734
773
  key: 1,
735
774
  class: "errors",
736
775
  "aria-live": "polite"
737
- }, Gt = /* @__PURE__ */ v({
776
+ }, Vt = /* @__PURE__ */ v({
738
777
  name: "LlmInput",
739
778
  __name: "llm-input",
740
779
  props: {
@@ -763,8 +802,8 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
763
802
  key: 0,
764
803
  for: l.value,
765
804
  class: "input-label"
766
- }, L(e.label), 9, We)) : w("", !0),
767
- c("div", Je, [
805
+ }, L(e.label), 9, Je)) : w("", !0),
806
+ c("div", Ye, [
768
807
  c("input", {
769
808
  id: l.value,
770
809
  type: e.type,
@@ -779,14 +818,14 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
779
818
  }, null, 40, Ze)
780
819
  ]),
781
820
  e.errors.length ? (s(), o("ul", Qe, [
782
- (s(!0), o(B, null, R(e.errors, (i, m) => (s(), o("li", {
821
+ (s(!0), o(B, null, z(e.errors, (i, m) => (s(), o("li", {
783
822
  key: m,
784
823
  class: "error"
785
824
  }, L(i), 1))), 128))
786
825
  ])) : w("", !0)
787
826
  ], 2));
788
827
  }
789
- }), Xe = { class: "llm-menu-trigger-wrapper" }, ae = /* @__PURE__ */ Symbol("LlmMenuTrigger"), Pt = /* @__PURE__ */ v({
828
+ }), Xe = { class: "llm-menu-trigger-wrapper" }, ae = /* @__PURE__ */ Symbol("LlmMenuTrigger"), Nt = /* @__PURE__ */ v({
790
829
  name: "LlmMenuTrigger",
791
830
  __name: "llm-menu-trigger",
792
831
  setup(e) {
@@ -828,7 +867,7 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
828
867
  ], 512)) : w("", !0)
829
868
  ]));
830
869
  }
831
- }), Vt = /* @__PURE__ */ v({
870
+ }), Ut = /* @__PURE__ */ v({
832
871
  name: "LlmMenu",
833
872
  __name: "llm-menu",
834
873
  props: {
@@ -843,7 +882,7 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
843
882
  b(n.$slots, "default")
844
883
  ], 2));
845
884
  }
846
- }), Ye = ["disabled"], Nt = /* @__PURE__ */ v({
885
+ }), ea = ["disabled"], Wt = /* @__PURE__ */ v({
847
886
  name: "LlmMenuItem",
848
887
  __name: "llm-menu-item",
849
888
  props: {
@@ -864,25 +903,25 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
864
903
  onClick: d
865
904
  }, [
866
905
  b(r.$slots, "default")
867
- ], 10, Ye));
906
+ ], 10, ea));
868
907
  }
869
- }), ea = {
908
+ }), aa = {
870
909
  class: "llm-menu-separator",
871
910
  role: "separator"
872
- }, Ut = /* @__PURE__ */ v({
911
+ }, Jt = /* @__PURE__ */ v({
873
912
  name: "LlmMenuSeparator",
874
913
  __name: "llm-menu-separator",
875
914
  setup(e) {
876
- return (t, a) => (s(), o("hr", ea));
915
+ return (t, a) => (s(), o("hr", aa));
877
916
  }
878
- }), aa = {
917
+ }), ta = {
879
918
  class: "llm-pagination",
880
919
  "aria-label": "Pagination"
881
- }, ta = ["disabled"], la = ["disabled"], sa = {
920
+ }, la = ["disabled"], sa = ["disabled"], na = {
882
921
  key: 0,
883
922
  class: "ellipsis",
884
923
  "aria-hidden": "true"
885
- }, na = ["aria-label", "aria-current", "onClick"], oa = ["disabled"], ia = ["disabled"], Wt = /* @__PURE__ */ v({
924
+ }, oa = ["aria-label", "aria-current", "onClick"], ia = ["disabled"], ra = ["disabled"], Yt = /* @__PURE__ */ v({
886
925
  name: "LlmPagination",
887
926
  __name: "llm-pagination",
888
927
  props: {
@@ -908,47 +947,47 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
908
947
  const i = Math.min(Math.max(r, 1), a.pageCount);
909
948
  i !== a.page && n("pageChange", i);
910
949
  }
911
- return (r, i) => (s(), o("nav", aa, [
950
+ return (r, i) => (s(), o("nav", ta, [
912
951
  e.showFirstLast ? (s(), o("button", {
913
952
  key: 0,
914
953
  class: "page-btn nav-btn",
915
954
  disabled: e.page <= 1,
916
955
  "aria-label": "First page",
917
956
  onClick: i[0] || (i[0] = (m) => u(1))
918
- }, " « ", 8, ta)) : w("", !0),
957
+ }, " « ", 8, la)) : w("", !0),
919
958
  c("button", {
920
959
  class: "page-btn nav-btn",
921
960
  disabled: e.page <= 1,
922
961
  "aria-label": "Previous page",
923
962
  onClick: i[1] || (i[1] = (m) => u(e.page - 1))
924
- }, " ‹ ", 8, la),
925
- (s(!0), o(B, null, R(d.value, (m) => (s(), o(B, {
963
+ }, " ‹ ", 8, sa),
964
+ (s(!0), o(B, null, z(d.value, (m) => (s(), o(B, {
926
965
  key: m.type === "page" ? m.page : m.key
927
966
  }, [
928
- m.type === "ellipsis" ? (s(), o("span", sa, "…")) : (s(), o("button", {
967
+ m.type === "ellipsis" ? (s(), o("span", na, "…")) : (s(), o("button", {
929
968
  key: 1,
930
969
  class: y(["page-btn", { active: m.page === e.page }]),
931
970
  "aria-label": `Page ${m.page}`,
932
971
  "aria-current": m.page === e.page ? "page" : void 0,
933
972
  onClick: ($) => u(m.page)
934
- }, L(m.page), 11, na))
973
+ }, L(m.page), 11, oa))
935
974
  ], 64))), 128)),
936
975
  c("button", {
937
976
  class: "page-btn nav-btn",
938
977
  disabled: e.page >= e.pageCount,
939
978
  "aria-label": "Next page",
940
979
  onClick: i[2] || (i[2] = (m) => u(e.page + 1))
941
- }, " › ", 8, oa),
980
+ }, " › ", 8, ia),
942
981
  e.showFirstLast ? (s(), o("button", {
943
982
  key: 1,
944
983
  class: "page-btn nav-btn",
945
984
  disabled: e.page >= e.pageCount,
946
985
  "aria-label": "Last page",
947
986
  onClick: i[3] || (i[3] = (m) => u(e.pageCount))
948
- }, " » ", 8, ia)) : w("", !0)
987
+ }, " » ", 8, ra)) : w("", !0)
949
988
  ]));
950
989
  }
951
- }), ra = ["aria-valuenow", "aria-valuemax"], da = { class: "track" }, Jt = /* @__PURE__ */ v({
990
+ }), da = ["aria-valuenow", "aria-valuemax"], ua = { class: "track" }, Zt = /* @__PURE__ */ v({
952
991
  name: "LlmProgress",
953
992
  __name: "llm-progress",
954
993
  props: {
@@ -974,15 +1013,15 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
974
1013
  "aria-valuenow": e.indeterminate ? void 0 : a.value,
975
1014
  "aria-valuemax": e.indeterminate ? void 0 : e.max
976
1015
  }, [
977
- c("div", da, [
1016
+ c("div", ua, [
978
1017
  c("div", {
979
1018
  class: "fill",
980
- style: G({ width: n.value })
1019
+ style: P({ width: n.value })
981
1020
  }, null, 4)
982
1021
  ])
983
- ], 10, ra));
1022
+ ], 10, da));
984
1023
  }
985
- }), ua = { class: "llm-combobox-wrapper" }, ca = ["aria-expanded", "aria-activedescendant", "aria-invalid", "disabled", "readonly", "required", "name", "placeholder", "value"], ma = ["id", "aria-selected", "aria-disabled", "onMousedown", "onMouseenter"], fa = {
1024
+ }), ca = { class: "llm-combobox-wrapper" }, ma = ["aria-expanded", "aria-activedescendant", "aria-invalid", "disabled", "readonly", "required", "name", "placeholder", "value"], fa = ["id", "aria-selected", "aria-disabled", "onMousedown", "onMouseenter"], pa = {
986
1025
  key: 0,
987
1026
  class: "llm-combobox-check",
988
1027
  width: "14",
@@ -990,17 +1029,17 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
990
1029
  viewBox: "0 0 14 14",
991
1030
  fill: "none",
992
1031
  "aria-hidden": "true"
993
- }, pa = {
1032
+ }, va = {
994
1033
  key: 1,
995
1034
  class: "llm-combobox-no-results",
996
1035
  role: "option",
997
1036
  "aria-disabled": "true"
998
- }, va = {
1037
+ }, ha = {
999
1038
  key: 1,
1000
1039
  class: "llm-combobox-errors",
1001
1040
  role: "alert",
1002
1041
  "aria-live": "polite"
1003
- }, Zt = /* @__PURE__ */ v({
1042
+ }, Qt = /* @__PURE__ */ v({
1004
1043
  name: "LlmCombobox",
1005
1044
  __name: "llm-combobox",
1006
1045
  props: {
@@ -1019,10 +1058,10 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
1019
1058
  const a = e, n = t, l = C(null), d = C(null), u = C(""), r = C(!1), i = C(-1);
1020
1059
  let m = Math.random().toString(36).slice(2);
1021
1060
  const $ = `llm-combobox-input-${m}`, k = `llm-combobox-panel-${m}`, h = p(
1022
- () => a.options.find((D) => D.value === a.value)?.label ?? ""
1061
+ () => a.options.find((S) => S.value === a.value)?.label ?? ""
1023
1062
  ), _ = p(() => {
1024
- const D = u.value.toLowerCase();
1025
- return D ? a.options.filter((A) => A.label.toLowerCase().includes(D)) : a.options;
1063
+ const S = u.value.toLowerCase();
1064
+ return S ? a.options.filter((A) => A.label.toLowerCase().includes(S)) : a.options;
1026
1065
  }), g = p(
1027
1066
  () => i.value >= 0 ? `${k}-option-${i.value}` : void 0
1028
1067
  ), f = p(() => [
@@ -1031,67 +1070,67 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
1031
1070
  a.disabled && "is-disabled",
1032
1071
  a.invalid && "is-invalid"
1033
1072
  ]);
1034
- z(
1073
+ R(
1035
1074
  () => a.value,
1036
1075
  () => {
1037
1076
  r.value || (u.value = h.value);
1038
1077
  },
1039
1078
  { immediate: !0 }
1040
1079
  );
1041
- function T() {
1042
- a.disabled || a.readonly || r.value || (r.value = !0, i.value = -1, document.addEventListener("click", S));
1080
+ function I() {
1081
+ a.disabled || a.readonly || r.value || (r.value = !0, i.value = -1, document.addEventListener("click", D));
1043
1082
  }
1044
1083
  function x() {
1045
- r.value && (r.value = !1, i.value = -1, document.removeEventListener("click", S));
1084
+ r.value && (r.value = !1, i.value = -1, document.removeEventListener("click", D));
1046
1085
  }
1047
- function S(D) {
1048
- d.value?.contains(D.target) || (u.value = h.value, x());
1086
+ function D(S) {
1087
+ d.value?.contains(S.target) || (u.value = h.value, x());
1049
1088
  }
1050
1089
  J(() => {
1051
- document.removeEventListener("click", S);
1090
+ document.removeEventListener("click", D);
1052
1091
  });
1053
- function P(D) {
1054
- D.disabled || a.disabled || a.readonly || (n("update:value", D.value), u.value = D.label, x(), l.value?.focus());
1092
+ function F(S) {
1093
+ S.disabled || a.disabled || a.readonly || (n("update:value", S.value), u.value = S.label, x(), l.value?.focus());
1055
1094
  }
1056
- function ne(D) {
1057
- const A = D.target.value;
1058
- u.value = A, i.value = -1, A === "" && n("update:value", ""), r.value || T();
1095
+ function ne(S) {
1096
+ const A = S.target.value;
1097
+ u.value = A, i.value = -1, A === "" && n("update:value", ""), r.value || I();
1059
1098
  }
1060
1099
  function oe() {
1061
- T();
1100
+ I();
1062
1101
  }
1063
1102
  function ie() {
1064
1103
  u.value = h.value;
1065
1104
  }
1066
- function re(D) {
1105
+ function re(S) {
1067
1106
  const A = _.value;
1068
- switch (D.key) {
1107
+ switch (S.key) {
1069
1108
  case "ArrowDown": {
1070
- if (D.preventDefault(), !r.value) {
1071
- T();
1109
+ if (S.preventDefault(), !r.value) {
1110
+ I();
1072
1111
  return;
1073
1112
  }
1074
- const I = i.value + 1;
1075
- i.value = I >= A.length ? 0 : I;
1113
+ const T = i.value + 1;
1114
+ i.value = T >= A.length ? 0 : T;
1076
1115
  break;
1077
1116
  }
1078
1117
  case "ArrowUp": {
1079
- if (D.preventDefault(), !r.value) {
1080
- T();
1118
+ if (S.preventDefault(), !r.value) {
1119
+ I();
1081
1120
  return;
1082
1121
  }
1083
- const I = i.value - 1;
1084
- i.value = I < 0 ? A.length - 1 : I;
1122
+ const T = i.value - 1;
1123
+ i.value = T < 0 ? A.length - 1 : T;
1085
1124
  break;
1086
1125
  }
1087
1126
  case "Enter": {
1088
- D.preventDefault();
1089
- const I = i.value;
1090
- r.value && I >= 0 && I < A.length && P(A[I]);
1127
+ S.preventDefault();
1128
+ const T = i.value;
1129
+ r.value && T >= 0 && T < A.length && F(A[T]);
1091
1130
  break;
1092
1131
  }
1093
1132
  case "Escape": {
1094
- D.preventDefault(), u.value = h.value, x();
1133
+ S.preventDefault(), u.value = h.value, x();
1095
1134
  break;
1096
1135
  }
1097
1136
  case "Tab": {
@@ -1100,12 +1139,12 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
1100
1139
  }
1101
1140
  }
1102
1141
  }
1103
- return (D, A) => (s(), o("div", {
1142
+ return (S, A) => (s(), o("div", {
1104
1143
  ref_key: "containerRef",
1105
1144
  ref: d,
1106
1145
  class: y(f.value)
1107
1146
  }, [
1108
- c("div", ua, [
1147
+ c("div", ca, [
1109
1148
  c("input", {
1110
1149
  ref_key: "inputRef",
1111
1150
  ref: l,
@@ -1129,7 +1168,7 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
1129
1168
  onFocus: oe,
1130
1169
  onBlur: ie,
1131
1170
  onKeydown: re
1132
- }, null, 40, ca),
1171
+ }, null, 40, ma),
1133
1172
  A[0] || (A[0] = c("span", {
1134
1173
  class: "llm-combobox-icon",
1135
1174
  "aria-hidden": "true"
@@ -1157,23 +1196,23 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
1157
1196
  role: "listbox",
1158
1197
  "aria-labelledby": $
1159
1198
  }, [
1160
- _.value.length > 0 ? (s(!0), o(B, { key: 0 }, R(_.value, (I, K) => (s(), o("li", {
1161
- key: I.value,
1199
+ _.value.length > 0 ? (s(!0), o(B, { key: 0 }, z(_.value, (T, K) => (s(), o("li", {
1200
+ key: T.value,
1162
1201
  id: `${k}-option-${K}`,
1163
1202
  role: "option",
1164
1203
  class: y([
1165
1204
  "llm-combobox-option",
1166
1205
  i.value === K && "is-active",
1167
- I.value === e.value && "is-selected",
1168
- I.disabled && "is-disabled"
1206
+ T.value === e.value && "is-selected",
1207
+ T.disabled && "is-disabled"
1169
1208
  ]),
1170
- "aria-selected": I.value === e.value,
1171
- "aria-disabled": I.disabled || void 0,
1172
- onMousedown: (de) => P(I),
1209
+ "aria-selected": T.value === e.value,
1210
+ "aria-disabled": T.disabled || void 0,
1211
+ onMousedown: (de) => F(T),
1173
1212
  onMouseenter: (de) => i.value = K
1174
1213
  }, [
1175
- c("span", null, L(I.label), 1),
1176
- I.value === e.value ? (s(), o("svg", fa, [...A[1] || (A[1] = [
1214
+ c("span", null, L(T.label), 1),
1215
+ T.value === e.value ? (s(), o("svg", pa, [...A[1] || (A[1] = [
1177
1216
  c("path", {
1178
1217
  d: "M2 7l4 4 6-7",
1179
1218
  stroke: "currentColor",
@@ -1182,21 +1221,21 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
1182
1221
  "stroke-linejoin": "round"
1183
1222
  }, null, -1)
1184
1223
  ])])) : w("", !0)
1185
- ], 42, ma))), 128)) : (s(), o("li", pa, " No results found. "))
1224
+ ], 42, fa))), 128)) : (s(), o("li", va, " No results found. "))
1186
1225
  ])) : w("", !0),
1187
- e.invalid && e.errors.length > 0 ? (s(), o("div", va, [
1188
- (s(!0), o(B, null, R(e.errors, (I, K) => (s(), o("p", {
1226
+ e.invalid && e.errors.length > 0 ? (s(), o("div", ha, [
1227
+ (s(!0), o(B, null, z(e.errors, (T, K) => (s(), o("p", {
1189
1228
  key: K,
1190
1229
  class: "llm-combobox-error-message"
1191
- }, L(I), 1))), 128))
1230
+ }, L(T), 1))), 128))
1192
1231
  ])) : w("", !0)
1193
1232
  ], 2));
1194
1233
  }
1195
- }), ha = ["aria-invalid", "aria-required"], ba = {
1234
+ }), ba = ["aria-invalid", "aria-required"], ga = {
1196
1235
  key: 0,
1197
1236
  class: "errors",
1198
1237
  role: "alert"
1199
- }, te = /* @__PURE__ */ Symbol("LlmRadioGroup"), Qt = /* @__PURE__ */ v({
1238
+ }, te = /* @__PURE__ */ Symbol("LlmRadioGroup"), Xt = /* @__PURE__ */ v({
1200
1239
  name: "LlmRadioGroup",
1201
1240
  __name: "llm-radio-group",
1202
1241
  props: {
@@ -1243,18 +1282,18 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
1243
1282
  "aria-required": e.required || void 0
1244
1283
  }, [
1245
1284
  b(d.$slots, "default"),
1246
- e.errors.length > 0 ? (s(), o("div", ba, [
1247
- (s(!0), o(B, null, R(e.errors, (r, i) => (s(), o("p", {
1285
+ e.errors.length > 0 ? (s(), o("div", ga, [
1286
+ (s(!0), o(B, null, z(e.errors, (r, i) => (s(), o("p", {
1248
1287
  key: i,
1249
1288
  class: "error-message"
1250
1289
  }, L(r), 1))), 128))
1251
1290
  ])) : w("", !0)
1252
- ], 10, ha));
1291
+ ], 10, ba));
1253
1292
  }
1254
- }), ga = ["name", "value", "checked", "disabled"], ya = {
1293
+ }), ya = ["name", "value", "checked", "disabled"], $a = {
1255
1294
  key: 0,
1256
1295
  class: "radio-text"
1257
- }, Xt = /* @__PURE__ */ v({
1296
+ }, el = /* @__PURE__ */ v({
1258
1297
  name: "LlmRadio",
1259
1298
  __name: "llm-radio",
1260
1299
  props: {
@@ -1290,22 +1329,22 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
1290
1329
  disabled: n.value,
1291
1330
  class: "radio-input",
1292
1331
  onChange: u
1293
- }, null, 40, ga),
1332
+ }, null, 40, ya),
1294
1333
  i[0] || (i[0] = c("span", {
1295
1334
  class: "radio-indicator",
1296
1335
  "aria-hidden": "true"
1297
1336
  }, null, -1)),
1298
- r.$slots.default ? (s(), o("span", ya, [
1337
+ r.$slots.default ? (s(), o("span", $a, [
1299
1338
  b(r.$slots, "default")
1300
1339
  ])) : w("", !0)
1301
1340
  ], 2));
1302
1341
  }
1303
- }), $a = ["for"], ka = { class: "select-wrapper" }, _a = ["id", "name", "value", "disabled", "required", "aria-invalid", "aria-describedby"], wa = {
1342
+ }), ka = ["for"], _a = { class: "select-wrapper" }, wa = ["id", "name", "value", "disabled", "required", "aria-invalid", "aria-describedby"], La = {
1304
1343
  key: 0,
1305
1344
  value: "",
1306
1345
  disabled: "",
1307
1346
  hidden: ""
1308
- }, La = ["id"], Yt = /* @__PURE__ */ v({
1347
+ }, xa = ["id"], al = /* @__PURE__ */ v({
1309
1348
  name: "LlmSelect",
1310
1349
  __name: "llm-select",
1311
1350
  props: {
@@ -1336,8 +1375,8 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
1336
1375
  key: 0,
1337
1376
  for: M(l),
1338
1377
  class: "select-label"
1339
- }, L(e.label), 9, $a)) : w("", !0),
1340
- c("div", ka, [
1378
+ }, L(e.label), 9, ka)) : w("", !0),
1379
+ c("div", _a, [
1341
1380
  c("select", {
1342
1381
  id: M(l),
1343
1382
  name: e.name,
@@ -1349,9 +1388,9 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
1349
1388
  class: "select-native",
1350
1389
  onChange: r
1351
1390
  }, [
1352
- e.placeholder ? (s(), o("option", wa, L(e.placeholder), 1)) : w("", !0),
1391
+ e.placeholder ? (s(), o("option", La, L(e.placeholder), 1)) : w("", !0),
1353
1392
  b(i.$slots, "default")
1354
- ], 40, _a),
1393
+ ], 40, wa),
1355
1394
  m[0] || (m[0] = c("span", {
1356
1395
  class: "select-arrow",
1357
1396
  "aria-hidden": "true"
@@ -1363,14 +1402,14 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
1363
1402
  class: "errors",
1364
1403
  role: "alert"
1365
1404
  }, [
1366
- (s(!0), o(B, null, R(e.errors, ($, k) => (s(), o("p", {
1405
+ (s(!0), o(B, null, z(e.errors, ($, k) => (s(), o("p", {
1367
1406
  key: k,
1368
1407
  class: "error-message"
1369
1408
  }, L($), 1))), 128))
1370
- ], 8, La)) : w("", !0)
1409
+ ], 8, xa)) : w("", !0)
1371
1410
  ], 2));
1372
1411
  }
1373
- }), xa = ["value", "disabled"], el = /* @__PURE__ */ v({
1412
+ }), Ca = ["value", "disabled"], tl = /* @__PURE__ */ v({
1374
1413
  name: "LlmOption",
1375
1414
  __name: "llm-option",
1376
1415
  props: {
@@ -1383,9 +1422,9 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
1383
1422
  disabled: e.disabled
1384
1423
  }, [
1385
1424
  b(t.$slots, "default")
1386
- ], 8, xa));
1425
+ ], 8, Ca));
1387
1426
  }
1388
- }), al = /* @__PURE__ */ v({
1427
+ }), ll = /* @__PURE__ */ v({
1389
1428
  name: "LlmSkeleton",
1390
1429
  __name: "llm-skeleton",
1391
1430
  props: {
@@ -1419,34 +1458,34 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
1419
1458
  }));
1420
1459
  return (d, u) => (s(), o("div", {
1421
1460
  class: y(n.value),
1422
- style: G(l.value),
1461
+ style: P(l.value),
1423
1462
  "aria-hidden": "true"
1424
1463
  }, null, 6));
1425
1464
  }
1426
- }), Ca = {
1465
+ }), Ba = {
1427
1466
  class: "stepper-header",
1428
1467
  role: "tablist"
1429
- }, Ba = ["id", "aria-label", "aria-selected", "aria-controls", "aria-disabled", "tabindex", "disabled", "onClick"], Ta = {
1468
+ }, Ia = ["id", "aria-label", "aria-selected", "aria-controls", "aria-disabled", "tabindex", "disabled", "onClick"], Ta = {
1430
1469
  key: 0,
1431
1470
  width: "14",
1432
1471
  height: "14",
1433
1472
  viewBox: "0 0 14 14",
1434
1473
  fill: "none",
1435
1474
  "aria-hidden": "true"
1436
- }, Ia = {
1475
+ }, Sa = {
1437
1476
  key: 1,
1438
1477
  width: "14",
1439
1478
  height: "14",
1440
1479
  viewBox: "0 0 14 14",
1441
1480
  fill: "none",
1442
1481
  "aria-hidden": "true"
1443
- }, Da = { class: "step-text" }, Sa = { class: "step-label" }, Ma = {
1482
+ }, Da = { class: "step-text" }, Ma = { class: "step-label" }, Aa = {
1444
1483
  key: 0,
1445
1484
  class: "step-description"
1446
- }, Aa = {
1485
+ }, za = {
1447
1486
  key: 1,
1448
1487
  class: "step-optional"
1449
- }, Ra = { class: "stepper-content" }, le = /* @__PURE__ */ Symbol("LlmStepper"), tl = /* @__PURE__ */ v({
1488
+ }, Ra = { class: "stepper-content" }, le = /* @__PURE__ */ Symbol("LlmStepper"), sl = /* @__PURE__ */ v({
1450
1489
  name: "LlmStepper",
1451
1490
  __name: "llm-stepper",
1452
1491
  props: {
@@ -1457,7 +1496,7 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
1457
1496
  emits: ["update:activeStep"],
1458
1497
  setup(e, { emit: t }) {
1459
1498
  const a = e, n = t, l = C(a.activeStep), d = C([]), u = p(() => a.linear);
1460
- z(
1499
+ R(
1461
1500
  () => a.activeStep,
1462
1501
  (f) => {
1463
1502
  l.value = f;
@@ -1467,11 +1506,11 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
1467
1506
  d.value.push(f);
1468
1507
  }
1469
1508
  function i(f) {
1470
- d.value = d.value.filter((T) => T.id !== f);
1509
+ d.value = d.value.filter((I) => I.id !== f);
1471
1510
  }
1472
- function m(f, T) {
1473
- const x = d.value.findIndex((S) => S.id === f);
1474
- x !== -1 && (d.value[x] = { ...d.value[x], ...T });
1511
+ function m(f, I) {
1512
+ const x = d.value.findIndex((D) => D.id === f);
1513
+ x !== -1 && (d.value[x] = { ...d.value[x], ...I });
1475
1514
  }
1476
1515
  function $(f) {
1477
1516
  f < 0 || f >= d.value.length || d.value[f].disabled || a.linear && f > l.value && !d.value.slice(0, f).every((x) => x.completed || x.optional) || (l.value = f, n("update:activeStep", f));
@@ -1498,17 +1537,17 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
1498
1537
  function g(f) {
1499
1538
  return l.value > f || d.value[f]?.completed;
1500
1539
  }
1501
- return (f, T) => (s(), o("div", {
1540
+ return (f, I) => (s(), o("div", {
1502
1541
  class: y(_.value)
1503
1542
  }, [
1504
- c("div", Ca, [
1505
- (s(!0), o(B, null, R(d.value, (x, S) => (s(), o(B, {
1543
+ c("div", Ba, [
1544
+ (s(!0), o(B, null, z(d.value, (x, D) => (s(), o(B, {
1506
1545
  key: x.id
1507
1546
  }, [
1508
1547
  c("div", {
1509
1548
  class: y(["step-item", {
1510
- "is-active": l.value === S,
1511
- "is-completed": x.completed && l.value !== S,
1549
+ "is-active": l.value === D,
1550
+ "is-completed": x.completed && l.value !== D,
1512
1551
  "is-error": x.error,
1513
1552
  "is-disabled": x.disabled
1514
1553
  }])
@@ -1517,16 +1556,16 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
1517
1556
  type: "button",
1518
1557
  role: "tab",
1519
1558
  class: "step-circle",
1520
- id: `llm-step-${S}`,
1559
+ id: `llm-step-${D}`,
1521
1560
  "aria-label": x.label,
1522
- "aria-selected": l.value === S,
1523
- "aria-controls": `llm-step-panel-${S}`,
1561
+ "aria-selected": l.value === D,
1562
+ "aria-controls": `llm-step-panel-${D}`,
1524
1563
  "aria-disabled": x.disabled || void 0,
1525
- tabindex: l.value === S ? 0 : -1,
1564
+ tabindex: l.value === D ? 0 : -1,
1526
1565
  disabled: x.disabled || void 0,
1527
- onClick: (P) => $(S)
1566
+ onClick: (F) => $(D)
1528
1567
  }, [
1529
- x.completed && !x.error ? (s(), o("svg", Ta, [...T[0] || (T[0] = [
1568
+ x.completed && !x.error ? (s(), o("svg", Ta, [...I[0] || (I[0] = [
1530
1569
  c("path", {
1531
1570
  d: "M2 7L5.5 10.5L12 3.5",
1532
1571
  stroke: "currentColor",
@@ -1534,7 +1573,7 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
1534
1573
  "stroke-linecap": "round",
1535
1574
  "stroke-linejoin": "round"
1536
1575
  }, null, -1)
1537
- ])])) : x.error ? (s(), o("svg", Ia, [...T[1] || (T[1] = [
1576
+ ])])) : x.error ? (s(), o("svg", Sa, [...I[1] || (I[1] = [
1538
1577
  c("path", {
1539
1578
  d: "M3 3L11 11M11 3L3 11",
1540
1579
  stroke: "currentColor",
@@ -1542,18 +1581,18 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
1542
1581
  "stroke-linecap": "round"
1543
1582
  }, null, -1)
1544
1583
  ])])) : (s(), o(B, { key: 2 }, [
1545
- F(L(S + 1), 1)
1584
+ G(L(D + 1), 1)
1546
1585
  ], 64))
1547
- ], 8, Ba),
1586
+ ], 8, Ia),
1548
1587
  c("div", Da, [
1549
- c("span", Sa, L(x.label), 1),
1550
- x.description ? (s(), o("span", Ma, L(x.description), 1)) : w("", !0),
1551
- x.optional && !x.completed ? (s(), o("span", Aa, "Optional")) : w("", !0)
1588
+ c("span", Ma, L(x.label), 1),
1589
+ x.description ? (s(), o("span", Aa, L(x.description), 1)) : w("", !0),
1590
+ x.optional && !x.completed ? (s(), o("span", za, "Optional")) : w("", !0)
1552
1591
  ])
1553
1592
  ], 2),
1554
- S < d.value.length - 1 ? (s(), o("div", {
1593
+ D < d.value.length - 1 ? (s(), o("div", {
1555
1594
  key: 0,
1556
- class: y(["step-connector", { "is-active": g(S) }])
1595
+ class: y(["step-connector", { "is-active": g(D) }])
1557
1596
  }, null, 2)) : w("", !0)
1558
1597
  ], 64))), 128))
1559
1598
  ]),
@@ -1562,7 +1601,7 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
1562
1601
  ])
1563
1602
  ], 2));
1564
1603
  }
1565
- }), za = ["id", "aria-labelledby", "hidden"], ll = /* @__PURE__ */ v({
1604
+ }), qa = ["id", "aria-labelledby", "hidden"], nl = /* @__PURE__ */ v({
1566
1605
  name: "LlmStep",
1567
1606
  __name: "llm-step",
1568
1607
  props: {
@@ -1587,7 +1626,7 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
1587
1626
  });
1588
1627
  }), j(() => {
1589
1628
  a.unregisterStep(n);
1590
- }), z(
1629
+ }), R(
1591
1630
  () => ({
1592
1631
  label: t.label,
1593
1632
  description: t.description,
@@ -1610,9 +1649,9 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
1610
1649
  tabindex: "0"
1611
1650
  }, [
1612
1651
  b(u.$slots, "default")
1613
- ], 8, za)) : w("", !0);
1652
+ ], 8, qa)) : w("", !0);
1614
1653
  }
1615
- }), qa = { class: "llm-table-wrapper" }, sl = /* @__PURE__ */ v({
1654
+ }), Ha = { class: "llm-table-wrapper" }, ol = /* @__PURE__ */ v({
1616
1655
  name: "LlmTable",
1617
1656
  __name: "llm-table",
1618
1657
  props: {
@@ -1630,14 +1669,14 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
1630
1669
  return (n, l) => (s(), o("div", {
1631
1670
  class: y(a.value)
1632
1671
  }, [
1633
- c("div", qa, [
1672
+ c("div", Ha, [
1634
1673
  c("table", null, [
1635
1674
  b(n.$slots, "default")
1636
1675
  ])
1637
1676
  ])
1638
1677
  ], 2));
1639
1678
  }
1640
- }), nl = /* @__PURE__ */ v({
1679
+ }), il = /* @__PURE__ */ v({
1641
1680
  name: "LlmThead",
1642
1681
  __name: "llm-thead",
1643
1682
  setup(e) {
@@ -1645,7 +1684,7 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
1645
1684
  b(t.$slots, "default")
1646
1685
  ]));
1647
1686
  }
1648
- }), Ha = { key: 1 }, Ea = ["colspan"], ol = /* @__PURE__ */ v({
1687
+ }), Ea = { key: 1 }, Oa = ["colspan"], rl = /* @__PURE__ */ v({
1649
1688
  name: "LlmTbody",
1650
1689
  __name: "llm-tbody",
1651
1690
  props: {
@@ -1654,20 +1693,20 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
1654
1693
  },
1655
1694
  setup(e) {
1656
1695
  return (t, a) => (s(), o("tbody", null, [
1657
- e.empty ? (s(), o("tr", Ha, [
1696
+ e.empty ? (s(), o("tr", Ea, [
1658
1697
  c("td", {
1659
1698
  colspan: e.colSpan,
1660
1699
  class: "llm-tbody-empty-cell"
1661
1700
  }, [
1662
1701
  b(t.$slots, "empty")
1663
- ], 8, Ea)
1702
+ ], 8, Oa)
1664
1703
  ])) : b(t.$slots, "default", { key: 0 })
1665
1704
  ]));
1666
1705
  }
1667
- }), Oa = ["aria-selected"], Ka = {
1706
+ }), Ka = ["aria-selected"], ja = {
1668
1707
  key: 0,
1669
1708
  class: "llm-tr-select-cell"
1670
- }, il = /* @__PURE__ */ v({
1709
+ }, dl = /* @__PURE__ */ v({
1671
1710
  name: "LlmTr",
1672
1711
  __name: "llm-tr",
1673
1712
  props: {
@@ -1681,16 +1720,16 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
1681
1720
  "aria-selected": e.selectable ? e.selected : void 0,
1682
1721
  class: y({ "is-selected": e.selected })
1683
1722
  }, [
1684
- e.selectable ? (s(), o("td", Ka, [
1685
- me(He, {
1723
+ e.selectable ? (s(), o("td", ja, [
1724
+ me(Ee, {
1686
1725
  checked: e.selected,
1687
1726
  "onUpdate:checked": l[0] || (l[0] = (d) => a("update:selected", d))
1688
1727
  }, null, 8, ["checked"])
1689
1728
  ])) : w("", !0),
1690
1729
  b(n.$slots, "default")
1691
- ], 10, Oa));
1730
+ ], 10, Ka));
1692
1731
  }
1693
- }), ja = ["aria-sort"], rl = /* @__PURE__ */ v({
1732
+ }), Ga = ["aria-sort"], ul = /* @__PURE__ */ v({
1694
1733
  name: "LlmTh",
1695
1734
  __name: "llm-th",
1696
1735
  props: {
@@ -1719,7 +1758,7 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
1719
1758
  return (r, i) => (s(), o("th", {
1720
1759
  class: y(l.value),
1721
1760
  "aria-sort": d.value,
1722
- style: G(e.width ? { width: e.width } : void 0)
1761
+ style: P(e.width ? { width: e.width } : void 0)
1723
1762
  }, [
1724
1763
  e.sortable ? (s(), o("button", {
1725
1764
  key: 0,
@@ -1748,9 +1787,9 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
1748
1787
  })
1749
1788
  ], -1))
1750
1789
  ])) : b(r.$slots, "default", { key: 1 })
1751
- ], 14, ja));
1790
+ ], 14, Ga));
1752
1791
  }
1753
- }), dl = /* @__PURE__ */ v({
1792
+ }), cl = /* @__PURE__ */ v({
1754
1793
  name: "LlmTd",
1755
1794
  __name: "llm-td",
1756
1795
  props: {
@@ -1764,7 +1803,7 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
1764
1803
  b(n.$slots, "default")
1765
1804
  ], 2));
1766
1805
  }
1767
- }), Fa = ["id", "aria-selected", "aria-controls", "tabindex", "disabled", "onClick"], Ga = { class: "tab-panels" }, se = /* @__PURE__ */ Symbol("LlmTabGroup"), ul = /* @__PURE__ */ v({
1806
+ }), Pa = ["id", "aria-selected", "aria-controls", "tabindex", "disabled", "onClick"], Fa = { class: "tab-panels" }, se = /* @__PURE__ */ Symbol("LlmTabGroup"), ml = /* @__PURE__ */ v({
1768
1807
  name: "LlmTabGroup",
1769
1808
  __name: "llm-tab-group",
1770
1809
  props: {
@@ -1774,7 +1813,7 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
1774
1813
  emits: ["update:selectedIndex"],
1775
1814
  setup(e, { emit: t }) {
1776
1815
  const a = e, n = t, l = C(a.selectedIndex), d = C([]);
1777
- z(
1816
+ R(
1778
1817
  () => a.selectedIndex,
1779
1818
  (h) => {
1780
1819
  l.value = h;
@@ -1797,7 +1836,7 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
1797
1836
  selectTab: i
1798
1837
  });
1799
1838
  function m(h) {
1800
- const _ = d.value.map((f, T) => ({ i: T, disabled: f.disabled })).filter((f) => !f.disabled).map((f) => f.i), g = _.indexOf(l.value);
1839
+ const _ = d.value.map((f, I) => ({ i: I, disabled: f.disabled })).filter((f) => !f.disabled).map((f) => f.i), g = _.indexOf(l.value);
1801
1840
  if (h.key === "ArrowRight") {
1802
1841
  h.preventDefault();
1803
1842
  const f = _[(g + 1) % _.length];
@@ -1823,7 +1862,7 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
1823
1862
  role: "tablist",
1824
1863
  onKeydown: m
1825
1864
  }, [
1826
- (s(!0), o(B, null, R(d.value, (g, f) => (s(), o("button", {
1865
+ (s(!0), o(B, null, z(d.value, (g, f) => (s(), o("button", {
1827
1866
  key: g.id,
1828
1867
  role: "tab",
1829
1868
  id: `${$}-tab-${f}`,
@@ -1833,15 +1872,15 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
1833
1872
  disabled: g.disabled,
1834
1873
  class: y(["tab-button", f === l.value && "is-active", g.disabled && "is-disabled"]),
1835
1874
  type: "button",
1836
- onClick: (T) => !g.disabled && i(f)
1837
- }, L(g.label), 11, Fa))), 128))
1875
+ onClick: (I) => !g.disabled && i(f)
1876
+ }, L(g.label), 11, Pa))), 128))
1838
1877
  ], 32),
1839
- c("div", Ga, [
1878
+ c("div", Fa, [
1840
1879
  b(h.$slots, "default", { groupId: $ })
1841
1880
  ])
1842
1881
  ], 2));
1843
1882
  }
1844
- }), Pa = ["hidden"], cl = /* @__PURE__ */ v({
1883
+ }), Va = ["hidden"], fl = /* @__PURE__ */ v({
1845
1884
  name: "LlmTab",
1846
1885
  __name: "llm-tab",
1847
1886
  props: {
@@ -1866,13 +1905,13 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
1866
1905
  tabindex: "0"
1867
1906
  }, [
1868
1907
  b(u.$slots, "default")
1869
- ], 8, Pa)) : w("", !0);
1908
+ ], 8, Va)) : w("", !0);
1870
1909
  }
1871
- }), Va = ["for"], Na = { class: "textarea-field" }, Ua = ["id", "value", "rows", "placeholder", "disabled", "readonly", "required", "name", "aria-invalid"], Wa = {
1910
+ }), Na = ["for"], Ua = { class: "textarea-field" }, Wa = ["id", "value", "rows", "placeholder", "disabled", "readonly", "required", "name", "aria-invalid"], Ja = {
1872
1911
  key: 1,
1873
1912
  class: "errors",
1874
1913
  "aria-live": "polite"
1875
- }, ml = /* @__PURE__ */ v({
1914
+ }, pl = /* @__PURE__ */ v({
1876
1915
  name: "LlmTextarea",
1877
1916
  __name: "llm-textarea",
1878
1917
  props: {
@@ -1895,8 +1934,8 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
1895
1934
  function u() {
1896
1935
  a.autoResize && l.value && (l.value.style.height = "auto", l.value.style.height = `${l.value.scrollHeight}px`);
1897
1936
  }
1898
- z(() => a.value, async () => {
1899
- await Z(), u();
1937
+ R(() => a.value, async () => {
1938
+ await Y(), u();
1900
1939
  }), E(() => u());
1901
1940
  function r(i) {
1902
1941
  n("update:value", i.target.value), u();
@@ -1908,8 +1947,8 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
1908
1947
  key: 0,
1909
1948
  for: d.value,
1910
1949
  class: "textarea-label"
1911
- }, L(e.label), 9, Va)) : w("", !0),
1912
- c("div", Na, [
1950
+ }, L(e.label), 9, Na)) : w("", !0),
1951
+ c("div", Ua, [
1913
1952
  c("textarea", {
1914
1953
  id: d.value,
1915
1954
  ref_key: "textareaRef",
@@ -1923,10 +1962,10 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
1923
1962
  name: e.name,
1924
1963
  "aria-invalid": e.invalid || void 0,
1925
1964
  onInput: r
1926
- }, null, 40, Ua)
1965
+ }, null, 40, Wa)
1927
1966
  ]),
1928
- e.errors.length ? (s(), o("ul", Wa, [
1929
- (s(!0), o(B, null, R(e.errors, ($, k) => (s(), o("li", {
1967
+ e.errors.length ? (s(), o("ul", Ja, [
1968
+ (s(!0), o(B, null, z(e.errors, ($, k) => (s(), o("li", {
1930
1969
  key: k,
1931
1970
  class: "error"
1932
1971
  }, L($), 1))), 128))
@@ -1934,7 +1973,7 @@ const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), kt = /* @__PURE__ */ v({
1934
1973
  ], 2));
1935
1974
  }
1936
1975
  }), N = /* @__PURE__ */ Symbol("LlmToast");
1937
- function fl() {
1976
+ function vl() {
1938
1977
  const e = q(N);
1939
1978
  if (!e)
1940
1979
  throw new Error(
@@ -1942,7 +1981,7 @@ function fl() {
1942
1981
  );
1943
1982
  return { show: e.show, dismiss: e.dismiss, clear: e.clear };
1944
1983
  }
1945
- const pl = /* @__PURE__ */ v({
1984
+ const hl = /* @__PURE__ */ v({
1946
1985
  name: "LlmToastProvider",
1947
1986
  __name: "llm-toast-provider",
1948
1987
  setup(e) {
@@ -1975,7 +2014,7 @@ const pl = /* @__PURE__ */ v({
1975
2014
  }
1976
2015
  return H(N, { toasts: t, show: n, dismiss: l, clear: d }), (u, r) => b(u.$slots, "default");
1977
2016
  }
1978
- }), Ja = { class: "message" }, Za = /* @__PURE__ */ v({
2017
+ }), Ya = { class: "message" }, Za = /* @__PURE__ */ v({
1979
2018
  name: "LlmToastItem",
1980
2019
  __name: "llm-toast-item",
1981
2020
  props: {
@@ -1988,7 +2027,7 @@ const pl = /* @__PURE__ */ v({
1988
2027
  class: y(l.value),
1989
2028
  role: "status"
1990
2029
  }, [
1991
- c("span", Ja, L(e.data.message), 1),
2030
+ c("span", Ya, L(e.data.message), 1),
1992
2031
  e.data.dismissible ? (s(), o("button", {
1993
2032
  key: 0,
1994
2033
  class: "dismiss",
@@ -2024,7 +2063,7 @@ const pl = /* @__PURE__ */ v({
2024
2063
  ])])) : w("", !0)
2025
2064
  ], 2));
2026
2065
  }
2027
- }), vl = /* @__PURE__ */ v({
2066
+ }), bl = /* @__PURE__ */ v({
2028
2067
  name: "LlmToastContainer",
2029
2068
  __name: "llm-toast-container",
2030
2069
  props: {
@@ -2041,18 +2080,18 @@ const pl = /* @__PURE__ */ v({
2041
2080
  "aria-live": "polite",
2042
2081
  role: "status"
2043
2082
  }, [
2044
- (s(!0), o(B, null, R(n.value, (i) => (s(), W(Za, {
2083
+ (s(!0), o(B, null, z(n.value, (i) => (s(), W(Za, {
2045
2084
  key: i.id,
2046
2085
  data: i,
2047
2086
  onDismiss: r[0] || (r[0] = (m) => l(m))
2048
2087
  }, null, 8, ["data"]))), 128))
2049
2088
  ], 2));
2050
2089
  }
2051
- }), Qa = ["for"], Xa = ["id", "checked", "disabled", "required", "name", "aria-invalid", "aria-checked"], Ya = {
2090
+ }), Qa = ["for"], Xa = ["id", "checked", "disabled", "required", "name", "aria-invalid", "aria-checked"], et = {
2052
2091
  key: 0,
2053
2092
  class: "errors",
2054
2093
  "aria-live": "polite"
2055
- }, hl = /* @__PURE__ */ v({
2094
+ }, gl = /* @__PURE__ */ v({
2056
2095
  name: "LlmToggle",
2057
2096
  __name: "llm-toggle",
2058
2097
  props: {
@@ -2095,15 +2134,15 @@ const pl = /* @__PURE__ */ v({
2095
2134
  ], -1)),
2096
2135
  b(u.$slots, "default")
2097
2136
  ], 8, Qa),
2098
- e.errors.length ? (s(), o("ul", Ya, [
2099
- (s(!0), o(B, null, R(e.errors, (i, m) => (s(), o("li", {
2137
+ e.errors.length ? (s(), o("ul", et, [
2138
+ (s(!0), o(B, null, z(e.errors, (i, m) => (s(), o("li", {
2100
2139
  key: m,
2101
2140
  class: "error"
2102
2141
  }, L(i), 1))), 128))
2103
2142
  ])) : w("", !0)
2104
2143
  ], 2));
2105
2144
  }
2106
- }), bl = /* @__PURE__ */ v({
2145
+ }), yl = /* @__PURE__ */ v({
2107
2146
  name: "LlmTooltip",
2108
2147
  __name: "llm-tooltip",
2109
2148
  props: {
@@ -2148,7 +2187,7 @@ const pl = /* @__PURE__ */ v({
2148
2187
  }, L(e.llmTooltip), 3)) : w("", !0)
2149
2188
  ], 32));
2150
2189
  }
2151
- }), et = { class: "llm-code-block" }, at = { class: "code-block-header" }, tt = { class: "code-block-label" }, lt = ["aria-label"], st = { class: "code-block-body" }, nt = { class: "code-block-pre" }, ot = { class: "code-line-number" }, it = { class: "code-line-text" }, gl = /* @__PURE__ */ v({
2190
+ }), at = { class: "llm-code-block" }, tt = { class: "code-block-header" }, lt = { class: "code-block-label" }, st = ["aria-label"], nt = { class: "code-block-body" }, ot = { class: "code-block-pre" }, it = { class: "code-line-number" }, rt = { class: "code-line-text" }, $l = /* @__PURE__ */ v({
2152
2191
  name: "LlmCodeBlock",
2153
2192
  __name: "llm-code-block",
2154
2193
  props: {
@@ -2168,9 +2207,9 @@ const pl = /* @__PURE__ */ v({
2168
2207
  }, 1800);
2169
2208
  });
2170
2209
  }
2171
- return (u, r) => (s(), o("div", et, [
2172
- c("div", at, [
2173
- c("span", tt, L(n.value), 1),
2210
+ return (u, r) => (s(), o("div", at, [
2211
+ c("div", tt, [
2212
+ c("span", lt, L(n.value), 1),
2174
2213
  e.copyable ? (s(), o("button", {
2175
2214
  key: 0,
2176
2215
  class: "code-block-copy",
@@ -2193,7 +2232,7 @@ const pl = /* @__PURE__ */ v({
2193
2232
  }, [
2194
2233
  c("polyline", { points: "20 6 9 17 4 12" })
2195
2234
  ], -1)),
2196
- r[1] || (r[1] = F(" Copied ", -1))
2235
+ r[1] || (r[1] = G(" Copied ", -1))
2197
2236
  ], 64)) : (s(), o(B, { key: 1 }, [
2198
2237
  r[2] || (r[2] = c("svg", {
2199
2238
  xmlns: "http://www.w3.org/2000/svg",
@@ -2217,28 +2256,28 @@ const pl = /* @__PURE__ */ v({
2217
2256
  }),
2218
2257
  c("path", { d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" })
2219
2258
  ], -1)),
2220
- r[3] || (r[3] = F(" Copy ", -1))
2259
+ r[3] || (r[3] = G(" Copy ", -1))
2221
2260
  ], 64))
2222
- ], 8, lt)) : w("", !0)
2261
+ ], 8, st)) : w("", !0)
2223
2262
  ]),
2224
- c("div", st, [
2225
- c("pre", nt, [
2263
+ c("div", nt, [
2264
+ c("pre", ot, [
2226
2265
  c("code", null, [
2227
- e.showLineNumbers ? (s(!0), o(B, { key: 0 }, R(l.value, (i, m) => (s(), o("span", {
2266
+ e.showLineNumbers ? (s(!0), o(B, { key: 0 }, z(l.value, (i, m) => (s(), o("span", {
2228
2267
  key: m,
2229
2268
  class: "code-line"
2230
2269
  }, [
2231
- c("span", ot, L(m + 1), 1),
2232
- c("span", it, L(i), 1)
2270
+ c("span", it, L(m + 1), 1),
2271
+ c("span", rt, L(i), 1)
2233
2272
  ]))), 128)) : (s(), o(B, { key: 1 }, [
2234
- F(L(e.code), 1)
2273
+ G(L(e.code), 1)
2235
2274
  ], 64))
2236
2275
  ])
2237
2276
  ])
2238
2277
  ])
2239
2278
  ]));
2240
2279
  }
2241
- }), rt = ["aria-labelledby"], dt = ["aria-labelledby"], ut = ["aria-label", "aria-expanded"], ct = ["aria-labelledby"], U = /* @__PURE__ */ Symbol("LlmChat"), yl = /* @__PURE__ */ v({
2280
+ }), dt = ["aria-labelledby"], ut = ["aria-labelledby"], ct = ["aria-label", "aria-expanded"], mt = ["aria-labelledby"], U = /* @__PURE__ */ Symbol("LlmChat"), kl = /* @__PURE__ */ v({
2242
2281
  name: "LlmChat",
2243
2282
  __name: "llm-chat",
2244
2283
  props: {
@@ -2248,7 +2287,7 @@ const pl = /* @__PURE__ */ v({
2248
2287
  },
2249
2288
  emits: ["update:open"],
2250
2289
  setup(e, { emit: t }) {
2251
- const a = e, n = t, l = C(null), d = Q("hostRef"), u = O(), r = fe(a, "status");
2290
+ const a = e, n = t, l = C(null), d = Z("hostRef"), u = O(), r = fe(a, "status");
2252
2291
  function i() {
2253
2292
  n("update:open", !1);
2254
2293
  }
@@ -2260,7 +2299,7 @@ const pl = /* @__PURE__ */ v({
2260
2299
  status: r,
2261
2300
  close: i,
2262
2301
  toggle: m
2263
- }), z(
2302
+ }), R(
2264
2303
  () => a.open,
2265
2304
  (g) => {
2266
2305
  if (a.variant !== "drawer") return;
@@ -2268,10 +2307,10 @@ const pl = /* @__PURE__ */ v({
2268
2307
  f && (g ? f.open || f.showModal() : f.open && f.close());
2269
2308
  },
2270
2309
  { flush: "post" }
2271
- ), z(
2310
+ ), R(
2272
2311
  () => a.open,
2273
2312
  async (g) => {
2274
- g && a.variant !== "inline" && (await Z(), requestAnimationFrame(() => {
2313
+ g && a.variant !== "inline" && (await Y(), requestAnimationFrame(() => {
2275
2314
  d.value?.querySelector("textarea")?.focus();
2276
2315
  }));
2277
2316
  },
@@ -2314,7 +2353,7 @@ const pl = /* @__PURE__ */ v({
2314
2353
  }, [
2315
2354
  b(g.$slots, "default")
2316
2355
  ])
2317
- ], 40, rt)) : e.variant === "popup" ? (s(), o(B, { key: 1 }, [
2356
+ ], 40, dt)) : e.variant === "popup" ? (s(), o(B, { key: 1 }, [
2318
2357
  e.open ? (s(), o("div", {
2319
2358
  key: 0,
2320
2359
  class: "surface popup-surface",
@@ -2322,7 +2361,7 @@ const pl = /* @__PURE__ */ v({
2322
2361
  "aria-labelledby": M(u)
2323
2362
  }, [
2324
2363
  b(g.$slots, "default")
2325
- ], 8, dt)) : w("", !0),
2364
+ ], 8, ut)) : w("", !0),
2326
2365
  c("button", {
2327
2366
  type: "button",
2328
2367
  class: "fab-bubble",
@@ -2331,17 +2370,17 @@ const pl = /* @__PURE__ */ v({
2331
2370
  onClick: m
2332
2371
  }, [...f[1] || (f[1] = [
2333
2372
  c("span", { "aria-hidden": "true" }, "AI", -1)
2334
- ])], 8, ut)
2373
+ ])], 8, ct)
2335
2374
  ], 64)) : (s(), o("section", {
2336
2375
  key: 2,
2337
2376
  class: "surface inline-surface",
2338
2377
  "aria-labelledby": M(u)
2339
2378
  }, [
2340
2379
  b(g.$slots, "default")
2341
- ], 8, ct))
2380
+ ], 8, mt))
2342
2381
  ], 2));
2343
2382
  }
2344
- }), mt = ["id"], ft = { class: "title-block" }, $l = /* @__PURE__ */ v({
2383
+ }), ft = ["id"], pt = { class: "title-block" }, _l = /* @__PURE__ */ v({
2345
2384
  name: "LlmChatHeader",
2346
2385
  __name: "llm-chat-header",
2347
2386
  setup(e) {
@@ -2357,7 +2396,7 @@ const pl = /* @__PURE__ */ v({
2357
2396
  id: M(t).headerId,
2358
2397
  class: "llm-chat-header"
2359
2398
  }, [
2360
- c("div", ft, [
2399
+ c("div", pt, [
2361
2400
  b(a.$slots, "default")
2362
2401
  ]),
2363
2402
  c("button", {
@@ -2392,13 +2431,13 @@ const pl = /* @__PURE__ */ v({
2392
2431
  })
2393
2432
  ], -1)
2394
2433
  ])])
2395
- ], 8, mt));
2434
+ ], 8, ft));
2396
2435
  }
2397
- }), kl = /* @__PURE__ */ v({
2436
+ }), wl = /* @__PURE__ */ v({
2398
2437
  name: "LlmChatMessages",
2399
2438
  __name: "llm-chat-messages",
2400
2439
  setup(e) {
2401
- const t = Q("root");
2440
+ const t = Z("root");
2402
2441
  let a = null;
2403
2442
  return E(() => {
2404
2443
  const n = t.value;
@@ -2417,7 +2456,7 @@ const pl = /* @__PURE__ */ v({
2417
2456
  b(n.$slots, "default")
2418
2457
  ], 512));
2419
2458
  }
2420
- }), _l = /* @__PURE__ */ v({
2459
+ }), Ll = /* @__PURE__ */ v({
2421
2460
  name: "LlmChatMessage",
2422
2461
  __name: "llm-chat-message",
2423
2462
  props: {
@@ -2437,7 +2476,7 @@ const pl = /* @__PURE__ */ v({
2437
2476
  b(n.$slots, "default")
2438
2477
  ], 2));
2439
2478
  }
2440
- }), wl = /* @__PURE__ */ v({
2479
+ }), xl = /* @__PURE__ */ v({
2441
2480
  name: "LlmChatTyping",
2442
2481
  __name: "llm-chat-typing",
2443
2482
  props: {
@@ -2459,10 +2498,10 @@ const pl = /* @__PURE__ */ v({
2459
2498
  c("span", { class: "sr-only" }, "Assistant is typing", -1)
2460
2499
  ])], 2));
2461
2500
  }
2462
- }), pt = { class: "llm-chat-suggestion" }, vt = { class: "chip-label" }, ht = {
2501
+ }), vt = { class: "llm-chat-suggestion" }, ht = { class: "chip-label" }, bt = {
2463
2502
  key: 0,
2464
2503
  class: "chip-hint"
2465
- }, Ll = /* @__PURE__ */ v({
2504
+ }, Cl = /* @__PURE__ */ v({
2466
2505
  name: "LlmChatSuggestion",
2467
2506
  __name: "llm-chat-suggestion",
2468
2507
  props: {
@@ -2472,18 +2511,18 @@ const pl = /* @__PURE__ */ v({
2472
2511
  emits: ["selected"],
2473
2512
  setup(e, { emit: t }) {
2474
2513
  const a = e, n = t;
2475
- return (l, d) => (s(), o("div", pt, [
2514
+ return (l, d) => (s(), o("div", vt, [
2476
2515
  c("button", {
2477
2516
  type: "button",
2478
2517
  class: "chip",
2479
2518
  onClick: d[0] || (d[0] = (u) => n("selected", a.label))
2480
2519
  }, [
2481
- c("span", vt, L(a.label), 1),
2482
- a.hint ? (s(), o("span", ht, L(a.hint), 1)) : w("", !0)
2520
+ c("span", ht, L(a.label), 1),
2521
+ a.hint ? (s(), o("span", bt, L(a.hint), 1)) : w("", !0)
2483
2522
  ])
2484
2523
  ]));
2485
2524
  }
2486
- }), bt = { class: "llm-chat-input" }, gt = ["value", "placeholder", "disabled", "aria-label"], yt = ["disabled"], xl = /* @__PURE__ */ v({
2525
+ }), gt = { class: "llm-chat-input" }, yt = ["value", "placeholder", "disabled", "aria-label"], $t = ["disabled"], Bl = /* @__PURE__ */ v({
2487
2526
  name: "LlmChatInput",
2488
2527
  __name: "llm-chat-input",
2489
2528
  props: {
@@ -2527,7 +2566,7 @@ const pl = /* @__PURE__ */ v({
2527
2566
  const g = _.target;
2528
2567
  r.value = g.value;
2529
2568
  }
2530
- return (_, g) => (s(), o("div", bt, [
2569
+ return (_, g) => (s(), o("div", gt, [
2531
2570
  c("textarea", {
2532
2571
  class: "field",
2533
2572
  rows: "1",
@@ -2537,7 +2576,7 @@ const pl = /* @__PURE__ */ v({
2537
2576
  "aria-label": a.ariaLabel,
2538
2577
  onInput: h,
2539
2578
  onKeydown: k
2540
- }, null, 40, gt),
2579
+ }, null, 40, yt),
2541
2580
  i.value ? (s(), o("button", {
2542
2581
  key: 0,
2543
2582
  type: "button",
@@ -2549,71 +2588,72 @@ const pl = /* @__PURE__ */ v({
2549
2588
  class: "action-btn variant-primary size-md",
2550
2589
  disabled: !r.value.trim(),
2551
2590
  onClick: $
2552
- }, " Send ", 8, yt))
2591
+ }, " Send ", 8, $t))
2553
2592
  ]));
2554
2593
  }
2555
2594
  });
2556
2595
  export {
2557
- kt as LlmAccordionGroup,
2558
- wt as LlmAccordionHeader,
2559
- _t as LlmAccordionItem,
2560
- Lt as LlmAlert,
2561
- xt as LlmAvatar,
2562
- Ct as LlmAvatarGroup,
2563
- Bt as LlmBadge,
2564
- It as LlmBreadcrumbItem,
2565
- Tt as LlmBreadcrumbs,
2566
- Dt as LlmButton,
2567
- St as LlmCard,
2568
- At as LlmCardContent,
2569
- Rt as LlmCardFooter,
2570
- Mt as LlmCardHeader,
2571
- yl as LlmChat,
2572
- $l as LlmChatHeader,
2573
- xl as LlmChatInput,
2596
+ _t as LlmAccordionGroup,
2597
+ Lt as LlmAccordionHeader,
2598
+ wt as LlmAccordionItem,
2599
+ xt as LlmAlert,
2600
+ Ct as LlmAvatar,
2601
+ Bt as LlmAvatarGroup,
2602
+ It as LlmBadge,
2603
+ Dt as LlmBreadcrumbItem,
2604
+ St as LlmBreadcrumbs,
2605
+ Mt as LlmButton,
2606
+ At as LlmCard,
2607
+ Rt as LlmCardContent,
2608
+ qt as LlmCardFooter,
2609
+ zt as LlmCardHeader,
2610
+ kl as LlmChat,
2611
+ _l as LlmChatHeader,
2612
+ Bl as LlmChatInput,
2574
2613
  U as LlmChatKey,
2575
- _l as LlmChatMessage,
2576
- kl as LlmChatMessages,
2577
- Ll as LlmChatSuggestion,
2578
- wl as LlmChatTyping,
2579
- He as LlmCheckbox,
2580
- gl as LlmCodeBlock,
2581
- Zt as LlmCombobox,
2582
- zt as LlmDialog,
2583
- Ht as LlmDialogContent,
2584
- Et as LlmDialogFooter,
2585
- qt as LlmDialogHeader,
2586
- Ot as LlmDrawer,
2587
- jt as LlmDrawerContent,
2614
+ Ll as LlmChatMessage,
2615
+ wl as LlmChatMessages,
2616
+ Cl as LlmChatSuggestion,
2617
+ xl as LlmChatTyping,
2618
+ Ee as LlmCheckbox,
2619
+ $l as LlmCodeBlock,
2620
+ Qt as LlmCombobox,
2621
+ Ht as LlmDialog,
2622
+ Ot as LlmDialogContent,
2623
+ Kt as LlmDialogFooter,
2624
+ Et as LlmDialogHeader,
2625
+ jt as LlmDrawer,
2626
+ Pt as LlmDrawerContent,
2588
2627
  Ft as LlmDrawerFooter,
2589
- Kt as LlmDrawerHeader,
2590
- Gt as LlmInput,
2591
- Vt as LlmMenu,
2592
- Nt as LlmMenuItem,
2593
- Ut as LlmMenuSeparator,
2594
- Pt as LlmMenuTrigger,
2595
- el as LlmOption,
2596
- Wt as LlmPagination,
2597
- Jt as LlmProgress,
2598
- Xt as LlmRadio,
2599
- Qt as LlmRadioGroup,
2600
- Yt as LlmSelect,
2601
- al as LlmSkeleton,
2602
- ll as LlmStep,
2603
- tl as LlmStepper,
2604
- cl as LlmTab,
2605
- ul as LlmTabGroup,
2606
- sl as LlmTable,
2607
- ol as LlmTbody,
2608
- dl as LlmTd,
2609
- ml as LlmTextarea,
2610
- rl as LlmTh,
2611
- nl as LlmThead,
2612
- vl as LlmToastContainer,
2628
+ Gt as LlmDrawerHeader,
2629
+ Tt as LlmIcon,
2630
+ Vt as LlmInput,
2631
+ Ut as LlmMenu,
2632
+ Wt as LlmMenuItem,
2633
+ Jt as LlmMenuSeparator,
2634
+ Nt as LlmMenuTrigger,
2635
+ tl as LlmOption,
2636
+ Yt as LlmPagination,
2637
+ Zt as LlmProgress,
2638
+ el as LlmRadio,
2639
+ Xt as LlmRadioGroup,
2640
+ al as LlmSelect,
2641
+ ll as LlmSkeleton,
2642
+ nl as LlmStep,
2643
+ sl as LlmStepper,
2644
+ fl as LlmTab,
2645
+ ml as LlmTabGroup,
2646
+ ol as LlmTable,
2647
+ rl as LlmTbody,
2648
+ cl as LlmTd,
2649
+ pl as LlmTextarea,
2650
+ ul as LlmTh,
2651
+ il as LlmThead,
2652
+ bl as LlmToastContainer,
2613
2653
  Za as LlmToastItem,
2614
- pl as LlmToastProvider,
2615
- hl as LlmToggle,
2616
- bl as LlmTooltip,
2617
- il as LlmTr,
2618
- fl as useLlmToast
2654
+ hl as LlmToastProvider,
2655
+ gl as LlmToggle,
2656
+ yl as LlmTooltip,
2657
+ dl as LlmTr,
2658
+ vl as useLlmToast
2619
2659
  };