@quidgest/ui 0.16.9 → 0.16.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ui.esm.js CHANGED
@@ -1,9 +1,9 @@
1
1
  var ho = Object.defineProperty;
2
2
  var yo = (t, e, a) => e in t ? ho(t, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[e] = a;
3
3
  var ge = (t, e, a) => yo(t, typeof e != "symbol" ? e + "" : e, a);
4
- import { getCurrentInstance as yl, computed as x, ref as U, provide as gl, inject as hn, unref as c, isRef as nn, watch as Ce, defineComponent as he, mergeModels as qe, toRef as Ue, useModel as Ve, createElementBlock as T, openBlock as v, normalizeClass as ue, renderSlot as C, normalizeStyle as Ge, withModifiers as gt, createCommentVNode as L, createElementVNode as ee, createVNode as ke, createTextVNode as ut, toDisplayString as Ae, useAttrs as bl, createBlock as oe, resolveDynamicComponent as Zt, withCtx as j, Fragment as be, h as ln, mergeProps as Me, withKeys as rn, normalizeProps as Be, guardReactiveProps as je, useSlots as zt, createSlots as Ye, withDirectives as ra, vModelDynamic as go, vModelText as qr, renderList as Ne, useTemplateRef as Or, useId as bo, onMounted as Je, onUnmounted as Ct, readonly as wo, customRef as _o, getCurrentScope as Ir, onScopeDispose as wl, shallowRef as al, nextTick as Qe, toValue as yn, reactive as Kt, onBeforeUnmount as ko, Teleport as Er, Transition as Ft, render as Ul, onBeforeUpdate as $o, vShow as an, toHandlers as xo } from "vue";
4
+ import { getCurrentInstance as yl, computed as x, ref as U, provide as gl, inject as hn, unref as c, isRef as nn, watch as Ce, defineComponent as he, mergeModels as qe, toRef as Ue, useModel as Ve, createElementBlock as T, openBlock as v, normalizeClass as ue, renderSlot as C, normalizeStyle as Ge, withModifiers as gt, createCommentVNode as L, createElementVNode as ee, createVNode as ke, createTextVNode as ut, toDisplayString as Ae, useAttrs as bl, createBlock as oe, resolveDynamicComponent as Zt, withCtx as j, Fragment as be, h as ln, mergeProps as Me, withKeys as rn, normalizeProps as Be, guardReactiveProps as je, useSlots as zt, createSlots as Ye, useTemplateRef as wl, withDirectives as ra, vModelDynamic as go, vModelText as Or, renderList as Ne, useId as bo, onMounted as Je, onUnmounted as Ct, readonly as wo, customRef as _o, getCurrentScope as Ir, onScopeDispose as _l, shallowRef as al, nextTick as Qe, toValue as yn, reactive as Kt, onBeforeUnmount as ko, Teleport as Er, Transition as Ft, render as jl, onBeforeUpdate as $o, vShow as an, toHandlers as xo } from "vue";
5
5
  /*!
6
- * Quidgest UI v0.16.9
6
+ * Quidgest UI v0.16.10
7
7
  * (c) 2025 Quidgest - Consultores de Gestão, S.A.
8
8
  * Released under the MIT License.
9
9
  */
@@ -87,23 +87,23 @@ const nl = {
87
87
  function ll(t) {
88
88
  return t == null ? !0 : typeof t == "string" || Array.isArray(t) ? t.length === 0 : typeof t == "object" ? Object.keys(t).length === 0 : !1;
89
89
  }
90
- function jl(t) {
90
+ function Xl(t) {
91
91
  return t !== null && typeof t == "object" && !Array.isArray(t);
92
92
  }
93
- function _l(t = {}, e = {}) {
93
+ function kl(t = {}, e = {}) {
94
94
  const a = {}, n = /* @__PURE__ */ new Set([...Object.keys(t), ...Object.keys(e)]);
95
95
  for (const l of n) {
96
96
  if (l === "__proto__" || l === "constructor" || l === "prototype")
97
97
  continue;
98
98
  const r = t[l], s = e[l];
99
- jl(r) && jl(s) ? a[l] = _l(
99
+ Xl(r) && Xl(s) ? a[l] = kl(
100
100
  r,
101
101
  s
102
102
  ) : a[l] = s !== void 0 ? s : r;
103
103
  }
104
104
  return a;
105
105
  }
106
- const kl = "q-defaults";
106
+ const $l = "q-defaults";
107
107
  function Do() {
108
108
  var r, s;
109
109
  const t = yl();
@@ -112,15 +112,15 @@ function Do() {
112
112
  const e = t.type.name ?? t.type.__name;
113
113
  if (!e) throw new Error("[Quidgest UI] Could not determine component name");
114
114
  const a = Lr(), n = (r = a.value) == null ? void 0 : r.Global, l = (s = a.value) == null ? void 0 : s[e];
115
- return x(() => _l(n, l));
115
+ return x(() => kl(n, l));
116
116
  }
117
117
  function Ma(t) {
118
118
  if (ll(t)) return;
119
- const e = Lr(), a = U(t), n = x(() => ll(a.value) ? e.value : _l(e.value, a.value));
120
- gl(kl, n);
119
+ const e = Lr(), a = U(t), n = x(() => ll(a.value) ? e.value : kl(e.value, a.value));
120
+ gl($l, n);
121
121
  }
122
122
  function Lr() {
123
- const t = hn(kl, void 0);
123
+ const t = hn($l, void 0);
124
124
  if (!t) throw new Error("[Quidgest UI] Could not find defaults instance");
125
125
  return t;
126
126
  }
@@ -277,7 +277,7 @@ function Eo(t) {
277
277
  const e = t.r.toString(16).padStart(2, "0"), a = t.g.toString(16).padStart(2, "0"), n = t.b.toString(16).padStart(2, "0");
278
278
  return `#${e}${a}${n}`;
279
279
  }
280
- function Xl(t) {
280
+ function Kl(t) {
281
281
  return `${t.r} ${t.g} ${t.b}`;
282
282
  }
283
283
  function Yr(t) {
@@ -328,12 +328,12 @@ function Nn(t, e, a) {
328
328
  function Lo(t) {
329
329
  return t > 50 ? "#000" : "#fff";
330
330
  }
331
- const Kl = "q-theme";
331
+ const Gl = "q-theme";
332
332
  function Bo() {
333
333
  let t = document.getElementById(
334
- Kl
334
+ Gl
335
335
  );
336
- return t || (t = document.createElement("style"), t.id = Kl, document.head.appendChild(t)), t;
336
+ return t || (t = document.createElement("style"), t.id = Gl, document.head.appendChild(t)), t;
337
337
  }
338
338
  function No(t) {
339
339
  let e = "";
@@ -345,10 +345,10 @@ function No(t) {
345
345
  for (r in l) {
346
346
  const s = l[r];
347
347
  if (s) {
348
- e += ` ${Gl(r)}: ${s};
348
+ e += ` ${Zl(r)}: ${s};
349
349
  `;
350
350
  const o = Fr(s);
351
- e += ` ${Gl(r)}-rgb: ${o.r} ${o.g} ${o.b};
351
+ e += ` ${Zl(r)}-rgb: ${o.r} ${o.g} ${o.b};
352
352
  `;
353
353
  }
354
354
  }
@@ -358,7 +358,7 @@ function No(t) {
358
358
  const a = Bo();
359
359
  a.textContent = e;
360
360
  }
361
- function Gl(t) {
361
+ function Zl(t) {
362
362
  return t ? `--q-theme-${Nr(t)}` : "";
363
363
  }
364
364
  function zr(t, e) {
@@ -375,16 +375,16 @@ function zr(t, e) {
375
375
  class: n
376
376
  };
377
377
  }
378
- const $l = Symbol.for("q-theme");
378
+ const xl = Symbol.for("q-theme");
379
379
  function _n() {
380
- const t = hn($l);
380
+ const t = hn(xl);
381
381
  if (!t)
382
382
  throw new Error("[Quidgest UI] Could not find theme instance");
383
383
  return t;
384
384
  }
385
385
  function Vo(t) {
386
386
  const e = _n(), a = e.themes, n = zr(t, a);
387
- return gl($l, n), n;
387
+ return gl(xl, n), n;
388
388
  }
389
389
  function kn(t) {
390
390
  const e = x(() => c(t)), a = x(
@@ -408,10 +408,10 @@ function kn(t) {
408
408
  const i = Yr(o), f = Lo(i.l), m = Io(o, 25), u = Eo(m);
409
409
  return {
410
410
  mainColor: r,
411
- mainColorRgb: Xl(o),
411
+ mainColorRgb: Kl(o),
412
412
  onMainColor: f,
413
413
  hoverColor: u,
414
- hoverColorRgb: Xl(m),
414
+ hoverColorRgb: Kl(m),
415
415
  onHoverColor: f
416
416
  };
417
417
  });
@@ -1296,7 +1296,7 @@ const bi = /* @__PURE__ */ he({
1296
1296
  invalid: { type: Boolean }
1297
1297
  },
1298
1298
  setup(t, { expose: e }) {
1299
- const a = t, n = U(null), l = x(() => a.required && !a.readonly && !a.disabled), r = x(() => [
1299
+ const a = t, n = wl("field"), l = x(() => a.required && !a.readonly && !a.disabled), r = x(() => [
1300
1300
  "q-field",
1301
1301
  `q-field--${a.size}`,
1302
1302
  {
@@ -1330,8 +1330,7 @@ const bi = /* @__PURE__ */ he({
1330
1330
  }, 8, ["label", "for", "required"])) : L("", !0),
1331
1331
  C(s.$slots, "control", {}, () => [
1332
1332
  ee("div", Me({
1333
- ref_key: "fieldRef",
1334
- ref: n,
1333
+ ref: "field",
1335
1334
  class: "q-field__control"
1336
1335
  }, s.$attrs), [
1337
1336
  s.$slots.prepend ? (v(), T("div", ji, [
@@ -1350,7 +1349,7 @@ const bi = /* @__PURE__ */ he({
1350
1349
  }
1351
1350
  }), da = _e(Gi), $n = {
1352
1351
  clearValue: "Clear value"
1353
- }, xl = {
1352
+ }, Dl = {
1354
1353
  clear: {
1355
1354
  icon: "close"
1356
1355
  }
@@ -1359,7 +1358,7 @@ const bi = /* @__PURE__ */ he({
1359
1358
  props: {
1360
1359
  id: {},
1361
1360
  class: {},
1362
- icons: { default: () => xl },
1361
+ icons: { default: () => Dl },
1363
1362
  texts: { default: () => $n }
1364
1363
  },
1365
1364
  emits: ["click"],
@@ -1561,7 +1560,7 @@ const bi = /* @__PURE__ */ he({
1561
1560
  disabled: r.value,
1562
1561
  "aria-label": e.texts.selectColor
1563
1562
  }, u.$attrs, { onChange: o }), null, 16, tu), [
1564
- [qr, n.value]
1563
+ [Or, n.value]
1565
1564
  ])
1566
1565
  ]),
1567
1566
  _: 2
@@ -1588,7 +1587,7 @@ const bi = /* @__PURE__ */ he({
1588
1587
  showOptions: "Show options"
1589
1588
  }, ru = {
1590
1589
  ...wn,
1591
- ...xl
1590
+ ...Dl
1592
1591
  }, su = /* @__PURE__ */ he({
1593
1592
  __name: "QList",
1594
1593
  props: /* @__PURE__ */ qe({
@@ -1946,7 +1945,7 @@ const bu = { ref: "layer" }, wu = /* @__PURE__ */ he({
1946
1945
  __name: "QDismissibleLayer",
1947
1946
  emits: ["escape-key-down", "pointer-down-outside", "focus-outside", "interact-outside", "dismiss"],
1948
1947
  setup(t, { emit: e }) {
1949
- const a = e, n = Or("layer"), l = bo(), r = gu(l);
1948
+ const a = e, n = wl("layer"), l = bo(), r = gu(l);
1950
1949
  let s = [];
1951
1950
  function o(u) {
1952
1951
  u.key === "Escape" && (r != null && r.isTop()) && (a("escape-key-down", u), u.defaultPrevented || a("dismiss", u));
@@ -2002,19 +2001,19 @@ const bu = { ref: "layer" }, wu = /* @__PURE__ */ he({
2002
2001
  }
2003
2002
  }), es = _e(wu);
2004
2003
  function _u(t) {
2005
- return Ir() ? (wl(t), !0) : !1;
2004
+ return Ir() ? (_l(t), !0) : !1;
2006
2005
  }
2007
2006
  const ku = typeof window < "u" && typeof document < "u";
2008
2007
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
2009
2008
  const $u = () => {
2010
2009
  };
2011
- function Zl(...t) {
2010
+ function Jl(...t) {
2012
2011
  if (t.length !== 1)
2013
2012
  return Ue(...t);
2014
2013
  const e = t[0];
2015
2014
  return typeof e == "function" ? wo(_o(() => ({ get: e, set: $u }))) : U(e);
2016
2015
  }
2017
- const Dl = ku ? window : void 0;
2016
+ const Tl = ku ? window : void 0;
2018
2017
  function sl(t) {
2019
2018
  var e;
2020
2019
  const a = yn(t);
@@ -2031,7 +2030,7 @@ function Du(t) {
2031
2030
  return x(() => (e.value, !!t()));
2032
2031
  }
2033
2032
  function Tu(t, e, a = {}) {
2034
- const { window: n = Dl, ...l } = a;
2033
+ const { window: n = Tl, ...l } = a;
2035
2034
  let r;
2036
2035
  const s = Du(() => n && "ResizeObserver" in n), o = () => {
2037
2036
  r && (r.disconnect(), r = void 0);
@@ -2056,12 +2055,12 @@ function Tu(t, e, a = {}) {
2056
2055
  stop: m
2057
2056
  };
2058
2057
  }
2059
- function Mu(t = Dl, e) {
2058
+ function Mu(t = Tl, e) {
2060
2059
  t && typeof t.requestAnimationFrame == "function" ? t.requestAnimationFrame(e) : e();
2061
2060
  }
2062
2061
  function Au(t = {}) {
2063
2062
  var e, a;
2064
- const { window: n = Dl } = t, l = Zl(t == null ? void 0 : t.element), r = Zl((e = t == null ? void 0 : t.input) != null ? e : ""), s = (a = t == null ? void 0 : t.styleProp) != null ? a : "height", o = al(1), i = al(0);
2063
+ const { window: n = Tl } = t, l = Jl(t == null ? void 0 : t.element), r = Jl((e = t == null ? void 0 : t.input) != null ? e : ""), s = (a = t == null ? void 0 : t.styleProp) != null ? a : "height", o = al(1), i = al(0);
2065
2064
  function f() {
2066
2065
  var m;
2067
2066
  if (!l.value)
@@ -2187,7 +2186,7 @@ var ts = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
2187
2186
  }
2188
2187
  }
2189
2188
  return r;
2190
- }, Jl = function(e) {
2189
+ }, er = function(e) {
2191
2190
  var a = e.getBoundingClientRect(), n = a.width, l = a.height;
2192
2191
  return n === 0 && l === 0;
2193
2192
  }, Nu = function(e, a) {
@@ -2202,7 +2201,7 @@ var ts = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
2202
2201
  for (var o = e; e; ) {
2203
2202
  var i = e.parentElement, f = un(e);
2204
2203
  if (i && !i.shadowRoot && l(i) === !0)
2205
- return Jl(e);
2204
+ return er(e);
2206
2205
  e.assignedSlot ? e = e.assignedSlot : !i && f !== e.ownerDocument ? e = f.host : e = i;
2207
2206
  }
2208
2207
  e = o;
@@ -2212,7 +2211,7 @@ var ts = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
2212
2211
  if (n !== "legacy-full")
2213
2212
  return !0;
2214
2213
  } else if (n === "non-zero-area")
2215
- return Jl(e);
2214
+ return er(e);
2216
2215
  return !1;
2217
2216
  }, Vu = function(e) {
2218
2217
  if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))
@@ -2306,7 +2305,7 @@ function Xu() {
2306
2305
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
2307
2306
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2308
2307
  }
2309
- function er(t, e) {
2308
+ function tr(t, e) {
2310
2309
  var a = Object.keys(t);
2311
2310
  if (Object.getOwnPropertySymbols) {
2312
2311
  var n = Object.getOwnPropertySymbols(t);
@@ -2316,12 +2315,12 @@ function er(t, e) {
2316
2315
  }
2317
2316
  return a;
2318
2317
  }
2319
- function tr(t) {
2318
+ function ar(t) {
2320
2319
  for (var e = 1; e < arguments.length; e++) {
2321
2320
  var a = arguments[e] != null ? arguments[e] : {};
2322
- e % 2 ? er(Object(a), !0).forEach(function(n) {
2321
+ e % 2 ? tr(Object(a), !0).forEach(function(n) {
2323
2322
  Uu(t, n, a[n]);
2324
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(a)) : er(Object(a)).forEach(function(n) {
2323
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(a)) : tr(Object(a)).forEach(function(n) {
2325
2324
  Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(a, n));
2326
2325
  });
2327
2326
  }
@@ -2351,7 +2350,7 @@ function Ju(t, e) {
2351
2350
  return a === "Object" && t.constructor && (a = t.constructor.name), a === "Map" || a === "Set" ? Array.from(t) : a === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a) ? il(t, e) : void 0;
2352
2351
  }
2353
2352
  }
2354
- var ar = {
2353
+ var nr = {
2355
2354
  activateTrap: function(e, a) {
2356
2355
  if (e.length > 0) {
2357
2356
  var n = e[e.length - 1];
@@ -2374,7 +2373,7 @@ var ar = {
2374
2373
  return La(e) && !e.shiftKey;
2375
2374
  }, nd = function(e) {
2376
2375
  return La(e) && e.shiftKey;
2377
- }, nr = function(e) {
2376
+ }, lr = function(e) {
2378
2377
  return setTimeout(e, 0);
2379
2378
  }, Oa = function(e) {
2380
2379
  for (var a = arguments.length, n = new Array(a > 1 ? a - 1 : 0), l = 1; l < a; l++)
@@ -2383,7 +2382,7 @@ var ar = {
2383
2382
  }, Ka = function(e) {
2384
2383
  return e.target.shadowRoot && typeof e.composedPath == "function" ? e.composedPath()[0] : e.target;
2385
2384
  }, ld = [], rd = function(e, a) {
2386
- var n = (a == null ? void 0 : a.document) || document, l = (a == null ? void 0 : a.trapStack) || ld, r = tr({
2385
+ var n = (a == null ? void 0 : a.document) || document, l = (a == null ? void 0 : a.trapStack) || ld, r = ar({
2387
2386
  returnFocusOnDeactivate: !0,
2388
2387
  escapeDeactivates: !0,
2389
2388
  delayInitialFocus: !0,
@@ -2645,7 +2644,7 @@ var ar = {
2645
2644
  f(g, B) >= 0 || Oa(r.clickOutsideDeactivates, B) || Oa(r.allowOutsideClick, B) || (B.preventDefault(), B.stopImmediatePropagation());
2646
2645
  }, Q = function() {
2647
2646
  if (s.active)
2648
- return ar.activateTrap(l, o), s.delayInitialFocusTimer = r.delayInitialFocus ? nr(function() {
2647
+ return nr.activateTrap(l, o), s.delayInitialFocusTimer = r.delayInitialFocus ? lr(function() {
2649
2648
  k(u());
2650
2649
  }) : k(u()), n.addEventListener("focusin", A, !0), n.addEventListener("mousedown", D, {
2651
2650
  capture: !0,
@@ -2699,16 +2698,16 @@ var ar = {
2699
2698
  deactivate: function(B) {
2700
2699
  if (!s.active)
2701
2700
  return this;
2702
- var g = tr({
2701
+ var g = ar({
2703
2702
  onDeactivate: r.onDeactivate,
2704
2703
  onPostDeactivate: r.onPostDeactivate,
2705
2704
  checkCanReturnFocus: r.checkCanReturnFocus
2706
2705
  }, B);
2707
- clearTimeout(s.delayInitialFocusTimer), s.delayInitialFocusTimer = void 0, P(), s.active = !1, s.paused = !1, re(), ar.deactivateTrap(l, o);
2706
+ clearTimeout(s.delayInitialFocusTimer), s.delayInitialFocusTimer = void 0, P(), s.active = !1, s.paused = !1, re(), nr.deactivateTrap(l, o);
2708
2707
  var y = i(g, "onDeactivate"), _ = i(g, "onPostDeactivate"), R = i(g, "checkCanReturnFocus"), K = i(g, "returnFocus", "returnFocusOnDeactivate");
2709
2708
  y == null || y();
2710
2709
  var E = function() {
2711
- nr(function() {
2710
+ lr(function() {
2712
2711
  K && k(M(s.nodeFocusedBeforeActivation)), _ == null || _();
2713
2712
  });
2714
2713
  };
@@ -2760,7 +2759,7 @@ const sd = /* @__PURE__ */ he({
2760
2759
  s && (a = rd(s, t.options || {}), l());
2761
2760
  },
2762
2761
  { flush: "post" }
2763
- ), wl(() => r()), () => {
2762
+ ), _l(() => r()), () => {
2764
2763
  if (e.default)
2765
2764
  return ln(t.as || "div", { ref: n }, e.default());
2766
2765
  };
@@ -2899,20 +2898,20 @@ function bd(t, e, a, n) {
2899
2898
  return { overlayCoords: k, arrowCoords: M, placement: m };
2900
2899
  }
2901
2900
  function wd(t, e, a, n) {
2902
- const l = lr(t, e, a, n);
2903
- if (rr(l)) {
2901
+ const l = rr(t, e, a, n);
2902
+ if (sr(l)) {
2904
2903
  const r = Aa(a), o = {
2905
2904
  top: "bottom",
2906
2905
  bottom: "top",
2907
2906
  left: "right",
2908
2907
  right: "left"
2909
- }[r], i = lr(
2908
+ }[r], i = rr(
2910
2909
  t,
2911
2910
  e,
2912
2911
  o,
2913
2912
  n
2914
2913
  );
2915
- if (rr(i))
2914
+ if (sr(i))
2916
2915
  return a;
2917
2916
  const f = Ad(a);
2918
2917
  return f ? `${o}-${f}` : o;
@@ -2986,7 +2985,7 @@ function Dd(t, e, a) {
2986
2985
  }
2987
2986
  return o;
2988
2987
  }
2989
- function lr(t, e, a, n) {
2988
+ function rr(t, e, a, n) {
2990
2989
  const l = Aa(a);
2991
2990
  let r = 0;
2992
2991
  switch (l) {
@@ -3025,7 +3024,7 @@ function Ad(t) {
3025
3024
  const [, e] = t.split("-");
3026
3025
  return e;
3027
3026
  }
3028
- function rr(t) {
3027
+ function sr(t) {
3029
3028
  return t < 0;
3030
3029
  }
3031
3030
  function is(t) {
@@ -3652,9 +3651,9 @@ const Pd = ["id"], Cd = ["role"], Sd = /* @__PURE__ */ he({
3652
3651
  }
3653
3652
  }, Bd = {
3654
3653
  ...$n
3655
- }, us = 6048e5, Nd = 864e5, Vd = 6e4, ds = 36e5, Fd = 1e3, sr = Symbol.for("constructDateFrom");
3654
+ }, us = 6048e5, Nd = 864e5, Vd = 6e4, ds = 36e5, Fd = 1e3, or = Symbol.for("constructDateFrom");
3656
3655
  function We(t, e) {
3657
- return typeof t == "function" ? t(e) : t && typeof t == "object" && sr in t ? t[sr](e) : t instanceof Date ? new t.constructor(e) : new Date(e);
3656
+ return typeof t == "function" ? t(e) : t && typeof t == "object" && or in t ? t[or](e) : t instanceof Date ? new t.constructor(e) : new Date(e);
3658
3657
  }
3659
3658
  function Te(t, e) {
3660
3659
  return We(e || t, t);
@@ -3736,7 +3735,7 @@ function Qa(t, ...e) {
3736
3735
  );
3737
3736
  return e.map(a);
3738
3737
  }
3739
- function or(t, e) {
3738
+ function ir(t, e) {
3740
3739
  const a = Te(t, e == null ? void 0 : e.in);
3741
3740
  return a.setHours(0, 0, 0, 0), a;
3742
3741
  }
@@ -3745,7 +3744,7 @@ function ms(t, e, a) {
3745
3744
  a == null ? void 0 : a.in,
3746
3745
  t,
3747
3746
  e
3748
- ), r = or(n), s = or(l), o = +r - mn(r), i = +s - mn(s);
3747
+ ), r = ir(n), s = ir(l), o = +r - mn(r), i = +s - mn(s);
3749
3748
  return Math.round((o - i) / Nd);
3750
3749
  }
3751
3750
  function Qd(t, e) {
@@ -3755,10 +3754,10 @@ function Qd(t, e) {
3755
3754
  function Hd(t, e, a) {
3756
3755
  return At(t, e * 3, a);
3757
3756
  }
3758
- function Tl(t, e, a) {
3757
+ function Ml(t, e, a) {
3759
3758
  return At(t, e * 12, a);
3760
3759
  }
3761
- function ir(t, e) {
3760
+ function ur(t, e) {
3762
3761
  const a = +Te(t) - +Te(e);
3763
3762
  return a < 0 ? -1 : a > 0 ? 1 : a;
3764
3763
  }
@@ -3768,7 +3767,7 @@ function ps(t) {
3768
3767
  function Ba(t) {
3769
3768
  return !(!ps(t) && typeof t != "number" || isNaN(+Te(t)));
3770
3769
  }
3771
- function ur(t, e) {
3770
+ function dr(t, e) {
3772
3771
  const a = Te(t, e == null ? void 0 : e.in);
3773
3772
  return Math.trunc(a.getMonth() / 3) + 1;
3774
3773
  }
@@ -3785,9 +3784,9 @@ function jd(t, e, a) {
3785
3784
  a == null ? void 0 : a.in,
3786
3785
  t,
3787
3786
  e
3788
- ), r = ir(n, l), s = Math.abs(Ud(n, l));
3787
+ ), r = ur(n, l), s = Math.abs(Ud(n, l));
3789
3788
  n.setFullYear(1584), l.setFullYear(1584);
3790
- const o = ir(n, l) === -r, i = r * (s - +o);
3789
+ const o = ur(n, l) === -r, i = r * (s - +o);
3791
3790
  return i === 0 ? 0 : i;
3792
3791
  }
3793
3792
  function vs(t, e) {
@@ -3836,7 +3835,7 @@ function gs(t, e) {
3836
3835
  const a = ca(), n = (e == null ? void 0 : e.weekStartsOn) ?? ((i = (o = e == null ? void 0 : e.locale) == null ? void 0 : o.options) == null ? void 0 : i.weekStartsOn) ?? a.weekStartsOn ?? ((m = (f = a.locale) == null ? void 0 : f.options) == null ? void 0 : m.weekStartsOn) ?? 0, l = Te(t, e == null ? void 0 : e.in), r = l.getDay(), s = (r < n ? -7 : 0) + 6 - (r - n);
3837
3836
  return l.setDate(l.getDate() + s), l.setHours(23, 59, 59, 999), l;
3838
3837
  }
3839
- function dr(t, e) {
3838
+ function cr(t, e) {
3840
3839
  const a = Te(t, e == null ? void 0 : e.in), n = a.getMonth(), l = n - n % 3 + 3;
3841
3840
  return a.setMonth(l, 0), a.setHours(23, 59, 59, 999), a;
3842
3841
  }
@@ -4275,11 +4274,11 @@ function Pc(t, e) {
4275
4274
  const a = Te(t, e == null ? void 0 : e.in);
4276
4275
  return ms(a, Fa(a)) + 1;
4277
4276
  }
4278
- function Ml(t, e) {
4277
+ function Al(t, e) {
4279
4278
  const a = Te(t, e == null ? void 0 : e.in), n = +_a(a) - +Qd(a);
4280
4279
  return Math.round(n / us) + 1;
4281
4280
  }
4282
- function Al(t, e) {
4281
+ function Pl(t, e) {
4283
4282
  var m, u, p, h;
4284
4283
  const a = Te(t, e == null ? void 0 : e.in), n = a.getFullYear(), l = ca(), r = (e == null ? void 0 : e.firstWeekContainsDate) ?? ((u = (m = e == null ? void 0 : e.locale) == null ? void 0 : m.options) == null ? void 0 : u.firstWeekContainsDate) ?? l.firstWeekContainsDate ?? ((h = (p = l.locale) == null ? void 0 : p.options) == null ? void 0 : h.firstWeekContainsDate) ?? 1, s = We((e == null ? void 0 : e.in) || t, 0);
4285
4284
  s.setFullYear(n + 1, 0, r), s.setHours(0, 0, 0, 0);
@@ -4290,10 +4289,10 @@ function Al(t, e) {
4290
4289
  }
4291
4290
  function Cc(t, e) {
4292
4291
  var o, i, f, m;
4293
- const a = ca(), n = (e == null ? void 0 : e.firstWeekContainsDate) ?? ((i = (o = e == null ? void 0 : e.locale) == null ? void 0 : o.options) == null ? void 0 : i.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((m = (f = a.locale) == null ? void 0 : f.options) == null ? void 0 : m.firstWeekContainsDate) ?? 1, l = Al(t, e), r = We((e == null ? void 0 : e.in) || t, 0);
4292
+ const a = ca(), n = (e == null ? void 0 : e.firstWeekContainsDate) ?? ((i = (o = e == null ? void 0 : e.locale) == null ? void 0 : o.options) == null ? void 0 : i.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((m = (f = a.locale) == null ? void 0 : f.options) == null ? void 0 : m.firstWeekContainsDate) ?? 1, l = Pl(t, e), r = We((e == null ? void 0 : e.in) || t, 0);
4294
4293
  return r.setFullYear(l, 0, n), r.setHours(0, 0, 0, 0), Pt(r, e);
4295
4294
  }
4296
- function Pl(t, e) {
4295
+ function Cl(t, e) {
4297
4296
  const a = Te(t, e == null ? void 0 : e.in), n = +Pt(a, e) - +Cc(a, e);
4298
4297
  return Math.round(n / us) + 1;
4299
4298
  }
@@ -4362,7 +4361,7 @@ const Qt = {
4362
4361
  afternoon: "afternoon",
4363
4362
  evening: "evening",
4364
4363
  night: "night"
4365
- }, cr = {
4364
+ }, fr = {
4366
4365
  // Era
4367
4366
  G: function(t, e, a) {
4368
4367
  const n = t.getFullYear() > 0 ? 1 : 0;
@@ -4391,7 +4390,7 @@ const Qt = {
4391
4390
  },
4392
4391
  // Local week-numbering year
4393
4392
  Y: function(t, e, a, n) {
4394
- const l = Al(t, n), r = l > 0 ? l : 1 - l;
4393
+ const l = Pl(t, n), r = l > 0 ? l : 1 - l;
4395
4394
  if (e === "YY") {
4396
4395
  const s = r % 100;
4397
4396
  return ze(s, 2);
@@ -4545,12 +4544,12 @@ const Qt = {
4545
4544
  },
4546
4545
  // Local week of year
4547
4546
  w: function(t, e, a, n) {
4548
- const l = Pl(t, n);
4547
+ const l = Cl(t, n);
4549
4548
  return e === "wo" ? a.ordinalNumber(l, { unit: "week" }) : ze(l, e.length);
4550
4549
  },
4551
4550
  // ISO week of year
4552
4551
  I: function(t, e, a) {
4553
- const n = Ml(t);
4552
+ const n = Al(t);
4554
4553
  return e === "Io" ? a.ordinalNumber(n, { unit: "week" }) : ze(n, e.length);
4555
4554
  },
4556
4555
  // Day of the month
@@ -4837,7 +4836,7 @@ const Qt = {
4837
4836
  switch (e) {
4838
4837
  // Hours and optional minutes
4839
4838
  case "X":
4840
- return mr(n);
4839
+ return pr(n);
4841
4840
  // Hours, minutes and optional seconds without `:` delimiter
4842
4841
  // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
4843
4842
  // so this token always has the same output as `XX`
@@ -4860,7 +4859,7 @@ const Qt = {
4860
4859
  switch (e) {
4861
4860
  // Hours and optional minutes
4862
4861
  case "x":
4863
- return mr(n);
4862
+ return pr(n);
4864
4863
  // Hours, minutes and optional seconds without `:` delimiter
4865
4864
  // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
4866
4865
  // so this token always has the same output as `xx`
@@ -4885,7 +4884,7 @@ const Qt = {
4885
4884
  case "O":
4886
4885
  case "OO":
4887
4886
  case "OOO":
4888
- return "GMT" + fr(n, ":");
4887
+ return "GMT" + mr(n, ":");
4889
4888
  // Long
4890
4889
  case "OOOO":
4891
4890
  default:
@@ -4900,7 +4899,7 @@ const Qt = {
4900
4899
  case "z":
4901
4900
  case "zz":
4902
4901
  case "zzz":
4903
- return "GMT" + fr(n, ":");
4902
+ return "GMT" + mr(n, ":");
4904
4903
  // Long
4905
4904
  case "zzzz":
4906
4905
  default:
@@ -4917,18 +4916,18 @@ const Qt = {
4917
4916
  return ze(+t, e.length);
4918
4917
  }
4919
4918
  };
4920
- function fr(t, e = "") {
4919
+ function mr(t, e = "") {
4921
4920
  const a = t > 0 ? "-" : "+", n = Math.abs(t), l = Math.trunc(n / 60), r = n % 60;
4922
4921
  return r === 0 ? a + String(l) : a + String(l) + e + ze(r, 2);
4923
4922
  }
4924
- function mr(t, e) {
4923
+ function pr(t, e) {
4925
4924
  return t % 60 === 0 ? (t > 0 ? "-" : "+") + ze(Math.abs(t) / 60, 2) : aa(t, e);
4926
4925
  }
4927
4926
  function aa(t, e = "") {
4928
4927
  const a = t > 0 ? "-" : "+", n = Math.abs(t), l = ze(Math.trunc(n / 60), 2), r = ze(n % 60, 2);
4929
4928
  return a + l + e + r;
4930
4929
  }
4931
- const pr = (t, e) => {
4930
+ const vr = (t, e) => {
4932
4931
  switch (t) {
4933
4932
  case "P":
4934
4933
  return e.date({ width: "short" });
@@ -4955,7 +4954,7 @@ const pr = (t, e) => {
4955
4954
  }, Sc = (t, e) => {
4956
4955
  const a = t.match(/(P+)(p+)?/) || [], n = a[1], l = a[2];
4957
4956
  if (!l)
4958
- return pr(t, e);
4957
+ return vr(t, e);
4959
4958
  let r;
4960
4959
  switch (n) {
4961
4960
  case "P":
@@ -4972,7 +4971,7 @@ const pr = (t, e) => {
4972
4971
  r = e.dateTime({ width: "full" });
4973
4972
  break;
4974
4973
  }
4975
- return r.replace("{{date}}", pr(n, e)).replace("{{time}}", ws(l, e));
4974
+ return r.replace("{{date}}", vr(n, e)).replace("{{time}}", ws(l, e));
4976
4975
  }, ul = {
4977
4976
  p: ws,
4978
4977
  P: Sc
@@ -5010,7 +5009,7 @@ function Lt(t, e, a) {
5010
5009
  const $ = A[0];
5011
5010
  if ($ === "'")
5012
5011
  return { isToken: !1, value: Fc(A) };
5013
- if (cr[$])
5012
+ if (fr[$])
5014
5013
  return { isToken: !0, value: A };
5015
5014
  if ($.match(Vc))
5016
5015
  throw new RangeError(
@@ -5028,7 +5027,7 @@ function Lt(t, e, a) {
5028
5027
  if (!A.isToken) return A.value;
5029
5028
  const $ = A.value;
5030
5029
  (!(a != null && a.useAdditionalWeekYearTokens) && ks($) || !(a != null && a.useAdditionalDayOfYearTokens) && _s($)) && dl($, e, String(t));
5031
- const O = cr[$[0]];
5030
+ const O = fr[$[0]];
5032
5031
  return O(o, $, l.localize, f);
5033
5032
  }).join("");
5034
5033
  }
@@ -5266,7 +5265,7 @@ function pn(t, e) {
5266
5265
  return tt(new RegExp("^-?\\d{1," + t + "}"), e);
5267
5266
  }
5268
5267
  }
5269
- function Cl(t) {
5268
+ function Sl(t) {
5270
5269
  switch (t) {
5271
5270
  case "morning":
5272
5271
  return 4;
@@ -5381,7 +5380,7 @@ class Jc extends Fe {
5381
5380
  return n.isTwoDigitYear || n.year > 0;
5382
5381
  }
5383
5382
  set(a, n, l, r) {
5384
- const s = Al(a, r);
5383
+ const s = Pl(a, r);
5385
5384
  if (l.isTwoDigitYear) {
5386
5385
  const i = Ds(
5387
5386
  l.year,
@@ -5711,7 +5710,7 @@ class rf extends Fe {
5711
5710
  }
5712
5711
  }
5713
5712
  function sf(t, e, a) {
5714
- const n = Te(t, a == null ? void 0 : a.in), l = Pl(n, a) - e;
5713
+ const n = Te(t, a == null ? void 0 : a.in), l = Cl(n, a) - e;
5715
5714
  return n.setDate(n.getDate() - l * 7), Te(n, a == null ? void 0 : a.in);
5716
5715
  }
5717
5716
  class of extends Fe {
@@ -5752,7 +5751,7 @@ class of extends Fe {
5752
5751
  }
5753
5752
  }
5754
5753
  function uf(t, e, a) {
5755
- const n = Te(t, a == null ? void 0 : a.in), l = Ml(n, a) - e;
5754
+ const n = Te(t, a == null ? void 0 : a.in), l = Al(n, a) - e;
5756
5755
  return n.setDate(n.getDate() - l * 7), n;
5757
5756
  }
5758
5757
  class df extends Fe {
@@ -5887,7 +5886,7 @@ class pf extends Fe {
5887
5886
  return a.setMonth(0, l), a.setHours(0, 0, 0, 0), a;
5888
5887
  }
5889
5888
  }
5890
- function Sl(t, e, a) {
5889
+ function ql(t, e, a) {
5891
5890
  var u, p, h, k;
5892
5891
  const n = ca(), l = (a == null ? void 0 : a.weekStartsOn) ?? ((p = (u = a == null ? void 0 : a.locale) == null ? void 0 : u.options) == null ? void 0 : p.weekStartsOn) ?? n.weekStartsOn ?? ((k = (h = n.locale) == null ? void 0 : h.options) == null ? void 0 : k.weekStartsOn) ?? 0, r = Te(t, a == null ? void 0 : a.in), s = r.getDay(), i = (e % 7 + 7) % 7, f = 7 - l, m = e < 0 || e > 6 ? e - (s + f) % 7 : (i + f) % 7 - (s + f) % 7;
5893
5892
  return $t(r, m, a);
@@ -5930,7 +5929,7 @@ class vf extends Fe {
5930
5929
  return n >= 0 && n <= 6;
5931
5930
  }
5932
5931
  set(a, n, l, r) {
5933
- return a = Sl(a, l, r), a.setHours(0, 0, 0, 0), a;
5932
+ return a = ql(a, l, r), a.setHours(0, 0, 0, 0), a;
5934
5933
  }
5935
5934
  }
5936
5935
  class hf extends Fe {
@@ -6001,7 +6000,7 @@ class hf extends Fe {
6001
6000
  return n >= 0 && n <= 6;
6002
6001
  }
6003
6002
  set(a, n, l, r) {
6004
- return a = Sl(a, l, r), a.setHours(0, 0, 0, 0), a;
6003
+ return a = ql(a, l, r), a.setHours(0, 0, 0, 0), a;
6005
6004
  }
6006
6005
  }
6007
6006
  class yf extends Fe {
@@ -6072,7 +6071,7 @@ class yf extends Fe {
6072
6071
  return n >= 0 && n <= 6;
6073
6072
  }
6074
6073
  set(a, n, l, r) {
6075
- return a = Sl(a, l, r), a.setHours(0, 0, 0, 0), a;
6074
+ return a = ql(a, l, r), a.setHours(0, 0, 0, 0), a;
6076
6075
  }
6077
6076
  }
6078
6077
  function gf(t, e, a) {
@@ -6213,7 +6212,7 @@ class wf extends Fe {
6213
6212
  }
6214
6213
  }
6215
6214
  set(a, n, l) {
6216
- return a.setHours(Cl(l), 0, 0, 0), a;
6215
+ return a.setHours(Sl(l), 0, 0, 0), a;
6217
6216
  }
6218
6217
  }
6219
6218
  class _f extends Fe {
@@ -6254,7 +6253,7 @@ class _f extends Fe {
6254
6253
  }
6255
6254
  }
6256
6255
  set(a, n, l) {
6257
- return a.setHours(Cl(l), 0, 0, 0), a;
6256
+ return a.setHours(Sl(l), 0, 0, 0), a;
6258
6257
  }
6259
6258
  }
6260
6259
  class kf extends Fe {
@@ -6295,7 +6294,7 @@ class kf extends Fe {
6295
6294
  }
6296
6295
  }
6297
6296
  set(a, n, l) {
6298
- return a.setHours(Cl(l), 0, 0, 0), a;
6297
+ return a.setHours(Sl(l), 0, 0, 0), a;
6299
6298
  }
6300
6299
  }
6301
6300
  class $f extends Fe {
@@ -6659,7 +6658,7 @@ function cl(t, e, a, n) {
6659
6658
  function Ff(t) {
6660
6659
  return t.match(Lf)[1].replace(Bf, "'");
6661
6660
  }
6662
- function vr(t, e, a) {
6661
+ function hr(t, e, a) {
6663
6662
  const [n, l] = Qa(
6664
6663
  a == null ? void 0 : a.in,
6665
6664
  t,
@@ -6716,7 +6715,7 @@ function Wf(t, e, a) {
6716
6715
  return We(t, +u - k);
6717
6716
  }
6718
6717
  function Ss(t, e, a) {
6719
- return Tl(t, -e, a);
6718
+ return Ml(t, -e, a);
6720
6719
  }
6721
6720
  function Pa() {
6722
6721
  const t = bl();
@@ -6774,7 +6773,7 @@ function qs() {
6774
6773
  qs.compatConfig = {
6775
6774
  MODE: 3
6776
6775
  };
6777
- function ql() {
6776
+ function Ol() {
6778
6777
  return v(), T(
6779
6778
  "svg",
6780
6779
  {
@@ -6792,10 +6791,10 @@ function ql() {
6792
6791
  ]
6793
6792
  );
6794
6793
  }
6795
- ql.compatConfig = {
6794
+ Ol.compatConfig = {
6796
6795
  MODE: 3
6797
6796
  };
6798
- function Ol() {
6797
+ function Il() {
6799
6798
  return v(), T(
6800
6799
  "svg",
6801
6800
  {
@@ -6813,10 +6812,10 @@ function Ol() {
6813
6812
  ]
6814
6813
  );
6815
6814
  }
6816
- Ol.compatConfig = {
6815
+ Il.compatConfig = {
6817
6816
  MODE: 3
6818
6817
  };
6819
- function Il() {
6818
+ function El() {
6820
6819
  return v(), T(
6821
6820
  "svg",
6822
6821
  {
@@ -6837,10 +6836,10 @@ function Il() {
6837
6836
  ]
6838
6837
  );
6839
6838
  }
6840
- Il.compatConfig = {
6839
+ El.compatConfig = {
6841
6840
  MODE: 3
6842
6841
  };
6843
- function El() {
6842
+ function Rl() {
6844
6843
  return v(), T(
6845
6844
  "svg",
6846
6845
  {
@@ -6858,10 +6857,10 @@ function El() {
6858
6857
  ]
6859
6858
  );
6860
6859
  }
6861
- El.compatConfig = {
6860
+ Rl.compatConfig = {
6862
6861
  MODE: 3
6863
6862
  };
6864
- function Rl() {
6863
+ function Ll() {
6865
6864
  return v(), T(
6866
6865
  "svg",
6867
6866
  {
@@ -6879,10 +6878,10 @@ function Rl() {
6879
6878
  ]
6880
6879
  );
6881
6880
  }
6882
- Rl.compatConfig = {
6881
+ Ll.compatConfig = {
6883
6882
  MODE: 3
6884
6883
  };
6885
- const wt = (t, e) => e ? new Date(t.toLocaleString("en-US", { timeZone: e })) : new Date(t), Ll = (t, e, a) => fl(t, e, a) || se(), Qf = (t, e, a) => {
6884
+ const wt = (t, e) => e ? new Date(t.toLocaleString("en-US", { timeZone: e })) : new Date(t), Bl = (t, e, a) => fl(t, e, a) || se(), Qf = (t, e, a) => {
6886
6885
  const n = e.dateInTz ? wt(new Date(t), e.dateInTz) : se(t);
6887
6886
  return a ? mt(n, !0) : n;
6888
6887
  }, fl = (t, e, a) => {
@@ -6900,7 +6899,7 @@ const wt = (t, e) => e ? new Date(t.toLocaleString("en-US", { timeZone: e })) :
6900
6899
  var Dt = /* @__PURE__ */ ((t) => (t.month = "month", t.year = "year", t))(Dt || {}), Tt = /* @__PURE__ */ ((t) => (t.top = "top", t.bottom = "bottom", t))(Tt || {}), sa = /* @__PURE__ */ ((t) => (t.header = "header", t.calendar = "calendar", t.timePicker = "timePicker", t))(sa || {}), vt = /* @__PURE__ */ ((t) => (t.month = "month", t.year = "year", t.calendar = "calendar", t.time = "time", t.minutes = "minutes", t.hours = "hours", t.seconds = "seconds", t))(vt || {});
6901
6900
  const jf = ["timestamp", "date", "iso"];
6902
6901
  var ht = /* @__PURE__ */ ((t) => (t.up = "up", t.down = "down", t.left = "left", t.right = "right", t))(ht || {}), Ke = /* @__PURE__ */ ((t) => (t.arrowUp = "ArrowUp", t.arrowDown = "ArrowDown", t.arrowLeft = "ArrowLeft", t.arrowRight = "ArrowRight", t.enter = "Enter", t.space = " ", t.esc = "Escape", t.tab = "Tab", t.home = "Home", t.end = "End", t.pageUp = "PageUp", t.pageDown = "PageDown", t))(Ke || {}), ba = /* @__PURE__ */ ((t) => (t.MONTH_AND_YEAR = "MM-yyyy", t.YEAR = "yyyy", t.DATE = "dd-MM-yyyy", t))(ba || {});
6903
- function hr(t) {
6902
+ function yr(t) {
6904
6903
  return (e) => new Intl.DateTimeFormat(t, { weekday: "short", timeZone: "UTC" }).format(/* @__PURE__ */ new Date(`2017-01-0${e}T00:00:00+00:00`)).slice(0, 2);
6905
6904
  }
6906
6905
  function Xf(t) {
@@ -6913,13 +6912,13 @@ const Kf = (t, e, a) => {
6913
6912
  try {
6914
6913
  l = n.map(Xf(t));
6915
6914
  } catch {
6916
- l = n.map(hr(e));
6915
+ l = n.map(yr(e));
6917
6916
  }
6918
6917
  else
6919
- l = n.map(hr(e));
6918
+ l = n.map(yr(e));
6920
6919
  const r = l.slice(0, a), s = l.slice(a + 1, l.length);
6921
6920
  return [l[a]].concat(...s).concat(...r);
6922
- }, Bl = (t, e, a) => {
6921
+ }, Nl = (t, e, a) => {
6923
6922
  const n = [];
6924
6923
  for (let l = +t[0]; l <= +t[1]; l++)
6925
6924
  n.push({ value: +l, text: Rs(l, e) });
@@ -6952,10 +6951,10 @@ const Kf = (t, e, a) => {
6952
6951
  }, Gf = (t) => [12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11][t], ct = (t) => {
6953
6952
  const e = c(t);
6954
6953
  return e != null && e.$el ? e == null ? void 0 : e.$el : e;
6955
- }, Zf = (t) => ({ type: "dot", ...t ?? {} }), Is = (t) => Array.isArray(t) ? !!t[0] && !!t[1] : !1, Nl = {
6954
+ }, Zf = (t) => ({ type: "dot", ...t ?? {} }), Is = (t) => Array.isArray(t) ? !!t[0] && !!t[1] : !1, Vl = {
6956
6955
  prop: (t) => `"${t}" prop must be enabled!`,
6957
6956
  dateArr: (t) => `You need to use array as "model-value" binding in order to support "${t}"`
6958
- }, ft = (t) => t, yr = (t) => t === 0 ? t : !t || isNaN(+t) ? null : +t, gr = (t) => t === null, Es = (t) => {
6957
+ }, ft = (t) => t, gr = (t) => t === 0 ? t : !t || isNaN(+t) ? null : +t, br = (t) => t === null, Es = (t) => {
6959
6958
  if (t)
6960
6959
  return [...t.querySelectorAll("input, button, select, textarea, a[href]")][0];
6961
6960
  }, Jf = (t) => {
@@ -7005,11 +7004,11 @@ function tm(t, e) {
7005
7004
  if (n >= 0 && (e ? n - 1 >= 0 : n + 1 <= a.length))
7006
7005
  return a[n + (e ? -1 : 1)];
7007
7006
  }
7008
- const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e}"]`), Rs = (t, e) => new Intl.NumberFormat(e, { useGrouping: !1, style: "decimal" }).format(t), Vl = (t, e) => Lt(t, e ?? ba.DATE), Qn = (t) => Array.isArray(t), vn = (t, e, a) => e.get(Vl(t, a)), am = (t, e) => t ? e ? e instanceof Map ? !!vn(t, e) : e(se(t)) : !1 : !0, yt = (t, e, a = !1, n) => {
7007
+ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e}"]`), Rs = (t, e) => new Intl.NumberFormat(e, { useGrouping: !1, style: "decimal" }).format(t), Fl = (t, e) => Lt(t, e ?? ba.DATE), Qn = (t) => Array.isArray(t), vn = (t, e, a) => e.get(Fl(t, a)), am = (t, e) => t ? e ? e instanceof Map ? !!vn(t, e) : e(se(t)) : !1 : !0, yt = (t, e, a = !1, n) => {
7009
7008
  if (t.key === Ke.enter || t.key === Ke.space)
7010
7009
  return a && t.preventDefault(), e();
7011
7010
  if (n) return n(t);
7012
- }, nm = () => "ontouchstart" in window || navigator.maxTouchPoints > 0, lm = (t, e) => t ? ba.MONTH_AND_YEAR : e ? ba.YEAR : ba.DATE, Ls = (t) => t < 10 ? `0${t}` : t, br = (t, e, a, n, l, r) => {
7011
+ }, nm = () => "ontouchstart" in window || navigator.maxTouchPoints > 0, lm = (t, e) => t ? ba.MONTH_AND_YEAR : e ? ba.YEAR : ba.DATE, Ls = (t) => t < 10 ? `0${t}` : t, wr = (t, e, a, n, l, r) => {
7013
7012
  const s = cl(t, e.slice(0, t.length), /* @__PURE__ */ new Date(), { locale: r });
7014
7013
  return Ba(s) && ps(s) ? n || l ? s : He(s, {
7015
7014
  hours: +a.hours,
@@ -7020,11 +7019,11 @@ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
7020
7019
  }, rm = (t, e, a, n, l, r) => {
7021
7020
  const s = Array.isArray(a) ? a[0] : a;
7022
7021
  if (typeof e == "string")
7023
- return br(t, e, s, n, l, r);
7022
+ return wr(t, e, s, n, l, r);
7024
7023
  if (Array.isArray(e)) {
7025
7024
  let o = null;
7026
7025
  for (const i of e)
7027
- if (o = br(t, i, s, n, l, r), o)
7026
+ if (o = wr(t, i, s, n, l, r), o)
7028
7027
  break;
7029
7028
  return o;
7030
7029
  }
@@ -7104,10 +7103,10 @@ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
7104
7103
  return Array.isArray(t) ? `${Lt(t[0], r, o)}${l && !t[1] ? "" : n}${t[1] ? Lt(t[1], r, o) : ""}` : Lt(t, r, o);
7105
7104
  }, ha = (t) => {
7106
7105
  if (t) return null;
7107
- throw new Error(Nl.prop("partial-range"));
7106
+ throw new Error(Vl.prop("partial-range"));
7108
7107
  }, Za = (t, e) => {
7109
7108
  if (e) return t();
7110
- throw new Error(Nl.prop("range"));
7109
+ throw new Error(Vl.prop("range"));
7111
7110
  }, pl = (t) => Array.isArray(t) ? Ba(t[0]) && (t[1] ? Ba(t[1]) : !0) : t ? Ba(t) : !1, dm = (t, e) => He(e ?? se(), {
7112
7111
  hours: +t.hours || 0,
7113
7112
  minutes: +t.minutes || 0,
@@ -7119,7 +7118,7 @@ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
7119
7118
  return l || ga(He(t, r), He(e, r));
7120
7119
  }
7121
7120
  return a === "max" ? t.getTime() <= e.getTime() : t.getTime() >= e.getTime();
7122
- }, jn = (t, e, a) => t ? dm(t, e) : se(a ?? e), wr = (t, e, a, n, l) => {
7121
+ }, jn = (t, e, a) => t ? dm(t, e) : se(a ?? e), _r = (t, e, a, n, l) => {
7123
7122
  if (Array.isArray(n)) {
7124
7123
  const s = jn(t, n[0], e), o = jn(t, n[1], e);
7125
7124
  return Un(n[0], s, a, !!e) && Un(n[1], o, a, !!e) && l;
@@ -7138,7 +7137,7 @@ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
7138
7137
  return t.size ? t.has(n) : !0;
7139
7138
  }
7140
7139
  return !0;
7141
- }, Ws = (t, e, a) => typeof t == "function" ? t({ month: e, year: a }) : !!t.months.find((n) => n.month === e && n.year === a), Fl = (t, e) => typeof t == "function" ? t(e) : t.years.includes(e), vl = (t) => `dp-${Lt(t, "yyyy-MM-dd")}`, _r = (t, e) => {
7140
+ }, Ws = (t, e, a) => typeof t == "function" ? t({ month: e, year: a }) : !!t.months.find((n) => n.month === e && n.year === a), Yl = (t, e) => typeof t == "function" ? t(e) : t.years.includes(e), vl = (t) => `dp-${Lt(t, "yyyy-MM-dd")}`, kr = (t, e) => {
7142
7141
  const a = Ms(mt(e), t), n = $t(mt(e), t);
7143
7142
  return { before: a, after: n };
7144
7143
  }, Ra = Kt({
@@ -7224,7 +7223,7 @@ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
7224
7223
  refSets: Xe
7225
7224
  // exposed for testing
7226
7225
  };
7227
- }, kr = (t) => ({
7226
+ }, $r = (t) => ({
7228
7227
  menuAppearTop: "dp-menu-appear-top",
7229
7228
  menuAppearBottom: "dp-menu-appear-bottom",
7230
7229
  open: "dp-slide-down",
@@ -7259,15 +7258,15 @@ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
7259
7258
  yearPicker: (e) => `Year picker${e ? " overlay" : ""}`,
7260
7259
  timeOverlay: (e) => `${e} overlay`,
7261
7260
  ...t ?? {}
7262
- }), $r = (t) => t ? typeof t == "boolean" ? t ? 2 : 0 : +t >= 2 ? +t : 2 : 0, pm = (t) => {
7261
+ }), xr = (t) => t ? typeof t == "boolean" ? t ? 2 : 0 : +t >= 2 ? +t : 2 : 0, pm = (t) => {
7263
7262
  const e = typeof t == "object" && t, a = {
7264
7263
  static: !0,
7265
7264
  solo: !1
7266
7265
  };
7267
- if (!t) return { ...a, count: $r(!1) };
7268
- const n = e ? t : {}, l = e ? n.count ?? !0 : t, r = $r(l);
7266
+ if (!t) return { ...a, count: xr(!1) };
7267
+ const n = e ? t : {}, l = e ? n.count ?? !0 : t, r = xr(l);
7269
7268
  return Object.assign(a, n, { count: r });
7270
- }, vm = (t, e, a) => t || (typeof a == "string" ? a : e), hm = (t) => typeof t == "boolean" ? t ? kr({}) : !1 : kr(t), ym = (t) => {
7269
+ }, vm = (t, e, a) => t || (typeof a == "string" ? a : e), hm = (t) => typeof t == "boolean" ? t ? $r({}) : !1 : $r(t), ym = (t) => {
7271
7270
  const e = {
7272
7271
  enterSubmit: !0,
7273
7272
  tabSubmit: !0,
@@ -7342,13 +7341,13 @@ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
7342
7341
  convertModel: t.convertModel ?? !0
7343
7342
  } : { timezone: void 0, exactMatch: !1, emitTimezone: void 0 }, el = (t, e, a, n) => new Map(
7344
7343
  t.map((l) => {
7345
- const r = Ll(l, e, n);
7346
- return [Vl(r, a), r];
7344
+ const r = Bl(l, e, n);
7345
+ return [Fl(r, a), r];
7347
7346
  })
7348
7347
  ), Tm = (t, e) => t.length ? new Map(
7349
7348
  t.map((a) => {
7350
- const n = Ll(a.date, e);
7351
- return [Vl(n, ba.DATE), a];
7349
+ const n = Bl(a.date, e);
7350
+ return [Fl(n, ba.DATE), a];
7352
7351
  })
7353
7352
  ) : null, Mm = (t) => {
7354
7353
  var e;
@@ -7477,7 +7476,7 @@ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
7477
7476
  }, Z = (d) => {
7478
7477
  if (Array.isArray(d))
7479
7478
  return d.map((I) => E(I));
7480
- throw new Error(Nl.dateArr("multi-dates"));
7479
+ throw new Error(Vl.dateArr("multi-dates"));
7481
7480
  }, H = (d) => {
7482
7481
  if (Array.isArray(d) && r.value.enabled) {
7483
7482
  const I = d[0], de = d[1];
@@ -7552,7 +7551,7 @@ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
7552
7551
  return a.value.months.includes(Re(p)) ? (p = u ? At(m, 1) : xa(m, 1), r(p, u)) : p;
7553
7552
  }, s = (m, u) => {
7554
7553
  let p = m;
7555
- return a.value.years.includes(Pe(p)) ? (p = u ? Tl(m, 1) : Ss(m, 1), s(p, u)) : p;
7554
+ return a.value.years.includes(Pe(p)) ? (p = u ? Ml(m, 1) : Ss(m, 1), s(p, u)) : p;
7556
7555
  }, o = (m, u = !1) => {
7557
7556
  const p = He(se(), { month: t.month, year: t.year });
7558
7557
  let h = m ? At(p, 1) : xa(p, 1);
@@ -8116,7 +8115,7 @@ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8116
8115
  }, {
8117
8116
  default: j(() => [
8118
8117
  D.$slots["arrow-left"] ? C(D.$slots, "arrow-left", { key: 0 }) : L("", !0),
8119
- D.$slots["arrow-left"] ? L("", !0) : (v(), oe(c(ql), { key: 1 }))
8118
+ D.$slots["arrow-left"] ? L("", !0) : (v(), oe(c(Ol), { key: 1 }))
8120
8119
  ]),
8121
8120
  _: 3
8122
8121
  }, 8, ["aria-label", "disabled", "class"])) : L("", !0),
@@ -8147,7 +8146,7 @@ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8147
8146
  }, {
8148
8147
  default: j(() => [
8149
8148
  D.$slots["arrow-right"] ? C(D.$slots, "arrow-right", { key: 0 }) : L("", !0),
8150
- D.$slots["arrow-right"] ? L("", !0) : (v(), oe(c(Ol), { key: 1 }))
8149
+ D.$slots["arrow-right"] ? L("", !0) : (v(), oe(c(Il), { key: 1 }))
8151
8150
  ]),
8152
8151
  _: 3
8153
8152
  }, 8, ["aria-label", "disabled", "class"])) : L("", !0)
@@ -8197,7 +8196,7 @@ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8197
8196
  ], 64);
8198
8197
  };
8199
8198
  }
8200
- }), Yl = (t, e, a) => {
8199
+ }), zl = (t, e, a) => {
8201
8200
  if (e.value && Array.isArray(e.value))
8202
8201
  if (e.value.some((n) => Le(t, n))) {
8203
8202
  const n = e.value.filter((l) => !Le(l, t));
@@ -8205,7 +8204,7 @@ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8205
8204
  } else (a && +a > e.value.length || !a) && e.value.push(t);
8206
8205
  else
8207
8206
  e.value = [t];
8208
- }, zl = (t, e, a) => {
8207
+ }, Wl = (t, e, a) => {
8209
8208
  let n = t.value ? t.value.slice() : [];
8210
8209
  return n.length === 2 && n[1] !== null && (n = []), n.length ? (at(e, n[0]) ? n.unshift(e) : n[1] = e, a("range-end", e)) : (n = [e], a("range-start", e)), n;
8211
8210
  }, Pn = (t, e, a, n) => {
@@ -8225,7 +8224,7 @@ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8225
8224
  month: f,
8226
8225
  emit: m
8227
8226
  }) => {
8228
- const u = x(() => Bl(s.yearRange, s.locale, s.reverseYears)), p = U([!1]), h = x(() => (Y, re) => {
8227
+ const u = x(() => Nl(s.yearRange, s.locale, s.reverseYears)), p = U([!1]), h = x(() => (Y, re) => {
8229
8228
  const ae = He(Mt(/* @__PURE__ */ new Date()), {
8230
8229
  month: f.value(Y),
8231
8230
  year: i.value(Y)
@@ -8248,7 +8247,7 @@ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8248
8247
  };
8249
8248
  else {
8250
8249
  const re = He(se(), l.value[Y - 1]);
8251
- l.value[Y] = { month: Re(re), year: Pe(Tl(re, 1)) };
8250
+ l.value[Y] = { month: Re(re), year: Pe(Ml(re, 1)) };
8252
8251
  }
8253
8252
  }, S = (Y) => {
8254
8253
  if (!Y) return M();
@@ -8278,7 +8277,7 @@ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8278
8277
  re.value,
8279
8278
  Ta(n.value.minDate),
8280
8279
  Ta(n.value.maxDate)
8281
- ) || ((ae = o.value.years) == null ? void 0 : ae.includes(i.value(Y))), y = Fl(a.value, re.value);
8280
+ ) || ((ae = o.value.years) == null ? void 0 : ae.includes(i.value(Y))), y = Yl(a.value, re.value);
8282
8281
  return { active: B, disabled: g, highlighted: y };
8283
8282
  })), Q = (Y, re) => {
8284
8283
  Z(Y, re), F(re);
@@ -8367,11 +8366,11 @@ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8367
8366
  h.value = Vt(le, V, k.value(X)), e("auto-apply"), e("update-flow-step");
8368
8367
  }, E = (V, X) => {
8369
8368
  const le = R(V, X);
8370
- s.value.fixedEnd || s.value.fixedStart ? h.value = js(le, h, e, s) : h.value ? $(le, h.value) && (h.value = zl(h, R(V, X), e)) : h.value = [R(V, X)], Qe().then(() => {
8369
+ s.value.fixedEnd || s.value.fixedStart ? h.value = js(le, h, e, s) : h.value ? $(le, h.value) && (h.value = Wl(h, R(V, X), e)) : h.value = [R(V, X)], Qe().then(() => {
8371
8370
  Pn(h.value, e, t.autoApply, t.modelAuto);
8372
8371
  });
8373
8372
  }, te = (V, X) => {
8374
- Yl(R(V, X), h, u.value.limit), e("auto-apply", !0);
8373
+ zl(R(V, X), h, u.value.limit), e("auto-apply", !0);
8375
8374
  }, w = (V, X) => (S.value[X].month = V, q(X, S.value[X].year, V), u.value.enabled ? te(V, X) : s.value.enabled ? E(V, X) : K(V, X)), N = (V, X) => {
8376
8375
  O(V, X), q(X, V, null);
8377
8376
  }, q = (V, X, le) => {
@@ -8537,12 +8536,12 @@ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8537
8536
  Je(() => {
8538
8537
  t.startDate && (n.value && t.focusStartDate || !n.value) && (m.value = Pe(se(t.startDate)));
8539
8538
  });
8540
- const u = (D) => Array.isArray(n.value) ? n.value.some((A) => Pe(A) === D) : n.value ? Pe(n.value) === D : !1, p = (D) => i.value.enabled && Array.isArray(n.value) ? za(n.value, l.value, S(D)) : !1, h = (D) => f.value.allowedDates instanceof Map ? f.value.allowedDates.size ? f.value.allowedDates.has(`${D}`) : !1 : !0, k = (D) => f.value.disabledDates instanceof Map ? f.value.disabledDates.size ? f.value.disabledDates.has(`${D}`) : !1 : !0, M = x(() => Da(Bl(t.yearRange, t.locale, t.reverseYears), (D) => {
8539
+ const u = (D) => Array.isArray(n.value) ? n.value.some((A) => Pe(A) === D) : n.value ? Pe(n.value) === D : !1, p = (D) => i.value.enabled && Array.isArray(n.value) ? za(n.value, l.value, S(D)) : !1, h = (D) => f.value.allowedDates instanceof Map ? f.value.allowedDates.size ? f.value.allowedDates.has(`${D}`) : !1 : !0, k = (D) => f.value.disabledDates instanceof Map ? f.value.disabledDates.size ? f.value.disabledDates.has(`${D}`) : !1 : !0, M = x(() => Da(Nl(t.yearRange, t.locale, t.reverseYears), (D) => {
8541
8540
  const A = u(D.value), $ = Ya(
8542
8541
  D.value,
8543
8542
  Ta(f.value.minDate),
8544
8543
  Ta(f.value.maxDate)
8545
- ) || o.value.years.includes(D.value) || !h(D.value) || k(D.value), O = p(D.value) && !A, Z = Fl(r.value, D.value);
8544
+ ) || o.value.years.includes(D.value) || !h(D.value) || k(D.value), O = p(D.value) && !A, Z = Yl(r.value, D.value);
8546
8545
  return { active: A, disabled: $, isBetween: O, highlighted: Z };
8547
8546
  })), S = (D) => Rt(Mt(Fa(/* @__PURE__ */ new Date())), D);
8548
8547
  return {
@@ -8556,7 +8555,7 @@ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8556
8555
  var A;
8557
8556
  if (e("update-month-year", { instance: 0, year: D }), s.value.enabled)
8558
8557
  return n.value ? Array.isArray(n.value) && (((A = n.value) == null ? void 0 : A.map(($) => Pe($))).includes(D) ? n.value = n.value.filter(($) => Pe($) !== D) : n.value.push(Rt(mt(se()), D))) : n.value = [Rt(mt(Fa(se())), D)], e("auto-apply", !0);
8559
- i.value.enabled ? (n.value = zl(n, S(D), e), Qe().then(() => {
8558
+ i.value.enabled ? (n.value = Wl(n, S(D), e), Qe().then(() => {
8560
8559
  Pn(n.value, e, t.autoApply, t.modelAuto);
8561
8560
  })) : (n.value = S(D), e("auto-apply"));
8562
8561
  }
@@ -8788,7 +8787,7 @@ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8788
8787
  ], 64))
8789
8788
  ], 64)) : (v(), T(be, { key: 0 }, [
8790
8789
  b.$slots["arrow-up"] ? C(b.$slots, "arrow-up", { key: 0 }) : L("", !0),
8791
- b.$slots["arrow-up"] ? L("", !0) : (v(), oe(c(El), { key: 1 }))
8790
+ b.$slots["arrow-up"] ? L("", !0) : (v(), oe(c(Rl), { key: 1 }))
8792
8791
  ], 64))
8793
8792
  ], 42, jm),
8794
8793
  ee("button", {
@@ -8846,7 +8845,7 @@ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8846
8845
  ], 64))
8847
8846
  ], 64)) : (v(), T(be, { key: 0 }, [
8848
8847
  b.$slots["arrow-down"] ? C(b.$slots, "arrow-down", { key: 0 }) : L("", !0),
8849
- b.$slots["arrow-down"] ? L("", !0) : (v(), oe(c(Rl), { key: 1 }))
8848
+ b.$slots["arrow-down"] ? L("", !0) : (v(), oe(c(Ll), { key: 1 }))
8850
8849
  ], 64))
8851
8850
  ], 42, Km)
8852
8851
  ], 64))
@@ -8897,7 +8896,7 @@ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8897
8896
  }, Ye({
8898
8897
  "button-icon": j(() => [
8899
8898
  b.$slots["clock-icon"] ? C(b.$slots, "clock-icon", { key: 0 }) : L("", !0),
8900
- b.$slots["clock-icon"] ? L("", !0) : (v(), oe(Zt(b.timePickerInline ? c(Pa) : c(Il)), { key: 1 }))
8899
+ b.$slots["clock-icon"] ? L("", !0) : (v(), oe(Zt(b.timePickerInline ? c(Pa) : c(El)), { key: 1 }))
8901
8900
  ]),
8902
8901
  _: 2
8903
8902
  }, [
@@ -9014,7 +9013,7 @@ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9014
9013
  onClick: te[1] || (te[1] = (N) => F(!0))
9015
9014
  }, [
9016
9015
  E.$slots["clock-icon"] ? C(E.$slots, "clock-icon", { key: 0 }) : L("", !0),
9017
- E.$slots["clock-icon"] ? L("", !0) : (v(), oe(c(Il), { key: 1 }))
9016
+ E.$slots["clock-icon"] ? L("", !0) : (v(), oe(c(El), { key: 1 }))
9018
9017
  ], 42, tp)), [
9019
9018
  [an, !c(M)(E.hideNavigation, "time")]
9020
9019
  ]) : L("", !0),
@@ -9354,7 +9353,7 @@ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9354
9353
  q.value,
9355
9354
  Ta(u.value.minDate),
9356
9355
  Ta(u.value.maxDate)
9357
- ) || i.value.years.includes(q.value), le = Fl(m.value, q.value);
9356
+ ) || i.value.years.includes(q.value), le = Yl(m.value, q.value);
9358
9357
  return { active: V, disabled: X, highlighted: le };
9359
9358
  })), _ = (q, V, X) => {
9360
9359
  X !== void 0 ? q.value = X : q.value = !q.value, q.value ? (Q.value = !0, n("overlay-opened", V)) : (Q.value = !1, n("overlay-closed", V));
@@ -9429,7 +9428,7 @@ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9429
9428
  }, {
9430
9429
  default: j(() => [
9431
9430
  q.$slots["arrow-left"] ? C(q.$slots, "arrow-left", { key: 0 }) : L("", !0),
9432
- q.$slots["arrow-left"] ? L("", !0) : (v(), oe(c(ql), { key: 1 }))
9431
+ q.$slots["arrow-left"] ? L("", !0) : (v(), oe(c(Ol), { key: 1 }))
9433
9432
  ]),
9434
9433
  _: 3
9435
9434
  }, 8, ["aria-label", "disabled", "class"])) : L("", !0),
@@ -9532,7 +9531,7 @@ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9532
9531
  }, {
9533
9532
  default: j(() => [
9534
9533
  q.$slots["arrow-up"] ? C(q.$slots, "arrow-up", { key: 0 }) : L("", !0),
9535
- q.$slots["arrow-up"] ? L("", !0) : (v(), oe(c(El), { key: 1 }))
9534
+ q.$slots["arrow-up"] ? L("", !0) : (v(), oe(c(Rl), { key: 1 }))
9536
9535
  ]),
9537
9536
  _: 3
9538
9537
  }, 8, ["aria-label", "disabled", "class"])) : L("", !0),
@@ -9548,7 +9547,7 @@ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9548
9547
  }, {
9549
9548
  default: j(() => [
9550
9549
  q.$slots[q.vertical ? "arrow-down" : "arrow-right"] ? C(q.$slots, q.vertical ? "arrow-down" : "arrow-right", { key: 0 }) : L("", !0),
9551
- q.$slots[q.vertical ? "arrow-down" : "arrow-right"] ? L("", !0) : (v(), oe(Zt(q.vertical ? c(Rl) : c(Ol)), { key: 1 }))
9550
+ q.$slots[q.vertical ? "arrow-down" : "arrow-right"] ? L("", !0) : (v(), oe(Zt(q.vertical ? c(Ll) : c(Il)), { key: 1 }))
9552
9551
  ]),
9553
9552
  _: 3
9554
9553
  }, 8, ["disabled", "aria-label", "class"])) : L("", !0)
@@ -9667,7 +9666,7 @@ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9667
9666
  G && (Array.isArray(M.value[Se]) ? M.value[Se][ne] = G : M.value[Se] = [G]), l.arrowNavigation && r(M.value, "calendar");
9668
9667
  }, X = (G) => {
9669
9668
  l.monthChangeOnScroll && (G.preventDefault(), n("handle-scroll", G));
9670
- }, le = (G) => m.value.type === "local" ? Pl(G.value, { weekStartsOn: +l.weekStart }) : m.value.type === "iso" ? Ml(G.value) : typeof m.value.type == "function" ? m.value.type(G.value) : "", d = (G) => {
9669
+ }, le = (G) => m.value.type === "local" ? Cl(G.value, { weekStartsOn: +l.weekStart }) : m.value.type === "iso" ? Al(G.value) : typeof m.value.type == "function" ? m.value.type(G.value) : "", d = (G) => {
9671
9670
  const Se = G[0];
9672
9671
  return m.value.hideOnOffsetDates ? G.some((ne) => ne.current) ? le(Se) : "" : le(Se);
9673
9672
  }, I = (G, Se, ne = !0) => {
@@ -9820,7 +9819,7 @@ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9820
9819
  ], 2)
9821
9820
  ], 2));
9822
9821
  }
9823
- }), xr = (t) => Array.isArray(t), bp = (t, e, a, n) => {
9822
+ }), Dr = (t) => Array.isArray(t), bp = (t, e, a, n) => {
9824
9823
  const l = U([]), r = U(/* @__PURE__ */ new Date()), s = U(), o = () => w(t.isTextInputDate), { modelValue: i, calendars: f, time: m, today: u } = ja(t, e, o), {
9825
9824
  defaultedMultiCalendars: p,
9826
9825
  defaultedStartTime: h,
@@ -9835,7 +9834,7 @@ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9835
9834
  () => (z) => f.value[z] ? f.value[z].year : 0
9836
9835
  ), y = (z) => !M.value.keepViewOnOffsetClick || z ? !0 : !s.value, _ = (z, ce, De, J = !1) => {
9837
9836
  var ve, we;
9838
- y(J) && (f.value[z] || (f.value[z] = { month: 0, year: 0 }), f.value[z].month = gr(ce) ? (ve = f.value[z]) == null ? void 0 : ve.month : ce, f.value[z].year = gr(De) ? (we = f.value[z]) == null ? void 0 : we.year : De);
9837
+ y(J) && (f.value[z] || (f.value[z] = { month: 0, year: 0 }), f.value[z].month = br(ce) ? (ve = f.value[z]) == null ? void 0 : ve.month : ce, f.value[z].year = br(De) ? (we = f.value[z]) == null ? void 0 : we.year : De);
9839
9838
  }, R = () => {
9840
9839
  t.autoApply && e("select-date");
9841
9840
  }, K = () => {
@@ -9971,7 +9970,7 @@ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9971
9970
  return xt(Ot), me(De, J, ve, we);
9972
9971
  }, W = (z) => {
9973
9972
  const ce = Xt(se(z.value), m.hours, m.minutes, it());
9974
- e("date-update", ce), A.value.enabled ? Yl(ce, i, A.value.limit) : i.value = ce, n(), Qe().then(() => {
9973
+ e("date-update", ce), A.value.enabled ? zl(ce, i, A.value.limit) : i.value = ce, n(), Qe().then(() => {
9975
9974
  te();
9976
9975
  });
9977
9976
  }, ie = (z) => k.value.noDisabledRange ? Vs(l.value[0], z).some((ce) => O(ce)) : !1, $e = () => {
@@ -10014,7 +10013,7 @@ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10014
10013
  }, qn = (z, ce = !1) => {
10015
10014
  if (O(z.value) || !z.current && t.hideOffsetDates) return e("invalid-date", z.value);
10016
10015
  if (s.value = JSON.parse(JSON.stringify(z)), !k.value.enabled) return W(z);
10017
- xr(m.hours) && xr(m.minutes) && !A.value.enabled && (Bt(z, ce), Xa());
10016
+ Dr(m.hours) && Dr(m.minutes) && !A.value.enabled && (Bt(z, ce), Xa());
10018
10017
  }, On = (z, ce) => {
10019
10018
  var De;
10020
10019
  _(z, ce.month, ce.year, !0), p.value.count && !p.value.solo && Ie(z), e("update-month-year", { instance: z, month: ce.month, year: ce.year }), a(p.value.solo ? z : void 0);
@@ -10028,7 +10027,7 @@ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10028
10027
  timezone: ce ? void 0 : S.value.timezone
10029
10028
  }), R(), t.multiCalendars && Qe().then(() => w(!0));
10030
10029
  }, En = () => {
10031
- const z = Ll(se(), S.value);
10030
+ const z = Bl(se(), S.value);
10032
10031
  !k.value.enabled && !A.value.enabled ? i.value = z : i.value && Array.isArray(i.value) && i.value[0] ? A.value.enabled ? i.value = [...i.value, z] : i.value = at(z, i.value[0]) ? [z, i.value[0]] : [i.value[0], z] : i.value = [z], R();
10033
10032
  }, Rn = () => {
10034
10033
  if (Array.isArray(i.value))
@@ -10213,7 +10212,7 @@ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10213
10212
  ye && (g.value[fe] = ye);
10214
10213
  },
10215
10214
  months: c(Os)(ne.formatLocale, ne.locale, ne.monthNameFormat),
10216
- years: c(Bl)(ne.yearRange, ne.locale, ne.reverseYears),
10215
+ years: c(Nl)(ne.yearRange, ne.locale, ne.reverseYears),
10217
10216
  month: c(s)(b),
10218
10217
  year: c(o)(b),
10219
10218
  instance: b
@@ -10312,7 +10311,7 @@ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10312
10311
  filters: i,
10313
10312
  props: t,
10314
10313
  emit: e
10315
- }), H = (y, _) => [y, _].map((R) => Lt(R, "MMMM", { locale: t.formatLocale })).join("-"), Q = x(() => (y) => m.value ? Array.isArray(m.value) ? m.value.some((_) => vr(y, _)) : vr(m.value, y) : !1), P = (y) => {
10314
+ }), H = (y, _) => [y, _].map((R) => Lt(R, "MMMM", { locale: t.formatLocale })).join("-"), Q = x(() => (y) => m.value ? Array.isArray(m.value) ? m.value.some((_) => hr(y, _)) : hr(m.value, y) : !1), P = (y) => {
10316
10315
  if (s.value.enabled) {
10317
10316
  if (Array.isArray(m.value)) {
10318
10317
  const _ = Le(y, m.value[0]) || Le(y, m.value[1]);
@@ -10321,13 +10320,13 @@ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10321
10320
  return !1;
10322
10321
  }
10323
10322
  return !1;
10324
- }, F = (y, _) => y.quarter === ur(_) && y.year === Pe(_), Y = (y) => typeof r.value == "function" ? r.value({ quarter: ur(y), year: Pe(y) }) : !!r.value.quarters.find((_) => F(_, y)), re = x(() => (y) => {
10323
+ }, F = (y, _) => y.quarter === dr(_) && y.year === Pe(_), Y = (y) => typeof r.value == "function" ? r.value({ quarter: dr(y), year: Pe(y) }) : !!r.value.quarters.find((_) => F(_, y)), re = x(() => (y) => {
10325
10324
  const _ = He(/* @__PURE__ */ new Date(), { year: u.value(y) });
10326
10325
  return Xd({
10327
10326
  start: Fa(_),
10328
10327
  end: ys(_)
10329
10328
  }).map((R) => {
10330
- const K = la(R), E = dr(R), te = k(R), w = P(K), N = Y(K);
10329
+ const K = la(R), E = cr(R), te = k(R), w = P(K), N = Y(K);
10331
10330
  return {
10332
10331
  text: H(K, E),
10333
10332
  value: K,
@@ -10338,9 +10337,9 @@ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10338
10337
  };
10339
10338
  });
10340
10339
  }), ae = (y) => {
10341
- Yl(y, m, f.value.limit), e("auto-apply", !0);
10340
+ zl(y, m, f.value.limit), e("auto-apply", !0);
10342
10341
  }, B = (y) => {
10343
- m.value = zl(m, y, e), Pn(m.value, e, t.autoApply, t.modelAuto);
10342
+ m.value = Wl(m, y, e), Pn(m.value, e, t.autoApply, t.modelAuto);
10344
10343
  }, g = (y) => {
10345
10344
  m.value = y, e("auto-apply");
10346
10345
  };
@@ -10359,7 +10358,7 @@ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10359
10358
  selectYear: M,
10360
10359
  selectQuarter: (y, _, R) => {
10361
10360
  if (!R)
10362
- return h.value[_].month = Re(dr(y)), f.value.enabled ? ae(y) : s.value.enabled ? B(y) : g(y);
10361
+ return h.value[_].month = Re(cr(y)), f.value.enabled ? ae(y) : s.value.enabled ? B(y) : g(y);
10363
10362
  },
10364
10363
  toggleYearPicker: $,
10365
10364
  handleYearSelect: O,
@@ -10499,7 +10498,7 @@ const ml = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10499
10498
  }, Ip = {
10500
10499
  key: 3,
10501
10500
  class: "dp__action_extra"
10502
- }, Dr = /* @__PURE__ */ he({
10501
+ }, Tr = /* @__PURE__ */ he({
10503
10502
  compatConfig: {
10504
10503
  MODE: 3
10505
10504
  },
@@ -10928,7 +10927,7 @@ const Ep = ({
10928
10927
  },
10929
10928
  Object.fromEntries(X.map((d) => [d, o[d]]))
10930
10929
  );
10931
- Ul(le, w), f.value = (te = le.el) == null ? void 0 : te.getBoundingClientRect(), Ul(null, w), q.removeChild(w);
10930
+ jl(le, w), f.value = (te = le.el) == null ? void 0 : te.getBoundingClientRect(), jl(null, w), q.removeChild(w);
10932
10931
  }
10933
10932
  };
10934
10933
  }, Ht = [
@@ -11105,13 +11104,13 @@ const Ep = ({
11105
11104
  return typeof r.value == "function" ? r.value(d.value) : (I = r.value.weekdays) == null ? void 0 : I.includes(d.value.getDay());
11106
11105
  }, y = (d) => (i.value.enabled || e.weekPicker) && (!(a.value.count > 0) || d.current) && F() && !(!d.current && e.hideOffsetDates) && !$(d) ? Q(d) : !1, _ = (d) => {
11107
11106
  if (Array.isArray(t.value) && t.value.length === 1) {
11108
- const { before: I, after: de } = _r(+i.value.maxRange, t.value[0]);
11107
+ const { before: I, after: de } = kr(+i.value.maxRange, t.value[0]);
11109
11108
  return $a(d.value, I) || ua(d.value, de);
11110
11109
  }
11111
11110
  return !1;
11112
11111
  }, R = (d) => {
11113
11112
  if (Array.isArray(t.value) && t.value.length === 1) {
11114
- const { before: I, after: de } = _r(+i.value.minRange, t.value[0]);
11113
+ const { before: I, after: de } = kr(+i.value.minRange, t.value[0]);
11115
11114
  return za([I, de], t.value[0], d.value);
11116
11115
  }
11117
11116
  return !1;
@@ -11226,13 +11225,13 @@ const Ep = ({
11226
11225
  let y = !0;
11227
11226
  if (!g || $()) return !0;
11228
11227
  const _ = !n.value.minDate && !n.value.maxDate ? O(g) : g;
11229
- return (t.maxTime || n.value.maxDate) && (y = wr(
11228
+ return (t.maxTime || n.value.maxDate) && (y = _r(
11230
11229
  t.maxTime,
11231
11230
  n.value.maxDate,
11232
11231
  "max",
11233
11232
  ft(_),
11234
11233
  y
11235
- )), (t.minTime || n.value.minDate) && (y = wr(
11234
+ )), (t.minTime || n.value.minDate) && (y = _r(
11236
11235
  t.minTime,
11237
11236
  n.value.minDate,
11238
11237
  "min",
@@ -11504,7 +11503,7 @@ const Ep = ({
11504
11503
  };
11505
11504
  }
11506
11505
  }), Qp = typeof window < "u" ? window : void 0, tl = () => {
11507
- }, Hp = (t) => Ir() ? (wl(t), !0) : !1, Up = (t, e, a, n) => {
11506
+ }, Hp = (t) => Ir() ? (_l(t), !0) : !1, Up = (t, e, a, n) => {
11508
11507
  if (!t) return tl;
11509
11508
  let l = tl;
11510
11509
  const r = Ce(
@@ -11634,7 +11633,7 @@ const Ep = ({
11634
11633
  }, Ee = (J) => {
11635
11634
  M.value = J.shiftKey;
11636
11635
  }, Oe = () => {
11637
- !l.disabled && !l.readonly && (q(Dr, l), w(!1), s.value = !0, s.value && n("open"), s.value || Bt(), le(l.modelValue));
11636
+ !l.disabled && !l.readonly && (q(Tr, l), w(!1), s.value = !0, s.value && n("open"), s.value || Bt(), le(l.modelValue));
11638
11637
  }, W = () => {
11639
11638
  var J, ve;
11640
11639
  V.value = "", Bt(), (J = m.value) == null || J.onValueCleared(), (ve = u.value) == null || ve.setParsedDate(null), n("update:model-value", null), n("update:model-timezone-value", null), n("cleared"), Y.value.closeOnClearValue && it();
@@ -11676,8 +11675,8 @@ const Ep = ({
11676
11675
  n("blur");
11677
11676
  }, En = (J) => {
11678
11677
  m.value && m.value.updateMonthYear(0, {
11679
- month: yr(J.month),
11680
- year: yr(J.year)
11678
+ month: gr(J.month),
11679
+ year: gr(J.year)
11681
11680
  });
11682
11681
  }, Rn = (J) => {
11683
11682
  le(J ?? l.modelValue);
@@ -11756,7 +11755,7 @@ const Ep = ({
11756
11755
  class: { "dp--menu-wrapper": !c(F).enabled },
11757
11756
  style: c(F).enabled ? void 0 : c(E)
11758
11757
  }), [
11759
- ke(Dr, Me({
11758
+ ke(Tr, Me({
11760
11759
  ref_key: "dpMenuRef",
11761
11760
  ref: m
11762
11761
  }, J.$props, {
@@ -11806,17 +11805,17 @@ const Ep = ({
11806
11805
  }, 16))
11807
11806
  ], 10, Xp));
11808
11807
  }
11809
- }), Wl = /* @__PURE__ */ (() => {
11808
+ }), Ql = /* @__PURE__ */ (() => {
11810
11809
  const t = Kp;
11811
11810
  return t.install = (e) => {
11812
11811
  e.component("Vue3DatePicker", t);
11813
11812
  }, t;
11814
11813
  })(), Gp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11815
11814
  __proto__: null,
11816
- default: Wl
11815
+ default: Ql
11817
11816
  }, Symbol.toStringTag, { value: "Module" }));
11818
11817
  Object.entries(Gp).forEach(([t, e]) => {
11819
- t !== "default" && (Wl[t] = e);
11818
+ t !== "default" && (Ql[t] = e);
11820
11819
  });
11821
11820
  const en = Kt({ dialogs: [] });
11822
11821
  function Zp() {
@@ -11835,11 +11834,11 @@ function Zp() {
11835
11834
  };
11836
11835
  }
11837
11836
  var Jp = Object.defineProperty, ev = (t, e, a) => e in t ? Jp(t, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[e] = a, Va = (t, e, a) => ev(t, typeof e != "symbol" ? e + "" : e, a);
11838
- const Tr = {
11837
+ const Mr = {
11839
11838
  "#": { pattern: /[0-9]/ },
11840
11839
  "@": { pattern: /[a-zA-Z]/ },
11841
11840
  "*": { pattern: /[a-zA-Z0-9]/ }
11842
- }, Mr = (t, e, a) => t.replaceAll(e, "").replace(a, ".").replace("..", ".").replace(/[^.\d]/g, ""), Ar = (t, e, a) => {
11841
+ }, Ar = (t, e, a) => t.replaceAll(e, "").replace(a, ".").replace("..", ".").replace(/[^.\d]/g, ""), Pr = (t, e, a) => {
11843
11842
  var n;
11844
11843
  return new Intl.NumberFormat(((n = a.number) == null ? void 0 : n.locale) ?? "en", {
11845
11844
  minimumFractionDigits: t,
@@ -11849,27 +11848,27 @@ const Tr = {
11849
11848
  }, tv = (t, e = !0, a) => {
11850
11849
  var n, l, r, s;
11851
11850
  const o = ((n = a.number) == null ? void 0 : n.unsigned) !== !0 && t.startsWith("-") ? "-" : "", i = ((l = a.number) == null ? void 0 : l.fraction) ?? 0;
11852
- let f = Ar(0, i, a);
11853
- const m = f.formatToParts(1000.12), u = ((r = m.find((S) => S.type === "group")) == null ? void 0 : r.value) ?? " ", p = ((s = m.find((S) => S.type === "decimal")) == null ? void 0 : s.value) ?? ".", h = Mr(t, u, p);
11851
+ let f = Pr(0, i, a);
11852
+ const m = f.formatToParts(1000.12), u = ((r = m.find((S) => S.type === "group")) == null ? void 0 : r.value) ?? " ", p = ((s = m.find((S) => S.type === "decimal")) == null ? void 0 : s.value) ?? ".", h = Ar(t, u, p);
11854
11853
  if (Number.isNaN(parseFloat(h))) return o;
11855
11854
  const k = h.split(".");
11856
11855
  if (k[1] != null && k[1].length >= 1) {
11857
11856
  const S = k[1].length <= i ? k[1].length : i;
11858
- f = Ar(S, i, a);
11857
+ f = Pr(S, i, a);
11859
11858
  }
11860
11859
  let M = f.format(parseFloat(h));
11861
- return e ? i > 0 && h.endsWith(".") && !h.slice(0, -1).includes(".") && (M += p) : M = Mr(M, u, p), o + M;
11860
+ return e ? i > 0 && h.endsWith(".") && !h.slice(0, -1).includes(".") && (M += p) : M = Ar(M, u, p), o + M;
11862
11861
  };
11863
11862
  class av {
11864
11863
  constructor(e = {}) {
11865
11864
  Va(this, "opts", {}), Va(this, "memo", /* @__PURE__ */ new Map());
11866
11865
  const a = { ...e };
11867
11866
  if (a.tokens != null) {
11868
- a.tokens = a.tokensReplace ? { ...a.tokens } : { ...Tr, ...a.tokens };
11867
+ a.tokens = a.tokensReplace ? { ...a.tokens } : { ...Mr, ...a.tokens };
11869
11868
  for (const n of Object.values(a.tokens))
11870
11869
  typeof n.pattern == "string" && (n.pattern = new RegExp(n.pattern));
11871
11870
  } else
11872
- a.tokens = Tr;
11871
+ a.tokens = Mr;
11873
11872
  Array.isArray(a.mask) && (a.mask.length > 1 ? a.mask = [...a.mask].sort((n, l) => n.length - l.length) : a.mask = a.mask[0] ?? ""), a.mask === "" && (a.mask = null), this.opts = a;
11874
11873
  }
11875
11874
  masked(e) {
@@ -12257,12 +12256,12 @@ function iv(t) {
12257
12256
  return e.some(dv) && !e.some(uv);
12258
12257
  }
12259
12258
  function uv(t) {
12260
- return eo[t] !== void 0 || Ql(t) && ao[t[0]] !== void 0;
12259
+ return eo[t] !== void 0 || Hl(t) && ao[t[0]] !== void 0;
12261
12260
  }
12262
12261
  function dv(t) {
12263
- return to[t] !== void 0 || Ql(t) && no[t[0]] !== void 0;
12262
+ return to[t] !== void 0 || Hl(t) && no[t[0]] !== void 0;
12264
12263
  }
12265
- function Ql(t) {
12264
+ function Hl(t) {
12266
12265
  return /^(\w)\1*$/.test(t);
12267
12266
  }
12268
12267
  function cv(t) {
@@ -12272,14 +12271,14 @@ function cv(t) {
12272
12271
  const a = [...e.sort((s, o) => o.length - s.length)], n = [t];
12273
12272
  if (e.filter((s) => hl[s] !== void 0).forEach((s) => {
12274
12273
  const o = hl[s];
12275
- Cr(o, n, s);
12274
+ Sr(o, n, s);
12276
12275
  const i = a.indexOf(s);
12277
12276
  a.splice(i, 1);
12278
12277
  }), [...a].forEach((s) => {
12279
- if (!Ql(s))
12278
+ if (!Hl(s))
12280
12279
  throw new Error(`Invalid token format: ${s}. Tokens must be repeated characters.`);
12281
12280
  const o = s[0], i = mv(o, s.length);
12282
- Cr(i, n, s);
12281
+ Sr(i, n, s);
12283
12282
  const f = a.indexOf(s);
12284
12283
  a.splice(f, 1);
12285
12284
  }), a.length > 0)
@@ -12297,23 +12296,23 @@ function mv(t, e) {
12297
12296
  if (n === void 0)
12298
12297
  throw new Error(`Dynamic token '${t}' not found.`);
12299
12298
  if (typeof n == "string") {
12300
- const r = Pr(n, e);
12299
+ const r = Cr(n, e);
12301
12300
  a.push(r);
12302
12301
  } else Array.isArray(a) && n.forEach((l) => {
12303
- const r = Pr(l, e);
12302
+ const r = Cr(l, e);
12304
12303
  a.push(r);
12305
12304
  });
12306
12305
  return a;
12307
12306
  }
12308
- function Pr(t, e) {
12307
+ function Cr(t, e) {
12309
12308
  const a = t.startsWith("-");
12310
12309
  return a && (t = t.substring(1)), t = t.repeat(e), a && (t = `-${t}`), t;
12311
12310
  }
12312
- function Cr(t, e, a) {
12311
+ function Sr(t, e, a) {
12313
12312
  if (typeof t == "string") {
12314
12313
  const n = t;
12315
12314
  e.forEach((l, r) => {
12316
- e[r] = Sr(l, a, n);
12315
+ e[r] = qr(l, a, n);
12317
12316
  });
12318
12317
  } else if (Array.isArray(t)) {
12319
12318
  const n = t.length, l = [...e], r = l.length;
@@ -12322,11 +12321,11 @@ function Cr(t, e, a) {
12322
12321
  t.forEach((s, o) => {
12323
12322
  const i = o * r, f = i + r - 1;
12324
12323
  for (let m = i; m <= f; m++)
12325
- e[m] = Sr(e[m], a, s);
12324
+ e[m] = qr(e[m], a, s);
12326
12325
  });
12327
12326
  }
12328
12327
  }
12329
- function Sr(t, e, a) {
12328
+ function qr(t, e, a) {
12330
12329
  let n = "", l = 0, r = !1, s = "";
12331
12330
  const o = e.length;
12332
12331
  for (; l < t.length; ) {
@@ -12447,7 +12446,7 @@ const yv = ["value", "placeholder", "disabled", "readonly", "required", "onInput
12447
12446
  ke(c(Ze), Me({ class: "q-date-time-picker__input-icon" }, k.value), null, 16)
12448
12447
  ]),
12449
12448
  default: j(() => [
12450
- ke(c(Wl), {
12449
+ ke(c(Ql), {
12451
12450
  modelValue: n.value,
12452
12451
  "onUpdate:modelValue": $[0] || ($[0] = (O) => n.value = O),
12453
12452
  "model-type": l.value,
@@ -14021,7 +14020,7 @@ const ph = /* @__PURE__ */ dh(ch, [["render", mh]]), vh = _e(oh), hh = _e(ih), y
14021
14020
  showOptions: "Show options"
14022
14021
  }, hy = {
14023
14022
  ...wn,
14024
- ...xl
14023
+ ...Dl
14025
14024
  }, yy = {
14026
14025
  key: 0,
14027
14026
  class: "q-select__value"
@@ -14207,7 +14206,7 @@ const ph = /* @__PURE__ */ dh(ch, [["render", mh]]), vh = _e(oh), hh = _e(ih), y
14207
14206
  width: "anchor",
14208
14207
  "scroll-lock": "",
14209
14208
  inline: a.inline,
14210
- anchor: (re = s.value) == null ? void 0 : re.$el,
14209
+ anchor: (re = s.value) == null ? void 0 : re.fieldRef,
14211
14210
  offset: 2,
14212
14211
  onEnter: O,
14213
14212
  onLeave: Z
@@ -14289,7 +14288,7 @@ const ph = /* @__PURE__ */ dh(ch, [["render", mh]]), vh = _e(oh), hh = _e(ih), y
14289
14288
  _: 3
14290
14289
  }, 16, ["class", "aria-pressed"]));
14291
14290
  }
14292
- }), Hl = _e($y), xy = { class: "q-sidebar__items" }, Dy = /* @__PURE__ */ he({
14291
+ }), Ul = _e($y), xy = { class: "q-sidebar__items" }, Dy = /* @__PURE__ */ he({
14293
14292
  __name: "QSidebarAnchor",
14294
14293
  props: /* @__PURE__ */ qe({
14295
14294
  panels: {},
@@ -14342,7 +14341,7 @@ const ph = /* @__PURE__ */ dh(ch, [["render", mh]]), vh = _e(oh), hh = _e(ih), y
14342
14341
  class: "q-sidebar__indicator",
14343
14342
  style: Ge(r.value)
14344
14343
  }, null, 4),
14345
- (v(!0), T(be, null, Ne(f.panels, (u) => (v(), oe(c(Hl), {
14344
+ (v(!0), T(be, null, Ne(f.panels, (u) => (v(), oe(c(Ul), {
14346
14345
  key: u.id,
14347
14346
  ref_for: !0,
14348
14347
  ref_key: "itemRefs",
@@ -14391,7 +14390,7 @@ const ph = /* @__PURE__ */ dh(ch, [["render", mh]]), vh = _e(oh), hh = _e(ih), y
14391
14390
  },
14392
14391
  emits: ["resize", "resize:start", "resize:end"],
14393
14392
  setup(t, { emit: e }) {
14394
- const a = t, n = e, l = Or("panelRef"), r = U(!1);
14393
+ const a = t, n = e, l = wl("panelRef"), r = U(!1);
14395
14394
  let s = 0, o = 0;
14396
14395
  function i(p) {
14397
14396
  a.resizable && (r.value = !0, s = p.clientX, o = l.value.clientWidth, document.addEventListener("mousemove", f), document.addEventListener("mouseup", m), document.body.style.userSelect = "none", n("resize:start"));
@@ -14670,7 +14669,7 @@ const ph = /* @__PURE__ */ dh(ch, [["render", mh]]), vh = _e(oh), hh = _e(ih), y
14670
14669
  resize: e.resize,
14671
14670
  wrap: e.wrap
14672
14671
  }, f.$attrs, xo(s.value, !0)), null, 16, Ly), [
14673
- [qr, n.value]
14672
+ [Or, n.value]
14674
14673
  ])
14675
14674
  ]),
14676
14675
  _: 2
@@ -14777,7 +14776,7 @@ const ph = /* @__PURE__ */ dh(ch, [["render", mh]]), vh = _e(oh), hh = _e(ih), y
14777
14776
  throw new Error(
14778
14777
  "QToggleGroupItem: Failed to retrieve group item. Ensure the component is used within a QToggleGroup context."
14779
14778
  );
14780
- return (l, r) => (v(), oe(c(Hl), Me({
14779
+ return (l, r) => (v(), oe(c(Ul), Me({
14781
14780
  "model-value": c(n).isActive.value
14782
14781
  }, e, {
14783
14782
  "onUpdate:modelValue": c(n).toggle
@@ -14924,7 +14923,7 @@ const ph = /* @__PURE__ */ dh(ch, [["render", mh]]), vh = _e(oh), hh = _e(ih), y
14924
14923
  QTextArea: Ny,
14925
14924
  QTextField: Dn,
14926
14925
  QThemeProvider: Yy,
14927
- QToggle: Hl,
14926
+ QToggle: Ul,
14928
14927
  QToggleGroup: Qy,
14929
14928
  QToggleGroupItem: Hy,
14930
14929
  QTooltip: Ky
@@ -14935,7 +14934,7 @@ function Zy(t = {}) {
14935
14934
  for (const s in n)
14936
14935
  a.component(s, n[s]);
14937
14936
  const l = t.defaults || {};
14938
- a.provide(kl, U(l)), Jy(a, t.themes);
14937
+ a.provide($l, U(l)), Jy(a, t.themes);
14939
14938
  const r = yu();
14940
14939
  a.provide(Jr, r);
14941
14940
  } };
@@ -14960,7 +14959,7 @@ function Jy(t, e) {
14960
14959
  }
14961
14960
  if (n) {
14962
14961
  const l = U(n), r = zr(l, a);
14963
- No(a), Ce(r.name, eg, { immediate: !0 }), t.provide($l, r);
14962
+ No(a), Ce(r.name, eg, { immediate: !0 }), t.provide(xl, r);
14964
14963
  }
14965
14964
  }
14966
14965
  function eg(t) {