@quidgest/ui 0.16.54 → 0.16.55

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/ui.esm.js CHANGED
@@ -1,9 +1,9 @@
1
1
  var cs = Object.defineProperty;
2
2
  var fs = (a, e, t) => e in a ? cs(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t;
3
3
  var _e = (a, e, t) => fs(a, typeof e != "symbol" ? e + "" : e, t);
4
- import { getCurrentInstance as wn, computed as k, ref as j, toValue as ha, provide as vl, inject as ja, unref as d, isRef as mn, watch as De, defineComponent as ue, mergeModels as Ve, toRef as Ce, useModel as We, createElementBlock as b, openBlock as p, normalizeClass as oe, renderSlot as D, normalizeStyle as Ne, withModifiers as at, createCommentVNode as S, createElementVNode as Z, createVNode as ve, createTextVNode as Ge, toDisplayString as ke, useAttrs as hl, createBlock as ne, resolveDynamicComponent as ra, withCtx as N, Fragment as ye, h as Zn, mergeProps as Te, withKeys as vn, normalizeProps as Oe, guardReactiveProps as Qe, useSlots as Gt, onMounted as Je, onUnmounted as Mt, renderList as Re, nextTick as Be, useTemplateRef as xt, createSlots as He, withDirectives as Wt, vModelDynamic as ps, vModelText as yl, useId as ms, onBeforeUnmount as gl, reactive as na, Teleport as Or, Transition as Ht, render as Jl, getCurrentScope as Lr, onScopeDispose as Ir, onBeforeUpdate as vs, vShow as fn, resolveComponent as hs, vModelCheckbox as ys, readonly as gs, customRef as bs, shallowRef as Jn, toHandlers as _s, watchEffect as ws, TransitionGroup as ks } from "vue";
4
+ import { getCurrentInstance as wn, computed as w, ref as j, toValue as ha, provide as vl, inject as ja, unref as d, isRef as mn, watch as De, defineComponent as ue, mergeModels as Ve, toRef as Ce, useModel as We, createElementBlock as b, openBlock as p, normalizeClass as oe, renderSlot as D, normalizeStyle as Ne, withModifiers as at, createCommentVNode as S, createElementVNode as Z, createVNode as ve, createTextVNode as je, toDisplayString as ke, useAttrs as hl, createBlock as ne, resolveDynamicComponent as Gt, withCtx as N, Fragment as ye, h as Zn, mergeProps as Te, withKeys as vn, normalizeProps as Oe, guardReactiveProps as Qe, useSlots as Kt, onMounted as Je, onUnmounted as Mt, renderList as Re, nextTick as Be, useTemplateRef as xt, createSlots as He, withDirectives as Wt, vModelDynamic as ps, vModelText as yl, useId as ms, onBeforeUnmount as gl, reactive as la, Teleport as Or, Transition as Ht, render as Jl, getCurrentScope as Lr, onScopeDispose as Ir, onBeforeUpdate as vs, vShow as fn, resolveComponent as hs, vModelCheckbox as ys, readonly as gs, customRef as bs, shallowRef as Jn, toHandlers as _s, watchEffect as ws, TransitionGroup as ks } from "vue";
5
5
  /*!
6
- * Quidgest UI v0.16.54
6
+ * Quidgest UI v0.16.55
7
7
  * (c) 2026 Quidgest - Consultores de Gestão, S.A.
8
8
  * Released under the MIT License.
9
9
  */
@@ -113,7 +113,7 @@ const el = {
113
113
  onNeutral: "#000",
114
114
  onNeutralLight: "#e0e0e0",
115
115
  onNeutralDark: "#000"
116
- }, ig = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
116
+ }, sg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
117
117
  __proto__: null,
118
118
  defaultDarkColorScheme: tl,
119
119
  defaultLightColorScheme: el
@@ -146,11 +146,11 @@ function $s() {
146
146
  const e = a.type.name ?? a.type.__name;
147
147
  if (!e) throw new Error("[Quidgest UI] Could not determine component name");
148
148
  const t = Br(), n = (r = t.value) == null ? void 0 : r.Global, l = (o = t.value) == null ? void 0 : o[e];
149
- return k(() => bl(n, l));
149
+ return w(() => bl(n, l));
150
150
  }
151
151
  function ya(a) {
152
152
  if (al(a)) return;
153
- const e = Br(), t = j(ha(a)), n = k(() => al(t.value) ? e.value : bl(e.value, t.value));
153
+ const e = Br(), t = j(ha(a)), n = w(() => al(t.value) ? e.value : bl(e.value, t.value));
154
154
  vl(_l, n);
155
155
  }
156
156
  function Br() {
@@ -162,8 +162,8 @@ const Rr = Symbol.for("q-group");
162
162
  function Xa(a) {
163
163
  const e = {
164
164
  active: j(xs(a)),
165
- multiple: k(() => d(a.multiple) || !1),
166
- required: k(() => d(a.required) || !1)
165
+ multiple: w(() => d(a.multiple) || !1),
166
+ required: w(() => d(a.required) || !1)
167
167
  };
168
168
  return mn(a.active) && De(a.active, (t) => {
169
169
  e.active.value = t;
@@ -177,7 +177,7 @@ function Xa(a) {
177
177
  function kn(a) {
178
178
  const e = ja(Rr, void 0);
179
179
  if (!e) return;
180
- const t = k(() => {
180
+ const t = w(() => {
181
181
  var r;
182
182
  const l = d(a);
183
183
  return Array.isArray(e.active.value) ? (r = e.active.value) == null ? void 0 : r.includes(l) : e.active.value === l;
@@ -245,7 +245,7 @@ const Ts = ["id"], Ms = /* @__PURE__ */ ue({
245
245
  size: { default: 48 }
246
246
  },
247
247
  setup(a) {
248
- const e = a, t = k(() => ({
248
+ const e = a, t = w(() => ({
249
249
  "font-size": e.size !== 48 ? `${e.size}px` : void 0
250
250
  }));
251
251
  return (n, l) => (p(), b("div", {
@@ -456,12 +456,12 @@ function ar(a) {
456
456
  return a ? `--q-theme-${wl(a)}` : "";
457
457
  }
458
458
  function Yr(a, e) {
459
- const t = k(() => {
459
+ const t = w(() => {
460
460
  const r = e.value.find((o) => o.name === a.value);
461
461
  if (!r)
462
462
  throw new Error(`[Quidgest UI] Theme "${a.value}" not found`);
463
463
  return r;
464
- }), n = k(() => zr(t.value.name)), l = k(() => Fr(t.value));
464
+ }), n = w(() => zr(t.value.name)), l = w(() => Fr(t.value));
465
465
  return {
466
466
  name: a,
467
467
  current: t,
@@ -481,17 +481,17 @@ function Za() {
481
481
  return a;
482
482
  }
483
483
  function Is(a) {
484
- const { themes: e } = Za(), t = k(() => ha(a)), n = k(() => typeof t.value != "string"), l = k(
484
+ const { themes: e } = Za(), t = w(() => ha(a)), n = w(() => typeof t.value != "string"), l = w(
485
485
  () => n.value ? t.value.name : t.value
486
- ), r = k(
486
+ ), r = w(
487
487
  () => n.value ? [...e.value, t.value] : e.value
488
488
  ), o = Yr(l, r);
489
489
  return vl(Dl, o), o;
490
490
  }
491
491
  function Ut(a) {
492
- const e = k(() => d(a)), t = k(
492
+ const e = w(() => d(a)), t = w(
493
493
  () => e.value ? !Bs(e.value) : !1
494
- ), n = k(() => {
494
+ ), n = w(() => {
495
495
  const l = e.value;
496
496
  if (!l) return;
497
497
  let r = l;
@@ -544,11 +544,11 @@ const Rs = ["id", "disabled"], Es = {
544
544
  },
545
545
  emits: ["click"],
546
546
  setup(a, { emit: e }) {
547
- const t = a, n = e, l = k(() => t.disabled || t.loading);
547
+ const t = a, n = e, l = w(() => t.disabled || t.loading);
548
548
  function r(f) {
549
549
  l.value || n("click", f);
550
550
  }
551
- const { isUtilityColor: o, style: s } = Ut(Ce(t, "color")), i = k(() => {
551
+ const { isUtilityColor: o, style: s } = Ut(Ce(t, "color")), i = w(() => {
552
552
  const f = o.value ? `q-button--${t.color}` : void 0, u = t.size !== "regular" ? `q-button--${t.size}` : void 0, m = t.iconPos !== "start" ? `q-button--icon-${t.iconPos}` : void 0;
553
553
  return [
554
554
  "q-button",
@@ -565,7 +565,7 @@ const Rs = ["id", "disabled"], Es = {
565
565
  },
566
566
  t.class
567
567
  ];
568
- }), c = k(() => {
568
+ }), c = w(() => {
569
569
  var f, u, m, v, x, M;
570
570
  if (!o.value)
571
571
  return {
@@ -590,7 +590,7 @@ const Rs = ["id", "disabled"], Es = {
590
590
  ])) : S("", !0),
591
591
  Z("span", Vs, [
592
592
  D(f.$slots, "default"),
593
- Ge(" " + ke(t.label), 1)
593
+ je(" " + ke(t.label), 1)
594
594
  ])
595
595
  ], 14, Rs));
596
596
  }
@@ -624,7 +624,7 @@ const Rs = ["id", "disabled"], Es = {
624
624
  loading: { type: Boolean }
625
625
  },
626
626
  setup(a) {
627
- const e = a, t = k(() => {
627
+ const e = a, t = w(() => {
628
628
  const s = e.width ? `q-card--${e.width}` : void 0, i = e.variant && e.variant !== "default" ? `q-card--${e.variant}` : void 0, c = e.elevation && e.elevation !== "none" ? `q-card--elevation-${e.elevation}` : void 0;
629
629
  return [
630
630
  "q-card",
@@ -639,11 +639,11 @@ const Rs = ["id", "disabled"], Es = {
639
639
  },
640
640
  e.class
641
641
  ];
642
- }), n = hl(), l = k(() => !!n.onClick || e.href), r = k(() => e.disabled || e.loading);
642
+ }), n = hl(), l = w(() => !!n.onClick || e.href), r = w(() => e.disabled || e.loading);
643
643
  function o(s) {
644
644
  r.value && s.stopImmediatePropagation();
645
645
  }
646
- return (s, i) => (p(), ne(ra(e.href ? "a" : "div"), {
646
+ return (s, i) => (p(), ne(Gt(e.href ? "a" : "div"), {
647
647
  id: e.id,
648
648
  class: oe(t.value),
649
649
  href: e.href && !r.value ? e.href : void 0,
@@ -662,12 +662,12 @@ const Rs = ["id", "disabled"], Es = {
662
662
  Z("div", Ns, [
663
663
  s.$slots.title || e.title ? (p(), b("p", Qs, [
664
664
  s.$slots.title ? D(s.$slots, "title", { key: 0 }) : (p(), b(ye, { key: 1 }, [
665
- Ge(ke(s.$props.title), 1)
665
+ je(ke(s.$props.title), 1)
666
666
  ], 64))
667
667
  ])) : S("", !0),
668
668
  s.$slots.subtitle || e.subtitle ? (p(), b("p", Ws, [
669
669
  s.$slots.subtitle ? D(s.$slots, "subtitle", { key: 0 }) : (p(), b(ye, { key: 1 }, [
670
- Ge(ke(s.$props.subtitle), 1)
670
+ je(ke(s.$props.subtitle), 1)
671
671
  ], 64))
672
672
  ])) : S("", !0)
673
673
  ]),
@@ -698,7 +698,7 @@ const Rs = ["id", "disabled"], Es = {
698
698
  type: { default: "svg" }
699
699
  },
700
700
  setup(a) {
701
- const e = a, t = k(() => {
701
+ const e = a, t = w(() => {
702
702
  switch (e.type) {
703
703
  case "svg":
704
704
  return Wr;
@@ -709,14 +709,14 @@ const Rs = ["id", "disabled"], Es = {
709
709
  default:
710
710
  return;
711
711
  }
712
- }), { style: n } = Ut(Ce(e, "color")), l = k(() => {
712
+ }), { style: n } = Ut(Ce(e, "color")), l = w(() => {
713
713
  var r;
714
714
  return {
715
715
  "font-size": e.size !== void 0 ? `${e.size}px` : void 0,
716
716
  color: e.color !== void 0 && e.color !== "primary" ? (r = n.value) == null ? void 0 : r.mainColor : void 0
717
717
  };
718
718
  });
719
- return (r, o) => (p(), ne(ra(t.value), {
719
+ return (r, o) => (p(), ne(Gt(t.value), {
720
720
  id: e.id,
721
721
  class: oe(e.class),
722
722
  icon: e.icon,
@@ -733,7 +733,7 @@ const Rs = ["id", "disabled"], Es = {
733
733
  library: { default: "" }
734
734
  },
735
735
  setup(a) {
736
- const e = a, t = k(() => e.variant ? `${e.library}-${e.variant}` : e.library), n = k(() => e.library && e.icon ? `${e.library}-${e.icon}` : e.icon);
736
+ const e = a, t = w(() => e.variant ? `${e.library}-${e.variant}` : e.library), n = w(() => e.library && e.icon ? `${e.library}-${e.icon}` : e.icon);
737
737
  return (l, r) => (p(), b("i", {
738
738
  id: e.id,
739
739
  class: oe(["q-icon", "q-icon__font", t.value, n.value, e.class])
@@ -920,7 +920,7 @@ const ni = /* @__PURE__ */ ue({
920
920
  }),
921
921
  emits: ["update:modelValue"],
922
922
  setup(a) {
923
- const e = a, t = We(a, "modelValue"), n = k(() => [
923
+ const e = a, t = We(a, "modelValue"), n = w(() => [
924
924
  "q-chevron",
925
925
  {
926
926
  "q-chevron--expanded": t.value
@@ -960,7 +960,7 @@ const ni = /* @__PURE__ */ ue({
960
960
  }),
961
961
  emits: ["update:modelValue"],
962
962
  setup(a) {
963
- const e = a, t = We(a, "modelValue"), n = k(() => e.width === "block" ? "block" : void 0), l = k(() => {
963
+ const e = a, t = We(a, "modelValue"), n = w(() => e.width === "block" ? "block" : void 0), l = w(() => {
964
964
  const s = e.spacing && e.spacing !== "comfortable" ? `q-collapsible--${e.spacing}` : void 0, i = e.variant && e.variant !== "default" ? `q-collapsible--${e.variant}` : void 0;
965
965
  return [
966
966
  "q-collapsible",
@@ -971,7 +971,7 @@ const ni = /* @__PURE__ */ ue({
971
971
  },
972
972
  e.class
973
973
  ];
974
- }), r = k(() => [
974
+ }), r = w(() => [
975
975
  "q-collapsible__content-wrapper",
976
976
  {
977
977
  "q-collapsible__content-show": t.value
@@ -1016,7 +1016,7 @@ const ni = /* @__PURE__ */ ue({
1016
1016
  ]),
1017
1017
  s.$slots.subtitle || s.subtitle ? (p(), b("div", ui, [
1018
1018
  D(s.$slots, "subtitle", {}, () => [
1019
- Ge(ke(s.subtitle), 1)
1019
+ je(ke(s.subtitle), 1)
1020
1020
  ])
1021
1021
  ])) : S("", !0)
1022
1022
  ]),
@@ -1089,7 +1089,7 @@ const mi = /* @__PURE__ */ ue({
1089
1089
  alt: { default: "Avatar" }
1090
1090
  },
1091
1091
  setup(a) {
1092
- const e = a, t = k(() => ["small", "large"].includes(e.size) ? `q-avatar--${e.size}` : ""), n = k(() => e.shape === "circle" ? void 0 : "q-avatar--square"), { style: l } = Ut(Ce(e, "color")), r = k(() => {
1092
+ const e = a, t = w(() => ["small", "large"].includes(e.size) ? `q-avatar--${e.size}` : ""), n = w(() => e.shape === "circle" ? void 0 : "q-avatar--square"), { style: l } = Ut(Ce(e, "color")), r = w(() => {
1093
1093
  var s, i;
1094
1094
  const o = {};
1095
1095
  return ["small", "medium", "large"].includes(e.size) || (o["--q-avatar-size"] = e.size), l.value && (o["--q-avatar-color"] = (s = l.value) == null ? void 0 : s.mainColor, o["--q-avatar-text-color"] = (i = l.value) == null ? void 0 : i.onMainColor), o;
@@ -1131,7 +1131,7 @@ const mi = /* @__PURE__ */ ue({
1131
1131
  },
1132
1132
  emits: ["click:remove"],
1133
1133
  setup(a, { emit: e }) {
1134
- const t = a, n = e, l = hl(), r = k(() => !!l.onClick), o = k(() => {
1134
+ const t = a, n = e, l = hl(), r = w(() => !!l.onClick), o = w(() => {
1135
1135
  const m = s.value ? `q-badge--${t.color}` : void 0, v = t.size !== "default" ? `q-badge--${t.size}` : void 0;
1136
1136
  return [
1137
1137
  "q-badge",
@@ -1145,7 +1145,7 @@ const mi = /* @__PURE__ */ ue({
1145
1145
  },
1146
1146
  t.class
1147
1147
  ];
1148
- }), { isUtilityColor: s, style: i } = Ut(Ce(t, "color")), c = k(() => {
1148
+ }), { isUtilityColor: s, style: i } = Ut(Ce(t, "color")), c = w(() => {
1149
1149
  var m, v, x, M;
1150
1150
  if (!s.value)
1151
1151
  return {
@@ -1203,7 +1203,7 @@ const mi = /* @__PURE__ */ ue({
1203
1203
  enabled: { type: Boolean, default: !0 }
1204
1204
  },
1205
1205
  setup(a) {
1206
- const e = a, t = Gt(), n = k(() => !e.content && !t.content), l = k(() => [
1206
+ const e = a, t = Kt(), n = w(() => !e.content && !t.content), l = w(() => [
1207
1207
  "q-badge-indicator",
1208
1208
  `q-badge-indicator--${e.placement}`,
1209
1209
  {
@@ -1224,7 +1224,7 @@ const mi = /* @__PURE__ */ ue({
1224
1224
  }, {
1225
1225
  default: N(() => [
1226
1226
  D(r.$slots, "content", {}, () => [
1227
- Ge(ke(e.content), 1)
1227
+ je(ke(e.content), 1)
1228
1228
  ])
1229
1229
  ]),
1230
1230
  _: 3
@@ -1284,7 +1284,7 @@ const mi = /* @__PURE__ */ ue({
1284
1284
  type: {}
1285
1285
  },
1286
1286
  setup(a) {
1287
- const e = a, t = k(() => e.type ? `q-skeleton-loader--${e.type}` : void 0), n = k(() => {
1287
+ const e = a, t = w(() => e.type ? `q-skeleton-loader--${e.type}` : void 0), n = w(() => {
1288
1288
  const l = typeof e.width == "number" ? `${e.width}px` : e.width, r = typeof e.height == "number" ? `${e.height}px` : e.height;
1289
1289
  return {
1290
1290
  width: l,
@@ -1347,10 +1347,10 @@ const mi = /* @__PURE__ */ ue({
1347
1347
  let o = !1, s = !1, i = 0, c = 0;
1348
1348
  const f = j(0), u = j(0);
1349
1349
  let m, v;
1350
- const x = k(() => ({
1350
+ const x = w(() => ({
1351
1351
  transform: `translateX(-${r.value * 100}%)`,
1352
1352
  transition: o ? `transform ${t.animationDuration}ms cubic-bezier(0.4, 0, 0.2, 1)` : "none"
1353
- })), M = k(() => ({
1353
+ })), M = w(() => ({
1354
1354
  "--q-carousel-progress-duration": `${t.autoCycleInterval}ms`,
1355
1355
  "--q-carousel-progress-width": `${f.value}%`
1356
1356
  }));
@@ -1371,7 +1371,7 @@ const mi = /* @__PURE__ */ ue({
1371
1371
  const P = r.value - 1;
1372
1372
  P < 0 ? t.wrap && $(t.slides.length - 1) : $(P);
1373
1373
  }
1374
- function w(P) {
1374
+ function k(P) {
1375
1375
  const J = window.getSelection();
1376
1376
  if (J != null && J.toString().length) return;
1377
1377
  const A = t.slides[P];
@@ -1500,7 +1500,7 @@ const mi = /* @__PURE__ */ ue({
1500
1500
  { "q-carousel__slide--active": _ === r.value }
1501
1501
  ]),
1502
1502
  style: Ne(F(B)),
1503
- onClick: at(() => w(_), ["stop", "prevent"])
1503
+ onClick: at(() => k(_), ["stop", "prevent"])
1504
1504
  }, [
1505
1505
  B.image ? (p(), b("img", {
1506
1506
  key: 0,
@@ -1592,7 +1592,7 @@ const mi = /* @__PURE__ */ ue({
1592
1592
  }),
1593
1593
  emits: ["update:modelValue"],
1594
1594
  setup(a) {
1595
- const e = a, t = We(a, "modelValue"), n = ht(Ce(e, "id")), l = xt("inputEl"), r = xt("buttonEl"), o = k(() => [
1595
+ const e = a, t = We(a, "modelValue"), n = ht(Ce(e, "id")), l = xt("inputEl"), r = xt("buttonEl"), o = w(() => [
1596
1596
  "q-checkbox",
1597
1597
  `q-checkbox--${e.size}`,
1598
1598
  `q-checkbox--${e.color}`,
@@ -1691,7 +1691,7 @@ const mi = /* @__PURE__ */ ue({
1691
1691
  for: {}
1692
1692
  },
1693
1693
  setup(a) {
1694
- const e = a, t = k(() => [
1694
+ const e = a, t = w(() => [
1695
1695
  "q-label",
1696
1696
  {
1697
1697
  "q-label--required": e.required
@@ -1707,7 +1707,7 @@ const mi = /* @__PURE__ */ ue({
1707
1707
  for: e.for
1708
1708
  }, [
1709
1709
  D(n.$slots, "default", {}, () => [
1710
- Ge(ke(e.label), 1)
1710
+ je(ke(e.label), 1)
1711
1711
  ])
1712
1712
  ], 8, au),
1713
1713
  D(n.$slots, "append")
@@ -1734,7 +1734,7 @@ const mi = /* @__PURE__ */ ue({
1734
1734
  required: e.required
1735
1735
  }, {
1736
1736
  default: N(() => [
1737
- Ge(ke(e.label), 1)
1737
+ je(ke(e.label), 1)
1738
1738
  ]),
1739
1739
  _: 1
1740
1740
  }, 8, ["for", "required"]),
@@ -1769,7 +1769,7 @@ const mi = /* @__PURE__ */ ue({
1769
1769
  invalid: { type: Boolean }
1770
1770
  },
1771
1771
  setup(a, { expose: e }) {
1772
- const t = a, n = xt("field"), l = k(() => t.required && !t.readonly && !t.disabled), r = k(() => [
1772
+ const t = a, n = xt("field"), l = w(() => t.required && !t.readonly && !t.disabled), r = w(() => [
1773
1773
  "q-field",
1774
1774
  `q-field--${t.size}`,
1775
1775
  {
@@ -1880,7 +1880,7 @@ const mi = /* @__PURE__ */ ue({
1880
1880
  }),
1881
1881
  emits: /* @__PURE__ */ Ve(["click:clear"], ["update:modelValue"]),
1882
1882
  setup(a, { expose: e, emit: t }) {
1883
- const n = a, l = t, r = We(a, "modelValue"), o = k({
1883
+ const n = a, l = t, r = We(a, "modelValue"), o = w({
1884
1884
  get: () => r.value,
1885
1885
  set: (x) => {
1886
1886
  const M = n.maxLength;
@@ -1888,14 +1888,14 @@ const mi = /* @__PURE__ */ ue({
1888
1888
  }
1889
1889
  });
1890
1890
  De(r, (x) => o.value = x, { immediate: !0 });
1891
- const s = ht(Ce(n, "id")), i = j(null), c = j(null), f = k(
1891
+ const s = ht(Ce(n, "id")), i = j(null), c = j(null), f = w(
1892
1892
  () => n.readonly || n.disabled ? void 0 : n.placeholder
1893
- ), u = k(() => n.clearable && !n.readonly && !n.disabled), m = k(() => u.value && r.value);
1893
+ ), u = w(() => n.clearable && !n.readonly && !n.disabled), m = w(() => u.value && r.value);
1894
1894
  function v(x) {
1895
1895
  u.value && (r.value = "", l("click:clear", x));
1896
1896
  }
1897
1897
  return e({
1898
- fieldRef: k(() => {
1898
+ fieldRef: w(() => {
1899
1899
  var x;
1900
1900
  return (x = i.value) == null ? void 0 : x.fieldRef;
1901
1901
  }),
@@ -1987,7 +1987,7 @@ const mi = /* @__PURE__ */ ue({
1987
1987
  }),
1988
1988
  emits: ["update:modelValue"],
1989
1989
  setup(a) {
1990
- const e = a, t = We(a, "modelValue"), n = j(""), l = j(""), r = k(() => e.readonly || e.disabled);
1990
+ const e = a, t = We(a, "modelValue"), n = j(""), l = j(""), r = w(() => e.readonly || e.disabled);
1991
1991
  function o(u) {
1992
1992
  return $l(u, !0);
1993
1993
  }
@@ -2086,7 +2086,7 @@ const mi = /* @__PURE__ */ ue({
2086
2086
  },
2087
2087
  emits: ["update:modelValue", "click", "mouseenter:item"],
2088
2088
  setup(a, { expose: e, emit: t }) {
2089
- const n = a, l = t, r = j(!1), o = k(() => s.value.length > 1 ? "div" : "ul"), s = k(() => n.groups.length ? n.groups.filter(
2089
+ const n = a, l = t, r = j(!1), o = w(() => s.value.length > 1 ? "div" : "ul"), s = w(() => n.groups.length ? n.groups.filter(
2090
2090
  (C) => {
2091
2091
  var q;
2092
2092
  return (q = n.items) == null ? void 0 : q.some((P) => P.group === C.id);
@@ -2125,16 +2125,16 @@ const mi = /* @__PURE__ */ ue({
2125
2125
  var q;
2126
2126
  switch (window.clearTimeout(O), ["ArrowDown", "ArrowUp", "Home", "End"].includes(C.key) && C.preventDefault(), C.key) {
2127
2127
  case "ArrowDown":
2128
- w("next");
2128
+ k("next");
2129
2129
  break;
2130
2130
  case "ArrowUp":
2131
- w("prev");
2131
+ k("prev");
2132
2132
  break;
2133
2133
  case "Home":
2134
- w("first");
2134
+ k("first");
2135
2135
  break;
2136
2136
  case "End":
2137
- w("last");
2137
+ k("last");
2138
2138
  break;
2139
2139
  }
2140
2140
  if (/^[a-z]$/i.test(C.key)) {
@@ -2151,7 +2151,7 @@ const mi = /* @__PURE__ */ ue({
2151
2151
  $.value = "";
2152
2152
  }, 500);
2153
2153
  }
2154
- function w(C) {
2154
+ function k(C) {
2155
2155
  switch (C) {
2156
2156
  case "next":
2157
2157
  case "prev":
@@ -2222,7 +2222,7 @@ const mi = /* @__PURE__ */ ue({
2222
2222
  getAdjacentItemIndex: he,
2223
2223
  getFirstFocusableItemIndex: R,
2224
2224
  getLastFocusableItemIndex: V
2225
- }), (C, q) => (p(), ne(ra(o.value), {
2225
+ }), (C, q) => (p(), ne(Gt(o.value), {
2226
2226
  id: n.id,
2227
2227
  ref_key: "listRef",
2228
2228
  ref: c,
@@ -2360,7 +2360,7 @@ const mi = /* @__PURE__ */ ue({
2360
2360
  Z("div", Du, [
2361
2361
  D(c.$slots, "default", {}, () => [
2362
2362
  t.icon ? (p(), ne(d(ze), Oe(Te({ key: 0 }, t.icon)), null, 16)) : S("", !0),
2363
- Ge(" " + ke(t.label), 1)
2363
+ je(" " + ke(t.label), 1)
2364
2364
  ])
2365
2365
  ]),
2366
2366
  t.description ? (p(), b("div", Au, [
@@ -2853,7 +2853,7 @@ const sd = ["id"], id = ["role"], ud = /* @__PURE__ */ ue({
2853
2853
  },
2854
2854
  emits: ["update:modelValue", "enter", "leave"],
2855
2855
  setup(a, { emit: e }) {
2856
- const t = a, n = e, { class: l } = Za(), r = k(() => [
2856
+ const t = a, n = e, { class: l } = Za(), r = w(() => [
2857
2857
  "q-overlay",
2858
2858
  `q-overlay--${Ba(f.placement)}`,
2859
2859
  l.value,
@@ -2863,19 +2863,19 @@ const sd = ["id"], id = ["role"], ud = /* @__PURE__ */ ue({
2863
2863
  "q-overlay--center": t.centerVertically
2864
2864
  },
2865
2865
  t.class
2866
- ]), o = k(() => t.anchor === void 0), s = k(() => t.modelValue && !t.nonModal), i = k(() => (t.modelValue || f.animating) && t.scrollLock), c = k(() => !t.inline && (t.modelValue || f.animating)), f = na({
2866
+ ]), o = w(() => t.anchor === void 0), s = w(() => t.modelValue && !t.nonModal), i = w(() => (t.modelValue || f.animating) && t.scrollLock), c = w(() => !t.inline && (t.modelValue || f.animating)), f = la({
2867
2867
  animating: !1,
2868
2868
  top: 0,
2869
2869
  left: 0,
2870
2870
  width: 0,
2871
2871
  placement: t.placement
2872
- }), u = na({
2872
+ }), u = la({
2873
2873
  top: void 0,
2874
2874
  left: void 0,
2875
2875
  hidden: !0
2876
2876
  });
2877
2877
  De(() => t.modelValue, he);
2878
- const m = k(() => {
2878
+ const m = w(() => {
2879
2879
  if (o.value) return;
2880
2880
  const g = I(), h = t.width === "anchor", ee = h ? g == null ? void 0 : g.getBoundingClientRect().width : void 0;
2881
2881
  return {
@@ -2883,7 +2883,7 @@ const sd = ["id"], id = ["role"], ud = /* @__PURE__ */ ue({
2883
2883
  left: `${f.left}px`,
2884
2884
  width: ee !== void 0 ? `${ee}px` : void 0
2885
2885
  };
2886
- }), v = k(() => {
2886
+ }), v = w(() => {
2887
2887
  if (t.arrow)
2888
2888
  return {
2889
2889
  top: u.top !== void 0 ? `${u.top}px` : void 0,
@@ -2914,7 +2914,7 @@ const sd = ["id"], id = ["role"], ud = /* @__PURE__ */ ue({
2914
2914
  () => Be(O)
2915
2915
  );
2916
2916
  let T;
2917
- function w() {
2917
+ function k() {
2918
2918
  G(0);
2919
2919
  }
2920
2920
  function F() {
@@ -2987,10 +2987,10 @@ const sd = ["id"], id = ["role"], ud = /* @__PURE__ */ ue({
2987
2987
  subtree: !0
2988
2988
  }), t.trigger) {
2989
2989
  case "click":
2990
- g.addEventListener("click", w);
2990
+ g.addEventListener("click", k);
2991
2991
  break;
2992
2992
  case "hover":
2993
- g.addEventListener("mouseenter", F), g.addEventListener("mouseleave", L), g.addEventListener("focusin", w), g.addEventListener("focusout", L);
2993
+ g.addEventListener("mouseenter", F), g.addEventListener("mouseleave", L), g.addEventListener("focusin", k), g.addEventListener("focusout", L);
2994
2994
  break;
2995
2995
  }
2996
2996
  }
@@ -2999,10 +2999,10 @@ const sd = ["id"], id = ["role"], ud = /* @__PURE__ */ ue({
2999
2999
  if (g)
3000
3000
  switch (J == null || J.disconnect(), t.trigger) {
3001
3001
  case "click":
3002
- g.removeEventListener("click", w);
3002
+ g.removeEventListener("click", k);
3003
3003
  break;
3004
3004
  case "hover":
3005
- g.removeEventListener("mouseenter", F), g.removeEventListener("mouseleave", L), g.removeEventListener("focusin", w), g.removeEventListener("focusout", L);
3005
+ g.removeEventListener("mouseenter", F), g.removeEventListener("mouseleave", L), g.removeEventListener("focusin", k), g.removeEventListener("focusout", L);
3006
3006
  break;
3007
3007
  }
3008
3008
  }
@@ -3157,25 +3157,25 @@ const sd = ["id"], id = ["role"], ud = /* @__PURE__ */ ue({
3157
3157
  setup(a, { expose: e, emit: t }) {
3158
3158
  const n = a, l = t, r = We(a, "modelValue"), o = We(a, "open"), s = We(a, "search"), i = j(void 0), c = j(null), f = j(null), u = j(null), m = j(null), v = j(null);
3159
3159
  Je(L);
3160
- const x = k(() => n.clearable && !n.readonly && !n.disabled), M = k(() => {
3160
+ const x = w(() => n.clearable && !n.readonly && !n.disabled), M = w(() => {
3161
3161
  var B;
3162
3162
  return n.filterMode === "manual" || !F.value ? n.items ?? [] : ((B = n.items) == null ? void 0 : B.filter(
3163
3163
  (_) => _[n.itemLabel].toLowerCase().startsWith(s.value.toLowerCase())
3164
3164
  )) ?? [];
3165
- }), $ = k(() => {
3165
+ }), $ = w(() => {
3166
3166
  var B;
3167
3167
  return (B = n.items) == null ? void 0 : B.find((_) => _[n.itemValue] === r.value);
3168
- }), O = k(() => $.value === void 0), T = k(() => {
3168
+ }), O = w(() => $.value === void 0), T = w(() => {
3169
3169
  const B = i.value;
3170
3170
  if (B !== void 0 && M.value[B])
3171
3171
  return M.value[B];
3172
- }), w = k(() => {
3172
+ }), k = w(() => {
3173
3173
  var _;
3174
3174
  if (i.value === void 0)
3175
3175
  return;
3176
3176
  const B = (_ = f.value) == null ? void 0 : _.getItem(i.value);
3177
3177
  return B == null ? void 0 : B.id;
3178
- }), F = k(() => {
3178
+ }), F = w(() => {
3179
3179
  var B;
3180
3180
  return s.value.length > 0 && s.value !== ((B = $.value) == null ? void 0 : B[n.itemLabel]);
3181
3181
  });
@@ -3327,7 +3327,7 @@ const sd = ["id"], id = ["role"], ud = /* @__PURE__ */ ue({
3327
3327
  "aria-expanded": o.value,
3328
3328
  "aria-haspopup": "listbox",
3329
3329
  "aria-autocomplete": "list",
3330
- "aria-activedescendant": w.value,
3330
+ "aria-activedescendant": k.value,
3331
3331
  size: n.size
3332
3332
  }, B.$attrs, {
3333
3333
  onClick: le,
@@ -4101,24 +4101,24 @@ function Ol(a, e) {
4101
4101
  const t = Ae(a, e == null ? void 0 : e.in), n = +Lt(t, e) - +ic(t, e);
4102
4102
  return Math.round(n / to) + 1;
4103
4103
  }
4104
- function Xe(a, e) {
4104
+ function Ge(a, e) {
4105
4105
  const t = a < 0 ? "-" : "", n = Math.abs(a).toString().padStart(e, "0");
4106
4106
  return t + n;
4107
4107
  }
4108
- const Zt = {
4108
+ const Jt = {
4109
4109
  // Year
4110
4110
  y(a, e) {
4111
4111
  const t = a.getFullYear(), n = t > 0 ? t : 1 - t;
4112
- return Xe(e === "yy" ? n % 100 : n, e.length);
4112
+ return Ge(e === "yy" ? n % 100 : n, e.length);
4113
4113
  },
4114
4114
  // Month
4115
4115
  M(a, e) {
4116
4116
  const t = a.getMonth();
4117
- return e === "M" ? String(t + 1) : Xe(t + 1, 2);
4117
+ return e === "M" ? String(t + 1) : Ge(t + 1, 2);
4118
4118
  },
4119
4119
  // Day of the month
4120
4120
  d(a, e) {
4121
- return Xe(a.getDate(), e.length);
4121
+ return Ge(a.getDate(), e.length);
4122
4122
  },
4123
4123
  // AM or PM
4124
4124
  a(a, e) {
@@ -4138,26 +4138,26 @@ const Zt = {
4138
4138
  },
4139
4139
  // Hour [1-12]
4140
4140
  h(a, e) {
4141
- return Xe(a.getHours() % 12 || 12, e.length);
4141
+ return Ge(a.getHours() % 12 || 12, e.length);
4142
4142
  },
4143
4143
  // Hour [0-23]
4144
4144
  H(a, e) {
4145
- return Xe(a.getHours(), e.length);
4145
+ return Ge(a.getHours(), e.length);
4146
4146
  },
4147
4147
  // Minute
4148
4148
  m(a, e) {
4149
- return Xe(a.getMinutes(), e.length);
4149
+ return Ge(a.getMinutes(), e.length);
4150
4150
  },
4151
4151
  // Second
4152
4152
  s(a, e) {
4153
- return Xe(a.getSeconds(), e.length);
4153
+ return Ge(a.getSeconds(), e.length);
4154
4154
  },
4155
4155
  // Fraction of second
4156
4156
  S(a, e) {
4157
4157
  const t = e.length, n = a.getMilliseconds(), l = Math.trunc(
4158
4158
  n * Math.pow(10, t - 3)
4159
4159
  );
4160
- return Xe(l, e.length);
4160
+ return Ge(l, e.length);
4161
4161
  }
4162
4162
  }, wa = {
4163
4163
  midnight: "midnight",
@@ -4191,21 +4191,21 @@ const Zt = {
4191
4191
  const n = a.getFullYear(), l = n > 0 ? n : 1 - n;
4192
4192
  return t.ordinalNumber(l, { unit: "year" });
4193
4193
  }
4194
- return Zt.y(a, e);
4194
+ return Jt.y(a, e);
4195
4195
  },
4196
4196
  // Local week-numbering year
4197
4197
  Y: function(a, e, t, n) {
4198
4198
  const l = Sl(a, n), r = l > 0 ? l : 1 - l;
4199
4199
  if (e === "YY") {
4200
4200
  const o = r % 100;
4201
- return Xe(o, 2);
4201
+ return Ge(o, 2);
4202
4202
  }
4203
- return e === "Yo" ? t.ordinalNumber(r, { unit: "year" }) : Xe(r, e.length);
4203
+ return e === "Yo" ? t.ordinalNumber(r, { unit: "year" }) : Ge(r, e.length);
4204
4204
  },
4205
4205
  // ISO week-numbering year
4206
4206
  R: function(a, e) {
4207
4207
  const t = lo(a);
4208
- return Xe(t, e.length);
4208
+ return Ge(t, e.length);
4209
4209
  },
4210
4210
  // Extended year. This is a single number designating the year of this calendar system.
4211
4211
  // The main difference between `y` and `u` localizers are B.C. years:
@@ -4218,7 +4218,7 @@ const Zt = {
4218
4218
  // while `uu` pads single digit years to 2 characters and returns other years unchanged.
4219
4219
  u: function(a, e) {
4220
4220
  const t = a.getFullYear();
4221
- return Xe(t, e.length);
4221
+ return Ge(t, e.length);
4222
4222
  },
4223
4223
  // Quarter
4224
4224
  Q: function(a, e, t) {
@@ -4229,7 +4229,7 @@ const Zt = {
4229
4229
  return String(n);
4230
4230
  // 01, 02, 03, 04
4231
4231
  case "QQ":
4232
- return Xe(n, 2);
4232
+ return Ge(n, 2);
4233
4233
  // 1st, 2nd, 3rd, 4th
4234
4234
  case "Qo":
4235
4235
  return t.ordinalNumber(n, { unit: "quarter" });
@@ -4263,7 +4263,7 @@ const Zt = {
4263
4263
  return String(n);
4264
4264
  // 01, 02, 03, 04
4265
4265
  case "qq":
4266
- return Xe(n, 2);
4266
+ return Ge(n, 2);
4267
4267
  // 1st, 2nd, 3rd, 4th
4268
4268
  case "qo":
4269
4269
  return t.ordinalNumber(n, { unit: "quarter" });
@@ -4294,7 +4294,7 @@ const Zt = {
4294
4294
  switch (e) {
4295
4295
  case "M":
4296
4296
  case "MM":
4297
- return Zt.M(a, e);
4297
+ return Jt.M(a, e);
4298
4298
  // 1st, 2nd, ..., 12th
4299
4299
  case "Mo":
4300
4300
  return t.ordinalNumber(n + 1, { unit: "month" });
@@ -4325,7 +4325,7 @@ const Zt = {
4325
4325
  return String(n + 1);
4326
4326
  // 01, 02, ..., 12
4327
4327
  case "LL":
4328
- return Xe(n + 1, 2);
4328
+ return Ge(n + 1, 2);
4329
4329
  // 1st, 2nd, ..., 12th
4330
4330
  case "Lo":
4331
4331
  return t.ordinalNumber(n + 1, { unit: "month" });
@@ -4350,21 +4350,21 @@ const Zt = {
4350
4350
  // Local week of year
4351
4351
  w: function(a, e, t, n) {
4352
4352
  const l = Ol(a, n);
4353
- return e === "wo" ? t.ordinalNumber(l, { unit: "week" }) : Xe(l, e.length);
4353
+ return e === "wo" ? t.ordinalNumber(l, { unit: "week" }) : Ge(l, e.length);
4354
4354
  },
4355
4355
  // ISO week of year
4356
4356
  I: function(a, e, t) {
4357
4357
  const n = Pl(a);
4358
- return e === "Io" ? t.ordinalNumber(n, { unit: "week" }) : Xe(n, e.length);
4358
+ return e === "Io" ? t.ordinalNumber(n, { unit: "week" }) : Ge(n, e.length);
4359
4359
  },
4360
4360
  // Day of the month
4361
4361
  d: function(a, e, t) {
4362
- return e === "do" ? t.ordinalNumber(a.getDate(), { unit: "date" }) : Zt.d(a, e);
4362
+ return e === "do" ? t.ordinalNumber(a.getDate(), { unit: "date" }) : Jt.d(a, e);
4363
4363
  },
4364
4364
  // Day of year
4365
4365
  D: function(a, e, t) {
4366
4366
  const n = sc(a);
4367
- return e === "Do" ? t.ordinalNumber(n, { unit: "dayOfYear" }) : Xe(n, e.length);
4367
+ return e === "Do" ? t.ordinalNumber(n, { unit: "dayOfYear" }) : Ge(n, e.length);
4368
4368
  },
4369
4369
  // Day of week
4370
4370
  E: function(a, e, t) {
@@ -4408,7 +4408,7 @@ const Zt = {
4408
4408
  return String(r);
4409
4409
  // Padded numerical value
4410
4410
  case "ee":
4411
- return Xe(r, 2);
4411
+ return Ge(r, 2);
4412
4412
  // 1st, 2nd, ..., 7th
4413
4413
  case "eo":
4414
4414
  return t.ordinalNumber(r, { unit: "day" });
@@ -4447,7 +4447,7 @@ const Zt = {
4447
4447
  return String(r);
4448
4448
  // Padded numerical value
4449
4449
  case "cc":
4450
- return Xe(r, e.length);
4450
+ return Ge(r, e.length);
4451
4451
  // 1st, 2nd, ..., 7th
4452
4452
  case "co":
4453
4453
  return t.ordinalNumber(r, { unit: "day" });
@@ -4486,7 +4486,7 @@ const Zt = {
4486
4486
  return String(l);
4487
4487
  // 02
4488
4488
  case "ii":
4489
- return Xe(l, e.length);
4489
+ return Ge(l, e.length);
4490
4490
  // 2nd
4491
4491
  case "io":
4492
4492
  return t.ordinalNumber(l, { unit: "day" });
@@ -4605,33 +4605,33 @@ const Zt = {
4605
4605
  let n = a.getHours() % 12;
4606
4606
  return n === 0 && (n = 12), t.ordinalNumber(n, { unit: "hour" });
4607
4607
  }
4608
- return Zt.h(a, e);
4608
+ return Jt.h(a, e);
4609
4609
  },
4610
4610
  // Hour [0-23]
4611
4611
  H: function(a, e, t) {
4612
- return e === "Ho" ? t.ordinalNumber(a.getHours(), { unit: "hour" }) : Zt.H(a, e);
4612
+ return e === "Ho" ? t.ordinalNumber(a.getHours(), { unit: "hour" }) : Jt.H(a, e);
4613
4613
  },
4614
4614
  // Hour [0-11]
4615
4615
  K: function(a, e, t) {
4616
4616
  const n = a.getHours() % 12;
4617
- return e === "Ko" ? t.ordinalNumber(n, { unit: "hour" }) : Xe(n, e.length);
4617
+ return e === "Ko" ? t.ordinalNumber(n, { unit: "hour" }) : Ge(n, e.length);
4618
4618
  },
4619
4619
  // Hour [1-24]
4620
4620
  k: function(a, e, t) {
4621
4621
  let n = a.getHours();
4622
- return n === 0 && (n = 24), e === "ko" ? t.ordinalNumber(n, { unit: "hour" }) : Xe(n, e.length);
4622
+ return n === 0 && (n = 24), e === "ko" ? t.ordinalNumber(n, { unit: "hour" }) : Ge(n, e.length);
4623
4623
  },
4624
4624
  // Minute
4625
4625
  m: function(a, e, t) {
4626
- return e === "mo" ? t.ordinalNumber(a.getMinutes(), { unit: "minute" }) : Zt.m(a, e);
4626
+ return e === "mo" ? t.ordinalNumber(a.getMinutes(), { unit: "minute" }) : Jt.m(a, e);
4627
4627
  },
4628
4628
  // Second
4629
4629
  s: function(a, e, t) {
4630
- return e === "so" ? t.ordinalNumber(a.getSeconds(), { unit: "second" }) : Zt.s(a, e);
4630
+ return e === "so" ? t.ordinalNumber(a.getSeconds(), { unit: "second" }) : Jt.s(a, e);
4631
4631
  },
4632
4632
  // Fraction of second
4633
4633
  S: function(a, e) {
4634
- return Zt.S(a, e);
4634
+ return Jt.S(a, e);
4635
4635
  },
4636
4636
  // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
4637
4637
  X: function(a, e, t) {
@@ -4714,22 +4714,22 @@ const Zt = {
4714
4714
  // Seconds timestamp
4715
4715
  t: function(a, e, t) {
4716
4716
  const n = Math.trunc(+a / 1e3);
4717
- return Xe(n, e.length);
4717
+ return Ge(n, e.length);
4718
4718
  },
4719
4719
  // Milliseconds timestamp
4720
4720
  T: function(a, e, t) {
4721
- return Xe(+a, e.length);
4721
+ return Ge(+a, e.length);
4722
4722
  }
4723
4723
  };
4724
4724
  function cr(a, e = "") {
4725
4725
  const t = a > 0 ? "-" : "+", n = Math.abs(a), l = Math.trunc(n / 60), r = n % 60;
4726
- return r === 0 ? t + String(l) : t + String(l) + e + Xe(r, 2);
4726
+ return r === 0 ? t + String(l) : t + String(l) + e + Ge(r, 2);
4727
4727
  }
4728
4728
  function fr(a, e) {
4729
- return a % 60 === 0 ? (a > 0 ? "-" : "+") + Xe(Math.abs(a) / 60, 2) : da(a, e);
4729
+ return a % 60 === 0 ? (a > 0 ? "-" : "+") + Ge(Math.abs(a) / 60, 2) : da(a, e);
4730
4730
  }
4731
4731
  function da(a, e = "") {
4732
- const t = a > 0 ? "-" : "+", n = Math.abs(a), l = Xe(Math.trunc(n / 60), 2), r = Xe(n % 60, 2);
4732
+ const t = a > 0 ? "-" : "+", n = Math.abs(a), l = Ge(Math.trunc(n / 60), 2), r = Ge(n % 60, 2);
4733
4733
  return t + l + e + r;
4734
4734
  }
4735
4735
  const pr = (a, e) => {
@@ -4802,23 +4802,23 @@ function Yt(a, e, t) {
4802
4802
  if (!Na(s))
4803
4803
  throw new RangeError("Invalid time value");
4804
4804
  let i = e.match(vc).map((T) => {
4805
- const w = T[0];
4806
- if (w === "p" || w === "P") {
4807
- const F = rl[w];
4805
+ const k = T[0];
4806
+ if (k === "p" || k === "P") {
4807
+ const F = rl[k];
4808
4808
  return F(T, l.formatLong);
4809
4809
  }
4810
4810
  return T;
4811
4811
  }).join("").match(mc).map((T) => {
4812
4812
  if (T === "''")
4813
4813
  return { isToken: !1, value: "'" };
4814
- const w = T[0];
4815
- if (w === "'")
4814
+ const k = T[0];
4815
+ if (k === "'")
4816
4816
  return { isToken: !1, value: bc(T) };
4817
- if (dr[w])
4817
+ if (dr[k])
4818
4818
  return { isToken: !0, value: T };
4819
- if (w.match(gc))
4819
+ if (k.match(gc))
4820
4820
  throw new RangeError(
4821
- "Format string contains an unescaped latin alphabet character `" + w + "`"
4821
+ "Format string contains an unescaped latin alphabet character `" + k + "`"
4822
4822
  );
4823
4823
  return { isToken: !1, value: T };
4824
4824
  });
@@ -4830,10 +4830,10 @@ function Yt(a, e, t) {
4830
4830
  };
4831
4831
  return i.map((T) => {
4832
4832
  if (!T.isToken) return T.value;
4833
- const w = T.value;
4834
- (!(t != null && t.useAdditionalWeekYearTokens) && vo(w) || !(t != null && t.useAdditionalDayOfYearTokens) && mo(w)) && ol(w, e, String(a));
4835
- const F = dr[w[0]];
4836
- return F(s, w, l.localize, c);
4833
+ const k = T.value;
4834
+ (!(t != null && t.useAdditionalWeekYearTokens) && vo(k) || !(t != null && t.useAdditionalDayOfYearTokens) && mo(k)) && ol(k, e, String(a));
4835
+ const F = dr[k[0]];
4836
+ return F(s, k, l.localize, c);
4837
4837
  }).join("");
4838
4838
  }
4839
4839
  function bc(a) {
@@ -4857,7 +4857,7 @@ function $c(a, e) {
4857
4857
  const t = Ae(a, e == null ? void 0 : e.in).getDay();
4858
4858
  return t === 0 ? 7 : t;
4859
4859
  }
4860
- function la(a, e) {
4860
+ function ra(a, e) {
4861
4861
  return Ae(a, e == null ? void 0 : e.in).getMinutes();
4862
4862
  }
4863
4863
  function Fe(a, e) {
@@ -6390,8 +6390,8 @@ const ff = {
6390
6390
  T: new cf()
6391
6391
  }, pf = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, mf = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, vf = /^'([^]*?)'?$/, hf = /''/g, yf = /\S/, gf = /[a-zA-Z]/;
6392
6392
  function sl(a, e, t, n) {
6393
- var $, O, T, w, F, G, L, Y;
6394
- const l = () => Ke((n == null ? void 0 : n.in) || t, NaN), r = kc(), o = (n == null ? void 0 : n.locale) ?? r.locale ?? fo, s = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((O = ($ = n == null ? void 0 : n.locale) == null ? void 0 : $.options) == null ? void 0 : O.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((w = (T = r.locale) == null ? void 0 : T.options) == null ? void 0 : w.firstWeekContainsDate) ?? 1, i = (n == null ? void 0 : n.weekStartsOn) ?? ((G = (F = n == null ? void 0 : n.locale) == null ? void 0 : F.options) == null ? void 0 : G.weekStartsOn) ?? r.weekStartsOn ?? ((Y = (L = r.locale) == null ? void 0 : L.options) == null ? void 0 : Y.weekStartsOn) ?? 0;
6393
+ var $, O, T, k, F, G, L, Y;
6394
+ const l = () => Ke((n == null ? void 0 : n.in) || t, NaN), r = kc(), o = (n == null ? void 0 : n.locale) ?? r.locale ?? fo, s = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((O = ($ = n == null ? void 0 : n.locale) == null ? void 0 : $.options) == null ? void 0 : O.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((k = (T = r.locale) == null ? void 0 : T.options) == null ? void 0 : k.firstWeekContainsDate) ?? 1, i = (n == null ? void 0 : n.weekStartsOn) ?? ((G = (F = n == null ? void 0 : n.locale) == null ? void 0 : F.options) == null ? void 0 : G.weekStartsOn) ?? r.weekStartsOn ?? ((Y = (L = r.locale) == null ? void 0 : L.options) == null ? void 0 : Y.weekStartsOn) ?? 0;
6395
6395
  if (!e)
6396
6396
  return a ? l() : Ae(t, n == null ? void 0 : n.in);
6397
6397
  const c = {
@@ -6796,7 +6796,7 @@ const Af = (a, e, t) => {
6796
6796
  "dp--highlighted": s
6797
6797
  }
6798
6798
  };
6799
- })), ta = (a, e, t = !1) => {
6799
+ })), aa = (a, e, t = !1) => {
6800
6800
  a && e.allowStopPropagation && (t && a.stopImmediatePropagation(), a.stopPropagation());
6801
6801
  }, Sf = () => [
6802
6802
  "a[href]",
@@ -6856,7 +6856,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
6856
6856
  }, vt = (a, e) => {
6857
6857
  const t = re(JSON.parse(JSON.stringify(a))), n = Ze(t, { hours: 0, minutes: 0, seconds: 0, milliseconds: 0 });
6858
6858
  return e ? Ad(n) : n;
6859
- }, aa = (a, e, t, n) => {
6859
+ }, na = (a, e, t, n) => {
6860
6860
  let l = a ? re(a) : re();
6861
6861
  return (e || e === 0) && (l = _f(l, +e)), (t || t === 0) && (l = wf(l, +t)), (n || n === 0) && (l = $o(l, +n)), ko(l, 0);
6862
6862
  }, ot = (a, e) => !a || !e ? !1 : Sa(vt(a), vt(e)), Ye = (a, e) => !a || !e ? !1 : Ma(vt(a), vt(e)), dt = (a, e) => !a || !e ? !1 : va(vt(a), vt(e)), Ua = (a, e, t) => a != null && a[0] && (a != null && a[1]) ? dt(t, a[0]) && ot(t, a[1]) : a != null && a[0] && e ? dt(t, a[0]) && ot(t, e) || ot(t, a[0]) && dt(t, e) : !1, St = (a) => {
@@ -6870,7 +6870,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
6870
6870
  seconds: isNaN(+a.seconds) ? void 0 : +a.seconds
6871
6871
  }, pa = (a) => ({
6872
6872
  hours: Xt(a),
6873
- minutes: la(a),
6873
+ minutes: ra(a),
6874
6874
  seconds: Pa(a)
6875
6875
  }), Po = (a, e) => {
6876
6876
  if (e) {
@@ -6897,18 +6897,18 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
6897
6897
  }, Lo = (a, e) => {
6898
6898
  const t = {
6899
6899
  hours: Xt(re()),
6900
- minutes: la(re()),
6900
+ minutes: ra(re()),
6901
6901
  seconds: e ? Pa(re()) : 0
6902
6902
  };
6903
6903
  return Object.assign(t, a);
6904
- }, ea = (a, e, t) => [Ze(re(a), { date: 1 }), Ze(re(), { month: e, year: t, date: 1 })], Qt = (a, e, t) => {
6904
+ }, ta = (a, e, t) => [Ze(re(a), { date: 1 }), Ze(re(), { month: e, year: t, date: 1 })], Qt = (a, e, t) => {
6905
6905
  let n = a ? re(a) : re();
6906
6906
  return (e || e === 0) && (n = wo(n, e)), t && (n = Pt(n, t)), n;
6907
6907
  }, Io = (a, e, t, n, l) => {
6908
6908
  if (!n || l && !e || !l && !t) return !1;
6909
6909
  const r = l ? Ot(a, 1) : Oa(a, 1), o = [Fe(r), Pe(r)];
6910
6910
  return l ? !Ff(...o, e) : !Vf(...o, t);
6911
- }, Vf = (a, e, t) => ot(...ea(t, a, e)) || Ye(...ea(t, a, e)), Ff = (a, e, t) => dt(...ea(t, a, e)) || Ye(...ea(t, a, e)), Bo = (a, e, t, n, l, r, o) => {
6911
+ }, Vf = (a, e, t) => ot(...ta(t, a, e)) || Ye(...ta(t, a, e)), Ff = (a, e, t) => dt(...ta(t, a, e)) || Ye(...ta(t, a, e)), Bo = (a, e, t, n, l, r, o) => {
6912
6912
  if (typeof e == "function" && !o) return e(a);
6913
6913
  const s = t ? { locale: t } : void 0;
6914
6914
  return Array.isArray(a) ? `${Yt(a[0], r, s)}${l && !a[1] ? "" : n}${a[1] ? Yt(a[1], r, s) : ""}` : Yt(a, r, s);
@@ -6951,7 +6951,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
6951
6951
  }, Ro = (a, e, t) => typeof a == "function" ? a({ month: e, year: t }) : !!a.months.find((n) => n.month === e && n.year === t), Hl = (a, e) => typeof a == "function" ? a(e) : a.years.includes(e), cl = (a) => `dp-${Yt(a, "yyyy-MM-dd")}`, _r = (a, e) => {
6952
6952
  const t = _o(vt(e), a), n = At(vt(e), a);
6953
6953
  return { before: t, after: n };
6954
- }, Eo = (a, e) => e < +a[0] || e > +a[1], Ya = na({
6954
+ }, Eo = (a, e) => e < +a[0] || e > +a[1], Ya = la({
6955
6955
  menuFocused: !1,
6956
6956
  shiftKeyInMenu: !1
6957
6957
  }), Vo = () => {
@@ -6961,11 +6961,11 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
6961
6961
  Ya.shiftKeyInMenu !== t && (Ya.shiftKeyInMenu = t);
6962
6962
  };
6963
6963
  return {
6964
- control: k(() => ({ shiftKeyInMenu: Ya.shiftKeyInMenu, menuFocused: Ya.menuFocused })),
6964
+ control: w(() => ({ shiftKeyInMenu: Ya.shiftKeyInMenu, menuFocused: Ya.menuFocused })),
6965
6965
  setMenuFocused: a,
6966
6966
  setShiftKey: e
6967
6967
  };
6968
- }, et = na({
6968
+ }, et = la({
6969
6969
  monthYear: [],
6970
6970
  calendar: [],
6971
6971
  time: [],
@@ -6977,7 +6977,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
6977
6977
  },
6978
6978
  monthPicker: []
6979
6979
  }), Hn = j(null), un = j(!1), Un = j(!1), jn = j(!1), Xn = j(!1), _t = j(0), ut = j(0), sa = () => {
6980
- const a = k(() => un.value ? [...et.selectionGrid, et.actionRow].filter((u) => u.length) : Un.value ? [
6980
+ const a = w(() => un.value ? [...et.selectionGrid, et.actionRow].filter((u) => u.length) : Un.value ? [
6981
6981
  ...et.timePicker[0],
6982
6982
  ...et.timePicker[1],
6983
6983
  Xn.value ? [] : [Hn.value],
@@ -7189,9 +7189,9 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
7189
7189
  }, t = () => {
7190
7190
  var L;
7191
7191
  return a.format ? a.format : a.monthPicker ? "MM/yyyy" : a.timePicker ? e() : a.weekPicker ? `${((L = $.value) == null ? void 0 : L.type) === "iso" ? "II" : "ww"}-RR` : a.yearPicker ? "yyyy" : a.quarterPicker ? "QQQ/yyyy" : a.enableTimePicker ? `MM/dd/yyyy, ${e()}` : "MM/dd/yyyy";
7192
- }, n = (L) => Lo(L, a.enableSeconds), l = () => F.value.enabled ? a.startTime && Array.isArray(a.startTime) ? [n(a.startTime[0]), n(a.startTime[1])] : null : a.startTime && !Array.isArray(a.startTime) ? n(a.startTime) : null, r = k(() => Wf(a.multiCalendars)), o = k(() => l()), s = k(() => Qf(a.ariaLabels)), i = k(() => Xf(a.filters)), c = k(() => Uf(a.transitions)), f = k(() => Gf(a.actionRow)), u = k(
7192
+ }, n = (L) => Lo(L, a.enableSeconds), l = () => F.value.enabled ? a.startTime && Array.isArray(a.startTime) ? [n(a.startTime[0]), n(a.startTime[1])] : null : a.startTime && !Array.isArray(a.startTime) ? n(a.startTime) : null, r = w(() => Wf(a.multiCalendars)), o = w(() => l()), s = w(() => Qf(a.ariaLabels)), i = w(() => Xf(a.filters)), c = w(() => Uf(a.transitions)), f = w(() => Gf(a.actionRow)), u = w(
7193
7193
  () => Hf(a.previewFormat, a.format, t())
7194
- ), m = k(() => jf(a.textInput)), v = k(() => Kf(a.inline)), x = k(() => Zf(a.config)), M = k(() => Jf(a.highlight)), $ = k(() => ep(a.weekNumbers)), O = k(() => ap(a.timezone)), T = k(() => rp(a.multiDates)), w = k(
7194
+ ), m = w(() => jf(a.textInput)), v = w(() => Kf(a.inline)), x = w(() => Zf(a.config)), M = w(() => Jf(a.highlight)), $ = w(() => ep(a.weekNumbers)), O = w(() => ap(a.timezone)), T = w(() => rp(a.multiDates)), k = w(
7195
7195
  () => lp({
7196
7196
  minDate: a.minDate,
7197
7197
  maxDate: a.maxDate,
@@ -7204,7 +7204,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
7204
7204
  isMonthPicker: a.monthPicker,
7205
7205
  isYearPicker: a.yearPicker
7206
7206
  })
7207
- ), F = k(() => tp(a.range)), G = k(() => op(a.ui));
7207
+ ), F = w(() => tp(a.range)), G = w(() => op(a.ui));
7208
7208
  return {
7209
7209
  defaultedTransitions: c,
7210
7210
  defaultedMultiCalendars: r,
@@ -7219,7 +7219,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
7219
7219
  defaultedHighlight: M,
7220
7220
  defaultedWeekNumbers: $,
7221
7221
  defaultedRange: F,
7222
- propDates: w,
7222
+ propDates: k,
7223
7223
  defaultedTz: O,
7224
7224
  defaultedMultiDates: T,
7225
7225
  defaultedUI: G,
@@ -7258,35 +7258,35 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
7258
7258
  qe
7259
7259
  ), $ = (h) => h ? e.modelType ? z(h) : {
7260
7260
  hours: Xt(h),
7261
- minutes: la(h),
7261
+ minutes: ra(h),
7262
7262
  seconds: e.enableSeconds ? Pa(h) : 0
7263
- } : null, O = (h) => e.modelType ? z(h) : { month: Fe(h), year: Pe(h) }, T = (h) => Array.isArray(h) ? i.value.enabled ? h.map((ee) => w(ee, Pt(re(), ee))) : sn(
7263
+ } : null, O = (h) => e.modelType ? z(h) : { month: Fe(h), year: Pe(h) }, T = (h) => Array.isArray(h) ? i.value.enabled ? h.map((ee) => k(ee, Pt(re(), ee))) : sn(
7264
7264
  () => [
7265
7265
  Pt(re(), h[0]),
7266
7266
  h[1] ? Pt(re(), h[1]) : ka(o.value.partialRange)
7267
7267
  ],
7268
7268
  o.value.enabled
7269
- ) : Pt(re(), +h), w = (h, ee) => (typeof h == "string" || typeof h == "number") && e.modelType ? K(h) : ee, F = (h) => Array.isArray(h) ? [
7270
- w(
7269
+ ) : Pt(re(), +h), k = (h, ee) => (typeof h == "string" || typeof h == "number") && e.modelType ? K(h) : ee, F = (h) => Array.isArray(h) ? [
7270
+ k(
7271
7271
  h[0],
7272
- aa(null, +h[0].hours, +h[0].minutes, h[0].seconds)
7272
+ na(null, +h[0].hours, +h[0].minutes, h[0].seconds)
7273
7273
  ),
7274
- w(
7274
+ k(
7275
7275
  h[1],
7276
- aa(null, +h[1].hours, +h[1].minutes, h[1].seconds)
7276
+ na(null, +h[1].hours, +h[1].minutes, h[1].seconds)
7277
7277
  )
7278
- ] : w(h, aa(null, h.hours, h.minutes, h.seconds)), G = (h) => {
7278
+ ] : k(h, na(null, h.hours, h.minutes, h.seconds)), G = (h) => {
7279
7279
  const ee = Ze(re(), { date: 1 });
7280
- return Array.isArray(h) ? i.value.enabled ? h.map((qe) => w(qe, Qt(ee, +qe.month, +qe.year))) : sn(
7280
+ return Array.isArray(h) ? i.value.enabled ? h.map((qe) => k(qe, Qt(ee, +qe.month, +qe.year))) : sn(
7281
7281
  () => [
7282
- w(h[0], Qt(ee, +h[0].month, +h[0].year)),
7283
- w(
7282
+ k(h[0], Qt(ee, +h[0].month, +h[0].year)),
7283
+ k(
7284
7284
  h[1],
7285
7285
  h[1] ? Qt(ee, +h[1].month, +h[1].year) : ka(o.value.partialRange)
7286
7286
  )
7287
7287
  ],
7288
7288
  o.value.enabled
7289
- ) : w(h, Qt(ee, +h.month, +h.year));
7289
+ ) : k(h, Qt(ee, +h.month, +h.year));
7290
7290
  }, L = (h) => {
7291
7291
  if (Array.isArray(h))
7292
7292
  return h.map((ee) => K(ee));
@@ -7375,7 +7375,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
7375
7375
  t.value.months.includes(x) && (v = r(v, f), x = Fe(v), M = Pe(v)), t.value.years.includes(M) && (v = o(v, f), M = Pe(v)), l(x, M, f, a.preventMinMaxNavigation) && i(x, M, u);
7376
7376
  }, i = (f, u, m) => {
7377
7377
  e("update-month-year", { month: f, year: u, fromNav: m });
7378
- }, c = k(() => (f) => Io(
7378
+ }, c = w(() => (f) => Io(
7379
7379
  Ze(re(), { month: a.month, year: a.year }),
7380
7380
  n.value.maxDate,
7381
7381
  n.value.minDate,
@@ -7537,7 +7537,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
7537
7537
  defaultedInline: i,
7538
7538
  defaultedRange: c,
7539
7539
  defaultedMultiDates: f
7540
- } = nt(n), { isTimeValid: u, isMonthValid: m } = ia(n), { buildMatrix: v } = sa(), x = j(null), M = j(null), $ = j(!1), O = j({}), T = j(null), w = j(null);
7540
+ } = nt(n), { isTimeValid: u, isMonthValid: m } = ia(n), { buildMatrix: v } = sa(), x = j(null), M = j(null), $ = j(!1), O = j({}), T = j(null), k = j(null);
7541
7541
  Je(() => {
7542
7542
  n.arrowNavigation && v([pt(x), pt(M)], "actionRow"), F(), window.addEventListener("resize", F);
7543
7543
  }), Mt(() => {
@@ -7546,10 +7546,10 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
7546
7546
  const F = () => {
7547
7547
  $.value = !1, setTimeout(() => {
7548
7548
  var q, P;
7549
- const I = (q = T.value) == null ? void 0 : q.getBoundingClientRect(), C = (P = w.value) == null ? void 0 : P.getBoundingClientRect();
7549
+ const I = (q = T.value) == null ? void 0 : q.getBoundingClientRect(), C = (P = k.value) == null ? void 0 : P.getBoundingClientRect();
7550
7550
  I && C && (O.value.maxWidth = `${C.width - I.width - 20}px`), $.value = !0;
7551
7551
  }, 0);
7552
- }, G = k(() => c.value.enabled && !c.value.partialRange && n.internalModelValue ? n.internalModelValue.length === 2 : !0), L = k(
7552
+ }, G = w(() => c.value.enabled && !c.value.partialRange && n.internalModelValue ? n.internalModelValue.length === 2 : !0), L = w(
7553
7553
  () => !u.value(n.internalModelValue) || !m.value(n.internalModelValue) || !G.value
7554
7554
  ), Y = () => {
7555
7555
  const I = r.value;
@@ -7564,14 +7564,14 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
7564
7564
  s.value.rangeSeparator,
7565
7565
  n.modelAuto,
7566
7566
  r.value
7567
- ), W = k(() => !n.internalModelValue || !n.menuMount ? "" : typeof r.value == "string" ? Array.isArray(n.internalModelValue) ? n.internalModelValue.length === 2 && n.internalModelValue[1] ? R() : f.value.enabled ? n.internalModelValue.map((I) => `${V(I)}`) : n.modelAuto ? `${V(n.internalModelValue[0])}` : `${V(n.internalModelValue[0])} -` : V(n.internalModelValue) : Y()), le = () => f.value.enabled ? "; " : " - ", he = k(
7567
+ ), W = w(() => !n.internalModelValue || !n.menuMount ? "" : typeof r.value == "string" ? Array.isArray(n.internalModelValue) ? n.internalModelValue.length === 2 && n.internalModelValue[1] ? R() : f.value.enabled ? n.internalModelValue.map((I) => `${V(I)}`) : n.modelAuto ? `${V(n.internalModelValue[0])}` : `${V(n.internalModelValue[0])} -` : V(n.internalModelValue) : Y()), le = () => f.value.enabled ? "; " : " - ", he = w(
7568
7568
  () => Array.isArray(W.value) ? W.value.join(le()) : W.value
7569
7569
  ), be = () => {
7570
7570
  u.value(n.internalModelValue) && m.value(n.internalModelValue) && G.value ? t("select-date") : t("invalid-select");
7571
7571
  };
7572
7572
  return (I, C) => (p(), b("div", {
7573
7573
  ref_key: "actionRowRef",
7574
- ref: w,
7574
+ ref: k,
7575
7575
  class: "dp__action_row"
7576
7576
  }, [
7577
7577
  I.$slots["action-row"] ? D(I.$slots, "action-row", Oe(Te({ key: 0 }, {
@@ -7591,7 +7591,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
7591
7591
  value: I.internalModelValue
7592
7592
  }) : S("", !0),
7593
7593
  !I.$slots["action-preview"] && $.value ? (p(), b(ye, { key: 1 }, [
7594
- Ge(ke(he.value), 1)
7594
+ je(ke(he.value), 1)
7595
7595
  ], 64)) : S("", !0)
7596
7596
  ], 12, up)) : S("", !0),
7597
7597
  Z("div", {
@@ -7662,7 +7662,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
7662
7662
  setup(a, { expose: e, emit: t }) {
7663
7663
  const { setSelectionGrid: n, buildMultiLevelMatrix: l, setMonthPicker: r } = sa(), o = t, s = a, { defaultedAriaLabels: i, defaultedTextInput: c, defaultedConfig: f, handleEventPropagation: u } = nt(
7664
7664
  s
7665
- ), { hideNavigationButtons: m } = Cn(), v = j(!1), x = j(null), M = j(null), $ = j([]), O = j(), T = j(null), w = j(0), F = j(null);
7665
+ ), { hideNavigationButtons: m } = Cn(), v = j(!1), x = j(null), M = j(null), $ = j([]), O = j(), T = j(null), k = j(0), F = j(null);
7666
7666
  vs(() => {
7667
7667
  x.value = null;
7668
7668
  }), Je(() => {
@@ -7675,17 +7675,17 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
7675
7675
  var E;
7676
7676
  const _ = pt(M);
7677
7677
  _ && (c.value.enabled || (x.value ? (E = x.value) == null || E.focus({ preventScroll: !0 }) : _.focus({ preventScroll: !0 })), v.value = _.clientHeight < _.scrollHeight);
7678
- }, Y = k(
7678
+ }, Y = w(
7679
7679
  () => ({
7680
7680
  dp__overlay: !0,
7681
7681
  "dp--overlay-absolute": !s.useRelative,
7682
7682
  "dp--overlay-relative": s.useRelative
7683
7683
  })
7684
- ), R = k(
7684
+ ), R = w(
7685
7685
  () => s.useRelative ? { height: `${s.height}px`, width: "var(--dp-menu-min-width)" } : void 0
7686
- ), V = k(() => ({
7686
+ ), V = w(() => ({
7687
7687
  dp__overlay_col: !0
7688
- })), W = k(
7688
+ })), W = w(
7689
7689
  () => ({
7690
7690
  dp__btn: !0,
7691
7691
  dp__button: !0,
@@ -7693,7 +7693,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
7693
7693
  dp__over_action_scroll: v.value,
7694
7694
  dp__button_bottom: s.isLast
7695
7695
  })
7696
- ), le = k(() => {
7696
+ ), le = w(() => {
7697
7697
  var _, E;
7698
7698
  return {
7699
7699
  dp__overlay_container: !0,
@@ -7709,7 +7709,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
7709
7709
  const he = (_ = !0) => {
7710
7710
  Be().then(() => {
7711
7711
  const E = pt(x), U = pt(M), te = pt(T), g = pt(F), h = te ? te.getBoundingClientRect().height : 0;
7712
- U && (U.getBoundingClientRect().height ? w.value = U.getBoundingClientRect().height - h : w.value = f.value.modeHeight - h), E && g && _ && (g.scrollTop = E.offsetTop - g.offsetTop - (w.value / 2 - E.getBoundingClientRect().height) - h);
7712
+ U && (U.getBoundingClientRect().height ? k.value = U.getBoundingClientRect().height - h : k.value = f.value.modeHeight - h), E && g && _ && (g.scrollTop = E.offsetTop - g.offsetTop - (k.value / 2 - E.getBoundingClientRect().height) - h);
7713
7713
  });
7714
7714
  }, be = (_) => {
7715
7715
  _.disabled || o("selected", _.value);
@@ -7724,7 +7724,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
7724
7724
  const _ = (E = s.headerRefs) != null && E.length ? [s.headerRefs].concat($.value) : $.value.concat([s.skipButtonRef ? [] : [T.value]]);
7725
7725
  l(gt(_), (U = s.headerRefs) != null && U.length ? "monthPicker" : "selectionGrid");
7726
7726
  }, J = (_) => {
7727
- s.arrowNavigation || ta(_, f.value, !0);
7727
+ s.arrowNavigation || aa(_, f.value, !0);
7728
7728
  }, A = (_) => {
7729
7729
  O.value = _, o("hover-value", _);
7730
7730
  }, K = () => {
@@ -7770,7 +7770,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
7770
7770
  ref_key: "containerRef",
7771
7771
  ref: F,
7772
7772
  class: oe(le.value),
7773
- style: Ne({ "--dp-overlay-height": `${w.value}px` }),
7773
+ style: Ne({ "--dp-overlay-height": `${k.value}px` }),
7774
7774
  role: "grid"
7775
7775
  }, [
7776
7776
  Z("div", pp, [
@@ -7803,7 +7803,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
7803
7803
  item: h
7804
7804
  }) : S("", !0),
7805
7805
  _.$slots.item ? S("", !0) : (p(), b(ye, { key: 1 }, [
7806
- Ge(ke(h.text), 1)
7806
+ je(ke(h.text), 1)
7807
7807
  ], 64))
7808
7808
  ], 2)
7809
7809
  ], 42, mp))), 128))
@@ -7836,9 +7836,9 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
7836
7836
  isMobile: { type: Boolean }
7837
7837
  },
7838
7838
  setup(a) {
7839
- const e = a, t = k(
7839
+ const e = a, t = w(
7840
7840
  () => e.multiCalendars > 0 ? [...Array(e.multiCalendars).keys()] : [0]
7841
- ), n = k(() => ({
7841
+ ), n = w(() => ({
7842
7842
  dp__instance_calendar: e.multiCalendars > 0
7843
7843
  }));
7844
7844
  return (l, r) => (p(), b("div", {
@@ -7905,14 +7905,14 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
7905
7905
  },
7906
7906
  emits: ["toggle-year-picker", "year-select", "handle-year"],
7907
7907
  setup(a, { emit: e }) {
7908
- const t = e, n = a, { showRightIcon: l, showLeftIcon: r } = Cn(), { defaultedConfig: o, defaultedMultiCalendars: s, defaultedAriaLabels: i, defaultedTransitions: c, defaultedUI: f } = nt(n), { showTransition: u, transitionName: m } = nn(c), v = j(!1), x = k(() => Ql(n.year, n.locale)), M = (T = !1, w) => {
7909
- v.value = !v.value, t("toggle-year-picker", { flow: T, show: w });
7908
+ const t = e, n = a, { showRightIcon: l, showLeftIcon: r } = Cn(), { defaultedConfig: o, defaultedMultiCalendars: s, defaultedAriaLabels: i, defaultedTransitions: c, defaultedUI: f } = nt(n), { showTransition: u, transitionName: m } = nn(c), v = j(!1), x = w(() => Ql(n.year, n.locale)), M = (T = !1, k) => {
7909
+ v.value = !v.value, t("toggle-year-picker", { flow: T, show: k });
7910
7910
  }, $ = (T) => {
7911
7911
  v.value = !1, t("year-select", T);
7912
7912
  }, O = (T = !1) => {
7913
7913
  t("handle-year", T);
7914
7914
  };
7915
- return (T, w) => {
7915
+ return (T, k) => {
7916
7916
  var F, G, L, Y, R;
7917
7917
  return p(), b(ye, null, [
7918
7918
  Z("div", {
@@ -7924,7 +7924,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
7924
7924
  "aria-label": (F = d(i)) == null ? void 0 : F.prevYear,
7925
7925
  disabled: a.isDisabled(!1),
7926
7926
  class: oe((G = d(f)) == null ? void 0 : G.navBtnPrev),
7927
- onActivate: w[0] || (w[0] = (V) => O(!1))
7927
+ onActivate: k[0] || (k[0] = (V) => O(!1))
7928
7928
  }, {
7929
7929
  default: N(() => [
7930
7930
  T.$slots["arrow-left"] ? D(T.$slots, "arrow-left", { key: 0 }) : S("", !0),
@@ -7938,8 +7938,8 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
7938
7938
  type: "button",
7939
7939
  "aria-label": `${a.year}-${(L = d(i)) == null ? void 0 : L.openYearsOverlay}`,
7940
7940
  "data-test-id": `year-mode-btn-${a.instance}`,
7941
- onClick: w[1] || (w[1] = () => M(!1)),
7942
- onKeydown: w[2] || (w[2] = vn(() => M(!1), ["enter"]))
7941
+ onClick: k[1] || (k[1] = () => M(!1)),
7942
+ onKeydown: k[2] || (k[2] = vn(() => M(!1), ["enter"]))
7943
7943
  }, [
7944
7944
  T.$slots.year ? D(T.$slots, "year", {
7945
7945
  key: 0,
@@ -7948,7 +7948,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
7948
7948
  value: a.year
7949
7949
  }) : S("", !0),
7950
7950
  T.$slots.year ? S("", !0) : (p(), b(ye, { key: 1 }, [
7951
- Ge(ke(x.value), 1)
7951
+ je(ke(x.value), 1)
7952
7952
  ], 64))
7953
7953
  ], 40, gp),
7954
7954
  d(l)(d(s), a.instance) ? (p(), ne(Qa, {
@@ -7957,7 +7957,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
7957
7957
  "aria-label": (Y = d(i)) == null ? void 0 : Y.nextYear,
7958
7958
  disabled: a.isDisabled(!0),
7959
7959
  class: oe((R = d(f)) == null ? void 0 : R.navBtnNext),
7960
- onActivate: w[3] || (w[3] = (V) => O(!0))
7960
+ onActivate: k[3] || (k[3] = (V) => O(!0))
7961
7961
  }, {
7962
7962
  default: N(() => [
7963
7963
  T.$slots["arrow-right"] ? D(T.$slots, "arrow-right", { key: 0 }) : S("", !0),
@@ -7985,7 +7985,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
7985
7985
  "overlay-label": (W = (V = d(i)) == null ? void 0 : V.yearPicker) == null ? void 0 : W.call(V, !0),
7986
7986
  type: "year",
7987
7987
  onToggle: M,
7988
- onSelected: w[4] || (w[4] = (le) => $(le))
7988
+ onSelected: k[4] || (k[4] = (le) => $(le))
7989
7989
  }, He({
7990
7990
  "button-icon": N(() => [
7991
7991
  T.$slots["calendar-icon"] ? D(T.$slots, "calendar-icon", { key: 0 }) : S("", !0),
@@ -8039,7 +8039,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8039
8039
  month: c,
8040
8040
  emit: f
8041
8041
  }) => {
8042
- const u = k(() => zl(o.yearRange, o.locale, o.reverseYears)), m = j([!1]), v = k(() => (W, le) => {
8042
+ const u = w(() => zl(o.yearRange, o.locale, o.reverseYears)), m = j([!1]), v = w(() => (W, le) => {
8043
8043
  const he = Ze(St(/* @__PURE__ */ new Date()), {
8044
8044
  month: c.value(W),
8045
8045
  year: i.value(W)
@@ -8071,13 +8071,13 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8071
8071
  }, O = (W, le) => {
8072
8072
  const he = Md(le, W);
8073
8073
  return e.value.showLastInRange && he > 1 ? le : W;
8074
- }, T = (W) => o.focusStartDate || a.value.solo ? W[0] : W[1] ? O(W[0], W[1]) : W[0], w = () => {
8074
+ }, T = (W) => o.focusStartDate || a.value.solo ? W[0] : W[1] ? O(W[0], W[1]) : W[0], k = () => {
8075
8075
  if (r.value) {
8076
8076
  const W = Array.isArray(r.value) ? T(r.value) : r.value;
8077
8077
  l.value[0] = { month: Fe(W), year: Pe(W) };
8078
8078
  }
8079
8079
  }, F = () => {
8080
- w(), a.value.count && M();
8080
+ k(), a.value.count && M();
8081
8081
  };
8082
8082
  De(r, (W, le) => {
8083
8083
  o.isTextInputDate && JSON.stringify(W ?? {}) !== JSON.stringify(le ?? {}) && F();
@@ -8086,7 +8086,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8086
8086
  });
8087
8087
  const G = (W, le) => {
8088
8088
  l.value[le].year = W, f("update-month-year", { instance: le, year: W, month: l.value[le].month }), a.value.count && !a.value.solo && $(le);
8089
- }, L = k(() => (W) => La(u.value, (le) => {
8089
+ }, L = w(() => (W) => La(u.value, (le) => {
8090
8090
  var C;
8091
8091
  const he = i.value(W) === le.value, be = Ha(
8092
8092
  le.value,
@@ -8127,7 +8127,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8127
8127
  defaultedMultiDates: u
8128
8128
  } = nt(a), m = () => {
8129
8129
  a.isTextInputDate && F(Pe(re(a.startDate)), 0);
8130
- }, { modelValue: v, year: x, month: M, calendars: $ } = ln(a, e, m), O = k(() => Mo(a.formatLocale, a.locale, a.monthNameFormat)), T = j(null), { checkMinMaxRange: w } = ia(a), {
8130
+ }, { modelValue: v, year: x, month: M, calendars: $ } = ln(a, e, m), O = w(() => Mo(a.formatLocale, a.locale, a.monthNameFormat)), T = j(null), { checkMinMaxRange: k } = ia(a), {
8131
8131
  selectYear: F,
8132
8132
  groupedYears: G,
8133
8133
  showYearPicker: L,
@@ -8168,7 +8168,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8168
8168
  return !1;
8169
8169
  }
8170
8170
  return !1;
8171
- }, q = k(() => (E) => La(O.value, (U) => {
8171
+ }, q = w(() => (E) => La(O.value, (U) => {
8172
8172
  var qe;
8173
8173
  const te = be(E, U.value), g = Ha(
8174
8174
  U.value,
@@ -8181,7 +8181,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8181
8181
  v.value = Qt(te, E, x.value(U)), e("auto-apply"), e("update-flow-step");
8182
8182
  }, A = (E, U) => {
8183
8183
  const te = P(E, U);
8184
- o.value.fixedEnd || o.value.fixedStart ? v.value = zo(te, v, e, o) : v.value ? w(te, v.value) && (v.value = jl(v, P(E, U), e)) : v.value = [P(E, U)], Be().then(() => {
8184
+ o.value.fixedEnd || o.value.fixedStart ? v.value = zo(te, v, e, o) : v.value ? k(te, v.value) && (v.value = jl(v, P(E, U), e)) : v.value = [P(E, U)], Be().then(() => {
8185
8185
  An(v.value, e, a.autoApply, a.modelAuto);
8186
8186
  });
8187
8187
  }, K = (E, U) => {
@@ -8247,7 +8247,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8247
8247
  "overlay-toggle"
8248
8248
  ],
8249
8249
  setup(a, { expose: e, emit: t }) {
8250
- const n = t, l = Gt(), r = Dt(l, "yearMode"), o = a;
8250
+ const n = t, l = Kt(), r = Dt(l, "yearMode"), o = a;
8251
8251
  Je(() => {
8252
8252
  o.shadow || n("mount", null);
8253
8253
  });
@@ -8264,7 +8264,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8264
8264
  setHoverDate: $,
8265
8265
  selectMonth: O,
8266
8266
  selectYear: T,
8267
- toggleYearPicker: w,
8267
+ toggleYearPicker: k,
8268
8268
  handleYearSelect: F,
8269
8269
  handleYear: G,
8270
8270
  getModelMonthYear: L
@@ -8276,7 +8276,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8276
8276
  selectMonth: O,
8277
8277
  selectYear: T,
8278
8278
  handleYear: G
8279
- }), presetDate: M, toggleYearPicker: (Y) => w(0, Y) }), (Y, R) => (p(), ne(Dn, {
8279
+ }), presetDate: M, toggleYearPicker: (Y) => k(0, Y) }), (Y, R) => (p(), ne(Dn, {
8280
8280
  "multi-calendars": d(u).count,
8281
8281
  collapse: Y.collapse,
8282
8282
  stretch: "",
@@ -8317,7 +8317,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8317
8317
  "is-disabled": (W) => d(f)(V, W),
8318
8318
  onHandleYear: (W) => d(G)(V, W),
8319
8319
  onYearSelect: (W) => d(F)(W, V),
8320
- onToggleYearPicker: (W) => d(w)(V, W == null ? void 0 : W.flow, W == null ? void 0 : W.show)
8320
+ onToggleYearPicker: (W) => d(k)(V, W == null ? void 0 : W.flow, W == null ? void 0 : W.show)
8321
8321
  }), He({ _: 2 }, [
8322
8322
  Re(d(r), (W, le) => ({
8323
8323
  name: W,
@@ -8351,13 +8351,13 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8351
8351
  Je(() => {
8352
8352
  a.startDate && (n.value && a.focusStartDate || !n.value) && (f.value = Pe(re(a.startDate)));
8353
8353
  });
8354
- const u = (O) => Array.isArray(n.value) ? n.value.some((T) => Pe(T) === O) : n.value ? Pe(n.value) === O : !1, m = (O) => i.value.enabled && Array.isArray(n.value) ? Ua(n.value, l.value, $(O)) : !1, v = (O) => c.value.allowedDates instanceof Map ? c.value.allowedDates.size ? c.value.allowedDates.has(`${O}`) : !1 : !0, x = (O) => c.value.disabledDates instanceof Map ? c.value.disabledDates.size ? c.value.disabledDates.has(`${O}`) : !1 : typeof c.value.disabledDates == "function" ? c.value.disabledDates(Pt(vt(Da(re())), O)) : !0, M = k(() => La(zl(a.yearRange, a.locale, a.reverseYears), (O) => {
8355
- const T = u(O.value), w = Ha(
8354
+ const u = (O) => Array.isArray(n.value) ? n.value.some((T) => Pe(T) === O) : n.value ? Pe(n.value) === O : !1, m = (O) => i.value.enabled && Array.isArray(n.value) ? Ua(n.value, l.value, $(O)) : !1, v = (O) => c.value.allowedDates instanceof Map ? c.value.allowedDates.size ? c.value.allowedDates.has(`${O}`) : !1 : !0, x = (O) => c.value.disabledDates instanceof Map ? c.value.disabledDates.size ? c.value.disabledDates.has(`${O}`) : !1 : typeof c.value.disabledDates == "function" ? c.value.disabledDates(Pt(vt(Da(re())), O)) : !0, M = w(() => La(zl(a.yearRange, a.locale, a.reverseYears), (O) => {
8355
+ const T = u(O.value), k = Ha(
8356
8356
  O.value,
8357
8357
  Ia(c.value.minDate),
8358
8358
  Ia(c.value.maxDate)
8359
8359
  ) || s.value.years.includes(O.value) || !v(O.value) || x(O.value), F = m(O.value) && !T, G = Hl(r.value, O.value);
8360
- return { active: T, disabled: w, isBetween: F, highlighted: G };
8360
+ return { active: T, disabled: k, isBetween: F, highlighted: G };
8361
8361
  })), $ = (O) => Pt(St(Da(/* @__PURE__ */ new Date())), O);
8362
8362
  return {
8363
8363
  groupedYears: M,
@@ -8369,7 +8369,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8369
8369
  selectYear: (O) => {
8370
8370
  var T;
8371
8371
  if (e("update-month-year", { instance: 0, year: O }), o.value.enabled)
8372
- return n.value ? Array.isArray(n.value) && (((T = n.value) == null ? void 0 : T.map((w) => Pe(w))).includes(O) ? n.value = n.value.filter((w) => Pe(w) !== O) : n.value.push(Pt(vt(re()), O))) : n.value = [Pt(vt(Da(re())), O)], e("auto-apply", !0);
8372
+ return n.value ? Array.isArray(n.value) && (((T = n.value) == null ? void 0 : T.map((k) => Pe(k))).includes(O) ? n.value = n.value.filter((k) => Pe(k) !== O) : n.value.push(Pt(vt(re()), O))) : n.value = [Pt(vt(Da(re())), O)], e("auto-apply", !0);
8373
8373
  i.value.enabled ? (n.value = jl(n, $(O), e), Be().then(() => {
8374
8374
  An(n.value, e, a.autoApply, a.modelAuto);
8375
8375
  })) : (n.value = $(O), e("auto-apply"));
@@ -8468,11 +8468,11 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8468
8468
  defaultedConfig: f,
8469
8469
  defaultedRange: u,
8470
8470
  defaultedMultiCalendars: m
8471
- } = nt(l), { transitionName: v, showTransition: x } = nn(i), M = na({
8471
+ } = nt(l), { transitionName: v, showTransition: x } = nn(i), M = la({
8472
8472
  hours: !1,
8473
8473
  minutes: !1,
8474
8474
  seconds: !1
8475
- }), $ = j("AM"), O = j(null), T = j([]), w = j(), F = j(!1);
8475
+ }), $ = j("AM"), O = j(null), T = j([]), k = j(), F = j(!1);
8476
8476
  Je(() => {
8477
8477
  n("mounted");
8478
8478
  });
@@ -8481,15 +8481,15 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8481
8481
  minutes: y.minutes,
8482
8482
  seconds: l.enableSeconds ? y.seconds : 0,
8483
8483
  milliseconds: 0
8484
- }), L = k(
8484
+ }), L = w(
8485
8485
  () => (y) => A(y, l[y]) || R(y, l[y])
8486
- ), Y = k(() => ({ hours: l.hours, minutes: l.minutes, seconds: l.seconds })), R = (y, ce) => u.value.enabled && !u.value.disableTimeRangeValidation ? !l.validateTime(y, ce) : !1, V = (y, ce) => {
8486
+ ), Y = w(() => ({ hours: l.hours, minutes: l.minutes, seconds: l.seconds })), R = (y, ce) => u.value.enabled && !u.value.disableTimeRangeValidation ? !l.validateTime(y, ce) : !1, V = (y, ce) => {
8487
8487
  if (u.value.enabled && !u.value.disableTimeRangeValidation) {
8488
8488
  const pe = ce ? +l[`${y}Increment`] : -+l[`${y}Increment`], me = l[y] + pe;
8489
8489
  return !l.validateTime(y, me);
8490
8490
  }
8491
8491
  return !1;
8492
- }, W = k(() => (y) => !E(+l[y] + +l[`${y}Increment`], y) || V(y, !0)), le = k(() => (y) => !E(+l[y] - +l[`${y}Increment`], y) || V(y, !1)), he = (y, ce) => no(Ze(re(), y), ce), be = (y, ce) => kf(Ze(re(), y), ce), I = k(
8492
+ }, W = w(() => (y) => !E(+l[y] + +l[`${y}Increment`], y) || V(y, !0)), le = w(() => (y) => !E(+l[y] - +l[`${y}Increment`], y) || V(y, !1)), he = (y, ce) => no(Ze(re(), y), ce), be = (y, ce) => kf(Ze(re(), y), ce), I = w(
8493
8493
  () => ({
8494
8494
  dp__time_col: !0,
8495
8495
  dp__time_col_block: !l.timePickerInline,
@@ -8499,16 +8499,16 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8499
8499
  dp__time_col_sec: l.enableSeconds && l.is24,
8500
8500
  dp__time_col_sec_with_button: l.enableSeconds && !l.is24
8501
8501
  })
8502
- ), C = k(
8502
+ ), C = w(
8503
8503
  () => l.timePickerInline && u.value.enabled && !m.value.count
8504
- ), q = k(() => {
8504
+ ), q = w(() => {
8505
8505
  const y = [{ type: "hours" }];
8506
8506
  return l.enableMinutes && y.push({ type: "", separator: !0 }, {
8507
8507
  type: "minutes"
8508
8508
  }), l.enableSeconds && y.push({ type: "", separator: !0 }, {
8509
8509
  type: "seconds"
8510
8510
  }), y;
8511
- }), P = k(() => q.value.filter((y) => !y.separator)), J = k(() => (y) => {
8511
+ }), P = w(() => q.value.filter((y) => !y.separator)), J = w(() => (y) => {
8512
8512
  if (y === "hours") {
8513
8513
  const ce = qe(+l.hours);
8514
8514
  return { text: ce < 10 ? `0${ce}` : `${ce}`, value: ce };
@@ -8521,9 +8521,9 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8521
8521
  return pe[y] ? !!((me = pe[y]) != null && me.includes(ce)) : !0;
8522
8522
  }, K = (y, ce) => ce !== "hours" || $.value === "AM" ? y : y + 12, z = (y) => {
8523
8523
  const ce = l.is24 ? 24 : 12, pe = y === "hours" ? ce : 60, me = +l[`${y}GridIncrement`], Ee = y === "hours" && !l.is24 ? me : 0, Le = [];
8524
- for (let je = Ee; je < pe; je += me)
8525
- Le.push({ value: l.is24 ? je : K(je, y), text: je < 10 ? `0${je}` : `${je}` });
8526
- return y === "hours" && !l.is24 && Le.unshift({ value: $.value === "PM" ? 12 : 0, text: "12" }), La(Le, (je) => ({ active: !1, disabled: c.value.times[y].includes(je.value) || !E(je.value, y) || A(y, je.value) || R(y, je.value) }));
8524
+ for (let Xe = Ee; Xe < pe; Xe += me)
8525
+ Le.push({ value: l.is24 ? Xe : K(Xe, y), text: Xe < 10 ? `0${Xe}` : `${Xe}` });
8526
+ return y === "hours" && !l.is24 && Le.unshift({ value: $.value === "PM" ? 12 : 0, text: "12" }), La(Le, (Xe) => ({ active: !1, disabled: c.value.times[y].includes(Xe.value) || !E(Xe.value, y) || A(y, Xe.value) || R(y, Xe.value) }));
8527
8527
  }, B = (y) => y >= 0 ? y : 59, _ = (y) => y >= 0 ? y : 23, E = (y, ce) => {
8528
8528
  const pe = l.minTime ? G(zn(l.minTime)) : null, me = l.maxTime ? G(zn(l.maxTime)) : null, Ee = G(
8529
8529
  zn(
@@ -8535,14 +8535,14 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8535
8535
  return pe && me ? (Sa(Ee, me) || Ma(Ee, me)) && (va(Ee, pe) || Ma(Ee, pe)) : pe ? va(Ee, pe) || Ma(Ee, pe) : me ? Sa(Ee, me) || Ma(Ee, me) : !0;
8536
8536
  }, U = (y) => l[`no${y[0].toUpperCase() + y.slice(1)}Overlay`], te = (y) => {
8537
8537
  U(y) || (M[y] = !M[y], M[y] ? (F.value = !0, n("overlay-opened", y)) : (F.value = !1, n("overlay-closed", y)));
8538
- }, g = (y) => y === "hours" ? Xt : y === "minutes" ? la : Pa, h = () => {
8539
- w.value && clearTimeout(w.value);
8538
+ }, g = (y) => y === "hours" ? Xt : y === "minutes" ? ra : Pa, h = () => {
8539
+ k.value && clearTimeout(k.value);
8540
8540
  }, ee = (y, ce = !0, pe) => {
8541
8541
  const me = ce ? he : be, Ee = ce ? +l[`${y}Increment`] : -+l[`${y}Increment`];
8542
8542
  E(+l[y] + Ee, y) && n(
8543
8543
  `update:${y}`,
8544
8544
  g(y)(me({ [y]: +l[y] }, { [y]: +l[`${y}Increment`] }))
8545
- ), !(pe != null && pe.keyboard) && f.value.timeArrowHoldThreshold && (w.value = setTimeout(() => {
8545
+ ), !(pe != null && pe.keyboard) && f.value.timeArrowHoldThreshold && (k.value = setTimeout(() => {
8546
8546
  ee(y, ce);
8547
8547
  }, f.value.timeArrowHoldThreshold));
8548
8548
  }, qe = (y) => l.is24 ? y : (y >= 12 ? $.value = "PM" : $.value = "AM", Cf(y)), X = () => {
@@ -8553,7 +8553,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8553
8553
  if (y && l.arrowNavigation) {
8554
8554
  Array.isArray(T.value[ce]) ? T.value[ce][pe] = y : T.value[ce] = [y];
8555
8555
  const me = T.value.reduce(
8556
- (Ee, Le) => Le.map((je, it) => [...Ee[it] || [], Le[it]]),
8556
+ (Ee, Le) => Le.map((Xe, it) => [...Ee[it] || [], Le[it]]),
8557
8557
  []
8558
8558
  );
8559
8559
  o(l.closeTimePickerBtn), O.value && (me[1] = me[1].concat(O.value)), r(me, l.order);
@@ -8563,7 +8563,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8563
8563
  var pe;
8564
8564
  return y.disabled ? S("", !0) : (p(), b("div", $p, [
8565
8565
  (p(!0), b(ye, null, Re(q.value, (me, Ee) => {
8566
- var Le, je, it;
8566
+ var Le, Xe, it;
8567
8567
  return p(), b("div", {
8568
8568
  key: Ee,
8569
8569
  class: oe(I.value),
@@ -8572,7 +8572,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8572
8572
  }, [
8573
8573
  me.separator ? (p(), b(ye, { key: 0 }, [
8574
8574
  F.value ? S("", !0) : (p(), b(ye, { key: 0 }, [
8575
- Ge(":")
8575
+ je(":")
8576
8576
  ], 64))
8577
8577
  ], 64)) : (p(), b(ye, { key: 1 }, [
8578
8578
  Z("button", {
@@ -8609,7 +8609,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8609
8609
  ref_for: !0,
8610
8610
  ref: (Q) => se(Q, Ee, 1),
8611
8611
  type: "button",
8612
- "aria-label": `${J.value(me.type).text}-${(je = d(s)) == null ? void 0 : je.openTpOverlay(me.type)}`,
8612
+ "aria-label": `${J.value(me.type).text}-${(Xe = d(s)) == null ? void 0 : Xe.openTpOverlay(me.type)}`,
8613
8613
  class: oe({
8614
8614
  dp__time_display: !0,
8615
8615
  dp__time_display_block: !y.timePickerInline,
@@ -8630,7 +8630,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8630
8630
  value: J.value(me.type).value
8631
8631
  }) : S("", !0),
8632
8632
  y.$slots[me.type] ? S("", !0) : (p(), b(ye, { key: 1 }, [
8633
- Ge(ke(J.value(me.type).text), 1)
8633
+ je(ke(J.value(me.type).text), 1)
8634
8634
  ], 64))
8635
8635
  ], 42, Mp),
8636
8636
  Z("button", {
@@ -8692,7 +8692,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8692
8692
  css: d(x)
8693
8693
  }, {
8694
8694
  default: N(() => {
8695
- var Le, je;
8695
+ var Le, Xe;
8696
8696
  return [
8697
8697
  M[me.type] ? (p(), ne(an, {
8698
8698
  key: 0,
@@ -8704,14 +8704,14 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8704
8704
  config: y.config,
8705
8705
  "arrow-navigation": y.arrowNavigation,
8706
8706
  "aria-labels": y.ariaLabels,
8707
- "overlay-label": (je = (Le = d(s)).timeOverlay) == null ? void 0 : je.call(Le, me.type),
8707
+ "overlay-label": (Xe = (Le = d(s)).timeOverlay) == null ? void 0 : Xe.call(Le, me.type),
8708
8708
  onSelected: (it) => fe(me.type, it),
8709
8709
  onToggle: (it) => te(me.type),
8710
8710
  onResetFlow: ce[1] || (ce[1] = (it) => y.$emit("reset-flow"))
8711
8711
  }, He({
8712
8712
  "button-icon": N(() => [
8713
8713
  y.$slots["clock-icon"] ? D(y.$slots, "clock-icon", { key: 0 }) : S("", !0),
8714
- y.$slots["clock-icon"] ? S("", !0) : (p(), ne(ra(y.timePickerInline ? d(Ra) : d(El)), { key: 1 }))
8714
+ y.$slots["clock-icon"] ? S("", !0) : (p(), ne(Gt(y.timePickerInline ? d(Ra) : d(El)), { key: 1 }))
8715
8715
  ]),
8716
8716
  _: 2
8717
8717
  }, [
@@ -8769,15 +8769,15 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8769
8769
  "am-pm-change"
8770
8770
  ],
8771
8771
  setup(a, { expose: e, emit: t }) {
8772
- const n = t, l = a, { buildMatrix: r, setTimePicker: o } = sa(), s = Gt(), { defaultedTransitions: i, defaultedAriaLabels: c, defaultedTextInput: f, defaultedConfig: u, defaultedRange: m } = nt(l), { transitionName: v, showTransition: x } = nn(i), { hideNavigationButtons: M } = Cn(), $ = j(null), O = j(null), T = j([]), w = j(null), F = j(!1);
8772
+ const n = t, l = a, { buildMatrix: r, setTimePicker: o } = sa(), s = Kt(), { defaultedTransitions: i, defaultedAriaLabels: c, defaultedTextInput: f, defaultedConfig: u, defaultedRange: m } = nt(l), { transitionName: v, showTransition: x } = nn(i), { hideNavigationButtons: M } = Cn(), $ = j(null), O = j(null), T = j([]), k = j(null), F = j(!1);
8773
8773
  Je(() => {
8774
8774
  n("mount"), !l.timePicker && l.arrowNavigation ? r([pt($.value)], "time") : o(!0, l.timePicker);
8775
8775
  });
8776
- const G = k(() => m.value.enabled && l.modelAuto ? Do(l.internalModelValue) : !0), L = j(!1), Y = (A) => ({
8776
+ const G = w(() => m.value.enabled && l.modelAuto ? Do(l.internalModelValue) : !0), L = j(!1), Y = (A) => ({
8777
8777
  hours: Array.isArray(l.hours) ? l.hours[A] : l.hours,
8778
8778
  minutes: Array.isArray(l.minutes) ? l.minutes[A] : l.minutes,
8779
8779
  seconds: Array.isArray(l.seconds) ? l.seconds[A] : l.seconds
8780
- }), R = k(() => {
8780
+ }), R = w(() => {
8781
8781
  const A = [];
8782
8782
  if (m.value.enabled)
8783
8783
  for (let K = 0; K < 2; K++)
@@ -8789,7 +8789,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8789
8789
  K || n("reset-flow"), L.value = A, n(A ? "overlay-opened" : "overlay-closed", wt.time), l.arrowNavigation && o(A), Be(() => {
8790
8790
  z !== "" && T.value[0] && T.value[0].openChildCmp(z);
8791
8791
  });
8792
- }, W = k(() => ({
8792
+ }, W = w(() => ({
8793
8793
  dp__btn: !0,
8794
8794
  dp__button: !0,
8795
8795
  dp__button_bottom: l.autoApply && !u.value.keepActionRow
@@ -8800,8 +8800,8 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8800
8800
  }, C = (A) => {
8801
8801
  n("update:seconds", A);
8802
8802
  }, q = () => {
8803
- if (w.value && !f.value.enabled && !l.noOverlayFocus) {
8804
- const A = Ao(w.value);
8803
+ if (k.value && !f.value.enabled && !l.noOverlayFocus) {
8804
+ const A = Ao(k.value);
8805
8805
  A && A.focus({ preventScroll: !0 });
8806
8806
  }
8807
8807
  }, P = (A) => {
@@ -8842,7 +8842,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8842
8842
  L.value || A.timePicker || A.timePickerInline ? (p(), b("div", {
8843
8843
  key: 0,
8844
8844
  ref_key: "overlayRef",
8845
- ref: w,
8845
+ ref: k,
8846
8846
  role: A.timePickerInline ? void 0 : "dialog",
8847
8847
  class: oe({
8848
8848
  dp__overlay: !A.timePickerInline,
@@ -8930,14 +8930,14 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8930
8930
  };
8931
8931
  }
8932
8932
  }), Wo = (a, e, t, n) => {
8933
- const { defaultedRange: l } = nt(a), r = (w, F) => Array.isArray(e[w]) ? e[w][F] : e[w], o = (w) => a.enableSeconds ? Array.isArray(e.seconds) ? e.seconds[w] : e.seconds : 0, s = (w, F) => w ? F !== void 0 ? aa(w, r("hours", F), r("minutes", F), o(F)) : aa(w, e.hours, e.minutes, o()) : $o(re(), o(F)), i = (w, F) => {
8934
- e[w] = F;
8935
- }, c = k(() => a.modelAuto && l.value.enabled ? Array.isArray(t.value) ? t.value.length > 1 : !1 : l.value.enabled), f = (w, F) => {
8933
+ const { defaultedRange: l } = nt(a), r = (k, F) => Array.isArray(e[k]) ? e[k][F] : e[k], o = (k) => a.enableSeconds ? Array.isArray(e.seconds) ? e.seconds[k] : e.seconds : 0, s = (k, F) => k ? F !== void 0 ? na(k, r("hours", F), r("minutes", F), o(F)) : na(k, e.hours, e.minutes, o()) : $o(re(), o(F)), i = (k, F) => {
8934
+ e[k] = F;
8935
+ }, c = w(() => a.modelAuto && l.value.enabled ? Array.isArray(t.value) ? t.value.length > 1 : !1 : l.value.enabled), f = (k, F) => {
8936
8936
  const G = Object.fromEntries(
8937
- Object.keys(e).map((L) => L === w ? [L, F] : [L, e[L]].slice())
8937
+ Object.keys(e).map((L) => L === k ? [L, F] : [L, e[L]].slice())
8938
8938
  );
8939
8939
  if (c.value && !l.value.disableTimeRangeValidation) {
8940
- const L = (R) => t.value ? aa(
8940
+ const L = (R) => t.value ? na(
8941
8941
  t.value[R],
8942
8942
  G.hours[R],
8943
8943
  G.minutes[R],
@@ -8946,31 +8946,31 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
8946
8946
  return !(Ye(L(0), L(1)) && (va(L(0), Y(1)) || Sa(L(1), Y(0))));
8947
8947
  }
8948
8948
  return !0;
8949
- }, u = (w, F) => {
8950
- f(w, F) && (i(w, F), n && n());
8951
- }, m = (w) => {
8952
- u("hours", w);
8953
- }, v = (w) => {
8954
- u("minutes", w);
8955
- }, x = (w) => {
8956
- u("seconds", w);
8957
- }, M = (w, F, G, L) => {
8958
- F && m(w), !F && !G && v(w), G && x(w), t.value && L(t.value);
8959
- }, $ = (w) => {
8960
- if (w) {
8961
- const F = Array.isArray(w), G = F ? [+w[0].hours, +w[1].hours] : +w.hours, L = F ? [+w[0].minutes, +w[1].minutes] : +w.minutes, Y = F ? [+w[0].seconds, +w[1].seconds] : +w.seconds;
8949
+ }, u = (k, F) => {
8950
+ f(k, F) && (i(k, F), n && n());
8951
+ }, m = (k) => {
8952
+ u("hours", k);
8953
+ }, v = (k) => {
8954
+ u("minutes", k);
8955
+ }, x = (k) => {
8956
+ u("seconds", k);
8957
+ }, M = (k, F, G, L) => {
8958
+ F && m(k), !F && !G && v(k), G && x(k), t.value && L(t.value);
8959
+ }, $ = (k) => {
8960
+ if (k) {
8961
+ const F = Array.isArray(k), G = F ? [+k[0].hours, +k[1].hours] : +k.hours, L = F ? [+k[0].minutes, +k[1].minutes] : +k.minutes, Y = F ? [+k[0].seconds, +k[1].seconds] : +k.seconds;
8962
8962
  i("hours", G), i("minutes", L), a.enableSeconds && i("seconds", Y);
8963
8963
  }
8964
- }, O = (w, F) => {
8964
+ }, O = (k, F) => {
8965
8965
  const G = {
8966
- hours: Array.isArray(e.hours) ? e.hours[w] : e.hours,
8966
+ hours: Array.isArray(e.hours) ? e.hours[k] : e.hours,
8967
8967
  disabledArr: []
8968
8968
  };
8969
- return (F || F === 0) && (G.hours = F), Array.isArray(a.disabledTimes) && (G.disabledArr = l.value.enabled && Array.isArray(a.disabledTimes[w]) ? a.disabledTimes[w] : a.disabledTimes), G;
8970
- }, T = k(() => (w, F) => {
8969
+ return (F || F === 0) && (G.hours = F), Array.isArray(a.disabledTimes) && (G.disabledArr = l.value.enabled && Array.isArray(a.disabledTimes[k]) ? a.disabledTimes[k] : a.disabledTimes), G;
8970
+ }, T = w(() => (k, F) => {
8971
8971
  var G;
8972
8972
  if (Array.isArray(a.disabledTimes)) {
8973
- const { disabledArr: L, hours: Y } = O(w, F), R = L.filter((V) => +V.hours === Y);
8973
+ const { disabledArr: L, hours: Y } = O(k, F), R = L.filter((V) => +V.hours === Y);
8974
8974
  return ((G = R[0]) == null ? void 0 : G.minutes) === "*" ? { hours: [Y], minutes: void 0, seconds: void 0 } : {
8975
8975
  hours: [],
8976
8976
  minutes: (R == null ? void 0 : R.map((V) => +V.minutes)) ?? [],
@@ -9020,15 +9020,15 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9020
9020
  ];
9021
9021
  } else
9022
9022
  n.value = Tt(c($()), s.value.timezone);
9023
- }, T = (L) => Array.isArray(L) ? [pa(re(L[0])), pa(re(L[1]))] : [pa(L ?? re())], w = (L, Y, R) => {
9023
+ }, T = (L) => Array.isArray(L) ? [pa(re(L[0])), pa(re(L[1]))] : [pa(L ?? re())], k = (L, Y, R) => {
9024
9024
  f("hours", L), f("minutes", Y), f("seconds", a.enableSeconds ? R : 0);
9025
9025
  }, F = () => {
9026
9026
  const [L, Y] = T(n.value);
9027
- return o.value.enabled ? w(
9027
+ return o.value.enabled ? k(
9028
9028
  [L.hours, Y.hours],
9029
9029
  [L.minutes, Y.minutes],
9030
9030
  [L.seconds, Y.seconds]
9031
- ) : w(L.hours, L.minutes, L.seconds);
9031
+ ) : k(L.hours, L.minutes, L.seconds);
9032
9032
  };
9033
9033
  Je(() => {
9034
9034
  if (!a.shadow)
@@ -9064,7 +9064,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9064
9064
  "overlay-toggle"
9065
9065
  ],
9066
9066
  setup(a, { expose: e, emit: t }) {
9067
- const n = t, l = a, r = Gt(), o = Dt(r, "timePicker"), s = j(null), { time: i, modelValue: c, disabledTimesConfig: f, updateTime: u, validateTime: m } = Ip(l, n);
9067
+ const n = t, l = a, r = Kt(), o = Dt(r, "timePicker"), s = j(null), { time: i, modelValue: c, disabledTimesConfig: f, updateTime: u, validateTime: m } = Ip(l, n);
9068
9068
  return Je(() => {
9069
9069
  l.shadow || n("mount", null);
9070
9070
  }), e({ getSidebarProps: () => ({
@@ -9136,7 +9136,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9136
9136
  defaultedHighlight: f,
9137
9137
  propDates: u,
9138
9138
  defaultedUI: m
9139
- } = nt(l), { transitionName: v, showTransition: x } = nn(r), { buildMatrix: M } = sa(), { handleMonthYearChange: $, isDisabled: O, updateMonthYear: T } = ip(l, n), { showLeftIcon: w, showRightIcon: F } = Cn(), G = j(!1), L = j(!1), Y = j(!1), R = j([null, null, null, null]);
9139
+ } = nt(l), { transitionName: v, showTransition: x } = nn(r), { buildMatrix: M } = sa(), { handleMonthYearChange: $, isDisabled: O, updateMonthYear: T } = ip(l, n), { showLeftIcon: k, showRightIcon: F } = Cn(), G = j(!1), L = j(!1), Y = j(!1), R = j([null, null, null, null]);
9140
9140
  Je(() => {
9141
9141
  n("mount");
9142
9142
  });
@@ -9146,21 +9146,21 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9146
9146
  const U = _ === Ct.month ? Ct.year : Ct.month;
9147
9147
  n("update-month-year", { [_]: E, [U]: l[U] }), _ === Ct.month ? P(!0) : J(!0);
9148
9148
  }
9149
- }), W = k(V(Ct.month)), le = k(V(Ct.year)), he = k(() => (_) => ({
9149
+ }), W = w(V(Ct.month)), le = w(V(Ct.year)), he = w(() => (_) => ({
9150
9150
  month: l.month,
9151
9151
  year: l.year,
9152
9152
  items: _ === Ct.month ? l.months : l.years,
9153
9153
  instance: l.instance,
9154
9154
  updateMonthYear: T,
9155
9155
  toggle: _ === Ct.month ? P : J
9156
- })), be = k(() => l.months.find((E) => E.value === l.month) || { text: "", value: 0 }), I = k(() => La(l.months, (_) => {
9156
+ })), be = w(() => l.months.find((E) => E.value === l.month) || { text: "", value: 0 }), I = w(() => La(l.months, (_) => {
9157
9157
  const E = l.month === _.value, U = Ha(
9158
9158
  _.value,
9159
9159
  Po(l.year, u.value.minDate),
9160
9160
  So(l.year, u.value.maxDate)
9161
9161
  ) || i.value.months.includes(_.value), te = Ro(f.value, _.value, l.year);
9162
9162
  return { active: E, disabled: U, highlighted: te };
9163
- })), C = k(() => La(l.years, (_) => {
9163
+ })), C = w(() => La(l.years, (_) => {
9164
9164
  const E = l.year === _.value, U = Ha(
9165
9165
  _.value,
9166
9166
  Ia(u.value.minDate),
@@ -9177,7 +9177,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9177
9177
  _ || n("reset-flow");
9178
9178
  }, K = (_, E) => {
9179
9179
  l.arrowNavigation && (R.value[E] = pt(_), M(R.value, "monthYear"));
9180
- }, z = k(() => {
9180
+ }, z = w(() => {
9181
9181
  var _, E, U, te, g, h;
9182
9182
  return [
9183
9183
  {
@@ -9205,7 +9205,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9205
9205
  overlayLabel: ((h = (g = o.value).yearPicker) == null ? void 0 : h.call(g, !0)) ?? void 0
9206
9206
  }
9207
9207
  ];
9208
- }), B = k(() => l.disableYearSelect ? [z.value[0]] : l.yearFirst ? [...z.value].reverse() : z.value);
9208
+ }), B = w(() => l.disableYearSelect ? [z.value[0]] : l.yearFirst ? [...z.value].reverse() : z.value);
9209
9209
  return e({
9210
9210
  toggleMonthPicker: P,
9211
9211
  toggleYearPicker: J,
@@ -9229,7 +9229,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9229
9229
  D(_.$slots, "top-extra", { value: _.internalModelValue })
9230
9230
  ])) : S("", !0),
9231
9231
  Z("div", Fp, [
9232
- d(w)(d(s), a.instance) && !_.vertical ? (p(), ne(Qa, {
9232
+ d(k)(d(s), a.instance) && !_.vertical ? (p(), ne(Qa, {
9233
9233
  key: 0,
9234
9234
  "aria-label": (U = d(o)) == null ? void 0 : U.prevMonth,
9235
9235
  disabled: d(O)(!1),
@@ -9269,7 +9269,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9269
9269
  value: l[X.type]
9270
9270
  }) : S("", !0),
9271
9271
  _.$slots[X.type] ? S("", !0) : (p(), b(ye, { key: 1 }, [
9272
- Ge(ke(X.text), 1)
9272
+ je(ke(X.text), 1)
9273
9273
  ], 64))
9274
9274
  ], 42, Yp),
9275
9275
  ve(Ht, {
@@ -9333,7 +9333,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9333
9333
  }, 1032, ["name", "css"])
9334
9334
  ], 64))), 128))
9335
9335
  ], 2),
9336
- d(w)(d(s), a.instance) && _.vertical ? (p(), ne(Qa, {
9336
+ d(k)(d(s), a.instance) && _.vertical ? (p(), ne(Qa, {
9337
9337
  key: 1,
9338
9338
  "aria-label": (g = d(o)) == null ? void 0 : g.prevMonth,
9339
9339
  "el-name": "action-prev",
@@ -9359,7 +9359,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9359
9359
  }, {
9360
9360
  default: N(() => [
9361
9361
  _.$slots[_.vertical ? "arrow-down" : "arrow-right"] ? D(_.$slots, _.vertical ? "arrow-down" : "arrow-right", { key: 0 }) : S("", !0),
9362
- _.$slots[_.vertical ? "arrow-down" : "arrow-right"] ? S("", !0) : (p(), ne(ra(_.vertical ? d(Fl) : d(Rl)), { key: 1 }))
9362
+ _.$slots[_.vertical ? "arrow-down" : "arrow-right"] ? S("", !0) : (p(), ne(Gt(_.vertical ? d(Fl) : d(Rl)), { key: 1 }))
9363
9363
  ]),
9364
9364
  _: 3
9365
9365
  }, 8, ["disabled", "aria-label", "class"])) : S("", !0)
@@ -9414,7 +9414,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9414
9414
  bottom: "",
9415
9415
  left: "",
9416
9416
  transform: ""
9417
- }), M = j([]), $ = j(null), O = j(!0), T = j(""), w = j({ startX: 0, endX: 0, startY: 0, endY: 0 }), F = j([]), G = j({ left: "50%" }), L = j(!1), Y = k(() => l.calendar ? l.calendar(l.mappedDates) : l.mappedDates), R = k(() => l.dayNames ? Array.isArray(l.dayNames) ? l.dayNames : l.dayNames(l.locale, +l.weekStart) : Af(l.formatLocale, l.locale, +l.weekStart));
9417
+ }), M = j([]), $ = j(null), O = j(!0), T = j(""), k = j({ startX: 0, endX: 0, startY: 0, endY: 0 }), F = j([]), G = j({ left: "50%" }), L = j(!1), Y = w(() => l.calendar ? l.calendar(l.mappedDates) : l.mappedDates), R = w(() => l.dayNames ? Array.isArray(l.dayNames) ? l.dayNames : l.dayNames(l.locale, +l.weekStart) : Af(l.formatLocale, l.locale, +l.weekStart));
9418
9418
  Je(() => {
9419
9419
  n("mount", { cmp: "calendar", refs: M }), s.value.noSwipe || $.value && ($.value.addEventListener("touchstart", K, { passive: !1 }), $.value.addEventListener("touchend", z, { passive: !1 }), $.value.addEventListener("touchmove", B, { passive: !1 })), l.monthChangeOnScroll && $.value && $.value.addEventListener("wheel", U, { passive: !1 });
9420
9420
  }), Mt(() => {
@@ -9427,20 +9427,20 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9427
9427
  O.value = !0;
9428
9428
  });
9429
9429
  }
9430
- }, le = k(
9430
+ }, le = w(
9431
9431
  () => ({
9432
9432
  ...m.value.calendar ?? {}
9433
9433
  })
9434
- ), he = k(() => (X) => {
9434
+ ), he = w(() => (X) => {
9435
9435
  const Se = qf(X);
9436
9436
  return {
9437
9437
  dp__marker_dot: Se.type === "dot",
9438
9438
  dp__marker_line: Se.type === "line"
9439
9439
  };
9440
- }), be = k(() => (X) => Ye(X, v.value)), I = k(() => ({
9440
+ }), be = w(() => (X) => Ye(X, v.value)), I = w(() => ({
9441
9441
  dp__calendar: !0,
9442
9442
  dp__calendar_next: c.value.count > 0 && l.instance !== 0
9443
- })), C = k(() => (X) => l.hideOffsetDates ? X.current : !0), q = async (X, Se) => {
9443
+ })), C = w(() => (X) => l.hideOffsetDates ? X.current : !0), q = async (X, Se) => {
9444
9444
  const { width: se, height: fe } = X.getBoundingClientRect();
9445
9445
  v.value = Se.value;
9446
9446
  let y = { left: `${se / 2}px` }, ce = -50;
@@ -9468,14 +9468,14 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9468
9468
  }, A = (X) => {
9469
9469
  v.value && (v.value = null, x.value = JSON.parse(JSON.stringify({ bottom: "", left: "", transform: "" })), n("tooltip-close", X.marker));
9470
9470
  }, K = (X) => {
9471
- w.value.startX = X.changedTouches[0].screenX, w.value.startY = X.changedTouches[0].screenY;
9471
+ k.value.startX = X.changedTouches[0].screenX, k.value.startY = X.changedTouches[0].screenY;
9472
9472
  }, z = (X) => {
9473
- w.value.endX = X.changedTouches[0].screenX, w.value.endY = X.changedTouches[0].screenY, _();
9473
+ k.value.endX = X.changedTouches[0].screenX, k.value.endY = X.changedTouches[0].screenY, _();
9474
9474
  }, B = (X) => {
9475
9475
  l.vertical && !l.inline && X.preventDefault();
9476
9476
  }, _ = () => {
9477
9477
  const X = l.vertical ? "Y" : "X";
9478
- Math.abs(w.value[`start${X}`] - w.value[`end${X}`]) > 10 && n("handle-swipe", w.value[`start${X}`] > w.value[`end${X}`] ? "right" : "left");
9478
+ Math.abs(k.value[`start${X}`] - k.value[`end${X}`]) > 10 && n("handle-swipe", k.value[`start${X}`] > k.value[`end${X}`] ? "right" : "left");
9479
9479
  }, E = (X, Se, se) => {
9480
9480
  X && (Array.isArray(M.value[Se]) ? M.value[Se][se] = X : M.value[Se] = [X]), l.arrowNavigation && r(M.value, "calendar");
9481
9481
  }, U = (X) => {
@@ -9484,9 +9484,9 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9484
9484
  const Se = X[0];
9485
9485
  return f.value.hideOnOffsetDates ? X.some((se) => se.current) ? te(Se) : "" : te(Se);
9486
9486
  }, h = (X, Se, se = !0) => {
9487
- !se && If() || (!u.value.enabled || s.value.allowPreventDefault) && (ta(X, s.value), n("select-date", Se));
9487
+ !se && If() || (!u.value.enabled || s.value.allowPreventDefault) && (aa(X, s.value), n("select-date", Se));
9488
9488
  }, ee = (X) => {
9489
- ta(X, s.value);
9489
+ aa(X, s.value);
9490
9490
  }, qe = (X) => {
9491
9491
  u.value.enabled && u.value.dragSelect ? (L.value = !0, n("select-date", X)) : u.value.enabled && n("select-date", X);
9492
9492
  };
@@ -9516,7 +9516,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9516
9516
  index: fe
9517
9517
  }) : S("", !0),
9518
9518
  X.$slots["calendar-header"] ? S("", !0) : (p(), b(ye, { key: 1 }, [
9519
- Ge(ke(se), 1)
9519
+ je(ke(se), 1)
9520
9520
  ], 64))
9521
9521
  ], 8, Wp);
9522
9522
  }), 128))
@@ -9572,7 +9572,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9572
9572
  date: y.value
9573
9573
  }) : S("", !0),
9574
9574
  X.$slots.day ? S("", !0) : (p(), b(ye, { key: 1 }, [
9575
- Ge(ke(y.text), 1)
9575
+ je(ke(y.text), 1)
9576
9576
  ], 64)),
9577
9577
  y.marker && C.value(y) ? (p(), b(ye, { key: 2 }, [
9578
9578
  X.$slots.marker ? D(X.$slots, "marker", {
@@ -9599,8 +9599,8 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9599
9599
  class: "dp__tooltip_content",
9600
9600
  onClick: ee
9601
9601
  }, [
9602
- (p(!0), b(ye, null, Re(y.marker.tooltip, (Le, je) => (p(), b("div", {
9603
- key: je,
9602
+ (p(!0), b(ye, null, Re(y.marker.tooltip, (Le, Xe) => (p(), b("div", {
9603
+ key: Xe,
9604
9604
  class: "dp__tooltip_text"
9605
9605
  }, [
9606
9606
  X.$slots["marker-tooltip"] ? D(X.$slots, "marker-tooltip", {
@@ -9642,9 +9642,9 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9642
9642
  defaultedTz: $,
9643
9643
  propDates: O,
9644
9644
  defaultedMultiDates: T
9645
- } = nt(a), { validateMonthYearInRange: w, isDisabled: F, isDateRangeAllowed: G, checkMinMaxRange: L } = ia(a), { updateTimeValues: Y, getSetDateTime: R, setTime: V, assignStartTime: W, validateTime: le, disabledTimesConfig: he } = Wo(a, f, i, n), be = k(
9645
+ } = nt(a), { validateMonthYearInRange: k, isDisabled: F, isDateRangeAllowed: G, checkMinMaxRange: L } = ia(a), { updateTimeValues: Y, getSetDateTime: R, setTime: V, assignStartTime: W, validateTime: le, disabledTimesConfig: he } = Wo(a, f, i, n), be = w(
9646
9646
  () => (H) => c.value[H] ? c.value[H].month : 0
9647
- ), I = k(
9647
+ ), I = w(
9648
9648
  () => (H) => c.value[H] ? c.value[H].year : 0
9649
9649
  ), C = (H) => !M.value.keepViewOnOffsetClick || H ? !0 : !o.value, q = (H, de, Me, Ie = !1) => {
9650
9650
  var ae, ge;
@@ -9657,7 +9657,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9657
9657
  Je(() => {
9658
9658
  a.shadow || (i.value || (Se(), J()), z(!0), a.focusStartDate && a.startDate && Se());
9659
9659
  });
9660
- const A = k(() => {
9660
+ const A = w(() => {
9661
9661
  var H;
9662
9662
  return (H = a.flow) != null && H.length && !a.partialFlow ? a.flowStep === a.flow.length : !0;
9663
9663
  }), K = () => {
@@ -9674,7 +9674,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9674
9674
  c.value[Me] = { month: Fe(ae), year: Pe(ae) };
9675
9675
  }
9676
9676
  }, E = (H, de) => {
9677
- _(H), V("hours", Xt(H)), V("minutes", la(H)), V("seconds", Pa(H)), m.value.count && de && X();
9677
+ _(H), V("hours", Xt(H)), V("minutes", ra(H)), V("seconds", Pa(H)), m.value.count && de && X();
9678
9678
  }, U = (H) => {
9679
9679
  if (m.value.count) {
9680
9680
  if (m.value.solo) return 0;
@@ -9688,7 +9688,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9688
9688
  Ie(H[0]),
9689
9689
  H[1] ? Ie(H[1]) : f[ae][1]
9690
9690
  ];
9691
- V("hours", Me(Xt, "hours")), V("minutes", Me(la, "minutes")), V("seconds", Me(Pa, "seconds"));
9691
+ V("hours", Me(Xt, "hours")), V("minutes", Me(ra, "minutes")), V("seconds", Me(Pa, "seconds"));
9692
9692
  }, g = (H, de) => {
9693
9693
  if ((x.value.enabled || a.weekPicker) && !T.value.enabled)
9694
9694
  return te(H, de);
@@ -9701,7 +9701,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9701
9701
  g(de, H), m.value.count && m.value.solo && X();
9702
9702
  }, ee = (H, de) => {
9703
9703
  const Me = Ze(re(), { month: be.value(de), year: I.value(de) }), Ie = H < 0 ? Ot(Me, 1) : Oa(Me, 1);
9704
- w(Fe(Ie), Pe(Ie), H < 0, a.preventMinMaxNavigation) && (q(de, Fe(Ie), Pe(Ie)), e("update-month-year", { instance: de, month: Fe(Ie), year: Pe(Ie) }), m.value.count && !m.value.solo && qe(de), t());
9704
+ k(Fe(Ie), Pe(Ie), H < 0, a.preventMinMaxNavigation) && (q(de, Fe(Ie), Pe(Ie)), e("update-month-year", { instance: de, month: Fe(Ie), year: Pe(Ie) }), m.value.count && !m.value.solo && qe(de), t());
9705
9705
  }, qe = (H) => {
9706
9706
  for (let de = H - 1; de >= 0; de--) {
9707
9707
  const Me = Oa(Ze(re(), { month: be.value(de + 1), year: I.value(de + 1) }), 1);
@@ -9751,10 +9751,10 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9751
9751
  const ae = 6 - H.length, ge = (de.getDay() + 7 - Ie) % 7, xe = 6 - (Me.getDay() + 7 - Ie) % 7, [zt, Et] = pe(ge, xe);
9752
9752
  for (let ua = 1; ua <= ae; ua++)
9753
9753
  if (Et ? !!(ua % 2) == zt : zt) {
9754
- const Kt = H[0].days[0], Bn = Ee(At(Kt.value, -7), Fe(de));
9754
+ const Zt = H[0].days[0], Bn = Ee(At(Zt.value, -7), Fe(de));
9755
9755
  H.unshift({ days: Bn });
9756
9756
  } else {
9757
- const Kt = H[H.length - 1], Bn = Kt.days[Kt.days.length - 1], ds = Ee(At(Bn.value, 1), Fe(de));
9757
+ const Zt = H[H.length - 1], Bn = Zt.days[Zt.days.length - 1], ds = Ee(At(Bn.value, 1), Fe(de));
9758
9758
  H.push({ days: ds });
9759
9759
  }
9760
9760
  }
@@ -9775,15 +9775,15 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9775
9775
  const Me = [], Ie = new Date(de, H), ae = new Date(de, H + 1, 0), ge = a.weekStart, xe = Lt(Ie, { weekStartsOn: ge }), zt = (Et) => {
9776
9776
  const ua = Ee(Et, H);
9777
9777
  if (Me.push({ days: ua }), !Me[Me.length - 1].days.some(
9778
- (Kt) => Ye(vt(Kt.value), vt(ae))
9778
+ (Zt) => Ye(vt(Zt.value), vt(ae))
9779
9779
  )) {
9780
- const Kt = At(Et, 7);
9781
- zt(Kt);
9780
+ const Zt = At(Et, 7);
9781
+ zt(Zt);
9782
9782
  }
9783
9783
  };
9784
9784
  return zt(xe), me(Me, Ie, ae, ge);
9785
- }, je = (H) => {
9786
- const de = aa(re(H.value), f.hours, f.minutes, $e());
9785
+ }, Xe = (H) => {
9786
+ const de = na(re(H.value), f.hours, f.minutes, $e());
9787
9787
  e("date-update", de), T.value.enabled ? Ul(de, i, T.value.limit) : i.value = de, n(), Be().then(() => {
9788
9788
  K();
9789
9789
  });
@@ -9813,7 +9813,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9813
9813
  if (x.value.fixedStart || x.value.fixedEnd) return mt(H);
9814
9814
  l.value[0] ? L(re(H.value), i.value) && !it(H.value) ? ot(re(H.value), re(l.value[0])) ? (l.value.unshift(re(H.value)), e("range-end", l.value[0])) : (l.value[1] = re(H.value), e("range-end", l.value[1])) : (a.autoApply && e("auto-apply-invalid", H.value), e("invalid-date", H.value)) : (l.value[0] = re(H.value), e("range-start", l.value[0]));
9815
9815
  }, $e = (H = !0) => a.enableSeconds ? Array.isArray(f.seconds) ? H ? f.seconds[0] : f.seconds[1] : f.seconds : 0, yt = (H) => {
9816
- l.value[H] = aa(
9816
+ l.value[H] = na(
9817
9817
  l.value[H],
9818
9818
  f.hours[H],
9819
9819
  f.minutes[H],
@@ -9826,7 +9826,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9826
9826
  l.value.length && (l.value[0] && !l.value[1] ? yt(0) : (yt(0), yt(1), n()), Rt(), i.value = l.value.slice(), An(l.value, e, a.autoApply, a.modelAuto));
9827
9827
  }, rn = (H, de = !1) => {
9828
9828
  if (F(H.value) || !H.current && a.hideOffsetDates) return e("invalid-date", H.value);
9829
- if (o.value = JSON.parse(JSON.stringify(H)), !x.value.enabled) return je(H);
9829
+ if (o.value = JSON.parse(JSON.stringify(H)), !x.value.enabled) return Xe(H);
9830
9830
  $r(f.hours) && $r(f.minutes) && !T.value.enabled && (Bt(H, de), qn());
9831
9831
  }, Pn = (H, de) => {
9832
9832
  var Ie;
@@ -9923,13 +9923,13 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9923
9923
  handleScroll: $,
9924
9924
  handleSwipe: O,
9925
9925
  selectDate: T,
9926
- updateMonthYear: w,
9926
+ updateMonthYear: k,
9927
9927
  presetDate: F,
9928
9928
  selectCurrentDate: G,
9929
9929
  updateTime: L,
9930
9930
  assignMonthAndYear: Y,
9931
9931
  setStartTime: R
9932
- } = Gp(l, n, B, _), V = Gt(), { setHoverDate: W, getDayClassData: le, clearHoverDate: he } = vm(i, l), { defaultedMultiCalendars: be } = nt(l), I = j([]), C = j([]), q = j(null), P = Dt(V, "calendar"), J = Dt(V, "monthYear"), A = Dt(V, "timePicker"), K = (se) => {
9932
+ } = Gp(l, n, B, _), V = Kt(), { setHoverDate: W, getDayClassData: le, clearHoverDate: he } = vm(i, l), { defaultedMultiCalendars: be } = nt(l), I = j([]), C = j([]), q = j(null), P = Dt(V, "calendar"), J = Dt(V, "monthYear"), A = Dt(V, "timePicker"), K = (se) => {
9933
9933
  l.shadow || n("mount", se);
9934
9934
  };
9935
9935
  De(
@@ -9947,7 +9947,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9947
9947
  },
9948
9948
  { deep: !0 }
9949
9949
  );
9950
- const z = k(() => (se) => v(o.value(se), s.value(se)).map((fe) => ({
9950
+ const z = w(() => (se) => v(o.value(se), s.value(se)).map((fe) => ({
9951
9951
  ...fe,
9952
9952
  days: fe.days.map((y) => (y.marker = x(y), y.classData = le(y), y))
9953
9953
  })));
@@ -9984,7 +9984,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9984
9984
  var fe;
9985
9985
  (fe = I.value[0]) == null || fe.handleMonthYearChange(se, !0);
9986
9986
  }, qe = (se) => {
9987
- w(0, { month: o.value(0), year: s.value(0) + (se ? 1 : -1), fromNav: !0 });
9987
+ k(0, { month: o.value(0), year: s.value(0) + (se ? 1 : -1), fromNav: !0 });
9988
9988
  }, X = (se, fe) => {
9989
9989
  se === wt.time && n(`time-picker-${fe ? "open" : "close"}`), n("overlay-toggle", { open: fe, overlay: se });
9990
9990
  }, Se = (se) => {
@@ -9998,14 +9998,14 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
9998
9998
  toggleYearPicker: te,
9999
9999
  toggleTimePicker: g,
10000
10000
  handleArrow: M,
10001
- updateMonthYear: w,
10001
+ updateMonthYear: k,
10002
10002
  getSidebarProps: () => ({
10003
10003
  modelValue: i,
10004
10004
  month: o,
10005
10005
  year: s,
10006
10006
  time: c,
10007
10007
  updateTime: L,
10008
- updateMonthYear: w,
10008
+ updateMonthYear: k,
10009
10009
  selectDate: T,
10010
10010
  presetDate: F
10011
10011
  }),
@@ -10033,7 +10033,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
10033
10033
  }, se.$props, {
10034
10034
  onMount: fe[0] || (fe[0] = (pe) => K(d(fa).header)),
10035
10035
  onResetFlow: fe[1] || (fe[1] = (pe) => se.$emit("reset-flow")),
10036
- onUpdateMonthYear: (pe) => d(w)(y, pe),
10036
+ onUpdateMonthYear: (pe) => d(k)(y, pe),
10037
10037
  onOverlayClosed: Se,
10038
10038
  onOverlayOpened: fe[2] || (fe[2] = (pe) => se.$emit("overlay-toggle", { open: !0, overlay: pe }))
10039
10039
  }), He({ _: 2 }, [
@@ -10113,7 +10113,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
10113
10113
  propDates: s,
10114
10114
  defaultedFilters: i,
10115
10115
  defaultedMultiDates: c
10116
- } = nt(a), { modelValue: f, year: u, month: m, calendars: v } = ln(a, e), { isDisabled: x } = ia(a), { selectYear: M, groupedYears: $, showYearPicker: O, isDisabled: T, toggleYearPicker: w, handleYearSelect: F, handleYear: G } = No({
10116
+ } = nt(a), { modelValue: f, year: u, month: m, calendars: v } = ln(a, e), { isDisabled: x } = ia(a), { selectYear: M, groupedYears: $, showYearPicker: O, isDisabled: T, toggleYearPicker: k, handleYearSelect: F, handleYear: G } = No({
10117
10117
  modelValue: f,
10118
10118
  multiCalendars: n,
10119
10119
  range: o,
@@ -10125,7 +10125,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
10125
10125
  filters: i,
10126
10126
  props: a,
10127
10127
  emit: e
10128
- }), L = (C, q) => [C, q].map((P) => Yt(P, "MMMM", { locale: a.formatLocale })).join("-"), Y = k(() => (C) => f.value ? Array.isArray(f.value) ? f.value.some((q) => mr(C, q)) : mr(f.value, C) : !1), R = (C) => {
10128
+ }), L = (C, q) => [C, q].map((P) => Yt(P, "MMMM", { locale: a.formatLocale })).join("-"), Y = w(() => (C) => f.value ? Array.isArray(f.value) ? f.value.some((q) => mr(C, q)) : mr(f.value, C) : !1), R = (C) => {
10129
10129
  if (o.value.enabled) {
10130
10130
  if (Array.isArray(f.value)) {
10131
10131
  const q = Ye(C, f.value[0]) || Ye(C, f.value[1]);
@@ -10134,7 +10134,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
10134
10134
  return !1;
10135
10135
  }
10136
10136
  return !1;
10137
- }, V = (C, q) => C.quarter === ir(q) && C.year === Pe(q), W = (C) => typeof r.value == "function" ? r.value({ quarter: ir(C), year: Pe(C) }) : !!r.value.quarters.find((q) => V(q, C)), le = k(() => (C) => {
10137
+ }, V = (C, q) => C.quarter === ir(q) && C.year === Pe(q), W = (C) => typeof r.value == "function" ? r.value({ quarter: ir(C), year: Pe(C) }) : !!r.value.quarters.find((q) => V(q, C)), le = w(() => (C) => {
10138
10138
  const q = Ze(/* @__PURE__ */ new Date(), { year: u.value(C) });
10139
10139
  return Dd({
10140
10140
  start: Da(q),
@@ -10174,7 +10174,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
10174
10174
  if (!P)
10175
10175
  return v.value[q].month = Fe(ur(C)), c.value.enabled ? he(C) : o.value.enabled ? be(C) : I(C);
10176
10176
  },
10177
- toggleYearPicker: w,
10177
+ toggleYearPicker: k,
10178
10178
  handleYearSelect: F,
10179
10179
  handleYear: G
10180
10180
  };
@@ -10197,7 +10197,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
10197
10197
  "update-month-year"
10198
10198
  ],
10199
10199
  setup(a, { expose: e, emit: t }) {
10200
- const n = t, l = a, r = Gt(), o = Dt(r, "yearMode"), {
10200
+ const n = t, l = a, r = Kt(), o = Dt(r, "yearMode"), {
10201
10201
  defaultedMultiCalendars: s,
10202
10202
  defaultedConfig: i,
10203
10203
  groupedYears: c,
@@ -10210,14 +10210,14 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
10210
10210
  selectQuarter: $,
10211
10211
  toggleYearPicker: O,
10212
10212
  handleYearSelect: T,
10213
- handleYear: w
10213
+ handleYear: k
10214
10214
  } = Jp(l, n);
10215
10215
  return e({ getSidebarProps: () => ({
10216
10216
  modelValue: v,
10217
10217
  year: f,
10218
10218
  selectQuarter: $,
10219
10219
  handleYearSelect: T,
10220
- handleYear: w
10220
+ handleYear: k
10221
10221
  }) }), (F, G) => (p(), ne(Dn, {
10222
10222
  "multi-calendars": d(s).count,
10223
10223
  collapse: F.collapse,
@@ -10240,7 +10240,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
10240
10240
  "show-year-picker": d(x)[L],
10241
10241
  year: d(f)(L),
10242
10242
  "is-disabled": (Y) => d(u)(L, Y),
10243
- onHandleYear: (Y) => d(w)(L, Y),
10243
+ onHandleYear: (Y) => d(k)(L, Y),
10244
10244
  onYearSelect: (Y) => d(T)(Y, L),
10245
10245
  onToggleYearPicker: (Y) => d(O)(L, Y == null ? void 0 : Y.flow, Y == null ? void 0 : Y.show)
10246
10246
  }), He({ _: 2 }, [
@@ -10272,7 +10272,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
10272
10272
  value: Y.value,
10273
10273
  text: Y.text
10274
10274
  }) : (p(), b(ye, { key: 1 }, [
10275
- Ge(ke(Y.text), 1)
10275
+ je(ke(Y.text), 1)
10276
10276
  ], 64))
10277
10277
  ], 42, tm)
10278
10278
  ]))), 128))
@@ -10293,7 +10293,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
10293
10293
  t.value = window.document.documentElement.clientWidth;
10294
10294
  };
10295
10295
  return {
10296
- isMobile: k(
10296
+ isMobile: w(
10297
10297
  () => t.value <= a.value.mobileBreakpoint && !e ? !0 : void 0
10298
10298
  )
10299
10299
  };
@@ -10352,7 +10352,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
10352
10352
  "menu-blur"
10353
10353
  ],
10354
10354
  setup(a, { expose: e, emit: t }) {
10355
- const n = t, l = a, r = j(null), o = k(() => {
10355
+ const n = t, l = a, r = j(null), o = w(() => {
10356
10356
  const { openOnTop: Q, ...ie } = l;
10357
10357
  return {
10358
10358
  ...ie,
@@ -10360,8 +10360,8 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
10360
10360
  flowStep: be.value,
10361
10361
  menuWrapRef: r.value
10362
10362
  };
10363
- }), { setMenuFocused: s, setShiftKey: i, control: c } = Vo(), f = Gt(), { defaultedTextInput: u, defaultedInline: m, defaultedConfig: v, defaultedUI: x, handleEventPropagation: M } = nt(l), { isMobile: $ } = Ho(v, l.shadow), O = j(null), T = j(0), w = j(null), F = j(!1), G = j(null), L = j(!1), Y = (Q) => {
10364
- L.value = !0, v.value.allowPreventDefault && Q.preventDefault(), ta(Q, v.value, !0);
10363
+ }), { setMenuFocused: s, setShiftKey: i, control: c } = Vo(), f = Kt(), { defaultedTextInput: u, defaultedInline: m, defaultedConfig: v, defaultedUI: x, handleEventPropagation: M } = nt(l), { isMobile: $ } = Ho(v, l.shadow), O = j(null), T = j(0), k = j(null), F = j(!1), G = j(null), L = j(!1), Y = (Q) => {
10364
+ L.value = !0, v.value.allowPreventDefault && Q.preventDefault(), aa(Q, v.value, !0);
10365
10365
  };
10366
10366
  Je(() => {
10367
10367
  if (!l.shadow) {
@@ -10376,9 +10376,9 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
10376
10376
  Q && (Q.removeEventListener("pointerdown", Y), Q.removeEventListener("mousedown", Y));
10377
10377
  });
10378
10378
  const R = () => {
10379
- const Q = pt(w);
10379
+ const Q = pt(k);
10380
10380
  Q && (T.value = Q.getBoundingClientRect().width);
10381
- }, { arrowRight: V, arrowLeft: W, arrowDown: le, arrowUp: he } = sa(), { flowStep: be, updateFlowStep: I, childMount: C, resetFlow: q, handleFlow: P } = hm(l, n, G), J = k(() => l.monthPicker ? _p : l.yearPicker ? kp : l.timePicker ? Bp : l.quarterPicker ? am : Zp), A = k(() => {
10381
+ }, { arrowRight: V, arrowLeft: W, arrowDown: le, arrowUp: he } = sa(), { flowStep: be, updateFlowStep: I, childMount: C, resetFlow: q, handleFlow: P } = hm(l, n, G), J = w(() => l.monthPicker ? _p : l.yearPicker ? kp : l.timePicker ? Bp : l.quarterPicker ? am : Zp), A = w(() => {
10382
10382
  var rt;
10383
10383
  if (v.value.arrowLeft) return v.value.arrowLeft;
10384
10384
  const Q = (rt = r.value) == null ? void 0 : rt.getBoundingClientRect(), ie = l.getInputRect();
@@ -10386,16 +10386,16 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
10386
10386
  }), K = () => {
10387
10387
  const Q = pt(r);
10388
10388
  Q && Q.focus({ preventScroll: !0 });
10389
- }, z = k(() => {
10389
+ }, z = w(() => {
10390
10390
  var Q;
10391
10391
  return ((Q = G.value) == null ? void 0 : Q.getSidebarProps()) || {};
10392
10392
  }), B = () => {
10393
10393
  l.openOnTop && n("recalculate-position");
10394
- }, _ = Dt(f, "action"), E = k(() => l.monthPicker || l.yearPicker ? Dt(f, "monthYear") : l.timePicker ? Dt(f, "timePicker") : Dt(f, "shared")), U = k(() => l.openOnTop ? "dp__arrow_bottom" : "dp__arrow_top"), te = k(() => ({
10394
+ }, _ = Dt(f, "action"), E = w(() => l.monthPicker || l.yearPicker ? Dt(f, "monthYear") : l.timePicker ? Dt(f, "timePicker") : Dt(f, "shared")), U = w(() => l.openOnTop ? "dp__arrow_bottom" : "dp__arrow_top"), te = w(() => ({
10395
10395
  dp__menu_disabled: l.disabled,
10396
10396
  dp__menu_readonly: l.readonly,
10397
10397
  "dp-menu-loading": l.loading
10398
- })), g = k(
10398
+ })), g = w(
10399
10399
  () => ({
10400
10400
  dp__menu: !0,
10401
10401
  dp__menu_index: !m.value.enabled,
@@ -10403,7 +10403,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
10403
10403
  ...x.value.menu ?? {}
10404
10404
  })
10405
10405
  ), h = (Q) => {
10406
- ta(Q, v.value, !0);
10406
+ aa(Q, v.value, !0);
10407
10407
  }, ee = (Q) => {
10408
10408
  l.escClose && (n("close-picker"), M(Q));
10409
10409
  }, qe = (Q) => {
@@ -10414,7 +10414,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
10414
10414
  if (Q === kt.right) return V();
10415
10415
  } else Q === kt.left || Q === kt.up ? y("handleArrow", kt.left, 0, Q === kt.up) : y("handleArrow", kt.right, 0, Q === kt.down);
10416
10416
  }, X = (Q) => {
10417
- i(Q.shiftKey), !l.disableMonthYearSelect && Q.code === tt.tab && Q.target.classList.contains("dp__menu") && c.value.shiftKeyInMenu && (Q.preventDefault(), ta(Q, v.value, !0), n("close-picker"));
10417
+ i(Q.shiftKey), !l.disableMonthYearSelect && Q.code === tt.tab && Q.target.classList.contains("dp__menu") && c.value.shiftKeyInMenu && (Q.preventDefault(), aa(Q, v.value, !0), n("close-picker"));
10418
10418
  }, Se = () => {
10419
10419
  K(), n("time-picker-close");
10420
10420
  }, se = (Q) => {
@@ -10436,7 +10436,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
10436
10436
  y("updateMonthYear", Q, ie);
10437
10437
  }, Le = (Q, ie) => {
10438
10438
  Q.preventDefault(), qe(ie);
10439
- }, je = (Q) => {
10439
+ }, Xe = (Q) => {
10440
10440
  var ie, rt, mt;
10441
10441
  if (X(Q), Q.key === tt.home || Q.key === tt.end)
10442
10442
  return y(
@@ -10483,7 +10483,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
10483
10483
  style: Ne({ "--dp-arrow-left": A.value }),
10484
10484
  onMouseleave: me,
10485
10485
  onClick: h,
10486
- onKeydown: je
10486
+ onKeydown: Xe
10487
10487
  }, [
10488
10488
  (Q.disabled || Q.readonly) && d(m).enabled || Q.loading ? (p(), b("div", {
10489
10489
  key: 0,
@@ -10502,7 +10502,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
10502
10502
  }, null, 2)) : S("", !0),
10503
10503
  Z("div", {
10504
10504
  ref_key: "innerMenuRef",
10505
- ref: w,
10505
+ ref: k,
10506
10506
  class: oe({
10507
10507
  dp__menu_content_wrapper: ((mt = Q.presetDates) == null ? void 0 : mt.length) || !!Q.$slots["left-sidebar"] || !!Q.$slots["right-sidebar"],
10508
10508
  "dp--menu-content-wrapper-collapsed": a.collapse && (((Bt = Q.presetDates) == null ? void 0 : Bt.length) || !!Q.$slots["left-sidebar"] || !!Q.$slots["right-sidebar"])
@@ -10542,7 +10542,7 @@ const ul = (a, e) => a == null ? void 0 : a.querySelector(`[data-dp-element="${e
10542
10542
  class: "dp__instance_calendar",
10543
10543
  role: "document"
10544
10544
  }, [
10545
- (p(), ne(ra(J.value), Te({
10545
+ (p(), ne(Gt(J.value), Te({
10546
10546
  ref_key: "dynCmpRef",
10547
10547
  ref: G
10548
10548
  }, o.value, {
@@ -10645,7 +10645,7 @@ const fm = ({
10645
10645
  }, T = (q) => {
10646
10646
  const { width: P, height: J } = q.getBoundingClientRect(), { top: A, left: K } = x(q);
10647
10647
  return { top: +A, left: +K, width: P, height: J };
10648
- }, w = () => {
10648
+ }, k = () => {
10649
10649
  u.value.left = "50%", u.value.top = "50%", u.value.transform = "translate(-50%, -50%)", u.value.position = "fixed", delete u.value.opacity;
10650
10650
  }, F = () => {
10651
10651
  const q = pt(t);
@@ -10653,7 +10653,7 @@ const fm = ({
10653
10653
  }, G = (q = !0) => {
10654
10654
  var P;
10655
10655
  if (!l.value.enabled) {
10656
- if (v.value) return w();
10656
+ if (v.value) return k();
10657
10657
  if (o.altPosition !== null) return F();
10658
10658
  if (q) {
10659
10659
  const J = o.teleport ? (P = e.value) == null ? void 0 : P.$el : a.value;
@@ -10743,7 +10743,7 @@ const fm = ({
10743
10743
  q != null && (E.appContext = q.appContext), Jl(E, A), c.value = (g = E.el) == null ? void 0 : g.getBoundingClientRect(), Jl(null, A), z.removeChild(A);
10744
10744
  }
10745
10745
  };
10746
- }, Jt = [
10746
+ }, ea = [
10747
10747
  { name: "clock-icon", use: ["time", "calendar", "shared"] },
10748
10748
  { name: "arrow-left", use: ["month-year", "calendar", "shared", "year-mode"] },
10749
10749
  { name: "arrow-right", use: ["month-year", "calendar", "shared", "year-mode"] },
@@ -10786,15 +10786,15 @@ const fm = ({
10786
10786
  { name: "tp-inline-arrow-down", use: ["shared", "time"] },
10787
10787
  { name: "menu-header", use: ["menu"] }
10788
10788
  ], pm = [{ name: "trigger" }, { name: "input-icon" }, { name: "clear-icon" }, { name: "dp-input" }], mm = {
10789
- all: () => Jt,
10790
- monthYear: () => Jt.filter((a) => a.use.includes("month-year")),
10789
+ all: () => ea,
10790
+ monthYear: () => ea.filter((a) => a.use.includes("month-year")),
10791
10791
  input: () => pm,
10792
- timePicker: () => Jt.filter((a) => a.use.includes("time")),
10793
- action: () => Jt.filter((a) => a.use.includes("action")),
10794
- calendar: () => Jt.filter((a) => a.use.includes("calendar")),
10795
- menu: () => Jt.filter((a) => a.use.includes("menu")),
10796
- shared: () => Jt.filter((a) => a.use.includes("shared")),
10797
- yearMode: () => Jt.filter((a) => a.use.includes("year-mode"))
10792
+ timePicker: () => ea.filter((a) => a.use.includes("time")),
10793
+ action: () => ea.filter((a) => a.use.includes("action")),
10794
+ calendar: () => ea.filter((a) => a.use.includes("calendar")),
10795
+ menu: () => ea.filter((a) => a.use.includes("menu")),
10796
+ shared: () => ea.filter((a) => a.use.includes("shared")),
10797
+ yearMode: () => ea.filter((a) => a.use.includes("year-mode"))
10798
10798
  }, Dt = (a, e, t) => {
10799
10799
  const n = [];
10800
10800
  return mm[e]().forEach((l) => {
@@ -10803,17 +10803,17 @@ const fm = ({
10803
10803
  l.slot && n.push(l.slot);
10804
10804
  }), n;
10805
10805
  }, nn = (a) => {
10806
- const e = k(() => (n) => a.value ? n ? a.value.open : a.value.close : ""), t = k(() => (n) => a.value ? n ? a.value.menuAppearTop : a.value.menuAppearBottom : "");
10806
+ const e = w(() => (n) => a.value ? n ? a.value.open : a.value.close : ""), t = w(() => (n) => a.value ? n ? a.value.menuAppearTop : a.value.menuAppearBottom : "");
10807
10807
  return { transitionName: e, showTransition: !!a.value, menuTransition: t };
10808
10808
  }, ln = (a, e, t) => {
10809
10809
  const { defaultedRange: n, defaultedTz: l } = nt(a), r = re(Tt(re(), l.value.timezone)), o = j([{ month: Fe(r), year: Pe(r) }]), s = (m) => {
10810
10810
  const v = {
10811
10811
  hours: Xt(r),
10812
- minutes: la(r),
10812
+ minutes: ra(r),
10813
10813
  seconds: 0
10814
10814
  };
10815
10815
  return n.value.enabled ? [v[m], v[m]] : v[m];
10816
- }, i = na({
10816
+ }, i = la({
10817
10817
  hours: s("hours"),
10818
10818
  minutes: s("minutes"),
10819
10819
  seconds: s("seconds")
@@ -10825,14 +10825,14 @@ const fm = ({
10825
10825
  },
10826
10826
  { deep: !0 }
10827
10827
  );
10828
- const c = k({
10828
+ const c = w({
10829
10829
  get: () => a.internalModelValue,
10830
10830
  set: (m) => {
10831
10831
  !a.readonly && !a.disabled && e("update:internal-model-value", m);
10832
10832
  }
10833
- }), f = k(
10833
+ }), f = w(
10834
10834
  () => (m) => o.value[m] ? o.value[m].month : 0
10835
- ), u = k(
10835
+ ), u = w(
10836
10836
  () => (m) => o.value[m] ? o.value[m].year : 0
10837
10837
  );
10838
10838
  return De(
@@ -10874,7 +10874,7 @@ const fm = ({
10874
10874
  return h ? dt(a.value[0], g.value) && ee : ot(a.value[0], g.value) && ee;
10875
10875
  }
10876
10876
  return !1;
10877
- }, w = (g) => !a.value || e.hideOffsetDates && !g.current ? !1 : i.value.enabled ? e.modelAuto && Array.isArray(a.value) ? Ye(g.value, a.value[0] ? a.value[0] : u.value) : !1 : n.value.enabled && Array.isArray(a.value) ? a.value.some((h) => Ye(h, g.value)) : Ye(g.value, a.value ? a.value : u.value), F = (g) => {
10877
+ }, k = (g) => !a.value || e.hideOffsetDates && !g.current ? !1 : i.value.enabled ? e.modelAuto && Array.isArray(a.value) ? Ye(g.value, a.value[0] ? a.value[0] : u.value) : !1 : n.value.enabled && Array.isArray(a.value) ? a.value.some((h) => Ye(h, g.value)) : Ye(g.value, a.value ? a.value : u.value), F = (g) => {
10878
10878
  if (i.value.autoRange || e.weekPicker) {
10879
10879
  if (f.value) {
10880
10880
  if (e.hideOffsetDates && !g.current) return !1;
@@ -10908,14 +10908,14 @@ const fm = ({
10908
10908
  }, Y = (g) => Ua(a.value, f.value, g.value), R = () => e.modelAuto && Array.isArray(e.internalModelValue) ? !!e.internalModelValue[0] : !1, V = () => e.modelAuto ? Do(e.internalModelValue) : !0, W = (g) => {
10909
10909
  if (e.weekPicker) return !1;
10910
10910
  const h = i.value.enabled ? !O(g) && !O(g, !1) : !0;
10911
- return !c(g.value) && !w(g) && !(!g.current && e.hideOffsetDates) && h;
10912
- }, le = (g) => i.value.enabled ? e.modelAuto ? R() && w(g) : !1 : w(g), he = (g) => r.value ? Lf(g.value, s.value.highlight) : !1, be = (g) => {
10911
+ return !c(g.value) && !k(g) && !(!g.current && e.hideOffsetDates) && h;
10912
+ }, le = (g) => i.value.enabled ? e.modelAuto ? R() && k(g) : !1 : k(g), he = (g) => r.value ? Lf(g.value, s.value.highlight) : !1, be = (g) => {
10913
10913
  const h = c(g.value);
10914
10914
  return h && (typeof r.value == "function" ? !r.value(g.value, h) : !r.value.options.highlightDisabled);
10915
10915
  }, I = (g) => {
10916
10916
  var h;
10917
10917
  return typeof r.value == "function" ? r.value(g.value) : (h = r.value.weekdays) == null ? void 0 : h.includes(g.value.getDay());
10918
- }, C = (g) => (i.value.enabled || e.weekPicker) && (!(t.value.count > 0) || g.current) && V() && !(!g.current && e.hideOffsetDates) && !w(g) ? Y(g) : !1, q = (g) => {
10918
+ }, C = (g) => (i.value.enabled || e.weekPicker) && (!(t.value.count > 0) || g.current) && V() && !(!g.current && e.hideOffsetDates) && !k(g) ? Y(g) : !1, q = (g) => {
10919
10919
  if (Array.isArray(a.value) && a.value.length === 1) {
10920
10920
  const { before: h, after: ee } = _r(+i.value.maxRange, a.value[0]);
10921
10921
  return Sa(g.value, h) || va(g.value, ee);
@@ -11002,7 +11002,7 @@ const fm = ({
11002
11002
  const { defaultedFilters: e, defaultedRange: t, propDates: n, defaultedMultiDates: l } = nt(a), r = (I) => n.value.disabledDates ? typeof n.value.disabledDates == "function" ? n.value.disabledDates(re(I)) : !!_n(I, n.value.disabledDates) : !1, o = (I) => n.value.maxDate ? a.yearPicker ? Pe(I) > Pe(n.value.maxDate) : dt(I, n.value.maxDate) : !1, s = (I) => n.value.minDate ? a.yearPicker ? Pe(I) < Pe(n.value.minDate) : ot(I, n.value.minDate) : !1, i = (I) => {
11003
11003
  const C = o(I), q = s(I), P = r(I), J = e.value.months.map((_) => +_).includes(Fe(I)), A = a.disabledWeekDays.length ? a.disabledWeekDays.some((_) => +_ === _c(I)) : !1, K = v(I), z = Pe(I), B = Eo(a.yearRange, z);
11004
11004
  return !(C || q || P || J || B || A || K);
11005
- }, c = (I, C) => ot(...ea(n.value.minDate, I, C)) || Ye(...ea(n.value.minDate, I, C)), f = (I, C) => dt(...ea(n.value.maxDate, I, C)) || Ye(...ea(n.value.maxDate, I, C)), u = (I, C, q) => {
11005
+ }, c = (I, C) => ot(...ta(n.value.minDate, I, C)) || Ye(...ta(n.value.minDate, I, C)), f = (I, C) => dt(...ta(n.value.maxDate, I, C)) || Ye(...ta(n.value.maxDate, I, C)), u = (I, C, q) => {
11006
11006
  let P = !1;
11007
11007
  return n.value.maxDate && q && f(I, C) && (P = !0), n.value.minDate && !q && c(I, C) && (P = !0), P;
11008
11008
  }, m = (I, C, q, P) => {
@@ -11023,8 +11023,8 @@ const fm = ({
11023
11023
  if (t.value.maxRange) return K <= +t.value.maxRange;
11024
11024
  }
11025
11025
  return !0;
11026
- }, w = () => !a.enableTimePicker || a.monthPicker || a.yearPicker || a.ignoreTimeValidation, F = (I) => Array.isArray(I) ? [I[0] ? Wn(I[0]) : null, I[1] ? Wn(I[1]) : null] : Wn(I), G = (I, C, q) => I.find(
11027
- (P) => +P.hours === Xt(C) && P.minutes === "*" ? !0 : +P.minutes === la(C) && +P.hours === Xt(C)
11026
+ }, k = () => !a.enableTimePicker || a.monthPicker || a.yearPicker || a.ignoreTimeValidation, F = (I) => Array.isArray(I) ? [I[0] ? Wn(I[0]) : null, I[1] ? Wn(I[1]) : null] : Wn(I), G = (I, C, q) => I.find(
11027
+ (P) => +P.hours === Xt(C) && P.minutes === "*" ? !0 : +P.minutes === ra(C) && +P.hours === Xt(C)
11028
11028
  ) && q, L = (I, C, q) => {
11029
11029
  const [P, J] = I, [A, K] = C;
11030
11030
  return !G(P, A, q) && !G(J, K, q) && q;
@@ -11036,7 +11036,7 @@ const fm = ({
11036
11036
  return I && P;
11037
11037
  }, V = (I, C) => a.disabledTimes ? Array.isArray(a.disabledTimes) ? Y(C, I) : R(C, I) : C, W = (I) => {
11038
11038
  let C = !0;
11039
- if (!I || w()) return !0;
11039
+ if (!I || k()) return !0;
11040
11040
  const q = !n.value.minDate && !n.value.maxDate ? F(I) : I;
11041
11041
  return (a.maxTime || n.value.maxDate) && (C = br(
11042
11042
  a.maxTime,
@@ -11068,7 +11068,7 @@ const fm = ({
11068
11068
  C = ot(q, P) || Ye(q, P);
11069
11069
  }
11070
11070
  return C;
11071
- }, he = k(() => (I) => !a.enableTimePicker || a.ignoreTimeValidation ? !0 : W(I)), be = k(() => (I) => a.monthPicker ? Array.isArray(I) && (t.value.enabled || l.value.enabled) ? !I.filter((C) => !le(C)).length : le(I) : !0);
11071
+ }, he = w(() => (I) => !a.enableTimePicker || a.ignoreTimeValidation ? !0 : W(I)), be = w(() => (I) => a.monthPicker ? Array.isArray(I) && (t.value.enabled || l.value.enabled) ? !I.filter((C) => !le(C)).length : le(I) : !0);
11072
11072
  return {
11073
11073
  isDisabled: x,
11074
11074
  validateDate: i,
@@ -11080,14 +11080,14 @@ const fm = ({
11080
11080
  isMonthValid: be
11081
11081
  };
11082
11082
  }, Cn = () => {
11083
- const a = k(() => (n, l) => n == null ? void 0 : n.includes(l)), e = k(() => (n, l) => n.count ? n.solo ? !0 : l === 0 : !0), t = k(() => (n, l) => n.count ? n.solo ? !0 : l === n.count - 1 : !0);
11083
+ const a = w(() => (n, l) => n == null ? void 0 : n.includes(l)), e = w(() => (n, l) => n.count ? n.solo ? !0 : l === 0 : !0), t = w(() => (n, l) => n.count ? n.solo ? !0 : l === n.count - 1 : !0);
11084
11084
  return { hideNavigationButtons: a, showLeftIcon: e, showRightIcon: t };
11085
11085
  }, hm = (a, e, t) => {
11086
- const n = j(0), l = na({
11086
+ const n = j(0), l = la({
11087
11087
  [fa.timePicker]: !a.enableTimePicker || a.timePicker || a.monthPicker,
11088
11088
  [fa.calendar]: !1,
11089
11089
  [fa.header]: !1
11090
- }), r = k(() => a.monthPicker || a.timePicker), o = (u) => {
11090
+ }), r = w(() => a.monthPicker || a.timePicker), o = (u) => {
11091
11091
  var m;
11092
11092
  if ((m = a.flow) != null && m.length) {
11093
11093
  if (!u && r.value) return f();
@@ -11149,7 +11149,7 @@ const fm = ({
11149
11149
  defaultedUI: u,
11150
11150
  getDefaultPattern: m,
11151
11151
  getDefaultStartTime: v
11152
- } = nt(l), { checkMinMaxRange: x } = ia(l), M = j(), $ = j(null), O = j(!1), T = j(!1), w = k(
11152
+ } = nt(l), { checkMinMaxRange: x } = ia(l), M = j(), $ = j(null), O = j(!1), T = j(!1), k = w(
11153
11153
  () => ({
11154
11154
  dp__pointer: !l.disabled && !l.readonly && !r.value.enabled,
11155
11155
  dp__disabled: l.disabled,
@@ -11207,14 +11207,14 @@ const fm = ({
11207
11207
  r.value.enabled && r.value.selectOnFocus && ((z = $.value) == null || z.select());
11208
11208
  });
11209
11209
  }, be = (z) => {
11210
- if (ta(z, i.value, !0), r.value.enabled && r.value.openMenu && !s.value.input) {
11210
+ if (aa(z, i.value, !0), r.value.enabled && r.value.openMenu && !s.value.input) {
11211
11211
  if (r.value.openMenu === "open" && !l.isMenuOpen) return n("open");
11212
11212
  if (r.value.openMenu === "toggle") return n("toggle");
11213
11213
  } else r.value.enabled || n("toggle");
11214
11214
  }, I = () => {
11215
11215
  n("real-blur"), O.value = !1, (!l.isMenuOpen || s.value.enabled && s.value.input) && n("blur"), l.autoApply && r.value.enabled && M.value && !l.isMenuOpen && (n("set-input-date", M.value), n("select-date"), M.value = null);
11216
11216
  }, C = (z) => {
11217
- ta(z, i.value, !0), n("clear");
11217
+ aa(z, i.value, !0), n("clear");
11218
11218
  }, q = () => {
11219
11219
  n("close");
11220
11220
  }, P = (z) => {
@@ -11261,7 +11261,7 @@ const fm = ({
11261
11261
  ref: $,
11262
11262
  "data-test-id": "dp-input",
11263
11263
  name: z.name,
11264
- class: oe(w.value),
11264
+ class: oe(k.value),
11265
11265
  inputmode: d(r).enabled ? "text" : "none",
11266
11266
  placeholder: z.placeholder,
11267
11267
  disabled: z.disabled,
@@ -11374,7 +11374,7 @@ const fm = ({
11374
11374
  "text-input"
11375
11375
  ],
11376
11376
  setup(a, { expose: e, emit: t }) {
11377
- const n = t, l = a, r = Gt(), o = j(!1), s = Ce(l, "modelValue"), i = Ce(l, "timezone"), c = j(null), f = j(null), u = j(null), m = j(!1), v = j(null), x = j(!1), M = j(!1), $ = j(!1), O = j(!1), { setMenuFocused: T, setShiftKey: w } = Vo(), { clearArrowNav: F } = sa(), { validateDate: G, isValidTime: L } = ia(l), {
11377
+ const n = t, l = a, r = Kt(), o = j(!1), s = Ce(l, "modelValue"), i = Ce(l, "timezone"), c = j(null), f = j(null), u = j(null), m = j(!1), v = j(null), x = j(!1), M = j(!1), $ = j(!1), O = j(!1), { setMenuFocused: T, setShiftKey: k } = Vo(), { clearArrowNav: F } = sa(), { validateDate: G, isValidTime: L } = ia(l), {
11378
11378
  defaultedTransitions: Y,
11379
11379
  defaultedTextInput: R,
11380
11380
  defaultedInline: V,
@@ -11415,7 +11415,7 @@ const fm = ({
11415
11415
  emitModelValue: h,
11416
11416
  formatInputValue: ee,
11417
11417
  checkBeforeEmit: qe
11418
- } = sp(n, l, { isInputFocused: m, isTextInputDate: O }), X = k(
11418
+ } = sp(n, l, { isInputFocused: m, isTextInputDate: O }), X = w(
11419
11419
  () => ({
11420
11420
  dp__main: !0,
11421
11421
  dp__theme_dark: l.dark,
@@ -11424,10 +11424,10 @@ const fm = ({
11424
11424
  "dp--flex-display-collapsed": $.value,
11425
11425
  dp__flex_display_with_input: V.value.input
11426
11426
  })
11427
- ), Se = k(() => l.dark ? "dp__theme_dark" : "dp__theme_light"), se = k(() => l.teleport ? {
11427
+ ), Se = w(() => l.dark ? "dp__theme_dark" : "dp__theme_light"), se = w(() => l.teleport ? {
11428
11428
  to: typeof l.teleport == "boolean" ? "body" : l.teleport,
11429
11429
  disabled: !l.teleport || V.value.enabled
11430
- } : {}), fe = k(() => ({ class: "dp__outer_menu_wrap" })), y = k(() => V.value.enabled && (l.timePicker || l.monthPicker || l.yearPicker || l.quarterPicker)), ce = () => {
11430
+ } : {}), fe = w(() => ({ class: "dp__outer_menu_wrap" })), y = w(() => V.value.enabled && (l.timePicker || l.monthPicker || l.yearPicker || l.quarterPicker)), ce = () => {
11431
11431
  var ae, ge;
11432
11432
  return ((ge = (ae = u.value) == null ? void 0 : ae.$el) == null ? void 0 : ge.getBoundingClientRect()) ?? { width: 0, left: 0, right: 0 };
11433
11433
  }, pe = () => {
@@ -11441,7 +11441,7 @@ const fm = ({
11441
11441
  ae.key === "Tab" && !V.value.enabled && !l.teleport && W.value.tabOutClosesMenu && (v.value.contains(document.activeElement) || yt()), M.value = ae.shiftKey;
11442
11442
  }, Le = (ae) => {
11443
11443
  M.value = ae.shiftKey;
11444
- }, je = () => {
11444
+ }, Xe = () => {
11445
11445
  !l.disabled && !l.readonly && (E(q, xr, l), B(!1), o.value = !0, o.value && n("open"), o.value || $e(), g(l.modelValue));
11446
11446
  }, it = () => {
11447
11447
  var ae, ge;
@@ -11461,7 +11461,7 @@ const fm = ({
11461
11461
  R.value.enabled || (te.value = null);
11462
11462
  }, yt = (ae = !1) => {
11463
11463
  var ge, xe;
11464
- ae && te.value && W.value.setDateOnMenuClose && ie(), V.value.enabled || (o.value && (o.value = !1, z.value = !1, T(!1), w(!1), F(), n("closed"), U.value && g(s.value)), $e(), n("blur"), (xe = (ge = f.value) == null ? void 0 : ge.$el) == null || xe.remove());
11464
+ ae && te.value && W.value.setDateOnMenuClose && ie(), V.value.enabled || (o.value && (o.value = !1, z.value = !1, T(!1), k(!1), F(), n("closed"), U.value && g(s.value)), $e(), n("blur"), (xe = (ge = f.value) == null ? void 0 : ge.$el) == null || xe.remove());
11465
11465
  }, Rt = (ae, ge, xe = !1) => {
11466
11466
  if (!ae) {
11467
11467
  te.value = null;
@@ -11473,7 +11473,7 @@ const fm = ({
11473
11473
  })) : n("invalid-date", ae);
11474
11474
  }, qn = () => {
11475
11475
  l.autoApply && L(te.value) && h(), mt();
11476
- }, rn = () => o.value ? yt() : je(), Pn = (ae) => {
11476
+ }, rn = () => o.value ? yt() : Xe(), Pn = (ae) => {
11477
11477
  te.value = ae;
11478
11478
  }, Sn = () => {
11479
11479
  R.value.enabled && (m.value = !0, ee()), n("focus");
@@ -11502,7 +11502,7 @@ const fm = ({
11502
11502
  closeMenu: yt,
11503
11503
  selectDate: ie,
11504
11504
  clearValue: it,
11505
- openMenu: je,
11505
+ openMenu: Xe,
11506
11506
  onScroll: pe,
11507
11507
  formatInputValue: ee,
11508
11508
  // exposed for testing purposes
@@ -11529,7 +11529,7 @@ const fm = ({
11529
11529
  "is-menu-open": o.value
11530
11530
  }, ae.$props, {
11531
11531
  onClear: it,
11532
- onOpen: je,
11532
+ onOpen: Xe,
11533
11533
  onSetInputDate: Rt,
11534
11534
  onSetEmptyDate: d(h),
11535
11535
  onSelectDate: ie,
@@ -11547,7 +11547,7 @@ const fm = ({
11547
11547
  ])
11548
11548
  }))
11549
11549
  ]), 1040, ["input-value", "is-menu-open", "onSetEmptyDate"]),
11550
- (p(), ne(ra(ae.teleport ? Or : "div"), Oe(Qe(se.value)), {
11550
+ (p(), ne(Gt(ae.teleport ? Or : "div"), Oe(Qe(se.value)), {
11551
11551
  default: N(() => [
11552
11552
  ve(Ht, {
11553
11553
  name: d(be)(d(A)),
@@ -11624,7 +11624,7 @@ const fm = ({
11624
11624
  Object.entries(Am).forEach(([a, e]) => {
11625
11625
  a !== "default" && (Xl[a] = e);
11626
11626
  });
11627
- const dn = na({ dialogs: [] });
11627
+ const dn = la({ dialogs: [] });
11628
11628
  function Cm() {
11629
11629
  function a(t, n, l) {
11630
11630
  const r = ht(n).value;
@@ -11746,11 +11746,11 @@ class Bm {
11746
11746
  if (t == null) return e;
11747
11747
  const l = `v=${e},mr=${t},m=${n ? 1 : 0}`;
11748
11748
  if (this.memo.has(l)) return this.memo.get(l);
11749
- const { mask: r, escaped: o } = this.escapeMask(t), s = [], i = this.opts.tokens != null ? this.opts.tokens : {}, c = this.isReversed() ? -1 : 1, f = this.isReversed() ? "unshift" : "push", u = this.isReversed() ? 0 : r.length - 1, m = this.isReversed() ? () => $ > -1 && O > -1 : () => $ < r.length && O < e.length, v = (w) => !this.isReversed() && w <= u || this.isReversed() && w >= u;
11749
+ const { mask: r, escaped: o } = this.escapeMask(t), s = [], i = this.opts.tokens != null ? this.opts.tokens : {}, c = this.isReversed() ? -1 : 1, f = this.isReversed() ? "unshift" : "push", u = this.isReversed() ? 0 : r.length - 1, m = this.isReversed() ? () => $ > -1 && O > -1 : () => $ < r.length && O < e.length, v = (k) => !this.isReversed() && k <= u || this.isReversed() && k >= u;
11750
11750
  let x, M = -1, $ = this.isReversed() ? r.length - 1 : 0, O = this.isReversed() ? e.length - 1 : 0, T = !1;
11751
11751
  for (; m(); ) {
11752
- const w = r.charAt($), F = i[w], G = (F == null ? void 0 : F.transform) != null ? F.transform(e.charAt(O)) : e.charAt(O);
11753
- if (!o.includes($) && F != null ? (G.match(F.pattern) != null ? (s[f](G), F.repeated ? (M === -1 ? M = $ : $ === u && $ !== M && ($ = M - c), u === M && ($ -= c)) : F.multiple && (T = !0, $ -= c), $ += c) : F.multiple ? T && ($ += c, O -= c, T = !1) : G === x ? x = void 0 : F.optional && ($ += c, O -= c), O += c) : (n && !this.isEager() && s[f](w), G === w && !this.isEager() ? O += c : x = w, this.isEager() || ($ += c)), this.isEager())
11752
+ const k = r.charAt($), F = i[k], G = (F == null ? void 0 : F.transform) != null ? F.transform(e.charAt(O)) : e.charAt(O);
11753
+ if (!o.includes($) && F != null ? (G.match(F.pattern) != null ? (s[f](G), F.repeated ? (M === -1 ? M = $ : $ === u && $ !== M && ($ = M - c), u === M && ($ -= c)) : F.multiple && (T = !0, $ -= c), $ += c) : F.multiple ? T && ($ += c, O -= c, T = !1) : G === x ? x = void 0 : F.optional && ($ += c, O -= c), O += c) : (n && !this.isEager() && s[f](k), G === k && !this.isEager() ? O += c : x = k, this.isEager() || ($ += c)), this.isEager())
11754
11754
  for (; v($) && (i[r.charAt($)] == null || o.includes($)); ) {
11755
11755
  if (n) {
11756
11756
  if (s[f](r.charAt($)), e.charAt(O) === r.charAt($)) {
@@ -12223,13 +12223,13 @@ const Km = ["value", "placeholder", "disabled", "readonly", "required", "onInput
12223
12223
  }),
12224
12224
  emits: ["update:modelValue"],
12225
12225
  setup(a) {
12226
- const e = a, t = We(a, "modelValue"), n = k({
12226
+ const e = a, t = We(a, "modelValue"), n = w({
12227
12227
  get: () => t.value,
12228
12228
  set: (T) => t.value = T || void 0
12229
- }), l = k(() => f.value ? "format" : void 0), r = k(() => ({
12229
+ }), l = w(() => f.value ? "format" : void 0), r = w(() => ({
12230
12230
  closeOnAutoApply: e.closeOnSelect,
12231
12231
  tabOutClosesMenu: !0
12232
- })), o = Za(), s = k(() => o.current.value.mode === "dark"), i = k(() => Xm(e.format)), c = k(() => Gm(e.format)), f = k(() => zm(e.format)), u = k(() => jm(e.format)), m = k(() => O(e.minTime)), v = k(() => O(e.maxTime)), x = k(() => f.value ? e.icons.clock : e.icons.calendar), M = k(() => ({
12232
+ })), o = Za(), s = w(() => o.current.value.mode === "dark"), i = w(() => Xm(e.format)), c = w(() => Gm(e.format)), f = w(() => zm(e.format)), u = w(() => jm(e.format)), m = w(() => O(e.minTime)), v = w(() => O(e.maxTime)), x = w(() => f.value ? e.icons.clock : e.icons.calendar), M = w(() => ({
12233
12233
  mask: Wm(e.format),
12234
12234
  tokens: {
12235
12235
  // Default tokens
@@ -12261,14 +12261,14 @@ const Km = ["value", "placeholder", "disabled", "readonly", "required", "onInput
12261
12261
  Ym($, M);
12262
12262
  function O(T) {
12263
12263
  if (!T) return;
12264
- const w = T.split(":");
12264
+ const k = T.split(":");
12265
12265
  return {
12266
- hours: w[0],
12267
- minutes: w[1],
12268
- seconds: w[2]
12266
+ hours: k[0],
12267
+ minutes: k[1],
12268
+ seconds: k[2]
12269
12269
  };
12270
12270
  }
12271
- return (T, w) => (p(), ne(d(ga), {
12271
+ return (T, k) => (p(), ne(d(ga), {
12272
12272
  id: e.id,
12273
12273
  class: oe(["q-date-time-picker", e.class]),
12274
12274
  label: e.label,
@@ -12284,7 +12284,7 @@ const Km = ["value", "placeholder", "disabled", "readonly", "required", "onInput
12284
12284
  default: N(() => [
12285
12285
  ve(d(Xl), {
12286
12286
  modelValue: n.value,
12287
- "onUpdate:modelValue": w[0] || (w[0] = (F) => n.value = F),
12287
+ "onUpdate:modelValue": k[0] || (k[0] = (F) => n.value = F),
12288
12288
  "model-type": l.value,
12289
12289
  "min-time": m.value,
12290
12290
  "max-time": v.value,
@@ -12422,7 +12422,7 @@ const Km = ["value", "placeholder", "disabled", "readonly", "required", "onInput
12422
12422
  },
12423
12423
  emits: ["update:modelValue"],
12424
12424
  setup(a, { emit: e }) {
12425
- const t = a, n = e, l = j(""), r = j(""), o = k(() => ["q-dialog", t.class]), s = k(() => `q-overlay--${t.size}`);
12425
+ const t = a, n = e, l = j(""), r = j(""), o = w(() => ["q-dialog", t.class]), s = w(() => `q-overlay--${t.size}`);
12426
12426
  function i() {
12427
12427
  f(!1);
12428
12428
  }
@@ -12495,7 +12495,7 @@ const Km = ["value", "placeholder", "disabled", "readonly", "required", "onInput
12495
12495
  key: 0,
12496
12496
  icon: "exclamation-sign"
12497
12497
  })) : S("", !0),
12498
- Ge(" " + ke(r.value), 1)
12498
+ je(" " + ke(r.value), 1)
12499
12499
  ]),
12500
12500
  _: 1
12501
12501
  }, 8, ["modelValue", "invalid", "placeholder"])
@@ -12568,7 +12568,7 @@ const Km = ["value", "placeholder", "disabled", "readonly", "required", "onInput
12568
12568
  color: { default: "neutral" }
12569
12569
  },
12570
12570
  setup(a) {
12571
- const e = a, t = k(() => !!Gt().default), n = k(() => [
12571
+ const e = a, t = w(() => !!Kt().default), n = w(() => [
12572
12572
  "q-divider",
12573
12573
  `q-divider--${e.direction}`,
12574
12574
  {
@@ -12576,7 +12576,7 @@ const Km = ["value", "placeholder", "disabled", "readonly", "required", "onInput
12576
12576
  "q-divider--labeled": t.value
12577
12577
  },
12578
12578
  e.class
12579
- ]), { isUtilityColor: l, style: r } = Ut(Ce(e, "color")), o = k(() => {
12579
+ ]), { isUtilityColor: l, style: r } = Ut(Ce(e, "color")), o = w(() => {
12580
12580
  var i;
12581
12581
  const s = {};
12582
12582
  return e.thickness >= 0 && e.thickness !== 1 && (s["--q-divider-thickness"] = `${e.thickness}px`), e.color !== "neutral" && (s["--q-divider-color"] = l.value ? `var(--q-theme-${e.color})` : (i = r.value) == null ? void 0 : i.mainColor), s;
@@ -12631,7 +12631,7 @@ const Km = ["value", "placeholder", "disabled", "readonly", "required", "onInput
12631
12631
  }),
12632
12632
  emits: /* @__PURE__ */ Ve(["select", "open", "hide", "focus-previous"], ["update:modelValue", "update:highlighted"]),
12633
12633
  setup(a, { emit: e }) {
12634
- const t = a, n = e, l = We(a, "modelValue"), r = We(a, "highlighted"), o = j(void 0), s = j([]), i = k(() => t.depth !== 0 ? t.offset : 4), c = k(() => t.depth !== 0 ? t.crossOffset : void 0), f = xt("qListRef");
12634
+ const t = a, n = e, l = We(a, "modelValue"), r = We(a, "highlighted"), o = j(void 0), s = j([]), i = w(() => t.depth !== 0 ? t.offset : 4), c = w(() => t.depth !== 0 ? t.crossOffset : void 0), f = xt("qListRef");
12635
12635
  function u(L) {
12636
12636
  var V;
12637
12637
  const Y = (V = t.items) == null ? void 0 : V.find((W) => W[t.itemValue] === L);
@@ -12674,7 +12674,7 @@ const Km = ["value", "placeholder", "disabled", "readonly", "required", "onInput
12674
12674
  function T(L) {
12675
12675
  o.value = L;
12676
12676
  }
12677
- function w() {
12677
+ function k() {
12678
12678
  var R, V;
12679
12679
  const L = (R = t.items) == null ? void 0 : R.findIndex(
12680
12680
  (W) => W[t.itemValue] === o.value
@@ -12758,7 +12758,7 @@ const Km = ["value", "placeholder", "disabled", "readonly", "required", "onInput
12758
12758
  inline: "",
12759
12759
  onHide: O,
12760
12760
  onSelect: x,
12761
- onFocusPrevious: w
12761
+ onFocusPrevious: k
12762
12762
  }), {
12763
12763
  item: N((he) => [
12764
12764
  D(L.$slots, "item", Oe(Qe(he)))
@@ -12895,7 +12895,7 @@ function Cv(a, e = {}) {
12895
12895
  u.value = V.some(v), c++, c === 1 && (f.value = !0, n == null || n(R));
12896
12896
  }, T = (R) => {
12897
12897
  m.value && (R.preventDefault(), c--, c === 0 && (f.value = !1, u.value = !1, l == null || l(R)));
12898
- }, w = (R) => {
12898
+ }, k = (R) => {
12899
12899
  m.value && R.preventDefault();
12900
12900
  }, F = () => {
12901
12901
  m.value = !0;
@@ -12907,10 +12907,10 @@ function Cv(a, e = {}) {
12907
12907
  });
12908
12908
  const L = () => {
12909
12909
  const R = a.value;
12910
- R && (R.addEventListener("drop", $), R.addEventListener("dragenter", O), R.addEventListener("dragleave", T), R.addEventListener("dragover", w));
12910
+ R && (R.addEventListener("drop", $), R.addEventListener("dragenter", O), R.addEventListener("dragleave", T), R.addEventListener("dragover", k));
12911
12911
  }, Y = () => {
12912
12912
  const R = a.value;
12913
- R && (R.removeEventListener("drop", $), R.removeEventListener("dragenter", O), R.removeEventListener("dragleave", T), R.removeEventListener("dragover", w));
12913
+ R && (R.removeEventListener("drop", $), R.removeEventListener("dragenter", O), R.removeEventListener("dragleave", T), R.removeEventListener("dragover", k));
12914
12914
  };
12915
12915
  return Je(L), Mt(Y), {
12916
12916
  isOverDropZone: f,
@@ -12970,20 +12970,20 @@ const Pv = ["id", "accept", "required", "readonly", "disabled"], Sv = {
12970
12970
  }),
12971
12971
  emits: ["update:modelValue"],
12972
12972
  setup(a) {
12973
- const e = a, t = We(a, "modelValue"), n = ht(Ce(e, "id")), l = k(() => !e.readonly && !e.disabled), r = j(null);
12974
- De(t, (w) => {
12973
+ const e = a, t = We(a, "modelValue"), n = ht(Ce(e, "id")), l = w(() => !e.readonly && !e.disabled), r = j(null);
12974
+ De(t, (k) => {
12975
12975
  r.value && URL.revokeObjectURL(r.value);
12976
- const F = w && w.type.startsWith("image/");
12977
- r.value = F ? URL.createObjectURL(w) : null;
12976
+ const F = k && k.type.startsWith("image/");
12977
+ r.value = F ? URL.createObjectURL(k) : null;
12978
12978
  });
12979
12979
  const o = j(null);
12980
12980
  function s() {
12981
- var w;
12982
- (w = o.value) == null || w.click();
12981
+ var k;
12982
+ (k = o.value) == null || k.click();
12983
12983
  }
12984
- function i(w) {
12984
+ function i(k) {
12985
12985
  var G;
12986
- const F = w.target;
12986
+ const F = k.target;
12987
12987
  (G = F == null ? void 0 : F.files) != null && G[0] && (t.value = F.files[0]);
12988
12988
  }
12989
12989
  function c() {
@@ -12992,19 +12992,19 @@ const Pv = ["id", "accept", "required", "readonly", "disabled"], Sv = {
12992
12992
  function f() {
12993
12993
  t.value = void 0, o.value && (o.value.value = "");
12994
12994
  }
12995
- function u(w) {
12995
+ function u(k) {
12996
12996
  if (!l.value) return;
12997
- const F = w == null ? void 0 : w[0];
12997
+ const F = k == null ? void 0 : k[0];
12998
12998
  F && (t.value = F);
12999
12999
  }
13000
- const m = j(null), v = k(() => Array.isArray(e.accept) ? e.accept : e.accept ? e.accept.split(",").map((w) => w.trim()) : []), x = k(() => {
13001
- var w;
13002
- return (w = v.value) == null ? void 0 : w.join(",");
13003
- }), M = k(() => l.value && !t.value), { isOverDropZone: $, isValid: O } = Cv(m, {
13000
+ const m = j(null), v = w(() => Array.isArray(e.accept) ? e.accept : e.accept ? e.accept.split(",").map((k) => k.trim()) : []), x = w(() => {
13001
+ var k;
13002
+ return (k = v.value) == null ? void 0 : k.join(",");
13003
+ }), M = w(() => l.value && !t.value), { isOverDropZone: $, isValid: O } = Cv(m, {
13004
13004
  onDrop: u,
13005
13005
  accept: v,
13006
13006
  enabled: M
13007
- }), T = k(() => [
13007
+ }), T = w(() => [
13008
13008
  "q-field__control",
13009
13009
  "q-file-input",
13010
13010
  {
@@ -13012,7 +13012,7 @@ const Pv = ["id", "accept", "required", "readonly", "disabled"], Sv = {
13012
13012
  },
13013
13013
  e.class
13014
13014
  ]);
13015
- return (w, F) => (p(), ne(d(ga), {
13015
+ return (k, F) => (p(), ne(d(ga), {
13016
13016
  for: d(n),
13017
13017
  label: e.label,
13018
13018
  size: e.size,
@@ -13037,7 +13037,7 @@ const Pv = ["id", "accept", "required", "readonly", "disabled"], Sv = {
13037
13037
  required: e.required,
13038
13038
  readonly: e.readonly,
13039
13039
  disabled: e.disabled
13040
- }, w.$attrs, { onChange: i }), null, 16, Pv),
13040
+ }, k.$attrs, { onChange: i }), null, 16, Pv),
13041
13041
  !t.value && l.value ? (p(), b("div", Sv, [
13042
13042
  ve(d(ze), Oe(Qe(e.icons.upload)), null, 16),
13043
13043
  Z("span", null, ke(e.texts.dropHereOr), 1),
@@ -13085,16 +13085,16 @@ const Pv = ["id", "accept", "required", "readonly", "disabled"], Sv = {
13085
13085
  ])) : S("", !0)
13086
13086
  ])) : (p(), b("div", Yv, [
13087
13087
  ve(d(ze), Oe(Qe(e.icons.empty)), null, 16),
13088
- Ge(" " + ke(e.texts.empty), 1)
13088
+ je(" " + ke(e.texts.empty), 1)
13089
13089
  ]))
13090
13090
  ], 2)
13091
13091
  ]),
13092
13092
  _: 2
13093
13093
  }, [
13094
- w.$slots.extras ? {
13094
+ k.$slots.extras ? {
13095
13095
  name: "extras",
13096
13096
  fn: N(() => [
13097
- D(w.$slots, "extras")
13097
+ D(k.$slots, "extras")
13098
13098
  ]),
13099
13099
  key: "0"
13100
13100
  } : void 0
@@ -13111,7 +13111,7 @@ const Pv = ["id", "accept", "required", "readonly", "disabled"], Sv = {
13111
13111
  xxl: {}
13112
13112
  },
13113
13113
  setup(a) {
13114
- const e = a, t = k(() => [
13114
+ const e = a, t = w(() => [
13115
13115
  "q-col",
13116
13116
  n("", e.cols),
13117
13117
  n("sm", e.sm),
@@ -13126,10 +13126,10 @@ const Pv = ["id", "accept", "required", "readonly", "disabled"], Sv = {
13126
13126
  }
13127
13127
  return ya({
13128
13128
  QGroupBox: {
13129
- block: k(() => e.cols === "auto" ? void 0 : !0)
13129
+ block: w(() => e.cols === "auto" ? void 0 : !0)
13130
13130
  },
13131
13131
  QField: {
13132
- size: k(() => e.cols === "auto" ? void 0 : "block")
13132
+ size: w(() => e.cols === "auto" ? void 0 : "block")
13133
13133
  }
13134
13134
  }), (l, r) => (p(), b("div", {
13135
13135
  class: oe(t.value)
@@ -13143,7 +13143,7 @@ const Pv = ["id", "accept", "required", "readonly", "disabled"], Sv = {
13143
13143
  fluid: { type: Boolean }
13144
13144
  },
13145
13145
  setup(a) {
13146
- const e = a, t = k(() => ["q-container", { "q-container--fluid": e.fluid }]);
13146
+ const e = a, t = w(() => ["q-container", { "q-container--fluid": e.fluid }]);
13147
13147
  return (n, l) => (p(), b("div", {
13148
13148
  class: oe(t.value)
13149
13149
  }, [
@@ -13158,13 +13158,13 @@ const Pv = ["id", "accept", "required", "readonly", "disabled"], Sv = {
13158
13158
  align: { default: "stretch" }
13159
13159
  },
13160
13160
  setup(a) {
13161
- const e = a, t = k(() => [
13161
+ const e = a, t = w(() => [
13162
13162
  "q-row",
13163
13163
  {
13164
13164
  [`q-row--justify-${e.justify}`]: e.justify !== "start",
13165
13165
  [`q-row--align-${e.align}`]: e.align !== "stretch"
13166
13166
  }
13167
- ]), n = k(() => {
13167
+ ]), n = w(() => {
13168
13168
  const l = {};
13169
13169
  return e.gutter !== 16 && (l["--q-row-gutter"] = `${e.gutter}px`), l;
13170
13170
  });
@@ -13198,7 +13198,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
13198
13198
  block: { type: Boolean }
13199
13199
  },
13200
13200
  setup(a) {
13201
- const e = a, t = k(() => [
13201
+ const e = a, t = w(() => [
13202
13202
  "q-group-box",
13203
13203
  e.variant === "default" ? void 0 : `q-group-box--${e.variant}`,
13204
13204
  {
@@ -13293,7 +13293,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
13293
13293
  rounded: { type: Boolean }
13294
13294
  },
13295
13295
  setup(a) {
13296
- const e = a, t = k(() => {
13296
+ const e = a, t = w(() => {
13297
13297
  if (e.height !== void 0)
13298
13298
  return {
13299
13299
  // Clamp the height to a minimum of 4px and a maximum of 12px
@@ -13323,13 +13323,13 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
13323
13323
  }),
13324
13324
  emits: ["update:modelValue"],
13325
13325
  setup(a) {
13326
- const e = a, t = We(a, "modelValue"), n = k(() => t.value / e.max * 100), { style: l } = Ut(Ce(e, "color")), r = k(() => {
13326
+ const e = a, t = We(a, "modelValue"), n = w(() => t.value / e.max * 100), { style: l } = Ut(Ce(e, "color")), r = w(() => {
13327
13327
  var i;
13328
13328
  return {
13329
13329
  width: `${Math.max(0, Math.min(n.value, 100))}%`,
13330
13330
  backgroundColor: (i = l.value) == null ? void 0 : i.mainColor
13331
13331
  };
13332
- }), o = k(() => {
13332
+ }), o = w(() => {
13333
13333
  var s;
13334
13334
  return typeof e.valueLabel == "string" ? e.valueLabel : (s = e.valueLabel) == null ? void 0 : s.call(e, t.value, e.max);
13335
13335
  });
@@ -13415,7 +13415,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
13415
13415
  }),
13416
13416
  emits: ["update:modelValue"],
13417
13417
  setup(a) {
13418
- const e = a, t = We(a, "modelValue"), n = k(() => {
13418
+ const e = a, t = We(a, "modelValue"), n = w(() => {
13419
13419
  if (!e.levels.length) {
13420
13420
  console.warn("Levels array is empty.");
13421
13421
  return;
@@ -13489,17 +13489,17 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
13489
13489
  }),
13490
13490
  emits: ["update:modelValue", "update:masked"],
13491
13491
  setup(a) {
13492
- const e = a, t = We(a, "modelValue"), n = We(a, "masked"), l = j(null), r = j(!1), o = k(() => n.value ? "password" : "text"), s = k(() => {
13492
+ const e = a, t = We(a, "modelValue"), n = We(a, "masked"), l = j(null), r = j(!1), o = w(() => n.value ? "password" : "text"), s = w(() => {
13493
13493
  var v;
13494
13494
  return (v = e.rules) == null ? void 0 : v.reduce((x, M) => x + M.weight, 0);
13495
- }), i = k(() => c(t.value, e.rules));
13495
+ }), i = w(() => c(t.value, e.rules));
13496
13496
  function c(v, x) {
13497
13497
  if (!v || !x) return;
13498
13498
  let M = 0;
13499
13499
  const $ = [];
13500
13500
  return x.forEach((T) => {
13501
- const w = T.test instanceof RegExp ? T.test.test(v) : T.test(v);
13502
- w === !0 ? M += T.weight : typeof w == "string" && $.push(w);
13501
+ const k = T.test instanceof RegExp ? T.test.test(v) : T.test(v);
13502
+ k === !0 ? M += T.weight : typeof k == "string" && $.push(k);
13503
13503
  }), {
13504
13504
  score: s.value ? M / s.value : 0,
13505
13505
  messages: $
@@ -13602,7 +13602,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
13602
13602
  }), $h = we(kh), xh = { class: "q-popover__content" }, Th = {
13603
13603
  key: 0,
13604
13604
  class: "q-popover__header"
13605
- }, Mh = { class: "q-popover__title" }, Dh = ["innerHTML"], Ah = { key: 1 }, Ch = /* @__PURE__ */ ue({
13605
+ }, Mh = ["innerHTML"], Dh = { key: 1 }, Ah = /* @__PURE__ */ ue({
13606
13606
  inheritAttrs: !1,
13607
13607
  __name: "QPopover",
13608
13608
  props: /* @__PURE__ */ Ve({
@@ -13611,6 +13611,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
13611
13611
  anchor: {},
13612
13612
  text: {},
13613
13613
  title: {},
13614
+ headingLevel: { default: 2 },
13614
13615
  arrow: { type: Boolean, default: !0 },
13615
13616
  placement: { default: "right" },
13616
13617
  attach: { default: "body" },
@@ -13623,11 +13624,11 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
13623
13624
  }),
13624
13625
  emits: ["update:modelValue"],
13625
13626
  setup(a) {
13626
- const e = a, t = We(a, "modelValue");
13627
- return (n, l) => (p(), ne(d(oa), {
13627
+ const e = a, t = We(a, "modelValue"), n = w(() => e.headingLevel >= 1 && e.headingLevel <= 6 ? "h" + e.headingLevel : "div");
13628
+ return (l, r) => (p(), ne(d(oa), {
13628
13629
  id: e.id,
13629
13630
  modelValue: t.value,
13630
- "onUpdate:modelValue": l[0] || (l[0] = (r) => t.value = r),
13631
+ "onUpdate:modelValue": r[0] || (r[0] = (o) => t.value = o),
13631
13632
  class: oe(["q-popover", e.class]),
13632
13633
  trigger: "click",
13633
13634
  anchor: e.anchor,
@@ -13639,25 +13640,30 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
13639
13640
  }, {
13640
13641
  default: N(() => [
13641
13642
  Z("div", xh, [
13642
- e.title || n.$slots.header ? (p(), b("div", Th, [
13643
- n.$slots.header ? D(n.$slots, "header", { key: 0 }) : (p(), b(ye, { key: 1 }, [
13644
- D(n.$slots, "header.prepend"),
13645
- Z("h4", Mh, ke(e.title), 1),
13646
- D(n.$slots, "header.append")
13643
+ e.title || l.$slots.header ? (p(), b("div", Th, [
13644
+ l.$slots.header ? D(l.$slots, "header", { key: 0 }) : (p(), b(ye, { key: 1 }, [
13645
+ D(l.$slots, "header.prepend"),
13646
+ (p(), ne(Gt(n.value), { class: "q-popover__title" }, {
13647
+ default: N(() => [
13648
+ je(ke(e.title), 1)
13649
+ ]),
13650
+ _: 1
13651
+ })),
13652
+ D(l.$slots, "header.append")
13647
13653
  ], 64))
13648
13654
  ])) : S("", !0),
13649
- D(n.$slots, "default", {}, () => [
13655
+ D(l.$slots, "default", {}, () => [
13650
13656
  e.html ? (p(), b("span", {
13651
13657
  key: 0,
13652
13658
  innerHTML: e.text
13653
- }, null, 8, Dh)) : (p(), b("span", Ah, ke(e.text), 1))
13659
+ }, null, 8, Mh)) : (p(), b("span", Dh, ke(e.text), 1))
13654
13660
  ])
13655
13661
  ])
13656
13662
  ]),
13657
13663
  _: 3
13658
13664
  }, 8, ["id", "modelValue", "class", "anchor", "arrow", "attach", "inline", "disabled", "placement"]));
13659
13665
  }
13660
- }), qh = we(Ch), ls = {
13666
+ }), Ch = we(Ah), ls = {
13661
13667
  emptyMessage: "Select a field to view details."
13662
13668
  }, rs = {
13663
13669
  open: {
@@ -13666,7 +13672,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
13666
13672
  close: {
13667
13673
  icon: "plus-box"
13668
13674
  }
13669
- }, Ph = ["id"], Sh = { class: "q-property-list__table" }, Oh = /* @__PURE__ */ ue({
13675
+ }, qh = ["id"], Ph = { class: "q-property-list__table" }, Sh = /* @__PURE__ */ ue({
13670
13676
  __name: "QPropertyList",
13671
13677
  props: {
13672
13678
  id: {},
@@ -13683,9 +13689,9 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
13683
13689
  },
13684
13690
  emits: ["field-change", "select-field"],
13685
13691
  setup(a, { emit: e }) {
13686
- const t = a, n = e, l = j(t.groups.map(($) => $.id)), r = j(void 0), o = j(null), s = k(() => t.groups.length ? t.groups.filter(
13692
+ const t = a, n = e, l = j(t.groups.map(($) => $.id)), r = j(void 0), o = j(null), s = w(() => t.groups.length ? t.groups.filter(
13687
13693
  ($) => t.fields.some((O) => O.group === $.id)
13688
- ) : [{ id: "", title: "" }]), i = k(() => [
13694
+ ) : [{ id: "", title: "" }]), i = w(() => [
13689
13695
  "q-property-list",
13690
13696
  {
13691
13697
  "q-property-list--side-panel": t.panelPosition === "right",
@@ -13738,7 +13744,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
13738
13744
  class: oe(i.value),
13739
13745
  onFocusout: c
13740
13746
  }, [
13741
- Z("table", Sh, [
13747
+ Z("table", Ph, [
13742
13748
  O[0] || (O[0] = Z("thead", { class: "q-property-list__header" }, [
13743
13749
  Z("tr", null, [
13744
13750
  Z("th", { colspan: "2" })
@@ -13756,17 +13762,17 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
13756
13762
  "no-toggle": t.noToggle,
13757
13763
  onClick: () => u(T.id)
13758
13764
  }, null, 8, ["data-key", "title", "icons", "no-toggle", "onClick"])) : S("", !0),
13759
- T.id === "" || l.value.includes(T.id) ? (p(!0), b(ye, { key: 1 }, Re(f(T.id), (w) => (p(), ne(d(os), {
13760
- key: w.id,
13761
- class: oe(m(w)),
13762
- field: w,
13763
- "model-value": w.props.modelValue,
13765
+ T.id === "" || l.value.includes(T.id) ? (p(!0), b(ye, { key: 1 }, Re(f(T.id), (k) => (p(), ne(d(os), {
13766
+ key: k.id,
13767
+ class: oe(m(k)),
13768
+ field: k,
13769
+ "model-value": k.props.modelValue,
13764
13770
  readonly: t.readonly,
13765
13771
  onFocus: v,
13766
- onFieldChange: (F) => x(w, F)
13772
+ onFieldChange: (F) => x(k, F)
13767
13773
  }, {
13768
13774
  default: N(() => [
13769
- D($.$slots, w.id, { field: w })
13775
+ D($.$slots, k.id, { field: k })
13770
13776
  ]),
13771
13777
  _: 2
13772
13778
  }, 1032, ["class", "field", "model-value", "readonly", "onFieldChange"]))), 128)) : S("", !0)
@@ -13786,12 +13792,12 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
13786
13792
  ]),
13787
13793
  _: 3
13788
13794
  }, 8, ["field", "texts"]))
13789
- ], 42, Ph));
13795
+ ], 42, qh));
13790
13796
  }
13791
- }), Lh = ["id", "data-group"], Ih = {
13797
+ }), Oh = ["id", "data-group"], Lh = {
13792
13798
  key: 0,
13793
13799
  class: "q-property-list-field__container"
13794
- }, Bh = /* @__PURE__ */ ue({
13800
+ }, Ih = /* @__PURE__ */ ue({
13795
13801
  __name: "QPropertyListRow",
13796
13802
  props: /* @__PURE__ */ Ve({
13797
13803
  id: {},
@@ -13805,10 +13811,10 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
13805
13811
  }),
13806
13812
  emits: /* @__PURE__ */ Ve(["focus", "field-change"], ["update:modelValue"]),
13807
13813
  setup(a, { emit: e }) {
13808
- const t = a, n = e, l = We(a, "modelValue"), r = k(() => ["q-property-list__row", t.class]), o = k(() => ["q-property-list__cell", "q-property-list__cell-label"]), s = k(() => t.readonly || (t.field.props.readonly ?? !1)), i = k(() => {
13814
+ const t = a, n = e, l = We(a, "modelValue"), r = w(() => ["q-property-list__row", t.class]), o = w(() => ["q-property-list__cell", "q-property-list__cell-label"]), s = w(() => t.readonly || (t.field.props.readonly ?? !1)), i = w(() => {
13809
13815
  var v;
13810
13816
  return t.required || !!((v = t.field.props) != null && v.required);
13811
- }), c = ht(Ce(t, "id")), f = k(() => ({
13817
+ }), c = ht(Ce(t, "id")), f = w(() => ({
13812
13818
  id: c.value,
13813
13819
  ...t.field.props,
13814
13820
  readonly: s.value,
@@ -13843,8 +13849,8 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
13843
13849
  onClick: at(u, ["prevent", "stop"])
13844
13850
  }, [
13845
13851
  D(v.$slots, "default", {}, () => [
13846
- t.field.component ? (p(), b("div", Ih, [
13847
- (p(), ne(ra(t.field.component), Te(f.value, {
13852
+ t.field.component ? (p(), b("div", Lh, [
13853
+ (p(), ne(Gt(t.field.component), Te(f.value, {
13848
13854
  modelValue: l.value,
13849
13855
  "onUpdate:modelValue": [
13850
13856
  x[1] || (x[1] = (M) => l.value = M),
@@ -13854,9 +13860,9 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
13854
13860
  ])) : S("", !0)
13855
13861
  ])
13856
13862
  ])
13857
- ], 42, Lh));
13863
+ ], 42, Oh));
13858
13864
  }
13859
- }), Rh = ["id", "aria-labelledby"], Eh = ["id"], Vh = { class: "q-property-list-group__content" }, Fh = /* @__PURE__ */ ue({
13865
+ }), Bh = ["id", "aria-labelledby"], Rh = ["id"], Eh = { class: "q-property-list-group__content" }, Vh = /* @__PURE__ */ ue({
13860
13866
  __name: "QPropertyListGroup",
13861
13867
  props: {
13862
13868
  id: {},
@@ -13868,7 +13874,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
13868
13874
  },
13869
13875
  emits: ["click"],
13870
13876
  setup(a, { emit: e }) {
13871
- const t = a, n = e, l = j(!0), r = ht(), o = k(() => l.value ? t.icons.open : t.icons.close), s = k(() => [
13877
+ const t = a, n = e, l = j(!0), r = ht(), o = w(() => l.value ? t.icons.open : t.icons.close), s = w(() => [
13872
13878
  "q-property-list-group",
13873
13879
  {
13874
13880
  "q-property-list-group--no-toggle": t.noToggle
@@ -13889,7 +13895,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
13889
13895
  id: d(r),
13890
13896
  colspan: "2"
13891
13897
  }, [
13892
- Z("div", Vh, [
13898
+ Z("div", Eh, [
13893
13899
  t.noToggle ? S("", !0) : (p(), ne(d(bt), {
13894
13900
  key: 0,
13895
13901
  variant: "text",
@@ -13900,15 +13906,15 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
13900
13906
  ]),
13901
13907
  _: 1
13902
13908
  })),
13903
- Ge(" " + ke(t.title), 1)
13909
+ je(" " + ke(t.title), 1)
13904
13910
  ])
13905
- ], 8, Eh)
13906
- ], 10, Rh));
13911
+ ], 8, Rh)
13912
+ ], 10, Bh));
13907
13913
  }
13908
- }), Yh = ["id"], zh = { class: "q-property-list-panel__label" }, Nh = { class: "q-property-list-panel__description" }, Qh = {
13914
+ }), Fh = ["id"], Yh = { class: "q-property-list-panel__label" }, zh = { class: "q-property-list-panel__description" }, Nh = {
13909
13915
  key: 1,
13910
13916
  class: "q-property-list-panel__empty"
13911
- }, Wh = /* @__PURE__ */ ue({
13917
+ }, Qh = /* @__PURE__ */ ue({
13912
13918
  __name: "QPropertyListPanel",
13913
13919
  props: {
13914
13920
  id: {},
@@ -13924,12 +13930,12 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
13924
13930
  class: oe(["q-property-list-panel", e.class])
13925
13931
  }, [
13926
13932
  e.field ? D(t.$slots, "default", { key: 0 }, () => [
13927
- Z("div", zh, ke(e.field.label), 1),
13928
- Z("div", Nh, ke(e.field.description), 1)
13929
- ]) : (p(), b("div", Qh, ke(e.texts.emptyMessage), 1))
13930
- ], 10, Yh));
13933
+ Z("div", Yh, ke(e.field.label), 1),
13934
+ Z("div", zh, ke(e.field.description), 1)
13935
+ ]) : (p(), b("div", Nh, ke(e.texts.emptyMessage), 1))
13936
+ ], 10, Fh));
13931
13937
  }
13932
- }), Hh = we(Oh), os = we(Bh), ss = we(Fh), is = we(Wh), Uh = ["id", "checked", "name", "value", "disabled", "readonly"], jh = /* @__PURE__ */ ue({
13938
+ }), Wh = we(Sh), os = we(Ih), ss = we(Vh), is = we(Qh), Hh = ["id", "checked", "name", "value", "disabled", "readonly"], Uh = /* @__PURE__ */ ue({
13933
13939
  inheritAttrs: !1,
13934
13940
  __name: "QRadioButton",
13935
13941
  props: {
@@ -13951,7 +13957,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
13951
13957
  const e = a, t = ht(Ce(e, "id")), n = xt("inputEl"), l = kn(e.value);
13952
13958
  if (!l)
13953
13959
  throw new Error("QRadioButton must be used inside a QRadioGroup");
13954
- const r = k(() => e.labelPlacement === "start" ? "append" : "prepend"), o = k(() => {
13960
+ const r = w(() => e.labelPlacement === "start" ? "append" : "prepend"), o = w(() => {
13955
13961
  const u = e.size !== "regular" ? `q-radio-button--${e.size}` : void 0, m = e.color !== "primary" ? `q-radio-button--${e.color}` : void 0;
13956
13962
  return [
13957
13963
  "q-radio-button",
@@ -14002,7 +14008,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14002
14008
  (...v) => d(l).toggle && d(l).toggle(...v)),
14003
14009
  onClick: at(i, ["stop"]),
14004
14010
  onKeydown: s
14005
- }), null, 16, Uh),
14011
+ }), null, 16, Hh),
14006
14012
  e.labelPlacement === "end" ? D(u.$slots, "default", { key: 0 }) : S("", !0)
14007
14013
  ]),
14008
14014
  _: 2
@@ -14016,10 +14022,10 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14016
14022
  } : void 0
14017
14023
  ]), 1032, ["for", "class", "label", "tabindex"]));
14018
14024
  }
14019
- }), Xh = ["id"], Gh = {
14025
+ }), jh = ["id"], Xh = {
14020
14026
  key: 1,
14021
14027
  class: "q-field__extras"
14022
- }, Kh = /* @__PURE__ */ ue({
14028
+ }, Gh = /* @__PURE__ */ ue({
14023
14029
  inheritAttrs: !1,
14024
14030
  __name: "QRadioGroup",
14025
14031
  props: /* @__PURE__ */ Ve({
@@ -14046,14 +14052,14 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14046
14052
  De(n, (i) => {
14047
14053
  t.value = i;
14048
14054
  });
14049
- const l = ht(Ce(e, "id")), r = ht(Ce(e, "name")), o = k(() => [
14055
+ const l = ht(Ce(e, "id")), r = ht(Ce(e, "name")), o = w(() => [
14050
14056
  "q-radio-group",
14051
14057
  {
14052
14058
  "q-radio-group--horizontal": e.orientation === "horizontal",
14053
14059
  "q-radio-group--focus-style": e.hasFocusOutline
14054
14060
  },
14055
14061
  e.class
14056
- ]), s = k(() => e.columns > 1 ? {
14062
+ ]), s = w(() => e.columns > 1 ? {
14057
14063
  "--q-radio-group-columns": e.columns
14058
14064
  } : {
14059
14065
  undefined: void 0
@@ -14082,34 +14088,34 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14082
14088
  style: s.value
14083
14089
  }, i.$attrs), [
14084
14090
  D(i.$slots, "default")
14085
- ], 16, Xh),
14086
- i.$slots.extras ? (p(), b("div", Gh, [
14091
+ ], 16, jh),
14092
+ i.$slots.extras ? (p(), b("div", Xh, [
14087
14093
  D(i.$slots, "extras")
14088
14094
  ])) : S("", !0)
14089
14095
  ], 2));
14090
14096
  }
14091
- }), Zh = we(jh), Jh = we(Kh), ey = {
14097
+ }), Kh = we(Uh), Zh = we(Gh), Jh = {
14092
14098
  ...Ja,
14093
14099
  ...Ur,
14094
14100
  placeholder: "Choose...",
14095
14101
  showOptions: "Show options"
14096
- }, ty = {
14102
+ }, ey = {
14097
14103
  ...$n,
14098
14104
  ...Cl
14099
- }, ay = {
14105
+ }, ty = {
14100
14106
  key: 0,
14101
14107
  ref: "badgesContainer",
14102
14108
  class: "q-select__badge-container"
14103
- }, ny = {
14109
+ }, ay = {
14104
14110
  key: 1,
14105
14111
  class: "q-select__value"
14106
- }, ly = {
14112
+ }, ny = {
14107
14113
  key: 1,
14108
14114
  class: "q-select__placeholder"
14109
- }, ry = ["id", "tabindex", "aria-expanded", "aria-keyshortcuts"], oy = ["data-key"], sy = {
14115
+ }, ly = ["id", "tabindex", "aria-expanded", "aria-keyshortcuts"], ry = ["data-key"], oy = {
14110
14116
  key: 0,
14111
14117
  class: "q-select__loader"
14112
- }, iy = /* @__PURE__ */ ue({
14118
+ }, sy = /* @__PURE__ */ ue({
14113
14119
  inheritAttrs: !1,
14114
14120
  __name: "QSelect",
14115
14121
  props: /* @__PURE__ */ Ve({
@@ -14132,8 +14138,8 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14132
14138
  emptyValue: {},
14133
14139
  itemValue: { default: "key" },
14134
14140
  itemLabel: { default: "label" },
14135
- icons: { default: () => ty },
14136
- texts: { default: () => ey }
14141
+ icons: { default: () => ey },
14142
+ texts: { default: () => Jh }
14137
14143
  }, {
14138
14144
  modelValue: {},
14139
14145
  modelModifiers: {}
@@ -14146,24 +14152,24 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14146
14152
  multiple: Ce(t, "multiple")
14147
14153
  }), s = j(!1), i = j(0), c = xt("trigger"), f = xt("input"), u = xt("list"), m = xt("content"), v = xt("badgesContainer"), x = xt("allBadges");
14148
14154
  Je(J);
14149
- const M = k(() => $.value.length === 0), $ = k(() => {
14155
+ const M = w(() => $.value.length === 0), $ = w(() => {
14150
14156
  var K;
14151
14157
  if (t.multiple)
14152
14158
  return ((K = l.value) == null ? void 0 : K.map((z) => F(z))) ?? [];
14153
14159
  const A = typeof l.value < "u" ? F(l.value) : void 0;
14154
14160
  return A ? [A] : [];
14155
- }), O = k(() => {
14161
+ }), O = w(() => {
14156
14162
  var K;
14157
14163
  const A = /* @__PURE__ */ new Map();
14158
14164
  return (K = t.items) == null || K.forEach((z, B) => {
14159
14165
  A.set(z.key, B);
14160
14166
  }), A;
14161
- }), T = k(
14167
+ }), T = w(
14162
14168
  () => {
14163
14169
  var A;
14164
14170
  return (A = $.value) == null ? void 0 : A.map((K) => K[t.itemLabel]).join(", ");
14165
14171
  }
14166
- ), w = k(
14172
+ ), k = w(
14167
14173
  () => t.clearable && !t.readonly && !t.disabled && !t.loading && !M.value
14168
14174
  );
14169
14175
  function F(A) {
@@ -14193,7 +14199,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14193
14199
  t.readonly || t.disabled || (s.value ? W() : V());
14194
14200
  }
14195
14201
  function he(A) {
14196
- !A.key || t.readonly || t.disabled || (["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End", "Delete"].includes(A.key) && (A.preventDefault(), A.stopPropagation()), ["Enter", " ", "ArrowDown"].includes(A.key) && V(), ["Escape", "Tab"].includes(A.key) && (s.value ? W() : w.value && A.key === "Escape" && Y()), w.value && A.key === "Delete" && Y());
14202
+ !A.key || t.readonly || t.disabled || (["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End", "Delete"].includes(A.key) && (A.preventDefault(), A.stopPropagation()), ["Enter", " ", "ArrowDown"].includes(A.key) && V(), ["Escape", "Tab"].includes(A.key) && (s.value ? W() : k.value && A.key === "Escape" && Y()), k.value && A.key === "Delete" && Y());
14197
14203
  }
14198
14204
  function be(A) {
14199
14205
  A.key.length === 1 && A.preventDefault(), he(A);
@@ -14257,7 +14263,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14257
14263
  }, He({
14258
14264
  append: N(() => [
14259
14265
  D(A.$slots, "append"),
14260
- w.value ? (p(), ne(d(xn), {
14266
+ k.value ? (p(), ne(d(xn), {
14261
14267
  key: 0,
14262
14268
  icons: t.icons,
14263
14269
  texts: t.texts,
@@ -14284,12 +14290,12 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14284
14290
  }, 8, ["aria-label", "disabled"]))
14285
14291
  ]),
14286
14292
  default: N(() => [
14287
- M.value ? (p(), b("span", ly, [
14293
+ M.value ? (p(), b("span", ny, [
14288
14294
  !t.readonly && !t.disabled ? (p(), b(ye, { key: 0 }, [
14289
- Ge(ke(t.texts.placeholder), 1)
14295
+ je(ke(t.texts.placeholder), 1)
14290
14296
  ], 64)) : S("", !0)
14291
14297
  ])) : (p(), b(ye, { key: 0 }, [
14292
- t.badges ? (p(), b("span", ay, [
14298
+ t.badges ? (p(), b("span", ty, [
14293
14299
  t.multiple ? (p(), b(ye, { key: 0 }, [
14294
14300
  (p(!0), b(ye, null, Re(l.value, (B, _) => (p(), b(ye, { key: _ }, [
14295
14301
  _ < l.value.length - i.value ? (p(), ne(d(Ta), {
@@ -14307,7 +14313,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14307
14313
  key: 0,
14308
14314
  ref_for: !0
14309
14315
  }, $.value[_].icon), null, 16)) : S("", !0),
14310
- Ge(" " + ke((U = $.value[_]) == null ? void 0 : U[t.itemLabel]), 1)
14316
+ je(" " + ke((U = $.value[_]) == null ? void 0 : U[t.itemLabel]), 1)
14311
14317
  ];
14312
14318
  }),
14313
14319
  _: 2
@@ -14320,7 +14326,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14320
14326
  disabled: t.readonly || t.disabled
14321
14327
  }, {
14322
14328
  default: N(() => [
14323
- Ge(" +" + ke(i.value), 1)
14329
+ je(" +" + ke(i.value), 1)
14324
14330
  ]),
14325
14331
  _: 1
14326
14332
  }, 8, ["disabled"])) : S("", !0),
@@ -14340,7 +14346,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14340
14346
  key: 0,
14341
14347
  ref_for: !0
14342
14348
  }, $.value[_].icon), null, 16)) : S("", !0),
14343
- Ge(" " + ke((U = $.value[_]) == null ? void 0 : U[t.itemLabel]), 1)
14349
+ je(" " + ke((U = $.value[_]) == null ? void 0 : U[t.itemLabel]), 1)
14344
14350
  ];
14345
14351
  }),
14346
14352
  _: 2
@@ -14357,12 +14363,12 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14357
14363
  var B, _;
14358
14364
  return [
14359
14365
  (B = $.value[0]) != null && B.icon ? (p(), ne(d(ze), Oe(Te({ key: 0 }, $.value[0].icon)), null, 16)) : S("", !0),
14360
- Ge(" " + ke((_ = $.value[0]) == null ? void 0 : _[t.itemLabel]), 1)
14366
+ je(" " + ke((_ = $.value[0]) == null ? void 0 : _[t.itemLabel]), 1)
14361
14367
  ];
14362
14368
  }),
14363
14369
  _: 1
14364
14370
  }, 8, ["disabled", "removable", "texts"]))
14365
- ], 512)) : (p(), b("span", ny, ke(T.value), 1))
14371
+ ], 512)) : (p(), b("span", ay, ke(T.value), 1))
14366
14372
  ], 64)),
14367
14373
  Wt(Z("input", Te({
14368
14374
  id: `${d(r)}_input`,
@@ -14377,9 +14383,9 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14377
14383
  role: "combobox",
14378
14384
  "aria-expanded": s.value,
14379
14385
  "aria-haspopup": "listbox",
14380
- "aria-keyshortcuts": w.value ? "Delete" : void 0,
14386
+ "aria-keyshortcuts": k.value ? "Delete" : void 0,
14381
14387
  onKeydown: be
14382
- }), null, 16, ry), [
14388
+ }), null, 16, ly), [
14383
14389
  [yl, T.value]
14384
14390
  ])
14385
14391
  ]),
@@ -14426,7 +14432,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14426
14432
  onKeydown: at(he, ["stop"])
14427
14433
  }, [
14428
14434
  D(A.$slots, "body.prepend"),
14429
- t.loading ? (p(), b("div", sy, [
14435
+ t.loading ? (p(), b("div", oy, [
14430
14436
  ve(d(Ga), { size: 24 })
14431
14437
  ])) : (p(), ne(d(Tn), {
14432
14438
  key: 1,
@@ -14448,14 +14454,14 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14448
14454
  _: 3
14449
14455
  }, 8, ["required", "multiple", "model-value", "items", "groups", "item-label", "item-value"])),
14450
14456
  D(A.$slots, "body.append")
14451
- ], 40, oy)
14457
+ ], 40, ry)
14452
14458
  ]),
14453
14459
  _: 3
14454
14460
  }, 8, ["modelValue", "inline", "anchor"])
14455
14461
  ], 64);
14456
14462
  };
14457
14463
  }
14458
- }), uy = we(iy), dy = /* @__PURE__ */ ue({
14464
+ }), iy = we(sy), uy = /* @__PURE__ */ ue({
14459
14465
  __name: "QToggle",
14460
14466
  props: /* @__PURE__ */ Ve({
14461
14467
  id: {},
@@ -14477,7 +14483,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14477
14483
  }),
14478
14484
  emits: ["update:modelValue"],
14479
14485
  setup(a) {
14480
- const e = a, t = We(a, "modelValue"), n = k(() => ["q-toggle", { "q-toggle--active": t.value }]);
14486
+ const e = a, t = We(a, "modelValue"), n = w(() => ["q-toggle", { "q-toggle--active": t.value }]);
14481
14487
  function l() {
14482
14488
  t.value = !t.value;
14483
14489
  }
@@ -14491,7 +14497,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14491
14497
  _: 3
14492
14498
  }, 16, ["class", "aria-pressed"]));
14493
14499
  }
14494
- }), Kl = we(dy), cy = { class: "q-sidebar__items" }, fy = /* @__PURE__ */ ue({
14500
+ }), Kl = we(uy), dy = { class: "q-sidebar__items" }, cy = /* @__PURE__ */ ue({
14495
14501
  __name: "QSidebarAnchor",
14496
14502
  props: /* @__PURE__ */ Ve({
14497
14503
  panels: {},
@@ -14539,7 +14545,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14539
14545
  class: "q-sidebar-anchor",
14540
14546
  style: Ne({ width: t.anchorWidth + "px" })
14541
14547
  }, [
14542
- Z("div", cy, [
14548
+ Z("div", dy, [
14543
14549
  Z("div", {
14544
14550
  class: "q-sidebar__indicator",
14545
14551
  style: Ne(r.value)
@@ -14570,19 +14576,19 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14570
14576
  ])
14571
14577
  ], 4));
14572
14578
  }
14573
- }), py = {
14579
+ }), fy = {
14574
14580
  ref: "panel",
14575
14581
  class: "q-sidebar-panel"
14576
- }, my = { class: "q-sidebar-panel__header" }, vy = {
14582
+ }, py = { class: "q-sidebar-panel__header" }, my = {
14577
14583
  key: 0,
14578
14584
  class: "q-sidebar-panel__title"
14579
- }, hy = { class: "q-sidebar-panel__content" }, yy = {
14585
+ }, vy = { class: "q-sidebar-panel__content" }, hy = {
14580
14586
  key: 0,
14581
14587
  class: "q-sidebar-panel__footer"
14582
- }, gy = {
14588
+ }, yy = {
14583
14589
  key: 0,
14584
14590
  class: "q-sidebar-panel__grip"
14585
- }, by = /* @__PURE__ */ ue({
14591
+ }, gy = /* @__PURE__ */ ue({
14586
14592
  __name: "QSidebarPanel",
14587
14593
  props: {
14588
14594
  title: {},
@@ -14612,18 +14618,18 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14612
14618
  function u() {
14613
14619
  t.resizable && (document.removeEventListener("mousemove", c), document.removeEventListener("mouseup", f), document.body.style.userSelect = "");
14614
14620
  }
14615
- return Mt(u), (m, v) => (p(), b("div", py, [
14616
- Z("div", my, [
14621
+ return Mt(u), (m, v) => (p(), b("div", fy, [
14622
+ Z("div", py, [
14617
14623
  D(m.$slots, "header", {}, () => [
14618
14624
  D(m.$slots, "header.prepend"),
14619
- t.title ? (p(), b("h3", vy, ke(t.title), 1)) : S("", !0),
14625
+ t.title ? (p(), b("h3", my, ke(t.title), 1)) : S("", !0),
14620
14626
  D(m.$slots, "header.append")
14621
14627
  ])
14622
14628
  ]),
14623
- Z("div", hy, [
14629
+ Z("div", vy, [
14624
14630
  D(m.$slots, "content")
14625
14631
  ]),
14626
- m.$slots.footer ? (p(), b("div", yy, [
14632
+ m.$slots.footer ? (p(), b("div", hy, [
14627
14633
  D(m.$slots, "footer")
14628
14634
  ])) : S("", !0),
14629
14635
  m.resizable ? (p(), b("div", {
@@ -14632,11 +14638,11 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14632
14638
  "data-testid": "q-sidebar-panel-handle",
14633
14639
  onMousedown: i
14634
14640
  }, [
14635
- m.showGrip ? (p(), b("div", gy)) : S("", !0)
14641
+ m.showGrip ? (p(), b("div", yy)) : S("", !0)
14636
14642
  ], 34)) : S("", !0)
14637
14643
  ], 512));
14638
14644
  }
14639
- }), _y = /* @__PURE__ */ ue({
14645
+ }), by = /* @__PURE__ */ ue({
14640
14646
  __name: "QSidebar",
14641
14647
  props: /* @__PURE__ */ Ve({
14642
14648
  panels: {},
@@ -14657,25 +14663,25 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14657
14663
  },
14658
14664
  { immediate: !0 }
14659
14665
  );
14660
- const o = k(() => {
14666
+ const o = w(() => {
14661
14667
  var T;
14662
- return (T = t.panels) == null ? void 0 : T.find((w) => w.id === r.value);
14663
- }), s = k(() => !!o.value), i = j(), c = k(() => {
14668
+ return (T = t.panels) == null ? void 0 : T.find((k) => k.id === r.value);
14669
+ }), s = w(() => !!o.value), i = j(), c = w(() => {
14664
14670
  if (i.value !== void 0)
14665
14671
  return s.value ? typeof i.value == "number" ? `${t.anchorWidth + i.value}px` : `calc(${t.anchorWidth}px + ${i.value})` : `${t.anchorWidth}px`;
14666
- }), f = k(() => {
14667
- var T, w, F, G, L, Y, R;
14672
+ }), f = w(() => {
14673
+ var T, k, F, G, L, Y, R;
14668
14674
  return [
14669
14675
  "q-sidebar",
14670
14676
  `q-sidebar--${((T = o.value) == null ? void 0 : T.initialWidth) ?? "small"}`,
14671
14677
  `q-sidebar--${t.position}`,
14672
14678
  {
14673
14679
  "q-sidebar--expanded": s.value,
14674
- [`q-sidebar--min-${(w = o.value) == null ? void 0 : w.minWidth}`]: ((F = o.value) == null ? void 0 : F.resizable) && ((G = o.value) == null ? void 0 : G.minWidth) !== void 0,
14680
+ [`q-sidebar--min-${(k = o.value) == null ? void 0 : k.minWidth}`]: ((F = o.value) == null ? void 0 : F.resizable) && ((G = o.value) == null ? void 0 : G.minWidth) !== void 0,
14675
14681
  [`q-sidebar--max-${(L = o.value) == null ? void 0 : L.maxWidth}`]: ((Y = o.value) == null ? void 0 : Y.resizable) && ((R = o.value) == null ? void 0 : R.maxWidth) !== void 0
14676
14682
  }
14677
14683
  ];
14678
- }), u = k(() => t.position === "left" ? "right" : "left");
14684
+ }), u = w(() => t.position === "left" ? "right" : "left");
14679
14685
  function m() {
14680
14686
  n("resize:start");
14681
14687
  }
@@ -14692,17 +14698,17 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14692
14698
  l.value || (r.value = void 0);
14693
14699
  }
14694
14700
  function O() {
14695
- var w;
14696
- const T = (w = o.value) == null ? void 0 : w.initialWidth;
14701
+ var k;
14702
+ const T = (k = o.value) == null ? void 0 : k.initialWidth;
14697
14703
  typeof T == "number" ? i.value = T : i.value = void 0;
14698
14704
  }
14699
- return De([() => t.anchorWidth, o], O, { immediate: !0, deep: !0 }), (T, w) => (p(), b("div", {
14705
+ return De([() => t.anchorWidth, o], O, { immediate: !0, deep: !0 }), (T, k) => (p(), b("div", {
14700
14706
  class: oe(f.value),
14701
14707
  style: Ne({ width: c.value })
14702
14708
  }, [
14703
- ve(fy, {
14709
+ ve(cy, {
14704
14710
  modelValue: l.value,
14705
- "onUpdate:modelValue": w[0] || (w[0] = (F) => l.value = F),
14711
+ "onUpdate:modelValue": k[0] || (k[0] = (F) => l.value = F),
14706
14712
  panels: t.panels,
14707
14713
  "anchor-width": t.anchorWidth,
14708
14714
  "show-labels": t.showLabels,
@@ -14720,7 +14726,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14720
14726
  onAfterLeave: $
14721
14727
  }, {
14722
14728
  default: N(() => [
14723
- l.value && o.value ? (p(), ne(by, {
14729
+ l.value && o.value ? (p(), ne(gy, {
14724
14730
  key: 0,
14725
14731
  "show-grip": "",
14726
14732
  title: o.value.title,
@@ -14774,13 +14780,13 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14774
14780
  }, 8, ["name"])
14775
14781
  ], 6));
14776
14782
  }
14777
- }), wy = we(_y), ky = ["id", "aria-checked", "disabled"], $y = { class: "q-switch__labels" }, xy = {
14783
+ }), _y = we(by), wy = ["id", "aria-checked", "disabled"], ky = { class: "q-switch__labels" }, $y = {
14778
14784
  class: "q-switch__label q-switch__label--off",
14779
14785
  "aria-hidden": "true"
14780
- }, Ty = {
14786
+ }, xy = {
14781
14787
  class: "q-switch__label q-switch__label--on",
14782
14788
  "aria-hidden": "true"
14783
- }, My = /* @__PURE__ */ ue({
14789
+ }, Ty = /* @__PURE__ */ ue({
14784
14790
  inheritAttrs: !1,
14785
14791
  __name: "QSwitch",
14786
14792
  props: /* @__PURE__ */ Ve({
@@ -14804,7 +14810,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14804
14810
  setup(a) {
14805
14811
  const e = a, t = We(a, "modelValue"), n = (c) => {
14806
14812
  e.readonly && (c.preventDefault(), c.stopImmediatePropagation(), c.target.checked = !!t.value);
14807
- }, l = ht(Ce(e, "id")), { style: r } = Ut(Ce(e, "checkedColor")), { style: o } = Ut(Ce(e, "uncheckedColor")), s = k(() => [
14813
+ }, l = ht(Ce(e, "id")), { style: r } = Ut(Ce(e, "checkedColor")), { style: o } = Ut(Ce(e, "uncheckedColor")), s = w(() => [
14808
14814
  "q-switch",
14809
14815
  e.size !== "medium" ? `q-switch--${e.size}` : void 0,
14810
14816
  {
@@ -14814,7 +14820,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14814
14820
  "q-switch--with-labels": e.showStateLabels && (e.trueLabel || e.falseLabel)
14815
14821
  },
14816
14822
  e.class
14817
- ]), i = k(() => {
14823
+ ]), i = w(() => {
14818
14824
  var c, f, u, m;
14819
14825
  return {
14820
14826
  "--q-switch-checked-background": (c = r.value) == null ? void 0 : c.mainColor,
@@ -14834,7 +14840,7 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14834
14840
  required: e.required
14835
14841
  }, {
14836
14842
  default: N(() => [
14837
- Ge(ke(e.label), 1)
14843
+ je(ke(e.label), 1)
14838
14844
  ]),
14839
14845
  _: 1
14840
14846
  }, 8, ["for", "required"])) : S("", !0),
@@ -14850,60 +14856,60 @@ const Kv = /* @__PURE__ */ Uv(jv, [["render", Gv]]), za = we(Qv), pl = we(Wv), m
14850
14856
  role: "switch",
14851
14857
  "aria-checked": t.value,
14852
14858
  disabled: e.disabled
14853
- }, c.$attrs, { onInput: n }), null, 16, ky), [
14859
+ }, c.$attrs, { onInput: n }), null, 16, wy), [
14854
14860
  [ys, t.value]
14855
14861
  ]),
14856
- Z("div", $y, [
14857
- Z("span", xy, [
14862
+ Z("div", ky, [
14863
+ Z("span", $y, [
14858
14864
  e.showStateLabels ? (p(), b(ye, { key: 0 }, [
14859
- Ge(ke(e.falseLabel), 1)
14865
+ je(ke(e.falseLabel), 1)
14860
14866
  ], 64)) : S("", !0)
14861
14867
  ]),
14862
- Z("span", Ty, [
14868
+ Z("span", xy, [
14863
14869
  e.showStateLabels ? (p(), b(ye, { key: 0 }, [
14864
- Ge(ke(e.trueLabel), 1)
14870
+ je(ke(e.trueLabel), 1)
14865
14871
  ], 64)) : S("", !0)
14866
14872
  ])
14867
14873
  ])
14868
14874
  ], 6)
14869
14875
  ]));
14870
14876
  }
14871
- }), Dy = we(My);
14872
- function Ay(a) {
14877
+ }), My = we(Ty);
14878
+ function Dy(a) {
14873
14879
  return Lr() ? (Ir(a), !0) : !1;
14874
14880
  }
14875
- const Cy = typeof window < "u" && typeof document < "u";
14881
+ const Ay = typeof window < "u" && typeof document < "u";
14876
14882
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
14877
- const qy = () => {
14883
+ const Cy = () => {
14878
14884
  };
14879
14885
  function Pr(...a) {
14880
14886
  if (a.length !== 1)
14881
14887
  return Ce(...a);
14882
14888
  const e = a[0];
14883
- return typeof e == "function" ? gs(bs(() => ({ get: e, set: qy }))) : j(e);
14889
+ return typeof e == "function" ? gs(bs(() => ({ get: e, set: Cy }))) : j(e);
14884
14890
  }
14885
- const Zl = Cy ? window : void 0;
14891
+ const Zl = Ay ? window : void 0;
14886
14892
  function Sr(a) {
14887
14893
  var e;
14888
14894
  const t = ha(a);
14889
14895
  return (e = t == null ? void 0 : t.$el) != null ? e : t;
14890
14896
  }
14891
- function Py() {
14897
+ function qy() {
14892
14898
  const a = Jn(!1), e = wn();
14893
14899
  return e && Je(() => {
14894
14900
  a.value = !0;
14895
14901
  }, e), a;
14896
14902
  }
14897
- function Sy(a) {
14898
- const e = Py();
14899
- return k(() => (e.value, !!a()));
14903
+ function Py(a) {
14904
+ const e = qy();
14905
+ return w(() => (e.value, !!a()));
14900
14906
  }
14901
- function Oy(a, e, t = {}) {
14907
+ function Sy(a, e, t = {}) {
14902
14908
  const { window: n = Zl, ...l } = t;
14903
14909
  let r;
14904
- const o = Sy(() => n && "ResizeObserver" in n), s = () => {
14910
+ const o = Py(() => n && "ResizeObserver" in n), s = () => {
14905
14911
  r && (r.disconnect(), r = void 0);
14906
- }, i = k(() => {
14912
+ }, i = w(() => {
14907
14913
  const u = ha(a);
14908
14914
  return Array.isArray(u) ? u.map((m) => Sr(m)) : [Sr(u)];
14909
14915
  }), c = De(
@@ -14919,15 +14925,15 @@ function Oy(a, e, t = {}) {
14919
14925
  ), f = () => {
14920
14926
  s(), c();
14921
14927
  };
14922
- return Ay(f), {
14928
+ return Dy(f), {
14923
14929
  isSupported: o,
14924
14930
  stop: f
14925
14931
  };
14926
14932
  }
14927
- function Ly(a = Zl, e) {
14933
+ function Oy(a = Zl, e) {
14928
14934
  a && typeof a.requestAnimationFrame == "function" ? a.requestAnimationFrame(e) : e();
14929
14935
  }
14930
- function Iy(a = {}) {
14936
+ function Ly(a = {}) {
14931
14937
  var e, t;
14932
14938
  const { window: n = Zl } = a, l = Pr(a == null ? void 0 : a.element), r = Pr((e = a == null ? void 0 : a.input) != null ? e : ""), o = (t = a == null ? void 0 : a.styleProp) != null ? t : "height", s = Jn(1), i = Jn(0);
14933
14939
  function c() {
@@ -14942,8 +14948,8 @@ function Iy(a = {}) {
14942
14948
  return De([r, l], () => Be(c), { immediate: !0 }), De(s, () => {
14943
14949
  var f;
14944
14950
  return (f = a == null ? void 0 : a.onResize) == null ? void 0 : f.call(a);
14945
- }), Oy(l, ([{ contentRect: f }]) => {
14946
- i.value !== f.width && Ly(n, () => {
14951
+ }), Sy(l, ([{ contentRect: f }]) => {
14952
+ i.value !== f.width && Oy(n, () => {
14947
14953
  i.value = f.width, c();
14948
14954
  });
14949
14955
  }), a != null && a.watch && De(a.watch, c, { immediate: !0, deep: !0 }), {
@@ -14952,7 +14958,7 @@ function Iy(a = {}) {
14952
14958
  triggerResize: c
14953
14959
  };
14954
14960
  }
14955
- const By = ["id", "required", "placeholder", "readonly", "disabled", "maxlength", "rows", "cols", "resize", "wrap"], Ry = /* @__PURE__ */ ue({
14961
+ const Iy = ["id", "required", "placeholder", "readonly", "disabled", "maxlength", "rows", "cols", "resize", "wrap"], By = /* @__PURE__ */ ue({
14956
14962
  inheritAttrs: !1,
14957
14963
  __name: "QTextArea",
14958
14964
  props: /* @__PURE__ */ Ve({
@@ -14978,7 +14984,7 @@ const By = ["id", "required", "placeholder", "readonly", "disabled", "maxlength"
14978
14984
  }),
14979
14985
  emits: ["update:modelValue"],
14980
14986
  setup(a) {
14981
- const e = a, t = We(a, "modelValue"), n = k({
14987
+ const e = a, t = We(a, "modelValue"), n = w({
14982
14988
  get: () => t.value,
14983
14989
  set: (c) => {
14984
14990
  const f = e.maxLength;
@@ -14986,10 +14992,10 @@ const By = ["id", "required", "placeholder", "readonly", "disabled", "maxlength"
14986
14992
  }
14987
14993
  });
14988
14994
  De(t, (c) => n.value = c, { immediate: !0 });
14989
- const l = ht(Ce(e, "id")), r = k(
14995
+ const l = ht(Ce(e, "id")), r = w(
14990
14996
  () => e.readonly || e.disabled ? void 0 : e.placeholder
14991
- ), o = k(() => ({ input: e.autosize ? i : null })), s = j(), { triggerResize: i } = Iy({
14992
- element: k(() => e.autosize ? s.value : void 0),
14997
+ ), o = w(() => ({ input: e.autosize ? i : null })), s = j(), { triggerResize: i } = Ly({
14998
+ element: w(() => e.autosize ? s.value : void 0),
14993
14999
  styleProp: "minHeight"
14994
15000
  });
14995
15001
  return (c, f) => (p(), ne(d(ga), {
@@ -15023,7 +15029,7 @@ const By = ["id", "required", "placeholder", "readonly", "disabled", "maxlength"
15023
15029
  cols: e.cols,
15024
15030
  resize: e.resize,
15025
15031
  wrap: e.wrap
15026
- }, c.$attrs, _s(o.value, !0)), null, 16, By), [
15032
+ }, c.$attrs, _s(o.value, !0)), null, 16, Iy), [
15027
15033
  [yl, n.value]
15028
15034
  ])
15029
15035
  ]),
@@ -15052,7 +15058,7 @@ const By = ["id", "required", "placeholder", "readonly", "disabled", "maxlength"
15052
15058
  } : void 0
15053
15059
  ]), 1032, ["class", "for", "label", "size", "readonly", "disabled", "required"]));
15054
15060
  }
15055
- }), Ey = we(Ry), Vy = ["id"], Fy = /* @__PURE__ */ ue({
15061
+ }), Ry = we(By), Ey = ["id"], Vy = /* @__PURE__ */ ue({
15056
15062
  __name: "QThemeProvider",
15057
15063
  props: {
15058
15064
  id: {},
@@ -15077,13 +15083,13 @@ const By = ["id", "required", "placeholder", "readonly", "disabled", "maxlength"
15077
15083
  class: oe(["q-theme-provider", d(t), e.class])
15078
15084
  }, [
15079
15085
  D(s.$slots, "default")
15080
- ], 10, Vy));
15086
+ ], 10, Ey));
15081
15087
  }
15082
- }), Yy = we(Fy), zy = {
15088
+ }), Fy = we(Vy), Yy = {
15083
15089
  close: {
15084
15090
  icon: "close"
15085
15091
  }
15086
- }, Ny = { class: "q-toast__title" }, Qy = /* @__PURE__ */ ue({
15092
+ }, zy = { class: "q-toast__title" }, Ny = /* @__PURE__ */ ue({
15087
15093
  __name: "QToast",
15088
15094
  props: {
15089
15095
  id: {},
@@ -15095,11 +15101,11 @@ const By = ["id", "required", "placeholder", "readonly", "disabled", "maxlength"
15095
15101
  elevation: { default: "medium" },
15096
15102
  variant: { default: "tonal" },
15097
15103
  timeout: { default: 5e3 },
15098
- icons: { default: () => zy }
15104
+ icons: { default: () => Yy }
15099
15105
  },
15100
15106
  emits: ["dismiss"],
15101
15107
  setup(a, { emit: e }) {
15102
- const t = a, n = e, l = Za(), { isUtilityColor: r, style: o } = Ut(Ce(t, "color")), s = k(() => {
15108
+ const t = a, n = e, l = Za(), { isUtilityColor: r, style: o } = Ut(Ce(t, "color")), s = w(() => {
15103
15109
  const M = r.value ? `q-toast--${t.color}` : void 0, $ = t.block ? "q-toast--block" : void 0, O = t.title ? "q-toast--vertical" : void 0;
15104
15110
  return [
15105
15111
  "q-toast",
@@ -15109,13 +15115,13 @@ const By = ["id", "required", "placeholder", "readonly", "disabled", "maxlength"
15109
15115
  O,
15110
15116
  t.class
15111
15117
  ];
15112
- }), i = k(() => {
15118
+ }), i = w(() => {
15113
15119
  var O;
15114
15120
  const M = r.value ? x(t.color) : (O = o.value) == null ? void 0 : O.mainColor;
15115
15121
  if (!M) return;
15116
15122
  const $ = ma(M);
15117
15123
  return Ca(Tl($, 88));
15118
- }), c = k(() => {
15124
+ }), c = w(() => {
15119
15125
  var M, $, O;
15120
15126
  return r.value ? {
15121
15127
  "--q-toast-tonal-color": i.value
@@ -15125,7 +15131,7 @@ const By = ["id", "required", "placeholder", "readonly", "disabled", "maxlength"
15125
15131
  "--q-toast-hover-color": (O = o.value) == null ? void 0 : O.hoverColor,
15126
15132
  "--q-toast-tonal-color": i.value
15127
15133
  };
15128
- }), f = k(() => t.variant === "bold" ? "bold" : "ghost");
15134
+ }), f = w(() => t.variant === "bold" ? "bold" : "ghost");
15129
15135
  let u;
15130
15136
  function m() {
15131
15137
  u !== void 0 && window.clearTimeout(u), n("dismiss");
@@ -15210,7 +15216,7 @@ const By = ["id", "required", "placeholder", "readonly", "disabled", "maxlength"
15210
15216
  default: N(() => [
15211
15217
  ve(d(za), null, {
15212
15218
  default: N(() => [
15213
- Z("div", Ny, [
15219
+ Z("div", zy, [
15214
15220
  M.$slots["title.prepend"] ? D(M.$slots, "title.prepend", { key: 0 }) : S("", !0),
15215
15221
  Z("h4", null, ke(t.title), 1),
15216
15222
  M.$slots["title.append"] ? D(M.$slots, "title.append", { key: 1 }) : S("", !0)
@@ -15247,7 +15253,7 @@ const By = ["id", "required", "placeholder", "readonly", "disabled", "maxlength"
15247
15253
  } : void 0
15248
15254
  ]), 1032, ["id", "elevation", "width", "class", "style"]));
15249
15255
  }
15250
- }), Wy = /* @__PURE__ */ ue({
15256
+ }), Qy = /* @__PURE__ */ ue({
15251
15257
  __name: "QToaster",
15252
15258
  props: {
15253
15259
  id: {},
@@ -15257,7 +15263,7 @@ const By = ["id", "required", "placeholder", "readonly", "disabled", "maxlength"
15257
15263
  reverseOrder: { type: Boolean }
15258
15264
  },
15259
15265
  setup(a) {
15260
- const e = a, { toasts: t, removeToast: n } = qm(), l = k(() => {
15266
+ const e = a, { toasts: t, removeToast: n } = qm(), l = w(() => {
15261
15267
  let r = [...t.value];
15262
15268
  return e.reverseOrder && (r = r.reverse()), r.slice(0, e.maxToasts);
15263
15269
  });
@@ -15281,7 +15287,7 @@ const By = ["id", "required", "placeholder", "readonly", "disabled", "maxlength"
15281
15287
  _: 1
15282
15288
  }, 8, ["id", "class", "data-placement"]));
15283
15289
  }
15284
- }), us = we(Qy), Hy = we(Wy), Uy = /* @__PURE__ */ ue({
15290
+ }), us = we(Ny), Wy = we(Qy), Hy = /* @__PURE__ */ ue({
15285
15291
  __name: "QToggleGroup",
15286
15292
  props: /* @__PURE__ */ Ve({
15287
15293
  id: {},
@@ -15322,7 +15328,7 @@ const By = ["id", "required", "placeholder", "readonly", "disabled", "maxlength"
15322
15328
  _: 3
15323
15329
  }, 8, ["id", "class", "block", "elevated"]));
15324
15330
  }
15325
- }), jy = /* @__PURE__ */ ue({
15331
+ }), Uy = /* @__PURE__ */ ue({
15326
15332
  __name: "QToggleGroupItem",
15327
15333
  props: {
15328
15334
  id: {},
@@ -15357,7 +15363,7 @@ const By = ["id", "required", "placeholder", "readonly", "disabled", "maxlength"
15357
15363
  _: 3
15358
15364
  }, 16, ["model-value", "onUpdate:modelValue"]));
15359
15365
  }
15360
- }), Xy = we(Uy), Gy = we(jy), Ky = { class: "q-tooltip__content" }, Zy = ["innerHTML"], Jy = /* @__PURE__ */ ue({
15366
+ }), jy = we(Hy), Xy = we(Uy), Gy = { class: "q-tooltip__content" }, Ky = ["innerHTML"], Zy = /* @__PURE__ */ ue({
15361
15367
  __name: "QTooltip",
15362
15368
  props: /* @__PURE__ */ Ve({
15363
15369
  id: {},
@@ -15423,14 +15429,14 @@ const By = ["id", "required", "placeholder", "readonly", "disabled", "maxlength"
15423
15429
  onLeave: o
15424
15430
  }, {
15425
15431
  default: N(() => [
15426
- Z("div", Ky, [
15432
+ Z("div", Gy, [
15427
15433
  D(c.$slots, "default", {}, () => [
15428
15434
  e.icon ? (p(), ne(d(ze), Oe(Te({ key: 0 }, e.icon)), null, 16)) : S("", !0),
15429
15435
  e.html ? (p(), b("span", {
15430
15436
  key: 1,
15431
15437
  innerHTML: e.text
15432
- }, null, 8, Zy)) : (p(), b(ye, { key: 2 }, [
15433
- Ge(ke(e.text), 1)
15438
+ }, null, 8, Ky)) : (p(), b(ye, { key: 2 }, [
15439
+ je(ke(e.text), 1)
15434
15440
  ], 64))
15435
15441
  ])
15436
15442
  ])
@@ -15439,7 +15445,7 @@ const By = ["id", "required", "placeholder", "readonly", "disabled", "maxlength"
15439
15445
  }, 8, ["id", "modelValue", "anchor", "appearance", "arrow", "attach", "inline", "class", "delay", "disabled", "placement", "trigger"])
15440
15446
  ], 64));
15441
15447
  }
15442
- }), eg = we(Jy), tg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15448
+ }), Jy = we(Zy), eg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15443
15449
  __proto__: null,
15444
15450
  DEFAULT_TEXTS: yu,
15445
15451
  QAccordion: vi,
@@ -15482,30 +15488,30 @@ const By = ["id", "required", "placeholder", "readonly", "disabled", "maxlength"
15482
15488
  QMeter: as,
15483
15489
  QOverlay: oa,
15484
15490
  QPasswordField: $h,
15485
- QPopover: qh,
15486
- QPropertyList: Hh,
15491
+ QPopover: Ch,
15492
+ QPropertyList: Wh,
15487
15493
  QPropertyListGroup: ss,
15488
15494
  QPropertyListPanel: is,
15489
15495
  QPropertyListRow: os,
15490
- QRadioButton: Zh,
15491
- QRadioGroup: Jh,
15496
+ QRadioButton: Kh,
15497
+ QRadioGroup: Zh,
15492
15498
  QRow: ml,
15493
- QSelect: uy,
15494
- QSidebar: wy,
15499
+ QSelect: iy,
15500
+ QSidebar: _y,
15495
15501
  QSkeletonLoader: $a,
15496
15502
  QSpacer: Zv,
15497
15503
  QSpinnerLoader: Ga,
15498
- QSwitch: Dy,
15499
- QTextArea: Ey,
15504
+ QSwitch: My,
15505
+ QTextArea: Ry,
15500
15506
  QTextField: en,
15501
- QThemeProvider: Yy,
15507
+ QThemeProvider: Fy,
15502
15508
  QToast: us,
15503
- QToaster: Hy,
15509
+ QToaster: Wy,
15504
15510
  QToggle: Kl,
15505
- QToggleGroup: Xy,
15506
- QToggleGroupItem: Gy,
15507
- QTooltip: eg
15508
- }, Symbol.toStringTag, { value: "Module" })), ug = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15511
+ QToggleGroup: jy,
15512
+ QToggleGroupItem: Xy,
15513
+ QTooltip: Jy
15514
+ }, Symbol.toStringTag, { value: "Module" })), ig = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15509
15515
  __proto__: null,
15510
15516
  darken: Ml,
15511
15517
  getComplementaryColor: Vr,
@@ -15521,18 +15527,18 @@ const By = ["id", "required", "placeholder", "readonly", "disabled", "maxlength"
15521
15527
  rgbToVariableString: nl,
15522
15528
  tryParseRgb: Er
15523
15529
  }, Symbol.toStringTag, { value: "Module" }));
15524
- function ag(a = {}) {
15530
+ function tg(a = {}) {
15525
15531
  return { install: (t) => {
15526
15532
  const n = a.components || {};
15527
15533
  for (const o in n)
15528
15534
  t.component(o, n[o]);
15529
15535
  const l = a.defaults || {};
15530
- t.provide(_l, j(l)), ng(t, a.themes);
15536
+ t.provide(_l, j(l)), ag(t, a.themes);
15531
15537
  const r = Lu();
15532
- t.provide(Kr, r), lg(t);
15538
+ t.provide(Kr, r), ng(t);
15533
15539
  } };
15534
15540
  }
15535
- function ng(a, e) {
15541
+ function ag(a, e) {
15536
15542
  const t = [];
15537
15543
  let n;
15538
15544
  if (e)
@@ -15561,25 +15567,25 @@ function ng(a, e) {
15561
15567
  }
15562
15568
  if (n) {
15563
15569
  const l = Yr(j(n), j(t));
15564
- Ls(t), De(l.class, rg, { immediate: !0 }), a.provide(Dl, l);
15570
+ Ls(t), De(l.class, lg, { immediate: !0 }), a.provide(Dl, l);
15565
15571
  }
15566
15572
  }
15567
- function lg(a) {
15573
+ function ng(a) {
15568
15574
  const e = Pm();
15569
15575
  a.provide(Uo, e);
15570
15576
  }
15571
- function rg(a) {
15577
+ function lg(a) {
15572
15578
  const e = document.documentElement, n = Array.from(e.classList).filter((l) => !l.startsWith("q-theme"));
15573
15579
  e.className = n.join(" "), e.classList.add(a);
15574
15580
  }
15575
- const dg = (a = {}) => ag({ components: tg, ...a });
15581
+ const ug = (a = {}) => tg({ components: eg, ...a });
15576
15582
  export {
15577
- tg as components,
15578
- dg as createFramework,
15583
+ eg as components,
15584
+ ug as createFramework,
15579
15585
  Is as provideTheme,
15580
- ig as templates,
15586
+ sg as templates,
15581
15587
  Cm as useDialog,
15582
15588
  Za as useTheme,
15583
15589
  qm as useToast,
15584
- ug as utils
15590
+ ig as utils
15585
15591
  };