@nexxtmove/ui 1.37.0 → 1.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { Fragment as e, Teleport as t, Transition as n, TransitionGroup as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createSlots as l, createStaticVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, getCurrentInstance as m, guardReactiveProps as h, h as g, mergeModels as _, mergeProps as v, nextTick as y, normalizeClass as b, normalizeProps as x, normalizeStyle as S, onBeforeUnmount as C, onMounted as w, onUnmounted as T, openBlock as E, readonly as D, ref as O, renderList as k, renderSlot as A, resolveDynamicComponent as j, toDisplayString as M, toHandlers as N, unref as P, useAttrs as F, useCssVars as I, useId as L, useModel as R, useSlots as z, useTemplateRef as B, vModelCheckbox as ee, vModelDynamic as te, vModelText as V, watch as H, watchEffect as U, withCtx as W, withDirectives as G, withKeys as K, withModifiers as q } from "vue";
2
- import { ColorAreaArea as J, ColorAreaRoot as ne, ColorAreaThumb as Y, ColorFieldInput as re, ColorFieldRoot as X, ColorSliderRoot as ie, ColorSliderThumb as ae, ColorSliderTrack as oe, ColorSwatch as se, DialogClose as ce, DialogContent as le, DialogDescription as ue, DialogOverlay as de, DialogPortal as fe, DialogRoot as pe, DialogTitle as me, PaginationEllipsis as he, PaginationFirst as ge, PaginationLast as _e, PaginationList as ve, PaginationListItem as ye, PaginationNext as be, PaginationPrev as xe, PaginationRoot as Se, SliderRange as Ce, SliderRoot as we, SliderThumb as Te, SliderTrack as Ee, TooltipContent as De, TooltipPortal as Oe, TooltipProvider as ke, TooltipRoot as Ae, TooltipTrigger as je, colorToString as Me, normalizeColor as Ne, setChannelValue as Pe } from "reka-ui";
1
+ import { Fragment as e, Teleport as t, Transition as n, TransitionGroup as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createSlots as l, createStaticVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, getCurrentInstance as m, guardReactiveProps as h, h as g, mergeModels as _, mergeProps as v, nextTick as y, normalizeClass as b, normalizeProps as x, normalizeStyle as S, onBeforeUnmount as C, onMounted as w, onUnmounted as T, openBlock as E, readonly as D, ref as O, renderList as k, renderSlot as A, resolveDynamicComponent as j, toDisplayString as M, toHandlers as N, unref as P, useAttrs as F, useCssVars as ee, useId as I, useModel as L, useSlots as R, useTemplateRef as z, vModelCheckbox as te, vModelDynamic as ne, vModelText as re, watch as B, watchEffect as V, withCtx as H, withDirectives as U, withKeys as W, withModifiers as G } from "vue";
2
+ import { ColorAreaArea as K, ColorAreaRoot as ie, ColorAreaThumb as q, ColorFieldInput as J, ColorFieldRoot as Y, ColorSliderRoot as X, ColorSliderThumb as ae, ColorSliderTrack as oe, ColorSwatch as se, DialogClose as ce, DialogContent as le, DialogDescription as ue, DialogOverlay as de, DialogPortal as fe, DialogRoot as pe, DialogTitle as me, PaginationEllipsis as he, PaginationFirst as ge, PaginationLast as _e, PaginationList as ve, PaginationListItem as ye, PaginationNext as be, PaginationPrev as xe, PaginationRoot as Se, SliderRange as Ce, SliderRoot as we, SliderThumb as Te, SliderTrack as Ee, TooltipContent as De, TooltipPortal as Oe, TooltipProvider as ke, TooltipRoot as Ae, TooltipTrigger as je, colorToString as Me, normalizeColor as Ne, setChannelValue as Pe } from "reka-ui";
3
3
  import Fe from "@number-flow/vue";
4
4
  import { addMonths as Ie, eachDayOfInterval as Le, endOfDay as Re, endOfMonth as ze, endOfWeek as Be, format as Ve, getHours as He, getMinutes as Ue, isAfter as We, isBefore as Ge, isSameDay as Ke, isSameMonth as qe, setHours as Je, setMinutes as Ye, startOfDay as Xe, startOfMonth as Ze, startOfWeek as Qe, subMonths as $e } from "date-fns";
5
5
  import { fromZonedTime as et, toZonedTime as Z } from "date-fns-tz";
@@ -332,7 +332,7 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
332
332
  }),
333
333
  emits: ["update:modelValue"],
334
334
  setup(e) {
335
- let t = R(e, "modelValue"), n = {
335
+ let t = L(e, "modelValue"), n = {
336
336
  blue: "border-cornflower-blue-500 bg-cornflower-blue-500",
337
337
  green: "border-green-400 bg-green-400"
338
338
  }, r = {
@@ -354,12 +354,12 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
354
354
  };
355
355
  return (d, f) => (E(), s("label", yt, [
356
356
  e.labelPosition === "before" ? A(d.$slots, "default", { key: 0 }) : o("", !0),
357
- c("span", { class: b(["relative inline-block shrink-0", r[e.size]]) }, [G(c("input", v(d.$attrs, {
357
+ c("span", { class: b(["relative inline-block shrink-0", r[e.size]]) }, [U(c("input", v(d.$attrs, {
358
358
  type: "checkbox",
359
359
  role: "switch",
360
360
  class: "peer sr-only",
361
361
  "onUpdate:modelValue": f[0] ||= (e) => t.value = e
362
- }), null, 16), [[ee, t.value]]), c("span", { class: b([
362
+ }), null, 16), [[te, t.value]]), c("span", { class: b([
363
363
  "absolute inset-0 overflow-hidden rounded-[30px] border transition-colors duration-200",
364
364
  "peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2 peer-focus-visible:outline-cornflower-blue-500",
365
365
  t.value ? n[e.color] : "border-gray-500 bg-gray-200"
@@ -405,7 +405,7 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
405
405
  }),
406
406
  emits: ["update:modelValue"],
407
407
  setup(e) {
408
- let t = R(e, "modelValue"), n = i(() => !e.switchable || t.value), r = i(() => !n.value || void 0);
408
+ let t = L(e, "modelValue"), n = i(() => !e.switchable || t.value), r = i(() => !n.value || void 0);
409
409
  return (i, l) => (E(), s("div", xt, [c("div", St, [e.switchable ? (E(), a(bt, {
410
410
  key: 0,
411
411
  modelValue: t.value,
@@ -414,7 +414,7 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
414
414
  color: "blue",
415
415
  "label-position": "before"
416
416
  }, {
417
- default: W(() => [c("span", Ct, M(e.label), 1)]),
417
+ default: H(() => [c("span", Ct, M(e.label), 1)]),
418
418
  _: 1
419
419
  }, 8, ["modelValue"])) : (E(), s("p", wt, M(e.label), 1))]), i.$slots.default ? (E(), s("div", {
420
420
  key: 0,
@@ -463,7 +463,7 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
463
463
  }),
464
464
  emits: ["update:modelValue"],
465
465
  setup(t) {
466
- let n = R(t, "modelValue"), r = {
466
+ let n = L(t, "modelValue"), r = {
467
467
  blue: "bg-cornflower-blue-500",
468
468
  green: "bg-green-400"
469
469
  }, l = {
@@ -493,8 +493,8 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
493
493
  onFocusout: m,
494
494
  class: ["relative flex w-full touch-none items-center select-none", t.disabled ? "cursor-not-allowed opacity-50" : "cursor-pointer"]
495
495
  }), {
496
- default: W(() => [f(P(Ee), { class: b(["relative w-full grow rounded-full bg-gray-200", d[t.size]]) }, {
497
- default: W(() => [f(P(Ce), { class: b(["absolute h-full rounded-full", t.variant === "filled" ? r[t.color] : "bg-transparent"]) }, null, 8, ["class"])]),
496
+ default: H(() => [f(P(Ee), { class: b(["relative w-full grow rounded-full bg-gray-200", d[t.size]]) }, {
497
+ default: H(() => [f(P(Ce), { class: b(["absolute h-full rounded-full", t.variant === "filled" ? r[t.color] : "bg-transparent"]) }, null, 8, ["class"])]),
498
498
  _: 1
499
499
  }, 8, ["class"]), (E(!0), s(e, null, k(n.value, (e, n) => (E(), a(P(Te), {
500
500
  key: n,
@@ -580,7 +580,7 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
580
580
  }),
581
581
  emits: ["update:modelValue"],
582
582
  setup(e) {
583
- let t = R(e, "modelValue"), n = i(() => ({
583
+ let t = L(e, "modelValue"), n = i(() => ({
584
584
  ...Pt,
585
585
  ...e.messages
586
586
  })), r = Nt.length - 1, o = i(() => Math.max(0, Nt.findIndex(({ token: e }) => `rounded-${e}` === t.value))), s = i({
@@ -593,7 +593,7 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
593
593
  return e === null ? n.value.full : `${e} ${n.value.unit}`;
594
594
  });
595
595
  return (t, n) => (E(), a($, { label: e.label }, {
596
- default: W(() => [c("div", jt, [f(At, {
596
+ default: H(() => [c("div", jt, [f(At, {
597
597
  modelValue: s.value,
598
598
  "onUpdate:modelValue": n[0] ||= (e) => s.value = e,
599
599
  min: 0,
@@ -671,7 +671,7 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
671
671
  }),
672
672
  emits: ["update:modelValue", "update:enabled"],
673
673
  setup(e) {
674
- let t = R(e, "modelValue"), n = R(e, "enabled"), r = i(() => ({
674
+ let t = L(e, "modelValue"), n = L(e, "enabled"), r = i(() => ({
675
675
  ...zt,
676
676
  ...e.messages
677
677
  })), o = Rt.length - 1, s = i(() => Math.max(0, Rt.findIndex(({ token: e }) => `max-w-${e}` === t.value))), l = i({
@@ -686,7 +686,7 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
686
686
  label: e.label,
687
687
  switchable: ""
688
688
  }, {
689
- default: W(() => [c("div", It, [f(At, {
689
+ default: H(() => [c("div", It, [f(At, {
690
690
  modelValue: l.value,
691
691
  "onUpdate:modelValue": r[0] ||= (e) => l.value = e,
692
692
  min: 0,
@@ -770,7 +770,7 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
770
770
  }),
771
771
  emits: /*@__PURE__*/ _(["pointerup"], ["update:modelValue"]),
772
772
  setup(e, { emit: t }) {
773
- let n = t, r = R(e, "modelValue"), o = i(() => ({
773
+ let n = t, r = L(e, "modelValue"), o = i(() => ({
774
774
  ...Wt,
775
775
  ...e.messages
776
776
  })), s = Ut.length - 1, l = i(() => Math.max(0, Ut.findIndex(({ token: e }) => e === r.value))), u = i({
@@ -783,7 +783,7 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
783
783
  return e === null ? o.value.default : `${e} ${o.value.unit}`;
784
784
  });
785
785
  return (t, r) => (E(), a($, { label: e.label }, {
786
- default: W(() => [c("div", Vt, [f(At, {
786
+ default: H(() => [c("div", Vt, [f(At, {
787
787
  modelValue: u.value,
788
788
  "onUpdate:modelValue": r[0] ||= (e) => u.value = e,
789
789
  min: 0,
@@ -852,7 +852,7 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
852
852
  }),
853
853
  emits: /*@__PURE__*/ _(["pointerup"], ["update:modelValue"]),
854
854
  setup(e, { emit: t }) {
855
- let n = t, r = R(e, "modelValue"), o = i(() => ({
855
+ let n = t, r = L(e, "modelValue"), o = i(() => ({
856
856
  ...Yt,
857
857
  ...e.messages
858
858
  })), s = Jt.length - 1, l = i(() => {
@@ -868,7 +868,7 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
868
868
  return `${String(e).replace(".", o.value.decimalSeparator)} ${o.value.unit}`;
869
869
  });
870
870
  return (t, r) => (E(), a($, { label: e.label }, {
871
- default: W(() => [c("div", Kt, [f(At, {
871
+ default: H(() => [c("div", Kt, [f(At, {
872
872
  modelValue: u.value,
873
873
  "onUpdate:modelValue": r[0] ||= (e) => u.value = e,
874
874
  min: 0,
@@ -989,7 +989,7 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
989
989
  },
990
990
  setup(t) {
991
991
  let n = t, r = O(!1);
992
- H(() => n.src, () => {
992
+ B(() => n.src, () => {
993
993
  r.value = !1;
994
994
  });
995
995
  let o = i(() => !!n.src && !r.value), l = i(() => {
@@ -1014,7 +1014,7 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
1014
1014
  key: 0,
1015
1015
  size: t.size
1016
1016
  }, {
1017
- default: W(() => [c("div", { class: b(["flex size-full items-center justify-center bg-cornflower-blue-50 font-semibold text-cornflower-blue-500", [f[t.size]]]) }, [o.value ? (E(), s("img", {
1017
+ default: H(() => [c("div", { class: b(["flex size-full items-center justify-center bg-cornflower-blue-50 font-semibold text-cornflower-blue-500", [f[t.size]]]) }, [o.value ? (E(), s("img", {
1018
1018
  key: 0,
1019
1019
  src: t.src,
1020
1020
  alt: t.name,
@@ -1112,7 +1112,7 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
1112
1112
  "leave-from-class": "opacity-100",
1113
1113
  "leave-to-class": "opacity-0"
1114
1114
  }, {
1115
- default: W(() => [e.loading ? (E(), s("div", {
1115
+ default: H(() => [e.loading ? (E(), s("div", {
1116
1116
  key: 0,
1117
1117
  class: b(["absolute inset-0 flex items-center justify-center", e.rounded ? "rounded-full" : "rounded-lg"])
1118
1118
  }, [f(Q, {
@@ -1190,7 +1190,7 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
1190
1190
  })])) : (E(), s("div", dn)),
1191
1191
  c("div", fn, [
1192
1192
  e.pickerView === "days" ? (E(), s("div", pn, [f(n, x(h(d)), {
1193
- default: W(() => [e.monthYearPicker ? (E(), s("button", {
1193
+ default: H(() => [e.monthYearPicker ? (E(), s("button", {
1194
1194
  key: `button-${l.value}`,
1195
1195
  type: "button",
1196
1196
  class: "block cursor-pointer rounded-sm px-0.5 leading-5 whitespace-nowrap outline-none hover:text-cornflower-blue-700",
@@ -1202,7 +1202,7 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
1202
1202
  _: 1
1203
1203
  }, 16)])) : o("", !0),
1204
1204
  e.pickerView === "years" ? o("", !0) : (E(), s("div", mn, [f(n, x(h(d)), {
1205
- default: W(() => [e.monthYearPicker ? (E(), s("button", {
1205
+ default: H(() => [e.monthYearPicker ? (E(), s("button", {
1206
1206
  key: `button-${u.value}`,
1207
1207
  type: "button",
1208
1208
  class: "block cursor-pointer rounded-sm px-0.5 leading-5 whitespace-nowrap outline-none hover:text-cornflower-blue-700",
@@ -1254,7 +1254,7 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
1254
1254
  },
1255
1255
  emits: ["select"],
1256
1256
  setup(t, { expose: n, emit: r }) {
1257
- let a = t, l = r, u = B("dayButtonsRef"), d = (e) => {
1257
+ let a = t, l = r, u = z("dayButtonsRef"), d = (e) => {
1258
1258
  let t = Z(e, a.timezone), n = Z(/* @__PURE__ */ new Date(), a.timezone);
1259
1259
  return Ke(t, n);
1260
1260
  }, f = (e) => a.modelValue ? Ke(e, a.modelValue) : !1, p = (e) => a.markedDates.some((t) => Ke(t, e)), m = i(() => {
@@ -1394,7 +1394,7 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
1394
1394
  },
1395
1395
  emits: ["select"],
1396
1396
  setup(t, { emit: n }) {
1397
- let r = t, a = n, o = B("yearScrollerRef"), l = i(() => {
1397
+ let r = t, a = n, o = z("yearScrollerRef"), l = i(() => {
1398
1398
  let e = r.minDate ? Z(r.minDate, r.timezone).getFullYear() : r.viewYear - 100, t = r.maxDate ? Z(r.maxDate, r.timezone).getFullYear() : r.viewYear + 20;
1399
1399
  return Array.from({ length: t - e + 1 }, (t, n) => e + n);
1400
1400
  }), u = (e) => {
@@ -1505,8 +1505,8 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
1505
1505
  }),
1506
1506
  emits: /*@__PURE__*/ _(["select"], ["update:modelValue"]),
1507
1507
  setup(e, { emit: t }) {
1508
- let r = R(e, "modelValue"), l = t, u = O(r.value ? Z(new Date(r.value), e.timezone) : Z(/* @__PURE__ */ new Date(), e.timezone)), d = O("days"), p = O(null), m = O("fade");
1509
- H(r, (t) => {
1508
+ let r = L(e, "modelValue"), l = t, u = O(r.value ? Z(new Date(r.value), e.timezone) : Z(/* @__PURE__ */ new Date(), e.timezone)), d = O("days"), p = O(null), m = O("fade");
1509
+ B(r, (t) => {
1510
1510
  t && (u.value = Z(new Date(t), e.timezone));
1511
1511
  });
1512
1512
  let h = i(() => {
@@ -1589,7 +1589,7 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
1589
1589
  "can-go-next"
1590
1590
  ]),
1591
1591
  c("div", { class: b(["relative", d.value === "days" && "overflow-hidden"]) }, [f(n, v(N.value, { mode: m.value === "fade" ? "out-in" : void 0 }), {
1592
- default: W(() => [d.value === "days" ? (E(), a(Tn, {
1592
+ default: H(() => [d.value === "days" ? (E(), a(Tn, {
1593
1593
  ref_key: "dayViewRef",
1594
1594
  ref: p,
1595
1595
  key: `days-${u.value.getFullYear()}-${u.value.getMonth()}`,
@@ -1674,17 +1674,17 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
1674
1674
  }),
1675
1675
  emits: ["update:modelValue"],
1676
1676
  setup(e) {
1677
- let t = R(e, "modelValue"), n = B("inputRef");
1678
- return U(() => {
1677
+ let t = L(e, "modelValue"), n = z("inputRef");
1678
+ return V(() => {
1679
1679
  n.value && (n.value.indeterminate = e.indeterminate ?? !1);
1680
- }), (r, i) => (E(), s("label", { class: b(["inline-flex cursor-pointer", e.disabled ? "cursor-not-allowed opacity-50" : ""]) }, [G(c("input", v(r.$attrs, {
1680
+ }), (r, i) => (E(), s("label", { class: b(["inline-flex cursor-pointer", e.disabled ? "cursor-not-allowed opacity-50" : ""]) }, [U(c("input", v(r.$attrs, {
1681
1681
  ref_key: "inputRef",
1682
1682
  ref: n,
1683
1683
  type: "checkbox",
1684
1684
  class: "peer sr-only",
1685
1685
  "onUpdate:modelValue": i[0] ||= (e) => t.value = e,
1686
1686
  disabled: e.disabled
1687
- }), null, 16, Wn), [[ee, t.value]]), c("span", {
1687
+ }), null, 16, Wn), [[te, t.value]]), c("span", {
1688
1688
  "aria-hidden": "true",
1689
1689
  class: b([
1690
1690
  "flex size-5 shrink-0 items-center justify-center rounded-sm border transition-colors duration-200",
@@ -1836,7 +1836,7 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
1836
1836
  onFocus: (e) => t("enter", e)
1837
1837
  }) : [];
1838
1838
  m.props = ["edge", "active"], m.emits = ["enter"];
1839
- let h = r, _ = u, x = O(!1), C = O(!1), k = O(!1), j = B("triggerRef"), M = B("floatingRef"), N = O(!1), F = O(null), I = at(), L = i(() => I.value === "reduce"), R = i(() => d[h.surface === "raised" ? "raised" : "default"]), z = i(() => h.fitHeight ? F.value : null), ee = i(() => N.value && x.value), te = i(() => [
1839
+ let h = r, _ = u, x = O(!1), C = O(!1), k = O(!1), j = z("triggerRef"), M = z("floatingRef"), N = O(!1), F = O(null), ee = at(), I = i(() => ee.value === "reduce"), L = i(() => d[h.surface === "raised" ? "raised" : "default"]), R = i(() => h.fitHeight ? F.value : null), te = i(() => N.value && x.value), ne = i(() => [
1840
1840
  lt(h.offsetDistance),
1841
1841
  ct(),
1842
1842
  ut({ padding: 8 }),
@@ -1847,43 +1847,43 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
1847
1847
  let n = e.reference.getBoundingClientRect(), r = document.documentElement.clientHeight, i = t.split("-")[0], a = i === "top" || i === "bottom" ? Math.max(n.top, r - n.bottom) - h.offsetDistance - Jn : r - 16, o = Math.max(0, Math.floor(a - (h.surface ? Yn : 0)));
1848
1848
  e.floating.style.setProperty("--floating-panel-available-height", `${o}px`), F.value = o;
1849
1849
  } })] : []
1850
- ]), { floatingStyles: V, placement: U, isPositioned: G } = ft(j, M, {
1850
+ ]), { floatingStyles: re, placement: V, isPositioned: U } = ft(j, M, {
1851
1851
  placement: i(() => h.placement),
1852
1852
  whileElementsMounted: st,
1853
- middleware: te,
1853
+ middleware: ne,
1854
1854
  strategy: "fixed",
1855
1855
  transform: !1
1856
- }), K = async () => {
1857
- N.value = h.teleport && !j.value?.closest(Zn), k.value = !1, x.value = !0, _("open"), await y(), G.value && (k.value = !0);
1858
- }, q = () => {
1859
- x.value && (N.value && M.value?.contains(document.activeElement) && oe()?.focus({ preventScroll: !0 }), G.value && (C.value = !0), x.value = !1, _("close"));
1860
- }, J = () => x.value ? q() : K(), ne = (e) => {
1856
+ }), W = async () => {
1857
+ N.value = h.teleport && !j.value?.closest(Zn), k.value = !1, x.value = !0, _("open"), await y(), U.value && (k.value = !0);
1858
+ }, G = () => {
1859
+ x.value && (N.value && M.value?.contains(document.activeElement) && oe()?.focus({ preventScroll: !0 }), U.value && (C.value = !0), x.value = !1, _("close"));
1860
+ }, K = () => x.value ? G() : W(), ie = (e) => {
1861
1861
  let t = e.target;
1862
- j.value?.contains(t) || M.value?.contains(t) || q();
1863
- }, Y = (e) => {
1864
- e.key === "Escape" && x.value && q();
1865
- }, re = (e) => {
1866
- e.key === "Tab" && !e.shiftKey && ee.value && ue();
1867
- }, X = (e) => e ? Array.from(e.querySelectorAll(Xn)).filter((e) => !e.hasAttribute("data-focus-guard") && (e.checkVisibility?.() ?? !0)) : [], ie = (e, t) => (e.compareDocumentPosition(t) & Node.DOCUMENT_POSITION_FOLLOWING) !== 0, ae = () => {
1862
+ j.value?.contains(t) || M.value?.contains(t) || G();
1863
+ }, q = (e) => {
1864
+ e.key === "Escape" && x.value && G();
1865
+ }, J = (e) => {
1866
+ e.key === "Tab" && !e.shiftKey && te.value && ue();
1867
+ }, Y = (e) => e ? Array.from(e.querySelectorAll(Xn)).filter((e) => !e.hasAttribute("data-focus-guard") && (e.checkVisibility?.() ?? !0)) : [], X = (e, t) => (e.compareDocumentPosition(t) & Node.DOCUMENT_POSITION_FOLLOWING) !== 0, ae = () => {
1868
1868
  let e = j.value;
1869
- if (e) return X(document).find((t) => ie(e, t) && !e.contains(t) && !M.value?.contains(t));
1870
- }, oe = () => X(j.value).at(-1), se = (e) => {
1871
- let t = e.relatedTarget, n = j.value, r = t instanceof Node && !!n && ie(n, t) && !n.contains(t) && !M.value?.contains(t), i = X(M.value);
1869
+ if (e) return Y(document).find((t) => X(e, t) && !e.contains(t) && !M.value?.contains(t));
1870
+ }, oe = () => Y(j.value).at(-1), se = (e) => {
1871
+ let t = e.relatedTarget, n = j.value, r = t instanceof Node && !!n && X(n, t) && !n.contains(t) && !M.value?.contains(t), i = Y(M.value);
1872
1872
  (r ? i.at(-1) ?? oe() : i[0] ?? ae())?.focus();
1873
1873
  }, ce = () => oe()?.focus(), le = (e) => {
1874
1874
  let t = M.value, n = e.relatedTarget;
1875
1875
  if (t && !(n instanceof Node && t.contains(n))) {
1876
- X(document).filter((e) => ie(e, t) && !t.contains(e)).at(-1)?.focus();
1876
+ Y(document).filter((e) => X(e, t) && !t.contains(e)).at(-1)?.focus();
1877
1877
  return;
1878
1878
  }
1879
- (ae() ?? X(j.value)[0])?.focus();
1879
+ (ae() ?? Y(j.value)[0])?.focus();
1880
1880
  }, ue = () => {
1881
1881
  let e = M.value, t = document.activeElement;
1882
1882
  if (!e || !(t instanceof HTMLElement) || e.contains(t)) return;
1883
1883
  let n = Array.from(document.querySelectorAll(Xn)).filter((e) => e.checkVisibility?.() ?? !0), r = n.indexOf(t), i = r === -1 ? void 0 : n[r + 1];
1884
1884
  !i || !e.contains(i) || (e.inert = !0, setTimeout(() => e.inert = !1));
1885
1885
  }, de = i(() => {
1886
- let [e, t] = U.value.split("-"), n = {
1886
+ let [e, t] = V.value.split("-"), n = {
1887
1887
  "bottom-start": "origin-top-left",
1888
1888
  "bottom-end": "origin-top-right",
1889
1889
  bottom: "origin-top",
@@ -1911,63 +1911,63 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
1911
1911
  leaveFromClass: "opacity-100 scale-100 translate-x-0 translate-y-0"
1912
1912
  };
1913
1913
  });
1914
- return H(G, (e) => {
1914
+ return B(U, (e) => {
1915
1915
  e && x.value && (k.value = !0);
1916
1916
  }), l({
1917
1917
  isOpen: x,
1918
- open: K,
1919
- close: q,
1920
- toggle: J,
1918
+ open: W,
1919
+ close: G,
1920
+ toggle: K,
1921
1921
  triggerRef: j,
1922
1922
  floatingRef: M,
1923
1923
  teleported: D(N)
1924
1924
  }), w(() => {
1925
- document.addEventListener("mousedown", ne), document.addEventListener("keydown", Y), document.addEventListener("keydown", re, !0);
1925
+ document.addEventListener("mousedown", ie), document.addEventListener("keydown", q), document.addEventListener("keydown", J, !0);
1926
1926
  }), T(() => {
1927
- document.removeEventListener("mousedown", ne), document.removeEventListener("keydown", Y), document.removeEventListener("keydown", re, !0);
1927
+ document.removeEventListener("mousedown", ie), document.removeEventListener("keydown", q), document.removeEventListener("keydown", J, !0);
1928
1928
  }), (t, i) => (E(), s(e, null, [c("span", v({
1929
1929
  ref_key: "triggerRef",
1930
1930
  ref: j
1931
1931
  }, t.$attrs, { class: "inline-flex" }), [A(t.$slots, "trigger", {
1932
1932
  isOpen: x.value,
1933
- toggle: J,
1934
- open: K,
1935
- close: q
1933
+ toggle: K,
1934
+ open: W,
1935
+ close: G
1936
1936
  }), f(m, {
1937
1937
  edge: "bridge",
1938
- active: ee.value,
1938
+ active: te.value,
1939
1939
  onEnter: se
1940
1940
  }, null, 8, ["active"])], 16), x.value || C.value ? (E(), a(p, {
1941
1941
  key: 0,
1942
1942
  to: N.value ? "body" : void 0
1943
1943
  }, {
1944
- default: W(() => [c("div", {
1944
+ default: H(() => [c("div", {
1945
1945
  ref_key: "floatingRef",
1946
1946
  ref: M,
1947
1947
  class: "z-50",
1948
- style: S(P(V))
1948
+ style: S(P(re))
1949
1949
  }, [
1950
1950
  f(m, {
1951
1951
  edge: "start",
1952
1952
  active: N.value,
1953
1953
  onEnter: ce
1954
1954
  }, null, 8, ["active"]),
1955
- f(n, v({ css: !L.value }, de.value, { onAfterLeave: i[0] ||= (e) => C.value = !1 }), {
1956
- default: W(() => [x.value && k.value ? (E(), s("div", qn, [r.surface ? (E(), s("div", {
1955
+ f(n, v({ css: !I.value }, de.value, { onAfterLeave: i[0] ||= (e) => C.value = !1 }), {
1956
+ default: H(() => [x.value && k.value ? (E(), s("div", qn, [r.surface ? (E(), s("div", {
1957
1957
  key: 0,
1958
- class: b(R.value)
1958
+ class: b(L.value)
1959
1959
  }, [A(t.$slots, "content", {
1960
1960
  isOpen: x.value,
1961
- close: q,
1962
- toggle: J,
1963
- availableHeight: z.value,
1961
+ close: G,
1962
+ toggle: K,
1963
+ availableHeight: R.value,
1964
1964
  teleported: N.value
1965
1965
  })], 2)) : A(t.$slots, "content", {
1966
1966
  key: 1,
1967
1967
  isOpen: x.value,
1968
- close: q,
1969
- toggle: J,
1970
- availableHeight: z.value,
1968
+ close: G,
1969
+ toggle: K,
1970
+ availableHeight: R.value,
1971
1971
  teleported: N.value
1972
1972
  })])) : o("", !0)]),
1973
1973
  _: 3
@@ -2040,7 +2040,7 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
2040
2040
  }),
2041
2041
  emits: ["update:modelValue"],
2042
2042
  setup(t) {
2043
- let r = "color-picker-" + Math.random().toString(36).slice(2, 10), l = t, u = R(t, "modelValue"), p = (e) => e.alpha < 1 ? Pe(e, "alpha", 100) : e, m = (e) => {
2043
+ let r = "color-picker-" + Math.random().toString(36).slice(2, 10), l = t, u = L(t, "modelValue"), p = (e) => e.alpha < 1 ? Pe(e, "alpha", 100) : e, m = (e) => {
2044
2044
  let t = Ne(e);
2045
2045
  return l.showAlpha ? t : p(t);
2046
2046
  }, h = (e) => {
@@ -2062,14 +2062,14 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
2062
2062
  }, F = (e) => {
2063
2063
  let t = l.showAlpha ? e : p(e);
2064
2064
  y.value = t, u.value = v(t, _.value);
2065
- }, I = (e) => {
2065
+ }, ee = (e) => {
2066
2066
  let t = e.target.value;
2067
2067
  try {
2068
2068
  y.value = h(t), u.value = v(y.value, _.value), x.value = "";
2069
2069
  } catch (e) {
2070
2070
  x.value = e instanceof Error ? e.message : "Ongeldige kleur";
2071
2071
  }
2072
- }, L = (e, t) => {
2072
+ }, I = (e, t) => {
2073
2073
  let n = Number(e.target.value);
2074
2074
  if (isNaN(n)) {
2075
2075
  C.value[t] = "Ongeldige waarde";
@@ -2082,11 +2082,11 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
2082
2082
  C.value[t] = e instanceof Error ? e.message : "Ongeldige waarde";
2083
2083
  }
2084
2084
  };
2085
- return H(() => u.value, (e) => {
2085
+ return B(() => u.value, (e) => {
2086
2086
  if (e) try {
2087
2087
  y.value = m(e);
2088
2088
  } catch {}
2089
- }), H(() => l.showAlpha, (e) => {
2089
+ }), B(() => l.showAlpha, (e) => {
2090
2090
  if (!e && y.value.alpha < 1) {
2091
2091
  let e = p(y.value);
2092
2092
  y.value = e, u.value = v(e, _.value);
@@ -2101,7 +2101,7 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
2101
2101
  placement: "bottom-start",
2102
2102
  "match-width": t.matchWidth
2103
2103
  }, {
2104
- trigger: W(({ isOpen: e, toggle: n }) => [c("button", {
2104
+ trigger: H(({ isOpen: e, toggle: n }) => [c("button", {
2105
2105
  id: r,
2106
2106
  type: "button",
2107
2107
  "aria-expanded": e,
@@ -2122,8 +2122,8 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
2122
2122
  class: b(["shrink-0 text-gray-400 transition-all duration-200 group-hover:text-cornflower-blue-600", { "rotate-180": e }])
2123
2123
  }, null, 8, ["class"])
2124
2124
  ], 10, er)]),
2125
- content: W(() => [c("div", { class: b(["flex flex-col gap-4 rounded-xl bg-white p-4 ring ring-gray-200", t.matchWidth ? "w-full" : "w-70"]) }, [
2126
- f(P(ne), {
2125
+ content: H(() => [c("div", { class: b(["flex flex-col gap-4 rounded-xl bg-white p-4 ring ring-gray-200", t.matchWidth ? "w-full" : "w-70"]) }, [
2126
+ f(P(ie), {
2127
2127
  "model-value": y.value,
2128
2128
  "color-space": "hsl",
2129
2129
  "x-channel": "saturation",
@@ -2131,23 +2131,23 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
2131
2131
  class: "relative",
2132
2132
  "onUpdate:color": F
2133
2133
  }, {
2134
- default: W(({ style: e }) => [c("div", tr, [f(P(J), {
2134
+ default: H(({ style: e }) => [c("div", tr, [f(P(K), {
2135
2135
  class: "relative h-40 w-full cursor-crosshair outline-none",
2136
2136
  style: S(e)
2137
2137
  }, {
2138
- default: W(() => [f(P(Y), { class: "block size-4 cursor-grab rounded-full border-2 border-white shadow-sm focus:outline-none active:cursor-grabbing" })]),
2138
+ default: H(() => [f(P(q), { class: "block size-4 cursor-grab rounded-full border-2 border-white shadow-sm focus:outline-none active:cursor-grabbing" })]),
2139
2139
  _: 1
2140
2140
  }, 8, ["style"])])]),
2141
2141
  _: 1
2142
2142
  }, 8, ["model-value"]),
2143
- f(P(ie), {
2143
+ f(P(X), {
2144
2144
  "model-value": y.value,
2145
2145
  channel: "hue",
2146
2146
  "color-space": "hsl",
2147
2147
  class: "relative flex h-5 w-full touch-none items-center select-none",
2148
2148
  "onUpdate:color": F
2149
2149
  }, {
2150
- default: W(() => [f(P(oe), { class: "relative h-3 flex-1 overflow-hidden rounded-full" }), f(P(ae), { class: "block size-5 cursor-grab rounded-full border-2 border-white bg-white shadow-sm focus:ring-2 focus:ring-cornflower-blue-500 focus:outline-none active:cursor-grabbing" })]),
2150
+ default: H(() => [f(P(oe), { class: "relative h-3 flex-1 overflow-hidden rounded-full" }), f(P(ae), { class: "block size-5 cursor-grab rounded-full border-2 border-white bg-white shadow-sm focus:ring-2 focus:ring-cornflower-blue-500 focus:outline-none active:cursor-grabbing" })]),
2151
2151
  _: 1
2152
2152
  }, 8, ["model-value"]),
2153
2153
  t.showAlpha ? (E(), s("div", nr, [l[8] ||= c("div", {
@@ -2156,14 +2156,14 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
2156
2156
  "background-image": "repeating-conic-gradient(#e5e7eb 0% 25%, #ffffff 0% 50%)",
2157
2157
  "background-size": "10px 10px"
2158
2158
  }
2159
- }, null, -1), f(P(ie), {
2159
+ }, null, -1), f(P(X), {
2160
2160
  "model-value": y.value,
2161
2161
  channel: "alpha",
2162
2162
  "color-space": "hsl",
2163
2163
  class: "relative z-10 flex size-full touch-none items-center select-none",
2164
2164
  "onUpdate:color": F
2165
2165
  }, {
2166
- default: W(() => [f(P(oe), { class: "relative h-3 flex-1 overflow-hidden rounded-full" }), f(P(ae), { class: "block size-5 cursor-grab rounded-full border-2 border-white bg-white shadow-sm focus:ring-2 focus:ring-cornflower-blue-500 focus:outline-none active:cursor-grabbing" })]),
2166
+ default: H(() => [f(P(oe), { class: "relative h-3 flex-1 overflow-hidden rounded-full" }), f(P(ae), { class: "block size-5 cursor-grab rounded-full border-2 border-white bg-white shadow-sm focus:ring-2 focus:ring-cornflower-blue-500 focus:outline-none active:cursor-grabbing" })]),
2167
2167
  _: 1
2168
2168
  }, 8, ["model-value"])])) : o("", !0),
2169
2169
  c("div", rr, [c("div", ir, [c("span", ar, M(_.value.toUpperCase()), 1), t.formats.length > 1 ? (E(), s("div", or, [c("button", {
@@ -2184,101 +2184,101 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
2184
2184
  name: "chevron-down",
2185
2185
  class: "text-[12px]",
2186
2186
  "aria-hidden": "true"
2187
- })])])) : o("", !0)]), _.value === "hex" ? (E(), a(P(X), {
2187
+ })])])) : o("", !0)]), _.value === "hex" ? (E(), a(P(Y), {
2188
2188
  key: 0,
2189
2189
  "model-value": w.value,
2190
2190
  class: "w-full",
2191
2191
  "onUpdate:color": F
2192
2192
  }, {
2193
- default: W(() => [c("div", { class: b(["flex h-10 items-center overflow-hidden rounded-lg px-3 ring transition-colors ease-out focus-within:ring-cornflower-blue-500", x.value ? "ring-brick-400" : "ring-gray-200"]) }, [f(P(re), {
2193
+ default: H(() => [c("div", { class: b(["flex h-10 items-center overflow-hidden rounded-lg px-3 ring transition-colors ease-out focus-within:ring-cornflower-blue-500", x.value ? "ring-brick-400" : "ring-gray-200"]) }, [f(P(J), {
2194
2194
  class: "w-full bg-transparent small-normal-mono text-gray-900 placeholder-gray-400 focus:outline-none",
2195
2195
  placeholder: "#000000",
2196
- onInput: I
2196
+ onInput: ee
2197
2197
  })], 2), x.value ? (E(), s("p", sr, M(x.value), 1)) : o("", !0)]),
2198
2198
  _: 1
2199
2199
  }, 8, ["model-value"])) : _.value === "hsl" ? (E(), s("div", cr, [
2200
- f(P(X), {
2200
+ f(P(Y), {
2201
2201
  "model-value": y.value,
2202
2202
  channel: "hue",
2203
2203
  "color-space": "hsl",
2204
2204
  class: "flex-1",
2205
2205
  "onUpdate:color": F
2206
2206
  }, {
2207
- default: W(() => [c("div", { class: b(["flex h-10 items-center overflow-hidden rounded-lg px-3 ring transition-colors ease-out focus-within:ring-cornflower-blue-500", C.value.hue ? "ring-brick-400" : "ring-gray-200"]) }, [f(P(re), {
2207
+ default: H(() => [c("div", { class: b(["flex h-10 items-center overflow-hidden rounded-lg px-3 ring transition-colors ease-out focus-within:ring-cornflower-blue-500", C.value.hue ? "ring-brick-400" : "ring-gray-200"]) }, [f(P(J), {
2208
2208
  class: "w-full bg-transparent small-normal-mono text-gray-900 placeholder-gray-400 focus:outline-none",
2209
2209
  placeholder: "H",
2210
- onInput: l[2] ||= (e) => L(e, "hue")
2210
+ onInput: l[2] ||= (e) => I(e, "hue")
2211
2211
  })], 2)]),
2212
2212
  _: 1
2213
2213
  }, 8, ["model-value"]),
2214
- f(P(X), {
2214
+ f(P(Y), {
2215
2215
  "model-value": y.value,
2216
2216
  channel: "saturation",
2217
2217
  "color-space": "hsl",
2218
2218
  class: "flex-1",
2219
2219
  "onUpdate:color": F
2220
2220
  }, {
2221
- default: W(() => [c("div", { class: b(["flex h-10 items-center overflow-hidden rounded-lg px-3 ring transition-colors ease-out focus-within:ring-cornflower-blue-500", C.value.saturation ? "ring-brick-400" : "ring-gray-200"]) }, [f(P(re), {
2221
+ default: H(() => [c("div", { class: b(["flex h-10 items-center overflow-hidden rounded-lg px-3 ring transition-colors ease-out focus-within:ring-cornflower-blue-500", C.value.saturation ? "ring-brick-400" : "ring-gray-200"]) }, [f(P(J), {
2222
2222
  class: "w-full bg-transparent small-normal-mono text-gray-900 placeholder-gray-400 focus:outline-none",
2223
2223
  placeholder: "S",
2224
- onInput: l[3] ||= (e) => L(e, "saturation")
2224
+ onInput: l[3] ||= (e) => I(e, "saturation")
2225
2225
  })], 2)]),
2226
2226
  _: 1
2227
2227
  }, 8, ["model-value"]),
2228
- f(P(X), {
2228
+ f(P(Y), {
2229
2229
  "model-value": y.value,
2230
2230
  channel: "lightness",
2231
2231
  "color-space": "hsl",
2232
2232
  class: "flex-1",
2233
2233
  "onUpdate:color": F
2234
2234
  }, {
2235
- default: W(() => [c("div", { class: b(["flex h-10 items-center overflow-hidden rounded-lg px-3 ring transition-colors ease-out focus-within:ring-cornflower-blue-500", C.value.lightness ? "ring-brick-400" : "ring-gray-200"]) }, [f(P(re), {
2235
+ default: H(() => [c("div", { class: b(["flex h-10 items-center overflow-hidden rounded-lg px-3 ring transition-colors ease-out focus-within:ring-cornflower-blue-500", C.value.lightness ? "ring-brick-400" : "ring-gray-200"]) }, [f(P(J), {
2236
2236
  class: "w-full bg-transparent small-normal-mono text-gray-900 placeholder-gray-400 focus:outline-none",
2237
2237
  placeholder: "L",
2238
- onInput: l[4] ||= (e) => L(e, "lightness")
2238
+ onInput: l[4] ||= (e) => I(e, "lightness")
2239
2239
  })], 2)]),
2240
2240
  _: 1
2241
2241
  }, 8, ["model-value"])
2242
2242
  ])) : _.value === "rgb" ? (E(), s("div", lr, [
2243
- f(P(X), {
2243
+ f(P(Y), {
2244
2244
  "model-value": y.value,
2245
2245
  channel: "red",
2246
2246
  "color-space": "rgb",
2247
2247
  class: "flex-1",
2248
2248
  "onUpdate:color": F
2249
2249
  }, {
2250
- default: W(() => [c("div", { class: b(["flex h-10 items-center overflow-hidden rounded-lg px-3 ring transition-colors ease-out focus-within:ring-cornflower-blue-500", C.value.red ? "ring-brick-400" : "ring-gray-200"]) }, [f(P(re), {
2250
+ default: H(() => [c("div", { class: b(["flex h-10 items-center overflow-hidden rounded-lg px-3 ring transition-colors ease-out focus-within:ring-cornflower-blue-500", C.value.red ? "ring-brick-400" : "ring-gray-200"]) }, [f(P(J), {
2251
2251
  class: "w-full bg-transparent small-normal-mono text-gray-900 placeholder-gray-400 focus:outline-none",
2252
2252
  placeholder: "R",
2253
- onInput: l[5] ||= (e) => L(e, "red")
2253
+ onInput: l[5] ||= (e) => I(e, "red")
2254
2254
  })], 2)]),
2255
2255
  _: 1
2256
2256
  }, 8, ["model-value"]),
2257
- f(P(X), {
2257
+ f(P(Y), {
2258
2258
  "model-value": y.value,
2259
2259
  channel: "green",
2260
2260
  "color-space": "rgb",
2261
2261
  class: "flex-1",
2262
2262
  "onUpdate:color": F
2263
2263
  }, {
2264
- default: W(() => [c("div", { class: b(["flex h-10 items-center overflow-hidden rounded-lg px-3 ring transition-colors ease-out focus-within:ring-cornflower-blue-500", C.value.green ? "ring-brick-400" : "ring-gray-200"]) }, [f(P(re), {
2264
+ default: H(() => [c("div", { class: b(["flex h-10 items-center overflow-hidden rounded-lg px-3 ring transition-colors ease-out focus-within:ring-cornflower-blue-500", C.value.green ? "ring-brick-400" : "ring-gray-200"]) }, [f(P(J), {
2265
2265
  class: "w-full bg-transparent small-normal-mono text-gray-900 placeholder-gray-400 focus:outline-none",
2266
2266
  placeholder: "G",
2267
- onInput: l[6] ||= (e) => L(e, "green")
2267
+ onInput: l[6] ||= (e) => I(e, "green")
2268
2268
  })], 2)]),
2269
2269
  _: 1
2270
2270
  }, 8, ["model-value"]),
2271
- f(P(X), {
2271
+ f(P(Y), {
2272
2272
  "model-value": y.value,
2273
2273
  channel: "blue",
2274
2274
  "color-space": "rgb",
2275
2275
  class: "flex-1",
2276
2276
  "onUpdate:color": F
2277
2277
  }, {
2278
- default: W(() => [c("div", { class: b(["flex h-10 items-center overflow-hidden rounded-lg px-3 ring transition-colors ease-out focus-within:ring-cornflower-blue-500", C.value.blue ? "ring-brick-400" : "ring-gray-200"]) }, [f(P(re), {
2278
+ default: H(() => [c("div", { class: b(["flex h-10 items-center overflow-hidden rounded-lg px-3 ring transition-colors ease-out focus-within:ring-cornflower-blue-500", C.value.blue ? "ring-brick-400" : "ring-gray-200"]) }, [f(P(J), {
2279
2279
  class: "w-full bg-transparent small-normal-mono text-gray-900 placeholder-gray-400 focus:outline-none",
2280
2280
  placeholder: "B",
2281
- onInput: l[7] ||= (e) => L(e, "blue")
2281
+ onInput: l[7] ||= (e) => I(e, "blue")
2282
2282
  })], 2)]),
2283
2283
  _: 1
2284
2284
  }, 8, ["model-value"])
@@ -2306,7 +2306,7 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
2306
2306
  "leave-from-class": "opacity-100 translate-y-0",
2307
2307
  "leave-to-class": "opacity-0 -translate-y-1"
2308
2308
  }, {
2309
- default: W(() => [t.error && t.errorMessage ? (E(), s("p", mr, M(t.errorMessage), 1)) : o("", !0)]),
2309
+ default: H(() => [t.error && t.errorMessage ? (E(), s("p", mr, M(t.errorMessage), 1)) : o("", !0)]),
2310
2310
  _: 1
2311
2311
  })
2312
2312
  ], 2));
@@ -2350,7 +2350,7 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
2350
2350
  })), u = i(() => {
2351
2351
  let e = { ...a };
2352
2352
  return delete e.class, delete e.style, e;
2353
- }), p = R(e, "modelValue"), h = B("inputEl");
2353
+ }), p = L(e, "modelValue"), h = z("inputEl");
2354
2354
  t({
2355
2355
  focus: () => h.value?.focus(),
2356
2356
  inputEl: h
@@ -2376,7 +2376,7 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
2376
2376
  "pr-3": e.rightIcon
2377
2377
  }]]) }, [
2378
2378
  e.leftIcon ? (E(), s("span", _r, [f(Q, { name: e.leftIcon }, null, 8, ["name"])])) : o("", !0),
2379
- G(c("input", v({
2379
+ U(c("input", v({
2380
2380
  ref_key: "inputEl",
2381
2381
  ref: h,
2382
2382
  id: r,
@@ -2385,7 +2385,7 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
2385
2385
  }, u.value, { class: ["h-10 w-full min-w-60 bg-transparent text-sm text-gray-900 placeholder-gray-400 focus:outline-none [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none", {
2386
2386
  "pl-3": !e.leftIcon,
2387
2387
  "pr-3": !e.rightIcon
2388
- }] }), null, 16, vr), [[te, p.value]]),
2388
+ }] }), null, 16, vr), [[ne, p.value]]),
2389
2389
  A(t.$slots, "right", {}, () => [g.value ? (E(), s("div", yr, [c("button", {
2390
2390
  type: "button",
2391
2391
  class: "flex h-5 w-8 cursor-pointer items-center justify-center pt-2 text-gray-400 transition-colors group-focus-within:text-gray-950 hover:text-cornflower-blue-600 focus:text-cornflower-blue-600 focus:outline-none",
@@ -2414,7 +2414,7 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
2414
2414
  "leave-from-class": "opacity-100 translate-y-0",
2415
2415
  "leave-to-class": "opacity-0 -translate-y-1"
2416
2416
  }, {
2417
- default: W(() => [e.error && e.errorMessage ? (E(), s("p", xr, M(e.errorMessage), 1)) : o("", !0)]),
2417
+ default: H(() => [e.error && e.errorMessage ? (E(), s("p", xr, M(e.errorMessage), 1)) : o("", !0)]),
2418
2418
  _: 1
2419
2419
  })
2420
2420
  ], 6));
@@ -2450,7 +2450,7 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
2450
2450
  }),
2451
2451
  emits: /*@__PURE__*/ _(["select"], ["update:modelValue"]),
2452
2452
  setup(t, { expose: l, emit: u }) {
2453
- let p = t, { icon: m = "tag", placeholder: h = "Zoeken...", floating: g = !0 } = p, _ = u, v = R(t, "modelValue"), y = B("inputFieldRef"), x = B("wrapperRef"), S = O(""), C = O(!1), D = i(() => !p.singleSelect && p.showChips), A = (e) => {
2453
+ let p = t, { icon: m = "tag", placeholder: h = "Zoeken...", floating: g = !0 } = p, _ = u, v = L(t, "modelValue"), y = z("inputFieldRef"), x = z("wrapperRef"), S = O(""), C = O(!1), D = i(() => !p.singleSelect && p.showChips), A = (e) => {
2454
2454
  x.value && !x.value.contains(e.target) && (C.value = !1);
2455
2455
  }, j = (e) => {
2456
2456
  e.key === "Escape" && (C.value = !1);
@@ -2460,37 +2460,37 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
2460
2460
  }), T(() => {
2461
2461
  document.removeEventListener("mousedown", A), document.removeEventListener("keydown", j);
2462
2462
  });
2463
- let N = (e) => typeof e == "string" ? e : e.label, F = (e) => typeof e == "string" ? e : e.value, I = i(() => v.value.map((e) => {
2463
+ let N = (e) => typeof e == "string" ? e : e.label, F = (e) => typeof e == "string" ? e : e.value, ee = i(() => v.value.map((e) => {
2464
2464
  let t = p.options.find((t) => F(t) === e);
2465
2465
  return {
2466
2466
  value: e,
2467
2467
  label: t ? N(t) : String(e),
2468
2468
  isCustom: !t
2469
2469
  };
2470
- })), L = i(() => {
2470
+ })), I = i(() => {
2471
2471
  let e = S.value.toLowerCase();
2472
2472
  return p.options.filter((e) => p.singleSelect || !v.value.includes(F(e))).filter((t) => N(t).toLowerCase().includes(e));
2473
- }), z = i(() => {
2474
- if (!p.allowNew || !S.value || L.value.length > 0) return !1;
2473
+ }), R = i(() => {
2474
+ if (!p.allowNew || !S.value || I.value.length > 0) return !1;
2475
2475
  let e = S.value.trim().toLowerCase();
2476
- return !I.value.some((t) => t.label.toLowerCase() === e);
2477
- }), ee = i(() => L.value.length > 0 || z.value), te = (e) => {
2476
+ return !ee.value.some((t) => t.label.toLowerCase() === e);
2477
+ }), te = i(() => I.value.length > 0 || R.value), ne = (e) => {
2478
2478
  v.value = [...v.value, F(e)], S.value = "";
2479
- }, V = (e) => {
2479
+ }, re = (e) => {
2480
2480
  let t = F(e);
2481
2481
  v.value = v.value[0] === t ? [] : [t], S.value = "", _("select");
2482
- }, H = () => {
2482
+ }, B = () => {
2483
2483
  if (p.singleSelect) {
2484
- L.value.length > 0 ? V(L.value[0]) : p.allowNew && U();
2484
+ I.value.length > 0 ? re(I.value[0]) : p.allowNew && V();
2485
2485
  return;
2486
2486
  }
2487
- L.value.length === 1 ? te(L.value[0]) : p.allowNew && U();
2488
- }, U = () => {
2487
+ I.value.length === 1 ? ne(I.value[0]) : p.allowNew && V();
2488
+ }, V = () => {
2489
2489
  let e = S.value.trim();
2490
2490
  if (!e) return;
2491
- let t = e.toLowerCase(), n = I.value.some((e) => e.label.toLowerCase() === t), r = p.options.some((e) => N(e).toLowerCase() === t);
2491
+ let t = e.toLowerCase(), n = ee.value.some((e) => e.label.toLowerCase() === t), r = p.options.some((e) => N(e).toLowerCase() === t);
2492
2492
  n || r || (p.singleSelect ? (v.value = [e], S.value = "", _("select")) : (v.value = [...v.value, e], S.value = ""));
2493
- }, G = (e) => {
2493
+ }, U = (e) => {
2494
2494
  v.value = v.value.filter((t) => t !== e);
2495
2495
  };
2496
2496
  return l({ focus: () => {
@@ -2510,7 +2510,7 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
2510
2510
  placeholder: P(h),
2511
2511
  "aria-label": P(h),
2512
2512
  onFocus: l[1] ||= (e) => C.value = !0,
2513
- onKeydown: K(H, ["enter"])
2513
+ onKeydown: W(B, ["enter"])
2514
2514
  }, null, 8, [
2515
2515
  "modelValue",
2516
2516
  "left-icon",
@@ -2524,7 +2524,7 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
2524
2524
  "leave-from-class": "max-h-40 opacity-100",
2525
2525
  "leave-to-class": "max-h-0 opacity-0"
2526
2526
  }, {
2527
- default: W(() => [D.value && I.value.length > 0 ? (E(), a(r, {
2527
+ default: H(() => [D.value && ee.value.length > 0 ? (E(), a(r, {
2528
2528
  key: 0,
2529
2529
  tag: "div",
2530
2530
  class: "flex flex-wrap gap-1 p-2 pt-0",
@@ -2535,22 +2535,22 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
2535
2535
  "leave-from-class": "opacity-100 scale-100",
2536
2536
  "leave-to-class": "opacity-0 scale-75"
2537
2537
  }, {
2538
- default: W(() => [(E(!0), s(e, null, k(I.value, (e) => (E(), s("button", {
2538
+ default: H(() => [(E(!0), s(e, null, k(ee.value, (e) => (E(), s("button", {
2539
2539
  key: e.value,
2540
2540
  class: "origin-left cursor-pointer",
2541
2541
  "aria-label": `Verwijder ${e.label}`,
2542
- onClick: (t) => G(e.value)
2542
+ onClick: (t) => U(e.value)
2543
2543
  }, [f(Kn, {
2544
2544
  ghost: !0,
2545
2545
  class: "group",
2546
2546
  variant: e.isCustom ? "success" : "default"
2547
2547
  }, {
2548
- close: W(() => [c("span", null, [f(Q, {
2548
+ close: H(() => [c("span", null, [f(Q, {
2549
2549
  name: "xmark",
2550
2550
  class: "text-xs group-hover:text-brick-500",
2551
2551
  "aria-hidden": "true"
2552
2552
  })])]),
2553
- default: W(() => [d(M(e.label) + " ", 1)]),
2553
+ default: H(() => [d(M(e.label) + " ", 1)]),
2554
2554
  _: 2
2555
2555
  }, 1032, ["variant"])], 8, Tr))), 128))]),
2556
2556
  _: 1
@@ -2564,24 +2564,24 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
2564
2564
  "enter-to-class": "opacity-100 scale-100 translate-y-0",
2565
2565
  "leave-from-class": "opacity-100 scale-100 translate-y-0"
2566
2566
  }, {
2567
- default: W(() => [C.value && ee.value ? (E(), s("div", {
2567
+ default: H(() => [C.value && te.value ? (E(), s("div", {
2568
2568
  key: 0,
2569
2569
  class: "absolute top-full left-0 z-10 mt-1 w-full rounded-lg border border-gray-200 bg-white",
2570
- onMousedown: l[3] ||= q(() => {}, ["prevent"])
2571
- }, [c("ul", Er, [(E(!0), s(e, null, k(L.value, (e) => (E(), s("li", {
2570
+ onMousedown: l[3] ||= G(() => {}, ["prevent"])
2571
+ }, [c("ul", Er, [(E(!0), s(e, null, k(I.value, (e) => (E(), s("li", {
2572
2572
  key: F(e),
2573
2573
  role: "option",
2574
2574
  "aria-selected": v.value.includes(F(e)),
2575
2575
  class: b(["flex w-full cursor-pointer items-center gap-2 px-6 py-3 text-left text-sm whitespace-nowrap text-gray-700 transition-colors duration-200 hover:bg-gray-100 hover:text-purple-600 focus:bg-gray-100 focus:outline-none", { "font-medium text-cornflower-blue-600": t.singleSelect && v.value.includes(F(e)) }]),
2576
- onClick: (n) => t.singleSelect ? V(e) : te(e)
2576
+ onClick: (n) => t.singleSelect ? re(e) : ne(e)
2577
2577
  }, [d(M(N(e)) + " ", 1), t.singleSelect && v.value.includes(F(e)) ? (E(), a(Q, {
2578
2578
  key: 0,
2579
2579
  name: "check",
2580
2580
  class: "ml-auto shrink-0 text-xs"
2581
- })) : o("", !0)], 10, Dr))), 128))]), z.value ? (E(), s("div", {
2581
+ })) : o("", !0)], 10, Dr))), 128))]), R.value ? (E(), s("div", {
2582
2582
  key: 0,
2583
2583
  class: "flex grow-0 items-center gap-4 border-t border-gray-100 px-6 py-3 whitespace-normal text-gray-700",
2584
- onClick: l[2] ||= (e) => U()
2584
+ onClick: l[2] ||= (e) => V()
2585
2585
  }, [f(Q, {
2586
2586
  name: "plus",
2587
2587
  class: "cursor-pointer small-normal",
@@ -2601,7 +2601,7 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
2601
2601
  class: "w-full",
2602
2602
  "left-icon": P(m),
2603
2603
  placeholder: P(h),
2604
- onKeydown: K(H, ["enter"])
2604
+ onKeydown: W(B, ["enter"])
2605
2605
  }, null, 8, [
2606
2606
  "modelValue",
2607
2607
  "left-icon",
@@ -2615,7 +2615,7 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
2615
2615
  "leave-from-class": "max-h-40 opacity-100",
2616
2616
  "leave-to-class": "max-h-0 opacity-0"
2617
2617
  }, {
2618
- default: W(() => [D.value && I.value.length > 0 ? (E(), a(r, {
2618
+ default: H(() => [D.value && ee.value.length > 0 ? (E(), a(r, {
2619
2619
  key: 0,
2620
2620
  tag: "div",
2621
2621
  class: "flex flex-wrap gap-1 border-b border-gray-200 p-2 pt-0",
@@ -2626,43 +2626,43 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
2626
2626
  "leave-from-class": "opacity-100 scale-100",
2627
2627
  "leave-to-class": "opacity-0 scale-75"
2628
2628
  }, {
2629
- default: W(() => [(E(!0), s(e, null, k(I.value, (e) => (E(), s("button", {
2629
+ default: H(() => [(E(!0), s(e, null, k(ee.value, (e) => (E(), s("button", {
2630
2630
  key: e.value,
2631
2631
  class: "origin-left cursor-pointer",
2632
2632
  "aria-label": `Verwijder ${e.label}`,
2633
- onClick: (t) => G(e.value)
2633
+ onClick: (t) => U(e.value)
2634
2634
  }, [f(Kn, {
2635
2635
  ghost: !0,
2636
2636
  class: "group",
2637
2637
  variant: e.isCustom ? "success" : "default"
2638
2638
  }, {
2639
- close: W(() => [c("span", null, [f(Q, {
2639
+ close: H(() => [c("span", null, [f(Q, {
2640
2640
  name: "xmark",
2641
2641
  class: "text-xs group-hover:text-brick-500",
2642
2642
  "aria-hidden": "true"
2643
2643
  })])]),
2644
- default: W(() => [d(M(e.label) + " ", 1)]),
2644
+ default: H(() => [d(M(e.label) + " ", 1)]),
2645
2645
  _: 2
2646
2646
  }, 1032, ["variant"])], 8, jr))), 128))]),
2647
2647
  _: 1
2648
2648
  })) : o("", !0)]),
2649
2649
  _: 1
2650
2650
  }),
2651
- c("ul", Mr, [(E(!0), s(e, null, k(L.value, (e) => (E(), s("li", {
2651
+ c("ul", Mr, [(E(!0), s(e, null, k(I.value, (e) => (E(), s("li", {
2652
2652
  key: F(e),
2653
2653
  role: "option",
2654
2654
  "aria-selected": v.value.includes(F(e)),
2655
2655
  class: b(["flex w-full min-w-42 cursor-pointer items-center gap-2 px-6 py-3 text-left text-sm whitespace-nowrap text-gray-700 transition-colors duration-200 hover:bg-gray-100 hover:text-purple-600 focus:bg-gray-100 focus:outline-none", { "font-medium text-cornflower-blue-600": t.singleSelect && v.value.includes(F(e)) }]),
2656
- onClick: (n) => t.singleSelect ? V(e) : te(e)
2656
+ onClick: (n) => t.singleSelect ? re(e) : ne(e)
2657
2657
  }, [d(M(N(e)) + " ", 1), t.singleSelect && v.value.includes(F(e)) ? (E(), a(Q, {
2658
2658
  key: 0,
2659
2659
  name: "check",
2660
2660
  class: "ml-auto shrink-0 text-xs"
2661
2661
  })) : o("", !0)], 10, Nr))), 128))]),
2662
- z.value ? (E(), s("div", {
2662
+ R.value ? (E(), s("div", {
2663
2663
  key: 0,
2664
2664
  class: "flex grow-0 items-center gap-4 border-t border-gray-100 px-6 py-3 whitespace-normal text-gray-700",
2665
- onClick: l[5] ||= (e) => U()
2665
+ onClick: l[5] ||= (e) => V()
2666
2666
  }, [f(Q, {
2667
2667
  name: "plus",
2668
2668
  class: "cursor-pointer small-normal",
@@ -2696,7 +2696,7 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
2696
2696
  }),
2697
2697
  emits: ["update:modelValue"],
2698
2698
  setup(e) {
2699
- let t = e, { variant: n = "secondary", placement: r = "right", icon: o = "tag", placeholder: s = "Zoeken...", matchWidth: l = !1, fullWidth: u = !1, singleSelect: p = !1 } = t, m = R(e, "modelValue"), h = O(null), g = i(() => r === "right" ? "bottom-end" : "bottom-start"), _ = i(() => !p && t.showChips), v = async () => {
2699
+ let t = e, { variant: n = "secondary", placement: r = "right", icon: o = "tag", placeholder: s = "Zoeken...", matchWidth: l = !1, fullWidth: u = !1, singleSelect: p = !1 } = t, m = L(e, "modelValue"), h = O(null), g = i(() => r === "right" ? "bottom-end" : "bottom-start"), _ = i(() => !p && t.showChips), v = async () => {
2700
2700
  await y(), h.value?.focus();
2701
2701
  };
2702
2702
  return (e, r) => (E(), a(Qn, {
@@ -2705,7 +2705,7 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
2705
2705
  class: b(P(u) ? "w-full" : void 0),
2706
2706
  onOpen: v
2707
2707
  }, {
2708
- trigger: W(({ isOpen: t, toggle: i }) => [f(cn, {
2708
+ trigger: H(({ isOpen: t, toggle: i }) => [f(cn, {
2709
2709
  variant: P(n),
2710
2710
  icon: P(o),
2711
2711
  "aria-expanded": t,
@@ -2713,7 +2713,7 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
2713
2713
  "full-width": P(u),
2714
2714
  onClick: i
2715
2715
  }, {
2716
- default: W(() => [c("span", { class: b(P(u) ? "flex flex-1 items-center justify-between gap-2" : "flex gap-2") }, [A(e.$slots, "default", {}, () => [r[1] ||= d("Combobox", -1)]), f(Q, { name: "chevron-down" })], 2)]),
2716
+ default: H(() => [c("span", { class: b(P(u) ? "flex flex-1 items-center justify-between gap-2" : "flex gap-2") }, [A(e.$slots, "default", {}, () => [r[1] ||= d("Combobox", -1)]), f(Q, { name: "chevron-down" })], 2)]),
2717
2717
  _: 3
2718
2718
  }, 8, [
2719
2719
  "variant",
@@ -2722,7 +2722,7 @@ var vt = { funda: { render: _t } }, Q = /* @__PURE__ */ p({
2722
2722
  "full-width",
2723
2723
  "onClick"
2724
2724
  ])]),
2725
- content: W(({ close: e }) => [f(Fr, {
2725
+ content: H(({ close: e }) => [f(Fr, {
2726
2726
  ref_key: "panelRef",
2727
2727
  ref: h,
2728
2728
  modelValue: m.value,
@@ -3569,7 +3569,7 @@ var ni = /* @__PURE__ */ p({
3569
3569
  }),
3570
3570
  emits: ["update:modelValue"],
3571
3571
  setup(t) {
3572
- let r = "country-select-" + Math.random().toString(36).slice(2, 10), l = t, u = R(t, "modelValue"), p = O(""), m = O(null), h = i(() => Wr.find((e) => e.name === u.value) ?? null), g = i(() => {
3572
+ let r = "country-select-" + Math.random().toString(36).slice(2, 10), l = t, u = L(t, "modelValue"), p = O(""), m = O(null), h = i(() => Wr.find((e) => e.name === u.value) ?? null), g = i(() => {
3573
3573
  let e = l.pinnedCountries.map((e) => Wr.find((t) => t.code === e)).filter((e) => e !== void 0), t = new Set(l.pinnedCountries), n = Wr.filter((e) => !t.has(e.code)).sort((e, t) => e.name.localeCompare(t.name, "nl"));
3574
3574
  return [...e, ...n];
3575
3575
  }), _ = i(() => {
@@ -3591,7 +3591,7 @@ var ni = /* @__PURE__ */ p({
3591
3591
  "match-width": "",
3592
3592
  onOpen: x
3593
3593
  }, {
3594
- trigger: W(({ isOpen: e, toggle: n }) => [c("div", {
3594
+ trigger: H(({ isOpen: e, toggle: n }) => [c("div", {
3595
3595
  id: P(r),
3596
3596
  role: "combobox",
3597
3597
  "aria-expanded": e,
@@ -3599,7 +3599,7 @@ var ni = /* @__PURE__ */ p({
3599
3599
  tabindex: "0",
3600
3600
  class: b(["group flex w-full cursor-pointer items-center gap-2 rounded-lg pr-3 ring transition-colors ease-out focus:ring-cornflower-blue-500 focus:outline-none", t.error ? "ring-brick-400" : "ring-gray-200"]),
3601
3601
  onClick: n,
3602
- onKeydown: [K(q(n, ["prevent"]), ["enter"]), K(q(n, ["prevent"]), ["space"])]
3602
+ onKeydown: [W(G(n, ["prevent"]), ["enter"]), W(G(n, ["prevent"]), ["space"])]
3603
3603
  }, [c("span", { class: b(["flex h-10 w-full min-w-60 items-center gap-2 pl-3 text-sm", h.value ? "text-gray-900" : "text-gray-400"]) }, [h.value ? (E(), s("span", {
3604
3604
  key: 0,
3605
3605
  class: b([`fi fi-${h.value.code}`, "shrink-0"])
@@ -3607,7 +3607,7 @@ var ni = /* @__PURE__ */ p({
3607
3607
  name: "chevron-down",
3608
3608
  class: b(["shrink-0 text-gray-400 transition-all duration-200 group-hover:text-cornflower-blue-600", { "rotate-180": e }])
3609
3609
  }, null, 8, ["class"])], 42, Yr)]),
3610
- content: W(({ close: t }) => [c("div", Xr, [c("div", Zr, [f(Sr, {
3610
+ content: H(({ close: t }) => [c("div", Xr, [c("div", Zr, [f(Sr, {
3611
3611
  ref_key: "inputRef",
3612
3612
  ref: m,
3613
3613
  modelValue: p.value,
@@ -3640,7 +3640,7 @@ var ni = /* @__PURE__ */ p({
3640
3640
  "leave-from-class": "opacity-100 translate-y-0",
3641
3641
  "leave-to-class": "opacity-0 -translate-y-1"
3642
3642
  }, {
3643
- default: W(() => [t.error && t.errorMessage ? (E(), s("p", ti, M(t.errorMessage), 1)) : o("", !0)]),
3643
+ default: H(() => [t.error && t.errorMessage ? (E(), s("p", ti, M(t.errorMessage), 1)) : o("", !0)]),
3644
3644
  _: 1
3645
3645
  })
3646
3646
  ]));
@@ -3704,7 +3704,7 @@ var ni = /* @__PURE__ */ p({
3704
3704
  "aria-label": l.value,
3705
3705
  class: b(["flex rounded-xl bg-white outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-cornflower-blue-500", [r.value ? "gap-6 p-1.5" : "p-4", u.value]])
3706
3706
  }, {
3707
- default: W(() => [r.value ? (E(), s("div", {
3707
+ default: H(() => [r.value ? (E(), s("div", {
3708
3708
  key: 0,
3709
3709
  class: b(["flex min-h-10 w-14 items-center justify-center overflow-hidden rounded-l-md", p.value])
3710
3710
  }, [f(Q, {
@@ -3749,14 +3749,14 @@ var ni = /* @__PURE__ */ p({
3749
3749
  }),
3750
3750
  emits: ["update:modelValue"],
3751
3751
  setup(e) {
3752
- let t = R(e, "modelValue"), n = e, r = /* @__PURE__ */ new Set([
3752
+ let t = L(e, "modelValue"), n = e, r = /* @__PURE__ */ new Set([
3753
3753
  "placeholder",
3754
3754
  "anchor",
3755
3755
  "autoClose"
3756
3756
  ]), o = i(() => ({
3757
3757
  timezone: "UTC",
3758
3758
  ...Object.fromEntries(Object.entries(n).filter(([e]) => !r.has(e)))
3759
- })), s = B("panelRef"), l = B("popoverRef"), u = {
3759
+ })), s = z("panelRef"), l = z("popoverRef"), u = {
3760
3760
  "bottom-right": "bottom-end",
3761
3761
  "bottom-left": "bottom-start",
3762
3762
  "top-right": "top-end",
@@ -3775,7 +3775,7 @@ var ni = /* @__PURE__ */ p({
3775
3775
  onOpen: h,
3776
3776
  onClose: g
3777
3777
  }, {
3778
- trigger: W(({ isOpen: t, toggle: r }) => [A(e.$slots, "trigger", {
3778
+ trigger: H(({ isOpen: t, toggle: r }) => [A(e.$slots, "trigger", {
3779
3779
  isOpen: t,
3780
3780
  toggle: r
3781
3781
  }, () => [f(cn, {
@@ -3785,10 +3785,10 @@ var ni = /* @__PURE__ */ p({
3785
3785
  "aria-haspopup": "grid",
3786
3786
  onClick: r
3787
3787
  }, {
3788
- default: W(() => [d(M(n.placeholder), 1)]),
3788
+ default: H(() => [d(M(n.placeholder), 1)]),
3789
3789
  _: 1
3790
3790
  }, 8, ["aria-expanded", "onClick"])])]),
3791
- content: W(() => [c("div", {
3791
+ content: H(() => [c("div", {
3792
3792
  ref_key: "popoverRef",
3793
3793
  ref: l,
3794
3794
  tabindex: "-1",
@@ -3908,7 +3908,7 @@ var ni = /* @__PURE__ */ p({
3908
3908
  emits: ["navigate", "checkboxChange"],
3909
3909
  setup(t, { emit: n }) {
3910
3910
  let r = i(() => t.ariaLabel ?? (t.label ? `${t.label} menu openen` : "Menu openen")), l = n, u = O(null), p = i(() => t.placement === "right" ? "bottom-end" : "bottom-start"), m = i(() => t.options.length > 0 && "items" in t.options[0] ? t.options.flatMap((e) => e.items) : t.options), h = O({});
3911
- H(() => m.value.filter((e) => e.checkbox).map((e) => e.selected ?? !1), () => {
3911
+ B(() => m.value.filter((e) => e.checkbox).map((e) => e.selected ?? !1), () => {
3912
3912
  h.value = {};
3913
3913
  }, { deep: !0 });
3914
3914
  let g = i(() => Object.fromEntries(m.value.filter((e) => e.checkbox).map((e) => [e.label, e.label in h.value ? h.value[e.label] : e.selected ?? !1]))), _ = (e) => {
@@ -3928,7 +3928,7 @@ var ni = /* @__PURE__ */ p({
3928
3928
  ref: u,
3929
3929
  placement: p.value
3930
3930
  }, {
3931
- trigger: W(({ isOpen: n, toggle: i }) => [c("div", { class: b(["inline-flex items-center overflow-hidden rounded-lg", S.value]) }, [t.iconOnly ? o("", !0) : (E(), s(e, { key: 0 }, [c("button", {
3931
+ trigger: H(({ isOpen: n, toggle: i }) => [c("div", { class: b(["inline-flex items-center overflow-hidden rounded-lg", S.value]) }, [t.iconOnly ? o("", !0) : (E(), s(e, { key: 0 }, [c("button", {
3932
3932
  class: b(["flex cursor-pointer items-center gap-2 px-4 py-2 transition-colors duration-200", C.value]),
3933
3933
  onClick: (e) => t.action ? _(t.action) : i()
3934
3934
  }, [t.icon ? (E(), a(Q, {
@@ -3949,7 +3949,7 @@ var ni = /* @__PURE__ */ p({
3949
3949
  class: b(["transition-transform duration-200", { "rotate-180": n && t.triggerIcon === "chevron-down" }]),
3950
3950
  "aria-hidden": "true"
3951
3951
  }, null, 8, ["name", "class"])], 10, _i)], 2)]),
3952
- content: W(() => [c("div", vi, [(E(!0), s(e, null, k(x.value, (t, n) => (E(), s(e, { key: t.title || n }, [t.title ? (E(), s("div", {
3952
+ content: H(() => [c("div", vi, [(E(!0), s(e, null, k(x.value, (t, n) => (E(), s(e, { key: t.title || n }, [t.title ? (E(), s("div", {
3953
3953
  key: 0,
3954
3954
  class: b(["border-b border-gray-100 px-6 py-3 extra-small-normal text-gray-600", n > 0 ? "border-t pt-2" : ""])
3955
3955
  }, M(t.title), 3)) : o("", !0), (E(!0), s(e, null, k(t.items, (e) => (E(), s("button", {
@@ -3989,22 +3989,22 @@ var ni = /* @__PURE__ */ p({
3989
3989
  },
3990
3990
  setup(e) {
3991
3991
  return (t, n) => (E(), a(P(ke), null, {
3992
- default: W(() => [f(P(Ae), {
3992
+ default: H(() => [f(P(Ae), {
3993
3993
  "delay-duration": e.delay,
3994
3994
  "disable-hoverable-content": e.disableHoverableContent,
3995
3995
  "disable-closing-trigger": e.disableClosingTrigger
3996
3996
  }, {
3997
- default: W(() => [f(P(je), { "as-child": "" }, {
3998
- default: W(() => [A(t.$slots, "default")]),
3997
+ default: H(() => [f(P(je), { "as-child": "" }, {
3998
+ default: H(() => [A(t.$slots, "default")]),
3999
3999
  _: 3
4000
4000
  }), f(P(Oe), null, {
4001
- default: W(() => [f(P(De), {
4001
+ default: H(() => [f(P(De), {
4002
4002
  side: e.side,
4003
4003
  "side-offset": e.sideOffset,
4004
4004
  align: e.align,
4005
4005
  class: "z-50 rounded-lg border border-gray-200 bg-white px-3 py-2 shadow-xs"
4006
4006
  }, {
4007
- default: W(() => [A(t.$slots, "tooltip")]),
4007
+ default: H(() => [A(t.$slots, "tooltip")]),
4008
4008
  _: 3
4009
4009
  }, 8, [
4010
4010
  "side",
@@ -4050,7 +4050,7 @@ var ni = /* @__PURE__ */ p({
4050
4050
  }),
4051
4051
  emits: ["update:modelValue"],
4052
4052
  setup(t) {
4053
- let n = t, r = R(t, "modelValue"), i = B("containerRef"), l = O([]), u = O({
4053
+ let n = t, r = L(t, "modelValue"), i = z("containerRef"), l = O([]), u = O({
4054
4054
  width: "0px",
4055
4055
  transform: "translateX(0px)"
4056
4056
  }), f = O("inset(0 100% 0 0 round 8px)"), p = O(!1), m = async () => {
@@ -4063,7 +4063,7 @@ var ni = /* @__PURE__ */ p({
4063
4063
  transform: `translateX(${s}px)`
4064
4064
  }, f.value = `inset(0 ${d}px 0 ${s}px round 8px)`;
4065
4065
  };
4066
- return H(r, async () => await m()), ot(i, () => m()), w(async () => {
4066
+ return B(r, async () => await m()), ot(i, () => m()), w(async () => {
4067
4067
  await document.fonts.ready, await m(), await y(), p.value = !0;
4068
4068
  }), (n, m) => (E(), s("div", Si, [t.label ? (E(), s("label", Ci, M(t.label), 1)) : o("", !0), c("div", {
4069
4069
  ref_key: "containerRef",
@@ -4079,8 +4079,8 @@ var ni = /* @__PURE__ */ p({
4079
4079
  key: 0,
4080
4080
  "disable-closing-trigger": ""
4081
4081
  }, {
4082
- tooltip: W(() => [d(M(n.tooltip), 1)]),
4083
- default: W(() => [c("button", {
4082
+ tooltip: H(() => [d(M(n.tooltip), 1)]),
4083
+ default: H(() => [c("button", {
4084
4084
  ref_for: !0,
4085
4085
  ref: (e) => l.value[i] = e,
4086
4086
  type: "button",
@@ -4134,7 +4134,7 @@ var ni = /* @__PURE__ */ p({
4134
4134
  }),
4135
4135
  emits: ["update:modelValue"],
4136
4136
  setup(e) {
4137
- let t = R(e, "modelValue"), n = i(() => ({
4137
+ let t = L(e, "modelValue"), n = i(() => ({
4138
4138
  ...Ai,
4139
4139
  ...e.messages
4140
4140
  })), r = i(() => [
@@ -4165,7 +4165,7 @@ var ni = /* @__PURE__ */ p({
4165
4165
  }
4166
4166
  });
4167
4167
  return (t, n) => (E(), a($, { label: e.label }, {
4168
- default: W(() => [f(ki, {
4168
+ default: H(() => [f(ki, {
4169
4169
  modelValue: o.value,
4170
4170
  "onUpdate:modelValue": n[0] ||= (e) => o.value = e,
4171
4171
  options: r.value
@@ -4189,7 +4189,7 @@ var ni = /* @__PURE__ */ p({
4189
4189
  }),
4190
4190
  emits: ["update:modelValue"],
4191
4191
  setup(e) {
4192
- let t = R(e, "modelValue"), n = i(() => ({
4192
+ let t = L(e, "modelValue"), n = i(() => ({
4193
4193
  ...Mi,
4194
4194
  ...e.messages
4195
4195
  })), r = i(() => [
@@ -4215,7 +4215,7 @@ var ni = /* @__PURE__ */ p({
4215
4215
  }
4216
4216
  });
4217
4217
  return (t, n) => (E(), a($, { label: e.label }, {
4218
- default: W(() => [f(ki, {
4218
+ default: H(() => [f(ki, {
4219
4219
  modelValue: o.value,
4220
4220
  "onUpdate:modelValue": n[0] ||= (e) => o.value = e,
4221
4221
  options: r.value
@@ -4265,7 +4265,7 @@ var ni = /* @__PURE__ */ p({
4265
4265
  }),
4266
4266
  emits: ["update:modelValue", "update:enabled"],
4267
4267
  setup(e) {
4268
- let t = R(e, "modelValue"), n = R(e, "enabled"), r = i(() => ({
4268
+ let t = L(e, "modelValue"), n = L(e, "enabled"), r = i(() => ({
4269
4269
  ...Ri,
4270
4270
  ...e.messages
4271
4271
  })), o = Li.length - 1, s = i(() => t.value.split(/\s+/).filter(Boolean)), l = i(() => {
@@ -4293,7 +4293,7 @@ var ni = /* @__PURE__ */ p({
4293
4293
  label: e.label,
4294
4294
  switchable: e.switchable
4295
4295
  }, {
4296
- default: W(() => [c("div", Pi, [c("div", Fi, [f(At, {
4296
+ default: H(() => [c("div", Pi, [c("div", Fi, [f(At, {
4297
4297
  modelValue: m.value,
4298
4298
  "onUpdate:modelValue": i[0] ||= (e) => m.value = e,
4299
4299
  min: 0,
@@ -4359,7 +4359,7 @@ var ni = /* @__PURE__ */ p({
4359
4359
  }),
4360
4360
  emits: ["update:modelValue", "update:enabled"],
4361
4361
  setup(t) {
4362
- let n = R(t, "modelValue"), r = R(t, "enabled"), o = i(() => ({
4362
+ let n = L(t, "modelValue"), r = L(t, "enabled"), o = i(() => ({
4363
4363
  ...qi,
4364
4364
  ...t.messages
4365
4365
  })), u = (e) => e.startsWith("#"), d = i(() => {
@@ -4376,7 +4376,7 @@ var ni = /* @__PURE__ */ p({
4376
4376
  }), v = (e) => {
4377
4377
  n.value = `${t.property}-theme-${e}`;
4378
4378
  };
4379
- return H(() => t.property, (e) => {
4379
+ return B(() => t.property, (e) => {
4380
4380
  p.value ? n.value = `${e}-theme-${p.value}` : d.value && (n.value = `${e}-[${d.value}]`);
4381
4381
  }), (n, i) => (E(), a($, {
4382
4382
  modelValue: r.value,
@@ -4384,7 +4384,7 @@ var ni = /* @__PURE__ */ p({
4384
4384
  label: t.label,
4385
4385
  switchable: t.switchable
4386
4386
  }, {
4387
- default: W(() => [f(hr, {
4387
+ default: H(() => [f(hr, {
4388
4388
  modelValue: _.value,
4389
4389
  "onUpdate:modelValue": i[0] ||= (e) => _.value = e,
4390
4390
  "full-width": "",
@@ -4397,12 +4397,12 @@ var ni = /* @__PURE__ */ p({
4397
4397
  "value-label": h.value?.label
4398
4398
  }, l({ _: 2 }, [m.value.length ? {
4399
4399
  name: "presets",
4400
- fn: W(() => [c("div", Vi, [c("span", Hi, M(o.value.themeLabel), 1), c("div", Ui, [(E(!0), s(e, null, k(m.value, ({ role: e, label: t, hex: n }) => (E(), a(xi, {
4400
+ fn: H(() => [c("div", Vi, [c("span", Hi, M(o.value.themeLabel), 1), c("div", Ui, [(E(!0), s(e, null, k(m.value, ({ role: e, label: t, hex: n }) => (E(), a(xi, {
4401
4401
  key: e,
4402
4402
  "disable-closing-trigger": ""
4403
4403
  }, {
4404
- tooltip: W(() => [c("span", Gi, M(t), 1)]),
4405
- default: W(() => [c("button", {
4404
+ tooltip: H(() => [c("span", Gi, M(t), 1)]),
4405
+ default: H(() => [c("button", {
4406
4406
  type: "button",
4407
4407
  "aria-label": t,
4408
4408
  "aria-pressed": e === h.value?.role,
@@ -4445,7 +4445,7 @@ var ni = /* @__PURE__ */ p({
4445
4445
  }),
4446
4446
  emits: ["update:modelValue"],
4447
4447
  setup(e) {
4448
- let t = R(e, "modelValue"), n = i(() => ({
4448
+ let t = L(e, "modelValue"), n = i(() => ({
4449
4449
  ...Qi,
4450
4450
  ...e.messages
4451
4451
  })), r = i(() => [{
@@ -4463,7 +4463,7 @@ var ni = /* @__PURE__ */ p({
4463
4463
  }
4464
4464
  });
4465
4465
  return (t, n) => (E(), a($, { label: e.label }, {
4466
- default: W(() => [f(ki, {
4466
+ default: H(() => [f(ki, {
4467
4467
  modelValue: o.value,
4468
4468
  "onUpdate:modelValue": n[0] ||= (e) => o.value = e,
4469
4469
  options: r.value
@@ -4499,7 +4499,7 @@ var ni = /* @__PURE__ */ p({
4499
4499
  }),
4500
4500
  emits: ["update:modelValue"],
4501
4501
  setup(e) {
4502
- let t = R(e, "modelValue"), n = i(() => ({
4502
+ let t = L(e, "modelValue"), n = i(() => ({
4503
4503
  ...ra,
4504
4504
  ...e.messages
4505
4505
  })), r = na.length - 1, o = i(() => Math.max(0, na.findIndex((e) => `gap-${e}` === t.value))), s = i({
@@ -4509,7 +4509,7 @@ var ni = /* @__PURE__ */ p({
4509
4509
  }
4510
4510
  }), l = i(() => `${na[o.value] * ia} ${n.value.unit}`);
4511
4511
  return (t, n) => (E(), a($, { label: e.label }, {
4512
- default: W(() => [c("div", ea, [f(At, {
4512
+ default: H(() => [c("div", ea, [f(At, {
4513
4513
  modelValue: s.value,
4514
4514
  "onUpdate:modelValue": n[0] ||= (e) => s.value = e,
4515
4515
  min: 0,
@@ -4564,7 +4564,7 @@ var ni = /* @__PURE__ */ p({
4564
4564
  }),
4565
4565
  emits: ["update:modelValue"],
4566
4566
  setup(t) {
4567
- let r = (e) => typeof e == "string" ? e : e.label, l = (e) => typeof e == "string" ? e : e.value, u = (e) => typeof e == "string" ? void 0 : e.icon, p = "select-" + Math.random().toString(36).slice(2, 10), m = `${p}-listbox`, h = (e) => `${p}-option-${e}`, g = t, _ = R(t, "modelValue"), v = B("panel"), y = O(-1), x = i(() => {
4567
+ let r = (e) => typeof e == "string" ? e : e.label, l = (e) => typeof e == "string" ? e : e.value, u = (e) => typeof e == "string" ? void 0 : e.icon, p = "select-" + Math.random().toString(36).slice(2, 10), m = `${p}-listbox`, h = (e) => `${p}-option-${e}`, g = t, _ = L(t, "modelValue"), v = z("panel"), y = O(-1), x = i(() => {
4568
4568
  if (_.value === null || _.value === void 0) return null;
4569
4569
  let e = g.options.find((e) => l(e) === _.value);
4570
4570
  return e ? r(e) : null;
@@ -4614,7 +4614,7 @@ var ni = /* @__PURE__ */ p({
4614
4614
  D(e.key);
4615
4615
  }
4616
4616
  };
4617
- return H(_, () => {
4617
+ return B(_, () => {
4618
4618
  v.value?.isOpen || (y.value = -1);
4619
4619
  }), (i, g) => (E(), s("div", oa, [
4620
4620
  t.label ? (E(), s("label", {
@@ -4630,7 +4630,7 @@ var ni = /* @__PURE__ */ p({
4630
4630
  onClose: g[0] ||= (e) => y.value = -1,
4631
4631
  onOpen: g[1] ||= (e) => y.value = S.value >= 0 ? S.value : y.value
4632
4632
  }, {
4633
- trigger: W(({ isOpen: e, toggle: n }) => [c("div", {
4633
+ trigger: H(({ isOpen: e, toggle: n }) => [c("div", {
4634
4634
  id: P(p),
4635
4635
  role: "combobox",
4636
4636
  "aria-label": t.ariaLabel,
@@ -4653,7 +4653,7 @@ var ni = /* @__PURE__ */ p({
4653
4653
  class: b(["shrink-0 text-gray-400 transition-all duration-200 group-hover:text-cornflower-blue-600", { "rotate-180": e }])
4654
4654
  }, null, 8, ["class"])
4655
4655
  ], 42, la)]),
4656
- content: W(({ close: n }) => [c("ul", {
4656
+ content: H(({ close: n }) => [c("ul", {
4657
4657
  id: m,
4658
4658
  role: "listbox",
4659
4659
  class: "overflow-hidden rounded-lg bg-white shadow-xs ring ring-gray-100"
@@ -4684,7 +4684,7 @@ var ni = /* @__PURE__ */ p({
4684
4684
  "leave-from-class": "opacity-100 translate-y-0",
4685
4685
  "leave-to-class": "opacity-0 -translate-y-1"
4686
4686
  }, {
4687
- default: W(() => [t.error && t.errorMessage ? (E(), s("p", pa, M(t.errorMessage), 1)) : o("", !0)]),
4687
+ default: H(() => [t.error && t.errorMessage ? (E(), s("p", pa, M(t.errorMessage), 1)) : o("", !0)]),
4688
4688
  _: 1
4689
4689
  })
4690
4690
  ]));
@@ -4733,7 +4733,7 @@ var ni = /* @__PURE__ */ p({
4733
4733
  }),
4734
4734
  emits: ["update:modelValue"],
4735
4735
  setup(e) {
4736
- let t = R(e, "modelValue"), n = i(() => ({
4736
+ let t = L(e, "modelValue"), n = i(() => ({
4737
4737
  ...ga,
4738
4738
  ...e.messages
4739
4739
  })), r = i(() => ha.map(({ level: e, size: t }) => {
@@ -4751,7 +4751,7 @@ var ni = /* @__PURE__ */ p({
4751
4751
  }
4752
4752
  });
4753
4753
  return (t, n) => (E(), a($, { label: e.label }, {
4754
- default: W(() => [f(ma, {
4754
+ default: H(() => [f(ma, {
4755
4755
  modelValue: s.value,
4756
4756
  "onUpdate:modelValue": n[0] ||= (e) => s.value = e,
4757
4757
  options: r.value,
@@ -4782,7 +4782,7 @@ var ni = /* @__PURE__ */ p({
4782
4782
  }),
4783
4783
  emits: ["update:modelValue"],
4784
4784
  setup(e) {
4785
- let t = R(e, "modelValue"), n = i(() => ({
4785
+ let t = L(e, "modelValue"), n = i(() => ({
4786
4786
  ...va,
4787
4787
  ...e.messages
4788
4788
  })), r = i(() => [
@@ -4813,7 +4813,7 @@ var ni = /* @__PURE__ */ p({
4813
4813
  }
4814
4814
  });
4815
4815
  return (t, n) => (E(), a($, { label: e.label }, {
4816
- default: W(() => [f(ki, {
4816
+ default: H(() => [f(ki, {
4817
4817
  modelValue: o.value,
4818
4818
  "onUpdate:modelValue": n[0] ||= (e) => o.value = e,
4819
4819
  options: r.value
@@ -4908,8 +4908,8 @@ var ni = /* @__PURE__ */ p({
4908
4908
  },
4909
4909
  emits: ["commit", "step"],
4910
4910
  setup(e, { emit: t }) {
4911
- let n = t, r = B("input"), i = O(e.value), a = O();
4912
- H(() => e.value, (e) => {
4911
+ let n = t, r = z("input"), i = O(e.value), a = O();
4912
+ B(() => e.value, (e) => {
4913
4913
  i.value = e;
4914
4914
  });
4915
4915
  let o = () => {
@@ -5035,11 +5035,11 @@ var ni = /* @__PURE__ */ p({
5035
5035
  }),
5036
5036
  emits: ["update:modelValue"],
5037
5037
  setup(t) {
5038
- let n = R(t, "modelValue"), r = i(() => ({
5038
+ let n = L(t, "modelValue"), r = i(() => ({
5039
5039
  ...Va,
5040
5040
  ...t.messages
5041
5041
  })), o = O(Wa(n.value));
5042
- H(n, (e) => {
5042
+ B(n, (e) => {
5043
5043
  o.value = Wa(e);
5044
5044
  });
5045
5045
  let l = O(o.value.top !== o.value.bottom || o.value.left !== o.value.right), u = (e) => ({
@@ -5074,7 +5074,7 @@ var ni = /* @__PURE__ */ p({
5074
5074
  });
5075
5075
  };
5076
5076
  return (n, i) => (E(), a($, { label: t.label }, {
5077
- default: W(() => [c("div", Ma, [(E(!0), s(e, null, k(d.value, (e) => (E(), a(ja, {
5077
+ default: H(() => [c("div", Ma, [(E(!0), s(e, null, k(d.value, (e) => (E(), a(ja, {
5078
5078
  key: e.key,
5079
5079
  sides: e.targets,
5080
5080
  label: e.label,
@@ -5090,8 +5090,8 @@ var ni = /* @__PURE__ */ p({
5090
5090
  "onCommit",
5091
5091
  "onStep"
5092
5092
  ]))), 128)), f(xi, { "disable-closing-trigger": "" }, {
5093
- tooltip: W(() => [c("span", Pa, M(r.value.toggle), 1)]),
5094
- default: W(() => [c("button", {
5093
+ tooltip: H(() => [c("span", Pa, M(r.value.toggle), 1)]),
5094
+ default: H(() => [c("button", {
5095
5095
  type: "button",
5096
5096
  "aria-label": r.value.toggle,
5097
5097
  "aria-pressed": l.value,
@@ -5139,7 +5139,7 @@ var ni = /* @__PURE__ */ p({
5139
5139
  }),
5140
5140
  emits: ["update:modelValue"],
5141
5141
  setup(e) {
5142
- let t = R(e, "modelValue"), n = i(() => ({
5142
+ let t = L(e, "modelValue"), n = i(() => ({
5143
5143
  ...Ja,
5144
5144
  ...e.messages
5145
5145
  })), r = i(() => [
@@ -5170,7 +5170,7 @@ var ni = /* @__PURE__ */ p({
5170
5170
  }
5171
5171
  });
5172
5172
  return (t, n) => (E(), a($, { label: e.label }, {
5173
- default: W(() => [f(ki, {
5173
+ default: H(() => [f(ki, {
5174
5174
  modelValue: o.value,
5175
5175
  "onUpdate:modelValue": n[0] ||= (e) => o.value = e,
5176
5176
  options: r.value
@@ -5237,7 +5237,7 @@ var ni = /* @__PURE__ */ p({
5237
5237
  variant: "secondary",
5238
5238
  onClick: e.backButtonAction
5239
5239
  }, {
5240
- default: W(() => [d(M(e.backButtonText), 1)]),
5240
+ default: H(() => [d(M(e.backButtonText), 1)]),
5241
5241
  _: 1
5242
5242
  }, 8, ["onClick"])) : o("", !0)]), t.$slots.title ? (E(), s("div", eo, [A(t.$slots, "title")])) : (E(), s("span", {
5243
5243
  key: 1,
@@ -5340,7 +5340,7 @@ var ni = /* @__PURE__ */ p({
5340
5340
  })), h = i(() => {
5341
5341
  let e = { ...p };
5342
5342
  return delete e.class, delete e.style, e;
5343
- }), g = t, _ = (e) => typeof e == "string" ? e : e.label, y = (e) => typeof e == "string" ? e : e.value, x = R(t, "input"), C = R(t, "select"), w = i(() => {
5343
+ }), g = t, _ = (e) => typeof e == "string" ? e : e.label, y = (e) => typeof e == "string" ? e : e.value, x = L(t, "input"), C = L(t, "select"), w = i(() => {
5344
5344
  if (C.value === null || C.value === void 0) return null;
5345
5345
  let e = g.options.find((e) => y(e) === C.value);
5346
5346
  return e ? _(e) : null;
@@ -5357,7 +5357,7 @@ var ni = /* @__PURE__ */ p({
5357
5357
  for: P(l)
5358
5358
  }, [d(M(t.label) + " ", 1), t.required ? (E(), s("span", oo, "*")) : o("", !0)], 8, ao)) : o("", !0),
5359
5359
  c("div", { class: b(["group flex items-center overflow-hidden rounded-lg ring transition-colors ease-out focus-within:ring-cornflower-blue-500", [t.error ? "ring-brick-400" : "ring-gray-200", t.selectPosition === "after" ? "flex-row-reverse" : "flex-row"]]) }, [f(Qn, { placement: t.selectPosition === "after" ? "bottom-end" : "bottom-start" }, {
5360
- trigger: W(({ isOpen: e, toggle: n }) => [c("div", {
5360
+ trigger: H(({ isOpen: e, toggle: n }) => [c("div", {
5361
5361
  id: P(u),
5362
5362
  role: "combobox",
5363
5363
  "aria-expanded": e,
@@ -5365,7 +5365,7 @@ var ni = /* @__PURE__ */ p({
5365
5365
  tabindex: "0",
5366
5366
  class: b(["flex h-10 shrink-0 cursor-pointer items-center gap-1.5 px-3 text-sm transition-colors focus:outline-none", [w.value ? "text-gray-900" : "text-gray-400", t.selectPosition === "after" ? "border-l border-gray-200" : "border-r border-gray-200"]]),
5367
5367
  onClick: n,
5368
- onKeydown: [K(q(n, ["prevent"]), ["enter"]), K(q(n, ["prevent"]), ["space"])]
5368
+ onKeydown: [W(G(n, ["prevent"]), ["enter"]), W(G(n, ["prevent"]), ["space"])]
5369
5369
  }, [
5370
5370
  t.leftIcon ? (E(), a(Q, {
5371
5371
  key: 0,
@@ -5378,7 +5378,7 @@ var ni = /* @__PURE__ */ p({
5378
5378
  class: b(["shrink-0 text-gray-400 transition-all duration-200", { "rotate-180": e }])
5379
5379
  }, null, 8, ["class"])
5380
5380
  ], 42, so)]),
5381
- content: W(({ close: n }) => [c("ul", co, [(E(!0), s(e, null, k(t.options, (e) => (E(), s("li", {
5381
+ content: H(({ close: n }) => [c("ul", co, [(E(!0), s(e, null, k(t.options, (e) => (E(), s("li", {
5382
5382
  key: y(e),
5383
5383
  role: "option",
5384
5384
  "aria-selected": C.value === y(e),
@@ -5390,11 +5390,11 @@ var ni = /* @__PURE__ */ p({
5390
5390
  class: "text-xs"
5391
5391
  })) : o("", !0)], 10, lo))), 128))])]),
5392
5392
  _: 1
5393
- }, 8, ["placement"]), G(c("input", v({
5393
+ }, 8, ["placement"]), U(c("input", v({
5394
5394
  id: P(l),
5395
5395
  "onUpdate:modelValue": i[0] ||= (e) => x.value = e,
5396
5396
  placeholder: t.placeholder
5397
- }, h.value, { class: "h-10 w-full min-w-40 bg-transparent px-3 text-sm text-gray-900 placeholder-gray-400 focus:outline-none" }), null, 16, uo), [[te, x.value]])], 2),
5397
+ }, h.value, { class: "h-10 w-full min-w-40 bg-transparent px-3 text-sm text-gray-900 placeholder-gray-400 focus:outline-none" }), null, 16, uo), [[ne, x.value]])], 2),
5398
5398
  f(n, {
5399
5399
  "enter-active-class": "transition-all duration-200 ease-out",
5400
5400
  "enter-from-class": "opacity-0 -translate-y-1",
@@ -5403,7 +5403,7 @@ var ni = /* @__PURE__ */ p({
5403
5403
  "leave-from-class": "opacity-100 translate-y-0",
5404
5404
  "leave-to-class": "opacity-0 -translate-y-1"
5405
5405
  }, {
5406
- default: W(() => [t.error && t.errorMessage ? (E(), s("p", fo, M(t.errorMessage), 1)) : o("", !0)]),
5406
+ default: H(() => [t.error && t.errorMessage ? (E(), s("p", fo, M(t.errorMessage), 1)) : o("", !0)]),
5407
5407
  _: 1
5408
5408
  })
5409
5409
  ], 6));
@@ -5454,7 +5454,7 @@ var ni = /* @__PURE__ */ p({
5454
5454
  }),
5455
5455
  emits: ["update:modelValue"],
5456
5456
  setup(e) {
5457
- let t = R(e, "modelValue"), r = i(() => e.description?.trim() || void 0), l = async (n) => {
5457
+ let t = L(e, "modelValue"), r = i(() => e.description?.trim() || void 0), l = async (n) => {
5458
5458
  if (n) {
5459
5459
  t.value = !0;
5460
5460
  return;
@@ -5472,14 +5472,14 @@ var ni = /* @__PURE__ */ p({
5472
5472
  open: t.value,
5473
5473
  "onUpdate:open": l
5474
5474
  }, {
5475
- default: W(() => [f(P(fe), null, {
5476
- default: W(() => [c("div", go, [f(n, {
5475
+ default: H(() => [f(P(fe), null, {
5476
+ default: H(() => [c("div", go, [f(n, {
5477
5477
  "enter-active-class": "transition-opacity duration-200 ease-out",
5478
5478
  "enter-from-class": "opacity-0",
5479
5479
  "leave-active-class": "transition-opacity duration-150 ease-in",
5480
5480
  "leave-to-class": "opacity-0"
5481
5481
  }, {
5482
- default: W(() => [t.value ? (E(), a(P(de), {
5482
+ default: H(() => [t.value ? (E(), a(P(de), {
5483
5483
  key: 0,
5484
5484
  class: "pointer-events-auto absolute inset-0 bg-black/40 backdrop-blur-sm"
5485
5485
  })) : o("", !0)]),
@@ -5490,7 +5490,7 @@ var ni = /* @__PURE__ */ p({
5490
5490
  "leave-active-class": "transition-[opacity,translate] duration-150 ease-in",
5491
5491
  "leave-to-class": "opacity-0 translate-y-5"
5492
5492
  }, {
5493
- default: W(() => [t.value ? (E(), a(P(le), {
5493
+ default: H(() => [t.value ? (E(), a(P(le), {
5494
5494
  key: 0,
5495
5495
  class: b(["pointer-events-auto relative z-10 flex max-h-[85vh] w-full flex-col overflow-x-auto rounded-3xl bg-white shadow-lg", m.value]),
5496
5496
  style: S(h.value),
@@ -5499,20 +5499,20 @@ var ni = /* @__PURE__ */ p({
5499
5499
  onInteractOutside: u[1] ||= (t) => !e.dismissible && t.preventDefault(),
5500
5500
  onEscapeKeyDown: u[2] ||= (t) => !e.dismissible && t.preventDefault()
5501
5501
  }, {
5502
- default: W(() => [
5502
+ default: H(() => [
5503
5503
  e.title || r.value || i.$slots.header ? (E(), s("div", _o, [c("div", null, [
5504
5504
  e.title ? (E(), a(P(me), {
5505
5505
  key: 0,
5506
5506
  class: "heading-2"
5507
5507
  }, {
5508
- default: W(() => [d(M(e.title), 1)]),
5508
+ default: H(() => [d(M(e.title), 1)]),
5509
5509
  _: 1
5510
5510
  })) : o("", !0),
5511
5511
  r.value ? (E(), a(P(ue), {
5512
5512
  key: 1,
5513
5513
  class: "small-normal"
5514
5514
  }, {
5515
- default: W(() => [d(M(r.value), 1)]),
5515
+ default: H(() => [d(M(r.value), 1)]),
5516
5516
  _: 1
5517
5517
  })) : o("", !0),
5518
5518
  A(i.$slots, "header")
@@ -5520,13 +5520,13 @@ var ni = /* @__PURE__ */ p({
5520
5520
  key: 0,
5521
5521
  class: "ml-4 shrink-0 cursor-pointer rounded-sm p-1 focus-visible:outline-2"
5522
5522
  }, {
5523
- default: W(() => [f(Q, { name: "xmark" })]),
5523
+ default: H(() => [f(Q, { name: "xmark" })]),
5524
5524
  _: 1
5525
5525
  })) : o("", !0)])) : e.showClose ? (E(), a(P(ce), {
5526
5526
  key: 1,
5527
5527
  class: "absolute top-3 right-3 cursor-pointer rounded-sm p-1 focus-visible:outline-2"
5528
5528
  }, {
5529
- default: W(() => [f(Q, { name: "xmark" })]),
5529
+ default: H(() => [f(Q, { name: "xmark" })]),
5530
5530
  _: 1
5531
5531
  })) : o("", !0),
5532
5532
  c("div", { class: b(["overflow-y-auto px-6 pt-5", i.$slots.footer ? "pb-5" : "pb-6"]) }, [A(i.$slots, "default")], 2),
@@ -5574,7 +5574,7 @@ var ni = /* @__PURE__ */ p({
5574
5574
  disabled: e.cancelDisabled,
5575
5575
  onClick: r[0] ||= (e) => n("cancel")
5576
5576
  }, {
5577
- default: W(() => [d(M(e.cancelLabel), 1)]),
5577
+ default: H(() => [d(M(e.cancelLabel), 1)]),
5578
5578
  _: 1
5579
5579
  }, 8, ["disabled"]), f(cn, {
5580
5580
  variant: e.confirmVariant,
@@ -5583,7 +5583,7 @@ var ni = /* @__PURE__ */ p({
5583
5583
  disabled: e.confirmDisabled,
5584
5584
  onClick: r[1] ||= (e) => n("confirm")
5585
5585
  }, {
5586
- default: W(() => [d(M(e.confirmLabel), 1)]),
5586
+ default: H(() => [d(M(e.confirmLabel), 1)]),
5587
5587
  _: 1
5588
5588
  }, 8, [
5589
5589
  "variant",
@@ -5751,7 +5751,7 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
5751
5751
  "leave-from-class": "max-w-105 opacity-100",
5752
5752
  "leave-to-class": "max-w-0 opacity-0"
5753
5753
  }, {
5754
- default: W(() => [r.$slots.sidebar ? (E(), s("aside", es, [c("div", ts, [A(r.$slots, "sidebar")])])) : o("", !0)]),
5754
+ default: H(() => [r.$slots.sidebar ? (E(), s("aside", es, [c("div", ts, [A(r.$slots, "sidebar")])])) : o("", !0)]),
5755
5755
  _: 3
5756
5756
  })]));
5757
5757
  }
@@ -5799,7 +5799,7 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
5799
5799
  }),
5800
5800
  emits: ["update:page"],
5801
5801
  setup(t) {
5802
- let n = R(t, "page");
5802
+ let n = L(t, "page");
5803
5803
  return (r, i) => (E(), a(P(Se), {
5804
5804
  total: t.total,
5805
5805
  "items-per-page": t.itemsPerPage,
@@ -5808,21 +5808,21 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
5808
5808
  "onUpdate:page": i[0] ||= (e) => n.value = e,
5809
5809
  "show-edges": t.showEdges
5810
5810
  }, {
5811
- default: W(() => [f(P(ve), { class: b(["flex items-center gap-1 text-gray-700 transition", { "pointer-events-none opacity-50": t.disabled }]) }, {
5812
- default: W(({ items: n }) => [
5811
+ default: H(() => [f(P(ve), { class: b(["flex items-center gap-1 text-gray-700 transition", { "pointer-events-none opacity-50": t.disabled }]) }, {
5812
+ default: H(({ items: n }) => [
5813
5813
  n.some((e) => e.type === "ellipsis") ? (E(), a(P(ge), {
5814
5814
  key: 0,
5815
5815
  class: "flex size-8 cursor-pointer items-center justify-center rounded-lg bg-transparent transition hover:bg-cornflower-blue-50 disabled:cursor-not-allowed disabled:opacity-50",
5816
5816
  disabled: t.disabled
5817
5817
  }, {
5818
- default: W(() => [f(Q, { name: "angles-left" })]),
5818
+ default: H(() => [f(Q, { name: "angles-left" })]),
5819
5819
  _: 1
5820
5820
  }, 8, ["disabled"])) : o("", !0),
5821
5821
  f(P(xe), {
5822
5822
  class: "mr-4 flex size-8 cursor-pointer items-center justify-center rounded-lg bg-transparent transition hover:bg-cornflower-blue-50 disabled:cursor-not-allowed disabled:opacity-50",
5823
5823
  disabled: t.disabled
5824
5824
  }, {
5825
- default: W(() => [f(Q, { name: "chevron-left" })]),
5825
+ default: H(() => [f(Q, { name: "chevron-left" })]),
5826
5826
  _: 1
5827
5827
  }, 8, ["disabled"]),
5828
5828
  (E(!0), s(e, null, k(n, (n, r) => (E(), s(e, null, [n.type === "page" ? (E(), a(P(ye), {
@@ -5831,21 +5831,21 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
5831
5831
  disabled: t.disabled,
5832
5832
  class: "h-9 min-w-9 cursor-pointer rounded-lg border border-gray-200 px-2 transition hover:bg-cornflower-blue-50 disabled:cursor-not-allowed data-selected:border-cornflower-blue-500 data-selected:bg-cornflower-blue-500 data-selected:text-white data-selected:shadow-sm"
5833
5833
  }, {
5834
- default: W(() => [d(M(n.value), 1)]),
5834
+ default: H(() => [d(M(n.value), 1)]),
5835
5835
  _: 2
5836
5836
  }, 1032, ["value", "disabled"])) : (E(), a(P(he), {
5837
5837
  key: n.type,
5838
5838
  index: r,
5839
5839
  class: "flex size-8 items-center justify-center"
5840
5840
  }, {
5841
- default: W(() => [...i[1] ||= [d(" … ", -1)]]),
5841
+ default: H(() => [...i[1] ||= [d(" … ", -1)]]),
5842
5842
  _: 1
5843
5843
  }, 8, ["index"]))], 64))), 256)),
5844
5844
  f(P(be), {
5845
5845
  class: "ml-4 flex size-8 cursor-pointer items-center justify-center rounded-lg bg-transparent transition hover:bg-cornflower-blue-50 disabled:cursor-not-allowed disabled:opacity-50",
5846
5846
  disabled: t.disabled
5847
5847
  }, {
5848
- default: W(() => [f(Q, { name: "chevron-right" })]),
5848
+ default: H(() => [f(Q, { name: "chevron-right" })]),
5849
5849
  _: 1
5850
5850
  }, 8, ["disabled"]),
5851
5851
  n.some((e) => e.type === "ellipsis") ? (E(), a(P(_e), {
@@ -5853,7 +5853,7 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
5853
5853
  class: "flex size-8 cursor-pointer items-center justify-center rounded-lg bg-transparent transition hover:bg-cornflower-blue-50 disabled:cursor-not-allowed disabled:opacity-50",
5854
5854
  disabled: t.disabled
5855
5855
  }, {
5856
- default: W(() => [f(Q, { name: "angles-right" })]),
5856
+ default: H(() => [f(Q, { name: "angles-right" })]),
5857
5857
  _: 1
5858
5858
  }, 8, ["disabled"])) : o("", !0)
5859
5859
  ]),
@@ -5892,7 +5892,7 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
5892
5892
  }),
5893
5893
  emits: ["update:open"],
5894
5894
  setup(e) {
5895
- let t = R(e, "open"), r = L(), a = at(), l = i(() => a.value === "reduce"), u = {
5895
+ let t = L(e, "open"), r = I(), a = at(), l = i(() => a.value === "reduce"), u = {
5896
5896
  base: "flex h-7 items-center gap-1.5 rounded-lg px-2 extra-small-semibold tracking-wide text-gray-700 uppercase select-none",
5897
5897
  collapsible: "cursor-pointer hover:bg-gray-50",
5898
5898
  static: "cursor-default"
@@ -5909,7 +5909,7 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
5909
5909
  }, [c("div", v({
5910
5910
  role: "presentation",
5911
5911
  class: p.value
5912
- }, N(h.value, !0), { onMousedown: a[0] ||= q(() => {}, ["prevent"]) }), [e.collapsible ? (E(), s("span", ss, [f(Q, {
5912
+ }, N(h.value, !0), { onMousedown: a[0] ||= G(() => {}, ["prevent"]) }), [e.collapsible ? (E(), s("span", ss, [f(Q, {
5913
5913
  name: "chevron-down",
5914
5914
  "aria-hidden": "true",
5915
5915
  class: b(m.value)
@@ -5923,7 +5923,7 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
5923
5923
  "leave-to-class": "grid-rows-[0fr] opacity-0",
5924
5924
  onBeforeLeave: g
5925
5925
  }, {
5926
- default: W(() => [t.value ? (E(), s("div", ls, [c("div", us, [c("div", ds, [A(i.$slots, "default")])])])) : o("", !0)]),
5926
+ default: H(() => [t.value ? (E(), s("div", ls, [c("div", us, [c("div", ds, [A(i.$slots, "default")])])])) : o("", !0)]),
5927
5927
  _: 3
5928
5928
  }, 8, ["css"])], 8, os));
5929
5929
  }
@@ -5973,7 +5973,7 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
5973
5973
  class: b(u.value),
5974
5974
  onClick: m,
5975
5975
  onPointermove: r[0] ||= (e) => n("highlight"),
5976
- onMousedown: r[1] ||= q(() => {}, ["prevent"])
5976
+ onMousedown: r[1] ||= G(() => {}, ["prevent"])
5977
5977
  }, [A(t.$slots, "default", {}, () => [e.icon ? (E(), s("span", {
5978
5978
  key: 0,
5979
5979
  class: b(d.value)
@@ -6031,26 +6031,26 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
6031
6031
  "clear"
6032
6032
  ], ["update:highlighted"]),
6033
6033
  setup(t, { expose: r, emit: u }) {
6034
- let p = t, m = R(t, "highlighted"), h = u, g = `${L()}-listbox`, _ = (e) => `${g}-opt-${encodeURIComponent(e)}`, x = B("listbox"), S = at(), w = i(() => S.value === "reduce"), T = (e) => e.normalize("NFD").replace(/\p{M}/gu, "").toLocaleLowerCase(), D = i(() => p.search.trim()), j = i(() => T(D.value)), N = i(() => j.value !== ""), P = (e) => !N.value || T(e.label).includes(j.value) || !!e.keywords?.some((e) => T(e).includes(j.value)), F = i(() => p.items.filter(P)), I = i(() => new Set(p.groups.map((e) => e.id))), z = i(() => F.value.filter((e) => !e.group || !I.value.has(e.group))), ee = O({}), te = (e) => ee.value[e.id] ?? e.defaultOpen ?? !0, V = i(() => p.collapsible && !N.value), U = i(() => p.groups.map((e) => ({
6034
+ let p = t, m = L(t, "highlighted"), h = u, g = `${I()}-listbox`, _ = (e) => `${g}-opt-${encodeURIComponent(e)}`, x = z("listbox"), S = at(), w = i(() => S.value === "reduce"), T = (e) => e.normalize("NFD").replace(/\p{M}/gu, "").toLocaleLowerCase(), D = i(() => p.search.trim()), j = i(() => T(D.value)), N = i(() => j.value !== ""), P = (e) => !N.value || T(e.label).includes(j.value) || !!e.keywords?.some((e) => T(e).includes(j.value)), F = i(() => p.items.filter(P)), ee = i(() => new Set(p.groups.map((e) => e.id))), R = i(() => F.value.filter((e) => !e.group || !ee.value.has(e.group))), te = O({}), ne = (e) => te.value[e.id] ?? e.defaultOpen ?? !0, re = i(() => p.collapsible && !N.value), V = i(() => p.groups.map((e) => ({
6035
6035
  group: e,
6036
6036
  items: F.value.filter((t) => t.group === e.id),
6037
- open: !V.value || te(e)
6038
- })).filter((e) => e.items.length > 0)), G = i(() => [...z.value, ...U.value.flatMap((e) => e.open ? e.items : [])]), K = i(() => z.value.length > 0 || U.value.length > 0), q = i(() => N.value && G.value.length === 0), J = (e) => e === null ? null : G.value.find((t) => t.id === e) ?? null, ne = i(() => (G.value.find((e) => !e.disabled) ?? G.value[0])?.id ?? null), Y = i(() => J(m.value) ? m.value : ne.value), re = i(() => Y.value === null ? void 0 : _(Y.value)), X = "other", ie = (e, t) => {
6039
- t !== "fold" && (se = null), e !== Y.value && (X = t, m.value = e);
6037
+ open: !re.value || ne(e)
6038
+ })).filter((e) => e.items.length > 0)), U = i(() => [...R.value, ...V.value.flatMap((e) => e.open ? e.items : [])]), W = i(() => R.value.length > 0 || V.value.length > 0), G = i(() => N.value && U.value.length === 0), K = (e) => e === null ? null : U.value.find((t) => t.id === e) ?? null, ie = i(() => (U.value.find((e) => !e.disabled) ?? U.value[0])?.id ?? null), q = i(() => K(m.value) ? m.value : ie.value), J = i(() => q.value === null ? void 0 : _(q.value)), Y = "other", X = (e, t) => {
6039
+ t !== "fold" && (se = null), e !== q.value && (Y = t, m.value = e);
6040
6040
  };
6041
- H([m, Y], ([e, t]) => {
6041
+ B([m, q], ([e, t]) => {
6042
6042
  e !== t && (m.value = t);
6043
- }, { immediate: !0 }), H(Y, async (e) => {
6044
- h("highlight", J(e));
6045
- let t = X;
6046
- X = "other", t !== "pointer" && t !== "fold" && (await y(), ae(e));
6047
- }, { immediate: !0 }), H(() => p.search, async () => {
6048
- await y(), ae(Y.value);
6043
+ }, { immediate: !0 }), B(q, async (e) => {
6044
+ h("highlight", K(e));
6045
+ let t = Y;
6046
+ Y = "other", t !== "pointer" && t !== "fold" && (await y(), ae(e));
6047
+ }, { immediate: !0 }), B(() => p.search, async () => {
6048
+ await y(), ae(q.value);
6049
6049
  });
6050
6050
  let ae = (e) => {
6051
6051
  let t = e === null ? null : x.value?.ownerDocument.getElementById(_(e));
6052
6052
  if (!t) return;
6053
- let n = U.value.some((t) => t.items[0]?.id === e);
6053
+ let n = V.value.some((t) => t.items[0]?.id === e);
6054
6054
  oe(n && t.closest("[role=\"group\"]") || t, t);
6055
6055
  }, oe = (e, t) => {
6056
6056
  let n = x.value;
@@ -6058,7 +6058,7 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
6058
6058
  let r = n.getBoundingClientRect(), i = n.offsetHeight ? r.height / n.offsetHeight : 1, a = (e, t) => (e[t] - r.top) / i + n.scrollTop, o = getComputedStyle(n), s = a(e.getBoundingClientRect(), "top") - (parseFloat(o.paddingTop) || 0), c = a(t.getBoundingClientRect(), "bottom") + (parseFloat(o.paddingBottom) || 0);
6059
6059
  s < n.scrollTop ? n.scrollTop = s : c > n.scrollTop + n.clientHeight && (n.scrollTop = c - n.clientHeight);
6060
6060
  }, se = null, ce = (e) => {
6061
- let t = U.value.findIndex((t) => t.group.id === e);
6061
+ let t = V.value.findIndex((t) => t.group.id === e);
6062
6062
  return x.value?.querySelectorAll(":scope > [role=\"group\"]")[t] ?? null;
6063
6063
  }, le = async (e, t) => {
6064
6064
  se = t, await y();
@@ -6072,17 +6072,17 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
6072
6072
  y: e.clientY
6073
6073
  };
6074
6074
  }, me = (e) => {
6075
- fe && ie(e.id, "pointer");
6075
+ fe && X(e.id, "pointer");
6076
6076
  }, he = (e, t) => {
6077
- ee.value = {
6078
- ...ee.value,
6077
+ te.value = {
6078
+ ...te.value,
6079
6079
  [e]: t
6080
6080
  };
6081
6081
  }, ge = (e, t) => {
6082
- let n = U.value.findIndex((t) => t.group.id === e), r = J(Y.value);
6082
+ let n = V.value.findIndex((t) => t.group.id === e), r = K(q.value);
6083
6083
  if (n >= 0 && r?.group === e) {
6084
- let r = U.value.slice(n + 1).find((e) => e.open), i = U.value.slice(0, n).reverse().find((e) => e.open), a = r?.items[0] ?? i?.items.at(-1) ?? z.value.at(-1) ?? null, o = !!a && a === r?.items[0] && t === "keyboard" && !w.value;
6085
- ie(a?.id ?? null, o ? "fold" : t), he(e, !1), o && a && le(e, a.id);
6084
+ let r = V.value.slice(n + 1).find((e) => e.open), i = V.value.slice(0, n).reverse().find((e) => e.open), a = r?.items[0] ?? i?.items.at(-1) ?? R.value.at(-1) ?? null, o = !!a && a === r?.items[0] && t === "keyboard" && !w.value;
6085
+ X(a?.id ?? null, o ? "fold" : t), he(e, !1), o && a && le(e, a.id);
6086
6086
  return;
6087
6087
  }
6088
6088
  he(e, !1);
@@ -6091,34 +6091,34 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
6091
6091
  let n = e.items[0];
6092
6092
  if (!n) return;
6093
6093
  let r = t === "keyboard" && !w.value;
6094
- ie(n.id, r ? "fold" : t), r && le(e.group.id, n.id);
6094
+ X(n.id, r ? "fold" : t), r && le(e.group.id, n.id);
6095
6095
  }, ve = (e, t) => {
6096
6096
  se = null, t ? he(e.group.id, !0) : ge(e.group.id, "pointer");
6097
6097
  }, ye = () => {
6098
- let e = J(Y.value), t = e?.group ? U.value.findIndex((t) => t.group.id === e.group) : -1;
6099
- return U.value.slice(t + 1).find((e) => !e.open) ?? U.value.slice(0, Math.max(t, 0)).reverse().find((e) => !e.open);
6098
+ let e = K(q.value), t = e?.group ? V.value.findIndex((t) => t.group.id === e.group) : -1;
6099
+ return V.value.slice(t + 1).find((e) => !e.open) ?? V.value.slice(0, Math.max(t, 0)).reverse().find((e) => !e.open);
6100
6100
  }, be = (e) => {
6101
- let t = G.value;
6101
+ let t = U.value;
6102
6102
  if (t.length === 0) {
6103
- let t = V.value && e > 0 ? U.value.find((e) => !e.open) : void 0;
6103
+ let t = re.value && e > 0 ? V.value.find((e) => !e.open) : void 0;
6104
6104
  t && _e(t, "keyboard");
6105
6105
  return;
6106
6106
  }
6107
- let n = t.findIndex((e) => e.id === Y.value), r = Math.min(Math.max(n + e, 0), t.length - 1);
6108
- ie(t[r].id, "keyboard");
6107
+ let n = t.findIndex((e) => e.id === q.value), r = Math.min(Math.max(n + e, 0), t.length - 1);
6108
+ X(t[r].id, "keyboard");
6109
6109
  }, xe = () => {
6110
- let e = G.value[0];
6111
- e && ie(e.id, "keyboard");
6110
+ let e = U.value[0];
6111
+ e && X(e.id, "keyboard");
6112
6112
  }, Se = () => {
6113
- let e = G.value.at(-1);
6114
- e && ie(e.id, "keyboard");
6113
+ let e = U.value.at(-1);
6114
+ e && X(e.id, "keyboard");
6115
6115
  }, Ce = () => {
6116
- let e = J(Y.value);
6116
+ let e = K(q.value);
6117
6117
  e && !e.disabled && h("select", e);
6118
6118
  }, we = "", Te, Ee = (e) => {
6119
6119
  clearTimeout(Te), we += T(e), Te = setTimeout(() => we = "", ws);
6120
- let t = G.value.find((e) => T(e.label).startsWith(we));
6121
- t && ie(t.id, "keyboard");
6120
+ let t = U.value.find((e) => T(e.label).startsWith(we));
6121
+ t && X(t.id, "keyboard");
6122
6122
  }, De = (e) => [...e.key].length === 1 && !e.ctrlKey && !e.metaKey && !e.altKey, Oe = (e) => {
6123
6123
  if (!e.isComposing) {
6124
6124
  switch (e.key) {
@@ -6145,13 +6145,13 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
6145
6145
  Ce();
6146
6146
  break;
6147
6147
  case "ArrowLeft": {
6148
- let e = J(Y.value)?.group;
6149
- if (!V.value || !e || !I.value.has(e)) return;
6148
+ let e = K(q.value)?.group;
6149
+ if (!re.value || !e || !ee.value.has(e)) return;
6150
6150
  ge(e, "keyboard");
6151
6151
  break;
6152
6152
  }
6153
6153
  case "ArrowRight": {
6154
- if (!V.value) return;
6154
+ if (!re.value) return;
6155
6155
  let e = ye();
6156
6156
  if (!e) return;
6157
6157
  _e(e, "keyboard");
@@ -6169,9 +6169,9 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
6169
6169
  }, ke = () => {
6170
6170
  x.value?.focus({ preventScroll: !0 });
6171
6171
  }, Ae = i(() => typeof p.emptyDescription == "function" ? p.emptyDescription(D.value) : p.emptyDescription), je = () => h("clear"), Me = O(""), Ne;
6172
- H(() => p.search, () => {
6172
+ B(() => p.search, () => {
6173
6173
  clearTimeout(Ne), Ne = setTimeout(() => {
6174
- Me.value = p.resultsAnnouncement?.(G.value.length) ?? "";
6174
+ Me.value = p.resultsAnnouncement?.(U.value.length) ?? "";
6175
6175
  }, Ts);
6176
6176
  }), C(() => {
6177
6177
  clearTimeout(Ne), clearTimeout(Te);
@@ -6182,14 +6182,14 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
6182
6182
  icon: e.icon,
6183
6183
  description: e.description,
6184
6184
  disabled: e.disabled,
6185
- highlighted: e.id === Y.value
6185
+ highlighted: e.id === q.value
6186
6186
  }), Ie = {
6187
6187
  base: "group/listbox min-h-0 overflow-y-auto overscroll-contain scrollbar-thin focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-cornflower-blue-500",
6188
6188
  filled: "flex flex-1 flex-col gap-0.5 p-2"
6189
6189
  }, Le = {
6190
6190
  default: "flex flex-1 flex-col items-center justify-center gap-1 px-4 py-8 text-center",
6191
6191
  custom: "flex flex-1 flex-col"
6192
- }, Re = i(() => [Ie.base, K.value && Ie.filled]);
6192
+ }, Re = i(() => [Ie.base, W.value && Ie.filled]);
6193
6193
  return r({
6194
6194
  focus: ke,
6195
6195
  move: be,
@@ -6197,46 +6197,46 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
6197
6197
  highlightLast: Se,
6198
6198
  selectHighlighted: Ce,
6199
6199
  listboxId: g,
6200
- activeDescendantId: re
6200
+ activeDescendantId: J
6201
6201
  }), (r, i) => (E(), s("div", _s, [
6202
6202
  c("div", {
6203
6203
  id: g,
6204
6204
  ref_key: "listbox",
6205
6205
  ref: x,
6206
6206
  role: "listbox",
6207
- tabindex: K.value ? 0 : -1,
6207
+ tabindex: W.value ? 0 : -1,
6208
6208
  "aria-label": t.ariaLabel,
6209
- "aria-activedescendant": re.value,
6209
+ "aria-activedescendant": J.value,
6210
6210
  class: b(Re.value),
6211
6211
  onKeydown: Oe,
6212
- onFocus: i[0] ||= (e) => ae(Y.value),
6212
+ onFocus: i[0] ||= (e) => ae(q.value),
6213
6213
  onPointermoveCapture: pe,
6214
6214
  onTransitionend: ue
6215
- }, [(E(!0), s(e, null, k(z.value, (e) => (E(), a(gs, v({ key: e.id }, { ref_for: !0 }, Fe(e), {
6215
+ }, [(E(!0), s(e, null, k(R.value, (e) => (E(), a(gs, v({ key: e.id }, { ref_for: !0 }, Fe(e), {
6216
6216
  onSelect: (t) => h("select", e),
6217
6217
  onHighlight: (t) => me(e)
6218
6218
  }), l({ _: 2 }, [r.$slots.item ? {
6219
6219
  name: "default",
6220
- fn: W(() => [A(r.$slots, "item", {
6220
+ fn: H(() => [A(r.$slots, "item", {
6221
6221
  item: e,
6222
- highlighted: e.id === Y.value
6222
+ highlighted: e.id === q.value
6223
6223
  })]),
6224
6224
  key: "0"
6225
- } : void 0]), 1040, ["onSelect", "onHighlight"]))), 128)), (E(!0), s(e, null, k(U.value, (t) => (E(), a(fs, {
6225
+ } : void 0]), 1040, ["onSelect", "onHighlight"]))), 128)), (E(!0), s(e, null, k(V.value, (t) => (E(), a(fs, {
6226
6226
  key: N.value ? `search:${t.group.id}` : t.group.id,
6227
6227
  label: t.group.label,
6228
6228
  open: t.open,
6229
- collapsible: V.value,
6229
+ collapsible: re.value,
6230
6230
  "onUpdate:open": (e) => ve(t, e)
6231
6231
  }, {
6232
- default: W(() => [(E(!0), s(e, null, k(t.items, (e) => (E(), a(gs, v({ key: e.id }, { ref_for: !0 }, Fe(e), {
6232
+ default: H(() => [(E(!0), s(e, null, k(t.items, (e) => (E(), a(gs, v({ key: e.id }, { ref_for: !0 }, Fe(e), {
6233
6233
  onSelect: (t) => h("select", e),
6234
6234
  onHighlight: (t) => me(e)
6235
6235
  }), l({ _: 2 }, [r.$slots.item ? {
6236
6236
  name: "default",
6237
- fn: W(() => [A(r.$slots, "item", {
6237
+ fn: H(() => [A(r.$slots, "item", {
6238
6238
  item: e,
6239
- highlighted: e.id === Y.value
6239
+ highlighted: e.id === q.value
6240
6240
  })]),
6241
6241
  key: "0"
6242
6242
  } : void 0]), 1040, ["onSelect", "onHighlight"]))), 128))]),
@@ -6253,7 +6253,7 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
6253
6253
  "enter-from-class": "opacity-0",
6254
6254
  onLeave: Pe
6255
6255
  }, {
6256
- default: W(() => [q.value ? (E(), s("div", {
6256
+ default: H(() => [G.value ? (E(), s("div", {
6257
6257
  key: 0,
6258
6258
  class: b(r.$slots.empty ? Le.custom : Le.default)
6259
6259
  }, [A(r.$slots, "empty", {
@@ -6271,7 +6271,7 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
6271
6271
  variant: "link",
6272
6272
  onClick: je
6273
6273
  }, {
6274
- default: W(() => [d(M(t.clearLabel), 1)]),
6274
+ default: H(() => [d(M(t.clearLabel), 1)]),
6275
6275
  _: 1
6276
6276
  })])) : o("", !0)
6277
6277
  ])], 2)) : o("", !0)]),
@@ -6300,7 +6300,7 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
6300
6300
  },
6301
6301
  setup(e) {
6302
6302
  let t = at(), r = i(() => t.value === "reduce"), l = -Infinity, u = O(!1);
6303
- H(() => e.contentKey, () => {
6303
+ B(() => e.contentKey, () => {
6304
6304
  let e = Date.now();
6305
6305
  u.value = e - l < js, l = e;
6306
6306
  }, { flush: "pre" });
@@ -6312,7 +6312,7 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
6312
6312
  "enter-from-class": "opacity-0",
6313
6313
  onLeave: f
6314
6314
  }, {
6315
- default: W(() => [(E(), s("div", {
6315
+ default: H(() => [(E(), s("div", {
6316
6316
  key: e.contentKey,
6317
6317
  class: "size-full"
6318
6318
  }, [A(t.$slots, "default")]))]),
@@ -6324,7 +6324,7 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
6324
6324
  "enter-from-class": "opacity-0",
6325
6325
  onLeave: f
6326
6326
  }, {
6327
- default: W(() => [(E(), s("div", {
6327
+ default: H(() => [(E(), s("div", {
6328
6328
  key: e.contentKey,
6329
6329
  class: "flex flex-col gap-1"
6330
6330
  }, [c("p", ks, M(e.title), 1), e.description ? (E(), s("p", As, M(e.description), 1)) : o("", !0)]))]),
@@ -6378,7 +6378,7 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
6378
6378
  "close"
6379
6379
  ], ["update:highlighted", "update:search"]),
6380
6380
  setup(e, { expose: t, emit: n }) {
6381
- let r = e, a = R(e, "highlighted"), u = R(e, "search"), d = n, p = B("inputField"), m = B("list"), g = B("row"), _ = (e) => typeof e == "number" ? `${e}px` : e, v = i(() => {
6381
+ let r = e, a = L(e, "highlighted"), u = L(e, "search"), d = n, p = z("inputField"), m = z("list"), g = z("row"), _ = (e) => typeof e == "number" ? `${e}px` : e, v = i(() => {
6382
6382
  let e = `min(${_(r.height)}, calc(100dvh - 5rem))`;
6383
6383
  return {
6384
6384
  width: _(r.width),
@@ -6486,11 +6486,11 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
6486
6486
  onClear: M
6487
6487
  }, l({ _: 2 }, [t.$slots.item ? {
6488
6488
  name: "item",
6489
- fn: W((e) => [A(t.$slots, "item", x(h(e)))]),
6489
+ fn: H((e) => [A(t.$slots, "item", x(h(e)))]),
6490
6490
  key: "0"
6491
6491
  } : void 0, t.$slots.empty ? {
6492
6492
  name: "empty",
6493
- fn: W((e) => [A(t.$slots, "empty", x(h(e)))]),
6493
+ fn: H((e) => [A(t.$slots, "empty", x(h(e)))]),
6494
6494
  key: "1"
6495
6495
  } : void 0]), 1032, [
6496
6496
  "highlighted",
@@ -6510,11 +6510,11 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
6510
6510
  "empty-text": e.previewEmptyText
6511
6511
  }, l({ _: 2 }, [D.value && t.$slots.preview ? {
6512
6512
  name: "default",
6513
- fn: W(() => [A(t.$slots, "preview", { item: D.value })]),
6513
+ fn: H(() => [A(t.$slots, "preview", { item: D.value })]),
6514
6514
  key: "0"
6515
6515
  } : void 0, t.$slots["preview-empty"] ? {
6516
6516
  name: "empty",
6517
- fn: W(() => [A(t.$slots, "preview-empty")]),
6517
+ fn: H(() => [A(t.$slots, "preview-empty")]),
6518
6518
  key: "1"
6519
6519
  } : void 0]), 1032, [
6520
6520
  "content-key",
@@ -6551,7 +6551,7 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
6551
6551
  }),
6552
6552
  emits: ["update:modelValue"],
6553
6553
  setup(t) {
6554
- let n = R(t, "modelValue"), r = i(() => t.messages?.insert ?? "Placeholder invoegen"), l = i(() => t.placeholders.length > 1), u = B("field"), p = (e, t) => {
6554
+ let n = L(t, "modelValue"), r = i(() => t.messages?.insert ?? "Placeholder invoegen"), l = i(() => t.placeholders.length > 1), u = z("field"), p = (e, t) => {
6555
6555
  let r = u.value?.inputEl ?? null, i = `{{${e}}}`, a = r?.selectionStart ?? n.value.length, o = r?.selectionEnd ?? a;
6556
6556
  n.value = n.value.slice(0, a) + i + n.value.slice(o), t(), y(() => {
6557
6557
  r?.focus(), r?.setSelectionRange(a + i.length, a + i.length);
@@ -6569,13 +6569,13 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
6569
6569
  required: t.required,
6570
6570
  disabled: t.disabled
6571
6571
  }, {
6572
- right: W(() => [f(Qn, {
6572
+ right: H(() => [f(Qn, {
6573
6573
  surface: "",
6574
6574
  placement: "bottom-end"
6575
6575
  }, {
6576
- trigger: W(({ open: e }) => [f(xi, null, {
6577
- tooltip: W(() => [d(M(r.value), 1)]),
6578
- default: W(() => [c("button", {
6576
+ trigger: H(({ open: e }) => [f(xi, null, {
6577
+ tooltip: H(() => [d(M(r.value), 1)]),
6578
+ default: H(() => [c("button", {
6579
6579
  type: "button",
6580
6580
  class: "flex h-10 w-9 shrink-0 cursor-pointer items-center justify-center text-gray-400 transition-colors hover:text-cornflower-blue-600 focus:outline-none focus-visible:text-cornflower-blue-600 disabled:cursor-default disabled:opacity-50",
6581
6581
  disabled: t.disabled,
@@ -6588,7 +6588,7 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
6588
6588
  })], 8, Vs)]),
6589
6589
  _: 2
6590
6590
  }, 1024)]),
6591
- content: W(({ close: n }) => [c("div", {
6591
+ content: H(({ close: n }) => [c("div", {
6592
6592
  class: "flex max-h-96 w-80 flex-col gap-4 overflow-y-auto p-4",
6593
6593
  role: "listbox",
6594
6594
  "aria-label": r.value
@@ -6682,7 +6682,7 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
6682
6682
  let r = n, a = i(() => t.variant === "percentage"), l = i(() => a.value ? Math.max(0, t.currentStep) : Math.min(Math.max(0, t.currentStep), Math.max(0, t.steps - 1))), u = i(() => t.steps > 0 ? l.value + 1 : 0), p = i(() => a.value ? t.steps <= 0 ? 0 : Math.min(Math.round(l.value / t.steps * 100), 100) : t.steps <= 1 ? t.steps === 1 ? 100 : 0 : l.value / (t.steps - 1) * 100), m = i(() => !a.value && !!t.stepTitles?.length), h = i(() => String(Math.max(t.steps, 0)).length), g = i(() => m.value && (t.stepTitles?.length ?? 0) > t.maxInlineSteps), _ = (e, t) => {
6683
6683
  t(), e < l.value && r("update:currentStep", e);
6684
6684
  };
6685
- return U(() => {
6685
+ return V(() => {
6686
6686
  t.stepTitles && t.stepTitles.length !== t.steps && console.warn(`[NexxtProgressBar] The "stepTitles" array length (${t.stepTitles.length}) must match the "steps" prop (${t.steps}).`);
6687
6687
  }), (n, r) => (E(), s("div", Xs, [c("div", Zs, [c("div", Qs, [c("div", {
6688
6688
  class: b(["progress-bar progress-bar-bar w-full overflow-hidden rounded-full", a.value ? "relative h-6" : "h-2"]),
@@ -6708,7 +6708,7 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
6708
6708
  r[0] ||= c("span", null, "/", -1),
6709
6709
  c("span", null, M(t.steps), 1)
6710
6710
  ], 2)) : o("", !0)]), g.value ? (E(), s("div", tc, [f(Qn, { placement: "bottom" }, {
6711
- trigger: W(({ isOpen: e, toggle: n }) => [c("button", {
6711
+ trigger: H(({ isOpen: e, toggle: n }) => [c("button", {
6712
6712
  type: "button",
6713
6713
  class: "flex cursor-pointer items-center gap-1.5 rounded-xs body-normal text-sapphire-500 transition-colors duration-200 hover:text-sapphire-400 focus-visible:outline-3",
6714
6714
  "aria-haspopup": "menu",
@@ -6720,7 +6720,7 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
6720
6720
  class: b(["text-xs transition-transform duration-200", { "rotate-180": e }]),
6721
6721
  "aria-hidden": "true"
6722
6722
  }, null, 8, ["class"])], 8, nc)]),
6723
- content: W(({ close: n }) => [c("ol", rc, [(E(!0), s(e, null, k(t.stepTitles, (e, t) => (E(), s("li", { key: e }, [c("button", {
6723
+ content: H(({ close: n }) => [c("ol", rc, [(E(!0), s(e, null, k(t.stepTitles, (e, t) => (E(), s("li", { key: e }, [c("button", {
6724
6724
  type: "button",
6725
6725
  role: "menuitem",
6726
6726
  class: b(["flex w-full items-center gap-2 p-3 text-left small-normal whitespace-nowrap transition-colors duration-200 focus:outline-none", t > l.value ? "cursor-default text-gray-400" : "cursor-pointer text-gray-700 hover:bg-gray-100 hover:text-sapphire-400 focus-visible:bg-gray-100"]),
@@ -6745,7 +6745,7 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
6745
6745
  tabindex: t < l.value ? 0 : void 0,
6746
6746
  "aria-label": t < l.value ? `Ga naar ${e}` : void 0,
6747
6747
  onClick: (e) => t < l.value && n.$emit("update:currentStep", t),
6748
- onKeydown: [K((e) => t < l.value && n.$emit("update:currentStep", t), ["enter"]), K(q((e) => t < l.value && n.$emit("update:currentStep", t), ["prevent"]), ["space"])]
6748
+ onKeydown: [W((e) => t < l.value && n.$emit("update:currentStep", t), ["enter"]), W(G((e) => t < l.value && n.$emit("update:currentStep", t), ["prevent"]), ["space"])]
6749
6749
  }, M(e), 43, oc))), 128))])) : o("", !0)])]));
6750
6750
  }
6751
6751
  }), cc = { class: "flex flex-col items-start justify-start gap-2 self-stretch overflow-hidden" }, lc = { class: "inline-flex w-full items-center gap-2 overflow-hidden" }, uc = {
@@ -6786,7 +6786,7 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
6786
6786
  image: e.image,
6787
6787
  "image-alt": e.imageAlt
6788
6788
  }, l({
6789
- default: W(() => [f(pc, {
6789
+ default: H(() => [f(pc, {
6790
6790
  price: e.price,
6791
6791
  city: e.city,
6792
6792
  text: e.text
@@ -6798,7 +6798,7 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
6798
6798
  _: 2
6799
6799
  }, [e.image ? void 0 : {
6800
6800
  name: "image",
6801
- fn: W(() => [c("div", hc, [c("img", {
6801
+ fn: H(() => [c("div", hc, [c("img", {
6802
6802
  src: P(mc),
6803
6803
  alt: "Woning placeholder",
6804
6804
  loading: "lazy",
@@ -6850,7 +6850,7 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
6850
6850
  }, n = i(() => ({
6851
6851
  ...t,
6852
6852
  ...e.messages
6853
- })), r = R(e, "modelValue"), a = (e) => {
6853
+ })), r = L(e, "modelValue"), a = (e) => {
6854
6854
  let t = String(e ?? "").trim();
6855
6855
  return t ? t.startsWith("-") ? t : `-${t}` : "";
6856
6856
  }, l = i(() => `${e.reference.streetName} ${e.reference.houseNumber}${a(e.reference.houseNumberExt)}`), u = i(() => `${e.reference.postalCode} ${e.reference.city}`), p = i(() => e.reference.energyLabel ?? null), m = i(() => {
@@ -6883,7 +6883,7 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
6883
6883
  r.value ? "border-cornflower-blue-500 hover:border-cornflower-blue-600" : "border-gray-200 hover:border-cornflower-blue-300"
6884
6884
  ]),
6885
6885
  onClick: i[1] ||= (e) => r.value = !r.value,
6886
- onKeydown: [i[2] ||= K(q((e) => r.value = !r.value, ["prevent"]), ["space"]), i[3] ||= K(q((e) => r.value = !r.value, ["prevent"]), ["enter"])]
6886
+ onKeydown: [i[2] ||= W(G((e) => r.value = !r.value, ["prevent"]), ["space"]), i[3] ||= W(G((e) => r.value = !r.value, ["prevent"]), ["enter"])]
6887
6887
  }, [c("div", bc, [
6888
6888
  c("div", xc, [e.reference.mainImageUrl ? (E(), s("img", {
6889
6889
  key: 0,
@@ -6911,9 +6911,9 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
6911
6911
  }, null, 8, ["model-value"]), c("span", Nc, M(r.value ? n.value.selected : n.value.unselected), 1)]), f(cn, {
6912
6912
  variant: "secondary",
6913
6913
  class: "w-full @lg:w-auto",
6914
- onClick: i[0] ||= q((n) => t.$emit("details", e.reference), ["stop"])
6914
+ onClick: i[0] ||= G((n) => t.$emit("details", e.reference), ["stop"])
6915
6915
  }, {
6916
- default: W(() => [d(M(n.value.details), 1)]),
6916
+ default: H(() => [d(M(n.value.details), 1)]),
6917
6917
  _: 1
6918
6918
  })], 2)], 42, yc));
6919
6919
  }
@@ -6992,7 +6992,7 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
6992
6992
  "leave-from-class": "scale-100 opacity-100",
6993
6993
  "leave-to-class": "scale-0 opacity-0"
6994
6994
  }, {
6995
- default: W(() => [e.notificationCount ? (E(), s("span", Bc, M(e.notificationCount), 1)) : o("", !0)]),
6995
+ default: H(() => [e.notificationCount ? (E(), s("span", Bc, M(e.notificationCount), 1)) : o("", !0)]),
6996
6996
  _: 1
6997
6997
  }), f(Q, {
6998
6998
  name: e.icon,
@@ -7091,7 +7091,7 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
7091
7091
  name: "NexxtSocialMediaCustomTemplate",
7092
7092
  __name: "SocialMediaCustomTemplate",
7093
7093
  setup(e) {
7094
- let t = B("videoRef"), n = O(!1), r = () => {
7094
+ let t = z("videoRef"), n = O(!1), r = () => {
7095
7095
  t.value && (t.value.load(), n.value = !0);
7096
7096
  }, i = () => {
7097
7097
  n.value && t.value && t.value.play();
@@ -7135,7 +7135,7 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
7135
7135
  },
7136
7136
  emits: ["click"],
7137
7137
  setup(e, { emit: t }) {
7138
- let n = t, r = B("videoRef"), a = i(() => {
7138
+ let n = t, r = z("videoRef"), a = i(() => {
7139
7139
  if (e.mediaType === "video") return {
7140
7140
  mp4: "video/mp4",
7141
7141
  webm: "video/webm",
@@ -7159,7 +7159,7 @@ var Go = { render: Wo }, Ko = /* @__PURE__ */ p({
7159
7159
  onFocus: l,
7160
7160
  onBlur: u,
7161
7161
  onClick: i[0] ||= (e) => n("click"),
7162
- onKeydown: [i[1] ||= K(q((e) => n("click"), ["prevent"]), ["enter"]), i[2] ||= K(q((e) => n("click"), ["prevent"]), ["space"])]
7162
+ onKeydown: [i[1] ||= W(G((e) => n("click"), ["prevent"]), ["enter"]), i[2] ||= W(G((e) => n("click"), ["prevent"]), ["space"])]
7163
7163
  }, [
7164
7164
  e.mediaType === "image" ? (E(), s("picture", il, [c("source", { srcset: e.media }, null, 8, al), c("img", {
7165
7165
  src: e.media,
@@ -7255,7 +7255,7 @@ var bl = { render: yl }, xl = { class: "flex items-center justify-end self-stret
7255
7255
  key: 0,
7256
7256
  variant: "warning"
7257
7257
  }, {
7258
- default: W(() => [d(M(e.chip), 1)]),
7258
+ default: H(() => [d(M(e.chip), 1)]),
7259
7259
  _: 1
7260
7260
  })) : o("", !0), f(Qc, v({ class: "ml-auto" }, u.value, { "aria-hidden": "true" }), null, 16)]),
7261
7261
  c("div", Sl, [(E(), a(j(l.value), {
@@ -7384,17 +7384,17 @@ var bl = { render: yl }, xl = { class: "flex items-center justify-end self-stret
7384
7384
  }, l({ _: 2 }, [
7385
7385
  t.$slots["back-button"] ? {
7386
7386
  name: "back-button",
7387
- fn: W(() => [A(t.$slots, "back-button")]),
7387
+ fn: H(() => [A(t.$slots, "back-button")]),
7388
7388
  key: "0"
7389
7389
  } : void 0,
7390
7390
  t.$slots.title ? {
7391
7391
  name: "title",
7392
- fn: W(() => [A(t.$slots, "title")]),
7392
+ fn: H(() => [A(t.$slots, "title")]),
7393
7393
  key: "1"
7394
7394
  } : void 0,
7395
7395
  e.steps ? {
7396
7396
  name: "center",
7397
- fn: W(() => [f(sc, {
7397
+ fn: H(() => [f(sc, {
7398
7398
  class: "w-full",
7399
7399
  steps: e.steps.length,
7400
7400
  "step-titles": e.steps,
@@ -7409,7 +7409,7 @@ var bl = { render: yl }, xl = { class: "flex items-center justify-end self-stret
7409
7409
  } : void 0,
7410
7410
  t.$slots.default ? {
7411
7411
  name: "right",
7412
- fn: W(() => [A(t.$slots, "default")]),
7412
+ fn: H(() => [A(t.$slots, "default")]),
7413
7413
  key: "3"
7414
7414
  } : void 0
7415
7415
  ]), 1032, [
@@ -7438,7 +7438,7 @@ var bl = { render: yl }, xl = { class: "flex items-center justify-end self-stret
7438
7438
  }),
7439
7439
  emits: ["update:modelValue"],
7440
7440
  setup(t) {
7441
- let n = t, r = R(t, "modelValue"), l = B("containerRef"), u = O([]), f = O({
7441
+ let n = t, r = L(t, "modelValue"), l = z("containerRef"), u = O([]), f = O({
7442
7442
  width: "0px",
7443
7443
  transform: "translateX(0px)"
7444
7444
  }), p = O("inset(0 100% 0 0 round 9999px)"), m = O(!1), h = i(() => n.tabs.map((e) => typeof e == "string" ? { label: e } : e)), g = async () => {
@@ -7459,7 +7459,7 @@ var bl = { render: yl }, xl = { class: "flex items-center justify-end self-stret
7459
7459
  else return;
7460
7460
  e.preventDefault(), r.value = h.value[n].label, u.value[n]?.focus();
7461
7461
  };
7462
- return H(r, async () => await g()), H(h, async () => await g()), w(async () => {
7462
+ return B(r, async () => await g()), B(h, async () => await g()), w(async () => {
7463
7463
  await document.fonts.ready, await g(), await y(), l.value?.offsetWidth, m.value = !0;
7464
7464
  }), (n, i) => (E(), s("div", {
7465
7465
  ref_key: "containerRef",
@@ -7520,10 +7520,10 @@ var bl = { render: yl }, xl = { class: "flex items-center justify-end self-stret
7520
7520
  }),
7521
7521
  emits: ["update:modelValue"],
7522
7522
  setup(e) {
7523
- let t = e, r = R(e, "modelValue"), a = O("forward"), o = i(() => t.tabs.map((e) => typeof e == "string" ? e : e.label));
7524
- H(o, (e) => {
7523
+ let t = e, r = L(e, "modelValue"), a = O("forward"), o = i(() => t.tabs.map((e) => typeof e == "string" ? e : e.label));
7524
+ B(o, (e) => {
7525
7525
  !r.value && e.length > 0 && (r.value = e[0]);
7526
- }, { immediate: !0 }), H(r, (e, t) => {
7526
+ }, { immediate: !0 }), B(r, (e, t) => {
7527
7527
  a.value = o.value.indexOf(e) > o.value.indexOf(t) ? "forward" : "backward";
7528
7528
  });
7529
7529
  let l = (e) => e.toLowerCase().replace(/\s+/g, "-"), u = (e) => `tab-${l(e)}`, d = i(() => t.animated ? {
@@ -7543,7 +7543,7 @@ var bl = { render: yl }, xl = { class: "flex items-center justify-end self-stret
7543
7543
  "modelValue",
7544
7544
  "tablist-label"
7545
7545
  ]), c("div", Wl, [f(n, x(h(d.value)), {
7546
- default: W(() => [(E(), s("div", {
7546
+ default: H(() => [(E(), s("div", {
7547
7547
  key: r.value,
7548
7548
  role: "tabpanel",
7549
7549
  "aria-labelledby": u(r.value),
@@ -7615,7 +7615,7 @@ var bl = { render: yl }, xl = { class: "flex items-center justify-end self-stret
7615
7615
  "select",
7616
7616
  "textarea",
7617
7617
  "label"
7618
- ], u = t, p = r, m = R(t, "modelValue"), h = R(t, "sortKey"), g = R(t, "sortDirection"), _ = B("rowRefs"), v = i(() => u.rows.length > 0 && m.value.length === u.rows.length), y = i(() => m.value.length > 0 && m.value.length < u.rows.length), x = (e) => m.value.includes(e), C = () => {
7618
+ ], u = t, p = r, m = L(t, "modelValue"), h = L(t, "sortKey"), g = L(t, "sortDirection"), _ = z("rowRefs"), v = i(() => u.rows.length > 0 && m.value.length === u.rows.length), y = i(() => m.value.length > 0 && m.value.length < u.rows.length), x = (e) => m.value.includes(e), C = () => {
7619
7619
  u.selectionMode !== "single" && (m.value = v.value ? [] : [...u.rows]);
7620
7620
  }, w = (e) => {
7621
7621
  if (u.selectionMode === "single") {
@@ -7631,7 +7631,7 @@ var bl = { render: yl }, xl = { class: "flex items-center justify-end self-stret
7631
7631
  if (!u.selectable || !x(u.rows[e])) return "";
7632
7632
  let t = e > 0 && x(u.rows[e - 1]), n = e < u.rows.length - 1 && x(u.rows[e + 1]);
7633
7633
  return !t && !n ? "rounded-md" : t ? n ? "" : "rounded-b-md" : "rounded-t-md";
7634
- }, P = (e, t) => e[t], F = (e) => `cell-${e}`, I = (e, t) => {
7634
+ }, P = (e, t) => e[t], F = (e) => `cell-${e}`, ee = (e, t) => {
7635
7635
  e.key === "ArrowDown" ? (e.preventDefault(), _.value?.[Math.min(t + 1, u.rows.length - 1)]?.focus()) : e.key === "ArrowUp" && (e.preventDefault(), _.value?.[Math.max(t - 1, 0)]?.focus());
7636
7636
  };
7637
7637
  return (r, i) => (E(), s("div", ql, [c("div", {
@@ -7658,7 +7658,7 @@ var bl = { render: yl }, xl = { class: "flex items-center justify-end self-stret
7658
7658
  "aria-sort": e.sortable ? h.value === e.key ? g.value === "asc" ? "ascending" : "descending" : "none" : void 0,
7659
7659
  tabindex: e.sortable ? 0 : void 0,
7660
7660
  onClick: (t) => O(e),
7661
- onKeydown: [K(q((t) => O(e), ["prevent"]), ["enter"]), K(q((t) => O(e), ["prevent"]), ["space"])]
7661
+ onKeydown: [W(G((t) => O(e), ["prevent"]), ["enter"]), W(G((t) => O(e), ["prevent"]), ["space"])]
7662
7662
  }, [c("span", { class: b(h.value === e.key ? "text-cornflower-blue-600" : "") }, M(e.label), 3), e.sortable ? (E(), a(Q, {
7663
7663
  key: 0,
7664
7664
  name: h.value === e.key ? g.value === "asc" ? "angle-down" : "angle-up" : "angles-up-down",
@@ -7681,7 +7681,7 @@ var bl = { render: yl }, xl = { class: "flex items-center justify-end self-stret
7681
7681
  "aria-selected": t.selectable ? x(n) : void 0,
7682
7682
  tabindex: "0",
7683
7683
  onClick: (e) => j(e, i),
7684
- onKeydown: (e) => I(e, i)
7684
+ onKeydown: (e) => ee(e, i)
7685
7685
  }, [t.selectable ? (E(), s("div", tu, [f(Gn, {
7686
7686
  "model-value": x(n),
7687
7687
  "aria-label": `Select row ${i + 1}`,
@@ -7706,7 +7706,7 @@ var bl = { render: yl }, xl = { class: "flex items-center justify-end self-stret
7706
7706
  "enter-from-class": "opacity-0",
7707
7707
  "leave-to-class": "opacity-0"
7708
7708
  }, {
7709
- default: W(() => [t.loading ? (E(), s("div", iu, [A(r.$slots, "loading", {}, () => [f(Q, {
7709
+ default: H(() => [t.loading ? (E(), s("div", iu, [A(r.$slots, "loading", {}, () => [f(Q, {
7710
7710
  name: "spinner-third",
7711
7711
  class: "fa-spin text-3xl text-purple-500"
7712
7712
  })])])) : o("", !0)]),
@@ -7814,8 +7814,8 @@ var bl = { render: yl }, xl = { class: "flex items-center justify-end self-stret
7814
7814
  c("h3", uu, M(t.title), 1),
7815
7815
  t.subtitle ? (E(), s("p", du, M(t.subtitle), 1)) : o("", !0),
7816
7816
  t.contentFeatures.length ? (E(), s("ul", fu, [(E(!0), s(e, null, k(t.contentFeatures, (e) => (E(), s("li", { key: e }, [f(xi, null, {
7817
- tooltip: W(() => [c("span", mu, M(d.value[e]), 1)]),
7818
- default: W(() => [c("div", {
7817
+ tooltip: H(() => [c("span", mu, M(d.value[e]), 1)]),
7818
+ default: H(() => [c("div", {
7819
7819
  class: b([[r[e].backgroundColor, r[e].textColor], "pointer-events-auto flex size-8 items-center justify-center rounded-full"]),
7820
7820
  onClick: p
7821
7821
  }, [f(Q, { name: r[e].icon }, null, 8, ["name"]), c("span", pu, M(d.value[e]), 1)], 2)]),
@@ -7875,20 +7875,20 @@ var bl = { render: yl }, xl = { class: "flex items-center justify-end self-stret
7875
7875
  }),
7876
7876
  emits: ["update:modelValue"],
7877
7877
  setup(e, { expose: t }) {
7878
- let n = "textarea-" + Math.random().toString(36).slice(2, 10), r = R(e, "modelValue"), a = F(), l = i(() => ({
7878
+ let n = "textarea-" + Math.random().toString(36).slice(2, 10), r = L(e, "modelValue"), a = F(), l = i(() => ({
7879
7879
  class: a.class,
7880
7880
  style: a.style
7881
7881
  })), u = i(() => {
7882
7882
  let e = { ...a };
7883
7883
  return delete e.class, delete e.style, e;
7884
- }), f = B("textareaEl"), p = () => {
7884
+ }), f = z("textareaEl"), p = () => {
7885
7885
  let t = f.value;
7886
7886
  if (!t || !e.autosize) return;
7887
7887
  t.style.height = "auto";
7888
7888
  let n = getComputedStyle(t), r = parseFloat(n.lineHeight) || 0, i = parseFloat(n.paddingTop) + parseFloat(n.paddingBottom), a = parseFloat(n.borderTopWidth) + parseFloat(n.borderBottomWidth), o = t.scrollHeight + a, s = e.maxRows && r ? e.maxRows * r + i + a : Infinity;
7889
7889
  t.style.height = `${Math.min(o, s)}px`, t.style.overflowY = o > s ? "auto" : "hidden";
7890
7890
  };
7891
- return H(r, () => y(p), {
7891
+ return B(r, () => y(p), {
7892
7892
  immediate: !0,
7893
7893
  flush: "post"
7894
7894
  }), t({
@@ -7903,7 +7903,7 @@ var bl = { render: yl }, xl = { class: "flex items-center justify-end self-stret
7903
7903
  class: "justify-start small-normal text-gray-700",
7904
7904
  for: n
7905
7905
  }, [d(M(e.label) + " ", 1), e.required ? (E(), s("span", bu, "*")) : o("", !0)])) : o("", !0),
7906
- G(c("textarea", v({
7906
+ U(c("textarea", v({
7907
7907
  id: n,
7908
7908
  ref_key: "textareaEl",
7909
7909
  ref: f,
@@ -7913,7 +7913,7 @@ var bl = { render: yl }, xl = { class: "flex items-center justify-end self-stret
7913
7913
  placeholder: e.placeholder,
7914
7914
  class: ["min-h-10 w-full rounded-lg border px-3 py-2 small-normal text-gray-900 transition-colors outline-none placeholder:text-gray-400 focus:border-cornflower-blue-500", [e.error ? "border-brick-400" : "border-gray-200", e.autosize || e.resize === "none" ? "resize-none" : "resize-y"]],
7915
7915
  onInput: p
7916
- }), null, 16, xu), [[V, r.value]]),
7916
+ }), null, 16, xu), [[re, r.value]]),
7917
7917
  e.error && e.errorMessage ? (E(), s("p", Su, M(e.errorMessage), 1)) : o("", !0)
7918
7918
  ], 6));
7919
7919
  }
@@ -7993,15 +7993,15 @@ var bl = { render: yl }, xl = { class: "flex items-center justify-end self-stret
7993
7993
  },
7994
7994
  setup(e) {
7995
7995
  return (t, n) => (E(), s("div", ju, [c("div", Mu, [c("span", Nu, [d(M(e.leftLabel) + " ", 1), e.leftTooltip ? (E(), a(xi, { key: 0 }, {
7996
- tooltip: W(() => [c("span", Pu, M(e.leftTooltip), 1)]),
7997
- default: W(() => [f(Q, {
7996
+ tooltip: H(() => [c("span", Pu, M(e.leftTooltip), 1)]),
7997
+ default: H(() => [f(Q, {
7998
7998
  name: "circle-info",
7999
7999
  class: "size-4 text-xs text-gray-600"
8000
8000
  })]),
8001
8001
  _: 1
8002
8002
  })) : o("", !0)]), c("span", Fu, [d(M(e.rightLabel) + " ", 1), e.rightTooltip ? (E(), a(xi, { key: 0 }, {
8003
- tooltip: W(() => [c("span", Iu, M(e.rightTooltip), 1)]),
8004
- default: W(() => [f(Q, {
8003
+ tooltip: H(() => [c("span", Iu, M(e.rightTooltip), 1)]),
8004
+ default: H(() => [f(Q, {
8005
8005
  name: "circle-info",
8006
8006
  class: "size-4 text-xs text-gray-600"
8007
8007
  })]),
@@ -8152,7 +8152,7 @@ var bl = { render: yl }, xl = { class: "flex items-center justify-end self-stret
8152
8152
  },
8153
8153
  emits: ["dismiss"],
8154
8154
  setup(e, { emit: t }) {
8155
- I((e) => ({ fa0d20de: Xu }));
8155
+ ee((e) => ({ fa0d20de: Xu }));
8156
8156
  let n = {
8157
8157
  info: {
8158
8158
  icon: "info",
@@ -8269,7 +8269,7 @@ var bl = { render: yl }, xl = { class: "flex items-center justify-end self-stret
8269
8269
  "leave-from-class": "opacity-100 translate-x-0 max-h-40",
8270
8270
  "leave-to-class": n.position.endsWith("right") ? "motion-safe:opacity-0 motion-safe:translate-x-4 max-h-0" : "motion-safe:opacity-0 motion-safe:-translate-x-4 max-h-0"
8271
8271
  }, {
8272
- default: W(() => [(E(!0), s(e, null, k(n.toasts, (e) => (E(), s("div", {
8272
+ default: H(() => [(E(!0), s(e, null, k(n.toasts, (e) => (E(), s("div", {
8273
8273
  key: e.id,
8274
8274
  class: "pointer-events-auto"
8275
8275
  }, [f(Zu, v({ ref_for: !0 }, e, { onDismiss: (t) => o("dismiss", e.id) }), null, 16, ["onDismiss"])]))), 128))]),
@@ -8280,7 +8280,64 @@ var bl = { render: yl }, xl = { class: "flex items-center justify-end self-stret
8280
8280
  "leave-to-class"
8281
8281
  ])], 2)]));
8282
8282
  }
8283
- }), $u = ["aria-label"], ed = [
8283
+ }), $u = (e, t) => e.id === t || !!e.children?.some((e) => $u(e, t)), ed = ({ slots: e, ghost: t }, n) => {
8284
+ if (t && n >= t.top && n < t.bottom) return { kind: "keep" };
8285
+ let r = t && n >= t.bottom ? n - (t.bottom - t.top) : n, i = e.at(-1);
8286
+ if (i && r >= i.bottom) return {
8287
+ kind: "row",
8288
+ id: i.id,
8289
+ ratio: 1
8290
+ };
8291
+ let a = e.find((e) => r >= e.top && r < e.bottom);
8292
+ if (!a) return { kind: "keep" };
8293
+ let o = a.height ? (r - a.top) / a.height : 0;
8294
+ return {
8295
+ kind: "row",
8296
+ id: a.id,
8297
+ ratio: Math.min(1, Math.max(0, o))
8298
+ };
8299
+ }, td = (e, t, n) => {
8300
+ if ($u(n, e.node.id)) return null;
8301
+ if (e.canHaveChildren && t > .3 && t < .7) return {
8302
+ rowId: e.node.id,
8303
+ parentId: e.node.id,
8304
+ index: 0,
8305
+ marker: "inside"
8306
+ };
8307
+ let r = t >= .5;
8308
+ return {
8309
+ rowId: e.node.id,
8310
+ parentId: e.parentId,
8311
+ index: e.position - 1 + +!!r,
8312
+ marker: r ? "after" : "before"
8313
+ };
8314
+ }, nd = (e, t) => e.parentId === t.parentId && (e.index === t.position - 1 || e.index === t.position), rd = (e, t) => e === t || !!e && !!t && e.parentId === t.parentId && e.index === t.index, id = (e, t, n) => {
8315
+ if (!n) return null;
8316
+ let r = n.parentId === null ? -1 : e.findIndex((e) => e.node.id === n.parentId), i = e[r];
8317
+ if (n.parentId !== null && !i || i?.expandable && !i.expanded) return null;
8318
+ let a = i ? i.depth + 1 : 0, o = (i ? i.node.children ?? [] : t)[n.index];
8319
+ if (o) {
8320
+ let t = e.findIndex((e) => e.node.id === o.id);
8321
+ return t === -1 ? null : {
8322
+ at: t,
8323
+ depth: a
8324
+ };
8325
+ }
8326
+ let s = r + 1;
8327
+ for (; s < e.length && e[s].depth >= a;) s++;
8328
+ return {
8329
+ at: s,
8330
+ depth: a
8331
+ };
8332
+ }, ad = ["aria-label"], od = {
8333
+ key: 0,
8334
+ "aria-hidden": "true",
8335
+ class: "mb-0.5",
8336
+ "data-tree-ghost": ""
8337
+ }, sd = {
8338
+ "data-tree-ghost-content": "",
8339
+ class: "flex min-w-0 items-center gap-1.5"
8340
+ }, cd = { class: "truncate" }, ld = [
8284
8341
  "aria-level",
8285
8342
  "aria-posinset",
8286
8343
  "aria-setsize",
@@ -8289,85 +8346,282 @@ var bl = { render: yl }, xl = { class: "flex items-center justify-end self-stret
8289
8346
  "tabindex",
8290
8347
  "aria-labelledby",
8291
8348
  "data-tree-id",
8349
+ "data-tree-drop",
8350
+ "draggable",
8292
8351
  "onClick",
8293
- "onFocus"
8294
- ], td = ["onClick"], nd = {
8352
+ "onFocus",
8353
+ "onPointerdown",
8354
+ "onDragstart"
8355
+ ], ud = ["onClick"], dd = {
8295
8356
  key: 1,
8296
8357
  class: "size-5 shrink-0"
8297
- }, rd = ["id"], id = 22, ad = "transform 200ms var(--ease-in-out-strong), opacity 80ms linear 120ms", od = /* @__PURE__ */ p({
8358
+ }, fd = ["id"], pd = 22, md = "bg-cornflower-blue-50 outline-1 -outline-offset-1 outline-cornflower-blue-600 outline-dashed", hd = "transform 200ms var(--ease-in-out-strong), opacity 80ms linear 120ms", gd = "opacity 80ms linear 120ms", _d = /* @__PURE__ */ p({
8298
8359
  name: "NexxtTree",
8299
8360
  __name: "Tree",
8300
8361
  props: /*@__PURE__*/ _({
8301
8362
  nodes: {},
8302
- label: {}
8363
+ label: {},
8364
+ draggable: { type: Boolean },
8365
+ canDrop: { type: Function }
8303
8366
  }, {
8304
8367
  selected: { default: null },
8305
8368
  selectedModifiers: {},
8306
8369
  collapsed: { default: () => [] },
8307
8370
  collapsedModifiers: {}
8308
8371
  }),
8309
- emits: ["update:selected", "update:collapsed"],
8310
- setup(t, { expose: n }) {
8311
- let l = t, u = z(), d = R(t, "selected"), p = R(t, "collapsed"), m = B("root"), h = O(null), g = i(() => {
8372
+ emits: /*@__PURE__*/ _(["move"], ["update:selected", "update:collapsed"]),
8373
+ setup(t, { expose: n, emit: l }) {
8374
+ let u = t, d = R(), p = l, m = L(t, "selected"), h = L(t, "collapsed"), g = z("root"), _ = O(null), v = i(() => {
8312
8375
  let e = [], t = (n, r, i) => {
8313
8376
  n.forEach((a, o) => {
8314
- let s = !!a.children?.length, c = s && !p.value.includes(a.id);
8377
+ let s = !!a.children?.length, c = a.canHaveChildren ?? !!a.children, l = s && !h.value.includes(a.id);
8315
8378
  e.push({
8316
8379
  node: a,
8317
8380
  depth: r,
8318
8381
  parentId: i,
8319
8382
  expandable: s,
8320
- expanded: c,
8383
+ canHaveChildren: c,
8384
+ draggable: u.draggable === !0 && a.draggable !== !1,
8385
+ expanded: l,
8321
8386
  position: o + 1,
8322
8387
  setSize: n.length
8323
- }), c && t(a.children, r + 1, a.id);
8388
+ }), l && t(a.children, r + 1, a.id);
8324
8389
  });
8325
8390
  };
8326
- return t(l.nodes, 0, null), e;
8327
- }), _ = i(() => !!d.value && g.value.some((e) => e.node.id === d.value)), v = O({
8391
+ return t(u.nodes, 0, null), e;
8392
+ }), x = O(null), T = O(null), D = O(null), A = O(null), j = !1, N = i(() => v.value.find((e) => e.node.id === x.value)), P = (e) => {
8393
+ rd(D.value, e) || (D.value = e);
8394
+ }, F = (e) => e.classList.contains("absolute"), ee = () => {
8395
+ let e = g.value?.querySelector("[data-tree-id]")?.parentElement, t = Array.from(e?.children ?? []).filter((e) => e instanceof HTMLElement && !F(e)), n = [], r = null;
8396
+ return t.forEach((e, i) => {
8397
+ let a = e.offsetTop, o = t[i + 1], s = parseFloat(getComputedStyle(e).marginBottom) || 0, c = o ? o.offsetTop : a + e.offsetHeight + s;
8398
+ if ("treeGhost" in e.dataset) {
8399
+ r = {
8400
+ top: a,
8401
+ bottom: c
8402
+ };
8403
+ return;
8404
+ }
8405
+ let l = r ? r.bottom - r.top : 0;
8406
+ n.push({
8407
+ id: e.dataset.treeId,
8408
+ top: a - l,
8409
+ height: e.offsetHeight,
8410
+ bottom: c - l
8411
+ });
8412
+ }), {
8413
+ slots: n,
8414
+ ghost: r
8415
+ };
8416
+ }, te = (e, t) => {
8417
+ let n = g.value?.getBoundingClientRect();
8418
+ return !!n && e >= n.left && e < n.right && t >= n.top && t < n.bottom;
8419
+ }, ne = (e, t) => {
8420
+ let n = N.value;
8421
+ if (!n || !te(e, t)) {
8422
+ P(null);
8423
+ return;
8424
+ }
8425
+ let r = ed(ee(), t - g.value.getBoundingClientRect().top);
8426
+ if (r.kind === "keep") return;
8427
+ let i = v.value.find((e) => e.node.id === r.id), a = i ? td(i, r.ratio, n.node) : null;
8428
+ P(a && !nd(a, n) && re(n, a) ? a : null);
8429
+ }, re = (e, t) => u.canDrop?.({
8430
+ id: e.node.id,
8431
+ parentId: t.parentId,
8432
+ index: t.index
8433
+ }) ?? !0, V = i(() => {
8434
+ let e = N.value, t = e ? id(v.value, u.nodes, D.value) : null;
8435
+ return e && t ? {
8436
+ ...t,
8437
+ node: e.node
8438
+ } : null;
8439
+ }), U = i(() => {
8440
+ let e = D.value?.parentId;
8441
+ if (!e || V.value) return null;
8442
+ let t = v.value.find((t) => t.node.id === e);
8443
+ return t?.expandable && !t.expanded ? e : null;
8444
+ }), W = Symbol("ghost"), K = i(() => {
8445
+ let e = v.value.map((e) => ({
8446
+ key: e.node.id,
8447
+ ghost: !1,
8448
+ row: e
8449
+ }));
8450
+ if (V.value) {
8451
+ let { at: t, depth: n, node: r } = V.value;
8452
+ e.splice(t, 0, {
8453
+ key: W,
8454
+ ghost: !0,
8455
+ depth: n,
8456
+ node: r
8457
+ });
8458
+ }
8459
+ return e;
8460
+ }), ie = i(() => {
8461
+ let e = v.value.findIndex((e) => e.node.id === T.value), t = v.value[e];
8462
+ if (!t) return /* @__PURE__ */ new Set();
8463
+ let n = /* @__PURE__ */ new Set([t.node.id]);
8464
+ for (let r = e + 1; v.value[r] && v.value[r].depth > t.depth; r++) n.add(v.value[r].node.id);
8465
+ return n;
8466
+ }), q = (e) => {
8467
+ let t = e.node.id, n = m.value === t;
8468
+ return [
8469
+ e.draggable ? "cursor-grab touch-none active:cursor-grabbing" : "cursor-pointer",
8470
+ n ? "text-cornflower-blue-600" : "text-gray-800",
8471
+ !n && !T.value && "hover:bg-gray-100",
8472
+ ie.value.has(t) && "opacity-40",
8473
+ U.value === t && md
8474
+ ];
8475
+ }, J = null, Y = (e) => {
8476
+ g.value?.contains(e.target) || P(null);
8477
+ }, X = (e) => {
8478
+ if (e.key !== "Escape" || !x.value) return;
8479
+ e.preventDefault(), e.stopImmediatePropagation();
8480
+ let t = A.value;
8481
+ t && (t.element.releasePointerCapture?.(t.pointerId), t.cancelled = !0, oe());
8482
+ }, ae = (e) => {
8483
+ x.value = e, J = null, P(null), window.addEventListener("keydown", X, !0), document.addEventListener("dragover", Y);
8484
+ }, oe = () => {
8485
+ x.value = null, T.value = null, P(null), window.removeEventListener("keydown", X, !0), document.removeEventListener("dragover", Y);
8486
+ }, se = (e, t) => {
8487
+ J = {
8488
+ id: e.node.id,
8489
+ parentId: e.parentId,
8490
+ position: e.position
8491
+ }, p("move", {
8492
+ id: e.node.id,
8493
+ parentId: t.parentId,
8494
+ index: t.index
8495
+ });
8496
+ }, ce = (e) => e.pointerType === "touch" || e.pointerType === "pen", le = (e) => e instanceof Element && !!e.closest("[data-tree-actions]"), ue = !1, de = (e, t) => {
8497
+ if (j = !1, ue = le(e.target), !t.draggable || !ce(e) || ue) return;
8498
+ let n = e.currentTarget;
8499
+ A.value = {
8500
+ id: t.node.id,
8501
+ pointerId: e.pointerId,
8502
+ startX: e.clientX,
8503
+ startY: e.clientY,
8504
+ element: n,
8505
+ cancelled: !1
8506
+ }, n.setPointerCapture?.(e.pointerId);
8507
+ }, fe = (e) => {
8508
+ let t = A.value;
8509
+ if (!(!t || t.cancelled || t.pointerId !== e.pointerId)) {
8510
+ if (!x.value) {
8511
+ if (Math.hypot(e.clientX - t.startX, e.clientY - t.startY) < 8) return;
8512
+ ae(t.id), T.value = t.id;
8513
+ }
8514
+ e.preventDefault(), ne(e.clientX, e.clientY);
8515
+ }
8516
+ }, pe = (e, t = !1) => {
8517
+ let n = A.value;
8518
+ if (!(!n || n.pointerId !== e.pointerId)) {
8519
+ if (n.cancelled) j = !t;
8520
+ else if (x.value === n.id) {
8521
+ e.preventDefault();
8522
+ let n = N.value, r = D.value;
8523
+ j = !t, oe(), !t && n && r && se(n, r);
8524
+ }
8525
+ A.value = null;
8526
+ }
8527
+ }, me = (e) => pe(e), he = (e) => pe(e, !0), ge = (e, t) => {
8528
+ if (t.draggable) {
8529
+ if (ue || e.target !== e.currentTarget) {
8530
+ e.preventDefault();
8531
+ return;
8532
+ }
8533
+ ae(t.node.id), setTimeout(() => {
8534
+ x.value === t.node.id && (T.value = t.node.id);
8535
+ }), e.dataTransfer && (e.dataTransfer.effectAllowed = "move", e.dataTransfer.setData("text/plain", t.node.id));
8536
+ }
8537
+ }, _e = () => oe(), ve = (e) => {
8538
+ if (x.value) {
8539
+ if (ne(e.clientX, e.clientY), !D.value) {
8540
+ e.dataTransfer && (e.dataTransfer.dropEffect = "none");
8541
+ return;
8542
+ }
8543
+ e.preventDefault(), e.dataTransfer && (e.dataTransfer.dropEffect = "move");
8544
+ }
8545
+ }, ye = (e) => {
8546
+ let t = e.relatedTarget;
8547
+ (t ? !g.value?.contains(t) : !te(e.clientX, e.clientY)) && P(null);
8548
+ }, be = (e) => {
8549
+ if (!x.value) return;
8550
+ e.preventDefault();
8551
+ let t = N.value, n = D.value;
8552
+ oe(), t && n && se(t, n);
8553
+ };
8554
+ B(v, async (e) => {
8555
+ let t = J;
8556
+ if (!t) return;
8557
+ let n = e.find((e) => e.node.id === t.id);
8558
+ n && n.parentId === t.parentId && n.position === t.position || (J = null, await y(), De(t.id)?.dispatchEvent(new TransitionEvent("transitionend", { propertyName: "transform" })));
8559
+ }, { flush: "post" }), C(() => {
8560
+ window.removeEventListener("keydown", X, !0), document.removeEventListener("dragover", Y);
8561
+ });
8562
+ let xe = (e) => {
8563
+ if (j) {
8564
+ j = !1;
8565
+ return;
8566
+ }
8567
+ m.value = e;
8568
+ }, Se = i(() => !!m.value && v.value.some((e) => e.node.id === m.value)), Ce = O({
8328
8569
  top: 0,
8329
8570
  height: 0
8330
- }), x = B("highlightElement"), C = {
8571
+ }), we = z("highlightElement"), Te = {
8331
8572
  none: "",
8332
8573
  select: "transition-[transform,opacity] duration-200 ease-out-strong",
8333
8574
  move: "transition-[transform,opacity] duration-200 ease-in-out-strong"
8334
- }, T = O("none"), D = (e) => Array.from(m.value?.querySelectorAll("[data-tree-id]") ?? []).find((t) => t.dataset.treeId === e && !t.classList.contains("absolute")), A = async () => {
8335
- if (await y(), !m.value || !_.value) return;
8336
- let e = D(d.value);
8337
- e && (v.value = {
8575
+ }, Ee = O("none"), De = (e) => Array.from(g.value?.querySelectorAll("[data-tree-id]") ?? []).find((t) => t.dataset.treeId === e && !t.classList.contains("absolute")), Oe = async () => {
8576
+ if (await y(), !g.value || !Se.value) return;
8577
+ let e = De(m.value);
8578
+ e && (Ce.value = {
8338
8579
  top: e.offsetTop,
8339
8580
  height: e.offsetHeight
8340
8581
  });
8341
- }, j = async (e) => {
8342
- let t = T.value;
8343
- T.value = "none", await e(), await y(), m.value?.getBoundingClientRect(), T.value = t;
8344
- };
8345
- H([d, g], ([e], [t]) => {
8346
- T.value = e === t ? "move" : "select", A();
8347
- }), ot(m, () => {
8348
- x.value?.getAnimations().length || j(A);
8349
- }), w(() => j(async () => {
8350
- await A(), await document.fonts?.ready, await A();
8582
+ }, ke = async (e) => {
8583
+ let t = Ee.value;
8584
+ Ee.value = "none", await e(), await y(), g.value?.getBoundingClientRect(), Ee.value = t;
8585
+ }, Ae = i(() => V.value ? `${V.value.at}:${V.value.depth}` : null);
8586
+ B([
8587
+ m,
8588
+ v,
8589
+ Ae
8590
+ ], ([e], [t]) => {
8591
+ Ee.value = e === t ? "move" : "select", Oe();
8592
+ }), ot(g, () => {
8593
+ we.value?.getAnimations().length || ke(Oe);
8594
+ }), w(() => ke(async () => {
8595
+ await Oe(), await document.fonts?.ready, await Oe();
8351
8596
  }));
8352
- let N = /* @__PURE__ */ new Set(), P = (e) => {
8597
+ let je = /* @__PURE__ */ new Set(), Me = (e) => "treeGhost" in e.dataset ? e.querySelector("[data-tree-ghost-content]") : null, Ne = (e) => {
8353
8598
  let t = e;
8354
8599
  if (window.matchMedia("(prefers-reduced-motion: reduce)").matches) return;
8355
- N.add(t.dataset.treeId);
8356
- let n = D(g.value.find((e) => e.node.id === t.dataset.treeId)?.parentId), r = n ? t.offsetTop - (n.offsetTop + n.offsetHeight) : 0;
8357
- t.style.transition = "none", t.style.transform = `translateY(${-r}px)`, t.style.opacity = "0", t.style.pointerEvents = "none", t.getBoundingClientRect(), t.style.transition = ad, t.style.transform = "", t.style.opacity = "";
8358
- }, F = null, I = (e) => {
8359
- let t = e;
8360
- t.style.transition = "", t.style.pointerEvents = "", N.delete(t.dataset.treeId), t.dataset.treeId === F && (F = null, document.activeElement === t && t.scrollIntoView({ block: "nearest" }));
8361
- }, ee = i(() => {
8362
- let e = g.value.map((e) => e.node.id);
8363
- return h.value && e.includes(h.value) ? h.value : d.value && e.includes(d.value) ? d.value : e[0] ?? null;
8364
- }), te = (e) => e === ee.value ? 0 : -1, V = L(), U = (e) => `${V}-label-${encodeURIComponent(e)}`, G = (e) => u["node-actions"]?.(e), K = (e) => {
8365
- p.value = p.value.includes(e) ? p.value.filter((t) => t !== e) : [...p.value, e];
8366
- }, J = (e) => {
8367
- K(e), m.value?.contains(document.activeElement) && ne(e);
8368
- }, ne = async (e) => {
8369
- h.value = e, await y(), Array.from(m.value?.querySelectorAll("[data-tree-id]") ?? []).find((t) => t.dataset.treeId === e)?.focus();
8370
- }, Y = (e) => {
8600
+ let n = Me(t);
8601
+ if (n) {
8602
+ n.style.transition = "none", n.style.opacity = "0", n.getBoundingClientRect(), n.style.transition = gd, n.style.opacity = "";
8603
+ return;
8604
+ }
8605
+ je.add(t.dataset.treeId);
8606
+ let r = De(v.value.find((e) => e.node.id === t.dataset.treeId)?.parentId), i = r ? t.offsetTop - (r.offsetTop + r.offsetHeight) : 0;
8607
+ t.style.transition = "none", t.style.transform = `translateY(${-i}px)`, t.style.opacity = "0", t.style.pointerEvents = "none", t.getBoundingClientRect(), t.style.transition = hd, t.style.transform = "", t.style.opacity = "";
8608
+ }, Pe = null, Fe = (e) => {
8609
+ let t = e, n = Me(t);
8610
+ if (n) {
8611
+ n.style.transition = "";
8612
+ return;
8613
+ }
8614
+ t.style.transition = "", t.style.pointerEvents = "", je.delete(t.dataset.treeId), t.dataset.treeId === Pe && (Pe = null, document.activeElement === t && t.scrollIntoView({ block: "nearest" }));
8615
+ }, Ie = i(() => {
8616
+ let e = v.value.map((e) => e.node.id);
8617
+ return _.value && e.includes(_.value) ? _.value : m.value && e.includes(m.value) ? m.value : e[0] ?? null;
8618
+ }), Le = (e) => e === Ie.value ? 0 : -1, Re = I(), ze = (e) => `${Re}-label-${encodeURIComponent(e)}`, Be = (e) => d["node-actions"]?.(e), Ve = (e) => {
8619
+ h.value = h.value.includes(e) ? h.value.filter((t) => t !== e) : [...h.value, e];
8620
+ }, He = (e) => {
8621
+ Ve(e), g.value?.contains(document.activeElement) && Ue(e);
8622
+ }, Ue = async (e) => {
8623
+ _.value = e, await y(), Array.from(g.value?.querySelectorAll("[data-tree-id]") ?? []).find((t) => t.dataset.treeId === e)?.focus();
8624
+ }, We = (e) => {
8371
8625
  let t = (n, r) => {
8372
8626
  for (let i of n) {
8373
8627
  if (i.id === e) return r;
@@ -8376,62 +8630,69 @@ var bl = { render: yl }, xl = { class: "flex items-center justify-end self-stret
8376
8630
  }
8377
8631
  return null;
8378
8632
  };
8379
- return t(l.nodes, []);
8380
- }, re = async (e) => {
8381
- let t = Y(e);
8633
+ return t(u.nodes, []);
8634
+ }, Ge = async (e) => {
8635
+ let t = We(e);
8382
8636
  if (!t) return !1;
8383
- let n = t.filter((e) => p.value.includes(e));
8384
- n.length && (p.value = p.value.filter((e) => !n.includes(e))), h.value = e, await y();
8385
- let r = D(e);
8386
- return r ? (r.focus({ preventScroll: !0 }), F = N.has(e) ? e : null, F || r.scrollIntoView({ block: "nearest" }), document.activeElement === r) : !1;
8387
- }, X = (e) => {
8388
- let t = g.value.findIndex((e) => e.node.id === ee.value), n = g.value[t];
8637
+ let n = t.filter((e) => h.value.includes(e));
8638
+ n.length && (h.value = h.value.filter((e) => !n.includes(e))), _.value = e, await y();
8639
+ let r = De(e);
8640
+ return r ? (r.focus({ preventScroll: !0 }), Pe = je.has(e) ? e : null, Pe || r.scrollIntoView({ block: "nearest" }), document.activeElement === r) : !1;
8641
+ }, Ke = (e) => {
8642
+ let t = v.value.findIndex((e) => e.node.id === Ie.value), n = v.value[t];
8389
8643
  if (!n) return;
8390
8644
  let r = (e) => {
8391
- e && ne(e.node.id);
8645
+ e && Ue(e.node.id);
8392
8646
  };
8393
8647
  switch (e.key) {
8394
8648
  case "ArrowDown":
8395
- r(g.value[t + 1]);
8649
+ r(v.value[t + 1]);
8396
8650
  break;
8397
8651
  case "ArrowUp":
8398
- r(g.value[t - 1]);
8652
+ r(v.value[t - 1]);
8399
8653
  break;
8400
8654
  case "Home":
8401
- r(g.value[0]);
8655
+ r(v.value[0]);
8402
8656
  break;
8403
8657
  case "End":
8404
- r(g.value[g.value.length - 1]);
8658
+ r(v.value[v.value.length - 1]);
8405
8659
  break;
8406
8660
  case "ArrowRight":
8407
- n.expandable && !n.expanded ? K(n.node.id) : n.expanded && r(g.value[t + 1]);
8661
+ n.expandable && !n.expanded ? Ve(n.node.id) : n.expanded && r(v.value[t + 1]);
8408
8662
  break;
8409
8663
  case "ArrowLeft":
8410
- n.expanded ? K(n.node.id) : n.parentId && ne(n.parentId);
8664
+ n.expanded ? Ve(n.node.id) : n.parentId && Ue(n.parentId);
8411
8665
  break;
8412
8666
  case "Enter":
8413
8667
  case " ":
8414
- d.value = n.node.id;
8668
+ m.value = n.node.id;
8415
8669
  break;
8416
8670
  default: return;
8417
8671
  }
8418
8672
  e.preventDefault();
8419
8673
  };
8420
- return n({ focusNode: re }), (n, i) => (E(), s("div", {
8674
+ return n({ focusNode: Ge }), (n, i) => (E(), s("div", {
8421
8675
  ref_key: "root",
8422
- ref: m,
8676
+ ref: g,
8423
8677
  role: "tree",
8424
8678
  "aria-label": t.label,
8425
8679
  class: "relative isolate",
8426
- onKeydown: X
8680
+ onKeydown: Ke,
8681
+ onPointermove: fe,
8682
+ onPointerup: me,
8683
+ onPointercancel: he,
8684
+ onDragenter: ve,
8685
+ onDragover: ve,
8686
+ onDragleave: ye,
8687
+ onDrop: be
8427
8688
  }, [c("div", {
8428
8689
  ref_key: "highlightElement",
8429
- ref: x,
8690
+ ref: we,
8430
8691
  "aria-hidden": "true",
8431
- class: b(["pointer-events-none absolute top-0 left-0 -z-10 w-full rounded-md bg-cornflower-blue-50 motion-reduce:transition-none", [C[T.value], _.value ? "opacity-100" : "opacity-0"]]),
8692
+ class: b(["pointer-events-none absolute top-0 left-0 -z-10 w-full rounded-md bg-cornflower-blue-50 motion-reduce:transition-none", [Te[Ee.value], Se.value ? "opacity-100" : "opacity-0"]]),
8432
8693
  style: S({
8433
- transform: `translateY(${v.value.top}px)`,
8434
- height: `${v.value.height}px`
8694
+ transform: `translateY(${Ce.value.top}px)`,
8695
+ height: `${Ce.value.height}px`
8435
8696
  }),
8436
8697
  "data-tree-highlight": ""
8437
8698
  }, null, 6), f(r, {
@@ -8439,80 +8700,97 @@ var bl = { render: yl }, xl = { class: "flex items-center justify-end self-stret
8439
8700
  role: "group",
8440
8701
  "leave-active-class": "invisible absolute w-full transition-none!",
8441
8702
  "move-class": "transition-transform duration-200 ease-in-out-strong motion-reduce:transition-none",
8442
- onEnter: P,
8443
- onAfterEnter: I,
8444
- onEnterCancelled: I
8703
+ onEnter: Ne,
8704
+ onAfterEnter: Fe,
8705
+ onEnterCancelled: Fe
8445
8706
  }, {
8446
- default: W(() => [(E(!0), s(e, null, k(g.value, (e) => (E(), s("div", {
8447
- key: e.node.id,
8707
+ default: H(() => [(E(!0), s(e, null, k(K.value, (t) => (E(), s(e, { key: t.key }, [t.ghost ? (E(), s("div", od, [c("div", {
8708
+ class: "flex rounded-md bg-cornflower-blue-50 py-1 pr-2 pl-1 small-normal text-gray-700 outline-1 -outline-offset-1 outline-cornflower-blue-600 transition-[margin-left] duration-200 ease-in-out-strong outline-dashed motion-reduce:transition-none",
8709
+ style: S({ marginLeft: `${t.depth * pd}px` })
8710
+ }, [c("span", sd, [
8711
+ i[3] ||= c("span", { class: "size-5 shrink-0" }, null, -1),
8712
+ t.node.icon ? (E(), a(Q, {
8713
+ key: 0,
8714
+ name: t.node.icon,
8715
+ class: "shrink-0"
8716
+ }, null, 8, ["name"])) : o("", !0),
8717
+ c("span", cd, M(t.node.label), 1)
8718
+ ])], 4)])) : (E(), s("div", {
8719
+ key: 1,
8448
8720
  role: "treeitem",
8449
- "aria-level": e.depth + 1,
8450
- "aria-posinset": e.position,
8451
- "aria-setsize": e.setSize,
8452
- "aria-selected": d.value === e.node.id,
8453
- "aria-expanded": e.expandable ? e.expanded : void 0,
8454
- tabindex: te(e.node.id),
8455
- "aria-labelledby": U(e.node.id),
8456
- "data-tree-id": e.node.id,
8457
- class: b(["group mb-0.5 flex cursor-pointer items-center gap-1.5 rounded-md py-1 pr-2 small-normal transition-colors duration-150 select-none focus-visible:outline-2 focus-visible:outline-cornflower-blue-500 motion-reduce:transition-none", d.value === e.node.id ? "text-cornflower-blue-600" : "text-gray-800 hover:bg-gray-100"]),
8458
- style: S({ paddingLeft: `${e.depth * id + 4}px` }),
8459
- onClick: (t) => d.value = e.node.id,
8460
- onFocus: (t) => h.value = e.node.id
8721
+ "aria-level": t.row.depth + 1,
8722
+ "aria-posinset": t.row.position,
8723
+ "aria-setsize": t.row.setSize,
8724
+ "aria-selected": m.value === t.row.node.id,
8725
+ "aria-expanded": t.row.expandable ? t.row.expanded : void 0,
8726
+ tabindex: Le(t.row.node.id),
8727
+ "aria-labelledby": ze(t.row.node.id),
8728
+ "data-tree-id": t.row.node.id,
8729
+ "data-tree-drop": U.value === t.row.node.id ? "inside" : void 0,
8730
+ draggable: t.row.draggable,
8731
+ class: b(["group mb-0.5 flex items-center gap-1.5 rounded-md py-1 pr-2 small-normal transition-[color,background-color,outline-color,opacity] duration-150 select-none focus-visible:outline-2 focus-visible:outline-cornflower-blue-500 motion-reduce:transition-none", q(t.row)]),
8732
+ style: S({ paddingLeft: `${t.row.depth * pd + 4}px` }),
8733
+ onClick: (e) => xe(t.row.node.id),
8734
+ onFocus: (e) => _.value = t.row.node.id,
8735
+ onPointerdown: (e) => de(e, t.row),
8736
+ onDragstart: (e) => ge(e, t.row),
8737
+ onDragend: _e
8461
8738
  }, [
8462
- e.expandable ? (E(), s("button", {
8739
+ t.row.expandable ? (E(), s("button", {
8463
8740
  key: 0,
8464
8741
  type: "button",
8465
8742
  tabindex: "-1",
8466
8743
  "aria-hidden": "true",
8467
- class: "flex size-5 shrink-0 cursor-pointer items-center justify-center text-gray-400 transition-colors duration-150 group-hover:text-gray-600 hover:text-gray-600 motion-reduce:transition-none",
8468
- onMousedown: i[0] ||= q(() => {}, ["prevent"]),
8469
- onClick: q((t) => J(e.node.id), ["stop"])
8744
+ class: b(["flex size-5 shrink-0 cursor-pointer items-center justify-center text-gray-400 transition-colors duration-150 motion-reduce:transition-none", !T.value && "group-hover:text-gray-600 hover:text-gray-600"]),
8745
+ onMousedown: i[0] ||= G(() => {}, ["prevent"]),
8746
+ onClick: G((e) => He(t.row.node.id), ["stop"])
8470
8747
  }, [f(Q, {
8471
8748
  name: "chevron-down",
8472
- class: b(["extra-small-normal transition-transform duration-150 ease-out motion-reduce:transition-none", !e.expanded && "-rotate-90"])
8473
- }, null, 8, ["class"])], 40, td)) : (E(), s("span", nd)),
8474
- e.node.icon ? (E(), a(Q, {
8749
+ class: b(["extra-small-normal transition-transform duration-150 ease-out motion-reduce:transition-none", !t.row.expanded && "-rotate-90"])
8750
+ }, null, 8, ["class"])], 42, ud)) : (E(), s("span", dd)),
8751
+ t.row.node.icon ? (E(), a(Q, {
8475
8752
  key: 2,
8476
- name: e.node.icon,
8477
- class: b(["shrink-0 transition-colors duration-150 motion-reduce:transition-none", d.value === e.node.id ? "text-cornflower-blue-600" : "text-gray-600"])
8753
+ name: t.row.node.icon,
8754
+ class: b(["shrink-0 transition-colors duration-150 motion-reduce:transition-none", m.value === t.row.node.id ? "text-cornflower-blue-600" : "text-gray-600"])
8478
8755
  }, null, 8, ["name", "class"])) : o("", !0),
8479
8756
  c("span", {
8480
- id: U(e.node.id),
8757
+ id: ze(t.row.node.id),
8481
8758
  class: "truncate"
8482
- }, M(e.node.label), 9, rd),
8483
- u["node-actions"] ? (E(), s("div", {
8759
+ }, M(t.row.node.label), 9, fd),
8760
+ d["node-actions"] ? (E(), s("div", {
8484
8761
  key: 3,
8762
+ "data-tree-actions": "",
8485
8763
  class: "-my-0.5 ml-auto flex shrink-0 items-center opacity-0 transition-opacity duration-150 ease-out group-focus-within:opacity-100 group-hover:opacity-100 motion-reduce:transition-none pointer-coarse:opacity-100",
8486
- onClick: i[1] ||= q(() => {}, ["stop"]),
8487
- onKeydown: i[2] ||= q(() => {}, ["stop"])
8488
- }, [f(G, {
8489
- node: e.node,
8490
- tabindex: te(e.node.id)
8764
+ onClick: i[1] ||= G(() => {}, ["stop"]),
8765
+ onKeydown: i[2] ||= G(() => {}, ["stop"])
8766
+ }, [f(Be, {
8767
+ node: t.row.node,
8768
+ tabindex: Le(t.row.node.id)
8491
8769
  }, null, 8, ["node", "tabindex"])], 32)) : o("", !0)
8492
- ], 46, ed))), 128))]),
8770
+ ], 46, ld))], 64))), 128))]),
8493
8771
  _: 1
8494
- })], 40, $u));
8772
+ })], 40, ad));
8495
8773
  }
8496
- }), sd = [
8774
+ }), vd = [
8497
8775
  "src",
8498
8776
  "loop",
8499
8777
  "aria-label"
8500
- ], cd = {
8778
+ ], yd = {
8501
8779
  key: 0,
8502
8780
  role: "alert",
8503
8781
  class: "absolute inset-0 flex flex-col items-center justify-center gap-3 rounded-lg bg-gray-900 text-white"
8504
- }, ld = { class: "heading-4" }, ud = { class: "max-w-xs truncate extra-small-normal text-white/50" }, dd = {
8782
+ }, bd = { class: "heading-4" }, xd = { class: "max-w-xs truncate extra-small-normal text-white/50" }, Sd = {
8505
8783
  key: 0,
8506
8784
  class: "pointer-events-none absolute inset-0 flex items-center justify-center"
8507
- }, fd = {
8785
+ }, Cd = {
8508
8786
  class: "flex size-16 items-center justify-center rounded-full bg-black/50 text-white",
8509
8787
  "aria-hidden": "true"
8510
- }, pd = [
8788
+ }, wd = [
8511
8789
  "aria-label",
8512
8790
  "aria-valuemax",
8513
8791
  "aria-valuenow",
8514
8792
  "aria-valuetext"
8515
- ], md = { class: "flex items-center gap-2" }, hd = ["aria-label"], gd = { class: "extra-small-normal text-white/70 tabular-nums" }, _d = ["aria-label"], vd = ["aria-label"], yd = /* @__PURE__ */ p({
8793
+ ], Td = { class: "flex items-center gap-2" }, Ed = ["aria-label"], Dd = { class: "extra-small-normal text-white/70 tabular-nums" }, Od = ["aria-label"], kd = ["aria-label"], Ad = /* @__PURE__ */ p({
8516
8794
  __name: "VideoPlayer",
8517
8795
  props: {
8518
8796
  src: {},
@@ -8534,8 +8812,8 @@ var bl = { render: yl }, xl = { class: "flex items-center justify-end self-stret
8534
8812
  seek: "Seek",
8535
8813
  video: "Video player",
8536
8814
  ...r.labels
8537
- })), l = B("videoRef"), { playing: u, buffered: d, currentTime: p, duration: m, muted: h, seeking: g } = it(l, { src: i(() => r.src) }), { isFullscreen: _, toggle: v } = rt(l), y = O(!1), x = i(() => !u.value || y.value), C = O(!1);
8538
- H(() => r.src, () => {
8815
+ })), l = z("videoRef"), { playing: u, buffered: d, currentTime: p, duration: m, muted: h, seeking: g } = it(l, { src: i(() => r.src) }), { isFullscreen: _, toggle: v } = rt(l), y = O(!1), x = i(() => !u.value || y.value), C = O(!1);
8816
+ B(() => r.src, () => {
8539
8817
  C.value = !1;
8540
8818
  });
8541
8819
  let T = O(null), D = null, k = (e) => {
@@ -8547,33 +8825,33 @@ var bl = { render: yl }, xl = { class: "flex items-center justify-end self-stret
8547
8825
  return t > 0 ? `${t}:${String(n).padStart(2, "0")}:${String(r).padStart(2, "0")}` : `${n}:${String(r).padStart(2, "0")}`;
8548
8826
  }, F = () => {
8549
8827
  u.value = !u.value, k(u.value ? "play" : "pause");
8550
- }, I = () => {
8828
+ }, ee = () => {
8551
8829
  h.value = !h.value;
8552
- }, L = B("scrubberRef"), R = O(null), z = !1, ee = i(() => R.value === null ? m.value ? p.value / m.value * 100 : 0 : R.value * 100), te = i(() => R.value === null ? p.value : R.value * (m.value || 0));
8553
- H(g, (e) => {
8554
- !e && z && (z = !1, R.value = null);
8830
+ }, I = z("scrubberRef"), L = O(null), R = !1, te = i(() => L.value === null ? m.value ? p.value / m.value * 100 : 0 : L.value * 100), ne = i(() => L.value === null ? p.value : L.value * (m.value || 0));
8831
+ B(g, (e) => {
8832
+ !e && R && (R = !1, L.value = null);
8555
8833
  });
8556
- let V = (e) => {
8557
- if (!L.value) return 0;
8558
- let t = L.value.getBoundingClientRect(), n = "touches" in e ? e.touches[0]?.clientX ?? 0 : e.clientX;
8834
+ let re = (e) => {
8835
+ if (!I.value) return 0;
8836
+ let t = I.value.getBoundingClientRect(), n = "touches" in e ? e.touches[0]?.clientX ?? 0 : e.clientX;
8559
8837
  return Math.max(0, Math.min(1, (n - t.left) / t.width));
8838
+ }, V = (e) => {
8839
+ L.value = re(e);
8560
8840
  }, U = (e) => {
8561
- R.value = V(e);
8562
- }, G = (e) => {
8563
8841
  if (!m.value) return;
8564
8842
  let t = Math.max(0, Math.min(m.value, p.value + e));
8565
- z = !0, p.value = t;
8566
- }, K = (e) => {
8567
- e.key === "ArrowLeft" ? (e.preventDefault(), G(-5)) : e.key === "ArrowRight" ? (e.preventDefault(), G(5)) : e.key === "Home" ? (e.preventDefault(), G(-Infinity)) : e.key === "End" && (e.preventDefault(), G(Infinity));
8568
- }, J = () => {
8569
- R.value !== null && m.value ? (z = !0, p.value = R.value * m.value) : R.value = null;
8843
+ R = !0, p.value = t;
8844
+ }, W = (e) => {
8845
+ e.key === "ArrowLeft" ? (e.preventDefault(), U(-5)) : e.key === "ArrowRight" ? (e.preventDefault(), U(5)) : e.key === "Home" ? (e.preventDefault(), U(-Infinity)) : e.key === "End" && (e.preventDefault(), U(Infinity));
8846
+ }, K = () => {
8847
+ L.value !== null && m.value ? (R = !0, p.value = L.value * m.value) : L.value = null;
8570
8848
  };
8571
8849
  return nt(document, "mousemove", (e) => {
8572
- R.value !== null && (R.value = V(e));
8850
+ L.value !== null && (L.value = re(e));
8573
8851
  }), nt(document, "mouseup", () => {
8574
- R.value !== null && J();
8852
+ L.value !== null && K();
8575
8853
  }), nt(document, "touchend", () => {
8576
- R.value !== null && J();
8854
+ L.value !== null && K();
8577
8855
  }), w(() => {
8578
8856
  r.autoplay && (u.value = !0), r.muted && (h.value = !0);
8579
8857
  }), t({
@@ -8593,15 +8871,15 @@ var bl = { render: yl }, xl = { class: "flex items-center justify-end self-stret
8593
8871
  "aria-label": a.value.video,
8594
8872
  onError: r[0] ||= (e) => C.value = !0,
8595
8873
  onClick: r[1] ||= (t) => e.showControls === !1 ? void 0 : F()
8596
- }, null, 42, sd),
8597
- C.value ? (E(), s("div", cd, [
8874
+ }, null, 42, vd),
8875
+ C.value ? (E(), s("div", yd, [
8598
8876
  f(Q, {
8599
8877
  name: "circle-exclamation",
8600
8878
  class: "text-3xl text-red-400",
8601
8879
  "aria-hidden": "true"
8602
8880
  }),
8603
- c("p", ld, M(a.value.error), 1),
8604
- c("p", ud, M(e.src), 1)
8881
+ c("p", bd, M(a.value.error), 1),
8882
+ c("p", xd, M(e.src), 1)
8605
8883
  ])) : o("", !0),
8606
8884
  f(n, {
8607
8885
  "enter-active-class": "transition-opacity duration-100 ease-out",
@@ -8609,7 +8887,7 @@ var bl = { render: yl }, xl = { class: "flex items-center justify-end self-stret
8609
8887
  "enter-from-class": "opacity-0",
8610
8888
  "leave-to-class": "opacity-0"
8611
8889
  }, {
8612
- default: W(() => [e.showControls !== !1 && T.value && !C.value ? (E(), s("div", dd, [c("div", fd, [f(Q, {
8890
+ default: H(() => [e.showControls !== !1 && T.value && !C.value ? (E(), s("div", Sd, [c("div", Cd, [f(Q, {
8613
8891
  name: T.value,
8614
8892
  class: "text-2xl"
8615
8893
  }, null, 8, ["name"])])])) : o("", !0)]),
@@ -8621,23 +8899,23 @@ var bl = { render: yl }, xl = { class: "flex items-center justify-end self-stret
8621
8899
  style: S({ transform: x.value ? "translateY(0)" : "translateY(100%)" })
8622
8900
  }, [c("div", {
8623
8901
  ref_key: "scrubberRef",
8624
- ref: L,
8902
+ ref: I,
8625
8903
  role: "slider",
8626
8904
  "aria-label": a.value.seek,
8627
8905
  "aria-valuemin": 0,
8628
8906
  "aria-valuemax": P(m) || 0,
8629
- "aria-valuenow": Math.round(te.value),
8630
- "aria-valuetext": N(te.value),
8907
+ "aria-valuenow": Math.round(ne.value),
8908
+ "aria-valuetext": N(ne.value),
8631
8909
  tabindex: "0",
8632
8910
  class: "relative h-1.5 cursor-pointer rounded-full bg-white/20",
8633
- onMousedown: U,
8634
- onTouchstart: q(U, ["prevent"]),
8635
- onKeydown: K,
8636
- onTouchmove: r[2] ||= q((e) => {
8637
- R.value !== null && (R.value = V(e));
8911
+ onMousedown: V,
8912
+ onTouchstart: G(V, ["prevent"]),
8913
+ onKeydown: W,
8914
+ onTouchmove: r[2] ||= G((e) => {
8915
+ L.value !== null && (L.value = re(e));
8638
8916
  }, ["prevent"]),
8639
8917
  onTouchend: r[3] ||= () => {
8640
- R.value !== null && J();
8918
+ L.value !== null && K();
8641
8919
  }
8642
8920
  }, [
8643
8921
  c("div", {
@@ -8646,13 +8924,13 @@ var bl = { render: yl }, xl = { class: "flex items-center justify-end self-stret
8646
8924
  }, null, 4),
8647
8925
  c("div", {
8648
8926
  class: "absolute inset-y-0 left-0 rounded-full bg-cornflower-blue-500",
8649
- style: S({ width: `${ee.value}%` })
8927
+ style: S({ width: `${te.value}%` })
8650
8928
  }, null, 4),
8651
8929
  c("div", {
8652
8930
  class: "absolute top-1/2 size-3 -translate-1/2 rounded-full bg-sapphire-100 opacity-0 shadow-sm transition-opacity group-hover/player:opacity-100",
8653
- style: S({ left: `${ee.value}%` })
8931
+ style: S({ left: `${te.value}%` })
8654
8932
  }, null, 4)
8655
- ], 40, pd), c("div", md, [
8933
+ ], 40, wd), c("div", Td, [
8656
8934
  c("button", {
8657
8935
  type: "button",
8658
8936
  "aria-label": P(u) ? a.value.pause : a.value.play,
@@ -8662,19 +8940,19 @@ var bl = { render: yl }, xl = { class: "flex items-center justify-end self-stret
8662
8940
  name: P(u) ? "pause" : "play",
8663
8941
  class: "text-sm",
8664
8942
  "aria-hidden": "true"
8665
- }, null, 8, ["name"])], 8, hd),
8666
- c("span", gd, M(N(te.value)) + " / " + M(N(P(m))), 1),
8943
+ }, null, 8, ["name"])], 8, Ed),
8944
+ c("span", Dd, M(N(ne.value)) + " / " + M(N(P(m))), 1),
8667
8945
  r[7] ||= c("div", { class: "flex-1" }, null, -1),
8668
8946
  c("button", {
8669
8947
  type: "button",
8670
8948
  "aria-label": P(h) ? a.value.unmute : a.value.mute,
8671
8949
  class: "flex size-8 cursor-pointer items-center justify-center rounded-full text-white transition hover:bg-white/10 hover:text-cornflower-blue-400",
8672
- onClick: I
8950
+ onClick: ee
8673
8951
  }, [f(Q, {
8674
8952
  name: P(h) ? "volume-xmark" : "volume-high",
8675
8953
  class: "text-sm",
8676
8954
  "aria-hidden": "true"
8677
- }, null, 8, ["name"])], 8, _d),
8955
+ }, null, 8, ["name"])], 8, Od),
8678
8956
  c("button", {
8679
8957
  type: "button",
8680
8958
  "aria-label": P(_) ? a.value.exitFullscreen : a.value.enterFullscreen,
@@ -8684,10 +8962,10 @@ var bl = { render: yl }, xl = { class: "flex items-center justify-end self-stret
8684
8962
  name: P(_) ? "compress" : "expand",
8685
8963
  class: "text-sm",
8686
8964
  "aria-hidden": "true"
8687
- }, null, 8, ["name"])], 8, vd)
8965
+ }, null, 8, ["name"])], 8, kd)
8688
8966
  ])], 4)) : o("", !0)
8689
8967
  ], 32));
8690
8968
  }
8691
8969
  });
8692
8970
  //#endregion
8693
- export { Jt as EDITOR_LETTER_SPACING_STEPS, Ut as EDITOR_LINE_HEIGHT_STEPS, Rt as EDITOR_MAX_WIDTH_STEPS, Nt as EDITOR_RADIUS_STEPS, pt as EVENT_CONFIG_MAP, Qt as NexxtAnimatedNumber, en as NexxtAnnouncement, on as NexxtAvatar, cn as NexxtButton, Bn as NexxtCalendar, Un as NexxtCard, Gn as NexxtCheckbox, Kn as NexxtChip, hr as NexxtColorPicker, Ir as NexxtCombobox, Fr as NexxtComboboxPanel, Ur as NexxtContactInfoCard, ni as NexxtCountrySelect, oi as NexxtCustomerJourneyTile, si as NexxtDatePicker, hi as NexxtDoughnutChart, bi as NexxtDropdownButton, ji as NexxtEditorAlignItems, Ni as NexxtEditorBackgroundSize, Bi as NexxtEditorBorder, Zi as NexxtEditorColor, $i as NexxtEditorFlexDirection, aa as NexxtEditorGap, _a as NexxtEditorHeadingType, ya as NexxtEditorJustifyContent, Zt as NexxtEditorLetterSpacing, Gt as NexxtEditorLineHeight, Bt as NexxtEditorMaxWidth, qa as NexxtEditorPadding, Ft as NexxtEditorRadius, $ as NexxtEditorSettingsBlock, Ya as NexxtEditorTextAlign, Qa as NexxtEnergyLabel, Qn as NexxtFloatingPanel, no as NexxtHeader, Q as NexxtIcon, io as NexxtInfoBlock, Sr as NexxtInputField, po as NexxtInputSelect, ho as NexxtLoader, yo as NexxtModal, xo as NexxtModalFooter, Zo as NexxtPageCard, ns as NexxtPageContainer, Ko as NexxtPageMockup, is as NexxtPageTypeTile, as as NexxtPagination, fs as NexxtPickerGroup, gs as NexxtPickerItem, Es as NexxtPickerList, Bs as NexxtPickerPanel, Ps as NexxtPickerPreview, Gs as NexxtPlaceholderInput, Ys as NexxtPresenceIndicator, sc as NexxtProgressBar, vc as NexxtPropertyCard, pc as NexxtPropertyListing, Pc as NexxtReferenceCard, ma as NexxtSelect, Lc as NexxtSelectableOption, Uc as NexxtSidebarMenuItem, Gc as NexxtSkeleton, Yc as NexxtSkeletonPropertyCard, At as NexxtSlider, Qc as NexxtSocialIcons, nl as NexxtSocialMediaCustomTemplate, dl as NexxtSocialMediaTemplate, Tl as NexxtSocialMediaType, Rl as NexxtSource, nn as NexxtSquircle, zl as NexxtStepperHeader, bt as NexxtSwitch, Kl as NexxtTabbedContent, au as NexxtTable, Hl as NexxtTabs, yu as NexxtTemplateCard, Cu as NexxtTextarea, Au as NexxtTimelineEvent, Lu as NexxtTimelineLanes, Hu as NexxtTimelinePhaseblock, Wu as NexxtTimelineTrack, Zu as NexxtToast, Qu as NexxtToaster, ki as NexxtToggleGroup, xi as NexxtTooltip, od as NexxtTree, yd as NexxtVideoPlayer, mt as PHASE_MAP, Fl as SOURCE_MAP };
8971
+ export { Jt as EDITOR_LETTER_SPACING_STEPS, Ut as EDITOR_LINE_HEIGHT_STEPS, Rt as EDITOR_MAX_WIDTH_STEPS, Nt as EDITOR_RADIUS_STEPS, pt as EVENT_CONFIG_MAP, Qt as NexxtAnimatedNumber, en as NexxtAnnouncement, on as NexxtAvatar, cn as NexxtButton, Bn as NexxtCalendar, Un as NexxtCard, Gn as NexxtCheckbox, Kn as NexxtChip, hr as NexxtColorPicker, Ir as NexxtCombobox, Fr as NexxtComboboxPanel, Ur as NexxtContactInfoCard, ni as NexxtCountrySelect, oi as NexxtCustomerJourneyTile, si as NexxtDatePicker, hi as NexxtDoughnutChart, bi as NexxtDropdownButton, ji as NexxtEditorAlignItems, Ni as NexxtEditorBackgroundSize, Bi as NexxtEditorBorder, Zi as NexxtEditorColor, $i as NexxtEditorFlexDirection, aa as NexxtEditorGap, _a as NexxtEditorHeadingType, ya as NexxtEditorJustifyContent, Zt as NexxtEditorLetterSpacing, Gt as NexxtEditorLineHeight, Bt as NexxtEditorMaxWidth, qa as NexxtEditorPadding, Ft as NexxtEditorRadius, $ as NexxtEditorSettingsBlock, Ya as NexxtEditorTextAlign, Qa as NexxtEnergyLabel, Qn as NexxtFloatingPanel, no as NexxtHeader, Q as NexxtIcon, io as NexxtInfoBlock, Sr as NexxtInputField, po as NexxtInputSelect, ho as NexxtLoader, yo as NexxtModal, xo as NexxtModalFooter, Zo as NexxtPageCard, ns as NexxtPageContainer, Ko as NexxtPageMockup, is as NexxtPageTypeTile, as as NexxtPagination, fs as NexxtPickerGroup, gs as NexxtPickerItem, Es as NexxtPickerList, Bs as NexxtPickerPanel, Ps as NexxtPickerPreview, Gs as NexxtPlaceholderInput, Ys as NexxtPresenceIndicator, sc as NexxtProgressBar, vc as NexxtPropertyCard, pc as NexxtPropertyListing, Pc as NexxtReferenceCard, ma as NexxtSelect, Lc as NexxtSelectableOption, Uc as NexxtSidebarMenuItem, Gc as NexxtSkeleton, Yc as NexxtSkeletonPropertyCard, At as NexxtSlider, Qc as NexxtSocialIcons, nl as NexxtSocialMediaCustomTemplate, dl as NexxtSocialMediaTemplate, Tl as NexxtSocialMediaType, Rl as NexxtSource, nn as NexxtSquircle, zl as NexxtStepperHeader, bt as NexxtSwitch, Kl as NexxtTabbedContent, au as NexxtTable, Hl as NexxtTabs, yu as NexxtTemplateCard, Cu as NexxtTextarea, Au as NexxtTimelineEvent, Lu as NexxtTimelineLanes, Hu as NexxtTimelinePhaseblock, Wu as NexxtTimelineTrack, Zu as NexxtToast, Qu as NexxtToaster, ki as NexxtToggleGroup, xi as NexxtTooltip, _d as NexxtTree, Ad as NexxtVideoPlayer, mt as PHASE_MAP, Fl as SOURCE_MAP };