@a-vision-software/vue-input-components 1.2.9 → 1.2.11

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.
@@ -1,7 +1,7 @@
1
1
  var Ri = Object.defineProperty;
2
2
  var Yi = (e, t, a) => t in e ? Ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
3
3
  var fe = (e, t, a) => Yi(e, typeof t != "symbol" ? t + "" : t, a);
4
- import { reactive as Ja, ref as Q, defineComponent as We, useSlots as wa, toRef as qa, getCurrentInstance as Ei, onMounted as nt, nextTick as _t, onUnmounted as sa, watch as gt, computed as j, createElementBlock as C, openBlock as w, unref as v, normalizeClass as ge, createVNode as Ze, createBlock as De, mergeProps as ot, isRef as sl, createSlots as ft, renderList as Fe, withCtx as Pe, renderSlot as de, normalizeProps as it, guardReactiveProps as yt, resolveDynamicComponent as en, Teleport as Ni, Transition as na, createCommentVNode as z, h as Or, render as ul, createElementVNode as ve, withModifiers as At, normalizeStyle as st, Fragment as xe, toDisplayString as Ne, useAttrs as Fi, createTextVNode as Wt, toValue as Li, getCurrentScope as Bi, onScopeDispose as zi, onBeforeUpdate as Hi, withDirectives as mn, vShow as vn, withKeys as Vi, resolveComponent as Cr } from "vue";
4
+ import { reactive as Ja, ref as Q, defineComponent as We, useSlots as wa, toRef as qa, getCurrentInstance as Ei, onMounted as nt, nextTick as _t, onUnmounted as sa, watch as gt, computed as j, createElementBlock as S, openBlock as w, unref as v, normalizeClass as ge, createVNode as Ze, createBlock as De, mergeProps as ot, isRef as sl, createSlots as ft, renderList as Fe, withCtx as Pe, renderSlot as de, normalizeProps as it, guardReactiveProps as yt, resolveDynamicComponent as en, Teleport as Ni, Transition as na, createCommentVNode as z, h as Or, render as ul, createElementVNode as ve, withModifiers as At, normalizeStyle as st, Fragment as xe, toDisplayString as Ne, useAttrs as Fi, createTextVNode as Wt, toValue as Li, getCurrentScope as Bi, onScopeDispose as zi, onBeforeUpdate as Hi, withDirectives as mn, vShow as vn, withKeys as Vi, resolveComponent as Sr } from "vue";
5
5
  const lo = 6048e5, Wi = 864e5, ji = 6e4, oo = 36e5, Ui = 1e3, cl = Symbol.for("constructDateFrom");
6
6
  function Le(e, t) {
7
7
  return typeof e == "function" ? e(t) : e && typeof e == "object" && cl in e ? e[cl](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
@@ -36,8 +36,8 @@ function io(e, t, a) {
36
36
  hours: s = 0,
37
37
  minutes: u = 0,
38
38
  seconds: p = 0
39
- } = t, d = _e(e, a == null ? void 0 : a.in), m = r || n ? Ot(d, r + n * 12) : d, c = o || l ? xt(m, o + l * 7) : m, k = u + s * 60, A = (p + k * 60) * 1e3;
40
- return Le(e, +c + A);
39
+ } = t, d = _e(e, a == null ? void 0 : a.in), m = r || n ? Ot(d, r + n * 12) : d, c = o || l ? xt(m, o + l * 7) : m, k = u + s * 60, M = (p + k * 60) * 1e3;
40
+ return Le(e, +c + M);
41
41
  }
42
42
  function qi(e, t, a) {
43
43
  return Le(e, +_e(e) + t);
@@ -49,13 +49,13 @@ let Gi = {};
49
49
  function _a() {
50
50
  return Gi;
51
51
  }
52
- function Ct(e, t) {
52
+ function St(e, t) {
53
53
  var s, u, p, d;
54
54
  const a = _a(), n = (t == null ? void 0 : t.weekStartsOn) ?? ((u = (s = t == null ? void 0 : t.locale) == null ? void 0 : s.options) == null ? void 0 : u.weekStartsOn) ?? a.weekStartsOn ?? ((d = (p = a.locale) == null ? void 0 : p.options) == null ? void 0 : d.weekStartsOn) ?? 0, r = _e(e, t == null ? void 0 : t.in), l = r.getDay(), o = (l < n ? 7 : 0) + l - n;
55
55
  return r.setDate(r.getDate() - o), r.setHours(0, 0, 0, 0), r;
56
56
  }
57
57
  function Oa(e, t) {
58
- return Ct(e, { ...t, weekStartsOn: 1 });
58
+ return St(e, { ...t, weekStartsOn: 1 });
59
59
  }
60
60
  function so(e, t) {
61
61
  const a = _e(e, t == null ? void 0 : t.in), n = a.getFullYear(), r = Le(a, 0);
@@ -105,7 +105,7 @@ function Xi(e, t) {
105
105
  function Ki(e, t, a) {
106
106
  return Ot(e, t * 3, a);
107
107
  }
108
- function Sr(e, t, a) {
108
+ function Cr(e, t, a) {
109
109
  return Ot(e, t * 12, a);
110
110
  }
111
111
  function fl(e, t) {
@@ -555,10 +555,10 @@ const _s = /^(\d+)(th|st|nd|rd)?/i, ks = /\d+/i, xs = {
555
555
  short: /^(su|mo|tu|we|th|fr|sa)/i,
556
556
  abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
557
557
  wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
558
- }, Cs = {
558
+ }, Ss = {
559
559
  narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
560
560
  any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
561
- }, Ss = {
561
+ }, Cs = {
562
562
  narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
563
563
  any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
564
564
  }, $s = {
@@ -600,11 +600,11 @@ const _s = /^(\d+)(th|st|nd|rd)?/i, ks = /\d+/i, xs = {
600
600
  day: La({
601
601
  matchPatterns: Os,
602
602
  defaultMatchWidth: "wide",
603
- parsePatterns: Cs,
603
+ parsePatterns: Ss,
604
604
  defaultParseWidth: "any"
605
605
  }),
606
606
  dayPeriod: La({
607
- matchPatterns: Ss,
607
+ matchPatterns: Cs,
608
608
  defaultMatchWidth: "any",
609
609
  parsePatterns: $s,
610
610
  defaultParseWidth: "any"
@@ -633,18 +633,18 @@ function Ir(e, t) {
633
633
  var d, m, c, k;
634
634
  const a = _e(e, t == null ? void 0 : t.in), n = a.getFullYear(), r = _a(), l = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((m = (d = t == null ? void 0 : t.locale) == null ? void 0 : d.options) == null ? void 0 : m.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((k = (c = r.locale) == null ? void 0 : c.options) == null ? void 0 : k.firstWeekContainsDate) ?? 1, o = Le((t == null ? void 0 : t.in) || e, 0);
635
635
  o.setFullYear(n + 1, 0, l), o.setHours(0, 0, 0, 0);
636
- const s = Ct(o, t), u = Le((t == null ? void 0 : t.in) || e, 0);
636
+ const s = St(o, t), u = Le((t == null ? void 0 : t.in) || e, 0);
637
637
  u.setFullYear(n, 0, l), u.setHours(0, 0, 0, 0);
638
- const p = Ct(u, t);
638
+ const p = St(u, t);
639
639
  return +a >= +s ? n + 1 : +a >= +p ? n : n - 1;
640
640
  }
641
641
  function Ys(e, t) {
642
642
  var s, u, p, d;
643
643
  const a = _a(), n = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((u = (s = t == null ? void 0 : t.locale) == null ? void 0 : s.options) == null ? void 0 : u.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((d = (p = a.locale) == null ? void 0 : p.options) == null ? void 0 : d.firstWeekContainsDate) ?? 1, r = Ir(e, t), l = Le((t == null ? void 0 : t.in) || e, 0);
644
- return l.setFullYear(r, 0, n), l.setHours(0, 0, 0, 0), Ct(l, t);
644
+ return l.setFullYear(r, 0, n), l.setHours(0, 0, 0, 0), St(l, t);
645
645
  }
646
646
  function Rr(e, t) {
647
- const a = _e(e, t == null ? void 0 : t.in), n = +Ct(a, t) - +Ys(a, t);
647
+ const a = _e(e, t == null ? void 0 : t.in), n = +St(a, t) - +Ys(a, t);
648
648
  return Math.round(n / lo) + 1;
649
649
  }
650
650
  function Ee(e, t) {
@@ -1275,8 +1275,8 @@ function Bs(e, t, a) {
1275
1275
  }
1276
1276
  const zs = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Hs = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Vs = /^'([^]*?)'?$/, Ws = /''/g, js = /[a-zA-Z]/;
1277
1277
  function Bt(e, t, a) {
1278
- var d, m, c, k, h, A, $, g;
1279
- const n = _a(), r = (a == null ? void 0 : a.locale) ?? n.locale ?? ho, l = (a == null ? void 0 : a.firstWeekContainsDate) ?? ((m = (d = a == null ? void 0 : a.locale) == null ? void 0 : d.options) == null ? void 0 : m.firstWeekContainsDate) ?? n.firstWeekContainsDate ?? ((k = (c = n.locale) == null ? void 0 : c.options) == null ? void 0 : k.firstWeekContainsDate) ?? 1, o = (a == null ? void 0 : a.weekStartsOn) ?? ((A = (h = a == null ? void 0 : a.locale) == null ? void 0 : h.options) == null ? void 0 : A.weekStartsOn) ?? n.weekStartsOn ?? ((g = ($ = n.locale) == null ? void 0 : $.options) == null ? void 0 : g.weekStartsOn) ?? 0, s = _e(e, a == null ? void 0 : a.in);
1278
+ var d, m, c, k, h, M, C, g;
1279
+ const n = _a(), r = (a == null ? void 0 : a.locale) ?? n.locale ?? ho, l = (a == null ? void 0 : a.firstWeekContainsDate) ?? ((m = (d = a == null ? void 0 : a.locale) == null ? void 0 : d.options) == null ? void 0 : m.firstWeekContainsDate) ?? n.firstWeekContainsDate ?? ((k = (c = n.locale) == null ? void 0 : c.options) == null ? void 0 : k.firstWeekContainsDate) ?? 1, o = (a == null ? void 0 : a.weekStartsOn) ?? ((M = (h = a == null ? void 0 : a.locale) == null ? void 0 : h.options) == null ? void 0 : M.weekStartsOn) ?? n.weekStartsOn ?? ((g = (C = n.locale) == null ? void 0 : C.options) == null ? void 0 : g.weekStartsOn) ?? 0, s = _e(e, a == null ? void 0 : a.in);
1280
1280
  if (!Ha(s))
1281
1281
  throw new RangeError("Invalid time value");
1282
1282
  let u = t.match(Hs).map((x) => {
@@ -1338,10 +1338,10 @@ function Xs(e, t) {
1338
1338
  function ra(e, t) {
1339
1339
  return _e(e, t == null ? void 0 : t.in).getMinutes();
1340
1340
  }
1341
- function Ce(e, t) {
1341
+ function Se(e, t) {
1342
1342
  return _e(e, t == null ? void 0 : t.in).getMonth();
1343
1343
  }
1344
- function Ca(e) {
1344
+ function Sa(e) {
1345
1345
  return _e(e).getSeconds();
1346
1346
  }
1347
1347
  function ke(e, t) {
@@ -1350,7 +1350,7 @@ function ke(e, t) {
1350
1350
  function ya(e, t) {
1351
1351
  return +_e(e) > +_e(t);
1352
1352
  }
1353
- function Sa(e, t) {
1353
+ function Ca(e, t) {
1354
1354
  return +_e(e) < +_e(t);
1355
1355
  }
1356
1356
  function Da(e, t) {
@@ -1670,10 +1670,10 @@ class ru extends Ie {
1670
1670
  u,
1671
1671
  0,
1672
1672
  l.firstWeekContainsDate
1673
- ), a.setHours(0, 0, 0, 0), Ct(a, l);
1673
+ ), a.setHours(0, 0, 0, 0), St(a, l);
1674
1674
  }
1675
1675
  const s = !("era" in n) || n.era === 1 ? r.year : 1 - r.year;
1676
- return a.setFullYear(s, 0, l.firstWeekContainsDate), a.setHours(0, 0, 0, 0), Ct(a, l);
1676
+ return a.setFullYear(s, 0, l.firstWeekContainsDate), a.setHours(0, 0, 0, 0), St(a, l);
1677
1677
  }
1678
1678
  }
1679
1679
  class lu extends Ie {
@@ -2005,7 +2005,7 @@ class fu extends Ie {
2005
2005
  return n >= 1 && n <= 53;
2006
2006
  }
2007
2007
  set(a, n, r, l) {
2008
- return Ct(du(a, r, l), l);
2008
+ return St(du(a, r, l), l);
2009
2009
  }
2010
2010
  }
2011
2011
  function mu(e, t, a) {
@@ -2603,7 +2603,7 @@ class Ou extends Ie {
2603
2603
  return a.getHours() >= 12 && r < 12 ? a.setHours(r + 12, 0, 0, 0) : a.setHours(r, 0, 0, 0), a;
2604
2604
  }
2605
2605
  }
2606
- class Cu extends Ie {
2606
+ class Su extends Ie {
2607
2607
  constructor() {
2608
2608
  super(...arguments);
2609
2609
  fe(this, "priority", 70);
@@ -2627,7 +2627,7 @@ class Cu extends Ie {
2627
2627
  return a.setHours(l, 0, 0, 0), a;
2628
2628
  }
2629
2629
  }
2630
- class Su extends Ie {
2630
+ class Cu extends Ie {
2631
2631
  constructor() {
2632
2632
  super(...arguments);
2633
2633
  fe(this, "priority", 60);
@@ -2811,8 +2811,8 @@ const Fu = {
2811
2811
  h: new Tu(),
2812
2812
  H: new Au(),
2813
2813
  K: new Ou(),
2814
- k: new Cu(),
2815
- m: new Su(),
2814
+ k: new Su(),
2815
+ m: new Cu(),
2816
2816
  s: new $u(),
2817
2817
  S: new Iu(),
2818
2818
  X: new Ru(),
@@ -2821,8 +2821,8 @@ const Fu = {
2821
2821
  T: new Nu()
2822
2822
  }, Lu = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Bu = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, zu = /^'([^]*?)'?$/, Hu = /''/g, Vu = /\S/, Wu = /[a-zA-Z]/;
2823
2823
  function or(e, t, a, n) {
2824
- var $, g, x, b, D, F, E, N;
2825
- const r = () => Le((n == null ? void 0 : n.in) || a, NaN), l = Gs(), o = (n == null ? void 0 : n.locale) ?? l.locale ?? ho, s = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((g = ($ = n == null ? void 0 : n.locale) == null ? void 0 : $.options) == null ? void 0 : g.firstWeekContainsDate) ?? l.firstWeekContainsDate ?? ((b = (x = l.locale) == null ? void 0 : x.options) == null ? void 0 : b.firstWeekContainsDate) ?? 1, u = (n == null ? void 0 : n.weekStartsOn) ?? ((F = (D = n == null ? void 0 : n.locale) == null ? void 0 : D.options) == null ? void 0 : F.weekStartsOn) ?? l.weekStartsOn ?? ((N = (E = l.locale) == null ? void 0 : E.options) == null ? void 0 : N.weekStartsOn) ?? 0;
2824
+ var C, g, x, b, D, F, E, N;
2825
+ const r = () => Le((n == null ? void 0 : n.in) || a, NaN), l = Gs(), o = (n == null ? void 0 : n.locale) ?? l.locale ?? ho, s = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((g = (C = n == null ? void 0 : n.locale) == null ? void 0 : C.options) == null ? void 0 : g.firstWeekContainsDate) ?? l.firstWeekContainsDate ?? ((b = (x = l.locale) == null ? void 0 : x.options) == null ? void 0 : b.firstWeekContainsDate) ?? 1, u = (n == null ? void 0 : n.weekStartsOn) ?? ((F = (D = n == null ? void 0 : n.locale) == null ? void 0 : D.options) == null ? void 0 : F.weekStartsOn) ?? l.weekStartsOn ?? ((N = (E = l.locale) == null ? void 0 : E.options) == null ? void 0 : N.weekStartsOn) ?? 0;
2826
2826
  if (!t)
2827
2827
  return e ? r() : _e(a, n == null ? void 0 : n.in);
2828
2828
  const p = {
@@ -2882,12 +2882,12 @@ function or(e, t, a, n) {
2882
2882
  ).map((W) => W[0]);
2883
2883
  let h = _e(a, n == null ? void 0 : n.in);
2884
2884
  if (isNaN(+h)) return r();
2885
- const A = {};
2885
+ const M = {};
2886
2886
  for (const W of k) {
2887
2887
  if (!W.validate(h, p))
2888
2888
  return r();
2889
- const y = W.set(h, A, p);
2890
- Array.isArray(y) ? (h = y[0], Object.assign(A, y[1])) : h = y;
2889
+ const y = W.set(h, M, p);
2890
+ Array.isArray(y) ? (h = y[0], Object.assign(M, y[1])) : h = y;
2891
2891
  }
2892
2892
  return h;
2893
2893
  }
@@ -2951,11 +2951,11 @@ function Qu(e, t, a) {
2951
2951
  return Le(e, +m - h);
2952
2952
  }
2953
2953
  function Ao(e, t, a) {
2954
- return Sr(e, -t, a);
2954
+ return Cr(e, -t, a);
2955
2955
  }
2956
2956
  function Ea() {
2957
2957
  const e = Fi();
2958
- return w(), C(
2958
+ return w(), S(
2959
2959
  "svg",
2960
2960
  {
2961
2961
  xmlns: "http://www.w3.org/2000/svg",
@@ -2986,7 +2986,7 @@ Ea.compatConfig = {
2986
2986
  MODE: 3
2987
2987
  };
2988
2988
  function Oo() {
2989
- return w(), C(
2989
+ return w(), S(
2990
2990
  "svg",
2991
2991
  {
2992
2992
  xmlns: "http://www.w3.org/2000/svg",
@@ -3010,7 +3010,7 @@ Oo.compatConfig = {
3010
3010
  MODE: 3
3011
3011
  };
3012
3012
  function Nr() {
3013
- return w(), C(
3013
+ return w(), S(
3014
3014
  "svg",
3015
3015
  {
3016
3016
  xmlns: "http://www.w3.org/2000/svg",
@@ -3031,7 +3031,7 @@ Nr.compatConfig = {
3031
3031
  MODE: 3
3032
3032
  };
3033
3033
  function Fr() {
3034
- return w(), C(
3034
+ return w(), S(
3035
3035
  "svg",
3036
3036
  {
3037
3037
  xmlns: "http://www.w3.org/2000/svg",
@@ -3052,7 +3052,7 @@ Fr.compatConfig = {
3052
3052
  MODE: 3
3053
3053
  };
3054
3054
  function Lr() {
3055
- return w(), C(
3055
+ return w(), S(
3056
3056
  "svg",
3057
3057
  {
3058
3058
  xmlns: "http://www.w3.org/2000/svg",
@@ -3076,7 +3076,7 @@ Lr.compatConfig = {
3076
3076
  MODE: 3
3077
3077
  };
3078
3078
  function Br() {
3079
- return w(), C(
3079
+ return w(), S(
3080
3080
  "svg",
3081
3081
  {
3082
3082
  xmlns: "http://www.w3.org/2000/svg",
@@ -3097,7 +3097,7 @@ Br.compatConfig = {
3097
3097
  MODE: 3
3098
3098
  };
3099
3099
  function zr() {
3100
- return w(), C(
3100
+ return w(), S(
3101
3101
  "svg",
3102
3102
  {
3103
3103
  xmlns: "http://www.w3.org/2000/svg",
@@ -3165,7 +3165,7 @@ const ec = (e, t, a) => {
3165
3165
  for (let r = +e[0]; r <= +e[1]; r++)
3166
3166
  n.push({ value: +r, text: Io(r, t) });
3167
3167
  return a ? n.reverse() : n;
3168
- }, Co = (e, t, a) => {
3168
+ }, So = (e, t, a) => {
3169
3169
  const n = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].map((l) => {
3170
3170
  const o = l < 10 ? `0${l}` : l;
3171
3171
  return /* @__PURE__ */ new Date(`2017-${o}-01T00:00:00+00:00`);
@@ -3193,7 +3193,7 @@ const ec = (e, t, a) => {
3193
3193
  }, tc = (e) => [12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11][e], tt = (e) => {
3194
3194
  const t = v(e);
3195
3195
  return t != null && t.$el ? t == null ? void 0 : t.$el : t;
3196
- }, ac = (e) => ({ type: "dot", ...e ?? {} }), So = (e) => Array.isArray(e) ? !!e[0] && !!e[1] : !1, Wr = {
3196
+ }, ac = (e) => ({ type: "dot", ...e ?? {} }), Co = (e) => Array.isArray(e) ? !!e[0] && !!e[1] : !1, Wr = {
3197
3197
  prop: (e) => `"${e}" prop must be enabled!`,
3198
3198
  dateArr: (e) => `You need to use array as "model-value" binding in order to support "${e}"`
3199
3199
  }, lt = (e) => e, _l = (e) => e === 0 ? e : !e || isNaN(+e) ? null : +e, kl = (e) => e === null, $o = (e) => {
@@ -3290,7 +3290,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
3290
3290
  }, aa = (e, t, a, n) => {
3291
3291
  let r = e ? X(e) : X();
3292
3292
  return (t || t === 0) && (r = Uu(r, +t)), (a || a === 0) && (r = qu(r, +a)), (n || n === 0) && (r = To(r, +n)), Mo(r, 0);
3293
- }, qe = (e, t) => !e || !t ? !1 : Sa(ut(e), ut(t)), Se = (e, t) => !e || !t ? !1 : Da(ut(e), ut(t)), Ke = (e, t) => !e || !t ? !1 : ya(ut(e), ut(t)), Xa = (e, t, a) => e != null && e[0] && e != null && e[1] ? Ke(a, e[0]) && qe(a, e[1]) : e != null && e[0] && t ? Ke(a, e[0]) && qe(a, t) || qe(a, e[0]) && Ke(a, t) : !1, Mt = (e) => {
3293
+ }, qe = (e, t) => !e || !t ? !1 : Ca(ut(e), ut(t)), Ce = (e, t) => !e || !t ? !1 : Da(ut(e), ut(t)), Ke = (e, t) => !e || !t ? !1 : ya(ut(e), ut(t)), Xa = (e, t, a) => e != null && e[0] && e != null && e[1] ? Ke(a, e[0]) && qe(a, e[1]) : e != null && e[0] && t ? Ke(a, e[0]) && qe(a, t) || qe(a, e[0]) && Ke(a, t) : !1, Mt = (e) => {
3294
3294
  const t = Be(new Date(e), { date: 1 });
3295
3295
  return ut(t);
3296
3296
  }, Vn = (e, t, a) => t && (a || a === 0) ? Object.fromEntries(
@@ -3302,17 +3302,17 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
3302
3302
  }, ha = (e) => ({
3303
3303
  hours: jt(e),
3304
3304
  minutes: ra(e),
3305
- seconds: Ca(e)
3305
+ seconds: Sa(e)
3306
3306
  }), Eo = (e, t) => {
3307
3307
  if (t) {
3308
3308
  const a = ke(X(t));
3309
3309
  if (a > e) return 12;
3310
- if (a === e) return Ce(X(t));
3310
+ if (a === e) return Se(X(t));
3311
3311
  }
3312
3312
  }, No = (e, t) => {
3313
3313
  if (t) {
3314
3314
  const a = ke(X(t));
3315
- return a < e ? -1 : a === e ? Ce(X(t)) : void 0;
3315
+ return a < e ? -1 : a === e ? Se(X(t)) : void 0;
3316
3316
  }
3317
3317
  }, Ra = (e) => {
3318
3318
  if (e) return ke(X(e));
@@ -3321,15 +3321,15 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
3321
3321
  return mo({ start: a, end: n });
3322
3322
  }, cc = (e) => {
3323
3323
  const t = Ot(e, 1);
3324
- return { month: Ce(t), year: ke(t) };
3324
+ return { month: Se(t), year: ke(t) };
3325
3325
  }, Ht = (e, t) => {
3326
- const a = Ct(e, { weekStartsOn: +t }), n = po(e, { weekStartsOn: +t });
3326
+ const a = St(e, { weekStartsOn: +t }), n = po(e, { weekStartsOn: +t });
3327
3327
  return [a, n];
3328
3328
  }, Lo = (e, t) => {
3329
3329
  const a = {
3330
3330
  hours: jt(X()),
3331
3331
  minutes: ra(X()),
3332
- seconds: t ? Ca(X()) : 0
3332
+ seconds: t ? Sa(X()) : 0
3333
3333
  };
3334
3334
  return Object.assign(a, e);
3335
3335
  }, ea = (e, t, a) => [Be(X(e), { date: 1 }), Be(X(), { month: t, year: a, date: 1 })], Vt = (e, t, a) => {
@@ -3337,9 +3337,9 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
3337
3337
  return (t || t === 0) && (n = Do(n, t)), a && (n = Nt(n, a)), n;
3338
3338
  }, Bo = (e, t, a, n, r) => {
3339
3339
  if (!n || r && !t || !r && !a) return !1;
3340
- const l = r ? Ot(e, 1) : $a(e, 1), o = [Ce(l), ke(l)];
3340
+ const l = r ? Ot(e, 1) : $a(e, 1), o = [Se(l), ke(l)];
3341
3341
  return r ? !fc(...o, t) : !dc(...o, a);
3342
- }, dc = (e, t, a) => qe(...ea(a, e, t)) || Se(...ea(a, e, t)), fc = (e, t, a) => Ke(...ea(a, e, t)) || Se(...ea(a, e, t)), zo = (e, t, a, n, r, l, o) => {
3342
+ }, dc = (e, t, a) => qe(...ea(a, e, t)) || Ce(...ea(a, e, t)), fc = (e, t, a) => Ke(...ea(a, e, t)) || Ce(...ea(a, e, t)), zo = (e, t, a, n, r, l, o) => {
3343
3343
  if (typeof t == "function" && !o) return t(e);
3344
3344
  const s = a ? { locale: a } : void 0;
3345
3345
  return Array.isArray(e) ? `${Bt(e[0], l, s)}${r && !e[1] ? "" : n}${e[1] ? Bt(e[1], l, s) : ""}` : Bt(e, l, s);
@@ -3356,7 +3356,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
3356
3356
  }), Wn = (e, t, a, n) => {
3357
3357
  if (!e) return !0;
3358
3358
  if (n) {
3359
- const r = a === "max" ? Sa(e, t) : ya(e, t), l = { seconds: 0, milliseconds: 0 };
3359
+ const r = a === "max" ? Ca(e, t) : ya(e, t), l = { seconds: 0, milliseconds: 0 };
3360
3360
  return r || Da(Be(e, l), Be(t, l));
3361
3361
  }
3362
3362
  return a === "max" ? e.getTime() <= t.getTime() : e.getTime() >= t.getTime();
@@ -3591,7 +3591,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
3591
3591
  const n = Hr(a.date, t);
3592
3592
  return [jr(n, Ta.DATE), a];
3593
3593
  })
3594
- ) : null, Cc = (e) => {
3594
+ ) : null, Sc = (e) => {
3595
3595
  var t;
3596
3596
  const a = Ro(e.isMonthPicker, e.isYearPicker);
3597
3597
  return {
@@ -3602,7 +3602,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
3602
3602
  highlight: typeof e.highlight == "object" && Hn((t = e.highlight) == null ? void 0 : t.dates) ? Kn(e.highlight.dates, e.timezone, a) : e.highlight,
3603
3603
  markers: Oc(e.markers, e.timezone)
3604
3604
  };
3605
- }, Sc = (e) => typeof e == "boolean" ? { enabled: e, dragSelect: !0, limit: null } : {
3605
+ }, Cc = (e) => typeof e == "boolean" ? { enabled: e, dragSelect: !0, limit: null } : {
3606
3606
  enabled: !!e,
3607
3607
  limit: e.limit ? +e.limit : null,
3608
3608
  dragSelect: e.dragSelect ?? !0
@@ -3619,16 +3619,16 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
3619
3619
  return e.is24 ? `HH${N}${E}` : `hh${N}${E} aa`;
3620
3620
  }, a = () => {
3621
3621
  var E;
3622
- return e.format ? e.format : e.monthPicker ? "MM/yyyy" : e.timePicker ? t() : e.weekPicker ? `${((E = $.value) == null ? void 0 : E.type) === "iso" ? "II" : "ww"}-RR` : e.yearPicker ? "yyyy" : e.quarterPicker ? "QQQ/yyyy" : e.enableTimePicker ? `MM/dd/yyyy, ${t()}` : "MM/dd/yyyy";
3622
+ return e.format ? e.format : e.monthPicker ? "MM/yyyy" : e.timePicker ? t() : e.weekPicker ? `${((E = C.value) == null ? void 0 : E.type) === "iso" ? "II" : "ww"}-RR` : e.yearPicker ? "yyyy" : e.quarterPicker ? "QQQ/yyyy" : e.enableTimePicker ? `MM/dd/yyyy, ${t()}` : "MM/dd/yyyy";
3623
3623
  }, n = (E) => Lo(E, e.enableSeconds), r = () => D.value.enabled ? e.startTime && Array.isArray(e.startTime) ? [n(e.startTime[0]), n(e.startTime[1])] : null : e.startTime && !Array.isArray(e.startTime) ? n(e.startTime) : null, l = j(() => yc(e.multiCalendars)), o = j(() => r()), s = j(() => hc(e.ariaLabels)), u = j(() => _c(e.filters)), p = j(() => bc(e.transitions)), d = j(() => kc(e.actionRow)), m = j(
3624
3624
  () => gc(e.previewFormat, e.format, a())
3625
- ), c = j(() => wc(e.textInput)), k = j(() => xc(e.inline)), h = j(() => Pc(e.config)), A = j(() => Dc(e.highlight)), $ = j(() => Mc(e.weekNumbers)), g = j(() => Ac(e.timezone)), x = j(() => Sc(e.multiDates)), b = j(
3626
- () => Cc({
3625
+ ), c = j(() => wc(e.textInput)), k = j(() => xc(e.inline)), h = j(() => Pc(e.config)), M = j(() => Dc(e.highlight)), C = j(() => Mc(e.weekNumbers)), g = j(() => Ac(e.timezone)), x = j(() => Cc(e.multiDates)), b = j(
3626
+ () => Sc({
3627
3627
  minDate: e.minDate,
3628
3628
  maxDate: e.maxDate,
3629
3629
  disabledDates: e.disabledDates,
3630
3630
  allowedDates: e.allowedDates,
3631
- highlight: A.value,
3631
+ highlight: M.value,
3632
3632
  markers: e.markers,
3633
3633
  timezone: g.value,
3634
3634
  isSpecific: e.monthPicker || e.yearPicker || e.quarterPicker,
@@ -3647,8 +3647,8 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
3647
3647
  defaultedTextInput: c,
3648
3648
  defaultedInline: k,
3649
3649
  defaultedConfig: h,
3650
- defaultedHighlight: A,
3651
- defaultedWeekNumbers: $,
3650
+ defaultedHighlight: M,
3651
+ defaultedWeekNumbers: C,
3652
3652
  defaultedRange: D,
3653
3653
  propDates: b,
3654
3654
  defaultedTz: g,
@@ -3668,36 +3668,36 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
3668
3668
  typeof t.onInternalModelChange == "function" && e("internal-model-change", n.value, G(!0));
3669
3669
  },
3670
3670
  { deep: !0 }
3671
- ), gt(l, (i, S) => {
3672
- i.enabled !== S.enabled && (n.value = null);
3671
+ ), gt(l, (i, $) => {
3672
+ i.enabled !== $.enabled && (n.value = null);
3673
3673
  }), gt(d, () => {
3674
3674
  ae();
3675
3675
  });
3676
3676
  const c = (i) => o.value.timezone && o.value.convertModel ? bt(i, o.value.timezone) : i, k = (i) => {
3677
3677
  if (o.value.timezone && o.value.convertModel) {
3678
- const S = Ku(o.value.timezone, i);
3679
- return Qi(i, S);
3678
+ const $ = Ku(o.value.timezone, i);
3679
+ return Qi(i, $);
3680
3680
  }
3681
3681
  return i;
3682
- }, h = (i, S, se = !1) => zo(
3682
+ }, h = (i, $, se = !1) => zo(
3683
3683
  i,
3684
3684
  t.format,
3685
3685
  t.formatLocale,
3686
3686
  r.value.rangeSeparator,
3687
3687
  t.modelAuto,
3688
- S ?? u(),
3688
+ $ ?? u(),
3689
3689
  se
3690
- ), A = (i) => i ? t.modelType ? ne(i) : {
3690
+ ), M = (i) => i ? t.modelType ? ne(i) : {
3691
3691
  hours: jt(i),
3692
3692
  minutes: ra(i),
3693
- seconds: t.enableSeconds ? Ca(i) : 0
3694
- } : null, $ = (i) => t.modelType ? ne(i) : { month: Ce(i), year: ke(i) }, g = (i) => Array.isArray(i) ? s.value.enabled ? i.map((S) => x(S, Nt(X(), S))) : un(
3693
+ seconds: t.enableSeconds ? Sa(i) : 0
3694
+ } : null, C = (i) => t.modelType ? ne(i) : { month: Se(i), year: ke(i) }, g = (i) => Array.isArray(i) ? s.value.enabled ? i.map(($) => x($, Nt(X(), $))) : un(
3695
3695
  () => [
3696
3696
  Nt(X(), i[0]),
3697
3697
  i[1] ? Nt(X(), i[1]) : xa(l.value.partialRange)
3698
3698
  ],
3699
3699
  l.value.enabled
3700
- ) : Nt(X(), +i), x = (i, S) => (typeof i == "string" || typeof i == "number") && t.modelType ? H(i) : S, b = (i) => Array.isArray(i) ? [
3700
+ ) : Nt(X(), +i), x = (i, $) => (typeof i == "string" || typeof i == "number") && t.modelType ? H(i) : $, b = (i) => Array.isArray(i) ? [
3701
3701
  x(
3702
3702
  i[0],
3703
3703
  aa(null, +i[0].hours, +i[0].minutes, i[0].seconds)
@@ -3707,26 +3707,26 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
3707
3707
  aa(null, +i[1].hours, +i[1].minutes, i[1].seconds)
3708
3708
  )
3709
3709
  ] : x(i, aa(null, i.hours, i.minutes, i.seconds)), D = (i) => {
3710
- const S = Be(X(), { date: 1 });
3711
- return Array.isArray(i) ? s.value.enabled ? i.map((se) => x(se, Vt(S, +se.month, +se.year))) : un(
3710
+ const $ = Be(X(), { date: 1 });
3711
+ return Array.isArray(i) ? s.value.enabled ? i.map((se) => x(se, Vt($, +se.month, +se.year))) : un(
3712
3712
  () => [
3713
- x(i[0], Vt(S, +i[0].month, +i[0].year)),
3713
+ x(i[0], Vt($, +i[0].month, +i[0].year)),
3714
3714
  x(
3715
3715
  i[1],
3716
- i[1] ? Vt(S, +i[1].month, +i[1].year) : xa(l.value.partialRange)
3716
+ i[1] ? Vt($, +i[1].month, +i[1].year) : xa(l.value.partialRange)
3717
3717
  )
3718
3718
  ],
3719
3719
  l.value.enabled
3720
- ) : x(i, Vt(S, +i.month, +i.year));
3720
+ ) : x(i, Vt($, +i.month, +i.year));
3721
3721
  }, F = (i) => {
3722
3722
  if (Array.isArray(i))
3723
- return i.map((S) => H(S));
3723
+ return i.map(($) => H($));
3724
3724
  throw new Error(Wr.dateArr("multi-dates"));
3725
3725
  }, E = (i) => {
3726
3726
  if (Array.isArray(i) && l.value.enabled) {
3727
- const S = i[0], se = i[1];
3727
+ const $ = i[0], se = i[1];
3728
3728
  return [
3729
- X(Array.isArray(S) ? S[0] : null),
3729
+ X(Array.isArray($) ? $[0] : null),
3730
3730
  Array.isArray(se) && se.length ? X(se[0]) : null
3731
3731
  ];
3732
3732
  }
@@ -3746,42 +3746,42 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
3746
3746
  i[1] ? ne(i[1]) : xa(l.value.partialRange)
3747
3747
  ];
3748
3748
  }, I = () => Array.isArray(n.value) ? n.value[1] ? y() : ne(lt(n.value[0])) : [], te = () => (n.value || []).map((i) => ne(i)), ce = (i = !1) => (i || W(), t.modelAuto ? I() : s.value.enabled ? te() : Array.isArray(n.value) ? un(() => y(), l.value.enabled) : ne(lt(n.value))), be = (i) => !i || Array.isArray(i) && !i.length ? null : t.timePicker ? b(lt(i)) : t.monthPicker ? D(lt(i)) : t.yearPicker ? g(lt(i)) : s.value.enabled ? F(lt(i)) : t.weekPicker ? E(lt(i)) : N(lt(i)), P = (i) => {
3749
- const S = be(i);
3750
- ur(lt(S)) ? (n.value = lt(S), ae()) : (n.value = null, p.value = "");
3749
+ const $ = be(i);
3750
+ ur(lt($)) ? (n.value = lt($), ae()) : (n.value = null, p.value = "");
3751
3751
  }, Y = () => {
3752
- const i = (S) => Bt(S, r.value.format);
3752
+ const i = ($) => Bt($, r.value.format);
3753
3753
  return `${i(n.value[0])} ${r.value.rangeSeparator} ${n.value[1] ? i(n.value[1]) : ""}`;
3754
- }, M = () => a.value && n.value ? Array.isArray(n.value) ? Y() : Bt(n.value, r.value.format) : h(n.value), q = () => n.value ? s.value.enabled ? n.value.map((i) => h(i)).join("; ") : r.value.enabled && typeof r.value.format == "string" ? M() : h(n.value) : "", ae = () => {
3754
+ }, T = () => a.value && n.value ? Array.isArray(n.value) ? Y() : Bt(n.value, r.value.format) : h(n.value), q = () => n.value ? s.value.enabled ? n.value.map((i) => h(i)).join("; ") : r.value.enabled && typeof r.value.format == "string" ? T() : h(n.value) : "", ae = () => {
3755
3755
  !t.format || typeof t.format == "string" || r.value.enabled && typeof r.value.format == "string" ? p.value = q() : p.value = t.format(n.value);
3756
3756
  }, H = (i) => {
3757
3757
  if (t.utc) {
3758
- const S = new Date(i);
3759
- return t.utc === "preserve" ? new Date(S.getTime() + S.getTimezoneOffset() * 6e4) : S;
3758
+ const $ = new Date(i);
3759
+ return t.utc === "preserve" ? new Date($.getTime() + $.getTimezoneOffset() * 6e4) : $;
3760
3760
  }
3761
3761
  return t.modelType ? Zu.includes(t.modelType) ? c(new Date(i)) : t.modelType === "format" && (typeof t.format == "string" || !t.format) ? c(
3762
3762
  or(i, u(), /* @__PURE__ */ new Date(), { locale: m.value })
3763
3763
  ) : c(
3764
3764
  or(i, t.modelType, /* @__PURE__ */ new Date(), { locale: m.value })
3765
3765
  ) : c(new Date(i));
3766
- }, ne = (i) => i ? t.utc ? uc(i, t.utc === "preserve", t.enableSeconds) : t.modelType ? t.modelType === "timestamp" ? +k(i) : t.modelType === "iso" ? k(i).toISOString() : t.modelType === "format" && (typeof t.format == "string" || !t.format) ? h(k(i)) : h(k(i), t.modelType, !0) : k(i) : "", L = (i, S = !1, se = !1) => {
3766
+ }, ne = (i) => i ? t.utc ? uc(i, t.utc === "preserve", t.enableSeconds) : t.modelType ? t.modelType === "timestamp" ? +k(i) : t.modelType === "iso" ? k(i).toISOString() : t.modelType === "format" && (typeof t.format == "string" || !t.format) ? h(k(i)) : h(k(i), t.modelType, !0) : k(i) : "", L = (i, $ = !1, se = !1) => {
3767
3767
  if (se) return i;
3768
- if (e("update:model-value", i), o.value.emitTimezone && S) {
3768
+ if (e("update:model-value", i), o.value.emitTimezone && $) {
3769
3769
  const Re = Array.isArray(i) ? i.map((B) => bt(lt(B), o.value.emitTimezone)) : bt(lt(i), o.value.emitTimezone);
3770
3770
  e("update:model-timezone-value", Re);
3771
3771
  }
3772
- }, me = (i) => Array.isArray(n.value) ? s.value.enabled ? n.value.map((S) => i(S)) : [
3772
+ }, me = (i) => Array.isArray(n.value) ? s.value.enabled ? n.value.map(($) => i($)) : [
3773
3773
  i(n.value[0]),
3774
3774
  n.value[1] ? i(n.value[1]) : xa(l.value.partialRange)
3775
3775
  ] : i(lt(n.value)), _ = () => {
3776
3776
  if (Array.isArray(n.value)) {
3777
- const i = Ht(n.value[0], t.weekStart), S = n.value[1] ? Ht(n.value[1], t.weekStart) : [];
3778
- return [i.map((se) => X(se)), S.map((se) => X(se))];
3777
+ const i = Ht(n.value[0], t.weekStart), $ = n.value[1] ? Ht(n.value[1], t.weekStart) : [];
3778
+ return [i.map((se) => X(se)), $.map((se) => X(se))];
3779
3779
  }
3780
3780
  return Ht(n.value, t.weekStart).map((i) => X(i));
3781
- }, R = (i, S) => L(lt(me(i)), !1, S), V = (i) => {
3782
- const S = _();
3783
- return i ? S : e("update:model-value", _());
3784
- }, G = (i = !1) => (i || ae(), t.monthPicker ? R($, i) : t.timePicker ? R(A, i) : t.yearPicker ? R(ke, i) : t.weekPicker ? V(i) : L(ce(i), !0, i));
3781
+ }, R = (i, $) => L(lt(me(i)), !1, $), V = (i) => {
3782
+ const $ = _();
3783
+ return i ? $ : e("update:model-value", _());
3784
+ }, G = (i = !1) => (i || ae(), t.monthPicker ? R(C, i) : t.timePicker ? R(M, i) : t.yearPicker ? R(ke, i) : t.weekPicker ? V(i) : L(ce(i), !0, i));
3785
3785
  return {
3786
3786
  inputValue: p,
3787
3787
  internalModelValue: n,
@@ -3793,16 +3793,16 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
3793
3793
  }, Rc = (e, t) => {
3794
3794
  const { defaultedFilters: a, propDates: n } = je(e), { validateMonthYearInRange: r } = ca(e), l = (d, m) => {
3795
3795
  let c = d;
3796
- return a.value.months.includes(Ce(c)) ? (c = m ? Ot(d, 1) : $a(d, 1), l(c, m)) : c;
3796
+ return a.value.months.includes(Se(c)) ? (c = m ? Ot(d, 1) : $a(d, 1), l(c, m)) : c;
3797
3797
  }, o = (d, m) => {
3798
3798
  let c = d;
3799
- return a.value.years.includes(ke(c)) ? (c = m ? Sr(d, 1) : Ao(d, 1), o(c, m)) : c;
3799
+ return a.value.years.includes(ke(c)) ? (c = m ? Cr(d, 1) : Ao(d, 1), o(c, m)) : c;
3800
3800
  }, s = (d, m = !1) => {
3801
3801
  const c = Be(X(), { month: e.month, year: e.year });
3802
3802
  let k = d ? Ot(c, 1) : $a(c, 1);
3803
3803
  e.disableYearSelect && (k = Nt(k, e.year));
3804
- let h = Ce(k), A = ke(k);
3805
- a.value.months.includes(h) && (k = l(k, d), h = Ce(k), A = ke(k)), a.value.years.includes(A) && (k = o(k, d), A = ke(k)), r(h, A, d, e.preventMinMaxNavigation) && u(h, A, m);
3804
+ let h = Se(k), M = ke(k);
3805
+ a.value.months.includes(h) && (k = l(k, d), h = Se(k), M = ke(k)), a.value.years.includes(M) && (k = o(k, d), M = ke(k)), r(h, M, d, e.preventMinMaxNavigation) && u(h, M, m);
3806
3806
  }, u = (d, m, c) => {
3807
3807
  t("update-month-year", { month: d, year: m, fromNav: c });
3808
3808
  }, p = j(() => (d) => Bo(
@@ -3936,7 +3936,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
3936
3936
  onInternalModelChange: { type: [Function, Object], default: null },
3937
3937
  enableMinutes: { type: Boolean, default: !0 },
3938
3938
  ui: { type: Object, default: () => ({}) }
3939
- }, St = {
3939
+ }, Ct = {
3940
3940
  ...Pn,
3941
3941
  shadow: { type: Boolean, default: !1 },
3942
3942
  flowStep: { type: Number, default: 0 },
@@ -3955,7 +3955,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
3955
3955
  props: {
3956
3956
  menuMount: { type: Boolean, default: !1 },
3957
3957
  calendarWidth: { type: Number, default: 0 },
3958
- ...St
3958
+ ...Ct
3959
3959
  },
3960
3960
  emits: ["close-picker", "select-date", "select-now", "invalid-select"],
3961
3961
  setup(e, { emit: t }) {
@@ -3967,17 +3967,17 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
3967
3967
  defaultedInline: u,
3968
3968
  defaultedRange: p,
3969
3969
  defaultedMultiDates: d
3970
- } = je(n), { isTimeValid: m, isMonthValid: c } = ca(n), { buildMatrix: k } = ua(), h = Q(null), A = Q(null), $ = Q(!1), g = Q({}), x = Q(null), b = Q(null);
3970
+ } = je(n), { isTimeValid: m, isMonthValid: c } = ca(n), { buildMatrix: k } = ua(), h = Q(null), M = Q(null), C = Q(!1), g = Q({}), x = Q(null), b = Q(null);
3971
3971
  nt(() => {
3972
- n.arrowNavigation && k([tt(h), tt(A)], "actionRow"), D(), window.addEventListener("resize", D);
3972
+ n.arrowNavigation && k([tt(h), tt(M)], "actionRow"), D(), window.addEventListener("resize", D);
3973
3973
  }), sa(() => {
3974
3974
  window.removeEventListener("resize", D);
3975
3975
  });
3976
3976
  const D = () => {
3977
- $.value = !1, setTimeout(() => {
3977
+ C.value = !1, setTimeout(() => {
3978
3978
  var P, Y;
3979
- const M = (P = x.value) == null ? void 0 : P.getBoundingClientRect(), q = (Y = b.value) == null ? void 0 : Y.getBoundingClientRect();
3980
- M && q && (g.value.maxWidth = `${q.width - M.width - 20}px`), $.value = !0;
3979
+ const T = (P = x.value) == null ? void 0 : P.getBoundingClientRect(), q = (Y = b.value) == null ? void 0 : Y.getBoundingClientRect();
3980
+ T && q && (g.value.maxWidth = `${q.width - T.width - 20}px`), C.value = !0;
3981
3981
  }, 0);
3982
3982
  }, F = j(() => p.value.enabled && !p.value.partialRange && n.internalModelValue ? n.internalModelValue.length === 2 : !0), E = j(
3983
3983
  () => !m.value(n.internalModelValue) || !c.value(n.internalModelValue) || !F.value
@@ -3999,7 +3999,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
3999
3999
  ), be = () => {
4000
4000
  m.value(n.internalModelValue) && c.value(n.internalModelValue) && F.value ? a("select-date") : a("invalid-select");
4001
4001
  };
4002
- return (P, Y) => (w(), C("div", {
4002
+ return (P, Y) => (w(), S("div", {
4003
4003
  ref_key: "actionRowRef",
4004
4004
  ref: b,
4005
4005
  class: "dp__action_row"
@@ -4009,18 +4009,18 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4009
4009
  disabled: E.value,
4010
4010
  selectDate: () => P.$emit("select-date"),
4011
4011
  closePicker: () => P.$emit("close-picker")
4012
- }))) : (w(), C(xe, { key: 1 }, [
4013
- v(r).showPreview ? (w(), C("div", {
4012
+ }))) : (w(), S(xe, { key: 1 }, [
4013
+ v(r).showPreview ? (w(), S("div", {
4014
4014
  key: 0,
4015
4015
  class: "dp__selection_preview",
4016
4016
  title: ce.value,
4017
4017
  style: st(g.value)
4018
4018
  }, [
4019
- P.$slots["action-preview"] && $.value ? de(P.$slots, "action-preview", {
4019
+ P.$slots["action-preview"] && C.value ? de(P.$slots, "action-preview", {
4020
4020
  key: 0,
4021
4021
  value: P.internalModelValue
4022
4022
  }) : z("", !0),
4023
- !P.$slots["action-preview"] && $.value ? (w(), C(xe, { key: 1 }, [
4023
+ !P.$slots["action-preview"] && C.value ? (w(), S(xe, { key: 1 }, [
4024
4024
  Wt(Ne(ce.value), 1)
4025
4025
  ], 64)) : z("", !0)
4026
4026
  ], 12, Yc)) : z("", !0),
@@ -4034,32 +4034,32 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4034
4034
  key: 0,
4035
4035
  value: P.internalModelValue
4036
4036
  }) : z("", !0),
4037
- P.$slots["action-buttons"] ? z("", !0) : (w(), C(xe, { key: 1 }, [
4038
- !v(u).enabled && v(r).showCancel ? (w(), C("button", {
4037
+ P.$slots["action-buttons"] ? z("", !0) : (w(), S(xe, { key: 1 }, [
4038
+ !v(u).enabled && v(r).showCancel ? (w(), S("button", {
4039
4039
  key: 0,
4040
4040
  ref_key: "cancelButtonRef",
4041
4041
  ref: h,
4042
4042
  type: "button",
4043
4043
  class: "dp__action_button dp__action_cancel",
4044
- onClick: Y[0] || (Y[0] = (M) => P.$emit("close-picker")),
4045
- onKeydown: Y[1] || (Y[1] = (M) => v(pt)(M, () => P.$emit("close-picker")))
4044
+ onClick: Y[0] || (Y[0] = (T) => P.$emit("close-picker")),
4045
+ onKeydown: Y[1] || (Y[1] = (T) => v(pt)(T, () => P.$emit("close-picker")))
4046
4046
  }, Ne(P.cancelText), 545)) : z("", !0),
4047
- v(r).showNow ? (w(), C("button", {
4047
+ v(r).showNow ? (w(), S("button", {
4048
4048
  key: 1,
4049
4049
  type: "button",
4050
4050
  class: "dp__action_button dp__action_cancel",
4051
- onClick: Y[2] || (Y[2] = (M) => P.$emit("select-now")),
4052
- onKeydown: Y[3] || (Y[3] = (M) => v(pt)(M, () => P.$emit("select-now")))
4051
+ onClick: Y[2] || (Y[2] = (T) => P.$emit("select-now")),
4052
+ onKeydown: Y[3] || (Y[3] = (T) => v(pt)(T, () => P.$emit("select-now")))
4053
4053
  }, Ne(P.nowButtonLabel), 33)) : z("", !0),
4054
- v(r).showSelect ? (w(), C("button", {
4054
+ v(r).showSelect ? (w(), S("button", {
4055
4055
  key: 2,
4056
4056
  ref_key: "selectButtonRef",
4057
- ref: A,
4057
+ ref: M,
4058
4058
  type: "button",
4059
4059
  class: "dp__action_button dp__action_select",
4060
4060
  disabled: E.value,
4061
4061
  "data-test-id": "select-button",
4062
- onKeydown: Y[4] || (Y[4] = (M) => v(pt)(M, () => be())),
4062
+ onKeydown: Y[4] || (Y[4] = (T) => v(pt)(T, () => be())),
4063
4063
  onClick: be
4064
4064
  }, Ne(P.selectText), 41, Ec)) : z("", !0)
4065
4065
  ], 64))
@@ -4092,7 +4092,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4092
4092
  setup(e, { expose: t, emit: a }) {
4093
4093
  const { setSelectionGrid: n, buildMultiLevelMatrix: r, setMonthPicker: l } = ua(), o = a, s = e, { defaultedAriaLabels: u, defaultedTextInput: p, defaultedConfig: d, handleEventPropagation: m } = je(
4094
4094
  s
4095
- ), { hideNavigationButtons: c } = Tn(), k = Q(!1), h = Q(null), A = Q(null), $ = Q([]), g = Q(), x = Q(null), b = Q(0), D = Q(null);
4095
+ ), { hideNavigationButtons: c } = Tn(), k = Q(!1), h = Q(null), M = Q(null), C = Q([]), g = Q(), x = Q(null), b = Q(0), D = Q(null);
4096
4096
  Hi(() => {
4097
4097
  h.value = null;
4098
4098
  }), nt(() => {
@@ -4103,7 +4103,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4103
4103
  s.arrowNavigation && ((R = s.headerRefs) != null && R.length ? l(_) : n(_));
4104
4104
  }, E = () => {
4105
4105
  var _;
4106
- const R = tt(A);
4106
+ const R = tt(M);
4107
4107
  R && (p.value.enabled || (h.value ? (_ = h.value) == null || _.focus({ preventScroll: !0 }) : R.focus({ preventScroll: !0 })), k.value = R.clientHeight < R.scrollHeight);
4108
4108
  }, N = j(
4109
4109
  () => ({
@@ -4138,8 +4138,8 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4138
4138
  );
4139
4139
  const ce = (_ = !0) => {
4140
4140
  _t().then(() => {
4141
- const R = tt(h), V = tt(A), G = tt(x), i = tt(D), S = G ? G.getBoundingClientRect().height : 0;
4142
- V && (V.getBoundingClientRect().height ? b.value = V.getBoundingClientRect().height - S : b.value = d.value.modeHeight - S), R && i && _ && (i.scrollTop = R.offsetTop - i.offsetTop - (b.value / 2 - R.getBoundingClientRect().height) - S);
4141
+ const R = tt(h), V = tt(M), G = tt(x), i = tt(D), $ = G ? G.getBoundingClientRect().height : 0;
4142
+ V && (V.getBoundingClientRect().height ? b.value = V.getBoundingClientRect().height - $ : b.value = d.value.modeHeight - $), R && i && _ && (i.scrollTop = R.offsetTop - i.offsetTop - (b.value / 2 - R.getBoundingClientRect().height) - $);
4143
4143
  });
4144
4144
  }, be = (_) => {
4145
4145
  _.disabled || o("selected", _.value);
@@ -4147,11 +4147,11 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4147
4147
  o("toggle"), o("reset-flow");
4148
4148
  }, Y = (_) => {
4149
4149
  s.escClose && (P(), m(_));
4150
- }, M = (_, R, V, G) => {
4151
- _ && ((R.active || R.value === s.focusValue) && (h.value = _), s.arrowNavigation && (Array.isArray($.value[V]) ? $.value[V][G] = _ : $.value[V] = [_], q()));
4150
+ }, T = (_, R, V, G) => {
4151
+ _ && ((R.active || R.value === s.focusValue) && (h.value = _), s.arrowNavigation && (Array.isArray(C.value[V]) ? C.value[V][G] = _ : C.value[V] = [_], q()));
4152
4152
  }, q = () => {
4153
4153
  var _, R;
4154
- const V = (_ = s.headerRefs) != null && _.length ? [s.headerRefs].concat($.value) : $.value.concat([s.skipButtonRef ? [] : [x.value]]);
4154
+ const V = (_ = s.headerRefs) != null && _.length ? [s.headerRefs].concat(C.value) : C.value.concat([s.skipButtonRef ? [] : [x.value]]);
4155
4155
  r(lt(V), (R = s.headerRefs) != null && R.length ? "monthPicker" : "selectionGrid");
4156
4156
  }, ae = (_) => {
4157
4157
  s.arrowNavigation || ta(_, d.value, !0);
@@ -4186,9 +4186,9 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4186
4186
  };
4187
4187
  return t({ focusGrid: E }), (_, R) => {
4188
4188
  var V;
4189
- return w(), C("div", {
4189
+ return w(), S("div", {
4190
4190
  ref_key: "gridWrapRef",
4191
- ref: A,
4191
+ ref: M,
4192
4192
  class: ge(N.value),
4193
4193
  style: st(W.value),
4194
4194
  role: _.useRelative ? void 0 : "dialog",
@@ -4208,40 +4208,40 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4208
4208
  ve("div", Lc, [
4209
4209
  de(_.$slots, "header")
4210
4210
  ]),
4211
- _.$slots.overlay ? de(_.$slots, "overlay", { key: 0 }) : (w(!0), C(xe, { key: 1 }, Fe(_.items, (G, i) => (w(), C("div", {
4211
+ _.$slots.overlay ? de(_.$slots, "overlay", { key: 0 }) : (w(!0), S(xe, { key: 1 }, Fe(_.items, (G, i) => (w(), S("div", {
4212
4212
  key: i,
4213
4213
  class: ge(["dp__overlay_row", { dp__flex_row: _.items.length >= 3 }]),
4214
4214
  role: "row"
4215
4215
  }, [
4216
- (w(!0), C(xe, null, Fe(G, (S, se) => (w(), C("div", {
4217
- key: S.value,
4216
+ (w(!0), S(xe, null, Fe(G, ($, se) => (w(), S("div", {
4217
+ key: $.value,
4218
4218
  ref_for: !0,
4219
- ref: (Re) => M(Re, S, i, se),
4219
+ ref: (Re) => T(Re, $, i, se),
4220
4220
  role: "gridcell",
4221
4221
  class: ge(y.value),
4222
- "aria-selected": S.active || void 0,
4223
- "aria-disabled": S.disabled || void 0,
4222
+ "aria-selected": $.active || void 0,
4223
+ "aria-disabled": $.disabled || void 0,
4224
4224
  tabindex: "0",
4225
- "data-test-id": S.text,
4226
- onClick: At((Re) => be(S), ["prevent"]),
4227
- onKeydown: (Re) => v(pt)(Re, () => be(S), !0),
4228
- onMouseover: (Re) => H(S.value)
4225
+ "data-test-id": $.text,
4226
+ onClick: At((Re) => be($), ["prevent"]),
4227
+ onKeydown: (Re) => v(pt)(Re, () => be($), !0),
4228
+ onMouseover: (Re) => H($.value)
4229
4229
  }, [
4230
4230
  ve("div", {
4231
- class: ge(S.className)
4231
+ class: ge($.className)
4232
4232
  }, [
4233
4233
  _.$slots.item ? de(_.$slots, "item", {
4234
4234
  key: 0,
4235
- item: S
4235
+ item: $
4236
4236
  }) : z("", !0),
4237
- _.$slots.item ? z("", !0) : (w(), C(xe, { key: 1 }, [
4238
- Wt(Ne(S.text), 1)
4237
+ _.$slots.item ? z("", !0) : (w(), S(xe, { key: 1 }, [
4238
+ Wt(Ne($.text), 1)
4239
4239
  ], 64))
4240
4240
  ], 2)
4241
4241
  ], 42, Bc))), 128))
4242
4242
  ], 2))), 128))
4243
4243
  ], 6),
4244
- _.$slots["button-icon"] ? mn((w(), C("button", {
4244
+ _.$slots["button-icon"] ? mn((w(), S("button", {
4245
4245
  key: 0,
4246
4246
  ref_key: "toggleButton",
4247
4247
  ref: x,
@@ -4273,7 +4273,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4273
4273
  ), n = j(() => ({
4274
4274
  dp__instance_calendar: t.multiCalendars > 0
4275
4275
  }));
4276
- return (r, l) => (w(), C("div", {
4276
+ return (r, l) => (w(), S("div", {
4277
4277
  class: ge({
4278
4278
  dp__menu_inner: !r.stretch,
4279
4279
  "dp--menu--inner-stretched": r.stretch,
@@ -4282,7 +4282,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4282
4282
  }),
4283
4283
  "data-dp-mobile": r.isMobile
4284
4284
  }, [
4285
- (w(!0), C(xe, null, Fe(a.value, (o, s) => (w(), C("div", {
4285
+ (w(!0), S(xe, null, Fe(a.value, (o, s) => (w(), S("div", {
4286
4286
  key: o,
4287
4287
  class: ge(n.value)
4288
4288
  }, [
@@ -4306,7 +4306,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4306
4306
  emits: ["activate", "set-ref"],
4307
4307
  setup(e, { emit: t }) {
4308
4308
  const a = t, n = Q(null);
4309
- return nt(() => a("set-ref", n)), (r, l) => (w(), C("button", {
4309
+ return nt(() => a("set-ref", n)), (r, l) => (w(), S("button", {
4310
4310
  ref_key: "elRef",
4311
4311
  ref: n,
4312
4312
  type: "button",
@@ -4328,7 +4328,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4328
4328
  }), Wc = ["aria-label", "data-test-id"], Wo = /* @__PURE__ */ We({
4329
4329
  __name: "YearModePicker",
4330
4330
  props: {
4331
- ...St,
4331
+ ...Ct,
4332
4332
  showYearPicker: { type: Boolean, default: !1 },
4333
4333
  items: { type: Array, default: () => [] },
4334
4334
  instance: { type: Number, default: 0 },
@@ -4339,14 +4339,14 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4339
4339
  setup(e, { emit: t }) {
4340
4340
  const a = t, n = e, { showRightIcon: r, showLeftIcon: l } = Tn(), { defaultedConfig: o, defaultedMultiCalendars: s, defaultedAriaLabels: u, defaultedTransitions: p, defaultedUI: d } = je(n), { showTransition: m, transitionName: c } = nn(p), k = Q(!1), h = (g = !1, x) => {
4341
4341
  k.value = !k.value, a("toggle-year-picker", { flow: g, show: x });
4342
- }, A = (g) => {
4342
+ }, M = (g) => {
4343
4343
  k.value = !1, a("year-select", g);
4344
- }, $ = (g = !1) => {
4344
+ }, C = (g = !1) => {
4345
4345
  a("handle-year", g);
4346
4346
  };
4347
4347
  return (g, x) => {
4348
4348
  var b, D, F, E, N;
4349
- return w(), C(xe, null, [
4349
+ return w(), S(xe, null, [
4350
4350
  ve("div", {
4351
4351
  class: ge(["dp--year-mode-picker", { "dp--hidden-el": k.value }])
4352
4352
  }, [
@@ -4356,7 +4356,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4356
4356
  "aria-label": (b = v(u)) == null ? void 0 : b.prevYear,
4357
4357
  disabled: e.isDisabled(!1),
4358
4358
  class: ge((D = v(d)) == null ? void 0 : D.navBtnPrev),
4359
- onActivate: x[0] || (x[0] = (W) => $(!1))
4359
+ onActivate: x[0] || (x[0] = (W) => C(!1))
4360
4360
  }, {
4361
4361
  default: Pe(() => [
4362
4362
  g.$slots["arrow-left"] ? de(g.$slots, "arrow-left", { key: 0 }) : z("", !0),
@@ -4377,7 +4377,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4377
4377
  key: 0,
4378
4378
  year: e.year
4379
4379
  }) : z("", !0),
4380
- g.$slots.year ? z("", !0) : (w(), C(xe, { key: 1 }, [
4380
+ g.$slots.year ? z("", !0) : (w(), S(xe, { key: 1 }, [
4381
4381
  Wt(Ne(e.year), 1)
4382
4382
  ], 64))
4383
4383
  ], 40, Wc),
@@ -4387,7 +4387,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4387
4387
  "aria-label": (E = v(u)) == null ? void 0 : E.nextYear,
4388
4388
  disabled: e.isDisabled(!0),
4389
4389
  class: ge((N = v(d)) == null ? void 0 : N.navBtnNext),
4390
- onActivate: x[3] || (x[3] = (W) => $(!0))
4390
+ onActivate: x[3] || (x[3] = (W) => C(!0))
4391
4391
  }, {
4392
4392
  default: Pe(() => [
4393
4393
  g.$slots["arrow-right"] ? de(g.$slots, "arrow-right", { key: 0 }) : z("", !0),
@@ -4415,7 +4415,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4415
4415
  "overlay-label": (y = (W = v(u)) == null ? void 0 : W.yearPicker) == null ? void 0 : y.call(W, !0),
4416
4416
  type: "year",
4417
4417
  onToggle: h,
4418
- onSelected: x[4] || (x[4] = (I) => A(I))
4418
+ onSelected: x[4] || (x[4] = (I) => M(I))
4419
4419
  }, ft({
4420
4420
  "button-icon": Pe(() => [
4421
4421
  g.$slots["calendar-icon"] ? de(g.$slots, "calendar-icon", { key: 0 }) : z("", !0),
@@ -4443,8 +4443,8 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4443
4443
  }
4444
4444
  }), qr = (e, t, a) => {
4445
4445
  if (t.value && Array.isArray(t.value))
4446
- if (t.value.some((n) => Se(e, n))) {
4447
- const n = t.value.filter((r) => !Se(r, e));
4446
+ if (t.value.some((n) => Ce(e, n))) {
4447
+ const n = t.value.filter((r) => !Ce(r, e));
4448
4448
  t.value = n.length ? n : null;
4449
4449
  } else (a && +a > t.value.length || !a) && t.value.push(e);
4450
4450
  else
@@ -4456,7 +4456,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4456
4456
  e && (e[0] && e[1] && a && t("auto-apply"), e[0] && !e[1] && n && a && t("auto-apply"));
4457
4457
  }, jo = (e) => {
4458
4458
  Array.isArray(e.value) && e.value.length <= 2 && e.range ? e.modelValue.value = e.value.map((t) => bt(X(t), e.timezone)) : Array.isArray(e.value) || (e.modelValue.value = bt(X(e.value), e.timezone));
4459
- }, Uo = (e, t, a, n) => Array.isArray(t.value) && (t.value.length === 2 || t.value.length === 1 && n.value.partialRange) ? n.value.fixedStart && (Ke(e, t.value[0]) || Se(e, t.value[0])) ? [t.value[0], e] : n.value.fixedEnd && (qe(e, t.value[1]) || Se(e, t.value[1])) ? [e, t.value[1]] : (a("invalid-fixed-range", e), t.value) : [], qo = ({
4459
+ }, Uo = (e, t, a, n) => Array.isArray(t.value) && (t.value.length === 2 || t.value.length === 1 && n.value.partialRange) ? n.value.fixedStart && (Ke(e, t.value[0]) || Ce(e, t.value[0])) ? [t.value[0], e] : n.value.fixedEnd && (qe(e, t.value[1]) || Ce(e, t.value[1])) ? [e, t.value[1]] : (a("invalid-fixed-range", e), t.value) : [], qo = ({
4460
4460
  multiCalendars: e,
4461
4461
  range: t,
4462
4462
  highlight: a,
@@ -4481,33 +4481,33 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4481
4481
  o.preventMinMaxNavigation,
4482
4482
  te
4483
4483
  );
4484
- }), h = () => Array.isArray(l.value) && e.value.solo && l.value[1], A = () => {
4484
+ }), h = () => Array.isArray(l.value) && e.value.solo && l.value[1], M = () => {
4485
4485
  for (let I = 0; I < e.value.count; I++)
4486
4486
  if (I === 0)
4487
4487
  r.value[I] = r.value[0];
4488
4488
  else if (I === e.value.count - 1 && h())
4489
4489
  r.value[I] = {
4490
- month: Ce(l.value[1]),
4490
+ month: Se(l.value[1]),
4491
4491
  year: ke(l.value[1])
4492
4492
  };
4493
4493
  else {
4494
4494
  const te = Be(X(), r.value[I - 1]);
4495
- r.value[I] = { month: Ce(te), year: ke(Sr(te, 1)) };
4495
+ r.value[I] = { month: Se(te), year: ke(Cr(te, 1)) };
4496
4496
  }
4497
- }, $ = (I) => {
4498
- if (!I) return A();
4497
+ }, C = (I) => {
4498
+ if (!I) return M();
4499
4499
  const te = Be(X(), r.value[I]);
4500
- return r.value[0].year = ke(Ao(te, e.value.count - 1)), A();
4500
+ return r.value[0].year = ke(Ao(te, e.value.count - 1)), M();
4501
4501
  }, g = (I, te) => {
4502
4502
  const ce = Ji(te, I);
4503
4503
  return t.value.showLastInRange && ce > 1 ? te : I;
4504
4504
  }, x = (I) => o.focusStartDate || e.value.solo ? I[0] : I[1] ? g(I[0], I[1]) : I[0], b = () => {
4505
4505
  if (l.value) {
4506
4506
  const I = Array.isArray(l.value) ? x(l.value) : l.value;
4507
- r.value[0] = { month: Ce(I), year: ke(I) };
4507
+ r.value[0] = { month: Se(I), year: ke(I) };
4508
4508
  }
4509
4509
  }, D = () => {
4510
- b(), e.value.count && A();
4510
+ b(), e.value.count && M();
4511
4511
  };
4512
4512
  gt(l, (I, te) => {
4513
4513
  o.isTextInputDate && JSON.stringify(I ?? {}) !== JSON.stringify(te ?? {}) && D();
@@ -4515,7 +4515,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4515
4515
  D();
4516
4516
  });
4517
4517
  const F = (I, te) => {
4518
- r.value[te].year = I, d("update-month-year", { instance: te, year: I, month: r.value[te].month }), e.value.count && !e.value.solo && $(te);
4518
+ r.value[te].year = I, d("update-month-year", { instance: te, year: I, month: r.value[te].month }), e.value.count && !e.value.solo && C(te);
4519
4519
  }, E = j(() => (I) => Ia(m.value, (te) => {
4520
4520
  var ce;
4521
4521
  const be = u.value(I) === te.value, P = Ga(
@@ -4557,7 +4557,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4557
4557
  defaultedMultiDates: m
4558
4558
  } = je(e), c = () => {
4559
4559
  e.isTextInputDate && D(ke(X(e.startDate)), 0);
4560
- }, { modelValue: k, year: h, month: A, calendars: $ } = rn(e, t, c), g = j(() => Co(e.formatLocale, e.locale, e.monthNameFormat)), x = Q(null), { checkMinMaxRange: b } = ca(e), {
4560
+ }, { modelValue: k, year: h, month: M, calendars: C } = rn(e, t, c), g = j(() => So(e.formatLocale, e.locale, e.monthNameFormat)), x = Q(null), { checkMinMaxRange: b } = ca(e), {
4561
4561
  selectYear: D,
4562
4562
  groupedYears: F,
4563
4563
  showYearPicker: E,
@@ -4570,10 +4570,10 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4570
4570
  multiCalendars: a,
4571
4571
  range: o,
4572
4572
  highlight: s,
4573
- calendars: $,
4573
+ calendars: C,
4574
4574
  year: h,
4575
4575
  propDates: u,
4576
- month: A,
4576
+ month: M,
4577
4577
  filters: d,
4578
4578
  props: e,
4579
4579
  emit: t
@@ -4581,31 +4581,31 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4581
4581
  nt(() => {
4582
4582
  e.startDate && (k.value && e.focusStartDate || !k.value) && D(ke(X(e.startDate)), 0);
4583
4583
  });
4584
- const te = (R) => R ? { month: Ce(R), year: ke(R) } : { month: null, year: null }, ce = () => k.value ? Array.isArray(k.value) ? k.value.map((R) => te(R)) : te(k.value) : te(), be = (R, V) => {
4585
- const G = $.value[R], i = ce();
4586
- return Array.isArray(i) ? i.some((S) => S.year === (G == null ? void 0 : G.year) && S.month === V) : (G == null ? void 0 : G.year) === i.year && V === i.month;
4584
+ const te = (R) => R ? { month: Se(R), year: ke(R) } : { month: null, year: null }, ce = () => k.value ? Array.isArray(k.value) ? k.value.map((R) => te(R)) : te(k.value) : te(), be = (R, V) => {
4585
+ const G = C.value[R], i = ce();
4586
+ return Array.isArray(i) ? i.some(($) => $.year === (G == null ? void 0 : G.year) && $.month === V) : (G == null ? void 0 : G.year) === i.year && V === i.month;
4587
4587
  }, P = (R, V, G) => {
4588
- var i, S;
4588
+ var i, $;
4589
4589
  const se = ce();
4590
- return Array.isArray(se) ? h.value(V) === ((i = se[G]) == null ? void 0 : i.year) && R === ((S = se[G]) == null ? void 0 : S.month) : !1;
4590
+ return Array.isArray(se) ? h.value(V) === ((i = se[G]) == null ? void 0 : i.year) && R === (($ = se[G]) == null ? void 0 : $.month) : !1;
4591
4591
  }, Y = (R, V) => {
4592
4592
  if (o.value.enabled) {
4593
4593
  const G = ce();
4594
4594
  if (Array.isArray(k.value) && Array.isArray(G)) {
4595
- const i = P(R, V, 0) || P(R, V, 1), S = Vt(Mt(X()), R, h.value(V));
4596
- return Xa(k.value, x.value, S) && !i;
4595
+ const i = P(R, V, 0) || P(R, V, 1), $ = Vt(Mt(X()), R, h.value(V));
4596
+ return Xa(k.value, x.value, $) && !i;
4597
4597
  }
4598
4598
  return !1;
4599
4599
  }
4600
4600
  return !1;
4601
- }, M = j(() => (R) => Ia(g.value, (V) => {
4601
+ }, T = j(() => (R) => Ia(g.value, (V) => {
4602
4602
  var G;
4603
- const i = be(R, V.value), S = Ga(
4603
+ const i = be(R, V.value), $ = Ga(
4604
4604
  V.value,
4605
4605
  Eo(h.value(R), u.value.minDate),
4606
4606
  No(h.value(R), u.value.maxDate)
4607
4607
  ) || vc(u.value.disabledDates, h.value(R), V.value) || ((G = d.value.months) == null ? void 0 : G.includes(V.value)) || !pc(u.value.allowedDates, h.value(R), V.value), se = Y(V.value, R), Re = Ho(s.value, V.value, h.value(R));
4608
- return { active: i, disabled: S, isBetween: se, highlighted: Re };
4608
+ return { active: i, disabled: $, isBetween: se, highlighted: Re };
4609
4609
  })), q = (R, V) => Vt(Mt(X()), R, h.value(V)), ae = (R, V) => {
4610
4610
  const G = k.value ? k.value : Mt(/* @__PURE__ */ new Date());
4611
4611
  k.value = Vt(G, R, h.value(V)), t("auto-apply"), t("update-flow-step");
@@ -4616,18 +4616,18 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4616
4616
  });
4617
4617
  }, ne = (R, V) => {
4618
4618
  qr(q(R, V), k, m.value.limit), t("auto-apply", !0);
4619
- }, L = (R, V) => ($.value[V].month = R, _(V, $.value[V].year, R), m.value.enabled ? ne(R, V) : o.value.enabled ? H(R, V) : ae(R, V)), me = (R, V) => {
4619
+ }, L = (R, V) => (C.value[V].month = R, _(V, C.value[V].year, R), m.value.enabled ? ne(R, V) : o.value.enabled ? H(R, V) : ae(R, V)), me = (R, V) => {
4620
4620
  D(R, V), _(V, R, null);
4621
4621
  }, _ = (R, V, G) => {
4622
4622
  let i = G;
4623
4623
  if (!i && i !== 0) {
4624
- const S = ce();
4625
- i = Array.isArray(S) ? S[R].month : S.month;
4624
+ const $ = ce();
4625
+ i = Array.isArray($) ? $[R].month : $.month;
4626
4626
  }
4627
4627
  t("update-month-year", { instance: R, year: V, month: i });
4628
4628
  };
4629
4629
  return {
4630
- groupedMonths: M,
4630
+ groupedMonths: T,
4631
4631
  groupedYears: F,
4632
4632
  year: h,
4633
4633
  isDisabled: I,
@@ -4661,7 +4661,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4661
4661
  },
4662
4662
  __name: "MonthPicker",
4663
4663
  props: {
4664
- ...St
4664
+ ...Ct
4665
4665
  },
4666
4666
  emits: [
4667
4667
  "update:internal-model-value",
@@ -4690,8 +4690,8 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4690
4690
  defaultedConfig: c,
4691
4691
  showYearPicker: k,
4692
4692
  modelValue: h,
4693
- presetDate: A,
4694
- setHoverDate: $,
4693
+ presetDate: M,
4694
+ setHoverDate: C,
4695
4695
  selectMonth: g,
4696
4696
  selectYear: x,
4697
4697
  toggleYearPicker: b,
@@ -4706,7 +4706,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4706
4706
  selectMonth: g,
4707
4707
  selectYear: x,
4708
4708
  handleYear: F
4709
- }), presetDate: A, toggleYearPicker: (N) => b(0, N) }), (N, W) => (w(), De(Dn, {
4709
+ }), presetDate: M, toggleYearPicker: (N) => b(0, N) }), (N, W) => (w(), De(Dn, {
4710
4710
  "multi-calendars": v(m).count,
4711
4711
  collapse: N.collapse,
4712
4712
  stretch: "",
@@ -4736,7 +4736,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4736
4736
  "use-relative": "",
4737
4737
  type: "month",
4738
4738
  onSelected: (I) => v(g)(I, y),
4739
- onHoverValue: (I) => v($)(I, y)
4739
+ onHoverValue: (I) => v(C)(I, y)
4740
4740
  }, ft({
4741
4741
  header: Pe(() => [
4742
4742
  Ze(Wo, ot(N.$props, {
@@ -4781,16 +4781,16 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4781
4781
  nt(() => {
4782
4782
  e.startDate && (n.value && e.focusStartDate || !n.value) && (d.value = ke(X(e.startDate)));
4783
4783
  });
4784
- const m = (g) => Array.isArray(n.value) ? n.value.some((x) => ke(x) === g) : n.value ? ke(n.value) === g : !1, c = (g) => u.value.enabled && Array.isArray(n.value) ? Xa(n.value, r.value, $(g)) : !1, k = (g) => p.value.allowedDates instanceof Map ? p.value.allowedDates.size ? p.value.allowedDates.has(`${g}`) : !1 : !0, h = (g) => p.value.disabledDates instanceof Map ? p.value.disabledDates.size ? p.value.disabledDates.has(`${g}`) : !1 : !0, A = j(() => Ia(Vr(e.yearRange, e.locale, e.reverseYears), (g) => {
4784
+ const m = (g) => Array.isArray(n.value) ? n.value.some((x) => ke(x) === g) : n.value ? ke(n.value) === g : !1, c = (g) => u.value.enabled && Array.isArray(n.value) ? Xa(n.value, r.value, C(g)) : !1, k = (g) => p.value.allowedDates instanceof Map ? p.value.allowedDates.size ? p.value.allowedDates.has(`${g}`) : !1 : !0, h = (g) => p.value.disabledDates instanceof Map ? p.value.disabledDates.size ? p.value.disabledDates.has(`${g}`) : !1 : !0, M = j(() => Ia(Vr(e.yearRange, e.locale, e.reverseYears), (g) => {
4785
4785
  const x = m(g.value), b = Ga(
4786
4786
  g.value,
4787
4787
  Ra(p.value.minDate),
4788
4788
  Ra(p.value.maxDate)
4789
4789
  ) || s.value.years.includes(g.value) || !k(g.value) || h(g.value), D = c(g.value) && !x, F = Ur(l.value, g.value);
4790
4790
  return { active: x, disabled: b, isBetween: D, highlighted: F };
4791
- })), $ = (g) => Nt(Mt(Qa(/* @__PURE__ */ new Date())), g);
4791
+ })), C = (g) => Nt(Mt(Qa(/* @__PURE__ */ new Date())), g);
4792
4792
  return {
4793
- groupedYears: A,
4793
+ groupedYears: M,
4794
4794
  modelValue: n,
4795
4795
  focusYear: d,
4796
4796
  setHoverValue: (g) => {
@@ -4800,9 +4800,9 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4800
4800
  var x;
4801
4801
  if (t("update-month-year", { instance: 0, year: g }), o.value.enabled)
4802
4802
  return n.value ? Array.isArray(n.value) && (((x = n.value) == null ? void 0 : x.map((b) => ke(b))).includes(g) ? n.value = n.value.filter((b) => ke(b) !== g) : n.value.push(Nt(ut(X()), g))) : n.value = [Nt(ut(Qa(X())), g)], t("auto-apply", !0);
4803
- u.value.enabled ? (n.value = Qr(n, $(g), t), _t().then(() => {
4803
+ u.value.enabled ? (n.value = Qr(n, C(g), t), _t().then(() => {
4804
4804
  Mn(n.value, t, e.autoApply, e.modelAuto);
4805
- })) : (n.value = $(g), t("auto-apply"));
4805
+ })) : (n.value = C(g), t("auto-apply"));
4806
4806
  }
4807
4807
  };
4808
4808
  }, Qc = /* @__PURE__ */ We({
@@ -4811,7 +4811,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4811
4811
  },
4812
4812
  __name: "YearPicker",
4813
4813
  props: {
4814
- ...St
4814
+ ...Ct
4815
4815
  },
4816
4816
  emits: [
4817
4817
  "update:internal-model-value",
@@ -4826,7 +4826,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4826
4826
  return t({ getSidebarProps: () => ({
4827
4827
  modelValue: o,
4828
4828
  selectYear: u
4829
- }) }), (m, c) => (w(), C("div", null, [
4829
+ }) }), (m, c) => (w(), S("div", null, [
4830
4830
  m.$slots["top-extra"] ? de(m.$slots, "top-extra", {
4831
4831
  key: 0,
4832
4832
  value: m.internalModelValue
@@ -4876,7 +4876,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4876
4876
  order: { type: Number, default: 0 },
4877
4877
  disabledTimesConfig: { type: Function, default: null },
4878
4878
  validateTime: { type: Function, default: () => !1 },
4879
- ...St
4879
+ ...Ct
4880
4880
  },
4881
4881
  emits: [
4882
4882
  "set-hours",
@@ -4898,11 +4898,11 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4898
4898
  defaultedConfig: d,
4899
4899
  defaultedRange: m,
4900
4900
  defaultedMultiCalendars: c
4901
- } = je(r), { transitionName: k, showTransition: h } = nn(u), A = Ja({
4901
+ } = je(r), { transitionName: k, showTransition: h } = nn(u), M = Ja({
4902
4902
  hours: !1,
4903
4903
  minutes: !1,
4904
4904
  seconds: !1
4905
- }), $ = Q("AM"), g = Q(null), x = Q([]), b = Q(), D = Q(!1);
4905
+ }), C = Q("AM"), g = Q(null), x = Q([]), b = Q(), D = Q(!1);
4906
4906
  nt(() => {
4907
4907
  n("mounted");
4908
4908
  });
@@ -4931,14 +4931,14 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4931
4931
  })
4932
4932
  ), Y = j(
4933
4933
  () => r.timePickerInline && m.value.enabled && !c.value.count
4934
- ), M = j(() => {
4934
+ ), T = j(() => {
4935
4935
  const f = [{ type: "hours" }];
4936
4936
  return r.enableMinutes && f.push({ type: "", separator: !0 }, {
4937
4937
  type: "minutes"
4938
4938
  }), r.enableSeconds && f.push({ type: "", separator: !0 }, {
4939
4939
  type: "seconds"
4940
4940
  }), f;
4941
- }), q = j(() => M.value.filter((f) => !f.separator)), ae = j(() => (f) => {
4941
+ }), q = j(() => T.value.filter((f) => !f.separator)), ae = j(() => (f) => {
4942
4942
  if (f === "hours") {
4943
4943
  const ee = Re(+r.hours);
4944
4944
  return { text: ee < 10 ? `0${ee}` : `${ee}`, value: ee };
@@ -4949,11 +4949,11 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4949
4949
  if (!r.disabledTimesConfig) return !1;
4950
4950
  const oe = r.disabledTimesConfig(r.order, f === "hours" ? ee : void 0);
4951
4951
  return oe[f] ? !!((le = oe[f]) != null && le.includes(ee)) : !0;
4952
- }, ne = (f, ee) => ee !== "hours" || $.value === "AM" ? f : f + 12, L = (f) => {
4952
+ }, ne = (f, ee) => ee !== "hours" || C.value === "AM" ? f : f + 12, L = (f) => {
4953
4953
  const ee = r.is24 ? 24 : 12, le = f === "hours" ? ee : 60, oe = +r[`${f}GridIncrement`], Oe = f === "hours" && !r.is24 ? oe : 0, Te = [];
4954
4954
  for (let Ye = Oe; Ye < le; Ye += oe)
4955
4955
  Te.push({ value: r.is24 ? Ye : ne(Ye, f), text: Ye < 10 ? `0${Ye}` : `${Ye}` });
4956
- return f === "hours" && !r.is24 && Te.unshift({ value: $.value === "PM" ? 12 : 0, text: "12" }), Ia(Te, (Ye) => ({ active: !1, disabled: p.value.times[f].includes(Ye.value) || !R(Ye.value, f) || H(f, Ye.value) || W(f, Ye.value) }));
4956
+ return f === "hours" && !r.is24 && Te.unshift({ value: C.value === "PM" ? 12 : 0, text: "12" }), Ia(Te, (Ye) => ({ active: !1, disabled: p.value.times[f].includes(Ye.value) || !R(Ye.value, f) || H(f, Ye.value) || W(f, Ye.value) }));
4957
4957
  }, me = (f) => f >= 0 ? f : 59, _ = (f) => f >= 0 ? f : 23, R = (f, ee) => {
4958
4958
  const le = r.minTime ? F(Vn(r.minTime)) : null, oe = r.maxTime ? F(Vn(r.maxTime)) : null, Oe = F(
4959
4959
  Vn(
@@ -4962,10 +4962,10 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4962
4962
  ee === "minutes" || ee === "seconds" ? me(f) : _(f)
4963
4963
  )
4964
4964
  );
4965
- return le && oe ? (Sa(Oe, oe) || Da(Oe, oe)) && (ya(Oe, le) || Da(Oe, le)) : le ? ya(Oe, le) || Da(Oe, le) : oe ? Sa(Oe, oe) || Da(Oe, oe) : !0;
4965
+ return le && oe ? (Ca(Oe, oe) || Da(Oe, oe)) && (ya(Oe, le) || Da(Oe, le)) : le ? ya(Oe, le) || Da(Oe, le) : oe ? Ca(Oe, oe) || Da(Oe, oe) : !0;
4966
4966
  }, V = (f) => r[`no${f[0].toUpperCase() + f.slice(1)}Overlay`], G = (f) => {
4967
- V(f) || (A[f] = !A[f], A[f] ? (D.value = !0, n("overlay-opened", f)) : (D.value = !1, n("overlay-closed", f)));
4968
- }, i = (f) => f === "hours" ? jt : f === "minutes" ? ra : Ca, S = () => {
4967
+ V(f) || (M[f] = !M[f], M[f] ? (D.value = !0, n("overlay-opened", f)) : (D.value = !1, n("overlay-closed", f)));
4968
+ }, i = (f) => f === "hours" ? jt : f === "minutes" ? ra : Sa, $ = () => {
4969
4969
  b.value && clearTimeout(b.value);
4970
4970
  }, se = (f, ee = !0, le) => {
4971
4971
  const oe = ee ? ce : be, Oe = ee ? +r[`${f}Increment`] : -+r[`${f}Increment`];
@@ -4975,10 +4975,10 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4975
4975
  ), !(le != null && le.keyboard) && d.value.timeArrowHoldThreshold && (b.value = setTimeout(() => {
4976
4976
  se(f, ee);
4977
4977
  }, d.value.timeArrowHoldThreshold));
4978
- }, Re = (f) => r.is24 ? f : (f >= 12 ? $.value = "PM" : $.value = "AM", tc(f)), B = () => {
4979
- $.value === "PM" ? ($.value = "AM", n("update:hours", r.hours - 12)) : ($.value = "PM", n("update:hours", r.hours + 12)), n("am-pm-change", $.value);
4978
+ }, Re = (f) => r.is24 ? f : (f >= 12 ? C.value = "PM" : C.value = "AM", tc(f)), B = () => {
4979
+ C.value === "PM" ? (C.value = "AM", n("update:hours", r.hours - 12)) : (C.value = "PM", n("update:hours", r.hours + 12)), n("am-pm-change", C.value);
4980
4980
  }, Me = (f) => {
4981
- A[f] = !0;
4981
+ M[f] = !0;
4982
4982
  }, K = (f, ee, le) => {
4983
4983
  if (f && r.arrowNavigation) {
4984
4984
  Array.isArray(x.value[ee]) ? x.value[ee][le] = f : x.value[ee] = [f];
@@ -4991,23 +4991,23 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
4991
4991
  }, re = (f, ee) => (G(f), n(`update:${f}`, ee));
4992
4992
  return t({ openChildCmp: Me }), (f, ee) => {
4993
4993
  var le;
4994
- return f.disabled ? z("", !0) : (w(), C("div", Gc, [
4995
- (w(!0), C(xe, null, Fe(M.value, (oe, Oe) => {
4994
+ return f.disabled ? z("", !0) : (w(), S("div", Gc, [
4995
+ (w(!0), S(xe, null, Fe(T.value, (oe, Oe) => {
4996
4996
  var Te, Ye, Ge;
4997
- return w(), C("div", {
4997
+ return w(), S("div", {
4998
4998
  key: Oe,
4999
4999
  class: ge(P.value),
5000
5000
  "data-compact": Y.value && !f.enableSeconds,
5001
5001
  "data-collapsed": Y.value && f.enableSeconds
5002
5002
  }, [
5003
- oe.separator ? (w(), C(xe, { key: 0 }, [
5004
- D.value ? z("", !0) : (w(), C(xe, { key: 0 }, [
5003
+ oe.separator ? (w(), S(xe, { key: 0 }, [
5004
+ D.value ? z("", !0) : (w(), S(xe, { key: 0 }, [
5005
5005
  Wt(":")
5006
5006
  ], 64))
5007
- ], 64)) : (w(), C(xe, { key: 1 }, [
5007
+ ], 64)) : (w(), S(xe, { key: 1 }, [
5008
5008
  ve("button", {
5009
5009
  ref_for: !0,
5010
- ref: (T) => K(T, Oe, 0),
5010
+ ref: (A) => K(A, Oe, 0),
5011
5011
  type: "button",
5012
5012
  class: ge({
5013
5013
  dp__btn: !0,
@@ -5020,24 +5020,24 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
5020
5020
  "data-test-id": `${oe.type}-time-inc-btn-${r.order}`,
5021
5021
  "aria-label": (Te = v(s)) == null ? void 0 : Te.incrementValue(oe.type),
5022
5022
  tabindex: "0",
5023
- onKeydown: (T) => v(pt)(T, () => se(oe.type, !0, { keyboard: !0 }), !0),
5024
- onClick: (T) => v(d).timeArrowHoldThreshold ? void 0 : se(oe.type, !0),
5025
- onMousedown: (T) => v(d).timeArrowHoldThreshold ? se(oe.type, !0) : void 0,
5026
- onMouseup: S
5023
+ onKeydown: (A) => v(pt)(A, () => se(oe.type, !0, { keyboard: !0 }), !0),
5024
+ onClick: (A) => v(d).timeArrowHoldThreshold ? void 0 : se(oe.type, !0),
5025
+ onMousedown: (A) => v(d).timeArrowHoldThreshold ? se(oe.type, !0) : void 0,
5026
+ onMouseup: $
5027
5027
  }, [
5028
- r.timePickerInline ? (w(), C(xe, { key: 1 }, [
5029
- f.$slots["tp-inline-arrow-up"] ? de(f.$slots, "tp-inline-arrow-up", { key: 0 }) : (w(), C(xe, { key: 1 }, [
5028
+ r.timePickerInline ? (w(), S(xe, { key: 1 }, [
5029
+ f.$slots["tp-inline-arrow-up"] ? de(f.$slots, "tp-inline-arrow-up", { key: 0 }) : (w(), S(xe, { key: 1 }, [
5030
5030
  ee[2] || (ee[2] = ve("span", { class: "dp__tp_inline_btn_bar dp__tp_btn_in_l" }, null, -1)),
5031
5031
  ee[3] || (ee[3] = ve("span", { class: "dp__tp_inline_btn_bar dp__tp_btn_in_r" }, null, -1))
5032
5032
  ], 64))
5033
- ], 64)) : (w(), C(xe, { key: 0 }, [
5033
+ ], 64)) : (w(), S(xe, { key: 0 }, [
5034
5034
  f.$slots["arrow-up"] ? de(f.$slots, "arrow-up", { key: 0 }) : z("", !0),
5035
5035
  f.$slots["arrow-up"] ? z("", !0) : (w(), De(v(Br), { key: 1 }))
5036
5036
  ], 64))
5037
5037
  ], 42, Kc),
5038
5038
  ve("button", {
5039
5039
  ref_for: !0,
5040
- ref: (T) => K(T, Oe, 1),
5040
+ ref: (A) => K(A, Oe, 1),
5041
5041
  type: "button",
5042
5042
  "aria-label": `${ae.value(oe.type).text}-${(Ye = v(s)) == null ? void 0 : Ye.openTpOverlay(oe.type)}`,
5043
5043
  class: ge({
@@ -5051,21 +5051,21 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
5051
5051
  disabled: V(oe.type),
5052
5052
  tabindex: "0",
5053
5053
  "data-test-id": `${oe.type}-toggle-overlay-btn-${r.order}`,
5054
- onKeydown: (T) => v(pt)(T, () => G(oe.type), !0),
5055
- onClick: (T) => G(oe.type)
5054
+ onKeydown: (A) => v(pt)(A, () => G(oe.type), !0),
5055
+ onClick: (A) => G(oe.type)
5056
5056
  }, [
5057
5057
  f.$slots[oe.type] ? de(f.$slots, oe.type, {
5058
5058
  key: 0,
5059
5059
  text: ae.value(oe.type).text,
5060
5060
  value: ae.value(oe.type).value
5061
5061
  }) : z("", !0),
5062
- f.$slots[oe.type] ? z("", !0) : (w(), C(xe, { key: 1 }, [
5062
+ f.$slots[oe.type] ? z("", !0) : (w(), S(xe, { key: 1 }, [
5063
5063
  Wt(Ne(ae.value(oe.type).text), 1)
5064
5064
  ], 64))
5065
5065
  ], 42, Zc),
5066
5066
  ve("button", {
5067
5067
  ref_for: !0,
5068
- ref: (T) => K(T, Oe, 2),
5068
+ ref: (A) => K(A, Oe, 2),
5069
5069
  type: "button",
5070
5070
  class: ge({
5071
5071
  dp__btn: !0,
@@ -5078,17 +5078,17 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
5078
5078
  "data-test-id": `${oe.type}-time-dec-btn-${r.order}`,
5079
5079
  "aria-label": (Ge = v(s)) == null ? void 0 : Ge.decrementValue(oe.type),
5080
5080
  tabindex: "0",
5081
- onKeydown: (T) => v(pt)(T, () => se(oe.type, !1, { keyboard: !0 }), !0),
5082
- onClick: (T) => v(d).timeArrowHoldThreshold ? void 0 : se(oe.type, !1),
5083
- onMousedown: (T) => v(d).timeArrowHoldThreshold ? se(oe.type, !1) : void 0,
5084
- onMouseup: S
5081
+ onKeydown: (A) => v(pt)(A, () => se(oe.type, !1, { keyboard: !0 }), !0),
5082
+ onClick: (A) => v(d).timeArrowHoldThreshold ? void 0 : se(oe.type, !1),
5083
+ onMousedown: (A) => v(d).timeArrowHoldThreshold ? se(oe.type, !1) : void 0,
5084
+ onMouseup: $
5085
5085
  }, [
5086
- r.timePickerInline ? (w(), C(xe, { key: 1 }, [
5087
- f.$slots["tp-inline-arrow-down"] ? de(f.$slots, "tp-inline-arrow-down", { key: 0 }) : (w(), C(xe, { key: 1 }, [
5086
+ r.timePickerInline ? (w(), S(xe, { key: 1 }, [
5087
+ f.$slots["tp-inline-arrow-down"] ? de(f.$slots, "tp-inline-arrow-down", { key: 0 }) : (w(), S(xe, { key: 1 }, [
5088
5088
  ee[4] || (ee[4] = ve("span", { class: "dp__tp_inline_btn_bar dp__tp_btn_in_l" }, null, -1)),
5089
5089
  ee[5] || (ee[5] = ve("span", { class: "dp__tp_inline_btn_bar dp__tp_btn_in_r" }, null, -1))
5090
5090
  ], 64))
5091
- ], 64)) : (w(), C(xe, { key: 0 }, [
5091
+ ], 64)) : (w(), S(xe, { key: 0 }, [
5092
5092
  f.$slots["arrow-down"] ? de(f.$slots, "arrow-down", { key: 0 }) : z("", !0),
5093
5093
  f.$slots["arrow-down"] ? z("", !0) : (w(), De(v(zr), { key: 1 }))
5094
5094
  ], 64))
@@ -5096,13 +5096,13 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
5096
5096
  ], 64))
5097
5097
  ], 10, Xc);
5098
5098
  }), 128)),
5099
- f.is24 ? z("", !0) : (w(), C("div", ed, [
5099
+ f.is24 ? z("", !0) : (w(), S("div", ed, [
5100
5100
  f.$slots["am-pm-button"] ? de(f.$slots, "am-pm-button", {
5101
5101
  key: 0,
5102
5102
  toggle: B,
5103
- value: $.value
5103
+ value: C.value
5104
5104
  }) : z("", !0),
5105
- f.$slots["am-pm-button"] ? z("", !0) : (w(), C("button", {
5105
+ f.$slots["am-pm-button"] ? z("", !0) : (w(), S("button", {
5106
5106
  key: 1,
5107
5107
  ref_key: "amPmButton",
5108
5108
  ref: g,
@@ -5114,17 +5114,17 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
5114
5114
  "data-compact": Y.value,
5115
5115
  onClick: B,
5116
5116
  onKeydown: ee[0] || (ee[0] = (oe) => v(pt)(oe, () => B(), !0))
5117
- }, Ne($.value), 41, td))
5117
+ }, Ne(C.value), 41, td))
5118
5118
  ])),
5119
- (w(!0), C(xe, null, Fe(q.value, (oe, Oe) => (w(), De(na, {
5119
+ (w(!0), S(xe, null, Fe(q.value, (oe, Oe) => (w(), De(na, {
5120
5120
  key: Oe,
5121
- name: v(k)(A[oe.type]),
5121
+ name: v(k)(M[oe.type]),
5122
5122
  css: v(h)
5123
5123
  }, {
5124
5124
  default: Pe(() => {
5125
5125
  var Te, Ye;
5126
5126
  return [
5127
- A[oe.type] ? (w(), De(an, {
5127
+ M[oe.type] ? (w(), De(an, {
5128
5128
  key: 0,
5129
5129
  items: L(oe.type),
5130
5130
  "is-last": f.autoApply && !v(d).keepActionRow,
@@ -5186,7 +5186,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
5186
5186
  type: Function,
5187
5187
  default: () => !1
5188
5188
  },
5189
- ...St
5189
+ ...Ct
5190
5190
  },
5191
5191
  emits: [
5192
5192
  "update:hours",
@@ -5199,11 +5199,11 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
5199
5199
  "am-pm-change"
5200
5200
  ],
5201
5201
  setup(e, { expose: t, emit: a }) {
5202
- const n = a, r = e, { buildMatrix: l, setTimePicker: o } = ua(), s = wa(), { defaultedTransitions: u, defaultedAriaLabels: p, defaultedTextInput: d, defaultedConfig: m, defaultedRange: c } = je(r), { transitionName: k, showTransition: h } = nn(u), { hideNavigationButtons: A } = Tn(), $ = Q(null), g = Q(null), x = Q([]), b = Q(null), D = Q(!1);
5202
+ const n = a, r = e, { buildMatrix: l, setTimePicker: o } = ua(), s = wa(), { defaultedTransitions: u, defaultedAriaLabels: p, defaultedTextInput: d, defaultedConfig: m, defaultedRange: c } = je(r), { transitionName: k, showTransition: h } = nn(u), { hideNavigationButtons: M } = Tn(), C = Q(null), g = Q(null), x = Q([]), b = Q(null), D = Q(!1);
5203
5203
  nt(() => {
5204
- n("mount"), !r.timePicker && r.arrowNavigation ? l([tt($.value)], "time") : o(!0, r.timePicker);
5204
+ n("mount"), !r.timePicker && r.arrowNavigation ? l([tt(C.value)], "time") : o(!0, r.timePicker);
5205
5205
  });
5206
- const F = j(() => c.value.enabled && r.modelAuto ? So(r.internalModelValue) : !0), E = Q(!1), N = (H) => ({
5206
+ const F = j(() => c.value.enabled && r.modelAuto ? Co(r.internalModelValue) : !0), E = Q(!1), N = (H) => ({
5207
5207
  hours: Array.isArray(r.hours) ? r.hours[H] : r.hours,
5208
5208
  minutes: Array.isArray(r.minutes) ? r.minutes[H] : r.minutes,
5209
5209
  seconds: Array.isArray(r.seconds) ? r.seconds[H] : r.seconds
@@ -5229,7 +5229,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
5229
5229
  n("update:minutes", H);
5230
5230
  }, Y = (H) => {
5231
5231
  n("update:seconds", H);
5232
- }, M = () => {
5232
+ }, T = () => {
5233
5233
  if (b.value && !d.value.enabled && !r.noOverlayFocus) {
5234
5234
  const H = $o(b.value);
5235
5235
  H && H.focus({ preventScroll: !0 });
@@ -5241,14 +5241,14 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
5241
5241
  };
5242
5242
  return t({ toggleTimePicker: y }), (H, ne) => {
5243
5243
  var L;
5244
- return w(), C("div", {
5244
+ return w(), S("div", {
5245
5245
  class: "dp--tp-wrap",
5246
5246
  "data-dp-mobile": H.isMobile
5247
5247
  }, [
5248
- !H.timePicker && !H.timePickerInline ? mn((w(), C("button", {
5248
+ !H.timePicker && !H.timePickerInline ? mn((w(), S("button", {
5249
5249
  key: 0,
5250
5250
  ref_key: "openTimePickerBtn",
5251
- ref: $,
5251
+ ref: C,
5252
5252
  type: "button",
5253
5253
  class: ge({ ...I.value, "dp--hidden-el": E.value }),
5254
5254
  "aria-label": (L = v(p)) == null ? void 0 : L.openTimePicker,
@@ -5260,7 +5260,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
5260
5260
  H.$slots["clock-icon"] ? de(H.$slots, "clock-icon", { key: 0 }) : z("", !0),
5261
5261
  H.$slots["clock-icon"] ? z("", !0) : (w(), De(v(Lr), { key: 1 }))
5262
5262
  ], 42, rd)), [
5263
- [vn, !v(A)(H.hideNavigation, "time")]
5263
+ [vn, !v(M)(H.hideNavigation, "time")]
5264
5264
  ]) : z("", !0),
5265
5265
  Ze(na, {
5266
5266
  name: v(k)(E.value),
@@ -5269,7 +5269,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
5269
5269
  default: Pe(() => {
5270
5270
  var me, _;
5271
5271
  return [
5272
- E.value || H.timePicker || H.timePickerInline ? (w(), C("div", {
5272
+ E.value || H.timePicker || H.timePickerInline ? (w(), S("div", {
5273
5273
  key: 0,
5274
5274
  ref_key: "overlayRef",
5275
5275
  ref: b,
@@ -5298,11 +5298,11 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
5298
5298
  setMinutes: P,
5299
5299
  setSeconds: Y
5300
5300
  }) : z("", !0),
5301
- H.$slots["time-picker-overlay"] ? z("", !0) : (w(), C("div", {
5301
+ H.$slots["time-picker-overlay"] ? z("", !0) : (w(), S("div", {
5302
5302
  key: 1,
5303
5303
  class: ge(H.timePickerInline ? "dp__flex" : "dp__overlay_row dp__flex_row")
5304
5304
  }, [
5305
- (w(!0), C(xe, null, Fe(W.value, (R, V) => mn((w(), De(ad, ot({
5305
+ (w(!0), S(xe, null, Fe(W.value, (R, V) => mn((w(), De(ad, ot({
5306
5306
  key: V,
5307
5307
  ref_for: !0
5308
5308
  }, {
@@ -5322,22 +5322,22 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
5322
5322
  "onUpdate:hours": (G) => be(ce(G, V, "hours")),
5323
5323
  "onUpdate:minutes": (G) => P(ce(G, V, "minutes")),
5324
5324
  "onUpdate:seconds": (G) => Y(ce(G, V, "seconds")),
5325
- onMounted: M,
5325
+ onMounted: T,
5326
5326
  onOverlayClosed: q,
5327
5327
  onOverlayOpened: ae,
5328
5328
  onAmPmChange: ne[2] || (ne[2] = (G) => H.$emit("am-pm-change", G))
5329
5329
  }), ft({ _: 2 }, [
5330
5330
  Fe(v(te), (G, i) => ({
5331
5331
  name: G,
5332
- fn: Pe((S) => [
5333
- de(H.$slots, G, ot({ ref_for: !0 }, S))
5332
+ fn: Pe(($) => [
5333
+ de(H.$slots, G, ot({ ref_for: !0 }, $))
5334
5334
  ])
5335
5335
  }))
5336
5336
  ]), 1040, ["validate-time", "onUpdate:hours", "onUpdate:minutes", "onUpdate:seconds"])), [
5337
5337
  [vn, V === 0 ? !0 : F.value]
5338
5338
  ])), 128))
5339
5339
  ], 2)),
5340
- !H.timePicker && !H.timePickerInline ? mn((w(), C("button", {
5340
+ !H.timePicker && !H.timePickerInline ? mn((w(), S("button", {
5341
5341
  key: 2,
5342
5342
  ref_key: "closeTimePickerBtn",
5343
5343
  ref: g,
@@ -5351,7 +5351,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
5351
5351
  H.$slots["calendar-icon"] ? de(H.$slots, "calendar-icon", { key: 0 }) : z("", !0),
5352
5352
  H.$slots["calendar-icon"] ? z("", !0) : (w(), De(v(Ea), { key: 1 }))
5353
5353
  ], 42, od)), [
5354
- [vn, !v(A)(H.hideNavigation, "time")]
5354
+ [vn, !v(M)(H.hideNavigation, "time")]
5355
5355
  ]) : z("", !0)
5356
5356
  ], 2)
5357
5357
  ], 14, ld)) : z("", !0)
@@ -5376,7 +5376,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
5376
5376
  F.minutes[W],
5377
5377
  F.seconds[W]
5378
5378
  ) : null, N = (W) => Mo(a.value[W], 0);
5379
- return !(Se(E(0), E(1)) && (ya(E(0), N(1)) || Sa(E(1), N(0))));
5379
+ return !(Ce(E(0), E(1)) && (ya(E(0), N(1)) || Ca(E(1), N(0))));
5380
5380
  }
5381
5381
  return !0;
5382
5382
  }, m = (b, D) => {
@@ -5387,9 +5387,9 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
5387
5387
  m("minutes", b);
5388
5388
  }, h = (b) => {
5389
5389
  m("seconds", b);
5390
- }, A = (b, D, F, E) => {
5390
+ }, M = (b, D, F, E) => {
5391
5391
  D && c(b), !D && !F && k(b), F && h(b), a.value && E(a.value);
5392
- }, $ = (b) => {
5392
+ }, C = (b) => {
5393
5393
  if (b) {
5394
5394
  const D = Array.isArray(b), F = D ? [+b[0].hours, +b[1].hours] : +b.hours, E = D ? [+b[0].minutes, +b[1].minutes] : +b.minutes, N = D ? [+b[0].seconds, +b[1].seconds] : +b.seconds;
5395
5395
  u("hours", F), u("minutes", E), e.enableSeconds && u("seconds", N);
@@ -5418,9 +5418,9 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
5418
5418
  updateMinutes: k,
5419
5419
  updateSeconds: h,
5420
5420
  getSetDateTime: s,
5421
- updateTimeValues: A,
5421
+ updateTimeValues: M,
5422
5422
  getSecondsValue: o,
5423
- assignStartTime: $,
5423
+ assignStartTime: C,
5424
5424
  validateTime: d,
5425
5425
  disabledTimesConfig: x
5426
5426
  };
@@ -5431,28 +5431,28 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
5431
5431
  function h() {
5432
5432
  t("update-flow-step");
5433
5433
  }
5434
- const A = (E) => {
5434
+ const M = (E) => {
5435
5435
  const { hours: N, minutes: W, seconds: y } = E;
5436
5436
  return { hours: +N, minutes: +W, seconds: y ? +y : 0 };
5437
- }, $ = () => {
5437
+ }, C = () => {
5438
5438
  if (e.startTime) {
5439
5439
  if (Array.isArray(e.startTime)) {
5440
- const N = A(e.startTime[0]), W = A(e.startTime[1]);
5440
+ const N = M(e.startTime[0]), W = M(e.startTime[1]);
5441
5441
  return [Be(X(), N), Be(X(), W)];
5442
5442
  }
5443
- const E = A(e.startTime);
5443
+ const E = M(e.startTime);
5444
5444
  return Be(X(), E);
5445
5445
  }
5446
5446
  return o.value.enabled ? [null, null] : null;
5447
5447
  }, g = () => {
5448
5448
  if (o.value.enabled) {
5449
- const [E, N] = $();
5449
+ const [E, N] = C();
5450
5450
  n.value = [
5451
5451
  bt(p(E, 0), s.value.timezone),
5452
5452
  bt(p(N, 1), s.value.timezone)
5453
5453
  ];
5454
5454
  } else
5455
- n.value = bt(p($()), s.value.timezone);
5455
+ n.value = bt(p(C()), s.value.timezone);
5456
5456
  }, x = (E) => Array.isArray(E) ? [ha(X(E[0])), ha(X(E[1]))] : [ha(E ?? X())], b = (E, N, W) => {
5457
5457
  d("hours", E), d("minutes", N), d("seconds", e.enableSeconds ? W : 0);
5458
5458
  }, D = () => {
@@ -5485,7 +5485,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
5485
5485
  },
5486
5486
  __name: "TimePickerSolo",
5487
5487
  props: {
5488
- ...St
5488
+ ...Ct
5489
5489
  },
5490
5490
  emits: [
5491
5491
  "update:internal-model-value",
@@ -5504,9 +5504,9 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
5504
5504
  modelValue: p,
5505
5505
  time: u,
5506
5506
  updateTime: m
5507
- }), toggleTimePicker: (k, h = !1, A = "") => {
5508
- var $;
5509
- ($ = s.value) == null || $.toggleTimePicker(k, h, A);
5507
+ }), toggleTimePicker: (k, h = !1, M = "") => {
5508
+ var C;
5509
+ (C = s.value) == null || C.toggleTimePicker(k, h, M);
5510
5510
  } }), (k, h) => (w(), De(Dn, {
5511
5511
  "multi-calendars": 0,
5512
5512
  stretch: "",
@@ -5523,18 +5523,18 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
5523
5523
  "internal-model-value": k.internalModelValue,
5524
5524
  "disabled-times-config": v(d),
5525
5525
  "validate-time": v(c),
5526
- "onUpdate:hours": h[0] || (h[0] = (A) => v(m)(A)),
5527
- "onUpdate:minutes": h[1] || (h[1] = (A) => v(m)(A, !1)),
5528
- "onUpdate:seconds": h[2] || (h[2] = (A) => v(m)(A, !1, !0)),
5529
- onAmPmChange: h[3] || (h[3] = (A) => k.$emit("am-pm-change", A)),
5530
- onResetFlow: h[4] || (h[4] = (A) => k.$emit("reset-flow")),
5531
- onOverlayClosed: h[5] || (h[5] = (A) => k.$emit("overlay-toggle", { open: !1, overlay: A })),
5532
- onOverlayOpened: h[6] || (h[6] = (A) => k.$emit("overlay-toggle", { open: !0, overlay: A }))
5526
+ "onUpdate:hours": h[0] || (h[0] = (M) => v(m)(M)),
5527
+ "onUpdate:minutes": h[1] || (h[1] = (M) => v(m)(M, !1)),
5528
+ "onUpdate:seconds": h[2] || (h[2] = (M) => v(m)(M, !1, !0)),
5529
+ onAmPmChange: h[3] || (h[3] = (M) => k.$emit("am-pm-change", M)),
5530
+ onResetFlow: h[4] || (h[4] = (M) => k.$emit("reset-flow")),
5531
+ onOverlayClosed: h[5] || (h[5] = (M) => k.$emit("overlay-toggle", { open: !1, overlay: M })),
5532
+ onOverlayOpened: h[6] || (h[6] = (M) => k.$emit("overlay-toggle", { open: !0, overlay: M }))
5533
5533
  }), ft({ _: 2 }, [
5534
- Fe(v(o), (A, $) => ({
5535
- name: A,
5534
+ Fe(v(o), (M, C) => ({
5535
+ name: M,
5536
5536
  fn: Pe((g) => [
5537
- de(k.$slots, A, it(yt(g)))
5537
+ de(k.$slots, M, it(yt(g)))
5538
5538
  ])
5539
5539
  }))
5540
5540
  ]), 1040, ["hours", "minutes", "seconds", "internal-model-value", "disabled-times-config", "validate-time"])
@@ -5556,7 +5556,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
5556
5556
  instance: { type: Number, default: 0 },
5557
5557
  years: { type: Array, default: () => [] },
5558
5558
  months: { type: Array, default: () => [] },
5559
- ...St
5559
+ ...Ct
5560
5560
  },
5561
5561
  emits: ["update-month-year", "mount", "reset-flow", "overlay-closed", "overlay-opened"],
5562
5562
  setup(e, { expose: t, emit: a }) {
@@ -5569,7 +5569,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
5569
5569
  defaultedHighlight: d,
5570
5570
  propDates: m,
5571
5571
  defaultedUI: c
5572
- } = je(r), { transitionName: k, showTransition: h } = nn(l), { buildMatrix: A } = ua(), { handleMonthYearChange: $, isDisabled: g, updateMonthYear: x } = Rc(r, n), { showLeftIcon: b, showRightIcon: D } = Tn(), F = Q(!1), E = Q(!1), N = Q(!1), W = Q([null, null, null, null]);
5572
+ } = je(r), { transitionName: k, showTransition: h } = nn(l), { buildMatrix: M } = ua(), { handleMonthYearChange: C, isDisabled: g, updateMonthYear: x } = Rc(r, n), { showLeftIcon: b, showRightIcon: D } = Tn(), F = Q(!1), E = Q(!1), N = Q(!1), W = Q([null, null, null, null]);
5573
5573
  nt(() => {
5574
5574
  n("mount");
5575
5575
  });
@@ -5600,18 +5600,18 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
5600
5600
  Ra(m.value.maxDate)
5601
5601
  ) || u.value.years.includes(_.value), G = Ur(d.value, _.value);
5602
5602
  return { active: R, disabled: V, highlighted: G };
5603
- })), M = (_, R, V) => {
5603
+ })), T = (_, R, V) => {
5604
5604
  V !== void 0 ? _.value = V : _.value = !_.value, _.value ? (N.value = !0, n("overlay-opened", R)) : (N.value = !1, n("overlay-closed", R));
5605
5605
  }, q = (_ = !1, R) => {
5606
- H(_), M(F, dt.month, R);
5606
+ H(_), T(F, dt.month, R);
5607
5607
  }, ae = (_ = !1, R) => {
5608
- H(_), M(E, dt.year, R);
5608
+ H(_), T(E, dt.year, R);
5609
5609
  }, H = (_) => {
5610
5610
  _ || n("reset-flow");
5611
5611
  }, ne = (_, R) => {
5612
- r.arrowNavigation && (W.value[R] = tt(_), A(W.value, "monthYear"));
5612
+ r.arrowNavigation && (W.value[R] = tt(_), M(W.value, "monthYear"));
5613
5613
  }, L = j(() => {
5614
- var _, R, V, G, i, S;
5614
+ var _, R, V, G, i, $;
5615
5615
  return [
5616
5616
  {
5617
5617
  type: Pt.month,
@@ -5635,30 +5635,30 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
5635
5635
  showSelectionGrid: E.value,
5636
5636
  items: Y.value,
5637
5637
  ariaLabel: (G = o.value) == null ? void 0 : G.openYearsOverlay,
5638
- overlayLabel: ((S = (i = o.value).yearPicker) == null ? void 0 : S.call(i, !0)) ?? void 0
5638
+ overlayLabel: (($ = (i = o.value).yearPicker) == null ? void 0 : $.call(i, !0)) ?? void 0
5639
5639
  }
5640
5640
  ];
5641
5641
  }), me = j(() => r.disableYearSelect ? [L.value[0]] : r.yearFirst ? [...L.value].reverse() : L.value);
5642
5642
  return t({
5643
5643
  toggleMonthPicker: q,
5644
5644
  toggleYearPicker: ae,
5645
- handleMonthYearChange: $
5645
+ handleMonthYearChange: C
5646
5646
  }), (_, R) => {
5647
- var V, G, i, S, se, Re;
5648
- return w(), C("div", ud, [
5649
- _.$slots["month-year"] ? (w(), C("div", cd, [
5647
+ var V, G, i, $, se, Re;
5648
+ return w(), S("div", ud, [
5649
+ _.$slots["month-year"] ? (w(), S("div", cd, [
5650
5650
  de(_.$slots, "month-year", it(yt({
5651
5651
  month: e.month,
5652
5652
  year: e.year,
5653
5653
  months: e.months,
5654
5654
  years: e.years,
5655
5655
  updateMonthYear: v(x),
5656
- handleMonthYearChange: v($),
5656
+ handleMonthYearChange: v(C),
5657
5657
  instance: e.instance,
5658
5658
  isDisabled: v(g)
5659
5659
  })))
5660
- ])) : (w(), C(xe, { key: 1 }, [
5661
- _.$slots["top-extra"] ? (w(), C("div", dd, [
5660
+ ])) : (w(), S(xe, { key: 1 }, [
5661
+ _.$slots["top-extra"] ? (w(), S("div", dd, [
5662
5662
  de(_.$slots, "top-extra", { value: _.internalModelValue })
5663
5663
  ])) : z("", !0),
5664
5664
  ve("div", fd, [
@@ -5668,7 +5668,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
5668
5668
  disabled: v(g)(!1),
5669
5669
  class: ge((G = v(c)) == null ? void 0 : G.navBtnPrev),
5670
5670
  "el-name": "action-prev",
5671
- onActivate: R[0] || (R[0] = (B) => v($)(!1, !0)),
5671
+ onActivate: R[0] || (R[0] = (B) => v(C)(!1, !0)),
5672
5672
  onSetRef: R[1] || (R[1] = (B) => ne(B, 0))
5673
5673
  }, {
5674
5674
  default: Pe(() => [
@@ -5682,7 +5682,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
5682
5682
  dp__year_disable_select: _.disableYearSelect
5683
5683
  }])
5684
5684
  }, [
5685
- (w(!0), C(xe, null, Fe(me.value, (B, Me) => (w(), C(xe, {
5685
+ (w(!0), S(xe, null, Fe(me.value, (B, Me) => (w(), S(xe, {
5686
5686
  key: B.type
5687
5687
  }, [
5688
5688
  ve("button", {
@@ -5701,7 +5701,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
5701
5701
  text: B.text,
5702
5702
  value: r[B.type]
5703
5703
  }) : z("", !0),
5704
- _.$slots[B.type] ? z("", !0) : (w(), C(xe, { key: 1 }, [
5704
+ _.$slots[B.type] ? z("", !0) : (w(), S(xe, { key: 1 }, [
5705
5705
  Wt(Ne(B.text), 1)
5706
5706
  ], 64))
5707
5707
  ], 42, md),
@@ -5771,8 +5771,8 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
5771
5771
  "aria-label": (i = v(o)) == null ? void 0 : i.prevMonth,
5772
5772
  "el-name": "action-prev",
5773
5773
  disabled: v(g)(!1),
5774
- class: ge((S = v(c)) == null ? void 0 : S.navBtnPrev),
5775
- onActivate: R[2] || (R[2] = (B) => v($)(!1, !0))
5774
+ class: ge(($ = v(c)) == null ? void 0 : $.navBtnPrev),
5775
+ onActivate: R[2] || (R[2] = (B) => v(C)(!1, !0))
5776
5776
  }, {
5777
5777
  default: Pe(() => [
5778
5778
  _.$slots["arrow-up"] ? de(_.$slots, "arrow-up", { key: 0 }) : z("", !0),
@@ -5787,7 +5787,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
5787
5787
  disabled: v(g)(!0),
5788
5788
  "aria-label": (se = v(o)) == null ? void 0 : se.nextMonth,
5789
5789
  class: ge((Re = v(c)) == null ? void 0 : Re.navBtnNext),
5790
- onActivate: R[3] || (R[3] = (B) => v($)(!0, !0)),
5790
+ onActivate: R[3] || (R[3] = (B) => v(C)(!0, !0)),
5791
5791
  onSetRef: R[4] || (R[4] = (B) => ne(B, _.disableYearSelect ? 2 : 3))
5792
5792
  }, {
5793
5793
  default: Pe(() => [
@@ -5822,7 +5822,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
5822
5822
  instance: { type: Number, default: 0 },
5823
5823
  month: { type: Number, default: 0 },
5824
5824
  year: { type: Number, default: 0 },
5825
- ...St
5825
+ ...Ct
5826
5826
  },
5827
5827
  emits: [
5828
5828
  "select-date",
@@ -5847,11 +5847,11 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
5847
5847
  bottom: "",
5848
5848
  left: "",
5849
5849
  transform: ""
5850
- }), A = Q([]), $ = Q(null), g = Q(!0), x = Q(""), b = Q({ startX: 0, endX: 0, startY: 0, endY: 0 }), D = Q([]), F = Q({ left: "50%" }), E = Q(!1), N = j(() => r.calendar ? r.calendar(r.mappedDates) : r.mappedDates), W = j(() => r.dayNames ? Array.isArray(r.dayNames) ? r.dayNames : r.dayNames(r.locale, +r.weekStart) : ec(r.formatLocale, r.locale, +r.weekStart));
5850
+ }), M = Q([]), C = Q(null), g = Q(!0), x = Q(""), b = Q({ startX: 0, endX: 0, startY: 0, endY: 0 }), D = Q([]), F = Q({ left: "50%" }), E = Q(!1), N = j(() => r.calendar ? r.calendar(r.mappedDates) : r.mappedDates), W = j(() => r.dayNames ? Array.isArray(r.dayNames) ? r.dayNames : r.dayNames(r.locale, +r.weekStart) : ec(r.formatLocale, r.locale, +r.weekStart));
5851
5851
  nt(() => {
5852
- n("mount", { cmp: "calendar", refs: A }), s.value.noSwipe || $.value && ($.value.addEventListener("touchstart", ne, { passive: !1 }), $.value.addEventListener("touchend", L, { passive: !1 }), $.value.addEventListener("touchmove", me, { passive: !1 })), r.monthChangeOnScroll && $.value && $.value.addEventListener("wheel", V, { passive: !1 });
5852
+ n("mount", { cmp: "calendar", refs: M }), s.value.noSwipe || C.value && (C.value.addEventListener("touchstart", ne, { passive: !1 }), C.value.addEventListener("touchend", L, { passive: !1 }), C.value.addEventListener("touchmove", me, { passive: !1 })), r.monthChangeOnScroll && C.value && C.value.addEventListener("wheel", V, { passive: !1 });
5853
5853
  }), sa(() => {
5854
- s.value.noSwipe || $.value && ($.value.removeEventListener("touchstart", ne), $.value.removeEventListener("touchend", L), $.value.removeEventListener("touchmove", me)), r.monthChangeOnScroll && $.value && $.value.removeEventListener("wheel", V);
5854
+ s.value.noSwipe || C.value && (C.value.removeEventListener("touchstart", ne), C.value.removeEventListener("touchend", L), C.value.removeEventListener("touchmove", me)), r.monthChangeOnScroll && C.value && C.value.removeEventListener("wheel", V);
5855
5855
  });
5856
5856
  const y = (B) => B ? r.vertical ? "vNext" : "next" : r.vertical ? "vPrevious" : "previous", I = (B, Me) => {
5857
5857
  if (r.transitions) {
@@ -5870,10 +5870,10 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
5870
5870
  dp__marker_dot: Me.type === "dot",
5871
5871
  dp__marker_line: Me.type === "line"
5872
5872
  };
5873
- }), be = j(() => (B) => Se(B, k.value)), P = j(() => ({
5873
+ }), be = j(() => (B) => Ce(B, k.value)), P = j(() => ({
5874
5874
  dp__calendar: !0,
5875
5875
  dp__calendar_next: p.value.count > 0 && r.instance !== 0
5876
- })), Y = j(() => (B) => r.hideOffsetDates ? B.current : !0), M = async (B, Me) => {
5876
+ })), Y = j(() => (B) => r.hideOffsetDates ? B.current : !0), T = async (B, Me) => {
5877
5877
  const { width: K, height: re } = B.getBoundingClientRect();
5878
5878
  k.value = Me.value;
5879
5879
  let f = { left: `${K / 2}px` }, ee = -50;
@@ -5888,8 +5888,8 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
5888
5888
  };
5889
5889
  }, q = async (B, Me, K) => {
5890
5890
  var re, f, ee;
5891
- const le = tt(A.value[Me][K]);
5892
- le && ((re = B.marker) != null && re.customPosition && (ee = (f = B.marker) == null ? void 0 : f.tooltip) != null && ee.length ? h.value = B.marker.customPosition(le) : await M(le, B), n("tooltip-open", B.marker));
5891
+ const le = tt(M.value[Me][K]);
5892
+ le && ((re = B.marker) != null && re.customPosition && (ee = (f = B.marker) == null ? void 0 : f.tooltip) != null && ee.length ? h.value = B.marker.customPosition(le) : await T(le, B), n("tooltip-open", B.marker));
5893
5893
  }, ae = async (B, Me, K) => {
5894
5894
  var re, f;
5895
5895
  if (E.value && m.value.enabled && m.value.dragSelect)
@@ -5910,33 +5910,33 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
5910
5910
  const B = r.vertical ? "Y" : "X";
5911
5911
  Math.abs(b.value[`start${B}`] - b.value[`end${B}`]) > 10 && n("handle-swipe", b.value[`start${B}`] > b.value[`end${B}`] ? "right" : "left");
5912
5912
  }, R = (B, Me, K) => {
5913
- B && (Array.isArray(A.value[Me]) ? A.value[Me][K] = B : A.value[Me] = [B]), r.arrowNavigation && l(A.value, "calendar");
5913
+ B && (Array.isArray(M.value[Me]) ? M.value[Me][K] = B : M.value[Me] = [B]), r.arrowNavigation && l(M.value, "calendar");
5914
5914
  }, V = (B) => {
5915
5915
  r.monthChangeOnScroll && (B.preventDefault(), n("handle-scroll", B));
5916
5916
  }, G = (B) => d.value.type === "local" ? Rr(B.value, { weekStartsOn: +r.weekStart }) : d.value.type === "iso" ? $r(B.value) : typeof d.value.type == "function" ? d.value.type(B.value) : "", i = (B) => {
5917
5917
  const Me = B[0];
5918
5918
  return d.value.hideOnOffsetDates ? B.some((K) => K.current) ? G(Me) : "" : G(Me);
5919
- }, S = (B, Me, K = !0) => {
5919
+ }, $ = (B, Me, K = !0) => {
5920
5920
  !K && ic() || (!m.value.enabled || s.value.allowPreventDefault) && (ta(B, s.value), n("select-date", Me));
5921
5921
  }, se = (B) => {
5922
5922
  ta(B, s.value);
5923
5923
  }, Re = (B) => {
5924
5924
  m.value.enabled && m.value.dragSelect ? (E.value = !0, n("select-date", B)) : m.value.enabled && n("select-date", B);
5925
5925
  };
5926
- return t({ triggerTransition: I }), (B, Me) => (w(), C("div", {
5926
+ return t({ triggerTransition: I }), (B, Me) => (w(), S("div", {
5927
5927
  class: ge(P.value)
5928
5928
  }, [
5929
5929
  ve("div", {
5930
5930
  ref_key: "calendarWrapRef",
5931
- ref: $,
5931
+ ref: C,
5932
5932
  class: ge(te.value),
5933
5933
  role: "grid"
5934
5934
  }, [
5935
5935
  ve("div", pd, [
5936
- B.weekNumbers ? (w(), C("div", hd, Ne(B.weekNumName), 1)) : z("", !0),
5937
- (w(!0), C(xe, null, Fe(W.value, (K, re) => {
5936
+ B.weekNumbers ? (w(), S("div", hd, Ne(B.weekNumName), 1)) : z("", !0),
5937
+ (w(!0), S(xe, null, Fe(W.value, (K, re) => {
5938
5938
  var f, ee;
5939
- return w(), C("div", {
5939
+ return w(), S("div", {
5940
5940
  key: re,
5941
5941
  class: "dp__calendar_header_item",
5942
5942
  role: "gridcell",
@@ -5948,7 +5948,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
5948
5948
  day: K,
5949
5949
  index: re
5950
5950
  }) : z("", !0),
5951
- B.$slots["calendar-header"] ? z("", !0) : (w(), C(xe, { key: 1 }, [
5951
+ B.$slots["calendar-header"] ? z("", !0) : (w(), S(xe, { key: 1 }, [
5952
5952
  Wt(Ne(K), 1)
5953
5953
  ], 64))
5954
5954
  ], 8, yd);
@@ -5960,23 +5960,23 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
5960
5960
  css: !!B.transitions
5961
5961
  }, {
5962
5962
  default: Pe(() => [
5963
- g.value ? (w(), C("div", {
5963
+ g.value ? (w(), S("div", {
5964
5964
  key: 0,
5965
5965
  class: "dp__calendar",
5966
5966
  role: "rowgroup",
5967
5967
  onMouseleave: Me[1] || (Me[1] = (K) => E.value = !1)
5968
5968
  }, [
5969
- (w(!0), C(xe, null, Fe(N.value, (K, re) => (w(), C("div", {
5969
+ (w(!0), S(xe, null, Fe(N.value, (K, re) => (w(), S("div", {
5970
5970
  key: re,
5971
5971
  class: "dp__calendar_row",
5972
5972
  role: "row"
5973
5973
  }, [
5974
- B.weekNumbers ? (w(), C("div", gd, [
5974
+ B.weekNumbers ? (w(), S("div", gd, [
5975
5975
  ve("div", bd, Ne(i(K.days)), 1)
5976
5976
  ])) : z("", !0),
5977
- (w(!0), C(xe, null, Fe(K.days, (f, ee) => {
5977
+ (w(!0), S(xe, null, Fe(K.days, (f, ee) => {
5978
5978
  var le, oe, Oe;
5979
- return w(), C("div", {
5979
+ return w(), S("div", {
5980
5980
  id: v(cr)(f.value),
5981
5981
  ref_for: !0,
5982
5982
  ref: (Te) => R(Te, re, ee),
@@ -5988,8 +5988,8 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
5988
5988
  "aria-label": (oe = (le = v(u)) == null ? void 0 : le.day) == null ? void 0 : oe.call(le, f),
5989
5989
  tabindex: !f.current && B.hideOffsetDates ? void 0 : 0,
5990
5990
  "data-test-id": v(cr)(f.value),
5991
- onClick: At((Te) => S(Te, f), ["prevent"]),
5992
- onTouchend: (Te) => S(Te, f, !1),
5991
+ onClick: At((Te) => $(Te, f), ["prevent"]),
5992
+ onTouchend: (Te) => $(Te, f, !1),
5993
5993
  onKeydown: (Te) => v(pt)(Te, () => B.$emit("select-date", f)),
5994
5994
  onMouseenter: (Te) => ae(f, re, ee),
5995
5995
  onMouseleave: (Te) => H(f),
@@ -6004,22 +6004,22 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
6004
6004
  day: +f.text,
6005
6005
  date: f.value
6006
6006
  }) : z("", !0),
6007
- B.$slots.day ? z("", !0) : (w(), C(xe, { key: 1 }, [
6007
+ B.$slots.day ? z("", !0) : (w(), S(xe, { key: 1 }, [
6008
6008
  Wt(Ne(f.text), 1)
6009
6009
  ], 64)),
6010
- f.marker && Y.value(f) ? (w(), C(xe, { key: 2 }, [
6010
+ f.marker && Y.value(f) ? (w(), S(xe, { key: 2 }, [
6011
6011
  B.$slots.marker ? de(B.$slots, "marker", {
6012
6012
  key: 0,
6013
6013
  marker: f.marker,
6014
6014
  day: +f.text,
6015
6015
  date: f.value
6016
- }) : (w(), C("div", {
6016
+ }) : (w(), S("div", {
6017
6017
  key: 1,
6018
6018
  class: ge(ce.value(f.marker)),
6019
6019
  style: st(f.marker.color ? { backgroundColor: f.marker.color } : {})
6020
6020
  }, null, 6))
6021
6021
  ], 64)) : z("", !0),
6022
- be.value(f.value) ? (w(), C("div", {
6022
+ be.value(f.value) ? (w(), S("div", {
6023
6023
  key: 3,
6024
6024
  ref_for: !0,
6025
6025
  ref_key: "activeTooltip",
@@ -6027,12 +6027,12 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
6027
6027
  class: "dp__marker_tooltip",
6028
6028
  style: st(h.value)
6029
6029
  }, [
6030
- (Oe = f.marker) != null && Oe.tooltip ? (w(), C("div", {
6030
+ (Oe = f.marker) != null && Oe.tooltip ? (w(), S("div", {
6031
6031
  key: 0,
6032
6032
  class: "dp__tooltip_content",
6033
6033
  onClick: se
6034
6034
  }, [
6035
- (w(!0), C(xe, null, Fe(f.marker.tooltip, (Te, Ye) => (w(), C("div", {
6035
+ (w(!0), S(xe, null, Fe(f.marker.tooltip, (Te, Ye) => (w(), S("div", {
6036
6036
  key: Ye,
6037
6037
  class: "dp__tooltip_text"
6038
6038
  }, [
@@ -6041,7 +6041,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
6041
6041
  tooltip: Te,
6042
6042
  day: f.value
6043
6043
  }) : z("", !0),
6044
- B.$slots["marker-tooltip"] ? z("", !0) : (w(), C(xe, { key: 1 }, [
6044
+ B.$slots["marker-tooltip"] ? z("", !0) : (w(), S(xe, { key: 1 }, [
6045
6045
  ve("div", {
6046
6046
  class: "dp__tooltip_mark",
6047
6047
  style: st(Te.color ? { backgroundColor: Te.color } : {})
@@ -6071,15 +6071,15 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
6071
6071
  defaultedMultiCalendars: c,
6072
6072
  defaultedStartTime: k,
6073
6073
  defaultedRange: h,
6074
- defaultedConfig: A,
6075
- defaultedTz: $,
6074
+ defaultedConfig: M,
6075
+ defaultedTz: C,
6076
6076
  propDates: g,
6077
6077
  defaultedMultiDates: x
6078
6078
  } = je(e), { validateMonthYearInRange: b, isDisabled: D, isDateRangeAllowed: F, checkMinMaxRange: E } = ca(e), { updateTimeValues: N, getSetDateTime: W, setTime: y, assignStartTime: I, validateTime: te, disabledTimesConfig: ce } = Go(e, d, u, n), be = j(
6079
6079
  () => (O) => p.value[O] ? p.value[O].month : 0
6080
6080
  ), P = j(
6081
6081
  () => (O) => p.value[O] ? p.value[O].year : 0
6082
- ), Y = (O) => !A.value.keepViewOnOffsetClick || O ? !0 : !o.value, M = (O, J, we, Ae = !1) => {
6082
+ ), Y = (O) => !M.value.keepViewOnOffsetClick || O ? !0 : !o.value, T = (O, J, we, Ae = !1) => {
6083
6083
  var U, ue;
6084
6084
  Y(Ae) && (p.value[O] || (p.value[O] = { month: 0, year: 0 }), p.value[O].month = kl(J) ? (U = p.value[O]) == null ? void 0 : U.month : J, p.value[O].year = kl(we) ? (ue = p.value[O]) == null ? void 0 : ue.year : we);
6085
6085
  }, q = () => {
@@ -6097,21 +6097,21 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
6097
6097
  e.autoApply && H.value && t("auto-apply", e.partialFlow ? e.flowStep !== e.flow.length : !1);
6098
6098
  }, L = (O = !1) => {
6099
6099
  if (u.value)
6100
- return Array.isArray(u.value) ? (r.value = u.value, S(O)) : R(u.value, O);
6100
+ return Array.isArray(u.value) ? (r.value = u.value, $(O)) : R(u.value, O);
6101
6101
  if (c.value.count && O && !e.startDate)
6102
6102
  return _(X(), O);
6103
- }, me = () => Array.isArray(u.value) && h.value.enabled ? Ce(u.value[0]) === Ce(u.value[1] ?? u.value[0]) : !1, _ = (O = /* @__PURE__ */ new Date(), J = !1) => {
6104
- if ((!c.value.count || !c.value.static || J) && M(0, Ce(O), ke(O)), c.value.count && (!u.value || me() || !c.value.solo) && (!c.value.solo || J))
6103
+ }, me = () => Array.isArray(u.value) && h.value.enabled ? Se(u.value[0]) === Se(u.value[1] ?? u.value[0]) : !1, _ = (O = /* @__PURE__ */ new Date(), J = !1) => {
6104
+ if ((!c.value.count || !c.value.static || J) && T(0, Se(O), ke(O)), c.value.count && (!u.value || me() || !c.value.solo) && (!c.value.solo || J))
6105
6105
  for (let we = 1; we < c.value.count; we++) {
6106
6106
  const Ae = Be(X(), { month: be.value(we - 1), year: P.value(we - 1) }), U = io(Ae, { months: 1 });
6107
- p.value[we] = { month: Ce(U), year: ke(U) };
6107
+ p.value[we] = { month: Se(U), year: ke(U) };
6108
6108
  }
6109
6109
  }, R = (O, J) => {
6110
- _(O), y("hours", jt(O)), y("minutes", ra(O)), y("seconds", Ca(O)), c.value.count && J && B();
6110
+ _(O), y("hours", jt(O)), y("minutes", ra(O)), y("seconds", Sa(O)), c.value.count && J && B();
6111
6111
  }, V = (O) => {
6112
6112
  if (c.value.count) {
6113
6113
  if (c.value.solo) return 0;
6114
- const J = Ce(O[0]), we = Ce(O[1]);
6114
+ const J = Se(O[0]), we = Se(O[1]);
6115
6115
  return Math.abs(we - J) < c.value.count ? 0 : 1;
6116
6116
  }
6117
6117
  return 1;
@@ -6121,7 +6121,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
6121
6121
  Ae(O[0]),
6122
6122
  O[1] ? Ae(O[1]) : d[U][1]
6123
6123
  ];
6124
- y("hours", we(jt, "hours")), y("minutes", we(ra, "minutes")), y("seconds", we(Ca, "seconds"));
6124
+ y("hours", we(jt, "hours")), y("minutes", we(ra, "minutes")), y("seconds", we(Sa, "seconds"));
6125
6125
  }, i = (O, J) => {
6126
6126
  if ((h.value.enabled || e.weekPicker) && !x.value.enabled)
6127
6127
  return G(O, J);
@@ -6129,30 +6129,30 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
6129
6129
  const we = O[O.length - 1];
6130
6130
  return R(we, J);
6131
6131
  }
6132
- }, S = (O) => {
6132
+ }, $ = (O) => {
6133
6133
  const J = u.value;
6134
6134
  i(J, O), c.value.count && c.value.solo && B();
6135
6135
  }, se = (O, J) => {
6136
6136
  const we = Be(X(), { month: be.value(J), year: P.value(J) }), Ae = O < 0 ? Ot(we, 1) : $a(we, 1);
6137
- b(Ce(Ae), ke(Ae), O < 0, e.preventMinMaxNavigation) && (M(J, Ce(Ae), ke(Ae)), t("update-month-year", { instance: J, month: Ce(Ae), year: ke(Ae) }), c.value.count && !c.value.solo && Re(J), a());
6137
+ b(Se(Ae), ke(Ae), O < 0, e.preventMinMaxNavigation) && (T(J, Se(Ae), ke(Ae)), t("update-month-year", { instance: J, month: Se(Ae), year: ke(Ae) }), c.value.count && !c.value.solo && Re(J), a());
6138
6138
  }, Re = (O) => {
6139
6139
  for (let J = O - 1; J >= 0; J--) {
6140
6140
  const we = $a(Be(X(), { month: be.value(J + 1), year: P.value(J + 1) }), 1);
6141
- M(J, Ce(we), ke(we));
6141
+ T(J, Se(we), ke(we));
6142
6142
  }
6143
6143
  for (let J = O + 1; J <= c.value.count - 1; J++) {
6144
6144
  const we = Ot(Be(X(), { month: be.value(J - 1), year: P.value(J - 1) }), 1);
6145
- M(J, Ce(we), ke(we));
6145
+ T(J, Se(we), ke(we));
6146
6146
  }
6147
6147
  }, B = () => {
6148
6148
  if (Array.isArray(u.value) && u.value.length === 2) {
6149
6149
  const O = X(
6150
6150
  X(u.value[1] ? u.value[1] : Ot(u.value[0], 1))
6151
- ), [J, we] = [Ce(u.value[0]), ke(u.value[0])], [Ae, U] = [Ce(u.value[1]), ke(u.value[1])];
6152
- (J !== Ae || J === Ae && we !== U) && c.value.solo && M(1, Ce(O), ke(O));
6153
- } else u.value && !Array.isArray(u.value) && (M(0, Ce(u.value), ke(u.value)), _(X()));
6151
+ ), [J, we] = [Se(u.value[0]), ke(u.value[0])], [Ae, U] = [Se(u.value[1]), ke(u.value[1])];
6152
+ (J !== Ae || J === Ae && we !== U) && c.value.solo && T(1, Se(O), ke(O));
6153
+ } else u.value && !Array.isArray(u.value) && (T(0, Se(u.value), ke(u.value)), _(X()));
6154
6154
  }, Me = () => {
6155
- e.startDate && (M(0, Ce(X(e.startDate)), ke(X(e.startDate))), c.value.count && Re(0));
6155
+ e.startDate && (T(0, Se(X(e.startDate)), ke(X(e.startDate))), c.value.count && Re(0));
6156
6156
  }, K = (O, J) => {
6157
6157
  if (e.monthChangeOnScroll) {
6158
6158
  const we = (/* @__PURE__ */ new Date()).getTime() - l.value.getTime(), Ae = Math.abs(O.deltaY);
@@ -6184,10 +6184,10 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
6184
6184
  const U = 6 - O.length, ue = (J.getDay() + 7 - Ae) % 7, ye = 6 - (we.getDay() + 7 - Ae) % 7, [zt, Rt] = le(ue, ye);
6185
6185
  for (let da = 1; da <= U; da++)
6186
6186
  if (Rt ? !!(da % 2) == zt : zt) {
6187
- const Gt = O[0].days[0], Bn = Oe(xt(Gt.value, -7), Ce(J));
6187
+ const Gt = O[0].days[0], Bn = Oe(xt(Gt.value, -7), Se(J));
6188
6188
  O.unshift({ days: Bn });
6189
6189
  } else {
6190
- const Gt = O[O.length - 1], Bn = Gt.days[Gt.days.length - 1], Ii = Oe(xt(Bn.value, 1), Ce(J));
6190
+ const Gt = O[O.length - 1], Bn = Gt.days[Gt.days.length - 1], Ii = Oe(xt(Bn.value, 1), Se(J));
6191
6191
  O.push({ days: Ii });
6192
6192
  }
6193
6193
  }
@@ -6195,7 +6195,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
6195
6195
  }, Oe = (O, J) => {
6196
6196
  const we = X(O), Ae = [];
6197
6197
  for (let U = 0; U < 7; U++) {
6198
- const ue = xt(we, U), ye = Ce(ue) !== J;
6198
+ const ue = xt(we, U), ye = Se(ue) !== J;
6199
6199
  Ae.push({
6200
6200
  text: e.hideOffsetDates && ye ? "" : ue.getDate(),
6201
6201
  value: ue,
@@ -6205,10 +6205,10 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
6205
6205
  }
6206
6206
  return Ae;
6207
6207
  }, Te = (O, J) => {
6208
- const we = [], Ae = new Date(J, O), U = new Date(J, O + 1, 0), ue = e.weekStart, ye = Ct(Ae, { weekStartsOn: ue }), zt = (Rt) => {
6208
+ const we = [], Ae = new Date(J, O), U = new Date(J, O + 1, 0), ue = e.weekStart, ye = St(Ae, { weekStartsOn: ue }), zt = (Rt) => {
6209
6209
  const da = Oe(Rt, O);
6210
6210
  if (we.push({ days: da }), !we[we.length - 1].days.some(
6211
- (Gt) => Se(ut(Gt.value), ut(U))
6211
+ (Gt) => Ce(ut(Gt.value), ut(U))
6212
6212
  )) {
6213
6213
  const Gt = xt(Rt, 7);
6214
6214
  zt(Gt);
@@ -6220,7 +6220,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
6220
6220
  t("date-update", J), x.value.enabled ? qr(J, u, x.value.limit) : u.value = J, n(), _t().then(() => {
6221
6221
  ne();
6222
6222
  });
6223
- }, Ge = (O) => h.value.noDisabledRange ? Fo(r.value[0], O).some((J) => D(J)) : !1, T = () => {
6223
+ }, Ge = (O) => h.value.noDisabledRange ? Fo(r.value[0], O).some((J) => D(J)) : !1, A = () => {
6224
6224
  r.value = u.value ? u.value.slice() : [], r.value.length === 2 && !(h.value.fixedStart || h.value.fixedEnd) && (r.value = []);
6225
6225
  }, ie = (O, J) => {
6226
6226
  const we = [
@@ -6229,20 +6229,20 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
6229
6229
  ];
6230
6230
  F(we) ? (J && $e(O.value), r.value = we) : t("invalid-date", O.value);
6231
6231
  }, $e = (O) => {
6232
- const J = Ce(X(O)), we = ke(X(O));
6233
- if (M(0, J, we), c.value.count > 0)
6232
+ const J = Se(X(O)), we = ke(X(O));
6233
+ if (T(0, J, we), c.value.count > 0)
6234
6234
  for (let Ae = 1; Ae < c.value.count; Ae++) {
6235
6235
  const U = cc(
6236
6236
  Be(X(O), { year: P.value(Ae - 1), month: be.value(Ae - 1) })
6237
6237
  );
6238
- M(Ae, U.month, U.year);
6238
+ T(Ae, U.month, U.year);
6239
6239
  }
6240
6240
  }, at = (O) => {
6241
6241
  if (Ge(O.value) || !E(O.value, u.value, h.value.fixedStart ? 0 : 1))
6242
6242
  return t("invalid-date", O.value);
6243
6243
  r.value = Uo(X(O.value), u, t, h);
6244
6244
  }, $t = (O, J) => {
6245
- if (T(), h.value.autoRange) return ie(O, J);
6245
+ if (A(), h.value.autoRange) return ie(O, J);
6246
6246
  if (h.value.fixedStart || h.value.fixedEnd) return at(O);
6247
6247
  r.value[0] ? E(X(O.value), u.value) && !Ge(O.value) ? qe(X(O.value), X(r.value[0])) ? (r.value.unshift(X(O.value)), t("range-end", r.value[0])) : (r.value[1] = X(O.value), t("range-end", r.value[1])) : (e.autoApply && t("auto-apply-invalid", O.value), t("invalid-date", O.value)) : (r.value[0] = X(O.value), t("range-start", r.value[0]));
6248
6248
  }, he = (O = !0) => e.enableSeconds ? Array.isArray(d.seconds) ? O ? d.seconds[0] : d.seconds[1] : d.seconds : 0, rt = (O) => {
@@ -6263,7 +6263,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
6263
6263
  Al(d.hours) && Al(d.minutes) && !x.value.enabled && ($t(O, J), Rn());
6264
6264
  }, Yn = (O, J) => {
6265
6265
  var we;
6266
- M(O, J.month, J.year, !0), c.value.count && !c.value.solo && Re(O), t("update-month-year", { instance: O, month: J.month, year: J.year }), a(c.value.solo ? O : void 0);
6266
+ T(O, J.month, J.year, !0), c.value.count && !c.value.solo && Re(O), t("update-month-year", { instance: O, month: J.month, year: J.year }), a(c.value.solo ? O : void 0);
6267
6267
  const Ae = (we = e.flow) != null && we.length ? e.flow[e.flowStep] : void 0;
6268
6268
  !J.fromNav && (Ae === dt.month || Ae === dt.year) && n();
6269
6269
  }, En = (O, J) => {
@@ -6271,10 +6271,10 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
6271
6271
  value: O,
6272
6272
  modelValue: u,
6273
6273
  range: h.value.enabled,
6274
- timezone: J ? void 0 : $.value.timezone
6274
+ timezone: J ? void 0 : C.value.timezone
6275
6275
  }), q(), e.multiCalendars && _t().then(() => L(!0));
6276
6276
  }, Nn = () => {
6277
- const O = Hr(X(), $.value);
6277
+ const O = Hr(X(), C.value);
6278
6278
  !h.value.enabled && !x.value.enabled ? u.value = O : u.value && Array.isArray(u.value) && u.value[0] ? x.value.enabled ? u.value = [...u.value, O] : u.value = qe(O, u.value[0]) ? [O, u.value[0]] : [u.value[0], O] : u.value = [O], q();
6279
6279
  }, Fn = () => {
6280
6280
  if (Array.isArray(u.value))
@@ -6314,7 +6314,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
6314
6314
  }, xd = { key: 0 }, Pd = /* @__PURE__ */ We({
6315
6315
  __name: "DatePicker",
6316
6316
  props: {
6317
- ...St
6317
+ ...Ct
6318
6318
  },
6319
6319
  emits: [
6320
6320
  "tooltip-open",
@@ -6352,8 +6352,8 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
6352
6352
  validateTime: c,
6353
6353
  getCalendarDays: k,
6354
6354
  getMarker: h,
6355
- handleArrow: A,
6356
- handleScroll: $,
6355
+ handleArrow: M,
6356
+ handleScroll: C,
6357
6357
  handleSwipe: g,
6358
6358
  selectDate: x,
6359
6359
  updateMonthYear: b,
@@ -6362,7 +6362,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
6362
6362
  updateTime: E,
6363
6363
  assignMonthAndYear: N,
6364
6364
  setStartTime: W
6365
- } = kd(r, n, me, _), y = wa(), { setHoverDate: I, getDayClassData: te, clearHoverDate: ce } = zd(u, r), { defaultedMultiCalendars: be } = je(r), P = Q([]), Y = Q([]), M = Q(null), q = wt(y, "calendar"), ae = wt(y, "monthYear"), H = wt(y, "timePicker"), ne = (K) => {
6365
+ } = kd(r, n, me, _), y = wa(), { setHoverDate: I, getDayClassData: te, clearHoverDate: ce } = zd(u, r), { defaultedMultiCalendars: be } = je(r), P = Q([]), Y = Q([]), T = Q(null), q = wt(y, "calendar"), ae = wt(y, "monthYear"), H = wt(y, "timePicker"), ne = (K) => {
6366
6366
  r.shadow || n("mount", K);
6367
6367
  };
6368
6368
  gt(
@@ -6401,14 +6401,14 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
6401
6401
  (ee = P.value[f]) == null || ee.toggleYearPicker(K, re);
6402
6402
  }, i = (K, re, f) => {
6403
6403
  var ee;
6404
- (ee = M.value) == null || ee.toggleTimePicker(K, re, f);
6405
- }, S = (K, re) => {
6404
+ (ee = T.value) == null || ee.toggleTimePicker(K, re, f);
6405
+ }, $ = (K, re) => {
6406
6406
  var f;
6407
6407
  if (!r.range) {
6408
- const ee = u.value ? u.value : m, le = re ? new Date(re) : ee, oe = K ? Ct(le, { weekStartsOn: 1 }) : po(le, { weekStartsOn: 1 });
6408
+ const ee = u.value ? u.value : m, le = re ? new Date(re) : ee, oe = K ? St(le, { weekStartsOn: 1 }) : po(le, { weekStartsOn: 1 });
6409
6409
  x({
6410
6410
  value: oe,
6411
- current: Ce(le) === o.value(0),
6411
+ current: Se(le) === o.value(0),
6412
6412
  text: "",
6413
6413
  classData: {}
6414
6414
  }), (f = document.getElementById(cr(oe))) == null || f.focus();
@@ -6430,7 +6430,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
6430
6430
  toggleMonthPicker: V,
6431
6431
  toggleYearPicker: G,
6432
6432
  toggleTimePicker: i,
6433
- handleArrow: A,
6433
+ handleArrow: M,
6434
6434
  updateMonthYear: b,
6435
6435
  getSidebarProps: () => ({
6436
6436
  modelValue: u,
@@ -6444,9 +6444,9 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
6444
6444
  }),
6445
6445
  changeMonth: se,
6446
6446
  changeYear: Re,
6447
- selectWeekDate: S,
6447
+ selectWeekDate: $,
6448
6448
  setStartTime: W
6449
- }), (K, re) => (w(), C(xe, null, [
6449
+ }), (K, re) => (w(), S(xe, null, [
6450
6450
  Ze(Dn, {
6451
6451
  "multi-calendars": v(be).count,
6452
6452
  collapse: K.collapse,
@@ -6458,7 +6458,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
6458
6458
  ref: (le) => {
6459
6459
  le && (P.value[ee] = le);
6460
6460
  },
6461
- months: v(Co)(K.formatLocale, K.locale, K.monthNameFormat),
6461
+ months: v(So)(K.formatLocale, K.locale, K.monthNameFormat),
6462
6462
  years: v(Vr)(K.yearRange, K.locale, K.reverseYears),
6463
6463
  month: v(o)(f),
6464
6464
  year: v(s)(f),
@@ -6489,7 +6489,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
6489
6489
  onSelectDate: (le) => v(x)(le, f !== 1),
6490
6490
  onHandleSpace: (le) => R(le, f !== 1),
6491
6491
  onSetHoverDate: re[3] || (re[3] = (le) => v(I)(le)),
6492
- onHandleScroll: (le) => v($)(le, f),
6492
+ onHandleScroll: (le) => v(C)(le, f),
6493
6493
  onHandleSwipe: (le) => v(g)(le, f),
6494
6494
  onMount: re[4] || (re[4] = (le) => ne(v(pa).calendar)),
6495
6495
  onResetFlow: re[5] || (re[5] = (le) => K.$emit("reset-flow")),
@@ -6506,11 +6506,11 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
6506
6506
  ]),
6507
6507
  _: 3
6508
6508
  }, 8, ["multi-calendars", "collapse", "is-mobile"]),
6509
- K.enableTimePicker ? (w(), C("div", xd, [
6509
+ K.enableTimePicker ? (w(), S("div", xd, [
6510
6510
  K.$slots["time-picker"] ? de(K.$slots, "time-picker", it(ot({ key: 0 }, { time: v(p), updateTime: v(E) }))) : (w(), De(Qo, ot({
6511
6511
  key: 1,
6512
6512
  ref_key: "timePickerRef",
6513
- ref: M
6513
+ ref: T
6514
6514
  }, K.$props, {
6515
6515
  hours: v(p).hours,
6516
6516
  minutes: v(p).minutes,
@@ -6546,7 +6546,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
6546
6546
  propDates: s,
6547
6547
  defaultedFilters: u,
6548
6548
  defaultedMultiDates: p
6549
- } = je(e), { modelValue: d, year: m, month: c, calendars: k } = rn(e, t), { isDisabled: h } = ca(e), { selectYear: A, groupedYears: $, showYearPicker: g, isDisabled: x, toggleYearPicker: b, handleYearSelect: D, handleYear: F } = qo({
6549
+ } = je(e), { modelValue: d, year: m, month: c, calendars: k } = rn(e, t), { isDisabled: h } = ca(e), { selectYear: M, groupedYears: C, showYearPicker: g, isDisabled: x, toggleYearPicker: b, handleYearSelect: D, handleYear: F } = qo({
6550
6550
  modelValue: d,
6551
6551
  multiCalendars: n,
6552
6552
  range: o,
@@ -6558,20 +6558,20 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
6558
6558
  filters: u,
6559
6559
  props: e,
6560
6560
  emit: t
6561
- }), E = (Y, M) => [Y, M].map((q) => Bt(q, "MMMM", { locale: e.formatLocale })).join("-"), N = j(() => (Y) => d.value ? Array.isArray(d.value) ? d.value.some((M) => bl(Y, M)) : bl(d.value, Y) : !1), W = (Y) => {
6561
+ }), E = (Y, T) => [Y, T].map((q) => Bt(q, "MMMM", { locale: e.formatLocale })).join("-"), N = j(() => (Y) => d.value ? Array.isArray(d.value) ? d.value.some((T) => bl(Y, T)) : bl(d.value, Y) : !1), W = (Y) => {
6562
6562
  if (o.value.enabled) {
6563
6563
  if (Array.isArray(d.value)) {
6564
- const M = Se(Y, d.value[0]) || Se(Y, d.value[1]);
6565
- return Xa(d.value, a.value, Y) && !M;
6564
+ const T = Ce(Y, d.value[0]) || Ce(Y, d.value[1]);
6565
+ return Xa(d.value, a.value, Y) && !T;
6566
6566
  }
6567
6567
  return !1;
6568
6568
  }
6569
6569
  return !1;
6570
- }, y = (Y, M) => Y.quarter === ml(M) && Y.year === ke(M), I = (Y) => typeof l.value == "function" ? l.value({ quarter: ml(Y), year: ke(Y) }) : !!l.value.quarters.find((M) => y(M, Y)), te = j(() => (Y) => {
6571
- const M = Be(/* @__PURE__ */ new Date(), { year: m.value(Y) });
6570
+ }, y = (Y, T) => Y.quarter === ml(T) && Y.year === ke(T), I = (Y) => typeof l.value == "function" ? l.value({ quarter: ml(Y), year: ke(Y) }) : !!l.value.quarters.find((T) => y(T, Y)), te = j(() => (Y) => {
6571
+ const T = Be(/* @__PURE__ */ new Date(), { year: m.value(Y) });
6572
6572
  return es({
6573
- start: Qa(M),
6574
- end: vo(M)
6573
+ start: Qa(T),
6574
+ end: vo(T)
6575
6575
  }).map((q) => {
6576
6576
  const ae = ma(q), H = vl(q), ne = h(q), L = W(ae), me = I(ae);
6577
6577
  return {
@@ -6593,7 +6593,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
6593
6593
  return {
6594
6594
  defaultedConfig: r,
6595
6595
  defaultedMultiCalendars: n,
6596
- groupedYears: $,
6596
+ groupedYears: C,
6597
6597
  year: m,
6598
6598
  isDisabled: x,
6599
6599
  quarters: te,
@@ -6602,10 +6602,10 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
6602
6602
  setHoverDate: (Y) => {
6603
6603
  a.value = Y;
6604
6604
  },
6605
- selectYear: A,
6606
- selectQuarter: (Y, M, q) => {
6605
+ selectYear: M,
6606
+ selectQuarter: (Y, T, q) => {
6607
6607
  if (!q)
6608
- return k.value[M].month = Ce(vl(Y)), p.value.enabled ? ce(Y) : o.value.enabled ? be(Y) : P(Y);
6608
+ return k.value[T].month = Se(vl(Y)), p.value.enabled ? ce(Y) : o.value.enabled ? be(Y) : P(Y);
6609
6609
  },
6610
6610
  toggleYearPicker: b,
6611
6611
  handleYearSelect: D,
@@ -6617,7 +6617,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
6617
6617
  },
6618
6618
  __name: "QuarterPicker",
6619
6619
  props: {
6620
- ...St
6620
+ ...Ct
6621
6621
  },
6622
6622
  emits: [
6623
6623
  "update:internal-model-value",
@@ -6639,8 +6639,8 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
6639
6639
  quarters: c,
6640
6640
  modelValue: k,
6641
6641
  showYearPicker: h,
6642
- setHoverDate: A,
6643
- selectQuarter: $,
6642
+ setHoverDate: M,
6643
+ selectQuarter: C,
6644
6644
  toggleYearPicker: g,
6645
6645
  handleYearSelect: x,
6646
6646
  handleYear: b
@@ -6648,7 +6648,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
6648
6648
  return t({ getSidebarProps: () => ({
6649
6649
  modelValue: k,
6650
6650
  year: d,
6651
- selectQuarter: $,
6651
+ selectQuarter: C,
6652
6652
  handleYearSelect: x,
6653
6653
  handleYear: b
6654
6654
  }) }), (D, F) => (w(), De(Dn, {
@@ -6686,7 +6686,7 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
6686
6686
  ]), 1040, ["items", "instance", "show-year-picker", "year", "is-disabled", "onHandleYear", "onYearSelect", "onToggleYearPicker"])
6687
6687
  ]),
6688
6688
  ve("div", Md, [
6689
- (w(!0), C(xe, null, Fe(v(c)(E), (N, W) => (w(), C("div", { key: W }, [
6689
+ (w(!0), S(xe, null, Fe(v(c)(E), (N, W) => (w(), S("div", { key: W }, [
6690
6690
  ve("button", {
6691
6691
  type: "button",
6692
6692
  class: ge(["dp--qr-btn", {
@@ -6697,14 +6697,14 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
6697
6697
  }]),
6698
6698
  "data-test-id": N.value,
6699
6699
  disabled: N.disabled,
6700
- onClick: (y) => v($)(N.value, E, N.disabled),
6701
- onMouseover: (y) => v(A)(N.value)
6700
+ onClick: (y) => v(C)(N.value, E, N.disabled),
6701
+ onMouseover: (y) => v(M)(N.value)
6702
6702
  }, [
6703
6703
  D.$slots.quarter ? de(D.$slots, "quarter", {
6704
6704
  key: 0,
6705
6705
  value: N.value,
6706
6706
  text: N.text
6707
- }) : (w(), C(xe, { key: 1 }, [
6707
+ }) : (w(), S(xe, { key: 1 }, [
6708
6708
  Wt(Ne(N.text), 1)
6709
6709
  ], 64))
6710
6710
  ], 42, Td)
@@ -6730,10 +6730,10 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
6730
6730
  () => a.value <= e.value.mobileBreakpoint && !t ? !0 : void 0
6731
6731
  )
6732
6732
  };
6733
- }, Od = ["id", "tabindex", "role", "aria-label"], Cd = {
6733
+ }, Od = ["id", "tabindex", "role", "aria-label"], Sd = {
6734
6734
  key: 0,
6735
6735
  class: "dp--menu-load-container"
6736
- }, Sd = {
6736
+ }, Cd = {
6737
6737
  key: 1,
6738
6738
  class: "dp--menu-header"
6739
6739
  }, $d = ["data-dp-mobile"], Id = {
@@ -6786,42 +6786,42 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
6786
6786
  ],
6787
6787
  setup(e, { expose: t, emit: a }) {
6788
6788
  const n = a, r = e, l = Q(null), o = j(() => {
6789
- const { openOnTop: T, ...ie } = r;
6789
+ const { openOnTop: A, ...ie } = r;
6790
6790
  return {
6791
6791
  ...ie,
6792
- isMobile: $.value,
6792
+ isMobile: C.value,
6793
6793
  flowStep: be.value,
6794
6794
  menuWrapRef: l.value
6795
6795
  };
6796
- }), { setMenuFocused: s, setShiftKey: u, control: p } = Vo(), d = wa(), { defaultedTextInput: m, defaultedInline: c, defaultedConfig: k, defaultedUI: h, handleEventPropagation: A } = je(r), { isMobile: $ } = Xo(k, r.shadow), g = Q(null), x = Q(0), b = Q(null), D = Q(!1), F = Q(null), E = Q(!1), N = (T) => {
6797
- E.value = !0, k.value.allowPreventDefault && T.preventDefault(), ta(T, k.value, !0);
6796
+ }), { setMenuFocused: s, setShiftKey: u, control: p } = Vo(), d = wa(), { defaultedTextInput: m, defaultedInline: c, defaultedConfig: k, defaultedUI: h, handleEventPropagation: M } = je(r), { isMobile: C } = Xo(k, r.shadow), g = Q(null), x = Q(0), b = Q(null), D = Q(!1), F = Q(null), E = Q(!1), N = (A) => {
6797
+ E.value = !0, k.value.allowPreventDefault && A.preventDefault(), ta(A, k.value, !0);
6798
6798
  };
6799
6799
  nt(() => {
6800
6800
  if (!r.shadow) {
6801
6801
  D.value = !0, W(), window.addEventListener("resize", W);
6802
- const T = tt(l);
6803
- T && !m.value.enabled && !c.value.enabled && (s(!0), ne()), T && (T.addEventListener("pointerdown", N), T.addEventListener("mousedown", N));
6802
+ const A = tt(l);
6803
+ A && !m.value.enabled && !c.value.enabled && (s(!0), ne()), A && (A.addEventListener("pointerdown", N), A.addEventListener("mousedown", N));
6804
6804
  }
6805
6805
  document.addEventListener("mousedown", Ge);
6806
6806
  }), sa(() => {
6807
6807
  window.removeEventListener("resize", W), document.removeEventListener("mousedown", Ge);
6808
- const T = tt(l);
6809
- T && (T.removeEventListener("pointerdown", N), T.removeEventListener("mousedown", N));
6808
+ const A = tt(l);
6809
+ A && (A.removeEventListener("pointerdown", N), A.removeEventListener("mousedown", N));
6810
6810
  });
6811
6811
  const W = () => {
6812
- const T = tt(b);
6813
- T && (x.value = T.getBoundingClientRect().width);
6814
- }, { arrowRight: y, arrowLeft: I, arrowDown: te, arrowUp: ce } = ua(), { flowStep: be, updateFlowStep: P, childMount: Y, resetFlow: M, handleFlow: q } = Hd(r, n, F), ae = j(() => r.monthPicker ? Uc : r.yearPicker ? Qc : r.timePicker ? sd : r.quarterPicker ? Ad : Pd), H = j(() => {
6815
- var T;
6812
+ const A = tt(b);
6813
+ A && (x.value = A.getBoundingClientRect().width);
6814
+ }, { arrowRight: y, arrowLeft: I, arrowDown: te, arrowUp: ce } = ua(), { flowStep: be, updateFlowStep: P, childMount: Y, resetFlow: T, handleFlow: q } = Hd(r, n, F), ae = j(() => r.monthPicker ? Uc : r.yearPicker ? Qc : r.timePicker ? sd : r.quarterPicker ? Ad : Pd), H = j(() => {
6815
+ var A;
6816
6816
  if (k.value.arrowLeft) return k.value.arrowLeft;
6817
- const ie = (T = l.value) == null ? void 0 : T.getBoundingClientRect(), $e = r.getInputRect();
6817
+ const ie = (A = l.value) == null ? void 0 : A.getBoundingClientRect(), $e = r.getInputRect();
6818
6818
  return ($e == null ? void 0 : $e.width) < (x == null ? void 0 : x.value) && ($e == null ? void 0 : $e.left) <= ((ie == null ? void 0 : ie.left) ?? 0) ? `${($e == null ? void 0 : $e.width) / 2}px` : ($e == null ? void 0 : $e.right) >= ((ie == null ? void 0 : ie.right) ?? 0) && ($e == null ? void 0 : $e.width) < (x == null ? void 0 : x.value) ? `${(x == null ? void 0 : x.value) - ($e == null ? void 0 : $e.width) / 2}px` : "50%";
6819
6819
  }), ne = () => {
6820
- const T = tt(l);
6821
- T && T.focus({ preventScroll: !0 });
6820
+ const A = tt(l);
6821
+ A && A.focus({ preventScroll: !0 });
6822
6822
  }, L = j(() => {
6823
- var T;
6824
- return ((T = F.value) == null ? void 0 : T.getSidebarProps()) || {};
6823
+ var A;
6824
+ return ((A = F.value) == null ? void 0 : A.getSidebarProps()) || {};
6825
6825
  }), me = () => {
6826
6826
  r.openOnTop && n("recalculate-position");
6827
6827
  }, _ = wt(d, "action"), R = j(() => r.monthPicker || r.yearPicker ? wt(d, "monthYear") : r.timePicker ? wt(d, "timePicker") : wt(d, "shared")), V = j(() => r.openOnTop ? "dp__arrow_bottom" : "dp__arrow_top"), G = j(() => ({
@@ -6835,101 +6835,101 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
6835
6835
  dp__relative: c.value.enabled,
6836
6836
  ...h.value.menu ?? {}
6837
6837
  })
6838
- ), S = (T) => {
6839
- ta(T, k.value, !0);
6840
- }, se = (T) => {
6841
- r.escClose && (n("close-picker"), A(T));
6842
- }, Re = (T) => {
6838
+ ), $ = (A) => {
6839
+ ta(A, k.value, !0);
6840
+ }, se = (A) => {
6841
+ r.escClose && (n("close-picker"), M(A));
6842
+ }, Re = (A) => {
6843
6843
  if (r.arrowNavigation) {
6844
- if (T === vt.up) return ce();
6845
- if (T === vt.down) return te();
6846
- if (T === vt.left) return I();
6847
- if (T === vt.right) return y();
6848
- } else T === vt.left || T === vt.up ? f("handleArrow", vt.left, 0, T === vt.up) : f("handleArrow", vt.right, 0, T === vt.down);
6849
- }, B = (T) => {
6850
- u(T.shiftKey), !r.disableMonthYearSelect && T.code === He.tab && T.target.classList.contains("dp__menu") && p.value.shiftKeyInMenu && (T.preventDefault(), ta(T, k.value, !0), n("close-picker"));
6844
+ if (A === vt.up) return ce();
6845
+ if (A === vt.down) return te();
6846
+ if (A === vt.left) return I();
6847
+ if (A === vt.right) return y();
6848
+ } else A === vt.left || A === vt.up ? f("handleArrow", vt.left, 0, A === vt.up) : f("handleArrow", vt.right, 0, A === vt.down);
6849
+ }, B = (A) => {
6850
+ u(A.shiftKey), !r.disableMonthYearSelect && A.code === He.tab && A.target.classList.contains("dp__menu") && p.value.shiftKeyInMenu && (A.preventDefault(), ta(A, k.value, !0), n("close-picker"));
6851
6851
  }, Me = () => {
6852
6852
  ne(), n("time-picker-close");
6853
- }, K = (T) => {
6853
+ }, K = (A) => {
6854
6854
  var ie, $e, at;
6855
- (ie = F.value) == null || ie.toggleTimePicker(!1, !1), ($e = F.value) == null || $e.toggleMonthPicker(!1, !1, T), (at = F.value) == null || at.toggleYearPicker(!1, !1, T);
6856
- }, re = (T, ie = 0) => {
6855
+ (ie = F.value) == null || ie.toggleTimePicker(!1, !1), ($e = F.value) == null || $e.toggleMonthPicker(!1, !1, A), (at = F.value) == null || at.toggleYearPicker(!1, !1, A);
6856
+ }, re = (A, ie = 0) => {
6857
6857
  var $e, at, $t;
6858
- return T === "month" ? ($e = F.value) == null ? void 0 : $e.toggleMonthPicker(!1, !0, ie) : T === "year" ? (at = F.value) == null ? void 0 : at.toggleYearPicker(!1, !0, ie) : T === "time" ? ($t = F.value) == null ? void 0 : $t.toggleTimePicker(!0, !1) : K(ie);
6859
- }, f = (T, ...ie) => {
6858
+ return A === "month" ? ($e = F.value) == null ? void 0 : $e.toggleMonthPicker(!1, !0, ie) : A === "year" ? (at = F.value) == null ? void 0 : at.toggleYearPicker(!1, !0, ie) : A === "time" ? ($t = F.value) == null ? void 0 : $t.toggleTimePicker(!0, !1) : K(ie);
6859
+ }, f = (A, ...ie) => {
6860
6860
  var $e, at;
6861
- ($e = F.value) != null && $e[T] && ((at = F.value) == null || at[T](...ie));
6861
+ ($e = F.value) != null && $e[A] && ((at = F.value) == null || at[A](...ie));
6862
6862
  }, ee = () => {
6863
6863
  f("selectCurrentDate");
6864
- }, le = (T, ie) => {
6865
- f("presetDate", Li(T), ie);
6864
+ }, le = (A, ie) => {
6865
+ f("presetDate", Li(A), ie);
6866
6866
  }, oe = () => {
6867
6867
  f("clearHoverDate");
6868
- }, Oe = (T, ie) => {
6869
- f("updateMonthYear", T, ie);
6870
- }, Te = (T, ie) => {
6871
- T.preventDefault(), Re(ie);
6872
- }, Ye = (T) => {
6868
+ }, Oe = (A, ie) => {
6869
+ f("updateMonthYear", A, ie);
6870
+ }, Te = (A, ie) => {
6871
+ A.preventDefault(), Re(ie);
6872
+ }, Ye = (A) => {
6873
6873
  var ie, $e, at;
6874
- if (B(T), T.key === He.home || T.key === He.end)
6874
+ if (B(A), A.key === He.home || A.key === He.end)
6875
6875
  return f(
6876
6876
  "selectWeekDate",
6877
- T.key === He.home,
6878
- T.target.getAttribute("id")
6877
+ A.key === He.home,
6878
+ A.target.getAttribute("id")
6879
6879
  );
6880
- switch ((T.key === He.pageUp || T.key === He.pageDown) && (T.shiftKey ? (f("changeYear", T.key === He.pageUp), (ie = sr(l.value, "overlay-year")) == null || ie.focus()) : (f("changeMonth", T.key === He.pageUp), ($e = sr(l.value, T.key === He.pageUp ? "action-prev" : "action-next")) == null || $e.focus()), T.target.getAttribute("id") && ((at = l.value) == null || at.focus({ preventScroll: !0 }))), T.key) {
6880
+ switch ((A.key === He.pageUp || A.key === He.pageDown) && (A.shiftKey ? (f("changeYear", A.key === He.pageUp), (ie = sr(l.value, "overlay-year")) == null || ie.focus()) : (f("changeMonth", A.key === He.pageUp), ($e = sr(l.value, A.key === He.pageUp ? "action-prev" : "action-next")) == null || $e.focus()), A.target.getAttribute("id") && ((at = l.value) == null || at.focus({ preventScroll: !0 }))), A.key) {
6881
6881
  case He.esc:
6882
- return se(T);
6882
+ return se(A);
6883
6883
  case He.arrowLeft:
6884
- return Te(T, vt.left);
6884
+ return Te(A, vt.left);
6885
6885
  case He.arrowRight:
6886
- return Te(T, vt.right);
6886
+ return Te(A, vt.right);
6887
6887
  case He.arrowUp:
6888
- return Te(T, vt.up);
6888
+ return Te(A, vt.up);
6889
6889
  case He.arrowDown:
6890
- return Te(T, vt.down);
6890
+ return Te(A, vt.down);
6891
6891
  default:
6892
6892
  return;
6893
6893
  }
6894
- }, Ge = (T) => {
6894
+ }, Ge = (A) => {
6895
6895
  var ie;
6896
- c.value.enabled && !c.value.input && !((ie = l.value) != null && ie.contains(T.target)) && E.value && (E.value = !1, n("menu-blur"));
6896
+ c.value.enabled && !c.value.input && !((ie = l.value) != null && ie.contains(A.target)) && E.value && (E.value = !1, n("menu-blur"));
6897
6897
  };
6898
6898
  return t({
6899
6899
  updateMonthYear: Oe,
6900
6900
  switchView: re,
6901
6901
  handleFlow: q,
6902
6902
  onValueCleared: () => {
6903
- var T, ie;
6904
- (ie = (T = F.value) == null ? void 0 : T.setStartTime) == null || ie.call(T);
6903
+ var A, ie;
6904
+ (ie = (A = F.value) == null ? void 0 : A.setStartTime) == null || ie.call(A);
6905
6905
  }
6906
- }), (T, ie) => {
6906
+ }), (A, ie) => {
6907
6907
  var $e, at, $t;
6908
- return w(), C("div", {
6909
- id: T.uid ? `dp-menu-${T.uid}` : void 0,
6908
+ return w(), S("div", {
6909
+ id: A.uid ? `dp-menu-${A.uid}` : void 0,
6910
6910
  ref_key: "dpMenuRef",
6911
6911
  ref: l,
6912
6912
  tabindex: v(c).enabled ? void 0 : "0",
6913
6913
  role: v(c).enabled ? void 0 : "dialog",
6914
- "aria-label": ($e = T.ariaLabels) == null ? void 0 : $e.menu,
6914
+ "aria-label": ($e = A.ariaLabels) == null ? void 0 : $e.menu,
6915
6915
  class: ge(i.value),
6916
6916
  style: st({ "--dp-arrow-left": H.value }),
6917
6917
  onMouseleave: oe,
6918
- onClick: S,
6918
+ onClick: $,
6919
6919
  onKeydown: Ye
6920
6920
  }, [
6921
- (T.disabled || T.readonly) && v(c).enabled || T.loading ? (w(), C("div", {
6921
+ (A.disabled || A.readonly) && v(c).enabled || A.loading ? (w(), S("div", {
6922
6922
  key: 0,
6923
6923
  class: ge(G.value)
6924
6924
  }, [
6925
- T.loading ? (w(), C("div", Cd, ie[19] || (ie[19] = [
6925
+ A.loading ? (w(), S("div", Sd, ie[19] || (ie[19] = [
6926
6926
  ve("span", { class: "dp--menu-loader" }, null, -1)
6927
6927
  ]))) : z("", !0)
6928
6928
  ], 2)) : z("", !0),
6929
- T.$slots["menu-header"] ? (w(), C("div", Sd, [
6930
- de(T.$slots, "menu-header")
6929
+ A.$slots["menu-header"] ? (w(), S("div", Cd, [
6930
+ de(A.$slots, "menu-header")
6931
6931
  ])) : z("", !0),
6932
- !v(c).enabled && !T.teleportCenter ? (w(), C("div", {
6932
+ !v(c).enabled && !A.teleportCenter ? (w(), S("div", {
6933
6933
  key: 2,
6934
6934
  class: ge(V.value)
6935
6935
  }, null, 2)) : z("", !0),
@@ -6937,33 +6937,33 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
6937
6937
  ref_key: "innerMenuRef",
6938
6938
  ref: b,
6939
6939
  class: ge({
6940
- dp__menu_content_wrapper: ((at = T.presetDates) == null ? void 0 : at.length) || !!T.$slots["left-sidebar"] || !!T.$slots["right-sidebar"],
6941
- "dp--menu-content-wrapper-collapsed": e.collapse && ((($t = T.presetDates) == null ? void 0 : $t.length) || !!T.$slots["left-sidebar"] || !!T.$slots["right-sidebar"])
6940
+ dp__menu_content_wrapper: ((at = A.presetDates) == null ? void 0 : at.length) || !!A.$slots["left-sidebar"] || !!A.$slots["right-sidebar"],
6941
+ "dp--menu-content-wrapper-collapsed": e.collapse && ((($t = A.presetDates) == null ? void 0 : $t.length) || !!A.$slots["left-sidebar"] || !!A.$slots["right-sidebar"])
6942
6942
  }),
6943
- "data-dp-mobile": v($),
6943
+ "data-dp-mobile": v(C),
6944
6944
  style: st({ "--dp-menu-width": `${x.value}px` })
6945
6945
  }, [
6946
- T.$slots["left-sidebar"] ? (w(), C("div", Id, [
6947
- de(T.$slots, "left-sidebar", it(yt(L.value)))
6946
+ A.$slots["left-sidebar"] ? (w(), S("div", Id, [
6947
+ de(A.$slots, "left-sidebar", it(yt(L.value)))
6948
6948
  ])) : z("", !0),
6949
- T.presetDates.length ? (w(), C("div", {
6949
+ A.presetDates.length ? (w(), S("div", {
6950
6950
  key: 1,
6951
6951
  class: ge({ "dp--preset-dates-collapsed": e.collapse, "dp--preset-dates": !0 }),
6952
- "data-dp-mobile": v($)
6952
+ "data-dp-mobile": v(C)
6953
6953
  }, [
6954
- (w(!0), C(xe, null, Fe(T.presetDates, (he, rt) => (w(), C(xe, { key: rt }, [
6955
- he.slot ? de(T.$slots, he.slot, {
6954
+ (w(!0), S(xe, null, Fe(A.presetDates, (he, rt) => (w(), S(xe, { key: rt }, [
6955
+ he.slot ? de(A.$slots, he.slot, {
6956
6956
  key: 0,
6957
6957
  presetDate: le,
6958
6958
  label: he.label,
6959
6959
  value: he.value
6960
- }) : (w(), C("button", {
6960
+ }) : (w(), S("button", {
6961
6961
  key: 1,
6962
6962
  type: "button",
6963
6963
  style: st(he.style || {}),
6964
6964
  class: ge(["dp__btn dp--preset-range", { "dp--preset-range-collapsed": e.collapse }]),
6965
6965
  "data-test-id": he.testId ?? void 0,
6966
- "data-dp-mobile": v($),
6966
+ "data-dp-mobile": v(C),
6967
6967
  onClick: At((It) => le(he.value, he.noTz), ["prevent"]),
6968
6968
  onKeydown: (It) => v(pt)(It, () => le(he.value, he.noTz), !0)
6969
6969
  }, Ne(he.label), 47, Yd))
@@ -6982,59 +6982,59 @@ const sr = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
6982
6982
  "flow-step": v(be),
6983
6983
  onMount: v(Y),
6984
6984
  onUpdateFlowStep: v(P),
6985
- onResetFlow: v(M),
6985
+ onResetFlow: v(T),
6986
6986
  onFocusMenu: ne,
6987
- onSelectDate: ie[0] || (ie[0] = (he) => T.$emit("select-date")),
6988
- onDateUpdate: ie[1] || (ie[1] = (he) => T.$emit("date-update", he)),
6989
- onTooltipOpen: ie[2] || (ie[2] = (he) => T.$emit("tooltip-open", he)),
6990
- onTooltipClose: ie[3] || (ie[3] = (he) => T.$emit("tooltip-close", he)),
6991
- onAutoApply: ie[4] || (ie[4] = (he) => T.$emit("auto-apply", he)),
6992
- onRangeStart: ie[5] || (ie[5] = (he) => T.$emit("range-start", he)),
6993
- onRangeEnd: ie[6] || (ie[6] = (he) => T.$emit("range-end", he)),
6994
- onInvalidFixedRange: ie[7] || (ie[7] = (he) => T.$emit("invalid-fixed-range", he)),
6995
- onTimeUpdate: ie[8] || (ie[8] = (he) => T.$emit("time-update")),
6996
- onAmPmChange: ie[9] || (ie[9] = (he) => T.$emit("am-pm-change", he)),
6997
- onTimePickerOpen: ie[10] || (ie[10] = (he) => T.$emit("time-picker-open", he)),
6987
+ onSelectDate: ie[0] || (ie[0] = (he) => A.$emit("select-date")),
6988
+ onDateUpdate: ie[1] || (ie[1] = (he) => A.$emit("date-update", he)),
6989
+ onTooltipOpen: ie[2] || (ie[2] = (he) => A.$emit("tooltip-open", he)),
6990
+ onTooltipClose: ie[3] || (ie[3] = (he) => A.$emit("tooltip-close", he)),
6991
+ onAutoApply: ie[4] || (ie[4] = (he) => A.$emit("auto-apply", he)),
6992
+ onRangeStart: ie[5] || (ie[5] = (he) => A.$emit("range-start", he)),
6993
+ onRangeEnd: ie[6] || (ie[6] = (he) => A.$emit("range-end", he)),
6994
+ onInvalidFixedRange: ie[7] || (ie[7] = (he) => A.$emit("invalid-fixed-range", he)),
6995
+ onTimeUpdate: ie[8] || (ie[8] = (he) => A.$emit("time-update")),
6996
+ onAmPmChange: ie[9] || (ie[9] = (he) => A.$emit("am-pm-change", he)),
6997
+ onTimePickerOpen: ie[10] || (ie[10] = (he) => A.$emit("time-picker-open", he)),
6998
6998
  onTimePickerClose: Me,
6999
6999
  onRecalculatePosition: me,
7000
- onUpdateMonthYear: ie[11] || (ie[11] = (he) => T.$emit("update-month-year", he)),
7001
- onAutoApplyInvalid: ie[12] || (ie[12] = (he) => T.$emit("auto-apply-invalid", he)),
7002
- onInvalidDate: ie[13] || (ie[13] = (he) => T.$emit("invalid-date", he)),
7003
- onOverlayToggle: ie[14] || (ie[14] = (he) => T.$emit("overlay-toggle", he)),
7004
- "onUpdate:internalModelValue": ie[15] || (ie[15] = (he) => T.$emit("update:internal-model-value", he))
7000
+ onUpdateMonthYear: ie[11] || (ie[11] = (he) => A.$emit("update-month-year", he)),
7001
+ onAutoApplyInvalid: ie[12] || (ie[12] = (he) => A.$emit("auto-apply-invalid", he)),
7002
+ onInvalidDate: ie[13] || (ie[13] = (he) => A.$emit("invalid-date", he)),
7003
+ onOverlayToggle: ie[14] || (ie[14] = (he) => A.$emit("overlay-toggle", he)),
7004
+ "onUpdate:internalModelValue": ie[15] || (ie[15] = (he) => A.$emit("update:internal-model-value", he))
7005
7005
  }), ft({ _: 2 }, [
7006
7006
  Fe(R.value, (he, rt) => ({
7007
7007
  name: he,
7008
7008
  fn: Pe((It) => [
7009
- de(T.$slots, he, it(yt({ ...It })))
7009
+ de(A.$slots, he, it(yt({ ...It })))
7010
7010
  ])
7011
7011
  }))
7012
7012
  ]), 1040, ["flow-step", "onMount", "onUpdateFlowStep", "onResetFlow"]))
7013
7013
  ], 512),
7014
- T.$slots["right-sidebar"] ? (w(), C("div", Ed, [
7015
- de(T.$slots, "right-sidebar", it(yt(L.value)))
7014
+ A.$slots["right-sidebar"] ? (w(), S("div", Ed, [
7015
+ de(A.$slots, "right-sidebar", it(yt(L.value)))
7016
7016
  ])) : z("", !0),
7017
- T.$slots["action-extra"] ? (w(), C("div", Nd, [
7018
- T.$slots["action-extra"] ? de(T.$slots, "action-extra", {
7017
+ A.$slots["action-extra"] ? (w(), S("div", Nd, [
7018
+ A.$slots["action-extra"] ? de(A.$slots, "action-extra", {
7019
7019
  key: 0,
7020
7020
  selectCurrentDate: ee
7021
7021
  }) : z("", !0)
7022
7022
  ])) : z("", !0)
7023
7023
  ], 14, $d),
7024
- !T.autoApply || v(k).keepActionRow ? (w(), De(Nc, ot({
7024
+ !A.autoApply || v(k).keepActionRow ? (w(), De(Nc, ot({
7025
7025
  key: 3,
7026
7026
  "menu-mount": D.value
7027
7027
  }, o.value, {
7028
7028
  "calendar-width": x.value,
7029
- onClosePicker: ie[16] || (ie[16] = (he) => T.$emit("close-picker")),
7030
- onSelectDate: ie[17] || (ie[17] = (he) => T.$emit("select-date")),
7031
- onInvalidSelect: ie[18] || (ie[18] = (he) => T.$emit("invalid-select")),
7029
+ onClosePicker: ie[16] || (ie[16] = (he) => A.$emit("close-picker")),
7030
+ onSelectDate: ie[17] || (ie[17] = (he) => A.$emit("select-date")),
7031
+ onInvalidSelect: ie[18] || (ie[18] = (he) => A.$emit("invalid-select")),
7032
7032
  onSelectNow: ee
7033
7033
  }), ft({ _: 2 }, [
7034
7034
  Fe(v(_), (he, rt) => ({
7035
7035
  name: he,
7036
7036
  fn: Pe((It) => [
7037
- de(T.$slots, he, it(yt({ ...It })))
7037
+ de(A.$slots, he, it(yt({ ...It })))
7038
7038
  ])
7039
7039
  }))
7040
7040
  ]), 1040, ["menu-mount", "calendar-width"])) : z("", !0)
@@ -7060,93 +7060,93 @@ const Fd = ({
7060
7060
  gt(k, () => {
7061
7061
  m.value = JSON.parse(JSON.stringify({})), F();
7062
7062
  });
7063
- const h = (M) => {
7063
+ const h = (T) => {
7064
7064
  if (o.teleport) {
7065
- const q = M.getBoundingClientRect();
7065
+ const q = T.getBoundingClientRect();
7066
7066
  return {
7067
7067
  left: q.left + window.scrollX,
7068
7068
  top: q.top + window.scrollY
7069
7069
  };
7070
7070
  }
7071
7071
  return { top: 0, left: 0 };
7072
- }, A = (M, q) => {
7073
- m.value.left = `${M + q - p.value.width}px`;
7074
- }, $ = (M) => {
7075
- m.value.left = `${M}px`;
7076
- }, g = (M, q) => {
7077
- o.position === Pa.left && $(M), o.position === Pa.right && A(M, q), o.position === Pa.center && (m.value.left = `${M + q / 2 - p.value.width / 2}px`);
7078
- }, x = (M) => {
7079
- const { width: q, height: ae } = M.getBoundingClientRect(), { top: H, left: ne } = h(M);
7072
+ }, M = (T, q) => {
7073
+ m.value.left = `${T + q - p.value.width}px`;
7074
+ }, C = (T) => {
7075
+ m.value.left = `${T}px`;
7076
+ }, g = (T, q) => {
7077
+ o.position === Pa.left && C(T), o.position === Pa.right && M(T, q), o.position === Pa.center && (m.value.left = `${T + q / 2 - p.value.width / 2}px`);
7078
+ }, x = (T) => {
7079
+ const { width: q, height: ae } = T.getBoundingClientRect(), { top: H, left: ne } = h(T);
7080
7080
  return { top: +H, left: +ne, width: q, height: ae };
7081
7081
  }, b = () => {
7082
7082
  m.value.left = "50%", m.value.top = "50%", m.value.transform = "translate(-50%, -50%)", m.value.position = "fixed", delete m.value.opacity;
7083
7083
  }, D = () => {
7084
- const M = tt(a);
7085
- m.value = o.altPosition(M);
7086
- }, F = (M = !0) => {
7084
+ const T = tt(a);
7085
+ m.value = o.altPosition(T);
7086
+ }, F = (T = !0) => {
7087
7087
  var q;
7088
7088
  if (!r.value.enabled) {
7089
7089
  if (k.value) return b();
7090
7090
  if (o.altPosition !== null) return D();
7091
- if (M) {
7091
+ if (T) {
7092
7092
  const ae = o.teleport ? (q = t.value) == null ? void 0 : q.$el : e.value;
7093
7093
  ae && (p.value = ae.getBoundingClientRect()), l("recalculate-position");
7094
7094
  }
7095
7095
  return ce();
7096
7096
  }
7097
- }, E = ({ inputEl: M, left: q, width: ae }) => {
7098
- window.screen.width > 768 && !d.value && g(q, ae), y(M);
7099
- }, N = (M) => {
7100
- const { top: q, left: ae, height: H, width: ne } = x(M);
7101
- m.value.top = `${H + q + +o.offset}px`, c.value = !1, d.value || (m.value.left = `${ae + ne / 2 - p.value.width / 2}px`), E({ inputEl: M, left: ae, width: ne });
7102
- }, W = (M) => {
7103
- const { top: q, left: ae, width: H } = x(M);
7104
- m.value.top = `${q - +o.offset - p.value.height}px`, c.value = !0, E({ inputEl: M, left: ae, width: H });
7105
- }, y = (M) => {
7097
+ }, E = ({ inputEl: T, left: q, width: ae }) => {
7098
+ window.screen.width > 768 && !d.value && g(q, ae), y(T);
7099
+ }, N = (T) => {
7100
+ const { top: q, left: ae, height: H, width: ne } = x(T);
7101
+ m.value.top = `${H + q + +o.offset}px`, c.value = !1, d.value || (m.value.left = `${ae + ne / 2 - p.value.width / 2}px`), E({ inputEl: T, left: ae, width: ne });
7102
+ }, W = (T) => {
7103
+ const { top: q, left: ae, width: H } = x(T);
7104
+ m.value.top = `${q - +o.offset - p.value.height}px`, c.value = !0, E({ inputEl: T, left: ae, width: H });
7105
+ }, y = (T) => {
7106
7106
  if (o.autoPosition) {
7107
- const { left: q, width: ae } = x(M), { left: H, right: ne } = p.value;
7107
+ const { left: q, width: ae } = x(T), { left: H, right: ne } = p.value;
7108
7108
  if (!d.value) {
7109
7109
  if (Math.abs(H) !== Math.abs(ne)) {
7110
7110
  if (H <= 0)
7111
- return d.value = !0, $(q);
7111
+ return d.value = !0, C(q);
7112
7112
  if (ne >= document.documentElement.clientWidth)
7113
- return d.value = !0, A(q, ae);
7113
+ return d.value = !0, M(q, ae);
7114
7114
  }
7115
7115
  return g(q, ae);
7116
7116
  }
7117
7117
  }
7118
7118
  }, I = () => {
7119
- const M = tt(a);
7120
- if (M) {
7119
+ const T = tt(a);
7120
+ if (T) {
7121
7121
  if (o.autoPosition === Dt.top) return Dt.top;
7122
7122
  if (o.autoPosition === Dt.bottom) return Dt.bottom;
7123
- const { height: q } = p.value, { top: ae, height: H } = M.getBoundingClientRect(), ne = window.innerHeight - ae - H, L = ae;
7123
+ const { height: q } = p.value, { top: ae, height: H } = T.getBoundingClientRect(), ne = window.innerHeight - ae - H, L = ae;
7124
7124
  return q <= ne ? Dt.bottom : q > ne && q <= L ? Dt.top : ne >= L ? Dt.bottom : Dt.top;
7125
7125
  }
7126
7126
  return Dt.bottom;
7127
- }, te = (M) => I() === Dt.bottom ? N(M) : W(M), ce = () => {
7128
- const M = tt(a);
7129
- if (M)
7130
- return o.autoPosition ? te(M) : N(M);
7131
- }, be = function(M) {
7132
- if (M) {
7133
- const q = M.scrollHeight > M.clientHeight, ae = window.getComputedStyle(M).overflowY.indexOf("hidden") !== -1;
7127
+ }, te = (T) => I() === Dt.bottom ? N(T) : W(T), ce = () => {
7128
+ const T = tt(a);
7129
+ if (T)
7130
+ return o.autoPosition ? te(T) : N(T);
7131
+ }, be = function(T) {
7132
+ if (T) {
7133
+ const q = T.scrollHeight > T.clientHeight, ae = window.getComputedStyle(T).overflowY.indexOf("hidden") !== -1;
7134
7134
  return q && !ae;
7135
7135
  }
7136
7136
  return !0;
7137
- }, P = function(M) {
7138
- return !M || M === document.body || M.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? window : be(M) ? M : P(
7139
- M.assignedSlot && u.value.shadowDom ? M.assignedSlot.parentNode : M.parentNode
7137
+ }, P = function(T) {
7138
+ return !T || T === document.body || T.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? window : be(T) ? T : P(
7139
+ T.assignedSlot && u.value.shadowDom ? T.assignedSlot.parentNode : T.parentNode
7140
7140
  );
7141
- }, Y = (M) => {
7142
- if (M)
7141
+ }, Y = (T) => {
7142
+ if (T)
7143
7143
  switch (o.position) {
7144
7144
  case Pa.left:
7145
7145
  return { left: 0, transform: "translateX(0)" };
7146
7146
  case Pa.right:
7147
- return { left: `${M.width}px`, transform: "translateX(-100%)" };
7147
+ return { left: `${T.width}px`, transform: "translateX(-100%)" };
7148
7148
  default:
7149
- return { left: `${M.width / 2}px`, transform: "translateX(-50%)" };
7149
+ return { left: `${T.width / 2}px`, transform: "translateX(-50%)" };
7150
7150
  }
7151
7151
  return {};
7152
7152
  };
@@ -7156,14 +7156,14 @@ const Fd = ({
7156
7156
  xCorrect: d,
7157
7157
  setMenuPosition: F,
7158
7158
  getScrollableParent: P,
7159
- shadowRender: (M, q, ae) => {
7159
+ shadowRender: (T, q, ae) => {
7160
7160
  var H, ne, L;
7161
7161
  const me = document.createElement("div"), _ = (H = tt(a)) == null ? void 0 : H.getBoundingClientRect();
7162
7162
  me.setAttribute("id", "dp--temp-container");
7163
7163
  const R = (ne = n.value) != null && ne.clientWidth ? n.value : document.body;
7164
7164
  R.append(me);
7165
7165
  const V = Y(_), G = u.value.shadowDom ? Object.keys(s).filter(
7166
- (S) => ["right-sidebar", "left-sidebar", "top-extra", "action-extra"].includes(S)
7166
+ ($) => ["right-sidebar", "left-sidebar", "top-extra", "action-extra"].includes($)
7167
7167
  ) : Object.keys(s), i = Or(
7168
7168
  q,
7169
7169
  {
@@ -7171,9 +7171,9 @@ const Fd = ({
7171
7171
  shadow: !0,
7172
7172
  style: { opacity: 0, position: "absolute", ...V }
7173
7173
  },
7174
- Object.fromEntries(G.map((S) => [S, s[S]]))
7174
+ Object.fromEntries(G.map(($) => [$, s[$]]))
7175
7175
  );
7176
- M != null && (i.appContext = M.appContext), ul(i, me), p.value = (L = i.el) == null ? void 0 : L.getBoundingClientRect(), ul(null, me), R.removeChild(me);
7176
+ T != null && (i.appContext = T.appContext), ul(i, me), p.value = (L = i.el) == null ? void 0 : L.getBoundingClientRect(), ul(null, me), R.removeChild(me);
7177
7177
  }
7178
7178
  };
7179
7179
  }, Kt = [
@@ -7239,7 +7239,7 @@ const Fd = ({
7239
7239
  const t = j(() => (n) => e.value ? n ? e.value.open : e.value.close : ""), a = j(() => (n) => e.value ? n ? e.value.menuAppearTop : e.value.menuAppearBottom : "");
7240
7240
  return { transitionName: t, showTransition: !!e.value, menuTransition: a };
7241
7241
  }, rn = (e, t, a) => {
7242
- const { defaultedRange: n, defaultedTz: r } = je(e), l = X(bt(X(), r.value.timezone)), o = Q([{ month: Ce(l), year: ke(l) }]), s = (c) => {
7242
+ const { defaultedRange: n, defaultedTz: r } = je(e), l = X(bt(X(), r.value.timezone)), o = Q([{ month: Se(l), year: ke(l) }]), s = (c) => {
7243
7243
  const k = {
7244
7244
  hours: jt(l),
7245
7245
  minutes: ra(l),
@@ -7295,24 +7295,24 @@ const Fd = ({
7295
7295
  !i.current && t.hideOffsetDates || (d.value = i.value);
7296
7296
  }, k = () => {
7297
7297
  d.value = null;
7298
- }, h = (i) => Array.isArray(e.value) && u.value.enabled && e.value[0] && d.value ? i ? Ke(d.value, e.value[0]) : qe(d.value, e.value[0]) : !0, A = (i, S) => {
7299
- const se = () => e.value ? S ? e.value[0] || null : e.value[1] : null, Re = e.value && Array.isArray(e.value) ? se() : null;
7300
- return Se(X(i.value), Re);
7301
- }, $ = (i) => {
7302
- const S = Array.isArray(e.value) ? e.value[0] : null;
7303
- return i ? !qe(d.value ?? null, S) : !0;
7304
- }, g = (i, S = !0) => (u.value.enabled || t.weekPicker) && Array.isArray(e.value) && e.value.length === 2 ? t.hideOffsetDates && !i.current ? !1 : Se(X(i.value), e.value[S ? 0 : 1]) : u.value.enabled ? A(i, S) && $(S) || Se(i.value, Array.isArray(e.value) ? e.value[0] : null) && h(S) : !1, x = (i, S) => {
7298
+ }, h = (i) => Array.isArray(e.value) && u.value.enabled && e.value[0] && d.value ? i ? Ke(d.value, e.value[0]) : qe(d.value, e.value[0]) : !0, M = (i, $) => {
7299
+ const se = () => e.value ? $ ? e.value[0] || null : e.value[1] : null, Re = e.value && Array.isArray(e.value) ? se() : null;
7300
+ return Ce(X(i.value), Re);
7301
+ }, C = (i) => {
7302
+ const $ = Array.isArray(e.value) ? e.value[0] : null;
7303
+ return i ? !qe(d.value ?? null, $) : !0;
7304
+ }, g = (i, $ = !0) => (u.value.enabled || t.weekPicker) && Array.isArray(e.value) && e.value.length === 2 ? t.hideOffsetDates && !i.current ? !1 : Ce(X(i.value), e.value[$ ? 0 : 1]) : u.value.enabled ? M(i, $) && C($) || Ce(i.value, Array.isArray(e.value) ? e.value[0] : null) && h($) : !1, x = (i, $) => {
7305
7305
  if (Array.isArray(e.value) && e.value[0] && e.value.length === 1) {
7306
- const se = Se(i.value, d.value);
7307
- return S ? Ke(e.value[0], i.value) && se : qe(e.value[0], i.value) && se;
7306
+ const se = Ce(i.value, d.value);
7307
+ return $ ? Ke(e.value[0], i.value) && se : qe(e.value[0], i.value) && se;
7308
7308
  }
7309
7309
  return !1;
7310
- }, b = (i) => !e.value || t.hideOffsetDates && !i.current ? !1 : u.value.enabled ? t.modelAuto && Array.isArray(e.value) ? Se(i.value, e.value[0] ? e.value[0] : m.value) : !1 : n.value.enabled && Array.isArray(e.value) ? e.value.some((S) => Se(S, i.value)) : Se(i.value, e.value ? e.value : m.value), D = (i) => {
7310
+ }, b = (i) => !e.value || t.hideOffsetDates && !i.current ? !1 : u.value.enabled ? t.modelAuto && Array.isArray(e.value) ? Ce(i.value, e.value[0] ? e.value[0] : m.value) : !1 : n.value.enabled && Array.isArray(e.value) ? e.value.some(($) => Ce($, i.value)) : Ce(i.value, e.value ? e.value : m.value), D = (i) => {
7311
7311
  if (u.value.autoRange || t.weekPicker) {
7312
7312
  if (d.value) {
7313
7313
  if (t.hideOffsetDates && !i.current) return !1;
7314
- const S = xt(d.value, +u.value.autoRange), se = Ht(X(d.value), t.weekStart);
7315
- return t.weekPicker ? Se(se[1], X(i.value)) : Se(S, X(i.value));
7314
+ const $ = xt(d.value, +u.value.autoRange), se = Ht(X(d.value), t.weekStart);
7315
+ return t.weekPicker ? Ce(se[1], X(i.value)) : Ce($, X(i.value));
7316
7316
  }
7317
7317
  return !1;
7318
7318
  }
@@ -7320,10 +7320,10 @@ const Fd = ({
7320
7320
  }, F = (i) => {
7321
7321
  if (u.value.autoRange || t.weekPicker) {
7322
7322
  if (d.value) {
7323
- const S = xt(d.value, +u.value.autoRange);
7323
+ const $ = xt(d.value, +u.value.autoRange);
7324
7324
  if (t.hideOffsetDates && !i.current) return !1;
7325
7325
  const se = Ht(X(d.value), t.weekStart);
7326
- return t.weekPicker ? Ke(i.value, se[0]) && qe(i.value, se[1]) : Ke(i.value, d.value) && qe(i.value, S);
7326
+ return t.weekPicker ? Ke(i.value, se[0]) && qe(i.value, se[1]) : Ke(i.value, d.value) && qe(i.value, $);
7327
7327
  }
7328
7328
  return !1;
7329
7329
  }
@@ -7332,43 +7332,43 @@ const Fd = ({
7332
7332
  if (u.value.autoRange || t.weekPicker) {
7333
7333
  if (d.value) {
7334
7334
  if (t.hideOffsetDates && !i.current) return !1;
7335
- const S = Ht(X(d.value), t.weekStart);
7336
- return t.weekPicker ? Se(S[0], i.value) : Se(d.value, i.value);
7335
+ const $ = Ht(X(d.value), t.weekStart);
7336
+ return t.weekPicker ? Ce($[0], i.value) : Ce(d.value, i.value);
7337
7337
  }
7338
7338
  return !1;
7339
7339
  }
7340
7340
  return !1;
7341
- }, N = (i) => Xa(e.value, d.value, i.value), W = () => t.modelAuto && Array.isArray(t.internalModelValue) ? !!t.internalModelValue[0] : !1, y = () => t.modelAuto ? So(t.internalModelValue) : !0, I = (i) => {
7341
+ }, N = (i) => Xa(e.value, d.value, i.value), W = () => t.modelAuto && Array.isArray(t.internalModelValue) ? !!t.internalModelValue[0] : !1, y = () => t.modelAuto ? Co(t.internalModelValue) : !0, I = (i) => {
7342
7342
  if (t.weekPicker) return !1;
7343
- const S = u.value.enabled ? !g(i) && !g(i, !1) : !0;
7344
- return !p(i.value) && !b(i) && !(!i.current && t.hideOffsetDates) && S;
7343
+ const $ = u.value.enabled ? !g(i) && !g(i, !1) : !0;
7344
+ return !p(i.value) && !b(i) && !(!i.current && t.hideOffsetDates) && $;
7345
7345
  }, te = (i) => u.value.enabled ? t.modelAuto ? W() && b(i) : !1 : b(i), ce = (i) => l.value ? oc(i.value, s.value.highlight) : !1, be = (i) => {
7346
- const S = p(i.value);
7347
- return S && (typeof l.value == "function" ? !l.value(i.value, S) : !l.value.options.highlightDisabled);
7346
+ const $ = p(i.value);
7347
+ return $ && (typeof l.value == "function" ? !l.value(i.value, $) : !l.value.options.highlightDisabled);
7348
7348
  }, P = (i) => {
7349
- var S;
7350
- return typeof l.value == "function" ? l.value(i.value) : (S = l.value.weekdays) == null ? void 0 : S.includes(i.value.getDay());
7351
- }, Y = (i) => (u.value.enabled || t.weekPicker) && (!(a.value.count > 0) || i.current) && y() && !(!i.current && t.hideOffsetDates) && !b(i) ? N(i) : !1, M = (i) => {
7349
+ var $;
7350
+ return typeof l.value == "function" ? l.value(i.value) : ($ = l.value.weekdays) == null ? void 0 : $.includes(i.value.getDay());
7351
+ }, Y = (i) => (u.value.enabled || t.weekPicker) && (!(a.value.count > 0) || i.current) && y() && !(!i.current && t.hideOffsetDates) && !b(i) ? N(i) : !1, T = (i) => {
7352
7352
  if (Array.isArray(e.value) && e.value.length === 1) {
7353
- const { before: S, after: se } = Dl(+u.value.maxRange, e.value[0]);
7354
- return Sa(i.value, S) || ya(i.value, se);
7353
+ const { before: $, after: se } = Dl(+u.value.maxRange, e.value[0]);
7354
+ return Ca(i.value, $) || ya(i.value, se);
7355
7355
  }
7356
7356
  return !1;
7357
7357
  }, q = (i) => {
7358
7358
  if (Array.isArray(e.value) && e.value.length === 1) {
7359
- const { before: S, after: se } = Dl(+u.value.minRange, e.value[0]);
7360
- return Xa([S, se], e.value[0], i.value);
7359
+ const { before: $, after: se } = Dl(+u.value.minRange, e.value[0]);
7360
+ return Xa([$, se], e.value[0], i.value);
7361
7361
  }
7362
7362
  return !1;
7363
- }, ae = (i) => u.value.enabled && (u.value.maxRange || u.value.minRange) ? u.value.maxRange && u.value.minRange ? M(i) || q(i) : u.value.maxRange ? M(i) : q(i) : !1, H = (i) => {
7364
- const { isRangeStart: S, isRangeEnd: se } = _(i), Re = u.value.enabled ? S || se : !1;
7363
+ }, ae = (i) => u.value.enabled && (u.value.maxRange || u.value.minRange) ? u.value.maxRange && u.value.minRange ? T(i) || q(i) : u.value.maxRange ? T(i) : q(i) : !1, H = (i) => {
7364
+ const { isRangeStart: $, isRangeEnd: se } = _(i), Re = u.value.enabled ? $ || se : !1;
7365
7365
  return {
7366
7366
  dp__cell_offset: !i.current,
7367
7367
  dp__pointer: !t.disabled && !(!i.current && t.hideOffsetDates) && !p(i.value) && !ae(i),
7368
7368
  dp__cell_disabled: p(i.value) || ae(i),
7369
7369
  dp__cell_highlight: !be(i) && (ce(i) || P(i)) && !te(i) && !Re && !E(i) && !(Y(i) && t.weekPicker) && !se,
7370
7370
  dp__cell_highlight_active: !be(i) && (ce(i) || P(i)) && te(i),
7371
- dp__today: !t.noToday && Se(i.value, m.value) && i.current,
7371
+ dp__today: !t.noToday && Ce(i.value, m.value) && i.current,
7372
7372
  "dp--past": qe(i.value, m.value),
7373
7373
  "dp--future": Ke(i.value, m.value)
7374
7374
  };
@@ -7377,12 +7377,12 @@ const Fd = ({
7377
7377
  dp__date_hover: I(i)
7378
7378
  }), L = (i) => {
7379
7379
  if (e.value && !Array.isArray(e.value)) {
7380
- const S = Ht(e.value, t.weekStart);
7380
+ const $ = Ht(e.value, t.weekStart);
7381
7381
  return {
7382
7382
  ...V(i),
7383
- dp__range_start: Se(S[0], i.value),
7384
- dp__range_end: Se(S[1], i.value),
7385
- dp__range_between_week: Ke(i.value, S[0]) && qe(i.value, S[1])
7383
+ dp__range_start: Ce($[0], i.value),
7384
+ dp__range_end: Ce($[1], i.value),
7385
+ dp__range_between_week: Ke(i.value, $[0]) && qe(i.value, $[1])
7386
7386
  };
7387
7387
  }
7388
7388
  return {
@@ -7390,28 +7390,28 @@ const Fd = ({
7390
7390
  };
7391
7391
  }, me = (i) => {
7392
7392
  if (e.value && Array.isArray(e.value)) {
7393
- const S = Ht(e.value[0], t.weekStart), se = e.value[1] ? Ht(e.value[1], t.weekStart) : [];
7393
+ const $ = Ht(e.value[0], t.weekStart), se = e.value[1] ? Ht(e.value[1], t.weekStart) : [];
7394
7394
  return {
7395
7395
  ...V(i),
7396
- dp__range_start: Se(S[0], i.value) || Se(se[0], i.value),
7397
- dp__range_end: Se(S[1], i.value) || Se(se[1], i.value),
7398
- dp__range_between_week: Ke(i.value, S[0]) && qe(i.value, S[1]) || Ke(i.value, se[0]) && qe(i.value, se[1]),
7399
- dp__range_between: Ke(i.value, S[1]) && qe(i.value, se[0])
7396
+ dp__range_start: Ce($[0], i.value) || Ce(se[0], i.value),
7397
+ dp__range_end: Ce($[1], i.value) || Ce(se[1], i.value),
7398
+ dp__range_between_week: Ke(i.value, $[0]) && qe(i.value, $[1]) || Ke(i.value, se[0]) && qe(i.value, se[1]),
7399
+ dp__range_between: Ke(i.value, $[1]) && qe(i.value, se[0])
7400
7400
  };
7401
7401
  }
7402
7402
  return {
7403
7403
  ...V(i)
7404
7404
  };
7405
7405
  }, _ = (i) => {
7406
- const S = a.value.count > 0 ? i.current && g(i) && y() : g(i) && y(), se = a.value.count > 0 ? i.current && g(i, !1) && y() : g(i, !1) && y();
7407
- return { isRangeStart: S, isRangeEnd: se };
7406
+ const $ = a.value.count > 0 ? i.current && g(i) && y() : g(i) && y(), se = a.value.count > 0 ? i.current && g(i, !1) && y() : g(i, !1) && y();
7407
+ return { isRangeStart: $, isRangeEnd: se };
7408
7408
  }, R = (i) => {
7409
- const { isRangeStart: S, isRangeEnd: se } = _(i);
7409
+ const { isRangeStart: $, isRangeEnd: se } = _(i);
7410
7410
  return {
7411
- dp__range_start: S,
7411
+ dp__range_start: $,
7412
7412
  dp__range_end: se,
7413
7413
  dp__range_between: Y(i),
7414
- dp__date_hover: Se(i.value, d.value) && !S && !se && !t.weekPicker,
7414
+ dp__date_hover: Ce(i.value, d.value) && !$ && !se && !t.weekPicker,
7415
7415
  dp__date_hover_start: x(i, !0),
7416
7416
  dp__date_hover_end: x(i, !1)
7417
7417
  };
@@ -7433,72 +7433,72 @@ const Fd = ({
7433
7433
  };
7434
7434
  }, ca = (e) => {
7435
7435
  const { defaultedFilters: t, defaultedRange: a, propDates: n, defaultedMultiDates: r } = je(e), l = (P) => n.value.disabledDates ? typeof n.value.disabledDates == "function" ? n.value.disabledDates(X(P)) : !!bn(P, n.value.disabledDates) : !1, o = (P) => n.value.maxDate ? e.yearPicker ? ke(P) > ke(n.value.maxDate) : Ke(P, n.value.maxDate) : !1, s = (P) => n.value.minDate ? e.yearPicker ? ke(P) < ke(n.value.minDate) : qe(P, n.value.minDate) : !1, u = (P) => {
7436
- const Y = o(P), M = s(P), q = l(P), ae = t.value.months.map((_) => +_).includes(Ce(P)), H = e.disabledWeekDays.length ? e.disabledWeekDays.some((_) => +_ === qs(P)) : !1, ne = k(P), L = ke(P), me = L < +e.yearRange[0] || L > +e.yearRange[1];
7437
- return !(Y || M || q || ae || me || H || ne);
7438
- }, p = (P, Y) => qe(...ea(n.value.minDate, P, Y)) || Se(...ea(n.value.minDate, P, Y)), d = (P, Y) => Ke(...ea(n.value.maxDate, P, Y)) || Se(...ea(n.value.maxDate, P, Y)), m = (P, Y, M) => {
7436
+ const Y = o(P), T = s(P), q = l(P), ae = t.value.months.map((_) => +_).includes(Se(P)), H = e.disabledWeekDays.length ? e.disabledWeekDays.some((_) => +_ === qs(P)) : !1, ne = k(P), L = ke(P), me = L < +e.yearRange[0] || L > +e.yearRange[1];
7437
+ return !(Y || T || q || ae || me || H || ne);
7438
+ }, p = (P, Y) => qe(...ea(n.value.minDate, P, Y)) || Ce(...ea(n.value.minDate, P, Y)), d = (P, Y) => Ke(...ea(n.value.maxDate, P, Y)) || Ce(...ea(n.value.maxDate, P, Y)), m = (P, Y, T) => {
7439
7439
  let q = !1;
7440
- return n.value.maxDate && M && d(P, Y) && (q = !0), n.value.minDate && !M && p(P, Y) && (q = !0), q;
7441
- }, c = (P, Y, M, q) => {
7440
+ return n.value.maxDate && T && d(P, Y) && (q = !0), n.value.minDate && !T && p(P, Y) && (q = !0), q;
7441
+ }, c = (P, Y, T, q) => {
7442
7442
  let ae = !1;
7443
- return q && (n.value.minDate || n.value.maxDate) ? n.value.minDate && n.value.maxDate ? ae = m(P, Y, M) : (n.value.minDate && p(P, Y) || n.value.maxDate && d(P, Y)) && (ae = !0) : ae = !0, ae;
7444
- }, k = (P) => Array.isArray(n.value.allowedDates) && !n.value.allowedDates.length ? !0 : n.value.allowedDates ? !bn(P, n.value.allowedDates, Ro(e.monthPicker, e.yearPicker)) : !1, h = (P) => !u(P), A = (P) => a.value.noDisabledRange ? !mo({ start: P[0], end: P[1] }).some((Y) => h(Y)) : !0, $ = (P) => {
7443
+ return q && (n.value.minDate || n.value.maxDate) ? n.value.minDate && n.value.maxDate ? ae = m(P, Y, T) : (n.value.minDate && p(P, Y) || n.value.maxDate && d(P, Y)) && (ae = !0) : ae = !0, ae;
7444
+ }, k = (P) => Array.isArray(n.value.allowedDates) && !n.value.allowedDates.length ? !0 : n.value.allowedDates ? !bn(P, n.value.allowedDates, Ro(e.monthPicker, e.yearPicker)) : !1, h = (P) => !u(P), M = (P) => a.value.noDisabledRange ? !mo({ start: P[0], end: P[1] }).some((Y) => h(Y)) : !0, C = (P) => {
7445
7445
  if (P) {
7446
7446
  const Y = ke(P);
7447
7447
  return Y >= +e.yearRange[0] && Y <= e.yearRange[1];
7448
7448
  }
7449
7449
  return !0;
7450
- }, g = (P, Y) => !!(Array.isArray(P) && P[Y] && (a.value.maxRange || a.value.minRange) && $(P[Y])), x = (P, Y, M = 0) => {
7451
- if (g(Y, M) && $(P)) {
7452
- const q = uo(P, Y[M]), ae = Fo(Y[M], P), H = ae.length === 1 ? 0 : ae.filter((L) => h(L)).length, ne = Math.abs(q) - (a.value.minMaxRawRange ? 0 : H);
7450
+ }, g = (P, Y) => !!(Array.isArray(P) && P[Y] && (a.value.maxRange || a.value.minRange) && C(P[Y])), x = (P, Y, T = 0) => {
7451
+ if (g(Y, T) && C(P)) {
7452
+ const q = uo(P, Y[T]), ae = Fo(Y[T], P), H = ae.length === 1 ? 0 : ae.filter((L) => h(L)).length, ne = Math.abs(q) - (a.value.minMaxRawRange ? 0 : H);
7453
7453
  if (a.value.minRange && a.value.maxRange)
7454
7454
  return ne >= +a.value.minRange && ne <= +a.value.maxRange;
7455
7455
  if (a.value.minRange) return ne >= +a.value.minRange;
7456
7456
  if (a.value.maxRange) return ne <= +a.value.maxRange;
7457
7457
  }
7458
7458
  return !0;
7459
- }, b = () => !e.enableTimePicker || e.monthPicker || e.yearPicker || e.ignoreTimeValidation, D = (P) => Array.isArray(P) ? [P[0] ? Un(P[0]) : null, P[1] ? Un(P[1]) : null] : Un(P), F = (P, Y, M) => P.find(
7459
+ }, b = () => !e.enableTimePicker || e.monthPicker || e.yearPicker || e.ignoreTimeValidation, D = (P) => Array.isArray(P) ? [P[0] ? Un(P[0]) : null, P[1] ? Un(P[1]) : null] : Un(P), F = (P, Y, T) => P.find(
7460
7460
  (q) => +q.hours === jt(Y) && q.minutes === "*" ? !0 : +q.minutes === ra(Y) && +q.hours === jt(Y)
7461
- ) && M, E = (P, Y, M) => {
7461
+ ) && T, E = (P, Y, T) => {
7462
7462
  const [q, ae] = P, [H, ne] = Y;
7463
- return !F(q, H, M) && !F(ae, ne, M) && M;
7463
+ return !F(q, H, T) && !F(ae, ne, T) && T;
7464
7464
  }, N = (P, Y) => {
7465
- const M = Array.isArray(Y) ? Y : [Y];
7466
- return Array.isArray(e.disabledTimes) ? Array.isArray(e.disabledTimes[0]) ? E(e.disabledTimes, M, P) : !M.some((q) => F(e.disabledTimes, q, P)) : P;
7465
+ const T = Array.isArray(Y) ? Y : [Y];
7466
+ return Array.isArray(e.disabledTimes) ? Array.isArray(e.disabledTimes[0]) ? E(e.disabledTimes, T, P) : !T.some((q) => F(e.disabledTimes, q, P)) : P;
7467
7467
  }, W = (P, Y) => {
7468
- const M = Array.isArray(Y) ? [ha(Y[0]), Y[1] ? ha(Y[1]) : void 0] : ha(Y), q = !e.disabledTimes(M);
7468
+ const T = Array.isArray(Y) ? [ha(Y[0]), Y[1] ? ha(Y[1]) : void 0] : ha(Y), q = !e.disabledTimes(T);
7469
7469
  return P && q;
7470
7470
  }, y = (P, Y) => e.disabledTimes ? Array.isArray(e.disabledTimes) ? N(Y, P) : W(Y, P) : Y, I = (P) => {
7471
7471
  let Y = !0;
7472
7472
  if (!P || b()) return !0;
7473
- const M = !n.value.minDate && !n.value.maxDate ? D(P) : P;
7473
+ const T = !n.value.minDate && !n.value.maxDate ? D(P) : P;
7474
7474
  return (e.maxTime || n.value.maxDate) && (Y = Pl(
7475
7475
  e.maxTime,
7476
7476
  n.value.maxDate,
7477
7477
  "max",
7478
- lt(M),
7478
+ lt(T),
7479
7479
  Y
7480
7480
  )), (e.minTime || n.value.minDate) && (Y = Pl(
7481
7481
  e.minTime,
7482
7482
  n.value.minDate,
7483
7483
  "min",
7484
- lt(M),
7484
+ lt(T),
7485
7485
  Y
7486
7486
  )), y(P, Y);
7487
7487
  }, te = (P) => {
7488
7488
  if (!e.monthPicker) return !0;
7489
7489
  let Y = !0;
7490
- const M = X(Mt(P));
7490
+ const T = X(Mt(P));
7491
7491
  if (n.value.minDate && n.value.maxDate) {
7492
7492
  const q = X(Mt(n.value.minDate)), ae = X(Mt(n.value.maxDate));
7493
- return Ke(M, q) && qe(M, ae) || Se(M, q) || Se(M, ae);
7493
+ return Ke(T, q) && qe(T, ae) || Ce(T, q) || Ce(T, ae);
7494
7494
  }
7495
7495
  if (n.value.minDate) {
7496
7496
  const q = X(Mt(n.value.minDate));
7497
- Y = Ke(M, q) || Se(M, q);
7497
+ Y = Ke(T, q) || Ce(T, q);
7498
7498
  }
7499
7499
  if (n.value.maxDate) {
7500
7500
  const q = X(Mt(n.value.maxDate));
7501
- Y = qe(M, q) || Se(M, q);
7501
+ Y = qe(T, q) || Ce(T, q);
7502
7502
  }
7503
7503
  return Y;
7504
7504
  }, ce = j(() => (P) => !e.enableTimePicker || e.ignoreTimeValidation ? !0 : I(P)), be = j(() => (P) => e.monthPicker ? Array.isArray(P) && (a.value.enabled || r.value.enabled) ? !P.filter((Y) => !te(Y)).length : te(P) : !0);
@@ -7506,7 +7506,7 @@ const Fd = ({
7506
7506
  isDisabled: h,
7507
7507
  validateDate: u,
7508
7508
  validateMonthYearInRange: c,
7509
- isDateRangeAllowed: A,
7509
+ isDateRangeAllowed: M,
7510
7510
  checkMinMaxRange: x,
7511
7511
  isValidTime: I,
7512
7512
  isTimeValid: ce,
@@ -7532,8 +7532,8 @@ const Fd = ({
7532
7532
  }, u = () => {
7533
7533
  n.value = -1;
7534
7534
  }, p = (m, c, ...k) => {
7535
- var h, A;
7536
- e.flow[n.value] === m && a.value && ((A = (h = a.value)[c]) == null || A.call(h, ...k));
7535
+ var h, M;
7536
+ e.flow[n.value] === m && a.value && ((M = (h = a.value)[c]) == null || M.call(h, ...k));
7537
7537
  }, d = (m = 0) => {
7538
7538
  m && (n.value += m), p(dt.month, "toggleMonthPicker", !0), p(dt.year, "toggleYearPicker", !0), p(dt.calendar, "toggleTimePicker", !1, !0), p(dt.time, "toggleTimePicker", !0, !0);
7539
7539
  const c = e.flow[n.value];
@@ -7582,7 +7582,7 @@ const Fd = ({
7582
7582
  defaultedUI: m,
7583
7583
  getDefaultPattern: c,
7584
7584
  getDefaultStartTime: k
7585
- } = je(r), { checkMinMaxRange: h } = ca(r), A = Q(), $ = Q(null), g = Q(!1), x = Q(!1), b = j(
7585
+ } = je(r), { checkMinMaxRange: h } = ca(r), M = Q(), C = Q(null), g = Q(!1), x = Q(!1), b = j(
7586
7586
  () => ({
7587
7587
  dp__pointer: !r.disabled && !r.readonly && !l.value.enabled,
7588
7588
  dp__disabled: r.disabled,
@@ -7596,7 +7596,7 @@ const Fd = ({
7596
7596
  ...m.value.input ?? {}
7597
7597
  })
7598
7598
  ), D = () => {
7599
- n("set-input-date", null), r.clearable && r.autoApply && (n("set-empty-date"), A.value = null);
7599
+ n("set-input-date", null), r.clearable && r.autoApply && (n("set-empty-date"), M.value = null);
7600
7600
  }, F = (L) => {
7601
7601
  const me = k();
7602
7602
  return sc(
@@ -7613,7 +7613,7 @@ const Fd = ({
7613
7613
  const V = F(_.trim()), G = R ? F(R.trim()) : void 0;
7614
7614
  if (ya(V, G)) return;
7615
7615
  const i = V && G ? [V, G] : [V];
7616
- h(G, i, 0) && (A.value = V ? i : null);
7616
+ h(G, i, 0) && (M.value = V ? i : null);
7617
7617
  }
7618
7618
  }, N = () => {
7619
7619
  x.value = !0;
@@ -7622,21 +7622,21 @@ const Fd = ({
7622
7622
  E(L);
7623
7623
  else if (d.value.enabled) {
7624
7624
  const me = L.split(";");
7625
- A.value = me.map((_) => F(_.trim())).filter((_) => _);
7625
+ M.value = me.map((_) => F(_.trim())).filter((_) => _);
7626
7626
  } else
7627
- A.value = F(L);
7627
+ M.value = F(L);
7628
7628
  }, y = (L) => {
7629
7629
  var me;
7630
7630
  const _ = typeof L == "string" ? L : (me = L.target) == null ? void 0 : me.value;
7631
- _ !== "" ? (l.value.openMenu && !r.isMenuOpen && n("open"), W(_), n("set-input-date", A.value)) : D(), x.value = !1, n("update:input-value", _), n("text-input", L, A.value);
7631
+ _ !== "" ? (l.value.openMenu && !r.isMenuOpen && n("open"), W(_), n("set-input-date", M.value)) : D(), x.value = !1, n("update:input-value", _), n("text-input", L, M.value);
7632
7632
  }, I = (L) => {
7633
- l.value.enabled ? (W(L.target.value), l.value.enterSubmit && ur(A.value) && r.inputValue !== "" ? (n("set-input-date", A.value, !0), A.value = null) : l.value.enterSubmit && r.inputValue === "" && (A.value = null, n("clear"))) : be(L);
7633
+ l.value.enabled ? (W(L.target.value), l.value.enterSubmit && ur(M.value) && r.inputValue !== "" ? (n("set-input-date", M.value, !0), M.value = null) : l.value.enterSubmit && r.inputValue === "" && (M.value = null, n("clear"))) : be(L);
7634
7634
  }, te = (L, me) => {
7635
- l.value.enabled && l.value.tabSubmit && !me && W(L.target.value), l.value.tabSubmit && ur(A.value) && r.inputValue !== "" ? (n("set-input-date", A.value, !0, !0), A.value = null) : l.value.tabSubmit && r.inputValue === "" && (A.value = null, n("clear", !0));
7635
+ l.value.enabled && l.value.tabSubmit && !me && W(L.target.value), l.value.tabSubmit && ur(M.value) && r.inputValue !== "" ? (n("set-input-date", M.value, !0, !0), M.value = null) : l.value.tabSubmit && r.inputValue === "" && (M.value = null, n("clear", !0));
7636
7636
  }, ce = () => {
7637
7637
  g.value = !0, n("focus"), _t().then(() => {
7638
7638
  var L;
7639
- l.value.enabled && l.value.selectOnFocus && ((L = $.value) == null || L.select());
7639
+ l.value.enabled && l.value.selectOnFocus && ((L = C.value) == null || L.select());
7640
7640
  });
7641
7641
  }, be = (L) => {
7642
7642
  if (ta(L, u.value, !0), l.value.enabled && l.value.openMenu && !s.value.input) {
@@ -7644,21 +7644,21 @@ const Fd = ({
7644
7644
  if (l.value.openMenu === "toggle") return n("toggle");
7645
7645
  } else l.value.enabled || n("toggle");
7646
7646
  }, P = () => {
7647
- n("real-blur"), g.value = !1, (!r.isMenuOpen || s.value.enabled && s.value.input) && n("blur"), r.autoApply && l.value.enabled && A.value && !r.isMenuOpen && (n("set-input-date", A.value), n("select-date"), A.value = null);
7647
+ n("real-blur"), g.value = !1, (!r.isMenuOpen || s.value.enabled && s.value.input) && n("blur"), r.autoApply && l.value.enabled && M.value && !r.isMenuOpen && (n("set-input-date", M.value), n("select-date"), M.value = null);
7648
7648
  }, Y = (L) => {
7649
7649
  ta(L, u.value, !0), n("clear");
7650
- }, M = () => {
7650
+ }, T = () => {
7651
7651
  n("close");
7652
7652
  }, q = (L) => {
7653
- if (L.key === "Tab" && te(L), L.key === "Enter" && I(L), L.key === "Escape" && l.value.escClose && M(), !l.value.enabled) {
7653
+ if (L.key === "Tab" && te(L), L.key === "Enter" && I(L), L.key === "Escape" && l.value.escClose && T(), !l.value.enabled) {
7654
7654
  if (L.code === "Tab") return;
7655
7655
  L.preventDefault();
7656
7656
  }
7657
7657
  }, ae = () => {
7658
7658
  var L;
7659
- (L = $.value) == null || L.focus({ preventScroll: !0 });
7659
+ (L = C.value) == null || L.focus({ preventScroll: !0 });
7660
7660
  }, H = (L) => {
7661
- A.value = L;
7661
+ M.value = L;
7662
7662
  }, ne = (L) => {
7663
7663
  L.key === He.tab && te(L, !0);
7664
7664
  };
@@ -7667,9 +7667,9 @@ const Fd = ({
7667
7667
  setParsedDate: H
7668
7668
  }), (L, me) => {
7669
7669
  var _, R, V;
7670
- return w(), C("div", { onClick: be }, [
7670
+ return w(), S("div", { onClick: be }, [
7671
7671
  L.$slots.trigger && !L.$slots["dp-input"] && !v(s).enabled ? de(L.$slots, "trigger", { key: 0 }) : z("", !0),
7672
- !L.$slots.trigger && (!v(s).enabled || v(s).input) ? (w(), C("div", Vd, [
7672
+ !L.$slots.trigger && (!v(s).enabled || v(s).input) ? (w(), S("div", Vd, [
7673
7673
  L.$slots["dp-input"] && !L.$slots.trigger && (!v(s).enabled || v(s).enabled && v(s).input) ? de(L.$slots, "dp-input", {
7674
7674
  key: 0,
7675
7675
  value: e.inputValue,
@@ -7686,11 +7686,11 @@ const Fd = ({
7686
7686
  closeMenu: () => L.$emit("close"),
7687
7687
  toggleMenu: () => L.$emit("toggle")
7688
7688
  }) : z("", !0),
7689
- L.$slots["dp-input"] ? z("", !0) : (w(), C("input", {
7689
+ L.$slots["dp-input"] ? z("", !0) : (w(), S("input", {
7690
7690
  key: 1,
7691
7691
  id: L.uid ? `dp-input-${L.uid}` : void 0,
7692
7692
  ref_key: "inputRef",
7693
- ref: $,
7693
+ ref: C,
7694
7694
  "data-test-id": "dp-input",
7695
7695
  name: L.name,
7696
7696
  class: ge(b.value),
@@ -7714,7 +7714,7 @@ const Fd = ({
7714
7714
  ve("div", {
7715
7715
  onClick: me[3] || (me[3] = (G) => n("toggle"))
7716
7716
  }, [
7717
- L.$slots["input-icon"] && !L.hideInputIcon ? (w(), C("span", {
7717
+ L.$slots["input-icon"] && !L.hideInputIcon ? (w(), S("span", {
7718
7718
  key: 0,
7719
7719
  class: "dp__input_icon",
7720
7720
  onClick: me[1] || (me[1] = (G) => n("toggle"))
@@ -7728,10 +7728,10 @@ const Fd = ({
7728
7728
  onClick: me[2] || (me[2] = (G) => n("toggle"))
7729
7729
  }, null, 8, ["aria-label"])) : z("", !0)
7730
7730
  ]),
7731
- L.$slots["clear-icon"] && (L.alwaysClearable || e.inputValue && L.clearable && !L.disabled && !L.readonly) ? (w(), C("span", jd, [
7731
+ L.$slots["clear-icon"] && (L.alwaysClearable || e.inputValue && L.clearable && !L.disabled && !L.readonly) ? (w(), S("span", jd, [
7732
7732
  de(L.$slots, "clear-icon", { clear: Y })
7733
7733
  ])) : z("", !0),
7734
- !L.$slots["clear-icon"] && (L.alwaysClearable || L.clearable && e.inputValue && !L.disabled && !L.readonly) ? (w(), C("button", {
7734
+ !L.$slots["clear-icon"] && (L.alwaysClearable || L.clearable && e.inputValue && !L.disabled && !L.readonly) ? (w(), S("button", {
7735
7735
  key: 3,
7736
7736
  "aria-label": (V = v(o)) == null ? void 0 : V.clearInput,
7737
7737
  class: "dp--clear-btn",
@@ -7806,14 +7806,14 @@ const Fd = ({
7806
7806
  "text-input"
7807
7807
  ],
7808
7808
  setup(e, { expose: t, emit: a }) {
7809
- const n = a, r = e, l = wa(), o = Q(!1), s = qa(r, "modelValue"), u = qa(r, "timezone"), p = Q(null), d = Q(null), m = Q(null), c = Q(!1), k = Q(null), h = Q(!1), A = Q(!1), $ = Q(!1), g = Q(!1), { setMenuFocused: x, setShiftKey: b } = Vo(), { clearArrowNav: D } = ua(), { validateDate: F, isValidTime: E } = ca(r), {
7809
+ const n = a, r = e, l = wa(), o = Q(!1), s = qa(r, "modelValue"), u = qa(r, "timezone"), p = Q(null), d = Q(null), m = Q(null), c = Q(!1), k = Q(null), h = Q(!1), M = Q(!1), C = Q(!1), g = Q(!1), { setMenuFocused: x, setShiftKey: b } = Vo(), { clearArrowNav: D } = ua(), { validateDate: F, isValidTime: E } = ca(r), {
7810
7810
  defaultedTransitions: N,
7811
7811
  defaultedTextInput: W,
7812
7812
  defaultedInline: y,
7813
7813
  defaultedConfig: I,
7814
7814
  defaultedRange: te,
7815
7815
  defaultedMultiDates: ce
7816
- } = je(r), { menuTransition: be, showTransition: P } = nn(N), { isMobile: Y } = Xo(I), M = Ei();
7816
+ } = je(r), { menuTransition: be, showTransition: P } = nn(N), { isMobile: Y } = Xo(I), T = Ei();
7817
7817
  nt(() => {
7818
7818
  i(r.modelValue), _t().then(() => {
7819
7819
  if (!y.value.enabled) {
@@ -7849,7 +7849,7 @@ const Fd = ({
7849
7849
  inputValue: V,
7850
7850
  internalModelValue: G,
7851
7851
  parseExternalModelValue: i,
7852
- emitModelValue: S,
7852
+ emitModelValue: $,
7853
7853
  formatInputValue: se,
7854
7854
  checkBeforeEmit: Re
7855
7855
  } = Ic(n, r, c), B = j(
@@ -7858,7 +7858,7 @@ const Fd = ({
7858
7858
  dp__theme_dark: r.dark,
7859
7859
  dp__theme_light: !r.dark,
7860
7860
  dp__flex_display: y.value.enabled,
7861
- "dp--flex-display-collapsed": $.value,
7861
+ "dp--flex-display-collapsed": C.value,
7862
7862
  dp__flex_display_with_input: y.value.input
7863
7863
  })
7864
7864
  ), Me = j(() => r.dark ? "dp__theme_dark" : "dp__theme_light"), K = j(() => r.teleport ? {
@@ -7873,27 +7873,27 @@ const Fd = ({
7873
7873
  var U;
7874
7874
  o.value && me();
7875
7875
  const ue = ((U = d.value) == null ? void 0 : U.$el.getBoundingClientRect().width) ?? 0;
7876
- $.value = document.body.offsetWidth <= ue;
7876
+ C.value = document.body.offsetWidth <= ue;
7877
7877
  }, Oe = (U) => {
7878
- U.key === "Tab" && !y.value.enabled && !r.teleport && I.value.tabOutClosesMenu && (k.value.contains(document.activeElement) || rt()), A.value = U.shiftKey;
7878
+ U.key === "Tab" && !y.value.enabled && !r.teleport && I.value.tabOutClosesMenu && (k.value.contains(document.activeElement) || rt()), M.value = U.shiftKey;
7879
7879
  }, Te = (U) => {
7880
- A.value = U.shiftKey;
7880
+ M.value = U.shiftKey;
7881
7881
  }, Ye = () => {
7882
- !r.disabled && !r.readonly && (R(M, Ol, r), me(!1), o.value = !0, o.value && n("open"), o.value || he(), i(r.modelValue));
7882
+ !r.disabled && !r.readonly && (R(T, Ol, r), me(!1), o.value = !0, o.value && n("open"), o.value || he(), i(r.modelValue));
7883
7883
  }, Ge = () => {
7884
7884
  var U, ue;
7885
7885
  V.value = "", he(), (U = d.value) == null || U.onValueCleared(), (ue = m.value) == null || ue.setParsedDate(null), n("update:model-value", null), n("update:model-timezone-value", null), n("cleared"), I.value.closeOnClearValue && rt();
7886
- }, T = () => {
7886
+ }, A = () => {
7887
7887
  const U = G.value;
7888
7888
  return !U || !Array.isArray(U) && F(U) ? !0 : Array.isArray(U) ? ce.value.enabled || U.length === 2 && F(U[0]) && F(U[1]) ? !0 : te.value.partialRange && !r.timePicker ? F(U[0]) : !1 : !1;
7889
7889
  }, ie = () => {
7890
- Re() && T() ? (S(), rt()) : n("invalid-select", G.value);
7890
+ Re() && A() ? ($(), rt()) : n("invalid-select", G.value);
7891
7891
  }, $e = (U) => {
7892
- at(), S(), I.value.closeOnAutoApply && !U && rt();
7892
+ at(), $(), I.value.closeOnAutoApply && !U && rt();
7893
7893
  }, at = () => {
7894
7894
  m.value && W.value.enabled && m.value.setParsedDate(G.value);
7895
7895
  }, $t = (U = !1) => {
7896
- r.autoApply && E(G.value) && T() && (te.value.enabled && Array.isArray(G.value) ? (te.value.partialRange || G.value.length === 2) && $e(U) : $e(U));
7896
+ r.autoApply && E(G.value) && A() && (te.value.enabled && Array.isArray(G.value) ? (te.value.partialRange || G.value.length === 2) && $e(U) : $e(U));
7897
7897
  }, he = () => {
7898
7898
  W.value.enabled || (G.value = null);
7899
7899
  }, rt = (U = !1) => {
@@ -7909,14 +7909,14 @@ const Fd = ({
7909
7909
  g.value = !1;
7910
7910
  })) : n("invalid-date", U);
7911
7911
  }, Rn = () => {
7912
- r.autoApply && E(G.value) && S(), at();
7912
+ r.autoApply && E(G.value) && $(), at();
7913
7913
  }, sn = () => o.value ? rt() : Ye(), Yn = (U) => {
7914
7914
  G.value = U;
7915
7915
  }, En = () => {
7916
7916
  W.value.enabled && (c.value = !0, se()), n("focus");
7917
7917
  }, Nn = () => {
7918
7918
  if (W.value.enabled && (c.value = !1, i(r.modelValue), h.value)) {
7919
- const U = lc(k.value, A.value);
7919
+ const U = lc(k.value, M.value);
7920
7920
  U == null || U.focus();
7921
7921
  }
7922
7922
  n("blur");
@@ -7937,7 +7937,7 @@ const Fd = ({
7937
7937
  return Kd(
7938
7938
  p,
7939
7939
  m,
7940
- (U) => J(T, U)
7940
+ (U) => J(A, U)
7941
7941
  ), t({
7942
7942
  closeMenu: rt,
7943
7943
  selectDate: ie,
@@ -7954,7 +7954,7 @@ const Fd = ({
7954
7954
  toggleMenu: sn,
7955
7955
  handleFlow: we,
7956
7956
  getDpWrapMenuRef: Ae
7957
- }), (U, ue) => (w(), C("div", {
7957
+ }), (U, ue) => (w(), S("div", {
7958
7958
  ref_key: "pickerWrapperRef",
7959
7959
  ref: k,
7960
7960
  class: ge(B.value),
@@ -7971,7 +7971,7 @@ const Fd = ({
7971
7971
  onClear: Ge,
7972
7972
  onOpen: Ye,
7973
7973
  onSetInputDate: It,
7974
- onSetEmptyDate: v(S),
7974
+ onSetEmptyDate: v($),
7975
7975
  onSelectDate: ie,
7976
7976
  onToggle: sn,
7977
7977
  onClose: rt,
@@ -7994,7 +7994,7 @@ const Fd = ({
7994
7994
  css: v(P) && !v(y).enabled
7995
7995
  }, {
7996
7996
  default: Pe(() => [
7997
- o.value ? (w(), C("div", ot({
7997
+ o.value ? (w(), S("div", ot({
7998
7998
  key: 0,
7999
7999
  ref_key: "dpWrapMenuRef",
8000
8000
  ref: p
@@ -8011,7 +8011,7 @@ const Fd = ({
8011
8011
  class: { [Me.value]: !0, "dp--menu-wrapper": U.teleport },
8012
8012
  "open-on-top": v(H),
8013
8013
  "no-overlay-focus": f.value,
8014
- collapse: $.value,
8014
+ collapse: C.value,
8015
8015
  "get-input-rect": ee,
8016
8016
  "is-text-input-date": g.value,
8017
8017
  onClosePicker: rt,
@@ -8113,11 +8113,11 @@ const tf = ["for"], af = ["id", "type", "value", "placeholder", "required", "dis
8113
8113
  if (!y) return "";
8114
8114
  const I = String(y.getDate()).padStart(2, "0"), te = String(y.getMonth() + 1).padStart(2, "0"), ce = y.getFullYear();
8115
8115
  return `${I}/${te}/${ce}`;
8116
- }, A = (y) => {
8116
+ }, M = (y) => {
8117
8117
  if (!y) return null;
8118
8118
  const [I, te, ce] = y.split("/").map(Number);
8119
8119
  return new Date(ce, te - 1, I);
8120
- }, $ = async (y) => {
8120
+ }, C = async (y) => {
8121
8121
  if (n.autosave)
8122
8122
  try {
8123
8123
  await n.autosave(y), n.error || (r("saved"), o.value = !0, s.value = !1, setTimeout(() => {
@@ -8130,7 +8130,7 @@ const tf = ["for"], af = ["id", "type", "value", "placeholder", "required", "dis
8130
8130
  p.value && clearTimeout(p.value), d.value && clearTimeout(d.value), n.error || (s.value = !0), d.value = window.setTimeout(() => {
8131
8131
  r("changed"), u.value = !0;
8132
8132
  }, 500), p.value = window.setTimeout(() => {
8133
- $(y);
8133
+ C(y);
8134
8134
  }, 1500);
8135
8135
  }, x = () => {
8136
8136
  var y;
@@ -8153,7 +8153,7 @@ const tf = ["for"], af = ["id", "type", "value", "placeholder", "required", "dis
8153
8153
  return sa(() => {
8154
8154
  p.value && clearTimeout(p.value), d.value && clearTimeout(d.value);
8155
8155
  }), nt(() => {
8156
- l.value = `text-input-${Math.random().toString(36).substr(2, 9)}`, n.type === "date" && n.modelValue && (c.value = A(n.modelValue));
8156
+ l.value = `text-input-${Math.random().toString(36).substr(2, 9)}`, n.type === "date" && n.modelValue && (c.value = M(n.modelValue));
8157
8157
  }), t({
8158
8158
  focus: () => {
8159
8159
  var y;
@@ -8164,8 +8164,8 @@ const tf = ["for"], af = ["id", "type", "value", "placeholder", "required", "dis
8164
8164
  return (y = m.value) == null ? void 0 : y.blur();
8165
8165
  }
8166
8166
  }), (y, I) => {
8167
- const te = Cr("font-awesome-icon");
8168
- return w(), C("div", {
8167
+ const te = Sr("font-awesome-icon");
8168
+ return w(), S("div", {
8169
8169
  class: ge(["text-input", {
8170
8170
  [`label-${y.labelPosition}`]: y.label,
8171
8171
  [`label-align-${y.labelAlign}`]: y.label
@@ -8179,7 +8179,7 @@ const tf = ["for"], af = ["id", "type", "value", "placeholder", "required", "dis
8179
8179
  }
8180
8180
  ])
8181
8181
  }, [
8182
- y.label ? (w(), C("label", {
8182
+ y.label ? (w(), S("label", {
8183
8183
  key: 0,
8184
8184
  for: l.value,
8185
8185
  class: "label"
@@ -8190,7 +8190,7 @@ const tf = ["for"], af = ["id", "type", "value", "placeholder", "required", "dis
8190
8190
  "has-icon": y.icon
8191
8191
  }])
8192
8192
  }, [
8193
- y.icon ? (w(), C("div", {
8193
+ y.icon ? (w(), S("div", {
8194
8194
  key: 0,
8195
8195
  class: "icon-wrapper",
8196
8196
  onClick: x
@@ -8221,7 +8221,7 @@ const tf = ["for"], af = ["id", "type", "value", "placeholder", "required", "dis
8221
8221
  "input-class-name": ["input", { "has-icon": y.icon }],
8222
8222
  onFocus: F,
8223
8223
  onBlur: E
8224
- }, null, 8, ["id", "modelValue", "placeholder", "disabled", "readonly", "min-date", "max-date", "input-class-name"])) : y.isTextarea ? (w(), C("textarea", {
8224
+ }, null, 8, ["id", "modelValue", "placeholder", "disabled", "readonly", "min-date", "max-date", "input-class-name"])) : y.isTextarea ? (w(), S("textarea", {
8225
8225
  key: 3,
8226
8226
  id: l.value,
8227
8227
  value: y.modelValue,
@@ -8232,7 +8232,7 @@ const tf = ["for"], af = ["id", "type", "value", "placeholder", "required", "dis
8232
8232
  onInput: D,
8233
8233
  ref_key: "inputRef",
8234
8234
  ref: m
8235
- }, null, 40, nf)) : (w(), C("input", {
8235
+ }, null, 40, nf)) : (w(), S("input", {
8236
8236
  key: 2,
8237
8237
  id: l.value,
8238
8238
  type: y.type,
@@ -8250,21 +8250,21 @@ const tf = ["for"], af = ["id", "type", "value", "placeholder", "required", "dis
8250
8250
  ref_key: "inputRef",
8251
8251
  ref: m
8252
8252
  }, null, 40, af)),
8253
- y.required && !o.value && !s.value ? (w(), C("span", rf, "required")) : z("", !0),
8253
+ y.required && !o.value && !s.value ? (w(), S("span", rf, "required")) : z("", !0),
8254
8254
  Ze(na, { name: "fade" }, {
8255
8255
  default: Pe(() => [
8256
- o.value && !y.error ? (w(), C("span", lf, "saved")) : z("", !0)
8256
+ o.value && !y.error ? (w(), S("span", lf, "saved")) : z("", !0)
8257
8257
  ]),
8258
8258
  _: 1
8259
8259
  }),
8260
8260
  Ze(na, { name: "fade" }, {
8261
8261
  default: Pe(() => [
8262
- s.value && !y.error ? (w(), C("span", of, "changed")) : z("", !0)
8262
+ s.value && !y.error ? (w(), S("span", of, "changed")) : z("", !0)
8263
8263
  ]),
8264
8264
  _: 1
8265
8265
  }),
8266
- y.error ? (w(), C("div", sf, Ne(y.error), 1)) : z("", !0),
8267
- y.success ? (w(), C("span", uf, Ne(y.success), 1)) : z("", !0)
8266
+ y.error ? (w(), S("div", sf, Ne(y.error), 1)) : z("", !0),
8267
+ y.success ? (w(), S("span", uf, Ne(y.success), 1)) : z("", !0)
8268
8268
  ], 2)
8269
8269
  ], 6);
8270
8270
  };
@@ -8274,7 +8274,7 @@ const tf = ["for"], af = ["id", "type", "value", "placeholder", "required", "dis
8274
8274
  for (const [n, r] of t)
8275
8275
  a[n] = r;
8276
8276
  return a;
8277
- }, fp = /* @__PURE__ */ An(df, [["__scopeId", "data-v-1671cee9"]]), ff = { class: "file-upload" }, mf = { class: "upload-content" }, vf = { key: 0 }, pf = {
8277
+ }, sp = /* @__PURE__ */ An(df, [["__scopeId", "data-v-1671cee9"]]), ff = { class: "file-upload" }, mf = { class: "upload-content" }, vf = { key: 0 }, pf = {
8278
8278
  key: 1,
8279
8279
  class: "selected-files"
8280
8280
  }, hf = { class: "file-name" }, yf = { class: "file-size" }, gf = {
@@ -8305,10 +8305,10 @@ const tf = ["for"], af = ["id", "type", "value", "placeholder", "required", "dis
8305
8305
  const F = Array.from(b.dataTransfer.files);
8306
8306
  F.every(m) && (l.value = [...l.value, ...F]);
8307
8307
  }
8308
- }, A = () => {
8308
+ }, M = () => {
8309
8309
  var b;
8310
8310
  (b = r.value) == null || b.click();
8311
- }, $ = (b) => {
8311
+ }, C = (b) => {
8312
8312
  u.value = "";
8313
8313
  const D = b.target;
8314
8314
  if (D.files) {
@@ -8357,8 +8357,8 @@ const tf = ["for"], af = ["id", "type", "value", "placeholder", "required", "dis
8357
8357
  return gt(l, (b) => {
8358
8358
  b.length > 0 && (a.uploadUrl ? g() : n("files-selected", b));
8359
8359
  }), (b, D) => {
8360
- const F = Cr("font-awesome-icon");
8361
- return w(), C("div", ff, [
8360
+ const F = Sr("font-awesome-icon");
8361
+ return w(), S("div", ff, [
8362
8362
  ve("div", {
8363
8363
  class: ge(["upload-area", { "is-dragging": o.value, "has-files": l.value.length > 0 }]),
8364
8364
  onDragenter: At(c, ["prevent"]),
@@ -8366,7 +8366,7 @@ const tf = ["for"], af = ["id", "type", "value", "placeholder", "required", "dis
8366
8366
  onDragover: D[0] || (D[0] = At(() => {
8367
8367
  }, ["prevent"])),
8368
8368
  onDrop: At(h, ["prevent"]),
8369
- onClick: A
8369
+ onClick: M
8370
8370
  }, [
8371
8371
  ve("input", {
8372
8372
  ref_key: "fileInput",
@@ -8374,15 +8374,15 @@ const tf = ["for"], af = ["id", "type", "value", "placeholder", "required", "dis
8374
8374
  type: "file",
8375
8375
  multiple: "",
8376
8376
  class: "file-input",
8377
- onChange: $
8377
+ onChange: C
8378
8378
  }, null, 544),
8379
8379
  ve("div", mf, [
8380
8380
  Ze(F, {
8381
8381
  icon: ["fas", b.icon || "upload"]
8382
8382
  }, null, 8, ["icon"]),
8383
- l.value.length === 0 ? (w(), C("p", vf, "Drag & drop files here or click to select")) : (w(), C("div", pf, [
8383
+ l.value.length === 0 ? (w(), S("p", vf, "Drag & drop files here or click to select")) : (w(), S("div", pf, [
8384
8384
  ve("p", null, Ne(l.value.length) + " file(s) selected", 1),
8385
- (w(!0), C(xe, null, Fe(l.value, (E, N) => (w(), C("div", {
8385
+ (w(!0), S(xe, null, Fe(l.value, (E, N) => (w(), S("div", {
8386
8386
  key: N,
8387
8387
  class: "file-info"
8388
8388
  }, [
@@ -8392,18 +8392,18 @@ const tf = ["for"], af = ["id", "type", "value", "placeholder", "required", "dis
8392
8392
  ]))
8393
8393
  ])
8394
8394
  ], 34),
8395
- u.value ? (w(), C("div", gf, Ne(u.value), 1)) : z("", !0),
8396
- s.value > 0 && s.value < 100 ? (w(), C("div", bf, [
8395
+ u.value ? (w(), S("div", gf, Ne(u.value), 1)) : z("", !0),
8396
+ s.value > 0 && s.value < 100 ? (w(), S("div", bf, [
8397
8397
  ve("div", {
8398
8398
  class: "progress",
8399
8399
  style: st({ width: `${s.value}%` })
8400
8400
  }, null, 4)
8401
8401
  ])) : z("", !0),
8402
- p.value ? (w(), C("div", {
8402
+ p.value ? (w(), S("div", {
8403
8403
  key: 2,
8404
8404
  class: ge(["status-message", p.value.type])
8405
8405
  }, Ne(p.value.message), 3)) : z("", !0),
8406
- l.value.length > 0 && !b.uploadUrl ? (w(), C("button", {
8406
+ l.value.length > 0 && !b.uploadUrl ? (w(), S("button", {
8407
8407
  key: 3,
8408
8408
  class: "upload-button",
8409
8409
  onClick: x
@@ -8411,7 +8411,7 @@ const tf = ["for"], af = ["id", "type", "value", "placeholder", "required", "dis
8411
8411
  ]);
8412
8412
  };
8413
8413
  }
8414
- }), mp = /* @__PURE__ */ An(_f, [["__scopeId", "data-v-75b2aeea"]]);
8414
+ }), up = /* @__PURE__ */ An(_f, [["__scopeId", "data-v-75b2aeea"]]);
8415
8415
  /*!
8416
8416
  * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
8417
8417
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
@@ -8425,7 +8425,7 @@ function kf(e, t, a) {
8425
8425
  writable: !0
8426
8426
  }) : e[t] = a, e;
8427
8427
  }
8428
- function Cl(e, t) {
8428
+ function Sl(e, t) {
8429
8429
  var a = Object.keys(e);
8430
8430
  if (Object.getOwnPropertySymbols) {
8431
8431
  var n = Object.getOwnPropertySymbols(e);
@@ -8438,9 +8438,9 @@ function Cl(e, t) {
8438
8438
  function Z(e) {
8439
8439
  for (var t = 1; t < arguments.length; t++) {
8440
8440
  var a = arguments[t] != null ? arguments[t] : {};
8441
- t % 2 ? Cl(Object(a), !0).forEach(function(n) {
8441
+ t % 2 ? Sl(Object(a), !0).forEach(function(n) {
8442
8442
  kf(e, n, a[n]);
8443
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(a)) : Cl(Object(a)).forEach(function(n) {
8443
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(a)) : Sl(Object(a)).forEach(function(n) {
8444
8444
  Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(a, n));
8445
8445
  });
8446
8446
  }
@@ -8460,11 +8460,11 @@ function Pf(e) {
8460
8460
  var t = xf(e, "string");
8461
8461
  return typeof t == "symbol" ? t : t + "";
8462
8462
  }
8463
- const Sl = () => {
8463
+ const Cl = () => {
8464
8464
  };
8465
8465
  let Xr = {}, Ko = {}, Zo = null, Jo = {
8466
- mark: Sl,
8467
- measure: Sl
8466
+ mark: Cl,
8467
+ measure: Cl
8468
8468
  };
8469
8469
  try {
8470
8470
  typeof window < "u" && (Xr = window), typeof document < "u" && (Ko = document), typeof MutationObserver < "u" && (Zo = MutationObserver), typeof performance < "u" && (Jo = performance);
@@ -8527,7 +8527,7 @@ var Df = /fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/, Mf
8527
8527
  GROUP: "duotone-group",
8528
8528
  PRIMARY: "primary",
8529
8529
  SECONDARY: "secondary"
8530
- }, ai = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone"], mt = "classic", On = "duotone", Af = "sharp", Of = "sharp-duotone", ni = [mt, On, Af, Of], Cf = {
8530
+ }, ai = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone"], mt = "classic", On = "duotone", Af = "sharp", Of = "sharp-duotone", ni = [mt, On, Af, Of], Sf = {
8531
8531
  classic: {
8532
8532
  900: "fas",
8533
8533
  400: "far",
@@ -8553,7 +8553,7 @@ var Df = /fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/, Mf
8553
8553
  300: "fasdl",
8554
8554
  100: "fasdt"
8555
8555
  }
8556
- }, Sf = {
8556
+ }, Cf = {
8557
8557
  "Font Awesome 6 Free": {
8558
8558
  900: "fas",
8559
8559
  400: "far"
@@ -8781,7 +8781,7 @@ hr[mt] = Z(Z({}, hr[mt]), Ff.kit);
8781
8781
  const Jr = ln(hr), yr = Z({}, Hf);
8782
8782
  yr[mt] = Z(Z({}, yr[mt]), Ef.kit);
8783
8783
  ln(yr);
8784
- const Jf = Df, ui = "fa-layers-text", em = Mf, tm = Z({}, Cf);
8784
+ const Jf = Df, ui = "fa-layers-text", em = Mf, tm = Z({}, Sf);
8785
8785
  ln(tm);
8786
8786
  const am = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], Jn = Tf, nm = [...Yf, ...qf], Wa = la.FontAwesomeConfig || {};
8787
8787
  function rm(e) {
@@ -8886,7 +8886,7 @@ function di(e) {
8886
8886
  function um(e) {
8887
8887
  return Object.keys(e || {}).reduce((t, a) => t + "".concat(a, '="').concat(di(e[a]), '" '), "").trim();
8888
8888
  }
8889
- function Cn(e) {
8889
+ function Sn(e) {
8890
8890
  return Object.keys(e || {}).reduce((t, a) => t + "".concat(a, ": ").concat(e[a].trim(), ";"), "");
8891
8891
  }
8892
8892
  function tl(e) {
@@ -9618,12 +9618,12 @@ const _i = () => {
9618
9618
  names: {},
9619
9619
  unicodes: {}
9620
9620
  });
9621
- gi = a.names, bi = a.unicodes, al = Sn(pe.styleDefault, {
9621
+ gi = a.names, bi = a.unicodes, al = Cn(pe.styleDefault, {
9622
9622
  family: pe.familyDefault
9623
9623
  });
9624
9624
  };
9625
9625
  om((e) => {
9626
- al = Sn(e.styleDefault, {
9626
+ al = Cn(e.styleDefault, {
9627
9627
  family: pe.familyDefault
9628
9628
  });
9629
9629
  });
@@ -9668,7 +9668,7 @@ function xm(e) {
9668
9668
  (e.includes(a[n]) || e.some((r) => gm[n].includes(r))) && (t = n);
9669
9669
  }), t;
9670
9670
  }
9671
- function Sn(e) {
9671
+ function Cn(e) {
9672
9672
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
9673
9673
  const {
9674
9674
  family: a = mt
@@ -9698,7 +9698,7 @@ function $n(e) {
9698
9698
  } = t;
9699
9699
  let n = null;
9700
9700
  const r = fr.concat(Bf), l = zl(e.filter((m) => r.includes(m))), o = zl(e.filter((m) => !fr.includes(m))), s = l.filter((m) => (n = m, !ai.includes(m))), [u = null] = s, p = xm(l), d = Z(Z({}, Pm(o)), {}, {
9701
- prefix: Sn(u, {
9701
+ prefix: Cn(u, {
9702
9702
  family: p
9703
9703
  })
9704
9704
  });
@@ -9777,13 +9777,13 @@ class Om {
9777
9777
  }
9778
9778
  }
9779
9779
  let Hl = [], Ma = {};
9780
- const Aa = {}, Cm = Object.keys(Aa);
9781
- function Sm(e, t) {
9780
+ const Aa = {}, Sm = Object.keys(Aa);
9781
+ function Cm(e, t) {
9782
9782
  let {
9783
9783
  mixoutsTo: a
9784
9784
  } = t;
9785
9785
  return Hl = e, Ma = {}, Object.keys(Aa).forEach((n) => {
9786
- Cm.indexOf(n) === -1 && delete Aa[n];
9786
+ Sm.indexOf(n) === -1 && delete Aa[n];
9787
9787
  }), Hl.forEach((n) => {
9788
9788
  const r = n.mixout ? n.mixout() : {};
9789
9789
  if (Object.keys(r).forEach((l) => {
@@ -9854,7 +9854,7 @@ const Pi = new Om(), $m = () => {
9854
9854
  iconName: va(e.prefix, e.iconName) || e.iconName
9855
9855
  };
9856
9856
  if (Array.isArray(e) && e.length === 2) {
9857
- const t = e[1].indexOf("fa-") === 0 ? e[1].slice(3) : e[1], a = Sn(e[0]);
9857
+ const t = e[1].indexOf("fa-") === 0 ? e[1].slice(3) : e[1], a = Cn(e[0]);
9858
9858
  return {
9859
9859
  prefix: a,
9860
9860
  iconName: va(a, t) || t
@@ -9926,7 +9926,7 @@ function Em(e) {
9926
9926
  x: s / u / 2,
9927
9927
  y: 0.5
9928
9928
  };
9929
- r.style = Cn(Z(Z({}, l), {}, {
9929
+ r.style = Sn(Z(Z({}, l), {}, {
9930
9930
  "transform-origin": "".concat(p.x + o.x / 16, "em ").concat(p.y + o.y / 16, "em")
9931
9931
  }));
9932
9932
  }
@@ -9977,13 +9977,13 @@ function rl(e) {
9977
9977
  } = e, {
9978
9978
  width: c,
9979
9979
  height: k
9980
- } = a.found ? a : t, h = Nf.includes(n), A = [pe.replacementClass, r ? "".concat(pe.cssPrefix, "-").concat(r) : ""].filter((F) => d.classes.indexOf(F) === -1).filter((F) => F !== "" || !!F).concat(d.classes).join(" ");
9981
- let $ = {
9980
+ } = a.found ? a : t, h = Nf.includes(n), M = [pe.replacementClass, r ? "".concat(pe.cssPrefix, "-").concat(r) : ""].filter((F) => d.classes.indexOf(F) === -1).filter((F) => F !== "" || !!F).concat(d.classes).join(" ");
9981
+ let C = {
9982
9982
  children: [],
9983
9983
  attributes: Z(Z({}, d.attributes), {}, {
9984
9984
  "data-prefix": n,
9985
9985
  "data-icon": r,
9986
- class: A,
9986
+ class: M,
9987
9987
  role: d.attributes.role || "img",
9988
9988
  xmlns: "http://www.w3.org/2000/svg",
9989
9989
  viewBox: "0 0 ".concat(c, " ").concat(k)
@@ -9992,14 +9992,14 @@ function rl(e) {
9992
9992
  const g = h && !~d.classes.indexOf("fa-fw") ? {
9993
9993
  width: "".concat(c / k * 16 * 0.0625, "em")
9994
9994
  } : {};
9995
- m && ($.attributes[ga] = ""), s && ($.children.push({
9995
+ m && (C.attributes[ga] = ""), s && (C.children.push({
9996
9996
  tag: "title",
9997
9997
  attributes: {
9998
- id: $.attributes["aria-labelledby"] || "title-".concat(p || Ka())
9998
+ id: C.attributes["aria-labelledby"] || "title-".concat(p || Ka())
9999
9999
  },
10000
10000
  children: [s]
10001
- }), delete $.attributes.title);
10002
- const x = Z(Z({}, $), {}, {
10001
+ }), delete C.attributes.title);
10002
+ const x = Z(Z({}, C), {}, {
10003
10003
  prefix: n,
10004
10004
  iconName: r,
10005
10005
  main: t,
@@ -10042,7 +10042,7 @@ function Vl(e) {
10042
10042
  width: a,
10043
10043
  height: n
10044
10044
  }), p["-webkit-transform"] = p.transform);
10045
- const d = Cn(p);
10045
+ const d = Sn(p);
10046
10046
  d.length > 0 && (u.style = d);
10047
10047
  const m = [];
10048
10048
  return m.push({
@@ -10066,7 +10066,7 @@ function Fm(e) {
10066
10066
  title: a
10067
10067
  } : {}), {}, {
10068
10068
  class: n.classes.join(" ")
10069
- }), l = Cn(n.styles);
10069
+ }), l = Sn(n.styles);
10070
10070
  l.length > 0 && (r.style = l);
10071
10071
  const o = [];
10072
10072
  return o.push({
@@ -10502,11 +10502,11 @@ var rv = {
10502
10502
  height: 512,
10503
10503
  icon: {}
10504
10504
  })]).then((h) => {
10505
- let [A, $] = h;
10505
+ let [M, C] = h;
10506
10506
  c([t, rl({
10507
10507
  icons: {
10508
- main: A,
10509
- mask: $
10508
+ main: M,
10509
+ mask: C
10510
10510
  },
10511
10511
  prefix: o,
10512
10512
  iconName: n,
@@ -10528,7 +10528,7 @@ var rv = {
10528
10528
  transform: l,
10529
10529
  styles: o
10530
10530
  } = t;
10531
- const s = Cn(o);
10531
+ const s = Sn(o);
10532
10532
  s.length > 0 && (n.style = s);
10533
10533
  let u;
10534
10534
  return tl(l) && (u = ia("generateAbstractTransformGrouping", {
@@ -10662,7 +10662,7 @@ const sv = new RegExp('"', "ug"), Xl = [1105920, 1112319], Kl = Z(Z(Z(Z({}, {
10662
10662
  normal: "fas",
10663
10663
  400: "fas"
10664
10664
  }
10665
- }), Sf), Qf), zf), Mr = Object.keys(Kl).reduce((e, t) => (e[t.toLowerCase()] = Kl[t], e), {}), uv = Object.keys(Mr).reduce((e, t) => {
10665
+ }), Cf), Qf), zf), Mr = Object.keys(Kl).reduce((e, t) => (e[t.toLowerCase()] = Kl[t], e), {}), uv = Object.keys(Mr).reduce((e, t) => {
10666
10666
  const a = Mr[t];
10667
10667
  return e[t] = a[900] || [...Object.entries(a)][0][1], e;
10668
10668
  }, {});
@@ -10690,14 +10690,14 @@ function Zl(e, t) {
10690
10690
  let k = dv(u, d);
10691
10691
  const {
10692
10692
  value: h,
10693
- isSecondary: A
10694
- } = cv(c), $ = p[0].startsWith("FontAwesome");
10693
+ isSecondary: M
10694
+ } = cv(c), C = p[0].startsWith("FontAwesome");
10695
10695
  let g = nl(k, h), x = g;
10696
- if ($) {
10696
+ if (C) {
10697
10697
  const b = km(h);
10698
10698
  b.iconName && b.prefix && (g = b.iconName, k = b.prefix);
10699
10699
  }
10700
- if (g && !A && (!o || o.getAttribute(Kr) !== k || o.getAttribute(Zr) !== x)) {
10700
+ if (g && !M && (!o || o.getAttribute(Kr) !== k || o.getAttribute(Zr) !== x)) {
10701
10701
  e.setAttribute(a, x), o && e.removeChild(o);
10702
10702
  const b = Zm(), {
10703
10703
  extra: D
@@ -10930,17 +10930,17 @@ var gv = {
10930
10930
  })
10931
10931
  }, h = p.children ? {
10932
10932
  children: p.children.map(ao)
10933
- } : {}, A = {
10933
+ } : {}, M = {
10934
10934
  tag: "g",
10935
10935
  attributes: Z({}, c.inner),
10936
10936
  children: [ao(Z({
10937
10937
  tag: p.tag,
10938
10938
  attributes: Z(Z({}, p.attributes), c.path)
10939
10939
  }, h))]
10940
- }, $ = {
10940
+ }, C = {
10941
10941
  tag: "g",
10942
10942
  attributes: Z({}, c.outer),
10943
- children: [A]
10943
+ children: [M]
10944
10944
  }, g = "mask-".concat(o || Ka()), x = "clip-".concat(o || Ka()), b = {
10945
10945
  tag: "mask",
10946
10946
  attributes: Z(Z({}, nr), {}, {
@@ -10948,7 +10948,7 @@ var gv = {
10948
10948
  maskUnits: "userSpaceOnUse",
10949
10949
  maskContentUnits: "userSpaceOnUse"
10950
10950
  }),
10951
- children: [k, $]
10951
+ children: [k, C]
10952
10952
  }, D = {
10953
10953
  tag: "defs",
10954
10954
  children: [{
@@ -11054,11 +11054,11 @@ var gv = {
11054
11054
  };
11055
11055
  }
11056
11056
  }, _v = [mm, rv, lv, ov, iv, vv, pv, hv, gv, bv, wv];
11057
- Sm(_v, {
11057
+ Cm(_v, {
11058
11058
  mixoutsTo: kt
11059
11059
  });
11060
11060
  kt.noAuto;
11061
- const Ci = kt.config;
11061
+ const Si = kt.config;
11062
11062
  kt.library;
11063
11063
  kt.dom;
11064
11064
  const kn = kt.parse;
@@ -11140,7 +11140,7 @@ function Tv(e, t) {
11140
11140
  return a;
11141
11141
  }
11142
11142
  function Tr(e) {
11143
- return Av(e) || Ov(e) || Cv(e) || Sv();
11143
+ return Av(e) || Ov(e) || Sv(e) || Cv();
11144
11144
  }
11145
11145
  function Av(e) {
11146
11146
  if (Array.isArray(e)) return Ar(e);
@@ -11148,7 +11148,7 @@ function Av(e) {
11148
11148
  function Ov(e) {
11149
11149
  if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
11150
11150
  }
11151
- function Cv(e, t) {
11151
+ function Sv(e, t) {
11152
11152
  if (e) {
11153
11153
  if (typeof e == "string") return Ar(e, t);
11154
11154
  var a = Object.prototype.toString.call(e).slice(8, -1);
@@ -11161,11 +11161,11 @@ function Ar(e, t) {
11161
11161
  for (var a = 0, n = new Array(t); a < t; a++) n[a] = e[a];
11162
11162
  return n;
11163
11163
  }
11164
- function Sv() {
11164
+ function Cv() {
11165
11165
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
11166
11166
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
11167
11167
  }
11168
- var $v = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Si = { exports: {} };
11168
+ var $v = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ci = { exports: {} };
11169
11169
  (function(e) {
11170
11170
  (function(t) {
11171
11171
  var a = function(g, x, b) {
@@ -11208,33 +11208,33 @@ var $v = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
11208
11208
  return s.call(g) == "[object Boolean]";
11209
11209
  }, h = function(g) {
11210
11210
  return g = g - 0, g === g;
11211
- }, A = function(g, x) {
11211
+ }, M = function(g, x) {
11212
11212
  var b = x && "process" in x ? x.process : x;
11213
11213
  return typeof b != "function" ? g : function(D, F) {
11214
11214
  return b(D, g, F);
11215
11215
  };
11216
- }, $ = {
11216
+ }, C = {
11217
11217
  camelize: r,
11218
11218
  decamelize: o,
11219
11219
  pascalize: l,
11220
11220
  depascalize: o,
11221
11221
  camelizeKeys: function(g, x) {
11222
- return a(A(r, x), g);
11222
+ return a(M(r, x), g);
11223
11223
  },
11224
11224
  decamelizeKeys: function(g, x) {
11225
- return a(A(o, x), g, x);
11225
+ return a(M(o, x), g, x);
11226
11226
  },
11227
11227
  pascalizeKeys: function(g, x) {
11228
- return a(A(l, x), g);
11228
+ return a(M(l, x), g);
11229
11229
  },
11230
11230
  depascalizeKeys: function() {
11231
11231
  return this.decamelizeKeys.apply(this, arguments);
11232
11232
  }
11233
11233
  };
11234
- e.exports ? e.exports = $ : t.humps = $;
11234
+ e.exports ? e.exports = C : t.humps = C;
11235
11235
  })($v);
11236
- })(Si);
11237
- var Iv = Si.exports, Rv = ["class", "style"];
11236
+ })(Ci);
11237
+ var Iv = Ci.exports, Rv = ["class", "style"];
11238
11238
  function Yv(e) {
11239
11239
  return e.split(";").map(function(t) {
11240
11240
  return t.trim();
@@ -11493,7 +11493,7 @@ We({
11493
11493
  }
11494
11494
  },
11495
11495
  setup: function(t, a) {
11496
- var n = a.slots, r = Ci.familyPrefix, l = j(function() {
11496
+ var n = a.slots, r = Si.familyPrefix, l = j(function() {
11497
11497
  return ["".concat(r, "-layers")].concat(Tr(t.fixedWidth ? ["".concat(r, "-fw")] : []));
11498
11498
  });
11499
11499
  return function() {
@@ -11527,7 +11527,7 @@ We({
11527
11527
  }
11528
11528
  },
11529
11529
  setup: function(t, a) {
11530
- var n = a.attrs, r = Ci.familyPrefix, l = j(function() {
11530
+ var n = a.attrs, r = Si.familyPrefix, l = j(function() {
11531
11531
  return Ua("classes", [].concat(Tr(t.counter ? ["".concat(r, "-layers-counter")] : []), Tr(t.position ? ["".concat(r, "-layers-").concat(t.position)] : [])));
11532
11532
  }), o = j(function() {
11533
11533
  return Ua("transform", typeof t.transform == "string" ? kn.transform(t.transform) : t.transform);
@@ -11549,36 +11549,24 @@ const Lv = {
11549
11549
  key: 0,
11550
11550
  class: "navigation__icon"
11551
11551
  }, Hv = ["src", "alt"], Vv = {
11552
- key: 1,
11553
- class: "navigation__label"
11554
- }, Wv = {
11555
11552
  key: 0,
11556
11553
  class: "navigation__dropdown-arrow"
11557
- }, jv = ["onClick"], Uv = ["onClick"], qv = {
11554
+ }, Wv = ["onClick"], jv = ["onClick"], Uv = {
11558
11555
  key: 0,
11559
11556
  class: "navigation__icon"
11560
- }, Qv = ["src", "alt"], Gv = {
11561
- key: 1,
11562
- class: "navigation__label"
11563
- }, Xv = {
11557
+ }, qv = ["src", "alt"], Qv = {
11564
11558
  key: 1,
11565
11559
  class: "navigation__dropdowns"
11566
- }, Kv = ["onClick"], Zv = {
11560
+ }, Gv = ["onClick"], Xv = {
11567
11561
  key: 0,
11568
11562
  class: "navigation__icon"
11569
- }, Jv = ["src", "alt"], ep = {
11570
- key: 1,
11571
- class: "navigation__label"
11572
- }, tp = {
11563
+ }, Kv = ["src", "alt"], Zv = {
11573
11564
  key: 0,
11574
11565
  class: "navigation__dropdown-arrow"
11575
- }, ap = ["onClick"], np = ["onClick"], rp = {
11566
+ }, Jv = ["onClick"], ep = ["onClick"], tp = {
11576
11567
  key: 0,
11577
11568
  class: "navigation__icon"
11578
- }, lp = ["src", "alt"], op = {
11579
- key: 1,
11580
- class: "navigation__label"
11581
- }, ip = /* @__PURE__ */ We({
11569
+ }, ap = ["src", "alt"], np = /* @__PURE__ */ We({
11582
11570
  __name: "Navigation",
11583
11571
  props: {
11584
11572
  items: {},
@@ -11617,7 +11605,7 @@ const Lv = {
11617
11605
  document.addEventListener("click", m);
11618
11606
  }), sa(() => {
11619
11607
  document.removeEventListener("click", m);
11620
- }), (c, k) => (w(), C("nav", {
11608
+ }), (c, k) => (w(), S("nav", {
11621
11609
  class: ge([
11622
11610
  "navigation",
11623
11611
  `navigation--${c.type}`,
@@ -11641,8 +11629,8 @@ const Lv = {
11641
11629
  "max-height": c.height
11642
11630
  })
11643
11631
  }, [
11644
- c.type === "tiles" ? (w(), C("div", Lv, [
11645
- (w(!0), C(xe, null, Fe(l.value, (h, A) => (w(), C("div", {
11632
+ c.type === "tiles" ? (w(), S("div", Lv, [
11633
+ (w(!0), S(xe, null, Fe(l.value, (h, M) => (w(), S("div", {
11646
11634
  key: h.id,
11647
11635
  class: ge(["navigation__tile", [
11648
11636
  { "navigation__tile--active": h.id === c.activeItem },
@@ -11656,9 +11644,9 @@ const Lv = {
11656
11644
  width: h.width || "150px",
11657
11645
  "min-width": h.width || "150px",
11658
11646
  "max-width": h.width || "150px",
11659
- "grid-column": h.alignment === "right" ? `${A - c.items.length}` : "auto"
11647
+ "grid-column": h.alignment === "right" ? `${M - c.items.length}` : "auto"
11660
11648
  }),
11661
- onClick: ($) => !h.id.includes("spacer") && s(h, $)
11649
+ onClick: (C) => !h.id.includes("spacer") && s(h, C)
11662
11650
  }, [
11663
11651
  ve("div", {
11664
11652
  class: ge(["navigation__tile-content", {
@@ -11666,8 +11654,8 @@ const Lv = {
11666
11654
  "navigation__tile-content--large-icon": c.iconSize === "large" && h.icon
11667
11655
  }])
11668
11656
  }, [
11669
- h.icon ? (w(), C("div", zv, [
11670
- h.icon.startsWith("img:") ? (w(), C("img", {
11657
+ h.icon ? (w(), S("div", zv, [
11658
+ h.icon.startsWith("img:") ? (w(), S("img", {
11671
11659
  key: 0,
11672
11660
  src: h.icon.substring(4),
11673
11661
  alt: h.label || "Icon",
@@ -11677,51 +11665,63 @@ const Lv = {
11677
11665
  icon: h.icon
11678
11666
  }, null, 8, ["icon"]))
11679
11667
  ])) : z("", !0),
11680
- h.label ? (w(), C("div", Vv, [
11668
+ h.label ? (w(), S("div", {
11669
+ key: 1,
11670
+ class: ge(["navigation__label", {
11671
+ "navigation__label--small": h.labelSize === "small",
11672
+ "navigation__label--large": h.labelSize === "large"
11673
+ }])
11674
+ }, [
11681
11675
  ve("span", null, Ne(h.label), 1),
11682
- h.children ? (w(), C("div", Wv, [
11676
+ h.children ? (w(), S("div", Vv, [
11683
11677
  Ze(v(Jt), { icon: "chevron-down" })
11684
11678
  ])) : z("", !0)
11685
- ])) : z("", !0)
11679
+ ], 2)) : z("", !0)
11686
11680
  ], 2),
11687
- h.url && parseInt(c.height || "0") >= 80 && !h.hideExternalOpen ? (w(), C("div", {
11681
+ h.url && parseInt(c.height || "0") >= 80 && !h.hideExternalOpen ? (w(), S("div", {
11688
11682
  key: 0,
11689
11683
  class: "navigation__external-link",
11690
- onClick: At(($) => u(h.url), ["stop"])
11684
+ onClick: At((C) => u(h.url), ["stop"])
11691
11685
  }, [
11692
11686
  Ze(v(Jt), { icon: "square-up-right" })
11693
- ], 8, jv)) : z("", !0),
11694
- h.children && p(h.id) ? (w(), C("div", {
11687
+ ], 8, Wv)) : z("", !0),
11688
+ h.children && p(h.id) ? (w(), S("div", {
11695
11689
  key: 1,
11696
11690
  class: ge(["navigation__dropdown-content", {
11697
11691
  "navigation__dropdown-content--start": h.alignment === "start",
11698
11692
  "navigation__dropdown-content--end": h.alignment === "end"
11699
11693
  }])
11700
11694
  }, [
11701
- (w(!0), C(xe, null, Fe(h.children, ($) => (w(), C("div", {
11702
- key: $.id,
11695
+ (w(!0), S(xe, null, Fe(h.children, (C) => (w(), S("div", {
11696
+ key: C.id,
11703
11697
  class: ge(["navigation__dropdown-item", {
11704
- "navigation__dropdown-item--disabled": $.disabled
11698
+ "navigation__dropdown-item--disabled": C.disabled
11705
11699
  }]),
11706
- onClick: (g) => s($, g)
11700
+ onClick: (g) => s(C, g)
11707
11701
  }, [
11708
- $.icon ? (w(), C("div", qv, [
11709
- $.icon.startsWith("img:") ? (w(), C("img", {
11702
+ C.icon ? (w(), S("div", Uv, [
11703
+ C.icon.startsWith("img:") ? (w(), S("img", {
11710
11704
  key: 0,
11711
- src: $.icon.substring(4),
11712
- alt: $.label || "Icon",
11705
+ src: C.icon.substring(4),
11706
+ alt: C.label || "Icon",
11713
11707
  class: "navigation__icon-image"
11714
- }, null, 8, Qv)) : (w(), De(v(Jt), {
11708
+ }, null, 8, qv)) : (w(), De(v(Jt), {
11715
11709
  key: 1,
11716
- icon: $.icon
11710
+ icon: C.icon
11717
11711
  }, null, 8, ["icon"]))
11718
11712
  ])) : z("", !0),
11719
- $.label ? (w(), C("div", Gv, Ne($.label), 1)) : z("", !0)
11720
- ], 10, Uv))), 128))
11713
+ C.label ? (w(), S("div", {
11714
+ key: 1,
11715
+ class: ge(["navigation__label", {
11716
+ "navigation__label--small": C.labelSize === "small",
11717
+ "navigation__label--large": C.labelSize === "large"
11718
+ }])
11719
+ }, Ne(C.label), 3)) : z("", !0)
11720
+ ], 10, jv))), 128))
11721
11721
  ], 2)) : z("", !0)
11722
11722
  ], 14, Bv))), 128))
11723
- ])) : (w(), C("div", Xv, [
11724
- (w(!0), C(xe, null, Fe(c.items, (h) => (w(), C("div", {
11723
+ ])) : (w(), S("div", Qv, [
11724
+ (w(!0), S(xe, null, Fe(c.items, (h) => (w(), S("div", {
11725
11725
  key: h.id,
11726
11726
  class: ge(["navigation__dropdown", [
11727
11727
  { "navigation__dropdown--active": h.id === c.activeItem },
@@ -11739,69 +11739,81 @@ const Lv = {
11739
11739
  "navigation__dropdown-header--icon-only": !h.label,
11740
11740
  "navigation__dropdown-header--large-icon": c.iconSize === "large" && h.icon
11741
11741
  }]),
11742
- onClick: (A) => s(h, A)
11742
+ onClick: (M) => s(h, M)
11743
11743
  }, [
11744
- h.icon ? (w(), C("div", Zv, [
11745
- h.icon.startsWith("img:") ? (w(), C("img", {
11744
+ h.icon ? (w(), S("div", Xv, [
11745
+ h.icon.startsWith("img:") ? (w(), S("img", {
11746
11746
  key: 0,
11747
11747
  src: h.icon.substring(4),
11748
11748
  alt: h.label || "Icon",
11749
11749
  class: "navigation__icon-image"
11750
- }, null, 8, Jv)) : (w(), De(v(Jt), {
11750
+ }, null, 8, Kv)) : (w(), De(v(Jt), {
11751
11751
  key: 1,
11752
11752
  icon: h.icon
11753
11753
  }, null, 8, ["icon"]))
11754
11754
  ])) : z("", !0),
11755
- h.label ? (w(), C("div", ep, [
11755
+ h.label ? (w(), S("div", {
11756
+ key: 1,
11757
+ class: ge(["navigation__label", {
11758
+ "navigation__label--small": h.labelSize === "small",
11759
+ "navigation__label--large": h.labelSize === "large"
11760
+ }])
11761
+ }, [
11756
11762
  ve("span", null, Ne(h.label), 1),
11757
- h.children ? (w(), C("div", tp, [
11763
+ h.children ? (w(), S("div", Zv, [
11758
11764
  Ze(v(Jt), { icon: "chevron-down" })
11759
11765
  ])) : z("", !0)
11760
- ])) : z("", !0)
11761
- ], 10, Kv),
11762
- h.url && parseInt(c.height || "0") >= 80 && !h.hideExternalOpen ? (w(), C("div", {
11766
+ ], 2)) : z("", !0)
11767
+ ], 10, Gv),
11768
+ h.url && parseInt(c.height || "0") >= 80 && !h.hideExternalOpen ? (w(), S("div", {
11763
11769
  key: 0,
11764
11770
  class: "navigation__external-link",
11765
- onClick: At((A) => u(h.url), ["stop"])
11771
+ onClick: At((M) => u(h.url), ["stop"])
11766
11772
  }, [
11767
11773
  Ze(v(Jt), { icon: "square-up-right" })
11768
- ], 8, ap)) : z("", !0),
11769
- h.children && p(h.id) ? (w(), C("div", {
11774
+ ], 8, Jv)) : z("", !0),
11775
+ h.children && p(h.id) ? (w(), S("div", {
11770
11776
  key: 1,
11771
11777
  class: ge(["navigation__dropdown-content", {
11772
11778
  "navigation__dropdown-content--start": h.alignment === "start",
11773
11779
  "navigation__dropdown-content--end": h.alignment === "end"
11774
11780
  }])
11775
11781
  }, [
11776
- (w(!0), C(xe, null, Fe(h.children, (A) => (w(), C("div", {
11777
- key: A.id,
11782
+ (w(!0), S(xe, null, Fe(h.children, (M) => (w(), S("div", {
11783
+ key: M.id,
11778
11784
  class: ge(["navigation__dropdown-item", {
11779
- "navigation__dropdown-item--disabled": A.disabled
11785
+ "navigation__dropdown-item--disabled": M.disabled
11780
11786
  }]),
11781
- onClick: ($) => s(A, $)
11787
+ onClick: (C) => s(M, C)
11782
11788
  }, [
11783
- A.icon ? (w(), C("div", rp, [
11784
- A.icon.startsWith("img:") ? (w(), C("img", {
11789
+ M.icon ? (w(), S("div", tp, [
11790
+ M.icon.startsWith("img:") ? (w(), S("img", {
11785
11791
  key: 0,
11786
- src: A.icon.substring(4),
11787
- alt: A.label || "Icon",
11792
+ src: M.icon.substring(4),
11793
+ alt: M.label || "Icon",
11788
11794
  class: "navigation__icon-image"
11789
- }, null, 8, lp)) : (w(), De(v(Jt), {
11795
+ }, null, 8, ap)) : (w(), De(v(Jt), {
11790
11796
  key: 1,
11791
- icon: A.icon
11797
+ icon: M.icon
11792
11798
  }, null, 8, ["icon"]))
11793
11799
  ])) : z("", !0),
11794
- A.label ? (w(), C("div", op, Ne(A.label), 1)) : z("", !0)
11795
- ], 10, np))), 128))
11800
+ M.label ? (w(), S("div", {
11801
+ key: 1,
11802
+ class: ge(["navigation__label", {
11803
+ "navigation__label--small": M.labelSize === "small",
11804
+ "navigation__label--large": M.labelSize === "large"
11805
+ }])
11806
+ }, Ne(M.label), 3)) : z("", !0)
11807
+ ], 10, ep))), 128))
11796
11808
  ], 2)) : z("", !0)
11797
11809
  ], 6))), 128))
11798
11810
  ]))
11799
11811
  ], 6));
11800
11812
  }
11801
- }), vp = /* @__PURE__ */ An(ip, [["__scopeId", "data-v-d870f454"]]), sp = {
11813
+ }), cp = /* @__PURE__ */ An(np, [["__scopeId", "data-v-db993721"]]), rp = {
11802
11814
  key: 1,
11803
11815
  class: "action__label"
11804
- }, up = /* @__PURE__ */ We({
11816
+ }, lp = /* @__PURE__ */ We({
11805
11817
  __name: "Action",
11806
11818
  props: {
11807
11819
  icon: { default: void 0 },
@@ -11831,7 +11843,7 @@ const Lv = {
11831
11843
  a.disabled || n("click", s);
11832
11844
  };
11833
11845
  return (s, u) => {
11834
- const p = Cr("font-awesome-icon");
11846
+ const p = Sr("font-awesome-icon");
11835
11847
  return w(), De(en(r.value ? "a" : "button"), {
11836
11848
  href: r.value ? s.href : void 0,
11837
11849
  type: r.value ? void 0 : s.type,
@@ -11858,16 +11870,16 @@ const Lv = {
11858
11870
  icon: s.icon,
11859
11871
  class: "action__icon"
11860
11872
  }, null, 8, ["icon"])) : z("", !0),
11861
- s.label ? (w(), C("span", sp, Ne(s.label), 1)) : z("", !0)
11873
+ s.label ? (w(), S("span", rp, Ne(s.label), 1)) : z("", !0)
11862
11874
  ]),
11863
11875
  _: 1
11864
11876
  }, 8, ["href", "type", "class", "style", "disabled"]);
11865
11877
  };
11866
11878
  }
11867
- }), pp = /* @__PURE__ */ An(up, [["__scopeId", "data-v-25e1756a"]]);
11879
+ }), dp = /* @__PURE__ */ An(lp, [["__scopeId", "data-v-25e1756a"]]);
11868
11880
  export {
11869
- pp as Action,
11870
- mp as FileUpload,
11871
- vp as Navigation,
11872
- fp as TextInput
11881
+ dp as Action,
11882
+ up as FileUpload,
11883
+ cp as Navigation,
11884
+ sp as TextInput
11873
11885
  };