@solfacil/girassol 0.26.1 → 0.26.2

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.
@@ -1622,7 +1622,7 @@ function tc(e, t, n) {
1622
1622
  const de = u(P == null ? void 0 : P.schema);
1623
1623
  return de && !zn(de) && (z = gf(de, u(e)) || z), zn(z) || hn(z) || Array.isArray(z) ? z : Qs(z);
1624
1624
  });
1625
- async function ie(z) {
1625
+ async function ae(z) {
1626
1626
  var de, ye;
1627
1627
  return P != null && P.validateSchema ? (de = (await P.validateSchema(z)).results[u(e)]) !== null && de !== void 0 ? de : { valid: !0, errors: [] } : Hs(T.value, R.value, {
1628
1628
  name: u(s) || u(e),
@@ -1630,7 +1630,7 @@ function tc(e, t, n) {
1630
1630
  bails: r
1631
1631
  });
1632
1632
  }
1633
- const G = mr(async () => (D.pending = !0, D.validated = !0, ie("validated-only")), (z) => (x && (z.valid = !0, z.errors = []), L({ errors: z.errors }), D.pending = !1, z)), j = mr(async () => ie("silent"), (z) => (x && (z.valid = !0), D.valid = z.valid, z));
1633
+ const G = mr(async () => (D.pending = !0, D.validated = !0, ae("validated-only")), (z) => (x && (z.valid = !0, z.errors = []), L({ errors: z.errors }), D.pending = !1, z)), j = mr(async () => ae("silent"), (z) => (x && (z.valid = !0), D.valid = z.valid, z));
1634
1634
  function B(z) {
1635
1635
  return (z == null ? void 0 : z.mode) === "silent" ? j() : G();
1636
1636
  }
@@ -1673,7 +1673,7 @@ function tc(e, t, n) {
1673
1673
  function A(z) {
1674
1674
  T.value = z;
1675
1675
  }
1676
- function ae(z) {
1676
+ function ie(z) {
1677
1677
  L({ errors: Array.isArray(z) ? z : [z] });
1678
1678
  }
1679
1679
  const se = {
@@ -1696,7 +1696,7 @@ function tc(e, t, n) {
1696
1696
  handleBlur: X,
1697
1697
  setState: L,
1698
1698
  setTouched: m,
1699
- setErrors: ae,
1699
+ setErrors: ie,
1700
1700
  setValue: A
1701
1701
  };
1702
1702
  if (Ss(Zd, se), dt(t) && typeof u(t) != "function" && $e(t, (z, de) => {
@@ -1879,9 +1879,9 @@ oe({
1879
1879
  }, W = function(V) {
1880
1880
  T(V), t.emit("update:modelValue", s.value);
1881
1881
  }, D = O(() => {
1882
- const { validateOnInput: $, validateOnChange: V, validateOnBlur: X, validateOnModelUpdate: R } = hf(e), ie = [d, t.attrs.onBlur, X ? y : void 0].filter(Boolean), G = [(m) => h(m, $), t.attrs.onInput].filter(Boolean), j = [(m) => h(m, V), t.attrs.onChange].filter(Boolean), B = {
1882
+ const { validateOnInput: $, validateOnChange: V, validateOnBlur: X, validateOnModelUpdate: R } = hf(e), ae = [d, t.attrs.onBlur, X ? y : void 0].filter(Boolean), G = [(m) => h(m, $), t.attrs.onInput].filter(Boolean), j = [(m) => h(m, V), t.attrs.onChange].filter(Boolean), B = {
1883
1883
  name: e.name,
1884
- onBlur: ie,
1884
+ onBlur: ae,
1885
1885
  onInput: G,
1886
1886
  onChange: j
1887
1887
  };
@@ -1961,7 +1961,7 @@ function wf(e) {
1961
1961
  }, {})), x = Object.assign({}, (e == null ? void 0 : e.initialErrors) || {}), h = (t = e == null ? void 0 : e.keepValuesOnUnmount) !== null && t !== void 0 ? t : !1, { initialValues: T, originalInitialValues: W, setInitialValues: D } = jf(r, c, e == null ? void 0 : e.initialValues), L = Nf(r, c, W, I), $ = O(() => [...i, ...Ke(r.value)].reduce((U, ee) => {
1962
1962
  const ge = Fe(c, ee);
1963
1963
  return Zt(U, ee, ge), U;
1964
- }, {})), V = e == null ? void 0 : e.validationSchema, X = _o(Bt, 5), R = _o(Bt, 5), ie = mr(async (U) => await U === "silent" ? X() : R(), (U, [ee]) => {
1964
+ }, {})), V = e == null ? void 0 : e.validationSchema, X = _o(Bt, 5), R = _o(Bt, 5), ae = mr(async (U) => await U === "silent" ? X() : R(), (U, [ee]) => {
1965
1965
  const ge = E.fieldsByPath.value || {}, De = Ke(E.errorBag.value);
1966
1966
  return [
1967
1967
  .../* @__PURE__ */ new Set([...Ke(U.results), ...Ke(ge), ...De])
@@ -1992,7 +1992,7 @@ function wf(e) {
1992
1992
  setFieldError: _,
1993
1993
  setTouched: de,
1994
1994
  setFieldTouched: z,
1995
- setValues: ae,
1995
+ setValues: ie,
1996
1996
  setFieldValue: A,
1997
1997
  resetForm: ye
1998
1998
  });
@@ -2024,14 +2024,14 @@ function wf(e) {
2024
2024
  isSubmitting: l,
2025
2025
  fieldArrays: s,
2026
2026
  keepValuesOnUnmount: h,
2027
- validateSchema: u(V) ? ie : void 0,
2027
+ validateSchema: u(V) ? ae : void 0,
2028
2028
  validate: Ne,
2029
2029
  register: qe,
2030
2030
  unregister: he,
2031
2031
  setFieldErrorBag: d,
2032
2032
  validateField: ze,
2033
2033
  setFieldValue: A,
2034
- setValues: ae,
2034
+ setValues: ie,
2035
2035
  setErrors: Q,
2036
2036
  setFieldError: _,
2037
2037
  setFieldTouched: z,
@@ -2075,7 +2075,7 @@ function wf(e) {
2075
2075
  let Te = Se;
2076
2076
  !m(Ae) && Ae.type === "checkbox" && !ge && !a && (Te = Ye(fr(Fe(c, U), ee, u(Ae.uncheckedValue)))), Zt(c, U, Te);
2077
2077
  }
2078
- function ae(U) {
2078
+ function ie(U) {
2079
2079
  Ke(c).forEach((ee) => {
2080
2080
  delete c[ee];
2081
2081
  }), Ke(U).forEach((ee) => {
@@ -2105,7 +2105,7 @@ function wf(e) {
2105
2105
  function ye(U) {
2106
2106
  a = !0, b((ge) => ge.resetField());
2107
2107
  const ee = U != null && U.values ? U.values : W.value;
2108
- D(ee), ae(ee), U != null && U.touched && de(U.touched), Q((U == null ? void 0 : U.errors) || {}), o.value = (U == null ? void 0 : U.submitCount) || 0, Nt(() => {
2108
+ D(ee), ie(ee), U != null && U.touched && de(U.touched), Q((U == null ? void 0 : U.errors) || {}), o.value = (U == null ? void 0 : U.submitCount) || 0, Nt(() => {
2109
2109
  a = !1;
2110
2110
  });
2111
2111
  }
@@ -2334,14 +2334,14 @@ oe({
2334
2334
  initialTouched: e.initialTouched,
2335
2335
  validateOnMount: e.validateOnMount,
2336
2336
  keepValuesOnUnmount: a
2337
- }), D = p((R, { evt: ie }) => {
2338
- Rs(ie) && ie.target.submit();
2337
+ }), D = p((R, { evt: ae }) => {
2338
+ Rs(ae) && ae.target.submit();
2339
2339
  }, e.onInvalidSubmit), L = e.onSubmit ? p(e.onSubmit, e.onInvalidSubmit) : D;
2340
2340
  function $(R) {
2341
2341
  ro(R) && R.preventDefault(), I(), typeof t.attrs.onReset == "function" && t.attrs.onReset();
2342
2342
  }
2343
- function V(R, ie) {
2344
- return p(typeof R == "function" && !ie ? R : ie, e.onInvalidSubmit)(R);
2343
+ function V(R, ae) {
2344
+ return p(typeof R == "function" && !ae ? R : ae, e.onInvalidSubmit)(R);
2345
2345
  }
2346
2346
  function X() {
2347
2347
  return {
@@ -2376,13 +2376,13 @@ oe({
2376
2376
  validate: f,
2377
2377
  validateField: d
2378
2378
  }), function() {
2379
- const ie = e.as === "form" ? e.as : Dt(e.as), G = Za(ie, t, X);
2379
+ const ae = e.as === "form" ? e.as : Dt(e.as), G = Za(ae, t, X);
2380
2380
  if (!e.as)
2381
2381
  return G;
2382
2382
  const j = e.as === "form" ? {
2383
2383
  novalidate: !0
2384
2384
  } : {};
2385
- return Gi(ie, Object.assign(Object.assign(Object.assign({}, j), t.attrs), { onSubmit: L, onReset: $ }), G);
2385
+ return Gi(ae, Object.assign(Object.assign(Object.assign({}, j), t.attrs), { onSubmit: L, onReset: $ }), G);
2386
2386
  };
2387
2387
  }
2388
2388
  });
@@ -4007,7 +4007,7 @@ const mo = { name: "material-symbols-close-rounded", render: fy }, my = ["data-t
4007
4007
  function R() {
4008
4008
  a.value = !1, r.value = "", V();
4009
4009
  }
4010
- function ie(b) {
4010
+ function ae(b) {
4011
4011
  return (_) => b === "search" ? P.value = _ == null ? void 0 : _.input : x.value = _ == null ? void 0 : _.list;
4012
4012
  }
4013
4013
  function G() {
@@ -4075,7 +4075,7 @@ const mo = { name: "material-symbols-close-rounded", render: fy }, my = ["data-t
4075
4075
  select: p,
4076
4076
  selected: e.selected
4077
4077
  }, () => {
4078
- var A, ae, se;
4078
+ var A, ie, se;
4079
4079
  return [
4080
4080
  e.multiple && Array.isArray(u(s)) && ((A = u(s)) == null ? void 0 : A.length) ? (g(), v("div", gy, [
4081
4081
  (g(!0), v(Me, null, xe(u(s), (Z, z) => (g(), te(Bi, {
@@ -4093,7 +4093,7 @@ const mo = { name: "material-symbols-close-rounded", render: fy }, my = ["data-t
4093
4093
  class: "min-w-3xs text-left",
4094
4094
  tabindex: "-1"
4095
4095
  }, re(G()), 9, vy)),
4096
- e.multiple && Array.isArray(u(s)) && ((ae = u(s)) == null ? void 0 : ae.length) > 1 ? (g(), te(Ee, {
4096
+ e.multiple && Array.isArray(u(s)) && ((ie = u(s)) == null ? void 0 : ie.length) > 1 ? (g(), te(Ee, {
4097
4097
  key: 2,
4098
4098
  id: `select-${e.id}-clear-all`,
4099
4099
  class: "clear-button",
@@ -4136,7 +4136,7 @@ const mo = { name: "material-symbols-close-rounded", render: fy }, my = ["data-t
4136
4136
  }, [
4137
4137
  le(za, {
4138
4138
  id: `select-search-${e.id}`,
4139
- ref: ie("search"),
4139
+ ref: ae("search"),
4140
4140
  modelValue: r.value,
4141
4141
  "onUpdate:modelValue": _[0] || (_[0] = (A) => r.value = A),
4142
4142
  role: "combobox",
@@ -4153,8 +4153,8 @@ const mo = { name: "material-symbols-close-rounded", render: fy }, my = ["data-t
4153
4153
  onClick: _[1] || (_[1] = _e(() => {
4154
4154
  }, ["stop"])),
4155
4155
  onInput: _[2] || (_[2] = (A) => {
4156
- var ae;
4157
- return t("search", (ae = A.target) == null ? void 0 : ae.value);
4156
+ var ie;
4157
+ return t("search", (ie = A.target) == null ? void 0 : ie.value);
4158
4158
  })
4159
4159
  }, null, 8, ["id", "modelValue", "placeholder", "aria-expanded", "aria-owns", "aria-controls", "aria-activedescendant", "aria-labelledby"]),
4160
4160
  le(u(iy), {
@@ -4165,7 +4165,7 @@ const mo = { name: "material-symbols-close-rounded", render: fy }, my = ["data-t
4165
4165
  py,
4166
4166
  le(qm, {
4167
4167
  id: e.id,
4168
- ref: ie("list"),
4168
+ ref: ae("list"),
4169
4169
  options: u(l),
4170
4170
  name: u(o),
4171
4171
  multiple: e.multiple,
@@ -5059,11 +5059,11 @@ const sc = { name: "material-symbols-more-vert", render: VI }, RI = ["id", "data
5059
5059
  return (b = i.headers && ((N = i.headers[m]) == null ? void 0 : N.text)) != null ? b : m;
5060
5060
  }
5061
5061
  function I(m) {
5062
- var N, b, _, Q, A, ae, se, Z, z;
5062
+ var N, b, _, Q, A, ie, se, Z, z;
5063
5063
  if ((N = i.headers) != null && N[m]) {
5064
5064
  if (((_ = (b = i.headers) == null ? void 0 : b[m]) == null ? void 0 : _.width) && o.value)
5065
5065
  return `--basis-width: ${(A = (Q = i.headers) == null ? void 0 : Q[m]) == null ? void 0 : A.width}; --shrink: 0;`;
5066
- if (((se = (ae = i.headers) == null ? void 0 : ae[m]) == null ? void 0 : se.mobileWidth) && !o.value)
5066
+ if (((se = (ie = i.headers) == null ? void 0 : ie[m]) == null ? void 0 : se.mobileWidth) && !o.value)
5067
5067
  return `--basis-width: ${(z = (Z = i.headers) == null ? void 0 : Z[m]) == null ? void 0 : z.mobileWidth}; --shrink: 0;`;
5068
5068
  }
5069
5069
  }
@@ -5110,12 +5110,12 @@ const sc = { name: "material-symbols-more-vert", render: VI }, RI = ["id", "data
5110
5110
  }
5111
5111
  return !1;
5112
5112
  }
5113
- function ie(m) {
5113
+ function ae(m) {
5114
5114
  X.value = m, n("listitem:selected", m), n("update:selected", X.value);
5115
5115
  }
5116
5116
  function G(m) {
5117
- const N = i.dataIdentifier.key, b = m[N], _ = Array.isArray(X.value) ? X.value : [], Q = R(m) ? _ == null ? void 0 : _.filter((A) => A[N] !== b) : [...X.value, m];
5118
- X.value = Q, n("listitem:selected", m), n("update:selected", X.value);
5117
+ const N = i.dataIdentifier.key, b = m[N], _ = Array.isArray(X.value) ? X.value : [], Q = _.concat(m), A = R(m) ? _ == null ? void 0 : _.filter((ie) => ie[N] !== b) : Q;
5118
+ X.value = A, n("listitem:selected", m), n("update:selected", X.value);
5119
5119
  }
5120
5120
  function j() {
5121
5121
  const m = Object.keys(i.data[0]).includes(i.dataIdentifier.key);
@@ -5159,11 +5159,11 @@ const sc = { name: "material-symbols-more-vert", render: VI }, RI = ["id", "data
5159
5159
  "onListitem:click": (Q) => n("listitem:click", { ...b, index: _ })
5160
5160
  }, nt({
5161
5161
  selectable: J(({ data: Q, label: A }) => {
5162
- var ae, se, Z, z, de, ye;
5162
+ var ie, se, Z, z, de, ye;
5163
5163
  return [
5164
5164
  e.selectMode === "checkbox" ? (g(), te(on, {
5165
5165
  key: 0,
5166
- id: `listitem-${Q[(ae = e.dataIdentifier) == null ? void 0 : ae.key]}`,
5166
+ id: `listitem-${Q[(ie = e.dataIdentifier) == null ? void 0 : ie.key]}`,
5167
5167
  "hide-label": !0,
5168
5168
  label: A,
5169
5169
  checked: R(b),
@@ -5179,7 +5179,7 @@ const sc = { name: "material-symbols-more-vert", render: VI }, RI = ["id", "data
5179
5179
  checked: R(b),
5180
5180
  value: `${Q[(de = e.dataIdentifier) == null ? void 0 : de.key]}`,
5181
5181
  name: (ye = e.dataIdentifier.inputName) != null ? ye : e.id,
5182
- onChange: (Ie) => ie(Q)
5182
+ onChange: (Ie) => ae(Q)
5183
5183
  }, null, 8, ["id", "label", "checked", "value", "name", "onChange"])) : k("", !0)
5184
5184
  ];
5185
5185
  }),
@@ -5189,12 +5189,12 @@ const sc = { name: "material-symbols-more-vert", render: VI }, RI = ["id", "data
5189
5189
  id: `listitem-${e.id}-${_}`,
5190
5190
  position: "left"
5191
5191
  }, {
5192
- trigger: J(({ arias: ae, id: se, toggle: Z }) => [
5192
+ trigger: J(({ arias: ie, id: se, toggle: Z }) => [
5193
5193
  le(Ee, {
5194
5194
  id: se,
5195
- "aria-haspopup": ae.ariaHaspopup,
5196
- "aria-expanded": ae.ariaExpanded,
5197
- role: ae.role,
5195
+ "aria-haspopup": ie.ariaHaspopup,
5196
+ "aria-expanded": ie.ariaExpanded,
5197
+ role: ie.role,
5198
5198
  size: "small",
5199
5199
  variant: "tertiary",
5200
5200
  "aria-label": Q.ariaLabel,
@@ -5228,10 +5228,10 @@ const sc = { name: "material-symbols-more-vert", render: VI }, RI = ["id", "data
5228
5228
  } : void 0,
5229
5229
  xe(b, (Q, A) => ({
5230
5230
  name: `column:${A}`,
5231
- fn: J((ae) => [
5231
+ fn: J((ie) => [
5232
5232
  Y(m.$slots, `column:${A}`, {
5233
- data: ae.data,
5234
- index: ae.index,
5233
+ data: ie.data,
5234
+ index: ie.index,
5235
5235
  columnIndex: _,
5236
5236
  renderHeader: d,
5237
5237
  headers: e.headers
@@ -5240,24 +5240,24 @@ const sc = { name: "material-symbols-more-vert", render: VI }, RI = ["id", "data
5240
5240
  })),
5241
5241
  xe(b, (Q, A) => ({
5242
5242
  name: `header:${A}`,
5243
- fn: J((ae) => [
5243
+ fn: J((ie) => [
5244
5244
  Y(m.$slots, `header:${A}`, {
5245
- data: ae.data,
5246
- index: ae.index,
5247
- columnIndex: ae.columnIndex,
5248
- renderHeader: ae.renderHeader,
5249
- headers: ae.headers
5245
+ data: ie.data,
5246
+ index: ie.index,
5247
+ columnIndex: ie.columnIndex,
5248
+ renderHeader: ie.renderHeader,
5249
+ headers: ie.headers
5250
5250
  })
5251
5251
  ])
5252
5252
  })),
5253
5253
  xe(b, (Q, A) => ({
5254
5254
  name: `value:${A}`,
5255
- fn: J((ae) => [
5255
+ fn: J((ie) => [
5256
5256
  Y(m.$slots, `value:${A}`, {
5257
- data: ae.data,
5258
- index: ae.index,
5259
- columnIndex: ae.columnIndex,
5260
- isHighlight: ae.isHighlight
5257
+ data: ie.data,
5258
+ index: ie.index,
5259
+ columnIndex: ie.columnIndex,
5260
+ isHighlight: ie.isHighlight
5261
5261
  })
5262
5262
  ])
5263
5263
  }))
@@ -5729,14 +5729,14 @@ const yo = { name: "material-symbols-chevron-left-rounded", render: N0 }, j0 = [
5729
5729
  function R() {
5730
5730
  c.value = 0;
5731
5731
  }
5732
- function ie() {
5732
+ function ae() {
5733
5733
  document.documentElement.style.setProperty(
5734
5734
  "--viewport-100vh",
5735
5735
  `${window.innerHeight}px`
5736
5736
  );
5737
5737
  }
5738
5738
  function G(E) {
5739
- ie(), p.value = !!E, E ? setTimeout(() => I.value = !0, 90) : I.value = !1;
5739
+ ae(), p.value = !!E, E ? setTimeout(() => I.value = !0, 90) : I.value = !1;
5740
5740
  }
5741
5741
  function j(E, m) {
5742
5742
  E && setTimeout(() => {
@@ -7476,7 +7476,7 @@ function En(e, t, n) {
7476
7476
  var X = we(e);
7477
7477
  if (!_n(X))
7478
7478
  throw new RangeError("Invalid time value");
7479
- var R = Hi(X), ie = gc(X, R), G = {
7479
+ var R = Hi(X), ae = gc(X, R), G = {
7480
7480
  firstWeekContainsDate: $,
7481
7481
  weekStartsOn: V,
7482
7482
  locale: L,
@@ -7496,7 +7496,7 @@ function En(e, t, n) {
7496
7496
  return dv(B);
7497
7497
  var m = vg[E];
7498
7498
  if (m)
7499
- return !(n != null && n.useAdditionalWeekYearTokens) && wc(B) && Fi(B, t, String(e)), !(n != null && n.useAdditionalDayOfYearTokens) && bc(B) && Fi(B, t, String(e)), m(ie, B, L.localize, G);
7499
+ return !(n != null && n.useAdditionalWeekYearTokens) && wc(B) && Fi(B, t, String(e)), !(n != null && n.useAdditionalDayOfYearTokens) && bc(B) && Fi(B, t, String(e)), m(ae, B, L.localize, G);
7500
7500
  if (E.match(cv))
7501
7501
  throw new RangeError("Format string contains an unescaped latin alphabet character `" + E + "`");
7502
7502
  return B;
@@ -11526,7 +11526,7 @@ function Hl(e, t, n, i) {
11526
11526
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
11527
11527
  if (L === "")
11528
11528
  return D === "" ? we(n) : new Date(NaN);
11529
- var ie = {
11529
+ var ae = {
11530
11530
  firstWeekContainsDate: X,
11531
11531
  weekStartsOn: R,
11532
11532
  locale: V
@@ -11557,7 +11557,7 @@ function Hl(e, t, n, i) {
11557
11557
  token: ke,
11558
11558
  fullToken: Ie
11559
11559
  });
11560
- var ze = qe.run(D, Ie, V.match, ie);
11560
+ var ze = qe.run(D, Ie, V.match, ae);
11561
11561
  if (!ze)
11562
11562
  return {
11563
11563
  v: new Date(NaN)
@@ -11603,14 +11603,14 @@ function Hl(e, t, n, i) {
11603
11603
  }), Q = we(n);
11604
11604
  if (isNaN(Q.getTime()))
11605
11605
  return new Date(NaN);
11606
- var A = gc(Q, Hi(Q)), ae = {}, se = os(_), Z;
11606
+ var A = gc(Q, Hi(Q)), ie = {}, se = os(_), Z;
11607
11607
  try {
11608
11608
  for (se.s(); !(Z = se.n()).done; ) {
11609
11609
  var z = Z.value;
11610
- if (!z.validate(A, ie))
11610
+ if (!z.validate(A, ae))
11611
11611
  return new Date(NaN);
11612
- var de = z.set(A, ae, ie);
11613
- Array.isArray(de) ? (A = de[0], fv(ae, de[1])) : A = de;
11612
+ var de = z.set(A, ie, ae);
11613
+ Array.isArray(de) ? (A = de[0], fv(ie, de[1])) : A = de;
11614
11614
  }
11615
11615
  } catch (ye) {
11616
11616
  se.e(ye);
@@ -12454,8 +12454,8 @@ const Mw = (e, t = 3) => {
12454
12454
  var N;
12455
12455
  return (N = e.hideNavigation) == null ? void 0 : N.includes(m);
12456
12456
  }), y = (m) => {
12457
- const N = e.maxDate ? yt(o(m), o(K(e.maxDate))) : !1, b = e.minDate ? lt(o(m), o(K(e.minDate))) : !1, _ = P(m, e.disabledDates), Q = n.value.filters.months.map((z) => +z).includes(Be(m)), A = e.disabledWeekDays.length ? e.disabledWeekDays.some((z) => +z === mv(m)) : !1, ae = e.allowedDates.length ? !e.allowedDates.some((z) => Ve(o(K(z)), o(m))) : !1, se = Ue(m), Z = se < +e.yearRange[0] || se > +e.yearRange[1];
12458
- return !(N || b || _ || Q || Z || A || ae);
12457
+ const N = e.maxDate ? yt(o(m), o(K(e.maxDate))) : !1, b = e.minDate ? lt(o(m), o(K(e.minDate))) : !1, _ = P(m, e.disabledDates), Q = n.value.filters.months.map((z) => +z).includes(Be(m)), A = e.disabledWeekDays.length ? e.disabledWeekDays.some((z) => +z === mv(m)) : !1, ie = e.allowedDates.length ? !e.allowedDates.some((z) => Ve(o(K(z)), o(m))) : !1, se = Ue(m), Z = se < +e.yearRange[0] || se > +e.yearRange[1];
12458
+ return !(N || b || _ || Q || Z || A || ie);
12459
12459
  }, f = (m) => {
12460
12460
  const N = {
12461
12461
  hours: Et(K()),
@@ -12496,26 +12496,26 @@ const Mw = (e, t = 3) => {
12496
12496
  }, R = (m, N) => {
12497
12497
  const b = K(JSON.parse(JSON.stringify(m))), _ = [];
12498
12498
  for (let Q = 0; Q < 7; Q++) {
12499
- const A = Rt(b, Q), ae = Be(A) !== N;
12499
+ const A = Rt(b, Q), ie = Be(A) !== N;
12500
12500
  _.push({
12501
- text: e.hideOffsetDates && ae ? "" : A.getDate(),
12501
+ text: e.hideOffsetDates && ie ? "" : A.getDate(),
12502
12502
  value: A,
12503
- current: !ae,
12503
+ current: !ie,
12504
12504
  classData: {}
12505
12505
  });
12506
12506
  }
12507
12507
  return _;
12508
- }, ie = (m, N) => {
12509
- const b = [], _ = K(o(new Date(N, m))), Q = K(o(new Date(N, m + 1, 0))), A = _r(_, { weekStartsOn: e.weekStart }), ae = (se) => {
12508
+ }, ae = (m, N) => {
12509
+ const b = [], _ = K(o(new Date(N, m))), Q = K(o(new Date(N, m + 1, 0))), A = _r(_, { weekStartsOn: e.weekStart }), ie = (se) => {
12510
12510
  const Z = R(se, m);
12511
12511
  if (b.push({ days: Z }), !b[b.length - 1].days.some(
12512
12512
  (z) => Ve(Pt(z.value), Pt(Q))
12513
12513
  )) {
12514
12514
  const z = Rt(se, 7);
12515
- ae(z);
12515
+ ie(z);
12516
12516
  }
12517
12517
  };
12518
- if (ae(A), e.sixWeeks && b.length < 6) {
12518
+ if (ie(A), e.sixWeeks && b.length < 6) {
12519
12519
  const se = 6 - b.length;
12520
12520
  for (let Z = 1; Z <= se; Z++) {
12521
12521
  const z = b[b.length - 1], de = z.days[z.days.length - 1], ye = R(Rt(de.value, 1), Be(_));
@@ -12543,7 +12543,7 @@ const Mw = (e, t = 3) => {
12543
12543
  matchDate: P,
12544
12544
  setDateMonthOrYear: x,
12545
12545
  isValidTime: X,
12546
- getCalendarDays: ie,
12546
+ getCalendarDays: ae,
12547
12547
  validateMonthYearInRange: (m, N, b, _) => {
12548
12548
  let Q = !1;
12549
12549
  return _ ? e.minDate && e.maxDate ? Q = E(m, N, b) : (e.minDate && j(m, N) || e.maxDate && B(m, N)) && (Q = !0) : Q = !0, Q;
@@ -12657,7 +12657,7 @@ const Mw = (e, t = 3) => {
12657
12657
  if (e.timePicker)
12658
12658
  return R();
12659
12659
  if (e.monthPicker && !e.range)
12660
- return ie();
12660
+ return ae();
12661
12661
  if (e.yearPicker && !e.range)
12662
12662
  return G();
12663
12663
  if (f.value.multiCalendars)
@@ -12697,7 +12697,7 @@ const Mw = (e, t = 3) => {
12697
12697
  bt(K(), w[1], q[1], j(!1))
12698
12698
  ];
12699
12699
  }
12700
- }, ie = () => {
12700
+ }, ae = () => {
12701
12701
  d.value = c(K(), C.value(0), P.value(0));
12702
12702
  }, G = () => {
12703
12703
  d.value = K();
@@ -12749,7 +12749,7 @@ const Mw = (e, t = 3) => {
12749
12749
  return Re <= +e.maxRange;
12750
12750
  }
12751
12751
  return !0;
12752
- }, ae = (w) => Array.isArray(d.value) && d.value.length === 2 ? e.fixedStart && (yt(w, d.value[0]) || Ve(w, d.value[0])) ? [d.value[0], w] : e.fixedEnd && (lt(w, d.value[1]) || Ve(w, d.value[1])) ? [w, d.value[1]] : d.value : [], se = () => {
12752
+ }, ie = (w) => Array.isArray(d.value) && d.value.length === 2 ? e.fixedStart && (yt(w, d.value[0]) || Ve(w, d.value[0])) ? [d.value[0], w] : e.fixedEnd && (lt(w, d.value[1]) || Ve(w, d.value[1])) ? [w, d.value[1]] : d.value : [], se = () => {
12753
12753
  e.autoApply && x.value && t("auto-apply");
12754
12754
  }, Z = () => {
12755
12755
  e.autoApply && t("select-date");
@@ -12762,7 +12762,7 @@ const Mw = (e, t = 3) => {
12762
12762
  const ue = [K(w.value), Rt(K(w.value), +e.autoRange)];
12763
12763
  z(ue) && (q && b(w.value), I.value = ue);
12764
12764
  }, qe = (w) => {
12765
- I.value = ae(K(w.value));
12765
+ I.value = ie(K(w.value));
12766
12766
  }, he = (w) => e.noDisabledRange ? Q(I.value[0], w).some((q) => l(q)) : !1, Ne = (w, q) => {
12767
12767
  if (Ie(), e.autoRange)
12768
12768
  return ke(w, q);
@@ -12883,11 +12883,11 @@ const Mw = (e, t = 3) => {
12883
12883
  e("internal-model-change", i.value);
12884
12884
  });
12885
12885
  const M = (A) => {
12886
- const ae = A || K();
12886
+ const ie = A || K();
12887
12887
  return {
12888
- hours: Et(ae),
12889
- minutes: $t(ae),
12890
- seconds: t.enableSeconds ? jn(ae) : 0
12888
+ hours: Et(ie),
12889
+ minutes: $t(ie),
12890
+ seconds: t.enableSeconds ? jn(ie) : 0
12891
12891
  };
12892
12892
  }, p = (A) => ({ month: Be(A), year: Ue(A) }), C = (A) => Array.isArray(A) ? s(() => [
12893
12893
  ln(K(), A[0]),
@@ -12900,7 +12900,7 @@ const Mw = (e, t = 3) => {
12900
12900
  A[1] ? f(null, +A[1].month, +A[1].year) : c()
12901
12901
  ]) : f(null, +A.month, +A.year), h = (A) => {
12902
12902
  if (Array.isArray(A))
12903
- return A.map((ae) => m(ae));
12903
+ return A.map((ie) => m(ie));
12904
12904
  throw new Error(Pa.dateArr("multi-dates"));
12905
12905
  }, T = (A) => {
12906
12906
  if (Array.isArray(A))
@@ -12917,28 +12917,28 @@ const Mw = (e, t = 3) => {
12917
12917
  N(A[0]),
12918
12918
  A[1] ? N(A[1]) : c()
12919
12919
  ];
12920
- }, $ = () => i.value[1] ? L() : N(rt(i.value[0])), V = () => (i.value || []).map((A) => N(A)), X = () => (D(), t.modelAuto ? $() : t.multiDates ? V() : Array.isArray(i.value) ? s(() => L()) : N(rt(i.value))), R = (A) => A ? t.timePicker ? P(rt(A)) : t.monthPicker ? x(rt(A)) : t.yearPicker ? C(rt(A)) : t.multiDates ? h(rt(A)) : t.weekPicker ? T(rt(A)) : W(rt(A)) : null, ie = (A) => {
12921
- const ae = R(A);
12922
- y(rt(ae)) ? (i.value = rt(ae), E()) : (i.value = null, I.value = "");
12920
+ }, $ = () => i.value[1] ? L() : N(rt(i.value[0])), V = () => (i.value || []).map((A) => N(A)), X = () => (D(), t.modelAuto ? $() : t.multiDates ? V() : Array.isArray(i.value) ? s(() => L()) : N(rt(i.value))), R = (A) => A ? t.timePicker ? P(rt(A)) : t.monthPicker ? x(rt(A)) : t.yearPicker ? C(rt(A)) : t.multiDates ? h(rt(A)) : t.weekPicker ? T(rt(A)) : W(rt(A)) : null, ae = (A) => {
12921
+ const ie = R(A);
12922
+ y(rt(ie)) ? (i.value = rt(ie), E()) : (i.value = null, I.value = "");
12923
12923
  }, G = () => {
12924
12924
  var A;
12925
- const ae = (se) => {
12925
+ const ie = (se) => {
12926
12926
  var Z;
12927
12927
  return En(se, (Z = d.value.textInputOptions) == null ? void 0 : Z.format);
12928
12928
  };
12929
- return `${ae(i.value[0])} ${(A = d.value.textInputOptions) == null ? void 0 : A.rangeSeparator} ${i.value[1] ? ae(i.value[1]) : ""}`;
12929
+ return `${ie(i.value[0])} ${(A = d.value.textInputOptions) == null ? void 0 : A.rangeSeparator} ${i.value[1] ? ie(i.value[1]) : ""}`;
12930
12930
  }, j = () => {
12931
12931
  var A;
12932
12932
  return n.value && i.value ? Array.isArray(i.value) ? G() : En(i.value, (A = d.value.textInputOptions) == null ? void 0 : A.format) : l(i.value);
12933
12933
  }, B = () => {
12934
12934
  var A;
12935
- return i.value ? t.multiDates ? i.value.map((ae) => l(ae)).join("; ") : t.textInput && typeof ((A = d.value.textInputOptions) == null ? void 0 : A.format) == "string" ? j() : l(i.value) : "";
12935
+ return i.value ? t.multiDates ? i.value.map((ie) => l(ie)).join("; ") : t.textInput && typeof ((A = d.value.textInputOptions) == null ? void 0 : A.format) == "string" ? j() : l(i.value) : "";
12936
12936
  }, E = () => {
12937
12937
  !t.format || typeof t.format == "string" ? I.value = B() : I.value = t.format(i.value);
12938
12938
  }, m = (A) => {
12939
12939
  if (t.utc) {
12940
- const ae = new Date(A);
12941
- return t.utc === "preserve" ? new Date(ae.getTime() + ae.getTimezoneOffset() * 6e4) : ae;
12940
+ const ie = new Date(A);
12941
+ return t.utc === "preserve" ? new Date(ie.getTime() + ie.getTimezoneOffset() * 6e4) : ie;
12942
12942
  }
12943
12943
  return t.modelType ? t.modelType === "date" || t.modelType === "timestamp" ? r(new Date(A)) : t.modelType === "format" && (typeof t.format == "string" || !t.format) ? Hl(A, o(), new Date()) : r(Hl(A, t.modelType, new Date())) : r(new Date(A));
12944
12944
  }, N = (A) => t.utc ? Wb(A, t.utc === "preserve") : t.modelType ? t.modelType === "timestamp" ? +a(A) : t.modelType === "format" && (typeof t.format == "string" || !t.format) ? l(a(A)) : l(a(A), t.modelType) : a(A), b = (A) => {
@@ -12951,7 +12951,7 @@ const Mw = (e, t = 3) => {
12951
12951
  inputValue: I,
12952
12952
  internalModelValue: i,
12953
12953
  checkBeforeEmit: () => i.value ? t.range ? t.partialRange ? i.value.length >= 1 : i.value.length === 2 : !!i.value : !1,
12954
- parseExternalModelValue: ie,
12954
+ parseExternalModelValue: ae,
12955
12955
  formatInputValue: E,
12956
12956
  emitModelValue: () => (E(), t.monthPicker ? Q(p) : t.timePicker ? Q(M) : t.yearPicker ? Q(Ue) : t.weekPicker ? b(i.value) : b(X()))
12957
12957
  };
@@ -13029,22 +13029,22 @@ const Pw = (e, t, n, i) => {
13029
13029
  }) => {
13030
13030
  window.screen.width > 768 && f(V, X), T(L, $);
13031
13031
  }, x = (L, $) => {
13032
- const { top: V, left: X, height: R, width: ie } = d(L);
13033
- a.value.top = `${R + V + +i.offset}px`, P({ inputEl: L, menuEl: $, left: X, width: ie }), r.value = !1;
13032
+ const { top: V, left: X, height: R, width: ae } = d(L);
13033
+ a.value.top = `${R + V + +i.offset}px`, P({ inputEl: L, menuEl: $, left: X, width: ae }), r.value = !1;
13034
13034
  }, h = (L, $) => {
13035
- const { top: V, left: X, width: R } = d(L), { height: ie } = $.getBoundingClientRect();
13036
- a.value.top = `${V - ie - +i.offset}px`, P({ inputEl: L, menuEl: $, left: X, width: R }), r.value = !0;
13035
+ const { top: V, left: X, width: R } = d(L), { height: ae } = $.getBoundingClientRect();
13036
+ a.value.top = `${V - ae - +i.offset}px`, P({ inputEl: L, menuEl: $, left: X, width: R }), r.value = !0;
13037
13037
  }, T = (L, $) => {
13038
13038
  if (i.autoPosition) {
13039
- const { left: V, width: X } = d(L), { left: R, right: ie } = $.getBoundingClientRect();
13039
+ const { left: V, width: X } = d(L), { left: R, right: ae } = $.getBoundingClientRect();
13040
13040
  if (R < 0)
13041
13041
  return y(V);
13042
- if (ie > document.documentElement.clientWidth)
13042
+ if (ae > document.documentElement.clientWidth)
13043
13043
  return c(V, X);
13044
13044
  }
13045
13045
  }, W = (L, $) => {
13046
- const { height: V } = $.getBoundingClientRect(), { top: X, height: R } = L.getBoundingClientRect(), ie = window.innerHeight - X - R, G = X;
13047
- return V <= ie ? x(L, $) : V > ie && V <= G ? h(L, $) : ie >= G ? x(L, $) : h(L, $);
13046
+ const { height: V } = $.getBoundingClientRect(), { top: X, height: R } = L.getBoundingClientRect(), ae = window.innerHeight - X - R, G = X;
13047
+ return V <= ae ? x(L, $) : V > ae && V <= G ? h(L, $) : ae >= G ? x(L, $) : h(L, $);
13048
13048
  }, D = () => {
13049
13049
  const L = it(t), $ = it(e);
13050
13050
  if (L && $)
@@ -13555,7 +13555,7 @@ const Pw = (e, t, n, i) => {
13555
13555
  }, R = () => {
13556
13556
  const j = i.vertical ? "Y" : "X";
13557
13557
  Math.abs(I.value[`start${j}`] - I.value[`end${j}`]) > 10 && n("handle-swipe", I.value[`start${j}`] > I.value[`end${j}`] ? "right" : "left");
13558
- }, ie = (j, B, E) => {
13558
+ }, ae = (j, B, E) => {
13559
13559
  j && (Array.isArray(c.value[B]) ? c.value[B][E] = j : c.value[B] = [j]), i.arrowNavigation && a(c.value, "calendar");
13560
13560
  }, G = (j) => {
13561
13561
  i.monthChangeOnScroll && (j.preventDefault(), n("handle-scroll", j));
@@ -13617,16 +13617,16 @@ const Pw = (e, t, n, i) => {
13617
13617
  S("div", qw, re(e.getWeekNum(N.days)), 1)
13618
13618
  ])) : k("", !0),
13619
13619
  (g(!0), v(Me, null, xe(N.days, (_, Q) => {
13620
- var A, ae, se;
13620
+ var A, ie, se;
13621
13621
  return g(), v("div", {
13622
13622
  role: "gridcell",
13623
13623
  class: "dp__calendar_item",
13624
13624
  ref_for: !0,
13625
- ref: (Z) => ie(Z, b, Q),
13625
+ ref: (Z) => ae(Z, b, Q),
13626
13626
  key: Q + b,
13627
13627
  "aria-selected": _.classData.dp__active_date || _.classData.dp__range_start || _.classData.dp__range_start,
13628
13628
  "aria-disabled": _.classData.dp__cell_disabled,
13629
- "aria-label": (ae = (A = u(l).ariaLabels) == null ? void 0 : A.day) == null ? void 0 : ae.call(A, _),
13629
+ "aria-label": (ie = (A = u(l).ariaLabels) == null ? void 0 : A.day) == null ? void 0 : ie.call(A, _),
13630
13630
  tabindex: "0",
13631
13631
  "data-test": _.value,
13632
13632
  onClick: _e((Z) => j.$emit("select-date", _), ["stop", "prevent"]),
@@ -13832,7 +13832,7 @@ const Pw = (e, t, n, i) => {
13832
13832
  n("toggle"), n("reset-flow");
13833
13833
  }, R = () => {
13834
13834
  i.escClose && X();
13835
- }, ie = (j, B, E, m) => {
13835
+ }, ae = (j, B, E, m) => {
13836
13836
  j && (B.value === +i.modelValue && !i.disabledValues.includes(B.value) && (c.value = j), i.arrowNavigation && (Array.isArray(f.value[E]) ? f.value[E][m] = j : f.value[E] = [j], G()));
13837
13837
  }, G = () => {
13838
13838
  var j, B;
@@ -13869,7 +13869,7 @@ const Pw = (e, t, n, i) => {
13869
13869
  "aria-selected": b.value === e.modelValue && !e.disabledValues.includes(b.value),
13870
13870
  "aria-disabled": b.className.dp__overlay_cell_disabled,
13871
13871
  ref_for: !0,
13872
- ref: (Q) => ie(Q, b, N, _),
13872
+ ref: (Q) => ae(Q, b, N, _),
13873
13873
  tabindex: "0",
13874
13874
  "data-test": b.text,
13875
13875
  onClick: (Q) => $(b.value),
@@ -14067,7 +14067,7 @@ const Pw = (e, t, n, i) => {
14067
14067
  return Be(K(i.minDate));
14068
14068
  }
14069
14069
  return null;
14070
- }), R = O(() => i.maxDate && V.value ? V.value < i.year ? -1 : V.value === i.year ? Be(K(i.maxDate)) : null : null), ie = O(() => i.range && i.internalModelValue && (i.monthPicker || i.yearPicker) ? i.internalModelValue : []), G = (Z) => Z.reverse(), j = (Z, z = !1) => {
14070
+ }), R = O(() => i.maxDate && V.value ? V.value < i.year ? -1 : V.value === i.year ? Be(K(i.maxDate)) : null : null), ae = O(() => i.range && i.internalModelValue && (i.monthPicker || i.yearPicker) ? i.internalModelValue : []), G = (Z) => Z.reverse(), j = (Z, z = !1) => {
14071
14071
  const de = [], ye = (Ie) => z ? G(Ie) : Ie;
14072
14072
  for (let Ie = 0; Ie < Z.length; Ie += 3) {
14073
14073
  const ke = [Z[Ie], Z[Ie + 1], Z[Ie + 2]];
@@ -14080,7 +14080,7 @@ const Pw = (e, t, n, i) => {
14080
14080
  A(Z), d.value = !d.value, d.value || n("overlay-closed");
14081
14081
  }, A = (Z) => {
14082
14082
  Z || n("reset-flow");
14083
- }, ae = (Z = !1) => {
14083
+ }, ie = (Z = !1) => {
14084
14084
  c.value(Z) || n("update-month-year", {
14085
14085
  year: Z ? i.year + 1 : i.year - 1,
14086
14086
  month: i.month,
@@ -14247,7 +14247,7 @@ const Pw = (e, t, n, i) => {
14247
14247
  Z.monthPicker ? (g(), te(Gn, Ze({ key: 1 }, u(D)("month"), {
14248
14248
  "skip-active": Z.range,
14249
14249
  year: e.year,
14250
- "multi-model-value": u(ie),
14250
+ "multi-model-value": u(ae),
14251
14251
  "month-picker": "",
14252
14252
  modelValue: u(x),
14253
14253
  "onUpdate:modelValue": z[17] || (z[17] = (he) => dt(x) ? x.value = he : null),
@@ -14263,8 +14263,8 @@ const Pw = (e, t, n, i) => {
14263
14263
  tabindex: "0",
14264
14264
  ref_key: "mpPrevIconRef",
14265
14265
  ref: M,
14266
- onClick: z[9] || (z[9] = (Le) => ae(!1)),
14267
- onKeydown: z[10] || (z[10] = me((Le) => ae(!1), ["enter"]))
14266
+ onClick: z[9] || (z[9] = (Le) => ie(!1)),
14267
+ onKeydown: z[10] || (z[10] = me((Le) => ie(!1), ["enter"]))
14268
14268
  }, [
14269
14269
  S("div", {
14270
14270
  class: ne(["dp__inner_nav", { dp__inner_nav_disabled: u(c)(!1) }]),
@@ -14298,8 +14298,8 @@ const Pw = (e, t, n, i) => {
14298
14298
  tabindex: "0",
14299
14299
  ref_key: "mpNextIconRef",
14300
14300
  ref: C,
14301
- onClick: z[13] || (z[13] = (Le) => ae(!0)),
14302
- onKeydown: z[14] || (z[14] = me((Le) => ae(!0), ["enter"]))
14301
+ onClick: z[13] || (z[13] = (Le) => ie(!0)),
14302
+ onKeydown: z[14] || (z[14] = me((Le) => ie(!0), ["enter"]))
14303
14303
  }, [
14304
14304
  S("div", {
14305
14305
  class: ne(["dp__inner_nav", { dp__inner_nav_disabled: u(c)(!0) }]),
@@ -14360,7 +14360,7 @@ const Pw = (e, t, n, i) => {
14360
14360
  Z.yearPicker ? (g(), te(Gn, Ze({ key: 2 }, u(D)("year"), {
14361
14361
  modelValue: u(h),
14362
14362
  "onUpdate:modelValue": z[19] || (z[19] = (he) => dt(h) ? h.value = he : null),
14363
- "multi-model-value": u(ie),
14363
+ "multi-model-value": u(ae),
14364
14364
  "skip-active": Z.range,
14365
14365
  "skip-button-ref": "",
14366
14366
  "year-picker": "",
@@ -14457,7 +14457,7 @@ const Pw = (e, t, n, i) => {
14457
14457
  );
14458
14458
  r(i.closeTimePickerBtn), f.value && (E[1] = E[1].concat(f.value)), a(E, i.order);
14459
14459
  }
14460
- }, ie = (G, j) => G === "hours" && !i.is24 ? n(`update:${G}`, y.value === "PM" ? j + 12 : j) : n(`update:${G}`, j);
14460
+ }, ae = (G, j) => G === "hours" && !i.is24 ? n(`update:${G}`, y.value === "PM" ? j + 12 : j) : n(`update:${G}`, j);
14461
14461
  return t({ openChildCmp: X }), (G, j) => {
14462
14462
  var B;
14463
14463
  return G.disabled ? k("", !0) : (g(), v("div", IN, [
@@ -14562,7 +14562,7 @@ const Pw = (e, t, n, i) => {
14562
14562
  "esc-close": G.escClose,
14563
14563
  "aria-labels": u(l).ariaLabels,
14564
14564
  "hide-navigation": G.hideNavigation,
14565
- "onUpdate:modelValue": (N) => ie(E.type, N),
14565
+ "onUpdate:modelValue": (N) => ae(E.type, N),
14566
14566
  onSelected: (N) => W(E.type),
14567
14567
  onToggle: (N) => W(E.type),
14568
14568
  onResetFlow: j[0] || (j[0] = (N) => G.$emit("reset-flow")),
@@ -14623,19 +14623,19 @@ const Pw = (e, t, n, i) => {
14623
14623
  }), x = O(() => {
14624
14624
  const R = [];
14625
14625
  if (i.range)
14626
- for (let ie = 0; ie < 2; ie++)
14627
- R.push(P(ie));
14626
+ for (let ae = 0; ae < 2; ae++)
14627
+ R.push(P(ae));
14628
14628
  else
14629
14629
  R.push(P(0));
14630
14630
  return R;
14631
- }), h = (R, ie = !1, G = "") => {
14632
- ie || n("reset-flow"), C.value = R, i.arrowNavigation && (r(R), R || n("overlay-closed")), Nt(() => {
14631
+ }), h = (R, ae = !1, G = "") => {
14632
+ ae || n("reset-flow"), C.value = R, i.arrowNavigation && (r(R), R || n("overlay-closed")), Nt(() => {
14633
14633
  G !== "" && I.value[0] && I.value[0].openChildCmp(G);
14634
14634
  });
14635
14635
  }, T = O(() => ({
14636
14636
  dp__button: !0,
14637
14637
  dp__button_bottom: i.autoApply
14638
- })), W = rn(l, "timePicker"), D = (R, ie, G) => i.range ? ie === 0 ? [R, x.value[1][G]] : [x.value[0][G], R] : R, L = (R) => {
14638
+ })), W = rn(l, "timePicker"), D = (R, ae, G) => i.range ? ae === 0 ? [R, x.value[1][G]] : [x.value[0][G], R] : R, L = (R) => {
14639
14639
  n("update:hours", R);
14640
14640
  }, $ = (R) => {
14641
14641
  n("update:minutes", R);
@@ -14644,7 +14644,7 @@ const Pw = (e, t, n, i) => {
14644
14644
  }, X = () => {
14645
14645
  M.value && i.arrowNavigation && M.value.focus({ preventScroll: !0 });
14646
14646
  };
14647
- return t({ toggleTimePicker: h }), (R, ie) => {
14647
+ return t({ toggleTimePicker: h }), (R, ae) => {
14648
14648
  var G;
14649
14649
  return g(), v("div", null, [
14650
14650
  R.timePicker ? k("", !0) : ot((g(), v("div", {
@@ -14656,10 +14656,10 @@ const Pw = (e, t, n, i) => {
14656
14656
  ref_key: "openTimePickerBtn",
14657
14657
  ref: f,
14658
14658
  onKeydown: [
14659
- ie[0] || (ie[0] = me((j) => h(!0), ["enter"])),
14660
- ie[1] || (ie[1] = me((j) => h(!0), ["space"]))
14659
+ ae[0] || (ae[0] = me((j) => h(!0), ["enter"])),
14660
+ ae[1] || (ae[1] = me((j) => h(!0), ["space"]))
14661
14661
  ],
14662
- onClick: ie[2] || (ie[2] = (j) => h(!0))
14662
+ onClick: ae[2] || (ae[2] = (j) => h(!0))
14663
14663
  }, [
14664
14664
  R.$slots["clock-icon"] ? Y(R.$slots, "clock-icon", { key: 0 }) : k("", !0),
14665
14665
  R.$slots["clock-icon"] ? k("", !0) : (g(), te(u(Cc), { key: 1 }))
@@ -14728,10 +14728,10 @@ const Pw = (e, t, n, i) => {
14728
14728
  "aria-label": (j = u(s).ariaLabels) == null ? void 0 : j.closeTimePicker,
14729
14729
  tabindex: "0",
14730
14730
  onKeydown: [
14731
- ie[3] || (ie[3] = me((B) => h(!1), ["enter"])),
14732
- ie[4] || (ie[4] = me((B) => h(!1), ["space"]))
14731
+ ae[3] || (ae[3] = me((B) => h(!1), ["enter"])),
14732
+ ae[4] || (ae[4] = me((B) => h(!1), ["space"]))
14733
14733
  ],
14734
- onClick: ie[5] || (ie[5] = (B) => h(!1))
14734
+ onClick: ae[5] || (ae[5] = (B) => h(!1))
14735
14735
  }, [
14736
14736
  R.$slots["calendar-icon"] ? Y(R.$slots, "calendar-icon", { key: 0 }) : k("", !0),
14737
14737
  R.$slots["calendar-icon"] ? k("", !0) : (g(), te(u(Ga), { key: 1 }))
@@ -14804,7 +14804,7 @@ const Pw = (e, t, n, i) => {
14804
14804
  dp__cell_highlight: !$(m) && (L(m) || V(m)) && !D(m),
14805
14805
  dp__cell_highlight_active: !$(m) && (L(m) || V(m)) && D(m),
14806
14806
  dp__today: !t.noToday && Ve(m.value, l.value) && m.current
14807
- }), ie = (m) => ({
14807
+ }), ae = (m) => ({
14808
14808
  dp__active_date: D(m),
14809
14809
  dp__date_hover: W(m)
14810
14810
  }), G = (m) => ({
@@ -14822,7 +14822,7 @@ const Pw = (e, t, n, i) => {
14822
14822
  dp__cell_auto_range: C(m),
14823
14823
  dp__cell_auto_range_start: P(m),
14824
14824
  dp__cell_auto_range_end: p(m)
14825
- }), E = (m) => t.range ? t.autoRange ? B(m) : t.modelAuto ? { ...ie(m), ...j(m) } : j(m) : t.weekPicker ? G(m) : ie(m);
14825
+ }), E = (m) => t.range ? t.autoRange ? B(m) : t.modelAuto ? { ...ae(m), ...j(m) } : j(m) : t.weekPicker ? G(m) : ae(m);
14826
14826
  return {
14827
14827
  setHoverDate: o,
14828
14828
  clearHoverDate: s,
@@ -14900,7 +14900,7 @@ const Pw = (e, t, n, i) => {
14900
14900
  x.value = -1;
14901
14901
  }, {
14902
14902
  calendars: R,
14903
- modelValue: ie,
14903
+ modelValue: ae,
14904
14904
  month: G,
14905
14905
  year: j,
14906
14906
  time: B,
@@ -14911,11 +14911,11 @@ const Pw = (e, t, n, i) => {
14911
14911
  monthYearSelect: _,
14912
14912
  handleScroll: Q,
14913
14913
  handleArrow: A,
14914
- handleSwipe: ae,
14914
+ handleSwipe: ie,
14915
14915
  getMarker: se,
14916
14916
  selectCurrentDate: Z,
14917
14917
  presetDateRange: z
14918
- } = Lw(i, n, V, L, x), { setHoverDate: de, clearHoverDate: ye, getDayClassData: Ie } = xN(ie, i);
14918
+ } = Lw(i, n, V, L, x), { setHoverDate: de, clearHoverDate: ye, getDayClassData: Ie } = xN(ae, i);
14919
14919
  $e(
14920
14920
  R,
14921
14921
  () => {
@@ -15107,7 +15107,7 @@ const Pw = (e, t, n, i) => {
15107
15107
  onHandleSpace: (Oe) => q(Oe, !u(U)(pe)),
15108
15108
  onSetHoverDate: ce[2] || (ce[2] = (Oe) => u(de)(Oe)),
15109
15109
  onHandleScroll: (Oe) => u(Q)(Oe, pe),
15110
- onHandleSwipe: (Oe) => u(ae)(Oe, pe),
15110
+ onHandleSwipe: (Oe) => u(ie)(Oe, pe),
15111
15111
  onMount: ce[3] || (ce[3] = (Oe) => ue("calendar")),
15112
15112
  onResetFlow: X
15113
15113
  }), nt({ _: 2 }, [
@@ -15257,7 +15257,7 @@ const Pw = (e, t, n, i) => {
15257
15257
  parseExternalModelValue: V,
15258
15258
  emitModelValue: X,
15259
15259
  formatInputValue: R,
15260
- checkBeforeEmit: ie
15260
+ checkBeforeEmit: ae
15261
15261
  } = Ow(n, i, y), G = O(
15262
15262
  () => ({
15263
15263
  dp__main: !0,
@@ -15273,22 +15273,22 @@ const Pw = (e, t, n, i) => {
15273
15273
  }, m = () => {
15274
15274
  !i.disabled && !i.readonly && (D(), r.value = !0, Nt().then(() => {
15275
15275
  W(), r.value && n("open");
15276
- }), r.value || ae(), V(i.modelValue));
15276
+ }), r.value || ie(), V(i.modelValue));
15277
15277
  }, N = () => {
15278
- L.value = "", ae(), n("update:model-value", null), n("cleared"), se();
15278
+ L.value = "", ie(), n("update:model-value", null), n("cleared"), se();
15279
15279
  }, b = () => {
15280
15280
  const Ne = $.value;
15281
15281
  return !Ne || !Array.isArray(Ne) && M(Ne) ? !0 : Array.isArray(Ne) ? Ne.length === 2 && M(Ne[0]) && M(Ne[1]) ? !0 : M(Ne[0]) : !1;
15282
15282
  }, _ = () => {
15283
- ie() && b() ? (X(), se()) : n("invalid-select", $.value);
15283
+ ae() && b() ? (X(), se()) : n("invalid-select", $.value);
15284
15284
  }, Q = (Ne) => {
15285
15285
  X(), i.closeOnAutoApply && !Ne && se();
15286
15286
  }, A = (Ne = !1) => {
15287
15287
  i.autoApply && p($.value) && b() && (i.range && Array.isArray($.value) ? (i.partialRange || $.value.length === 2) && Q(Ne) : Q(Ne));
15288
- }, ae = () => {
15288
+ }, ie = () => {
15289
15289
  i.textInput || ($.value = null);
15290
15290
  }, se = () => {
15291
- i.inline || (r.value && (r.value = !1, f(!1), d(!1), I(), n("closed"), D(), L.value && V(l.value)), ae(), c.value && c.value.focusInput());
15291
+ i.inline || (r.value && (r.value = !1, f(!1), d(!1), I(), n("closed"), D(), L.value && V(l.value)), ie(), c.value && c.value.focusInput());
15292
15292
  }, Z = (Ne, ze) => {
15293
15293
  if (!Ne) {
15294
15294
  $.value = null;