@oub/fusion 0.3.17 → 0.3.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/fusion.js CHANGED
@@ -5,7 +5,7 @@ var ao = (e) => {
5
5
  var Jl = (e, t, a) => t in e ? zl(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
6
6
  var te = (e, t, a) => Jl(e, typeof t != "symbol" ? t + "" : t, a), xr = (e, t, a) => t.has(e) || ao("Cannot " + a);
7
7
  var re = (e, t, a) => (xr(e, t, "read from private field"), a ? a.call(e) : t.get(e)), Ne = (e, t, a) => t.has(e) ? ao("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, a), Xe = (e, t, a, n) => (xr(e, t, "write to private field"), n ? n.call(e, a) : t.set(e, a), a), Ce = (e, t, a) => (xr(e, t, "access private method"), a);
8
- import { defineComponent as ce, createElementBlock as S, openBlock as v, createStaticVNode as Yl, ref as ke, resolveComponent as oe, normalizeClass as z, createBlock as ve, createCommentVNode as U, createElementVNode as A, renderSlot as G, createTextVNode as gt, toDisplayString as le, withDirectives as ia, withKeys as vt, vModelText as ai, createVNode as ue, unref as f, getCurrentScope as ni, onScopeDispose as ri, toRef as os, readonly as si, customRef as Wl, watch as at, h as tt, computed as X, vModelDynamic as jl, resolveDynamicComponent as ea, mergeProps as ft, withCtx as ge, Fragment as Ee, renderList as He, createSlots as nt, withScopeId as Kl, toValue as la, reactive as en, shallowRef as oi, shallowReadonly as Va, mergeDefaults as ii, useSlots as ca, useTemplateRef as Ge, normalizeProps as pt, guardReactiveProps as Ot, provide as Xl, onMounted as st, nextTick as ct, onUnmounted as Ta, Teleport as Gl, normalizeStyle as dt, Transition as Oa, inject as Zl, withModifiers as wt, onBeforeUpdate as _l, vShow as bn, useCssVars as $l } from "vue";
8
+ import { defineComponent as ce, createElementBlock as S, openBlock as v, createStaticVNode as Yl, ref as ke, resolveComponent as oe, normalizeClass as z, createBlock as ve, createCommentVNode as U, createElementVNode as A, renderSlot as G, createTextVNode as gt, toDisplayString as le, withDirectives as ia, withKeys as vt, vModelText as ai, createVNode as ue, unref as f, getCurrentScope as ni, onScopeDispose as ri, toRef as os, readonly as si, customRef as Wl, watch as at, h as tt, computed as X, vModelDynamic as Kl, resolveDynamicComponent as ea, mergeProps as ft, withCtx as ge, Fragment as Ee, renderList as He, createSlots as nt, withScopeId as jl, toValue as la, reactive as en, shallowRef as oi, shallowReadonly as Va, mergeDefaults as ii, useSlots as ca, useTemplateRef as Ge, normalizeProps as pt, guardReactiveProps as Ot, provide as Xl, onMounted as st, nextTick as ct, onUnmounted as Ta, Teleport as Gl, normalizeStyle as dt, Transition as Oa, inject as Zl, withModifiers as wt, onBeforeUpdate as _l, vShow as bn, useCssVars as $l } from "vue";
9
9
  const eu = ce({
10
10
  name: "FusionLoadingSpinner",
11
11
  props: {
@@ -633,7 +633,7 @@ const ci = /* @__PURE__ */ he(Ou, [["render", Nu], ["__scopeId", "data-v-994929d
633
633
  }
634
634
  }
635
635
  }), Hu = ["data-test"], zu = { class: "fusion-radio-input-wrapper" }, Ju = ["id", "name", "required", "checked", "disabled", "aria-describedby"], Yu = ["id", "for"], Wu = ["id"];
636
- function ju(e, t, a, n, r, s) {
636
+ function Ku(e, t, a, n, r, s) {
637
637
  return v(), S("div", {
638
638
  class: z(["fusion-radio-container", e.stateClasses]),
639
639
  "data-test": e.dataTest
@@ -672,7 +672,7 @@ function ju(e, t, a, n, r, s) {
672
672
  ], 2)
673
673
  ], 10, Hu);
674
674
  }
675
- const Ku = /* @__PURE__ */ he(qu, [["render", ju], ["__scopeId", "data-v-65d82feb"]]);
675
+ const ju = /* @__PURE__ */ he(qu, [["render", Ku], ["__scopeId", "data-v-65d82feb"]]);
676
676
  function Ts(e) {
677
677
  return ni() ? (ri(e), !0) : !1;
678
678
  }
@@ -1151,7 +1151,7 @@ function Sd(e, t, a, n, r, s) {
1151
1151
  onMouseleave: t[5] || (t[5] = (...i) => e.handleMouseleave && e.handleMouseleave(...i)),
1152
1152
  onKeydown: t[6] || (t[6] = vt((...i) => e.handleKeydownEnter && e.handleKeydownEnter(...i), ["enter"]))
1153
1153
  }, null, 42, wd), [
1154
- [jl, e.inputValue]
1154
+ [Kl, e.inputValue]
1155
1155
  ])
1156
1156
  ]),
1157
1157
  e.errorLabel ? (v(), S("div", {
@@ -1438,11 +1438,11 @@ const gi = /* @__PURE__ */ he(Dd, [["render", Md], ["__scopeId", "data-v-1397321
1438
1438
  }, Jd = {
1439
1439
  class: "fusion-select-list-box-error-description",
1440
1440
  "data-test": "description"
1441
- }, Yd = { key: 2 }, Wd = { class: "custom-list-wrapper" }, jd = {
1441
+ }, Yd = { key: 2 }, Wd = { class: "custom-list-wrapper" }, Kd = {
1442
1442
  key: 3,
1443
1443
  class: "fusion-list-box-menu-list",
1444
1444
  role: "menu"
1445
- }, Kd = {
1445
+ }, jd = {
1446
1446
  key: 4,
1447
1447
  class: "px-16 py-24"
1448
1448
  }, Xd = {
@@ -1505,7 +1505,7 @@ function Gd(e, t, a, n, r, s) {
1505
1505
  A("div", Wd, [
1506
1506
  G(e.$slots, "custom-list", {}, void 0, !0)
1507
1507
  ])
1508
- ])) : e.options.length ? (v(), S("div", jd, [
1508
+ ])) : e.options.length ? (v(), S("div", Kd, [
1509
1509
  (v(!0), S(Ee, null, He(e.options, (g, c) => (v(), ve(u, {
1510
1510
  key: `${g.value}-${c}`,
1511
1511
  selected: g.value === e.selected.value,
@@ -1528,7 +1528,7 @@ function Gd(e, t, a, n, r, s) {
1528
1528
  key: "0"
1529
1529
  } : void 0
1530
1530
  ]), 1032, ["selected", "onClick", "onKeydown"]))), 128))
1531
- ])) : (v(), S("div", Kd, [
1531
+ ])) : (v(), S("div", jd, [
1532
1532
  A("div", Xd, [
1533
1533
  ue(d, {
1534
1534
  "data-test": "empty-list-icon",
@@ -2457,7 +2457,7 @@ var Us = {
2457
2457
  }
2458
2458
  }
2459
2459
  };
2460
- const hc = /* @__PURE__ */ Kl("data-v-60be6971"), mc = /* @__PURE__ */ hc((e, t, a, n, r, s) => a.country ? (v(), ve("span", {
2460
+ const hc = /* @__PURE__ */ jl("data-v-60be6971"), mc = /* @__PURE__ */ hc((e, t, a, n, r, s) => a.country ? (v(), ve("span", {
2461
2461
  key: 0,
2462
2462
  class: s.flagIconClass
2463
2463
  }, null, 2)) : U("", !0));
@@ -2990,9 +2990,9 @@ function Wc(e, t, a, n, r, s) {
2990
2990
  ])
2991
2991
  ], 8, Nc);
2992
2992
  }
2993
- const v3 = /* @__PURE__ */ he(Qc, [["render", Wc], ["__scopeId", "data-v-8ddcb9a5"]]), jc = ce({
2993
+ const v3 = /* @__PURE__ */ he(Qc, [["render", Wc], ["__scopeId", "data-v-8ddcb9a5"]]), Kc = ce({
2994
2994
  name: "FusionRadioGroup",
2995
- components: { SVGExclamationOctagon: yt, FusionRadio: Ku },
2995
+ components: { SVGExclamationOctagon: yt, FusionRadio: ju },
2996
2996
  props: {
2997
2997
  id: {
2998
2998
  type: String,
@@ -3039,7 +3039,7 @@ const v3 = /* @__PURE__ */ he(Qc, [["render", Wc], ["__scopeId", "data-v-8ddcb9a
3039
3039
  this.$emit("update:radios", a);
3040
3040
  }
3041
3041
  }
3042
- }), Kc = ["aria-labelledby", "aria-describedby"], Xc = ["id"], Gc = ["id"], Zc = ["id"], _c = { "data-test": "error-label" }, $c = { class: "fusion-radio-group-list" };
3042
+ }), jc = ["aria-labelledby", "aria-describedby"], Xc = ["id"], Gc = ["id"], Zc = ["id"], _c = { "data-test": "error-label" }, $c = { class: "fusion-radio-group-list" };
3043
3043
  function ef(e, t, a, n, r, s) {
3044
3044
  const o = oe("SVGExclamationOctagon"), i = oe("FusionRadio");
3045
3045
  return v(), S("div", {
@@ -3077,9 +3077,9 @@ function ef(e, t, a, n, r, s) {
3077
3077
  "onUpdate:modelValue": (u) => e.updateValue(d, u)
3078
3078
  }), null, 16, ["id", "helper-label", "onUpdate:modelValue"]))), 128))
3079
3079
  ])
3080
- ], 8, Kc);
3080
+ ], 8, jc);
3081
3081
  }
3082
- const y3 = /* @__PURE__ */ he(jc, [["render", ef], ["__scopeId", "data-v-a53734fe"]]), tf = ce({
3082
+ const y3 = /* @__PURE__ */ he(Kc, [["render", ef], ["__scopeId", "data-v-a53734fe"]]), tf = ce({
3083
3083
  name: "FusionSearchableInput",
3084
3084
  components: {
3085
3085
  SVGSearch: mi,
@@ -4012,7 +4012,7 @@ const Uf = 50, Ef = async (e, t, a) => {
4012
4012
  }, c = Rs(r), y = Es(c), w = await o.getDimensions(d), F = c === "y", h = F ? "top" : "left", p = F ? "bottom" : "right", m = F ? "clientHeight" : "clientWidth", B = s.reference[y] + s.reference[c] - g[c] - s.floating[y], M = g[c] - s.reference[c], N = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(d));
4013
4013
  let C = N ? N[m] : 0;
4014
4014
  (!C || !await (o.isElement == null ? void 0 : o.isElement(N))) && (C = i.floating[m] || s.floating[y]);
4015
- const O = B / 2 - M / 2, R = C / 2 - w[y] / 2 - 1, W = tn(k[h], R), _ = tn(k[p], R), K = W, j = C - w[y] - _, ae = C / 2 - w[y] / 2 + O, $ = ls(K, ae, j), se = !l.arrow && In(r) != null && ae !== $ && s.reference[y] / 2 - (ae < K ? W : _) - w[y] / 2 < 0, Q = se ? ae < K ? ae - K : ae - j : 0;
4015
+ const O = B / 2 - M / 2, R = C / 2 - w[y] / 2 - 1, W = tn(k[h], R), _ = tn(k[p], R), j = W, K = C - w[y] - _, ae = C / 2 - w[y] / 2 + O, $ = ls(j, ae, K), se = !l.arrow && In(r) != null && ae !== $ && s.reference[y] / 2 - (ae < j ? W : _) - w[y] / 2 < 0, Q = se ? ae < j ? ae - j : ae - K : 0;
4016
4016
  return {
4017
4017
  [c]: g[c] + Q,
4018
4018
  data: {
@@ -4061,7 +4061,7 @@ const Uf = 50, Ef = async (e, t, a) => {
4061
4061
  placement: r,
4062
4062
  overflows: R
4063
4063
  }], !R.every((ae) => ae <= 0)) {
4064
- var _, K;
4064
+ var _, j;
4065
4065
  const ae = (((_ = s.flip) == null ? void 0 : _.index) || 0) + 1, $ = C[ae];
4066
4066
  if ($ && (!(k === "alignment" ? p !== oa($) : !1) || // We leave the current main axis only if every placement on that axis
4067
4067
  // overflows the main axis.
@@ -4075,12 +4075,12 @@ const Uf = 50, Ef = async (e, t, a) => {
4075
4075
  placement: $
4076
4076
  }
4077
4077
  };
4078
- let se = (K = W.filter((Q) => Q.overflows[0] <= 0).sort((Q, J) => Q.overflows[1] - J.overflows[1])[0]) == null ? void 0 : K.placement;
4078
+ let se = (j = W.filter((Q) => Q.overflows[0] <= 0).sort((Q, J) => Q.overflows[1] - J.overflows[1])[0]) == null ? void 0 : j.placement;
4079
4079
  if (!se)
4080
4080
  switch (c) {
4081
4081
  case "bestFit": {
4082
- var j;
4083
- const Q = (j = W.filter((J) => {
4082
+ var K;
4083
+ const Q = (K = W.filter((J) => {
4084
4084
  if (N) {
4085
4085
  const fe = oa(J.placement);
4086
4086
  return fe === p || // Create a bias to the `y` side axis due to horizontal
@@ -4088,7 +4088,7 @@ const Uf = 50, Ef = async (e, t, a) => {
4088
4088
  fe === "y";
4089
4089
  }
4090
4090
  return !0;
4091
- }).map((J) => [J.placement, J.overflows.filter((fe) => fe > 0).reduce((fe, ne) => fe + ne, 0)]).sort((J, fe) => J[1] - fe[1])[0]) == null ? void 0 : j[0];
4091
+ }).map((J) => [J.placement, J.overflows.filter((fe) => fe > 0).reduce((fe, ne) => fe + ne, 0)]).sort((J, fe) => J[1] - fe[1])[0]) == null ? void 0 : K[0];
4092
4092
  Q && (se = Q);
4093
4093
  break;
4094
4094
  }
@@ -4224,7 +4224,7 @@ function mt(e) {
4224
4224
  var t;
4225
4225
  return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
4226
4226
  }
4227
- function jt(e) {
4227
+ function Kt(e) {
4228
4228
  var t;
4229
4229
  return (t = (Qs(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
4230
4230
  }
@@ -4270,7 +4270,7 @@ function Ns(e) {
4270
4270
  const t = Vt(e) ? Lt(e) : e;
4271
4271
  return ma(t.transform) || ma(t.translate) || ma(t.scale) || ma(t.rotate) || ma(t.perspective) || !qs() && (ma(t.backdropFilter) || ma(t.filter)) || Yf.test(t.willChange || "") || Wf.test(t.contain || "");
4272
4272
  }
4273
- function jf(e) {
4273
+ function Kf(e) {
4274
4274
  let t = ua(e);
4275
4275
  for (; ta(t) && !an(t); ) {
4276
4276
  if (Ns(t))
@@ -4307,7 +4307,7 @@ function ua(e) {
4307
4307
  e.assignedSlot || // DOM Element detected.
4308
4308
  e.parentNode || // ShadowRoot detected.
4309
4309
  io(e) && e.host || // Fallback.
4310
- jt(e)
4310
+ Kt(e)
4311
4311
  );
4312
4312
  return io(t) ? t.host : t;
4313
4313
  }
@@ -4356,10 +4356,10 @@ function za(e) {
4356
4356
  y: i
4357
4357
  };
4358
4358
  }
4359
- const Kf = /* @__PURE__ */ zt(0);
4359
+ const jf = /* @__PURE__ */ zt(0);
4360
4360
  function Ci(e) {
4361
4361
  const t = mt(e);
4362
- return !qs() || !t.visualViewport ? Kf : {
4362
+ return !qs() || !t.visualViewport ? jf : {
4363
4363
  x: t.visualViewport.offsetLeft,
4364
4364
  y: t.visualViewport.offsetTop
4365
4365
  };
@@ -4391,7 +4391,7 @@ function xa(e, t, a, n) {
4391
4391
  }
4392
4392
  function hr(e, t) {
4393
4393
  const a = pr(e).scrollLeft;
4394
- return t ? t.left + a : xa(jt(e)).left + a;
4394
+ return t ? t.left + a : xa(Kt(e)).left + a;
4395
4395
  }
4396
4396
  function Pi(e, t) {
4397
4397
  const a = e.getBoundingClientRect(), n = a.left + t.scrollLeft - hr(e, a), r = a.top + t.scrollTop;
@@ -4407,7 +4407,7 @@ function Gf(e) {
4407
4407
  offsetParent: n,
4408
4408
  strategy: r
4409
4409
  } = e;
4410
- const s = r === "fixed", o = jt(n), i = t ? fr(t.floating) : !1;
4410
+ const s = r === "fixed", o = Kt(n), i = t ? fr(t.floating) : !1;
4411
4411
  if (n === o || i && s)
4412
4412
  return a;
4413
4413
  let l = {
@@ -4431,7 +4431,7 @@ function Zf(e) {
4431
4431
  return Array.from(e.getClientRects());
4432
4432
  }
4433
4433
  function _f(e) {
4434
- const t = jt(e), a = pr(e), n = e.ownerDocument.body, r = Fa(t.scrollWidth, t.clientWidth, n.scrollWidth, n.clientWidth), s = Fa(t.scrollHeight, t.clientHeight, n.scrollHeight, n.clientHeight);
4434
+ const t = Kt(e), a = pr(e), n = e.ownerDocument.body, r = Fa(t.scrollWidth, t.clientWidth, n.scrollWidth, n.clientWidth), s = Fa(t.scrollHeight, t.clientHeight, n.scrollHeight, n.clientHeight);
4435
4435
  let o = -a.scrollLeft + hr(e);
4436
4436
  const i = -a.scrollTop;
4437
4437
  return Lt(n).direction === "rtl" && (o += Fa(t.clientWidth, n.clientWidth) - r), {
@@ -4443,7 +4443,7 @@ function _f(e) {
4443
4443
  }
4444
4444
  const lo = 25;
4445
4445
  function $f(e, t) {
4446
- const a = mt(e), n = jt(e), r = a.visualViewport;
4446
+ const a = mt(e), n = Kt(e), r = a.visualViewport;
4447
4447
  let s = n.clientWidth, o = n.clientHeight, i = 0, l = 0;
4448
4448
  if (r) {
4449
4449
  s = r.width, o = r.height;
@@ -4476,7 +4476,7 @@ function uo(e, t, a) {
4476
4476
  if (t === "viewport")
4477
4477
  n = $f(e, a);
4478
4478
  else if (t === "document")
4479
- n = _f(jt(e));
4479
+ n = _f(Kt(e));
4480
4480
  else if (Vt(t))
4481
4481
  n = ep(t, a);
4482
4482
  else {
@@ -4538,7 +4538,7 @@ function np(e) {
4538
4538
  };
4539
4539
  }
4540
4540
  function rp(e, t, a) {
4541
- const n = ta(t), r = jt(t), s = a === "fixed", o = xa(e, !0, s, t);
4541
+ const n = ta(t), r = Kt(t), s = a === "fixed", o = xa(e, !0, s, t);
4542
4542
  let i = {
4543
4543
  scrollLeft: 0,
4544
4544
  scrollTop: 0
@@ -4570,7 +4570,7 @@ function co(e, t) {
4570
4570
  if (t)
4571
4571
  return t(e);
4572
4572
  let a = e.offsetParent;
4573
- return jt(e) === a && (a = a.ownerDocument.body), a;
4573
+ return Kt(e) === a && (a = a.ownerDocument.body), a;
4574
4574
  }
4575
4575
  function Bi(e, t) {
4576
4576
  const a = mt(e);
@@ -4588,7 +4588,7 @@ function Bi(e, t) {
4588
4588
  let n = co(e, t);
4589
4589
  for (; n && Jf(n) && Lr(n); )
4590
4590
  n = co(n, t);
4591
- return n && an(n) && Lr(n) && !Ns(n) ? a : n || jf(e) || a;
4591
+ return n && an(n) && Lr(n) && !Ns(n) ? a : n || Kf(e) || a;
4592
4592
  }
4593
4593
  const sp = async function(e) {
4594
4594
  const t = this.getOffsetParent || Bi, a = this.getDimensions, n = await a(e.floating);
@@ -4607,7 +4607,7 @@ function op(e) {
4607
4607
  }
4608
4608
  const ip = {
4609
4609
  convertOffsetParentRelativeRectToViewportRelativeRect: Gf,
4610
- getDocumentElement: jt,
4610
+ getDocumentElement: Kt,
4611
4611
  getClippingRect: ap,
4612
4612
  getOffsetParent: Bi,
4613
4613
  getElementRects: sp,
@@ -4622,7 +4622,7 @@ function Di(e, t) {
4622
4622
  }
4623
4623
  function lp(e, t) {
4624
4624
  let a = null, n;
4625
- const r = jt(e);
4625
+ const r = Kt(e);
4626
4626
  function s() {
4627
4627
  var i;
4628
4628
  clearTimeout(n), (i = a) == null || i.disconnect(), a = null;
@@ -5297,7 +5297,7 @@ function cn(e) {
5297
5297
  const n = a.width, r = n && e.matchPatterns[n] || e.matchPatterns[e.defaultMatchWidth], s = t.match(r);
5298
5298
  if (!s)
5299
5299
  return null;
5300
- const o = s[0], i = n && e.parsePatterns[n] || e.parsePatterns[e.defaultParseWidth], l = Array.isArray(i) ? jp(i, (k) => k.test(o)) : (
5300
+ const o = s[0], i = n && e.parsePatterns[n] || e.parsePatterns[e.defaultParseWidth], l = Array.isArray(i) ? Kp(i, (k) => k.test(o)) : (
5301
5301
  // [TODO] -- I challenge you to fix the type
5302
5302
  Wp(i, (k) => k.test(o))
5303
5303
  );
@@ -5315,12 +5315,12 @@ function Wp(e, t) {
5315
5315
  if (Object.prototype.hasOwnProperty.call(e, a) && t(e[a]))
5316
5316
  return a;
5317
5317
  }
5318
- function jp(e, t) {
5318
+ function Kp(e, t) {
5319
5319
  for (let a = 0; a < e.length; a++)
5320
5320
  if (t(e[a]))
5321
5321
  return a;
5322
5322
  }
5323
- function Kp(e) {
5323
+ function jp(e) {
5324
5324
  return (t, a = {}) => {
5325
5325
  const n = t.match(e.matchPattern);
5326
5326
  if (!n) return null;
@@ -5400,7 +5400,7 @@ const Xp = /^(\d+)(th|st|nd|rd)?/i, Gp = /\d+/i, Zp = {
5400
5400
  night: /night/i
5401
5401
  }
5402
5402
  }, ih = {
5403
- ordinalNumber: Kp({
5403
+ ordinalNumber: jp({
5404
5404
  matchPattern: Xp,
5405
5405
  parsePattern: Gp,
5406
5406
  valueCallback: (e) => parseInt(e, 10)
@@ -5456,7 +5456,7 @@ function Ws(e, t) {
5456
5456
  const a = De(e, t == null ? void 0 : t.in), n = +nn(a) - +Sp(a);
5457
5457
  return Math.round(n / Ti) + 1;
5458
5458
  }
5459
- function js(e, t) {
5459
+ function Ks(e, t) {
5460
5460
  var u, k, g, c;
5461
5461
  const a = De(e, t == null ? void 0 : t.in), n = a.getFullYear(), r = Ia(), s = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((k = (u = t == null ? void 0 : t.locale) == null ? void 0 : u.options) == null ? void 0 : k.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((c = (g = r.locale) == null ? void 0 : g.options) == null ? void 0 : c.firstWeekContainsDate) ?? 1, o = Ye((t == null ? void 0 : t.in) || e, 0);
5462
5462
  o.setFullYear(n + 1, 0, s), o.setHours(0, 0, 0, 0);
@@ -5467,10 +5467,10 @@ function js(e, t) {
5467
5467
  }
5468
5468
  function uh(e, t) {
5469
5469
  var i, l, d, u;
5470
- const a = Ia(), n = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((l = (i = t == null ? void 0 : t.locale) == null ? void 0 : i.options) == null ? void 0 : l.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((u = (d = a.locale) == null ? void 0 : d.options) == null ? void 0 : u.firstWeekContainsDate) ?? 1, r = js(e, t), s = Ye((t == null ? void 0 : t.in) || e, 0);
5470
+ const a = Ia(), n = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((l = (i = t == null ? void 0 : t.locale) == null ? void 0 : i.options) == null ? void 0 : l.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((u = (d = a.locale) == null ? void 0 : d.options) == null ? void 0 : u.firstWeekContainsDate) ?? 1, r = Ks(e, t), s = Ye((t == null ? void 0 : t.in) || e, 0);
5471
5471
  return s.setFullYear(r, 0, n), s.setHours(0, 0, 0, 0), At(s, t);
5472
5472
  }
5473
- function Ks(e, t) {
5473
+ function js(e, t) {
5474
5474
  const a = De(e, t == null ? void 0 : t.in), n = +At(a, t) - +uh(a, t);
5475
5475
  return Math.round(n / Ti) + 1;
5476
5476
  }
@@ -5568,7 +5568,7 @@ const ra = {
5568
5568
  },
5569
5569
  // Local week-numbering year
5570
5570
  Y: function(e, t, a, n) {
5571
- const r = js(e, n), s = r > 0 ? r : 1 - r;
5571
+ const r = Ks(e, n), s = r > 0 ? r : 1 - r;
5572
5572
  if (t === "YY") {
5573
5573
  const o = s % 100;
5574
5574
  return Je(o, 2);
@@ -5722,7 +5722,7 @@ const ra = {
5722
5722
  },
5723
5723
  // Local week of year
5724
5724
  w: function(e, t, a, n) {
5725
- const r = Ks(e, n);
5725
+ const r = js(e, n);
5726
5726
  return t === "wo" ? a.ordinalNumber(r, { unit: "week" }) : Je(r, t.length);
5727
5727
  },
5728
5728
  // ISO week of year
@@ -6558,7 +6558,7 @@ class Mh extends ze {
6558
6558
  return n.isTwoDigitYear || n.year > 0;
6559
6559
  }
6560
6560
  set(a, n, r, s) {
6561
- const o = js(a, s);
6561
+ const o = Ks(a, s);
6562
6562
  if (r.isTwoDigitYear) {
6563
6563
  const l = zi(
6564
6564
  r.year,
@@ -6888,7 +6888,7 @@ class Rh extends ze {
6888
6888
  }
6889
6889
  }
6890
6890
  function Qh(e, t, a) {
6891
- const n = De(e, a == null ? void 0 : a.in), r = Ks(n, a) - t;
6891
+ const n = De(e, a == null ? void 0 : a.in), r = js(n, a) - t;
6892
6892
  return n.setDate(n.getDate() - r * 7), De(n, a == null ? void 0 : a.in);
6893
6893
  }
6894
6894
  class Nh extends ze {
@@ -7069,7 +7069,7 @@ function Gs(e, t, a) {
7069
7069
  const n = Ia(), r = (a == null ? void 0 : a.weekStartsOn) ?? ((g = (k = a == null ? void 0 : a.locale) == null ? void 0 : k.options) == null ? void 0 : g.weekStartsOn) ?? n.weekStartsOn ?? ((y = (c = n.locale) == null ? void 0 : c.options) == null ? void 0 : y.weekStartsOn) ?? 0, s = De(e, a == null ? void 0 : a.in), o = s.getDay(), l = (t % 7 + 7) % 7, d = 7 - r, u = t < 0 || t > 6 ? t - (o + d) % 7 : (l + d) % 7 - (o + d) % 7;
7070
7070
  return kt(s, u, a);
7071
7071
  }
7072
- class jh extends ze {
7072
+ class Kh extends ze {
7073
7073
  constructor() {
7074
7074
  super(...arguments);
7075
7075
  te(this, "priority", 90);
@@ -7110,7 +7110,7 @@ class jh extends ze {
7110
7110
  return a = Gs(a, r, s), a.setHours(0, 0, 0, 0), a;
7111
7111
  }
7112
7112
  }
7113
- class Kh extends ze {
7113
+ class jh extends ze {
7114
7114
  constructor() {
7115
7115
  super(...arguments);
7116
7116
  te(this, "priority", 90);
@@ -7743,8 +7743,8 @@ const fm = {
7743
7743
  I: new Hh(),
7744
7744
  d: new Yh(),
7745
7745
  D: new Wh(),
7746
- E: new jh(),
7747
- e: new Kh(),
7746
+ E: new Kh(),
7747
+ e: new jh(),
7748
7748
  c: new Xh(),
7749
7749
  i: new Zh(),
7750
7750
  a: new _h(),
@@ -7785,27 +7785,27 @@ function hs(e, t, a, n) {
7785
7785
  if (W) {
7786
7786
  const { incompatibleTokens: _ } = W;
7787
7787
  if (Array.isArray(_)) {
7788
- const j = g.find(
7788
+ const K = g.find(
7789
7789
  (ae) => _.includes(ae.token) || ae.token === R
7790
7790
  );
7791
- if (j)
7791
+ if (K)
7792
7792
  throw new RangeError(
7793
- `The format string mustn't contain \`${j.fullToken}\` and \`${O}\` at the same time`
7793
+ `The format string mustn't contain \`${K.fullToken}\` and \`${O}\` at the same time`
7794
7794
  );
7795
7795
  } else if (W.incompatibleTokens === "*" && g.length > 0)
7796
7796
  throw new RangeError(
7797
7797
  `The format string mustn't contain \`${O}\` and any other token at the same time`
7798
7798
  );
7799
7799
  g.push({ token: R, fullToken: O });
7800
- const K = W.run(
7800
+ const j = W.run(
7801
7801
  e,
7802
7802
  O,
7803
7803
  o.match,
7804
7804
  d
7805
7805
  );
7806
- if (!K)
7806
+ if (!j)
7807
7807
  return r();
7808
- u.push(K.setter), e = K.rest;
7808
+ u.push(j.setter), e = j.rest;
7809
7809
  } else {
7810
7810
  if (R.match(ym))
7811
7811
  throw new RangeError(
@@ -7890,7 +7890,7 @@ function Sm(e, t, a) {
7890
7890
  } = t, u = rn(e, r + n * 12, a), k = Yi(u, o + s * 7, a), g = l + i * 60, y = (d + g * 60) * 1e3;
7891
7891
  return Ye(e, +k - y);
7892
7892
  }
7893
- function ji(e, t, a) {
7893
+ function Ki(e, t, a) {
7894
7894
  return zs(e, -t, a);
7895
7895
  }
7896
7896
  function Cm(e, t, a = "long") {
@@ -7923,7 +7923,7 @@ function So(e, t) {
7923
7923
  class Ht extends Date {
7924
7924
  //#region static
7925
7925
  constructor(...t) {
7926
- super(), t.length > 1 && typeof t[t.length - 1] == "string" && (this.timeZone = t.pop()), this.internal = /* @__PURE__ */ new Date(), isNaN(ba(this.timeZone, this)) ? this.setTime(NaN) : t.length ? typeof t[0] == "number" && (t.length === 1 || t.length === 2 && typeof t[1] != "number") ? this.setTime(t[0]) : typeof t[0] == "string" ? this.setTime(+new Date(t[0])) : t[0] instanceof Date ? this.setTime(+t[0]) : (this.setTime(+new Date(...t)), Ki(this), ms(this)) : this.setTime(Date.now());
7926
+ super(), t.length > 1 && typeof t[t.length - 1] == "string" && (this.timeZone = t.pop()), this.internal = /* @__PURE__ */ new Date(), isNaN(ba(this.timeZone, this)) ? this.setTime(NaN) : t.length ? typeof t[0] == "number" && (t.length === 1 || t.length === 2 && typeof t[1] != "number") ? this.setTime(t[0]) : typeof t[0] == "string" ? this.setTime(+new Date(t[0])) : t[0] instanceof Date ? this.setTime(+t[0]) : (this.setTime(+new Date(...t)), ji(this), ms(this)) : this.setTime(Date.now());
7927
7927
  }
7928
7928
  static tz(t, ...a) {
7929
7929
  return a.length ? new Ht(...a, t) : new Ht(Date.now(), t);
@@ -7965,9 +7965,9 @@ function ms(e) {
7965
7965
  e.internal.setTime(+e), e.internal.setUTCSeconds(e.internal.getUTCSeconds() - Math.round(-ba(e.timeZone, e) * 60));
7966
7966
  }
7967
7967
  function Fm(e) {
7968
- Date.prototype.setFullYear.call(e, e.internal.getUTCFullYear(), e.internal.getUTCMonth(), e.internal.getUTCDate()), Date.prototype.setHours.call(e, e.internal.getUTCHours(), e.internal.getUTCMinutes(), e.internal.getUTCSeconds(), e.internal.getUTCMilliseconds()), Ki(e);
7968
+ Date.prototype.setFullYear.call(e, e.internal.getUTCFullYear(), e.internal.getUTCMonth(), e.internal.getUTCDate()), Date.prototype.setHours.call(e, e.internal.getUTCHours(), e.internal.getUTCMinutes(), e.internal.getUTCSeconds(), e.internal.getUTCMilliseconds()), ji(e);
7969
7969
  }
7970
- function Ki(e) {
7970
+ function ji(e) {
7971
7971
  const t = ba(e.timeZone, e), a = t > 0 ? Math.floor(t) : Math.ceil(t), n = /* @__PURE__ */ new Date(+e);
7972
7972
  n.setUTCHours(n.getUTCHours() - 1);
7973
7973
  const r = -(/* @__PURE__ */ new Date(+e)).getTimezoneOffset(), s = -(/* @__PURE__ */ new Date(+n)).getTimezoneOffset(), o = r - s, i = Date.prototype.getHours.apply(e) !== e.internal.getUTCHours();
@@ -8229,7 +8229,7 @@ const el = Symbol("ContextKey"), Dm = (e, t) => {
8229
8229
  };
8230
8230
  var Pt = /* @__PURE__ */ ((e) => (e.month = "month", e.year = "year", e))(Pt || {}), Ba = /* @__PURE__ */ ((e) => (e.header = "header", e.calendar = "calendar", e.timePicker = "timePicker", e))(Ba || {}), ut = /* @__PURE__ */ ((e) => (e.month = "month", e.year = "year", e.calendar = "calendar", e.time = "time", e.minutes = "minutes", e.hours = "hours", e.seconds = "seconds", e))(ut || {});
8231
8231
  const xm = ["timestamp", "date", "iso"];
8232
- var Ft = /* @__PURE__ */ ((e) => (e.up = "up", e.down = "down", e.left = "left", e.right = "right", e))(Ft || {}), je = /* @__PURE__ */ ((e) => (e.arrowUp = "ArrowUp", e.arrowDown = "ArrowDown", e.arrowLeft = "ArrowLeft", e.arrowRight = "ArrowRight", e.enter = "Enter", e.space = " ", e.esc = "Escape", e.tab = "Tab", e.home = "Home", e.end = "End", e.pageUp = "PageUp", e.pageDown = "PageDown", e))(je || {}), Na = /* @__PURE__ */ ((e) => (e.MONTH_AND_YEAR = "MM-yyyy", e.YEAR = "yyyy", e.DATE = "dd-MM-yyyy", e))(Na || {}), tl = /* @__PURE__ */ ((e) => (e[e.Sunday = 0] = "Sunday", e[e.Monday = 1] = "Monday", e[e.Tuesday = 2] = "Tuesday", e[e.Wednesday = 3] = "Wednesday", e[e.Thursday = 4] = "Thursday", e[e.Friday = 5] = "Friday", e[e.Saturday = 6] = "Saturday", e))(tl || {});
8232
+ var Ft = /* @__PURE__ */ ((e) => (e.up = "up", e.down = "down", e.left = "left", e.right = "right", e))(Ft || {}), Ke = /* @__PURE__ */ ((e) => (e.arrowUp = "ArrowUp", e.arrowDown = "ArrowDown", e.arrowLeft = "ArrowLeft", e.arrowRight = "ArrowRight", e.enter = "Enter", e.space = " ", e.esc = "Escape", e.tab = "Tab", e.home = "Home", e.end = "End", e.pageUp = "PageUp", e.pageDown = "PageDown", e))(Ke || {}), Na = /* @__PURE__ */ ((e) => (e.MONTH_AND_YEAR = "MM-yyyy", e.YEAR = "yyyy", e.DATE = "dd-MM-yyyy", e))(Na || {}), tl = /* @__PURE__ */ ((e) => (e[e.Sunday = 0] = "Sunday", e[e.Monday = 1] = "Monday", e[e.Tuesday = 2] = "Tuesday", e[e.Wednesday = 3] = "Wednesday", e[e.Thursday = 4] = "Thursday", e[e.Friday = 5] = "Friday", e[e.Saturday = 6] = "Saturday", e))(tl || {});
8233
8233
  const Tm = () => {
8234
8234
  const { rootProps: e, state: t } = Re(), a = X(() => t.arrowNavigationLevel), n = ke(-1), r = ke(-1);
8235
8235
  at(a, (p, m) => {
@@ -8250,7 +8250,7 @@ const Tm = () => {
8250
8250
  }), d = (p, m) => {
8251
8251
  a.value === 0 && (n.value = p, r.value = m);
8252
8252
  }, u = (p) => {
8253
- if (![je.arrowUp, je.arrowDown, je.arrowLeft, je.arrowRight].includes(p.key))
8253
+ if (![Ke.arrowUp, Ke.arrowDown, Ke.arrowLeft, Ke.arrowRight].includes(p.key))
8254
8254
  return;
8255
8255
  i(), p.preventDefault();
8256
8256
  const m = document.activeElement;
@@ -8266,13 +8266,13 @@ const Tm = () => {
8266
8266
  }
8267
8267
  if (B !== -1)
8268
8268
  switch (p.key) {
8269
- case je.arrowLeft:
8269
+ case Ke.arrowLeft:
8270
8270
  return k(B, M);
8271
- case je.arrowRight:
8271
+ case Ke.arrowRight:
8272
8272
  return g(B, M);
8273
- case je.arrowUp:
8273
+ case Ke.arrowUp:
8274
8274
  return c(B, M);
8275
- case je.arrowDown:
8275
+ case Ke.arrowDown:
8276
8276
  return y(B, M);
8277
8277
  default:
8278
8278
  return;
@@ -8382,7 +8382,7 @@ const Tm = () => {
8382
8382
  if (Array.isArray(D))
8383
8383
  return D.map((E) => Oe(E));
8384
8384
  throw new Error(r.dateArr("multi-dates"));
8385
- }, K = (D) => {
8385
+ }, j = (D) => {
8386
8386
  if (Array.isArray(D) && k.value.enabled) {
8387
8387
  const E = D[0], de = D[1];
8388
8388
  return [
@@ -8391,7 +8391,7 @@ const Tm = () => {
8391
8391
  ];
8392
8392
  }
8393
8393
  return s(D[0]);
8394
- }, j = (D) => l.modelAuto ? Array.isArray(D) ? [Oe(D[0]), Oe(D[1])] : l.autoApply ? [Oe(D)] : [Oe(D), null] : Array.isArray(D) ? t(
8394
+ }, K = (D) => l.modelAuto ? Array.isArray(D) ? [Oe(D[0]), Oe(D[1])] : l.autoApply ? [Oe(D)] : [Oe(D), null] : Array.isArray(D) ? t(
8395
8395
  () => D[1] ? [
8396
8396
  Oe(D[0]),
8397
8397
  D[1] ? Oe(D[1]) : e(k.value.partialRange)
@@ -8405,7 +8405,7 @@ const Tm = () => {
8405
8405
  pe(D[0]),
8406
8406
  D[1] ? pe(D[1]) : e(k.value.partialRange)
8407
8407
  ];
8408
- }, se = () => Array.isArray(w.value) ? w.value[1] ? $() : pe(n(w.value[0])) : [], Q = () => (w.value || []).map((D) => pe(D)), J = (D = !1) => (D || ae(), l.modelAuto ? se() : g.value.enabled ? Q() : Array.isArray(w.value) ? t(() => $(), k.value.enabled) : pe(n(w.value))), fe = (D) => !D || Array.isArray(D) && !D.length ? null : l.timePicker ? R(n(D)) : l.monthPicker ? W(n(D)) : l.yearPicker ? C(n(D)) : g.value.enabled ? _(n(D)) : l.weekPicker ? K(n(D)) : j(n(D)), ne = (D) => {
8408
+ }, se = () => Array.isArray(w.value) ? w.value[1] ? $() : pe(n(w.value[0])) : [], Q = () => (w.value || []).map((D) => pe(D)), J = (D = !1) => (D || ae(), l.modelAuto ? se() : g.value.enabled ? Q() : Array.isArray(w.value) ? t(() => $(), k.value.enabled) : pe(n(w.value))), fe = (D) => !D || Array.isArray(D) && !D.length ? null : l.timePicker ? R(n(D)) : l.monthPicker ? W(n(D)) : l.yearPicker ? C(n(D)) : g.value.enabled ? _(n(D)) : l.weekPicker ? j(n(D)) : K(n(D)), ne = (D) => {
8409
8409
  if (i.isTextInputDate) return;
8410
8410
  const E = fe(D);
8411
8411
  a(n(E)) ? (w.value = n(E), Pe()) : (w.value = null, d.value = "");
@@ -8471,7 +8471,7 @@ const Tm = () => {
8471
8471
  V,
8472
8472
  e.value.allowedDates,
8473
8473
  i(s.monthPicker, s.yearPicker)
8474
- ) : !1, K = (V) => !N(V), j = (V) => t.value.noDisabledRange ? !Js({ start: V[0], end: V[1] }).some((q) => K(q)) : !0, ae = (V) => {
8474
+ ) : !1, j = (V) => !N(V), K = (V) => t.value.noDisabledRange ? !Js({ start: V[0], end: V[1] }).some((q) => j(q)) : !0, ae = (V) => {
8475
8475
  if (V) {
8476
8476
  const q = Te(V);
8477
8477
  return q >= +s.yearRange[0] && q <= s.yearRange[1];
@@ -8479,7 +8479,7 @@ const Tm = () => {
8479
8479
  return !0;
8480
8480
  }, $ = (V, q) => !!(Array.isArray(V) && V[q] && (t.value.maxRange || t.value.minRange) && ae(V[q])), se = (V, q, ie = 0) => {
8481
8481
  if ($(q, ie) && ae(V)) {
8482
- const I = Ii(V, q[ie]), Y = w(q[ie], V), b = Y.length === 1 ? 0 : Y.filter((P) => K(P)).length, T = Math.abs(I) - (t.value.minMaxRawRange ? 0 : b);
8482
+ const I = Ii(V, q[ie]), Y = w(q[ie], V), b = Y.length === 1 ? 0 : Y.filter((P) => j(P)).length, T = Math.abs(I) - (t.value.minMaxRawRange ? 0 : b);
8483
8483
  if (t.value.minRange && t.value.maxRange)
8484
8484
  return T >= +t.value.minRange && T <= +t.value.maxRange;
8485
8485
  if (t.value.minRange) return T >= +t.value.minRange;
@@ -8551,10 +8551,10 @@ const Tm = () => {
8551
8551
  return D(I, b, ie, !!q) && Y;
8552
8552
  }, de = (V, q, ie) => V ? p(V, q) : o(ie ?? q);
8553
8553
  return {
8554
- isDisabled: K,
8554
+ isDisabled: j,
8555
8555
  validateDate: N,
8556
8556
  validateMonthYearInRange: W,
8557
- isDateRangeAllowed: j,
8557
+ isDateRangeAllowed: K,
8558
8558
  checkMinMaxRange: se,
8559
8559
  isValidTime: pe,
8560
8560
  validateMonthYear: Ie,
@@ -8868,7 +8868,7 @@ const Um = {
8868
8868
  return a + "rd";
8869
8869
  }
8870
8870
  return a + "th";
8871
- }, jm = {
8871
+ }, Km = {
8872
8872
  ordinalNumber: Wm,
8873
8873
  era: fn({
8874
8874
  values: Nm,
@@ -8893,7 +8893,7 @@ const Um = {
8893
8893
  formattingValues: Ym,
8894
8894
  defaultFormattingWidth: "wide"
8895
8895
  })
8896
- }, Km = /^(\d+)(th|st|nd|rd)?/i, Xm = /\d+/i, Gm = {
8896
+ }, jm = /^(\d+)(th|st|nd|rd)?/i, Xm = /\d+/i, Gm = {
8897
8897
  narrow: /^(b|a)/i,
8898
8898
  abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
8899
8899
  wide: /^(before christ|before common era|anno domini|common era)/i
@@ -8962,7 +8962,7 @@ const Um = {
8962
8962
  }
8963
8963
  }, og = {
8964
8964
  ordinalNumber: Lm({
8965
- matchPattern: Km,
8965
+ matchPattern: jm,
8966
8966
  parsePattern: Xm,
8967
8967
  valueCallback: (e) => parseInt(e, 10)
8968
8968
  }),
@@ -9030,7 +9030,7 @@ const Um = {
9030
9030
  formatDistance: Em,
9031
9031
  formatLong: dg,
9032
9032
  formatRelative: Qm,
9033
- localize: jm,
9033
+ localize: Km,
9034
9034
  match: og,
9035
9035
  options: {
9036
9036
  weekStartsOn: 0,
@@ -9208,7 +9208,7 @@ const Um = {
9208
9208
  hideInputIcon: !1,
9209
9209
  id: void 0,
9210
9210
  inputmode: "none"
9211
- }, jn = {
9211
+ }, Kn = {
9212
9212
  type: "local",
9213
9213
  hideOnOffsetDates: !1,
9214
9214
  label: "W"
@@ -9219,12 +9219,12 @@ const Um = {
9219
9219
  return e.timezone ? fe = new Qa(Q ?? /* @__PURE__ */ new Date(), e.timezone) : fe = Q ? new Date(Q) : /* @__PURE__ */ new Date(), J ? Le(fe, { hours: 0, minutes: 0, seconds: 0, milliseconds: 0 }) : fe;
9220
9220
  }
9221
9221
  const s = () => {
9222
- const Q = j.value.enableSeconds ? ":ss" : "", J = j.value.enableMinutes ? ":mm" : "";
9223
- return j.value.is24 ? `HH${J}${Q}` : `hh${J}${Q} aa`;
9222
+ const Q = K.value.enableSeconds ? ":ss" : "", J = K.value.enableMinutes ? ":mm" : "";
9223
+ return K.value.is24 ? `HH${J}${Q}` : `hh${J}${Q} aa`;
9224
9224
  }, o = () => {
9225
9225
  var Q;
9226
- return e.monthPicker ? "MM/yyyy" : e.timePicker ? s() : e.weekPicker ? `${((Q = N.value) == null ? void 0 : Q.type) === "iso" ? "II" : "ww"}-RR` : e.yearPicker ? "yyyy" : e.quarterPicker ? "QQQ/yyyy" : j.value.enableTimePicker ? `MM/dd/yyyy, ${s()}` : "MM/dd/yyyy";
9227
- }, i = (Q) => n(r(), Q, j.value.enableSeconds), l = () => R.value.enabled ? j.value.startTime && Array.isArray(j.value.startTime) ? [i(j.value.startTime[0]), i(j.value.startTime[1])] : null : j.value.startTime && !Array.isArray(j.value.startTime) ? i(j.value.startTime) : null, d = (Q) => Q ? typeof Q == "boolean" ? Q ? 2 : 0 : Math.max(+Q, 2) : 0, u = (Q) => {
9226
+ return e.monthPicker ? "MM/yyyy" : e.timePicker ? s() : e.weekPicker ? `${((Q = N.value) == null ? void 0 : Q.type) === "iso" ? "II" : "ww"}-RR` : e.yearPicker ? "yyyy" : e.quarterPicker ? "QQQ/yyyy" : K.value.enableTimePicker ? `MM/dd/yyyy, ${s()}` : "MM/dd/yyyy";
9227
+ }, i = (Q) => n(r(), Q, K.value.enableSeconds), l = () => R.value.enabled ? K.value.startTime && Array.isArray(K.value.startTime) ? [i(K.value.startTime[0]), i(K.value.startTime[1])] : null : K.value.startTime && !Array.isArray(K.value.startTime) ? i(K.value.startTime) : null, d = (Q) => Q ? typeof Q == "boolean" ? Q ? 2 : 0 : Math.max(+Q, 2) : 0, u = (Q) => {
9228
9228
  const J = a(e.monthPicker, e.yearPicker);
9229
9229
  return new Map(
9230
9230
  Q.map((fe) => {
@@ -9263,10 +9263,10 @@ const Um = {
9263
9263
  }), N = X(() => {
9264
9264
  var Q, J;
9265
9265
  return typeof e.weekNumbers == "object" ? {
9266
- type: ((Q = e.weekNumbers) == null ? void 0 : Q.type) ?? jn.type,
9267
- hideOnOffsetDates: ((J = e.weekNumbers) == null ? void 0 : J.hideOnOffsetDates) ?? jn.hideOnOffsetDates,
9268
- label: e.weekNumbers.label ?? jn.label
9269
- } : e.weekNumbers ? jn : void 0;
9266
+ type: ((Q = e.weekNumbers) == null ? void 0 : Q.type) ?? Kn.type,
9267
+ hideOnOffsetDates: ((J = e.weekNumbers) == null ? void 0 : J.hideOnOffsetDates) ?? Kn.hideOnOffsetDates,
9268
+ label: e.weekNumbers.label ?? Kn.label
9269
+ } : e.weekNumbers ? Kn : void 0;
9270
9270
  }), C = X(() => {
9271
9271
  var Q, J;
9272
9272
  return typeof e.multiDates == "boolean" ? { enabled: e.multiDates, dragSelect: !0, limit: null } : {
@@ -9309,10 +9309,10 @@ const Um = {
9309
9309
  input: ((Q = e.formats) == null ? void 0 : Q.input) ?? o(),
9310
9310
  preview: ((J = e.formats) == null ? void 0 : J.preview) ?? o()
9311
9311
  };
9312
- }), K = X(() => {
9312
+ }), j = X(() => {
9313
9313
  if (e.teleport)
9314
9314
  return typeof e.teleport == "string" ? e.teleport : typeof e.teleport == "boolean" ? "body" : e.teleport;
9315
- }), j = X(() => ({ ...yg, ...e.timeConfig })), ae = X(() => {
9315
+ }), K = X(() => ({ ...yg, ...e.timeConfig })), ae = X(() => {
9316
9316
  if (e.flow)
9317
9317
  return { steps: [], partial: !1, ...e.flow };
9318
9318
  }), $ = X(() => {
@@ -9346,8 +9346,8 @@ const Um = {
9346
9346
  multiDates: C,
9347
9347
  ui: W,
9348
9348
  formats: _,
9349
- teleport: K,
9350
- timeConfig: j,
9349
+ teleport: j,
9350
+ timeConfig: K,
9351
9351
  flow: ae,
9352
9352
  inputAttrs: $,
9353
9353
  floatingConfig: se,
@@ -9372,7 +9372,7 @@ const Um = {
9372
9372
  }, i = (p) => String(p).padStart(2, "0"), l = (p, m) => p == null ? void 0 : p.querySelector(`[data-dp-element="${m}"]`), d = (p, m, B = !1) => {
9373
9373
  p && m.allowStopPropagation && (B && p.stopImmediatePropagation(), p.stopPropagation());
9374
9374
  }, u = (p, m, B = !1, M) => {
9375
- if (p.key === je.enter || p.key === je.space)
9375
+ if (p.key === Ke.enter || p.key === Ke.space)
9376
9376
  return B && p.preventDefault(), m();
9377
9377
  if (M) return M(p);
9378
9378
  }, k = (p, m) => {
@@ -10009,7 +10009,7 @@ const Ua = [
10009
10009
  inputValue: o,
10010
10010
  rootProps: i,
10011
10011
  defaults: { textInput: l, ariaLabels: d, inline: u, config: k, range: g, multiDates: c, ui: y, inputAttrs: w }
10012
- } = Re(), { checkMinMaxRange: F, isValidDate: h } = St(), { parseFreeInput: p, textPasted: m, createMaskedValue: B, applyMaxValues: M } = Sg(), { checkKeyDown: N, checkStopPropagation: C } = rt(), { boolHtmlAttribute: O } = sn(), R = Ge("dp-input"), W = ke(null), _ = ke(!1), K = X(
10012
+ } = Re(), { checkMinMaxRange: F, isValidDate: h } = St(), { parseFreeInput: p, textPasted: m, createMaskedValue: B, applyMaxValues: M } = Sg(), { checkKeyDown: N, checkStopPropagation: C } = rt(), { boolHtmlAttribute: O } = sn(), R = Ge("dp-input"), W = ke(null), _ = ke(!1), j = X(
10013
10013
  () => ({
10014
10014
  dp__pointer: !i.disabled && !i.readonly && !l.value.enabled,
10015
10015
  dp__disabled: i.disabled,
@@ -10023,7 +10023,7 @@ const Ua = [
10023
10023
  dp__input_reg: !l.value.enabled,
10024
10024
  ...y.value.input
10025
10025
  })
10026
- ), j = () => {
10026
+ ), K = () => {
10027
10027
  n("set-input-date", null), w && i.autoApply && (n("set-empty-date"), W.value = null);
10028
10028
  }, ae = (D) => {
10029
10029
  var E;
@@ -10060,7 +10060,7 @@ const Ua = [
10060
10060
  const I = /(YYYY|MM|DD|hh|mm|ss)/g, Y = [...de.matchAll(I)].map((P) => P[0]), b = E.replace(/\D/g, ""), T = M(b, Y);
10061
10061
  V = B(T, de);
10062
10062
  }
10063
- V === "" ? j() : (l.value.openMenu && !r.isMenuOpen && n("open"), Q(V), n("set-input-date", W.value)), m.value = !1, o.value = V, s("text-input", D, W.value);
10063
+ V === "" ? K() : (l.value.openMenu && !r.isMenuOpen && n("open"), Q(V), n("set-input-date", W.value)), m.value = !1, o.value = V, s("text-input", D, W.value);
10064
10064
  }, fe = (D) => {
10065
10065
  l.value.enabled ? (Q(D.target.value), l.value.enterSubmit && h(W.value) && o.value !== "" ? (n("set-input-date", W.value, !0), W.value = null) : l.value.enterSubmit && o.value === "" && (W.value = null, n("clear"))) : Pe(D);
10066
10066
  }, ne = (D, E) => {
@@ -10092,7 +10092,7 @@ const Ua = [
10092
10092
  }, Ie = (D) => {
10093
10093
  W.value = D;
10094
10094
  }, Qe = (D) => {
10095
- D.key === je.tab && ne(D, !0);
10095
+ D.key === Ke.tab && ne(D, !0);
10096
10096
  };
10097
10097
  return t({
10098
10098
  focusInput: Ve,
@@ -10123,7 +10123,7 @@ const Ua = [
10123
10123
  ref: "dp-input",
10124
10124
  "data-test-id": "dp-input",
10125
10125
  name: f(w).name,
10126
- class: z(K.value),
10126
+ class: z(j.value),
10127
10127
  inputmode: f(w).inputmode,
10128
10128
  placeholder: f(i).placeholder,
10129
10129
  disabled: f(O)(f(i).disabled),
@@ -10218,8 +10218,8 @@ const Ua = [
10218
10218
  }, _ = () => {
10219
10219
  const se = o.value;
10220
10220
  return l.value.count > 0 ? `${w(se[0])} - ${w(se[1])}` : [w(se[0]), w(se[1])];
10221
- }, K = X(() => !o.value || !n.menuMount ? "" : typeof g.value.preview == "string" ? Array.isArray(o.value) ? o.value.length === 2 && o.value[1] ? _() : k.value.enabled ? o.value.map((se) => `${w(se)}`) : s.modelAuto ? `${w(o.value[0])}` : `${w(o.value[0])} -` : w(o.value) : W()), j = () => k.value.enabled ? "; " : " - ", ae = X(
10222
- () => Array.isArray(K.value) ? K.value.join(j()) : K.value
10221
+ }, j = X(() => !o.value || !n.menuMount ? "" : typeof g.value.preview == "string" ? Array.isArray(o.value) ? o.value.length === 2 && o.value[1] ? _() : k.value.enabled ? o.value.map((se) => `${w(se)}`) : s.modelAuto ? `${w(o.value[0])}` : `${w(o.value[0])} -` : w(o.value) : W()), K = () => k.value.enabled ? "; " : " - ", ae = X(
10222
+ () => Array.isArray(j.value) ? j.value.join(K()) : j.value
10223
10223
  ), $ = () => {
10224
10224
  c.value(o.value) && y.value(o.value) && O.value ? a("select-date") : r("invalid-select");
10225
10225
  };
@@ -10338,10 +10338,10 @@ const Ua = [
10338
10338
  dp__button_bottom: n.isLast
10339
10339
  })
10340
10340
  ), M = X(() => {
10341
- var j, ae;
10341
+ var K, ae;
10342
10342
  return {
10343
10343
  dp__overlay_container: !0,
10344
- dp__container_flex: ((j = n.items) == null ? void 0 : j.length) <= 6,
10344
+ dp__container_flex: ((K = n.items) == null ? void 0 : K.length) <= 6,
10345
10345
  dp__container_block: ((ae = n.items) == null ? void 0 : ae.length) > 6
10346
10346
  };
10347
10347
  });
@@ -10350,25 +10350,25 @@ const Ua = [
10350
10350
  () => N(!1),
10351
10351
  { deep: !0 }
10352
10352
  );
10353
- const N = (j = !0) => {
10353
+ const N = (K = !0) => {
10354
10354
  ct().then(() => {
10355
10355
  const ae = document.querySelector(`[data-dp-element-active="${n.level ?? 1}"]`), $ = ht(g), se = ht(u), Q = ht(k), J = se ? se.getBoundingClientRect().height : 0;
10356
- $ && ($.getBoundingClientRect().height ? F.value = $.getBoundingClientRect().height - J : F.value = o.value.modeHeight - J), ae && Q && j && (Q.scrollTop = ae.offsetTop - Q.offsetTop - (F.value / 2 - ae.getBoundingClientRect().height) - J);
10356
+ $ && ($.getBoundingClientRect().height ? F.value = $.getBoundingClientRect().height - J : F.value = o.value.modeHeight - J), ae && Q && K && (Q.scrollTop = ae.offsetTop - Q.offsetTop - (F.value / 2 - ae.getBoundingClientRect().height) - J);
10357
10357
  });
10358
- }, C = (j) => {
10359
- j.disabled || a("selected", j.value);
10358
+ }, C = (K) => {
10359
+ K.disabled || a("selected", K.value);
10360
10360
  }, O = () => {
10361
10361
  a("toggle"), a("reset-flow");
10362
- }, R = (j) => {
10363
- o.value.escClose && (O(), l(j, o.value));
10364
- }, W = (j) => {
10365
- w.value = j, a("hover-value", j);
10366
- }, _ = (j) => {
10367
- if (j.key === je.esc) return R(j);
10368
- }, K = (j) => {
10369
- if (j.key === je.enter) return O();
10362
+ }, R = (K) => {
10363
+ o.value.escClose && (O(), l(K, o.value));
10364
+ }, W = (K) => {
10365
+ w.value = K, a("hover-value", K);
10366
+ }, _ = (K) => {
10367
+ if (K.key === Ke.esc) return R(K);
10368
+ }, j = (K) => {
10369
+ if (K.key === Ke.enter) return O();
10370
10370
  };
10371
- return (j, ae) => {
10371
+ return (K, ae) => {
10372
10372
  var $;
10373
10373
  return v(), S("div", {
10374
10374
  ref: "grid-wrap",
@@ -10388,9 +10388,9 @@ const Ua = [
10388
10388
  role: "grid"
10389
10389
  }, [
10390
10390
  A("div", Lg, [
10391
- G(j.$slots, "header")
10391
+ G(K.$slots, "header")
10392
10392
  ]),
10393
- G(j.$slots, "overlay", {}, () => [
10393
+ G(K.$slots, "overlay", {}, () => [
10394
10394
  (v(!0), S(Ee, null, He(e.items, (se, Q) => (v(), S("div", {
10395
10395
  key: Q,
10396
10396
  class: z(["dp__overlay_row", { dp__flex_row: e.items.length >= 3 }]),
@@ -10413,7 +10413,7 @@ const Ua = [
10413
10413
  A("div", {
10414
10414
  class: z(J.className)
10415
10415
  }, [
10416
- G(j.$slots, "item", { item: J }, () => [
10416
+ G(K.$slots, "item", { item: J }, () => [
10417
10417
  gt(le(J.text), 1)
10418
10418
  ])
10419
10419
  ], 2)
@@ -10421,7 +10421,7 @@ const Ua = [
10421
10421
  ], 2))), 128))
10422
10422
  ])
10423
10423
  ], 6),
10424
- j.$slots["button-icon"] ? ia((v(), S("button", {
10424
+ K.$slots["button-icon"] ? ia((v(), S("button", {
10425
10425
  key: 0,
10426
10426
  ref: "toggle-button",
10427
10427
  type: "button",
@@ -10430,9 +10430,9 @@ const Ua = [
10430
10430
  tabindex: "0",
10431
10431
  "data-dp-action-element": e.level ?? 1,
10432
10432
  onClick: O,
10433
- onKeydown: K
10433
+ onKeydown: j
10434
10434
  }, [
10435
- G(j.$slots, "button-icon")
10435
+ G(K.$slots, "button-icon")
10436
10436
  ], 42, Eg)), [
10437
10437
  [bn, !f(i)(e.type)]
10438
10438
  ]) : U("", !0)
@@ -10585,7 +10585,7 @@ const Ua = [
10585
10585
  "overlay-label": (_ = (W = f(l)) == null ? void 0 : W.yearPicker) == null ? void 0 : _.call(W, !0),
10586
10586
  type: "year",
10587
10587
  onToggle: F,
10588
- onSelected: B[4] || (B[4] = (K) => h(K))
10588
+ onSelected: B[4] || (B[4] = (j) => h(j))
10589
10589
  }, nt({
10590
10590
  "button-icon": ge(() => [
10591
10591
  m.$slots["calendar-icon"] ? G(m.$slots, "calendar-icon", { key: 0 }) : U("", !0),
@@ -10595,10 +10595,10 @@ const Ua = [
10595
10595
  }, [
10596
10596
  m.$slots["year-overlay-value"] ? {
10597
10597
  name: "item",
10598
- fn: ge(({ item: K }) => [
10598
+ fn: ge(({ item: j }) => [
10599
10599
  G(m.$slots, "year-overlay-value", {
10600
- text: K.text,
10601
- value: K.value
10600
+ text: j.text,
10601
+ value: j.value
10602
10602
  })
10603
10603
  ]),
10604
10604
  key: "0"
@@ -10644,17 +10644,17 @@ const Ua = [
10644
10644
  }, W = (ne) => {
10645
10645
  if (!ne) return R();
10646
10646
  const me = Le(t(), i.value[ne]);
10647
- return i.value[0].year = Te(ji(me, d.value.count - 1)), R();
10647
+ return i.value[0].year = Te(Ki(me, d.value.count - 1)), R();
10648
10648
  }, _ = (ne, me) => {
10649
10649
  const Pe = Bp(me, ne);
10650
10650
  return u.value.showLastInRange && Pe > 1 ? me : ne;
10651
- }, K = (ne) => l.focusStartDate || d.value.solo ? ne[0] : ne[1] ? _(ne[0], ne[1]) : ne[0], j = () => {
10651
+ }, j = (ne) => l.focusStartDate || d.value.solo ? ne[0] : ne[1] ? _(ne[0], ne[1]) : ne[0], K = () => {
10652
10652
  if (o.value) {
10653
- const ne = Array.isArray(o.value) ? K(o.value) : o.value;
10653
+ const ne = Array.isArray(o.value) ? j(o.value) : o.value;
10654
10654
  i.value[0] = { month: qe(ne), year: Te(ne) };
10655
10655
  }
10656
10656
  }, ae = () => {
10657
- j(), d.value.count && R();
10657
+ K(), d.value.count && R();
10658
10658
  };
10659
10659
  at(o, (ne, me) => {
10660
10660
  n.isTextInputDate && JSON.stringify(ne ?? {}) !== JSON.stringify(me ?? {}) && ae();
@@ -10737,7 +10737,7 @@ const Ua = [
10737
10737
  Rn(() => {
10738
10738
  r.isTextInputDate && Q(Te(a(l.startDate)), 0);
10739
10739
  });
10740
- const { checkMinMaxRange: y, checkMinMaxValue: w } = St(), { isDateBetween: F, resetDateTime: h, resetDate: p, getMinMonth: m, getMaxMonth: B, checkHighlightMonth: M, groupListAndMap: N } = lt(), { checkRangeAutoApply: C, getRangeWithFixedDate: O, handleMultiDatesSelect: R, setMonthOrYearRange: W, setPresetDate: _ } = br(), { padZero: K } = rt(), { getMonths: j, isOutOfYearRange: ae } = gr(), $ = X(() => j()), se = ke(null), {
10740
+ const { checkMinMaxRange: y, checkMinMaxValue: w } = St(), { isDateBetween: F, resetDateTime: h, resetDate: p, getMinMonth: m, getMaxMonth: B, checkHighlightMonth: M, groupListAndMap: N } = lt(), { checkRangeAutoApply: C, getRangeWithFixedDate: O, handleMultiDatesSelect: R, setMonthOrYearRange: W, setPresetDate: _ } = br(), { padZero: j } = rt(), { getMonths: K, isOutOfYearRange: ae } = gr(), $ = X(() => K()), se = ke(null), {
10741
10741
  selectYear: Q,
10742
10742
  groupedYears: J,
10743
10743
  showYearPicker: fe,
@@ -10768,12 +10768,12 @@ const Ua = [
10768
10768
  }
10769
10769
  return !1;
10770
10770
  }, D = X(() => (x) => N($.value, (ee) => {
10771
- var Kt;
10771
+ var jt;
10772
10772
  const ye = Ve(x, ee.value), xe = w(
10773
10773
  ee.value,
10774
10774
  m(o.value(x), k.value.minDate),
10775
10775
  B(o.value(x), k.value.maxDate)
10776
- ) || P(k.value.disabledDates, o.value(x), ee.value) || ((Kt = g.value.months) == null ? void 0 : Kt.includes(ee.value)) || !H(k.value.allowedDates, o.value(x), ee.value) || ae(o.value(x)), we = Qe(ee.value, x), Ue = M(u.value, ee.value, o.value(x));
10776
+ ) || P(k.value.disabledDates, o.value(x), ee.value) || ((jt = g.value.months) == null ? void 0 : jt.includes(ee.value)) || !H(k.value.allowedDates, o.value(x), ee.value) || ae(o.value(x)), we = Qe(ee.value, x), Ue = M(u.value, ee.value, o.value(x));
10777
10777
  return { active: ye, disabled: xe, isBetween: we, highlighted: Ue };
10778
10778
  })), E = (x, ee) => Le(p(a()), { month: x, year: o.value(ee) }), de = (x, ee) => {
10779
10779
  const ye = i.value ? i.value : p(a());
@@ -10802,13 +10802,13 @@ const Ua = [
10802
10802
  }), t("auto-apply");
10803
10803
  }, P = (x, ee, ye) => {
10804
10804
  if (x instanceof Map) {
10805
- const xe = `${K(ye + 1)}-${ee}`;
10805
+ const xe = `${j(ye + 1)}-${ee}`;
10806
10806
  return x.size ? x.has(xe) : !1;
10807
10807
  }
10808
10808
  return typeof x == "function" ? x(h(Le(a(), { month: ye, year: ee }), !0)) : !1;
10809
10809
  }, H = (x, ee, ye) => {
10810
10810
  if (x instanceof Map) {
10811
- const xe = `${K(ye + 1)}-${ee}`;
10811
+ const xe = `${j(ye + 1)}-${ee}`;
10812
10812
  return x.size ? x.has(xe) : !0;
10813
10813
  }
10814
10814
  return !0;
@@ -10898,8 +10898,8 @@ const Ua = [
10898
10898
  "use-relative": "",
10899
10899
  level: 0,
10900
10900
  type: "month",
10901
- onSelected: (K) => f(h)(K, _),
10902
- onHoverValue: (K) => f(F)(K, _)
10901
+ onSelected: (j) => f(h)(j, _),
10902
+ onHoverValue: (j) => f(F)(j, _)
10903
10903
  }, nt({
10904
10904
  header: ge(() => [
10905
10905
  ue(rl, {
@@ -10907,15 +10907,15 @@ const Ua = [
10907
10907
  instance: _,
10908
10908
  "show-year-picker": f(c)[_],
10909
10909
  year: f(k)(_),
10910
- "is-disabled": (K) => f(g)(_, K),
10911
- onHandleYear: (K) => f(M)(_, K),
10912
- onYearSelect: (K) => f(B)(K, _),
10913
- onToggleYearPicker: (K) => f(m)(_, K == null ? void 0 : K.flow, K == null ? void 0 : K.show)
10910
+ "is-disabled": (j) => f(g)(_, j),
10911
+ onHandleYear: (j) => f(M)(_, j),
10912
+ onYearSelect: (j) => f(B)(j, _),
10913
+ onToggleYearPicker: (j) => f(m)(_, j == null ? void 0 : j.flow, j == null ? void 0 : j.show)
10914
10914
  }, nt({ _: 2 }, [
10915
- He(f(l), (K, j) => ({
10916
- name: K,
10915
+ He(f(l), (j, K) => ({
10916
+ name: j,
10917
10917
  fn: ge((ae) => [
10918
- G(C.$slots, K, ft({ ref_for: !0 }, ae))
10918
+ G(C.$slots, j, ft({ ref_for: !0 }, ae))
10919
10919
  ])
10920
10920
  }))
10921
10921
  ]), 1032, ["items", "instance", "show-year-picker", "year", "is-disabled", "onHandleYear", "onYearSelect", "onToggleYearPicker"])
@@ -10924,10 +10924,10 @@ const Ua = [
10924
10924
  }, [
10925
10925
  C.$slots["month-overlay-value"] ? {
10926
10926
  name: "item",
10927
- fn: ge(({ item: K }) => [
10927
+ fn: ge(({ item: j }) => [
10928
10928
  G(C.$slots, "month-overlay-value", {
10929
- text: K.text,
10930
- value: K.value
10929
+ text: j.text,
10930
+ value: j.value
10931
10931
  })
10932
10932
  ]),
10933
10933
  key: "0"
@@ -10958,16 +10958,16 @@ const Ua = [
10958
10958
  const R = ($) => Array.isArray(s.value) ? s.value.some((se) => Te(se) === $) : s.value ? Te(s.value) === $ : !1, W = ($) => u.value.enabled && Array.isArray(s.value) ? c(s.value, C.value, ae($)) : !1, _ = ($) => {
10959
10959
  var se;
10960
10960
  return (se = k.value.allowedDates) != null && se.size ? k.value.allowedDates.has(`${$}`) : !0;
10961
- }, K = ($) => k.value.disabledDates instanceof Map ? k.value.disabledDates.size ? k.value.disabledDates.has(`${$}`) : !1 : typeof k.value.disabledDates == "function" ? k.value.disabledDates(Tt(w(Ja(n())), $)) : !0, j = X(() => p(g(), ($) => {
10961
+ }, j = ($) => k.value.disabledDates instanceof Map ? k.value.disabledDates.size ? k.value.disabledDates.has(`${$}`) : !1 : typeof k.value.disabledDates == "function" ? k.value.disabledDates(Tt(w(Ja(n())), $)) : !0, K = X(() => p(g(), ($) => {
10962
10962
  const se = R($.value), Q = M(
10963
10963
  $.value,
10964
10964
  F(k.value.minDate),
10965
10965
  F(k.value.maxDate)
10966
- ) || d.value.years.includes($.value) || !_($.value) || K($.value), J = W($.value) && !se, fe = h(i.value, $.value);
10966
+ ) || d.value.years.includes($.value) || !_($.value) || j($.value), J = W($.value) && !se, fe = h(i.value, $.value);
10967
10967
  return { active: se, disabled: Q, isBetween: J, highlighted: fe };
10968
10968
  })), ae = ($) => Tt(y(Ja(n())), $);
10969
10969
  return {
10970
- groupedYears: j,
10970
+ groupedYears: K,
10971
10971
  focusYear: O,
10972
10972
  setHoverValue: ($) => {
10973
10973
  C.value = Tt(y(n()), $);
@@ -11035,7 +11035,7 @@ const Ua = [
11035
11035
  }), Yg = {
11036
11036
  key: 0,
11037
11037
  class: "dp__time_input"
11038
- }, Wg = ["data-compact", "data-collapsed"], jg = ["data-test-id", "aria-label", "data-dp-action-element", "onKeydown", "onClick", "onMousedown"], Kg = ["aria-label", "disabled", "data-dp-action-element", "data-test-id", "onKeydown", "onClick"], Xg = ["data-test-id", "aria-label", "data-dp-action-element", "onKeydown", "onClick", "onMousedown"], Gg = { key: 0 }, Zg = ["aria-label", "data-dp-action-element", "data-compact"], _g = /* @__PURE__ */ ce({
11038
+ }, Wg = ["data-compact", "data-collapsed"], Kg = ["data-test-id", "aria-label", "data-dp-action-element", "onKeydown", "onClick", "onMousedown"], jg = ["aria-label", "disabled", "data-dp-action-element", "data-test-id", "onKeydown", "onClick"], Xg = ["data-test-id", "aria-label", "data-dp-action-element", "onKeydown", "onClick", "onMousedown"], Gg = { key: 0 }, Zg = ["aria-label", "data-dp-action-element", "data-compact"], _g = /* @__PURE__ */ ce({
11039
11039
  __name: "TimeInput",
11040
11040
  props: {
11041
11041
  hours: {},
@@ -11066,9 +11066,9 @@ const Ua = [
11066
11066
  minutes: P.minutes,
11067
11067
  seconds: c.value.enableSeconds ? P.seconds : 0,
11068
11068
  milliseconds: 0
11069
- }), _ = X(() => i.timePicker || c.value.timePickerInline ? 0 : 1), K = X(
11069
+ }), _ = X(() => i.timePicker || c.value.timePickerInline ? 0 : 1), j = X(
11070
11070
  () => (P) => Fe(P, r[P]) || ae(P, r[P])
11071
- ), j = X(() => ({ hours: r.hours, minutes: r.minutes, seconds: r.seconds })), ae = (P, H) => k.value.enabled && !k.value.disableTimeRangeValidation ? !r.validateTime(P, H) : !1, $ = (P, H) => {
11071
+ ), K = X(() => ({ hours: r.hours, minutes: r.minutes, seconds: r.seconds })), ae = (P, H) => k.value.enabled && !k.value.disableTimeRangeValidation ? !r.validateTime(P, H) : !1, $ = (P, H) => {
11072
11072
  if (k.value.enabled && !k.value.disableTimeRangeValidation) {
11073
11073
  const x = H ? +c.value[`${P}Increment`] : -+c.value[`${P}Increment`], ee = r[P] + x;
11074
11074
  return !r.validateTime(P, ee);
@@ -11115,7 +11115,7 @@ const Ua = [
11115
11115
  }, Ie = (P) => P >= 0 ? P : 59, Qe = (P) => P >= 0 ? P : 23, D = (P, H) => {
11116
11116
  const x = i.minTime ? W(h(i.minTime)) : null, ee = i.maxTime ? W(h(i.maxTime)) : null, ye = W(
11117
11117
  h(
11118
- j.value,
11118
+ K.value,
11119
11119
  H,
11120
11120
  H === "minutes" || H === "seconds" ? Ie(P) : Qe(P)
11121
11121
  )
@@ -11179,7 +11179,7 @@ const Ua = [
11179
11179
  ]) : G(P.$slots, "arrow-up", { key: 0 }, () => [
11180
11180
  ue(f(_i))
11181
11181
  ])
11182
- ], 42, jg),
11182
+ ], 42, Kg),
11183
11183
  A("button", {
11184
11184
  type: "button",
11185
11185
  "aria-label": `${pe.value(x.type).text}-${(xe = f(l)) == null ? void 0 : xe.openTpOverlay(x.type)}`,
@@ -11187,8 +11187,8 @@ const Ua = [
11187
11187
  dp__time_display: !0,
11188
11188
  dp__time_display_block: !f(c).timePickerInline,
11189
11189
  dp__time_display_inline: f(c).timePickerInline,
11190
- "dp--time-invalid": K.value(x.type),
11191
- "dp--time-overlay-btn": !K.value(x.type),
11190
+ "dp--time-invalid": j.value(x.type),
11191
+ "dp--time-overlay-btn": !j.value(x.type),
11192
11192
  "dp--hidden-el": R.value
11193
11193
  }),
11194
11194
  disabled: f(F)(E(x.type)),
@@ -11204,7 +11204,7 @@ const Ua = [
11204
11204
  }, () => [
11205
11205
  gt(le(pe.value(x.type).text), 1)
11206
11206
  ])
11207
- ], 42, Kg),
11207
+ ], 42, jg),
11208
11208
  A("button", {
11209
11209
  type: "button",
11210
11210
  class: z({
@@ -11332,17 +11332,17 @@ const Ua = [
11332
11332
  st(() => {
11333
11333
  n("mount");
11334
11334
  });
11335
- const W = X(() => g.value.enabled && l.modelAuto ? y(i.value) : !0), _ = ke(!1), K = (pe) => ({
11335
+ const W = X(() => g.value.enabled && l.modelAuto ? y(i.value) : !0), _ = ke(!1), j = (pe) => ({
11336
11336
  hours: Array.isArray(r.hours) ? r.hours[pe] : r.hours,
11337
11337
  minutes: Array.isArray(r.minutes) ? r.minutes[pe] : r.minutes,
11338
11338
  seconds: Array.isArray(r.seconds) ? r.seconds[pe] : r.seconds
11339
- }), j = X(() => {
11339
+ }), K = X(() => {
11340
11340
  const pe = [];
11341
11341
  if (g.value.enabled)
11342
11342
  for (let Fe = 0; Fe < 2; Fe++)
11343
- pe.push(K(Fe));
11343
+ pe.push(j(Fe));
11344
11344
  else
11345
- pe.push(K(0));
11345
+ pe.push(j(0));
11346
11346
  return pe;
11347
11347
  }), ae = (pe, Fe = !1, Be = "") => {
11348
11348
  Fe || n("reset-flow"), _.value = pe, o("arrowNavigationLevel", pe ? 1 : 0), s("overlay-toggle", { open: pe, overlay: ut.time }), ct(() => {
@@ -11353,7 +11353,7 @@ const Ua = [
11353
11353
  dp__btn: !0,
11354
11354
  dp__button: !0,
11355
11355
  dp__button_bottom: l.autoApply && !k.value.keepActionRow
11356
- })), se = Jt(M, It.TimeInput), Q = (pe, Fe, Be) => g.value.enabled ? Fe === 0 ? [pe, j.value[1][Be]] : [j.value[0][Be], pe] : pe, J = (pe) => {
11356
+ })), se = Jt(M, It.TimeInput), Q = (pe, Fe, Be) => g.value.enabled ? Fe === 0 ? [pe, K.value[1][Be]] : [K.value[0][Be], pe] : pe, J = (pe) => {
11357
11357
  n("update:hours", pe);
11358
11358
  }, fe = (pe) => {
11359
11359
  n("update:minutes", pe);
@@ -11430,7 +11430,7 @@ const Ua = [
11430
11430
  A("div", {
11431
11431
  class: z(f(c).timePickerInline ? "dp__flex" : "dp__overlay_row dp__flex_row")
11432
11432
  }, [
11433
- (v(!0), S(Ee, null, He(j.value, (Qe, D) => ia((v(), ve(_g, ft({ key: D }, { ref_for: !0 }, {
11433
+ (v(!0), S(Ee, null, He(K.value, (Qe, D) => ia((v(), ve(_g, ft({ key: D }, { ref_for: !0 }, {
11434
11434
  order: D,
11435
11435
  hours: Qe.hours,
11436
11436
  minutes: Qe.minutes,
@@ -11503,14 +11503,14 @@ const Ua = [
11503
11503
  Object.keys(n).map((W) => W === C ? [W, O] : [W, n[W]].slice())
11504
11504
  );
11505
11505
  if (c.value && !s.value.disableTimeRangeValidation) {
11506
- const W = (K) => a.value ? l(
11506
+ const W = (j) => a.value ? l(
11507
11507
  {
11508
- hours: R.hours[K],
11509
- minutes: R.minutes[K],
11510
- seconds: R.seconds[K]
11508
+ hours: R.hours[j],
11509
+ minutes: R.minutes[j],
11510
+ seconds: R.seconds[j]
11511
11511
  },
11512
- a.value[K]
11513
- ) : null, _ = (K) => wm(a.value[K], 0);
11512
+ a.value[j]
11513
+ ) : null, _ = (j) => wm(a.value[j], 0);
11514
11514
  return !(i(W(0), W(1)) && (qt(W(0), _(1)) || _t(W(1), _(0))));
11515
11515
  }
11516
11516
  return !0;
@@ -11538,11 +11538,11 @@ const Ua = [
11538
11538
  }, N = X(() => (C, O) => {
11539
11539
  var R;
11540
11540
  if (Array.isArray(r.disabledTimes)) {
11541
- const { disabledArr: W, hours: _ } = M(C, O), K = W.filter((j) => +j.hours === _);
11542
- return ((R = K[0]) == null ? void 0 : R.minutes) === "*" ? { hours: [_], minutes: void 0, seconds: void 0 } : {
11541
+ const { disabledArr: W, hours: _ } = M(C, O), j = W.filter((K) => +K.hours === _);
11542
+ return ((R = j[0]) == null ? void 0 : R.minutes) === "*" ? { hours: [_], minutes: void 0, seconds: void 0 } : {
11543
11543
  hours: [],
11544
- minutes: (K == null ? void 0 : K.map((j) => +j.minutes)) ?? [],
11545
- seconds: (K == null ? void 0 : K.map((j) => j.seconds ? +j.seconds : void 0)) ?? []
11544
+ minutes: (j == null ? void 0 : j.map((K) => +K.minutes)) ?? [],
11545
+ seconds: (j == null ? void 0 : j.map((K) => K.seconds ? +K.seconds : void 0)) ?? []
11546
11546
  };
11547
11547
  }
11548
11548
  return { hours: [], minutes: [], seconds: [] };
@@ -11677,7 +11677,7 @@ const Ua = [
11677
11677
  return r.value.months.includes(qe(y)) ? (y = c ? Mt(g, 1) : rn(g, 1), i(y, c)) : y;
11678
11678
  }, l = (g, c) => {
11679
11679
  let y = g;
11680
- return r.value.years.includes(Te(y)) ? (y = c ? zs(g, 1) : ji(g, 1), l(y, c)) : y;
11680
+ return r.value.years.includes(Te(y)) ? (y = c ? zs(g, 1) : Ki(g, 1), l(y, c)) : y;
11681
11681
  }, d = (g, c = !1) => {
11682
11682
  const y = Le(a(), { month: e.month, year: e.year });
11683
11683
  let w = g ? Mt(y, 1) : rn(y, 1);
@@ -11712,7 +11712,7 @@ const Ua = [
11712
11712
  rootProps: o,
11713
11713
  modelValue: i,
11714
11714
  defaults: { ariaLabels: l, filters: d, config: u, highlight: k, safeDates: g, ui: c }
11715
- } = Re(), { transitionName: y, showTransition: w } = En(), { showLeftIcon: F, showRightIcon: h } = vr(), { handleMonthYearChange: p, isDisabled: m, updateMonthYear: B } = s1(r, n), { getMaxMonth: M, getMinMonth: N, getYearFromDate: C, groupListAndMap: O, checkHighlightYear: R, checkHighlightMonth: W } = lt(), { checkKeyDown: _ } = rt(), { formatYear: K } = pa(), { checkMinMaxValue: j } = St(), { boolHtmlAttribute: ae } = sn(), $ = ke(!1), se = ke(!1), Q = ke(!1);
11715
+ } = Re(), { transitionName: y, showTransition: w } = En(), { showLeftIcon: F, showRightIcon: h } = vr(), { handleMonthYearChange: p, isDisabled: m, updateMonthYear: B } = s1(r, n), { getMaxMonth: M, getMinMonth: N, getYearFromDate: C, groupListAndMap: O, checkHighlightYear: R, checkHighlightMonth: W } = lt(), { checkKeyDown: _ } = rt(), { formatYear: j } = pa(), { checkMinMaxValue: K } = St(), { boolHtmlAttribute: ae } = sn(), $ = ke(!1), se = ke(!1), Q = ke(!1);
11716
11716
  st(() => {
11717
11717
  n("mount");
11718
11718
  });
@@ -11730,14 +11730,14 @@ const Ua = [
11730
11730
  updateMonthYear: B,
11731
11731
  toggle: E === Pt.month ? Be : Ve
11732
11732
  })), Pe = X(() => r.months.find((de) => de.value === r.month) || { text: "", value: 0 }), Oe = X(() => O(r.months, (E) => {
11733
- const de = r.month === E.value, V = j(
11733
+ const de = r.month === E.value, V = K(
11734
11734
  E.value,
11735
11735
  N(r.year, g.value.minDate),
11736
11736
  M(r.year, g.value.maxDate)
11737
11737
  ) || d.value.months.includes(E.value), q = W(k.value, E.value, r.year);
11738
11738
  return { active: de, disabled: V, highlighted: q };
11739
11739
  })), pe = X(() => O(r.years, (E) => {
11740
- const de = r.year === E.value, V = j(
11740
+ const de = r.year === E.value, V = K(
11741
11741
  E.value,
11742
11742
  C(g.value.minDate),
11743
11743
  C(g.value.maxDate)
@@ -11772,7 +11772,7 @@ const Ua = [
11772
11772
  toggle: Ve,
11773
11773
  modelValue: ne.value,
11774
11774
  updateModelValue: (Y) => ne.value = Y,
11775
- text: K(r.year),
11775
+ text: j(r.year),
11776
11776
  showSelectionGrid: se.value,
11777
11777
  items: pe.value,
11778
11778
  ariaLabel: (q = l.value) == null ? void 0 : q.openYearsOverlay,
@@ -11960,7 +11960,7 @@ const Ua = [
11960
11960
  rootEmit: o,
11961
11961
  rootProps: i,
11962
11962
  defaults: { transitions: l, config: d, ariaLabels: u, multiCalendars: k, weekNumbers: g, multiDates: c, ui: y }
11963
- } = Re(), { isDateAfter: w, isDateEqual: F, resetDateTime: h, getCellId: p } = lt(), { checkKeyDown: m, checkStopPropagation: B, isTouchDevice: M } = rt(), { formatWeekDay: N } = pa(), C = Ge("calendar-wrap"), O = Ge("active-tooltip"), R = ke([]), W = ke(null), _ = ke(!0), K = ke(!1), j = ke(""), ae = ke({
11963
+ } = Re(), { isDateAfter: w, isDateEqual: F, resetDateTime: h, getCellId: p } = lt(), { checkKeyDown: m, checkStopPropagation: B, isTouchDevice: M } = rt(), { formatWeekDay: N } = pa(), C = Ge("calendar-wrap"), O = Ge("active-tooltip"), R = ke([]), W = ke(null), _ = ke(!0), j = ke(!1), K = ke(""), ae = ke({
11964
11964
  bottom: "",
11965
11965
  left: "",
11966
11966
  transform: ""
@@ -11979,7 +11979,7 @@ const Ua = [
11979
11979
  const J = (b) => b ? i.vertical ? "vNext" : "next" : i.vertical ? "vPrevious" : "previous", fe = (b, T) => {
11980
11980
  if (i.transitions) {
11981
11981
  const P = h(Le(s(), { month: r.month, year: r.year }));
11982
- j.value = w(h(Le(s(), { month: b, year: T })), P) ? l.value[J(!0)] : l.value[J(!1)], _.value = !1, ct(() => {
11982
+ K.value = w(h(Le(s(), { month: b, year: T })), P) ? l.value[J(!0)] : l.value[J(!1)], _.value = !1, ct(() => {
11983
11983
  _.value = !0;
11984
11984
  });
11985
11985
  }
@@ -12016,7 +12016,7 @@ const Ua = [
12016
12016
  H && ((ye = b.marker) != null && ye.customPosition && ((we = (xe = b.marker) == null ? void 0 : xe.tooltip) != null && we.length) ? ae.value = b.marker.customPosition(H) : await Be(H, b), o("tooltip-open", b.marker));
12017
12017
  }, Ie = async (b, T, P) => {
12018
12018
  var H, x;
12019
- if (K.value && c.value.enabled && c.value.dragSelect)
12019
+ if (j.value && c.value.enabled && c.value.dragSelect)
12020
12020
  return n("select-date", b);
12021
12021
  if (n("set-hover-date", b), (x = (H = b.marker) == null ? void 0 : H.tooltip) == null ? void 0 : x.length) {
12022
12022
  if (i.hideOffsetDates && !b.current) return;
@@ -12028,7 +12028,7 @@ const Ua = [
12028
12028
  b && (Array.isArray(R.value[T]) ? R.value[T][P] = b : R.value[T] = [b]);
12029
12029
  }, E = (b) => {
12030
12030
  d.value.monthChangeOnScroll && (b.preventDefault(), n("handle-scroll", b));
12031
- }, de = (b) => g.value ? g.value.type === "local" ? Ks(b.value, {
12031
+ }, de = (b) => g.value ? g.value.type === "local" ? js(b.value, {
12032
12032
  weekStartsOn: +i.weekStart,
12033
12033
  locale: i.locale
12034
12034
  }) : g.value.type === "iso" ? Ws(b.value) : typeof g.value.type == "function" ? g.value.type(b.value) : "" : "", V = (b) => {
@@ -12040,7 +12040,7 @@ const Ua = [
12040
12040
  }, ie = (b) => {
12041
12041
  B(b, d.value);
12042
12042
  }, I = (b) => {
12043
- c.value.enabled && c.value.dragSelect ? (K.value = !0, n("select-date", b)) : c.value.enabled && n("select-date", b);
12043
+ c.value.enabled && c.value.dragSelect ? (j.value = !0, n("select-date", b)) : c.value.enabled && n("select-date", b);
12044
12044
  }, Y = () => {
12045
12045
  const b = s(), T = At(b, { locale: i.locale, weekStartsOn: +i.weekStart }), P = Ys(b, { locale: i.locale, weekStartsOn: +i.weekStart });
12046
12046
  return Js({ start: T, end: P }).map((H) => N(H));
@@ -12075,7 +12075,7 @@ const Ua = [
12075
12075
  ]),
12076
12076
  T[2] || (T[2] = A("div", { class: "dp__calendar_header_separator" }, null, -1)),
12077
12077
  ue(Oa, {
12078
- name: j.value,
12078
+ name: K.value,
12079
12079
  css: !!f(l)
12080
12080
  }, {
12081
12081
  default: ge(() => [
@@ -12083,7 +12083,7 @@ const Ua = [
12083
12083
  key: 0,
12084
12084
  class: "dp__calendar",
12085
12085
  role: "rowgroup",
12086
- onMouseleave: T[1] || (T[1] = (P) => K.value = !1)
12086
+ onMouseleave: T[1] || (T[1] = (P) => j.value = !1)
12087
12087
  }, [
12088
12088
  (v(!0), S(Ee, null, He(se.value, (P, H) => (v(), S("div", {
12089
12089
  key: H,
@@ -12115,7 +12115,7 @@ const Ua = [
12115
12115
  onMouseenter: (Ue) => Ie(x, H, ee),
12116
12116
  onMouseleave: (Ue) => Qe(x),
12117
12117
  onMousedown: (Ue) => I(x),
12118
- onMouseup: T[0] || (T[0] = (Ue) => K.value = !1)
12118
+ onMouseup: T[0] || (T[0] = (Ue) => j.value = !1)
12119
12119
  }, [
12120
12120
  A("div", {
12121
12121
  class: z(["dp__cell_inner", x.classData])
@@ -12151,8 +12151,8 @@ const Ua = [
12151
12151
  class: "dp__tooltip_content",
12152
12152
  onClick: ie
12153
12153
  }, [
12154
- (v(!0), S(Ee, null, He(x.marker.tooltip, (Ue, Kt) => (v(), S("div", {
12155
- key: Kt,
12154
+ (v(!0), S(Ee, null, He(x.marker.tooltip, (Ue, jt) => (v(), S("div", {
12155
+ key: jt,
12156
12156
  class: "dp__tooltip_text"
12157
12157
  }, [
12158
12158
  G(b.$slots, "marker-tooltip", {
@@ -12196,7 +12196,7 @@ const Ua = [
12196
12196
  today: w,
12197
12197
  state: F,
12198
12198
  defaults: { multiCalendars: h, startTime: p, range: m, config: B, safeDates: M, multiDates: N, timeConfig: C, flow: O }
12199
- } = Re(), { validateMonthYearInRange: R, isDisabled: W, isDateRangeAllowed: _, checkMinMaxRange: K } = St(), { updateTimeValues: j, getSetDateTime: ae, assignTime: $, assignStartTime: se, validateTime: Q, disabledTimesConfig: J } = il(n), { formatDay: fe } = pa(), { resetDateTime: ne, setTime: me, isDateBefore: Pe, isDateEqual: Oe, getDaysInBetween: pe } = lt(), { checkRangeAutoApply: Fe, getRangeWithFixedDate: Be, handleMultiDatesSelect: Ve, setPresetDate: Ie } = br(), { getMapDate: Qe } = rt();
12199
+ } = Re(), { validateMonthYearInRange: R, isDisabled: W, isDateRangeAllowed: _, checkMinMaxRange: j } = St(), { updateTimeValues: K, getSetDateTime: ae, assignTime: $, assignStartTime: se, validateTime: Q, disabledTimesConfig: J } = il(n), { formatDay: fe } = pa(), { resetDateTime: ne, setTime: me, isDateBefore: Pe, isDateEqual: Oe, getDaysInBetween: pe } = lt(), { checkRangeAutoApply: Fe, getRangeWithFixedDate: Be, handleMultiDatesSelect: Ve, setPresetDate: Ie } = br(), { getMapDate: Qe } = rt();
12200
12200
  Rn(() => I(F.isTextInputDate));
12201
12201
  const D = (L) => !B.value.keepViewOnOffsetClick || L ? !0 : !o.value, E = (L, Z, Ae, Me = !1) => {
12202
12202
  var We, Ct, Xt;
@@ -12207,7 +12207,7 @@ const Ua = [
12207
12207
  p.value && se(p.value);
12208
12208
  };
12209
12209
  st(() => {
12210
- c.value || (Kt(), V()), I(!0), y.focusStartDate && y.startDate && Kt();
12210
+ c.value || (jt(), V()), I(!0), y.focusStartDate && y.startDate && jt();
12211
12211
  });
12212
12212
  const q = X(() => {
12213
12213
  var L, Z, Ae;
@@ -12272,7 +12272,7 @@ const Ua = [
12272
12272
  const L = i(i(c.value[1] ?? Mt(c.value[0], 1))), [Z, Ae] = [qe(c.value[0]), Te(c.value[0])], [Me, We] = [qe(c.value[1]), Te(c.value[1])];
12273
12273
  (Z !== Me || Z === Me && Ae !== We) && h.value.solo && E(1, qe(L), Te(L));
12274
12274
  } else c.value && !Array.isArray(c.value) && (E(0, qe(c.value), Te(c.value)), T(i()));
12275
- }, Kt = () => {
12275
+ }, jt = () => {
12276
12276
  y.startDate && (E(0, qe(i(y.startDate)), Te(i(y.startDate))), h.value.count && we(0));
12277
12277
  }, Nn = (L, Z) => {
12278
12278
  if (B.value.monthChangeOnScroll) {
@@ -12347,7 +12347,7 @@ const Ua = [
12347
12347
  });
12348
12348
  }, Hn = (L) => m.value.noDisabledRange ? pe(r.value[0], L).some((Z) => W(Z)) : !1, be = () => {
12349
12349
  r.value = c.value ? c.value.slice().filter((L) => !!L) : [], r.value.length === 2 && !(m.value.fixedStart || m.value.fixedEnd) && (r.value = []);
12350
- }, Ke = (L, Z) => {
12350
+ }, je = (L, Z) => {
12351
12351
  const Ae = [i(L.value), kt(i(L.value), +m.value.autoRange)];
12352
12352
  _(Ae) ? (Z && ot(L.value), r.value = Ae) : l("invalid-date", L.value);
12353
12353
  }, ot = (L) => {
@@ -12360,13 +12360,13 @@ const Ua = [
12360
12360
  E(Me, We.month, We.year);
12361
12361
  }
12362
12362
  }, aa = (L) => {
12363
- if (Hn(L.value) || !K(L.value, c.value, m.value.fixedStart ? 0 : 1))
12363
+ if (Hn(L.value) || !j(L.value, c.value, m.value.fixedStart ? 0 : 1))
12364
12364
  return l("invalid-date", L.value);
12365
12365
  r.value = Be(i(L.value));
12366
12366
  }, ha = (L, Z) => {
12367
- if (be(), m.value.autoRange) return Ke(L, Z);
12367
+ if (be(), m.value.autoRange) return je(L, Z);
12368
12368
  if (m.value.fixedStart || m.value.fixedEnd) return aa(L);
12369
- r.value[0] ? K(i(L.value), c.value) && !Hn(L.value) ? Pe(i(L.value), i(r.value[0])) ? m.value.autoSwitchStartEnd ? (r.value.unshift(i(L.value)), l("range-end", r.value[0])) : (r.value[0] = i(L.value), l("range-start", r.value[0])) : (r.value[1] = i(L.value), l("range-end", r.value[1])) : l("invalid-date", L.value) : (r.value[0] = i(L.value), l("range-start", r.value[0]));
12369
+ r.value[0] ? j(i(L.value), c.value) && !Hn(L.value) ? Pe(i(L.value), i(r.value[0])) ? m.value.autoSwitchStartEnd ? (r.value.unshift(i(L.value)), l("range-end", r.value[0])) : (r.value[0] = i(L.value), l("range-start", r.value[0])) : (r.value[1] = i(L.value), l("range-end", r.value[1])) : l("invalid-date", L.value) : (r.value[0] = i(L.value), l("range-start", r.value[0]));
12370
12370
  }, zn = (L = !0) => C.value.enableSeconds ? Array.isArray(g.seconds) ? L ? g.seconds[0] : g.seconds[1] : g.seconds : 0, Br = (L) => {
12371
12371
  r.value[L] = me(
12372
12372
  {
@@ -12449,7 +12449,7 @@ const Ua = [
12449
12449
  selectCurrentDate: Rl,
12450
12450
  updateTime: (L) => {
12451
12451
  const Z = ql(L);
12452
- j(L, Ql), Z && l(Z, c.value[Z === "range-start" ? 0 : 1]);
12452
+ K(L, Ql), Z && l(Z, c.value[Z === "range-start" ? 0 : 1]);
12453
12453
  },
12454
12454
  assignMonthAndYear: T,
12455
12455
  setStartTime: V
@@ -12486,7 +12486,7 @@ const Ua = [
12486
12486
  return T ? a(h.value[0], b.value) && P : n(h.value[0], b.value) && P;
12487
12487
  }
12488
12488
  return !1;
12489
- }, _ = (b) => !h.value || u.hideOffsetDates && !b.current ? !1 : F.value.enabled ? u.modelAuto && Array.isArray(h.value) ? s(b.value, h.value[0] ?? d) : !1 : g.value.enabled && Array.isArray(h.value) ? h.value.some((T) => s(T, b.value)) : s(b.value, h.value ? h.value : d), K = (b) => {
12489
+ }, _ = (b) => !h.value || u.hideOffsetDates && !b.current ? !1 : F.value.enabled ? u.modelAuto && Array.isArray(h.value) ? s(b.value, h.value[0] ?? d) : !1 : g.value.enabled && Array.isArray(h.value) ? h.value.some((T) => s(T, b.value)) : s(b.value, h.value ? h.value : d), j = (b) => {
12490
12490
  if (F.value.autoRange || u.weekPicker) {
12491
12491
  if (m.value) {
12492
12492
  if (u.hideOffsetDates && !b.current) return !1;
@@ -12496,7 +12496,7 @@ const Ua = [
12496
12496
  return !1;
12497
12497
  }
12498
12498
  return !1;
12499
- }, j = (b) => {
12499
+ }, K = (b) => {
12500
12500
  if (F.value.autoRange || u.weekPicker) {
12501
12501
  if (m.value) {
12502
12502
  const T = kt(m.value, +F.value.autoRange);
@@ -12598,9 +12598,9 @@ const Ua = [
12598
12598
  };
12599
12599
  }, I = (b) => ({
12600
12600
  ...ie(b),
12601
- dp__cell_auto_range: j(b),
12601
+ dp__cell_auto_range: K(b),
12602
12602
  dp__cell_auto_range_start: ae(b),
12603
- dp__cell_auto_range_end: K(b)
12603
+ dp__cell_auto_range_end: j(b)
12604
12604
  }), Y = (b) => F.value.enabled ? F.value.autoRange ? I(b) : u.modelAuto ? { ...Ie(b), ...ie(b) } : u.weekPicker ? D(b) : ie(b) : u.weekPicker ? Qe(b) : Ie(b);
12605
12605
  return {
12606
12606
  setHoverDate: B,
@@ -12643,8 +12643,8 @@ const Ua = [
12643
12643
  assignMonthAndYear: N,
12644
12644
  setStartTime: C
12645
12645
  } = b1(r, n, Ie, Qe), O = ca(), { setHoverDate: R, getDayClassData: W, clearHoverDate: _ } = k1(), {
12646
- getDate: K,
12647
- rootEmit: j,
12646
+ getDate: j,
12647
+ rootEmit: K,
12648
12648
  rootProps: ae,
12649
12649
  defaults: { multiCalendars: $, timeConfig: se }
12650
12650
  } = Re(), { getYears: Q, getMonths: J } = gr(), { getCellId: fe } = lt(), ne = Ge("calendar-header"), me = Ge("calendar"), Pe = Ge("time-picker"), Oe = Jt(O, It.Calendar), pe = Jt(O, It.DatePickerHeader), Fe = Jt(O, It.TimePicker), Be = (Y) => {
@@ -12680,7 +12680,7 @@ const Ua = [
12680
12680
  }, V = (Y, b) => {
12681
12681
  var T;
12682
12682
  if (!ae.range) {
12683
- const P = i.value ? i.value : u, H = b ? K(b) : P, x = Y ? At(H, { weekStartsOn: 1 }) : Ys(H, { weekStartsOn: 1 });
12683
+ const P = i.value ? i.value : u, H = b ? j(b) : P, x = Y ? At(H, { weekStartsOn: 1 }) : Ys(H, { weekStartsOn: 1 });
12684
12684
  h({
12685
12685
  value: x,
12686
12686
  current: qe(H) === s.value(0),
@@ -12694,7 +12694,7 @@ const Ua = [
12694
12694
  }, ie = (Y) => {
12695
12695
  p(0, { month: s.value(0), year: o.value(0) + (Y ? 1 : -1), fromNav: !0 });
12696
12696
  }, I = (Y) => {
12697
- j("overlay-toggle", { open: !1, overlay: Y }), n("focus-menu");
12697
+ K("overlay-toggle", { open: !1, overlay: Y }), n("focus-menu");
12698
12698
  };
12699
12699
  return t({
12700
12700
  clearHoverDate: _,
@@ -12830,13 +12830,13 @@ const Ua = [
12830
12830
  return !1;
12831
12831
  }
12832
12832
  return !1;
12833
- }, _ = (Q, J) => Q.quarter === go(J) && Q.year === Te(J), K = (Q) => typeof o.value == "function" ? o.value({ quarter: go(Q), year: Te(Q) }) : o.value.quarters.some((J) => _(J, Q)), j = X(() => (Q) => {
12833
+ }, _ = (Q, J) => Q.quarter === go(J) && Q.year === Te(J), j = (Q) => typeof o.value == "function" ? o.value({ quarter: go(Q), year: Te(Q) }) : o.value.quarters.some((J) => _(J, Q)), K = X(() => (Q) => {
12834
12834
  const J = Le(a(), { year: r.value(Q) });
12835
12835
  return Dp({
12836
12836
  start: Ja(J),
12837
12837
  end: Ui(J)
12838
12838
  }).map((fe) => {
12839
- const ne = ya(fe), me = vo(fe), Pe = y(fe), Oe = W(ne), pe = K(ne);
12839
+ const ne = ya(fe), me = vo(fe), Pe = y(fe), Oe = W(ne), pe = j(ne);
12840
12840
  return {
12841
12841
  text: w(ne, me),
12842
12842
  value: ne,
@@ -12857,7 +12857,7 @@ const Ua = [
12857
12857
  groupedYears: h,
12858
12858
  year: r,
12859
12859
  isDisabled: m,
12860
- quarters: j,
12860
+ quarters: K,
12861
12861
  showYearPicker: p,
12862
12862
  modelValue: n,
12863
12863
  selectYear: F,
@@ -13001,17 +13001,17 @@ const Ua = [
13001
13001
  setState: g
13002
13002
  } = Re(), { isMobile: c } = mr(), { handleEventPropagation: y, getElWithin: w, checkStopPropagation: F, checkKeyDown: h } = rt();
13003
13003
  Tm();
13004
- const p = Ge("inner-menu"), m = Ge("dp-menu"), B = Ge("dyn-cmp"), M = ke(0), N = ke(!1), C = ke(!1), { flowStep: O, updateFlowStep: R, childMount: W, resetFlow: _, handleFlow: K } = Mm(B), j = (I) => {
13004
+ const p = Ge("inner-menu"), m = Ge("dp-menu"), B = Ge("dyn-cmp"), M = ke(0), N = ke(!1), C = ke(!1), { flowStep: O, updateFlowStep: R, childMount: W, resetFlow: _, handleFlow: j } = Mm(B), K = (I) => {
13005
13005
  C.value = !0, d.value.allowPreventDefault && I.preventDefault(), F(I, d.value, !0);
13006
13006
  };
13007
13007
  st(() => {
13008
13008
  N.value = !0, ae(), globalThis.addEventListener("resize", ae);
13009
13009
  const I = ht(m);
13010
- I && !i.value.enabled && !l.value.enabled && g("menuFocused", !0), I && (I.addEventListener("pointerdown", j), I.addEventListener("mousedown", j)), document.addEventListener("mousedown", ie);
13010
+ I && !i.value.enabled && !l.value.enabled && g("menuFocused", !0), I && (I.addEventListener("pointerdown", K), I.addEventListener("mousedown", K)), document.addEventListener("mousedown", ie);
13011
13011
  }), Ta(() => {
13012
13012
  globalThis.removeEventListener("resize", ae), document.removeEventListener("mousedown", ie);
13013
13013
  const I = ht(m);
13014
- I && (I.removeEventListener("pointerdown", j), I.removeEventListener("mousedown", j));
13014
+ I && (I.removeEventListener("pointerdown", K), I.removeEventListener("mousedown", K));
13015
13015
  });
13016
13016
  const ae = () => {
13017
13017
  const I = ht(p);
@@ -13040,7 +13040,7 @@ const Ua = [
13040
13040
  }, pe = (I) => {
13041
13041
  o.arrowNavigation || (I === Ft.left || I === Ft.up ? Ie("handleArrow", Ft.left, 0, I === Ft.up) : Ie("handleArrow", Ft.right, 0, I === Ft.down));
13042
13042
  }, Fe = (I) => {
13043
- g("shiftKeyInMenu", I.shiftKey), !o.hideMonthYearSelect && I.code === je.tab && I.target.classList.contains("dp__menu") && s.shiftKeyInMenu && (I.preventDefault(), F(I, d.value, !0), n("close-picker"));
13043
+ g("shiftKeyInMenu", I.shiftKey), !o.hideMonthYearSelect && I.code === Ke.tab && I.target.classList.contains("dp__menu") && s.shiftKeyInMenu && (I.preventDefault(), F(I, d.value, !0), n("close-picker"));
13044
13044
  }, Be = (I) => {
13045
13045
  var Y, b, T;
13046
13046
  (Y = B.value) == null || Y.toggleTimePicker(!1, !1), (b = B.value) == null || b.toggleMonthPicker(!1, !1, I), (T = B.value) == null || T.toggleYearPicker(!1, !1, I);
@@ -13062,22 +13062,22 @@ const Ua = [
13062
13062
  I.preventDefault(), pe(Y);
13063
13063
  }, q = (I) => {
13064
13064
  var Y, b, T;
13065
- if (Fe(I), I.key === je.home || I.key === je.end)
13065
+ if (Fe(I), I.key === Ke.home || I.key === Ke.end)
13066
13066
  return Ie(
13067
13067
  "selectWeekDate",
13068
- I.key === je.home,
13068
+ I.key === Ke.home,
13069
13069
  I.target.getAttribute("id")
13070
13070
  );
13071
- switch ((I.key === je.pageUp || I.key === je.pageDown) && (I.shiftKey ? (Ie("changeYear", I.key === je.pageUp), (Y = w(m.value, "overlay-year")) == null || Y.focus()) : (Ie("changeMonth", I.key === je.pageUp), (b = w(m.value, I.key === je.pageUp ? "action-prev" : "action-next")) == null || b.focus()), I.target.getAttribute("id") && ((T = m.value) == null || T.focus({ preventScroll: !0 }))), I.key) {
13072
- case je.esc:
13071
+ switch ((I.key === Ke.pageUp || I.key === Ke.pageDown) && (I.shiftKey ? (Ie("changeYear", I.key === Ke.pageUp), (Y = w(m.value, "overlay-year")) == null || Y.focus()) : (Ie("changeMonth", I.key === Ke.pageUp), (b = w(m.value, I.key === Ke.pageUp ? "action-prev" : "action-next")) == null || b.focus()), I.target.getAttribute("id") && ((T = m.value) == null || T.focus({ preventScroll: !0 }))), I.key) {
13072
+ case Ke.esc:
13073
13073
  return Oe(I);
13074
- case je.arrowLeft:
13074
+ case Ke.arrowLeft:
13075
13075
  return V(I, Ft.left);
13076
- case je.arrowRight:
13076
+ case Ke.arrowRight:
13077
13077
  return V(I, Ft.right);
13078
- case je.arrowUp:
13078
+ case Ke.arrowUp:
13079
13079
  return V(I, Ft.up);
13080
- case je.arrowDown:
13080
+ case Ke.arrowDown:
13081
13081
  return V(I, Ft.down);
13082
13082
  default:
13083
13083
  return;
@@ -13093,7 +13093,7 @@ const Ua = [
13093
13093
  var I, Y;
13094
13094
  (Y = (I = B.value) == null ? void 0 : I.setStartTime) == null || Y.call(I);
13095
13095
  },
13096
- handleFlow: K
13096
+ handleFlow: j
13097
13097
  }), (I, Y) => {
13098
13098
  var b, T, P;
13099
13099
  return v(), S("div", {
@@ -13215,10 +13215,10 @@ const Ua = [
13215
13215
  modelValue: s,
13216
13216
  rootProps: o,
13217
13217
  defaults: { inline: i, config: l, textInput: d, range: u, multiDates: k, teleport: g, floatingConfig: c }
13218
- } = Re(), { validateDate: y, isValidTime: w } = St(), { menuTransition: F, showTransition: h } = En(), { isMobile: p } = mr(), { findNextFocusableElement: m, getNumVal: B } = rt(), M = ca(), N = ke(!1), C = ke(i.value.enabled || o.centered), O = os(o, "modelValue"), R = os(o, "timezone"), W = Ge("dp-menu-wrap"), _ = Ge("dp-menu"), K = Ge("input-cmp"), j = Ge("picker-wrapper"), ae = Ge("menu-arrow"), $ = ke(!1), se = ke(!1), Q = ke(!1), J = ke(!0), fe = (be) => (c.value.arrow && be.push(
13218
+ } = Re(), { validateDate: y, isValidTime: w } = St(), { menuTransition: F, showTransition: h } = En(), { isMobile: p } = mr(), { findNextFocusableElement: m, getNumVal: B } = rt(), M = ca(), N = ke(!1), C = ke(i.value.enabled || o.centered), O = os(o, "modelValue"), R = os(o, "timezone"), W = Ge("dp-menu-wrap"), _ = Ge("dp-menu"), j = Ge("input-cmp"), K = Ge("picker-wrapper"), ae = Ge("menu-arrow"), $ = ke(!1), se = ke(!1), Q = ke(!1), J = ke(!0), fe = (be) => (c.value.arrow && be.push(
13219
13219
  gp({ element: c.value.arrow === !0 ? ae : c.value.arrow })
13220
13220
  ), c.value.flip && be.push(fp(typeof c.value.flip == "object" ? c.value.flip : {})), c.value.shift && be.push(cp(typeof c.value.shift == "object" ? c.value.shift : {})), be), { floatingStyles: ne, middlewareData: me, placement: Pe, y: Oe } = vp(
13221
- K,
13221
+ j,
13222
13222
  W,
13223
13223
  {
13224
13224
  strategy: c.value.strategy,
@@ -13256,23 +13256,23 @@ const Ua = [
13256
13256
  dp__flex_display_with_input: i.value.input
13257
13257
  })
13258
13258
  ), E = X(() => o.dark ? "dp__theme_dark" : "dp__theme_light"), de = X(() => i.value.enabled && (o.timePicker || o.monthPicker || o.yearPicker || o.quarterPicker)), V = () => {
13259
- var be, Ke;
13260
- return ((Ke = (be = K.value) == null ? void 0 : be.$el) == null ? void 0 : Ke.getBoundingClientRect()) ?? { width: 0, left: 0, right: 0 };
13259
+ var be, je;
13260
+ return ((je = (be = j.value) == null ? void 0 : be.$el) == null ? void 0 : je.getBoundingClientRect()) ?? { width: 0, left: 0, right: 0 };
13261
13261
  }, q = () => {
13262
13262
  N.value && l.value.closeOnScroll && we();
13263
13263
  }, ie = () => {
13264
- var Ke;
13265
- const be = ((Ke = _.value) == null ? void 0 : Ke.$el.getBoundingClientRect().width) ?? 0;
13264
+ var je;
13265
+ const be = ((je = _.value) == null ? void 0 : je.$el.getBoundingClientRect().width) ?? 0;
13266
13266
  Q.value = document.body.offsetWidth <= be;
13267
13267
  }, I = (be) => {
13268
- be.key === "Tab" && !i.value.enabled && !o.teleport && l.value.tabOutClosesMenu && (j.value.contains(document.activeElement) || we()), se.value = be.shiftKey;
13268
+ be.key === "Tab" && !i.value.enabled && !o.teleport && l.value.tabOutClosesMenu && (K.value.contains(document.activeElement) || we()), se.value = be.shiftKey;
13269
13269
  }, Y = (be) => {
13270
13270
  se.value = be.shiftKey;
13271
13271
  }, b = () => {
13272
13272
  !o.disabled && !o.readonly && (J.value = !0, N.value = !0, N.value && a("open"), N.value || xe(), Be(o.modelValue));
13273
13273
  }, T = () => {
13274
- var be, Ke;
13275
- r.value = "", xe(), (be = _.value) == null || be.onValueCleared(), (Ke = K.value) == null || Ke.setParsedDate(null), a("update:model-value", null), a("cleared"), l.value.closeOnClearValue && we();
13274
+ var be, je;
13275
+ r.value = "", xe(), (be = _.value) == null || be.onValueCleared(), (je = j.value) == null || je.setParsedDate(null), a("update:model-value", null), a("cleared"), l.value.closeOnClearValue && we();
13276
13276
  }, P = () => {
13277
13277
  const be = s.value;
13278
13278
  return !be || !Array.isArray(be) && y(be) ? !0 : Array.isArray(be) ? k.value.enabled || be.length === 2 && y(be[0]) && y(be[1]) ? !0 : u.value.partialRange && !o.timePicker ? y(be[0]) : !1 : !1;
@@ -13281,23 +13281,23 @@ const Ua = [
13281
13281
  }, x = (be) => {
13282
13282
  ee(), Ve(), l.value.closeOnAutoApply && !be && we();
13283
13283
  }, ee = () => {
13284
- K.value && d.value.enabled && K.value.setParsedDate(s.value);
13284
+ j.value && d.value.enabled && j.value.setParsedDate(s.value);
13285
13285
  }, ye = (be = !1) => {
13286
13286
  o.autoApply && w(s.value) && P() && (u.value.enabled && Array.isArray(s.value) ? (u.value.partialRange || s.value.length === 2) && x(be) : x(be));
13287
13287
  }, xe = () => {
13288
13288
  d.value.enabled || (s.value = null);
13289
13289
  }, we = (be = !1) => {
13290
13290
  J.value = !0, be && s.value && l.value.setDateOnMenuClose && H(), i.value.enabled || (N.value && (N.value = !1, n("menuFocused", !1), n("shiftKeyInMenu", !1), a("closed"), r.value && Be(O.value)), xe(), a("blur"));
13291
- }, Ue = (be, Ke, ot = !1) => {
13291
+ }, Ue = (be, je, ot = !1) => {
13292
13292
  if (!be) {
13293
13293
  s.value = null;
13294
13294
  return;
13295
13295
  }
13296
13296
  const aa = Array.isArray(be) ? be.every((zn) => y(zn)) : y(be), ha = w(be);
13297
- aa && ha ? (n("isTextInputDate", !0), s.value = be, Ke ? ($.value = ot, H(), a("text-submit")) : o.autoApply && ye(!0), ct().then(() => {
13297
+ aa && ha ? (n("isTextInputDate", !0), s.value = be, je ? ($.value = ot, H(), a("text-submit")) : o.autoApply && ye(!0), ct().then(() => {
13298
13298
  n("isTextInputDate", !1);
13299
13299
  })) : a("invalid-date", be);
13300
- }, Kt = () => {
13300
+ }, jt = () => {
13301
13301
  o.autoApply && w(s.value) && Ve(), ee();
13302
13302
  }, Nn = () => N.value ? we() : b(), wr = (be) => {
13303
13303
  s.value = be;
@@ -13305,26 +13305,26 @@ const Ua = [
13305
13305
  d.value.enabled && (n("isInputFocused", !0), Ie()), a("focus");
13306
13306
  }, Ar = () => {
13307
13307
  var be;
13308
- d.value.enabled && (n("isInputFocused", !1), Be(o.modelValue), $.value && ((be = m(j.value, se.value)) == null || be.focus())), a("blur");
13309
- }, Sr = (be, Ke) => {
13310
- _.value && _.value.updateMonthYear(Ke ?? 0, {
13308
+ d.value.enabled && (n("isInputFocused", !1), Be(o.modelValue), $.value && ((be = m(K.value, se.value)) == null || be.focus())), a("blur");
13309
+ }, Sr = (be, je) => {
13310
+ _.value && _.value.updateMonthYear(je ?? 0, {
13311
13311
  month: B(be.month),
13312
13312
  year: B(be.year)
13313
13313
  });
13314
13314
  }, Cr = (be) => {
13315
13315
  Be(be ?? o.modelValue);
13316
- }, on = (be, Ke) => {
13316
+ }, on = (be, je) => {
13317
13317
  var ot;
13318
- (ot = _.value) == null || ot.switchView(be, Ke);
13319
- }, Pr = (be, Ke) => {
13318
+ (ot = _.value) == null || ot.switchView(be, je);
13319
+ }, Pr = (be, je) => {
13320
13320
  if (N.value)
13321
- return l.value.onClickOutside ? l.value.onClickOutside(be, Ke) : we(!0);
13321
+ return l.value.onClickOutside ? l.value.onClickOutside(be, je) : we(!0);
13322
13322
  }, Fr = (be = 0) => {
13323
- var Ke;
13324
- (Ke = _.value) == null || Ke.handleFlow(be);
13323
+ var je;
13324
+ (je = _.value) == null || je.handleFlow(be);
13325
13325
  }, Hn = () => W;
13326
13326
  return Pf(W, (be) => Pr(P, be), {
13327
- ignore: [K]
13327
+ ignore: [j]
13328
13328
  }), t({
13329
13329
  closeMenu: we,
13330
13330
  selectDate: H,
@@ -13343,8 +13343,8 @@ const Ua = [
13343
13343
  getDpWrapMenuRef: Hn,
13344
13344
  dpMenuRef: () => _,
13345
13345
  dpWrapMenuRef: () => W,
13346
- inputRef: () => K
13347
- }), (be, Ke) => (v(), S("div", {
13346
+ inputRef: () => j
13347
+ }), (be, je) => (v(), S("div", {
13348
13348
  ref: "picker-wrapper",
13349
13349
  class: z(D.value),
13350
13350
  "data-datepicker-instance": "",
@@ -13362,7 +13362,7 @@ const Ua = [
13362
13362
  onClose: we,
13363
13363
  onFocus: qn,
13364
13364
  onBlur: Ar,
13365
- onRealBlur: Ke[0] || (Ke[0] = (ot) => f(n)("isInputFocused", !1))
13365
+ onRealBlur: je[0] || (je[0] = (ot) => f(n)("isInputFocused", !1))
13366
13366
  }, nt({ _: 2 }, [
13367
13367
  He(f(Fe), (ot, aa) => ({
13368
13368
  name: ot,
@@ -13400,8 +13400,8 @@ const Ua = [
13400
13400
  onClosePicker: we,
13401
13401
  onSelectDate: H,
13402
13402
  onAutoApply: ye,
13403
- onTimeUpdate: Kt,
13404
- onMenuBlur: Ke[1] || (Ke[1] = (ot) => f(a)("blur"))
13403
+ onTimeUpdate: jt,
13404
+ onMenuBlur: je[1] || (je[1] = (ot) => f(a)("blur"))
13405
13405
  }, nt({ _: 2 }, [
13406
13406
  He(f(pe), (ot, aa) => ({
13407
13407
  name: ot,
@@ -13665,10 +13665,10 @@ const _s = /* @__PURE__ */ he(N1, [["render", H1]]), z1 = ce({
13665
13665
  this.$emit("input:blur");
13666
13666
  }
13667
13667
  }
13668
- }), J1 = ["id", "data-test"], Y1 = { class: "fusion-date-picker-label-wrapper" }, W1 = ["for"], j1 = {
13668
+ }), J1 = ["id", "data-test"], Y1 = { class: "fusion-date-picker-label-wrapper" }, W1 = ["for"], K1 = {
13669
13669
  key: 0,
13670
13670
  class: "fusion-date-picker error-wrapper"
13671
- }, K1 = { "data-test": "error-label" };
13671
+ }, j1 = { "data-test": "error-label" };
13672
13672
  function X1(e, t, a, n, r, s) {
13673
13673
  const o = oe("SVGCalendar"), i = oe("VueDatePicker"), l = oe("SVGExclamationOctagon");
13674
13674
  return v(), S("div", {
@@ -13714,9 +13714,9 @@ function X1(e, t, a, n, r, s) {
13714
13714
  ]),
13715
13715
  _: 1
13716
13716
  }, 8, ["modelValue", "menu-id", "input-attrs", "formats", "placeholder", "text-input", "class", "max-date", "min-date", "disabled", "onUpdate:modelValue", "onBlur", "onFocus"]),
13717
- e.errorLabel ? (v(), S("div", j1, [
13717
+ e.errorLabel ? (v(), S("div", K1, [
13718
13718
  ue(l, { "data-test": "error-icon" }),
13719
- A("span", K1, le(e.errorLabel), 1)
13719
+ A("span", j1, le(e.errorLabel), 1)
13720
13720
  ])) : U("", !0)
13721
13721
  ], 8, J1);
13722
13722
  }
@@ -14631,7 +14631,7 @@ function Yv(e, t, a, n, r, s) {
14631
14631
  }, 40, ["id", "href", "target", "type", "class", "tabindex"]))
14632
14632
  ], 10, zv);
14633
14633
  }
14634
- const Wv = /* @__PURE__ */ he(Hv, [["render", Yv], ["__scopeId", "data-v-e3077435"]]), jv = ce({
14634
+ const Wv = /* @__PURE__ */ he(Hv, [["render", Yv], ["__scopeId", "data-v-e3077435"]]), Kv = ce({
14635
14635
  name: "FusionTag",
14636
14636
  props: {
14637
14637
  variantStyle: {
@@ -14701,7 +14701,7 @@ const Wv = /* @__PURE__ */ he(Hv, [["render", Yv], ["__scopeId", "data-v-e307743
14701
14701
  return "emphasis-one";
14702
14702
  }
14703
14703
  }
14704
- }), Kv = { "data-test": "fusion-tag-label" };
14704
+ }), jv = { "data-test": "fusion-tag-label" };
14705
14705
  function Xv(e, t, a, n, r, s) {
14706
14706
  return v(), S("div", {
14707
14707
  class: z(["fusion-tag", `fusion-tag-${e.variantTypeClass}`]),
@@ -14714,10 +14714,10 @@ function Xv(e, t, a, n, r, s) {
14714
14714
  }, [
14715
14715
  G(e.$slots, "icon", {}, void 0, !0)
14716
14716
  ], 2)) : U("", !0),
14717
- A("div", Kv, le(e.label), 1)
14717
+ A("div", jv, le(e.label), 1)
14718
14718
  ], 2);
14719
14719
  }
14720
- const ul = /* @__PURE__ */ he(jv, [["render", Xv], ["__scopeId", "data-v-237d7418"]]), Gv = ce({
14720
+ const ul = /* @__PURE__ */ he(Kv, [["render", Xv], ["__scopeId", "data-v-237d7418"]]), Gv = ce({
14721
14721
  name: "FusionDivider"
14722
14722
  }), Zv = {
14723
14723
  class: "fusion-divider",
@@ -15340,11 +15340,11 @@ function W0(e, t, a, n, r, s) {
15340
15340
  ], -1)
15341
15341
  ])]);
15342
15342
  }
15343
- const j0 = /* @__PURE__ */ he(J0, [["render", W0]]), K0 = ce({
15343
+ const K0 = /* @__PURE__ */ he(J0, [["render", W0]]), j0 = ce({
15344
15344
  name: "FusionTitleBar",
15345
15345
  components: {
15346
15346
  FusionIconButton: fa,
15347
- SVGArrowLeft: j0
15347
+ SVGArrowLeft: K0
15348
15348
  },
15349
15349
  props: {
15350
15350
  title: {
@@ -15419,7 +15419,7 @@ function $0(e, t, a, n, r, s) {
15419
15419
  ])) : U("", !0)
15420
15420
  ]);
15421
15421
  }
15422
- const I3 = /* @__PURE__ */ he(K0, [["render", $0], ["__scopeId", "data-v-3ae80a54"]]), ey = ce({
15422
+ const I3 = /* @__PURE__ */ he(j0, [["render", $0], ["__scopeId", "data-v-3ae80a54"]]), ey = ce({
15423
15423
  name: "FusionActionBar"
15424
15424
  }), ty = { class: "fusion-action-bar" };
15425
15425
  function ay(e, t, a, n, r, s) {
@@ -15626,6 +15626,14 @@ const L3 = /* @__PURE__ */ he(iy, [["render", fy], ["__scopeId", "data-v-d4d7c33
15626
15626
  type: String,
15627
15627
  default: "Value"
15628
15628
  },
15629
+ orientation: {
15630
+ type: String,
15631
+ default: "vertical"
15632
+ },
15633
+ keyFullWidth: {
15634
+ type: Boolean,
15635
+ default: !1
15636
+ },
15629
15637
  order: {
15630
15638
  type: String,
15631
15639
  default: "keyValue"
@@ -15693,6 +15701,15 @@ const L3 = /* @__PURE__ */ he(iy, [["render", fy], ["__scopeId", "data-v-d4d7c33
15693
15701
  },
15694
15702
  computed: {
15695
15703
  orderClass: function() {
15704
+ if (this.orientation === "horizontal")
15705
+ switch (this.order) {
15706
+ case "keyValue":
15707
+ return "flex-row";
15708
+ case "valueKey":
15709
+ return "flex-row-reverse";
15710
+ default:
15711
+ return "flex-row";
15712
+ }
15696
15713
  switch (this.order) {
15697
15714
  case "keyValue":
15698
15715
  return "flex-col";
@@ -15743,7 +15760,12 @@ const L3 = /* @__PURE__ */ he(iy, [["render", fy], ["__scopeId", "data-v-d4d7c33
15743
15760
  function yy(e, t, a, n, r, s) {
15744
15761
  const o = oe("FusionTag"), i = oe("FusionTextLink");
15745
15762
  return v(), S("div", {
15746
- class: z(["fusion-key-value-pair", s.orderClass])
15763
+ class: z([
15764
+ "fusion-key-value-pair",
15765
+ s.orderClass,
15766
+ { "fusion-key-value-pair--horizontal": a.orientation === "horizontal" },
15767
+ { "fusion-key-value-pair--key-full-width": a.orientation === "horizontal" && a.keyFullWidth }
15768
+ ])
15747
15769
  }, [
15748
15770
  a.keyText ? (v(), S("span", hy, le(a.keyText), 1)) : U("", !0),
15749
15771
  s.showValueContainer ? (v(), S("div", my, [
@@ -15787,7 +15809,7 @@ function yy(e, t, a, n, r, s) {
15787
15809
  ])) : U("", !0)
15788
15810
  ], 2);
15789
15811
  }
15790
- const U3 = /* @__PURE__ */ he(py, [["render", yy], ["__scopeId", "data-v-4cef923f"]]), by = ce({
15812
+ const U3 = /* @__PURE__ */ he(py, [["render", yy], ["__scopeId", "data-v-4887f144"]]), by = ce({
15791
15813
  name: "FusionFooterBar",
15792
15814
  components: {
15793
15815
  FusionButton: ur
@@ -16376,7 +16398,7 @@ const Hy = /* @__PURE__ */ he(eo, [["render", qy], ["__scopeId", "data-v-20dc222
16376
16398
  key: 0,
16377
16399
  class: "fusion-circular-progress-label__icon",
16378
16400
  "data-test": "fusion-circular-progress-label-icon"
16379
- }, jy = { class: "fusion-circular-progress-label__content" }, Ky = {
16401
+ }, Ky = { class: "fusion-circular-progress-label__content" }, jy = {
16380
16402
  class: "fusion-circular-progress-label__text",
16381
16403
  "data-test": "fusion-circular-progress-label-text"
16382
16404
  }, Xy = { class: "fusion-circular-progress-label__divider" };
@@ -16387,8 +16409,8 @@ function Gy(e, t, a, n, r, s) {
16387
16409
  e.completed ? (v(), S("div", Wy, [
16388
16410
  ue(o, { class: "fusion-circular-progress-label__svg" })
16389
16411
  ])) : U("", !0),
16390
- A("div", jy, [
16391
- A("span", Ky, le(e.content), 1)
16412
+ A("div", Ky, [
16413
+ A("span", jy, le(e.content), 1)
16392
16414
  ])
16393
16415
  ]),
16394
16416
  A("div", Xy, [
@@ -16520,10 +16542,10 @@ class ob {
16520
16542
  }
16521
16543
  }
16522
16544
  ka = new WeakMap(), Ya = new WeakMap(), Pn = new WeakMap(), Wa = new WeakMap();
16523
- const Kn = () => {
16545
+ const jn = () => {
16524
16546
  };
16525
16547
  function ib(e, t = {}) {
16526
- const { body: a = null, headers: n = {}, method: r = "GET", onBeforeRequest: s = Kn, onUploadProgress: o = Kn, shouldRetry: i = () => !0, onAfterResponse: l = Kn, onTimeout: d = Kn, responseType: u, retries: k = 3, signal: g = null, timeout: c = 3e4, withCredentials: y = !1 } = t, w = (p) => 0.3 * 2 ** (p - 1) * 1e3, F = new ob(c, d);
16548
+ const { body: a = null, headers: n = {}, method: r = "GET", onBeforeRequest: s = jn, onUploadProgress: o = jn, shouldRetry: i = () => !0, onAfterResponse: l = jn, onTimeout: d = jn, responseType: u, retries: k = 3, signal: g = null, timeout: c = 3e4, withCredentials: y = !1 } = t, w = (p) => 0.3 * 2 ** (p - 1) * 1e3, F = new ob(c, d);
16527
16549
  function h(p = 0) {
16528
16550
  return new Promise(async (m, B) => {
16529
16551
  const M = new XMLHttpRequest(), N = (C) => {
@@ -16691,16 +16713,16 @@ function Vo(e) {
16691
16713
  }
16692
16714
  return this;
16693
16715
  }
16694
- var Gt, Ut, Zt, ja, Et, Ka, wa, it, bs, gn, pl, hl, ml, sr, Xa;
16716
+ var Gt, Ut, Zt, Ka, Et, ja, wa, it, bs, gn, pl, hl, ml, sr, Xa;
16695
16717
  class gb {
16696
16718
  constructor(t) {
16697
16719
  Ne(this, it);
16698
16720
  Ne(this, Gt, 0);
16699
16721
  Ne(this, Ut, []);
16700
16722
  Ne(this, Zt, !1);
16701
- Ne(this, ja);
16702
- Ne(this, Et, 1);
16703
16723
  Ne(this, Ka);
16724
+ Ne(this, Et, 1);
16725
+ Ne(this, ja);
16704
16726
  Ne(this, wa);
16705
16727
  te(this, "limit");
16706
16728
  Ne(this, sr, () => this.resume());
@@ -16709,10 +16731,10 @@ class gb {
16709
16731
  Xe(this, wa, setTimeout(re(this, Xa), 0));
16710
16732
  return;
16711
16733
  }
16712
- Xe(this, Et, this.limit), this.limit = Math.ceil((re(this, Ka) + re(this, Et)) / 2);
16734
+ Xe(this, Et, this.limit), this.limit = Math.ceil((re(this, ja) + re(this, Et)) / 2);
16713
16735
  for (let t = re(this, Et); t <= this.limit; t++)
16714
16736
  Ce(this, it, gn).call(this);
16715
- re(this, Ka) - re(this, Et) > 3 ? Xe(this, wa, setTimeout(re(this, Xa), 2e3)) : Xe(this, Et, Math.floor(re(this, Et) / 2));
16737
+ re(this, ja) - re(this, Et) > 3 ? Xe(this, wa, setTimeout(re(this, Xa), 2e3)) : Xe(this, Et, Math.floor(re(this, Et) / 2));
16716
16738
  });
16717
16739
  typeof t != "number" || t === 0 ? this.limit = 1 / 0 : this.limit = t;
16718
16740
  }
@@ -16757,7 +16779,7 @@ class gb {
16757
16779
  };
16758
16780
  }
16759
16781
  resume() {
16760
- Xe(this, Zt, !1), clearTimeout(re(this, ja));
16782
+ Xe(this, Zt, !1), clearTimeout(re(this, Ka));
16761
16783
  for (let t = 0; t < this.limit; t++)
16762
16784
  Ce(this, it, gn).call(this);
16763
16785
  }
@@ -16768,7 +16790,7 @@ class gb {
16768
16790
  * If omitted, the queue won't resume automatically.
16769
16791
  */
16770
16792
  pause(t = null) {
16771
- Xe(this, Zt, !0), clearTimeout(re(this, ja)), t != null && Xe(this, ja, setTimeout(re(this, sr), t));
16793
+ Xe(this, Zt, !0), clearTimeout(re(this, Ka)), t != null && Xe(this, Ka, setTimeout(re(this, sr), t));
16772
16794
  }
16773
16795
  /**
16774
16796
  * Pauses the queue for a duration, and lower the limit of concurrent requests
@@ -16781,13 +16803,13 @@ class gb {
16781
16803
  * @param {number} duration in milliseconds.
16782
16804
  */
16783
16805
  rateLimit(t) {
16784
- clearTimeout(re(this, wa)), this.pause(t), this.limit > 1 && Number.isFinite(this.limit) && (Xe(this, Ka, this.limit - 1), this.limit = re(this, Et), Xe(this, wa, setTimeout(re(this, Xa), t)));
16806
+ clearTimeout(re(this, wa)), this.pause(t), this.limit > 1 && Number.isFinite(this.limit) && (Xe(this, ja, this.limit - 1), this.limit = re(this, Et), Xe(this, wa, setTimeout(re(this, Xa), t)));
16785
16807
  }
16786
16808
  get isPaused() {
16787
16809
  return re(this, Zt);
16788
16810
  }
16789
16811
  }
16790
- Gt = new WeakMap(), Ut = new WeakMap(), Zt = new WeakMap(), ja = new WeakMap(), Et = new WeakMap(), Ka = new WeakMap(), wa = new WeakMap(), it = new WeakSet(), bs = function(t) {
16812
+ Gt = new WeakMap(), Ut = new WeakMap(), Zt = new WeakMap(), Ka = new WeakMap(), Et = new WeakMap(), ja = new WeakMap(), wa = new WeakMap(), it = new WeakSet(), bs = function(t) {
16791
16813
  Xe(this, Gt, re(this, Gt) + 1);
16792
16814
  let a = !1, n;
16793
16815
  try {
@@ -17123,16 +17145,16 @@ function Db() {
17123
17145
  }
17124
17146
  return Wr = a, Wr;
17125
17147
  }
17126
- var jr, Ho;
17148
+ var Kr, Ho;
17127
17149
  function kl() {
17128
- if (Ho) return jr;
17150
+ if (Ho) return Kr;
17129
17151
  Ho = 1;
17130
17152
  var e = bl(), t = e.Symbol;
17131
- return jr = t, jr;
17153
+ return Kr = t, Kr;
17132
17154
  }
17133
- var Kr, zo;
17155
+ var jr, zo;
17134
17156
  function xb() {
17135
- if (zo) return Kr;
17157
+ if (zo) return jr;
17136
17158
  zo = 1;
17137
17159
  var e = kl(), t = Object.prototype, a = t.hasOwnProperty, n = t.toString, r = e ? e.toStringTag : void 0;
17138
17160
  function s(o) {
@@ -17145,7 +17167,7 @@ function xb() {
17145
17167
  var u = n.call(o);
17146
17168
  return d && (i ? o[r] = l : delete o[r]), u;
17147
17169
  }
17148
- return Kr = s, Kr;
17170
+ return jr = s, jr;
17149
17171
  }
17150
17172
  var Xr, Jo;
17151
17173
  function Tb() {
@@ -17176,20 +17198,20 @@ function Mb() {
17176
17198
  }
17177
17199
  return Zr = e, Zr;
17178
17200
  }
17179
- var _r, jo;
17201
+ var _r, Ko;
17180
17202
  function Ib() {
17181
- if (jo) return _r;
17182
- jo = 1;
17203
+ if (Ko) return _r;
17204
+ Ko = 1;
17183
17205
  var e = Ob(), t = Mb(), a = "[object Symbol]";
17184
17206
  function n(r) {
17185
17207
  return typeof r == "symbol" || t(r) && e(r) == a;
17186
17208
  }
17187
17209
  return _r = n, _r;
17188
17210
  }
17189
- var $r, Ko;
17211
+ var $r, jo;
17190
17212
  function Vb() {
17191
- if (Ko) return $r;
17192
- Ko = 1;
17213
+ if (jo) return $r;
17214
+ jo = 1;
17193
17215
  var e = Db(), t = to(), a = Ib(), n = NaN, r = /^[-+]0x[0-9a-f]+$/i, s = /^0b[01]+$/i, o = /^0o[0-7]+$/i, i = parseInt;
17194
17216
  function l(d) {
17195
17217
  if (typeof d == "number")
@@ -17218,29 +17240,29 @@ function Lb() {
17218
17240
  if (typeof i != "function")
17219
17241
  throw new TypeError(n);
17220
17242
  l = a(l) || 0, e(d) && (h = !!d.leading, p = "maxWait" in d, g = p ? r(a(d.maxWait) || 0, l) : g, m = "trailing" in d ? !!d.trailing : m);
17221
- function B(j) {
17243
+ function B(K) {
17222
17244
  var ae = u, $ = k;
17223
- return u = k = void 0, F = j, c = i.apply($, ae), c;
17245
+ return u = k = void 0, F = K, c = i.apply($, ae), c;
17224
17246
  }
17225
- function M(j) {
17226
- return F = j, y = setTimeout(O, l), h ? B(j) : c;
17247
+ function M(K) {
17248
+ return F = K, y = setTimeout(O, l), h ? B(K) : c;
17227
17249
  }
17228
- function N(j) {
17229
- var ae = j - w, $ = j - F, se = l - ae;
17250
+ function N(K) {
17251
+ var ae = K - w, $ = K - F, se = l - ae;
17230
17252
  return p ? s(se, g - $) : se;
17231
17253
  }
17232
- function C(j) {
17233
- var ae = j - w, $ = j - F;
17254
+ function C(K) {
17255
+ var ae = K - w, $ = K - F;
17234
17256
  return w === void 0 || ae >= l || ae < 0 || p && $ >= g;
17235
17257
  }
17236
17258
  function O() {
17237
- var j = t();
17238
- if (C(j))
17239
- return R(j);
17240
- y = setTimeout(O, N(j));
17259
+ var K = t();
17260
+ if (C(K))
17261
+ return R(K);
17262
+ y = setTimeout(O, N(K));
17241
17263
  }
17242
- function R(j) {
17243
- return y = void 0, m && u ? B(j) : (u = k = void 0, c);
17264
+ function R(K) {
17265
+ return y = void 0, m && u ? B(K) : (u = k = void 0, c);
17244
17266
  }
17245
17267
  function W() {
17246
17268
  y !== void 0 && clearTimeout(y), F = 0, u = w = k = y = void 0;
@@ -17248,9 +17270,9 @@ function Lb() {
17248
17270
  function _() {
17249
17271
  return y === void 0 ? c : R(t());
17250
17272
  }
17251
- function K() {
17252
- var j = t(), ae = C(j);
17253
- if (u = arguments, k = this, w = j, ae) {
17273
+ function j() {
17274
+ var K = t(), ae = C(K);
17275
+ if (u = arguments, k = this, w = K, ae) {
17254
17276
  if (y === void 0)
17255
17277
  return M(w);
17256
17278
  if (p)
@@ -17258,7 +17280,7 @@ function Lb() {
17258
17280
  }
17259
17281
  return y === void 0 && (y = setTimeout(O, l)), c;
17260
17282
  }
17261
- return K.cancel = W, K.flush = _, K;
17283
+ return j.cancel = W, j.flush = _, j;
17262
17284
  }
17263
17285
  return es = o, es;
17264
17286
  }
@@ -17337,7 +17359,7 @@ const Jb = "5.0.1", Yb = {
17337
17359
  function Wb(e, t) {
17338
17360
  return t.name ? t.name : e.split("/")[0] === "image" ? `${e.split("/")[0]}.${e.split("/")[1]}` : "noname";
17339
17361
  }
17340
- const jb = {
17362
+ const Kb = {
17341
17363
  strings: {
17342
17364
  addBulkFilesFailed: {
17343
17365
  0: "Failed to add %{smart_count} file due to an internal error",
@@ -17403,7 +17425,7 @@ const jb = {
17403
17425
  }
17404
17426
  };
17405
17427
  var ns, _o;
17406
- function Kb() {
17428
+ function jb() {
17407
17429
  return _o || (_o = 1, ns = function(t) {
17408
17430
  if (typeof t != "number" || Number.isNaN(t))
17409
17431
  throw new TypeError(`Expected a number, got ${typeof t}`);
@@ -17415,7 +17437,7 @@ function Kb() {
17415
17437
  return `${o >= 10 || o % 1 === 0 ? Math.round(o) : o.toFixed(1)} ${i}`;
17416
17438
  }), ns;
17417
17439
  }
17418
- var Xb = Kb();
17440
+ var Xb = jb();
17419
17441
  const Gn = /* @__PURE__ */ kr(Xb);
17420
17442
  var rs, $o;
17421
17443
  function Gb() {
@@ -17635,7 +17657,7 @@ const lr = class lr {
17635
17657
  // all 6 files would go ahead and refresh the token at the same time
17636
17658
  // (calling /refresh-token up to 6 times), which will probably fail for some providers
17637
17659
  Ne(this, Tn, /* @__PURE__ */ new Map());
17638
- this.defaultLocale = jb;
17660
+ this.defaultLocale = Kb;
17639
17661
  const a = {
17640
17662
  id: "uppy",
17641
17663
  autoProceed: !1,
@@ -19314,17 +19336,17 @@ const N3 = /* @__PURE__ */ he(R2, [["render", Y2], ["__scopeId", "data-v-3540ef1
19314
19336
  default: !1
19315
19337
  }
19316
19338
  }
19317
- }, j2 = { class: "fusion-progress-stepper-item-label" };
19318
- function K2(e, t, a, n, r, s) {
19339
+ }, K2 = { class: "fusion-progress-stepper-item-label" };
19340
+ function j2(e, t, a, n, r, s) {
19319
19341
  return v(), S("div", {
19320
19342
  class: z(["fusion-progress-stepper-item", [a.active ? "active" : "", a.completed ? "completed" : ""]])
19321
19343
  }, [
19322
19344
  t[0] || (t[0] = A("div", { class: "fusion-progress-stepper-item-track" }, null, -1)),
19323
19345
  t[1] || (t[1] = A("div", { class: "fusion-progress-stepper-item-circle" }, null, -1)),
19324
- A("span", j2, le(a.stepLabel), 1)
19346
+ A("span", K2, le(a.stepLabel), 1)
19325
19347
  ], 2);
19326
19348
  }
19327
- const X2 = /* @__PURE__ */ he(W2, [["render", K2], ["__scopeId", "data-v-3c3c064c"]]), G2 = ce({
19349
+ const X2 = /* @__PURE__ */ he(W2, [["render", j2], ["__scopeId", "data-v-3c3c064c"]]), G2 = ce({
19328
19350
  name: "FusionProgressStepper",
19329
19351
  components: {
19330
19352
  FusionProgressStepperStep: X2
@@ -19526,7 +19548,7 @@ export {
19526
19548
  B3 as FusionPlatformBar,
19527
19549
  S2 as FusionProgressBar,
19528
19550
  q3 as FusionProgressStepper,
19529
- Ku as FusionRadio,
19551
+ ju as FusionRadio,
19530
19552
  y3 as FusionRadioGroup,
19531
19553
  S3 as FusionRangeDatePicker,
19532
19554
  b3 as FusionSearchableInput,