@adyen/bento-vue2 1.45.0 → 1.47.0

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 (199) hide show
  1. package/dist/@types/index.d.ts +16740 -18774
  2. package/dist/accordion.js +1 -1
  3. package/dist/action-bar.js +1 -1
  4. package/dist/alert.js +1 -1
  5. package/dist/assets/accordion-item.css +1 -1
  6. package/dist/assets/action-bar.css +1 -1
  7. package/dist/assets/base-modal.css +1 -1
  8. package/dist/assets/calendar.css +1 -1
  9. package/dist/assets/card.css +1 -1
  10. package/dist/assets/data-grid.css +1 -1
  11. package/dist/assets/date-picker.css +1 -1
  12. package/dist/assets/date-range-picker.css +1 -1
  13. package/dist/assets/dialog-page.css +1 -1
  14. package/dist/assets/divider.css +1 -1
  15. package/dist/assets/dropdown.css +1 -1
  16. package/dist/assets/file-uploader.css +1 -1
  17. package/dist/assets/input-field-password.css +1 -1
  18. package/dist/assets/input-field.css +1 -1
  19. package/dist/assets/inspector.css +1 -1
  20. package/dist/assets/menu.css +1 -1
  21. package/dist/assets/modal-fullscreen.css +1 -1
  22. package/dist/assets/popover.css +1 -1
  23. package/dist/assets/radio-group.css +1 -1
  24. package/dist/assets/radio-input.css +1 -1
  25. package/dist/assets/sidepanel.css +1 -1
  26. package/dist/assets/status.css +1 -1
  27. package/dist/assets/step.css +1 -1
  28. package/dist/button.js +1 -1
  29. package/dist/card.js +1 -1
  30. package/dist/checkbox.js +2 -2
  31. package/dist/chunks/{accordion-item.CzKttO4w.js → accordion-item.CTxrEQEW.js} +5 -5
  32. package/dist/chunks/{accordion-item.CzKttO4w.js.map → accordion-item.CTxrEQEW.js.map} +1 -1
  33. package/dist/chunks/{action-bar.BXemSuq4.js → action-bar.EcN2I7Az.js} +11 -11
  34. package/dist/chunks/{action-bar.BXemSuq4.js.map → action-bar.EcN2I7Az.js.map} +1 -1
  35. package/dist/chunks/{alert.CAIp-87f.js → alert.BRN8cpXl.js} +7 -7
  36. package/dist/chunks/{alert.CAIp-87f.js.map → alert.BRN8cpXl.js.map} +1 -1
  37. package/dist/chunks/{base-modal.4JSNBM4T.js → base-modal.BgTZ8iQ6.js} +5 -5
  38. package/dist/chunks/{base-modal.4JSNBM4T.js.map → base-modal.BgTZ8iQ6.js.map} +1 -1
  39. package/dist/chunks/{button-actions-with-menu.ieopdfI7.js → button-actions-with-menu.C8EjGVCT.js} +4 -4
  40. package/dist/chunks/{button-actions-with-menu.ieopdfI7.js.map → button-actions-with-menu.C8EjGVCT.js.map} +1 -1
  41. package/dist/chunks/{button-actions.CtFB6iRj.js → button-actions.BU173IFE.js} +5 -5
  42. package/dist/chunks/{button-actions.CtFB6iRj.js.map → button-actions.BU173IFE.js.map} +1 -1
  43. package/dist/chunks/{calendar.BouORZfb.js → calendar.DlOcbH6E.js} +161 -148
  44. package/dist/chunks/{calendar.BouORZfb.js.map → calendar.DlOcbH6E.js.map} +1 -1
  45. package/dist/chunks/{card.BabmUkTG.js → card.DoyCGJay.js} +10 -10
  46. package/dist/chunks/{card.BabmUkTG.js.map → card.DoyCGJay.js.map} +1 -1
  47. package/dist/chunks/{checkbox-group.DbLznnsa.js → checkbox-group.BQN9gjgH.js} +4 -4
  48. package/dist/chunks/{checkbox-group.DbLznnsa.js.map → checkbox-group.BQN9gjgH.js.map} +1 -1
  49. package/dist/chunks/{checkbox.fhQLs-NN.js → checkbox.O1CbmNdS.js} +22 -22
  50. package/dist/chunks/{checkbox.fhQLs-NN.js.map → checkbox.O1CbmNdS.js.map} +1 -1
  51. package/dist/chunks/{code-snippet.5iJcUZSo.js → code-snippet.BDBD85qD.js} +117 -87
  52. package/dist/chunks/code-snippet.BDBD85qD.js.map +1 -0
  53. package/dist/chunks/{codemirror.CXFEqvAi.js → codemirror.0fz2cWJS.js} +4970 -4661
  54. package/dist/chunks/codemirror.0fz2cWJS.js.map +1 -0
  55. package/dist/chunks/{controls-group.CnXzOQkX.js → controls-group.C3RDqB9H.js} +2 -2
  56. package/dist/chunks/{controls-group.CnXzOQkX.js.map → controls-group.C3RDqB9H.js.map} +1 -1
  57. package/dist/chunks/{copy.DN0tClPm.js → copy.BuMSGw23.js} +5 -5
  58. package/dist/chunks/{copy.DN0tClPm.js.map → copy.BuMSGw23.js.map} +1 -1
  59. package/dist/chunks/{country.Bft91V1L.js → country.2-ZtYkh7.js} +2 -2
  60. package/dist/chunks/{country.Bft91V1L.js.map → country.2-ZtYkh7.js.map} +1 -1
  61. package/dist/chunks/{country.types.pilf5B3F.js → country.types.CLjbulKL.js} +4114 -4114
  62. package/dist/chunks/{country.types.pilf5B3F.js.map → country.types.CLjbulKL.js.map} +1 -1
  63. package/dist/chunks/{dashboard-section.DYXZhtop.js → dashboard-section.COWO5SVw.js} +3 -3
  64. package/dist/chunks/{dashboard-section.DYXZhtop.js.map → dashboard-section.COWO5SVw.js.map} +1 -1
  65. package/dist/chunks/{dashed-underline.BvSZS1-m.js → dashed-underline.BEAEmTCb.js} +2 -2
  66. package/dist/chunks/{dashed-underline.BvSZS1-m.js.map → dashed-underline.BEAEmTCb.js.map} +1 -1
  67. package/dist/chunks/{data-grid-template.Du92TEFY.js → data-grid-template.vBl7u2cB.js} +2 -2
  68. package/dist/chunks/{data-grid-template.Du92TEFY.js.map → data-grid-template.vBl7u2cB.js.map} +1 -1
  69. package/dist/chunks/{data-grid.Kwtf1DMq.js → data-grid.DQ0578m9.js} +46 -46
  70. package/dist/chunks/{data-grid.Kwtf1DMq.js.map → data-grid.DQ0578m9.js.map} +1 -1
  71. package/dist/chunks/{date-picker.B7mTNghB.js → date-picker.Bym2OEd9.js} +47 -39
  72. package/dist/chunks/date-picker.Bym2OEd9.js.map +1 -0
  73. package/dist/chunks/{date-range-picker.DPLri9D-.js → date-range-picker.P2Q5FNB-.js} +310 -306
  74. package/dist/chunks/date-range-picker.P2Q5FNB-.js.map +1 -0
  75. package/dist/chunks/divider.Cc4JFWG_.js +35 -0
  76. package/dist/chunks/divider.Cc4JFWG_.js.map +1 -0
  77. package/dist/chunks/{dropdown-default-textbox.DBoSso4J.js → dropdown-default-textbox.CC9Z_RFG.js} +4 -4
  78. package/dist/chunks/{dropdown-default-textbox.DBoSso4J.js.map → dropdown-default-textbox.CC9Z_RFG.js.map} +1 -1
  79. package/dist/chunks/{dropdown-tag.XIlES6IT.js → dropdown-tag.CiCDvGyN.js} +4 -4
  80. package/dist/chunks/{dropdown-tag.XIlES6IT.js.map → dropdown-tag.CiCDvGyN.js.map} +1 -1
  81. package/dist/chunks/{dropdown.BqsoncJr.js → dropdown.hc9ZuuTt.js} +197 -193
  82. package/dist/chunks/dropdown.hc9ZuuTt.js.map +1 -0
  83. package/dist/chunks/{error-message.Ccc1sTTp.js → error-message.Da-p1QIA.js} +8 -8
  84. package/dist/chunks/{error-message.Ccc1sTTp.js.map → error-message.Da-p1QIA.js.map} +1 -1
  85. package/dist/chunks/{es6.jIyAPBgt.js → es6.BtaxuP0b.js} +7 -7
  86. package/dist/chunks/es6.BtaxuP0b.js.map +1 -0
  87. package/dist/chunks/file-uploader.DVyryYaq.js +1879 -0
  88. package/dist/chunks/file-uploader.DVyryYaq.js.map +1 -0
  89. package/dist/chunks/{filter-bar.DT_-lVmf.js → filter-bar.DzcNo5nF.js} +53 -53
  90. package/dist/chunks/{filter-bar.DT_-lVmf.js.map → filter-bar.DzcNo5nF.js.map} +1 -1
  91. package/dist/chunks/{footer-actions.D0uH9JWq.js → footer-actions.Cbe_YLjP.js} +2 -2
  92. package/dist/chunks/{footer-actions.D0uH9JWq.js.map → footer-actions.Cbe_YLjP.js.map} +1 -1
  93. package/dist/chunks/{form-layout-title.DN0jonFa.js → form-layout-title.Xdsi84v2.js} +2 -2
  94. package/dist/chunks/{form-layout-title.DN0jonFa.js.map → form-layout-title.Xdsi84v2.js.map} +1 -1
  95. package/dist/chunks/{header.BvZxtIOD.js → header.BIZTUAJE.js} +4 -4
  96. package/dist/chunks/{header.BvZxtIOD.js.map → header.BIZTUAJE.js.map} +1 -1
  97. package/dist/chunks/{info-icon-with-popover.DEjsASNU.js → info-icon-with-popover.Bly2e0uy.js} +5 -5
  98. package/dist/chunks/{info-icon-with-popover.DEjsASNU.js.map → info-icon-with-popover.Bly2e0uy.js.map} +1 -1
  99. package/dist/chunks/{input-field-password.HRDEb0jL.js → input-field-password.CosL-n__.js} +27 -27
  100. package/dist/chunks/{input-field-password.HRDEb0jL.js.map → input-field-password.CosL-n__.js.map} +1 -1
  101. package/dist/chunks/input-field.DgDFJbg7.js +231 -0
  102. package/dist/chunks/input-field.DgDFJbg7.js.map +1 -0
  103. package/dist/chunks/{inspector.types.2YEArjPi.js → inspector.types.8071wkf0.js} +5 -5
  104. package/dist/chunks/{inspector.types.2YEArjPi.js.map → inspector.types.8071wkf0.js.map} +1 -1
  105. package/dist/chunks/{menu.CLaN9Eys.js → menu.Dq7RlryT.js} +5 -5
  106. package/dist/chunks/{menu.CLaN9Eys.js.map → menu.Dq7RlryT.js.map} +1 -1
  107. package/dist/chunks/{modal-fullscreen.B-qr1Szh.js → modal-fullscreen.CfrgVR_K.js} +5 -5
  108. package/dist/chunks/{modal-fullscreen.B-qr1Szh.js.map → modal-fullscreen.CfrgVR_K.js.map} +1 -1
  109. package/dist/chunks/{modal.wU3uUJKq.js → modal.CuUUMIU_.js} +4 -4
  110. package/dist/chunks/{modal.wU3uUJKq.js.map → modal.CuUUMIU_.js.map} +1 -1
  111. package/dist/chunks/{pagination.BM3FhtxJ.js → pagination.QF1EEUfX.js} +45 -45
  112. package/dist/chunks/{pagination.BM3FhtxJ.js.map → pagination.QF1EEUfX.js.map} +1 -1
  113. package/dist/chunks/{popover.DsUymZWJ.js → popover.nev0GndY.js} +2 -2
  114. package/dist/chunks/{popover.DsUymZWJ.js.map → popover.nev0GndY.js.map} +1 -1
  115. package/dist/chunks/radio-group.D1q0VKvv.js +229 -0
  116. package/dist/chunks/radio-group.D1q0VKvv.js.map +1 -0
  117. package/dist/chunks/{radio-input.C1DZbkcT.js → radio-input.uJAhxKRs.js} +29 -25
  118. package/dist/chunks/{radio-input.C1DZbkcT.js.map → radio-input.uJAhxKRs.js.map} +1 -1
  119. package/dist/chunks/{search-bar.rubkdbcD.js → search-bar.fmMx-zRN.js} +7 -7
  120. package/dist/chunks/{search-bar.rubkdbcD.js.map → search-bar.fmMx-zRN.js.map} +1 -1
  121. package/dist/chunks/{secondary-nav.DKSjc5bn.js → secondary-nav.ldVrzGbB.js} +7 -7
  122. package/dist/chunks/{secondary-nav.DKSjc5bn.js.map → secondary-nav.ldVrzGbB.js.map} +1 -1
  123. package/dist/chunks/{selection-card-group.iYyZ9yX4.js → selection-card-group.CdkrhyZV.js} +11 -11
  124. package/dist/chunks/{selection-card-group.iYyZ9yX4.js.map → selection-card-group.CdkrhyZV.js.map} +1 -1
  125. package/dist/chunks/{sidepanel.CQnLpV8A.js → sidepanel.D-KuHnwI.js} +5 -5
  126. package/dist/chunks/{sidepanel.CQnLpV8A.js.map → sidepanel.D-KuHnwI.js.map} +1 -1
  127. package/dist/chunks/{status.types.Cv6hHRMu.js → status.types.Ce018tQy.js} +18 -17
  128. package/dist/chunks/status.types.Ce018tQy.js.map +1 -0
  129. package/dist/chunks/{structured-list-item.BhBbmkbw.js → structured-list-item.Dk8Z-FPn.js} +5 -5
  130. package/dist/chunks/{structured-list-item.BhBbmkbw.js.map → structured-list-item.Dk8Z-FPn.js.map} +1 -1
  131. package/dist/chunks/{summary-grid-item-custom.CicAOBVQ.js → summary-grid-item-custom.atXX3GY9.js} +2 -2
  132. package/dist/chunks/{summary-grid-item-custom.CicAOBVQ.js.map → summary-grid-item-custom.atXX3GY9.js.map} +1 -1
  133. package/dist/chunks/{textarea.Cf21WMwL.js → textarea.BVzGn3zO.js} +2 -2
  134. package/dist/chunks/{textarea.Cf21WMwL.js.map → textarea.BVzGn3zO.js.map} +1 -1
  135. package/dist/chunks/{timeline-item.Cu5b-Mqj.js → timeline-item.D_YNHlRi.js} +13 -13
  136. package/dist/chunks/{timeline-item.Cu5b-Mqj.js.map → timeline-item.D_YNHlRi.js.map} +1 -1
  137. package/dist/chunks/{tutorial.w2ZqeOh1.js → tutorial.cQXPvqV4.js} +10 -10
  138. package/dist/chunks/{tutorial.w2ZqeOh1.js.map → tutorial.cQXPvqV4.js.map} +1 -1
  139. package/dist/chunks/{use-cached-selected-values.impKjAIS.js → use-cached-selected-values.BGlHmPhX.js} +10 -10
  140. package/dist/chunks/{use-cached-selected-values.impKjAIS.js.map → use-cached-selected-values.BGlHmPhX.js.map} +1 -1
  141. package/dist/chunks/{use-country-items.DPBbl1KK.js → use-country-items.eWARMT6I.js} +2 -2
  142. package/dist/chunks/{use-country-items.DPBbl1KK.js.map → use-country-items.eWARMT6I.js.map} +1 -1
  143. package/dist/code-snippet.js +1 -1
  144. package/dist/country.js +2 -2
  145. package/dist/dashboard-template.js +1 -1
  146. package/dist/dashed-underline.js +1 -1
  147. package/dist/data-grid-template.js +1 -1
  148. package/dist/data-grid.js +1 -1
  149. package/dist/date-picker.js +2 -2
  150. package/dist/date-range-picker.js +2 -2
  151. package/dist/divider.js +1 -1
  152. package/dist/dropdown.js +4 -4
  153. package/dist/file-uploader.js +1 -1
  154. package/dist/filter-bar.js +1 -1
  155. package/dist/form-layout.js +1 -1
  156. package/dist/header.js +1 -1
  157. package/dist/index.js +47 -47
  158. package/dist/input-field-password.js +1 -1
  159. package/dist/input-field.js +1 -1
  160. package/dist/inspector.js +1 -1
  161. package/dist/internal.js +8 -8
  162. package/dist/menu.js +1 -1
  163. package/dist/modal-fullscreen.js +1 -1
  164. package/dist/modal.js +2 -2
  165. package/dist/pagination.js +1 -1
  166. package/dist/popover.js +1 -1
  167. package/dist/radio-group.js +2 -2
  168. package/dist/search-bar.js +2 -2
  169. package/dist/secondary-nav.js +1 -1
  170. package/dist/selection-card.js +1 -1
  171. package/dist/sidepanel.js +1 -1
  172. package/dist/status.js +1 -1
  173. package/dist/structured-list.js +1 -1
  174. package/dist/styles/bento-dark.css +2 -0
  175. package/dist/styles/bento-light.css +2 -0
  176. package/dist/styles/bento.css +2 -0
  177. package/dist/styles/legacy.css +7 -5
  178. package/dist/styles/styleguide.css +2 -0
  179. package/dist/summary-grid.js +1 -1
  180. package/dist/textarea.js +1 -1
  181. package/dist/timeline.js +1 -1
  182. package/dist/tutorial.js +1 -1
  183. package/dist/web-types.json +42 -3
  184. package/package.json +12 -7
  185. package/dist/chunks/code-snippet.5iJcUZSo.js.map +0 -1
  186. package/dist/chunks/codemirror.CXFEqvAi.js.map +0 -1
  187. package/dist/chunks/date-picker.B7mTNghB.js.map +0 -1
  188. package/dist/chunks/date-range-picker.DPLri9D-.js.map +0 -1
  189. package/dist/chunks/divider.BZfeYmB9.js +0 -30
  190. package/dist/chunks/divider.BZfeYmB9.js.map +0 -1
  191. package/dist/chunks/dropdown.BqsoncJr.js.map +0 -1
  192. package/dist/chunks/es6.jIyAPBgt.js.map +0 -1
  193. package/dist/chunks/file-uploader.C6kcnhqp.js +0 -729
  194. package/dist/chunks/file-uploader.C6kcnhqp.js.map +0 -1
  195. package/dist/chunks/input-field.D6N2kt7s.js +0 -228
  196. package/dist/chunks/input-field.D6N2kt7s.js.map +0 -1
  197. package/dist/chunks/radio-group.DMob8x2J.js +0 -219
  198. package/dist/chunks/radio-group.DMob8x2J.js.map +0 -1
  199. package/dist/chunks/status.types.Cv6hHRMu.js.map +0 -1
@@ -1,22 +1,22 @@
1
- import { defineComponent as ue, computed as b, ref as F, watch as V, nextTick as Ee, toRef as L, reactive as he } from "vue";
2
- import { r as E, t as S, a as fe, g as Ne } from "./get-date-locale.BN8xEjY0.js";
3
- import { t as I, B as we, a as Te, f as ve } from "./date.1zs9CRhw.js";
1
+ import { defineComponent as ue, computed as T, ref as F, watch as H, nextTick as we, toRef as U, reactive as he } from "vue";
2
+ import { r as w, t as S, a as fe, g as Ee } from "./get-date-locale.BN8xEjY0.js";
3
+ import { t as I, B as Ne, a as Me, f as ve } from "./date.1zs9CRhw.js";
4
4
  import { e as te } from "./index.CrhTVr5J.js";
5
- import { B as be } from "./button.BX6ZJxF7.js";
5
+ import { B as Te } from "./button.BX6ZJxF7.js";
6
6
  import { B as ke } from "./typography.J1v_SPG3.js";
7
- import { u as Me } from "./i18n.BQkEbtPM.js";
7
+ import { u as be } from "./i18n.BQkEbtPM.js";
8
8
  import { g as Ie } from "./generate-uid.NJ8tVoha.js";
9
9
  import { C as xe, a as pe } from "./chevron-left.PIu6yPqe.js";
10
10
  import { a as Re } from "./keyboard-navigation.Clz1jOaA.js";
11
11
  import { n as le } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
12
12
  import "../assets/calendar.css";
13
13
  function q(e, t) {
14
- E(2, arguments);
14
+ w(2, arguments);
15
15
  var n = S(e), a = I(t);
16
16
  return isNaN(a) ? /* @__PURE__ */ new Date(NaN) : (a && n.setDate(n.getDate() + a), n);
17
17
  }
18
18
  function $(e, t) {
19
- E(2, arguments);
19
+ w(2, arguments);
20
20
  var n = S(e), a = I(t);
21
21
  if (isNaN(a))
22
22
  return /* @__PURE__ */ new Date(NaN);
@@ -28,27 +28,27 @@ function $(e, t) {
28
28
  return o >= u ? r : (n.setFullYear(r.getFullYear(), r.getMonth(), o), n);
29
29
  }
30
30
  function z(e, t) {
31
- E(1, arguments);
31
+ w(1, arguments);
32
32
  var n = t || {}, a = n.locale, o = a && a.options && a.options.weekStartsOn, r = o == null ? 0 : I(o), u = n.weekStartsOn == null ? r : I(n.weekStartsOn);
33
33
  if (!(u >= 0 && u <= 6))
34
34
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
35
35
  var s = S(e), v = s.getDay(), d = (v < u ? 7 : 0) + v - u;
36
36
  return s.setDate(s.getDate() - d), s.setHours(0, 0, 0, 0), s;
37
37
  }
38
- function C(e) {
39
- E(1, arguments);
38
+ function W(e) {
39
+ w(1, arguments);
40
40
  var t = S(e);
41
41
  return t.setHours(0, 0, 0, 0), t;
42
42
  }
43
43
  var Pe = 864e5;
44
44
  function Ae(e, t) {
45
- E(2, arguments);
46
- var n = C(e), a = C(t), o = n.getTime() - fe(n), r = a.getTime() - fe(a);
45
+ w(2, arguments);
46
+ var n = W(e), a = W(t), o = n.getTime() - fe(n), r = a.getTime() - fe(a);
47
47
  return Math.round((o - r) / Pe);
48
48
  }
49
49
  function X(e, t) {
50
- E(2, arguments);
51
- var n = C(e), a = C(t);
50
+ w(2, arguments);
51
+ var n = W(e), a = W(t);
52
52
  return n.getTime() === a.getTime();
53
53
  }
54
54
  function De(e, t) {
@@ -56,19 +56,19 @@ function De(e, t) {
56
56
  return n < 0 ? -1 : n > 0 ? 1 : n;
57
57
  }
58
58
  function Le(e, t) {
59
- E(2, arguments);
59
+ w(2, arguments);
60
60
  var n = S(e), a = S(t), o = De(n, a), r = Math.abs(Ae(n, a));
61
61
  n.setDate(n.getDate() - o * r);
62
62
  var u = +(De(n, a) === -o), s = o * (r - u);
63
63
  return s === 0 ? 0 : s;
64
64
  }
65
65
  function J(e) {
66
- E(1, arguments);
66
+ w(1, arguments);
67
67
  var t = S(e);
68
68
  return t.setDate(1), t.setHours(0, 0, 0, 0), t;
69
69
  }
70
70
  function Z(e, t) {
71
- E(1, arguments);
71
+ w(1, arguments);
72
72
  var n = t || {}, a = n.locale, o = a && a.options && a.options.weekStartsOn, r = o == null ? 0 : I(o), u = n.weekStartsOn == null ? r : I(n.weekStartsOn);
73
73
  if (!(u >= 0 && u <= 6))
74
74
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
@@ -76,41 +76,41 @@ function Z(e, t) {
76
76
  return s.setDate(s.getDate() + d), s.setHours(23, 59, 59, 999), s;
77
77
  }
78
78
  function Ue(e, t) {
79
- E(2, arguments);
79
+ w(2, arguments);
80
80
  var n = I(t);
81
81
  return q(e, -n);
82
82
  }
83
- function H(e, t) {
84
- E(2, arguments);
83
+ function V(e, t) {
84
+ w(2, arguments);
85
85
  var n = I(t);
86
86
  return $(e, -n);
87
87
  }
88
88
  function Ce(e, t) {
89
- E(2, arguments);
89
+ w(2, arguments);
90
90
  var n = S(e), a = S(t);
91
91
  return n.getTime() > a.getTime();
92
92
  }
93
93
  function We(e, t) {
94
- E(2, arguments);
94
+ w(2, arguments);
95
95
  var n = S(e), a = S(t);
96
96
  return n.getTime() < a.getTime();
97
97
  }
98
98
  function me(e, t) {
99
- E(2, arguments);
99
+ w(2, arguments);
100
100
  var n = S(e).getTime(), a = S(t.start).getTime(), o = S(t.end).getTime();
101
101
  if (!(a <= o))
102
102
  throw new RangeError("Invalid interval");
103
103
  return n >= a && n <= o;
104
104
  }
105
105
  function Ye(e, t, n) {
106
- E(2, arguments);
106
+ w(2, arguments);
107
107
  var a = {}, o = a.locale, r = o && o.options && o.options.weekStartsOn, u = r == null ? 0 : I(r), s = a.weekStartsOn == null ? u : I(a.weekStartsOn);
108
108
  if (!(s >= 0 && s <= 6))
109
109
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
110
110
  var v = S(e), d = I(t), D = v.getDay(), f = d % 7, i = (f + 7) % 7, c = 7 - s, m = d < 0 || d > 6 ? d - (D + c) % 7 : (i + c) % 7 - (D + c) % 7;
111
111
  return q(v, m);
112
112
  }
113
- var M = /* @__PURE__ */ ((e) => (e.SINGLE = "single", e.MIDDLE = "middle", e.BEGINNING = "beginning", e.END = "end", e))(M || {}), A = /* @__PURE__ */ ((e) => (e.SINGLE = "single", e.MIDDLE = "middle", e.BEGINNING = "beginning", e.END = "end", e.SELECTED = "selected", e.UNSELECTED = "unselected", e.CURRENT_DAY = "current-day", e.DISABLED = "disabled", e))(A || {}), B = /* @__PURE__ */ ((e) => (e.CLICK = "click", e.MOUSE_OVER = "mouseover", e))(B || {});
113
+ var b = /* @__PURE__ */ ((e) => (e.SINGLE = "single", e.MIDDLE = "middle", e.BEGINNING = "beginning", e.END = "end", e))(b || {}), A = /* @__PURE__ */ ((e) => (e.SINGLE = "single", e.MIDDLE = "middle", e.BEGINNING = "beginning", e.END = "end", e.SELECTED = "selected", e.UNSELECTED = "unselected", e.CURRENT_DAY = "current-day", e.DISABLED = "disabled", e))(A || {}), B = /* @__PURE__ */ ((e) => (e.CLICK = "click", e.MOUSE_OVER = "mouseover", e))(B || {});
114
114
  const Fe = {
115
115
  /**
116
116
  * Date to be displayed as the calendar day. From 1st to 31st (or end of the month defined in the date)
@@ -130,28 +130,28 @@ const Fe = {
130
130
  */
131
131
  variant: {
132
132
  type: String,
133
- default: M.SINGLE,
134
- validator: (e) => Object.values(M).includes(e)
133
+ default: b.SINGLE,
134
+ validator: (e) => Object.values(b).includes(e)
135
135
  }
136
136
  }, $e = ue({
137
137
  name: "calendar-month-day",
138
- components: { BentoDate: we },
138
+ components: { BentoDate: Ne },
139
139
  inheritAttrs: !0,
140
140
  props: Fe,
141
141
  emits: [B.CLICK, B.MOUSE_OVER],
142
142
  setup(e, { emit: t }) {
143
- const n = b(() => {
143
+ const n = T(() => {
144
144
  const r = /* @__PURE__ */ new Date();
145
145
  return e.day.getDate() === r.getDate() && e.day.getMonth() === r.getMonth() && e.day.getFullYear() === r.getFullYear();
146
146
  });
147
147
  return {
148
148
  // Values
149
- conditionalClasses: b(() => ({
149
+ conditionalClasses: T(() => ({
150
150
  // Variants
151
- [`b-calendar-month-day--${A.BEGINNING}`]: e.variant === M.BEGINNING,
152
- [`b-calendar-month-day--${A.MIDDLE}`]: e.variant === M.MIDDLE,
153
- [`b-calendar-month-day--${A.END}`]: e.variant === M.END,
154
- [`b-calendar-month-day--${A.SINGLE}`]: e.variant === M.SINGLE,
151
+ [`b-calendar-month-day--${A.BEGINNING}`]: e.variant === b.BEGINNING,
152
+ [`b-calendar-month-day--${A.MIDDLE}`]: e.variant === b.MIDDLE,
153
+ [`b-calendar-month-day--${A.END}`]: e.variant === b.END,
154
+ [`b-calendar-month-day--${A.SINGLE}`]: e.variant === b.SINGLE,
155
155
  // Selected
156
156
  [`b-calendar-month-day--${A.UNSELECTED}`]: !e.selected,
157
157
  [`b-calendar-month-day--${A.SELECTED}`]: e.selected,
@@ -161,7 +161,7 @@ const Fe = {
161
161
  [`b-calendar-month-day--${A.DISABLED}`]: e.disabled
162
162
  })),
163
163
  // Enums
164
- BentoDateFormat: Te,
164
+ BentoDateFormat: Me,
165
165
  CalendarMonthDayEvent: B,
166
166
  // Events
167
167
  onClick: (r, u) => {
@@ -185,9 +185,9 @@ var je = function() {
185
185
  null,
186
186
  "41eecb2a"
187
187
  );
188
- const He = Ge.exports;
188
+ const Ve = Ge.exports;
189
189
  var P = /* @__PURE__ */ ((e) => (e.INPUT = "input", e.MOUSE_OVER = "mouseover", e.NEXT_MONTH = "nextMonth", e.PREVIOUS_MONTH = "previousMonth", e))(P || {}), k = /* @__PURE__ */ ((e) => (e.FIRST = "first", e.LAST = "last", e.MIDDLE = "middle", e.UNIQUE = "unique", e))(k || {}), G = /* @__PURE__ */ ((e) => (e[e.MONDAY = 1] = "MONDAY", e[e.SATURDAY = 6] = "SATURDAY", e[e.SUNDAY = 0] = "SUNDAY", e))(G || {});
190
- function Ve(e) {
190
+ function He(e) {
191
191
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
192
192
  }
193
193
  var ae = { exports: {} }, ne = { exports: {} };
@@ -203,7 +203,7 @@ var ae = { exports: {} }, ne = { exports: {} };
203
203
  }
204
204
  e.exports = t.default;
205
205
  })(ne, ne.exports);
206
- var _e = ne.exports, re = { exports: {} }, oe = { exports: {} }, se = { exports: {} };
206
+ var ge = ne.exports, re = { exports: {} }, oe = { exports: {} }, se = { exports: {} };
207
207
  (function(e, t) {
208
208
  Object.defineProperty(t, "__esModule", {
209
209
  value: !0
@@ -235,7 +235,7 @@ var qe = oe.exports;
235
235
  Object.defineProperty(t, "__esModule", {
236
236
  value: !0
237
237
  }), t.default = u;
238
- var n = r(_e), a = r(qe), o = r(ie);
238
+ var n = r(ge), a = r(qe), o = r(ie);
239
239
  function r(s) {
240
240
  return s && s.__esModule ? s : { default: s };
241
241
  }
@@ -251,7 +251,7 @@ var Qe = re.exports;
251
251
  Object.defineProperty(t, "__esModule", {
252
252
  value: !0
253
253
  }), t.default = u;
254
- var n = r(_e), a = r(Qe), o = r(ie);
254
+ var n = r(ge), a = r(Qe), o = r(ie);
255
255
  function r(s) {
256
256
  return s && s.__esModule ? s : { default: s };
257
257
  }
@@ -263,9 +263,9 @@ var Qe = re.exports;
263
263
  e.exports = t.default;
264
264
  })(ae, ae.exports);
265
265
  var Ke = ae.exports;
266
- const ye = /* @__PURE__ */ Ve(Ke), Xe = ({ currentSelectedDate: e, month: t, isDateDisabled: n, firstDayOfWeek: a }, o) => {
266
+ const ye = /* @__PURE__ */ He(Ke), Xe = ({ currentSelectedDate: e, month: t, isDateDisabled: n, firstDayOfWeek: a }, o) => {
267
267
  const r = F(new Date(t.value));
268
- V(
268
+ H(
269
269
  t,
270
270
  () => {
271
271
  r.value = t.value;
@@ -273,26 +273,26 @@ const ye = /* @__PURE__ */ Ve(Ke), Xe = ({ currentSelectedDate: e, month: t, isD
273
273
  { immediate: !0 }
274
274
  );
275
275
  const u = F(new Date(e.value));
276
- V(e, () => {
276
+ H(e, () => {
277
277
  u.value = new Date(e.value);
278
278
  });
279
- const s = F({}), v = (l) => (_) => {
280
- s.value[l.toDateString()] = _;
279
+ const s = F({}), v = (l) => (g) => {
280
+ s.value[l.toDateString()] = g;
281
281
  }, d = () => {
282
282
  s.value = {};
283
283
  }, D = (l = 1) => {
284
284
  r.value = $(r.value, l), o(P.NEXT_MONTH, l), d();
285
285
  }, f = (l = 1) => {
286
- r.value = H(r.value, l), o(P.PREVIOUS_MONTH, l), d();
286
+ r.value = V(r.value, l), o(P.PREVIOUS_MONTH, l), d();
287
287
  }, i = (l) => {
288
- const _ = !!s.value[l == null ? void 0 : l.toDateString()];
289
- l && _ && s.value[l.toDateString()].$el.focus();
288
+ const g = !!s.value[l == null ? void 0 : l.toDateString()];
289
+ l && g && s.value[l.toDateString()].$el.focus();
290
290
  }, c = (l) => {
291
291
  l.preventDefault(), l.stopImmediatePropagation(), l.stopPropagation();
292
- }, m = ({ nextDate: l, isIncreasingDays: _, amountOfMonths: p, isCalendarButtonsNav: K }) => {
292
+ }, m = ({ nextDate: l, isIncreasingDays: g, amountOfMonths: p, isCalendarButtonsNav: K }) => {
293
293
  if (!K && n && n(l))
294
294
  return;
295
- l.getMonth() === u.value.getMonth() && l.getFullYear() === u.value.getFullYear() ? (u.value = l, i(l)) : (_ ? D(p) : f(p), Ee(() => {
295
+ l.getMonth() === u.value.getMonth() && l.getFullYear() === u.value.getFullYear() ? (u.value = l, i(l)) : (g ? D(p) : f(p), we(() => {
296
296
  const ee = l.getMonth() === r.value.getMonth() && l.getFullYear() === r.value.getFullYear();
297
297
  n && n(l) || !ee || K || (u.value = l, i(l));
298
298
  }));
@@ -344,45 +344,45 @@ const ye = /* @__PURE__ */ Ve(Ke), Xe = ({ currentSelectedDate: e, month: t, isD
344
344
  });
345
345
  },
346
346
  // PageUp
347
- moveToPreviousMonth: (l, _ = !1) => {
347
+ moveToPreviousMonth: (l, g = !1) => {
348
348
  c(l);
349
349
  const p = 1;
350
350
  m({
351
- nextDate: H(u.value, p),
351
+ nextDate: V(u.value, p),
352
352
  isIncreasingDays: !1,
353
353
  amountOfMonths: p,
354
- isCalendarButtonsNav: _
354
+ isCalendarButtonsNav: g
355
355
  });
356
356
  },
357
357
  // Shift+PageUp
358
358
  moveToPreviousYear: (l) => {
359
359
  c(l);
360
- const _ = 12;
360
+ const g = 12;
361
361
  m({
362
- nextDate: H(u.value, _),
362
+ nextDate: V(u.value, g),
363
363
  isIncreasingDays: !1,
364
- amountOfMonths: _
364
+ amountOfMonths: g
365
365
  });
366
366
  },
367
367
  // PageDown
368
- moveToNextMonth: (l, _ = !1) => {
368
+ moveToNextMonth: (l, g = !1) => {
369
369
  c(l);
370
370
  const p = 1;
371
371
  m({
372
372
  nextDate: $(u.value, p),
373
373
  isIncreasingDays: !0,
374
374
  amountOfMonths: p,
375
- isCalendarButtonsNav: _
375
+ isCalendarButtonsNav: g
376
376
  });
377
377
  },
378
378
  // Shift-PageDown
379
379
  moveToNextYear: (l) => {
380
380
  c(l);
381
- const _ = 12;
381
+ const g = 12;
382
382
  m({
383
- nextDate: $(u.value, _),
383
+ nextDate: $(u.value, g),
384
384
  isIncreasingDays: !0,
385
- amountOfMonths: _
385
+ amountOfMonths: g
386
386
  });
387
387
  },
388
388
  // Values
@@ -398,9 +398,9 @@ const ye = /* @__PURE__ */ Ve(Ke), Xe = ({ currentSelectedDate: e, month: t, isD
398
398
  i18n: { messages: ze },
399
399
  name: "calendar-month",
400
400
  components: {
401
- BentoButton: be,
401
+ BentoButton: Te,
402
402
  BentoTypography: ke,
403
- CalendarMonthDay: He,
403
+ CalendarMonthDay: Ve,
404
404
  ChevronLeftIcon: pe,
405
405
  ChevronRightIcon: xe
406
406
  },
@@ -461,10 +461,10 @@ const ye = /* @__PURE__ */ Ve(Ke), Xe = ({ currentSelectedDate: e, month: t, isD
461
461
  P.MOUSE_OVER
462
462
  ],
463
463
  setup(e, { emit: t }) {
464
- const { locale: n, t: a } = Me(), o = Ne(), r = Ie("bento-date-picker-month-label"), u = b(
465
- () => (g) => {
464
+ const { locale: n, t: a } = be(), o = Ee(), r = Ie("bento-date-picker-month-label"), u = T(
465
+ () => (_) => {
466
466
  var R;
467
- return e.min && g < e.min || e.max && g > e.max || ((R = e.isDateDisabled) == null ? void 0 : R.call(e, g));
467
+ return e.min && _ < e.min || e.max && _ > e.max || ((R = e.isDateDisabled) == null ? void 0 : R.call(e, _));
468
468
  }
469
469
  ), {
470
470
  internalDate: s,
@@ -478,67 +478,67 @@ const ye = /* @__PURE__ */ Ve(Ke), Xe = ({ currentSelectedDate: e, month: t, isD
478
478
  moveToNextDay: i,
479
479
  moveToPreviousDay: c,
480
480
  moveToPreviousWeek: m,
481
- moveToNextWeek: W,
481
+ moveToNextWeek: L,
482
482
  moveToFirstDayOfWeek: Q,
483
483
  moveToLastDayOfWeek: y,
484
484
  moveToPreviousMonth: h,
485
- moveToPreviousYear: w,
485
+ moveToPreviousYear: N,
486
486
  moveToNextMonth: O,
487
487
  moveToNextYear: x,
488
- focusOnDate: N
488
+ focusOnDate: E
489
489
  } = Xe(
490
490
  {
491
- currentSelectedDate: L(e, "startDate"),
492
- month: L(e, "month"),
491
+ currentSelectedDate: U(e, "startDate"),
492
+ month: U(e, "month"),
493
493
  isDateDisabled: u.value,
494
494
  firstDayOfWeek: e.firstDayOfWeek
495
495
  },
496
496
  t
497
- ), T = b(
497
+ ), M = T(
498
498
  () => Object.values(G).includes(e.firstDayOfWeek) ? e.firstDayOfWeek : G.MONDAY
499
- ), ce = b(
499
+ ), ce = T(
500
500
  () => [k.FIRST, k.UNIQUE].includes(e.position)
501
- ), l = b(
501
+ ), l = T(
502
502
  () => [k.LAST, k.UNIQUE].includes(e.position)
503
- ), _ = b(
503
+ ), g = T(
504
504
  () => ve(v.value, "MMMM yyyy", {
505
505
  locale: o[n.value.substring(0, 2)] || o.enUS
506
506
  })
507
- ), p = b(
508
- () => new Array(7).fill(/* @__PURE__ */ new Date()).map((g, R) => {
509
- const j = Ye(g, T.value + R);
507
+ ), p = T(
508
+ () => new Array(7).fill(/* @__PURE__ */ new Date()).map((_, R) => {
509
+ const j = Ye(_, M.value + R);
510
510
  return ve(j, "EEE", {
511
511
  locale: o[n.value.substring(0, 2)] || o.enUS
512
512
  });
513
513
  })
514
- ), K = b(() => {
515
- const g = [], R = J(e.month);
516
- let j = g[g.push([]) - 1];
514
+ ), K = T(() => {
515
+ const _ = [], R = J(e.month);
516
+ let j = _[_.push([]) - 1];
517
517
  for (; R.getMonth() === e.month.getMonth(); )
518
- R.getDay() - T.value === 0 && j.length > 0 && (j = g[g.push([]) - 1]), j.push(C(R)), R.setDate(R.getDate() + 1);
519
- return g;
520
- }), de = (g) => {
521
- t(P.INPUT, g);
522
- }, ee = (g) => {
518
+ R.getDay() - M.value === 0 && j.length > 0 && (j = _[_.push([]) - 1]), j.push(W(R)), R.setDate(R.getDate() + 1);
519
+ return _;
520
+ }), de = (_) => {
521
+ t(P.INPUT, _);
522
+ }, ee = (_) => {
523
523
  if (!e.isRange || X(e.startDate, e.endDate))
524
- return M.SINGLE;
525
- if (e.startDate && X(e.startDate, g))
526
- return M.BEGINNING;
527
- if (e.endDate && X(e.endDate, g))
528
- return M.END;
529
- if (e.startDate && e.endDate && me(g, { start: e.startDate, end: e.endDate }))
530
- return M.MIDDLE;
531
- }, ge = (g) => s.value && X(s.value, g) ? !0 : e.startDate && e.endDate && me(g, { start: e.startDate, end: e.endDate }), Oe = () => {
524
+ return b.SINGLE;
525
+ if (e.startDate && X(e.startDate, _))
526
+ return b.BEGINNING;
527
+ if (e.endDate && X(e.endDate, _))
528
+ return b.END;
529
+ if (e.startDate && e.endDate && me(_, { start: e.startDate, end: e.endDate }))
530
+ return b.MIDDLE;
531
+ }, _e = (_) => s.value && X(s.value, _) ? !0 : e.startDate && e.endDate && me(_, { start: e.startDate, end: e.endDate }), Oe = () => {
532
532
  t(P.INPUT, s);
533
533
  }, Se = e.isRange ? {} : {
534
534
  "keydown:arrow-right": i,
535
535
  "keydown:arrow-left": c,
536
536
  "keydown:arrow-up": m,
537
- "keydown:arrow-down": W,
537
+ "keydown:arrow-down": L,
538
538
  "keydown:home": Q,
539
539
  "keydown:end": y,
540
540
  "keydown:page-up": h,
541
- "keydown:shift-page-up": w,
541
+ "keydown:shift-page-up": N,
542
542
  "keydown:page-down": O,
543
543
  "keydown:shift-page-down": x
544
544
  };
@@ -549,14 +549,14 @@ const ye = /* @__PURE__ */ Ve(Ke), Xe = ({ currentSelectedDate: e, month: t, isD
549
549
  computedIsDateDisabled: u,
550
550
  daysOfWeek: p,
551
551
  weeksOfMonth: K,
552
- formattedMonthDate: _,
552
+ formattedMonthDate: g,
553
553
  shouldShowNextMonthButton: l,
554
554
  shouldShowPreviousMonthButton: ce,
555
555
  monthLabelId: r,
556
556
  // Enums
557
557
  CalendarMonthEvent: P,
558
558
  // Functions
559
- isSelectedDate: ge,
559
+ isSelectedDate: _e,
560
560
  showNextMonth: D,
561
561
  showPreviousMonth: f,
562
562
  dayVariant: ee,
@@ -565,15 +565,15 @@ const ye = /* @__PURE__ */ Ve(Ke), Xe = ({ currentSelectedDate: e, month: t, isD
565
565
  onDayClicked: de,
566
566
  listeners: Se,
567
567
  // Exposed methods
568
- focusOnDate: N,
568
+ focusOnDate: E,
569
569
  moveToNextDay: i,
570
570
  moveToPreviousDay: c,
571
571
  moveToPreviousWeek: m,
572
- moveToNextWeek: W,
572
+ moveToNextWeek: L,
573
573
  moveToFirstDayOfWeek: Q,
574
574
  moveToLastDayOfWeek: y,
575
575
  moveToPreviousMonth: h,
576
- moveToPreviousYear: w,
576
+ moveToPreviousYear: N,
577
577
  moveToNextMonth: O,
578
578
  moveToNextYear: x,
579
579
  // Translations
@@ -609,13 +609,13 @@ var Ze = function() {
609
609
  "d597875d"
610
610
  );
611
611
  const Y = tt.exports;
612
- var U = /* @__PURE__ */ ((e) => (e.INPUT = "input", e.START_DATE_SELECTED = "start-date-selected", e.END_DATE_SELECTED = "end-date-selected", e))(U || {});
612
+ var C = /* @__PURE__ */ ((e) => (e.INPUT = "input", e.START_DATE_SELECTED = "start-date-selected", e.END_DATE_SELECTED = "end-date-selected", e))(C || {});
613
613
  const at = ({ selectedDate: e }, t) => {
614
614
  const n = he({
615
615
  startDate: null,
616
616
  endDate: null
617
617
  });
618
- return V(
618
+ return H(
619
619
  () => e.value,
620
620
  () => {
621
621
  n.startDate = e.value, n.endDate = void 0;
@@ -624,7 +624,7 @@ const at = ({ selectedDate: e }, t) => {
624
624
  ), {
625
625
  internalValue: n,
626
626
  onDateInput: (o) => {
627
- t(U.INPUT, o);
627
+ t(C.INPUT, o);
628
628
  },
629
629
  // Empty function to prevent the listeners from throwing a warning
630
630
  // eslint-disable-next-line @typescript-eslint/no-empty-function
@@ -666,44 +666,44 @@ const at = ({ selectedDate: e }, t) => {
666
666
  startDate: null,
667
667
  endDate: null
668
668
  }), c = F(null);
669
- V(
669
+ H(
670
670
  () => e.value,
671
671
  () => {
672
672
  let { startDate: y = null, endDate: h = null } = e.value || {};
673
- y && (y = C(y)), h && (h = C(h)), !(y && t && t(y) || h && t && t(h) || y && h && Ce(y, h)) && (i.startDate = y, i.endDate = h);
673
+ y && (y = W(y)), h && (h = W(h)), !(y && t && t(y) || h && t && t(h) || y && h && Ce(y, h)) && (i.startDate = y, i.endDate = h);
674
674
  },
675
675
  { immediate: !0, deep: !0 }
676
676
  );
677
- const m = (y, h, w) => {
677
+ const m = (y, h, N) => {
678
678
  if (i.startDate = y, i.endDate = h, n.value) {
679
679
  const O = Le(h, y) - n.value;
680
- O > 0 && (w < 1 ? (i.startDate = y, i.endDate = Ue(h, O)) : (i.startDate = q(y, O), i.endDate = h));
680
+ O > 0 && (N < 1 ? (i.startDate = y, i.endDate = Ue(h, O)) : (i.startDate = q(y, O), i.endDate = h));
681
681
  }
682
- s(U.START_DATE_SELECTED, i.startDate), s(U.END_DATE_SELECTED, i.endDate);
683
- }, W = (y) => {
684
- var h, w, O, x;
682
+ s(C.START_DATE_SELECTED, i.startDate), s(C.END_DATE_SELECTED, i.endDate);
683
+ }, L = (y) => {
684
+ var h, N, O, x;
685
685
  if (!(!c.value || t && t(y)))
686
686
  if (We(y, c.value)) {
687
687
  if (((h = a == null ? void 0 : a.value) == null ? void 0 : h.type) === "weekly") {
688
- const { startDate: N, endDate: T } = D(y, c.value, r.value, u.value);
689
- m(N, T, -1);
688
+ const { startDate: E, endDate: M } = D(y, c.value, r.value, u.value);
689
+ m(E, M, -1);
690
690
  return;
691
691
  }
692
- if (((w = a == null ? void 0 : a.value) == null ? void 0 : w.type) === "monthly") {
693
- const { startDate: N, endDate: T } = f(y, c.value, r.value, u.value);
694
- m(N, T, -1);
692
+ if (((N = a == null ? void 0 : a.value) == null ? void 0 : N.type) === "monthly") {
693
+ const { startDate: E, endDate: M } = f(y, c.value, r.value, u.value);
694
+ m(E, M, -1);
695
695
  return;
696
696
  }
697
697
  m(y, c.value, -1);
698
698
  } else {
699
699
  if (((O = a == null ? void 0 : a.value) == null ? void 0 : O.type) === "weekly") {
700
- const { startDate: N, endDate: T } = D(c.value, y, r.value, u.value);
701
- m(N, T, 1);
700
+ const { startDate: E, endDate: M } = D(c.value, y, r.value, u.value);
701
+ m(E, M, 1);
702
702
  return;
703
703
  }
704
704
  if (((x = a == null ? void 0 : a.value) == null ? void 0 : x.type) === "monthly") {
705
- const { startDate: N, endDate: T } = f(c.value, y, r.value, u.value);
706
- m(N, T, 1);
705
+ const { startDate: E, endDate: M } = f(c.value, y, r.value, u.value);
706
+ m(E, M, 1);
707
707
  return;
708
708
  }
709
709
  m(c.value, y, 1);
@@ -712,23 +712,23 @@ const at = ({ selectedDate: e }, t) => {
712
712
  return {
713
713
  internalValue: i,
714
714
  onDateInput: (y) => {
715
- var h, w;
715
+ var h, N;
716
716
  if (c.value)
717
- c.value = null, s(U.INPUT, i);
717
+ c.value = null, s(C.INPUT, i);
718
718
  else {
719
719
  let O = y;
720
720
  if (((h = a == null ? void 0 : a.value) == null ? void 0 : h.type) === "weekly") {
721
- const { startDate: x, endDate: N } = D(y);
722
- O = x, m(O, N);
721
+ const { startDate: x, endDate: E } = D(y);
722
+ O = x, m(O, E);
723
723
  }
724
- if (((w = a == null ? void 0 : a.value) == null ? void 0 : w.type) === "monthly") {
725
- const { startDate: x, endDate: N } = f(y);
726
- O = x, m(O, N);
724
+ if (((N = a == null ? void 0 : a.value) == null ? void 0 : N.type) === "monthly") {
725
+ const { startDate: x, endDate: E } = f(y);
726
+ O = x, m(O, E);
727
727
  }
728
- c.value = O, W(O);
728
+ c.value = O, L(O);
729
729
  }
730
730
  },
731
- onMouseOver: W
731
+ onMouseOver: L
732
732
  };
733
733
  }, ot = ue({
734
734
  name: "calendar",
@@ -781,20 +781,33 @@ const at = ({ selectedDate: e }, t) => {
781
781
  * Selected date. Can be a single Date or a CalendarRangeDate
782
782
  * instance that contains startDate and endDate attributes.
783
783
  */
784
- value: { type: [Date, Object], default: void 0 }
784
+ value: { type: [Date, Object], default: void 0 },
785
+ /**
786
+ * Default start date for the calendar pane
787
+ */
788
+ defaultDisplayMonth: {
789
+ type: String,
790
+ default: null,
791
+ validator: (e) => /^\d{4}-(0?[1-9]|1[012])(-(0?[1-9]|[12][0-9]|3[01]))?$/.test(e)
792
+ }
785
793
  },
786
- emit: [U.INPUT, U.START_DATE_SELECTED, U.END_DATE_SELECTED],
794
+ emit: [C.INPUT, C.START_DATE_SELECTED, C.END_DATE_SELECTED],
787
795
  setup(e, { emit: t }) {
788
796
  const n = F(null), a = F();
789
- V(
797
+ H(
790
798
  () => e.value,
791
799
  () => {
792
800
  var i, c, m;
793
- e.isRange ? a.value = e != null && e.showEndDateOnOpen && ((i = e.value) != null && i.endDate) ? (c = e.value) == null ? void 0 : c.endDate : ((m = e.value) == null ? void 0 : m.startDate) || /* @__PURE__ */ new Date() : a.value = e.value || /* @__PURE__ */ new Date();
801
+ if (e.isRange)
802
+ a.value = e != null && e.showEndDateOnOpen && ((i = e.value) != null && i.endDate) ? (c = e.value) == null ? void 0 : c.endDate : ((m = e.value) == null ? void 0 : m.startDate) || /* @__PURE__ */ new Date();
803
+ else {
804
+ const L = e.defaultDisplayMonth && new Date(e.defaultDisplayMonth).getTime() ? new Date(e.defaultDisplayMonth) : /* @__PURE__ */ new Date();
805
+ a.value = e.value || L;
806
+ }
794
807
  },
795
808
  { immediate: !0 }
796
809
  );
797
- const o = b(() => ({
810
+ const o = T(() => ({
798
811
  "b-calendar__range": e.isRange
799
812
  })), {
800
813
  internalValue: r,
@@ -802,23 +815,23 @@ const at = ({ selectedDate: e }, t) => {
802
815
  onMouseOver: s
803
816
  } = e.isRange ? rt(
804
817
  {
805
- selectedDate: L(e, "value"),
818
+ selectedDate: U(e, "value"),
806
819
  isDateDisabled: e.isDateDisabled,
807
- maxRange: L(e, "maxRange"),
808
- granularity: L(e, "granularity"),
820
+ maxRange: U(e, "maxRange"),
821
+ granularity: U(e, "granularity"),
809
822
  firstDayOfWeek: e.firstDayOfWeek,
810
- min: L(e, "min"),
811
- max: L(e, "max")
823
+ min: U(e, "min"),
824
+ max: U(e, "max")
812
825
  },
813
826
  t
814
827
  ) : at(
815
828
  {
816
- selectedDate: L(e, "value"),
829
+ selectedDate: U(e, "value"),
817
830
  firstDayOfWeek: e.firstDayOfWeek
818
831
  },
819
832
  t
820
- ), v = (i) => e.numberOfMonths === 1 ? k.UNIQUE : i === 0 ? k.FIRST : i === e.numberOfMonths - 1 ? k.LAST : k.MIDDLE, d = b(() => (i) => {
821
- const c = e != null && e.showEndDateOnOpen && e.isRange ? H(a.value, e.numberOfMonths - 1) : a.value;
833
+ ), v = (i) => e.numberOfMonths === 1 ? k.UNIQUE : i === 0 ? k.FIRST : i === e.numberOfMonths - 1 ? k.LAST : k.MIDDLE, d = T(() => (i) => {
834
+ const c = e != null && e.showEndDateOnOpen && e.isRange ? V(a.value, e.numberOfMonths - 1) : a.value;
822
835
  return $(c, i);
823
836
  });
824
837
  return {
@@ -838,7 +851,7 @@ const at = ({ selectedDate: e }, t) => {
838
851
  a.value = $(a.value, i);
839
852
  },
840
853
  calculatePreviousMonths: (i = 1) => {
841
- a.value = H(a.value, i);
854
+ a.value = V(a.value, i);
842
855
  }
843
856
  };
844
857
  }
@@ -854,13 +867,13 @@ var st = function() {
854
867
  ut,
855
868
  !1,
856
869
  null,
857
- "342835bb"
870
+ "267f7f0c"
858
871
  );
859
872
  const Ot = lt.exports;
860
873
  export {
861
874
  G as C,
862
875
  Ot as a,
863
- U as b,
876
+ C as b,
864
877
  z as c,
865
878
  q as d,
866
879
  Z as e,
@@ -868,8 +881,8 @@ export {
868
881
  J as g,
869
882
  $ as h,
870
883
  X as i,
871
- H as j,
872
- C as s,
884
+ V as j,
885
+ W as s,
873
886
  nt as u
874
887
  };
875
- //# sourceMappingURL=calendar.BouORZfb.js.map
888
+ //# sourceMappingURL=calendar.DlOcbH6E.js.map