@speckle/ui-components 2.23.6 → 2.23.7

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/lib.js CHANGED
@@ -1,20 +1,20 @@
1
1
  var nl = Object.defineProperty;
2
2
  var ol = (e, t, a) => t in e ? nl(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
3
- var xe = (e, t, a) => (ol(e, typeof t != "symbol" ? t + "" : t, a), a);
4
- import { defineComponent as U, resolveDynamicComponent as se, computed as d, openBlock as s, createBlock as T, normalizeClass as b, normalizeStyle as oe, withCtx as R, createCommentVNode as x, renderSlot as D, createTextVNode as F, createElementBlock as r, createElementVNode as u, createVNode as A, Transition as mt, unref as o, toDisplayString as O, toRefs as be, Fragment as X, renderList as ee, ref as j, onMounted as de, onBeforeUnmount as tt, mergeProps as Ce, mergeModels as Se, useModel as ze, watch as ue, withDirectives as Y, isRef as lt, vModelText as st, useSlots as nt, vModelDynamic as al, pushScopeId as zt, popScopeId as At, Teleport as pt, withModifiers as we, onUnmounted as il, toHandlers as It, nextTick as rl, resolveDirective as Ae, vShow as Et, getCurrentInstance as ul, inject as dl, withKeys as je, defineAsyncComponent as cl } from "vue";
5
- import { isObjectLike as Je, clamp as Bt, isBoolean as fl, noop as vt, debounce as _e, isUndefined as Be, isArray as le, isString as Oe, throttle as dt, uniq as hl, intersection as ml, difference as pl } from "lodash";
3
+ var we = (e, t, a) => (ol(e, typeof t != "symbol" ? t + "" : t, a), a);
4
+ import { defineComponent as U, resolveDynamicComponent as se, computed as d, openBlock as s, createBlock as T, normalizeClass as b, normalizeStyle as oe, withCtx as R, createCommentVNode as x, renderSlot as D, createTextVNode as F, createElementBlock as r, createElementVNode as u, createVNode as A, Transition as mt, unref as o, toDisplayString as O, toRefs as ge, Fragment as X, renderList as ee, ref as j, onMounted as de, onBeforeUnmount as tt, mergeProps as Ce, mergeModels as Se, useModel as ze, watch as ue, withDirectives as Y, isRef as lt, withModifiers as me, vModelText as st, useSlots as nt, vModelDynamic as al, pushScopeId as zt, popScopeId as At, Teleport as pt, onUnmounted as il, toHandlers as It, nextTick as rl, resolveDirective as Ae, vShow as Et, getCurrentInstance as ul, inject as dl, withKeys as je, defineAsyncComponent as cl } from "vue";
5
+ import { isObjectLike as Je, clamp as Bt, isBoolean as fl, noop as vt, debounce as Ge, isUndefined as Be, isArray as le, isString as Oe, throttle as dt, uniq as hl, intersection as ml, difference as pl } from "lodash";
6
6
  import { CheckCircleIcon as Rt, XCircleIcon as vl, ExclamationCircleIcon as Ne, InformationCircleIcon as bl, XMarkIcon as Pe, CheckIcon as bt, ChevronUpIcon as Ft, ChevronDownIcon as Dt, MagnifyingGlassIcon as Ut } from "@heroicons/vue/20/solid";
7
7
  import { wait as gl, isNullOrUndefined as yl, SourceApps as xl, getClientOperatingSystem as wl, OperatingSystem as ct, md5 as kl } from "@speckle/shared";
8
- import { buildManualPromise as Pd } from "@speckle/shared";
8
+ import { buildManualPromise as jd } from "@speckle/shared";
9
9
  import { useField as Ee } from "vee-validate";
10
10
  import { nanoid as Ze } from "nanoid";
11
11
  import { CheckIcon as Cl, InformationCircleIcon as Qe, ClipboardDocumentCheckIcon as $l, ClipboardDocumentIcon as Il, ChevronLeftIcon as Bl, XMarkIcon as Sl, ChevronDownIcon as Ol, ArrowLongLeftIcon as Pl, ArrowLongRightIcon as Ll, ExclamationTriangleIcon as Ml, ArrowUpRightIcon as Vl, CheckCircleIcon as jl, XCircleIcon as Tl, ExclamationCircleIcon as zl } from "@heroicons/vue/24/outline";
12
12
  import { directive as Le } from "vue-tippy";
13
13
  import { useResizeObserver as Wt, useMutationObserver as Al, useMounted as gt, useElementBounding as yt, useIntersectionObserver as Ht, onClickOutside as El, useClipboard as Rl, useMagicKeys as Fl, whenever as Dl, isClient as Me, useEventListener as St, useElementSize as Ul, computedAsync as Wl, useFocus as Hl, useDropZone as ql } from "@vueuse/core";
14
- import { Listbox as Kl, ListboxLabel as Gl, ListboxButton as _l, ListboxOptions as Nl, ListboxOption as Zl, Switch as Xl, TransitionRoot as qt, Dialog as Jl, TransitionChild as Ot, DialogPanel as Ql, Disclosure as Yl, DisclosureButton as es, DisclosurePanel as ts, Menu as ls, MenuButton as ss, MenuItems as ns, MenuItem as os, Combobox as as, ComboboxOptions as is, ComboboxOption as rs } from "@headlessui/vue";
14
+ import { Listbox as Kl, ListboxLabel as _l, ListboxButton as Gl, ListboxOptions as Nl, ListboxOption as Zl, Switch as Xl, TransitionRoot as qt, Dialog as Jl, TransitionChild as Ot, DialogPanel as Ql, Disclosure as Yl, DisclosureButton as es, DisclosurePanel as ts, Menu as ls, MenuButton as ss, MenuItems as ns, MenuItem as os, Combobox as as, ComboboxOptions as is, ComboboxOption as rs } from "@headlessui/vue";
15
15
  import { XMarkIcon as us, ChevronUpIcon as ds, Bars3Icon as cs, Squares2X2Icon as fs, UserCircleIcon as hs } from "@heroicons/vue/24/solid";
16
16
  import ms from "v3-infinite-loading";
17
- const me = /* @__PURE__ */ U({
17
+ const pe = /* @__PURE__ */ U({
18
18
  __name: "Button",
19
19
  props: {
20
20
  to: null,
@@ -240,7 +240,7 @@ const me = /* @__PURE__ */ U({
240
240
  }
241
241
  a("click", l);
242
242
  };
243
- return (l, v) => (s(), T(me, {
243
+ return (l, v) => (s(), T(pe, {
244
244
  link: e.underline,
245
245
  text: !e.underline,
246
246
  to: e.to,
@@ -273,7 +273,7 @@ const vs = {
273
273
  }, ks = {
274
274
  key: 1,
275
275
  class: "text-foreground-2 text-body-xs leading-snug"
276
- }, Cs = { key: 2 }, $s = { class: "ml-2 flex-shrink-0 mt-0.5" }, Is = /* @__PURE__ */ u("span", { class: "sr-only" }, "Close", -1), Ru = /* @__PURE__ */ U({
276
+ }, Cs = { key: 2 }, $s = { class: "ml-2 flex-shrink-0 mt-0.5" }, Is = /* @__PURE__ */ u("span", { class: "sr-only" }, "Close", -1), Wu = /* @__PURE__ */ U({
277
277
  __name: "ToastRenderer",
278
278
  props: {
279
279
  notification: null
@@ -450,7 +450,7 @@ function Ls(e) {
450
450
  Pt = Pt ? e : e.slice();
451
451
  }
452
452
  var Ke = /* @__PURE__ */ ((e) => (e[e.sm = 640] = "sm", e[e.md = 768] = "md", e[e.lg = 1024] = "lg", e[e.xl = 1280] = "xl", e[e["2xl"] = 1536] = "2xl", e))(Ke || {});
453
- function Gt(e) {
453
+ function _t(e) {
454
454
  const {
455
455
  props: {
456
456
  modelValue: t,
@@ -478,7 +478,7 @@ function Gt(e) {
478
478
  }, $ = d(() => {
479
479
  const k = ["flex"];
480
480
  let C, B;
481
- return (v == null ? void 0 : v.value) === "xs" ? (C = "space-x-2", B = "space-y-1") : (v == null ? void 0 : v.value) === "sm" ? (C = "space-x-4", B = "space-y-1") : (C = "space-x-8", B = "space-y-4"), k.push("flex"), h.value === "vertical" || i != null && i.value ? (k.push(`flex-col ${B} justify-center`), (i == null ? void 0 : i.value) === Ke.sm ? k.push(
481
+ return (v == null ? void 0 : v.value) === "xs" ? (C = "space-x-2", B = "space-y-1") : (v == null ? void 0 : v.value) === "sm" ? (C = "space-x-4", B = "space-y-1") : (C = "space-x-6", B = "space-y-4"), k.push("flex"), h.value === "vertical" || i != null && i.value ? (k.push(`flex-col ${B} justify-center`), (i == null ? void 0 : i.value) === Ke.sm ? k.push(
482
482
  `sm:flex-row sm:space-y-0 sm:justify-start sm:${C} sm:items-center`
483
483
  ) : (i == null ? void 0 : i.value) === Ke.md ? k.push(
484
484
  `md:flex-row md:space-y-0 md:justify-start md:${C} md:items-center`
@@ -503,10 +503,10 @@ function Gt(e) {
503
503
  };
504
504
  }
505
505
  Ls([
506
- "sm:space-x-8",
507
- "md:space-x-8",
508
- "lg:space-x-8",
509
- "xl:space-x-8",
506
+ "sm:space-x-6",
507
+ "md:space-x-6",
508
+ "lg:space-x-6",
509
+ "xl:space-x-6",
510
510
  "sm:space-x-2",
511
511
  "md:space-x-2",
512
512
  "lg:space-x-2",
@@ -516,16 +516,16 @@ Ls([
516
516
  "lg:space-x-4",
517
517
  "xl:space-x-4"
518
518
  ]);
519
- const Ms = ["aria-label"], Vs = ["href", "onClick"], js = { class: "flex space-x-3 items-center text-primary normal font-medium leading-5" }, Ts = { class: "shrink-0 h-8 w-8 rounded-full bg-primary text-foreground-on-primary inline-flex items-center justify-center select-none" }, zs = { class: "flex flex-col" }, As = {
519
+ const Ms = ["aria-label"], Vs = ["href", "onClick"], js = { class: "flex space-x-2 items-center" }, Ts = { class: "shrink-0 h-7 w-7 rounded-full border border-primary text-white bg-primary inline-flex items-center justify-center select-none" }, zs = { class: "flex flex-col" }, As = { class: "text-body-xs font-medium text-primary" }, Es = {
520
520
  key: 0,
521
- class: "label label--light text-foreground"
522
- }, Es = ["href", "onClick"], Rs = { class: "flex space-x-3 items-center text-primary normal font-medium leading-5" }, Fs = { class: "shrink-0 h-8 w-8 rounded-full border-2 border-primary inline-flex items-center justify-center select-none" }, Ds = { class: "flex flex-col" }, Us = {
521
+ class: "text-body-2xs text-foreground-2"
522
+ }, Rs = ["href", "onClick"], Fs = { class: "flex space-x-2 items-center" }, Ds = { class: "shrink-0 h-7 w-7 text-body-xs rounded-full border border-primary inline-flex items-center justify-center select-none text-primary" }, Us = { class: "flex flex-col" }, Ws = { class: "text-body-xs font-medium text-primary" }, Hs = {
523
523
  key: 0,
524
- class: "label label--light text-foreground"
525
- }, Ws = ["href", "onClick"], Hs = { class: "flex space-x-3 items-center text-foreground-disabled normal font-medium leading-5" }, qs = { class: "shrink-0 h-8 w-8 rounded-full border-2 border-foreground-disabled inline-flex items-center justify-center select-none" }, Ks = { class: "flex flex-col" }, Gs = {
524
+ class: "text-body-2xs text-foreground-2"
525
+ }, qs = ["href", "onClick"], Ks = { class: "flex space-x-2 items-center" }, _s = { class: "shrink-0 h-7 w-7 rounded-full border border-foreground-3 inline-flex items-center justify-center select-none text-foreground-3" }, Gs = { class: "flex flex-col" }, Ns = { class: "text-body-xs font-medium text-foreground-2" }, Zs = {
526
526
  key: 0,
527
- class: "label label--light"
528
- }, Fu = /* @__PURE__ */ U({
527
+ class: "text-body-2xs text-foreground-2"
528
+ }, Hu = /* @__PURE__ */ U({
529
529
  __name: "Number",
530
530
  props: {
531
531
  ariaLabel: null,
@@ -545,8 +545,8 @@ const Ms = ["aria-label"], Vs = ["href", "onClick"], js = { class: "flex space-x
545
545
  getStepDisplayValue: p,
546
546
  listClasses: h,
547
547
  linkClasses: m
548
- } = Gt({
549
- props: be(n),
548
+ } = _t({
549
+ props: ge(n),
550
550
  emit: a
551
551
  });
552
552
  return (f, y) => (s(), r("nav", {
@@ -567,11 +567,11 @@ const Ms = ["aria-label"], Vs = ["href", "onClick"], js = { class: "flex space-x
567
567
  }, [
568
568
  u("div", js, [
569
569
  u("div", Ts, [
570
- A(o(bt), { class: "w-5 h-5" })
570
+ A(o(bt), { class: "w-4 h-4" })
571
571
  ]),
572
572
  u("div", zs, [
573
- u("div", null, O(c.name), 1),
574
- c.description ? (s(), r("div", As, O(c.description), 1)) : x("", !0)
573
+ u("div", As, O(c.name), 1),
574
+ c.description ? (s(), r("div", Es, O(c.description), 1)) : x("", !0)
575
575
  ])
576
576
  ])
577
577
  ], 10, Vs)) : o(i)(g) ? (s(), r("a", {
@@ -581,50 +581,50 @@ const Ms = ["aria-label"], Vs = ["href", "onClick"], js = { class: "flex space-x
581
581
  "aria-current": "step",
582
582
  onClick: ($) => o(v)(g, $)
583
583
  }, [
584
- u("div", Rs, [
585
- u("div", Fs, O(o(p)(g)), 1),
586
- u("div", Ds, [
587
- u("div", null, O(c.name), 1),
588
- c.description ? (s(), r("div", Us, O(c.description), 1)) : x("", !0)
584
+ u("div", Fs, [
585
+ u("div", Ds, O(o(p)(g)), 1),
586
+ u("div", Us, [
587
+ u("div", Ws, O(c.name), 1),
588
+ c.description ? (s(), r("div", Hs, O(c.description), 1)) : x("", !0)
589
589
  ])
590
590
  ])
591
- ], 10, Es)) : (s(), r("a", {
591
+ ], 10, Rs)) : (s(), r("a", {
592
592
  key: 2,
593
593
  href: c.href,
594
594
  class: b(o(m)),
595
595
  onClick: ($) => o(v)(g, $)
596
596
  }, [
597
- u("div", Hs, [
598
- u("div", qs, O(o(p)(g)), 1),
599
- u("div", Ks, [
600
- u("div", null, O(c.name), 1),
601
- c.description ? (s(), r("div", Gs, O(c.description), 1)) : x("", !0)
597
+ u("div", Ks, [
598
+ u("div", _s, O(o(p)(g)), 1),
599
+ u("div", Gs, [
600
+ u("div", Ns, O(c.name), 1),
601
+ c.description ? (s(), r("div", Zs, O(c.description), 1)) : x("", !0)
602
602
  ])
603
603
  ])
604
- ], 10, Ws))
604
+ ], 10, qs))
605
605
  ]))), 128))
606
606
  ], 2)
607
607
  ], 8, Ms));
608
608
  }
609
- }), _s = ["aria-label"], Ns = ["href", "onClick"], Zs = { class: "relative flex h-5 w-5 flex-shrink-0 items-center justify-center" }, Xs = {
609
+ }), Xs = ["aria-label"], Js = ["href", "onClick"], Qs = { class: "relative flex h-5 w-5 flex-shrink-0 items-center justify-center" }, Ys = {
610
610
  key: 0,
611
611
  class: "h-3 w-3 rounded-full bg-foreground-2"
612
- }, Js = ["href", "onClick"], Qs = {
612
+ }, en = ["href", "onClick"], tn = {
613
613
  class: "relative flex h-5 w-5 flex-shrink-0 items-center justify-center",
614
614
  "aria-hidden": "true"
615
- }, Ys = {
615
+ }, ln = {
616
616
  key: 0,
617
617
  class: "h-3 w-3 rounded-full bg-foreground"
618
- }, en = /* @__PURE__ */ u("span", { class: "absolute h-4 w-4 rounded-full bg-outline-2" }, null, -1), tn = /* @__PURE__ */ u("span", { class: "relative block h-2 w-2 rounded-full bg-primary-focus" }, null, -1), ln = ["href", "onClick"], sn = {
618
+ }, sn = /* @__PURE__ */ u("span", { class: "absolute h-4 w-4 rounded-full bg-outline-2" }, null, -1), nn = /* @__PURE__ */ u("span", { class: "relative block h-2 w-2 rounded-full bg-primary-focus" }, null, -1), on = ["href", "onClick"], an = {
619
619
  class: "relative flex h-5 w-5 flex-shrink-0 items-center justify-center",
620
620
  "aria-hidden": "true"
621
- }, nn = {
621
+ }, rn = {
622
622
  key: 0,
623
623
  class: "h-3 w-3 rounded-full bg-foreground-2"
624
- }, on = {
624
+ }, un = {
625
625
  key: 1,
626
626
  class: "h-4 w-4 rounded-full bg-foreground-disabled"
627
- }, Du = /* @__PURE__ */ U({
627
+ }, qu = /* @__PURE__ */ U({
628
628
  __name: "Bullet",
629
629
  props: {
630
630
  ariaLabel: null,
@@ -638,8 +638,8 @@ const Ms = ["aria-label"], Vs = ["href", "onClick"], js = { class: "flex space-x
638
638
  },
639
639
  emits: ["update:modelValue"],
640
640
  setup(e, { emit: t }) {
641
- const a = t, n = e, { isCurrentStep: i, isFinishedStep: l, switchStep: v, listClasses: p, linkClasses: h } = Gt({
642
- props: be(n),
641
+ const a = t, n = e, { isCurrentStep: i, isFinishedStep: l, switchStep: v, listClasses: p, linkClasses: h } = _t({
642
+ props: ge(n),
643
643
  emit: a
644
644
  }), m = d(() => {
645
645
  const y = ["h6 font-medium leading-7"];
@@ -665,8 +665,8 @@ const Ms = ["aria-label"], Vs = ["href", "onClick"], js = { class: "flex space-x
665
665
  class: b(o(h)),
666
666
  onClick: (E) => o(v)($, E)
667
667
  }, [
668
- u("span", Zs, [
669
- e.basic ? (s(), r("span", Xs)) : (s(), T(o(Rt), {
668
+ u("span", Qs, [
669
+ e.basic ? (s(), r("span", Ys)) : (s(), T(o(Rt), {
670
670
  key: 1,
671
671
  class: "h-full w-full text-primary",
672
672
  "aria-hidden": "true"
@@ -675,45 +675,45 @@ const Ms = ["aria-label"], Vs = ["href", "onClick"], js = { class: "flex space-x
675
675
  u("span", {
676
676
  class: b(["text-foreground", m.value])
677
677
  }, O(g.name), 3)
678
- ], 10, Ns)) : o(i)($) ? (s(), r("a", {
678
+ ], 10, Js)) : o(i)($) ? (s(), r("a", {
679
679
  key: 1,
680
680
  href: g.href,
681
681
  class: b(o(h)),
682
682
  "aria-current": "step",
683
683
  onClick: (E) => o(v)($, E)
684
684
  }, [
685
- u("span", Qs, [
686
- e.basic ? (s(), r("span", Ys)) : (s(), r(X, { key: 1 }, [
687
- en,
688
- tn
685
+ u("span", tn, [
686
+ e.basic ? (s(), r("span", ln)) : (s(), r(X, { key: 1 }, [
687
+ sn,
688
+ nn
689
689
  ], 64))
690
690
  ]),
691
691
  u("span", {
692
692
  class: b(["text-primary-focus", m.value])
693
693
  }, O(g.name), 3)
694
- ], 10, Js)) : (s(), r("a", {
694
+ ], 10, en)) : (s(), r("a", {
695
695
  key: 2,
696
696
  href: g.href,
697
697
  class: b(o(h)),
698
698
  onClick: (E) => o(v)($, E)
699
699
  }, [
700
- u("div", sn, [
701
- e.basic ? (s(), r("span", nn)) : (s(), r("div", on))
700
+ u("div", an, [
701
+ e.basic ? (s(), r("span", rn)) : (s(), r("div", un))
702
702
  ]),
703
703
  u("p", {
704
704
  class: b(["text-foreground-disabled", m.value])
705
705
  }, O(g.name), 3)
706
- ], 10, ln))
706
+ ], 10, on))
707
707
  ]))), 128))
708
708
  ], 2)
709
- ], 8, _s));
709
+ ], 8, Xs));
710
710
  }
711
711
  }), ke = (e, t) => {
712
712
  const a = e.__vccOpts || e;
713
713
  for (const [n, i] of t)
714
714
  a[n] = i;
715
715
  return a;
716
- }, an = {}, rn = {
716
+ }, dn = {}, cn = {
717
717
  xmlns: "http://www.w3.org/2000/svg",
718
718
  class: "icon icon-tabler icon-tabler-pointer",
719
719
  width: "44",
@@ -724,34 +724,34 @@ const Ms = ["aria-label"], Vs = ["href", "onClick"], js = { class: "flex space-x
724
724
  fill: "rgba(255,255,255,0.8)",
725
725
  "stroke-linecap": "round",
726
726
  "stroke-linejoin": "round"
727
- }, un = /* @__PURE__ */ u("path", {
727
+ }, fn = /* @__PURE__ */ u("path", {
728
728
  stroke: "none",
729
729
  d: "M0 0h24v24H0z",
730
730
  fill: "none"
731
- }, null, -1), dn = /* @__PURE__ */ u("path", { d: "M7.904 17.563a1.2 1.2 0 0 0 2.228 .308l2.09 -3.093l4.907 4.907a1.067 1.067 0 0 0 1.509 0l1.047 -1.047a1.067 1.067 0 0 0 0 -1.509l-4.907 -4.907l3.113 -2.09a1.2 1.2 0 0 0 -.309 -2.228l-13.582 -3.904l3.904 13.563z" }, null, -1), cn = [
732
- un,
733
- dn
731
+ }, null, -1), hn = /* @__PURE__ */ u("path", { d: "M7.904 17.563a1.2 1.2 0 0 0 2.228 .308l2.09 -3.093l4.907 4.907a1.067 1.067 0 0 0 1.509 0l1.047 -1.047a1.067 1.067 0 0 0 0 -1.509l-4.907 -4.907l3.113 -2.09a1.2 1.2 0 0 0 -.309 -2.228l-13.582 -3.904l3.904 13.563z" }, null, -1), mn = [
732
+ fn,
733
+ hn
734
734
  ];
735
- function fn(e, t) {
736
- return s(), r("svg", rn, cn);
735
+ function pn(e, t) {
736
+ return s(), r("svg", cn, mn);
737
737
  }
738
- const hn = /* @__PURE__ */ ke(an, [["render", fn]]), mn = {}, pn = {
738
+ const vn = /* @__PURE__ */ ke(dn, [["render", pn]]), bn = {}, gn = {
739
739
  viewBox: "0 0 18 17",
740
740
  fill: "none",
741
741
  xmlns: "http://www.w3.org/2000/svg"
742
- }, vn = /* @__PURE__ */ u("path", {
742
+ }, yn = /* @__PURE__ */ u("path", {
743
743
  d: "M9 1.25V3.5M14.834 3.666L13.243 5.257M17.25 9.5H15M4.757 13.743L3.167 15.333M3 9.5H0.75M4.757 5.257L3.167 3.667",
744
744
  stroke: "currentColor",
745
745
  "stroke-width": "1",
746
746
  "stroke-linecap": "round",
747
747
  "stroke-linejoin": "round"
748
- }, null, -1), bn = [
749
- vn
748
+ }, null, -1), xn = [
749
+ yn
750
750
  ];
751
- function gn(e, t) {
752
- return s(), r("svg", pn, bn);
751
+ function wn(e, t) {
752
+ return s(), r("svg", gn, xn);
753
753
  }
754
- const yn = /* @__PURE__ */ ke(mn, [["render", gn]]), xn = { class: "relative aspect-square w-full h-full max-w-[250px] mx-auto mb-8 border-t border-r border-outline-3 select-none" }, wn = { class: "w-full h-full overflow-hidden" }, Uu = /* @__PURE__ */ U({
754
+ const kn = /* @__PURE__ */ ke(bn, [["render", wn]]), Cn = { class: "relative aspect-square w-full h-full max-w-[250px] mx-auto mb-8 border-t border-r border-outline-3 select-none" }, $n = { class: "w-full h-full overflow-hidden" }, Ku = /* @__PURE__ */ U({
755
755
  __name: "Instructional",
756
756
  props: {
757
757
  actions: Array,
@@ -795,7 +795,7 @@ const yn = /* @__PURE__ */ ke(mn, [["render", gn]]), xn = { class: "relative asp
795
795
  })();
796
796
  }), tt(() => {
797
797
  a.value = !1;
798
- }), (y, c) => (s(), r("div", xn, [
798
+ }), (y, c) => (s(), r("div", Cn, [
799
799
  u("div", {
800
800
  class: "absolute z-50 text-foreground dark:text-foundation",
801
801
  style: oe({
@@ -805,12 +805,12 @@ const yn = /* @__PURE__ */ ke(mn, [["render", gn]]), xn = { class: "relative asp
805
805
  transitionDuration: l.value + "ms"
806
806
  })
807
807
  }, [
808
- A(yn, {
808
+ A(kn, {
809
809
  class: b(["absolute -top-5 -left-4 h-12 w-12 -rotate-12 text-foreground", [{ hidden: !i.value }]])
810
810
  }, null, 8, ["class"]),
811
- A(hn, { class: "absolute top-0 left-0 right-0 bottom-0 h-11 w-11" })
811
+ A(vn, { class: "absolute top-0 left-0 right-0 bottom-0 h-11 w-11" })
812
812
  ], 4),
813
- u("div", wn, [
813
+ u("div", $n, [
814
814
  D(y.$slots, "background"),
815
815
  (s(!0), r(X, null, ee(p.value, (g) => (s(), r(X, {
816
816
  key: g.name
@@ -820,7 +820,7 @@ const yn = /* @__PURE__ */ ke(mn, [["render", gn]]), xn = { class: "relative asp
820
820
  ])
821
821
  ]));
822
822
  }
823
- }), kn = { class: "relative bg-foundation" }, Cn = /* @__PURE__ */ u("div", {
823
+ }), In = { class: "relative bg-foundation" }, Bn = /* @__PURE__ */ u("div", {
824
824
  class: "absolute top-0 left-0 right-0 bottom-0 flex items-center justify-center",
825
825
  role: "status"
826
826
  }, [
@@ -841,7 +841,7 @@ const yn = /* @__PURE__ */ ke(mn, [["render", gn]]), xn = { class: "relative asp
841
841
  })
842
842
  ]),
843
843
  /* @__PURE__ */ u("span", { class: "sr-only" }, "Loading...")
844
- ], -1), $n = ["title", "src"], Wu = /* @__PURE__ */ U({
844
+ ], -1), Sn = ["title", "src"], _u = /* @__PURE__ */ U({
845
845
  __name: "VimeoEmbed",
846
846
  props: {
847
847
  vimeoId: null,
@@ -851,8 +851,8 @@ const yn = /* @__PURE__ */ ke(mn, [["render", gn]]), xn = { class: "relative asp
851
851
  controls: { type: Boolean }
852
852
  },
853
853
  setup(e) {
854
- return (t, a) => (s(), r("div", kn, [
855
- Cn,
854
+ return (t, a) => (s(), r("div", In, [
855
+ Bn,
856
856
  u("iframe", {
857
857
  title: e.title,
858
858
  src: `https://player.vimeo.com/video/${e.vimeoId}?badge=0&autopause=0&player_id=0&app_id=58479&autoplay=${e.autoplay ? "1" : "0"}&muted=${e.muted ? "1" : "0"}&controls=${e.controls ? "1" : "0"}`,
@@ -860,10 +860,10 @@ const yn = /* @__PURE__ */ ke(mn, [["render", gn]]), xn = { class: "relative asp
860
860
  allow: "autoplay; fullscreen;",
861
861
  allowfullscreen: "",
862
862
  class: "aspect-video w-full relative z-10"
863
- }, null, 8, $n)
863
+ }, null, 8, Sn)
864
864
  ]));
865
865
  }
866
- }), In = ["disabled"], Hu = /* @__PURE__ */ U({
866
+ }), On = ["disabled"], Gu = /* @__PURE__ */ U({
867
867
  __name: "CardButton",
868
868
  props: {
869
869
  disabled: { type: Boolean },
@@ -894,12 +894,12 @@ const yn = /* @__PURE__ */ ke(mn, [["render", gn]]), xn = { class: "relative asp
894
894
  D(v.$slots, "default", {}, () => [
895
895
  F("Text")
896
896
  ])
897
- ], 10, In));
897
+ ], 10, On));
898
898
  }
899
- }), Bn = ["id", "checked", "aria-describedby", "name", "disabled", "value"], Sn = ["for"], On = { class: "text-body-xs text-foreground font-medium" }, Pn = {
899
+ }), Pn = ["id", "checked", "aria-describedby", "name", "disabled", "value"], Ln = ["for"], Mn = { class: "text-body-xs text-foreground font-medium" }, Vn = {
900
900
  key: 0,
901
901
  class: "text-danger ml-1"
902
- }, Ln = ["id"], Mn = /* @__PURE__ */ U({
902
+ }, jn = ["id"], Tn = /* @__PURE__ */ U({
903
903
  inheritAttrs: !1,
904
904
  __name: "Checkbox",
905
905
  props: {
@@ -1034,7 +1034,7 @@ const yn = /* @__PURE__ */ ke(mn, [["render", gn]]), xn = { class: "relative asp
1034
1034
  value: n.value,
1035
1035
  type: "checkbox",
1036
1036
  class: $.value
1037
- }, k.$attrs, { onChange: E }), null, 16, Bn)
1037
+ }, k.$attrs, { onChange: E }), null, 16, Pn)
1038
1038
  ], 2),
1039
1039
  u("div", {
1040
1040
  class: b(["text-sm", e.labelPosition === "left" ? "w-1/2" : "ml-2"])
@@ -1043,21 +1043,21 @@ const yn = /* @__PURE__ */ ke(mn, [["render", gn]]), xn = { class: "relative asp
1043
1043
  for: g.value,
1044
1044
  class: b({ "sr-only": e.hideLabel })
1045
1045
  }, [
1046
- u("span", On, O(h.value), 1),
1047
- e.showRequired ? (s(), r("span", Pn, "*")) : x("", !0),
1046
+ u("span", Mn, O(h.value), 1),
1047
+ e.showRequired ? (s(), r("span", Vn, "*")) : x("", !0),
1048
1048
  m.value ? (s(), r("p", {
1049
1049
  key: 1,
1050
1050
  id: f.value,
1051
1051
  class: b(y.value)
1052
- }, O(m.value), 11, Ln)) : x("", !0)
1053
- ], 10, Sn)
1052
+ }, O(m.value), 11, jn)) : x("", !0)
1053
+ ], 10, Ln)
1054
1054
  ], 2)
1055
1055
  ], 2));
1056
1056
  }
1057
- }), Vn = { class: "flex h-6 items-center" }, jn = ["id", "checked", "aria-describedby", "name", "disabled", "value"], Tn = ["for"], zn = { key: 0 }, An = { class: "flex flex-col" }, En = { class: "text-body-sm font-medium" }, Rn = ["id"], Fn = {
1057
+ }), zn = { class: "flex h-6 items-center" }, An = ["id", "checked", "aria-describedby", "name", "disabled", "value"], En = ["for"], Rn = { key: 0 }, Fn = { class: "flex flex-col" }, Dn = { class: "text-body-sm font-medium" }, Un = ["id"], Wn = {
1058
1058
  key: 1,
1059
1059
  class: "text-danger ml-1"
1060
- }, Dn = ["id"], qu = /* @__PURE__ */ U({
1060
+ }, Hn = ["id"], Nu = /* @__PURE__ */ U({
1061
1061
  inheritAttrs: !1,
1062
1062
  __name: "Radio",
1063
1063
  props: {
@@ -1175,7 +1175,7 @@ const yn = /* @__PURE__ */ ke(mn, [["render", gn]]), xn = { class: "relative asp
1175
1175
  }), (k, C) => (s(), r("div", {
1176
1176
  class: b(["relative flex space-x-2 mb-2 last:mb-0", e.description && e.inlineDescription ? "items-start" : "items-center"])
1177
1177
  }, [
1178
- u("div", Vn, [
1178
+ u("div", zn, [
1179
1179
  u("input", Ce({
1180
1180
  id: $.value,
1181
1181
  checked: o(i),
@@ -1185,7 +1185,7 @@ const yn = /* @__PURE__ */ ke(mn, [["render", gn]]), xn = { class: "relative asp
1185
1185
  value: n.value,
1186
1186
  type: "radio",
1187
1187
  class: ["h-4 w-4 rounded-full text-primary focus:ring-primary bg-foundation disabled:cursor-not-allowed disabled:bg-disabled disabled:text-disabled-2", m.value]
1188
- }, k.$attrs, { onChange: E }), null, 16, jn)
1188
+ }, k.$attrs, { onChange: E }), null, 16, An)
1189
1189
  ]),
1190
1190
  u("div", {
1191
1191
  class: b(["text-xs sm:text-sm", e.inlineDescription ? "flex space-x-2 items-center" : ""])
@@ -1194,40 +1194,40 @@ const yn = /* @__PURE__ */ ke(mn, [["render", gn]]), xn = { class: "relative asp
1194
1194
  for: $.value,
1195
1195
  class: b(["text-foreground flex space-x-2 items-center", { "sr-only": e.hideLabel }])
1196
1196
  }, [
1197
- e.icon ? (s(), r("div", zn, [
1197
+ e.icon ? (s(), r("div", Rn, [
1198
1198
  (s(), T(se(e.icon), { class: "h-8 sm:h-10 w-8 sm:w-10" }))
1199
1199
  ])) : x("", !0),
1200
- u("div", An, [
1201
- u("span", En, O(h.value), 1),
1200
+ u("div", Fn, [
1201
+ u("span", Dn, O(h.value), 1),
1202
1202
  f.value && !e.inlineDescription ? (s(), r("p", {
1203
1203
  key: 0,
1204
1204
  id: y.value,
1205
1205
  class: b(c.value)
1206
- }, O(f.value), 11, Rn)) : x("", !0)
1206
+ }, O(f.value), 11, Un)) : x("", !0)
1207
1207
  ]),
1208
- e.showRequired ? (s(), r("span", Fn, "*")) : x("", !0)
1209
- ], 10, Tn),
1208
+ e.showRequired ? (s(), r("span", Wn, "*")) : x("", !0)
1209
+ ], 10, En),
1210
1210
  f.value && e.inlineDescription ? (s(), r("p", {
1211
1211
  key: 0,
1212
1212
  id: y.value,
1213
1213
  class: b(c.value)
1214
- }, O(f.value), 11, Dn)) : x("", !0)
1214
+ }, O(f.value), 11, Hn)) : x("", !0)
1215
1215
  ], 2)
1216
1216
  ], 2));
1217
1217
  }
1218
- }), Un = { class: "flex flex-col sm:flex-row items-stretch space-y-3 sm:space-y-0 sm:space-x-3 w-full" }, Wn = ["disabled", "onClick"], Hn = {
1218
+ }), qn = { class: "flex flex-col sm:flex-row items-stretch space-y-3 sm:space-y-0 sm:space-x-3 w-full" }, Kn = ["disabled", "onClick"], _n = {
1219
1219
  key: 0,
1220
1220
  class: "h-full w-full rounded-full bg-primary flex items-center justify-center"
1221
- }, qn = { class: "px-3 py-4 flex flex-col space-y-3 h-full" }, Kn = { class: "flex flex-col items-start text-left" }, Gn = {
1221
+ }, Gn = { class: "px-3 py-4 flex flex-col space-y-3 h-full" }, Nn = { class: "flex flex-col items-start text-left" }, Zn = {
1222
1222
  key: 0,
1223
1223
  class: "text-body-xs text-foreground-2 pb-1 select-none"
1224
- }, _n = {
1224
+ }, Xn = {
1225
1225
  key: 0,
1226
1226
  class: "sm:hidden text-xs flex space-x-0.5 mt-2 text-foreground"
1227
- }, Nn = { class: "hidden sm:flex space-x-3 w-full" }, Zn = {
1227
+ }, Jn = { class: "hidden sm:flex space-x-3 w-full" }, Qn = {
1228
1228
  key: 0,
1229
1229
  class: "text-xs flex space-x-0.5 mt-2 text-foreground select-none"
1230
- }, Ku = /* @__PURE__ */ U({
1230
+ }, Zu = /* @__PURE__ */ U({
1231
1231
  __name: "RadioGroup",
1232
1232
  props: /* @__PURE__ */ Se({
1233
1233
  options: null,
@@ -1242,7 +1242,7 @@ const yn = /* @__PURE__ */ ke(mn, [["render", gn]]), xn = { class: "relative asp
1242
1242
  t.value = n;
1243
1243
  };
1244
1244
  return (n, i) => (s(), r("div", null, [
1245
- u("div", Un, [
1245
+ u("div", qn, [
1246
1246
  (s(!0), r(X, null, ee(e.options, (l) => (s(), r("div", {
1247
1247
  key: l.value,
1248
1248
  class: "w-full flex flex-col"
@@ -1258,32 +1258,32 @@ const yn = /* @__PURE__ */ ke(mn, [["render", gn]]), xn = { class: "relative asp
1258
1258
  u("div", {
1259
1259
  class: b(["absolute top-4 right-3 h-6 w-6 rounded-full", [t.value === l.value ? "" : "border border-outline-3"]])
1260
1260
  }, [
1261
- t.value === l.value ? (s(), r("div", Hn, [
1261
+ t.value === l.value ? (s(), r("div", _n, [
1262
1262
  A(o(Cl), { class: "w-4 h-4 text-white" })
1263
1263
  ])) : x("", !0)
1264
1264
  ], 2),
1265
- u("div", qn, [
1265
+ u("div", Gn, [
1266
1266
  (s(), T(se(l.icon), { class: "text-foreground h-8 w-8 -mt-1 stroke-[1px]" })),
1267
- u("div", Kn, [
1267
+ u("div", Nn, [
1268
1268
  u("h4", {
1269
1269
  class: b(["font-medium", l.introduction ? "text-body-sm" : "text-body-xs"])
1270
1270
  }, O(l.title), 3),
1271
- l.introduction ? (s(), r("div", Gn, O(l.introduction), 1)) : x("", !0)
1271
+ l.introduction ? (s(), r("div", Zn, O(l.introduction), 1)) : x("", !0)
1272
1272
  ])
1273
1273
  ])
1274
- ], 10, Wn),
1275
- l.help ? (s(), r("div", _n, [
1274
+ ], 10, Kn),
1275
+ l.help ? (s(), r("div", Xn, [
1276
1276
  A(o(Qe), { class: "h-4 w-4" }),
1277
1277
  F(" " + O(l.help), 1)
1278
1278
  ])) : x("", !0)
1279
1279
  ]))), 128))
1280
1280
  ]),
1281
- u("div", Nn, [
1281
+ u("div", Jn, [
1282
1282
  (s(!0), r(X, null, ee(e.options, (l) => (s(), r("div", {
1283
1283
  key: l.value,
1284
1284
  class: "w-full"
1285
1285
  }, [
1286
- l.help ? (s(), r("div", Zn, [
1286
+ l.help ? (s(), r("div", Qn, [
1287
1287
  A(o(Qe), { class: "h-4 w-4" }),
1288
1288
  F(" " + O(l.help), 1)
1289
1289
  ])) : x("", !0)
@@ -1363,7 +1363,7 @@ function xt(e) {
1363
1363
  hasError: g
1364
1364
  };
1365
1365
  }
1366
- function Gu(e) {
1366
+ function Xu(e) {
1367
1367
  const { debouncedBy: t = 1e3, isBasicHtmlInput: a = !1, submitOnEnter: n } = e || {}, i = e != null && e.debug ? fl(e.debug) ? console.debug : e.debug : vt, l = (e == null ? void 0 : e.model) || j(""), v = j(l.value), p = (c) => {
1368
1368
  if (Oe(c))
1369
1369
  return c;
@@ -1371,7 +1371,7 @@ function Gu(e) {
1371
1371
  return c.value;
1372
1372
  const g = c.target;
1373
1373
  return (g == null ? void 0 : g.value) || "";
1374
- }, h = _e((c) => {
1374
+ }, h = Ge((c) => {
1375
1375
  l.value = c, i("Value updated: " + c);
1376
1376
  }, t), m = a ? "input" : "update:modelValue", f = {
1377
1377
  [m]: (c) => {
@@ -1401,13 +1401,13 @@ function Gu(e) {
1401
1401
  value: l
1402
1402
  };
1403
1403
  }
1404
- const Xn = ["for"], Jn = {
1404
+ const Yn = ["for"], eo = {
1405
1405
  key: 0,
1406
1406
  class: "text-danger text-body-xs opacity-80"
1407
- }, Qn = {
1407
+ }, to = {
1408
1408
  key: 1,
1409
1409
  class: "text-body-2xs font-normal"
1410
- }, Yn = ["id", "name", "placeholder", "disabled", "aria-invalid", "aria-describedby"], eo = /* @__PURE__ */ u("span", { class: "text-xs sr-only" }, "Clear input", -1), to = ["id"], _u = /* @__PURE__ */ U({
1410
+ }, lo = ["id", "name", "placeholder", "disabled", "aria-invalid", "aria-describedby"], so = /* @__PURE__ */ u("span", { class: "text-xs sr-only" }, "Clear input", -1), no = ["id"], Ju = /* @__PURE__ */ U({
1411
1411
  __name: "TextArea",
1412
1412
  props: {
1413
1413
  name: null,
@@ -1447,7 +1447,7 @@ const Xn = ["for"], Jn = {
1447
1447
  focus: E,
1448
1448
  shouldShowClear: k
1449
1449
  } = xt({
1450
- props: be(i),
1450
+ props: ge(i),
1451
1451
  emit: n,
1452
1452
  inputEl: l
1453
1453
  }), C = d(() => {
@@ -1484,8 +1484,8 @@ const Xn = ["for"], Jn = {
1484
1484
  class: b(o(g))
1485
1485
  }, [
1486
1486
  u("span", null, O(o(p)), 1),
1487
- e.showRequired ? (s(), r("div", Jn, "*")) : e.showOptional ? (s(), r("div", Qn, "(optional)")) : x("", !0)
1488
- ], 10, Xn)
1487
+ e.showRequired ? (s(), r("div", eo, "*")) : e.showOptional ? (s(), r("div", to, "(optional)")) : x("", !0)
1488
+ ], 10, Yn)
1489
1489
  ], 2),
1490
1490
  u("div", {
1491
1491
  class: b(["relative", e.labelPosition === "left" ? "w-full md:w-6/12" : "w-full"])
@@ -1509,20 +1509,22 @@ const Xn = ["for"], Jn = {
1509
1509
  "aria-describedby": o(m)
1510
1510
  }, I.$attrs, {
1511
1511
  onChange: V[1] || (V[1] = (w) => I.$emit("change", { event: w, value: o(h) })),
1512
- onInput: V[2] || (V[2] = (w) => I.$emit("input", { event: w, value: o(h) }))
1513
- }), null, 16, Yn), [
1512
+ onInput: V[2] || (V[2] = (w) => I.$emit("input", { event: w, value: o(h) })),
1513
+ onKeydown: V[3] || (V[3] = me(() => {
1514
+ }, ["stop"]))
1515
+ }), null, 16, lo), [
1514
1516
  [st, o(h)]
1515
1517
  ]),
1516
1518
  o(k) ? (s(), r("a", {
1517
1519
  key: 0,
1518
1520
  title: "Clear input",
1519
1521
  class: "absolute top-2 right-0 flex items-center pr-2 cursor-pointer",
1520
- onClick: V[3] || (V[3] = //@ts-ignore
1522
+ onClick: V[4] || (V[4] = //@ts-ignore
1521
1523
  (...w) => o($) && o($)(...w)),
1522
- onKeydown: V[4] || (V[4] = //@ts-ignore
1524
+ onKeydown: V[5] || (V[5] = //@ts-ignore
1523
1525
  (...w) => o($) && o($)(...w))
1524
1526
  }, [
1525
- eo,
1527
+ so,
1526
1528
  A(o(Pe), {
1527
1529
  class: "h-5 w-5 text-foreground",
1528
1530
  "aria-hidden": "true"
@@ -1549,22 +1551,22 @@ const Xn = ["for"], Jn = {
1549
1551
  key: 0,
1550
1552
  id: o(m),
1551
1553
  class: b(["mt-1.5", o(f)])
1552
- }, O(o(y)), 11, to)) : x("", !0)
1554
+ }, O(o(y)), 11, no)) : x("", !0)
1553
1555
  ], 2));
1554
1556
  }
1555
- }), lo = ["for"], so = {
1557
+ }), oo = ["for"], ao = {
1556
1558
  key: 0,
1557
1559
  class: "text-danger text-body-xs opacity-80"
1558
- }, no = {
1560
+ }, io = {
1559
1561
  key: 1,
1560
1562
  class: "text-body-2xs font-normal"
1561
- }, oo = ["id"], ao = {
1563
+ }, ro = ["id"], uo = {
1562
1564
  key: 0,
1563
1565
  class: "pointer-events-none absolute top-0 bottom-0 left-0 flex items-center pl-2"
1564
- }, io = {
1566
+ }, co = {
1565
1567
  key: 1,
1566
1568
  class: "absolute top-0 h-full right-0 flex items-center pr-2 text-foreground-3"
1567
- }, ro = ["id", "type", "name", "placeholder", "disabled", "aria-invalid", "aria-describedby", "readonly"], uo = ["title"], co = { class: "text-body-xs sr-only" }, fo = /* @__PURE__ */ u("span", { class: "text-body-xs sr-only" }, "Clear input", -1), ho = ["id"], mo = /* @__PURE__ */ U({
1569
+ }, fo = ["id", "type", "name", "placeholder", "disabled", "aria-invalid", "aria-describedby", "readonly"], ho = ["title"], mo = { class: "text-body-xs sr-only" }, po = /* @__PURE__ */ u("span", { class: "text-body-xs sr-only" }, "Clear input", -1), vo = ["id"], bo = /* @__PURE__ */ U({
1568
1570
  inheritAttrs: !1,
1569
1571
  __name: "TextInput",
1570
1572
  props: {
@@ -1757,7 +1759,7 @@ const Xn = ["for"], Jn = {
1757
1759
  labelClasses: C,
1758
1760
  shouldShowClear: B
1759
1761
  } = xt({
1760
- props: be(n),
1762
+ props: ge(n),
1761
1763
  emit: i,
1762
1764
  inputEl: v
1763
1765
  }), M = d(() => {
@@ -1784,7 +1786,7 @@ const Xn = ["for"], Jn = {
1784
1786
  }), P = () => {
1785
1787
  i("rightIconClick");
1786
1788
  };
1787
- return t({ focus: k }), (z, q) => (s(), r("div", {
1789
+ return t({ focus: k }), (z, W) => (s(), r("div", {
1788
1790
  class: b(w.value)
1789
1791
  }, [
1790
1792
  u("div", {
@@ -1797,25 +1799,25 @@ const Xn = ["for"], Jn = {
1797
1799
  class: b(o(C))
1798
1800
  }, [
1799
1801
  u("span", null, O(o(h)), 1),
1800
- e.showRequired ? (s(), r("div", so, "*")) : e.showOptional ? (s(), r("div", no, "(optional)")) : x("", !0)
1801
- ], 10, lo),
1802
+ e.showRequired ? (s(), r("div", ao, "*")) : e.showOptional ? (s(), r("div", io, "(optional)")) : x("", !0)
1803
+ ], 10, oo),
1802
1804
  e.labelPosition === "left" && o(f) && !o(g) ? (s(), r("p", {
1803
1805
  key: 0,
1804
1806
  id: o(f),
1805
1807
  class: b(o(y))
1806
- }, O(o(c)), 11, oo)) : x("", !0)
1808
+ }, O(o(c)), 11, ro)) : x("", !0)
1807
1809
  ], 2),
1808
1810
  u("div", {
1809
1811
  class: b(["group relative", e.labelPosition === "left" ? "w-full md:w-6/12" : "w-full"])
1810
1812
  }, [
1811
- e.customIcon ? (s(), r("div", ao, [
1813
+ e.customIcon ? (s(), r("div", uo, [
1812
1814
  e.customIcon ? (s(), T(se(e.customIcon), {
1813
1815
  key: 0,
1814
1816
  class: b(M.value),
1815
1817
  "aria-hidden": "true"
1816
1818
  }, null, 8, ["class"])) : x("", !0)
1817
1819
  ])) : x("", !0),
1818
- e.loading ? (s(), r("div", io, [
1820
+ e.loading ? (s(), r("div", co, [
1819
1821
  A(o(it))
1820
1822
  ])) : x("", !0),
1821
1823
  Y((s(), r("div", null, [
@@ -1823,7 +1825,7 @@ const Xn = ["for"], Jn = {
1823
1825
  id: e.name,
1824
1826
  ref_key: "inputElement",
1825
1827
  ref: v,
1826
- "onUpdate:modelValue": q[0] || (q[0] = (J) => lt(m) ? m.value = J : null),
1828
+ "onUpdate:modelValue": W[0] || (W[0] = (J) => lt(m) ? m.value = J : null),
1827
1829
  type: e.type,
1828
1830
  name: e.name,
1829
1831
  class: [o(p), I.value, V.value, e.inputClasses || ""],
@@ -1834,11 +1836,13 @@ const Xn = ["for"], Jn = {
1834
1836
  readonly: e.readOnly,
1835
1837
  role: "textbox"
1836
1838
  }, z.$attrs, {
1837
- onChange: q[1] || (q[1] = (J) => z.$emit("change", { event: J, value: o(m) })),
1838
- onInput: q[2] || (q[2] = (J) => z.$emit("input", { event: J, value: o(m) })),
1839
- onFocus: q[3] || (q[3] = (J) => z.$emit("focus")),
1840
- onBlur: q[4] || (q[4] = (J) => z.$emit("blur"))
1841
- }), null, 16, ro), [
1839
+ onChange: W[1] || (W[1] = (J) => z.$emit("change", { event: J, value: o(m) })),
1840
+ onInput: W[2] || (W[2] = (J) => z.$emit("input", { event: J, value: o(m) })),
1841
+ onFocus: W[3] || (W[3] = (J) => z.$emit("focus")),
1842
+ onBlur: W[4] || (W[4] = (J) => z.$emit("blur")),
1843
+ onKeydown: W[5] || (W[5] = me(() => {
1844
+ }, ["stop"]))
1845
+ }), null, 16, fo), [
1842
1846
  [al, o(m)]
1843
1847
  ])
1844
1848
  ])), [
@@ -1855,21 +1859,21 @@ const Xn = ["for"], Jn = {
1855
1859
  onClick: P,
1856
1860
  onKeydown: P
1857
1861
  }, [
1858
- u("span", co, O(e.rightIconTitle), 1),
1862
+ u("span", mo, O(e.rightIconTitle), 1),
1859
1863
  (s(), T(se(e.rightIcon), {
1860
1864
  class: "h-6 w-6 text-foreground",
1861
1865
  "aria-hidden": "true"
1862
1866
  }))
1863
- ], 42, uo)) : o(B) ? (s(), r("a", {
1867
+ ], 42, ho)) : o(B) ? (s(), r("a", {
1864
1868
  key: 1,
1865
1869
  title: "Clear input",
1866
1870
  class: "absolute top-0 bottom-0 right-0 flex items-center pr-2 cursor-pointer",
1867
- onClick: q[5] || (q[5] = //@ts-ignore
1871
+ onClick: W[6] || (W[6] = //@ts-ignore
1868
1872
  (...J) => o(E) && o(E)(...J)),
1869
- onKeydown: q[6] || (q[6] = //@ts-ignore
1873
+ onKeydown: W[7] || (W[7] = //@ts-ignore
1870
1874
  (...J) => o(E) && o(E)(...J))
1871
1875
  }, [
1872
- fo,
1876
+ po,
1873
1877
  A(o(Pe), {
1874
1878
  class: "h-5 w-5 text-foreground",
1875
1879
  "aria-hidden": "true"
@@ -1884,29 +1888,29 @@ const Xn = ["for"], Jn = {
1884
1888
  key: 0,
1885
1889
  id: o(f),
1886
1890
  class: b(["mt-1.5", o(y)])
1887
- }, O(o(c)), 11, ho)) : x("", !0)
1891
+ }, O(o(c)), 11, vo)) : x("", !0)
1888
1892
  ], 2));
1889
1893
  }
1890
- }), _t = /^https?:\/\//, ot = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, po = (e) => (e || "").match(ot) ? !0 : "Value should be a valid e-mail address", vo = (e) => (e || "").match(ot) || !e ? !0 : "Value should be a valid e-mail address", bo = (e) => (e || "").split(",").map((n) => n.trim()).every((n) => n.match(ot)) || "Value should be one or multiple comma-delimited e-mail addresses", go = (e) => (Oe(e) && (e = e.trim()), e ? !0 : "Value is required"), yo = (e, t) => (a, n) => a === n.form[e] ? !0 : `Value must be the same as in field '${t || e}'`, xo = (e) => (t) => {
1894
+ }), Gt = /^https?:\/\//, ot = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, go = (e) => (e || "").match(ot) ? !0 : "Value should be a valid e-mail address", yo = (e) => (e || "").match(ot) || !e ? !0 : "Value should be a valid e-mail address", xo = (e) => (e || "").split(",").map((n) => n.trim()).every((n) => n.match(ot)) || "Value should be one or multiple comma-delimited e-mail addresses", wo = (e) => (Oe(e) && (e = e.trim()), e ? !0 : "Value is required"), ko = (e, t) => (a, n) => a === n.form[e] ? !0 : `Value must be the same as in field '${t || e}'`, Co = (e) => (t) => {
1891
1895
  const { minLength: a, maxLength: n } = e;
1892
1896
  return t = yl(t) ? "" : t, Oe(t) ? !Be(a) && t.length < a ? `Value needs to be at least ${a} characters long` : !Be(n) && t.length > n ? `Value needs to be no more than ${n} characters long` : !0 : "Value should be a text string";
1893
- }, wo = (e) => (t) => {
1897
+ }, $o = (e) => (t) => {
1894
1898
  const { match: a, message: n } = e;
1895
1899
  return Oe(t) ? a ? Oe(a) ? t.includes(a) ? !0 : n : a.test(t) ? !0 : n : !0 : "Value should be a text string";
1896
- }, ko = (e) => _t.test(e) ? !0 : "Value is not a valid URL", Co = (e) => Array.isArray(e) && e.length > 0 ? !0 : "Value should have at least a single item selected", $o = (e) => Array.isArray(e) && e.length > 0 ? !0 : "Value should have at least a single item selected", Nu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1900
+ }, Io = (e) => Gt.test(e) ? !0 : "Value is not a valid URL", Bo = (e) => Array.isArray(e) && e.length > 0 ? !0 : "Value should have at least a single item selected", So = (e) => Array.isArray(e) && e.length > 0 ? !0 : "Value should have at least a single item selected", Qu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1897
1901
  __proto__: null,
1898
1902
  VALID_EMAIL: ot,
1899
- VALID_HTTP_URL: _t,
1900
- isEmail: po,
1901
- isEmailOrEmpty: vo,
1902
- isItemSelected: Co,
1903
- isMultiItemSelected: $o,
1904
- isOneOrMultipleEmails: bo,
1905
- isRequired: go,
1906
- isSameAs: yo,
1907
- isStringOfLength: xo,
1908
- isUrl: ko,
1909
- stringContains: wo
1903
+ VALID_HTTP_URL: Gt,
1904
+ isEmail: go,
1905
+ isEmailOrEmpty: yo,
1906
+ isItemSelected: Bo,
1907
+ isMultiItemSelected: So,
1908
+ isOneOrMultipleEmails: xo,
1909
+ isRequired: wo,
1910
+ isSameAs: ko,
1911
+ isStringOfLength: Co,
1912
+ isUrl: Io,
1913
+ stringContains: $o
1910
1914
  }, Symbol.toStringTag, { value: "Module" }));
1911
1915
  function Nt(e) {
1912
1916
  const {
@@ -1975,9 +1979,9 @@ function Zt(e) {
1975
1979
  firstItem: (m) => v(m) ? m[0] : m
1976
1980
  };
1977
1981
  }
1978
- const Io = (e) => (zt("data-v-985badae"), e = e(), At(), e), Bo = /* @__PURE__ */ Io(() => /* @__PURE__ */ u("div", { class: "swoosher relative top-0 bg-blue-500/50" }, null, -1)), So = [
1979
- Bo
1980
- ], Oo = /* @__PURE__ */ U({
1982
+ const Oo = (e) => (zt("data-v-985badae"), e = e(), At(), e), Po = /* @__PURE__ */ Oo(() => /* @__PURE__ */ u("div", { class: "swoosher relative top-0 bg-blue-500/50" }, null, -1)), Lo = [
1983
+ Po
1984
+ ], Mo = /* @__PURE__ */ U({
1981
1985
  __name: "Bar",
1982
1986
  props: {
1983
1987
  loading: { type: Boolean },
@@ -1990,30 +1994,30 @@ const Io = (e) => (zt("data-v-985badae"), e = e(), At(), e), Bo = /* @__PURE__ *
1990
1994
  "relative w-full h-1 bg-blue-500/30 text-xs text-foreground-on-primary overflow-hidden rounded-xl",
1991
1995
  n.value ? "opacity-100" : "opacity-0"
1992
1996
  ])
1993
- }, So, 2));
1997
+ }, Lo, 2));
1994
1998
  }
1995
1999
  });
1996
- const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
2000
+ const at = /* @__PURE__ */ ke(Mo, [["__scopeId", "data-v-985badae"]]), Vo = {
1997
2001
  key: 0,
1998
2002
  class: "text-danger text-xs opacity-80"
1999
- }, Lo = {
2003
+ }, jo = {
2000
2004
  key: 1,
2001
2005
  class: "text-body-2xs font-normal"
2002
- }, Mo = ["id"], Vo = { class: "flex items-center justify-between w-full" }, jo = { class: "pointer-events-none shrink-0 ml-1 flex items-center space-x-2" }, To = {
2006
+ }, To = ["id"], zo = { class: "flex items-center justify-between w-full" }, Ao = { class: "pointer-events-none shrink-0 ml-1 flex items-center space-x-2" }, Eo = {
2003
2007
  key: 1,
2004
2008
  class: "text-4xl text-danger opacity-50 h-4 w-4 leading-6"
2005
- }, zo = ["disabled"], Ao = {
2009
+ }, Ro = ["disabled"], Fo = {
2006
2010
  key: 0,
2007
2011
  class: "flex flex-col mx-1 mb-1"
2008
- }, Eo = /* @__PURE__ */ u("span", { class: "sr-only label text-foreground" }, "Search", -1), Ro = { class: "relative" }, Fo = { class: "pointer-events-none absolute top-0 bottom-0 left-0 flex items-center pl-2" }, Do = ["placeholder"], Uo = { class: "overflow-auto simple-scrollbar max-h-60" }, Wo = {
2012
+ }, Do = /* @__PURE__ */ u("span", { class: "sr-only label text-foreground" }, "Search", -1), Uo = { class: "relative" }, Wo = { class: "pointer-events-none absolute top-0 bottom-0 left-0 flex items-center pl-2" }, Ho = ["placeholder"], qo = { class: "overflow-auto simple-scrollbar max-h-60" }, Ko = {
2009
2013
  key: 0,
2010
2014
  class: "px-1"
2011
- }, Ho = { key: 1 }, qo = { class: "text-foreground-2 text-center" }, Ko = {
2015
+ }, _o = { key: 1 }, Go = { class: "text-foreground-2 text-center" }, No = {
2012
2016
  key: 0,
2013
2017
  class: /* @__PURE__ */ b([
2014
2018
  "absolute top-0 bottom-0 right-0 text-foreground flex items-center pr-4"
2015
2019
  ])
2016
- }, Go = ["id"], Xt = /* @__PURE__ */ U({
2020
+ }, Zo = ["id"], Xt = /* @__PURE__ */ U({
2017
2021
  __name: "Base",
2018
2022
  props: {
2019
2023
  size: {
@@ -2248,9 +2252,9 @@ const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
2248
2252
  () => w.value ? `${o(l.name)}-${k.value}` : void 0
2249
2253
  ), z = d(
2250
2254
  () => p.value ? "text-danger" : "text-foreground-2"
2251
- ), q = d(() => l.labelPosition === "left"), J = d(
2255
+ ), W = d(() => l.labelPosition === "left"), J = d(
2252
2256
  () => l.buttonStyle !== "simple" && l.clearable && !l.disabled
2253
- ), pe = d(() => {
2257
+ ), ve = d(() => {
2254
2258
  if (!l.size)
2255
2259
  return "";
2256
2260
  switch (l.size) {
@@ -2267,7 +2271,7 @@ const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
2267
2271
  }), Re = d(() => {
2268
2272
  var N;
2269
2273
  const L = ["relative flex group"];
2270
- return p.value ? (L.push("hover:shadow rounded-md"), L.push("text-danger-darker focus:border-danger"), l.buttonStyle !== "simple" && L.push("border border-danger")) : l.buttonStyle !== "simple" && (L.push("rounded-md border"), C.value ? L.push("border-outline-4") : L.push("border-outline-2 hover:border-outline-5 focus:outline-0")), l.fixedHeight ? L.push("h-8") : (N = pe.value) != null && N.length && L.push(pe.value), q.value && L.push("md:basis-1/2"), L.join(" ");
2274
+ return p.value ? (L.push("hover:shadow rounded-md"), L.push("text-danger-darker focus:border-danger"), l.buttonStyle !== "simple" && L.push("border border-danger")) : l.buttonStyle !== "simple" && (L.push("rounded-md border"), C.value ? L.push("border-outline-4") : L.push("border-outline-2 hover:border-outline-5 focus:outline-0")), l.fixedHeight ? L.push("h-8") : (N = ve.value) != null && N.length && L.push(ve.value), W.value && L.push("md:basis-1/2"), L.join(" ");
2271
2275
  }), Ie = d(() => {
2272
2276
  const L = [];
2273
2277
  return l.buttonStyle !== "simple" && L.push(
@@ -2292,9 +2296,9 @@ const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
2292
2296
  Ie.value
2293
2297
  ];
2294
2298
  return l.buttonStyle !== "simple" && (L.push("p-2"), ae.value || (l.buttonStyle, L.push("bg-foundation text-foreground"))), J.value && fe.value && L.push("rounded-r-none"), L.join(" ");
2295
- }), ge = d(
2299
+ }), ye = d(
2296
2300
  () => !!(l.search && (l.filterPredicate || l.getSearchResults))
2297
- ), te = d(() => ge.value && l.getSearchResults), ae = d(
2301
+ ), te = d(() => ye.value && l.getSearchResults), ae = d(
2298
2302
  () => l.disabled || !l.items.length && !te.value
2299
2303
  ), Q = d({
2300
2304
  get: () => {
@@ -2313,22 +2317,22 @@ const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
2313
2317
  if (l.multiple)
2314
2318
  N = L || [];
2315
2319
  else {
2316
- const _ = v.value;
2317
- N = l.allowUnset && _ && L && ne(_) === ne(L) ? void 0 : L;
2320
+ const G = v.value;
2321
+ N = l.allowUnset && G && L && ne(G) === ne(L) ? void 0 : L;
2318
2322
  }
2319
2323
  l.fullyControlValue ? i("update:modelValue", N) : v.value = N, E.value += 1;
2320
2324
  }
2321
- }), fe = d(() => l.multiple && le(Q.value) ? Q.value.length !== 0 : !!Q.value), W = () => {
2325
+ }), fe = d(() => l.multiple && le(Q.value) ? Q.value.length !== 0 : !!Q.value), H = () => {
2322
2326
  l.multiple ? Q.value = [] : Q.value = void 0;
2323
2327
  }, K = d(() => {
2324
2328
  const L = c.value;
2325
- return !ge.value || !(L != null && L.length) ? g.value : l.filterPredicate ? g.value.filter(
2329
+ return !ye.value || !(L != null && L.length) ? g.value : l.filterPredicate ? g.value.filter(
2326
2330
  (N) => {
2327
- var _;
2328
- return ((_ = l.filterPredicate) == null ? void 0 : _.call(l, N, L)) || !1;
2331
+ var G;
2332
+ return ((G = l.filterPredicate) == null ? void 0 : G.call(l, N, L)) || !1;
2329
2333
  }
2330
2334
  ) : g.value;
2331
- }), G = d(() => {
2335
+ }), _ = d(() => {
2332
2336
  const L = [
2333
2337
  "rounded-md bg-foundation py-1 label label--light border border-outline-3 shadow-md mt-1 "
2334
2338
  ];
@@ -2336,8 +2340,8 @@ const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
2336
2340
  }), ie = d(() => {
2337
2341
  const L = {};
2338
2342
  if (l.mountMenuOnBody) {
2339
- const N = B.top.value, _ = B.left.value, S = B.width.value, Z = B.height.value;
2340
- L.top = `${N + Z}px`, L.left = `${_}px`, L.width = `${S}px`;
2343
+ const N = B.top.value, G = B.left.value, S = B.width.value, Z = B.height.value;
2344
+ L.top = `${N + Z}px`, L.left = `${G}px`, L.width = `${S}px`;
2341
2345
  }
2342
2346
  return L;
2343
2347
  }), re = (L) => JSON.stringify(L), ne = (L) => n(L) ? L[l.by || "id"] : L, he = async () => {
@@ -2349,9 +2353,9 @@ const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
2349
2353
  $.value = !1;
2350
2354
  }
2351
2355
  }
2352
- }, Ue = _e(he, 1e3), rt = (L) => {
2353
- const { disabled: N } = L || {}, _ = ["relative transition select-none py-1 px-2"];
2354
- return N ? _.push("opacity-50 cursor-not-allowed") : _.push("text-foreground cursor-pointer"), _.join(" ");
2356
+ }, Ue = Ge(he, 1e3), rt = (L) => {
2357
+ const { disabled: N } = L || {}, G = ["relative transition select-none py-1 px-2"];
2358
+ return N ? G.push("opacity-50 cursor-not-allowed") : G.push("text-foreground cursor-pointer"), G.join(" ");
2355
2359
  };
2356
2360
  return ue(
2357
2361
  () => l.items,
@@ -2367,49 +2371,49 @@ const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
2367
2371
  (s(), T(o(Kl), {
2368
2372
  key: E.value,
2369
2373
  modelValue: Q.value,
2370
- "onUpdate:modelValue": N[4] || (N[4] = (_) => Q.value = _),
2374
+ "onUpdate:modelValue": N[4] || (N[4] = (G) => Q.value = G),
2371
2375
  name: e.name,
2372
2376
  multiple: e.multiple,
2373
2377
  by: e.by,
2374
2378
  disabled: ae.value,
2375
2379
  as: "div",
2376
2380
  class: b({
2377
- "md:flex md:items-center md:space-x-2 md:justify-between": q.value
2381
+ "md:flex md:items-center md:space-x-2 md:justify-between": W.value
2378
2382
  })
2379
2383
  }, {
2380
2384
  default: R(() => [
2381
2385
  u("div", {
2382
- class: b(["flex flex-col", { "pb-1": e.showLabel && !q.value }])
2386
+ class: b(["flex flex-col", { "pb-1": e.showLabel && !W.value }])
2383
2387
  }, [
2384
- A(o(Gl), {
2388
+ A(o(_l), {
2385
2389
  id: e.labelId,
2386
2390
  class: b(["flex text-body-xs text-foreground font-medium", [{ "sr-only": !e.showLabel }, { "items-center gap-1": e.showOptional }]]),
2387
2391
  for: e.buttonId
2388
2392
  }, {
2389
2393
  default: R(() => [
2390
2394
  F(O(e.label) + " ", 1),
2391
- e.showRequired ? (s(), r("div", Po, "*")) : e.showOptional ? (s(), r("div", Lo, " (optional) ")) : x("", !0)
2395
+ e.showRequired ? (s(), r("div", Vo, "*")) : e.showOptional ? (s(), r("div", jo, " (optional) ")) : x("", !0)
2392
2396
  ]),
2393
2397
  _: 1
2394
2398
  }, 8, ["id", "class", "for"]),
2395
- P.value && q.value ? (s(), r("p", {
2399
+ P.value && W.value ? (s(), r("p", {
2396
2400
  key: 0,
2397
2401
  id: P.value,
2398
2402
  class: b(["text-xs", z.value])
2399
- }, O(V.value), 11, Mo)) : x("", !0)
2403
+ }, O(V.value), 11, To)) : x("", !0)
2400
2404
  ], 2),
2401
2405
  Y((s(), r("div", null, [
2402
2406
  u("div", {
2403
2407
  class: b(Re.value)
2404
2408
  }, [
2405
- A(o(_l), {
2409
+ A(o(Gl), {
2406
2410
  id: e.buttonId,
2407
2411
  ref_key: "listboxButton",
2408
2412
  ref: y,
2409
2413
  class: b(De.value)
2410
2414
  }, {
2411
- default: R(({ open: _ }) => [
2412
- u("div", Vo, [
2415
+ default: R(({ open: G }) => [
2416
+ u("div", zo, [
2413
2417
  u("div", {
2414
2418
  class: b(["block truncate grow text-left text-xs sm:text-[13px]", [fe.value ? "text-foreground" : "text-foreground-2"]])
2415
2419
  }, [
@@ -2422,13 +2426,13 @@ const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
2422
2426
  F(O(re(Q.value)), 1)
2423
2427
  ])
2424
2428
  ], 2),
2425
- u("div", jo, [
2429
+ u("div", Ao, [
2426
2430
  I.value ? (s(), T(o(Ne), {
2427
2431
  key: 0,
2428
2432
  class: "h-4 w-4 text-danger",
2429
2433
  "aria-hidden": "true"
2430
- })) : !e.showLabel && e.showRequired ? (s(), r("div", To, " * ")) : x("", !0),
2431
- _ ? (s(), T(o(Ft), {
2434
+ })) : !e.showLabel && e.showRequired ? (s(), r("div", Eo, " * ")) : x("", !0),
2435
+ G ? (s(), T(o(Ft), {
2432
2436
  key: 2,
2433
2437
  class: "h-4 w-4 text-foreground",
2434
2438
  "aria-hidden": "true"
@@ -2439,7 +2443,7 @@ const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
2439
2443
  }))
2440
2444
  ])
2441
2445
  ]),
2442
- (C.value = _) ? (s(), r(X, { key: 0 }, [], 64)) : x("", !0)
2446
+ (C.value = G) ? (s(), r(X, { key: 0 }, [], 64)) : x("", !0)
2443
2447
  ]),
2444
2448
  _: 3
2445
2449
  }, 8, ["id", "class"]),
@@ -2447,10 +2451,10 @@ const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
2447
2451
  key: 0,
2448
2452
  class: b(Fe.value),
2449
2453
  disabled: e.disabled,
2450
- onClick: N[0] || (N[0] = (_) => W())
2454
+ onClick: N[0] || (N[0] = (G) => H())
2451
2455
  }, [
2452
2456
  A(o(Pe), { class: "w-3 h-3" })
2453
- ], 10, zo)) : x("", !0),
2457
+ ], 10, Ro)) : x("", !0),
2454
2458
  o(h) ? (s(), T(mt, {
2455
2459
  key: 1,
2456
2460
  "leave-active-class": "transition ease-in duration-100",
@@ -2465,82 +2469,82 @@ const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
2465
2469
  A(o(Nl), {
2466
2470
  ref_key: "menuEl",
2467
2471
  ref: f,
2468
- class: b(G.value),
2472
+ class: b(_.value),
2469
2473
  style: oe(ie.value),
2470
- onFocus: N[3] || (N[3] = (_) => {
2474
+ onFocus: N[3] || (N[3] = (G) => {
2471
2475
  var S;
2472
2476
  return (S = m.value) == null ? void 0 : S.focus();
2473
2477
  })
2474
2478
  }, {
2475
2479
  default: R(() => [
2476
- ge.value ? (s(), r("label", Ao, [
2477
- Eo,
2478
- u("div", Ro, [
2479
- u("div", Fo, [
2480
+ ye.value ? (s(), r("label", Fo, [
2481
+ Do,
2482
+ u("div", Uo, [
2483
+ u("div", Wo, [
2480
2484
  A(o(Ut), { class: "h-4 w-4 text-foreground-2" })
2481
2485
  ]),
2482
2486
  Y(u("input", {
2483
2487
  ref_key: "searchInput",
2484
2488
  ref: m,
2485
- "onUpdate:modelValue": N[1] || (N[1] = (_) => c.value = _),
2489
+ "onUpdate:modelValue": N[1] || (N[1] = (G) => c.value = G),
2486
2490
  type: "text",
2487
2491
  class: "py-1 pl-7 w-full bg-foundation placeholder:font-normal normal placeholder:text-foreground-2 text-[13px] focus-visible:[box-shadow:none] rounded-md hover:border-outline-5 focus-visible:border-outline-4",
2488
2492
  placeholder: e.searchPlaceholder,
2489
- onKeydown: N[2] || (N[2] = we(() => {
2493
+ onKeydown: N[2] || (N[2] = me(() => {
2490
2494
  }, ["stop"]))
2491
- }, null, 40, Do), [
2495
+ }, null, 40, Ho), [
2492
2496
  [st, c.value]
2493
2497
  ])
2494
2498
  ])
2495
2499
  ])) : x("", !0),
2496
- u("div", Uo, [
2497
- te.value && $.value ? (s(), r("div", Wo, [
2500
+ u("div", qo, [
2501
+ te.value && $.value ? (s(), r("div", Ko, [
2498
2502
  A(at, { loading: !0 })
2499
- ])) : te.value && !g.value.length ? (s(), r("div", Ho, [
2500
- u("div", qo, [
2503
+ ])) : te.value && !g.value.length ? (s(), r("div", _o, [
2504
+ u("div", Go, [
2501
2505
  D(L.$slots, "nothing-found", {}, () => [
2502
2506
  F("Nothing found")
2503
2507
  ])
2504
2508
  ])
2505
2509
  ])) : x("", !0),
2506
- !te.value || !$.value ? (s(!0), r(X, { key: 2 }, ee(K.value, (_) => {
2510
+ !te.value || !$.value ? (s(!0), r(X, { key: 2 }, ee(K.value, (G) => {
2507
2511
  var S;
2508
2512
  return s(), T(o(Zl), {
2509
- key: ne(_),
2510
- value: _,
2511
- disabled: ((S = e.disabledItemPredicate) == null ? void 0 : S.call(e, _)) || !1
2513
+ key: ne(G),
2514
+ value: G,
2515
+ disabled: ((S = e.disabledItemPredicate) == null ? void 0 : S.call(e, G)) || !1
2512
2516
  }, {
2513
2517
  default: R(({
2514
2518
  active: Z,
2515
- selected: H
2519
+ selected: q
2516
2520
  }) => {
2517
- var ce, ve, ye, We;
2521
+ var ce, be, xe, We;
2518
2522
  return [
2519
2523
  Y((s(), r("li", {
2520
2524
  class: b(
2521
2525
  rt({
2522
2526
  active: Z,
2523
- disabled: ((ce = e.disabledItemPredicate) == null ? void 0 : ce.call(e, _)) || !1
2527
+ disabled: ((ce = e.disabledItemPredicate) == null ? void 0 : ce.call(e, G)) || !1
2524
2528
  })
2525
2529
  )
2526
2530
  }, [
2527
2531
  u("span", {
2528
2532
  class: b(["block px-2 py-1.5 rounded-md", [
2529
- H ? "bg-highlight-3" : "",
2533
+ q ? "bg-highlight-3" : "",
2530
2534
  e.hideCheckmarks ? "pr-2" : "pr-8",
2531
- !((ve = e.disabledItemPredicate) != null && ve.call(e, _)) && !H ? "hover:bg-highlight-1" : ""
2535
+ !((be = e.disabledItemPredicate) != null && be.call(e, G)) && !q ? "hover:bg-highlight-1" : ""
2532
2536
  ]])
2533
2537
  }, [
2534
2538
  D(L.$slots, "option", {
2535
2539
  class: "truncate",
2536
- item: _,
2540
+ item: G,
2537
2541
  active: Z,
2538
- selected: H,
2539
- disabled: ((ye = e.disabledItemPredicate) == null ? void 0 : ye.call(e, _)) || !1
2542
+ selected: q,
2543
+ disabled: ((xe = e.disabledItemPredicate) == null ? void 0 : xe.call(e, G)) || !1
2540
2544
  }, () => [
2541
- F(O(re(_)), 1)
2545
+ F(O(re(G)), 1)
2542
2546
  ]),
2543
- !e.hideCheckmarks && H ? (s(), r("span", Ko, [
2547
+ !e.hideCheckmarks && q ? (s(), r("span", No, [
2544
2548
  A(o(bt), {
2545
2549
  class: "h-4 w-4",
2546
2550
  "aria-hidden": "true"
@@ -2550,7 +2554,7 @@ const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
2550
2554
  ], 2)), [
2551
2555
  [
2552
2556
  o(Le),
2553
- (We = e.disabledItemPredicate) != null && We.call(e, _) ? e.disabledItemTooltip : void 0
2557
+ (We = e.disabledItemPredicate) != null && We.call(e, G) ? e.disabledItemTooltip : void 0
2554
2558
  ]
2555
2559
  ])
2556
2560
  ];
@@ -2573,14 +2577,14 @@ const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
2573
2577
  ]),
2574
2578
  _: 3
2575
2579
  }, 8, ["modelValue", "name", "multiple", "by", "disabled", "class"])),
2576
- P.value && !q.value ? (s(), r("p", {
2580
+ P.value && !W.value ? (s(), r("p", {
2577
2581
  key: 0,
2578
2582
  id: P.value,
2579
2583
  class: b(["mt-2 text-xs", z.value])
2580
- }, O(V.value), 11, Go)) : x("", !0)
2584
+ }, O(V.value), 11, Zo)) : x("", !0)
2581
2585
  ]));
2582
2586
  }
2583
- }), _o = /* @__PURE__ */ U({
2587
+ }), Xo = /* @__PURE__ */ U({
2584
2588
  __name: "SourceAppBadge",
2585
2589
  props: {
2586
2590
  sourceApp: null
@@ -2597,13 +2601,13 @@ const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
2597
2601
  _: 1
2598
2602
  }, 8, ["style"]));
2599
2603
  }
2600
- }), No = {
2604
+ }), Jo = {
2601
2605
  key: 0,
2602
2606
  class: "text-foreground-2 normal"
2603
- }, Zo = {
2607
+ }, Qo = {
2604
2608
  key: 1,
2605
2609
  class: "flex items-center"
2606
- }, Xo = { class: "truncate" }, Jo = { class: "flex items-center" }, Qo = { class: "truncate" }, Zu = /* @__PURE__ */ U({
2610
+ }, Yo = { class: "truncate" }, ea = { class: "flex items-center" }, ta = { class: "truncate" }, Yu = /* @__PURE__ */ U({
2607
2611
  __name: "SourceApps",
2608
2612
  props: {
2609
2613
  /**
@@ -2676,7 +2680,7 @@ const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
2676
2680
  emits: ["update:modelValue"],
2677
2681
  setup(e, { emit: t }) {
2678
2682
  const a = t, n = e, i = j(null), l = j(null), { selectedValue: v, hiddenSelectedItemCount: p, isMultiItemArrayValue: h, firstItem: m } = Zt({
2679
- props: be(n),
2683
+ props: ge(n),
2680
2684
  emit: a,
2681
2685
  dynamicVisibility: { elementToWatchForChanges: i, itemContainer: l }
2682
2686
  }), f = (y, c) => y.name.toLocaleLowerCase().includes(c.toLocaleLowerCase());
@@ -2716,33 +2720,33 @@ const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
2716
2720
  ref: l,
2717
2721
  class: "flex flex-wrap overflow-hidden space-x-0.5 h-5"
2718
2722
  }, [
2719
- (s(!0), r(X, null, ee(g, ($) => (s(), T(_o, {
2723
+ (s(!0), r(X, null, ee(g, ($) => (s(), T(Xo, {
2720
2724
  key: $.name,
2721
2725
  "source-app": $
2722
2726
  }, null, 8, ["source-app"]))), 128))
2723
2727
  ], 512),
2724
- o(p) > 0 ? (s(), r("div", No, " +" + O(o(p)), 1)) : x("", !0)
2725
- ], 512)) : (s(), r("div", Zo, [
2728
+ o(p) > 0 ? (s(), r("div", Jo, " +" + O(o(p)), 1)) : x("", !0)
2729
+ ], 512)) : (s(), r("div", Qo, [
2726
2730
  u("div", {
2727
2731
  class: "h-2 w-2 rounded-full mr-2",
2728
2732
  style: oe({ backgroundColor: o(m)(g).bgColor })
2729
2733
  }, null, 4),
2730
- u("span", Xo, O(o(m)(g).name), 1)
2734
+ u("span", Yo, O(o(m)(g).name), 1)
2731
2735
  ]))
2732
2736
  ]),
2733
2737
  option: R(({ item: g }) => [
2734
- u("div", Jo, [
2738
+ u("div", ea, [
2735
2739
  u("div", {
2736
2740
  class: "h-2 w-2 rounded-full mr-2",
2737
2741
  style: oe({ backgroundColor: g.bgColor })
2738
2742
  }, null, 4),
2739
- u("span", Qo, O(g.name), 1)
2743
+ u("span", ta, O(g.name), 1)
2740
2744
  ])
2741
2745
  ]),
2742
2746
  _: 1
2743
2747
  }, 8, ["modelValue", "multiple", "items", "search", "search-placeholder", "label", "show-label", "name", "clearable", "help", "label-id", "button-id"]));
2744
2748
  }
2745
- }), Yo = { class: "flex flex-wrap gap-1.5" }, Xu = /* @__PURE__ */ U({
2749
+ }), la = { class: "flex flex-wrap gap-1.5" }, ed = /* @__PURE__ */ U({
2746
2750
  __name: "Badges",
2747
2751
  props: {
2748
2752
  items: null,
@@ -2759,7 +2763,7 @@ const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
2759
2763
  emits: ["update:modelValue"],
2760
2764
  setup(e, { emit: t }) {
2761
2765
  const a = t, n = e, { selectedValue: i, isArrayValue: l } = Zt({
2762
- props: be(n),
2766
+ props: ge(n),
2763
2767
  emit: a
2764
2768
  }), v = (p) => {
2765
2769
  l(i.value) ? i.value = i.value.filter((h) => h.id !== p.id) : i.value = void 0;
@@ -2778,7 +2782,7 @@ const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
2778
2782
  "button-id": e.buttonId
2779
2783
  }, {
2780
2784
  "something-selected": R(({ value: m }) => [
2781
- u("ul", Yo, [
2785
+ u("ul", la, [
2782
2786
  (s(!0), r(X, null, ee(o(l)(m) ? m : [m], (f) => (s(), r("li", {
2783
2787
  key: f[e.by]
2784
2788
  }, [
@@ -2789,7 +2793,7 @@ const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
2789
2793
  rounded: "",
2790
2794
  "clickable-icon": !0,
2791
2795
  "icon-left": o(us),
2792
- onClickIcon: we((y) => v(f), ["stop"])
2796
+ onClickIcon: me((y) => v(f), ["stop"])
2793
2797
  }, {
2794
2798
  default: R(() => [
2795
2799
  F(O(f.text), 1)
@@ -2805,22 +2809,22 @@ const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
2805
2809
  _: 1
2806
2810
  }, 8, ["modelValue", "multiple", "items", "label", "name", "help", "rules", "by", "label-id", "button-id"]));
2807
2811
  }
2808
- }), ea = ["id", "for"], ta = {
2812
+ }), sa = ["id", "for"], na = {
2809
2813
  key: 0,
2810
2814
  class: "text-danger text-xs opacity-80"
2811
- }, la = {
2815
+ }, oa = {
2812
2816
  key: 1,
2813
2817
  class: "text-body-2xs font-normal"
2814
- }, sa = ["id"], na = ["id", "aria-expanded"], oa = { class: "flex items-center justify-between w-full" }, aa = { class: "pointer-events-none shrink-0 ml-1 flex items-center space-x-2" }, ia = {
2818
+ }, aa = ["id"], ia = ["id", "aria-expanded"], ra = { class: "flex items-center justify-between w-full" }, ua = { class: "pointer-events-none shrink-0 ml-1 flex items-center space-x-2" }, da = {
2815
2819
  key: 1,
2816
2820
  class: "text-4xl text-danger opacity-50 h-4 w-4 leading-6"
2817
- }, ra = ["disabled"], ua = ["aria-labelledby"], da = {
2821
+ }, ca = ["disabled"], fa = ["aria-labelledby"], ha = {
2818
2822
  key: 0,
2819
2823
  class: "flex flex-col mx-1 mb-1"
2820
- }, ca = /* @__PURE__ */ u("span", { class: "sr-only label text-foreground" }, "Search", -1), fa = { class: "relative" }, ha = { class: "pointer-events-none absolute top-0 bottom-0 left-0 flex items-center pl-2" }, ma = ["placeholder"], pa = { class: "overflow-auto simple-scrollbar max-h-60 flex flex-col" }, va = {
2824
+ }, ma = /* @__PURE__ */ u("span", { class: "sr-only label text-foreground" }, "Search", -1), pa = { class: "relative" }, va = { class: "pointer-events-none absolute top-0 bottom-0 left-0 flex items-center pl-2" }, ba = ["placeholder"], ga = { class: "overflow-auto simple-scrollbar max-h-60 flex flex-col" }, ya = {
2821
2825
  key: 0,
2822
2826
  class: "px-1"
2823
- }, ba = { key: 1 }, ga = { class: "text-foreground-2 text-center" }, ya = ["aria-selected", "disabled", "onClick"], xa = ["id"], Ju = /* @__PURE__ */ U({
2827
+ }, xa = { key: 1 }, wa = { class: "text-foreground-2 text-center" }, ka = ["aria-selected", "disabled", "onClick"], Ca = ["id"], td = /* @__PURE__ */ U({
2824
2828
  __name: "Multi",
2825
2829
  props: {
2826
2830
  size: {
@@ -3045,9 +3049,9 @@ const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
3045
3049
  () => w.value ? `${o(l.name)}-${k.value}` : void 0
3046
3050
  ), z = d(
3047
3051
  () => p.value ? "text-danger" : "text-foreground-2"
3048
- ), q = d(() => l.labelPosition === "left"), J = d(
3052
+ ), W = d(() => l.labelPosition === "left"), J = d(
3049
3053
  () => l.buttonStyle !== "simple" && l.clearable && !l.disabled
3050
- ), pe = d(() => {
3054
+ ), ve = d(() => {
3051
3055
  if (!l.size)
3052
3056
  return "";
3053
3057
  switch (l.size) {
@@ -3064,7 +3068,7 @@ const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
3064
3068
  }), Re = d(() => {
3065
3069
  var Z;
3066
3070
  const S = ["relative flex group"];
3067
- return p.value ? (S.push("hover:shadow rounded-md"), S.push("text-danger-darker focus:border-danger"), l.buttonStyle !== "simple" && S.push("border border-danger")) : l.buttonStyle !== "simple" && (S.push("rounded-md border"), C.value ? S.push("border-outline-4") : S.push("border-outline-2 hover:border-outline-5 focus:outline-0")), l.fixedHeight ? S.push("h-8") : (Z = pe.value) != null && Z.length && S.push(pe.value), q.value && S.push("md:basis-1/2"), S.join(" ");
3071
+ return p.value ? (S.push("hover:shadow rounded-md"), S.push("text-danger-darker focus:border-danger"), l.buttonStyle !== "simple" && S.push("border border-danger")) : l.buttonStyle !== "simple" && (S.push("rounded-md border"), C.value ? S.push("border-outline-4") : S.push("border-outline-2 hover:border-outline-5 focus:outline-0")), l.fixedHeight ? S.push("h-8") : (Z = ve.value) != null && Z.length && S.push(ve.value), W.value && S.push("md:basis-1/2"), S.join(" ");
3068
3072
  }), Ie = d(() => {
3069
3073
  const S = [];
3070
3074
  return l.buttonStyle !== "simple" && S.push(
@@ -3089,9 +3093,9 @@ const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
3089
3093
  Ie.value
3090
3094
  ];
3091
3095
  return l.buttonStyle !== "simple" && (S.push("p-2"), ae.value || (l.buttonStyle, S.push("bg-foundation text-foreground"))), J.value && fe.value && S.push("rounded-r-none"), S.join(" ");
3092
- }), ge = d(
3096
+ }), ye = d(
3093
3097
  () => !!(l.search && (l.filterPredicate || l.getSearchResults))
3094
- ), te = d(() => ge.value && l.getSearchResults), ae = d(
3098
+ ), te = d(() => ye.value && l.getSearchResults), ae = d(
3095
3099
  () => l.disabled || !l.items.length && !te.value
3096
3100
  ), Q = d({
3097
3101
  get: () => {
@@ -3105,17 +3109,17 @@ const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
3105
3109
  }
3106
3110
  l.fullyControlValue ? i("update:modelValue", S) : v.value = S, E.value += 1;
3107
3111
  }
3108
- }), fe = d(() => le(Q.value) ? Q.value.length !== 0 : !!Q.value), W = () => {
3112
+ }), fe = d(() => le(Q.value) ? Q.value.length !== 0 : !!Q.value), H = () => {
3109
3113
  Q.value = [];
3110
3114
  }, K = d(() => {
3111
3115
  const S = c.value;
3112
- return !ge.value || !(S != null && S.length) ? g.value : l.filterPredicate ? g.value.filter(
3116
+ return !ye.value || !(S != null && S.length) ? g.value : l.filterPredicate ? g.value.filter(
3113
3117
  (Z) => {
3114
- var H;
3115
- return ((H = l.filterPredicate) == null ? void 0 : H.call(l, Z, S)) || !1;
3118
+ var q;
3119
+ return ((q = l.filterPredicate) == null ? void 0 : q.call(l, Z, S)) || !1;
3116
3120
  }
3117
3121
  ) : g.value;
3118
- }), G = d(() => {
3122
+ }), _ = d(() => {
3119
3123
  const S = [
3120
3124
  "rounded-md bg-foundation py-1 label label--light border border-outline-3 shadow-md mt-1 "
3121
3125
  ];
@@ -3123,8 +3127,8 @@ const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
3123
3127
  }), ie = d(() => {
3124
3128
  const S = {};
3125
3129
  if (l.mountMenuOnBody) {
3126
- const Z = B.top.value, H = B.left.value, ce = B.width.value, ve = B.height.value;
3127
- S.top = `${Z + ve}px`, S.left = `${H}px`, S.width = `${ce}px`;
3130
+ const Z = B.top.value, q = B.left.value, ce = B.width.value, be = B.height.value;
3131
+ S.top = `${Z + be}px`, S.left = `${q}px`, S.width = `${ce}px`;
3128
3132
  }
3129
3133
  return S;
3130
3134
  }), re = (S) => JSON.stringify(S), ne = (S) => n(S) ? S[l.by || "id"] : S, he = async () => {
@@ -3136,9 +3140,9 @@ const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
3136
3140
  $.value = !1;
3137
3141
  }
3138
3142
  }
3139
- }, Ue = _e(he, 1e3), rt = (S) => {
3140
- const { disabled: Z } = S, H = ["relative transition select-none px-2"];
3141
- return Z ? H.push("opacity-50 cursor-not-allowed") : H.push("text-foreground cursor-pointer"), H.join(" ");
3143
+ }, Ue = Ge(he, 1e3), rt = (S) => {
3144
+ const { disabled: Z } = S, q = ["relative transition select-none px-2"];
3145
+ return Z ? q.push("opacity-50 cursor-not-allowed") : q.push("text-foreground cursor-pointer"), q.join(" ");
3142
3146
  };
3143
3147
  ue(
3144
3148
  () => l.items,
@@ -3153,13 +3157,13 @@ const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
3153
3157
  });
3154
3158
  const L = () => {
3155
3159
  ae.value || (C.value = !C.value);
3156
- }, N = (S) => Q.value.some((Z) => ne(Z) === ne(S)), _ = (S, Z) => {
3157
- var ve;
3158
- if ((ve = l.disabledItemPredicate) != null && ve.call(l, S))
3160
+ }, N = (S) => Q.value.some((Z) => ne(Z) === ne(S)), G = (S, Z) => {
3161
+ var be;
3162
+ if ((be = l.disabledItemPredicate) != null && be.call(l, S))
3159
3163
  return;
3160
3164
  Z == null || Z.stopPropagation();
3161
- const H = Q.value, ce = H.some((ye) => ne(ye) === ne(S));
3162
- Q.value = ce ? H.filter((ye) => ne(ye) !== ne(S)) : [...H, S];
3165
+ const q = Q.value, ce = q.some((xe) => ne(xe) === ne(S));
3166
+ Q.value = ce ? q.filter((xe) => ne(xe) !== ne(S)) : [...q, S];
3163
3167
  };
3164
3168
  return El(
3165
3169
  f,
@@ -3173,11 +3177,11 @@ const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
3173
3177
  (s(), r("div", {
3174
3178
  key: E.value,
3175
3179
  class: b({
3176
- "md:flex md:items-center md:space-x-2 md:justify-between": q.value
3180
+ "md:flex md:items-center md:space-x-2 md:justify-between": W.value
3177
3181
  })
3178
3182
  }, [
3179
3183
  u("div", {
3180
- class: b(["flex flex-col", { "pb-1": e.showLabel && !q.value }])
3184
+ class: b(["flex flex-col", { "pb-1": e.showLabel && !W.value }])
3181
3185
  }, [
3182
3186
  u("label", {
3183
3187
  id: e.labelId,
@@ -3185,13 +3189,13 @@ const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
3185
3189
  for: e.buttonId
3186
3190
  }, [
3187
3191
  F(O(e.label) + " ", 1),
3188
- e.showRequired ? (s(), r("div", ta, "*")) : e.showOptional ? (s(), r("div", la, " (optional) ")) : x("", !0)
3189
- ], 10, ea),
3190
- P.value && q.value ? (s(), r("p", {
3192
+ e.showRequired ? (s(), r("div", na, "*")) : e.showOptional ? (s(), r("div", oa, " (optional) ")) : x("", !0)
3193
+ ], 10, sa),
3194
+ P.value && W.value ? (s(), r("p", {
3191
3195
  key: 0,
3192
3196
  id: P.value,
3193
3197
  class: b(["text-xs", z.value])
3194
- }, O(V.value), 11, sa)) : x("", !0)
3198
+ }, O(V.value), 11, aa)) : x("", !0)
3195
3199
  ], 2),
3196
3200
  Y((s(), r("div", null, [
3197
3201
  u("div", {
@@ -3207,7 +3211,7 @@ const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
3207
3211
  "aria-haspopup": !0,
3208
3212
  onClick: L
3209
3213
  }, [
3210
- u("div", oa, [
3214
+ u("div", ra, [
3211
3215
  u("div", {
3212
3216
  class: b(["block truncate grow text-left text-xs sm:text-[13px]", [fe.value ? "text-foreground" : "text-foreground-2"]])
3213
3217
  }, [
@@ -3220,12 +3224,12 @@ const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
3220
3224
  F(O(re(Q.value)), 1)
3221
3225
  ])
3222
3226
  ], 2),
3223
- u("div", aa, [
3227
+ u("div", ua, [
3224
3228
  I.value ? (s(), T(o(Ne), {
3225
3229
  key: 0,
3226
3230
  class: "h-4 w-4 text-danger",
3227
3231
  "aria-hidden": "true"
3228
- })) : !e.showLabel && e.showRequired ? (s(), r("div", ia, " * ")) : x("", !0),
3232
+ })) : !e.showLabel && e.showRequired ? (s(), r("div", da, " * ")) : x("", !0),
3229
3233
  C.value ? (s(), T(o(Ft), {
3230
3234
  key: 2,
3231
3235
  class: "h-4 w-4 text-foreground",
@@ -3237,15 +3241,15 @@ const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
3237
3241
  }))
3238
3242
  ])
3239
3243
  ])
3240
- ], 10, na),
3244
+ ], 10, ia),
3241
3245
  J.value ? (s(), r("button", {
3242
3246
  key: 0,
3243
3247
  class: b(Fe.value),
3244
3248
  disabled: e.disabled,
3245
- onClick: Z[0] || (Z[0] = (H) => W())
3249
+ onClick: Z[0] || (Z[0] = (q) => H())
3246
3250
  }, [
3247
3251
  A(o(Pe), { class: "w-3 h-3" })
3248
- ], 10, ra)) : x("", !0),
3252
+ ], 10, ca)) : x("", !0),
3249
3253
  o(h) ? (s(), T(mt, {
3250
3254
  key: 1,
3251
3255
  "leave-active-class": "transition ease-in duration-100",
@@ -3261,93 +3265,93 @@ const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
3261
3265
  key: 0,
3262
3266
  ref_key: "menuEl",
3263
3267
  ref: f,
3264
- class: b(G.value),
3268
+ class: b(_.value),
3265
3269
  style: oe(ie.value),
3266
3270
  role: "listbox",
3267
3271
  "aria-labelledby": e.labelId,
3268
- onFocus: Z[4] || (Z[4] = (H) => {
3272
+ onFocus: Z[4] || (Z[4] = (q) => {
3269
3273
  var ce;
3270
3274
  return (ce = m.value) == null ? void 0 : ce.focus();
3271
3275
  })
3272
3276
  }, [
3273
- ge.value ? (s(), r("label", da, [
3274
- ca,
3275
- u("div", fa, [
3276
- u("div", ha, [
3277
+ ye.value ? (s(), r("label", ha, [
3278
+ ma,
3279
+ u("div", pa, [
3280
+ u("div", va, [
3277
3281
  A(o(Ut), { class: "h-4 w-4 text-foreground-2" })
3278
3282
  ]),
3279
3283
  Y(u("input", {
3280
3284
  ref_key: "searchInput",
3281
3285
  ref: m,
3282
- "onUpdate:modelValue": Z[1] || (Z[1] = (H) => c.value = H),
3286
+ "onUpdate:modelValue": Z[1] || (Z[1] = (q) => c.value = q),
3283
3287
  type: "text",
3284
3288
  class: "py-1 pl-7 w-full bg-foundation placeholder:font-normal normal placeholder:text-foreground-2 text-[13px] focus-visible:[box-shadow:none] rounded-md hover:border-outline-5 focus-visible:border-outline-4",
3285
3289
  placeholder: e.searchPlaceholder,
3286
- onKeydown: Z[2] || (Z[2] = we(() => {
3290
+ onKeydown: Z[2] || (Z[2] = me(() => {
3287
3291
  }, ["stop"]))
3288
- }, null, 40, ma), [
3292
+ }, null, 40, ba), [
3289
3293
  [st, c.value]
3290
3294
  ])
3291
3295
  ])
3292
3296
  ])) : x("", !0),
3293
- u("div", pa, [
3294
- te.value && $.value ? (s(), r("div", va, [
3297
+ u("div", ga, [
3298
+ te.value && $.value ? (s(), r("div", ya, [
3295
3299
  A(at, { loading: !0 })
3296
- ])) : te.value && !g.value.length ? (s(), r("div", ba, [
3297
- u("div", ga, [
3300
+ ])) : te.value && !g.value.length ? (s(), r("div", xa, [
3301
+ u("div", wa, [
3298
3302
  D(S.$slots, "nothing-found", {}, () => [
3299
3303
  F("Nothing found")
3300
3304
  ])
3301
3305
  ])
3302
3306
  ])) : x("", !0),
3303
- !te.value || !$.value ? (s(!0), r(X, { key: 2 }, ee(K.value, (H) => {
3304
- var ce, ve, ye, We, Ct, $t;
3307
+ !te.value || !$.value ? (s(!0), r(X, { key: 2 }, ee(K.value, (q) => {
3308
+ var ce, be, xe, We, Ct, $t;
3305
3309
  return Y((s(), r("button", {
3306
- key: ne(H),
3310
+ key: ne(q),
3307
3311
  type: "button",
3308
3312
  role: "option",
3309
- "aria-selected": N(H),
3310
- disabled: ((ce = e.disabledItemPredicate) == null ? void 0 : ce.call(e, H)) || !1,
3313
+ "aria-selected": N(q),
3314
+ disabled: ((ce = e.disabledItemPredicate) == null ? void 0 : ce.call(e, q)) || !1,
3311
3315
  class: b(
3312
3316
  rt({
3313
- disabled: ((ve = e.disabledItemPredicate) == null ? void 0 : ve.call(e, H)) || !1
3317
+ disabled: ((be = e.disabledItemPredicate) == null ? void 0 : be.call(e, q)) || !1
3314
3318
  })
3315
3319
  ),
3316
- onClick: (sl) => _(H, sl)
3320
+ onClick: (sl) => G(q, sl)
3317
3321
  }, [
3318
3322
  u("div", {
3319
3323
  class: b(["block w-full px-2 py-1.5 rounded-md text-left flex items-center gap-1", [
3320
- N(H) ? "bg-highlight-3" : "",
3324
+ N(q) ? "bg-highlight-3" : "",
3321
3325
  e.hideCheckmarks ? "pr-2" : "pr-8",
3322
- !((ye = e.disabledItemPredicate) != null && ye.call(e, H)) && !N(H) ? "hover:bg-highlight-1" : ""
3326
+ !((xe = e.disabledItemPredicate) != null && xe.call(e, q)) && !N(q) ? "hover:bg-highlight-1" : ""
3323
3327
  ]])
3324
3328
  }, [
3325
- A(Mn, {
3326
- name: `select-${ne(H)}`,
3327
- checked: N(H),
3328
- disabled: (We = e.disabledItemPredicate) == null ? void 0 : We.call(e, H),
3329
+ A(Tn, {
3330
+ name: `select-${ne(q)}`,
3331
+ checked: N(q),
3332
+ disabled: (We = e.disabledItemPredicate) == null ? void 0 : We.call(e, q),
3329
3333
  "hide-label": !0,
3330
- onChange: Z[3] || (Z[3] = we(() => {
3334
+ onChange: Z[3] || (Z[3] = me(() => {
3331
3335
  }, ["stop"]))
3332
3336
  }, null, 8, ["name", "checked", "disabled"]),
3333
3337
  D(S.$slots, "option", {
3334
3338
  class: "truncate",
3335
- item: H,
3336
- selected: N(H),
3337
- disabled: ((Ct = e.disabledItemPredicate) == null ? void 0 : Ct.call(e, H)) || !1
3339
+ item: q,
3340
+ selected: N(q),
3341
+ disabled: ((Ct = e.disabledItemPredicate) == null ? void 0 : Ct.call(e, q)) || !1
3338
3342
  }, () => [
3339
- F(O(re(H)), 1)
3343
+ F(O(re(q)), 1)
3340
3344
  ])
3341
3345
  ], 2)
3342
- ], 10, ya)), [
3346
+ ], 10, ka)), [
3343
3347
  [
3344
3348
  o(Le),
3345
- ($t = e.disabledItemPredicate) != null && $t.call(e, H) ? e.disabledItemTooltip : void 0
3349
+ ($t = e.disabledItemPredicate) != null && $t.call(e, q) ? e.disabledItemTooltip : void 0
3346
3350
  ]
3347
3351
  ]);
3348
3352
  }), 128)) : x("", !0)
3349
3353
  ])
3350
- ], 46, ua)) : x("", !0)
3354
+ ], 46, fa)) : x("", !0)
3351
3355
  ], 8, ["disabled"]))
3352
3356
  ]),
3353
3357
  _: 3
@@ -3357,14 +3361,14 @@ const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
3357
3361
  [o(Le), e.tooltipText]
3358
3362
  ])
3359
3363
  ], 2)),
3360
- P.value && !q.value ? (s(), r("p", {
3364
+ P.value && !W.value ? (s(), r("p", {
3361
3365
  key: 0,
3362
3366
  id: P.value,
3363
3367
  class: b(["mt-2 text-xs", z.value])
3364
- }, O(V.value), 11, xa)) : x("", !0)
3368
+ }, O(V.value), 11, Ca)) : x("", !0)
3365
3369
  ]));
3366
3370
  }
3367
- }), wa = { class: "flex items-center space-x-2" }, ka = ["for"], Qu = /* @__PURE__ */ U({
3371
+ }), $a = { class: "flex items-center space-x-2" }, Ia = ["for"], ld = /* @__PURE__ */ U({
3368
3372
  __name: "Switch",
3369
3373
  props: /* @__PURE__ */ Se({
3370
3374
  showLabel: { type: Boolean, default: !0 },
@@ -3395,7 +3399,7 @@ const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
3395
3399
  ];
3396
3400
  return a.value ? p.push("translate-x-[12px]") : p.push("translate-x-0"), p.join(" ");
3397
3401
  });
3398
- return (p, h) => (s(), r("div", wa, [
3402
+ return (p, h) => (s(), r("div", $a, [
3399
3403
  A(o(Xl), {
3400
3404
  id: e.id || e.name,
3401
3405
  modelValue: a.value,
@@ -3416,10 +3420,10 @@ const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
3416
3420
  class: b(i.value)
3417
3421
  }, [
3418
3422
  u("span", null, O(n.value), 1)
3419
- ], 10, ka)
3423
+ ], 10, Ia)
3420
3424
  ]));
3421
3425
  }
3422
- }), Ca = { class: "relative group bg-foundation border border-outline-2 p-2 rounded-lg pr-20" }, $a = { class: "absolute top-3 right-2 flex justify-end items-center" }, Yu = /* @__PURE__ */ U({
3426
+ }), Ba = { class: "relative group bg-foundation border border-outline-2 p-2 rounded-lg pr-20" }, Sa = { class: "absolute top-3 right-2 flex justify-end items-center" }, sd = /* @__PURE__ */ U({
3423
3427
  __name: "ClipboardInput",
3424
3428
  props: {
3425
3429
  value: null,
@@ -3440,12 +3444,12 @@ const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
3440
3444
  y.selectNodeContents(m), f.removeAllRanges(), f.addRange(y);
3441
3445
  }
3442
3446
  };
3443
- return (h, m) => (s(), r("div", Ca, [
3447
+ return (h, m) => (s(), r("div", Ba, [
3444
3448
  e.isMultiline ? (s(), r("div", {
3445
3449
  key: 0,
3446
3450
  class: "relative z-10 text-body-2xs select-all text-foreground font-mono break-all p-2 pl-3 max-h-[4.8rem] simple-scrollbar overflow-y-auto",
3447
3451
  onKeypress: m[0] || (m[0] = (f) => o(Kt)(p))
3448
- }, O(e.value), 33)) : (s(), T(o(mo), {
3452
+ }, O(e.value), 33)) : (s(), T(o(bo), {
3449
3453
  key: 1,
3450
3454
  color: "transparent",
3451
3455
  name: "contentInput",
@@ -3453,8 +3457,8 @@ const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
3453
3457
  "model-value": e.value,
3454
3458
  class: "relative z-10 text-sm text-foreground font-mono select-all"
3455
3459
  }, null, 8, ["model-value"])),
3456
- u("div", $a, [
3457
- A(o(me), {
3460
+ u("div", Sa, [
3461
+ A(o(pe), {
3458
3462
  color: "outline",
3459
3463
  size: "sm",
3460
3464
  "icon-left": e.isIconButton ? l.value ? o($l) : o(Il) : void 0,
@@ -3470,24 +3474,24 @@ const at = /* @__PURE__ */ ke(Oo, [["__scopeId", "data-v-985badae"]]), Po = {
3470
3474
  ]));
3471
3475
  }
3472
3476
  });
3473
- var Ge = /* @__PURE__ */ ((e) => (e.CtrlOrCmd = "cmd-or-ctrl", e.AltOrOpt = "alt-or-opt", e.Shift = "shift", e))(Ge || {});
3474
- const ft = wl(), Ia = {
3477
+ var _e = /* @__PURE__ */ ((e) => (e.CtrlOrCmd = "cmd-or-ctrl", e.AltOrOpt = "alt-or-opt", e.Shift = "shift", e))(_e || {});
3478
+ const ft = wl(), Oa = {
3475
3479
  "cmd-or-ctrl": ft === ct.Mac ? "⌘" : "⌃",
3476
3480
  "alt-or-opt": ft === ct.Mac ? "⌥" : "Alt",
3477
3481
  shift: "⇧"
3478
3482
  };
3479
- function ed(e) {
3480
- const t = (a) => Object.values(Ge).includes(a);
3481
- return e.map((a) => t(a) ? Ia[a] : a).join("");
3483
+ function nd(e) {
3484
+ const t = (a) => Object.values(_e).includes(a);
3485
+ return e.map((a) => t(a) ? Oa[a] : a).join("");
3482
3486
  }
3483
- function td(e, t, a) {
3487
+ function od(e, t, a) {
3484
3488
  const n = Fl(), l = `${e.map((v) => {
3485
3489
  switch (v) {
3486
- case Ge.CtrlOrCmd:
3490
+ case _e.CtrlOrCmd:
3487
3491
  return ft === ct.Mac ? "Meta" : "Control";
3488
- case Ge.AltOrOpt:
3492
+ case _e.AltOrOpt:
3489
3493
  return "Alt";
3490
- case Ge.Shift:
3494
+ case _e.Shift:
3491
3495
  return "Shift";
3492
3496
  default:
3493
3497
  return "";
@@ -3495,17 +3499,17 @@ function td(e, t, a) {
3495
3499
  }).join("+")}+${t}`;
3496
3500
  Dl(n[l], a);
3497
3501
  }
3498
- function ld(e) {
3502
+ function ad(e) {
3499
3503
  const t = (e == null ? void 0 : e.model) || j(), a = d({
3500
3504
  get: () => !!t.value,
3501
3505
  set: (n) => t.value = n ? !0 : void 0
3502
3506
  });
3503
3507
  return { model: t, isChecked: a };
3504
3508
  }
3505
- const Ba = /* @__PURE__ */ u("div", { class: "fixed top-0 left-0 w-full h-full backdrop-blur-xs bg-black/60 dark:bg-neutral-900/60 transition-opacity" }, null, -1), Sa = { class: "fixed top-0 left-0 z-10 h-screen !h-[100dvh] w-screen" }, Oa = { class: "flex items-center justify-start rounded-t-lg shrink-0 min-h-[2rem] sm:min-h-[3rem] px-6 py-4 truncate text-heading-sm" }, Pa = { class: "flex items-center pr-12" }, La = { class: "w-full truncate" }, Ma = /* @__PURE__ */ u("button", {
3509
+ const Pa = /* @__PURE__ */ u("div", { class: "fixed top-0 left-0 w-full h-full backdrop-blur-xs bg-black/60 dark:bg-neutral-900/60 transition-opacity" }, null, -1), La = { class: "fixed top-0 left-0 z-10 h-screen !h-[100dvh] w-screen" }, Ma = { class: "flex items-center justify-start rounded-t-lg shrink-0 min-h-[2rem] sm:min-h-[3rem] px-6 py-4 truncate text-heading-sm" }, Va = { class: "flex items-center pr-12" }, ja = { class: "w-full truncate" }, Ta = /* @__PURE__ */ u("button", {
3506
3510
  class: "hidden",
3507
3511
  type: "button"
3508
- }, null, -1), sd = /* @__PURE__ */ U({
3512
+ }, null, -1), id = /* @__PURE__ */ U({
3509
3513
  __name: "Dialog",
3510
3514
  props: {
3511
3515
  open: { type: Boolean },
@@ -3599,11 +3603,11 @@ const Ba = /* @__PURE__ */ u("div", { class: "fixed top-0 left-0 w-full h-full b
3599
3603
  "leave-to": "opacity-0"
3600
3604
  }, {
3601
3605
  default: R(() => [
3602
- Ba
3606
+ Pa
3603
3607
  ]),
3604
3608
  _: 1
3605
3609
  }),
3606
- u("div", Sa, [
3610
+ u("div", La, [
3607
3611
  u("div", {
3608
3612
  class: b(["flex md:justify-center h-full w-full md:p-6", [
3609
3613
  e.fullscreen === "none" || e.fullscreen === "desktop" ? "p-4 items-center" : "items-end md:items-center"
@@ -3624,29 +3628,29 @@ const Ba = /* @__PURE__ */ u("div", { class: "fixed top-0 left-0 w-full h-full b
3624
3628
  class: b(E.value),
3625
3629
  "dialog-panel-classes": "",
3626
3630
  as: h.value ? "form" : "div",
3627
- onSubmit: we(B, ["prevent"])
3631
+ onSubmit: me(B, ["prevent"])
3628
3632
  }, {
3629
3633
  default: R(() => [
3630
3634
  f.value ? (s(), r("div", {
3631
3635
  key: 0,
3632
3636
  class: b(["border-b border-outline-3", l.value && "relative z-20 shadow-lg"])
3633
3637
  }, [
3634
- u("div", Oa, [
3635
- u("div", Pa, [
3638
+ u("div", Ma, [
3639
+ u("div", Va, [
3636
3640
  e.showBackButton ? (s(), T(o(Bl), {
3637
3641
  key: 0,
3638
3642
  class: "w-5 h-5 -ml-1 mr-3",
3639
3643
  onClick: V[0] || (V[0] = (w) => I.$emit("back"))
3640
3644
  })) : x("", !0),
3641
- u("div", La, [
3645
+ u("div", ja, [
3642
3646
  F(O(e.title) + " ", 1),
3643
3647
  D(I.$slots, "header")
3644
3648
  ])
3645
3649
  ])
3646
3650
  ])
3647
3651
  ], 2)) : x("", !0),
3648
- Ma,
3649
- e.hideCloser ? x("", !0) : (s(), T(o(me), {
3652
+ Ta,
3653
+ e.hideCloser ? x("", !0) : (s(), T(o(pe), {
3650
3654
  key: 1,
3651
3655
  color: "subtle",
3652
3656
  size: "sm",
@@ -3677,15 +3681,15 @@ const Ba = /* @__PURE__ */ u("div", { class: "fixed top-0 left-0 w-full h-full b
3677
3681
  }])
3678
3682
  }, [
3679
3683
  e.buttons ? (s(!0), r(X, { key: 0 }, ee(e.buttons, (w, P) => {
3680
- var z, q;
3681
- return s(), T(o(me), Ce({
3684
+ var z, W;
3685
+ return s(), T(o(pe), Ce({
3682
3686
  key: w.id || P
3683
3687
  }, w.props || {}, {
3684
3688
  disabled: ((z = w.props) == null ? void 0 : z.disabled) || w.disabled,
3685
- submit: ((q = w.props) == null ? void 0 : q.submit) || w.submit,
3689
+ submit: ((W = w.props) == null ? void 0 : W.submit) || w.submit,
3686
3690
  onClick: (J) => {
3687
- var pe;
3688
- return (pe = w.onClick) == null ? void 0 : pe.call(w, J);
3691
+ var ve;
3692
+ return (ve = w.onClick) == null ? void 0 : ve.call(w, J);
3689
3693
  }
3690
3694
  }), {
3691
3695
  default: R(() => [
@@ -3711,10 +3715,10 @@ const Ba = /* @__PURE__ */ u("div", { class: "fixed top-0 left-0 w-full h-full b
3711
3715
  }, 8, ["show"]));
3712
3716
  }
3713
3717
  });
3714
- const Va = {
3718
+ const za = {
3715
3719
  key: 0,
3716
3720
  class: "h-4 w-4 empty:h-0 empty:w-0"
3717
- }, nd = /* @__PURE__ */ U({
3721
+ }, rd = /* @__PURE__ */ U({
3718
3722
  __name: "DialogSection",
3719
3723
  props: {
3720
3724
  title: String,
@@ -3781,7 +3785,7 @@ const Va = {
3781
3785
  u("div", {
3782
3786
  class: b(["text-heading-sm flex items-center space-x-1 sm:space-x-2 select-none", v.value])
3783
3787
  }, [
3784
- h.$slots.icon || e.icon ? (s(), r("div", Va, [
3788
+ h.$slots.icon || e.icon ? (s(), r("div", za, [
3785
3789
  h.$slots.icon ? D(h.$slots, "icon", { key: 0 }) : x("", !0),
3786
3790
  e.icon ? (s(), T(se(e.icon), {
3787
3791
  key: 1,
@@ -3795,7 +3799,7 @@ const Va = {
3795
3799
  key: 0,
3796
3800
  class: b(["w-4 h-4 transition-all duration-400", i.value && "rotate-180"])
3797
3801
  }, null, 8, ["class"])) : x("", !0),
3798
- e.button ? (s(), T(o(me), Ce({
3802
+ e.button ? (s(), T(o(pe), Ce({
3799
3803
  key: 1,
3800
3804
  to: e.button.expandContent ? void 0 : e.button.to,
3801
3805
  color: e.button.expandContent && i.value ? "outline" : e.button.color,
@@ -3845,7 +3849,7 @@ const Va = {
3845
3849
  ], 2);
3846
3850
  };
3847
3851
  }
3848
- }), ja = { class: "inline-flex items-center space-x-2" }, Ta = { class: "label-light" }, od = /* @__PURE__ */ U({
3852
+ }), Aa = { class: "inline-flex items-center space-x-2" }, Ea = { class: "label-light" }, ud = /* @__PURE__ */ U({
3849
3853
  __name: "Disclosure",
3850
3854
  props: {
3851
3855
  title: null,
@@ -3906,7 +3910,7 @@ const Va = {
3906
3910
  class: b(a.value)
3907
3911
  }, {
3908
3912
  default: R(() => [
3909
- u("div", ja, [
3913
+ u("div", Aa, [
3910
3914
  e.icon ? (s(), T(se(e.icon), {
3911
3915
  key: 0,
3912
3916
  class: "h-5 w-5"
@@ -3923,7 +3927,7 @@ const Va = {
3923
3927
  class: b(n.value)
3924
3928
  }, {
3925
3929
  default: R(() => [
3926
- u("div", Ta, [
3930
+ u("div", Ea, [
3927
3931
  D(i.$slots, "default", {}, () => [
3928
3932
  F("Panel contents")
3929
3933
  ])
@@ -3938,9 +3942,9 @@ const Va = {
3938
3942
  }
3939
3943
  });
3940
3944
  var Te = /* @__PURE__ */ ((e) => (e.Grid = "grid", e.List = "list", e))(Te || {});
3941
- const za = { class: "relative flex bg-primary-muted rounded-md" }, Aa = /* @__PURE__ */ u("div", { class: "w-7 h-7 bg-foundation dark:bg-foundation-2 transition rounded shadow" }, null, -1), Ea = [
3942
- Aa
3943
- ], Ra = { class: "relative z-10 flex space-x-1 items-center p-1 rounded-l" }, Fa = { class: "relative z-10 flex space-x-1 items-center p-1 rounded-r" }, ad = /* @__PURE__ */ U({
3945
+ const Ra = { class: "relative flex bg-primary-muted rounded-md" }, Fa = /* @__PURE__ */ u("div", { class: "w-7 h-7 bg-foundation dark:bg-foundation-2 transition rounded shadow" }, null, -1), Da = [
3946
+ Fa
3947
+ ], Ua = { class: "relative z-10 flex space-x-1 items-center p-1 rounded-l" }, Wa = { class: "relative z-10 flex space-x-1 items-center p-1 rounded-r" }, dd = /* @__PURE__ */ U({
3944
3948
  __name: "GridListToggle",
3945
3949
  props: {
3946
3950
  modelValue: null
@@ -3961,18 +3965,18 @@ const za = { class: "relative flex bg-primary-muted rounded-md" }, Aa = /* @__PU
3961
3965
  class: "max-w-max transition flex justify-center items-center space-x-2 outline-none select-none h-8 text-foreground border-2 border-primary-muted dark:border-foundation bg-primary-muted rounded-md active:scale-[0.97] grow",
3962
3966
  onClick: l
3963
3967
  }, [
3964
- u("div", za, [
3968
+ u("div", Ra, [
3965
3969
  u("div", {
3966
3970
  class: b(["absolute transition", {
3967
3971
  "translate-x-7": i.value !== o(Te).List
3968
3972
  }])
3969
- }, Ea, 2),
3970
- Y((s(), r("div", Ra, [
3973
+ }, Da, 2),
3974
+ Y((s(), r("div", Ua, [
3971
3975
  A(o(cs), { class: "h-5 w-5" })
3972
3976
  ])), [
3973
3977
  [h, "List View"]
3974
3978
  ]),
3975
- Y((s(), r("div", Fa, [
3979
+ Y((s(), r("div", Wa, [
3976
3980
  A(o(fs), { class: "h-5 w-5" })
3977
3981
  ])), [
3978
3982
  [h, "Grid View"]
@@ -3982,25 +3986,25 @@ const za = { class: "relative flex bg-primary-muted rounded-md" }, Aa = /* @__PU
3982
3986
  };
3983
3987
  }
3984
3988
  });
3985
- var Da = /* @__PURE__ */ ((e) => (e[e.Throttle = 0] = "Throttle", e[e.Debounce = 1] = "Debounce", e))(Da || {}), Xe = /* @__PURE__ */ ((e) => (e[e.Left = 0] = "Left", e[e.Right = 1] = "Right", e))(Xe || {});
3986
- function Ua(e, t) {
3989
+ var Ha = /* @__PURE__ */ ((e) => (e[e.Throttle = 0] = "Throttle", e[e.Debounce = 1] = "Debounce", e))(Ha || {}), Xe = /* @__PURE__ */ ((e) => (e[e.Left = 0] = "Left", e[e.Right = 1] = "Right", e))(Xe || {});
3990
+ function qa(e, t) {
3987
3991
  if (!Me)
3988
3992
  return;
3989
3993
  const {
3990
3994
  wait: a = 100,
3991
3995
  throttleOrDebounce: n = 0
3992
3996
  /* Throttle */
3993
- } = t || {}, i = a ? n === 0 ? dt(e, a) : _e(e, a) : e;
3997
+ } = t || {}, i = a ? n === 0 ? dt(e, a) : Ge(e, a) : e;
3994
3998
  de(() => window.addEventListener("resize", i)), tt(() => window.removeEventListener("resize", i));
3995
3999
  }
3996
- function id(e) {
4000
+ function cd(e) {
3997
4001
  de(() => {
3998
4002
  window.addEventListener("beforeunload", e);
3999
4003
  }), tt(() => {
4000
4004
  window.removeEventListener("beforeunload", e);
4001
4005
  });
4002
4006
  }
4003
- function Wa(e) {
4007
+ function Ka(e) {
4004
4008
  const { el: t, defaultDirection: a } = e, n = j(
4005
4009
  Be(a) ? 1 : a
4006
4010
  /* Right */
@@ -4019,7 +4023,7 @@ function Wa(e) {
4019
4023
  const p = v.getBoundingClientRect(), h = p.x + p.width > window.innerWidth, m = p.x < 0;
4020
4024
  h && m || !Be(i.value) && window.innerWidth < i.value || (h ? n.value = 0 : m && (n.value = 1));
4021
4025
  };
4022
- return Ua(() => l()), ue(
4026
+ return qa(() => l()), ue(
4023
4027
  () => o(t),
4024
4028
  (v) => {
4025
4029
  v && l();
@@ -4029,7 +4033,7 @@ function Wa(e) {
4029
4033
  recalculateDirection: l
4030
4034
  };
4031
4035
  }
4032
- const Ha = ["disabled", "onClick"], rd = /* @__PURE__ */ U({
4036
+ const _a = ["disabled", "onClick"], fd = /* @__PURE__ */ U({
4033
4037
  __name: "Menu",
4034
4038
  props: {
4035
4039
  open: { type: Boolean },
@@ -4064,7 +4068,7 @@ const Ha = ["disabled", "onClick"], rd = /* @__PURE__ */ U({
4064
4068
  left: `${B}px`,
4065
4069
  zIndex: 50
4066
4070
  };
4067
- }), { direction: c } = Wa({
4071
+ }), { direction: c } = Ka({
4068
4072
  el: d(() => {
4069
4073
  var B;
4070
4074
  return ((B = i.value) == null ? void 0 : B.el) || null;
@@ -4106,7 +4110,7 @@ const Ha = ["disabled", "onClick"], rd = /* @__PURE__ */ U({
4106
4110
  ref_key: "menuButton",
4107
4111
  ref: l,
4108
4112
  class: "hidden",
4109
- onClick: M[0] || (M[0] = we(() => {
4113
+ onClick: M[0] || (M[0] = me(() => {
4110
4114
  }, ["stop", "prevent"]))
4111
4115
  }, null, 8, ["id"]),
4112
4116
  u("div", {
@@ -4146,11 +4150,11 @@ const Ha = ["disabled", "onClick"], rd = /* @__PURE__ */ U({
4146
4150
  disabled: P.disabled,
4147
4151
  color: P.color
4148
4152
  }, {
4149
- default: R(({ active: z, disabled: q }) => [
4153
+ default: R(({ active: z, disabled: W }) => [
4150
4154
  Y((s(), r("span", null, [
4151
4155
  u("button", {
4152
- class: b($({ active: z, disabled: q, color: P.color })),
4153
- disabled: q,
4156
+ class: b($({ active: z, disabled: W, color: P.color })),
4157
+ disabled: W,
4154
4158
  onClick: (J) => E(P, J)
4155
4159
  }, [
4156
4160
  P.icon ? (s(), T(se(P.icon), {
@@ -4160,7 +4164,7 @@ const Ha = ["disabled", "onClick"], rd = /* @__PURE__ */ U({
4160
4164
  D(B.$slots, "item", { item: P }, () => [
4161
4165
  F(O(P.title), 1)
4162
4166
  ])
4163
- ], 10, Ha)
4167
+ ], 10, _a)
4164
4168
  ])), [
4165
4169
  [o(Le), P.disabled && P.disabledTooltip]
4166
4170
  ])
@@ -4177,57 +4181,57 @@ const Ha = ["disabled", "onClick"], rd = /* @__PURE__ */ U({
4177
4181
  }));
4178
4182
  }
4179
4183
  });
4180
- var qa = typeof global == "object" && global && global.Object === Object && global;
4181
- const Ka = qa;
4182
- var Ga = typeof self == "object" && self && self.Object === Object && self, _a = Ka || Ga || Function("return this")();
4183
- const Jt = _a;
4184
- var Na = Jt.Symbol;
4185
- const Ye = Na;
4186
- var Qt = Object.prototype, Za = Qt.hasOwnProperty, Xa = Qt.toString, He = Ye ? Ye.toStringTag : void 0;
4187
- function Ja(e) {
4188
- var t = Za.call(e, He), a = e[He];
4184
+ var Ga = typeof global == "object" && global && global.Object === Object && global;
4185
+ const Na = Ga;
4186
+ var Za = typeof self == "object" && self && self.Object === Object && self, Xa = Na || Za || Function("return this")();
4187
+ const Jt = Xa;
4188
+ var Ja = Jt.Symbol;
4189
+ const Ye = Ja;
4190
+ var Qt = Object.prototype, Qa = Qt.hasOwnProperty, Ya = Qt.toString, He = Ye ? Ye.toStringTag : void 0;
4191
+ function ei(e) {
4192
+ var t = Qa.call(e, He), a = e[He];
4189
4193
  try {
4190
4194
  e[He] = void 0;
4191
4195
  var n = !0;
4192
4196
  } catch {
4193
4197
  }
4194
- var i = Xa.call(e);
4198
+ var i = Ya.call(e);
4195
4199
  return n && (t ? e[He] = a : delete e[He]), i;
4196
4200
  }
4197
- var Qa = Object.prototype, Ya = Qa.toString;
4198
- function ei(e) {
4199
- return Ya.call(e);
4200
- }
4201
- var ti = "[object Null]", li = "[object Undefined]", Lt = Ye ? Ye.toStringTag : void 0;
4201
+ var ti = Object.prototype, li = ti.toString;
4202
4202
  function si(e) {
4203
- return e == null ? e === void 0 ? li : ti : Lt && Lt in Object(e) ? Ja(e) : ei(e);
4203
+ return li.call(e);
4204
4204
  }
4205
- function ni(e) {
4205
+ var ni = "[object Null]", oi = "[object Undefined]", Lt = Ye ? Ye.toStringTag : void 0;
4206
+ function ai(e) {
4207
+ return e == null ? e === void 0 ? oi : ni : Lt && Lt in Object(e) ? ei(e) : si(e);
4208
+ }
4209
+ function ii(e) {
4206
4210
  return e != null && typeof e == "object";
4207
4211
  }
4208
- var oi = "[object Symbol]";
4209
- function ai(e) {
4210
- return typeof e == "symbol" || ni(e) && si(e) == oi;
4212
+ var ri = "[object Symbol]";
4213
+ function ui(e) {
4214
+ return typeof e == "symbol" || ii(e) && ai(e) == ri;
4211
4215
  }
4212
- var ii = /\s/;
4213
- function ri(e) {
4214
- for (var t = e.length; t-- && ii.test(e.charAt(t)); )
4216
+ var di = /\s/;
4217
+ function ci(e) {
4218
+ for (var t = e.length; t-- && di.test(e.charAt(t)); )
4215
4219
  ;
4216
4220
  return t;
4217
4221
  }
4218
- var ui = /^\s+/;
4219
- function di(e) {
4220
- return e && e.slice(0, ri(e) + 1).replace(ui, "");
4222
+ var fi = /^\s+/;
4223
+ function hi(e) {
4224
+ return e && e.slice(0, ci(e) + 1).replace(fi, "");
4221
4225
  }
4222
4226
  function et(e) {
4223
4227
  var t = typeof e;
4224
4228
  return e != null && (t == "object" || t == "function");
4225
4229
  }
4226
- var Mt = 0 / 0, ci = /^[-+]0x[0-9a-f]+$/i, fi = /^0b[01]+$/i, hi = /^0o[0-7]+$/i, mi = parseInt;
4230
+ var Mt = 0 / 0, mi = /^[-+]0x[0-9a-f]+$/i, pi = /^0b[01]+$/i, vi = /^0o[0-7]+$/i, bi = parseInt;
4227
4231
  function Vt(e) {
4228
4232
  if (typeof e == "number")
4229
4233
  return e;
4230
- if (ai(e))
4234
+ if (ui(e))
4231
4235
  return Mt;
4232
4236
  if (et(e)) {
4233
4237
  var t = typeof e.valueOf == "function" ? e.valueOf() : e;
@@ -4235,20 +4239,20 @@ function Vt(e) {
4235
4239
  }
4236
4240
  if (typeof e != "string")
4237
4241
  return e === 0 ? e : +e;
4238
- e = di(e);
4239
- var a = fi.test(e);
4240
- return a || hi.test(e) ? mi(e.slice(2), a ? 2 : 8) : ci.test(e) ? Mt : +e;
4242
+ e = hi(e);
4243
+ var a = pi.test(e);
4244
+ return a || vi.test(e) ? bi(e.slice(2), a ? 2 : 8) : mi.test(e) ? Mt : +e;
4241
4245
  }
4242
- var pi = function() {
4246
+ var gi = function() {
4243
4247
  return Jt.Date.now();
4244
4248
  };
4245
- const ut = pi;
4246
- var vi = "Expected a function", bi = Math.max, gi = Math.min;
4247
- function yi(e, t, a) {
4249
+ const ut = gi;
4250
+ var yi = "Expected a function", xi = Math.max, wi = Math.min;
4251
+ function ki(e, t, a) {
4248
4252
  var n, i, l, v, p, h, m = 0, f = !1, y = !1, c = !0;
4249
4253
  if (typeof e != "function")
4250
- throw new TypeError(vi);
4251
- t = Vt(t) || 0, et(a) && (f = !!a.leading, y = "maxWait" in a, l = y ? bi(Vt(a.maxWait) || 0, t) : l, c = "trailing" in a ? !!a.trailing : c);
4254
+ throw new TypeError(yi);
4255
+ t = Vt(t) || 0, et(a) && (f = !!a.leading, y = "maxWait" in a, l = y ? xi(Vt(a.maxWait) || 0, t) : l, c = "trailing" in a ? !!a.trailing : c);
4252
4256
  function g(w) {
4253
4257
  var P = n, z = i;
4254
4258
  return n = i = void 0, m = w, v = e.apply(z, P), v;
@@ -4257,8 +4261,8 @@ function yi(e, t, a) {
4257
4261
  return m = w, p = setTimeout(C, t), f ? g(w) : v;
4258
4262
  }
4259
4263
  function E(w) {
4260
- var P = w - h, z = w - m, q = t - P;
4261
- return y ? gi(q, l - z) : q;
4264
+ var P = w - h, z = w - m, W = t - P;
4265
+ return y ? wi(W, l - z) : W;
4262
4266
  }
4263
4267
  function k(w) {
4264
4268
  var P = w - h, z = w - m;
@@ -4291,18 +4295,18 @@ function yi(e, t, a) {
4291
4295
  }
4292
4296
  return V.cancel = M, V.flush = I, V;
4293
4297
  }
4294
- var xi = "Expected a function";
4295
- function wi(e, t, a) {
4298
+ var Ci = "Expected a function";
4299
+ function $i(e, t, a) {
4296
4300
  var n = !0, i = !0;
4297
4301
  if (typeof e != "function")
4298
- throw new TypeError(xi);
4299
- return et(a) && (n = "leading" in a ? !!a.leading : n, i = "trailing" in a ? !!a.trailing : i), yi(e, t, {
4302
+ throw new TypeError(Ci);
4303
+ return et(a) && (n = "leading" in a ? !!a.leading : n, i = "trailing" in a ? !!a.trailing : i), ki(e, t, {
4300
4304
  leading: n,
4301
4305
  maxWait: t,
4302
4306
  trailing: i
4303
4307
  });
4304
4308
  }
4305
- const ki = { class: "relative z-10 flex flex-col !mt-0" }, Ci = { class: "absolute left-[-2px] top-[-2px] z-20 pr-8 bg-gradient-to-r from-foundation-page to-transparent" }, $i = /* @__PURE__ */ u("div", { class: "absolute left-0 z-10 w-full h-[1px] mt-px bg-outline-3 top-8" }, null, -1), Ii = ["data-tab-id", "disabled", "onClick"], Bi = { class: "flex space-x-2 items-center" }, Si = { class: "min-w-6" }, Oi = { key: 0 }, Pi = { key: 1 }, Li = { class: "absolute right-[-2px] top-[-2px] z-20 pl-8 bg-gradient-to-l from-foundation-page to-transparent" }, Mi = { class: "pt-4" }, ud = /* @__PURE__ */ U({
4309
+ const Ii = { class: "relative z-10 flex flex-col !mt-0" }, Bi = { class: "absolute left-[-2px] top-[-2px] z-20 pr-8 bg-gradient-to-r from-foundation-page to-transparent" }, Si = /* @__PURE__ */ u("div", { class: "absolute left-0 z-10 w-full h-[1px] mt-px bg-outline-3 top-8" }, null, -1), Oi = ["data-tab-id", "disabled", "onClick"], Pi = { class: "flex space-x-2 items-center" }, Li = { class: "min-w-6" }, Mi = { key: 0 }, Vi = { key: 1 }, ji = { class: "absolute right-[-2px] top-[-2px] z-20 pl-8 bg-gradient-to-l from-foundation-page to-transparent" }, Ti = { class: "pt-4" }, hd = /* @__PURE__ */ U({
4306
4310
  __name: "Horizontal",
4307
4311
  props: /* @__PURE__ */ Se({
4308
4312
  items: null
@@ -4363,7 +4367,7 @@ const ki = { class: "relative z-10 flex flex-col !mt-0" }, Ci = { class: "absolu
4363
4367
  }, k = () => {
4364
4368
  var M;
4365
4369
  (M = i.value) == null || M.scrollBy({ left: 100, behavior: "smooth" }), $();
4366
- }, C = wi(() => {
4370
+ }, C = $i(() => {
4367
4371
  $();
4368
4372
  }, 250), B = () => {
4369
4373
  const M = f.value;
@@ -4384,8 +4388,8 @@ const ki = { class: "relative z-10 flex flex-col !mt-0" }, Ci = { class: "absolu
4384
4388
  C.cancel();
4385
4389
  }), (M, I) => {
4386
4390
  const V = Ae("tippy");
4387
- return s(), r("div", ki, [
4388
- u("div", Ci, [
4391
+ return s(), r("div", Ii, [
4392
+ u("div", Bi, [
4389
4393
  l.value ? (s(), r("button", {
4390
4394
  key: 0,
4391
4395
  class: "bg-foundation p-1 rounded-full border border-outline-4 shadow",
@@ -4394,7 +4398,7 @@ const ki = { class: "relative z-10 flex flex-col !mt-0" }, Ci = { class: "absolu
4394
4398
  A(o(Pl), { class: "h-4 w-4" })
4395
4399
  ])) : x("", !0)
4396
4400
  ]),
4397
- $i,
4401
+ Si,
4398
4402
  u("div", {
4399
4403
  ref_key: "scrollContainer",
4400
4404
  ref: i,
@@ -4423,17 +4427,17 @@ const ki = { class: "relative z-10 flex flex-col !mt-0" }, Ci = { class: "absolu
4423
4427
  disabled: w.disabled,
4424
4428
  onClick: (z) => c(w)
4425
4429
  }, [
4426
- u("div", Bi, [
4430
+ u("div", Pi, [
4427
4431
  w.icon ? (s(), T(se(w.icon), {
4428
4432
  key: 0,
4429
4433
  class: "shrink-0 h-4 w-4 stroke-[2px]"
4430
4434
  })) : x("", !0),
4431
- u("div", Si, [
4432
- w.disabled && w.disabledMessage ? Y((s(), r("span", Oi, [
4435
+ u("div", Li, [
4436
+ w.disabled && w.disabledMessage ? Y((s(), r("span", Mi, [
4433
4437
  F(O(w.title), 1)
4434
4438
  ])), [
4435
4439
  [V, w.disabledMessage]
4436
- ]) : (s(), r("span", Pi, O(w.title), 1))
4440
+ ]) : (s(), r("span", Vi, O(w.title), 1))
4437
4441
  ]),
4438
4442
  w.count ? (s(), r("div", {
4439
4443
  key: 1,
@@ -4451,11 +4455,11 @@ const ki = { class: "relative z-10 flex flex-col !mt-0" }, Ci = { class: "absolu
4451
4455
  _: 2
4452
4456
  }, 1024)) : x("", !0)
4453
4457
  ])
4454
- ], 10, Ii);
4458
+ ], 10, Oi);
4455
4459
  }), 128))
4456
4460
  ], 512)
4457
4461
  ], 544),
4458
- u("div", Li, [
4462
+ u("div", ji, [
4459
4463
  v.value ? (s(), r("button", {
4460
4464
  key: 0,
4461
4465
  class: "bg-foundation p-1 rounded-full border border-outline-3 shadow",
@@ -4464,17 +4468,17 @@ const ki = { class: "relative z-10 flex flex-col !mt-0" }, Ci = { class: "absolu
4464
4468
  A(o(Ll), { class: "h-4 w-4" })
4465
4469
  ])) : x("", !0)
4466
4470
  ]),
4467
- u("div", Mi, [
4471
+ u("div", Ti, [
4468
4472
  D(M.$slots, "default", { activeItem: a.value })
4469
4473
  ])
4470
4474
  ]);
4471
4475
  };
4472
4476
  }
4473
4477
  });
4474
- const Vi = { class: "flex space-y-8 lg:space-y-0 lg:space-x-8 flex-col lg:flex-row" }, ji = { class: "lg:w-2/12" }, Ti = { class: "flex w-full flex-col space-y-1" }, zi = ["data-tab-id", "disabled", "onClick"], Ai = { class: "absolute top-0 right-0 left-0 bottom-0" }, Ei = { class: "flex space-x-2 items-center px-2" }, Ri = { class: "min-w-6" }, Fi = {
4478
+ const zi = { class: "flex space-y-8 lg:space-y-0 lg:space-x-8 flex-col lg:flex-row" }, Ai = { class: "lg:w-2/12" }, Ei = { class: "flex w-full flex-col space-y-1" }, Ri = ["data-tab-id", "disabled", "onClick"], Fi = { class: "absolute top-0 right-0 left-0 bottom-0" }, Di = { class: "flex space-x-2 items-center px-2" }, Ui = { class: "min-w-6" }, Wi = {
4475
4479
  key: 2,
4476
4480
  class: "text-body-3xs font-medium py-0.5 px-1.5 bg-info-lighter uppercase text-outline-4 rounded"
4477
- }, Di = { class: "lg:w-10/12" }, dd = /* @__PURE__ */ U({
4481
+ }, Hi = { class: "lg:w-10/12" }, md = /* @__PURE__ */ U({
4478
4482
  __name: "Vertical",
4479
4483
  props: /* @__PURE__ */ Se({
4480
4484
  items: null
@@ -4507,9 +4511,9 @@ const Vi = { class: "flex space-y-8 lg:space-y-0 lg:space-x-8 flex-col lg:flex-r
4507
4511
  }
4508
4512
  ), (l, v) => {
4509
4513
  const p = Ae("tippy");
4510
- return s(), r("div", Vi, [
4511
- u("div", ji, [
4512
- u("div", Ti, [
4514
+ return s(), r("div", zi, [
4515
+ u("div", Ai, [
4516
+ u("div", Ei, [
4513
4517
  (s(!0), r(X, null, ee(e.items, (h) => {
4514
4518
  var m;
4515
4519
  return s(), r("button", {
@@ -4519,18 +4523,18 @@ const Vi = { class: "flex space-y-8 lg:space-y-0 lg:space-x-8 flex-col lg:flex-r
4519
4523
  disabled: h.disabled,
4520
4524
  onClick: (f) => i(h)
4521
4525
  }, [
4522
- Y(u("div", Ai, null, 512), [
4526
+ Y(u("div", Fi, null, 512), [
4523
4527
  [
4524
4528
  p,
4525
4529
  h.disabled && h.disabledMessage ? h.disabledMessage : void 0
4526
4530
  ]
4527
4531
  ]),
4528
- u("div", Ei, [
4532
+ u("div", Di, [
4529
4533
  h.icon ? (s(), T(se(h.icon), {
4530
4534
  key: 0,
4531
4535
  class: "shrink-0 h-4 w-4 stroke-[2px]"
4532
4536
  })) : x("", !0),
4533
- u("span", Ri, O(h.title), 1),
4537
+ u("span", Ui, O(h.title), 1),
4534
4538
  h.count ? (s(), r("div", {
4535
4539
  key: 1,
4536
4540
  class: b([
@@ -4540,26 +4544,26 @@ const Vi = { class: "flex space-y-8 lg:space-y-0 lg:space-x-8 flex-col lg:flex-r
4540
4544
  }, [
4541
4545
  u("span", null, O(h.count), 1)
4542
4546
  ], 2)) : x("", !0),
4543
- h.tag ? (s(), r("div", Fi, O(h.tag), 1)) : x("", !0)
4547
+ h.tag ? (s(), r("div", Wi, O(h.tag), 1)) : x("", !0)
4544
4548
  ])
4545
- ], 10, zi);
4549
+ ], 10, Ri);
4546
4550
  }), 128))
4547
4551
  ])
4548
4552
  ]),
4549
- u("div", Di, [
4553
+ u("div", Hi, [
4550
4554
  D(l.$slots, "default", { activeItem: a.value })
4551
4555
  ])
4552
4556
  ]);
4553
4557
  };
4554
4558
  }
4555
- }), Ui = { class: "text-foreground" }, Wi = { class: "w-full text-sm overflow-x-auto overflow-y-visible simple-scrollbar border border-outline-3 rounded-lg" }, Hi = {
4559
+ }), qi = { class: "text-foreground" }, Ki = { class: "w-full text-sm overflow-x-auto overflow-y-visible simple-scrollbar border border-outline-3 rounded-lg" }, _i = {
4556
4560
  key: 0,
4557
4561
  class: "flex items-center justify-center py-3",
4558
4562
  tabindex: "0"
4559
- }, qi = ["onClick", "onKeypress"], Ki = /* @__PURE__ */ u("div", { class: "text-gray-900 font-medium order-1" }, "Placeholder", -1), Gi = {
4563
+ }, Gi = ["onClick", "onKeypress"], Ni = /* @__PURE__ */ u("div", { class: "text-gray-900 font-medium order-1" }, "Placeholder", -1), Zi = {
4560
4564
  key: 0,
4561
4565
  class: "absolute right-1.5 space-x-1 flex items-center p-0 h-full"
4562
- }, _i = { class: "w-full text-center label-light text-foreground-2 italic" }, cd = /* @__PURE__ */ U({
4566
+ }, Xi = { class: "w-full text-center label-light text-foreground-2 italic" }, pd = /* @__PURE__ */ U({
4563
4567
  __name: "Table",
4564
4568
  props: {
4565
4569
  items: null,
@@ -4609,8 +4613,8 @@ const Vi = { class: "flex space-y-8 lg:space-y-0 lg:space-x-8 flex-col lg:flex-r
4609
4613
  ]);
4610
4614
  return (m, f) => {
4611
4615
  var y;
4612
- return s(), r("div", Ui, [
4613
- u("div", Wi, [
4616
+ return s(), r("div", qi, [
4617
+ u("div", Ki, [
4614
4618
  u("div", {
4615
4619
  class: b(h.value),
4616
4620
  style: oe({ paddingRight: n.value })
@@ -4623,7 +4627,7 @@ const Vi = { class: "flex space-y-8 lg:space-y-0 lg:space-x-8 flex-col lg:flex-r
4623
4627
  u("div", {
4624
4628
  class: b(["divide-y divide-outline-3 h-full overflow-visible", { "pb-32": e.overflowCells }])
4625
4629
  }, [
4626
- e.loading || !e.items ? (s(), r("div", Hi, [
4630
+ e.loading || !e.items ? (s(), r("div", _i, [
4627
4631
  A(o(it))
4628
4632
  ])) : (y = e.items) != null && y.length ? (s(!0), r(X, { key: 1 }, ee(e.items, (c) => (s(), r("div", {
4629
4633
  key: c.id,
@@ -4639,27 +4643,27 @@ const Vi = { class: "flex space-y-8 lg:space-y-0 lg:space-x-8 flex-col lg:flex-r
4639
4643
  tabindex: "0"
4640
4644
  }, [
4641
4645
  D(m.$slots, g.id, { item: c }, () => [
4642
- Ki
4646
+ Ni
4643
4647
  ])
4644
4648
  ], 2))), 128)),
4645
- e.buttons ? (s(), r("div", Gi, [
4649
+ e.buttons ? (s(), r("div", Zi, [
4646
4650
  (s(!0), r(X, null, ee(e.buttons, (g) => (s(), r("div", {
4647
4651
  key: g.label
4648
4652
  }, [
4649
- Y(A(o(me), {
4653
+ Y(A(o(pe), {
4650
4654
  "icon-left": g.icon,
4651
4655
  size: "sm",
4652
4656
  color: "outline",
4653
4657
  "hide-text": "",
4654
4658
  class: b(g.class),
4655
4659
  to: o(Oe)(g.action) ? g.action : void 0,
4656
- onClick: we(($) => o(Oe)(g.action) ? o(vt) : g.action(c), ["stop"])
4660
+ onClick: me(($) => o(Oe)(g.action) ? o(vt) : g.action(c), ["stop"])
4657
4661
  }, null, 8, ["icon-left", "class", "to", "onClick"]), [
4658
4662
  [o(Le), g.tooltip]
4659
4663
  ])
4660
4664
  ]))), 128))
4661
4665
  ])) : x("", !0)
4662
- ], 46, qi))), 128)) : (s(), r("div", {
4666
+ ], 46, Gi))), 128)) : (s(), r("div", {
4663
4667
  key: 2,
4664
4668
  tabindex: "0",
4665
4669
  style: oe({ paddingRight: n.value }),
@@ -4670,7 +4674,7 @@ const Vi = { class: "flex space-y-8 lg:space-y-0 lg:space-x-8 flex-col lg:flex-r
4670
4674
  tabindex: "0"
4671
4675
  }, [
4672
4676
  D(m.$slots, "empty", {}, () => [
4673
- u("div", _i, O(e.emptyMessage), 1)
4677
+ u("div", Xi, O(e.emptyMessage), 1)
4674
4678
  ])
4675
4679
  ], 2)
4676
4680
  ], 6))
@@ -4679,7 +4683,7 @@ const Vi = { class: "flex space-y-8 lg:space-y-0 lg:space-x-8 flex-col lg:flex-r
4679
4683
  ]);
4680
4684
  };
4681
4685
  }
4682
- }), Ni = /* @__PURE__ */ u("div", { class: "h-8" }, null, -1), Zi = { class: "w-full flex flex-col items-center my-2 space-y-2 mt-4" }, Xi = { class: "inline-flex items-center space-x-1" }, Ji = /* @__PURE__ */ u("span", { class: "text-foreground-2" }, "An error occurred while loading", -1), fd = /* @__PURE__ */ U({
4686
+ }), Ji = /* @__PURE__ */ u("div", { class: "h-8" }, null, -1), Qi = { class: "w-full flex flex-col items-center my-2 space-y-2 mt-4" }, Yi = { class: "inline-flex items-center space-x-1" }, er = /* @__PURE__ */ u("span", { class: "text-foreground-2" }, "An error occurred while loading", -1), vd = /* @__PURE__ */ U({
4683
4687
  __name: "InfiniteLoading",
4684
4688
  props: {
4685
4689
  settings: null,
@@ -4707,15 +4711,15 @@ const Vi = { class: "flex space-y-8 lg:space-y-0 lg:space-x-8 flex-col lg:flex-r
4707
4711
  })
4708
4712
  ]),
4709
4713
  complete: R(() => [
4710
- Ni
4714
+ Ji
4711
4715
  ]),
4712
4716
  error: R(({ retry: l }) => [
4713
- u("div", Zi, [
4714
- u("div", Xi, [
4717
+ u("div", Qi, [
4718
+ u("div", Yi, [
4715
4719
  A(o(Ml), { class: "w-5 h-5 text-danger" }),
4716
- Ji
4720
+ er
4717
4721
  ]),
4718
- e.allowRetry ? (s(), T(me, {
4722
+ e.allowRetry ? (s(), T(pe, {
4719
4723
  key: 0,
4720
4724
  onClick: l
4721
4725
  }, {
@@ -4730,10 +4734,10 @@ const Vi = { class: "flex space-y-8 lg:space-y-0 lg:space-x-8 flex-col lg:flex-r
4730
4734
  }, 16)) : x("", !0)
4731
4735
  ], 512));
4732
4736
  }
4733
- }), Qi = { class: "relative group" }, Yi = {
4737
+ }), tr = { class: "relative group" }, lr = {
4734
4738
  key: 0,
4735
4739
  class: "absolute -top-1 -left-1 -right-1 -bottom-1 bg-blue-300 dark:bg-blue-500 opacity-5 dark:opacity-0 rounded-md blur-sm group-hover:opacity-60 dark:group-hover:opacity-30 transition duration-500"
4736
- }, hd = /* @__PURE__ */ U({
4740
+ }, bd = /* @__PURE__ */ U({
4737
4741
  __name: "Panel",
4738
4742
  props: {
4739
4743
  /**
@@ -4777,10 +4781,10 @@ const Vi = { class: "flex space-y-8 lg:space-y-0 lg:space-x-8 flex-col lg:flex-r
4777
4781
  () => n.customPadding ? "" : "px-4 py-4 sm:p-6"
4778
4782
  ), v = d(() => {
4779
4783
  const p = ["rounded-lg"];
4780
- return n.noShadow || p.push("shadow"), n.ring && p.push("ring-outline-2 hover:ring-2"), n.panelClasses && p.push(n.panelClasses), p.join(" ");
4784
+ return n.noShadow || p.push("shadow"), n.ring && p.push("ring-outline-1 hover:ring-1"), n.panelClasses && p.push(n.panelClasses), p.join(" ");
4781
4785
  });
4782
- return (p, h) => (s(), r("div", Qi, [
4783
- e.fancyGlow ? (s(), r("div", Yi)) : x("", !0),
4786
+ return (p, h) => (s(), r("div", tr, [
4787
+ e.fancyGlow ? (s(), r("div", lr)) : x("", !0),
4784
4788
  (s(), T(se(e.form ? "form" : "div"), {
4785
4789
  class: b([
4786
4790
  "relative divide-outline-3 bg-foundation text-foreground flex flex-col divide-y overflow-hidden",
@@ -4811,11 +4815,11 @@ const Vi = { class: "flex space-y-8 lg:space-y-0 lg:space-x-8 flex-col lg:flex-r
4811
4815
  }, 40, ["class"]))
4812
4816
  ]));
4813
4817
  }
4814
- }), er = {}, tr = {
4818
+ }), sr = {}, nr = {
4815
4819
  key: 0,
4816
4820
  class: "shrink-0 pt-2"
4817
4821
  };
4818
- function lr(e, t) {
4822
+ function or(e, t) {
4819
4823
  return s(), r("aside", {
4820
4824
  class: b(["flex flex-col justify-between h-full w-full", e.$slots.promo ? "" : "overflow-y-auto overflow-x-hidden simple-scrollbar"])
4821
4825
  }, [
@@ -4824,18 +4828,18 @@ function lr(e, t) {
4824
4828
  }, [
4825
4829
  D(e.$slots, "default")
4826
4830
  ], 2),
4827
- e.$slots.promo ? (s(), r("div", tr, [
4831
+ e.$slots.promo ? (s(), r("div", nr, [
4828
4832
  D(e.$slots, "promo")
4829
4833
  ])) : x("", !0)
4830
4834
  ], 2);
4831
4835
  }
4832
- const md = /* @__PURE__ */ ke(er, [["render", lr]]), sr = { class: "flex flex-col gap-y-1 sm:gap-y-2 border border-outline-3 rounded-lg py-2 px-3 sm:p-4 select-none" }, nr = {
4836
+ const gd = /* @__PURE__ */ ke(sr, [["render", or]]), ar = { class: "flex flex-col gap-y-1 sm:gap-y-2 border border-outline-3 rounded-lg py-2 px-3 sm:p-4 select-none" }, ir = {
4833
4837
  key: 0,
4834
4838
  class: "text-body-xs sm:text-heading-sm font-medium text-foreground"
4835
- }, or = {
4839
+ }, rr = {
4836
4840
  key: 1,
4837
4841
  class: "text-body-2xs sm:text-body-xs text-foreground-2 !leading-5"
4838
- }, pd = /* @__PURE__ */ U({
4842
+ }, yd = /* @__PURE__ */ U({
4839
4843
  __name: "Promo",
4840
4844
  props: {
4841
4845
  title: null,
@@ -4845,10 +4849,10 @@ const md = /* @__PURE__ */ ke(er, [["render", lr]]), sr = { class: "flex flex-co
4845
4849
  },
4846
4850
  emits: ["onClick"],
4847
4851
  setup(e) {
4848
- return (t, a) => (s(), r("div", sr, [
4849
- e.title ? (s(), r("h6", nr, O(e.title), 1)) : x("", !0),
4850
- e.text ? (s(), r("p", or, O(e.text), 1)) : x("", !0),
4851
- e.buttonText ? (s(), T(me, {
4852
+ return (t, a) => (s(), r("div", ar, [
4853
+ e.title ? (s(), r("h6", ir, O(e.title), 1)) : x("", !0),
4854
+ e.text ? (s(), r("p", rr, O(e.text), 1)) : x("", !0),
4855
+ e.buttonText ? (s(), T(pe, {
4852
4856
  key: 2,
4853
4857
  size: "sm",
4854
4858
  class: "mt-1",
@@ -4863,85 +4867,85 @@ const md = /* @__PURE__ */ ke(er, [["render", lr]]), sr = { class: "flex flex-co
4863
4867
  }, 8, ["to", "target"])) : x("", !0)
4864
4868
  ]));
4865
4869
  }
4866
- }), ar = {}, ir = { class: "flex flex-col space-y-4" };
4867
- function rr(e, t) {
4868
- return s(), r("nav", ir, [
4870
+ }), ur = {}, dr = { class: "flex flex-col space-y-4" };
4871
+ function cr(e, t) {
4872
+ return s(), r("nav", dr, [
4869
4873
  D(e.$slots, "default")
4870
4874
  ]);
4871
4875
  }
4872
- const vd = /* @__PURE__ */ ke(ar, [["render", rr]]), ur = {}, dr = {
4876
+ const xd = /* @__PURE__ */ ke(ur, [["render", cr]]), fr = {}, hr = {
4873
4877
  width: "16",
4874
4878
  height: "16",
4875
4879
  viewBox: "0 0 16 16",
4876
4880
  fill: "none",
4877
4881
  xmlns: "http://www.w3.org/2000/svg"
4878
- }, cr = /* @__PURE__ */ u("path", {
4882
+ }, mr = /* @__PURE__ */ u("path", {
4879
4883
  d: "M8 3V13M3 8H13",
4880
4884
  stroke: "currentColor",
4881
4885
  "stroke-width": "1.5"
4882
- }, null, -1), fr = [
4883
- cr
4886
+ }, null, -1), pr = [
4887
+ mr
4884
4888
  ];
4885
- function hr(e, t) {
4886
- return s(), r("svg", dr, fr);
4889
+ function vr(e, t) {
4890
+ return s(), r("svg", hr, pr);
4887
4891
  }
4888
- const mr = /* @__PURE__ */ ke(ur, [["render", hr]]), pr = {}, vr = {
4892
+ const br = /* @__PURE__ */ ke(fr, [["render", vr]]), gr = {}, yr = {
4889
4893
  width: "14",
4890
4894
  height: "14",
4891
4895
  viewBox: "0 0 14 14",
4892
4896
  fill: "none",
4893
4897
  xmlns: "http://www.w3.org/2000/svg"
4894
- }, br = /* @__PURE__ */ u("path", {
4898
+ }, xr = /* @__PURE__ */ u("path", {
4895
4899
  d: "M3.66748 3.66687H3.00081C2.64719 3.66687 2.30805 3.80735 2.058 4.05739C1.80796 4.30744 1.66748 4.64658 1.66748 5.0002V11.0002C1.66748 11.3538 1.80796 11.693 2.058 11.943C2.30805 12.1931 2.64719 12.3335 3.00081 12.3335H9.00081C9.35443 12.3335 9.69357 12.1931 9.94362 11.943C10.1937 11.693 10.3341 11.3538 10.3341 11.0002V10.3335",
4896
4900
  stroke: "currentColor",
4897
4901
  "stroke-width": "1.5",
4898
4902
  "stroke-linecap": "round",
4899
4903
  "stroke-linejoin": "round"
4900
- }, null, -1), gr = /* @__PURE__ */ u("path", {
4904
+ }, null, -1), wr = /* @__PURE__ */ u("path", {
4901
4905
  d: "M12.59 3.39007C12.8526 3.12751 13.0001 2.77139 13.0001 2.40007C13.0001 2.02875 12.8526 1.67264 12.59 1.41007C12.3274 1.14751 11.9713 1 11.6 1C11.2287 1 10.8726 1.14751 10.61 1.41007L5 7.00007V9.00007H7L12.59 3.39007Z",
4902
4906
  stroke: "currentColor",
4903
4907
  "stroke-width": "1.5",
4904
4908
  "stroke-linecap": "round",
4905
4909
  "stroke-linejoin": "round"
4906
- }, null, -1), yr = /* @__PURE__ */ u("path", {
4910
+ }, null, -1), kr = /* @__PURE__ */ u("path", {
4907
4911
  d: "M9.66748 2.33313L11.6675 4.33313",
4908
4912
  stroke: "currentColor",
4909
4913
  "stroke-width": "1.5",
4910
4914
  "stroke-linecap": "round",
4911
4915
  "stroke-linejoin": "round"
4912
- }, null, -1), xr = [
4913
- br,
4914
- gr,
4915
- yr
4916
+ }, null, -1), Cr = [
4917
+ xr,
4918
+ wr,
4919
+ kr
4916
4920
  ];
4917
- function wr(e, t) {
4918
- return s(), r("svg", vr, xr);
4921
+ function $r(e, t) {
4922
+ return s(), r("svg", yr, Cr);
4919
4923
  }
4920
- const kr = /* @__PURE__ */ ke(pr, [["render", wr]]), Cr = {}, $r = {
4924
+ const Ir = /* @__PURE__ */ ke(gr, [["render", $r]]), Br = {}, Sr = {
4921
4925
  width: "16",
4922
4926
  height: "32",
4923
4927
  viewBox: "0 0 16 32",
4924
4928
  fill: "none",
4925
4929
  xmlns: "http://www.w3.org/2000/svg"
4926
- }, Ir = /* @__PURE__ */ u("path", {
4930
+ }, Or = /* @__PURE__ */ u("path", {
4927
4931
  d: "M7.64645 17.7498C7.84171 17.9451 8.15829 17.9451 8.35355 17.7498L11.1464 14.9569C11.4614 14.642 11.2383 14.1034 10.7929 14.1034H5.20711C4.76165 14.1034 4.53857 14.642 4.85355 14.9569L7.64645 17.7498Z",
4928
4932
  fill: "currentColor"
4929
- }, null, -1), Br = [
4930
- Ir
4933
+ }, null, -1), Pr = [
4934
+ Or
4931
4935
  ];
4932
- function Sr(e, t) {
4933
- return s(), r("svg", $r, Br);
4936
+ function Lr(e, t) {
4937
+ return s(), r("svg", Sr, Pr);
4934
4938
  }
4935
- const Yt = /* @__PURE__ */ ke(Cr, [["render", Sr]]), Or = { class: "flex flex-col group" }, Pr = {
4939
+ const Yt = /* @__PURE__ */ ke(Br, [["render", Lr]]), Mr = { class: "flex flex-col group" }, Vr = {
4936
4940
  key: 0,
4937
4941
  class: "flex items-center justify-center ml-1 mr-2"
4938
- }, Lr = { class: "flex flex-1 items-center truncate justify-between" }, Mr = { class: "font-semibold text-foreground-2 truncate text-body-2xs pr-2" }, Vr = {
4942
+ }, jr = { class: "flex flex-1 items-center truncate justify-between" }, Tr = { class: "font-semibold text-foreground-2 truncate text-body-2xs pr-2" }, zr = {
4939
4943
  key: 1,
4940
4944
  class: "flex space-x-1 items-center w-full p-1 text-foreground-2 pl-2"
4941
- }, jr = {
4945
+ }, Ar = {
4942
4946
  key: 0,
4943
4947
  class: "flex items-center justify-center"
4944
- }, Tr = { class: "flex flex-1 items-center justify-between truncate" }, zr = { class: "font-semibold text-foreground-2 truncate text-body-2xs pr-2" }, Ar = { class: "flex flex-col" }, bd = /* @__PURE__ */ U({
4948
+ }, Er = { class: "flex flex-1 items-center justify-between truncate" }, Rr = { class: "font-semibold text-foreground-2 truncate text-body-2xs pr-2" }, Fr = { class: "flex flex-col" }, wd = /* @__PURE__ */ U({
4945
4949
  __name: "Group",
4946
4950
  props: /* @__PURE__ */ Se({
4947
4951
  tag: null,
@@ -4961,7 +4965,7 @@ const Yt = /* @__PURE__ */ ke(Cr, [["render", Sr]]), Or = { class: "flex flex-co
4961
4965
  const t = ze(e, "collapsed");
4962
4966
  return (a, n) => {
4963
4967
  const i = Ae("tippy");
4964
- return s(), r("div", Or, [
4968
+ return s(), r("div", Mr, [
4965
4969
  e.title ? (s(), r("div", {
4966
4970
  key: 0,
4967
4971
  class: b(["h-8 flex items-center justify-between select-none rounded-md", [e.collapsible && !e.noHover && "hover:bg-highlight-1"]])
@@ -4974,11 +4978,11 @@ const Yt = /* @__PURE__ */ ke(Cr, [["render", Sr]]), Or = { class: "flex flex-co
4974
4978
  A(Yt, {
4975
4979
  class: b([[t.value ? "-rotate-90" : "", e.noHover ? "-ml-1" : ""], "text-foreground-2 shrink-0"])
4976
4980
  }, null, 8, ["class"]),
4977
- a.$slots["title-icon"] ? (s(), r("div", Pr, [
4981
+ a.$slots["title-icon"] ? (s(), r("div", Vr, [
4978
4982
  D(a.$slots, "title-icon")
4979
4983
  ])) : x("", !0),
4980
- u("div", Lr, [
4981
- u("h6", Mr, O(e.title), 1),
4984
+ u("div", jr, [
4985
+ u("h6", Tr, O(e.title), 1),
4982
4986
  e.tag ? (s(), T(Ve, {
4983
4987
  key: 0,
4984
4988
  rounded: ""
@@ -4989,12 +4993,12 @@ const Yt = /* @__PURE__ */ ke(Cr, [["render", Sr]]), Or = { class: "flex flex-co
4989
4993
  _: 1
4990
4994
  })) : x("", !0)
4991
4995
  ])
4992
- ], 2)) : (s(), r("div", Vr, [
4993
- a.$slots["title-icon"] ? (s(), r("div", jr, [
4996
+ ], 2)) : (s(), r("div", zr, [
4997
+ a.$slots["title-icon"] ? (s(), r("div", Ar, [
4994
4998
  D(a.$slots, "title-icon")
4995
4999
  ])) : x("", !0),
4996
- u("div", Tr, [
4997
- u("h6", zr, O(e.title), 1),
5000
+ u("div", Er, [
5001
+ u("h6", Rr, O(e.title), 1),
4998
5002
  e.tag ? (s(), T(Ve, {
4999
5003
  key: 0,
5000
5004
  rounded: ""
@@ -5012,10 +5016,10 @@ const Yt = /* @__PURE__ */ ke(Cr, [["render", Sr]]), Or = { class: "flex flex-co
5012
5016
  onClick: n[1] || (n[1] = //@ts-ignore
5013
5017
  (...l) => e.iconClick && e.iconClick(...l))
5014
5018
  }, [
5015
- e.icon === "edit" ? (s(), T(kr, {
5019
+ e.icon === "edit" ? (s(), T(Ir, {
5016
5020
  key: 0,
5017
5021
  class: "h-4 w-4"
5018
- })) : (s(), T(mr, {
5022
+ })) : (s(), T(br, {
5019
5023
  key: 1,
5020
5024
  class: "h-4 w-4"
5021
5025
  }))
@@ -5023,7 +5027,7 @@ const Yt = /* @__PURE__ */ ke(Cr, [["render", Sr]]), Or = { class: "flex flex-co
5023
5027
  [i, e.iconText ? e.iconText : void 0]
5024
5028
  ]) : x("", !0)
5025
5029
  ], 2)) : x("", !0),
5026
- Y(u("div", Ar, [
5030
+ Y(u("div", Fr, [
5027
5031
  D(a.$slots, "default")
5028
5032
  ], 512), [
5029
5033
  [Et, !t.value]
@@ -5031,13 +5035,13 @@ const Yt = /* @__PURE__ */ ke(Cr, [["render", Sr]]), Or = { class: "flex flex-co
5031
5035
  ]);
5032
5036
  };
5033
5037
  }
5034
- }), Er = ["to"], Rr = {
5038
+ }), Dr = ["to"], Ur = {
5035
5039
  key: 0,
5036
5040
  class: "h-6 w-6 flex items-center justify-center"
5037
- }, Fr = { class: "truncate" }, Dr = {
5041
+ }, Wr = { class: "truncate" }, Hr = {
5038
5042
  key: 1,
5039
5043
  class: "flex flex-col"
5040
- }, Ur = { class: "text-heading-sm flex items-center space-x-1.5" }, Wr = { class: "pl-4" }, gd = /* @__PURE__ */ U({
5044
+ }, qr = { class: "text-heading-sm flex items-center space-x-1.5" }, Kr = { class: "pl-4" }, kd = /* @__PURE__ */ U({
5041
5045
  __name: "Item",
5042
5046
  props: {
5043
5047
  label: null,
@@ -5055,7 +5059,7 @@ const Yt = /* @__PURE__ */ ke(Cr, [["render", Sr]]), Or = { class: "flex flex-co
5055
5059
  };
5056
5060
  return (v, p) => {
5057
5061
  const h = Ae("tippy");
5058
- return i ? (s(), r("div", Dr, [
5062
+ return i ? (s(), r("div", Hr, [
5059
5063
  Y((s(), r("button", {
5060
5064
  class: b(["flex space-x-1.5 items-center w-full rounded-md p-0.5", [
5061
5065
  !e.disabled && "cursor-pointer text-foreground-2 hover:text-foreground",
@@ -5066,11 +5070,11 @@ const Yt = /* @__PURE__ */ ke(Cr, [["render", Sr]]), Or = { class: "flex flex-co
5066
5070
  A(Yt, {
5067
5071
  class: b(["h-1 w-2 shrink-0", [a.value ? "" : "-rotate-90"]])
5068
5072
  }, null, 8, ["class"]),
5069
- u("h6", Ur, O(e.label), 1)
5073
+ u("h6", qr, O(e.label), 1)
5070
5074
  ], 2)), [
5071
5075
  [h, e.tooltipText]
5072
5076
  ]),
5073
- Y(u("div", Wr, [
5077
+ Y(u("div", Kr, [
5074
5078
  D(v.$slots, "default")
5075
5079
  ], 512), [
5076
5080
  [Et, a.value]
@@ -5088,10 +5092,10 @@ const Yt = /* @__PURE__ */ ke(Cr, [["render", Sr]]), Or = { class: "flex flex-co
5088
5092
  u("div", {
5089
5093
  class: b(["flex items-center space-x-2 truncate", [e.disabled && "opacity-60"]])
5090
5094
  }, [
5091
- v.$slots.icon ? (s(), r("div", Rr, [
5095
+ v.$slots.icon ? (s(), r("div", Ur, [
5092
5096
  D(v.$slots, "icon")
5093
5097
  ])) : x("", !0),
5094
- u("span", Fr, O(e.label), 1),
5098
+ u("span", Wr, O(e.label), 1),
5095
5099
  e.external ? (s(), T(o(Vl), {
5096
5100
  key: 1,
5097
5101
  class: "h-2.5 w-2.5 !stroke-[3px] -ml-1 -mt-1.5 opacity-0 group-hover/item:opacity-100 shrink-0"
@@ -5107,18 +5111,18 @@ const Yt = /* @__PURE__ */ ke(Cr, [["render", Sr]]), Or = { class: "flex flex-co
5107
5111
  ]),
5108
5112
  _: 1
5109
5113
  }, 8, ["color-classes"])) : x("", !0)
5110
- ], 10, Er)), [
5114
+ ], 10, Dr)), [
5111
5115
  [h, e.tooltipText]
5112
5116
  ]);
5113
5117
  };
5114
5118
  }
5115
- }), Hr = { key: 0 }, qr = { class: "flex-1" }, Kr = {
5119
+ }), _r = { key: 0 }, Gr = { class: "flex-1" }, Nr = {
5116
5120
  key: 0,
5117
5121
  class: "text-body-xs font-medium"
5118
- }, Gr = {
5122
+ }, Zr = {
5119
5123
  key: 1,
5120
5124
  class: "text-body-xs"
5121
- }, _r = { class: "flex gap-x-2" }, yd = /* @__PURE__ */ U({
5125
+ }, Xr = { class: "flex gap-x-2" }, Cd = /* @__PURE__ */ U({
5122
5126
  __name: "Alert",
5123
5127
  props: {
5124
5128
  color: { default: "success" },
@@ -5225,26 +5229,26 @@ const Yt = /* @__PURE__ */ ke(Cr, [["render", Sr]]), Or = { class: "flex flex-co
5225
5229
  u("div", {
5226
5230
  class: b(p.value)
5227
5231
  }, [
5228
- e.hideIcon ? x("", !0) : (s(), r("div", Hr, [
5232
+ e.hideIcon ? x("", !0) : (s(), r("div", _r, [
5229
5233
  (s(), T(se(l.value), {
5230
5234
  class: b(h.value),
5231
5235
  "aria-hidden": "true"
5232
5236
  }, null, 8, ["class"]))
5233
5237
  ])),
5234
- u("div", qr, [
5235
- i.value ? (s(), r("h3", Kr, [
5238
+ u("div", Gr, [
5239
+ i.value ? (s(), r("h3", Nr, [
5236
5240
  D(f.$slots, "title", {}, () => [
5237
5241
  F("Title")
5238
5242
  ])
5239
5243
  ])) : x("", !0),
5240
- n.value ? (s(), r("div", Gr, [
5244
+ n.value ? (s(), r("div", Zr, [
5241
5245
  D(f.$slots, "description", {}, () => [
5242
5246
  F(" Lorem ipsum dolor sit amet consectetur adipisicing elit. Aliquid pariatur, ipsum similique veniam. ")
5243
5247
  ])
5244
5248
  ])) : x("", !0)
5245
5249
  ]),
5246
- u("div", _r, [
5247
- (s(!0), r(X, null, ee(e.actions || [], (c, g) => (s(), T(me, {
5250
+ u("div", Xr, [
5251
+ (s(!0), r(X, null, ee(e.actions || [], (c, g) => (s(), T(pe, {
5248
5252
  key: g,
5249
5253
  color: "outline",
5250
5254
  size: "sm",
@@ -5263,7 +5267,7 @@ const Yt = /* @__PURE__ */ ke(Cr, [["render", Sr]]), Or = { class: "flex flex-co
5263
5267
  key: 1,
5264
5268
  class: b(["flex", [n.value ? "items-start" : "items-center"]])
5265
5269
  }, [
5266
- A(me, {
5270
+ A(pe, {
5267
5271
  type: "button",
5268
5272
  color: "subtle",
5269
5273
  size: "sm",
@@ -5279,7 +5283,7 @@ const Yt = /* @__PURE__ */ ke(Cr, [["render", Sr]]), Or = { class: "flex flex-co
5279
5283
  ], 2));
5280
5284
  }
5281
5285
  });
5282
- function xd(e) {
5286
+ function $d(e) {
5283
5287
  var $, E;
5284
5288
  const { get: t, initialState: a, readOptions: n, set: i, asyncRead: l = !0, debugging: v } = e, p = v == null ? void 0 : v.log, h = () => (new Error("Trace:").stack || "").substring(7), m = ((E = ($ = e.debugging) == null ? void 0 : $.log) == null ? void 0 : E.logger) || console.debug, f = p && !p.writesOnly ? () => {
5285
5289
  const k = t();
@@ -5287,7 +5291,7 @@ function xd(e) {
5287
5291
  } : t, y = p && !p.readsOnly ? (k) => (m(`debugging: '${p.name}' written to`, k, h()), i(k)) : i, c = l ? Wl(f, a, n) : d(f), g = d(() => c.value);
5288
5292
  return g.update = y, g;
5289
5293
  }
5290
- const Nr = /* @__PURE__ */ U({
5294
+ const Jr = /* @__PURE__ */ U({
5291
5295
  __name: "ContextManager",
5292
5296
  setup(e, { expose: t }) {
5293
5297
  const n = ul().provides, i = Object.getOwnPropertySymbols(n).find(
@@ -5307,13 +5311,16 @@ const Nr = /* @__PURE__ */ U({
5307
5311
  l == null || l.selectActiveOption();
5308
5312
  }, isOpen: () => (l == null ? void 0 : l.comboboxState.value) === 0 }), (c, g) => D(c.$slots, "default");
5309
5313
  }
5310
- }), Zr = ["for"], Xr = ["disabled", "placeholder"], Jr = /* @__PURE__ */ u("span", { class: "text-xs sr-only" }, "Clear input", -1), Qr = { key: 1 }, Yr = /* @__PURE__ */ u("div", { class: "text-foreground-2 text-center" }, [
5314
+ }), Qr = ["for"], Yr = ["disabled", "placeholder"], eu = /* @__PURE__ */ u("span", { class: "text-xs sr-only" }, "Clear input", -1), tu = {
5315
+ key: 3,
5316
+ class: "text-body-2xs font-normal"
5317
+ }, lu = { key: 1 }, su = /* @__PURE__ */ u("div", { class: "text-foreground-2 text-center" }, [
5311
5318
  /* @__PURE__ */ F(" Press "),
5312
5319
  /* @__PURE__ */ u("strong", null, "Enter"),
5313
5320
  /* @__PURE__ */ F(" to create tag ⚡ ")
5314
- ], -1), eu = [
5315
- Yr
5316
- ], tu = ["id"], wd = /* @__PURE__ */ U({
5321
+ ], -1), nu = [
5322
+ su
5323
+ ], ou = ["id"], Id = /* @__PURE__ */ U({
5317
5324
  __name: "Tags",
5318
5325
  props: {
5319
5326
  name: null,
@@ -5326,6 +5333,7 @@ const Nr = /* @__PURE__ */ U({
5326
5333
  autoFocus: { type: Boolean },
5327
5334
  showClear: { type: Boolean },
5328
5335
  showRequired: { type: Boolean },
5336
+ showOptional: { type: Boolean },
5329
5337
  color: { default: "page" },
5330
5338
  wrapperClasses: null,
5331
5339
  size: { default: "base" },
@@ -5337,7 +5345,7 @@ const Nr = /* @__PURE__ */ U({
5337
5345
  },
5338
5346
  emits: ["update:modelValue", "change", "clear"],
5339
5347
  setup(e, { expose: t, emit: a }) {
5340
- const n = (W) => W.type === "input", i = a, l = e, v = j(null), { focused: p } = Hl(v), h = j(
5348
+ const n = (H) => H.type === "input", i = a, l = e, v = j(null), { focused: p } = Hl(v), h = j(
5341
5349
  null
5342
5350
  ), {
5343
5351
  coreInputClasses: m,
@@ -5352,7 +5360,7 @@ const Nr = /* @__PURE__ */ U({
5352
5360
  clear: B,
5353
5361
  value: M
5354
5362
  } = xt({
5355
- props: be(l),
5363
+ props: ge(l),
5356
5364
  emit: i,
5357
5365
  inputEl: v
5358
5366
  // options: {
@@ -5360,10 +5368,10 @@ const Nr = /* @__PURE__ */ U({
5360
5368
  // }
5361
5369
  }), I = j([]), V = j(!1), w = j(!1), P = j(""), z = d({
5362
5370
  get: () => M.value || [],
5363
- set: (W) => {
5364
- M.value = hl(W).filter((K) => !!K.length);
5371
+ set: (H) => {
5372
+ M.value = hl(H).filter((K) => !!K.length);
5365
5373
  }
5366
- }), q = d(() => {
5374
+ }), W = d(() => {
5367
5375
  switch (l.size) {
5368
5376
  case "sm":
5369
5377
  return "h-6";
@@ -5375,71 +5383,71 @@ const Nr = /* @__PURE__ */ U({
5375
5383
  default:
5376
5384
  return "h-8";
5377
5385
  }
5378
- }), J = d(() => l.showClear && !!z.value.length), pe = d(() => {
5379
- const W = [
5386
+ }), J = d(() => l.showClear && !!z.value.length), ve = d(() => {
5387
+ const H = [
5380
5388
  f.value,
5381
5389
  l.disabled ? "cursor-not-allowed !bg-foundation-disabled !text-disabled-muted" : ""
5382
5390
  ];
5383
- return J.value && (C.value || l.showRequired) ? W.push("pr-14") : (J.value || C.value || l.showRequired) && W.push("pr-8"), C.value ? (W.push("border-2 border-danger text-danger-darker"), p.value && W.push("ring-1 ring-danger")) : (W.push("border border-outline-3"), p.value && W.push("ring-1 ring-outline-3")), W.join(" ");
5384
- }), Re = (W) => {
5391
+ return J.value && (C.value || l.showRequired) ? H.push("pr-14") : (J.value || C.value || l.showRequired) && H.push("pr-8"), C.value ? (H.push("border-2 border-danger text-danger-darker"), p.value && H.push("ring-1 ring-danger")) : (H.push("border border-outline-3"), p.value && H.push("ring-1 ring-outline-3")), H.join(" ");
5392
+ }), Re = (H) => {
5385
5393
  if (l.disabled)
5386
5394
  return;
5387
- const K = z.value.indexOf(W);
5395
+ const K = z.value.indexOf(H);
5388
5396
  if (K !== -1) {
5389
- const G = z.value.slice();
5390
- G.splice(K, 1), z.value = G;
5397
+ const _ = z.value.slice();
5398
+ _.splice(K, 1), z.value = _;
5391
5399
  }
5392
5400
  }, Ie = () => {
5393
- var W;
5394
- (W = v.value) == null || W.blur(), w.value = !1;
5395
- }, Fe = (W) => {
5396
- if (W.key !== "Backspace" || P.value.length)
5401
+ var H;
5402
+ (H = v.value) == null || H.blur(), w.value = !1;
5403
+ }, Fe = (H) => {
5404
+ if (H.key !== "Backspace" || P.value.length)
5397
5405
  return;
5398
5406
  const K = z.value.slice();
5399
5407
  K.pop(), z.value = K, w.value = !1;
5400
5408
  }, De = () => {
5401
- var W, K, G;
5402
- (W = h.value) != null && W.isOpen() ? (K = h.value) == null || K.goUp() : (G = h.value) == null || G.open();
5403
- }, ge = () => {
5404
- var W, K, G;
5405
- (W = h.value) != null && W.isOpen() ? (K = h.value) == null || K.goDown() : (G = h.value) == null || G.open();
5409
+ var H, K, _;
5410
+ (H = h.value) != null && H.isOpen() ? (K = h.value) == null || K.goUp() : (_ = h.value) == null || _.open();
5411
+ }, ye = () => {
5412
+ var H, K, _;
5413
+ (H = h.value) != null && H.isOpen() ? (K = h.value) == null || K.goDown() : (_ = h.value) == null || _.open();
5406
5414
  }, te = async () => {
5407
5415
  l.getAutocompleteItems && (V.value = !0, I.value = await Promise.resolve(
5408
5416
  l.getAutocompleteItems(P.value)
5409
5417
  ), V.value = !1);
5410
- }, ae = _e(te, 1e3), Q = async () => {
5418
+ }, ae = Ge(te, 1e3), Q = async () => {
5411
5419
  V.value = !0, await ae();
5412
- }, fe = (W, K) => {
5420
+ }, fe = (H, K) => {
5413
5421
  var ie, re;
5414
- if (n(W) ? W.data === " " || W.data === "," || W.data === ";" : !0) {
5422
+ if (n(H) ? H.data === " " || H.data === "," || H.data === ";" : !0) {
5415
5423
  let ne = !1;
5416
5424
  if ((ie = h.value) != null && ie.isOpen() && I.value.length && !K)
5417
5425
  (re = h.value) == null || re.selectActive(), ne = !0;
5418
5426
  else {
5419
- const he = P.value.trim().substring(0, P.value.length - (n(W) ? 1 : 0)), Ue = z.value.includes(he);
5427
+ const he = P.value.trim().substring(0, P.value.length - (n(H) ? 1 : 0)), Ue = z.value.includes(he);
5420
5428
  he.length > 0 && !Ue && (z.value = [...z.value, he], ne = !0);
5421
5429
  }
5422
5430
  ne && (P.value = "", w.value = !1);
5423
5431
  } else
5424
5432
  w.value = !!P.value.length;
5425
5433
  };
5426
- return ue(w, (W, K) => {
5427
- var G, ie;
5428
- W && !K ? l.getAutocompleteItems && ((G = h.value) == null || G.open()) : !W && K && ((ie = h.value) == null || ie.close());
5434
+ return ue(w, (H, K) => {
5435
+ var _, ie;
5436
+ H && !K ? l.getAutocompleteItems && ((_ = h.value) == null || _.open()) : !H && K && ((ie = h.value) == null || ie.close());
5429
5437
  }), ue(P, () => {
5430
5438
  Q();
5431
5439
  }), de(() => {
5432
5440
  te();
5433
- }), t({ resolveAutocompleteItems: te }), (W, K) => (s(), T(o(as), {
5441
+ }), t({ resolveAutocompleteItems: te }), (H, K) => (s(), T(o(as), {
5434
5442
  modelValue: z.value,
5435
- "onUpdate:modelValue": K[5] || (K[5] = (G) => z.value = G),
5443
+ "onUpdate:modelValue": K[5] || (K[5] = (_) => z.value = _),
5436
5444
  as: "div",
5437
5445
  multiple: "",
5438
5446
  clearable: "",
5439
5447
  class: b([e.wrapperClasses])
5440
5448
  }, {
5441
5449
  default: R(() => [
5442
- A(Nr, {
5450
+ A(Jr, {
5443
5451
  ref_key: "ctxManager",
5444
5452
  ref: h
5445
5453
  }, {
@@ -5449,41 +5457,41 @@ const Nr = /* @__PURE__ */ U({
5449
5457
  class: b(o(y))
5450
5458
  }, [
5451
5459
  u("span", null, O(o(c)), 1)
5452
- ], 10, Zr),
5460
+ ], 10, Qr),
5453
5461
  u("div", {
5454
- class: b(["relative flex flex-wrap items-center space-x-1 px-2 py-1", pe.value])
5462
+ class: b(["relative flex flex-wrap items-center space-x-1 px-2 py-1", ve.value])
5455
5463
  }, [
5456
- (s(!0), r(X, null, ee(z.value, (G) => (s(), T(Ve, {
5457
- key: G,
5464
+ (s(!0), r(X, null, ee(z.value, (_) => (s(), T(Ve, {
5465
+ key: _,
5458
5466
  "icon-left": e.disabled ? void 0 : o(Pe),
5459
5467
  "clickable-icon": "",
5460
5468
  size: "lg",
5461
- onClickIcon: () => Re(G)
5469
+ onClickIcon: () => Re(_)
5462
5470
  }, {
5463
5471
  default: R(() => [
5464
- F(O(G), 1)
5472
+ F(O(_), 1)
5465
5473
  ]),
5466
5474
  _: 2
5467
5475
  }, 1032, ["icon-left", "onClickIcon"]))), 128)),
5468
5476
  Y(u("input", {
5469
5477
  ref_key: "inputEl",
5470
5478
  ref: v,
5471
- "onUpdate:modelValue": K[0] || (K[0] = (G) => P.value = G),
5479
+ "onUpdate:modelValue": K[0] || (K[0] = (_) => P.value = _),
5472
5480
  disabled: e.disabled,
5473
- class: b(["bg-transparent grow shrink border-0 focus:ring-0 p-0", [o(m), q.value]]),
5481
+ class: b(["bg-transparent grow shrink border-0 focus:ring-0 p-0", [o(m), W.value]]),
5474
5482
  style: { "flex-basis": "70px", "min-width": "70px" },
5475
5483
  placeholder: z.value.length ? void 0 : e.placeholder,
5476
5484
  onInput: fe,
5477
5485
  onKeydown: [
5478
5486
  je(Ie, ["escape"]),
5479
- K[1] || (K[1] = je(we((G) => fe(G, !0), ["stop", "prevent"]), ["enter"])),
5487
+ K[1] || (K[1] = je(me((_) => fe(_, !0), ["stop", "prevent"]), ["enter"])),
5480
5488
  je(fe, ["tab"]),
5481
5489
  je(Fe, ["backspace"]),
5482
5490
  je(De, ["arrow-up"]),
5483
- je(ge, ["arrow-down"])
5491
+ je(ye, ["arrow-down"])
5484
5492
  ],
5485
- onBlur: K[2] || (K[2] = (G) => w.value = !1)
5486
- }, null, 42, Xr), [
5493
+ onBlur: K[2] || (K[2] = (_) => w.value = !1)
5494
+ }, null, 42, Yr), [
5487
5495
  [st, P.value]
5488
5496
  ]),
5489
5497
  J.value ? (s(), r("a", {
@@ -5491,11 +5499,11 @@ const Nr = /* @__PURE__ */ U({
5491
5499
  title: "Clear input",
5492
5500
  class: "absolute top-2 right-0 flex items-center pr-2 cursor-pointer",
5493
5501
  onClick: K[3] || (K[3] = //@ts-ignore
5494
- (...G) => o(B) && o(B)(...G)),
5502
+ (..._) => o(B) && o(B)(..._)),
5495
5503
  onKeydown: K[4] || (K[4] = //@ts-ignore
5496
- (...G) => o(B) && o(B)(...G))
5504
+ (..._) => o(B) && o(B)(..._))
5497
5505
  }, [
5498
- Jr,
5506
+ eu,
5499
5507
  A(o(Pe), {
5500
5508
  class: "h-5 w-5 text-foreground",
5501
5509
  "aria-hidden": "true"
@@ -5512,11 +5520,10 @@ const Nr = /* @__PURE__ */ U({
5512
5520
  class: "h-4 w-4 text-danger",
5513
5521
  "aria-hidden": "true"
5514
5522
  })
5515
- ], 2)) : x("", !0),
5516
- e.showRequired && !o(C) ? (s(), r("div", {
5523
+ ], 2)) : e.showRequired ? (s(), r("div", {
5517
5524
  key: 2,
5518
5525
  class: b(["pointer-events-none absolute top-[2px] text-4xl right-0 flex items-center text-danger opacity-50", J.value ? "pr-8" : "pr-2"])
5519
- }, " * ", 2)) : x("", !0)
5526
+ }, " * ", 2)) : e.showOptional ? (s(), r("div", tu, "(optional)")) : x("", !0)
5520
5527
  ], 2),
5521
5528
  A(o(qt), {
5522
5529
  leave: "transition ease-in duration-100",
@@ -5533,11 +5540,11 @@ const Nr = /* @__PURE__ */ U({
5533
5540
  }, [
5534
5541
  A(at, { loading: !0 })
5535
5542
  ], 2)) : x("", !0),
5536
- !I.value.length && !V.value ? (s(), r("div", Qr, eu)) : x("", !0),
5537
- I.value.length ? (s(!0), r(X, { key: 2 }, ee(I.value, (G) => (s(), T(o(rs), {
5538
- key: G,
5543
+ !I.value.length && !V.value ? (s(), r("div", lu, nu)) : x("", !0),
5544
+ I.value.length ? (s(!0), r(X, { key: 2 }, ee(I.value, (_) => (s(), T(o(rs), {
5545
+ key: _,
5539
5546
  as: "template",
5540
- value: G
5547
+ value: _
5541
5548
  }, {
5542
5549
  default: R(({ selected: ie, active: re }) => [
5543
5550
  u("li", {
@@ -5548,7 +5555,7 @@ const Nr = /* @__PURE__ */ U({
5548
5555
  }, [
5549
5556
  u("span", {
5550
5557
  class: b(["block truncate", { "font-medium": ie, "font-normal": !ie }])
5551
- }, O(G), 3),
5558
+ }, O(_), 3),
5552
5559
  ie ? (s(), r("span", {
5553
5560
  key: 0,
5554
5561
  class: b(["absolute top-0 bottom-0 right-0 flex items-center pr-4", { "text-primary": re, "text-foreground": !re }])
@@ -5571,8 +5578,8 @@ const Nr = /* @__PURE__ */ U({
5571
5578
  o($) && !o(E) ? (s(), r("p", {
5572
5579
  key: 0,
5573
5580
  id: o($),
5574
- class: b(o(k))
5575
- }, O(o(g)), 11, tu)) : x("", !0)
5581
+ class: b(["mt-2", o(k)])
5582
+ }, O(o(g)), 11, ou)) : x("", !0)
5576
5583
  ]),
5577
5584
  _: 1
5578
5585
  }, 512)
@@ -5596,6 +5603,8 @@ function wt(e) {
5596
5603
  case "xl":
5597
5604
  return "h-14";
5598
5605
  case "xxl":
5606
+ return "h-24";
5607
+ case "3xl":
5599
5608
  return "h-32";
5600
5609
  case "editable":
5601
5610
  return "h-60";
@@ -5617,6 +5626,8 @@ function wt(e) {
5617
5626
  case "xl":
5618
5627
  return "w-14";
5619
5628
  case "xxl":
5629
+ return "w-24";
5630
+ case "3xl":
5620
5631
  return "w-32";
5621
5632
  case "editable":
5622
5633
  return "w-60";
@@ -5637,6 +5648,8 @@ function wt(e) {
5637
5648
  case "xl":
5638
5649
  return "text-2xl";
5639
5650
  case "xxl":
5651
+ return "text-2xl";
5652
+ case "3xl":
5640
5653
  return "text-3xl";
5641
5654
  case "editable":
5642
5655
  return "h1";
@@ -5669,7 +5682,7 @@ function wt(e) {
5669
5682
  );
5670
5683
  return { heightClasses: a, widthClasses: n, sizeClasses: v, iconClasses: l };
5671
5684
  }
5672
- const lu = { key: 2 }, ht = /* @__PURE__ */ U({
5685
+ const au = { key: 2 }, ht = /* @__PURE__ */ U({
5673
5686
  __name: "Avatar",
5674
5687
  props: {
5675
5688
  user: { default: null },
@@ -5683,7 +5696,7 @@ const lu = { key: 2 }, ht = /* @__PURE__ */ U({
5683
5696
  lightStyle: { type: Boolean, default: !1 }
5684
5697
  },
5685
5698
  setup(e) {
5686
- const t = e, { sizeClasses: a, iconClasses: n } = wt({ props: be(t) }), i = d(() => {
5699
+ const t = e, { sizeClasses: a, iconClasses: n } = wt({ props: ge(t) }), i = d(() => {
5687
5700
  var g, $, E, k;
5688
5701
  if (!(($ = (g = t.user) == null ? void 0 : g.name) != null && $.length))
5689
5702
  return;
@@ -5719,7 +5732,7 @@ const lu = { key: 2 }, ht = /* @__PURE__ */ U({
5719
5732
  F(O(i.value), 1)
5720
5733
  ], 2)), [
5721
5734
  [c, e.hideTooltip || (E = t.user) == null ? void 0 : E.name]
5722
- ]) : (s(), r("div", lu, [
5735
+ ]) : (s(), r("div", au, [
5723
5736
  A(o(hs), {
5724
5737
  class: b(o(n))
5725
5738
  }, null, 8, ["class"])
@@ -5730,7 +5743,7 @@ const lu = { key: 2 }, ht = /* @__PURE__ */ U({
5730
5743
  ], 2);
5731
5744
  };
5732
5745
  }
5733
- }), kd = /* @__PURE__ */ U({
5746
+ }), Bd = /* @__PURE__ */ U({
5734
5747
  __name: "AvatarGroup",
5735
5748
  props: {
5736
5749
  users: { default: () => [] },
@@ -5746,7 +5759,7 @@ const lu = { key: 2 }, ht = /* @__PURE__ */ U({
5746
5759
  itemContainer: n,
5747
5760
  trackResize: !0,
5748
5761
  trackMutations: !0
5749
- }), { heightClasses: l } = wt({ props: be(t) }), v = d(() => t.maxCount ? Math.max(t.users.length - t.maxCount, 0) : 0), p = d(() => {
5762
+ }), { heightClasses: l } = wt({ props: ge(t) }), v = d(() => t.maxCount ? Math.max(t.users.length - t.maxCount, 0) : 0), p = d(() => {
5750
5763
  const f = t.users, y = Math.min(t.maxCount ?? 1 / 0, t.maxAvatars ?? 1 / 0);
5751
5764
  return f.slice(0, y);
5752
5765
  }), h = d(() => t.maxAvatars ? Math.max(t.users.length - t.maxAvatars, 0) : 0), m = d(
@@ -5781,7 +5794,7 @@ const lu = { key: 2 }, ht = /* @__PURE__ */ U({
5781
5794
  }, 8, ["size"])) : x("", !0)
5782
5795
  ], 2));
5783
5796
  }
5784
- }), su = (e) => (zt("data-v-b5abb5fe"), e = e(), At(), e), nu = /* @__PURE__ */ su(() => /* @__PURE__ */ u("circle", {
5797
+ }), iu = (e) => (zt("data-v-b5abb5fe"), e = e(), At(), e), ru = /* @__PURE__ */ iu(() => /* @__PURE__ */ u("circle", {
5785
5798
  class: "path",
5786
5799
  fill: "none",
5787
5800
  stroke: "currentColor",
@@ -5790,9 +5803,9 @@ const lu = { key: 2 }, ht = /* @__PURE__ */ U({
5790
5803
  cx: "33",
5791
5804
  cy: "33",
5792
5805
  r: "30"
5793
- }, null, -1)), ou = [
5794
- nu
5795
- ], au = /* @__PURE__ */ U({
5806
+ }, null, -1)), uu = [
5807
+ ru
5808
+ ], du = /* @__PURE__ */ U({
5796
5809
  __name: "Icon",
5797
5810
  props: {
5798
5811
  loading: { type: Boolean, default: !0 },
@@ -5820,16 +5833,16 @@ const lu = { key: 2 }, ht = /* @__PURE__ */ U({
5820
5833
  height: "40px",
5821
5834
  viewBox: "0 0 66 66",
5822
5835
  xmlns: "http://www.w3.org/2000/svg"
5823
- }, ou, 2));
5836
+ }, uu, 2));
5824
5837
  }
5825
5838
  });
5826
- const it = /* @__PURE__ */ ke(au, [["__scopeId", "data-v-b5abb5fe"]]), iu = { class: "flex flex-col items-center space-y-2" }, ru = {
5839
+ const it = /* @__PURE__ */ ke(du, [["__scopeId", "data-v-b5abb5fe"]]), cu = { class: "flex flex-col items-center space-y-2" }, fu = {
5827
5840
  key: 1,
5828
5841
  class: "relative group"
5829
- }, uu = ["src", "alt"], du = { class: "opacity-0 transition-all absolute group-hover:opacity-100 top-0 right-0 left-0 bottom-0 flex items-end justify-center bottom-4" }, cu = {
5842
+ }, hu = ["src", "alt"], mu = { class: "opacity-0 transition-all absolute group-hover:opacity-100 top-0 right-0 left-0 bottom-0 flex items-end justify-center bottom-4" }, pu = {
5830
5843
  key: 2,
5831
5844
  class: "w-full text-center text-danger text-sm"
5832
- }, Cd = /* @__PURE__ */ U({
5845
+ }, Sd = /* @__PURE__ */ U({
5833
5846
  __name: "AvatarEditable",
5834
5847
  props: /* @__PURE__ */ Se({
5835
5848
  modelValue: null,
@@ -5850,14 +5863,14 @@ const it = /* @__PURE__ */ ke(au, [["__scopeId", "data-v-b5abb5fe"]]), iu = { cl
5850
5863
  emits: /* @__PURE__ */ Se(["save", "update:modelValue"], ["update:editMode"]),
5851
5864
  setup(e, { expose: t, emit: a }) {
5852
5865
  const n = cl({
5853
- loader: () => import("./AvatarEditor-664d2235.js"),
5866
+ loader: () => import("./AvatarEditor-25fde016.js"),
5854
5867
  loadingComponent: it,
5855
5868
  delay: 100
5856
5869
  }), i = a, l = e, { value: v, errorMessage: p } = Ee(l.name, l.rules, {
5857
5870
  validateOnMount: l.validateOnMount,
5858
5871
  validateOnValueUpdate: l.validateOnValueUpdate,
5859
5872
  initialValue: l.modelValue || void 0
5860
- }), { sizeClasses: h } = wt({ props: be(l) }), m = ze(e, "editMode"), f = d(
5873
+ }), { sizeClasses: h } = wt({ props: ge(l) }), m = ze(e, "editMode"), f = d(
5861
5874
  () => ({
5862
5875
  avatar: v.value,
5863
5876
  name: l.placeholder
@@ -5865,7 +5878,7 @@ const it = /* @__PURE__ */ ke(au, [["__scopeId", "data-v-b5abb5fe"]]), iu = { cl
5865
5878
  ), y = ($) => {
5866
5879
  v.value = $, i("save", $);
5867
5880
  };
5868
- return t({ open: () => m.value = !0, close: () => m.value = !1 }), ($, E) => (s(), r("div", iu, [
5881
+ return t({ open: () => m.value = !0, close: () => m.value = !1 }), ($, E) => (s(), r("div", cu, [
5869
5882
  m.value ? (s(), T(o(n), {
5870
5883
  key: 0,
5871
5884
  user: f.value,
@@ -5874,13 +5887,13 @@ const it = /* @__PURE__ */ ke(au, [["__scopeId", "data-v-b5abb5fe"]]), iu = { cl
5874
5887
  rounded: e.rounded,
5875
5888
  onCancel: E[0] || (E[0] = (k) => m.value = !1),
5876
5889
  onSave: y
5877
- }, null, 8, ["user", "disabled", "size", "rounded"])) : (s(), r("div", ru, [
5890
+ }, null, 8, ["user", "disabled", "size", "rounded"])) : (s(), r("div", fu, [
5878
5891
  !f.value.avatar && e.defaultImg ? (s(), r("img", {
5879
5892
  key: 0,
5880
5893
  src: e.defaultImg,
5881
5894
  alt: f.value.name,
5882
5895
  class: b(o(h))
5883
- }, null, 10, uu)) : (s(), T(ht, {
5896
+ }, null, 10, hu)) : (s(), T(ht, {
5884
5897
  key: 1,
5885
5898
  "hide-tooltip": "",
5886
5899
  user: f.value,
@@ -5888,8 +5901,8 @@ const it = /* @__PURE__ */ ke(au, [["__scopeId", "data-v-b5abb5fe"]]), iu = { cl
5888
5901
  "light-style": e.lightStyle,
5889
5902
  rounded: e.rounded
5890
5903
  }, null, 8, ["user", "size", "light-style", "rounded"])),
5891
- u("div", du, [
5892
- A(me, {
5904
+ u("div", mu, [
5905
+ A(pe, {
5893
5906
  size: "sm",
5894
5907
  disabled: e.disabled,
5895
5908
  color: "outline",
@@ -5902,7 +5915,7 @@ const it = /* @__PURE__ */ ke(au, [["__scopeId", "data-v-b5abb5fe"]]), iu = { cl
5902
5915
  }, 8, ["disabled"])
5903
5916
  ])
5904
5917
  ])),
5905
- o(p) ? (s(), r("div", cu, O(o(p)), 1)) : x("", !0)
5918
+ o(p) ? (s(), r("div", pu, O(o(p)), 1)) : x("", !0)
5906
5919
  ]));
5907
5920
  }
5908
5921
  });
@@ -5914,21 +5927,21 @@ class $e extends Error {
5914
5927
  /**
5915
5928
  * Default message if none is passed
5916
5929
  */
5917
- xe($e, "defaultMessage", "Unexpected error occurred");
5918
- class fu extends $e {
5930
+ we($e, "defaultMessage", "Unexpected error occurred");
5931
+ class vu extends $e {
5919
5932
  }
5920
- xe(fu, "defaultMessage", "An unexpected logic error occurred!");
5921
- class hu extends $e {
5933
+ we(vu, "defaultMessage", "An unexpected logic error occurred!");
5934
+ class bu extends $e {
5922
5935
  }
5923
- xe(hu, "defaultMessage", "Attempting to access an uninitialized resource");
5924
- class mu extends $e {
5936
+ we(bu, "defaultMessage", "Attempting to access an uninitialized resource");
5937
+ class gu extends $e {
5925
5938
  }
5926
- xe(mu, "defaultMessage", "getCurrentInstance() returned null. Method must be called at the top of a setup function");
5927
- class pu extends $e {
5939
+ we(gu, "defaultMessage", "getCurrentInstance() returned null. Method must be called at the top of a setup function");
5940
+ class yu extends $e {
5928
5941
  }
5929
- xe(pu, "defaultMessage", "Operation not supported in current (server or client) environment");
5942
+ we(yu, "defaultMessage", "Operation not supported in current (server or client) environment");
5930
5943
  var kt = /* @__PURE__ */ ((e) => (e.AnyAudio = "audio/*", e.AnyVideo = "video/*", e.AnyImage = "image/*", e))(kt || {});
5931
- function vu(e, t) {
5944
+ function xu(e, t) {
5932
5945
  const a = ml(
5933
5946
  Object.values(kt),
5934
5947
  t
@@ -5948,7 +5961,7 @@ function vu(e, t) {
5948
5961
  return !0;
5949
5962
  break;
5950
5963
  }
5951
- const n = pl(t, a), i = bu(e.name);
5964
+ const n = pl(t, a), i = wu(e.name);
5952
5965
  if (!i)
5953
5966
  return new el();
5954
5967
  for (const l of n)
@@ -5956,11 +5969,11 @@ function vu(e, t) {
5956
5969
  return !0;
5957
5970
  return new tl();
5958
5971
  }
5959
- function bu(e) {
5972
+ function wu(e) {
5960
5973
  const t = e.split(".").pop() || null;
5961
5974
  return t ? `.${t}` : null;
5962
5975
  }
5963
- function gu(e) {
5976
+ function ku(e) {
5964
5977
  return e.startsWith(".") || Object.values(kt).includes(e);
5965
5978
  }
5966
5979
  function jt(e) {
@@ -5976,7 +5989,7 @@ function jt(e) {
5976
5989
  const i = n / 1024;
5977
5990
  return `${t(i)}GB`;
5978
5991
  }
5979
- function yu(e) {
5992
+ function Cu(e) {
5980
5993
  const t = {
5981
5994
  name: e.name,
5982
5995
  lastModified: e.lastModified,
@@ -5987,27 +6000,27 @@ function yu(e) {
5987
6000
  }
5988
6001
  class el extends $e {
5989
6002
  }
5990
- xe(el, "defaultMessage", "The selected file has a missing extension");
6003
+ we(el, "defaultMessage", "The selected file has a missing extension");
5991
6004
  class tl extends $e {
5992
6005
  }
5993
- xe(tl, "defaultMessage", "The selected file type is forbidden");
5994
- var xu = /* @__PURE__ */ ((e) => (e[e.Success = 1] = "Success", e[e.Failure = 2] = "Failure", e))(xu || {});
5995
- function wu(e) {
6006
+ we(tl, "defaultMessage", "The selected file type is forbidden");
6007
+ var $u = /* @__PURE__ */ ((e) => (e[e.Success = 1] = "Success", e[e.Failure = 2] = "Failure", e))($u || {});
6008
+ function Iu(e) {
5996
6009
  if (!e)
5997
6010
  return;
5998
- const t = e.split(",").map((a) => gu(a) ? a : null).filter((a) => a !== null);
6011
+ const t = e.split(",").map((a) => ku(a) ? a : null).filter((a) => a !== null);
5999
6012
  return t.length ? t : void 0;
6000
6013
  }
6001
- function ku(e) {
6002
- const { disabled: t, accept: a, multiple: n, sizeLimit: i, countLimit: l } = e, v = d(() => wu(o(a))), p = (h) => {
6014
+ function Bu(e) {
6015
+ const { disabled: t, accept: a, multiple: n, sizeLimit: i, countLimit: l } = e, v = d(() => Iu(o(a))), p = (h) => {
6003
6016
  const m = [], f = v.value;
6004
6017
  for (const y of h) {
6005
- const c = yu(y), g = o(n) ? o(l) : 1;
6018
+ const c = Cu(y), g = o(n) ? o(l) : 1;
6006
6019
  if (!m.find(($) => $.id === c)) {
6007
6020
  if (g && m.length >= g)
6008
6021
  break;
6009
6022
  if (f) {
6010
- const $ = vu(y, f);
6023
+ const $ = xu(y, f);
6011
6024
  if ($ instanceof Error) {
6012
6025
  m.push({
6013
6026
  file: y,
@@ -6046,8 +6059,8 @@ function ku(e) {
6046
6059
  }
6047
6060
  class ll extends $e {
6048
6061
  }
6049
- xe(ll, "defaultMessage", "The selected file's size is too large");
6050
- const Cu = ["accept", "multiple"], $d = /* @__PURE__ */ U({
6062
+ we(ll, "defaultMessage", "The selected file's size is too large");
6063
+ const Su = ["accept", "multiple"], Od = /* @__PURE__ */ U({
6051
6064
  __name: "Zone",
6052
6065
  props: {
6053
6066
  accept: null,
@@ -6058,7 +6071,7 @@ const Cu = ["accept", "multiple"], $d = /* @__PURE__ */ U({
6058
6071
  },
6059
6072
  emits: ["files-selected"],
6060
6073
  setup(e, { expose: t, emit: a }) {
6061
- const n = a, i = e, l = j(null), v = j(null), { buildUploadableFiles: p } = ku({
6074
+ const n = a, i = e, l = j(null), v = j(null), { buildUploadableFiles: p } = Bu({
6062
6075
  sizeLimit: d(() => i.sizeLimit),
6063
6076
  countLimit: d(() => i.countLimit),
6064
6077
  accept: d(() => i.accept),
@@ -6098,23 +6111,23 @@ const Cu = ["accept", "multiple"], $d = /* @__PURE__ */ U({
6098
6111
  class: "hidden",
6099
6112
  accept: e.accept,
6100
6113
  multiple: e.multiple,
6101
- onClick: g[0] || (g[0] = we(() => {
6114
+ onClick: g[0] || (g[0] = me(() => {
6102
6115
  }, ["stop"])),
6103
6116
  onChange: f
6104
- }, null, 40, Cu)
6117
+ }, null, 40, Su)
6105
6118
  ], 512));
6106
6119
  }
6107
6120
  }), Tt = (e) => {
6108
6121
  var t;
6109
6122
  e.code === "Enter" && ((t = e.target) == null || t.click());
6110
- }, Id = {
6123
+ }, Pd = {
6111
6124
  created(e) {
6112
6125
  e.setAttribute("tabindex", "0"), e.addEventListener("keypress", Tt);
6113
6126
  },
6114
6127
  unmounted(e) {
6115
6128
  e.removeEventListener("keypress", Tt);
6116
6129
  }
6117
- }, $u = { class: "relative w-full bg-outline-3 rounded h-1.5 overflow-hidden" }, Bd = /* @__PURE__ */ U({
6130
+ }, Ou = { class: "relative w-full bg-outline-3 rounded h-1.5 overflow-hidden" }, Ld = /* @__PURE__ */ U({
6118
6131
  __name: "ProgressBar",
6119
6132
  props: {
6120
6133
  currentValue: null,
@@ -6122,7 +6135,7 @@ const Cu = ["accept", "multiple"], $d = /* @__PURE__ */ U({
6122
6135
  },
6123
6136
  setup(e) {
6124
6137
  const t = e, a = d(() => t.currentValue / t.maxValue * 100), n = d(() => a.value >= 100 ? "bg-danger" : a.value >= 80 ? "bg-warning" : "bg-success");
6125
- return (i, l) => (s(), r("div", $u, [
6138
+ return (i, l) => (s(), r("div", Ou, [
6126
6139
  u("div", {
6127
6140
  class: b(["aboslute left-0 top-0 rounded h-1.5", n.value]),
6128
6141
  style: oe({ width: `${a.value <= 100 ? a.value : 100}%` })
@@ -6132,79 +6145,79 @@ const Cu = ["accept", "multiple"], $d = /* @__PURE__ */ U({
6132
6145
  });
6133
6146
  export {
6134
6147
  $e as BaseError,
6135
- xu as BlobUploadStatus,
6136
- yd as CommonAlert,
6137
- Uu as CommonAnimationInstructional,
6148
+ $u as BlobUploadStatus,
6149
+ Cd as CommonAlert,
6150
+ Ku as CommonAnimationInstructional,
6138
6151
  Ve as CommonBadge,
6139
6152
  at as CommonLoadingBar,
6140
6153
  it as CommonLoadingIcon,
6141
- Bd as CommonProgressBar,
6142
- Du as CommonStepsBullet,
6143
- Fu as CommonStepsNumber,
6154
+ Ld as CommonProgressBar,
6155
+ qu as CommonStepsBullet,
6156
+ Hu as CommonStepsNumber,
6144
6157
  ps as CommonTextLink,
6145
- Wu as CommonVimeoEmbed,
6146
- mu as ComposableInvokedOutOfScopeError,
6147
- me as FormButton,
6148
- Hu as FormCardButton,
6149
- Mn as FormCheckbox,
6150
- Yu as FormClipboardInput,
6151
- $d as FormFileUploadZone,
6152
- qu as FormRadio,
6153
- Ku as FormRadioGroup,
6154
- Xu as FormSelectBadges,
6158
+ _u as CommonVimeoEmbed,
6159
+ gu as ComposableInvokedOutOfScopeError,
6160
+ pe as FormButton,
6161
+ Gu as FormCardButton,
6162
+ Tn as FormCheckbox,
6163
+ sd as FormClipboardInput,
6164
+ Od as FormFileUploadZone,
6165
+ Nu as FormRadio,
6166
+ Zu as FormRadioGroup,
6167
+ ed as FormSelectBadges,
6155
6168
  Xt as FormSelectBase,
6156
- Ju as FormSelectMulti,
6157
- Zu as FormSelectSourceApps,
6158
- Qu as FormSwitch,
6159
- wd as FormTags,
6160
- _u as FormTextArea,
6161
- mo as FormTextInput,
6162
- Ru as GlobalToastRenderer,
6169
+ td as FormSelectMulti,
6170
+ Yu as FormSelectSourceApps,
6171
+ ld as FormSwitch,
6172
+ Id as FormTags,
6173
+ Ju as FormTextArea,
6174
+ bo as FormTextInput,
6175
+ Wu as GlobalToastRenderer,
6163
6176
  Te as GridListToggleValue,
6164
6177
  Xe as HorizontalDirection,
6165
- fd as InfiniteLoading,
6166
- sd as LayoutDialog,
6167
- nd as LayoutDialogSection,
6168
- od as LayoutDisclosure,
6169
- ad as LayoutGridListToggle,
6170
- rd as LayoutMenu,
6171
- hd as LayoutPanel,
6172
- md as LayoutSidebar,
6173
- vd as LayoutSidebarMenu,
6174
- bd as LayoutSidebarMenuGroup,
6175
- gd as LayoutSidebarMenuGroupItem,
6176
- pd as LayoutSidebarPromo,
6177
- cd as LayoutTable,
6178
- ud as LayoutTabsHorizontal,
6179
- dd as LayoutTabsVertical,
6180
- fu as LogicError,
6181
- Ge as ModifierKeys,
6182
- _o as SourceAppBadge,
6178
+ vd as InfiniteLoading,
6179
+ id as LayoutDialog,
6180
+ rd as LayoutDialogSection,
6181
+ ud as LayoutDisclosure,
6182
+ dd as LayoutGridListToggle,
6183
+ fd as LayoutMenu,
6184
+ bd as LayoutPanel,
6185
+ gd as LayoutSidebar,
6186
+ xd as LayoutSidebarMenu,
6187
+ wd as LayoutSidebarMenuGroup,
6188
+ kd as LayoutSidebarMenuGroupItem,
6189
+ yd as LayoutSidebarPromo,
6190
+ pd as LayoutTable,
6191
+ hd as LayoutTabsHorizontal,
6192
+ md as LayoutTabsVertical,
6193
+ vu as LogicError,
6194
+ _e as ModifierKeys,
6195
+ Xo as SourceAppBadge,
6183
6196
  Ke as TailwindBreakpoints,
6184
- Da as ThrottleOrDebounce,
6197
+ Ha as ThrottleOrDebounce,
6185
6198
  qe as ToastNotificationType,
6186
- hu as UninitializedResourceAccessError,
6199
+ bu as UninitializedResourceAccessError,
6187
6200
  kt as UniqueFileTypeSpecifier,
6188
- pu as UnsupportedEnvironmentError,
6201
+ yu as UnsupportedEnvironmentError,
6189
6202
  ht as UserAvatar,
6190
- Cd as UserAvatarEditable,
6191
- kd as UserAvatarGroup,
6192
- Nu as ValidationHelpers,
6193
- Pd as buildManualPromise,
6203
+ Sd as UserAvatarEditable,
6204
+ Bd as UserAvatarGroup,
6205
+ Qu as ValidationHelpers,
6206
+ jd as buildManualPromise,
6194
6207
  ft as clientOs,
6195
- ed as getKeyboardShortcutTitle,
6208
+ nd as getKeyboardShortcutTitle,
6196
6209
  Kt as keyboardClick,
6197
- td as onKeyboardShortcut,
6210
+ od as onKeyboardShortcut,
6198
6211
  jt as prettyFileSize,
6199
6212
  wt as useAvatarSizeClasses,
6200
- Gu as useDebouncedTextInput,
6201
- ld as useFormCheckboxModel,
6213
+ Xu as useDebouncedTextInput,
6214
+ ad as useFormCheckboxModel,
6202
6215
  Zt as useFormSelectChildInternals,
6203
- id as useOnBeforeWindowUnload,
6204
- Wa as useResponsiveHorizontalDirectionCalculation,
6205
- Ua as useWindowResizeHandler,
6216
+ cd as useOnBeforeWindowUnload,
6217
+ Ka as useResponsiveHorizontalDirectionCalculation,
6218
+ qa as useWindowResizeHandler,
6206
6219
  Nt as useWrappingContainerHiddenCount,
6207
- Id as vKeyboardClickable,
6208
- xd as writableAsyncComputed
6220
+ Pd as vKeyboardClickable,
6221
+ $d as writableAsyncComputed
6209
6222
  };
6210
6223
  //# sourceMappingURL=lib.js.map