@codemonster-ru/vueforge 0.82.0 → 0.83.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.ts.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as ne, ref as N, computed as f, watch as ce, resolveComponent as nt, openBlock as c, createElementBlock as b, normalizeClass as ee, renderSlot as Y, Fragment as fe, createTextVNode as me, toDisplayString as j, createBlock as ge, withCtx as Ce, createCommentVNode as Q, resolveDynamicComponent as Ye, normalizeStyle as ke, createElementVNode as B, renderList as be, unref as We, createVNode as Ge, nextTick as $e, inject as qe, provide as Qe, withKeys as pe, withModifiers as ie, onBeforeUnmount as we, withDirectives as ze, vShow as Se, onMounted as Ve, useSlots as Xe, Teleport as Le, reactive as Dt, createSlots as bt, useAttrs as Mt, mergeProps as st, Transition as Rt, normalizeProps as Pt, guardReactiveProps as Et } from "vue";
1
+ import { defineComponent as ne, ref as G, computed as f, watch as ve, resolveComponent as nt, openBlock as c, createElementBlock as b, normalizeClass as ee, renderSlot as Y, Fragment as fe, createTextVNode as me, toDisplayString as j, createBlock as be, withCtx as Ce, createCommentVNode as Q, resolveDynamicComponent as Ye, normalizeStyle as ke, createElementVNode as B, renderList as he, unref as We, createVNode as Ge, nextTick as $e, inject as qe, provide as Qe, withKeys as pe, withModifiers as ie, onBeforeUnmount as we, withDirectives as ze, vShow as Se, onMounted as Ve, useSlots as Xe, Teleport as Le, reactive as Dt, createSlots as bt, useAttrs as Mt, mergeProps as st, Transition as Rt, normalizeProps as Pt, guardReactiveProps as Et } from "vue";
2
2
  import { useRoute as Ot, useRouter as At } from "vue-router";
3
3
  import { CmIcon as Ne } from "@codemonster-ru/vueiconify";
4
4
  const Ht = ["href", "aria-disabled", "tabindex"], it = /* @__PURE__ */ ne({
@@ -15,7 +15,7 @@ const Ht = ["href", "aria-disabled", "tabindex"], it = /* @__PURE__ */ ne({
15
15
  },
16
16
  emits: ["click", "active", "update:active", "onActive"],
17
17
  setup(n, { emit: o }) {
18
- const a = o, e = n, t = Ot(), i = At(), s = N(null), d = f(() => e.href ?? e.url), r = f(() => e.as ? e.as === "router-link" && !e.to ? "a" : e.as : e.type === "router-link" || e.type === "a" ? e.type === "router-link" && !e.to ? "a" : e.type : e.to ? "router-link" : "a"), u = f(() => e.to), v = f(() => e.to ? i.resolve(e.to) : null), p = f(() => {
18
+ const a = o, e = n, t = Ot(), i = At(), s = G(null), d = f(() => e.href ?? e.url), r = f(() => e.as ? e.as === "router-link" && !e.to ? "a" : e.as : e.type === "router-link" || e.type === "a" ? e.type === "router-link" && !e.to ? "a" : e.type : e.to ? "router-link" : "a"), u = f(() => e.to), v = f(() => e.to ? i.resolve(e.to) : null), p = f(() => {
19
19
  if (r.value !== "router-link")
20
20
  return !1;
21
21
  const _ = v.value;
@@ -29,7 +29,7 @@ const Ht = ["href", "aria-disabled", "tabindex"], it = /* @__PURE__ */ ne({
29
29
  }, l = (_) => {
30
30
  e.disabled && (_.key === "Enter" || _.key === " ") && (_.preventDefault(), _.stopPropagation());
31
31
  };
32
- return ce(p, (_) => {
32
+ return ve(p, (_) => {
33
33
  _ && (a("active"), a("onActive")), a("update:active", _);
34
34
  }), (_, k) => {
35
35
  const y = nt("router-link");
@@ -45,7 +45,7 @@ const Ht = ["href", "aria-disabled", "tabindex"], it = /* @__PURE__ */ ne({
45
45
  _.$slots.default ? Y(_.$slots, "default", { key: 0 }) : (c(), b(fe, { key: 1 }, [
46
46
  me(j(_.label), 1)
47
47
  ], 64))
48
- ], 42, Ht)) : (c(), ge(y, {
48
+ ], 42, Ht)) : (c(), be(y, {
49
49
  key: 1,
50
50
  ref_key: "link",
51
51
  ref: s,
@@ -115,7 +115,7 @@ const Ut = /* @__PURE__ */ Wt(Kt, [["render", Xt]]), rc = /* @__PURE__ */ ne({
115
115
  const t = {};
116
116
  return o.maxWidth && (t["--vf-container-max-width-override"] = o.maxWidth), o.paddingX && (t["--vf-container-padding-x-override"] = o.paddingX), t;
117
117
  });
118
- return (t, i) => (c(), ge(Ye(t.as), {
118
+ return (t, i) => (c(), be(Ye(t.as), {
119
119
  class: ee(a.value),
120
120
  style: ke(e.value)
121
121
  }, {
@@ -139,7 +139,7 @@ const Ut = /* @__PURE__ */ Wt(Kt, [["render", Xt]]), rc = /* @__PURE__ */ ne({
139
139
  const t = {};
140
140
  return o.paddingY && (t["--vf-section-padding-y-override"] = o.paddingY), t;
141
141
  });
142
- return (t, i) => (c(), ge(Ye(t.as), {
142
+ return (t, i) => (c(), be(Ye(t.as), {
143
143
  class: ee(a.value),
144
144
  style: ke(e.value)
145
145
  }, {
@@ -184,7 +184,7 @@ const Ut = /* @__PURE__ */ Wt(Kt, [["render", Xt]]), rc = /* @__PURE__ */ ne({
184
184
  }
185
185
  return t;
186
186
  });
187
- return (t, i) => (c(), ge(Ye(t.as), {
187
+ return (t, i) => (c(), be(Ye(t.as), {
188
188
  class: "vf-grid",
189
189
  style: ke(e.value)
190
190
  }, {
@@ -221,7 +221,7 @@ const Ut = /* @__PURE__ */ Wt(Kt, [["render", Xt]]), rc = /* @__PURE__ */ ne({
221
221
  }
222
222
  return t;
223
223
  });
224
- return (t, i) => (c(), ge(Ye(t.as), {
224
+ return (t, i) => (c(), be(Ye(t.as), {
225
225
  class: "vf-grid-item",
226
226
  style: ke(e.value)
227
227
  }, {
@@ -250,7 +250,7 @@ const Ut = /* @__PURE__ */ Wt(Kt, [["render", Xt]]), rc = /* @__PURE__ */ ne({
250
250
  };
251
251
  return o.gap && (e["--vf-stack-gap-override"] = o.gap), e;
252
252
  });
253
- return (e, t) => (c(), ge(Ye(e.as), {
253
+ return (e, t) => (c(), be(Ye(e.as), {
254
254
  class: "vf-stack",
255
255
  style: ke(a.value)
256
256
  }, {
@@ -279,7 +279,7 @@ const Ut = /* @__PURE__ */ Wt(Kt, [["render", Xt]]), rc = /* @__PURE__ */ ne({
279
279
  };
280
280
  return o.gap && (e["--vf-inline-gap-override"] = o.gap), e;
281
281
  });
282
- return (e, t) => (c(), ge(Ye(e.as), {
282
+ return (e, t) => (c(), be(Ye(e.as), {
283
283
  class: "vf-inline",
284
284
  style: ke(a.value)
285
285
  }, {
@@ -302,7 +302,7 @@ const Ut = /* @__PURE__ */ Wt(Kt, [["render", Xt]]), rc = /* @__PURE__ */ ne({
302
302
  },
303
303
  emits: ["active", "onActive"],
304
304
  setup(n, { emit: o }) {
305
- const a = o, e = n, t = N([]), i = (y, z) => `${y.label ?? y.to ?? y.href ?? y.url ?? "item"}_${z.toString()}`, s = (y) => y.toLowerCase().replace(/[^a-z0-9_-]+/g, "-"), d = (y, z) => `vf-menu-parent-${s(i(y, z))}`, r = (y, z) => `vf-menu-submenu-${s(i(y, z))}`, u = (y) => y.to ? "router-link" : "a", v = (y) => y.map((z) => ({
305
+ const a = o, e = n, t = G([]), i = (y, z) => `${y.label ?? y.to ?? y.href ?? y.url ?? "item"}_${z.toString()}`, s = (y) => y.toLowerCase().replace(/[^a-z0-9_-]+/g, "-"), d = (y, z) => `vf-menu-parent-${s(i(y, z))}`, r = (y, z) => `vf-menu-submenu-${s(i(y, z))}`, u = (y) => y.to ? "router-link" : "a", v = (y) => y.map((z) => ({
306
306
  ...z,
307
307
  items: z.items ? v(z.items) : void 0
308
308
  })), p = (y) => {
@@ -333,7 +333,7 @@ const Ut = /* @__PURE__ */ Wt(Kt, [["render", Xt]]), rc = /* @__PURE__ */ ne({
333
333
  }
334
334
  a("active", y), a("onActive", y);
335
335
  };
336
- return ce(
336
+ return ve(
337
337
  () => e.items,
338
338
  (y) => {
339
339
  t.value = v(y);
@@ -349,7 +349,7 @@ const Ut = /* @__PURE__ */ Wt(Kt, [["render", Xt]]), rc = /* @__PURE__ */ ne({
349
349
  role: "menu",
350
350
  "aria-orientation": y.orientation === "horizontal" ? "horizontal" : "vertical"
351
351
  }, [
352
- (c(!0), b(fe, null, be(t.value, (g, w) => (c(), b("li", {
352
+ (c(!0), b(fe, null, he(t.value, (g, w) => (c(), b("li", {
353
353
  key: i(g, w),
354
354
  class: "vf-menu__item",
355
355
  role: "none"
@@ -370,7 +370,7 @@ const Ut = /* @__PURE__ */ Wt(Kt, [["render", Xt]]), rc = /* @__PURE__ */ ne({
370
370
  onClick: (L) => p(g),
371
371
  onKeydown: (L) => $(L, g, w)
372
372
  }, [
373
- g.icon ? (c(), ge(We(Ne), {
373
+ g.icon ? (c(), be(We(Ne), {
374
374
  key: 0,
375
375
  icon: g.icon,
376
376
  class: "vf-menu__icon"
@@ -381,14 +381,14 @@ const Ut = /* @__PURE__ */ Wt(Kt, [["render", Xt]]), rc = /* @__PURE__ */ ne({
381
381
  class: "vf-menu__chevron"
382
382
  })
383
383
  ], 42, Jt),
384
- g.items ? (c(), ge(C, {
384
+ g.items ? (c(), be(C, {
385
385
  key: 0,
386
386
  id: r(g, w),
387
387
  items: g.items,
388
388
  class: ee(["vf-menu__submenu", { "vf-menu__submenu_visible": g.subMenuVisible }]),
389
389
  onOnActive: k
390
390
  }, null, 8, ["id", "items", "class"])) : Q("", !0)
391
- ], 64)) : (c(), ge(it, {
391
+ ], 64)) : (c(), be(it, {
392
392
  key: 3,
393
393
  to: g.to,
394
394
  href: g.href ?? g.url,
@@ -403,7 +403,7 @@ const Ut = /* @__PURE__ */ Wt(Kt, [["render", Xt]]), rc = /* @__PURE__ */ ne({
403
403
  onActive: (L) => k(g)
404
404
  }, {
405
405
  default: Ce(() => [
406
- g.icon ? (c(), ge(We(Ne), {
406
+ g.icon ? (c(), be(We(Ne), {
407
407
  key: 0,
408
408
  icon: g.icon,
409
409
  class: "vf-menu__icon"
@@ -447,12 +447,12 @@ const Ut = /* @__PURE__ */ Wt(Kt, [["render", Xt]]), rc = /* @__PURE__ */ ne({
447
447
  class: ee(r.value),
448
448
  disabled: o.loading || u.value
449
449
  }, [
450
- o.icon && !o.loading ? (c(), ge(We(Ne), {
450
+ o.icon && !o.loading ? (c(), be(We(Ne), {
451
451
  key: 0,
452
452
  icon: o.icon,
453
453
  class: ee(v.value)
454
454
  }, null, 8, ["icon", "class"])) : Q("", !0),
455
- o.loading ? (c(), ge(We(Ne), {
455
+ o.loading ? (c(), be(We(Ne), {
456
456
  key: 1,
457
457
  icon: "circleNotch",
458
458
  class: ee(v.value),
@@ -467,7 +467,7 @@ const Ut = /* @__PURE__ */ Wt(Kt, [["render", Xt]]), rc = /* @__PURE__ */ ne({
467
467
  key: 3,
468
468
  class: ee(p.value)
469
469
  }, j(m.label), 3)) : Q("", !0)
470
- ], 10, ea)) : (c(), ge(it, {
470
+ ], 10, ea)) : (c(), be(it, {
471
471
  key: 1,
472
472
  to: o.to,
473
473
  href: o.href ?? o.url,
@@ -476,7 +476,7 @@ const Ut = /* @__PURE__ */ Wt(Kt, [["render", Xt]]), rc = /* @__PURE__ */ ne({
476
476
  disabled: o.loading || u.value
477
477
  }, {
478
478
  default: Ce(() => [
479
- o.icon ? (c(), ge(We(Ne), {
479
+ o.icon ? (c(), be(We(Ne), {
480
480
  key: 0,
481
481
  icon: o.icon,
482
482
  class: ee(v.value)
@@ -600,7 +600,7 @@ const Ut = /* @__PURE__ */ Wt(Kt, [["render", Xt]]), rc = /* @__PURE__ */ ne({
600
600
  as: { default: "span" }
601
601
  },
602
602
  setup(n) {
603
- return (o, a) => (c(), ge(Ye(o.as), { class: "vf-input-group__addon" }, {
603
+ return (o, a) => (c(), be(Ye(o.as), { class: "vf-input-group__addon" }, {
604
604
  default: Ce(() => [
605
605
  Y(o.$slots, "default")
606
606
  ]),
@@ -623,7 +623,7 @@ const Ut = /* @__PURE__ */ Wt(Kt, [["render", Xt]]), rc = /* @__PURE__ */ ne({
623
623
  },
624
624
  emits: ["update:modelValue", "save", "cancel", "start", "end", "focus", "blur"],
625
625
  setup(n, { emit: o }) {
626
- const a = o, e = n, t = N(!1), i = N(""), s = N(null), d = f(() => !e.disabled && !e.readonly), r = f(() => e.type === "number" ? "number" : "text"), u = f(() => e.modelValue === null || e.modelValue === void 0 || e.modelValue === "" ? e.placeholder : String(e.modelValue)), v = f(
626
+ const a = o, e = n, t = G(!1), i = G(""), s = G(null), d = f(() => !e.disabled && !e.readonly), r = f(() => e.type === "number" ? "number" : "text"), u = f(() => e.modelValue === null || e.modelValue === void 0 || e.modelValue === "" ? e.placeholder : String(e.modelValue)), v = f(
627
627
  () => e.modelValue === null || e.modelValue === void 0 || e.modelValue === ""
628
628
  ), p = f(() => {
629
629
  const g = ["vf-inline-edit", `vf-inline-edit_${e.variant}`];
@@ -725,13 +725,13 @@ const Ut = /* @__PURE__ */ Wt(Kt, [["render", Xt]]), rc = /* @__PURE__ */ ne({
725
725
  },
726
726
  emits: ["update:modelValue", "input", "change", "search", "clear", "focus", "blur"],
727
727
  setup(n, { emit: o }) {
728
- const a = o, e = n, t = N(null), i = N(`${e.modelValue ?? ""}`);
728
+ const a = o, e = n, t = G(null), i = G(`${e.modelValue ?? ""}`);
729
729
  let s = null;
730
730
  const d = f(() => {
731
731
  const k = ["vf-search-input", `vf-search-input_${e.variant}`];
732
732
  return e.size !== "normal" && k.push(`vf-search-input_${e.size}`), e.disabled && k.push("vf-search-input_disabled"), k;
733
733
  });
734
- ce(
734
+ ve(
735
735
  () => e.modelValue,
736
736
  (k) => {
737
737
  i.value = `${k ?? ""}`;
@@ -821,7 +821,7 @@ const Ut = /* @__PURE__ */ Wt(Kt, [["render", Xt]]), rc = /* @__PURE__ */ ne({
821
821
  emits: ["update:modelValue", "input", "change", "search", "insert", "select", "focus", "blur"],
822
822
  setup(n, { emit: o }) {
823
823
  let a = 0;
824
- const e = o, t = n, i = N(null), s = N(null), d = N(!1), r = N(-1), u = `vf-mention-input-panel-${++a}`, v = N(null), p = f(() => {
824
+ const e = o, t = n, i = G(null), s = G(null), d = G(!1), r = G(-1), u = `vf-mention-input-panel-${++a}`, v = G(null), p = f(() => {
825
825
  var F;
826
826
  return ((F = v.value) == null ? void 0 : F.trigger) ?? t.triggers[0] ?? "@";
827
827
  }), m = f(() => t.suggestions.map((F) => ({
@@ -940,12 +940,12 @@ const Ut = /* @__PURE__ */ Wt(Kt, [["render", Xt]]), rc = /* @__PURE__ */ ne({
940
940
  }
941
941
  A === "Escape" && (F.preventDefault(), k());
942
942
  };
943
- return ce(
943
+ return ve(
944
944
  () => t.modelValue,
945
945
  () => {
946
946
  s.value && g(s.value);
947
947
  }
948
- ), ce(l, () => {
948
+ ), ve(l, () => {
949
949
  if (!l.value.length) {
950
950
  k();
951
951
  return;
@@ -980,7 +980,7 @@ const Ut = /* @__PURE__ */ Wt(Kt, [["render", Xt]]), rc = /* @__PURE__ */ ne({
980
980
  class: "vf-mention-input__panel",
981
981
  role: "listbox"
982
982
  }, [
983
- F.loading ? (c(), b("div", ma, j(F.loadingText), 1)) : l.value.length ? (c(!0), b(fe, { key: 1 }, be(l.value, (Z, x) => (c(), b("button", {
983
+ F.loading ? (c(), b("div", ma, j(F.loadingText), 1)) : l.value.length ? (c(!0), b(fe, { key: 1 }, he(l.value, (Z, x) => (c(), b("button", {
984
984
  key: `${Z.trigger ?? ""}-${String(Z.value ?? Z.label)}-${x}`,
985
985
  class: ee(["vf-mention-input__option", { "is-highlighted": x === r.value }]),
986
986
  type: "button",
@@ -1035,7 +1035,7 @@ const Ut = /* @__PURE__ */ Wt(Kt, [["render", Xt]]), rc = /* @__PURE__ */ ne({
1035
1035
  },
1036
1036
  emits: ["update:modelValue", "input", "change", "focus", "blur", "toggleVisibility"],
1037
1037
  setup(n, { emit: o }) {
1038
- const a = o, e = n, t = N(!1), i = N(!1), s = f(() => {
1038
+ const a = o, e = n, t = G(!1), i = G(!1), s = f(() => {
1039
1039
  const y = ["vf-password-input", `vf-password-input_${e.variant}`];
1040
1040
  return e.size !== "normal" && y.push(`vf-password-input_${e.size}`), e.disabled && y.push("vf-password-input_disabled"), y;
1041
1041
  }), d = f(() => {
@@ -1122,7 +1122,7 @@ const Ut = /* @__PURE__ */ Wt(Kt, [["render", Xt]]), rc = /* @__PURE__ */ ne({
1122
1122
  },
1123
1123
  emits: ["update:modelValue", "change", "complete", "focus", "blur", "paste"],
1124
1124
  setup(n, { emit: o }) {
1125
- const a = o, e = n, t = N([]), i = f(() => Math.max(1, Math.floor(e.length))), s = f(() => e.alphanumeric ? /[0-9a-z]/i : /[0-9]/), d = (C) => {
1125
+ const a = o, e = n, t = G([]), i = f(() => Math.max(1, Math.floor(e.length))), s = f(() => e.alphanumeric ? /[0-9a-z]/i : /[0-9]/), d = (C) => {
1126
1126
  const g = `${C ?? ""}`;
1127
1127
  let w = "";
1128
1128
  for (const L of g)
@@ -1193,7 +1193,7 @@ const Ut = /* @__PURE__ */ Wt(Kt, [["render", Xt]]), rc = /* @__PURE__ */ ne({
1193
1193
  "aria-label": C.ariaLabel,
1194
1194
  onPaste: _
1195
1195
  }, [
1196
- (c(!0), b(fe, null, be(i.value, (w, L) => (c(), b("input", {
1196
+ (c(!0), b(fe, null, he(i.value, (w, L) => (c(), b("input", {
1197
1197
  key: L,
1198
1198
  ref_for: !0,
1199
1199
  ref: (R) => v(R, L),
@@ -1239,7 +1239,7 @@ const Ut = /* @__PURE__ */ Wt(Kt, [["render", Xt]]), rc = /* @__PURE__ */ ne({
1239
1239
  },
1240
1240
  emits: ["update:modelValue", "change", "open", "close"],
1241
1241
  setup(n, { emit: o }) {
1242
- const a = o, e = n, t = N(null), i = N(!1), s = N("#3b82f6"), d = N(100), r = (S, F, A) => Math.min(A, Math.max(F, S)), u = (S) => r(Math.round(S), 0, 255).toString(16).padStart(2, "0"), v = (S) => {
1242
+ const a = o, e = n, t = G(null), i = G(!1), s = G("#3b82f6"), d = G(100), r = (S, F, A) => Math.min(A, Math.max(F, S)), u = (S) => r(Math.round(S), 0, 255).toString(16).padStart(2, "0"), v = (S) => {
1243
1243
  const F = S.trim().replace(/^#/, "");
1244
1244
  if (![3, 4, 6, 8].includes(F.length))
1245
1245
  return null;
@@ -1302,7 +1302,7 @@ const Ut = /* @__PURE__ */ Wt(Kt, [["render", Xt]]), rc = /* @__PURE__ */ ne({
1302
1302
  const F = _(S);
1303
1303
  s.value = `#${u(F.r)}${u(F.g)}${u(F.b)}`, d.value = Math.round(r(F.a, 0, 1) * 100);
1304
1304
  };
1305
- ce(
1305
+ ve(
1306
1306
  () => e.modelValue,
1307
1307
  (S) => {
1308
1308
  y(S);
@@ -1403,7 +1403,7 @@ const Ut = /* @__PURE__ */ Wt(Kt, [["render", Xt]]), rc = /* @__PURE__ */ ne({
1403
1403
  }, null, 40, Oa)
1404
1404
  ]),
1405
1405
  S.presets.length ? (c(), b("div", Aa, [
1406
- (c(!0), b(fe, null, be(S.presets, (A, Z) => (c(), b("button", {
1406
+ (c(!0), b(fe, null, he(S.presets, (A, Z) => (c(), b("button", {
1407
1407
  key: `${A}-${Z}`,
1408
1408
  class: "vf-color-picker__preset",
1409
1409
  type: "button",
@@ -1631,14 +1631,14 @@ const Ut = /* @__PURE__ */ Wt(Kt, [["render", Xt]]), rc = /* @__PURE__ */ ne({
1631
1631
  },
1632
1632
  emits: ["update:modelValue", "change", "blur", "validate", "submit", "invalidSubmit", "reset"],
1633
1633
  setup(n, { emit: o }) {
1634
- const a = n, e = o, t = N(null), i = N(D(S(a.initialValues, a.modelValue))), s = N(D(i.value)), d = N({}), r = N({}), u = N(!1);
1635
- ce(
1634
+ const a = n, e = o, t = G(null), i = G(D(S(a.initialValues, a.modelValue))), s = G(D(i.value)), d = G({}), r = G({}), u = G(!1);
1635
+ ve(
1636
1636
  () => a.modelValue,
1637
1637
  (h) => {
1638
1638
  h !== void 0 && (M(h, s.value) || (s.value = D(h)));
1639
1639
  },
1640
1640
  { deep: !0 }
1641
- ), ce(
1641
+ ), ve(
1642
1642
  () => a.initialValues,
1643
1643
  (h) => {
1644
1644
  i.value = D(S(h, a.modelValue));
@@ -1949,7 +1949,7 @@ const Ut = /* @__PURE__ */ Wt(Kt, [["render", Xt]]), rc = /* @__PURE__ */ ne({
1949
1949
  },
1950
1950
  emits: ["update:modelValue", "input", "change", "focus", "blur", "action"],
1951
1951
  setup(n, { emit: o }) {
1952
- const a = n, e = o, t = N(null), i = f(() => {
1952
+ const a = n, e = o, t = G(null), i = f(() => {
1953
1953
  const g = ["vf-rich-text-editor", `vf-rich-text-editor_${a.variant}`];
1954
1954
  return a.size !== "normal" && g.push(`vf-rich-text-editor_${a.size}`), a.disabled && g.push("vf-rich-text-editor_disabled"), g;
1955
1955
  }), s = f(() => a.toolbar.filter(Boolean)), d = f(() => (a.modelValue ?? "").length), r = f(() => a.maxLength > 0), u = f(() => a.maxLength > 0 && d.value >= a.maxLength), v = (g) => {
@@ -2039,7 +2039,7 @@ ${w}
2039
2039
  role: "toolbar",
2040
2040
  "aria-label": g.toolbarLabel
2041
2041
  }, [
2042
- (c(!0), b(fe, null, be(s.value, (L) => (c(), b("button", {
2042
+ (c(!0), b(fe, null, he(s.value, (L) => (c(), b("button", {
2043
2043
  key: L,
2044
2044
  type: "button",
2045
2045
  class: "vf-rich-text-editor__toolbar-button",
@@ -2092,7 +2092,7 @@ ${w}
2092
2092
  },
2093
2093
  emits: ["update:modelValue", "change", "reject", "focus", "blur"],
2094
2094
  setup(n, { emit: o }) {
2095
- const a = o, e = n, t = N(null), i = N(null), s = N(!1), d = f(() => Array.isArray(e.modelValue) ? e.modelValue : e.modelValue instanceof File ? [e.modelValue] : []), r = f(() => {
2095
+ const a = o, e = n, t = G(null), i = G(null), s = G(!1), d = f(() => Array.isArray(e.modelValue) ? e.modelValue : e.modelValue instanceof File ? [e.modelValue] : []), r = f(() => {
2096
2096
  const L = [
2097
2097
  "vf-file-upload",
2098
2098
  `vf-file-upload_${e.variant}`,
@@ -2190,7 +2190,7 @@ ${w}
2190
2190
  }, [
2191
2191
  B("div", uo, [
2192
2192
  d.value.length === 0 ? (c(), b("span", co, j(L.placeholder), 1)) : (c(), b("div", vo, [
2193
- (c(!0), b(fe, null, be(d.value, (I, O) => (c(), b("div", {
2193
+ (c(!0), b(fe, null, he(d.value, (I, O) => (c(), b("div", {
2194
2194
  key: u(I, O),
2195
2195
  class: "vf-file-upload__item"
2196
2196
  }, [
@@ -2720,7 +2720,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
2720
2720
  emits: ["update:modelValue", "change", "focus", "blur"],
2721
2721
  setup(n, { emit: o }) {
2722
2722
  let a = 0;
2723
- const e = o, t = n, i = N(null), s = N(null), d = N(null), r = N(!1), u = N("bottom"), v = N("bottom"), p = `vf-select-panel-${++a}`;
2723
+ const e = o, t = n, i = G(null), s = G(null), d = G(null), r = G(!1), u = G("bottom"), v = G("bottom"), p = `vf-select-panel-${++a}`;
2724
2724
  let m = null;
2725
2725
  const $ = f(() => t.options.map((E) => ({
2726
2726
  label: E[t.optionLabel],
@@ -2775,13 +2775,13 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
2775
2775
  }
2776
2776
  }, m.update();
2777
2777
  };
2778
- return ce(r, async (E) => {
2778
+ return ve(r, async (E) => {
2779
2779
  if (!E) {
2780
2780
  m && (m.destroy(), m = null);
2781
2781
  return;
2782
2782
  }
2783
2783
  await $e(), m || O(), m == null || m.update();
2784
- }), ce(
2784
+ }), ve(
2785
2785
  () => t.options,
2786
2786
  () => {
2787
2787
  m == null || m.update();
@@ -2822,7 +2822,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
2822
2822
  "aria-hidden": "true"
2823
2823
  }, "▾", -1))
2824
2824
  ], 40, Po),
2825
- (c(), ge(Le, { to: "body" }, [
2825
+ (c(), be(Le, { to: "body" }, [
2826
2826
  ze(B("div", {
2827
2827
  id: p,
2828
2828
  ref_key: "panel",
@@ -2831,7 +2831,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
2831
2831
  role: "listbox",
2832
2832
  "data-placement": v.value
2833
2833
  }, [
2834
- (c(!0), b(fe, null, be($.value, (D) => (c(), b("button", {
2834
+ (c(!0), b(fe, null, he($.value, (D) => (c(), b("button", {
2835
2835
  key: D.value,
2836
2836
  class: ee(["vf-select__option", { "is-active": y(D), "is-disabled": D.disabled }]),
2837
2837
  type: "button",
@@ -2872,7 +2872,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
2872
2872
  emits: ["update:modelValue", "change", "focus", "blur", "search"],
2873
2873
  setup(n, { emit: o }) {
2874
2874
  let a = 0;
2875
- const e = o, t = n, i = N(null), s = N(null), d = N(null), r = N(!1), u = N(""), v = N(-1), p = N("bottom"), m = N("bottom"), $ = `vf-autocomplete-panel-${++a}`;
2875
+ const e = o, t = n, i = G(null), s = G(null), d = G(null), r = G(!1), u = G(""), v = G(-1), p = G("bottom"), m = G("bottom"), $ = `vf-autocomplete-panel-${++a}`;
2876
2876
  let l = null;
2877
2877
  const _ = f(() => t.options.map((h) => ({
2878
2878
  label: h[t.optionLabel],
@@ -2975,23 +2975,23 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
2975
2975
  }
2976
2976
  }, l.update();
2977
2977
  };
2978
- return ce(
2978
+ return ve(
2979
2979
  () => t.modelValue,
2980
2980
  () => {
2981
2981
  var h;
2982
2982
  u.value = ((h = k.value) == null ? void 0 : h.label) ?? "";
2983
2983
  },
2984
2984
  { immediate: !0 }
2985
- ), ce(
2985
+ ), ve(
2986
2986
  () => t.options,
2987
2987
  () => {
2988
2988
  var h;
2989
2989
  r.value || (u.value = ((h = k.value) == null ? void 0 : h.label) ?? ""), l == null || l.update();
2990
2990
  },
2991
2991
  { deep: !0 }
2992
- ), ce(y, () => {
2992
+ ), ve(y, () => {
2993
2993
  v.value >= y.value.length && (v.value = L());
2994
- }), ce(r, async (h) => {
2994
+ }), ve(r, async (h) => {
2995
2995
  if (!h) {
2996
2996
  l && (l.destroy(), l = null);
2997
2997
  return;
@@ -3042,7 +3042,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
3042
3042
  }, ["prevent"])),
3043
3043
  onClick: E
3044
3044
  }, " ▾ ", 40, Ho),
3045
- (c(), ge(Le, { to: "body" }, [
3045
+ (c(), be(Le, { to: "body" }, [
3046
3046
  ze(B("div", {
3047
3047
  id: $,
3048
3048
  ref_key: "panel",
@@ -3051,7 +3051,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
3051
3051
  role: "listbox",
3052
3052
  "data-placement": m.value
3053
3053
  }, [
3054
- h.loading ? (c(), b("div", Ko, j(h.loadingText), 1)) : y.value.length > 0 ? (c(!0), b(fe, { key: 1 }, be(y.value, (K, H) => (c(), b("button", {
3054
+ h.loading ? (c(), b("div", Ko, j(h.loadingText), 1)) : y.value.length > 0 ? (c(!0), b(fe, { key: 1 }, he(y.value, (K, H) => (c(), b("button", {
3055
3055
  id: g(H),
3056
3056
  key: K.value,
3057
3057
  class: ee(["vf-autocomplete__option", {
@@ -3103,7 +3103,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
3103
3103
  emits: ["update:modelValue", "update:inputValue", "change", "focus", "blur", "search", "create"],
3104
3104
  setup(n, { emit: o }) {
3105
3105
  let a = 0;
3106
- const e = o, t = n, i = N(null), s = N(null), d = N(null), r = N(!1), u = N(""), v = N(-1), p = N("bottom"), m = N("bottom"), $ = `vf-combobox-panel-${++a}`;
3106
+ const e = o, t = n, i = G(null), s = G(null), d = G(null), r = G(!1), u = G(""), v = G(-1), p = G("bottom"), m = G("bottom"), $ = `vf-combobox-panel-${++a}`;
3107
3107
  let l = null;
3108
3108
  const _ = f(() => t.options.map((U) => ({
3109
3109
  label: U[t.optionLabel],
@@ -3198,7 +3198,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
3198
3198
  return;
3199
3199
  const U = s.value, X = d.value, re = async () => {
3200
3200
  const {
3201
- x: G,
3201
+ x: N,
3202
3202
  y: oe,
3203
3203
  placement: le
3204
3204
  } = await Me(U, X, {
@@ -3206,7 +3206,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
3206
3206
  strategy: "fixed",
3207
3207
  middleware: [Ie(2), Te({ placements: ["bottom", "top"] })]
3208
3208
  });
3209
- m.value = le ?? p.value, X.style.minWidth = `${U.getBoundingClientRect().width}px`, X.style.left = `${G}px`, X.style.top = `${oe}px`;
3209
+ m.value = le ?? p.value, X.style.minWidth = `${U.getBoundingClientRect().width}px`, X.style.left = `${N}px`, X.style.top = `${oe}px`;
3210
3210
  }, de = async () => {
3211
3211
  await re();
3212
3212
  }, ye = De(U, () => {
@@ -3221,29 +3221,29 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
3221
3221
  }
3222
3222
  }, l.update();
3223
3223
  };
3224
- return ce(
3224
+ return ve(
3225
3225
  () => t.inputValue,
3226
3226
  (U) => {
3227
3227
  typeof U == "string" && (u.value = U);
3228
3228
  },
3229
3229
  { immediate: !0 }
3230
- ), ce(
3230
+ ), ve(
3231
3231
  () => t.modelValue,
3232
3232
  () => {
3233
3233
  var U;
3234
3234
  typeof t.inputValue != "string" && (u.value = ((U = k.value) == null ? void 0 : U.label) ?? "");
3235
3235
  },
3236
3236
  { immediate: !0 }
3237
- ), ce(
3237
+ ), ve(
3238
3238
  () => t.options,
3239
3239
  () => {
3240
3240
  var U;
3241
3241
  !r.value && t.strict && typeof t.inputValue != "string" && (u.value = ((U = k.value) == null ? void 0 : U.label) ?? ""), l == null || l.update();
3242
3242
  },
3243
3243
  { deep: !0 }
3244
- ), ce(z, () => {
3244
+ ), ve(z, () => {
3245
3245
  v.value >= z.value.length && (v.value = O());
3246
- }), ce(r, async (U) => {
3246
+ }), ve(r, async (U) => {
3247
3247
  if (!U) {
3248
3248
  l && (l.destroy(), l = null);
3249
3249
  return;
@@ -3303,7 +3303,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
3303
3303
  }, ["prevent"])),
3304
3304
  onClick: F
3305
3305
  }, " ▾ ", 40, Yo),
3306
- (c(), ge(Le, { to: "body" }, [
3306
+ (c(), be(Le, { to: "body" }, [
3307
3307
  ze(B("div", {
3308
3308
  id: $,
3309
3309
  ref_key: "panel",
@@ -3312,7 +3312,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
3312
3312
  role: "listbox",
3313
3313
  "data-placement": m.value
3314
3314
  }, [
3315
- U.loading ? (c(), b("div", Xo, j(U.loadingText), 1)) : z.value.length > 0 ? (c(!0), b(fe, { key: 1 }, be(z.value, (re, de) => (c(), b("button", {
3315
+ U.loading ? (c(), b("div", Xo, j(U.loadingText), 1)) : z.value.length > 0 ? (c(!0), b(fe, { key: 1 }, he(z.value, (re, de) => (c(), b("button", {
3316
3316
  id: R(de),
3317
3317
  key: re.value,
3318
3318
  class: ee(["vf-combobox__option", {
@@ -3369,7 +3369,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
3369
3369
  emits: ["update:modelValue", "change", "search", "focus", "blur"],
3370
3370
  setup(n, { emit: o }) {
3371
3371
  let a = 0;
3372
- const e = o, t = n, i = N(null), s = N(null), d = N(null), r = N(null), u = N(!1), v = N(""), p = N(-1), m = N("bottom"), $ = N("bottom"), l = `vf-multiselect-panel-${++a}`;
3372
+ const e = o, t = n, i = G(null), s = G(null), d = G(null), r = G(null), u = G(!1), v = G(""), p = G(-1), m = G("bottom"), $ = G("bottom"), l = `vf-multiselect-panel-${++a}`;
3373
3373
  let _ = null;
3374
3374
  const k = f(() => t.options.map((V) => ({
3375
3375
  label: V[t.optionLabel],
@@ -3476,19 +3476,19 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
3476
3476
  }
3477
3477
  }, _.update();
3478
3478
  };
3479
- return ce(
3479
+ return ve(
3480
3480
  () => t.options,
3481
3481
  () => {
3482
3482
  p.value >= z.value.length && (p.value = R()), _ == null || _.update();
3483
3483
  },
3484
3484
  { deep: !0 }
3485
- ), ce(u, async (V) => {
3485
+ ), ve(u, async (V) => {
3486
3486
  if (!V) {
3487
3487
  _ && (_.destroy(), _ = null);
3488
3488
  return;
3489
3489
  }
3490
3490
  await $e(), _ || H(), _ == null || _.update();
3491
- }), ce(z, () => {
3491
+ }), ve(z, () => {
3492
3492
  p.value >= z.value.length && (p.value = R());
3493
3493
  }), Ve(() => {
3494
3494
  document.addEventListener("click", K);
@@ -3533,7 +3533,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
3533
3533
  "aria-label": "Clear selection",
3534
3534
  onClick: ie(T, ["stop"])
3535
3535
  }, " ✕ ")) : Q("", !0),
3536
- (c(), ge(Le, { to: "body" }, [
3536
+ (c(), be(Le, { to: "body" }, [
3537
3537
  ze(B("div", {
3538
3538
  id: l,
3539
3539
  ref_key: "panel",
@@ -3560,7 +3560,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
3560
3560
  ]
3561
3561
  }, null, 40, tr)
3562
3562
  ])) : Q("", !0),
3563
- V.loading ? (c(), b("div", ar, j(V.loadingText), 1)) : z.value.length > 0 ? (c(!0), b(fe, { key: 2 }, be(z.value, (ae, se) => (c(), b("button", {
3563
+ V.loading ? (c(), b("div", ar, j(V.loadingText), 1)) : z.value.length > 0 ? (c(!0), b(fe, { key: 2 }, he(z.value, (ae, se) => (c(), b("button", {
3564
3564
  id: L(se),
3565
3565
  key: ae.value,
3566
3566
  class: ee(["vf-multiselect__option", {
@@ -3613,7 +3613,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
3613
3613
  emits: ["update:modelValue", "change", "focus", "blur", "search", "add", "remove", "reject"],
3614
3614
  setup(n, { emit: o }) {
3615
3615
  let a = 0;
3616
- const e = o, t = n, i = N(null), s = N(null), d = N(null), r = N(""), u = N(!1), v = N(-1), p = N("bottom"), m = N("bottom"), $ = `vf-tag-input-panel-${++a}`;
3616
+ const e = o, t = n, i = G(null), s = G(null), d = G(null), r = G(""), u = G(!1), v = G(-1), p = G("bottom"), m = G("bottom"), $ = `vf-tag-input-panel-${++a}`;
3617
3617
  let l = null;
3618
3618
  const _ = f(() => Array.isArray(t.modelValue) ? t.modelValue : []), k = f(() => t.options.map((te) => ({
3619
3619
  label: te[t.optionLabel],
@@ -3623,8 +3623,8 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
3623
3623
  const te = k.value.filter((oe) => !y.value.has(String(oe.value)));
3624
3624
  if (!t.filter)
3625
3625
  return te;
3626
- const G = r.value.trim().toLowerCase();
3627
- return G ? te.filter((oe) => oe.label.toLowerCase().includes(G)) : te;
3626
+ const N = r.value.trim().toLowerCase();
3627
+ return N ? te.filter((oe) => oe.label.toLowerCase().includes(N)) : te;
3628
3628
  }), C = f(() => new Map(k.value.map((te) => [String(te.value), te.label]))), g = f(() => {
3629
3629
  if (!(!u.value || v.value < 0))
3630
3630
  return L(v.value);
@@ -3633,11 +3633,11 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
3633
3633
  return t.size !== "normal" && te.push(`vf-tag-input_${t.size}`), t.disabled && te.push("vf-tag-input_disabled"), te.filter(Boolean);
3634
3634
  }), L = (te) => `${$}-option-${te}`, R = () => z.value.findIndex((te) => !te.disabled), I = (te) => C.value.get(String(te)) ?? String(te), O = (te) => {
3635
3635
  e("update:modelValue", te), e("change", te);
3636
- }, E = (te, G) => {
3637
- e("reject", { reason: te, value: G });
3638
- }, T = (te) => t.readonly ? (E("readonly", te), !1) : te ? y.value.has(te) ? (E("duplicate", te), !1) : typeof t.maxTags == "number" && _.value.length >= t.maxTags ? (E("maxTags", te), !1) : t.validateTag && !t.validateTag(te) ? (E("invalid", te), !1) : !0 : !1, D = (te, G) => {
3636
+ }, E = (te, N) => {
3637
+ e("reject", { reason: te, value: N });
3638
+ }, T = (te) => t.readonly ? (E("readonly", te), !1) : te ? y.value.has(te) ? (E("duplicate", te), !1) : typeof t.maxTags == "number" && _.value.length >= t.maxTags ? (E("maxTags", te), !1) : t.validateTag && !t.validateTag(te) ? (E("invalid", te), !1) : !0 : !1, D = (te, N) => {
3639
3639
  const oe = typeof te == "string" ? te.trim() : String(te);
3640
- return T(oe) ? (O([..._.value, te]), e("add", { value: te, source: G }), r.value = "", v.value = R(), !0) : !1;
3640
+ return T(oe) ? (O([..._.value, te]), e("add", { value: te, source: N }), r.value = "", v.value = R(), !0) : !1;
3641
3641
  }, M = (te) => {
3642
3642
  te.disabled || t.readonly || D(te.value, "option");
3643
3643
  }, S = () => {
@@ -3648,23 +3648,23 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
3648
3648
  }, F = (te) => {
3649
3649
  if (t.readonly)
3650
3650
  return;
3651
- const G = _.value[te];
3652
- if (G === void 0)
3651
+ const N = _.value[te];
3652
+ if (N === void 0)
3653
3653
  return;
3654
- const oe = _.value.filter((le, he) => he !== te);
3655
- O(oe), e("remove", G);
3654
+ const oe = _.value.filter((le, ge) => ge !== te);
3655
+ O(oe), e("remove", N);
3656
3656
  }, A = () => {
3657
3657
  t.readonly || _.value.length !== 0 && (O([]), e("remove", [..._.value]));
3658
3658
  }, Z = (te) => {
3659
- const G = z.value;
3660
- if (!G.length) {
3659
+ const N = z.value;
3660
+ if (!N.length) {
3661
3661
  v.value = -1;
3662
3662
  return;
3663
3663
  }
3664
3664
  let oe = v.value;
3665
- (oe < 0 || oe >= G.length) && (oe = te > 0 ? -1 : G.length);
3666
- for (let le = 0; le < G.length; le += 1)
3667
- if (oe = (oe + te + G.length) % G.length, !G[oe].disabled) {
3665
+ (oe < 0 || oe >= N.length) && (oe = te > 0 ? -1 : N.length);
3666
+ for (let le = 0; le < N.length; le += 1)
3667
+ if (oe = (oe + te + N.length) % N.length, !N[oe].disabled) {
3668
3668
  v.value = oe;
3669
3669
  return;
3670
3670
  }
@@ -3683,8 +3683,8 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
3683
3683
  var te;
3684
3684
  (te = s.value) == null || te.focus();
3685
3685
  }, K = (te) => {
3686
- const G = te.target;
3687
- r.value = G.value, e("search", G.value), x(), v.value = R();
3686
+ const N = te.target;
3687
+ r.value = N.value, e("search", N.value), x(), v.value = R();
3688
3688
  }, H = (te) => {
3689
3689
  e("focus", te), x();
3690
3690
  }, V = (te) => {
@@ -3720,25 +3720,25 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
3720
3720
  var oe;
3721
3721
  if (!u.value || !i.value)
3722
3722
  return;
3723
- const G = te.target;
3724
- i.value.contains(G) || (oe = d.value) != null && oe.contains(G) || W();
3723
+ const N = te.target;
3724
+ i.value.contains(N) || (oe = d.value) != null && oe.contains(N) || W();
3725
3725
  }, ye = () => {
3726
3726
  if (!i.value || !d.value)
3727
3727
  return;
3728
- const te = i.value, G = d.value, oe = async () => {
3728
+ const te = i.value, N = d.value, oe = async () => {
3729
3729
  const {
3730
3730
  x: ue,
3731
- y: ve,
3731
+ y: ce,
3732
3732
  placement: _e
3733
- } = await Me(te, G, {
3733
+ } = await Me(te, N, {
3734
3734
  placement: p.value,
3735
3735
  strategy: "fixed",
3736
3736
  middleware: [Ie(2), Te({ placements: ["bottom", "top"] })]
3737
3737
  });
3738
- m.value = _e ?? p.value, G.style.minWidth = `${te.getBoundingClientRect().width}px`, G.style.left = `${ue}px`, G.style.top = `${ve}px`;
3738
+ m.value = _e ?? p.value, N.style.minWidth = `${te.getBoundingClientRect().width}px`, N.style.left = `${ue}px`, N.style.top = `${ce}px`;
3739
3739
  }, le = async () => {
3740
3740
  await oe();
3741
- }, he = De(te, () => {
3741
+ }, ge = De(te, () => {
3742
3742
  le();
3743
3743
  }), J = () => {
3744
3744
  le();
@@ -3746,19 +3746,19 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
3746
3746
  document.addEventListener("scroll", J, !0), window.addEventListener("resize", J, !1), l = {
3747
3747
  update: le,
3748
3748
  destroy: () => {
3749
- he(), document.removeEventListener("scroll", J, !0), window.removeEventListener("resize", J, !1);
3749
+ ge(), document.removeEventListener("scroll", J, !0), window.removeEventListener("resize", J, !1);
3750
3750
  }
3751
3751
  }, l.update();
3752
3752
  };
3753
- return ce(
3753
+ return ve(
3754
3754
  () => t.options,
3755
3755
  () => {
3756
3756
  v.value >= z.value.length && (v.value = R()), l == null || l.update();
3757
3757
  },
3758
3758
  { deep: !0 }
3759
- ), ce(z, () => {
3759
+ ), ve(z, () => {
3760
3760
  v.value >= z.value.length && (v.value = R());
3761
- }), ce(u, async (te) => {
3761
+ }), ve(u, async (te) => {
3762
3762
  if (!te) {
3763
3763
  l && (l.destroy(), l = null);
3764
3764
  return;
@@ -3768,14 +3768,14 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
3768
3768
  document.addEventListener("click", de);
3769
3769
  }), we(() => {
3770
3770
  document.removeEventListener("click", de), l == null || l.destroy(), l = null;
3771
- }), (te, G) => (c(), b("div", {
3771
+ }), (te, N) => (c(), b("div", {
3772
3772
  ref_key: "root",
3773
3773
  ref: i,
3774
3774
  class: ee(w.value),
3775
3775
  onClick: P
3776
3776
  }, [
3777
3777
  B("div", sr, [
3778
- (c(!0), b(fe, null, be(_.value, (oe, le) => (c(), b("span", {
3778
+ (c(!0), b(fe, null, he(_.value, (oe, le) => (c(), b("span", {
3779
3779
  key: `${String(oe)}-${le}`,
3780
3780
  class: "vf-tag-input__tag"
3781
3781
  }, [
@@ -3785,7 +3785,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
3785
3785
  type: "button",
3786
3786
  disabled: te.disabled || te.readonly,
3787
3787
  "aria-label": `Remove ${I(oe)}`,
3788
- onClick: ie((he) => F(le), ["stop"])
3788
+ onClick: ie((ge) => F(le), ["stop"])
3789
3789
  }, " × ", 8, dr)
3790
3790
  ]))), 128)),
3791
3791
  B("input", {
@@ -3829,11 +3829,11 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
3829
3829
  disabled: te.disabled,
3830
3830
  "aria-hidden": "true",
3831
3831
  tabindex: "-1",
3832
- onMousedown: G[0] || (G[0] = ie(() => {
3832
+ onMousedown: N[0] || (N[0] = ie(() => {
3833
3833
  }, ["prevent"])),
3834
3834
  onClick: ie(h, ["stop"])
3835
3835
  }, " ▾ ", 40, cr),
3836
- (c(), ge(Le, { to: "body" }, [
3836
+ (c(), be(Le, { to: "body" }, [
3837
3837
  ze(B("div", {
3838
3838
  id: $,
3839
3839
  ref_key: "panel",
@@ -3842,7 +3842,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
3842
3842
  role: "listbox",
3843
3843
  "data-placement": m.value
3844
3844
  }, [
3845
- te.loading ? (c(), b("div", fr, j(te.loadingText), 1)) : z.value.length > 0 ? (c(!0), b(fe, { key: 1 }, be(z.value, (oe, le) => (c(), b("button", {
3845
+ te.loading ? (c(), b("div", fr, j(te.loadingText), 1)) : z.value.length > 0 ? (c(!0), b(fe, { key: 1 }, he(z.value, (oe, le) => (c(), b("button", {
3846
3846
  id: L(le),
3847
3847
  key: oe.value,
3848
3848
  class: ee(["vf-tag-input__option", {
@@ -3852,9 +3852,9 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
3852
3852
  type: "button",
3853
3853
  role: "option",
3854
3854
  disabled: oe.disabled,
3855
- onMousedown: G[1] || (G[1] = ie(() => {
3855
+ onMousedown: N[1] || (N[1] = ie(() => {
3856
3856
  }, ["prevent"])),
3857
- onClick: (he) => M(oe)
3857
+ onClick: (ge) => M(oe)
3858
3858
  }, j(oe.label), 43, pr))), 128)) : (c(), b("div", mr, j(te.emptyText), 1))
3859
3859
  ], 8, vr), [
3860
3860
  [Se, u.value]
@@ -3885,7 +3885,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
3885
3885
  emits: ["update:modelValue", "change", "focus", "blur"],
3886
3886
  setup(n, { emit: o }) {
3887
3887
  let a = 0;
3888
- const e = o, t = n, i = N(null), s = N(null), d = N(null), r = N(!1), u = N("bottom"), v = N("bottom"), p = `vf-datepicker-panel-${++a}`, m = N(x(A(t.modelValue) ?? /* @__PURE__ */ new Date()));
3888
+ const e = o, t = n, i = G(null), s = G(null), d = G(null), r = G(!1), u = G("bottom"), v = G("bottom"), p = `vf-datepicker-panel-${++a}`, m = G(x(A(t.modelValue) ?? /* @__PURE__ */ new Date()));
3889
3889
  let $ = null;
3890
3890
  const l = f(() => A(t.modelValue)), _ = f(() => A(t.min)), k = f(() => A(t.max)), y = f(() => l.value ? l.value.toLocaleDateString(t.locale, {
3891
3891
  year: "numeric",
@@ -3971,19 +3971,19 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
3971
3971
  }
3972
3972
  }, $.update();
3973
3973
  };
3974
- ce(
3974
+ ve(
3975
3975
  () => t.modelValue,
3976
3976
  (V) => {
3977
3977
  const q = A(V);
3978
3978
  q && (m.value = x(q));
3979
3979
  },
3980
3980
  { immediate: !0 }
3981
- ), ce(
3981
+ ), ve(
3982
3982
  () => [t.min, t.max],
3983
3983
  () => {
3984
3984
  $ == null || $.update();
3985
3985
  }
3986
- ), ce(r, async (V) => {
3986
+ ), ve(r, async (V) => {
3987
3987
  if (!V) {
3988
3988
  $ && ($.destroy(), $ = null);
3989
3989
  return;
@@ -4058,7 +4058,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
4058
4058
  "aria-hidden": "true"
4059
4059
  }, "▾", -1))
4060
4060
  ], 40, gr),
4061
- (c(), ge(Le, { to: "body" }, [
4061
+ (c(), be(Le, { to: "body" }, [
4062
4062
  ze(B("div", {
4063
4063
  id: p,
4064
4064
  ref_key: "panel",
@@ -4084,13 +4084,13 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
4084
4084
  }, " › ")
4085
4085
  ]),
4086
4086
  B("div", _r, [
4087
- (c(!0), b(fe, null, be(C.value, (ae) => (c(), b("span", {
4087
+ (c(!0), b(fe, null, he(C.value, (ae) => (c(), b("span", {
4088
4088
  key: ae,
4089
4089
  class: "vf-datepicker__weekday"
4090
4090
  }, j(ae), 1))), 128))
4091
4091
  ]),
4092
4092
  B("div", kr, [
4093
- (c(!0), b(fe, null, be(g.value, (ae) => (c(), b("button", {
4093
+ (c(!0), b(fe, null, he(g.value, (ae) => (c(), b("button", {
4094
4094
  key: ae.key,
4095
4095
  class: ee(["vf-datepicker__day", {
4096
4096
  "is-outside": !ae.inCurrentMonth,
@@ -4135,7 +4135,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
4135
4135
  emits: ["update:modelValue", "change", "focus", "blur"],
4136
4136
  setup(n, { emit: o }) {
4137
4137
  let a = 0;
4138
- const e = o, t = n, i = N(null), s = N(null), d = N(null), r = N(!1), u = N("bottom"), v = N("bottom"), p = `vf-daterangepicker-panel-${++a}`, m = N(H(/* @__PURE__ */ new Date()));
4138
+ const e = o, t = n, i = G(null), s = G(null), d = G(null), r = G(!1), u = G("bottom"), v = G("bottom"), p = `vf-daterangepicker-panel-${++a}`, m = G(H(/* @__PURE__ */ new Date()));
4139
4139
  let $ = null;
4140
4140
  const l = f(() => P(t.min)), _ = f(() => P(t.max)), k = f(() => h(t.modelValue)), y = f(() => k.value[0]), z = f(() => k.value[1]), C = f(() => !y.value && !z.value), g = f(() => {
4141
4141
  if (C.value)
@@ -4152,24 +4152,24 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
4152
4152
  })), L = f(() => {
4153
4153
  const X = new Intl.DateTimeFormat(t.locale, { weekday: "short" }), re = new Date(2026, 0, 4);
4154
4154
  return Array.from({ length: 7 }, (de, ye) => {
4155
- const te = (ye + t.firstDayOfWeek) % 7, G = new Date(re);
4156
- return G.setDate(re.getDate() + te), X.format(G);
4155
+ const te = (ye + t.firstDayOfWeek) % 7, N = new Date(re);
4156
+ return N.setDate(re.getDate() + te), X.format(N);
4157
4157
  });
4158
4158
  }), R = f(() => {
4159
- const X = ae(m.value, t.firstDayOfWeek), re = se(/* @__PURE__ */ new Date()), de = y.value ? K(y.value).getTime() : null, ye = z.value ? K(z.value).getTime() : null, te = y.value ? se(y.value) : null, G = z.value ? se(z.value) : null;
4159
+ const X = ae(m.value, t.firstDayOfWeek), re = se(/* @__PURE__ */ new Date()), de = y.value ? K(y.value).getTime() : null, ye = z.value ? K(z.value).getTime() : null, te = y.value ? se(y.value) : null, N = z.value ? se(z.value) : null;
4160
4160
  return Array.from({ length: 42 }, (oe, le) => {
4161
- const he = q(X, le), J = se(he), ue = K(he).getTime(), ve = de !== null && ye !== null ? ue >= de && ue <= ye : !1, _e = te === J, Be = G === J;
4161
+ const ge = q(X, le), J = se(ge), ue = K(ge).getTime(), ce = de !== null && ye !== null ? ue >= de && ue <= ye : !1, _e = te === J, Be = N === J;
4162
4162
  return {
4163
4163
  key: `${J}-${le}`,
4164
4164
  iso: J,
4165
- date: he,
4166
- day: he.getDate(),
4167
- inCurrentMonth: he.getMonth() === m.value.getMonth(),
4168
- isDisabled: U(he, l.value, _.value),
4165
+ date: ge,
4166
+ day: ge.getDate(),
4167
+ inCurrentMonth: ge.getMonth() === m.value.getMonth(),
4168
+ isDisabled: U(ge, l.value, _.value),
4169
4169
  isSelected: _e || Be,
4170
4170
  isRangeStart: _e,
4171
4171
  isRangeEnd: Be,
4172
- isInRange: ve,
4172
+ isInRange: ce,
4173
4173
  isToday: J === re
4174
4174
  };
4175
4175
  });
@@ -4220,40 +4220,40 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
4220
4220
  const {
4221
4221
  x: oe,
4222
4222
  y: le,
4223
- placement: he
4223
+ placement: ge
4224
4224
  } = await Me(X, re, {
4225
4225
  placement: u.value,
4226
4226
  strategy: "fixed",
4227
4227
  middleware: [Ie(2), Te({ placements: ["bottom", "top"] })]
4228
4228
  });
4229
- v.value = he ?? u.value, re.style.left = `${oe}px`, re.style.top = `${le}px`;
4229
+ v.value = ge ?? u.value, re.style.left = `${oe}px`, re.style.top = `${le}px`;
4230
4230
  }, ye = async () => {
4231
4231
  await de();
4232
4232
  }, te = De(X, () => {
4233
4233
  ye();
4234
- }), G = () => {
4234
+ }), N = () => {
4235
4235
  ye();
4236
4236
  };
4237
- document.addEventListener("scroll", G, !0), window.addEventListener("resize", G, !1), $ = {
4237
+ document.addEventListener("scroll", N, !0), window.addEventListener("resize", N, !1), $ = {
4238
4238
  update: ye,
4239
4239
  destroy: () => {
4240
- te(), document.removeEventListener("scroll", G, !0), window.removeEventListener("resize", G, !1);
4240
+ te(), document.removeEventListener("scroll", N, !0), window.removeEventListener("resize", N, !1);
4241
4241
  }
4242
4242
  }, $.update();
4243
4243
  };
4244
- ce(
4244
+ ve(
4245
4245
  () => t.modelValue,
4246
4246
  (X) => {
4247
4247
  const [re, de] = h(X), ye = re ?? de ?? /* @__PURE__ */ new Date();
4248
4248
  m.value = H(ye);
4249
4249
  },
4250
4250
  { immediate: !0 }
4251
- ), ce(
4251
+ ), ve(
4252
4252
  () => [t.min, t.max],
4253
4253
  () => {
4254
4254
  $ == null || $.update();
4255
4255
  }
4256
- ), ce(r, async (X) => {
4256
+ ), ve(r, async (X) => {
4257
4257
  if (!X) {
4258
4258
  $ && ($.destroy(), $ = null);
4259
4259
  return;
@@ -4276,8 +4276,8 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
4276
4276
  const re = X.match(/^(\d{4})-(\d{2})-(\d{2})$/);
4277
4277
  if (!re)
4278
4278
  return null;
4279
- const de = Number(re[1]), ye = Number(re[2]) - 1, te = Number(re[3]), G = new Date(de, ye, te);
4280
- return G.getFullYear() !== de || G.getMonth() !== ye || G.getDate() !== te ? null : K(G);
4279
+ const de = Number(re[1]), ye = Number(re[2]) - 1, te = Number(re[3]), N = new Date(de, ye, te);
4280
+ return N.getFullYear() !== de || N.getMonth() !== ye || N.getDate() !== te ? null : K(N);
4281
4281
  }
4282
4282
  function K(X) {
4283
4283
  return new Date(X.getFullYear(), X.getMonth(), X.getDate());
@@ -4334,7 +4334,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
4334
4334
  "aria-hidden": "true"
4335
4335
  }, "▾", -1))
4336
4336
  ], 40, wr),
4337
- (c(), ge(Le, { to: "body" }, [
4337
+ (c(), be(Le, { to: "body" }, [
4338
4338
  ze(B("div", {
4339
4339
  id: p,
4340
4340
  ref_key: "panel",
@@ -4360,13 +4360,13 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
4360
4360
  }, " › ")
4361
4361
  ]),
4362
4362
  B("div", Br, [
4363
- (c(!0), b(fe, null, be(L.value, (de) => (c(), b("span", {
4363
+ (c(!0), b(fe, null, he(L.value, (de) => (c(), b("span", {
4364
4364
  key: de,
4365
4365
  class: "vf-daterangepicker__weekday"
4366
4366
  }, j(de), 1))), 128))
4367
4367
  ]),
4368
4368
  B("div", xr, [
4369
- (c(!0), b(fe, null, be(R.value, (de) => (c(), b("button", {
4369
+ (c(!0), b(fe, null, he(R.value, (de) => (c(), b("button", {
4370
4370
  key: de.key,
4371
4371
  class: ee(["vf-daterangepicker__day", {
4372
4372
  "is-outside": !de.inCurrentMonth,
@@ -4405,7 +4405,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
4405
4405
  emits: ["update:modelValue", "change", "focus", "blur"],
4406
4406
  setup(n, { emit: o }) {
4407
4407
  let a = 0;
4408
- const e = o, t = n, i = N(null), s = N(null), d = N(null), r = N(!1), u = N("bottom"), v = N("bottom"), p = `vf-timepicker-panel-${++a}`;
4408
+ const e = o, t = n, i = G(null), s = G(null), d = G(null), r = G(!1), u = G("bottom"), v = G("bottom"), p = `vf-timepicker-panel-${++a}`;
4409
4409
  let m = null;
4410
4410
  const $ = f(() => S(t.min)), l = f(() => S(t.max)), _ = f(() => S(t.modelValue)), k = f(() => _.value === null ? "" : A(_.value, t.format)), y = f(() => !t.step || t.step <= 0 ? 30 : Math.min(Math.max(Math.round(t.step), 1), 1440)), z = f(() => {
4411
4411
  const x = [], W = y.value, h = $.value, P = l.value;
@@ -4482,13 +4482,13 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
4482
4482
  const x = d.value.querySelector(`[data-time="${F(_.value)}"]`);
4483
4483
  !x || typeof x.scrollIntoView != "function" || x.scrollIntoView({ block: "nearest" });
4484
4484
  };
4485
- ce(r, async (x) => {
4485
+ ve(r, async (x) => {
4486
4486
  if (!x) {
4487
4487
  m && (m.destroy(), m = null);
4488
4488
  return;
4489
4489
  }
4490
4490
  await $e(), m || D(), m == null || m.update(), M();
4491
- }), ce(
4491
+ }), ve(
4492
4492
  () => [t.min, t.max, t.step],
4493
4493
  () => {
4494
4494
  m == null || m.update();
@@ -4552,7 +4552,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
4552
4552
  "aria-hidden": "true"
4553
4553
  }, "▾", -1))
4554
4554
  ], 40, Vr),
4555
- (c(), ge(Le, { to: "body" }, [
4555
+ (c(), be(Le, { to: "body" }, [
4556
4556
  ze(B("div", {
4557
4557
  id: p,
4558
4558
  ref_key: "panel",
@@ -4561,7 +4561,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
4561
4561
  role: "listbox",
4562
4562
  "data-placement": v.value
4563
4563
  }, [
4564
- (c(!0), b(fe, null, be(z.value, (h) => (c(), b("button", {
4564
+ (c(!0), b(fe, null, he(z.value, (h) => (c(), b("button", {
4565
4565
  key: h.value,
4566
4566
  class: ee(["vf-timepicker__option", { "is-active": h.isSelected, "is-disabled": h.isDisabled }]),
4567
4567
  type: "button",
@@ -4605,7 +4605,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
4605
4605
  emits: ["update:modelValue", "change", "focus", "blur"],
4606
4606
  setup(n, { emit: o }) {
4607
4607
  let a = 0;
4608
- const e = o, t = n, i = N(null), s = N(null), d = N(null), r = N(!1), u = N("bottom"), v = N("bottom"), p = `vf-datetimepicker-panel-${++a}`, m = N(U(/* @__PURE__ */ new Date())), $ = N(null), l = N(null);
4608
+ const e = o, t = n, i = G(null), s = G(null), d = G(null), r = G(!1), u = G("bottom"), v = G("bottom"), p = `vf-datetimepicker-panel-${++a}`, m = G(U(/* @__PURE__ */ new Date())), $ = G(null), l = G(null);
4609
4609
  let _ = null;
4610
4610
  const k = f(() => !t.minuteStep || t.minuteStep <= 0 ? 30 : Math.min(Math.max(Math.round(t.minuteStep), 1), 1440)), y = f(() => ae(t.modelValue)), z = f(() => ae(t.min)), C = f(() => ae(t.max)), g = f(() => {
4611
4611
  if (!y.value)
@@ -4621,12 +4621,12 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
4621
4621
  month: "long"
4622
4622
  })), L = f(() => {
4623
4623
  const J = new Intl.DateTimeFormat(t.locale, { weekday: "short" }), ue = new Date(2026, 0, 4);
4624
- return Array.from({ length: 7 }, (ve, _e) => {
4624
+ return Array.from({ length: 7 }, (ce, _e) => {
4625
4625
  const Be = (_e + t.firstDayOfWeek) % 7, xe = new Date(ue);
4626
4626
  return xe.setDate(ue.getDate() + Be), J.format(xe);
4627
4627
  });
4628
4628
  }), R = f(() => {
4629
- const J = de(m.value, t.firstDayOfWeek), ue = $.value ? ye($.value) : null, ve = ye(/* @__PURE__ */ new Date());
4629
+ const J = de(m.value, t.firstDayOfWeek), ue = $.value ? ye($.value) : null, ce = ye(/* @__PURE__ */ new Date());
4630
4630
  return Array.from({ length: 42 }, (_e, Be) => {
4631
4631
  const xe = re(J, Be), Ue = ye(xe);
4632
4632
  return {
@@ -4637,7 +4637,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
4637
4637
  inCurrentMonth: xe.getMonth() === m.value.getMonth(),
4638
4638
  isDisabled: le(xe, z.value, C.value),
4639
4639
  isSelected: ue === Ue,
4640
- isToday: Ue === ve
4640
+ isToday: Ue === ce
4641
4641
  };
4642
4642
  });
4643
4643
  }), I = f(() => {
@@ -4648,7 +4648,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
4648
4648
  label: oe(ue, t.format),
4649
4649
  minutes: ue,
4650
4650
  isSelected: l.value === ue,
4651
- isDisabled: he($.value, ue, z.value, C.value)
4651
+ isDisabled: ge($.value, ue, z.value, C.value)
4652
4652
  });
4653
4653
  return J;
4654
4654
  }), O = f(() => {
@@ -4659,9 +4659,9 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
4659
4659
  ];
4660
4660
  return t.size !== "normal" && J.push(`vf-datetimepicker_${t.size}`), t.disabled && J.push("vf-datetimepicker_disabled"), J.filter(Boolean);
4661
4661
  }), E = (J) => e("focus", J), T = (J) => e("blur", J), D = () => {
4662
- if (!$.value || l.value === null || he($.value, l.value, z.value, C.value))
4662
+ if (!$.value || l.value === null || ge($.value, l.value, z.value, C.value))
4663
4663
  return;
4664
- const J = G($.value, l.value);
4664
+ const J = N($.value, l.value);
4665
4665
  e("update:modelValue", J), e("change", J);
4666
4666
  }, M = () => {
4667
4667
  const J = y.value;
@@ -4671,10 +4671,10 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
4671
4671
  }
4672
4672
  $.value = null, l.value = null;
4673
4673
  }, S = (J) => {
4674
- if (l.value !== null && !he(J, l.value, z.value, C.value))
4674
+ if (l.value !== null && !ge(J, l.value, z.value, C.value))
4675
4675
  return;
4676
4676
  const ue = I.value.find(
4677
- (ve) => !he(J, ve.minutes, z.value, C.value)
4677
+ (ce) => !ge(J, ce.minutes, z.value, C.value)
4678
4678
  );
4679
4679
  l.value = ue ? ue.minutes : null;
4680
4680
  }, F = () => {
@@ -4694,17 +4694,17 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
4694
4694
  }, h = (J) => {
4695
4695
  t.readonly || le(J, z.value, C.value) || ($.value = se(J), S($.value), D());
4696
4696
  }, P = (J) => {
4697
- t.readonly || !$.value || he($.value, J, z.value, C.value) || (l.value = J, D(), A());
4697
+ t.readonly || !$.value || ge($.value, J, z.value, C.value) || (l.value = J, D(), A());
4698
4698
  }, K = (J) => {
4699
- var ve;
4699
+ var ce;
4700
4700
  if (!r.value || !i.value)
4701
4701
  return;
4702
4702
  const ue = J.target;
4703
- i.value.contains(ue) || (ve = d.value) != null && ve.contains(ue) || A();
4703
+ i.value.contains(ue) || (ce = d.value) != null && ce.contains(ue) || A();
4704
4704
  }, H = () => {
4705
4705
  if (!s.value || !d.value)
4706
4706
  return;
4707
- const J = s.value, ue = d.value, ve = async () => {
4707
+ const J = s.value, ue = d.value, ce = async () => {
4708
4708
  const {
4709
4709
  x: Ue,
4710
4710
  y: Lt,
@@ -4718,7 +4718,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
4718
4718
  const rt = 8, Ft = ue.getBoundingClientRect().width, Tt = Math.max(rt, window.innerWidth - Ft - rt), It = Math.min(Math.max(Ue, rt), Tt);
4719
4719
  ue.style.left = `${It}px`, ue.style.top = `${Lt}px`;
4720
4720
  }, _e = async () => {
4721
- await ve();
4721
+ await ce();
4722
4722
  }, Be = De(J, () => {
4723
4723
  _e();
4724
4724
  }), xe = () => {
@@ -4731,19 +4731,19 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
4731
4731
  }
4732
4732
  }, _.update();
4733
4733
  };
4734
- ce(
4734
+ ve(
4735
4735
  () => t.modelValue,
4736
4736
  (J) => {
4737
4737
  const ue = ae(J);
4738
4738
  ue && (m.value = U(ue.date));
4739
4739
  },
4740
4740
  { immediate: !0 }
4741
- ), ce(
4741
+ ), ve(
4742
4742
  () => [t.min, t.max, t.minuteStep],
4743
4743
  () => {
4744
4744
  $.value && S($.value), _ == null || _.update();
4745
4745
  }
4746
- ), ce(r, async (J) => {
4746
+ ), ve(r, async (J) => {
4747
4747
  if (!J) {
4748
4748
  _ && (_.destroy(), _ = null);
4749
4749
  return;
@@ -4760,8 +4760,8 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
4760
4760
  const ue = J.match(/^(\d{4})-(\d{2})-(\d{2})$/);
4761
4761
  if (!ue)
4762
4762
  return null;
4763
- const ve = Number(ue[1]), _e = Number(ue[2]) - 1, Be = Number(ue[3]), xe = new Date(ve, _e, Be);
4764
- return xe.getFullYear() !== ve || xe.getMonth() !== _e || xe.getDate() !== Be ? null : se(xe);
4763
+ const ce = Number(ue[1]), _e = Number(ue[2]) - 1, Be = Number(ue[3]), xe = new Date(ce, _e, Be);
4764
+ return xe.getFullYear() !== ce || xe.getMonth() !== _e || xe.getDate() !== Be ? null : se(xe);
4765
4765
  }
4766
4766
  function q(J) {
4767
4767
  if (!J)
@@ -4769,8 +4769,8 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
4769
4769
  const ue = J.match(/^(\d{2}):(\d{2})$/);
4770
4770
  if (!ue)
4771
4771
  return null;
4772
- const ve = Number(ue[1]), _e = Number(ue[2]);
4773
- return ve < 0 || ve > 23 || _e < 0 || _e > 59 ? null : ve * 60 + _e;
4772
+ const ce = Number(ue[1]), _e = Number(ue[2]);
4773
+ return ce < 0 || ce > 23 || _e < 0 || _e > 59 ? null : ce * 60 + _e;
4774
4774
  }
4775
4775
  function ae(J) {
4776
4776
  if (!J)
@@ -4778,8 +4778,8 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
4778
4778
  const ue = J.match(/^(\d{4}-\d{2}-\d{2})T(\d{2}:\d{2})$/);
4779
4779
  if (!ue)
4780
4780
  return null;
4781
- const ve = V(ue[1]), _e = q(ue[2]);
4782
- return !ve || _e === null ? null : { date: ve, minutes: _e };
4781
+ const ce = V(ue[1]), _e = q(ue[2]);
4782
+ return !ce || _e === null ? null : { date: ce, minutes: _e };
4783
4783
  }
4784
4784
  function se(J) {
4785
4785
  return new Date(J.getFullYear(), J.getMonth(), J.getDate());
@@ -4794,36 +4794,36 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
4794
4794
  return new Date(J.getFullYear(), J.getMonth(), J.getDate() + ue);
4795
4795
  }
4796
4796
  function de(J, ue) {
4797
- const ve = U(J), Be = (ve.getDay() - ue + 7) % 7;
4798
- return re(ve, -Be);
4797
+ const ce = U(J), Be = (ce.getDay() - ue + 7) % 7;
4798
+ return re(ce, -Be);
4799
4799
  }
4800
4800
  function ye(J) {
4801
- const ue = J.getFullYear(), ve = `${J.getMonth() + 1}`.padStart(2, "0"), _e = `${J.getDate()}`.padStart(2, "0");
4802
- return `${ue}-${ve}-${_e}`;
4801
+ const ue = J.getFullYear(), ce = `${J.getMonth() + 1}`.padStart(2, "0"), _e = `${J.getDate()}`.padStart(2, "0");
4802
+ return `${ue}-${ce}-${_e}`;
4803
4803
  }
4804
4804
  function te(J) {
4805
- const ue = Math.floor(J / 60), ve = J % 60;
4806
- return `${String(ue).padStart(2, "0")}:${String(ve).padStart(2, "0")}`;
4805
+ const ue = Math.floor(J / 60), ce = J % 60;
4806
+ return `${String(ue).padStart(2, "0")}:${String(ce).padStart(2, "0")}`;
4807
4807
  }
4808
- function G(J, ue) {
4808
+ function N(J, ue) {
4809
4809
  return `${ye(J)}T${te(ue)}`;
4810
4810
  }
4811
4811
  function oe(J, ue) {
4812
4812
  if (ue === "12h") {
4813
- const ve = Math.floor(J / 60), _e = J % 60, Be = ve >= 12 ? "PM" : "AM";
4814
- return `${ve % 12 || 12}:${String(_e).padStart(2, "0")} ${Be}`;
4813
+ const ce = Math.floor(J / 60), _e = J % 60, Be = ce >= 12 ? "PM" : "AM";
4814
+ return `${ce % 12 || 12}:${String(_e).padStart(2, "0")} ${Be}`;
4815
4815
  }
4816
4816
  return te(J);
4817
4817
  }
4818
- function le(J, ue, ve) {
4818
+ function le(J, ue, ce) {
4819
4819
  const _e = se(J).getTime();
4820
- return !!(ue && _e < ue.date.getTime() || ve && _e > ve.date.getTime());
4820
+ return !!(ue && _e < ue.date.getTime() || ce && _e > ce.date.getTime());
4821
4821
  }
4822
- function he(J, ue, ve, _e) {
4822
+ function ge(J, ue, ce, _e) {
4823
4823
  if (!J)
4824
4824
  return !0;
4825
4825
  const Be = se(J).getTime();
4826
- return !!(ve && Be === ve.date.getTime() && ue < ve.minutes || _e && Be === _e.date.getTime() && ue > _e.minutes);
4826
+ return !!(ce && Be === ce.date.getTime() && ue < ce.minutes || _e && Be === _e.date.getTime() && ue > _e.minutes);
4827
4827
  }
4828
4828
  return (J, ue) => (c(), b("div", {
4829
4829
  ref_key: "root",
@@ -4856,7 +4856,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
4856
4856
  "aria-hidden": "true"
4857
4857
  }, "▾", -1))
4858
4858
  ], 40, Ir),
4859
- (c(), ge(Le, { to: "body" }, [
4859
+ (c(), be(Le, { to: "body" }, [
4860
4860
  ze(B("div", {
4861
4861
  id: p,
4862
4862
  ref_key: "panel",
@@ -4883,37 +4883,37 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
4883
4883
  }, " › ")
4884
4884
  ]),
4885
4885
  B("div", Er, [
4886
- (c(!0), b(fe, null, be(L.value, (ve) => (c(), b("span", {
4887
- key: ve,
4886
+ (c(!0), b(fe, null, he(L.value, (ce) => (c(), b("span", {
4887
+ key: ce,
4888
4888
  class: "vf-datetimepicker__weekday"
4889
- }, j(ve), 1))), 128))
4889
+ }, j(ce), 1))), 128))
4890
4890
  ]),
4891
4891
  B("div", Or, [
4892
- (c(!0), b(fe, null, be(R.value, (ve) => (c(), b("button", {
4893
- key: ve.key,
4892
+ (c(!0), b(fe, null, he(R.value, (ce) => (c(), b("button", {
4893
+ key: ce.key,
4894
4894
  class: ee(["vf-datetimepicker__day", {
4895
- "is-outside": !ve.inCurrentMonth,
4896
- "is-selected": ve.isSelected,
4897
- "is-today": ve.isToday
4895
+ "is-outside": !ce.inCurrentMonth,
4896
+ "is-selected": ce.isSelected,
4897
+ "is-today": ce.isToday
4898
4898
  }]),
4899
4899
  type: "button",
4900
- disabled: ve.isDisabled,
4901
- "data-date": ve.iso,
4902
- onClick: (_e) => h(ve.date)
4903
- }, j(ve.day), 11, Ar))), 128))
4900
+ disabled: ce.isDisabled,
4901
+ "data-date": ce.iso,
4902
+ onClick: (_e) => h(ce.date)
4903
+ }, j(ce.day), 11, Ar))), 128))
4904
4904
  ])
4905
4905
  ]),
4906
4906
  B("div", Hr, [
4907
- (c(!0), b(fe, null, be(I.value, (ve) => (c(), b("button", {
4908
- key: ve.value,
4909
- class: ee(["vf-datetimepicker__time", { "is-active": ve.isSelected, "is-disabled": ve.isDisabled }]),
4907
+ (c(!0), b(fe, null, he(I.value, (ce) => (c(), b("button", {
4908
+ key: ce.value,
4909
+ class: ee(["vf-datetimepicker__time", { "is-active": ce.isSelected, "is-disabled": ce.isDisabled }]),
4910
4910
  type: "button",
4911
4911
  role: "option",
4912
- "data-time": ve.value,
4913
- disabled: ve.isDisabled,
4914
- "aria-selected": ve.isSelected,
4915
- onClick: (_e) => P(ve.minutes)
4916
- }, j(ve.label), 11, Wr))), 128))
4912
+ "data-time": ce.value,
4913
+ disabled: ce.isDisabled,
4914
+ "aria-selected": ce.isSelected,
4915
+ onClick: (_e) => P(ce.minutes)
4916
+ }, j(ce.label), 11, Wr))), 128))
4917
4917
  ])
4918
4918
  ], 40, Dr), [
4919
4919
  [Se, r.value]
@@ -4942,7 +4942,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
4942
4942
  },
4943
4943
  emits: ["update:modelValue", "change"],
4944
4944
  setup(n, { emit: o }) {
4945
- const a = o, e = n, t = N(y(_(e.modelValue) ?? /* @__PURE__ */ new Date())), i = f(() => _(e.modelValue)), s = f(() => _(e.min)), d = f(() => _(e.max)), r = f(() => t.value.toLocaleDateString(e.locale, {
4945
+ const a = o, e = n, t = G(y(_(e.modelValue) ?? /* @__PURE__ */ new Date())), i = f(() => _(e.modelValue)), s = f(() => _(e.min)), d = f(() => _(e.max)), r = f(() => t.value.toLocaleDateString(e.locale, {
4946
4946
  year: "numeric",
4947
4947
  month: "long"
4948
4948
  })), u = f(() => {
@@ -4979,7 +4979,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
4979
4979
  const I = w(R);
4980
4980
  a("update:modelValue", I), a("change", I);
4981
4981
  };
4982
- ce(
4982
+ ve(
4983
4983
  () => e.modelValue,
4984
4984
  (R) => {
4985
4985
  const I = _(R);
@@ -5041,13 +5041,13 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
5041
5041
  }, " › ", 8, jr)
5042
5042
  ]),
5043
5043
  B("div", Yr, [
5044
- (c(!0), b(fe, null, be(u.value, (O) => (c(), b("span", {
5044
+ (c(!0), b(fe, null, he(u.value, (O) => (c(), b("span", {
5045
5045
  key: O,
5046
5046
  class: "vf-calendar__weekday"
5047
5047
  }, j(O), 1))), 128))
5048
5048
  ]),
5049
5049
  B("div", qr, [
5050
- (c(!0), b(fe, null, be(v.value, (O) => (c(), b("button", {
5050
+ (c(!0), b(fe, null, he(v.value, (O) => (c(), b("button", {
5051
5051
  key: O.key,
5052
5052
  class: ee(["vf-calendar__day", {
5053
5053
  "is-outside": !O.inCurrentMonth,
@@ -5126,7 +5126,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
5126
5126
  "aria-label": "Previous page",
5127
5127
  onClick: _[0] || (_[0] = (k) => $(d.value - 1, k))
5128
5128
  }, j(l.prevLabel), 9, Ur),
5129
- (c(!0), b(fe, null, be(p.value, (k) => (c(), b("button", {
5129
+ (c(!0), b(fe, null, he(p.value, (k) => (c(), b("button", {
5130
5130
  key: k.key,
5131
5131
  class: ee(["vf-pagination__item", {
5132
5132
  "is-current": k.type === "page" && k.page === d.value,
@@ -5281,7 +5281,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
5281
5281
  },
5282
5282
  emits: ["update:modelValue", "change", "focus", "blur"],
5283
5283
  setup(n, { emit: o }) {
5284
- const a = o, e = n, t = N([]), i = f(() => e.options.map((l, _) => ({
5284
+ const a = o, e = n, t = G([]), i = f(() => e.options.map((l, _) => ({
5285
5285
  ...l,
5286
5286
  key: `${String(l.value)}-${_}`
5287
5287
  }))), s = f(() => i.value.reduce((l, _, k) => (_.disabled || l.push(k), l), [])), d = f(() => {
@@ -5313,7 +5313,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
5313
5313
  "aria-label": l.ariaLabel || void 0,
5314
5314
  "aria-labelledby": l.ariaLabelledby || void 0
5315
5315
  }, [
5316
- (c(!0), b(fe, null, be(i.value, (k, y) => (c(), b("button", {
5316
+ (c(!0), b(fe, null, he(i.value, (k, y) => (c(), b("button", {
5317
5317
  key: k.key,
5318
5318
  ref_for: !0,
5319
5319
  ref: (z) => m(z, y),
@@ -5344,7 +5344,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
5344
5344
  const e = o, t = n, i = ++a, s = (l) => String(l).toLowerCase().trim().replace(/\s+/g, "-").replace(/[^a-z0-9_-]/g, ""), d = f(() => {
5345
5345
  const l = ["vf-tabs"];
5346
5346
  return t.orientation === "vertical" && l.push("vf-tabs_vertical"), t.disabled && l.push("vf-tabs_disabled"), l;
5347
- }), r = N(null), u = () => r.value ? Array.from(r.value.querySelectorAll('[role="tab"]:not([disabled])')) : [], v = (l) => {
5347
+ }), r = G(null), u = () => r.value ? Array.from(r.value.querySelectorAll('[role="tab"]:not([disabled])')) : [], v = (l) => {
5348
5348
  l && (l.focus(), l.click());
5349
5349
  }, p = (l) => {
5350
5350
  if (t.disabled)
@@ -5565,7 +5565,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
5565
5565
  }, d = () => {
5566
5566
  i(), a("update:modelValue", !1), a("close");
5567
5567
  };
5568
- return ce(
5568
+ return ve(
5569
5569
  () => e.modelValue,
5570
5570
  (r) => {
5571
5571
  r && a("open"), s();
@@ -5608,7 +5608,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
5608
5608
  },
5609
5609
  setup(n) {
5610
5610
  const o = n, a = f(() => `vf-toast-container_${o.position}`);
5611
- return (e, t) => (c(), ge(Le, { to: "body" }, [
5611
+ return (e, t) => (c(), be(Le, { to: "body" }, [
5612
5612
  B("div", {
5613
5613
  class: ee(["vf-toast-container", a.value]),
5614
5614
  role: "region",
@@ -5643,8 +5643,8 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
5643
5643
  },
5644
5644
  emits: ["update:modelValue", "close"],
5645
5645
  setup(n, { emit: o }) {
5646
- const a = o, e = n, t = N(!0), i = f(() => typeof e.modelValue == "boolean"), s = f(() => i.value ? e.modelValue : t.value);
5647
- ce(
5646
+ const a = o, e = n, t = G(!0), i = f(() => typeof e.modelValue == "boolean"), s = f(() => i.value ? e.modelValue : t.value);
5647
+ ve(
5648
5648
  () => e.modelValue,
5649
5649
  (r) => {
5650
5650
  typeof r == "boolean" && (t.value = r);
@@ -5882,7 +5882,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
5882
5882
  setup(n, { expose: o, emit: a }) {
5883
5883
  const e = a, t = n;
5884
5884
  let i = 0, s = 0, d = "", r = null;
5885
- const u = N(null), v = Mt(), p = Xe(), m = `vf-modal-title-${++i}`, $ = `vf-modal-body-${i}`, l = f(() => !!t.title || !!p.header), _ = f(() => !!p.body || !!p.default), k = f(() => {
5885
+ const u = G(null), v = Mt(), p = Xe(), m = `vf-modal-title-${++i}`, $ = `vf-modal-body-${i}`, l = f(() => !!t.title || !!p.header), _ = f(() => !!p.body || !!p.default), k = f(() => {
5886
5886
  const E = ["vf-modal"];
5887
5887
  return t.size !== "md" && E.push(`vf-modal_${t.size}`), E;
5888
5888
  }), y = () => e("update:modelValue", !0), z = () => {
@@ -5915,7 +5915,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
5915
5915
  }, O = () => {
5916
5916
  !t.lockScroll || typeof document > "u" || (s = Math.max(0, s - 1), s === 0 && (document.body.style.overflow = d));
5917
5917
  };
5918
- return ce(
5918
+ return ve(
5919
5919
  () => t.modelValue,
5920
5920
  async (E) => {
5921
5921
  E ? (typeof document < "u" && (r = document.activeElement), I(), e("open"), await $e(), L(), typeof document < "u" && document.addEventListener("keydown", g)) : (O(), typeof document < "u" && (document.removeEventListener("keydown", g), r == null || r.focus()));
@@ -5923,7 +5923,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
5923
5923
  { immediate: !0 }
5924
5924
  ), we(() => {
5925
5925
  O(), typeof document < "u" && document.removeEventListener("keydown", g);
5926
- }), o({ open: y, close: z }), (E, T) => (c(), ge(Le, { to: "body" }, [
5926
+ }), o({ open: y, close: z }), (E, T) => (c(), be(Le, { to: "body" }, [
5927
5927
  ze(B("div", st(We(v), {
5928
5928
  class: k.value,
5929
5929
  role: "presentation"
@@ -6000,7 +6000,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
6000
6000
  },
6001
6001
  emits: ["update:modelValue", "confirm", "cancel", "open", "close"],
6002
6002
  setup(n, { expose: o, emit: a }) {
6003
- const e = n, t = a, i = N(null), s = N(null), d = () => {
6003
+ const e = n, t = a, i = G(null), s = G(null), d = () => {
6004
6004
  if (i.value) {
6005
6005
  i.value.close();
6006
6006
  return;
@@ -6027,7 +6027,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
6027
6027
  close: () => {
6028
6028
  s.value = "cancel", d();
6029
6029
  }
6030
- }), (m, $) => (c(), ge(El, {
6030
+ }), (m, $) => (c(), be(El, {
6031
6031
  ref_key: "modal",
6032
6032
  ref: i,
6033
6033
  class: "vf-confirm-dialog",
@@ -6102,7 +6102,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
6102
6102
  setup(n, { expose: o, emit: a }) {
6103
6103
  const e = a, t = n;
6104
6104
  let i = 0, s = 0, d = "", r = null;
6105
- const u = N(null), v = Xe(), p = `vf-drawer-title-${++i}`, m = `vf-drawer-body-${i}`, $ = f(() => !!t.title || !!v.header), l = f(() => !!v.body || !!v.default), _ = f(() => {
6105
+ const u = G(null), v = Xe(), p = `vf-drawer-title-${++i}`, m = `vf-drawer-body-${i}`, $ = f(() => !!t.title || !!v.header), l = f(() => !!v.body || !!v.default), _ = f(() => {
6106
6106
  switch (t.position) {
6107
6107
  case "left":
6108
6108
  return "translate3d(-100%, 0, 0)";
@@ -6150,7 +6150,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
6150
6150
  }, E = () => {
6151
6151
  !t.lockScroll || typeof document > "u" || (s = Math.max(0, s - 1), s === 0 && (document.body.style.overflow = d));
6152
6152
  };
6153
- return ce(
6153
+ return ve(
6154
6154
  () => t.modelValue,
6155
6155
  async (T) => {
6156
6156
  T ? (typeof document < "u" && (r = document.activeElement), O(), e("open"), await $e(), R(), typeof document < "u" && document.addEventListener("keydown", w)) : (E(), typeof document < "u" && (document.removeEventListener("keydown", w), r == null || r.focus()));
@@ -6158,7 +6158,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
6158
6158
  { immediate: !0 }
6159
6159
  ), we(() => {
6160
6160
  E(), typeof document < "u" && document.removeEventListener("keydown", w);
6161
- }), o({ open: z, close: C }), (T, D) => (c(), ge(Le, { to: "body" }, [
6161
+ }), o({ open: z, close: C }), (T, D) => (c(), be(Le, { to: "body" }, [
6162
6162
  Ge(Rt, {
6163
6163
  name: "vf-drawer",
6164
6164
  duration: { enter: 320, leave: 320 }
@@ -6243,7 +6243,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
6243
6243
  setup(n, { expose: o, emit: a }) {
6244
6244
  const e = a, t = n;
6245
6245
  let i = 0;
6246
- const s = N(null), d = N(null), r = N(null), u = N(!1), v = N(t.placement), p = N(t.placement), m = `vf-dropdown-panel-${++i}`;
6246
+ const s = G(null), d = G(null), r = G(null), u = G(!1), v = G(t.placement), p = G(t.placement), m = `vf-dropdown-panel-${++i}`;
6247
6247
  let $ = null;
6248
6248
  const l = f(() => t.modelValue !== void 0), _ = (O) => {
6249
6249
  t.disabled || (e("update:modelValue", O), l.value || (u.value = O));
@@ -6312,18 +6312,18 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
6312
6312
  }
6313
6313
  }, $.update();
6314
6314
  };
6315
- return ce(
6315
+ return ve(
6316
6316
  () => t.modelValue,
6317
6317
  (O) => {
6318
6318
  l.value && (u.value = !!O);
6319
6319
  },
6320
6320
  { immediate: !0 }
6321
- ), ce(
6321
+ ), ve(
6322
6322
  () => t.placement,
6323
6323
  (O) => {
6324
6324
  v.value = O, p.value = O;
6325
6325
  }
6326
- ), ce(u, async (O) => {
6326
+ ), ve(u, async (O) => {
6327
6327
  if (e(O ? "open" : "close"), !O) {
6328
6328
  $ && ($.destroy(), $ = null);
6329
6329
  return;
@@ -6355,7 +6355,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
6355
6355
  }, [
6356
6356
  Y(O.$slots, "trigger")
6357
6357
  ], 40, Gl),
6358
- (c(), ge(Le, { to: "body" }, [
6358
+ (c(), be(Le, { to: "body" }, [
6359
6359
  ze(B("div", {
6360
6360
  id: m,
6361
6361
  ref_key: "panel",
@@ -6366,7 +6366,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
6366
6366
  onClick: g
6367
6367
  }, [
6368
6368
  Y(O.$slots, "default", {}, () => [
6369
- t.items.length ? (c(), ge(ht, {
6369
+ t.items.length ? (c(), be(ht, {
6370
6370
  key: 0,
6371
6371
  items: t.items
6372
6372
  }, null, 8, ["items"])) : Q("", !0)
@@ -6400,7 +6400,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
6400
6400
  },
6401
6401
  emits: ["click", "update:modelValue", "open", "close", "select"],
6402
6402
  setup(n, { expose: o, emit: a }) {
6403
- const e = n, t = a, i = qe(dt, null), s = N(null), d = f(() => e.size ?? (i == null ? void 0 : i.value.size) ?? "normal"), r = f(() => e.variant ?? (i == null ? void 0 : i.value.variant)), u = f(() => e.severity ?? (i == null ? void 0 : i.value.severity) ?? "primary"), v = f(() => e.disabled || (i == null ? void 0 : i.value.disabled) === !0), p = f(() => {
6403
+ const e = n, t = a, i = qe(dt, null), s = G(null), d = f(() => e.size ?? (i == null ? void 0 : i.value.size) ?? "normal"), r = f(() => e.variant ?? (i == null ? void 0 : i.value.variant)), u = f(() => e.severity ?? (i == null ? void 0 : i.value.severity) ?? "primary"), v = f(() => e.disabled || (i == null ? void 0 : i.value.disabled) === !0), p = f(() => {
6404
6404
  const l = ["vf-splitbutton"];
6405
6405
  return (v.value || e.loading) && l.push("vf-splitbutton_disabled"), (d.value === "small" || d.value === "large") && l.push(`vf-splitbutton_${d.value}`), l;
6406
6406
  }), m = (l) => {
@@ -6429,7 +6429,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
6429
6429
  }), (l, _) => (c(), b("div", {
6430
6430
  class: ee(["vf-splitbutton", p.value])
6431
6431
  }, [
6432
- l.$slots.default ? (c(), ge(Ze, {
6432
+ l.$slots.default ? (c(), be(Ze, {
6433
6433
  key: 0,
6434
6434
  class: "vf-splitbutton__main",
6435
6435
  label: l.label,
@@ -6446,7 +6446,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
6446
6446
  Y(l.$slots, "default")
6447
6447
  ]),
6448
6448
  _: 3
6449
- }, 8, ["label", "icon", "type", "size", "variant", "severity", "loading", "disabled"])) : (c(), ge(Ze, {
6449
+ }, 8, ["label", "icon", "type", "size", "variant", "severity", "loading", "disabled"])) : (c(), be(Ze, {
6450
6450
  key: 1,
6451
6451
  class: "vf-splitbutton__main",
6452
6452
  label: l.label,
@@ -6514,7 +6514,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
6514
6514
  setup(n, { expose: o, emit: a }) {
6515
6515
  const e = a, t = n;
6516
6516
  let i = 0;
6517
- const s = N(null), d = N(null), r = N(!1), u = N({}), v = `vf-context-menu-panel-${++i}`, p = N({ x: 0, y: 0 }), m = f(() => t.modelValue !== void 0), $ = () => {
6517
+ const s = G(null), d = G(null), r = G(!1), u = G({}), v = `vf-context-menu-panel-${++i}`, p = G({ x: 0, y: 0 }), m = f(() => t.modelValue !== void 0), $ = () => {
6518
6518
  if (!s.value)
6519
6519
  return { x: 0, y: 0 };
6520
6520
  const I = s.value.getBoundingClientRect();
@@ -6558,13 +6558,13 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
6558
6558
  }, R = () => {
6559
6559
  r.value && _();
6560
6560
  };
6561
- return ce(
6561
+ return ve(
6562
6562
  () => t.modelValue,
6563
6563
  (I) => {
6564
6564
  m.value && (r.value = !!I);
6565
6565
  },
6566
6566
  { immediate: !0 }
6567
- ), ce(r, async (I) => {
6567
+ ), ve(r, async (I) => {
6568
6568
  I ? (!p.value.x && !p.value.y && (p.value = $()), e("open"), await $e(), _()) : e("close");
6569
6569
  }), Ve(() => {
6570
6570
  document.addEventListener("click", w), document.addEventListener("keydown", L), window.addEventListener("resize", R);
@@ -6581,7 +6581,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
6581
6581
  }, [
6582
6582
  Y(I.$slots, "default")
6583
6583
  ], 34),
6584
- (c(), ge(Le, { to: "body" }, [
6584
+ (c(), be(Le, { to: "body" }, [
6585
6585
  ze(B("div", {
6586
6586
  id: v,
6587
6587
  ref_key: "panel",
@@ -6592,7 +6592,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
6592
6592
  onClick: g
6593
6593
  }, [
6594
6594
  Y(I.$slots, "menu", {}, () => [
6595
- t.items.length ? (c(), ge(ht, {
6595
+ t.items.length ? (c(), be(ht, {
6596
6596
  key: 0,
6597
6597
  items: t.items
6598
6598
  }, null, 8, ["items"])) : Q("", !0)
@@ -6639,7 +6639,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
6639
6639
  },
6640
6640
  emits: ["update:modelValue", "open", "close", "select", "search"],
6641
6641
  setup(n, { expose: o, emit: a }) {
6642
- const e = n, t = a, i = N(null), s = N(null), d = N(!1), r = N(""), u = N(-1), v = f(() => e.modelValue !== void 0), p = f(() => e.items.map((M, S) => {
6642
+ const e = n, t = a, i = G(null), s = G(null), d = G(!1), r = G(""), u = G(-1), v = f(() => e.modelValue !== void 0), p = f(() => e.items.map((M, S) => {
6643
6643
  const F = M.group ?? "";
6644
6644
  return {
6645
6645
  ...M,
@@ -6723,19 +6723,19 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
6723
6723
  }, D = (M) => {
6724
6724
  e.enableShortcut && (T(M.target) || M.key.toLowerCase() === e.shortcutKey.toLowerCase() && (!M.metaKey && !M.ctrlKey || (M.preventDefault(), g())));
6725
6725
  };
6726
- return ce(
6726
+ return ve(
6727
6727
  () => e.modelValue,
6728
6728
  (M) => {
6729
6729
  v.value && (d.value = !!M);
6730
6730
  },
6731
6731
  { immediate: !0 }
6732
- ), ce(d, async (M) => {
6732
+ ), ve(d, async (M) => {
6733
6733
  if (M) {
6734
6734
  t("open"), r.value = "", k(), await _();
6735
6735
  return;
6736
6736
  }
6737
6737
  t("close");
6738
- }), ce(
6738
+ }), ve(
6739
6739
  () => m.value,
6740
6740
  () => {
6741
6741
  m.value.some((S) => S._index === u.value && !S.disabled) || k();
@@ -6745,7 +6745,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
6745
6745
  document.addEventListener("keydown", D);
6746
6746
  }), we(() => {
6747
6747
  document.removeEventListener("keydown", D);
6748
- }), o({ open: z, close: C, toggle: g }), (M, S) => (c(), ge(Le, { to: "body" }, [
6748
+ }), o({ open: z, close: C, toggle: g }), (M, S) => (c(), be(Le, { to: "body" }, [
6749
6749
  ze(B("div", ql, [
6750
6750
  B("div", {
6751
6751
  class: "vf-command-palette__overlay",
@@ -6772,13 +6772,13 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
6772
6772
  }, null, 40, Ql)
6773
6773
  ]),
6774
6774
  B("div", Zl, [
6775
- $.value.length ? (c(!0), b(fe, { key: 0 }, be($.value, (F) => (c(), b("div", {
6775
+ $.value.length ? (c(!0), b(fe, { key: 0 }, he($.value, (F) => (c(), b("div", {
6776
6776
  key: F.name,
6777
6777
  class: "vf-command-palette__group",
6778
6778
  "data-group": F.name
6779
6779
  }, [
6780
6780
  F.name ? (c(), b("div", en, j(F.name), 1)) : Q("", !0),
6781
- (c(!0), b(fe, null, be(F.items, (A) => (c(), b("button", {
6781
+ (c(!0), b(fe, null, he(F.items, (A) => (c(), b("button", {
6782
6782
  key: A._key,
6783
6783
  class: ee(["vf-command-palette__item", {
6784
6784
  "is-active": A._index === u.value,
@@ -6842,11 +6842,11 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
6842
6842
  },
6843
6843
  emits: ["update:modelValue", "update:items", "open", "close", "click", "read", "readAll", "clear"],
6844
6844
  setup(n, { emit: o }) {
6845
- const a = o, e = n, t = N(null), i = N([]), s = f(() => i.value.filter((z) => !z.read).length), d = f(() => s.value > 0), r = (z) => z.map((C) => ({
6845
+ const a = o, e = n, t = G(null), i = G([]), s = f(() => i.value.filter((z) => !z.read).length), d = f(() => s.value > 0), r = (z) => z.map((C) => ({
6846
6846
  ...C,
6847
6847
  read: !!C.read
6848
6848
  }));
6849
- ce(
6849
+ ve(
6850
6850
  () => e.items,
6851
6851
  (z) => {
6852
6852
  i.value = r(z);
@@ -6865,7 +6865,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
6865
6865
  }, m = (z) => {
6866
6866
  !e.modelValue || !e.closeOnEsc || z.key === "Escape" && (z.preventDefault(), v());
6867
6867
  };
6868
- ce(
6868
+ ve(
6869
6869
  () => e.modelValue,
6870
6870
  async (z) => {
6871
6871
  var C;
@@ -6897,7 +6897,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
6897
6897
  const z = i.value.map((C) => ({ ...C }));
6898
6898
  i.value = [], u(), a("clear", z);
6899
6899
  };
6900
- return (z, C) => (c(), ge(Le, { to: "body" }, [
6900
+ return (z, C) => (c(), be(Le, { to: "body" }, [
6901
6901
  ze(B("div", sn, [
6902
6902
  B("div", {
6903
6903
  class: "vf-notification-center__overlay",
@@ -6940,7 +6940,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
6940
6940
  ]),
6941
6941
  B("div", hn, [
6942
6942
  i.value.length ? (c(), b("ul", yn, [
6943
- (c(!0), b(fe, null, be(i.value, (g, w) => (c(), b("li", {
6943
+ (c(!0), b(fe, null, he(i.value, (g, w) => (c(), b("li", {
6944
6944
  key: String(g.id),
6945
6945
  class: ee(["vf-notification-center__item", { "is-unread": !g.read }]),
6946
6946
  "data-severity": g.severity || "neutral"
@@ -7002,7 +7002,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
7002
7002
  },
7003
7003
  emits: ["update:modelValue", "sidebar-toggle", "breakpoint-change"],
7004
7004
  setup(n, { emit: o }) {
7005
- const a = o, e = n, t = Xe(), i = f(() => !!t.footer), s = N(!!e.modelValue), d = N(!1), r = N(!1), u = f(() => ({
7005
+ const a = o, e = n, t = Xe(), i = f(() => !!t.footer), s = G(!!e.modelValue), d = G(!1), r = G(!1), u = f(() => ({
7006
7006
  "--vf-app-shell-sidebar-width-prop": e.sidebarWidth,
7007
7007
  "--vf-app-shell-sidebar-collapsed-width-prop": e.sidebarCollapsedWidth
7008
7008
  })), v = () => {
@@ -7027,7 +7027,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
7027
7027
  }, l = (_) => {
7028
7028
  !e.closeOnEsc || !r.value || _.key === "Escape" && (_.preventDefault(), $());
7029
7029
  };
7030
- return ce(
7030
+ return ve(
7031
7031
  () => e.modelValue,
7032
7032
  (_) => {
7033
7033
  s.value = !!_;
@@ -7113,7 +7113,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
7113
7113
  },
7114
7114
  emits: ["update:items", "move", "click"],
7115
7115
  setup(n, { emit: o }) {
7116
- const a = o, e = n, t = N([]), i = N(null), s = N(null), d = f(() => e.columns ?? []), r = (y) => y.map((z) => ({
7116
+ const a = o, e = n, t = G([]), i = G(null), s = G(null), d = f(() => e.columns ?? []), r = (y) => y.map((z) => ({
7117
7117
  ...z,
7118
7118
  tags: z.tags ? [...z.tags] : []
7119
7119
  })), u = (y) => t.value.filter((z) => String(z.columnId) === String(y)), v = (y, z, C) => {
@@ -7151,7 +7151,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
7151
7151
  const g = ((w = z.dataTransfer) == null ? void 0 : w.getData("text/plain")) || (i.value !== null ? String(i.value) : "");
7152
7152
  g && (p(g, y), l());
7153
7153
  };
7154
- return ce(
7154
+ return ve(
7155
7155
  () => e.items,
7156
7156
  (y) => {
7157
7157
  t.value = r(y);
@@ -7163,7 +7163,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
7163
7163
  "aria-label": y.ariaLabel || void 0
7164
7164
  }, [
7165
7165
  B("div", Pn, [
7166
- (c(!0), b(fe, null, be(d.value, (C) => (c(), b("section", {
7166
+ (c(!0), b(fe, null, he(d.value, (C) => (c(), b("section", {
7167
7167
  key: String(C.id),
7168
7168
  class: "vf-kanban-board__column",
7169
7169
  "data-column-id": String(C.id)
@@ -7183,7 +7183,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
7183
7183
  }, ["prevent"])),
7184
7184
  onDrop: ie((g) => k(C.id, g), ["prevent"])
7185
7185
  }, [
7186
- (c(!0), b(fe, null, be(u(C.id), (g, w) => (c(), b("li", {
7186
+ (c(!0), b(fe, null, he(u(C.id), (g, w) => (c(), b("li", {
7187
7187
  key: String(g.id),
7188
7188
  class: ee(["vf-kanban-board__item", {
7189
7189
  "is-dragging": i.value === g.id,
@@ -7210,7 +7210,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
7210
7210
  B("p", Gn, j(g.title), 1),
7211
7211
  g.description ? (c(), b("p", jn, j(g.description), 1)) : Q("", !0),
7212
7212
  (L = g.tags) != null && L.length ? (c(), b("div", Yn, [
7213
- (c(!0), b(fe, null, be(g.tags, (R) => (c(), b("span", {
7213
+ (c(!0), b(fe, null, he(g.tags, (R) => (c(), b("span", {
7214
7214
  key: R,
7215
7215
  class: "vf-kanban-board__tag"
7216
7216
  }, j(R), 1))), 128))
@@ -7251,7 +7251,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
7251
7251
  setup(n) {
7252
7252
  const o = n;
7253
7253
  let a = 0;
7254
- const e = N(null), t = N(null), i = N(!1), s = N("top"), d = `vf-tooltip-${++a}`;
7254
+ const e = G(null), t = G(null), i = G(!1), s = G("top"), d = `vf-tooltip-${++a}`;
7255
7255
  let r = null;
7256
7256
  const u = () => {
7257
7257
  o.disabled || (i.value = !0);
@@ -7285,7 +7285,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
7285
7285
  }
7286
7286
  }, r.update();
7287
7287
  };
7288
- ce(i, async ($) => {
7288
+ ve(i, async ($) => {
7289
7289
  if (!$) {
7290
7290
  r && (r.destroy(), r = null);
7291
7291
  return;
@@ -7297,7 +7297,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
7297
7297
  r == null || r.destroy(), r = null;
7298
7298
  });
7299
7299
  const m = f(() => !!o.text || !!(t.value && t.value.textContent));
7300
- return ce(m, ($) => {
7300
+ return ve(m, ($) => {
7301
7301
  $ || (i.value = !1);
7302
7302
  }), ($, l) => (c(), b(fe, null, [
7303
7303
  B("span", {
@@ -7312,7 +7312,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
7312
7312
  }, [
7313
7313
  Y($.$slots, "default")
7314
7314
  ], 544),
7315
- (c(), ge(Le, { to: "body" }, [
7315
+ (c(), be(Le, { to: "body" }, [
7316
7316
  ze(B("div", {
7317
7317
  id: d,
7318
7318
  ref_key: "panel",
@@ -7367,7 +7367,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
7367
7367
  },
7368
7368
  emits: ["update:modelValue", "open", "close", "stepChange", "next", "prev", "complete", "skip"],
7369
7369
  setup(n, { emit: o }) {
7370
- const a = o, e = n, t = N(null), i = N(0), s = N("bottom"), d = N({}), r = N(null);
7370
+ const a = o, e = n, t = G(null), i = G(0), s = G("bottom"), d = G({}), r = G(null);
7371
7371
  let u = null;
7372
7372
  const v = f(() => e.steps.length), p = f(() => {
7373
7373
  if (v.value)
@@ -7447,13 +7447,13 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
7447
7447
  }, T = (D) => {
7448
7448
  !e.modelValue || !e.closeOnEsc || D.key === "Escape" && (D.preventDefault(), w("esc"));
7449
7449
  };
7450
- return ce(
7450
+ return ve(
7451
7451
  () => e.modelValue,
7452
7452
  async (D) => {
7453
7453
  D ? (i.value = _(e.startIndex), a("open"), a("stepChange", i.value, p.value), await g(), document.addEventListener("keydown", T, !1)) : (u == null || u.destroy(), u = null, d.value = {}, r.value = null, document.removeEventListener("keydown", T, !1));
7454
7454
  },
7455
7455
  { immediate: !0 }
7456
- ), ce(
7456
+ ), ve(
7457
7457
  () => [i.value, e.steps],
7458
7458
  async () => {
7459
7459
  e.modelValue && await g();
@@ -7463,7 +7463,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
7463
7463
  u == null || u.destroy(), u = null, typeof document < "u" && document.removeEventListener("keydown", T, !1);
7464
7464
  }), (D, M) => {
7465
7465
  var S, F;
7466
- return c(), ge(Le, { to: "body" }, [
7466
+ return c(), be(Le, { to: "body" }, [
7467
7467
  ze(B("div", es, [
7468
7468
  B("div", {
7469
7469
  class: "vf-tour__overlay",
@@ -7783,7 +7783,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
7783
7783
  "aria-label": v.ariaLabel || void 0,
7784
7784
  "aria-labelledby": v.ariaLabelledby || void 0
7785
7785
  }, [
7786
- (c(!0), b(fe, null, be(v.options, (m) => (c(), b("button", {
7786
+ (c(!0), b(fe, null, he(v.options, (m) => (c(), b("button", {
7787
7787
  key: String(m.value),
7788
7788
  class: ee(["vf-filter-chips__chip", { "is-active": d(m.value) }]),
7789
7789
  type: "button",
@@ -7818,7 +7818,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
7818
7818
  status: { default: void 0 }
7819
7819
  },
7820
7820
  setup(n) {
7821
- const o = n, a = N(!1), e = (u) => {
7821
+ const o = n, a = G(!1), e = (u) => {
7822
7822
  const v = u.trim();
7823
7823
  if (!v)
7824
7824
  return "";
@@ -7832,7 +7832,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
7832
7832
  }), d = f(() => [`vf-avatar_size-${o.size}`, `vf-avatar_shape-${o.shape}`]), r = () => {
7833
7833
  a.value = !0;
7834
7834
  };
7835
- return ce(
7835
+ return ve(
7836
7836
  () => o.src,
7837
7837
  () => {
7838
7838
  a.value = !1;
@@ -7942,7 +7942,8 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
7942
7942
  selection: { default: null },
7943
7943
  bulkActions: { default: () => [] },
7944
7944
  selectAllAriaLabel: { default: "Select all rows" },
7945
- selectRowAriaLabel: { default: "Select row" }
7945
+ selectRowAriaLabel: { default: "Select row" },
7946
+ stickyHeader: { type: Boolean, default: !1 }
7946
7947
  },
7947
7948
  emits: [
7948
7949
  "update:sortField",
@@ -7960,58 +7961,58 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
7960
7961
  "bulkAction"
7961
7962
  ],
7962
7963
  setup(n, { expose: o, emit: a }) {
7963
- const e = n, t = a, i = N(e.sortField ?? null), s = N(e.sortOrder ?? null), d = N(Math.max(1, e.page ?? 1)), r = N(Math.max(1, e.pageSize ?? 10)), u = N({ ...e.filters ?? {} }), v = N(e.selection ?? null);
7964
- ce(
7964
+ const e = n, t = a, i = G(e.sortField ?? null), s = G(e.sortOrder ?? null), d = G(Math.max(1, e.page ?? 1)), r = G(Math.max(1, e.pageSize ?? 10)), u = G({ ...e.filters ?? {} }), v = G(e.selection ?? null);
7965
+ ve(
7965
7966
  () => e.sortField,
7966
- (G) => {
7967
- i.value = G ?? null;
7967
+ (N) => {
7968
+ i.value = N ?? null;
7968
7969
  }
7969
- ), ce(
7970
+ ), ve(
7970
7971
  () => e.sortOrder,
7971
- (G) => {
7972
- s.value = G ?? null;
7972
+ (N) => {
7973
+ s.value = N ?? null;
7973
7974
  }
7974
- ), ce(
7975
+ ), ve(
7975
7976
  () => e.page,
7976
- (G) => {
7977
- d.value = Math.max(1, G ?? 1);
7977
+ (N) => {
7978
+ d.value = Math.max(1, N ?? 1);
7978
7979
  }
7979
- ), ce(
7980
+ ), ve(
7980
7981
  () => e.pageSize,
7981
- (G) => {
7982
- r.value = Math.max(1, G ?? 10);
7982
+ (N) => {
7983
+ r.value = Math.max(1, N ?? 10);
7983
7984
  }
7984
- ), ce(
7985
+ ), ve(
7985
7986
  () => e.filters,
7986
- (G) => {
7987
- u.value = { ...G ?? {} };
7987
+ (N) => {
7988
+ u.value = { ...N ?? {} };
7988
7989
  },
7989
7990
  { deep: !0 }
7990
- ), ce(
7991
+ ), ve(
7991
7992
  () => e.selection,
7992
- (G) => {
7993
- v.value = G ?? null;
7993
+ (N) => {
7994
+ v.value = N ?? null;
7994
7995
  },
7995
7996
  { deep: !0 }
7996
7997
  );
7997
7998
  const p = f(() => i.value), m = f(() => s.value), $ = f(() => d.value), l = f(() => r.value), _ = f(() => u.value), k = f(() => e.selectionMode === "single" || e.selectionMode === "multiple"), y = f(() => Math.max(1, e.columns.length + (k.value ? 1 : 0))), z = f(() => e.selectionMode === "single" ? v.value == null ? [] : [v.value] : e.selectionMode === "multiple" ? Array.isArray(v.value) ? v.value : [] : []), C = f(() => {
7998
- const G = new Set(z.value);
7999
+ const N = new Set(z.value);
7999
8000
  return (e.rows ?? []).filter((oe, le) => {
8000
- const he = T(oe, le);
8001
- return G.has(he);
8001
+ const ge = T(oe, le);
8002
+ return N.has(ge);
8002
8003
  });
8003
8004
  }), g = f(() => {
8004
8005
  if (e.selectionMode !== "multiple" || !I.value.length)
8005
8006
  return !1;
8006
- const G = new Set(z.value);
8007
- return I.value.every((oe, le) => G.has(T(oe, le)));
8008
- }), w = f(() => !(e.selectionMode !== "multiple" || z.value.length === 0)), L = (G) => G.sortable === !1 ? !1 : G.sortable === !0 ? !0 : e.sortable, R = (G, oe) => G == null && oe == null ? 0 : G == null ? -1 : oe == null ? 1 : typeof G == "number" && typeof oe == "number" ? G - oe : String(G).localeCompare(String(oe)), I = f(() => {
8009
- const G = e.rows ?? [];
8007
+ const N = new Set(z.value);
8008
+ return I.value.every((oe, le) => N.has(T(oe, le)));
8009
+ }), w = f(() => !(e.selectionMode !== "multiple" || z.value.length === 0)), L = (N) => N.sortable === !1 ? !1 : N.sortable === !0 ? !0 : e.sortable, R = (N, oe) => N == null && oe == null ? 0 : N == null ? -1 : oe == null ? 1 : typeof N == "number" && typeof oe == "number" ? N - oe : String(N).localeCompare(String(oe)), I = f(() => {
8010
+ const N = e.rows ?? [];
8010
8011
  if (e.server)
8011
- return G;
8012
+ return N;
8012
8013
  const oe = p.value, le = m.value;
8013
- return !oe || !le ? G : [...G].sort((he, J) => {
8014
- const ue = he == null ? void 0 : he[oe], ve = J == null ? void 0 : J[oe], _e = R(ue, ve);
8014
+ return !oe || !le ? N : [...N].sort((ge, J) => {
8015
+ const ue = ge == null ? void 0 : ge[oe], ce = J == null ? void 0 : J[oe], _e = R(ue, ce);
8015
8016
  return le === "asc" ? _e : -_e;
8016
8017
  });
8017
8018
  }), O = () => ({
@@ -8021,34 +8022,34 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
8021
8022
  pageSize: l.value,
8022
8023
  filters: { ..._.value }
8023
8024
  }), E = f(() => {
8024
- const G = ["vf-datatable", `vf-datatable_${e.variant}`];
8025
- return e.size !== "normal" && G.push(`vf-datatable_${e.size}`), e.striped && G.push("vf-datatable_striped"), e.hover && G.push("vf-datatable_hover"), G;
8026
- }), T = (G, oe) => {
8025
+ const N = ["vf-datatable", `vf-datatable_${e.variant}`];
8026
+ return e.size !== "normal" && N.push(`vf-datatable_${e.size}`), e.striped && N.push("vf-datatable_striped"), e.hover && N.push("vf-datatable_hover"), e.stickyHeader && N.push("vf-datatable_sticky-header"), N;
8027
+ }), T = (N, oe) => {
8027
8028
  if (typeof e.rowKey == "function")
8028
- return e.rowKey(G, oe);
8029
+ return e.rowKey(N, oe);
8029
8030
  if (e.rowKey && typeof e.rowKey == "string") {
8030
- const le = G == null ? void 0 : G[e.rowKey];
8031
+ const le = N == null ? void 0 : N[e.rowKey];
8031
8032
  return typeof le == "string" || typeof le == "number" ? le : oe;
8032
8033
  }
8033
8034
  return oe;
8034
- }, D = (G) => {
8035
- v.value = G, t("update:selection", G), t("selectionChange", G, C.value);
8036
- }, M = (G, oe) => {
8037
- const le = T(G, oe);
8035
+ }, D = (N) => {
8036
+ v.value = N, t("update:selection", N), t("selectionChange", N, C.value);
8037
+ }, M = (N, oe) => {
8038
+ const le = T(N, oe);
8038
8039
  return e.selectionMode === "single" ? v.value === le : e.selectionMode === "multiple" ? (Array.isArray(v.value) ? v.value : []).includes(le) : !1;
8039
- }, S = (G, oe) => {
8040
- const le = T(G, oe);
8040
+ }, S = (N, oe) => {
8041
+ const le = T(N, oe);
8041
8042
  return `${e.selectRowAriaLabel} ${String(le)}`;
8042
- }, F = (G, oe) => {
8043
- const le = T(G, oe);
8043
+ }, F = (N, oe) => {
8044
+ const le = T(N, oe);
8044
8045
  if (e.selectionMode === "single") {
8045
- const he = v.value === le ? null : le;
8046
- D(he);
8046
+ const ge = v.value === le ? null : le;
8047
+ D(ge);
8047
8048
  return;
8048
8049
  }
8049
8050
  if (e.selectionMode === "multiple") {
8050
- const he = Array.isArray(v.value) ? [...v.value] : [], J = he.indexOf(le);
8051
- J >= 0 ? he.splice(J, 1) : he.push(le), D(he);
8051
+ const ge = Array.isArray(v.value) ? [...v.value] : [], J = ge.indexOf(le);
8052
+ J >= 0 ? ge.splice(J, 1) : ge.push(le), D(ge);
8052
8053
  }
8053
8054
  }, A = () => {
8054
8055
  if (e.selectionMode !== "multiple")
@@ -8057,47 +8058,58 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
8057
8058
  D([]);
8058
8059
  return;
8059
8060
  }
8060
- const G = I.value.map((oe, le) => T(oe, le));
8061
- D(G);
8062
- }, Z = (G, oe) => G == null ? void 0 : G[oe.field], x = (G, oe) => {
8063
- const le = Z(G, oe);
8064
- return oe.formatter ? oe.formatter(G, le, oe) : le ?? "";
8065
- }, W = (G) => {
8066
- if (!L(G))
8067
- return;
8068
- let oe = G.field, le = "asc";
8069
- p.value === G.field && (m.value === "asc" ? le = "desc" : m.value === "desc" ? (oe = null, le = null) : le = "asc"), i.value = oe, s.value = le, t("update:sortField", oe), t("update:sortOrder", le), t("sort", oe, le), e.server && t("request", O());
8070
- }, h = (G) => p.value !== G.field ? "↕" : m.value === "asc" ? "↑" : "↓", P = (G) => p.value !== G.field ? "" : "is-active", K = (G) => {
8071
- if (L(G))
8072
- return p.value !== G.field ? "none" : m.value === "asc" ? "ascending" : "descending";
8073
- }, H = (G) => {
8061
+ const N = I.value.map((oe, le) => T(oe, le));
8062
+ D(N);
8063
+ }, Z = (N, oe) => N == null ? void 0 : N[oe.field], x = (N, oe) => {
8064
+ const le = Z(N, oe);
8065
+ return oe.formatter ? oe.formatter(N, le, oe) : le ?? "";
8066
+ }, W = (N) => {
8067
+ if (!L(N))
8068
+ return;
8069
+ let oe = N.field, le = "asc";
8070
+ p.value === N.field && (m.value === "asc" ? le = "desc" : m.value === "desc" ? (oe = null, le = null) : le = "asc"), i.value = oe, s.value = le, t("update:sortField", oe), t("update:sortOrder", le), t("sort", oe, le), e.server && t("request", O());
8071
+ }, h = (N) => p.value !== N.field ? "↕" : m.value === "asc" ? "↑" : "↓", P = (N) => p.value !== N.field ? "" : "is-active", K = (N) => {
8072
+ if (L(N))
8073
+ return p.value !== N.field ? "none" : m.value === "asc" ? "ascending" : "descending";
8074
+ }, H = (N) => {
8074
8075
  const oe = [];
8075
- return e.striped && G % 2 === 1 && oe.push("vf-datatable__row_striped"), oe;
8076
- }, V = (G) => {
8076
+ return e.striped && N % 2 === 1 && oe.push("vf-datatable__row_striped"), oe;
8077
+ }, V = (N) => {
8077
8078
  const oe = [];
8078
- return G.align && oe.push(`vf-datatable__cell_${G.align}`), L(G) && oe.push("vf-datatable__header_sortable"), oe;
8079
- }, q = (G) => {
8079
+ return N.align && oe.push(`vf-datatable__cell_${N.align}`), L(N) && oe.push("vf-datatable__header_sortable"), N.sticky && oe.push(`vf-datatable__cell_sticky-${N.sticky}`), oe;
8080
+ }, q = (N) => {
8080
8081
  const oe = [];
8081
- return G.align && oe.push(`vf-datatable__cell_${G.align}`), oe;
8082
- }, ae = (G) => {
8082
+ return N.align && oe.push(`vf-datatable__cell_${N.align}`), N.sticky && oe.push(`vf-datatable__cell_sticky-${N.sticky}`), oe;
8083
+ }, ae = (N) => {
8083
8084
  const oe = {};
8084
- return G.width && (oe.width = G.width), G.minWidth && (oe.minWidth = G.minWidth), oe;
8085
- }, se = (G, oe, le) => {
8086
- t("rowClick", G, oe, le);
8087
- }, U = (G) => {
8088
- const oe = Math.max(1, Number(G) || 1);
8085
+ if (N.width && (oe.width = N.width), N.minWidth && (oe.minWidth = N.minWidth), N.sticky) {
8086
+ oe.position = "sticky", oe.backgroundColor = "var(--vf-datatable-row-background-color)", oe.zIndex = "1";
8087
+ const le = e.columns.filter((ce) => ce.sticky === N.sticky), ge = le.findIndex((ce) => ce.field === N.field), ue = (N.sticky === "left" ? le.slice(0, ge) : le.slice(ge + 1)).reduce((ce, _e) => {
8088
+ const Be = _e.width ?? _e.minWidth;
8089
+ if (!Be || !Be.endsWith("px"))
8090
+ return ce;
8091
+ const xe = Number.parseFloat(Be);
8092
+ return Number.isFinite(xe) ? ce + xe : ce;
8093
+ }, 0);
8094
+ N.sticky === "left" ? oe.left = `${ue}px` : oe.right = `${ue}px`;
8095
+ }
8096
+ return oe;
8097
+ }, se = (N, oe, le) => {
8098
+ t("rowClick", N, oe, le);
8099
+ }, U = (N) => {
8100
+ const oe = Math.max(1, Number(N) || 1);
8089
8101
  d.value = oe, t("update:page", oe), t("page", oe), e.server && t("request", O());
8090
- }, X = (G) => {
8091
- const oe = Math.max(1, Number(G) || 1);
8102
+ }, X = (N) => {
8103
+ const oe = Math.max(1, Number(N) || 1);
8092
8104
  r.value = oe, t("update:pageSize", oe), t("page", $.value), e.server && t("request", O());
8093
- }, re = (G) => {
8094
- u.value = { ...G ?? {} }, t("update:filters", { ...u.value }), t("filter", { ...u.value }), e.server && t("request", O());
8105
+ }, re = (N) => {
8106
+ u.value = { ...N ?? {} }, t("update:filters", { ...u.value }), t("filter", { ...u.value }), e.server && t("request", O());
8095
8107
  }, de = () => {
8096
8108
  re({});
8097
8109
  }, ye = () => {
8098
8110
  D(e.selectionMode === "multiple" ? [] : null);
8099
- }, te = (G) => {
8100
- t("bulkAction", G, z.value, C.value);
8111
+ }, te = (N) => {
8112
+ t("bulkAction", N, z.value, C.value);
8101
8113
  };
8102
8114
  return o({
8103
8115
  setPage: U,
@@ -8109,11 +8121,11 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
8109
8121
  getSelectedKeys: () => [...z.value],
8110
8122
  getSelectedRows: () => [...C.value],
8111
8123
  applyBulkAction: te
8112
- }), (G, oe) => (c(), b("div", {
8124
+ }), (N, oe) => (c(), b("div", {
8113
8125
  class: ee(E.value)
8114
8126
  }, [
8115
8127
  w.value ? (c(), b("div", Ls, [
8116
- Y(G.$slots, "bulk-actions", {
8128
+ Y(N.$slots, "bulk-actions", {
8117
8129
  selectedKeys: z.value,
8118
8130
  selectedRows: C.value,
8119
8131
  clearSelection: ye,
@@ -8121,12 +8133,12 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
8121
8133
  }, () => [
8122
8134
  B("div", Vs, [
8123
8135
  B("span", Fs, j(z.value.length) + " selected", 1),
8124
- (c(!0), b(fe, null, be(G.bulkActions, (le) => (c(), b("button", {
8136
+ (c(!0), b(fe, null, he(N.bulkActions, (le) => (c(), b("button", {
8125
8137
  key: le.value,
8126
8138
  type: "button",
8127
8139
  class: "vf-datatable__bulk-action",
8128
8140
  disabled: le.disabled,
8129
- onClick: (he) => te(le.value)
8141
+ onClick: (ge) => te(le.value)
8130
8142
  }, j(le.label), 9, Ts))), 128)),
8131
8143
  B("button", {
8132
8144
  type: "button",
@@ -8138,21 +8150,21 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
8138
8150
  ])) : Q("", !0),
8139
8151
  B("table", {
8140
8152
  class: "vf-datatable__table",
8141
- "aria-label": G.ariaLabel
8153
+ "aria-label": N.ariaLabel
8142
8154
  }, [
8143
- G.showHeader ? (c(), b("thead", Ds, [
8155
+ N.showHeader ? (c(), b("thead", Ds, [
8144
8156
  B("tr", Ms, [
8145
8157
  k.value ? (c(), b("th", Rs, [
8146
- G.selectionMode === "multiple" ? (c(), b("input", {
8158
+ N.selectionMode === "multiple" ? (c(), b("input", {
8147
8159
  key: 0,
8148
8160
  type: "checkbox",
8149
8161
  class: "vf-datatable__selection-control",
8150
8162
  checked: g.value,
8151
- "aria-label": G.selectAllAriaLabel,
8163
+ "aria-label": N.selectAllAriaLabel,
8152
8164
  onChange: A
8153
8165
  }, null, 40, Ps)) : Q("", !0)
8154
8166
  ])) : Q("", !0),
8155
- (c(!0), b(fe, null, be(G.columns, (le) => (c(), b("th", {
8167
+ (c(!0), b(fe, null, he(N.columns, (le) => (c(), b("th", {
8156
8168
  key: le.field,
8157
8169
  class: ee(["vf-datatable__header", V(le)]),
8158
8170
  style: ke(ae(le)),
@@ -8163,10 +8175,10 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
8163
8175
  key: 0,
8164
8176
  type: "button",
8165
8177
  class: "vf-datatable__sort-button",
8166
- onClick: (he) => W(le)
8178
+ onClick: (ge) => W(le)
8167
8179
  }, [
8168
8180
  B("span", As, [
8169
- G.$slots[`header-${le.field}`] ? Y(G.$slots, `header-${le.field}`, {
8181
+ N.$slots[`header-${le.field}`] ? Y(N.$slots, `header-${le.field}`, {
8170
8182
  key: 0,
8171
8183
  column: le
8172
8184
  }) : (c(), b(fe, { key: 1 }, [
@@ -8177,7 +8189,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
8177
8189
  class: ee(["vf-datatable__sort-icon", P(le)])
8178
8190
  }, j(h(le)), 3)
8179
8191
  ], 8, Os)) : (c(), b("span", Hs, [
8180
- G.$slots[`header-${le.field}`] ? Y(G.$slots, `header-${le.field}`, {
8192
+ N.$slots[`header-${le.field}`] ? Y(N.$slots, `header-${le.field}`, {
8181
8193
  key: 0,
8182
8194
  column: le
8183
8195
  }) : (c(), b(fe, { key: 1 }, [
@@ -8188,43 +8200,43 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
8188
8200
  ])
8189
8201
  ])) : Q("", !0),
8190
8202
  B("tbody", Ws, [
8191
- G.loading ? (c(), b("tr", Ks, [
8203
+ N.loading ? (c(), b("tr", Ks, [
8192
8204
  B("td", {
8193
8205
  class: "vf-datatable__cell vf-datatable__cell_state",
8194
8206
  colspan: y.value
8195
8207
  }, [
8196
- Y(G.$slots, "loading", {}, () => [
8197
- me(j(G.loadingText), 1)
8208
+ Y(N.$slots, "loading", {}, () => [
8209
+ me(j(N.loadingText), 1)
8198
8210
  ])
8199
8211
  ], 8, Ns)
8200
- ])) : I.value.length ? (c(!0), b(fe, { key: 2 }, be(I.value, (le, he) => (c(), b("tr", {
8201
- key: T(le, he),
8202
- class: ee(["vf-datatable__row", H(he)]),
8203
- onClick: (J) => se(le, he, J)
8212
+ ])) : I.value.length ? (c(!0), b(fe, { key: 2 }, he(I.value, (le, ge) => (c(), b("tr", {
8213
+ key: T(le, ge),
8214
+ class: ee(["vf-datatable__row", H(ge)]),
8215
+ onClick: (J) => se(le, ge, J)
8204
8216
  }, [
8205
8217
  k.value ? (c(), b("td", qs, [
8206
8218
  B("input", {
8207
- type: G.selectionMode === "multiple" ? "checkbox" : "radio",
8219
+ type: N.selectionMode === "multiple" ? "checkbox" : "radio",
8208
8220
  name: "vf-datatable-selection",
8209
8221
  class: "vf-datatable__selection-control",
8210
- checked: M(le, he),
8211
- "aria-label": S(le, he),
8222
+ checked: M(le, ge),
8223
+ "aria-label": S(le, ge),
8212
8224
  onClick: oe[0] || (oe[0] = ie(() => {
8213
8225
  }, ["stop"])),
8214
- onChange: (J) => F(le, he)
8226
+ onChange: (J) => F(le, ge)
8215
8227
  }, null, 40, Xs)
8216
8228
  ])) : Q("", !0),
8217
- (c(!0), b(fe, null, be(G.columns, (J) => (c(), b("td", {
8229
+ (c(!0), b(fe, null, he(N.columns, (J) => (c(), b("td", {
8218
8230
  key: J.field,
8219
8231
  class: ee(["vf-datatable__cell", q(J)]),
8220
8232
  style: ke(ae(J))
8221
8233
  }, [
8222
- G.$slots[`cell-${J.field}`] ? Y(G.$slots, `cell-${J.field}`, {
8234
+ N.$slots[`cell-${J.field}`] ? Y(N.$slots, `cell-${J.field}`, {
8223
8235
  key: 0,
8224
8236
  row: le,
8225
8237
  column: J,
8226
8238
  value: Z(le, J),
8227
- index: he
8239
+ index: ge
8228
8240
  }) : (c(), b(fe, { key: 1 }, [
8229
8241
  me(j(x(le, J)), 1)
8230
8242
  ], 64))
@@ -8234,8 +8246,8 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
8234
8246
  class: "vf-datatable__cell vf-datatable__cell_state",
8235
8247
  colspan: y.value
8236
8248
  }, [
8237
- Y(G.$slots, "empty", {}, () => [
8238
- me(j(G.emptyText), 1)
8249
+ Y(N.$slots, "empty", {}, () => [
8250
+ me(j(N.emptyText), 1)
8239
8251
  ])
8240
8252
  ], 8, js)
8241
8253
  ]))
@@ -8374,7 +8386,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
8374
8386
  }, null, 44, Zs)) : Q("", !0)
8375
8387
  ]),
8376
8388
  M.value.length ? (c(), b("div", Js, [
8377
- (c(!0), b(fe, null, be(M.value, (h) => (c(), b("span", {
8389
+ (c(!0), b(fe, null, he(M.value, (h) => (c(), b("span", {
8378
8390
  key: h.value,
8379
8391
  class: "vf-slider__mark",
8380
8392
  style: ke(S(h.value))
@@ -8398,7 +8410,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
8398
8410
  setup(n, { emit: o }) {
8399
8411
  const a = n, e = o;
8400
8412
  let t = 0;
8401
- const i = N(null), s = N([]), d = N([]), r = N(null), u = (x) => typeof x == "number" ? `${x}px` : x, v = (x) => typeof x == "number" && Number.isFinite(x) && x > 0, p = (x, W, h) => Math.min(h, Math.max(W, x)), m = (x, W = 4) => {
8413
+ const i = G(null), s = G([]), d = G([]), r = G(null), u = (x) => typeof x == "number" ? `${x}px` : x, v = (x) => typeof x == "number" && Number.isFinite(x) && x > 0, p = (x, W, h) => Math.min(h, Math.max(W, x)), m = (x, W = 4) => {
8402
8414
  const h = 10 ** W;
8403
8415
  return Math.round(x * h) / h;
8404
8416
  }, $ = (x) => {
@@ -8549,13 +8561,13 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
8549
8561
  registerPanel: A,
8550
8562
  unregisterPanel: Z,
8551
8563
  getPanelStyle: L
8552
- }), ce(
8564
+ }), ve(
8553
8565
  () => a.modelValue,
8554
8566
  () => {
8555
8567
  r.value === null && a.modelValue.length === s.value.length && a.modelValue.every(v) && (d.value = l($(a.modelValue), k()));
8556
8568
  },
8557
8569
  { deep: !0 }
8558
- ), ce(
8570
+ ), ve(
8559
8571
  () => a.minSizes,
8560
8572
  () => {
8561
8573
  d.value = l($(d.value), k());
@@ -8569,7 +8581,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
8569
8581
  class: ee(z.value)
8570
8582
  }, [
8571
8583
  Y(x.$slots, "default"),
8572
- (c(!0), b(fe, null, be(C.value, (h, P) => (c(), b("div", {
8584
+ (c(!0), b(fe, null, he(C.value, (h, P) => (c(), b("div", {
8573
8585
  key: `gutter-${P}`,
8574
8586
  class: ee(["vf-splitter__gutter", { "is-dragging": r.value === P }]),
8575
8587
  style: ke(I(P)),
@@ -8663,11 +8675,11 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
8663
8675
  "aria-labelledby": g.ariaLabelledby || void 0
8664
8676
  }, [
8665
8677
  B("ol", ri, [
8666
- (c(!0), b(fe, null, be(t.value, (L, R) => (c(), b("li", {
8678
+ (c(!0), b(fe, null, he(t.value, (L, R) => (c(), b("li", {
8667
8679
  key: C(L, R),
8668
8680
  class: ee(["vf-stepper__item", l(L, R)])
8669
8681
  }, [
8670
- (c(), ge(Ye(_(L)), {
8682
+ (c(), be(Ye(_(L)), {
8671
8683
  class: "vf-stepper__button",
8672
8684
  type: k(L),
8673
8685
  disabled: y(L),
@@ -8744,7 +8756,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
8744
8756
  setup(n, { emit: o }) {
8745
8757
  const a = o, e = n;
8746
8758
  let t = 0;
8747
- const i = ++t, s = N(void 0), d = N({}), r = f(() => e.steps ?? []), u = f(() => s.value === void 0 ? -1 : r.value.findIndex((S) => S.value === s.value)), v = f(() => {
8759
+ const i = ++t, s = G(void 0), d = G({}), r = f(() => e.steps ?? []), u = f(() => s.value === void 0 ? -1 : r.value.findIndex((S) => S.value === s.value)), v = f(() => {
8748
8760
  if (!(u.value < 0))
8749
8761
  return r.value[u.value];
8750
8762
  }), p = f(() => u.value <= 0), m = f(() => u.value >= r.value.length - 1), $ = f(() => {
@@ -8795,14 +8807,14 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
8795
8807
  }, M = async (S) => {
8796
8808
  e.disabled || S === u.value || await O(S, S > u.value ? "next" : "prev");
8797
8809
  };
8798
- return ce(
8810
+ return ve(
8799
8811
  () => e.steps,
8800
8812
  () => {
8801
8813
  const S = L();
8802
8814
  S !== void 0 && !r.value.some((F) => F.value === s.value) && (s.value = S);
8803
8815
  },
8804
8816
  { deep: !0, immediate: !0 }
8805
- ), ce(
8817
+ ), ve(
8806
8818
  () => e.modelValue,
8807
8819
  (S) => {
8808
8820
  S === void 0 || S === s.value || r.value.some((F) => F.value === S && !F.disabled) && (s.value = S);
@@ -8819,7 +8831,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
8819
8831
  }, [
8820
8832
  B("nav", vi, [
8821
8833
  B("ol", fi, [
8822
- (c(!0), b(fe, null, be(r.value, (A, Z) => (c(), b("li", {
8834
+ (c(!0), b(fe, null, he(r.value, (A, Z) => (c(), b("li", {
8823
8835
  key: String(A.value),
8824
8836
  class: ee(["vf-wizard__item", g(A, Z)])
8825
8837
  }, [
@@ -8933,7 +8945,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
8933
8945
  "aria-labelledby": i.ariaLabelledby || void 0
8934
8946
  }, [
8935
8947
  B("ol", $i, [
8936
- (c(!0), b(fe, null, be(a.value, (d, r) => (c(), b("li", {
8948
+ (c(!0), b(fe, null, he(a.value, (d, r) => (c(), b("li", {
8937
8949
  key: t(d, r),
8938
8950
  class: "vf-timeline__item",
8939
8951
  "data-status": d.status ?? "neutral"
@@ -8944,7 +8956,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
8944
8956
  item: d,
8945
8957
  index: r
8946
8958
  }, () => [
8947
- d.icon ? (c(), ge(We(Ne), {
8959
+ d.icon ? (c(), be(We(Ne), {
8948
8960
  key: 0,
8949
8961
  icon: d.icon
8950
8962
  }, null, 8, ["icon"])) : (c(), b("span", xi))
@@ -8979,7 +8991,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
8979
8991
  },
8980
8992
  emits: ["update:modelValue", "change", "focus", "blur"],
8981
8993
  setup(n, { emit: o }) {
8982
- const a = o, e = n, t = N(null), i = N(null), s = N([]), d = f(() => e.allowHalf ? 0.5 : 1), r = f(() => Math.max(1, Math.floor(e.max))), u = f(() => Array.from({ length: r.value }, (T, D) => D + 1)), v = f(() => {
8994
+ const a = o, e = n, t = G(null), i = G(null), s = G([]), d = f(() => e.allowHalf ? 0.5 : 1), r = f(() => Math.max(1, Math.floor(e.max))), u = f(() => Array.from({ length: r.value }, (T, D) => D + 1)), v = f(() => {
8983
8995
  const T = t.value ?? e.modelValue ?? 0, D = Math.min(r.value, Math.max(0, T));
8984
8996
  return e.allowHalf ? Math.round(D * 2) / 2 : Math.round(D);
8985
8997
  }), p = f(() => {
@@ -9071,7 +9083,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
9071
9083
  onMousemove: y,
9072
9084
  onMouseleave: z
9073
9085
  }, [
9074
- (c(!0), b(fe, null, be(u.value, (M) => (c(), b("button", {
9086
+ (c(!0), b(fe, null, he(u.value, (M) => (c(), b("button", {
9075
9087
  key: M,
9076
9088
  ref_for: !0,
9077
9089
  ref_key: "itemRefs",
@@ -9258,7 +9270,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
9258
9270
  ])
9259
9271
  ], 46, Oi),
9260
9272
  a.value && i.value ? (c(), b("ul", Ki, [
9261
- (c(!0), b(fe, null, be(l.node.children, (y) => (c(), ge(k, {
9273
+ (c(!0), b(fe, null, he(l.node.children, (y) => (c(), be(k, {
9262
9274
  key: y.key,
9263
9275
  node: y,
9264
9276
  level: l.level + 1,
@@ -9328,7 +9340,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
9328
9340
  "aria-labelledby": l.ariaLabelledby || void 0
9329
9341
  }, [
9330
9342
  B("ul", ji, [
9331
- (c(!0), b(fe, null, be(l.items, (k) => (c(), ge(Ni, {
9343
+ (c(!0), b(fe, null, he(l.items, (k) => (c(), be(Ni, {
9332
9344
  key: k.key,
9333
9345
  node: k,
9334
9346
  level: 1,
@@ -9393,7 +9405,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
9393
9405
  ],
9394
9406
  setup(n, { emit: o }) {
9395
9407
  let a = 0;
9396
- const e = o, t = n, i = N(null), s = N(null), d = N(null), r = N(null), u = N(!1), v = N(""), p = N("bottom"), m = N("bottom"), $ = `vf-treeselect-panel-${++a}`;
9408
+ const e = o, t = n, i = G(null), s = G(null), d = G(null), r = G(null), u = G(!1), v = G(""), p = G("bottom"), m = G("bottom"), $ = `vf-treeselect-panel-${++a}`;
9397
9409
  let l = null;
9398
9410
  const _ = (H) => Array.isArray(H) ? H : H == null ? [] : [H], k = (H) => {
9399
9411
  const V = [], q = (ae) => {
@@ -9494,13 +9506,13 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
9494
9506
  }
9495
9507
  }, l.update();
9496
9508
  };
9497
- return ce(u, async (H) => {
9509
+ return ve(u, async (H) => {
9498
9510
  if (!H) {
9499
9511
  l && (l.destroy(), l = null);
9500
9512
  return;
9501
9513
  }
9502
9514
  await $e(), l || K(), l == null || l.update();
9503
- }), ce(
9515
+ }), ve(
9504
9516
  () => [t.items, v.value, t.expandedKeys],
9505
9517
  () => {
9506
9518
  l == null || l.update();
@@ -9548,7 +9560,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
9548
9560
  "aria-label": "Clear selection",
9549
9561
  onClick: ie(Z, ["stop"])
9550
9562
  }, " ✕ ")) : Q("", !0),
9551
- (c(), ge(Le, { to: "body" }, [
9563
+ (c(), be(Le, { to: "body" }, [
9552
9564
  ze(B("div", {
9553
9565
  id: $,
9554
9566
  ref_key: "panel",
@@ -9568,7 +9580,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
9568
9580
  onKeydown: pe(ie(O, ["prevent"]), ["esc"])
9569
9581
  }, null, 40, Qi)
9570
9582
  ])) : Q("", !0),
9571
- H.loading ? (c(), b("div", Zi, j(H.loadingText), 1)) : R.value.length > 0 ? (c(), ge(Yi, {
9583
+ H.loading ? (c(), b("div", Zi, j(H.loadingText), 1)) : R.value.length > 0 ? (c(), be(Yi, {
9572
9584
  key: 2,
9573
9585
  class: "vf-treeselect__tree",
9574
9586
  items: R.value,
@@ -9620,7 +9632,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
9620
9632
  "aria-label": s.ariaLabel
9621
9633
  }, [
9622
9634
  B("ol", td, [
9623
- (c(!0), b(fe, null, be(a.value, (r, u) => (c(), b(fe, {
9635
+ (c(!0), b(fe, null, he(a.value, (r, u) => (c(), b(fe, {
9624
9636
  key: i(r, u)
9625
9637
  }, [
9626
9638
  B("li", {
@@ -9632,7 +9644,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
9632
9644
  isLast: u === a.value.length - 1,
9633
9645
  active: t(r, u)
9634
9646
  }, () => [
9635
- t(r, u) ? (c(), b("span", ad, j(r.label), 1)) : (c(), ge(it, {
9647
+ t(r, u) ? (c(), b("span", ad, j(r.label), 1)) : (c(), be(it, {
9636
9648
  key: 1,
9637
9649
  class: "vf-breadcrumbs__link",
9638
9650
  to: r.to,
@@ -9711,7 +9723,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
9711
9723
  metaAriaLabel: { default: "Page metadata" }
9712
9724
  },
9713
9725
  setup(n) {
9714
- const o = n, a = Xe(), e = f(() => !!o.title || !!a.title), t = f(() => !!o.subtitle || !!a.subtitle), i = N(!1), s = () => {
9726
+ const o = n, a = Xe(), e = f(() => !!o.title || !!a.title), t = f(() => !!o.subtitle || !!a.subtitle), i = G(!1), s = () => {
9715
9727
  typeof window > "u" || (i.value = window.innerWidth <= o.mobileBreakpoint);
9716
9728
  }, d = f(() => {
9717
9729
  const r = ["vf-page-header"];
@@ -9781,7 +9793,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
9781
9793
  },
9782
9794
  emits: ["scroll", "rangeChange", "reachEnd"],
9783
9795
  setup(n, { emit: o }) {
9784
- const a = o, e = n, t = N(null), i = N(0), s = N({ start: -1, end: -1 }), d = N(!1), r = f(() => e.items ?? []), u = f(() => r.value.length), v = f(
9796
+ const a = o, e = n, t = G(null), i = G(0), s = G({ start: -1, end: -1 }), d = G(!1), r = f(() => e.items ?? []), u = f(() => r.value.length), v = f(
9785
9797
  () => Number.isFinite(e.itemHeight) && e.itemHeight > 0 ? e.itemHeight : 36
9786
9798
  ), p = f(
9787
9799
  () => Number.isFinite(e.overscan) && e.overscan >= 0 ? Math.floor(e.overscan) : 4
@@ -9828,7 +9840,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
9828
9840
  const S = M.target;
9829
9841
  i.value = S.scrollTop, a("scroll", M), E(), T();
9830
9842
  };
9831
- return ce(
9843
+ return ve(
9832
9844
  () => [e.items, e.virtual, e.itemHeight, e.overscan],
9833
9845
  () => {
9834
9846
  E(), T();
@@ -9852,7 +9864,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
9852
9864
  class: "vf-virtual-scroller__content",
9853
9865
  style: ke(R.value)
9854
9866
  }, [
9855
- (c(!0), b(fe, null, be(y.value, (F) => (c(), b("div", {
9867
+ (c(!0), b(fe, null, he(y.value, (F) => (c(), b("div", {
9856
9868
  key: F.key,
9857
9869
  class: "vf-virtual-scroller__item",
9858
9870
  style: ke(I.value),
@@ -9867,7 +9879,7 @@ const ho = (n, o) => n.strategy ? n.strategy : bo(o) ? "fixed" : "absolute", Ke
9867
9879
  ], 4))), 128))
9868
9880
  ], 4)
9869
9881
  ], 4)) : (c(), b("div", gd, [
9870
- (c(!0), b(fe, null, be(r.value, (F, A) => (c(), b("div", {
9882
+ (c(!0), b(fe, null, he(r.value, (F, A) => (c(), b("div", {
9871
9883
  key: O(F, A),
9872
9884
  class: "vf-virtual-scroller__item",
9873
9885
  style: ke(I.value),