@uniquedj95/vform 1.6.1 → 1.6.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.
package/dist/index.es.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var nr = Object.defineProperty;
2
2
  var lr = (e, n, a) => n in e ? nr(e, n, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[n] = a;
3
3
  var ve = (e, n, a) => lr(e, typeof n != "symbol" ? n + "" : n, a);
4
- import { defineComponent as Ve, ref as X, computed as G, watch as Qe, openBlock as y, createBlock as se, unref as i, withCtx as le, createVNode as Oe, createElementBlock as W, Fragment as be, renderList as Pe, resolveDynamicComponent as ia, createCommentVNode as F, normalizeStyle as ot, createTextVNode as Ye, toDisplayString as Ce, mergeModels as Ct, useModel as $t, reactive as Pa, useSlots as jt, toRef as wa, onMounted as Je, nextTick as ct, onUnmounted as Fa, normalizeClass as Me, mergeProps as Ge, isRef as Wn, createSlots as tt, renderSlot as ce, normalizeProps as Ke, guardReactiveProps as ut, Teleport as rr, Transition as sa, createElementVNode as _e, withModifiers as _a, h as or, render as Qn, useAttrs as ur, onBeforeUpdate as ir, withDirectives as Va, vShow as Ra, withKeys as sr, getCurrentScope as dr, onScopeDispose as cr } from "vue";
4
+ import { defineComponent as Ve, ref as X, computed as G, watch as Qe, openBlock as g, createBlock as se, unref as i, withCtx as le, createVNode as Oe, createElementBlock as W, Fragment as be, renderList as Pe, resolveDynamicComponent as ia, createCommentVNode as F, normalizeStyle as ot, createTextVNode as Ye, toDisplayString as Ce, mergeModels as Ct, useModel as $t, reactive as Pa, useSlots as jt, toRef as wa, onMounted as Je, nextTick as ct, onUnmounted as Fa, normalizeClass as Me, mergeProps as Ge, isRef as Wn, createSlots as tt, renderSlot as ce, normalizeProps as Ke, guardReactiveProps as ut, Teleport as rr, Transition as sa, createElementVNode as _e, withModifiers as _a, h as or, render as Qn, useAttrs as ur, onBeforeUpdate as ir, withDirectives as Va, vShow as Ra, withKeys as sr, getCurrentScope as dr, onScopeDispose as cr } from "vue";
5
5
  import { IonGrid as vr, IonRow as Ea, IonCol as ya, IonButton as Ut, IonInput as Ba, IonLabel as pt, IonText as qa, IonInputPasswordToggle as mr, IonSelect as pr, IonSelectOption as fr, IonIcon as ka, IonChip as hr, IonList as yr, IonItem as gr, IonCheckbox as br, IonInfiniteScroll as wr, IonInfiniteScrollContent as _r, IonTextarea as kr } from "@ionic/vue";
6
6
  const xa = [
7
7
  "January",
@@ -148,14 +148,14 @@ const Dr = /* @__PURE__ */ Ve({
148
148
  formData: v.value,
149
149
  computedData: s.value
150
150
  })
151
- }), (_, h) => (y(), se(i(vr), null, {
151
+ }), (_, h) => (g(), se(i(vr), null, {
152
152
  default: le(() => [
153
153
  Oe(i(Ea), null, {
154
154
  default: le(() => [
155
- (y(!0), W(be, null, Pe(Object.keys(o.value), (S) => {
155
+ (g(!0), W(be, null, Pe(Object.keys(o.value), (S) => {
156
156
  var E, N, w, I, C;
157
- return y(), W(be, null, [
158
- i(bn)(o.value[S], v.value, s.value) ? (y(), se(i(ya), {
157
+ return g(), W(be, null, [
158
+ i(bn)(o.value[S], v.value, s.value) ? (g(), se(i(ya), {
159
159
  key: S,
160
160
  size: ((E = o.value[S].grid) == null ? void 0 : E.xs) ?? "12",
161
161
  "size-sm": (N = o.value[S].grid) == null ? void 0 : N.sm,
@@ -165,9 +165,9 @@ const Dr = /* @__PURE__ */ Ve({
165
165
  class: "ion-margin-vertical"
166
166
  }, {
167
167
  default: le(() => [
168
- (y(), se(ia(o.value[S].type), {
168
+ (g(), se(ia(o.value[S].type), {
169
169
  modelValue: o.value[S],
170
- "onUpdate:modelValue": (D) => o.value[S] = D,
170
+ "onUpdate:modelValue": (x) => o.value[S] = x,
171
171
  schema: o.value,
172
172
  ref_for: !0,
173
173
  ref_key: "dynamicRefs",
@@ -182,14 +182,14 @@ const Dr = /* @__PURE__ */ Ve({
182
182
  ]),
183
183
  _: 1
184
184
  }),
185
- _.hideButtons ? F("", !0) : (y(), se(i(Ea), { key: 0 }, {
185
+ _.hideButtons ? F("", !0) : (g(), se(i(Ea), { key: 0 }, {
186
186
  default: le(() => [
187
187
  Oe(i(ya), {
188
188
  size: "12",
189
189
  style: ot([{ display: "flex" }, { justifyContent: _.buttonPlacement }])
190
190
  }, {
191
191
  default: le(() => [
192
- _.showCancelButton ? (y(), se(i(Ut), {
192
+ _.showCancelButton ? (g(), se(i(Ut), {
193
193
  key: 0,
194
194
  onClick: b
195
195
  }, {
@@ -198,7 +198,7 @@ const Dr = /* @__PURE__ */ Ve({
198
198
  ]),
199
199
  _: 1
200
200
  })) : F("", !0),
201
- _.showClearButton ? (y(), se(i(Ut), {
201
+ _.showClearButton ? (g(), se(i(Ut), {
202
202
  key: 1,
203
203
  onClick: f
204
204
  }, {
@@ -207,7 +207,7 @@ const Dr = /* @__PURE__ */ Ve({
207
207
  ]),
208
208
  _: 1
209
209
  })) : F("", !0),
210
- (y(!0), W(be, null, Pe(_.customButtons, (S) => (y(), se(i(Ut), {
210
+ (g(!0), W(be, null, Pe(_.customButtons, (S) => (g(), se(i(Ut), {
211
211
  onClick: S.action
212
212
  }, {
213
213
  default: le(() => [
@@ -269,7 +269,7 @@ const Dr = /* @__PURE__ */ Ve({
269
269
  onValueUpdate: s,
270
270
  onReset: o,
271
271
  getErrors: () => t.value.error
272
- }), (m, d) => (y(), se(i(Ba), {
272
+ }), (m, d) => (g(), se(i(Ba), {
273
273
  ref_key: "inputRef",
274
274
  ref: l,
275
275
  modelValue: r.value,
@@ -294,13 +294,13 @@ const Dr = /* @__PURE__ */ Ve({
294
294
  onIonBlur: s
295
295
  }, {
296
296
  default: le(() => [
297
- t.value.label ? (y(), se(i(pt), {
297
+ t.value.label ? (g(), se(i(pt), {
298
298
  key: 0,
299
299
  slot: "label"
300
300
  }, {
301
301
  default: le(() => [
302
302
  Ye(Ce(t.value.label) + " ", 1),
303
- t.value.required ? (y(), se(i(qa), {
303
+ t.value.required ? (g(), se(i(qa), {
304
304
  key: 0,
305
305
  color: "danger"
306
306
  }, {
@@ -312,7 +312,7 @@ const Dr = /* @__PURE__ */ Ve({
312
312
  ]),
313
313
  _: 1
314
314
  })) : F("", !0),
315
- t.value.prefix ? (y(), se(i(pt), {
315
+ t.value.prefix ? (g(), se(i(pt), {
316
316
  key: 1,
317
317
  slot: "start"
318
318
  }, {
@@ -321,7 +321,7 @@ const Dr = /* @__PURE__ */ Ve({
321
321
  ]),
322
322
  _: 1
323
323
  })) : F("", !0),
324
- t.value.suffix ? (y(), se(i(pt), {
324
+ t.value.suffix ? (g(), se(i(pt), {
325
325
  key: 2,
326
326
  slot: "end"
327
327
  }, {
@@ -330,7 +330,7 @@ const Dr = /* @__PURE__ */ Ve({
330
330
  ]),
331
331
  _: 1
332
332
  })) : F("", !0),
333
- m.type === "password" ? (y(), se(i(mr), {
333
+ m.type === "password" ? (g(), se(i(mr), {
334
334
  key: 3,
335
335
  slot: "end"
336
336
  })) : F("", !0)
@@ -362,7 +362,7 @@ const Dr = /* @__PURE__ */ Ve({
362
362
  var r;
363
363
  return (r = l.value) == null ? void 0 : r.getErrors();
364
364
  }
365
- }), (r, o) => (y(), se(za, {
365
+ }), (r, o) => (g(), se(za, {
366
366
  modelValue: t.value,
367
367
  "onUpdate:modelValue": o[0] || (o[0] = (v) => t.value = v),
368
368
  type: "text",
@@ -3179,25 +3179,25 @@ const _u = {
3179
3179
  T: new wu()
3180
3180
  }, ku = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, xu = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Mu = /^'([^]*?)'?$/, Du = /''/g, Tu = /\S/, Pu = /[a-zA-Z]/;
3181
3181
  function xn(e, n, a, t) {
3182
- var h, S, E, N, w, I, C, D;
3183
- const l = Yo(), r = (t == null ? void 0 : t.locale) ?? l.locale ?? Ml, o = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((S = (h = t == null ? void 0 : t.locale) == null ? void 0 : h.options) == null ? void 0 : S.firstWeekContainsDate) ?? l.firstWeekContainsDate ?? ((N = (E = l.locale) == null ? void 0 : E.options) == null ? void 0 : N.firstWeekContainsDate) ?? 1, v = (t == null ? void 0 : t.weekStartsOn) ?? ((I = (w = t == null ? void 0 : t.locale) == null ? void 0 : w.options) == null ? void 0 : I.weekStartsOn) ?? l.weekStartsOn ?? ((D = (C = l.locale) == null ? void 0 : C.options) == null ? void 0 : D.weekStartsOn) ?? 0;
3182
+ var h, S, E, N, w, I, C, x;
3183
+ const l = Yo(), r = (t == null ? void 0 : t.locale) ?? l.locale ?? Ml, o = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((S = (h = t == null ? void 0 : t.locale) == null ? void 0 : h.options) == null ? void 0 : S.firstWeekContainsDate) ?? l.firstWeekContainsDate ?? ((N = (E = l.locale) == null ? void 0 : E.options) == null ? void 0 : N.firstWeekContainsDate) ?? 1, v = (t == null ? void 0 : t.weekStartsOn) ?? ((I = (w = t == null ? void 0 : t.locale) == null ? void 0 : w.options) == null ? void 0 : I.weekStartsOn) ?? l.weekStartsOn ?? ((x = (C = l.locale) == null ? void 0 : C.options) == null ? void 0 : x.weekStartsOn) ?? 0;
3184
3184
  if (n === "")
3185
3185
  return e === "" ? fe(a) : Ae(a, NaN);
3186
3186
  const s = {
3187
3187
  firstWeekContainsDate: o,
3188
3188
  weekStartsOn: v,
3189
3189
  locale: r
3190
- }, k = [new Bo()], m = n.match(xu).map((g) => {
3191
- const z = g[0];
3190
+ }, k = [new Bo()], m = n.match(xu).map((y) => {
3191
+ const z = y[0];
3192
3192
  if (z in _n) {
3193
3193
  const H = _n[z];
3194
- return H(g, r.formatLong);
3194
+ return H(y, r.formatLong);
3195
3195
  }
3196
- return g;
3196
+ return y;
3197
3197
  }).join("").match(ku), d = [];
3198
- for (let g of m) {
3199
- !(t != null && t.useAdditionalWeekYearTokens) && Pl(g) && kn(g, n, e), !(t != null && t.useAdditionalDayOfYearTokens) && Tl(g) && kn(g, n, e);
3200
- const z = g[0], H = _u[z];
3198
+ for (let y of m) {
3199
+ !(t != null && t.useAdditionalWeekYearTokens) && Pl(y) && kn(y, n, e), !(t != null && t.useAdditionalDayOfYearTokens) && Tl(y) && kn(y, n, e);
3200
+ const z = y[0], H = _u[z];
3201
3201
  if (H) {
3202
3202
  const { incompatibleTokens: L } = H;
3203
3203
  if (Array.isArray(L)) {
@@ -3206,16 +3206,16 @@ function xn(e, n, a, t) {
3206
3206
  );
3207
3207
  if (pe)
3208
3208
  throw new RangeError(
3209
- `The format string mustn't contain \`${pe.fullToken}\` and \`${g}\` at the same time`
3209
+ `The format string mustn't contain \`${pe.fullToken}\` and \`${y}\` at the same time`
3210
3210
  );
3211
3211
  } else if (H.incompatibleTokens === "*" && d.length > 0)
3212
3212
  throw new RangeError(
3213
- `The format string mustn't contain \`${g}\` and any other token at the same time`
3213
+ `The format string mustn't contain \`${y}\` and any other token at the same time`
3214
3214
  );
3215
- d.push({ token: z, fullToken: g });
3215
+ d.push({ token: z, fullToken: y });
3216
3216
  const re = H.run(
3217
3217
  e,
3218
- g,
3218
+ y,
3219
3219
  r.match,
3220
3220
  s
3221
3221
  );
@@ -3227,25 +3227,25 @@ function xn(e, n, a, t) {
3227
3227
  throw new RangeError(
3228
3228
  "Format string contains an unescaped latin alphabet character `" + z + "`"
3229
3229
  );
3230
- if (g === "''" ? g = "'" : z === "'" && (g = Au(g)), e.indexOf(g) === 0)
3231
- e = e.slice(g.length);
3230
+ if (y === "''" ? y = "'" : z === "'" && (y = Au(y)), e.indexOf(y) === 0)
3231
+ e = e.slice(y.length);
3232
3232
  else
3233
3233
  return Ae(a, NaN);
3234
3234
  }
3235
3235
  }
3236
3236
  if (e.length > 0 && Tu.test(e))
3237
3237
  return Ae(a, NaN);
3238
- const f = k.map((g) => g.priority).sort((g, z) => z - g).filter((g, z, H) => H.indexOf(g) === z).map(
3239
- (g) => k.filter((z) => z.priority === g).sort((z, H) => H.subPriority - z.subPriority)
3240
- ).map((g) => g[0]);
3238
+ const f = k.map((y) => y.priority).sort((y, z) => z - y).filter((y, z, H) => H.indexOf(y) === z).map(
3239
+ (y) => k.filter((z) => z.priority === y).sort((z, H) => H.subPriority - z.subPriority)
3240
+ ).map((y) => y[0]);
3241
3241
  let b = fe(a);
3242
3242
  if (isNaN(b.getTime()))
3243
3243
  return Ae(a, NaN);
3244
3244
  const _ = {};
3245
- for (const g of f) {
3246
- if (!g.validate(b, s))
3245
+ for (const y of f) {
3246
+ if (!y.validate(b, s))
3247
3247
  return Ae(a, NaN);
3248
- const z = g.set(b, _, s);
3248
+ const z = y.set(b, _, s);
3249
3249
  Array.isArray(z) ? (b = z[0], Object.assign(_, z[1])) : b = z;
3250
3250
  }
3251
3251
  return Ae(a, b);
@@ -3310,7 +3310,7 @@ function Vl(e, n) {
3310
3310
  }
3311
3311
  function da() {
3312
3312
  const e = ur();
3313
- return y(), W(
3313
+ return g(), W(
3314
3314
  "svg",
3315
3315
  {
3316
3316
  xmlns: "http://www.w3.org/2000/svg",
@@ -3341,7 +3341,7 @@ da.compatConfig = {
3341
3341
  MODE: 3
3342
3342
  };
3343
3343
  function Rl() {
3344
- return y(), W(
3344
+ return g(), W(
3345
3345
  "svg",
3346
3346
  {
3347
3347
  xmlns: "http://www.w3.org/2000/svg",
@@ -3365,7 +3365,7 @@ Rl.compatConfig = {
3365
3365
  MODE: 3
3366
3366
  };
3367
3367
  function Yn() {
3368
- return y(), W(
3368
+ return g(), W(
3369
3369
  "svg",
3370
3370
  {
3371
3371
  xmlns: "http://www.w3.org/2000/svg",
@@ -3386,7 +3386,7 @@ Yn.compatConfig = {
3386
3386
  MODE: 3
3387
3387
  };
3388
3388
  function In() {
3389
- return y(), W(
3389
+ return g(), W(
3390
3390
  "svg",
3391
3391
  {
3392
3392
  xmlns: "http://www.w3.org/2000/svg",
@@ -3407,7 +3407,7 @@ In.compatConfig = {
3407
3407
  MODE: 3
3408
3408
  };
3409
3409
  function Vn() {
3410
- return y(), W(
3410
+ return g(), W(
3411
3411
  "svg",
3412
3412
  {
3413
3413
  xmlns: "http://www.w3.org/2000/svg",
@@ -3431,7 +3431,7 @@ Vn.compatConfig = {
3431
3431
  MODE: 3
3432
3432
  };
3433
3433
  function Rn() {
3434
- return y(), W(
3434
+ return g(), W(
3435
3435
  "svg",
3436
3436
  {
3437
3437
  xmlns: "http://www.w3.org/2000/svg",
@@ -3452,7 +3452,7 @@ Rn.compatConfig = {
3452
3452
  MODE: 3
3453
3453
  };
3454
3454
  function En() {
3455
- return y(), W(
3455
+ return g(), W(
3456
3456
  "svg",
3457
3457
  {
3458
3458
  xmlns: "http://www.w3.org/2000/svg",
@@ -3946,12 +3946,12 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
3946
3946
  )
3947
3947
  }), Be = (e) => {
3948
3948
  const n = () => {
3949
- const D = e.enableSeconds ? ":ss" : "", g = e.enableMinutes ? ":mm" : "";
3950
- return e.is24 ? `HH${g}${D}` : `hh${g}${D} aa`;
3949
+ const x = e.enableSeconds ? ":ss" : "", y = e.enableMinutes ? ":mm" : "";
3950
+ return e.is24 ? `HH${y}${x}` : `hh${y}${x} aa`;
3951
3951
  }, a = () => {
3952
- var D;
3953
- return e.format ? e.format : e.monthPicker ? "MM/yyyy" : e.timePicker ? n() : e.weekPicker ? `${((D = S.value) == null ? void 0 : D.type) === "iso" ? "RR" : "ww"}-yyyy` : e.yearPicker ? "yyyy" : e.quarterPicker ? "QQQ/yyyy" : e.enableTimePicker ? `MM/dd/yyyy, ${n()}` : "MM/dd/yyyy";
3954
- }, t = (D) => zl(D, e.enableSeconds), l = () => I.value.enabled ? e.startTime && Array.isArray(e.startTime) ? [t(e.startTime[0]), t(e.startTime[1])] : null : e.startTime && !Array.isArray(e.startTime) ? t(e.startTime) : null, r = G(() => Ju(e.multiCalendars)), o = G(() => l()), v = G(() => Ku(e.ariaLabels)), s = G(() => ai(e.filters)), k = G(() => ei(e.transitions)), m = G(() => ni(e.actionRow)), d = G(
3952
+ var x;
3953
+ return e.format ? e.format : e.monthPicker ? "MM/yyyy" : e.timePicker ? n() : e.weekPicker ? `${((x = S.value) == null ? void 0 : x.type) === "iso" ? "RR" : "ww"}-yyyy` : e.yearPicker ? "yyyy" : e.quarterPicker ? "QQQ/yyyy" : e.enableTimePicker ? `MM/dd/yyyy, ${n()}` : "MM/dd/yyyy";
3954
+ }, t = (x) => zl(x, e.enableSeconds), l = () => I.value.enabled ? e.startTime && Array.isArray(e.startTime) ? [t(e.startTime[0]), t(e.startTime[1])] : null : e.startTime && !Array.isArray(e.startTime) ? t(e.startTime) : null, r = G(() => Ju(e.multiCalendars)), o = G(() => l()), v = G(() => Ku(e.ariaLabels)), s = G(() => ai(e.filters)), k = G(() => ei(e.transitions)), m = G(() => ni(e.actionRow)), d = G(
3955
3955
  () => Zu(e.previewFormat, e.format, a())
3956
3956
  ), f = G(() => ti(e.textInput)), b = G(() => li(e.inline)), _ = G(() => ri(e.config)), h = G(() => oi(e.highlight)), S = G(() => ui(e.weekNumbers)), E = G(() => si(e.timezone)), N = G(() => vi(e.multiDates)), w = G(
3957
3957
  () => ci({
@@ -4048,7 +4048,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
4048
4048
  if (Array.isArray(p))
4049
4049
  return p.map((ue) => q(ue));
4050
4050
  throw new Error(Nn.dateArr("multi-dates"));
4051
- }, D = (p) => {
4051
+ }, x = (p) => {
4052
4052
  if (Array.isArray(p) && r.value.enabled) {
4053
4053
  const ue = p[0], ge = p[1];
4054
4054
  return [
@@ -4057,7 +4057,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
4057
4057
  ];
4058
4058
  }
4059
4059
  return K(p[0]);
4060
- }, g = (p) => n.modelAuto ? Array.isArray(p) ? [q(p[0]), q(p[1])] : n.autoApply ? [q(p)] : [q(p), null] : Array.isArray(p) ? Ya(
4060
+ }, y = (p) => n.modelAuto ? Array.isArray(p) ? [q(p[0]), q(p[1])] : n.autoApply ? [q(p)] : [q(p), null] : Array.isArray(p) ? Ya(
4061
4061
  () => p[1] ? [
4062
4062
  q(p[0]),
4063
4063
  p[1] ? q(p[1]) : Zt(r.value.partialRange)
@@ -4071,13 +4071,13 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
4071
4071
  T(p[0]),
4072
4072
  p[1] ? T(p[1]) : Zt(r.value.partialRange)
4073
4073
  ];
4074
- }, L = () => t.value[1] ? H() : T(je(t.value[0])), re = () => (t.value || []).map((p) => T(p)), pe = (p = !1) => (p || z(), n.modelAuto ? L() : v.value.enabled ? re() : Array.isArray(t.value) ? Ya(() => H(), r.value.enabled) : T(je(t.value))), he = (p) => !p || Array.isArray(p) && !p.length ? null : n.timePicker ? w(je(p)) : n.monthPicker ? I(je(p)) : n.yearPicker ? E(je(p)) : v.value.enabled ? C(je(p)) : n.weekPicker ? D(je(p)) : g(je(p)), M = (p) => {
4074
+ }, L = () => t.value[1] ? H() : T(je(t.value[0])), re = () => (t.value || []).map((p) => T(p)), pe = (p = !1) => (p || z(), n.modelAuto ? L() : v.value.enabled ? re() : Array.isArray(t.value) ? Ya(() => H(), r.value.enabled) : T(je(t.value))), he = (p) => !p || Array.isArray(p) && !p.length ? null : n.timePicker ? w(je(p)) : n.monthPicker ? I(je(p)) : n.yearPicker ? E(je(p)) : v.value.enabled ? C(je(p)) : n.weekPicker ? x(je(p)) : y(je(p)), D = (p) => {
4075
4075
  const ue = he(p);
4076
4076
  Tn(je(ue)) ? (t.value = je(ue), oe()) : (t.value = null, k.value = "");
4077
4077
  }, Y = () => {
4078
4078
  const p = (ue) => Dt(ue, l.value.format);
4079
4079
  return `${p(t.value[0])} ${l.value.rangeSeparator} ${t.value[1] ? p(t.value[1]) : ""}`;
4080
- }, x = () => a.value && t.value ? Array.isArray(t.value) ? Y() : Dt(t.value, l.value.format) : _(t.value), Q = () => t.value ? v.value.enabled ? t.value.map((p) => _(p)).join("; ") : l.value.enabled && typeof l.value.format == "string" ? x() : _(t.value) : "", oe = () => {
4080
+ }, M = () => a.value && t.value ? Array.isArray(t.value) ? Y() : Dt(t.value, l.value.format) : _(t.value), Q = () => t.value ? v.value.enabled ? t.value.map((p) => _(p)).join("; ") : l.value.enabled && typeof l.value.format == "string" ? M() : _(t.value) : "", oe = () => {
4081
4081
  !n.format || typeof n.format == "string" || l.value.enabled && typeof l.value.format == "string" ? k.value = Q() : k.value = n.format(t.value);
4082
4082
  }, q = (p) => {
4083
4083
  if (n.utc) {
@@ -4112,7 +4112,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
4112
4112
  inputValue: k,
4113
4113
  internalModelValue: t,
4114
4114
  checkBeforeEmit: () => t.value ? r.value.enabled ? r.value.partialRange ? t.value.length >= 1 : t.value.length === 2 : !!t.value : !1,
4115
- parseExternalModelValue: M,
4115
+ parseExternalModelValue: D,
4116
4116
  formatInputValue: oe,
4117
4117
  emitModelValue: J
4118
4118
  };
@@ -4299,52 +4299,52 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
4299
4299
  });
4300
4300
  const I = () => {
4301
4301
  S.value = !1, setTimeout(() => {
4302
- var M, Y;
4303
- const x = (M = N.value) == null ? void 0 : M.getBoundingClientRect(), Q = (Y = w.value) == null ? void 0 : Y.getBoundingClientRect();
4304
- x && Q && (E.value.maxWidth = `${Q.width - x.width - 20}px`), S.value = !0;
4302
+ var D, Y;
4303
+ const M = (D = N.value) == null ? void 0 : D.getBoundingClientRect(), Q = (Y = w.value) == null ? void 0 : Y.getBoundingClientRect();
4304
+ M && Q && (E.value.maxWidth = `${Q.width - M.width - 20}px`), S.value = !0;
4305
4305
  }, 0);
4306
- }, C = G(() => k.value.enabled && !k.value.partialRange && t.internalModelValue ? t.internalModelValue.length === 2 : !0), D = G(
4306
+ }, C = G(() => k.value.enabled && !k.value.partialRange && t.internalModelValue ? t.internalModelValue.length === 2 : !0), x = G(
4307
4307
  () => !d.value(t.internalModelValue) || !f.value(t.internalModelValue) || !C.value
4308
- ), g = () => {
4309
- const M = r.value;
4310
- return t.timePicker || t.monthPicker, M(je(t.internalModelValue));
4308
+ ), y = () => {
4309
+ const D = r.value;
4310
+ return t.timePicker || t.monthPicker, D(je(t.internalModelValue));
4311
4311
  }, z = () => {
4312
- const M = t.internalModelValue;
4313
- return o.value.count > 0 ? `${H(M[0])} - ${H(M[1])}` : [H(M[0]), H(M[1])];
4314
- }, H = (M) => Wl(
4315
- M,
4312
+ const D = t.internalModelValue;
4313
+ return o.value.count > 0 ? `${H(D[0])} - ${H(D[1])}` : [H(D[0]), H(D[1])];
4314
+ }, H = (D) => Wl(
4315
+ D,
4316
4316
  r.value,
4317
4317
  t.formatLocale,
4318
4318
  v.value.rangeSeparator,
4319
4319
  t.modelAuto,
4320
4320
  r.value
4321
- ), L = G(() => !t.internalModelValue || !t.menuMount ? "" : typeof r.value == "string" ? Array.isArray(t.internalModelValue) ? t.internalModelValue.length === 2 && t.internalModelValue[1] ? z() : m.value.enabled ? t.internalModelValue.map((M) => `${H(M)}`) : t.modelAuto ? `${H(t.internalModelValue[0])}` : `${H(t.internalModelValue[0])} -` : H(t.internalModelValue) : g()), re = () => m.value.enabled ? "; " : " - ", pe = G(
4321
+ ), L = G(() => !t.internalModelValue || !t.menuMount ? "" : typeof r.value == "string" ? Array.isArray(t.internalModelValue) ? t.internalModelValue.length === 2 && t.internalModelValue[1] ? z() : m.value.enabled ? t.internalModelValue.map((D) => `${H(D)}`) : t.modelAuto ? `${H(t.internalModelValue[0])}` : `${H(t.internalModelValue[0])} -` : H(t.internalModelValue) : y()), re = () => m.value.enabled ? "; " : " - ", pe = G(
4322
4322
  () => Array.isArray(L.value) ? L.value.join(re()) : L.value
4323
4323
  ), he = () => {
4324
4324
  d.value(t.internalModelValue) && f.value(t.internalModelValue) && C.value ? a("select-date") : a("invalid-select");
4325
4325
  };
4326
- return (M, Y) => (y(), W("div", {
4326
+ return (D, Y) => (g(), W("div", {
4327
4327
  ref_key: "actionRowRef",
4328
4328
  ref: w,
4329
4329
  class: "dp__action_row"
4330
4330
  }, [
4331
- M.$slots["action-row"] ? ce(M.$slots, "action-row", Ke(Ge({ key: 0 }, {
4332
- internalModelValue: M.internalModelValue,
4333
- disabled: D.value,
4334
- selectDate: () => M.$emit("select-date"),
4335
- closePicker: () => M.$emit("close-picker")
4336
- }))) : (y(), W(be, { key: 1 }, [
4337
- i(l).showPreview ? (y(), W("div", {
4331
+ D.$slots["action-row"] ? ce(D.$slots, "action-row", Ke(Ge({ key: 0 }, {
4332
+ internalModelValue: D.internalModelValue,
4333
+ disabled: x.value,
4334
+ selectDate: () => D.$emit("select-date"),
4335
+ closePicker: () => D.$emit("close-picker")
4336
+ }))) : (g(), W(be, { key: 1 }, [
4337
+ i(l).showPreview ? (g(), W("div", {
4338
4338
  key: 0,
4339
4339
  class: "dp__selection_preview",
4340
4340
  title: pe.value,
4341
4341
  style: ot(E.value)
4342
4342
  }, [
4343
- M.$slots["action-preview"] && S.value ? ce(M.$slots, "action-preview", {
4343
+ D.$slots["action-preview"] && S.value ? ce(D.$slots, "action-preview", {
4344
4344
  key: 0,
4345
- value: M.internalModelValue
4345
+ value: D.internalModelValue
4346
4346
  }) : F("", !0),
4347
- !M.$slots["action-preview"] && S.value ? (y(), W(be, { key: 1 }, [
4347
+ !D.$slots["action-preview"] && S.value ? (g(), W(be, { key: 1 }, [
4348
4348
  Ye(Ce(pe.value), 1)
4349
4349
  ], 64)) : F("", !0)
4350
4350
  ], 12, hi)) : F("", !0),
@@ -4354,38 +4354,38 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
4354
4354
  class: "dp__action_buttons",
4355
4355
  "data-dp-element": "action-row"
4356
4356
  }, [
4357
- M.$slots["action-buttons"] ? ce(M.$slots, "action-buttons", {
4357
+ D.$slots["action-buttons"] ? ce(D.$slots, "action-buttons", {
4358
4358
  key: 0,
4359
- value: M.internalModelValue
4359
+ value: D.internalModelValue
4360
4360
  }) : F("", !0),
4361
- M.$slots["action-buttons"] ? F("", !0) : (y(), W(be, { key: 1 }, [
4362
- !i(s).enabled && i(l).showCancel ? (y(), W("button", {
4361
+ D.$slots["action-buttons"] ? F("", !0) : (g(), W(be, { key: 1 }, [
4362
+ !i(s).enabled && i(l).showCancel ? (g(), W("button", {
4363
4363
  key: 0,
4364
4364
  ref_key: "cancelButtonRef",
4365
4365
  ref: _,
4366
4366
  type: "button",
4367
4367
  class: "dp__action_button dp__action_cancel",
4368
- onClick: Y[0] || (Y[0] = (x) => M.$emit("close-picker")),
4369
- onKeydown: Y[1] || (Y[1] = (x) => i(lt)(x, () => M.$emit("close-picker")))
4370
- }, Ce(M.cancelText), 545)) : F("", !0),
4371
- i(l).showNow ? (y(), W("button", {
4368
+ onClick: Y[0] || (Y[0] = (M) => D.$emit("close-picker")),
4369
+ onKeydown: Y[1] || (Y[1] = (M) => i(lt)(M, () => D.$emit("close-picker")))
4370
+ }, Ce(D.cancelText), 545)) : F("", !0),
4371
+ i(l).showNow ? (g(), W("button", {
4372
4372
  key: 1,
4373
4373
  type: "button",
4374
4374
  class: "dp__action_button dp__action_cancel",
4375
- onClick: Y[2] || (Y[2] = (x) => M.$emit("select-now")),
4376
- onKeydown: Y[3] || (Y[3] = (x) => i(lt)(x, () => M.$emit("select-now")))
4377
- }, Ce(M.nowButtonLabel), 33)) : F("", !0),
4378
- i(l).showSelect ? (y(), W("button", {
4375
+ onClick: Y[2] || (Y[2] = (M) => D.$emit("select-now")),
4376
+ onKeydown: Y[3] || (Y[3] = (M) => i(lt)(M, () => D.$emit("select-now")))
4377
+ }, Ce(D.nowButtonLabel), 33)) : F("", !0),
4378
+ i(l).showSelect ? (g(), W("button", {
4379
4379
  key: 2,
4380
4380
  ref_key: "selectButtonRef",
4381
4381
  ref: h,
4382
4382
  type: "button",
4383
4383
  class: "dp__action_button dp__action_select",
4384
- disabled: D.value,
4384
+ disabled: x.value,
4385
4385
  "data-test": "select-button",
4386
- onKeydown: Y[4] || (Y[4] = (x) => i(lt)(x, () => he())),
4386
+ onKeydown: Y[4] || (Y[4] = (M) => i(lt)(M, () => he())),
4387
4387
  onClick: he
4388
- }, Ce(M.selectText), 41, yi)) : F("", !0)
4388
+ }, Ce(D.selectText), 41, yi)) : F("", !0)
4389
4389
  ], 64))
4390
4390
  ], 512)
4391
4391
  ], 64))
@@ -4429,13 +4429,13 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
4429
4429
  var j;
4430
4430
  const O = Xe(_);
4431
4431
  O && (k.value.enabled || (b.value ? (j = b.value) == null || j.focus({ preventScroll: !0 }) : O.focus({ preventScroll: !0 })), f.value = O.clientHeight < O.scrollHeight);
4432
- }, D = G(
4432
+ }, x = G(
4433
4433
  () => ({
4434
4434
  dp__overlay: !0,
4435
4435
  "dp--overlay-absolute": !v.useRelative,
4436
4436
  "dp--overlay-relative": v.useRelative
4437
4437
  })
4438
- ), g = G(
4438
+ ), y = G(
4439
4439
  () => v.useRelative ? { height: `${v.height}px`, width: "var(--dp-menu-min-width)" } : void 0
4440
4440
  ), z = G(() => ({
4441
4441
  dp__overlay_col: !0
@@ -4469,11 +4469,11 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
4469
4469
  j.disabled || o("selected", j.value);
4470
4470
  }, he = () => {
4471
4471
  o("toggle"), o("reset-flow");
4472
- }, M = () => {
4472
+ }, D = () => {
4473
4473
  v.escClose && he();
4474
4474
  }, Y = (j, O, u, P) => {
4475
- j && ((O.active || O.value === v.focusValue) && (b.value = j), v.arrowNavigation && (Array.isArray(h.value[u]) ? h.value[u][P] = j : h.value[u] = [j], x()));
4476
- }, x = () => {
4475
+ j && ((O.active || O.value === v.focusValue) && (b.value = j), v.arrowNavigation && (Array.isArray(h.value[u]) ? h.value[u][P] = j : h.value[u] = [j], M()));
4476
+ }, M = () => {
4477
4477
  var j, O;
4478
4478
  const u = (j = v.headerRefs) != null && j.length ? [v.headerRefs].concat(h.value) : h.value.concat([v.skipButtonRef ? [] : [E.value]]);
4479
4479
  l(je(u), (O = v.headerRefs) != null && O.length ? "monthPicker" : "selectionGrid");
@@ -4492,7 +4492,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
4492
4492
  }, T = (j) => {
4493
4493
  switch (j.key) {
4494
4494
  case Ee.esc:
4495
- return M();
4495
+ return D();
4496
4496
  case Ee.arrowLeft:
4497
4497
  return Q(j);
4498
4498
  case Ee.arrowRight:
@@ -4510,11 +4510,11 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
4510
4510
  };
4511
4511
  return n({ focusGrid: C }), (j, O) => {
4512
4512
  var u;
4513
- return y(), W("div", {
4513
+ return g(), W("div", {
4514
4514
  ref_key: "gridWrapRef",
4515
4515
  ref: _,
4516
- class: Me(D.value),
4517
- style: ot(g.value),
4516
+ class: Me(x.value),
4517
+ style: ot(y.value),
4518
4518
  role: j.useRelative ? void 0 : "dialog",
4519
4519
  "aria-label": j.overlayLabel,
4520
4520
  tabindex: j.useRelative ? void 0 : "0",
@@ -4532,12 +4532,12 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
4532
4532
  _e("div", wi, [
4533
4533
  ce(j.$slots, "header")
4534
4534
  ]),
4535
- j.$slots.overlay ? ce(j.$slots, "overlay", { key: 0 }) : (y(!0), W(be, { key: 1 }, Pe(j.items, (P, J) => (y(), W("div", {
4535
+ j.$slots.overlay ? ce(j.$slots, "overlay", { key: 0 }) : (g(!0), W(be, { key: 1 }, Pe(j.items, (P, J) => (g(), W("div", {
4536
4536
  key: J,
4537
4537
  class: Me(["dp__overlay_row", { dp__flex_row: j.items.length >= 3 }]),
4538
4538
  role: "row"
4539
4539
  }, [
4540
- (y(!0), W(be, null, Pe(P, (p, ue) => (y(), W("div", {
4540
+ (g(!0), W(be, null, Pe(P, (p, ue) => (g(), W("div", {
4541
4541
  key: p.value,
4542
4542
  ref_for: !0,
4543
4543
  ref: (ge) => Y(ge, p, J, ue),
@@ -4558,14 +4558,14 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
4558
4558
  key: 0,
4559
4559
  item: p
4560
4560
  }) : F("", !0),
4561
- j.$slots.item ? F("", !0) : (y(), W(be, { key: 1 }, [
4561
+ j.$slots.item ? F("", !0) : (g(), W(be, { key: 1 }, [
4562
4562
  Ye(Ce(p.text), 1)
4563
4563
  ], 64))
4564
4564
  ], 2)
4565
4565
  ], 42, _i))), 128))
4566
4566
  ], 2))), 128))
4567
4567
  ], 6),
4568
- j.$slots["button-icon"] ? Va((y(), W("button", {
4568
+ j.$slots["button-icon"] ? Va((g(), W("button", {
4569
4569
  key: 0,
4570
4570
  ref_key: "toggleButton",
4571
4571
  ref: E,
@@ -4596,7 +4596,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
4596
4596
  ), t = G(() => ({
4597
4597
  dp__instance_calendar: n.multiCalendars > 0
4598
4598
  }));
4599
- return (l, r) => (y(), W("div", {
4599
+ return (l, r) => (g(), W("div", {
4600
4600
  class: Me({
4601
4601
  dp__menu_inner: !l.stretch,
4602
4602
  "dp--menu--inner-stretched": l.stretch,
@@ -4604,7 +4604,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
4604
4604
  "dp--flex-display-collapsed": l.collapse
4605
4605
  })
4606
4606
  }, [
4607
- (y(!0), W(be, null, Pe(a.value, (o, v) => (y(), W("div", {
4607
+ (g(!0), W(be, null, Pe(a.value, (o, v) => (g(), W("div", {
4608
4608
  key: o,
4609
4609
  class: Me(t.value)
4610
4610
  }, [
@@ -4628,7 +4628,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
4628
4628
  emits: ["activate", "set-ref"],
4629
4629
  setup(e, { emit: n }) {
4630
4630
  const a = n, t = X(null);
4631
- return Je(() => a("set-ref", t)), (l, r) => (y(), W("button", {
4631
+ return Je(() => a("set-ref", t)), (l, r) => (g(), W("button", {
4632
4632
  ref_key: "elRef",
4633
4633
  ref: t,
4634
4634
  type: "button",
@@ -4667,12 +4667,12 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
4667
4667
  a("handle-year", E);
4668
4668
  };
4669
4669
  return (E, N) => {
4670
- var w, I, C, D, g;
4671
- return y(), W(be, null, [
4670
+ var w, I, C, x, y;
4671
+ return g(), W(be, null, [
4672
4672
  _e("div", {
4673
4673
  class: Me(["dp--year-mode-picker", { "dp--hidden-el": b.value }])
4674
4674
  }, [
4675
- i(r)(i(v), e.instance) ? (y(), se(ba, {
4675
+ i(r)(i(v), e.instance) ? (g(), se(ba, {
4676
4676
  key: 0,
4677
4677
  ref: "mpPrevIconRef",
4678
4678
  "aria-label": (w = i(s)) == null ? void 0 : w.prevYear,
@@ -4682,7 +4682,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
4682
4682
  }, {
4683
4683
  default: le(() => [
4684
4684
  E.$slots["arrow-left"] ? ce(E.$slots, "arrow-left", { key: 0 }) : F("", !0),
4685
- E.$slots["arrow-left"] ? F("", !0) : (y(), se(i(Yn), { key: 1 }))
4685
+ E.$slots["arrow-left"] ? F("", !0) : (g(), se(i(Yn), { key: 1 }))
4686
4686
  ]),
4687
4687
  _: 3
4688
4688
  }, 8, ["aria-label", "disabled", "class"])) : F("", !0),
@@ -4699,21 +4699,21 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
4699
4699
  key: 0,
4700
4700
  year: e.year
4701
4701
  }) : F("", !0),
4702
- E.$slots.year ? F("", !0) : (y(), W(be, { key: 1 }, [
4702
+ E.$slots.year ? F("", !0) : (g(), W(be, { key: 1 }, [
4703
4703
  Ye(Ce(e.year), 1)
4704
4704
  ], 64))
4705
4705
  ], 40, Mi),
4706
- i(l)(i(v), e.instance) ? (y(), se(ba, {
4706
+ i(l)(i(v), e.instance) ? (g(), se(ba, {
4707
4707
  key: 1,
4708
4708
  ref: "mpNextIconRef",
4709
- "aria-label": (D = i(s)) == null ? void 0 : D.nextYear,
4709
+ "aria-label": (x = i(s)) == null ? void 0 : x.nextYear,
4710
4710
  disabled: e.isDisabled(!0),
4711
- class: Me((g = i(m)) == null ? void 0 : g.navBtnNext),
4711
+ class: Me((y = i(m)) == null ? void 0 : y.navBtnNext),
4712
4712
  onActivate: N[3] || (N[3] = (z) => S(!0))
4713
4713
  }, {
4714
4714
  default: le(() => [
4715
4715
  E.$slots["arrow-right"] ? ce(E.$slots, "arrow-right", { key: 0 }) : F("", !0),
4716
- E.$slots["arrow-right"] ? F("", !0) : (y(), se(i(In), { key: 1 }))
4716
+ E.$slots["arrow-right"] ? F("", !0) : (g(), se(i(In), { key: 1 }))
4717
4717
  ]),
4718
4718
  _: 3
4719
4719
  }, 8, ["aria-label", "disabled", "class"])) : F("", !0)
@@ -4725,7 +4725,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
4725
4725
  default: le(() => {
4726
4726
  var z, H;
4727
4727
  return [
4728
- e.showYearPicker ? (y(), se(Aa, {
4728
+ e.showYearPicker ? (g(), se(Aa, {
4729
4729
  key: 0,
4730
4730
  items: e.items,
4731
4731
  "text-input": E.textInput,
@@ -4741,7 +4741,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
4741
4741
  }, tt({
4742
4742
  "button-icon": le(() => [
4743
4743
  E.$slots["calendar-icon"] ? ce(E.$slots, "calendar-icon", { key: 0 }) : F("", !0),
4744
- E.$slots["calendar-icon"] ? F("", !0) : (y(), se(i(da), { key: 1 }))
4744
+ E.$slots["calendar-icon"] ? F("", !0) : (g(), se(i(da), { key: 1 }))
4745
4745
  ]),
4746
4746
  _: 2
4747
4747
  }, [
@@ -4838,15 +4838,15 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
4838
4838
  });
4839
4839
  const C = (L, re) => {
4840
4840
  l.value[re].year = L, m("update-month-year", { instance: re, year: L, month: l.value[re].month }), e.value.count && !e.value.solo && S(re);
4841
- }, D = G(() => (L) => oa(d.value, (re) => {
4841
+ }, x = G(() => (L) => oa(d.value, (re) => {
4842
4842
  var pe;
4843
- const he = s.value(L) === re.value, M = Ta(
4843
+ const he = s.value(L) === re.value, D = Ta(
4844
4844
  re.value,
4845
4845
  ua(t.value.minDate),
4846
4846
  ua(t.value.maxDate)
4847
4847
  ) || ((pe = v.value.years) == null ? void 0 : pe.includes(s.value(L))), Y = Fn(a.value, re.value);
4848
- return { active: he, disabled: M, highlighted: Y };
4849
- })), g = (L, re) => {
4848
+ return { active: he, disabled: D, highlighted: Y };
4849
+ })), y = (L, re) => {
4850
4850
  C(L, re), H(re);
4851
4851
  }, z = (L, re = !1) => {
4852
4852
  if (!b.value(L, re)) {
@@ -4858,11 +4858,11 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
4858
4858
  };
4859
4859
  return {
4860
4860
  isDisabled: b,
4861
- groupedYears: D,
4861
+ groupedYears: x,
4862
4862
  showYearPicker: f,
4863
4863
  selectYear: C,
4864
4864
  toggleYearPicker: H,
4865
- handleYearSelect: g,
4865
+ handleYearSelect: y,
4866
4866
  handleYear: z
4867
4867
  };
4868
4868
  }, Di = (e, n) => {
@@ -4882,8 +4882,8 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
4882
4882
  }, { modelValue: b, year: _, month: h, calendars: S } = $a(e, n, f), E = G(() => El(e.formatLocale, e.locale, e.monthNameFormat)), N = X(null), { checkMinMaxRange: w } = Ht(e), {
4883
4883
  selectYear: I,
4884
4884
  groupedYears: C,
4885
- showYearPicker: D,
4886
- toggleYearPicker: g,
4885
+ showYearPicker: x,
4886
+ toggleYearPicker: y,
4887
4887
  handleYearSelect: z,
4888
4888
  handleYear: H,
4889
4889
  isDisabled: L
@@ -4906,7 +4906,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
4906
4906
  const re = (u) => u ? { month: De(u), year: we(u) } : { month: null, year: null }, pe = () => b.value ? Array.isArray(b.value) ? b.value.map((u) => re(u)) : re(b.value) : re(), he = (u, P) => {
4907
4907
  const J = S.value[u], p = pe();
4908
4908
  return Array.isArray(p) ? p.some((ue) => ue.year === (J == null ? void 0 : J.year) && ue.month === P) : (J == null ? void 0 : J.year) === p.year && P === p.month;
4909
- }, M = (u, P, J) => {
4909
+ }, D = (u, P, J) => {
4910
4910
  var p, ue;
4911
4911
  const ge = pe();
4912
4912
  return Array.isArray(ge) ? _.value(P) === ((p = ge[J]) == null ? void 0 : p.year) && u === ((ue = ge[J]) == null ? void 0 : ue.month) : !1;
@@ -4914,13 +4914,13 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
4914
4914
  if (o.value.enabled) {
4915
4915
  const J = pe();
4916
4916
  if (Array.isArray(b.value) && Array.isArray(J)) {
4917
- const p = M(u, P, 0) || M(u, P, 1), ue = Pt(yt(K()), u, _.value(P));
4917
+ const p = D(u, P, 0) || D(u, P, 1), ue = Pt(yt(K()), u, _.value(P));
4918
4918
  return Ua(b.value, N.value, ue) && !p;
4919
4919
  }
4920
4920
  return !1;
4921
4921
  }
4922
4922
  return !1;
4923
- }, x = G(() => (u) => oa(E.value, (P) => {
4923
+ }, M = G(() => (u) => oa(E.value, (P) => {
4924
4924
  var J;
4925
4925
  const p = he(u, P.value), ue = Ta(
4926
4926
  P.value,
@@ -4949,7 +4949,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
4949
4949
  n("update-month-year", { instance: u, year: P, month: p });
4950
4950
  };
4951
4951
  return {
4952
- groupedMonths: x,
4952
+ groupedMonths: M,
4953
4953
  groupedYears: C,
4954
4954
  year: _,
4955
4955
  isDisabled: L,
@@ -4957,7 +4957,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
4957
4957
  defaultedAriaLabels: t,
4958
4958
  defaultedTransitions: l,
4959
4959
  defaultedConfig: r,
4960
- showYearPicker: D,
4960
+ showYearPicker: x,
4961
4961
  modelValue: b,
4962
4962
  presetDate: (u, P) => {
4963
4963
  Kl({
@@ -4972,7 +4972,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
4972
4972
  },
4973
4973
  selectMonth: ie,
4974
4974
  selectYear: j,
4975
- toggleYearPicker: g,
4975
+ toggleYearPicker: y,
4976
4976
  handleYearSelect: z,
4977
4977
  handleYear: H,
4978
4978
  getModelMonthYear: pe
@@ -5019,48 +5019,48 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
5019
5019
  toggleYearPicker: w,
5020
5020
  handleYearSelect: I,
5021
5021
  handleYear: C,
5022
- getModelMonthYear: D
5022
+ getModelMonthYear: x
5023
5023
  } = Di(o, t);
5024
5024
  return n({ getSidebarProps: () => ({
5025
5025
  modelValue: _,
5026
5026
  year: k,
5027
- getModelMonthYear: D,
5027
+ getModelMonthYear: x,
5028
5028
  selectMonth: E,
5029
5029
  selectYear: N,
5030
5030
  handleYear: C
5031
- }), presetDate: h, toggleYearPicker: (g) => w(0, g) }), (g, z) => (y(), se(Qa, {
5031
+ }), presetDate: h, toggleYearPicker: (y) => w(0, y) }), (y, z) => (g(), se(Qa, {
5032
5032
  "multi-calendars": i(d).count,
5033
- collapse: g.collapse,
5033
+ collapse: y.collapse,
5034
5034
  stretch: ""
5035
5035
  }, {
5036
5036
  default: le(({ instance: H }) => [
5037
- g.$slots["top-extra"] ? ce(g.$slots, "top-extra", {
5037
+ y.$slots["top-extra"] ? ce(y.$slots, "top-extra", {
5038
5038
  key: 0,
5039
- value: g.internalModelValue
5039
+ value: y.internalModelValue
5040
5040
  }) : F("", !0),
5041
- g.$slots["month-year"] ? ce(g.$slots, "month-year", Ke(Ge({ key: 1 }, {
5041
+ y.$slots["month-year"] ? ce(y.$slots, "month-year", Ke(Ge({ key: 1 }, {
5042
5042
  year: i(k),
5043
5043
  months: i(v)(H),
5044
5044
  years: i(s)(H),
5045
5045
  selectMonth: i(E),
5046
5046
  selectYear: i(N),
5047
5047
  instance: H
5048
- }))) : (y(), se(Aa, {
5048
+ }))) : (g(), se(Aa, {
5049
5049
  key: 2,
5050
5050
  items: i(v)(H),
5051
- "arrow-navigation": g.arrowNavigation,
5052
- "is-last": g.autoApply && !i(f).keepActionRow,
5053
- "esc-close": g.escClose,
5051
+ "arrow-navigation": y.arrowNavigation,
5052
+ "is-last": y.autoApply && !i(f).keepActionRow,
5053
+ "esc-close": y.escClose,
5054
5054
  height: i(f).modeHeight,
5055
- config: g.config,
5056
- "no-overlay-focus": !!(g.noOverlayFocus || g.textInput),
5055
+ config: y.config,
5056
+ "no-overlay-focus": !!(y.noOverlayFocus || y.textInput),
5057
5057
  "use-relative": "",
5058
5058
  type: "month",
5059
5059
  onSelected: (L) => i(E)(L, H),
5060
5060
  onHoverValue: (L) => i(S)(L, H)
5061
5061
  }, tt({
5062
5062
  header: le(() => [
5063
- Oe(Gl, Ge(g.$props, {
5063
+ Oe(Gl, Ge(y.$props, {
5064
5064
  items: i(s)(H),
5065
5065
  instance: H,
5066
5066
  "show-year-picker": i(b)[H],
@@ -5073,17 +5073,17 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
5073
5073
  Pe(i(r), (L, re) => ({
5074
5074
  name: L,
5075
5075
  fn: le((pe) => [
5076
- ce(g.$slots, L, Ke(ut(pe)))
5076
+ ce(y.$slots, L, Ke(ut(pe)))
5077
5077
  ])
5078
5078
  }))
5079
5079
  ]), 1040, ["items", "instance", "show-year-picker", "year", "is-disabled", "onHandleYear", "onYearSelect", "onToggleYearPicker"])
5080
5080
  ]),
5081
5081
  _: 2
5082
5082
  }, [
5083
- g.$slots["month-overlay-value"] ? {
5083
+ y.$slots["month-overlay-value"] ? {
5084
5084
  name: "item",
5085
5085
  fn: le(({ item: L }) => [
5086
- ce(g.$slots, "month-overlay-value", {
5086
+ ce(y.$slots, "month-overlay-value", {
5087
5087
  text: L.text,
5088
5088
  value: L.value
5089
5089
  })
@@ -5147,7 +5147,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
5147
5147
  return n({ getSidebarProps: () => ({
5148
5148
  modelValue: o,
5149
5149
  selectYear: s
5150
- }) }), (d, f) => (y(), W("div", null, [
5150
+ }) }), (d, f) => (g(), W("div", null, [
5151
5151
  d.$slots["top-extra"] ? ce(d.$slots, "top-extra", {
5152
5152
  key: 0,
5153
5153
  value: d.internalModelValue
@@ -5155,7 +5155,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
5155
5155
  d.$slots["month-year"] ? ce(d.$slots, "month-year", Ke(Ge({ key: 1 }, {
5156
5156
  years: i(r),
5157
5157
  selectYear: i(s)
5158
- }))) : (y(), se(Aa, {
5158
+ }))) : (g(), se(Aa, {
5159
5159
  key: 2,
5160
5160
  items: i(r),
5161
5161
  "is-last": d.autoApply && !i(m).keepActionRow,
@@ -5226,8 +5226,8 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
5226
5226
  seconds: l.enableSeconds ? c.seconds : 0,
5227
5227
  milliseconds: 0
5228
5228
  }), C = G(
5229
- () => (c) => Q(c, l[c]) || g(c, l[c])
5230
- ), D = G(() => ({ hours: l.hours, minutes: l.minutes, seconds: l.seconds })), g = (c, U) => d.value.enabled && !d.value.disableTimeRangeValidation ? !l.validateTime(c, U) : !1, z = (c, U) => {
5229
+ () => (c) => Q(c, l[c]) || y(c, l[c])
5230
+ ), x = G(() => ({ hours: l.hours, minutes: l.minutes, seconds: l.seconds })), y = (c, U) => d.value.enabled && !d.value.disableTimeRangeValidation ? !l.validateTime(c, U) : !1, z = (c, U) => {
5231
5231
  if (d.value.enabled && !d.value.disableTimeRangeValidation) {
5232
5232
  const te = U ? +l[`${c}Increment`] : -+l[`${c}Increment`], B = l[c] + te;
5233
5233
  return !l.validateTime(c, B);
@@ -5243,14 +5243,14 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
5243
5243
  dp__time_col_sec: l.enableSeconds && l.is24,
5244
5244
  dp__time_col_sec_with_button: l.enableSeconds && !l.is24
5245
5245
  })
5246
- ), M = G(() => {
5246
+ ), D = G(() => {
5247
5247
  const c = [{ type: "hours" }];
5248
5248
  return l.enableMinutes && c.push({ type: "", separator: !0 }, {
5249
5249
  type: "minutes"
5250
5250
  }), l.enableSeconds && c.push({ type: "", separator: !0 }, {
5251
5251
  type: "seconds"
5252
5252
  }), c;
5253
- }), Y = G(() => M.value.filter((c) => !c.separator)), x = G(() => (c) => {
5253
+ }), Y = G(() => D.value.filter((c) => !c.separator)), M = G(() => (c) => {
5254
5254
  if (c === "hours") {
5255
5255
  const U = ue(+l.hours);
5256
5256
  return { text: U < 10 ? `0${U}` : `${U}`, value: U };
@@ -5265,11 +5265,11 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
5265
5265
  const U = l.is24 ? 24 : 12, te = c === "hours" ? U : 60, B = +l[`${c}GridIncrement`], ke = c === "hours" && !l.is24 ? B : 0, $ = [];
5266
5266
  for (let Z = ke; Z < te; Z += B)
5267
5267
  $.push({ value: l.is24 ? Z : oe(Z, c), text: Z < 10 ? `0${Z}` : `${Z}` });
5268
- return c === "hours" && !l.is24 && $.unshift({ value: h.value === "PM" ? 12 : 0, text: "12" }), oa($, (Z) => ({ active: !1, disabled: k.value.times[c].includes(Z.value) || !j(Z.value, c) || Q(c, Z.value) || g(c, Z.value) }));
5268
+ return c === "hours" && !l.is24 && $.unshift({ value: h.value === "PM" ? 12 : 0, text: "12" }), oa($, (Z) => ({ active: !1, disabled: k.value.times[c].includes(Z.value) || !j(Z.value, c) || Q(c, Z.value) || y(c, Z.value) }));
5269
5269
  }, T = (c) => c >= 0 ? c : 59, ie = (c) => c >= 0 ? c : 23, j = (c, U) => {
5270
5270
  const te = l.minTime ? I(un(l.minTime)) : null, B = l.maxTime ? I(un(l.maxTime)) : null, ke = I(
5271
5271
  un(
5272
- D.value,
5272
+ x.value,
5273
5273
  U,
5274
5274
  U === "minutes" || U === "seconds" ? T(c) : ie(c)
5275
5275
  )
@@ -5303,18 +5303,18 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
5303
5303
  }, ee = (c, U) => (u(c), t(`update:${c}`, U));
5304
5304
  return n({ openChildCmp: We }), (c, U) => {
5305
5305
  var te;
5306
- return c.disabled ? F("", !0) : (y(), W("div", Ci, [
5307
- (y(!0), W(be, null, Pe(M.value, (B, ke) => {
5306
+ return c.disabled ? F("", !0) : (g(), W("div", Ci, [
5307
+ (g(!0), W(be, null, Pe(D.value, (B, ke) => {
5308
5308
  var $, Z, me;
5309
- return y(), W("div", {
5309
+ return g(), W("div", {
5310
5310
  key: ke,
5311
5311
  class: Me(he.value)
5312
5312
  }, [
5313
- B.separator ? (y(), W(be, { key: 0 }, [
5314
- w.value ? F("", !0) : (y(), W(be, { key: 0 }, [
5313
+ B.separator ? (g(), W(be, { key: 0 }, [
5314
+ w.value ? F("", !0) : (g(), W(be, { key: 0 }, [
5315
5315
  Ye(":")
5316
5316
  ], 64))
5317
- ], 64)) : (y(), W(be, { key: 1 }, [
5317
+ ], 64)) : (g(), W(be, { key: 1 }, [
5318
5318
  _e("button", {
5319
5319
  ref_for: !0,
5320
5320
  ref: (xe) => V(xe, ke, 0),
@@ -5335,21 +5335,21 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
5335
5335
  onMousedown: (xe) => i(m).timeArrowHoldThreshold ? p(B.type, !0) : void 0,
5336
5336
  onMouseup: J
5337
5337
  }, [
5338
- l.timePickerInline ? (y(), W(be, { key: 1 }, [
5339
- c.$slots["tp-inline-arrow-up"] ? ce(c.$slots, "tp-inline-arrow-up", { key: 0 }) : (y(), W(be, { key: 1 }, [
5338
+ l.timePickerInline ? (g(), W(be, { key: 1 }, [
5339
+ c.$slots["tp-inline-arrow-up"] ? ce(c.$slots, "tp-inline-arrow-up", { key: 0 }) : (g(), W(be, { key: 1 }, [
5340
5340
  U[2] || (U[2] = _e("span", { class: "dp__tp_inline_btn_bar dp__tp_btn_in_l" }, null, -1)),
5341
5341
  U[3] || (U[3] = _e("span", { class: "dp__tp_inline_btn_bar dp__tp_btn_in_r" }, null, -1))
5342
5342
  ], 64))
5343
- ], 64)) : (y(), W(be, { key: 0 }, [
5343
+ ], 64)) : (g(), W(be, { key: 0 }, [
5344
5344
  c.$slots["arrow-up"] ? ce(c.$slots, "arrow-up", { key: 0 }) : F("", !0),
5345
- c.$slots["arrow-up"] ? F("", !0) : (y(), se(i(Rn), { key: 1 }))
5345
+ c.$slots["arrow-up"] ? F("", !0) : (g(), se(i(Rn), { key: 1 }))
5346
5346
  ], 64))
5347
5347
  ], 42, $i),
5348
5348
  _e("button", {
5349
5349
  ref_for: !0,
5350
5350
  ref: (xe) => V(xe, ke, 1),
5351
5351
  type: "button",
5352
- "aria-label": `${x.value(B.type).text}-${(Z = i(v)) == null ? void 0 : Z.openTpOverlay(B.type)}`,
5352
+ "aria-label": `${M.value(B.type).text}-${(Z = i(v)) == null ? void 0 : Z.openTpOverlay(B.type)}`,
5353
5353
  class: Me({
5354
5354
  dp__time_display: !0,
5355
5355
  dp__time_display_block: !c.timePickerInline,
@@ -5366,11 +5366,11 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
5366
5366
  }, [
5367
5367
  c.$slots[B.type] ? ce(c.$slots, B.type, {
5368
5368
  key: 0,
5369
- text: x.value(B.type).text,
5370
- value: x.value(B.type).value
5369
+ text: M.value(B.type).text,
5370
+ value: M.value(B.type).value
5371
5371
  }) : F("", !0),
5372
- c.$slots[B.type] ? F("", !0) : (y(), W(be, { key: 1 }, [
5373
- Ye(Ce(x.value(B.type).text), 1)
5372
+ c.$slots[B.type] ? F("", !0) : (g(), W(be, { key: 1 }, [
5373
+ Ye(Ce(M.value(B.type).text), 1)
5374
5374
  ], 64))
5375
5375
  ], 42, Oi),
5376
5376
  _e("button", {
@@ -5393,26 +5393,26 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
5393
5393
  onMousedown: (xe) => i(m).timeArrowHoldThreshold ? p(B.type, !1) : void 0,
5394
5394
  onMouseup: J
5395
5395
  }, [
5396
- l.timePickerInline ? (y(), W(be, { key: 1 }, [
5397
- c.$slots["tp-inline-arrow-down"] ? ce(c.$slots, "tp-inline-arrow-down", { key: 0 }) : (y(), W(be, { key: 1 }, [
5396
+ l.timePickerInline ? (g(), W(be, { key: 1 }, [
5397
+ c.$slots["tp-inline-arrow-down"] ? ce(c.$slots, "tp-inline-arrow-down", { key: 0 }) : (g(), W(be, { key: 1 }, [
5398
5398
  U[4] || (U[4] = _e("span", { class: "dp__tp_inline_btn_bar dp__tp_btn_in_l" }, null, -1)),
5399
5399
  U[5] || (U[5] = _e("span", { class: "dp__tp_inline_btn_bar dp__tp_btn_in_r" }, null, -1))
5400
5400
  ], 64))
5401
- ], 64)) : (y(), W(be, { key: 0 }, [
5401
+ ], 64)) : (g(), W(be, { key: 0 }, [
5402
5402
  c.$slots["arrow-down"] ? ce(c.$slots, "arrow-down", { key: 0 }) : F("", !0),
5403
- c.$slots["arrow-down"] ? F("", !0) : (y(), se(i(En), { key: 1 }))
5403
+ c.$slots["arrow-down"] ? F("", !0) : (g(), se(i(En), { key: 1 }))
5404
5404
  ], 64))
5405
5405
  ], 42, Si)
5406
5406
  ], 64))
5407
5407
  ], 2);
5408
5408
  }), 128)),
5409
- c.is24 ? F("", !0) : (y(), W("div", Yi, [
5409
+ c.is24 ? F("", !0) : (g(), W("div", Yi, [
5410
5410
  c.$slots["am-pm-button"] ? ce(c.$slots, "am-pm-button", {
5411
5411
  key: 0,
5412
5412
  toggle: ge,
5413
5413
  value: h.value
5414
5414
  }) : F("", !0),
5415
- c.$slots["am-pm-button"] ? F("", !0) : (y(), W("button", {
5415
+ c.$slots["am-pm-button"] ? F("", !0) : (g(), W("button", {
5416
5416
  key: 1,
5417
5417
  ref_key: "amPmButton",
5418
5418
  ref: S,
@@ -5425,7 +5425,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
5425
5425
  onKeydown: U[0] || (U[0] = (B) => i(lt)(B, () => ge(), !0))
5426
5426
  }, Ce(h.value), 41, Ii))
5427
5427
  ])),
5428
- (y(!0), W(be, null, Pe(Y.value, (B, ke) => (y(), se(sa, {
5428
+ (g(!0), W(be, null, Pe(Y.value, (B, ke) => (g(), se(sa, {
5429
5429
  key: ke,
5430
5430
  name: i(f)(_[B.type]),
5431
5431
  css: i(b)
@@ -5433,7 +5433,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
5433
5433
  default: le(() => {
5434
5434
  var $, Z;
5435
5435
  return [
5436
- _[B.type] ? (y(), se(Aa, {
5436
+ _[B.type] ? (g(), se(Aa, {
5437
5437
  key: 0,
5438
5438
  items: q(B.type),
5439
5439
  "is-last": c.autoApply && !i(m).keepActionRow,
@@ -5450,7 +5450,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
5450
5450
  }, tt({
5451
5451
  "button-icon": le(() => [
5452
5452
  c.$slots["clock-icon"] ? ce(c.$slots, "clock-icon", { key: 0 }) : F("", !0),
5453
- c.$slots["clock-icon"] ? F("", !0) : (y(), se(ia(c.timePickerInline ? i(da) : i(Vn)), { key: 1 }))
5453
+ c.$slots["clock-icon"] ? F("", !0) : (g(), se(ia(c.timePickerInline ? i(da) : i(Vn)), { key: 1 }))
5454
5454
  ]),
5455
5455
  _: 2
5456
5456
  }, [
@@ -5512,7 +5512,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
5512
5512
  Je(() => {
5513
5513
  t("mount"), !l.timePicker && l.arrowNavigation ? r([Xe(S.value)], "time") : o(!0, l.timePicker);
5514
5514
  });
5515
- const C = G(() => f.value.enabled && l.modelAuto ? Bl(l.internalModelValue) : !0), D = X(!1), g = (q) => ({
5515
+ const C = G(() => f.value.enabled && l.modelAuto ? Bl(l.internalModelValue) : !0), x = X(!1), y = (q) => ({
5516
5516
  hours: Array.isArray(l.hours) ? l.hours[q] : l.hours,
5517
5517
  minutes: Array.isArray(l.minutes) ? l.minutes[q] : l.minutes,
5518
5518
  seconds: Array.isArray(l.seconds) ? l.seconds[q] : l.seconds
@@ -5520,12 +5520,12 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
5520
5520
  const q = [];
5521
5521
  if (f.value.enabled)
5522
5522
  for (let T = 0; T < 2; T++)
5523
- q.push(g(T));
5523
+ q.push(y(T));
5524
5524
  else
5525
- q.push(g(0));
5525
+ q.push(y(0));
5526
5526
  return q;
5527
5527
  }), H = (q, T = !1, ie = "") => {
5528
- T || t("reset-flow"), D.value = q, t(q ? "overlay-opened" : "overlay-closed", et.time), l.arrowNavigation && o(q), ct(() => {
5528
+ T || t("reset-flow"), x.value = q, t(q ? "overlay-opened" : "overlay-closed", et.time), l.arrowNavigation && o(q), ct(() => {
5529
5529
  ie !== "" && N.value[0] && N.value[0].openChildCmp(ie);
5530
5530
  });
5531
5531
  }, L = G(() => ({
@@ -5534,11 +5534,11 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
5534
5534
  dp__button_bottom: l.autoApply && !d.value.keepActionRow
5535
5535
  })), re = dt(v, "timePicker"), pe = (q, T, ie) => f.value.enabled ? T === 0 ? [q, z.value[1][ie]] : [z.value[0][ie], q] : q, he = (q) => {
5536
5536
  t("update:hours", q);
5537
- }, M = (q) => {
5537
+ }, D = (q) => {
5538
5538
  t("update:minutes", q);
5539
5539
  }, Y = (q) => {
5540
5540
  t("update:seconds", q);
5541
- }, x = () => {
5541
+ }, M = () => {
5542
5542
  if (w.value && !m.value.enabled && !l.noOverlayFocus) {
5543
5543
  const q = Ll(w.value);
5544
5544
  q && q.focus({ preventScroll: !0 });
@@ -5550,13 +5550,13 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
5550
5550
  };
5551
5551
  return n({ toggleTimePicker: H }), (q, T) => {
5552
5552
  var ie;
5553
- return y(), W("div", Ri, [
5554
- !q.timePicker && !q.timePickerInline ? Va((y(), W("button", {
5553
+ return g(), W("div", Ri, [
5554
+ !q.timePicker && !q.timePickerInline ? Va((g(), W("button", {
5555
5555
  key: 0,
5556
5556
  ref_key: "openTimePickerBtn",
5557
5557
  ref: S,
5558
5558
  type: "button",
5559
- class: Me({ ...L.value, "dp--hidden-el": D.value }),
5559
+ class: Me({ ...L.value, "dp--hidden-el": x.value }),
5560
5560
  "aria-label": (ie = i(k)) == null ? void 0 : ie.openTimePicker,
5561
5561
  tabindex: q.noOverlayFocus ? void 0 : 0,
5562
5562
  "data-test": "open-time-picker-btn",
@@ -5564,18 +5564,18 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
5564
5564
  onClick: T[1] || (T[1] = (j) => H(!0))
5565
5565
  }, [
5566
5566
  q.$slots["clock-icon"] ? ce(q.$slots, "clock-icon", { key: 0 }) : F("", !0),
5567
- q.$slots["clock-icon"] ? F("", !0) : (y(), se(i(Vn), { key: 1 }))
5567
+ q.$slots["clock-icon"] ? F("", !0) : (g(), se(i(Vn), { key: 1 }))
5568
5568
  ], 42, Ei)), [
5569
5569
  [Ra, !i(h)(q.hideNavigation, "time")]
5570
5570
  ]) : F("", !0),
5571
5571
  Oe(sa, {
5572
- name: i(b)(D.value),
5572
+ name: i(b)(x.value),
5573
5573
  css: i(_) && !q.timePickerInline
5574
5574
  }, {
5575
5575
  default: le(() => {
5576
5576
  var j, O;
5577
5577
  return [
5578
- D.value || q.timePicker || q.timePickerInline ? (y(), W("div", {
5578
+ x.value || q.timePicker || q.timePickerInline ? (g(), W("div", {
5579
5579
  key: 0,
5580
5580
  ref_key: "overlayRef",
5581
5581
  ref: w,
@@ -5601,14 +5601,14 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
5601
5601
  minutes: e.minutes,
5602
5602
  seconds: e.seconds,
5603
5603
  setHours: he,
5604
- setMinutes: M,
5604
+ setMinutes: D,
5605
5605
  setSeconds: Y
5606
5606
  }) : F("", !0),
5607
- q.$slots["time-picker-overlay"] ? F("", !0) : (y(), W("div", {
5607
+ q.$slots["time-picker-overlay"] ? F("", !0) : (g(), W("div", {
5608
5608
  key: 1,
5609
5609
  class: Me(q.timePickerInline ? "dp__flex" : "dp__overlay_row dp__flex_row")
5610
5610
  }, [
5611
- (y(!0), W(be, null, Pe(z.value, (u, P) => Va((y(), se(Vi, Ge({
5611
+ (g(!0), W(be, null, Pe(z.value, (u, P) => Va((g(), se(Vi, Ge({
5612
5612
  key: P,
5613
5613
  ref_for: !0
5614
5614
  }, {
@@ -5626,9 +5626,9 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
5626
5626
  ref: N,
5627
5627
  "validate-time": (J, p) => e.validateTime(J, pe(p, P, J)),
5628
5628
  "onUpdate:hours": (J) => he(pe(J, P, "hours")),
5629
- "onUpdate:minutes": (J) => M(pe(J, P, "minutes")),
5629
+ "onUpdate:minutes": (J) => D(pe(J, P, "minutes")),
5630
5630
  "onUpdate:seconds": (J) => Y(pe(J, P, "seconds")),
5631
- onMounted: x,
5631
+ onMounted: M,
5632
5632
  onOverlayClosed: Q,
5633
5633
  onOverlayOpened: oe,
5634
5634
  onAmPmChange: T[2] || (T[2] = (J) => q.$emit("am-pm-change", J))
@@ -5643,7 +5643,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
5643
5643
  [Ra, P === 0 ? !0 : C.value]
5644
5644
  ])), 128))
5645
5645
  ], 2)),
5646
- !q.timePicker && !q.timePickerInline ? Va((y(), W("button", {
5646
+ !q.timePicker && !q.timePickerInline ? Va((g(), W("button", {
5647
5647
  key: 2,
5648
5648
  ref_key: "closeTimePickerBtn",
5649
5649
  ref: E,
@@ -5655,7 +5655,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
5655
5655
  onClick: T[4] || (T[4] = (u) => H(!1))
5656
5656
  }, [
5657
5657
  q.$slots["calendar-icon"] ? ce(q.$slots, "calendar-icon", { key: 0 }) : F("", !0),
5658
- q.$slots["calendar-icon"] ? F("", !0) : (y(), se(i(da), { key: 1 }))
5658
+ q.$slots["calendar-icon"] ? F("", !0) : (g(), se(i(da), { key: 1 }))
5659
5659
  ], 42, Li)), [
5660
5660
  [Ra, !i(h)(q.hideNavigation, "time")]
5661
5661
  ]) : F("", !0)
@@ -5673,16 +5673,16 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
5673
5673
  n[w] = I;
5674
5674
  }, k = G(() => e.modelAuto && l.value.enabled ? Array.isArray(a.value) ? a.value.length > 1 : !1 : l.value.enabled), m = (w, I) => {
5675
5675
  const C = Object.fromEntries(
5676
- Object.keys(n).map((D) => D === w ? [D, I] : [D, n[D]].slice())
5676
+ Object.keys(n).map((x) => x === w ? [x, I] : [x, n[x]].slice())
5677
5677
  );
5678
5678
  if (k.value && !l.value.disableTimeRangeValidation) {
5679
- const D = (z) => a.value ? Bt(
5679
+ const x = (z) => a.value ? Bt(
5680
5680
  a.value[z],
5681
5681
  C.hours[z],
5682
5682
  C.minutes[z],
5683
5683
  C.seconds[z]
5684
- ) : null, g = (z) => Yl(a.value[z], 0);
5685
- return !(Te(D(0), D(1)) && (la(D(0), g(1)) || Da(D(1), g(0))));
5684
+ ) : null, y = (z) => Yl(a.value[z], 0);
5685
+ return !(Te(x(0), x(1)) && (la(x(0), y(1)) || Da(x(1), y(0))));
5686
5686
  }
5687
5687
  return !0;
5688
5688
  }, d = (w, I) => {
@@ -5693,12 +5693,12 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
5693
5693
  d("minutes", w);
5694
5694
  }, _ = (w) => {
5695
5695
  d("seconds", w);
5696
- }, h = (w, I, C, D) => {
5697
- I && f(w), !I && !C && b(w), C && _(w), a.value && D(a.value);
5696
+ }, h = (w, I, C, x) => {
5697
+ I && f(w), !I && !C && b(w), C && _(w), a.value && x(a.value);
5698
5698
  }, S = (w) => {
5699
5699
  if (w) {
5700
- const I = Array.isArray(w), C = I ? [+w[0].hours, +w[1].hours] : +w.hours, D = I ? [+w[0].minutes, +w[1].minutes] : +w.minutes, g = I ? [+w[0].seconds, +w[1].seconds] : +w.seconds;
5701
- s("hours", C), s("minutes", D), e.enableSeconds && s("seconds", g);
5700
+ const I = Array.isArray(w), C = I ? [+w[0].hours, +w[1].hours] : +w.hours, x = I ? [+w[0].minutes, +w[1].minutes] : +w.minutes, y = I ? [+w[0].seconds, +w[1].seconds] : +w.seconds;
5701
+ s("hours", C), s("minutes", x), e.enableSeconds && s("seconds", y);
5702
5702
  }
5703
5703
  }, E = (w, I) => {
5704
5704
  const C = {
@@ -5709,8 +5709,8 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
5709
5709
  }, N = G(() => (w, I) => {
5710
5710
  var C;
5711
5711
  if (Array.isArray(e.disabledTimes)) {
5712
- const { disabledArr: D, hours: g } = E(w, I), z = D.filter((H) => +H.hours === g);
5713
- return ((C = z[0]) == null ? void 0 : C.minutes) === "*" ? { hours: [g], minutes: void 0, seconds: void 0 } : {
5712
+ const { disabledArr: x, hours: y } = E(w, I), z = x.filter((H) => +H.hours === y);
5713
+ return ((C = z[0]) == null ? void 0 : C.minutes) === "*" ? { hours: [y], minutes: void 0, seconds: void 0 } : {
5714
5714
  hours: [],
5715
5715
  minutes: (z == null ? void 0 : z.map((H) => +H.minutes)) ?? [],
5716
5716
  seconds: (z == null ? void 0 : z.map((H) => H.seconds ? +H.seconds : void 0)) ?? []
@@ -5737,51 +5737,51 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
5737
5737
  function _() {
5738
5738
  n("update-flow-step");
5739
5739
  }
5740
- const h = (D) => {
5741
- const { hours: g, minutes: z, seconds: H } = D;
5742
- return { hours: +g, minutes: +z, seconds: H ? +H : 0 };
5740
+ const h = (x) => {
5741
+ const { hours: y, minutes: z, seconds: H } = x;
5742
+ return { hours: +y, minutes: +z, seconds: H ? +H : 0 };
5743
5743
  }, S = () => {
5744
5744
  if (e.startTime) {
5745
5745
  if (Array.isArray(e.startTime)) {
5746
- const g = h(e.startTime[0]), z = h(e.startTime[1]);
5747
- return [Ie(K(), g), Ie(K(), z)];
5746
+ const y = h(e.startTime[0]), z = h(e.startTime[1]);
5747
+ return [Ie(K(), y), Ie(K(), z)];
5748
5748
  }
5749
- const D = h(e.startTime);
5750
- return Ie(K(), D);
5749
+ const x = h(e.startTime);
5750
+ return Ie(K(), x);
5751
5751
  }
5752
5752
  return o.value.enabled ? [null, null] : null;
5753
5753
  }, E = () => {
5754
5754
  if (o.value.enabled) {
5755
- const [D, g] = S();
5755
+ const [x, y] = S();
5756
5756
  t.value = [
5757
- it(k(D, 0), v.value.timezone),
5758
- it(k(g, 1), v.value.timezone)
5757
+ it(k(x, 0), v.value.timezone),
5758
+ it(k(y, 1), v.value.timezone)
5759
5759
  ];
5760
5760
  } else
5761
5761
  t.value = it(k(S()), v.value.timezone);
5762
- }, N = (D) => Array.isArray(D) ? [Xt(K(D[0])), Xt(K(D[1]))] : [Xt(D ?? K())], w = (D, g, z) => {
5763
- m("hours", D), m("minutes", g), m("seconds", e.enableSeconds ? z : 0);
5762
+ }, N = (x) => Array.isArray(x) ? [Xt(K(x[0])), Xt(K(x[1]))] : [Xt(x ?? K())], w = (x, y, z) => {
5763
+ m("hours", x), m("minutes", y), m("seconds", e.enableSeconds ? z : 0);
5764
5764
  }, I = () => {
5765
- const [D, g] = N(t.value);
5765
+ const [x, y] = N(t.value);
5766
5766
  return o.value.enabled ? w(
5767
- [D.hours, g.hours],
5768
- [D.minutes, g.minutes],
5769
- [D.seconds, g.seconds]
5770
- ) : w(D.hours, D.minutes, D.seconds);
5767
+ [x.hours, y.hours],
5768
+ [x.minutes, y.minutes],
5769
+ [x.seconds, y.seconds]
5770
+ ) : w(x.hours, x.minutes, x.seconds);
5771
5771
  };
5772
5772
  Je(() => {
5773
5773
  if (!e.shadow)
5774
5774
  return d(r.value), t.value ? I() : E();
5775
5775
  });
5776
5776
  const C = () => {
5777
- Array.isArray(t.value) ? t.value = t.value.map((D, g) => D && k(D, g)) : t.value = k(t.value), n("time-update");
5777
+ Array.isArray(t.value) ? t.value = t.value.map((x, y) => x && k(x, y)) : t.value = k(t.value), n("time-update");
5778
5778
  };
5779
5779
  return {
5780
5780
  modelValue: t,
5781
5781
  time: l,
5782
5782
  disabledTimesConfig: f,
5783
- updateTime: (D, g = !0, z = !1) => {
5784
- s(D, g, z, C);
5783
+ updateTime: (x, y = !0, z = !1) => {
5784
+ s(x, y, z, C);
5785
5785
  },
5786
5786
  validateTime: b
5787
5787
  };
@@ -5813,7 +5813,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
5813
5813
  }), toggleTimePicker: (b, _ = !1, h = "") => {
5814
5814
  var S;
5815
5815
  (S = v.value) == null || S.toggleTimePicker(b, _, h);
5816
- } }), (b, _) => (y(), se(Qa, {
5816
+ } }), (b, _) => (g(), se(Qa, {
5817
5817
  "multi-calendars": 0,
5818
5818
  stretch: ""
5819
5819
  }, {
@@ -5874,7 +5874,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
5874
5874
  defaultedHighlight: m,
5875
5875
  propDates: d,
5876
5876
  defaultedUI: f
5877
- } = Be(l), { transitionName: b, showTransition: _ } = Ca(r), { buildMatrix: h } = Nt(), { handleMonthYearChange: S, isDisabled: E, updateMonthYear: N } = fi(l, t), { showLeftIcon: w, showRightIcon: I } = ja(), C = X(!1), D = X(!1), g = X(!1), z = X([null, null, null, null]);
5877
+ } = Be(l), { transitionName: b, showTransition: _ } = Ca(r), { buildMatrix: h } = Nt(), { handleMonthYearChange: S, isDisabled: E, updateMonthYear: N } = fi(l, t), { showLeftIcon: w, showRightIcon: I } = ja(), C = X(!1), x = X(!1), y = X(!1), z = X([null, null, null, null]);
5878
5878
  Je(() => {
5879
5879
  t("mount");
5880
5880
  });
@@ -5891,7 +5891,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
5891
5891
  instance: l.instance,
5892
5892
  updateMonthYear: N,
5893
5893
  toggle: O === ft.month ? Q : oe
5894
- })), he = G(() => l.months.find((u) => u.value === l.month) || { text: "", value: 0 }), M = G(() => oa(l.months, (O) => {
5894
+ })), he = G(() => l.months.find((u) => u.value === l.month) || { text: "", value: 0 }), D = G(() => oa(l.months, (O) => {
5895
5895
  const u = l.month === O.value, P = Ta(
5896
5896
  O.value,
5897
5897
  Hl(l.year, d.value.minDate),
@@ -5905,12 +5905,12 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
5905
5905
  ua(d.value.maxDate)
5906
5906
  ) || s.value.years.includes(O.value), J = Fn(m.value, O.value);
5907
5907
  return { active: u, disabled: P, highlighted: J };
5908
- })), x = (O, u, P) => {
5909
- P !== void 0 ? O.value = P : O.value = !O.value, O.value ? (g.value = !0, t("overlay-opened", u)) : (g.value = !1, t("overlay-closed", u));
5908
+ })), M = (O, u, P) => {
5909
+ P !== void 0 ? O.value = P : O.value = !O.value, O.value ? (y.value = !0, t("overlay-opened", u)) : (y.value = !1, t("overlay-closed", u));
5910
5910
  }, Q = (O = !1, u) => {
5911
- q(O), x(C, et.month, u);
5911
+ q(O), M(C, et.month, u);
5912
5912
  }, oe = (O = !1, u) => {
5913
- q(O), x(D, et.year, u);
5913
+ q(O), M(x, et.year, u);
5914
5914
  }, q = (O) => {
5915
5915
  O || t("reset-flow");
5916
5916
  }, T = (O, u) => {
@@ -5926,7 +5926,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
5926
5926
  updateModelValue: (ge) => L.value = ge,
5927
5927
  text: he.value.text,
5928
5928
  showSelectionGrid: C.value,
5929
- items: M.value,
5929
+ items: D.value,
5930
5930
  ariaLabel: (O = o.value) == null ? void 0 : O.openMonthsOverlay,
5931
5931
  overlayLabel: ((P = (u = o.value).monthPicker) == null ? void 0 : P.call(u, !0)) ?? void 0
5932
5932
  },
@@ -5937,7 +5937,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
5937
5937
  modelValue: re.value,
5938
5938
  updateModelValue: (ge) => re.value = ge,
5939
5939
  text: Nl(l.year, l.locale),
5940
- showSelectionGrid: D.value,
5940
+ showSelectionGrid: x.value,
5941
5941
  items: Y.value,
5942
5942
  ariaLabel: (J = o.value) == null ? void 0 : J.openYearsOverlay,
5943
5943
  overlayLabel: ((ue = (p = o.value).yearPicker) == null ? void 0 : ue.call(p, !0)) ?? void 0
@@ -5950,15 +5950,15 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
5950
5950
  handleMonthYearChange: S
5951
5951
  }), (O, u) => {
5952
5952
  var P, J, p, ue, ge, We;
5953
- return y(), W("div", Fi, [
5954
- O.$slots["month-year"] ? (y(), W("div", qi, [
5953
+ return g(), W("div", Fi, [
5954
+ O.$slots["month-year"] ? (g(), W("div", qi, [
5955
5955
  ce(O.$slots, "month-year", Ke(ut({ month: e.month, year: e.year, months: e.months, years: e.years, updateMonthYear: i(N), handleMonthYearChange: i(S), instance: e.instance })))
5956
- ])) : (y(), W(be, { key: 1 }, [
5957
- O.$slots["top-extra"] ? (y(), W("div", zi, [
5956
+ ])) : (g(), W(be, { key: 1 }, [
5957
+ O.$slots["top-extra"] ? (g(), W("div", zi, [
5958
5958
  ce(O.$slots, "top-extra", { value: O.internalModelValue })
5959
5959
  ])) : F("", !0),
5960
5960
  _e("div", Ui, [
5961
- i(w)(i(v), e.instance) && !O.vertical ? (y(), se(ba, {
5961
+ i(w)(i(v), e.instance) && !O.vertical ? (g(), se(ba, {
5962
5962
  key: 0,
5963
5963
  "aria-label": (P = i(o)) == null ? void 0 : P.prevMonth,
5964
5964
  disabled: i(E)(!1),
@@ -5969,7 +5969,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
5969
5969
  }, {
5970
5970
  default: le(() => [
5971
5971
  O.$slots["arrow-left"] ? ce(O.$slots, "arrow-left", { key: 0 }) : F("", !0),
5972
- O.$slots["arrow-left"] ? F("", !0) : (y(), se(i(Yn), { key: 1 }))
5972
+ O.$slots["arrow-left"] ? F("", !0) : (g(), se(i(Yn), { key: 1 }))
5973
5973
  ]),
5974
5974
  _: 3
5975
5975
  }, 8, ["aria-label", "disabled", "class"])) : F("", !0),
@@ -5978,7 +5978,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
5978
5978
  dp__year_disable_select: O.disableYearSelect
5979
5979
  }])
5980
5980
  }, [
5981
- (y(!0), W(be, null, Pe(j.value, (V, ee) => (y(), W(be, {
5981
+ (g(!0), W(be, null, Pe(j.value, (V, ee) => (g(), W(be, {
5982
5982
  key: V.type
5983
5983
  }, [
5984
5984
  _e("button", {
@@ -5986,7 +5986,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
5986
5986
  ref: (c) => T(c, ee + 1),
5987
5987
  type: "button",
5988
5988
  "data-dp-element": `overlay-${V.type}`,
5989
- class: Me(["dp__btn dp__month_year_select", { "dp--hidden-el": g.value }]),
5989
+ class: Me(["dp__btn dp__month_year_select", { "dp--hidden-el": y.value }]),
5990
5990
  "aria-label": `${V.text}-${V.ariaLabel}`,
5991
5991
  "data-test": `${V.type}-toggle-overlay-${e.instance}`,
5992
5992
  onClick: V.toggle,
@@ -5997,7 +5997,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
5997
5997
  text: V.text,
5998
5998
  value: l[V.type]
5999
5999
  }) : F("", !0),
6000
- O.$slots[V.type] ? F("", !0) : (y(), W(be, { key: 1 }, [
6000
+ O.$slots[V.type] ? F("", !0) : (g(), W(be, { key: 1 }, [
6001
6001
  Ye(Ce(V.text), 1)
6002
6002
  ], 64))
6003
6003
  ], 42, Wi),
@@ -6006,7 +6006,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
6006
6006
  css: i(_)
6007
6007
  }, {
6008
6008
  default: le(() => [
6009
- V.showSelectionGrid ? (y(), se(Aa, {
6009
+ V.showSelectionGrid ? (g(), se(Aa, {
6010
6010
  key: 0,
6011
6011
  items: V.items,
6012
6012
  "arrow-navigation": O.arrowNavigation,
@@ -6026,7 +6026,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
6026
6026
  }, tt({
6027
6027
  "button-icon": le(() => [
6028
6028
  O.$slots["calendar-icon"] ? ce(O.$slots, "calendar-icon", { key: 0 }) : F("", !0),
6029
- O.$slots["calendar-icon"] ? F("", !0) : (y(), se(i(da), { key: 1 }))
6029
+ O.$slots["calendar-icon"] ? F("", !0) : (g(), se(i(da), { key: 1 }))
6030
6030
  ]),
6031
6031
  _: 2
6032
6032
  }, [
@@ -6062,7 +6062,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
6062
6062
  }, 1032, ["name", "css"])
6063
6063
  ], 64))), 128))
6064
6064
  ], 2),
6065
- i(w)(i(v), e.instance) && O.vertical ? (y(), se(ba, {
6065
+ i(w)(i(v), e.instance) && O.vertical ? (g(), se(ba, {
6066
6066
  key: 1,
6067
6067
  "aria-label": (p = i(o)) == null ? void 0 : p.prevMonth,
6068
6068
  "el-name": "action-prev",
@@ -6072,11 +6072,11 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
6072
6072
  }, {
6073
6073
  default: le(() => [
6074
6074
  O.$slots["arrow-up"] ? ce(O.$slots, "arrow-up", { key: 0 }) : F("", !0),
6075
- O.$slots["arrow-up"] ? F("", !0) : (y(), se(i(Rn), { key: 1 }))
6075
+ O.$slots["arrow-up"] ? F("", !0) : (g(), se(i(Rn), { key: 1 }))
6076
6076
  ]),
6077
6077
  _: 3
6078
6078
  }, 8, ["aria-label", "disabled", "class"])) : F("", !0),
6079
- i(I)(i(v), e.instance) ? (y(), se(ba, {
6079
+ i(I)(i(v), e.instance) ? (g(), se(ba, {
6080
6080
  key: 2,
6081
6081
  ref: "rightIcon",
6082
6082
  "el-name": "action-next",
@@ -6088,7 +6088,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
6088
6088
  }, {
6089
6089
  default: le(() => [
6090
6090
  O.$slots[O.vertical ? "arrow-down" : "arrow-right"] ? ce(O.$slots, O.vertical ? "arrow-down" : "arrow-right", { key: 0 }) : F("", !0),
6091
- O.$slots[O.vertical ? "arrow-down" : "arrow-right"] ? F("", !0) : (y(), se(ia(O.vertical ? i(En) : i(In)), { key: 1 }))
6091
+ O.$slots[O.vertical ? "arrow-down" : "arrow-right"] ? F("", !0) : (g(), se(ia(O.vertical ? i(En) : i(In)), { key: 1 }))
6092
6092
  ]),
6093
6093
  _: 3
6094
6094
  }, 8, ["disabled", "aria-label", "class"])) : F("", !0)
@@ -6143,7 +6143,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
6143
6143
  bottom: "",
6144
6144
  left: "",
6145
6145
  transform: ""
6146
- }), h = X([]), S = X(null), E = X(!0), N = X(""), w = X({ startX: 0, endX: 0, startY: 0, endY: 0 }), I = X([]), C = X({ left: "50%" }), D = X(!1), g = G(() => l.calendar ? l.calendar(l.mappedDates) : l.mappedDates), z = G(() => l.dayNames ? Array.isArray(l.dayNames) ? l.dayNames : l.dayNames(l.locale, +l.weekStart) : Eu(l.formatLocale, l.locale, +l.weekStart));
6146
+ }), h = X([]), S = X(null), E = X(!0), N = X(""), w = X({ startX: 0, endX: 0, startY: 0, endY: 0 }), I = X([]), C = X({ left: "50%" }), x = X(!1), y = G(() => l.calendar ? l.calendar(l.mappedDates) : l.mappedDates), z = G(() => l.dayNames ? Array.isArray(l.dayNames) ? l.dayNames : l.dayNames(l.locale, +l.weekStart) : Eu(l.formatLocale, l.locale, +l.weekStart));
6147
6147
  Je(() => {
6148
6148
  t("mount", { cmp: "calendar", refs: h }), v.value.noSwipe || S.value && (S.value.addEventListener("touchstart", T, { passive: !1 }), S.value.addEventListener("touchend", ie, { passive: !1 }), S.value.addEventListener("touchmove", j, { passive: !1 })), l.monthChangeOnScroll && S.value && S.value.addEventListener("wheel", P, { passive: !1 });
6149
6149
  });
@@ -6164,10 +6164,10 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
6164
6164
  dp__marker_dot: ee.type === "dot",
6165
6165
  dp__marker_line: ee.type === "line"
6166
6166
  };
6167
- }), he = G(() => (V) => Te(V, b.value)), M = G(() => ({
6167
+ }), he = G(() => (V) => Te(V, b.value)), D = G(() => ({
6168
6168
  dp__calendar: !0,
6169
6169
  dp__calendar_next: k.value.count > 0 && l.instance !== 0
6170
- })), Y = G(() => (V) => l.hideOffsetDates ? V.current : !0), x = async (V, ee) => {
6170
+ })), Y = G(() => (V) => l.hideOffsetDates ? V.current : !0), M = async (V, ee) => {
6171
6171
  const { width: c, height: U } = V.getBoundingClientRect();
6172
6172
  b.value = ee.value;
6173
6173
  let te = { left: `${c / 2}px` }, B = -50;
@@ -6183,10 +6183,10 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
6183
6183
  }, Q = async (V, ee, c) => {
6184
6184
  var U, te, B;
6185
6185
  const ke = Xe(h.value[ee][c]);
6186
- ke && ((U = V.marker) != null && U.customPosition && (B = (te = V.marker) == null ? void 0 : te.tooltip) != null && B.length ? _.value = V.marker.customPosition(ke) : await x(ke, V), t("tooltip-open", V.marker));
6186
+ ke && ((U = V.marker) != null && U.customPosition && (B = (te = V.marker) == null ? void 0 : te.tooltip) != null && B.length ? _.value = V.marker.customPosition(ke) : await M(ke, V), t("tooltip-open", V.marker));
6187
6187
  }, oe = async (V, ee, c) => {
6188
6188
  var U, te;
6189
- if (D.value && d.value.enabled && d.value.dragSelect)
6189
+ if (x.value && d.value.enabled && d.value.dragSelect)
6190
6190
  return t("select-date", V);
6191
6191
  t("set-hover-date", V), (te = (U = V.marker) == null ? void 0 : U.tooltip) != null && te.length && await Q(V, ee, c);
6192
6192
  }, q = (V) => {
@@ -6212,10 +6212,10 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
6212
6212
  }, ge = (V) => {
6213
6213
  Et(V, v.value);
6214
6214
  }, We = (V) => {
6215
- d.value.enabled && d.value.dragSelect ? (D.value = !0, t("select-date", V)) : d.value.enabled && t("select-date", V);
6215
+ d.value.enabled && d.value.dragSelect ? (x.value = !0, t("select-date", V)) : d.value.enabled && t("select-date", V);
6216
6216
  };
6217
- return n({ triggerTransition: L }), (V, ee) => (y(), W("div", {
6218
- class: Me(M.value)
6217
+ return n({ triggerTransition: L }), (V, ee) => (g(), W("div", {
6218
+ class: Me(D.value)
6219
6219
  }, [
6220
6220
  _e("div", {
6221
6221
  ref_key: "calendarWrapRef",
@@ -6224,10 +6224,10 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
6224
6224
  role: "grid"
6225
6225
  }, [
6226
6226
  _e("div", Xi, [
6227
- V.weekNumbers ? (y(), W("div", ji, Ce(V.weekNumName), 1)) : F("", !0),
6228
- (y(!0), W(be, null, Pe(z.value, (c, U) => {
6227
+ V.weekNumbers ? (g(), W("div", ji, Ce(V.weekNumName), 1)) : F("", !0),
6228
+ (g(!0), W(be, null, Pe(z.value, (c, U) => {
6229
6229
  var te, B;
6230
- return y(), W("div", {
6230
+ return g(), W("div", {
6231
6231
  key: U,
6232
6232
  class: "dp__calendar_header_item",
6233
6233
  role: "gridcell",
@@ -6239,7 +6239,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
6239
6239
  day: c,
6240
6240
  index: U
6241
6241
  }) : F("", !0),
6242
- V.$slots["calendar-header"] ? F("", !0) : (y(), W(be, { key: 1 }, [
6242
+ V.$slots["calendar-header"] ? F("", !0) : (g(), W(be, { key: 1 }, [
6243
6243
  Ye(Ce(c), 1)
6244
6244
  ], 64))
6245
6245
  ], 8, Gi);
@@ -6251,23 +6251,23 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
6251
6251
  css: !!V.transitions
6252
6252
  }, {
6253
6253
  default: le(() => [
6254
- E.value ? (y(), W("div", {
6254
+ E.value ? (g(), W("div", {
6255
6255
  key: 0,
6256
6256
  class: "dp__calendar",
6257
6257
  role: "rowgroup",
6258
- onMouseleave: ee[1] || (ee[1] = (c) => D.value = !1)
6258
+ onMouseleave: ee[1] || (ee[1] = (c) => x.value = !1)
6259
6259
  }, [
6260
- (y(!0), W(be, null, Pe(g.value, (c, U) => (y(), W("div", {
6260
+ (g(!0), W(be, null, Pe(y.value, (c, U) => (g(), W("div", {
6261
6261
  key: U,
6262
6262
  class: "dp__calendar_row",
6263
6263
  role: "row"
6264
6264
  }, [
6265
- V.weekNumbers ? (y(), W("div", Ki, [
6265
+ V.weekNumbers ? (g(), W("div", Ki, [
6266
6266
  _e("div", Ji, Ce(p(c.days)), 1)
6267
6267
  ])) : F("", !0),
6268
- (y(!0), W(be, null, Pe(c.days, (te, B) => {
6268
+ (g(!0), W(be, null, Pe(c.days, (te, B) => {
6269
6269
  var ke, $, Z;
6270
- return y(), W("div", {
6270
+ return g(), W("div", {
6271
6271
  id: i(Xl)(te.value),
6272
6272
  ref_for: !0,
6273
6273
  ref: (me) => u(me, U, B),
@@ -6285,7 +6285,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
6285
6285
  onMouseenter: (me) => oe(te, U, B),
6286
6286
  onMouseleave: (me) => q(te),
6287
6287
  onMousedown: (me) => We(te),
6288
- onMouseup: ee[0] || (ee[0] = (me) => D.value = !1)
6288
+ onMouseup: ee[0] || (ee[0] = (me) => x.value = !1)
6289
6289
  }, [
6290
6290
  _e("div", {
6291
6291
  class: Me(["dp__cell_inner", te.classData])
@@ -6295,22 +6295,22 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
6295
6295
  day: +te.text,
6296
6296
  date: te.value
6297
6297
  }) : F("", !0),
6298
- V.$slots.day ? F("", !0) : (y(), W(be, { key: 1 }, [
6298
+ V.$slots.day ? F("", !0) : (g(), W(be, { key: 1 }, [
6299
6299
  Ye(Ce(te.text), 1)
6300
6300
  ], 64)),
6301
- te.marker && Y.value(te) ? (y(), W(be, { key: 2 }, [
6301
+ te.marker && Y.value(te) ? (g(), W(be, { key: 2 }, [
6302
6302
  V.$slots.marker ? ce(V.$slots, "marker", {
6303
6303
  key: 0,
6304
6304
  marker: te.marker,
6305
6305
  day: +te.text,
6306
6306
  date: te.value
6307
- }) : (y(), W("div", {
6307
+ }) : (g(), W("div", {
6308
6308
  key: 1,
6309
6309
  class: Me(pe.value(te.marker)),
6310
6310
  style: ot(te.marker.color ? { backgroundColor: te.marker.color } : {})
6311
6311
  }, null, 6))
6312
6312
  ], 64)) : F("", !0),
6313
- he.value(te.value) ? (y(), W("div", {
6313
+ he.value(te.value) ? (g(), W("div", {
6314
6314
  key: 3,
6315
6315
  ref_for: !0,
6316
6316
  ref_key: "activeTooltip",
@@ -6318,12 +6318,12 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
6318
6318
  class: "dp__marker_tooltip",
6319
6319
  style: ot(_.value)
6320
6320
  }, [
6321
- (Z = te.marker) != null && Z.tooltip ? (y(), W("div", {
6321
+ (Z = te.marker) != null && Z.tooltip ? (g(), W("div", {
6322
6322
  key: 0,
6323
6323
  class: "dp__tooltip_content",
6324
6324
  onClick: ge
6325
6325
  }, [
6326
- (y(!0), W(be, null, Pe(te.marker.tooltip, (me, xe) => (y(), W("div", {
6326
+ (g(!0), W(be, null, Pe(te.marker.tooltip, (me, xe) => (g(), W("div", {
6327
6327
  key: xe,
6328
6328
  class: "dp__tooltip_text"
6329
6329
  }, [
@@ -6332,7 +6332,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
6332
6332
  tooltip: me,
6333
6333
  day: te.value
6334
6334
  }) : F("", !0),
6335
- V.$slots["marker-tooltip"] ? F("", !0) : (y(), W(be, { key: 1 }, [
6335
+ V.$slots["marker-tooltip"] ? F("", !0) : (g(), W(be, { key: 1 }, [
6336
6336
  _e("div", {
6337
6337
  class: "dp__tooltip_mark",
6338
6338
  style: ot(me.color ? { backgroundColor: me.color } : {})
@@ -6366,11 +6366,11 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
6366
6366
  defaultedTz: S,
6367
6367
  propDates: E,
6368
6368
  defaultedMultiDates: N
6369
- } = Be(e), { validateMonthYearInRange: w, isDisabled: I, isDateRangeAllowed: C, checkMinMaxRange: D } = Ht(e), { updateTimeValues: g, getSetDateTime: z, setTime: H, assignStartTime: L, validateTime: re, disabledTimesConfig: pe } = tr(e, m, s, t), he = G(
6369
+ } = Be(e), { validateMonthYearInRange: w, isDisabled: I, isDateRangeAllowed: C, checkMinMaxRange: x } = Ht(e), { updateTimeValues: y, getSetDateTime: z, setTime: H, assignStartTime: L, validateTime: re, disabledTimesConfig: pe } = tr(e, m, s, t), he = G(
6370
6370
  () => (A) => k.value[A] ? k.value[A].month : 0
6371
- ), M = G(
6371
+ ), D = G(
6372
6372
  () => (A) => k.value[A] ? k.value[A].year : 0
6373
- ), Y = (A) => !h.value.keepViewOnOffsetClick || A ? !0 : !o.value, x = (A, ne, R, ae = !1) => {
6373
+ ), Y = (A) => !h.value.keepViewOnOffsetClick || A ? !0 : !o.value, M = (A, ne, R, ae = !1) => {
6374
6374
  var de, at;
6375
6375
  Y(ae) && (k.value[A] || (k.value[A] = { month: 0, year: 0 }), k.value[A].month = ol(ne) ? (de = k.value[A]) == null ? void 0 : de.month : ne, k.value[A].year = ol(R) ? (at = k.value[A]) == null ? void 0 : at.year : R);
6376
6376
  }, Q = () => {
@@ -6390,9 +6390,9 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
6390
6390
  if (f.value.count && A && !e.startDate)
6391
6391
  return j(K(), A);
6392
6392
  }, ie = () => Array.isArray(s.value) && _.value.enabled ? De(s.value[0]) === De(s.value[1] ?? s.value[0]) : !1, j = (A = /* @__PURE__ */ new Date(), ne = !1) => {
6393
- if ((!f.value.count || !f.value.static || ne) && x(0, De(A), we(A)), f.value.count && (!f.value.solo || !s.value || ie()))
6393
+ if ((!f.value.count || !f.value.static || ne) && M(0, De(A), we(A)), f.value.count && (!f.value.solo || !s.value || ie()))
6394
6394
  for (let R = 1; R < f.value.count; R++) {
6395
- const ae = Ie(K(), { month: he.value(R - 1), year: M.value(R - 1) }), de = fl(ae, { months: 1 });
6395
+ const ae = Ie(K(), { month: he.value(R - 1), year: D.value(R - 1) }), de = fl(ae, { months: 1 });
6396
6396
  k.value[R] = { month: De(de), year: we(de) };
6397
6397
  }
6398
6398
  }, O = (A, ne) => {
@@ -6422,26 +6422,26 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
6422
6422
  const ne = s.value;
6423
6423
  J(ne, A), f.value.count && f.value.solo && We();
6424
6424
  }, ue = (A, ne) => {
6425
- const R = Ie(K(), { month: he.value(ne), year: M.value(ne) }), ae = A < 0 ? gt(R, 1) : ra(R, 1);
6426
- w(De(ae), we(ae), A < 0, e.preventMinMaxNavigation) && (x(ne, De(ae), we(ae)), n("update-month-year", { instance: ne, month: De(ae), year: we(ae) }), f.value.count && !f.value.solo && ge(ne), a());
6425
+ const R = Ie(K(), { month: he.value(ne), year: D.value(ne) }), ae = A < 0 ? gt(R, 1) : ra(R, 1);
6426
+ w(De(ae), we(ae), A < 0, e.preventMinMaxNavigation) && (M(ne, De(ae), we(ae)), n("update-month-year", { instance: ne, month: De(ae), year: we(ae) }), f.value.count && !f.value.solo && ge(ne), a());
6427
6427
  }, ge = (A) => {
6428
6428
  for (let ne = A - 1; ne >= 0; ne--) {
6429
- const R = ra(Ie(K(), { month: he.value(ne + 1), year: M.value(ne + 1) }), 1);
6430
- x(ne, De(R), we(R));
6429
+ const R = ra(Ie(K(), { month: he.value(ne + 1), year: D.value(ne + 1) }), 1);
6430
+ M(ne, De(R), we(R));
6431
6431
  }
6432
6432
  for (let ne = A + 1; ne <= f.value.count - 1; ne++) {
6433
- const R = gt(Ie(K(), { month: he.value(ne - 1), year: M.value(ne - 1) }), 1);
6434
- x(ne, De(R), we(R));
6433
+ const R = gt(Ie(K(), { month: he.value(ne - 1), year: D.value(ne - 1) }), 1);
6434
+ M(ne, De(R), we(R));
6435
6435
  }
6436
6436
  }, We = () => {
6437
6437
  if (Array.isArray(s.value) && s.value.length === 2) {
6438
6438
  const A = K(
6439
6439
  K(s.value[1] ? s.value[1] : gt(s.value[0], 1))
6440
6440
  ), [ne, R] = [De(s.value[0]), we(s.value[0])], [ae, de] = [De(s.value[1]), we(s.value[1])];
6441
- (ne !== ae || ne === ae && R !== de) && f.value.solo && x(1, De(A), we(A));
6442
- } else s.value && !Array.isArray(s.value) && (x(0, De(s.value), we(s.value)), j(K()));
6441
+ (ne !== ae || ne === ae && R !== de) && f.value.solo && M(1, De(A), we(A));
6442
+ } else s.value && !Array.isArray(s.value) && (M(0, De(s.value), we(s.value)), j(K()));
6443
6443
  }, V = () => {
6444
- e.startDate && (x(0, De(K(e.startDate)), we(K(e.startDate))), f.value.count && ge(0));
6444
+ e.startDate && (M(0, De(K(e.startDate)), we(K(e.startDate))), f.value.count && ge(0));
6445
6445
  }, ee = (A, ne) => {
6446
6446
  if (e.monthChangeOnScroll) {
6447
6447
  const R = (/* @__PURE__ */ new Date()).getTime() - r.value.getTime(), ae = Math.abs(A.deltaY);
@@ -6519,21 +6519,21 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
6519
6519
  C(R) ? (ne && Ot(A.value), l.value = R) : n("invalid-date", A.value);
6520
6520
  }, Ot = (A) => {
6521
6521
  const ne = De(K(A)), R = we(K(A));
6522
- if (x(0, ne, R), f.value.count > 0)
6522
+ if (M(0, ne, R), f.value.count > 0)
6523
6523
  for (let ae = 1; ae < f.value.count; ae++) {
6524
6524
  const de = Wu(
6525
- Ie(K(A), { year: M.value(ae - 1), month: he.value(ae - 1) })
6525
+ Ie(K(A), { year: D.value(ae - 1), month: he.value(ae - 1) })
6526
6526
  );
6527
- x(ae, de.month, de.year);
6527
+ M(ae, de.month, de.year);
6528
6528
  }
6529
6529
  }, _t = (A) => {
6530
- if (xe(A.value) || !D(A.value, s.value, _.value.fixedStart ? 0 : 1))
6530
+ if (xe(A.value) || !x(A.value, s.value, _.value.fixedStart ? 0 : 1))
6531
6531
  return n("invalid-date", A.value);
6532
6532
  l.value = Jl(K(A.value), s, n, _);
6533
6533
  }, ca = (A, ne) => {
6534
6534
  if (vt(), _.value.autoRange) return ye(A, ne);
6535
6535
  if (_.value.fixedStart || _.value.fixedEnd) return _t(A);
6536
- l.value[0] ? D(K(A.value), s.value) && !xe(A.value) ? Ne(K(A.value), K(l.value[0])) ? (l.value.unshift(K(A.value)), n("range-end", l.value[0])) : (l.value[1] = K(A.value), n("range-end", l.value[1])) : (e.autoApply && n("auto-apply-invalid", A.value), n("invalid-date", A.value)) : (l.value[0] = K(A.value), n("range-start", l.value[0]));
6536
+ l.value[0] ? x(K(A.value), s.value) && !xe(A.value) ? Ne(K(A.value), K(l.value[0])) ? (l.value.unshift(K(A.value)), n("range-end", l.value[0])) : (l.value[1] = K(A.value), n("range-end", l.value[1])) : (e.autoApply && n("auto-apply-invalid", A.value), n("invalid-date", A.value)) : (l.value[0] = K(A.value), n("range-start", l.value[0]));
6537
6537
  }, st = (A = !0) => e.enableSeconds ? Array.isArray(m.seconds) ? A ? m.seconds[0] : m.seconds[1] : m.seconds : 0, va = (A) => {
6538
6538
  l.value[A] = Bt(
6539
6539
  l.value[A],
@@ -6552,7 +6552,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
6552
6552
  vl(m.hours) && vl(m.minutes) && !N.value.enabled && (ca(A, ne), Oa());
6553
6553
  }, Ja = (A, ne) => {
6554
6554
  var R;
6555
- x(A, ne.month, ne.year, !0), f.value.count && !f.value.solo && ge(A), n("update-month-year", { instance: A, month: ne.month, year: ne.year }), a(f.value.solo ? A : void 0);
6555
+ M(A, ne.month, ne.year, !0), f.value.count && !f.value.solo && ge(A), n("update-month-year", { instance: A, month: ne.month, year: ne.year }), a(f.value.solo ? A : void 0);
6556
6556
  const ae = (R = e.flow) != null && R.length ? e.flow[e.flowStep] : void 0;
6557
6557
  !ne.fromNav && (ae === et.month || ae === et.year) && t();
6558
6558
  }, Za = (A, ne) => {
@@ -6580,7 +6580,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
6580
6580
  calendars: k,
6581
6581
  modelValue: s,
6582
6582
  month: he,
6583
- year: M,
6583
+ year: D,
6584
6584
  time: m,
6585
6585
  disabledTimesConfig: pe,
6586
6586
  today: d,
@@ -6595,7 +6595,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
6595
6595
  presetDate: Za,
6596
6596
  selectCurrentDate: en,
6597
6597
  updateTime: (A, ne = !0, R = !1) => {
6598
- g(A, ne, R, tn);
6598
+ y(A, ne, R, tn);
6599
6599
  },
6600
6600
  assignMonthAndYear: j
6601
6601
  };
@@ -6647,9 +6647,9 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
6647
6647
  updateMonthYear: w,
6648
6648
  presetDate: I,
6649
6649
  selectCurrentDate: C,
6650
- updateTime: D,
6651
- assignMonthAndYear: g
6652
- } = ts(l, t, ie, j), z = jt(), { setHoverDate: H, getDayClassData: L, clearHoverDate: re } = gs(s, l), { defaultedMultiCalendars: pe } = Be(l), he = X([]), M = X([]), Y = X(null), x = dt(z, "calendar"), Q = dt(z, "monthYear"), oe = dt(z, "timePicker"), q = (ee) => {
6650
+ updateTime: x,
6651
+ assignMonthAndYear: y
6652
+ } = ts(l, t, ie, j), z = jt(), { setHoverDate: H, getDayClassData: L, clearHoverDate: re } = gs(s, l), { defaultedMultiCalendars: pe } = Be(l), he = X([]), D = X([]), Y = X(null), M = dt(z, "calendar"), Q = dt(z, "monthYear"), oe = dt(z, "timePicker"), q = (ee) => {
6653
6653
  l.shadow || t("mount", ee);
6654
6654
  };
6655
6655
  Qe(
@@ -6663,7 +6663,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
6663
6663
  ), Qe(
6664
6664
  pe,
6665
6665
  (ee, c) => {
6666
- ee.count - c.count > 0 && g();
6666
+ ee.count - c.count > 0 && y();
6667
6667
  },
6668
6668
  { deep: !0 }
6669
6669
  );
@@ -6673,7 +6673,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
6673
6673
  })));
6674
6674
  function ie(ee) {
6675
6675
  var c;
6676
- ee || ee === 0 ? (c = M.value[ee]) == null || c.triggerTransition(o.value(ee), v.value(ee)) : M.value.forEach((U, te) => U.triggerTransition(o.value(te), v.value(te)));
6676
+ ee || ee === 0 ? (c = D.value[ee]) == null || c.triggerTransition(o.value(ee), v.value(ee)) : D.value.forEach((U, te) => U.triggerTransition(o.value(te), v.value(te)));
6677
6677
  }
6678
6678
  function j() {
6679
6679
  t("update-flow-step");
@@ -6724,7 +6724,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
6724
6724
  month: o,
6725
6725
  year: v,
6726
6726
  time: k,
6727
- updateTime: D,
6727
+ updateTime: x,
6728
6728
  updateMonthYear: w,
6729
6729
  selectDate: N,
6730
6730
  presetDate: I
@@ -6732,13 +6732,13 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
6732
6732
  changeMonth: ue,
6733
6733
  changeYear: ge,
6734
6734
  selectWeekDate: p
6735
- }), (ee, c) => (y(), W(be, null, [
6735
+ }), (ee, c) => (g(), W(be, null, [
6736
6736
  Oe(Qa, {
6737
6737
  "multi-calendars": i(pe).count,
6738
6738
  collapse: ee.collapse
6739
6739
  }, {
6740
6740
  default: le(({ instance: U, index: te }) => [
6741
- ee.disableMonthYearSelect ? F("", !0) : (y(), se(Qi, Ge({
6741
+ ee.disableMonthYearSelect ? F("", !0) : (g(), se(Qi, Ge({
6742
6742
  key: 0,
6743
6743
  ref: (B) => {
6744
6744
  B && (he.value[te] = B);
@@ -6764,7 +6764,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
6764
6764
  ]), 1040, ["months", "years", "month", "year", "instance", "onUpdateMonthYear"])),
6765
6765
  Oe(es, Ge({
6766
6766
  ref: (B) => {
6767
- B && (M.value[te] = B);
6767
+ B && (D.value[te] = B);
6768
6768
  },
6769
6769
  "mapped-dates": T.value(U),
6770
6770
  month: i(o)(U),
@@ -6781,7 +6781,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
6781
6781
  onTooltipOpen: c[6] || (c[6] = (B) => ee.$emit("tooltip-open", B)),
6782
6782
  onTooltipClose: c[7] || (c[7] = (B) => ee.$emit("tooltip-close", B))
6783
6783
  }), tt({ _: 2 }, [
6784
- Pe(i(x), (B, ke) => ({
6784
+ Pe(i(M), (B, ke) => ({
6785
6785
  name: B,
6786
6786
  fn: le(($) => [
6787
6787
  ce(ee.$slots, B, Ke(ut({ ...$ })))
@@ -6791,8 +6791,8 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
6791
6791
  ]),
6792
6792
  _: 3
6793
6793
  }, 8, ["multi-calendars", "collapse"]),
6794
- ee.enableTimePicker ? (y(), W("div", as, [
6795
- ee.$slots["time-picker"] ? ce(ee.$slots, "time-picker", Ke(Ge({ key: 0 }, { time: i(k), updateTime: i(D) }))) : (y(), se(er, Ge({
6794
+ ee.enableTimePicker ? (g(), W("div", as, [
6795
+ ee.$slots["time-picker"] ? ce(ee.$slots, "time-picker", Ke(Ge({ key: 0 }, { time: i(k), updateTime: i(x) }))) : (g(), se(er, Ge({
6796
6796
  key: 1,
6797
6797
  ref_key: "timePickerRef",
6798
6798
  ref: Y
@@ -6804,9 +6804,9 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
6804
6804
  "disabled-times-config": i(m),
6805
6805
  "validate-time": i(f),
6806
6806
  onMount: c[8] || (c[8] = (U) => q(i(Qt).timePicker)),
6807
- "onUpdate:hours": c[9] || (c[9] = (U) => i(D)(U)),
6808
- "onUpdate:minutes": c[10] || (c[10] = (U) => i(D)(U, !1)),
6809
- "onUpdate:seconds": c[11] || (c[11] = (U) => i(D)(U, !1, !0)),
6807
+ "onUpdate:hours": c[9] || (c[9] = (U) => i(x)(U)),
6808
+ "onUpdate:minutes": c[10] || (c[10] = (U) => i(x)(U, !1)),
6809
+ "onUpdate:seconds": c[11] || (c[11] = (U) => i(x)(U, !1, !0)),
6810
6810
  onResetFlow: c[12] || (c[12] = (U) => ee.$emit("reset-flow")),
6811
6811
  onOverlayClosed: c[13] || (c[13] = (U) => We(U, !1)),
6812
6812
  onOverlayOpened: c[14] || (c[14] = (U) => We(U, !0)),
@@ -6843,26 +6843,26 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
6843
6843
  filters: s,
6844
6844
  props: e,
6845
6845
  emit: n
6846
- }), D = (Y, x) => [Y, x].map((Q) => Dt(Q, "MMMM", { locale: e.formatLocale })).join("-"), g = G(() => (Y) => m.value ? Array.isArray(m.value) ? m.value.some((x) => nl(Y, x)) : nl(m.value, Y) : !1), z = (Y) => {
6846
+ }), x = (Y, M) => [Y, M].map((Q) => Dt(Q, "MMMM", { locale: e.formatLocale })).join("-"), y = G(() => (Y) => m.value ? Array.isArray(m.value) ? m.value.some((M) => nl(Y, M)) : nl(m.value, Y) : !1), z = (Y) => {
6847
6847
  if (o.value.enabled) {
6848
6848
  if (Array.isArray(m.value)) {
6849
- const x = Te(Y, m.value[0]) || Te(Y, m.value[1]);
6850
- return Ua(m.value, a.value, Y) && !x;
6849
+ const M = Te(Y, m.value[0]) || Te(Y, m.value[1]);
6850
+ return Ua(m.value, a.value, Y) && !M;
6851
6851
  }
6852
6852
  return !1;
6853
6853
  }
6854
6854
  return !1;
6855
- }, H = (Y, x) => Y.quarter === Kn(x) && Y.year === we(x), L = (Y) => typeof r.value == "function" ? r.value({ quarter: Kn(Y), year: we(Y) }) : !!r.value.quarters.find((x) => H(x, Y)), re = G(() => (Y) => {
6856
- const x = Ie(/* @__PURE__ */ new Date(), { year: d.value(Y) });
6855
+ }, H = (Y, M) => Y.quarter === Kn(M) && Y.year === we(M), L = (Y) => typeof r.value == "function" ? r.value({ quarter: Kn(Y), year: we(Y) }) : !!r.value.quarters.find((M) => H(M, Y)), re = G(() => (Y) => {
6856
+ const M = Ie(/* @__PURE__ */ new Date(), { year: d.value(Y) });
6857
6857
  return Er({
6858
- start: Ma(x),
6859
- end: kl(x)
6858
+ start: Ma(M),
6859
+ end: kl(M)
6860
6860
  }).map((Q) => {
6861
6861
  const oe = Wt(Q), q = Jn(Q), T = _(Q), ie = z(oe), j = L(oe);
6862
6862
  return {
6863
- text: D(oe, q),
6863
+ text: x(oe, q),
6864
6864
  value: oe,
6865
- active: g.value(oe),
6865
+ active: y.value(oe),
6866
6866
  highlighted: j,
6867
6867
  disabled: T,
6868
6868
  isBetween: ie
@@ -6872,7 +6872,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
6872
6872
  qn(Y, m, k.value.limit), n("auto-apply", !0);
6873
6873
  }, he = (Y) => {
6874
6874
  m.value = zn(m, Y, n), Xa(m.value, n, e.autoApply, e.modelAuto);
6875
- }, M = (Y) => {
6875
+ }, D = (Y) => {
6876
6876
  m.value = Y, n("auto-apply");
6877
6877
  };
6878
6878
  return {
@@ -6888,9 +6888,9 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
6888
6888
  a.value = Y;
6889
6889
  },
6890
6890
  selectYear: h,
6891
- selectQuarter: (Y, x, Q) => {
6891
+ selectQuarter: (Y, M, Q) => {
6892
6892
  if (!Q)
6893
- return b.value[x].month = De(Jn(Y)), k.value.enabled ? pe(Y) : o.value.enabled ? he(Y) : M(Y);
6893
+ return b.value[M].month = De(Jn(Y)), k.value.enabled ? pe(Y) : o.value.enabled ? he(Y) : D(Y);
6894
6894
  },
6895
6895
  toggleYearPicker: w,
6896
6896
  handleYearSelect: I,
@@ -6936,12 +6936,12 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
6936
6936
  selectQuarter: S,
6937
6937
  handleYearSelect: N,
6938
6938
  handleYear: w
6939
- }) }), (I, C) => (y(), se(Qa, {
6939
+ }) }), (I, C) => (g(), se(Qa, {
6940
6940
  "multi-calendars": i(v).count,
6941
6941
  collapse: I.collapse,
6942
6942
  stretch: ""
6943
6943
  }, {
6944
- default: le(({ instance: D }) => [
6944
+ default: le(({ instance: x }) => [
6945
6945
  _e("div", {
6946
6946
  class: "dp-quarter-picker-wrap",
6947
6947
  style: ot({ minHeight: `${i(s).modeHeight}px` })
@@ -6952,44 +6952,44 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
6952
6952
  }) : F("", !0),
6953
6953
  _e("div", null, [
6954
6954
  Oe(Gl, Ge(I.$props, {
6955
- items: i(k)(D),
6956
- instance: D,
6957
- "show-year-picker": i(_)[D],
6958
- year: i(m)(D),
6959
- "is-disabled": (g) => i(d)(D, g),
6960
- onHandleYear: (g) => i(w)(D, g),
6961
- onYearSelect: (g) => i(N)(g, D),
6962
- onToggleYearPicker: (g) => i(E)(D, g == null ? void 0 : g.flow, g == null ? void 0 : g.show)
6955
+ items: i(k)(x),
6956
+ instance: x,
6957
+ "show-year-picker": i(_)[x],
6958
+ year: i(m)(x),
6959
+ "is-disabled": (y) => i(d)(x, y),
6960
+ onHandleYear: (y) => i(w)(x, y),
6961
+ onYearSelect: (y) => i(N)(y, x),
6962
+ onToggleYearPicker: (y) => i(E)(x, y == null ? void 0 : y.flow, y == null ? void 0 : y.show)
6963
6963
  }), tt({ _: 2 }, [
6964
- Pe(i(o), (g, z) => ({
6965
- name: g,
6964
+ Pe(i(o), (y, z) => ({
6965
+ name: y,
6966
6966
  fn: le((H) => [
6967
- ce(I.$slots, g, Ke(ut(H)))
6967
+ ce(I.$slots, y, Ke(ut(H)))
6968
6968
  ])
6969
6969
  }))
6970
6970
  ]), 1040, ["items", "instance", "show-year-picker", "year", "is-disabled", "onHandleYear", "onYearSelect", "onToggleYearPicker"])
6971
6971
  ]),
6972
6972
  _e("div", rs, [
6973
- (y(!0), W(be, null, Pe(i(f)(D), (g, z) => (y(), W("div", { key: z }, [
6973
+ (g(!0), W(be, null, Pe(i(f)(x), (y, z) => (g(), W("div", { key: z }, [
6974
6974
  _e("button", {
6975
6975
  type: "button",
6976
6976
  class: Me(["dp--qr-btn", {
6977
- "dp--qr-btn-active": g.active,
6978
- "dp--qr-btn-between": g.isBetween,
6979
- "dp--qr-btn-disabled": g.disabled,
6980
- "dp--highlighted": g.highlighted
6977
+ "dp--qr-btn-active": y.active,
6978
+ "dp--qr-btn-between": y.isBetween,
6979
+ "dp--qr-btn-disabled": y.disabled,
6980
+ "dp--highlighted": y.highlighted
6981
6981
  }]),
6982
- "data-test": g.value,
6983
- disabled: g.disabled,
6984
- onClick: (H) => i(S)(g.value, D, g.disabled),
6985
- onMouseover: (H) => i(h)(g.value)
6982
+ "data-test": y.value,
6983
+ disabled: y.disabled,
6984
+ onClick: (H) => i(S)(y.value, x, y.disabled),
6985
+ onMouseover: (H) => i(h)(y.value)
6986
6986
  }, [
6987
6987
  I.$slots.quarter ? ce(I.$slots, "quarter", {
6988
6988
  key: 0,
6989
- value: g.value,
6990
- text: g.text
6991
- }) : (y(), W(be, { key: 1 }, [
6992
- Ye(Ce(g.text), 1)
6989
+ value: y.value,
6990
+ text: y.text
6991
+ }) : (g(), W(be, { key: 1 }, [
6992
+ Ye(Ce(y.text), 1)
6993
6993
  ], 64))
6994
6994
  ], 42, os)
6995
6995
  ]))), 128))
@@ -7067,7 +7067,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
7067
7067
  if (!l.shadow) {
7068
7068
  N.value = !0, I(), window.addEventListener("resize", I);
7069
7069
  const $ = Xe(r);
7070
- if ($ && !d.value.enabled && !f.value.enabled && (v(!0), x()), $) {
7070
+ if ($ && !d.value.enabled && !f.value.enabled && (v(!0), M()), $) {
7071
7071
  const Z = (me) => {
7072
7072
  b.value.allowPreventDefault && me.preventDefault(), Et(me, b.value, !0);
7073
7073
  };
@@ -7080,12 +7080,12 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
7080
7080
  const I = () => {
7081
7081
  const $ = Xe(E);
7082
7082
  $ && (S.value = $.getBoundingClientRect().width);
7083
- }, { arrowRight: C, arrowLeft: D, arrowDown: g, arrowUp: z } = Nt(), { flowStep: H, updateFlowStep: L, childMount: re, resetFlow: pe, handleFlow: he } = bs(l, t, w), M = G(() => l.monthPicker ? Ti : l.yearPicker ? Ai : l.timePicker ? Hi : l.quarterPicker ? us : ns), Y = G(() => {
7083
+ }, { arrowRight: C, arrowLeft: x, arrowDown: y, arrowUp: z } = Nt(), { flowStep: H, updateFlowStep: L, childMount: re, resetFlow: pe, handleFlow: he } = bs(l, t, w), D = G(() => l.monthPicker ? Ti : l.yearPicker ? Ai : l.timePicker ? Hi : l.quarterPicker ? us : ns), Y = G(() => {
7084
7084
  var $;
7085
7085
  if (b.value.arrowLeft) return b.value.arrowLeft;
7086
7086
  const Z = ($ = r.value) == null ? void 0 : $.getBoundingClientRect(), me = l.getInputRect();
7087
7087
  return (me == null ? void 0 : me.width) < (S == null ? void 0 : S.value) && (me == null ? void 0 : me.left) <= ((Z == null ? void 0 : Z.left) ?? 0) ? `${(me == null ? void 0 : me.width) / 2}px` : (me == null ? void 0 : me.right) >= ((Z == null ? void 0 : Z.right) ?? 0) && (me == null ? void 0 : me.width) < (S == null ? void 0 : S.value) ? `${(S == null ? void 0 : S.value) - (me == null ? void 0 : me.width) / 2}px` : "50%";
7088
- }), x = () => {
7088
+ }), M = () => {
7089
7089
  const $ = Xe(r);
7090
7090
  $ && $.focus({ preventScroll: !0 });
7091
7091
  }, Q = G(() => {
@@ -7111,14 +7111,14 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
7111
7111
  }, J = ($) => {
7112
7112
  if (l.arrowNavigation) {
7113
7113
  if ($ === nt.up) return z();
7114
- if ($ === nt.down) return g();
7115
- if ($ === nt.left) return D();
7114
+ if ($ === nt.down) return y();
7115
+ if ($ === nt.left) return x();
7116
7116
  if ($ === nt.right) return C();
7117
7117
  } else $ === nt.left || $ === nt.up ? V("handleArrow", nt.left, 0, $ === nt.up) : V("handleArrow", nt.right, 0, $ === nt.down);
7118
7118
  }, p = ($) => {
7119
7119
  s($.shiftKey), !l.disableMonthYearSelect && $.code === Ee.tab && $.target.classList.contains("dp__menu") && k.value.shiftKeyInMenu && ($.preventDefault(), Et($, b.value, !0), t("close-picker"));
7120
7120
  }, ue = () => {
7121
- x(), t("time-picker-close");
7121
+ M(), t("time-picker-close");
7122
7122
  }, ge = ($) => {
7123
7123
  var Z, me, xe;
7124
7124
  (Z = w.value) == null || Z.toggleTimePicker(!1, !1), (me = w.value) == null || me.toggleMonthPicker(!1, !1, $), (xe = w.value) == null || xe.toggleYearPicker(!1, !1, $);
@@ -7167,7 +7167,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
7167
7167
  handleFlow: he
7168
7168
  }), ($, Z) => {
7169
7169
  var me, xe, vt;
7170
- return y(), W("div", {
7170
+ return g(), W("div", {
7171
7171
  id: $.uid ? `dp-menu-${$.uid}` : void 0,
7172
7172
  ref_key: "dpMenuRef",
7173
7173
  ref: r,
@@ -7180,18 +7180,18 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
7180
7180
  onClick: u,
7181
7181
  onKeydown: ke
7182
7182
  }, [
7183
- ($.disabled || $.readonly) && i(f).enabled || $.loading ? (y(), W("div", {
7183
+ ($.disabled || $.readonly) && i(f).enabled || $.loading ? (g(), W("div", {
7184
7184
  key: 0,
7185
7185
  class: Me(j.value)
7186
7186
  }, [
7187
- $.loading ? (y(), W("div", ss, Z[19] || (Z[19] = [
7187
+ $.loading ? (g(), W("div", ss, Z[19] || (Z[19] = [
7188
7188
  _e("span", { class: "dp--menu-loader" }, null, -1)
7189
7189
  ]))) : F("", !0)
7190
7190
  ], 2)) : F("", !0),
7191
- $.$slots["menu-header"] ? (y(), W("div", ds, [
7191
+ $.$slots["menu-header"] ? (g(), W("div", ds, [
7192
7192
  ce($.$slots, "menu-header")
7193
7193
  ])) : F("", !0),
7194
- !i(f).enabled && !$.teleportCenter ? (y(), W("div", {
7194
+ !i(f).enabled && !$.teleportCenter ? (g(), W("div", {
7195
7195
  key: 2,
7196
7196
  class: Me(ie.value)
7197
7197
  }, null, 2)) : F("", !0),
@@ -7204,20 +7204,20 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
7204
7204
  }),
7205
7205
  style: ot({ "--dp-menu-width": `${S.value}px` })
7206
7206
  }, [
7207
- $.$slots["left-sidebar"] ? (y(), W("div", cs, [
7207
+ $.$slots["left-sidebar"] ? (g(), W("div", cs, [
7208
7208
  ce($.$slots, "left-sidebar", Ke(ut(Q.value)))
7209
7209
  ])) : F("", !0),
7210
- $.presetDates.length ? (y(), W("div", {
7210
+ $.presetDates.length ? (g(), W("div", {
7211
7211
  key: 1,
7212
7212
  class: Me({ "dp--preset-dates-collapsed": e.collapse, "dp--preset-dates": !0 })
7213
7213
  }, [
7214
- (y(!0), W(be, null, Pe($.presetDates, (ye, Ot) => (y(), W(be, { key: Ot }, [
7214
+ (g(!0), W(be, null, Pe($.presetDates, (ye, Ot) => (g(), W(be, { key: Ot }, [
7215
7215
  ye.slot ? ce($.$slots, ye.slot, {
7216
7216
  key: 0,
7217
7217
  presetDate: c,
7218
7218
  label: ye.label,
7219
7219
  value: ye.value
7220
- }) : (y(), W("button", {
7220
+ }) : (g(), W("button", {
7221
7221
  key: 1,
7222
7222
  type: "button",
7223
7223
  style: ot(ye.style || {}),
@@ -7234,7 +7234,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
7234
7234
  class: "dp__instance_calendar",
7235
7235
  role: "document"
7236
7236
  }, [
7237
- (y(), se(ia(M.value), Ge({
7237
+ (g(), se(ia(D.value), Ge({
7238
7238
  ref_key: "dynCmpRef",
7239
7239
  ref: w
7240
7240
  }, o.value, {
@@ -7242,7 +7242,7 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
7242
7242
  onMount: i(re),
7243
7243
  onUpdateFlowStep: i(L),
7244
7244
  onResetFlow: i(pe),
7245
- onFocusMenu: x,
7245
+ onFocusMenu: M,
7246
7246
  onSelectDate: Z[0] || (Z[0] = (ye) => $.$emit("select-date")),
7247
7247
  onDateUpdate: Z[1] || (Z[1] = (ye) => $.$emit("date-update", ye)),
7248
7248
  onTooltipOpen: Z[2] || (Z[2] = (ye) => $.$emit("tooltip-open", ye)),
@@ -7270,17 +7270,17 @@ const Dn = (e, n) => e == null ? void 0 : e.querySelector(`[data-dp-element="${n
7270
7270
  }))
7271
7271
  ]), 1040, ["flow-step", "onMount", "onUpdateFlowStep", "onResetFlow"]))
7272
7272
  ], 512),
7273
- $.$slots["right-sidebar"] ? (y(), W("div", ms, [
7273
+ $.$slots["right-sidebar"] ? (g(), W("div", ms, [
7274
7274
  ce($.$slots, "right-sidebar", Ke(ut(Q.value)))
7275
7275
  ])) : F("", !0),
7276
- $.$slots["action-extra"] ? (y(), W("div", ps, [
7276
+ $.$slots["action-extra"] ? (g(), W("div", ps, [
7277
7277
  $.$slots["action-extra"] ? ce($.$slots, "action-extra", {
7278
7278
  key: 0,
7279
7279
  selectCurrentDate: ee
7280
7280
  }) : F("", !0)
7281
7281
  ])) : F("", !0)
7282
7282
  ], 6),
7283
- !$.autoApply || i(b).keepActionRow ? (y(), se(gi, Ge({
7283
+ !$.autoApply || i(b).keepActionRow ? (g(), se(gi, Ge({
7284
7284
  key: 3,
7285
7285
  "menu-mount": N.value
7286
7286
  }, o.value, {
@@ -7319,51 +7319,51 @@ const fs = ({
7319
7319
  Qe(b, () => {
7320
7320
  d.value = JSON.parse(JSON.stringify({})), C();
7321
7321
  });
7322
- const _ = (x) => {
7322
+ const _ = (M) => {
7323
7323
  if (o.teleport) {
7324
- const Q = x.getBoundingClientRect();
7324
+ const Q = M.getBoundingClientRect();
7325
7325
  return {
7326
7326
  left: Q.left + window.scrollX,
7327
7327
  top: Q.top + window.scrollY
7328
7328
  };
7329
7329
  }
7330
7330
  return { top: 0, left: 0 };
7331
- }, h = (x, Q) => {
7332
- d.value.left = `${x + Q - k.value.width}px`;
7333
- }, S = (x) => {
7334
- d.value.left = `${x}px`;
7335
- }, E = (x, Q) => {
7336
- o.position === ea.left && S(x), o.position === ea.right && h(x, Q), o.position === ea.center && (d.value.left = `${x + Q / 2 - k.value.width / 2}px`);
7337
- }, N = (x) => {
7338
- const { width: Q, height: oe } = x.getBoundingClientRect(), { top: q, left: T } = o.altPosition ? o.altPosition(x) : _(x);
7331
+ }, h = (M, Q) => {
7332
+ d.value.left = `${M + Q - k.value.width}px`;
7333
+ }, S = (M) => {
7334
+ d.value.left = `${M}px`;
7335
+ }, E = (M, Q) => {
7336
+ o.position === ea.left && S(M), o.position === ea.right && h(M, Q), o.position === ea.center && (d.value.left = `${M + Q / 2 - k.value.width / 2}px`);
7337
+ }, N = (M) => {
7338
+ const { width: Q, height: oe } = M.getBoundingClientRect(), { top: q, left: T } = o.altPosition ? o.altPosition(M) : _(M);
7339
7339
  return { top: +q, left: +T, width: Q, height: oe };
7340
7340
  }, w = () => {
7341
7341
  d.value.left = "50%", d.value.top = "50%", d.value.transform = "translate(-50%, -50%)", d.value.position = "fixed", delete d.value.opacity;
7342
7342
  }, I = () => {
7343
- const x = Xe(a), { top: Q, left: oe, transform: q } = o.altPosition(x);
7343
+ const M = Xe(a), { top: Q, left: oe, transform: q } = o.altPosition(M);
7344
7344
  d.value = { top: `${Q}px`, left: `${oe}px`, transform: q ?? "" };
7345
- }, C = (x = !0) => {
7345
+ }, C = (M = !0) => {
7346
7346
  var Q;
7347
7347
  if (!l.value.enabled) {
7348
7348
  if (b.value) return w();
7349
7349
  if (o.altPosition !== null) return I();
7350
- if (x) {
7350
+ if (M) {
7351
7351
  const oe = o.teleport ? (Q = n.value) == null ? void 0 : Q.$el : e.value;
7352
7352
  oe && (k.value = oe.getBoundingClientRect()), r("recalculate-position");
7353
7353
  }
7354
7354
  return pe();
7355
7355
  }
7356
- }, D = ({ inputEl: x, left: Q, width: oe }) => {
7357
- window.screen.width > 768 && !m.value && E(Q, oe), H(x);
7358
- }, g = (x) => {
7359
- const { top: Q, left: oe, height: q, width: T } = N(x);
7360
- d.value.top = `${q + Q + +o.offset}px`, f.value = !1, m.value || (d.value.left = `${oe + T / 2 - k.value.width / 2}px`), D({ inputEl: x, left: oe, width: T });
7361
- }, z = (x) => {
7362
- const { top: Q, left: oe, width: q } = N(x);
7363
- d.value.top = `${Q - +o.offset - k.value.height}px`, f.value = !0, D({ inputEl: x, left: oe, width: q });
7364
- }, H = (x) => {
7356
+ }, x = ({ inputEl: M, left: Q, width: oe }) => {
7357
+ window.screen.width > 768 && !m.value && E(Q, oe), H(M);
7358
+ }, y = (M) => {
7359
+ const { top: Q, left: oe, height: q, width: T } = N(M);
7360
+ d.value.top = `${q + Q + +o.offset}px`, f.value = !1, m.value || (d.value.left = `${oe + T / 2 - k.value.width / 2}px`), x({ inputEl: M, left: oe, width: T });
7361
+ }, z = (M) => {
7362
+ const { top: Q, left: oe, width: q } = N(M);
7363
+ d.value.top = `${Q - +o.offset - k.value.height}px`, f.value = !0, x({ inputEl: M, left: oe, width: q });
7364
+ }, H = (M) => {
7365
7365
  if (o.autoPosition) {
7366
- const { left: Q, width: oe } = N(x), { left: q, right: T } = k.value;
7366
+ const { left: Q, width: oe } = N(M), { left: q, right: T } = k.value;
7367
7367
  if (!m.value) {
7368
7368
  if (Math.abs(q) !== Math.abs(T)) {
7369
7369
  if (q <= 0)
@@ -7375,35 +7375,35 @@ const fs = ({
7375
7375
  }
7376
7376
  }
7377
7377
  }, L = () => {
7378
- const x = Xe(a);
7379
- if (x) {
7380
- const { height: Q } = k.value, { top: oe, height: q } = x.getBoundingClientRect(), T = window.innerHeight - oe - q, ie = oe;
7378
+ const M = Xe(a);
7379
+ if (M) {
7380
+ const { height: Q } = k.value, { top: oe, height: q } = M.getBoundingClientRect(), T = window.innerHeight - oe - q, ie = oe;
7381
7381
  return Q <= T ? zt.bottom : Q > T && Q <= ie ? zt.top : T >= ie ? zt.bottom : zt.top;
7382
7382
  }
7383
7383
  return zt.bottom;
7384
- }, re = (x) => L() === zt.bottom ? g(x) : z(x), pe = () => {
7385
- const x = Xe(a);
7386
- if (x)
7387
- return o.autoPosition ? re(x) : g(x);
7388
- }, he = function(x) {
7389
- if (x) {
7390
- const Q = x.scrollHeight > x.clientHeight, oe = window.getComputedStyle(x).overflowY.indexOf("hidden") !== -1;
7384
+ }, re = (M) => L() === zt.bottom ? y(M) : z(M), pe = () => {
7385
+ const M = Xe(a);
7386
+ if (M)
7387
+ return o.autoPosition ? re(M) : y(M);
7388
+ }, he = function(M) {
7389
+ if (M) {
7390
+ const Q = M.scrollHeight > M.clientHeight, oe = window.getComputedStyle(M).overflowY.indexOf("hidden") !== -1;
7391
7391
  return Q && !oe;
7392
7392
  }
7393
7393
  return !0;
7394
- }, M = function(x) {
7395
- return !x || x === document.body || x.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? window : he(x) ? x : M(
7396
- x.assignedSlot && s.value.shadowDom ? x.assignedSlot.parentNode : x.parentNode
7394
+ }, D = function(M) {
7395
+ return !M || M === document.body || M.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? window : he(M) ? M : D(
7396
+ M.assignedSlot && s.value.shadowDom ? M.assignedSlot.parentNode : M.parentNode
7397
7397
  );
7398
- }, Y = (x) => {
7399
- if (x)
7398
+ }, Y = (M) => {
7399
+ if (M)
7400
7400
  switch (o.position) {
7401
7401
  case ea.left:
7402
7402
  return { left: 0, transform: "translateX(0)" };
7403
7403
  case ea.right:
7404
- return { left: `${x.width}px`, transform: "translateX(-100%)" };
7404
+ return { left: `${M.width}px`, transform: "translateX(-100%)" };
7405
7405
  default:
7406
- return { left: `${x.width / 2}px`, transform: "translateX(-50%)" };
7406
+ return { left: `${M.width / 2}px`, transform: "translateX(-50%)" };
7407
7407
  }
7408
7408
  return {};
7409
7409
  };
@@ -7412,8 +7412,8 @@ const fs = ({
7412
7412
  menuStyle: d,
7413
7413
  xCorrect: m,
7414
7414
  setMenuPosition: C,
7415
- getScrollableParent: M,
7416
- shadowRender: (x, Q) => {
7415
+ getScrollableParent: D,
7416
+ shadowRender: (M, Q) => {
7417
7417
  var oe, q, T;
7418
7418
  const ie = document.createElement("div"), j = (oe = Xe(a)) == null ? void 0 : oe.getBoundingClientRect();
7419
7419
  ie.setAttribute("id", "dp--temp-container");
@@ -7422,7 +7422,7 @@ const fs = ({
7422
7422
  const u = Y(j), P = s.value.shadowDom ? Object.keys(v).filter(
7423
7423
  (p) => ["right-sidebar", "left-sidebar", "top-extra", "action-extra"].includes(p)
7424
7424
  ) : Object.keys(v), J = or(
7425
- x,
7425
+ M,
7426
7426
  {
7427
7427
  ...Q,
7428
7428
  shadow: !0,
@@ -7585,7 +7585,7 @@ const fs = ({
7585
7585
  return !1;
7586
7586
  }
7587
7587
  return !1;
7588
- }, D = (u) => {
7588
+ }, x = (u) => {
7589
7589
  if (s.value.autoRange || n.weekPicker) {
7590
7590
  if (m.value) {
7591
7591
  if (n.hideOffsetDates && !u.current) return !1;
@@ -7595,24 +7595,24 @@ const fs = ({
7595
7595
  return !1;
7596
7596
  }
7597
7597
  return !1;
7598
- }, g = (u) => Ua(e.value, m.value, u.value), z = () => n.modelAuto && Array.isArray(n.internalModelValue) ? !!n.internalModelValue[0] : !1, H = () => n.modelAuto ? Bl(n.internalModelValue) : !0, L = (u) => {
7598
+ }, y = (u) => Ua(e.value, m.value, u.value), z = () => n.modelAuto && Array.isArray(n.internalModelValue) ? !!n.internalModelValue[0] : !1, H = () => n.modelAuto ? Bl(n.internalModelValue) : !0, L = (u) => {
7599
7599
  if (n.weekPicker) return !1;
7600
7600
  const P = s.value.enabled ? !E(u) && !E(u, !1) : !0;
7601
7601
  return !k(u.value) && !w(u) && !(!u.current && n.hideOffsetDates) && P;
7602
7602
  }, re = (u) => s.value.enabled ? n.modelAuto ? z() && w(u) : !1 : w(u), pe = (u) => r.value ? qu(u.value, v.value.highlight) : !1, he = (u) => {
7603
7603
  const P = k(u.value);
7604
7604
  return P && (typeof r.value == "function" ? !r.value(u.value, P) : !r.value.options.highlightDisabled);
7605
- }, M = (u) => {
7605
+ }, D = (u) => {
7606
7606
  var P;
7607
7607
  return typeof r.value == "function" ? r.value(u.value) : (P = r.value.weekdays) == null ? void 0 : P.includes(u.value.getDay());
7608
- }, Y = (u) => (s.value.enabled || n.weekPicker) && (!(a.value.count > 0) || u.current) && H() && !(!u.current && n.hideOffsetDates) && !w(u) ? g(u) : !1, x = (u) => {
7608
+ }, Y = (u) => (s.value.enabled || n.weekPicker) && (!(a.value.count > 0) || u.current) && H() && !(!u.current && n.hideOffsetDates) && !w(u) ? y(u) : !1, M = (u) => {
7609
7609
  const { isRangeStart: P, isRangeEnd: J } = T(u), p = s.value.enabled ? P || J : !1;
7610
7610
  return {
7611
7611
  dp__cell_offset: !u.current,
7612
7612
  dp__pointer: !n.disabled && !(!u.current && n.hideOffsetDates) && !k(u.value),
7613
7613
  dp__cell_disabled: k(u.value),
7614
- dp__cell_highlight: !he(u) && (pe(u) || M(u)) && !re(u) && !p && !D(u) && !(Y(u) && n.weekPicker) && !J,
7615
- dp__cell_highlight_active: !he(u) && (pe(u) || M(u)) && re(u),
7614
+ dp__cell_highlight: !he(u) && (pe(u) || D(u)) && !re(u) && !p && !x(u) && !(Y(u) && n.weekPicker) && !J,
7615
+ dp__cell_highlight_active: !he(u) && (pe(u) || D(u)) && re(u),
7616
7616
  dp__today: !n.noToday && Te(u.value, d.value) && u.current,
7617
7617
  "dp--past": Ne(u.value, d.value),
7618
7618
  "dp--future": qe(u.value, d.value)
@@ -7663,90 +7663,90 @@ const fs = ({
7663
7663
  }, j = (u) => ({
7664
7664
  ...ie(u),
7665
7665
  dp__cell_auto_range: C(u),
7666
- dp__cell_auto_range_start: D(u),
7666
+ dp__cell_auto_range_start: x(u),
7667
7667
  dp__cell_auto_range_end: I(u)
7668
7668
  }), O = (u) => s.value.enabled ? s.value.autoRange ? j(u) : n.modelAuto ? { ...Q(u), ...ie(u) } : n.weekPicker ? q(u) : ie(u) : n.weekPicker ? oe(u) : Q(u);
7669
7669
  return {
7670
7670
  setHoverDate: f,
7671
7671
  clearHoverDate: b,
7672
7672
  getDayClassData: (u) => n.hideOffsetDates && !u.current ? {} : {
7673
- ...x(u),
7673
+ ...M(u),
7674
7674
  ...O(u),
7675
7675
  [n.dayClass ? n.dayClass(u.value, n.internalModelValue) : ""]: !0,
7676
7676
  ...l.value.calendarCell ?? {}
7677
7677
  }
7678
7678
  };
7679
7679
  }, Ht = (e) => {
7680
- const { defaultedFilters: n, defaultedRange: a, propDates: t, defaultedMultiDates: l } = Be(e), r = (M) => t.value.disabledDates ? typeof t.value.disabledDates == "function" ? t.value.disabledDates(K(M)) : !!Ha(M, t.value.disabledDates) : !1, o = (M) => t.value.maxDate ? e.yearPicker ? we(M) > we(t.value.maxDate) : qe(M, t.value.maxDate) : !1, v = (M) => t.value.minDate ? e.yearPicker ? we(M) < we(t.value.minDate) : Ne(M, t.value.minDate) : !1, s = (M) => {
7681
- const Y = o(M), x = v(M), Q = r(M), oe = n.value.months.map((O) => +O).includes(De(M)), q = e.disabledWeekDays.length ? e.disabledWeekDays.some((O) => +O === Oo(M)) : !1, T = b(M), ie = we(M), j = ie < +e.yearRange[0] || ie > +e.yearRange[1];
7682
- return !(Y || x || Q || oe || j || q || T);
7683
- }, k = (M, Y) => Ne(...Rt(t.value.minDate, M, Y)) || Te(...Rt(t.value.minDate, M, Y)), m = (M, Y) => qe(...Rt(t.value.maxDate, M, Y)) || Te(...Rt(t.value.maxDate, M, Y)), d = (M, Y, x) => {
7680
+ const { defaultedFilters: n, defaultedRange: a, propDates: t, defaultedMultiDates: l } = Be(e), r = (D) => t.value.disabledDates ? typeof t.value.disabledDates == "function" ? t.value.disabledDates(K(D)) : !!Ha(D, t.value.disabledDates) : !1, o = (D) => t.value.maxDate ? e.yearPicker ? we(D) > we(t.value.maxDate) : qe(D, t.value.maxDate) : !1, v = (D) => t.value.minDate ? e.yearPicker ? we(D) < we(t.value.minDate) : Ne(D, t.value.minDate) : !1, s = (D) => {
7681
+ const Y = o(D), M = v(D), Q = r(D), oe = n.value.months.map((O) => +O).includes(De(D)), q = e.disabledWeekDays.length ? e.disabledWeekDays.some((O) => +O === Oo(D)) : !1, T = b(D), ie = we(D), j = ie < +e.yearRange[0] || ie > +e.yearRange[1];
7682
+ return !(Y || M || Q || oe || j || q || T);
7683
+ }, k = (D, Y) => Ne(...Rt(t.value.minDate, D, Y)) || Te(...Rt(t.value.minDate, D, Y)), m = (D, Y) => qe(...Rt(t.value.maxDate, D, Y)) || Te(...Rt(t.value.maxDate, D, Y)), d = (D, Y, M) => {
7684
7684
  let Q = !1;
7685
- return t.value.maxDate && x && m(M, Y) && (Q = !0), t.value.minDate && !x && k(M, Y) && (Q = !0), Q;
7686
- }, f = (M, Y, x, Q) => {
7685
+ return t.value.maxDate && M && m(D, Y) && (Q = !0), t.value.minDate && !M && k(D, Y) && (Q = !0), Q;
7686
+ }, f = (D, Y, M, Q) => {
7687
7687
  let oe = !1;
7688
- return Q && (t.value.minDate || t.value.maxDate) ? t.value.minDate && t.value.maxDate ? oe = d(M, Y, x) : (t.value.minDate && k(M, Y) || t.value.maxDate && m(M, Y)) && (oe = !0) : oe = !0, oe;
7689
- }, b = (M) => Array.isArray(t.value.allowedDates) && !t.value.allowedDates.length ? !0 : t.value.allowedDates ? !Ha(M, t.value.allowedDates) : !1, _ = (M) => !s(M), h = (M) => a.value.noDisabledRange ? !_l({ start: M[0], end: M[1] }).some((Y) => _(Y)) : !0, S = (M) => {
7690
- if (M) {
7691
- const Y = we(M);
7688
+ return Q && (t.value.minDate || t.value.maxDate) ? t.value.minDate && t.value.maxDate ? oe = d(D, Y, M) : (t.value.minDate && k(D, Y) || t.value.maxDate && m(D, Y)) && (oe = !0) : oe = !0, oe;
7689
+ }, b = (D) => Array.isArray(t.value.allowedDates) && !t.value.allowedDates.length ? !0 : t.value.allowedDates ? !Ha(D, t.value.allowedDates) : !1, _ = (D) => !s(D), h = (D) => a.value.noDisabledRange ? !_l({ start: D[0], end: D[1] }).some((Y) => _(Y)) : !0, S = (D) => {
7690
+ if (D) {
7691
+ const Y = we(D);
7692
7692
  return Y >= +e.yearRange[0] && Y <= e.yearRange[1];
7693
7693
  }
7694
7694
  return !0;
7695
- }, E = (M, Y) => !!(Array.isArray(M) && M[Y] && (a.value.maxRange || a.value.minRange) && S(M[Y])), N = (M, Y, x = 0) => {
7696
- if (E(Y, x) && S(M)) {
7697
- const Q = bl(M, Y[x]), oe = ql(Y[x], M), q = oe.length === 1 ? 0 : oe.filter((ie) => _(ie)).length, T = Math.abs(Q) - (a.value.minMaxRawRange ? 0 : q);
7695
+ }, E = (D, Y) => !!(Array.isArray(D) && D[Y] && (a.value.maxRange || a.value.minRange) && S(D[Y])), N = (D, Y, M = 0) => {
7696
+ if (E(Y, M) && S(D)) {
7697
+ const Q = bl(D, Y[M]), oe = ql(Y[M], D), q = oe.length === 1 ? 0 : oe.filter((ie) => _(ie)).length, T = Math.abs(Q) - (a.value.minMaxRawRange ? 0 : q);
7698
7698
  if (a.value.minRange && a.value.maxRange)
7699
7699
  return T >= +a.value.minRange && T <= +a.value.maxRange;
7700
7700
  if (a.value.minRange) return T >= +a.value.minRange;
7701
7701
  if (a.value.maxRange) return T <= +a.value.maxRange;
7702
7702
  }
7703
7703
  return !0;
7704
- }, w = () => !e.enableTimePicker || e.monthPicker || e.yearPicker || e.ignoreTimeValidation, I = (M) => Array.isArray(M) ? [M[0] ? cn(M[0]) : null, M[1] ? cn(M[1]) : null] : cn(M), C = (M, Y, x) => M.find(
7704
+ }, w = () => !e.enableTimePicker || e.monthPicker || e.yearPicker || e.ignoreTimeValidation, I = (D) => Array.isArray(D) ? [D[0] ? cn(D[0]) : null, D[1] ? cn(D[1]) : null] : cn(D), C = (D, Y, M) => D.find(
7705
7705
  (Q) => +Q.hours === At(Y) && Q.minutes === "*" ? !0 : +Q.minutes === Lt(Y) && +Q.hours === At(Y)
7706
- ) && x, D = (M, Y, x) => {
7707
- const [Q, oe] = M, [q, T] = Y;
7708
- return !C(Q, q, x) && !C(oe, T, x) && x;
7709
- }, g = (M, Y) => {
7710
- const x = Array.isArray(Y) ? Y : [Y];
7711
- return Array.isArray(e.disabledTimes) ? Array.isArray(e.disabledTimes[0]) ? D(e.disabledTimes, x, M) : !x.some((Q) => C(e.disabledTimes, Q, M)) : M;
7712
- }, z = (M, Y) => {
7713
- const x = Array.isArray(Y) ? [Xt(Y[0]), Y[1] ? Xt(Y[1]) : void 0] : Xt(Y), Q = !e.disabledTimes(x);
7714
- return M && Q;
7715
- }, H = (M, Y) => e.disabledTimes ? Array.isArray(e.disabledTimes) ? g(Y, M) : z(Y, M) : Y, L = (M) => {
7706
+ ) && M, x = (D, Y, M) => {
7707
+ const [Q, oe] = D, [q, T] = Y;
7708
+ return !C(Q, q, M) && !C(oe, T, M) && M;
7709
+ }, y = (D, Y) => {
7710
+ const M = Array.isArray(Y) ? Y : [Y];
7711
+ return Array.isArray(e.disabledTimes) ? Array.isArray(e.disabledTimes[0]) ? x(e.disabledTimes, M, D) : !M.some((Q) => C(e.disabledTimes, Q, D)) : D;
7712
+ }, z = (D, Y) => {
7713
+ const M = Array.isArray(Y) ? [Xt(Y[0]), Y[1] ? Xt(Y[1]) : void 0] : Xt(Y), Q = !e.disabledTimes(M);
7714
+ return D && Q;
7715
+ }, H = (D, Y) => e.disabledTimes ? Array.isArray(e.disabledTimes) ? y(Y, D) : z(Y, D) : Y, L = (D) => {
7716
7716
  let Y = !0;
7717
- if (!M || w()) return !0;
7718
- const x = !t.value.minDate && !t.value.maxDate ? I(M) : M;
7717
+ if (!D || w()) return !0;
7718
+ const M = !t.value.minDate && !t.value.maxDate ? I(D) : D;
7719
7719
  return (e.maxTime || t.value.maxDate) && (Y = sl(
7720
7720
  e.maxTime,
7721
7721
  t.value.maxDate,
7722
7722
  "max",
7723
- je(x),
7723
+ je(M),
7724
7724
  Y
7725
7725
  )), (e.minTime || t.value.minDate) && (Y = sl(
7726
7726
  e.minTime,
7727
7727
  t.value.minDate,
7728
7728
  "min",
7729
- je(x),
7729
+ je(M),
7730
7730
  Y
7731
- )), H(M, Y);
7732
- }, re = (M) => {
7731
+ )), H(D, Y);
7732
+ }, re = (D) => {
7733
7733
  if (!e.monthPicker) return !0;
7734
7734
  let Y = !0;
7735
- const x = K(yt(M));
7735
+ const M = K(yt(D));
7736
7736
  if (t.value.minDate && t.value.maxDate) {
7737
7737
  const Q = K(yt(t.value.minDate)), oe = K(yt(t.value.maxDate));
7738
- return qe(x, Q) && Ne(x, oe) || Te(x, Q) || Te(x, oe);
7738
+ return qe(M, Q) && Ne(M, oe) || Te(M, Q) || Te(M, oe);
7739
7739
  }
7740
7740
  if (t.value.minDate) {
7741
7741
  const Q = K(yt(t.value.minDate));
7742
- Y = qe(x, Q) || Te(x, Q);
7742
+ Y = qe(M, Q) || Te(M, Q);
7743
7743
  }
7744
7744
  if (t.value.maxDate) {
7745
7745
  const Q = K(yt(t.value.maxDate));
7746
- Y = Ne(x, Q) || Te(x, Q);
7746
+ Y = Ne(M, Q) || Te(M, Q);
7747
7747
  }
7748
7748
  return Y;
7749
- }, pe = G(() => (M) => !e.enableTimePicker || e.ignoreTimeValidation ? !0 : L(M)), he = G(() => (M) => e.monthPicker ? Array.isArray(M) && (a.value.enabled || l.value.enabled) ? !M.filter((Y) => !re(Y)).length : re(M) : !0);
7749
+ }, pe = G(() => (D) => !e.enableTimePicker || e.ignoreTimeValidation ? !0 : L(D)), he = G(() => (D) => e.monthPicker ? Array.isArray(D) && (a.value.enabled || l.value.enabled) ? !D.filter((Y) => !re(Y)).length : re(D) : !0);
7750
7750
  return {
7751
7751
  isDisabled: _,
7752
7752
  validateDate: s,
@@ -7852,7 +7852,7 @@ const fs = ({
7852
7852
  N.value,
7853
7853
  l.formatLocale
7854
7854
  );
7855
- }, D = (T) => {
7855
+ }, x = (T) => {
7856
7856
  const { rangeSeparator: ie } = r.value, [j, O] = T.split(`${ie}`);
7857
7857
  if (j) {
7858
7858
  const u = C(j.trim()), P = O ? C(O.trim()) : null;
@@ -7860,11 +7860,11 @@ const fs = ({
7860
7860
  const J = u && P ? [u, P] : [u];
7861
7861
  _(P, J, 0) && (h.value = u ? J : null);
7862
7862
  }
7863
- }, g = () => {
7863
+ }, y = () => {
7864
7864
  N.value = !0;
7865
7865
  }, z = (T) => {
7866
7866
  if (k.value.enabled)
7867
- D(T);
7867
+ x(T);
7868
7868
  else if (m.value.enabled) {
7869
7869
  const ie = T.split(";");
7870
7870
  h.value = ie.map((j) => C(j.trim())).filter((j) => j);
@@ -7888,11 +7888,11 @@ const fs = ({
7888
7888
  if (r.value.openMenu === "open" && !l.isMenuOpen) return t("open");
7889
7889
  if (r.value.openMenu === "toggle") return t("toggle");
7890
7890
  } else r.value.enabled || t("toggle");
7891
- }, M = () => {
7891
+ }, D = () => {
7892
7892
  t("real-blur"), E.value = !1, (!l.isMenuOpen || v.value.enabled && v.value.input) && t("blur"), l.autoApply && r.value.enabled && h.value && !l.isMenuOpen && (t("set-input-date", h.value), t("select-date"), h.value = null);
7893
7893
  }, Y = (T) => {
7894
7894
  Et(T, s.value, !0), t("clear");
7895
- }, x = (T) => {
7895
+ }, M = (T) => {
7896
7896
  if (T.key === "Tab" && re(T), T.key === "Enter" && L(T), !r.value.enabled) {
7897
7897
  if (T.code === "Tab") return;
7898
7898
  T.preventDefault();
@@ -7910,9 +7910,9 @@ const fs = ({
7910
7910
  setParsedDate: oe
7911
7911
  }), (T, ie) => {
7912
7912
  var j, O, u;
7913
- return y(), W("div", { onClick: he }, [
7913
+ return g(), W("div", { onClick: he }, [
7914
7914
  T.$slots.trigger && !T.$slots["dp-input"] && !i(v).enabled ? ce(T.$slots, "trigger", { key: 0 }) : F("", !0),
7915
- !T.$slots.trigger && (!i(v).enabled || i(v).input) ? (y(), W("div", ws, [
7915
+ !T.$slots.trigger && (!i(v).enabled || i(v).input) ? (g(), W("div", ws, [
7916
7916
  T.$slots["dp-input"] && !T.$slots.trigger && (!i(v).enabled || i(v).enabled && i(v).input) ? ce(T.$slots, "dp-input", {
7917
7917
  key: 0,
7918
7918
  value: e.inputValue,
@@ -7921,15 +7921,15 @@ const fs = ({
7921
7921
  onEnter: L,
7922
7922
  onTab: re,
7923
7923
  onClear: Y,
7924
- onBlur: M,
7925
- onKeypress: x,
7926
- onPaste: g,
7924
+ onBlur: D,
7925
+ onKeypress: M,
7926
+ onPaste: y,
7927
7927
  onFocus: pe,
7928
7928
  openMenu: () => T.$emit("open"),
7929
7929
  closeMenu: () => T.$emit("close"),
7930
7930
  toggleMenu: () => T.$emit("toggle")
7931
7931
  }) : F("", !0),
7932
- T.$slots["dp-input"] ? F("", !0) : (y(), W("input", {
7932
+ T.$slots["dp-input"] ? F("", !0) : (g(), W("input", {
7933
7933
  key: 1,
7934
7934
  id: T.uid ? `dp-input-${T.uid}` : void 0,
7935
7935
  ref_key: "inputRef",
@@ -7948,33 +7948,33 @@ const fs = ({
7948
7948
  "aria-disabled": T.disabled || void 0,
7949
7949
  "aria-invalid": T.state === !1 ? !0 : void 0,
7950
7950
  onInput: H,
7951
- onBlur: M,
7951
+ onBlur: D,
7952
7952
  onFocus: pe,
7953
- onKeypress: x,
7954
- onKeydown: ie[0] || (ie[0] = (P) => x(P)),
7955
- onPaste: g
7953
+ onKeypress: M,
7954
+ onKeydown: ie[0] || (ie[0] = (P) => M(P)),
7955
+ onPaste: y
7956
7956
  }, null, 42, _s)),
7957
7957
  _e("div", {
7958
7958
  onClick: ie[3] || (ie[3] = (P) => t("toggle"))
7959
7959
  }, [
7960
- T.$slots["input-icon"] && !T.hideInputIcon ? (y(), W("span", {
7960
+ T.$slots["input-icon"] && !T.hideInputIcon ? (g(), W("span", {
7961
7961
  key: 0,
7962
7962
  class: "dp__input_icon",
7963
7963
  onClick: ie[1] || (ie[1] = (P) => t("toggle"))
7964
7964
  }, [
7965
7965
  ce(T.$slots, "input-icon")
7966
7966
  ])) : F("", !0),
7967
- !T.$slots["input-icon"] && !T.hideInputIcon && !T.$slots["dp-input"] ? (y(), se(i(da), {
7967
+ !T.$slots["input-icon"] && !T.hideInputIcon && !T.$slots["dp-input"] ? (g(), se(i(da), {
7968
7968
  key: 1,
7969
7969
  "aria-label": (O = i(o)) == null ? void 0 : O.calendarIcon,
7970
7970
  class: "dp__input_icon dp__input_icons",
7971
7971
  onClick: ie[2] || (ie[2] = (P) => t("toggle"))
7972
7972
  }, null, 8, ["aria-label"])) : F("", !0)
7973
7973
  ]),
7974
- T.$slots["clear-icon"] && e.inputValue && T.clearable && !T.disabled && !T.readonly ? (y(), W("span", ks, [
7974
+ T.$slots["clear-icon"] && e.inputValue && T.clearable && !T.disabled && !T.readonly ? (g(), W("span", ks, [
7975
7975
  ce(T.$slots, "clear-icon", { clear: Y })
7976
7976
  ])) : F("", !0),
7977
- T.clearable && !T.$slots["clear-icon"] && e.inputValue && !T.disabled && !T.readonly ? (y(), W("button", {
7977
+ T.clearable && !T.$slots["clear-icon"] && e.inputValue && !T.disabled && !T.readonly ? (g(), W("button", {
7978
7978
  key: 3,
7979
7979
  "aria-label": (u = i(o)) == null ? void 0 : u.clearInput,
7980
7980
  class: "dp--clear-btn",
@@ -8049,14 +8049,14 @@ const fs = ({
8049
8049
  "text-input"
8050
8050
  ],
8051
8051
  setup(e, { expose: n, emit: a }) {
8052
- const t = a, l = e, r = jt(), o = X(!1), v = wa(l, "modelValue"), s = wa(l, "timezone"), k = X(null), m = X(null), d = X(null), f = X(!1), b = X(null), _ = X(!1), h = X(!1), S = X(!1), E = X(!1), { setMenuFocused: N, setShiftKey: w } = jl(), { clearArrowNav: I } = Nt(), { validateDate: C, isValidTime: D } = Ht(l), {
8053
- defaultedTransitions: g,
8052
+ const t = a, l = e, r = jt(), o = X(!1), v = wa(l, "modelValue"), s = wa(l, "timezone"), k = X(null), m = X(null), d = X(null), f = X(!1), b = X(null), _ = X(!1), h = X(!1), S = X(!1), E = X(!1), { setMenuFocused: N, setShiftKey: w } = jl(), { clearArrowNav: I } = Nt(), { validateDate: C, isValidTime: x } = Ht(l), {
8053
+ defaultedTransitions: y,
8054
8054
  defaultedTextInput: z,
8055
8055
  defaultedInline: H,
8056
8056
  defaultedConfig: L,
8057
8057
  defaultedRange: re,
8058
8058
  defaultedMultiDates: pe
8059
- } = Be(l), { menuTransition: he, showTransition: M } = Ca(g);
8059
+ } = Be(l), { menuTransition: he, showTransition: D } = Ca(y);
8060
8060
  Je(() => {
8061
8061
  P(l.modelValue), ct().then(() => {
8062
8062
  if (!H.value.enabled) {
@@ -8071,7 +8071,7 @@ const fs = ({
8071
8071
  }
8072
8072
  window == null || window.removeEventListener("keyup", ke), window == null || window.removeEventListener("keydown", $);
8073
8073
  });
8074
- const Y = dt(r, "all", l.presetDates), x = dt(r, "input");
8074
+ const Y = dt(r, "all", l.presetDates), M = dt(r, "input");
8075
8075
  Qe(
8076
8076
  [v, s],
8077
8077
  () => {
@@ -8136,7 +8136,7 @@ const fs = ({
8136
8136
  }, Ot = () => {
8137
8137
  d.value && z.value.enabled && d.value.setParsedDate(u.value);
8138
8138
  }, _t = (R = !1) => {
8139
- l.autoApply && D(u.value) && xe() && (re.value.enabled && Array.isArray(u.value) ? (re.value.partialRange || u.value.length === 2) && ye(R) : ye(R));
8139
+ l.autoApply && x(u.value) && xe() && (re.value.enabled && Array.isArray(u.value) ? (re.value.partialRange || u.value.length === 2) && ye(R) : ye(R));
8140
8140
  }, ca = () => {
8141
8141
  z.value.enabled || (u.value = null);
8142
8142
  }, st = () => {
@@ -8146,12 +8146,12 @@ const fs = ({
8146
8146
  u.value = null;
8147
8147
  return;
8148
8148
  }
8149
- const at = Array.isArray(R) ? !R.some((Ft) => !C(Ft)) : C(R), mt = D(R);
8149
+ const at = Array.isArray(R) ? !R.some((Ft) => !C(Ft)) : C(R), mt = x(R);
8150
8150
  at && mt ? (E.value = !0, u.value = R, ae && (_.value = de, vt(), t("text-submit")), ct().then(() => {
8151
8151
  E.value = !1;
8152
8152
  })) : t("invalid-date", R);
8153
8153
  }, Ga = () => {
8154
- l.autoApply && D(u.value) && J(), Ot();
8154
+ l.autoApply && x(u.value) && J(), Ot();
8155
8155
  }, Oa = () => o.value ? st() : Z(), Ka = (R) => {
8156
8156
  u.value = R;
8157
8157
  }, Ja = () => {
@@ -8192,7 +8192,7 @@ const fs = ({
8192
8192
  toggleMenu: Oa,
8193
8193
  handleFlow: ne,
8194
8194
  dpWrapMenuRef: k
8195
- }), (R, ae) => (y(), W("div", {
8195
+ }), (R, ae) => (g(), W("div", {
8196
8196
  ref_key: "pickerWrapperRef",
8197
8197
  ref: b,
8198
8198
  class: Me(ge.value),
@@ -8217,21 +8217,21 @@ const fs = ({
8217
8217
  onRealBlur: ae[1] || (ae[1] = (de) => f.value = !1),
8218
8218
  onTextInput: ae[2] || (ae[2] = (de) => R.$emit("text-input", de))
8219
8219
  }), tt({ _: 2 }, [
8220
- Pe(i(x), (de, at) => ({
8220
+ Pe(i(M), (de, at) => ({
8221
8221
  name: de,
8222
8222
  fn: le((mt) => [
8223
8223
  ce(R.$slots, de, Ke(ut(mt)))
8224
8224
  ])
8225
8225
  }))
8226
8226
  ]), 1040, ["input-value", "is-menu-open", "onSetEmptyDate"]),
8227
- (y(), se(ia(R.teleport ? rr : "div"), Ke(ut(V.value)), {
8227
+ (g(), se(ia(R.teleport ? rr : "div"), Ke(ut(V.value)), {
8228
8228
  default: le(() => [
8229
8229
  Oe(sa, {
8230
8230
  name: i(he)(i(Q)),
8231
- css: i(M) && !i(H).enabled
8231
+ css: i(D) && !i(H).enabled
8232
8232
  }, {
8233
8233
  default: le(() => [
8234
- o.value ? (y(), W("div", Ge({
8234
+ o.value ? (g(), W("div", Ge({
8235
8235
  key: 0,
8236
8236
  ref_key: "dpWrapMenuRef",
8237
8237
  ref: k
@@ -8336,22 +8336,22 @@ const Os = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' clas
8336
8336
  return !0;
8337
8337
  }
8338
8338
  async function _() {
8339
- var w, I, C, D, g;
8340
- (w = l.value) == null || w.$el.classList.remove("ion-invalid"), (I = l.value) == null || I.$el.classList.remove("ion-valid"), await b() ? (t.value.error = "", t.value.value = v.value, (C = l.value) == null || C.$el.classList.add("ion-valid")) : (D = l.value) == null || D.$el.classList.add("ion-invalid"), (g = l.value) == null || g.$el.classList.add("ion-touched");
8339
+ var w, I, C, x, y;
8340
+ (w = l.value) == null || w.$el.classList.remove("ion-invalid"), (I = l.value) == null || I.$el.classList.remove("ion-valid"), await b() ? (t.value.error = "", t.value.value = v.value, (C = l.value) == null || C.$el.classList.add("ion-valid")) : (x = l.value) == null || x.$el.classList.add("ion-invalid"), (y = l.value) == null || y.$el.classList.add("ion-touched");
8341
8341
  }
8342
8342
  function h() {
8343
8343
  var w, I;
8344
8344
  (w = l.value) == null || w.$el.classList.remove("ion-touched"), (I = l.value) == null || I.$el.classList.remove("ion-invalid"), t.value.error = "";
8345
8345
  }
8346
8346
  async function S(w, I, C) {
8347
- let D = I ?? (C == null ? void 0 : C.target).value;
8348
- /MM|MMM|MMMM/.test(w) && (D = ln(D, w)), Number.isInteger(parseInt(D)) && (D = Vt(parseInt(D))), f.value[w] = D;
8349
- const g = m.value.reduce((z, H, L) => (z += f.value[H] + (L < m.value.length - 1 ? d.value[L] : ""), z), "");
8350
- v.value = g, await _();
8347
+ let x = I ?? (C == null ? void 0 : C.target).value;
8348
+ /MM|MMM|MMMM/.test(w) && (x = ln(x, w)), Number.isInteger(parseInt(x)) && (x = Vt(parseInt(x))), f.value[w] = x;
8349
+ const y = m.value.reduce((z, H, L) => (z += f.value[H] + (L < m.value.length - 1 ? d.value[L] : ""), z), "");
8350
+ v.value = y, await _();
8351
8351
  }
8352
8352
  async function E(w) {
8353
8353
  const I = xr(w, s.value).split(k);
8354
- m.value.forEach((C, D) => S(C, I[D])), await _();
8354
+ m.value.forEach((C, x) => S(C, I[x])), await _();
8355
8355
  }
8356
8356
  function N() {
8357
8357
  v.value = "", t.value.error = "", t.value.value = "";
@@ -8365,7 +8365,7 @@ const Os = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' clas
8365
8365
  var C;
8366
8366
  f.value[w] = ((C = v.value) == null ? void 0 : C.split(k)[I]) ?? "";
8367
8367
  });
8368
- }), (w, I) => (y(), se(i(Ba), {
8368
+ }), (w, I) => (g(), se(i(Ba), {
8369
8369
  type: "text",
8370
8370
  ref_key: "inputRef",
8371
8371
  ref: l,
@@ -8380,13 +8380,13 @@ const Os = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' clas
8380
8380
  onIonBlur: _
8381
8381
  }, {
8382
8382
  default: le(() => [
8383
- t.value.label ? (y(), se(i(pt), {
8383
+ t.value.label ? (g(), se(i(pt), {
8384
8384
  key: 0,
8385
8385
  slot: "label"
8386
8386
  }, {
8387
8387
  default: le(() => [
8388
8388
  Ye(Ce(t.value.label) + " ", 1),
8389
- t.value.required ? (y(), se(i(qa), {
8389
+ t.value.required ? (g(), se(i(qa), {
8390
8390
  key: 0,
8391
8391
  color: "danger"
8392
8392
  }, {
@@ -8398,8 +8398,8 @@ const Os = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' clas
8398
8398
  ]),
8399
8399
  _: 1
8400
8400
  })) : F("", !0),
8401
- (y(!0), W(be, null, Pe(m.value, (C, D) => (y(), W(be, null, [
8402
- /MM|MMM|MMMM/.test(C) ? (y(), se(i(pr), {
8401
+ (g(!0), W(be, null, Pe(m.value, (C, x) => (g(), W(be, null, [
8402
+ /MM|MMM|MMMM/.test(C) ? (g(), se(i(pr), {
8403
8403
  key: 0,
8404
8404
  slot: "start",
8405
8405
  interface: "popover",
@@ -8407,12 +8407,12 @@ const Os = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' clas
8407
8407
  placeholder: C,
8408
8408
  value: f.value[C],
8409
8409
  onIonFocus: h,
8410
- onIonInput: (g) => S(C, void 0, g),
8411
- onIonBlur: (g) => S(C, void 0, g)
8410
+ onIonInput: (y) => S(C, void 0, y),
8411
+ onIonBlur: (y) => S(C, void 0, y)
8412
8412
  }, {
8413
8413
  default: le(() => [
8414
- (y(!0), W(be, null, Pe(i(xa), (g, z) => (y(), se(i(fr), {
8415
- key: g,
8414
+ (g(!0), W(be, null, Pe(i(xa), (y, z) => (g(), se(i(fr), {
8415
+ key: y,
8416
8416
  value: i(ln)(z + 1, C)
8417
8417
  }, {
8418
8418
  default: le(() => [
@@ -8422,22 +8422,22 @@ const Os = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' clas
8422
8422
  }, 1032, ["value"]))), 128))
8423
8423
  ]),
8424
8424
  _: 2
8425
- }, 1032, ["style", "placeholder", "value", "onIonInput", "onIonBlur"])) : (y(), se(i(Ba), {
8425
+ }, 1032, ["style", "placeholder", "value", "onIonInput", "onIonBlur"])) : (g(), se(i(Ba), {
8426
8426
  key: 1,
8427
8427
  slot: "start",
8428
8428
  placeholder: C,
8429
8429
  "auto-focus": t.value.autoFocus,
8430
8430
  value: f.value[C],
8431
8431
  onIonFocus: h,
8432
- onIonInput: (g) => S(C, void 0, g),
8433
- onIonBlur: (g) => S(C, void 0, g)
8432
+ onIonInput: (y) => S(C, void 0, y),
8433
+ onIonBlur: (y) => S(C, void 0, y)
8434
8434
  }, null, 8, ["placeholder", "auto-focus", "value", "onIonInput", "onIonBlur"])),
8435
- D < m.value.length - 1 ? (y(), se(i(pt), {
8435
+ x < m.value.length - 1 ? (g(), se(i(pt), {
8436
8436
  key: 2,
8437
8437
  slot: "start"
8438
8438
  }, {
8439
8439
  default: le(() => [
8440
- Ye("  " + Ce(d.value[D]) + "       ", 1)
8440
+ Ye("  " + Ce(d.value[x]) + "       ", 1)
8441
8441
  ]),
8442
8442
  _: 2
8443
8443
  }, 1024)) : F("", !0)
@@ -8501,7 +8501,7 @@ const Os = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' clas
8501
8501
  var r;
8502
8502
  return (r = l.value) == null ? void 0 : r.getErrors();
8503
8503
  }
8504
- }), (r, o) => (y(), se(za, {
8504
+ }), (r, o) => (g(), se(za, {
8505
8505
  modelValue: t.value,
8506
8506
  "onUpdate:modelValue": o[0] || (o[0] = (v) => t.value = v),
8507
8507
  type: "number",
@@ -8534,7 +8534,7 @@ const Os = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' clas
8534
8534
  var r;
8535
8535
  return (r = l.value) == null ? void 0 : r.getErrors();
8536
8536
  }
8537
- }), (r, o) => (y(), se(za, {
8537
+ }), (r, o) => (g(), se(za, {
8538
8538
  modelValue: t.value,
8539
8539
  "onUpdate:modelValue": o[0] || (o[0] = (v) => t.value = v),
8540
8540
  type: "email",
@@ -8567,7 +8567,7 @@ const Os = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' clas
8567
8567
  var r;
8568
8568
  return (r = l.value) == null ? void 0 : r.getErrors();
8569
8569
  }
8570
- }), (r, o) => (y(), se(za, {
8570
+ }), (r, o) => (g(), se(za, {
8571
8571
  modelValue: t.value,
8572
8572
  "onUpdate:modelValue": o[0] || (o[0] = (v) => t.value = v),
8573
8573
  type: "password",
@@ -8604,8 +8604,8 @@ const Os = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' clas
8604
8604
  t.value.multiple ? Kt(C, s.value) : (b(), Kt(C, s.value), E()), k.value = "";
8605
8605
  }
8606
8606
  function h(C) {
8607
- var D, g, z;
8608
- C.target === ((D = l.value) == null ? void 0 : D.$el) && ((g = l.value) == null || g.$el.classList.remove("ion-touched"), (z = l.value) == null || z.$el.classList.remove("ion-invalid"), t.value.error = "", r.value = !0);
8607
+ var x, y, z;
8608
+ C.target === ((x = l.value) == null ? void 0 : x.$el) && ((y = l.value) == null || y.$el.classList.remove("ion-touched"), (z = l.value) == null || z.$el.classList.remove("ion-invalid"), t.value.error = "", r.value = !0);
8609
8609
  }
8610
8610
  async function S() {
8611
8611
  if (t.value.required && gn(d.value))
@@ -8618,29 +8618,29 @@ const Os = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' clas
8618
8618
  return !0;
8619
8619
  }
8620
8620
  async function E(C) {
8621
- var D, g, z, H, L, re;
8622
- (D = C == null ? void 0 : C.relatedTarget) != null && D.closest(".suggestions-list") || (r.value = !1, (g = l.value) == null || g.$el.classList.remove("ion-invalid"), (z = l.value) == null || z.$el.classList.remove("ion-valid"), await S() ? (t.value.error = "", t.value.value = t.value.multiple ? d.value : d.value[0], (H = l.value) == null || H.$el.classList.add("ion-valid")) : (L = l.value) == null || L.$el.classList.add("ion-invalid"), (re = l.value) == null || re.$el.classList.add("ion-touched"));
8621
+ var x, y, z, H, L, re;
8622
+ (x = C == null ? void 0 : C.relatedTarget) != null && x.closest(".suggestions-list") || (r.value = !1, (y = l.value) == null || y.$el.classList.remove("ion-invalid"), (z = l.value) == null || z.$el.classList.remove("ion-valid"), await S() ? (t.value.error = "", t.value.value = t.value.multiple ? d.value : d.value[0], (H = l.value) == null || H.$el.classList.add("ion-valid")) : (L = l.value) == null || L.$el.classList.add("ion-invalid"), (re = l.value) == null || re.$el.classList.add("ion-touched"));
8623
8623
  }
8624
8624
  async function N() {
8625
8625
  const C = [];
8626
8626
  if (typeof t.value.options == "function") {
8627
- const D = await t.value.options(k.value, 1);
8628
- C.push(...D.options.filter((g) => !!g.label));
8627
+ const x = await t.value.options(k.value, 1);
8628
+ Array.isArray(x) ? C.push(...x.filter((y) => !!y.label)) : C.push(...x.options.filter((y) => !!y.label));
8629
8629
  } else
8630
8630
  C.push(...Mr(t.value.options ?? [], k.value));
8631
- d.value.forEach((D) => Kt(D, C)), s.value = C, v.value = !o.value;
8631
+ d.value.forEach((x) => Kt(x, C)), s.value = C, v.value = !o.value;
8632
8632
  }
8633
8633
  async function w(C) {
8634
8634
  if (typeof t.value.options == "function") {
8635
8635
  m.value++;
8636
- const D = await t.value.options(k.value, m.value);
8637
- s.value.push(...D.options.filter((g) => !!g.label)), v.value = D.options.length === 0 || D.total === s.value.length;
8636
+ const x = await t.value.options(k.value, m.value);
8637
+ Array.isArray(x) ? (s.value.push(...x.filter((y) => !!y.label)), v.value = x.length === 0) : (s.value.push(...x.options.filter((y) => !!y.label)), v.value = x.total === s.value.length);
8638
8638
  }
8639
8639
  C.target.complete();
8640
8640
  }
8641
8641
  function I() {
8642
8642
  const C = t.value.value;
8643
- C && (Array.isArray(C) ? C.forEach((D) => Kt(D, s.value)) : Kt(typeof C == "object" ? C : {
8643
+ C && (Array.isArray(C) ? C.forEach((x) => Kt(x, s.value)) : Kt(typeof C == "object" ? C : {
8644
8644
  value: C,
8645
8645
  label: C
8646
8646
  }, s.value));
@@ -8649,7 +8649,7 @@ const Os = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' clas
8649
8649
  onValueUpdate: E,
8650
8650
  onReset: b,
8651
8651
  getErrors: () => t.value.error
8652
- }), (C, D) => (y(), W("div", {
8652
+ }), (C, x) => (g(), W("div", {
8653
8653
  class: "autocomplete-container",
8654
8654
  onFocusout: E
8655
8655
  }, [
@@ -8657,7 +8657,7 @@ const Os = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' clas
8657
8657
  ref_key: "inputRef",
8658
8658
  ref: l,
8659
8659
  modelValue: k.value,
8660
- "onUpdate:modelValue": D[0] || (D[0] = (g) => k.value = g),
8660
+ "onUpdate:modelValue": x[0] || (x[0] = (y) => k.value = y),
8661
8661
  fill: t.value.fill ?? "outline",
8662
8662
  "label-placement": t.value.labelPlacement ?? "stacked",
8663
8663
  type: C.type ?? "text",
@@ -8671,17 +8671,17 @@ const Os = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' clas
8671
8671
  debounce: 300
8672
8672
  }, {
8673
8673
  default: le(() => [
8674
- t.value.label ? (y(), se(i(pt), {
8674
+ t.value.label ? (g(), se(i(pt), {
8675
8675
  key: 0,
8676
8676
  slot: "label"
8677
8677
  }, {
8678
8678
  default: le(() => [
8679
8679
  Ye(Ce(t.value.label) + " ", 1),
8680
- t.value.required ? (y(), se(i(qa), {
8680
+ t.value.required ? (g(), se(i(qa), {
8681
8681
  key: 0,
8682
8682
  color: "danger"
8683
8683
  }, {
8684
- default: le(() => D[1] || (D[1] = [
8684
+ default: le(() => x[1] || (x[1] = [
8685
8685
  Ye("*")
8686
8686
  ])),
8687
8687
  _: 1
@@ -8689,17 +8689,17 @@ const Os = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' clas
8689
8689
  ]),
8690
8690
  _: 1
8691
8691
  })) : F("", !0),
8692
- t.value.multiple ? (y(), se(i(pt), {
8692
+ t.value.multiple ? (g(), se(i(pt), {
8693
8693
  key: 1,
8694
8694
  style: { width: "fit-content" },
8695
8695
  slot: "start"
8696
8696
  }, {
8697
8697
  default: le(() => [
8698
- (y(!0), W(be, null, Pe(d.value, (g, z) => (y(), se(i(hr), { key: z }, {
8698
+ (g(!0), W(be, null, Pe(d.value, (y, z) => (g(), se(i(hr), { key: z }, {
8699
8699
  default: le(() => [
8700
8700
  Oe(i(pt), null, {
8701
8701
  default: le(() => [
8702
- Ye(Ce(g.label), 1)
8702
+ Ye(Ce(y.label), 1)
8703
8703
  ]),
8704
8704
  _: 2
8705
8705
  }, 1024)
@@ -8708,15 +8708,15 @@ const Os = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' clas
8708
8708
  }, 1024))), 128))
8709
8709
  ]),
8710
8710
  _: 1
8711
- })) : (y(), se(i(pt), {
8711
+ })) : (g(), se(i(pt), {
8712
8712
  key: 2,
8713
8713
  slot: "start",
8714
8714
  class: "ion-no-wrap"
8715
8715
  }, {
8716
8716
  default: le(() => {
8717
- var g;
8717
+ var y;
8718
8718
  return [
8719
- Ye(Ce(((g = d.value[0]) == null ? void 0 : g.label) ?? ""), 1)
8719
+ Ye(Ce(((y = d.value[0]) == null ? void 0 : y.label) ?? ""), 1)
8720
8720
  ];
8721
8721
  }),
8722
8722
  _: 1
@@ -8725,7 +8725,7 @@ const Os = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' clas
8725
8725
  slot: "end",
8726
8726
  icon: i(Ys)
8727
8727
  }, null, 8, ["icon"]),
8728
- d.value.length > 0 || k.value ? (y(), se(i(ka), {
8728
+ d.value.length > 0 || k.value ? (g(), se(i(ka), {
8729
8729
  key: 3,
8730
8730
  slot: "end",
8731
8731
  icon: i(Is),
@@ -8735,32 +8735,32 @@ const Os = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' clas
8735
8735
  ]),
8736
8736
  _: 1
8737
8737
  }, 8, ["modelValue", "fill", "label-placement", "type", "required", "error-text", "auto-focus", "placeholder", "disabled", "counter"]),
8738
- r.value && s.value.length > 0 ? (y(), se(i(yr), {
8738
+ r.value && s.value.length > 0 ? (g(), se(i(yr), {
8739
8739
  key: 0,
8740
8740
  class: "suggestions-list ion-content-scroll-host"
8741
8741
  }, {
8742
8742
  default: le(() => [
8743
- (y(!0), W(be, null, Pe(s.value, (g) => (y(), se(i(gr), {
8743
+ (g(!0), W(be, null, Pe(s.value, (y) => (g(), se(i(gr), {
8744
8744
  button: "",
8745
- key: g.label,
8746
- onClick: (z) => _(g)
8745
+ key: y.label,
8746
+ onClick: (z) => _(y)
8747
8747
  }, {
8748
8748
  default: le(() => [
8749
- t.value.multiple ? (y(), se(i(br), {
8749
+ t.value.multiple ? (g(), se(i(br), {
8750
8750
  key: 0,
8751
8751
  slot: "start",
8752
- checked: g.isChecked
8752
+ checked: y.isChecked
8753
8753
  }, null, 8, ["checked"])) : F("", !0),
8754
8754
  Oe(i(pt), null, {
8755
8755
  default: le(() => [
8756
- Ye(Ce(g.label), 1)
8756
+ Ye(Ce(y.label), 1)
8757
8757
  ]),
8758
8758
  _: 2
8759
8759
  }, 1024)
8760
8760
  ]),
8761
8761
  _: 2
8762
8762
  }, 1032, ["onClick"]))), 128)),
8763
- o.value ? (y(), se(i(wr), {
8763
+ o.value ? (g(), se(i(wr), {
8764
8764
  key: 0,
8765
8765
  onIonInfinite: w,
8766
8766
  threshold: "100px",
@@ -8785,7 +8785,7 @@ const Os = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' clas
8785
8785
  for (const [t, l] of n)
8786
8786
  a[t] = l;
8787
8787
  return a;
8788
- }, Fs = /* @__PURE__ */ Hs(Ns, [["__scopeId", "data-v-ba25d2f5"]]), qs = /* @__PURE__ */ Ve({
8788
+ }, Fs = /* @__PURE__ */ Hs(Ns, [["__scopeId", "data-v-7c24d3f9"]]), qs = /* @__PURE__ */ Ve({
8789
8789
  __name: "TextAreaInput",
8790
8790
  props: /* @__PURE__ */ Ct({
8791
8791
  schema: {}
@@ -8822,7 +8822,7 @@ const Os = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' clas
8822
8822
  onReset: v,
8823
8823
  onValueUpdate: k,
8824
8824
  getErrors: () => t.value.error
8825
- }), (m, d) => (y(), se(i(kr), {
8825
+ }), (m, d) => (g(), se(i(kr), {
8826
8826
  ref_key: "inputRef",
8827
8827
  ref: l,
8828
8828
  modelValue: r.value,
@@ -8849,13 +8849,13 @@ const Os = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' clas
8849
8849
  onIonBlur: k
8850
8850
  }, {
8851
8851
  default: le(() => [
8852
- t.value.label ? (y(), se(i(pt), {
8852
+ t.value.label ? (g(), se(i(pt), {
8853
8853
  key: 0,
8854
8854
  slot: "label"
8855
8855
  }, {
8856
8856
  default: le(() => [
8857
8857
  Ye(Ce(t.value.label) + " ", 1),
8858
- t.value.required ? (y(), se(i(qa), {
8858
+ t.value.required ? (g(), se(i(qa), {
8859
8859
  key: 0,
8860
8860
  color: "danger"
8861
8861
  }, {
@@ -8916,17 +8916,17 @@ const Os = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' clas
8916
8916
  onValueUpdate: m,
8917
8917
  onReset: s,
8918
8918
  getErrors: k
8919
- }), (d, f) => (y(), W("div", null, [
8920
- (y(!0), W(be, null, Pe(t.value, (b, _) => (y(), se(i(Ea), null, {
8919
+ }), (d, f) => (g(), W("div", null, [
8920
+ (g(!0), W(be, null, Pe(t.value, (b, _) => (g(), se(i(Ea), null, {
8921
8921
  default: le(() => [
8922
8922
  Oe(i(ya), { size: "11" }, {
8923
8923
  default: le(() => [
8924
8924
  Oe(i(Ea), null, {
8925
8925
  default: le(() => [
8926
- (y(!0), W(be, null, Pe(Object.keys(b), (h) => {
8926
+ (g(!0), W(be, null, Pe(Object.keys(b), (h) => {
8927
8927
  var S, E, N, w, I;
8928
- return y(), W(be, null, [
8929
- i(bn)(b[h], d.data, d.computedData) ? (y(), se(i(ya), {
8928
+ return g(), W(be, null, [
8929
+ i(bn)(b[h], d.data, d.computedData) ? (g(), se(i(ya), {
8930
8930
  key: `${_}-${h}`,
8931
8931
  size: ((S = b[h].grid) == null ? void 0 : S.xs) ?? "12",
8932
8932
  "size-sm": (E = b[h].grid) == null ? void 0 : E.sm,
@@ -8936,7 +8936,7 @@ const Os = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' clas
8936
8936
  class: "ion-margin-bottom"
8937
8937
  }, {
8938
8938
  default: le(() => [
8939
- (y(), se(ia(b[h].type), {
8939
+ (g(), se(ia(b[h].type), {
8940
8940
  modelValue: b[h],
8941
8941
  "onUpdate:modelValue": (C) => b[h] = C,
8942
8942
  schema: b,
@@ -8961,7 +8961,7 @@ const Os = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' clas
8961
8961
  style: { display: "flex", "align-items": "center", "justify-content": "flex-end" }
8962
8962
  }, {
8963
8963
  default: le(() => [
8964
- _ === t.value.length - 1 ? (y(), se(i(Ut), {
8964
+ _ === t.value.length - 1 ? (g(), se(i(Ut), {
8965
8965
  key: 0,
8966
8966
  onClick: o,
8967
8967
  color: "primary"
@@ -8974,7 +8974,7 @@ const Os = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' clas
8974
8974
  ]),
8975
8975
  _: 1
8976
8976
  })) : F("", !0),
8977
- t.value.length > 1 ? (y(), se(i(Ut), {
8977
+ t.value.length > 1 ? (g(), se(i(Ut), {
8978
8978
  key: 1,
8979
8979
  onClick: (h) => v(_),
8980
8980
  color: "warning"