@wirecore/wirelayer-vue 0.13.0 → 0.14.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.
@@ -11,16 +11,16 @@ import { SUBMENU_GUTTER as ye, allListOptionsState as be, anchorBox as xe, close
11
11
  import { Menu as X } from "@ark-ui/vue/menu";
12
12
  import { useFilter as st } from "@ark-ui/vue/locale";
13
13
  import { Field as ct, useFieldContext as lt } from "@ark-ui/vue/field";
14
- import { Pagination as Z, usePagination as ut } from "@ark-ui/vue/pagination";
15
- import { createListCollection as dt } from "@ark-ui/vue/collection";
16
- import { Select as Q } from "@ark-ui/vue/select";
17
- import { DateInput as ft } from "@ark-ui/vue/date-input";
14
+ import { Pagination as ut, usePagination as dt } from "@ark-ui/vue/pagination";
15
+ import { createListCollection as ft } from "@ark-ui/vue/collection";
16
+ import { Select as Z } from "@ark-ui/vue/select";
17
+ import { DateInput as Q } from "@ark-ui/vue/date-input";
18
18
  import { DatePicker as $, useDatePickerContext as pt } from "@ark-ui/vue/date-picker";
19
- import { CalendarDateTime as mt, DateFormatter as ht, Time as gt, parseDate as _t, parseDateTime as vt, toCalendarDateTime as yt } from "@internationalized/date";
20
- import { NumberInput as bt, useNumberInput as xt } from "@ark-ui/vue/number-input";
19
+ import { CalendarDateTime as mt, DateFormatter as ht, Time as gt, parseDate as _t, parseDateTime as vt, toCalendarDate as yt, toCalendarDateTime as bt } from "@internationalized/date";
20
+ import { NumberInput as xt, useNumberInput as St } from "@ark-ui/vue/number-input";
21
21
  //#region src/components/Menu/state.ts
22
- var St = Symbol("wirecore-menu-state");
23
- function Ct(e) {
22
+ var Ct = Symbol("wirecore-menu-state");
23
+ function wt(e) {
24
24
  let t = L({
25
25
  checked: {},
26
26
  radio: {}
@@ -39,10 +39,10 @@ function Ct(e) {
39
39
  },
40
40
  linkAs: () => e.linkAs() ?? "a"
41
41
  };
42
- return I(St, n), n;
42
+ return I(Ct, n), n;
43
43
  }
44
- var wt = () => D(St, null);
45
- function Tt(e) {
44
+ var Tt = () => D(Ct, null);
45
+ function Et(e) {
46
46
  q([
47
47
  e.open,
48
48
  e.closeOnScroll,
@@ -68,7 +68,7 @@ function Tt(e) {
68
68
  }
69
69
  //#endregion
70
70
  //#region src/components/Menu/MenuEntries.vue
71
- var Et = /* @__PURE__ */ T({
71
+ var Dt = /* @__PURE__ */ T({
72
72
  name: "MenuEntries",
73
73
  __name: "MenuEntries",
74
74
  props: { entries: {} },
@@ -77,7 +77,7 @@ var Et = /* @__PURE__ */ T({
77
77
  let r = t("menu", Fe), i = n, a = r(), o = {
78
78
  placement: "right-start",
79
79
  offset: { mainAxis: ye }
80
- }, s = wt(), c = (e, t) => !("type" in e) || e.type === "checkbox" ? e.value : e.type === "radio" ? `radio-${e.name}` : `${e.type}-${t}`;
80
+ }, s = Tt(), c = (e, t) => !("type" in e) || e.type === "checkbox" ? e.value : e.type === "radio" ? `radio-${e.name}` : `${e.type}-${t}`;
81
81
  return (t, n) => {
82
82
  let l = V("MenuEntries", !0);
83
83
  return F(!0), b(h, null, z(e.entries, (e, u) => (F(), b(h, { key: c(e, u) }, ["type" in e && e.type === "separator" ? (F(), v(W(X).Separator, {
@@ -255,7 +255,7 @@ var Et = /* @__PURE__ */ T({
255
255
  });
256
256
  //#endregion
257
257
  //#region src/overlay.ts
258
- function Dt(e) {
258
+ function Ot(e) {
259
259
  let t = R(e.defaultOpen?.() ?? !1), n = te(null), r = null, i = _(() => e.open() ?? t.value), a = _(() => n.value ?? e.anchor() ?? null);
260
260
  q(i, (t) => {
261
261
  if (typeof document < "u") {
@@ -306,13 +306,13 @@ function Dt(e) {
306
306
  }
307
307
  //#endregion
308
308
  //#region src/components/Menu/Menu.vue?vue&type=script&setup=true&lang.ts
309
- var Ot = ["aria-label"], kt = [
309
+ var kt = ["aria-label"], At = [
310
310
  "placeholder",
311
311
  "aria-label",
312
312
  "aria-activedescendant",
313
313
  "onKeydown",
314
314
  "onInput"
315
- ], At = { role: "status" }, jt = /* @__PURE__ */ T({
315
+ ], jt = { role: "status" }, Mt = /* @__PURE__ */ T({
316
316
  __name: "Menu",
317
317
  props: {
318
318
  items: {},
@@ -344,13 +344,13 @@ var Ot = ["aria-label"], kt = [
344
344
  ],
345
345
  setup(e, { expose: r, emit: i }) {
346
346
  let a = e, o = t("menu", Fe, () => a.classes), s = i, c = o(), l = n();
347
- Ct({
347
+ wt({
348
348
  items: () => a.items,
349
349
  linkAs: () => a.linkAs,
350
350
  onCheckedChange: (e, t) => s("checked-change", e, t),
351
351
  onValueChange: (e, t) => s("value-change", e, t)
352
352
  });
353
- let u = Dt({
353
+ let u = Ot({
354
354
  open: () => a.open,
355
355
  defaultOpen: () => a.defaultOpen,
356
356
  anchor: () => a.anchor,
@@ -358,7 +358,7 @@ var Ot = ["aria-label"], kt = [
358
358
  restoreFocus: !0
359
359
  });
360
360
  r(u.handle);
361
- let d = G("content"), f = Tt({
361
+ let d = G("content"), f = Et({
362
362
  open: () => u.isOpen.value,
363
363
  close: u.handle.close,
364
364
  content: () => d.value?.$el,
@@ -428,10 +428,10 @@ var Ot = ["aria-label"], kt = [
428
428
  "aria-activedescendant": m.value,
429
429
  onKeydown: (e) => m.value = W(Ie)(e, t) ?? m.value,
430
430
  onInput: (e) => D(e, t)
431
- }, null, 42, kt), [[K, p.value]])], 10, Ot)]),
431
+ }, null, 42, At), [[K, p.value]])], 10, kt)]),
432
432
  _: 1
433
433
  })) : y("", !0),
434
- w(Et, {
434
+ w(Dt, {
435
435
  entries: C.value,
436
436
  onSelect: n[1] ||= (e) => s("select", e)
437
437
  }, S({ _: 2 }, [t.$slots.item ? {
@@ -443,7 +443,7 @@ var Ot = ["aria-label"], kt = [
443
443
  key: 2,
444
444
  role: "group",
445
445
  class: j(W(c).empty())
446
- }, [x("span", At, U(W(l).common.noResults), 1)], 2)) : y("", !0)
446
+ }, [x("span", jt, U(W(l).common.noResults), 1)], 2)) : y("", !0)
447
447
  ]),
448
448
  _: 3
449
449
  }, 8, ["class"])]),
@@ -456,7 +456,7 @@ var Ot = ["aria-label"], kt = [
456
456
  "anchor-point"
457
457
  ]));
458
458
  }
459
- }), Mt = ["id"], Nt = /* @__PURE__ */ T({
459
+ }), Nt = ["id"], Pt = /* @__PURE__ */ T({
460
460
  inheritAttrs: !1,
461
461
  __name: "Textarea",
462
462
  props: /*@__PURE__*/ O({
@@ -582,7 +582,7 @@ var Ot = ["aria-label"], kt = [
582
582
  id: W(te),
583
583
  class: j(I.value.counter()),
584
584
  "aria-hidden": "true"
585
- }, U(W(u).textarea.counter(z.value, E.value)), 11, Mt), x("span", {
585
+ }, U(W(u).textarea.counter(z.value, E.value)), 11, Nt), x("span", {
586
586
  class: j(I.value.status()),
587
587
  role: "status"
588
588
  }, U(K.value), 3)], 64)) : y("", !0)
@@ -615,7 +615,7 @@ var Ot = ["aria-label"], kt = [
615
615
  "aria-invalid"
616
616
  ]));
617
617
  }
618
- }), Pt = { "aria-hidden": "true" }, Ft = { "aria-hidden": "true" }, It = /* @__PURE__ */ T({
618
+ }), Ft = { "aria-hidden": "true" }, It = { "aria-hidden": "true" }, Lt = /* @__PURE__ */ T({
619
619
  inheritAttrs: !1,
620
620
  __name: "Pagination",
621
621
  props: {
@@ -656,7 +656,7 @@ var Ot = ["aria-label"], kt = [
656
656
  } : {}, E = _(() => (i.pageSizes ?? []).map((e) => ({
657
657
  value: e,
658
658
  label: String(e)
659
- }))), D = ut(_(() => ({
659
+ }))), D = dt(_(() => ({
660
660
  count: i.count,
661
661
  pageSize: p.value,
662
662
  page: i.page,
@@ -677,11 +677,11 @@ var Ot = ["aria-label"], kt = [
677
677
  let n = e.target, r = Number.parseInt(n.value, 10);
678
678
  Number.isNaN(r) || (e.preventDefault(), t.setPage(Math.min(Math.max(r, 1), t.totalPages)), n.value = "");
679
679
  }
680
- return (t, n) => g.value ? y("", !0) : (F(), v(W(Z).RootProvider, k({ key: 0 }, {
680
+ return (t, n) => g.value ? y("", !0) : (F(), v(W(ut).RootProvider, k({ key: 0 }, {
681
681
  ...W(s),
682
682
  class: l.value.base({ class: j(W(s).class) })
683
683
  }, { value: W(D) }), {
684
- default: J(() => [w(W(Z).Context, null, {
684
+ default: J(() => [w(W(ut).Context, null, {
685
685
  default: J((t) => [
686
686
  e.showSummary ? (F(), b("span", {
687
687
  key: 0,
@@ -691,7 +691,7 @@ var Ot = ["aria-label"], kt = [
691
691
  e.pageSizes?.length ? (F(), b("div", {
692
692
  key: 1,
693
693
  class: j(l.value.pageSize())
694
- }, [x("span", Pt, U(W(u).pagination.pageSize), 1), w(d, {
694
+ }, [x("span", Ft, U(W(u).pagination.pageSize), 1), w(d, {
695
695
  class: j(l.value.pageSizeSelect()),
696
696
  size: "sm",
697
697
  items: E.value,
@@ -706,7 +706,7 @@ var Ot = ["aria-label"], kt = [
706
706
  "onUpdate:modelValue"
707
707
  ])], 2)) : y("", !0),
708
708
  x("div", { class: j(l.value.list()) }, [
709
- e.withEdges ? (F(), v(W(Z).FirstTrigger, {
709
+ e.withEdges ? (F(), v(W(ut).FirstTrigger, {
710
710
  key: 0,
711
711
  "as-child": ""
712
712
  }, {
@@ -719,7 +719,7 @@ var Ot = ["aria-label"], kt = [
719
719
  }, 16, ["class"]))]),
720
720
  _: 2
721
721
  }, 1024)) : y("", !0),
722
- w(W(Z).PrevTrigger, { "as-child": "" }, {
722
+ w(W(ut).PrevTrigger, { "as-child": "" }, {
723
723
  default: J(() => [(F(), v(H(S.value), k({ class: l.value.trigger() }, T(t.page === 1)), {
724
724
  default: J(() => [w(W(le), {
725
725
  class: j(l.value.triggerIcon()),
@@ -733,7 +733,7 @@ var Ot = ["aria-label"], kt = [
733
733
  key: 1,
734
734
  class: j(l.value.compact())
735
735
  }, U(W(u).pagination.compact(t.page, t.totalPages)), 3)),
736
- e.variant === "compact" ? y("", !0) : (F(!0), b(h, { key: 2 }, z(t.pages, (e, t) => (F(), b(h, { key: t }, [e.type === "page" ? (F(), v(W(Z).Item, k({
736
+ e.variant === "compact" ? y("", !0) : (F(!0), b(h, { key: 2 }, z(t.pages, (e, t) => (F(), b(h, { key: t }, [e.type === "page" ? (F(), v(W(ut).Item, k({
737
737
  key: 0,
738
738
  ref_for: !0
739
739
  }, e, { "as-child": "" }), {
@@ -742,7 +742,7 @@ var Ot = ["aria-label"], kt = [
742
742
  _: 2
743
743
  }, 1032, ["class"]))]),
744
744
  _: 2
745
- }, 1040)) : (F(), v(W(Z).Ellipsis, {
745
+ }, 1040)) : (F(), v(W(ut).Ellipsis, {
746
746
  key: 1,
747
747
  index: t,
748
748
  class: j(l.value.ellipsis()),
@@ -751,7 +751,7 @@ var Ot = ["aria-label"], kt = [
751
751
  default: J(() => [...n[0] ||= [C(" … ", -1)]]),
752
752
  _: 1
753
753
  }, 8, ["index", "class"]))], 64))), 128)),
754
- w(W(Z).NextTrigger, { "as-child": "" }, {
754
+ w(W(ut).NextTrigger, { "as-child": "" }, {
755
755
  default: J(() => [(F(), v(H(S.value), k({ class: l.value.trigger() }, T(t.page === t.totalPages)), {
756
756
  default: J(() => [w(W(ue), {
757
757
  class: j(l.value.triggerIcon()),
@@ -761,7 +761,7 @@ var Ot = ["aria-label"], kt = [
761
761
  }, 16, ["class"]))]),
762
762
  _: 2
763
763
  }, 1024),
764
- e.withEdges ? (F(), v(W(Z).LastTrigger, {
764
+ e.withEdges ? (F(), v(W(ut).LastTrigger, {
765
765
  key: 3,
766
766
  "as-child": ""
767
767
  }, {
@@ -778,7 +778,7 @@ var Ot = ["aria-label"], kt = [
778
778
  e.jumper ? (F(), b("div", {
779
779
  key: 2,
780
780
  class: j(l.value.jumper())
781
- }, [x("span", Ft, U(W(u).pagination.jumper), 1), w(c, {
781
+ }, [x("span", It, U(W(u).pagination.jumper), 1), w(c, {
782
782
  class: j(l.value.jumperInput()),
783
783
  size: "sm",
784
784
  inputmode: "numeric",
@@ -796,7 +796,7 @@ var Ot = ["aria-label"], kt = [
796
796
  _: 1
797
797
  }, 16, ["value"]));
798
798
  }
799
- }), Lt = /* @__PURE__ */ T({
799
+ }), Rt = /* @__PURE__ */ T({
800
800
  inheritAttrs: !1,
801
801
  __name: "Skeleton",
802
802
  props: {
@@ -819,7 +819,7 @@ var Ot = ["aria-label"], kt = [
819
819
  style: o.value
820
820
  }), null, 16));
821
821
  }
822
- }), Rt = ["title"], zt = ["title"], Bt = ["aria-label"], Vt = /* @__PURE__ */ T({
822
+ }), zt = ["title"], Bt = ["title"], Vt = ["aria-label"], Ht = /* @__PURE__ */ T({
823
823
  __name: "DatePickerDayTable",
824
824
  props: {
825
825
  weeks: {},
@@ -867,11 +867,11 @@ var Ot = ["aria-label"], kt = [
867
867
  key: 0,
868
868
  scope: "col",
869
869
  class: j(o.value.weekNumberHeader())
870
- }, [x("abbr", { title: W(r).datePicker.weekColumnHeader }, U(W(r).datePicker.weekColumnShort), 9, Rt)], 2)) : y("", !0), (F(!0), b(h, null, z(W(s).weekDays, (e) => (F(), v(W($).TableHeader, {
870
+ }, [x("abbr", { title: W(r).datePicker.weekColumnHeader }, U(W(r).datePicker.weekColumnShort), 9, zt)], 2)) : y("", !0), (F(!0), b(h, null, z(W(s).weekDays, (e) => (F(), v(W($).TableHeader, {
871
871
  key: e.long,
872
872
  class: j(o.value.columnHeader())
873
873
  }, {
874
- default: J(() => [x("abbr", { title: e.long }, U(e.short), 9, zt)]),
874
+ default: J(() => [x("abbr", { title: e.long }, U(e.short), 9, Bt)]),
875
875
  _: 2
876
876
  }, 1032, ["class"]))), 128))]),
877
877
  _: 1
@@ -884,7 +884,7 @@ var Ot = ["aria-label"], kt = [
884
884
  scope: "row",
885
885
  class: j(o.value.weekNumber()),
886
886
  "aria-label": W(r).datePicker.weekNumberCell(u(n))
887
- }, U(u(n)), 11, Bt)) : y("", !0), (F(!0), b(h, null, z(n, (n) => (F(), b(h, { key: n.toString() }, [l(n) ? (F(), b("td", {
887
+ }, U(u(n)), 11, Vt)) : y("", !0), (F(!0), b(h, null, z(n, (n) => (F(), b(h, { key: n.toString() }, [l(n) ? (F(), b("td", {
888
888
  key: 0,
889
889
  class: j(o.value.cell())
890
890
  }, null, 2)) : (F(), v(W($).TableCell, k({
@@ -913,7 +913,7 @@ var Ot = ["aria-label"], kt = [
913
913
  _: 3
914
914
  }, 8, ["class"]));
915
915
  }
916
- }), Ht = /* @__PURE__ */ T({
916
+ }), Ut = /* @__PURE__ */ T({
917
917
  __name: "DatePickerHeader",
918
918
  setup(e) {
919
919
  let r = t("datePicker", Ee), i = n(), a = r(), o = {
@@ -951,7 +951,7 @@ var Ot = ["aria-label"], kt = [
951
951
  _: 1
952
952
  }, 8, ["class"]));
953
953
  }
954
- }), Ut = ["onClick"], Wt = ["disabled", "onClick"], Gt = /* @__PURE__ */ T({
954
+ }), Wt = ["onClick"], Gt = ["disabled", "onClick"], Kt = /* @__PURE__ */ T({
955
955
  __name: "DatePickerViews",
956
956
  props: {
957
957
  presets: {},
@@ -997,20 +997,20 @@ var Ot = ["aria-label"], kt = [
997
997
  return (t, n) => (F(), b(h, null, [
998
998
  w(W($).View, { view: "day" }, {
999
999
  default: J(() => [w(W($).Context, null, {
1000
- default: J((e) => [w(Ht), s.value > 1 ? (F(), b("div", {
1000
+ default: J((e) => [w(Ut), s.value > 1 ? (F(), b("div", {
1001
1001
  key: 0,
1002
1002
  class: j(W(a).months())
1003
1003
  }, [(F(!0), b(h, null, z(l(e), (e) => (F(), b("div", {
1004
1004
  key: e.title,
1005
1005
  class: j(W(a).month())
1006
- }, [x("div", { class: j(W(a).monthTitle()) }, U(e.title), 3), w(Vt, k({
1006
+ }, [x("div", { class: j(W(a).monthTitle()) }, U(e.title), 3), w(Ht, k({
1007
1007
  weeks: e.weeks,
1008
1008
  "visible-range": e.visibleRange
1009
1009
  }, { ref_for: !0 }, c.value), S({ _: 2 }, [t.$slots.day ? {
1010
1010
  name: "day",
1011
1011
  fn: J((e) => [B(t.$slots, "day", k({ ref_for: !0 }, e))]),
1012
1012
  key: "0"
1013
- } : void 0]), 1040, ["weeks", "visible-range"])], 2))), 128))], 2)) : (F(), v(Vt, k({
1013
+ } : void 0]), 1040, ["weeks", "visible-range"])], 2))), 128))], 2)) : (F(), v(Ht, k({
1014
1014
  key: 1,
1015
1015
  weeks: e.weeks
1016
1016
  }, c.value), S({ _: 2 }, [t.$slots.day ? {
@@ -1024,7 +1024,7 @@ var Ot = ["aria-label"], kt = [
1024
1024
  }),
1025
1025
  w(W($).View, { view: "month" }, {
1026
1026
  default: J(() => [w(W($).Context, null, {
1027
- default: J((e) => [w(Ht), w(W($).Table, { class: j(W(a).table()) }, {
1027
+ default: J((e) => [w(Ut), w(W($).Table, { class: j(W(a).table()) }, {
1028
1028
  default: J(() => [w(W($).TableBody, null, {
1029
1029
  default: J(() => [(F(!0), b(h, null, z(e.getMonthsGrid({
1030
1030
  columns: 4,
@@ -1053,7 +1053,7 @@ var Ot = ["aria-label"], kt = [
1053
1053
  }),
1054
1054
  w(W($).View, { view: "year" }, {
1055
1055
  default: J(() => [w(W($).Context, null, {
1056
- default: J((e) => [w(Ht), w(W($).Table, { class: j(W(a).table()) }, {
1056
+ default: J((e) => [w(Ut), w(W($).Table, { class: j(W(a).table()) }, {
1057
1057
  default: J(() => [w(W($).TableBody, null, {
1058
1058
  default: J(() => [(F(!0), b(h, null, z(e.getYearsGrid({ columns: 4 }), (e) => (F(), v(W($).TableRow, { key: e[0]?.value }, {
1059
1059
  default: J(() => [(F(!0), b(h, null, z(e, (e) => (F(), v(W($).TableCell, {
@@ -1098,17 +1098,17 @@ var Ot = ["aria-label"], kt = [
1098
1098
  type: "button",
1099
1099
  class: j(W(a).buttonBarButton()),
1100
1100
  onClick: (t) => u(e)
1101
- }, U(W(r).calendar.today), 11, Ut), x("button", {
1101
+ }, U(W(r).calendar.today), 11, Wt), x("button", {
1102
1102
  type: "button",
1103
1103
  class: j(W(a).buttonBarButton()),
1104
1104
  disabled: !e.value.length,
1105
1105
  onClick: (t) => e.clearValue({ focus: !1 })
1106
- }, U(W(r).calendar.clear), 11, Wt)], 2)]),
1106
+ }, U(W(r).calendar.clear), 11, Gt)], 2)]),
1107
1107
  _: 1
1108
1108
  })) : y("", !0)
1109
1109
  ], 64));
1110
1110
  }
1111
- }), Kt = /* @__PURE__ */ T({
1111
+ }), qt = /* @__PURE__ */ T({
1112
1112
  __name: "DatePickerCalendar",
1113
1113
  props: {
1114
1114
  presets: {},
@@ -1147,25 +1147,25 @@ var Ot = ["aria-label"], kt = [
1147
1147
  multiMonth: o.value,
1148
1148
  bottomSheet: !0
1149
1149
  }).content()) }, {
1150
- default: J(() => [w(Gt, M(E(a.value)), S({ _: 2 }, [e.$slots.day ? {
1150
+ default: J(() => [w(Kt, M(E(a.value)), S({ _: 2 }, [e.$slots.day ? {
1151
1151
  name: "day",
1152
1152
  fn: J((t) => [B(e.$slots, "day", M(E(t)))]),
1153
1153
  key: "0"
1154
- } : void 0]), 1040)]),
1154
+ } : void 0]), 1040), B(e.$slots, "default")]),
1155
1155
  _: 3
1156
1156
  }, 8, ["class"])], 2)], 64)) : (F(), v(W($).Positioner, { key: 1 }, {
1157
1157
  default: J(() => [w(W($).Content, { class: j(o.value ? W(r)({ multiMonth: o.value }).content() : W(i).content()) }, {
1158
- default: J(() => [w(Gt, M(E(a.value)), S({ _: 2 }, [e.$slots.day ? {
1158
+ default: J(() => [w(Kt, M(E(a.value)), S({ _: 2 }, [e.$slots.day ? {
1159
1159
  name: "day",
1160
1160
  fn: J((t) => [B(e.$slots, "day", M(E(t)))]),
1161
1161
  key: "0"
1162
- } : void 0]), 1040)]),
1162
+ } : void 0]), 1040), B(e.$slots, "default")]),
1163
1163
  _: 3
1164
1164
  }, 8, ["class"])]),
1165
1165
  _: 3
1166
1166
  }))]));
1167
1167
  }
1168
- }), qt = /* @__PURE__ */ T({
1168
+ }), Jt = /* @__PURE__ */ T({
1169
1169
  __name: "DateSegments",
1170
1170
  props: {
1171
1171
  index: {},
@@ -1181,14 +1181,14 @@ var Ot = ["aria-label"], kt = [
1181
1181
  i.paste?.(t, i.index) && (e.preventDefault(), e.stopPropagation());
1182
1182
  }
1183
1183
  let o = t("datePicker", Ee), s = _(() => o({ size: i.size }));
1184
- return (t, n) => (F(), v(W(ft).SegmentGroup, k({
1184
+ return (t, n) => (F(), v(W(Q).SegmentGroup, k({
1185
1185
  index: e.index,
1186
1186
  class: s.value.segments(),
1187
1187
  "aria-label": e.label,
1188
1188
  "aria-describedby": e.describedby
1189
1189
  }, e.paste ? { onPasteCapture: a } : {}), {
1190
- default: J(() => [w(W(ft).Context, null, {
1191
- default: J((t) => [(F(!0), b(h, null, z(t.getSegments({ index: e.index }), (e, t) => (F(), v(W(ft).Segment, {
1190
+ default: J(() => [w(W(Q).Context, null, {
1191
+ default: J((t) => [(F(!0), b(h, null, z(t.getSegments({ index: e.index }), (e, t) => (F(), v(W(Q).Segment, {
1192
1192
  key: t,
1193
1193
  segment: e,
1194
1194
  class: j(s.value.segment()),
@@ -1208,46 +1208,142 @@ var Ot = ["aria-label"], kt = [
1208
1208
  "aria-describedby"
1209
1209
  ]));
1210
1210
  }
1211
- }), Jt = (e, t) => e ? e.toString().slice(0, t ? 16 : 10) : null;
1212
- function Yt(e, t, n) {
1211
+ }), Yt = (e, t) => e ? e.toString().slice(0, t ? 16 : 10) : null;
1212
+ function Xt(e, t, n) {
1213
1213
  return t ? e.includes("T") ? vt(e.slice(0, 16)) : vt(`${e}T${n === "max" ? "23:59" : "00:00"}`) : _t(e.slice(0, 10));
1214
1214
  }
1215
- function Xt(e, t, n, r) {
1215
+ function Zt(e, t, n, r) {
1216
1216
  let i = typeof e == "string" && !e.includes("T"), a = rt(e, t && !i, n);
1217
- return a ? Yt(a, t, r) : void 0;
1217
+ return a ? Xt(a, t, r) : void 0;
1218
1218
  }
1219
- var Zt = (e, t, n, r) => ke(Jt(e, t), {
1219
+ var Qt = (e, t, n, r) => ke(Yt(e, t), {
1220
1220
  valueType: n,
1221
1221
  timeZone: r,
1222
1222
  withTime: t
1223
- }), Qt = (e, t, n) => rt(e, t, n);
1224
- function $t(e, t) {
1223
+ }), $t = (e, t, n) => rt(e, t, n);
1224
+ function en(e, t) {
1225
1225
  if (!e && !t?.length) return;
1226
1226
  let n = new Set(t?.map((e) => rt(e, !1)));
1227
1227
  return (t) => {
1228
- let r = Jt(t, !1);
1228
+ let r = Yt(t, !1);
1229
1229
  return n.has(r) || !!e?.(r);
1230
1230
  };
1231
1231
  }
1232
- function en(e, t) {
1232
+ function tn(e, t) {
1233
1233
  if ("hour" in e) return e;
1234
1234
  let n = t && "hour" in t ? new gt(t.hour, t.minute) : new gt();
1235
- return yt(e, n);
1235
+ return bt(e, n);
1236
+ }
1237
+ function nn(e, t) {
1238
+ let [n = 0, r = 0] = t.split(":").map(Number);
1239
+ return bt(yt(e), new gt(n, r));
1236
1240
  }
1237
- var tn = {
1241
+ var rn = {
1238
1242
  year: 2e3,
1239
1243
  month: 1,
1240
1244
  day: 1
1241
1245
  };
1242
- function nn(e) {
1246
+ function an(e) {
1243
1247
  let [t = 0, n = 0, r = 0] = e.split(":").map(Number);
1244
- return new mt(tn.year, tn.month, tn.day, t, n, r);
1248
+ return new mt(rn.year, rn.month, rn.day, t, n, r);
1245
1249
  }
1246
- var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e ? `${rn(e.hour)}:${rn(e.minute)}${t ? `:${rn(e.second)}` : ""}` : null, on = (e, t, n, r = !1) => Qe(e, t, n, r), sn = ["id", "data-placeholder"], cn = ["name", "value"], ln = ["id"], un = [
1250
+ var on = (e) => String(e).padStart(2, "0"), sn = (e, t = !1) => e && "hour" in e ? `${on(e.hour)}:${on(e.minute)}${t ? `:${on(e.second)}` : ""}` : null, cn = (e, t, n, r = !1) => Qe(e, t, n, r), ln = ["id", "aria-hidden"], un = ["onClick"], dn = /* @__PURE__ */ T({
1251
+ __name: "DatePickerTimes",
1252
+ props: {
1253
+ count: {},
1254
+ timeOf: { type: Function },
1255
+ dates: {},
1256
+ min: {},
1257
+ max: {},
1258
+ locale: {},
1259
+ zone: {}
1260
+ },
1261
+ emits: ["time"],
1262
+ setup(e, { emit: r }) {
1263
+ let i = n(), a = e, o = r, s = t("datePicker", Ee), c = s(), l = s({ size: "sm" }), u = re(), d = _(() => a.count > 1), f = [i.dateRange.start, i.dateRange.end], p = _(() => Array.from({ length: a.count }, (e, t) => t)), m = _(() => new ht(a.locale, {
1264
+ hour: "2-digit",
1265
+ minute: "2-digit"
1266
+ })), g = (e) => e?.toString().slice(0, 10);
1267
+ function v(e, t) {
1268
+ let n = g(e) === g(a.dates[t]) ? sn(e) : null;
1269
+ return n ? an(n) : void 0;
1270
+ }
1271
+ let S = _(() => p.value.map((e) => [an(a.timeOf(e))])), C = _(() => p.value.map((e) => ({
1272
+ min: v(a.min, e),
1273
+ max: v(a.max, e)
1274
+ })));
1275
+ function T(e, t) {
1276
+ let n = sn(t[0]);
1277
+ n && n !== a.timeOf(e) && o("time", e, n);
1278
+ }
1279
+ return (t, n) => (F(), b("div", k({ class: W(c).timeSection() }, d.value ? {
1280
+ role: "group",
1281
+ "aria-labelledby": `${W(u)}h`
1282
+ } : {}), [
1283
+ x("span", {
1284
+ id: `${W(u)}h`,
1285
+ class: j(W(c).timeHeading()),
1286
+ "aria-hidden": d.value ? void 0 : "true"
1287
+ }, U(W(i).calendar.time), 11, ln),
1288
+ (F(!0), b(h, null, z(p.value, (t) => (F(), b("div", {
1289
+ key: t,
1290
+ class: j(W(c).timeField())
1291
+ }, [d.value ? (F(), b("span", {
1292
+ key: 0,
1293
+ class: j(W(c).timeFieldLabel()),
1294
+ "aria-hidden": "true"
1295
+ }, U(f[t]), 3)) : y("", !0), x("div", { class: j(W(l).control()) }, [w(W(Q).Root, {
1296
+ class: j(W(l).dateInput()),
1297
+ "model-value": S.value[t],
1298
+ granularity: "minute",
1299
+ formatter: m.value,
1300
+ min: C.value[t].min,
1301
+ max: C.value[t].max,
1302
+ locale: e.locale,
1303
+ "should-force-leading-zeros": "",
1304
+ translations: W(i).dateInput,
1305
+ onValueChange: (e) => T(t, e.value)
1306
+ }, {
1307
+ default: J(() => [w(W(Q).Control, { class: j(W(l).dateControl()) }, {
1308
+ default: J(() => [w(Jt, {
1309
+ index: 0,
1310
+ label: d.value ? f[t] : W(i).calendar.time,
1311
+ describedby: e.zone?.describedby,
1312
+ size: "sm"
1313
+ }, null, 8, ["label", "describedby"])]),
1314
+ _: 2
1315
+ }, 1032, ["class"])]),
1316
+ _: 2
1317
+ }, 1032, [
1318
+ "class",
1319
+ "model-value",
1320
+ "formatter",
1321
+ "min",
1322
+ "max",
1323
+ "locale",
1324
+ "translations",
1325
+ "onValueChange"
1326
+ ])], 2)], 2))), 128)),
1327
+ e.zone ? (F(), b("span", {
1328
+ key: 0,
1329
+ class: j(W(c).timeZone()),
1330
+ "aria-hidden": "true"
1331
+ }, U(e.zone.short), 3)) : y("", !0),
1332
+ w(W($).Context, null, {
1333
+ default: J((e) => [x("button", {
1334
+ type: "button",
1335
+ class: j(W(c).buttonBarButton({ class: W(c).timeDone() })),
1336
+ onClick: (t) => e.setOpen(!1)
1337
+ }, U(W(i).calendar.done), 11, un)]),
1338
+ _: 1
1339
+ })
1340
+ ], 16));
1341
+ }
1342
+ }), fn = ["id", "data-placeholder"], pn = ["name", "value"], mn = ["id"], hn = [
1247
1343
  "id",
1248
1344
  "data-hidden",
1249
1345
  "onClick"
1250
- ], dn = ["id"], fn = /* @__PURE__ */ T({
1346
+ ], gn = ["id"], _n = /* @__PURE__ */ T({
1251
1347
  __name: "DatePickerBase",
1252
1348
  props: {
1253
1349
  mode: {},
@@ -1275,6 +1371,7 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
1275
1371
  timeZone: {},
1276
1372
  showTimeZone: { type: Boolean },
1277
1373
  responsive: { type: Boolean },
1374
+ timeInPopup: { type: Boolean },
1278
1375
  showWeekNumbers: { type: Boolean },
1279
1376
  numberOfMonths: {},
1280
1377
  showButtonBar: { type: Boolean },
@@ -1302,14 +1399,14 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
1302
1399
  } : i.datePicker, A = _(() => a.period ? new ht(a.locale, a.period === "month" ? {
1303
1400
  month: "2-digit",
1304
1401
  year: "numeric"
1305
- } : { year: "numeric" }) : void 0), ee = _(() => a.firstDayOfWeek ?? Pe(a.locale).firstDay), N = _(() => {
1402
+ } : { year: "numeric" }) : void 0), ee = _(() => a.firstDayOfWeek ?? Pe(a.locale).firstDay), I = _(() => {
1306
1403
  if (!a.showTimeZone || !a.timeZone) return;
1307
1404
  let e = a.dates[0], t = e ? ot(e.toString().slice(0, 16), a.timeZone) : /* @__PURE__ */ new Date();
1308
1405
  return {
1309
1406
  short: $e(a.timeZone, a.locale, t),
1310
1407
  long: i.calendar.timeZone(et(a.timeZone, a.locale, t))
1311
1408
  };
1312
- }), P = _(() => [u?.value.ariaDescribedby, N.value ? `${l}tz` : void 0].filter(Boolean).join(" ") || void 0), I = (e) => g.every((t) => e.getSegments({ index: t }).every((e) => e.type === "literal" || e.isPlaceholder)), L = (e) => !!a.placeholder && I(e) && !e.focused, R = (e) => a.placeholder && I(e) ? [P.value, `${l}ph`].filter(Boolean).join(" ") : P.value, V = _(() => {
1409
+ }), L = _(() => [u?.value.ariaDescribedby, I.value ? `${l}tz` : void 0].filter(Boolean).join(" ") || void 0), V = (e) => g.every((t) => e.getSegments({ index: t }).every((e) => e.type === "literal" || e.isPlaceholder)), H = (e) => !!a.placeholder && V(e) && !e.focused, te = (e) => a.placeholder && V(e) ? [L.value, `${l}ph`].filter(Boolean).join(" ") : L.value, ne = _(() => {
1313
1410
  if (!a.dates.length) return a.placeholder ?? i.calendar.noDates;
1314
1411
  if (a.dates.length > 3) return Ge(i.calendar.datesSelected, a.dates.length, a.locale);
1315
1412
  let e = new ht(a.locale, {
@@ -1319,7 +1416,7 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
1319
1416
  timeZone: "UTC"
1320
1417
  });
1321
1418
  return a.dates.map((t) => e.format(t.toDate("UTC"))).join(", ");
1322
- }), H = _(() => ({
1419
+ }), ie = _(() => ({
1323
1420
  presets: a.presets,
1324
1421
  showWeekNumbers: a.showWeekNumbers,
1325
1422
  numberOfMonths: a.numberOfMonths,
@@ -1330,22 +1427,50 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
1330
1427
  allowDeselect: a.allowDeselect,
1331
1428
  timeZone: a.timeZone,
1332
1429
  responsive: a.responsive
1333
- }));
1334
- function te(e) {
1335
- s("change", a.withTime ? e.map((e, t) => en(e, a.dates[t])) : e);
1430
+ })), G = _(() => a.withTime && !!a.timeInPopup && !p && !a.period), K = R([]);
1431
+ q(() => a.dates, (e) => e.forEach((e, t) => {
1432
+ let n = sn(e);
1433
+ n && (K.value[t] = n);
1434
+ }), { immediate: !0 });
1435
+ let Y = (e) => K.value[e] ?? (f && e === 1 ? "23:59" : "00:00");
1436
+ function ae(e) {
1437
+ if (!a.withTime) return s("change", e);
1438
+ if (p) return s("change", e.map((e, t) => tn(e, a.dates[t])));
1439
+ s("change", e.map((e, t) => nn(e, Y(t))));
1440
+ }
1441
+ function se(e, t) {
1442
+ K.value[e] = t;
1443
+ let n = a.dates[e];
1444
+ if (!n) return;
1445
+ let r = [...a.dates];
1446
+ r[e] = nn(n, t), s("change", r);
1336
1447
  }
1337
- function ne(e, t) {
1448
+ let ce = _(() => I.value ? {
1449
+ short: I.value.short,
1450
+ describedby: `${l}tz`
1451
+ } : void 0), le = null;
1452
+ function ue(e) {
1453
+ le = e ? {
1454
+ dates: a.dates,
1455
+ times: [...K.value]
1456
+ } : null;
1457
+ }
1458
+ function de(e) {
1459
+ e.key === "Escape" && G.value && le && (K.value = [...le.times], s("change", le.dates));
1460
+ }
1461
+ P(() => document.addEventListener("keydown", de, !0)), N(() => document.removeEventListener("keydown", de, !0));
1462
+ function fe(e, t) {
1338
1463
  if (a.period) return !1;
1339
1464
  if (f) {
1340
1465
  let t = We(e, a.locale, a.withTime);
1341
- if (t) return s("change", [Yt(t.start, a.withTime), Yt(t.end, a.withTime)]), !0;
1466
+ if (t) return s("change", [Xt(t.start, a.withTime), Xt(t.end, a.withTime)]), !0;
1342
1467
  }
1343
1468
  let n = Ue(e, a.locale, a.withTime);
1344
1469
  if (!n) return !1;
1345
1470
  let r = [...a.dates];
1346
- return r[t] = Yt(n, a.withTime), s("change", r.filter(Boolean)), !0;
1471
+ return r[t] = Xt(n, a.withTime), s("change", r.filter(Boolean)), !0;
1347
1472
  }
1348
- let ie = {
1473
+ let pe = {
1349
1474
  placement: "bottom-start",
1350
1475
  gutter: 4
1351
1476
  };
@@ -1363,11 +1488,13 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
1363
1488
  "num-of-months": e.numberOfMonths,
1364
1489
  "time-zone": e.timeZone
1365
1490
  }, d.value, {
1366
- positioning: ie,
1491
+ positioning: pe,
1367
1492
  translations: W(O),
1493
+ "close-on-select": !G.value,
1368
1494
  "lazy-mount": "",
1369
1495
  "unmount-on-exit": "",
1370
- onValueChange: n[1] ||= (e) => te(e.value)
1496
+ onValueChange: n[1] ||= (e) => ae(e.value),
1497
+ onOpenChange: n[2] ||= (e) => ue(e.open)
1371
1498
  }), {
1372
1499
  default: J(() => [w(W($).Control, { class: j(c.value.control()) }, {
1373
1500
  default: J(() => [
@@ -1375,12 +1502,12 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
1375
1502
  id: `${W(l)}v`,
1376
1503
  class: j(c.value.multiValue()),
1377
1504
  "data-placeholder": e.dates.length ? void 0 : ""
1378
- }, U(V.value), 11, sn), e.name ? (F(!0), b(h, { key: 0 }, z(e.dates, (t, n) => (F(), b("input", {
1505
+ }, U(ne.value), 11, fn), e.name ? (F(!0), b(h, { key: 0 }, z(e.dates, (t, n) => (F(), b("input", {
1379
1506
  key: t.toString(),
1380
1507
  type: "hidden",
1381
1508
  name: `${e.name}[${n}]`,
1382
1509
  value: t.toString()
1383
- }, null, 8, cn))), 128)) : y("", !0)], 64)) : (F(), v(W(ft).Root, k({
1510
+ }, null, 8, pn))), 128)) : y("", !0)], 64)) : (F(), v(W(Q).Root, k({
1384
1511
  key: 1,
1385
1512
  class: c.value.dateInput(),
1386
1513
  ids: T.value,
@@ -1398,10 +1525,10 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
1398
1525
  translations: W(i).dateInput,
1399
1526
  onValueChange: n[0] ||= (e) => s("change", e.value)
1400
1527
  }), {
1401
- default: J(() => [w(W(ft).Context, null, {
1402
- default: J((t) => [w(W(ft).Control, {
1528
+ default: J(() => [w(W(Q).Context, null, {
1529
+ default: J((t) => [w(W(Q).Control, {
1403
1530
  class: j(c.value.dateControl()),
1404
- "data-placeholder-shown": L(t) || void 0
1531
+ "data-placeholder-shown": H(t) || void 0
1405
1532
  }, {
1406
1533
  default: J(() => [(F(!0), b(h, null, z(W(g), (n) => (F(), b(h, { key: n }, [
1407
1534
  n === 1 ? (F(), b("span", {
@@ -1413,12 +1540,12 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
1413
1540
  key: 1,
1414
1541
  id: `${W(l)}r${n}`,
1415
1542
  class: j(c.value.rangeLabel())
1416
- }, U(C[n]), 11, ln)) : y("", !0),
1417
- w(qt, {
1543
+ }, U(C[n]), 11, mn)) : y("", !0),
1544
+ w(Jt, {
1418
1545
  index: n,
1419
1546
  label: D(n),
1420
- describedby: R(t),
1421
- paste: e.period ? void 0 : ne,
1547
+ describedby: te(t),
1548
+ paste: e.period ? void 0 : fe,
1422
1549
  size: e.size
1423
1550
  }, null, 8, [
1424
1551
  "index",
@@ -1429,15 +1556,15 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
1429
1556
  ])
1430
1557
  ], 64))), 128))]),
1431
1558
  _: 2
1432
- }, 1032, ["class", "data-placeholder-shown"]), e.placeholder && I(t) ? (F(), b("span", {
1559
+ }, 1032, ["class", "data-placeholder-shown"]), e.placeholder && V(t) ? (F(), b("span", {
1433
1560
  key: 0,
1434
1561
  id: `${W(l)}ph`,
1435
1562
  class: j(c.value.placeholder()),
1436
- "data-hidden": L(t) ? void 0 : "",
1563
+ "data-hidden": H(t) ? void 0 : "",
1437
1564
  onClick: (e) => t.focus()
1438
- }, U(e.placeholder), 11, un)) : y("", !0)]),
1565
+ }, U(e.placeholder), 11, hn)) : y("", !0)]),
1439
1566
  _: 1
1440
- }), (F(!0), b(h, null, z(W(g), (e) => (F(), v(W(ft).HiddenInput, {
1567
+ }), (F(!0), b(h, null, z(W(g), (e) => (F(), v(W(Q).HiddenInput, {
1441
1568
  key: e,
1442
1569
  index: e
1443
1570
  }, null, 8, ["index"]))), 128))]),
@@ -1456,13 +1583,13 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
1456
1583
  "name",
1457
1584
  "translations"
1458
1585
  ])),
1459
- N.value ? (F(), b(h, { key: 2 }, [x("span", {
1586
+ I.value ? (F(), b(h, { key: 2 }, [x("span", {
1460
1587
  class: j(c.value.timeZone()),
1461
1588
  "aria-hidden": "true"
1462
- }, U(N.value.short), 3), x("span", {
1589
+ }, U(I.value.short), 3), x("span", {
1463
1590
  id: `${W(l)}tz`,
1464
1591
  hidden: ""
1465
- }, U(N.value.long), 9, dn)], 64)) : y("", !0),
1592
+ }, U(I.value.long), 9, gn)], 64)) : y("", !0),
1466
1593
  e.hideClear ? y("", !0) : (F(), v(W($).ClearTrigger, {
1467
1594
  key: 3,
1468
1595
  class: j(c.value.clear())
@@ -1482,10 +1609,30 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
1482
1609
  }, 16, ["class"])
1483
1610
  ]),
1484
1611
  _: 1
1485
- }, 8, ["class"]), w(Kt, M(E(H.value)), S({ _: 2 }, [t.$slots.day ? {
1612
+ }, 8, ["class"]), w(qt, M(E(ie.value)), S({ _: 2 }, [t.$slots.day ? {
1486
1613
  name: "day",
1487
1614
  fn: J((e) => [B(t.$slots, "day", M(E(e)))]),
1488
1615
  key: "0"
1616
+ } : void 0, G.value ? {
1617
+ name: "default",
1618
+ fn: J(() => [w(dn, {
1619
+ count: W(g).length,
1620
+ "time-of": Y,
1621
+ dates: e.dates,
1622
+ min: e.min,
1623
+ max: e.max,
1624
+ locale: e.locale,
1625
+ zone: ce.value,
1626
+ onTime: se
1627
+ }, null, 8, [
1628
+ "count",
1629
+ "dates",
1630
+ "min",
1631
+ "max",
1632
+ "locale",
1633
+ "zone"
1634
+ ])]),
1635
+ key: "1"
1489
1636
  } : void 0]), 1040)]),
1490
1637
  _: 3
1491
1638
  }, 16, [
@@ -1501,10 +1648,11 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
1501
1648
  "default-view",
1502
1649
  "num-of-months",
1503
1650
  "time-zone",
1504
- "translations"
1651
+ "translations",
1652
+ "close-on-select"
1505
1653
  ]));
1506
1654
  }
1507
- }), pn = /* @__PURE__ */ T({
1655
+ }), vn = /* @__PURE__ */ T({
1508
1656
  inheritAttrs: !1,
1509
1657
  __name: "DatePicker",
1510
1658
  props: {
@@ -1516,6 +1664,10 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
1516
1664
  type: Boolean,
1517
1665
  default: !1
1518
1666
  },
1667
+ timeInPopup: {
1668
+ type: Boolean,
1669
+ default: !0
1670
+ },
1519
1671
  min: {},
1520
1672
  max: {},
1521
1673
  isDateUnavailable: {},
@@ -1565,21 +1717,22 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
1565
1717
  setup(t, { emit: n }) {
1566
1718
  let r = e(), a = t, o = _(() => a.locale ?? r.value.locale), s = n, c = ne(), u = _(() => i(c)), d = _(() => u.value.rest["aria-label"]);
1567
1719
  l("DatePicker", () => a.id);
1568
- let f = R(a.defaultValue ?? null), p = _(() => a.modelValue === void 0 ? f.value : a.modelValue), m = _(() => Array.isArray(p.value) ? p.value : p.value ? [p.value] : []), h = _(() => m.value.map((e) => Xt(e, a.withTime, a.timeZone)).filter((e) => !!e)), g = (e) => e.map((e) => Qt(e, a.withTime, a.timeZone)).join();
1720
+ let f = R(a.defaultValue ?? null), p = _(() => a.modelValue === void 0 ? f.value : a.modelValue), m = _(() => Array.isArray(p.value) ? p.value : p.value ? [p.value] : []), h = _(() => m.value.map((e) => Zt(e, a.withTime, a.timeZone)).filter((e) => !!e)), g = (e) => e.map((e) => $t(e, a.withTime, a.timeZone)).join();
1569
1721
  function y(e) {
1570
- let t = e.map((e) => Zt(e, a.withTime, a.valueType, a.timeZone));
1722
+ let t = e.map((e) => Qt(e, a.withTime, a.valueType, a.timeZone));
1571
1723
  if (g(t) === g(m.value)) return;
1572
1724
  let n = a.selectionMode === "multiple" ? t : t[0] ?? null;
1573
1725
  f.value = n, s("update:modelValue", n);
1574
1726
  }
1575
1727
  let b = _(() => ({
1576
- min: Xt(a.min, a.withTime, a.timeZone, "min"),
1577
- max: Xt(a.max, a.withTime, a.timeZone, "max")
1578
- })), x = _(() => $t(a.isDateUnavailable, a.excludeDates));
1579
- return (e, n) => (F(), v(fn, k({
1728
+ min: Zt(a.min, a.withTime, a.timeZone, "min"),
1729
+ max: Zt(a.max, a.withTime, a.timeZone, "max")
1730
+ })), x = _(() => en(a.isDateUnavailable, a.excludeDates));
1731
+ return (e, n) => (F(), v(_n, k({
1580
1732
  mode: t.selectionMode,
1581
1733
  dates: h.value,
1582
- "with-time": t.withTime
1734
+ "with-time": t.withTime,
1735
+ "time-in-popup": t.timeInPopup
1583
1736
  }, b.value, {
1584
1737
  "is-date-unavailable": x.value,
1585
1738
  locale: o.value,
@@ -1612,16 +1765,16 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
1612
1765
  name: "day",
1613
1766
  fn: J((t) => [B(e.$slots, "day", M(E(t)))]),
1614
1767
  key: "0"
1615
- } : void 0]), 1040, /* @__PURE__ */ "mode.dates.with-time.is-date-unavailable.locale.disabled.read-only.invalid.required.name.label.own-id.placeholder.classes.class-name.style.size.hide-clear.show-button-bar.show-week-numbers.number-of-months.plain-today.hide-outside-days.first-day-of-week.weekend-days.allow-deselect.time-zone.show-time-zone.responsive".split(".")));
1768
+ } : void 0]), 1040, /* @__PURE__ */ "mode.dates.with-time.time-in-popup.is-date-unavailable.locale.disabled.read-only.invalid.required.name.label.own-id.placeholder.classes.class-name.style.size.hide-clear.show-button-bar.show-week-numbers.number-of-months.plain-today.hide-outside-days.first-day-of-week.weekend-days.allow-deselect.time-zone.show-time-zone.responsive".split(".")));
1616
1769
  }
1617
- }), mn = ["aria-label", "onClick"], hn = ["data-placeholder-shown"], gn = ["data-placeholder-shown"], _n = ["aria-label", "onClick"], vn = [
1770
+ }), yn = ["aria-label", "onClick"], bn = ["data-placeholder-shown"], xn = ["data-placeholder-shown"], Sn = ["aria-label", "onClick"], Cn = [
1618
1771
  "aria-controls",
1619
1772
  "aria-activedescendant",
1620
1773
  "aria-label",
1621
1774
  "placeholder",
1622
1775
  "value",
1623
1776
  "onInput"
1624
- ], yn = ["aria-checked"], bn = ["data-state"], xn = /* @__PURE__ */ T({
1777
+ ], wn = ["aria-checked"], Tn = ["data-state"], En = /* @__PURE__ */ T({
1625
1778
  inheritAttrs: !1,
1626
1779
  __name: "MultiSelect",
1627
1780
  props: {
@@ -1712,7 +1865,7 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
1712
1865
  }
1713
1866
  let de = _(() => o.max !== void 0 && G.value.length >= o.max), fe = _(() => {
1714
1867
  let e = new Set(K.value);
1715
- return dt({
1868
+ return ft({
1716
1869
  items: te.value,
1717
1870
  itemToString: (e) => e.label,
1718
1871
  itemToValue: (e) => e.key,
@@ -1774,7 +1927,7 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
1774
1927
  label: Re?.value.ids.label,
1775
1928
  hiddenSelect: Re?.value.ids.control
1776
1929
  }));
1777
- return (t, n) => (F(), v(W(Q).Root, k({
1930
+ return (t, n) => (F(), v(W(Z).Root, k({
1778
1931
  class: D.value.base({ class: d.value.className }),
1779
1932
  style: d.value.style,
1780
1933
  collection: fe.value,
@@ -1794,8 +1947,8 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
1794
1947
  onOpenChange: n[2] ||= (e) => Pe(e.open)
1795
1948
  }), {
1796
1949
  default: J(() => [
1797
- w(W(Q).Context, null, {
1798
- default: J((n) => [w(W(Q).Control, M(E(T.value || e.clearable ? { class: T.value ? D.value.chipsControl() : D.value.control() } : {})), {
1950
+ w(W(Z).Context, null, {
1951
+ default: J((n) => [w(W(Z).Control, M(E(T.value || e.clearable ? { class: T.value ? D.value.chipsControl() : D.value.control() } : {})), {
1799
1952
  default: J(() => [
1800
1953
  T.value ? (F(!0), b(h, { key: 0 }, z(W(G), (e) => (F(), b("span", {
1801
1954
  key: e.key,
@@ -1810,8 +1963,8 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
1810
1963
  }, [w(W(ve), {
1811
1964
  class: j(D.value.chipRemoveIcon()),
1812
1965
  "aria-hidden": "true"
1813
- }, null, 8, ["class"])], 10, mn))], 2))), 128)) : y("", !0),
1814
- w(W(Q).Trigger, k(d.value.rest, {
1966
+ }, null, 8, ["class"])], 10, yn))], 2))), 128)) : y("", !0),
1967
+ w(W(Z).Trigger, k(d.value.rest, {
1815
1968
  class: T.value ? D.value.chipsTrigger() : D.value.trigger(),
1816
1969
  "aria-busy": e.loading || void 0,
1817
1970
  onKeydown: ke
@@ -1823,11 +1976,11 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
1823
1976
  }, [W(G).length ? (F(), b("span", {
1824
1977
  key: 0,
1825
1978
  class: j(D.value.hiddenValue())
1826
- }, U(W(G).map((e) => e.label).join(", ")), 3)) : (F(), b(h, { key: 1 }, [C(U(e.placeholder ?? W(a).common.placeholder), 1)], 64))], 10, hn)) : (F(), b("span", {
1979
+ }, U(W(G).map((e) => e.label).join(", ")), 3)) : (F(), b(h, { key: 1 }, [C(U(e.placeholder ?? W(a).common.placeholder), 1)], 64))], 10, bn)) : (F(), b("span", {
1827
1980
  key: 1,
1828
1981
  class: j(D.value.value()),
1829
1982
  "data-placeholder-shown": !W(G).length || void 0
1830
- }, [t.$slots.value && W(G).length ? B(t.$slots, "value", { items: W(G).map((e) => e.item) }, void 0, void 0, 0) : (F(), b(h, { key: 1 }, [C(U(xe.value), 1)], 64))], 10, gn)), w(W(Q).Indicator, { class: j(D.value.indicator()) }, {
1983
+ }, [t.$slots.value && W(G).length ? B(t.$slots, "value", { items: W(G).map((e) => e.item) }, void 0, void 0, 0) : (F(), b(h, { key: 1 }, [C(U(xe.value), 1)], 64))], 10, xn)), w(W(Z).Indicator, { class: j(D.value.indicator()) }, {
1831
1984
  default: J(() => [e.loading ? (F(), v(W(he), {
1832
1985
  key: 0,
1833
1986
  class: j(D.value.spinner()),
@@ -1851,7 +2004,7 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
1851
2004
  }, [w(W(ve), {
1852
2005
  class: j(D.value.clearIcon()),
1853
2006
  "aria-hidden": "true"
1854
- }, null, 8, ["class"])], 10, _n)) : y("", !0)
2007
+ }, null, 8, ["class"])], 10, Sn)) : y("", !0)
1855
2008
  ]),
1856
2009
  _: 2
1857
2010
  }, 1040)]),
@@ -1862,13 +2015,13 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
1862
2015
  role: "status",
1863
2016
  class: j(D.value.status())
1864
2017
  }, U(Te.value || W(I).announcement.value), 3)) : y("", !0),
1865
- (F(), v(g, { to: "body" }, [w(W(Q).Positioner, null, {
1866
- default: J(() => [w(W(Q).Content, {
2018
+ (F(), v(g, { to: "body" }, [w(W(Z).Positioner, null, {
2019
+ default: J(() => [w(W(Z).Content, {
1867
2020
  class: j(D.value.content()),
1868
2021
  "aria-busy": oe.value || void 0,
1869
2022
  "aria-label": pe.value ? d.value.rest["aria-label"] : void 0
1870
2023
  }, {
1871
- default: J(() => [pe.value ? (F(), b(h, { key: 0 }, [x("div", { class: j(D.value.header()) }, [w(W(Q).Context, null, {
2024
+ default: J(() => [pe.value ? (F(), b(h, { key: 0 }, [x("div", { class: j(D.value.header()) }, [w(W(Z).Context, null, {
1872
2025
  default: J((t) => [e.filter ? (F(), b("input", {
1873
2026
  key: 0,
1874
2027
  type: "text",
@@ -1885,7 +2038,7 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
1885
2038
  class: j(D.value.search()),
1886
2039
  onInput: (e) => je(t, e),
1887
2040
  onKeydown: Me
1888
- }, null, 42, vn)) : y("", !0)]),
2041
+ }, null, 42, Cn)) : y("", !0)]),
1889
2042
  _: 1
1890
2043
  }), e.selectAll && Se.value.length ? (F(), b("button", {
1891
2044
  key: 0,
@@ -1905,13 +2058,13 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
1905
2058
  }, null, 8, ["class"])) : we.value ? (F(), v(W(se), {
1906
2059
  key: 1,
1907
2060
  class: j(D.value.checkIcon())
1908
- }, null, 8, ["class"])) : y("", !0)], 10, bn), C(" " + U(W(O).selectAll), 1)], 42, yn)) : y("", !0)], 2), w(W(Q).List, {
2061
+ }, null, 8, ["class"])) : y("", !0)], 10, Tn), C(" " + U(W(O).selectAll), 1)], 42, wn)) : y("", !0)], 2), w(W(Z).List, {
1909
2062
  id: W(me),
1910
2063
  class: j(D.value.list()),
1911
2064
  "data-autofocus": e.filter ? void 0 : ""
1912
2065
  }, {
1913
2066
  default: J(() => [w(u, {
1914
- parts: W(Q),
2067
+ parts: W(Z),
1915
2068
  groups: W(H),
1916
2069
  classes: ye.value,
1917
2070
  checkbox: e.checkboxes,
@@ -1941,7 +2094,7 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
1941
2094
  "data-autofocus"
1942
2095
  ])], 64)) : (F(), v(u, {
1943
2096
  key: 1,
1944
- parts: W(Q),
2097
+ parts: W(Z),
1945
2098
  groups: W(H),
1946
2099
  classes: ye.value,
1947
2100
  checkbox: e.checkboxes,
@@ -1972,7 +2125,7 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
1972
2125
  ])]),
1973
2126
  _: 3
1974
2127
  })])),
1975
- w(W(Q).HiddenSelect)
2128
+ w(W(Z).HiddenSelect)
1976
2129
  ]),
1977
2130
  _: 3
1978
2131
  }, 16, [
@@ -1987,7 +2140,7 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
1987
2140
  "composite"
1988
2141
  ]));
1989
2142
  }
1990
- }), Sn = ["id"], Cn = ["id"], wn = /* @__PURE__ */ T({
2143
+ }), Dn = ["id"], On = ["id"], kn = /* @__PURE__ */ T({
1991
2144
  inheritAttrs: !1,
1992
2145
  __name: "NumberInput",
1993
2146
  props: {
@@ -2058,7 +2211,7 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
2058
2211
  ...f.formatOptions,
2059
2212
  minimumFractionDigits: f.decimals,
2060
2213
  maximumFractionDigits: f.decimals
2061
- }), M = _(() => f.allowNegative ? f.min : Math.max(f.min ?? 0, 0)), N, P = f.modelValue ?? f.defaultValue ?? null, I = tt(f.modelValue ?? f.defaultValue, m.value, A.value), L = R(I ?? ""), z = xt(_(() => ({
2214
+ }), M = _(() => f.allowNegative ? f.min : Math.max(f.min ?? 0, 0)), N, P = f.modelValue ?? f.defaultValue ?? null, I = tt(f.modelValue ?? f.defaultValue, m.value, A.value), L = R(I ?? ""), z = St(_(() => ({
2062
2215
  defaultValue: I,
2063
2216
  min: M.value,
2064
2217
  max: f.max,
@@ -2116,12 +2269,12 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
2116
2269
  let e = ae.value?.$el.querySelector("input");
2117
2270
  e && (Je(e), e.focus());
2118
2271
  }
2119
- return c(o(() => ae.value?.$el.querySelector("input"))), (e, t) => (F(), v(W(bt).RootProvider, {
2272
+ return c(o(() => ae.value?.$el.querySelector("input"))), (e, t) => (F(), v(W(xt).RootProvider, {
2120
2273
  value: W(z),
2121
2274
  class: j(O.value.base({ class: S.value.className })),
2122
2275
  style: ee(S.value.style)
2123
2276
  }, {
2124
- default: J(() => [w(W(bt).Control, {
2277
+ default: J(() => [w(W(xt).Control, {
2125
2278
  ref_key: "control",
2126
2279
  ref: ae,
2127
2280
  class: j(O.value.control())
@@ -2131,8 +2284,8 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
2131
2284
  key: 0,
2132
2285
  id: W(te),
2133
2286
  class: j(O.value.prefix())
2134
- }, U(r.prefix), 11, Sn)) : y("", !0),
2135
- w(W(bt).Input, k({
2287
+ }, U(r.prefix), 11, Dn)) : y("", !0),
2288
+ w(W(xt).Input, k({
2136
2289
  ...S.value.rest,
2137
2290
  ...K.value ? { "aria-describedby": K.value } : {}
2138
2291
  }, {
@@ -2171,29 +2324,29 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
2171
2324
  key: 2,
2172
2325
  id: W(ie),
2173
2326
  class: j(O.value.suffix())
2174
- }, U(r.suffix), 11, Cn)) : y("", !0),
2327
+ }, U(r.suffix), 11, On)) : y("", !0),
2175
2328
  r.stepper && r.stepperLayout === "stacked" ? (F(), b("div", {
2176
2329
  key: 3,
2177
2330
  class: j(O.value.stepper())
2178
- }, [w(W(bt).IncrementTrigger, { class: j(O.value.button()) }, {
2331
+ }, [w(W(xt).IncrementTrigger, { class: j(O.value.button()) }, {
2179
2332
  default: J(() => [w(W(de), {
2180
2333
  class: j(O.value.buttonIcon()),
2181
2334
  "aria-hidden": "true"
2182
2335
  }, null, 8, ["class"])]),
2183
2336
  _: 1
2184
- }, 8, ["class"]), w(W(bt).DecrementTrigger, { class: j(O.value.button()) }, {
2337
+ }, 8, ["class"]), w(W(xt).DecrementTrigger, { class: j(O.value.button()) }, {
2185
2338
  default: J(() => [w(W(ce), {
2186
2339
  class: j(O.value.buttonIcon()),
2187
2340
  "aria-hidden": "true"
2188
2341
  }, null, 8, ["class"])]),
2189
2342
  _: 1
2190
- }, 8, ["class"])], 2)) : r.stepper ? (F(), b(h, { key: 4 }, [w(W(bt).DecrementTrigger, { class: j(O.value.button()) }, {
2343
+ }, 8, ["class"])], 2)) : r.stepper ? (F(), b(h, { key: 4 }, [w(W(xt).DecrementTrigger, { class: j(O.value.button()) }, {
2191
2344
  default: J(() => [w(W(ge), {
2192
2345
  class: j(O.value.buttonIcon()),
2193
2346
  "aria-hidden": "true"
2194
2347
  }, null, 8, ["class"])]),
2195
2348
  _: 1
2196
- }, 8, ["class"]), w(W(bt).IncrementTrigger, { class: j(O.value.button()) }, {
2349
+ }, 8, ["class"]), w(W(xt).IncrementTrigger, { class: j(O.value.button()) }, {
2197
2350
  default: J(() => [w(W(_e), {
2198
2351
  class: j(O.value.buttonIcon()),
2199
2352
  "aria-hidden": "true"
@@ -2210,7 +2363,7 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
2210
2363
  "style"
2211
2364
  ]));
2212
2365
  }
2213
- }), Tn = /* @__PURE__ */ T({
2366
+ }), An = /* @__PURE__ */ T({
2214
2367
  inheritAttrs: !1,
2215
2368
  __name: "DateRangePicker",
2216
2369
  props: {
@@ -2221,6 +2374,10 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
2221
2374
  type: Boolean,
2222
2375
  default: !1
2223
2376
  },
2377
+ timeInPopup: {
2378
+ type: Boolean,
2379
+ default: !0
2380
+ },
2224
2381
  min: {},
2225
2382
  max: {},
2226
2383
  isDateUnavailable: {},
@@ -2270,17 +2427,17 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
2270
2427
  setup(t, { emit: r }) {
2271
2428
  let a = e(), o = n(), s = t, c = _(() => s.locale ?? a.value.locale), u = r, d = ne(), f = _(() => i(d)), p = _(() => f.value.rest["aria-label"]);
2272
2429
  l("DateRangePicker", () => s.id);
2273
- let m = R(s.defaultValue ?? null), h = _(() => s.modelValue === void 0 ? m.value : s.modelValue), g = (e) => [e?.start, e?.end].map((e) => Xt(e, s.withTime, s.timeZone)).filter((e) => !!e), y = _(() => g(h.value)), b = (e) => Qt(e, s.withTime, s.timeZone);
2430
+ let m = R(s.defaultValue ?? null), h = _(() => s.modelValue === void 0 ? m.value : s.modelValue), g = (e) => [e?.start, e?.end].map((e) => Zt(e, s.withTime, s.timeZone)).filter((e) => !!e), y = _(() => g(h.value)), b = (e) => $t(e, s.withTime, s.timeZone);
2274
2431
  function x(e) {
2275
2432
  let t = e.length ? {
2276
- start: Zt(e[0], s.withTime, s.valueType, s.timeZone),
2277
- end: Zt(e[1], s.withTime, s.valueType, s.timeZone)
2433
+ start: Qt(e[0], s.withTime, s.valueType, s.timeZone),
2434
+ end: Qt(e[1], s.withTime, s.valueType, s.timeZone)
2278
2435
  } : null;
2279
2436
  (b(t?.start) !== b(h.value?.start) || b(t?.end) !== b(h.value?.end)) && (m.value = t, u("update:modelValue", t));
2280
2437
  }
2281
2438
  let C = _(() => ({
2282
- min: Xt(s.min, s.withTime, s.timeZone, "min"),
2283
- max: Xt(s.max, s.withTime, s.timeZone, "max")
2439
+ min: Zt(s.min, s.withTime, s.timeZone, "min"),
2440
+ max: Zt(s.max, s.withTime, s.timeZone, "max")
2284
2441
  })), w = _(() => s.presets?.map((e) => {
2285
2442
  if (typeof e != "string") return {
2286
2443
  label: e.label,
@@ -2289,13 +2446,14 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
2289
2446
  let t = Ke(e);
2290
2447
  return t ? {
2291
2448
  label: o.rangePresets[e] ?? e,
2292
- value: [Yt(t.start, s.withTime), Yt(t.end, s.withTime, "max")]
2449
+ value: [Xt(t.start, s.withTime), Xt(t.end, s.withTime, "max")]
2293
2450
  } : e;
2294
- })), T = _(() => $t(s.isDateUnavailable, s.excludeDates));
2295
- return (e, n) => (F(), v(fn, k({
2451
+ })), T = _(() => en(s.isDateUnavailable, s.excludeDates));
2452
+ return (e, n) => (F(), v(_n, k({
2296
2453
  mode: "range",
2297
2454
  dates: y.value,
2298
- "with-time": t.withTime
2455
+ "with-time": t.withTime,
2456
+ "time-in-popup": t.timeInPopup
2299
2457
  }, C.value, {
2300
2458
  "is-date-unavailable": T.value,
2301
2459
  locale: c.value,
@@ -2328,9 +2486,9 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
2328
2486
  name: "day",
2329
2487
  fn: J((t) => [B(e.$slots, "day", M(E(t)))]),
2330
2488
  key: "0"
2331
- } : void 0]), 1040, /* @__PURE__ */ "dates.with-time.is-date-unavailable.locale.disabled.read-only.invalid.required.name.presets.label.own-id.placeholder.classes.class-name.style.size.hide-clear.show-button-bar.show-week-numbers.number-of-months.plain-today.hide-outside-days.first-day-of-week.weekend-days.time-zone.show-time-zone.responsive".split(".")));
2489
+ } : void 0]), 1040, /* @__PURE__ */ "dates.with-time.time-in-popup.is-date-unavailable.locale.disabled.read-only.invalid.required.name.presets.label.own-id.placeholder.classes.class-name.style.size.hide-clear.show-button-bar.show-week-numbers.number-of-months.plain-today.hide-outside-days.first-day-of-week.weekend-days.time-zone.show-time-zone.responsive".split(".")));
2332
2490
  }
2333
- }), En = /* @__PURE__ */ T({
2491
+ }), jn = /* @__PURE__ */ T({
2334
2492
  __name: "ContextMenu",
2335
2493
  props: {
2336
2494
  items: {},
@@ -2355,20 +2513,20 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
2355
2513
  ],
2356
2514
  setup(e, { expose: n, emit: r }) {
2357
2515
  let i = e, a = t("menu", Fe, () => i.classes), o = r, s = a();
2358
- Ct({
2516
+ wt({
2359
2517
  items: () => i.items,
2360
2518
  linkAs: () => i.linkAs,
2361
2519
  onCheckedChange: (e, t) => o("checked-change", e, t),
2362
2520
  onValueChange: (e, t) => o("value-change", e, t)
2363
2521
  });
2364
- let c = Dt({
2522
+ let c = Ot({
2365
2523
  open: () => i.open,
2366
2524
  anchor: () => void 0,
2367
2525
  onOpenChange: (e) => o("update:open", e),
2368
2526
  restoreFocus: !0
2369
2527
  });
2370
2528
  n(c.handle);
2371
- let l = G("content"), u = Tt({
2529
+ let l = G("content"), u = Et({
2372
2530
  open: () => c.isOpen.value,
2373
2531
  close: c.handle.close,
2374
2532
  content: () => l.value?.$el,
@@ -2417,7 +2575,7 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
2417
2575
  "aria-label": e.label,
2418
2576
  "aria-labelledby": void 0
2419
2577
  } : {}), {
2420
- default: J(() => [w(Et, {
2578
+ default: J(() => [w(Dt, {
2421
2579
  entries: e.items,
2422
2580
  onSelect: n[5] ||= (e) => o("select", e)
2423
2581
  }, S({ _: 2 }, [t.$slots.item ? {
@@ -2436,7 +2594,7 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
2436
2594
  "anchor-point"
2437
2595
  ]));
2438
2596
  }
2439
- }), Dn = /* @__PURE__ */ T({
2597
+ }), Mn = /* @__PURE__ */ T({
2440
2598
  __name: "RecipesProvider",
2441
2599
  props: { recipes: {} },
2442
2600
  setup(e) {
@@ -2445,4 +2603,4 @@ var rn = (e) => String(e).padStart(2, "0"), an = (e, t = !1) => e && "hour" in e
2445
2603
  }
2446
2604
  });
2447
2605
  //#endregion
2448
- export { Ct as C, Et as S, Lt as _, xn as a, jt as b, Xt as c, Zt as d, an as f, Gt as g, qt as h, wn as i, nn as l, Qt as m, En as n, pn as o, $t as p, Tn as r, fn as s, Dn as t, on as u, It as v, Dt as x, Nt as y };
2606
+ export { wt as C, Dt as S, Rt as _, En as a, Mt as b, Zt as c, Qt as d, sn as f, Kt as g, Jt as h, kn as i, an as l, $t as m, jn as n, vn as o, en as p, An as r, _n as s, Mn as t, cn as u, Lt as v, Ot as x, Pt as y };