@quidgest/ui 0.16.27 → 0.16.28

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 Mo = Object.defineProperty;
2
2
  var Ao = (t, e, a) => e in t ? Mo(t, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[e] = a;
3
3
  var be = (t, e, a) => Ao(t, typeof e != "symbol" ? e + "" : e, a);
4
- import { getCurrentInstance as $l, computed as _, ref as X, toValue as ta, provide as xl, inject as ja, unref as u, isRef as fn, watch as Ce, defineComponent as ce, mergeModels as Ie, toRef as qe, useModel as Fe, createElementBlock as w, openBlock as m, normalizeClass as ie, renderSlot as q, normalizeStyle as Ye, withModifiers as pt, createCommentVNode as R, createElementVNode as ee, createVNode as ye, createTextVNode as et, toDisplayString as $e, useAttrs as Dl, createBlock as se, resolveDynamicComponent as aa, withCtx as H, Fragment as we, h as pn, mergeProps as De, withKeys as mn, normalizeProps as Re, guardReactiveProps as He, useSlots as Qt, onMounted as Ge, onUnmounted as $t, renderList as Ve, nextTick as Xe, useTemplateRef as Xa, createSlots as ze, withDirectives as Ft, vModelDynamic as Co, vModelText as Tl, useId as Po, readonly as qo, customRef as So, getCurrentScope as zr, onScopeDispose as Ml, shallowRef as rl, reactive as Gt, onBeforeUnmount as Qr, Teleport as Wr, Transition as Yt, render as lr, onBeforeUpdate as Io, vShow as cn, resolveComponent as Oo, vModelCheckbox as Eo, toHandlers as Ro, watchEffect as Lo, TransitionGroup as Bo } from "vue";
4
+ import { getCurrentInstance as $l, computed as $, ref as X, toValue as ta, provide as xl, inject as ja, unref as u, isRef as fn, watch as Ce, defineComponent as ce, mergeModels as Ie, toRef as qe, useModel as Fe, createElementBlock as w, openBlock as m, normalizeClass as ie, renderSlot as q, normalizeStyle as Ye, withModifiers as dt, createCommentVNode as R, createElementVNode as ee, createVNode as ye, createTextVNode as et, toDisplayString as $e, useAttrs as Dl, createBlock as se, resolveDynamicComponent as aa, withCtx as H, Fragment as we, h as pn, mergeProps as De, withKeys as mn, normalizeProps as Re, guardReactiveProps as He, useSlots as Wt, onMounted as Ge, onUnmounted as $t, renderList as Ve, nextTick as Xe, useTemplateRef as Xa, createSlots as ze, withDirectives as Ft, vModelDynamic as Co, vModelText as Tl, useId as Po, readonly as qo, customRef as So, getCurrentScope as zr, onScopeDispose as Ml, shallowRef as rl, reactive as Zt, onBeforeUnmount as Qr, Teleport as Wr, Transition as Yt, render as lr, onBeforeUpdate as Io, vShow as cn, resolveComponent as Oo, vModelCheckbox as Eo, toHandlers as Ro, watchEffect as Lo, TransitionGroup as Bo } from "vue";
5
5
  /*!
6
- * Quidgest UI v0.16.27
6
+ * Quidgest UI v0.16.28
7
7
  * (c) 2025 Quidgest - Consultores de Gestão, S.A.
8
8
  * Released under the MIT License.
9
9
  */
@@ -112,11 +112,11 @@ function No() {
112
112
  const e = t.type.name ?? t.type.__name;
113
113
  if (!e) throw new Error("[Quidgest UI] Could not determine component name");
114
114
  const a = Hr(), n = (r = a.value) == null ? void 0 : r.Global, l = (s = a.value) == null ? void 0 : s[e];
115
- return _(() => Al(n, l));
115
+ return $(() => Al(n, l));
116
116
  }
117
117
  function pa(t) {
118
118
  if (il(t)) return;
119
- const e = Hr(), a = X(ta(t)), n = _(() => il(a.value) ? e.value : Al(e.value, a.value));
119
+ const e = Hr(), a = X(ta(t)), n = $(() => il(a.value) ? e.value : Al(e.value, a.value));
120
120
  xl(Cl, n);
121
121
  }
122
122
  function Hr() {
@@ -128,8 +128,8 @@ const Ur = Symbol.for("q-group");
128
128
  function xn(t) {
129
129
  const e = {
130
130
  active: X(Vo(t)),
131
- multiple: _(() => u(t.multiple) || !1),
132
- required: _(() => u(t.required) || !1)
131
+ multiple: $(() => u(t.multiple) || !1),
132
+ required: $(() => u(t.required) || !1)
133
133
  };
134
134
  return fn(t.active) && Ce(t.active, (a) => {
135
135
  e.active.value = a;
@@ -143,7 +143,7 @@ function xn(t) {
143
143
  function Dn(t) {
144
144
  const e = ja(Ur, void 0);
145
145
  if (!e) return;
146
- const a = _(() => {
146
+ const a = $(() => {
147
147
  var r;
148
148
  const l = u(t);
149
149
  return Array.isArray(e.active.value) ? (r = e.active.value) == null ? void 0 : r.includes(l) : e.active.value === l;
@@ -211,7 +211,7 @@ const Fo = ["id"], Yo = /* @__PURE__ */ ce({
211
211
  size: { default: 48 }
212
212
  },
213
213
  setup(t) {
214
- const e = t, a = _(() => ({
214
+ const e = t, a = $(() => ({
215
215
  "font-size": e.size !== 48 ? `${e.size}px` : void 0
216
216
  }));
217
217
  return (n, l) => (m(), w("div", {
@@ -368,12 +368,12 @@ function ir(t) {
368
368
  return t ? `--q-theme-${Pl(t)}` : "";
369
369
  }
370
370
  function Zr(t, e) {
371
- const a = X(ta(t)), n = _(() => {
371
+ const a = X(ta(t)), n = $(() => {
372
372
  const s = e.find((o) => o.name === a.value);
373
373
  if (!s)
374
374
  throw new Error(`Theme "${a.value}" not found`);
375
375
  return s;
376
- }), l = _(() => Jr(n.value.name)), r = _(() => Gr(n.value));
376
+ }), l = $(() => Jr(n.value.name)), r = $(() => Gr(n.value));
377
377
  return {
378
378
  name: a,
379
379
  current: n,
@@ -400,10 +400,10 @@ function ei(t) {
400
400
  const r = Zr(a, n);
401
401
  return xl(Il, r), r;
402
402
  }
403
- function Zt(t) {
404
- const e = _(() => u(t)), a = _(
403
+ function Jt(t) {
404
+ const e = $(() => u(t)), a = $(
405
405
  () => e.value ? !ti(e.value) : !1
406
- ), n = _(() => {
406
+ ), n = $(() => {
407
407
  const l = e.value;
408
408
  if (!l) return;
409
409
  let r = l;
@@ -456,11 +456,11 @@ const ai = ["id", "disabled"], ni = {
456
456
  },
457
457
  emits: ["click"],
458
458
  setup(t, { emit: e }) {
459
- const a = t, n = e, l = _(() => a.disabled || a.loading);
459
+ const a = t, n = e, l = $(() => a.disabled || a.loading);
460
460
  function r(p) {
461
461
  l.value || n("click", p);
462
462
  }
463
- const { isUtilityColor: s, style: o } = Zt(qe(a, "color")), i = _(() => {
463
+ const { isUtilityColor: s, style: o } = Jt(qe(a, "color")), i = $(() => {
464
464
  const p = s.value ? `q-button--${a.color}` : void 0, d = a.size !== "regular" ? `q-button--${a.size}` : void 0, v = a.iconPos !== "start" ? `q-button--icon-${a.iconPos}` : void 0;
465
465
  return [
466
466
  "q-button",
@@ -477,15 +477,15 @@ const ai = ["id", "disabled"], ni = {
477
477
  },
478
478
  a.class
479
479
  ];
480
- }), c = _(() => {
481
- var p, d, v, h, x, k;
480
+ }), c = $(() => {
481
+ var p, d, v, h, _, k;
482
482
  if (!s.value)
483
483
  return {
484
484
  "--q-button-main-color": (p = o.value) == null ? void 0 : p.mainColor,
485
485
  "--q-button-main-color-rgb": (d = o.value) == null ? void 0 : d.mainColorRgb,
486
486
  "--q-button-on-main-color": (v = o.value) == null ? void 0 : v.onMainColor,
487
487
  "--q-button-hover-color": (h = o.value) == null ? void 0 : h.hoverColor,
488
- "--q-button-hover-color-rgb": (x = o.value) == null ? void 0 : x.hoverColorRgb,
488
+ "--q-button-hover-color-rgb": (_ = o.value) == null ? void 0 : _.hoverColorRgb,
489
489
  "--q-button-on-hover-color": (k = o.value) == null ? void 0 : k.onHoverColor
490
490
  };
491
491
  });
@@ -495,7 +495,7 @@ const ai = ["id", "disabled"], ni = {
495
495
  class: ie(i.value),
496
496
  disabled: l.value,
497
497
  style: Ye(c.value),
498
- onClick: pt(r, ["stop", "prevent"])
498
+ onClick: dt(r, ["stop", "prevent"])
499
499
  }, [
500
500
  a.loading ? (m(), w("div", ni, [
501
501
  ye(u(Ka))
@@ -536,7 +536,7 @@ const ai = ["id", "disabled"], ni = {
536
536
  width: {}
537
537
  },
538
538
  setup(t) {
539
- const e = t, a = _(() => {
539
+ const e = t, a = $(() => {
540
540
  const o = 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;
541
541
  return [
542
542
  "q-card",
@@ -551,7 +551,7 @@ const ai = ["id", "disabled"], ni = {
551
551
  },
552
552
  e.class
553
553
  ];
554
- }), n = Dl(), l = _(() => !!n.onClick || e.href), r = _(() => e.disabled || e.loading);
554
+ }), n = Dl(), l = $(() => !!n.onClick || e.href), r = $(() => e.disabled || e.loading);
555
555
  function s(o) {
556
556
  r.value && o.stopImmediatePropagation();
557
557
  }
@@ -610,7 +610,7 @@ const ai = ["id", "disabled"], ni = {
610
610
  color: {}
611
611
  },
612
612
  setup(t) {
613
- const e = t, a = _(() => {
613
+ const e = t, a = $(() => {
614
614
  switch (e.type) {
615
615
  case "svg":
616
616
  return as;
@@ -621,7 +621,7 @@ const ai = ["id", "disabled"], ni = {
621
621
  default:
622
622
  return;
623
623
  }
624
- }), { style: n } = Zt(qe(e, "color")), l = _(() => {
624
+ }), { style: n } = Jt(qe(e, "color")), l = $(() => {
625
625
  var r;
626
626
  return {
627
627
  "font-size": e.size !== void 0 ? `${e.size}px` : void 0,
@@ -645,7 +645,7 @@ const ai = ["id", "disabled"], ni = {
645
645
  variant: {}
646
646
  },
647
647
  setup(t) {
648
- const e = t, a = _(() => e.variant ? `${e.library}-${e.variant}` : e.library), n = _(() => e.library && e.icon ? `${e.library}-${e.icon}` : e.icon);
648
+ const e = t, a = $(() => e.variant ? `${e.library}-${e.variant}` : e.library), n = $(() => e.library && e.icon ? `${e.library}-${e.icon}` : e.icon);
649
649
  return (l, r) => (m(), w("i", {
650
650
  id: e.id,
651
651
  class: ie(["q-icon", "q-icon__font", a.value, n.value, e.class])
@@ -832,7 +832,7 @@ const ki = /* @__PURE__ */ ce({
832
832
  }),
833
833
  emits: ["update:modelValue"],
834
834
  setup(t) {
835
- const e = t, a = Fe(t, "modelValue"), n = _(() => [
835
+ const e = t, a = Fe(t, "modelValue"), n = $(() => [
836
836
  "q-chevron",
837
837
  {
838
838
  "q-chevron--expanded": a.value
@@ -872,7 +872,7 @@ const ki = /* @__PURE__ */ ce({
872
872
  }),
873
873
  emits: ["update:modelValue"],
874
874
  setup(t) {
875
- const e = t, a = Fe(t, "modelValue"), n = _(() => e.width === "block" ? "block" : void 0), l = _(() => {
875
+ const e = t, a = Fe(t, "modelValue"), n = $(() => e.width === "block" ? "block" : void 0), l = $(() => {
876
876
  const o = e.spacing && e.spacing !== "comfortable" ? `q-collapsible--${e.spacing}` : void 0, i = e.variant && e.variant !== "default" ? `q-collapsible--${e.variant}` : void 0;
877
877
  return [
878
878
  "q-collapsible",
@@ -883,7 +883,7 @@ const ki = /* @__PURE__ */ ce({
883
883
  },
884
884
  e.class
885
885
  ];
886
- }), r = _(() => [
886
+ }), r = $(() => [
887
887
  "q-collapsible__content-wrapper",
888
888
  {
889
889
  "q-collapsible__content-show": a.value
@@ -1001,7 +1001,7 @@ const Ii = /* @__PURE__ */ ce({
1001
1001
  color: {}
1002
1002
  },
1003
1003
  setup(t) {
1004
- const e = t, a = _(() => ["small", "large"].includes(e.size) ? `q-avatar--${e.size}` : ""), n = _(() => e.shape === "circle" ? void 0 : "q-avatar--square"), { style: l } = Zt(qe(e, "color")), r = _(() => {
1004
+ const e = t, a = $(() => ["small", "large"].includes(e.size) ? `q-avatar--${e.size}` : ""), n = $(() => e.shape === "circle" ? void 0 : "q-avatar--square"), { style: l } = Jt(qe(e, "color")), r = $(() => {
1005
1005
  var o, i;
1006
1006
  const s = {};
1007
1007
  return ["small", "medium", "large"].includes(e.size) || (s["--q-avatar-size"] = e.size), l.value && (s["--q-avatar-color"] = (o = l.value) == null ? void 0 : o.mainColor, s["--q-avatar-text-color"] = (i = l.value) == null ? void 0 : i.onMainColor), s;
@@ -1042,7 +1042,7 @@ const Ii = /* @__PURE__ */ ce({
1042
1042
  },
1043
1043
  emits: ["click:remove"],
1044
1044
  setup(t, { emit: e }) {
1045
- const a = t, n = e, l = Dl(), r = _(() => !!l.onClick), s = _(() => {
1045
+ const a = t, n = e, l = Dl(), r = $(() => !!l.onClick), s = $(() => {
1046
1046
  const v = o.value ? `q-badge--${a.color}` : void 0, h = a.size !== "default" ? `q-badge--${a.size}` : void 0;
1047
1047
  return [
1048
1048
  "q-badge",
@@ -1055,13 +1055,13 @@ const Ii = /* @__PURE__ */ ce({
1055
1055
  },
1056
1056
  a.class
1057
1057
  ];
1058
- }), { isUtilityColor: o, style: i } = Zt(qe(a, "color")), c = _(() => {
1059
- var v, h, x, k;
1058
+ }), { isUtilityColor: o, style: i } = Jt(qe(a, "color")), c = $(() => {
1059
+ var v, h, _, k;
1060
1060
  if (!o.value)
1061
1061
  return {
1062
1062
  "--q-badge-main-color": (v = i.value) == null ? void 0 : v.mainColor,
1063
1063
  "--q-badge-on-main-color": (h = i.value) == null ? void 0 : h.onMainColor,
1064
- "--q-badge-hover-color": (x = i.value) == null ? void 0 : x.hoverColor,
1064
+ "--q-badge-hover-color": (_ = i.value) == null ? void 0 : _.hoverColor,
1065
1065
  "--q-badge-on-hover-color": (k = i.value) == null ? void 0 : k.onHoverColor
1066
1066
  };
1067
1067
  });
@@ -1077,7 +1077,7 @@ const Ii = /* @__PURE__ */ ce({
1077
1077
  role: r.value ? "button" : "presentation",
1078
1078
  style: Ye(c.value),
1079
1079
  tabindex: r.value ? 0 : void 0,
1080
- onKeydown: mn(pt(p, ["stop", "prevent"]), ["enter"])
1080
+ onKeydown: mn(dt(p, ["stop", "prevent"]), ["enter"])
1081
1081
  }, [
1082
1082
  a.variant === "tonal" ? (m(), w("div", zi)) : R("", !0),
1083
1083
  ee("div", Qi, [
@@ -1110,7 +1110,7 @@ const Ii = /* @__PURE__ */ ce({
1110
1110
  color: {}
1111
1111
  },
1112
1112
  setup(t) {
1113
- const e = t, a = Qt(), n = _(() => !e.content && !a.content), l = _(() => [
1113
+ const e = t, a = Wt(), n = $(() => !e.content && !a.content), l = $(() => [
1114
1114
  "q-badge-indicator",
1115
1115
  `q-badge-indicator--${e.placement}`,
1116
1116
  {
@@ -1190,7 +1190,7 @@ const Ii = /* @__PURE__ */ ce({
1190
1190
  height: {}
1191
1191
  },
1192
1192
  setup(t) {
1193
- const e = t, a = _(() => e.type ? `q-skeleton-loader--${e.type}` : void 0), n = _(() => {
1193
+ const e = t, a = $(() => e.type ? `q-skeleton-loader--${e.type}` : void 0), n = $(() => {
1194
1194
  const l = typeof e.width == "number" ? `${e.width}px` : e.width, r = typeof e.height == "number" ? `${e.height}px` : e.height;
1195
1195
  return {
1196
1196
  width: l,
@@ -1253,39 +1253,39 @@ const Ii = /* @__PURE__ */ ce({
1253
1253
  let s = !1, o = !1, i = 0, c = 0;
1254
1254
  const p = X(0), d = X(0);
1255
1255
  let v, h;
1256
- const x = _(() => ({
1256
+ const _ = $(() => ({
1257
1257
  transform: `translateX(-${r.value * 100}%)`,
1258
1258
  transition: s ? `transform ${a.animationDuration}ms cubic-bezier(0.4, 0, 0.2, 1)` : "none"
1259
- })), k = _(() => ({
1259
+ })), k = $(() => ({
1260
1260
  "--q-carousel-progress-duration": `${a.autoCycleInterval}ms`,
1261
1261
  "--q-carousel-progress-width": `${p.value}%`
1262
1262
  }));
1263
- function A($) {
1264
- if ($ < 0 || $ >= a.slides.length || $ === r.value || s) return;
1265
- const G = r.value, O = a.slides[G], te = a.slides[$];
1266
- n("slide:before-change", te.id, O == null ? void 0 : O.id), r.value = $, l.value = $, a.animationDuration > 0 ? (s = !0, setTimeout(() => {
1263
+ function A(x) {
1264
+ if (x < 0 || x >= a.slides.length || x === r.value || s) return;
1265
+ const G = r.value, O = a.slides[G], te = a.slides[x];
1266
+ n("slide:before-change", te.id, O == null ? void 0 : O.id), r.value = x, l.value = x, a.animationDuration > 0 ? (s = !0, setTimeout(() => {
1267
1267
  s = !1, n("slide:after-change", te.id, O == null ? void 0 : O.id);
1268
1268
  }, a.animationDuration)) : Xe(() => {
1269
1269
  n("slide:after-change", te.id, O == null ? void 0 : O.id);
1270
1270
  });
1271
1271
  }
1272
1272
  function M() {
1273
- const $ = r.value + 1;
1274
- $ >= a.slides.length ? a.wrap && A(0) : A($);
1273
+ const x = r.value + 1;
1274
+ x >= a.slides.length ? a.wrap && A(0) : A(x);
1275
1275
  }
1276
1276
  function P() {
1277
- const $ = r.value - 1;
1278
- $ < 0 ? a.wrap && A(a.slides.length - 1) : A($);
1277
+ const x = r.value - 1;
1278
+ x < 0 ? a.wrap && A(a.slides.length - 1) : A(x);
1279
1279
  }
1280
- function T($) {
1280
+ function T(x) {
1281
1281
  const G = window.getSelection();
1282
1282
  if (G != null && G.toString().length) return;
1283
- const O = a.slides[$];
1283
+ const O = a.slides[x];
1284
1284
  n("slide:click", O.id);
1285
1285
  }
1286
- function L($) {
1286
+ function L(x) {
1287
1287
  const G = {};
1288
- return $ != null && $.colorPlaceholder && (G["background-color"] = $.colorPlaceholder), G;
1288
+ return x != null && x.colorPlaceholder && (G["background-color"] = x.colorPlaceholder), G;
1289
1289
  }
1290
1290
  function U() {
1291
1291
  a.autoCycleInterval && (h = window.setInterval(() => {
@@ -1307,47 +1307,47 @@ const Ii = /* @__PURE__ */ ce({
1307
1307
  function V() {
1308
1308
  a.autoCyclePause === "hover" && (o = !1, Q());
1309
1309
  }
1310
- function ne($) {
1310
+ function ne(x) {
1311
1311
  if (!s)
1312
- switch ($.key) {
1312
+ switch (x.key) {
1313
1313
  case "ArrowLeft":
1314
- $.preventDefault(), P();
1314
+ x.preventDefault(), P();
1315
1315
  break;
1316
1316
  case "ArrowRight":
1317
- $.preventDefault(), M();
1317
+ x.preventDefault(), M();
1318
1318
  break;
1319
1319
  case "Home":
1320
- $.preventDefault(), A(0);
1320
+ x.preventDefault(), A(0);
1321
1321
  break;
1322
1322
  case "End":
1323
- $.preventDefault(), A(a.slides.length - 1);
1323
+ x.preventDefault(), A(a.slides.length - 1);
1324
1324
  break;
1325
1325
  }
1326
1326
  }
1327
- function le($) {
1328
- s || (i = $.touches[0].clientX, Y());
1327
+ function le(x) {
1328
+ s || (i = x.touches[0].clientX, Y());
1329
1329
  }
1330
- function N($) {
1331
- s || (c = $.touches[0].clientX);
1330
+ function N(x) {
1331
+ s || (c = x.touches[0].clientX);
1332
1332
  }
1333
1333
  function g() {
1334
1334
  if (s) return;
1335
- const $ = i - c;
1336
- Math.abs($) > a.swipeThreshold && ($ > 0 ? M() : P()), i = 0, c = 0, Q();
1335
+ const x = i - c;
1336
+ Math.abs(x) > a.swipeThreshold && (x > 0 ? M() : P()), i = 0, c = 0, Q();
1337
1337
  }
1338
- function y($) {
1339
- return a.texts.goToSlide.replace("{0}", `${$ + 1}`);
1338
+ function y(x) {
1339
+ return a.texts.goToSlide.replace("{0}", `${x + 1}`);
1340
1340
  }
1341
- function D($) {
1342
- if ($.length === 0) {
1341
+ function D(x) {
1342
+ if (x.length === 0) {
1343
1343
  r.value = 0, l.value = 0, Y();
1344
1344
  return;
1345
1345
  }
1346
- r.value >= $.length && A(0);
1346
+ r.value >= x.length && A(0);
1347
1347
  }
1348
- return Ce(() => a.slides, D, { immediate: !0, deep: !0 }), Ce(r, E), Ce(l, ($) => {
1349
- $ !== r.value && A($);
1350
- }), Ge(Q), $t(Y), ($, G) => {
1348
+ return Ce(() => a.slides, D, { immediate: !0, deep: !0 }), Ce(r, E), Ce(l, (x) => {
1349
+ x !== r.value && A(x);
1350
+ }), Ge(Q), $t(Y), (x, G) => {
1351
1351
  var O, te, z;
1352
1352
  return m(), w("div", {
1353
1353
  id: a.id,
@@ -1357,7 +1357,7 @@ const Ii = /* @__PURE__ */ ce({
1357
1357
  onMouseleave: V,
1358
1358
  onKeydown: ne
1359
1359
  }, [
1360
- $.loading ? (m(), w("div", au, [
1360
+ x.loading ? (m(), w("div", au, [
1361
1361
  ye(u(_a), {
1362
1362
  width: "100%",
1363
1363
  height: "100%"
@@ -1391,22 +1391,22 @@ const Ii = /* @__PURE__ */ ce({
1391
1391
  })
1392
1392
  ])) : R("", !0)
1393
1393
  ])) : (m(), w(we, { key: 1 }, [
1394
- (O = $.slides) != null && O.length ? (m(), w("div", {
1394
+ (O = x.slides) != null && O.length ? (m(), w("div", {
1395
1395
  key: 0,
1396
1396
  class: "q-carousel__track",
1397
- style: Ye(x.value),
1397
+ style: Ye(_.value),
1398
1398
  onTouchstart: le,
1399
1399
  onTouchmove: N,
1400
1400
  onTouchend: g
1401
1401
  }, [
1402
- (m(!0), w(we, null, Ve($.slides, (C, S) => (m(), w("div", {
1402
+ (m(!0), w(we, null, Ve(x.slides, (C, S) => (m(), w("div", {
1403
1403
  key: C.id,
1404
1404
  class: ie([
1405
1405
  "q-carousel__slide",
1406
1406
  { "q-carousel__slide--active": S === r.value }
1407
1407
  ]),
1408
1408
  style: Ye(L(C)),
1409
- onClick: pt(() => T(S), ["stop", "prevent"])
1409
+ onClick: dt(() => T(S), ["stop", "prevent"])
1410
1410
  }, [
1411
1411
  C.image ? (m(), w("img", {
1412
1412
  key: 0,
@@ -1418,14 +1418,14 @@ const Ii = /* @__PURE__ */ ce({
1418
1418
  }, null, 8, su)) : R("", !0)
1419
1419
  ], 14, ru))), 128))
1420
1420
  ], 36)) : (m(), w("div", ou, [
1421
- q($.$slots, "empty")
1421
+ q(x.$slots, "empty")
1422
1422
  ])),
1423
- $.slides[r.value] ? (m(), w("div", iu, [
1424
- (te = $.slides[r.value]) != null && te.title ? (m(), w("h2", uu, $e($.slides[r.value].title), 1)) : R("", !0),
1425
- (z = $.slides[r.value]) != null && z.subtitle ? (m(), w("p", du, $e($.slides[r.value].subtitle), 1)) : R("", !0)
1423
+ x.slides[r.value] ? (m(), w("div", iu, [
1424
+ (te = x.slides[r.value]) != null && te.title ? (m(), w("h2", uu, $e(x.slides[r.value].title), 1)) : R("", !0),
1425
+ (z = x.slides[r.value]) != null && z.subtitle ? (m(), w("p", du, $e(x.slides[r.value].subtitle), 1)) : R("", !0)
1426
1426
  ])) : R("", !0),
1427
- $.showIndicators && $.slides.length > 1 ? (m(), w("ol", cu, [
1428
- (m(!0), w(we, null, Ve($.slides, (C, S) => (m(), w("li", {
1427
+ x.showIndicators && x.slides.length > 1 ? (m(), w("ol", cu, [
1428
+ (m(!0), w(we, null, Ve(x.slides, (C, S) => (m(), w("li", {
1429
1429
  key: C.id,
1430
1430
  class: ie([
1431
1431
  "q-carousel__indicator",
@@ -1438,28 +1438,28 @@ const Ii = /* @__PURE__ */ ce({
1438
1438
  onClick: () => A(S)
1439
1439
  }, null, 14, fu))), 128))
1440
1440
  ])) : R("", !0),
1441
- $.showControls && $.slides.length > 1 ? (m(), w(we, { key: 4 }, [
1441
+ x.showControls && x.slides.length > 1 ? (m(), w(we, { key: 4 }, [
1442
1442
  ye(u(mt), {
1443
1443
  class: "q-carousel__control q-carousel__control--prev",
1444
1444
  "data-testid": "carousel-prev",
1445
- "aria-label": $.texts.previousText,
1445
+ "aria-label": x.texts.previousText,
1446
1446
  onClick: P
1447
1447
  }, {
1448
1448
  default: H(() => [
1449
1449
  ye(u(We), De({ class: "q-carousel__control-icon q-carousel__control-icon--prev" }, a.icons.back), null, 16),
1450
- ee("span", pu, $e($.texts.previousText), 1)
1450
+ ee("span", pu, $e(x.texts.previousText), 1)
1451
1451
  ]),
1452
1452
  _: 1
1453
1453
  }, 8, ["aria-label"]),
1454
1454
  ye(u(mt), {
1455
1455
  class: "q-carousel__control q-carousel__control--next",
1456
1456
  "data-testid": "carousel-next",
1457
- "aria-label": $.texts.nextText,
1457
+ "aria-label": x.texts.nextText,
1458
1458
  onClick: M
1459
1459
  }, {
1460
1460
  default: H(() => [
1461
1461
  ye(u(We), De({ class: "q-carousel__control-icon q-carousel__control-icon--next" }, a.icons.forward), null, 16),
1462
- ee("span", mu, $e($.texts.nextText), 1)
1462
+ ee("span", mu, $e(x.texts.nextText), 1)
1463
1463
  ]),
1464
1464
  _: 1
1465
1465
  }, 8, ["aria-label"])
@@ -1497,7 +1497,7 @@ const Ii = /* @__PURE__ */ ce({
1497
1497
  }),
1498
1498
  emits: ["update:modelValue"],
1499
1499
  setup(t) {
1500
- const e = t, a = Fe(t, "modelValue"), n = vt(qe(e, "id")), l = Xa("inputEl"), r = _(() => [
1500
+ const e = t, a = Fe(t, "modelValue"), n = vt(qe(e, "id")), l = Xa("inputEl"), r = $(() => [
1501
1501
  "q-checkbox",
1502
1502
  `q-checkbox--${e.size}`,
1503
1503
  `q-checkbox--${e.color}`,
@@ -1551,10 +1551,10 @@ const Ii = /* @__PURE__ */ ce({
1551
1551
  "aria-checked": e.indeterminate ? "mixed" : a.value,
1552
1552
  disabled: e.disabled || e.readonly
1553
1553
  }, o.$attrs, {
1554
- onClick: pt(s, ["prevent"]),
1554
+ onClick: dt(s, ["prevent"]),
1555
1555
  onKeydown: [
1556
- mn(pt(s, ["prevent"]), ["space"]),
1557
- i[0] || (i[0] = mn(pt(() => {
1556
+ mn(dt(s, ["prevent"]), ["space"]),
1557
+ i[0] || (i[0] = mn(dt(() => {
1558
1558
  }, ["prevent"]), ["enter"]))
1559
1559
  ]
1560
1560
  }), [
@@ -1587,7 +1587,7 @@ const Ii = /* @__PURE__ */ ce({
1587
1587
  required: { type: Boolean }
1588
1588
  },
1589
1589
  setup(t) {
1590
- const e = t, a = _(() => [
1590
+ const e = t, a = $(() => [
1591
1591
  "q-label",
1592
1592
  {
1593
1593
  "q-label--required": e.required
@@ -1609,7 +1609,7 @@ const Ii = /* @__PURE__ */ ce({
1609
1609
  q(n.$slots, "append")
1610
1610
  ], 10, _u));
1611
1611
  }
1612
- }), Jt = _e($u), xu = { class: "q-checkbox__label-wrapper" }, Du = {
1612
+ }), zt = _e($u), xu = { class: "q-checkbox__label-wrapper" }, Du = {
1613
1613
  key: 0,
1614
1614
  class: "q-field__extras"
1615
1615
  }, Tu = /* @__PURE__ */ ce({
@@ -1624,7 +1624,7 @@ const Ii = /* @__PURE__ */ ce({
1624
1624
  setup(t) {
1625
1625
  const e = t;
1626
1626
  return (a, n) => (m(), w("div", xu, [
1627
- ye(u(Jt), {
1627
+ ye(u(zt), {
1628
1628
  class: "q-checkbox__label",
1629
1629
  for: e.for,
1630
1630
  required: e.required
@@ -1665,7 +1665,7 @@ const Ii = /* @__PURE__ */ ce({
1665
1665
  invalid: { type: Boolean }
1666
1666
  },
1667
1667
  setup(t, { expose: e }) {
1668
- const a = t, n = Xa("field"), l = _(() => a.required && !a.readonly && !a.disabled), r = _(() => [
1668
+ const a = t, n = Xa("field"), l = $(() => a.required && !a.readonly && !a.disabled), r = $(() => [
1669
1669
  "q-field",
1670
1670
  `q-field--${a.size}`,
1671
1671
  {
@@ -1682,7 +1682,7 @@ const Ii = /* @__PURE__ */ ce({
1682
1682
  id: a.id,
1683
1683
  class: ie(r.value)
1684
1684
  }, [
1685
- a.label ? (m(), se(u(Jt), {
1685
+ a.label ? (m(), se(u(zt), {
1686
1686
  key: 0,
1687
1687
  class: "q-field__label",
1688
1688
  label: a.label,
@@ -1776,27 +1776,27 @@ const Ii = /* @__PURE__ */ ce({
1776
1776
  }),
1777
1777
  emits: /* @__PURE__ */ Ie(["click:clear"], ["update:modelValue"]),
1778
1778
  setup(t, { expose: e, emit: a }) {
1779
- const n = t, l = a, r = Fe(t, "modelValue"), s = _({
1779
+ const n = t, l = a, r = Fe(t, "modelValue"), s = $({
1780
1780
  get: () => r.value,
1781
- set: (x) => {
1781
+ set: (_) => {
1782
1782
  const k = n.maxLength;
1783
- r.value = k ? x == null ? void 0 : x.slice(0, k) : x;
1783
+ r.value = k ? _ == null ? void 0 : _.slice(0, k) : _;
1784
1784
  }
1785
1785
  });
1786
- Ce(r, (x) => s.value = x, { immediate: !0 });
1787
- const o = vt(qe(n, "id")), i = X(null), c = X(null), p = _(
1786
+ Ce(r, (_) => s.value = _, { immediate: !0 });
1787
+ const o = vt(qe(n, "id")), i = X(null), c = X(null), p = $(
1788
1788
  () => n.readonly || n.disabled ? void 0 : n.placeholder
1789
- ), d = _(() => n.clearable && !n.readonly && !n.disabled), v = _(() => d.value && r.value);
1790
- function h(x) {
1791
- d.value && (r.value = "", l("click:clear", x));
1789
+ ), d = $(() => n.clearable && !n.readonly && !n.disabled), v = $(() => d.value && r.value);
1790
+ function h(_) {
1791
+ d.value && (r.value = "", l("click:clear", _));
1792
1792
  }
1793
1793
  return e({
1794
- fieldRef: _(() => {
1795
- var x;
1796
- return (x = i.value) == null ? void 0 : x.fieldRef;
1794
+ fieldRef: $(() => {
1795
+ var _;
1796
+ return (_ = i.value) == null ? void 0 : _.fieldRef;
1797
1797
  }),
1798
1798
  inputRef: c
1799
- }), (x, k) => (m(), se(u(ma), {
1799
+ }), (_, k) => (m(), se(u(ma), {
1800
1800
  ref_key: "fieldRef",
1801
1801
  ref: i,
1802
1802
  class: ie(["q-text-field", n.class]),
@@ -1809,10 +1809,10 @@ const Ii = /* @__PURE__ */ ce({
1809
1809
  invalid: n.invalid
1810
1810
  }, ze({
1811
1811
  "label.prepend": H(() => [
1812
- q(x.$slots, "label.prepend")
1812
+ q(_.$slots, "label.prepend")
1813
1813
  ]),
1814
1814
  "label.append": H(() => [
1815
- q(x.$slots, "label.append")
1815
+ q(_.$slots, "label.append")
1816
1816
  ]),
1817
1817
  default: H(() => [
1818
1818
  Ft(ee("input", De({
@@ -1827,23 +1827,23 @@ const Ii = /* @__PURE__ */ ce({
1827
1827
  placeholder: p.value,
1828
1828
  readonly: n.readonly,
1829
1829
  disabled: n.disabled
1830
- }, x.$attrs), null, 16, Eu), [
1830
+ }, _.$attrs), null, 16, Eu), [
1831
1831
  [Co, s.value]
1832
1832
  ])
1833
1833
  ]),
1834
1834
  _: 2
1835
1835
  }, [
1836
- x.$slots.prepend ? {
1836
+ _.$slots.prepend ? {
1837
1837
  name: "prepend",
1838
1838
  fn: H(() => [
1839
- q(x.$slots, "prepend")
1839
+ q(_.$slots, "prepend")
1840
1840
  ]),
1841
1841
  key: "0"
1842
1842
  } : void 0,
1843
- x.$slots.append || v.value ? {
1843
+ _.$slots.append || v.value ? {
1844
1844
  name: "append",
1845
1845
  fn: H(() => [
1846
- q(x.$slots, "append"),
1846
+ q(_.$slots, "append"),
1847
1847
  v.value ? (m(), se(u(An), {
1848
1848
  key: 0,
1849
1849
  "data-testid": "q-text-field__clear-button",
@@ -1853,10 +1853,10 @@ const Ii = /* @__PURE__ */ ce({
1853
1853
  ]),
1854
1854
  key: "1"
1855
1855
  } : void 0,
1856
- x.$slots.extras ? {
1856
+ _.$slots.extras ? {
1857
1857
  name: "extras",
1858
1858
  fn: H(() => [
1859
- q(x.$slots, "extras")
1859
+ q(_.$slots, "extras")
1860
1860
  ]),
1861
1861
  key: "2"
1862
1862
  } : void 0
@@ -1881,7 +1881,7 @@ const Ii = /* @__PURE__ */ ce({
1881
1881
  }),
1882
1882
  emits: ["update:modelValue"],
1883
1883
  setup(t) {
1884
- const e = t, a = Fe(t, "modelValue"), n = X(""), l = X(""), r = _(() => e.readonly || e.disabled);
1884
+ const e = t, a = Fe(t, "modelValue"), n = X(""), l = X(""), r = $(() => e.readonly || e.disabled);
1885
1885
  function s(d) {
1886
1886
  return jr(d, !0);
1887
1887
  }
@@ -1902,7 +1902,7 @@ const Ii = /* @__PURE__ */ ce({
1902
1902
  return Ce(a, p, { immediate: !0 }), (d, v) => (m(), se(u(Za), {
1903
1903
  id: e.id,
1904
1904
  modelValue: l.value,
1905
- "onUpdate:modelValue": v[1] || (v[1] = (h) => l.value = h),
1905
+ "onUpdate:modelValue": v[2] || (v[2] = (h) => l.value = h),
1906
1906
  "max-length": 7,
1907
1907
  class: ie(["q-color-picker", e.class]),
1908
1908
  label: e.label,
@@ -1928,7 +1928,11 @@ const Ii = /* @__PURE__ */ ce({
1928
1928
  readonly: e.readonly,
1929
1929
  disabled: r.value,
1930
1930
  "aria-label": e.texts.selectColor
1931
- }, d.$attrs, { onChange: o }), null, 16, Lu), [
1931
+ }, d.$attrs, {
1932
+ onChange: o,
1933
+ onClick: v[1] || (v[1] = dt(() => {
1934
+ }, ["stop"]))
1935
+ }), null, 16, Lu), [
1932
1936
  [Tl, n.value]
1933
1937
  ])
1934
1938
  ]),
@@ -1975,10 +1979,10 @@ const Ii = /* @__PURE__ */ ce({
1975
1979
  },
1976
1980
  emits: ["update:modelValue", "click", "mouseenter:item"],
1977
1981
  setup(t, { expose: e, emit: a }) {
1978
- const n = t, l = a, r = X(!1), s = _(() => o.value.length > 1 ? "div" : "ul"), o = _(() => n.groups.length ? n.groups.filter(
1982
+ const n = t, l = a, r = X(!1), s = $(() => o.value.length > 1 ? "div" : "ul"), o = $(() => n.groups.length ? n.groups.filter(
1979
1983
  (y) => {
1980
1984
  var D;
1981
- return (D = n.items) == null ? void 0 : D.some(($) => $.group === y.id);
1985
+ return (D = n.items) == null ? void 0 : D.some((x) => x.group === y.id);
1982
1986
  }
1983
1987
  ) : [{ id: "", title: "" }]), { active: i } = xn({
1984
1988
  active: qe(n, "modelValue"),
@@ -1994,7 +1998,7 @@ const Ii = /* @__PURE__ */ ce({
1994
1998
  function h() {
1995
1999
  r.value = !0;
1996
2000
  }
1997
- function x() {
2001
+ function _() {
1998
2002
  r.value = !1;
1999
2003
  }
2000
2004
  function k(y) {
@@ -2003,8 +2007,8 @@ const Ii = /* @__PURE__ */ ce({
2003
2007
  return;
2004
2008
  let D;
2005
2009
  i.value ? D = n.items.findIndex((O) => O[n.itemValue] === i.value) : D = E();
2006
- const $ = r.value;
2007
- L(D, $);
2010
+ const x = r.value;
2011
+ L(D, x);
2008
2012
  }
2009
2013
  const A = X("");
2010
2014
  let M;
@@ -2026,8 +2030,8 @@ const Ii = /* @__PURE__ */ ce({
2026
2030
  }
2027
2031
  if (/^[a-z]$/i.test(y.key)) {
2028
2032
  A.value += y.key.toLowerCase();
2029
- const $ = ((D = n.items) == null ? void 0 : D.length) || 0;
2030
- for (let G = 0; G < $; G++)
2033
+ const x = ((D = n.items) == null ? void 0 : D.length) || 0;
2034
+ for (let G = 0; G < x; G++)
2031
2035
  if (n.items[G][n.itemLabel].toLowerCase().startsWith(A.value)) {
2032
2036
  L(G);
2033
2037
  break;
@@ -2068,27 +2072,27 @@ const Ii = /* @__PURE__ */ ce({
2068
2072
  return U().indexOf(document.activeElement);
2069
2073
  }
2070
2074
  function E() {
2071
- const y = U(), D = y.find(($) => N($));
2075
+ const y = U(), D = y.find((x) => N(x));
2072
2076
  return D ? y.indexOf(D) : -1;
2073
2077
  }
2074
2078
  function I() {
2075
- const y = U(), D = [...y].reverse().find(($) => N($));
2079
+ const y = U(), D = [...y].reverse().find((x) => N(x));
2076
2080
  return D ? y.indexOf(D) : -1;
2077
2081
  }
2078
- function V(y, D, $) {
2079
- return D === "prev" && y <= 0 || D === "next" && y === $.length - 1;
2082
+ function V(y, D, x) {
2083
+ return D === "prev" && y <= 0 || D === "next" && y === x.length - 1;
2080
2084
  }
2081
2085
  function ne(y) {
2082
2086
  const D = Y();
2083
2087
  return le(D, y);
2084
2088
  }
2085
2089
  function le(y, D) {
2086
- const $ = U();
2087
- if (V(y, D, $))
2090
+ const x = U();
2091
+ if (V(y, D, x))
2088
2092
  return y;
2089
2093
  let G = y + (D === "next" ? 1 : -1);
2090
- for (; !N($[G]); ) {
2091
- if (V(G, D, $))
2094
+ for (; !N(x[G]); ) {
2095
+ if (V(G, D, x))
2092
2096
  return y;
2093
2097
  G += D === "next" ? 1 : -1;
2094
2098
  }
@@ -2099,7 +2103,7 @@ const Ii = /* @__PURE__ */ ce({
2099
2103
  }
2100
2104
  function g(y) {
2101
2105
  var D;
2102
- return y ? (D = n.items) == null ? void 0 : D.filter(($) => $.group === y) : n.items;
2106
+ return y ? (D = n.items) == null ? void 0 : D.filter((x) => x.group === y) : n.items;
2103
2107
  }
2104
2108
  return Ce(
2105
2109
  i,
@@ -2122,18 +2126,18 @@ const Ii = /* @__PURE__ */ ce({
2122
2126
  tabindex: n.disabled ? -1 : 0,
2123
2127
  onFocus: k,
2124
2128
  onMousedown: h,
2125
- onMouseup: x,
2129
+ onMouseup: _,
2126
2130
  onKeydown: P
2127
2131
  }, {
2128
2132
  default: H(() => [
2129
2133
  q(y.$slots, "default", {}, () => [
2130
- (m(!0), w(we, null, Ve(o.value, ($, G) => (m(), se(u(os), {
2131
- id: $.id,
2132
- key: $.id,
2133
- title: o.value.length === 1 ? void 0 : $.title
2134
+ (m(!0), w(we, null, Ve(o.value, (x, G) => (m(), se(u(os), {
2135
+ id: x.id,
2136
+ key: x.id,
2137
+ title: o.value.length === 1 ? void 0 : x.title
2134
2138
  }, {
2135
2139
  default: H(() => [
2136
- (m(!0), w(we, null, Ve(g($.id), (O, te) => (m(), se(u(ss), {
2140
+ (m(!0), w(we, null, Ve(g(x.id), (O, te) => (m(), se(u(ss), {
2137
2141
  key: O[n.itemValue],
2138
2142
  ref_for: !0,
2139
2143
  ref_key: "listItemsRef",
@@ -2142,7 +2146,7 @@ const Ii = /* @__PURE__ */ ce({
2142
2146
  label: O[n.itemLabel],
2143
2147
  description: O.description,
2144
2148
  icon: O.icon,
2145
- disabled: n.disabled || $.disabled || O.disabled,
2149
+ disabled: n.disabled || x.disabled || O.disabled,
2146
2150
  highlighted: n.highlighted === O[n.itemValue],
2147
2151
  selectable: n.selectable || n.multiple || O.selectable,
2148
2152
  onClick: () => d(O[n.itemValue]),
@@ -2242,7 +2246,7 @@ const Ii = /* @__PURE__ */ ce({
2242
2246
  "aria-label": a.label,
2243
2247
  "aria-selected": a.disabled ? void 0 : l.value,
2244
2248
  onKeydown: i,
2245
- onClick: pt(o, ["stop", "prevent"])
2249
+ onClick: dt(o, ["stop", "prevent"])
2246
2250
  }, [
2247
2251
  q(c.$slots, "prepend"),
2248
2252
  ee("div", Wu, [
@@ -2399,14 +2403,14 @@ function sd() {
2399
2403
  }
2400
2404
  function od(t) {
2401
2405
  const e = sd();
2402
- return _(() => (e.value, !!t()));
2406
+ return $(() => (e.value, !!t()));
2403
2407
  }
2404
2408
  function id(t, e, a = {}) {
2405
2409
  const { window: n = Rl, ...l } = a;
2406
2410
  let r;
2407
2411
  const s = od(() => n && "ResizeObserver" in n), o = () => {
2408
2412
  r && (r.disconnect(), r = void 0);
2409
- }, i = _(() => {
2413
+ }, i = $(() => {
2410
2414
  const d = ta(t);
2411
2415
  return Array.isArray(d) ? d.map((v) => dl(v)) : [dl(d)];
2412
2416
  }), c = Ce(
@@ -2802,17 +2806,17 @@ var pr = {
2802
2806
  }, c = function(N, g) {
2803
2807
  var y = typeof (g == null ? void 0 : g.composedPath) == "function" ? g.composedPath() : void 0;
2804
2808
  return s.containerGroups.findIndex(function(D) {
2805
- var $ = D.container, G = D.tabbableNodes;
2806
- return $.contains(N) || // fall back to explicit tabbable search which will take into consideration any
2809
+ var x = D.container, G = D.tabbableNodes;
2810
+ return x.contains(N) || // fall back to explicit tabbable search which will take into consideration any
2807
2811
  // web components if the `tabbableOptions.getShadowRoot` option was used for
2808
2812
  // the trap, enabling shadow DOM support in tabbable (`Node.contains()` doesn't
2809
2813
  // look inside web components even if open)
2810
- (y == null ? void 0 : y.includes($)) || G.find(function(O) {
2814
+ (y == null ? void 0 : y.includes(x)) || G.find(function(O) {
2811
2815
  return O === N;
2812
2816
  });
2813
2817
  });
2814
2818
  }, p = function(N) {
2815
- var g = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, y = g.hasFallback, D = y === void 0 ? !1 : y, $ = g.params, G = $ === void 0 ? [] : $, O = r[N];
2819
+ var g = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, y = g.hasFallback, D = y === void 0 ? !1 : y, x = g.params, G = x === void 0 ? [] : x, O = r[N];
2816
2820
  if (typeof O == "function" && (O = O.apply(void 0, Sd(G))), O === !0 && (O = void 0), !O) {
2817
2821
  if (O === void 0 || O === !1)
2818
2822
  return O;
@@ -2848,7 +2852,7 @@ var pr = {
2848
2852
  return N;
2849
2853
  }, v = function() {
2850
2854
  if (s.containerGroups = s.containers.map(function(N) {
2851
- var g = Dd(N, r.tabbableOptions), y = Td(N, r.tabbableOptions), D = g.length > 0 ? g[0] : void 0, $ = g.length > 0 ? g[g.length - 1] : void 0, G = y.find(function(z) {
2855
+ var g = Dd(N, r.tabbableOptions), y = Td(N, r.tabbableOptions), D = g.length > 0 ? g[0] : void 0, x = g.length > 0 ? g[g.length - 1] : void 0, G = y.find(function(z) {
2852
2856
  return ya(z);
2853
2857
  }), O = y.slice().reverse().find(function(z) {
2854
2858
  return ya(z);
@@ -2864,7 +2868,7 @@ var pr = {
2864
2868
  /** First tabbable node in container, __tabindex__ order; `undefined` if none. */
2865
2869
  firstTabbableNode: D,
2866
2870
  /** Last tabbable node in container, __tabindex__ order; `undefined` if none. */
2867
- lastTabbableNode: $,
2871
+ lastTabbableNode: x,
2868
2872
  // NOTE: DOM order is NOT NECESSARILY "document position" order, but figuring that out
2869
2873
  // would require more than just https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition
2870
2874
  // because that API doesn't work with Shadow DOM as well as it should (@see
@@ -2905,10 +2909,10 @@ var pr = {
2905
2909
  var g = N.activeElement;
2906
2910
  if (g)
2907
2911
  return g.shadowRoot && g.shadowRoot.activeElement !== null ? h(g.shadowRoot) : g;
2908
- }, x = function(N) {
2912
+ }, _ = function(N) {
2909
2913
  if (N !== !1 && N !== h(document)) {
2910
2914
  if (!N || !N.focus) {
2911
- x(d());
2915
+ _(d());
2912
2916
  return;
2913
2917
  }
2914
2918
  N.focus({
@@ -2921,14 +2925,14 @@ var pr = {
2921
2925
  });
2922
2926
  return g || (g === !1 ? !1 : N);
2923
2927
  }, A = function(N) {
2924
- var g = N.target, y = N.event, D = N.isBackward, $ = D === void 0 ? !1 : D;
2928
+ var g = N.target, y = N.event, D = N.isBackward, x = D === void 0 ? !1 : D;
2925
2929
  g = g || ln(y), v();
2926
2930
  var G = null;
2927
2931
  if (s.tabbableGroups.length > 0) {
2928
2932
  var O = c(g, y), te = O >= 0 ? s.containerGroups[O] : void 0;
2929
2933
  if (O < 0)
2930
- $ ? G = s.tabbableGroups[s.tabbableGroups.length - 1].lastTabbableNode : G = s.tabbableGroups[0].firstTabbableNode;
2931
- else if ($) {
2934
+ x ? G = s.tabbableGroups[s.tabbableGroups.length - 1].lastTabbableNode : G = s.tabbableGroups[0].firstTabbableNode;
2935
+ else if (x) {
2932
2936
  var z = s.tabbableGroups.findIndex(function(f) {
2933
2937
  var B = f.firstTabbableNode;
2934
2938
  return g === B;
@@ -2973,7 +2977,7 @@ var pr = {
2973
2977
  y && (s.mostRecentlyFocusedNode = g);
2974
2978
  else {
2975
2979
  N.stopImmediatePropagation();
2976
- var D, $ = !0;
2980
+ var D, x = !0;
2977
2981
  if (s.mostRecentlyFocusedNode)
2978
2982
  if (oa(s.mostRecentlyFocusedNode) > 0) {
2979
2983
  var G = c(s.mostRecentlyFocusedNode), O = s.containerGroups[G].tabbableNodes;
@@ -2981,22 +2985,22 @@ var pr = {
2981
2985
  var te = O.findIndex(function(z) {
2982
2986
  return z === s.mostRecentlyFocusedNode;
2983
2987
  });
2984
- te >= 0 && (r.isKeyForward(s.recentNavEvent) ? te + 1 < O.length && (D = O[te + 1], $ = !1) : te - 1 >= 0 && (D = O[te - 1], $ = !1));
2988
+ te >= 0 && (r.isKeyForward(s.recentNavEvent) ? te + 1 < O.length && (D = O[te + 1], x = !1) : te - 1 >= 0 && (D = O[te - 1], x = !1));
2985
2989
  }
2986
2990
  } else
2987
2991
  s.containerGroups.some(function(z) {
2988
2992
  return z.tabbableNodes.some(function(C) {
2989
2993
  return oa(C) > 0;
2990
2994
  });
2991
- }) || ($ = !1);
2995
+ }) || (x = !1);
2992
2996
  else
2993
- $ = !1;
2994
- $ && (D = A({
2997
+ x = !1;
2998
+ x && (D = A({
2995
2999
  // move FROM the MRU node, not event-related node (which will be the node that is
2996
3000
  // outside the trap causing the focus escape we're trying to fix)
2997
3001
  target: s.mostRecentlyFocusedNode,
2998
3002
  isBackward: r.isKeyBackward(s.recentNavEvent)
2999
- })), x(D || s.mostRecentlyFocusedNode || d());
3003
+ })), _(D || s.mostRecentlyFocusedNode || d());
3000
3004
  }
3001
3005
  s.recentNavEvent = void 0;
3002
3006
  }, T = function(N) {
@@ -3006,7 +3010,7 @@ var pr = {
3006
3010
  event: N,
3007
3011
  isBackward: g
3008
3012
  });
3009
- y && (Fa(N) && N.preventDefault(), x(y));
3013
+ y && (Fa(N) && N.preventDefault(), _(y));
3010
3014
  }, L = function(N) {
3011
3015
  (r.isKeyForward(N) || r.isKeyBackward(N)) && T(N, r.isKeyBackward(N));
3012
3016
  }, U = function(N) {
@@ -3017,8 +3021,8 @@ var pr = {
3017
3021
  }, Y = function() {
3018
3022
  if (s.active)
3019
3023
  return pr.activateTrap(l, o), s.delayInitialFocusTimer = r.delayInitialFocus ? mr(function() {
3020
- x(d());
3021
- }) : x(d()), n.addEventListener("focusin", P, !0), n.addEventListener("mousedown", M, {
3024
+ _(d());
3025
+ }) : _(d()), n.addEventListener("focusin", P, !0), n.addEventListener("mousedown", M, {
3022
3026
  capture: !0,
3023
3027
  passive: !1
3024
3028
  }), n.addEventListener("touchstart", M, {
@@ -3037,11 +3041,11 @@ var pr = {
3037
3041
  }, I = function(N) {
3038
3042
  var g = N.some(function(y) {
3039
3043
  var D = Array.from(y.removedNodes);
3040
- return D.some(function($) {
3041
- return $ === s.mostRecentlyFocusedNode;
3044
+ return D.some(function(x) {
3045
+ return x === s.mostRecentlyFocusedNode;
3042
3046
  });
3043
3047
  });
3044
- g && x(d());
3048
+ g && _(d());
3045
3049
  }, V = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(I) : void 0, ne = function() {
3046
3050
  V && (V.disconnect(), s.active && !s.paused && s.containers.map(function(N) {
3047
3051
  V.observe(N, {
@@ -3062,10 +3066,10 @@ var pr = {
3062
3066
  return this;
3063
3067
  var g = i(N, "onActivate"), y = i(N, "onPostActivate"), D = i(N, "checkCanFocusTrap");
3064
3068
  D || v(), s.active = !0, s.paused = !1, s.nodeFocusedBeforeActivation = n.activeElement, g == null || g();
3065
- var $ = function() {
3069
+ var x = function() {
3066
3070
  D && v(), Y(), ne(), y == null || y();
3067
3071
  };
3068
- return D ? (D(s.containers.concat()).then($, $), this) : ($(), this);
3072
+ return D ? (D(s.containers.concat()).then(x, x), this) : (x(), this);
3069
3073
  },
3070
3074
  deactivate: function(N) {
3071
3075
  if (!s.active)
@@ -3076,14 +3080,14 @@ var pr = {
3076
3080
  checkCanReturnFocus: r.checkCanReturnFocus
3077
3081
  }, N);
3078
3082
  clearTimeout(s.delayInitialFocusTimer), s.delayInitialFocusTimer = void 0, E(), s.active = !1, s.paused = !1, ne(), pr.deactivateTrap(l, o);
3079
- var y = i(g, "onDeactivate"), D = i(g, "onPostDeactivate"), $ = i(g, "checkCanReturnFocus"), G = i(g, "returnFocus", "returnFocusOnDeactivate");
3083
+ var y = i(g, "onDeactivate"), D = i(g, "onPostDeactivate"), x = i(g, "checkCanReturnFocus"), G = i(g, "returnFocus", "returnFocusOnDeactivate");
3080
3084
  y == null || y();
3081
3085
  var O = function() {
3082
3086
  mr(function() {
3083
- G && x(k(s.nodeFocusedBeforeActivation)), D == null || D();
3087
+ G && _(k(s.nodeFocusedBeforeActivation)), D == null || D();
3084
3088
  });
3085
3089
  };
3086
- return G && $ ? ($(k(s.nodeFocusedBeforeActivation)).then(O, O), this) : (O(), this);
3090
+ return G && x ? (x(k(s.nodeFocusedBeforeActivation)).then(O, O), this) : (O(), this);
3087
3091
  },
3088
3092
  pause: function(N) {
3089
3093
  return s.active ? (s.manuallyPaused = !0, this._setPausedState(!0, N)) : this;
@@ -3111,8 +3115,8 @@ var pr = {
3111
3115
  var y = i(g, "onPause"), D = i(g, "onPostPause");
3112
3116
  y == null || y(), E(), ne(), D == null || D();
3113
3117
  } else {
3114
- var $ = i(g, "onUnpause"), G = i(g, "onPostUnpause");
3115
- $ == null || $(), v(), Y(), ne(), G == null || G();
3118
+ var x = i(g, "onUnpause"), G = i(g, "onPostUnpause");
3119
+ x == null || x(), v(), Y(), ne(), G == null || G();
3116
3120
  }
3117
3121
  return this;
3118
3122
  }
@@ -3260,14 +3264,14 @@ const Zd = () => {
3260
3264
  }
3261
3265
  }), ec = _e(Jd), rn = 8;
3262
3266
  function tc(t, e, a, n) {
3263
- const l = (n == null ? void 0 : n.offset) ?? 0, r = (n == null ? void 0 : n.crossOffset) ?? 0, s = (n == null ? void 0 : n.placement) ?? "bottom", o = t.getBoundingClientRect(), i = e.getBoundingClientRect(), c = a == null ? void 0 : a.getBoundingClientRect(), p = ac(o, i, s, l), d = oc(o, i, p), v = lc(d, p, l), h = rc(v, p, r), x = nc(h, i, p);
3267
+ const l = (n == null ? void 0 : n.offset) ?? 0, r = (n == null ? void 0 : n.crossOffset) ?? 0, s = (n == null ? void 0 : n.placement) ?? "bottom", o = t.getBoundingClientRect(), i = e.getBoundingClientRect(), c = a == null ? void 0 : a.getBoundingClientRect(), p = ac(o, i, s, l), d = oc(o, i, p), v = lc(d, p, l), h = rc(v, p, r), _ = nc(h, i, p);
3264
3268
  let k;
3265
3269
  if (n != null && n.arrow) {
3266
3270
  if (!c)
3267
3271
  throw new Error("[Quidgest UI] The arrow element must exist to compute its position");
3268
- k = sc(x, o, i, c, p);
3272
+ k = sc(_, o, i, c, p);
3269
3273
  }
3270
- return { overlayCoords: x, arrowCoords: k, placement: p };
3274
+ return { overlayCoords: _, arrowCoords: k, placement: p };
3271
3275
  }
3272
3276
  function ac(t, e, a, n) {
3273
3277
  const l = vr(t, e, a, n);
@@ -3434,7 +3438,7 @@ const cc = ["id"], fc = ["role"], pc = /* @__PURE__ */ ce({
3434
3438
  }),
3435
3439
  emits: /* @__PURE__ */ Ie(["enter", "leave"], ["update:modelValue"]),
3436
3440
  setup(t, { emit: e }) {
3437
- const a = t, n = e, l = Fe(t, "modelValue"), { class: r } = Ga(), s = _(() => [
3441
+ const a = t, n = e, l = Fe(t, "modelValue"), { class: r } = Ga(), s = $(() => [
3438
3442
  "q-overlay",
3439
3443
  `q-overlay--${qa(d.placement)}`,
3440
3444
  r.value,
@@ -3444,19 +3448,19 @@ const cc = ["id"], fc = ["role"], pc = /* @__PURE__ */ ce({
3444
3448
  "q-overlay--center": a.centerVertically
3445
3449
  },
3446
3450
  a.class
3447
- ]), o = _(() => a.anchor === void 0), i = _(() => l.value && !a.nonModal), c = _(() => (l.value || d.animating) && a.scrollLock), p = _(() => !a.inline && (l.value || d.animating)), d = Gt({
3451
+ ]), o = $(() => a.anchor === void 0), i = $(() => l.value && !a.nonModal), c = $(() => (l.value || d.animating) && a.scrollLock), p = $(() => !a.inline && (l.value || d.animating)), d = Zt({
3448
3452
  animating: !1,
3449
3453
  top: 0,
3450
3454
  left: 0,
3451
3455
  width: 0,
3452
3456
  placement: a.placement
3453
- }), v = Gt({
3457
+ }), v = Zt({
3454
3458
  top: void 0,
3455
3459
  left: void 0,
3456
3460
  hidden: !0
3457
3461
  });
3458
3462
  Ce(l, N);
3459
- const h = _(() => {
3463
+ const h = $(() => {
3460
3464
  if (o.value) return;
3461
3465
  const B = y(), de = a.width === "anchor", Oe = de ? B == null ? void 0 : B.getBoundingClientRect().width : void 0;
3462
3466
  return {
@@ -3464,7 +3468,7 @@ const cc = ["id"], fc = ["role"], pc = /* @__PURE__ */ ce({
3464
3468
  left: `${d.left}px`,
3465
3469
  width: Oe !== void 0 ? `${Oe}px` : void 0
3466
3470
  };
3467
- }), x = _(() => {
3471
+ }), _ = $(() => {
3468
3472
  if (a.arrow)
3469
3473
  return {
3470
3474
  top: v.top !== void 0 ? `${v.top}px` : void 0,
@@ -3539,7 +3543,7 @@ const cc = ["id"], fc = ["role"], pc = /* @__PURE__ */ ce({
3539
3543
  function D(B) {
3540
3544
  a.persistent && B.preventDefault();
3541
3545
  }
3542
- function $(B) {
3546
+ function x(B) {
3543
3547
  var Se;
3544
3548
  if (a.persistent) {
3545
3549
  B.preventDefault();
@@ -3647,7 +3651,7 @@ const cc = ["id"], fc = ["role"], pc = /* @__PURE__ */ ce({
3647
3651
  }, [
3648
3652
  ye(u(us), {
3649
3653
  onDismiss: G,
3650
- onInteractOutside: $,
3654
+ onInteractOutside: x,
3651
3655
  onPointerDownOutside: D
3652
3656
  }, {
3653
3657
  default: H(() => [
@@ -3670,7 +3674,7 @@ const cc = ["id"], fc = ["role"], pc = /* @__PURE__ */ ce({
3670
3674
  ref: k,
3671
3675
  role: "presentation",
3672
3676
  class: "q-overlay__arrow",
3673
- style: Ye(x.value)
3677
+ style: Ye(_.value)
3674
3678
  }, null, 4)) : R("", !0),
3675
3679
  q(B.$slots, "default")
3676
3680
  ], 16, fc)
@@ -3733,25 +3737,25 @@ const cc = ["id"], fc = ["role"], pc = /* @__PURE__ */ ce({
3733
3737
  setup(t, { expose: e, emit: a }) {
3734
3738
  const n = t, l = a, r = Fe(t, "modelValue"), s = Fe(t, "open"), o = Fe(t, "search"), i = X(void 0), c = X(null), p = X(null), d = X(null), v = X(null), h = X(null);
3735
3739
  Ge(Q);
3736
- const x = _(() => n.clearable && !n.readonly && !n.disabled), k = _(() => {
3740
+ const _ = $(() => n.clearable && !n.readonly && !n.disabled), k = $(() => {
3737
3741
  var C;
3738
3742
  return n.filterMode === "manual" || !L.value ? n.items ?? [] : ((C = n.items) == null ? void 0 : C.filter(
3739
3743
  (S) => S[n.itemLabel].toLowerCase().startsWith(o.value.toLowerCase())
3740
3744
  )) ?? [];
3741
- }), A = _(() => {
3745
+ }), A = $(() => {
3742
3746
  var C;
3743
3747
  return (C = n.items) == null ? void 0 : C.find((S) => S[n.itemValue] === r.value);
3744
- }), M = _(() => A.value === void 0), P = _(() => {
3748
+ }), M = $(() => A.value === void 0), P = $(() => {
3745
3749
  const C = i.value;
3746
3750
  if (C !== void 0 && k.value[C])
3747
3751
  return k.value[C];
3748
- }), T = _(() => {
3752
+ }), T = $(() => {
3749
3753
  var S;
3750
3754
  if (i.value === void 0)
3751
3755
  return;
3752
3756
  const C = (S = p.value) == null ? void 0 : S.getItem(i.value);
3753
3757
  return C == null ? void 0 : C.id;
3754
- }), L = _(() => {
3758
+ }), L = $(() => {
3755
3759
  var C;
3756
3760
  return o.value.length > 0 && o.value !== ((C = A.value) == null ? void 0 : C[n.itemLabel]);
3757
3761
  });
@@ -3764,7 +3768,7 @@ const cc = ["id"], fc = ["role"], pc = /* @__PURE__ */ ce({
3764
3768
  o.value !== C && (o.value = C);
3765
3769
  }
3766
3770
  function Y() {
3767
- s.value || n.readonly || n.disabled || (l("before-show"), s.value = !0, $());
3771
+ s.value || n.readonly || n.disabled || (l("before-show"), s.value = !0, x());
3768
3772
  }
3769
3773
  function E() {
3770
3774
  s.value && (l("before-hide"), s.value = !1, i.value = void 0);
@@ -3773,7 +3777,7 @@ const cc = ["id"], fc = ["role"], pc = /* @__PURE__ */ ce({
3773
3777
  s.value ? E() : ne();
3774
3778
  }
3775
3779
  function V() {
3776
- x.value && (r.value = n.emptyValue, i.value = void 0, $());
3780
+ _.value && (r.value = n.emptyValue, i.value = void 0, x());
3777
3781
  }
3778
3782
  function ne() {
3779
3783
  if (Y(), A.value !== void 0) {
@@ -3835,14 +3839,14 @@ const cc = ["id"], fc = ["role"], pc = /* @__PURE__ */ ce({
3835
3839
  C.preventDefault(), C.stopPropagation();
3836
3840
  return;
3837
3841
  }
3838
- E(), x.value && !o.value && (r.value = n.emptyValue), Q();
3842
+ E(), _.value && !o.value && (r.value = n.emptyValue), Q();
3839
3843
  }
3840
- function $() {
3844
+ function x() {
3841
3845
  var C, S;
3842
3846
  (S = (C = c.value) == null ? void 0 : C.inputRef) == null || S.focus();
3843
3847
  }
3844
3848
  function G() {
3845
- $();
3849
+ x();
3846
3850
  }
3847
3851
  function O() {
3848
3852
  l("show");
@@ -3918,7 +3922,7 @@ const cc = ["id"], fc = ["role"], pc = /* @__PURE__ */ ce({
3918
3922
  ]),
3919
3923
  append: H(() => [
3920
3924
  q(C.$slots, "append"),
3921
- x.value && o.value ? (m(), se(u(An), {
3925
+ _.value && o.value ? (m(), se(u(An), {
3922
3926
  key: 0,
3923
3927
  ref_key: "clearRef",
3924
3928
  ref: v,
@@ -3937,7 +3941,7 @@ const cc = ["id"], fc = ["role"], pc = /* @__PURE__ */ ce({
3937
3941
  borderless: "",
3938
3942
  tabindex: "-1",
3939
3943
  disabled: n.disabled,
3940
- onMousedown: pt(I, ["stop", "prevent"])
3944
+ onMousedown: dt(I, ["stop", "prevent"])
3941
3945
  }, {
3942
3946
  default: H(() => [
3943
3947
  ye(u(vn), {
@@ -4681,7 +4685,7 @@ function Ue(t, e) {
4681
4685
  const a = t < 0 ? "-" : "", n = Math.abs(t).toString().padStart(e, "0");
4682
4686
  return a + n;
4683
4687
  }
4684
- const Ht = {
4688
+ const Ut = {
4685
4689
  // Year
4686
4690
  y(t, e) {
4687
4691
  const a = t.getFullYear(), n = a > 0 ? a : 1 - a;
@@ -4767,7 +4771,7 @@ const Ht = {
4767
4771
  const n = t.getFullYear(), l = n > 0 ? n : 1 - n;
4768
4772
  return a.ordinalNumber(l, { unit: "year" });
4769
4773
  }
4770
- return Ht.y(t, e);
4774
+ return Ut.y(t, e);
4771
4775
  },
4772
4776
  // Local week-numbering year
4773
4777
  Y: function(t, e, a, n) {
@@ -4870,7 +4874,7 @@ const Ht = {
4870
4874
  switch (e) {
4871
4875
  case "M":
4872
4876
  case "MM":
4873
- return Ht.M(t, e);
4877
+ return Ut.M(t, e);
4874
4878
  // 1st, 2nd, ..., 12th
4875
4879
  case "Mo":
4876
4880
  return a.ordinalNumber(n + 1, { unit: "month" });
@@ -4935,7 +4939,7 @@ const Ht = {
4935
4939
  },
4936
4940
  // Day of the month
4937
4941
  d: function(t, e, a) {
4938
- return e === "do" ? a.ordinalNumber(t.getDate(), { unit: "date" }) : Ht.d(t, e);
4942
+ return e === "do" ? a.ordinalNumber(t.getDate(), { unit: "date" }) : Ut.d(t, e);
4939
4943
  },
4940
4944
  // Day of year
4941
4945
  D: function(t, e, a) {
@@ -5181,11 +5185,11 @@ const Ht = {
5181
5185
  let n = t.getHours() % 12;
5182
5186
  return n === 0 && (n = 12), a.ordinalNumber(n, { unit: "hour" });
5183
5187
  }
5184
- return Ht.h(t, e);
5188
+ return Ut.h(t, e);
5185
5189
  },
5186
5190
  // Hour [0-23]
5187
5191
  H: function(t, e, a) {
5188
- return e === "Ho" ? a.ordinalNumber(t.getHours(), { unit: "hour" }) : Ht.H(t, e);
5192
+ return e === "Ho" ? a.ordinalNumber(t.getHours(), { unit: "hour" }) : Ut.H(t, e);
5189
5193
  },
5190
5194
  // Hour [0-11]
5191
5195
  K: function(t, e, a) {
@@ -5199,15 +5203,15 @@ const Ht = {
5199
5203
  },
5200
5204
  // Minute
5201
5205
  m: function(t, e, a) {
5202
- return e === "mo" ? a.ordinalNumber(t.getMinutes(), { unit: "minute" }) : Ht.m(t, e);
5206
+ return e === "mo" ? a.ordinalNumber(t.getMinutes(), { unit: "minute" }) : Ut.m(t, e);
5203
5207
  },
5204
5208
  // Second
5205
5209
  s: function(t, e, a) {
5206
- return e === "so" ? a.ordinalNumber(t.getSeconds(), { unit: "second" }) : Ht.s(t, e);
5210
+ return e === "so" ? a.ordinalNumber(t.getSeconds(), { unit: "second" }) : Ut.s(t, e);
5207
5211
  },
5208
5212
  // Fraction of second
5209
5213
  S: function(t, e) {
5210
- return Ht.S(t, e);
5214
+ return Ut.S(t, e);
5211
5215
  },
5212
5216
  // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
5213
5217
  X: function(t, e, a) {
@@ -5373,8 +5377,8 @@ function gf(t, e, a) {
5373
5377
  }
5374
5378
  const bf = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, wf = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, _f = /^'([^]*?)'?$/, kf = /''/g, $f = /[a-zA-Z]/;
5375
5379
  function Lt(t, e, a) {
5376
- var p, d, v, h, x, k, A, M;
5377
- const n = va(), l = (a == null ? void 0 : a.locale) ?? n.locale ?? As, r = (a == null ? void 0 : a.firstWeekContainsDate) ?? ((d = (p = a == null ? void 0 : a.locale) == null ? void 0 : p.options) == null ? void 0 : d.firstWeekContainsDate) ?? n.firstWeekContainsDate ?? ((h = (v = n.locale) == null ? void 0 : v.options) == null ? void 0 : h.firstWeekContainsDate) ?? 1, s = (a == null ? void 0 : a.weekStartsOn) ?? ((k = (x = a == null ? void 0 : a.locale) == null ? void 0 : x.options) == null ? void 0 : k.weekStartsOn) ?? n.weekStartsOn ?? ((M = (A = n.locale) == null ? void 0 : A.options) == null ? void 0 : M.weekStartsOn) ?? 0, o = Ae(t, a == null ? void 0 : a.in);
5380
+ var p, d, v, h, _, k, A, M;
5381
+ const n = va(), l = (a == null ? void 0 : a.locale) ?? n.locale ?? As, r = (a == null ? void 0 : a.firstWeekContainsDate) ?? ((d = (p = a == null ? void 0 : a.locale) == null ? void 0 : p.options) == null ? void 0 : d.firstWeekContainsDate) ?? n.firstWeekContainsDate ?? ((h = (v = n.locale) == null ? void 0 : v.options) == null ? void 0 : h.firstWeekContainsDate) ?? 1, s = (a == null ? void 0 : a.weekStartsOn) ?? ((k = (_ = a == null ? void 0 : a.locale) == null ? void 0 : _.options) == null ? void 0 : k.weekStartsOn) ?? n.weekStartsOn ?? ((M = (A = n.locale) == null ? void 0 : A.options) == null ? void 0 : M.weekStartsOn) ?? 0, o = Ae(t, a == null ? void 0 : a.in);
5378
5382
  if (!Ya(o))
5379
5383
  throw new RangeError("Invalid time value");
5380
5384
  let i = e.match(wf).map((P) => {
@@ -5426,7 +5430,7 @@ function Tf(t, e) {
5426
5430
  function Mf() {
5427
5431
  return Object.assign({}, va());
5428
5432
  }
5429
- function zt(t, e) {
5433
+ function Qt(t, e) {
5430
5434
  return Ae(t, e == null ? void 0 : e.in).getHours();
5431
5435
  }
5432
5436
  function Af(t, e) {
@@ -6268,8 +6272,8 @@ class Kf extends Qe {
6268
6272
  }
6269
6273
  }
6270
6274
  function Yl(t, e, a) {
6271
- var d, v, h, x;
6272
- const n = va(), l = (a == null ? void 0 : a.weekStartsOn) ?? ((v = (d = a == null ? void 0 : a.locale) == null ? void 0 : d.options) == null ? void 0 : v.weekStartsOn) ?? n.weekStartsOn ?? ((x = (h = n.locale) == null ? void 0 : h.options) == null ? void 0 : x.weekStartsOn) ?? 0, r = Ae(t, a == null ? void 0 : a.in), s = r.getDay(), i = (e % 7 + 7) % 7, c = 7 - l, p = e < 0 || e > 6 ? e - (s + c) % 7 : (i + c) % 7 - (s + c) % 7;
6275
+ var d, v, h, _;
6276
+ const n = va(), l = (a == null ? void 0 : a.weekStartsOn) ?? ((v = (d = a == null ? void 0 : a.locale) == null ? void 0 : d.options) == null ? void 0 : v.weekStartsOn) ?? n.weekStartsOn ?? ((_ = (h = n.locale) == null ? void 0 : h.options) == null ? void 0 : _.weekStartsOn) ?? 0, r = Ae(t, a == null ? void 0 : a.in), s = r.getDay(), i = (e % 7 + 7) % 7, c = 7 - l, p = e < 0 || e > 6 ? e - (s + c) % 7 : (i + c) % 7 - (s + c) % 7;
6273
6277
  return xt(r, p, a);
6274
6278
  }
6275
6279
  class Gf extends Qe {
@@ -7025,16 +7029,16 @@ function vl(t, e, a, n) {
7025
7029
  const h = p.map((E) => E.priority).sort((E, I) => I - E).filter((E, I, V) => V.indexOf(E) === I).map(
7026
7030
  (E) => p.filter((I) => I.priority === E).sort((I, V) => V.subPriority - I.subPriority)
7027
7031
  ).map((E) => E[0]);
7028
- let x = Ae(a, n == null ? void 0 : n.in);
7029
- if (isNaN(+x)) return l();
7032
+ let _ = Ae(a, n == null ? void 0 : n.in);
7033
+ if (isNaN(+_)) return l();
7030
7034
  const k = {};
7031
7035
  for (const E of h) {
7032
- if (!E.validate(x, c))
7036
+ if (!E.validate(_, c))
7033
7037
  return l();
7034
- const I = E.set(x, k, c);
7035
- Array.isArray(I) ? (x = I[0], Object.assign(k, I[1])) : x = I;
7038
+ const I = E.set(_, k, c);
7039
+ Array.isArray(I) ? (_ = I[0], Object.assign(k, I[1])) : _ = I;
7036
7040
  }
7037
- return x;
7041
+ return _;
7038
7042
  }
7039
7043
  function $p(t) {
7040
7044
  return t.match(bp)[1].replace(wp, "'");
@@ -7092,8 +7096,8 @@ function Tp(t, e, a) {
7092
7096
  hours: o = 0,
7093
7097
  minutes: i = 0,
7094
7098
  seconds: c = 0
7095
- } = e, p = Aa(t, l + n * 12, a), d = Rs(p, s + r * 7, a), v = i + o * 60, x = (c + v * 60) * 1e3;
7096
- return je(t, +d - x);
7099
+ } = e, p = Aa(t, l + n * 12, a), d = Rs(p, s + r * 7, a), v = i + o * 60, _ = (c + v * 60) * 1e3;
7100
+ return je(t, +d - _);
7097
7101
  }
7098
7102
  function Vs(t, e, a) {
7099
7103
  return Ll(t, -e, a);
@@ -7329,13 +7333,13 @@ const Sp = (t, e, a) => {
7329
7333
  value: s
7330
7334
  };
7331
7335
  });
7332
- }, Ip = (t) => [12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11][t], ct = (t) => {
7336
+ }, Ip = (t) => [12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11][t], ft = (t) => {
7333
7337
  const e = u(t);
7334
7338
  return e != null && e.$el ? e == null ? void 0 : e.$el : e;
7335
7339
  }, Op = (t) => ({ type: "dot", ...t ?? {} }), zs = (t) => Array.isArray(t) ? !!t[0] && !!t[1] : !1, Kl = {
7336
7340
  prop: (t) => `"${t}" prop must be enabled!`,
7337
7341
  dateArr: (t) => `You need to use array as "model-value" binding in order to support "${t}"`
7338
- }, ft = (t) => t, Ar = (t) => t === 0 ? t : !t || isNaN(+t) ? null : +t, Cr = (t) => t === null, Qs = (t) => {
7342
+ }, pt = (t) => t, Ar = (t) => t === 0 ? t : !t || isNaN(+t) ? null : +t, Cr = (t) => t === null, Qs = (t) => {
7339
7343
  if (t)
7340
7344
  return [...t.querySelectorAll("input, button, select, textarea, a[href]")][0];
7341
7345
  }, Ep = (t) => {
@@ -7366,7 +7370,7 @@ const Sp = (t, e, a) => {
7366
7370
  "dp--highlighted": o
7367
7371
  }
7368
7372
  };
7369
- })), Xt = (t, e, a = !1) => {
7373
+ })), Kt = (t, e, a = !1) => {
7370
7374
  t && e.allowStopPropagation && (a && t.stopImmediatePropagation(), t.stopPropagation());
7371
7375
  }, Rp = () => [
7372
7376
  "a[href]",
@@ -7426,7 +7430,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
7426
7430
  }, ht = (t, e) => {
7427
7431
  const a = oe(JSON.parse(JSON.stringify(t))), n = Ke(a, { hours: 0, minutes: 0, seconds: 0, milliseconds: 0 });
7428
7432
  return e ? Sc(n) : n;
7429
- }, Kt = (t, e, a, n) => {
7433
+ }, Gt = (t, e, a, n) => {
7430
7434
  let l = t ? oe(t) : oe();
7431
7435
  return (e || e === 0) && (l = xp(l, +e)), (a || a === 0) && (l = Dp(l, +a)), (n || n === 0) && (l = Ns(l, +n)), Bs(l, 0);
7432
7436
  }, nt = (t, e) => !t || !e ? !1 : Ma(ht(t), ht(e)), Ne = (t, e) => !t || !e ? !1 : $a(ht(t), ht(e)), st = (t, e) => !t || !e ? !1 : fa(ht(t), ht(e)), Ua = (t, e, a) => t != null && t[0] && t != null && t[1] ? st(a, t[0]) && nt(a, t[1]) : t != null && t[0] && e ? st(a, t[0]) && nt(a, e) || nt(a, t[0]) && st(a, e) : !1, At = (t) => {
@@ -7439,7 +7443,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
7439
7443
  minutes: isNaN(+t.minutes) ? void 0 : +t.minutes,
7440
7444
  seconds: isNaN(+t.seconds) ? void 0 : +t.seconds
7441
7445
  }, da = (t) => ({
7442
- hours: zt(t),
7446
+ hours: Qt(t),
7443
7447
  minutes: ea(t),
7444
7448
  seconds: Ta(t)
7445
7449
  }), Us = (t, e) => {
@@ -7466,19 +7470,19 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
7466
7470
  return [a, n];
7467
7471
  }, Ks = (t, e) => {
7468
7472
  const a = {
7469
- hours: zt(oe()),
7473
+ hours: Qt(oe()),
7470
7474
  minutes: ea(oe()),
7471
7475
  seconds: e ? Ta(oe()) : 0
7472
7476
  };
7473
7477
  return Object.assign(a, t);
7474
- }, jt = (t, e, a) => [Ke(oe(t), { date: 1 }), Ke(oe(), { month: e, year: a, date: 1 })], Vt = (t, e, a) => {
7478
+ }, Xt = (t, e, a) => [Ke(oe(t), { date: 1 }), Ke(oe(), { month: e, year: a, date: 1 })], Vt = (t, e, a) => {
7475
7479
  let n = t ? oe(t) : oe();
7476
7480
  return (e || e === 0) && (n = Ls(n, e)), a && (n = Rt(n, a)), n;
7477
7481
  }, Gs = (t, e, a, n, l) => {
7478
7482
  if (!n || l && !e || !l && !a) return !1;
7479
7483
  const r = l ? Ct(t, 1) : Aa(t, 1), s = [Be(r), Pe(r)];
7480
7484
  return l ? !Wp(...s, e) : !Qp(...s, a);
7481
- }, Qp = (t, e, a) => nt(...jt(a, t, e)) || Ne(...jt(a, t, e)), Wp = (t, e, a) => st(...jt(a, t, e)) || Ne(...jt(a, t, e)), Zs = (t, e, a, n, l, r, s) => {
7485
+ }, Qp = (t, e, a) => nt(...Xt(a, t, e)) || Ne(...Xt(a, t, e)), Wp = (t, e, a) => st(...Xt(a, t, e)) || Ne(...Xt(a, t, e)), Zs = (t, e, a, n, l, r, s) => {
7482
7486
  if (typeof e == "function" && !s) return e(t);
7483
7487
  const o = a ? { locale: a } : void 0;
7484
7488
  return Array.isArray(t) ? `${Lt(t[0], r, o)}${l && !t[1] ? "" : n}${t[1] ? Lt(t[1], r, o) : ""}` : Lt(t, r, o);
@@ -7521,7 +7525,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
7521
7525
  }, Js = (t, e, a) => typeof t == "function" ? t({ month: e, year: a }) : !!t.months.find((n) => n.month === e && n.year === a), Zl = (t, e) => typeof t == "function" ? t(e) : t.years.includes(e), bl = (t) => `dp-${Lt(t, "yyyy-MM-dd")}`, Sr = (t, e) => {
7522
7526
  const a = Rs(ht(e), t), n = xt(ht(e), t);
7523
7527
  return { before: a, after: n };
7524
- }, Na = Gt({
7528
+ }, Na = Zt({
7525
7529
  menuFocused: !1,
7526
7530
  shiftKeyInMenu: !1
7527
7531
  }), eo = () => {
@@ -7531,11 +7535,11 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
7531
7535
  Na.shiftKeyInMenu !== a && (Na.shiftKeyInMenu = a);
7532
7536
  };
7533
7537
  return {
7534
- control: _(() => ({ shiftKeyInMenu: Na.shiftKeyInMenu, menuFocused: Na.menuFocused })),
7538
+ control: $(() => ({ shiftKeyInMenu: Na.shiftKeyInMenu, menuFocused: Na.menuFocused })),
7535
7539
  setMenuFocused: t,
7536
7540
  setShiftKey: e
7537
7541
  };
7538
- }, Ze = Gt({
7542
+ }, Ze = Zt({
7539
7543
  monthYear: [],
7540
7544
  calendar: [],
7541
7545
  time: [],
@@ -7547,7 +7551,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
7547
7551
  },
7548
7552
  monthPicker: []
7549
7553
  }), Jn = X(null), on = X(!1), el = X(!1), tl = X(!1), al = X(!1), yt = X(0), rt = X(0), la = () => {
7550
- const t = _(() => on.value ? [...Ze.selectionGrid, Ze.actionRow].filter((d) => d.length) : el.value ? [
7554
+ const t = $(() => on.value ? [...Ze.selectionGrid, Ze.actionRow].filter((d) => d.length) : el.value ? [
7551
7555
  ...Ze.timePicker[0],
7552
7556
  ...Ze.timePicker[1],
7553
7557
  al.value ? [] : [Jn.value],
@@ -7759,9 +7763,9 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
7759
7763
  }, a = () => {
7760
7764
  var Q;
7761
7765
  return t.format ? t.format : t.monthPicker ? "MM/yyyy" : t.timePicker ? e() : t.weekPicker ? `${((Q = A.value) == null ? void 0 : Q.type) === "iso" ? "II" : "ww"}-RR` : t.yearPicker ? "yyyy" : t.quarterPicker ? "QQQ/yyyy" : t.enableTimePicker ? `MM/dd/yyyy, ${e()}` : "MM/dd/yyyy";
7762
- }, n = (Q) => Ks(Q, t.enableSeconds), l = () => L.value.enabled ? t.startTime && Array.isArray(t.startTime) ? [n(t.startTime[0]), n(t.startTime[1])] : null : t.startTime && !Array.isArray(t.startTime) ? n(t.startTime) : null, r = _(() => Kp(t.multiCalendars)), s = _(() => l()), o = _(() => Xp(t.ariaLabels)), i = _(() => em(t.filters)), c = _(() => Zp(t.transitions)), p = _(() => tm(t.actionRow)), d = _(
7766
+ }, n = (Q) => Ks(Q, t.enableSeconds), l = () => L.value.enabled ? t.startTime && Array.isArray(t.startTime) ? [n(t.startTime[0]), n(t.startTime[1])] : null : t.startTime && !Array.isArray(t.startTime) ? n(t.startTime) : null, r = $(() => Kp(t.multiCalendars)), s = $(() => l()), o = $(() => Xp(t.ariaLabels)), i = $(() => em(t.filters)), c = $(() => Zp(t.transitions)), p = $(() => tm(t.actionRow)), d = $(
7763
7767
  () => Gp(t.previewFormat, t.format, a())
7764
- ), v = _(() => Jp(t.textInput)), h = _(() => am(t.inline)), x = _(() => nm(t.config)), k = _(() => lm(t.highlight)), A = _(() => rm(t.weekNumbers)), M = _(() => om(t.timezone)), P = _(() => dm(t.multiDates)), T = _(
7768
+ ), v = $(() => Jp(t.textInput)), h = $(() => am(t.inline)), _ = $(() => nm(t.config)), k = $(() => lm(t.highlight)), A = $(() => rm(t.weekNumbers)), M = $(() => om(t.timezone)), P = $(() => dm(t.multiDates)), T = $(
7765
7769
  () => um({
7766
7770
  minDate: t.minDate,
7767
7771
  maxDate: t.maxDate,
@@ -7774,7 +7778,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
7774
7778
  isMonthPicker: t.monthPicker,
7775
7779
  isYearPicker: t.yearPicker
7776
7780
  })
7777
- ), L = _(() => sm(t.range)), U = _(() => cm(t.ui));
7781
+ ), L = $(() => sm(t.range)), U = $(() => cm(t.ui));
7778
7782
  return {
7779
7783
  defaultedTransitions: c,
7780
7784
  defaultedMultiCalendars: r,
@@ -7785,7 +7789,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
7785
7789
  defaultedPreviewFormat: d,
7786
7790
  defaultedTextInput: v,
7787
7791
  defaultedInline: h,
7788
- defaultedConfig: x,
7792
+ defaultedConfig: _,
7789
7793
  defaultedHighlight: k,
7790
7794
  defaultedWeekNumbers: A,
7791
7795
  defaultedRange: L,
@@ -7815,7 +7819,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
7815
7819
  return Dc(f, B);
7816
7820
  }
7817
7821
  return f;
7818
- }, x = (f, B, de = !1) => Zs(
7822
+ }, _ = (f, B, de = !1) => Zs(
7819
7823
  f,
7820
7824
  e.format,
7821
7825
  e.formatLocale,
@@ -7824,7 +7828,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
7824
7828
  B ?? i(),
7825
7829
  de
7826
7830
  ), k = (f) => f ? e.modelType ? te(f) : {
7827
- hours: zt(f),
7831
+ hours: Qt(f),
7828
7832
  minutes: ea(f),
7829
7833
  seconds: e.enableSeconds ? Ta(f) : 0
7830
7834
  } : null, A = (f) => e.modelType ? te(f) : { month: Be(f), year: Pe(f) }, M = (f) => Array.isArray(f) ? o.value.enabled ? f.map((B) => P(B, Rt(oe(), B))) : sn(
@@ -7836,13 +7840,13 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
7836
7840
  ) : Rt(oe(), +f), P = (f, B) => (typeof f == "string" || typeof f == "number") && e.modelType ? O(f) : B, T = (f) => Array.isArray(f) ? [
7837
7841
  P(
7838
7842
  f[0],
7839
- Kt(null, +f[0].hours, +f[0].minutes, f[0].seconds)
7843
+ Gt(null, +f[0].hours, +f[0].minutes, f[0].seconds)
7840
7844
  ),
7841
7845
  P(
7842
7846
  f[1],
7843
- Kt(null, +f[1].hours, +f[1].minutes, f[1].seconds)
7847
+ Gt(null, +f[1].hours, +f[1].minutes, f[1].seconds)
7844
7848
  )
7845
- ] : P(f, Kt(null, f.hours, f.minutes, f.seconds)), L = (f) => {
7849
+ ] : P(f, Gt(null, f.hours, f.minutes, f.seconds)), L = (f) => {
7846
7850
  const B = Ke(oe(), { date: 1 });
7847
7851
  return Array.isArray(f) ? o.value.enabled ? f.map((de) => P(de, Vt(B, +de.month, +de.year))) : sn(
7848
7852
  () => [
@@ -7881,14 +7885,14 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
7881
7885
  te(f[0]),
7882
7886
  f[1] ? te(f[1]) : wa(r.value.partialRange)
7883
7887
  ];
7884
- }, V = () => n.value[1] ? I() : te(ft(n.value[0])), ne = () => (n.value || []).map((f) => te(f)), le = (f = !1) => (f || E(), e.modelAuto ? V() : o.value.enabled ? ne() : Array.isArray(n.value) ? sn(() => I(), r.value.enabled) : te(ft(n.value))), N = (f) => !f || Array.isArray(f) && !f.length ? null : e.timePicker ? T(ft(f)) : e.monthPicker ? L(ft(f)) : e.yearPicker ? M(ft(f)) : o.value.enabled ? U(ft(f)) : e.weekPicker ? Q(ft(f)) : Y(ft(f)), g = (f) => {
7888
+ }, V = () => n.value[1] ? I() : te(pt(n.value[0])), ne = () => (n.value || []).map((f) => te(f)), le = (f = !1) => (f || E(), e.modelAuto ? V() : o.value.enabled ? ne() : Array.isArray(n.value) ? sn(() => I(), r.value.enabled) : te(pt(n.value))), N = (f) => !f || Array.isArray(f) && !f.length ? null : e.timePicker ? T(pt(f)) : e.monthPicker ? L(pt(f)) : e.yearPicker ? M(pt(f)) : o.value.enabled ? U(pt(f)) : e.weekPicker ? Q(pt(f)) : Y(pt(f)), g = (f) => {
7885
7889
  const B = N(f);
7886
- gl(ft(B)) ? (n.value = ft(B), G()) : (n.value = null, c.value = "");
7890
+ gl(pt(B)) ? (n.value = pt(B), G()) : (n.value = null, c.value = "");
7887
7891
  }, y = () => {
7888
7892
  const f = (B) => Lt(B, l.value.format);
7889
7893
  return `${f(n.value[0])} ${l.value.rangeSeparator} ${n.value[1] ? f(n.value[1]) : ""}`;
7890
- }, D = () => a.value && n.value ? Array.isArray(n.value) ? y() : Lt(n.value, l.value.format) : x(n.value), $ = () => n.value ? o.value.enabled ? n.value.map((f) => x(f)).join("; ") : l.value.enabled && typeof l.value.format == "string" ? D() : x(n.value) : "", G = () => {
7891
- !e.format || typeof e.format == "string" || l.value.enabled && typeof l.value.format == "string" ? c.value = $() : c.value = e.format(n.value);
7894
+ }, D = () => a.value && n.value ? Array.isArray(n.value) ? y() : Lt(n.value, l.value.format) : _(n.value), x = () => n.value ? o.value.enabled ? n.value.map((f) => _(f)).join("; ") : l.value.enabled && typeof l.value.format == "string" ? D() : _(n.value) : "", G = () => {
7895
+ !e.format || typeof e.format == "string" || l.value.enabled && typeof l.value.format == "string" ? c.value = x() : c.value = e.format(n.value);
7892
7896
  }, O = (f) => {
7893
7897
  if (e.utc) {
7894
7898
  const B = new Date(f);
@@ -7899,22 +7903,22 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
7899
7903
  ) : v(
7900
7904
  vl(f, e.modelType, /* @__PURE__ */ new Date(), { locale: d.value })
7901
7905
  ) : v(new Date(f));
7902
- }, te = (f) => f ? e.utc ? Yp(f, e.utc === "preserve", e.enableSeconds) : e.modelType ? e.modelType === "timestamp" ? +h(f) : e.modelType === "iso" ? h(f).toISOString() : e.modelType === "format" && (typeof e.format == "string" || !e.format) ? x(h(f)) : x(h(f), e.modelType, !0) : h(f) : "", z = (f, B = !1, de = !1) => {
7906
+ }, te = (f) => f ? e.utc ? Yp(f, e.utc === "preserve", e.enableSeconds) : e.modelType ? e.modelType === "timestamp" ? +h(f) : e.modelType === "iso" ? h(f).toISOString() : e.modelType === "format" && (typeof e.format == "string" || !e.format) ? _(h(f)) : _(h(f), e.modelType, !0) : h(f) : "", z = (f, B = !1, de = !1) => {
7903
7907
  if (de) return f;
7904
7908
  if (t("update:model-value", f), s.value.emitTimezone && B) {
7905
- const Oe = Array.isArray(f) ? f.map((Z) => _t(ft(Z), s.value.emitTimezone)) : _t(ft(f), s.value.emitTimezone);
7909
+ const Oe = Array.isArray(f) ? f.map((Z) => _t(pt(Z), s.value.emitTimezone)) : _t(pt(f), s.value.emitTimezone);
7906
7910
  t("update:model-timezone-value", Oe);
7907
7911
  }
7908
7912
  }, C = (f) => Array.isArray(n.value) ? o.value.enabled ? n.value.map((B) => f(B)) : [
7909
7913
  f(n.value[0]),
7910
7914
  n.value[1] ? f(n.value[1]) : wa(r.value.partialRange)
7911
- ] : f(ft(n.value)), S = () => {
7915
+ ] : f(pt(n.value)), S = () => {
7912
7916
  if (Array.isArray(n.value)) {
7913
7917
  const f = Nt(n.value[0], e.weekStart), B = n.value[1] ? Nt(n.value[1], e.weekStart) : [];
7914
7918
  return [f.map((de) => oe(de)), B.map((de) => oe(de))];
7915
7919
  }
7916
7920
  return Nt(n.value, e.weekStart).map((f) => oe(f));
7917
- }, F = (f, B) => z(ft(C(f)), !1, B), K = (f) => {
7921
+ }, F = (f, B) => z(pt(C(f)), !1, B), K = (f) => {
7918
7922
  const B = S();
7919
7923
  return f ? B : t("update:model-value", S());
7920
7924
  }, re = (f = !1) => (f || G(), e.monthPicker ? F(A, f) : e.timePicker ? F(k, f) : e.yearPicker ? F(Pe, f) : e.weekPicker ? K(f) : z(le(f), !0, f));
@@ -7937,11 +7941,11 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
7937
7941
  const v = Ke(oe(), { month: t.month, year: t.year });
7938
7942
  let h = p ? Ct(v, 1) : Aa(v, 1);
7939
7943
  t.disableYearSelect && (h = Rt(h, t.year));
7940
- let x = Be(h), k = Pe(h);
7941
- a.value.months.includes(x) && (h = r(h, p), x = Be(h), k = Pe(h)), a.value.years.includes(k) && (h = s(h, p), k = Pe(h)), l(x, k, p, t.preventMinMaxNavigation) && i(x, k, d);
7944
+ let _ = Be(h), k = Pe(h);
7945
+ a.value.months.includes(_) && (h = r(h, p), _ = Be(h), k = Pe(h)), a.value.years.includes(k) && (h = s(h, p), k = Pe(h)), l(_, k, p, t.preventMinMaxNavigation) && i(_, k, d);
7942
7946
  }, i = (p, d, v) => {
7943
7947
  e("update-month-year", { month: p, year: d, fromNav: v });
7944
- }, c = _(() => (p) => Gs(
7948
+ }, c = $(() => (p) => Gs(
7945
7949
  Ke(oe(), { month: t.month, year: t.year }),
7946
7950
  n.value.maxDate,
7947
7951
  n.value.minDate,
@@ -8103,23 +8107,23 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8103
8107
  defaultedInline: i,
8104
8108
  defaultedRange: c,
8105
8109
  defaultedMultiDates: p
8106
- } = tt(n), { isTimeValid: d, isMonthValid: v } = ra(n), { buildMatrix: h } = la(), x = X(null), k = X(null), A = X(!1), M = X({}), P = X(null), T = X(null);
8110
+ } = tt(n), { isTimeValid: d, isMonthValid: v } = ra(n), { buildMatrix: h } = la(), _ = X(null), k = X(null), A = X(!1), M = X({}), P = X(null), T = X(null);
8107
8111
  Ge(() => {
8108
- n.arrowNavigation && h([ct(x), ct(k)], "actionRow"), L(), window.addEventListener("resize", L);
8112
+ n.arrowNavigation && h([ft(_), ft(k)], "actionRow"), L(), window.addEventListener("resize", L);
8109
8113
  }), $t(() => {
8110
8114
  window.removeEventListener("resize", L);
8111
8115
  });
8112
8116
  const L = () => {
8113
8117
  A.value = !1, setTimeout(() => {
8114
8118
  var g, y;
8115
- const D = (g = P.value) == null ? void 0 : g.getBoundingClientRect(), $ = (y = T.value) == null ? void 0 : y.getBoundingClientRect();
8116
- D && $ && (M.value.maxWidth = `${$.width - D.width - 20}px`), A.value = !0;
8119
+ const D = (g = P.value) == null ? void 0 : g.getBoundingClientRect(), x = (y = T.value) == null ? void 0 : y.getBoundingClientRect();
8120
+ D && x && (M.value.maxWidth = `${x.width - D.width - 20}px`), A.value = !0;
8117
8121
  }, 0);
8118
- }, U = _(() => c.value.enabled && !c.value.partialRange && n.internalModelValue ? n.internalModelValue.length === 2 : !0), Q = _(
8122
+ }, U = $(() => c.value.enabled && !c.value.partialRange && n.internalModelValue ? n.internalModelValue.length === 2 : !0), Q = $(
8119
8123
  () => !d.value(n.internalModelValue) || !v.value(n.internalModelValue) || !U.value
8120
8124
  ), Y = () => {
8121
8125
  const g = r.value;
8122
- return n.timePicker || n.monthPicker, g(ft(n.internalModelValue));
8126
+ return n.timePicker || n.monthPicker, g(pt(n.internalModelValue));
8123
8127
  }, E = () => {
8124
8128
  const g = n.internalModelValue;
8125
8129
  return s.value.count > 0 ? `${I(g[0])} - ${I(g[1])}` : [I(g[0]), I(g[1])];
@@ -8130,7 +8134,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8130
8134
  o.value.rangeSeparator,
8131
8135
  n.modelAuto,
8132
8136
  r.value
8133
- ), V = _(() => !n.internalModelValue || !n.menuMount ? "" : typeof r.value == "string" ? Array.isArray(n.internalModelValue) ? n.internalModelValue.length === 2 && n.internalModelValue[1] ? E() : p.value.enabled ? n.internalModelValue.map((g) => `${I(g)}`) : n.modelAuto ? `${I(n.internalModelValue[0])}` : `${I(n.internalModelValue[0])} -` : I(n.internalModelValue) : Y()), ne = () => p.value.enabled ? "; " : " - ", le = _(
8137
+ ), V = $(() => !n.internalModelValue || !n.menuMount ? "" : typeof r.value == "string" ? Array.isArray(n.internalModelValue) ? n.internalModelValue.length === 2 && n.internalModelValue[1] ? E() : p.value.enabled ? n.internalModelValue.map((g) => `${I(g)}`) : n.modelAuto ? `${I(n.internalModelValue[0])}` : `${I(n.internalModelValue[0])} -` : I(n.internalModelValue) : Y()), ne = () => p.value.enabled ? "; " : " - ", le = $(
8134
8138
  () => Array.isArray(V.value) ? V.value.join(ne()) : V.value
8135
8139
  ), N = () => {
8136
8140
  d.value(n.internalModelValue) && v.value(n.internalModelValue) && U.value ? a("select-date") : a("invalid-select");
@@ -8174,7 +8178,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8174
8178
  !u(i).enabled && u(l).showCancel ? (m(), w("button", {
8175
8179
  key: 0,
8176
8180
  ref_key: "cancelButtonRef",
8177
- ref: x,
8181
+ ref: _,
8178
8182
  type: "button",
8179
8183
  class: "dp__action_button dp__action_cancel",
8180
8184
  onClick: y[0] || (y[0] = (D) => g.$emit("close-picker")),
@@ -8228,7 +8232,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8228
8232
  setup(t, { expose: e, emit: a }) {
8229
8233
  const { setSelectionGrid: n, buildMultiLevelMatrix: l, setMonthPicker: r } = la(), s = a, o = t, { defaultedAriaLabels: i, defaultedTextInput: c, defaultedConfig: p } = tt(
8230
8234
  o
8231
- ), { hideNavigationButtons: d } = In(), v = X(!1), h = X(null), x = X(null), k = X([]), A = X(), M = X(null), P = X(0), T = X(null);
8235
+ ), { hideNavigationButtons: d } = In(), v = X(!1), h = X(null), _ = X(null), k = X([]), A = X(), M = X(null), P = X(0), T = X(null);
8232
8236
  Io(() => {
8233
8237
  h.value = null;
8234
8238
  }), Ge(() => {
@@ -8239,19 +8243,19 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8239
8243
  o.arrowNavigation && ((S = o.headerRefs) != null && S.length ? r(C) : n(C));
8240
8244
  }, U = () => {
8241
8245
  var C;
8242
- const S = ct(x);
8246
+ const S = ft(_);
8243
8247
  S && (c.value.enabled || (h.value ? (C = h.value) == null || C.focus({ preventScroll: !0 }) : S.focus({ preventScroll: !0 })), v.value = S.clientHeight < S.scrollHeight);
8244
- }, Q = _(
8248
+ }, Q = $(
8245
8249
  () => ({
8246
8250
  dp__overlay: !0,
8247
8251
  "dp--overlay-absolute": !o.useRelative,
8248
8252
  "dp--overlay-relative": o.useRelative
8249
8253
  })
8250
- ), Y = _(
8254
+ ), Y = $(
8251
8255
  () => o.useRelative ? { height: `${o.height}px`, width: "var(--dp-menu-min-width)" } : void 0
8252
- ), E = _(() => ({
8256
+ ), E = $(() => ({
8253
8257
  dp__overlay_col: !0
8254
- })), I = _(
8258
+ })), I = $(
8255
8259
  () => ({
8256
8260
  dp__btn: !0,
8257
8261
  dp__button: !0,
@@ -8259,7 +8263,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8259
8263
  dp__over_action_scroll: v.value,
8260
8264
  dp__button_bottom: o.isLast
8261
8265
  })
8262
- ), V = _(() => {
8266
+ ), V = $(() => {
8263
8267
  var C, S;
8264
8268
  return {
8265
8269
  dp__overlay_container: !0,
@@ -8274,7 +8278,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8274
8278
  );
8275
8279
  const ne = (C = !0) => {
8276
8280
  Xe().then(() => {
8277
- const S = ct(h), F = ct(x), K = ct(M), re = ct(T), f = K ? K.getBoundingClientRect().height : 0;
8281
+ const S = ft(h), F = ft(_), K = ft(M), re = ft(T), f = K ? K.getBoundingClientRect().height : 0;
8278
8282
  F && (F.getBoundingClientRect().height ? P.value = F.getBoundingClientRect().height - f : P.value = p.value.modeHeight - f), S && re && C && (re.scrollTop = S.offsetTop - re.offsetTop - (P.value / 2 - S.getBoundingClientRect().height) - f);
8279
8283
  });
8280
8284
  }, le = (C) => {
@@ -8288,9 +8292,9 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8288
8292
  }, D = () => {
8289
8293
  var C, S;
8290
8294
  const F = (C = o.headerRefs) != null && C.length ? [o.headerRefs].concat(k.value) : k.value.concat([o.skipButtonRef ? [] : [M.value]]);
8291
- l(ft(F), (S = o.headerRefs) != null && S.length ? "monthPicker" : "selectionGrid");
8292
- }, $ = (C) => {
8293
- o.arrowNavigation || Xt(C, p.value, !0);
8295
+ l(pt(F), (S = o.headerRefs) != null && S.length ? "monthPicker" : "selectionGrid");
8296
+ }, x = (C) => {
8297
+ o.arrowNavigation || Kt(C, p.value, !0);
8294
8298
  }, G = (C) => {
8295
8299
  A.value = C, s("hover-value", C);
8296
8300
  }, O = () => {
@@ -8306,13 +8310,13 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8306
8310
  case Je.esc:
8307
8311
  return g();
8308
8312
  case Je.arrowLeft:
8309
- return $(C);
8313
+ return x(C);
8310
8314
  case Je.arrowRight:
8311
- return $(C);
8315
+ return x(C);
8312
8316
  case Je.arrowUp:
8313
- return $(C);
8317
+ return x(C);
8314
8318
  case Je.arrowDown:
8315
- return $(C);
8319
+ return x(C);
8316
8320
  default:
8317
8321
  return;
8318
8322
  }
@@ -8324,14 +8328,14 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8324
8328
  var F;
8325
8329
  return m(), w("div", {
8326
8330
  ref_key: "gridWrapRef",
8327
- ref: x,
8331
+ ref: _,
8328
8332
  class: ie(Q.value),
8329
8333
  style: Ye(Y.value),
8330
8334
  role: C.useRelative ? void 0 : "dialog",
8331
8335
  "aria-label": C.overlayLabel,
8332
8336
  tabindex: C.useRelative ? void 0 : "0",
8333
8337
  onKeydown: te,
8334
- onClick: S[0] || (S[0] = pt(() => {
8338
+ onClick: S[0] || (S[0] = dt(() => {
8335
8339
  }, ["prevent"]))
8336
8340
  }, [
8337
8341
  ee("div", {
@@ -8359,7 +8363,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8359
8363
  "aria-disabled": f.disabled || void 0,
8360
8364
  tabindex: "0",
8361
8365
  "data-test-id": f.text,
8362
- onClick: pt((de) => le(f), ["prevent"]),
8366
+ onClick: dt((de) => le(f), ["prevent"]),
8363
8367
  onKeydown: (de) => u(wt)(de, () => le(f), !0),
8364
8368
  onMouseover: (de) => G(f.value)
8365
8369
  }, [
@@ -8404,9 +8408,9 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8404
8408
  isMobile: { type: Boolean }
8405
8409
  },
8406
8410
  setup(t) {
8407
- const e = t, a = _(
8411
+ const e = t, a = $(
8408
8412
  () => e.multiCalendars > 0 ? [...Array(e.multiCalendars).keys()] : [0]
8409
- ), n = _(() => ({
8413
+ ), n = $(() => ({
8410
8414
  dp__instance_calendar: e.multiCalendars > 0
8411
8415
  }));
8412
8416
  return (l, r) => (m(), w("div", {
@@ -8473,7 +8477,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8473
8477
  },
8474
8478
  emits: ["toggle-year-picker", "year-select", "handle-year"],
8475
8479
  setup(t, { emit: e }) {
8476
- const a = e, n = t, { showRightIcon: l, showLeftIcon: r } = In(), { defaultedConfig: s, defaultedMultiCalendars: o, defaultedAriaLabels: i, defaultedTransitions: c, defaultedUI: p } = tt(n), { showTransition: d, transitionName: v } = tn(c), h = X(!1), x = (M = !1, P) => {
8480
+ const a = e, n = t, { showRightIcon: l, showLeftIcon: r } = In(), { defaultedConfig: s, defaultedMultiCalendars: o, defaultedAriaLabels: i, defaultedTransitions: c, defaultedUI: p } = tt(n), { showTransition: d, transitionName: v } = tn(c), h = X(!1), _ = (M = !1, P) => {
8477
8481
  h.value = !h.value, a("toggle-year-picker", { flow: M, show: P });
8478
8482
  }, k = (M) => {
8479
8483
  h.value = !1, a("year-select", M);
@@ -8506,8 +8510,8 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8506
8510
  type: "button",
8507
8511
  "aria-label": `${t.year}-${(U = u(i)) == null ? void 0 : U.openYearsOverlay}`,
8508
8512
  "data-test-id": `year-mode-btn-${t.instance}`,
8509
- onClick: P[1] || (P[1] = () => x(!1)),
8510
- onKeydown: P[2] || (P[2] = mn(() => x(!1), ["enter"]))
8513
+ onClick: P[1] || (P[1] = () => _(!1)),
8514
+ onKeydown: P[2] || (P[2] = mn(() => _(!1), ["enter"]))
8511
8515
  }, [
8512
8516
  M.$slots.year ? q(M.$slots, "year", {
8513
8517
  key: 0,
@@ -8550,7 +8554,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8550
8554
  "aria-labels": M.ariaLabels,
8551
8555
  "overlay-label": (I = (E = u(i)) == null ? void 0 : E.yearPicker) == null ? void 0 : I.call(E, !0),
8552
8556
  type: "year",
8553
- onToggle: x,
8557
+ onToggle: _,
8554
8558
  onSelected: P[4] || (P[4] = (V) => k(V))
8555
8559
  }, ze({
8556
8560
  "button-icon": H(() => [
@@ -8605,7 +8609,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8605
8609
  month: c,
8606
8610
  emit: p
8607
8611
  }) => {
8608
- const d = _(() => Xl(s.yearRange, s.locale, s.reverseYears)), v = X([!1]), h = _(() => (V, ne) => {
8612
+ const d = $(() => Xl(s.yearRange, s.locale, s.reverseYears)), v = X([!1]), h = $(() => (V, ne) => {
8609
8613
  const le = Ke(At(/* @__PURE__ */ new Date()), {
8610
8614
  month: c.value(V),
8611
8615
  year: i.value(V)
@@ -8617,11 +8621,11 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8617
8621
  s.preventMinMaxNavigation,
8618
8622
  ne
8619
8623
  );
8620
- }), x = () => Array.isArray(r.value) && t.value.solo && r.value[1], k = () => {
8624
+ }), _ = () => Array.isArray(r.value) && t.value.solo && r.value[1], k = () => {
8621
8625
  for (let V = 0; V < t.value.count; V++)
8622
8626
  if (V === 0)
8623
8627
  l.value[V] = l.value[0];
8624
- else if (V === t.value.count - 1 && x())
8628
+ else if (V === t.value.count - 1 && _())
8625
8629
  l.value[V] = {
8626
8630
  month: Be(r.value[1]),
8627
8631
  year: Pe(r.value[1])
@@ -8652,7 +8656,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8652
8656
  });
8653
8657
  const U = (V, ne) => {
8654
8658
  l.value[ne].year = V, p("update-month-year", { instance: ne, year: V, month: l.value[ne].month }), t.value.count && !t.value.solo && A(ne);
8655
- }, Q = _(() => (V) => Ca(d.value, (ne) => {
8659
+ }, Q = $(() => (V) => Ca(d.value, (ne) => {
8656
8660
  var le;
8657
8661
  const N = i.value(V) === ne.value, g = Ha(
8658
8662
  ne.value,
@@ -8693,7 +8697,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8693
8697
  defaultedMultiDates: d
8694
8698
  } = tt(t), v = () => {
8695
8699
  t.isTextInputDate && L(Pe(oe(t.startDate)), 0);
8696
- }, { modelValue: h, year: x, month: k, calendars: A } = an(t, e, v), M = _(() => Ys(t.formatLocale, t.locale, t.monthNameFormat)), P = X(null), { checkMinMaxRange: T } = ra(t), {
8700
+ }, { modelValue: h, year: _, month: k, calendars: A } = an(t, e, v), M = $(() => Ys(t.formatLocale, t.locale, t.monthNameFormat)), P = X(null), { checkMinMaxRange: T } = ra(t), {
8697
8701
  selectYear: L,
8698
8702
  groupedYears: U,
8699
8703
  showYearPicker: Q,
@@ -8707,7 +8711,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8707
8711
  range: s,
8708
8712
  highlight: o,
8709
8713
  calendars: A,
8710
- year: x,
8714
+ year: _,
8711
8715
  propDates: i,
8712
8716
  month: k,
8713
8717
  filters: p,
@@ -8723,35 +8727,35 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8723
8727
  }, g = (F, K, re) => {
8724
8728
  var f, B;
8725
8729
  const de = le();
8726
- return Array.isArray(de) ? x.value(K) === ((f = de[re]) == null ? void 0 : f.year) && F === ((B = de[re]) == null ? void 0 : B.month) : !1;
8730
+ return Array.isArray(de) ? _.value(K) === ((f = de[re]) == null ? void 0 : f.year) && F === ((B = de[re]) == null ? void 0 : B.month) : !1;
8727
8731
  }, y = (F, K) => {
8728
8732
  if (s.value.enabled) {
8729
8733
  const re = le();
8730
8734
  if (Array.isArray(h.value) && Array.isArray(re)) {
8731
- const f = g(F, K, 0) || g(F, K, 1), B = Vt(At(oe()), F, x.value(K));
8735
+ const f = g(F, K, 0) || g(F, K, 1), B = Vt(At(oe()), F, _.value(K));
8732
8736
  return Ua(h.value, P.value, B) && !f;
8733
8737
  }
8734
8738
  return !1;
8735
8739
  }
8736
8740
  return !1;
8737
- }, D = _(() => (F) => Ca(M.value, (K) => {
8741
+ }, D = $(() => (F) => Ca(M.value, (K) => {
8738
8742
  var re;
8739
8743
  const f = N(F, K.value), B = Ha(
8740
8744
  K.value,
8741
- Us(x.value(F), i.value.minDate),
8742
- js(x.value(F), i.value.maxDate)
8743
- ) || Up(i.value.disabledDates, x.value(F), K.value) || ((re = p.value.months) == null ? void 0 : re.includes(K.value)) || !jp(i.value.allowedDates, x.value(F), K.value), de = y(K.value, F), Oe = Js(o.value, K.value, x.value(F));
8745
+ Us(_.value(F), i.value.minDate),
8746
+ js(_.value(F), i.value.maxDate)
8747
+ ) || Up(i.value.disabledDates, _.value(F), K.value) || ((re = p.value.months) == null ? void 0 : re.includes(K.value)) || !jp(i.value.allowedDates, _.value(F), K.value), de = y(K.value, F), Oe = Js(o.value, K.value, _.value(F));
8744
8748
  return { active: f, disabled: B, isBetween: de, highlighted: Oe };
8745
- })), $ = (F, K) => Vt(At(oe()), F, x.value(K)), G = (F, K) => {
8749
+ })), x = (F, K) => Vt(At(oe()), F, _.value(K)), G = (F, K) => {
8746
8750
  const re = h.value ? h.value : At(/* @__PURE__ */ new Date());
8747
- h.value = Vt(re, F, x.value(K)), e("auto-apply"), e("update-flow-step");
8751
+ h.value = Vt(re, F, _.value(K)), e("auto-apply"), e("update-flow-step");
8748
8752
  }, O = (F, K) => {
8749
- const re = $(F, K);
8750
- s.value.fixedEnd || s.value.fixedStart ? h.value = no(re, h, e, s) : h.value ? T(re, h.value) && (h.value = er(h, $(F, K), e)) : h.value = [$(F, K)], Xe().then(() => {
8753
+ const re = x(F, K);
8754
+ s.value.fixedEnd || s.value.fixedStart ? h.value = no(re, h, e, s) : h.value ? T(re, h.value) && (h.value = er(h, x(F, K), e)) : h.value = [x(F, K)], Xe().then(() => {
8751
8755
  Sn(h.value, e, t.autoApply, t.modelAuto);
8752
8756
  });
8753
8757
  }, te = (F, K) => {
8754
- Jl($(F, K), h, d.value.limit), e("auto-apply", !0);
8758
+ Jl(x(F, K), h, d.value.limit), e("auto-apply", !0);
8755
8759
  }, z = (F, K) => (A.value[K].month = F, S(K, A.value[K].year, F), d.value.enabled ? te(F, K) : s.value.enabled ? O(F, K) : G(F, K)), C = (F, K) => {
8756
8760
  L(F, K), S(K, F, null);
8757
8761
  }, S = (F, K, re) => {
@@ -8765,7 +8769,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8765
8769
  return {
8766
8770
  groupedMonths: D,
8767
8771
  groupedYears: U,
8768
- year: x,
8772
+ year: _,
8769
8773
  isDisabled: V,
8770
8774
  defaultedMultiCalendars: a,
8771
8775
  defaultedAriaLabels: n,
@@ -8782,7 +8786,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8782
8786
  }), e("auto-apply");
8783
8787
  },
8784
8788
  setHoverDate: (F, K) => {
8785
- P.value = $(F, K);
8789
+ P.value = x(F, K);
8786
8790
  },
8787
8791
  selectMonth: z,
8788
8792
  selectYear: C,
@@ -8813,7 +8817,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8813
8817
  "overlay-toggle"
8814
8818
  ],
8815
8819
  setup(t, { expose: e, emit: a }) {
8816
- const n = a, l = Qt(), r = kt(l, "yearMode"), s = t;
8820
+ const n = a, l = Wt(), r = kt(l, "yearMode"), s = t;
8817
8821
  Ge(() => {
8818
8822
  s.shadow || n("mount", null);
8819
8823
  });
@@ -8825,7 +8829,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8825
8829
  defaultedMultiCalendars: d,
8826
8830
  defaultedConfig: v,
8827
8831
  showYearPicker: h,
8828
- modelValue: x,
8832
+ modelValue: _,
8829
8833
  presetDate: k,
8830
8834
  setHoverDate: A,
8831
8835
  selectMonth: M,
@@ -8836,7 +8840,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8836
8840
  getModelMonthYear: Q
8837
8841
  } = xm(s, n);
8838
8842
  return e({ getSidebarProps: () => ({
8839
- modelValue: x,
8843
+ modelValue: _,
8840
8844
  year: c,
8841
8845
  getModelMonthYear: Q,
8842
8846
  selectMonth: M,
@@ -8917,12 +8921,12 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8917
8921
  Ge(() => {
8918
8922
  t.startDate && (n.value && t.focusStartDate || !n.value) && (p.value = Pe(oe(t.startDate)));
8919
8923
  });
8920
- const d = (M) => Array.isArray(n.value) ? n.value.some((P) => Pe(P) === M) : n.value ? Pe(n.value) === M : !1, v = (M) => i.value.enabled && Array.isArray(n.value) ? Ua(n.value, l.value, A(M)) : !1, h = (M) => c.value.allowedDates instanceof Map ? c.value.allowedDates.size ? c.value.allowedDates.has(`${M}`) : !1 : !0, x = (M) => c.value.disabledDates instanceof Map ? c.value.disabledDates.size ? c.value.disabledDates.has(`${M}`) : !1 : !0, k = _(() => Ca(Xl(t.yearRange, t.locale, t.reverseYears), (M) => {
8924
+ const d = (M) => Array.isArray(n.value) ? n.value.some((P) => Pe(P) === M) : n.value ? Pe(n.value) === M : !1, v = (M) => i.value.enabled && Array.isArray(n.value) ? Ua(n.value, l.value, A(M)) : !1, h = (M) => c.value.allowedDates instanceof Map ? c.value.allowedDates.size ? c.value.allowedDates.has(`${M}`) : !1 : !0, _ = (M) => c.value.disabledDates instanceof Map ? c.value.disabledDates.size ? c.value.disabledDates.has(`${M}`) : !1 : !0, k = $(() => Ca(Xl(t.yearRange, t.locale, t.reverseYears), (M) => {
8921
8925
  const P = d(M.value), T = Ha(
8922
8926
  M.value,
8923
8927
  Pa(c.value.minDate),
8924
8928
  Pa(c.value.maxDate)
8925
- ) || o.value.years.includes(M.value) || !h(M.value) || x(M.value), L = v(M.value) && !P, U = Zl(r.value, M.value);
8929
+ ) || o.value.years.includes(M.value) || !h(M.value) || _(M.value), L = v(M.value) && !P, U = Zl(r.value, M.value);
8926
8930
  return { active: P, disabled: T, isBetween: L, highlighted: U };
8927
8931
  })), A = (M) => Rt(At(Wa(/* @__PURE__ */ new Date())), M);
8928
8932
  return {
@@ -9034,7 +9038,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9034
9038
  defaultedConfig: p,
9035
9039
  defaultedRange: d,
9036
9040
  defaultedMultiCalendars: v
9037
- } = tt(l), { transitionName: h, showTransition: x } = tn(i), k = Gt({
9041
+ } = tt(l), { transitionName: h, showTransition: _ } = tn(i), k = Zt({
9038
9042
  hours: !1,
9039
9043
  minutes: !1,
9040
9044
  seconds: !1
@@ -9047,15 +9051,15 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9047
9051
  minutes: b.minutes,
9048
9052
  seconds: l.enableSeconds ? b.seconds : 0,
9049
9053
  milliseconds: 0
9050
- }), Q = _(
9054
+ }), Q = $(
9051
9055
  () => (b) => O(b, l[b]) || E(b, l[b])
9052
- ), Y = _(() => ({ hours: l.hours, minutes: l.minutes, seconds: l.seconds })), E = (b, pe) => d.value.enabled && !d.value.disableTimeRangeValidation ? !l.validateTime(b, pe) : !1, I = (b, pe) => {
9056
+ ), Y = $(() => ({ hours: l.hours, minutes: l.minutes, seconds: l.seconds })), E = (b, pe) => d.value.enabled && !d.value.disableTimeRangeValidation ? !l.validateTime(b, pe) : !1, I = (b, pe) => {
9053
9057
  if (d.value.enabled && !d.value.disableTimeRangeValidation) {
9054
9058
  const ge = pe ? +l[`${b}Increment`] : -+l[`${b}Increment`], me = l[b] + ge;
9055
9059
  return !l.validateTime(b, me);
9056
9060
  }
9057
9061
  return !1;
9058
- }, V = _(() => (b) => !F(+l[b] + +l[`${b}Increment`], b) || I(b, !0)), ne = _(() => (b) => !F(+l[b] - +l[`${b}Increment`], b) || I(b, !1)), le = (b, pe) => ws(Ke(oe(), b), pe), N = (b, pe) => Tp(Ke(oe(), b), pe), g = _(
9062
+ }, V = $(() => (b) => !F(+l[b] + +l[`${b}Increment`], b) || I(b, !0)), ne = $(() => (b) => !F(+l[b] - +l[`${b}Increment`], b) || I(b, !1)), le = (b, pe) => ws(Ke(oe(), b), pe), N = (b, pe) => Tp(Ke(oe(), b), pe), g = $(
9059
9063
  () => ({
9060
9064
  dp__time_col: !0,
9061
9065
  dp__time_col_block: !l.timePickerInline,
@@ -9065,16 +9069,16 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9065
9069
  dp__time_col_sec: l.enableSeconds && l.is24,
9066
9070
  dp__time_col_sec_with_button: l.enableSeconds && !l.is24
9067
9071
  })
9068
- ), y = _(
9072
+ ), y = $(
9069
9073
  () => l.timePickerInline && d.value.enabled && !v.value.count
9070
- ), D = _(() => {
9074
+ ), D = $(() => {
9071
9075
  const b = [{ type: "hours" }];
9072
9076
  return l.enableMinutes && b.push({ type: "", separator: !0 }, {
9073
9077
  type: "minutes"
9074
9078
  }), l.enableSeconds && b.push({ type: "", separator: !0 }, {
9075
9079
  type: "seconds"
9076
9080
  }), b;
9077
- }), $ = _(() => D.value.filter((b) => !b.separator)), G = _(() => (b) => {
9081
+ }), x = $(() => D.value.filter((b) => !b.separator)), G = $(() => (b) => {
9078
9082
  if (b === "hours") {
9079
9083
  const pe = Oe(+l.hours);
9080
9084
  return { text: pe < 10 ? `0${pe}` : `${pe}`, value: pe };
@@ -9101,7 +9105,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9101
9105
  return ge && me ? (Ma(Le, me) || $a(Le, me)) && (fa(Le, ge) || $a(Le, ge)) : ge ? fa(Le, ge) || $a(Le, ge) : me ? Ma(Le, me) || $a(Le, me) : !0;
9102
9106
  }, K = (b) => l[`no${b[0].toUpperCase() + b.slice(1)}Overlay`], re = (b) => {
9103
9107
  K(b) || (k[b] = !k[b], k[b] ? (L.value = !0, n("overlay-opened", b)) : (L.value = !1, n("overlay-closed", b)));
9104
- }, f = (b) => b === "hours" ? zt : b === "minutes" ? ea : Ta, B = () => {
9108
+ }, f = (b) => b === "hours" ? Qt : b === "minutes" ? ea : Ta, B = () => {
9105
9109
  T.value && clearTimeout(T.value);
9106
9110
  }, de = (b, pe = !0, ge) => {
9107
9111
  const me = pe ? le : N, Le = pe ? +l[`${b}Increment`] : -+l[`${b}Increment`];
@@ -9252,10 +9256,10 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9252
9256
  onKeydown: pe[0] || (pe[0] = (me) => u(wt)(me, () => Z(), !0))
9253
9257
  }, $e(A.value), 41, Om))
9254
9258
  ])),
9255
- (m(!0), w(we, null, Ve($.value, (me, Le) => (m(), se(Yt, {
9259
+ (m(!0), w(we, null, Ve(x.value, (me, Le) => (m(), se(Yt, {
9256
9260
  key: Le,
9257
9261
  name: u(h)(k[me.type]),
9258
- css: u(x)
9262
+ css: u(_)
9259
9263
  }, {
9260
9264
  default: H(() => {
9261
9265
  var Ee, j;
@@ -9335,15 +9339,15 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9335
9339
  "am-pm-change"
9336
9340
  ],
9337
9341
  setup(t, { expose: e, emit: a }) {
9338
- const n = a, l = t, { buildMatrix: r, setTimePicker: s } = la(), o = Qt(), { defaultedTransitions: i, defaultedAriaLabels: c, defaultedTextInput: p, defaultedConfig: d, defaultedRange: v } = tt(l), { transitionName: h, showTransition: x } = tn(i), { hideNavigationButtons: k } = In(), A = X(null), M = X(null), P = X([]), T = X(null), L = X(!1);
9342
+ const n = a, l = t, { buildMatrix: r, setTimePicker: s } = la(), o = Wt(), { defaultedTransitions: i, defaultedAriaLabels: c, defaultedTextInput: p, defaultedConfig: d, defaultedRange: v } = tt(l), { transitionName: h, showTransition: _ } = tn(i), { hideNavigationButtons: k } = In(), A = X(null), M = X(null), P = X([]), T = X(null), L = X(!1);
9339
9343
  Ge(() => {
9340
- n("mount"), !l.timePicker && l.arrowNavigation ? r([ct(A.value)], "time") : s(!0, l.timePicker);
9344
+ n("mount"), !l.timePicker && l.arrowNavigation ? r([ft(A.value)], "time") : s(!0, l.timePicker);
9341
9345
  });
9342
- const U = _(() => v.value.enabled && l.modelAuto ? zs(l.internalModelValue) : !0), Q = X(!1), Y = (O) => ({
9346
+ const U = $(() => v.value.enabled && l.modelAuto ? zs(l.internalModelValue) : !0), Q = X(!1), Y = (O) => ({
9343
9347
  hours: Array.isArray(l.hours) ? l.hours[O] : l.hours,
9344
9348
  minutes: Array.isArray(l.minutes) ? l.minutes[O] : l.minutes,
9345
9349
  seconds: Array.isArray(l.seconds) ? l.seconds[O] : l.seconds
9346
- }), E = _(() => {
9350
+ }), E = $(() => {
9347
9351
  const O = [];
9348
9352
  if (v.value.enabled)
9349
9353
  for (let te = 0; te < 2; te++)
@@ -9355,7 +9359,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9355
9359
  te || n("reset-flow"), Q.value = O, n(O ? "overlay-opened" : "overlay-closed", gt.time), l.arrowNavigation && s(O), Xe(() => {
9356
9360
  z !== "" && P.value[0] && P.value[0].openChildCmp(z);
9357
9361
  });
9358
- }, V = _(() => ({
9362
+ }, V = $(() => ({
9359
9363
  dp__btn: !0,
9360
9364
  dp__button: !0,
9361
9365
  dp__button_bottom: l.autoApply && !d.value.keepActionRow
@@ -9370,7 +9374,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9370
9374
  const O = Qs(T.value);
9371
9375
  O && O.focus({ preventScroll: !0 });
9372
9376
  }
9373
- }, $ = (O) => {
9377
+ }, x = (O) => {
9374
9378
  L.value = !1, n("overlay-closed", O);
9375
9379
  }, G = (O) => {
9376
9380
  L.value = !0, n("overlay-opened", O);
@@ -9400,7 +9404,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9400
9404
  ]) : R("", !0),
9401
9405
  ye(Yt, {
9402
9406
  name: u(h)(Q.value),
9403
- css: u(x) && !O.timePickerInline
9407
+ css: u(_) && !O.timePickerInline
9404
9408
  }, {
9405
9409
  default: H(() => {
9406
9410
  var C, S;
@@ -9459,7 +9463,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9459
9463
  "onUpdate:minutes": (re) => g(le(re, K, "minutes")),
9460
9464
  "onUpdate:seconds": (re) => y(le(re, K, "seconds")),
9461
9465
  onMounted: D,
9462
- onOverlayClosed: $,
9466
+ onOverlayClosed: x,
9463
9467
  onOverlayOpened: G,
9464
9468
  onAmPmChange: te[2] || (te[2] = (re) => O.$emit("am-pm-change", re))
9465
9469
  }), ze({ _: 2 }, [
@@ -9499,14 +9503,14 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9499
9503
  };
9500
9504
  }
9501
9505
  }), so = (t, e, a, n) => {
9502
- const { defaultedRange: l } = tt(t), r = (T, L) => Array.isArray(e[T]) ? e[T][L] : e[T], s = (T) => t.enableSeconds ? Array.isArray(e.seconds) ? e.seconds[T] : e.seconds : 0, o = (T, L) => T ? L !== void 0 ? Kt(T, r("hours", L), r("minutes", L), s(L)) : Kt(T, e.hours, e.minutes, s()) : Ns(oe(), s(L)), i = (T, L) => {
9506
+ const { defaultedRange: l } = tt(t), r = (T, L) => Array.isArray(e[T]) ? e[T][L] : e[T], s = (T) => t.enableSeconds ? Array.isArray(e.seconds) ? e.seconds[T] : e.seconds : 0, o = (T, L) => T ? L !== void 0 ? Gt(T, r("hours", L), r("minutes", L), s(L)) : Gt(T, e.hours, e.minutes, s()) : Ns(oe(), s(L)), i = (T, L) => {
9503
9507
  e[T] = L;
9504
- }, c = _(() => t.modelAuto && l.value.enabled ? Array.isArray(a.value) ? a.value.length > 1 : !1 : l.value.enabled), p = (T, L) => {
9508
+ }, c = $(() => t.modelAuto && l.value.enabled ? Array.isArray(a.value) ? a.value.length > 1 : !1 : l.value.enabled), p = (T, L) => {
9505
9509
  const U = Object.fromEntries(
9506
9510
  Object.keys(e).map((Q) => Q === T ? [Q, L] : [Q, e[Q]].slice())
9507
9511
  );
9508
9512
  if (c.value && !l.value.disableTimeRangeValidation) {
9509
- const Q = (E) => a.value ? Kt(
9513
+ const Q = (E) => a.value ? Gt(
9510
9514
  a.value[E],
9511
9515
  U.hours[E],
9512
9516
  U.minutes[E],
@@ -9521,10 +9525,10 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9521
9525
  d("hours", T);
9522
9526
  }, h = (T) => {
9523
9527
  d("minutes", T);
9524
- }, x = (T) => {
9528
+ }, _ = (T) => {
9525
9529
  d("seconds", T);
9526
9530
  }, k = (T, L, U, Q) => {
9527
- L && v(T), !L && !U && h(T), U && x(T), a.value && Q(a.value);
9531
+ L && v(T), !L && !U && h(T), U && _(T), a.value && Q(a.value);
9528
9532
  }, A = (T) => {
9529
9533
  if (T) {
9530
9534
  const L = Array.isArray(T), U = L ? [+T[0].hours, +T[1].hours] : +T.hours, Q = L ? [+T[0].minutes, +T[1].minutes] : +T.minutes, Y = L ? [+T[0].seconds, +T[1].seconds] : +T.seconds;
@@ -9536,7 +9540,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9536
9540
  disabledArr: []
9537
9541
  };
9538
9542
  return (L || L === 0) && (U.hours = L), Array.isArray(t.disabledTimes) && (U.disabledArr = l.value.enabled && Array.isArray(t.disabledTimes[T]) ? t.disabledTimes[T] : t.disabledTimes), U;
9539
- }, P = _(() => (T, L) => {
9543
+ }, P = $(() => (T, L) => {
9540
9544
  var U;
9541
9545
  if (Array.isArray(t.disabledTimes)) {
9542
9546
  const { disabledArr: Q, hours: Y } = M(T, L), E = Q.filter((I) => +I.hours === Y);
@@ -9552,7 +9556,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9552
9556
  setTime: i,
9553
9557
  updateHours: v,
9554
9558
  updateMinutes: h,
9555
- updateSeconds: x,
9559
+ updateSeconds: _,
9556
9560
  getSetDateTime: o,
9557
9561
  updateTimeValues: k,
9558
9562
  getSecondsValue: s,
@@ -9563,8 +9567,8 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9563
9567
  }, Vm = (t, e) => {
9564
9568
  const a = () => {
9565
9569
  t.isTextInputDate && L();
9566
- }, { modelValue: n, time: l } = an(t, e, a), { defaultedStartTime: r, defaultedRange: s, defaultedTz: o } = tt(t), { updateTimeValues: i, getSetDateTime: c, setTime: p, assignStartTime: d, disabledTimesConfig: v, validateTime: h } = so(t, l, n, x);
9567
- function x() {
9570
+ }, { modelValue: n, time: l } = an(t, e, a), { defaultedStartTime: r, defaultedRange: s, defaultedTz: o } = tt(t), { updateTimeValues: i, getSetDateTime: c, setTime: p, assignStartTime: d, disabledTimesConfig: v, validateTime: h } = so(t, l, n, _);
9571
+ function _() {
9568
9572
  e("update-flow-step");
9569
9573
  }
9570
9574
  const k = (Q) => {
@@ -9633,17 +9637,17 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9633
9637
  "overlay-toggle"
9634
9638
  ],
9635
9639
  setup(t, { expose: e, emit: a }) {
9636
- const n = a, l = t, r = Qt(), s = kt(r, "timePicker"), o = X(null), { time: i, modelValue: c, disabledTimesConfig: p, updateTime: d, validateTime: v } = Vm(l, n);
9640
+ const n = a, l = t, r = Wt(), s = kt(r, "timePicker"), o = X(null), { time: i, modelValue: c, disabledTimesConfig: p, updateTime: d, validateTime: v } = Vm(l, n);
9637
9641
  return Ge(() => {
9638
9642
  l.shadow || n("mount", null);
9639
9643
  }), e({ getSidebarProps: () => ({
9640
9644
  modelValue: c,
9641
9645
  time: i,
9642
9646
  updateTime: d
9643
- }), toggleTimePicker: (h, x = !1, k = "") => {
9647
+ }), toggleTimePicker: (h, _ = !1, k = "") => {
9644
9648
  var A;
9645
- (A = o.value) == null || A.toggleTimePicker(h, x, k);
9646
- } }), (h, x) => (m(), se(qn, {
9649
+ (A = o.value) == null || A.toggleTimePicker(h, _, k);
9650
+ } }), (h, _) => (m(), se(qn, {
9647
9651
  "multi-calendars": 0,
9648
9652
  stretch: "",
9649
9653
  "is-mobile": h.isMobile
@@ -9659,13 +9663,13 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9659
9663
  "internal-model-value": h.internalModelValue,
9660
9664
  "disabled-times-config": u(p),
9661
9665
  "validate-time": u(v),
9662
- "onUpdate:hours": x[0] || (x[0] = (k) => u(d)(k)),
9663
- "onUpdate:minutes": x[1] || (x[1] = (k) => u(d)(k, !1)),
9664
- "onUpdate:seconds": x[2] || (x[2] = (k) => u(d)(k, !1, !0)),
9665
- onAmPmChange: x[3] || (x[3] = (k) => h.$emit("am-pm-change", k)),
9666
- onResetFlow: x[4] || (x[4] = (k) => h.$emit("reset-flow")),
9667
- onOverlayClosed: x[5] || (x[5] = (k) => h.$emit("overlay-toggle", { open: !1, overlay: k })),
9668
- onOverlayOpened: x[6] || (x[6] = (k) => h.$emit("overlay-toggle", { open: !0, overlay: k }))
9666
+ "onUpdate:hours": _[0] || (_[0] = (k) => u(d)(k)),
9667
+ "onUpdate:minutes": _[1] || (_[1] = (k) => u(d)(k, !1)),
9668
+ "onUpdate:seconds": _[2] || (_[2] = (k) => u(d)(k, !1, !0)),
9669
+ onAmPmChange: _[3] || (_[3] = (k) => h.$emit("am-pm-change", k)),
9670
+ onResetFlow: _[4] || (_[4] = (k) => h.$emit("reset-flow")),
9671
+ onOverlayClosed: _[5] || (_[5] = (k) => h.$emit("overlay-toggle", { open: !1, overlay: k })),
9672
+ onOverlayOpened: _[6] || (_[6] = (k) => h.$emit("overlay-toggle", { open: !0, overlay: k }))
9669
9673
  }), ze({ _: 2 }, [
9670
9674
  Ve(u(s), (k, A) => ({
9671
9675
  name: k,
@@ -9705,7 +9709,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9705
9709
  defaultedHighlight: p,
9706
9710
  propDates: d,
9707
9711
  defaultedUI: v
9708
- } = tt(l), { transitionName: h, showTransition: x } = tn(r), { buildMatrix: k } = la(), { handleMonthYearChange: A, isDisabled: M, updateMonthYear: P } = pm(l, n), { showLeftIcon: T, showRightIcon: L } = In(), U = X(!1), Q = X(!1), Y = X(!1), E = X([null, null, null, null]);
9712
+ } = tt(l), { transitionName: h, showTransition: _ } = tn(r), { buildMatrix: k } = la(), { handleMonthYearChange: A, isDisabled: M, updateMonthYear: P } = pm(l, n), { showLeftIcon: T, showRightIcon: L } = In(), U = X(!1), Q = X(!1), Y = X(!1), E = X([null, null, null, null]);
9709
9713
  Ge(() => {
9710
9714
  n("mount");
9711
9715
  });
@@ -9713,23 +9717,23 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9713
9717
  get: () => l[S],
9714
9718
  set: (F) => {
9715
9719
  const K = S === Tt.month ? Tt.year : Tt.month;
9716
- n("update-month-year", { [S]: F, [K]: l[K] }), S === Tt.month ? $(!0) : G(!0);
9720
+ n("update-month-year", { [S]: F, [K]: l[K] }), S === Tt.month ? x(!0) : G(!0);
9717
9721
  }
9718
- }), V = _(I(Tt.month)), ne = _(I(Tt.year)), le = _(() => (S) => ({
9722
+ }), V = $(I(Tt.month)), ne = $(I(Tt.year)), le = $(() => (S) => ({
9719
9723
  month: l.month,
9720
9724
  year: l.year,
9721
9725
  items: S === Tt.month ? l.months : l.years,
9722
9726
  instance: l.instance,
9723
9727
  updateMonthYear: P,
9724
- toggle: S === Tt.month ? $ : G
9725
- })), N = _(() => l.months.find((F) => F.value === l.month) || { text: "", value: 0 }), g = _(() => Ca(l.months, (S) => {
9728
+ toggle: S === Tt.month ? x : G
9729
+ })), N = $(() => l.months.find((F) => F.value === l.month) || { text: "", value: 0 }), g = $(() => Ca(l.months, (S) => {
9726
9730
  const F = l.month === S.value, K = Ha(
9727
9731
  S.value,
9728
9732
  Us(l.year, d.value.minDate),
9729
9733
  js(l.year, d.value.maxDate)
9730
9734
  ) || i.value.months.includes(S.value), re = Js(p.value, S.value, l.year);
9731
9735
  return { active: F, disabled: K, highlighted: re };
9732
- })), y = _(() => Ca(l.years, (S) => {
9736
+ })), y = $(() => Ca(l.years, (S) => {
9733
9737
  const F = l.year === S.value, K = Ha(
9734
9738
  S.value,
9735
9739
  Pa(d.value.minDate),
@@ -9738,21 +9742,21 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9738
9742
  return { active: F, disabled: K, highlighted: re };
9739
9743
  })), D = (S, F, K) => {
9740
9744
  K !== void 0 ? S.value = K : S.value = !S.value, S.value ? (Y.value = !0, n("overlay-opened", F)) : (Y.value = !1, n("overlay-closed", F));
9741
- }, $ = (S = !1, F) => {
9745
+ }, x = (S = !1, F) => {
9742
9746
  O(S), D(U, gt.month, F);
9743
9747
  }, G = (S = !1, F) => {
9744
9748
  O(S), D(Q, gt.year, F);
9745
9749
  }, O = (S) => {
9746
9750
  S || n("reset-flow");
9747
9751
  }, te = (S, F) => {
9748
- l.arrowNavigation && (E.value[F] = ct(S), k(E.value, "monthYear"));
9749
- }, z = _(() => {
9752
+ l.arrowNavigation && (E.value[F] = ft(S), k(E.value, "monthYear"));
9753
+ }, z = $(() => {
9750
9754
  var S, F, K, re, f, B;
9751
9755
  return [
9752
9756
  {
9753
9757
  type: Tt.month,
9754
9758
  index: 1,
9755
- toggle: $,
9759
+ toggle: x,
9756
9760
  modelValue: V.value,
9757
9761
  updateModelValue: (de) => V.value = de,
9758
9762
  text: N.value.text,
@@ -9774,9 +9778,9 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9774
9778
  overlayLabel: ((B = (f = s.value).yearPicker) == null ? void 0 : B.call(f, !0)) ?? void 0
9775
9779
  }
9776
9780
  ];
9777
- }), C = _(() => l.disableYearSelect ? [z.value[0]] : l.yearFirst ? [...z.value].reverse() : z.value);
9781
+ }), C = $(() => l.disableYearSelect ? [z.value[0]] : l.yearFirst ? [...z.value].reverse() : z.value);
9778
9782
  return e({
9779
- toggleMonthPicker: $,
9783
+ toggleMonthPicker: x,
9780
9784
  toggleYearPicker: G,
9781
9785
  handleMonthYearChange: A
9782
9786
  }), (S, F) => {
@@ -9843,7 +9847,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9843
9847
  ], 42, Hm),
9844
9848
  ye(Yt, {
9845
9849
  name: u(h)(Z.showSelectionGrid),
9846
- css: u(x)
9850
+ css: u(_)
9847
9851
  }, {
9848
9852
  default: H(() => [
9849
9853
  Z.showSelectionGrid ? (m(), se(en, {
@@ -9979,11 +9983,11 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9979
9983
  defaultedWeekNumbers: p,
9980
9984
  defaultedMultiDates: d,
9981
9985
  defaultedUI: v
9982
- } = tt(l), h = X(null), x = X({
9986
+ } = tt(l), h = X(null), _ = X({
9983
9987
  bottom: "",
9984
9988
  left: "",
9985
9989
  transform: ""
9986
- }), k = X([]), A = X(null), M = X(!0), P = X(""), T = X({ startX: 0, endX: 0, startY: 0, endY: 0 }), L = X([]), U = X({ left: "50%" }), Q = X(!1), Y = _(() => l.calendar ? l.calendar(l.mappedDates) : l.mappedDates), E = _(() => l.dayNames ? Array.isArray(l.dayNames) ? l.dayNames : l.dayNames(l.locale, +l.weekStart) : Sp(l.formatLocale, l.locale, +l.weekStart));
9990
+ }), k = X([]), A = X(null), M = X(!0), P = X(""), T = X({ startX: 0, endX: 0, startY: 0, endY: 0 }), L = X([]), U = X({ left: "50%" }), Q = X(!1), Y = $(() => l.calendar ? l.calendar(l.mappedDates) : l.mappedDates), E = $(() => l.dayNames ? Array.isArray(l.dayNames) ? l.dayNames : l.dayNames(l.locale, +l.weekStart) : Sp(l.formatLocale, l.locale, +l.weekStart));
9987
9991
  Ge(() => {
9988
9992
  n("mount", { cmp: "calendar", refs: k }), o.value.noSwipe || A.value && (A.value.addEventListener("touchstart", te, { passive: !1 }), A.value.addEventListener("touchend", z, { passive: !1 }), A.value.addEventListener("touchmove", C, { passive: !1 })), l.monthChangeOnScroll && A.value && A.value.addEventListener("wheel", K, { passive: !1 });
9989
9993
  });
@@ -9994,20 +9998,20 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9994
9998
  M.value = !0;
9995
9999
  });
9996
10000
  }
9997
- }, ne = _(
10001
+ }, ne = $(
9998
10002
  () => ({
9999
10003
  ...v.value.calendar ?? {}
10000
10004
  })
10001
- ), le = _(() => (Z) => {
10005
+ ), le = $(() => (Z) => {
10002
10006
  const Se = Op(Z);
10003
10007
  return {
10004
10008
  dp__marker_dot: Se.type === "dot",
10005
10009
  dp__marker_line: Se.type === "line"
10006
10010
  };
10007
- }), N = _(() => (Z) => Ne(Z, h.value)), g = _(() => ({
10011
+ }), N = $(() => (Z) => Ne(Z, h.value)), g = $(() => ({
10008
10012
  dp__calendar: !0,
10009
10013
  dp__calendar_next: c.value.count > 0 && l.instance !== 0
10010
- })), y = _(() => (Z) => l.hideOffsetDates ? Z.current : !0), D = async (Z, Se) => {
10014
+ })), y = $(() => (Z) => l.hideOffsetDates ? Z.current : !0), D = async (Z, Se) => {
10011
10015
  const { width: ae, height: ve } = Z.getBoundingClientRect();
10012
10016
  h.value = Se.value;
10013
10017
  let b = { left: `${ae / 2}px` }, pe = -50;
@@ -10015,25 +10019,25 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10015
10019
  const { left: ge, width: me } = L.value[0].getBoundingClientRect();
10016
10020
  ge < 0 && (b = { left: "0" }, pe = 0, U.value.left = `${ae / 2}px`), window.innerWidth < ge + me && (b = { right: "0" }, pe = 0, U.value.left = `${me - ae / 2}px`);
10017
10021
  }
10018
- x.value = {
10022
+ _.value = {
10019
10023
  bottom: `${ve}px`,
10020
10024
  ...b,
10021
10025
  transform: `translateX(${pe}%)`
10022
10026
  };
10023
- }, $ = async (Z, Se, ae) => {
10027
+ }, x = async (Z, Se, ae) => {
10024
10028
  var ve, b, pe;
10025
- const ge = ct(k.value[Se][ae]);
10026
- ge && ((ve = Z.marker) != null && ve.customPosition && (pe = (b = Z.marker) == null ? void 0 : b.tooltip) != null && pe.length ? x.value = Z.marker.customPosition(ge) : await D(ge, Z), n("tooltip-open", Z.marker));
10029
+ const ge = ft(k.value[Se][ae]);
10030
+ ge && ((ve = Z.marker) != null && ve.customPosition && (pe = (b = Z.marker) == null ? void 0 : b.tooltip) != null && pe.length ? _.value = Z.marker.customPosition(ge) : await D(ge, Z), n("tooltip-open", Z.marker));
10027
10031
  }, G = async (Z, Se, ae) => {
10028
10032
  var ve, b;
10029
10033
  if (Q.value && d.value.enabled && d.value.dragSelect)
10030
10034
  return n("select-date", Z);
10031
10035
  if (n("set-hover-date", Z), (b = (ve = Z.marker) == null ? void 0 : ve.tooltip) != null && b.length) {
10032
10036
  if (l.hideOffsetDates && !Z.current) return;
10033
- await $(Z, Se, ae);
10037
+ await x(Z, Se, ae);
10034
10038
  }
10035
10039
  }, O = (Z) => {
10036
- h.value && (h.value = null, x.value = JSON.parse(JSON.stringify({ bottom: "", left: "", transform: "" })), n("tooltip-close", Z.marker));
10040
+ h.value && (h.value = null, _.value = JSON.parse(JSON.stringify({ bottom: "", left: "", transform: "" })), n("tooltip-close", Z.marker));
10037
10041
  }, te = (Z) => {
10038
10042
  T.value.startX = Z.changedTouches[0].screenX, T.value.startY = Z.changedTouches[0].screenY;
10039
10043
  }, z = (Z) => {
@@ -10051,9 +10055,9 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10051
10055
  const Se = Z[0];
10052
10056
  return p.value.hideOnOffsetDates ? Z.some((ae) => ae.current) ? re(Se) : "" : re(Se);
10053
10057
  }, B = (Z, Se, ae = !0) => {
10054
- !ae && Np() || (!d.value.enabled || o.value.allowPreventDefault) && (Xt(Z, o.value), n("select-date", Se));
10058
+ !ae && Np() || (!d.value.enabled || o.value.allowPreventDefault) && (Kt(Z, o.value), n("select-date", Se));
10055
10059
  }, de = (Z) => {
10056
- Xt(Z, o.value);
10060
+ Kt(Z, o.value);
10057
10061
  }, Oe = (Z) => {
10058
10062
  d.value.enabled && d.value.dragSelect ? (Q.value = !0, n("select-date", Z)) : d.value.enabled && n("select-date", Z);
10059
10063
  };
@@ -10122,7 +10126,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10122
10126
  "aria-label": (me = (ge = u(i)) == null ? void 0 : ge.day) == null ? void 0 : me.call(ge, b),
10123
10127
  tabindex: !b.current && Z.hideOffsetDates ? void 0 : 0,
10124
10128
  "data-test-id": u(bl)(b.value),
10125
- onClick: pt((Ee) => B(Ee, b), ["prevent"]),
10129
+ onClick: dt((Ee) => B(Ee, b), ["prevent"]),
10126
10130
  onTouchend: (Ee) => B(Ee, b, !1),
10127
10131
  onKeydown: (Ee) => u(wt)(Ee, () => Z.$emit("select-date", b)),
10128
10132
  onMouseenter: (Ee) => G(b, ve, pe),
@@ -10159,7 +10163,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10159
10163
  ref_key: "activeTooltip",
10160
10164
  ref: L,
10161
10165
  class: "dp__marker_tooltip",
10162
- style: Ye(x.value)
10166
+ style: Ye(_.value)
10163
10167
  }, [
10164
10168
  (Le = b.marker) != null && Le.tooltip ? (m(), w("div", {
10165
10169
  key: 0,
@@ -10204,19 +10208,19 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10204
10208
  const l = X([]), r = X(/* @__PURE__ */ new Date()), s = X(), o = () => z(t.isTextInputDate), { modelValue: i, calendars: c, time: p, today: d } = an(t, e, o), {
10205
10209
  defaultedMultiCalendars: v,
10206
10210
  defaultedStartTime: h,
10207
- defaultedRange: x,
10211
+ defaultedRange: _,
10208
10212
  defaultedConfig: k,
10209
10213
  defaultedTz: A,
10210
10214
  propDates: M,
10211
10215
  defaultedMultiDates: P
10212
- } = tt(t), { validateMonthYearInRange: T, isDisabled: L, isDateRangeAllowed: U, checkMinMaxRange: Q } = ra(t), { updateTimeValues: Y, getSetDateTime: E, setTime: I, assignStartTime: V, validateTime: ne, disabledTimesConfig: le } = so(t, p, i, n), N = _(
10216
+ } = tt(t), { validateMonthYearInRange: T, isDisabled: L, isDateRangeAllowed: U, checkMinMaxRange: Q } = ra(t), { updateTimeValues: Y, getSetDateTime: E, setTime: I, assignStartTime: V, validateTime: ne, disabledTimesConfig: le } = so(t, p, i, n), N = $(
10213
10217
  () => (W) => c.value[W] ? c.value[W].month : 0
10214
- ), g = _(
10218
+ ), g = $(
10215
10219
  () => (W) => c.value[W] ? c.value[W].year : 0
10216
10220
  ), y = (W) => !k.value.keepViewOnOffsetClick || W ? !0 : !s.value, D = (W, fe, Me, J = !1) => {
10217
10221
  var he, ke;
10218
10222
  y(J) && (c.value[W] || (c.value[W] = { month: 0, year: 0 }), c.value[W].month = Cr(fe) ? (he = c.value[W]) == null ? void 0 : he.month : fe, c.value[W].year = Cr(Me) ? (ke = c.value[W]) == null ? void 0 : ke.year : Me);
10219
- }, $ = () => {
10223
+ }, x = () => {
10220
10224
  t.autoApply && e("select-date");
10221
10225
  }, G = () => {
10222
10226
  h.value && V(h.value);
@@ -10224,7 +10228,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10224
10228
  Ge(() => {
10225
10229
  t.shadow || (i.value || (Se(), G()), z(!0), t.focusStartDate && t.startDate && Se());
10226
10230
  });
10227
- const O = _(() => {
10231
+ const O = $(() => {
10228
10232
  var W;
10229
10233
  return (W = t.flow) != null && W.length && !t.partialFlow ? t.flowStep === t.flow.length : !0;
10230
10234
  }), te = () => {
@@ -10234,14 +10238,14 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10234
10238
  return Array.isArray(i.value) ? (l.value = i.value, B(W)) : F(i.value, W);
10235
10239
  if (v.value.count && W && !t.startDate)
10236
10240
  return S(oe(), W);
10237
- }, C = () => Array.isArray(i.value) && x.value.enabled ? Be(i.value[0]) === Be(i.value[1] ?? i.value[0]) : !1, S = (W = /* @__PURE__ */ new Date(), fe = !1) => {
10241
+ }, C = () => Array.isArray(i.value) && _.value.enabled ? Be(i.value[0]) === Be(i.value[1] ?? i.value[0]) : !1, S = (W = /* @__PURE__ */ new Date(), fe = !1) => {
10238
10242
  if ((!v.value.count || !v.value.static || fe) && D(0, Be(W), Pe(W)), v.value.count && (!i.value || C() || !v.value.solo) && (!v.value.solo || fe))
10239
10243
  for (let Me = 1; Me < v.value.count; Me++) {
10240
10244
  const J = Ke(oe(), { month: N.value(Me - 1), year: g.value(Me - 1) }), he = ws(J, { months: 1 });
10241
10245
  c.value[Me] = { month: Be(he), year: Pe(he) };
10242
10246
  }
10243
10247
  }, F = (W, fe) => {
10244
- S(W), I("hours", zt(W)), I("minutes", ea(W)), I("seconds", Ta(W)), v.value.count && fe && Z();
10248
+ S(W), I("hours", Qt(W)), I("minutes", ea(W)), I("seconds", Ta(W)), v.value.count && fe && Z();
10245
10249
  }, K = (W) => {
10246
10250
  if (v.value.count) {
10247
10251
  if (v.value.solo) return 0;
@@ -10250,14 +10254,14 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10250
10254
  }
10251
10255
  return 1;
10252
10256
  }, re = (W, fe) => {
10253
- W[1] && x.value.showLastInRange ? S(W[K(W)], fe) : S(W[0], fe);
10257
+ W[1] && _.value.showLastInRange ? S(W[K(W)], fe) : S(W[0], fe);
10254
10258
  const Me = (J, he) => [
10255
10259
  J(W[0]),
10256
10260
  W[1] ? J(W[1]) : p[he][1]
10257
10261
  ];
10258
- I("hours", Me(zt, "hours")), I("minutes", Me(ea, "minutes")), I("seconds", Me(Ta, "seconds"));
10262
+ I("hours", Me(Qt, "hours")), I("minutes", Me(ea, "minutes")), I("seconds", Me(Ta, "seconds"));
10259
10263
  }, f = (W, fe) => {
10260
- if ((x.value.enabled || t.weekPicker) && !P.value.enabled)
10264
+ if ((_.value.enabled || t.weekPicker) && !P.value.enabled)
10261
10265
  return re(W, fe);
10262
10266
  if (P.value.enabled && fe) {
10263
10267
  const Me = W[W.length - 1];
@@ -10318,10 +10322,10 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10318
10322
  const he = 6 - W.length, ke = (fe.getDay() + 7 - J) % 7, It = 6 - (Me.getDay() + 7 - J) % 7, [Dt, ha] = ge(ke, It);
10319
10323
  for (let Oa = 1; Oa <= he; Oa++)
10320
10324
  if (ha ? !!(Oa % 2) == Dt : Dt) {
10321
- const Wt = W[0].days[0], Fn = Le(xt(Wt.value, -7), Be(fe));
10325
+ const Ht = W[0].days[0], Fn = Le(xt(Ht.value, -7), Be(fe));
10322
10326
  W.unshift({ days: Fn });
10323
10327
  } else {
10324
- const Wt = W[W.length - 1], Fn = Wt.days[Wt.days.length - 1], To = Le(xt(Fn.value, 1), Be(fe));
10328
+ const Ht = W[W.length - 1], Fn = Ht.days[Ht.days.length - 1], To = Le(xt(Fn.value, 1), Be(fe));
10325
10329
  W.push({ days: To });
10326
10330
  }
10327
10331
  }
@@ -10342,24 +10346,24 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10342
10346
  const Me = [], J = new Date(fe, W), he = new Date(fe, W + 1, 0), ke = t.weekStart, It = Pt(J, { weekStartsOn: ke }), Dt = (ha) => {
10343
10347
  const Oa = Le(ha, W);
10344
10348
  if (Me.push({ days: Oa }), !Me[Me.length - 1].days.some(
10345
- (Wt) => Ne(ht(Wt.value), ht(he))
10349
+ (Ht) => Ne(ht(Ht.value), ht(he))
10346
10350
  )) {
10347
- const Wt = xt(ha, 7);
10348
- Dt(Wt);
10351
+ const Ht = xt(ha, 7);
10352
+ Dt(Ht);
10349
10353
  }
10350
10354
  };
10351
10355
  return Dt(It), me(Me, J, he, ke);
10352
10356
  }, j = (W) => {
10353
- const fe = Kt(oe(W.value), p.hours, p.minutes, ut());
10357
+ const fe = Gt(oe(W.value), p.hours, p.minutes, ut());
10354
10358
  e("date-update", fe), P.value.enabled ? Jl(fe, i, P.value.limit) : i.value = fe, n(), Xe().then(() => {
10355
10359
  te();
10356
10360
  });
10357
- }, ue = (W) => x.value.noDisabledRange ? Xs(l.value[0], W).some((fe) => L(fe)) : !1, xe = () => {
10358
- l.value = i.value ? i.value.slice() : [], l.value.length === 2 && !(x.value.fixedStart || x.value.fixedEnd) && (l.value = []);
10359
- }, dt = (W, fe) => {
10361
+ }, ue = (W) => _.value.noDisabledRange ? Xs(l.value[0], W).some((fe) => L(fe)) : !1, xe = () => {
10362
+ l.value = i.value ? i.value.slice() : [], l.value.length === 2 && !(_.value.fixedStart || _.value.fixedEnd) && (l.value = []);
10363
+ }, ct = (W, fe) => {
10360
10364
  const Me = [
10361
10365
  oe(W.value),
10362
- xt(oe(W.value), +x.value.autoRange)
10366
+ xt(oe(W.value), +_.value.autoRange)
10363
10367
  ];
10364
10368
  U(Me) ? (fe && St(W.value), l.value = Me) : e("invalid-date", W.value);
10365
10369
  }, St = (W) => {
@@ -10372,15 +10376,15 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10372
10376
  D(J, he.month, he.year);
10373
10377
  }
10374
10378
  }, Te = (W) => {
10375
- if (ue(W.value) || !Q(W.value, i.value, x.value.fixedStart ? 0 : 1))
10379
+ if (ue(W.value) || !Q(W.value, i.value, _.value.fixedStart ? 0 : 1))
10376
10380
  return e("invalid-date", W.value);
10377
- l.value = no(oe(W.value), i, e, x);
10381
+ l.value = no(oe(W.value), i, e, _);
10378
10382
  }, Bt = (W, fe) => {
10379
- if (xe(), x.value.autoRange) return dt(W, fe);
10380
- if (x.value.fixedStart || x.value.fixedEnd) return Te(W);
10383
+ if (xe(), _.value.autoRange) return ct(W, fe);
10384
+ if (_.value.fixedStart || _.value.fixedEnd) return Te(W);
10381
10385
  l.value[0] ? Q(oe(W.value), i.value) && !ue(W.value) ? nt(oe(W.value), oe(l.value[0])) ? (l.value.unshift(oe(W.value)), e("range-end", l.value[0])) : (l.value[1] = oe(W.value), e("range-end", l.value[1])) : (t.autoApply && e("auto-apply-invalid", W.value), e("invalid-date", W.value)) : (l.value[0] = oe(W.value), e("range-start", l.value[0]));
10382
10386
  }, ut = (W = !0) => t.enableSeconds ? Array.isArray(p.seconds) ? W ? p.seconds[0] : p.seconds[1] : p.seconds : 0, Ia = (W) => {
10383
- l.value[W] = Kt(
10387
+ l.value[W] = Gt(
10384
10388
  l.value[W],
10385
10389
  p.hours[W],
10386
10390
  p.minutes[W],
@@ -10393,7 +10397,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10393
10397
  l.value.length && (l.value[0] && !l.value[1] ? Ia(0) : (Ia(0), Ia(1), n()), On(), i.value = l.value.slice(), Sn(l.value, e, t.autoApply, t.modelAuto));
10394
10398
  }, En = (W, fe = !1) => {
10395
10399
  if (L(W.value) || !W.current && t.hideOffsetDates) return e("invalid-date", W.value);
10396
- if (s.value = JSON.parse(JSON.stringify(W)), !x.value.enabled) return j(W);
10400
+ if (s.value = JSON.parse(JSON.stringify(W)), !_.value.enabled) return j(W);
10397
10401
  Er(p.hours) && Er(p.minutes) && !P.value.enabled && (Bt(W, fe), nn());
10398
10402
  }, Rn = (W, fe) => {
10399
10403
  var Me;
@@ -10404,12 +10408,12 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10404
10408
  ao({
10405
10409
  value: W,
10406
10410
  modelValue: i,
10407
- range: x.value.enabled,
10411
+ range: _.value.enabled,
10408
10412
  timezone: fe ? void 0 : A.value.timezone
10409
- }), $(), t.multiCalendars && Xe().then(() => z(!0));
10413
+ }), x(), t.multiCalendars && Xe().then(() => z(!0));
10410
10414
  }, Bn = () => {
10411
10415
  const W = jl(oe(), A.value);
10412
- !x.value.enabled && !P.value.enabled ? i.value = W : i.value && Array.isArray(i.value) && i.value[0] ? P.value.enabled ? i.value = [...i.value, W] : i.value = nt(W, i.value[0]) ? [W, i.value[0]] : [i.value[0], W] : i.value = [W], $();
10416
+ !_.value.enabled && !P.value.enabled ? i.value = W : i.value && Array.isArray(i.value) && i.value[0] ? P.value.enabled ? i.value = [...i.value, W] : i.value = nt(W, i.value[0]) ? [W, i.value[0]] : [i.value[0], W] : i.value = [W], x();
10413
10417
  }, Nn = () => {
10414
10418
  if (Array.isArray(i.value))
10415
10419
  if (P.value.enabled) {
@@ -10485,7 +10489,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10485
10489
  today: d,
10486
10490
  validateTime: v,
10487
10491
  getCalendarDays: h,
10488
- getMarker: x,
10492
+ getMarker: _,
10489
10493
  handleArrow: k,
10490
10494
  handleScroll: A,
10491
10495
  handleSwipe: M,
@@ -10496,7 +10500,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10496
10500
  updateTime: Q,
10497
10501
  assignMonthAndYear: Y,
10498
10502
  setStartTime: E
10499
- } = tv(l, n, C, S), I = Qt(), { setHoverDate: V, getDayClassData: ne, clearHoverDate: le } = wv(i, l), { defaultedMultiCalendars: N } = tt(l), g = X([]), y = X([]), D = X(null), $ = kt(I, "calendar"), G = kt(I, "monthYear"), O = kt(I, "timePicker"), te = (ae) => {
10503
+ } = tv(l, n, C, S), I = Wt(), { setHoverDate: V, getDayClassData: ne, clearHoverDate: le } = wv(i, l), { defaultedMultiCalendars: N } = tt(l), g = X([]), y = X([]), D = X(null), x = kt(I, "calendar"), G = kt(I, "monthYear"), O = kt(I, "timePicker"), te = (ae) => {
10500
10504
  l.shadow || n("mount", ae);
10501
10505
  };
10502
10506
  Ce(
@@ -10514,9 +10518,9 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10514
10518
  },
10515
10519
  { deep: !0 }
10516
10520
  );
10517
- const z = _(() => (ae) => h(s.value(ae), o.value(ae)).map((ve) => ({
10521
+ const z = $(() => (ae) => h(s.value(ae), o.value(ae)).map((ve) => ({
10518
10522
  ...ve,
10519
- days: ve.days.map((b) => (b.marker = x(b), b.classData = ne(b), b))
10523
+ days: ve.days.map((b) => (b.marker = _(b), b.classData = ne(b), b))
10520
10524
  })));
10521
10525
  function C(ae) {
10522
10526
  var ve;
@@ -10630,7 +10634,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10630
10634
  onTooltipOpen: ve[6] || (ve[6] = (ge) => ae.$emit("tooltip-open", ge)),
10631
10635
  onTooltipClose: ve[7] || (ve[7] = (ge) => ae.$emit("tooltip-close", ge))
10632
10636
  }), ze({ _: 2 }, [
10633
- Ve(u($), (ge, me) => ({
10637
+ Ve(u(x), (ge, me) => ({
10634
10638
  name: ge,
10635
10639
  fn: H((Le) => [
10636
10640
  q(ae.$slots, ge, Re(He({ ...Le })))
@@ -10680,7 +10684,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10680
10684
  propDates: o,
10681
10685
  defaultedFilters: i,
10682
10686
  defaultedMultiDates: c
10683
- } = tt(t), { modelValue: p, year: d, month: v, calendars: h } = an(t, e), { isDisabled: x } = ra(t), { selectYear: k, groupedYears: A, showYearPicker: M, isDisabled: P, toggleYearPicker: T, handleYearSelect: L, handleYear: U } = lo({
10687
+ } = tt(t), { modelValue: p, year: d, month: v, calendars: h } = an(t, e), { isDisabled: _ } = ra(t), { selectYear: k, groupedYears: A, showYearPicker: M, isDisabled: P, toggleYearPicker: T, handleYearSelect: L, handleYear: U } = lo({
10684
10688
  modelValue: p,
10685
10689
  multiCalendars: n,
10686
10690
  range: s,
@@ -10692,7 +10696,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10692
10696
  filters: i,
10693
10697
  props: t,
10694
10698
  emit: e
10695
- }), Q = (y, D) => [y, D].map(($) => Lt($, "MMMM", { locale: t.formatLocale })).join("-"), Y = _(() => (y) => p.value ? Array.isArray(p.value) ? p.value.some((D) => Tr(y, D)) : Tr(p.value, y) : !1), E = (y) => {
10699
+ }), Q = (y, D) => [y, D].map((x) => Lt(x, "MMMM", { locale: t.formatLocale })).join("-"), Y = $(() => (y) => p.value ? Array.isArray(p.value) ? p.value.some((D) => Tr(y, D)) : Tr(p.value, y) : !1), E = (y) => {
10696
10700
  if (s.value.enabled) {
10697
10701
  if (Array.isArray(p.value)) {
10698
10702
  const D = Ne(y, p.value[0]) || Ne(y, p.value[1]);
@@ -10701,13 +10705,13 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10701
10705
  return !1;
10702
10706
  }
10703
10707
  return !1;
10704
- }, I = (y, D) => y.quarter === wr(D) && y.year === Pe(D), V = (y) => typeof r.value == "function" ? r.value({ quarter: wr(y), year: Pe(y) }) : !!r.value.quarters.find((D) => I(D, y)), ne = _(() => (y) => {
10708
+ }, I = (y, D) => y.quarter === wr(D) && y.year === Pe(D), V = (y) => typeof r.value == "function" ? r.value({ quarter: wr(y), year: Pe(y) }) : !!r.value.quarters.find((D) => I(D, y)), ne = $(() => (y) => {
10705
10709
  const D = Ke(/* @__PURE__ */ new Date(), { year: d.value(y) });
10706
10710
  return qc({
10707
10711
  start: Wa(D),
10708
10712
  end: Ts(D)
10709
- }).map(($) => {
10710
- const G = ia($), O = _r($), te = x($), z = E(G), C = V(G);
10713
+ }).map((x) => {
10714
+ const G = ia(x), O = _r(x), te = _(x), z = E(G), C = V(G);
10711
10715
  return {
10712
10716
  text: Q(G, O),
10713
10717
  value: G,
@@ -10737,8 +10741,8 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10737
10741
  a.value = y;
10738
10742
  },
10739
10743
  selectYear: k,
10740
- selectQuarter: (y, D, $) => {
10741
- if (!$)
10744
+ selectQuarter: (y, D, x) => {
10745
+ if (!x)
10742
10746
  return h.value[D].month = Be(_r(y)), c.value.enabled ? le(y) : s.value.enabled ? N(y) : g(y);
10743
10747
  },
10744
10748
  toggleYearPicker: T,
@@ -10764,7 +10768,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10764
10768
  "update-month-year"
10765
10769
  ],
10766
10770
  setup(t, { expose: e, emit: a }) {
10767
- const n = a, l = t, r = Qt(), s = kt(r, "yearMode"), {
10771
+ const n = a, l = t, r = Wt(), s = kt(r, "yearMode"), {
10768
10772
  defaultedMultiCalendars: o,
10769
10773
  defaultedConfig: i,
10770
10774
  groupedYears: c,
@@ -10772,7 +10776,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10772
10776
  isDisabled: d,
10773
10777
  quarters: v,
10774
10778
  modelValue: h,
10775
- showYearPicker: x,
10779
+ showYearPicker: _,
10776
10780
  setHoverDate: k,
10777
10781
  selectQuarter: A,
10778
10782
  toggleYearPicker: M,
@@ -10804,7 +10808,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10804
10808
  ye(to, De(L.$props, {
10805
10809
  items: u(c)(Q),
10806
10810
  instance: Q,
10807
- "show-year-picker": u(x)[Q],
10811
+ "show-year-picker": u(_)[Q],
10808
10812
  year: u(p)(Q),
10809
10813
  "is-disabled": (Y) => u(d)(Q, Y),
10810
10814
  onHandleYear: (Y) => u(T)(Q, Y),
@@ -10860,7 +10864,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10860
10864
  a.value = window.document.documentElement.clientWidth;
10861
10865
  };
10862
10866
  return {
10863
- isMobile: _(
10867
+ isMobile: $(
10864
10868
  () => a.value <= t.value.mobileBreakpoint && !e ? !0 : void 0
10865
10869
  )
10866
10870
  };
@@ -10919,7 +10923,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10919
10923
  "menu-blur"
10920
10924
  ],
10921
10925
  setup(t, { expose: e, emit: a }) {
10922
- const n = a, l = t, r = X(null), s = _(() => {
10926
+ const n = a, l = t, r = X(null), s = $(() => {
10923
10927
  const { openOnTop: j, ...ue } = l;
10924
10928
  return {
10925
10929
  ...ue,
@@ -10927,14 +10931,14 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10927
10931
  flowStep: ne.value,
10928
10932
  menuWrapRef: r.value
10929
10933
  };
10930
- }), { setMenuFocused: o, setShiftKey: i, control: c } = eo(), p = Qt(), { defaultedTextInput: d, defaultedInline: v, defaultedConfig: h, defaultedUI: x } = tt(l), { isMobile: k } = oo(h, l.shadow), A = X(null), M = X(0), P = X(null), T = X(!1), L = X(null), U = X(!1);
10934
+ }), { setMenuFocused: o, setShiftKey: i, control: c } = eo(), p = Wt(), { defaultedTextInput: d, defaultedInline: v, defaultedConfig: h, defaultedUI: _ } = tt(l), { isMobile: k } = oo(h, l.shadow), A = X(null), M = X(0), P = X(null), T = X(!1), L = X(null), U = X(!1);
10931
10935
  Ge(() => {
10932
10936
  if (!l.shadow) {
10933
10937
  T.value = !0, Q(), window.addEventListener("resize", Q);
10934
- const j = ct(r);
10938
+ const j = ft(r);
10935
10939
  if (j && !d.value.enabled && !v.value.enabled && (o(!0), G()), j) {
10936
10940
  const ue = (xe) => {
10937
- U.value = !0, h.value.allowPreventDefault && xe.preventDefault(), Xt(xe, h.value, !0);
10941
+ U.value = !0, h.value.allowPreventDefault && xe.preventDefault(), Kt(xe, h.value, !0);
10938
10942
  };
10939
10943
  j.addEventListener("pointerdown", ue), j.addEventListener("mousedown", ue);
10940
10944
  }
@@ -10944,34 +10948,34 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10944
10948
  window.removeEventListener("resize", Q), document.addEventListener("mousedown", Ee);
10945
10949
  });
10946
10950
  const Q = () => {
10947
- const j = ct(P);
10951
+ const j = ft(P);
10948
10952
  j && (M.value = j.getBoundingClientRect().width);
10949
- }, { arrowRight: Y, arrowLeft: E, arrowDown: I, arrowUp: V } = la(), { flowStep: ne, updateFlowStep: le, childMount: N, resetFlow: g, handleFlow: y } = _v(l, n, L), D = _(() => l.monthPicker ? Dm : l.yearPicker ? Mm : l.timePicker ? Fm : l.quarterPicker ? ov : nv), $ = _(() => {
10953
+ }, { arrowRight: Y, arrowLeft: E, arrowDown: I, arrowUp: V } = la(), { flowStep: ne, updateFlowStep: le, childMount: N, resetFlow: g, handleFlow: y } = _v(l, n, L), D = $(() => l.monthPicker ? Dm : l.yearPicker ? Mm : l.timePicker ? Fm : l.quarterPicker ? ov : nv), x = $(() => {
10950
10954
  var j;
10951
10955
  if (h.value.arrowLeft) return h.value.arrowLeft;
10952
10956
  const ue = (j = r.value) == null ? void 0 : j.getBoundingClientRect(), xe = l.getInputRect();
10953
10957
  return (xe == null ? void 0 : xe.width) < (M == null ? void 0 : M.value) && (xe == null ? void 0 : xe.left) <= ((ue == null ? void 0 : ue.left) ?? 0) ? `${(xe == null ? void 0 : xe.width) / 2}px` : (xe == null ? void 0 : xe.right) >= ((ue == null ? void 0 : ue.right) ?? 0) && (xe == null ? void 0 : xe.width) < (M == null ? void 0 : M.value) ? `${(M == null ? void 0 : M.value) - (xe == null ? void 0 : xe.width) / 2}px` : "50%";
10954
10958
  }), G = () => {
10955
- const j = ct(r);
10959
+ const j = ft(r);
10956
10960
  j && j.focus({ preventScroll: !0 });
10957
- }, O = _(() => {
10961
+ }, O = $(() => {
10958
10962
  var j;
10959
10963
  return ((j = L.value) == null ? void 0 : j.getSidebarProps()) || {};
10960
10964
  }), te = () => {
10961
10965
  l.openOnTop && n("recalculate-position");
10962
- }, z = kt(p, "action"), C = _(() => l.monthPicker || l.yearPicker ? kt(p, "monthYear") : l.timePicker ? kt(p, "timePicker") : kt(p, "shared")), S = _(() => l.openOnTop ? "dp__arrow_bottom" : "dp__arrow_top"), F = _(() => ({
10966
+ }, z = kt(p, "action"), C = $(() => l.monthPicker || l.yearPicker ? kt(p, "monthYear") : l.timePicker ? kt(p, "timePicker") : kt(p, "shared")), S = $(() => l.openOnTop ? "dp__arrow_bottom" : "dp__arrow_top"), F = $(() => ({
10963
10967
  dp__menu_disabled: l.disabled,
10964
10968
  dp__menu_readonly: l.readonly,
10965
10969
  "dp-menu-loading": l.loading
10966
- })), K = _(
10970
+ })), K = $(
10967
10971
  () => ({
10968
10972
  dp__menu: !0,
10969
10973
  dp__menu_index: !v.value.enabled,
10970
10974
  dp__relative: v.value.enabled,
10971
- ...x.value.menu ?? {}
10975
+ ..._.value.menu ?? {}
10972
10976
  })
10973
10977
  ), re = (j) => {
10974
- Xt(j, h.value, !0);
10978
+ Kt(j, h.value, !0);
10975
10979
  }, f = () => {
10976
10980
  l.escClose && n("close-picker");
10977
10981
  }, B = (j) => {
@@ -10982,18 +10986,18 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10982
10986
  if (j === bt.right) return Y();
10983
10987
  } else j === bt.left || j === bt.up ? ae("handleArrow", bt.left, 0, j === bt.up) : ae("handleArrow", bt.right, 0, j === bt.down);
10984
10988
  }, de = (j) => {
10985
- i(j.shiftKey), !l.disableMonthYearSelect && j.code === Je.tab && j.target.classList.contains("dp__menu") && c.value.shiftKeyInMenu && (j.preventDefault(), Xt(j, h.value, !0), n("close-picker"));
10989
+ i(j.shiftKey), !l.disableMonthYearSelect && j.code === Je.tab && j.target.classList.contains("dp__menu") && c.value.shiftKeyInMenu && (j.preventDefault(), Kt(j, h.value, !0), n("close-picker"));
10986
10990
  }, Oe = () => {
10987
10991
  G(), n("time-picker-close");
10988
10992
  }, Z = (j) => {
10989
- var ue, xe, dt;
10990
- (ue = L.value) == null || ue.toggleTimePicker(!1, !1), (xe = L.value) == null || xe.toggleMonthPicker(!1, !1, j), (dt = L.value) == null || dt.toggleYearPicker(!1, !1, j);
10993
+ var ue, xe, ct;
10994
+ (ue = L.value) == null || ue.toggleTimePicker(!1, !1), (xe = L.value) == null || xe.toggleMonthPicker(!1, !1, j), (ct = L.value) == null || ct.toggleYearPicker(!1, !1, j);
10991
10995
  }, Se = (j, ue = 0) => {
10992
- var xe, dt, St;
10993
- return j === "month" ? (xe = L.value) == null ? void 0 : xe.toggleMonthPicker(!1, !0, ue) : j === "year" ? (dt = L.value) == null ? void 0 : dt.toggleYearPicker(!1, !0, ue) : j === "time" ? (St = L.value) == null ? void 0 : St.toggleTimePicker(!0, !1) : Z(ue);
10996
+ var xe, ct, St;
10997
+ return j === "month" ? (xe = L.value) == null ? void 0 : xe.toggleMonthPicker(!1, !0, ue) : j === "year" ? (ct = L.value) == null ? void 0 : ct.toggleYearPicker(!1, !0, ue) : j === "time" ? (St = L.value) == null ? void 0 : St.toggleTimePicker(!0, !1) : Z(ue);
10994
10998
  }, ae = (j, ...ue) => {
10995
- var xe, dt;
10996
- (xe = L.value) != null && xe[j] && ((dt = L.value) == null || dt[j](...ue));
10999
+ var xe, ct;
11000
+ (xe = L.value) != null && xe[j] && ((ct = L.value) == null || ct[j](...ue));
10997
11001
  }, ve = () => {
10998
11002
  ae("selectCurrentDate");
10999
11003
  }, b = (j, ue) => {
@@ -11005,14 +11009,14 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
11005
11009
  }, me = (j, ue) => {
11006
11010
  j.preventDefault(), B(ue);
11007
11011
  }, Le = (j) => {
11008
- var ue, xe, dt;
11012
+ var ue, xe, ct;
11009
11013
  if (de(j), j.key === Je.home || j.key === Je.end)
11010
11014
  return ae(
11011
11015
  "selectWeekDate",
11012
11016
  j.key === Je.home,
11013
11017
  j.target.getAttribute("id")
11014
11018
  );
11015
- switch ((j.key === Je.pageUp || j.key === Je.pageDown) && (j.shiftKey ? (ae("changeYear", j.key === Je.pageUp), (ue = yl(r.value, "overlay-year")) == null || ue.focus()) : (ae("changeMonth", j.key === Je.pageUp), (xe = yl(r.value, j.key === Je.pageUp ? "action-prev" : "action-next")) == null || xe.focus()), j.target.getAttribute("id") && ((dt = r.value) == null || dt.focus({ preventScroll: !0 }))), j.key) {
11019
+ switch ((j.key === Je.pageUp || j.key === Je.pageDown) && (j.shiftKey ? (ae("changeYear", j.key === Je.pageUp), (ue = yl(r.value, "overlay-year")) == null || ue.focus()) : (ae("changeMonth", j.key === Je.pageUp), (xe = yl(r.value, j.key === Je.pageUp ? "action-prev" : "action-next")) == null || xe.focus()), j.target.getAttribute("id") && ((ct = r.value) == null || ct.focus({ preventScroll: !0 }))), j.key) {
11016
11020
  case Je.esc:
11017
11021
  return f();
11018
11022
  case Je.arrowLeft:
@@ -11039,7 +11043,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
11039
11043
  (ue = (j = L.value) == null ? void 0 : j.setStartTime) == null || ue.call(j);
11040
11044
  }
11041
11045
  }), (j, ue) => {
11042
- var xe, dt, St;
11046
+ var xe, ct, St;
11043
11047
  return m(), w("div", {
11044
11048
  id: j.uid ? `dp-menu-${j.uid}` : void 0,
11045
11049
  ref_key: "dpMenuRef",
@@ -11048,7 +11052,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
11048
11052
  role: u(v).enabled ? void 0 : "dialog",
11049
11053
  "aria-label": (xe = j.ariaLabels) == null ? void 0 : xe.menu,
11050
11054
  class: ie(K.value),
11051
- style: Ye({ "--dp-arrow-left": $.value }),
11055
+ style: Ye({ "--dp-arrow-left": x.value }),
11052
11056
  onMouseleave: pe,
11053
11057
  onClick: re,
11054
11058
  onKeydown: Le
@@ -11072,7 +11076,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
11072
11076
  ref_key: "innerMenuRef",
11073
11077
  ref: P,
11074
11078
  class: ie({
11075
- dp__menu_content_wrapper: ((dt = j.presetDates) == null ? void 0 : dt.length) || !!j.$slots["left-sidebar"] || !!j.$slots["right-sidebar"],
11079
+ dp__menu_content_wrapper: ((ct = j.presetDates) == null ? void 0 : ct.length) || !!j.$slots["left-sidebar"] || !!j.$slots["right-sidebar"],
11076
11080
  "dp--menu-content-wrapper-collapsed": t.collapse && (((St = j.presetDates) == null ? void 0 : St.length) || !!j.$slots["left-sidebar"] || !!j.$slots["right-sidebar"])
11077
11081
  }),
11078
11082
  "data-dp-mobile": u(k),
@@ -11099,7 +11103,7 @@ const yl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
11099
11103
  class: ie(["dp__btn dp--preset-range", { "dp--preset-range-collapsed": t.collapse }]),
11100
11104
  "data-test-id": Te.testId ?? void 0,
11101
11105
  "data-dp-mobile": u(k),
11102
- onClick: pt((ut) => b(Te.value, Te.noTz), ["prevent"]),
11106
+ onClick: dt((ut) => b(Te.value, Te.noTz), ["prevent"]),
11103
11107
  onKeydown: (ut) => u(wt)(ut, () => b(Te.value, Te.noTz), !0)
11104
11108
  }, $e(Te.label), 47, mv))
11105
11109
  ], 64))), 128))
@@ -11195,78 +11199,78 @@ const yv = ({
11195
11199
  Ce(h, () => {
11196
11200
  d.value = JSON.parse(JSON.stringify({})), U();
11197
11201
  });
11198
- const x = (D) => {
11202
+ const _ = (D) => {
11199
11203
  if (s.teleport) {
11200
- const $ = D.getBoundingClientRect();
11204
+ const x = D.getBoundingClientRect();
11201
11205
  return {
11202
- left: $.left + window.scrollX,
11203
- top: $.top + window.scrollY
11206
+ left: x.left + window.scrollX,
11207
+ top: x.top + window.scrollY
11204
11208
  };
11205
11209
  }
11206
11210
  return { top: 0, left: 0 };
11207
- }, k = (D, $) => {
11208
- d.value.left = `${D + $ - c.value.width}px`;
11211
+ }, k = (D, x) => {
11212
+ d.value.left = `${D + x - c.value.width}px`;
11209
11213
  }, A = (D) => {
11210
11214
  d.value.left = `${D}px`;
11211
- }, M = (D, $) => {
11212
- s.position === ka.left && A(D), s.position === ka.right && k(D, $), s.position === ka.center && (d.value.left = `${D + $ / 2 - c.value.width / 2}px`);
11215
+ }, M = (D, x) => {
11216
+ s.position === ka.left && A(D), s.position === ka.right && k(D, x), s.position === ka.center && (d.value.left = `${D + x / 2 - c.value.width / 2}px`);
11213
11217
  }, P = (D) => {
11214
- const { width: $, height: G } = D.getBoundingClientRect(), { top: O, left: te } = x(D);
11215
- return { top: +O, left: +te, width: $, height: G };
11218
+ const { width: x, height: G } = D.getBoundingClientRect(), { top: O, left: te } = _(D);
11219
+ return { top: +O, left: +te, width: x, height: G };
11216
11220
  }, T = () => {
11217
11221
  d.value.left = "50%", d.value.top = "50%", d.value.transform = "translate(-50%, -50%)", d.value.position = "fixed", delete d.value.opacity;
11218
11222
  }, L = () => {
11219
- const D = ct(a);
11223
+ const D = ft(a);
11220
11224
  d.value = s.altPosition(D);
11221
11225
  }, U = (D = !0) => {
11222
- var $;
11226
+ var x;
11223
11227
  if (!l.value.enabled) {
11224
11228
  if (h.value) return T();
11225
11229
  if (s.altPosition !== null) return L();
11226
11230
  if (D) {
11227
- const G = s.teleport ? ($ = e.value) == null ? void 0 : $.$el : t.value;
11231
+ const G = s.teleport ? (x = e.value) == null ? void 0 : x.$el : t.value;
11228
11232
  G && (c.value = G.getBoundingClientRect()), r("recalculate-position");
11229
11233
  }
11230
11234
  return le();
11231
11235
  }
11232
- }, Q = ({ inputEl: D, left: $, width: G }) => {
11233
- window.screen.width > 768 && !p.value && M($, G), I(D);
11236
+ }, Q = ({ inputEl: D, left: x, width: G }) => {
11237
+ window.screen.width > 768 && !p.value && M(x, G), I(D);
11234
11238
  }, Y = (D) => {
11235
- const { top: $, left: G, height: O, width: te } = P(D);
11236
- d.value.top = `${O + $ + +s.offset}px`, v.value = !1, p.value || (d.value.left = `${G + te / 2 - c.value.width / 2}px`), Q({ inputEl: D, left: G, width: te });
11239
+ const { top: x, left: G, height: O, width: te } = P(D);
11240
+ d.value.top = `${O + x + +s.offset}px`, v.value = !1, p.value || (d.value.left = `${G + te / 2 - c.value.width / 2}px`), Q({ inputEl: D, left: G, width: te });
11237
11241
  }, E = (D) => {
11238
- const { top: $, left: G, width: O } = P(D);
11239
- d.value.top = `${$ - +s.offset - c.value.height}px`, v.value = !0, Q({ inputEl: D, left: G, width: O });
11242
+ const { top: x, left: G, width: O } = P(D);
11243
+ d.value.top = `${x - +s.offset - c.value.height}px`, v.value = !0, Q({ inputEl: D, left: G, width: O });
11240
11244
  }, I = (D) => {
11241
11245
  if (s.autoPosition) {
11242
- const { left: $, width: G } = P(D), { left: O, right: te } = c.value;
11246
+ const { left: x, width: G } = P(D), { left: O, right: te } = c.value;
11243
11247
  if (!p.value) {
11244
11248
  if (Math.abs(O) !== Math.abs(te)) {
11245
11249
  if (O <= 0)
11246
- return p.value = !0, A($);
11250
+ return p.value = !0, A(x);
11247
11251
  if (te >= document.documentElement.clientWidth)
11248
- return p.value = !0, k($, G);
11252
+ return p.value = !0, k(x, G);
11249
11253
  }
11250
- return M($, G);
11254
+ return M(x, G);
11251
11255
  }
11252
11256
  }
11253
11257
  }, V = () => {
11254
- const D = ct(a);
11258
+ const D = ft(a);
11255
11259
  if (D) {
11256
11260
  if (s.autoPosition === Mt.top) return Mt.top;
11257
11261
  if (s.autoPosition === Mt.bottom) return Mt.bottom;
11258
- const { height: $ } = c.value, { top: G, height: O } = D.getBoundingClientRect(), te = window.innerHeight - G - O, z = G;
11259
- return $ <= te ? Mt.bottom : $ > te && $ <= z ? Mt.top : te >= z ? Mt.bottom : Mt.top;
11262
+ const { height: x } = c.value, { top: G, height: O } = D.getBoundingClientRect(), te = window.innerHeight - G - O, z = G;
11263
+ return x <= te ? Mt.bottom : x > te && x <= z ? Mt.top : te >= z ? Mt.bottom : Mt.top;
11260
11264
  }
11261
11265
  return Mt.bottom;
11262
11266
  }, ne = (D) => V() === Mt.bottom ? Y(D) : E(D), le = () => {
11263
- const D = ct(a);
11267
+ const D = ft(a);
11264
11268
  if (D)
11265
11269
  return s.autoPosition ? ne(D) : Y(D);
11266
11270
  }, N = function(D) {
11267
11271
  if (D) {
11268
- const $ = D.scrollHeight > D.clientHeight, G = window.getComputedStyle(D).overflowY.indexOf("hidden") !== -1;
11269
- return $ && !G;
11272
+ const x = D.scrollHeight > D.clientHeight, G = window.getComputedStyle(D).overflowY.indexOf("hidden") !== -1;
11273
+ return x && !G;
11270
11274
  }
11271
11275
  return !0;
11272
11276
  }, g = function(D) {
@@ -11291,9 +11295,9 @@ const yv = ({
11291
11295
  xCorrect: p,
11292
11296
  setMenuPosition: U,
11293
11297
  getScrollableParent: g,
11294
- shadowRender: (D, $) => {
11298
+ shadowRender: (D, x) => {
11295
11299
  var G, O, te;
11296
- const z = document.createElement("div"), C = (G = ct(a)) == null ? void 0 : G.getBoundingClientRect();
11300
+ const z = document.createElement("div"), C = (G = ft(a)) == null ? void 0 : G.getBoundingClientRect();
11297
11301
  z.setAttribute("id", "dp--temp-container");
11298
11302
  const S = (O = n.value) != null && O.clientWidth ? n.value : document.body;
11299
11303
  S.append(z);
@@ -11302,7 +11306,7 @@ const yv = ({
11302
11306
  ) : Object.keys(o), re = pn(
11303
11307
  D,
11304
11308
  {
11305
- ...$,
11309
+ ...x,
11306
11310
  shadow: !0,
11307
11311
  style: { opacity: 0, position: "absolute", ...F }
11308
11312
  },
@@ -11311,7 +11315,7 @@ const yv = ({
11311
11315
  lr(re, z), c.value = (te = re.el) == null ? void 0 : te.getBoundingClientRect(), lr(null, z), S.removeChild(z);
11312
11316
  }
11313
11317
  };
11314
- }, Ut = [
11318
+ }, jt = [
11315
11319
  { name: "clock-icon", use: ["time", "calendar", "shared"] },
11316
11320
  { name: "arrow-left", use: ["month-year", "calendar", "shared", "year-mode"] },
11317
11321
  { name: "arrow-right", use: ["month-year", "calendar", "shared", "year-mode"] },
@@ -11354,15 +11358,15 @@ const yv = ({
11354
11358
  { name: "tp-inline-arrow-down", use: ["shared", "time"] },
11355
11359
  { name: "menu-header", use: ["menu"] }
11356
11360
  ], gv = [{ name: "trigger" }, { name: "input-icon" }, { name: "clear-icon" }, { name: "dp-input" }], bv = {
11357
- all: () => Ut,
11358
- monthYear: () => Ut.filter((t) => t.use.includes("month-year")),
11361
+ all: () => jt,
11362
+ monthYear: () => jt.filter((t) => t.use.includes("month-year")),
11359
11363
  input: () => gv,
11360
- timePicker: () => Ut.filter((t) => t.use.includes("time")),
11361
- action: () => Ut.filter((t) => t.use.includes("action")),
11362
- calendar: () => Ut.filter((t) => t.use.includes("calendar")),
11363
- menu: () => Ut.filter((t) => t.use.includes("menu")),
11364
- shared: () => Ut.filter((t) => t.use.includes("shared")),
11365
- yearMode: () => Ut.filter((t) => t.use.includes("year-mode"))
11364
+ timePicker: () => jt.filter((t) => t.use.includes("time")),
11365
+ action: () => jt.filter((t) => t.use.includes("action")),
11366
+ calendar: () => jt.filter((t) => t.use.includes("calendar")),
11367
+ menu: () => jt.filter((t) => t.use.includes("menu")),
11368
+ shared: () => jt.filter((t) => t.use.includes("shared")),
11369
+ yearMode: () => jt.filter((t) => t.use.includes("year-mode"))
11366
11370
  }, kt = (t, e, a) => {
11367
11371
  const n = [];
11368
11372
  return bv[e]().forEach((l) => {
@@ -11371,17 +11375,17 @@ const yv = ({
11371
11375
  l.slot && n.push(l.slot);
11372
11376
  }), n;
11373
11377
  }, tn = (t) => {
11374
- const e = _(() => (n) => t.value ? n ? t.value.open : t.value.close : ""), a = _(() => (n) => t.value ? n ? t.value.menuAppearTop : t.value.menuAppearBottom : "");
11378
+ const e = $(() => (n) => t.value ? n ? t.value.open : t.value.close : ""), a = $(() => (n) => t.value ? n ? t.value.menuAppearTop : t.value.menuAppearBottom : "");
11375
11379
  return { transitionName: e, showTransition: !!t.value, menuTransition: a };
11376
11380
  }, an = (t, e, a) => {
11377
11381
  const { defaultedRange: n, defaultedTz: l } = tt(t), r = oe(_t(oe(), l.value.timezone)), s = X([{ month: Be(r), year: Pe(r) }]), o = (v) => {
11378
11382
  const h = {
11379
- hours: zt(r),
11383
+ hours: Qt(r),
11380
11384
  minutes: ea(r),
11381
11385
  seconds: 0
11382
11386
  };
11383
11387
  return n.value.enabled ? [h[v], h[v]] : h[v];
11384
- }, i = Gt({
11388
+ }, i = Zt({
11385
11389
  hours: o("hours"),
11386
11390
  minutes: o("minutes"),
11387
11391
  seconds: o("seconds")
@@ -11393,14 +11397,14 @@ const yv = ({
11393
11397
  },
11394
11398
  { deep: !0 }
11395
11399
  );
11396
- const c = _({
11400
+ const c = $({
11397
11401
  get: () => t.internalModelValue,
11398
11402
  set: (v) => {
11399
11403
  !t.readonly && !t.disabled && e("update:internal-model-value", v);
11400
11404
  }
11401
- }), p = _(
11405
+ }), p = $(
11402
11406
  () => (v) => s.value[v] ? s.value[v].month : 0
11403
- ), d = _(
11407
+ ), d = $(
11404
11408
  () => (v) => s.value[v] ? s.value[v].year : 0
11405
11409
  );
11406
11410
  return Ce(
@@ -11430,13 +11434,13 @@ const yv = ({
11430
11434
  !f.current && e.hideOffsetDates || (p.value = f.value);
11431
11435
  }, h = () => {
11432
11436
  p.value = null;
11433
- }, x = (f) => Array.isArray(t.value) && i.value.enabled && t.value[0] && p.value ? f ? st(p.value, t.value[0]) : nt(p.value, t.value[0]) : !0, k = (f, B) => {
11437
+ }, _ = (f) => Array.isArray(t.value) && i.value.enabled && t.value[0] && p.value ? f ? st(p.value, t.value[0]) : nt(p.value, t.value[0]) : !0, k = (f, B) => {
11434
11438
  const de = () => t.value ? B ? t.value[0] || null : t.value[1] : null, Oe = t.value && Array.isArray(t.value) ? de() : null;
11435
11439
  return Ne(oe(f.value), Oe);
11436
11440
  }, A = (f) => {
11437
11441
  const B = Array.isArray(t.value) ? t.value[0] : null;
11438
11442
  return f ? !nt(p.value ?? null, B) : !0;
11439
- }, M = (f, B = !0) => (i.value.enabled || e.weekPicker) && Array.isArray(t.value) && t.value.length === 2 ? e.hideOffsetDates && !f.current ? !1 : Ne(oe(f.value), t.value[B ? 0 : 1]) : i.value.enabled ? k(f, B) && A(B) || Ne(f.value, Array.isArray(t.value) ? t.value[0] : null) && x(B) : !1, P = (f, B) => {
11443
+ }, M = (f, B = !0) => (i.value.enabled || e.weekPicker) && Array.isArray(t.value) && t.value.length === 2 ? e.hideOffsetDates && !f.current ? !1 : Ne(oe(f.value), t.value[B ? 0 : 1]) : i.value.enabled ? k(f, B) && A(B) || Ne(f.value, Array.isArray(t.value) ? t.value[0] : null) && _(B) : !1, P = (f, B) => {
11440
11444
  if (Array.isArray(t.value) && t.value[0] && t.value.length === 1) {
11441
11445
  const de = Ne(f.value, p.value);
11442
11446
  return B ? st(t.value[0], f.value) && de : nt(t.value[0], f.value) && de;
@@ -11489,13 +11493,13 @@ const yv = ({
11489
11493
  return Ma(f.value, B) || fa(f.value, de);
11490
11494
  }
11491
11495
  return !1;
11492
- }, $ = (f) => {
11496
+ }, x = (f) => {
11493
11497
  if (Array.isArray(t.value) && t.value.length === 1) {
11494
11498
  const { before: B, after: de } = Sr(+i.value.minRange, t.value[0]);
11495
11499
  return Ua([B, de], t.value[0], f.value);
11496
11500
  }
11497
11501
  return !1;
11498
- }, G = (f) => i.value.enabled && (i.value.maxRange || i.value.minRange) ? i.value.maxRange && i.value.minRange ? D(f) || $(f) : i.value.maxRange ? D(f) : $(f) : !1, O = (f) => {
11502
+ }, G = (f) => i.value.enabled && (i.value.maxRange || i.value.minRange) ? i.value.maxRange && i.value.minRange ? D(f) || x(f) : i.value.maxRange ? D(f) : x(f) : !1, O = (f) => {
11499
11503
  const { isRangeStart: B, isRangeEnd: de } = S(f), Oe = i.value.enabled ? B || de : !1;
11500
11504
  return {
11501
11505
  dp__cell_offset: !f.current,
@@ -11568,15 +11572,15 @@ const yv = ({
11568
11572
  };
11569
11573
  }, ra = (t) => {
11570
11574
  const { defaultedFilters: e, defaultedRange: a, propDates: n, defaultedMultiDates: l } = tt(t), r = (g) => n.value.disabledDates ? typeof n.value.disabledDates == "function" ? n.value.disabledDates(oe(g)) : !!$n(g, n.value.disabledDates) : !1, s = (g) => n.value.maxDate ? t.yearPicker ? Pe(g) > Pe(n.value.maxDate) : st(g, n.value.maxDate) : !1, o = (g) => n.value.minDate ? t.yearPicker ? Pe(g) < Pe(n.value.minDate) : nt(g, n.value.minDate) : !1, i = (g) => {
11571
- const y = s(g), D = o(g), $ = r(g), G = e.value.months.map((S) => +S).includes(Be(g)), O = t.disabledWeekDays.length ? t.disabledWeekDays.some((S) => +S === Df(g)) : !1, te = h(g), z = Pe(g), C = z < +t.yearRange[0] || z > +t.yearRange[1];
11572
- return !(y || D || $ || G || C || O || te);
11573
- }, c = (g, y) => nt(...jt(n.value.minDate, g, y)) || Ne(...jt(n.value.minDate, g, y)), p = (g, y) => st(...jt(n.value.maxDate, g, y)) || Ne(...jt(n.value.maxDate, g, y)), d = (g, y, D) => {
11574
- let $ = !1;
11575
- return n.value.maxDate && D && p(g, y) && ($ = !0), n.value.minDate && !D && c(g, y) && ($ = !0), $;
11576
- }, v = (g, y, D, $) => {
11575
+ const y = s(g), D = o(g), x = r(g), G = e.value.months.map((S) => +S).includes(Be(g)), O = t.disabledWeekDays.length ? t.disabledWeekDays.some((S) => +S === Df(g)) : !1, te = h(g), z = Pe(g), C = z < +t.yearRange[0] || z > +t.yearRange[1];
11576
+ return !(y || D || x || G || C || O || te);
11577
+ }, c = (g, y) => nt(...Xt(n.value.minDate, g, y)) || Ne(...Xt(n.value.minDate, g, y)), p = (g, y) => st(...Xt(n.value.maxDate, g, y)) || Ne(...Xt(n.value.maxDate, g, y)), d = (g, y, D) => {
11578
+ let x = !1;
11579
+ return n.value.maxDate && D && p(g, y) && (x = !0), n.value.minDate && !D && c(g, y) && (x = !0), x;
11580
+ }, v = (g, y, D, x) => {
11577
11581
  let G = !1;
11578
- return $ && (n.value.minDate || n.value.maxDate) ? n.value.minDate && n.value.maxDate ? G = d(g, y, D) : (n.value.minDate && c(g, y) || n.value.maxDate && p(g, y)) && (G = !0) : G = !0, G;
11579
- }, h = (g) => Array.isArray(n.value.allowedDates) && !n.value.allowedDates.length ? !0 : n.value.allowedDates ? !$n(g, n.value.allowedDates) : !1, x = (g) => !i(g), k = (g) => a.value.noDisabledRange ? !Ds({ start: g[0], end: g[1] }).some((y) => x(y)) : !0, A = (g) => {
11582
+ return x && (n.value.minDate || n.value.maxDate) ? n.value.minDate && n.value.maxDate ? G = d(g, y, D) : (n.value.minDate && c(g, y) || n.value.maxDate && p(g, y)) && (G = !0) : G = !0, G;
11583
+ }, h = (g) => Array.isArray(n.value.allowedDates) && !n.value.allowedDates.length ? !0 : n.value.allowedDates ? !$n(g, n.value.allowedDates) : !1, _ = (g) => !i(g), k = (g) => a.value.noDisabledRange ? !Ds({ start: g[0], end: g[1] }).some((y) => _(y)) : !0, A = (g) => {
11580
11584
  if (g) {
11581
11585
  const y = Pe(g);
11582
11586
  return y >= +t.yearRange[0] && y <= t.yearRange[1];
@@ -11584,7 +11588,7 @@ const yv = ({
11584
11588
  return !0;
11585
11589
  }, M = (g, y) => !!(Array.isArray(g) && g[y] && (a.value.maxRange || a.value.minRange) && A(g[y])), P = (g, y, D = 0) => {
11586
11590
  if (M(y, D) && A(g)) {
11587
- const $ = ks(g, y[D]), G = Xs(y[D], g), O = G.length === 1 ? 0 : G.filter((z) => x(z)).length, te = Math.abs($) - (a.value.minMaxRawRange ? 0 : O);
11591
+ const x = ks(g, y[D]), G = Xs(y[D], g), O = G.length === 1 ? 0 : G.filter((z) => _(z)).length, te = Math.abs(x) - (a.value.minMaxRawRange ? 0 : O);
11588
11592
  if (a.value.minRange && a.value.maxRange)
11589
11593
  return te >= +a.value.minRange && te <= +a.value.maxRange;
11590
11594
  if (a.value.minRange) return te >= +a.value.minRange;
@@ -11592,16 +11596,16 @@ const yv = ({
11592
11596
  }
11593
11597
  return !0;
11594
11598
  }, T = () => !t.enableTimePicker || t.monthPicker || t.yearPicker || t.ignoreTimeValidation, L = (g) => Array.isArray(g) ? [g[0] ? Zn(g[0]) : null, g[1] ? Zn(g[1]) : null] : Zn(g), U = (g, y, D) => g.find(
11595
- ($) => +$.hours === zt(y) && $.minutes === "*" ? !0 : +$.minutes === ea(y) && +$.hours === zt(y)
11599
+ (x) => +x.hours === Qt(y) && x.minutes === "*" ? !0 : +x.minutes === ea(y) && +x.hours === Qt(y)
11596
11600
  ) && D, Q = (g, y, D) => {
11597
- const [$, G] = g, [O, te] = y;
11598
- return !U($, O, D) && !U(G, te, D) && D;
11601
+ const [x, G] = g, [O, te] = y;
11602
+ return !U(x, O, D) && !U(G, te, D) && D;
11599
11603
  }, Y = (g, y) => {
11600
11604
  const D = Array.isArray(y) ? y : [y];
11601
- return Array.isArray(t.disabledTimes) ? Array.isArray(t.disabledTimes[0]) ? Q(t.disabledTimes, D, g) : !D.some(($) => U(t.disabledTimes, $, g)) : g;
11605
+ return Array.isArray(t.disabledTimes) ? Array.isArray(t.disabledTimes[0]) ? Q(t.disabledTimes, D, g) : !D.some((x) => U(t.disabledTimes, x, g)) : g;
11602
11606
  }, E = (g, y) => {
11603
- const D = Array.isArray(y) ? [da(y[0]), y[1] ? da(y[1]) : void 0] : da(y), $ = !t.disabledTimes(D);
11604
- return g && $;
11607
+ const D = Array.isArray(y) ? [da(y[0]), y[1] ? da(y[1]) : void 0] : da(y), x = !t.disabledTimes(D);
11608
+ return g && x;
11605
11609
  }, I = (g, y) => t.disabledTimes ? Array.isArray(t.disabledTimes) ? Y(y, g) : E(y, g) : y, V = (g) => {
11606
11610
  let y = !0;
11607
11611
  if (!g || T()) return !0;
@@ -11610,13 +11614,13 @@ const yv = ({
11610
11614
  t.maxTime,
11611
11615
  n.value.maxDate,
11612
11616
  "max",
11613
- ft(D),
11617
+ pt(D),
11614
11618
  y
11615
11619
  )), (t.minTime || n.value.minDate) && (y = qr(
11616
11620
  t.minTime,
11617
11621
  n.value.minDate,
11618
11622
  "min",
11619
- ft(D),
11623
+ pt(D),
11620
11624
  y
11621
11625
  )), I(g, y);
11622
11626
  }, ne = (g) => {
@@ -11624,21 +11628,21 @@ const yv = ({
11624
11628
  let y = !0;
11625
11629
  const D = oe(At(g));
11626
11630
  if (n.value.minDate && n.value.maxDate) {
11627
- const $ = oe(At(n.value.minDate)), G = oe(At(n.value.maxDate));
11628
- return st(D, $) && nt(D, G) || Ne(D, $) || Ne(D, G);
11631
+ const x = oe(At(n.value.minDate)), G = oe(At(n.value.maxDate));
11632
+ return st(D, x) && nt(D, G) || Ne(D, x) || Ne(D, G);
11629
11633
  }
11630
11634
  if (n.value.minDate) {
11631
- const $ = oe(At(n.value.minDate));
11632
- y = st(D, $) || Ne(D, $);
11635
+ const x = oe(At(n.value.minDate));
11636
+ y = st(D, x) || Ne(D, x);
11633
11637
  }
11634
11638
  if (n.value.maxDate) {
11635
- const $ = oe(At(n.value.maxDate));
11636
- y = nt(D, $) || Ne(D, $);
11639
+ const x = oe(At(n.value.maxDate));
11640
+ y = nt(D, x) || Ne(D, x);
11637
11641
  }
11638
11642
  return y;
11639
- }, le = _(() => (g) => !t.enableTimePicker || t.ignoreTimeValidation ? !0 : V(g)), N = _(() => (g) => t.monthPicker ? Array.isArray(g) && (a.value.enabled || l.value.enabled) ? !g.filter((y) => !ne(y)).length : ne(g) : !0);
11643
+ }, le = $(() => (g) => !t.enableTimePicker || t.ignoreTimeValidation ? !0 : V(g)), N = $(() => (g) => t.monthPicker ? Array.isArray(g) && (a.value.enabled || l.value.enabled) ? !g.filter((y) => !ne(y)).length : ne(g) : !0);
11640
11644
  return {
11641
- isDisabled: x,
11645
+ isDisabled: _,
11642
11646
  validateDate: i,
11643
11647
  validateMonthYearInRange: v,
11644
11648
  isDateRangeAllowed: k,
@@ -11648,14 +11652,14 @@ const yv = ({
11648
11652
  isMonthValid: N
11649
11653
  };
11650
11654
  }, In = () => {
11651
- const t = _(() => (n, l) => n == null ? void 0 : n.includes(l)), e = _(() => (n, l) => n.count ? n.solo ? !0 : l === 0 : !0), a = _(() => (n, l) => n.count ? n.solo ? !0 : l === n.count - 1 : !0);
11655
+ const t = $(() => (n, l) => n == null ? void 0 : n.includes(l)), e = $(() => (n, l) => n.count ? n.solo ? !0 : l === 0 : !0), a = $(() => (n, l) => n.count ? n.solo ? !0 : l === n.count - 1 : !0);
11652
11656
  return { hideNavigationButtons: t, showLeftIcon: e, showRightIcon: a };
11653
11657
  }, _v = (t, e, a) => {
11654
- const n = X(0), l = Gt({
11658
+ const n = X(0), l = Zt({
11655
11659
  [ua.timePicker]: !t.enableTimePicker || t.timePicker || t.monthPicker,
11656
11660
  [ua.calendar]: !1,
11657
11661
  [ua.header]: !1
11658
- }), r = _(() => t.monthPicker || t.timePicker), s = (d) => {
11662
+ }), r = $(() => t.monthPicker || t.timePicker), s = (d) => {
11659
11663
  var v;
11660
11664
  if ((v = t.flow) != null && v.length) {
11661
11665
  if (!d && r.value) return p();
@@ -11667,8 +11671,8 @@ const yv = ({
11667
11671
  }, i = () => {
11668
11672
  n.value = -1;
11669
11673
  }, c = (d, v, ...h) => {
11670
- var x, k;
11671
- t.flow[n.value] === d && a.value && ((k = (x = a.value)[v]) == null || k.call(x, ...h));
11674
+ var _, k;
11675
+ t.flow[n.value] === d && a.value && ((k = (_ = a.value)[v]) == null || k.call(_, ...h));
11672
11676
  }, p = (d = 0) => {
11673
11677
  d && (n.value += d), c(gt.month, "toggleMonthPicker", !0), c(gt.year, "toggleYearPicker", !0), c(gt.calendar, "toggleTimePicker", !1, !0), c(gt.time, "toggleTimePicker", !0, !0);
11674
11678
  const v = t.flow[n.value];
@@ -11717,7 +11721,7 @@ const yv = ({
11717
11721
  defaultedUI: d,
11718
11722
  getDefaultPattern: v,
11719
11723
  getDefaultStartTime: h
11720
- } = tt(l), { checkMinMaxRange: x } = ra(l), k = X(), A = X(null), M = X(!1), P = X(!1), T = _(
11724
+ } = tt(l), { checkMinMaxRange: _ } = ra(l), k = X(), A = X(null), M = X(!1), P = X(!1), T = $(
11721
11725
  () => ({
11722
11726
  dp__pointer: !l.disabled && !l.readonly && !r.value.enabled,
11723
11727
  dp__disabled: l.disabled,
@@ -11748,7 +11752,7 @@ const yv = ({
11748
11752
  const K = U(S.trim()), re = F ? U(F.trim()) : null;
11749
11753
  if (fa(K, re)) return;
11750
11754
  const f = K && re ? [K, re] : [K];
11751
- x(re, f, 0) && (k.value = K ? f : null);
11755
+ _(re, f, 0) && (k.value = K ? f : null);
11752
11756
  }
11753
11757
  }, Y = () => {
11754
11758
  P.value = !0;
@@ -11774,17 +11778,17 @@ const yv = ({
11774
11778
  r.value.enabled && r.value.selectOnFocus && ((z = A.value) == null || z.select());
11775
11779
  });
11776
11780
  }, N = (z) => {
11777
- if (Xt(z, i.value, !0), r.value.enabled && r.value.openMenu && !o.value.input) {
11781
+ if (Kt(z, i.value, !0), r.value.enabled && r.value.openMenu && !o.value.input) {
11778
11782
  if (r.value.openMenu === "open" && !l.isMenuOpen) return n("open");
11779
11783
  if (r.value.openMenu === "toggle") return n("toggle");
11780
11784
  } else r.value.enabled || n("toggle");
11781
11785
  }, g = () => {
11782
11786
  n("real-blur"), M.value = !1, (!l.isMenuOpen || o.value.enabled && o.value.input) && n("blur"), l.autoApply && r.value.enabled && k.value && !l.isMenuOpen && (n("set-input-date", k.value), n("select-date"), k.value = null);
11783
11787
  }, y = (z) => {
11784
- Xt(z, i.value, !0), n("clear");
11788
+ Kt(z, i.value, !0), n("clear");
11785
11789
  }, D = () => {
11786
11790
  n("close");
11787
- }, $ = (z) => {
11791
+ }, x = (z) => {
11788
11792
  if (z.key === "Tab" && ne(z), z.key === "Enter" && V(z), z.key === "Escape" && r.value.escClose && D(), !r.value.enabled) {
11789
11793
  if (z.code === "Tab") return;
11790
11794
  z.preventDefault();
@@ -11814,7 +11818,7 @@ const yv = ({
11814
11818
  onTab: ne,
11815
11819
  onClear: y,
11816
11820
  onBlur: g,
11817
- onKeypress: $,
11821
+ onKeypress: x,
11818
11822
  onPaste: Y,
11819
11823
  onFocus: le,
11820
11824
  openMenu: () => z.$emit("open"),
@@ -11842,8 +11846,8 @@ const yv = ({
11842
11846
  onInput: I,
11843
11847
  onBlur: g,
11844
11848
  onFocus: le,
11845
- onKeypress: $,
11846
- onKeydown: C[0] || (C[0] = (re) => $(re)),
11849
+ onKeypress: x,
11850
+ onKeydown: C[0] || (C[0] = (re) => x(re)),
11847
11851
  onPaste: Y
11848
11852
  }, null, 42, $v)),
11849
11853
  ee("div", {
@@ -11872,7 +11876,7 @@ const yv = ({
11872
11876
  class: "dp--clear-btn",
11873
11877
  type: "button",
11874
11878
  onKeydown: C[4] || (C[4] = (re) => u(wt)(re, () => y(re), !0, te)),
11875
- onClick: C[5] || (C[5] = pt((re) => y(re), ["prevent"]))
11879
+ onClick: C[5] || (C[5] = dt((re) => y(re), ["prevent"]))
11876
11880
  }, [
11877
11881
  ye(u(Fs), {
11878
11882
  class: "dp__input_icons",
@@ -11902,7 +11906,7 @@ const yv = ({
11902
11906
  }, Pv = (t, e, a, n = {}) => {
11903
11907
  const { window: l = Mv, event: r = "pointerdown" } = n;
11904
11908
  return l ? Cv(l, r, (s) => {
11905
- const o = ct(t), i = ct(e);
11909
+ const o = ft(t), i = ft(e);
11906
11910
  !o || !i || o === s.target || s.composedPath().includes(o) || s.composedPath().includes(i) || a(s);
11907
11911
  }, { passive: !0 }) : void 0;
11908
11912
  }, qv = ["data-dp-mobile"], Sv = /* @__PURE__ */ ce({
@@ -11941,7 +11945,7 @@ const yv = ({
11941
11945
  "text-input"
11942
11946
  ],
11943
11947
  setup(t, { expose: e, emit: a }) {
11944
- const n = a, l = t, r = Qt(), s = X(!1), o = qe(l, "modelValue"), i = qe(l, "timezone"), c = X(null), p = X(null), d = X(null), v = X(!1), h = X(null), x = X(!1), k = X(!1), A = X(!1), M = X(!1), { setMenuFocused: P, setShiftKey: T } = eo(), { clearArrowNav: L } = la(), { validateDate: U, isValidTime: Q } = ra(l), {
11948
+ const n = a, l = t, r = Wt(), s = X(!1), o = qe(l, "modelValue"), i = qe(l, "timezone"), c = X(null), p = X(null), d = X(null), v = X(!1), h = X(null), _ = X(!1), k = X(!1), A = X(!1), M = X(!1), { setMenuFocused: P, setShiftKey: T } = eo(), { clearArrowNav: L } = la(), { validateDate: U, isValidTime: Q } = ra(l), {
11945
11949
  defaultedTransitions: Y,
11946
11950
  defaultedTextInput: E,
11947
11951
  defaultedInline: I,
@@ -11963,7 +11967,7 @@ const yv = ({
11963
11967
  }
11964
11968
  window == null || window.removeEventListener("keyup", me), window == null || window.removeEventListener("keydown", Le);
11965
11969
  });
11966
- const D = kt(r, "all", l.presetDates), $ = kt(r, "input");
11970
+ const D = kt(r, "all", l.presetDates), x = kt(r, "input");
11967
11971
  Ce(
11968
11972
  [o, i],
11969
11973
  () => {
@@ -11987,7 +11991,7 @@ const yv = ({
11987
11991
  emitModelValue: f,
11988
11992
  formatInputValue: B,
11989
11993
  checkBeforeEmit: de
11990
- } = fm(n, l, v), Oe = _(
11994
+ } = fm(n, l, v), Oe = $(
11991
11995
  () => ({
11992
11996
  dp__main: !0,
11993
11997
  dp__theme_dark: l.dark,
@@ -11996,10 +12000,10 @@ const yv = ({
11996
12000
  "dp--flex-display-collapsed": A.value,
11997
12001
  dp__flex_display_with_input: I.value.input
11998
12002
  })
11999
- ), Z = _(() => l.dark ? "dp__theme_dark" : "dp__theme_light"), Se = _(() => l.teleport ? {
12003
+ ), Z = $(() => l.dark ? "dp__theme_dark" : "dp__theme_light"), Se = $(() => l.teleport ? {
12000
12004
  to: typeof l.teleport == "boolean" ? "body" : l.teleport,
12001
12005
  disabled: !l.teleport || I.value.enabled
12002
- } : {}), ae = _(() => ({ class: "dp__outer_menu_wrap" })), ve = _(() => I.value.enabled && (l.timePicker || l.monthPicker || l.yearPicker || l.quarterPicker)), b = () => {
12006
+ } : {}), ae = $(() => ({ class: "dp__outer_menu_wrap" })), ve = $(() => I.value.enabled && (l.timePicker || l.monthPicker || l.yearPicker || l.quarterPicker)), b = () => {
12003
12007
  var J, he;
12004
12008
  return ((he = (J = d.value) == null ? void 0 : J.$el) == null ? void 0 : he.getBoundingClientRect()) ?? { width: 0, left: 0, right: 0 };
12005
12009
  }, pe = () => {
@@ -12023,12 +12027,12 @@ const yv = ({
12023
12027
  return !J || !Array.isArray(J) && U(J) ? !0 : Array.isArray(J) ? le.value.enabled || J.length === 2 && U(J[0]) && U(J[1]) ? !0 : ne.value.partialRange && !l.timePicker ? U(J[0]) : !1 : !1;
12024
12028
  }, xe = () => {
12025
12029
  de() && ue() ? (f(), ut()) : n("invalid-select", K.value);
12026
- }, dt = (J) => {
12030
+ }, ct = (J) => {
12027
12031
  St(), f(), V.value.closeOnAutoApply && !J && ut();
12028
12032
  }, St = () => {
12029
12033
  d.value && E.value.enabled && d.value.setParsedDate(K.value);
12030
12034
  }, Te = (J = !1) => {
12031
- l.autoApply && Q(K.value) && ue() && (ne.value.enabled && Array.isArray(K.value) ? (ne.value.partialRange || K.value.length === 2) && dt(J) : dt(J));
12035
+ l.autoApply && Q(K.value) && ue() && (ne.value.enabled && Array.isArray(K.value) ? (ne.value.partialRange || K.value.length === 2) && ct(J) : ct(J));
12032
12036
  }, Bt = () => {
12033
12037
  E.value.enabled || (K.value = null);
12034
12038
  }, ut = (J = !1) => {
@@ -12039,7 +12043,7 @@ const yv = ({
12039
12043
  return;
12040
12044
  }
12041
12045
  const It = Array.isArray(J) ? !J.some((ha) => !U(ha)) : U(J), Dt = Q(J);
12042
- It && Dt ? (M.value = !0, K.value = J, he && (x.value = ke, xe(), n("text-submit")), Xe().then(() => {
12046
+ It && Dt ? (M.value = !0, K.value = J, he && (_.value = ke, xe(), n("text-submit")), Xe().then(() => {
12043
12047
  M.value = !1;
12044
12048
  })) : n("invalid-date", J);
12045
12049
  }, On = () => {
@@ -12049,7 +12053,7 @@ const yv = ({
12049
12053
  }, Rn = () => {
12050
12054
  E.value.enabled && (v.value = !0, B()), n("focus");
12051
12055
  }, Ln = () => {
12052
- if (E.value.enabled && (v.value = !1, re(l.modelValue), x.value)) {
12056
+ if (E.value.enabled && (v.value = !1, re(l.modelValue), _.value)) {
12053
12057
  const J = Lp(h.value, k.value);
12054
12058
  J == null || J.focus();
12055
12059
  }
@@ -12114,7 +12118,7 @@ const yv = ({
12114
12118
  onRealBlur: he[1] || (he[1] = (ke) => v.value = !1),
12115
12119
  onTextInput: he[2] || (he[2] = (ke) => J.$emit("text-input", ke))
12116
12120
  }), ze({ _: 2 }, [
12117
- Ve(u($), (ke, It) => ({
12121
+ Ve(u(x), (ke, It) => ({
12118
12122
  name: ke,
12119
12123
  fn: H((Dt) => [
12120
12124
  q(J.$slots, ke, Re(He(Dt)))
@@ -12198,7 +12202,7 @@ const yv = ({
12198
12202
  Object.entries(Iv).forEach(([t, e]) => {
12199
12203
  t !== "default" && (tr[t] = e);
12200
12204
  });
12201
- const un = Gt({ dialogs: [] });
12205
+ const un = Zt({ dialogs: [] });
12202
12206
  function Ov() {
12203
12207
  function t(a, n, l) {
12204
12208
  const r = vt(n).value;
@@ -12260,9 +12264,9 @@ const Lr = {
12260
12264
  let c = Nr(0, i, a);
12261
12265
  const p = c.formatToParts(1000.12), d = ((r = p.find((A) => A.type === "group")) == null ? void 0 : r.value) ?? " ", v = ((s = p.find((A) => A.type === "decimal")) == null ? void 0 : s.value) ?? ".", h = Br(t, d, v);
12262
12266
  if (Number.isNaN(parseFloat(h))) return o;
12263
- const x = h.split(".");
12264
- if (x[1] != null && x[1].length >= 1) {
12265
- const A = x[1].length <= i ? x[1].length : i;
12267
+ const _ = h.split(".");
12268
+ if (_[1] != null && _[1].length >= 1) {
12269
+ const A = _[1].length <= i ? _[1].length : i;
12266
12270
  c = Nr(A, i, a);
12267
12271
  }
12268
12272
  let k = c.format(parseFloat(h));
@@ -12321,10 +12325,10 @@ class Fv {
12321
12325
  const l = `v=${e},mr=${a},m=${n ? 1 : 0}`;
12322
12326
  if (this.memo.has(l)) return this.memo.get(l);
12323
12327
  const { mask: r, escaped: s } = this.escapeMask(a), o = [], i = this.opts.tokens != null ? this.opts.tokens : {}, c = this.isReversed() ? -1 : 1, p = this.isReversed() ? "unshift" : "push", d = this.isReversed() ? 0 : r.length - 1, v = this.isReversed() ? () => A > -1 && M > -1 : () => A < r.length && M < e.length, h = (T) => !this.isReversed() && T <= d || this.isReversed() && T >= d;
12324
- let x, k = -1, A = this.isReversed() ? r.length - 1 : 0, M = this.isReversed() ? e.length - 1 : 0, P = !1;
12328
+ let _, k = -1, A = this.isReversed() ? r.length - 1 : 0, M = this.isReversed() ? e.length - 1 : 0, P = !1;
12325
12329
  for (; v(); ) {
12326
12330
  const T = r.charAt(A), L = i[T], U = (L == null ? void 0 : L.transform) != null ? L.transform(e.charAt(M)) : e.charAt(M);
12327
- if (!s.includes(A) && L != null ? (U.match(L.pattern) != null ? (o[p](U), L.repeated ? (k === -1 ? k = A : A === d && A !== k && (A = k - c), d === k && (A -= c)) : L.multiple && (P = !0, A -= c), A += c) : L.multiple ? P && (A += c, M -= c, P = !1) : U === x ? x = void 0 : L.optional && (A += c, M -= c), M += c) : (n && !this.isEager() && o[p](T), U === T && !this.isEager() ? M += c : x = T, this.isEager() || (A += c)), this.isEager())
12331
+ if (!s.includes(A) && L != null ? (U.match(L.pattern) != null ? (o[p](U), L.repeated ? (k === -1 ? k = A : A === d && A !== k && (A = k - c), d === k && (A -= c)) : L.multiple && (P = !0, A -= c), A += c) : L.multiple ? P && (A += c, M -= c, P = !1) : U === _ ? _ = void 0 : L.optional && (A += c, M -= c), M += c) : (n && !this.isEager() && o[p](T), U === T && !this.isEager() ? M += c : _ = T, this.isEager() || (A += c)), this.isEager())
12328
12332
  for (; h(A) && (i[r.charAt(A)] == null || s.includes(A)); ) {
12329
12333
  if (n) {
12330
12334
  if (o[p](r.charAt(A)), e.charAt(M) === r.charAt(A)) {
@@ -12797,12 +12801,12 @@ const ah = ["value", "placeholder", "disabled", "readonly", "required", "onInput
12797
12801
  }),
12798
12802
  emits: ["update:modelValue"],
12799
12803
  setup(t) {
12800
- const e = t, a = Fe(t, "modelValue"), n = _({
12804
+ const e = t, a = Fe(t, "modelValue"), n = $({
12801
12805
  get: () => a.value,
12802
12806
  set: (P) => a.value = P || void 0
12803
- }), l = _(() => p.value ? "format" : void 0), r = _(() => ({
12807
+ }), l = $(() => p.value ? "format" : void 0), r = $(() => ({
12804
12808
  closeOnAutoApply: e.closeOnSelect
12805
- })), s = Ga(), o = _(() => s.current.value.mode === "dark"), i = _(() => eh(e.format)), c = _(() => th(e.format)), p = _(() => Uv(e.format)), d = _(() => Jv(e.format)), v = _(() => M(e.minTime)), h = _(() => M(e.maxTime)), x = _(() => p.value ? e.icons.clock : e.icons.calendar), k = _(() => ({
12809
+ })), s = Ga(), o = $(() => s.current.value.mode === "dark"), i = $(() => eh(e.format)), c = $(() => th(e.format)), p = $(() => Uv(e.format)), d = $(() => Jv(e.format)), v = $(() => M(e.minTime)), h = $(() => M(e.maxTime)), _ = $(() => p.value ? e.icons.clock : e.icons.calendar), k = $(() => ({
12806
12810
  mask: Kv(e.format),
12807
12811
  tokens: {
12808
12812
  // Default tokens
@@ -12852,7 +12856,7 @@ const ah = ["value", "placeholder", "disabled", "readonly", "required", "onInput
12852
12856
  invalid: e.invalid
12853
12857
  }, ze({
12854
12858
  prepend: H(() => [
12855
- ye(u(We), De({ class: "q-date-time-picker__input-icon" }, x.value), null, 16)
12859
+ ye(u(We), De({ class: "q-date-time-picker__input-icon" }, _.value), null, 16)
12856
12860
  ]),
12857
12861
  default: H(() => [
12858
12862
  ye(u(tr), {
@@ -12991,14 +12995,14 @@ const ah = ["value", "placeholder", "disabled", "readonly", "required", "onInput
12991
12995
  }),
12992
12996
  emits: /* @__PURE__ */ Ie(["enter", "leave"], ["update:modelValue"]),
12993
12997
  setup(t, { emit: e }) {
12994
- const a = t, n = e, l = Fe(t, "modelValue"), r = X(""), s = X(""), o = _(() => ["q-dialog", a.class]), i = _(() => `q-overlay--${a.size}`);
12998
+ const a = t, n = e, l = Fe(t, "modelValue"), r = X(""), s = X(""), o = $(() => ["q-dialog", a.class]), i = $(() => `q-overlay--${a.size}`);
12995
12999
  function c() {
12996
13000
  l.value = !1;
12997
13001
  }
12998
13002
  function p(h) {
12999
- var x, k;
13003
+ var _, k;
13000
13004
  if (h.action) {
13001
- if ((x = a.input) != null && x.validator && (s.value = a.input.validator(u(r)), u(s)))
13005
+ if ((_ = a.input) != null && _.validator && (s.value = a.input.validator(u(r)), u(s)))
13002
13006
  return;
13003
13007
  (k = h.action) == null || k.call(h, u(r));
13004
13008
  }
@@ -13010,10 +13014,10 @@ const ah = ["value", "placeholder", "disabled", "readonly", "required", "onInput
13010
13014
  function v() {
13011
13015
  n("leave");
13012
13016
  }
13013
- return (h, x) => (m(), se(u(na), {
13017
+ return (h, _) => (m(), se(u(na), {
13014
13018
  id: a.id,
13015
13019
  modelValue: l.value,
13016
- "onUpdate:modelValue": x[1] || (x[1] = (k) => l.value = k),
13020
+ "onUpdate:modelValue": _[1] || (_[1] = (k) => l.value = k),
13017
13021
  "backdrop-class": "q-dialog__underlay",
13018
13022
  "scroll-lock": "",
13019
13023
  persistent: "",
@@ -13054,7 +13058,7 @@ const ah = ["value", "placeholder", "disabled", "readonly", "required", "onInput
13054
13058
  a.input ? (m(), w("div", yh, [
13055
13059
  ye(u(Za), {
13056
13060
  modelValue: r.value,
13057
- "onUpdate:modelValue": x[0] || (x[0] = (A) => r.value = A),
13061
+ "onUpdate:modelValue": _[0] || (_[0] = (A) => r.value = A),
13058
13062
  invalid: !!s.value,
13059
13063
  placeholder: (k = a.input) == null ? void 0 : k.placeholder,
13060
13064
  size: "block"
@@ -13134,7 +13138,7 @@ const ah = ["value", "placeholder", "disabled", "readonly", "required", "onInput
13134
13138
  inset: { type: Boolean }
13135
13139
  },
13136
13140
  setup(t) {
13137
- const e = t, a = _(() => !!Qt().default), n = _(() => [
13141
+ const e = t, a = $(() => !!Wt().default), n = $(() => [
13138
13142
  "q-divider",
13139
13143
  `q-divider--${e.direction}`,
13140
13144
  {
@@ -13190,13 +13194,13 @@ const ah = ["value", "placeholder", "disabled", "readonly", "required", "onInput
13190
13194
  }),
13191
13195
  emits: /* @__PURE__ */ Ie(["select", "hide", "focus-previous"], ["update:modelValue", "update:highlighted"]),
13192
13196
  setup(t, { emit: e }) {
13193
- const a = t, n = e, l = Fe(t, "modelValue"), r = Fe(t, "highlighted"), s = X(void 0), o = X([]), i = _(() => a.depth !== 0 ? a.offset : 4), c = _(() => a.depth !== 0 ? a.crossOffset : void 0), p = Xa("qListRef");
13197
+ const a = t, n = e, l = Fe(t, "modelValue"), r = Fe(t, "highlighted"), s = X(void 0), o = X([]), i = $(() => a.depth !== 0 ? a.offset : 4), c = $(() => a.depth !== 0 ? a.crossOffset : void 0), p = Xa("qListRef");
13194
13198
  function d(U) {
13195
13199
  var E;
13196
13200
  const Q = (E = a.items) == null ? void 0 : E.find((I) => I[a.itemValue] === U);
13197
13201
  o.value = (Q == null ? void 0 : Q.items) ?? [];
13198
13202
  const Y = o.value.length > 0;
13199
- r.value = U, Y ? P(U) : x(U);
13203
+ r.value = U, Y ? P(U) : _(U);
13200
13204
  }
13201
13205
  function v(U) {
13202
13206
  var Q;
@@ -13218,7 +13222,7 @@ const ah = ["value", "placeholder", "disabled", "readonly", "required", "onInput
13218
13222
  function h(U) {
13219
13223
  a.trigger === "hover" && (r.value = U, P(U));
13220
13224
  }
13221
- function x(U) {
13225
+ function _(U) {
13222
13226
  n("select", U), M();
13223
13227
  }
13224
13228
  function k() {
@@ -13273,7 +13277,7 @@ const ah = ["value", "placeholder", "disabled", "readonly", "required", "onInput
13273
13277
  class: "q-dropdown-menu__body",
13274
13278
  "data-testid": "dropdown-content",
13275
13279
  tabindex: "-1",
13276
- onKeydown: pt(v, ["stop"])
13280
+ onKeydown: dt(v, ["stop"])
13277
13281
  }, [
13278
13282
  ye(u(Cn), {
13279
13283
  ref: "qListRef",
@@ -13311,7 +13315,7 @@ const ah = ["value", "placeholder", "disabled", "readonly", "required", "onInput
13311
13315
  "non-modal": "",
13312
13316
  inline: "",
13313
13317
  onHide: M,
13314
- onSelect: x,
13318
+ onSelect: _,
13315
13319
  onFocusPrevious: T
13316
13320
  }), null, 16, ["model-value", "activator", "items", "groups", "depth", "delay"])) : R("", !0)
13317
13321
  ], 64)) : R("", !0)
@@ -13398,7 +13402,7 @@ function Ih(t, e = {}) {
13398
13402
  const p = X(!1), d = X(!1), v = X(u(i)), h = (E) => {
13399
13403
  const I = u(r);
13400
13404
  return I.length === 0 || I.some((V) => E.match(V));
13401
- }, x = (E) => !(o && E.size > o || !h(E.type)), k = () => {
13405
+ }, _ = (E) => !(o && E.size > o || !h(E.type)), k = () => {
13402
13406
  c = 0, p.value = !1, d.value = !1;
13403
13407
  }, A = (E) => {
13404
13408
  var ne;
@@ -13407,7 +13411,7 @@ function Ih(t, e = {}) {
13407
13411
  const I = Array.from(((ne = E.dataTransfer) == null ? void 0 : ne.files) || []);
13408
13412
  if (!u(s) && I.length > 1)
13409
13413
  return;
13410
- const V = I.filter(x);
13414
+ const V = I.filter(_);
13411
13415
  V.length && a && a(V);
13412
13416
  }, M = (E) => {
13413
13417
  var V;
@@ -13492,7 +13496,7 @@ const Eh = ["id", "accept", "required", "readonly", "disabled"], Rh = {
13492
13496
  }),
13493
13497
  emits: ["update:modelValue"],
13494
13498
  setup(t) {
13495
- const e = t, a = Fe(t, "modelValue"), n = vt(qe(e, "id")), l = _(() => !e.readonly && !e.disabled), r = X(null);
13499
+ const e = t, a = Fe(t, "modelValue"), n = vt(qe(e, "id")), l = $(() => !e.readonly && !e.disabled), r = X(null);
13496
13500
  Ce(a, (T) => {
13497
13501
  r.value && URL.revokeObjectURL(r.value);
13498
13502
  const L = T && T.type.startsWith("image/");
@@ -13519,14 +13523,14 @@ const Eh = ["id", "accept", "required", "readonly", "disabled"], Rh = {
13519
13523
  const L = T == null ? void 0 : T[0];
13520
13524
  L && (a.value = L);
13521
13525
  }
13522
- const v = X(null), h = _(() => Array.isArray(e.accept) ? e.accept : e.accept ? e.accept.split(",").map((T) => T.trim()) : []), x = _(() => {
13526
+ const v = X(null), h = $(() => Array.isArray(e.accept) ? e.accept : e.accept ? e.accept.split(",").map((T) => T.trim()) : []), _ = $(() => {
13523
13527
  var T;
13524
13528
  return (T = h.value) == null ? void 0 : T.join(",");
13525
- }), k = _(() => l.value && !a.value), { isOverDropZone: A, isValid: M } = Ih(v, {
13529
+ }), k = $(() => l.value && !a.value), { isOverDropZone: A, isValid: M } = Ih(v, {
13526
13530
  onDrop: d,
13527
13531
  accept: h,
13528
13532
  enabled: k
13529
- }), P = _(() => [
13533
+ }), P = $(() => [
13530
13534
  "q-field__control",
13531
13535
  "q-file-input",
13532
13536
  {
@@ -13555,7 +13559,7 @@ const Eh = ["id", "accept", "required", "readonly", "disabled"], Rh = {
13555
13559
  ref: s,
13556
13560
  type: "file",
13557
13561
  class: "q-file-input__file-input",
13558
- accept: x.value,
13562
+ accept: _.value,
13559
13563
  required: e.required,
13560
13564
  readonly: e.readonly,
13561
13565
  disabled: e.disabled
@@ -13633,7 +13637,7 @@ const Eh = ["id", "accept", "required", "readonly", "disabled"], Rh = {
13633
13637
  xxl: {}
13634
13638
  },
13635
13639
  setup(t) {
13636
- const e = t, a = _(() => [
13640
+ const e = t, a = $(() => [
13637
13641
  "q-col",
13638
13642
  n("", e.cols),
13639
13643
  n("sm", e.sm),
@@ -13648,7 +13652,7 @@ const Eh = ["id", "accept", "required", "readonly", "disabled"], Rh = {
13648
13652
  }
13649
13653
  return pa({
13650
13654
  QField: {
13651
- size: _(() => e.cols === "auto" ? void 0 : "block")
13655
+ size: $(() => e.cols === "auto" ? void 0 : "block")
13652
13656
  }
13653
13657
  }), (l, r) => (m(), w("div", {
13654
13658
  class: ie(a.value)
@@ -13662,7 +13666,7 @@ const Eh = ["id", "accept", "required", "readonly", "disabled"], Rh = {
13662
13666
  fluid: { type: Boolean }
13663
13667
  },
13664
13668
  setup(t) {
13665
- const e = t, a = _(() => ["q-container", { "q-container--fluid": e.fluid }]);
13669
+ const e = t, a = $(() => ["q-container", { "q-container--fluid": e.fluid }]);
13666
13670
  return (n, l) => (m(), w("div", {
13667
13671
  class: ie(a.value)
13668
13672
  }, [
@@ -13677,13 +13681,13 @@ const Eh = ["id", "accept", "required", "readonly", "disabled"], Rh = {
13677
13681
  align: { default: "stretch" }
13678
13682
  },
13679
13683
  setup(t) {
13680
- const e = t, a = _(() => [
13684
+ const e = t, a = $(() => [
13681
13685
  "q-row",
13682
13686
  {
13683
13687
  [`q-row--justify-${e.justify}`]: e.justify !== "start",
13684
13688
  [`q-row--align-${e.align}`]: e.align !== "stretch"
13685
13689
  }
13686
- ]), n = _(() => {
13690
+ ]), n = $(() => {
13687
13691
  const l = {};
13688
13692
  return e.gutter !== 16 && (l["--q-row-gutter"] = `${e.gutter}px`), l;
13689
13693
  });
@@ -13779,7 +13783,7 @@ const ty = /* @__PURE__ */ Gh(Zh, [["render", ey]]), Va = _e(jh), _l = _e(Xh), k
13779
13783
  rounded: { type: Boolean }
13780
13784
  },
13781
13785
  setup(t) {
13782
- const e = t, a = _(() => {
13786
+ const e = t, a = $(() => {
13783
13787
  if (e.height !== void 0)
13784
13788
  return {
13785
13789
  // Clamp the height to a minimum of 4px and a maximum of 12px
@@ -13809,13 +13813,13 @@ const ty = /* @__PURE__ */ Gh(Zh, [["render", ey]]), Va = _e(jh), _l = _e(Xh), k
13809
13813
  }),
13810
13814
  emits: ["update:modelValue"],
13811
13815
  setup(t) {
13812
- const e = t, a = Fe(t, "modelValue"), n = _(() => a.value / e.max * 100), { style: l } = Zt(qe(e, "color")), r = _(() => {
13816
+ const e = t, a = Fe(t, "modelValue"), n = $(() => a.value / e.max * 100), { style: l } = Jt(qe(e, "color")), r = $(() => {
13813
13817
  var i;
13814
13818
  return {
13815
13819
  width: `${Math.max(0, Math.min(n.value, 100))}%`,
13816
13820
  backgroundColor: (i = l.value) == null ? void 0 : i.mainColor
13817
13821
  };
13818
- }), s = _(() => {
13822
+ }), s = $(() => {
13819
13823
  var o;
13820
13824
  return typeof e.valueLabel == "string" ? e.valueLabel : (o = e.valueLabel) == null ? void 0 : o.call(e, a.value, e.max);
13821
13825
  });
@@ -13824,10 +13828,10 @@ const ty = /* @__PURE__ */ Gh(Zh, [["render", ey]]), Va = _e(jh), _l = _e(Xh), k
13824
13828
  class: ie(["q-meter", e.class])
13825
13829
  }, [
13826
13830
  ee("div", py, [
13827
- ye(u(Jt), {
13831
+ ye(u(zt), {
13828
13832
  label: e.label
13829
13833
  }, null, 8, ["label"]),
13830
- ye(u(Jt), {
13834
+ ye(u(zt), {
13831
13835
  label: s.value,
13832
13836
  class: "q-meter__value-label"
13833
13837
  }, null, 8, ["label"])
@@ -13896,7 +13900,7 @@ const ty = /* @__PURE__ */ Gh(Zh, [["render", ey]]), Va = _e(jh), _l = _e(Xh), k
13896
13900
  }),
13897
13901
  emits: ["update:modelValue"],
13898
13902
  setup(t) {
13899
- const e = t, a = Fe(t, "modelValue"), n = _(() => {
13903
+ const e = t, a = Fe(t, "modelValue"), n = $(() => {
13900
13904
  if (!e.levels.length) {
13901
13905
  console.warn("Levels array is empty.");
13902
13906
  return;
@@ -13970,15 +13974,15 @@ const ty = /* @__PURE__ */ Gh(Zh, [["render", ey]]), Va = _e(jh), _l = _e(Xh), k
13970
13974
  }),
13971
13975
  emits: ["update:modelValue", "update:masked"],
13972
13976
  setup(t) {
13973
- const e = t, a = Fe(t, "modelValue"), n = Fe(t, "masked"), l = X(null), r = X(!1), s = _(() => n.value ? "password" : "text"), o = _(() => {
13977
+ const e = t, a = Fe(t, "modelValue"), n = Fe(t, "masked"), l = X(null), r = X(!1), s = $(() => n.value ? "password" : "text"), o = $(() => {
13974
13978
  var h;
13975
- return (h = e.rules) == null ? void 0 : h.reduce((x, k) => x + k.weight, 0);
13976
- }), i = _(() => c(a.value, e.rules));
13977
- function c(h, x) {
13978
- if (!h || !x) return;
13979
+ return (h = e.rules) == null ? void 0 : h.reduce((_, k) => _ + k.weight, 0);
13980
+ }), i = $(() => c(a.value, e.rules));
13981
+ function c(h, _) {
13982
+ if (!h || !_) return;
13979
13983
  let k = 0;
13980
13984
  const A = [];
13981
- return x.forEach((P) => {
13985
+ return _.forEach((P) => {
13982
13986
  const T = P.test instanceof RegExp ? P.test.test(h) : P.test(h);
13983
13987
  T === !0 ? k += P.weight : typeof T == "string" && A.push(T);
13984
13988
  }), {
@@ -13995,7 +13999,7 @@ const ty = /* @__PURE__ */ Gh(Zh, [["render", ey]]), Va = _e(jh), _l = _e(Xh), k
13995
13999
  function v() {
13996
14000
  r.value = !1;
13997
14001
  }
13998
- return (h, x) => {
14002
+ return (h, _) => {
13999
14003
  var k, A;
14000
14004
  return m(), w(we, null, [
14001
14005
  ye(u(Za), De({
@@ -14003,7 +14007,7 @@ const ty = /* @__PURE__ */ Gh(Zh, [["render", ey]]), Va = _e(jh), _l = _e(Xh), k
14003
14007
  ref_key: "fieldRef",
14004
14008
  ref: l,
14005
14009
  modelValue: a.value,
14006
- "onUpdate:modelValue": x[0] || (x[0] = (M) => a.value = M),
14010
+ "onUpdate:modelValue": _[0] || (_[0] = (M) => a.value = M),
14007
14011
  class: e.class,
14008
14012
  type: s.value,
14009
14013
  placeholder: e.placeholder,
@@ -14071,7 +14075,7 @@ const ty = /* @__PURE__ */ Gh(Zh, [["render", ey]]), Va = _e(jh), _l = _e(Xh), k
14071
14075
  e.meter && e.meterLevels && i.value ? (m(), se(wy, {
14072
14076
  key: 0,
14073
14077
  modelValue: r.value,
14074
- "onUpdate:modelValue": x[1] || (x[1] = (M) => r.value = M),
14078
+ "onUpdate:modelValue": _[1] || (_[1] = (M) => r.value = M),
14075
14079
  score: i.value.score,
14076
14080
  levels: e.meterLevels,
14077
14081
  messages: i.value.messages,
@@ -14164,9 +14168,9 @@ const ty = /* @__PURE__ */ Gh(Zh, [["render", ey]]), Va = _e(jh), _l = _e(Xh), k
14164
14168
  },
14165
14169
  emits: ["field-change", "select-field"],
14166
14170
  setup(t, { emit: e }) {
14167
- const a = t, n = e, l = X(a.groups.map((A) => A.id)), r = X(void 0), s = X(null), o = _(() => a.groups.length ? a.groups.filter(
14171
+ const a = t, n = e, l = X(a.groups.map((A) => A.id)), r = X(void 0), s = X(null), o = $(() => a.groups.length ? a.groups.filter(
14168
14172
  (A) => a.fields.some((M) => M.group === A.id)
14169
- ) : [{ id: "", title: "" }]), i = _(() => [
14173
+ ) : [{ id: "", title: "" }]), i = $(() => [
14170
14174
  "q-property-list",
14171
14175
  {
14172
14176
  "q-property-list--side-panel": a.panelPosition === "right",
@@ -14200,7 +14204,7 @@ const ty = /* @__PURE__ */ Gh(Zh, [["render", ey]]), Va = _e(jh), _l = _e(Xh), k
14200
14204
  }
14201
14205
  ];
14202
14206
  }
14203
- function x(A) {
14207
+ function _(A) {
14204
14208
  r.value = A, n("select-field", r.value.id);
14205
14209
  }
14206
14210
  function k(A, M) {
@@ -14245,7 +14249,7 @@ const ty = /* @__PURE__ */ Gh(Zh, [["render", ey]]), Va = _e(jh), _l = _e(Xh), k
14245
14249
  field: T,
14246
14250
  "model-value": T.props.modelValue,
14247
14251
  readonly: a.readonly,
14248
- onFocus: x,
14252
+ onFocus: _,
14249
14253
  onFieldChange: (L) => k(T, L)
14250
14254
  }, {
14251
14255
  default: H(() => [
@@ -14280,55 +14284,58 @@ const ty = /* @__PURE__ */ Gh(Zh, [["render", ey]]), Va = _e(jh), _l = _e(Xh), k
14280
14284
  id: {},
14281
14285
  class: {},
14282
14286
  field: {},
14283
- readonly: { type: Boolean }
14287
+ readonly: { type: Boolean },
14288
+ required: { type: Boolean }
14284
14289
  }, {
14285
14290
  modelValue: {},
14286
14291
  modelModifiers: {}
14287
14292
  }),
14288
14293
  emits: /* @__PURE__ */ Ie(["focus", "field-change"], ["update:modelValue"]),
14289
14294
  setup(t, { emit: e }) {
14290
- const a = t, n = e, l = Fe(t, "modelValue"), r = _(() => ["q-property-list__row", a.class]), s = _(() => {
14291
- var d;
14292
- return [
14293
- "q-property-list__cell",
14294
- "q-property-list__cell-label",
14295
- {
14296
- "q-property-list__cell--required": (d = a.field.props) == null ? void 0 : d.required
14297
- }
14298
- ];
14299
- }), o = _(() => a.readonly || (a.field.props.readonly ?? !1)), i = _(() => ({
14295
+ const a = t, n = e, l = Fe(t, "modelValue"), r = $(() => ["q-property-list__row", a.class]), s = $(() => ["q-property-list__cell", "q-property-list__cell-label"]), o = $(() => a.readonly || (a.field.props.readonly ?? !1)), i = $(() => {
14296
+ var h;
14297
+ return a.required || !!((h = a.field.props) != null && h.required);
14298
+ }), c = vt(qe(a, "id")), p = $(() => ({
14300
14299
  ...a.field.props,
14301
- readonly: o.value
14300
+ id: c.value,
14301
+ readonly: o.value,
14302
+ required: i.value
14302
14303
  }));
14303
- function c() {
14304
+ function d() {
14304
14305
  n("focus", a.field);
14305
14306
  }
14306
- function p(d) {
14307
- l.value = d, n("field-change", d);
14307
+ function v(h) {
14308
+ l.value = h, n("field-change", h);
14308
14309
  }
14309
- return (d, v) => (m(), w("tr", {
14310
+ return (h, _) => (m(), w("tr", {
14310
14311
  id: a.id,
14311
14312
  class: ie(r.value),
14312
14313
  "data-group": a.field.group,
14313
- onFocusin: c
14314
+ onFocusin: d
14314
14315
  }, [
14315
14316
  ee("td", {
14316
14317
  class: ie(s.value),
14317
- onClick: pt(c, ["prevent", "stop"])
14318
+ onClick: dt(d, ["prevent", "stop"])
14318
14319
  }, [
14319
- ee("div", null, $e(a.field.label), 1)
14320
+ ye(u(zt), {
14321
+ for: u(c),
14322
+ label: a.field.label,
14323
+ required: i.value,
14324
+ onClick: _[0] || (_[0] = dt(() => {
14325
+ }, ["stop"]))
14326
+ }, null, 8, ["for", "label", "required"])
14320
14327
  ], 2),
14321
14328
  ee("td", {
14322
14329
  class: "q-property-list__cell",
14323
- onClick: pt(c, ["prevent", "stop"])
14330
+ onClick: dt(d, ["prevent", "stop"])
14324
14331
  }, [
14325
- q(d.$slots, "default", {}, () => [
14332
+ q(h.$slots, "default", {}, () => [
14326
14333
  a.field.component ? (m(), w("div", Oy, [
14327
- (m(), se(aa(a.field.component), De(i.value, {
14334
+ (m(), se(aa(a.field.component), De(p.value, {
14328
14335
  modelValue: l.value,
14329
14336
  "onUpdate:modelValue": [
14330
- v[0] || (v[0] = (h) => l.value = h),
14331
- p
14337
+ _[1] || (_[1] = (k) => l.value = k),
14338
+ v
14332
14339
  ]
14333
14340
  }), null, 16, ["modelValue"]))
14334
14341
  ])) : R("", !0)
@@ -14348,7 +14355,7 @@ const ty = /* @__PURE__ */ Gh(Zh, [["render", ey]]), Va = _e(jh), _l = _e(Xh), k
14348
14355
  },
14349
14356
  emits: ["click"],
14350
14357
  setup(t, { emit: e }) {
14351
- const a = t, n = e, l = X(!0), r = vt(), s = _(() => l.value ? a.icons.open : a.icons.close), o = _(() => [
14358
+ const a = t, n = e, l = X(!0), r = vt(), s = $(() => l.value ? a.icons.open : a.icons.close), o = $(() => [
14352
14359
  "q-property-list-group",
14353
14360
  {
14354
14361
  "q-property-list-group--no-toggle": a.noToggle
@@ -14431,7 +14438,7 @@ const ty = /* @__PURE__ */ Gh(Zh, [["render", ey]]), Va = _e(jh), _l = _e(Xh), k
14431
14438
  const e = t, a = vt(qe(e, "id")), n = Dn(e.value);
14432
14439
  if (!n)
14433
14440
  throw new Error("QRadioButton must be used inside a QRadioGroup");
14434
- const l = _(() => e.labelPlacement === "start" ? "append" : "prepend"), r = _(() => {
14441
+ const l = $(() => e.labelPlacement === "start" ? "append" : "prepend"), r = $(() => {
14435
14442
  const s = e.size !== "regular" ? `q-radio-button--${e.size}` : void 0, o = e.color !== "primary" ? `q-radio-button--${e.color}` : void 0;
14436
14443
  return [
14437
14444
  "q-radio-button",
@@ -14445,7 +14452,7 @@ const ty = /* @__PURE__ */ Gh(Zh, [["render", ey]]), Va = _e(jh), _l = _e(Xh), k
14445
14452
  e.class
14446
14453
  ];
14447
14454
  });
14448
- return (s, o) => (m(), se(u(Jt), {
14455
+ return (s, o) => (m(), se(u(zt), {
14449
14456
  for: u(a),
14450
14457
  class: ie(r.value),
14451
14458
  label: e.label
@@ -14506,13 +14513,13 @@ const ty = /* @__PURE__ */ Gh(Zh, [["render", ey]]), Va = _e(jh), _l = _e(Xh), k
14506
14513
  Ce(n, (i) => {
14507
14514
  a.value = i;
14508
14515
  });
14509
- const l = vt(qe(e, "id")), r = vt(qe(e, "name")), s = _(() => [
14516
+ const l = vt(qe(e, "id")), r = vt(qe(e, "name")), s = $(() => [
14510
14517
  "q-radio-group",
14511
14518
  {
14512
14519
  "q-radio-group--horizontal": e.orientation === "horizontal"
14513
14520
  },
14514
14521
  e.class
14515
- ]), o = _(() => e.columns > 1 ? {
14522
+ ]), o = $(() => e.columns > 1 ? {
14516
14523
  "--q-radio-group-columns": e.columns
14517
14524
  } : {
14518
14525
  undefined: void 0
@@ -14528,7 +14535,7 @@ const ty = /* @__PURE__ */ Gh(Zh, [["render", ey]]), Va = _e(jh), _l = _e(Xh), k
14528
14535
  }), (i, c) => (m(), w("div", {
14529
14536
  class: ie(s.value)
14530
14537
  }, [
14531
- e.label ? (m(), se(u(Jt), {
14538
+ e.label ? (m(), se(u(zt), {
14532
14539
  key: 0,
14533
14540
  for: u(l),
14534
14541
  label: e.label,
@@ -14592,20 +14599,20 @@ const ty = /* @__PURE__ */ Gh(Zh, [["render", ey]]), Va = _e(jh), _l = _e(Xh), k
14592
14599
  }),
14593
14600
  emits: /* @__PURE__ */ Ie(["before-show", "before-hide", "show", "hide"], ["update:modelValue"]),
14594
14601
  setup(t, { emit: e }) {
14595
- const a = t, n = e, l = Fe(t, "modelValue"), r = X(!1), s = X(null), o = X(null), i = X(null), c = _(() => p.value === void 0), p = _(
14602
+ const a = t, n = e, l = Fe(t, "modelValue"), r = X(!1), s = X(null), o = X(null), i = X(null), c = $(() => p.value === void 0), p = $(
14596
14603
  () => {
14597
14604
  var I;
14598
14605
  return (I = a.items) == null ? void 0 : I.find((V) => V[a.itemValue] === l.value);
14599
14606
  }
14600
- ), d = _(
14607
+ ), d = $(
14601
14608
  () => p.value ? p.value[a.itemLabel] : ""
14602
- ), v = _(
14609
+ ), v = $(
14603
14610
  () => a.clearable && !a.readonly && !a.disabled && !a.loading
14604
14611
  );
14605
14612
  function h(I) {
14606
14613
  l.value = I, M();
14607
14614
  }
14608
- function x() {
14615
+ function _() {
14609
14616
  v.value && (h(a.emptyValue), Y());
14610
14617
  }
14611
14618
  function k(I) {
@@ -14622,7 +14629,7 @@ const ty = /* @__PURE__ */ Gh(Zh, [["render", ey]]), Va = _e(jh), _l = _e(Xh), k
14622
14629
  a.readonly || a.disabled || (r.value ? M() : A());
14623
14630
  }
14624
14631
  function T(I) {
14625
- !I.key || a.readonly || a.disabled || (["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End", "Delete"].includes(I.key) && (I.preventDefault(), I.stopPropagation()), ["Enter", " ", "ArrowDown"].includes(I.key) && A(), ["Escape", "Tab"].includes(I.key) && (r.value ? M() : v.value && I.key === "Escape" && x()), v.value && I.key === "Delete" && x());
14632
+ !I.key || a.readonly || a.disabled || (["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End", "Delete"].includes(I.key) && (I.preventDefault(), I.stopPropagation()), ["Enter", " ", "ArrowDown"].includes(I.key) && A(), ["Escape", "Tab"].includes(I.key) && (r.value ? M() : v.value && I.key === "Escape" && _()), v.value && I.key === "Delete" && _());
14626
14633
  }
14627
14634
  function L(I) {
14628
14635
  I.key.length === 1 && I.preventDefault(), T(I);
@@ -14681,7 +14688,7 @@ const ty = /* @__PURE__ */ Gh(Zh, [["render", ey]]), Va = _e(jh), _l = _e(Xh), k
14681
14688
  key: 0,
14682
14689
  icons: a.icons,
14683
14690
  texts: a.texts,
14684
- onClick: x
14691
+ onClick: _
14685
14692
  }, null, 8, ["icons", "texts"])) : R("", !0),
14686
14693
  a.readonly ? R("", !0) : (m(), se(u(mt), {
14687
14694
  key: 1,
@@ -14768,7 +14775,7 @@ const ty = /* @__PURE__ */ Gh(Zh, [["render", ey]]), Va = _e(jh), _l = _e(Xh), k
14768
14775
  class: "q-select__body",
14769
14776
  tabindex: "-1",
14770
14777
  onFocusout: k,
14771
- onKeydown: pt(T, ["stop"])
14778
+ onKeydown: dt(T, ["stop"])
14772
14779
  }, [
14773
14780
  q(I.$slots, "body.prepend"),
14774
14781
  a.loading ? (m(), w("div", rg, [
@@ -14822,7 +14829,7 @@ const ty = /* @__PURE__ */ Gh(Zh, [["render", ey]]), Va = _e(jh), _l = _e(Xh), k
14822
14829
  }),
14823
14830
  emits: ["update:modelValue"],
14824
14831
  setup(t) {
14825
- const e = t, a = Fe(t, "modelValue"), n = _(() => ["q-toggle", { "q-toggle--active": a.value }]);
14832
+ const e = t, a = Fe(t, "modelValue"), n = $(() => ["q-toggle", { "q-toggle--active": a.value }]);
14826
14833
  function l() {
14827
14834
  a.value = !a.value;
14828
14835
  }
@@ -14858,7 +14865,7 @@ const ty = /* @__PURE__ */ Gh(Zh, [["render", ey]]), Va = _e(jh), _l = _e(Xh), k
14858
14865
  l.value = l.value === c ? void 0 : c, n("click:item", c);
14859
14866
  }
14860
14867
  function i() {
14861
- var x;
14868
+ var _;
14862
14869
  if (!l.value) {
14863
14870
  r.value = {
14864
14871
  ...r.value,
@@ -14867,7 +14874,7 @@ const ty = /* @__PURE__ */ Gh(Zh, [["render", ey]]), Va = _e(jh), _l = _e(Xh), k
14867
14874
  };
14868
14875
  return;
14869
14876
  }
14870
- const c = ((x = a.panels) == null ? void 0 : x.findIndex((k) => k.id === l.value)) ?? -1;
14877
+ const c = ((_ = a.panels) == null ? void 0 : _.findIndex((k) => k.id === l.value)) ?? -1;
14871
14878
  if (c === -1 || !s.value[c])
14872
14879
  return;
14873
14880
  const p = s.value[c].$el || s.value[c];
@@ -14948,8 +14955,8 @@ const ty = /* @__PURE__ */ Gh(Zh, [["render", ey]]), Va = _e(jh), _l = _e(Xh), k
14948
14955
  }
14949
14956
  function c(v) {
14950
14957
  if (!a.resizable || !r.value) return;
14951
- const h = a.resizePosition === "right" ? v.clientX - s : s - v.clientX, x = o + h;
14952
- n("resize", x);
14958
+ const h = a.resizePosition === "right" ? v.clientX - s : s - v.clientX, _ = o + h;
14959
+ n("resize", _);
14953
14960
  }
14954
14961
  function p() {
14955
14962
  a.resizable && (r.value = !1, n("resize:end", l.value.clientWidth), d());
@@ -15002,13 +15009,13 @@ const ty = /* @__PURE__ */ Gh(Zh, [["render", ey]]), Va = _e(jh), _l = _e(Xh), k
15002
15009
  },
15003
15010
  { immediate: !0 }
15004
15011
  );
15005
- const s = _(() => {
15012
+ const s = $(() => {
15006
15013
  var P;
15007
15014
  return (P = a.panels) == null ? void 0 : P.find((T) => T.id === r.value);
15008
- }), o = _(() => !!s.value), i = X(), c = _(() => {
15015
+ }), o = $(() => !!s.value), i = X(), c = $(() => {
15009
15016
  if (i.value !== void 0)
15010
15017
  return o.value ? typeof i.value == "number" ? `${a.anchorWidth + i.value}px` : `calc(${a.anchorWidth}px + ${i.value})` : `${a.anchorWidth}px`;
15011
- }), p = _(() => {
15018
+ }), p = $(() => {
15012
15019
  var P, T, L, U, Q, Y, E;
15013
15020
  return [
15014
15021
  "q-sidebar",
@@ -15020,14 +15027,14 @@ const ty = /* @__PURE__ */ Gh(Zh, [["render", ey]]), Va = _e(jh), _l = _e(Xh), k
15020
15027
  [`q-sidebar--max-${(Q = s.value) == null ? void 0 : Q.maxWidth}`]: ((Y = s.value) == null ? void 0 : Y.resizable) && ((E = s.value) == null ? void 0 : E.maxWidth) !== void 0
15021
15028
  }
15022
15029
  ];
15023
- }), d = _(() => a.position === "left" ? "right" : "left");
15030
+ }), d = $(() => a.position === "left" ? "right" : "left");
15024
15031
  function v() {
15025
15032
  n("resize:start");
15026
15033
  }
15027
15034
  function h(P) {
15028
15035
  i.value = P, n("resize", P);
15029
15036
  }
15030
- function x() {
15037
+ function _() {
15031
15038
  n("resize:end", i.value);
15032
15039
  }
15033
15040
  function k(P) {
@@ -15076,7 +15083,7 @@ const ty = /* @__PURE__ */ Gh(Zh, [["render", ey]]), Va = _e(jh), _l = _e(Xh), k
15076
15083
  "resize-position": d.value,
15077
15084
  "onResize:start": v,
15078
15085
  onResize: h,
15079
- "onResize:end": x
15086
+ "onResize:end": _
15080
15087
  }, ze({ _: 2 }, [
15081
15088
  P.$slots[`header.prepend:${l.value}`] ? {
15082
15089
  name: "header.prepend",
@@ -15149,7 +15156,7 @@ const ty = /* @__PURE__ */ Gh(Zh, [["render", ey]]), Va = _e(jh), _l = _e(Xh), k
15149
15156
  setup(t) {
15150
15157
  const e = t, a = Fe(t, "modelValue"), n = (c) => {
15151
15158
  e.readonly && (c.preventDefault(), c.stopImmediatePropagation(), c.target.checked = !!a.value);
15152
- }, l = vt(qe(e, "id")), { style: r } = Zt(qe(e, "checkedColor")), { style: s } = Zt(qe(e, "uncheckedColor")), o = _(() => [
15159
+ }, l = vt(qe(e, "id")), { style: r } = Jt(qe(e, "checkedColor")), { style: s } = Jt(qe(e, "uncheckedColor")), o = $(() => [
15153
15160
  "q-switch",
15154
15161
  e.size !== "medium" ? `q-switch--${e.size}` : void 0,
15155
15162
  {
@@ -15159,7 +15166,7 @@ const ty = /* @__PURE__ */ Gh(Zh, [["render", ey]]), Va = _e(jh), _l = _e(Xh), k
15159
15166
  "q-switch--with-labels": e.showStateLabels && (e.trueLabel || e.falseLabel)
15160
15167
  },
15161
15168
  e.class
15162
- ]), i = _(() => {
15169
+ ]), i = $(() => {
15163
15170
  var c, p, d, v;
15164
15171
  return {
15165
15172
  "--q-switch-checked-background": (c = r.value) == null ? void 0 : c.mainColor,
@@ -15170,10 +15177,10 @@ const ty = /* @__PURE__ */ Gh(Zh, [["render", ey]]), Va = _e(jh), _l = _e(Xh), k
15170
15177
  });
15171
15178
  return (c, p) => (m(), w("div", {
15172
15179
  class: "q-switch__container",
15173
- onClick: p[1] || (p[1] = pt(() => {
15180
+ onClick: p[1] || (p[1] = dt(() => {
15174
15181
  }, ["stop"]))
15175
15182
  }, [
15176
- e.label ? (m(), se(u(Jt), {
15183
+ e.label ? (m(), se(u(zt), {
15177
15184
  key: 0,
15178
15185
  for: u(l),
15179
15186
  required: e.required
@@ -15239,7 +15246,7 @@ const ty = /* @__PURE__ */ Gh(Zh, [["render", ey]]), Va = _e(jh), _l = _e(Xh), k
15239
15246
  }),
15240
15247
  emits: ["update:modelValue"],
15241
15248
  setup(t) {
15242
- const e = t, a = Fe(t, "modelValue"), n = _({
15249
+ const e = t, a = Fe(t, "modelValue"), n = $({
15243
15250
  get: () => a.value,
15244
15251
  set: (c) => {
15245
15252
  const p = e.maxLength;
@@ -15247,10 +15254,10 @@ const ty = /* @__PURE__ */ Gh(Zh, [["render", ey]]), Va = _e(jh), _l = _e(Xh), k
15247
15254
  }
15248
15255
  });
15249
15256
  Ce(a, (c) => n.value = c, { immediate: !0 });
15250
- const l = vt(qe(e, "id")), r = _(
15257
+ const l = vt(qe(e, "id")), r = $(
15251
15258
  () => e.readonly || e.disabled ? void 0 : e.placeholder
15252
- ), s = _(() => ({ input: e.autosize ? i : null })), o = X(), { triggerResize: i } = dd({
15253
- element: _(() => e.autosize ? o.value : void 0),
15259
+ ), s = $(() => ({ input: e.autosize ? i : null })), o = X(), { triggerResize: i } = dd({
15260
+ element: $(() => e.autosize ? o.value : void 0),
15254
15261
  styleProp: "minHeight"
15255
15262
  });
15256
15263
  return (c, p) => (m(), se(u(ma), {
@@ -15360,7 +15367,7 @@ const ty = /* @__PURE__ */ Gh(Zh, [["render", ey]]), Va = _e(jh), _l = _e(Xh), k
15360
15367
  },
15361
15368
  emits: ["dismiss"],
15362
15369
  setup(t, { emit: e }) {
15363
- const a = t, n = e, l = Ga(), { isUtilityColor: r, style: s } = Zt(qe(a, "color")), o = _(() => {
15370
+ const a = t, n = e, l = Ga(), { isUtilityColor: r, style: s } = Jt(qe(a, "color")), o = $(() => {
15364
15371
  const k = r.value ? `q-toast--${a.color}` : void 0, A = a.block ? "q-toast--block" : void 0, M = a.title ? "q-toast--vertical" : void 0;
15365
15372
  return [
15366
15373
  "q-toast",
@@ -15370,13 +15377,13 @@ const ty = /* @__PURE__ */ Gh(Zh, [["render", ey]]), Va = _e(jh), _l = _e(Xh), k
15370
15377
  M,
15371
15378
  a.class
15372
15379
  ];
15373
- }), i = _(() => {
15380
+ }), i = $(() => {
15374
15381
  var M;
15375
- const k = r.value ? x(a.color) : (M = s.value) == null ? void 0 : M.mainColor;
15382
+ const k = r.value ? _(a.color) : (M = s.value) == null ? void 0 : M.mainColor;
15376
15383
  if (!k) return;
15377
15384
  const A = ql(k);
15378
15385
  return Xr(Xo(A, 88));
15379
- }), c = _(() => {
15386
+ }), c = $(() => {
15380
15387
  var k, A, M;
15381
15388
  return r.value ? {
15382
15389
  "--q-toast-tonal-color": i.value
@@ -15386,7 +15393,7 @@ const ty = /* @__PURE__ */ Gh(Zh, [["render", ey]]), Va = _e(jh), _l = _e(Xh), k
15386
15393
  "--q-toast-hover-color": (M = s.value) == null ? void 0 : M.hoverColor,
15387
15394
  "--q-toast-tonal-color": i.value
15388
15395
  };
15389
- }), p = _(() => a.variant === "bold" ? "bold" : "ghost");
15396
+ }), p = $(() => a.variant === "bold" ? "bold" : "ghost");
15390
15397
  let d;
15391
15398
  function v() {
15392
15399
  d !== void 0 && window.clearTimeout(d), n("dismiss");
@@ -15394,7 +15401,7 @@ const ty = /* @__PURE__ */ Gh(Zh, [["render", ey]]), Va = _e(jh), _l = _e(Xh), k
15394
15401
  function h() {
15395
15402
  d = window.setTimeout(v, a.timeout);
15396
15403
  }
15397
- function x(k) {
15404
+ function _(k) {
15398
15405
  const A = l.current.value.scheme;
15399
15406
  if (k in A)
15400
15407
  return A[k];
@@ -15518,7 +15525,7 @@ const ty = /* @__PURE__ */ Gh(Zh, [["render", ey]]), Va = _e(jh), _l = _e(Xh), k
15518
15525
  reverseOrder: { type: Boolean }
15519
15526
  },
15520
15527
  setup(t) {
15521
- const e = t, { toasts: a, removeToast: n } = Ev(), l = _(() => {
15528
+ const e = t, { toasts: a, removeToast: n } = Ev(), l = $(() => {
15522
15529
  let r = [...a.value];
15523
15530
  return e.reverseOrder && (r = r.reverse()), r.slice(0, e.maxToasts);
15524
15531
  });
@@ -15733,7 +15740,7 @@ const ty = /* @__PURE__ */ Gh(Zh, [["render", ey]]), Va = _e(jh), _l = _e(Xh), k
15733
15740
  QIconImg: ts,
15734
15741
  QIconSvg: as,
15735
15742
  QInputGroup: iy,
15736
- QLabel: Jt,
15743
+ QLabel: zt,
15737
15744
  QLineLoader: cy,
15738
15745
  QList: Cn,
15739
15746
  QListItem: ss,