@revolugo/elements 6.9.0-rc.4 → 6.9.0-rc.5

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 (105) hide show
  1. package/dist/css/{revolugo.bdaterangepicker.B6KA5TYs.css → revolugo.bdaterangepicker.OLspTh_0.css} +1 -1
  2. package/dist/{revolugo._baseiteratee.ZKnQgomU.min.js → revolugo._baseiteratee.BNTrudNz.min.js} +2 -2
  3. package/dist/{revolugo.banktransferdetails.D1EdTHOL.min.js → revolugo.banktransferdetails.CSBeZCMH.min.js} +9 -9
  4. package/dist/{revolugo.bdaterangepicker.BzhBqqJB.min.js → revolugo.bdaterangepicker.DxjM2ZhP.min.js} +348 -345
  5. package/dist/{revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.Zobpu9JW.min.js → revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.6MmXQngv.min.js} +2 -2
  6. package/dist/{revolugo.bhoteloffersfilterbar.Bgc57Tpe.min.js → revolugo.bhoteloffersfilterbar.BMSggMNQ.min.js} +36 -36
  7. package/dist/{revolugo.bhotelroomsdetails.ClRl7-WF.min.js → revolugo.bhotelroomsdetails.Dy58ap6y.min.js} +7 -7
  8. package/dist/{revolugo.bimagecarousel.g9YMczqB.min.js → revolugo.bimagecarousel.D2kDC3SL.min.js} +8 -8
  9. package/dist/{revolugo.bookingdetailssidebar.CL997OxY.min.js → revolugo.bookingdetailssidebar.D_T2s2ef.min.js} +4 -4
  10. package/dist/{revolugo.bookingdetailssidebar.DeTZ0miy.min.js → revolugo.bookingdetailssidebar.z6-uHtpz.min.js} +12 -12
  11. package/dist/{revolugo.bookingmanager.AI2E8P8J.min.js → revolugo.bookingmanager.9jQBXiSg.min.js} +20 -20
  12. package/dist/{revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.Cq_TWu_W.min.js → revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.ByRHbTSk.min.js} +3 -3
  13. package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.BiO78bcp.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.CDrVermB.min.js} +7 -7
  14. package/dist/{revolugo.btag.DmpMfgva.min.js → revolugo.btag.DeY2USse.min.js} +8 -8
  15. package/dist/{revolugo.cancellationpoliciesbadge.CRLUDLUl.min.js → revolugo.cancellationpoliciesbadge.B9nrlzWh.min.js} +7 -7
  16. package/dist/{revolugo.cancellationpoliciesbadge.mpitBENL.min.js → revolugo.cancellationpoliciesbadge.iy6w5cCy.min.js} +4 -4
  17. package/dist/{revolugo.cancellationpolicieslist.CASp7ub2.min.js → revolugo.cancellationpolicieslist.CuRO2YGE.min.js} +4 -4
  18. package/dist/{revolugo.cancellationpolicieslist.Cf1pz0Qo.min.js → revolugo.cancellationpolicieslist.jzFe1dFe.min.js} +3 -3
  19. package/dist/{revolugo.case-transformers.B3QkcLC4.min.js → revolugo.case-transformers.CLDyhumY.min.js} +2 -2
  20. package/dist/{revolugo.creditcardform.CHvXpfLc.min.js → revolugo.creditcardform.BLt4RL8u.min.js} +4 -4
  21. package/dist/{revolugo.creditcardform.CZfbPmS0.min.js → revolugo.creditcardform.BSipIYOP.min.js} +11 -11
  22. package/dist/{revolugo.creditcardpayment.B6HomEX6.min.js → revolugo.creditcardpayment.DGBEaBVo.min.js} +16 -16
  23. package/dist/{revolugo.creditcardpayment.9A0LNJBG.min.js → revolugo.creditcardpayment.ri5O9Y0R.min.js} +4 -4
  24. package/dist/{revolugo.currencypicker.CvJznvxu.min.js → revolugo.currencypicker.BHxj0ske.min.js} +8 -8
  25. package/dist/{revolugo.currencypickerbtn.z1ffwRxN.min.js → revolugo.currencypickerbtn.DkGwNDrZ.min.js} +4 -4
  26. package/dist/{revolugo.currencypickerbtn.Cyhr2lH2.min.js → revolugo.currencypickerbtn.WiV6iGHa.min.js} +8 -8
  27. package/dist/{revolugo.dates.DpSkTYIL.min.js → revolugo.dates.CSTMvLSu.min.js} +2 -2
  28. package/dist/{revolugo.defaultsdeep.C-G2c9O8.min.js → revolugo.defaultsdeep.BDzCei18.min.js} +2 -2
  29. package/dist/{revolugo.dialog-attach.RGA5EmjV.min.js → revolugo.dialog-attach.Csh39Lda.min.js} +2 -2
  30. package/dist/{revolugo.dialog-transition.BvFLheIA.min.js → revolugo.dialog-transition.i0LvwiKa.min.js} +3 -3
  31. package/dist/{revolugo.fastbookingflow.Bhzt4BBJ.min.js → revolugo.fastbookingflow.B8FSXUnJ.min.js} +4 -4
  32. package/dist/{revolugo.fullbookingflow.C85S2baq.min.js → revolugo.fullbookingflow.8C6zgp-h.min.js} +17 -17
  33. package/dist/{revolugo.hotel-offer-request.BY11u81r.min.js → revolugo.hotel-offer-request.7ONhRsN6.min.js} +2 -2
  34. package/dist/{revolugo.hoteldescriptionview.DM2TOiQy.min.js → revolugo.hoteldescriptionview.C0xUtXux.min.js} +4 -4
  35. package/dist/{revolugo.hoteldescriptionview.B3Pe1KOC.min.js → revolugo.hoteldescriptionview.aN-zXtyj.min.js} +20 -20
  36. package/dist/{revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.CrnbM3wy.min.js → revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.CtA2RbME.min.js} +7 -7
  37. package/dist/{revolugo.hotelofferlist.UZ_k31KO.min.js → revolugo.hotelofferlist.BvKGfilp.min.js} +4 -4
  38. package/dist/{revolugo.hotelofferlist.DK8F9VUB.min.js → revolugo.hotelofferlist.DfVSA0cI.min.js} +23 -23
  39. package/dist/{revolugo.hoteloffersearchmenu.DqRthGgN.min.js → revolugo.hoteloffersearchmenu.DifwQFnl.min.js} +6 -6
  40. package/dist/{revolugo.hoteloffersearchmenuui.JRN7qG5x.min.js → revolugo.hoteloffersearchmenuui.BxtpoR6c.min.js} +17 -17
  41. package/dist/{revolugo.hoteloffersmap.BQpQws-r.min.js → revolugo.hoteloffersmap.5TZ3ihCX.min.js} +14 -14
  42. package/dist/{revolugo.hoteloffersmap.BGa4gpyC.min.js → revolugo.hoteloffersmap.9oE_G8tN.min.js} +4 -4
  43. package/dist/{revolugo.hoteloffersview.k0-F8o7E.min.js → revolugo.hoteloffersview.BLO25-H2.min.js} +4 -4
  44. package/dist/{revolugo.hoteloffersview.Xb81HYzL.min.js → revolugo.hoteloffersview.CagWc49U.min.js} +16 -16
  45. package/dist/{revolugo.hotelroomofferlist.D9HzqFFO.min.js → revolugo.hotelroomofferlist.BujulIIq.min.js} +4 -4
  46. package/dist/{revolugo.hotelroomofferlist.12WkQ8XM.min.js → revolugo.hotelroomofferlist.aB6E2Yma.min.js} +26 -26
  47. package/dist/{revolugo.hotelroomofferrequestcreator.props.jKuG3QQN.min.js → revolugo.hotelroomofferrequestcreator.props.ABMFjBSt.min.js} +2 -2
  48. package/dist/{revolugo.hotelroomoffersbookingflow.ByJgEPyU.min.js → revolugo.hotelroomoffersbookingflow.CZu1UUFz.min.js} +17 -17
  49. package/dist/{revolugo.hotelroomoffersearchmenu.C57F7Qm7.min.js → revolugo.hotelroomoffersearchmenu.DD9opK9F.min.js} +8 -8
  50. package/dist/{revolugo.hotelroomoffersearchmenu.D3QA4cqV.min.js → revolugo.hotelroomoffersearchmenu.JelxSD8z.min.js} +5 -5
  51. package/dist/{revolugo.hotelroomoffersview.CUd5lEO1.min.js → revolugo.hotelroomoffersview.D-XmaDjJ.min.js} +4 -4
  52. package/dist/{revolugo.hotelroomoffersview.CFMin2ck.min.js → revolugo.hotelroomoffersview.Dccr--hS.min.js} +12 -12
  53. package/dist/{revolugo.index.BgiCdmZJ.min.js → revolugo.index.CVDLehFP.min.js} +5 -5
  54. package/dist/{revolugo.index.AVoSd2kU.min.js → revolugo.index.DZF1zb-Q.min.js} +2 -2
  55. package/dist/{revolugo.index.wc.SKEoZYl9.min.js → revolugo.index.wc.B5w57MVj.min.js} +27 -27
  56. package/dist/{revolugo.langpicker.BWy_70JS.min.js → revolugo.langpicker.UuyPueP1.min.js} +5 -5
  57. package/dist/{revolugo.langpickerbtn.BihTwo0t.min.js → revolugo.langpickerbtn.Cfth49Hz.min.js} +4 -4
  58. package/dist/{revolugo.langpickerbtn.F_9IXMrf.min.js → revolugo.langpickerbtn.CqViAaPH.min.js} +10 -10
  59. package/dist/revolugo.min.js +1 -1
  60. package/dist/{revolugo.parsed-props.wZGHsbCs.min.js → revolugo.parsed-props.CgT6zw61.min.js} +4 -4
  61. package/dist/{revolugo.pathify.CpdhJ9TO.min.js → revolugo.pathify.Dd900P8D.min.js} +2 -2
  62. package/dist/{revolugo.prebookform.r-KZIRrE.min.js → revolugo.prebookform.BRuqvdxQ.min.js} +18 -18
  63. package/dist/{revolugo.prebookform.CTcPW9YG.min.js → revolugo.prebookform.CMH57Wzk.min.js} +4 -4
  64. package/dist/{revolugo.preferencesmenu.CSIB0L-M.min.js → revolugo.preferencesmenu.1aT8mPop.min.js} +10 -10
  65. package/dist/{revolugo.preferencesmenu.Bm6cyOHZ.min.js → revolugo.preferencesmenu.DNoUuKkX.min.js} +4 -4
  66. package/dist/{revolugo.roominglisteditor.C501cK3j.min.js → revolugo.roominglisteditor.BILaUlMP.min.js} +4 -4
  67. package/dist/{revolugo.roominglisteditor.BpsGgGix.min.js → revolugo.roominglisteditor.xmopqjqP.min.js} +9 -9
  68. package/dist/{revolugo.rounded.wfhC9yU3.min.js → revolugo.rounded.AHSatDl-.min.js} +2 -2
  69. package/dist/{revolugo.ssrboot.DRI-dTh2.min.js → revolugo.ssrboot.DeMi_oOP.min.js} +2 -2
  70. package/dist/{revolugo.storybooktoolbar.AKk6GnS5.min.js → revolugo.storybooktoolbar.BcvgDyg2.min.js} +18 -18
  71. package/dist/{revolugo.termsandconditions.Cae7ijvO.min.js → revolugo.termsandconditions.CGKBy5-o.min.js} +4 -4
  72. package/dist/{revolugo.termsandconditions.BWQ67TBN.min.js → revolugo.termsandconditions.CzWDtP8F.min.js} +4 -4
  73. package/dist/{revolugo.use-breakpoint-service.AdVQOYO4.min.js → revolugo.use-breakpoint-service.Bxdx9aK_.min.js} +3 -3
  74. package/dist/{revolugo.use-dialog-attach.BWJfyaBk.min.js → revolugo.use-dialog-attach.Dkx9tSlr.min.js} +3 -3
  75. package/dist/revolugo.use-html-element.B2hxGZaS.min.js +11 -0
  76. package/dist/{revolugo.vautocomplete.BtTjxvCk.min.js → revolugo.vautocomplete.pI69lWXt.min.js} +12 -12
  77. package/dist/{revolugo.vbadge.DtTWYVMo.min.js → revolugo.vbadge.BcMYa50_.min.js} +6 -6
  78. package/dist/{revolugo.vbtn.Bf1JWx1Q.min.js → revolugo.vbtn.U2MKWRpI.min.js} +6 -6
  79. package/dist/{revolugo.vcard.CwM0C-qa.min.js → revolugo.vcard.C9RZUnnv.min.js} +6 -6
  80. package/dist/{revolugo.vcheckboxbtn.CsSQicVg.min.js → revolugo.vcheckboxbtn.DSYfop2k.min.js} +8 -8
  81. package/dist/{revolugo.vdialog.B_1zsYwk.min.js → revolugo.vdialog.BALM4jpJ.min.js} +5 -5
  82. package/dist/{revolugo.vdivider.Du5ZLz5s.min.js → revolugo.vdivider.B9ui--a3.min.js} +3 -3
  83. package/dist/{revolugo.vexpansionpanels.BUYWg014.min.js → revolugo.vexpansionpanels.DiIu3_Jv.min.js} +6 -6
  84. package/dist/{revolugo.vform.CT5V0LSR.min.js → revolugo.vform.Dl-DC485.min.js} +4 -4
  85. package/dist/{revolugo.vicon.CKPX6XNj.min.js → revolugo.vicon.DxOHot3-.min.js} +3 -3
  86. package/dist/{revolugo.vinput.CngHbXTj.min.js → revolugo.vinput.CswQS7NJ.min.js} +5 -5
  87. package/dist/{revolugo.vlabel.BSI2bZI-.min.js → revolugo.vlabel._ZQf_XFQ.min.js} +3 -3
  88. package/dist/{revolugo.vlist.Ck2yVzC8.min.js → revolugo.vlist.DJFHbM-9.min.js} +8 -8
  89. package/dist/{revolugo.vmenu.CqTPMxlP.min.js → revolugo.vmenu.D6TfhAZa.min.js} +5 -5
  90. package/dist/{revolugo.vselect.B96tgVr5.min.js → revolugo.vselect.B1y6cURA.min.js} +12 -12
  91. package/dist/{revolugo.vsheet.DazyZytJ.min.js → revolugo.vsheet.CwVdRlGQ.min.js} +5 -5
  92. package/dist/{revolugo.vskeletonloader.sGXzqJEP.min.js → revolugo.vskeletonloader.CE1Y41vH.min.js} +4 -4
  93. package/dist/{revolugo.vslidegroup.TyD_U3th.min.js → revolugo.vslidegroup.g9dn2dsC.min.js} +5 -5
  94. package/dist/{revolugo.vsnackbar.ZmIwNjtL.min.js → revolugo.vsnackbar.D8bdniAR.min.js} +5 -5
  95. package/dist/revolugo.vspacer.eZ29eow0.min.js +7 -0
  96. package/dist/{revolugo.vtextarea.BhO9r0-8.min.js → revolugo.vtextarea.B3elGOHD.min.js} +8 -8
  97. package/dist/{revolugo.vtextfield.BRTBwKkq.min.js → revolugo.vtextfield.DE6UHY3P.min.js} +7 -7
  98. package/dist/{revolugo.vtoolbar.Bm-f1IP4.min.js → revolugo.vtoolbar.CSb5X7Fx.min.js} +5 -5
  99. package/dist/{revolugo.vtooltip.nzci14kb.min.js → revolugo.vtooltip.BQNsazxP.min.js} +3 -3
  100. package/dist/{revolugo.vwindowitem.CDkK5GHP.min.js → revolugo.vwindowitem.Dukm7VML.min.js} +6 -6
  101. package/dist/{revolugo.watch-list.DiYP-DXY.min.js → revolugo.watch-list.Crski9oR.min.js} +2 -2
  102. package/dist/{revolugo.webcomponentwrapper.DvZWFNnX.min.js → revolugo.webcomponentwrapper.9iqy4u1a.min.js} +2 -2
  103. package/package.json +1 -1
  104. package/dist/revolugo.use-html-element.CtK7ioDI.min.js +0 -11
  105. package/dist/revolugo.vspacer.XP5ebn-g.min.js +0 -7
@@ -1,7 +1,7 @@
1
- import { a1 as Jr, a2 as el, aE as tl, a as Fe, ao as Da, k as K, d as nt, cy as Xt, af as ga, X as rt, W as ft, aq as da, O as ct, H as U, i as z, o as T, c as Oe, A as st, B as Be, w as ge, j as ie, n as et, h as dt, p as i, D as tt, _ as Nn, aX as ca, g as G, cz as Ia, cA as al, C as Me, cB as nl, al as rl, ar as In, e as he, aB as wa, F as De, Z as yt, t as Xe, cw as ll, cC as ol, f as kt, cv as sl, aT as ul, cD as il, J as Ya, K as Ca, cu as dl, m as cl, u as vl, l as ml, aI as En, q as pt } from "./revolugo.index.wc.SKEoZYl9.min.js";
2
- import { n as fl, u as pl, e as hl, o as yl, m as gl, a as Qa, V as Ga, _ as wl } from "./revolugo.webcomponentwrapper.DvZWFNnX.min.js";
3
- import { V as bl } from "./revolugo.vdivider.Du5ZLz5s.min.js";
4
- import { V as _l } from "./revolugo.vicon.CKPX6XNj.min.js";
1
+ import { a1 as Jr, a2 as el, aE as tl, a as Fe, ao as Da, k as K, d as nt, cy as Xt, af as ga, X as rt, W as ft, aq as da, O as ct, H as U, i as z, o as T, c as Oe, A as st, B as Be, w as ge, j as ie, n as et, h as dt, p as i, D as tt, _ as Nn, aX as ca, g as G, cz as Ia, cA as al, C as xe, cB as nl, al as rl, ar as In, e as he, aB as wa, F as De, Z as yt, t as Xe, cw as ll, cC as ol, f as kt, cv as sl, aT as ul, cD as il, J as Ya, K as Ca, cu as dl, m as cl, u as vl, l as ml, aI as En, q as pt } from "./revolugo.index.wc.B5w57MVj.min.js";
2
+ import { n as fl, u as pl, e as hl, o as yl, m as gl, a as Qa, V as Ga, _ as wl } from "./revolugo.webcomponentwrapper.9iqy4u1a.min.js";
3
+ import { V as bl } from "./revolugo.vdivider.B9ui--a3.min.js";
4
+ import { V as _l } from "./revolugo.vicon.DxOHot3-.min.js";
5
5
  function Zr(e) {
6
6
  try {
7
7
  if (typeof document < "u") {
@@ -49,7 +49,7 @@ const kl = el({
49
49
  style: [r.value, e.style]
50
50
  }, n)), {};
51
51
  }
52
- }), lr = 6048e5, Ml = 864e5, xl = 6e4, or = 36e5, Pl = 1e3, Bn = Symbol.for("constructDateFrom");
52
+ }), lr = 6048e5, xl = 864e5, Ml = 6e4, or = 36e5, Pl = 1e3, Bn = Symbol.for("constructDateFrom");
53
53
  function Se(e, t) {
54
54
  return typeof e == "function" ? e(t) : e && typeof e == "object" && Bn in e ? e[Bn](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
55
55
  }
@@ -82,8 +82,8 @@ function sr(e, t, n) {
82
82
  days: s = 0,
83
83
  hours: v = 0,
84
84
  minutes: d = 0,
85
- seconds: x = 0
86
- } = t, m = pe(e, n?.in), c = r || a ? _t(m, r + a * 12) : m, f = s || o ? ht(c, s + o * 7) : c, b = d + v * 60, R = (x + b * 60) * 1e3;
85
+ seconds: M = 0
86
+ } = t, m = pe(e, n?.in), c = r || a ? _t(m, r + a * 12) : m, f = s || o ? ht(c, s + o * 7) : c, b = d + v * 60, R = (M + b * 60) * 1e3;
87
87
  return Se(e, +f + R);
88
88
  }
89
89
  function Tl(e, t, n) {
@@ -125,7 +125,7 @@ function Ra(e) {
125
125
  );
126
126
  return n.setUTCFullYear(t.getFullYear()), +e - +n;
127
127
  }
128
- function Ma(e, ...t) {
128
+ function xa(e, ...t) {
129
129
  const n = Se.bind(
130
130
  null,
131
131
  t.find((a) => typeof a == "object")
@@ -137,12 +137,12 @@ function Ln(e, t) {
137
137
  return n.setHours(0, 0, 0, 0), n;
138
138
  }
139
139
  function ir(e, t, n) {
140
- const [a, r] = Ma(
140
+ const [a, r] = xa(
141
141
  n?.in,
142
142
  e,
143
143
  t
144
144
  ), o = Ln(a), s = Ln(r), v = +o - Ra(o), d = +s - Ra(s);
145
- return Math.round((v - d) / Ml);
145
+ return Math.round((v - d) / xl);
146
146
  }
147
147
  function Al(e, t) {
148
148
  const n = ur(e, t), a = Se(e, 0);
@@ -169,7 +169,7 @@ function Vn(e, t) {
169
169
  return Math.trunc(n.getMonth() / 3) + 1;
170
170
  }
171
171
  function Cl(e, t, n) {
172
- const [a, r] = Ma(
172
+ const [a, r] = xa(
173
173
  n?.in,
174
174
  e,
175
175
  t
@@ -177,7 +177,7 @@ function Cl(e, t, n) {
177
177
  return a.getFullYear() - r.getFullYear();
178
178
  }
179
179
  function Rl(e, t, n) {
180
- const [a, r] = Ma(
180
+ const [a, r] = xa(
181
181
  n?.in,
182
182
  e,
183
183
  t
@@ -187,7 +187,7 @@ function Rl(e, t, n) {
187
187
  return d === 0 ? 0 : d;
188
188
  }
189
189
  function cr(e, t) {
190
- const [n, a] = Ma(e, t.start, t.end);
190
+ const [n, a] = xa(e, t.start, t.end);
191
191
  return { start: n, end: a };
192
192
  }
193
193
  function vr(e, t) {
@@ -519,13 +519,13 @@ function fa(e) {
519
519
  // [TODO] -- I challenge you to fix the type
520
520
  Zl(v, (c) => c.test(s))
521
521
  );
522
- let x;
523
- x = e.valueCallback ? e.valueCallback(d) : d, x = n.valueCallback ? (
522
+ let M;
523
+ M = e.valueCallback ? e.valueCallback(d) : d, M = n.valueCallback ? (
524
524
  // [TODO] -- I challenge you to fix the type
525
- n.valueCallback(x)
526
- ) : x;
525
+ n.valueCallback(M)
526
+ ) : M;
527
527
  const m = t.slice(s.length);
528
- return { value: x, rest: m };
528
+ return { value: M, rest: m };
529
529
  };
530
530
  }
531
531
  function Zl(e, t) {
@@ -679,8 +679,8 @@ function gn(e, t) {
679
679
  s.setFullYear(a + 1, 0, o), s.setHours(0, 0, 0, 0);
680
680
  const v = Dt(s, t), d = Se(t?.in || e, 0);
681
681
  d.setFullYear(a, 0, o), d.setHours(0, 0, 0, 0);
682
- const x = Dt(d, t);
683
- return +n >= +v ? a + 1 : +n >= +x ? a : a - 1;
682
+ const M = Dt(d, t);
683
+ return +n >= +v ? a + 1 : +n >= +M ? a : a - 1;
684
684
  }
685
685
  function ho(e, t) {
686
686
  const n = Zt(), a = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? n.firstWeekContainsDate ?? n.locale?.options?.firstWeekContainsDate ?? 1, r = gn(e, t), o = Se(t?.in || e, 0);
@@ -1384,7 +1384,7 @@ function _o(e, t, n) {
1384
1384
  const a = e[0] === "Y" ? "years" : "days of the month";
1385
1385
  return `Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${a} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
1386
1386
  }
1387
- const ko = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Do = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Mo = /^'([^]*?)'?$/, xo = /''/g, Po = /[a-zA-Z]/;
1387
+ const ko = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Do = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, xo = /^'([^]*?)'?$/, Mo = /''/g, Po = /[a-zA-Z]/;
1388
1388
  function Yt(e, t, n) {
1389
1389
  const a = Zt(), r = n?.locale ?? a.locale ?? pr, o = n?.firstWeekContainsDate ?? n?.locale?.options?.firstWeekContainsDate ?? a.firstWeekContainsDate ?? a.locale?.options?.firstWeekContainsDate ?? 1, s = n?.weekStartsOn ?? n?.locale?.options?.weekStartsOn ?? a.weekStartsOn ?? a.locale?.options?.weekStartsOn ?? 0, v = pe(e, n?.in);
1390
1390
  if (!ha(v))
@@ -1411,7 +1411,7 @@ function Yt(e, t, n) {
1411
1411
  return { isToken: !1, value: m };
1412
1412
  });
1413
1413
  r.localize.preprocessor && (d = r.localize.preprocessor(v, d));
1414
- const x = {
1414
+ const M = {
1415
1415
  firstWeekContainsDate: o,
1416
1416
  weekStartsOn: s,
1417
1417
  locale: r
@@ -1421,12 +1421,12 @@ function Yt(e, t, n) {
1421
1421
  const c = m.value;
1422
1422
  (!n?.useAdditionalWeekYearTokens && gr(c) || !n?.useAdditionalDayOfYearTokens && yr(c)) && dn(c, t, String(e));
1423
1423
  const f = Wn[c[0]];
1424
- return f(v, c, r.localize, x);
1424
+ return f(v, c, r.localize, M);
1425
1425
  }).join("");
1426
1426
  }
1427
1427
  function To(e) {
1428
- const t = e.match(Mo);
1429
- return t ? t[1].replace(xo, "'") : e;
1428
+ const t = e.match(xo);
1429
+ return t ? t[1].replace(Mo, "'") : e;
1430
1430
  }
1431
1431
  function Oo(e, t) {
1432
1432
  return pe(e, t?.in).getDay();
@@ -1616,7 +1616,7 @@ function $t(e, t) {
1616
1616
  };
1617
1617
  const a = n[1] === "+" ? 1 : -1, r = n[2] ? parseInt(n[2], 10) : 0, o = n[3] ? parseInt(n[3], 10) : 0, s = n[5] ? parseInt(n[5], 10) : 0;
1618
1618
  return {
1619
- value: a * (r * or + o * xl + s * Pl),
1619
+ value: a * (r * or + o * Ml + s * Pl),
1620
1620
  rest: t.slice(n[0].length)
1621
1621
  };
1622
1622
  }
@@ -2237,7 +2237,7 @@ class Jo extends Ae {
2237
2237
  ];
2238
2238
  }
2239
2239
  function _n(e, t, n) {
2240
- const a = Zt(), r = n?.weekStartsOn ?? n?.locale?.options?.weekStartsOn ?? a.weekStartsOn ?? a.locale?.options?.weekStartsOn ?? 0, o = pe(e, n?.in), s = o.getDay(), d = (t % 7 + 7) % 7, x = 7 - r, m = t < 0 || t > 6 ? t - (s + x) % 7 : (d + x) % 7 - (s + x) % 7;
2240
+ const a = Zt(), r = n?.weekStartsOn ?? n?.locale?.options?.weekStartsOn ?? a.weekStartsOn ?? a.locale?.options?.weekStartsOn ?? 0, o = pe(e, n?.in), s = o.getDay(), d = (t % 7 + 7) % 7, M = 7 - r, m = t < 0 || t > 6 ? t - (s + M) % 7 : (d + M) % 7 - (s + M) % 7;
2241
2241
  return ht(o, m, n);
2242
2242
  }
2243
2243
  class es extends Ae {
@@ -2878,12 +2878,12 @@ const ws = {
2878
2878
  x: new hs(),
2879
2879
  t: new ys(),
2880
2880
  T: new gs()
2881
- }, bs = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, _s = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, ks = /^'([^]*?)'?$/, Ds = /''/g, Ms = /\S/, xs = /[a-zA-Z]/;
2881
+ }, bs = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, _s = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, ks = /^'([^]*?)'?$/, Ds = /''/g, xs = /\S/, Ms = /[a-zA-Z]/;
2882
2882
  function cn(e, t, n, a) {
2883
2883
  const r = () => Se(a?.in || n, NaN), o = Ao(), s = a?.locale ?? o.locale ?? pr, v = a?.firstWeekContainsDate ?? a?.locale?.options?.firstWeekContainsDate ?? o.firstWeekContainsDate ?? o.locale?.options?.firstWeekContainsDate ?? 1, d = a?.weekStartsOn ?? a?.locale?.options?.weekStartsOn ?? o.weekStartsOn ?? o.locale?.options?.weekStartsOn ?? 0;
2884
2884
  if (!t)
2885
2885
  return e ? r() : pe(n, a?.in);
2886
- const x = {
2886
+ const M = {
2887
2887
  firstWeekContainsDate: v,
2888
2888
  weekStartsOn: d,
2889
2889
  locale: s
@@ -2917,13 +2917,13 @@ function cn(e, t, n, a) {
2917
2917
  e,
2918
2918
  P,
2919
2919
  s.match,
2920
- x
2920
+ M
2921
2921
  );
2922
2922
  if (!F)
2923
2923
  return r();
2924
2924
  m.push(F.setter), e = F.rest;
2925
2925
  } else {
2926
- if (_.match(xs))
2926
+ if (_.match(Ms))
2927
2927
  throw new RangeError(
2928
2928
  "Format string contains an unescaped latin alphabet character `" + _ + "`"
2929
2929
  );
@@ -2933,7 +2933,7 @@ function cn(e, t, n, a) {
2933
2933
  return r();
2934
2934
  }
2935
2935
  }
2936
- if (e.length > 0 && Ms.test(e))
2936
+ if (e.length > 0 && xs.test(e))
2937
2937
  return r();
2938
2938
  const b = m.map((P) => P.priority).sort((P, _) => _ - P).filter((P, _, S) => S.indexOf(P) === _).map(
2939
2939
  (P) => m.filter((_) => _.priority === P).sort((_, S) => S.subPriority - _.subPriority)
@@ -2942,9 +2942,9 @@ function cn(e, t, n, a) {
2942
2942
  if (isNaN(+O)) return r();
2943
2943
  const R = {};
2944
2944
  for (const P of b) {
2945
- if (!P.validate(O, x))
2945
+ if (!P.validate(O, M))
2946
2946
  return r();
2947
- const _ = P.set(O, R, x);
2947
+ const _ = P.set(O, R, M);
2948
2948
  Array.isArray(_) ? (O = _[0], Object.assign(R, _[1])) : O = _;
2949
2949
  }
2950
2950
  return O;
@@ -2953,7 +2953,7 @@ function Ps(e) {
2953
2953
  return e.match(ks)[1].replace(Ds, "'");
2954
2954
  }
2955
2955
  function jn(e, t, n) {
2956
- const [a, r] = Ma(
2956
+ const [a, r] = xa(
2957
2957
  n?.in,
2958
2958
  e,
2959
2959
  t
@@ -2963,7 +2963,7 @@ function jn(e, t, n) {
2963
2963
  function Dr(e, t, n) {
2964
2964
  return ht(e, -t, n);
2965
2965
  }
2966
- function Mr(e, t, n) {
2966
+ function xr(e, t, n) {
2967
2967
  const a = pe(e, n?.in), r = a.getFullYear(), o = a.getDate(), s = Se(e, 0);
2968
2968
  s.setFullYear(r, t, 15), s.setHours(0, 0, 0, 0);
2969
2969
  const v = $o(s);
@@ -2971,13 +2971,13 @@ function Mr(e, t, n) {
2971
2971
  }
2972
2972
  function Ne(e, t, n) {
2973
2973
  let a = pe(e, n?.in);
2974
- return isNaN(+a) ? Se(e, NaN) : (t.year != null && a.setFullYear(t.year), t.month != null && (a = Mr(a, t.month)), t.date != null && a.setDate(t.date), t.hours != null && a.setHours(t.hours), t.minutes != null && a.setMinutes(t.minutes), t.seconds != null && a.setSeconds(t.seconds), t.milliseconds != null && a.setMilliseconds(t.milliseconds), a);
2974
+ return isNaN(+a) ? Se(e, NaN) : (t.year != null && a.setFullYear(t.year), t.month != null && (a = xr(a, t.month)), t.date != null && a.setDate(t.date), t.hours != null && a.setHours(t.hours), t.minutes != null && a.setMinutes(t.minutes), t.seconds != null && a.setSeconds(t.seconds), t.milliseconds != null && a.setMilliseconds(t.milliseconds), a);
2975
2975
  }
2976
2976
  function Ts(e, t, n) {
2977
2977
  const a = pe(e, n?.in);
2978
2978
  return a.setHours(t), a;
2979
2979
  }
2980
- function xr(e, t, n) {
2980
+ function Mr(e, t, n) {
2981
2981
  const a = pe(e, n?.in);
2982
2982
  return a.setMilliseconds(t), a;
2983
2983
  }
@@ -3004,8 +3004,8 @@ function $s(e, t, n) {
3004
3004
  days: s = 0,
3005
3005
  hours: v = 0,
3006
3006
  minutes: d = 0,
3007
- seconds: x = 0
3008
- } = t, m = sa(e, r + a * 12, n), c = Dr(m, s + o * 7, n), f = d + v * 60, O = (x + f * 60) * 1e3;
3007
+ seconds: M = 0
3008
+ } = t, m = sa(e, r + a * 12, n), c = Dr(m, s + o * 7, n), f = d + v * 60, O = (M + f * 60) * 1e3;
3009
3009
  return Se(e, +c - O);
3010
3010
  }
3011
3011
  function Tr(e, t, n) {
@@ -3109,7 +3109,7 @@ function Dn() {
3109
3109
  Dn.compatConfig = {
3110
3110
  MODE: 3
3111
3111
  };
3112
- function Mn() {
3112
+ function xn() {
3113
3113
  return T(), z(
3114
3114
  "svg",
3115
3115
  {
@@ -3130,10 +3130,10 @@ function Mn() {
3130
3130
  ]
3131
3131
  );
3132
3132
  }
3133
- Mn.compatConfig = {
3133
+ xn.compatConfig = {
3134
3134
  MODE: 3
3135
3135
  };
3136
- function xn() {
3136
+ function Mn() {
3137
3137
  return T(), z(
3138
3138
  "svg",
3139
3139
  {
@@ -3151,7 +3151,7 @@ function xn() {
3151
3151
  ]
3152
3152
  );
3153
3153
  }
3154
- xn.compatConfig = {
3154
+ Mn.compatConfig = {
3155
3155
  MODE: 3
3156
3156
  };
3157
3157
  function Pn() {
@@ -3347,7 +3347,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
3347
3347
  return t ? Nl(a) : a;
3348
3348
  }, Vt = (e, t, n, a) => {
3349
3349
  let r = e ? q(e) : q();
3350
- return (t || t === 0) && (r = Ts(r, +t)), (n || n === 0) && (r = Os(r, +n)), (a || a === 0) && (r = Pr(r, +a)), xr(r, 0);
3350
+ return (t || t === 0) && (r = Ts(r, +t)), (n || n === 0) && (r = Os(r, +n)), (a || a === 0) && (r = Pr(r, +a)), Mr(r, 0);
3351
3351
  }, He = (e, t) => !e || !t ? !1 : oa(at(e), at(t)), Te = (e, t) => !e || !t ? !1 : aa(at(e), at(t)), Ue = (e, t) => !e || !t ? !1 : Kt(at(e), at(t)), ka = (e, t, n) => e != null && e[0] && e != null && e[1] ? Ue(n, e[0]) && He(n, e[1]) : e != null && e[0] && t ? Ue(n, e[0]) && He(n, t) || He(n, e[0]) && Ue(n, t) : !1, bt = (e) => {
3352
3352
  const t = Ne(new Date(e), { date: 1 });
3353
3353
  return at(t);
@@ -3392,7 +3392,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
3392
3392
  return Object.assign(n, e);
3393
3393
  }, Lt = (e, t, n) => [Ne(q(e), { date: 1 }), Ne(q(), { month: t, year: n, date: 1 })], St = (e, t, n) => {
3394
3394
  let a = e ? q(e) : q();
3395
- return (t || t === 0) && (a = Mr(a, t)), n && (a = At(a, n)), a;
3395
+ return (t || t === 0) && (a = xr(a, t)), n && (a = At(a, n)), a;
3396
3396
  }, Lr = (e, t, n, a, r) => {
3397
3397
  if (!a || r && !t || !r && !n) return !1;
3398
3398
  const o = r ? _t(e, 1) : sa(e, 1), s = [Pe(o), we(o)];
@@ -3490,14 +3490,14 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
3490
3490
  n(!0), a(!0);
3491
3491
  }, d = (c, f) => {
3492
3492
  Ie[f] = c;
3493
- }, x = (c, f) => {
3493
+ }, M = (c, f) => {
3494
3494
  Ie[f] = c;
3495
3495
  }, m = () => {
3496
3496
  lt.value = 0, qe.value = 0;
3497
3497
  };
3498
3498
  return {
3499
3499
  buildMatrix: d,
3500
- buildMultiLevelMatrix: x,
3500
+ buildMultiLevelMatrix: M,
3501
3501
  setTimePickerBackRef: (c) => {
3502
3502
  an.value = c;
3503
3503
  },
@@ -3678,7 +3678,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
3678
3678
  }, n = () => {
3679
3679
  var Y;
3680
3680
  return e.format ? e.format : e.monthPicker ? "MM/yyyy" : e.timePicker ? t() : e.weekPicker ? `${((Y = P.value) == null ? void 0 : Y.type) === "iso" ? "II" : "ww"}-RR` : e.yearPicker ? "yyyy" : e.quarterPicker ? "QQQ/yyyy" : e.enableTimePicker ? `MM/dd/yyyy, ${t()}` : "MM/dd/yyyy";
3681
- }, a = (Y) => Br(Y, e.enableSeconds), r = () => F.value.enabled ? e.startTime && Array.isArray(e.startTime) ? [a(e.startTime[0]), a(e.startTime[1])] : null : e.startTime && !Array.isArray(e.startTime) ? a(e.startTime) : null, o = U(() => Zs(e.multiCalendars)), s = U(() => r()), v = U(() => Xs(e.ariaLabels)), d = U(() => au(e.filters)), x = U(() => eu(e.transitions)), m = U(() => nu(e.actionRow)), c = U(
3681
+ }, a = (Y) => Br(Y, e.enableSeconds), r = () => F.value.enabled ? e.startTime && Array.isArray(e.startTime) ? [a(e.startTime[0]), a(e.startTime[1])] : null : e.startTime && !Array.isArray(e.startTime) ? a(e.startTime) : null, o = U(() => Zs(e.multiCalendars)), s = U(() => r()), v = U(() => Xs(e.ariaLabels)), d = U(() => au(e.filters)), M = U(() => eu(e.transitions)), m = U(() => nu(e.actionRow)), c = U(
3682
3682
  () => Js(e.previewFormat, e.format, n())
3683
3683
  ), f = U(() => tu(e.textInput)), b = U(() => ru(e.inline)), O = U(() => lu(e.config)), R = U(() => ou(e.highlight)), P = U(() => su(e.weekNumbers)), _ = U(() => iu(e.timezone)), S = U(() => vu(e.multiDates)), C = U(
3684
3684
  () => cu({
@@ -3695,7 +3695,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
3695
3695
  })
3696
3696
  ), F = U(() => uu(e.range)), j = U(() => mu(e.ui));
3697
3697
  return {
3698
- defaultedTransitions: x,
3698
+ defaultedTransitions: M,
3699
3699
  defaultedMultiCalendars: o,
3700
3700
  defaultedStartTime: s,
3701
3701
  defaultedAriaLabels: v,
@@ -3719,7 +3719,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
3719
3719
  }
3720
3720
  };
3721
3721
  }, fu = (e, t, n) => {
3722
- const a = K(), { defaultedTextInput: r, defaultedRange: o, defaultedTz: s, defaultedMultiDates: v, getDefaultPattern: d } = Le(t), x = K(""), m = ga(t, "format"), c = ga(t, "formatLocale");
3722
+ const a = K(), { defaultedTextInput: r, defaultedRange: o, defaultedTz: s, defaultedMultiDates: v, getDefaultPattern: d } = Le(t), M = K(""), m = ga(t, "format"), c = ga(t, "formatLocale");
3723
3723
  ct(
3724
3724
  a,
3725
3725
  () => {
@@ -3805,12 +3805,12 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
3805
3805
  ];
3806
3806
  }, I = () => Array.isArray(a.value) ? a.value[1] ? H() : ee(Je(a.value[0])) : [], se = () => (a.value || []).map((l) => ee(l)), ce = (l = !1) => (l || re(), t.modelAuto ? I() : v.value.enabled ? se() : Array.isArray(a.value) ? $a(() => H(), o.value.enabled) : ee(Je(a.value))), ye = (l) => !l || Array.isArray(l) && !l.length ? null : t.timePicker ? C(Je(l)) : t.monthPicker ? F(Je(l)) : t.yearPicker ? _(Je(l)) : v.value.enabled ? j(Je(l)) : t.weekPicker ? Y(Je(l)) : N(Je(l)), h = (l) => {
3807
3807
  const k = ye(l);
3808
- fn(Je(k)) ? (a.value = Je(k), J()) : (a.value = null, x.value = "");
3809
- }, M = () => {
3808
+ fn(Je(k)) ? (a.value = Je(k), J()) : (a.value = null, M.value = "");
3809
+ }, x = () => {
3810
3810
  const l = (k) => Yt(k, r.value.format);
3811
3811
  return `${l(a.value[0])} ${r.value.rangeSeparator} ${a.value[1] ? l(a.value[1]) : ""}`;
3812
- }, y = () => n.value && a.value ? Array.isArray(a.value) ? M() : Yt(a.value, r.value.format) : O(a.value), V = () => a.value ? v.value.enabled ? a.value.map((l) => O(l)).join("; ") : r.value.enabled && typeof r.value.format == "string" ? y() : O(a.value) : "", J = () => {
3813
- !t.format || typeof t.format == "string" || r.value.enabled && typeof r.value.format == "string" ? x.value = V() : x.value = t.format(a.value);
3812
+ }, y = () => n.value && a.value ? Array.isArray(a.value) ? x() : Yt(a.value, r.value.format) : O(a.value), V = () => a.value ? v.value.enabled ? a.value.map((l) => O(l)).join("; ") : r.value.enabled && typeof r.value.format == "string" ? y() : O(a.value) : "", J = () => {
3813
+ !t.format || typeof t.format == "string" || r.value.enabled && typeof r.value.format == "string" ? M.value = V() : M.value = t.format(a.value);
3814
3814
  }, E = (l) => {
3815
3815
  if (t.utc) {
3816
3816
  const k = new Date(l);
@@ -3841,7 +3841,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
3841
3841
  return l ? k : e("update:model-value", p());
3842
3842
  }, W = (l = !1) => (l || J(), t.monthPicker ? D(P, l) : t.timePicker ? D(R, l) : t.yearPicker ? D(we, l) : t.weekPicker ? B(l) : $(ce(l), !0, l));
3843
3843
  return {
3844
- inputValue: x,
3844
+ inputValue: M,
3845
3845
  internalModelValue: a,
3846
3846
  checkBeforeEmit: () => a.value ? o.value.enabled ? o.value.partialRange ? a.value.length >= 1 : a.value.length === 2 : !!a.value : !1,
3847
3847
  parseExternalModelValue: h,
@@ -3863,14 +3863,14 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
3863
3863
  n.value.months.includes(O) && (b = o(b, m), O = Pe(b), R = we(b)), n.value.years.includes(R) && (b = s(b, m), R = we(b)), r(O, R, m, e.preventMinMaxNavigation) && d(O, R, c);
3864
3864
  }, d = (m, c, f) => {
3865
3865
  t("update-month-year", { month: m, year: c, fromNav: f });
3866
- }, x = U(() => (m) => Lr(
3866
+ }, M = U(() => (m) => Lr(
3867
3867
  Ne(q(), { month: e.month, year: e.year }),
3868
3868
  a.value.maxDate,
3869
3869
  a.value.minDate,
3870
3870
  e.preventMinMaxNavigation,
3871
3871
  m
3872
3872
  ));
3873
- return { handleMonthYearChange: v, isDisabled: x, updateMonthYear: d };
3873
+ return { handleMonthYearChange: v, isDisabled: M, updateMonthYear: d };
3874
3874
  }, Ea = {
3875
3875
  multiCalendars: { type: [Boolean, Number, String, Object], default: void 0 },
3876
3876
  modelValue: { type: [String, Date, Array, Object, Number], default: null },
@@ -3994,7 +3994,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
3994
3994
  onInternalModelChange: { type: [Function, Object], default: null },
3995
3995
  enableMinutes: { type: Boolean, default: !0 },
3996
3996
  ui: { type: Object, default: () => ({}) }
3997
- }, Mt = {
3997
+ }, xt = {
3998
3998
  ...Ea,
3999
3999
  shadow: { type: Boolean, default: !1 },
4000
4000
  flowStep: { type: Number, default: 0 },
@@ -4013,7 +4013,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4013
4013
  props: {
4014
4014
  menuMount: { type: Boolean, default: !1 },
4015
4015
  calendarWidth: { type: Number, default: 0 },
4016
- ...Mt
4016
+ ...xt
4017
4017
  },
4018
4018
  emits: ["close-picker", "select-date", "select-now", "invalid-select"],
4019
4019
  setup(e, { emit: t }) {
@@ -4023,7 +4023,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4023
4023
  defaultedMultiCalendars: s,
4024
4024
  defaultedTextInput: v,
4025
4025
  defaultedInline: d,
4026
- defaultedRange: x,
4026
+ defaultedRange: M,
4027
4027
  defaultedMultiDates: m
4028
4028
  } = Le(a), { isTimeValid: c, isMonthValid: f } = zt(a), { buildMatrix: b } = Wt(), O = K(null), R = K(null), P = K(!1), _ = K({}), S = K(null), C = K(null);
4029
4029
  rt(() => {
@@ -4033,11 +4033,11 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4033
4033
  });
4034
4034
  const F = () => {
4035
4035
  P.value = !1, setTimeout(() => {
4036
- var h, M;
4037
- const y = (h = S.value) == null ? void 0 : h.getBoundingClientRect(), V = (M = C.value) == null ? void 0 : M.getBoundingClientRect();
4036
+ var h, x;
4037
+ const y = (h = S.value) == null ? void 0 : h.getBoundingClientRect(), V = (x = C.value) == null ? void 0 : x.getBoundingClientRect();
4038
4038
  y && V && (_.value.maxWidth = `${V.width - y.width - 20}px`), P.value = !0;
4039
4039
  }, 0);
4040
- }, j = U(() => x.value.enabled && !x.value.partialRange && a.internalModelValue ? a.internalModelValue.length === 2 : !0), Y = U(
4040
+ }, j = U(() => M.value.enabled && !M.value.partialRange && a.internalModelValue ? a.internalModelValue.length === 2 : !0), Y = U(
4041
4041
  () => !c.value(a.internalModelValue) || !f.value(a.internalModelValue) || !j.value
4042
4042
  ), N = () => {
4043
4043
  const h = o.value;
@@ -4057,7 +4057,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4057
4057
  ), ye = () => {
4058
4058
  c.value(a.internalModelValue) && f.value(a.internalModelValue) && j.value ? n("select-date") : n("invalid-select");
4059
4059
  };
4060
- return (h, M) => (T(), z("div", {
4060
+ return (h, x) => (T(), z("div", {
4061
4061
  ref_key: "actionRowRef",
4062
4062
  ref: C,
4063
4063
  class: "dp__action_row"
@@ -4099,15 +4099,15 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4099
4099
  ref: O,
4100
4100
  type: "button",
4101
4101
  class: "dp__action_button dp__action_cancel",
4102
- onClick: M[0] || (M[0] = (y) => h.$emit("close-picker")),
4103
- onKeydown: M[1] || (M[1] = (y) => i(it)(y, () => h.$emit("close-picker")))
4102
+ onClick: x[0] || (x[0] = (y) => h.$emit("close-picker")),
4103
+ onKeydown: x[1] || (x[1] = (y) => i(it)(y, () => h.$emit("close-picker")))
4104
4104
  }, Xe(h.cancelText), 545)) : G("", !0),
4105
4105
  i(r).showNow ? (T(), z("button", {
4106
4106
  key: 1,
4107
4107
  type: "button",
4108
4108
  class: "dp__action_button dp__action_cancel",
4109
- onClick: M[2] || (M[2] = (y) => h.$emit("select-now")),
4110
- onKeydown: M[3] || (M[3] = (y) => i(it)(y, () => h.$emit("select-now")))
4109
+ onClick: x[2] || (x[2] = (y) => h.$emit("select-now")),
4110
+ onKeydown: x[3] || (x[3] = (y) => i(it)(y, () => h.$emit("select-now")))
4111
4111
  }, Xe(h.nowButtonLabel), 33)) : G("", !0),
4112
4112
  i(r).showSelect ? (T(), z("button", {
4113
4113
  key: 2,
@@ -4117,7 +4117,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4117
4117
  class: "dp__action_button dp__action_select",
4118
4118
  disabled: Y.value,
4119
4119
  "data-test-id": "select-button",
4120
- onKeydown: M[4] || (M[4] = (y) => i(it)(y, () => ye())),
4120
+ onKeydown: x[4] || (x[4] = (y) => i(it)(y, () => ye())),
4121
4121
  onClick: ye
4122
4122
  }, Xe(h.selectText), 41, yu)) : G("", !0)
4123
4123
  ], 64))
@@ -4125,7 +4125,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4125
4125
  ], 64))
4126
4126
  ], 512));
4127
4127
  }
4128
- }), wu = ["role", "aria-label", "tabindex"], bu = { class: "dp__selection_grid_header" }, _u = ["aria-selected", "aria-disabled", "data-test-id", "onClick", "onKeydown", "onMouseover"], ku = ["aria-label"], xa = /* @__PURE__ */ nt({
4128
+ }), wu = ["role", "aria-label", "tabindex"], bu = { class: "dp__selection_grid_header" }, _u = ["aria-selected", "aria-disabled", "data-test-id", "onClick", "onKeydown", "onMouseover"], ku = ["aria-label"], Ma = /* @__PURE__ */ nt({
4129
4129
  __name: "SelectionOverlay",
4130
4130
  props: {
4131
4131
  items: {},
@@ -4148,7 +4148,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4148
4148
  },
4149
4149
  emits: ["selected", "toggle", "reset-flow", "hover-value"],
4150
4150
  setup(e, { expose: t, emit: n }) {
4151
- const { setSelectionGrid: a, buildMultiLevelMatrix: r, setMonthPicker: o } = Wt(), s = n, v = e, { defaultedAriaLabels: d, defaultedTextInput: x, defaultedConfig: m, handleEventPropagation: c } = Le(
4151
+ const { setSelectionGrid: a, buildMultiLevelMatrix: r, setMonthPicker: o } = Wt(), s = n, v = e, { defaultedAriaLabels: d, defaultedTextInput: M, defaultedConfig: m, handleEventPropagation: c } = Le(
4152
4152
  v
4153
4153
  ), { hideNavigationButtons: f } = Fa(), b = K(!1), O = K(null), R = K(null), P = K([]), _ = K(), S = K(null), C = K(0), F = K(null);
4154
4154
  il(() => {
@@ -4162,7 +4162,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4162
4162
  }, Y = () => {
4163
4163
  var p;
4164
4164
  const D = Ge(R);
4165
- D && (x.value.enabled || (O.value ? (p = O.value) == null || p.focus({ preventScroll: !0 }) : D.focus({ preventScroll: !0 })), b.value = D.clientHeight < D.scrollHeight);
4165
+ D && (M.value.enabled || (O.value ? (p = O.value) == null || p.focus({ preventScroll: !0 }) : D.focus({ preventScroll: !0 })), b.value = D.clientHeight < D.scrollHeight);
4166
4166
  }, N = U(
4167
4167
  () => ({
4168
4168
  dp__overlay: !0,
@@ -4203,7 +4203,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4203
4203
  p.disabled || s("selected", p.value);
4204
4204
  }, h = () => {
4205
4205
  s("toggle"), s("reset-flow");
4206
- }, M = (p) => {
4206
+ }, x = (p) => {
4207
4207
  v.escClose && (h(), c(p));
4208
4208
  }, y = (p, D, B, W) => {
4209
4209
  p && ((D.active || D.value === v.focusValue) && (O.value = p), v.arrowNavigation && (Array.isArray(P.value[B]) ? P.value[B][W] = p : P.value[B] = [p], V()));
@@ -4226,7 +4226,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4226
4226
  }, $ = (p) => {
4227
4227
  switch (p.key) {
4228
4228
  case Ee.esc:
4229
- return M(p);
4229
+ return x(p);
4230
4230
  case Ee.arrowLeft:
4231
4231
  return J(p);
4232
4232
  case Ee.arrowRight:
@@ -4247,7 +4247,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4247
4247
  return T(), z("div", {
4248
4248
  ref_key: "gridWrapRef",
4249
4249
  ref: R,
4250
- class: Me(N.value),
4250
+ class: xe(N.value),
4251
4251
  style: yt(re.value),
4252
4252
  role: p.useRelative ? void 0 : "dialog",
4253
4253
  "aria-label": p.overlayLabel,
@@ -4259,7 +4259,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4259
4259
  he("div", {
4260
4260
  ref_key: "containerRef",
4261
4261
  ref: F,
4262
- class: Me(se.value),
4262
+ class: xe(se.value),
4263
4263
  style: yt({ "--dp-overlay-height": `${C.value}px` }),
4264
4264
  role: "grid"
4265
4265
  }, [
@@ -4268,7 +4268,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4268
4268
  ]),
4269
4269
  p.$slots.overlay ? ie(p.$slots, "overlay", { key: 0 }) : (T(!0), z(De, { key: 1 }, Be(p.items, (W, l) => (T(), z("div", {
4270
4270
  key: l,
4271
- class: Me(["dp__overlay_row", { dp__flex_row: p.items.length >= 3 }]),
4271
+ class: xe(["dp__overlay_row", { dp__flex_row: p.items.length >= 3 }]),
4272
4272
  role: "row"
4273
4273
  }, [
4274
4274
  (T(!0), z(De, null, Be(W, (k, oe) => (T(), z("div", {
@@ -4276,7 +4276,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4276
4276
  ref_for: !0,
4277
4277
  ref: (Ye) => y(Ye, k, l, oe),
4278
4278
  role: "gridcell",
4279
- class: Me(H.value),
4279
+ class: xe(H.value),
4280
4280
  "aria-selected": k.active || void 0,
4281
4281
  "aria-disabled": k.disabled || void 0,
4282
4282
  tabindex: "0",
@@ -4286,7 +4286,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4286
4286
  onMouseover: (Ye) => E(k.value)
4287
4287
  }, [
4288
4288
  he("div", {
4289
- class: Me(k.className)
4289
+ class: xe(k.className)
4290
4290
  }, [
4291
4291
  p.$slots.item ? ie(p.$slots, "item", {
4292
4292
  key: 0,
@@ -4305,7 +4305,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4305
4305
  ref: S,
4306
4306
  type: "button",
4307
4307
  "aria-label": (B = i(d)) == null ? void 0 : B.toggleOverlay,
4308
- class: Me(I.value),
4308
+ class: xe(I.value),
4309
4309
  tabindex: "0",
4310
4310
  onClick: h,
4311
4311
  onKeydown: de
@@ -4332,7 +4332,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4332
4332
  dp__instance_calendar: t.multiCalendars > 0
4333
4333
  }));
4334
4334
  return (r, o) => (T(), z("div", {
4335
- class: Me({
4335
+ class: xe({
4336
4336
  dp__menu_inner: !r.stretch,
4337
4337
  "dp--menu--inner-stretched": r.stretch,
4338
4338
  dp__flex_display: r.multiCalendars > 0,
@@ -4342,7 +4342,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4342
4342
  }, [
4343
4343
  (T(!0), z(De, null, Be(n.value, (s, v) => (T(), z("div", {
4344
4344
  key: s,
4345
- class: Me(a.value)
4345
+ class: xe(a.value)
4346
4346
  }, [
4347
4347
  ie(r.$slots, "default", {
4348
4348
  instance: s,
@@ -4351,7 +4351,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4351
4351
  ], 2))), 128))
4352
4352
  ], 10, Du));
4353
4353
  }
4354
- }), Mu = ["data-dp-element", "aria-label", "aria-disabled"], ya = /* @__PURE__ */ nt({
4354
+ }), xu = ["data-dp-element", "aria-label", "aria-disabled"], ya = /* @__PURE__ */ nt({
4355
4355
  compatConfig: {
4356
4356
  MODE: 3
4357
4357
  },
@@ -4377,16 +4377,16 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4377
4377
  onKeydown: o[1] || (o[1] = (s) => i(it)(s, () => r.$emit("activate"), !0))
4378
4378
  }, [
4379
4379
  he("span", {
4380
- class: Me(["dp__inner_nav", { dp__inner_nav_disabled: r.disabled }])
4380
+ class: xe(["dp__inner_nav", { dp__inner_nav_disabled: r.disabled }])
4381
4381
  }, [
4382
4382
  ie(r.$slots, "default")
4383
4383
  ], 2)
4384
- ], 40, Mu));
4384
+ ], 40, xu));
4385
4385
  }
4386
- }), xu = ["aria-label", "data-test-id"], Wr = /* @__PURE__ */ nt({
4386
+ }), Mu = ["aria-label", "data-test-id"], Wr = /* @__PURE__ */ nt({
4387
4387
  __name: "YearModePicker",
4388
4388
  props: {
4389
- ...Mt,
4389
+ ...xt,
4390
4390
  showYearPicker: { type: Boolean, default: !1 },
4391
4391
  items: { type: Array, default: () => [] },
4392
4392
  instance: { type: Number, default: 0 },
@@ -4395,7 +4395,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4395
4395
  },
4396
4396
  emits: ["toggle-year-picker", "year-select", "handle-year"],
4397
4397
  setup(e, { emit: t }) {
4398
- const n = t, a = e, { showRightIcon: r, showLeftIcon: o } = Fa(), { defaultedConfig: s, defaultedMultiCalendars: v, defaultedAriaLabels: d, defaultedTransitions: x, defaultedUI: m } = Le(a), { showTransition: c, transitionName: f } = Pa(x), b = K(!1), O = (_ = !1, S) => {
4398
+ const n = t, a = e, { showRightIcon: r, showLeftIcon: o } = Fa(), { defaultedConfig: s, defaultedMultiCalendars: v, defaultedAriaLabels: d, defaultedTransitions: M, defaultedUI: m } = Le(a), { showTransition: c, transitionName: f } = Pa(M), b = K(!1), O = (_ = !1, S) => {
4399
4399
  b.value = !b.value, n("toggle-year-picker", { flow: _, show: S });
4400
4400
  }, R = (_) => {
4401
4401
  b.value = !1, n("year-select", _);
@@ -4406,14 +4406,14 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4406
4406
  var C, F, j, Y, N;
4407
4407
  return T(), z(De, null, [
4408
4408
  he("div", {
4409
- class: Me(["dp--year-mode-picker", { "dp--hidden-el": b.value }])
4409
+ class: xe(["dp--year-mode-picker", { "dp--hidden-el": b.value }])
4410
4410
  }, [
4411
4411
  i(o)(i(v), e.instance) ? (T(), Oe(ya, {
4412
4412
  key: 0,
4413
4413
  ref: "mpPrevIconRef",
4414
4414
  "aria-label": (C = i(d)) == null ? void 0 : C.prevYear,
4415
4415
  disabled: e.isDisabled(!1),
4416
- class: Me((F = i(m)) == null ? void 0 : F.navBtnPrev),
4416
+ class: xe((F = i(m)) == null ? void 0 : F.navBtnPrev),
4417
4417
  onActivate: S[0] || (S[0] = (re) => P(!1))
4418
4418
  }, {
4419
4419
  default: ge(() => [
@@ -4438,13 +4438,13 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4438
4438
  _.$slots.year ? G("", !0) : (T(), z(De, { key: 1 }, [
4439
4439
  kt(Xe(e.year), 1)
4440
4440
  ], 64))
4441
- ], 40, xu),
4441
+ ], 40, Mu),
4442
4442
  i(r)(i(v), e.instance) ? (T(), Oe(ya, {
4443
4443
  key: 1,
4444
4444
  ref: "mpNextIconRef",
4445
4445
  "aria-label": (Y = i(d)) == null ? void 0 : Y.nextYear,
4446
4446
  disabled: e.isDisabled(!0),
4447
- class: Me((N = i(m)) == null ? void 0 : N.navBtnNext),
4447
+ class: xe((N = i(m)) == null ? void 0 : N.navBtnNext),
4448
4448
  onActivate: S[3] || (S[3] = (re) => P(!0))
4449
4449
  }, {
4450
4450
  default: ge(() => [
@@ -4461,7 +4461,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4461
4461
  default: ge(() => {
4462
4462
  var re, H;
4463
4463
  return [
4464
- e.showYearPicker ? (T(), Oe(xa, {
4464
+ e.showYearPicker ? (T(), Oe(Ma, {
4465
4465
  key: 0,
4466
4466
  items: e.items,
4467
4467
  "text-input": _.textInput,
@@ -4524,12 +4524,12 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4524
4524
  props: s,
4525
4525
  filters: v,
4526
4526
  year: d,
4527
- month: x,
4527
+ month: M,
4528
4528
  emit: m
4529
4529
  }) => {
4530
4530
  const c = U(() => On(s.yearRange, s.locale, s.reverseYears)), f = K([!1]), b = U(() => (I, se) => {
4531
4531
  const ce = Ne(bt(/* @__PURE__ */ new Date()), {
4532
- month: x.value(I),
4532
+ month: M.value(I),
4533
4533
  year: d.value(I)
4534
4534
  }), ye = se ? mr(ce) : ba(ce);
4535
4535
  return Lr(
@@ -4580,8 +4580,8 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4580
4580
  se.value,
4581
4581
  ia(a.value.minDate),
4582
4582
  ia(a.value.maxDate)
4583
- ) || ((ce = v.value.years) == null ? void 0 : ce.includes(d.value(I))), M = Yn(n.value, se.value);
4584
- return { active: ye, disabled: h, highlighted: M };
4583
+ ) || ((ce = v.value.years) == null ? void 0 : ce.includes(d.value(I))), x = Yn(n.value, se.value);
4584
+ return { active: ye, disabled: h, highlighted: x };
4585
4585
  })), N = (I, se) => {
4586
4586
  j(I, se), H(se);
4587
4587
  }, re = (I, se = !1) => {
@@ -4610,7 +4610,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4610
4610
  defaultedRange: s,
4611
4611
  defaultedHighlight: v,
4612
4612
  propDates: d,
4613
- defaultedTz: x,
4613
+ defaultedTz: M,
4614
4614
  defaultedFilters: m,
4615
4615
  defaultedMultiDates: c
4616
4616
  } = Le(e), f = () => {
@@ -4646,7 +4646,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4646
4646
  var l, k;
4647
4647
  const oe = ce();
4648
4648
  return Array.isArray(oe) ? O.value(B) === ((l = oe[W]) == null ? void 0 : l.year) && D === ((k = oe[W]) == null ? void 0 : k.month) : !1;
4649
- }, M = (D, B) => {
4649
+ }, x = (D, B) => {
4650
4650
  if (s.value.enabled) {
4651
4651
  const W = ce();
4652
4652
  if (Array.isArray(b.value) && Array.isArray(W)) {
@@ -4662,7 +4662,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4662
4662
  B.value,
4663
4663
  Nr(O.value(D), d.value.minDate),
4664
4664
  Ir(O.value(D), d.value.maxDate)
4665
- ) || Gs(d.value.disabledDates, O.value(D), B.value) || ((W = m.value.months) == null ? void 0 : W.includes(B.value)) || !Ks(d.value.allowedDates, O.value(D), B.value), oe = M(B.value, D), Ye = Vr(v.value, B.value, O.value(D));
4665
+ ) || Gs(d.value.disabledDates, O.value(D), B.value) || ((W = m.value.months) == null ? void 0 : W.includes(B.value)) || !Ks(d.value.allowedDates, O.value(D), B.value), oe = x(B.value, D), Ye = Vr(v.value, B.value, O.value(D));
4666
4666
  return { active: l, disabled: k, isBetween: oe, highlighted: Ye };
4667
4667
  })), V = (D, B) => St(bt(q()), D, O.value(B)), J = (D, B) => {
4668
4668
  const W = b.value ? b.value : bt(/* @__PURE__ */ new Date());
@@ -4700,7 +4700,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4700
4700
  value: D,
4701
4701
  modelValue: b,
4702
4702
  range: s.value.enabled,
4703
- timezone: B ? void 0 : x.value.timezone
4703
+ timezone: B ? void 0 : M.value.timezone
4704
4704
  }), t("auto-apply");
4705
4705
  },
4706
4706
  setHoverDate: (D, B) => {
@@ -4719,7 +4719,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4719
4719
  },
4720
4720
  __name: "MonthPicker",
4721
4721
  props: {
4722
- ...Mt
4722
+ ...xt
4723
4723
  },
4724
4724
  emits: [
4725
4725
  "update:internal-model-value",
@@ -4742,7 +4742,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4742
4742
  const {
4743
4743
  groupedMonths: v,
4744
4744
  groupedYears: d,
4745
- year: x,
4745
+ year: M,
4746
4746
  isDisabled: m,
4747
4747
  defaultedMultiCalendars: c,
4748
4748
  defaultedConfig: f,
@@ -4759,7 +4759,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4759
4759
  } = Pu(s, a);
4760
4760
  return t({ getSidebarProps: () => ({
4761
4761
  modelValue: O,
4762
- year: x,
4762
+ year: M,
4763
4763
  getModelMonthYear: Y,
4764
4764
  selectMonth: _,
4765
4765
  selectYear: S,
@@ -4776,13 +4776,13 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4776
4776
  value: N.internalModelValue
4777
4777
  }) : G("", !0),
4778
4778
  N.$slots["month-year"] ? ie(N.$slots, "month-year", et(tt({ key: 1 }, {
4779
- year: i(x),
4779
+ year: i(M),
4780
4780
  months: i(v)(H),
4781
4781
  years: i(d)(H),
4782
4782
  selectMonth: i(_),
4783
4783
  selectYear: i(S),
4784
4784
  instance: H
4785
- }))) : (T(), Oe(xa, {
4785
+ }))) : (T(), Oe(Ma, {
4786
4786
  key: 2,
4787
4787
  items: i(v)(H),
4788
4788
  "arrow-navigation": N.arrowNavigation,
@@ -4801,7 +4801,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4801
4801
  items: i(d)(H),
4802
4802
  instance: H,
4803
4803
  "show-year-picker": i(b)[H],
4804
- year: i(x)(H),
4804
+ year: i(M)(H),
4805
4805
  "is-disabled": (I) => i(m)(H, I),
4806
4806
  onHandleYear: (I) => i(j)(H, I),
4807
4807
  onYearSelect: (I) => i(F)(I, H),
@@ -4835,15 +4835,15 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4835
4835
  }), Ou = (e, t) => {
4836
4836
  const n = () => {
4837
4837
  e.isTextInputDate && (m.value = we(q(e.startDate)));
4838
- }, { modelValue: a } = Ta(e, t, n), r = K(null), { defaultedHighlight: o, defaultedMultiDates: s, defaultedFilters: v, defaultedRange: d, propDates: x } = Le(e), m = K();
4838
+ }, { modelValue: a } = Ta(e, t, n), r = K(null), { defaultedHighlight: o, defaultedMultiDates: s, defaultedFilters: v, defaultedRange: d, propDates: M } = Le(e), m = K();
4839
4839
  rt(() => {
4840
4840
  e.startDate && (a.value && e.focusStartDate || !a.value) && (m.value = we(q(e.startDate)));
4841
4841
  });
4842
- const c = (_) => Array.isArray(a.value) ? a.value.some((S) => we(S) === _) : a.value ? we(a.value) === _ : !1, f = (_) => d.value.enabled && Array.isArray(a.value) ? ka(a.value, r.value, P(_)) : !1, b = (_) => x.value.allowedDates instanceof Map ? x.value.allowedDates.size ? x.value.allowedDates.has(`${_}`) : !1 : !0, O = (_) => x.value.disabledDates instanceof Map ? x.value.disabledDates.size ? x.value.disabledDates.has(`${_}`) : !1 : !0, R = U(() => ua(On(e.yearRange, e.locale, e.reverseYears), (_) => {
4842
+ const c = (_) => Array.isArray(a.value) ? a.value.some((S) => we(S) === _) : a.value ? we(a.value) === _ : !1, f = (_) => d.value.enabled && Array.isArray(a.value) ? ka(a.value, r.value, P(_)) : !1, b = (_) => M.value.allowedDates instanceof Map ? M.value.allowedDates.size ? M.value.allowedDates.has(`${_}`) : !1 : !0, O = (_) => M.value.disabledDates instanceof Map ? M.value.disabledDates.size ? M.value.disabledDates.has(`${_}`) : !1 : !0, R = U(() => ua(On(e.yearRange, e.locale, e.reverseYears), (_) => {
4843
4843
  const S = c(_.value), C = _a(
4844
4844
  _.value,
4845
- ia(x.value.minDate),
4846
- ia(x.value.maxDate)
4845
+ ia(M.value.minDate),
4846
+ ia(M.value.maxDate)
4847
4847
  ) || v.value.years.includes(_.value) || !b(_.value) || O(_.value), F = f(_.value) && !S, j = Yn(o.value, _.value);
4848
4848
  return { active: S, disabled: C, isBetween: F, highlighted: j };
4849
4849
  })), P = (_) => At(bt(ba(/* @__PURE__ */ new Date())), _);
@@ -4869,7 +4869,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4869
4869
  },
4870
4870
  __name: "YearPicker",
4871
4871
  props: {
4872
- ...Mt
4872
+ ...xt
4873
4873
  },
4874
4874
  emits: [
4875
4875
  "update:internal-model-value",
@@ -4880,7 +4880,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4880
4880
  "update-month-year"
4881
4881
  ],
4882
4882
  setup(e, { expose: t, emit: n }) {
4883
- const a = n, r = e, { groupedYears: o, modelValue: s, focusYear: v, selectYear: d, setHoverValue: x } = Ou(r, a), { defaultedConfig: m } = Le(r);
4883
+ const a = n, r = e, { groupedYears: o, modelValue: s, focusYear: v, selectYear: d, setHoverValue: M } = Ou(r, a), { defaultedConfig: m } = Le(r);
4884
4884
  return t({ getSidebarProps: () => ({
4885
4885
  modelValue: s,
4886
4886
  selectYear: d
@@ -4892,7 +4892,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4892
4892
  c.$slots["month-year"] ? ie(c.$slots, "month-year", et(tt({ key: 1 }, {
4893
4893
  years: i(o),
4894
4894
  selectYear: i(d)
4895
- }))) : (T(), Oe(xa, {
4895
+ }))) : (T(), Oe(Ma, {
4896
4896
  key: 2,
4897
4897
  items: i(o),
4898
4898
  "is-last": c.autoApply && !i(m).keepActionRow,
@@ -4903,7 +4903,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4903
4903
  type: "year",
4904
4904
  "use-relative": "",
4905
4905
  onSelected: i(d),
4906
- onHoverValue: i(x)
4906
+ onHoverValue: i(M)
4907
4907
  }, st({ _: 2 }, [
4908
4908
  c.$slots["year-overlay-value"] ? {
4909
4909
  name: "item",
@@ -4934,7 +4934,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4934
4934
  order: { type: Number, default: 0 },
4935
4935
  disabledTimesConfig: { type: Function, default: null },
4936
4936
  validateTime: { type: Function, default: () => !1 },
4937
- ...Mt
4937
+ ...xt
4938
4938
  },
4939
4939
  emits: [
4940
4940
  "set-hours",
@@ -4952,7 +4952,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4952
4952
  const a = n, r = e, { setTimePickerElements: o, setTimePickerBackRef: s } = Wt(), {
4953
4953
  defaultedAriaLabels: v,
4954
4954
  defaultedTransitions: d,
4955
- defaultedFilters: x,
4955
+ defaultedFilters: M,
4956
4956
  defaultedConfig: m,
4957
4957
  defaultedRange: c,
4958
4958
  defaultedMultiCalendars: f
@@ -4987,7 +4987,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
4987
4987
  dp__time_col_sec: r.enableSeconds && r.is24,
4988
4988
  dp__time_col_sec_with_button: r.enableSeconds && !r.is24
4989
4989
  })
4990
- ), M = U(
4990
+ ), x = U(
4991
4991
  () => r.timePickerInline && c.value.enabled && !f.value.count
4992
4992
  ), y = U(() => {
4993
4993
  const u = [{ type: "hours" }];
@@ -5008,26 +5008,26 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
5008
5008
  const ne = r.disabledTimesConfig(r.order, u === "hours" ? Z : void 0);
5009
5009
  return ne[u] ? !!((ae = ne[u]) != null && ae.includes(Z)) : !0;
5010
5010
  }, ee = (u, Z) => Z !== "hours" || P.value === "AM" ? u : u + 12, $ = (u) => {
5011
- const Z = r.is24 ? 24 : 12, ae = u === "hours" ? Z : 60, ne = +r[`${u}GridIncrement`], xe = u === "hours" && !r.is24 ? ne : 0, _e = [];
5012
- for (let Ce = xe; Ce < ae; Ce += ne)
5011
+ const Z = r.is24 ? 24 : 12, ae = u === "hours" ? Z : 60, ne = +r[`${u}GridIncrement`], Me = u === "hours" && !r.is24 ? ne : 0, _e = [];
5012
+ for (let Ce = Me; Ce < ae; Ce += ne)
5013
5013
  _e.push({ value: r.is24 ? Ce : ee(Ce, u), text: Ce < 10 ? `0${Ce}` : `${Ce}` });
5014
- return u === "hours" && !r.is24 && _e.unshift({ value: P.value === "PM" ? 12 : 0, text: "12" }), ua(_e, (Ce) => ({ active: !1, disabled: x.value.times[u].includes(Ce.value) || !D(Ce.value, u) || E(u, Ce.value) || re(u, Ce.value) }));
5014
+ return u === "hours" && !r.is24 && _e.unshift({ value: P.value === "PM" ? 12 : 0, text: "12" }), ua(_e, (Ce) => ({ active: !1, disabled: M.value.times[u].includes(Ce.value) || !D(Ce.value, u) || E(u, Ce.value) || re(u, Ce.value) }));
5015
5015
  }, de = (u) => u >= 0 ? u : 59, p = (u) => u >= 0 ? u : 23, D = (u, Z) => {
5016
- const ae = r.minTime ? j(Za(r.minTime)) : null, ne = r.maxTime ? j(Za(r.maxTime)) : null, xe = j(
5016
+ const ae = r.minTime ? j(Za(r.minTime)) : null, ne = r.maxTime ? j(Za(r.maxTime)) : null, Me = j(
5017
5017
  Za(
5018
5018
  N.value,
5019
5019
  Z,
5020
5020
  Z === "minutes" || Z === "seconds" ? de(u) : p(u)
5021
5021
  )
5022
5022
  );
5023
- return ae && ne ? (oa(xe, ne) || aa(xe, ne)) && (Kt(xe, ae) || aa(xe, ae)) : ae ? Kt(xe, ae) || aa(xe, ae) : ne ? oa(xe, ne) || aa(xe, ne) : !0;
5023
+ return ae && ne ? (oa(Me, ne) || aa(Me, ne)) && (Kt(Me, ae) || aa(Me, ae)) : ae ? Kt(Me, ae) || aa(Me, ae) : ne ? oa(Me, ne) || aa(Me, ne) : !0;
5024
5024
  }, B = (u) => r[`no${u[0].toUpperCase() + u.slice(1)}Overlay`], W = (u) => {
5025
5025
  B(u) || (R[u] = !R[u], R[u] ? (F.value = !0, a("overlay-opened", u)) : (F.value = !1, a("overlay-closed", u)));
5026
5026
  }, l = (u) => u === "hours" ? Nt : u === "minutes" ? Ht : la, k = () => {
5027
5027
  C.value && clearTimeout(C.value);
5028
5028
  }, oe = (u, Z = !0, ae) => {
5029
- const ne = Z ? ce : ye, xe = Z ? +r[`${u}Increment`] : -+r[`${u}Increment`];
5030
- D(+r[u] + xe, u) && a(
5029
+ const ne = Z ? ce : ye, Me = Z ? +r[`${u}Increment`] : -+r[`${u}Increment`];
5030
+ D(+r[u] + Me, u) && a(
5031
5031
  `update:${u}`,
5032
5032
  l(u)(ne({ [u]: +r[u] }, { [u]: +r[`${u}Increment`] }))
5033
5033
  ), !(ae != null && ae.keyboard) && m.value.timeArrowHoldThreshold && (C.value = setTimeout(() => {
@@ -5041,7 +5041,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
5041
5041
  if (u && r.arrowNavigation) {
5042
5042
  Array.isArray(S.value[Z]) ? S.value[Z][ae] = u : S.value[Z] = [u];
5043
5043
  const ne = S.value.reduce(
5044
- (xe, _e) => _e.map((Ce, ze) => [...xe[ze] || [], _e[ze]]),
5044
+ (Me, _e) => _e.map((Ce, ze) => [...Me[ze] || [], _e[ze]]),
5045
5045
  []
5046
5046
  );
5047
5047
  s(r.closeTimePickerBtn), _.value && (ne[1] = ne[1].concat(_.value)), o(ne, r.order);
@@ -5050,13 +5050,13 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
5050
5050
  return t({ openChildCmp: be }), (u, Z) => {
5051
5051
  var ae;
5052
5052
  return u.disabled ? G("", !0) : (T(), z("div", Au, [
5053
- (T(!0), z(De, null, Be(y.value, (ne, xe) => {
5053
+ (T(!0), z(De, null, Be(y.value, (ne, Me) => {
5054
5054
  var _e, Ce, ze;
5055
5055
  return T(), z("div", {
5056
- key: xe,
5057
- class: Me(h.value),
5058
- "data-compact": M.value && !u.enableSeconds,
5059
- "data-collapsed": M.value && u.enableSeconds
5056
+ key: Me,
5057
+ class: xe(h.value),
5058
+ "data-compact": x.value && !u.enableSeconds,
5059
+ "data-collapsed": x.value && u.enableSeconds
5060
5060
  }, [
5061
5061
  ne.separator ? (T(), z(De, { key: 0 }, [
5062
5062
  F.value ? G("", !0) : (T(), z(De, { key: 0 }, [
@@ -5065,9 +5065,9 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
5065
5065
  ], 64)) : (T(), z(De, { key: 1 }, [
5066
5066
  he("button", {
5067
5067
  ref_for: !0,
5068
- ref: (g) => Q(g, xe, 0),
5068
+ ref: (g) => Q(g, Me, 0),
5069
5069
  type: "button",
5070
- class: Me({
5070
+ class: xe({
5071
5071
  dp__btn: !0,
5072
5072
  dp__inc_dec_button: !u.timePickerInline,
5073
5073
  dp__inc_dec_button_inline: u.timePickerInline,
@@ -5090,15 +5090,15 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
5090
5090
  ], 64))
5091
5091
  ], 64)) : (T(), z(De, { key: 0 }, [
5092
5092
  u.$slots["arrow-up"] ? ie(u.$slots, "arrow-up", { key: 0 }) : G("", !0),
5093
- u.$slots["arrow-up"] ? G("", !0) : (T(), Oe(i(xn), { key: 1 }))
5093
+ u.$slots["arrow-up"] ? G("", !0) : (T(), Oe(i(Mn), { key: 1 }))
5094
5094
  ], 64))
5095
5095
  ], 42, Cu),
5096
5096
  he("button", {
5097
5097
  ref_for: !0,
5098
- ref: (g) => Q(g, xe, 1),
5098
+ ref: (g) => Q(g, Me, 1),
5099
5099
  type: "button",
5100
5100
  "aria-label": `${J.value(ne.type).text}-${(Ce = i(v)) == null ? void 0 : Ce.openTpOverlay(ne.type)}`,
5101
- class: Me({
5101
+ class: xe({
5102
5102
  dp__time_display: !0,
5103
5103
  dp__time_display_block: !u.timePickerInline,
5104
5104
  dp__time_display_inline: u.timePickerInline,
@@ -5123,9 +5123,9 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
5123
5123
  ], 42, Ru),
5124
5124
  he("button", {
5125
5125
  ref_for: !0,
5126
- ref: (g) => Q(g, xe, 2),
5126
+ ref: (g) => Q(g, Me, 2),
5127
5127
  type: "button",
5128
- class: Me({
5128
+ class: xe({
5129
5129
  dp__btn: !0,
5130
5130
  dp__inc_dec_button: !u.timePickerInline,
5131
5131
  dp__inc_dec_button_inline: u.timePickerInline,
@@ -5169,20 +5169,20 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
5169
5169
  role: "button",
5170
5170
  "aria-label": (ae = i(v)) == null ? void 0 : ae.amPmButton,
5171
5171
  tabindex: "0",
5172
- "data-compact": M.value,
5172
+ "data-compact": x.value,
5173
5173
  onClick: A,
5174
5174
  onKeydown: Z[0] || (Z[0] = (ne) => i(it)(ne, () => A(), !0))
5175
5175
  }, Xe(P.value), 41, Iu))
5176
5176
  ])),
5177
- (T(!0), z(De, null, Be(V.value, (ne, xe) => (T(), Oe(ca, {
5178
- key: xe,
5177
+ (T(!0), z(De, null, Be(V.value, (ne, Me) => (T(), Oe(ca, {
5178
+ key: Me,
5179
5179
  name: i(b)(R[ne.type]),
5180
5180
  css: i(O)
5181
5181
  }, {
5182
5182
  default: ge(() => {
5183
5183
  var _e, Ce;
5184
5184
  return [
5185
- R[ne.type] ? (T(), Oe(xa, {
5185
+ R[ne.type] ? (T(), Oe(Ma, {
5186
5186
  key: 0,
5187
5187
  items: $(ne.type),
5188
5188
  "is-last": u.autoApply && !i(m).keepActionRow,
@@ -5199,7 +5199,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
5199
5199
  }, st({
5200
5200
  "button-icon": ge(() => [
5201
5201
  u.$slots["clock-icon"] ? ie(u.$slots, "clock-icon", { key: 0 }) : G("", !0),
5202
- u.$slots["clock-icon"] ? G("", !0) : (T(), Oe(Ia(u.timePickerInline ? i(va) : i(Mn)), { key: 1 }))
5202
+ u.$slots["clock-icon"] ? G("", !0) : (T(), Oe(Ia(u.timePickerInline ? i(va) : i(xn)), { key: 1 }))
5203
5203
  ]),
5204
5204
  _: 2
5205
5205
  }, [
@@ -5244,7 +5244,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
5244
5244
  type: Function,
5245
5245
  default: () => !1
5246
5246
  },
5247
- ...Mt
5247
+ ...xt
5248
5248
  },
5249
5249
  emits: [
5250
5250
  "update:hours",
@@ -5257,7 +5257,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
5257
5257
  "am-pm-change"
5258
5258
  ],
5259
5259
  setup(e, { expose: t, emit: n }) {
5260
- const a = n, r = e, { buildMatrix: o, setTimePicker: s } = Wt(), v = Xt(), { defaultedTransitions: d, defaultedAriaLabels: x, defaultedTextInput: m, defaultedConfig: c, defaultedRange: f } = Le(r), { transitionName: b, showTransition: O } = Pa(d), { hideNavigationButtons: R } = Fa(), P = K(null), _ = K(null), S = K([]), C = K(null), F = K(!1);
5260
+ const a = n, r = e, { buildMatrix: o, setTimePicker: s } = Wt(), v = Xt(), { defaultedTransitions: d, defaultedAriaLabels: M, defaultedTextInput: m, defaultedConfig: c, defaultedRange: f } = Le(r), { transitionName: b, showTransition: O } = Pa(d), { hideNavigationButtons: R } = Fa(), P = K(null), _ = K(null), S = K([]), C = K(null), F = K(!1);
5261
5261
  rt(() => {
5262
5262
  a("mount"), !r.timePicker && r.arrowNavigation ? o([Ge(P.value)], "time") : s(!0, r.timePicker);
5263
5263
  });
@@ -5285,7 +5285,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
5285
5285
  a("update:hours", E);
5286
5286
  }, h = (E) => {
5287
5287
  a("update:minutes", E);
5288
- }, M = (E) => {
5288
+ }, x = (E) => {
5289
5289
  a("update:seconds", E);
5290
5290
  }, y = () => {
5291
5291
  if (C.value && !m.value.enabled && !r.noOverlayFocus) {
@@ -5308,15 +5308,15 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
5308
5308
  ref_key: "openTimePickerBtn",
5309
5309
  ref: P,
5310
5310
  type: "button",
5311
- class: Me({ ...I.value, "dp--hidden-el": Y.value }),
5312
- "aria-label": ($ = i(x)) == null ? void 0 : $.openTimePicker,
5311
+ class: xe({ ...I.value, "dp--hidden-el": Y.value }),
5312
+ "aria-label": ($ = i(M)) == null ? void 0 : $.openTimePicker,
5313
5313
  tabindex: E.noOverlayFocus ? void 0 : 0,
5314
5314
  "data-test-id": "open-time-picker-btn",
5315
5315
  onKeydown: ee[0] || (ee[0] = (de) => i(it)(de, () => H(!0))),
5316
5316
  onClick: ee[1] || (ee[1] = (de) => H(!0))
5317
5317
  }, [
5318
5318
  E.$slots["clock-icon"] ? ie(E.$slots, "clock-icon", { key: 0 }) : G("", !0),
5319
- E.$slots["clock-icon"] ? G("", !0) : (T(), Oe(i(Mn), { key: 1 }))
5319
+ E.$slots["clock-icon"] ? G("", !0) : (T(), Oe(i(xn), { key: 1 }))
5320
5320
  ], 42, Lu)), [
5321
5321
  [Ca, !i(R)(E.hideNavigation, "time")]
5322
5322
  ]) : G("", !0),
@@ -5332,17 +5332,17 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
5332
5332
  ref_key: "overlayRef",
5333
5333
  ref: C,
5334
5334
  role: E.timePickerInline ? void 0 : "dialog",
5335
- class: Me({
5335
+ class: xe({
5336
5336
  dp__overlay: !E.timePickerInline,
5337
5337
  "dp--overlay-absolute": !r.timePicker && !E.timePickerInline,
5338
5338
  "dp--overlay-relative": r.timePicker
5339
5339
  }),
5340
5340
  style: yt(E.timePicker ? { height: `${i(c).modeHeight}px` } : void 0),
5341
- "aria-label": (de = i(x)) == null ? void 0 : de.timePicker,
5341
+ "aria-label": (de = i(M)) == null ? void 0 : de.timePicker,
5342
5342
  tabindex: E.timePickerInline ? void 0 : 0
5343
5343
  }, [
5344
5344
  he("div", {
5345
- class: Me(
5345
+ class: xe(
5346
5346
  E.timePickerInline ? "dp__time_picker_inline_container" : "dp__overlay_container dp__container_flex dp__time_picker_overlay_container"
5347
5347
  ),
5348
5348
  style: { display: "flex" }
@@ -5354,11 +5354,11 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
5354
5354
  seconds: e.seconds,
5355
5355
  setHours: ye,
5356
5356
  setMinutes: h,
5357
- setSeconds: M
5357
+ setSeconds: x
5358
5358
  }) : G("", !0),
5359
5359
  E.$slots["time-picker-overlay"] ? G("", !0) : (T(), z("div", {
5360
5360
  key: 1,
5361
- class: Me(E.timePickerInline ? "dp__flex" : "dp__overlay_row dp__flex_row")
5361
+ class: xe(E.timePickerInline ? "dp__flex" : "dp__overlay_row dp__flex_row")
5362
5362
  }, [
5363
5363
  (T(!0), z(De, null, Be(re.value, (D, B) => Ya((T(), Oe(Eu, tt({
5364
5364
  key: B,
@@ -5379,7 +5379,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
5379
5379
  "validate-time": (W, l) => e.validateTime(W, ce(l, B, W)),
5380
5380
  "onUpdate:hours": (W) => ye(ce(W, B, "hours")),
5381
5381
  "onUpdate:minutes": (W) => h(ce(W, B, "minutes")),
5382
- "onUpdate:seconds": (W) => M(ce(W, B, "seconds")),
5382
+ "onUpdate:seconds": (W) => x(ce(W, B, "seconds")),
5383
5383
  onMounted: y,
5384
5384
  onOverlayClosed: V,
5385
5385
  onOverlayOpened: J,
@@ -5400,8 +5400,8 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
5400
5400
  ref_key: "closeTimePickerBtn",
5401
5401
  ref: _,
5402
5402
  type: "button",
5403
- class: Me({ ...I.value, "dp--hidden-el": F.value }),
5404
- "aria-label": (p = i(x)) == null ? void 0 : p.closeTimePicker,
5403
+ class: xe({ ...I.value, "dp--hidden-el": F.value }),
5404
+ "aria-label": (p = i(M)) == null ? void 0 : p.closeTimePicker,
5405
5405
  tabindex: "0",
5406
5406
  onKeydown: ee[3] || (ee[3] = (D) => i(it)(D, () => H(!1))),
5407
5407
  onClick: ee[4] || (ee[4] = (D) => H(!1))
@@ -5423,17 +5423,17 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
5423
5423
  }), Qr = (e, t, n, a) => {
5424
5424
  const { defaultedRange: r } = Le(e), o = (C, F) => Array.isArray(t[C]) ? t[C][F] : t[C], s = (C) => e.enableSeconds ? Array.isArray(t.seconds) ? t.seconds[C] : t.seconds : 0, v = (C, F) => C ? F !== void 0 ? Vt(C, o("hours", F), o("minutes", F), s(F)) : Vt(C, t.hours, t.minutes, s()) : Pr(q(), s(F)), d = (C, F) => {
5425
5425
  t[C] = F;
5426
- }, x = U(() => e.modelAuto && r.value.enabled ? Array.isArray(n.value) ? n.value.length > 1 : !1 : r.value.enabled), m = (C, F) => {
5426
+ }, M = U(() => e.modelAuto && r.value.enabled ? Array.isArray(n.value) ? n.value.length > 1 : !1 : r.value.enabled), m = (C, F) => {
5427
5427
  const j = Object.fromEntries(
5428
5428
  Object.keys(t).map((Y) => Y === C ? [Y, F] : [Y, t[Y]].slice())
5429
5429
  );
5430
- if (x.value && !r.value.disableTimeRangeValidation) {
5430
+ if (M.value && !r.value.disableTimeRangeValidation) {
5431
5431
  const Y = (re) => n.value ? Vt(
5432
5432
  n.value[re],
5433
5433
  j.hours[re],
5434
5434
  j.minutes[re],
5435
5435
  j.seconds[re]
5436
- ) : null, N = (re) => xr(n.value[re], 0);
5436
+ ) : null, N = (re) => Mr(n.value[re], 0);
5437
5437
  return !(Te(Y(0), Y(1)) && (Kt(Y(0), N(1)) || oa(Y(1), N(0))));
5438
5438
  }
5439
5439
  return !0;
@@ -5485,7 +5485,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
5485
5485
  }, Hu = (e, t) => {
5486
5486
  const n = () => {
5487
5487
  e.isTextInputDate && F();
5488
- }, { modelValue: a, time: r } = Ta(e, t, n), { defaultedStartTime: o, defaultedRange: s, defaultedTz: v } = Le(e), { updateTimeValues: d, getSetDateTime: x, setTime: m, assignStartTime: c, disabledTimesConfig: f, validateTime: b } = Qr(e, r, a, O);
5488
+ }, { modelValue: a, time: r } = Ta(e, t, n), { defaultedStartTime: o, defaultedRange: s, defaultedTz: v } = Le(e), { updateTimeValues: d, getSetDateTime: M, setTime: m, assignStartTime: c, disabledTimesConfig: f, validateTime: b } = Qr(e, r, a, O);
5489
5489
  function O() {
5490
5490
  t("update-flow-step");
5491
5491
  }
@@ -5506,11 +5506,11 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
5506
5506
  if (s.value.enabled) {
5507
5507
  const [Y, N] = P();
5508
5508
  a.value = [
5509
- vt(x(Y, 0), v.value.timezone),
5510
- vt(x(N, 1), v.value.timezone)
5509
+ vt(M(Y, 0), v.value.timezone),
5510
+ vt(M(N, 1), v.value.timezone)
5511
5511
  ];
5512
5512
  } else
5513
- a.value = vt(x(P()), v.value.timezone);
5513
+ a.value = vt(M(P()), v.value.timezone);
5514
5514
  }, S = (Y) => Array.isArray(Y) ? [Gt(q(Y[0])), Gt(q(Y[1]))] : [Gt(Y ?? q())], C = (Y, N, re) => {
5515
5515
  m("hours", Y), m("minutes", N), m("seconds", e.enableSeconds ? re : 0);
5516
5516
  }, F = () => {
@@ -5526,7 +5526,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
5526
5526
  return c(o.value), a.value ? F() : _();
5527
5527
  });
5528
5528
  const j = () => {
5529
- Array.isArray(a.value) ? a.value = a.value.map((Y, N) => Y && x(Y, N)) : a.value = x(a.value), t("time-update");
5529
+ Array.isArray(a.value) ? a.value = a.value.map((Y, N) => Y && M(Y, N)) : a.value = M(a.value), t("time-update");
5530
5530
  };
5531
5531
  return {
5532
5532
  modelValue: a,
@@ -5543,7 +5543,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
5543
5543
  },
5544
5544
  __name: "TimePickerSolo",
5545
5545
  props: {
5546
- ...Mt
5546
+ ...xt
5547
5547
  },
5548
5548
  emits: [
5549
5549
  "update:internal-model-value",
@@ -5555,11 +5555,11 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
5555
5555
  "overlay-toggle"
5556
5556
  ],
5557
5557
  setup(e, { expose: t, emit: n }) {
5558
- const a = n, r = e, o = Xt(), s = mt(o, "timePicker"), v = K(null), { time: d, modelValue: x, disabledTimesConfig: m, updateTime: c, validateTime: f } = Hu(r, a);
5558
+ const a = n, r = e, o = Xt(), s = mt(o, "timePicker"), v = K(null), { time: d, modelValue: M, disabledTimesConfig: m, updateTime: c, validateTime: f } = Hu(r, a);
5559
5559
  return rt(() => {
5560
5560
  r.shadow || a("mount", null);
5561
5561
  }), t({ getSidebarProps: () => ({
5562
- modelValue: x,
5562
+ modelValue: M,
5563
5563
  time: d,
5564
5564
  updateTime: c
5565
5565
  }), toggleTimePicker: (b, O = !1, R = "") => {
@@ -5614,7 +5614,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
5614
5614
  instance: { type: Number, default: 0 },
5615
5615
  years: { type: Array, default: () => [] },
5616
5616
  months: { type: Array, default: () => [] },
5617
- ...Mt
5617
+ ...xt
5618
5618
  },
5619
5619
  emits: ["update-month-year", "mount", "reset-flow", "overlay-closed", "overlay-opened"],
5620
5620
  setup(e, { expose: t, emit: n }) {
@@ -5623,7 +5623,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
5623
5623
  defaultedAriaLabels: s,
5624
5624
  defaultedMultiCalendars: v,
5625
5625
  defaultedFilters: d,
5626
- defaultedConfig: x,
5626
+ defaultedConfig: M,
5627
5627
  defaultedHighlight: m,
5628
5628
  propDates: c,
5629
5629
  defaultedUI: f
@@ -5651,7 +5651,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
5651
5651
  Ir(r.year, c.value.maxDate)
5652
5652
  ) || d.value.months.includes(p.value), W = Vr(m.value, p.value, r.year);
5653
5653
  return { active: D, disabled: B, highlighted: W };
5654
- })), M = U(() => ua(r.years, (p) => {
5654
+ })), x = U(() => ua(r.years, (p) => {
5655
5655
  const D = r.year === p.value, B = _a(
5656
5656
  p.value,
5657
5657
  ia(c.value.minDate),
@@ -5691,7 +5691,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
5691
5691
  updateModelValue: (oe) => se.value = oe,
5692
5692
  text: Cr(r.year, r.locale),
5693
5693
  showSelectionGrid: Y.value,
5694
- items: M.value,
5694
+ items: x.value,
5695
5695
  ariaLabel: (W = s.value) == null ? void 0 : W.openYearsOverlay,
5696
5696
  overlayLabel: ((k = (l = s.value).yearPicker) == null ? void 0 : k.call(l, !0)) ?? void 0
5697
5697
  }
@@ -5724,7 +5724,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
5724
5724
  key: 0,
5725
5725
  "aria-label": (B = i(s)) == null ? void 0 : B.prevMonth,
5726
5726
  disabled: i(_)(!1),
5727
- class: Me((W = i(f)) == null ? void 0 : W.navBtnPrev),
5727
+ class: xe((W = i(f)) == null ? void 0 : W.navBtnPrev),
5728
5728
  "el-name": "action-prev",
5729
5729
  onActivate: D[0] || (D[0] = (A) => i(P)(!1, !0)),
5730
5730
  onSetRef: D[1] || (D[1] = (A) => ee(A, 0))
@@ -5736,7 +5736,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
5736
5736
  _: 3
5737
5737
  }, 8, ["aria-label", "disabled", "class"])) : G("", !0),
5738
5738
  he("div", {
5739
- class: Me(["dp__month_year_wrap", {
5739
+ class: xe(["dp__month_year_wrap", {
5740
5740
  dp__year_disable_select: p.disableYearSelect
5741
5741
  }])
5742
5742
  }, [
@@ -5748,7 +5748,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
5748
5748
  ref: (Q) => ee(Q, be + 1),
5749
5749
  type: "button",
5750
5750
  "data-dp-element": `overlay-${A.type}`,
5751
- class: Me(["dp__btn dp__month_year_select", { "dp--hidden-el": N.value }]),
5751
+ class: xe(["dp__btn dp__month_year_select", { "dp--hidden-el": N.value }]),
5752
5752
  "aria-label": `${A.text}-${A.ariaLabel}`,
5753
5753
  "data-test-id": `${A.type}-toggle-overlay-${e.instance}`,
5754
5754
  onClick: A.toggle,
@@ -5768,12 +5768,12 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
5768
5768
  css: i(O)
5769
5769
  }, {
5770
5770
  default: ge(() => [
5771
- A.showSelectionGrid ? (T(), Oe(xa, {
5771
+ A.showSelectionGrid ? (T(), Oe(Ma, {
5772
5772
  key: 0,
5773
5773
  items: A.items,
5774
5774
  "arrow-navigation": p.arrowNavigation,
5775
5775
  "hide-navigation": p.hideNavigation,
5776
- "is-last": p.autoApply && !i(x).keepActionRow,
5776
+ "is-last": p.autoApply && !i(M).keepActionRow,
5777
5777
  "skip-button-ref": !1,
5778
5778
  config: p.config,
5779
5779
  type: A.type,
@@ -5829,12 +5829,12 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
5829
5829
  "aria-label": (l = i(s)) == null ? void 0 : l.prevMonth,
5830
5830
  "el-name": "action-prev",
5831
5831
  disabled: i(_)(!1),
5832
- class: Me((k = i(f)) == null ? void 0 : k.navBtnPrev),
5832
+ class: xe((k = i(f)) == null ? void 0 : k.navBtnPrev),
5833
5833
  onActivate: D[2] || (D[2] = (A) => i(P)(!1, !0))
5834
5834
  }, {
5835
5835
  default: ge(() => [
5836
5836
  p.$slots["arrow-up"] ? ie(p.$slots, "arrow-up", { key: 0 }) : G("", !0),
5837
- p.$slots["arrow-up"] ? G("", !0) : (T(), Oe(i(xn), { key: 1 }))
5837
+ p.$slots["arrow-up"] ? G("", !0) : (T(), Oe(i(Mn), { key: 1 }))
5838
5838
  ]),
5839
5839
  _: 3
5840
5840
  }, 8, ["aria-label", "disabled", "class"])) : G("", !0),
@@ -5844,7 +5844,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
5844
5844
  "el-name": "action-next",
5845
5845
  disabled: i(_)(!0),
5846
5846
  "aria-label": (oe = i(s)) == null ? void 0 : oe.nextMonth,
5847
- class: Me((Ye = i(f)) == null ? void 0 : Ye.navBtnNext),
5847
+ class: xe((Ye = i(f)) == null ? void 0 : Ye.navBtnNext),
5848
5848
  onActivate: D[3] || (D[3] = (A) => i(P)(!0, !0)),
5849
5849
  onSetRef: D[4] || (D[4] = (A) => ee(A, p.disableYearSelect ? 2 : 3))
5850
5850
  }, {
@@ -5880,7 +5880,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
5880
5880
  instance: { type: Number, default: 0 },
5881
5881
  month: { type: Number, default: 0 },
5882
5882
  year: { type: Number, default: 0 },
5883
- ...Mt
5883
+ ...xt
5884
5884
  },
5885
5885
  emits: [
5886
5886
  "select-date",
@@ -5897,7 +5897,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
5897
5897
  defaultedTransitions: s,
5898
5898
  defaultedConfig: v,
5899
5899
  defaultedAriaLabels: d,
5900
- defaultedMultiCalendars: x,
5900
+ defaultedMultiCalendars: M,
5901
5901
  defaultedWeekNumbers: m,
5902
5902
  defaultedMultiDates: c,
5903
5903
  defaultedUI: f
@@ -5930,8 +5930,8 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
5930
5930
  };
5931
5931
  }), ye = U(() => (A) => Te(A, b.value)), h = U(() => ({
5932
5932
  dp__calendar: !0,
5933
- dp__calendar_next: x.value.count > 0 && r.instance !== 0
5934
- })), M = U(() => (A) => r.hideOffsetDates ? A.current : !0), y = async (A, be) => {
5933
+ dp__calendar_next: M.value.count > 0 && r.instance !== 0
5934
+ })), x = U(() => (A) => r.hideOffsetDates ? A.current : !0), y = async (A, be) => {
5935
5935
  const { width: Q, height: te } = A.getBoundingClientRect();
5936
5936
  b.value = be.value;
5937
5937
  let u = { left: `${Q / 2}px` }, Z = -50;
@@ -5982,12 +5982,12 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
5982
5982
  c.value.enabled && c.value.dragSelect ? (Y.value = !0, a("select-date", A)) : c.value.enabled && a("select-date", A);
5983
5983
  };
5984
5984
  return t({ triggerTransition: I }), (A, be) => (T(), z("div", {
5985
- class: Me(h.value)
5985
+ class: xe(h.value)
5986
5986
  }, [
5987
5987
  he("div", {
5988
5988
  ref_key: "calendarWrapRef",
5989
5989
  ref: P,
5990
- class: Me(se.value),
5990
+ class: xe(se.value),
5991
5991
  role: "grid"
5992
5992
  }, [
5993
5993
  he("div", Ku, [
@@ -6033,7 +6033,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
6033
6033
  he("div", ei, Xe(l(Q.days)), 1)
6034
6034
  ])) : G("", !0),
6035
6035
  (T(!0), z(De, null, Be(Q.days, (u, Z) => {
6036
- var ae, ne, xe;
6036
+ var ae, ne, Me;
6037
6037
  return T(), z("div", {
6038
6038
  id: i(pn)(u.value),
6039
6039
  ref_for: !0,
@@ -6055,9 +6055,9 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
6055
6055
  onMouseup: be[0] || (be[0] = (_e) => Y.value = !1)
6056
6056
  }, [
6057
6057
  he("div", {
6058
- class: Me(["dp__cell_inner", u.classData])
6058
+ class: xe(["dp__cell_inner", u.classData])
6059
6059
  }, [
6060
- A.$slots.day && M.value(u) ? ie(A.$slots, "day", {
6060
+ A.$slots.day && x.value(u) ? ie(A.$slots, "day", {
6061
6061
  key: 0,
6062
6062
  day: +u.text,
6063
6063
  date: u.value
@@ -6065,7 +6065,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
6065
6065
  A.$slots.day ? G("", !0) : (T(), z(De, { key: 1 }, [
6066
6066
  kt(Xe(u.text), 1)
6067
6067
  ], 64)),
6068
- u.marker && M.value(u) ? (T(), z(De, { key: 2 }, [
6068
+ u.marker && x.value(u) ? (T(), z(De, { key: 2 }, [
6069
6069
  A.$slots.marker ? ie(A.$slots, "marker", {
6070
6070
  key: 0,
6071
6071
  marker: u.marker,
@@ -6073,7 +6073,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
6073
6073
  date: u.value
6074
6074
  }) : (T(), z("div", {
6075
6075
  key: 1,
6076
- class: Me(ce.value(u.marker)),
6076
+ class: xe(ce.value(u.marker)),
6077
6077
  style: yt(u.marker.color ? { backgroundColor: u.marker.color } : {})
6078
6078
  }, null, 6))
6079
6079
  ], 64)) : G("", !0),
@@ -6085,7 +6085,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
6085
6085
  class: "dp__marker_tooltip",
6086
6086
  style: yt(O.value)
6087
6087
  }, [
6088
- (xe = u.marker) != null && xe.tooltip ? (T(), z("div", {
6088
+ (Me = u.marker) != null && Me.tooltip ? (T(), z("div", {
6089
6089
  key: 0,
6090
6090
  class: "dp__tooltip_content",
6091
6091
  onClick: oe
@@ -6125,7 +6125,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
6125
6125
  ], 2));
6126
6126
  }
6127
6127
  }), ar = (e) => Array.isArray(e), ni = (e, t, n, a) => {
6128
- const r = K([]), o = K(/* @__PURE__ */ new Date()), s = K(), v = () => $(e.isTextInputDate), { modelValue: d, calendars: x, time: m, today: c } = Ta(e, t, v), {
6128
+ const r = K([]), o = K(/* @__PURE__ */ new Date()), s = K(), v = () => $(e.isTextInputDate), { modelValue: d, calendars: M, time: m, today: c } = Ta(e, t, v), {
6129
6129
  defaultedMultiCalendars: f,
6130
6130
  defaultedStartTime: b,
6131
6131
  defaultedRange: O,
@@ -6134,12 +6134,12 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
6134
6134
  propDates: _,
6135
6135
  defaultedMultiDates: S
6136
6136
  } = Le(e), { validateMonthYearInRange: C, isDisabled: F, isDateRangeAllowed: j, checkMinMaxRange: Y } = zt(e), { updateTimeValues: N, getSetDateTime: re, setTime: H, assignStartTime: I, validateTime: se, disabledTimesConfig: ce } = Qr(e, m, d, a), ye = U(
6137
- () => (w) => x.value[w] ? x.value[w].month : 0
6137
+ () => (w) => M.value[w] ? M.value[w].month : 0
6138
6138
  ), h = U(
6139
- () => (w) => x.value[w] ? x.value[w].year : 0
6140
- ), M = (w) => !R.value.keepViewOnOffsetClick || w ? !0 : !s.value, y = (w, X, fe, ke = !1) => {
6139
+ () => (w) => M.value[w] ? M.value[w].year : 0
6140
+ ), x = (w) => !R.value.keepViewOnOffsetClick || w ? !0 : !s.value, y = (w, X, fe, ke = !1) => {
6141
6141
  var L, ue;
6142
- M(ke) && (x.value[w] || (x.value[w] = { month: 0, year: 0 }), x.value[w].month = Kn(X) ? (L = x.value[w]) == null ? void 0 : L.month : X, x.value[w].year = Kn(fe) ? (ue = x.value[w]) == null ? void 0 : ue.year : fe);
6142
+ x(ke) && (M.value[w] || (M.value[w] = { month: 0, year: 0 }), M.value[w].month = Kn(X) ? (L = M.value[w]) == null ? void 0 : L.month : X, M.value[w].year = Kn(fe) ? (ue = M.value[w]) == null ? void 0 : ue.year : fe);
6143
6143
  }, V = () => {
6144
6144
  e.autoApply && t("select-date");
6145
6145
  }, J = () => {
@@ -6162,7 +6162,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
6162
6162
  if ((!f.value.count || !f.value.static || X) && y(0, Pe(w), we(w)), f.value.count && (!d.value || de() || !f.value.solo) && (!f.value.solo || X))
6163
6163
  for (let fe = 1; fe < f.value.count; fe++) {
6164
6164
  const ke = Ne(q(), { month: ye.value(fe - 1), year: h.value(fe - 1) }), L = sr(ke, { months: 1 });
6165
- x.value[fe] = { month: Pe(L), year: we(L) };
6165
+ M.value[fe] = { month: Pe(L), year: we(L) };
6166
6166
  }
6167
6167
  }, D = (w, X) => {
6168
6168
  p(w), H("hours", Nt(w)), H("minutes", Ht(w)), H("seconds", la(w)), f.value.count && X && A();
@@ -6242,15 +6242,15 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
6242
6242
  const L = 6 - w.length, ue = (X.getDay() + 7 - ke) % 7, me = 6 - (fe.getDay() + 7 - ke) % 7, [Ct, Tt] = ae(ue, me);
6243
6243
  for (let qt = 1; qt <= L; qt++)
6244
6244
  if (Tt ? !!(qt % 2) == Ct : Ct) {
6245
- const It = w[0].days[0], ja = xe(ht(It.value, -7), Pe(X));
6245
+ const It = w[0].days[0], ja = Me(ht(It.value, -7), Pe(X));
6246
6246
  w.unshift({ days: ja });
6247
6247
  } else {
6248
- const It = w[w.length - 1], ja = It.days[It.days.length - 1], Xr = xe(ht(ja.value, 1), Pe(X));
6248
+ const It = w[w.length - 1], ja = It.days[It.days.length - 1], Xr = Me(ht(ja.value, 1), Pe(X));
6249
6249
  w.push({ days: Xr });
6250
6250
  }
6251
6251
  }
6252
6252
  return w;
6253
- }, xe = (w, X) => {
6253
+ }, Me = (w, X) => {
6254
6254
  const fe = q(w), ke = [];
6255
6255
  for (let L = 0; L < 7; L++) {
6256
6256
  const ue = ht(fe, L), me = Pe(ue) !== X;
@@ -6264,7 +6264,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
6264
6264
  return ke;
6265
6265
  }, _e = (w, X) => {
6266
6266
  const fe = [], ke = new Date(X, w), L = new Date(X, w + 1, 0), ue = e.weekStart, me = Dt(ke, { weekStartsOn: ue }), Ct = (Tt) => {
6267
- const qt = xe(Tt, w);
6267
+ const qt = Me(Tt, w);
6268
6268
  if (fe.push({ days: qt }), !fe[fe.length - 1].days.some(
6269
6269
  (It) => Te(at(It.value), at(L))
6270
6270
  )) {
@@ -6299,7 +6299,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
6299
6299
  if (ze(w.value) || !Y(w.value, d.value, O.value.fixedStart ? 0 : 1))
6300
6300
  return t("invalid-date", w.value);
6301
6301
  r.value = qr(q(w.value), d, t, O);
6302
- }, xt = (w, X) => {
6302
+ }, Mt = (w, X) => {
6303
6303
  if (g(), O.value.autoRange) return le(w, X);
6304
6304
  if (O.value.fixedStart || O.value.fixedEnd) return Ke(w);
6305
6305
  r.value[0] ? Y(q(w.value), d.value) && !ze(w.value) ? He(q(w.value), q(r.value[0])) ? (r.value.unshift(q(w.value)), t("range-end", r.value[0])) : (r.value[1] = q(w.value), t("range-end", r.value[1])) : (e.autoApply && t("auto-apply-invalid", w.value), t("invalid-date", w.value)) : (r.value[0] = q(w.value), t("range-start", r.value[0]));
@@ -6318,7 +6318,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
6318
6318
  }, Oa = (w, X = !1) => {
6319
6319
  if (F(w.value) || !w.current && e.hideOffsetDates) return t("invalid-date", w.value);
6320
6320
  if (s.value = JSON.parse(JSON.stringify(w)), !O.value.enabled) return Ce(w);
6321
- ar(m.hours) && ar(m.minutes) && !S.value.enabled && (xt(w, X), Va());
6321
+ ar(m.hours) && ar(m.minutes) && !S.value.enabled && (Mt(w, X), Va());
6322
6322
  }, Ha = (w, X) => {
6323
6323
  var fe;
6324
6324
  y(w, X.month, X.year, !0), f.value.count && !f.value.solo && Ye(w), t("update-month-year", { instance: w, month: X.month, year: X.year }), n(f.value.solo ? w : void 0);
@@ -6346,7 +6346,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
6346
6346
  t("time-update");
6347
6347
  }, Ua = () => Array.isArray(d.value) && d.value.length ? d.value[d.value.length - 1] : null;
6348
6348
  return {
6349
- calendars: x,
6349
+ calendars: M,
6350
6350
  modelValue: d,
6351
6351
  month: ye,
6352
6352
  year: h,
@@ -6372,7 +6372,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
6372
6372
  }, ri = { key: 0 }, li = /* @__PURE__ */ nt({
6373
6373
  __name: "DatePicker",
6374
6374
  props: {
6375
- ...Mt
6375
+ ...xt
6376
6376
  },
6377
6377
  emits: [
6378
6378
  "tooltip-open",
@@ -6404,7 +6404,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
6404
6404
  month: s,
6405
6405
  year: v,
6406
6406
  modelValue: d,
6407
- time: x,
6407
+ time: M,
6408
6408
  disabledTimesConfig: m,
6409
6409
  today: c,
6410
6410
  validateTime: f,
@@ -6420,7 +6420,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
6420
6420
  updateTime: Y,
6421
6421
  assignMonthAndYear: N,
6422
6422
  setStartTime: re
6423
- } = ni(r, a, de, p), H = Xt(), { setHoverDate: I, getDayClassData: se, clearHoverDate: ce } = ki(d, r), { defaultedMultiCalendars: ye } = Le(r), h = K([]), M = K([]), y = K(null), V = mt(H, "calendar"), J = mt(H, "monthYear"), E = mt(H, "timePicker"), ee = (Q) => {
6423
+ } = ni(r, a, de, p), H = Xt(), { setHoverDate: I, getDayClassData: se, clearHoverDate: ce } = ki(d, r), { defaultedMultiCalendars: ye } = Le(r), h = K([]), x = K([]), y = K(null), V = mt(H, "calendar"), J = mt(H, "monthYear"), E = mt(H, "timePicker"), ee = (Q) => {
6424
6424
  r.shadow || a("mount", Q);
6425
6425
  };
6426
6426
  ct(
@@ -6444,7 +6444,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
6444
6444
  })));
6445
6445
  function de(Q) {
6446
6446
  var te;
6447
- Q || Q === 0 ? (te = M.value[Q]) == null || te.triggerTransition(s.value(Q), v.value(Q)) : M.value.forEach((u, Z) => u.triggerTransition(s.value(Z), v.value(Z)));
6447
+ Q || Q === 0 ? (te = x.value[Q]) == null || te.triggerTransition(s.value(Q), v.value(Q)) : x.value.forEach((u, Z) => u.triggerTransition(s.value(Z), v.value(Z)));
6448
6448
  }
6449
6449
  function p() {
6450
6450
  a("update-flow-step");
@@ -6494,7 +6494,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
6494
6494
  modelValue: d,
6495
6495
  month: s,
6496
6496
  year: v,
6497
- time: x,
6497
+ time: M,
6498
6498
  updateTime: Y,
6499
6499
  updateMonthYear: C,
6500
6500
  selectDate: S,
@@ -6530,14 +6530,14 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
6530
6530
  }), st({ _: 2 }, [
6531
6531
  Be(i(J), (ae, ne) => ({
6532
6532
  name: ae,
6533
- fn: ge((xe) => [
6534
- ie(Q.$slots, ae, et(dt(xe)))
6533
+ fn: ge((Me) => [
6534
+ ie(Q.$slots, ae, et(dt(Me)))
6535
6535
  ])
6536
6536
  }))
6537
6537
  ]), 1040, ["months", "years", "month", "year", "instance", "onUpdateMonthYear"])),
6538
6538
  Fe(ai, tt({
6539
6539
  ref: (ae) => {
6540
- ae && (M.value[Z] = ae);
6540
+ ae && (x.value[Z] = ae);
6541
6541
  },
6542
6542
  "mapped-dates": $.value(u),
6543
6543
  month: i(s)(u),
@@ -6556,8 +6556,8 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
6556
6556
  }), st({ _: 2 }, [
6557
6557
  Be(i(V), (ae, ne) => ({
6558
6558
  name: ae,
6559
- fn: ge((xe) => [
6560
- ie(Q.$slots, ae, et(dt({ ...xe })))
6559
+ fn: ge((Me) => [
6560
+ ie(Q.$slots, ae, et(dt({ ...Me })))
6561
6561
  ])
6562
6562
  }))
6563
6563
  ]), 1040, ["mapped-dates", "month", "year", "instance", "onSelectDate", "onHandleSpace", "onHandleScroll", "onHandleSwipe"])
@@ -6565,14 +6565,14 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
6565
6565
  _: 3
6566
6566
  }, 8, ["multi-calendars", "collapse", "is-mobile"]),
6567
6567
  Q.enableTimePicker ? (T(), z("div", ri, [
6568
- Q.$slots["time-picker"] ? ie(Q.$slots, "time-picker", et(tt({ key: 0 }, { time: i(x), updateTime: i(Y) }))) : (T(), Oe(jr, tt({
6568
+ Q.$slots["time-picker"] ? ie(Q.$slots, "time-picker", et(tt({ key: 0 }, { time: i(M), updateTime: i(Y) }))) : (T(), Oe(jr, tt({
6569
6569
  key: 1,
6570
6570
  ref_key: "timePickerRef",
6571
6571
  ref: y
6572
6572
  }, Q.$props, {
6573
- hours: i(x).hours,
6574
- minutes: i(x).minutes,
6575
- seconds: i(x).seconds,
6573
+ hours: i(M).hours,
6574
+ minutes: i(M).minutes,
6575
+ seconds: i(M).seconds,
6576
6576
  "internal-model-value": Q.internalModelValue,
6577
6577
  "disabled-times-config": i(m),
6578
6578
  "validate-time": i(f),
@@ -6603,7 +6603,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
6603
6603
  defaultedRange: s,
6604
6604
  propDates: v,
6605
6605
  defaultedFilters: d,
6606
- defaultedMultiDates: x
6606
+ defaultedMultiDates: M
6607
6607
  } = Le(e), { modelValue: m, year: c, month: f, calendars: b } = Ta(e, t), { isDisabled: O } = zt(e), { selectYear: R, groupedYears: P, showYearPicker: _, isDisabled: S, toggleYearPicker: C, handleYearSelect: F, handleYear: j } = Ur({
6608
6608
  modelValue: m,
6609
6609
  multiCalendars: a,
@@ -6616,17 +6616,17 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
6616
6616
  filters: d,
6617
6617
  props: e,
6618
6618
  emit: t
6619
- }), Y = (M, y) => [M, y].map((V) => Yt(V, "MMMM", { locale: e.formatLocale })).join("-"), N = U(() => (M) => m.value ? Array.isArray(m.value) ? m.value.some((y) => jn(M, y)) : jn(m.value, M) : !1), re = (M) => {
6619
+ }), Y = (x, y) => [x, y].map((V) => Yt(V, "MMMM", { locale: e.formatLocale })).join("-"), N = U(() => (x) => m.value ? Array.isArray(m.value) ? m.value.some((y) => jn(x, y)) : jn(m.value, x) : !1), re = (x) => {
6620
6620
  if (s.value.enabled) {
6621
6621
  if (Array.isArray(m.value)) {
6622
- const y = Te(M, m.value[0]) || Te(M, m.value[1]);
6623
- return ka(m.value, n.value, M) && !y;
6622
+ const y = Te(x, m.value[0]) || Te(x, m.value[1]);
6623
+ return ka(m.value, n.value, x) && !y;
6624
6624
  }
6625
6625
  return !1;
6626
6626
  }
6627
6627
  return !1;
6628
- }, H = (M, y) => M.quarter === Vn(y) && M.year === we(y), I = (M) => typeof o.value == "function" ? o.value({ quarter: Vn(M), year: we(M) }) : !!o.value.quarters.find((y) => H(y, M)), se = U(() => (M) => {
6629
- const y = Ne(/* @__PURE__ */ new Date(), { year: c.value(M) });
6628
+ }, H = (x, y) => x.quarter === Vn(y) && x.year === we(y), I = (x) => typeof o.value == "function" ? o.value({ quarter: Vn(x), year: we(x) }) : !!o.value.quarters.find((y) => H(y, x)), se = U(() => (x) => {
6629
+ const y = Ne(/* @__PURE__ */ new Date(), { year: c.value(x) });
6630
6630
  return Sl({
6631
6631
  start: ba(y),
6632
6632
  end: mr(y)
@@ -6641,12 +6641,12 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
6641
6641
  isBetween: $
6642
6642
  };
6643
6643
  });
6644
- }), ce = (M) => {
6645
- Cn(M, m, x.value.limit), t("auto-apply", !0);
6646
- }, ye = (M) => {
6647
- m.value = Rn(m, M, t), La(m.value, t, e.autoApply, e.modelAuto);
6648
- }, h = (M) => {
6649
- m.value = M, t("auto-apply");
6644
+ }), ce = (x) => {
6645
+ Cn(x, m, M.value.limit), t("auto-apply", !0);
6646
+ }, ye = (x) => {
6647
+ m.value = Rn(m, x, t), La(m.value, t, e.autoApply, e.modelAuto);
6648
+ }, h = (x) => {
6649
+ m.value = x, t("auto-apply");
6650
6650
  };
6651
6651
  return {
6652
6652
  defaultedConfig: r,
@@ -6657,13 +6657,13 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
6657
6657
  quarters: se,
6658
6658
  showYearPicker: _,
6659
6659
  modelValue: m,
6660
- setHoverDate: (M) => {
6661
- n.value = M;
6660
+ setHoverDate: (x) => {
6661
+ n.value = x;
6662
6662
  },
6663
6663
  selectYear: R,
6664
- selectQuarter: (M, y, V) => {
6664
+ selectQuarter: (x, y, V) => {
6665
6665
  if (!V)
6666
- return b.value[y].month = Pe(Hn(M)), x.value.enabled ? ce(M) : s.value.enabled ? ye(M) : h(M);
6666
+ return b.value[y].month = Pe(Hn(x)), M.value.enabled ? ce(x) : s.value.enabled ? ye(x) : h(x);
6667
6667
  },
6668
6668
  toggleYearPicker: C,
6669
6669
  handleYearSelect: F,
@@ -6675,7 +6675,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
6675
6675
  },
6676
6676
  __name: "QuarterPicker",
6677
6677
  props: {
6678
- ...Mt
6678
+ ...xt
6679
6679
  },
6680
6680
  emits: [
6681
6681
  "update:internal-model-value",
@@ -6691,7 +6691,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
6691
6691
  const a = n, r = e, o = Xt(), s = mt(o, "yearMode"), {
6692
6692
  defaultedMultiCalendars: v,
6693
6693
  defaultedConfig: d,
6694
- groupedYears: x,
6694
+ groupedYears: M,
6695
6695
  year: m,
6696
6696
  isDisabled: c,
6697
6697
  quarters: f,
@@ -6726,7 +6726,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
6726
6726
  }) : G("", !0),
6727
6727
  he("div", null, [
6728
6728
  Fe(Wr, tt(F.$props, {
6729
- items: i(x)(Y),
6729
+ items: i(M)(Y),
6730
6730
  instance: Y,
6731
6731
  "show-year-picker": i(O)[Y],
6732
6732
  year: i(m)(Y),
@@ -6747,7 +6747,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
6747
6747
  (T(!0), z(De, null, Be(i(f)(Y), (N, re) => (T(), z("div", { key: re }, [
6748
6748
  he("button", {
6749
6749
  type: "button",
6750
- class: Me(["dp--qr-btn", {
6750
+ class: xe(["dp--qr-btn", {
6751
6751
  "dp--qr-btn-active": N.active,
6752
6752
  "dp--qr-btn-between": N.isBetween,
6753
6753
  "dp--qr-btn-disabled": N.disabled,
@@ -6851,7 +6851,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
6851
6851
  flowStep: ye.value,
6852
6852
  menuWrapRef: o.value
6853
6853
  };
6854
- }), { setMenuFocused: v, setShiftKey: d, control: x } = Hr(), m = Xt(), { defaultedTextInput: c, defaultedInline: f, defaultedConfig: b, defaultedUI: O, handleEventPropagation: R } = Le(r), { isMobile: P } = Gr(b, r.shadow), _ = K(null), S = K(0), C = K(null), F = K(!1), j = K(null), Y = K(!1), N = (g) => {
6854
+ }), { setMenuFocused: v, setShiftKey: d, control: M } = Hr(), m = Xt(), { defaultedTextInput: c, defaultedInline: f, defaultedConfig: b, defaultedUI: O, handleEventPropagation: R } = Le(r), { isMobile: P } = Gr(b, r.shadow), _ = K(null), S = K(0), C = K(null), F = K(!1), j = K(null), Y = K(!1), N = (g) => {
6855
6855
  Y.value = !0, b.value.allowPreventDefault && g.preventDefault(), Ft(g, b.value, !0);
6856
6856
  };
6857
6857
  rt(() => {
@@ -6869,7 +6869,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
6869
6869
  const re = () => {
6870
6870
  const g = Ge(C);
6871
6871
  g && (S.value = g.getBoundingClientRect().width);
6872
- }, { arrowRight: H, arrowLeft: I, arrowDown: se, arrowUp: ce } = Wt(), { flowStep: ye, updateFlowStep: h, childMount: M, resetFlow: y, handleFlow: V } = Di(r, a, j), J = U(() => r.monthPicker ? Tu : r.yearPicker ? $u : r.timePicker ? Wu : r.quarterPicker ? ii : li), E = U(() => {
6872
+ }, { arrowRight: H, arrowLeft: I, arrowDown: se, arrowUp: ce } = Wt(), { flowStep: ye, updateFlowStep: h, childMount: x, resetFlow: y, handleFlow: V } = Di(r, a, j), J = U(() => r.monthPicker ? Tu : r.yearPicker ? $u : r.timePicker ? Wu : r.quarterPicker ? ii : li), E = U(() => {
6873
6873
  var g;
6874
6874
  if (b.value.arrowLeft) return b.value.arrowLeft;
6875
6875
  const le = (g = o.value) == null ? void 0 : g.getBoundingClientRect(), $e = r.getInputRect();
@@ -6905,15 +6905,15 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
6905
6905
  if (g === ut.right) return H();
6906
6906
  } else g === ut.left || g === ut.up ? u("handleArrow", ut.left, 0, g === ut.up) : u("handleArrow", ut.right, 0, g === ut.down);
6907
6907
  }, A = (g) => {
6908
- d(g.shiftKey), !r.disableMonthYearSelect && g.code === Ee.tab && g.target.classList.contains("dp__menu") && x.value.shiftKeyInMenu && (g.preventDefault(), Ft(g, b.value, !0), a("close-picker"));
6908
+ d(g.shiftKey), !r.disableMonthYearSelect && g.code === Ee.tab && g.target.classList.contains("dp__menu") && M.value.shiftKeyInMenu && (g.preventDefault(), Ft(g, b.value, !0), a("close-picker"));
6909
6909
  }, be = () => {
6910
6910
  ee(), a("time-picker-close");
6911
6911
  }, Q = (g) => {
6912
6912
  var le, $e, Ke;
6913
6913
  (le = j.value) == null || le.toggleTimePicker(!1, !1), ($e = j.value) == null || $e.toggleMonthPicker(!1, !1, g), (Ke = j.value) == null || Ke.toggleYearPicker(!1, !1, g);
6914
6914
  }, te = (g, le = 0) => {
6915
- var $e, Ke, xt;
6916
- return g === "month" ? ($e = j.value) == null ? void 0 : $e.toggleMonthPicker(!1, !0, le) : g === "year" ? (Ke = j.value) == null ? void 0 : Ke.toggleYearPicker(!1, !0, le) : g === "time" ? (xt = j.value) == null ? void 0 : xt.toggleTimePicker(!0, !1) : Q(le);
6915
+ var $e, Ke, Mt;
6916
+ return g === "month" ? ($e = j.value) == null ? void 0 : $e.toggleMonthPicker(!1, !0, le) : g === "year" ? (Ke = j.value) == null ? void 0 : Ke.toggleYearPicker(!1, !0, le) : g === "time" ? (Mt = j.value) == null ? void 0 : Mt.toggleTimePicker(!0, !1) : Q(le);
6917
6917
  }, u = (g, ...le) => {
6918
6918
  var $e, Ke;
6919
6919
  ($e = j.value) != null && $e[g] && ((Ke = j.value) == null || Ke[g](...le));
@@ -6923,7 +6923,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
6923
6923
  u("presetDate", ll(g), le);
6924
6924
  }, ne = () => {
6925
6925
  u("clearHoverDate");
6926
- }, xe = (g, le) => {
6926
+ }, Me = (g, le) => {
6927
6927
  u("updateMonthYear", g, le);
6928
6928
  }, _e = (g, le) => {
6929
6929
  g.preventDefault(), Ye(le);
@@ -6954,7 +6954,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
6954
6954
  f.value.enabled && !f.value.input && !((le = o.value) != null && le.contains(g.target)) && Y.value && (Y.value = !1, a("menu-blur"));
6955
6955
  };
6956
6956
  return t({
6957
- updateMonthYear: xe,
6957
+ updateMonthYear: Me,
6958
6958
  switchView: te,
6959
6959
  handleFlow: V,
6960
6960
  onValueCleared: () => {
@@ -6962,7 +6962,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
6962
6962
  (le = (g = j.value) == null ? void 0 : g.setStartTime) == null || le.call(g);
6963
6963
  }
6964
6964
  }), (g, le) => {
6965
- var $e, Ke, xt;
6965
+ var $e, Ke, Mt;
6966
6966
  return T(), z("div", {
6967
6967
  id: g.uid ? `dp-menu-${g.uid}` : void 0,
6968
6968
  ref_key: "dpMenuRef",
@@ -6970,7 +6970,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
6970
6970
  tabindex: i(f).enabled ? void 0 : "0",
6971
6971
  role: i(f).enabled ? void 0 : "dialog",
6972
6972
  "aria-label": ($e = g.ariaLabels) == null ? void 0 : $e.menu,
6973
- class: Me(l.value),
6973
+ class: xe(l.value),
6974
6974
  style: yt({ "--dp-arrow-left": E.value }),
6975
6975
  onMouseleave: ne,
6976
6976
  onClick: k,
@@ -6978,7 +6978,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
6978
6978
  }, [
6979
6979
  (g.disabled || g.readonly) && i(f).enabled || g.loading ? (T(), z("div", {
6980
6980
  key: 0,
6981
- class: Me(W.value)
6981
+ class: xe(W.value)
6982
6982
  }, [
6983
6983
  g.loading ? (T(), z("div", ci, le[19] || (le[19] = [
6984
6984
  he("span", { class: "dp--menu-loader" }, null, -1)
@@ -6989,14 +6989,14 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
6989
6989
  ])) : G("", !0),
6990
6990
  !i(f).enabled && !g.teleportCenter ? (T(), z("div", {
6991
6991
  key: 2,
6992
- class: Me(B.value)
6992
+ class: xe(B.value)
6993
6993
  }, null, 2)) : G("", !0),
6994
6994
  he("div", {
6995
6995
  ref_key: "innerMenuRef",
6996
6996
  ref: C,
6997
- class: Me({
6997
+ class: xe({
6998
6998
  dp__menu_content_wrapper: ((Ke = g.presetDates) == null ? void 0 : Ke.length) || !!g.$slots["left-sidebar"] || !!g.$slots["right-sidebar"],
6999
- "dp--menu-content-wrapper-collapsed": e.collapse && (((xt = g.presetDates) == null ? void 0 : xt.length) || !!g.$slots["left-sidebar"] || !!g.$slots["right-sidebar"])
6999
+ "dp--menu-content-wrapper-collapsed": e.collapse && (((Mt = g.presetDates) == null ? void 0 : Mt.length) || !!g.$slots["left-sidebar"] || !!g.$slots["right-sidebar"])
7000
7000
  }),
7001
7001
  "data-dp-mobile": i(P),
7002
7002
  style: yt({ "--dp-menu-width": `${S.value}px` })
@@ -7006,7 +7006,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
7006
7006
  ])) : G("", !0),
7007
7007
  g.presetDates.length ? (T(), z("div", {
7008
7008
  key: 1,
7009
- class: Me({ "dp--preset-dates-collapsed": e.collapse, "dp--preset-dates": !0 }),
7009
+ class: xe({ "dp--preset-dates-collapsed": e.collapse, "dp--preset-dates": !0 }),
7010
7010
  "data-dp-mobile": i(P)
7011
7011
  }, [
7012
7012
  (T(!0), z(De, null, Be(g.presetDates, (ve, Ze) => (T(), z(De, { key: Ze }, [
@@ -7019,7 +7019,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
7019
7019
  key: 1,
7020
7020
  type: "button",
7021
7021
  style: yt(ve.style || {}),
7022
- class: Me(["dp__btn dp--preset-range", { "dp--preset-range-collapsed": e.collapse }]),
7022
+ class: xe(["dp__btn dp--preset-range", { "dp--preset-range-collapsed": e.collapse }]),
7023
7023
  "data-test-id": ve.testId ?? void 0,
7024
7024
  "data-dp-mobile": i(P),
7025
7025
  onClick: wa((Pt) => ae(ve.value, ve.noTz), ["prevent"]),
@@ -7038,7 +7038,7 @@ const mn = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), Cr = (e, t) =
7038
7038
  ref: j
7039
7039
  }, s.value, {
7040
7040
  "flow-step": i(ye),
7041
- onMount: i(M),
7041
+ onMount: i(x),
7042
7042
  onUpdateFlowStep: i(h),
7043
7043
  onResetFlow: i(y),
7044
7044
  onFocusMenu: ee,
@@ -7111,7 +7111,7 @@ const wi = ({
7111
7111
  props: s,
7112
7112
  slots: v
7113
7113
  }) => {
7114
- const { defaultedConfig: d } = Le(s), x = K({}), m = K(!1), c = K({
7114
+ const { defaultedConfig: d } = Le(s), M = K({}), m = K(!1), c = K({
7115
7115
  top: "0",
7116
7116
  left: "0"
7117
7117
  }), f = K(!1), b = ga(s, "teleportCenter");
@@ -7128,11 +7128,11 @@ const wi = ({
7128
7128
  }
7129
7129
  return { top: 0, left: 0 };
7130
7130
  }, R = (y, V) => {
7131
- c.value.left = `${y + V - x.value.width}px`;
7131
+ c.value.left = `${y + V - M.value.width}px`;
7132
7132
  }, P = (y) => {
7133
7133
  c.value.left = `${y}px`;
7134
7134
  }, _ = (y, V) => {
7135
- s.position === ta.left && P(y), s.position === ta.right && R(y, V), s.position === ta.center && (c.value.left = `${y + V / 2 - x.value.width / 2}px`);
7135
+ s.position === ta.left && P(y), s.position === ta.right && R(y, V), s.position === ta.center && (c.value.left = `${y + V / 2 - M.value.width / 2}px`);
7136
7136
  }, S = (y) => {
7137
7137
  const { width: V, height: J } = y.getBoundingClientRect(), { top: E, left: ee } = O(y);
7138
7138
  return { top: +E, left: +ee, width: V, height: J };
@@ -7148,7 +7148,7 @@ const wi = ({
7148
7148
  if (s.altPosition !== null) return F();
7149
7149
  if (y) {
7150
7150
  const J = s.teleport ? (V = t.value) == null ? void 0 : V.$el : e.value;
7151
- J && (x.value = J.getBoundingClientRect()), o("recalculate-position");
7151
+ J && (M.value = J.getBoundingClientRect()), o("recalculate-position");
7152
7152
  }
7153
7153
  return ce();
7154
7154
  }
@@ -7156,13 +7156,13 @@ const wi = ({
7156
7156
  window.screen.width > 768 && !m.value && _(V, J), H(y);
7157
7157
  }, N = (y) => {
7158
7158
  const { top: V, left: J, height: E, width: ee } = S(y);
7159
- c.value.top = `${E + V + +s.offset}px`, f.value = !1, m.value || (c.value.left = `${J + ee / 2 - x.value.width / 2}px`), Y({ inputEl: y, left: J, width: ee });
7159
+ c.value.top = `${E + V + +s.offset}px`, f.value = !1, m.value || (c.value.left = `${J + ee / 2 - M.value.width / 2}px`), Y({ inputEl: y, left: J, width: ee });
7160
7160
  }, re = (y) => {
7161
7161
  const { top: V, left: J, width: E } = S(y);
7162
- c.value.top = `${V - +s.offset - x.value.height}px`, f.value = !0, Y({ inputEl: y, left: J, width: E });
7162
+ c.value.top = `${V - +s.offset - M.value.height}px`, f.value = !0, Y({ inputEl: y, left: J, width: E });
7163
7163
  }, H = (y) => {
7164
7164
  if (s.autoPosition) {
7165
- const { left: V, width: J } = S(y), { left: E, right: ee } = x.value;
7165
+ const { left: V, width: J } = S(y), { left: E, right: ee } = M.value;
7166
7166
  if (!m.value) {
7167
7167
  if (Math.abs(E) !== Math.abs(ee)) {
7168
7168
  if (E <= 0)
@@ -7178,7 +7178,7 @@ const wi = ({
7178
7178
  if (y) {
7179
7179
  if (s.autoPosition === wt.top) return wt.top;
7180
7180
  if (s.autoPosition === wt.bottom) return wt.bottom;
7181
- const { height: V } = x.value, { top: J, height: E } = y.getBoundingClientRect(), ee = window.innerHeight - J - E, $ = J;
7181
+ const { height: V } = M.value, { top: J, height: E } = y.getBoundingClientRect(), ee = window.innerHeight - J - E, $ = J;
7182
7182
  return V <= ee ? wt.bottom : V > ee && V <= $ ? wt.top : ee >= $ ? wt.bottom : wt.top;
7183
7183
  }
7184
7184
  return wt.bottom;
@@ -7196,7 +7196,7 @@ const wi = ({
7196
7196
  return !y || y === document.body || y.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? window : ye(y) ? y : h(
7197
7197
  y.assignedSlot && d.value.shadowDom ? y.assignedSlot.parentNode : y.parentNode
7198
7198
  );
7199
- }, M = (y) => {
7199
+ }, x = (y) => {
7200
7200
  if (y)
7201
7201
  switch (s.position) {
7202
7202
  case ta.left:
@@ -7220,7 +7220,7 @@ const wi = ({
7220
7220
  de.setAttribute("id", "dp--temp-container");
7221
7221
  const D = (ee = a.value) != null && ee.clientWidth ? a.value : document.body;
7222
7222
  D.append(de);
7223
- const B = M(p), W = d.value.shadowDom ? Object.keys(v).filter(
7223
+ const B = x(p), W = d.value.shadowDom ? Object.keys(v).filter(
7224
7224
  (k) => ["right-sidebar", "left-sidebar", "top-extra", "action-extra"].includes(k)
7225
7225
  ) : Object.keys(v), l = rl(
7226
7226
  V,
@@ -7231,7 +7231,7 @@ const wi = ({
7231
7231
  },
7232
7232
  Object.fromEntries(W.map((k) => [k, v[k]]))
7233
7233
  );
7234
- y != null && (l.appContext = y.appContext), In(l, de), x.value = ($ = l.el) == null ? void 0 : $.getBoundingClientRect(), In(null, de), D.removeChild(de);
7234
+ y != null && (l.appContext = y.appContext), In(l, de), M.value = ($ = l.el) == null ? void 0 : $.getBoundingClientRect(), In(null, de), D.removeChild(de);
7235
7235
  }
7236
7236
  };
7237
7237
  }, Bt = [
@@ -7316,7 +7316,7 @@ const wi = ({
7316
7316
  },
7317
7317
  { deep: !0 }
7318
7318
  );
7319
- const x = U({
7319
+ const M = U({
7320
7320
  get: () => e.internalModelValue,
7321
7321
  set: (f) => {
7322
7322
  !e.readonly && !e.disabled && t("update:internal-model-value", f);
@@ -7327,7 +7327,7 @@ const wi = ({
7327
7327
  () => (f) => s.value[f] ? s.value[f].year : 0
7328
7328
  );
7329
7329
  return ct(
7330
- x,
7330
+ M,
7331
7331
  (f, b) => {
7332
7332
  n && JSON.stringify(f ?? {}) !== JSON.stringify(b ?? {}) && n();
7333
7333
  },
@@ -7335,7 +7335,7 @@ const wi = ({
7335
7335
  ), {
7336
7336
  calendars: s,
7337
7337
  time: d,
7338
- modelValue: x,
7338
+ modelValue: M,
7339
7339
  month: m,
7340
7340
  year: c,
7341
7341
  today: o
@@ -7349,7 +7349,7 @@ const wi = ({
7349
7349
  defaultedTz: s,
7350
7350
  propDates: v,
7351
7351
  defaultedRange: d
7352
- } = Le(t), { isDisabled: x } = zt(t), m = K(null), c = K(vt(/* @__PURE__ */ new Date(), s.value.timezone)), f = (l) => {
7352
+ } = Le(t), { isDisabled: M } = zt(t), m = K(null), c = K(vt(/* @__PURE__ */ new Date(), s.value.timezone)), f = (l) => {
7353
7353
  !l.current && t.hideOffsetDates || (m.value = l.value);
7354
7354
  }, b = () => {
7355
7355
  m.value = null;
@@ -7399,14 +7399,14 @@ const wi = ({
7399
7399
  }, N = (l) => ka(e.value, m.value, l.value), re = () => t.modelAuto && Array.isArray(t.internalModelValue) ? !!t.internalModelValue[0] : !1, H = () => t.modelAuto ? Ar(t.internalModelValue) : !0, I = (l) => {
7400
7400
  if (t.weekPicker) return !1;
7401
7401
  const k = d.value.enabled ? !_(l) && !_(l, !1) : !0;
7402
- return !x(l.value) && !C(l) && !(!l.current && t.hideOffsetDates) && k;
7402
+ return !M(l.value) && !C(l) && !(!l.current && t.hideOffsetDates) && k;
7403
7403
  }, se = (l) => d.value.enabled ? t.modelAuto ? re() && C(l) : !1 : C(l), ce = (l) => o.value ? Vs(l.value, v.value.highlight) : !1, ye = (l) => {
7404
- const k = x(l.value);
7404
+ const k = M(l.value);
7405
7405
  return k && (typeof o.value == "function" ? !o.value(l.value, k) : !o.value.options.highlightDisabled);
7406
7406
  }, h = (l) => {
7407
7407
  var k;
7408
7408
  return typeof o.value == "function" ? o.value(l.value) : (k = o.value.weekdays) == null ? void 0 : k.includes(l.value.getDay());
7409
- }, M = (l) => (d.value.enabled || t.weekPicker) && (!(n.value.count > 0) || l.current) && H() && !(!l.current && t.hideOffsetDates) && !C(l) ? N(l) : !1, y = (l) => {
7409
+ }, x = (l) => (d.value.enabled || t.weekPicker) && (!(n.value.count > 0) || l.current) && H() && !(!l.current && t.hideOffsetDates) && !C(l) ? N(l) : !1, y = (l) => {
7410
7410
  if (Array.isArray(e.value) && e.value.length === 1) {
7411
7411
  const { before: k, after: oe } = Jn(+d.value.maxRange, e.value[0]);
7412
7412
  return oa(l.value, k) || Kt(l.value, oe);
@@ -7422,9 +7422,9 @@ const wi = ({
7422
7422
  const { isRangeStart: k, isRangeEnd: oe } = p(l), Ye = d.value.enabled ? k || oe : !1;
7423
7423
  return {
7424
7424
  dp__cell_offset: !l.current,
7425
- dp__pointer: !t.disabled && !(!l.current && t.hideOffsetDates) && !x(l.value) && !J(l),
7426
- dp__cell_disabled: x(l.value) || J(l),
7427
- dp__cell_highlight: !ye(l) && (ce(l) || h(l)) && !se(l) && !Ye && !Y(l) && !(M(l) && t.weekPicker) && !oe,
7425
+ dp__pointer: !t.disabled && !(!l.current && t.hideOffsetDates) && !M(l.value) && !J(l),
7426
+ dp__cell_disabled: M(l.value) || J(l),
7427
+ dp__cell_highlight: !ye(l) && (ce(l) || h(l)) && !se(l) && !Ye && !Y(l) && !(x(l) && t.weekPicker) && !oe,
7428
7428
  dp__cell_highlight_active: !ye(l) && (ce(l) || h(l)) && se(l),
7429
7429
  dp__today: !t.noToday && Te(l.value, c.value) && l.current,
7430
7430
  "dp--past": He(l.value, c.value),
@@ -7468,7 +7468,7 @@ const wi = ({
7468
7468
  return {
7469
7469
  dp__range_start: k,
7470
7470
  dp__range_end: oe,
7471
- dp__range_between: M(l),
7471
+ dp__range_between: x(l),
7472
7472
  dp__date_hover: Te(l.value, m.value) && !k && !oe && !t.weekPicker,
7473
7473
  dp__date_hover_start: S(l, !0),
7474
7474
  dp__date_hover_end: S(l, !1)
@@ -7491,60 +7491,60 @@ const wi = ({
7491
7491
  };
7492
7492
  }, zt = (e) => {
7493
7493
  const { defaultedFilters: t, defaultedRange: n, propDates: a, defaultedMultiDates: r } = Le(e), o = (h) => a.value.disabledDates ? typeof a.value.disabledDates == "function" ? a.value.disabledDates(q(h)) : !!Na(h, a.value.disabledDates) : !1, s = (h) => a.value.maxDate ? e.yearPicker ? we(h) > we(a.value.maxDate) : Ue(h, a.value.maxDate) : !1, v = (h) => a.value.minDate ? e.yearPicker ? we(h) < we(a.value.minDate) : He(h, a.value.minDate) : !1, d = (h) => {
7494
- const M = s(h), y = v(h), V = o(h), J = t.value.months.map((p) => +p).includes(Pe(h)), E = e.disabledWeekDays.length ? e.disabledWeekDays.some((p) => +p === Oo(h)) : !1, ee = b(h), $ = we(h), de = $ < +e.yearRange[0] || $ > +e.yearRange[1];
7495
- return !(M || y || V || J || de || E || ee);
7496
- }, x = (h, M) => He(...Lt(a.value.minDate, h, M)) || Te(...Lt(a.value.minDate, h, M)), m = (h, M) => Ue(...Lt(a.value.maxDate, h, M)) || Te(...Lt(a.value.maxDate, h, M)), c = (h, M, y) => {
7494
+ const x = s(h), y = v(h), V = o(h), J = t.value.months.map((p) => +p).includes(Pe(h)), E = e.disabledWeekDays.length ? e.disabledWeekDays.some((p) => +p === Oo(h)) : !1, ee = b(h), $ = we(h), de = $ < +e.yearRange[0] || $ > +e.yearRange[1];
7495
+ return !(x || y || V || J || de || E || ee);
7496
+ }, M = (h, x) => He(...Lt(a.value.minDate, h, x)) || Te(...Lt(a.value.minDate, h, x)), m = (h, x) => Ue(...Lt(a.value.maxDate, h, x)) || Te(...Lt(a.value.maxDate, h, x)), c = (h, x, y) => {
7497
7497
  let V = !1;
7498
- return a.value.maxDate && y && m(h, M) && (V = !0), a.value.minDate && !y && x(h, M) && (V = !0), V;
7499
- }, f = (h, M, y, V) => {
7498
+ return a.value.maxDate && y && m(h, x) && (V = !0), a.value.minDate && !y && M(h, x) && (V = !0), V;
7499
+ }, f = (h, x, y, V) => {
7500
7500
  let J = !1;
7501
- return V && (a.value.minDate || a.value.maxDate) ? a.value.minDate && a.value.maxDate ? J = c(h, M, y) : (a.value.minDate && x(h, M) || a.value.maxDate && m(h, M)) && (J = !0) : J = !0, J;
7502
- }, b = (h) => Array.isArray(a.value.allowedDates) && !a.value.allowedDates.length ? !0 : a.value.allowedDates ? !Na(h, a.value.allowedDates, Rr(e.monthPicker, e.yearPicker)) : !1, O = (h) => !d(h), R = (h) => n.value.noDisabledRange ? !vr({ start: h[0], end: h[1] }).some((M) => O(M)) : !0, P = (h) => {
7501
+ return V && (a.value.minDate || a.value.maxDate) ? a.value.minDate && a.value.maxDate ? J = c(h, x, y) : (a.value.minDate && M(h, x) || a.value.maxDate && m(h, x)) && (J = !0) : J = !0, J;
7502
+ }, b = (h) => Array.isArray(a.value.allowedDates) && !a.value.allowedDates.length ? !0 : a.value.allowedDates ? !Na(h, a.value.allowedDates, Rr(e.monthPicker, e.yearPicker)) : !1, O = (h) => !d(h), R = (h) => n.value.noDisabledRange ? !vr({ start: h[0], end: h[1] }).some((x) => O(x)) : !0, P = (h) => {
7503
7503
  if (h) {
7504
- const M = we(h);
7505
- return M >= +e.yearRange[0] && M <= e.yearRange[1];
7504
+ const x = we(h);
7505
+ return x >= +e.yearRange[0] && x <= e.yearRange[1];
7506
7506
  }
7507
7507
  return !0;
7508
- }, _ = (h, M) => !!(Array.isArray(h) && h[M] && (n.value.maxRange || n.value.minRange) && P(h[M])), S = (h, M, y = 0) => {
7509
- if (_(M, y) && P(h)) {
7510
- const V = ir(h, M[y]), J = Er(M[y], h), E = J.length === 1 ? 0 : J.filter(($) => O($)).length, ee = Math.abs(V) - (n.value.minMaxRawRange ? 0 : E);
7508
+ }, _ = (h, x) => !!(Array.isArray(h) && h[x] && (n.value.maxRange || n.value.minRange) && P(h[x])), S = (h, x, y = 0) => {
7509
+ if (_(x, y) && P(h)) {
7510
+ const V = ir(h, x[y]), J = Er(x[y], h), E = J.length === 1 ? 0 : J.filter(($) => O($)).length, ee = Math.abs(V) - (n.value.minMaxRawRange ? 0 : E);
7511
7511
  if (n.value.minRange && n.value.maxRange)
7512
7512
  return ee >= +n.value.minRange && ee <= +n.value.maxRange;
7513
7513
  if (n.value.minRange) return ee >= +n.value.minRange;
7514
7514
  if (n.value.maxRange) return ee <= +n.value.maxRange;
7515
7515
  }
7516
7516
  return !0;
7517
- }, C = () => !e.enableTimePicker || e.monthPicker || e.yearPicker || e.ignoreTimeValidation, F = (h) => Array.isArray(h) ? [h[0] ? tn(h[0]) : null, h[1] ? tn(h[1]) : null] : tn(h), j = (h, M, y) => h.find(
7518
- (V) => +V.hours === Nt(M) && V.minutes === "*" ? !0 : +V.minutes === Ht(M) && +V.hours === Nt(M)
7519
- ) && y, Y = (h, M, y) => {
7520
- const [V, J] = h, [E, ee] = M;
7517
+ }, C = () => !e.enableTimePicker || e.monthPicker || e.yearPicker || e.ignoreTimeValidation, F = (h) => Array.isArray(h) ? [h[0] ? tn(h[0]) : null, h[1] ? tn(h[1]) : null] : tn(h), j = (h, x, y) => h.find(
7518
+ (V) => +V.hours === Nt(x) && V.minutes === "*" ? !0 : +V.minutes === Ht(x) && +V.hours === Nt(x)
7519
+ ) && y, Y = (h, x, y) => {
7520
+ const [V, J] = h, [E, ee] = x;
7521
7521
  return !j(V, E, y) && !j(J, ee, y) && y;
7522
- }, N = (h, M) => {
7523
- const y = Array.isArray(M) ? M : [M];
7522
+ }, N = (h, x) => {
7523
+ const y = Array.isArray(x) ? x : [x];
7524
7524
  return Array.isArray(e.disabledTimes) ? Array.isArray(e.disabledTimes[0]) ? Y(e.disabledTimes, y, h) : !y.some((V) => j(e.disabledTimes, V, h)) : h;
7525
- }, re = (h, M) => {
7526
- const y = Array.isArray(M) ? [Gt(M[0]), M[1] ? Gt(M[1]) : void 0] : Gt(M), V = !e.disabledTimes(y);
7525
+ }, re = (h, x) => {
7526
+ const y = Array.isArray(x) ? [Gt(x[0]), x[1] ? Gt(x[1]) : void 0] : Gt(x), V = !e.disabledTimes(y);
7527
7527
  return h && V;
7528
- }, H = (h, M) => e.disabledTimes ? Array.isArray(e.disabledTimes) ? N(M, h) : re(M, h) : M, I = (h) => {
7529
- let M = !0;
7528
+ }, H = (h, x) => e.disabledTimes ? Array.isArray(e.disabledTimes) ? N(x, h) : re(x, h) : x, I = (h) => {
7529
+ let x = !0;
7530
7530
  if (!h || C()) return !0;
7531
7531
  const y = !a.value.minDate && !a.value.maxDate ? F(h) : h;
7532
- return (e.maxTime || a.value.maxDate) && (M = Zn(
7532
+ return (e.maxTime || a.value.maxDate) && (x = Zn(
7533
7533
  e.maxTime,
7534
7534
  a.value.maxDate,
7535
7535
  "max",
7536
7536
  Je(y),
7537
- M
7538
- )), (e.minTime || a.value.minDate) && (M = Zn(
7537
+ x
7538
+ )), (e.minTime || a.value.minDate) && (x = Zn(
7539
7539
  e.minTime,
7540
7540
  a.value.minDate,
7541
7541
  "min",
7542
7542
  Je(y),
7543
- M
7544
- )), H(h, M);
7543
+ x
7544
+ )), H(h, x);
7545
7545
  }, se = (h) => {
7546
7546
  if (!e.monthPicker) return !0;
7547
- let M = !0;
7547
+ let x = !0;
7548
7548
  const y = q(bt(h));
7549
7549
  if (a.value.minDate && a.value.maxDate) {
7550
7550
  const V = q(bt(a.value.minDate)), J = q(bt(a.value.maxDate));
@@ -7552,14 +7552,14 @@ const wi = ({
7552
7552
  }
7553
7553
  if (a.value.minDate) {
7554
7554
  const V = q(bt(a.value.minDate));
7555
- M = Ue(y, V) || Te(y, V);
7555
+ x = Ue(y, V) || Te(y, V);
7556
7556
  }
7557
7557
  if (a.value.maxDate) {
7558
7558
  const V = q(bt(a.value.maxDate));
7559
- M = He(y, V) || Te(y, V);
7559
+ x = He(y, V) || Te(y, V);
7560
7560
  }
7561
- return M;
7562
- }, ce = U(() => (h) => !e.enableTimePicker || e.ignoreTimeValidation ? !0 : I(h)), ye = U(() => (h) => e.monthPicker ? Array.isArray(h) && (n.value.enabled || r.value.enabled) ? !h.filter((M) => !se(M)).length : se(h) : !0);
7561
+ return x;
7562
+ }, ce = U(() => (h) => !e.enableTimePicker || e.ignoreTimeValidation ? !0 : I(h)), ye = U(() => (h) => e.monthPicker ? Array.isArray(h) && (n.value.enabled || r.value.enabled) ? !h.filter((x) => !se(x)).length : se(h) : !0);
7563
7563
  return {
7564
7564
  isDisabled: O,
7565
7565
  validateDate: d,
@@ -7589,19 +7589,19 @@ const wi = ({
7589
7589
  (c = e.flow) != null && c.length && a.value !== -1 && (a.value += 1, t("flow-step", a.value), m()), ((f = e.flow) == null ? void 0 : f.length) === a.value && ft().then(() => d());
7590
7590
  }, d = () => {
7591
7591
  a.value = -1;
7592
- }, x = (c, f, ...b) => {
7592
+ }, M = (c, f, ...b) => {
7593
7593
  var O, R;
7594
7594
  e.flow[a.value] === c && n.value && ((R = (O = n.value)[f]) == null || R.call(O, ...b));
7595
7595
  }, m = (c = 0) => {
7596
- c && (a.value += c), x(ot.month, "toggleMonthPicker", !0), x(ot.year, "toggleYearPicker", !0), x(ot.calendar, "toggleTimePicker", !1, !0), x(ot.time, "toggleTimePicker", !0, !0);
7596
+ c && (a.value += c), M(ot.month, "toggleMonthPicker", !0), M(ot.year, "toggleYearPicker", !0), M(ot.calendar, "toggleTimePicker", !1, !0), M(ot.time, "toggleTimePicker", !0, !0);
7597
7597
  const f = e.flow[a.value];
7598
- (f === ot.hours || f === ot.minutes || f === ot.seconds) && x(f, "toggleTimePicker", !0, !0, f);
7598
+ (f === ot.hours || f === ot.minutes || f === ot.seconds) && M(f, "toggleTimePicker", !0, !0, f);
7599
7599
  };
7600
7600
  return { childMount: s, updateFlowStep: v, resetFlow: d, handleFlow: m, flowStep: a };
7601
- }, Mi = {
7601
+ }, xi = {
7602
7602
  key: 1,
7603
7603
  class: "dp__input_wrap"
7604
- }, xi = ["id", "name", "inputmode", "placeholder", "disabled", "readonly", "required", "value", "autocomplete", "aria-label", "aria-disabled", "aria-invalid"], Pi = {
7604
+ }, Mi = ["id", "name", "inputmode", "placeholder", "disabled", "readonly", "required", "value", "autocomplete", "aria-label", "aria-disabled", "aria-invalid"], Pi = {
7605
7605
  key: 2,
7606
7606
  class: "dp--clear-btn"
7607
7607
  }, Ti = ["aria-label"], Oi = /* @__PURE__ */ nt({
@@ -7635,7 +7635,7 @@ const wi = ({
7635
7635
  defaultedAriaLabels: s,
7636
7636
  defaultedInline: v,
7637
7637
  defaultedConfig: d,
7638
- defaultedRange: x,
7638
+ defaultedRange: M,
7639
7639
  defaultedMultiDates: m,
7640
7640
  defaultedUI: c,
7641
7641
  getDefaultPattern: f,
@@ -7676,7 +7676,7 @@ const wi = ({
7676
7676
  }, N = () => {
7677
7677
  S.value = !0;
7678
7678
  }, re = ($) => {
7679
- if (x.value.enabled)
7679
+ if (M.value.enabled)
7680
7680
  Y($);
7681
7681
  else if (m.value.enabled) {
7682
7682
  const de = $.split(";");
@@ -7703,7 +7703,7 @@ const wi = ({
7703
7703
  } else o.value.enabled || a("toggle");
7704
7704
  }, h = () => {
7705
7705
  a("real-blur"), _.value = !1, (!r.isMenuOpen || v.value.enabled && v.value.input) && a("blur"), r.autoApply && o.value.enabled && R.value && !r.isMenuOpen && (a("set-input-date", R.value), a("select-date"), R.value = null);
7706
- }, M = ($) => {
7706
+ }, x = ($) => {
7707
7707
  Ft($, d.value, !0), a("clear");
7708
7708
  }, y = () => {
7709
7709
  a("close");
@@ -7727,7 +7727,7 @@ const wi = ({
7727
7727
  var p, D, B;
7728
7728
  return T(), z("div", { onClick: ye }, [
7729
7729
  $.$slots.trigger && !$.$slots["dp-input"] && !i(v).enabled ? ie($.$slots, "trigger", { key: 0 }) : G("", !0),
7730
- !$.$slots.trigger && (!i(v).enabled || i(v).input) ? (T(), z("div", Mi, [
7730
+ !$.$slots.trigger && (!i(v).enabled || i(v).input) ? (T(), z("div", xi, [
7731
7731
  $.$slots["dp-input"] && !$.$slots.trigger && (!i(v).enabled || i(v).enabled && i(v).input) ? ie($.$slots, "dp-input", {
7732
7732
  key: 0,
7733
7733
  value: e.inputValue,
@@ -7735,7 +7735,7 @@ const wi = ({
7735
7735
  onInput: H,
7736
7736
  onEnter: I,
7737
7737
  onTab: se,
7738
- onClear: M,
7738
+ onClear: x,
7739
7739
  onBlur: h,
7740
7740
  onKeypress: V,
7741
7741
  onPaste: N,
@@ -7751,7 +7751,7 @@ const wi = ({
7751
7751
  ref: P,
7752
7752
  "data-test-id": "dp-input",
7753
7753
  name: $.name,
7754
- class: Me(C.value),
7754
+ class: xe(C.value),
7755
7755
  inputmode: i(o).enabled ? "text" : "none",
7756
7756
  placeholder: $.placeholder,
7757
7757
  disabled: $.disabled,
@@ -7768,7 +7768,7 @@ const wi = ({
7768
7768
  onKeypress: V,
7769
7769
  onKeydown: de[0] || (de[0] = (W) => V(W)),
7770
7770
  onPaste: N
7771
- }, null, 42, xi)),
7771
+ }, null, 42, Mi)),
7772
7772
  he("div", {
7773
7773
  onClick: de[3] || (de[3] = (W) => a("toggle"))
7774
7774
  }, [
@@ -7787,15 +7787,15 @@ const wi = ({
7787
7787
  }, null, 8, ["aria-label"])) : G("", !0)
7788
7788
  ]),
7789
7789
  $.$slots["clear-icon"] && ($.alwaysClearable || e.inputValue && $.clearable && !$.disabled && !$.readonly) ? (T(), z("span", Pi, [
7790
- ie($.$slots, "clear-icon", { clear: M })
7790
+ ie($.$slots, "clear-icon", { clear: x })
7791
7791
  ])) : G("", !0),
7792
7792
  !$.$slots["clear-icon"] && ($.alwaysClearable || $.clearable && e.inputValue && !$.disabled && !$.readonly) ? (T(), z("button", {
7793
7793
  key: 3,
7794
7794
  "aria-label": (B = i(s)) == null ? void 0 : B.clearInput,
7795
7795
  class: "dp--clear-btn",
7796
7796
  type: "button",
7797
- onKeydown: de[4] || (de[4] = (W) => i(it)(W, () => M(W), !0, ee)),
7798
- onClick: de[5] || (de[5] = wa((W) => M(W), ["prevent"]))
7797
+ onKeydown: de[4] || (de[4] = (W) => i(it)(W, () => x(W), !0, ee)),
7798
+ onClick: de[5] || (de[5] = wa((W) => x(W), ["prevent"]))
7799
7799
  }, [
7800
7800
  Fe(i(Or), {
7801
7801
  class: "dp__input_icons",
@@ -7864,27 +7864,27 @@ const wi = ({
7864
7864
  "text-input"
7865
7865
  ],
7866
7866
  setup(e, { expose: t, emit: n }) {
7867
- const a = n, r = e, o = Xt(), s = K(!1), v = ga(r, "modelValue"), d = ga(r, "timezone"), x = K(null), m = K(null), c = K(null), f = K(!1), b = K(null), O = K(!1), R = K(!1), P = K(!1), _ = K(!1), { setMenuFocused: S, setShiftKey: C } = Hr(), { clearArrowNav: F } = Wt(), { validateDate: j, isValidTime: Y } = zt(r), {
7867
+ const a = n, r = e, o = Xt(), s = K(!1), v = ga(r, "modelValue"), d = ga(r, "timezone"), M = K(null), m = K(null), c = K(null), f = K(!1), b = K(null), O = K(!1), R = K(!1), P = K(!1), _ = K(!1), { setMenuFocused: S, setShiftKey: C } = Hr(), { clearArrowNav: F } = Wt(), { validateDate: j, isValidTime: Y } = zt(r), {
7868
7868
  defaultedTransitions: N,
7869
7869
  defaultedTextInput: re,
7870
7870
  defaultedInline: H,
7871
7871
  defaultedConfig: I,
7872
7872
  defaultedRange: se,
7873
7873
  defaultedMultiDates: ce
7874
- } = Le(r), { menuTransition: ye, showTransition: h } = Pa(N), { isMobile: M } = Gr(I), y = nl();
7874
+ } = Le(r), { menuTransition: ye, showTransition: h } = Pa(N), { isMobile: x } = Gr(I), y = nl();
7875
7875
  rt(() => {
7876
7876
  l(r.modelValue), ft().then(() => {
7877
7877
  if (!H.value.enabled) {
7878
7878
  const L = p(b.value);
7879
7879
  L?.addEventListener("scroll", ae), window?.addEventListener("resize", ne);
7880
7880
  }
7881
- }), H.value.enabled && (s.value = !0), window?.addEventListener("keyup", xe), window?.addEventListener("keydown", _e);
7881
+ }), H.value.enabled && (s.value = !0), window?.addEventListener("keyup", Me), window?.addEventListener("keydown", _e);
7882
7882
  }), da(() => {
7883
7883
  if (!H.value.enabled) {
7884
7884
  const L = p(b.value);
7885
7885
  L?.removeEventListener("scroll", ae), window?.removeEventListener("resize", ne);
7886
7886
  }
7887
- window?.removeEventListener("keyup", xe), window?.removeEventListener("keydown", _e);
7887
+ window?.removeEventListener("keyup", Me), window?.removeEventListener("keydown", _e);
7888
7888
  });
7889
7889
  const V = mt(o, "all", r.presetDates), J = mt(o, "input");
7890
7890
  ct(
@@ -7895,7 +7895,7 @@ const wi = ({
7895
7895
  { deep: !0 }
7896
7896
  );
7897
7897
  const { openOnTop: E, menuStyle: ee, xCorrect: $, setMenuPosition: de, getScrollableParent: p, shadowRender: D } = wi({
7898
- menuRef: x,
7898
+ menuRef: M,
7899
7899
  menuRefInner: m,
7900
7900
  inputRef: c,
7901
7901
  pickerWrapperRef: b,
@@ -7932,7 +7932,7 @@ const wi = ({
7932
7932
  s.value && de();
7933
7933
  const ue = ((L = m.value) == null ? void 0 : L.$el.getBoundingClientRect().width) ?? 0;
7934
7934
  P.value = document.body.offsetWidth <= ue;
7935
- }, xe = (L) => {
7935
+ }, Me = (L) => {
7936
7936
  L.key === "Tab" && !H.value.enabled && !r.teleport && I.value.tabOutClosesMenu && (b.value.contains(document.activeElement) || Ze()), R.value = L.shiftKey;
7937
7937
  }, _e = (L) => {
7938
7938
  R.value = L.shiftKey;
@@ -7950,7 +7950,7 @@ const wi = ({
7950
7950
  Ke(), k(), I.value.closeOnAutoApply && !L && Ze();
7951
7951
  }, Ke = () => {
7952
7952
  c.value && re.value.enabled && c.value.setParsedDate(W.value);
7953
- }, xt = (L = !1) => {
7953
+ }, Mt = (L = !1) => {
7954
7954
  r.autoApply && Y(W.value) && g() && (se.value.enabled && Array.isArray(W.value) ? (se.value.partialRange || W.value.length === 2) && $e(L) : $e(L));
7955
7955
  }, ve = () => {
7956
7956
  re.value.enabled || (W.value = null);
@@ -7963,7 +7963,7 @@ const wi = ({
7963
7963
  return;
7964
7964
  }
7965
7965
  const Ct = Array.isArray(L) ? !L.some((qt) => !j(qt)) : j(L), Tt = Y(L);
7966
- Ct && Tt ? (_.value = !0, W.value = L, ue ? (O.value = me, le(), a("text-submit")) : r.autoApply && xt(), ft().then(() => {
7966
+ Ct && Tt ? (_.value = !0, W.value = L, ue ? (O.value = me, le(), a("text-submit")) : r.autoApply && Mt(), ft().then(() => {
7967
7967
  _.value = !1;
7968
7968
  })) : a("invalid-date", L);
7969
7969
  }, Va = () => {
@@ -7991,9 +7991,9 @@ const wi = ({
7991
7991
  }, X = (L, ue) => I.value.onClickOutside ? I.value.onClickOutside(L, ue) : Ze(!0), fe = (L = 0) => {
7992
7992
  var ue;
7993
7993
  (ue = m.value) == null || ue.handleFlow(L);
7994
- }, ke = () => x;
7994
+ }, ke = () => M;
7995
7995
  return Ci(
7996
- x,
7996
+ M,
7997
7997
  c,
7998
7998
  (L) => X(g, L)
7999
7999
  ), t({
@@ -8015,9 +8015,9 @@ const wi = ({
8015
8015
  }), (L, ue) => (T(), z("div", {
8016
8016
  ref_key: "pickerWrapperRef",
8017
8017
  ref: b,
8018
- class: Me(A.value),
8018
+ class: xe(A.value),
8019
8019
  "data-datepicker-instance": "",
8020
- "data-dp-mobile": i(M)
8020
+ "data-dp-mobile": i(x)
8021
8021
  }, [
8022
8022
  Fe(Oi, tt({
8023
8023
  ref_key: "inputRef",
@@ -8055,7 +8055,7 @@ const wi = ({
8055
8055
  s.value ? (T(), z("div", tt({
8056
8056
  key: 0,
8057
8057
  ref_key: "dpWrapMenuRef",
8058
- ref: x
8058
+ ref: M
8059
8059
  }, te.value, {
8060
8060
  class: { "dp--menu-wrapper": !i(H).enabled },
8061
8061
  style: i(H).enabled ? void 0 : i(ee)
@@ -8074,7 +8074,7 @@ const wi = ({
8074
8074
  "is-text-input-date": _.value,
8075
8075
  onClosePicker: Ze,
8076
8076
  onSelectDate: le,
8077
- onAutoApply: xt,
8077
+ onAutoApply: Mt,
8078
8078
  onTimeUpdate: Va,
8079
8079
  onFlowStep: ue[4] || (ue[4] = (me) => L.$emit("flow-step", me)),
8080
8080
  onUpdateMonthYear: ue[5] || (ue[5] = (me) => L.$emit("update-month-year", me)),
@@ -8147,7 +8147,7 @@ const Ii = { class: "d-flex justify-center" }, Ei = { class: "mb-1 text-center t
8147
8147
  function d() {
8148
8148
  return pt().format("YYYY-MM-DD");
8149
8149
  }
8150
- const x = U(
8150
+ const M = U(
8151
8151
  () => t.markerDates?.map((c) => ({
8152
8152
  color: "rgb(var(--v-theme-error-lighten-1))",
8153
8153
  date: pt(c).toDate(),
@@ -8182,7 +8182,10 @@ const Ii = { class: "d-flex justify-center" }, Ei = { class: "mb-1 text-center t
8182
8182
  ref_key: "root",
8183
8183
  ref: r,
8184
8184
  class: "text-center pa-3 px-n6",
8185
- style: { backgroundColor: "white" }
8185
+ style: {
8186
+ backgroundColor: "white",
8187
+ boxShadow: "0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f"
8188
+ }
8186
8189
  }, {
8187
8190
  default: ge(() => [
8188
8191
  Fe(Ga, { "no-gutters": "" }, {
@@ -8201,7 +8204,7 @@ const Ii = { class: "d-flex justify-center" }, Ei = { class: "mb-1 text-center t
8201
8204
  "min-date": c.minDate || d(),
8202
8205
  "enable-time-picker": !1,
8203
8206
  "week-start": 1,
8204
- markers: x.value,
8207
+ markers: M.value,
8205
8208
  locale: i(n)
8206
8209
  }, null, 8, ["modelValue", "min-date", "markers", "locale"])
8207
8210
  ])
@@ -8315,10 +8318,10 @@ function rr(e) {
8315
8318
  });
8316
8319
  }
8317
8320
  typeof rr == "function" && rr(Kr);
8318
- const Wi = /* @__PURE__ */ wl(Kr, [["__scopeId", "data-v-df26bd90"]]);
8319
- Zr("css/revolugo.bdaterangepicker.B6KA5TYs.css");
8321
+ const Wi = /* @__PURE__ */ wl(Kr, [["__scopeId", "data-v-fc8077c0"]]);
8322
+ Zr("css/revolugo.bdaterangepicker.OLspTh_0.css");
8320
8323
  export {
8321
8324
  Wi as B,
8322
8325
  Dl as V
8323
8326
  };
8324
- //# sourceMappingURL=revolugo.bdaterangepicker.BzhBqqJB.min.js.map
8327
+ //# sourceMappingURL=revolugo.bdaterangepicker.DxjM2ZhP.min.js.map