@nexxtmove/ui 1.43.0 → 1.45.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,4 +1,4 @@
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 ee, useTemplateRef as z, vModelCheckbox as B, vModelDynamic as V, vModelText as te, watch as H, watchEffect as U, withCtx as W, withDirectives as G, withKeys as K, withModifiers as q } from "vue";
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 B, vModelDynamic as V, vModelText as te, watch as H, watchEffect as U, withCtx as W, withDirectives as G, withKeys as K, withModifiers as q } from "vue";
2
2
  import { createReusableTemplate as ne, useElementSize as re, useEventListener as ie, useFullscreen as ae, useMediaControls as J, useMounted as oe, usePreferredReducedMotion as se, useResizeObserver as ce } from "@vueuse/core";
3
3
  import { ColorAreaArea as Y, ColorAreaRoot as le, ColorAreaThumb as ue, ColorFieldInput as X, ColorFieldRoot as de, ColorSliderRoot as fe, ColorSliderThumb as pe, ColorSliderTrack as me, ColorSwatch as he, DialogClose as ge, DialogContent as _e, DialogDescription as ve, DialogOverlay as ye, DialogPortal as be, DialogRoot as xe, DialogTitle as Se, PaginationEllipsis as Ce, PaginationFirst as we, PaginationLast as Te, PaginationList as Ee, PaginationListItem as De, PaginationNext as Oe, PaginationPrev as ke, PaginationRoot as Ae, SliderRange as je, SliderRoot as Me, SliderThumb as Ne, SliderTrack as Pe, TooltipContent as Fe, TooltipPortal as Ie, TooltipProvider as Le, TooltipRoot as Re, TooltipTrigger as ze, colorToString as Be, normalizeColor as Ve, setChannelValue as He } from "reka-ui";
4
4
  import { autoUpdate as Ue, flip as We, offset as Ge, shift as Ke, size as qe, useFloating as Je } from "@floating-ui/vue";
@@ -332,7 +332,7 @@ var xt = { funda: { render: bt } }, 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 = {
@@ -405,7 +405,7 @@ var xt = { funda: { render: bt } }, 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", wt, [c("div", Tt, [e.switchable ? (E(), a(Ct, {
410
410
  key: 0,
411
411
  modelValue: t.value,
@@ -510,7 +510,7 @@ var xt = { funda: { render: bt } }, Q = /* @__PURE__ */ p({
510
510
  }),
511
511
  emits: ["update:modelValue"],
512
512
  setup(t) {
513
- let n = t, r = R(t, "modelValue"), i = z("containerRef"), l = O([]), u = O({
513
+ let n = t, r = L(t, "modelValue"), i = z("containerRef"), l = O([]), u = O({
514
514
  width: "0px",
515
515
  transform: "translateX(0px)"
516
516
  }), f = O("inset(0 100% 0 0 round 8px)"), p = O(!1), m = async () => {
@@ -599,7 +599,7 @@ var xt = { funda: { render: bt } }, Q = /* @__PURE__ */ p({
599
599
  }),
600
600
  emits: ["update:modelValue"],
601
601
  setup(e) {
602
- let t = R(e, "modelValue"), n = i(() => ({
602
+ let t = L(e, "modelValue"), n = i(() => ({
603
603
  ...Bt,
604
604
  ...e.messages
605
605
  })), r = {
@@ -646,7 +646,7 @@ var xt = { funda: { render: bt } }, Q = /* @__PURE__ */ p({
646
646
  }),
647
647
  emits: ["update:modelValue"],
648
648
  setup(e) {
649
- let t = R(e, "modelValue"), n = i(() => ({
649
+ let t = L(e, "modelValue"), n = i(() => ({
650
650
  ...Ut,
651
651
  ...e.messages
652
652
  })), r = {
@@ -687,7 +687,7 @@ var xt = { funda: { render: bt } }, Q = /* @__PURE__ */ p({
687
687
  }),
688
688
  emits: ["update:modelValue"],
689
689
  setup(e) {
690
- let t = R(e, "modelValue"), n = i(() => ({
690
+ let t = L(e, "modelValue"), n = i(() => ({
691
691
  ...Kt,
692
692
  ...e.messages
693
693
  })), r = {
@@ -748,7 +748,7 @@ var xt = { funda: { render: bt } }, Q = /* @__PURE__ */ p({
748
748
  }),
749
749
  emits: ["update:modelValue"],
750
750
  setup(t) {
751
- let n = R(t, "modelValue"), r = {
751
+ let n = L(t, "modelValue"), r = {
752
752
  blue: "bg-cornflower-blue-500",
753
753
  green: "bg-green-400"
754
754
  }, l = {
@@ -882,7 +882,7 @@ var xt = { funda: { render: bt } }, Q = /* @__PURE__ */ p({
882
882
  }),
883
883
  emits: ["update:modelValue"],
884
884
  setup(e) {
885
- let t = R(e, "modelValue"), n = i(() => ({
885
+ let t = L(e, "modelValue"), n = i(() => ({
886
886
  ...tn,
887
887
  ...e.messages
888
888
  })), r = en.length - 1, o = i(() => Math.max(0, en.findIndex(({ token: e }) => `gap-${e}` === t.value))), s = i({
@@ -945,7 +945,7 @@ var xt = { funda: { render: bt } }, Q = /* @__PURE__ */ p({
945
945
  onFocus: (e) => t("enter", e)
946
946
  }) : [];
947
947
  m.props = ["edge", "active"], m.emits = ["enter"];
948
- 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), I = se(), L = i(() => I.value === "reduce"), R = i(() => d[h.surface === "raised" ? "raised" : "default"]), ee = i(() => h.fitHeight ? F.value : null), B = i(() => N.value && x.value), V = i(() => [
948
+ 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 = se(), I = i(() => ee.value === "reduce"), L = i(() => d[h.surface === "raised" ? "raised" : "default"]), R = i(() => h.fitHeight ? F.value : null), B = i(() => N.value && x.value), V = i(() => [
949
949
  Ge(h.offsetDistance),
950
950
  We(),
951
951
  Ke({ padding: 8 }),
@@ -1061,22 +1061,22 @@ var xt = { funda: { render: bt } }, Q = /* @__PURE__ */ p({
1061
1061
  active: N.value,
1062
1062
  onEnter: ue
1063
1063
  }, null, 8, ["active"]),
1064
- f(n, v({ css: !L.value }, fe.value, { onAfterLeave: i[0] ||= (e) => C.value = !1 }), {
1064
+ f(n, v({ css: !I.value }, fe.value, { onAfterLeave: i[0] ||= (e) => C.value = !1 }), {
1065
1065
  default: W(() => [x.value && k.value ? (E(), s("div", rn, [r.surface ? (E(), s("div", {
1066
1066
  key: 0,
1067
- class: b(R.value)
1067
+ class: b(L.value)
1068
1068
  }, [A(t.$slots, "content", {
1069
1069
  isOpen: x.value,
1070
1070
  close: q,
1071
1071
  toggle: ne,
1072
- availableHeight: ee.value,
1072
+ availableHeight: R.value,
1073
1073
  teleported: N.value
1074
1074
  })], 2)) : A(t.$slots, "content", {
1075
1075
  key: 1,
1076
1076
  isOpen: x.value,
1077
1077
  close: q,
1078
1078
  toggle: ne,
1079
- availableHeight: ee.value,
1079
+ availableHeight: R.value,
1080
1080
  teleported: N.value
1081
1081
  })])) : o("", !0)]),
1082
1082
  _: 3
@@ -1149,7 +1149,7 @@ var xt = { funda: { render: bt } }, Q = /* @__PURE__ */ p({
1149
1149
  }),
1150
1150
  emits: ["update:modelValue"],
1151
1151
  setup(t) {
1152
- let r = "color-picker-" + Math.random().toString(36).slice(2, 10), l = t, u = R(t, "modelValue"), p = (e) => e.alpha < 1 ? He(e, "alpha", 100) : e, m = (e) => {
1152
+ let r = "color-picker-" + Math.random().toString(36).slice(2, 10), l = t, u = L(t, "modelValue"), p = (e) => e.alpha < 1 ? He(e, "alpha", 100) : e, m = (e) => {
1153
1153
  let t = Ve(e);
1154
1154
  return l.showAlpha ? t : p(t);
1155
1155
  }, h = (e) => {
@@ -1171,14 +1171,14 @@ var xt = { funda: { render: bt } }, Q = /* @__PURE__ */ p({
1171
1171
  }, F = (e) => {
1172
1172
  let t = l.showAlpha ? e : p(e);
1173
1173
  y.value = t, u.value = v(t, _.value);
1174
- }, I = (e) => {
1174
+ }, ee = (e) => {
1175
1175
  let t = e.target.value;
1176
1176
  try {
1177
1177
  y.value = h(t), u.value = v(y.value, _.value), x.value = "";
1178
1178
  } catch (e) {
1179
1179
  x.value = e instanceof Error ? e.message : "Ongeldige kleur";
1180
1180
  }
1181
- }, L = (e, t) => {
1181
+ }, I = (e, t) => {
1182
1182
  let n = Number(e.target.value);
1183
1183
  if (isNaN(n)) {
1184
1184
  C.value[t] = "Ongeldige waarde";
@@ -1302,7 +1302,7 @@ var xt = { funda: { render: bt } }, Q = /* @__PURE__ */ p({
1302
1302
  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(X), {
1303
1303
  class: "w-full bg-transparent small-normal-mono text-gray-900 placeholder-gray-400 focus:outline-none",
1304
1304
  placeholder: "#000000",
1305
- onInput: I
1305
+ onInput: ee
1306
1306
  })], 2), x.value ? (E(), s("p", vn, M(x.value), 1)) : o("", !0)]),
1307
1307
  _: 1
1308
1308
  }, 8, ["model-value"])) : _.value === "hsl" ? (E(), s("div", yn, [
@@ -1316,7 +1316,7 @@ var xt = { funda: { render: bt } }, Q = /* @__PURE__ */ p({
1316
1316
  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(X), {
1317
1317
  class: "w-full bg-transparent small-normal-mono text-gray-900 placeholder-gray-400 focus:outline-none",
1318
1318
  placeholder: "H",
1319
- onInput: l[2] ||= (e) => L(e, "hue")
1319
+ onInput: l[2] ||= (e) => I(e, "hue")
1320
1320
  })], 2)]),
1321
1321
  _: 1
1322
1322
  }, 8, ["model-value"]),
@@ -1330,7 +1330,7 @@ var xt = { funda: { render: bt } }, Q = /* @__PURE__ */ p({
1330
1330
  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(X), {
1331
1331
  class: "w-full bg-transparent small-normal-mono text-gray-900 placeholder-gray-400 focus:outline-none",
1332
1332
  placeholder: "S",
1333
- onInput: l[3] ||= (e) => L(e, "saturation")
1333
+ onInput: l[3] ||= (e) => I(e, "saturation")
1334
1334
  })], 2)]),
1335
1335
  _: 1
1336
1336
  }, 8, ["model-value"]),
@@ -1344,7 +1344,7 @@ var xt = { funda: { render: bt } }, Q = /* @__PURE__ */ p({
1344
1344
  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(X), {
1345
1345
  class: "w-full bg-transparent small-normal-mono text-gray-900 placeholder-gray-400 focus:outline-none",
1346
1346
  placeholder: "L",
1347
- onInput: l[4] ||= (e) => L(e, "lightness")
1347
+ onInput: l[4] ||= (e) => I(e, "lightness")
1348
1348
  })], 2)]),
1349
1349
  _: 1
1350
1350
  }, 8, ["model-value"])
@@ -1359,7 +1359,7 @@ var xt = { funda: { render: bt } }, Q = /* @__PURE__ */ p({
1359
1359
  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(X), {
1360
1360
  class: "w-full bg-transparent small-normal-mono text-gray-900 placeholder-gray-400 focus:outline-none",
1361
1361
  placeholder: "R",
1362
- onInput: l[5] ||= (e) => L(e, "red")
1362
+ onInput: l[5] ||= (e) => I(e, "red")
1363
1363
  })], 2)]),
1364
1364
  _: 1
1365
1365
  }, 8, ["model-value"]),
@@ -1373,7 +1373,7 @@ var xt = { funda: { render: bt } }, Q = /* @__PURE__ */ p({
1373
1373
  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(X), {
1374
1374
  class: "w-full bg-transparent small-normal-mono text-gray-900 placeholder-gray-400 focus:outline-none",
1375
1375
  placeholder: "G",
1376
- onInput: l[6] ||= (e) => L(e, "green")
1376
+ onInput: l[6] ||= (e) => I(e, "green")
1377
1377
  })], 2)]),
1378
1378
  _: 1
1379
1379
  }, 8, ["model-value"]),
@@ -1387,7 +1387,7 @@ var xt = { funda: { render: bt } }, Q = /* @__PURE__ */ p({
1387
1387
  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(X), {
1388
1388
  class: "w-full bg-transparent small-normal-mono text-gray-900 placeholder-gray-400 focus:outline-none",
1389
1389
  placeholder: "B",
1390
- onInput: l[7] ||= (e) => L(e, "blue")
1390
+ onInput: l[7] ||= (e) => I(e, "blue")
1391
1391
  })], 2)]),
1392
1392
  _: 1
1393
1393
  }, 8, ["model-value"])
@@ -1462,7 +1462,7 @@ var xt = { funda: { render: bt } }, Q = /* @__PURE__ */ p({
1462
1462
  }),
1463
1463
  emits: ["update:modelValue", "update:enabled"],
1464
1464
  setup(e) {
1465
- let t = R(e, "modelValue"), n = R(e, "enabled"), r = i(() => ({
1465
+ let t = L(e, "modelValue"), n = L(e, "enabled"), r = i(() => ({
1466
1466
  ...jn,
1467
1467
  ...e.messages
1468
1468
  })), o = An.length - 1, s = i(() => t.value.split(/\s+/).filter(Boolean)), l = i(() => {
@@ -1557,7 +1557,7 @@ var xt = { funda: { render: bt } }, Q = /* @__PURE__ */ p({
1557
1557
  }),
1558
1558
  emits: ["update:modelValue"],
1559
1559
  setup(t) {
1560
- 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 = z("panel"), y = O(-1), x = i(() => {
1560
+ 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(() => {
1561
1561
  if (_.value === null || _.value === void 0) return null;
1562
1562
  let e = g.options.find((e) => l(e) === _.value);
1563
1563
  return e ? r(e) : null;
@@ -1726,7 +1726,7 @@ var xt = { funda: { render: bt } }, Q = /* @__PURE__ */ p({
1726
1726
  }),
1727
1727
  emits: ["update:modelValue"],
1728
1728
  setup(e) {
1729
- let t = R(e, "modelValue"), n = i(() => ({
1729
+ let t = L(e, "modelValue"), n = i(() => ({
1730
1730
  ...Wn,
1731
1731
  ...e.messages
1732
1732
  })), r = i(() => Un.map(({ token: e, level: t }) => {
@@ -1814,7 +1814,7 @@ var xt = { funda: { render: bt } }, Q = /* @__PURE__ */ p({
1814
1814
  }),
1815
1815
  emits: ["update:modelValue"],
1816
1816
  setup(e) {
1817
- let t = R(e, "modelValue"), n = i(() => ({
1817
+ let t = L(e, "modelValue"), n = i(() => ({
1818
1818
  ...Yn,
1819
1819
  ...e.messages
1820
1820
  })), r = Jn.length - 1, o = i(() => Math.max(0, Jn.findIndex(({ token: e }) => `rounded-${e}` === t.value))), s = i({
@@ -1865,7 +1865,7 @@ var xt = { funda: { render: bt } }, Q = /* @__PURE__ */ p({
1865
1865
  }),
1866
1866
  emits: ["update:modelValue"],
1867
1867
  setup(e) {
1868
- let t = R(e, "modelValue"), n = i(() => ({
1868
+ let t = L(e, "modelValue"), n = i(() => ({
1869
1869
  ...Qn,
1870
1870
  ...e.messages
1871
1871
  })), r = {
@@ -1914,7 +1914,7 @@ var xt = { funda: { render: bt } }, Q = /* @__PURE__ */ p({
1914
1914
  }),
1915
1915
  emits: ["update:modelValue"],
1916
1916
  setup(e) {
1917
- let t = R(e, "modelValue"), n = i(() => ({
1917
+ let t = L(e, "modelValue"), n = i(() => ({
1918
1918
  ...tr,
1919
1919
  ...e.messages
1920
1920
  })), r = {
@@ -2003,7 +2003,7 @@ var xt = { funda: { render: bt } }, Q = /* @__PURE__ */ p({
2003
2003
  }),
2004
2004
  emits: ["update:modelValue", "update:enabled"],
2005
2005
  setup(e) {
2006
- let t = R(e, "modelValue"), n = R(e, "enabled"), r = i(() => ({
2006
+ let t = L(e, "modelValue"), n = L(e, "enabled"), r = i(() => ({
2007
2007
  ...or,
2008
2008
  ...e.messages
2009
2009
  })), o = ar.length - 1, s = i(() => Math.max(0, ar.findIndex(({ token: e }) => `max-w-${e}` === t.value))), l = i({
@@ -2103,7 +2103,7 @@ var xt = { funda: { render: bt } }, Q = /* @__PURE__ */ p({
2103
2103
  }),
2104
2104
  emits: /*@__PURE__*/ _(["pointerup", "reset"], ["update:modelValue"]),
2105
2105
  setup(e, { emit: t }) {
2106
- let n = t, r = R(e, "modelValue"), o = i(() => ({
2106
+ let n = t, r = L(e, "modelValue"), o = i(() => ({
2107
2107
  ...mr,
2108
2108
  ...e.messages
2109
2109
  })), s = z("root"), l = dr.length - 1, u = (e) => dr.findIndex((t) => t.token === e), d = i(() => {
@@ -2259,7 +2259,7 @@ var xt = { funda: { render: bt } }, Q = /* @__PURE__ */ p({
2259
2259
  }),
2260
2260
  emits: /*@__PURE__*/ _(["pointerup"], ["update:modelValue"]),
2261
2261
  setup(e, { emit: t }) {
2262
- let n = t, r = R(e, "modelValue"), o = i(() => ({
2262
+ let n = t, r = L(e, "modelValue"), o = i(() => ({
2263
2263
  ...Sr,
2264
2264
  ...e.messages
2265
2265
  })), s = vr.length - 1, l = (e) => vr.findIndex((t) => t.token === e), u = (e) => dr.find((t) => t.token === e), d = i(() => u(e.fontSize) ?? u(br)), p = i(() => Math.max(0, l(r.value)));
@@ -2353,7 +2353,7 @@ var xt = { funda: { render: bt } }, Q = /* @__PURE__ */ p({
2353
2353
  }),
2354
2354
  emits: /*@__PURE__*/ _(["pointerup"], ["update:modelValue"]),
2355
2355
  setup(e, { emit: t }) {
2356
- let n = t, r = R(e, "modelValue"), o = i(() => ({
2356
+ let n = t, r = L(e, "modelValue"), o = i(() => ({
2357
2357
  ...kr,
2358
2358
  ...e.messages
2359
2359
  })), s = Er.length - 1, l = (e) => Er.findIndex((t) => t.token === e), u = (e) => dr.find((t) => t.token === e), d = i(() => (u(e.fontSize) ?? u(Dr)).px), p = i(() => {
@@ -2705,7 +2705,7 @@ var xt = { funda: { render: bt } }, Q = /* @__PURE__ */ p({
2705
2705
  }),
2706
2706
  emits: ["update:modelValue"],
2707
2707
  setup(t) {
2708
- let n = R(t, "modelValue"), r = i(() => ({
2708
+ let n = L(t, "modelValue"), r = i(() => ({
2709
2709
  ...ei,
2710
2710
  ...t.messages
2711
2711
  })), o = O(ri(n.value));
@@ -2851,105 +2851,105 @@ var xt = { funda: { render: bt } }, Q = /* @__PURE__ */ p({
2851
2851
  }),
2852
2852
  emits: /*@__PURE__*/ _(["commit"], ["update:modelValue"]),
2853
2853
  setup(t, { expose: n, emit: r }) {
2854
- let a = r, o = R(t, "modelValue"), l = i(() => ({
2854
+ let a = r, o = L(t, "modelValue"), l = i(() => ({
2855
2855
  ...hi,
2856
2856
  ...t.messages
2857
- })), u = O(o.value?.unit ?? t.units[0]);
2858
- H(() => o.value?.unit, (e) => {
2859
- e && (u.value = e);
2857
+ })), u = O(o.value?.unit ?? t.units[0]), d = !1;
2858
+ H(() => o.value, (e) => {
2859
+ e ? u.value = e.unit : d || (u.value = t.units[0]), d = !1;
2860
2860
  });
2861
- let d = (e) => l.value[gi[e]], p = (e) => ({
2861
+ let p = (e) => l.value[gi[e]], m = (e) => ({
2862
2862
  min: t.min?.[e] ?? mi[e].min,
2863
2863
  max: t.max?.[e] ?? mi[e].max
2864
- }), m = i(() => p(u.value)), h = (e, t) => {
2865
- let n = p(t);
2864
+ }), h = i(() => m(u.value)), g = (e, t) => {
2865
+ let n = m(t);
2866
2866
  return Math.min(Math.max(Math.round(e), n.min), n.max);
2867
- }, g = () => o.value === null ? "" : String(o.value.value), _ = z("input"), v = () => _.value?.validity.badInput === !0, b = () => {
2868
- x.value = g(), _.value && (_.value.value = x.value);
2869
- }, x = O(g()), S = O();
2867
+ }, _ = () => o.value === null ? "" : String(o.value.value), v = z("input"), b = () => v.value?.validity.badInput === !0, x = () => {
2868
+ S.value = _(), v.value && (v.value.value = S.value);
2869
+ }, S = O(_()), C = O();
2870
2870
  H(() => o.value?.value ?? null, () => {
2871
- x.value = g();
2871
+ S.value = _();
2872
2872
  });
2873
- let C = !1, w = (e) => {
2873
+ let w = !1, T = (e) => {
2874
2874
  let t = o.value;
2875
- return !(e === null ? t === null : e.value === t?.value && e.unit === t.unit) && (o.value = e, !0);
2876
- }, T = () => {
2877
- C = !1, a("commit");
2875
+ return !(e === null ? t === null : e.value === t?.value && e.unit === t.unit) && (d = e === null, o.value = e, !0);
2878
2876
  }, D = () => {
2879
- _.value?.focus(), _.value?.select();
2877
+ w = !1, a("commit");
2878
+ }, A = () => {
2879
+ v.value?.focus(), v.value?.select();
2880
2880
  };
2881
2881
  n({ focus: (e) => {
2882
- _.value?.focus(e), _.value?.select();
2882
+ v.value?.focus(e), v.value?.select();
2883
2883
  } });
2884
- let A = (e) => {
2885
- e.pointerType === "mouse" && (e.target.closest("select") || document.activeElement !== _.value && (e.preventDefault(), D()));
2886
- }, j = async () => {
2887
- let e = x.value.trim(), n = v(), r = !1;
2888
- n || (e === "" ? t.optional && (r = w(null)) : _i.test(e) && (r = w({
2889
- value: h(Number(e), u.value),
2884
+ let j = (e) => {
2885
+ e.pointerType === "mouse" && (e.target.closest("select") || document.activeElement !== v.value && (e.preventDefault(), A()));
2886
+ }, N = async () => {
2887
+ let e = S.value.trim(), n = b(), r = !1;
2888
+ n || (e === "" ? t.optional && (r = T(null)) : _i.test(e) && (r = T({
2889
+ value: g(Number(e), u.value),
2890
2890
  unit: u.value
2891
- }))), (r || C) && T(), await y(), b(), !(!_i.test(e) || o.value === null || Number(e) === o.value.value) && (S.value = void 0, await y(), S.value = o.value.value > Number(e) ? "up" : "down");
2892
- }, N = async (e, t) => {
2893
- let n = o.value, r = n === null ? p(u.value).min : h(n.value + e * t, n.unit);
2894
- w({
2891
+ }))), (r || w) && D(), await y(), x(), !(!_i.test(e) || o.value === null || Number(e) === o.value.value) && (C.value = void 0, await y(), C.value = o.value.value > Number(e) ? "up" : "down");
2892
+ }, P = async (e, t) => {
2893
+ let n = o.value, r = n === null ? m(u.value).min : g(n.value + e * t, n.unit);
2894
+ T({
2895
2895
  value: r,
2896
2896
  unit: n?.unit ?? u.value
2897
- }) && (C = !0), await y(), x.value = g();
2898
- }, P = async (e) => {
2899
- if (e.key === "Enter") return e.preventDefault(), await j(), D();
2900
- if (e.key === "Escape") return x.value === g() && !v() ? void 0 : (e.stopPropagation(), b(), D());
2901
- if (e.key === "ArrowUp" || e.key === "ArrowDown") return e.preventDefault(), N(e.key === "ArrowUp" ? 1 : -1, e.shiftKey ? 10 : 1);
2902
- }, F = (e) => {
2903
- (e.key === "ArrowUp" || e.key === "ArrowDown") && C && T();
2904
- }, I = O(!1), L = !1, ee = () => {
2905
- I.value = !0, L = !0, setTimeout(() => L = !1);
2906
- }, B = () => {
2907
- I.value = L;
2908
- }, V = (e) => {
2897
+ }) && (w = !0), await y(), S.value = _();
2898
+ }, F = async (e) => {
2899
+ if (e.key === "Enter") return e.preventDefault(), await N(), A();
2900
+ if (e.key === "Escape") return S.value === _() && !b() ? void 0 : (e.stopPropagation(), x(), A());
2901
+ if (e.key === "ArrowUp" || e.key === "ArrowDown") return e.preventDefault(), P(e.key === "ArrowUp" ? 1 : -1, e.shiftKey ? 10 : 1);
2902
+ }, ee = (e) => {
2903
+ (e.key === "ArrowUp" || e.key === "ArrowDown") && w && D();
2904
+ }, I = O(!1), R = !1, B = () => {
2905
+ I.value = !0, R = !0, setTimeout(() => R = !1);
2906
+ }, V = () => {
2907
+ I.value = R;
2908
+ }, te = (e) => {
2909
2909
  let t = e.target.value;
2910
- u.value = t, o.value !== null && w({
2911
- value: h(o.value.value, t),
2910
+ u.value = t, o.value !== null && T({
2911
+ value: g(o.value.value, t),
2912
2912
  unit: t
2913
- }) && T();
2913
+ }) && D();
2914
2914
  };
2915
2915
  return (n, r) => (E(), s("div", {
2916
2916
  class: "flex cursor-text items-center gap-1 overflow-hidden rounded-lg px-3 whitespace-nowrap ring ring-gray-200 transition-colors duration-150 ease-out focus-within:ring-cornflower-blue-500 hover:not-focus-within:ring-gray-300 motion-reduce:transition-none",
2917
- onPointerdown: A
2917
+ onPointerdown: j
2918
2918
  }, [c("input", {
2919
2919
  ref: "input",
2920
2920
  type: "number",
2921
2921
  inputmode: "numeric",
2922
2922
  step: "1",
2923
- min: m.value.min,
2924
- max: m.value.max,
2923
+ min: h.value.min,
2924
+ max: h.value.max,
2925
2925
  autocomplete: "off",
2926
2926
  placeholder: t.optional ? l.value.placeholder : void 0,
2927
- "aria-label": `${t.label} (${d(u.value)})`,
2928
- value: x.value,
2929
- "data-snap": S.value,
2927
+ "aria-label": `${t.label} (${p(u.value)})`,
2928
+ value: S.value,
2929
+ "data-snap": C.value,
2930
2930
  class: "h-10 min-w-0 flex-1 [appearance:textfield] bg-transparent small-normal text-gray-900 tabular-nums placeholder-gray-700 focus:outline-none [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none",
2931
- onInput: r[0] ||= (e) => x.value = e.target.value,
2932
- onFocus: D,
2933
- onBlur: j,
2934
- onKeydown: P,
2935
- onKeyup: F,
2936
- onAnimationend: r[1] ||= (e) => S.value = void 0
2931
+ onInput: r[0] ||= (e) => S.value = e.target.value,
2932
+ onFocus: A,
2933
+ onBlur: N,
2934
+ onKeydown: F,
2935
+ onKeyup: ee,
2936
+ onAnimationend: r[1] ||= (e) => C.value = void 0
2937
2937
  }, null, 40, ci), t.units.length > 1 ? (E(), s("span", li, [c("select", {
2938
2938
  value: u.value,
2939
2939
  "aria-label": l.value.unit,
2940
2940
  "data-pointer": I.value || void 0,
2941
2941
  class: "cursor-pointer appearance-none rounded-sm bg-transparent pr-4 pl-1 small-normal text-gray-700 hover:text-gray-900 focus:outline-none focus-visible:not-data-pointer:bg-gray-100 focus-visible:not-data-pointer:text-gray-900",
2942
- onPointerdown: ee,
2943
- onFocus: B,
2942
+ onPointerdown: B,
2943
+ onFocus: V,
2944
2944
  onKeydown: r[2] ||= (e) => I.value = !1,
2945
2945
  onBlur: r[3] ||= (e) => I.value = !1,
2946
- onChange: V
2946
+ onChange: te
2947
2947
  }, [(E(!0), s(e, null, k(t.units, (e) => (E(), s("option", {
2948
2948
  key: e,
2949
2949
  value: e
2950
- }, M(d(e)), 9, di))), 128))], 40, ui), c("span", fi, [f(Q, { name: "chevron-down" })])])) : (E(), s("span", pi, M(d(u.value)), 1))], 32));
2950
+ }, M(p(e)), 9, di))), 128))], 40, ui), c("span", fi, [f(Q, { name: "chevron-down" })])])) : (E(), s("span", pi, M(p(u.value)), 1))], 32));
2951
2951
  }
2952
- }), [["__scopeId", "data-v-17eb933b"]]), yi = ["inert"], bi = { class: "px-1 pt-2 pb-1" }, xi = [
2952
+ }), [["__scopeId", "data-v-15feed8b"]]), yi = ["inert"], bi = { class: "px-1 pt-2 pb-1" }, xi = [
2953
2953
  { token: "auto" },
2954
2954
  { token: "fill" },
2955
2955
  { token: "fixed" }
@@ -2976,7 +2976,7 @@ var xt = { funda: { render: bt } }, Q = /* @__PURE__ */ p({
2976
2976
  }),
2977
2977
  emits: /*@__PURE__*/ _(["commit"], ["update:modelValue"]),
2978
2978
  setup(e, { emit: t }) {
2979
- let n = t, r = R(e, "modelValue"), o = i(() => ({
2979
+ let n = t, r = L(e, "modelValue"), o = i(() => ({
2980
2980
  ...Si,
2981
2981
  ...e.messages
2982
2982
  })), s = z("field"), l = (t) => e.messages?.[`${t}AriaLabel`] ?? `${e.label} ${o.value[t].toLocaleLowerCase()}`, u = i(() => xi.filter(({ token: t }) => !e.modes || e.modes.includes(t)).map(({ token: e }) => ({
@@ -3661,7 +3661,7 @@ var xt = { funda: { render: bt } }, Q = /* @__PURE__ */ p({
3661
3661
  }),
3662
3662
  emits: /*@__PURE__*/ _(["select"], ["update:modelValue"]),
3663
3663
  setup(e, { emit: t }) {
3664
- 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");
3664
+ 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");
3665
3665
  H(r, (t) => {
3666
3666
  t && (u.value = Z(new Date(t), e.timezone));
3667
3667
  });
@@ -3830,7 +3830,7 @@ var xt = { funda: { render: bt } }, Q = /* @__PURE__ */ p({
3830
3830
  }),
3831
3831
  emits: ["update:modelValue"],
3832
3832
  setup(e) {
3833
- let t = R(e, "modelValue"), n = z("inputRef");
3833
+ let t = L(e, "modelValue"), n = z("inputRef");
3834
3834
  return U(() => {
3835
3835
  n.value && (n.value.indeterminate = e.indeterminate ?? !1);
3836
3836
  }), (r, i) => (E(), s("label", { class: b(["inline-flex cursor-pointer", e.disabled ? "cursor-not-allowed opacity-50" : ""]) }, [G(c("input", v(r.$attrs, {
@@ -3994,7 +3994,7 @@ var xt = { funda: { render: bt } }, Q = /* @__PURE__ */ p({
3994
3994
  })), u = i(() => {
3995
3995
  let e = { ...a };
3996
3996
  return delete e.class, delete e.style, e;
3997
- }), p = R(e, "modelValue"), h = z("inputEl");
3997
+ }), p = L(e, "modelValue"), h = z("inputEl");
3998
3998
  t({
3999
3999
  focus: () => h.value?.focus(),
4000
4000
  inputEl: h
@@ -4155,7 +4155,7 @@ var xt = { funda: { render: bt } }, Q = /* @__PURE__ */ p({
4155
4155
  }),
4156
4156
  emits: /*@__PURE__*/ _(["select"], ["update:modelValue"]),
4157
4157
  setup(t, { expose: l, emit: u }) {
4158
- let p = t, { icon: m = "tag", placeholder: h = "Zoeken...", floating: g = !0 } = p, _ = u, v = R(t, "modelValue"), y = z("inputFieldRef"), b = z("wrapperRef"), x = O(""), S = O(!1), C = i(() => !p.singleSelect && p.showChips), D = (e) => {
4158
+ let p = t, { icon: m = "tag", placeholder: h = "Zoeken...", floating: g = !0 } = p, _ = u, v = L(t, "modelValue"), y = z("inputFieldRef"), b = z("wrapperRef"), x = O(""), S = O(!1), C = i(() => !p.singleSelect && p.showChips), D = (e) => {
4159
4159
  b.value && !b.value.contains(e.target) && (S.value = !1);
4160
4160
  }, A = (e) => {
4161
4161
  e.key === "Escape" && (S.value = !1);
@@ -4165,17 +4165,17 @@ var xt = { funda: { render: bt } }, Q = /* @__PURE__ */ p({
4165
4165
  }), T(() => {
4166
4166
  document.removeEventListener("mousedown", D), document.removeEventListener("keydown", A);
4167
4167
  });
4168
- let j = (e) => typeof e == "string" ? e : e.label, N = (e) => typeof e == "string" ? e : e.value, F = (e) => typeof e == "object" && "options" in e, I = L(), ee = i(() => {
4168
+ let j = (e) => typeof e == "string" ? e : e.label, N = (e) => typeof e == "string" ? e : e.value, F = (e) => typeof e == "object" && "options" in e, ee = I(), R = i(() => {
4169
4169
  let e = p.options, t = e.filter(F);
4170
4170
  return t.length === 0 ? [{
4171
- id: I,
4171
+ id: ee,
4172
4172
  options: e.filter((e) => !F(e))
4173
4173
  }] : t.map((e, t) => ({
4174
- id: `${I}-group-${t}`,
4174
+ id: `${ee}-group-${t}`,
4175
4175
  label: e.label,
4176
4176
  options: e.options
4177
4177
  }));
4178
- }), B = i(() => ee.value.flatMap((e) => e.options)), V = i(() => v.value.map((e) => {
4178
+ }), B = i(() => R.value.flatMap((e) => e.options)), V = i(() => v.value.map((e) => {
4179
4179
  let t = B.value.find((t) => N(t) === e);
4180
4180
  return {
4181
4181
  value: e,
@@ -4184,7 +4184,7 @@ var xt = { funda: { render: bt } }, Q = /* @__PURE__ */ p({
4184
4184
  };
4185
4185
  })), te = i(() => {
4186
4186
  let e = x.value.toLowerCase();
4187
- return ee.value.map((t) => ({
4187
+ return R.value.map((t) => ({
4188
4188
  ...t,
4189
4189
  options: t.options.filter((e) => p.singleSelect || !v.value.includes(N(e))).filter((t) => j(t).toLowerCase().includes(e))
4190
4190
  })).filter((e) => e.options.length > 0);
@@ -4413,7 +4413,7 @@ var xt = { funda: { render: bt } }, Q = /* @__PURE__ */ p({
4413
4413
  }),
4414
4414
  emits: ["update:modelValue"],
4415
4415
  setup(e) {
4416
- 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 () => {
4416
+ 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 () => {
4417
4417
  await y(), h.value?.focus();
4418
4418
  };
4419
4419
  return (e, r) => (E(), a(ln, {
@@ -5282,7 +5282,7 @@ var co = /* @__PURE__ */ p({
5282
5282
  }),
5283
5283
  emits: ["update:modelValue"],
5284
5284
  setup(t) {
5285
- let r = "country-select-" + Math.random().toString(36).slice(2, 10), l = t, u = R(t, "modelValue"), p = O(""), m = O(null), h = i(() => Xa.find((e) => e.name === u.value) ?? null), g = i(() => {
5285
+ let r = "country-select-" + Math.random().toString(36).slice(2, 10), l = t, u = L(t, "modelValue"), p = O(""), m = O(null), h = i(() => Xa.find((e) => e.name === u.value) ?? null), g = i(() => {
5286
5286
  let e = l.pinnedCountries.map((e) => Xa.find((t) => t.code === e)).filter((e) => e !== void 0), t = new Set(l.pinnedCountries), n = Xa.filter((e) => !t.has(e.code)).sort((e, t) => e.name.localeCompare(t.name, "nl"));
5287
5287
  return [...e, ...n];
5288
5288
  }), _ = i(() => {
@@ -5462,7 +5462,7 @@ var co = /* @__PURE__ */ p({
5462
5462
  }),
5463
5463
  emits: ["update:modelValue"],
5464
5464
  setup(e) {
5465
- let t = R(e, "modelValue"), n = e, r = /* @__PURE__ */ new Set([
5465
+ let t = L(e, "modelValue"), n = e, r = /* @__PURE__ */ new Set([
5466
5466
  "placeholder",
5467
5467
  "anchor",
5468
5468
  "autoClose"
@@ -5721,7 +5721,7 @@ var co = /* @__PURE__ */ p({
5721
5721
  }),
5722
5722
  emits: ["update:modelValue", "update:enabled"],
5723
5723
  setup(t) {
5724
- let n = R(t, "modelValue"), r = R(t, "enabled"), o = i(() => ({
5724
+ let n = L(t, "modelValue"), r = L(t, "enabled"), o = i(() => ({
5725
5725
  ...Po,
5726
5726
  ...t.messages
5727
5727
  })), u = (e) => e.startsWith("#"), d = i(() => {
@@ -5807,7 +5807,7 @@ var co = /* @__PURE__ */ p({
5807
5807
  }),
5808
5808
  emits: /*@__PURE__*/ _(["commit"], ["update:modelValue"]),
5809
5809
  setup(e, { emit: t }) {
5810
- let n = t, r = R(e, "modelValue");
5810
+ let n = t, r = L(e, "modelValue");
5811
5811
  return (t, i) => (E(), s("label", zo, [c("span", Bo, M(e.label), 1), f(vi, {
5812
5812
  modelValue: r.value,
5813
5813
  "onUpdate:modelValue": i[0] ||= (e) => r.value = e,
@@ -5888,7 +5888,7 @@ var co = /* @__PURE__ */ p({
5888
5888
  }),
5889
5889
  emits: ["update:open"],
5890
5890
  setup(e) {
5891
- let t = R(e, "open"), r = L(), a = se(), l = i(() => a.value === "reduce"), u = {
5891
+ let t = L(e, "open"), r = I(), a = se(), l = i(() => a.value === "reduce"), u = {
5892
5892
  base: "flex h-7 items-center gap-1.5 rounded-lg px-2 extra-small-semibold tracking-wide text-gray-700 uppercase select-none",
5893
5893
  collapsible: "cursor-pointer hover:bg-gray-50",
5894
5894
  static: "cursor-default"
@@ -6083,9 +6083,9 @@ var co = /* @__PURE__ */ p({
6083
6083
  "clear"
6084
6084
  ], ["update:highlighted"]),
6085
6085
  setup(t, { expose: r, emit: u }) {
6086
- let p = t, m = R(t, "highlighted"), h = u, g = ee(), _ = `${L()}-listbox`, x = (e) => `${_}-opt-${encodeURIComponent(e)}`, S = z("listbox"), w = se(), T = i(() => w.value === "reduce"), D = (e) => e.normalize("NFD").replace(/\p{M}/gu, "").toLocaleLowerCase(), j = i(() => p.search.trim()), N = i(() => D(j.value)), P = i(() => N.value !== ""), F = (e) => !P.value || D(e.label).includes(N.value) || !!e.keywords?.some((e) => D(e).includes(N.value)), I = i(() => p.items.filter(F)), B = i(() => new Set(p.groups.map((e) => e.id))), V = i(() => I.value.filter((e) => !e.group || !B.value.has(e.group))), te = O({}), U = (e) => te.value[e.id] ?? e.defaultOpen ?? !0, G = i(() => p.collapsible && !P.value), K = i(() => p.groups.map((e) => ({
6086
+ let p = t, m = L(t, "highlighted"), h = u, g = R(), _ = `${I()}-listbox`, x = (e) => `${_}-opt-${encodeURIComponent(e)}`, S = z("listbox"), w = se(), T = i(() => w.value === "reduce"), D = (e) => e.normalize("NFD").replace(/\p{M}/gu, "").toLocaleLowerCase(), j = i(() => p.search.trim()), N = i(() => D(j.value)), P = i(() => N.value !== ""), F = (e) => !P.value || D(e.label).includes(N.value) || !!e.keywords?.some((e) => D(e).includes(N.value)), ee = i(() => p.items.filter(F)), B = i(() => new Set(p.groups.map((e) => e.id))), V = i(() => ee.value.filter((e) => !e.group || !B.value.has(e.group))), te = O({}), U = (e) => te.value[e.id] ?? e.defaultOpen ?? !0, G = i(() => p.collapsible && !P.value), K = i(() => p.groups.map((e) => ({
6087
6087
  group: e,
6088
- items: I.value.filter((t) => t.group === e.id),
6088
+ items: ee.value.filter((t) => t.group === e.id),
6089
6089
  open: !G.value || U(e)
6090
6090
  })).filter((e) => e.items.length > 0)), q = i(() => [...V.value, ...K.value.flatMap((e) => e.open ? e.items : [])]), ne = i(() => V.value.length > 0 || K.value.length > 0), re = i(() => P.value && q.value.length === 0 && !p.busy), ie = (e) => e === null ? null : q.value.find((t) => t.id === e) ?? null, ae = i(() => (q.value.find((e) => !e.disabled) ?? q.value[0])?.id ?? null), J = i(() => ie(m.value) ? m.value : ae.value), oe = i(() => J.value === null ? void 0 : x(J.value)), ce = "other", Y = (e, t) => {
6091
6091
  t !== "fold" && (X = null), e !== J.value && (ce = t, m.value = e);
@@ -6394,7 +6394,7 @@ var co = /* @__PURE__ */ p({
6394
6394
  "close"
6395
6395
  ], ["update:highlighted", "update:search"]),
6396
6396
  setup(e, { expose: t, emit: n }) {
6397
- let r = e, a = R(e, "highlighted"), u = R(e, "search"), d = n, p = z("inputField"), m = z("list"), g = z("row"), _ = (e) => typeof e == "number" ? `${e}px` : e, v = i(() => {
6397
+ 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(() => {
6398
6398
  let e = `min(${_(r.height)}, calc(100dvh - 5rem))`;
6399
6399
  return {
6400
6400
  width: _(r.width),
@@ -6651,10 +6651,10 @@ var co = /* @__PURE__ */ p({
6651
6651
  "retry"
6652
6652
  ], ["update:modelValue"]),
6653
6653
  setup(t, { emit: n }) {
6654
- let r = R(t, "modelValue"), u = n, p = i(() => ({
6654
+ let r = L(t, "modelValue"), u = n, p = i(() => ({
6655
6655
  ...Rs,
6656
6656
  ...t.messages
6657
- })), m = L(), h = `${m}-trigger`, g = `${m}-label`, _ = `${m}-value`, v = z("root"), y = z("trigger"), x = z("floating"), C = z("panelRoot"), w = O(null), T = O(""), D = i(() => r.value || null), A = i(() => D.value ? Bs(D.value) : t.inherit ? zs : null), j = i(() => {
6657
+ })), m = I(), h = `${m}-trigger`, g = `${m}-label`, _ = `${m}-value`, v = z("root"), y = z("trigger"), x = z("floating"), C = z("panelRoot"), w = O(null), T = O(""), D = i(() => r.value || null), A = i(() => D.value ? Bs(D.value) : t.inherit ? zs : null), j = i(() => {
6658
6658
  if (D.value) return {
6659
6659
  primary: D.value,
6660
6660
  family: D.value,
@@ -6673,7 +6673,7 @@ var co = /* @__PURE__ */ p({
6673
6673
  primary: t.placeholder,
6674
6674
  placeholder: !0
6675
6675
  };
6676
- }), N = i(() => [j.value.primary, j.value.detail].filter(Boolean).join(Ks)), F = i(() => t.label ? `${g} ${_}` : void 0), I = i(() => !t.label && t.ariaLabel ? `${t.ariaLabel}, ${N.value}` : void 0), ee = i(() => {
6676
+ }), N = i(() => [j.value.primary, j.value.detail].filter(Boolean).join(Ks)), F = i(() => t.label ? `${g} ${_}` : void 0), ee = i(() => !t.label && t.ariaLabel ? `${t.ariaLabel}, ${N.value}` : void 0), R = i(() => {
6677
6677
  let e = /* @__PURE__ */ new Set();
6678
6678
  return t.fonts.filter(({ family: t }) => !e.has(t) && (e.add(t), !0));
6679
6679
  }), B = (e, t) => [e === A.value ? p.value.current : void 0, t].filter(Boolean).join(". ") || void 0, V = i(() => {
@@ -6693,7 +6693,7 @@ var co = /* @__PURE__ */ p({
6693
6693
  });
6694
6694
  }
6695
6695
  let n = D.value;
6696
- if (n && !ee.value.some(({ family: e }) => e === n)) {
6696
+ if (n && !R.value.some(({ family: e }) => e === n)) {
6697
6697
  let t = Bs(n);
6698
6698
  e.push({
6699
6699
  item: {
@@ -6705,7 +6705,7 @@ var co = /* @__PURE__ */ p({
6705
6705
  value: n
6706
6706
  });
6707
6707
  }
6708
- for (let { family: t, source: n } of ee.value) {
6708
+ for (let { family: t, source: n } of R.value) {
6709
6709
  let r = Bs(t);
6710
6710
  e.push({
6711
6711
  item: {
@@ -6725,7 +6725,7 @@ var co = /* @__PURE__ */ p({
6725
6725
  }, {
6726
6726
  id: Hs,
6727
6727
  label: p.value.groupGoogle
6728
- }]), q = i(() => t.catalogueStatus === "loading"), ne = i(() => t.catalogueStatus === "error"), ie = i(() => q.value && !ee.value.some(({ source: e }) => e === "google"));
6728
+ }]), q = i(() => t.catalogueStatus === "loading"), ne = i(() => t.catalogueStatus === "error"), ie = i(() => q.value && !R.value.some(({ source: e }) => e === "google"));
6729
6729
  process.env.NODE_ENV !== "production" && U(() => {
6730
6730
  !t.label && !t.ariaLabel && console.warn("[NexxtFontPicker] Pass `label` or `ariaLabel`: the trigger has no name.");
6731
6731
  });
@@ -6792,7 +6792,7 @@ var co = /* @__PURE__ */ p({
6792
6792
  type: "button",
6793
6793
  "aria-haspopup": "listbox",
6794
6794
  "aria-expanded": e,
6795
- "aria-label": I.value,
6795
+ "aria-label": ee.value,
6796
6796
  "aria-labelledby": F.value,
6797
6797
  disabled: t.disabled,
6798
6798
  class: b(he.value),
@@ -7023,7 +7023,7 @@ var co = /* @__PURE__ */ p({
7023
7023
  })), h = i(() => {
7024
7024
  let e = { ...p };
7025
7025
  return delete e.class, delete e.style, e;
7026
- }), 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(() => {
7026
+ }), 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(() => {
7027
7027
  if (C.value === null || C.value === void 0) return null;
7028
7028
  let e = g.options.find((e) => y(e) === C.value);
7029
7029
  return e ? _(e) : null;
@@ -7137,7 +7137,7 @@ var co = /* @__PURE__ */ p({
7137
7137
  }),
7138
7138
  emits: ["update:modelValue"],
7139
7139
  setup(e) {
7140
- let t = R(e, "modelValue"), r = i(() => e.description?.trim() || void 0), l = async (n) => {
7140
+ let t = L(e, "modelValue"), r = i(() => e.description?.trim() || void 0), l = async (n) => {
7141
7141
  if (n) {
7142
7142
  t.value = !0;
7143
7143
  return;
@@ -7482,7 +7482,7 @@ var Vc = { render: Bc }, Hc = /* @__PURE__ */ p({
7482
7482
  }),
7483
7483
  emits: ["update:page"],
7484
7484
  setup(t) {
7485
- let n = R(t, "page");
7485
+ let n = L(t, "page");
7486
7486
  return (r, i) => (E(), a(P(Ae), {
7487
7487
  total: t.total,
7488
7488
  "items-per-page": t.itemsPerPage,
@@ -7579,7 +7579,7 @@ var Vc = { render: Bc }, Hc = /* @__PURE__ */ p({
7579
7579
  }),
7580
7580
  emits: ["update:modelValue"],
7581
7581
  setup(t) {
7582
- let n = R(t, "modelValue"), r = i(() => t.messages?.insert ?? "Placeholder invoegen"), l = i(() => t.placeholders.length > 1), u = z("field"), p = (e, t) => {
7582
+ let n = L(t, "modelValue"), r = i(() => t.messages?.insert ?? "Placeholder invoegen"), l = i(() => t.placeholders.length > 1), u = z("field"), p = (e, t) => {
7583
7583
  let r = u.value?.inputEl ?? null, i = `{{${e}}}`, a = r?.selectionStart ?? n.value.length, o = r?.selectionEnd ?? a;
7584
7584
  n.value = n.value.slice(0, a) + i + n.value.slice(o), t(), y(() => {
7585
7585
  r?.focus(), r?.setSelectionRange(a + i.length, a + i.length);
@@ -7878,7 +7878,7 @@ var Vc = { render: Bc }, Hc = /* @__PURE__ */ p({
7878
7878
  }, n = i(() => ({
7879
7879
  ...t,
7880
7880
  ...e.messages
7881
- })), r = R(e, "modelValue"), a = (e) => {
7881
+ })), r = L(e, "modelValue"), a = (e) => {
7882
7882
  let t = String(e ?? "").trim();
7883
7883
  return t ? t.startsWith("-") ? t : `-${t}` : "";
7884
7884
  }, 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(() => {
@@ -8460,7 +8460,7 @@ var Nu = { render: Mu }, Pu = { class: "flex items-center justify-end self-stret
8460
8460
  }),
8461
8461
  emits: ["update:modelValue"],
8462
8462
  setup(t) {
8463
- let n = t, r = R(t, "modelValue"), l = z("containerRef"), u = O([]), f = O({
8463
+ let n = t, r = L(t, "modelValue"), l = z("containerRef"), u = O([]), f = O({
8464
8464
  width: "0px",
8465
8465
  transform: "translateX(0px)"
8466
8466
  }), 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 () => {
@@ -8542,7 +8542,7 @@ var Nu = { render: Mu }, Pu = { class: "flex items-center justify-end self-stret
8542
8542
  }),
8543
8543
  emits: ["update:modelValue"],
8544
8544
  setup(e) {
8545
- let t = e, r = R(e, "modelValue"), a = O("forward"), o = i(() => t.tabs.map((e) => typeof e == "string" ? e : e.label));
8545
+ let t = e, r = L(e, "modelValue"), a = O("forward"), o = i(() => t.tabs.map((e) => typeof e == "string" ? e : e.label));
8546
8546
  H(o, (e) => {
8547
8547
  !r.value && e.length > 0 && (r.value = e[0]);
8548
8548
  }, { immediate: !0 }), H(r, (e, t) => {
@@ -8637,7 +8637,7 @@ var Nu = { render: Mu }, Pu = { class: "flex items-center justify-end self-stret
8637
8637
  "select",
8638
8638
  "textarea",
8639
8639
  "label"
8640
- ], u = t, p = r, m = R(t, "modelValue"), h = R(t, "sortKey"), g = R(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 = () => {
8640
+ ], 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 = () => {
8641
8641
  u.selectionMode !== "single" && (m.value = v.value ? [] : [...u.rows]);
8642
8642
  }, w = (e) => {
8643
8643
  if (u.selectionMode === "single") {
@@ -8653,7 +8653,7 @@ var Nu = { render: Mu }, Pu = { class: "flex items-center justify-end self-stret
8653
8653
  if (!u.selectable || !x(u.rows[e])) return "";
8654
8654
  let t = e > 0 && x(u.rows[e - 1]), n = e < u.rows.length - 1 && x(u.rows[e + 1]);
8655
8655
  return !t && !n ? "rounded-md" : t ? n ? "" : "rounded-b-md" : "rounded-t-md";
8656
- }, P = (e, t) => e[t], F = (e) => `cell-${e}`, I = (e, t) => {
8656
+ }, P = (e, t) => e[t], F = (e) => `cell-${e}`, ee = (e, t) => {
8657
8657
  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());
8658
8658
  };
8659
8659
  return (r, i) => (E(), s("div", od, [c("div", {
@@ -8703,7 +8703,7 @@ var Nu = { render: Mu }, Pu = { class: "flex items-center justify-end self-stret
8703
8703
  "aria-selected": t.selectable ? x(n) : void 0,
8704
8704
  tabindex: "0",
8705
8705
  onClick: (e) => j(e, i),
8706
- onKeydown: (e) => I(e, i)
8706
+ onKeydown: (e) => ee(e, i)
8707
8707
  }, [t.selectable ? (E(), s("div", md, [f(ga, {
8708
8708
  "model-value": x(n),
8709
8709
  "aria-label": `Select row ${i + 1}`,
@@ -8897,7 +8897,7 @@ var Nu = { render: Mu }, Pu = { class: "flex items-center justify-end self-stret
8897
8897
  }),
8898
8898
  emits: ["update:modelValue"],
8899
8899
  setup(e, { expose: t }) {
8900
- let n = "textarea-" + Math.random().toString(36).slice(2, 10), r = R(e, "modelValue"), a = F(), l = i(() => ({
8900
+ let n = "textarea-" + Math.random().toString(36).slice(2, 10), r = L(e, "modelValue"), a = F(), l = i(() => ({
8901
8901
  class: a.class,
8902
8902
  style: a.style
8903
8903
  })), u = i(() => {
@@ -9174,7 +9174,7 @@ var Nu = { render: Mu }, Pu = { class: "flex items-center justify-end self-stret
9174
9174
  },
9175
9175
  emits: ["dismiss"],
9176
9176
  setup(e, { emit: t }) {
9177
- I((e) => ({ fa0d20de: uf }));
9177
+ ee((e) => ({ fa0d20de: uf }));
9178
9178
  let n = {
9179
9179
  info: {
9180
9180
  icon: "info",
@@ -9354,7 +9354,7 @@ var Nu = { render: Mu }, Pu = { class: "flex items-center justify-end self-stret
9354
9354
  }, yf = ["aria-label"], bf = {
9355
9355
  key: 0,
9356
9356
  "aria-hidden": "true",
9357
- class: "mb-0.5",
9357
+ class: "mb-1.5",
9358
9358
  "data-tree-ghost": ""
9359
9359
  }, xf = {
9360
9360
  "data-tree-ghost-content": "",
@@ -9377,7 +9377,7 @@ var Nu = { render: Mu }, Pu = { class: "flex items-center justify-end self-stret
9377
9377
  ], wf = ["onClick"], Tf = {
9378
9378
  key: 1,
9379
9379
  class: "size-5 shrink-0"
9380
- }, Ef = ["id"], Df = 22, Of = "bg-cornflower-blue-50 outline-1 -outline-offset-1 outline-cornflower-blue-600 outline-dashed", kf = "transform 200ms var(--ease-in-out-strong), opacity 80ms linear 120ms", Af = "opacity 80ms linear 120ms", jf = /* @__PURE__ */ p({
9380
+ }, Ef = ["id"], Df = ["inert"], Of = 8, kf = "bg-cornflower-blue-50 outline-1 -outline-offset-1 outline-cornflower-blue-600 outline-dashed", Af = "transform 200ms var(--ease-in-out-strong), opacity 80ms linear 120ms", jf = "opacity 80ms linear 120ms", Mf = /* @__PURE__ */ p({
9381
9381
  name: "NexxtTree",
9382
9382
  __name: "Tree",
9383
9383
  props: /*@__PURE__*/ _({
@@ -9393,7 +9393,7 @@ var Nu = { render: Mu }, Pu = { class: "flex items-center justify-end self-stret
9393
9393
  }),
9394
9394
  emits: /*@__PURE__*/ _(["move"], ["update:selected", "update:collapsed"]),
9395
9395
  setup(t, { expose: n, emit: l }) {
9396
- let u = t, d = ee(), p = l, m = R(t, "selected"), h = R(t, "collapsed"), g = z("root"), _ = O(null), v = i(() => {
9396
+ let u = t, d = R(), p = l, m = L(t, "selected"), h = L(t, "collapsed"), g = z("root"), _ = O(null), v = i(() => {
9397
9397
  let e = [], t = (n, r, i) => {
9398
9398
  n.forEach((a, o) => {
9399
9399
  let s = !!a.children?.length, c = a.canHaveChildren ?? !!a.children, l = s && !h.value.includes(a.id);
@@ -9413,7 +9413,7 @@ var Nu = { render: Mu }, Pu = { class: "flex items-center justify-end self-stret
9413
9413
  return t(u.nodes, 0, null), e;
9414
9414
  }), 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) => {
9415
9415
  _f(D.value, e) || (D.value = e);
9416
- }, F = (e) => e.classList.contains("absolute"), I = () => {
9416
+ }, F = (e) => e.classList.contains("absolute"), ee = () => {
9417
9417
  let e = g.value?.querySelector("[data-tree-id]")?.parentElement, t = Array.from(e?.children ?? []).filter((e) => e instanceof HTMLElement && !F(e)), n = [], r = null;
9418
9418
  return t.forEach((e, i) => {
9419
9419
  let a = e.offsetTop, o = t[i + 1], s = parseFloat(getComputedStyle(e).marginBottom) || 0, c = o ? o.offsetTop : a + e.offsetHeight + s;
@@ -9444,7 +9444,7 @@ var Nu = { render: Mu }, Pu = { class: "flex items-center justify-end self-stret
9444
9444
  P(null);
9445
9445
  return;
9446
9446
  }
9447
- let r = mf(I(), t - g.value.getBoundingClientRect().top);
9447
+ let r = mf(ee(), t - g.value.getBoundingClientRect().top);
9448
9448
  if (r.kind === "keep") return;
9449
9449
  let i = v.value.find((e) => e.node.id === r.id), a = i ? hf(i, r.ratio, n.node) : null;
9450
9450
  P(a && !gf(a, n) && te(n, a) ? a : null);
@@ -9492,7 +9492,7 @@ var Nu = { render: Mu }, Pu = { class: "flex items-center justify-end self-stret
9492
9492
  n ? "text-cornflower-blue-600" : "text-gray-800",
9493
9493
  !n && !T.value && "hover:bg-gray-100",
9494
9494
  re.value.has(t) && "opacity-40",
9495
- G.value === t && Of
9495
+ G.value === t && kf
9496
9496
  ];
9497
9497
  }, ae = null, J = (e) => {
9498
9498
  g.value?.contains(e.target) || P(null);
@@ -9621,12 +9621,12 @@ var Nu = { render: Mu }, Pu = { class: "flex items-center justify-end self-stret
9621
9621
  if (window.matchMedia("(prefers-reduced-motion: reduce)").matches) return;
9622
9622
  let n = Ne(t);
9623
9623
  if (n) {
9624
- n.style.transition = "none", n.style.opacity = "0", n.getBoundingClientRect(), n.style.transition = Af, n.style.opacity = "";
9624
+ n.style.transition = "none", n.style.opacity = "0", n.getBoundingClientRect(), n.style.transition = jf, n.style.opacity = "";
9625
9625
  return;
9626
9626
  }
9627
9627
  Me.add(t.dataset.treeId);
9628
9628
  let r = Oe(v.value.find((e) => e.node.id === t.dataset.treeId)?.parentId), i = r ? t.offsetTop - (r.offsetTop + r.offsetHeight) : 0;
9629
- t.style.transition = "none", t.style.transform = `translateY(${-i}px)`, t.style.opacity = "0", t.style.pointerEvents = "none", t.getBoundingClientRect(), t.style.transition = kf, t.style.transform = "", t.style.opacity = "";
9629
+ t.style.transition = "none", t.style.transform = `translateY(${-i}px)`, t.style.opacity = "0", t.style.pointerEvents = "none", t.getBoundingClientRect(), t.style.transition = Af, t.style.transform = "", t.style.opacity = "";
9630
9630
  }, Fe = null, Ie = (e) => {
9631
9631
  let t = e, n = Ne(t);
9632
9632
  if (n) {
@@ -9637,7 +9637,7 @@ var Nu = { render: Mu }, Pu = { class: "flex items-center justify-end self-stret
9637
9637
  }, Le = i(() => {
9638
9638
  let e = v.value.map((e) => e.node.id);
9639
9639
  return _.value && e.includes(_.value) ? _.value : m.value && e.includes(m.value) ? m.value : e[0] ?? null;
9640
- }), Re = (e) => e === Le.value ? 0 : -1, ze = L(), Be = (e) => `${ze}-label-${encodeURIComponent(e)}`, Ve = (e) => d["node-actions"]?.(e), He = (e) => {
9640
+ }), Re = (e) => e === Le.value ? 0 : -1, ze = I(), Be = (e) => `${ze}-label-${encodeURIComponent(e)}`, Ve = (e) => d["node-actions"]?.(e), He = (e) => {
9641
9641
  h.value = h.value.includes(e) ? h.value.filter((t) => t !== e) : [...h.value, e];
9642
9642
  }, Ue = (e) => {
9643
9643
  He(e), g.value?.contains(document.activeElement) && We(e);
@@ -9728,7 +9728,7 @@ var Nu = { render: Mu }, Pu = { class: "flex items-center justify-end self-stret
9728
9728
  }, {
9729
9729
  default: W(() => [(E(!0), s(e, null, k(ne.value, (t) => (E(), s(e, { key: t.key }, [t.ghost ? (E(), s("div", bf, [c("div", {
9730
9730
  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",
9731
- style: S({ marginLeft: `${t.depth * Df}px` })
9731
+ style: S({ marginLeft: `${t.depth * Of}px` })
9732
9732
  }, [c("span", xf, [
9733
9733
  i[3] ||= c("span", { class: "size-5 shrink-0" }, null, -1),
9734
9734
  t.node.icon ? (E(), a(Q, {
@@ -9750,8 +9750,8 @@ var Nu = { render: Mu }, Pu = { class: "flex items-center justify-end self-stret
9750
9750
  "data-tree-id": t.row.node.id,
9751
9751
  "data-tree-drop": G.value === t.row.node.id ? "inside" : void 0,
9752
9752
  draggable: t.row.draggable,
9753
- 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", ie(t.row)]),
9754
- style: S({ paddingLeft: `${t.row.depth * Df + 4}px` }),
9753
+ class: b(["group mb-1.5 flex items-center gap-1.5 overflow-x-clip 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", ie(t.row)]),
9754
+ style: S({ paddingLeft: `${t.row.depth * Of + 4}px` }),
9755
9755
  onClick: (e) => Se(t.row.node.id),
9756
9756
  onFocus: (e) => _.value = t.row.node.id,
9757
9757
  onPointerdown: (e) => fe(e, t.row),
@@ -9777,42 +9777,47 @@ var Nu = { render: Mu }, Pu = { class: "flex items-center justify-end self-stret
9777
9777
  }, null, 8, ["name", "class"])) : o("", !0),
9778
9778
  c("span", {
9779
9779
  id: Be(t.row.node.id),
9780
- class: "truncate"
9780
+ "data-tree-label": "",
9781
+ class: "min-w-0 flex-1 truncate"
9781
9782
  }, M(t.row.node.label), 9, Ef),
9782
9783
  d["node-actions"] ? (E(), s("div", {
9783
9784
  key: 3,
9784
9785
  "data-tree-actions": "",
9785
- 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",
9786
+ class: b(["-my-0.5 -ml-1.5 grid shrink-0 transition-[grid-template-columns] duration-200 ease-in-out-strong [clip-path:inset(-0.5rem_-0.25rem)] motion-reduce:transition-none", m.value === t.row.node.id ? "grid-cols-[minmax(0,1fr)]" : "grid-cols-[minmax(0,0fr)]"]),
9787
+ inert: m.value !== t.row.node.id || void 0,
9786
9788
  onClick: i[1] ||= q(() => {}, ["stop"]),
9787
9789
  onKeydown: i[2] ||= q(() => {}, ["stop"])
9790
+ }, [c("div", {
9791
+ "data-tree-actions-content": "",
9792
+ class: b(["flex w-max items-center pl-1.5 transition-opacity duration-150 ease-out motion-reduce:transition-none", m.value === t.row.node.id ? "opacity-100" : "opacity-0"])
9788
9793
  }, [f(Ve, {
9789
9794
  node: t.row.node,
9790
9795
  tabindex: Re(t.row.node.id)
9791
- }, null, 8, ["node", "tabindex"])], 32)) : o("", !0)
9796
+ }, null, 8, ["node", "tabindex"])], 2)], 42, Df)) : o("", !0)
9792
9797
  ], 46, Cf))], 64))), 128))]),
9793
9798
  _: 1
9794
9799
  })], 40, yf));
9795
9800
  }
9796
- }), Mf = [
9801
+ }), Nf = [
9797
9802
  "src",
9798
9803
  "loop",
9799
9804
  "aria-label"
9800
- ], Nf = {
9805
+ ], Pf = {
9801
9806
  key: 0,
9802
9807
  role: "alert",
9803
9808
  class: "absolute inset-0 flex flex-col items-center justify-center gap-3 rounded-lg bg-gray-900 text-white"
9804
- }, Pf = { class: "heading-4" }, Ff = { class: "max-w-xs truncate extra-small-normal text-white/50" }, If = {
9809
+ }, Ff = { class: "heading-4" }, If = { class: "max-w-xs truncate extra-small-normal text-white/50" }, Lf = {
9805
9810
  key: 0,
9806
9811
  class: "pointer-events-none absolute inset-0 flex items-center justify-center"
9807
- }, Lf = {
9812
+ }, Rf = {
9808
9813
  class: "flex size-16 items-center justify-center rounded-full bg-black/50 text-white",
9809
9814
  "aria-hidden": "true"
9810
- }, Rf = [
9815
+ }, zf = [
9811
9816
  "aria-label",
9812
9817
  "aria-valuemax",
9813
9818
  "aria-valuenow",
9814
9819
  "aria-valuetext"
9815
- ], zf = { class: "flex items-center gap-2" }, Bf = ["aria-label"], Vf = { class: "extra-small-normal text-white/70 tabular-nums" }, Hf = ["aria-label"], Uf = ["aria-label"], Wf = /* @__PURE__ */ p({
9820
+ ], Bf = { class: "flex items-center gap-2" }, Vf = ["aria-label"], Hf = { class: "extra-small-normal text-white/70 tabular-nums" }, Uf = ["aria-label"], Wf = ["aria-label"], Gf = /* @__PURE__ */ p({
9816
9821
  __name: "VideoPlayer",
9817
9822
  props: {
9818
9823
  src: {},
@@ -9847,33 +9852,33 @@ var Nu = { render: Mu }, Pu = { class: "flex items-center justify-end self-stret
9847
9852
  return t > 0 ? `${t}:${String(n).padStart(2, "0")}:${String(r).padStart(2, "0")}` : `${n}:${String(r).padStart(2, "0")}`;
9848
9853
  }, F = () => {
9849
9854
  u.value = !u.value, k(u.value ? "play" : "pause");
9850
- }, I = () => {
9855
+ }, ee = () => {
9851
9856
  h.value = !h.value;
9852
- }, L = z("scrubberRef"), R = O(null), ee = !1, B = i(() => R.value === null ? m.value ? p.value / m.value * 100 : 0 : R.value * 100), V = i(() => R.value === null ? p.value : R.value * (m.value || 0));
9857
+ }, I = z("scrubberRef"), L = O(null), R = !1, B = i(() => L.value === null ? m.value ? p.value / m.value * 100 : 0 : L.value * 100), V = i(() => L.value === null ? p.value : L.value * (m.value || 0));
9853
9858
  H(g, (e) => {
9854
- !e && ee && (ee = !1, R.value = null);
9859
+ !e && R && (R = !1, L.value = null);
9855
9860
  });
9856
9861
  let te = (e) => {
9857
- if (!L.value) return 0;
9858
- let t = L.value.getBoundingClientRect(), n = "touches" in e ? e.touches[0]?.clientX ?? 0 : e.clientX;
9862
+ if (!I.value) return 0;
9863
+ let t = I.value.getBoundingClientRect(), n = "touches" in e ? e.touches[0]?.clientX ?? 0 : e.clientX;
9859
9864
  return Math.max(0, Math.min(1, (n - t.left) / t.width));
9860
9865
  }, U = (e) => {
9861
- R.value = te(e);
9866
+ L.value = te(e);
9862
9867
  }, G = (e) => {
9863
9868
  if (!m.value) return;
9864
9869
  let t = Math.max(0, Math.min(m.value, p.value + e));
9865
- ee = !0, p.value = t;
9870
+ R = !0, p.value = t;
9866
9871
  }, K = (e) => {
9867
9872
  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));
9868
9873
  }, ne = () => {
9869
- R.value !== null && m.value ? (ee = !0, p.value = R.value * m.value) : R.value = null;
9874
+ L.value !== null && m.value ? (R = !0, p.value = L.value * m.value) : L.value = null;
9870
9875
  };
9871
9876
  return ie(document, "mousemove", (e) => {
9872
- R.value !== null && (R.value = te(e));
9877
+ L.value !== null && (L.value = te(e));
9873
9878
  }), ie(document, "mouseup", () => {
9874
- R.value !== null && ne();
9879
+ L.value !== null && ne();
9875
9880
  }), ie(document, "touchend", () => {
9876
- R.value !== null && ne();
9881
+ L.value !== null && ne();
9877
9882
  }), w(() => {
9878
9883
  r.autoplay && (u.value = !0), r.muted && (h.value = !0);
9879
9884
  }), t({
@@ -9893,15 +9898,15 @@ var Nu = { render: Mu }, Pu = { class: "flex items-center justify-end self-stret
9893
9898
  "aria-label": a.value.video,
9894
9899
  onError: r[0] ||= (e) => C.value = !0,
9895
9900
  onClick: r[1] ||= (t) => e.showControls === !1 ? void 0 : F()
9896
- }, null, 42, Mf),
9897
- C.value ? (E(), s("div", Nf, [
9901
+ }, null, 42, Nf),
9902
+ C.value ? (E(), s("div", Pf, [
9898
9903
  f(Q, {
9899
9904
  name: "circle-exclamation",
9900
9905
  class: "text-3xl text-red-400",
9901
9906
  "aria-hidden": "true"
9902
9907
  }),
9903
- c("p", Pf, M(a.value.error), 1),
9904
- c("p", Ff, M(e.src), 1)
9908
+ c("p", Ff, M(a.value.error), 1),
9909
+ c("p", If, M(e.src), 1)
9905
9910
  ])) : o("", !0),
9906
9911
  f(n, {
9907
9912
  "enter-active-class": "transition-opacity duration-100 ease-out",
@@ -9909,7 +9914,7 @@ var Nu = { render: Mu }, Pu = { class: "flex items-center justify-end self-stret
9909
9914
  "enter-from-class": "opacity-0",
9910
9915
  "leave-to-class": "opacity-0"
9911
9916
  }, {
9912
- default: W(() => [e.showControls !== !1 && T.value && !C.value ? (E(), s("div", If, [c("div", Lf, [f(Q, {
9917
+ default: W(() => [e.showControls !== !1 && T.value && !C.value ? (E(), s("div", Lf, [c("div", Rf, [f(Q, {
9913
9918
  name: T.value,
9914
9919
  class: "text-2xl"
9915
9920
  }, null, 8, ["name"])])])) : o("", !0)]),
@@ -9921,7 +9926,7 @@ var Nu = { render: Mu }, Pu = { class: "flex items-center justify-end self-stret
9921
9926
  style: S({ transform: x.value ? "translateY(0)" : "translateY(100%)" })
9922
9927
  }, [c("div", {
9923
9928
  ref_key: "scrubberRef",
9924
- ref: L,
9929
+ ref: I,
9925
9930
  role: "slider",
9926
9931
  "aria-label": a.value.seek,
9927
9932
  "aria-valuemin": 0,
@@ -9934,10 +9939,10 @@ var Nu = { render: Mu }, Pu = { class: "flex items-center justify-end self-stret
9934
9939
  onTouchstart: q(U, ["prevent"]),
9935
9940
  onKeydown: K,
9936
9941
  onTouchmove: r[2] ||= q((e) => {
9937
- R.value !== null && (R.value = te(e));
9942
+ L.value !== null && (L.value = te(e));
9938
9943
  }, ["prevent"]),
9939
9944
  onTouchend: r[3] ||= () => {
9940
- R.value !== null && ne();
9945
+ L.value !== null && ne();
9941
9946
  }
9942
9947
  }, [
9943
9948
  c("div", {
@@ -9952,7 +9957,7 @@ var Nu = { render: Mu }, Pu = { class: "flex items-center justify-end self-stret
9952
9957
  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",
9953
9958
  style: S({ left: `${B.value}%` })
9954
9959
  }, null, 4)
9955
- ], 40, Rf), c("div", zf, [
9960
+ ], 40, zf), c("div", Bf, [
9956
9961
  c("button", {
9957
9962
  type: "button",
9958
9963
  "aria-label": P(u) ? a.value.pause : a.value.play,
@@ -9962,19 +9967,19 @@ var Nu = { render: Mu }, Pu = { class: "flex items-center justify-end self-stret
9962
9967
  name: P(u) ? "pause" : "play",
9963
9968
  class: "text-sm",
9964
9969
  "aria-hidden": "true"
9965
- }, null, 8, ["name"])], 8, Bf),
9966
- c("span", Vf, M(N(V.value)) + " / " + M(N(P(m))), 1),
9970
+ }, null, 8, ["name"])], 8, Vf),
9971
+ c("span", Hf, M(N(V.value)) + " / " + M(N(P(m))), 1),
9967
9972
  r[7] ||= c("div", { class: "flex-1" }, null, -1),
9968
9973
  c("button", {
9969
9974
  type: "button",
9970
9975
  "aria-label": P(h) ? a.value.unmute : a.value.mute,
9971
9976
  class: "flex size-8 cursor-pointer items-center justify-center rounded-full text-white transition hover:bg-white/10 hover:text-cornflower-blue-400",
9972
- onClick: I
9977
+ onClick: ee
9973
9978
  }, [f(Q, {
9974
9979
  name: P(h) ? "volume-xmark" : "volume-high",
9975
9980
  class: "text-sm",
9976
9981
  "aria-hidden": "true"
9977
- }, null, 8, ["name"])], 8, Hf),
9982
+ }, null, 8, ["name"])], 8, Uf),
9978
9983
  c("button", {
9979
9984
  type: "button",
9980
9985
  "aria-label": P(_) ? a.value.exitFullscreen : a.value.enterFullscreen,
@@ -9984,10 +9989,10 @@ var Nu = { render: Mu }, Pu = { class: "flex items-center justify-end self-stret
9984
9989
  name: P(_) ? "compress" : "expand",
9985
9990
  class: "text-sm",
9986
9991
  "aria-hidden": "true"
9987
- }, null, 8, ["name"])], 8, Uf)
9992
+ }, null, 8, ["name"])], 8, Wf)
9988
9993
  ])], 4)) : o("", !0)
9989
9994
  ], 32));
9990
9995
  }
9991
9996
  });
9992
9997
  //#endregion
9993
- export { zt as EDITOR_ALIGN_ITEMS_OPTIONS, Ht as EDITOR_BACKGROUND_SIZE_OPTIONS, An as EDITOR_BORDER_STEPS, mi as EDITOR_DIMENSION_LIMITS, Gt as EDITOR_FLEX_DIRECTION_OPTIONS, dr as EDITOR_FONT_SIZE_STEPS, en as EDITOR_GAP_STEPS, Un as EDITOR_HEADING_TYPE_OPTIONS, er as EDITOR_JUSTIFY_CONTENT_OPTIONS, Er as EDITOR_LETTER_SPACING_STEPS, vr as EDITOR_LINE_HEIGHT_STEPS, ar as EDITOR_MAX_WIDTH_STEPS, Zr as EDITOR_PADDING_STEPS, Jn as EDITOR_RADIUS_STEPS, xi as EDITOR_SIZE_OPTIONS, Zn as EDITOR_TEXT_ALIGN_OPTIONS, yr as EDITOR_TEXT_LINE_HEIGHT_RATIOS, gt as EVENT_CONFIG_MAP, wi as NexxtAnimatedNumber, Ei as NexxtAnnouncement, ji as NexxtAvatar, Ni as NexxtButton, da as NexxtCalendar, ma as NexxtCard, ga as NexxtCheckbox, _a as NexxtChip, En as NexxtColorPicker, Ua as NexxtCombobox, Ha as NexxtComboboxPanel, Ya as NexxtContactInfoCard, co as NexxtCountrySelect, po as NexxtCustomerJourneyTile, mo as NexxtDatePicker, So as NexxtDoughnutChart, Do as NexxtDropdownButton, Vt as NexxtEditorAlignItems, Wt as NexxtEditorBackgroundSize, Nn as NexxtEditorBorder, Ro as NexxtEditorColor, vi as NexxtEditorDimensionField, qt as NexxtEditorFlexDirection, hr as NexxtEditorFontSize, nn as NexxtEditorGap, Gn as NexxtEditorHeadingType, nr as NexxtEditorJustifyContent, jr as NexxtEditorLetterSpacing, Cr as NexxtEditorLineHeight, sr as NexxtEditorMaxWidth, si as NexxtEditorPadding, Xn as NexxtEditorRadius, $ as NexxtEditorSettingsBlock, Ci as NexxtEditorSize, Vo as NexxtEditorSizeLimit, $n as NexxtEditorTextAlign, Wo as NexxtEnergyLabel, ln as NexxtFloatingPanel, Ys as NexxtFontPicker, $s as NexxtHeader, Q as NexxtIcon, tc as NexxtInfoBlock, wa as NexxtInputField, lc as NexxtInputSelect, dc as NexxtLoader, hc as NexxtModal, _c as NexxtModalFooter, qc as NexxtPageCard, Qc as NexxtPageContainer, Hc as NexxtPageMockup, el as NexxtPageTypeTile, tl as NexxtPagination, $o as NexxtPickerGroup, ds as NexxtPickerItem, xs as NexxtPickerList, Ds as NexxtPickerPanel, ss as NexxtPickerPreview, ol as NexxtPlaceholderInput, ul as NexxtPresenceIndicator, Sl as NexxtProgressBar, Nl as NexxtPropertyCard, Ol as NexxtPropertyListing, Yl as NexxtReferenceCard, Hn as NexxtSelect, Ql as NexxtSelectableOption, iu as NexxtSidebarMenuItem, Ko as NexxtSkeleton, cu as NexxtSkeletonPropertyCard, Zt as NexxtSlider, du as NexxtSocialIcons, hu as NexxtSocialMediaCustomTemplate, wu as NexxtSocialMediaTemplate, Ru as NexxtSocialMediaType, Zu as NexxtSource, Oi as NexxtSquircle, Qu as NexxtStepperHeader, Ct as NexxtSwitch, ad as NexxtTabbedContent, vd as NexxtTable, td as NexxtTabs, Md as NexxtTemplateCard, Id as NexxtTextarea, Ud as NexxtTimelineEvent, Xd as NexxtTimelineLanes, tf as NexxtTimelinePhaseblock, rf as NexxtTimelineTrack, df as NexxtToast, ff as NexxtToaster, Rt as NexxtToggleGroup, At as NexxtTooltip, jf as NexxtTree, Wf as NexxtVideoPlayer, _t as PHASE_MAP, Ju as SOURCE_MAP };
9998
+ export { zt as EDITOR_ALIGN_ITEMS_OPTIONS, Ht as EDITOR_BACKGROUND_SIZE_OPTIONS, An as EDITOR_BORDER_STEPS, mi as EDITOR_DIMENSION_LIMITS, Gt as EDITOR_FLEX_DIRECTION_OPTIONS, dr as EDITOR_FONT_SIZE_STEPS, en as EDITOR_GAP_STEPS, Un as EDITOR_HEADING_TYPE_OPTIONS, er as EDITOR_JUSTIFY_CONTENT_OPTIONS, Er as EDITOR_LETTER_SPACING_STEPS, vr as EDITOR_LINE_HEIGHT_STEPS, ar as EDITOR_MAX_WIDTH_STEPS, Zr as EDITOR_PADDING_STEPS, Jn as EDITOR_RADIUS_STEPS, xi as EDITOR_SIZE_OPTIONS, Zn as EDITOR_TEXT_ALIGN_OPTIONS, yr as EDITOR_TEXT_LINE_HEIGHT_RATIOS, gt as EVENT_CONFIG_MAP, wi as NexxtAnimatedNumber, Ei as NexxtAnnouncement, ji as NexxtAvatar, Ni as NexxtButton, da as NexxtCalendar, ma as NexxtCard, ga as NexxtCheckbox, _a as NexxtChip, En as NexxtColorPicker, Ua as NexxtCombobox, Ha as NexxtComboboxPanel, Ya as NexxtContactInfoCard, co as NexxtCountrySelect, po as NexxtCustomerJourneyTile, mo as NexxtDatePicker, So as NexxtDoughnutChart, Do as NexxtDropdownButton, Vt as NexxtEditorAlignItems, Wt as NexxtEditorBackgroundSize, Nn as NexxtEditorBorder, Ro as NexxtEditorColor, vi as NexxtEditorDimensionField, qt as NexxtEditorFlexDirection, hr as NexxtEditorFontSize, nn as NexxtEditorGap, Gn as NexxtEditorHeadingType, nr as NexxtEditorJustifyContent, jr as NexxtEditorLetterSpacing, Cr as NexxtEditorLineHeight, sr as NexxtEditorMaxWidth, si as NexxtEditorPadding, Xn as NexxtEditorRadius, $ as NexxtEditorSettingsBlock, Ci as NexxtEditorSize, Vo as NexxtEditorSizeLimit, $n as NexxtEditorTextAlign, Wo as NexxtEnergyLabel, ln as NexxtFloatingPanel, Ys as NexxtFontPicker, $s as NexxtHeader, Q as NexxtIcon, tc as NexxtInfoBlock, wa as NexxtInputField, lc as NexxtInputSelect, dc as NexxtLoader, hc as NexxtModal, _c as NexxtModalFooter, qc as NexxtPageCard, Qc as NexxtPageContainer, Hc as NexxtPageMockup, el as NexxtPageTypeTile, tl as NexxtPagination, $o as NexxtPickerGroup, ds as NexxtPickerItem, xs as NexxtPickerList, Ds as NexxtPickerPanel, ss as NexxtPickerPreview, ol as NexxtPlaceholderInput, ul as NexxtPresenceIndicator, Sl as NexxtProgressBar, Nl as NexxtPropertyCard, Ol as NexxtPropertyListing, Yl as NexxtReferenceCard, Hn as NexxtSelect, Ql as NexxtSelectableOption, iu as NexxtSidebarMenuItem, Ko as NexxtSkeleton, cu as NexxtSkeletonPropertyCard, Zt as NexxtSlider, du as NexxtSocialIcons, hu as NexxtSocialMediaCustomTemplate, wu as NexxtSocialMediaTemplate, Ru as NexxtSocialMediaType, Zu as NexxtSource, Oi as NexxtSquircle, Qu as NexxtStepperHeader, Ct as NexxtSwitch, ad as NexxtTabbedContent, vd as NexxtTable, td as NexxtTabs, Md as NexxtTemplateCard, Id as NexxtTextarea, Ud as NexxtTimelineEvent, Xd as NexxtTimelineLanes, tf as NexxtTimelinePhaseblock, rf as NexxtTimelineTrack, df as NexxtToast, ff as NexxtToaster, Rt as NexxtToggleGroup, At as NexxtTooltip, Mf as NexxtTree, Gf as NexxtVideoPlayer, _t as PHASE_MAP, Ju as SOURCE_MAP };