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

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.
Files changed (3) hide show
  1. package/dist/lib.cjs +1 -1
  2. package/dist/lib.js +429 -411
  3. package/package.json +1 -1
package/dist/lib.js CHANGED
@@ -1,19 +1,19 @@
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
- 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 ce, CheckIcon as nt, CheckCircleIcon as lt, ExclamationCircleIcon as je, EnvelopeIcon as at, KeyIcon as ot } from "@heroicons/vue/20/solid";
1
+ import { defineComponent as O, resolveDynamicComponent as U, computed as d, 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 S, toRefs as Z, Fragment as q, renderList as H, pushScopeId as Se, popScopeId as Ie, ref as A, mergeProps as ne, onMounted as ee, withDirectives as te, isRef as le, vModelText as Be, useSlots as Ee, vModelDynamic as We, watch as Y, withModifiers as Le, normalizeStyle as oe, onBeforeUnmount as Pe } from "vue";
2
+ import { isObjectLike as Ce, clamp as we, isString as se, isUndefined as X, isArray as W, debounce as Ve, throttle as Ue } from "lodash";
3
+ import { ArrowPathIcon as qe, ChevronUpIcon as je, ChevronDownIcon as He, XMarkIcon as Ge, MagnifyingGlassIcon as Ke, CheckIcon as Xe, Bars3Icon as Ne, Squares2X2Icon as Je } from "@heroicons/vue/24/solid";
4
+ import { CheckCircleIcon as Qe, XCircleIcon as Ye, ExclamationCircleIcon as Ze, InformationCircleIcon as et, XMarkIcon as tt, CheckIcon as st, ExclamationTriangleIcon as nt } from "@heroicons/vue/24/outline";
5
+ import { XMarkIcon as de, CheckIcon as lt, CheckCircleIcon as at, ExclamationCircleIcon as Oe, EnvelopeIcon as ot, KeyIcon as rt } from "@heroicons/vue/20/solid";
6
6
  import { useField as fe } from "vee-validate";
7
7
  import { nanoid as pe } from "nanoid";
8
- import { isNullOrUndefined as rt, SourceApps as it, getClientOperatingSystem as ut, OperatingSystem as re } from "@speckle/shared";
9
- import { useResizeObserver as dt, useMutationObserver as ct, onKeyDown as ft, isClient as he } from "@vueuse/core";
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
- import { directive as Bt } from "vue-tippy";
12
- import Lt from "v3-infinite-loading";
13
- const Pt = {
8
+ import { isNullOrUndefined as it, SourceApps as ut, getClientOperatingSystem as ct, OperatingSystem as re } from "@speckle/shared";
9
+ import { useResizeObserver as dt, useMutationObserver as ft, onKeyDown as pt, isClient as he } from "@vueuse/core";
10
+ import { Listbox as ht, ListboxLabel as mt, ListboxButton as gt, ListboxOptions as yt, ListboxOption as vt, TransitionRoot as bt, Dialog as xt, TransitionChild as $e, DialogPanel as kt, Disclosure as Ct, DisclosureButton as wt, DisclosurePanel as $t, Menu as _t, MenuButton as St, MenuItems as It, MenuItem as Bt } from "@headlessui/vue";
11
+ import { directive as Lt } from "vue-tippy";
12
+ import Pt from "v3-infinite-loading";
13
+ const Vt = {
14
14
  key: 2,
15
15
  style: { margin: "0 !important", width: "0.01px" }
16
- }, Vt = /* @__PURE__ */ O({
16
+ }, jt = /* @__PURE__ */ O({
17
17
  __name: "Button",
18
18
  props: {
19
19
  /**
@@ -141,10 +141,10 @@ const Pt = {
141
141
  },
142
142
  emits: ["click"],
143
143
  setup(e, { emit: s }) {
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(() => {
144
+ const n = e, o = U("NuxtLink"), a = U("RouterLink"), r = d(() => n.linkComponent ? n.linkComponent : n.external ? "a" : Ce(o) ? o : Ce(a) ? a : "a"), c = d(() => {
145
145
  if (!n.to)
146
146
  return n.submit ? "submit" : "button";
147
- }), i = c(() => n.disabled || n.loading), y = c(() => n.loading ? Ue : n.iconLeft), f = c(() => {
147
+ }), i = d(() => n.disabled || n.loading), y = d(() => n.loading ? qe : n.iconLeft), f = d(() => {
148
148
  const p = [];
149
149
  if (p.push("border-2"), i.value)
150
150
  p.push(
@@ -184,7 +184,7 @@ const Pt = {
184
184
  break;
185
185
  }
186
186
  return p.join(" ");
187
- }), w = c(() => {
187
+ }), w = d(() => {
188
188
  const p = [];
189
189
  if (!n.text && !n.link)
190
190
  if (i.value)
@@ -233,10 +233,10 @@ const Pt = {
233
233
  "text-foundation hover:text-foundation-2 dark:text-foreground dark:hover:text-foreground"
234
234
  ) : n.color === "secondary" ? p.push("text-foreground-2 hover:text-primary-focus") : n.color === "success" ? p.push("text-success") : n.color === "warning" ? p.push("text-warning") : n.color === "danger" ? p.push("text-danger") : p.push("text-primary hover:text-primary-focus");
235
235
  return p.join(" ");
236
- }), g = c(() => {
236
+ }), g = d(() => {
237
237
  const p = [];
238
238
  return p.push(n.rounded ? "rounded-full" : "rounded-md"), p.join(" ");
239
- }), m = c(() => {
239
+ }), m = d(() => {
240
240
  const p = [];
241
241
  if (!i.value)
242
242
  switch (n.color) {
@@ -258,7 +258,7 @@ const Pt = {
258
258
  break;
259
259
  }
260
260
  return p.join(" ");
261
- }), b = c(() => {
261
+ }), b = d(() => {
262
262
  switch (n.size) {
263
263
  case "xs":
264
264
  return "h-5 text-xs font-medium xxx-tracking-wide";
@@ -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
- }), V = c(() => {
275
+ }), V = d(() => {
276
276
  switch (n.size) {
277
277
  case "xs":
278
278
  return "px-1";
@@ -286,15 +286,15 @@ const Pt = {
286
286
  case "base":
287
287
  return "px-3";
288
288
  }
289
- }), L = c(() => {
289
+ }), L = d(() => {
290
290
  const p = [];
291
291
  return n.fullWidth && p.push("w-full"), i.value && p.push("cursor-not-allowed"), p.join(" ");
292
- }), $ = c(() => {
292
+ }), $ = d(() => {
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
- }), C = c(() => {
297
+ }), C = d(() => {
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",
@@ -307,7 +307,7 @@ const Pt = {
307
307
  n.link ? "" : V.value,
308
308
  $.value
309
309
  ].join(" ");
310
- }), x = c(() => {
310
+ }), x = d(() => {
311
311
  const p = [""];
312
312
  switch (n.loading && p.push("animate-spin"), n.size) {
313
313
  case "xs":
@@ -338,7 +338,7 @@ const Pt = {
338
338
  return (p, j) => (l(), P(U(e.to ? t(r) : "button"), {
339
339
  href: e.to,
340
340
  to: e.to,
341
- type: t(d),
341
+ type: t(c),
342
342
  external: e.external,
343
343
  class: v(t(C)),
344
344
  disabled: t(i),
@@ -350,7 +350,7 @@ const Pt = {
350
350
  key: 0,
351
351
  class: v(`${t(x)} ${e.hideText ? "" : "mr-2"}`)
352
352
  }, null, 8, ["class"])) : _("", !0),
353
- e.hideText ? (l(), h("div", Pt, "   ")) : R(p.$slots, "default", { key: 1 }, () => [
353
+ e.hideText ? (l(), h("div", Vt, "   ")) : R(p.$slots, "default", { key: 1 }, () => [
354
354
  T("Button")
355
355
  ], !0),
356
356
  e.iconRight || !e.loading ? (l(), P(U(e.iconRight), {
@@ -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(Vt, [["__scopeId", "data-v-da9a3400"]]), jt = /* @__PURE__ */ O({
370
+ }, ge = /* @__PURE__ */ me(jt, [["__scopeId", "data-v-da9a3400"]]), Ot = /* @__PURE__ */ O({
371
371
  __name: "Link",
372
372
  props: {
373
373
  to: {
@@ -447,42 +447,42 @@ const me = (e, s) => {
447
447
  }
448
448
  });
449
449
  var N = /* @__PURE__ */ ((e) => (e[e.Success = 0] = "Success", e[e.Warning = 1] = "Warning", e[e.Danger = 2] = "Danger", e[e.Info = 3] = "Info", e))(N || {});
450
- const Ot = {
450
+ const Mt = {
451
451
  "aria-live": "assertive",
452
452
  class: "pointer-events-none fixed inset-0 flex items-end px-4 py-6 mt-10 sm:items-start sm:p-6 z-50"
453
- }, Mt = { class: "flex w-full flex-col items-center space-y-4 sm:items-end" }, At = {
453
+ }, At = { class: "flex w-full flex-col items-center space-y-4 sm:items-end" }, Dt = {
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" }, zt = { class: "ml-2 w-0 flex-1 flex flex-col" }, Ft = {
456
+ }, Rt = { class: "p-4" }, Tt = { class: "flex items-start" }, zt = { class: "flex-shrink-0" }, Ft = { class: "ml-2 w-0 flex-1 flex flex-col" }, Et = {
457
457
  key: 0,
458
458
  class: "text-foreground font-bold"
459
- }, Et = {
459
+ }, Wt = {
460
460
  key: 1,
461
461
  class: "label label--light text-foreground-2"
462
- }, Wt = {
462
+ }, Ut = {
463
463
  key: 2,
464
464
  class: "flex justify-start mt-2"
465
- }, Ut = /* @__PURE__ */ u("span", { class: "sr-only" }, "Close", -1), ol = /* @__PURE__ */ O({
465
+ }, qt = /* @__PURE__ */ u("span", { class: "sr-only" }, "Close", -1), il = /* @__PURE__ */ O({
466
466
  __name: "ToastRenderer",
467
467
  props: {
468
468
  notification: null
469
469
  },
470
470
  emits: ["update:notification"],
471
471
  setup(e, { emit: s }) {
472
- const n = e, o = c(
472
+ const n = e, o = d(
473
473
  () => {
474
- var d, i;
475
- return !((d = n.notification) != null && d.description) && !((i = n.notification) != null && i.cta);
474
+ var c, i;
475
+ return !((c = n.notification) != null && c.description) && !((i = n.notification) != null && i.cta);
476
476
  }
477
477
  ), a = () => {
478
478
  s("update:notification", null);
479
- }, r = (d) => {
479
+ }, r = (c) => {
480
480
  var i, y, f;
481
- (f = (y = (i = n.notification) == null ? void 0 : i.cta) == null ? void 0 : y.onClick) == null || f.call(y, d), a();
481
+ (f = (y = (i = n.notification) == null ? void 0 : i.cta) == null ? void 0 : y.onClick) == null || f.call(y, c), a();
482
482
  };
483
- return (d, i) => (l(), h("div", Ot, [
484
- u("div", Mt, [
485
- I(de, {
483
+ return (c, i) => (l(), h("div", Mt, [
484
+ u("div", At, [
485
+ I(ce, {
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",
@@ -491,33 +491,33 @@ const Ot = {
491
491
  "leave-to-class": "opacity-0"
492
492
  }, {
493
493
  default: B(() => [
494
- e.notification ? (l(), h("div", At, [
495
- u("div", Dt, [
496
- u("div", Rt, [
497
- u("div", Tt, [
498
- e.notification.type === t(N).Success ? (l(), P(t(Je), {
494
+ e.notification ? (l(), h("div", Dt, [
495
+ u("div", Rt, [
496
+ u("div", Tt, [
497
+ u("div", zt, [
498
+ e.notification.type === t(N).Success ? (l(), P(t(Qe), {
499
499
  key: 0,
500
500
  class: "h-6 w-6 text-success",
501
501
  "aria-hidden": "true"
502
- })) : e.notification.type === t(N).Danger ? (l(), P(t(Qe), {
502
+ })) : e.notification.type === t(N).Danger ? (l(), P(t(Ye), {
503
503
  key: 1,
504
504
  class: "h-6 w-6 text-danger",
505
505
  "aria-hidden": "true"
506
- })) : e.notification.type === t(N).Warning ? (l(), P(t(Ye), {
506
+ })) : e.notification.type === t(N).Warning ? (l(), P(t(Ze), {
507
507
  key: 2,
508
508
  class: "h-6 w-6 text-warning",
509
509
  "aria-hidden": "true"
510
- })) : e.notification.type === t(N).Info ? (l(), P(t(Ze), {
510
+ })) : e.notification.type === t(N).Info ? (l(), P(t(et), {
511
511
  key: 3,
512
512
  class: "h-6 w-6 text-info",
513
513
  "aria-hidden": "true"
514
514
  })) : _("", !0)
515
515
  ]),
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
- e.notification.cta ? (l(), h("div", Wt, [
520
- I(jt, {
516
+ u("div", Ft, [
517
+ e.notification.title ? (l(), h("p", Et, S(e.notification.title), 1)) : _("", !0),
518
+ e.notification.description ? (l(), h("p", Wt, S(e.notification.description), 1)) : _("", !0),
519
+ e.notification.cta ? (l(), h("div", Ut, [
520
+ I(Ot, {
521
521
  to: e.notification.cta.url,
522
522
  class: "label",
523
523
  primary: "",
@@ -538,8 +538,8 @@ const Ot = {
538
538
  class: "inline-flex rounded-md bg-foundation text-foreground-2 hover:text-foreground focus:outline-none focus:ring-2 focus:ring-primary focus:ring-offset-2",
539
539
  onClick: a
540
540
  }, [
541
- Ut,
542
- I(t(ce), {
541
+ qt,
542
+ I(t(de), {
543
543
  class: "h-6 w-6",
544
544
  "aria-hidden": "true"
545
545
  })
@@ -554,13 +554,13 @@ const Ot = {
554
554
  ])
555
555
  ]));
556
556
  }
557
- }), qt = /* @__PURE__ */ u("circle", {
557
+ }), Ht = /* @__PURE__ */ u("circle", {
558
558
  cx: "4",
559
559
  cy: "4",
560
560
  r: "3"
561
- }, null, -1), Ht = [
562
- qt
563
- ], Gt = /* @__PURE__ */ O({
561
+ }, null, -1), Gt = [
562
+ Ht
563
+ ], Kt = /* @__PURE__ */ O({
564
564
  __name: "Badge",
565
565
  props: {
566
566
  size: null,
@@ -573,11 +573,11 @@ const Ot = {
573
573
  },
574
574
  emits: ["click-icon"],
575
575
  setup(e, { emit: s }) {
576
- const n = e, o = c(
576
+ const n = e, o = d(
577
577
  () => n.colorClasses || "bg-blue-100 text-blue-800"
578
- ), a = c(
578
+ ), a = d(
579
579
  () => n.dotIconColorClasses || "text-blue-400"
580
- ), r = c(() => {
580
+ ), r = d(() => {
581
581
  const f = [
582
582
  "inline-flex items-center",
583
583
  o.value,
@@ -588,12 +588,12 @@ const Ot = {
588
588
  )) : (f.push("rounded-full"), f.push(
589
589
  n.size === "lg" ? "px-2.5 py-0.5 label" : "px-2.5 py-0.5 caption font-medium"
590
590
  )), f.join(" ");
591
- }), d = c(() => {
591
+ }), c = d(() => {
592
592
  const f = [
593
593
  "mt-0.5 ml-0.5 inline-flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-full focus:outline-none"
594
594
  ];
595
595
  return n.clickableIcon ? f.push("cursor-pointer") : f.push("cursor-default"), f.join(" ");
596
- }), i = c(() => [
596
+ }), i = d(() => [
597
597
  "-ml-0.5 mr-1.5 h-2 w-2",
598
598
  a.value
599
599
  ].join(" ")), y = (f) => {
@@ -611,13 +611,13 @@ const Ot = {
611
611
  class: v(t(i)),
612
612
  fill: "currentColor",
613
613
  viewBox: "0 0 8 8"
614
- }, Ht, 2)) : _("", !0),
614
+ }, Gt, 2)) : _("", !0),
615
615
  R(f.$slots, "default", {}, () => [
616
616
  T("Badge")
617
617
  ]),
618
618
  e.iconLeft ? (l(), h("button", {
619
619
  key: 1,
620
- class: v(t(d)),
620
+ class: v(t(c)),
621
621
  onClick: w[0] || (w[0] = (g) => y(g))
622
622
  }, [
623
623
  (l(), P(U(e.iconLeft), {
@@ -627,8 +627,12 @@ const Ot = {
627
627
  ], 2));
628
628
  }
629
629
  });
630
+ let _e = [];
631
+ function Xt(e) {
632
+ _e = _e ? e : e.slice();
633
+ }
630
634
  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
- function Oe(e) {
635
+ function Me(e) {
632
636
  const {
633
637
  props: {
634
638
  modelValue: s,
@@ -636,12 +640,12 @@ function Oe(e) {
636
640
  orientation: o,
637
641
  goVerticalBelow: a,
638
642
  nonInteractive: r,
639
- stepsPadding: d
643
+ stepsPadding: c
640
644
  },
641
645
  emit: i
642
- } = e, y = c(
646
+ } = e, y = d(
643
647
  () => (o == null ? void 0 : o.value) === "vertical" ? "vertical" : "horizontal"
644
- ), f = c({
648
+ ), f = d({
645
649
  get: () => we((s == null ? void 0 : s.value) || 0, -1, n.value.length),
646
650
  set: ($) => i("update:modelValue", we($, 0, n.value.length))
647
651
  }), w = ($) => `${$ + 1}`, g = ($) => $ === f.value, m = ($) => $ < f.value, b = ($, C) => {
@@ -653,10 +657,10 @@ function Oe(e) {
653
657
  f.value = $;
654
658
  const x = n.value[f.value];
655
659
  (E = x == null ? void 0 : x.onClick) == null || E.call(x);
656
- }, V = c(() => {
660
+ }, V = d(() => {
657
661
  const $ = ["flex"];
658
662
  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(
663
+ return (c == null ? void 0 : c.value) === "xs" ? (C = "space-x-2", x = "space-y-1") : (c == null ? void 0 : c.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
664
  `sm:flex-row sm:space-y-0 sm:justify-start sm:${C} sm:items-center`
661
665
  ) : (a == null ? void 0 : a.value) === J.md ? $.push(
662
666
  `md:flex-row md:space-y-0 md:justify-start md:${C} md:items-center`
@@ -665,7 +669,7 @@ function Oe(e) {
665
669
  ) : (a == null ? void 0 : a.value) === J.xl && $.push(
666
670
  `xl:flex-row xl:space-y-0 xl:justify-start xl:${C} xl:items-center`
667
671
  )) : $.push(`flex-row ${C} items-center`), $.join(" ");
668
- }), L = c(() => {
672
+ }), L = d(() => {
669
673
  const $ = ["flex items-center"];
670
674
  return r != null && r.value || $.push("cursor-pointer"), $.join(" ");
671
675
  });
@@ -680,16 +684,30 @@ function Oe(e) {
680
684
  orientation: y
681
685
  };
682
686
  }
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 = {
687
+ Xt([
688
+ "sm:space-x-8",
689
+ "md:space-x-8",
690
+ "lg:space-x-8",
691
+ "xl:space-x-8",
692
+ "sm:space-x-2",
693
+ "md:space-x-2",
694
+ "lg:space-x-2",
695
+ "xl:space-x-2",
696
+ "sm:space-x-4",
697
+ "md:space-x-4",
698
+ "lg:space-x-4",
699
+ "xl:space-x-4"
700
+ ]);
701
+ const Nt = ["aria-label"], Jt = ["href", "onClick"], Qt = { class: "flex space-x-3 items-center text-primary-focus normal font-medium leading-5" }, Yt = { class: "shrink-0 h-8 w-8 rounded-full bg-primary-focus text-foreground-on-primary inline-flex items-center justify-center" }, Zt = { class: "flex flex-col" }, es = {
684
702
  key: 0,
685
703
  class: "label label--light text-foreground"
686
- }, Zt = ["href", "onClick"], es = { class: "flex space-x-3 items-center text-primary-focus normal font-medium leading-5" }, ts = { class: "shrink-0 h-8 w-8 rounded-full border-2 border-primary-focus inline-flex items-center justify-center" }, ss = { class: "flex flex-col" }, ns = {
704
+ }, ts = ["href", "onClick"], ss = { class: "flex space-x-3 items-center text-primary-focus normal font-medium leading-5" }, ns = { class: "shrink-0 h-8 w-8 rounded-full border-2 border-primary-focus inline-flex items-center justify-center" }, ls = { class: "flex flex-col" }, as = {
687
705
  key: 0,
688
706
  class: "label label--light text-foreground"
689
- }, ls = ["href", "onClick"], as = { class: "flex space-x-3 items-center text-foreground-disabled normal font-medium leading-5" }, os = { class: "shrink-0 h-8 w-8 rounded-full border-2 border-foreground-disabled inline-flex items-center justify-center" }, rs = { class: "flex flex-col" }, is = {
707
+ }, os = ["href", "onClick"], rs = { class: "flex space-x-3 items-center text-foreground-disabled normal font-medium leading-5" }, is = { class: "shrink-0 h-8 w-8 rounded-full border-2 border-foreground-disabled inline-flex items-center justify-center" }, us = { class: "flex flex-col" }, cs = {
690
708
  key: 0,
691
709
  class: "label label--light"
692
- }, rl = /* @__PURE__ */ O({
710
+ }, ul = /* @__PURE__ */ O({
693
711
  __name: "Number",
694
712
  props: {
695
713
  ariaLabel: null,
@@ -706,10 +724,10 @@ const Kt = ["aria-label"], Xt = ["href", "onClick"], Nt = { class: "flex space-x
706
724
  isCurrentStep: o,
707
725
  isFinishedStep: a,
708
726
  switchStep: r,
709
- getStepDisplayValue: d,
727
+ getStepDisplayValue: c,
710
728
  listClasses: i,
711
729
  linkClasses: y
712
- } = Oe({
730
+ } = Me({
713
731
  props: Z(n),
714
732
  emit: s
715
733
  });
@@ -729,66 +747,66 @@ const Kt = ["aria-label"], Xt = ["href", "onClick"], Nt = { class: "flex space-x
729
747
  class: v(t(y)),
730
748
  onClick: (b) => t(r)(m, b)
731
749
  }, [
732
- u("div", Nt, [
733
- u("div", Jt, [
734
- I(t(nt), { class: "w-5 h-5" })
750
+ u("div", Qt, [
751
+ u("div", Yt, [
752
+ I(t(lt), { class: "w-5 h-5" })
735
753
  ]),
736
- u("div", Qt, [
754
+ u("div", Zt, [
737
755
  u("div", null, S(g.name), 1),
738
- g.description ? (l(), h("div", Yt, S(g.description), 1)) : _("", !0)
756
+ g.description ? (l(), h("div", es, S(g.description), 1)) : _("", !0)
739
757
  ])
740
758
  ])
741
- ], 10, Xt)) : t(o)(m) ? (l(), h("a", {
759
+ ], 10, Jt)) : t(o)(m) ? (l(), h("a", {
742
760
  key: 1,
743
761
  href: g.href,
744
762
  class: v(t(y)),
745
763
  "aria-current": "step",
746
764
  onClick: (b) => t(r)(m, b)
747
765
  }, [
748
- u("div", es, [
749
- u("div", ts, S(t(d)(m)), 1),
750
- u("div", ss, [
766
+ u("div", ss, [
767
+ u("div", ns, S(t(c)(m)), 1),
768
+ u("div", ls, [
751
769
  u("div", null, S(g.name), 1),
752
- g.description ? (l(), h("div", ns, S(g.description), 1)) : _("", !0)
770
+ g.description ? (l(), h("div", as, S(g.description), 1)) : _("", !0)
753
771
  ])
754
772
  ])
755
- ], 10, Zt)) : (l(), h("a", {
773
+ ], 10, ts)) : (l(), h("a", {
756
774
  key: 2,
757
775
  href: g.href,
758
776
  class: v(t(y)),
759
777
  onClick: (b) => t(r)(m, b)
760
778
  }, [
761
- u("div", as, [
762
- u("div", os, S(t(d)(m)), 1),
763
- u("div", rs, [
779
+ u("div", rs, [
780
+ u("div", is, S(t(c)(m)), 1),
781
+ u("div", us, [
764
782
  u("div", null, S(g.name), 1),
765
- g.description ? (l(), h("div", is, S(g.description), 1)) : _("", !0)
783
+ g.description ? (l(), h("div", cs, S(g.description), 1)) : _("", !0)
766
784
  ])
767
785
  ])
768
- ], 10, ls))
786
+ ], 10, os))
769
787
  ]))), 128))
770
788
  ], 2)
771
- ], 8, Kt));
789
+ ], 8, Nt));
772
790
  }
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 = {
791
+ }), Ae = (e) => (Se("data-v-9dd7b659"), e = e(), Ie(), e), ds = ["aria-label"], fs = ["href", "onClick"], ps = { class: "relative flex h-5 w-5 flex-shrink-0 items-center justify-center" }, hs = {
774
792
  key: 0,
775
793
  class: "h-3 w-3 rounded-full bg-foreground-2"
776
- }, ps = ["href", "onClick"], hs = {
794
+ }, ms = ["href", "onClick"], gs = {
777
795
  class: "relative flex h-5 w-5 flex-shrink-0 items-center justify-center",
778
796
  "aria-hidden": "true"
779
- }, ms = {
797
+ }, ys = {
780
798
  key: 0,
781
799
  class: "h-3 w-3 rounded-full bg-foreground"
782
- }, gs = /* @__PURE__ */ Me(() => /* @__PURE__ */ u("span", { class: "absolute h-4 w-4 rounded-full bg-outline-2" }, null, -1)), ys = /* @__PURE__ */ Me(() => /* @__PURE__ */ u("span", { class: "relative block h-2 w-2 rounded-full bg-primary-focus" }, null, -1)), vs = ["href", "onClick"], bs = {
800
+ }, vs = /* @__PURE__ */ Ae(() => /* @__PURE__ */ u("span", { class: "absolute h-4 w-4 rounded-full bg-outline-2" }, null, -1)), bs = /* @__PURE__ */ Ae(() => /* @__PURE__ */ u("span", { class: "relative block h-2 w-2 rounded-full bg-primary-focus" }, null, -1)), xs = ["href", "onClick"], ks = {
783
801
  class: "relative flex h-5 w-5 flex-shrink-0 items-center justify-center",
784
802
  "aria-hidden": "true"
785
- }, xs = {
803
+ }, Cs = {
786
804
  key: 0,
787
805
  class: "h-3 w-3 rounded-full bg-foreground-2"
788
- }, ks = {
806
+ }, ws = {
789
807
  key: 1,
790
808
  class: "h-4 w-4 rounded-full bg-foreground-disabled"
791
- }, Cs = /* @__PURE__ */ O({
809
+ }, $s = /* @__PURE__ */ O({
792
810
  __name: "Bullet",
793
811
  props: {
794
812
  ariaLabel: null,
@@ -802,10 +820,10 @@ const Kt = ["aria-label"], Xt = ["href", "onClick"], Nt = { class: "flex space-x
802
820
  },
803
821
  emits: ["update:modelValue"],
804
822
  setup(e, { emit: s }) {
805
- const n = e, { isCurrentStep: o, isFinishedStep: a, switchStep: r, listClasses: d, linkClasses: i } = Oe({
823
+ const n = e, { isCurrentStep: o, isFinishedStep: a, switchStep: r, listClasses: c, linkClasses: i } = Me({
806
824
  props: Z(n),
807
825
  emit: s
808
- }), y = c(() => {
826
+ }), y = d(() => {
809
827
  const f = ["h6 font-medium leading-7"];
810
828
  let w;
811
829
  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(" ");
@@ -815,7 +833,7 @@ const Kt = ["aria-label"], Xt = ["href", "onClick"], Nt = { class: "flex space-x
815
833
  "aria-label": e.ariaLabel || "Progress steps"
816
834
  }, [
817
835
  u("ol", {
818
- class: v([t(d), e.basic ? "basic" : ""])
836
+ class: v([t(c), e.basic ? "basic" : ""])
819
837
  }, [
820
838
  (l(!0), h(q, null, H(e.steps, (g, m) => (l(), h("li", {
821
839
  key: g.name
@@ -826,8 +844,8 @@ const Kt = ["aria-label"], Xt = ["href", "onClick"], Nt = { class: "flex space-x
826
844
  class: v(t(i)),
827
845
  onClick: (b) => t(r)(m, b)
828
846
  }, [
829
- u("span", cs, [
830
- e.basic ? (l(), h("span", fs)) : (l(), P(t(lt), {
847
+ u("span", ps, [
848
+ e.basic ? (l(), h("span", hs)) : (l(), P(t(at), {
831
849
  key: 1,
832
850
  class: "h-full w-full text-primary",
833
851
  "aria-hidden": "true"
@@ -836,41 +854,41 @@ const Kt = ["aria-label"], Xt = ["href", "onClick"], Nt = { class: "flex space-x
836
854
  u("span", {
837
855
  class: v(["text-foreground", t(y)])
838
856
  }, S(g.name), 3)
839
- ], 10, ds)) : t(o)(m) ? (l(), h("a", {
857
+ ], 10, fs)) : t(o)(m) ? (l(), h("a", {
840
858
  key: 1,
841
859
  href: g.href,
842
860
  class: v(t(i)),
843
861
  "aria-current": "step",
844
862
  onClick: (b) => t(r)(m, b)
845
863
  }, [
846
- u("span", hs, [
847
- e.basic ? (l(), h("span", ms)) : (l(), h(q, { key: 1 }, [
848
- gs,
849
- ys
864
+ u("span", gs, [
865
+ e.basic ? (l(), h("span", ys)) : (l(), h(q, { key: 1 }, [
866
+ vs,
867
+ bs
850
868
  ], 64))
851
869
  ]),
852
870
  u("span", {
853
871
  class: v(["text-primary-focus", t(y)])
854
872
  }, S(g.name), 3)
855
- ], 10, ps)) : (l(), h("a", {
873
+ ], 10, ms)) : (l(), h("a", {
856
874
  key: 2,
857
875
  href: g.href,
858
876
  class: v(t(i)),
859
877
  onClick: (b) => t(r)(m, b)
860
878
  }, [
861
- u("div", bs, [
862
- e.basic ? (l(), h("span", xs)) : (l(), h("div", ks))
879
+ u("div", ks, [
880
+ e.basic ? (l(), h("span", Cs)) : (l(), h("div", ws))
863
881
  ]),
864
882
  u("p", {
865
883
  class: v(["text-foreground-disabled", t(y)])
866
884
  }, S(g.name), 3)
867
- ], 10, vs))
885
+ ], 10, xs))
868
886
  ]))), 128))
869
887
  ], 2)
870
- ], 8, us));
888
+ ], 8, ds));
871
889
  }
872
890
  });
873
- const il = /* @__PURE__ */ me(Cs, [["__scopeId", "data-v-9dd7b659"]]), ws = ["disabled"], ul = /* @__PURE__ */ O({
891
+ const cl = /* @__PURE__ */ me($s, [["__scopeId", "data-v-9dd7b659"]]), _s = ["disabled"], dl = /* @__PURE__ */ O({
874
892
  __name: "CardButton",
875
893
  props: {
876
894
  disabled: { type: Boolean },
@@ -878,7 +896,7 @@ const il = /* @__PURE__ */ me(Cs, [["__scopeId", "data-v-9dd7b659"]]), ws = ["di
878
896
  },
879
897
  emits: ["update:modelValue", "click"],
880
898
  setup(e, { emit: s }) {
881
- const n = e, o = c(() => {
899
+ const n = e, o = d(() => {
882
900
  const r = [
883
901
  "h-20 bg-foundation-2 inline-flex justify-center items-center outline-none",
884
902
  "normal px-16 py-5 shadow rounded transition active:scale-95"
@@ -893,7 +911,7 @@ const il = /* @__PURE__ */ me(Cs, [["__scopeId", "data-v-9dd7b659"]]), ws = ["di
893
911
  }
894
912
  s("update:modelValue", !n.modelValue), s("click", r);
895
913
  };
896
- return (r, d) => (l(), h("button", {
914
+ return (r, c) => (l(), h("button", {
897
915
  class: v(t(o)),
898
916
  disabled: e.disabled,
899
917
  onClick: a
@@ -901,18 +919,18 @@ const il = /* @__PURE__ */ me(Cs, [["__scopeId", "data-v-9dd7b659"]]), ws = ["di
901
919
  R(r.$slots, "default", {}, () => [
902
920
  T("Text")
903
921
  ])
904
- ], 10, ws));
922
+ ], 10, _s));
905
923
  }
906
- }), $s = { class: "relative flex items-start" }, _s = { class: "flex h-6 items-center" }, Ss = ["id", "checked", "aria-describedby", "name", "value", "disabled"], Is = {
924
+ }), Ss = { class: "relative flex items-start" }, Is = { class: "flex h-6 items-center" }, Bs = ["id", "checked", "aria-describedby", "name", "value", "disabled"], Ls = {
907
925
  class: "ml-2 text-sm",
908
926
  style: { "padding-top": "2px" }
909
- }, Bs = ["for"], Ls = {
927
+ }, Ps = ["for"], Vs = {
910
928
  key: 0,
911
929
  class: "text-danger ml-1"
912
- }, Ps = ["id"], Vs = O({
930
+ }, js = ["id"], Os = O({
913
931
  inheritAttrs: !1
914
- }), dl = /* @__PURE__ */ O({
915
- ...Vs,
932
+ }), fl = /* @__PURE__ */ O({
933
+ ...Os,
916
934
  __name: "Checkbox",
917
935
  props: {
918
936
  /**
@@ -1000,23 +1018,23 @@ const il = /* @__PURE__ */ me(Cs, [["__scopeId", "data-v-9dd7b659"]]), ws = ["di
1000
1018
  },
1001
1019
  emits: ["update:modelValue"],
1002
1020
  setup(e) {
1003
- const s = e, n = (L) => `${L}-${pe()}`, o = c(() => s.value || s.name), {
1021
+ const s = e, n = (L) => `${L}-${pe()}`, o = d(() => s.value || s.name), {
1004
1022
  checked: a,
1005
1023
  errorMessage: r,
1006
- handleChange: d
1024
+ handleChange: c
1007
1025
  } = fe(s.name, s.rules, {
1008
1026
  validateOnMount: s.validateOnMount,
1009
1027
  type: "checkbox",
1010
1028
  checkedValue: o,
1011
1029
  initialValue: s.modelValue || void 0
1012
1030
  }), i = (L) => {
1013
- s.disabled || d(L);
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(() => {
1031
+ s.disabled || c(L);
1032
+ }, y = d(() => s.label || s.name), f = d(() => r.value ? "border-danger-lighter" : "border-foreground-4 "), w = d(() => s.description || r.value), g = d(() => `${s.name}-description`), m = d(() => {
1015
1033
  const L = [];
1016
1034
  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, [
1019
- u("div", _s, [
1035
+ }), b = A(n("checkbox")), V = d(() => s.id || b.value);
1036
+ return (L, $) => (l(), h("div", Ss, [
1037
+ u("div", Is, [
1020
1038
  u("input", ne({
1021
1039
  id: t(V),
1022
1040
  checked: t(a),
@@ -1026,34 +1044,34 @@ const il = /* @__PURE__ */ me(Cs, [["__scopeId", "data-v-9dd7b659"]]), ws = ["di
1026
1044
  disabled: e.disabled,
1027
1045
  type: "checkbox",
1028
1046
  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)]
1029
- }, L.$attrs, { onChange: i }), null, 16, Ss)
1047
+ }, L.$attrs, { onChange: i }), null, 16, Bs)
1030
1048
  ]),
1031
- u("div", Is, [
1049
+ u("div", Ls, [
1032
1050
  u("label", {
1033
1051
  for: t(V),
1034
1052
  class: v(["font-medium text-foreground", { "sr-only": e.hideLabel }])
1035
1053
  }, [
1036
1054
  u("span", null, S(t(y)), 1),
1037
- e.showRequired ? (l(), h("span", Ls, "*")) : _("", !0)
1038
- ], 10, Bs),
1055
+ e.showRequired ? (l(), h("span", Vs, "*")) : _("", !0)
1056
+ ], 10, Ps),
1039
1057
  t(w) ? (l(), h("p", {
1040
1058
  key: 0,
1041
1059
  id: t(g),
1042
1060
  class: v(t(m))
1043
- }, S(t(w)), 11, Ps)) : _("", !0)
1061
+ }, S(t(w)), 11, js)) : _("", !0)
1044
1062
  ])
1045
1063
  ]));
1046
1064
  }
1047
1065
  });
1048
- function Ae(e) {
1066
+ function De(e) {
1049
1067
  const { props: s, inputEl: n, emit: o } = e, { value: a, errorMessage: r } = fe(s.name, s.rules, {
1050
1068
  validateOnMount: t(s.validateOnMount),
1051
1069
  validateOnValueUpdate: t(s.validateOnValueUpdate),
1052
1070
  initialValue: t(s.modelValue) || void 0
1053
- }), d = c(() => {
1071
+ }), c = d(() => {
1054
1072
  const x = ["block label text-foreground-2 mb-2"];
1055
1073
  return t(s.showLabel) || x.push("sr-only"), x.join(" ");
1056
- }), i = c(() => {
1074
+ }), i = d(() => {
1057
1075
  const x = [
1058
1076
  "block w-full rounded focus:outline-none text-foreground transition-all",
1059
1077
  "disabled:cursor-not-allowed disabled:bg-foundation-disabled disabled:text-disabled-muted",
@@ -1062,14 +1080,14 @@ function Ae(e) {
1062
1080
  return r.value ? x.push(
1063
1081
  "border-2 border-danger text-danger-darker focus:border-danger focus:ring-danger"
1064
1082
  ) : 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(" ");
1065
- }), y = A(pe()), f = c(() => t(s.label) || t(s.name)), w = c(() => {
1083
+ }), y = A(pe()), f = d(() => t(s.label) || t(s.name)), w = d(() => {
1066
1084
  const x = r.value;
1067
1085
  return !x || !t(s.useLabelInErrors) ? x : x.replace("Value", f.value);
1068
- }), g = c(
1086
+ }), g = d(
1069
1087
  () => w.value && t(s.hideErrorMessage)
1070
- ), m = c(() => w.value || t(s.help)), b = c(() => !!m.value), V = c(
1088
+ ), m = d(() => w.value || t(s.help)), b = d(() => !!m.value), V = d(
1071
1089
  () => b.value ? `${t(s.name)}-${y.value}` : void 0
1072
- ), L = c(() => {
1090
+ ), L = d(() => {
1073
1091
  const x = ["mt-2 text-sm"];
1074
1092
  return x.push(r.value ? "text-danger" : "text-foreground-2"), x.join(" ");
1075
1093
  }), $ = () => {
@@ -1091,13 +1109,13 @@ function Ae(e) {
1091
1109
  errorMessage: w,
1092
1110
  clear: C,
1093
1111
  focus: $,
1094
- labelClasses: d
1112
+ labelClasses: c
1095
1113
  };
1096
1114
  }
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 = {
1115
+ const Ms = ["for"], As = { class: "relative" }, Ds = ["id", "name", "placeholder", "disabled", "aria-invalid", "aria-describedby"], Rs = /* @__PURE__ */ u("span", { class: "text-xs sr-only" }, "Clear input", -1), Ts = {
1098
1116
  key: 2,
1099
1117
  class: "pointer-events-none absolute inset-y-0 mt-3 text-4xl right-0 flex items-center pr-2 text-danger opacity-50"
1100
- }, Rs = ["id"], cl = /* @__PURE__ */ O({
1118
+ }, zs = ["id"], pl = /* @__PURE__ */ O({
1101
1119
  __name: "TextArea",
1102
1120
  props: {
1103
1121
  name: null,
@@ -1121,7 +1139,7 @@ const js = ["for"], Os = { class: "relative" }, Ms = ["id", "name", "placeholder
1121
1139
  setup(e, { expose: s, emit: n }) {
1122
1140
  const o = e, a = A(null), {
1123
1141
  coreClasses: r,
1124
- title: d,
1142
+ title: c,
1125
1143
  value: i,
1126
1144
  helpTipId: y,
1127
1145
  helpTipClasses: f,
@@ -1130,11 +1148,11 @@ const js = ["for"], Os = { class: "relative" }, Ms = ["id", "name", "placeholder
1130
1148
  labelClasses: m,
1131
1149
  clear: b,
1132
1150
  focus: V
1133
- } = Ae({
1151
+ } = De({
1134
1152
  props: Z(o),
1135
1153
  emit: n,
1136
1154
  inputEl: a
1137
- }), L = c(() => {
1155
+ }), L = d(() => {
1138
1156
  const $ = ["pl-2"];
1139
1157
  return o.showClear && g.value ? $.push("pr-12") : (o.showClear || g.value) && $.push("pr-8"), $.join(" ");
1140
1158
  });
@@ -1145,9 +1163,9 @@ const js = ["for"], Os = { class: "relative" }, Ms = ["id", "name", "placeholder
1145
1163
  for: e.name,
1146
1164
  class: v(t(m))
1147
1165
  }, [
1148
- u("span", null, S(t(d)), 1)
1149
- ], 10, js),
1150
- u("div", Os, [
1166
+ u("span", null, S(t(c)), 1)
1167
+ ], 10, Ms),
1168
+ u("div", As, [
1151
1169
  te(u("textarea", ne({
1152
1170
  id: e.name,
1153
1171
  ref_key: "inputElement",
@@ -1162,8 +1180,8 @@ const js = ["for"], Os = { class: "relative" }, Ms = ["id", "name", "placeholder
1162
1180
  }, $.$attrs, {
1163
1181
  onChange: C[1] || (C[1] = (x) => $.$emit("change", { event: x, value: t(i) })),
1164
1182
  onInput: C[2] || (C[2] = (x) => $.$emit("input", { event: x, value: t(i) }))
1165
- }), null, 16, Ms), [
1166
- [Ie, t(i)]
1183
+ }), null, 16, Ds), [
1184
+ [Be, t(i)]
1167
1185
  ]),
1168
1186
  e.showClear ? (l(), h("a", {
1169
1187
  key: 0,
@@ -1174,8 +1192,8 @@ const js = ["for"], Os = { class: "relative" }, Ms = ["id", "name", "placeholder
1174
1192
  onKeydown: C[4] || (C[4] = //@ts-ignore
1175
1193
  (...x) => t(b) && t(b)(...x))
1176
1194
  }, [
1177
- As,
1178
- I(t(ce), {
1195
+ Rs,
1196
+ I(t(de), {
1179
1197
  class: "h-5 w-5 text-foreground",
1180
1198
  "aria-hidden": "true"
1181
1199
  })
@@ -1187,30 +1205,30 @@ const js = ["for"], Os = { class: "relative" }, Ms = ["id", "name", "placeholder
1187
1205
  e.showClear ? "pr-8" : "pr-2"
1188
1206
  ])
1189
1207
  }, [
1190
- I(t(je), {
1208
+ I(t(Oe), {
1191
1209
  class: "h-4 w-4 text-danger",
1192
1210
  "aria-hidden": "true"
1193
1211
  })
1194
1212
  ], 2)) : _("", !0),
1195
- e.showRequired && !t(g) ? (l(), h("div", Ds, " * ")) : _("", !0)
1213
+ e.showRequired && !t(g) ? (l(), h("div", Ts, " * ")) : _("", !0)
1196
1214
  ]),
1197
1215
  t(y) ? (l(), h("p", {
1198
1216
  key: 0,
1199
1217
  id: t(y),
1200
1218
  class: v(t(f))
1201
- }, S(t(w)), 11, Rs)) : _("", !0)
1219
+ }, S(t(w)), 11, zs)) : _("", !0)
1202
1220
  ], 2));
1203
1221
  }
1204
- }), Ts = ["for"], zs = { class: "relative" }, Fs = {
1222
+ }), Fs = ["for"], Es = { class: "relative" }, Ws = {
1205
1223
  key: 0,
1206
1224
  class: "pointer-events-none absolute inset-y-0 left-0 flex items-center pl-2"
1207
- }, Es = ["id", "type", "name", "placeholder", "disabled", "aria-invalid", "aria-describedby"], Ws = /* @__PURE__ */ u("span", { class: "text-xs sr-only" }, "Clear input", -1), Us = {
1225
+ }, Us = ["id", "type", "name", "placeholder", "disabled", "aria-invalid", "aria-describedby"], qs = /* @__PURE__ */ u("span", { class: "text-xs sr-only" }, "Clear input", -1), Hs = {
1208
1226
  key: 2,
1209
1227
  class: "pointer-events-none absolute inset-y-0 mt-3 text-4xl right-0 flex items-center pr-2 text-danger opacity-50"
1210
- }, qs = ["id"], Hs = O({
1228
+ }, Gs = ["id"], Ks = O({
1211
1229
  inheritAttrs: !1
1212
- }), fl = /* @__PURE__ */ O({
1213
- ...Hs,
1230
+ }), hl = /* @__PURE__ */ O({
1231
+ ...Ks,
1214
1232
  __name: "TextInput",
1215
1233
  props: {
1216
1234
  /**
@@ -1346,8 +1364,8 @@ const js = ["for"], Os = { class: "relative" }, Ms = ["id", "name", "placeholder
1346
1364
  },
1347
1365
  emits: ["update:modelValue", "change", "input", "clear", "focusin", "focusout"],
1348
1366
  setup(e, { expose: s, emit: n }) {
1349
- const o = e, a = Fe(), r = A(null), {
1350
- coreClasses: d,
1367
+ const o = e, a = Ee(), r = A(null), {
1368
+ coreClasses: c,
1351
1369
  title: i,
1352
1370
  value: y,
1353
1371
  helpTipId: f,
@@ -1358,19 +1376,19 @@ const js = ["for"], Os = { class: "relative" }, Ms = ["id", "name", "placeholder
1358
1376
  clear: V,
1359
1377
  focus: L,
1360
1378
  labelClasses: $
1361
- } = Ae({
1379
+ } = De({
1362
1380
  props: Z(o),
1363
1381
  emit: n,
1364
1382
  inputEl: r
1365
- }), C = c(() => {
1383
+ }), C = d(() => {
1366
1384
  const j = ["h-5 w-5"];
1367
1385
  return b.value ? j.push("text-danger") : j.push("text-foreground-2"), j.join(" ");
1368
- }), x = c(
1386
+ }), x = d(
1369
1387
  () => ["email", "password"].includes(o.type) || o.customIcon
1370
- ), E = c(() => {
1388
+ ), E = d(() => {
1371
1389
  const j = [];
1372
1390
  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(" ");
1373
- }), p = c(() => {
1391
+ }), p = d(() => {
1374
1392
  switch (o.size) {
1375
1393
  case "sm":
1376
1394
  return "h-6";
@@ -1391,18 +1409,18 @@ const js = ["for"], Os = { class: "relative" }, Ms = ["id", "name", "placeholder
1391
1409
  class: v(t($))
1392
1410
  }, [
1393
1411
  u("span", null, S(t(i)), 1)
1394
- ], 10, Ts),
1395
- u("div", zs, [
1396
- t(x) ? (l(), h("div", Fs, [
1412
+ ], 10, Fs),
1413
+ u("div", Es, [
1414
+ t(x) ? (l(), h("div", Ws, [
1397
1415
  e.customIcon ? (l(), P(U(e.customIcon), {
1398
1416
  key: 0,
1399
1417
  class: v(t(C)),
1400
1418
  "aria-hidden": "true"
1401
- }, null, 8, ["class"])) : e.type === "email" ? (l(), P(t(at), {
1419
+ }, null, 8, ["class"])) : e.type === "email" ? (l(), P(t(ot), {
1402
1420
  key: 1,
1403
1421
  class: v(t(C)),
1404
1422
  "aria-hidden": "true"
1405
- }, null, 8, ["class"])) : e.type === "password" ? (l(), P(t(ot), {
1423
+ }, null, 8, ["class"])) : e.type === "password" ? (l(), P(t(rt), {
1406
1424
  key: 2,
1407
1425
  class: v(t(C)),
1408
1426
  "aria-hidden": "true"
@@ -1415,7 +1433,7 @@ const js = ["for"], Os = { class: "relative" }, Ms = ["id", "name", "placeholder
1415
1433
  "onUpdate:modelValue": z[0] || (z[0] = (M) => le(y) ? y.value = M : null),
1416
1434
  type: e.type,
1417
1435
  name: e.name,
1418
- class: [t(d), t(E), t(p), e.inputClasses || ""],
1436
+ class: [t(c), t(E), t(p), e.inputClasses || ""],
1419
1437
  placeholder: e.placeholder,
1420
1438
  disabled: e.disabled,
1421
1439
  "aria-invalid": t(b) ? "true" : "false",
@@ -1424,8 +1442,8 @@ const js = ["for"], Os = { class: "relative" }, Ms = ["id", "name", "placeholder
1424
1442
  }, j.$attrs, {
1425
1443
  onChange: z[1] || (z[1] = (M) => j.$emit("change", { event: M, value: t(y) })),
1426
1444
  onInput: z[2] || (z[2] = (M) => j.$emit("input", { event: M, value: t(y) }))
1427
- }), null, 16, Es), [
1428
- [Ee, t(y)]
1445
+ }), null, 16, Us), [
1446
+ [We, t(y)]
1429
1447
  ]),
1430
1448
  R(j.$slots, "input-right", {}, () => [
1431
1449
  e.showClear ? (l(), h("a", {
@@ -1437,8 +1455,8 @@ const js = ["for"], Os = { class: "relative" }, Ms = ["id", "name", "placeholder
1437
1455
  onKeydown: z[4] || (z[4] = //@ts-ignore
1438
1456
  (...M) => t(V) && t(V)(...M))
1439
1457
  }, [
1440
- Ws,
1441
- I(t(ce), {
1458
+ qs,
1459
+ I(t(de), {
1442
1460
  class: "h-5 w-5 text-foreground",
1443
1461
  "aria-hidden": "true"
1444
1462
  })
@@ -1450,46 +1468,46 @@ const js = ["for"], Os = { class: "relative" }, Ms = ["id", "name", "placeholder
1450
1468
  e.showClear ? "pr-8" : "pr-2"
1451
1469
  ])
1452
1470
  }, [
1453
- I(t(je), {
1471
+ I(t(Oe), {
1454
1472
  class: "h-4 w-4 text-danger",
1455
1473
  "aria-hidden": "true"
1456
1474
  })
1457
1475
  ], 2)) : _("", !0),
1458
- e.showRequired && !t(b) ? (l(), h("div", Us, " * ")) : _("", !0)
1476
+ e.showRequired && !t(b) ? (l(), h("div", Hs, " * ")) : _("", !0)
1459
1477
  ])
1460
1478
  ]),
1461
1479
  t(f) && !t(m) ? (l(), h("p", {
1462
1480
  key: 0,
1463
1481
  id: t(f),
1464
1482
  class: v(t(w))
1465
- }, S(t(g)), 11, qs)) : _("", !0)
1483
+ }, S(t(g)), 11, Gs)) : _("", !0)
1466
1484
  ], 2));
1467
1485
  }
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) => {
1486
+ }), Xs = /^https?:\/\//, ye = /^[\w-_.+]+@[\w-_.+]+$/, Ns = (e) => (e || "").match(ye) ? !0 : "Value should be a valid e-mail address", Js = (e) => (e || "").split(",").map((o) => o.trim()).every((o) => o.match(ye)) || "Value should be one or multiple comma-delimited e-mail addresses", Qs = (e) => (se(e) && (e = e.trim()), e ? !0 : "Value is required"), Ys = (e, s) => (n, o) => n === o.form[e] ? !0 : `Value must be the same as in field '${s || e}'`, Zs = (e) => (s) => {
1469
1487
  const { minLength: n, maxLength: o } = e;
1470
- return s = rt(s) ? "" : s, se(s) ? !X(n) && s.length < n ? `Value needs to be at least ${n} characters long` : !X(o) && s.length > o ? `Value needs to be no more than ${o} characters long` : !0 : "Value should be a text string";
1471
- }, Ys = (e) => (s) => {
1488
+ return s = it(s) ? "" : s, se(s) ? !X(n) && s.length < n ? `Value needs to be at least ${n} characters long` : !X(o) && s.length > o ? `Value needs to be no more than ${o} characters long` : !0 : "Value should be a text string";
1489
+ }, en = (e) => (s) => {
1472
1490
  const { match: n, message: o } = e;
1473
1491
  return se(s) ? n ? se(n) ? s.includes(n) ? !0 : o : n.test(s) ? !0 : o : !0 : "Value should be a text string";
1474
- }, pl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1492
+ }, ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1475
1493
  __proto__: null,
1476
1494
  VALID_EMAIL: ye,
1477
- VALID_HTTP_URL: Gs,
1478
- isEmail: Ks,
1479
- isOneOrMultipleEmails: Xs,
1480
- isRequired: Ns,
1481
- isSameAs: Js,
1482
- isStringOfLength: Qs,
1483
- stringContains: Ys
1495
+ VALID_HTTP_URL: Xs,
1496
+ isEmail: Ns,
1497
+ isOneOrMultipleEmails: Js,
1498
+ isRequired: Qs,
1499
+ isSameAs: Ys,
1500
+ isStringOfLength: Zs,
1501
+ stringContains: en
1484
1502
  }, Symbol.toStringTag, { value: "Module" }));
1485
- function Zs(e) {
1503
+ function tn(e) {
1486
1504
  const {
1487
1505
  skipCalculation: s,
1488
1506
  elementToWatchForChanges: n,
1489
1507
  itemContainer: o,
1490
1508
  trackResize: a = !1,
1491
1509
  trackMutations: r = !0
1492
- } = e || {}, d = A(0), i = () => {
1510
+ } = e || {}, c = A(0), i = () => {
1493
1511
  const y = o.value;
1494
1512
  if (s != null && s.value || !y)
1495
1513
  return;
@@ -1499,22 +1517,22 @@ function Zs(e) {
1499
1517
  const V = b.offsetTop;
1500
1518
  X(m) ? (m = V, w += 1) : V === m && (w += 1), g += 1;
1501
1519
  }
1502
- d.value = g - w;
1520
+ c.value = g - w;
1503
1521
  };
1504
- return a && dt(n, i), r && ct(n, i, {
1522
+ return a && dt(n, i), r && ft(n, i, {
1505
1523
  childList: !0,
1506
1524
  subtree: !0
1507
1525
  }), {
1508
- hiddenItemCount: d
1526
+ hiddenItemCount: c
1509
1527
  };
1510
1528
  }
1511
- function en(e) {
1529
+ function sn(e) {
1512
1530
  const { props: s, emit: n, dynamicVisibility: o } = e;
1513
1531
  let a;
1514
1532
  if (o) {
1515
1533
  const { elementToWatchForChanges: f, itemContainer: w } = o;
1516
- a = Zs({
1517
- skipCalculation: c(() => {
1534
+ a = tn({
1535
+ skipCalculation: d(() => {
1518
1536
  var m;
1519
1537
  return !((m = s.multiple) != null && m.value);
1520
1538
  }),
@@ -1523,7 +1541,7 @@ function en(e) {
1523
1541
  }).hiddenItemCount;
1524
1542
  } else
1525
1543
  a = A(0);
1526
- const r = c({
1544
+ const r = d({
1527
1545
  get: () => {
1528
1546
  var w, g;
1529
1547
  const f = (w = s.modelValue) == null ? void 0 : w.value;
@@ -1540,18 +1558,18 @@ function en(e) {
1540
1558
  }
1541
1559
  n("update:modelValue", (m = s.multiple) != null && m.value ? f || [] : f);
1542
1560
  }
1543
- }), d = (f) => W(f);
1561
+ }), c = (f) => W(f);
1544
1562
  return {
1545
1563
  selectedValue: r,
1546
1564
  hiddenSelectedItemCount: a,
1547
- isArrayValue: d,
1565
+ isArrayValue: c,
1548
1566
  isMultiItemArrayValue: (f) => W(f) && f.length > 1,
1549
- firstItem: (f) => d(f) ? f[0] : f
1567
+ firstItem: (f) => c(f) ? f[0] : f
1550
1568
  };
1551
1569
  }
1552
- const tn = (e) => (_e("data-v-60cf597b"), e = e(), Se(), e), sn = /* @__PURE__ */ tn(() => /* @__PURE__ */ u("div", { class: "swoosher relative top-0 bg-blue-500/50" }, null, -1)), nn = [
1553
- sn
1554
- ], ln = /* @__PURE__ */ O({
1570
+ const nn = (e) => (Se("data-v-60cf597b"), e = e(), Ie(), e), ln = /* @__PURE__ */ nn(() => /* @__PURE__ */ u("div", { class: "swoosher relative top-0 bg-blue-500/50" }, null, -1)), an = [
1571
+ ln
1572
+ ], on = /* @__PURE__ */ O({
1555
1573
  __name: "Bar",
1556
1574
  props: {
1557
1575
  loading: { type: Boolean }
@@ -1562,18 +1580,18 @@ const tn = (e) => (_e("data-v-60cf597b"), e = e(), Se(), e), sn = /* @__PURE__ *
1562
1580
  "relative w-full h-1 bg-blue-500/30 text-xs text-foreground-on-primary overflow-hidden rounded-xl",
1563
1581
  e.loading ? "opacity-100" : "opacity-0"
1564
1582
  ])
1565
- }, nn, 2));
1583
+ }, an, 2));
1566
1584
  }
1567
1585
  });
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 = {
1586
+ const Re = /* @__PURE__ */ me(on, [["__scopeId", "data-v-60cf597b"]]), rn = { class: "flex items-center justify-between w-full" }, un = { class: "block truncate grow text-left" }, cn = { class: "pointer-events-none shrink-0 ml-1 flex items-center" }, dn = ["disabled"], fn = {
1569
1587
  key: 0,
1570
1588
  class: "flex flex-col mx-1 mb-1"
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 = {
1589
+ }, pn = /* @__PURE__ */ u("span", { class: "sr-only label text-foreground" }, "Search", -1), hn = { class: "relative" }, mn = { class: "pointer-events-none absolute inset-y-0 left-0 flex items-center pl-2" }, gn = ["placeholder"], yn = {
1572
1590
  key: 0,
1573
1591
  class: "px-1"
1574
- }, gn = { key: 1 }, yn = /* @__PURE__ */ u("div", { class: "text-foreground-2 text-center" }, "Nothing found 🤷‍♂️", -1), vn = {
1592
+ }, vn = { key: 1 }, bn = /* @__PURE__ */ u("div", { class: "text-foreground-2 text-center" }, "Nothing found 🤷‍♂️", -1), xn = {
1575
1593
  class: /* @__PURE__ */ v(["block truncate"])
1576
- }, bn = ["id"], xn = /* @__PURE__ */ O({
1594
+ }, kn = ["id"], Cn = /* @__PURE__ */ O({
1577
1595
  __name: "Base",
1578
1596
  props: {
1579
1597
  multiple: {
@@ -1709,24 +1727,24 @@ const De = /* @__PURE__ */ me(ln, [["__scopeId", "data-v-60cf597b"]]), an = { cl
1709
1727
  validateOnMount: s.validateOnMount,
1710
1728
  validateOnValueUpdate: s.validateOnValueUpdate,
1711
1729
  initialValue: s.modelValue
1712
- }), a = A(null), r = A(""), d = A([]), i = A(!1), y = A(pe()), f = c(() => t(s.label) || t(s.name)), w = c(() => {
1730
+ }), a = A(null), r = A(""), c = A([]), i = A(!1), y = A(pe()), f = d(() => t(s.label) || t(s.name)), w = d(() => {
1713
1731
  const k = o.value;
1714
1732
  return !k || !t(s.useLabelInErrors) ? k : k.replace("Value", f.value);
1715
- }), g = c(() => w.value || t(s.help)), m = c(() => !!g.value), b = c(
1733
+ }), g = d(() => w.value || t(s.help)), m = d(() => !!g.value), b = d(
1716
1734
  () => m.value ? `${t(s.name)}-${y.value}` : void 0
1717
- ), V = c(
1735
+ ), V = d(
1718
1736
  () => o.value ? "text-danger" : "text-foreground-2"
1719
- ), L = c(
1737
+ ), L = d(
1720
1738
  () => s.buttonStyle !== "simple" && s.clearable && !s.disabled
1721
- ), $ = c(() => {
1739
+ ), $ = d(() => {
1722
1740
  const k = ["relative flex group", s.showLabel ? "mt-1" : ""];
1723
1741
  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(" ");
1724
- }), C = c(() => {
1742
+ }), C = d(() => {
1725
1743
  const k = [];
1726
1744
  return s.buttonStyle !== "simple" && k.push(
1727
1745
  z.value ? "bg-foundation-disabled text-foreground-disabled" : ""
1728
1746
  ), z.value && k.push("cursor-not-allowed"), k.join(" ");
1729
- }), x = c(() => {
1747
+ }), x = d(() => {
1730
1748
  const k = [
1731
1749
  "relative z-[1]",
1732
1750
  "flex items-center justify-center text-center shrink-0",
@@ -1736,7 +1754,7 @@ const De = /* @__PURE__ */ me(ln, [["__scopeId", "data-v-60cf597b"]]), an = { cl
1736
1754
  return z.value || k.push(
1737
1755
  "bg-primary-muted hover:bg-primary hover:text-foreground-on-primary"
1738
1756
  ), k.join(" ");
1739
- }), E = c(() => {
1757
+ }), E = d(() => {
1740
1758
  const k = [
1741
1759
  "relative z-[2]",
1742
1760
  "normal rounded-md cursor-pointer transition truncate flex-1",
@@ -1744,11 +1762,11 @@ const De = /* @__PURE__ */ me(ln, [["__scopeId", "data-v-60cf597b"]]), an = { cl
1744
1762
  C.value
1745
1763
  ];
1746
1764
  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(" ");
1747
- }), p = c(
1765
+ }), p = d(
1748
1766
  () => !!(s.search && (s.filterPredicate || s.getSearchResults))
1749
- ), j = c(() => p.value && s.getSearchResults), z = c(
1767
+ ), j = d(() => p.value && s.getSearchResults), z = d(
1750
1768
  () => s.disabled || !s.items.length && !j.value
1751
- ), M = c({
1769
+ ), M = d({
1752
1770
  get: () => {
1753
1771
  const k = n.value;
1754
1772
  return s.multiple ? W(k) ? k : [] : W(k) ? void 0 : k;
@@ -1768,38 +1786,38 @@ const De = /* @__PURE__ */ me(ln, [["__scopeId", "data-v-60cf597b"]]), an = { cl
1768
1786
  n.value = D ? void 0 : k;
1769
1787
  }
1770
1788
  }
1771
- }), ve = c(() => s.multiple ? M.value.length !== 0 : !!M.value), Re = () => {
1789
+ }), ve = d(() => s.multiple ? M.value.length !== 0 : !!M.value), Te = () => {
1772
1790
  s.multiple ? M.value = [] : M.value = void 0;
1773
- }, Te = c(() => {
1791
+ }, ze = d(() => {
1774
1792
  const k = r.value;
1775
- return !p.value || !(k != null && k.length) ? d.value : s.filterPredicate ? d.value.filter(
1793
+ return !p.value || !(k != null && k.length) ? c.value : s.filterPredicate ? c.value.filter(
1776
1794
  (F) => {
1777
1795
  var D;
1778
1796
  return ((D = s.filterPredicate) == null ? void 0 : D.call(s, F, k)) || !1;
1779
1797
  }
1780
- ) : d.value;
1798
+ ) : c.value;
1781
1799
  }), be = (k) => JSON.stringify(k), ae = (k) => s.by ? k[s.by] : k, xe = async () => {
1782
1800
  if (console.log("triggerSearch"), !(!j.value || !s.getSearchResults)) {
1783
1801
  i.value = !0;
1784
1802
  try {
1785
- d.value = await s.getSearchResults(r.value);
1803
+ c.value = await s.getSearchResults(r.value);
1786
1804
  } finally {
1787
1805
  i.value = !1;
1788
1806
  }
1789
1807
  }
1790
- }, ze = Pe(xe, 1e3);
1808
+ }, Fe = Ve(xe, 1e3);
1791
1809
  return Y(
1792
1810
  () => s.items,
1793
1811
  (k) => {
1794
- d.value = k.slice();
1812
+ c.value = k.slice();
1795
1813
  },
1796
1814
  { immediate: !0 }
1797
1815
  ), Y(r, () => {
1798
- j.value && ze();
1816
+ j.value && Fe();
1799
1817
  }), ee(() => {
1800
1818
  j.value && !s.items.length && xe();
1801
1819
  }), (k, F) => (l(), h("div", null, [
1802
- I(t(pt), {
1820
+ I(t(ht), {
1803
1821
  modelValue: t(M),
1804
1822
  "onUpdate:modelValue": F[4] || (F[4] = (D) => le(M) ? M.value = D : null),
1805
1823
  name: e.name,
@@ -1809,7 +1827,7 @@ const De = /* @__PURE__ */ me(ln, [["__scopeId", "data-v-60cf597b"]]), an = { cl
1809
1827
  as: "div"
1810
1828
  }, {
1811
1829
  default: B(() => [
1812
- I(t(ht), {
1830
+ I(t(mt), {
1813
1831
  class: v(["block label text-foreground", { "sr-only": !e.showLabel }])
1814
1832
  }, {
1815
1833
  default: B(() => [
@@ -1820,12 +1838,12 @@ const De = /* @__PURE__ */ me(ln, [["__scopeId", "data-v-60cf597b"]]), an = { cl
1820
1838
  u("div", {
1821
1839
  class: v(t($))
1822
1840
  }, [
1823
- I(t(mt), {
1841
+ I(t(gt), {
1824
1842
  class: v(t(E))
1825
1843
  }, {
1826
1844
  default: B(({ open: D }) => [
1827
- u("div", an, [
1828
- u("div", on, [
1845
+ u("div", rn, [
1846
+ u("div", un, [
1829
1847
  !t(M) || t(W)(t(M)) && !t(M).length ? R(k.$slots, "nothing-selected", { key: 0 }, () => [
1830
1848
  T(S(e.label), 1)
1831
1849
  ]) : R(k.$slots, "something-selected", {
@@ -1835,12 +1853,12 @@ const De = /* @__PURE__ */ me(ln, [["__scopeId", "data-v-60cf597b"]]), an = { cl
1835
1853
  T(S(be(t(M))), 1)
1836
1854
  ])
1837
1855
  ]),
1838
- u("div", rn, [
1839
- D ? (l(), P(t(Ve), {
1856
+ u("div", cn, [
1857
+ D ? (l(), P(t(je), {
1840
1858
  key: 0,
1841
1859
  class: "h-4 w-4 text-foreground",
1842
1860
  "aria-hidden": "true"
1843
- })) : (l(), P(t(qe), {
1861
+ })) : (l(), P(t(He), {
1844
1862
  key: 1,
1845
1863
  class: "h-4 w-4 text-foreground",
1846
1864
  "aria-hidden": "true"
@@ -1854,19 +1872,19 @@ const De = /* @__PURE__ */ me(ln, [["__scopeId", "data-v-60cf597b"]]), an = { cl
1854
1872
  key: 0,
1855
1873
  class: v(t(x)),
1856
1874
  disabled: e.disabled,
1857
- onClick: F[0] || (F[0] = (D) => Re())
1875
+ onClick: F[0] || (F[0] = (D) => Te())
1858
1876
  }, [
1859
- I(t(He), { class: "w-3 h-3" })
1860
- ], 10, un)), [
1861
- [t(Bt), "Clear"]
1877
+ I(t(Ge), { class: "w-3 h-3" })
1878
+ ], 10, dn)), [
1879
+ [t(Lt), "Clear"]
1862
1880
  ]) : _("", !0),
1863
- I(de, {
1881
+ I(ce, {
1864
1882
  "leave-active-class": "transition ease-in duration-100",
1865
1883
  "leave-from-class": "opacity-100",
1866
1884
  "leave-to-class": "opacity-0"
1867
1885
  }, {
1868
1886
  default: B(() => [
1869
- I(t(gt), {
1887
+ I(t(yt), {
1870
1888
  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",
1871
1889
  onFocus: F[3] || (F[3] = (D) => {
1872
1890
  var G;
@@ -1874,11 +1892,11 @@ const De = /* @__PURE__ */ me(ln, [["__scopeId", "data-v-60cf597b"]]), an = { cl
1874
1892
  })
1875
1893
  }, {
1876
1894
  default: B(() => [
1877
- t(p) ? (l(), h("label", dn, [
1878
- cn,
1879
- u("div", fn, [
1880
- u("div", pn, [
1881
- I(t(Ge), { class: "h-5 w-5 text-foreground" })
1895
+ t(p) ? (l(), h("label", fn, [
1896
+ pn,
1897
+ u("div", hn, [
1898
+ u("div", mn, [
1899
+ I(t(Ke), { class: "h-5 w-5 text-foreground" })
1882
1900
  ]),
1883
1901
  te(u("input", {
1884
1902
  ref_key: "searchInput",
@@ -1887,24 +1905,24 @@ const De = /* @__PURE__ */ me(ln, [["__scopeId", "data-v-60cf597b"]]), an = { cl
1887
1905
  type: "text",
1888
1906
  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",
1889
1907
  placeholder: e.searchPlaceholder,
1890
- onKeydown: F[2] || (F[2] = Be(() => {
1908
+ onKeydown: F[2] || (F[2] = Le(() => {
1891
1909
  }, ["stop"]))
1892
- }, null, 40, hn), [
1893
- [Ie, r.value]
1910
+ }, null, 40, gn), [
1911
+ [Be, r.value]
1894
1912
  ])
1895
1913
  ])
1896
1914
  ])) : _("", !0),
1897
1915
  u("div", {
1898
1916
  class: v(["overflow-auto simple-scrollbar", [t(p) ? "max-h-52" : "max-h-60"]])
1899
1917
  }, [
1900
- t(j) && i.value ? (l(), h("div", mn, [
1901
- I(De, { loading: !0 })
1902
- ])) : t(j) && !d.value.length ? (l(), h("div", gn, [
1918
+ t(j) && i.value ? (l(), h("div", yn, [
1919
+ I(Re, { loading: !0 })
1920
+ ])) : t(j) && !c.value.length ? (l(), h("div", vn, [
1903
1921
  R(k.$slots, "nothing-found", {}, () => [
1904
- yn
1922
+ bn
1905
1923
  ])
1906
1924
  ])) : _("", !0),
1907
- !t(j) || !i.value ? (l(!0), h(q, { key: 2 }, H(t(Te), (D) => (l(), P(t(yt), {
1925
+ !t(j) || !i.value ? (l(!0), h(q, { key: 2 }, H(t(ze), (D) => (l(), P(t(vt), {
1908
1926
  key: ae(D),
1909
1927
  value: D
1910
1928
  }, {
@@ -1916,7 +1934,7 @@ const De = /* @__PURE__ */ me(ln, [["__scopeId", "data-v-60cf597b"]]), an = { cl
1916
1934
  e.hideCheckmarks ? "" : "pr-9"
1917
1935
  ])
1918
1936
  }, [
1919
- u("span", vn, [
1937
+ u("span", xn, [
1920
1938
  R(k.$slots, "option", {
1921
1939
  item: D,
1922
1940
  active: G,
@@ -1932,7 +1950,7 @@ const De = /* @__PURE__ */ me(ln, [["__scopeId", "data-v-60cf597b"]]), an = { cl
1932
1950
  "absolute inset-y-0 right-0 flex items-center pr-4"
1933
1951
  ])
1934
1952
  }, [
1935
- I(t(Ke), {
1953
+ I(t(Xe), {
1936
1954
  class: "h-5 w-5",
1937
1955
  "aria-hidden": "true"
1938
1956
  })
@@ -1956,16 +1974,16 @@ const De = /* @__PURE__ */ me(ln, [["__scopeId", "data-v-60cf597b"]]), an = { cl
1956
1974
  key: 0,
1957
1975
  id: t(b),
1958
1976
  class: v(["mt-2 ml-3 text-sm", t(V)])
1959
- }, S(t(g)), 11, bn)) : _("", !0)
1977
+ }, S(t(g)), 11, kn)) : _("", !0)
1960
1978
  ]));
1961
1979
  }
1962
- }), kn = /* @__PURE__ */ O({
1980
+ }), wn = /* @__PURE__ */ O({
1963
1981
  __name: "SourceAppBadge",
1964
1982
  props: {
1965
1983
  sourceApp: null
1966
1984
  },
1967
1985
  setup(e) {
1968
- return (s, n) => (l(), P(Gt, {
1986
+ return (s, n) => (l(), P(Kt, {
1969
1987
  "color-classes": "text-foreground-on-primary",
1970
1988
  rounded: "",
1971
1989
  style: oe({ backgroundColor: e.sourceApp.bgColor })
@@ -1976,13 +1994,13 @@ const De = /* @__PURE__ */ me(ln, [["__scopeId", "data-v-60cf597b"]]), an = { cl
1976
1994
  _: 1
1977
1995
  }, 8, ["style"]));
1978
1996
  }
1979
- }), Cn = {
1997
+ }), $n = {
1980
1998
  key: 0,
1981
1999
  class: "text-foreground-2 normal"
1982
- }, wn = {
2000
+ }, _n = {
1983
2001
  key: 1,
1984
2002
  class: "flex items-center"
1985
- }, $n = { class: "truncate" }, _n = { class: "flex items-center" }, Sn = { class: "truncate" }, hl = /* @__PURE__ */ O({
2003
+ }, Sn = { class: "truncate" }, In = { class: "flex items-center" }, Bn = { class: "truncate" }, gl = /* @__PURE__ */ O({
1986
2004
  __name: "SourceApps",
1987
2005
  props: {
1988
2006
  /**
@@ -2042,16 +2060,16 @@ const De = /* @__PURE__ */ me(ln, [["__scopeId", "data-v-60cf597b"]]), an = { cl
2042
2060
  },
2043
2061
  emits: ["update:modelValue"],
2044
2062
  setup(e, { emit: s }) {
2045
- const n = e, o = A(null), a = A(null), { selectedValue: r, hiddenSelectedItemCount: d, isMultiItemArrayValue: i, firstItem: y } = en({
2063
+ const n = e, o = A(null), a = A(null), { selectedValue: r, hiddenSelectedItemCount: c, isMultiItemArrayValue: i, firstItem: y } = sn({
2046
2064
  props: Z(n),
2047
2065
  emit: s,
2048
2066
  dynamicVisibility: { elementToWatchForChanges: o, itemContainer: a }
2049
2067
  }), f = (w, g) => w.name.toLocaleLowerCase().includes(g.toLocaleLowerCase());
2050
- return (w, g) => (l(), P(xn, {
2068
+ return (w, g) => (l(), P(Cn, {
2051
2069
  modelValue: t(r),
2052
2070
  "onUpdate:modelValue": g[0] || (g[0] = (m) => le(r) ? r.value = m : null),
2053
2071
  multiple: e.multiple,
2054
- items: e.items ?? t(it),
2072
+ items: e.items ?? t(ut),
2055
2073
  search: e.search,
2056
2074
  "search-placeholder": e.searchPlaceholder,
2057
2075
  label: e.label,
@@ -2079,27 +2097,27 @@ const De = /* @__PURE__ */ me(ln, [["__scopeId", "data-v-60cf597b"]]), an = { cl
2079
2097
  ref: a,
2080
2098
  class: "flex flex-wrap overflow-hidden space-x-0.5 h-5"
2081
2099
  }, [
2082
- (l(!0), h(q, null, H(m, (b) => (l(), P(kn, {
2100
+ (l(!0), h(q, null, H(m, (b) => (l(), P(wn, {
2083
2101
  key: b.name,
2084
2102
  "source-app": b
2085
2103
  }, null, 8, ["source-app"]))), 128))
2086
2104
  ], 512),
2087
- t(d) > 0 ? (l(), h("div", Cn, " +" + S(t(d)), 1)) : _("", !0)
2088
- ], 512)) : (l(), h("div", wn, [
2105
+ t(c) > 0 ? (l(), h("div", $n, " +" + S(t(c)), 1)) : _("", !0)
2106
+ ], 512)) : (l(), h("div", _n, [
2089
2107
  u("div", {
2090
2108
  class: "h-2 w-2 rounded-full mr-2",
2091
2109
  style: oe({ backgroundColor: t(y)(m).bgColor })
2092
2110
  }, null, 4),
2093
- u("span", $n, S(t(y)(m).name), 1)
2111
+ u("span", Sn, S(t(y)(m).name), 1)
2094
2112
  ]))
2095
2113
  ]),
2096
2114
  option: B(({ item: m }) => [
2097
- u("div", _n, [
2115
+ u("div", In, [
2098
2116
  u("div", {
2099
2117
  class: "h-2 w-2 rounded-full mr-2",
2100
2118
  style: oe({ backgroundColor: m.bgColor })
2101
2119
  }, null, 4),
2102
- u("span", Sn, S(m.name), 1)
2120
+ u("span", Bn, S(m.name), 1)
2103
2121
  ])
2104
2122
  ]),
2105
2123
  _: 1
@@ -2107,7 +2125,7 @@ const De = /* @__PURE__ */ me(ln, [["__scopeId", "data-v-60cf597b"]]), an = { cl
2107
2125
  }
2108
2126
  });
2109
2127
  var Q = /* @__PURE__ */ ((e) => (e.CtrlOrCmd = "cmd-or-ctrl", e.AltOrOpt = "alt-or-opt", e.Shift = "shift", e))(Q || {});
2110
- const ie = ut(), In = {
2128
+ const ie = ct(), Ln = {
2111
2129
  [
2112
2130
  "cmd-or-ctrl"
2113
2131
  /* CtrlOrCmd */
@@ -2118,17 +2136,17 @@ const ie = ut(), In = {
2118
2136
  ]: ie === re.Mac ? "Opt" : "Alt",
2119
2137
  shift: "Shift"
2120
2138
  };
2121
- function ml(e) {
2139
+ function yl(e) {
2122
2140
  const s = (n) => Object.values(Q).includes(n);
2123
- return e.map((n) => s(n) ? In[n] : n).join("+");
2141
+ return e.map((n) => s(n) ? Ln[n] : n).join("+");
2124
2142
  }
2125
- function gl(e, ...s) {
2126
- ft(
2143
+ function vl(e, ...s) {
2144
+ pt(
2127
2145
  s[0],
2128
2146
  (n) => {
2129
2147
  const o = n.getModifierState("Alt"), a = ie === re.Mac ? n.getModifierState("Meta") : n.getModifierState("Control"), r = n.getModifierState("Shift");
2130
- for (const d of e)
2131
- switch (d) {
2148
+ for (const c of e)
2149
+ switch (c) {
2132
2150
  case Q.CtrlOrCmd:
2133
2151
  if (!a)
2134
2152
  return;
@@ -2147,7 +2165,7 @@ function gl(e, ...s) {
2147
2165
  s[2]
2148
2166
  );
2149
2167
  }
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({
2168
+ const Pn = /* @__PURE__ */ u("div", { class: "fixed inset-0 bg-neutral-100/70 dark:bg-neutral-900/70 transition-opacity" }, null, -1), Vn = { class: "fixed inset-0 z-10 overflow-y-auto" }, jn = { class: "flex min-h-full justify-center p-4 text-center items-center sm:p-0" }, On = { class: "relative" }, bl = /* @__PURE__ */ O({
2151
2169
  __name: "Dialog",
2152
2170
  props: {
2153
2171
  open: { type: Boolean },
@@ -2157,10 +2175,10 @@ const Bn = /* @__PURE__ */ u("div", { class: "fixed inset-0 bg-neutral-100/70 da
2157
2175
  },
2158
2176
  emits: ["update:open", "fully-closed"],
2159
2177
  setup(e, { emit: s }) {
2160
- const n = e, o = c({
2178
+ const n = e, o = d({
2161
2179
  get: () => n.open,
2162
2180
  set: (i) => s("update:open", i)
2163
- }), a = c(() => {
2181
+ }), a = d(() => {
2164
2182
  switch (n.maxWidth) {
2165
2183
  case "sm":
2166
2184
  return 0;
@@ -2173,24 +2191,24 @@ const Bn = /* @__PURE__ */ u("div", { class: "fixed inset-0 bg-neutral-100/70 da
2173
2191
  default:
2174
2192
  return 1e4;
2175
2193
  }
2176
- }), r = c(() => {
2194
+ }), r = d(() => {
2177
2195
  const i = [
2178
2196
  "px-4 pt-4 pb-4 w-full",
2179
2197
  "sm:my-8 sm:w-full sm:max-w-xl sm:p-6"
2180
2198
  ];
2181
2199
  return a.value >= 1 && i.push("md:max-w-2xl"), a.value >= 2 && i.push("lg:max-w-4xl"), a.value >= 3 && i.push("xl:max-w-6xl"), a.value >= 4 && i.push("2xl:max-w-7xl"), i.join(" ");
2182
- }), d = () => {
2200
+ }), c = () => {
2183
2201
  n.preventCloseOnClickOutside || (o.value = !1);
2184
2202
  };
2185
- return (i, y) => (l(), P(t(vt), {
2203
+ return (i, y) => (l(), P(t(bt), {
2186
2204
  as: "template",
2187
2205
  show: t(o)
2188
2206
  }, {
2189
2207
  default: B(() => [
2190
- I(t(bt), {
2208
+ I(t(xt), {
2191
2209
  as: "div",
2192
2210
  class: "relative z-40",
2193
- onClose: d
2211
+ onClose: c
2194
2212
  }, {
2195
2213
  default: B(() => [
2196
2214
  I(t($e), {
@@ -2203,12 +2221,12 @@ const Bn = /* @__PURE__ */ u("div", { class: "fixed inset-0 bg-neutral-100/70 da
2203
2221
  "leave-to": "opacity-0"
2204
2222
  }, {
2205
2223
  default: B(() => [
2206
- Bn
2224
+ Pn
2207
2225
  ]),
2208
2226
  _: 1
2209
2227
  }),
2210
- u("div", Ln, [
2211
- u("div", Pn, [
2228
+ u("div", Vn, [
2229
+ u("div", jn, [
2212
2230
  I(t($e), {
2213
2231
  as: "template",
2214
2232
  enter: "ease-out duration-300",
@@ -2220,14 +2238,14 @@ const Bn = /* @__PURE__ */ u("div", { class: "fixed inset-0 bg-neutral-100/70 da
2220
2238
  onAfterLeave: y[1] || (y[1] = (f) => i.$emit("fully-closed"))
2221
2239
  }, {
2222
2240
  default: B(() => [
2223
- I(t(xt), {
2241
+ I(t(kt), {
2224
2242
  class: v([
2225
2243
  "transform rounded-lg bg-foundation text-left shadow-xl transition-all",
2226
2244
  t(r)
2227
2245
  ])
2228
2246
  }, {
2229
2247
  default: B(() => [
2230
- u("div", Vn, [
2248
+ u("div", On, [
2231
2249
  R(i.$slots, "default", {}, () => [
2232
2250
  T("Put your content here!")
2233
2251
  ]),
@@ -2236,7 +2254,7 @@ const Bn = /* @__PURE__ */ u("div", { class: "fixed inset-0 bg-neutral-100/70 da
2236
2254
  class: "absolute top-0 right-0 text-foreground",
2237
2255
  onClick: y[0] || (y[0] = (f) => o.value = !1)
2238
2256
  }, [
2239
- I(t(et), { class: "h-6 w-6" })
2257
+ I(t(tt), { class: "h-6 w-6" })
2240
2258
  ]))
2241
2259
  ])
2242
2260
  ]),
@@ -2254,7 +2272,7 @@ const Bn = /* @__PURE__ */ u("div", { class: "fixed inset-0 bg-neutral-100/70 da
2254
2272
  _: 3
2255
2273
  }, 8, ["show"]));
2256
2274
  }
2257
- }), jn = { class: "inline-flex items-center space-x-2" }, On = { class: "label-light" }, vl = /* @__PURE__ */ O({
2275
+ }), Mn = { class: "inline-flex items-center space-x-2" }, An = { class: "label-light" }, xl = /* @__PURE__ */ O({
2258
2276
  __name: "Disclosure",
2259
2277
  props: {
2260
2278
  title: null,
@@ -2262,7 +2280,7 @@ const Bn = /* @__PURE__ */ u("div", { class: "fixed inset-0 bg-neutral-100/70 da
2262
2280
  color: { default: "default" }
2263
2281
  },
2264
2282
  setup(e) {
2265
- const s = e, n = c(() => {
2283
+ const s = e, n = d(() => {
2266
2284
  const a = [
2267
2285
  "pr-3 h-10 w-full flex items-center justify-between border-l-2 px-2 rounded transition",
2268
2286
  "ring-1"
@@ -2279,7 +2297,7 @@ const Bn = /* @__PURE__ */ u("div", { class: "fixed inset-0 bg-neutral-100/70 da
2279
2297
  break;
2280
2298
  }
2281
2299
  return a.join(" ");
2282
- }), o = c(() => {
2300
+ }), o = d(() => {
2283
2301
  const a = ["mt-4 px-3 py-1 border-x "];
2284
2302
  switch (s.color) {
2285
2303
  case "danger":
@@ -2293,30 +2311,30 @@ const Bn = /* @__PURE__ */ u("div", { class: "fixed inset-0 bg-neutral-100/70 da
2293
2311
  return a.join(" ");
2294
2312
  });
2295
2313
  return (a, r) => (l(), h("div", null, [
2296
- I(t(kt), null, {
2297
- default: B(({ open: d }) => [
2298
- I(t(Ct), {
2314
+ I(t(Ct), null, {
2315
+ default: B(({ open: c }) => [
2316
+ I(t(wt), {
2299
2317
  class: v(t(n))
2300
2318
  }, {
2301
2319
  default: B(() => [
2302
- u("div", jn, [
2320
+ u("div", Mn, [
2303
2321
  e.icon ? (l(), P(U(e.icon), {
2304
2322
  key: 0,
2305
2323
  class: "h-4 w-4"
2306
2324
  })) : _("", !0),
2307
2325
  u("span", null, S(e.title), 1)
2308
2326
  ]),
2309
- I(t(Ve), {
2310
- class: v([d ? "" : "rotate-180 transform", "h-5 w-5"])
2327
+ I(t(je), {
2328
+ class: v([c ? "" : "rotate-180 transform", "h-5 w-5"])
2311
2329
  }, null, 8, ["class"])
2312
2330
  ]),
2313
2331
  _: 2
2314
2332
  }, 1032, ["class"]),
2315
- I(t(wt), {
2333
+ I(t($t), {
2316
2334
  class: v(t(o))
2317
2335
  }, {
2318
2336
  default: B(() => [
2319
- u("div", On, [
2337
+ u("div", An, [
2320
2338
  R(a.$slots, "default", {}, () => [
2321
2339
  T("Panel contents")
2322
2340
  ])
@@ -2331,24 +2349,24 @@ const Bn = /* @__PURE__ */ u("div", { class: "fixed inset-0 bg-neutral-100/70 da
2331
2349
  }
2332
2350
  });
2333
2351
  var K = /* @__PURE__ */ ((e) => (e.Grid = "grid", e.List = "list", e))(K || {});
2334
- const bl = /* @__PURE__ */ O({
2352
+ const kl = /* @__PURE__ */ O({
2335
2353
  __name: "GridListToggle",
2336
2354
  props: {
2337
2355
  modelValue: null
2338
2356
  },
2339
2357
  emits: ["click", "update:modelValue"],
2340
2358
  setup(e, { emit: s }) {
2341
- const n = e, o = c({
2359
+ const n = e, o = d({
2342
2360
  get: () => n.modelValue || K.Grid,
2343
- set: (d) => s("update:modelValue", d)
2344
- }), a = c(
2345
- () => o.value === K.Grid ? Xe : Ne
2346
- ), r = (d) => {
2347
- s("click", d);
2361
+ set: (c) => s("update:modelValue", c)
2362
+ }), a = d(
2363
+ () => o.value === K.Grid ? Ne : Je
2364
+ ), r = (c) => {
2365
+ s("click", c);
2348
2366
  const i = o.value === K.Grid ? K.List : K.Grid;
2349
2367
  o.value = i;
2350
2368
  };
2351
- return (d, i) => (l(), h("button", {
2369
+ return (c, i) => (l(), h("button", {
2352
2370
  class: "flex items-center justify-center rounded bg-foundation h-8 w-8 shadow cursor-pointer text-foreground",
2353
2371
  onClick: r
2354
2372
  }, [
@@ -2356,54 +2374,54 @@ const bl = /* @__PURE__ */ O({
2356
2374
  ]));
2357
2375
  }
2358
2376
  });
2359
- var Mn = /* @__PURE__ */ ((e) => (e[e.Throttle = 0] = "Throttle", e[e.Debounce = 1] = "Debounce", e))(Mn || {}), ue = /* @__PURE__ */ ((e) => (e[e.Left = 0] = "Left", e[e.Right = 1] = "Right", e))(ue || {});
2360
- function An(e, s) {
2377
+ var Dn = /* @__PURE__ */ ((e) => (e[e.Throttle = 0] = "Throttle", e[e.Debounce = 1] = "Debounce", e))(Dn || {}), ue = /* @__PURE__ */ ((e) => (e[e.Left = 0] = "Left", e[e.Right = 1] = "Right", e))(ue || {});
2378
+ function Rn(e, s) {
2361
2379
  if (!he)
2362
2380
  return;
2363
2381
  const {
2364
2382
  wait: n = 100,
2365
2383
  throttleOrDebounce: o = 0
2366
2384
  /* Throttle */
2367
- } = s || {}, a = n ? o === 0 ? We(e, n) : Pe(e, n) : e;
2368
- ee(() => window.addEventListener("resize", a)), Le(() => window.removeEventListener("resize", a));
2385
+ } = s || {}, a = n ? o === 0 ? Ue(e, n) : Ve(e, n) : e;
2386
+ ee(() => window.addEventListener("resize", a)), Pe(() => window.removeEventListener("resize", a));
2369
2387
  }
2370
- function xl(e) {
2388
+ function Cl(e) {
2371
2389
  ee(() => {
2372
2390
  window.addEventListener("beforeunload", e);
2373
- }), Le(() => {
2391
+ }), Pe(() => {
2374
2392
  window.removeEventListener("beforeunload", e);
2375
2393
  });
2376
2394
  }
2377
- function Dn(e) {
2395
+ function Tn(e) {
2378
2396
  const { el: s, defaultDirection: n } = e, o = A(
2379
2397
  X(n) ? 1 : n
2380
2398
  /* Right */
2381
- ), a = c(() => {
2382
- const d = t(e.stopUpdatesBelowWidth);
2383
- if (!X(d))
2384
- return d;
2399
+ ), a = d(() => {
2400
+ const c = t(e.stopUpdatesBelowWidth);
2401
+ if (!X(c))
2402
+ return c;
2385
2403
  const i = t(s);
2386
2404
  return i != null && i.offsetWidth ? i.offsetWidth * 2 : void 0;
2387
2405
  }), r = () => {
2388
2406
  if (!he)
2389
2407
  return;
2390
- const d = t(s);
2391
- if (!d)
2408
+ const c = t(s);
2409
+ if (!c)
2392
2410
  return;
2393
- const i = d.getBoundingClientRect(), y = i.x + i.width > window.innerWidth, f = i.x < 0;
2411
+ const i = c.getBoundingClientRect(), y = i.x + i.width > window.innerWidth, f = i.x < 0;
2394
2412
  y && f || !X(a.value) && window.innerWidth < a.value || (y ? o.value = 0 : f && (o.value = 1));
2395
2413
  };
2396
- return An(() => r()), Y(
2414
+ return Rn(() => r()), Y(
2397
2415
  () => t(s),
2398
- (d) => {
2399
- d && r();
2416
+ (c) => {
2417
+ c && r();
2400
2418
  }
2401
2419
  ), {
2402
- direction: c(() => o.value),
2420
+ direction: d(() => o.value),
2403
2421
  recalculateDirection: r
2404
2422
  };
2405
2423
  }
2406
- const Rn = ["onClick"], kl = /* @__PURE__ */ O({
2424
+ const zn = ["onClick"], wl = /* @__PURE__ */ O({
2407
2425
  __name: "Menu",
2408
2426
  props: {
2409
2427
  open: { type: Boolean },
@@ -2411,14 +2429,14 @@ const Rn = ["onClick"], kl = /* @__PURE__ */ O({
2411
2429
  },
2412
2430
  emits: ["update:open", "chosen"],
2413
2431
  setup(e, { emit: s }) {
2414
- const n = e, o = A(null), { direction: a } = Dn({
2415
- el: c(() => {
2432
+ const n = e, o = A(null), { direction: a } = Tn({
2433
+ el: d(() => {
2416
2434
  var m;
2417
2435
  return ((m = o.value) == null ? void 0 : m.el) || null;
2418
2436
  }),
2419
2437
  defaultDirection: ue.Left,
2420
2438
  stopUpdatesBelowWidth: 300
2421
- }), r = A(null), d = A(!1), i = c({
2439
+ }), r = A(null), c = A(!1), i = d({
2422
2440
  get: () => n.open || !1,
2423
2441
  set: (m) => s("update:open", m)
2424
2442
  }), y = (m) => {
@@ -2431,23 +2449,23 @@ const Rn = ["onClick"], kl = /* @__PURE__ */ O({
2431
2449
  return (m = r.value) == null ? void 0 : m.el.click();
2432
2450
  }, g = (m) => {
2433
2451
  const b = !!m;
2434
- return d.value = b, b;
2452
+ return c.value = b, b;
2435
2453
  };
2436
- return Y(d, (m, b) => {
2454
+ return Y(c, (m, b) => {
2437
2455
  m !== b && (i.value = m);
2438
2456
  }), Y(i, (m) => {
2439
- (m && !d.value || !m && d.value) && w();
2440
- }), (m, b) => (l(), P(t($t), {
2457
+ (m && !c.value || !m && c.value) && w();
2458
+ }), (m, b) => (l(), P(t(_t), {
2441
2459
  as: "div",
2442
2460
  class: "relative inline-block"
2443
2461
  }, {
2444
2462
  default: B(({ open: V }) => [
2445
2463
  u("div", null, [
2446
- I(t(_t), {
2464
+ I(t(St), {
2447
2465
  ref_key: "menuButton",
2448
2466
  ref: r,
2449
2467
  class: "hidden",
2450
- onClick: b[0] || (b[0] = Be(() => {
2468
+ onClick: b[0] || (b[0] = Le(() => {
2451
2469
  }, ["stop", "prevent"]))
2452
2470
  }, null, 512),
2453
2471
  u("div", {
@@ -2459,7 +2477,7 @@ const Rn = ["onClick"], kl = /* @__PURE__ */ O({
2459
2477
  })
2460
2478
  ], 2)
2461
2479
  ]),
2462
- I(de, {
2480
+ I(ce, {
2463
2481
  "enter-active-class": "transition duration-100 ease-out",
2464
2482
  "enter-from-class": "transform scale-95 opacity-0",
2465
2483
  "enter-to-class": "transform scale-100 opacity-100",
@@ -2468,7 +2486,7 @@ const Rn = ["onClick"], kl = /* @__PURE__ */ O({
2468
2486
  "leave-to-class": "transform scale-95 opacity-0"
2469
2487
  }, {
2470
2488
  default: B(() => [
2471
- I(t(St), {
2489
+ I(t(It), {
2472
2490
  ref_key: "menuItems",
2473
2491
  ref: o,
2474
2492
  class: v([
@@ -2481,7 +2499,7 @@ const Rn = ["onClick"], kl = /* @__PURE__ */ O({
2481
2499
  key: $,
2482
2500
  class: "px-1 py-1"
2483
2501
  }, [
2484
- (l(!0), h(q, null, H(L, (C) => (l(), P(t(It), {
2502
+ (l(!0), h(q, null, H(L, (C) => (l(), P(t(Bt), {
2485
2503
  key: C.id,
2486
2504
  disabled: C.disabled
2487
2505
  }, {
@@ -2493,7 +2511,7 @@ const Rn = ["onClick"], kl = /* @__PURE__ */ O({
2493
2511
  R(m.$slots, "item", { item: C }, () => [
2494
2512
  T(S(C.title), 1)
2495
2513
  ])
2496
- ], 10, Rn)
2514
+ ], 10, zn)
2497
2515
  ]),
2498
2516
  _: 2
2499
2517
  }, 1032, ["disabled"]))), 128))
@@ -2508,17 +2526,17 @@ const Rn = ["onClick"], kl = /* @__PURE__ */ O({
2508
2526
  _: 3
2509
2527
  }));
2510
2528
  }
2511
- }), Tn = { class: "flex flex-col space-y-4" }, zn = { class: "flex space-x-6" }, Cl = /* @__PURE__ */ O({
2529
+ }), Fn = { class: "flex flex-col space-y-4" }, En = { class: "flex space-x-6" }, $l = /* @__PURE__ */ O({
2512
2530
  __name: "Tabs",
2513
2531
  props: {
2514
2532
  items: null
2515
2533
  },
2516
2534
  setup(e) {
2517
- const s = e, n = A(null), o = c(() => n.value && s.items.find((r) => r.id === n.value) || s.items[0]), a = (r) => {
2535
+ const s = e, n = A(null), o = d(() => n.value && s.items.find((r) => r.id === n.value) || s.items[0]), a = (r) => {
2518
2536
  n.value = r.id;
2519
2537
  };
2520
- return (r, d) => (l(), h("div", Tn, [
2521
- u("div", zn, [
2538
+ return (r, c) => (l(), h("div", Fn, [
2539
+ u("div", En, [
2522
2540
  (l(!0), h(q, null, H(e.items, (i) => (l(), P(ge, {
2523
2541
  key: i.id,
2524
2542
  link: "",
@@ -2534,7 +2552,7 @@ const Rn = ["onClick"], kl = /* @__PURE__ */ O({
2534
2552
  R(r.$slots, "default", { activeItem: t(o) })
2535
2553
  ]));
2536
2554
  }
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({
2555
+ }), Wn = { class: "w-full flex flex-col items-center my-2 space-y-2 mt-4" }, Un = { class: "inline-flex items-center space-x-1" }, qn = /* @__PURE__ */ u("span", { class: "text-foreground-2" }, "That's it, you've loaded everything!", -1), Hn = { class: "w-full flex flex-col items-center my-2 space-y-2 mt-4" }, Gn = { class: "inline-flex items-center space-x-1" }, Kn = /* @__PURE__ */ u("span", { class: "text-foreground-2" }, "An error occurred while loading", -1), _l = /* @__PURE__ */ O({
2538
2556
  __name: "InfiniteLoading",
2539
2557
  props: {
2540
2558
  settings: null,
@@ -2552,28 +2570,28 @@ const Rn = ["onClick"], kl = /* @__PURE__ */ O({
2552
2570
  ref_key: "wrapper",
2553
2571
  ref: s
2554
2572
  }, [
2555
- n.value ? (l(), P(t(Lt), ne({ key: 0 }, o.$props.settings || {}, {
2573
+ n.value ? (l(), P(t(Pt), ne({ key: 0 }, o.$props.settings || {}, {
2556
2574
  onInfinite: a[0] || (a[0] = (r) => o.$emit("infinite", r))
2557
2575
  }), {
2558
2576
  spinner: B(() => [
2559
- I(De, {
2577
+ I(Re, {
2560
2578
  loading: !0,
2561
2579
  class: "my-2"
2562
2580
  })
2563
2581
  ]),
2564
2582
  complete: B(() => [
2565
- u("div", Fn, [
2566
- u("div", En, [
2567
- I(t(tt), { class: "w-5 h-5 text-success" }),
2568
- Wn
2583
+ u("div", Wn, [
2584
+ u("div", Un, [
2585
+ I(t(st), { class: "w-5 h-5 text-success" }),
2586
+ qn
2569
2587
  ])
2570
2588
  ])
2571
2589
  ]),
2572
2590
  error: B(({ retry: r }) => [
2573
- u("div", Un, [
2574
- u("div", qn, [
2575
- I(t(st), { class: "w-5 h-5 text-danger" }),
2576
- Hn
2591
+ u("div", Hn, [
2592
+ u("div", Gn, [
2593
+ I(t(nt), { class: "w-5 h-5 text-danger" }),
2594
+ Kn
2577
2595
  ]),
2578
2596
  e.allowRetry ? (l(), P(ge, {
2579
2597
  key: 0,
@@ -2590,10 +2608,10 @@ const Rn = ["onClick"], kl = /* @__PURE__ */ O({
2590
2608
  }, 16)) : _("", !0)
2591
2609
  ], 512));
2592
2610
  }
2593
- }), Gn = { class: "relative group" }, Kn = {
2611
+ }), Xn = { class: "relative group" }, Nn = {
2594
2612
  key: 0,
2595
2613
  class: "absolute -inset-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"
2596
- }, $l = /* @__PURE__ */ O({
2614
+ }, Sl = /* @__PURE__ */ O({
2597
2615
  __name: "Panel",
2598
2616
  props: {
2599
2617
  /**
@@ -2628,16 +2646,16 @@ const Rn = ["onClick"], kl = /* @__PURE__ */ O({
2628
2646
  },
2629
2647
  emits: ["submit"],
2630
2648
  setup(e, { emit: s }) {
2631
- const n = e, o = c(
2649
+ const n = e, o = d(
2632
2650
  () => n.customPadding ? "" : "px-4 py-4 sm:px-6"
2633
- ), a = c(
2651
+ ), a = d(
2634
2652
  () => n.customPadding ? "" : "px-4 py-4 sm:p-6"
2635
- ), r = c(() => {
2636
- const d = ["rounded-lg"];
2637
- return n.noShadow || d.push("shadow"), n.ring && d.push("ring-outline-2 hover:ring-2"), d.join(" ");
2653
+ ), r = d(() => {
2654
+ const c = ["rounded-lg"];
2655
+ return n.noShadow || c.push("shadow"), n.ring && c.push("ring-outline-2 hover:ring-2"), c.join(" ");
2638
2656
  });
2639
- return (d, i) => (l(), h("div", Gn, [
2640
- e.fancyGlow ? (l(), h("div", Kn)) : _("", !0),
2657
+ return (c, i) => (l(), h("div", Xn, [
2658
+ e.fancyGlow ? (l(), h("div", Nn)) : _("", !0),
2641
2659
  (l(), P(U(e.form ? "form" : "div"), {
2642
2660
  class: v([
2643
2661
  "relative divide-outline-3 bg-foundation text-foreground flex flex-col divide-y overflow-hidden",
@@ -2646,22 +2664,22 @@ const Rn = ["onClick"], kl = /* @__PURE__ */ O({
2646
2664
  onSubmit: i[0] || (i[0] = (y) => s("submit", y))
2647
2665
  }, {
2648
2666
  default: B(() => [
2649
- d.$slots.header ? (l(), h("div", {
2667
+ c.$slots.header ? (l(), h("div", {
2650
2668
  key: 0,
2651
2669
  class: v(t(o))
2652
2670
  }, [
2653
- R(d.$slots, "header")
2671
+ R(c.$slots, "header")
2654
2672
  ], 2)) : _("", !0),
2655
2673
  u("div", {
2656
2674
  class: v(["grow", t(a)])
2657
2675
  }, [
2658
- R(d.$slots, "default")
2676
+ R(c.$slots, "default")
2659
2677
  ], 2),
2660
- d.$slots.footer ? (l(), h("div", {
2678
+ c.$slots.footer ? (l(), h("div", {
2661
2679
  key: 1,
2662
2680
  class: v(t(o))
2663
2681
  }, [
2664
- R(d.$slots, "footer")
2682
+ R(c.$slots, "footer")
2665
2683
  ], 2)) : _("", !0)
2666
2684
  ]),
2667
2685
  _: 3
@@ -2670,40 +2688,40 @@ const Rn = ["onClick"], kl = /* @__PURE__ */ O({
2670
2688
  }
2671
2689
  });
2672
2690
  export {
2673
- Gt as CommonBadge,
2674
- De as CommonLoadingBar,
2675
- il as CommonStepsBullet,
2676
- rl as CommonStepsNumber,
2677
- jt as CommonTextLink,
2691
+ Kt as CommonBadge,
2692
+ Re as CommonLoadingBar,
2693
+ cl as CommonStepsBullet,
2694
+ ul as CommonStepsNumber,
2695
+ Ot as CommonTextLink,
2678
2696
  ge as FormButton,
2679
- ul as FormCardButton,
2680
- dl as FormCheckbox,
2681
- xn as FormSelectBase,
2682
- hl as FormSelectSourceApps,
2683
- cl as FormTextArea,
2684
- fl as FormTextInput,
2685
- ol as GlobalToastRenderer,
2697
+ dl as FormCardButton,
2698
+ fl as FormCheckbox,
2699
+ Cn as FormSelectBase,
2700
+ gl as FormSelectSourceApps,
2701
+ pl as FormTextArea,
2702
+ hl as FormTextInput,
2703
+ il as GlobalToastRenderer,
2686
2704
  K as GridListToggleValue,
2687
2705
  ue as HorizontalDirection,
2688
- wl as InfiniteLoading,
2689
- yl as LayoutDialog,
2690
- vl as LayoutDisclosure,
2691
- bl as LayoutGridListToggle,
2692
- kl as LayoutMenu,
2693
- $l as LayoutPanel,
2694
- Cl as LayoutTabs,
2706
+ _l as InfiniteLoading,
2707
+ bl as LayoutDialog,
2708
+ xl as LayoutDisclosure,
2709
+ kl as LayoutGridListToggle,
2710
+ wl as LayoutMenu,
2711
+ Sl as LayoutPanel,
2712
+ $l as LayoutTabs,
2695
2713
  Q as ModifierKeys,
2696
- kn as SourceAppBadge,
2714
+ wn as SourceAppBadge,
2697
2715
  J as TailwindBreakpoints,
2698
- Mn as ThrottleOrDebounce,
2716
+ Dn as ThrottleOrDebounce,
2699
2717
  N as ToastNotificationType,
2700
- pl as ValidationHelpers,
2718
+ ml as ValidationHelpers,
2701
2719
  ie as clientOs,
2702
- ml as getKeyboardShortcutTitle,
2703
- gl as onKeyboardShortcut,
2704
- en as useFormSelectChildInternals,
2705
- xl as useOnBeforeWindowUnload,
2706
- Dn as useResponsiveHorizontalDirectionCalculation,
2707
- An as useWindowResizeHandler,
2708
- Zs as useWrappingContainerHiddenCount
2720
+ yl as getKeyboardShortcutTitle,
2721
+ vl as onKeyboardShortcut,
2722
+ sn as useFormSelectChildInternals,
2723
+ Cl as useOnBeforeWindowUnload,
2724
+ Tn as useResponsiveHorizontalDirectionCalculation,
2725
+ Rn as useWindowResizeHandler,
2726
+ tn as useWrappingContainerHiddenCount
2709
2727
  };