@speckle/ui-components 2.19.0 → 2.19.2

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,17 +1,17 @@
1
- var Dt = Object.defineProperty;
2
- var Ut = (e, t, r) => t in e ? Dt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
- var oe = (e, t, r) => (Ut(e, typeof t != "symbol" ? t + "" : t, r), r);
4
- import { defineComponent as E, resolveDynamicComponent as Z, computed as h, openBlock as a, createBlock as V, normalizeClass as x, withCtx as A, createCommentVNode as I, renderSlot as W, createTextVNode as D, createElementBlock as f, createElementVNode as c, createVNode as _, Transition as Ye, unref as l, toDisplayString as L, toRefs as ie, Fragment as q, renderList as G, ref as O, onMounted as se, onBeforeUnmount as Pe, normalizeStyle as ee, mergeProps as ue, mergeModels as ke, useModel as Ve, watch as te, withDirectives as re, isRef as Te, vModelText as et, useSlots as tt, vModelDynamic as Wt, pushScopeId as qt, popScopeId as Ht, Teleport as Kt, withModifiers as ge, onUnmounted as Gt, toHandlers as pt, nextTick as Nt, resolveDirective as st, getCurrentInstance as Xt, inject as Zt, withKeys as ye, defineAsyncComponent as Qt } from "vue";
5
- import { isObjectLike as Ke, clamp as mt, isBoolean as Jt, noop as nt, debounce as Ee, isUndefined as me, isArray as J, isString as he, throttle as Ge, uniq as Yt, intersection as es, difference as ts } from "lodash";
6
- import { ArrowPathIcon as wt, ExclamationCircleIcon as ss, ChevronUpIcon as Ct, ChevronDownIcon as ns, XMarkIcon as lt, MagnifyingGlassIcon as ls, CheckIcon as $t, Bars3Icon as as, Squares2X2Icon as os, UserCircleIcon as rs } from "@heroicons/vue/24/solid";
7
- import { CheckCircleIcon as is, XCircleIcon as us, ExclamationCircleIcon as cs, InformationCircleIcon as Ne, CheckIcon as ds, ClipboardDocumentCheckIcon as fs, ClipboardDocumentIcon as ps, XMarkIcon as ms, ChevronDownIcon as hs, ArrowLongLeftIcon as vs, ArrowLongRightIcon as gs, ExclamationTriangleIcon as bs } from "@heroicons/vue/24/outline";
8
- import { XMarkIcon as we, CheckIcon as It, CheckCircleIcon as St, ExclamationCircleIcon as Re, EnvelopeIcon as ys, KeyIcon as xs, XCircleIcon as ks, InformationCircleIcon as ws } from "@heroicons/vue/20/solid";
9
- import { wait as Cs, isNullOrUndefined as $s, SourceApps as Is, getClientOperatingSystem as Ss, OperatingSystem as Xe, md5 as Bs } from "@speckle/shared";
1
+ var Ft = Object.defineProperty;
2
+ var Dt = (e, t, r) => t in e ? Ft(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
+ var oe = (e, t, r) => (Dt(e, typeof t != "symbol" ? t + "" : t, r), r);
4
+ import { defineComponent as E, resolveDynamicComponent as Z, computed as h, openBlock as a, createBlock as V, normalizeClass as x, withCtx as A, createCommentVNode as I, renderSlot as W, createTextVNode as D, createElementBlock as f, createElementVNode as c, createVNode as _, Transition as Ye, unref as l, toDisplayString as L, toRefs as ie, Fragment as q, renderList as G, ref as O, onMounted as se, onBeforeUnmount as Te, normalizeStyle as ee, mergeProps as ue, mergeModels as we, useModel as Ve, watch as te, withDirectives as re, isRef as Ee, vModelText as et, useSlots as tt, vModelDynamic as Ut, pushScopeId as Wt, popScopeId as qt, Teleport as Ht, withModifiers as be, onUnmounted as Kt, toHandlers as pt, nextTick as Gt, resolveDirective as st, getCurrentInstance as Nt, inject as Xt, withKeys as xe, defineAsyncComponent as Zt } from "vue";
5
+ import { isObjectLike as Ke, clamp as mt, isBoolean as Qt, noop as nt, debounce as Re, isUndefined as me, isArray as J, isString as he, throttle as Ge, uniq as Jt, intersection as Yt, difference as es } from "lodash";
6
+ import { ArrowPathIcon as wt, XMarkIcon as Ct, CheckIcon as ts, ChevronUpIcon as ss, Bars3Icon as ns, Squares2X2Icon as ls, UserCircleIcon as as } from "@heroicons/vue/24/solid";
7
+ import { CheckCircleIcon as os, XCircleIcon as rs, ExclamationCircleIcon as is, InformationCircleIcon as Ne, CheckIcon as us, ClipboardDocumentCheckIcon as cs, ClipboardDocumentIcon as ds, XMarkIcon as fs, ChevronDownIcon as ps, ArrowLongLeftIcon as ms, ArrowLongRightIcon as hs, ExclamationTriangleIcon as vs } from "@heroicons/vue/24/outline";
8
+ import { XMarkIcon as ve, CheckIcon as lt, CheckCircleIcon as $t, ExclamationCircleIcon as je, EnvelopeIcon as gs, KeyIcon as bs, ChevronUpIcon as ys, ChevronDownIcon as xs, MagnifyingGlassIcon as ks, XCircleIcon as ws, InformationCircleIcon as Cs } from "@heroicons/vue/20/solid";
9
+ import { wait as $s, isNullOrUndefined as Is, SourceApps as Ss, getClientOperatingSystem as Bs, OperatingSystem as Xe, md5 as Ls } from "@speckle/shared";
10
10
  import { buildManualPromise as Ai } from "@speckle/shared";
11
- import { useField as je } from "vee-validate";
11
+ import { useField as Me } from "vee-validate";
12
12
  import { nanoid as Fe } from "nanoid";
13
- import { useResizeObserver as Bt, useMutationObserver as Ls, useMounted as Os, useElementBounding as _s, useIntersectionObserver as Vs, useClipboard as js, onKeyDown as Ms, isClient as ve, computedAsync as As, useFocus as zs, useDropZone as Ps } from "@vueuse/core";
14
- import { Listbox as Ts, ListboxLabel as Es, ListboxButton as Rs, ListboxOptions as Fs, ListboxOption as Ds, Switch as Us, TransitionRoot as Lt, Dialog as Ws, TransitionChild as ht, DialogPanel as qs, Disclosure as Hs, DisclosureButton as Ks, DisclosurePanel as Gs, Menu as Ns, MenuButton as Xs, MenuItems as Zs, MenuItem as Qs, Combobox as Js, ComboboxOptions as Ys, ComboboxOption as en } from "@headlessui/vue";
13
+ import { useResizeObserver as It, useMutationObserver as Os, useMounted as St, useElementBounding as _s, useIntersectionObserver as Vs, useClipboard as js, onKeyDown as Ms, isClient as ge, computedAsync as As, useFocus as zs, useDropZone as Ps } from "@vueuse/core";
14
+ import { Listbox as Ts, ListboxLabel as Es, ListboxButton as Rs, ListboxOptions as Fs, ListboxOption as Ds, Switch as Us, TransitionRoot as Bt, Dialog as Ws, TransitionChild as ht, DialogPanel as qs, Disclosure as Hs, DisclosureButton as Ks, DisclosurePanel as Gs, Menu as Ns, MenuButton as Xs, MenuItems as Zs, MenuItem as Qs, Combobox as Js, ComboboxOptions as Ys, ComboboxOption as en } from "@headlessui/vue";
15
15
  import { directive as tn } from "vue-tippy";
16
16
  import sn from "v3-infinite-loading";
17
17
  const nn = /* @__PURE__ */ E({
@@ -154,20 +154,20 @@ const nn = /* @__PURE__ */ E({
154
154
  return s.submit ? "submit" : "button";
155
155
  }), i = h(() => s.disabled || s.loading), d = h(() => s.loading ? wt : s.iconLeft), y = h(() => {
156
156
  const p = [];
157
- if (p.push("border-2"), i.value)
157
+ if (p.push("border"), i.value)
158
158
  p.push(
159
- s.outlined ? "border-foreground-disabled" : "bg-foundation-disabled border-transparent"
159
+ s.outlined ? "border-outline-3" : "bg-foundation-disabled border-transparent"
160
160
  );
161
161
  else
162
162
  switch (s.color) {
163
163
  case "invert":
164
164
  p.push(
165
- s.outlined ? "border-foundation dark:border-foreground" : "bg-foundation dark:bg-foreground border-transparent"
165
+ s.outlined ? "border-outline-3" : "border-outline-3 bg-foundation dark:bg-foreground"
166
166
  );
167
167
  break;
168
168
  case "card":
169
169
  p.push(
170
- s.outlined ? "border-foundation-2 shadow" : "bg-foundation-2 dark:bg-foundation-2 border-foundation shadow"
170
+ s.outlined ? "border-outline-3" : "bg-foundation-2 dark:bg-foundation-2 border-foundation"
171
171
  );
172
172
  break;
173
173
  case "danger":
@@ -175,7 +175,7 @@ const nn = /* @__PURE__ */ E({
175
175
  break;
176
176
  case "secondary":
177
177
  p.push(
178
- s.outlined ? "border-foundation" : "bg-foundation border-foundation-2"
178
+ s.outlined ? "border-outline-3" : "bg-foundation border-outline-3"
179
179
  );
180
180
  break;
181
181
  case "warning":
@@ -249,9 +249,7 @@ const nn = /* @__PURE__ */ E({
249
249
  );
250
250
  break;
251
251
  case "secondary":
252
- p.push(
253
- (s.outlined, "text-foreground hover:text-primary")
254
- );
252
+ p.push((s.outlined, "text-foreground"));
255
253
  break;
256
254
  case "default":
257
255
  default:
@@ -326,7 +324,7 @@ const nn = /* @__PURE__ */ E({
326
324
  return s.fullWidth && p.push("w-full"), i.value && p.push("cursor-not-allowed"), p.join(" ");
327
325
  }), $ = h(() => {
328
326
  const p = [];
329
- return !i.value && !s.link && !s.text && p.push("active:scale-[0.97]"), !i.value && s.link && p.push(
327
+ return !i.value && !s.link && !s.text && p.push("shadow active:scale-[0.97]"), !i.value && s.link && p.push(
330
328
  "underline decoration-transparent decoration-2 underline-offset-4 hover:decoration-inherit"
331
329
  ), p.join(" ");
332
330
  }), w = h(() => {
@@ -383,14 +381,14 @@ const nn = /* @__PURE__ */ E({
383
381
  default: A(() => [
384
382
  d.value ? (a(), V(Z(d.value), {
385
383
  key: 0,
386
- class: x(`${B.value} ${e.hideText ? "" : "mr-2"}`)
384
+ class: x(`${B.value} ${e.hideText ? "" : "mr-1"}`)
387
385
  }, null, 8, ["class"])) : I("", !0),
388
386
  e.hideText ? I("", !0) : W(p.$slots, "default", { key: 1 }, () => [
389
387
  D("Button")
390
388
  ], !0),
391
389
  e.iconRight || !e.loading ? (a(), V(Z(e.iconRight), {
392
390
  key: 2,
393
- class: x(`${B.value} ${e.hideText ? "" : "ml-2"}`)
391
+ class: x(`${B.value} ${e.hideText ? "" : "ml-1"}`)
394
392
  }, null, 8, ["class"])) : I("", !0)
395
393
  ]),
396
394
  _: 3
@@ -402,7 +400,7 @@ const De = (e, t) => {
402
400
  for (const [s, o] of t)
403
401
  r[s] = o;
404
402
  return r;
405
- }, ce = /* @__PURE__ */ De(nn, [["__scopeId", "data-v-af864b61"]]), ln = /* @__PURE__ */ E({
403
+ }, ce = /* @__PURE__ */ De(nn, [["__scopeId", "data-v-ad210086"]]), ln = /* @__PURE__ */ E({
406
404
  __name: "Link",
407
405
  props: {
408
406
  to: {
@@ -530,15 +528,15 @@ const an = {
530
528
  class: x(["flex gap-2", o.value ? "items-center" : "items-start"])
531
529
  }, [
532
530
  c("div", rn, [
533
- e.notification.type === l(Le).Success ? (a(), V(l(is), {
531
+ e.notification.type === l(Le).Success ? (a(), V(l(os), {
534
532
  key: 0,
535
533
  class: x(["text-success", o.value ? "h-5 w-5" : "h-6 w-6"]),
536
534
  "aria-hidden": "true"
537
- }, null, 8, ["class"])) : e.notification.type === l(Le).Danger ? (a(), V(l(us), {
535
+ }, null, 8, ["class"])) : e.notification.type === l(Le).Danger ? (a(), V(l(rs), {
538
536
  key: 1,
539
537
  class: x(["text-danger", o.value ? "h-5 w-5" : "h-6 w-6"]),
540
538
  "aria-hidden": "true"
541
- }, null, 8, ["class"])) : e.notification.type === l(Le).Warning ? (a(), V(l(cs), {
539
+ }, null, 8, ["class"])) : e.notification.type === l(Le).Warning ? (a(), V(l(is), {
542
540
  key: 2,
543
541
  class: x(["text-warning", o.value ? "h-5 w-5" : "h-6 w-6"]),
544
542
  "aria-hidden": "true"
@@ -578,7 +576,7 @@ const an = {
578
576
  onClick: n
579
577
  }, [
580
578
  fn,
581
- _(l(we), {
579
+ _(l(ve), {
582
580
  class: "h-5 w-5",
583
581
  "aria-hidden": "true"
584
582
  })
@@ -593,7 +591,7 @@ const an = {
593
591
  ]));
594
592
  }
595
593
  }), pn = "Enter";
596
- function Ot(e) {
594
+ function Lt(e) {
597
595
  return (t) => {
598
596
  t.code === pn && e(t);
599
597
  };
@@ -676,7 +674,7 @@ function vn(e) {
676
674
  vt = vt ? e : e.slice();
677
675
  }
678
676
  var Oe = /* @__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))(Oe || {});
679
- function _t(e) {
677
+ function Ot(e) {
680
678
  const {
681
679
  props: {
682
680
  modelValue: t,
@@ -771,7 +769,7 @@ const gn = ["aria-label"], bn = ["href", "onClick"], yn = { class: "flex space-x
771
769
  getStepDisplayValue: u,
772
770
  listClasses: i,
773
771
  linkClasses: d
774
- } = _t({
772
+ } = Ot({
775
773
  props: ie(s),
776
774
  emit: r
777
775
  });
@@ -793,7 +791,7 @@ const gn = ["aria-label"], bn = ["href", "onClick"], yn = { class: "flex space-x
793
791
  }, [
794
792
  c("div", yn, [
795
793
  c("div", xn, [
796
- _(l(It), { class: "w-5 h-5" })
794
+ _(l(lt), { class: "w-5 h-5" })
797
795
  ]),
798
796
  c("div", kn, [
799
797
  c("div", null, L(v.name), 1),
@@ -864,7 +862,7 @@ const gn = ["aria-label"], bn = ["href", "onClick"], yn = { class: "flex space-x
864
862
  },
865
863
  emits: ["update:modelValue"],
866
864
  setup(e, { emit: t }) {
867
- const r = t, s = e, { isCurrentStep: o, isFinishedStep: n, switchStep: m, listClasses: u, linkClasses: i } = _t({
865
+ const r = t, s = e, { isCurrentStep: o, isFinishedStep: n, switchStep: m, listClasses: u, linkClasses: i } = Ot({
868
866
  props: ie(s),
869
867
  emit: r
870
868
  }), d = h(() => {
@@ -892,7 +890,7 @@ const gn = ["aria-label"], bn = ["href", "onClick"], yn = { class: "flex space-x
892
890
  onClick: (j) => l(m)(g, j)
893
891
  }, [
894
892
  c("span", zn, [
895
- e.basic ? (a(), f("span", Pn)) : (a(), V(l(St), {
893
+ e.basic ? (a(), f("span", Pn)) : (a(), V(l($t), {
896
894
  key: 1,
897
895
  class: "h-full w-full text-primary",
898
896
  "aria-hidden": "true"
@@ -984,7 +982,7 @@ const ll = /* @__PURE__ */ De(Yn, [["render", nl]]), al = { class: "relative asp
984
982
  setup(e) {
985
983
  const t = e, r = O(!0), s = O({ ...t.initialPosition }), o = O(!1), n = O(500), m = O(!0), u = O(t.slotsConfig || []);
986
984
  async function i(k) {
987
- await Cs(k.duration);
985
+ await $s(k.duration);
988
986
  }
989
987
  function d(k) {
990
988
  const v = u.value.find((b) => b.name === k.slot);
@@ -1014,7 +1012,7 @@ const ll = /* @__PURE__ */ De(Yn, [["render", nl]]), al = { class: "relative asp
1014
1012
  m.value = !1, s.value = { ...t.initialPosition }, await i({ type: "delay", duration: 200 });
1015
1013
  }
1016
1014
  })();
1017
- }), Pe(() => {
1015
+ }), Te(() => {
1018
1016
  r.value = !1;
1019
1017
  }), (k, v) => (a(), f("div", al, [
1020
1018
  c("div", {
@@ -1217,7 +1215,7 @@ const ll = /* @__PURE__ */ De(Yn, [["render", nl]]), al = { class: "relative asp
1217
1215
  errorMessage: n,
1218
1216
  handleChange: m,
1219
1217
  value: u
1220
- } = je(t.name, t.rules, {
1218
+ } = Me(t.name, t.rules, {
1221
1219
  validateOnMount: t.validateOnMount,
1222
1220
  type: "checkbox",
1223
1221
  checkedValue: s,
@@ -1367,7 +1365,7 @@ const ll = /* @__PURE__ */ De(Yn, [["render", nl]]), al = { class: "relative asp
1367
1365
  errorMessage: n,
1368
1366
  handleChange: m,
1369
1367
  value: u
1370
- } = je(t.name, t.rules, {
1368
+ } = Me(t.name, t.rules, {
1371
1369
  validateOnMount: t.validateOnMount,
1372
1370
  type: "radio",
1373
1371
  checkedValue: s,
@@ -1438,7 +1436,7 @@ const ll = /* @__PURE__ */ De(Yn, [["render", nl]]), al = { class: "relative asp
1438
1436
  class: "text-xs flex gap-0.5 mt-2 text-foreground select-none"
1439
1437
  }, ni = /* @__PURE__ */ E({
1440
1438
  __name: "RadioGroup",
1441
- props: /* @__PURE__ */ ke({
1439
+ props: /* @__PURE__ */ we({
1442
1440
  options: null,
1443
1441
  disabled: { type: Boolean }
1444
1442
  }, {
@@ -1468,7 +1466,7 @@ const ll = /* @__PURE__ */ De(Yn, [["render", nl]]), al = { class: "relative asp
1468
1466
  class: x(["absolute top-4 right-3 h-6 w-6 rounded-full", [t.value === n.value ? "" : "border border-outline-3"]])
1469
1467
  }, [
1470
1468
  t.value === n.value ? (a(), f("div", Ll, [
1471
- _(l(ds), { class: "w-4 h-4 text-white" })
1469
+ _(l(us), { class: "w-4 h-4 text-white" })
1472
1470
  ])) : I("", !0)
1473
1471
  ], 2),
1474
1472
  c("div", Ol, [
@@ -1502,7 +1500,7 @@ const ll = /* @__PURE__ */ De(Yn, [["render", nl]]), al = { class: "relative asp
1502
1500
  }
1503
1501
  });
1504
1502
  function ot(e) {
1505
- const { props: t, inputEl: r, emit: s, options: o } = e, { value: n, errorMessage: m } = je(t.name, t.rules, {
1503
+ const { props: t, inputEl: r, emit: s, options: o } = e, { value: n, errorMessage: m } = Me(t.name, t.rules, {
1506
1504
  validateOnMount: l(t.validateOnMount),
1507
1505
  validateOnValueUpdate: l(t.validateOnValueUpdate),
1508
1506
  initialValue: l(t.modelValue) || void 0
@@ -1567,14 +1565,14 @@ function ot(e) {
1567
1565
  };
1568
1566
  }
1569
1567
  function li(e) {
1570
- const { debouncedBy: t = 1e3, isBasicHtmlInput: r = !1, submitOnEnter: s } = e || {}, o = e != null && e.debug ? Jt(e.debug) ? console.debug : e.debug : nt, n = (e == null ? void 0 : e.model) || O(""), m = O(n.value), u = (v) => {
1568
+ const { debouncedBy: t = 1e3, isBasicHtmlInput: r = !1, submitOnEnter: s } = e || {}, o = e != null && e.debug ? Qt(e.debug) ? console.debug : e.debug : nt, n = (e == null ? void 0 : e.model) || O(""), m = O(n.value), u = (v) => {
1571
1569
  if (he(v))
1572
1570
  return v;
1573
1571
  if ("value" in v)
1574
1572
  return v.value;
1575
1573
  const b = v.target;
1576
1574
  return (b == null ? void 0 : b.value) || "";
1577
- }, i = Ee((v) => {
1575
+ }, i = Re((v) => {
1578
1576
  n.value = v, o("Value updated: " + v);
1579
1577
  }, t), d = r ? "input" : "update:modelValue", y = {
1580
1578
  [d]: (v) => {
@@ -1661,7 +1659,7 @@ const zl = ["for"], Pl = { class: "relative" }, Tl = ["id", "name", "placeholder
1661
1659
  id: e.name,
1662
1660
  ref_key: "inputElement",
1663
1661
  ref: n,
1664
- "onUpdate:modelValue": B[0] || (B[0] = (z) => Te(i) ? i.value = z : null),
1662
+ "onUpdate:modelValue": B[0] || (B[0] = (z) => Ee(i) ? i.value = z : null),
1665
1663
  name: e.name,
1666
1664
  class: [
1667
1665
  l(m),
@@ -1689,7 +1687,7 @@ const zl = ["for"], Pl = { class: "relative" }, Tl = ["id", "name", "placeholder
1689
1687
  (...z) => l(g) && l(g)(...z))
1690
1688
  }, [
1691
1689
  El,
1692
- _(l(we), {
1690
+ _(l(ve), {
1693
1691
  class: "h-5 w-5 text-foreground",
1694
1692
  "aria-hidden": "true"
1695
1693
  })
@@ -1701,7 +1699,7 @@ const zl = ["for"], Pl = { class: "relative" }, Tl = ["id", "name", "placeholder
1701
1699
  l(C) ? "pr-8" : "pr-2"
1702
1700
  ])
1703
1701
  }, [
1704
- _(l(Re), {
1702
+ _(l(je), {
1705
1703
  class: "h-4 w-4 text-danger",
1706
1704
  "aria-hidden": "true"
1707
1705
  })
@@ -1915,11 +1913,11 @@ const zl = ["for"], Pl = { class: "relative" }, Tl = ["id", "name", "placeholder
1915
1913
  key: 0,
1916
1914
  class: x(B.value),
1917
1915
  "aria-hidden": "true"
1918
- }, null, 8, ["class"])) : e.type === "email" ? (a(), V(l(ys), {
1916
+ }, null, 8, ["class"])) : e.type === "email" ? (a(), V(l(gs), {
1919
1917
  key: 1,
1920
1918
  class: x(B.value),
1921
1919
  "aria-hidden": "true"
1922
- }, null, 8, ["class"])) : e.type === "password" ? (a(), V(l(xs), {
1920
+ }, null, 8, ["class"])) : e.type === "password" ? (a(), V(l(bs), {
1923
1921
  key: 2,
1924
1922
  class: x(B.value),
1925
1923
  "aria-hidden": "true"
@@ -1929,7 +1927,7 @@ const zl = ["for"], Pl = { class: "relative" }, Tl = ["id", "name", "placeholder
1929
1927
  id: e.name,
1930
1928
  ref_key: "inputElement",
1931
1929
  ref: m,
1932
- "onUpdate:modelValue": T[0] || (T[0] = (N) => Te(d) ? d.value = N : null),
1930
+ "onUpdate:modelValue": T[0] || (T[0] = (N) => Ee(d) ? d.value = N : null),
1933
1931
  type: e.type,
1934
1932
  name: e.name,
1935
1933
  class: [l(u), p.value, M.value, e.inputClasses || ""],
@@ -1944,7 +1942,7 @@ const zl = ["for"], Pl = { class: "relative" }, Tl = ["id", "name", "placeholder
1944
1942
  onFocus: T[3] || (T[3] = (N) => P.$emit("focus")),
1945
1943
  onBlur: T[4] || (T[4] = (N) => P.$emit("blur"))
1946
1944
  }), null, 16, ql), [
1947
- [Wt, l(d)]
1945
+ [Ut, l(d)]
1948
1946
  ]),
1949
1947
  W(P.$slots, "input-right", {}, () => [
1950
1948
  l(w) ? (a(), f("a", {
@@ -1957,7 +1955,7 @@ const zl = ["for"], Pl = { class: "relative" }, Tl = ["id", "name", "placeholder
1957
1955
  (...N) => l(j) && l(j)(...N))
1958
1956
  }, [
1959
1957
  Hl,
1960
- _(l(we), {
1958
+ _(l(ve), {
1961
1959
  class: "h-5 w-5 text-foreground",
1962
1960
  "aria-hidden": "true"
1963
1961
  })
@@ -1969,7 +1967,7 @@ const zl = ["for"], Pl = { class: "relative" }, Tl = ["id", "name", "placeholder
1969
1967
  l(w) ? "pr-8" : "pr-2"
1970
1968
  ])
1971
1969
  }, [
1972
- _(l(Re), {
1970
+ _(l(je), {
1973
1971
  class: "h-4 w-4 text-danger",
1974
1972
  "aria-hidden": "true"
1975
1973
  })
@@ -1987,16 +1985,16 @@ const zl = ["for"], Pl = { class: "relative" }, Tl = ["id", "name", "placeholder
1987
1985
  }, L(l(v)), 11, Kl)) : I("", !0)
1988
1986
  ], 2));
1989
1987
  }
1990
- }), Vt = /^https?:\/\//, rt = /^[\w-_.+]+@[\w-_.+]+$/, Nl = (e) => (e || "").match(rt) ? !0 : "Value should be a valid e-mail address", Xl = (e) => (e || "").split(",").map((s) => s.trim()).every((s) => s.match(rt)) || "Value should be one or multiple comma-delimited e-mail addresses", Zl = (e) => (he(e) && (e = e.trim()), e ? !0 : "Value is required"), Ql = (e, t) => (r, s) => r === s.form[e] ? !0 : `Value must be the same as in field '${t || e}'`, Jl = (e) => (t) => {
1988
+ }), _t = /^https?:\/\//, rt = /^[\w-_.+]+@[\w-_.+]+$/, Nl = (e) => (e || "").match(rt) ? !0 : "Value should be a valid e-mail address", Xl = (e) => (e || "").split(",").map((s) => s.trim()).every((s) => s.match(rt)) || "Value should be one or multiple comma-delimited e-mail addresses", Zl = (e) => (he(e) && (e = e.trim()), e ? !0 : "Value is required"), Ql = (e, t) => (r, s) => r === s.form[e] ? !0 : `Value must be the same as in field '${t || e}'`, Jl = (e) => (t) => {
1991
1989
  const { minLength: r, maxLength: s } = e;
1992
- return t = $s(t) ? "" : t, he(t) ? !me(r) && t.length < r ? `Value needs to be at least ${r} characters long` : !me(s) && t.length > s ? `Value needs to be no more than ${s} characters long` : !0 : "Value should be a text string";
1990
+ return t = Is(t) ? "" : t, he(t) ? !me(r) && t.length < r ? `Value needs to be at least ${r} characters long` : !me(s) && t.length > s ? `Value needs to be no more than ${s} characters long` : !0 : "Value should be a text string";
1993
1991
  }, Yl = (e) => (t) => {
1994
1992
  const { match: r, message: s } = e;
1995
1993
  return he(t) ? r ? he(r) ? t.includes(r) ? !0 : s : r.test(t) ? !0 : s : !0 : "Value should be a text string";
1996
- }, ea = (e) => Vt.test(e) ? !0 : "Value is not a valid URL", ta = (e) => Array.isArray(e) && e.length > 0 ? !0 : "Value should have at least a single item selected", oi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1994
+ }, ea = (e) => _t.test(e) ? !0 : "Value is not a valid URL", ta = (e) => Array.isArray(e) && e.length > 0 ? !0 : "Value should have at least a single item selected", oi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1997
1995
  __proto__: null,
1998
1996
  VALID_EMAIL: rt,
1999
- VALID_HTTP_URL: Vt,
1997
+ VALID_HTTP_URL: _t,
2000
1998
  isEmail: Nl,
2001
1999
  isItemSelected: ta,
2002
2000
  isOneOrMultipleEmails: Xl,
@@ -2006,7 +2004,7 @@ const zl = ["for"], Pl = { class: "relative" }, Tl = ["id", "name", "placeholder
2006
2004
  isUrl: ea,
2007
2005
  stringContains: Yl
2008
2006
  }, Symbol.toStringTag, { value: "Module" }));
2009
- function jt(e) {
2007
+ function Vt(e) {
2010
2008
  const {
2011
2009
  skipCalculation: t,
2012
2010
  elementToWatchForChanges: r,
@@ -2025,19 +2023,19 @@ function jt(e) {
2025
2023
  }
2026
2024
  m.value = k - y;
2027
2025
  };
2028
- return o && Bt(r, u), n && Ls(r, u, {
2026
+ return o && It(r, u), n && Os(r, u, {
2029
2027
  childList: !0,
2030
2028
  subtree: !0
2031
2029
  }), {
2032
2030
  hiddenItemCount: m
2033
2031
  };
2034
2032
  }
2035
- function Mt(e) {
2033
+ function jt(e) {
2036
2034
  const { props: t, emit: r, dynamicVisibility: s } = e;
2037
2035
  let o;
2038
2036
  if (s) {
2039
2037
  const { elementToWatchForChanges: d, itemContainer: y } = s;
2040
- o = jt({
2038
+ o = Vt({
2041
2039
  skipCalculation: h(() => {
2042
2040
  var v;
2043
2041
  return !((v = t.multiple) != null && v.value);
@@ -2073,23 +2071,25 @@ function Mt(e) {
2073
2071
  firstItem: (d) => m(d) ? d[0] : d
2074
2072
  };
2075
2073
  }
2076
- const sa = (e) => (qt("data-v-89e77cae"), e = e(), Ht(), e), na = /* @__PURE__ */ sa(() => /* @__PURE__ */ c("div", { class: "swoosher relative top-0 bg-blue-500/50" }, null, -1)), la = [
2074
+ const sa = (e) => (Wt("data-v-985badae"), e = e(), qt(), e), na = /* @__PURE__ */ sa(() => /* @__PURE__ */ c("div", { class: "swoosher relative top-0 bg-blue-500/50" }, null, -1)), la = [
2077
2075
  na
2078
2076
  ], aa = /* @__PURE__ */ E({
2079
2077
  __name: "Bar",
2080
2078
  props: {
2081
- loading: { type: Boolean }
2079
+ loading: { type: Boolean },
2080
+ clientOnly: { type: Boolean }
2082
2081
  },
2083
2082
  setup(e) {
2084
- return (t, r) => (a(), f("div", {
2083
+ const t = e, r = St(), s = h(() => (r.value || !t.clientOnly) && t.loading);
2084
+ return (o, n) => (a(), f("div", {
2085
2085
  class: x([
2086
2086
  "relative w-full h-1 bg-blue-500/30 text-xs text-foreground-on-primary overflow-hidden rounded-xl",
2087
- e.loading ? "opacity-100" : "opacity-0"
2087
+ s.value ? "opacity-100" : "opacity-0"
2088
2088
  ])
2089
2089
  }, la, 2));
2090
2090
  }
2091
2091
  });
2092
- const it = /* @__PURE__ */ De(aa, [["__scopeId", "data-v-89e77cae"]]), oa = {
2092
+ const it = /* @__PURE__ */ De(aa, [["__scopeId", "data-v-985badae"]]), oa = {
2093
2093
  key: 0,
2094
2094
  class: "text-danger text-xs opacity-80"
2095
2095
  }, ra = { class: "flex items-center justify-between w-full" }, ia = { class: "pointer-events-none shrink-0 ml-1 flex items-center space-x-2" }, ua = {
@@ -2103,7 +2103,7 @@ const it = /* @__PURE__ */ De(aa, [["__scopeId", "data-v-89e77cae"]]), oa = {
2103
2103
  class: "px-1"
2104
2104
  }, ga = { key: 1 }, ba = { class: "text-foreground-2 text-center" }, ya = {
2105
2105
  class: /* @__PURE__ */ x(["block truncate"])
2106
- }, xa = ["id"], At = /* @__PURE__ */ E({
2106
+ }, xa = ["id"], Mt = /* @__PURE__ */ E({
2107
2107
  __name: "Base",
2108
2108
  props: {
2109
2109
  multiple: {
@@ -2281,12 +2281,12 @@ const it = /* @__PURE__ */ De(aa, [["__scopeId", "data-v-89e77cae"]]), oa = {
2281
2281
  },
2282
2282
  emits: ["update:modelValue"],
2283
2283
  setup(e, { expose: t, emit: r }) {
2284
- const s = (S) => Ke(S), o = r, n = e, { value: m, errorMessage: u } = je(n.name, n.rules, {
2284
+ const s = (S) => Ke(S), o = r, n = e, { value: m, errorMessage: u } = Me(n.name, n.rules, {
2285
2285
  validateOnMount: n.validateOnMount,
2286
2286
  validateOnValueUpdate: n.validateOnValueUpdate,
2287
2287
  // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
2288
2288
  initialValue: n.modelValue
2289
- }), i = Os(), d = O(null), y = O(null), k = O(null), v = O(""), b = O([]), g = O(!1), j = O(1), C = O(Fe()), $ = O(!1), w = _s(
2289
+ }), i = St(), d = O(null), y = O(null), k = O(null), v = O(""), b = O([]), g = O(!1), j = O(1), C = O(Fe()), $ = O(!1), w = _s(
2290
2290
  h(() => {
2291
2291
  var S;
2292
2292
  return (S = k.value) == null ? void 0 : S.el;
@@ -2314,7 +2314,7 @@ const it = /* @__PURE__ */ De(aa, [["__scopeId", "data-v-89e77cae"]]), oa = {
2314
2314
  ), fe = h(() => {
2315
2315
  const S = ["relative flex group"];
2316
2316
  return u.value ? (S.push("hover:shadow rounded-md"), S.push("text-danger-darker focus:border-danger focus:ring-danger"), n.buttonStyle !== "simple" && S.push("outline outline-2 outline-danger")) : n.buttonStyle !== "simple" && (S.push("rounded-md border"), $.value ? S.push("border-outline-1") : S.push("border-outline-3")), n.fixedHeight && S.push("h-8"), S.join(" ");
2317
- }), Me = h(() => {
2317
+ }), Ae = h(() => {
2318
2318
  const S = [];
2319
2319
  return n.buttonStyle !== "simple" && S.push(
2320
2320
  pe.value ? "bg-foundation-disabled text-foreground-disabled" : ""
@@ -2325,7 +2325,7 @@ const it = /* @__PURE__ */ De(aa, [["__scopeId", "data-v-89e77cae"]]), oa = {
2325
2325
  "flex items-center justify-center text-center shrink-0",
2326
2326
  "rounded-r-md overflow-hidden transition-all",
2327
2327
  "text-foreground",
2328
- Ce.value ? `w-6 ${Me.value}` : "w-0"
2328
+ Ce.value ? `w-6 ${Ae.value}` : "w-0"
2329
2329
  ];
2330
2330
  return pe.value || (S.push(
2331
2331
  "hover:bg-primary hover:text-foreground-on-primary dark:text-foreground-on-primary"
@@ -2335,12 +2335,12 @@ const it = /* @__PURE__ */ De(aa, [["__scopeId", "data-v-89e77cae"]]), oa = {
2335
2335
  "relative z-[2]",
2336
2336
  "normal rounded-md cursor-pointer transition truncate flex-1",
2337
2337
  "flex items-center",
2338
- Me.value
2338
+ Ae.value
2339
2339
  ];
2340
- return n.buttonStyle !== "simple" && (S.push("py-2 px-3"), pe.value || (n.buttonStyle === "tinted" ? S.push("bg-foundation-page text-foreground") : S.push("bg-foundation text-foreground"))), N.value && Ce.value && S.push("rounded-r-none"), S.join(" ");
2341
- }), be = h(
2340
+ return n.buttonStyle !== "simple" && (S.push("p-2"), pe.value || (n.buttonStyle === "tinted" ? S.push("bg-foundation-page text-foreground") : S.push("bg-foundation text-foreground"))), N.value && Ce.value && S.push("rounded-r-none"), S.join(" ");
2341
+ }), ye = h(
2342
2342
  () => !!(n.search && (n.filterPredicate || n.getSearchResults))
2343
- ), le = h(() => be.value && n.getSearchResults), pe = h(
2343
+ ), le = h(() => ye.value && n.getSearchResults), pe = h(
2344
2344
  () => n.disabled || !n.items.length && !le.value
2345
2345
  ), X = h({
2346
2346
  get: () => {
@@ -2368,7 +2368,7 @@ const it = /* @__PURE__ */ De(aa, [["__scopeId", "data-v-89e77cae"]]), oa = {
2368
2368
  n.multiple ? X.value = [] : X.value = void 0;
2369
2369
  }, $e = h(() => {
2370
2370
  const S = v.value;
2371
- return !be.value || !(S != null && S.length) ? b.value : n.filterPredicate ? b.value.filter(
2371
+ return !ye.value || !(S != null && S.length) ? b.value : n.filterPredicate ? b.value.filter(
2372
2372
  (K) => {
2373
2373
  var H;
2374
2374
  return ((H = n.filterPredicate) == null ? void 0 : H.call(n, K, S)) || !1;
@@ -2376,7 +2376,7 @@ const it = /* @__PURE__ */ De(aa, [["__scopeId", "data-v-89e77cae"]]), oa = {
2376
2376
  ) : b.value;
2377
2377
  }), R = h(() => {
2378
2378
  const S = [
2379
- "rounded-md bg-foundation-2 py-1 label label--light outline outline-2 outline-primary-muted focus:outline-none shadow mt-1 "
2379
+ "rounded-md bg-foundation-2 py-1 label label--light border border-outline-3 shadow-md mt-1 "
2380
2380
  ];
2381
2381
  return n.mountMenuOnBody ? S.push("fixed z-50") : S.push("absolute top-[100%] w-full z-10"), S.join(" ");
2382
2382
  }), U = h(() => {
@@ -2395,7 +2395,7 @@ const it = /* @__PURE__ */ De(aa, [["__scopeId", "data-v-89e77cae"]]), oa = {
2395
2395
  g.value = !1;
2396
2396
  }
2397
2397
  }
2398
- }, Ie = Ee(Y, 1e3), Se = (S) => {
2398
+ }, Ie = Re(Y, 1e3), Se = (S) => {
2399
2399
  const { active: K, disabled: H } = S || {}, { hideCheckmarks: ne } = n, ae = [
2400
2400
  "relative transition cursor-pointer select-none py-1.5 pl-3",
2401
2401
  ne ? "" : "pr-9"
@@ -2459,16 +2459,16 @@ const it = /* @__PURE__ */ De(aa, [["__scopeId", "data-v-89e77cae"]]), oa = {
2459
2459
  ])
2460
2460
  ], 2),
2461
2461
  c("div", ia, [
2462
- z.value ? (a(), V(l(ss), {
2462
+ z.value ? (a(), V(l(je), {
2463
2463
  key: 0,
2464
2464
  class: "h-4 w-4 text-danger",
2465
2465
  "aria-hidden": "true"
2466
2466
  })) : !e.showLabel && e.showRequired ? (a(), f("div", ua, " * ")) : I("", !0),
2467
- H ? (a(), V(l(Ct), {
2467
+ H ? (a(), V(l(ys), {
2468
2468
  key: 2,
2469
2469
  class: "h-4 w-4 text-foreground",
2470
2470
  "aria-hidden": "true"
2471
- })) : (a(), V(l(ns), {
2471
+ })) : (a(), V(l(xs), {
2472
2472
  key: 3,
2473
2473
  class: "h-4 w-4 text-foreground",
2474
2474
  "aria-hidden": "true"
@@ -2485,7 +2485,7 @@ const it = /* @__PURE__ */ De(aa, [["__scopeId", "data-v-89e77cae"]]), oa = {
2485
2485
  disabled: e.disabled,
2486
2486
  onClick: K[0] || (K[0] = (H) => qe())
2487
2487
  }, [
2488
- _(l(lt), { class: "w-3 h-3" })
2488
+ _(l(ve), { class: "w-3 h-3" })
2489
2489
  ], 10, ca)) : I("", !0),
2490
2490
  l(i) ? (a(), V(Ye, {
2491
2491
  key: 1,
@@ -2494,7 +2494,7 @@ const it = /* @__PURE__ */ De(aa, [["__scopeId", "data-v-89e77cae"]]), oa = {
2494
2494
  "leave-to-class": "opacity-0"
2495
2495
  }, {
2496
2496
  default: A(() => [
2497
- (a(), V(Kt, {
2497
+ (a(), V(Ht, {
2498
2498
  to: "body",
2499
2499
  disabled: !e.mountMenuOnBody
2500
2500
  }, [
@@ -2509,11 +2509,11 @@ const it = /* @__PURE__ */ De(aa, [["__scopeId", "data-v-89e77cae"]]), oa = {
2509
2509
  })
2510
2510
  }, {
2511
2511
  default: A(() => [
2512
- be.value ? (a(), f("label", da, [
2512
+ ye.value ? (a(), f("label", da, [
2513
2513
  fa,
2514
2514
  c("div", pa, [
2515
2515
  c("div", ma, [
2516
- _(l(ls), { class: "h-4 w-4 text-foreground-2" })
2516
+ _(l(ks), { class: "h-4 w-4 text-foreground-2" })
2517
2517
  ]),
2518
2518
  re(c("input", {
2519
2519
  ref_key: "searchInput",
@@ -2522,7 +2522,7 @@ const it = /* @__PURE__ */ De(aa, [["__scopeId", "data-v-89e77cae"]]), oa = {
2522
2522
  type: "text",
2523
2523
  class: "py-1 pl-7 w-full bg-foundation-page rounded-[5px] placeholder:font-normal normal placeholder:text-foreground-2 focus:outline-none focus:ring-1 border-outline-3 focus:border-outline-1 focus:ring-outline-1 text-sm",
2524
2524
  placeholder: e.searchPlaceholder,
2525
- onKeydown: K[2] || (K[2] = ge(() => {
2525
+ onKeydown: K[2] || (K[2] = be(() => {
2526
2526
  }, ["stop"]))
2527
2527
  }, null, 40, ha), [
2528
2528
  [et, v.value]
@@ -2530,7 +2530,7 @@ const it = /* @__PURE__ */ De(aa, [["__scopeId", "data-v-89e77cae"]]), oa = {
2530
2530
  ])
2531
2531
  ])) : I("", !0),
2532
2532
  c("div", {
2533
- class: x(["overflow-auto simple-scrollbar", [be.value ? "max-h-52" : "max-h-40"]])
2533
+ class: x(["overflow-auto simple-scrollbar", [ye.value ? "max-h-52" : "max-h-40"]])
2534
2534
  }, [
2535
2535
  le.value && g.value ? (a(), f("div", va, [
2536
2536
  _(it, { loading: !0 })
@@ -2579,7 +2579,7 @@ const it = /* @__PURE__ */ De(aa, [["__scopeId", "data-v-89e77cae"]]), oa = {
2579
2579
  "absolute inset-y-0 right-0 flex items-center pr-4"
2580
2580
  ])
2581
2581
  }, [
2582
- _(l($t), {
2582
+ _(l(lt), {
2583
2583
  class: "h-5 w-5",
2584
2584
  "aria-hidden": "true"
2585
2585
  })
@@ -2704,16 +2704,16 @@ const it = /* @__PURE__ */ De(aa, [["__scopeId", "data-v-89e77cae"]]), oa = {
2704
2704
  },
2705
2705
  emits: ["update:modelValue"],
2706
2706
  setup(e, { emit: t }) {
2707
- const r = t, s = e, o = O(null), n = O(null), { selectedValue: m, hiddenSelectedItemCount: u, isMultiItemArrayValue: i, firstItem: d } = Mt({
2707
+ const r = t, s = e, o = O(null), n = O(null), { selectedValue: m, hiddenSelectedItemCount: u, isMultiItemArrayValue: i, firstItem: d } = jt({
2708
2708
  props: ie(s),
2709
2709
  emit: r,
2710
2710
  dynamicVisibility: { elementToWatchForChanges: o, itemContainer: n }
2711
2711
  }), y = (k, v) => k.name.toLocaleLowerCase().includes(v.toLocaleLowerCase());
2712
- return (k, v) => (a(), V(At, {
2712
+ return (k, v) => (a(), V(Mt, {
2713
2713
  modelValue: l(m),
2714
- "onUpdate:modelValue": v[0] || (v[0] = (b) => Te(m) ? m.value = b : null),
2714
+ "onUpdate:modelValue": v[0] || (v[0] = (b) => Ee(m) ? m.value = b : null),
2715
2715
  multiple: e.multiple,
2716
- items: e.items ?? l(Is),
2716
+ items: e.items ?? l(Ss),
2717
2717
  search: e.search,
2718
2718
  "search-placeholder": e.searchPlaceholder,
2719
2719
  label: e.label,
@@ -2787,15 +2787,15 @@ const it = /* @__PURE__ */ De(aa, [["__scopeId", "data-v-89e77cae"]]), oa = {
2787
2787
  },
2788
2788
  emits: ["update:modelValue"],
2789
2789
  setup(e, { emit: t }) {
2790
- const r = t, s = e, { selectedValue: o, isArrayValue: n } = Mt({
2790
+ const r = t, s = e, { selectedValue: o, isArrayValue: n } = jt({
2791
2791
  props: ie(s),
2792
2792
  emit: r
2793
2793
  }), m = (u) => {
2794
2794
  n(o.value) ? o.value = o.value.filter((i) => i.id !== u.id) : o.value = void 0;
2795
2795
  };
2796
- return (u, i) => (a(), V(At, {
2796
+ return (u, i) => (a(), V(Mt, {
2797
2797
  modelValue: l(o),
2798
- "onUpdate:modelValue": i[0] || (i[0] = (d) => Te(o) ? o.value = d : null),
2798
+ "onUpdate:modelValue": i[0] || (i[0] = (d) => Ee(o) ? o.value = d : null),
2799
2799
  multiple: e.multiple,
2800
2800
  items: e.items,
2801
2801
  label: e.label,
@@ -2814,8 +2814,8 @@ const it = /* @__PURE__ */ De(aa, [["__scopeId", "data-v-89e77cae"]]), oa = {
2814
2814
  _(at, {
2815
2815
  size: "lg",
2816
2816
  "clickable-icon": !0,
2817
- "icon-left": l(lt),
2818
- onClickIcon: ge((k) => m(y), ["stop"])
2817
+ "icon-left": l(Ct),
2818
+ onClickIcon: be((k) => m(y), ["stop"])
2819
2819
  }, {
2820
2820
  default: A(() => [
2821
2821
  D(L(y.text), 1)
@@ -2833,7 +2833,7 @@ const it = /* @__PURE__ */ De(aa, [["__scopeId", "data-v-89e77cae"]]), oa = {
2833
2833
  }
2834
2834
  }), La = { class: "flex items-center gap-2" }, Oa = { class: "absolute inset-0 flex items-center gap-2 px-1 text-white" }, _a = ["for"], ui = /* @__PURE__ */ E({
2835
2835
  __name: "Switch",
2836
- props: /* @__PURE__ */ ke({
2836
+ props: /* @__PURE__ */ we({
2837
2837
  icons: { type: Boolean },
2838
2838
  showLabel: { type: Boolean, default: !0 },
2839
2839
  name: null,
@@ -2874,10 +2874,10 @@ const it = /* @__PURE__ */ De(aa, [["__scopeId", "data-v-89e77cae"]]), oa = {
2874
2874
  }, {
2875
2875
  default: A(() => [
2876
2876
  c("div", Oa, [
2877
- _(l($t), {
2877
+ _(l(ts), {
2878
2878
  class: x(["h-5 w-5 drop-shadow-md", e.icons ? "opacity-100" : "opacity-0"])
2879
2879
  }, null, 8, ["class"]),
2880
- _(l(lt), {
2880
+ _(l(Ct), {
2881
2881
  class: x(["h-5 w-5 drop-shadow-md", e.icons ? "opacity-100" : "opacity-0"])
2882
2882
  }, null, 8, ["class"])
2883
2883
  ]),
@@ -2919,7 +2919,7 @@ const it = /* @__PURE__ */ De(aa, [["__scopeId", "data-v-89e77cae"]]), oa = {
2919
2919
  e.isMultiline ? (a(), f("div", {
2920
2920
  key: 0,
2921
2921
  class: "relative z-10 text-xs sm:text-sm text-foreground font-mono break-all p-2 pl-3 max-h-[4.8rem] simple-scrollbar overflow-y-auto",
2922
- onKeypress: d[0] || (d[0] = (y) => l(Ot)(u))
2922
+ onKeypress: d[0] || (d[0] = (y) => l(Lt)(u))
2923
2923
  }, L(e.value), 33)) : (a(), V(l(Gl), {
2924
2924
  key: 1,
2925
2925
  color: "transparent",
@@ -2932,7 +2932,7 @@ const it = /* @__PURE__ */ De(aa, [["__scopeId", "data-v-89e77cae"]]), oa = {
2932
2932
  _(l(ce), {
2933
2933
  color: "invert",
2934
2934
  size: "sm",
2935
- "icon-left": n.value ? l(fs) : l(ps),
2935
+ "icon-left": n.value ? l(cs) : l(ds),
2936
2936
  "hide-text": "",
2937
2937
  onClick: m
2938
2938
  }, null, 8, ["icon-left"])
@@ -2941,7 +2941,7 @@ const it = /* @__PURE__ */ De(aa, [["__scopeId", "data-v-89e77cae"]]), oa = {
2941
2941
  }
2942
2942
  });
2943
2943
  var _e = /* @__PURE__ */ ((e) => (e.CtrlOrCmd = "cmd-or-ctrl", e.AltOrOpt = "alt-or-opt", e.Shift = "shift", e))(_e || {});
2944
- const Ze = Ss(), Ma = {
2944
+ const Ze = Bs(), Ma = {
2945
2945
  "cmd-or-ctrl": Ze === Xe.Mac ? "Cmd" : "Ctrl",
2946
2946
  "alt-or-opt": Ze === Xe.Mac ? "Opt" : "Alt",
2947
2947
  shift: "Shift"
@@ -2984,7 +2984,7 @@ function pi(e) {
2984
2984
  }
2985
2985
  const Aa = /* @__PURE__ */ c("div", { class: "fixed top-0 left-0 w-full h-full bg-neutral-100/70 dark:bg-neutral-900/70 transition-opacity backdrop-blur-xs" }, null, -1), za = { class: "fixed top-0 left-0 z-10 h-screen !h-[100dvh] w-screen" }, Pa = { class: "flex justify-center items-center h-full w-full p-4 sm:p-0" }, Ta = {
2986
2986
  key: 0,
2987
- class: "flex items-center justify-start rounded-t-lg shrink-0 min-h-[2rem] sm:min-h-[4rem] py-2 px-4 sm:px-8 truncate text-lg sm:text-2xl font-bold"
2987
+ class: "flex items-center justify-start rounded-t-lg shrink-0 min-h-[2rem] sm:min-h-[4rem] p-4 sm:p-6 truncate text-lg sm:text-2xl font-bold"
2988
2988
  }, Ea = { class: "w-full truncate pr-12" }, Ra = /* @__PURE__ */ c("button", {
2989
2989
  class: "hidden",
2990
2990
  type: "button"
@@ -3003,7 +3003,7 @@ const Aa = /* @__PURE__ */ c("div", { class: "fixed top-0 left-0 w-full h-full b
3003
3003
  emits: ["update:open", "fully-closed"],
3004
3004
  setup(e, { emit: t }) {
3005
3005
  const r = t, s = e, o = tt(), n = O(!1), m = O(!0), u = O(null);
3006
- Bt(
3006
+ It(
3007
3007
  u,
3008
3008
  Ge(() => {
3009
3009
  C({ target: u.value });
@@ -3040,13 +3040,13 @@ const Aa = /* @__PURE__ */ c("div", { class: "fixed top-0 left-0 w-full h-full b
3040
3040
  n.value = B > 0, m.value = B + z >= p;
3041
3041
  }, 60);
3042
3042
  return te(k, ($) => {
3043
- if (ve) {
3043
+ if (ge) {
3044
3044
  const w = document.documentElement;
3045
3045
  $ ? w.classList.add("dialog-open") : w.classList.remove("dialog-open");
3046
3046
  }
3047
- }), Gt(() => {
3048
- ve && document.documentElement.classList.remove("dialog-open");
3049
- }), ($, w) => (a(), V(l(Lt), {
3047
+ }), Kt(() => {
3048
+ ge && document.documentElement.classList.remove("dialog-open");
3049
+ }), ($, w) => (a(), V(l(Bt), {
3050
3050
  as: "template",
3051
3051
  show: k.value
3052
3052
  }, {
@@ -3090,7 +3090,7 @@ const Aa = /* @__PURE__ */ c("div", { class: "fixed top-0 left-0 w-full h-full b
3090
3090
  b.value
3091
3091
  ]),
3092
3092
  as: i.value ? "form" : "div",
3093
- onSubmit: ge(j, ["prevent"])
3093
+ onSubmit: be(j, ["prevent"])
3094
3094
  }, {
3095
3095
  default: A(() => [
3096
3096
  c("div", {
@@ -3110,12 +3110,12 @@ const Aa = /* @__PURE__ */ c("div", { class: "fixed top-0 left-0 w-full h-full b
3110
3110
  class: x(["absolute z-20 bg-foundation rounded-full p-1", y.value ? "top-2 right-3 sm:top-4" : "right-4 top-3"]),
3111
3111
  onClick: w[0] || (w[0] = (B) => k.value = !1)
3112
3112
  }, [
3113
- _(l(ms), { class: "h-5 sm:h-6 w-5 sm:w-6" })
3113
+ _(l(fs), { class: "h-5 sm:h-6 w-5 sm:w-6" })
3114
3114
  ], 2)),
3115
3115
  c("div", {
3116
3116
  ref_key: "slotContainer",
3117
3117
  ref: u,
3118
- class: x(["flex-1 simple-scrollbar overflow-y-auto text-sm sm:text-base", y.value ? "p-3 sm:py-6 sm:px-8" : "p-6 pt-10 sm:p-10"]),
3118
+ class: x(["flex-1 simple-scrollbar overflow-y-auto text-sm sm:text-base", y.value ? "px-4 pb-4 sm:px-6" : "p-4 sm:p-6"]),
3119
3119
  onScroll: w[1] || (w[1] = //@ts-ignore
3120
3120
  (...B) => l(C) && l(C)(...B))
3121
3121
  }, [
@@ -3125,7 +3125,7 @@ const Aa = /* @__PURE__ */ c("div", { class: "fixed top-0 left-0 w-full h-full b
3125
3125
  ], 34),
3126
3126
  d.value ? (a(), f("div", {
3127
3127
  key: 1,
3128
- class: x(["relative z-50 flex px-4 py-2 sm:py-4 sm:px-6 gap-2 shrink-0 bg-foundation", {
3128
+ class: x(["relative z-50 flex p-4 sm:p-6 gap-3 shrink-0 bg-foundation", {
3129
3129
  "shadow-t": !m.value,
3130
3130
  [e.buttonsWrapperClasses || ""]: !0
3131
3131
  }])
@@ -3211,7 +3211,7 @@ const Fa = {
3211
3211
  }
3212
3212
  }), u = async () => {
3213
3213
  var i;
3214
- o.value = !o.value, o.value && (await Nt(), s.value = (((i = l(r)) == null ? void 0 : i.scrollHeight) || 0) + 64);
3214
+ o.value = !o.value, o.value && (await Gt(), s.value = (((i = l(r)) == null ? void 0 : i.scrollHeight) || 0) + 64);
3215
3215
  };
3216
3216
  return (i, d) => {
3217
3217
  var y, k;
@@ -3228,7 +3228,7 @@ const Fa = {
3228
3228
  }, pt(
3229
3229
  !e.button && !e.alwaysOpen ? {
3230
3230
  click: u,
3231
- keypress: l(Ot)(u)
3231
+ keypress: l(Lt)(u)
3232
3232
  } : {},
3233
3233
  !0
3234
3234
  )), [
@@ -3245,7 +3245,7 @@ const Fa = {
3245
3245
  c("span", null, L(e.title), 1)
3246
3246
  ], 2),
3247
3247
  c("div", null, [
3248
- !e.button && !e.alwaysOpen ? (a(), V(l(hs), {
3248
+ !e.button && !e.alwaysOpen ? (a(), V(l(ps), {
3249
3249
  key: 0,
3250
3250
  class: x(["w-4 h-4 sm:w-5 sm:h-5 transition-all duration-400", o.value && "rotate-180"])
3251
3251
  }, null, 8, ["class"])) : I("", !0),
@@ -3367,7 +3367,7 @@ const Fa = {
3367
3367
  })) : I("", !0),
3368
3368
  c("span", null, L(e.title), 1)
3369
3369
  ]),
3370
- _(l(Ct), {
3370
+ _(l(ss), {
3371
3371
  class: x([m ? "" : "rotate-180 transform", "h-5 w-5"])
3372
3372
  }, null, 8, ["class"])
3373
3373
  ]),
@@ -3391,7 +3391,7 @@ const Fa = {
3391
3391
  ]));
3392
3392
  }
3393
3393
  });
3394
- var xe = /* @__PURE__ */ ((e) => (e.Grid = "grid", e.List = "list", e))(xe || {});
3394
+ var ke = /* @__PURE__ */ ((e) => (e.Grid = "grid", e.List = "list", e))(ke || {});
3395
3395
  const Wa = { class: "relative flex bg-primary-muted rounded-md" }, qa = /* @__PURE__ */ c("div", { class: "w-7 h-7 bg-foundation dark:bg-foundation-2 transition rounded shadow" }, null, -1), Ha = [
3396
3396
  qa
3397
3397
  ], Ka = { class: "relative z-10 flex gap-1 items-center p-1 rounded-l" }, Ga = { class: "relative z-10 flex gap-1 items-center p-1 rounded-r" }, gi = /* @__PURE__ */ E({
@@ -3402,11 +3402,11 @@ const Wa = { class: "relative flex bg-primary-muted rounded-md" }, qa = /* @__PU
3402
3402
  emits: ["click", "update:modelValue"],
3403
3403
  setup(e, { emit: t }) {
3404
3404
  const r = t, s = e, o = h({
3405
- get: () => s.modelValue || xe.Grid,
3405
+ get: () => s.modelValue || ke.Grid,
3406
3406
  set: (m) => r("update:modelValue", m)
3407
3407
  }), n = (m) => {
3408
3408
  r("click", m);
3409
- const u = o.value === xe.Grid ? xe.List : xe.Grid;
3409
+ const u = o.value === ke.Grid ? ke.List : ke.Grid;
3410
3410
  o.value = u;
3411
3411
  };
3412
3412
  return (m, u) => {
@@ -3418,16 +3418,16 @@ const Wa = { class: "relative flex bg-primary-muted rounded-md" }, qa = /* @__PU
3418
3418
  c("div", Wa, [
3419
3419
  c("div", {
3420
3420
  class: x(["absolute transition", {
3421
- "translate-x-7": o.value !== l(xe).List
3421
+ "translate-x-7": o.value !== l(ke).List
3422
3422
  }])
3423
3423
  }, Ha, 2),
3424
3424
  re((a(), f("div", Ka, [
3425
- _(l(as), { class: "h-5 w-5" })
3425
+ _(l(ns), { class: "h-5 w-5" })
3426
3426
  ])), [
3427
3427
  [i, "List View"]
3428
3428
  ]),
3429
3429
  re((a(), f("div", Ga, [
3430
- _(l(os), { class: "h-5 w-5" })
3430
+ _(l(ls), { class: "h-5 w-5" })
3431
3431
  ])), [
3432
3432
  [i, "Grid View"]
3433
3433
  ])
@@ -3438,19 +3438,19 @@ const Wa = { class: "relative flex bg-primary-muted rounded-md" }, qa = /* @__PU
3438
3438
  });
3439
3439
  var Na = /* @__PURE__ */ ((e) => (e[e.Throttle = 0] = "Throttle", e[e.Debounce = 1] = "Debounce", e))(Na || {}), Qe = /* @__PURE__ */ ((e) => (e[e.Left = 0] = "Left", e[e.Right = 1] = "Right", e))(Qe || {});
3440
3440
  function Xa(e, t) {
3441
- if (!ve)
3441
+ if (!ge)
3442
3442
  return;
3443
3443
  const {
3444
3444
  wait: r = 100,
3445
3445
  throttleOrDebounce: s = 0
3446
3446
  /* Throttle */
3447
- } = t || {}, o = r ? s === 0 ? Ge(e, r) : Ee(e, r) : e;
3448
- se(() => window.addEventListener("resize", o)), Pe(() => window.removeEventListener("resize", o));
3447
+ } = t || {}, o = r ? s === 0 ? Ge(e, r) : Re(e, r) : e;
3448
+ se(() => window.addEventListener("resize", o)), Te(() => window.removeEventListener("resize", o));
3449
3449
  }
3450
3450
  function bi(e) {
3451
3451
  se(() => {
3452
3452
  window.addEventListener("beforeunload", e);
3453
- }), Pe(() => {
3453
+ }), Te(() => {
3454
3454
  window.removeEventListener("beforeunload", e);
3455
3455
  });
3456
3456
  }
@@ -3465,7 +3465,7 @@ function Za(e) {
3465
3465
  const u = l(t);
3466
3466
  return u != null && u.offsetWidth ? u.offsetWidth * 2 : void 0;
3467
3467
  }), n = () => {
3468
- if (!ve)
3468
+ if (!ge)
3469
3469
  return;
3470
3470
  const m = l(t);
3471
3471
  if (!m)
@@ -3531,7 +3531,7 @@ const Qa = ["disabled", "onClick"], yi = /* @__PURE__ */ E({
3531
3531
  ref_key: "menuButton",
3532
3532
  ref: m,
3533
3533
  class: "hidden",
3534
- onClick: g[0] || (g[0] = ge(() => {
3534
+ onClick: g[0] || (g[0] = be(() => {
3535
3535
  }, ["stop", "prevent"]))
3536
3536
  }, null, 8, ["id"]),
3537
3537
  c("div", {
@@ -3606,10 +3606,10 @@ const Qa = ["disabled", "onClick"], yi = /* @__PURE__ */ E({
3606
3606
  var Ja = typeof global == "object" && global && global.Object === Object && global;
3607
3607
  const Ya = Ja;
3608
3608
  var eo = typeof self == "object" && self && self.Object === Object && self, to = Ya || eo || Function("return this")();
3609
- const zt = to;
3610
- var so = zt.Symbol;
3611
- const Ae = so;
3612
- var Pt = Object.prototype, no = Pt.hasOwnProperty, lo = Pt.toString, Be = Ae ? Ae.toStringTag : void 0;
3609
+ const At = to;
3610
+ var so = At.Symbol;
3611
+ const ze = so;
3612
+ var zt = Object.prototype, no = zt.hasOwnProperty, lo = zt.toString, Be = ze ? ze.toStringTag : void 0;
3613
3613
  function ao(e) {
3614
3614
  var t = no.call(e, Be), r = e[Be];
3615
3615
  try {
@@ -3624,7 +3624,7 @@ var oo = Object.prototype, ro = oo.toString;
3624
3624
  function io(e) {
3625
3625
  return ro.call(e);
3626
3626
  }
3627
- var uo = "[object Null]", co = "[object Undefined]", gt = Ae ? Ae.toStringTag : void 0;
3627
+ var uo = "[object Null]", co = "[object Undefined]", gt = ze ? ze.toStringTag : void 0;
3628
3628
  function fo(e) {
3629
3629
  return e == null ? e === void 0 ? co : uo : gt && gt in Object(e) ? ao(e) : io(e);
3630
3630
  }
@@ -3645,7 +3645,7 @@ var bo = /^\s+/;
3645
3645
  function yo(e) {
3646
3646
  return e && e.slice(0, go(e) + 1).replace(bo, "");
3647
3647
  }
3648
- function ze(e) {
3648
+ function Pe(e) {
3649
3649
  var t = typeof e;
3650
3650
  return e != null && (t == "object" || t == "function");
3651
3651
  }
@@ -3655,9 +3655,9 @@ function yt(e) {
3655
3655
  return e;
3656
3656
  if (ho(e))
3657
3657
  return bt;
3658
- if (ze(e)) {
3658
+ if (Pe(e)) {
3659
3659
  var t = typeof e.valueOf == "function" ? e.valueOf() : e;
3660
- e = ze(t) ? t + "" : t;
3660
+ e = Pe(t) ? t + "" : t;
3661
3661
  }
3662
3662
  if (typeof e != "string")
3663
3663
  return e === 0 ? e : +e;
@@ -3666,7 +3666,7 @@ function yt(e) {
3666
3666
  return r || wo.test(e) ? Co(e.slice(2), r ? 2 : 8) : xo.test(e) ? bt : +e;
3667
3667
  }
3668
3668
  var $o = function() {
3669
- return zt.Date.now();
3669
+ return At.Date.now();
3670
3670
  };
3671
3671
  const He = $o;
3672
3672
  var Io = "Expected a function", So = Math.max, Bo = Math.min;
@@ -3674,7 +3674,7 @@ function Lo(e, t, r) {
3674
3674
  var s, o, n, m, u, i, d = 0, y = !1, k = !1, v = !0;
3675
3675
  if (typeof e != "function")
3676
3676
  throw new TypeError(Io);
3677
- t = yt(t) || 0, ze(r) && (y = !!r.leading, k = "maxWait" in r, n = k ? So(yt(r.maxWait) || 0, t) : n, v = "trailing" in r ? !!r.trailing : v);
3677
+ t = yt(t) || 0, Pe(r) && (y = !!r.leading, k = "maxWait" in r, n = k ? So(yt(r.maxWait) || 0, t) : n, v = "trailing" in r ? !!r.trailing : v);
3678
3678
  function b(M) {
3679
3679
  var P = s, T = o;
3680
3680
  return s = o = void 0, d = M, m = e.apply(T, P), m;
@@ -3722,7 +3722,7 @@ function _o(e, t, r) {
3722
3722
  var s = !0, o = !0;
3723
3723
  if (typeof e != "function")
3724
3724
  throw new TypeError(Oo);
3725
- return ze(r) && (s = "leading" in r ? !!r.leading : s, o = "trailing" in r ? !!r.trailing : o), Lo(e, t, {
3725
+ return Pe(r) && (s = "leading" in r ? !!r.leading : s, o = "trailing" in r ? !!r.trailing : o), Lo(e, t, {
3726
3726
  leading: s,
3727
3727
  maxWait: t,
3728
3728
  trailing: o
@@ -3733,7 +3733,7 @@ const Vo = { class: "relative z-10 flex gap-4 md:gap-6 flex-col" }, jo = { class
3733
3733
  class: "text-[10px] leading-tight py-0.5 text-foreground-on-primary font-medium px-1.5 rounded-full bg-gradient-to-tr from-[#7025EB] to-primary select-none mt-0.5"
3734
3734
  }, Ro = { class: "absolute right-[-2px] top-[-2px] z-20 pl-8 bg-gradient-to-l from-foundation-page to-transparent" }, xi = /* @__PURE__ */ E({
3735
3735
  __name: "Horizontal",
3736
- props: /* @__PURE__ */ ke({
3736
+ props: /* @__PURE__ */ we({
3737
3737
  items: null
3738
3738
  }, {
3739
3739
  activeItem: { required: !0 },
@@ -3801,13 +3801,13 @@ const Vo = { class: "relative z-10 flex gap-4 md:gap-6 flex-col" }, jo = { class
3801
3801
  });
3802
3802
  };
3803
3803
  return se(() => {
3804
- ve && (t.items.length && !r.value && k(t.items[0]), b(), $());
3804
+ ge && (t.items.length && !r.value && k(t.items[0]), b(), $());
3805
3805
  }), te(
3806
3806
  () => [t.items, r.value],
3807
3807
  ([w]) => {
3808
3808
  Array.isArray(w) && w.length && !r.value && k(w[0]), b();
3809
3809
  }
3810
- ), Pe(() => {
3810
+ ), Te(() => {
3811
3811
  C.cancel();
3812
3812
  }), (w, B) => {
3813
3813
  const z = st("tippy");
@@ -3818,7 +3818,7 @@ const Vo = { class: "relative z-10 flex gap-4 md:gap-6 flex-col" }, jo = { class
3818
3818
  class: "bg-foundation p-1 rounded-full border border-outline-4 shadow",
3819
3819
  onClick: g
3820
3820
  }, [
3821
- _(l(vs), { class: "h-4 w-4" })
3821
+ _(l(ms), { class: "h-4 w-4" })
3822
3822
  ])) : I("", !0)
3823
3823
  ]),
3824
3824
  Mo,
@@ -3883,7 +3883,7 @@ const Vo = { class: "relative z-10 flex gap-4 md:gap-6 flex-col" }, jo = { class
3883
3883
  class: "bg-foundation p-1 rounded-full border border-outline-3 shadow",
3884
3884
  onClick: j
3885
3885
  }, [
3886
- _(l(gs), { class: "h-4 w-4" })
3886
+ _(l(hs), { class: "h-4 w-4" })
3887
3887
  ])) : I("", !0)
3888
3888
  ]),
3889
3889
  c("div", null, [
@@ -3898,7 +3898,7 @@ const Fo = { class: "flex gap-8 flex-col lg:flex-row" }, Do = { class: "lg:w-2/1
3898
3898
  class: "text-[10px] leading-tight py-0.5 text-foreground-on-primary font-medium px-1.5 rounded-full bg-gradient-to-tr from-[#7025EB] to-primary select-none mt-0.5"
3899
3899
  }, No = { class: "lg:w-10/12" }, ki = /* @__PURE__ */ E({
3900
3900
  __name: "Vertical",
3901
- props: /* @__PURE__ */ ke({
3901
+ props: /* @__PURE__ */ we({
3902
3902
  items: null
3903
3903
  }, {
3904
3904
  activeItem: { required: !0 },
@@ -3923,7 +3923,7 @@ const Fo = { class: "flex gap-8 flex-col lg:flex-row" }, Do = { class: "lg:w-2/1
3923
3923
  r.value = n;
3924
3924
  };
3925
3925
  return se(() => {
3926
- ve && t.items.length && !r.value && o(t.items[0]);
3926
+ ge && t.items.length && !r.value && o(t.items[0]);
3927
3927
  }), te(
3928
3928
  () => [t.items, r.value],
3929
3929
  ([n]) => {
@@ -4062,7 +4062,7 @@ const Fo = { class: "flex gap-8 flex-col lg:flex-row" }, Do = { class: "lg:w-2/1
4062
4062
  class: x(y.class),
4063
4063
  "text-color": y.textColor,
4064
4064
  to: l(he)(y.action) ? y.action : void 0,
4065
- onClick: ge((k) => l(he)(y.action) ? l(nt) : y.action(d), ["stop"])
4065
+ onClick: be((k) => l(he)(y.action) ? l(nt) : y.action(d), ["stop"])
4066
4066
  }, null, 8, ["icon-left", "class", "text-color", "to", "onClick"])
4067
4067
  ]))), 128))
4068
4068
  ])
@@ -4094,7 +4094,7 @@ const Fo = { class: "flex gap-8 flex-col lg:flex-row" }, Do = { class: "lg:w-2/1
4094
4094
  emits: ["infinite"],
4095
4095
  setup(e) {
4096
4096
  const t = O(null), r = O(!1);
4097
- return ve && se(() => {
4097
+ return ge && se(() => {
4098
4098
  const s = setInterval(() => {
4099
4099
  var o;
4100
4100
  (o = t.value) != null && o.isConnected && (r.value = !0, clearInterval(s));
@@ -4118,7 +4118,7 @@ const Fo = { class: "flex gap-8 flex-col lg:flex-row" }, Do = { class: "lg:w-2/1
4118
4118
  error: A(({ retry: n }) => [
4119
4119
  c("div", sr, [
4120
4120
  c("div", nr, [
4121
- _(l(bs), { class: "w-5 h-5 text-danger" }),
4121
+ _(l(vs), { class: "w-5 h-5 text-danger" }),
4122
4122
  lr
4123
4123
  ]),
4124
4124
  e.allowRetry ? (a(), V(ce, {
@@ -4233,14 +4233,14 @@ const Fo = { class: "flex gap-8 flex-col lg:flex-row" }, Do = { class: "lg:w-2/1
4233
4233
  return t.customIcon;
4234
4234
  switch (t.color) {
4235
4235
  case "info":
4236
- return ws;
4236
+ return Cs;
4237
4237
  case "warning":
4238
- return Re;
4238
+ return je;
4239
4239
  case "danger":
4240
- return ks;
4240
+ return ws;
4241
4241
  case "success":
4242
4242
  default:
4243
- return St;
4243
+ return $t;
4244
4244
  }
4245
4245
  }), n = h(() => {
4246
4246
  const g = [];
@@ -4449,7 +4449,7 @@ const Fo = { class: "flex gap-8 flex-col lg:flex-row" }, Do = { class: "lg:w-2/1
4449
4449
  onClick: j[0] || (j[0] = (C) => g.$emit("dismiss"))
4450
4450
  }, [
4451
4451
  ir,
4452
- _(l(we), {
4452
+ _(l(ve), {
4453
4453
  class: "h-5 w-5",
4454
4454
  "aria-hidden": "true"
4455
4455
  })
@@ -4470,11 +4470,11 @@ function Si(e) {
4470
4470
  const ur = /* @__PURE__ */ E({
4471
4471
  __name: "ContextManager",
4472
4472
  setup(e, { expose: t }) {
4473
- const s = Xt().provides, o = Object.getOwnPropertySymbols(s).find(
4473
+ const s = Nt().provides, o = Object.getOwnPropertySymbols(s).find(
4474
4474
  (v) => v.description === "ComboboxContext"
4475
4475
  );
4476
4476
  o || console.error("FormTagsContextManager ctx key not found!");
4477
- const n = Zt(o || "__undefined");
4477
+ const n = Xt(o || "__undefined");
4478
4478
  return n || console.error("FormTagsContextManager ctx not found!"), t({ goUp: () => {
4479
4479
  n == null || n.goToOption(1);
4480
4480
  }, goDown: () => {
@@ -4541,7 +4541,7 @@ const ur = /* @__PURE__ */ E({
4541
4541
  }), z = O([]), p = O(!1), M = O(!1), P = O(""), T = h({
4542
4542
  get: () => B.value || [],
4543
4543
  set: (R) => {
4544
- B.value = Yt(R).filter((U) => !!U.length);
4544
+ B.value = Jt(R).filter((U) => !!U.length);
4545
4545
  }
4546
4546
  }), N = h(() => {
4547
4547
  switch (n.size) {
@@ -4555,7 +4555,7 @@ const ur = /* @__PURE__ */ E({
4555
4555
  default:
4556
4556
  return "h-8";
4557
4557
  }
4558
- }), fe = h(() => n.showClear && !!T.value.length), Me = h(() => {
4558
+ }), fe = h(() => n.showClear && !!T.value.length), Ae = h(() => {
4559
4559
  const R = [
4560
4560
  y.value,
4561
4561
  n.disabled ? "cursor-not-allowed !bg-foundation-disabled !text-disabled-muted" : ""
@@ -4572,7 +4572,7 @@ const ur = /* @__PURE__ */ E({
4572
4572
  }, We = () => {
4573
4573
  var R;
4574
4574
  (R = m.value) == null || R.blur(), M.value = !1;
4575
- }, be = (R) => {
4575
+ }, ye = (R) => {
4576
4576
  if (R.key !== "Backspace" || P.value.length)
4577
4577
  return;
4578
4578
  const U = T.value.slice();
@@ -4587,7 +4587,7 @@ const ur = /* @__PURE__ */ E({
4587
4587
  n.getAutocompleteItems && (p.value = !0, z.value = await Promise.resolve(
4588
4588
  n.getAutocompleteItems(P.value)
4589
4589
  ), p.value = !1);
4590
- }, Ce = Ee(X, 1e3), qe = async () => {
4590
+ }, Ce = Re(X, 1e3), qe = async () => {
4591
4591
  p.value = !0, await Ce();
4592
4592
  }, $e = (R, U) => {
4593
4593
  var Q, Y;
@@ -4631,11 +4631,11 @@ const ur = /* @__PURE__ */ E({
4631
4631
  c("span", null, L(l(v)), 1)
4632
4632
  ], 10, cr),
4633
4633
  c("div", {
4634
- class: x(["relative flex flex-wrap items-center space-x-1 px-2 py-1", Me.value])
4634
+ class: x(["relative flex flex-wrap items-center space-x-1 px-2 py-1", Ae.value])
4635
4635
  }, [
4636
4636
  (a(!0), f(q, null, G(T.value, (F) => (a(), V(at, {
4637
4637
  key: F,
4638
- "icon-left": e.disabled ? void 0 : l(we),
4638
+ "icon-left": e.disabled ? void 0 : l(ve),
4639
4639
  "clickable-icon": "",
4640
4640
  size: "lg",
4641
4641
  onClickIcon: () => Ue(F)
@@ -4655,12 +4655,12 @@ const ur = /* @__PURE__ */ E({
4655
4655
  placeholder: T.value.length ? void 0 : e.placeholder,
4656
4656
  onInput: $e,
4657
4657
  onKeydown: [
4658
- ye(We, ["escape"]),
4659
- U[1] || (U[1] = ye(ge((F) => $e(F, !0), ["stop", "prevent"]), ["enter"])),
4660
- ye($e, ["tab"]),
4661
- ye(be, ["backspace"]),
4662
- ye(le, ["arrow-up"]),
4663
- ye(pe, ["arrow-down"])
4658
+ xe(We, ["escape"]),
4659
+ U[1] || (U[1] = xe(be((F) => $e(F, !0), ["stop", "prevent"]), ["enter"])),
4660
+ xe($e, ["tab"]),
4661
+ xe(ye, ["backspace"]),
4662
+ xe(le, ["arrow-up"]),
4663
+ xe(pe, ["arrow-down"])
4664
4664
  ],
4665
4665
  onBlur: U[2] || (U[2] = (F) => M.value = !1)
4666
4666
  }, null, 42, dr), [
@@ -4676,7 +4676,7 @@ const ur = /* @__PURE__ */ E({
4676
4676
  (...F) => l(w) && l(w)(...F))
4677
4677
  }, [
4678
4678
  fr,
4679
- _(l(we), {
4679
+ _(l(ve), {
4680
4680
  class: "h-5 w-5 text-foreground",
4681
4681
  "aria-hidden": "true"
4682
4682
  })
@@ -4688,7 +4688,7 @@ const ur = /* @__PURE__ */ E({
4688
4688
  fe.value ? "pr-8" : "pr-2"
4689
4689
  ])
4690
4690
  }, [
4691
- _(l(Re), {
4691
+ _(l(je), {
4692
4692
  class: "h-4 w-4 text-danger",
4693
4693
  "aria-hidden": "true"
4694
4694
  })
@@ -4698,7 +4698,7 @@ const ur = /* @__PURE__ */ E({
4698
4698
  class: x(["pointer-events-none absolute top-[2px] text-4xl right-0 flex items-center text-danger opacity-50", fe.value ? "pr-8" : "pr-2"])
4699
4699
  }, " * ", 2)) : I("", !0)
4700
4700
  ], 2),
4701
- _(l(Lt), {
4701
+ _(l(Bt), {
4702
4702
  leave: "transition ease-in duration-100",
4703
4703
  "leave-from": "opacity-100",
4704
4704
  "leave-to": "opacity-0",
@@ -4733,7 +4733,7 @@ const ur = /* @__PURE__ */ E({
4733
4733
  key: 0,
4734
4734
  class: x(["absolute inset-y-0 right-0 flex items-center pr-4", { "text-primary": Y, "text-foreground": !Y }])
4735
4735
  }, [
4736
- _(l(It), {
4736
+ _(l(lt), {
4737
4737
  class: "h-5 w-5",
4738
4738
  "aria-hidden": "true"
4739
4739
  })
@@ -4761,7 +4761,7 @@ const ur = /* @__PURE__ */ E({
4761
4761
  }, 8, ["modelValue", "class"]));
4762
4762
  }
4763
4763
  });
4764
- function Tt(e) {
4764
+ function Pt(e) {
4765
4765
  const { props: t } = e, r = h(() => {
4766
4766
  var i;
4767
4767
  switch ((i = t.size) == null ? void 0 : i.value) {
@@ -4857,7 +4857,7 @@ const gr = {
4857
4857
  noBg: { type: Boolean }
4858
4858
  },
4859
4859
  setup(e) {
4860
- const t = e, { sizeClasses: r, iconClasses: s } = Tt({ props: ie(t) }), o = h(() => {
4860
+ const t = e, { sizeClasses: r, iconClasses: s } = Pt({ props: ie(t) }), o = h(() => {
4861
4861
  var v, b, g;
4862
4862
  if (!((v = t.user) != null && v.name.length))
4863
4863
  return;
@@ -4882,7 +4882,7 @@ const gr = {
4882
4882
  class: "h-full w-full bg-cover bg-center bg-no-repeat",
4883
4883
  style: ee({ backgroundImage: `url('${e.user.avatar}')` })
4884
4884
  }, null, 4)) : o.value ? (a(), f("div", gr, L(o.value), 1)) : (a(), f("div", br, [
4885
- _(l(rs), {
4885
+ _(l(as), {
4886
4886
  class: x(l(s))
4887
4887
  }, null, 8, ["class"])
4888
4888
  ]))
@@ -4900,12 +4900,12 @@ const gr = {
4900
4900
  maxCount: { default: void 0 }
4901
4901
  },
4902
4902
  setup(e) {
4903
- const t = e, r = O(null), s = O(null), { hiddenItemCount: o } = jt({
4903
+ const t = e, r = O(null), s = O(null), { hiddenItemCount: o } = Vt({
4904
4904
  elementToWatchForChanges: r,
4905
4905
  itemContainer: s,
4906
4906
  trackResize: !0,
4907
4907
  trackMutations: !0
4908
- }), { heightClasses: n } = Tt({ props: ie(t) }), m = h(() => t.maxCount ? Math.max(t.users.length - t.maxCount, 0) : 0), u = h(
4908
+ }), { heightClasses: n } = Pt({ props: ie(t) }), m = h(() => t.maxCount ? Math.max(t.users.length - t.maxCount, 0) : 0), u = h(
4909
4909
  () => o.value + m.value
4910
4910
  ), i = h(
4911
4911
  () => t.maxCount ? t.users.slice(0, t.maxCount) : t.users
@@ -4971,7 +4971,7 @@ const gr = {
4971
4971
  class: "w-full text-center text-danger text-sm"
4972
4972
  }, Oi = /* @__PURE__ */ E({
4973
4973
  __name: "AvatarEditable",
4974
- props: /* @__PURE__ */ ke({
4974
+ props: /* @__PURE__ */ we({
4975
4975
  modelValue: null,
4976
4976
  placeholder: null,
4977
4977
  name: null,
@@ -4984,13 +4984,13 @@ const gr = {
4984
4984
  editMode: { type: Boolean, local: !0 },
4985
4985
  editModeModifiers: {}
4986
4986
  }),
4987
- emits: /* @__PURE__ */ ke(["save", "update:modelValue"], ["update:editMode"]),
4987
+ emits: /* @__PURE__ */ we(["save", "update:modelValue"], ["update:editMode"]),
4988
4988
  setup(e, { expose: t, emit: r }) {
4989
- const s = Qt({
4989
+ const s = Zt({
4990
4990
  loader: () => import("./AvatarEditor-ce4e7960.js"),
4991
4991
  loadingComponent: yr,
4992
4992
  delay: 100
4993
- }), o = r, n = e, { value: m, errorMessage: u } = je(n.name, n.rules, {
4993
+ }), o = r, n = e, { value: m, errorMessage: u } = Me(n.name, n.rules, {
4994
4994
  validateOnMount: n.validateOnMount,
4995
4995
  validateOnValueUpdate: n.validateOnValueUpdate,
4996
4996
  initialValue: n.modelValue || void 0
@@ -5055,7 +5055,7 @@ class Br extends de {
5055
5055
  oe(Br, "defaultMessage", "Operation not supported in current (server or client) environment");
5056
5056
  var ut = /* @__PURE__ */ ((e) => (e.AnyAudio = "audio/*", e.AnyVideo = "video/*", e.AnyImage = "image/*", e))(ut || {});
5057
5057
  function Lr(e, t) {
5058
- const r = es(
5058
+ const r = Yt(
5059
5059
  Object.values(ut),
5060
5060
  t
5061
5061
  );
@@ -5074,13 +5074,13 @@ function Lr(e, t) {
5074
5074
  return !0;
5075
5075
  break;
5076
5076
  }
5077
- const s = ts(t, r), o = Or(e.name);
5077
+ const s = es(t, r), o = Or(e.name);
5078
5078
  if (!o)
5079
- return new Et();
5079
+ return new Tt();
5080
5080
  for (const n of s)
5081
5081
  if (n.toLowerCase() === o.toLowerCase())
5082
5082
  return !0;
5083
- return new Rt();
5083
+ return new Et();
5084
5084
  }
5085
5085
  function Or(e) {
5086
5086
  const t = e.split(".").pop() || null;
@@ -5109,14 +5109,14 @@ function Vr(e) {
5109
5109
  size: e.size,
5110
5110
  type: e.type
5111
5111
  };
5112
- return Bs(JSON.stringify(t));
5112
+ return Ls(JSON.stringify(t));
5113
5113
  }
5114
- class Et extends de {
5114
+ class Tt extends de {
5115
5115
  }
5116
- oe(Et, "defaultMessage", "The selected file has a missing extension");
5117
- class Rt extends de {
5116
+ oe(Tt, "defaultMessage", "The selected file has a missing extension");
5117
+ class Et extends de {
5118
5118
  }
5119
- oe(Rt, "defaultMessage", "The selected file type is forbidden");
5119
+ oe(Et, "defaultMessage", "The selected file type is forbidden");
5120
5120
  var jr = /* @__PURE__ */ ((e) => (e[e.Success = 1] = "Success", e[e.Failure = 2] = "Failure", e))(jr || {});
5121
5121
  function Mr(e) {
5122
5122
  if (!e)
@@ -5147,7 +5147,7 @@ function Ar(e) {
5147
5147
  d.push({
5148
5148
  file: k,
5149
5149
  id: v,
5150
- error: new Ft(
5150
+ error: new Rt(
5151
5151
  `The selected file's size (${xt(
5152
5152
  k.size
5153
5153
  )}) is too big (over ${xt(l(o))})`
@@ -5170,9 +5170,9 @@ function Ar(e) {
5170
5170
  }
5171
5171
  };
5172
5172
  }
5173
- class Ft extends de {
5173
+ class Rt extends de {
5174
5174
  }
5175
- oe(Ft, "defaultMessage", "The selected file's size is too large");
5175
+ oe(Rt, "defaultMessage", "The selected file's size is too large");
5176
5176
  const zr = ["accept", "multiple"], _i = /* @__PURE__ */ E({
5177
5177
  __name: "Zone",
5178
5178
  props: {
@@ -5224,7 +5224,7 @@ const zr = ["accept", "multiple"], _i = /* @__PURE__ */ E({
5224
5224
  class: "hidden",
5225
5225
  accept: e.accept,
5226
5226
  multiple: e.multiple,
5227
- onClick: b[0] || (b[0] = ge(() => {
5227
+ onClick: b[0] || (b[0] = be(() => {
5228
5228
  }, ["stop"])),
5229
5229
  onChange: y
5230
5230
  }, null, 40, zr)
@@ -5262,14 +5262,14 @@ export {
5262
5262
  si as FormRadio,
5263
5263
  ni as FormRadioGroup,
5264
5264
  ii as FormSelectBadges,
5265
- At as FormSelectBase,
5265
+ Mt as FormSelectBase,
5266
5266
  ri as FormSelectSourceApps,
5267
5267
  ui as FormSwitch,
5268
5268
  Bi as FormTags,
5269
5269
  ai as FormTextArea,
5270
5270
  Gl as FormTextInput,
5271
5271
  Xr as GlobalToastRenderer,
5272
- xe as GridListToggleValue,
5272
+ ke as GridListToggleValue,
5273
5273
  Qe as HorizontalDirection,
5274
5274
  Ci as InfiniteLoading,
5275
5275
  mi as LayoutDialog,
@@ -5297,16 +5297,16 @@ export {
5297
5297
  Ai as buildManualPromise,
5298
5298
  Ze as clientOs,
5299
5299
  di as getKeyboardShortcutTitle,
5300
- Ot as keyboardClick,
5300
+ Lt as keyboardClick,
5301
5301
  fi as onKeyboardShortcut,
5302
5302
  xt as prettyFileSize,
5303
5303
  li as useDebouncedTextInput,
5304
5304
  pi as useFormCheckboxModel,
5305
- Mt as useFormSelectChildInternals,
5305
+ jt as useFormSelectChildInternals,
5306
5306
  bi as useOnBeforeWindowUnload,
5307
5307
  Za as useResponsiveHorizontalDirectionCalculation,
5308
5308
  Xa as useWindowResizeHandler,
5309
- jt as useWrappingContainerHiddenCount,
5309
+ Vt as useWrappingContainerHiddenCount,
5310
5310
  Vi as vKeyboardClickable,
5311
5311
  Si as writableAsyncComputed
5312
5312
  };