@thekestongroup/ui 0.13.1 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/keston-ui.js CHANGED
@@ -366,56 +366,49 @@ var Hn = ["stroke-dashoffset", "stroke-opacity"], Un = {
366
366
  {
367
367
  id: "id",
368
368
  label: "Keston ID",
369
- description: "Your account and sign-in",
370
369
  href: "https://id.keston.co",
371
370
  icon: "id"
372
371
  },
373
372
  {
374
373
  id: "admin",
375
374
  label: "Admin",
376
- description: "Manage people and access",
377
375
  href: "https://admin.keston.co",
378
376
  icon: "admin"
379
377
  },
380
378
  {
381
379
  id: "work",
382
380
  label: "Work",
383
- description: "Day-to-day work",
384
381
  href: "https://work.keston.co",
385
382
  icon: "work"
386
383
  },
387
384
  {
388
385
  id: "utilities",
389
386
  label: "Utilities",
390
- description: "Small tools that run on your device",
391
387
  href: "https://utilities.keston.co",
392
388
  icon: "utilities"
393
389
  },
394
390
  {
395
391
  id: "design",
396
392
  label: "Design system",
397
- description: "Keston UI",
398
393
  href: "https://ui.keston.co",
399
394
  icon: "design"
400
395
  }
401
- ], nr = ["aria-label"], rr = { class: "grid grid-cols-2 gap-1" }, ir = [
396
+ ], nr = ["aria-label"], rr = [
402
397
  "href",
403
398
  "aria-current",
404
399
  "onClick"
405
- ], ar = { class: "flex size-9 items-center justify-center rounded-lg bg-black/5 text-black" }, or = { class: "min-w-0" }, sr = { class: "block font-bold text-black" }, cr = {
406
- key: 0,
407
- class: "block text-xs text-black/65"
408
- }, lr = {
400
+ ], ir = { class: "flex size-8 shrink-0 items-center justify-center rounded-lg bg-black/5" }, ar = { class: "min-w-0 truncate" }, or = {
409
401
  id: we,
410
402
  admin: Le,
411
403
  work: le,
412
404
  utilities: Be,
413
405
  design: Me
414
- }, ur = /* @__PURE__ */ f({
406
+ }, sr = /* @__PURE__ */ f({
415
407
  __name: "AppLauncher",
416
408
  props: {
417
409
  apps: { default: () => tr },
418
410
  current: {},
411
+ align: { default: "end" },
419
412
  label: {},
420
413
  class: { type: [
421
414
  Boolean,
@@ -428,21 +421,21 @@ var Hn = ["stroke-dashoffset", "stroke-opacity"], Un = {
428
421
  setup(e) {
429
422
  let { t } = K(), r = e;
430
423
  function i(e) {
431
- return typeof e.icon == "string" ? lr[e.icon] ?? q : e.icon ?? q;
424
+ return typeof e.icon == "string" ? or[e.icon] ?? q : e.icon ?? q;
432
425
  }
433
- return (l, u) => (w(), a(er, {
434
- content: { align: "end" },
435
- ui: { content: "w-80 p-2" }
426
+ return (o, l) => (w(), a(er, {
427
+ content: { align: e.align },
428
+ ui: { content: "w-64 p-2" }
436
429
  }, {
437
- content: V(({ close: r }) => [c("nav", { "aria-label": e.label ?? M(t)("ui.appLauncher.label") }, [c("ul", rr, [(w(!0), s(n, null, D(e.apps, (t) => (w(), s("li", { key: t.id }, [c("a", {
430
+ content: V(({ close: r }) => [c("nav", { "aria-label": e.label ?? M(t)("ui.appLauncher.label") }, [c("ul", null, [(w(!0), s(n, null, D(e.apps, (t) => (w(), s("li", { key: t.id }, [c("a", {
438
431
  href: t.href,
439
432
  "aria-current": t.id === e.current ? "page" : void 0,
440
- class: y(M(X)("flex h-full flex-col items-start gap-2 rounded-lg p-3 text-sm outline-none hover:bg-black/5 focus-visible:outline-2 focus-visible:outline-focus", t.id === e.current && "bg-black/5")),
433
+ class: y(M(X)("flex items-center gap-3 rounded-lg px-3 py-2 text-sm font-bold text-black outline-none hover:bg-black/5 focus-visible:outline-2 focus-visible:outline-focus", t.id === e.current && "bg-black/5")),
441
434
  onClick: (e) => r()
442
- }, [c("span", ar, [(w(), a(k(i(t)), {
435
+ }, [c("span", ir, [(w(), a(k(i(t)), {
443
436
  class: "size-5",
444
437
  "aria-hidden": "true"
445
- }))]), c("span", or, [c("span", sr, j(t.label), 1), t.description ? (w(), s("span", cr, j(t.description), 1)) : o("", !0)])], 10, ir)]))), 128))])], 8, nr)]),
438
+ }))]), c("span", ar, j(t.label), 1)], 10, rr)]))), 128))])], 8, nr)]),
446
439
  default: V(() => [d(Z, {
447
440
  variant: "ghost",
448
441
  square: "",
@@ -453,9 +446,9 @@ var Hn = ["stroke-dashoffset", "stroke-opacity"], Un = {
453
446
  _: 1
454
447
  }, 8, ["aria-label", "class"])]),
455
448
  _: 1
456
- }));
449
+ }, 8, ["content"]));
457
450
  }
458
- }), dr = /* @__PURE__ */ f({
451
+ }), cr = /* @__PURE__ */ f({
459
452
  __name: "Link",
460
453
  props: {
461
454
  href: {},
@@ -504,17 +497,17 @@ var Hn = ["stroke-dashoffset", "stroke-opacity"], Un = {
504
497
  }
505
498
  });
506
499
  // src/components/Footer/footer.ts
507
- function fr(e, t) {
500
+ function lr(e, t) {
508
501
  return t && t < e ? `${t}–${e}` : String(e);
509
502
  }
510
- function pr(e) {
503
+ function ur(e) {
511
504
  return e ? /^v/i.test(e) ? `v${e.slice(1)}` : `v${e}` : "";
512
505
  }
513
- function mr(e) {
506
+ function dr(e) {
514
507
  return e ? e.replace(/^v/i, "") : "";
515
508
  }
516
509
  // src/components/Footer/links.ts
517
- var hr = [
510
+ var fr = [
518
511
  {
519
512
  label: "Help & support",
520
513
  href: "https://thekestongroup.com/help"
@@ -527,7 +520,7 @@ var hr = [
527
520
  label: "Terms & Conditions",
528
521
  href: "https://thekestongroup.com/terms"
529
522
  }
530
- ], gr = [
523
+ ], pr = [
531
524
  {
532
525
  label: "Keston ID",
533
526
  href: "https://id.keston.co"
@@ -544,23 +537,23 @@ var hr = [
544
537
  label: "Design system",
545
538
  href: "https://ui.keston.co"
546
539
  }
547
- ], _r = ["aria-label"], vr = { class: "flex flex-wrap items-center gap-x-4 gap-y-1" }, yr = {
540
+ ], mr = ["aria-label"], hr = { class: "flex flex-wrap items-center gap-x-4 gap-y-1" }, gr = {
548
541
  key: 0,
549
542
  class: "hidden h-4 w-px bg-black/15 sm:block",
550
543
  "aria-hidden": "true"
551
- }, br = {
544
+ }, _r = {
552
545
  key: 0,
553
546
  class: "flex flex-wrap items-baseline gap-x-1.5"
554
- }, xr = {
547
+ }, vr = {
555
548
  key: 0,
556
549
  class: "font-bold text-black/80"
557
- }, Sr = { key: 1 }, Cr = { class: "sr-only" }, wr = { "aria-hidden": "true" }, Tr = ["title"], Er = { class: "sr-only" }, Dr = {
550
+ }, yr = { key: 1 }, br = { class: "sr-only" }, xr = { "aria-hidden": "true" }, Sr = ["title"], Cr = { class: "sr-only" }, wr = {
558
551
  class: "font-mono text-xs text-black/55",
559
552
  "aria-hidden": "true"
560
- }, Or = /* @__PURE__ */ f({
553
+ }, Tr = /* @__PURE__ */ f({
561
554
  __name: "Footer",
562
555
  props: {
563
- links: { default: () => hr },
556
+ links: { default: () => fr },
564
557
  moreLinks: { default: () => [] },
565
558
  linkComponent: { default: void 0 },
566
559
  appName: {},
@@ -579,7 +572,7 @@ var hr = [
579
572
  ui: {}
580
573
  },
581
574
  setup(e) {
582
- let { t } = K(), r = e, a = i(() => fr(r.year ?? (/* @__PURE__ */ new Date()).getFullYear(), r.since)), l = i(() => pr(r.version)), f = i(() => r.version ? t("ui.footer.version", { version: mr(r.version) }) : ""), p = i(() => r.build ? t("ui.footer.build", { build: r.build }) : "");
575
+ let { t } = K(), r = e, a = i(() => lr(r.year ?? (/* @__PURE__ */ new Date()).getFullYear(), r.since)), l = i(() => ur(r.version)), f = i(() => r.version ? t("ui.footer.version", { version: dr(r.version) }) : ""), p = i(() => r.build ? t("ui.footer.build", { build: r.build }) : "");
583
576
  function m(e) {
584
577
  return e.to === void 0 ? {
585
578
  href: e.href,
@@ -593,24 +586,24 @@ var hr = [
593
586
  return (i, h) => (w(), s("footer", { class: y(M(X)("flex shrink-0 flex-col gap-3 border-t border-black/15 bg-white px-4 py-4 text-sm text-black/65 sm:flex-row sm:items-center sm:justify-between sm:px-6", r.class)) }, [c("nav", {
594
587
  "aria-label": M(t)("ui.footer.label"),
595
588
  class: y(M(X)("min-w-0", e.ui?.links))
596
- }, [O(i.$slots, "nav", {}, () => [c("ul", vr, [
597
- (w(!0), s(n, null, D(e.links, (e) => (w(), s("li", { key: e.label }, [d(dr, _({ ref_for: !0 }, m(e), { icon: !1 }), {
589
+ }, [O(i.$slots, "nav", {}, () => [c("ul", hr, [
590
+ (w(!0), s(n, null, D(e.links, (e) => (w(), s("li", { key: e.label }, [d(cr, _({ ref_for: !0 }, m(e), { icon: !1 }), {
598
591
  default: V(() => [u(j(e.label), 1)]),
599
592
  _: 2
600
593
  }, 1040)]))), 128)),
601
- e.moreLinks.length ? (w(), s("li", yr)) : o("", !0),
602
- (w(!0), s(n, null, D(e.moreLinks, (e) => (w(), s("li", { key: e.label }, [d(dr, _({ ref_for: !0 }, m(e), { icon: !1 }), {
594
+ e.moreLinks.length ? (w(), s("li", gr)) : o("", !0),
595
+ (w(!0), s(n, null, D(e.moreLinks, (e) => (w(), s("li", { key: e.label }, [d(cr, _({ ref_for: !0 }, m(e), { icon: !1 }), {
603
596
  default: V(() => [u(j(e.label), 1)]),
604
597
  _: 2
605
598
  }, 1040)]))), 128))
606
- ])])], 10, _r), c("div", { class: y(M(X)("flex flex-wrap items-center gap-x-3 gap-y-1 sm:justify-end", e.ui?.meta)) }, [
607
- e.appName || e.version || e.build ? (w(), s("p", br, [
608
- e.appName ? (w(), s("span", xr, j(e.appName), 1)) : o("", !0),
609
- e.version ? (w(), s("span", Sr, [c("span", Cr, j(f.value), 1), c("span", wr, j(l.value), 1)])) : o("", !0),
599
+ ])])], 10, mr), c("div", { class: y(M(X)("flex flex-wrap items-center gap-x-3 gap-y-1 sm:justify-end", e.ui?.meta)) }, [
600
+ e.appName || e.version || e.build ? (w(), s("p", _r, [
601
+ e.appName ? (w(), s("span", vr, j(e.appName), 1)) : o("", !0),
602
+ e.version ? (w(), s("span", yr, [c("span", br, j(f.value), 1), c("span", xr, j(l.value), 1)])) : o("", !0),
610
603
  e.build ? (w(), s("span", {
611
604
  key: 2,
612
605
  title: p.value
613
- }, [c("span", Er, j(p.value), 1), c("span", Dr, j(e.build), 1)], 8, Tr)) : o("", !0)
606
+ }, [c("span", Cr, j(p.value), 1), c("span", wr, j(e.build), 1)], 8, Sr)) : o("", !0)
614
607
  ])) : o("", !0),
615
608
  c("p", null, j(M(t)("ui.footer.copyright", {
616
609
  years: a.value,
@@ -621,42 +614,42 @@ var hr = [
621
614
  }
622
615
  });
623
616
  // src/lib/initials.ts
624
- function kr(e) {
617
+ function Er(e) {
625
618
  let t = e.trim().split(/\s+/).filter(Boolean);
626
619
  if (!t.length) return "";
627
620
  let n = t[0], r = t.length > 1 ? t[t.length - 1] : "";
628
621
  return (n[0] + (r[0] ?? "")).toUpperCase();
629
622
  }
630
623
  // src/components/Avatar/Avatar.vue?vue&type=script&setup=true&lang.ts
631
- var Ar = ["aria-label"], jr = [
624
+ var Dr = ["aria-label"], Or = [
632
625
  "src",
633
626
  "width",
634
627
  "height"
635
- ], Mr = {
628
+ ], kr = {
636
629
  key: 1,
637
630
  "aria-hidden": "true"
638
- }, Nr = { class: "flex flex-col" }, Pr = {
631
+ }, Ar = { class: "flex flex-col" }, jr = {
639
632
  key: 0,
640
633
  class: "truncate px-4 pt-3 text-xs font-bold text-black/65 uppercase"
641
- }, Fr = { class: "flex items-center gap-3 px-4 py-3" }, Ir = [
634
+ }, Mr = { class: "flex items-center gap-3 px-4 py-3" }, Nr = [
642
635
  "src",
643
636
  "width",
644
637
  "height"
645
- ], Lr = { class: "flex min-w-0 flex-col" }, Rr = { class: "truncate font-bold" }, zr = {
638
+ ], Pr = { class: "flex min-w-0 flex-col" }, Fr = { class: "truncate font-bold" }, Ir = {
646
639
  key: 0,
647
640
  class: "truncate text-sm text-black/65"
648
- }, Br = ["href"], Vr = [
641
+ }, Lr = ["href"], Rr = [
649
642
  "role",
650
643
  "aria-label",
651
644
  "aria-hidden"
652
- ], Hr = [
645
+ ], zr = [
653
646
  "src",
654
647
  "width",
655
648
  "height"
656
- ], Ur = {
649
+ ], Br = {
657
650
  key: 1,
658
651
  "aria-hidden": "true"
659
- }, Wr = "relative inline-flex shrink-0 items-center justify-center overflow-hidden rounded-full bg-primary font-bold text-white select-none", Gr = /* @__PURE__ */ f({
652
+ }, Vr = "relative inline-flex shrink-0 items-center justify-center overflow-hidden rounded-full bg-primary font-bold text-white select-none", Hr = /* @__PURE__ */ f({
660
653
  __name: "Avatar",
661
654
  props: {
662
655
  user: {},
@@ -672,7 +665,7 @@ var Ar = ["aria-label"], jr = [
672
665
  ] }
673
666
  },
674
667
  setup(e) {
675
- let t = e, r = i(() => kr(t.user.name)), l = E(!1);
668
+ let t = e, r = i(() => Er(t.user.name)), l = E(!1);
676
669
  z(() => t.user.avatar, () => l.value = !1);
677
670
  let d = i(() => !!t.user.avatar && !l.value), f = i(() => d.value || !r.value ? t.user.name : `${r.value}, ${t.user.name}`), p = {
678
671
  xs: "size-5 text-xs",
@@ -699,8 +692,8 @@ var Ar = ["aria-label"], jr = [
699
692
  },
700
693
  ui: { content: "w-64" }
701
694
  }, {
702
- content: V(() => [c("div", Nr, [e.user.organisation ? (w(), s("p", Pr, j(e.user.organisation), 1)) : o("", !0), c("div", Fr, [c("span", {
703
- class: y(M(X)(Wr, p.lg)),
695
+ content: V(() => [c("div", Ar, [e.user.organisation ? (w(), s("p", jr, j(e.user.organisation), 1)) : o("", !0), c("div", Mr, [c("span", {
696
+ class: y(M(X)(Vr, p.lg)),
704
697
  "aria-hidden": "true"
705
698
  }, [d.value ? (w(), s("img", {
706
699
  key: 0,
@@ -711,19 +704,19 @@ var Ar = ["aria-label"], jr = [
711
704
  decoding: "async",
712
705
  alt: "",
713
706
  class: "size-full object-cover"
714
- }, null, 8, Ir)) : (w(), s(n, { key: 1 }, [u(j(r.value), 1)], 64))], 2), c("div", Lr, [
715
- c("span", Rr, j(e.user.name), 1),
716
- e.user.role ? (w(), s("span", zr, j(e.user.role), 1)) : o("", !0),
707
+ }, null, 8, Nr)) : (w(), s(n, { key: 1 }, [u(j(r.value), 1)], 64))], 2), c("div", Pr, [
708
+ c("span", Fr, j(e.user.name), 1),
709
+ e.user.role ? (w(), s("span", Ir, j(e.user.role), 1)) : o("", !0),
717
710
  e.user.email ? (w(), s("a", {
718
711
  key: 1,
719
712
  href: `mailto:${e.user.email}`,
720
713
  class: "truncate rounded-sm text-sm text-black/65 underline-offset-2 hover:text-black hover:underline outline-2 outline-offset-1 outline-transparent focus-visible:outline-focus"
721
- }, j(e.user.email), 9, Br)) : o("", !0)
714
+ }, j(e.user.email), 9, Lr)) : o("", !0)
722
715
  ])])])]),
723
716
  default: V(() => [c("button", {
724
717
  type: "button",
725
718
  "aria-label": f.value,
726
- class: y(M(X)(Wr, p[e.size], "cursor-pointer outline-2 outline-offset-1 outline-transparent transition focus-visible:outline-focus", t.class))
719
+ class: y(M(X)(Vr, p[e.size], "cursor-pointer outline-2 outline-offset-1 outline-transparent transition focus-visible:outline-focus", t.class))
727
720
  }, [d.value ? (w(), s("img", {
728
721
  key: 0,
729
722
  src: e.user.avatar,
@@ -734,14 +727,14 @@ var Ar = ["aria-label"], jr = [
734
727
  alt: "",
735
728
  class: "size-full object-cover",
736
729
  onError: h[0] ||= (e) => l.value = !0
737
- }, null, 40, jr)) : (w(), s("span", Mr, j(r.value), 1))], 10, Ar)]),
730
+ }, null, 40, Or)) : (w(), s("span", kr, j(r.value), 1))], 10, Dr)]),
738
731
  _: 1
739
732
  })) : (w(), s("span", {
740
733
  key: 1,
741
734
  role: e.decorative ? void 0 : "img",
742
735
  "aria-label": e.decorative ? void 0 : e.user.name,
743
736
  "aria-hidden": e.decorative || void 0,
744
- class: y(M(X)(Wr, p[e.size], t.class))
737
+ class: y(M(X)(Vr, p[e.size], t.class))
745
738
  }, [d.value ? (w(), s("img", {
746
739
  key: 0,
747
740
  src: e.user.avatar,
@@ -752,15 +745,15 @@ var Ar = ["aria-label"], jr = [
752
745
  alt: "",
753
746
  class: "size-full object-cover",
754
747
  onError: h[1] ||= (e) => l.value = !0
755
- }, null, 40, Hr)) : (w(), s("span", Ur, j(r.value), 1))], 10, Vr));
748
+ }, null, 40, zr)) : (w(), s("span", Br, j(r.value), 1))], 10, Rr));
756
749
  }
757
- }), Kr = { class: "flex flex-col" }, qr = {
750
+ }), Ur = { class: "flex flex-col" }, Wr = {
758
751
  key: 0,
759
752
  class: "border-b border-black/15"
760
- }, Jr = ["title"], Yr = { class: "grid grid-cols-[auto_minmax(0,1fr)] items-start gap-x-3 gap-y-2 px-4 py-3" }, Xr = { class: "flex min-w-0 flex-col" }, Zr = ["title"], Qr = ["title"], $r = {
753
+ }, Gr = ["title"], Kr = { class: "grid grid-cols-[auto_minmax(0,1fr)] items-start gap-x-3 gap-y-2 px-4 py-3" }, qr = { class: "flex min-w-0 flex-col" }, Jr = ["title"], Yr = ["title"], Xr = {
761
754
  key: 1,
762
755
  class: "flex items-center gap-2 border-t border-black/15 px-4 py-3"
763
- }, ei = /* @__PURE__ */ f({
756
+ }, Zr = /* @__PURE__ */ f({
764
757
  __name: "Header",
765
758
  props: {
766
759
  title: {},
@@ -807,7 +800,7 @@ var Ar = ["aria-label"], jr = [
807
800
  "sign-in"
808
801
  ],
809
802
  setup(e, { emit: t }) {
810
- let { t: n } = K(), r = e, l = t, f = i(() => kr(r.user?.name ?? "")), p = i(() => r.user ? r.user.avatar || !f.value ? n("ui.header.account", { name: r.user.name }) : n("ui.header.accountWithInitials", {
803
+ let { t: n } = K(), r = e, l = t, f = i(() => Er(r.user?.name ?? "")), p = i(() => r.user ? r.user.avatar || !f.value ? n("ui.header.account", { name: r.user.name }) : n("ui.header.accountWithInitials", {
811
804
  initials: f.value,
812
805
  name: r.user.name
813
806
  }) : ""), m = i(() => {
@@ -818,6 +811,7 @@ var Ar = ["aria-label"], jr = [
818
811
  t(), l(e === "account-settings" ? "account-settings" : e === "switch-account" ? "switch-account" : "log-out");
819
812
  }
820
813
  return (t, i) => (w(), s("header", { class: y(M(X)("flex h-12 shrink-0 items-center gap-2 border-b border-black/15 bg-white px-4 text-black", e.sticky && "sticky top-0 z-40", r.class)) }, [
814
+ O(t.$slots, "start"),
821
815
  e.menu ? (w(), a(Z, {
822
816
  key: 0,
823
817
  variant: "ghost",
@@ -850,25 +844,25 @@ var Ar = ["aria-label"], jr = [
850
844
  content: { align: "end" },
851
845
  ui: { content: M(X)("w-80", e.ui?.userMenu) }
852
846
  }, {
853
- content: V(({ close: n }) => [c("div", Kr, [
854
- e.user.organisation || t.$slots.organisation ? (w(), s("div", qr, [O(t.$slots, "organisation", { close: n }, () => [c("p", {
847
+ content: V(({ close: n }) => [c("div", Ur, [
848
+ e.user.organisation || t.$slots.organisation ? (w(), s("div", Wr, [O(t.$slots, "organisation", { close: n }, () => [c("p", {
855
849
  class: "truncate px-4 py-3 text-xs font-bold text-black/65 uppercase",
856
850
  title: e.user.organisation
857
- }, j(e.user.organisation), 9, Jr)])])) : o("", !0),
858
- c("div", Yr, [
859
- d(Gr, {
851
+ }, j(e.user.organisation), 9, Gr)])])) : o("", !0),
852
+ c("div", Kr, [
853
+ d(Hr, {
860
854
  user: e.user,
861
855
  size: "lg",
862
856
  decorative: ""
863
857
  }, null, 8, ["user"]),
864
- c("div", Xr, [c("span", {
858
+ c("div", qr, [c("span", {
865
859
  class: "truncate font-bold",
866
860
  title: e.user.name
867
- }, j(e.user.name), 9, Zr), e.user.email ? (w(), s("span", {
861
+ }, j(e.user.name), 9, Jr), e.user.email ? (w(), s("span", {
868
862
  key: 0,
869
863
  class: "truncate text-sm text-black/65",
870
864
  title: e.user.email
871
- }, j(e.user.email), 9, Qr)) : o("", !0)]),
865
+ }, j(e.user.email), 9, Yr)) : o("", !0)]),
872
866
  e.userActions.includes("account-settings") ? (w(), a(Z, {
873
867
  key: 0,
874
868
  size: "sm",
@@ -881,7 +875,7 @@ var Ar = ["aria-label"], jr = [
881
875
  }, 8, ["onClick"])) : o("", !0)
882
876
  ]),
883
877
  O(t.$slots, "account-menu", { close: n }),
884
- e.userActions.includes("switch-account") || e.userActions.includes("log-out") ? (w(), s("div", $r, [e.userActions.includes("switch-account") ? (w(), a(Z, {
878
+ e.userActions.includes("switch-account") || e.userActions.includes("log-out") ? (w(), s("div", Xr, [e.userActions.includes("switch-account") ? (w(), a(Z, {
885
879
  key: 0,
886
880
  onClick: (e) => g("switch-account", n)
887
881
  }, {
@@ -904,7 +898,7 @@ var Ar = ["aria-label"], jr = [
904
898
  "aria-label": p.value,
905
899
  class: "-mr-1.5 rounded-full"
906
900
  }, {
907
- default: V(() => [d(Gr, {
901
+ default: V(() => [d(Hr, {
908
902
  user: e.user,
909
903
  size: "sm",
910
904
  decorative: ""
@@ -923,7 +917,7 @@ var Ar = ["aria-label"], jr = [
923
917
  })) : o("", !0)])], 2)) : o("", !0)
924
918
  ], 2));
925
919
  }
926
- }), ti = "inline-flex shrink-0 items-center whitespace-nowrap rounded-full border border-black/15 font-bold", ni = /* @__PURE__ */ f({
920
+ }), Qr = "inline-flex shrink-0 items-center whitespace-nowrap rounded-full border border-black/15 font-bold", $r = /* @__PURE__ */ f({
927
921
  __name: "Badge",
928
922
  props: {
929
923
  color: { default: "basic" },
@@ -949,7 +943,7 @@ var Ar = ["aria-label"], jr = [
949
943
  md: "h-6 px-2 text-xs gap-1 [&_svg]:size-3.5",
950
944
  lg: "h-7 px-2.5 text-sm gap-1.5 [&_svg]:size-4"
951
945
  };
952
- return (i, a) => (w(), s("span", { class: y(M(X)(ti, n[e.color], r[e.size], t.class)) }, [
946
+ return (i, a) => (w(), s("span", { class: y(M(X)(Qr, n[e.color], r[e.size], t.class)) }, [
953
947
  O(i.$slots, "leading"),
954
948
  O(i.$slots, "default"),
955
949
  O(i.$slots, "trailing")
@@ -957,27 +951,27 @@ var Ar = ["aria-label"], jr = [
957
951
  }
958
952
  });
959
953
  // src/components/Sidebar/sidebar.ts
960
- function ri(e = [], t = []) {
954
+ function ei(e = [], t = []) {
961
955
  for (let n of [...e, ...t.flatMap((e) => e.items)]) {
962
956
  if (n.active) return [n];
963
957
  if (n.children?.length) {
964
- let e = ri(n.children);
958
+ let e = ei(n.children);
965
959
  if (e.length) return [n, ...e];
966
960
  }
967
961
  }
968
962
  return [];
969
963
  }
970
964
  // src/components/Sidebar/Sidebar.vue?vue&type=script&setup=true&lang.ts
971
- var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
965
+ var ti = ["data-collapsed"], ni = ["aria-label"], ri = ["data-level"], ii = {
972
966
  key: 0,
973
967
  class: "-mb-2 flex flex-col gap-1 border-b border-black/15 pb-2"
974
- }, ci = ["title"], li = {
968
+ }, ai = ["title"], oi = {
975
969
  key: 0,
976
970
  class: "relative flex h-6 items-center px-3"
977
- }, ui = ["id"], di = ["aria-labelledby"], fi = {
971
+ }, si = ["id"], ci = ["aria-labelledby"], li = {
978
972
  key: 0,
979
973
  class: "sr-only"
980
- }, pi = "transition-opacity duration-150 motion-reduce:transition-none", mi = "bg-primary/10 font-bold text-primary not-aria-disabled:not-disabled:hover:bg-primary/15", hi = "font-bold text-primary", gi = /* @__PURE__ */ f({
974
+ }, ui = "transition-opacity duration-150 motion-reduce:transition-none", di = "bg-primary/10 font-bold text-primary not-aria-disabled:not-disabled:hover:bg-primary/15", fi = "font-bold text-primary", pi = /* @__PURE__ */ f({
981
975
  __name: "Sidebar",
982
976
  props: /*@__PURE__*/ g({
983
977
  items: { default: () => [] },
@@ -1013,7 +1007,7 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
1013
1007
  e.push(r), t = r.children;
1014
1008
  }
1015
1009
  return e;
1016
- }), S = i(() => x.value[x.value.length - 1]), C = i(() => S.value ? [{ items: S.value.children }] : g.value), T = i(() => ri(f.items, f.sections)), A = i(() => new Set(T.value.slice(0, -1).map((e) => e.label)));
1010
+ }), S = i(() => x.value[x.value.length - 1]), C = i(() => S.value ? [{ items: S.value.children }] : g.value), T = i(() => ei(f.items, f.sections)), A = i(() => new Set(T.value.slice(0, -1).map((e) => e.label)));
1017
1011
  z(() => T.value.map((e) => e.label).join("\0"), () => {
1018
1012
  b.value = T.value.slice(0, -1).map((e) => e.label);
1019
1013
  }, { immediate: !0 });
@@ -1087,21 +1081,21 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
1087
1081
  key: N.value,
1088
1082
  "data-level": N.value,
1089
1083
  class: "flex flex-col gap-4"
1090
- }, [S.value ? (w(), s("div", si, [c("button", {
1084
+ }, [S.value ? (w(), s("div", ii, [c("button", {
1091
1085
  type: "button",
1092
1086
  "data-back": "",
1093
1087
  title: m.value ? M(l)("ui.sidebar.backFrom", { name: S.value.label }) : void 0,
1094
1088
  class: y(M(X)(J, "font-bold", e.ui?.item)),
1095
1089
  onClick: ee
1096
- }, [d(M(pe), { "aria-hidden": "true" }), c("span", { class: y(M(X)("min-w-0 flex-1 truncate", pi, m.value && "opacity-0")) }, [i[1] ||= c("span", { class: "sr-only" }, "Back from ", -1), u(j(S.value.label), 1)], 2)], 10, ci)])) : o("", !0), (w(!0), s(n, null, D(C.value, (r, i) => (w(), s("div", {
1090
+ }, [d(M(pe), { "aria-hidden": "true" }), c("span", { class: y(M(X)("min-w-0 flex-1 truncate", ui, m.value && "opacity-0")) }, [i[1] ||= c("span", { class: "sr-only" }, "Back from ", -1), u(j(S.value.label), 1)], 2)], 10, ai)])) : o("", !0), (w(!0), s(n, null, D(C.value, (r, i) => (w(), s("div", {
1097
1091
  key: i,
1098
1092
  class: "flex flex-col gap-1"
1099
- }, [r.label ? (w(), s("div", li, [c("div", {
1093
+ }, [r.label ? (w(), s("div", oi, [c("div", {
1100
1094
  id: `${M(h)}-section-${i}`,
1101
- class: y(M(X)("truncate text-xs font-bold text-black/65 uppercase", pi, m.value && "opacity-0"))
1102
- }, j(r.label), 11, ui), c("div", {
1095
+ class: y(M(X)("truncate text-xs font-bold text-black/65 uppercase", ui, m.value && "opacity-0"))
1096
+ }, j(r.label), 11, si), c("div", {
1103
1097
  "aria-hidden": "true",
1104
- class: y(M(X)("absolute inset-x-2 top-1/2 border-t border-black/15", pi, !m.value && "opacity-0"))
1098
+ class: y(M(X)("absolute inset-x-2 top-1/2 border-t border-black/15", ui, !m.value && "opacity-0"))
1105
1099
  }, null, 2)])) : o("", !0), c("ul", {
1106
1100
  class: "flex flex-col gap-1",
1107
1101
  "aria-labelledby": r.label ? `${M(h)}-section-${i}` : void 0
@@ -1110,7 +1104,7 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
1110
1104
  "data-parent": n.children?.length ? n.label : void 0,
1111
1105
  "aria-current": n.active ? "page" : void 0,
1112
1106
  title: m.value ? n.label : void 0,
1113
- class: M(X)(J, n.active && mi, A.value.has(n.label) && hi, e.ui?.item),
1107
+ class: M(X)(J, n.active && di, A.value.has(n.label) && fi, e.ui?.item),
1114
1108
  onClick: (e) => q(n, e)
1115
1109
  }), {
1116
1110
  default: V(() => [O(t.$slots, "item", {
@@ -1122,12 +1116,12 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
1122
1116
  key: 0,
1123
1117
  "aria-hidden": "true"
1124
1118
  })) : o("", !0),
1125
- c("span", { class: y(M(X)("min-w-0 flex-1 truncate", pi, m.value && "opacity-0")) }, [u(j(n.label), 1), n.children?.length ? (w(), s("span", fi, ", more options")) : o("", !0)], 2),
1126
- n.badge !== void 0 && n.badge !== "" ? (w(), a(ni, {
1119
+ c("span", { class: y(M(X)("min-w-0 flex-1 truncate", ui, m.value && "opacity-0")) }, [u(j(n.label), 1), n.children?.length ? (w(), s("span", li, ", more options")) : o("", !0)], 2),
1120
+ n.badge !== void 0 && n.badge !== "" ? (w(), a($r, {
1127
1121
  key: 1,
1128
1122
  size: "sm",
1129
1123
  color: n.badgeColor,
1130
- class: y(M(X)(pi, m.value && "opacity-0"))
1124
+ class: y(M(X)(ui, m.value && "opacity-0"))
1131
1125
  }, {
1132
1126
  default: V(() => [u(j(n.badge), 1)]),
1133
1127
  _: 2
@@ -1135,7 +1129,7 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
1135
1129
  n.children?.length ? (w(), a(M(me), {
1136
1130
  key: 2,
1137
1131
  "aria-hidden": "true",
1138
- class: y(M(X)("opacity-70", pi, m.value && "opacity-0"))
1132
+ class: y(M(X)("opacity-70", ui, m.value && "opacity-0"))
1139
1133
  }, null, 8, ["class"])) : o("", !0)
1140
1134
  ])]),
1141
1135
  _: 2
@@ -1145,9 +1139,9 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
1145
1139
  "title",
1146
1140
  "class",
1147
1141
  "onClick"
1148
- ]))]))), 128))], 8, di)]))), 128))], 8, oi))]),
1142
+ ]))]))), 128))], 8, ci)]))), 128))], 8, ri))]),
1149
1143
  _: 3
1150
- }, 16)], 10, ai),
1144
+ }, 16)], 10, ni),
1151
1145
  t.$slots.footer || e.collapsible ? (w(), s("div", {
1152
1146
  key: 1,
1153
1147
  class: y(M(X)("flex shrink-0 flex-col gap-1 overflow-hidden border-t border-black/15 p-2", e.ui?.footer))
@@ -1163,9 +1157,9 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
1163
1157
  default: V(() => [m.value ? (w(), a(M(Pe), { key: 0 })) : (w(), a(M(Ne), { key: 1 }))]),
1164
1158
  _: 1
1165
1159
  }, 8, ["aria-label", "aria-expanded"])) : o("", !0)], 2)) : o("", !0)
1166
- ], 10, ii));
1160
+ ], 10, ti));
1167
1161
  }
1168
- }), _i = "h-1.5 overflow-hidden rounded-full bg-black/10", vi = "h-full rounded-full bg-primary transition-[translate,background-color] duration-300 ease-out motion-reduce:transition-none", yi = /* @__PURE__ */ f({
1162
+ }), mi = "h-1.5 overflow-hidden rounded-full bg-black/10", hi = "h-full rounded-full bg-primary transition-[translate,background-color] duration-300 ease-out motion-reduce:transition-none", gi = /* @__PURE__ */ f({
1169
1163
  __name: "Progress",
1170
1164
  props: {
1171
1165
  value: { default: null },
@@ -1191,17 +1185,17 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
1191
1185
  "get-value-label": () => e.label,
1192
1186
  "get-value-text": d,
1193
1187
  "aria-busy": o.value || void 0,
1194
- class: y(M(X)(e.segments && !o.value ? "flex gap-1" : _i, r.class))
1188
+ class: y(M(X)(e.segments && !o.value ? "flex gap-1" : mi, r.class))
1195
1189
  }, {
1196
1190
  default: V(() => [e.segments && !o.value ? (w(!0), s(n, { key: 0 }, D(e.max, (e) => (w(), s("div", {
1197
1191
  key: e,
1198
- class: y(M(X)(_i, "flex-1"))
1199
- }, [c("div", { class: y(M(X)(vi, e <= l.value ? "translate-x-0" : "-translate-x-full")) }, null, 2)], 2))), 128)) : o.value ? (w(), a(M(Ut), {
1192
+ class: y(M(X)(mi, "flex-1"))
1193
+ }, [c("div", { class: y(M(X)(hi, e <= l.value ? "translate-x-0" : "-translate-x-full")) }, null, 2)], 2))), 128)) : o.value ? (w(), a(M(Ut), {
1200
1194
  key: 1,
1201
1195
  class: "h-full w-2/5 rounded-full bg-primary animate-progress-indeterminate motion-reduce:w-full motion-reduce:translate-x-0 motion-reduce:animate-pulse"
1202
1196
  })) : (w(), a(M(Ut), {
1203
1197
  key: 2,
1204
- class: y(vi),
1198
+ class: y(hi),
1205
1199
  style: x({ translate: `${u.value - 100}% 0` })
1206
1200
  }, null, 8, ["style"]))]),
1207
1201
  _: 1
@@ -1213,14 +1207,14 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
1213
1207
  "class"
1214
1208
  ]));
1215
1209
  }
1216
- }), bi = { class: "text-black" }, xi = { class: "flex items-start gap-4" }, Si = { class: "flex min-w-0 flex-1 flex-col gap-1" }, Ci = { key: 0 }, wi = {
1210
+ }), _i = { class: "text-black" }, vi = { class: "flex items-start gap-4" }, yi = { class: "flex min-w-0 flex-1 flex-col gap-1" }, bi = { key: 0 }, xi = {
1217
1211
  key: 1,
1218
1212
  class: "sr-only"
1219
- }, Ti = {
1213
+ }, Si = {
1220
1214
  key: 1,
1221
1215
  "aria-live": "polite",
1222
1216
  class: "sr-only"
1223
- }, Ei = ["role", "aria-labelledby"], Di = "textarea, [contenteditable=\"true\"], input[type=checkbox], input[type=radio], input[type=button], input[type=submit]", Oi = /* @__PURE__ */ f({
1217
+ }, Ci = ["role", "aria-labelledby"], wi = "textarea, [contenteditable=\"true\"], input[type=checkbox], input[type=radio], input[type=button], input[type=submit]", Ti = /* @__PURE__ */ f({
1224
1218
  __name: "Slideover",
1225
1219
  props: /*@__PURE__*/ g({
1226
1220
  title: {},
@@ -1301,7 +1295,7 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
1301
1295
  }
1302
1296
  function L(e) {
1303
1297
  let t = e.target;
1304
- !r.steps || e.defaultPrevented || e.isComposing || t.tagName !== "INPUT" || t.closest(Di) || (e.preventDefault(), I());
1298
+ !r.steps || e.defaultPrevented || e.isComposing || t.tagName !== "INPUT" || t.closest(wi) || (e.preventDefault(), I());
1305
1299
  }
1306
1300
  let R = 0;
1307
1301
  function B(e) {
@@ -1366,8 +1360,8 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
1366
1360
  key: 0,
1367
1361
  id: T,
1368
1362
  class: "text-sm text-black/65"
1369
- }, [u(" Step " + j(b.value + 1) + " of " + j(x.value) + ": ", 1), c("span", bi, j(e.steps[b.value]), 1)])) : o("", !0),
1370
- e.steps ? (w(), a(yi, {
1363
+ }, [u(" Step " + j(b.value + 1) + " of " + j(x.value) + ": ", 1), c("span", _i, j(e.steps[b.value]), 1)])) : o("", !0),
1364
+ e.steps ? (w(), a(gi, {
1371
1365
  key: 1,
1372
1366
  label: e.title ?? M(n)("ui.slideover.steps"),
1373
1367
  segments: "",
@@ -1378,7 +1372,7 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
1378
1372
  "value",
1379
1373
  "max"
1380
1374
  ])) : o("", !0),
1381
- c("div", xi, [O(t.$slots, "header", { close: g }, () => [c("div", Si, [
1375
+ c("div", vi, [O(t.$slots, "header", { close: g }, () => [c("div", yi, [
1382
1376
  d(M(Ct), { class: y(e.title || t.$slots.title ? M(X)("text-lg", e.ui?.title) : "sr-only") }, {
1383
1377
  default: V(() => [O(t.$slots, "title", {}, () => [u(j(e.title), 1)])]),
1384
1378
  _: 3
@@ -1388,10 +1382,10 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
1388
1382
  as: "div",
1389
1383
  class: "flex flex-col gap-1 text-sm text-black/65"
1390
1384
  }, {
1391
- default: V(() => [e.description || t.$slots.description ? (w(), s("p", Ci, [O(t.$slots, "description", {}, () => [u(j(e.description), 1)])])) : o("", !0), e.steps ? (w(), s("p", wi, j(D.value), 1)) : o("", !0)]),
1385
+ default: V(() => [e.description || t.$slots.description ? (w(), s("p", bi, [O(t.$slots, "description", {}, () => [u(j(e.description), 1)])])) : o("", !0), e.steps ? (w(), s("p", xi, j(D.value), 1)) : o("", !0)]),
1392
1386
  _: 3
1393
1387
  })) : o("", !0),
1394
- e.steps ? (w(), s("p", Ti, j(k.value), 1)) : o("", !0)
1388
+ e.steps ? (w(), s("p", Si, j(k.value), 1)) : o("", !0)
1395
1389
  ]), e.close ? (w(), a(M(_t), {
1396
1390
  key: 0,
1397
1391
  "as-child": ""
@@ -1418,7 +1412,7 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
1418
1412
  }, [O(t.$slots, "body", {
1419
1413
  close: g,
1420
1414
  step: b.value
1421
- })], 42, Ei),
1415
+ })], 42, Ci),
1422
1416
  t.$slots.footer || e.steps ? (w(), s("footer", {
1423
1417
  key: 1,
1424
1418
  class: y(M(X)("flex justify-end gap-2 border-t border-black/15 px-6 py-4", e.ui?.footer))
@@ -1453,7 +1447,7 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
1453
1447
  _: 3
1454
1448
  }, 8, ["open", "modal"]));
1455
1449
  }
1456
- }), ki = ["href"], Ai = { class: "flex flex-1" }, ji = { class: "sticky top-12 hidden h-[calc(100dvh-var(--spacing)*12)] shrink-0 self-start lg:flex" }, Mi = { class: "flex min-w-0 flex-1 flex-col" }, Ni = /* @__PURE__ */ f({
1450
+ }), Ei = ["href"], Di = { class: "flex flex-1" }, Oi = { class: "sticky top-12 hidden h-[calc(100dvh-var(--spacing)*12)] shrink-0 self-start lg:flex" }, ki = { class: "flex min-w-0 flex-1 flex-col" }, Ai = /* @__PURE__ */ f({
1457
1451
  __name: "AppShell",
1458
1452
  props: /*@__PURE__*/ g({
1459
1453
  title: {},
@@ -1517,8 +1511,8 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
1517
1511
  c("a", {
1518
1512
  href: `#${g}`,
1519
1513
  class: "sr-only z-50 rounded bg-white px-4 py-2 text-sm focus:not-sr-only focus:fixed focus:top-2 focus:left-2 focus:outline-2 focus:outline-focus"
1520
- }, " Skip to content ", 8, ki),
1521
- d(ei, _(e.header, {
1514
+ }, " Skip to content ", 8, Ei),
1515
+ d(Zr, _(e.header, {
1522
1516
  title: e.title,
1523
1517
  "title-to": e.titleTo,
1524
1518
  "link-component": e.linkComponent,
@@ -1530,7 +1524,7 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
1530
1524
  "sign-in": e.signIn,
1531
1525
  ui: {
1532
1526
  ...e.header?.ui,
1533
- menu: M(X)("lg:hidden", e.header?.ui?.menu)
1527
+ menu: M(X)("lg:hidden", e.launcher && "ml-0", e.header?.ui?.menu)
1534
1528
  },
1535
1529
  onMenu: f[1] ||= (e) => u.value = !0,
1536
1530
  onAccountSettings: f[2] ||= (e) => i("account-settings"),
@@ -1545,34 +1539,43 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
1545
1539
  "aria-label": s.value ? M(n)("ui.appShell.expandSidebar") : M(n)("ui.appShell.collapseSidebar"),
1546
1540
  "aria-expanded": !s.value,
1547
1541
  "aria-controls": v,
1548
- class: "-ml-2.5 max-lg:hidden",
1542
+ class: y(M(X)("max-lg:hidden", e.launcher ? "ml-0" : "-ml-2.5")),
1549
1543
  onClick: f[0] ||= (e) => s.value = !s.value
1550
1544
  }, {
1551
1545
  default: V(() => [d(M(Ae))]),
1552
1546
  _: 1
1553
- }, 8, ["aria-label", "aria-expanded"])) : o("", !0), O(t.$slots, "header-leading")]),
1547
+ }, 8, [
1548
+ "aria-label",
1549
+ "aria-expanded",
1550
+ "class"
1551
+ ])) : o("", !0), O(t.$slots, "header-leading")]),
1554
1552
  default: V(() => [O(t.$slots, "header-middle")]),
1555
1553
  _: 2
1556
1554
  }, [
1557
- t.$slots["header-trailing"] || e.launcher ? {
1558
- name: "trailing",
1559
- fn: V(() => [O(t.$slots, "header-trailing"), e.launcher ? (w(), a(ur, b(_({ key: 0 }, e.launcher === !0 ? {} : e.launcher)), null, 16)) : o("", !0)]),
1555
+ e.launcher ? {
1556
+ name: "start",
1557
+ fn: V(() => [d(sr, _({ align: "start" }, e.launcher === !0 ? {} : e.launcher, { class: "-ml-2.5" }), null, 16)]),
1560
1558
  key: "0"
1561
1559
  } : void 0,
1560
+ t.$slots["header-trailing"] ? {
1561
+ name: "trailing",
1562
+ fn: V(() => [O(t.$slots, "header-trailing")]),
1563
+ key: "1"
1564
+ } : void 0,
1562
1565
  t.$slots.account ? {
1563
1566
  name: "account",
1564
1567
  fn: V(() => [O(t.$slots, "account")]),
1565
- key: "1"
1568
+ key: "2"
1566
1569
  } : void 0,
1567
1570
  t.$slots["account-menu"] ? {
1568
1571
  name: "account-menu",
1569
1572
  fn: V((e) => [O(t.$slots, "account-menu", b(p(e)))]),
1570
- key: "2"
1573
+ key: "3"
1571
1574
  } : void 0,
1572
1575
  t.$slots.organisation ? {
1573
1576
  name: "organisation",
1574
1577
  fn: V((e) => [O(t.$slots, "organisation", b(p(e)))]),
1575
- key: "3"
1578
+ key: "4"
1576
1579
  } : void 0
1577
1580
  ]), 1040, [
1578
1581
  "title",
@@ -1584,8 +1587,8 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
1584
1587
  "sign-in",
1585
1588
  "ui"
1586
1589
  ]),
1587
- c("div", Ai, [
1588
- c("div", ji, [d(gi, _(e.sidebar, {
1590
+ c("div", Di, [
1591
+ c("div", Oi, [d(pi, _(e.sidebar, {
1589
1592
  id: v,
1590
1593
  collapsed: s.value,
1591
1594
  "onUpdate:collapsed": f[6] ||= (e) => s.value = e,
@@ -1606,7 +1609,7 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
1606
1609
  "sections",
1607
1610
  "link-component"
1608
1611
  ])]),
1609
- d(Oi, {
1612
+ d(Ti, {
1610
1613
  open: u.value,
1611
1614
  "onUpdate:open": f[8] ||= (e) => u.value = e,
1612
1615
  side: "left",
@@ -1618,7 +1621,7 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
1618
1621
  body: "flex p-0"
1619
1622
  }
1620
1623
  }, {
1621
- body: V(() => [d(gi, _(e.sidebar, {
1624
+ body: V(() => [d(pi, _(e.sidebar, {
1622
1625
  items: e.items,
1623
1626
  sections: e.sections,
1624
1627
  "link-component": e.linkComponent,
@@ -1635,11 +1638,11 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
1635
1638
  ])]),
1636
1639
  _: 3
1637
1640
  }, 8, ["open", "title"]),
1638
- c("div", Mi, [c("main", {
1641
+ c("div", ki, [c("main", {
1639
1642
  id: g,
1640
1643
  tabindex: "-1",
1641
1644
  class: y(M(X)("min-w-0 flex-1 outline-none", e.ui?.main))
1642
- }, [O(t.$slots, "default")], 2), e.footer ? (w(), a(Or, b(_({ key: 0 }, {
1645
+ }, [O(t.$slots, "default")], 2), e.footer ? (w(), a(Tr, b(_({ key: 0 }, {
1643
1646
  linkComponent: e.linkComponent,
1644
1647
  ...e.footer
1645
1648
  })), null, 16)) : o("", !0)])
@@ -1648,7 +1651,7 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
1648
1651
  _: 3
1649
1652
  }));
1650
1653
  }
1651
- }), Pi = ["aria-label"], Fi = { class: "flex flex-wrap items-center gap-x-1.5 gap-y-1" }, Ii = ["title"], Li = { class: "truncate" }, Ri = { class: "truncate" }, zi = ["title"], Bi = { class: "truncate" }, Vi = "inline-flex max-w-60 min-w-0 items-center gap-1.5 [&_svg]:size-3.5 [&_svg]:shrink-0", Hi = /* @__PURE__ */ f({
1654
+ }), ji = ["aria-label"], Mi = { class: "flex flex-wrap items-center gap-x-1.5 gap-y-1" }, Ni = ["title"], Pi = { class: "truncate" }, Fi = { class: "truncate" }, Ii = ["title"], Li = { class: "truncate" }, Ri = "inline-flex max-w-60 min-w-0 items-center gap-1.5 [&_svg]:size-3.5 [&_svg]:shrink-0", zi = /* @__PURE__ */ f({
1652
1655
  __name: "Breadcrumb",
1653
1656
  props: {
1654
1657
  items: {},
@@ -1684,29 +1687,29 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
1684
1687
  return (t, l) => (w(), s("nav", {
1685
1688
  "aria-label": e.label ?? M(r)("ui.breadcrumb.label"),
1686
1689
  class: y(M(X)("min-w-0 text-sm", i.class))
1687
- }, [c("ol", Fi, [(w(!0), s(n, null, D(e.items, (t, n) => (w(), s("li", {
1690
+ }, [c("ol", Mi, [(w(!0), s(n, null, D(e.items, (t, n) => (w(), s("li", {
1688
1691
  key: `${t.label}-${n}`,
1689
1692
  class: "flex min-w-0 items-center gap-1.5"
1690
1693
  }, [n === e.items.length - 1 ? (w(), s("span", {
1691
1694
  key: 0,
1692
1695
  "aria-current": "page",
1693
1696
  title: t.label,
1694
- class: y(M(X)(Vi, "text-black"))
1697
+ class: y(M(X)(Ri, "text-black"))
1695
1698
  }, [t.icon ? (w(), a(k(t.icon), {
1696
1699
  key: 0,
1697
1700
  "aria-hidden": "true"
1698
- })) : o("", !0), c("span", Li, j(t.label), 1)], 10, Ii)) : u(t) ? (w(), a(k(u(t)), _({
1701
+ })) : o("", !0), c("span", Pi, j(t.label), 1)], 10, Ni)) : u(t) ? (w(), a(k(u(t)), _({
1699
1702
  key: 1,
1700
1703
  ref_for: !0
1701
1704
  }, d(t), {
1702
1705
  title: t.label,
1703
- class: M(X)(Vi, p),
1706
+ class: M(X)(Ri, p),
1704
1707
  onClick: (e) => f(t, e)
1705
1708
  }), {
1706
1709
  default: V(() => [t.icon ? (w(), a(k(t.icon), {
1707
1710
  key: 0,
1708
1711
  "aria-hidden": "true"
1709
- })) : o("", !0), c("span", Ri, j(t.label), 1)]),
1712
+ })) : o("", !0), c("span", Fi, j(t.label), 1)]),
1710
1713
  _: 2
1711
1714
  }, 1040, [
1712
1715
  "title",
@@ -1715,17 +1718,17 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
1715
1718
  ])) : (w(), s("span", {
1716
1719
  key: 2,
1717
1720
  title: t.label,
1718
- class: y(M(X)(Vi, "text-black/65"))
1721
+ class: y(M(X)(Ri, "text-black/65"))
1719
1722
  }, [t.icon ? (w(), a(k(t.icon), {
1720
1723
  key: 0,
1721
1724
  "aria-hidden": "true"
1722
- })) : o("", !0), c("span", Bi, j(t.label), 1)], 10, zi)), n < e.items.length - 1 ? (w(), a(M(me), {
1725
+ })) : o("", !0), c("span", Li, j(t.label), 1)], 10, Ii)), n < e.items.length - 1 ? (w(), a(M(me), {
1723
1726
  key: 3,
1724
1727
  "aria-hidden": "true",
1725
1728
  class: "size-3.5 shrink-0 text-black/40"
1726
- })) : o("", !0)]))), 128))])], 10, Pi));
1729
+ })) : o("", !0)]))), 128))])], 10, ji));
1727
1730
  }
1728
- }), Ui = /* @__PURE__ */ f({
1731
+ }), Bi = /* @__PURE__ */ f({
1729
1732
  __name: "Menu",
1730
1733
  props: {
1731
1734
  items: {},
@@ -1803,18 +1806,18 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
1803
1806
  _: 1
1804
1807
  }));
1805
1808
  }
1806
- }), Wi = { class: "flex flex-wrap items-start justify-between gap-x-6 gap-y-3" }, Gi = { class: "flex min-w-0 flex-col gap-1" }, Ki = { class: "flex flex-wrap items-center gap-x-2 gap-y-1" }, qi = ["aria-label"], Ji = {
1809
+ }), Vi = { class: "flex flex-wrap items-start justify-between gap-x-6 gap-y-3" }, Hi = { class: "flex min-w-0 flex-col gap-1" }, Ui = { class: "flex flex-wrap items-center gap-x-2 gap-y-1" }, Wi = ["aria-label"], Gi = {
1807
1810
  key: 0,
1808
1811
  class: "flex shrink-0 items-center gap-2 px-3 text-sm font-bold",
1809
1812
  "aria-live": "polite"
1810
- }, Yi = {
1813
+ }, Ki = {
1811
1814
  "aria-hidden": "true",
1812
1815
  inert: "",
1813
1816
  class: "invisible absolute top-0 left-0 size-0 overflow-hidden"
1814
- }, Xi = {
1817
+ }, qi = {
1815
1818
  key: 1,
1816
1819
  class: "flex shrink-0 items-center gap-2 px-3 text-sm"
1817
- }, Zi = /* @__PURE__ */ f({
1820
+ }, Ji = /* @__PURE__ */ f({
1818
1821
  __name: "PageHeader",
1819
1822
  props: {
1820
1823
  title: {},
@@ -1857,12 +1860,12 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
1857
1860
  }), S(() => x?.disconnect()), z(() => r.toolbar?.map((e) => `${e.label}${e.disabled ? "-" : ""}`).join("|"), () => v(b));
1858
1861
  let T = i(() => (r.toolbar ?? []).slice(0, _.value)), A = i(() => (r.toolbar ?? []).slice(_.value));
1859
1862
  return (i, p) => (w(), s("header", { class: y(M(X)("flex flex-col gap-2", r.class)) }, [
1860
- e.breadcrumb && e.breadcrumb.length > 1 ? (w(), a(Hi, {
1863
+ e.breadcrumb && e.breadcrumb.length > 1 ? (w(), a(zi, {
1861
1864
  key: 0,
1862
1865
  items: e.breadcrumb,
1863
1866
  "link-component": e.linkComponent
1864
1867
  }, null, 8, ["items", "link-component"])) : o("", !0),
1865
- c("div", Wi, [c("div", Gi, [c("div", Ki, [c("h1", { class: y(M(X)("min-w-0 text-2xl font-bold break-words", e.ui?.title)) }, j(e.title), 3), O(i.$slots, "badge")]), e.description || i.$slots.description ? (w(), s("p", {
1868
+ c("div", Vi, [c("div", Hi, [c("div", Ui, [c("h1", { class: y(M(X)("min-w-0 text-2xl font-bold break-words", e.ui?.title)) }, j(e.title), 3), O(i.$slots, "badge")]), e.description || i.$slots.description ? (w(), s("p", {
1866
1869
  key: 0,
1867
1870
  class: y(M(X)("max-w-prose text-sm text-black/65", e.ui?.description))
1868
1871
  }, [O(i.$slots, "description", {}, () => [u(j(e.description), 1)])], 2)) : o("", !0)]), i.$slots.actions ? (w(), s("div", {
@@ -1875,7 +1878,7 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
1875
1878
  "aria-label": M(t)("ui.pageHeader.actions", { title: e.title }),
1876
1879
  class: y(M(X)("flex items-center gap-1 rounded-lg border border-black/15 bg-white p-1", e.ui?.toolbar))
1877
1880
  }, [
1878
- i.$slots["toolbar-start"] ? (w(), s("div", Ji, [O(i.$slots, "toolbar-start")])) : o("", !0),
1881
+ i.$slots["toolbar-start"] ? (w(), s("div", Gi, [O(i.$slots, "toolbar-start")])) : o("", !0),
1879
1882
  c("div", {
1880
1883
  ref_key: "fitArea",
1881
1884
  ref: h,
@@ -1904,7 +1907,7 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
1904
1907
  "disabled",
1905
1908
  "onClick"
1906
1909
  ]))), 128)),
1907
- A.value.length ? (w(), a(Ui, {
1910
+ A.value.length ? (w(), a(Bi, {
1908
1911
  key: 0,
1909
1912
  items: A.value,
1910
1913
  label: M(t)("ui.pageHeader.moreActions"),
@@ -1915,7 +1918,7 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
1915
1918
  "label",
1916
1919
  "link-component"
1917
1920
  ])) : o("", !0),
1918
- c("div", Yi, [c("div", {
1921
+ c("div", Ki, [c("div", {
1919
1922
  ref_key: "measure",
1920
1923
  ref: g,
1921
1924
  class: "flex w-max gap-1"
@@ -1941,18 +1944,18 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
1941
1944
  _: 1
1942
1945
  })], 512)])
1943
1946
  ], 512),
1944
- i.$slots["toolbar-end"] ? (w(), s("div", Xi, [O(i.$slots, "toolbar-end")])) : o("", !0)
1945
- ], 10, qi)) : o("", !0),
1947
+ i.$slots["toolbar-end"] ? (w(), s("div", qi, [O(i.$slots, "toolbar-end")])) : o("", !0)
1948
+ ], 10, Wi)) : o("", !0),
1946
1949
  O(i.$slots, "default")
1947
1950
  ], 2));
1948
1951
  }
1949
- }), Qi = { class: "flex min-w-0 flex-col gap-0.5" }, $i = {
1952
+ }), Yi = { class: "flex min-w-0 flex-col gap-0.5" }, Xi = {
1950
1953
  class: "text-sm",
1951
1954
  "aria-hidden": "true"
1952
- }, ea = {
1955
+ }, Zi = {
1953
1956
  key: 0,
1954
1957
  class: "text-xs text-black/65"
1955
- }, ta = { class: "w-full shrink-0 sm:w-80" }, na = /* @__PURE__ */ f({
1958
+ }, Qi = { class: "w-full shrink-0 sm:w-80" }, $i = /* @__PURE__ */ f({
1956
1959
  __name: "SettingsRow",
1957
1960
  props: {
1958
1961
  label: {},
@@ -1967,12 +1970,12 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
1967
1970
  },
1968
1971
  setup(e) {
1969
1972
  let t = e;
1970
- return (n, r) => (w(), s("div", { class: y(M(X)("flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between sm:gap-6", t.class)) }, [c("div", Qi, [c("p", $i, j(e.label), 1), e.description ? (w(), s("p", ea, j(e.description), 1)) : o("", !0)]), c("div", ta, [O(n.$slots, "default")])], 2));
1973
+ return (n, r) => (w(), s("div", { class: y(M(X)("flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between sm:gap-6", t.class)) }, [c("div", Yi, [c("p", Xi, j(e.label), 1), e.description ? (w(), s("p", Zi, j(e.description), 1)) : o("", !0)]), c("div", Qi, [O(n.$slots, "default")])], 2));
1971
1974
  }
1972
- }), ra = ["aria-label"], ia = ["aria-label"], aa = { "aria-hidden": "true" }, oa = { class: "flex max-h-72 flex-col gap-2 overflow-y-auto p-3 text-sm [scrollbar-width:thin]" }, sa = { class: "min-w-0 truncate" }, ca = {
1975
+ }), ea = ["aria-label"], ta = ["aria-label"], na = { "aria-hidden": "true" }, ra = { class: "flex max-h-72 flex-col gap-2 overflow-y-auto p-3 text-sm [scrollbar-width:thin]" }, ia = { class: "min-w-0 truncate" }, aa = {
1973
1976
  key: 0,
1974
1977
  class: "ml-auto shrink-0 truncate text-xs text-black/65"
1975
- }, la = /* @__PURE__ */ f({
1978
+ }, oa = /* @__PURE__ */ f({
1976
1979
  __name: "AvatarGroup",
1977
1980
  props: {
1978
1981
  users: {},
@@ -2018,7 +2021,7 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
2018
2021
  }, [(w(!0), s(n, null, D(a.value, (t, n) => (w(), s("span", {
2019
2022
  key: `${t.name}-${n}`,
2020
2023
  class: y(M(X)("relative flex rounded-full ring-white hover:z-10 focus-within:z-10", f[e.size], n > 0 && u[e.size]))
2021
- }, [d(Gr, {
2024
+ }, [d(Hr, {
2022
2025
  user: t,
2023
2026
  size: e.size,
2024
2027
  profile: e.profile
@@ -2040,17 +2043,17 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
2040
2043
  },
2041
2044
  ui: { content: "w-56" }
2042
2045
  }, {
2043
- content: V(() => [c("ul", oa, [(w(!0), s(n, null, D(l.value, (e, t) => (w(), s("li", {
2046
+ content: V(() => [c("ul", ra, [(w(!0), s(n, null, D(l.value, (e, t) => (w(), s("li", {
2044
2047
  key: `${e.name}-${t}`,
2045
2048
  class: "flex items-center gap-2"
2046
2049
  }, [
2047
- d(Gr, {
2050
+ d(Hr, {
2048
2051
  user: e,
2049
2052
  size: "xs",
2050
2053
  decorative: ""
2051
2054
  }, null, 8, ["user"]),
2052
- c("span", sa, j(e.name), 1),
2053
- e.role ? (w(), s("span", ca, j(e.role), 1)) : o("", !0)
2055
+ c("span", ia, j(e.name), 1),
2056
+ e.role ? (w(), s("span", aa, j(e.role), 1)) : o("", !0)
2054
2057
  ]))), 128))])]),
2055
2058
  default: V(() => [c("button", {
2056
2059
  type: "button",
@@ -2059,17 +2062,17 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
2059
2062
  names: l.value.map((e) => e.name).join(", ")
2060
2063
  }),
2061
2064
  class: y(M(X)("inline-flex shrink-0 cursor-pointer items-center justify-center rounded-full bg-surface font-bold text-black select-none", "outline-2 outline-offset-1 outline-transparent transition focus-visible:outline-focus", p[e.size]))
2062
- }, [c("span", aa, "+" + j(l.value.length), 1)], 10, ia)]),
2065
+ }, [c("span", na, "+" + j(l.value.length), 1)], 10, ta)]),
2063
2066
  _: 1
2064
- })], 2)) : o("", !0)], 10, ra));
2067
+ })], 2)) : o("", !0)], 10, ea));
2065
2068
  }
2066
- }), ua = { class: "flex min-w-0 flex-col gap-1" }, da = {
2069
+ }), sa = { class: "flex min-w-0 flex-col gap-1" }, ca = {
2067
2070
  key: 1,
2068
2071
  class: "text-sm text-black/65"
2069
- }, fa = {
2072
+ }, la = {
2070
2073
  key: 0,
2071
2074
  class: "flex shrink-0 items-center gap-2"
2072
- }, pa = /* @__PURE__ */ f({
2075
+ }, ua = /* @__PURE__ */ f({
2073
2076
  __name: "Card",
2074
2077
  props: {
2075
2078
  title: {},
@@ -2103,25 +2106,25 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
2103
2106
  default: V(() => [c("div", { class: y(M(X)("flex min-w-0 flex-1 flex-col gap-4", l[e.padding], e.ui?.body)) }, [e.title || e.description || i.$slots.header || i.$slots.actions ? (w(), s("div", {
2104
2107
  key: 0,
2105
2108
  class: y(M(X)("flex items-start justify-between gap-3", e.padding === "none" && "px-4 pt-4 sm:px-6 sm:pt-6", e.ui?.header))
2106
- }, [O(i.$slots, "header", {}, () => [c("div", ua, [e.title ? (w(), a(k(`h${e.headingLevel}`), {
2109
+ }, [O(i.$slots, "header", {}, () => [c("div", sa, [e.title ? (w(), a(k(`h${e.headingLevel}`), {
2107
2110
  key: 0,
2108
2111
  id: n,
2109
2112
  class: "text-base font-bold"
2110
2113
  }, {
2111
2114
  default: V(() => [u(j(e.title), 1)]),
2112
2115
  _: 1
2113
- })) : o("", !0), e.description ? (w(), s("p", da, j(e.description), 1)) : o("", !0)])]), i.$slots.actions ? (w(), s("div", fa, [O(i.$slots, "actions")])) : o("", !0)], 2)) : o("", !0), O(i.$slots, "default")], 2), i.$slots.footer ? (w(), s("div", {
2116
+ })) : o("", !0), e.description ? (w(), s("p", ca, j(e.description), 1)) : o("", !0)])]), i.$slots.actions ? (w(), s("div", la, [O(i.$slots, "actions")])) : o("", !0)], 2)) : o("", !0), O(i.$slots, "default")], 2), i.$slots.footer ? (w(), s("div", {
2114
2117
  key: 0,
2115
2118
  class: y(M(X)("flex flex-wrap justify-end gap-2 border-t border-black/15", d[e.padding], e.ui?.footer))
2116
2119
  }, [O(i.$slots, "footer")], 2)) : o("", !0)]),
2117
2120
  _: 3
2118
2121
  }, 8, ["aria-labelledby", "class"]));
2119
2122
  }
2120
- }), ma = { class: "min-w-0 truncate" }, ha = [
2123
+ }), da = { class: "min-w-0 truncate" }, fa = [
2121
2124
  "tabindex",
2122
2125
  "aria-label",
2123
2126
  "disabled"
2124
- ], ga = /* @__PURE__ */ f({
2127
+ ], pa = /* @__PURE__ */ f({
2125
2128
  __name: "Chip",
2126
2129
  props: {
2127
2130
  size: { default: "md" },
@@ -2154,7 +2157,7 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
2154
2157
  };
2155
2158
  return (t, p) => (w(), s("span", { class: y(M(X)(a, l[e.size], e.removable && u[e.size], e.disabled && "opacity-40", r.class)) }, [
2156
2159
  O(t.$slots, "leading"),
2157
- c("span", ma, [O(t.$slots, "default")]),
2160
+ c("span", da, [O(t.$slots, "default")]),
2158
2161
  e.removable ? (w(), s("button", {
2159
2162
  key: 0,
2160
2163
  type: "button",
@@ -2163,10 +2166,10 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
2163
2166
  disabled: e.disabled,
2164
2167
  class: y(M(X)("flex shrink-0 cursor-pointer items-center justify-center rounded-sm transition", "not-disabled:hover:bg-black/10 not-disabled:active:bg-black/15 disabled:cursor-not-allowed", "outline-2 outline-offset-0 outline-transparent focus-visible:outline-focus", f[e.size])),
2165
2168
  onClick: p[0] ||= (e) => i("remove")
2166
- }, [d(M(Ve), { "aria-hidden": "true" })], 10, ha)) : o("", !0)
2169
+ }, [d(M(Ve), { "aria-hidden": "true" })], 10, fa)) : o("", !0)
2167
2170
  ], 2));
2168
2171
  }
2169
- }), _a = ["role", "aria-label"], va = { class: "shrink-0" }, ya = /* @__PURE__ */ f({
2172
+ }), ma = ["role", "aria-label"], ha = { class: "shrink-0" }, ga = /* @__PURE__ */ f({
2170
2173
  __name: "Divider",
2171
2174
  props: {
2172
2175
  orientation: { default: "horizontal" },
@@ -2195,12 +2198,12 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
2195
2198
  "aria-hidden": "true",
2196
2199
  class: "h-px flex-1 bg-black/15"
2197
2200
  }, null, -1),
2198
- c("span", va, [O(n.$slots, "default", {}, () => [u(j(e.label), 1)])]),
2201
+ c("span", ha, [O(n.$slots, "default", {}, () => [u(j(e.label), 1)])]),
2199
2202
  r[1] ||= c("span", {
2200
2203
  "aria-hidden": "true",
2201
2204
  class: "h-px flex-1 bg-black/15"
2202
2205
  }, null, -1)
2203
- ], 10, _a)) : (w(), a(M(on), {
2206
+ ], 10, ma)) : (w(), a(M(on), {
2204
2207
  key: 1,
2205
2208
  orientation: e.orientation,
2206
2209
  decorative: e.decorative,
@@ -2213,17 +2216,17 @@ var ii = ["data-collapsed"], ai = ["aria-label"], oi = ["data-level"], si = {
2213
2216
  }
2214
2217
  });
2215
2218
  // src/components/ChangeIndicator/changeIndicator.ts
2216
- function ba(e, t) {
2219
+ function _a(e, t) {
2217
2220
  return t ? `${e} ${t}` : String(e);
2218
2221
  }
2219
- function xa(e, t) {
2222
+ function va(e, t) {
2220
2223
  return String(e) !== String(t);
2221
2224
  }
2222
2225
  // src/components/ChangeIndicator/ChangeIndicator.vue?vue&type=script&setup=true&lang.ts
2223
- var Sa = { class: "sr-only" }, Ca = {
2226
+ var ya = { class: "sr-only" }, ba = {
2224
2227
  "aria-hidden": "true",
2225
2228
  class: "font-normal line-through decoration-blue/60"
2226
- }, wa = { "aria-hidden": "true" }, Ta = /* @__PURE__ */ f({
2229
+ }, xa = { "aria-hidden": "true" }, Sa = /* @__PURE__ */ f({
2227
2230
  __name: "ChangeIndicator",
2228
2231
  props: {
2229
2232
  from: {},
@@ -2238,24 +2241,24 @@ var Sa = { class: "sr-only" }, Ca = {
2238
2241
  ] }
2239
2242
  },
2240
2243
  setup(e) {
2241
- let { t } = K(), r = e, a = i(() => xa(r.from, r.to)), l = i(() => t("ui.changeIndicator.changed", {
2244
+ let { t } = K(), r = e, a = i(() => va(r.from, r.to)), l = i(() => t("ui.changeIndicator.changed", {
2242
2245
  from: r.from,
2243
- to: ba(r.to, r.unit)
2246
+ to: _a(r.to, r.unit)
2244
2247
  }));
2245
2248
  return (t, i) => a.value ? (w(), s("span", {
2246
2249
  key: 0,
2247
2250
  class: y(M(X)("inline-flex items-center gap-1 whitespace-nowrap rounded-full border border-blue/30 bg-blue/10 px-2 text-xs font-bold text-blue", r.class))
2248
2251
  }, [
2249
- c("span", Sa, j(l.value), 1),
2250
- c("span", Ca, j(e.from), 1),
2252
+ c("span", ya, j(l.value), 1),
2253
+ c("span", ba, j(e.from), 1),
2251
2254
  d(M(re), {
2252
2255
  "aria-hidden": "true",
2253
2256
  class: "size-3 shrink-0"
2254
2257
  }),
2255
- c("span", wa, [u(j(e.to), 1), e.unit ? (w(), s(n, { key: 0 }, [u(j(e.unit), 1)], 64)) : o("", !0)])
2258
+ c("span", xa, [u(j(e.to), 1), e.unit ? (w(), s(n, { key: 0 }, [u(j(e.unit), 1)], 64)) : o("", !0)])
2256
2259
  ], 2)) : o("", !0);
2257
2260
  }
2258
- }), Ea = ["aria-label"], Da = { class: "max-w-64 px-3 py-2 text-xs" }, Oa = /* @__PURE__ */ f({
2261
+ }), Ca = ["aria-label"], wa = { class: "max-w-64 px-3 py-2 text-xs" }, Ta = /* @__PURE__ */ f({
2259
2262
  __name: "InfoTip",
2260
2263
  props: {
2261
2264
  text: {},
@@ -2277,7 +2280,7 @@ var Sa = { class: "sr-only" }, Ca = {
2277
2280
  sideOffset: 6
2278
2281
  }
2279
2282
  }, {
2280
- content: V(() => [c("p", Da, j(e.text), 1)]),
2283
+ content: V(() => [c("p", wa, j(e.text), 1)]),
2281
2284
  default: V(() => [c("button", {
2282
2285
  type: "button",
2283
2286
  "aria-label": e.label,
@@ -2286,11 +2289,11 @@ var Sa = { class: "sr-only" }, Ca = {
2286
2289
  }, [d(M(ye), { "aria-hidden": "true" }), c("span", {
2287
2290
  id: n,
2288
2291
  hidden: ""
2289
- }, j(e.text), 1)], 10, Ea)]),
2292
+ }, j(e.text), 1)], 10, Ca)]),
2290
2293
  _: 1
2291
2294
  }));
2292
2295
  }
2293
- }), ka = { class: "overflow-hidden" }, Aa = ["id"], ja = /* @__PURE__ */ f({
2296
+ }), Ea = { class: "overflow-hidden" }, Da = ["id"], Oa = /* @__PURE__ */ f({
2294
2297
  __name: "FieldMessage",
2295
2298
  props: {
2296
2299
  id: {},
@@ -2313,7 +2316,7 @@ var Sa = { class: "sr-only" }, Ca = {
2313
2316
  return (t, i) => (w(), s(n, null, [c("div", {
2314
2317
  "aria-hidden": "true",
2315
2318
  class: y(M(X)("-mt-1.5 grid transition-[grid-template-rows,visibility] duration-150 ease-out motion-reduce:transition-none", r.value ? "grid-rows-[1fr]" : "invisible grid-rows-[0fr] delay-100"))
2316
- }, [c("div", ka, [c("p", { class: y(M(X)("flex items-center gap-1 pt-1.5 text-xs transition-[translate,opacity,color] ease-out motion-reduce:transition-none [&_svg]:size-3.5 [&_svg]:shrink-0", d.value && f[d.value], r.value ? "duration-150 delay-100" : "-translate-y-1 opacity-0 duration-100")) }, [d.value === "loading" ? (w(), a(Gn, {
2319
+ }, [c("div", Ea, [c("p", { class: y(M(X)("flex items-center gap-1 pt-1.5 text-xs transition-[translate,opacity,color] ease-out motion-reduce:transition-none [&_svg]:size-3.5 [&_svg]:shrink-0", d.value && f[d.value], r.value ? "duration-150 delay-100" : "-translate-y-1 opacity-0 duration-100")) }, [d.value === "loading" ? (w(), a(Gn, {
2317
2320
  key: 0,
2318
2321
  size: "sm",
2319
2322
  class: "size-3.5"
@@ -2321,12 +2324,12 @@ var Sa = { class: "sr-only" }, Ca = {
2321
2324
  id: e.id,
2322
2325
  "aria-live": "polite",
2323
2326
  class: "sr-only"
2324
- }, j(e.text), 9, Aa)], 64));
2327
+ }, j(e.text), 9, Da)], 64));
2325
2328
  }
2326
- }), Ma = { class: "flex items-center gap-1" }, Na = ["hidden"], Pa = {
2329
+ }), ka = { class: "flex items-center gap-1" }, Aa = ["hidden"], ja = {
2327
2330
  key: 0,
2328
2331
  class: "col-start-2 row-start-1 flex h-5 items-center text-xs"
2329
- }, Fa = "input, textarea, [role=\"spinbutton\"], [contenteditable=\"true\"]", Ia = /* @__PURE__ */ f({
2332
+ }, Ma = "input, textarea, [role=\"spinbutton\"], [contenteditable=\"true\"]", Na = /* @__PURE__ */ f({
2330
2333
  __name: "FormField",
2331
2334
  props: {
2332
2335
  label: {},
@@ -2349,7 +2352,7 @@ var Sa = { class: "sr-only" }, Ca = {
2349
2352
  let { t } = K(), n = e, r = P(), l = `${r}-control`, u = `${r}-label`, f = `${r}-helper`, p = `${r}-status`, m = i(() => n.errorText ? "error" : n.status), h = i(() => n.errorText || n.statusText), g = i(() => [n.helper && f, h.value && p].filter(Boolean).join(" ") || void 0);
2350
2353
  function _(e) {
2351
2354
  let t = e.target;
2352
- n.disabled || t.closest(`${Fa}, button`) || (e.preventDefault(), e.currentTarget.querySelector(Fa)?.focus());
2355
+ n.disabled || t.closest(`${Ma}, button`) || (e.preventDefault(), e.currentTarget.querySelector(Ma)?.focus());
2353
2356
  }
2354
2357
  function v() {
2355
2358
  let e = document.getElementById(l);
@@ -2367,12 +2370,12 @@ var Sa = { class: "sr-only" }, Ca = {
2367
2370
  loading: ""
2368
2371
  };
2369
2372
  return (r, i) => (w(), s("div", { class: y(M(X)("flex flex-col gap-1.5 text-black", n.class)) }, [c("div", { class: y(M(X)("grid grid-cols-[minmax(0,1fr)_auto]", !e.hideLabel && "gap-y-1.5", r.$slots["label-trailing"] && "gap-x-3")) }, [
2370
- c("div", { class: y(M(X)("col-start-1 row-start-1 flex flex-col gap-0.5", e.hideLabel && "sr-only")) }, [c("div", Ma, [c("label", {
2373
+ c("div", { class: y(M(X)("col-start-1 row-start-1 flex flex-col gap-0.5", e.hideLabel && "sr-only")) }, [c("div", ka, [c("label", {
2371
2374
  id: u,
2372
2375
  for: l,
2373
2376
  class: "text-sm",
2374
2377
  onClick: v
2375
- }, j(e.label), 1), e.helper && e.helperPlacement === "icon" ? (w(), a(Oa, {
2378
+ }, j(e.label), 1), e.helper && e.helperPlacement === "icon" ? (w(), a(Ta, {
2376
2379
  key: 0,
2377
2380
  text: e.helper,
2378
2381
  label: M(t)("ui.formField.about", { label: e.label })
@@ -2381,7 +2384,7 @@ var Sa = { class: "sr-only" }, Ca = {
2381
2384
  id: f,
2382
2385
  hidden: e.helperPlacement === "icon",
2383
2386
  class: "text-xs text-black/65"
2384
- }, j(e.helper), 9, Na)) : o("", !0)], 2),
2387
+ }, j(e.helper), 9, Aa)) : o("", !0)], 2),
2385
2388
  c("div", {
2386
2389
  class: y(M(X)(b, "col-span-2 row-start-2", m.value && x[m.value], e.disabled && "opacity-40 cursor-not-allowed")),
2387
2390
  onPointerdown: _
@@ -2395,20 +2398,20 @@ var Sa = { class: "sr-only" }, Ca = {
2395
2398
  }),
2396
2399
  O(r.$slots, "trailing")
2397
2400
  ], 34),
2398
- r.$slots["label-trailing"] ? (w(), s("div", Pa, [O(r.$slots, "label-trailing")])) : o("", !0)
2399
- ], 2), d(ja, {
2401
+ r.$slots["label-trailing"] ? (w(), s("div", ja, [O(r.$slots, "label-trailing")])) : o("", !0)
2402
+ ], 2), d(Oa, {
2400
2403
  id: p,
2401
2404
  status: m.value,
2402
2405
  text: h.value
2403
2406
  }, null, 8, ["status", "text"])], 2));
2404
2407
  }
2405
- }), La = [
2408
+ }), Pa = [
2406
2409
  "id",
2407
2410
  "spellcheck",
2408
2411
  "disabled",
2409
2412
  "aria-invalid",
2410
2413
  "aria-describedby"
2411
- ], Ra = /* @__PURE__ */ f({
2414
+ ], Fa = /* @__PURE__ */ f({
2412
2415
  inheritAttrs: !1,
2413
2416
  __name: "Input",
2414
2417
  props: /*@__PURE__*/ g({
@@ -2440,7 +2443,7 @@ var Sa = { class: "sr-only" }, Ca = {
2440
2443
  if (n.maxLength !== void 0 && e > n.maxLength) return t("ui.input.maxLength", { count: n.maxLength });
2441
2444
  if (o.value && n.minLength !== void 0 && e > 0 && e < n.minLength) return t("ui.input.minLength", { count: n.minLength });
2442
2445
  }), u = i(() => n.status ?? (s.value ? "error" : void 0)), d = i(() => n.statusText ?? s.value);
2443
- return (t, i) => (w(), a(Ia, {
2446
+ return (t, i) => (w(), a(Na, {
2444
2447
  label: e.label,
2445
2448
  helper: e.helper,
2446
2449
  "helper-placement": e.helperPlacement,
@@ -2461,7 +2464,7 @@ var Sa = { class: "sr-only" }, Ca = {
2461
2464
  "aria-describedby": a,
2462
2465
  class: "h-5 min-w-0 flex-1 bg-transparent outline-none placeholder:text-black/55 disabled:cursor-not-allowed",
2463
2466
  onBlur: i[1] ||= (e) => o.value = !0
2464
- }), null, 16, La), [[L, r.value]])]),
2467
+ }), null, 16, Pa), [[L, r.value]])]),
2465
2468
  _: 2
2466
2469
  }, [t.$slots.leading ? {
2467
2470
  name: "leading",
@@ -2483,7 +2486,7 @@ var Sa = { class: "sr-only" }, Ca = {
2483
2486
  "class"
2484
2487
  ]));
2485
2488
  }
2486
- }), za = "-ml-3 rounded-l border-r border-black/15", Ba = "-mr-3 rounded-r border-l border-black/15", Va = /* @__PURE__ */ f({
2489
+ }), Ia = "-ml-3 rounded-l border-r border-black/15", La = "-mr-3 rounded-r border-l border-black/15", Ra = /* @__PURE__ */ f({
2487
2490
  inheritAttrs: !1,
2488
2491
  __name: "InputNumber",
2489
2492
  props: /*@__PURE__*/ g({
@@ -2518,7 +2521,7 @@ var Sa = { class: "sr-only" }, Ca = {
2518
2521
  "not-disabled:hover:brightness-90 not-disabled:active:brightness-80 [&_svg]:opacity-100!",
2519
2522
  "disabled:cursor-not-allowed disabled:[&_svg]:opacity-40!"
2520
2523
  ];
2521
- return (t, i) => (w(), a(Ia, {
2524
+ return (t, i) => (w(), a(Na, {
2522
2525
  label: e.label,
2523
2526
  helper: e.helper,
2524
2527
  "helper-placement": e.helperPlacement,
@@ -2542,7 +2545,7 @@ var Sa = { class: "sr-only" }, Ca = {
2542
2545
  class: "contents"
2543
2546
  }, {
2544
2547
  default: V(() => [
2545
- d(M(At), { class: y([o, za]) }, {
2548
+ d(M(At), { class: y([o, Ia]) }, {
2546
2549
  default: V(() => [d(M(je))]),
2547
2550
  _: 1
2548
2551
  }, 8, ["class"]),
@@ -2556,7 +2559,7 @@ var Sa = { class: "sr-only" }, Ca = {
2556
2559
  "aria-describedby",
2557
2560
  "aria-valuetext"
2558
2561
  ]),
2559
- d(M(jt), { class: y([o, Ba]) }, {
2562
+ d(M(jt), { class: y([o, La]) }, {
2560
2563
  default: V(() => [d(M(Fe))]),
2561
2564
  _: 1
2562
2565
  }, 8, ["class"])
@@ -2585,26 +2588,26 @@ var Sa = { class: "sr-only" }, Ca = {
2585
2588
  "class"
2586
2589
  ]));
2587
2590
  }
2588
- }), Ha = { class: "flex items-center" }, Ua = ["aria-label", "disabled"], Wa = ["aria-label", "disabled"], Ga = {
2591
+ }), za = { class: "flex items-center" }, Ba = ["aria-label", "disabled"], Va = ["aria-label", "disabled"], Ha = {
2589
2592
  key: 2,
2590
2593
  class: "px-1.5 py-1 text-sm tabular-nums"
2591
- }, Ka = {
2594
+ }, Ua = {
2592
2595
  key: 0,
2593
2596
  class: "mt-3 grid w-56 grid-cols-3 gap-1"
2594
- }, qa = [
2597
+ }, Wa = [
2595
2598
  "aria-current",
2596
2599
  "aria-pressed",
2597
2600
  "disabled",
2598
2601
  "onClick"
2599
- ], Ja = {
2602
+ ], Ga = {
2600
2603
  key: 1,
2601
2604
  class: "mt-3 grid w-56 grid-cols-3 gap-1"
2602
- }, Ya = [
2605
+ }, Ka = [
2603
2606
  "aria-current",
2604
2607
  "aria-pressed",
2605
2608
  "disabled",
2606
2609
  "onClick"
2607
- ], Xa = /* @__PURE__ */ f({
2610
+ ], qa = /* @__PURE__ */ f({
2608
2611
  __name: "Calendar",
2609
2612
  props: /*@__PURE__*/ g({
2610
2613
  min: {},
@@ -2750,21 +2753,21 @@ var Sa = { class: "sr-only" }, Ca = {
2750
2753
  default: V(() => [d(M(pe))]),
2751
2754
  _: 1
2752
2755
  }, 8, ["aria-label", "disabled"])),
2753
- c("div", Ha, [_.value === "days" ? (w(), s("button", {
2756
+ c("div", za, [_.value === "days" ? (w(), s("button", {
2754
2757
  key: 0,
2755
2758
  type: "button",
2756
2759
  class: y(J),
2757
2760
  "aria-label": M(t)("ui.calendar.chooseMonth"),
2758
2761
  disabled: e.disabled,
2759
2762
  onClick: k
2760
- }, [u(j(C.value) + " ", 1), d(M(fe))], 8, Ua)) : o("", !0), _.value === "years" ? (w(), s("span", Ga, j(O.value[0]) + " – " + j(O.value[O.value.length - 1]), 1)) : (w(), s("button", {
2763
+ }, [u(j(C.value) + " ", 1), d(M(fe))], 8, Ba)) : o("", !0), _.value === "years" ? (w(), s("span", Ha, j(O.value[0]) + " – " + j(O.value[O.value.length - 1]), 1)) : (w(), s("button", {
2761
2764
  key: 1,
2762
2765
  type: "button",
2763
2766
  class: y(J),
2764
2767
  "aria-label": M(t)("ui.calendar.chooseYear"),
2765
2768
  disabled: e.disabled,
2766
2769
  onClick: N
2767
- }, [u(j(v.value.year) + " ", 1), d(M(fe))], 8, Wa))]),
2770
+ }, [u(j(v.value.year) + " ", 1), d(M(fe))], 8, Va))]),
2768
2771
  _.value === "days" ? (w(), a(M(Xe), {
2769
2772
  key: 2,
2770
2773
  "as-child": ""
@@ -2794,7 +2797,7 @@ var Sa = { class: "sr-only" }, Ca = {
2794
2797
  ]),
2795
2798
  _: 1
2796
2799
  }),
2797
- _.value === "months" ? (w(), s("div", Ka, [(w(!0), s(n, null, D(S.value, (e, t) => (w(), s("button", {
2800
+ _.value === "months" ? (w(), s("div", Ua, [(w(!0), s(n, null, D(S.value, (e, t) => (w(), s("button", {
2798
2801
  key: e,
2799
2802
  type: "button",
2800
2803
  class: y(ne),
@@ -2802,7 +2805,7 @@ var Sa = { class: "sr-only" }, Ca = {
2802
2805
  "aria-pressed": ee(t + 1),
2803
2806
  disabled: R(t + 1),
2804
2807
  onClick: (e) => P(t + 1)
2805
- }, j(e), 9, qa))), 128))])) : _.value === "years" ? (w(), s("div", Ja, [(w(!0), s(n, null, D(O.value, (e) => (w(), s("button", {
2808
+ }, j(e), 9, Wa))), 128))])) : _.value === "years" ? (w(), s("div", Ga, [(w(!0), s(n, null, D(O.value, (e) => (w(), s("button", {
2806
2809
  key: e,
2807
2810
  type: "button",
2808
2811
  class: y(ne),
@@ -2810,7 +2813,7 @@ var Sa = { class: "sr-only" }, Ca = {
2810
2813
  "aria-pressed": W(e),
2811
2814
  disabled: B(e),
2812
2815
  onClick: (t) => I(e)
2813
- }, j(e), 9, Ya))), 128))])) : o("", !0),
2816
+ }, j(e), 9, Ka))), 128))])) : o("", !0),
2814
2817
  (w(!0), s(n, null, D(_.value === "days" ? i : [], (e) => (w(), a(M(We), {
2815
2818
  key: e.value.toString(),
2816
2819
  class: "mt-3 border-collapse select-none"
@@ -2867,7 +2870,7 @@ var Sa = { class: "sr-only" }, Ca = {
2867
2870
  "class"
2868
2871
  ]));
2869
2872
  }
2870
- }), Za = {
2873
+ }), Ja = {
2871
2874
  monday: 1,
2872
2875
  mon: 1,
2873
2876
  tuesday: 2,
@@ -2886,7 +2889,7 @@ var Sa = { class: "sr-only" }, Ca = {
2886
2889
  sat: 6,
2887
2890
  sunday: 7,
2888
2891
  sun: 7
2889
- }, Q = `(${Object.keys(Za).join("|")})`, Qa = {
2892
+ }, Q = `(${Object.keys(Ja).join("|")})`, Ya = {
2890
2893
  january: 1,
2891
2894
  jan: 1,
2892
2895
  february: 2,
@@ -2911,7 +2914,7 @@ var Sa = { class: "sr-only" }, Ca = {
2911
2914
  nov: 11,
2912
2915
  december: 12,
2913
2916
  dec: 12
2914
- }, $a = `(${Object.keys(Qa).sort((e, t) => t.length - e.length).join("|")})`, eo = {
2917
+ }, Xa = `(${Object.keys(Ya).sort((e, t) => t.length - e.length).join("|")})`, Za = {
2915
2918
  a: 1,
2916
2919
  an: 1,
2917
2920
  one: 1,
@@ -2935,7 +2938,7 @@ var Sa = { class: "sr-only" }, Ca = {
2935
2938
  nineteen: 19,
2936
2939
  twenty: 20,
2937
2940
  thirty: 30
2938
- }, to = `(\\d+|${Object.keys(eo).join("|")})`, no = "(day|week|fortnight|month|year)s?", ro = {
2941
+ }, Qa = `(\\d+|${Object.keys(Za).join("|")})`, $a = "(day|week|fortnight|month|year)s?", eo = {
2939
2942
  first: 1,
2940
2943
  second: 2,
2941
2944
  third: 3,
@@ -2957,37 +2960,37 @@ var Sa = { class: "sr-only" }, Ca = {
2957
2960
  nineteenth: 19,
2958
2961
  twentieth: 20,
2959
2962
  thirtieth: 30
2960
- }, io = Object.keys(ro).join("|");
2961
- function ao(e) {
2963
+ }, to = Object.keys(eo).join("|");
2964
+ function no(e) {
2962
2965
  return new Date(e.year, e.month - 1, e.day).getDay() || 7;
2963
2966
  }
2964
- function oo(e) {
2965
- return e.subtract({ days: ao(e) - 1 });
2967
+ function ro(e) {
2968
+ return e.subtract({ days: no(e) - 1 });
2966
2969
  }
2967
2970
  function $(e, t, n) {
2968
2971
  if (!Number.isInteger(e) || t < 1 || t > 12 || n < 1) return;
2969
2972
  let r = new Cn(e, t, 1);
2970
2973
  if (!(n > r.calendar.getDaysInMonth(r))) return new Cn(e, t, n);
2971
2974
  }
2972
- function so(e, t, n, r) {
2975
+ function io(e, t, n, r) {
2973
2976
  if (r === -1) {
2974
2977
  let r = wn(new Cn(e, t, 1));
2975
- return r.subtract({ days: (ao(r) - n + 7) % 7 });
2978
+ return r.subtract({ days: (no(r) - n + 7) % 7 });
2976
2979
  }
2977
- let i = new Cn(e, t, 1), a = i.add({ days: (n - ao(i) + 7) % 7 + (r - 1) * 7 });
2980
+ let i = new Cn(e, t, 1), a = i.add({ days: (n - no(i) + 7) % 7 + (r - 1) * 7 });
2978
2981
  return a.month === t ? a : void 0;
2979
2982
  }
2980
- function co(e) {
2983
+ function ao(e) {
2981
2984
  let t = e % 19, n = Math.floor(e / 100), r = e % 100, i = Math.floor(n / 4), a = n % 4, o = Math.floor((n + 8) / 25), s = Math.floor((n - o + 1) / 3), c = (19 * t + n - i - s + 15) % 30, l = Math.floor(r / 4), u = r % 4, d = (32 + 2 * a + 2 * l - c - u) % 7, f = Math.floor((t + 11 * c + 22 * d) / 451), p = Math.floor((c + d - 7 * f + 114) / 31), m = (c + d - 7 * f + 114) % 31 + 1;
2982
2985
  return new Cn(e, p, m);
2983
2986
  }
2984
- function lo(e, t) {
2987
+ function oo(e, t) {
2985
2988
  if (e.length === 4) return Number(e);
2986
2989
  if (e.length !== 2) return NaN;
2987
2990
  let n = Number(e);
2988
2991
  return n <= t.year % 100 ? 2e3 + n : 1900 + n;
2989
2992
  }
2990
- var uo = [
2993
+ var so = [
2991
2994
  ["(?:christmas|xmas) eve", (e) => $(e, 12, 24)],
2992
2995
  ["(?:christmas|xmas)(?: day)?", (e) => $(e, 12, 25)],
2993
2996
  ["boxing day", (e) => $(e, 12, 26)],
@@ -2995,16 +2998,16 @@ var uo = [
2995
2998
  ["new years?(?: day)?", (e) => $(e, 1, 1)],
2996
2999
  ["valentines(?: day)?", (e) => $(e, 2, 14)],
2997
3000
  ["(?:st )?(?:patricks|paddys) day", (e) => $(e, 3, 17)],
2998
- ["good friday", (e) => co(e).subtract({ days: 2 })],
2999
- ["easter monday", (e) => co(e).add({ days: 1 })],
3000
- ["easter(?: sunday| day)?", (e) => co(e)],
3001
- ["(?:mothers day|mothering sunday)", (e) => co(e).subtract({ weeks: 3 })],
3002
- ["fathers day", (e) => so(e, 6, 7, 3)],
3001
+ ["good friday", (e) => ao(e).subtract({ days: 2 })],
3002
+ ["easter monday", (e) => ao(e).add({ days: 1 })],
3003
+ ["easter(?: sunday| day)?", (e) => ao(e)],
3004
+ ["(?:mothers day|mothering sunday)", (e) => ao(e).subtract({ weeks: 3 })],
3005
+ ["fathers day", (e) => io(e, 6, 7, 3)],
3003
3006
  ["halloween", (e) => $(e, 10, 31)],
3004
3007
  ["(?:bonfire night|guy fawkes(?: night| day)?)", (e) => $(e, 11, 5)],
3005
3008
  ["(?:remembrance|armistice) day", (e) => $(e, 11, 11)]
3006
3009
  ];
3007
- function fo(e, t, n) {
3010
+ function co(e, t, n) {
3008
3011
  let r = e.filter((e) => !!e).sort((e, t) => e.compare(t));
3009
3012
  return n === "future" ? r.find((e) => e.compare(t) >= 0) : n === "past" ? r.findLast((e) => e.compare(t) <= 0) : r.reduce((e, n) => {
3010
3013
  if (!e) return n;
@@ -3012,14 +3015,14 @@ function fo(e, t, n) {
3012
3015
  return r < i || r === i && n.compare(t) > 0 ? n : e;
3013
3016
  }, void 0);
3014
3017
  }
3015
- function po(e, t, n, r, i) {
3018
+ function lo(e, t, n, r, i) {
3016
3019
  if (!e) return n.yearValue === void 0 ? r.add(t) : void 0;
3017
3020
  switch (e.kind) {
3018
3021
  case "date": return n.yearValue === void 0 ? e.date.add(t) : void 0;
3019
3022
  case "yearless": return n.yearValue === void 0 ? n.year || t.years ? e.resolve(r.year + t.years)?.add({
3020
3023
  ...t,
3021
3024
  years: 0
3022
- }) : fo(Array.from({ length: 9 }, (e, t) => r.year - 4 + t).map(e.resolve), r, i)?.add(t) : e.resolve(n.yearValue + t.years)?.add({
3025
+ }) : co(Array.from({ length: 9 }, (e, t) => r.year - 4 + t).map(e.resolve), r, i)?.add(t) : e.resolve(n.yearValue + t.years)?.add({
3023
3026
  ...t,
3024
3027
  years: 0
3025
3028
  });
@@ -3032,19 +3035,19 @@ function po(e, t, n, r, i) {
3032
3035
  months: 0
3033
3036
  });
3034
3037
  }
3035
- return fo([
3038
+ return co([
3036
3039
  -1,
3037
3040
  0,
3038
3041
  1
3039
3042
  ].map((e) => On(r).add({ months: e })).map((t) => $(t.year, t.month, e.day)), r, i)?.add(t);
3040
3043
  case "weekday": {
3041
3044
  if (n.yearValue !== void 0) return;
3042
- let a = (e.weekday - ao(r) + 7) % 7 || 7, o = (ao(r) - e.weekday + 7) % 7 || 7, s = r.add({ days: a }), c = r.subtract({ days: o });
3045
+ let a = (e.weekday - no(r) + 7) % 7 || 7, o = (no(r) - e.weekday + 7) % 7 || 7, s = r.add({ days: a }), c = r.subtract({ days: o });
3043
3046
  return (i === "past" || i === "nearest" && o < a ? c : s).add(t);
3044
3047
  }
3045
3048
  }
3046
3049
  }
3047
- function mo(e, t, n) {
3050
+ function uo(e, t, n) {
3048
3051
  let r = e.trim(), i = /^(\d{4})-(\d{1,2})-(\d{1,2})$/.exec(r);
3049
3052
  if (i) {
3050
3053
  let e = $(Number(i[1]), Number(i[2]), Number(i[3]));
@@ -3070,29 +3073,29 @@ function mo(e, t, n) {
3070
3073
  kind: "yearless",
3071
3074
  resolve: (e) => $(e, o, i)
3072
3075
  };
3073
- let s = $(lo(r.year, t), o, i);
3076
+ let s = $(oo(r.year, t), o, i);
3074
3077
  return s && {
3075
3078
  kind: "date",
3076
3079
  date: s
3077
3080
  };
3078
3081
  }
3079
3082
  let o = r.replace(/(\d)(st|nd|rd|th)\b/g, "$1").replace(/\bof\b/g, " ").replace(/[,/.\-]/g, " ").replace(/\s+/g, " ").trim(), s = (e, n, r) => {
3080
- let i = Number(e), a = Qa[n];
3083
+ let i = Number(e), a = Ya[n];
3081
3084
  if (r === void 0) return {
3082
3085
  kind: "yearless",
3083
3086
  resolve: (e) => $(e, a, i)
3084
3087
  };
3085
- let o = $(lo(r, t), a, i);
3088
+ let o = $(oo(r, t), a, i);
3086
3089
  return o && {
3087
3090
  kind: "date",
3088
3091
  date: o
3089
3092
  };
3090
3093
  }, c;
3091
- if (c = RegExp(`^(\\d{1,2}) ${$a}(?: (\\d{2}|\\d{4}))?$`).exec(o)) return s(c[1], c[2], c[3]);
3092
- if (c = RegExp(`^${$a} (\\d{1,2})(?: (\\d{2}|\\d{4}))?$`).exec(o)) return s(c[2], c[1], c[3]);
3093
- if (c = RegExp(`^(\\d{4}) ${$a} (\\d{1,2})$`).exec(o)) return s(c[3], c[2], c[1]);
3094
- if (c = RegExp(`^${$a}(?: (\\d{4}))?$`).exec(o)) {
3095
- let e = Qa[c[1]];
3094
+ if (c = RegExp(`^(\\d{1,2}) ${Xa}(?: (\\d{2}|\\d{4}))?$`).exec(o)) return s(c[1], c[2], c[3]);
3095
+ if (c = RegExp(`^${Xa} (\\d{1,2})(?: (\\d{2}|\\d{4}))?$`).exec(o)) return s(c[2], c[1], c[3]);
3096
+ if (c = RegExp(`^(\\d{4}) ${Xa} (\\d{1,2})$`).exec(o)) return s(c[3], c[2], c[1]);
3097
+ if (c = RegExp(`^${Xa}(?: (\\d{4}))?$`).exec(o)) {
3098
+ let e = Ya[c[1]];
3096
3099
  if (c[2]) {
3097
3100
  let t = $(Number(c[2]), e, 1);
3098
3101
  return t && {
@@ -3113,22 +3116,22 @@ function mo(e, t, n) {
3113
3116
  } : void 0;
3114
3117
  }
3115
3118
  }
3116
- function ho(e) {
3119
+ function fo(e) {
3117
3120
  return `${e}${e % 100 >= 11 && e % 100 <= 13 ? "th" : {
3118
3121
  1: "st",
3119
3122
  2: "nd",
3120
3123
  3: "rd"
3121
3124
  }[e % 10] ?? "th"}`;
3122
3125
  }
3123
- function go(e) {
3124
- return e.toLowerCase().replace(/['’]/g, "").replace(/,/g, " ").replace(/\.+$/, "").replace(RegExp(`\\b(twenty|thirty)[ -](${io})\\b`, "g"), (e, t, n) => ho((t === "twenty" ? 20 : 30) + ro[n])).replace(RegExp(`\\b(${io})\\b`, "g"), (e) => ho(ro[e])).replace(/\b(?:a )?couple(?: of)?\b/g, "2").replace(/\b(?:a )?few\b/g, "3").replace(/\b(?:at |@ ?)?\d{1,2}(?::\d{2})? ?(?:am|pm)\b/g, " ").replace(/\b(?:at |@ ?)\d{1,2}(?::\d{2})?\b(?![/.\-]\d)/g, " ").replace(/\b\d{1,2}:\d{2}\b/g, " ").replace(/\b(?:at )?(?:noon|midday|midnight)\b/g, " ").replace(/\b(?:tonight|this (?:morning|afternoon|evening)|eod|end of (?:the )?day)\b/g, " today ").replace(/\b(?:in the )?(?:morning|afternoon|evening|(?<!bonfire |fawkes )night)\b/g, " ").replace(/\bthe\b/g, " ").replace(/\s+/g, " ").trim();
3126
+ function po(e) {
3127
+ return e.toLowerCase().replace(/['’]/g, "").replace(/,/g, " ").replace(/\.+$/, "").replace(RegExp(`\\b(twenty|thirty)[ -](${to})\\b`, "g"), (e, t, n) => fo((t === "twenty" ? 20 : 30) + eo[n])).replace(RegExp(`\\b(${to})\\b`, "g"), (e) => fo(eo[e])).replace(/\b(?:a )?couple(?: of)?\b/g, "2").replace(/\b(?:a )?few\b/g, "3").replace(/\b(?:at |@ ?)?\d{1,2}(?::\d{2})? ?(?:am|pm)\b/g, " ").replace(/\b(?:at |@ ?)\d{1,2}(?::\d{2})?\b(?![/.\-]\d)/g, " ").replace(/\b\d{1,2}:\d{2}\b/g, " ").replace(/\b(?:at )?(?:noon|midday|midnight)\b/g, " ").replace(/\b(?:tonight|this (?:morning|afternoon|evening)|eod|end of (?:the )?day)\b/g, " today ").replace(/\b(?:in the )?(?:morning|afternoon|evening|(?<!bonfire |fawkes )night)\b/g, " ").replace(/\bthe\b/g, " ").replace(/\s+/g, " ").trim();
3125
3128
  }
3126
- function _o(e, t) {
3129
+ function mo(e, t) {
3127
3130
  let { today: n, order: r = [
3128
3131
  "day",
3129
3132
  "month",
3130
3133
  "year"
3131
- ], prefer: i = "future" } = t, a = go(e);
3134
+ ], prefer: i = "future" } = t, a = po(e);
3132
3135
  if (!a) return;
3133
3136
  let o = ` ${a} `, s = !1, c = !1, l = [], u = !1, d = {
3134
3137
  days: 0,
@@ -3138,7 +3141,7 @@ function _o(e, t) {
3138
3141
  }, f = {
3139
3142
  year: !1,
3140
3143
  month: !1
3141
- }, p = oo(n);
3144
+ }, p = ro(n);
3142
3145
  function m(e) {
3143
3146
  let t = RegExp(` ${e} `).exec(o);
3144
3147
  return t && (o = o.replace(t[0], " "), s = !0), t;
@@ -3148,18 +3151,18 @@ function _o(e, t) {
3148
3151
  }, g = (e) => e && {
3149
3152
  kind: "date",
3150
3153
  date: e
3151
- }, _ = (e, t = 1) => e.slice(t).find((e) => e !== void 0), v = (e) => e === "fortnight" ? ["weeks", 2] : [`${e}s`, 1], y = (e) => eo[e] ?? Number(e), b = (e) => n.add({ days: (e - ao(n) + 7) % 7 || 7 }), x;
3152
- if (m("eow") && h(g(p.add({ days: 4 }))), m("eom") && h(g(wn(n))), m("eoy") && h(g(new Cn(n.year, 12, 31))), x = m(`(1st|2nd|3rd|4th|5th|last) ${Q} (?:of|in) (?:(this|next|last) month|month|${$a}(?: (\\d{4}))?)`)) {
3153
- let e = x[1] === "last" ? -1 : Number(x[1][0]), t = Za[x[2]];
3154
+ }, _ = (e, t = 1) => e.slice(t).find((e) => e !== void 0), v = (e) => e === "fortnight" ? ["weeks", 2] : [`${e}s`, 1], y = (e) => Za[e] ?? Number(e), b = (e) => n.add({ days: (e - no(n) + 7) % 7 || 7 }), x;
3155
+ if (m("eow") && h(g(p.add({ days: 4 }))), m("eom") && h(g(wn(n))), m("eoy") && h(g(new Cn(n.year, 12, 31))), x = m(`(1st|2nd|3rd|4th|5th|last) ${Q} (?:of|in) (?:(this|next|last) month|month|${Xa}(?: (\\d{4}))?)`)) {
3156
+ let e = x[1] === "last" ? -1 : Number(x[1][0]), t = Ja[x[2]];
3154
3157
  if (x[4]) {
3155
- let n = Qa[x[4]];
3156
- x[5] ? h(g(so(Number(x[5]), n, t, e))) : h({
3158
+ let n = Ya[x[4]];
3159
+ x[5] ? h(g(io(Number(x[5]), n, t, e))) : h({
3157
3160
  kind: "yearless",
3158
- resolve: (r) => so(r, n, t, e)
3161
+ resolve: (r) => io(r, n, t, e)
3159
3162
  });
3160
3163
  } else {
3161
3164
  let r = x[3] === "next" ? 1 : x[3] === "last" ? -1 : 0, i = On(n).add({ months: r });
3162
- h(g(so(i.year, i.month, t, e)));
3165
+ h(g(io(i.year, i.month, t, e)));
3163
3166
  }
3164
3167
  }
3165
3168
  if (x = m("(start|beginning|middle|mid|end) (?:of )?(?:(this|next|last) )?(week|month|year)")) {
@@ -3173,8 +3176,8 @@ function _o(e, t) {
3173
3176
  h(g(t === "start" ? new Cn(r, 1, 1) : t === "mid" ? new Cn(r, 7, 1) : new Cn(r, 12, 31)));
3174
3177
  }
3175
3178
  }
3176
- if (x = m(`(start|beginning|early|middle|mid|late|end) (?:of )?${$a}(?: (\\d{4}))?`)) {
3177
- let e = x[1], t = Qa[x[2]], n = (n) => [
3179
+ if (x = m(`(start|beginning|early|middle|mid|late|end) (?:of )?${Xa}(?: (\\d{4}))?`)) {
3180
+ let e = x[1], t = Ya[x[2]], n = (n) => [
3178
3181
  "start",
3179
3182
  "beginning",
3180
3183
  "early"
@@ -3191,38 +3194,38 @@ function _o(e, t) {
3191
3194
  kind: "weekday",
3192
3195
  weekday: 6
3193
3196
  });
3194
- for (let [e, t] of uo) m(e) && h({
3197
+ for (let [e, t] of so) m(e) && h({
3195
3198
  kind: "yearless",
3196
3199
  resolve: t
3197
3200
  });
3198
- if ((x = m(`${Q} after next`)) && h(g(b(Za[x[1]]).add({ weeks: 1 }))), (x = m(`${Q} (week|fortnight)`)) && h(g(b(Za[x[1]]).add({ weeks: x[2] === "fortnight" ? 2 : 1 }))), x = m(`${to} ${no} on ${Q}`)) {
3201
+ if ((x = m(`${Q} after next`)) && h(g(b(Ja[x[1]]).add({ weeks: 1 }))), (x = m(`${Q} (week|fortnight)`)) && h(g(b(Ja[x[1]]).add({ weeks: x[2] === "fortnight" ? 2 : 1 }))), x = m(`${Qa} ${$a} on ${Q}`)) {
3199
3202
  let [e, t] = v(x[2]);
3200
- h(g(b(Za[x[3]]).add({ [e]: y(x[1]) * t })));
3203
+ h(g(b(Ja[x[3]]).add({ [e]: y(x[1]) * t })));
3201
3204
  }
3202
- if (x = m(`${to} ${no} (today|tomorrow|tmrw|tmr)`)) {
3205
+ if (x = m(`${Qa} ${$a} (today|tomorrow|tmrw|tmr)`)) {
3203
3206
  let [e, t] = v(x[2]);
3204
3207
  h(g((x[3] === "today" ? n : n.add({ days: 1 })).add({ [e]: y(x[1]) * t })));
3205
3208
  }
3206
3209
  for ((x = m(`(?:next week ${Q}|${Q} next week|next ${Q})`)) && h(g(p.add({
3207
3210
  weeks: 1,
3208
- days: Za[_(x)] - 1
3209
- }))), (x = m(`(?:last week ${Q}|${Q} last week)`)) && h(g(p.subtract({ weeks: 1 }).add({ days: Za[_(x)] - 1 }))), (x = m(`(?:this week ${Q}|${Q} this week|this ${Q})`)) && h(g(p.add({ days: Za[_(x)] - 1 }))), (x = m(`last ${Q}`)) && h(g(n.subtract({ days: (ao(n) - Za[x[1]] + 7) % 7 || 7 }))), m("day after (?:tomorrow|tmrw|tmr)") && h(g(n.add({ days: 2 }))), m("day before yesterday") && h(g(n.subtract({ days: 2 }))), m("(?:tomorrow|tmrw|tmr|tmw|tomoz)") && h(g(n.add({ days: 1 }))), m("(?:yesterday|yday|yest)") && h(g(n.subtract({ days: 1 }))), m("(?:today|now|tdy)") && h(g(n)), (x = m(`(?:on )?${Q}`)) && h({
3211
+ days: Ja[_(x)] - 1
3212
+ }))), (x = m(`(?:last week ${Q}|${Q} last week)`)) && h(g(p.subtract({ weeks: 1 }).add({ days: Ja[_(x)] - 1 }))), (x = m(`(?:this week ${Q}|${Q} this week|this ${Q})`)) && h(g(p.add({ days: Ja[_(x)] - 1 }))), (x = m(`last ${Q}`)) && h(g(n.subtract({ days: (no(n) - Ja[x[1]] + 7) % 7 || 7 }))), m("day after (?:tomorrow|tmrw|tmr)") && h(g(n.add({ days: 2 }))), m("day before yesterday") && h(g(n.subtract({ days: 2 }))), m("(?:tomorrow|tmrw|tmr|tmw|tomoz)") && h(g(n.add({ days: 1 }))), m("(?:yesterday|yday|yest)") && h(g(n.subtract({ days: 1 }))), m("(?:today|now|tdy)") && h(g(n)), (x = m(`(?:on )?${Q}`)) && h({
3210
3213
  kind: "weekday",
3211
- weekday: Za[x[1]]
3212
- }, !0), m("this year") && (f.year = !0), m("this month") && (f.month = !0); x = m(`(next|last) ${no}`);) {
3214
+ weekday: Ja[x[1]]
3215
+ }, !0), m("this year") && (f.year = !0), m("this month") && (f.month = !0); x = m(`(next|last) ${$a}`);) {
3213
3216
  let [e, t] = v(x[2]);
3214
3217
  d[e] += (x[1] === "next" ? 1 : -1) * t;
3215
3218
  }
3216
3219
  let S = !1;
3217
- for (; x = m(`in ${to} ${no}`);) {
3220
+ for (; x = m(`in ${Qa} ${$a}`);) {
3218
3221
  let [e, t] = v(x[2]);
3219
3222
  d[e] += y(x[1]) * t, S = !0;
3220
3223
  }
3221
- for (; S && (x = m(`(?:and )?${to} ${no}(?! (?:ago|before|earlier|from|after|later))`));) {
3224
+ for (; S && (x = m(`(?:and )?${Qa} ${$a}(?! (?:ago|before|earlier|from|after|later))`));) {
3222
3225
  let [e, t] = v(x[2]);
3223
3226
  d[e] += y(x[1]) * t;
3224
3227
  }
3225
- for (; x = m(`${to} ${no} (ago|before|earlier|from|after|later)`);) {
3228
+ for (; x = m(`${Qa} ${$a} (ago|before|earlier|from|after|later)`);) {
3226
3229
  let [e, t] = v(x[2]), n = [
3227
3230
  "ago",
3228
3231
  "before",
@@ -3233,24 +3236,24 @@ function _o(e, t) {
3233
3236
  for (; m("(?:on|of|at|by|for)"););
3234
3237
  let C = o.trim();
3235
3238
  if (s && /^\d{4}$/.test(C) && (f.yearValue = Number(C), C = ""), C) {
3236
- let e = mo(C, n, r);
3239
+ let e = uo(C, n, r);
3237
3240
  if (!e) return;
3238
3241
  l.length === 1 && u && l.pop(), l.push(e);
3239
3242
  } else if (!s) return;
3240
- if (!(c || l.length > 1)) return po(l[0], d, f, n, i);
3243
+ if (!(c || l.length > 1)) return lo(l[0], d, f, n, i);
3241
3244
  }
3242
3245
  // src/components/InputDate/InputDate.vue?vue&type=script&setup=true&lang.ts
3243
- var vo = [
3246
+ var ho = [
3244
3247
  "id",
3245
3248
  "placeholder",
3246
3249
  "disabled",
3247
3250
  "aria-invalid",
3248
3251
  "aria-describedby"
3249
- ], yo = {
3252
+ ], go = {
3250
3253
  key: 0,
3251
3254
  "aria-hidden": "true",
3252
3255
  class: "shrink-0 tabular-nums text-black/55"
3253
- }, bo = /* @__PURE__ */ f({
3256
+ }, _o = /* @__PURE__ */ f({
3254
3257
  inheritAttrs: !1,
3255
3258
  __name: "InputDate",
3256
3259
  props: /*@__PURE__*/ g({
@@ -3309,7 +3312,7 @@ var vo = [
3309
3312
  return g.value.format(new Date(e.year, e.month - 1, e.day));
3310
3313
  }
3311
3314
  function D(e) {
3312
- return _o(e, {
3315
+ return mo(e, {
3313
3316
  today: An(Tn()),
3314
3317
  order: b.value,
3315
3318
  prefer: n.prefer
@@ -3354,7 +3357,7 @@ var vo = [
3354
3357
  "data-[state=open]:brightness-90 disabled:cursor-not-allowed",
3355
3358
  "outline-2 -outline-offset-2 outline-transparent focus-visible:outline-focus"
3356
3359
  ];
3357
- return (i, l) => (w(), a(Ia, {
3360
+ return (i, l) => (w(), a(Na, {
3358
3361
  label: e.label,
3359
3362
  helper: e.helper,
3360
3363
  "helper-placement": e.helperPlacement,
@@ -3385,8 +3388,8 @@ var vo = [
3385
3388
  onInput: P,
3386
3389
  onBlur: I,
3387
3390
  onKeydown: U(L, ["enter"])
3388
- }), null, 16, vo), [[R, O.value]]),
3389
- k.value ? (w(), s("span", yo, j(k.value), 1)) : o("", !0),
3391
+ }), null, 16, ho), [[R, O.value]]),
3392
+ k.value ? (w(), s("span", go, j(k.value), 1)) : o("", !0),
3390
3393
  d(M(gt), {
3391
3394
  "aria-label": M(t)("ui.inputDate.openCalendar"),
3392
3395
  class: y(J)
@@ -3399,7 +3402,7 @@ var vo = [
3399
3402
  align: "end",
3400
3403
  class: y([M(Qn), "p-3"])
3401
3404
  }, {
3402
- default: V(() => [d(Xa, {
3405
+ default: V(() => [d(qa, {
3403
3406
  "model-value": r.value,
3404
3407
  min: e.min,
3405
3408
  max: e.max,
@@ -3429,7 +3432,7 @@ var vo = [
3429
3432
  "class"
3430
3433
  ]));
3431
3434
  }
3432
- }), xo = /* @__PURE__ */ f({
3435
+ }), vo = /* @__PURE__ */ f({
3433
3436
  __name: "Tooltip",
3434
3437
  props: {
3435
3438
  text: {},
@@ -3480,7 +3483,7 @@ var vo = [
3480
3483
  _: 3
3481
3484
  }));
3482
3485
  }
3483
- }), So = { class: "-mx-3 -my-2 flex min-w-0 flex-1 flex-col self-stretch" }, Co = ["aria-label", "aria-controls"], wo = /* @__PURE__ */ f({
3486
+ }), yo = { class: "-mx-3 -my-2 flex min-w-0 flex-1 flex-col self-stretch" }, bo = ["aria-label", "aria-controls"], xo = /* @__PURE__ */ f({
3484
3487
  __name: "InputRichText",
3485
3488
  props: /*@__PURE__*/ g({
3486
3489
  label: {},
@@ -3587,7 +3590,7 @@ var vo = [
3587
3590
  toggle: () => l.value?.chain().focus().toggleUnderline().run()
3588
3591
  }
3589
3592
  ], v = "min-h-24 max-h-80 overflow-y-auto px-3 py-2 text-sm pointer-coarse:text-base outline-none cursor-text [&_p+p]:mt-2 [&_p.is-editor-empty:first-child]:before:pointer-events-none [&_p.is-editor-empty:first-child]:before:float-left [&_p.is-editor-empty:first-child]:before:h-0 [&_p.is-editor-empty:first-child]:before:text-black/55 [&_p.is-editor-empty:first-child]:before:content-[attr(data-placeholder)]";
3590
- return (i, o) => (w(), a(Ia, {
3593
+ return (i, o) => (w(), a(Na, {
3591
3594
  label: e.label,
3592
3595
  helper: e.helper,
3593
3596
  "helper-placement": e.helperPlacement,
@@ -3598,14 +3601,14 @@ var vo = [
3598
3601
  disabled: e.disabled,
3599
3602
  class: y(r.class)
3600
3603
  }, {
3601
- default: V((r) => [c("div", So, [
3604
+ default: V((r) => [c("div", yo, [
3602
3605
  c("div", {
3603
3606
  role: "toolbar",
3604
3607
  "aria-label": M(t)("ui.inputRichText.formattingFor", { label: e.label }),
3605
3608
  "aria-controls": r.id,
3606
3609
  class: "flex items-center gap-0.5 border-b border-black/15 px-1.5 py-1 [&_svg]:opacity-100!",
3607
3610
  onMousedown: o[0] ||= ee(() => {}, ["prevent"])
3608
- }, [(w(), s(n, null, D(_, (t) => d(xo, {
3611
+ }, [(w(), s(n, null, D(_, (t) => d(vo, {
3609
3612
  key: t.name,
3610
3613
  text: `${t.label} (${M(g)}${t.key})`,
3611
3614
  disabled: e.disabled
@@ -3631,7 +3634,7 @@ var vo = [
3631
3634
  "onClick"
3632
3635
  ])]),
3633
3636
  _: 2
3634
- }, 1032, ["text", "disabled"])), 64))], 40, Co),
3637
+ }, 1032, ["text", "disabled"])), 64))], 40, bo),
3635
3638
  d(M(m), { ids: r }, null, 8, ["ids"]),
3636
3639
  d(M(jn), {
3637
3640
  editor: M(l),
@@ -3651,18 +3654,18 @@ var vo = [
3651
3654
  "class"
3652
3655
  ]));
3653
3656
  }
3654
- }), To = [
3657
+ }), So = [
3655
3658
  "id",
3656
3659
  "type",
3657
3660
  "autocomplete",
3658
3661
  "disabled",
3659
3662
  "aria-invalid",
3660
3663
  "aria-describedby"
3661
- ], Eo = [
3664
+ ], Co = [
3662
3665
  "aria-controls",
3663
3666
  "aria-pressed",
3664
3667
  "disabled"
3665
- ], Do = { class: "sr-only" }, Oo = /* @__PURE__ */ f({
3668
+ ], wo = { class: "sr-only" }, To = /* @__PURE__ */ f({
3666
3669
  inheritAttrs: !1,
3667
3670
  __name: "InputPassword",
3668
3671
  props: /*@__PURE__*/ g({
@@ -3701,7 +3704,7 @@ var vo = [
3701
3704
  "not-disabled:hover:brightness-90 not-disabled:active:brightness-80 [&_svg]:opacity-100!",
3702
3705
  "outline-none focus-visible:bg-black/5 disabled:cursor-not-allowed"
3703
3706
  ];
3704
- return (i, o) => (w(), a(Ia, {
3707
+ return (i, o) => (w(), a(Na, {
3705
3708
  label: e.label,
3706
3709
  helper: e.helper,
3707
3710
  "helper-placement": e.helperPlacement,
@@ -3730,7 +3733,7 @@ var vo = [
3730
3733
  onKeydown: h,
3731
3734
  onKeyup: h,
3732
3735
  onBlur: o[1] ||= (e) => m.value = !1
3733
- }), null, 16, To), [[L, r.value]]), c("button", {
3736
+ }), null, 16, So), [[L, r.value]]), c("button", {
3734
3737
  type: "button",
3735
3738
  class: y(v),
3736
3739
  "aria-controls": n,
@@ -3738,13 +3741,13 @@ var vo = [
3738
3741
  disabled: e.disabled,
3739
3742
  onPointerdown: o[2] ||= ee(() => {}, ["prevent"]),
3740
3743
  onClick: o[3] ||= (e) => d.value = !d.value
3741
- }, [c("span", Do, j(M(t)("ui.inputPassword.show")), 1), d.value ? (w(), a(M(Ce), {
3744
+ }, [c("span", wo, j(M(t)("ui.inputPassword.show")), 1), d.value ? (w(), a(M(Ce), {
3742
3745
  key: 0,
3743
3746
  "aria-hidden": "true"
3744
3747
  })) : (w(), a(M(Se), {
3745
3748
  key: 1,
3746
3749
  "aria-hidden": "true"
3747
- }))], 40, Eo)]),
3750
+ }))], 40, Co)]),
3748
3751
  _: 2
3749
3752
  }, [i.$slots.leading ? {
3750
3753
  name: "leading",
@@ -3766,7 +3769,7 @@ var vo = [
3766
3769
  "class"
3767
3770
  ]));
3768
3771
  }
3769
- }), ko = { class: "flex flex-col gap-0.5" }, Ao = { class: "flex items-center gap-1" }, jo = ["for"], Mo = ["hidden"], No = /* @__PURE__ */ f({
3772
+ }), Eo = { class: "flex flex-col gap-0.5" }, Do = { class: "flex items-center gap-1" }, Oo = ["for"], ko = ["hidden"], Ao = /* @__PURE__ */ f({
3770
3773
  __name: "InputCode",
3771
3774
  props: /*@__PURE__*/ g({
3772
3775
  label: {},
@@ -3809,11 +3812,11 @@ var vo = [
3809
3812
  loading: ""
3810
3813
  };
3811
3814
  return (t, i) => (w(), s("div", { class: y(M(X)("flex flex-col gap-1.5 text-black", l.class)) }, [
3812
- c("div", ko, [c("div", Ao, [c("label", {
3815
+ c("div", Eo, [c("div", Do, [c("label", {
3813
3816
  id: m,
3814
3817
  for: `${M(p)}-0`,
3815
3818
  class: "text-sm"
3816
- }, j(e.label), 9, jo), e.helper && e.helperPlacement === "icon" ? (w(), a(Oa, {
3819
+ }, j(e.label), 9, Oo), e.helper && e.helperPlacement === "icon" ? (w(), a(Ta, {
3817
3820
  key: 0,
3818
3821
  text: e.helper,
3819
3822
  label: M(r)("ui.formField.about", { label: e.label })
@@ -3822,7 +3825,7 @@ var vo = [
3822
3825
  id: h,
3823
3826
  hidden: e.helperPlacement === "icon",
3824
3827
  class: "text-xs text-black/65"
3825
- }, j(e.helper), 9, Mo)) : o("", !0)]),
3828
+ }, j(e.helper), 9, ko)) : o("", !0)]),
3826
3829
  d(M(Ft), {
3827
3830
  "model-value": x.value,
3828
3831
  type: e.alphanumeric ? "text" : "number",
@@ -3865,32 +3868,32 @@ var vo = [
3865
3868
  "disabled",
3866
3869
  "class"
3867
3870
  ]),
3868
- d(ja, {
3871
+ d(Oa, {
3869
3872
  id: g,
3870
3873
  status: _.value,
3871
3874
  text: v.value
3872
3875
  }, null, 8, ["status", "text"])
3873
3876
  ], 2));
3874
3877
  }
3875
- }), Po = {
3878
+ }), jo = {
3876
3879
  key: 0,
3877
3880
  class: "flex min-w-0 flex-1 flex-wrap gap-1"
3878
- }, Fo = {
3881
+ }, Mo = {
3879
3882
  key: 1,
3880
3883
  class: "h-5 min-w-0 flex-1 truncate"
3881
- }, Io = { class: "flex h-5 shrink-0 items-center" }, Lo = { class: "min-w-0 flex-1 truncate" }, Ro = { class: "truncate" }, zo = {
3884
+ }, No = { class: "flex h-5 shrink-0 items-center" }, Po = { class: "min-w-0 flex-1 truncate" }, Fo = { class: "truncate" }, Io = {
3882
3885
  key: 0,
3883
3886
  class: "flex h-5 shrink-0 items-center"
3884
- }, Bo = { class: "flex min-w-0 flex-1 flex-col" }, Vo = {
3887
+ }, Lo = { class: "flex min-w-0 flex-1 flex-col" }, Ro = {
3885
3888
  key: 0,
3886
3889
  class: "sr-only"
3887
- }, Ho = {
3890
+ }, zo = {
3888
3891
  key: 0,
3889
3892
  class: "text-xs text-black/65"
3890
- }, Uo = {
3893
+ }, Bo = {
3891
3894
  key: 1,
3892
3895
  class: "text-xs text-black/65"
3893
- }, Wo = { class: "flex h-5 w-4 shrink-0 items-center justify-center" }, Go = "-mx-3 -my-2 flex min-w-0 flex-1 items-center gap-2 self-stretch px-3 py-2", Ko = "transition-transform duration-150 in-data-[state=open]:rotate-180 motion-reduce:transition-none", qo = /* @__PURE__ */ f({
3896
+ }, Vo = { class: "flex h-5 w-4 shrink-0 items-center justify-center" }, Ho = "-mx-3 -my-2 flex min-w-0 flex-1 items-center gap-2 self-stretch px-3 py-2", Uo = "transition-transform duration-150 in-data-[state=open]:rotate-180 motion-reduce:transition-none", Wo = /* @__PURE__ */ f({
3894
3897
  __name: "Select",
3895
3898
  props: /*@__PURE__*/ g({
3896
3899
  label: {},
@@ -4047,7 +4050,7 @@ var vo = [
4047
4050
  e.option.description,
4048
4051
  e.path
4049
4052
  ].filter(Boolean).join(" ") : e.option.label;
4050
- return (i, f) => (w(), a(Ia, {
4053
+ return (i, f) => (w(), a(Na, {
4051
4054
  label: e.label,
4052
4055
  helper: e.helper,
4053
4056
  "helper-placement": e.helperPlacement,
@@ -4074,7 +4077,7 @@ var vo = [
4074
4077
  }), {
4075
4078
  default: V(() => [e.searchable ? (w(), a(M(tt), {
4076
4079
  key: 0,
4077
- class: y(Go),
4080
+ class: y(Ho),
4078
4081
  onPointerdown: f[4] ||= (e) => re.value = !0,
4079
4082
  onClick: f[5] ||= (t) => !e.disabled && !t.target.closest("button") && J(!0)
4080
4083
  }, {
@@ -4083,7 +4086,7 @@ var vo = [
4083
4086
  key: 0,
4084
4087
  "aria-hidden": "true"
4085
4088
  })) : o("", !0)]),
4086
- c("span", { class: y(e.multiple ? "flex min-w-0 flex-1 flex-wrap items-center gap-1" : "contents") }, [(w(!0), s(n, null, D(R.value, (n) => (w(), a(ga, {
4089
+ c("span", { class: y(e.multiple ? "flex min-w-0 flex-1 flex-wrap items-center gap-1" : "contents") }, [(w(!0), s(n, null, D(R.value, (n) => (w(), a(pa, {
4087
4090
  key: String(n.value),
4088
4091
  size: "sm",
4089
4092
  removable: "",
@@ -4136,7 +4139,7 @@ var vo = [
4136
4139
  }, {
4137
4140
  default: V(() => [d(M(fe), {
4138
4141
  "aria-hidden": "true",
4139
- class: y(Ko)
4142
+ class: y(Uo)
4140
4143
  })]),
4141
4144
  _: 1
4142
4145
  }, 8, ["aria-label"])
@@ -4149,14 +4152,14 @@ var vo = [
4149
4152
  "aria-describedby": p,
4150
4153
  "data-pointer-focus": re.value || void 0,
4151
4154
  onBlur: f[6] ||= (e) => re.value = !1,
4152
- class: y(M(X)(Go, "cursor-pointer text-left outline-none disabled:cursor-not-allowed data-placeholder:text-black/55"))
4155
+ class: y(M(X)(Ho, "cursor-pointer text-left outline-none disabled:cursor-not-allowed data-placeholder:text-black/55"))
4153
4156
  }, {
4154
4157
  default: V(() => [
4155
4158
  O(i.$slots, "leading", {}, () => [L.value?.icon ? (w(), a(k(L.value.icon), {
4156
4159
  key: 0,
4157
4160
  "aria-hidden": "true"
4158
4161
  })) : o("", !0)]),
4159
- e.multiple && R.value.length ? (w(), s("span", Po, [(w(!0), s(n, null, D(R.value, (e) => (w(), a(ga, {
4162
+ e.multiple && R.value.length ? (w(), s("span", jo, [(w(!0), s(n, null, D(R.value, (e) => (w(), a(pa, {
4160
4163
  key: String(e.value),
4161
4164
  size: "sm"
4162
4165
  }, l({
@@ -4166,10 +4169,10 @@ var vo = [
4166
4169
  name: "leading",
4167
4170
  fn: V(() => [(w(), a(k(e.icon), { "aria-hidden": "true" }))]),
4168
4171
  key: "0"
4169
- } : void 0]), 1024))), 128))])) : (w(), s("span", Fo, j(L.value?.label ?? g.value), 1)),
4172
+ } : void 0]), 1024))), 128))])) : (w(), s("span", Mo, j(L.value?.label ?? g.value), 1)),
4170
4173
  d(M(fe), {
4171
4174
  "aria-hidden": "true",
4172
- class: y(Ko)
4175
+ class: y(Uo)
4173
4176
  })
4174
4177
  ]),
4175
4178
  _: 3
@@ -4204,10 +4207,10 @@ var vo = [
4204
4207
  class: y(M(X)(Ce, "font-bold")),
4205
4208
  onSelect: be
4206
4209
  }, {
4207
- default: V(() => [c("span", Io, [d(M(pe), {
4210
+ default: V(() => [c("span", No, [d(M(pe), {
4208
4211
  "aria-hidden": "true",
4209
4212
  class: "size-4"
4210
- })]), c("span", Lo, [f[9] ||= c("span", { class: "sr-only" }, "Back from ", -1), u(j(G.value.label), 1)])]),
4213
+ })]), c("span", Po, [f[9] ||= c("span", { class: "sr-only" }, "Back from ", -1), u(j(G.value.label), 1)])]),
4211
4214
  _: 1
4212
4215
  }, 40, ["text-value", "class"])), (w(), a(k(Y.value.Separator), { class: "-mx-1 my-0.5 border-t border-black/15" }))], 64)) : o("", !0),
4213
4216
  (w(!0), s(n, null, D(le.value, (e, t) => (w(), s(n, { key: t }, [t > 0 && !oe.value ? (w(), a(k(Y.value.Separator), {
@@ -4222,7 +4225,7 @@ var vo = [
4222
4225
  key: 0,
4223
4226
  "aria-hidden": "true",
4224
4227
  class: "size-3.5 shrink-0"
4225
- })) : o("", !0), c("span", Ro, j(e.label), 1)]),
4228
+ })) : o("", !0), c("span", Fo, j(e.label), 1)]),
4226
4229
  _: 2
4227
4230
  }, 1024)) : o("", !0), (w(!0), s(n, null, D(e.rows, (e) => (w(), a(k(Y.value.Item), {
4228
4231
  key: e.key,
@@ -4234,19 +4237,19 @@ var vo = [
4234
4237
  onSelect: (t) => e.parent && ye(t, e.option)
4235
4238
  }, {
4236
4239
  default: V(() => [
4237
- e.option.icon ? (w(), s("span", zo, [(w(), a(k(e.option.icon), {
4240
+ e.option.icon ? (w(), s("span", Io, [(w(), a(k(e.option.icon), {
4238
4241
  "aria-hidden": "true",
4239
4242
  class: "size-4 opacity-70"
4240
4243
  }))])) : o("", !0),
4241
- c("span", Bo, [
4244
+ c("span", Lo, [
4242
4245
  (w(), a(k(Y.value.ItemText), { class: "truncate in-data-[state=checked]:font-bold" }, {
4243
- default: V(() => [u(j(e.option.label), 1), e.parent ? (w(), s("span", Vo, ", more options")) : o("", !0)]),
4246
+ default: V(() => [u(j(e.option.label), 1), e.parent ? (w(), s("span", Ro, ", more options")) : o("", !0)]),
4244
4247
  _: 2
4245
4248
  }, 1024)),
4246
- e.path ? (w(), s("span", Ho, j(e.path), 1)) : o("", !0),
4247
- e.option.description ? (w(), s("span", Uo, j(e.option.description), 1)) : o("", !0)
4249
+ e.path ? (w(), s("span", zo, j(e.path), 1)) : o("", !0),
4250
+ e.option.description ? (w(), s("span", Bo, j(e.option.description), 1)) : o("", !0)
4248
4251
  ]),
4249
- c("span", Wo, [e.parent ? (w(), a(M(me), {
4252
+ c("span", Vo, [e.parent ? (w(), a(M(me), {
4250
4253
  key: 0,
4251
4254
  "aria-hidden": "true",
4252
4255
  class: "size-4 opacity-70"
@@ -4294,7 +4297,7 @@ var vo = [
4294
4297
  "class"
4295
4298
  ]));
4296
4299
  }
4297
- }), Jo = { class: "flex items-start gap-2" }, Yo = /* @__PURE__ */ f({
4300
+ }), Go = { class: "flex items-start gap-2" }, Ko = /* @__PURE__ */ f({
4298
4301
  __name: "Checkbox",
4299
4302
  props: /*@__PURE__*/ g({
4300
4303
  label: {},
@@ -4333,7 +4336,7 @@ var vo = [
4333
4336
  "outline-2 outline-offset-2 outline-transparent focus-visible:outline-focus",
4334
4337
  "[&_svg]:size-3.5 [&_svg]:stroke-3"
4335
4338
  ];
4336
- return (r, i) => (w(), s("div", { class: y(M(X)("flex flex-col gap-1.5 text-black", e.disabled && "opacity-40", t.class)) }, [c("div", Jo, [d(M(et), {
4339
+ return (r, i) => (w(), s("div", { class: y(M(X)("flex flex-col gap-1.5 text-black", e.disabled && "opacity-40", t.class)) }, [c("div", Go, [d(M(et), {
4337
4340
  id: l,
4338
4341
  modelValue: n.value,
4339
4342
  "onUpdate:modelValue": i[0] ||= (e) => n.value = e,
@@ -4375,13 +4378,13 @@ var vo = [
4375
4378
  key: 0,
4376
4379
  id: u,
4377
4380
  class: "text-xs text-black/65"
4378
- }, j(e.description), 1)) : o("", !0)], 2)]), d(ja, {
4381
+ }, j(e.description), 1)) : o("", !0)], 2)]), d(Oa, {
4379
4382
  id: f,
4380
4383
  status: e.errorText ? "error" : void 0,
4381
4384
  text: e.errorText
4382
4385
  }, null, 8, ["status", "text"])], 2));
4383
4386
  }
4384
- }), Xo = { class: "flex flex-col gap-0.5" }, Zo = { class: "flex items-center gap-1" }, Qo = ["hidden"], $o = ["onClick"], es = ["for"], ts = ["id"], ns = /* @__PURE__ */ f({
4387
+ }), qo = { class: "flex flex-col gap-0.5" }, Jo = { class: "flex items-center gap-1" }, Yo = ["hidden"], Xo = ["onClick"], Zo = ["for"], Qo = ["id"], $o = /* @__PURE__ */ f({
4385
4388
  __name: "RadioGroup",
4386
4389
  props: /*@__PURE__*/ g({
4387
4390
  label: {},
@@ -4416,10 +4419,10 @@ var vo = [
4416
4419
  "outline-2 outline-offset-2 outline-transparent focus-visible:outline-focus"
4417
4420
  ];
4418
4421
  return (i, v) => (w(), s("div", { class: y(M(X)("flex flex-col gap-1.5 text-black", e.disabled && "opacity-40", r.class)) }, [
4419
- c("div", Xo, [c("div", Zo, [c("span", {
4422
+ c("div", qo, [c("div", Jo, [c("span", {
4420
4423
  id: f,
4421
4424
  class: "text-sm"
4422
- }, j(e.label), 1), e.helper && e.helperPlacement === "icon" ? (w(), a(Oa, {
4425
+ }, j(e.label), 1), e.helper && e.helperPlacement === "icon" ? (w(), a(Ta, {
4423
4426
  key: 0,
4424
4427
  text: e.helper,
4425
4428
  label: M(t)("ui.formField.about", { label: e.label })
@@ -4428,7 +4431,7 @@ var vo = [
4428
4431
  id: p,
4429
4432
  hidden: e.helperPlacement === "icon",
4430
4433
  class: "text-xs text-black/65"
4431
- }, j(e.helper), 9, Qo)) : o("", !0)]),
4434
+ }, j(e.helper), 9, Yo)) : o("", !0)]),
4432
4435
  d(M(qt), {
4433
4436
  modelValue: l.value,
4434
4437
  "onUpdate:modelValue": v[0] ||= (e) => l.value = e,
@@ -4464,11 +4467,11 @@ var vo = [
4464
4467
  }, [c("label", {
4465
4468
  for: `${M(u)}-${n}`,
4466
4469
  class: y(M(X)("text-sm", e.disabled || t.disabled ? "cursor-not-allowed" : "cursor-pointer"))
4467
- }, j(t.label), 11, es), t.description ? (w(), s("p", {
4470
+ }, j(t.label), 11, Zo), t.description ? (w(), s("p", {
4468
4471
  key: 0,
4469
4472
  id: `${M(u)}-${n}-description`,
4470
4473
  class: "text-xs text-black/65"
4471
- }, j(t.description), 9, ts)) : o("", !0)], 10, $o)]))), 128))]),
4474
+ }, j(t.description), 9, Qo)) : o("", !0)], 10, Xo)]))), 128))]),
4472
4475
  _: 1
4473
4476
  }, 8, [
4474
4477
  "modelValue",
@@ -4478,14 +4481,14 @@ var vo = [
4478
4481
  "aria-describedby",
4479
4482
  "aria-invalid"
4480
4483
  ]),
4481
- d(ja, {
4484
+ d(Oa, {
4482
4485
  id: m,
4483
4486
  status: e.errorText ? "error" : void 0,
4484
4487
  text: e.errorText
4485
4488
  }, null, 8, ["status", "text"])
4486
4489
  ], 2));
4487
4490
  }
4488
- }), rs = { class: "flex items-start gap-2" }, is = "size-4 rounded-full bg-white shadow-sm transition-transform data-[state=checked]:translate-x-4 motion-reduce:transition-none", as = /* @__PURE__ */ f({
4491
+ }), es = { class: "flex items-start gap-2" }, ts = "size-4 rounded-full bg-white shadow-sm transition-transform data-[state=checked]:translate-x-4 motion-reduce:transition-none", ns = /* @__PURE__ */ f({
4489
4492
  __name: "Switch",
4490
4493
  props: /*@__PURE__*/ g({
4491
4494
  label: {},
@@ -4522,7 +4525,7 @@ var vo = [
4522
4525
  "disabled:cursor-not-allowed",
4523
4526
  "outline-2 outline-offset-2 outline-transparent focus-visible:outline-focus"
4524
4527
  ];
4525
- return (r, i) => (w(), s("div", { class: y(M(X)("flex flex-col gap-1.5 text-black", e.disabled && "opacity-40", t.class)) }, [c("div", rs, [d(M(sn), {
4528
+ return (r, i) => (w(), s("div", { class: y(M(X)("flex flex-col gap-1.5 text-black", e.disabled && "opacity-40", t.class)) }, [c("div", es, [d(M(sn), {
4526
4529
  id: a,
4527
4530
  modelValue: n.value,
4528
4531
  "onUpdate:modelValue": i[0] ||= (e) => n.value = e,
@@ -4532,7 +4535,7 @@ var vo = [
4532
4535
  "aria-describedby": m.value,
4533
4536
  class: y(g)
4534
4537
  }, {
4535
- default: V(() => [d(M(cn), { class: y(is) })]),
4538
+ default: V(() => [d(M(cn), { class: y(ts) })]),
4536
4539
  _: 1
4537
4540
  }, 8, [
4538
4541
  "modelValue",
@@ -4550,19 +4553,19 @@ var vo = [
4550
4553
  key: 0,
4551
4554
  id: l,
4552
4555
  class: "text-xs text-black/65"
4553
- }, j(e.description), 1)) : o("", !0)], 2)]), d(ja, {
4556
+ }, j(e.description), 1)) : o("", !0)], 2)]), d(Oa, {
4554
4557
  id: u,
4555
4558
  status: f.value,
4556
4559
  text: p.value
4557
4560
  }, null, 8, ["status", "text"])], 2));
4558
4561
  }
4559
- }), os = [
4562
+ }), rs = [
4560
4563
  "id",
4561
4564
  "placeholder",
4562
4565
  "disabled",
4563
4566
  "aria-invalid",
4564
4567
  "aria-describedby"
4565
- ], ss = /* @__PURE__ */ f({
4568
+ ], is = /* @__PURE__ */ f({
4566
4569
  inheritAttrs: !1,
4567
4570
  __name: "InputTextArea",
4568
4571
  props: /*@__PURE__*/ g({
@@ -4590,7 +4593,7 @@ var vo = [
4590
4593
  emits: ["update:modelValue"],
4591
4594
  setup(e, { expose: t }) {
4592
4595
  let n = e, { t: r } = K(), o = F(e, "modelValue"), s = i(() => n.maxLength !== void 0 && o.value.length > n.maxLength ? r("ui.input.maxLength", { count: n.maxLength }) : void 0), l = i(() => n.status ?? (s.value ? "error" : void 0)), u = i(() => n.statusText ?? s.value), d = E();
4593
- return t({ focus: () => d.value?.focus() }), (t, r) => (w(), a(Ia, {
4596
+ return t({ focus: () => d.value?.focus() }), (t, r) => (w(), a(Na, {
4594
4597
  label: e.label,
4595
4598
  helper: e.helper,
4596
4599
  "helper-placement": e.helperPlacement,
@@ -4612,7 +4615,7 @@ var vo = [
4612
4615
  "aria-invalid": a,
4613
4616
  "aria-describedby": i,
4614
4617
  class: "field-sizing-content -my-0.5 max-h-80 min-h-24 min-w-0 flex-1 resize-none bg-transparent text-sm leading-5 outline-none placeholder:text-black/55 disabled:cursor-not-allowed pointer-coarse:text-base"
4615
- }), null, 16, os), [[R, o.value]])]),
4618
+ }), null, 16, rs), [[R, o.value]])]),
4616
4619
  _: 1
4617
4620
  }, 8, [
4618
4621
  "label",
@@ -4626,7 +4629,7 @@ var vo = [
4626
4629
  "class"
4627
4630
  ]));
4628
4631
  }
4629
- }), cs = { class: "flex items-center gap-1" }, ls = ["hidden"], us = ["aria-describedby", "aria-invalid"], ds = /* @__PURE__ */ f({
4632
+ }), as = { class: "flex items-center gap-1" }, os = ["hidden"], ss = ["aria-describedby", "aria-invalid"], cs = /* @__PURE__ */ f({
4630
4633
  __name: "CheckboxGroup",
4631
4634
  props: /*@__PURE__*/ g({
4632
4635
  label: {},
@@ -4654,10 +4657,10 @@ var vo = [
4654
4657
  l.value = t ? [...l.value, e] : l.value.filter((t) => t !== e);
4655
4658
  }
4656
4659
  return (i, u) => (w(), s("div", { class: y(M(X)("flex flex-col gap-1.5 text-black", t.class)) }, [
4657
- c("div", { class: y(M(X)("flex flex-col gap-0.5", e.hideLabel && "sr-only")) }, [c("div", cs, [c("span", {
4660
+ c("div", { class: y(M(X)("flex flex-col gap-0.5", e.hideLabel && "sr-only")) }, [c("div", as, [c("span", {
4658
4661
  id: f,
4659
4662
  class: "text-sm"
4660
- }, j(e.label), 1), e.helper && e.helperPlacement === "icon" ? (w(), a(Oa, {
4663
+ }, j(e.label), 1), e.helper && e.helperPlacement === "icon" ? (w(), a(Ta, {
4661
4664
  key: 0,
4662
4665
  text: e.helper,
4663
4666
  label: M(r)("ui.formField.about", { label: e.label })
@@ -4666,14 +4669,14 @@ var vo = [
4666
4669
  id: p,
4667
4670
  hidden: e.helperPlacement === "icon",
4668
4671
  class: "text-xs text-black/65"
4669
- }, j(e.helper), 9, ls)) : o("", !0)], 2),
4672
+ }, j(e.helper), 9, os)) : o("", !0)], 2),
4670
4673
  c("div", {
4671
4674
  role: "group",
4672
4675
  "aria-labelledby": f,
4673
4676
  "aria-describedby": h.value,
4674
4677
  "aria-invalid": e.errorText ? !0 : void 0,
4675
4678
  class: "flex flex-col gap-3"
4676
- }, [(w(!0), s(n, null, D(e.options, (t) => (w(), a(Yo, {
4679
+ }, [(w(!0), s(n, null, D(e.options, (t) => (w(), a(Ko, {
4677
4680
  key: String(t.value),
4678
4681
  "model-value": l.value.includes(t.value),
4679
4682
  label: t.label,
@@ -4686,15 +4689,15 @@ var vo = [
4686
4689
  "description",
4687
4690
  "disabled",
4688
4691
  "onUpdate:modelValue"
4689
- ]))), 128))], 8, us),
4690
- d(ja, {
4692
+ ]))), 128))], 8, ss),
4693
+ d(Oa, {
4691
4694
  id: m,
4692
4695
  status: e.errorText ? "error" : void 0,
4693
4696
  text: e.errorText
4694
4697
  }, null, 8, ["status", "text"])
4695
4698
  ], 2));
4696
4699
  }
4697
- }), fs = /* @__PURE__ */ f({
4700
+ }), ls = /* @__PURE__ */ f({
4698
4701
  __name: "LanguageSwitcher",
4699
4702
  props: {
4700
4703
  label: {},
@@ -4724,7 +4727,7 @@ var vo = [
4724
4727
  label: s(e),
4725
4728
  value: e
4726
4729
  })));
4727
- return (i, o) => (w(), a(qo, {
4730
+ return (i, o) => (w(), a(Wo, {
4728
4731
  modelValue: M(r),
4729
4732
  "onUpdate:modelValue": o[0] ||= (e) => h(r) ? r.value = e : null,
4730
4733
  label: e.label ?? M(n)("ui.languageSwitcher.label"),
@@ -4744,7 +4747,7 @@ var vo = [
4744
4747
  "class"
4745
4748
  ]));
4746
4749
  }
4747
- }), ps = { class: "flex items-center gap-1" }, ms = ["hidden"], hs = { class: "flex min-w-0 flex-1 flex-col gap-0.5" }, gs = { class: "text-sm font-bold" }, _s = ["id"], vs = /* @__PURE__ */ f({
4750
+ }), us = { class: "flex items-center gap-1" }, ds = ["hidden"], fs = { class: "flex min-w-0 flex-1 flex-col gap-0.5" }, ps = { class: "text-sm font-bold" }, ms = ["id"], hs = /* @__PURE__ */ f({
4748
4751
  __name: "CardSelect",
4749
4752
  props: /*@__PURE__*/ g({
4750
4753
  label: {},
@@ -4787,10 +4790,10 @@ var vo = [
4787
4790
  "motion-reduce:transition-none"
4788
4791
  ];
4789
4792
  return (i, v) => (w(), s("div", { class: y(M(X)("flex flex-col gap-2 text-black", e.disabled && "opacity-40", r.class)) }, [
4790
- c("div", { class: y(M(X)("flex flex-col gap-0.5", e.hideLabel && "sr-only")) }, [c("div", ps, [c("span", {
4793
+ c("div", { class: y(M(X)("flex flex-col gap-0.5", e.hideLabel && "sr-only")) }, [c("div", us, [c("span", {
4791
4794
  id: f,
4792
4795
  class: "text-sm"
4793
- }, j(e.label), 1), e.helper && e.helperPlacement === "icon" ? (w(), a(Oa, {
4796
+ }, j(e.label), 1), e.helper && e.helperPlacement === "icon" ? (w(), a(Ta, {
4794
4797
  key: 0,
4795
4798
  text: e.helper,
4796
4799
  label: M(t)("ui.formField.about", { label: e.label })
@@ -4799,7 +4802,7 @@ var vo = [
4799
4802
  id: p,
4800
4803
  hidden: e.helperPlacement === "icon",
4801
4804
  class: "text-xs text-black/65"
4802
- }, j(e.helper), 9, ms)) : o("", !0)], 2),
4805
+ }, j(e.helper), 9, ds)) : o("", !0)], 2),
4803
4806
  d(M(qt), {
4804
4807
  modelValue: l.value,
4805
4808
  "onUpdate:modelValue": v[0] ||= (e) => l.value = e,
@@ -4825,11 +4828,11 @@ var vo = [
4825
4828
  "aria-hidden": "true",
4826
4829
  class: "mt-0.5 size-4 shrink-0 text-black/65 group-data-[state=checked]:text-primary"
4827
4830
  })) : o("", !0),
4828
- c("span", hs, [c("span", gs, j(t.title), 1), t.description ? (w(), s("span", {
4831
+ c("span", fs, [c("span", ps, j(t.title), 1), t.description ? (w(), s("span", {
4829
4832
  key: 0,
4830
4833
  id: `${M(u)}-${n}-description`,
4831
4834
  class: "text-xs text-black/65"
4832
- }, j(t.description), 9, _s)) : o("", !0)]),
4835
+ }, j(t.description), 9, ms)) : o("", !0)]),
4833
4836
  v[1] ||= c("span", {
4834
4837
  "aria-hidden": "true",
4835
4838
  class: "mt-0.5 flex size-4 shrink-0 items-center justify-center rounded-full border border-black/55 bg-white group-data-[state=checked]:border-primary"
@@ -4853,14 +4856,14 @@ var vo = [
4853
4856
  "aria-invalid",
4854
4857
  "class"
4855
4858
  ]),
4856
- d(ja, {
4859
+ d(Oa, {
4857
4860
  id: m,
4858
4861
  status: e.errorText ? "error" : void 0,
4859
4862
  text: e.errorText
4860
4863
  }, null, 8, ["status", "text"])
4861
4864
  ], 2));
4862
4865
  }
4863
- }), ys = /* @__PURE__ */ f({
4866
+ }), gs = /* @__PURE__ */ f({
4864
4867
  __name: "EmptyState",
4865
4868
  props: {
4866
4869
  title: {},
@@ -4916,15 +4919,15 @@ var vo = [
4916
4919
  }, [O(r.$slots, "actions")], 2)) : o("", !0)
4917
4920
  ], 2));
4918
4921
  }
4919
- }), bs = new Intl.Collator("en-GB", {
4922
+ }), _s = new Intl.Collator("en-GB", {
4920
4923
  numeric: !0,
4921
4924
  sensitivity: "base"
4922
4925
  });
4923
- function xs(e, t) {
4926
+ function vs(e, t) {
4924
4927
  let n = e == null || e === "", r = t == null || t === "";
4925
- return n || r ? n === r ? 0 : n ? 1 : -1 : typeof e == "number" && typeof t == "number" ? e - t : e instanceof Date && t instanceof Date ? e.getTime() - t.getTime() : typeof e == "boolean" && typeof t == "boolean" ? Number(e) - Number(t) : bs.compare(String(e), String(t));
4928
+ return n || r ? n === r ? 0 : n ? 1 : -1 : typeof e == "number" && typeof t == "number" ? e - t : e instanceof Date && t instanceof Date ? e.getTime() - t.getTime() : typeof e == "boolean" && typeof t == "boolean" ? Number(e) - Number(t) : _s.compare(String(e), String(t));
4926
4929
  }
4927
- function Ss(e, t, n) {
4930
+ function ys(e, t, n) {
4928
4931
  let r = n && t.find((e) => e.key === n.key);
4929
4932
  if (!n || !r) return [...e];
4930
4933
  let i = r.sortValue ?? ((e) => e[r.key]), a = n.direction === "asc" ? 1 : -1;
@@ -4934,10 +4937,10 @@ function Ss(e, t, n) {
4934
4937
  value: i(e)
4935
4938
  })).sort((e, t) => {
4936
4939
  let n = e.value === null || e.value === void 0 || e.value === "", r = t.value === null || t.value === void 0 || t.value === "";
4937
- return (n || r ? xs(e.value, t.value) : a * xs(e.value, t.value)) || e.index - t.index;
4940
+ return (n || r ? vs(e.value, t.value) : a * vs(e.value, t.value)) || e.index - t.index;
4938
4941
  }).map((e) => e.row);
4939
4942
  }
4940
- function Cs(e, t) {
4943
+ function bs(e, t) {
4941
4944
  return e?.key === t ? e.direction === "asc" ? {
4942
4945
  key: t,
4943
4946
  direction: "desc"
@@ -4947,24 +4950,24 @@ function Cs(e, t) {
4947
4950
  };
4948
4951
  }
4949
4952
  // src/components/Table/Table.vue?vue&type=script&setup=true&lang.ts
4950
- var ws = [
4953
+ var xs = [
4951
4954
  "tabindex",
4952
4955
  "role",
4953
4956
  "aria-labelledby",
4954
4957
  "aria-label"
4955
- ], Ts = ["aria-busy"], Es = {
4958
+ ], Ss = ["aria-busy"], Cs = {
4956
4959
  key: 1,
4957
4960
  class: "sr-only"
4958
- }, Ds = ["aria-sort"], Os = {
4961
+ }, ws = ["aria-sort"], Ts = {
4959
4962
  key: 0,
4960
4963
  class: "sr-only"
4961
- }, ks = ["onClick"], As = { key: 0 }, js = ["colspan"], Ms = {
4964
+ }, Es = ["onClick"], Ds = { key: 0 }, Os = ["colspan"], ks = {
4962
4965
  key: 0,
4963
4966
  class: "inline-flex items-center gap-2"
4964
- }, Ns = ["onClick"], Ps = {
4967
+ }, As = ["onClick"], js = {
4965
4968
  key: 1,
4966
4969
  "aria-hidden": "true"
4967
- }, Fs = ["colspan"], Is = "relative z-1 w-0 cursor-pointer", Ls = "absolute inset-0 outline-none", Rs = "outline-2 outline-offset-1 outline-transparent focus-visible:outline-focus forced-colors:not-focus-visible:outline-0", zs = "outline-2 -outline-offset-2 outline-transparent focus-visible:outline-focus forced-colors:not-focus-visible:outline-0", Bs = /* @__PURE__ */ f({
4970
+ }, Ms = ["colspan"], Ns = "relative z-1 w-0 cursor-pointer", Ps = "absolute inset-0 outline-none", Fs = "outline-2 outline-offset-1 outline-transparent focus-visible:outline-focus forced-colors:not-focus-visible:outline-0", Is = "outline-2 -outline-offset-2 outline-transparent focus-visible:outline-focus forced-colors:not-focus-visible:outline-0", Ls = /* @__PURE__ */ f({
4968
4971
  __name: "Table",
4969
4972
  props: /*@__PURE__*/ g({
4970
4973
  columns: {},
@@ -5014,7 +5017,7 @@ var ws = [
5014
5017
  function T(e, t) {
5015
5018
  e.target.closest("button, label, .sr-only") || t();
5016
5019
  }
5017
- let A = i(() => r.columns.length + +!!r.selectable), N = i(() => r.manualSort ? r.rows : Ss(r.rows, r.columns, l.value));
5020
+ let A = i(() => r.columns.length + +!!r.selectable), N = i(() => r.manualSort ? r.rows : ys(r.rows, r.columns, l.value));
5018
5021
  function I(e, t) {
5019
5022
  return typeof r.rowKey == "function" ? r.rowKey(e, t) : r.rowKey ? e[r.rowKey] : t;
5020
5023
  }
@@ -5051,7 +5054,7 @@ var ws = [
5051
5054
  }), S(() => q?.disconnect()), (i, f) => (w(), s("div", {
5052
5055
  ref_key: "scroller",
5053
5056
  ref: W,
5054
- class: y(M(X)("relative overflow-auto", G.value && zs, r.class)),
5057
+ class: y(M(X)("relative overflow-auto", G.value && Is, r.class)),
5055
5058
  tabindex: G.value ? 0 : void 0,
5056
5059
  role: G.value ? "region" : void 0,
5057
5060
  "aria-labelledby": G.value && (e.caption || i.$slots.caption) ? p : void 0,
@@ -5068,24 +5071,24 @@ var ws = [
5068
5071
  c("thead", { class: y(M(X)(e.stickyHeader && "sticky top-0 z-10 bg-white", e.ui?.header)) }, [c("tr", null, [e.selectable ? (w(), s("th", {
5069
5072
  key: 0,
5070
5073
  scope: "col",
5071
- class: y(M(X)("border-b border-black/15", U.value, h.value.length && Is)),
5074
+ class: y(M(X)("border-b border-black/15", U.value, h.value.length && Ns)),
5072
5075
  onClick: f[1] ||= (e) => T(e, () => h.value.length && x(b.value !== !0))
5073
- }, [h.value.length ? (w(), a(Yo, {
5076
+ }, [h.value.length ? (w(), a(Ko, {
5074
5077
  key: 0,
5075
5078
  "model-value": b.value,
5076
5079
  label: M(t)("ui.table.selectAll"),
5077
5080
  "hide-label": "",
5078
5081
  "onUpdate:modelValue": f[0] ||= (e) => x(e === !0)
5079
- }, null, 8, ["model-value", "label"])) : (w(), s("span", Es, j(M(t)("ui.table.select")), 1))], 2)) : o("", !0), (w(!0), s(n, null, D(e.columns, (e) => (w(), s("th", {
5082
+ }, null, 8, ["model-value", "label"])) : (w(), s("span", Cs, j(M(t)("ui.table.select")), 1))], 2)) : o("", !0), (w(!0), s(n, null, D(e.columns, (e) => (w(), s("th", {
5080
5083
  key: e.key,
5081
5084
  scope: "col",
5082
5085
  "aria-sort": L(e),
5083
5086
  class: y(M(X)("border-b border-black/15 font-bold text-black/65", U.value, ee(e)))
5084
- }, [O(i.$slots, `header-${e.key}`, { column: e }, () => [e.hideLabel ? (w(), s("span", Os, j(e.label), 1)) : e.sortable ? (w(), s("button", {
5087
+ }, [O(i.$slots, `header-${e.key}`, { column: e }, () => [e.hideLabel ? (w(), s("span", Ts, j(e.label), 1)) : e.sortable ? (w(), s("button", {
5085
5088
  key: 1,
5086
5089
  type: "button",
5087
- class: y(M(X)("-mx-1 inline-flex cursor-pointer items-center gap-1 rounded px-1 font-bold hover:text-black", e.align === "end" && "flex-row-reverse", l.value?.key === e.key && "text-black", Rs)),
5088
- onClick: (t) => l.value = M(Cs)(l.value, e.key)
5090
+ class: y(M(X)("-mx-1 inline-flex cursor-pointer items-center gap-1 rounded px-1 font-bold hover:text-black", e.align === "end" && "flex-row-reverse", l.value?.key === e.key && "text-black", Fs)),
5091
+ onClick: (t) => l.value = M(bs)(l.value, e.key)
5089
5092
  }, [u(j(e.label) + " ", 1), l.value?.key === e.key && l.value.direction === "asc" ? (w(), a(M(ie), {
5090
5093
  key: 0,
5091
5094
  class: "size-4 shrink-0",
@@ -5098,24 +5101,24 @@ var ws = [
5098
5101
  key: 2,
5099
5102
  class: "size-4 shrink-0 text-black/40",
5100
5103
  "aria-hidden": "true"
5101
- }))], 10, ks)) : (w(), s(n, { key: 2 }, [u(j(e.label), 1)], 64))])], 10, Ds))), 128))])], 2),
5104
+ }))], 10, Es)) : (w(), s(n, { key: 2 }, [u(j(e.label), 1)], 64))])], 10, ws))), 128))])], 2),
5102
5105
  c("tbody", { class: y(M(X)(e.loading && N.value.length && "opacity-50 transition-opacity")) }, [
5103
- N.value.length ? o("", !0) : (w(), s("tr", As, [c("td", {
5106
+ N.value.length ? o("", !0) : (w(), s("tr", Ds, [c("td", {
5104
5107
  colspan: A.value,
5105
5108
  class: "px-4 py-8 text-center text-black/65"
5106
- }, [e.loading ? (w(), s("span", Ms, [d(Gn, { size: "sm" }), f[2] ||= u(" Loading… ", -1)])) : O(i.$slots, "empty", {}, () => [d(ys, {
5109
+ }, [e.loading ? (w(), s("span", ks, [d(Gn, { size: "sm" }), f[2] ||= u(" Loading… ", -1)])) : O(i.$slots, "empty", {}, () => [d(gs, {
5107
5110
  size: "sm",
5108
5111
  description: e.emptyText ?? M(t)("ui.table.empty"),
5109
5112
  class: "p-0"
5110
- }, null, 8, ["description"])], void 0, 1)], 8, js)])),
5113
+ }, null, 8, ["description"])], void 0, 1)], 8, Os)])),
5111
5114
  (w(!0), s(n, null, D(N.value, (r, c) => (w(), s("tr", {
5112
5115
  key: I(r, c),
5113
5116
  class: y(M(X)("group/row", z(r, c) && H, e.ui?.row))
5114
5117
  }, [e.selectable ? (w(), s("td", {
5115
5118
  key: 0,
5116
- class: y(M(X)("border-b border-black/15 align-middle", !e.inset && "group-last/row:border-b-0", U.value, m(r) && Is)),
5119
+ class: y(M(X)("border-b border-black/15 align-middle", !e.inset && "group-last/row:border-b-0", U.value, m(r) && Ns)),
5117
5120
  onClick: (e) => m(r) && T(e, () => v(r, c, !g(r, c)))
5118
- }, [m(r) ? (w(), a(Yo, {
5121
+ }, [m(r) ? (w(), a(Ko, {
5119
5122
  key: 0,
5120
5123
  "model-value": g(r, c),
5121
5124
  label: e.rowLabel ? e.rowLabel(r, c) : M(t)("ui.table.selectRow", { n: c + 1 }),
@@ -5125,7 +5128,7 @@ var ws = [
5125
5128
  "model-value",
5126
5129
  "label",
5127
5130
  "onUpdate:modelValue"
5128
- ])) : o("", !0)], 10, Ns)) : o("", !0), (w(!0), s(n, null, D(e.columns, (t) => (w(), a(k(t.rowHeader ? "th" : "td"), {
5131
+ ])) : o("", !0)], 10, As)) : o("", !0), (w(!0), s(n, null, D(e.columns, (t) => (w(), a(k(t.rowHeader ? "th" : "td"), {
5129
5132
  key: t.key,
5130
5133
  scope: t.rowHeader ? "row" : void 0,
5131
5134
  class: y(M(X)("border-b border-black/15 align-middle", !e.inset && "group-last/row:border-b-0", t.rowHeader ? "font-bold" : "font-normal", t.align === "end" && "tabular-nums", U.value, z(r, c) && "relative", ee(t)))
@@ -5137,7 +5140,7 @@ var ws = [
5137
5140
  "data-row-overlay": "",
5138
5141
  tabindex: "-1",
5139
5142
  "aria-hidden": "true",
5140
- class: Ls
5143
+ class: Ps
5141
5144
  }), null, 16)) : o("", !0), t.key === R.value && z(r, c) ? (w(), a(k(e.linkComponent), _({
5142
5145
  key: 1,
5143
5146
  ref_for: !0
@@ -5158,33 +5161,33 @@ var ws = [
5158
5161
  }, () => [u(j(r[t.key] ?? ""), 1)], void 0, 2)]),
5159
5162
  _: 2
5160
5163
  }, 1032, ["scope", "class"]))), 128))], 2))), 128)),
5161
- e.inset && N.value.length && !i.$slots.footer ? (w(), s("tr", Ps, [c("td", {
5164
+ e.inset && N.value.length && !i.$slots.footer ? (w(), s("tr", js, [c("td", {
5162
5165
  colspan: A.value,
5163
5166
  class: "h-2 p-0 sm:h-4"
5164
- }, null, 8, Fs)])) : o("", !0)
5167
+ }, null, 8, Ms)])) : o("", !0)
5165
5168
  ], 2),
5166
5169
  i.$slots.footer ? (w(), s("tfoot", {
5167
5170
  key: 1,
5168
5171
  class: y(M(X)("font-bold *:*:border-t *:*:border-black/15", e.size === "sm" ? "*:*:px-4 *:*:py-2" : "*:*:px-4 *:*:py-3", e.inset && "*:*:sm:first:pl-6 *:*:sm:last:pr-6"))
5169
5172
  }, [O(i.$slots, "footer")], 2)) : o("", !0)
5170
- ], 10, Ts)], 10, ws));
5173
+ ], 10, Ss)], 10, xs));
5171
5174
  }
5172
- }), Vs = { class: "flex flex-wrap items-baseline gap-x-2 gap-y-1" }, Hs = { class: "text-2xl font-bold tabular-nums" }, Us = {
5175
+ }), Rs = { class: "flex flex-wrap items-baseline gap-x-2 gap-y-1" }, zs = { class: "text-2xl font-bold tabular-nums" }, Bs = {
5173
5176
  key: 1,
5174
5177
  class: "sr-only"
5175
- }, Ws = {
5178
+ }, Vs = {
5176
5179
  key: 2,
5177
5180
  class: "font-bold tabular-nums"
5178
- }, Gs = {
5181
+ }, Hs = {
5179
5182
  key: 3,
5180
5183
  class: "text-black/65"
5181
- }, Ks = {
5184
+ }, Us = {
5182
5185
  key: 1,
5183
5186
  class: "text-sm text-black/65"
5184
- }, qs = {
5187
+ }, Ws = {
5185
5188
  key: 2,
5186
5189
  class: "mt-2 text-sm"
5187
- }, Js = /* @__PURE__ */ f({
5190
+ }, Gs = /* @__PURE__ */ f({
5188
5191
  __name: "StatTile",
5189
5192
  props: {
5190
5193
  label: {},
@@ -5224,7 +5227,7 @@ var ws = [
5224
5227
  href: r.value ? e.href : void 0,
5225
5228
  class: y(r.value && "group block h-full cursor-pointer rounded-lg outline-2 outline-offset-2 outline-transparent focus-visible:outline-focus")
5226
5229
  }, {
5227
- default: V(() => [d(pa, {
5230
+ default: V(() => [d(ua, {
5228
5231
  padding: "sm",
5229
5232
  class: y(M(X)(r.value && "relative h-full transition-[border-color,box-shadow,background-color] duration-150 motion-reduce:transition-none group-hover:border-black/40 group-hover:shadow-md group-active:bg-black/1", n.class)),
5230
5233
  ui: { body: "gap-1" }
@@ -5240,7 +5243,7 @@ var ws = [
5240
5243
  class: "size-4 shrink-0",
5241
5244
  "aria-hidden": "true"
5242
5245
  })) : o("", !0), u(" " + j(e.label), 1)], 2),
5243
- c("div", Vs, [c("p", Hs, [O(t.$slots, "value", {}, () => [u(j(e.value ?? "—"), 1)])]), e.change || e.trend ? (w(), s("p", {
5246
+ c("div", Rs, [c("p", zs, [O(t.$slots, "value", {}, () => [u(j(e.value ?? "—"), 1)])]), e.change || e.trend ? (w(), s("p", {
5244
5247
  key: 0,
5245
5248
  class: y(M(X)("inline-flex items-center gap-0.5 text-sm", f[l.value]))
5246
5249
  }, [
@@ -5249,12 +5252,12 @@ var ws = [
5249
5252
  class: "size-4 shrink-0",
5250
5253
  "aria-hidden": "true"
5251
5254
  })) : o("", !0),
5252
- e.trend ? (w(), s("span", Us, j(m.value[e.trend]), 1)) : o("", !0),
5253
- e.change ? (w(), s("span", Ws, j(e.change), 1)) : o("", !0),
5254
- e.changeLabel ? (w(), s("span", Gs, "\xA0" + j(e.changeLabel), 1)) : o("", !0)
5255
+ e.trend ? (w(), s("span", Bs, j(m.value[e.trend]), 1)) : o("", !0),
5256
+ e.change ? (w(), s("span", Vs, j(e.change), 1)) : o("", !0),
5257
+ e.changeLabel ? (w(), s("span", Hs, "\xA0" + j(e.changeLabel), 1)) : o("", !0)
5255
5258
  ], 2)) : o("", !0)]),
5256
- e.description || t.$slots.description ? (w(), s("p", Ks, [O(t.$slots, "description", {}, () => [u(j(e.description), 1)])])) : o("", !0),
5257
- t.$slots.footer && !r.value ? (w(), s("div", qs, [O(t.$slots, "footer")])) : o("", !0)
5259
+ e.description || t.$slots.description ? (w(), s("p", Us, [O(t.$slots, "description", {}, () => [u(j(e.description), 1)])])) : o("", !0),
5260
+ t.$slots.footer && !r.value ? (w(), s("div", Ws, [O(t.$slots, "footer")])) : o("", !0)
5258
5261
  ]),
5259
5262
  _: 3
5260
5263
  }, 8, ["class"])]),
@@ -5265,19 +5268,19 @@ var ws = [
5265
5268
  "class"
5266
5269
  ]));
5267
5270
  }
5268
- }), Ys = { class: "col-span-2 text-black/65 @sm:col-span-1" }, Xs = { class: "sr-only" }, Zs = {
5271
+ }), Ks = { class: "col-span-2 text-black/65 @sm:col-span-1" }, qs = { class: "sr-only" }, Js = {
5269
5272
  key: 0,
5270
5273
  class: "mt-0.5 block text-black/65"
5271
- }, Qs = {
5274
+ }, Ys = {
5272
5275
  key: 0,
5273
5276
  class: "justify-self-end"
5274
- }, $s = { class: "text-black/65" }, ec = { class: "sr-only" }, tc = {
5277
+ }, Xs = { class: "text-black/65" }, Zs = { class: "sr-only" }, Qs = {
5275
5278
  key: 0,
5276
5279
  class: "mt-0.5 block font-normal text-black/65"
5277
- }, nc = {
5280
+ }, $s = {
5278
5281
  key: 1,
5279
5282
  class: "mt-1 block font-normal"
5280
- }, rc = /* @__PURE__ */ f({
5283
+ }, ec = /* @__PURE__ */ f({
5281
5284
  __name: "SummaryList",
5282
5285
  props: {
5283
5286
  items: {},
@@ -5302,37 +5305,37 @@ var ws = [
5302
5305
  key: r.label,
5303
5306
  class: y(M(X)("grid grid-cols-[1fr_auto] gap-x-4 gap-y-1 border-b border-black/15 py-3 first:pt-0 last:border-b-0 last:pb-0", a[e.labelWidth]))
5304
5307
  }, [
5305
- c("dt", Ys, j(r.label), 1),
5308
+ c("dt", Ks, j(r.label), 1),
5306
5309
  c("dd", { class: y(M(X)("min-w-0 break-words", r.emphasis && "font-bold", !l.$slots.action && "col-span-2")) }, [O(l.$slots, "value", {
5307
5310
  item: r,
5308
5311
  index: f
5309
5312
  }, () => [i(r.value) ? (w(), s(n, { key: 1 }, [d[0] ||= c("span", {
5310
5313
  class: "text-black/40",
5311
5314
  "aria-hidden": "true"
5312
- }, "—", -1), c("span", Xs, j(e.emptyLabel ?? M(t)("ui.summaryList.notSet")), 1)], 64)) : (w(), s(n, { key: 0 }, [u(j(r.value), 1)], 64))]), r.description ? (w(), s("span", Zs, j(r.description), 1)) : o("", !0)], 2),
5313
- l.$slots.action ? (w(), s("dd", Qs, [O(l.$slots, "action", {
5315
+ }, "—", -1), c("span", qs, j(e.emptyLabel ?? M(t)("ui.summaryList.notSet")), 1)], 64)) : (w(), s(n, { key: 0 }, [u(j(r.value), 1)], 64))]), r.description ? (w(), s("span", Js, j(r.description), 1)) : o("", !0)], 2),
5316
+ l.$slots.action ? (w(), s("dd", Ys, [O(l.$slots, "action", {
5314
5317
  item: r,
5315
5318
  index: f
5316
5319
  })])) : o("", !0)
5317
5320
  ], 2))), 128)) : (w(!0), s(n, { key: 1 }, D(e.items, (r, a) => (w(), s("div", {
5318
5321
  key: r.label,
5319
5322
  class: y(e.layout === "compact" ? "col-span-2 grid grid-cols-subgrid items-baseline" : "flex min-w-0 flex-col gap-1")
5320
- }, [c("dt", $s, j(r.label), 1), c("dd", { class: y(M(X)("min-w-0 break-words", e.layout === "compact" && "text-right font-bold tabular-nums", r.emphasis && "font-bold")) }, [
5323
+ }, [c("dt", Xs, j(r.label), 1), c("dd", { class: y(M(X)("min-w-0 break-words", e.layout === "compact" && "text-right font-bold tabular-nums", r.emphasis && "font-bold")) }, [
5321
5324
  O(l.$slots, "value", {
5322
5325
  item: r,
5323
5326
  index: a
5324
5327
  }, () => [i(r.value) ? (w(), s(n, { key: 1 }, [d[1] ||= c("span", {
5325
5328
  class: "text-black/40",
5326
5329
  "aria-hidden": "true"
5327
- }, "—", -1), c("span", ec, j(e.emptyLabel ?? M(t)("ui.summaryList.notSet")), 1)], 64)) : (w(), s(n, { key: 0 }, [u(j(r.value), 1)], 64))]),
5328
- r.description ? (w(), s("span", tc, j(r.description), 1)) : o("", !0),
5329
- l.$slots.action ? (w(), s("span", nc, [O(l.$slots, "action", {
5330
+ }, "—", -1), c("span", Zs, j(e.emptyLabel ?? M(t)("ui.summaryList.notSet")), 1)], 64)) : (w(), s(n, { key: 0 }, [u(j(r.value), 1)], 64))]),
5331
+ r.description ? (w(), s("span", Qs, j(r.description), 1)) : o("", !0),
5332
+ l.$slots.action ? (w(), s("span", $s, [O(l.$slots, "action", {
5330
5333
  item: r,
5331
5334
  index: a
5332
5335
  })])) : o("", !0)
5333
5336
  ], 2)], 2))), 128))], 2)], 2));
5334
5337
  }
5335
- }), ic = { class: "flex h-5 shrink-0 items-center" }, ac = { class: "sr-only" }, oc = /* @__PURE__ */ f({
5338
+ }), tc = { class: "flex h-5 shrink-0 items-center" }, nc = { class: "sr-only" }, rc = /* @__PURE__ */ f({
5336
5339
  __name: "Checklist",
5337
5340
  props: {
5338
5341
  items: {},
@@ -5350,7 +5353,7 @@ var ws = [
5350
5353
  return (r, i) => (w(), s("ul", { class: y(M(X)("flex flex-col gap-2 text-sm", t.class)) }, [(w(!0), s(n, null, D(e.items, (t) => (w(), s("li", {
5351
5354
  key: t.label,
5352
5355
  class: "flex items-start gap-2"
5353
- }, [c("span", ic, [t.done ? (w(), a(M(ve), {
5356
+ }, [c("span", tc, [t.done ? (w(), a(M(ve), {
5354
5357
  key: 0,
5355
5358
  class: "size-4 text-green",
5356
5359
  "aria-hidden": "true"
@@ -5358,11 +5361,11 @@ var ws = [
5358
5361
  key: 1,
5359
5362
  class: y(M(X)("size-4", e.invalid ? "text-red" : "text-black/40")),
5360
5363
  "aria-hidden": "true"
5361
- }, null, 8, ["class"]))]), c("span", { class: y(t.done ? "text-black" : "text-black/65") }, [u(j(t.label), 1), c("span", ac, j(t.done ? " (done)" : " (to do)"), 1)], 2)]))), 128))], 2));
5364
+ }, null, 8, ["class"]))]), c("span", { class: y(t.done ? "text-black" : "text-black/65") }, [u(j(t.label), 1), c("span", nc, j(t.done ? " (done)" : " (to do)"), 1)], 2)]))), 128))], 2));
5362
5365
  }
5363
5366
  });
5364
5367
  // src/lib/dates.ts
5365
- function sc(e) {
5368
+ function ic(e) {
5366
5369
  if (e instanceof Date) return e;
5367
5370
  if (typeof e == "string" && /^\d{4}-\d{2}-\d{2}$/.test(e)) {
5368
5371
  let [t, n, r] = e.split("-").map(Number);
@@ -5370,59 +5373,59 @@ function sc(e) {
5370
5373
  }
5371
5374
  return new Date(e);
5372
5375
  }
5373
- var cc = [
5376
+ var ac = [
5374
5377
  ["year", 31536e3],
5375
5378
  ["month", 2592e3],
5376
5379
  ["week", 604800],
5377
5380
  ["day", 86400],
5378
5381
  ["hour", 3600],
5379
5382
  ["minute", 60]
5380
- ], lc = new Intl.RelativeTimeFormat("en-GB", { numeric: "auto" });
5381
- function uc(e, t = /* @__PURE__ */ new Date()) {
5382
- let n = Math.round((sc(e).getTime() - t.getTime()) / 1e3);
5383
+ ], oc = new Intl.RelativeTimeFormat("en-GB", { numeric: "auto" });
5384
+ function sc(e, t = /* @__PURE__ */ new Date()) {
5385
+ let n = Math.round((ic(e).getTime() - t.getTime()) / 1e3);
5383
5386
  if (Math.abs(n) < 60) return "Just now";
5384
- for (let [e, t] of cc) if (Math.abs(n) >= t) {
5385
- let r = lc.format(Math.trunc(n / t), e);
5387
+ for (let [e, t] of ac) if (Math.abs(n) >= t) {
5388
+ let r = oc.format(Math.trunc(n / t), e);
5386
5389
  return r.charAt(0).toUpperCase() + r.slice(1);
5387
5390
  }
5388
5391
  return "Just now";
5389
5392
  }
5390
- function dc(e) {
5391
- let t = sc(e), n = t.toLocaleDateString("en-GB", { weekday: "long" }), r = t.toLocaleTimeString("en-GB", {
5393
+ function cc(e) {
5394
+ let t = ic(e), n = t.toLocaleDateString("en-GB", { weekday: "long" }), r = t.toLocaleTimeString("en-GB", {
5392
5395
  hour: "2-digit",
5393
5396
  minute: "2-digit"
5394
5397
  });
5395
- return `${n} ${fc(t)} at ${r}`;
5398
+ return `${n} ${lc(t)} at ${r}`;
5396
5399
  }
5397
- function fc(e) {
5398
- return sc(e).toLocaleDateString("en-GB", {
5400
+ function lc(e) {
5401
+ return ic(e).toLocaleDateString("en-GB", {
5399
5402
  day: "numeric",
5400
5403
  month: "long",
5401
5404
  year: "numeric"
5402
5405
  });
5403
5406
  }
5404
- function pc(e, t = /* @__PURE__ */ new Date()) {
5405
- let n = sc(e), r = t.getFullYear() - n.getFullYear(), i = t.getMonth() - n.getMonth();
5407
+ function uc(e, t = /* @__PURE__ */ new Date()) {
5408
+ let n = ic(e), r = t.getFullYear() - n.getFullYear(), i = t.getMonth() - n.getMonth();
5406
5409
  return (i < 0 || i === 0 && t.getDate() < n.getDate()) && r--, r;
5407
5410
  }
5408
- function mc(e, t = /* @__PURE__ */ new Date()) {
5409
- let n = sc(e), r = new Date(t.getFullYear(), t.getMonth(), t.getDate()), i = (e) => {
5411
+ function dc(e, t = /* @__PURE__ */ new Date()) {
5412
+ let n = ic(e), r = new Date(t.getFullYear(), t.getMonth(), t.getDate()), i = (e) => {
5410
5413
  let t = new Date(e, n.getMonth(), n.getDate());
5411
5414
  return t.getMonth() === n.getMonth() ? t : new Date(e, 2, 1);
5412
5415
  }, a = i(r.getFullYear());
5413
5416
  return a < r && (a = i(r.getFullYear() + 1)), Math.round((a.getTime() - r.getTime()) / 864e5);
5414
5417
  }
5415
5418
  // src/lib/useNow.ts
5416
- var hc = E(/* @__PURE__ */ new Date()), gc = 0, _c;
5417
- function vc() {
5419
+ var fc = E(/* @__PURE__ */ new Date()), pc = 0, mc;
5420
+ function hc() {
5418
5421
  return C(() => {
5419
- gc++ === 0 && (hc.value = /* @__PURE__ */ new Date(), _c = setInterval(() => hc.value = /* @__PURE__ */ new Date(), 3e4));
5422
+ pc++ === 0 && (fc.value = /* @__PURE__ */ new Date(), mc = setInterval(() => fc.value = /* @__PURE__ */ new Date(), 3e4));
5420
5423
  }), S(() => {
5421
- --gc === 0 && clearInterval(_c);
5422
- }), hc;
5424
+ --pc === 0 && clearInterval(mc);
5425
+ }), fc;
5423
5426
  }
5424
5427
  // src/components/RelativeTime/RelativeTime.vue?vue&type=script&setup=true&lang.ts
5425
- var yc = ["datetime"], bc = /* @__PURE__ */ f({
5428
+ var gc = ["datetime"], _c = /* @__PURE__ */ f({
5426
5429
  __name: "RelativeTime",
5427
5430
  props: {
5428
5431
  date: {},
@@ -5437,17 +5440,17 @@ var yc = ["datetime"], bc = /* @__PURE__ */ f({
5437
5440
  ] }
5438
5441
  },
5439
5442
  setup(e) {
5440
- let t = e, n = vc(), r = i(() => sc(t.date)), o = i(() => uc(r.value, t.now ?? n.value)), s = i(() => t.tooltip ? t.tooltip(r.value) : dc(r.value));
5441
- return (e, n) => (w(), a(xo, { text: s.value }, {
5443
+ let t = e, n = hc(), r = i(() => ic(t.date)), o = i(() => sc(r.value, t.now ?? n.value)), s = i(() => t.tooltip ? t.tooltip(r.value) : cc(r.value));
5444
+ return (e, n) => (w(), a(vo, { text: s.value }, {
5442
5445
  default: V(() => [c("time", {
5443
5446
  datetime: r.value.toISOString(),
5444
5447
  tabindex: "0",
5445
5448
  class: y(M(X)("cursor-default rounded-sm underline decoration-current/40 decoration-dotted underline-offset-2", "outline-2 outline-offset-1 outline-transparent focus-visible:outline-focus forced-colors:not-focus-visible:outline-0", t.class))
5446
- }, j(o.value), 11, yc)]),
5449
+ }, j(o.value), 11, gc)]),
5447
5450
  _: 1
5448
5451
  }, 8, ["text"]));
5449
5452
  }
5450
- }), xc = ["data-birth-date"], Sc = /* @__PURE__ */ f({
5453
+ }), vc = ["data-birth-date"], yc = /* @__PURE__ */ f({
5451
5454
  __name: "Age",
5452
5455
  props: {
5453
5456
  birthDate: {},
@@ -5462,26 +5465,26 @@ var yc = ["datetime"], bc = /* @__PURE__ */ f({
5462
5465
  ] }
5463
5466
  },
5464
5467
  setup(e) {
5465
- let { t } = K(), r = e, l = vc(), d = i(() => sc(r.birthDate)), f = i(() => r.now ?? l.value), p = i(() => pc(d.value, f.value)), m = i(() => {
5466
- let e = mc(d.value, f.value), n = e === 0 ? ` · ${t("ui.age.birthdayToday")}` : e === 1 ? ` · ${t("ui.age.birthdayTomorrow")}` : e <= 7 ? ` · ${t("ui.age.birthdayInDays", { days: e })}` : "";
5467
- return `${t("ui.age.born", { date: fc(d.value) })}${n}`;
5468
+ let { t } = K(), r = e, l = hc(), d = i(() => ic(r.birthDate)), f = i(() => r.now ?? l.value), p = i(() => uc(d.value, f.value)), m = i(() => {
5469
+ let e = dc(d.value, f.value), n = e === 0 ? ` · ${t("ui.age.birthdayToday")}` : e === 1 ? ` · ${t("ui.age.birthdayTomorrow")}` : e <= 7 ? ` · ${t("ui.age.birthdayInDays", { days: e })}` : "";
5470
+ return `${t("ui.age.born", { date: lc(d.value) })}${n}`;
5468
5471
  }), h = i(() => {
5469
5472
  let e = d.value;
5470
5473
  return `${e.getFullYear()}-${String(e.getMonth() + 1).padStart(2, "0")}-${String(e.getDate()).padStart(2, "0")}`;
5471
5474
  });
5472
- return (t, i) => (w(), a(xo, { text: m.value }, {
5475
+ return (t, i) => (w(), a(vo, { text: m.value }, {
5473
5476
  default: V(() => [c("span", {
5474
5477
  tabindex: "0",
5475
5478
  "data-birth-date": h.value,
5476
5479
  class: y(M(X)("cursor-default rounded-sm tabular-nums underline decoration-current/40 decoration-dotted underline-offset-2", "outline-2 outline-offset-1 outline-transparent focus-visible:outline-focus forced-colors:not-focus-visible:outline-0", r.class))
5477
- }, [u(j(p.value), 1), e.suffix ? (w(), s(n, { key: 0 }, [u("\xA0" + j(e.suffix), 1)], 64)) : o("", !0)], 10, xc)]),
5480
+ }, [u(j(p.value), 1), e.suffix ? (w(), s(n, { key: 0 }, [u("\xA0" + j(e.suffix), 1)], 64)) : o("", !0)], 10, vc)]),
5478
5481
  _: 1
5479
5482
  }, 8, ["text"]));
5480
5483
  }
5481
- }), Cc = {
5484
+ }), bc = {
5482
5485
  class: "text-sm text-black/65",
5483
5486
  "aria-live": "polite"
5484
- }, wc = { class: "text-black" }, Tc = /* @__PURE__ */ f({
5487
+ }, xc = { class: "text-black" }, Sc = /* @__PURE__ */ f({
5485
5488
  __name: "Steps",
5486
5489
  props: {
5487
5490
  steps: {},
@@ -5497,16 +5500,16 @@ var yc = ["datetime"], bc = /* @__PURE__ */ f({
5497
5500
  },
5498
5501
  setup(e) {
5499
5502
  let t = e;
5500
- return (n, r) => (w(), s("div", { class: y(M(X)("flex flex-col gap-3", t.class)) }, [c("p", Cc, [d(M(W), {
5503
+ return (n, r) => (w(), s("div", { class: y(M(X)("flex flex-col gap-3", t.class)) }, [c("p", bc, [d(M(W), {
5501
5504
  keypath: "ui.steps.stepOfNamed",
5502
5505
  scope: "global",
5503
5506
  tag: "span"
5504
5507
  }, {
5505
5508
  current: V(() => [u(j(e.step + 1), 1)]),
5506
5509
  total: V(() => [u(j(e.steps.length), 1)]),
5507
- name: V(() => [c("span", wc, j(e.steps[e.step]), 1)]),
5510
+ name: V(() => [c("span", xc, j(e.steps[e.step]), 1)]),
5508
5511
  _: 1
5509
- })]), d(yi, {
5512
+ })]), d(gi, {
5510
5513
  label: e.label,
5511
5514
  segments: "",
5512
5515
  value: e.step + 1,
@@ -5517,7 +5520,7 @@ var yc = ["datetime"], bc = /* @__PURE__ */ f({
5517
5520
  "max"
5518
5521
  ])], 2));
5519
5522
  }
5520
- }), Ec = /* @__PURE__ */ f({
5523
+ }), Cc = /* @__PURE__ */ f({
5521
5524
  __name: "Tabs",
5522
5525
  props: /*@__PURE__*/ g({
5523
5526
  tabs: {},
@@ -5579,11 +5582,11 @@ var yc = ["datetime"], bc = /* @__PURE__ */ f({
5579
5582
  _: 3
5580
5583
  }, 8, ["model-value", "class"]));
5581
5584
  }
5582
- }), Dc = 0, Oc = () => `notification-${Date.now().toString(36)}-${(Dc++).toString(36)}`;
5583
- function kc(e, t) {
5585
+ }), wc = 0, Tc = () => `notification-${Date.now().toString(36)}-${(wc++).toString(36)}`;
5586
+ function Ec(e, t) {
5584
5587
  return t === void 0 ? e.type === "error" ? Infinity : e.action ? e.compact ? 1e4 : Infinity : 6e3 : t;
5585
5588
  }
5586
- function Ac(e = []) {
5589
+ function Dc(e = []) {
5587
5590
  let t = T({
5588
5591
  items: e.map(n).sort((e, t) => t.createdAt.getTime() - e.createdAt.getTime()),
5589
5592
  toasts: [],
@@ -5593,7 +5596,7 @@ function Ac(e = []) {
5593
5596
  function n(e) {
5594
5597
  return {
5595
5598
  ...e,
5596
- id: e.id ?? Oc(),
5599
+ id: e.id ?? Tc(),
5597
5600
  type: e.type ?? "info",
5598
5601
  createdAt: e.createdAt ?? /* @__PURE__ */ new Date(),
5599
5602
  read: e.read ?? !1
@@ -5603,7 +5606,7 @@ function Ac(e = []) {
5603
5606
  let i = n(e);
5604
5607
  return t.items = [i, ...t.items.filter((e) => e.id !== i.id)], r.toast !== !1 && !t.paneOpen && (t.toasts = [...t.toasts.filter((e) => e.id !== i.id), {
5605
5608
  id: i.id,
5606
- duration: kc(i, r.duration),
5609
+ duration: Ec(i, r.duration),
5607
5610
  item: i
5608
5611
  }]), i.id;
5609
5612
  }
@@ -5652,25 +5655,25 @@ function Ac(e = []) {
5652
5655
  markAllRead: c
5653
5656
  };
5654
5657
  }
5655
- var jc;
5656
- function Mc() {
5657
- return jc ??= Ac();
5658
+ var Oc;
5659
+ function kc() {
5660
+ return Oc ??= Dc();
5658
5661
  }
5659
5662
  // src/components/Notification/Notification.vue?vue&type=script&setup=true&lang.ts
5660
- var Nc = { class: "sr-only" }, Pc = {
5663
+ var Ac = { class: "sr-only" }, jc = {
5661
5664
  key: 0,
5662
5665
  class: "text-black/65 [&_a]:font-bold [&_a]:text-primary [&_a]:underline [&_b]:font-bold [&_b]:text-black [&_strong]:font-bold [&_strong]:text-black"
5663
- }, Fc = {
5666
+ }, Mc = {
5664
5667
  key: 1,
5665
5668
  class: "flex items-center gap-1.5 text-xs text-black/65"
5666
- }, Ic = {
5669
+ }, Nc = {
5667
5670
  key: 0,
5668
5671
  class: "size-2 shrink-0 rounded-full bg-primary",
5669
5672
  "aria-hidden": "true"
5670
- }, Lc = {
5673
+ }, Pc = {
5671
5674
  key: 1,
5672
5675
  class: "sr-only"
5673
- }, Rc = ["href"], zc = /* @__PURE__ */ f({
5676
+ }, Fc = ["href"], Ic = /* @__PURE__ */ f({
5674
5677
  __name: "Notification",
5675
5678
  props: {
5676
5679
  type: { default: "info" },
@@ -5735,12 +5738,12 @@ var Nc = { class: "sr-only" }, Pc = {
5735
5738
  c("p", {
5736
5739
  id: f,
5737
5740
  class: y(M(X)("font-bold", h.value && "min-w-0 flex-1 py-1"))
5738
- }, [c("span", Nc, j(p[e.type].word) + ": ", 1), u(j(e.title), 1)], 2),
5739
- !h.value && (e.description || t.$slots.default) ? (w(), s("div", Pc, [O(t.$slots, "default", {}, () => [d(m)])])) : o("", !0),
5740
- e.appearance === "row" && (e.createdAt || e.unread) ? (w(), s("p", Fc, [
5741
- e.unread ? (w(), s("span", Ic)) : o("", !0),
5742
- e.unread ? (w(), s("span", Lc, "Unread, ")) : o("", !0),
5743
- e.createdAt ? (w(), a(bc, {
5741
+ }, [c("span", Ac, j(p[e.type].word) + ": ", 1), u(j(e.title), 1)], 2),
5742
+ !h.value && (e.description || t.$slots.default) ? (w(), s("div", jc, [O(t.$slots, "default", {}, () => [d(m)])])) : o("", !0),
5743
+ e.appearance === "row" && (e.createdAt || e.unread) ? (w(), s("p", Mc, [
5744
+ e.unread ? (w(), s("span", Nc)) : o("", !0),
5745
+ e.unread ? (w(), s("span", Pc, "Unread, ")) : o("", !0),
5746
+ e.createdAt ? (w(), a(_c, {
5744
5747
  key: 2,
5745
5748
  date: e.createdAt,
5746
5749
  now: e.now
@@ -5755,7 +5758,7 @@ var Nc = { class: "sr-only" }, Pc = {
5755
5758
  "as-child": "",
5756
5759
  onClick: g
5757
5760
  }, {
5758
- default: V(() => [c("a", { href: e.action.href }, j(e.action.label), 9, Rc)]),
5761
+ default: V(() => [c("a", { href: e.action.href }, j(e.action.label), 9, Fc)]),
5759
5762
  _: 1
5760
5763
  })) : e.action ? (w(), a(Z, {
5761
5764
  key: 1,
@@ -5781,11 +5784,11 @@ var Nc = { class: "sr-only" }, Pc = {
5781
5784
  }, 8, ["class", "aria-label"])) : o("", !0)
5782
5785
  ], 2));
5783
5786
  }
5784
- }), Bc = {
5787
+ }), Lc = {
5785
5788
  key: 0,
5786
5789
  class: "absolute top-1 left-1/2 ml-1 flex h-4 min-w-4 items-center justify-center rounded-full bg-red px-1 text-xs leading-none font-bold text-white ring-2 ring-white",
5787
5790
  "aria-hidden": "true"
5788
- }, Vc = { class: "flex h-11 shrink-0 items-center justify-between gap-2 border-b border-black/15 pr-2 pl-4" }, Hc = ["inert"], Uc = /* @__PURE__ */ f({
5791
+ }, Rc = { class: "flex h-11 shrink-0 items-center justify-between gap-2 border-b border-black/15 pr-2 pl-4" }, zc = ["inert"], Bc = /* @__PURE__ */ f({
5789
5792
  __name: "NotificationPane",
5790
5793
  props: /*@__PURE__*/ g({
5791
5794
  notifications: {},
@@ -5801,7 +5804,7 @@ var Nc = { class: "sr-only" }, Pc = {
5801
5804
  }),
5802
5805
  emits: ["update:open"],
5803
5806
  setup(e) {
5804
- let { t } = K(), r = e, l = F(e, "open"), f = i(() => r.notifications ?? Mc()), p = i(() => f.value.items), m = i(() => f.value.unreadCount.value), h = i(() => m.value > 99 ? "99+" : String(m.value)), g = i(() => r.label ?? t("ui.notifications.title")), _ = i(() => m.value ? t("ui.notifications.withUnread", {
5807
+ let { t } = K(), r = e, l = F(e, "open"), f = i(() => r.notifications ?? kc()), p = i(() => f.value.items), m = i(() => f.value.unreadCount.value), h = i(() => m.value > 99 ? "99+" : String(m.value)), g = i(() => r.label ?? t("ui.notifications.title")), _ = i(() => m.value ? t("ui.notifications.withUnread", {
5805
5808
  label: g.value,
5806
5809
  count: h.value
5807
5810
  }) : g.value), b = `${P()}-heading`, x = E(), S = E();
@@ -5851,7 +5854,7 @@ var Nc = { class: "sr-only" }, Pc = {
5851
5854
  ref: C,
5852
5855
  "aria-labelledby": b,
5853
5856
  class: "flex min-h-0 flex-col"
5854
- }, [c("div", Vc, [c("h2", {
5857
+ }, [c("div", Rc, [c("h2", {
5855
5858
  id: b,
5856
5859
  ref_key: "heading",
5857
5860
  ref: x,
@@ -5876,7 +5879,7 @@ var Nc = { class: "sr-only" }, Pc = {
5876
5879
  }, [(w(!0), s(n, null, D(p.value, (e, t) => (w(), s("li", {
5877
5880
  key: e.id,
5878
5881
  class: "border-b border-black/15 last:border-b-0"
5879
- }, [d(zc, {
5882
+ }, [d(Ic, {
5880
5883
  appearance: "row",
5881
5884
  type: e.type,
5882
5885
  title: e.title,
@@ -5895,7 +5898,7 @@ var Nc = { class: "sr-only" }, Pc = {
5895
5898
  "unread",
5896
5899
  "onDismiss",
5897
5900
  "onAction"
5898
- ])]))), 128))], 42, Hc)) : (w(), a(ys, {
5901
+ ])]))), 128))], 42, zc)) : (w(), a(gs, {
5899
5902
  key: 1,
5900
5903
  size: "sm",
5901
5904
  icon: M(se),
@@ -5914,13 +5917,13 @@ var Nc = { class: "sr-only" }, Pc = {
5914
5917
  "aria-label": _.value,
5915
5918
  class: y(M(X)("relative overflow-visible", e.ui?.trigger))
5916
5919
  }, {
5917
- default: V(() => [d(M(oe)), m.value ? (w(), s("span", Bc, j(h.value), 1)) : o("", !0)]),
5920
+ default: V(() => [d(M(oe)), m.value ? (w(), s("span", Lc, j(h.value), 1)) : o("", !0)]),
5918
5921
  _: 1
5919
5922
  }, 8, ["aria-label", "class"])]),
5920
5923
  _: 1
5921
5924
  }, 8, ["open", "ui"]));
5922
5925
  }
5923
- }), Wc = { class: "in-data-expanded:hidden" }, Gc = { class: "hidden in-data-expanded:inline" }, Kc = { class: "sr-only" }, qc = 8, Jc = .5, Yc = 80, Xc = /* @__PURE__ */ f({
5926
+ }), Vc = { class: "in-data-expanded:hidden" }, Hc = { class: "hidden in-data-expanded:inline" }, Uc = { class: "sr-only" }, Wc = 8, Gc = .5, Kc = 80, qc = /* @__PURE__ */ f({
5924
5927
  __name: "Toaster",
5925
5928
  props: {
5926
5929
  notifications: {},
@@ -5937,15 +5940,15 @@ var Nc = { class: "sr-only" }, Pc = {
5937
5940
  },
5938
5941
  emits: ["more"],
5939
5942
  setup(e, { emit: t }) {
5940
- let { t: r } = K(), l = e, f = t, p = i(() => l.notifications ?? Mc()), m = i(() => l.position === "top-right"), h = E(typeof window > "u" ? 800 : window.innerHeight), g = () => h.value = window.innerHeight;
5943
+ let { t: r } = K(), l = e, f = t, p = i(() => l.notifications ?? kc()), m = i(() => l.position === "top-right"), h = E(typeof window > "u" ? 800 : window.innerHeight), g = () => h.value = window.innerHeight;
5941
5944
  C(() => window.addEventListener("resize", g)), S(() => window.removeEventListener("resize", g));
5942
- let _ = i(() => Math.max(h.value - Yc, 108)), b = (e) => e.compact ? 42 : e.action ? 116 : e.description ? 78 : 56, O = i(() => {
5943
- let e = p.value.toasts.slice(-l.limit).reverse(), t = (e) => L.get(e.id) ?? b(e.item), n = e.filter((e) => !W.has(e.id)), r = n.reduce((e, n) => e + t(n) + qc, -8), i = /* @__PURE__ */ new Set();
5945
+ let _ = i(() => Math.max(h.value - Kc, 108)), b = (e) => e.compact ? 42 : e.action ? 116 : e.description ? 78 : 56, O = i(() => {
5946
+ let e = p.value.toasts.slice(-l.limit).reverse(), t = (e) => L.get(e.id) ?? b(e.item), n = e.filter((e) => !W.has(e.id)), r = n.reduce((e, n) => e + t(n) + Wc, -8), i = /* @__PURE__ */ new Set();
5944
5947
  if (r <= _.value) n.forEach((e) => i.add(e.id));
5945
5948
  else {
5946
5949
  let e = 44;
5947
5950
  for (let r of n) {
5948
- let n = e + t(r) + (i.size ? qc : 0);
5951
+ let n = e + t(r) + (i.size ? Wc : 0);
5949
5952
  if (i.size && n > _.value) break;
5950
5953
  i.add(r.id), e = n;
5951
5954
  }
@@ -6000,16 +6003,16 @@ var Nc = { class: "sr-only" }, Pc = {
6000
6003
  }
6001
6004
  let J = i(() => {
6002
6005
  let e = k.value.filter((e) => !W.has(e.id)), t = /* @__PURE__ */ new Map(), n = [], r = 0;
6003
- for (let t of e) n.push(r), r += (L.get(t.id) ?? 0) + qc;
6004
- let i = Math.max(r - qc, 0), a = Math.min(l.maxHeight, _.value), o = 0;
6006
+ for (let t of e) n.push(r), r += (L.get(t.id) ?? 0) + Wc;
6007
+ let i = Math.max(r - Wc, 0), a = Math.min(l.maxHeight, _.value), o = 0;
6005
6008
  for (; o < e.length && (o === 0 || n[o] + (L.get(e[o].id) ?? 0) <= a);) o++;
6006
- let s = e[o - 1], c = n[o - 1] ?? 0, u = s ? L.get(s.id) ?? 0 : 0, d = c + u + qc;
6009
+ let s = e[o - 1], c = n[o - 1] ?? 0, u = s ? L.get(s.id) ?? 0 : 0, d = c + u + Wc;
6007
6010
  e.forEach((r, i) => {
6008
6011
  let a = i >= o;
6009
6012
  t.set(r.id, {
6010
6013
  spread: n[i],
6011
6014
  stacked: a ? d : n[i],
6012
- scale: a ? Jc : 1,
6015
+ scale: a ? Gc : 1,
6013
6016
  opacity: +!a,
6014
6017
  z: e.length - i
6015
6018
  });
@@ -6020,7 +6023,7 @@ var Nc = { class: "sr-only" }, Pc = {
6020
6023
  places: t,
6021
6024
  spreadHeight: i + (A.value > 0 ? 44 : 0),
6022
6025
  stackedHeight: p,
6023
- moreOffset: i + (i ? qc : 0),
6026
+ moreOffset: i + (i ? Wc : 0),
6024
6027
  notInView: f,
6025
6028
  pillOffset: d
6026
6029
  };
@@ -6029,10 +6032,10 @@ var Nc = { class: "sr-only" }, Pc = {
6029
6032
  let t = W.has(e) ? G.get(e) : J.value.places.get(e), n = m.value ? 1 : -1, r = (e) => `${n * e}px`, i = {
6030
6033
  "--toast-spread": r(J.value.moreOffset),
6031
6034
  "--toast-stacked": r(J.value.pillOffset),
6032
- "--toast-scale": Jc,
6035
+ "--toast-scale": Gc,
6033
6036
  "--toast-opacity": 0,
6034
6037
  "--toast-spread-opacity": 0,
6035
- "--toast-spread-scale": Jc,
6038
+ "--toast-spread-scale": Gc,
6036
6039
  "--toast-z": 0
6037
6040
  };
6038
6041
  if (!t && N.has(e) || t && !U.has(e) && P.has(e)) return i;
@@ -6090,7 +6093,7 @@ var Nc = { class: "sr-only" }, Pc = {
6090
6093
  class: y(M(X)("absolute inset-x-0 z-(--toast-z) list-none rounded", "outline-2 outline-offset-1 outline-transparent focus-visible:outline-focus forced-colors:not-focus-visible:outline-0", m.value ? "top-0 origin-top" : "bottom-0 origin-bottom", "translate-y-(--toast-stacked) scale-(--toast-scale) opacity-(--toast-opacity)", "data-expanded:translate-y-(--toast-spread) data-expanded:scale-(--toast-spread-scale) data-expanded:opacity-(--toast-spread-opacity)", "transition-[translate,scale,opacity] duration-300 ease-out motion-reduce:transition-none", "data-[state=closed]:animate-fade-out", "data-[swipe=move]:translate-x-(--reka-toast-swipe-move-x) data-[swipe=move]:transition-none", "data-[swipe=cancel]:translate-x-0", "data-[swipe=end]:animate-slide-out-right")),
6091
6094
  "onUpdate:open": (t) => q(e.id, t)
6092
6095
  }, {
6093
- default: V(() => [d(zc, {
6096
+ default: V(() => [d(Ic, {
6094
6097
  ref_for: !0,
6095
6098
  ref: (t) => H(e.id, t),
6096
6099
  type: e.item.type,
@@ -6133,7 +6136,7 @@ var Nc = { class: "sr-only" }, Pc = {
6133
6136
  type: "button",
6134
6137
  class: y(M(X)("flex cursor-pointer items-center justify-center overflow-hidden border border-black/15 bg-white font-bold whitespace-nowrap text-black shadow-md hover:bg-surface-elevated", "h-7 w-24 rounded-2xl text-xs", A.value && "in-data-expanded:h-9 in-data-expanded:w-full in-data-expanded:rounded in-data-expanded:text-sm", "transition-[width,height,border-radius,font-size,background-color] duration-300 ease-out motion-reduce:transition-none", "outline-2 outline-offset-1 outline-transparent focus-visible:outline-focus forced-colors:not-focus-visible:outline-0")),
6135
6138
  onClick: ie
6136
- }, [A.value ? (w(), s(n, { key: 0 }, [c("span", Wc, j(M(r)("ui.notifications.more", { count: J.value.notInView })), 1), c("span", Gc, j(M(r)("ui.notifications.more", { count: A.value })), 1)], 64)) : (w(), s(n, { key: 1 }, [u(j(M(r)("ui.notifications.more", { count: J.value.notInView })), 1)], 64)), c("span", Kc, "\xA0" + j(M(r)("ui.notifications.notifications")), 1)], 2)], 6)) : o("", !0)]),
6139
+ }, [A.value ? (w(), s(n, { key: 0 }, [c("span", Vc, j(M(r)("ui.notifications.more", { count: J.value.notInView })), 1), c("span", Hc, j(M(r)("ui.notifications.more", { count: A.value })), 1)], 64)) : (w(), s(n, { key: 1 }, [u(j(M(r)("ui.notifications.more", { count: J.value.notInView })), 1)], 64)), c("span", Uc, "\xA0" + j(M(r)("ui.notifications.notifications")), 1)], 2)], 6)) : o("", !0)]),
6137
6140
  _: 1
6138
6141
  }, 8, [
6139
6142
  "label",
@@ -6143,14 +6146,14 @@ var Nc = { class: "sr-only" }, Pc = {
6143
6146
  _: 1
6144
6147
  }, 8, ["label"]));
6145
6148
  }
6146
- }), Zc = {
6149
+ }), Jc = {
6147
6150
  key: 0,
6148
6151
  "aria-hidden": "true",
6149
6152
  class: "h-20"
6150
- }, Qc = ["aria-label"], $c = { class: "pointer-events-auto flex w-full max-w-2xl items-center justify-between gap-3 rounded-lg border border-black/15 bg-white p-3 pl-4 shadow-lg" }, el = {
6153
+ }, Yc = ["aria-label"], Xc = { class: "pointer-events-auto flex w-full max-w-2xl items-center justify-between gap-3 rounded-lg border border-black/15 bg-white p-3 pl-4 shadow-lg" }, Zc = {
6151
6154
  role: "status",
6152
6155
  class: "flex items-center gap-2 text-sm font-bold"
6153
- }, tl = { class: "flex shrink-0 items-center gap-2" }, nl = /* @__PURE__ */ f({
6156
+ }, Qc = { class: "flex shrink-0 items-center gap-2" }, $c = /* @__PURE__ */ f({
6154
6157
  __name: "UnsavedChangesBar",
6155
6158
  props: {
6156
6159
  open: { type: Boolean },
@@ -6173,7 +6176,7 @@ var Nc = { class: "sr-only" }, Pc = {
6173
6176
  emits: ["discard", "save"],
6174
6177
  setup(e, { emit: t }) {
6175
6178
  let { t: a } = K(), l = e, f = t, p = i(() => l.status === "loading");
6176
- return (t, i) => (w(), s(n, null, [e.open && e.reserveSpace ? (w(), s("div", Zc)) : o("", !0), d(r, {
6179
+ return (t, i) => (w(), s(n, null, [e.open && e.reserveSpace ? (w(), s("div", Jc)) : o("", !0), d(r, {
6177
6180
  "enter-active-class": "transition duration-300 ease-out motion-reduce:transition-none",
6178
6181
  "leave-active-class": "transition duration-200 ease-in motion-reduce:transition-none",
6179
6182
  "enter-from-class": "translate-y-full motion-reduce:translate-y-0 motion-reduce:opacity-0",
@@ -6184,10 +6187,10 @@ var Nc = { class: "sr-only" }, Pc = {
6184
6187
  role: "region",
6185
6188
  "aria-label": e.message ?? M(a)("ui.unsavedChangesBar.message"),
6186
6189
  class: y(M(X)("fixed inset-x-0 bottom-0 z-40 flex justify-center px-4 pb-4 pointer-events-none", l.class))
6187
- }, [c("div", $c, [c("p", el, [i[2] ||= c("span", {
6190
+ }, [c("div", Xc, [c("p", Zc, [i[2] ||= c("span", {
6188
6191
  "aria-hidden": "true",
6189
6192
  class: "size-2 shrink-0 rounded-full bg-yellow"
6190
- }, null, -1), u(" " + j(e.message ?? M(a)("ui.unsavedChangesBar.message")), 1)]), c("div", tl, [d(Z, {
6193
+ }, null, -1), u(" " + j(e.message ?? M(a)("ui.unsavedChangesBar.message")), 1)]), c("div", Qc, [d(Z, {
6191
6194
  disabled: p.value,
6192
6195
  onClick: i[0] ||= (e) => f("discard")
6193
6196
  }, {
@@ -6201,11 +6204,11 @@ var Nc = { class: "sr-only" }, Pc = {
6201
6204
  }, {
6202
6205
  default: V(() => [u(j(e.saveLabel ?? M(a)("ui.unsavedChangesBar.save")), 1)]),
6203
6206
  _: 1
6204
- }, 8, ["status", "disabled"])])])], 10, Qc)) : o("", !0)]),
6207
+ }, 8, ["status", "disabled"])])])], 10, Yc)) : o("", !0)]),
6205
6208
  _: 1
6206
6209
  })], 64));
6207
6210
  }
6208
- }), rl = { ui: {
6211
+ }), el = { ui: {
6209
6212
  age: {
6210
6213
  born: "Born {date}",
6211
6214
  birthdayToday: "Birthday today",
@@ -6334,16 +6337,16 @@ var Nc = { class: "sr-only" }, Pc = {
6334
6337
  discard: "Discard",
6335
6338
  save: "Save"
6336
6339
  }
6337
- } }, il = { en: rl };
6338
- function al(e = {}) {
6339
- let { messages: t = {}, fallbackLocale: n = "en", storageKey: r = "keston-locale" } = e, i = [.../* @__PURE__ */ new Set([...Object.keys(il), ...Object.keys(t)])], a = {};
6340
+ } }, tl = { en: el };
6341
+ function nl(e = {}) {
6342
+ let { messages: t = {}, fallbackLocale: n = "en", storageKey: r = "keston-locale" } = e, i = [.../* @__PURE__ */ new Set([...Object.keys(tl), ...Object.keys(t)])], a = {};
6340
6343
  for (let e of i) a[e] = {
6341
- ...il[e],
6344
+ ...tl[e],
6342
6345
  ...t[e]
6343
6346
  };
6344
6347
  let o = G({
6345
6348
  legacy: !1,
6346
- locale: e.locale ?? ol(i, n, r),
6349
+ locale: e.locale ?? rl(i, n, r),
6347
6350
  fallbackLocale: n,
6348
6351
  messages: a
6349
6352
  });
@@ -6354,7 +6357,7 @@ function al(e = {}) {
6354
6357
  typeof document < "u" && (document.documentElement.lang = e);
6355
6358
  }, { immediate: !0 }), o;
6356
6359
  }
6357
- function ol(e, t, n) {
6360
+ function rl(e, t, n) {
6358
6361
  try {
6359
6362
  let t = localStorage.getItem(n);
6360
6363
  if (t && e.includes(t)) return t;
@@ -6365,4 +6368,4 @@ function ol(e, t, n) {
6365
6368
  }
6366
6369
  return t;
6367
6370
  }
6368
- export { Sc as Age, ur as AppLauncher, Ni as AppShell, Gr as Avatar, la as AvatarGroup, ni as Badge, Hi as Breadcrumb, Z as Button, Xa as Calendar, pa as Card, vs as CardSelect, Ta as ChangeIndicator, Yo as Checkbox, ds as CheckboxGroup, oc as Checklist, ga as Chip, ya as Divider, ys as EmptyState, Or as Footer, Ia as FormField, ei as Header, Oa as InfoTip, Ra as Input, No as InputCode, bo as InputDate, Va as InputNumber, Oo as InputPassword, wo as InputRichText, ss as InputTextArea, fs as LanguageSwitcher, dr as Link, Ui as Menu, zc as Notification, Uc as NotificationPane, Zi as PageHeader, er as Popover, yi as Progress, ns as RadioGroup, bc as RelativeTime, qo as Select, na as SettingsRow, gi as Sidebar, Oi as Slideover, Gn as Spinner, Js as StatTile, Tc as Steps, rc as SummaryList, as as Switch, Bs as Table, Ec as Tabs, Xc as Toaster, xo as Tooltip, nl as UnsavedChangesBar, pc as age, X as cn, al as createKestonI18n, Ac as createNotifications, mc as daysToBirthday, rl as en, fc as formatDate, dc as formatDateTime, tr as kestonApps, hr as kestonFooterLinks, gr as kestonGroupLinks, uc as relativeTime, ri as sidebarTrail, Ss as sortRows, sc as toDate, il as uiMessages, Mc as useNotifications, vc as useNow };
6371
+ export { yc as Age, sr as AppLauncher, Ai as AppShell, Hr as Avatar, oa as AvatarGroup, $r as Badge, zi as Breadcrumb, Z as Button, qa as Calendar, ua as Card, hs as CardSelect, Sa as ChangeIndicator, Ko as Checkbox, cs as CheckboxGroup, rc as Checklist, pa as Chip, ga as Divider, gs as EmptyState, Tr as Footer, Na as FormField, Zr as Header, Ta as InfoTip, Fa as Input, Ao as InputCode, _o as InputDate, Ra as InputNumber, To as InputPassword, xo as InputRichText, is as InputTextArea, ls as LanguageSwitcher, cr as Link, Bi as Menu, Ic as Notification, Bc as NotificationPane, Ji as PageHeader, er as Popover, gi as Progress, $o as RadioGroup, _c as RelativeTime, Wo as Select, $i as SettingsRow, pi as Sidebar, Ti as Slideover, Gn as Spinner, Gs as StatTile, Sc as Steps, ec as SummaryList, ns as Switch, Ls as Table, Cc as Tabs, qc as Toaster, vo as Tooltip, $c as UnsavedChangesBar, uc as age, X as cn, nl as createKestonI18n, Dc as createNotifications, dc as daysToBirthday, el as en, lc as formatDate, cc as formatDateTime, tr as kestonApps, fr as kestonFooterLinks, pr as kestonGroupLinks, sc as relativeTime, ei as sidebarTrail, ys as sortRows, ic as toDate, tl as uiMessages, kc as useNotifications, hc as useNow };