@quidgest/ui 0.16.0 → 0.16.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.
Files changed (35) hide show
  1. package/dist/ui.css +2 -6
  2. package/dist/ui.esm.js +374 -370
  3. package/dist/ui.js +7 -7
  4. package/dist/ui.min.css +1 -1
  5. package/dist/ui.min.js +107 -107
  6. package/dist/ui.scss +24 -25
  7. package/esm/components/QButtonGroup/QButtonGroup.d.ts.map +1 -1
  8. package/esm/components/QButtonGroup/QButtonGroup.vue.js +5 -4
  9. package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
  10. package/esm/components/QCombobox/QCombobox.vue.js +59 -57
  11. package/esm/components/QCombobox/index.d.ts +3 -0
  12. package/esm/components/QCombobox/index.d.ts.map +1 -1
  13. package/esm/components/QCombobox/types.d.ts +4 -0
  14. package/esm/components/QCombobox/types.d.ts.map +1 -1
  15. package/esm/components/QOverlay/QOverlay.vue.js +15 -16
  16. package/esm/components/QOverlay/index.d.ts +0 -3
  17. package/esm/components/QOverlay/index.d.ts.map +1 -1
  18. package/esm/components/QOverlay/types.d.ts +0 -4
  19. package/esm/components/QOverlay/types.d.ts.map +1 -1
  20. package/esm/components/QPasswordField/QPasswordFieldMeterOverlay.vue.js +12 -13
  21. package/esm/components/QPopover/QPopover.d.ts.map +1 -1
  22. package/esm/components/QPopover/QPopover.vue.js +31 -34
  23. package/esm/components/QSelect/QSelect.d.ts.map +1 -1
  24. package/esm/components/QSelect/QSelect.vue.js +58 -56
  25. package/esm/components/QSelect/index.d.ts +3 -0
  26. package/esm/components/QSelect/index.d.ts.map +1 -1
  27. package/esm/components/QSelect/types.d.ts +4 -0
  28. package/esm/components/QSelect/types.d.ts.map +1 -1
  29. package/esm/components/QToggle/QToggle.d.ts.map +1 -1
  30. package/esm/components/QToggle/QToggle.vue.js +10 -7
  31. package/esm/components/QToggleGroup/QToggleGroup.d.ts.map +1 -1
  32. package/esm/components/QToggleGroup/QToggleGroup.vue.js +8 -9
  33. package/esm/components/QTooltip/QTooltip.d.ts.map +1 -1
  34. package/esm/components/QTooltip/QTooltip.vue.js +42 -40
  35. package/package.json +1 -1
package/dist/ui.esm.js CHANGED
@@ -1,9 +1,9 @@
1
1
  var go = Object.defineProperty;
2
2
  var bo = (t, e, a) => e in t ? go(t, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[e] = a;
3
3
  var ge = (t, e, a) => bo(t, typeof e != "symbol" ? e + "" : e, a);
4
- import { getCurrentInstance as gl, computed as T, ref as U, provide as bl, inject as wl, unref as d, watch as Se, defineComponent as ye, mergeModels as Be, toRef as Ke, useModel as Ne, createElementBlock as P, openBlock as v, normalizeClass as me, renderSlot as I, normalizeStyle as it, withModifiers as mt, createCommentVNode as Y, createElementVNode as ee, createVNode as ke, createTextVNode as ut, toDisplayString as Me, useAttrs as _l, createBlock as ie, resolveDynamicComponent as Zt, withCtx as G, Fragment as we, h as on, mergeProps as Ae, withKeys as un, normalizeProps as Le, guardReactiveProps as He, useSlots as Jt, createSlots as Qe, withDirectives as oa, vModelDynamic as wo, vModelText as Er, renderList as Fe, readonly as _o, customRef as ko, getCurrentScope as Rr, onScopeDispose as kl, shallowRef as al, nextTick as Ue, toValue as Rt, onMounted as Ge, onUnmounted as Lt, reactive as da, onBeforeUnmount as $o, Teleport as Br, Transition as Kt, isRef as nl, render as Xl, onBeforeUpdate as xo, vShow as sn, toHandlers as Do } from "vue";
4
+ import { getCurrentInstance as gl, computed as T, ref as U, provide as bl, inject as wl, unref as d, watch as Se, defineComponent as ye, mergeModels as Be, toRef as Ke, useModel as Ne, createElementBlock as P, openBlock as v, normalizeClass as me, renderSlot as I, normalizeStyle as it, withModifiers as gt, createCommentVNode as z, createElementVNode as ee, createVNode as ke, createTextVNode as ut, toDisplayString as Me, useAttrs as _l, createBlock as ie, resolveDynamicComponent as Zt, withCtx as G, Fragment as we, h as on, mergeProps as Ae, withKeys as un, normalizeProps as Le, guardReactiveProps as He, useSlots as Jt, createSlots as Qe, withDirectives as oa, vModelDynamic as wo, vModelText as Er, renderList as Fe, readonly as _o, customRef as ko, getCurrentScope as Rr, onScopeDispose as kl, shallowRef as al, nextTick as Ue, toValue as Rt, onMounted as Ge, onUnmounted as Lt, reactive as da, onBeforeUnmount as $o, Teleport as Br, Transition as Kt, isRef as nl, render as Xl, onBeforeUpdate as xo, vShow as sn, toHandlers as Do } from "vue";
5
5
  /*!
6
- * Quidgest UI v0.16.0
6
+ * Quidgest UI v0.16.2
7
7
  * (c) 2025 Quidgest - Consultores de Gestão, S.A.
8
8
  * Released under the MIT License.
9
9
  */
@@ -79,7 +79,7 @@ const ll = {
79
79
  onDanger: "#fff",
80
80
  onInfo: "#fff",
81
81
  onNeutral: "#fff"
82
- }, Py = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
82
+ }, Cy = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
83
83
  __proto__: null,
84
84
  defaultDarkColorScheme: Lr,
85
85
  defaultLightColorScheme: ll
@@ -479,11 +479,11 @@ const zo = ["id", "disabled"], Qo = {
479
479
  class: me(i.value),
480
480
  disabled: l.value,
481
481
  style: it(m.value),
482
- onClick: mt(r, ["stop", "prevent"])
482
+ onClick: gt(r, ["stop", "prevent"])
483
483
  }, [
484
484
  a.loading ? (v(), P("div", Qo, [
485
485
  ke(d(ja))
486
- ])) : Y("", !0),
486
+ ])) : z("", !0),
487
487
  ee("span", Wo, [
488
488
  I(c.$slots, "default"),
489
489
  ut(" " + Me(a.label), 1)
@@ -560,15 +560,15 @@ const zo = ["id", "disabled"], Qo = {
560
560
  o.$slots.title ? I(o.$slots, "title", { key: 0 }) : (v(), P(we, { key: 1 }, [
561
561
  ut(Me(o.$props.title), 1)
562
562
  ], 64))
563
- ])) : Y("", !0),
563
+ ])) : z("", !0),
564
564
  o.$slots.subtitle || e.subtitle ? (v(), P("p", Go, [
565
565
  o.$slots.subtitle ? I(o.$slots, "subtitle", { key: 0 }) : (v(), P(we, { key: 1 }, [
566
566
  ut(Me(o.$props.subtitle), 1)
567
567
  ], 64))
568
- ])) : Y("", !0)
568
+ ])) : z("", !0)
569
569
  ]),
570
570
  I(o.$slots, "header.content.append")
571
- ])) : Y("", !0),
571
+ ])) : z("", !0),
572
572
  I(o.$slots, "header.append")
573
573
  ])
574
574
  ]),
@@ -577,7 +577,7 @@ const zo = ["id", "disabled"], Qo = {
577
577
  ]),
578
578
  o.$slots.footer ? (v(), P("div", Jo, [
579
579
  I(o.$slots, "footer")
580
- ])) : Y("", !0)
580
+ ])) : z("", !0)
581
581
  ], 64))
582
582
  ]),
583
583
  _: 3
@@ -892,7 +892,7 @@ const ui = /* @__PURE__ */ ye({
892
892
  }, {
893
893
  default: G(() => [
894
894
  ee("div", fi, [
895
- o.iconRight ? Y("", !0) : I(o.$slots, "icon", { key: 0 }, () => [
895
+ o.iconRight ? z("", !0) : I(o.$slots, "icon", { key: 0 }, () => [
896
896
  ke(d(dn), {
897
897
  "model-value": a.value,
898
898
  icons: e.icons
@@ -900,7 +900,7 @@ const ui = /* @__PURE__ */ ye({
900
900
  ]),
901
901
  I(o.$slots, "title.prepend"),
902
902
  ee("h4", mi, Me(o.title), 1),
903
- e.required ? (v(), P("span", pi, " * ")) : Y("", !0),
903
+ e.required ? (v(), P("span", pi, " * ")) : z("", !0),
904
904
  I(o.$slots, "title.append"),
905
905
  o.iconRight ? I(o.$slots, "icon", { key: 2 }, () => [
906
906
  ke(d(dn), {
@@ -908,17 +908,17 @@ const ui = /* @__PURE__ */ ye({
908
908
  class: "q-collapsible__chevron-right",
909
909
  icons: e.icons
910
910
  }, null, 8, ["model-value", "icons"])
911
- ]) : Y("", !0)
911
+ ]) : z("", !0)
912
912
  ]),
913
913
  o.$slots.subtitle || o.subtitle ? (v(), P("div", vi, [
914
914
  I(o.$slots, "subtitle", {}, () => [
915
915
  ut(Me(o.subtitle), 1)
916
916
  ])
917
- ])) : Y("", !0)
917
+ ])) : z("", !0)
918
918
  ]),
919
919
  _: 3
920
920
  }, 8, ["aria-expanded"])
921
- ])) : Y("", !0)
921
+ ])) : z("", !0)
922
922
  ]),
923
923
  default: G(() => [
924
924
  ee("div", {
@@ -1031,9 +1031,9 @@ const wi = /* @__PURE__ */ ye({
1031
1031
  role: r.value ? "button" : "presentation",
1032
1032
  style: it(m.value),
1033
1033
  tabindex: r.value ? 0 : void 0,
1034
- onKeydown: un(mt(c, ["stop", "prevent"]), ["enter"])
1034
+ onKeydown: un(gt(c, ["stop", "prevent"]), ["enter"])
1035
1035
  }, [
1036
- a.variant === "tonal" ? (v(), P("div", Ti)) : Y("", !0),
1036
+ a.variant === "tonal" ? (v(), P("div", Ti)) : z("", !0),
1037
1037
  ee("div", Mi, [
1038
1038
  I(p.$slots, "default"),
1039
1039
  a.removable ? (v(), ie(d(bt), {
@@ -1050,7 +1050,7 @@ const wi = /* @__PURE__ */ ye({
1050
1050
  ke(d(Je), Le(He(a.icons.remove)), null, 16)
1051
1051
  ]),
1052
1052
  _: 1
1053
- }, 8, ["color", "aria-label"])) : Y("", !0)
1053
+ }, 8, ["color", "aria-label"])) : z("", !0)
1054
1054
  ])
1055
1055
  ], 46, Di));
1056
1056
  }
@@ -1115,7 +1115,8 @@ const wi = /* @__PURE__ */ ye({
1115
1115
  "q-button-group--elevated": e.elevated
1116
1116
  },
1117
1117
  e.class
1118
- ])
1118
+ ]),
1119
+ role: "group"
1119
1120
  }, [
1120
1121
  I(a.$slots, "default")
1121
1122
  ], 10, Oi));
@@ -1178,7 +1179,7 @@ const wi = /* @__PURE__ */ ye({
1178
1179
  ]),
1179
1180
  key: "0"
1180
1181
  } : void 0
1181
- ]), 1032, ["label"])) : Y("", !0),
1182
+ ]), 1032, ["label"])) : z("", !0),
1182
1183
  ee("button", Ae({
1183
1184
  role: "checkbox",
1184
1185
  type: "button",
@@ -1186,14 +1187,14 @@ const wi = /* @__PURE__ */ ye({
1186
1187
  "aria-checked": e.indeterminate ? "mixed" : a.value,
1187
1188
  disabled: e.disabled || e.readonly
1188
1189
  }, r.$attrs, {
1189
- onClick: mt(l, ["prevent"]),
1190
+ onClick: gt(l, ["prevent"]),
1190
1191
  onKeydown: [
1191
- un(mt(l, ["prevent"]), ["space"]),
1192
- s[0] || (s[0] = un(mt(() => {
1192
+ un(gt(l, ["prevent"]), ["space"]),
1193
+ s[0] || (s[0] = un(gt(() => {
1193
1194
  }, ["prevent"]), ["enter"]))
1194
1195
  ]
1195
1196
  }), [
1196
- a.value || r.indeterminate ? (v(), ie(d(Je), Ae({ key: 0 }, a.value ? e.icons.checked : e.icons.indeterminate, { class: "q-checkbox__input-icon" }), null, 16)) : Y("", !0)
1197
+ a.value || r.indeterminate ? (v(), ie(d(Je), Ae({ key: 0 }, a.value ? e.icons.checked : e.icons.indeterminate, { class: "q-checkbox__input-icon" }), null, 16)) : z("", !0)
1197
1198
  ], 16, Ri),
1198
1199
  e.labelPlacement === "right" ? (v(), ie(d(sl), {
1199
1200
  key: 1,
@@ -1206,7 +1207,7 @@ const wi = /* @__PURE__ */ ye({
1206
1207
  ]),
1207
1208
  key: "0"
1208
1209
  } : void 0
1209
- ]), 1032, ["label"])) : Y("", !0)
1210
+ ]), 1032, ["label"])) : z("", !0)
1210
1211
  ], 10, Ei),
1211
1212
  ee("input", {
1212
1213
  type: "checkbox",
@@ -1324,7 +1325,7 @@ const wi = /* @__PURE__ */ ye({
1324
1325
  I(s.$slots, "label.append")
1325
1326
  ]),
1326
1327
  _: 3
1327
- }, 8, ["label", "for", "required"])) : Y("", !0),
1328
+ }, 8, ["label", "for", "required"])) : z("", !0),
1328
1329
  I(s.$slots, "control", {}, () => [
1329
1330
  ee("div", Ae({
1330
1331
  ref_key: "fieldRef",
@@ -1333,16 +1334,16 @@ const wi = /* @__PURE__ */ ye({
1333
1334
  }, s.$attrs), [
1334
1335
  s.$slots.prepend ? (v(), P("div", Xi, [
1335
1336
  I(s.$slots, "prepend")
1336
- ])) : Y("", !0),
1337
+ ])) : z("", !0),
1337
1338
  I(s.$slots, "default"),
1338
1339
  s.$slots.append ? (v(), P("div", Ki, [
1339
1340
  I(s.$slots, "append")
1340
- ])) : Y("", !0)
1341
+ ])) : z("", !0)
1341
1342
  ], 16)
1342
1343
  ]),
1343
1344
  s.$slots.extras ? (v(), P("div", Gi, [
1344
1345
  I(s.$slots, "extras")
1345
- ])) : Y("", !0)
1346
+ ])) : z("", !0)
1346
1347
  ], 10, ji));
1347
1348
  }
1348
1349
  }), ma = De(Zi), kn = {
@@ -1478,7 +1479,7 @@ const wi = /* @__PURE__ */ ye({
1478
1479
  "data-testid": "q-text-field__clear-button",
1479
1480
  texts: n.texts,
1480
1481
  onClick: w
1481
- }, null, 8, ["texts"])) : Y("", !0)
1482
+ }, null, 8, ["texts"])) : z("", !0)
1482
1483
  ]),
1483
1484
  key: "1"
1484
1485
  } : void 0,
@@ -1846,25 +1847,25 @@ const wi = /* @__PURE__ */ ye({
1846
1847
  "aria-label": a.label,
1847
1848
  "aria-selected": a.disabled ? void 0 : l.value,
1848
1849
  onKeydown: o,
1849
- onClick: mt(s, ["stop", "prevent"])
1850
+ onClick: gt(s, ["stop", "prevent"])
1850
1851
  }, [
1851
1852
  I(i.$slots, "prepend"),
1852
1853
  ee("div", du, [
1853
1854
  ee("div", cu, [
1854
1855
  I(i.$slots, "default", {}, () => [
1855
- a.icon ? (v(), ie(d(Je), Le(Ae({ key: 0 }, a.icon)), null, 16)) : Y("", !0),
1856
+ a.icon ? (v(), ie(d(Je), Le(Ae({ key: 0 }, a.icon)), null, 16)) : z("", !0),
1856
1857
  ut(" " + Me(a.label), 1)
1857
1858
  ])
1858
1859
  ]),
1859
1860
  a.description ? (v(), P("div", fu, [
1860
1861
  ke(d(Je), Le(He(a.icons.description)), null, 16),
1861
1862
  ee("span", null, Me(a.description), 1)
1862
- ])) : Y("", !0)
1863
+ ])) : z("", !0)
1863
1864
  ]),
1864
1865
  I(i.$slots, "append"),
1865
1866
  a.selectable ? (v(), P("div", mu, [
1866
- l.value ? (v(), ie(d(Je), Ae({ key: 0 }, a.icons.check, { class: "q-list-item__check" }), null, 16)) : Y("", !0)
1867
- ])) : Y("", !0)
1867
+ l.value ? (v(), ie(d(Je), Ae({ key: 0 }, a.icons.check, { class: "q-list-item__check" }), null, 16)) : z("", !0)
1868
+ ])) : z("", !0)
1868
1869
  ], 42, uu));
1869
1870
  }
1870
1871
  }), vu = ["data-key", "aria-labelledby"], hu = ["id"], yu = /* @__PURE__ */ ye({
@@ -1886,7 +1887,7 @@ const wi = /* @__PURE__ */ ye({
1886
1887
  id: d(a),
1887
1888
  class: "q-list-item-group__title",
1888
1889
  role: "presentation"
1889
- }, Me(e.title), 9, hu)) : Y("", !0),
1890
+ }, Me(e.title), 9, hu)) : z("", !0),
1890
1891
  I(n.$slots, "default")
1891
1892
  ], 8, vu));
1892
1893
  }
@@ -3101,7 +3102,6 @@ const Cd = ["id"], Sd = ["role"], Od = /* @__PURE__ */ ye({
3101
3102
  spy: { type: Boolean },
3102
3103
  transition: { default: "fade" },
3103
3104
  trigger: { default: "click" },
3104
- closeOnContentClick: { type: Boolean },
3105
3105
  width: { default: "auto" },
3106
3106
  focusTrap: { type: Boolean }
3107
3107
  }, {
@@ -3298,7 +3298,7 @@ const Cd = ["id"], Sd = ["role"], Od = /* @__PURE__ */ ye({
3298
3298
  "q-overlay__underlay",
3299
3299
  { "q-overlay__underlay--blur": a.backdropBlur }
3300
3300
  ])
3301
- }, null, 2)) : Y("", !0)
3301
+ }, null, 2)) : z("", !0)
3302
3302
  ]),
3303
3303
  _: 1
3304
3304
  }),
@@ -3346,21 +3346,21 @@ const Cd = ["id"], Sd = ["role"], Od = /* @__PURE__ */ ye({
3346
3346
  role: "presentation",
3347
3347
  class: "q-overlay__arrow",
3348
3348
  style: it(x.value)
3349
- }, null, 4)) : Y("", !0),
3349
+ }, null, 4)) : z("", !0),
3350
3350
  I(O.$slots, "default")
3351
3351
  ], 16, Sd)
3352
3352
  ]),
3353
3353
  _: 3
3354
- }, 8, ["disabled", "options"])) : Y("", !0)
3354
+ }, 8, ["disabled", "options"])) : z("", !0)
3355
3355
  ]),
3356
3356
  _: 3
3357
3357
  })
3358
- ], 14, Cd)) : Y("", !0)
3358
+ ], 14, Cd)) : z("", !0)
3359
3359
  ]),
3360
3360
  _: 3
3361
3361
  }, 8, ["name"])
3362
3362
  ], 8, ["disabled", "to"])),
3363
- m.value ? (v(), ie(d(bd), { key: 0 })) : Y("", !0)
3363
+ m.value ? (v(), ie(d(bd), { key: 0 })) : z("", !0)
3364
3364
  ], 64));
3365
3365
  }
3366
3366
  }), ea = De(Od), Id = ["data-key"], qd = {
@@ -3394,6 +3394,7 @@ const Cd = ["id"], Sd = ["role"], Od = /* @__PURE__ */ ye({
3394
3394
  filterMode: { default: "builtin" },
3395
3395
  loading: { type: Boolean },
3396
3396
  emptyValue: {},
3397
+ inline: { type: Boolean },
3397
3398
  icons: { default: () => su }
3398
3399
  }, {
3399
3400
  modelValue: {},
@@ -3459,7 +3460,7 @@ const Cd = ["id"], Sd = ["role"], Od = /* @__PURE__ */ ye({
3459
3460
  var L, S;
3460
3461
  if (!(!b.key || n.readonly || n.disabled))
3461
3462
  if (["ArrowDown", "ArrowUp", "Home", "End"].includes(b.key) && (b.preventDefault(), b.stopPropagation()), b.key === "Escape")
3462
- J(), s.value && W();
3463
+ J(), s.value && (b.preventDefault(), b.stopPropagation(), W());
3463
3464
  else if (["ArrowDown", "ArrowUp"].includes(b.key))
3464
3465
  s.value ? Ue(() => {
3465
3466
  if (i.value === void 0)
@@ -3575,7 +3576,7 @@ const Cd = ["id"], Sd = ["role"], Od = /* @__PURE__ */ ye({
3575
3576
  }, b.$attrs, {
3576
3577
  onClick: F,
3577
3578
  onFocusout: h,
3578
- onKeydown: mt(re, ["stop"])
3579
+ onKeydown: re
3579
3580
  }), Qe({
3580
3581
  "label.prepend": G(() => [
3581
3582
  I(b.$slots, "label.prepend")
@@ -3590,8 +3591,8 @@ const Cd = ["id"], Sd = ["role"], Od = /* @__PURE__ */ ye({
3590
3591
  icons: n.icons,
3591
3592
  texts: n.texts,
3592
3593
  onClick: V
3593
- }, null, 8, ["icons", "texts"])) : Y("", !0),
3594
- n.readonly ? Y("", !0) : (v(), ie(d(bt), {
3594
+ }, null, 8, ["icons", "texts"])) : z("", !0),
3595
+ n.readonly ? z("", !0) : (v(), ie(d(bt), {
3595
3596
  key: 1,
3596
3597
  ref_key: "toggleRef",
3597
3598
  ref: f,
@@ -3602,7 +3603,7 @@ const Cd = ["id"], Sd = ["role"], Od = /* @__PURE__ */ ye({
3602
3603
  borderless: "",
3603
3604
  tabindex: "-1",
3604
3605
  disabled: n.disabled,
3605
- onMousedown: mt(A, ["stop", "prevent"])
3606
+ onMousedown: gt(A, ["stop", "prevent"])
3606
3607
  }, {
3607
3608
  default: G(() => [
3608
3609
  ke(d(dn), {
@@ -3639,6 +3640,7 @@ const Cd = ["id"], Sd = ["role"], Od = /* @__PURE__ */ ye({
3639
3640
  placement: "bottom-start",
3640
3641
  width: "anchor",
3641
3642
  offset: 4,
3643
+ inline: n.inline,
3642
3644
  anchor: (S = m.value) == null ? void 0 : S.$el,
3643
3645
  onEnter: X,
3644
3646
  onLeave: E
@@ -3682,7 +3684,7 @@ const Cd = ["id"], Sd = ["role"], Od = /* @__PURE__ */ ye({
3682
3684
  ];
3683
3685
  }),
3684
3686
  _: 3
3685
- }, 8, ["modelValue", "anchor"])
3687
+ }, 8, ["modelValue", "inline", "anchor"])
3686
3688
  ], 64);
3687
3689
  };
3688
3690
  }
@@ -6927,10 +6929,10 @@ Nl.compatConfig = {
6927
6929
  };
6928
6930
  const wt = (t, e) => e ? new Date(t.toLocaleString("en-US", { timeZone: e })) : new Date(t), Vl = (t, e, a) => ml(t, e, a) || se(), Hf = (t, e, a) => {
6929
6931
  const n = e.dateInTz ? wt(new Date(t), e.dateInTz) : se(t);
6930
- return a ? pt(n, !0) : n;
6932
+ return a ? mt(n, !0) : n;
6931
6933
  }, ml = (t, e, a) => {
6932
6934
  if (!t) return null;
6933
- const n = a ? pt(se(t), !0) : se(t);
6935
+ const n = a ? mt(se(t), !0) : se(t);
6934
6936
  return e ? e.exactMatch ? Hf(t, e, a) : wt(n, e.timezone) : n;
6935
6937
  }, Uf = (t) => {
6936
6938
  const e = new Date(t.getFullYear(), 0, 1).getTimezoneOffset();
@@ -6940,9 +6942,9 @@ const wt = (t, e) => e ? new Date(t.toLocaleString("en-US", { timeZone: e })) :
6940
6942
  const a = /* @__PURE__ */ new Date(), n = new Date(a.toLocaleString("en-US", { timeZone: "UTC" })), l = new Date(a.toLocaleString("en-US", { timeZone: t })), r = (Uf(e ?? l) ? l : e ?? l).getTimezoneOffset() / 60;
6941
6943
  return (+n - +l) / (1e3 * 60 * 60) - r;
6942
6944
  };
6943
- var Dt = /* @__PURE__ */ ((t) => (t.month = "month", t.year = "year", t))(Dt || {}), Tt = /* @__PURE__ */ ((t) => (t.top = "top", t.bottom = "bottom", t))(Tt || {}), ia = /* @__PURE__ */ ((t) => (t.header = "header", t.calendar = "calendar", t.timePicker = "timePicker", t))(ia || {}), ht = /* @__PURE__ */ ((t) => (t.month = "month", t.year = "year", t.calendar = "calendar", t.time = "time", t.minutes = "minutes", t.hours = "hours", t.seconds = "seconds", t))(ht || {});
6945
+ var Dt = /* @__PURE__ */ ((t) => (t.month = "month", t.year = "year", t))(Dt || {}), Tt = /* @__PURE__ */ ((t) => (t.top = "top", t.bottom = "bottom", t))(Tt || {}), ia = /* @__PURE__ */ ((t) => (t.header = "header", t.calendar = "calendar", t.timePicker = "timePicker", t))(ia || {}), vt = /* @__PURE__ */ ((t) => (t.month = "month", t.year = "year", t.calendar = "calendar", t.time = "time", t.minutes = "minutes", t.hours = "hours", t.seconds = "seconds", t))(vt || {});
6944
6946
  const Xf = ["timestamp", "date", "iso"];
6945
- var yt = /* @__PURE__ */ ((t) => (t.up = "up", t.down = "down", t.left = "left", t.right = "right", t))(yt || {}), Xe = /* @__PURE__ */ ((t) => (t.arrowUp = "ArrowUp", t.arrowDown = "ArrowDown", t.arrowLeft = "ArrowLeft", t.arrowRight = "ArrowRight", t.enter = "Enter", t.space = " ", t.esc = "Escape", t.tab = "Tab", t.home = "Home", t.end = "End", t.pageUp = "PageUp", t.pageDown = "PageDown", t))(Xe || {}), ka = /* @__PURE__ */ ((t) => (t.MONTH_AND_YEAR = "MM-yyyy", t.YEAR = "yyyy", t.DATE = "dd-MM-yyyy", t))(ka || {});
6947
+ var ht = /* @__PURE__ */ ((t) => (t.up = "up", t.down = "down", t.left = "left", t.right = "right", t))(ht || {}), Xe = /* @__PURE__ */ ((t) => (t.arrowUp = "ArrowUp", t.arrowDown = "ArrowDown", t.arrowLeft = "ArrowLeft", t.arrowRight = "ArrowRight", t.enter = "Enter", t.space = " ", t.esc = "Escape", t.tab = "Tab", t.home = "Home", t.end = "End", t.pageUp = "PageUp", t.pageDown = "PageDown", t))(Xe || {}), ka = /* @__PURE__ */ ((t) => (t.MONTH_AND_YEAR = "MM-yyyy", t.YEAR = "yyyy", t.DATE = "dd-MM-yyyy", t))(ka || {});
6946
6948
  function br(t) {
6947
6949
  return (e) => new Intl.DateTimeFormat(t, { weekday: "short", timeZone: "UTC" }).format(/* @__PURE__ */ new Date(`2017-01-0${e}T00:00:00+00:00`)).slice(0, 2);
6948
6950
  }
@@ -7048,7 +7050,7 @@ function am(t, e) {
7048
7050
  if (n >= 0 && (e ? n - 1 >= 0 : n + 1 <= a.length))
7049
7051
  return a[n + (e ? -1 : 1)];
7050
7052
  }
7051
- const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e}"]`), Ls = (t, e) => new Intl.NumberFormat(e, { useGrouping: !1, style: "decimal" }).format(t), zl = (t, e) => Bt(t, e ?? ka.DATE), Wn = (t) => Array.isArray(t), gn = (t, e, a) => e.get(zl(t, a)), nm = (t, e) => t ? e ? e instanceof Map ? !!gn(t, e) : e(se(t)) : !1 : !0, gt = (t, e, a = !1, n) => {
7053
+ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e}"]`), Ls = (t, e) => new Intl.NumberFormat(e, { useGrouping: !1, style: "decimal" }).format(t), zl = (t, e) => Bt(t, e ?? ka.DATE), Wn = (t) => Array.isArray(t), gn = (t, e, a) => e.get(zl(t, a)), nm = (t, e) => t ? e ? e instanceof Map ? !!gn(t, e) : e(se(t)) : !1 : !0, yt = (t, e, a = !1, n) => {
7052
7054
  if (t.key === Xe.enter || t.key === Xe.space)
7053
7055
  return a && t.preventDefault(), e();
7054
7056
  if (n) return n(t);
@@ -7086,15 +7088,15 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
7086
7088
  t.getUTCSeconds()
7087
7089
  );
7088
7090
  return new Date(n).toISOString();
7089
- }, pt = (t, e) => {
7091
+ }, mt = (t, e) => {
7090
7092
  const a = se(JSON.parse(JSON.stringify(t))), n = We(a, { hours: 0, minutes: 0, seconds: 0, milliseconds: 0 });
7091
7093
  return e ? Gd(n) : n;
7092
7094
  }, Xt = (t, e, a, n) => {
7093
7095
  let l = t ? se(t) : se();
7094
7096
  return (e || e === 0) && (l = zf(l, +e)), (a || a === 0) && (l = Qf(l, +a)), (n || n === 0) && (l = Os(l, +n)), Ss(l, 0);
7095
- }, tt = (t, e) => !t || !e ? !1 : Ta(pt(t), pt(e)), Re = (t, e) => !t || !e ? !1 : _a(pt(t), pt(e)), lt = (t, e) => !t || !e ? !1 : fa(pt(t), pt(e)), Ha = (t, e, a) => t != null && t[0] && t != null && t[1] ? lt(a, t[0]) && tt(a, t[1]) : t != null && t[0] && e ? lt(a, t[0]) && tt(a, e) || tt(a, t[0]) && lt(a, e) : !1, Mt = (t) => {
7097
+ }, tt = (t, e) => !t || !e ? !1 : Ta(mt(t), mt(e)), Re = (t, e) => !t || !e ? !1 : _a(mt(t), mt(e)), lt = (t, e) => !t || !e ? !1 : fa(mt(t), mt(e)), Ha = (t, e, a) => t != null && t[0] && t != null && t[1] ? lt(a, t[0]) && tt(a, t[1]) : t != null && t[0] && e ? lt(a, t[0]) && tt(a, e) || tt(a, t[0]) && lt(a, e) : !1, Mt = (t) => {
7096
7098
  const e = We(new Date(t), { date: 1 });
7097
- return pt(e);
7099
+ return mt(e);
7098
7100
  }, Hn = (t, e, a) => e && (a || a === 0) ? Object.fromEntries(
7099
7101
  ["hours", "minutes", "seconds"].map((n) => n === e ? [n, a] : [n, isNaN(+t[n]) ? void 0 : +t[n]])
7100
7102
  ) : {
@@ -7182,7 +7184,7 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
7182
7184
  }
7183
7185
  return !0;
7184
7186
  }, Hs = (t, e, a) => typeof t == "function" ? t({ month: e, year: a }) : !!t.months.find((n) => n.month === e && n.year === a), Ql = (t, e) => typeof t == "function" ? t(e) : t.years.includes(e), hl = (t) => `dp-${Bt(t, "yyyy-MM-dd")}`, xr = (t, e) => {
7185
- const a = Ps(pt(e), t), n = kt(pt(e), t);
7187
+ const a = Ps(mt(e), t), n = kt(mt(e), t);
7186
7188
  return { before: a, after: n };
7187
7189
  }, Na = da({
7188
7190
  menuFocused: !1,
@@ -7209,21 +7211,21 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
7209
7211
  1: []
7210
7212
  },
7211
7213
  monthPicker: []
7212
- }), Kn = U(null), ln = U(!1), Gn = U(!1), Zn = U(!1), Jn = U(!1), vt = U(0), nt = U(0), ta = () => {
7214
+ }), Kn = U(null), ln = U(!1), Gn = U(!1), Zn = U(!1), Jn = U(!1), pt = U(0), nt = U(0), ta = () => {
7213
7215
  const t = T(() => ln.value ? [...je.selectionGrid, je.actionRow].filter((f) => f.length) : Gn.value ? [
7214
7216
  ...je.timePicker[0],
7215
7217
  ...je.timePicker[1],
7216
7218
  Jn.value ? [] : [Kn.value],
7217
7219
  je.actionRow
7218
7220
  ].filter((f) => f.length) : Zn.value ? [...je.monthPicker, je.actionRow] : [je.monthYear, ...je.calendar, je.time, je.actionRow].filter((f) => f.length)), e = (f) => {
7219
- vt.value = f ? vt.value + 1 : vt.value - 1;
7221
+ pt.value = f ? pt.value + 1 : pt.value - 1;
7220
7222
  let p = null;
7221
- t.value[nt.value] && (p = t.value[nt.value][vt.value]), !p && t.value[nt.value + (f ? 1 : -1)] ? (nt.value = nt.value + (f ? 1 : -1), vt.value = f ? 0 : t.value[nt.value].length - 1) : p || (vt.value = f ? vt.value - 1 : vt.value + 1);
7223
+ t.value[nt.value] && (p = t.value[nt.value][pt.value]), !p && t.value[nt.value + (f ? 1 : -1)] ? (nt.value = nt.value + (f ? 1 : -1), pt.value = f ? 0 : t.value[nt.value].length - 1) : p || (pt.value = f ? pt.value - 1 : pt.value + 1);
7222
7224
  }, a = (f) => {
7223
- nt.value === 0 && !f || nt.value === t.value.length && f || (nt.value = f ? nt.value + 1 : nt.value - 1, t.value[nt.value] ? t.value[nt.value] && !t.value[nt.value][vt.value] && vt.value !== 0 && (vt.value = t.value[nt.value].length - 1) : nt.value = f ? nt.value - 1 : nt.value + 1);
7225
+ nt.value === 0 && !f || nt.value === t.value.length && f || (nt.value = f ? nt.value + 1 : nt.value - 1, t.value[nt.value] ? t.value[nt.value] && !t.value[nt.value][pt.value] && pt.value !== 0 && (pt.value = t.value[nt.value].length - 1) : nt.value = f ? nt.value - 1 : nt.value + 1);
7224
7226
  }, n = (f) => {
7225
7227
  let p = null;
7226
- t.value[nt.value] && (p = t.value[nt.value][vt.value]), p ? p.focus({ preventScroll: !ln.value }) : vt.value = f ? vt.value - 1 : vt.value + 1;
7228
+ t.value[nt.value] && (p = t.value[nt.value][pt.value]), p ? p.focus({ preventScroll: !ln.value }) : pt.value = f ? pt.value - 1 : pt.value + 1;
7227
7229
  }, l = () => {
7228
7230
  e(!0), n(!0);
7229
7231
  }, r = () => {
@@ -7237,7 +7239,7 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
7237
7239
  }, m = (f, p) => {
7238
7240
  je[p] = f;
7239
7241
  }, c = () => {
7240
- vt.value = 0, nt.value = 0;
7242
+ pt.value = 0, nt.value = 0;
7241
7243
  };
7242
7244
  return {
7243
7245
  buildMatrix: i,
@@ -7818,11 +7820,11 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
7818
7820
  y.$slots["action-preview"] && $.value ? I(y.$slots, "action-preview", {
7819
7821
  key: 0,
7820
7822
  value: y.internalModelValue
7821
- }) : Y("", !0),
7823
+ }) : z("", !0),
7822
7824
  !y.$slots["action-preview"] && $.value ? (v(), P(we, { key: 1 }, [
7823
7825
  ut(Me(ae.value), 1)
7824
- ], 64)) : Y("", !0)
7825
- ], 12, Im)) : Y("", !0),
7826
+ ], 64)) : z("", !0)
7827
+ ], 12, Im)) : z("", !0),
7826
7828
  ee("div", {
7827
7829
  ref_key: "actionBtnContainer",
7828
7830
  ref: C,
@@ -7832,8 +7834,8 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
7832
7834
  y.$slots["action-buttons"] ? I(y.$slots, "action-buttons", {
7833
7835
  key: 0,
7834
7836
  value: y.internalModelValue
7835
- }) : Y("", !0),
7836
- y.$slots["action-buttons"] ? Y("", !0) : (v(), P(we, { key: 1 }, [
7837
+ }) : z("", !0),
7838
+ y.$slots["action-buttons"] ? z("", !0) : (v(), P(we, { key: 1 }, [
7837
7839
  !d(i).enabled && d(l).showCancel ? (v(), P("button", {
7838
7840
  key: 0,
7839
7841
  ref_key: "cancelButtonRef",
@@ -7841,15 +7843,15 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
7841
7843
  type: "button",
7842
7844
  class: "dp__action_button dp__action_cancel",
7843
7845
  onClick: h[0] || (h[0] = (k) => y.$emit("close-picker")),
7844
- onKeydown: h[1] || (h[1] = (k) => d(gt)(k, () => y.$emit("close-picker")))
7845
- }, Me(y.cancelText), 545)) : Y("", !0),
7846
+ onKeydown: h[1] || (h[1] = (k) => d(yt)(k, () => y.$emit("close-picker")))
7847
+ }, Me(y.cancelText), 545)) : z("", !0),
7846
7848
  d(l).showNow ? (v(), P("button", {
7847
7849
  key: 1,
7848
7850
  type: "button",
7849
7851
  class: "dp__action_button dp__action_cancel",
7850
7852
  onClick: h[2] || (h[2] = (k) => y.$emit("select-now")),
7851
- onKeydown: h[3] || (h[3] = (k) => d(gt)(k, () => y.$emit("select-now")))
7852
- }, Me(y.nowButtonLabel), 33)) : Y("", !0),
7853
+ onKeydown: h[3] || (h[3] = (k) => d(yt)(k, () => y.$emit("select-now")))
7854
+ }, Me(y.nowButtonLabel), 33)) : z("", !0),
7853
7855
  d(l).showSelect ? (v(), P("button", {
7854
7856
  key: 2,
7855
7857
  ref_key: "selectButtonRef",
@@ -7858,9 +7860,9 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
7858
7860
  class: "dp__action_button dp__action_select",
7859
7861
  disabled: H.value,
7860
7862
  "data-test-id": "select-button",
7861
- onKeydown: h[4] || (h[4] = (k) => d(gt)(k, () => B())),
7863
+ onKeydown: h[4] || (h[4] = (k) => d(yt)(k, () => B())),
7862
7864
  onClick: B
7863
- }, Me(y.selectText), 41, qm)) : Y("", !0)
7865
+ }, Me(y.selectText), 41, qm)) : z("", !0)
7864
7866
  ], 64))
7865
7867
  ], 512)
7866
7868
  ], 64))
@@ -7994,7 +7996,7 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
7994
7996
  "aria-label": L.overlayLabel,
7995
7997
  tabindex: L.useRelative ? void 0 : "0",
7996
7998
  onKeydown: te,
7997
- onClick: S[0] || (S[0] = mt(() => {
7999
+ onClick: S[0] || (S[0] = gt(() => {
7998
8000
  }, ["prevent"]))
7999
8001
  }, [
8000
8002
  ee("div", {
@@ -8022,8 +8024,8 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8022
8024
  "aria-disabled": u.disabled || void 0,
8023
8025
  tabindex: "0",
8024
8026
  "data-test-id": u.text,
8025
- onClick: mt((ue) => ae(u), ["prevent"]),
8026
- onKeydown: (ue) => d(gt)(ue, () => ae(u), !0),
8027
+ onClick: gt((ue) => ae(u), ["prevent"]),
8028
+ onKeydown: (ue) => d(yt)(ue, () => ae(u), !0),
8027
8029
  onMouseover: (ue) => X(u.value)
8028
8030
  }, [
8029
8031
  ee("div", {
@@ -8032,8 +8034,8 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8032
8034
  L.$slots.item ? I(L.$slots, "item", {
8033
8035
  key: 0,
8034
8036
  item: u
8035
- }) : Y("", !0),
8036
- L.$slots.item ? Y("", !0) : (v(), P(we, { key: 1 }, [
8037
+ }) : z("", !0),
8038
+ L.$slots.item ? z("", !0) : (v(), P(we, { key: 1 }, [
8037
8039
  ut(Me(u.text), 1)
8038
8040
  ], 64))
8039
8041
  ], 2)
@@ -8054,7 +8056,7 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8054
8056
  I(L.$slots, "button-icon")
8055
8057
  ], 42, Nm)), [
8056
8058
  [sn, !d(f)(L.hideNavigation, L.type)]
8057
- ]) : Y("", !0)
8059
+ ]) : z("", !0)
8058
8060
  ], 46, Rm);
8059
8061
  };
8060
8062
  }
@@ -8115,7 +8117,7 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8115
8117
  "aria-label": l.ariaLabel,
8116
8118
  "aria-disabled": l.disabled || void 0,
8117
8119
  onClick: r[0] || (r[0] = (s) => l.$emit("activate")),
8118
- onKeydown: r[1] || (r[1] = (s) => d(gt)(s, () => l.$emit("activate"), !0))
8120
+ onKeydown: r[1] || (r[1] = (s) => d(yt)(s, () => l.$emit("activate"), !0))
8119
8121
  }, [
8120
8122
  ee("span", {
8121
8123
  class: me(["dp__inner_nav", { dp__inner_nav_disabled: l.disabled }])
@@ -8158,11 +8160,11 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8158
8160
  onActivate: C[0] || (C[0] = (A) => $(!1))
8159
8161
  }, {
8160
8162
  default: G(() => [
8161
- _.$slots["arrow-left"] ? I(_.$slots, "arrow-left", { key: 0 }) : Y("", !0),
8162
- _.$slots["arrow-left"] ? Y("", !0) : (v(), ie(d(El), { key: 1 }))
8163
+ _.$slots["arrow-left"] ? I(_.$slots, "arrow-left", { key: 0 }) : z("", !0),
8164
+ _.$slots["arrow-left"] ? z("", !0) : (v(), ie(d(El), { key: 1 }))
8163
8165
  ]),
8164
8166
  _: 3
8165
- }, 8, ["aria-label", "disabled", "class"])) : Y("", !0),
8167
+ }, 8, ["aria-label", "disabled", "class"])) : z("", !0),
8166
8168
  ee("button", {
8167
8169
  ref: "mpYearButtonRef",
8168
8170
  class: "dp__btn dp--year-select",
@@ -8175,8 +8177,8 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8175
8177
  _.$slots.year ? I(_.$slots, "year", {
8176
8178
  key: 0,
8177
8179
  year: t.year
8178
- }) : Y("", !0),
8179
- _.$slots.year ? Y("", !0) : (v(), P(we, { key: 1 }, [
8180
+ }) : z("", !0),
8181
+ _.$slots.year ? z("", !0) : (v(), P(we, { key: 1 }, [
8180
8182
  ut(Me(t.year), 1)
8181
8183
  ], 64))
8182
8184
  ], 40, Ym),
@@ -8189,11 +8191,11 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8189
8191
  onActivate: C[3] || (C[3] = (A) => $(!0))
8190
8192
  }, {
8191
8193
  default: G(() => [
8192
- _.$slots["arrow-right"] ? I(_.$slots, "arrow-right", { key: 0 }) : Y("", !0),
8193
- _.$slots["arrow-right"] ? Y("", !0) : (v(), ie(d(Rl), { key: 1 }))
8194
+ _.$slots["arrow-right"] ? I(_.$slots, "arrow-right", { key: 0 }) : z("", !0),
8195
+ _.$slots["arrow-right"] ? z("", !0) : (v(), ie(d(Rl), { key: 1 }))
8194
8196
  ]),
8195
8197
  _: 3
8196
- }, 8, ["aria-label", "disabled", "class"])) : Y("", !0)
8198
+ }, 8, ["aria-label", "disabled", "class"])) : z("", !0)
8197
8199
  ], 2),
8198
8200
  ke(Kt, {
8199
8201
  name: d(p)(t.showYearPicker),
@@ -8217,8 +8219,8 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8217
8219
  onSelected: C[4] || (C[4] = (F) => M(F))
8218
8220
  }, Qe({
8219
8221
  "button-icon": G(() => [
8220
- _.$slots["calendar-icon"] ? I(_.$slots, "calendar-icon", { key: 0 }) : Y("", !0),
8221
- _.$slots["calendar-icon"] ? Y("", !0) : (v(), ie(d(Sa), { key: 1 }))
8222
+ _.$slots["calendar-icon"] ? I(_.$slots, "calendar-icon", { key: 0 }) : z("", !0),
8223
+ _.$slots["calendar-icon"] ? z("", !0) : (v(), ie(d(Sa), { key: 1 }))
8222
8224
  ]),
8223
8225
  _: 2
8224
8226
  }, [
@@ -8232,7 +8234,7 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8232
8234
  ]),
8233
8235
  key: "0"
8234
8236
  } : void 0
8235
- ]), 1032, ["items", "text-input", "esc-close", "config", "is-last", "hide-navigation", "aria-labels", "overlay-label"])) : Y("", !0)
8237
+ ]), 1032, ["items", "text-input", "esc-close", "config", "is-last", "hide-navigation", "aria-labels", "overlay-label"])) : z("", !0)
8236
8238
  ];
8237
8239
  }),
8238
8240
  _: 3
@@ -8331,7 +8333,7 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8331
8333
  J(ae, F);
8332
8334
  }
8333
8335
  }, V = (F, re = !1, ae) => {
8334
- re || c("reset-flow"), ae !== void 0 ? p.value[F] = ae : p.value[F] = !p.value[F], p.value[F] ? c("overlay-toggle", { open: !0, overlay: ht.year }) : (c("overlay-closed"), c("overlay-toggle", { open: !1, overlay: ht.year }));
8336
+ re || c("reset-flow"), ae !== void 0 ? p.value[F] = ae : p.value[F] = !p.value[F], p.value[F] ? c("overlay-toggle", { open: !0, overlay: vt.year }) : (c("overlay-closed"), c("overlay-toggle", { open: !1, overlay: vt.year }));
8335
8337
  };
8336
8338
  return {
8337
8339
  isDisabled: w,
@@ -8515,7 +8517,7 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8515
8517
  W.$slots["top-extra"] ? I(W.$slots, "top-extra", {
8516
8518
  key: 0,
8517
8519
  value: W.internalModelValue
8518
- }) : Y("", !0),
8520
+ }) : z("", !0),
8519
8521
  W.$slots["month-year"] ? I(W.$slots, "month-year", Le(Ae({ key: 1 }, {
8520
8522
  year: d(m),
8521
8523
  months: d(o)(V),
@@ -8598,7 +8600,7 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8598
8600
  selectYear: (_) => {
8599
8601
  var C;
8600
8602
  if (e("update-month-year", { instance: 0, year: _ }), s.value.enabled)
8601
- return n.value ? Array.isArray(n.value) && (((C = n.value) == null ? void 0 : C.map((D) => Pe(D))).includes(_) ? n.value = n.value.filter((D) => Pe(D) !== _) : n.value.push(Et(pt(se()), _))) : n.value = [Et(pt(Qa(se())), _)], e("auto-apply", !0);
8603
+ return n.value ? Array.isArray(n.value) && (((C = n.value) == null ? void 0 : C.map((D) => Pe(D))).includes(_) ? n.value = n.value.filter((D) => Pe(D) !== _) : n.value.push(Et(mt(se()), _))) : n.value = [Et(mt(Qa(se())), _)], e("auto-apply", !0);
8602
8604
  i.value.enabled ? (n.value = Hl(n, $(_), e), Ue().then(() => {
8603
8605
  An(n.value, e, t.autoApply, t.modelAuto);
8604
8606
  })) : (n.value = $(_), e("auto-apply"));
@@ -8629,7 +8631,7 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8629
8631
  f.$slots["top-extra"] ? I(f.$slots, "top-extra", {
8630
8632
  key: 0,
8631
8633
  value: f.internalModelValue
8632
- }) : Y("", !0),
8634
+ }) : z("", !0),
8633
8635
  f.$slots["month-year"] ? I(f.$slots, "month-year", Le(Ae({ key: 1 }, {
8634
8636
  years: d(r),
8635
8637
  selectYear: d(i)
@@ -8790,7 +8792,7 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8790
8792
  }, pe = (g, ce) => (le(g), n(`update:${g}`, ce));
8791
8793
  return e({ openChildCmp: Ce }), (g, ce) => {
8792
8794
  var he;
8793
- return g.disabled ? Y("", !0) : (v(), P("div", Um, [
8795
+ return g.disabled ? z("", !0) : (v(), P("div", Um, [
8794
8796
  (v(!0), P(we, null, Fe(k.value, (fe, qe) => {
8795
8797
  var Oe, Q, oe;
8796
8798
  return v(), P("div", {
@@ -8800,7 +8802,7 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8800
8802
  "data-collapsed": h.value && g.enableSeconds
8801
8803
  }, [
8802
8804
  fe.separator ? (v(), P(we, { key: 0 }, [
8803
- q.value ? Y("", !0) : (v(), P(we, { key: 0 }, [
8805
+ q.value ? z("", !0) : (v(), P(we, { key: 0 }, [
8804
8806
  ut(":")
8805
8807
  ], 64))
8806
8808
  ], 64)) : (v(), P(we, { key: 1 }, [
@@ -8819,7 +8821,7 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8819
8821
  "data-test-id": `${fe.type}-time-inc-btn-${l.order}`,
8820
8822
  "aria-label": (Oe = d(o)) == null ? void 0 : Oe.incrementValue(fe.type),
8821
8823
  tabindex: "0",
8822
- onKeydown: (_e) => d(gt)(_e, () => ue(fe.type, !0, { keyboard: !0 }), !0),
8824
+ onKeydown: (_e) => d(yt)(_e, () => ue(fe.type, !0, { keyboard: !0 }), !0),
8823
8825
  onClick: (_e) => d(c).timeArrowHoldThreshold ? void 0 : ue(fe.type, !0),
8824
8826
  onMousedown: (_e) => d(c).timeArrowHoldThreshold ? ue(fe.type, !0) : void 0,
8825
8827
  onMouseup: O
@@ -8830,8 +8832,8 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8830
8832
  ce[3] || (ce[3] = ee("span", { class: "dp__tp_inline_btn_bar dp__tp_btn_in_r" }, null, -1))
8831
8833
  ], 64))
8832
8834
  ], 64)) : (v(), P(we, { key: 0 }, [
8833
- g.$slots["arrow-up"] ? I(g.$slots, "arrow-up", { key: 0 }) : Y("", !0),
8834
- g.$slots["arrow-up"] ? Y("", !0) : (v(), ie(d(Ll), { key: 1 }))
8835
+ g.$slots["arrow-up"] ? I(g.$slots, "arrow-up", { key: 0 }) : z("", !0),
8836
+ g.$slots["arrow-up"] ? z("", !0) : (v(), ie(d(Ll), { key: 1 }))
8835
8837
  ], 64))
8836
8838
  ], 42, Xm),
8837
8839
  ee("button", {
@@ -8850,15 +8852,15 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8850
8852
  disabled: j(fe.type),
8851
8853
  tabindex: "0",
8852
8854
  "data-test-id": `${fe.type}-toggle-overlay-btn-${l.order}`,
8853
- onKeydown: (_e) => d(gt)(_e, () => le(fe.type), !0),
8855
+ onKeydown: (_e) => d(yt)(_e, () => le(fe.type), !0),
8854
8856
  onClick: (_e) => le(fe.type)
8855
8857
  }, [
8856
8858
  g.$slots[fe.type] ? I(g.$slots, fe.type, {
8857
8859
  key: 0,
8858
8860
  text: X.value(fe.type).text,
8859
8861
  value: X.value(fe.type).value
8860
- }) : Y("", !0),
8861
- g.$slots[fe.type] ? Y("", !0) : (v(), P(we, { key: 1 }, [
8862
+ }) : z("", !0),
8863
+ g.$slots[fe.type] ? z("", !0) : (v(), P(we, { key: 1 }, [
8862
8864
  ut(Me(X.value(fe.type).text), 1)
8863
8865
  ], 64))
8864
8866
  ], 42, Km),
@@ -8877,7 +8879,7 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8877
8879
  "data-test-id": `${fe.type}-time-dec-btn-${l.order}`,
8878
8880
  "aria-label": (oe = d(o)) == null ? void 0 : oe.decrementValue(fe.type),
8879
8881
  tabindex: "0",
8880
- onKeydown: (_e) => d(gt)(_e, () => ue(fe.type, !1, { keyboard: !0 }), !0),
8882
+ onKeydown: (_e) => d(yt)(_e, () => ue(fe.type, !1, { keyboard: !0 }), !0),
8881
8883
  onClick: (_e) => d(c).timeArrowHoldThreshold ? void 0 : ue(fe.type, !1),
8882
8884
  onMousedown: (_e) => d(c).timeArrowHoldThreshold ? ue(fe.type, !1) : void 0,
8883
8885
  onMouseup: O
@@ -8888,20 +8890,20 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8888
8890
  ce[5] || (ce[5] = ee("span", { class: "dp__tp_inline_btn_bar dp__tp_btn_in_r" }, null, -1))
8889
8891
  ], 64))
8890
8892
  ], 64)) : (v(), P(we, { key: 0 }, [
8891
- g.$slots["arrow-down"] ? I(g.$slots, "arrow-down", { key: 0 }) : Y("", !0),
8892
- g.$slots["arrow-down"] ? Y("", !0) : (v(), ie(d(Nl), { key: 1 }))
8893
+ g.$slots["arrow-down"] ? I(g.$slots, "arrow-down", { key: 0 }) : z("", !0),
8894
+ g.$slots["arrow-down"] ? z("", !0) : (v(), ie(d(Nl), { key: 1 }))
8893
8895
  ], 64))
8894
8896
  ], 42, Gm)
8895
8897
  ], 64))
8896
8898
  ], 10, jm);
8897
8899
  }), 128)),
8898
- g.is24 ? Y("", !0) : (v(), P("div", Zm, [
8900
+ g.is24 ? z("", !0) : (v(), P("div", Zm, [
8899
8901
  g.$slots["am-pm-button"] ? I(g.$slots, "am-pm-button", {
8900
8902
  key: 0,
8901
8903
  toggle: K,
8902
8904
  value: $.value
8903
- }) : Y("", !0),
8904
- g.$slots["am-pm-button"] ? Y("", !0) : (v(), P("button", {
8905
+ }) : z("", !0),
8906
+ g.$slots["am-pm-button"] ? z("", !0) : (v(), P("button", {
8905
8907
  key: 1,
8906
8908
  ref_key: "amPmButton",
8907
8909
  ref: _,
@@ -8912,7 +8914,7 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8912
8914
  tabindex: "0",
8913
8915
  "data-compact": h.value,
8914
8916
  onClick: K,
8915
- onKeydown: ce[0] || (ce[0] = (fe) => d(gt)(fe, () => K(), !0))
8917
+ onKeydown: ce[0] || (ce[0] = (fe) => d(yt)(fe, () => K(), !0))
8916
8918
  }, Me($.value), 41, Jm))
8917
8919
  ])),
8918
8920
  (v(!0), P(we, null, Fe(R.value, (fe, qe) => (v(), ie(Kt, {
@@ -8939,8 +8941,8 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8939
8941
  onResetFlow: ce[1] || (ce[1] = (oe) => g.$emit("reset-flow"))
8940
8942
  }, Qe({
8941
8943
  "button-icon": G(() => [
8942
- g.$slots["clock-icon"] ? I(g.$slots, "clock-icon", { key: 0 }) : Y("", !0),
8943
- g.$slots["clock-icon"] ? Y("", !0) : (v(), ie(Zt(g.timePickerInline ? d(Sa) : d(Bl)), { key: 1 }))
8944
+ g.$slots["clock-icon"] ? I(g.$slots, "clock-icon", { key: 0 }) : z("", !0),
8945
+ g.$slots["clock-icon"] ? z("", !0) : (v(), ie(Zt(g.timePickerInline ? d(Sa) : d(Bl)), { key: 1 }))
8944
8946
  ]),
8945
8947
  _: 2
8946
8948
  }, [
@@ -8963,7 +8965,7 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
8963
8965
  ]),
8964
8966
  key: "1"
8965
8967
  } : void 0
8966
- ]), 1032, ["items", "is-last", "esc-close", "type", "text-input", "config", "arrow-navigation", "aria-labels", "overlay-label", "onSelected", "onToggle"])) : Y("", !0)
8968
+ ]), 1032, ["items", "is-last", "esc-close", "type", "text-input", "config", "arrow-navigation", "aria-labels", "overlay-label", "onSelected", "onToggle"])) : z("", !0)
8967
8969
  ];
8968
8970
  }),
8969
8971
  _: 2
@@ -9015,7 +9017,7 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9015
9017
  E.push(W(0));
9016
9018
  return E;
9017
9019
  }), V = (E, te = !1, b = "") => {
9018
- te || n("reset-flow"), H.value = E, n(E ? "overlay-opened" : "overlay-closed", ht.time), l.arrowNavigation && s(E), Ue(() => {
9020
+ te || n("reset-flow"), H.value = E, n(E ? "overlay-opened" : "overlay-closed", vt.time), l.arrowNavigation && s(E), Ue(() => {
9019
9021
  b !== "" && C.value[0] && C.value[0].openChildCmp(b);
9020
9022
  });
9021
9023
  }, F = T(() => ({
@@ -9053,14 +9055,14 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9053
9055
  "aria-label": (b = d(m)) == null ? void 0 : b.openTimePicker,
9054
9056
  tabindex: E.noOverlayFocus ? void 0 : 0,
9055
9057
  "data-test-id": "open-time-picker-btn",
9056
- onKeydown: te[0] || (te[0] = (L) => d(gt)(L, () => V(!0))),
9058
+ onKeydown: te[0] || (te[0] = (L) => d(yt)(L, () => V(!0))),
9057
9059
  onClick: te[1] || (te[1] = (L) => V(!0))
9058
9060
  }, [
9059
- E.$slots["clock-icon"] ? I(E.$slots, "clock-icon", { key: 0 }) : Y("", !0),
9060
- E.$slots["clock-icon"] ? Y("", !0) : (v(), ie(d(Bl), { key: 1 }))
9061
+ E.$slots["clock-icon"] ? I(E.$slots, "clock-icon", { key: 0 }) : z("", !0),
9062
+ E.$slots["clock-icon"] ? z("", !0) : (v(), ie(d(Bl), { key: 1 }))
9061
9063
  ], 42, ap)), [
9062
9064
  [sn, !d(M)(E.hideNavigation, "time")]
9063
- ]) : Y("", !0),
9065
+ ]) : z("", !0),
9064
9066
  ke(Kt, {
9065
9067
  name: d(w)(H.value),
9066
9068
  css: d(x) && !E.timePickerInline
@@ -9096,8 +9098,8 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9096
9098
  setHours: B,
9097
9099
  setMinutes: y,
9098
9100
  setSeconds: h
9099
- }) : Y("", !0),
9100
- E.$slots["time-picker-overlay"] ? Y("", !0) : (v(), P("div", {
9101
+ }) : z("", !0),
9102
+ E.$slots["time-picker-overlay"] ? z("", !0) : (v(), P("div", {
9101
9103
  key: 1,
9102
9104
  class: me(E.timePickerInline ? "dp__flex" : "dp__overlay_row dp__flex_row")
9103
9105
  }, [
@@ -9144,16 +9146,16 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9144
9146
  class: me({ ...F.value, "dp--hidden-el": q.value }),
9145
9147
  "aria-label": (S = d(m)) == null ? void 0 : S.closeTimePicker,
9146
9148
  tabindex: "0",
9147
- onKeydown: te[3] || (te[3] = (N) => d(gt)(N, () => V(!1))),
9149
+ onKeydown: te[3] || (te[3] = (N) => d(yt)(N, () => V(!1))),
9148
9150
  onClick: te[4] || (te[4] = (N) => V(!1))
9149
9151
  }, [
9150
- E.$slots["calendar-icon"] ? I(E.$slots, "calendar-icon", { key: 0 }) : Y("", !0),
9151
- E.$slots["calendar-icon"] ? Y("", !0) : (v(), ie(d(Sa), { key: 1 }))
9152
+ E.$slots["calendar-icon"] ? I(E.$slots, "calendar-icon", { key: 0 }) : z("", !0),
9153
+ E.$slots["calendar-icon"] ? z("", !0) : (v(), ie(d(Sa), { key: 1 }))
9152
9154
  ], 42, lp)), [
9153
9155
  [sn, !d(M)(E.hideNavigation, "time")]
9154
- ]) : Y("", !0)
9156
+ ]) : z("", !0)
9155
9157
  ], 2)
9156
- ], 14, np)) : Y("", !0)
9158
+ ], 14, np)) : z("", !0)
9157
9159
  ];
9158
9160
  }),
9159
9161
  _: 3
@@ -9402,9 +9404,9 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9402
9404
  })), k = (S, N, j) => {
9403
9405
  j !== void 0 ? S.value = j : S.value = !S.value, S.value ? (W.value = !0, n("overlay-opened", N)) : (W.value = !1, n("overlay-closed", N));
9404
9406
  }, R = (S = !1, N) => {
9405
- E(S), k(J, ht.month, N);
9407
+ E(S), k(J, vt.month, N);
9406
9408
  }, X = (S = !1, N) => {
9407
- E(S), k(H, ht.year, N);
9409
+ E(S), k(H, vt.year, N);
9408
9410
  }, E = (S) => {
9409
9411
  S || n("reset-flow");
9410
9412
  }, te = (S, N) => {
@@ -9459,7 +9461,7 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9459
9461
  ])) : (v(), P(we, { key: 1 }, [
9460
9462
  S.$slots["top-extra"] ? (v(), P("div", up, [
9461
9463
  I(S.$slots, "top-extra", { value: S.internalModelValue })
9462
- ])) : Y("", !0),
9464
+ ])) : z("", !0),
9463
9465
  ee("div", dp, [
9464
9466
  d(D)(d(o), t.instance) && !S.vertical ? (v(), ie(Ya, {
9465
9467
  key: 0,
@@ -9471,11 +9473,11 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9471
9473
  onSetRef: N[1] || (N[1] = (K) => te(K, 0))
9472
9474
  }, {
9473
9475
  default: G(() => [
9474
- S.$slots["arrow-left"] ? I(S.$slots, "arrow-left", { key: 0 }) : Y("", !0),
9475
- S.$slots["arrow-left"] ? Y("", !0) : (v(), ie(d(El), { key: 1 }))
9476
+ S.$slots["arrow-left"] ? I(S.$slots, "arrow-left", { key: 0 }) : z("", !0),
9477
+ S.$slots["arrow-left"] ? z("", !0) : (v(), ie(d(El), { key: 1 }))
9476
9478
  ]),
9477
9479
  _: 3
9478
- }, 8, ["aria-label", "disabled", "class"])) : Y("", !0),
9480
+ }, 8, ["aria-label", "disabled", "class"])) : z("", !0),
9479
9481
  ee("div", {
9480
9482
  class: me(["dp__month_year_wrap", {
9481
9483
  dp__year_disable_select: S.disableYearSelect
@@ -9493,14 +9495,14 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9493
9495
  "aria-label": `${K.text}-${K.ariaLabel}`,
9494
9496
  "data-test-id": `${K.type}-toggle-overlay-${t.instance}`,
9495
9497
  onClick: K.toggle,
9496
- onKeydown: (ne) => d(gt)(ne, () => K.toggle(), !0)
9498
+ onKeydown: (ne) => d(yt)(ne, () => K.toggle(), !0)
9497
9499
  }, [
9498
9500
  S.$slots[K.type] ? I(S.$slots, K.type, {
9499
9501
  key: 0,
9500
9502
  text: K.text,
9501
9503
  value: l[K.type]
9502
- }) : Y("", !0),
9503
- S.$slots[K.type] ? Y("", !0) : (v(), P(we, { key: 1 }, [
9504
+ }) : z("", !0),
9505
+ S.$slots[K.type] ? z("", !0) : (v(), P(we, { key: 1 }, [
9504
9506
  ut(Me(K.text), 1)
9505
9507
  ], 64))
9506
9508
  ], 42, cp),
@@ -9528,8 +9530,8 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9528
9530
  onToggle: K.toggle
9529
9531
  }, Qe({
9530
9532
  "button-icon": G(() => [
9531
- S.$slots["calendar-icon"] ? I(S.$slots, "calendar-icon", { key: 0 }) : Y("", !0),
9532
- S.$slots["calendar-icon"] ? Y("", !0) : (v(), ie(d(Sa), { key: 1 }))
9533
+ S.$slots["calendar-icon"] ? I(S.$slots, "calendar-icon", { key: 0 }) : z("", !0),
9534
+ S.$slots["calendar-icon"] ? z("", !0) : (v(), ie(d(Sa), { key: 1 }))
9533
9535
  ]),
9534
9536
  _: 2
9535
9537
  }, [
@@ -9559,7 +9561,7 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9559
9561
  ]),
9560
9562
  key: "2"
9561
9563
  } : void 0
9562
- ]), 1032, ["items", "arrow-navigation", "hide-navigation", "is-last", "config", "type", "esc-close", "menu-wrap-ref", "text-input", "aria-labels", "overlay-label", "onSelected", "onToggle"])) : Y("", !0)
9564
+ ]), 1032, ["items", "arrow-navigation", "hide-navigation", "is-last", "config", "type", "esc-close", "menu-wrap-ref", "text-input", "aria-labels", "overlay-label", "onSelected", "onToggle"])) : z("", !0)
9563
9565
  ]),
9564
9566
  _: 2
9565
9567
  }, 1032, ["name", "css"])
@@ -9574,11 +9576,11 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9574
9576
  onActivate: N[2] || (N[2] = (K) => d($)(!1, !0))
9575
9577
  }, {
9576
9578
  default: G(() => [
9577
- S.$slots["arrow-up"] ? I(S.$slots, "arrow-up", { key: 0 }) : Y("", !0),
9578
- S.$slots["arrow-up"] ? Y("", !0) : (v(), ie(d(Ll), { key: 1 }))
9579
+ S.$slots["arrow-up"] ? I(S.$slots, "arrow-up", { key: 0 }) : z("", !0),
9580
+ S.$slots["arrow-up"] ? z("", !0) : (v(), ie(d(Ll), { key: 1 }))
9579
9581
  ]),
9580
9582
  _: 3
9581
- }, 8, ["aria-label", "disabled", "class"])) : Y("", !0),
9583
+ }, 8, ["aria-label", "disabled", "class"])) : z("", !0),
9582
9584
  d(q)(d(o), t.instance) ? (v(), ie(Ya, {
9583
9585
  key: 2,
9584
9586
  ref: "rightIcon",
@@ -9590,11 +9592,11 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9590
9592
  onSetRef: N[4] || (N[4] = (K) => te(K, S.disableYearSelect ? 2 : 3))
9591
9593
  }, {
9592
9594
  default: G(() => [
9593
- S.$slots[S.vertical ? "arrow-down" : "arrow-right"] ? I(S.$slots, S.vertical ? "arrow-down" : "arrow-right", { key: 0 }) : Y("", !0),
9594
- S.$slots[S.vertical ? "arrow-down" : "arrow-right"] ? Y("", !0) : (v(), ie(Zt(S.vertical ? d(Nl) : d(Rl)), { key: 1 }))
9595
+ S.$slots[S.vertical ? "arrow-down" : "arrow-right"] ? I(S.$slots, S.vertical ? "arrow-down" : "arrow-right", { key: 0 }) : z("", !0),
9596
+ S.$slots[S.vertical ? "arrow-down" : "arrow-right"] ? z("", !0) : (v(), ie(Zt(S.vertical ? d(Nl) : d(Rl)), { key: 1 }))
9595
9597
  ]),
9596
9598
  _: 3
9597
- }, 8, ["disabled", "aria-label", "class"])) : Y("", !0)
9599
+ }, 8, ["disabled", "aria-label", "class"])) : z("", !0)
9598
9600
  ])
9599
9601
  ], 64))
9600
9602
  ]);
@@ -9652,8 +9654,8 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9652
9654
  });
9653
9655
  const V = (K) => K ? l.vertical ? "vNext" : "next" : l.vertical ? "vPrevious" : "previous", F = (K, Ce) => {
9654
9656
  if (l.transitions) {
9655
- const ne = pt(Ft(se(), l.month, l.year));
9656
- C.value = lt(pt(Ft(se(), K, Ce)), ne) ? s.value[V(!0)] : s.value[V(!1)], _.value = !1, Ue(() => {
9657
+ const ne = mt(Ft(se(), l.month, l.year));
9658
+ C.value = lt(mt(Ft(se(), K, Ce)), ne) ? s.value[V(!0)] : s.value[V(!1)], _.value = !1, Ue(() => {
9657
9659
  _.value = !0;
9658
9660
  });
9659
9661
  }
@@ -9730,7 +9732,7 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9730
9732
  role: "grid"
9731
9733
  }, [
9732
9734
  ee("div", mp, [
9733
- K.weekNumbers ? (v(), P("div", pp, Me(K.weekNumName), 1)) : Y("", !0),
9735
+ K.weekNumbers ? (v(), P("div", pp, Me(K.weekNumName), 1)) : z("", !0),
9734
9736
  (v(!0), P(we, null, Fe(A.value, (ne, pe) => {
9735
9737
  var g, ce;
9736
9738
  return v(), P("div", {
@@ -9744,8 +9746,8 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9744
9746
  key: 0,
9745
9747
  day: ne,
9746
9748
  index: pe
9747
- }) : Y("", !0),
9748
- K.$slots["calendar-header"] ? Y("", !0) : (v(), P(we, { key: 1 }, [
9749
+ }) : z("", !0),
9750
+ K.$slots["calendar-header"] ? z("", !0) : (v(), P(we, { key: 1 }, [
9749
9751
  ut(Me(ne), 1)
9750
9752
  ], 64))
9751
9753
  ], 8, vp);
@@ -9770,7 +9772,7 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9770
9772
  }, [
9771
9773
  K.weekNumbers ? (v(), P("div", hp, [
9772
9774
  ee("div", yp, Me(u(ne.days)), 1)
9773
- ])) : Y("", !0),
9775
+ ])) : z("", !0),
9774
9776
  (v(!0), P(we, null, Fe(ne.days, (g, ce) => {
9775
9777
  var he, fe, qe;
9776
9778
  return v(), P("div", {
@@ -9785,9 +9787,9 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9785
9787
  "aria-label": (fe = (he = d(i)) == null ? void 0 : he.day) == null ? void 0 : fe.call(he, g),
9786
9788
  tabindex: !g.current && K.hideOffsetDates ? void 0 : 0,
9787
9789
  "data-test-id": d(hl)(g.value),
9788
- onClick: mt((Oe) => O(Oe, g), ["prevent"]),
9790
+ onClick: gt((Oe) => O(Oe, g), ["prevent"]),
9789
9791
  onTouchend: (Oe) => O(Oe, g, !1),
9790
- onKeydown: (Oe) => d(gt)(Oe, () => K.$emit("select-date", g)),
9792
+ onKeydown: (Oe) => d(yt)(Oe, () => K.$emit("select-date", g)),
9791
9793
  onMouseenter: (Oe) => X(g, pe, ce),
9792
9794
  onMouseleave: (Oe) => E(g),
9793
9795
  onMousedown: (Oe) => Ie(g),
@@ -9800,8 +9802,8 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9800
9802
  key: 0,
9801
9803
  day: +g.text,
9802
9804
  date: g.value
9803
- }) : Y("", !0),
9804
- K.$slots.day ? Y("", !0) : (v(), P(we, { key: 1 }, [
9805
+ }) : z("", !0),
9806
+ K.$slots.day ? z("", !0) : (v(), P(we, { key: 1 }, [
9805
9807
  ut(Me(g.text), 1)
9806
9808
  ], 64)),
9807
9809
  g.marker && h.value(g) ? (v(), P(we, { key: 2 }, [
@@ -9815,7 +9817,7 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9815
9817
  class: me(ae.value(g.marker)),
9816
9818
  style: it(g.marker.color ? { backgroundColor: g.marker.color } : {})
9817
9819
  }, null, 6))
9818
- ], 64)) : Y("", !0),
9820
+ ], 64)) : z("", !0),
9819
9821
  B.value(g.value) ? (v(), P("div", {
9820
9822
  key: 3,
9821
9823
  ref_for: !0,
@@ -9837,8 +9839,8 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9837
9839
  key: 0,
9838
9840
  tooltip: Oe,
9839
9841
  day: g.value
9840
- }) : Y("", !0),
9841
- K.$slots["marker-tooltip"] ? Y("", !0) : (v(), P(we, { key: 1 }, [
9842
+ }) : z("", !0),
9843
+ K.$slots["marker-tooltip"] ? z("", !0) : (v(), P(we, { key: 1 }, [
9842
9844
  ee("div", {
9843
9845
  class: "dp__tooltip_mark",
9844
9846
  style: it(Oe.color ? { backgroundColor: Oe.color } : {})
@@ -9850,13 +9852,13 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9850
9852
  class: "dp__arrow_bottom_tp",
9851
9853
  style: it(J.value)
9852
9854
  }, null, 4)
9853
- ])) : Y("", !0)
9854
- ], 4)) : Y("", !0)
9855
+ ])) : z("", !0)
9856
+ ], 4)) : z("", !0)
9855
9857
  ], 2)
9856
9858
  ], 40, gp);
9857
9859
  }), 128))
9858
9860
  ]))), 128))
9859
- ], 32)) : Y("", !0)
9861
+ ], 32)) : z("", !0)
9860
9862
  ]),
9861
9863
  _: 3
9862
9864
  }, 8, ["name", "css"])
@@ -9873,12 +9875,12 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9873
9875
  propDates: _,
9874
9876
  defaultedMultiDates: C
9875
9877
  } = Ze(t), { validateMonthYearInRange: D, isDisabled: q, isDateRangeAllowed: J, checkMinMaxRange: H } = aa(t), { updateTimeValues: W, getSetDateTime: A, setTime: V, assignStartTime: F, validateTime: re, disabledTimesConfig: ae } = Js(t, c, i, n), B = T(
9876
- () => (z) => m.value[z] ? m.value[z].month : 0
9878
+ () => (Y) => m.value[Y] ? m.value[Y].month : 0
9877
9879
  ), y = T(
9878
- () => (z) => m.value[z] ? m.value[z].year : 0
9879
- ), h = (z) => !M.value.keepViewOnOffsetClick || z ? !0 : !s.value, k = (z, de, xe, Z = !1) => {
9880
+ () => (Y) => m.value[Y] ? m.value[Y].year : 0
9881
+ ), h = (Y) => !M.value.keepViewOnOffsetClick || Y ? !0 : !s.value, k = (Y, de, xe, Z = !1) => {
9880
9882
  var ve, be;
9881
- h(Z) && (m.value[z] || (m.value[z] = { month: 0, year: 0 }), m.value[z].month = _r(de) ? (ve = m.value[z]) == null ? void 0 : ve.month : de, m.value[z].year = _r(xe) ? (be = m.value[z]) == null ? void 0 : be.year : xe);
9883
+ h(Z) && (m.value[Y] || (m.value[Y] = { month: 0, year: 0 }), m.value[Y].month = _r(de) ? (ve = m.value[Y]) == null ? void 0 : ve.month : de, m.value[Y].year = _r(xe) ? (be = m.value[Y]) == null ? void 0 : be.year : xe);
9882
9884
  }, R = () => {
9883
9885
  t.autoApply && e("select-date");
9884
9886
  }, X = () => {
@@ -9888,109 +9890,109 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
9888
9890
  t.shadow || (i.value || (Ce(), X()), b(!0), t.focusStartDate && t.startDate && Ce());
9889
9891
  });
9890
9892
  const E = T(() => {
9891
- var z;
9892
- return (z = t.flow) != null && z.length && !t.partialFlow ? t.flowStep === t.flow.length : !0;
9893
+ var Y;
9894
+ return (Y = t.flow) != null && Y.length && !t.partialFlow ? t.flowStep === t.flow.length : !0;
9893
9895
  }), te = () => {
9894
9896
  t.autoApply && E.value && e("auto-apply", t.partialFlow ? t.flowStep !== t.flow.length : !1);
9895
- }, b = (z = !1) => {
9897
+ }, b = (Y = !1) => {
9896
9898
  if (i.value)
9897
- return Array.isArray(i.value) ? (l.value = i.value, O(z)) : N(i.value, z);
9898
- if (p.value.count && z && !t.startDate)
9899
- return S(se(), z);
9900
- }, L = () => Array.isArray(i.value) && x.value.enabled ? Ee(i.value[0]) === Ee(i.value[1] ?? i.value[0]) : !1, S = (z = /* @__PURE__ */ new Date(), de = !1) => {
9901
- if ((!p.value.count || !p.value.static || de) && k(0, Ee(z), Pe(z)), p.value.count && (!i.value || L() || !p.value.solo) && (!p.value.solo || de))
9899
+ return Array.isArray(i.value) ? (l.value = i.value, O(Y)) : N(i.value, Y);
9900
+ if (p.value.count && Y && !t.startDate)
9901
+ return S(se(), Y);
9902
+ }, L = () => Array.isArray(i.value) && x.value.enabled ? Ee(i.value[0]) === Ee(i.value[1] ?? i.value[0]) : !1, S = (Y = /* @__PURE__ */ new Date(), de = !1) => {
9903
+ if ((!p.value.count || !p.value.static || de) && k(0, Ee(Y), Pe(Y)), p.value.count && (!i.value || L() || !p.value.solo) && (!p.value.solo || de))
9902
9904
  for (let xe = 1; xe < p.value.count; xe++) {
9903
9905
  const Z = We(se(), { month: B.value(xe - 1), year: y.value(xe - 1) }), ve = ms(Z, { months: 1 });
9904
9906
  m.value[xe] = { month: Ee(ve), year: Pe(ve) };
9905
9907
  }
9906
- }, N = (z, de) => {
9907
- S(z), V("hours", Yt(z)), V("minutes", Gt(z)), V("seconds", Da(z)), p.value.count && de && K();
9908
- }, j = (z) => {
9908
+ }, N = (Y, de) => {
9909
+ S(Y), V("hours", Yt(Y)), V("minutes", Gt(Y)), V("seconds", Da(Y)), p.value.count && de && K();
9910
+ }, j = (Y) => {
9909
9911
  if (p.value.count) {
9910
9912
  if (p.value.solo) return 0;
9911
- const de = Ee(z[0]), xe = Ee(z[1]);
9913
+ const de = Ee(Y[0]), xe = Ee(Y[1]);
9912
9914
  return Math.abs(xe - de) < p.value.count ? 0 : 1;
9913
9915
  }
9914
9916
  return 1;
9915
- }, le = (z, de) => {
9916
- z[1] && x.value.showLastInRange ? S(z[j(z)], de) : S(z[0], de);
9917
+ }, le = (Y, de) => {
9918
+ Y[1] && x.value.showLastInRange ? S(Y[j(Y)], de) : S(Y[0], de);
9917
9919
  const xe = (Z, ve) => [
9918
- Z(z[0]),
9919
- z[1] ? Z(z[1]) : c[ve][1]
9920
+ Z(Y[0]),
9921
+ Y[1] ? Z(Y[1]) : c[ve][1]
9920
9922
  ];
9921
9923
  V("hours", xe(Yt, "hours")), V("minutes", xe(Gt, "minutes")), V("seconds", xe(Da, "seconds"));
9922
- }, u = (z, de) => {
9924
+ }, u = (Y, de) => {
9923
9925
  if ((x.value.enabled || t.weekPicker) && !C.value.enabled)
9924
- return le(z, de);
9926
+ return le(Y, de);
9925
9927
  if (C.value.enabled && de) {
9926
- const xe = z[z.length - 1];
9928
+ const xe = Y[Y.length - 1];
9927
9929
  return N(xe, de);
9928
9930
  }
9929
- }, O = (z) => {
9931
+ }, O = (Y) => {
9930
9932
  const de = i.value;
9931
- u(de, z), p.value.count && p.value.solo && K();
9932
- }, ue = (z, de) => {
9933
- const xe = We(se(), { month: B.value(de), year: y.value(de) }), Z = z < 0 ? At(xe, 1) : Ma(xe, 1);
9934
- D(Ee(Z), Pe(Z), z < 0, t.preventMinMaxNavigation) && (k(de, Ee(Z), Pe(Z)), e("update-month-year", { instance: de, month: Ee(Z), year: Pe(Z) }), p.value.count && !p.value.solo && Ie(de), a());
9935
- }, Ie = (z) => {
9936
- for (let de = z - 1; de >= 0; de--) {
9933
+ u(de, Y), p.value.count && p.value.solo && K();
9934
+ }, ue = (Y, de) => {
9935
+ const xe = We(se(), { month: B.value(de), year: y.value(de) }), Z = Y < 0 ? At(xe, 1) : Ma(xe, 1);
9936
+ D(Ee(Z), Pe(Z), Y < 0, t.preventMinMaxNavigation) && (k(de, Ee(Z), Pe(Z)), e("update-month-year", { instance: de, month: Ee(Z), year: Pe(Z) }), p.value.count && !p.value.solo && Ie(de), a());
9937
+ }, Ie = (Y) => {
9938
+ for (let de = Y - 1; de >= 0; de--) {
9937
9939
  const xe = Ma(We(se(), { month: B.value(de + 1), year: y.value(de + 1) }), 1);
9938
9940
  k(de, Ee(xe), Pe(xe));
9939
9941
  }
9940
- for (let de = z + 1; de <= p.value.count - 1; de++) {
9942
+ for (let de = Y + 1; de <= p.value.count - 1; de++) {
9941
9943
  const xe = At(We(se(), { month: B.value(de - 1), year: y.value(de - 1) }), 1);
9942
9944
  k(de, Ee(xe), Pe(xe));
9943
9945
  }
9944
9946
  }, K = () => {
9945
9947
  if (Array.isArray(i.value) && i.value.length === 2) {
9946
- const z = se(
9948
+ const Y = se(
9947
9949
  se(i.value[1] ? i.value[1] : At(i.value[0], 1))
9948
9950
  ), [de, xe] = [Ee(i.value[0]), Pe(i.value[0])], [Z, ve] = [Ee(i.value[1]), Pe(i.value[1])];
9949
- (de !== Z || de === Z && xe !== ve) && p.value.solo && k(1, Ee(z), Pe(z));
9951
+ (de !== Z || de === Z && xe !== ve) && p.value.solo && k(1, Ee(Y), Pe(Y));
9950
9952
  } else i.value && !Array.isArray(i.value) && (k(0, Ee(i.value), Pe(i.value)), S(se()));
9951
9953
  }, Ce = () => {
9952
9954
  t.startDate && (k(0, Ee(se(t.startDate)), Pe(se(t.startDate))), p.value.count && Ie(0));
9953
- }, ne = (z, de) => {
9955
+ }, ne = (Y, de) => {
9954
9956
  if (t.monthChangeOnScroll) {
9955
- const xe = (/* @__PURE__ */ new Date()).getTime() - r.value.getTime(), Z = Math.abs(z.deltaY);
9957
+ const xe = (/* @__PURE__ */ new Date()).getTime() - r.value.getTime(), Z = Math.abs(Y.deltaY);
9956
9958
  let ve = 500;
9957
- Z > 1 && (ve = 100), Z > 100 && (ve = 0), xe > ve && (r.value = /* @__PURE__ */ new Date(), ue(t.monthChangeOnScroll !== "inverse" ? -z.deltaY : z.deltaY, de));
9959
+ Z > 1 && (ve = 100), Z > 100 && (ve = 0), xe > ve && (r.value = /* @__PURE__ */ new Date(), ue(t.monthChangeOnScroll !== "inverse" ? -Y.deltaY : Y.deltaY, de));
9958
9960
  }
9959
- }, pe = (z, de, xe = !1) => {
9960
- t.monthChangeOnArrows && t.vertical === xe && g(z, de);
9961
- }, g = (z, de) => {
9962
- ue(z === "right" ? -1 : 1, de);
9963
- }, ce = (z) => {
9961
+ }, pe = (Y, de, xe = !1) => {
9962
+ t.monthChangeOnArrows && t.vertical === xe && g(Y, de);
9963
+ }, g = (Y, de) => {
9964
+ ue(Y === "right" ? -1 : 1, de);
9965
+ }, ce = (Y) => {
9964
9966
  if (_.value.markers)
9965
- return gn(z.value, _.value.markers);
9966
- }, he = (z, de) => {
9967
+ return gn(Y.value, _.value.markers);
9968
+ }, he = (Y, de) => {
9967
9969
  switch (t.sixWeeks === !0 ? "append" : t.sixWeeks) {
9968
9970
  case "prepend":
9969
9971
  return [!0, !1];
9970
9972
  case "center":
9971
- return [z == 0, !0];
9973
+ return [Y == 0, !0];
9972
9974
  case "fair":
9973
- return [z == 0 || de > z, !0];
9975
+ return [Y == 0 || de > Y, !0];
9974
9976
  case "append":
9975
9977
  return [!1, !1];
9976
9978
  default:
9977
9979
  return [!1, !1];
9978
9980
  }
9979
- }, fe = (z, de, xe, Z) => {
9980
- if (t.sixWeeks && z.length < 6) {
9981
- const ve = 6 - z.length, be = (de.getDay() + 7 - Z) % 7, Ot = 6 - (xe.getDay() + 7 - Z) % 7, [xt, va] = he(be, Ot);
9981
+ }, fe = (Y, de, xe, Z) => {
9982
+ if (t.sixWeeks && Y.length < 6) {
9983
+ const ve = 6 - Y.length, be = (de.getDay() + 7 - Z) % 7, Ot = 6 - (xe.getDay() + 7 - Z) % 7, [xt, va] = he(be, Ot);
9982
9984
  for (let Ia = 1; Ia <= ve; Ia++)
9983
9985
  if (va ? !!(Ia % 2) == xt : xt) {
9984
- const zt = z[0].days[0], Bn = qe(kt(zt.value, -7), Ee(de));
9985
- z.unshift({ days: Bn });
9986
+ const zt = Y[0].days[0], Bn = qe(kt(zt.value, -7), Ee(de));
9987
+ Y.unshift({ days: Bn });
9986
9988
  } else {
9987
- const zt = z[z.length - 1], Bn = zt.days[zt.days.length - 1], yo = qe(kt(Bn.value, 1), Ee(de));
9988
- z.push({ days: yo });
9989
+ const zt = Y[Y.length - 1], Bn = zt.days[zt.days.length - 1], yo = qe(kt(Bn.value, 1), Ee(de));
9990
+ Y.push({ days: yo });
9989
9991
  }
9990
9992
  }
9991
- return z;
9992
- }, qe = (z, de) => {
9993
- const xe = se(z), Z = [];
9993
+ return Y;
9994
+ }, qe = (Y, de) => {
9995
+ const xe = se(Y), Z = [];
9994
9996
  for (let ve = 0; ve < 7; ve++) {
9995
9997
  const be = kt(xe, ve), Ot = Ee(be) !== de;
9996
9998
  Z.push({
@@ -10001,85 +10003,85 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10001
10003
  });
10002
10004
  }
10003
10005
  return Z;
10004
- }, Oe = (z, de) => {
10005
- const xe = [], Z = new Date(de, z), ve = new Date(de, z + 1, 0), be = t.weekStart, Ot = Pt(Z, { weekStartsOn: be }), xt = (va) => {
10006
- const Ia = qe(va, z);
10006
+ }, Oe = (Y, de) => {
10007
+ const xe = [], Z = new Date(de, Y), ve = new Date(de, Y + 1, 0), be = t.weekStart, Ot = Pt(Z, { weekStartsOn: be }), xt = (va) => {
10008
+ const Ia = qe(va, Y);
10007
10009
  if (xe.push({ days: Ia }), !xe[xe.length - 1].days.some(
10008
- (zt) => Re(pt(zt.value), pt(ve))
10010
+ (zt) => Re(mt(zt.value), mt(ve))
10009
10011
  )) {
10010
10012
  const zt = kt(va, 7);
10011
10013
  xt(zt);
10012
10014
  }
10013
10015
  };
10014
10016
  return xt(Ot), fe(xe, Z, ve, be);
10015
- }, Q = (z) => {
10016
- const de = Xt(se(z.value), c.hours, c.minutes, ot());
10017
+ }, Q = (Y) => {
10018
+ const de = Xt(se(Y.value), c.hours, c.minutes, ot());
10017
10019
  e("date-update", de), C.value.enabled ? Wl(de, i, C.value.limit) : i.value = de, n(), Ue().then(() => {
10018
10020
  te();
10019
10021
  });
10020
- }, oe = (z) => x.value.noDisabledRange ? Ys(l.value[0], z).some((de) => q(de)) : !1, _e = () => {
10022
+ }, oe = (Y) => x.value.noDisabledRange ? Ys(l.value[0], Y).some((de) => q(de)) : !1, _e = () => {
10021
10023
  l.value = i.value ? i.value.slice() : [], l.value.length === 2 && !(x.value.fixedStart || x.value.fixedEnd) && (l.value = []);
10022
- }, dt = (z, de) => {
10024
+ }, dt = (Y, de) => {
10023
10025
  const xe = [
10024
- se(z.value),
10025
- kt(se(z.value), +x.value.autoRange)
10026
+ se(Y.value),
10027
+ kt(se(Y.value), +x.value.autoRange)
10026
10028
  ];
10027
- J(xe) ? (de && St(z.value), l.value = xe) : e("invalid-date", z.value);
10028
- }, St = (z) => {
10029
- const de = Ee(se(z)), xe = Pe(se(z));
10029
+ J(xe) ? (de && St(Y.value), l.value = xe) : e("invalid-date", Y.value);
10030
+ }, St = (Y) => {
10031
+ const de = Ee(se(Y)), xe = Pe(se(Y));
10030
10032
  if (k(0, de, xe), p.value.count > 0)
10031
10033
  for (let Z = 1; Z < p.value.count; Z++) {
10032
10034
  const ve = im(
10033
- We(se(z), { year: y.value(Z - 1), month: B.value(Z - 1) })
10035
+ We(se(Y), { year: y.value(Z - 1), month: B.value(Z - 1) })
10034
10036
  );
10035
10037
  k(Z, ve.month, ve.year);
10036
10038
  }
10037
- }, $e = (z) => {
10038
- if (oe(z.value) || !H(z.value, i.value, x.value.fixedStart ? 0 : 1))
10039
- return e("invalid-date", z.value);
10040
- l.value = Ks(se(z.value), i, e, x);
10041
- }, Nt = (z, de) => {
10042
- if (_e(), x.value.autoRange) return dt(z, de);
10043
- if (x.value.fixedStart || x.value.fixedEnd) return $e(z);
10044
- l.value[0] ? H(se(z.value), i.value) && !oe(z.value) ? tt(se(z.value), se(l.value[0])) ? (l.value.unshift(se(z.value)), e("range-end", l.value[0])) : (l.value[1] = se(z.value), e("range-end", l.value[1])) : (t.autoApply && e("auto-apply-invalid", z.value), e("invalid-date", z.value)) : (l.value[0] = se(z.value), e("range-start", l.value[0]));
10045
- }, ot = (z = !0) => t.enableSeconds ? Array.isArray(c.seconds) ? z ? c.seconds[0] : c.seconds[1] : c.seconds : 0, Oa = (z) => {
10046
- l.value[z] = Xt(
10047
- l.value[z],
10048
- c.hours[z],
10049
- c.minutes[z],
10050
- ot(z !== 1)
10039
+ }, $e = (Y) => {
10040
+ if (oe(Y.value) || !H(Y.value, i.value, x.value.fixedStart ? 0 : 1))
10041
+ return e("invalid-date", Y.value);
10042
+ l.value = Ks(se(Y.value), i, e, x);
10043
+ }, Nt = (Y, de) => {
10044
+ if (_e(), x.value.autoRange) return dt(Y, de);
10045
+ if (x.value.fixedStart || x.value.fixedEnd) return $e(Y);
10046
+ l.value[0] ? H(se(Y.value), i.value) && !oe(Y.value) ? tt(se(Y.value), se(l.value[0])) ? (l.value.unshift(se(Y.value)), e("range-end", l.value[0])) : (l.value[1] = se(Y.value), e("range-end", l.value[1])) : (t.autoApply && e("auto-apply-invalid", Y.value), e("invalid-date", Y.value)) : (l.value[0] = se(Y.value), e("range-start", l.value[0]));
10047
+ }, ot = (Y = !0) => t.enableSeconds ? Array.isArray(c.seconds) ? Y ? c.seconds[0] : c.seconds[1] : c.seconds : 0, Oa = (Y) => {
10048
+ l.value[Y] = Xt(
10049
+ l.value[Y],
10050
+ c.hours[Y],
10051
+ c.minutes[Y],
10052
+ ot(Y !== 1)
10051
10053
  );
10052
10054
  }, Cn = () => {
10053
- var z, de;
10054
- l.value[0] && l.value[1] && +((z = l.value) == null ? void 0 : z[0]) > +((de = l.value) == null ? void 0 : de[1]) && (l.value.reverse(), e("range-start", l.value[0]), e("range-end", l.value[1]));
10055
+ var Y, de;
10056
+ l.value[0] && l.value[1] && +((Y = l.value) == null ? void 0 : Y[0]) > +((de = l.value) == null ? void 0 : de[1]) && (l.value.reverse(), e("range-start", l.value[0]), e("range-end", l.value[1]));
10055
10057
  }, en = () => {
10056
10058
  l.value.length && (l.value[0] && !l.value[1] ? Oa(0) : (Oa(0), Oa(1), n()), Cn(), i.value = l.value.slice(), An(l.value, e, t.autoApply, t.modelAuto));
10057
- }, Sn = (z, de = !1) => {
10058
- if (q(z.value) || !z.current && t.hideOffsetDates) return e("invalid-date", z.value);
10059
- if (s.value = JSON.parse(JSON.stringify(z)), !x.value.enabled) return Q(z);
10060
- Mr(c.hours) && Mr(c.minutes) && !C.value.enabled && (Nt(z, de), en());
10061
- }, On = (z, de) => {
10059
+ }, Sn = (Y, de = !1) => {
10060
+ if (q(Y.value) || !Y.current && t.hideOffsetDates) return e("invalid-date", Y.value);
10061
+ if (s.value = JSON.parse(JSON.stringify(Y)), !x.value.enabled) return Q(Y);
10062
+ Mr(c.hours) && Mr(c.minutes) && !C.value.enabled && (Nt(Y, de), en());
10063
+ }, On = (Y, de) => {
10062
10064
  var xe;
10063
- k(z, de.month, de.year, !0), p.value.count && !p.value.solo && Ie(z), e("update-month-year", { instance: z, month: de.month, year: de.year }), a(p.value.solo ? z : void 0);
10065
+ k(Y, de.month, de.year, !0), p.value.count && !p.value.solo && Ie(Y), e("update-month-year", { instance: Y, month: de.month, year: de.year }), a(p.value.solo ? Y : void 0);
10064
10066
  const Z = (xe = t.flow) != null && xe.length ? t.flow[t.flowStep] : void 0;
10065
- !de.fromNav && (Z === ht.month || Z === ht.year) && n();
10066
- }, In = (z, de) => {
10067
+ !de.fromNav && (Z === vt.month || Z === vt.year) && n();
10068
+ }, In = (Y, de) => {
10067
10069
  Xs({
10068
- value: z,
10070
+ value: Y,
10069
10071
  modelValue: i,
10070
10072
  range: x.value.enabled,
10071
10073
  timezone: de ? void 0 : $.value.timezone
10072
10074
  }), R(), t.multiCalendars && Ue().then(() => b(!0));
10073
10075
  }, qn = () => {
10074
- const z = Vl(se(), $.value);
10075
- !x.value.enabled && !C.value.enabled ? i.value = z : i.value && Array.isArray(i.value) && i.value[0] ? C.value.enabled ? i.value = [...i.value, z] : i.value = tt(z, i.value[0]) ? [z, i.value[0]] : [i.value[0], z] : i.value = [z], R();
10076
+ const Y = Vl(se(), $.value);
10077
+ !x.value.enabled && !C.value.enabled ? i.value = Y : i.value && Array.isArray(i.value) && i.value[0] ? C.value.enabled ? i.value = [...i.value, Y] : i.value = tt(Y, i.value[0]) ? [Y, i.value[0]] : [i.value[0], Y] : i.value = [Y], R();
10076
10078
  }, En = () => {
10077
10079
  if (Array.isArray(i.value))
10078
10080
  if (C.value.enabled) {
10079
- const z = Rn();
10080
- i.value[i.value.length - 1] = A(z);
10081
+ const Y = Rn();
10082
+ i.value[i.value.length - 1] = A(Y);
10081
10083
  } else
10082
- i.value = i.value.map((z, de) => z && A(z, de));
10084
+ i.value = i.value.map((Y, de) => Y && A(Y, de));
10083
10085
  else
10084
10086
  i.value = A(i.value);
10085
10087
  e("time-update");
@@ -10102,8 +10104,8 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10102
10104
  updateMonthYear: On,
10103
10105
  presetDate: In,
10104
10106
  selectCurrentDate: qn,
10105
- updateTime: (z, de = !0, xe = !1) => {
10106
- W(z, de, xe, En);
10107
+ updateTime: (Y, de = !0, xe = !1) => {
10108
+ W(Y, de, xe, En);
10107
10109
  },
10108
10110
  assignMonthAndYear: S,
10109
10111
  setStartTime: X
@@ -10216,7 +10218,7 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10216
10218
  }, Ie = (ne) => {
10217
10219
  D(0, { month: s.value(0), year: o.value(0) + (ne ? 1 : -1), fromNav: !0 });
10218
10220
  }, K = (ne, pe) => {
10219
- ne === ht.time && n(`time-picker-${pe ? "open" : "close"}`), n("overlay-toggle", { open: pe, overlay: ne });
10221
+ ne === vt.time && n(`time-picker-${pe ? "open" : "close"}`), n("overlay-toggle", { open: pe, overlay: ne });
10220
10222
  }, Ce = (ne) => {
10221
10223
  n("overlay-toggle", { open: !1, overlay: ne }), n("focus-menu");
10222
10224
  };
@@ -10250,7 +10252,7 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10250
10252
  "is-mobile": ne.isMobile
10251
10253
  }, {
10252
10254
  default: G(({ instance: g, index: ce }) => [
10253
- ne.disableMonthYearSelect ? Y("", !0) : (v(), ie(fp, Ae({
10255
+ ne.disableMonthYearSelect ? z("", !0) : (v(), ie(fp, Ae({
10254
10256
  key: 0,
10255
10257
  ref: (he) => {
10256
10258
  he && (y.value[ce] = he);
@@ -10331,7 +10333,7 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10331
10333
  ])
10332
10334
  }))
10333
10335
  ]), 1040, ["hours", "minutes", "seconds", "internal-model-value", "disabled-times-config", "validate-time"]))
10334
- ])) : Y("", !0)
10336
+ ])) : z("", !0)
10335
10337
  ], 64));
10336
10338
  }
10337
10339
  }), $p = (t, e) => {
@@ -10462,7 +10464,7 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10462
10464
  q.$slots["top-extra"] ? I(q.$slots, "top-extra", {
10463
10465
  key: 0,
10464
10466
  value: q.internalModelValue
10465
- }) : Y("", !0),
10467
+ }) : z("", !0),
10466
10468
  ee("div", null, [
10467
10469
  ke(js, Ae(q.$props, {
10468
10470
  items: d(m)(H),
@@ -10639,11 +10641,11 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10639
10641
  l.escClose && n("close-picker");
10640
10642
  }, O = (Q) => {
10641
10643
  if (l.arrowNavigation) {
10642
- if (Q === yt.up) return F();
10643
- if (Q === yt.down) return V();
10644
- if (Q === yt.left) return A();
10645
- if (Q === yt.right) return W();
10646
- } else Q === yt.left || Q === yt.up ? ne("handleArrow", yt.left, 0, Q === yt.up) : ne("handleArrow", yt.right, 0, Q === yt.down);
10644
+ if (Q === ht.up) return F();
10645
+ if (Q === ht.down) return V();
10646
+ if (Q === ht.left) return A();
10647
+ if (Q === ht.right) return W();
10648
+ } else Q === ht.left || Q === ht.up ? ne("handleArrow", ht.left, 0, Q === ht.up) : ne("handleArrow", ht.right, 0, Q === ht.down);
10647
10649
  }, ue = (Q) => {
10648
10650
  i(Q.shiftKey), !l.disableMonthYearSelect && Q.code === Xe.tab && Q.target.classList.contains("dp__menu") && m.value.shiftKeyInMenu && (Q.preventDefault(), jt(Q, w.value, !0), n("close-picker"));
10649
10651
  }, Ie = () => {
@@ -10679,13 +10681,13 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10679
10681
  case Xe.esc:
10680
10682
  return u();
10681
10683
  case Xe.arrowLeft:
10682
- return fe(Q, yt.left);
10684
+ return fe(Q, ht.left);
10683
10685
  case Xe.arrowRight:
10684
- return fe(Q, yt.right);
10686
+ return fe(Q, ht.right);
10685
10687
  case Xe.arrowUp:
10686
- return fe(Q, yt.up);
10688
+ return fe(Q, ht.up);
10687
10689
  case Xe.arrowDown:
10688
- return fe(Q, yt.down);
10690
+ return fe(Q, ht.down);
10689
10691
  default:
10690
10692
  return;
10691
10693
  }
@@ -10722,15 +10724,15 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10722
10724
  }, [
10723
10725
  Q.loading ? (v(), P("div", Ap, oe[19] || (oe[19] = [
10724
10726
  ee("span", { class: "dp--menu-loader" }, null, -1)
10725
- ]))) : Y("", !0)
10726
- ], 2)) : Y("", !0),
10727
+ ]))) : z("", !0)
10728
+ ], 2)) : z("", !0),
10727
10729
  Q.$slots["menu-header"] ? (v(), P("div", Pp, [
10728
10730
  I(Q.$slots, "menu-header")
10729
- ])) : Y("", !0),
10731
+ ])) : z("", !0),
10730
10732
  !d(p).enabled && !Q.teleportCenter ? (v(), P("div", {
10731
10733
  key: 2,
10732
10734
  class: me(S.value)
10733
- }, null, 2)) : Y("", !0),
10735
+ }, null, 2)) : z("", !0),
10734
10736
  ee("div", {
10735
10737
  ref_key: "innerMenuRef",
10736
10738
  ref: C,
@@ -10743,7 +10745,7 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10743
10745
  }, [
10744
10746
  Q.$slots["left-sidebar"] ? (v(), P("div", Sp, [
10745
10747
  I(Q.$slots, "left-sidebar", Le(He(E.value)))
10746
- ])) : Y("", !0),
10748
+ ])) : z("", !0),
10747
10749
  Q.presetDates.length ? (v(), P("div", {
10748
10750
  key: 1,
10749
10751
  class: me({ "dp--preset-dates-collapsed": t.collapse, "dp--preset-dates": !0 }),
@@ -10762,11 +10764,11 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10762
10764
  class: me(["dp__btn dp--preset-range", { "dp--preset-range-collapsed": t.collapse }]),
10763
10765
  "data-test-id": $e.testId ?? void 0,
10764
10766
  "data-dp-mobile": d(M),
10765
- onClick: mt((ot) => g($e.value, $e.noTz), ["prevent"]),
10766
- onKeydown: (ot) => d(gt)(ot, () => g($e.value, $e.noTz), !0)
10767
+ onClick: gt((ot) => g($e.value, $e.noTz), ["prevent"]),
10768
+ onKeydown: (ot) => d(yt)(ot, () => g($e.value, $e.noTz), !0)
10767
10769
  }, Me($e.label), 47, Ip))
10768
10770
  ], 64))), 128))
10769
- ], 10, Op)) : Y("", !0),
10771
+ ], 10, Op)) : z("", !0),
10770
10772
  ee("div", {
10771
10773
  ref_key: "calendarWrapperRef",
10772
10774
  ref: $,
@@ -10811,13 +10813,13 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10811
10813
  ], 512),
10812
10814
  Q.$slots["right-sidebar"] ? (v(), P("div", qp, [
10813
10815
  I(Q.$slots, "right-sidebar", Le(He(E.value)))
10814
- ])) : Y("", !0),
10816
+ ])) : z("", !0),
10815
10817
  Q.$slots["action-extra"] ? (v(), P("div", Ep, [
10816
10818
  Q.$slots["action-extra"] ? I(Q.$slots, "action-extra", {
10817
10819
  key: 0,
10818
10820
  selectCurrentDate: pe
10819
- }) : Y("", !0)
10820
- ])) : Y("", !0)
10821
+ }) : z("", !0)
10822
+ ])) : z("", !0)
10821
10823
  ], 14, Cp),
10822
10824
  !Q.autoApply || d(w).keepActionRow ? (v(), ie(Em, Ae({
10823
10825
  key: 3,
@@ -10835,7 +10837,7 @@ const pl = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
10835
10837
  I(Q.$slots, $e, Le(He({ ...ot })))
10836
10838
  ])
10837
10839
  }))
10838
- ]), 1040, ["menu-mount", "calendar-width"])) : Y("", !0)
10840
+ ]), 1040, ["menu-mount", "calendar-width"])) : z("", !0)
10839
10841
  ], 46, Mp);
10840
10842
  };
10841
10843
  }
@@ -11333,9 +11335,9 @@ const Rp = ({
11333
11335
  var x, M;
11334
11336
  t.flow[n.value] === f && a.value && ((M = (x = a.value)[p]) == null || M.call(x, ...w));
11335
11337
  }, c = (f = 0) => {
11336
- f && (n.value += f), m(ht.month, "toggleMonthPicker", !0), m(ht.year, "toggleYearPicker", !0), m(ht.calendar, "toggleTimePicker", !1, !0), m(ht.time, "toggleTimePicker", !0, !0);
11338
+ f && (n.value += f), m(vt.month, "toggleMonthPicker", !0), m(vt.year, "toggleYearPicker", !0), m(vt.calendar, "toggleTimePicker", !1, !0), m(vt.time, "toggleTimePicker", !0, !0);
11337
11339
  const p = t.flow[n.value];
11338
- (p === ht.hours || p === ht.minutes || p === ht.seconds) && m(p, "toggleTimePicker", !0, !0, p);
11340
+ (p === vt.hours || p === vt.minutes || p === vt.seconds) && m(p, "toggleTimePicker", !0, !0, p);
11339
11341
  };
11340
11342
  return { childMount: s, updateFlowStep: o, resetFlow: i, handleFlow: c, flowStep: n };
11341
11343
  }, Fp = {
@@ -11466,7 +11468,7 @@ const Rp = ({
11466
11468
  }), (b, L) => {
11467
11469
  var S, N, j;
11468
11470
  return v(), P("div", { onClick: B }, [
11469
- b.$slots.trigger && !b.$slots["dp-input"] && !d(o).enabled ? I(b.$slots, "trigger", { key: 0 }) : Y("", !0),
11471
+ b.$slots.trigger && !b.$slots["dp-input"] && !d(o).enabled ? I(b.$slots, "trigger", { key: 0 }) : z("", !0),
11470
11472
  !b.$slots.trigger && (!d(o).enabled || d(o).input) ? (v(), P("div", Fp, [
11471
11473
  b.$slots["dp-input"] && !b.$slots.trigger && (!d(o).enabled || d(o).enabled && d(o).input) ? I(b.$slots, "dp-input", {
11472
11474
  key: 0,
@@ -11483,8 +11485,8 @@ const Rp = ({
11483
11485
  openMenu: () => b.$emit("open"),
11484
11486
  closeMenu: () => b.$emit("close"),
11485
11487
  toggleMenu: () => b.$emit("toggle")
11486
- }) : Y("", !0),
11487
- b.$slots["dp-input"] ? Y("", !0) : (v(), P("input", {
11488
+ }) : z("", !0),
11489
+ b.$slots["dp-input"] ? z("", !0) : (v(), P("input", {
11488
11490
  key: 1,
11489
11491
  id: b.uid ? `dp-input-${b.uid}` : void 0,
11490
11492
  ref_key: "inputRef",
@@ -11518,31 +11520,31 @@ const Rp = ({
11518
11520
  onClick: L[1] || (L[1] = (le) => n("toggle"))
11519
11521
  }, [
11520
11522
  I(b.$slots, "input-icon")
11521
- ])) : Y("", !0),
11523
+ ])) : z("", !0),
11522
11524
  !b.$slots["input-icon"] && !b.hideInputIcon && !b.$slots["dp-input"] ? (v(), ie(d(Sa), {
11523
11525
  key: 1,
11524
11526
  "aria-label": (N = d(s)) == null ? void 0 : N.calendarIcon,
11525
11527
  class: "dp__input_icon dp__input_icons",
11526
11528
  onClick: L[2] || (L[2] = (le) => n("toggle"))
11527
- }, null, 8, ["aria-label"])) : Y("", !0)
11529
+ }, null, 8, ["aria-label"])) : z("", !0)
11528
11530
  ]),
11529
11531
  b.$slots["clear-icon"] && (b.alwaysClearable || t.inputValue && b.clearable && !b.disabled && !b.readonly) ? (v(), P("span", zp, [
11530
11532
  I(b.$slots, "clear-icon", { clear: h })
11531
- ])) : Y("", !0),
11533
+ ])) : z("", !0),
11532
11534
  !b.$slots["clear-icon"] && (b.alwaysClearable || b.clearable && t.inputValue && !b.disabled && !b.readonly) ? (v(), P("button", {
11533
11535
  key: 3,
11534
11536
  "aria-label": (j = d(s)) == null ? void 0 : j.clearInput,
11535
11537
  class: "dp--clear-btn",
11536
11538
  type: "button",
11537
- onKeydown: L[4] || (L[4] = (le) => d(gt)(le, () => h(le), !0, te)),
11538
- onClick: L[5] || (L[5] = mt((le) => h(le), ["prevent"]))
11539
+ onKeydown: L[4] || (L[4] = (le) => d(yt)(le, () => h(le), !0, te)),
11540
+ onClick: L[5] || (L[5] = gt((le) => h(le), ["prevent"]))
11539
11541
  }, [
11540
11542
  ke(d(qs), {
11541
11543
  class: "dp__input_icons",
11542
11544
  "data-test-id": "clear-icon"
11543
11545
  })
11544
- ], 40, Qp)) : Y("", !0)
11545
- ])) : Y("", !0)
11546
+ ], 40, Qp)) : z("", !0)
11547
+ ])) : z("", !0)
11546
11548
  ]);
11547
11549
  };
11548
11550
  }
@@ -11727,14 +11729,14 @@ const Rp = ({
11727
11729
  }, Rn = (Z, ve) => {
11728
11730
  var be;
11729
11731
  (be = c.value) == null || be.switchView(Z, ve);
11730
- }, z = (Z, ve) => F.value.onClickOutside ? F.value.onClickOutside(Z, ve) : ot(!0), de = (Z = 0) => {
11732
+ }, Y = (Z, ve) => F.value.onClickOutside ? F.value.onClickOutside(Z, ve) : ot(!0), de = (Z = 0) => {
11731
11733
  var ve;
11732
11734
  (ve = c.value) == null || ve.handleFlow(Z);
11733
11735
  }, xe = () => m;
11734
11736
  return Xp(
11735
11737
  m,
11736
11738
  f,
11737
- (Z) => z(oe, Z)
11739
+ (Z) => Y(oe, Z)
11738
11740
  ), e({
11739
11741
  closeMenu: ot,
11740
11742
  selectDate: _e,
@@ -11840,7 +11842,7 @@ const Rp = ({
11840
11842
  ])
11841
11843
  }))
11842
11844
  ]), 1040, ["internal-model-value", "class", "open-on-top", "no-overlay-focus", "collapse", "is-text-input-date", "onRecalculatePosition"])
11843
- ], 16)) : Y("", !0)
11845
+ ], 16)) : z("", !0)
11844
11846
  ]),
11845
11847
  _: 3
11846
11848
  }, 8, ["name", "css"])
@@ -12612,14 +12614,14 @@ const yv = ["value", "placeholder", "disabled", "readonly", "required", "onInput
12612
12614
  ke(d(Je), Le(He(e.icons.close)), null, 16)
12613
12615
  ]),
12614
12616
  _: 1
12615
- })) : Y("", !0)
12617
+ })) : z("", !0)
12616
12618
  ]),
12617
12619
  I(r.$slots, "body.content", {}, () => [
12618
12620
  ee("div", Dv, [
12619
12621
  I(r.$slots, "body.icon", {}, () => [
12620
12622
  e.icon ? (v(), P("span", Tv, [
12621
12623
  ke(d(Je), Le(He(e.icon)), null, 16)
12622
- ])) : Y("", !0)
12624
+ ])) : z("", !0)
12623
12625
  ]),
12624
12626
  ee("div", Mv, [
12625
12627
  e.html ? (v(), P("span", {
@@ -12639,7 +12641,7 @@ const yv = ["value", "placeholder", "disabled", "readonly", "required", "onInput
12639
12641
  o.icon ? (v(), ie(d(Je), Ae({
12640
12642
  key: 0,
12641
12643
  ref_for: !0
12642
- }, o.icon), null, 16)) : Y("", !0)
12644
+ }, o.icon), null, 16)) : z("", !0)
12643
12645
  ]),
12644
12646
  _: 2
12645
12647
  }, 1040, ["onClick"]))), 128))
@@ -12741,7 +12743,7 @@ const yv = ["value", "placeholder", "disabled", "readonly", "required", "onInput
12741
12743
  ]),
12742
12744
  "item.append": G(({ item: M }) => [
12743
12745
  I(w.$slots, "item.append", { item: M }, () => [
12744
- M.extraInfo ? (v(), P("span", Ev, Me(M.extraInfo), 1)) : Y("", !0)
12746
+ M.extraInfo ? (v(), P("span", Ev, Me(M.extraInfo), 1)) : z("", !0)
12745
12747
  ])
12746
12748
  ]),
12747
12749
  _: 3
@@ -13028,7 +13030,7 @@ const zv = ["id", "accept", "required", "readonly", "disabled"], Qv = {
13028
13030
  ]),
13029
13031
  _: 1
13030
13032
  }, 8, ["title"])
13031
- ])) : Y("", !0)
13033
+ ])) : z("", !0)
13032
13034
  ])) : (v(), P("div", Jv, [
13033
13035
  ke(d(Je), Le(He(e.icons.empty)), null, 16),
13034
13036
  ut(" " + Me(e.texts.empty), 1)
@@ -13091,16 +13093,16 @@ const zv = ["id", "accept", "required", "readonly", "disabled"], Qv = {
13091
13093
  a.$slots.prepend || e.prependIcon ? (v(), P("div", ah, [
13092
13094
  e.prependIcon ? (v(), P("span", nh, [
13093
13095
  ke(d(Je), Le(He(e.prependIcon)), null, 16)
13094
- ])) : Y("", !0),
13096
+ ])) : z("", !0),
13095
13097
  I(a.$slots, "prepend")
13096
- ])) : Y("", !0),
13098
+ ])) : z("", !0),
13097
13099
  I(a.$slots, "default"),
13098
13100
  a.$slots.append || e.appendIcon ? (v(), P("div", lh, [
13099
13101
  e.appendIcon ? (v(), P("span", rh, [
13100
13102
  ke(d(Je), Le(He(e.appendIcon)), null, 16)
13101
- ])) : Y("", !0),
13103
+ ])) : z("", !0),
13102
13104
  I(a.$slots, "append")
13103
- ])) : Y("", !0)
13105
+ ])) : z("", !0)
13104
13106
  ]),
13105
13107
  _: 2
13106
13108
  }, [
@@ -13218,7 +13220,6 @@ const zv = ["id", "accept", "required", "readonly", "disabled"], Qv = {
13218
13220
  spy: { type: Boolean },
13219
13221
  transition: {},
13220
13222
  trigger: {},
13221
- closeOnContentClick: { type: Boolean },
13222
13223
  width: {},
13223
13224
  focusTrap: { type: Boolean },
13224
13225
  messages: {},
@@ -13265,11 +13266,11 @@ const zv = ["id", "accept", "required", "readonly", "disabled"], Qv = {
13265
13266
  color: n.value.color
13266
13267
  }, null, 8, ["model-value", "color"]),
13267
13268
  ee("span", null, Me(n.value.label), 1)
13268
- ])) : Y("", !0),
13269
+ ])) : z("", !0),
13269
13270
  (s = l.messages) != null && s.length ? (v(), ie(uo, {
13270
13271
  key: 1,
13271
13272
  messages: l.messages
13272
- }, null, 8, ["messages"])) : Y("", !0)
13273
+ }, null, 8, ["messages"])) : z("", !0)
13273
13274
  ])
13274
13275
  ];
13275
13276
  }),
@@ -13395,7 +13396,7 @@ const zv = ["id", "accept", "required", "readonly", "disabled"], Qv = {
13395
13396
  key: 0,
13396
13397
  class: "q-password-field__inline-messages",
13397
13398
  messages: i.value.messages
13398
- }, null, 8, ["messages"])) : Y("", !0)
13399
+ }, null, 8, ["messages"])) : z("", !0)
13399
13400
  ];
13400
13401
  })
13401
13402
  ]),
@@ -13410,17 +13411,14 @@ const zv = ["id", "accept", "required", "readonly", "disabled"], Qv = {
13410
13411
  levels: e.meterLevels,
13411
13412
  messages: i.value.messages,
13412
13413
  anchor: ($ = l.value) == null ? void 0 : $.$el
13413
- }, null, 8, ["modelValue", "score", "levels", "messages", "anchor"])) : Y("", !0)
13414
+ }, null, 8, ["modelValue", "score", "levels", "messages", "anchor"])) : z("", !0)
13414
13415
  ], 64);
13415
13416
  };
13416
13417
  }
13417
- }), _h = De(wh), kh = {
13418
+ }), _h = De(wh), kh = { class: "q-popover__content" }, $h = {
13418
13419
  key: 0,
13419
13420
  class: "q-popover__header"
13420
- }, $h = { class: "q-popover__title" }, xh = {
13421
- key: 1,
13422
- class: "q-popover__body"
13423
- }, Dh = ["innerHTML"], Th = { key: 1 }, Mh = /* @__PURE__ */ ye({
13421
+ }, xh = { class: "q-popover__title" }, Dh = ["innerHTML"], Th = { key: 1 }, Mh = /* @__PURE__ */ ye({
13424
13422
  inheritAttrs: !1,
13425
13423
  __name: "QPopover",
13426
13424
  props: /* @__PURE__ */ Be({
@@ -13456,21 +13454,21 @@ const zv = ["id", "accept", "required", "readonly", "disabled"], Qv = {
13456
13454
  placement: e.placement
13457
13455
  }, {
13458
13456
  default: G(() => [
13459
- e.title || n.$slots.header ? (v(), P("div", kh, [
13460
- n.$slots.header ? I(n.$slots, "header", { key: 0 }) : (v(), P(we, { key: 1 }, [
13461
- I(n.$slots, "header.prepend"),
13462
- ee("h4", $h, Me(e.title), 1),
13463
- I(n.$slots, "header.append")
13464
- ], 64))
13465
- ])) : Y("", !0),
13466
- e.text || n.$slots.default ? (v(), P("div", xh, [
13457
+ ee("div", kh, [
13458
+ e.title || n.$slots.header ? (v(), P("div", $h, [
13459
+ n.$slots.header ? I(n.$slots, "header", { key: 0 }) : (v(), P(we, { key: 1 }, [
13460
+ I(n.$slots, "header.prepend"),
13461
+ ee("h4", xh, Me(e.title), 1),
13462
+ I(n.$slots, "header.append")
13463
+ ], 64))
13464
+ ])) : z("", !0),
13467
13465
  I(n.$slots, "default", {}, () => [
13468
13466
  e.html ? (v(), P("span", {
13469
13467
  key: 0,
13470
13468
  innerHTML: e.text
13471
13469
  }, null, 8, Dh)) : (v(), P("span", Th, Me(e.text), 1))
13472
13470
  ])
13473
- ])) : Y("", !0)
13471
+ ])
13474
13472
  ]),
13475
13473
  _: 3
13476
13474
  }, 8, ["id", "modelValue", "class", "anchor", "arrow", "attach", "inline", "disabled", "placement"]));
@@ -13575,7 +13573,7 @@ const zv = ["id", "accept", "required", "readonly", "disabled"], Qv = {
13575
13573
  icons: a.icons,
13576
13574
  "no-toggle": a.noToggle,
13577
13575
  onClick: () => p(C.id)
13578
- }, null, 8, ["data-key", "title", "icons", "no-toggle", "onClick"])) : Y("", !0),
13576
+ }, null, 8, ["data-key", "title", "icons", "no-toggle", "onClick"])) : z("", !0),
13579
13577
  (v(!0), P(we, null, Fe(f(C.id), (D) => (v(), ie(d(mo), {
13580
13578
  key: D.id,
13581
13579
  class: me(w(D)),
@@ -13593,7 +13591,7 @@ const zv = ["id", "accept", "required", "readonly", "disabled"], Qv = {
13593
13591
  ], 64))), 128))
13594
13592
  ])
13595
13593
  ]),
13596
- a.noPanel ? Y("", !0) : (v(), ie(d(vo), {
13594
+ a.noPanel ? z("", !0) : (v(), ie(d(vo), {
13597
13595
  key: 0,
13598
13596
  field: r.value,
13599
13597
  texts: a.texts
@@ -13602,7 +13600,7 @@ const zv = ["id", "accept", "required", "readonly", "disabled"], Qv = {
13602
13600
  r.value ? I($.$slots, "panel", {
13603
13601
  key: 0,
13604
13602
  field: r.value
13605
- }) : Y("", !0)
13603
+ }) : z("", !0)
13606
13604
  ]),
13607
13605
  _: 3
13608
13606
  }, 8, ["field", "texts"]))
@@ -13651,13 +13649,13 @@ const zv = ["id", "accept", "required", "readonly", "disabled"], Qv = {
13651
13649
  }, [
13652
13650
  ee("td", {
13653
13651
  class: me(s.value),
13654
- onClick: mt(m, ["prevent", "stop"])
13652
+ onClick: gt(m, ["prevent", "stop"])
13655
13653
  }, [
13656
13654
  ee("div", null, Me(a.field.label), 1)
13657
13655
  ], 2),
13658
13656
  ee("td", {
13659
13657
  class: "q-property-list__cell",
13660
- onClick: mt(m, ["prevent", "stop"])
13658
+ onClick: gt(m, ["prevent", "stop"])
13661
13659
  }, [
13662
13660
  I(f.$slots, "default", {}, () => [
13663
13661
  a.field.component ? (v(), P("div", Ih, [
@@ -13668,7 +13666,7 @@ const zv = ["id", "accept", "required", "readonly", "disabled"], Qv = {
13668
13666
  c
13669
13667
  ]
13670
13668
  }), null, 16, ["modelValue"]))
13671
- ])) : Y("", !0)
13669
+ ])) : z("", !0)
13672
13670
  ])
13673
13671
  ])
13674
13672
  ], 42, Oh));
@@ -13707,7 +13705,7 @@ const zv = ["id", "accept", "required", "readonly", "disabled"], Qv = {
13707
13705
  colspan: "2"
13708
13706
  }, [
13709
13707
  ee("div", Bh, [
13710
- a.noToggle ? Y("", !0) : (v(), ie(d(bt), {
13708
+ a.noToggle ? z("", !0) : (v(), ie(d(bt), {
13711
13709
  key: 0,
13712
13710
  variant: "text",
13713
13711
  onClick: i
@@ -13802,7 +13800,7 @@ const zv = ["id", "accept", "required", "readonly", "disabled"], Qv = {
13802
13800
  onChange: o[0] || (o[0] = //@ts-ignore
13803
13801
  (...i) => d(n).toggle && d(n).toggle(...i))
13804
13802
  }), null, 16, Wh),
13805
- e.labelPlacement === "end" ? I(s.$slots, "default", { key: 0 }) : Y("", !0)
13803
+ e.labelPlacement === "end" ? I(s.$slots, "default", { key: 0 }) : z("", !0)
13806
13804
  ]),
13807
13805
  _: 2
13808
13806
  }, [
@@ -13866,7 +13864,7 @@ const zv = ["id", "accept", "required", "readonly", "disabled"], Qv = {
13866
13864
  for: d(l),
13867
13865
  label: e.label,
13868
13866
  required: e.required
13869
- }, null, 8, ["for", "label", "required"])) : Y("", !0),
13867
+ }, null, 8, ["for", "label", "required"])) : z("", !0),
13870
13868
  ee("div", Ae({
13871
13869
  id: d(l),
13872
13870
  class: "q-radio-group__group",
@@ -13876,7 +13874,7 @@ const zv = ["id", "accept", "required", "readonly", "disabled"], Qv = {
13876
13874
  ], 16, Uh),
13877
13875
  o.$slots.extras ? (v(), P("div", jh, [
13878
13876
  I(o.$slots, "extras")
13879
- ])) : Y("", !0)
13877
+ ])) : z("", !0)
13880
13878
  ], 2));
13881
13879
  }
13882
13880
  }), Kh = De(Hh), Gh = De(Xh), Zh = {
@@ -13915,6 +13913,7 @@ const zv = ["id", "accept", "required", "readonly", "disabled"], Qv = {
13915
13913
  clearable: { type: Boolean },
13916
13914
  loading: { type: Boolean },
13917
13915
  emptyValue: {},
13916
+ inline: { type: Boolean },
13918
13917
  icons: { default: () => Jh },
13919
13918
  texts: { default: () => Zh }
13920
13919
  }, {
@@ -13953,7 +13952,7 @@ const zv = ["id", "accept", "required", "readonly", "disabled"], Qv = {
13953
13952
  a.readonly || a.disabled || (r.value ? _() : $());
13954
13953
  }
13955
13954
  function D(A) {
13956
- !A.key || a.readonly || a.disabled || (["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(A.key) && (A.preventDefault(), A.stopPropagation()), ["Enter", " ", "ArrowDown"].includes(A.key) && $(), ["Escape", "Tab"].includes(A.key) && (r.value ? r.value = !1 : p.value && A.key === "Escape" && x()), A.key === "Delete" && a.clearable && x());
13955
+ !A.key || a.readonly || a.disabled || (["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(A.key) && (A.preventDefault(), A.stopPropagation()), ["Enter", " ", "ArrowDown"].includes(A.key) && $(), ["Escape", "Tab"].includes(A.key) && (r.value ? _() : p.value && A.key === "Escape" && x()), A.key === "Delete" && a.clearable && x());
13957
13956
  }
13958
13957
  function q() {
13959
13958
  var A;
@@ -14003,7 +14002,7 @@ const zv = ["id", "accept", "required", "readonly", "disabled"], Qv = {
14003
14002
  invalid: a.invalid
14004
14003
  }, A.$attrs, {
14005
14004
  onClick: C,
14006
- onKeydown: mt(D, ["stop"])
14005
+ onKeydown: D
14007
14006
  }), Qe({
14008
14007
  append: G(() => [
14009
14008
  I(A.$slots, "append"),
@@ -14012,8 +14011,8 @@ const zv = ["id", "accept", "required", "readonly", "disabled"], Qv = {
14012
14011
  icons: a.icons,
14013
14012
  texts: a.texts,
14014
14013
  onClick: x
14015
- }, null, 8, ["icons", "texts"])) : Y("", !0),
14016
- a.readonly ? Y("", !0) : (v(), ie(d(bt), {
14014
+ }, null, 8, ["icons", "texts"])) : z("", !0),
14015
+ a.readonly ? z("", !0) : (v(), ie(d(bt), {
14017
14016
  key: 1,
14018
14017
  class: "q-select__chevron",
14019
14018
  "aria-label": a.texts.showOptions,
@@ -14037,7 +14036,7 @@ const zv = ["id", "accept", "required", "readonly", "disabled"], Qv = {
14037
14036
  m.value ? (v(), P("span", ty, [
14038
14037
  !a.readonly && !a.disabled ? (v(), P(we, { key: 0 }, [
14039
14038
  ut(Me(a.texts.placeholder), 1)
14040
- ], 64)) : Y("", !0)
14039
+ ], 64)) : z("", !0)
14041
14040
  ])) : (v(), P("span", ey, Me(f.value), 1))
14042
14041
  ]),
14043
14042
  _: 2
@@ -14048,7 +14047,7 @@ const zv = ["id", "accept", "required", "readonly", "disabled"], Qv = {
14048
14047
  var ae, B;
14049
14048
  return [
14050
14049
  I(A.$slots, "prepend"),
14051
- (ae = c.value) != null && ae.icon ? (v(), ie(d(Je), Le(Ae({ key: 0 }, (B = c.value) == null ? void 0 : B.icon)), null, 16)) : Y("", !0)
14050
+ (ae = c.value) != null && ae.icon ? (v(), ie(d(Je), Le(Ae({ key: 0 }, (B = c.value) == null ? void 0 : B.icon)), null, 16)) : z("", !0)
14052
14051
  ];
14053
14052
  }),
14054
14053
  key: "0"
@@ -14069,6 +14068,7 @@ const zv = ["id", "accept", "required", "readonly", "disabled"], Qv = {
14069
14068
  placement: "bottom-start",
14070
14069
  width: "anchor",
14071
14070
  "scroll-lock": "",
14071
+ inline: a.inline,
14072
14072
  anchor: (re = s.value) == null ? void 0 : re.$el,
14073
14073
  offset: 2,
14074
14074
  onEnter: q,
@@ -14083,7 +14083,7 @@ const zv = ["id", "accept", "required", "readonly", "disabled"], Qv = {
14083
14083
  class: "q-select__body",
14084
14084
  tabindex: "-1",
14085
14085
  onFocusout: M,
14086
- onKeydown: mt(D, ["stop"])
14086
+ onKeydown: gt(D, ["stop"])
14087
14087
  }, [
14088
14088
  I(A.$slots, "body.prepend"),
14089
14089
  a.loading ? (v(), P("div", ny, [
@@ -14110,7 +14110,7 @@ const zv = ["id", "accept", "required", "readonly", "disabled"], Qv = {
14110
14110
  ], 40, ay)
14111
14111
  ]),
14112
14112
  _: 3
14113
- }, 8, ["modelValue", "anchor"])
14113
+ }, 8, ["modelValue", "inline", "anchor"])
14114
14114
  ], 64);
14115
14115
  };
14116
14116
  }
@@ -14281,12 +14281,15 @@ const zv = ["id", "accept", "required", "readonly", "disabled"], Qv = {
14281
14281
  function l() {
14282
14282
  a.value = !a.value;
14283
14283
  }
14284
- return (r, s) => (v(), ie(d(bt), Ae({ class: n.value }, e, { onClick: l }), {
14284
+ return (r, s) => (v(), ie(d(bt), Ae({ class: n.value }, e, {
14285
+ "aria-pressed": a.value,
14286
+ onClick: l
14287
+ }), {
14285
14288
  default: G(() => [
14286
14289
  I(r.$slots, "default")
14287
14290
  ]),
14288
14291
  _: 3
14289
- }, 16, ["class"]));
14292
+ }, 16, ["class", "aria-pressed"]));
14290
14293
  }
14291
14294
  }), ho = De(vy), hy = /* @__PURE__ */ ye({
14292
14295
  __name: "QToggleGroup",
@@ -14319,8 +14322,7 @@ const zv = ["id", "accept", "required", "readonly", "disabled"], Qv = {
14319
14322
  }), (l, r) => (v(), ie(d(Zr), {
14320
14323
  id: e.id,
14321
14324
  class: me(e.class),
14322
- elevated: e.elevated,
14323
- role: "listbox"
14325
+ elevated: e.elevated
14324
14326
  }, {
14325
14327
  default: G(() => [
14326
14328
  I(l.$slots, "default")
@@ -14363,7 +14365,7 @@ const zv = ["id", "accept", "required", "readonly", "disabled"], Qv = {
14363
14365
  _: 3
14364
14366
  }, 16, ["model-value", "onUpdate:modelValue"]));
14365
14367
  }
14366
- }), gy = De(hy), by = De(yy), wy = ["innerHTML"], _y = /* @__PURE__ */ ye({
14368
+ }), gy = De(hy), by = De(yy), wy = { class: "q-tooltip__content" }, _y = ["innerHTML"], ky = /* @__PURE__ */ ye({
14367
14369
  __name: "QTooltip",
14368
14370
  props: /* @__PURE__ */ Be({
14369
14371
  id: {},
@@ -14428,21 +14430,23 @@ const zv = ["id", "accept", "required", "readonly", "disabled"], Qv = {
14428
14430
  trigger: e.trigger
14429
14431
  }, {
14430
14432
  default: G(() => [
14431
- I(m.$slots, "default", {}, () => [
14432
- e.icon ? (v(), ie(d(Je), Le(Ae({ key: 0 }, e.icon)), null, 16)) : Y("", !0),
14433
- e.html ? (v(), P("span", {
14434
- key: 1,
14435
- innerHTML: e.text
14436
- }, null, 8, wy)) : (v(), P(we, { key: 2 }, [
14437
- ut(Me(e.text), 1)
14438
- ], 64))
14433
+ ee("div", wy, [
14434
+ I(m.$slots, "default", {}, () => [
14435
+ e.icon ? (v(), ie(d(Je), Le(Ae({ key: 0 }, e.icon)), null, 16)) : z("", !0),
14436
+ e.html ? (v(), P("span", {
14437
+ key: 1,
14438
+ innerHTML: e.text
14439
+ }, null, 8, _y)) : (v(), P(we, { key: 2 }, [
14440
+ ut(Me(e.text), 1)
14441
+ ], 64))
14442
+ ])
14439
14443
  ])
14440
14444
  ]),
14441
14445
  _: 3
14442
14446
  }, 8, ["id", "modelValue", "anchor", "appearance", "arrow", "attach", "inline", "class", "delay", "disabled", "placement", "trigger"])
14443
14447
  ], 64));
14444
14448
  }
14445
- }), ky = De(_y), $y = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
14449
+ }), $y = De(ky), xy = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
14446
14450
  __proto__: null,
14447
14451
  QAccordion: _i,
14448
14452
  QAccordionItem: ki,
@@ -14492,18 +14496,18 @@ const zv = ["id", "accept", "required", "readonly", "disabled"], Qv = {
14492
14496
  QToggle: ho,
14493
14497
  QToggleGroup: gy,
14494
14498
  QToggleGroupItem: by,
14495
- QTooltip: ky
14499
+ QTooltip: $y
14496
14500
  }, Symbol.toStringTag, { value: "Module" }));
14497
- function xy(t = {}) {
14501
+ function Dy(t = {}) {
14498
14502
  return { install: (a) => {
14499
14503
  const n = t.components || {};
14500
14504
  for (const r in n)
14501
14505
  a.component(r, n[r]);
14502
14506
  const l = t.defaults || {};
14503
- a.provide(xl, U(l)), Dy(a, t.themes);
14507
+ a.provide(xl, U(l)), Ty(a, t.themes);
14504
14508
  } };
14505
14509
  }
14506
- function Dy(t, e) {
14510
+ function Ty(t, e) {
14507
14511
  const a = [];
14508
14512
  let n;
14509
14513
  if (!e)
@@ -14523,18 +14527,18 @@ function Dy(t, e) {
14523
14527
  }
14524
14528
  if (n) {
14525
14529
  const l = U(n), r = Wr(l, a);
14526
- Vo(a), Se(r.name, Ty, { immediate: !0 }), t.provide(Ml, r);
14530
+ Vo(a), Se(r.name, My, { immediate: !0 }), t.provide(Ml, r);
14527
14531
  }
14528
14532
  }
14529
- function Ty(t) {
14533
+ function My(t) {
14530
14534
  const e = document.documentElement, n = Array.from(e.classList).filter((l) => !l.startsWith("q-theme"));
14531
14535
  e.className = n.join(" "), e.classList.add(`q-theme--${t}`);
14532
14536
  }
14533
- const Cy = (t = {}) => xy({ components: $y, ...t });
14537
+ const Sy = (t = {}) => Dy({ components: xy, ...t });
14534
14538
  export {
14535
- $y as components,
14536
- Cy as createFramework,
14539
+ xy as components,
14540
+ Sy as createFramework,
14537
14541
  Fo as provideTheme,
14538
- Py as templates,
14542
+ Cy as templates,
14539
14543
  wn as useTheme
14540
14544
  };