@speckle/ui-components 2.14.8-alpha3 → 2.14.8-alpha4

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,19 +1,19 @@
1
- import { defineComponent as O, resolveDynamicComponent as W, computed as c, openBlock as l, createBlock as P, unref as t, normalizeClass as v, withCtx as B, createCommentVNode as $, renderSlot as R, createTextVNode as T, createElementBlock as h, createElementVNode as u, createVNode as I, Transition as ce, toDisplayString as _, toRefs as Z, Fragment as U, renderList as H, pushScopeId as _e, popScopeId as Se, ref as A, mergeProps as ne, onMounted as ee, withDirectives as te, isRef as le, vModelText as Ie, useSlots as ze, vModelDynamic as Ee, watch as Y, withModifiers as Be, normalizeStyle as oe, onBeforeUnmount as Le } from "vue";
2
- import { isObjectLike as Ce, clamp as we, isString as se, isUndefined as X, isArray as E, debounce as Pe, throttle as We } from "lodash";
3
- import { ArrowPathIcon as Ue, ChevronUpIcon as je, ChevronDownIcon as qe, XMarkIcon as He, MagnifyingGlassIcon as Ge, CheckIcon as Ke, Bars3Icon as Xe, Squares2X2Icon as Ne } from "@heroicons/vue/24/solid";
1
+ import { defineComponent as O, resolveDynamicComponent as U, computed as c, openBlock as l, createBlock as P, unref as t, normalizeClass as v, withCtx as B, createCommentVNode as _, renderSlot as R, createTextVNode as T, createElementBlock as h, createElementVNode as u, createVNode as I, Transition as de, toDisplayString as S, toRefs as Z, Fragment as q, renderList as H, pushScopeId as _e, popScopeId as Se, ref as A, mergeProps as ne, onMounted as ee, withDirectives as te, isRef as le, vModelText as Ie, useSlots as Fe, vModelDynamic as Ee, watch as Y, withModifiers as Be, normalizeStyle as oe, onBeforeUnmount as Le } from "vue";
2
+ import { isObjectLike as Ce, clamp as we, isString as se, isUndefined as X, isArray as W, debounce as Pe, throttle as We } from "lodash";
3
+ import { ArrowPathIcon as Ue, ChevronUpIcon as Ve, ChevronDownIcon as qe, XMarkIcon as He, MagnifyingGlassIcon as Ge, CheckIcon as Ke, Bars3Icon as Xe, Squares2X2Icon as Ne } from "@heroicons/vue/24/solid";
4
4
  import { CheckCircleIcon as Je, XCircleIcon as Qe, ExclamationCircleIcon as Ye, InformationCircleIcon as Ze, XMarkIcon as et, CheckIcon as tt, ExclamationTriangleIcon as st } from "@heroicons/vue/24/outline";
5
- import { XMarkIcon as de, CheckIcon as nt, CheckCircleIcon as lt, ExclamationCircleIcon as Ve, EnvelopeIcon as at, KeyIcon as ot } from "@heroicons/vue/20/solid";
5
+ import { XMarkIcon as ce, CheckIcon as nt, CheckCircleIcon as lt, ExclamationCircleIcon as je, EnvelopeIcon as at, KeyIcon as ot } from "@heroicons/vue/20/solid";
6
6
  import { useField as fe } from "vee-validate";
7
7
  import { nanoid as pe } from "nanoid";
8
8
  import { isNullOrUndefined as rt, SourceApps as it, getClientOperatingSystem as ut, OperatingSystem as re } from "@speckle/shared";
9
- import { useResizeObserver as ct, useMutationObserver as dt, onKeyDown as ft, isClient as he } from "@vueuse/core";
9
+ import { useResizeObserver as dt, useMutationObserver as ct, onKeyDown as ft, isClient as he } from "@vueuse/core";
10
10
  import { Listbox as pt, ListboxLabel as ht, ListboxButton as mt, ListboxOptions as gt, ListboxOption as yt, TransitionRoot as vt, Dialog as bt, TransitionChild as $e, DialogPanel as xt, Disclosure as kt, DisclosureButton as Ct, DisclosurePanel as wt, Menu as $t, MenuButton as _t, MenuItems as St, MenuItem as It } from "@headlessui/vue";
11
11
  import { directive as Bt } from "vue-tippy";
12
12
  import Lt from "v3-infinite-loading";
13
13
  const Pt = {
14
14
  key: 2,
15
15
  style: { margin: "0 !important", width: "0.01px" }
16
- }, jt = /* @__PURE__ */ O({
16
+ }, Vt = /* @__PURE__ */ O({
17
17
  __name: "Button",
18
18
  props: {
19
19
  /**
@@ -141,7 +141,7 @@ const Pt = {
141
141
  },
142
142
  emits: ["click"],
143
143
  setup(e, { emit: s }) {
144
- const n = e, o = W("NuxtLink"), a = W("RouterLink"), r = c(() => n.linkComponent ? n.linkComponent : n.external ? "a" : Ce(o) ? o : Ce(a) ? a : "a"), d = c(() => {
144
+ const n = e, o = U("NuxtLink"), a = U("RouterLink"), r = c(() => n.linkComponent ? n.linkComponent : n.external ? "a" : Ce(o) ? o : Ce(a) ? a : "a"), d = c(() => {
145
145
  if (!n.to)
146
146
  return n.submit ? "submit" : "button";
147
147
  }), i = c(() => n.disabled || n.loading), y = c(() => n.loading ? Ue : n.iconLeft), f = c(() => {
@@ -272,7 +272,7 @@ const Pt = {
272
272
  case "base":
273
273
  return "h-8 text-base font-medium xxx-tracking-wide";
274
274
  }
275
- }), j = c(() => {
275
+ }), V = c(() => {
276
276
  switch (n.size) {
277
277
  case "xs":
278
278
  return "px-1";
@@ -286,28 +286,28 @@ const Pt = {
286
286
  case "base":
287
287
  return "px-3";
288
288
  }
289
- }), x = c(() => {
289
+ }), L = c(() => {
290
290
  const p = [];
291
291
  return n.fullWidth && p.push("w-full"), i.value && p.push("cursor-not-allowed"), p.join(" ");
292
- }), L = c(() => {
292
+ }), $ = c(() => {
293
293
  const p = [];
294
294
  return !i.value && !n.link && !n.text && p.push("active:scale-[0.97]"), !i.value && n.link && p.push(
295
295
  "underline decoration-transparent decoration-2 underline-offset-4 hover:decoration-inherit"
296
296
  ), p.join(" ");
297
- }), S = c(() => {
297
+ }), C = c(() => {
298
298
  const p = n.link || n.text;
299
299
  return [
300
300
  "transition inline-flex justify-center items-center space-x-2 outline-none select-none",
301
- x.value,
301
+ L.value,
302
302
  b.value,
303
303
  w.value,
304
304
  p ? "" : f.value,
305
305
  p ? "" : g.value,
306
306
  p ? "" : m.value,
307
- n.link ? "" : j.value,
308
- L.value
307
+ n.link ? "" : V.value,
308
+ $.value
309
309
  ].join(" ");
310
- }), C = c(() => {
310
+ }), x = c(() => {
311
311
  const p = [""];
312
312
  switch (n.loading && p.push("animate-spin"), n.size) {
313
313
  case "xs":
@@ -328,35 +328,35 @@ const Pt = {
328
328
  break;
329
329
  }
330
330
  return p.join(" ");
331
- }), q = (p) => {
331
+ }), E = (p) => {
332
332
  if (i.value) {
333
333
  p.preventDefault(), p.stopPropagation(), p.stopImmediatePropagation();
334
334
  return;
335
335
  }
336
336
  s("click", p);
337
337
  };
338
- return (p, V) => (l(), P(W(e.to ? t(r) : "button"), {
338
+ return (p, j) => (l(), P(U(e.to ? t(r) : "button"), {
339
339
  href: e.to,
340
340
  to: e.to,
341
341
  type: t(d),
342
342
  external: e.external,
343
- class: v(t(S)),
343
+ class: v(t(C)),
344
344
  disabled: t(i),
345
345
  role: "button",
346
- onClick: q
346
+ onClick: E
347
347
  }, {
348
348
  default: B(() => [
349
- t(y) ? (l(), P(W(t(y)), {
349
+ t(y) ? (l(), P(U(t(y)), {
350
350
  key: 0,
351
- class: v(`${t(C)} ${e.hideText ? "" : "mr-2"}`)
352
- }, null, 8, ["class"])) : $("", !0),
351
+ class: v(`${t(x)} ${e.hideText ? "" : "mr-2"}`)
352
+ }, null, 8, ["class"])) : _("", !0),
353
353
  e.hideText ? (l(), h("div", Pt, "   ")) : R(p.$slots, "default", { key: 1 }, () => [
354
354
  T("Button")
355
355
  ], !0),
356
- e.iconRight || !e.loading ? (l(), P(W(e.iconRight), {
356
+ e.iconRight || !e.loading ? (l(), P(U(e.iconRight), {
357
357
  key: 3,
358
- class: v(`${t(C)} ${e.hideText ? "" : "ml-2"}`)
359
- }, null, 8, ["class"])) : $("", !0)
358
+ class: v(`${t(x)} ${e.hideText ? "" : "ml-2"}`)
359
+ }, null, 8, ["class"])) : _("", !0)
360
360
  ]),
361
361
  _: 3
362
362
  }, 8, ["href", "to", "type", "external", "class", "disabled"]));
@@ -367,7 +367,7 @@ const me = (e, s) => {
367
367
  for (const [o, a] of s)
368
368
  n[o] = a;
369
369
  return n;
370
- }, ge = /* @__PURE__ */ me(jt, [["__scopeId", "data-v-da9a3400"]]), Vt = /* @__PURE__ */ O({
370
+ }, ge = /* @__PURE__ */ me(Vt, [["__scopeId", "data-v-da9a3400"]]), jt = /* @__PURE__ */ O({
371
371
  __name: "Link",
372
372
  props: {
373
373
  to: {
@@ -453,7 +453,7 @@ const Ot = {
453
453
  }, Mt = { class: "flex w-full flex-col items-center space-y-4 sm:items-end" }, At = {
454
454
  key: 0,
455
455
  class: "pointer-events-auto w-full max-w-sm overflow-hidden rounded-lg bg-foundation text-foreground shadow-lg ring-1 ring-primary-muted ring-opacity-5"
456
- }, Dt = { class: "p-4" }, Rt = { class: "flex items-start" }, Tt = { class: "flex-shrink-0" }, Ft = { class: "ml-2 w-0 flex-1 flex flex-col" }, zt = {
456
+ }, Dt = { class: "p-4" }, Rt = { class: "flex items-start" }, Tt = { class: "flex-shrink-0" }, zt = { class: "ml-2 w-0 flex-1 flex flex-col" }, Ft = {
457
457
  key: 0,
458
458
  class: "text-foreground font-bold"
459
459
  }, Et = {
@@ -482,7 +482,7 @@ const Ot = {
482
482
  };
483
483
  return (d, i) => (l(), h("div", Ot, [
484
484
  u("div", Mt, [
485
- I(ce, {
485
+ I(de, {
486
486
  "enter-active-class": "transform ease-out duration-300 transition",
487
487
  "enter-from-class": "translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-2",
488
488
  "enter-to-class": "translate-y-0 opacity-100 sm:translate-x-0",
@@ -511,24 +511,24 @@ const Ot = {
511
511
  key: 3,
512
512
  class: "h-6 w-6 text-info",
513
513
  "aria-hidden": "true"
514
- })) : $("", !0)
514
+ })) : _("", !0)
515
515
  ]),
516
- u("div", Ft, [
517
- e.notification.title ? (l(), h("p", zt, _(e.notification.title), 1)) : $("", !0),
518
- e.notification.description ? (l(), h("p", Et, _(e.notification.description), 1)) : $("", !0),
516
+ u("div", zt, [
517
+ e.notification.title ? (l(), h("p", Ft, S(e.notification.title), 1)) : _("", !0),
518
+ e.notification.description ? (l(), h("p", Et, S(e.notification.description), 1)) : _("", !0),
519
519
  e.notification.cta ? (l(), h("div", Wt, [
520
- I(Vt, {
520
+ I(jt, {
521
521
  to: e.notification.cta.url,
522
522
  class: "label",
523
523
  primary: "",
524
524
  onClick: r
525
525
  }, {
526
526
  default: B(() => [
527
- T(_(e.notification.cta.title), 1)
527
+ T(S(e.notification.cta.title), 1)
528
528
  ]),
529
529
  _: 1
530
530
  }, 8, ["to"])
531
- ])) : $("", !0)
531
+ ])) : _("", !0)
532
532
  ]),
533
533
  u("div", {
534
534
  class: v(["ml-4 flex flex-shrink-0", { "self-center": t(o) }])
@@ -539,7 +539,7 @@ const Ot = {
539
539
  onClick: a
540
540
  }, [
541
541
  Ut,
542
- I(t(de), {
542
+ I(t(ce), {
543
543
  class: "h-6 w-6",
544
544
  "aria-hidden": "true"
545
545
  })
@@ -547,7 +547,7 @@ const Ot = {
547
547
  ], 2)
548
548
  ])
549
549
  ])
550
- ])) : $("", !0)
550
+ ])) : _("", !0)
551
551
  ]),
552
552
  _: 1
553
553
  })
@@ -611,7 +611,7 @@ const Ot = {
611
611
  class: v(t(i)),
612
612
  fill: "currentColor",
613
613
  viewBox: "0 0 8 8"
614
- }, Ht, 2)) : $("", !0),
614
+ }, Ht, 2)) : _("", !0),
615
615
  R(f.$slots, "default", {}, () => [
616
616
  T("Badge")
617
617
  ]),
@@ -620,56 +620,64 @@ const Ot = {
620
620
  class: v(t(d)),
621
621
  onClick: w[0] || (w[0] = (g) => y(g))
622
622
  }, [
623
- (l(), P(W(e.iconLeft), {
623
+ (l(), P(U(e.iconLeft), {
624
624
  class: v(["h-4 w-4", t(a)])
625
625
  }, null, 8, ["class"]))
626
- ], 2)) : $("", !0)
626
+ ], 2)) : _("", !0)
627
627
  ], 2));
628
628
  }
629
629
  });
630
630
  var J = /* @__PURE__ */ ((e) => (e[e.sm = 640] = "sm", e[e.md = 746] = "md", e[e.lg = 1024] = "lg", e[e.xl = 1280] = "xl", e[e["2xl"] = 1536] = "2xl", e))(J || {});
631
631
  function Oe(e) {
632
632
  const {
633
- props: { modelValue: s, steps: n, orientation: o, goVerticalBelow: a, nonInteractive: r },
634
- emit: d
635
- } = e, i = c(
633
+ props: {
634
+ modelValue: s,
635
+ steps: n,
636
+ orientation: o,
637
+ goVerticalBelow: a,
638
+ nonInteractive: r,
639
+ stepsPadding: d
640
+ },
641
+ emit: i
642
+ } = e, y = c(
636
643
  () => (o == null ? void 0 : o.value) === "vertical" ? "vertical" : "horizontal"
637
- ), y = c({
644
+ ), f = c({
638
645
  get: () => we((s == null ? void 0 : s.value) || 0, -1, n.value.length),
639
- set: (x) => d("update:modelValue", we(x, 0, n.value.length))
640
- }), f = (x) => `${x + 1}`, w = (x) => x === y.value, g = (x) => x < y.value, m = (x, L) => {
641
- var C;
646
+ set: ($) => i("update:modelValue", we($, 0, n.value.length))
647
+ }), w = ($) => `${$ + 1}`, g = ($) => $ === f.value, m = ($) => $ < f.value, b = ($, C) => {
648
+ var E;
642
649
  if (r != null && r.value) {
643
- L == null || L.preventDefault(), L == null || L.stopPropagation(), L == null || L.stopImmediatePropagation();
650
+ C == null || C.preventDefault(), C == null || C.stopPropagation(), C == null || C.stopImmediatePropagation();
644
651
  return;
645
652
  }
646
- y.value = x;
647
- const S = n.value[y.value];
648
- (C = S == null ? void 0 : S.onClick) == null || C.call(S);
649
- }, b = c(() => {
650
- const x = ["flex"];
651
- return x.push("flex"), i.value === "vertical" || a != null && a.value ? (x.push("flex-col space-y-4 justify-center"), (a == null ? void 0 : a.value) === J.sm ? x.push(
652
- "sm:flex-row sm:space-y-0 sm:justify-start sm:space-x-8 sm:items-center"
653
- ) : (a == null ? void 0 : a.value) === J.md ? x.push(
654
- "md:flex-row md:space-y-0 md:justify-start md:space-x-8 md:items-center"
655
- ) : (a == null ? void 0 : a.value) === J.lg ? x.push(
656
- "lg:flex-row lg:space-y-0 lg:justify-start lg:space-x-8 lg:items-center"
657
- ) : (a == null ? void 0 : a.value) === J.xl && x.push(
658
- "xl:flex-row xl:space-y-0 xl:justify-start xl:space-x-8 xl:items-center"
659
- )) : x.push("flex-row space-x-8 items-center"), x.join(" ");
660
- }), j = c(() => {
661
- const x = ["flex items-center"];
662
- return r != null && r.value || x.push("cursor-pointer"), x.join(" ");
653
+ f.value = $;
654
+ const x = n.value[f.value];
655
+ (E = x == null ? void 0 : x.onClick) == null || E.call(x);
656
+ }, V = c(() => {
657
+ const $ = ["flex"];
658
+ let C, x;
659
+ return (d == null ? void 0 : d.value) === "xs" ? (C = "space-x-2", x = "space-y-1") : (d == null ? void 0 : d.value) === "sm" ? (C = "space-x-4", x = "space-y-1") : (C = "space-x-8", x = "space-y-4"), $.push("flex"), y.value === "vertical" || a != null && a.value ? ($.push(`flex-col ${x} justify-center`), (a == null ? void 0 : a.value) === J.sm ? $.push(
660
+ `sm:flex-row sm:space-y-0 sm:justify-start sm:${C} sm:items-center`
661
+ ) : (a == null ? void 0 : a.value) === J.md ? $.push(
662
+ `md:flex-row md:space-y-0 md:justify-start md:${C} md:items-center`
663
+ ) : (a == null ? void 0 : a.value) === J.lg ? $.push(
664
+ `lg:flex-row lg:space-y-0 lg:justify-start lg:${C} lg:items-center`
665
+ ) : (a == null ? void 0 : a.value) === J.xl && $.push(
666
+ `xl:flex-row xl:space-y-0 xl:justify-start xl:${C} xl:items-center`
667
+ )) : $.push(`flex-row ${C} items-center`), $.join(" ");
668
+ }), L = c(() => {
669
+ const $ = ["flex items-center"];
670
+ return r != null && r.value || $.push("cursor-pointer"), $.join(" ");
663
671
  });
664
672
  return {
665
- value: y,
666
- isCurrentStep: w,
667
- isFinishedStep: g,
668
- switchStep: m,
669
- getStepDisplayValue: f,
670
- listClasses: b,
671
- linkClasses: j,
672
- orientation: i
673
+ value: f,
674
+ isCurrentStep: g,
675
+ isFinishedStep: m,
676
+ switchStep: b,
677
+ getStepDisplayValue: w,
678
+ listClasses: V,
679
+ linkClasses: L,
680
+ orientation: y
673
681
  };
674
682
  }
675
683
  const Kt = ["aria-label"], Xt = ["href", "onClick"], Nt = { class: "flex space-x-3 items-center text-primary-focus normal font-medium leading-5" }, Jt = { class: "shrink-0 h-8 w-8 rounded-full bg-primary-focus text-foreground-on-primary inline-flex items-center justify-center" }, Qt = { class: "flex flex-col" }, Yt = {
@@ -689,7 +697,8 @@ const Kt = ["aria-label"], Xt = ["href", "onClick"], Nt = { class: "flex space-x
689
697
  steps: null,
690
698
  modelValue: null,
691
699
  goVerticalBelow: null,
692
- nonInteractive: { type: Boolean }
700
+ nonInteractive: { type: Boolean },
701
+ stepsPadding: null
693
702
  },
694
703
  emits: ["update:modelValue"],
695
704
  setup(e, { emit: s }) {
@@ -711,7 +720,7 @@ const Kt = ["aria-label"], Xt = ["href", "onClick"], Nt = { class: "flex space-x
711
720
  u("ol", {
712
721
  class: v(t(i))
713
722
  }, [
714
- (l(!0), h(U, null, H(e.steps, (g, m) => (l(), h("li", {
723
+ (l(!0), h(q, null, H(e.steps, (g, m) => (l(), h("li", {
715
724
  key: g.name
716
725
  }, [
717
726
  t(a)(m) ? (l(), h("a", {
@@ -725,8 +734,8 @@ const Kt = ["aria-label"], Xt = ["href", "onClick"], Nt = { class: "flex space-x
725
734
  I(t(nt), { class: "w-5 h-5" })
726
735
  ]),
727
736
  u("div", Qt, [
728
- u("div", null, _(g.name), 1),
729
- g.description ? (l(), h("div", Yt, _(g.description), 1)) : $("", !0)
737
+ u("div", null, S(g.name), 1),
738
+ g.description ? (l(), h("div", Yt, S(g.description), 1)) : _("", !0)
730
739
  ])
731
740
  ])
732
741
  ], 10, Xt)) : t(o)(m) ? (l(), h("a", {
@@ -737,10 +746,10 @@ const Kt = ["aria-label"], Xt = ["href", "onClick"], Nt = { class: "flex space-x
737
746
  onClick: (b) => t(r)(m, b)
738
747
  }, [
739
748
  u("div", es, [
740
- u("div", ts, _(t(d)(m)), 1),
749
+ u("div", ts, S(t(d)(m)), 1),
741
750
  u("div", ss, [
742
- u("div", null, _(g.name), 1),
743
- g.description ? (l(), h("div", ns, _(g.description), 1)) : $("", !0)
751
+ u("div", null, S(g.name), 1),
752
+ g.description ? (l(), h("div", ns, S(g.description), 1)) : _("", !0)
744
753
  ])
745
754
  ])
746
755
  ], 10, Zt)) : (l(), h("a", {
@@ -750,10 +759,10 @@ const Kt = ["aria-label"], Xt = ["href", "onClick"], Nt = { class: "flex space-x
750
759
  onClick: (b) => t(r)(m, b)
751
760
  }, [
752
761
  u("div", as, [
753
- u("div", os, _(t(d)(m)), 1),
762
+ u("div", os, S(t(d)(m)), 1),
754
763
  u("div", rs, [
755
- u("div", null, _(g.name), 1),
756
- g.description ? (l(), h("div", is, _(g.description), 1)) : $("", !0)
764
+ u("div", null, S(g.name), 1),
765
+ g.description ? (l(), h("div", is, S(g.description), 1)) : _("", !0)
757
766
  ])
758
767
  ])
759
768
  ], 10, ls))
@@ -761,7 +770,7 @@ const Kt = ["aria-label"], Xt = ["href", "onClick"], Nt = { class: "flex space-x
761
770
  ], 2)
762
771
  ], 8, Kt));
763
772
  }
764
- }), Me = (e) => (_e("data-v-56fc6520"), e = e(), Se(), e), us = ["aria-label"], cs = ["href", "onClick"], ds = { class: "relative flex h-5 w-5 flex-shrink-0 items-center justify-center" }, fs = {
773
+ }), Me = (e) => (_e("data-v-9dd7b659"), e = e(), Se(), e), us = ["aria-label"], ds = ["href", "onClick"], cs = { class: "relative flex h-5 w-5 flex-shrink-0 items-center justify-center" }, fs = {
765
774
  key: 0,
766
775
  class: "h-3 w-3 rounded-full bg-foreground-2"
767
776
  }, ps = ["href", "onClick"], hs = {
@@ -788,7 +797,8 @@ const Kt = ["aria-label"], Xt = ["href", "onClick"], Nt = { class: "flex space-x
788
797
  steps: null,
789
798
  modelValue: null,
790
799
  goVerticalBelow: null,
791
- nonInteractive: { type: Boolean }
800
+ nonInteractive: { type: Boolean },
801
+ stepsPadding: null
792
802
  },
793
803
  emits: ["update:modelValue"],
794
804
  setup(e, { emit: s }) {
@@ -796,8 +806,9 @@ const Kt = ["aria-label"], Xt = ["href", "onClick"], Nt = { class: "flex space-x
796
806
  props: Z(n),
797
807
  emit: s
798
808
  }), y = c(() => {
799
- const f = ["ml-3 h6 font-medium leading-7"];
800
- return n.basic && f.push("sr-only"), f.join(" ");
809
+ const f = ["h6 font-medium leading-7"];
810
+ let w;
811
+ return n.stepsPadding === "xs" ? w = "ml-1" : n.stepsPadding === "sm" ? w = "ml-2" : w = "ml-3", f.push(w), n.basic && f.push("sr-only"), f.join(" ");
801
812
  });
802
813
  return (f, w) => (l(), h("nav", {
803
814
  class: "flex justify-center",
@@ -806,7 +817,7 @@ const Kt = ["aria-label"], Xt = ["href", "onClick"], Nt = { class: "flex space-x
806
817
  u("ol", {
807
818
  class: v([t(d), e.basic ? "basic" : ""])
808
819
  }, [
809
- (l(!0), h(U, null, H(e.steps, (g, m) => (l(), h("li", {
820
+ (l(!0), h(q, null, H(e.steps, (g, m) => (l(), h("li", {
810
821
  key: g.name
811
822
  }, [
812
823
  t(a)(m) ? (l(), h("a", {
@@ -815,7 +826,7 @@ const Kt = ["aria-label"], Xt = ["href", "onClick"], Nt = { class: "flex space-x
815
826
  class: v(t(i)),
816
827
  onClick: (b) => t(r)(m, b)
817
828
  }, [
818
- u("span", ds, [
829
+ u("span", cs, [
819
830
  e.basic ? (l(), h("span", fs)) : (l(), P(t(lt), {
820
831
  key: 1,
821
832
  class: "h-full w-full text-primary",
@@ -824,8 +835,8 @@ const Kt = ["aria-label"], Xt = ["href", "onClick"], Nt = { class: "flex space-x
824
835
  ]),
825
836
  u("span", {
826
837
  class: v(["text-foreground", t(y)])
827
- }, _(g.name), 3)
828
- ], 10, cs)) : t(o)(m) ? (l(), h("a", {
838
+ }, S(g.name), 3)
839
+ ], 10, ds)) : t(o)(m) ? (l(), h("a", {
829
840
  key: 1,
830
841
  href: g.href,
831
842
  class: v(t(i)),
@@ -833,14 +844,14 @@ const Kt = ["aria-label"], Xt = ["href", "onClick"], Nt = { class: "flex space-x
833
844
  onClick: (b) => t(r)(m, b)
834
845
  }, [
835
846
  u("span", hs, [
836
- e.basic ? (l(), h("span", ms)) : (l(), h(U, { key: 1 }, [
847
+ e.basic ? (l(), h("span", ms)) : (l(), h(q, { key: 1 }, [
837
848
  gs,
838
849
  ys
839
850
  ], 64))
840
851
  ]),
841
852
  u("span", {
842
853
  class: v(["text-primary-focus", t(y)])
843
- }, _(g.name), 3)
854
+ }, S(g.name), 3)
844
855
  ], 10, ps)) : (l(), h("a", {
845
856
  key: 2,
846
857
  href: g.href,
@@ -852,14 +863,14 @@ const Kt = ["aria-label"], Xt = ["href", "onClick"], Nt = { class: "flex space-x
852
863
  ]),
853
864
  u("p", {
854
865
  class: v(["text-foreground-disabled", t(y)])
855
- }, _(g.name), 3)
866
+ }, S(g.name), 3)
856
867
  ], 10, vs))
857
868
  ]))), 128))
858
869
  ], 2)
859
870
  ], 8, us));
860
871
  }
861
872
  });
862
- const il = /* @__PURE__ */ me(Cs, [["__scopeId", "data-v-56fc6520"]]), ws = ["disabled"], ul = /* @__PURE__ */ O({
873
+ const il = /* @__PURE__ */ me(Cs, [["__scopeId", "data-v-9dd7b659"]]), ws = ["disabled"], ul = /* @__PURE__ */ O({
863
874
  __name: "CardButton",
864
875
  props: {
865
876
  disabled: { type: Boolean },
@@ -898,10 +909,10 @@ const il = /* @__PURE__ */ me(Cs, [["__scopeId", "data-v-56fc6520"]]), ws = ["di
898
909
  }, Bs = ["for"], Ls = {
899
910
  key: 0,
900
911
  class: "text-danger ml-1"
901
- }, Ps = ["id"], js = O({
912
+ }, Ps = ["id"], Vs = O({
902
913
  inheritAttrs: !1
903
- }), cl = /* @__PURE__ */ O({
904
- ...js,
914
+ }), dl = /* @__PURE__ */ O({
915
+ ...Vs,
905
916
  __name: "Checkbox",
906
917
  props: {
907
918
  /**
@@ -989,7 +1000,7 @@ const il = /* @__PURE__ */ me(Cs, [["__scopeId", "data-v-56fc6520"]]), ws = ["di
989
1000
  },
990
1001
  emits: ["update:modelValue"],
991
1002
  setup(e) {
992
- const s = e, n = (x) => `${x}-${pe()}`, o = c(() => s.value || s.name), {
1003
+ const s = e, n = (L) => `${L}-${pe()}`, o = c(() => s.value || s.name), {
993
1004
  checked: a,
994
1005
  errorMessage: r,
995
1006
  handleChange: d
@@ -998,16 +1009,16 @@ const il = /* @__PURE__ */ me(Cs, [["__scopeId", "data-v-56fc6520"]]), ws = ["di
998
1009
  type: "checkbox",
999
1010
  checkedValue: o,
1000
1011
  initialValue: s.modelValue || void 0
1001
- }), i = (x) => {
1002
- s.disabled || d(x);
1012
+ }), i = (L) => {
1013
+ s.disabled || d(L);
1003
1014
  }, y = c(() => s.label || s.name), f = c(() => r.value ? "border-danger-lighter" : "border-foreground-4 "), w = c(() => s.description || r.value), g = c(() => `${s.name}-description`), m = c(() => {
1004
- const x = [];
1005
- return s.inlineDescription ? x.push("inline ml-2") : x.push("block"), r.value ? x.push("text-danger") : x.push("text-foreground-2"), x.join(" ");
1006
- }), b = A(n("checkbox")), j = c(() => s.id || b.value);
1007
- return (x, L) => (l(), h("div", $s, [
1015
+ const L = [];
1016
+ return s.inlineDescription ? L.push("inline ml-2") : L.push("block"), r.value ? L.push("text-danger") : L.push("text-foreground-2"), L.join(" ");
1017
+ }), b = A(n("checkbox")), V = c(() => s.id || b.value);
1018
+ return (L, $) => (l(), h("div", $s, [
1008
1019
  u("div", _s, [
1009
1020
  u("input", ne({
1010
- id: t(j),
1021
+ id: t(V),
1011
1022
  checked: t(a),
1012
1023
  "aria-describedby": t(g),
1013
1024
  name: e.name,
@@ -1015,21 +1026,21 @@ const il = /* @__PURE__ */ me(Cs, [["__scopeId", "data-v-56fc6520"]]), ws = ["di
1015
1026
  disabled: e.disabled,
1016
1027
  type: "checkbox",
1017
1028
  class: ["h-4 w-4 rounded text-primary focus:ring-primary bg-foundation disabled:cursor-not-allowed disabled:bg-disabled disabled:text-disabled-2", t(f)]
1018
- }, x.$attrs, { onChange: i }), null, 16, Ss)
1029
+ }, L.$attrs, { onChange: i }), null, 16, Ss)
1019
1030
  ]),
1020
1031
  u("div", Is, [
1021
1032
  u("label", {
1022
- for: t(j),
1033
+ for: t(V),
1023
1034
  class: v(["font-medium text-foreground", { "sr-only": e.hideLabel }])
1024
1035
  }, [
1025
- u("span", null, _(t(y)), 1),
1026
- e.showRequired ? (l(), h("span", Ls, "*")) : $("", !0)
1036
+ u("span", null, S(t(y)), 1),
1037
+ e.showRequired ? (l(), h("span", Ls, "*")) : _("", !0)
1027
1038
  ], 10, Bs),
1028
1039
  t(w) ? (l(), h("p", {
1029
1040
  key: 0,
1030
1041
  id: t(g),
1031
1042
  class: v(t(m))
1032
- }, _(t(w)), 11, Ps)) : $("", !0)
1043
+ }, S(t(w)), 11, Ps)) : _("", !0)
1033
1044
  ])
1034
1045
  ]));
1035
1046
  }
@@ -1040,53 +1051,53 @@ function Ae(e) {
1040
1051
  validateOnValueUpdate: t(s.validateOnValueUpdate),
1041
1052
  initialValue: t(s.modelValue) || void 0
1042
1053
  }), d = c(() => {
1043
- const C = ["block label text-foreground-2 mb-2"];
1044
- return t(s.showLabel) || C.push("sr-only"), C.join(" ");
1054
+ const x = ["block label text-foreground-2 mb-2"];
1055
+ return t(s.showLabel) || x.push("sr-only"), x.join(" ");
1045
1056
  }), i = c(() => {
1046
- const C = [
1057
+ const x = [
1047
1058
  "block w-full rounded focus:outline-none text-foreground transition-all",
1048
1059
  "disabled:cursor-not-allowed disabled:bg-foundation-disabled disabled:text-disabled-muted",
1049
1060
  "placeholder:text-foreground-2"
1050
1061
  ];
1051
- return r.value ? C.push(
1062
+ return r.value ? x.push(
1052
1063
  "border-2 border-danger text-danger-darker focus:border-danger focus:ring-danger"
1053
- ) : C.push("border-0 focus:ring-2 focus:ring-outline-2"), t(s.color) === "foundation" ? C.push("bg-foundation shadow-sm hover:shadow") : C.push("bg-foundation-page"), C.join(" ");
1064
+ ) : x.push("border-0 focus:ring-2 focus:ring-outline-2"), t(s.color) === "foundation" ? x.push("bg-foundation shadow-sm hover:shadow") : x.push("bg-foundation-page"), x.join(" ");
1054
1065
  }), y = A(pe()), f = c(() => t(s.label) || t(s.name)), w = c(() => {
1055
- const C = r.value;
1056
- return !C || !t(s.useLabelInErrors) ? C : C.replace("Value", f.value);
1066
+ const x = r.value;
1067
+ return !x || !t(s.useLabelInErrors) ? x : x.replace("Value", f.value);
1057
1068
  }), g = c(
1058
1069
  () => w.value && t(s.hideErrorMessage)
1059
- ), m = c(() => w.value || t(s.help)), b = c(() => !!m.value), j = c(
1070
+ ), m = c(() => w.value || t(s.help)), b = c(() => !!m.value), V = c(
1060
1071
  () => b.value ? `${t(s.name)}-${y.value}` : void 0
1061
- ), x = c(() => {
1062
- const C = ["mt-2 text-sm"];
1063
- return C.push(r.value ? "text-danger" : "text-foreground-2"), C.join(" ");
1064
- }), L = () => {
1065
- var C;
1066
- (C = n.value) == null || C.focus();
1067
- }, S = () => {
1072
+ ), L = c(() => {
1073
+ const x = ["mt-2 text-sm"];
1074
+ return x.push(r.value ? "text-danger" : "text-foreground-2"), x.join(" ");
1075
+ }), $ = () => {
1076
+ var x;
1077
+ (x = n.value) == null || x.focus();
1078
+ }, C = () => {
1068
1079
  a.value = "", o("change", { value: "" }), o("clear");
1069
1080
  };
1070
1081
  return ee(() => {
1071
- t(s.autoFocus) && L();
1082
+ t(s.autoFocus) && $();
1072
1083
  }), {
1073
1084
  coreClasses: i,
1074
1085
  title: f,
1075
1086
  value: a,
1076
- helpTipId: j,
1077
- helpTipClasses: x,
1087
+ helpTipId: V,
1088
+ helpTipClasses: L,
1078
1089
  helpTip: m,
1079
1090
  hideHelpTip: g,
1080
1091
  errorMessage: w,
1081
- clear: S,
1082
- focus: L,
1092
+ clear: C,
1093
+ focus: $,
1083
1094
  labelClasses: d
1084
1095
  };
1085
1096
  }
1086
- const Vs = ["for"], Os = { class: "relative" }, Ms = ["id", "name", "placeholder", "disabled", "aria-invalid", "aria-describedby"], As = /* @__PURE__ */ u("span", { class: "text-xs sr-only" }, "Clear input", -1), Ds = {
1097
+ const js = ["for"], Os = { class: "relative" }, Ms = ["id", "name", "placeholder", "disabled", "aria-invalid", "aria-describedby"], As = /* @__PURE__ */ u("span", { class: "text-xs sr-only" }, "Clear input", -1), Ds = {
1087
1098
  key: 2,
1088
1099
  class: "pointer-events-none absolute inset-y-0 mt-3 text-4xl right-0 flex items-center pr-2 text-danger opacity-50"
1089
- }, Rs = ["id"], dl = /* @__PURE__ */ O({
1100
+ }, Rs = ["id"], cl = /* @__PURE__ */ O({
1090
1101
  __name: "TextArea",
1091
1102
  props: {
1092
1103
  name: null,
@@ -1118,39 +1129,39 @@ const Vs = ["for"], Os = { class: "relative" }, Ms = ["id", "name", "placeholder
1118
1129
  errorMessage: g,
1119
1130
  labelClasses: m,
1120
1131
  clear: b,
1121
- focus: j
1132
+ focus: V
1122
1133
  } = Ae({
1123
1134
  props: Z(o),
1124
1135
  emit: n,
1125
1136
  inputEl: a
1126
- }), x = c(() => {
1127
- const L = ["pl-2"];
1128
- return o.showClear && g.value ? L.push("pr-12") : (o.showClear || g.value) && L.push("pr-8"), L.join(" ");
1137
+ }), L = c(() => {
1138
+ const $ = ["pl-2"];
1139
+ return o.showClear && g.value ? $.push("pr-12") : (o.showClear || g.value) && $.push("pr-8"), $.join(" ");
1129
1140
  });
1130
- return s({ focus: j }), (L, S) => (l(), h("div", {
1141
+ return s({ focus: V }), ($, C) => (l(), h("div", {
1131
1142
  class: v([e.fullWidth ? "w-full" : ""])
1132
1143
  }, [
1133
1144
  u("label", {
1134
1145
  for: e.name,
1135
1146
  class: v(t(m))
1136
1147
  }, [
1137
- u("span", null, _(t(d)), 1)
1138
- ], 10, Vs),
1148
+ u("span", null, S(t(d)), 1)
1149
+ ], 10, js),
1139
1150
  u("div", Os, [
1140
1151
  te(u("textarea", ne({
1141
1152
  id: e.name,
1142
1153
  ref_key: "inputElement",
1143
1154
  ref: a,
1144
- "onUpdate:modelValue": S[0] || (S[0] = (C) => le(i) ? i.value = C : null),
1155
+ "onUpdate:modelValue": C[0] || (C[0] = (x) => le(i) ? i.value = x : null),
1145
1156
  name: e.name,
1146
- class: [t(r), t(x), "min-h-[4rem]"],
1157
+ class: [t(r), t(L), "min-h-[4rem]"],
1147
1158
  placeholder: e.placeholder,
1148
1159
  disabled: e.disabled,
1149
1160
  "aria-invalid": t(g) ? "true" : "false",
1150
1161
  "aria-describedby": t(y)
1151
- }, L.$attrs, {
1152
- onChange: S[1] || (S[1] = (C) => L.$emit("change", { event: C, value: t(i) })),
1153
- onInput: S[2] || (S[2] = (C) => L.$emit("input", { event: C, value: t(i) }))
1162
+ }, $.$attrs, {
1163
+ onChange: C[1] || (C[1] = (x) => $.$emit("change", { event: x, value: t(i) })),
1164
+ onInput: C[2] || (C[2] = (x) => $.$emit("input", { event: x, value: t(i) }))
1154
1165
  }), null, 16, Ms), [
1155
1166
  [Ie, t(i)]
1156
1167
  ]),
@@ -1158,17 +1169,17 @@ const Vs = ["for"], Os = { class: "relative" }, Ms = ["id", "name", "placeholder
1158
1169
  key: 0,
1159
1170
  title: "Clear input",
1160
1171
  class: "absolute top-2 right-0 flex items-center pr-2 cursor-pointer",
1161
- onClick: S[3] || (S[3] = //@ts-ignore
1162
- (...C) => t(b) && t(b)(...C)),
1163
- onKeydown: S[4] || (S[4] = //@ts-ignore
1164
- (...C) => t(b) && t(b)(...C))
1172
+ onClick: C[3] || (C[3] = //@ts-ignore
1173
+ (...x) => t(b) && t(b)(...x)),
1174
+ onKeydown: C[4] || (C[4] = //@ts-ignore
1175
+ (...x) => t(b) && t(b)(...x))
1165
1176
  }, [
1166
1177
  As,
1167
- I(t(de), {
1178
+ I(t(ce), {
1168
1179
  class: "h-5 w-5 text-foreground",
1169
1180
  "aria-hidden": "true"
1170
1181
  })
1171
- ], 32)) : $("", !0),
1182
+ ], 32)) : _("", !0),
1172
1183
  t(g) ? (l(), h("div", {
1173
1184
  key: 1,
1174
1185
  class: v([
@@ -1176,21 +1187,21 @@ const Vs = ["for"], Os = { class: "relative" }, Ms = ["id", "name", "placeholder
1176
1187
  e.showClear ? "pr-8" : "pr-2"
1177
1188
  ])
1178
1189
  }, [
1179
- I(t(Ve), {
1190
+ I(t(je), {
1180
1191
  class: "h-4 w-4 text-danger",
1181
1192
  "aria-hidden": "true"
1182
1193
  })
1183
- ], 2)) : $("", !0),
1184
- e.showRequired && !t(g) ? (l(), h("div", Ds, " * ")) : $("", !0)
1194
+ ], 2)) : _("", !0),
1195
+ e.showRequired && !t(g) ? (l(), h("div", Ds, " * ")) : _("", !0)
1185
1196
  ]),
1186
1197
  t(y) ? (l(), h("p", {
1187
1198
  key: 0,
1188
1199
  id: t(y),
1189
1200
  class: v(t(f))
1190
- }, _(t(w)), 11, Rs)) : $("", !0)
1201
+ }, S(t(w)), 11, Rs)) : _("", !0)
1191
1202
  ], 2));
1192
1203
  }
1193
- }), Ts = ["for"], Fs = { class: "relative" }, zs = {
1204
+ }), Ts = ["for"], zs = { class: "relative" }, Fs = {
1194
1205
  key: 0,
1195
1206
  class: "pointer-events-none absolute inset-y-0 left-0 flex items-center pl-2"
1196
1207
  }, Es = ["id", "type", "name", "placeholder", "disabled", "aria-invalid", "aria-describedby"], Ws = /* @__PURE__ */ u("span", { class: "text-xs sr-only" }, "Clear input", -1), Us = {
@@ -1335,7 +1346,7 @@ const Vs = ["for"], Os = { class: "relative" }, Ms = ["id", "name", "placeholder
1335
1346
  },
1336
1347
  emits: ["update:modelValue", "change", "input", "clear", "focusin", "focusout"],
1337
1348
  setup(e, { expose: s, emit: n }) {
1338
- const o = e, a = ze(), r = A(null), {
1349
+ const o = e, a = Fe(), r = A(null), {
1339
1350
  coreClasses: d,
1340
1351
  title: i,
1341
1352
  value: y,
@@ -1344,21 +1355,21 @@ const Vs = ["for"], Os = { class: "relative" }, Ms = ["id", "name", "placeholder
1344
1355
  helpTip: g,
1345
1356
  hideHelpTip: m,
1346
1357
  errorMessage: b,
1347
- clear: j,
1348
- focus: x,
1349
- labelClasses: L
1358
+ clear: V,
1359
+ focus: L,
1360
+ labelClasses: $
1350
1361
  } = Ae({
1351
1362
  props: Z(o),
1352
1363
  emit: n,
1353
1364
  inputEl: r
1354
- }), S = c(() => {
1355
- const V = ["h-5 w-5"];
1356
- return b.value ? V.push("text-danger") : V.push("text-foreground-2"), V.join(" ");
1357
- }), C = c(
1365
+ }), C = c(() => {
1366
+ const j = ["h-5 w-5"];
1367
+ return b.value ? j.push("text-danger") : j.push("text-foreground-2"), j.join(" ");
1368
+ }), x = c(
1358
1369
  () => ["email", "password"].includes(o.type) || o.customIcon
1359
- ), q = c(() => {
1360
- const V = [];
1361
- return C.value ? V.push("pl-8") : V.push("pl-2"), a["input-right"] || (b.value || o.showClear) && (b.value && o.showClear ? V.push("pr-12") : V.push("pr-8")), V.join(" ");
1370
+ ), E = c(() => {
1371
+ const j = [];
1372
+ return x.value ? j.push("pl-8") : j.push("pl-2"), a["input-right"] || (b.value || o.showClear) && (b.value && o.showClear ? j.push("pr-12") : j.push("pr-8")), j.join(" ");
1362
1373
  }), p = c(() => {
1363
1374
  switch (o.size) {
1364
1375
  case "sm":
@@ -1372,66 +1383,66 @@ const Vs = ["for"], Os = { class: "relative" }, Ms = ["id", "name", "placeholder
1372
1383
  return "h-8";
1373
1384
  }
1374
1385
  });
1375
- return s({ focus: x }), (V, F) => (l(), h("div", {
1386
+ return s({ focus: L }), (j, z) => (l(), h("div", {
1376
1387
  class: v([e.fullWidth ? "w-full" : "", e.wrapperClasses])
1377
1388
  }, [
1378
1389
  u("label", {
1379
1390
  for: e.name,
1380
- class: v(t(L))
1391
+ class: v(t($))
1381
1392
  }, [
1382
- u("span", null, _(t(i)), 1)
1393
+ u("span", null, S(t(i)), 1)
1383
1394
  ], 10, Ts),
1384
- u("div", Fs, [
1385
- t(C) ? (l(), h("div", zs, [
1386
- e.customIcon ? (l(), P(W(e.customIcon), {
1395
+ u("div", zs, [
1396
+ t(x) ? (l(), h("div", Fs, [
1397
+ e.customIcon ? (l(), P(U(e.customIcon), {
1387
1398
  key: 0,
1388
- class: v(t(S)),
1399
+ class: v(t(C)),
1389
1400
  "aria-hidden": "true"
1390
1401
  }, null, 8, ["class"])) : e.type === "email" ? (l(), P(t(at), {
1391
1402
  key: 1,
1392
- class: v(t(S)),
1403
+ class: v(t(C)),
1393
1404
  "aria-hidden": "true"
1394
1405
  }, null, 8, ["class"])) : e.type === "password" ? (l(), P(t(ot), {
1395
1406
  key: 2,
1396
- class: v(t(S)),
1407
+ class: v(t(C)),
1397
1408
  "aria-hidden": "true"
1398
- }, null, 8, ["class"])) : $("", !0)
1399
- ])) : $("", !0),
1409
+ }, null, 8, ["class"])) : _("", !0)
1410
+ ])) : _("", !0),
1400
1411
  te(u("input", ne({
1401
1412
  id: e.name,
1402
1413
  ref_key: "inputElement",
1403
1414
  ref: r,
1404
- "onUpdate:modelValue": F[0] || (F[0] = (M) => le(y) ? y.value = M : null),
1415
+ "onUpdate:modelValue": z[0] || (z[0] = (M) => le(y) ? y.value = M : null),
1405
1416
  type: e.type,
1406
1417
  name: e.name,
1407
- class: [t(d), t(q), t(p), e.inputClasses || ""],
1418
+ class: [t(d), t(E), t(p), e.inputClasses || ""],
1408
1419
  placeholder: e.placeholder,
1409
1420
  disabled: e.disabled,
1410
1421
  "aria-invalid": t(b) ? "true" : "false",
1411
1422
  "aria-describedby": t(f),
1412
1423
  role: "textbox"
1413
- }, V.$attrs, {
1414
- onChange: F[1] || (F[1] = (M) => V.$emit("change", { event: M, value: t(y) })),
1415
- onInput: F[2] || (F[2] = (M) => V.$emit("input", { event: M, value: t(y) }))
1424
+ }, j.$attrs, {
1425
+ onChange: z[1] || (z[1] = (M) => j.$emit("change", { event: M, value: t(y) })),
1426
+ onInput: z[2] || (z[2] = (M) => j.$emit("input", { event: M, value: t(y) }))
1416
1427
  }), null, 16, Es), [
1417
1428
  [Ee, t(y)]
1418
1429
  ]),
1419
- R(V.$slots, "input-right", {}, () => [
1430
+ R(j.$slots, "input-right", {}, () => [
1420
1431
  e.showClear ? (l(), h("a", {
1421
1432
  key: 0,
1422
1433
  title: "Clear input",
1423
1434
  class: "absolute inset-y-0 right-0 flex items-center pr-2 cursor-pointer",
1424
- onClick: F[3] || (F[3] = //@ts-ignore
1425
- (...M) => t(j) && t(j)(...M)),
1426
- onKeydown: F[4] || (F[4] = //@ts-ignore
1427
- (...M) => t(j) && t(j)(...M))
1435
+ onClick: z[3] || (z[3] = //@ts-ignore
1436
+ (...M) => t(V) && t(V)(...M)),
1437
+ onKeydown: z[4] || (z[4] = //@ts-ignore
1438
+ (...M) => t(V) && t(V)(...M))
1428
1439
  }, [
1429
1440
  Ws,
1430
- I(t(de), {
1441
+ I(t(ce), {
1431
1442
  class: "h-5 w-5 text-foreground",
1432
1443
  "aria-hidden": "true"
1433
1444
  })
1434
- ], 32)) : $("", !0),
1445
+ ], 32)) : _("", !0),
1435
1446
  t(b) ? (l(), h("div", {
1436
1447
  key: 1,
1437
1448
  class: v([
@@ -1439,19 +1450,19 @@ const Vs = ["for"], Os = { class: "relative" }, Ms = ["id", "name", "placeholder
1439
1450
  e.showClear ? "pr-8" : "pr-2"
1440
1451
  ])
1441
1452
  }, [
1442
- I(t(Ve), {
1453
+ I(t(je), {
1443
1454
  class: "h-4 w-4 text-danger",
1444
1455
  "aria-hidden": "true"
1445
1456
  })
1446
- ], 2)) : $("", !0),
1447
- e.showRequired && !t(b) ? (l(), h("div", Us, " * ")) : $("", !0)
1457
+ ], 2)) : _("", !0),
1458
+ e.showRequired && !t(b) ? (l(), h("div", Us, " * ")) : _("", !0)
1448
1459
  ])
1449
1460
  ]),
1450
1461
  t(f) && !t(m) ? (l(), h("p", {
1451
1462
  key: 0,
1452
1463
  id: t(f),
1453
1464
  class: v(t(w))
1454
- }, _(t(g)), 11, qs)) : $("", !0)
1465
+ }, S(t(g)), 11, qs)) : _("", !0)
1455
1466
  ], 2));
1456
1467
  }
1457
1468
  }), Gs = /^https?:\/\//, ye = /^[\w-_.+]+@[\w-_.+]+$/, Ks = (e) => (e || "").match(ye) ? !0 : "Value should be a valid e-mail address", Xs = (e) => (e || "").split(",").map((o) => o.trim()).every((o) => o.match(ye)) || "Value should be one or multiple comma-delimited e-mail addresses", Ns = (e) => (se(e) && (e = e.trim()), e ? !0 : "Value is required"), Js = (e, s) => (n, o) => n === o.form[e] ? !0 : `Value must be the same as in field '${s || e}'`, Qs = (e) => (s) => {
@@ -1485,12 +1496,12 @@ function Zs(e) {
1485
1496
  const f = y.children;
1486
1497
  let w = 0, g = 0, m;
1487
1498
  for (const b of f) {
1488
- const j = b.offsetTop;
1489
- X(m) ? (m = j, w += 1) : j === m && (w += 1), g += 1;
1499
+ const V = b.offsetTop;
1500
+ X(m) ? (m = V, w += 1) : V === m && (w += 1), g += 1;
1490
1501
  }
1491
1502
  d.value = g - w;
1492
1503
  };
1493
- return a && ct(n, i), r && dt(n, i, {
1504
+ return a && dt(n, i), r && ct(n, i, {
1494
1505
  childList: !0,
1495
1506
  subtree: !0
1496
1507
  }), {
@@ -1516,25 +1527,25 @@ function en(e) {
1516
1527
  get: () => {
1517
1528
  var w, g;
1518
1529
  const f = (w = s.modelValue) == null ? void 0 : w.value;
1519
- return (g = s.multiple) != null && g.value ? E(f) ? f : [] : E(f) ? void 0 : f;
1530
+ return (g = s.multiple) != null && g.value ? W(f) ? f : [] : W(f) ? void 0 : f;
1520
1531
  },
1521
1532
  set: (f) => {
1522
1533
  var w, g, m;
1523
- if ((w = s.multiple) != null && w.value && !E(f)) {
1534
+ if ((w = s.multiple) != null && w.value && !W(f)) {
1524
1535
  console.warn("Attempting to set non-array value in selector w/ multiple=true");
1525
1536
  return;
1526
- } else if (!((g = s.multiple) != null && g.value) && E(f)) {
1537
+ } else if (!((g = s.multiple) != null && g.value) && W(f)) {
1527
1538
  console.warn("Attempting to set array value in selector w/ multiple=false");
1528
1539
  return;
1529
1540
  }
1530
1541
  n("update:modelValue", (m = s.multiple) != null && m.value ? f || [] : f);
1531
1542
  }
1532
- }), d = (f) => E(f);
1543
+ }), d = (f) => W(f);
1533
1544
  return {
1534
1545
  selectedValue: r,
1535
1546
  hiddenSelectedItemCount: a,
1536
1547
  isArrayValue: d,
1537
- isMultiItemArrayValue: (f) => E(f) && f.length > 1,
1548
+ isMultiItemArrayValue: (f) => W(f) && f.length > 1,
1538
1549
  firstItem: (f) => d(f) ? f[0] : f
1539
1550
  };
1540
1551
  }
@@ -1554,10 +1565,10 @@ const tn = (e) => (_e("data-v-60cf597b"), e = e(), Se(), e), sn = /* @__PURE__ *
1554
1565
  }, nn, 2));
1555
1566
  }
1556
1567
  });
1557
- const De = /* @__PURE__ */ me(ln, [["__scopeId", "data-v-60cf597b"]]), an = { class: "flex items-center justify-between w-full" }, on = { class: "block truncate grow text-left" }, rn = { class: "pointer-events-none shrink-0 ml-1 flex items-center" }, un = ["disabled"], cn = {
1568
+ const De = /* @__PURE__ */ me(ln, [["__scopeId", "data-v-60cf597b"]]), an = { class: "flex items-center justify-between w-full" }, on = { class: "block truncate grow text-left" }, rn = { class: "pointer-events-none shrink-0 ml-1 flex items-center" }, un = ["disabled"], dn = {
1558
1569
  key: 0,
1559
1570
  class: "flex flex-col mx-1 mb-1"
1560
- }, dn = /* @__PURE__ */ u("span", { class: "sr-only label text-foreground" }, "Search", -1), fn = { class: "relative" }, pn = { class: "pointer-events-none absolute inset-y-0 left-0 flex items-center pl-2" }, hn = ["placeholder"], mn = {
1571
+ }, cn = /* @__PURE__ */ u("span", { class: "sr-only label text-foreground" }, "Search", -1), fn = { class: "relative" }, pn = { class: "pointer-events-none absolute inset-y-0 left-0 flex items-center pl-2" }, hn = ["placeholder"], mn = {
1561
1572
  key: 0,
1562
1573
  class: "px-1"
1563
1574
  }, gn = { key: 1 }, yn = /* @__PURE__ */ u("div", { class: "text-foreground-2 text-center" }, "Nothing found 🤷‍♂️", -1), vn = {
@@ -1703,57 +1714,57 @@ const De = /* @__PURE__ */ me(ln, [["__scopeId", "data-v-60cf597b"]]), an = { cl
1703
1714
  return !k || !t(s.useLabelInErrors) ? k : k.replace("Value", f.value);
1704
1715
  }), g = c(() => w.value || t(s.help)), m = c(() => !!g.value), b = c(
1705
1716
  () => m.value ? `${t(s.name)}-${y.value}` : void 0
1706
- ), j = c(
1717
+ ), V = c(
1707
1718
  () => o.value ? "text-danger" : "text-foreground-2"
1708
- ), x = c(
1719
+ ), L = c(
1709
1720
  () => s.buttonStyle !== "simple" && s.clearable && !s.disabled
1710
- ), L = c(() => {
1721
+ ), $ = c(() => {
1711
1722
  const k = ["relative flex group", s.showLabel ? "mt-1" : ""];
1712
1723
  return s.buttonStyle !== "simple" && (k.push("hover:shadow rounded-md"), k.push("outline outline-2 outline-primary-muted")), s.fixedHeight && k.push("h-8"), k.join(" ");
1713
- }), S = c(() => {
1724
+ }), C = c(() => {
1714
1725
  const k = [];
1715
1726
  return s.buttonStyle !== "simple" && k.push(
1716
- F.value ? "bg-foundation-disabled text-foreground-disabled" : ""
1717
- ), F.value && k.push("cursor-not-allowed"), k.join(" ");
1718
- }), C = c(() => {
1727
+ z.value ? "bg-foundation-disabled text-foreground-disabled" : ""
1728
+ ), z.value && k.push("cursor-not-allowed"), k.join(" ");
1729
+ }), x = c(() => {
1719
1730
  const k = [
1720
1731
  "relative z-[1]",
1721
1732
  "flex items-center justify-center text-center shrink-0",
1722
1733
  "rounded-r-md overflow-hidden transition-all",
1723
- ve.value ? `w-6 ${S.value}` : "w-0"
1734
+ ve.value ? `w-6 ${C.value}` : "w-0"
1724
1735
  ];
1725
- return F.value || k.push(
1736
+ return z.value || k.push(
1726
1737
  "bg-primary-muted hover:bg-primary hover:text-foreground-on-primary"
1727
1738
  ), k.join(" ");
1728
- }), q = c(() => {
1739
+ }), E = c(() => {
1729
1740
  const k = [
1730
1741
  "relative z-[2]",
1731
1742
  "normal rounded-md cursor-pointer transition truncate flex-1",
1732
1743
  "flex items-center",
1733
- S.value
1744
+ C.value
1734
1745
  ];
1735
- return s.buttonStyle !== "simple" && (k.push("py-2 px-3"), F.value || k.push("bg-foundation text-foreground")), x.value && ve.value && k.push("rounded-r-none"), k.join(" ");
1746
+ return s.buttonStyle !== "simple" && (k.push("py-2 px-3"), z.value || k.push("bg-foundation text-foreground")), L.value && ve.value && k.push("rounded-r-none"), k.join(" ");
1736
1747
  }), p = c(
1737
1748
  () => !!(s.search && (s.filterPredicate || s.getSearchResults))
1738
- ), V = c(() => p.value && s.getSearchResults), F = c(
1739
- () => s.disabled || !s.items.length && !V.value
1749
+ ), j = c(() => p.value && s.getSearchResults), z = c(
1750
+ () => s.disabled || !s.items.length && !j.value
1740
1751
  ), M = c({
1741
1752
  get: () => {
1742
1753
  const k = n.value;
1743
- return s.multiple ? E(k) ? k : [] : E(k) ? void 0 : k;
1754
+ return s.multiple ? W(k) ? k : [] : W(k) ? void 0 : k;
1744
1755
  },
1745
1756
  set: (k) => {
1746
- if (s.multiple && !E(k)) {
1757
+ if (s.multiple && !W(k)) {
1747
1758
  console.warn("Attempting to set non-array value in selector w/ multiple=true");
1748
1759
  return;
1749
- } else if (!s.multiple && E(k)) {
1760
+ } else if (!s.multiple && W(k)) {
1750
1761
  console.warn("Attempting to set array value in selector w/ multiple=false");
1751
1762
  return;
1752
1763
  }
1753
1764
  if (s.multiple)
1754
1765
  n.value = k || [];
1755
1766
  else {
1756
- const z = n.value, D = s.allowUnset && z && k && ae(z) === ae(k);
1767
+ const F = n.value, D = s.allowUnset && F && k && ae(F) === ae(k);
1757
1768
  n.value = D ? void 0 : k;
1758
1769
  }
1759
1770
  }
@@ -1762,13 +1773,13 @@ const De = /* @__PURE__ */ me(ln, [["__scopeId", "data-v-60cf597b"]]), an = { cl
1762
1773
  }, Te = c(() => {
1763
1774
  const k = r.value;
1764
1775
  return !p.value || !(k != null && k.length) ? d.value : s.filterPredicate ? d.value.filter(
1765
- (z) => {
1776
+ (F) => {
1766
1777
  var D;
1767
- return ((D = s.filterPredicate) == null ? void 0 : D.call(s, z, k)) || !1;
1778
+ return ((D = s.filterPredicate) == null ? void 0 : D.call(s, F, k)) || !1;
1768
1779
  }
1769
1780
  ) : d.value;
1770
1781
  }), be = (k) => JSON.stringify(k), ae = (k) => s.by ? k[s.by] : k, xe = async () => {
1771
- if (console.log("triggerSearch"), !(!V.value || !s.getSearchResults)) {
1782
+ if (console.log("triggerSearch"), !(!j.value || !s.getSearchResults)) {
1772
1783
  i.value = !0;
1773
1784
  try {
1774
1785
  d.value = await s.getSearchResults(r.value);
@@ -1776,7 +1787,7 @@ const De = /* @__PURE__ */ me(ln, [["__scopeId", "data-v-60cf597b"]]), an = { cl
1776
1787
  i.value = !1;
1777
1788
  }
1778
1789
  }
1779
- }, Fe = Pe(xe, 1e3);
1790
+ }, ze = Pe(xe, 1e3);
1780
1791
  return Y(
1781
1792
  () => s.items,
1782
1793
  (k) => {
@@ -1784,17 +1795,17 @@ const De = /* @__PURE__ */ me(ln, [["__scopeId", "data-v-60cf597b"]]), an = { cl
1784
1795
  },
1785
1796
  { immediate: !0 }
1786
1797
  ), Y(r, () => {
1787
- V.value && Fe();
1798
+ j.value && ze();
1788
1799
  }), ee(() => {
1789
- V.value && !s.items.length && xe();
1790
- }), (k, z) => (l(), h("div", null, [
1800
+ j.value && !s.items.length && xe();
1801
+ }), (k, F) => (l(), h("div", null, [
1791
1802
  I(t(pt), {
1792
1803
  modelValue: t(M),
1793
- "onUpdate:modelValue": z[4] || (z[4] = (D) => le(M) ? M.value = D : null),
1804
+ "onUpdate:modelValue": F[4] || (F[4] = (D) => le(M) ? M.value = D : null),
1794
1805
  name: e.name,
1795
1806
  multiple: e.multiple,
1796
1807
  by: e.by,
1797
- disabled: t(F),
1808
+ disabled: t(z),
1798
1809
  as: "div"
1799
1810
  }, {
1800
1811
  default: B(() => [
@@ -1802,30 +1813,30 @@ const De = /* @__PURE__ */ me(ln, [["__scopeId", "data-v-60cf597b"]]), an = { cl
1802
1813
  class: v(["block label text-foreground", { "sr-only": !e.showLabel }])
1803
1814
  }, {
1804
1815
  default: B(() => [
1805
- T(_(e.label), 1)
1816
+ T(S(e.label), 1)
1806
1817
  ]),
1807
1818
  _: 1
1808
1819
  }, 8, ["class"]),
1809
1820
  u("div", {
1810
- class: v(t(L))
1821
+ class: v(t($))
1811
1822
  }, [
1812
1823
  I(t(mt), {
1813
- class: v(t(q))
1824
+ class: v(t(E))
1814
1825
  }, {
1815
1826
  default: B(({ open: D }) => [
1816
1827
  u("div", an, [
1817
1828
  u("div", on, [
1818
- !t(M) || t(E)(t(M)) && !t(M).length ? R(k.$slots, "nothing-selected", { key: 0 }, () => [
1819
- T(_(e.label), 1)
1829
+ !t(M) || t(W)(t(M)) && !t(M).length ? R(k.$slots, "nothing-selected", { key: 0 }, () => [
1830
+ T(S(e.label), 1)
1820
1831
  ]) : R(k.$slots, "something-selected", {
1821
1832
  key: 1,
1822
1833
  value: t(M)
1823
1834
  }, () => [
1824
- T(_(be(t(M))), 1)
1835
+ T(S(be(t(M))), 1)
1825
1836
  ])
1826
1837
  ]),
1827
1838
  u("div", rn, [
1828
- D ? (l(), P(t(je), {
1839
+ D ? (l(), P(t(Ve), {
1829
1840
  key: 0,
1830
1841
  class: "h-4 w-4 text-foreground",
1831
1842
  "aria-hidden": "true"
@@ -1839,17 +1850,17 @@ const De = /* @__PURE__ */ me(ln, [["__scopeId", "data-v-60cf597b"]]), an = { cl
1839
1850
  ]),
1840
1851
  _: 3
1841
1852
  }, 8, ["class"]),
1842
- t(x) ? te((l(), h("button", {
1853
+ t(L) ? te((l(), h("button", {
1843
1854
  key: 0,
1844
- class: v(t(C)),
1855
+ class: v(t(x)),
1845
1856
  disabled: e.disabled,
1846
- onClick: z[0] || (z[0] = (D) => Re())
1857
+ onClick: F[0] || (F[0] = (D) => Re())
1847
1858
  }, [
1848
1859
  I(t(He), { class: "w-3 h-3" })
1849
1860
  ], 10, un)), [
1850
1861
  [t(Bt), "Clear"]
1851
- ]) : $("", !0),
1852
- I(ce, {
1862
+ ]) : _("", !0),
1863
+ I(de, {
1853
1864
  "leave-active-class": "transition ease-in duration-100",
1854
1865
  "leave-from-class": "opacity-100",
1855
1866
  "leave-to-class": "opacity-0"
@@ -1857,14 +1868,14 @@ const De = /* @__PURE__ */ me(ln, [["__scopeId", "data-v-60cf597b"]]), an = { cl
1857
1868
  default: B(() => [
1858
1869
  I(t(gt), {
1859
1870
  class: "absolute top-[100%] z-10 mt-1 w-full rounded-md bg-foundation-2 py-1 label label--light outline outline-2 outline-primary-muted focus:outline-none shadow",
1860
- onFocus: z[3] || (z[3] = (D) => {
1871
+ onFocus: F[3] || (F[3] = (D) => {
1861
1872
  var G;
1862
1873
  return (G = a.value) == null ? void 0 : G.focus();
1863
1874
  })
1864
1875
  }, {
1865
1876
  default: B(() => [
1866
- t(p) ? (l(), h("label", cn, [
1867
- dn,
1877
+ t(p) ? (l(), h("label", dn, [
1878
+ cn,
1868
1879
  u("div", fn, [
1869
1880
  u("div", pn, [
1870
1881
  I(t(Ge), { class: "h-5 w-5 text-foreground" })
@@ -1872,28 +1883,28 @@ const De = /* @__PURE__ */ me(ln, [["__scopeId", "data-v-60cf597b"]]), an = { cl
1872
1883
  te(u("input", {
1873
1884
  ref_key: "searchInput",
1874
1885
  ref: a,
1875
- "onUpdate:modelValue": z[1] || (z[1] = (D) => r.value = D),
1886
+ "onUpdate:modelValue": F[1] || (F[1] = (D) => r.value = D),
1876
1887
  type: "text",
1877
1888
  class: "pl-9 w-full border-0 bg-foundation-page rounded placeholder:font-normal normal placeholder:text-foreground-2 focus:outline-none focus:ring-1 focus:border-outline-1 focus:ring-outline-1",
1878
1889
  placeholder: e.searchPlaceholder,
1879
- onKeydown: z[2] || (z[2] = Be(() => {
1890
+ onKeydown: F[2] || (F[2] = Be(() => {
1880
1891
  }, ["stop"]))
1881
1892
  }, null, 40, hn), [
1882
1893
  [Ie, r.value]
1883
1894
  ])
1884
1895
  ])
1885
- ])) : $("", !0),
1896
+ ])) : _("", !0),
1886
1897
  u("div", {
1887
1898
  class: v(["overflow-auto simple-scrollbar", [t(p) ? "max-h-52" : "max-h-60"]])
1888
1899
  }, [
1889
- t(V) && i.value ? (l(), h("div", mn, [
1900
+ t(j) && i.value ? (l(), h("div", mn, [
1890
1901
  I(De, { loading: !0 })
1891
- ])) : t(V) && !d.value.length ? (l(), h("div", gn, [
1902
+ ])) : t(j) && !d.value.length ? (l(), h("div", gn, [
1892
1903
  R(k.$slots, "nothing-found", {}, () => [
1893
1904
  yn
1894
1905
  ])
1895
- ])) : $("", !0),
1896
- !t(V) || !i.value ? (l(!0), h(U, { key: 2 }, H(t(Te), (D) => (l(), P(t(yt), {
1906
+ ])) : _("", !0),
1907
+ !t(j) || !i.value ? (l(!0), h(q, { key: 2 }, H(t(Te), (D) => (l(), P(t(yt), {
1897
1908
  key: ae(D),
1898
1909
  value: D
1899
1910
  }, {
@@ -1911,7 +1922,7 @@ const De = /* @__PURE__ */ me(ln, [["__scopeId", "data-v-60cf597b"]]), an = { cl
1911
1922
  active: G,
1912
1923
  selected: ke
1913
1924
  }, () => [
1914
- T(_(be(D)), 1)
1925
+ T(S(be(D)), 1)
1915
1926
  ])
1916
1927
  ]),
1917
1928
  !e.hideCheckmarks && ke ? (l(), h("span", {
@@ -1925,11 +1936,11 @@ const De = /* @__PURE__ */ me(ln, [["__scopeId", "data-v-60cf597b"]]), an = { cl
1925
1936
  class: "h-5 w-5",
1926
1937
  "aria-hidden": "true"
1927
1938
  })
1928
- ], 2)) : $("", !0)
1939
+ ], 2)) : _("", !0)
1929
1940
  ], 2)
1930
1941
  ]),
1931
1942
  _: 2
1932
- }, 1032, ["value"]))), 128)) : $("", !0)
1943
+ }, 1032, ["value"]))), 128)) : _("", !0)
1933
1944
  ], 2)
1934
1945
  ]),
1935
1946
  _: 3
@@ -1944,8 +1955,8 @@ const De = /* @__PURE__ */ me(ln, [["__scopeId", "data-v-60cf597b"]]), an = { cl
1944
1955
  t(b) ? (l(), h("p", {
1945
1956
  key: 0,
1946
1957
  id: t(b),
1947
- class: v(["mt-2 ml-3 text-sm", t(j)])
1948
- }, _(t(g)), 11, bn)) : $("", !0)
1958
+ class: v(["mt-2 ml-3 text-sm", t(V)])
1959
+ }, S(t(g)), 11, bn)) : _("", !0)
1949
1960
  ]));
1950
1961
  }
1951
1962
  }), kn = /* @__PURE__ */ O({
@@ -1960,7 +1971,7 @@ const De = /* @__PURE__ */ me(ln, [["__scopeId", "data-v-60cf597b"]]), an = { cl
1960
1971
  style: oe({ backgroundColor: e.sourceApp.bgColor })
1961
1972
  }, {
1962
1973
  default: B(() => [
1963
- T(_(e.sourceApp.short), 1)
1974
+ T(S(e.sourceApp.short), 1)
1964
1975
  ]),
1965
1976
  _: 1
1966
1977
  }, 8, ["style"]));
@@ -2050,10 +2061,10 @@ const De = /* @__PURE__ */ me(ln, [["__scopeId", "data-v-60cf597b"]]), an = { cl
2050
2061
  by: "name"
2051
2062
  }, {
2052
2063
  "nothing-selected": B(() => [
2053
- e.selectorPlaceholder ? (l(), h(U, { key: 0 }, [
2054
- T(_(e.selectorPlaceholder), 1)
2055
- ], 64)) : (l(), h(U, { key: 1 }, [
2056
- T(_(e.multiple ? "Select apps" : "Select an app"), 1)
2064
+ e.selectorPlaceholder ? (l(), h(q, { key: 0 }, [
2065
+ T(S(e.selectorPlaceholder), 1)
2066
+ ], 64)) : (l(), h(q, { key: 1 }, [
2067
+ T(S(e.multiple ? "Select apps" : "Select an app"), 1)
2057
2068
  ], 64))
2058
2069
  ]),
2059
2070
  "something-selected": B(({ value: m }) => [
@@ -2068,18 +2079,18 @@ const De = /* @__PURE__ */ me(ln, [["__scopeId", "data-v-60cf597b"]]), an = { cl
2068
2079
  ref: a,
2069
2080
  class: "flex flex-wrap overflow-hidden space-x-0.5 h-5"
2070
2081
  }, [
2071
- (l(!0), h(U, null, H(m, (b) => (l(), P(kn, {
2082
+ (l(!0), h(q, null, H(m, (b) => (l(), P(kn, {
2072
2083
  key: b.name,
2073
2084
  "source-app": b
2074
2085
  }, null, 8, ["source-app"]))), 128))
2075
2086
  ], 512),
2076
- t(d) > 0 ? (l(), h("div", Cn, " +" + _(t(d)), 1)) : $("", !0)
2087
+ t(d) > 0 ? (l(), h("div", Cn, " +" + S(t(d)), 1)) : _("", !0)
2077
2088
  ], 512)) : (l(), h("div", wn, [
2078
2089
  u("div", {
2079
2090
  class: "h-2 w-2 rounded-full mr-2",
2080
2091
  style: oe({ backgroundColor: t(y)(m).bgColor })
2081
2092
  }, null, 4),
2082
- u("span", $n, _(t(y)(m).name), 1)
2093
+ u("span", $n, S(t(y)(m).name), 1)
2083
2094
  ]))
2084
2095
  ]),
2085
2096
  option: B(({ item: m }) => [
@@ -2088,7 +2099,7 @@ const De = /* @__PURE__ */ me(ln, [["__scopeId", "data-v-60cf597b"]]), an = { cl
2088
2099
  class: "h-2 w-2 rounded-full mr-2",
2089
2100
  style: oe({ backgroundColor: m.bgColor })
2090
2101
  }, null, 4),
2091
- u("span", Sn, _(m.name), 1)
2102
+ u("span", Sn, S(m.name), 1)
2092
2103
  ])
2093
2104
  ]),
2094
2105
  _: 1
@@ -2136,7 +2147,7 @@ function gl(e, ...s) {
2136
2147
  s[2]
2137
2148
  );
2138
2149
  }
2139
- const Bn = /* @__PURE__ */ u("div", { class: "fixed inset-0 bg-neutral-100/70 dark:bg-neutral-900/70 transition-opacity" }, null, -1), Ln = { class: "fixed inset-0 z-10 overflow-y-auto" }, Pn = { class: "flex min-h-full justify-center p-4 text-center items-center sm:p-0" }, jn = { class: "relative" }, yl = /* @__PURE__ */ O({
2150
+ const Bn = /* @__PURE__ */ u("div", { class: "fixed inset-0 bg-neutral-100/70 dark:bg-neutral-900/70 transition-opacity" }, null, -1), Ln = { class: "fixed inset-0 z-10 overflow-y-auto" }, Pn = { class: "flex min-h-full justify-center p-4 text-center items-center sm:p-0" }, Vn = { class: "relative" }, yl = /* @__PURE__ */ O({
2140
2151
  __name: "Dialog",
2141
2152
  props: {
2142
2153
  open: { type: Boolean },
@@ -2216,11 +2227,11 @@ const Bn = /* @__PURE__ */ u("div", { class: "fixed inset-0 bg-neutral-100/70 da
2216
2227
  ])
2217
2228
  }, {
2218
2229
  default: B(() => [
2219
- u("div", jn, [
2230
+ u("div", Vn, [
2220
2231
  R(i.$slots, "default", {}, () => [
2221
2232
  T("Put your content here!")
2222
2233
  ]),
2223
- e.hideCloser ? $("", !0) : (l(), h("button", {
2234
+ e.hideCloser ? _("", !0) : (l(), h("button", {
2224
2235
  key: 0,
2225
2236
  class: "absolute top-0 right-0 text-foreground",
2226
2237
  onClick: y[0] || (y[0] = (f) => o.value = !1)
@@ -2243,7 +2254,7 @@ const Bn = /* @__PURE__ */ u("div", { class: "fixed inset-0 bg-neutral-100/70 da
2243
2254
  _: 3
2244
2255
  }, 8, ["show"]));
2245
2256
  }
2246
- }), Vn = { class: "inline-flex items-center space-x-2" }, On = { class: "label-light" }, vl = /* @__PURE__ */ O({
2257
+ }), jn = { class: "inline-flex items-center space-x-2" }, On = { class: "label-light" }, vl = /* @__PURE__ */ O({
2247
2258
  __name: "Disclosure",
2248
2259
  props: {
2249
2260
  title: null,
@@ -2288,14 +2299,14 @@ const Bn = /* @__PURE__ */ u("div", { class: "fixed inset-0 bg-neutral-100/70 da
2288
2299
  class: v(t(n))
2289
2300
  }, {
2290
2301
  default: B(() => [
2291
- u("div", Vn, [
2292
- e.icon ? (l(), P(W(e.icon), {
2302
+ u("div", jn, [
2303
+ e.icon ? (l(), P(U(e.icon), {
2293
2304
  key: 0,
2294
2305
  class: "h-4 w-4"
2295
- })) : $("", !0),
2296
- u("span", null, _(e.title), 1)
2306
+ })) : _("", !0),
2307
+ u("span", null, S(e.title), 1)
2297
2308
  ]),
2298
- I(t(je), {
2309
+ I(t(Ve), {
2299
2310
  class: v([d ? "" : "rotate-180 transform", "h-5 w-5"])
2300
2311
  }, null, 8, ["class"])
2301
2312
  ]),
@@ -2341,7 +2352,7 @@ const bl = /* @__PURE__ */ O({
2341
2352
  class: "flex items-center justify-center rounded bg-foundation h-8 w-8 shadow cursor-pointer text-foreground",
2342
2353
  onClick: r
2343
2354
  }, [
2344
- (l(), P(W(t(a)), { class: "h-6 w-6" }))
2355
+ (l(), P(U(t(a)), { class: "h-6 w-6" }))
2345
2356
  ]));
2346
2357
  }
2347
2358
  });
@@ -2411,8 +2422,8 @@ const Rn = ["onClick"], kl = /* @__PURE__ */ O({
2411
2422
  get: () => n.open || !1,
2412
2423
  set: (m) => s("update:open", m)
2413
2424
  }), y = (m) => {
2414
- const { active: b, disabled: j } = m, x = ["group flex w-full items-center rounded-md px-2 py-2 text-sm"];
2415
- return b ? x.push("bg-primary text-foreground-on-primary") : j ? x.push("text-foreground-disabled") : x.push("text-foreground"), x.join(" ");
2425
+ const { active: b, disabled: V } = m, L = ["group flex w-full items-center rounded-md px-2 py-2 text-sm"];
2426
+ return b ? L.push("bg-primary text-foreground-on-primary") : V ? L.push("text-foreground-disabled") : L.push("text-foreground"), L.join(" ");
2416
2427
  }, f = (m, b) => {
2417
2428
  s("chosen", { item: m, event: b });
2418
2429
  }, w = () => {
@@ -2430,7 +2441,7 @@ const Rn = ["onClick"], kl = /* @__PURE__ */ O({
2430
2441
  as: "div",
2431
2442
  class: "relative inline-block"
2432
2443
  }, {
2433
- default: B(({ open: j }) => [
2444
+ default: B(({ open: V }) => [
2434
2445
  u("div", null, [
2435
2446
  I(t(_t), {
2436
2447
  ref_key: "menuButton",
@@ -2440,15 +2451,15 @@ const Rn = ["onClick"], kl = /* @__PURE__ */ O({
2440
2451
  }, ["stop", "prevent"]))
2441
2452
  }, null, 512),
2442
2453
  u("div", {
2443
- class: v(j ? "pointer-events-none" : "")
2454
+ class: v(V ? "pointer-events-none" : "")
2444
2455
  }, [
2445
2456
  R(m.$slots, "default", {
2446
2457
  toggle: w,
2447
- open: g(j)
2458
+ open: g(V)
2448
2459
  })
2449
2460
  ], 2)
2450
2461
  ]),
2451
- I(ce, {
2462
+ I(de, {
2452
2463
  "enter-active-class": "transition duration-100 ease-out",
2453
2464
  "enter-from-class": "transform scale-95 opacity-0",
2454
2465
  "enter-to-class": "transform scale-100 opacity-100",
@@ -2466,21 +2477,21 @@ const Rn = ["onClick"], kl = /* @__PURE__ */ O({
2466
2477
  ])
2467
2478
  }, {
2468
2479
  default: B(() => [
2469
- (l(!0), h(U, null, H(e.items, (x, L) => (l(), h("div", {
2470
- key: L,
2480
+ (l(!0), h(q, null, H(e.items, (L, $) => (l(), h("div", {
2481
+ key: $,
2471
2482
  class: "px-1 py-1"
2472
2483
  }, [
2473
- (l(!0), h(U, null, H(x, (S) => (l(), P(t(It), {
2474
- key: S.id,
2475
- disabled: S.disabled
2484
+ (l(!0), h(q, null, H(L, (C) => (l(), P(t(It), {
2485
+ key: C.id,
2486
+ disabled: C.disabled
2476
2487
  }, {
2477
- default: B(({ active: C, disabled: q }) => [
2488
+ default: B(({ active: x, disabled: E }) => [
2478
2489
  u("button", {
2479
- class: v(y({ active: C, disabled: q })),
2480
- onClick: (p) => f(S, p)
2490
+ class: v(y({ active: x, disabled: E })),
2491
+ onClick: (p) => f(C, p)
2481
2492
  }, [
2482
- R(m.$slots, "item", { item: S }, () => [
2483
- T(_(S.title), 1)
2493
+ R(m.$slots, "item", { item: C }, () => [
2494
+ T(S(C.title), 1)
2484
2495
  ])
2485
2496
  ], 10, Rn)
2486
2497
  ]),
@@ -2497,7 +2508,7 @@ const Rn = ["onClick"], kl = /* @__PURE__ */ O({
2497
2508
  _: 3
2498
2509
  }));
2499
2510
  }
2500
- }), Tn = { class: "flex flex-col space-y-4" }, Fn = { class: "flex space-x-6" }, Cl = /* @__PURE__ */ O({
2511
+ }), Tn = { class: "flex flex-col space-y-4" }, zn = { class: "flex space-x-6" }, Cl = /* @__PURE__ */ O({
2501
2512
  __name: "Tabs",
2502
2513
  props: {
2503
2514
  items: null
@@ -2507,15 +2518,15 @@ const Rn = ["onClick"], kl = /* @__PURE__ */ O({
2507
2518
  n.value = r.id;
2508
2519
  };
2509
2520
  return (r, d) => (l(), h("div", Tn, [
2510
- u("div", Fn, [
2511
- (l(!0), h(U, null, H(e.items, (i) => (l(), P(ge, {
2521
+ u("div", zn, [
2522
+ (l(!0), h(q, null, H(e.items, (i) => (l(), P(ge, {
2512
2523
  key: i.id,
2513
2524
  link: "",
2514
2525
  color: t(o).id === i.id ? "default" : "secondary",
2515
2526
  onClick: (y) => a(i)
2516
2527
  }, {
2517
2528
  default: B(() => [
2518
- T(_(i.title), 1)
2529
+ T(S(i.title), 1)
2519
2530
  ]),
2520
2531
  _: 2
2521
2532
  }, 1032, ["color", "onClick"]))), 128))
@@ -2523,7 +2534,7 @@ const Rn = ["onClick"], kl = /* @__PURE__ */ O({
2523
2534
  R(r.$slots, "default", { activeItem: t(o) })
2524
2535
  ]));
2525
2536
  }
2526
- }), zn = { class: "w-full flex flex-col items-center my-2 space-y-2 mt-4" }, En = { class: "inline-flex items-center space-x-1" }, Wn = /* @__PURE__ */ u("span", { class: "text-foreground-2" }, "That's it, you've loaded everything!", -1), Un = { class: "w-full flex flex-col items-center my-2 space-y-2 mt-4" }, qn = { class: "inline-flex items-center space-x-1" }, Hn = /* @__PURE__ */ u("span", { class: "text-foreground-2" }, "An error occurred while loading", -1), wl = /* @__PURE__ */ O({
2537
+ }), Fn = { class: "w-full flex flex-col items-center my-2 space-y-2 mt-4" }, En = { class: "inline-flex items-center space-x-1" }, Wn = /* @__PURE__ */ u("span", { class: "text-foreground-2" }, "That's it, you've loaded everything!", -1), Un = { class: "w-full flex flex-col items-center my-2 space-y-2 mt-4" }, qn = { class: "inline-flex items-center space-x-1" }, Hn = /* @__PURE__ */ u("span", { class: "text-foreground-2" }, "An error occurred while loading", -1), wl = /* @__PURE__ */ O({
2527
2538
  __name: "InfiniteLoading",
2528
2539
  props: {
2529
2540
  settings: null,
@@ -2551,7 +2562,7 @@ const Rn = ["onClick"], kl = /* @__PURE__ */ O({
2551
2562
  })
2552
2563
  ]),
2553
2564
  complete: B(() => [
2554
- u("div", zn, [
2565
+ u("div", Fn, [
2555
2566
  u("div", En, [
2556
2567
  I(t(tt), { class: "w-5 h-5 text-success" }),
2557
2568
  Wn
@@ -2572,11 +2583,11 @@ const Rn = ["onClick"], kl = /* @__PURE__ */ O({
2572
2583
  T("Retry")
2573
2584
  ]),
2574
2585
  _: 2
2575
- }, 1032, ["onClick"])) : $("", !0)
2586
+ }, 1032, ["onClick"])) : _("", !0)
2576
2587
  ])
2577
2588
  ]),
2578
2589
  _: 1
2579
- }, 16)) : $("", !0)
2590
+ }, 16)) : _("", !0)
2580
2591
  ], 512));
2581
2592
  }
2582
2593
  }), Gn = { class: "relative group" }, Kn = {
@@ -2626,8 +2637,8 @@ const Rn = ["onClick"], kl = /* @__PURE__ */ O({
2626
2637
  return n.noShadow || d.push("shadow"), n.ring && d.push("ring-outline-2 hover:ring-2"), d.join(" ");
2627
2638
  });
2628
2639
  return (d, i) => (l(), h("div", Gn, [
2629
- e.fancyGlow ? (l(), h("div", Kn)) : $("", !0),
2630
- (l(), P(W(e.form ? "form" : "div"), {
2640
+ e.fancyGlow ? (l(), h("div", Kn)) : _("", !0),
2641
+ (l(), P(U(e.form ? "form" : "div"), {
2631
2642
  class: v([
2632
2643
  "relative divide-outline-3 bg-foundation text-foreground flex flex-col divide-y overflow-hidden",
2633
2644
  t(r)
@@ -2640,7 +2651,7 @@ const Rn = ["onClick"], kl = /* @__PURE__ */ O({
2640
2651
  class: v(t(o))
2641
2652
  }, [
2642
2653
  R(d.$slots, "header")
2643
- ], 2)) : $("", !0),
2654
+ ], 2)) : _("", !0),
2644
2655
  u("div", {
2645
2656
  class: v(["grow", t(a)])
2646
2657
  }, [
@@ -2651,7 +2662,7 @@ const Rn = ["onClick"], kl = /* @__PURE__ */ O({
2651
2662
  class: v(t(o))
2652
2663
  }, [
2653
2664
  R(d.$slots, "footer")
2654
- ], 2)) : $("", !0)
2665
+ ], 2)) : _("", !0)
2655
2666
  ]),
2656
2667
  _: 3
2657
2668
  }, 40, ["class"]))
@@ -2663,13 +2674,13 @@ export {
2663
2674
  De as CommonLoadingBar,
2664
2675
  il as CommonStepsBullet,
2665
2676
  rl as CommonStepsNumber,
2666
- Vt as CommonTextLink,
2677
+ jt as CommonTextLink,
2667
2678
  ge as FormButton,
2668
2679
  ul as FormCardButton,
2669
- cl as FormCheckbox,
2680
+ dl as FormCheckbox,
2670
2681
  xn as FormSelectBase,
2671
2682
  hl as FormSelectSourceApps,
2672
- dl as FormTextArea,
2683
+ cl as FormTextArea,
2673
2684
  fl as FormTextInput,
2674
2685
  ol as GlobalToastRenderer,
2675
2686
  K as GridListToggleValue,