@adyen/bento-vue3 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 +128 -47
  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.DfOb4Pyx.js → accordion-item.LeB4jteX.js} +5 -5
  32. package/dist/chunks/{accordion-item.DfOb4Pyx.js.map → accordion-item.LeB4jteX.js.map} +1 -1
  33. package/dist/chunks/{action-bar.CmDQZkM2.js → action-bar.BN-AoRn0.js} +11 -11
  34. package/dist/chunks/{action-bar.CmDQZkM2.js.map → action-bar.BN-AoRn0.js.map} +1 -1
  35. package/dist/chunks/{alert.D1Ax6AnI.js → alert.DTX7XqPC.js} +7 -7
  36. package/dist/chunks/{alert.D1Ax6AnI.js.map → alert.DTX7XqPC.js.map} +1 -1
  37. package/dist/chunks/{base-modal.DbJYaHyG.js → base-modal.BsD3EOCY.js} +5 -5
  38. package/dist/chunks/{base-modal.DbJYaHyG.js.map → base-modal.BsD3EOCY.js.map} +1 -1
  39. package/dist/chunks/{button-actions-with-menu.BUyecZNi.js → button-actions-with-menu.CUL1q1Ca.js} +4 -4
  40. package/dist/chunks/{button-actions-with-menu.BUyecZNi.js.map → button-actions-with-menu.CUL1q1Ca.js.map} +1 -1
  41. package/dist/chunks/{button-actions.CShVMUOC.js → button-actions.DBgK5Qwo.js} +5 -5
  42. package/dist/chunks/{button-actions.CShVMUOC.js.map → button-actions.DBgK5Qwo.js.map} +1 -1
  43. package/dist/chunks/{calendar.1qqtC8ba.js → calendar.CKY08nCx.js} +120 -107
  44. package/dist/chunks/{calendar.1qqtC8ba.js.map → calendar.CKY08nCx.js.map} +1 -1
  45. package/dist/chunks/{card.rkMUtirc.js → card.BUBXMpP5.js} +10 -10
  46. package/dist/chunks/{card.rkMUtirc.js.map → card.BUBXMpP5.js.map} +1 -1
  47. package/dist/chunks/{checkbox-group.PTNxE0kL.js → checkbox-group.DOAFzAX-.js} +4 -4
  48. package/dist/chunks/{checkbox-group.PTNxE0kL.js.map → checkbox-group.DOAFzAX-.js.map} +1 -1
  49. package/dist/chunks/{checkbox.D9FJcICR.js → checkbox.J51-tG4g.js} +22 -22
  50. package/dist/chunks/{checkbox.D9FJcICR.js.map → checkbox.J51-tG4g.js.map} +1 -1
  51. package/dist/chunks/code-snippet.CUzz3c-V.js +422 -0
  52. package/dist/chunks/code-snippet.CUzz3c-V.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.BHxcGQ2A.js → controls-group.CjqybvY2.js} +2 -2
  56. package/dist/chunks/{controls-group.BHxcGQ2A.js.map → controls-group.CjqybvY2.js.map} +1 -1
  57. package/dist/chunks/{copy.DAMq-zRP.js → copy.VRsofU-g.js} +5 -5
  58. package/dist/chunks/{copy.DAMq-zRP.js.map → copy.VRsofU-g.js.map} +1 -1
  59. package/dist/chunks/{country.Cv_8NTmw.js → country.D2t_VEYd.js} +2 -2
  60. package/dist/chunks/{country.Cv_8NTmw.js.map → country.D2t_VEYd.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.Buh9mb22.js → dashboard-section.BAJgkMXW.js} +3 -3
  64. package/dist/chunks/{dashboard-section.Buh9mb22.js.map → dashboard-section.BAJgkMXW.js.map} +1 -1
  65. package/dist/chunks/{dashed-underline.DYVSwQtH.js → dashed-underline.B_eVv1aB.js} +2 -2
  66. package/dist/chunks/{dashed-underline.DYVSwQtH.js.map → dashed-underline.B_eVv1aB.js.map} +1 -1
  67. package/dist/chunks/{data-grid-template.B6xmEgaM.js → data-grid-template.DrwGj6Yq.js} +2 -2
  68. package/dist/chunks/{data-grid-template.B6xmEgaM.js.map → data-grid-template.DrwGj6Yq.js.map} +1 -1
  69. package/dist/chunks/{data-grid.DVc9qzLU.js → data-grid.V4b5UdXZ.js} +46 -46
  70. package/dist/chunks/{data-grid.DVc9qzLU.js.map → data-grid.V4b5UdXZ.js.map} +1 -1
  71. package/dist/chunks/{date-picker.Bt4fyPQ4.js → date-picker.DjuQyWzZ.js} +45 -36
  72. package/dist/chunks/date-picker.DjuQyWzZ.js.map +1 -0
  73. package/dist/chunks/{date-range-picker.Bna_2pBL.js → date-range-picker.CmxXWnBc.js} +328 -324
  74. package/dist/chunks/date-range-picker.CmxXWnBc.js.map +1 -0
  75. package/dist/chunks/divider.qUOSAbU6.js +33 -0
  76. package/dist/chunks/divider.qUOSAbU6.js.map +1 -0
  77. package/dist/chunks/{dropdown-default-textbox.ipIFhyWZ.js → dropdown-default-textbox.Dl8Jv2bS.js} +4 -4
  78. package/dist/chunks/{dropdown-default-textbox.ipIFhyWZ.js.map → dropdown-default-textbox.Dl8Jv2bS.js.map} +1 -1
  79. package/dist/chunks/{dropdown-tag.DLyxItIS.js → dropdown-tag.D8hXRrMj.js} +4 -4
  80. package/dist/chunks/{dropdown-tag.DLyxItIS.js.map → dropdown-tag.D8hXRrMj.js.map} +1 -1
  81. package/dist/chunks/{dropdown.CZDXXpKe.js → dropdown.BWu3fV-K.js} +263 -256
  82. package/dist/chunks/dropdown.BWu3fV-K.js.map +1 -0
  83. package/dist/chunks/{error-message.BVE3JdTq.js → error-message.qsc0nOWT.js} +8 -8
  84. package/dist/chunks/{error-message.BVE3JdTq.js.map → error-message.qsc0nOWT.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.BNGBBltW.js +2226 -0
  88. package/dist/chunks/file-uploader.BNGBBltW.js.map +1 -0
  89. package/dist/chunks/{filter-bar.oihCCt5N.js → filter-bar.Db-KfD-S.js} +53 -53
  90. package/dist/chunks/{filter-bar.oihCCt5N.js.map → filter-bar.Db-KfD-S.js.map} +1 -1
  91. package/dist/chunks/{footer-actions.n0JIXO4Q.js → footer-actions.BG8-pOU-.js} +2 -2
  92. package/dist/chunks/{footer-actions.n0JIXO4Q.js.map → footer-actions.BG8-pOU-.js.map} +1 -1
  93. package/dist/chunks/{form-layout-title.srkVLEUW.js → form-layout-title._25l9_Xm.js} +2 -2
  94. package/dist/chunks/{form-layout-title.srkVLEUW.js.map → form-layout-title._25l9_Xm.js.map} +1 -1
  95. package/dist/chunks/{header.CAHXObTT.js → header.vPx_0dwO.js} +4 -4
  96. package/dist/chunks/{header.CAHXObTT.js.map → header.vPx_0dwO.js.map} +1 -1
  97. package/dist/chunks/{info-icon-with-popover.DFv8U4sh.js → info-icon-with-popover.CieLDo3g.js} +5 -5
  98. package/dist/chunks/{info-icon-with-popover.DFv8U4sh.js.map → info-icon-with-popover.CieLDo3g.js.map} +1 -1
  99. package/dist/chunks/{input-field-password.DedPkZxg.js → input-field-password.CS7rxMCK.js} +80 -80
  100. package/dist/chunks/{input-field-password.DedPkZxg.js.map → input-field-password.CS7rxMCK.js.map} +1 -1
  101. package/dist/chunks/{input-field.3PUv6XC3.js → input-field.Cx4fMIb7.js} +126 -117
  102. package/dist/chunks/input-field.Cx4fMIb7.js.map +1 -0
  103. package/dist/chunks/{inspector.types.Dr0D250X.js → inspector.types.DQQN1eqF.js} +5 -5
  104. package/dist/chunks/{inspector.types.Dr0D250X.js.map → inspector.types.DQQN1eqF.js.map} +1 -1
  105. package/dist/chunks/{menu.Dmzh3Uat.js → menu.CihQsfY6.js} +5 -5
  106. package/dist/chunks/{menu.Dmzh3Uat.js.map → menu.CihQsfY6.js.map} +1 -1
  107. package/dist/chunks/{modal-fullscreen.BazQAAU1.js → modal-fullscreen.D39_mhdY.js} +5 -5
  108. package/dist/chunks/{modal-fullscreen.BazQAAU1.js.map → modal-fullscreen.D39_mhdY.js.map} +1 -1
  109. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.C8vZDtlE.js → modal.vue_vue_type_script_setup_true_lang.BHd_MGgH.js} +4 -4
  110. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.C8vZDtlE.js.map → modal.vue_vue_type_script_setup_true_lang.BHd_MGgH.js.map} +1 -1
  111. package/dist/chunks/{pagination.BCC3GZV5.js → pagination.CbzgV2xT.js} +45 -45
  112. package/dist/chunks/{pagination.BCC3GZV5.js.map → pagination.CbzgV2xT.js.map} +1 -1
  113. package/dist/chunks/{popover.3KG1IoYE.js → popover.Bzb-pzfB.js} +2 -2
  114. package/dist/chunks/{popover.3KG1IoYE.js.map → popover.Bzb-pzfB.js.map} +1 -1
  115. package/dist/chunks/{radio-group.CeiSaH6M.js → radio-group.DkfCMh_u.js} +107 -94
  116. package/dist/chunks/radio-group.DkfCMh_u.js.map +1 -0
  117. package/dist/chunks/{radio-input.0TPahhZT.js → radio-input.DKfQGxtp.js} +27 -23
  118. package/dist/chunks/{radio-input.0TPahhZT.js.map → radio-input.DKfQGxtp.js.map} +1 -1
  119. package/dist/chunks/{search-bar.BZDJJtWB.js → search-bar.BTu1j3Ll.js} +7 -7
  120. package/dist/chunks/{search-bar.BZDJJtWB.js.map → search-bar.BTu1j3Ll.js.map} +1 -1
  121. package/dist/chunks/{secondary-nav.qm-rh-r6.js → secondary-nav.Bqvz5hjH.js} +8 -8
  122. package/dist/chunks/{secondary-nav.qm-rh-r6.js.map → secondary-nav.Bqvz5hjH.js.map} +1 -1
  123. package/dist/chunks/{selection-card-group.DPGh4nwl.js → selection-card-group.BHYvAL-T.js} +12 -12
  124. package/dist/chunks/{selection-card-group.DPGh4nwl.js.map → selection-card-group.BHYvAL-T.js.map} +1 -1
  125. package/dist/chunks/{sidepanel.DxSdFwm1.js → sidepanel.Bk35AAFF.js} +5 -5
  126. package/dist/chunks/{sidepanel.DxSdFwm1.js.map → sidepanel.Bk35AAFF.js.map} +1 -1
  127. package/dist/chunks/status.types.DsYAH3RM.js +45 -0
  128. package/dist/chunks/status.types.DsYAH3RM.js.map +1 -0
  129. package/dist/chunks/{structured-list-item.DpI6jzfM.js → structured-list-item.wpnBS69h.js} +5 -5
  130. package/dist/chunks/{structured-list-item.DpI6jzfM.js.map → structured-list-item.wpnBS69h.js.map} +1 -1
  131. package/dist/chunks/{summary-grid-item-custom.DCNWMasy.js → summary-grid-item-custom.C8AD1NAh.js} +2 -2
  132. package/dist/chunks/{summary-grid-item-custom.DCNWMasy.js.map → summary-grid-item-custom.C8AD1NAh.js.map} +1 -1
  133. package/dist/chunks/{textarea.CCr8inwI.js → textarea.C0k8by9A.js} +2 -2
  134. package/dist/chunks/{textarea.CCr8inwI.js.map → textarea.C0k8by9A.js.map} +1 -1
  135. package/dist/chunks/{timeline-item.DG9YaOiC.js → timeline-item.CYw68jQr.js} +13 -13
  136. package/dist/chunks/{timeline-item.DG9YaOiC.js.map → timeline-item.CYw68jQr.js.map} +1 -1
  137. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.CQ0vEvB4.js → tutorial.vue_vue_type_script_setup_true_lang.CjlNffBI.js} +10 -10
  138. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.CQ0vEvB4.js.map → tutorial.vue_vue_type_script_setup_true_lang.CjlNffBI.js.map} +1 -1
  139. package/dist/chunks/{use-cached-selected-values.BBD_AA1m.js → use-cached-selected-values.YAg3m-Af.js} +10 -10
  140. package/dist/chunks/{use-cached-selected-values.BBD_AA1m.js.map → use-cached-selected-values.YAg3m-Af.js.map} +1 -1
  141. package/dist/chunks/{use-country-items.DnPo3yxj.js → use-country-items.DJn6gU4P.js} +2 -2
  142. package/dist/chunks/{use-country-items.DnPo3yxj.js.map → use-country-items.DJn6gU4P.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 +1 -1
  184. package/package.json +7 -4
  185. package/dist/chunks/code-snippet.volJxGqR.js +0 -392
  186. package/dist/chunks/code-snippet.volJxGqR.js.map +0 -1
  187. package/dist/chunks/codemirror.CXFEqvAi.js.map +0 -1
  188. package/dist/chunks/date-picker.Bt4fyPQ4.js.map +0 -1
  189. package/dist/chunks/date-range-picker.Bna_2pBL.js.map +0 -1
  190. package/dist/chunks/divider.DwBC4bpr.js +0 -22
  191. package/dist/chunks/divider.DwBC4bpr.js.map +0 -1
  192. package/dist/chunks/dropdown.CZDXXpKe.js.map +0 -1
  193. package/dist/chunks/es6.jIyAPBgt.js.map +0 -1
  194. package/dist/chunks/file-uploader.BXHt0PWz.js +0 -1077
  195. package/dist/chunks/file-uploader.BXHt0PWz.js.map +0 -1
  196. package/dist/chunks/input-field.3PUv6XC3.js.map +0 -1
  197. package/dist/chunks/radio-group.CeiSaH6M.js.map +0 -1
  198. package/dist/chunks/status.types.Dil95sGx.js +0 -44
  199. package/dist/chunks/status.types.Dil95sGx.js.map +0 -1
@@ -1,8 +1,8 @@
1
- import { defineComponent as ye, computed as k, resolveComponent as F, createElementBlock as L, openBlock as b, withKeys as $e, normalizeClass as pe, createElementVNode as Y, createVNode as K, ref as V, watch as J, nextTick as We, toRef as B, resolveDirective as Ye, withDirectives as Be, mergeProps as Ce, toHandlers as Fe, createBlock as ne, createCommentVNode as de, withCtx as te, createTextVNode as we, toDisplayString as Ee, Fragment as oe, renderList as re, reactive as Pe } from "vue";
2
- import { r as w, t as M, a as be, g as je } from "./get-date-locale.BN8xEjY0.js";
3
- import { t as p, B as Ge, a as Ve, f as Se } from "./date.DeaBl297.js";
1
+ import { defineComponent as ye, computed as k, resolveComponent as F, createElementBlock as $, openBlock as b, withKeys as Ue, normalizeClass as pe, createElementVNode as Y, createVNode as K, ref as x, watch as J, nextTick as We, toRef as B, resolveDirective as Ye, withDirectives as Be, mergeProps as Ce, toHandlers as Fe, createBlock as ne, createCommentVNode as de, withCtx as te, createTextVNode as we, toDisplayString as Ee, Fragment as oe, renderList as re, reactive as Re } from "vue";
2
+ import { r as w, t as N, a as be, g as je } from "./get-date-locale.BN8xEjY0.js";
3
+ import { t as p, B as Ve, a as xe, f as Se } from "./date.DeaBl297.js";
4
4
  import { e as ce } from "./index.CrhTVr5J.js";
5
- import { B as xe } from "./button.Cneb6rPP.js";
5
+ import { B as Ge } from "./button.Cneb6rPP.js";
6
6
  import { B as He } from "./typography.DN5eC5ch.js";
7
7
  import { u as qe } from "./i18n.WMYWtwxB.js";
8
8
  import { g as Ke } from "./generate-uid.NJ8tVoha.js";
@@ -13,12 +13,12 @@ import { _ as ge } from "./_plugin-vue_export-helper.CHgC5LLL.js";
13
13
  import "../assets/calendar.css";
14
14
  function Z(e, t) {
15
15
  w(2, arguments);
16
- var n = M(e), a = p(t);
16
+ var n = N(e), a = p(t);
17
17
  return isNaN(a) ? /* @__PURE__ */ new Date(NaN) : (a && n.setDate(n.getDate() + a), n);
18
18
  }
19
- function x(e, t) {
19
+ function G(e, t) {
20
20
  w(2, arguments);
21
- var n = M(e), a = p(t);
21
+ var n = N(e), a = p(t);
22
22
  if (isNaN(a))
23
23
  return /* @__PURE__ */ new Date(NaN);
24
24
  if (!a)
@@ -33,12 +33,12 @@ function se(e, t) {
33
33
  var n = t || {}, a = n.locale, l = a && a.options && a.options.weekStartsOn, r = l == null ? 0 : p(l), s = n.weekStartsOn == null ? r : p(n.weekStartsOn);
34
34
  if (!(s >= 0 && s <= 6))
35
35
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
36
- var o = M(e), v = o.getDay(), c = (v < s ? 7 : 0) + v - s;
36
+ var o = N(e), v = o.getDay(), c = (v < s ? 7 : 0) + v - s;
37
37
  return o.setDate(o.getDate() - c), o.setHours(0, 0, 0, 0), o;
38
38
  }
39
39
  function j(e) {
40
40
  w(1, arguments);
41
- var t = M(e);
41
+ var t = N(e);
42
42
  return t.setHours(0, 0, 0, 0), t;
43
43
  }
44
44
  var Je = 864e5;
@@ -58,14 +58,14 @@ function Te(e, t) {
58
58
  }
59
59
  function et(e, t) {
60
60
  w(2, arguments);
61
- var n = M(e), a = M(t), l = Te(n, a), r = Math.abs(Ze(n, a));
61
+ var n = N(e), a = N(t), l = Te(n, a), r = Math.abs(Ze(n, a));
62
62
  n.setDate(n.getDate() - l * r);
63
63
  var s = +(Te(n, a) === -l), o = l * (r - s);
64
64
  return o === 0 ? 0 : o;
65
65
  }
66
66
  function ue(e) {
67
67
  w(1, arguments);
68
- var t = M(e);
68
+ var t = N(e);
69
69
  return t.setDate(1), t.setHours(0, 0, 0, 0), t;
70
70
  }
71
71
  function le(e, t) {
@@ -73,7 +73,7 @@ function le(e, t) {
73
73
  var n = t || {}, a = n.locale, l = a && a.options && a.options.weekStartsOn, r = l == null ? 0 : p(l), s = n.weekStartsOn == null ? r : p(n.weekStartsOn);
74
74
  if (!(s >= 0 && s <= 6))
75
75
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
76
- var o = M(e), v = o.getDay(), c = (v < s ? -7 : 0) + 6 - (v - s);
76
+ var o = N(e), v = o.getDay(), c = (v < s ? -7 : 0) + 6 - (v - s);
77
77
  return o.setDate(o.getDate() + c), o.setHours(23, 59, 59, 999), o;
78
78
  }
79
79
  function tt(e, t) {
@@ -84,21 +84,21 @@ function tt(e, t) {
84
84
  function z(e, t) {
85
85
  w(2, arguments);
86
86
  var n = p(t);
87
- return x(e, -n);
87
+ return G(e, -n);
88
88
  }
89
89
  function at(e, t) {
90
90
  w(2, arguments);
91
- var n = M(e), a = M(t);
91
+ var n = N(e), a = N(t);
92
92
  return n.getTime() > a.getTime();
93
93
  }
94
94
  function nt(e, t) {
95
95
  w(2, arguments);
96
- var n = M(e), a = M(t);
96
+ var n = N(e), a = N(t);
97
97
  return n.getTime() < a.getTime();
98
98
  }
99
99
  function ke(e, t) {
100
100
  w(2, arguments);
101
- var n = M(e).getTime(), a = M(t.start).getTime(), l = M(t.end).getTime();
101
+ var n = N(e).getTime(), a = N(t.start).getTime(), l = N(t.end).getTime();
102
102
  if (!(a <= l))
103
103
  throw new RangeError("Invalid interval");
104
104
  return n >= a && n <= l;
@@ -108,10 +108,10 @@ function ot(e, t, n) {
108
108
  var a = {}, l = a.locale, r = l && l.options && l.options.weekStartsOn, s = r == null ? 0 : p(r), o = a.weekStartsOn == null ? s : p(a.weekStartsOn);
109
109
  if (!(o >= 0 && o <= 6))
110
110
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
111
- var v = M(e), c = p(t), m = v.getDay(), D = c % 7, u = (D + 7) % 7, d = 7 - o, f = c < 0 || c > 6 ? c - (m + d) % 7 : (u + d) % 7 - (m + d) % 7;
111
+ var v = N(e), c = p(t), m = v.getDay(), D = c % 7, u = (D + 7) % 7, d = 7 - o, f = c < 0 || c > 6 ? c - (m + d) % 7 : (u + d) % 7 - (m + d) % 7;
112
112
  return Z(v, f);
113
113
  }
114
- var _ = /* @__PURE__ */ ((e) => (e.SINGLE = "single", e.MIDDLE = "middle", e.BEGINNING = "beginning", e.END = "end", e))(_ || {}), $ = /* @__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))($ || {}), Q = /* @__PURE__ */ ((e) => (e.CLICK = "click", e.MOUSE_OVER = "mouseover", e))(Q || {});
114
+ var _ = /* @__PURE__ */ ((e) => (e.SINGLE = "single", e.MIDDLE = "middle", e.BEGINNING = "beginning", e.END = "end", e))(_ || {}), W = /* @__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))(W || {}), Q = /* @__PURE__ */ ((e) => (e.CLICK = "click", e.MOUSE_OVER = "mouseover", e))(Q || {});
115
115
  const rt = {
116
116
  /**
117
117
  * Date to be displayed as the calendar day. From 1st to 31st (or end of the month defined in the date)
@@ -136,7 +136,7 @@ const rt = {
136
136
  }
137
137
  }, st = ye({
138
138
  name: "calendar-month-day",
139
- components: { BentoDate: Ge },
139
+ components: { BentoDate: Ve },
140
140
  inheritAttrs: !0,
141
141
  props: rt,
142
142
  emits: [Q.CLICK, Q.MOUSE_OVER],
@@ -149,20 +149,20 @@ const rt = {
149
149
  // Values
150
150
  conditionalClasses: k(() => ({
151
151
  // Variants
152
- [`b-calendar-month-day--${$.BEGINNING}`]: e.variant === _.BEGINNING,
153
- [`b-calendar-month-day--${$.MIDDLE}`]: e.variant === _.MIDDLE,
154
- [`b-calendar-month-day--${$.END}`]: e.variant === _.END,
155
- [`b-calendar-month-day--${$.SINGLE}`]: e.variant === _.SINGLE,
152
+ [`b-calendar-month-day--${W.BEGINNING}`]: e.variant === _.BEGINNING,
153
+ [`b-calendar-month-day--${W.MIDDLE}`]: e.variant === _.MIDDLE,
154
+ [`b-calendar-month-day--${W.END}`]: e.variant === _.END,
155
+ [`b-calendar-month-day--${W.SINGLE}`]: e.variant === _.SINGLE,
156
156
  // Selected
157
- [`b-calendar-month-day--${$.UNSELECTED}`]: !e.selected,
158
- [`b-calendar-month-day--${$.SELECTED}`]: e.selected,
157
+ [`b-calendar-month-day--${W.UNSELECTED}`]: !e.selected,
158
+ [`b-calendar-month-day--${W.SELECTED}`]: e.selected,
159
159
  // Current Day
160
- [`b-calendar-month-day--${$.CURRENT_DAY}`]: n.value,
160
+ [`b-calendar-month-day--${W.CURRENT_DAY}`]: n.value,
161
161
  // Disabled
162
- [`b-calendar-month-day--${$.DISABLED}`]: e.disabled
162
+ [`b-calendar-month-day--${W.DISABLED}`]: e.disabled
163
163
  })),
164
164
  // Enums
165
- BentoDateFormat: Ve,
165
+ BentoDateFormat: xe,
166
166
  CalendarMonthDayEvent: Q,
167
167
  // Events
168
168
  onClick: (r, s) => {
@@ -173,13 +173,13 @@ const rt = {
173
173
  }), ut = ["tabindex", "aria-selected"], lt = { class: "b-calendar-month-day__wrapper" };
174
174
  function it(e, t, n, a, l, r) {
175
175
  const s = F("bento-date");
176
- return b(), L("td", {
176
+ return b(), $("td", {
177
177
  class: pe(["b-calendar-month-day", e.conditionalClasses]),
178
178
  tabindex: e.selected ? "0" : "-1",
179
179
  "aria-selected": e.selected ? e.selected : void 0,
180
180
  onClick: t[0] || (t[0] = (o) => e.onClick(o, e.day)),
181
181
  onMouseover: t[1] || (t[1] = (o) => e.$emit(e.CalendarMonthDayEvent.MOUSE_OVER)),
182
- onKeydown: t[2] || (t[2] = $e((o) => e.onClick(o, e.day), ["space", "enter"]))
182
+ onKeydown: t[2] || (t[2] = Ue((o) => e.onClick(o, e.day), ["space", "enter"]))
183
183
  }, [
184
184
  Y("div", lt, [
185
185
  K(s, {
@@ -208,7 +208,7 @@ var ve = { exports: {} }, fe = { exports: {} };
208
208
  }
209
209
  e.exports = t.default;
210
210
  })(fe, fe.exports);
211
- var Re = fe.exports, De = { exports: {} }, me = { exports: {} }, he = { exports: {} };
211
+ var Pe = fe.exports, De = { exports: {} }, me = { exports: {} }, he = { exports: {} };
212
212
  (function(e, t) {
213
213
  Object.defineProperty(t, "__esModule", {
214
214
  value: !0
@@ -240,7 +240,7 @@ var vt = me.exports;
240
240
  Object.defineProperty(t, "__esModule", {
241
241
  value: !0
242
242
  }), t.default = s;
243
- var n = r(Re), a = r(vt), l = r(Oe);
243
+ var n = r(Pe), a = r(vt), l = r(Oe);
244
244
  function r(o) {
245
245
  return o && o.__esModule ? o : { default: o };
246
246
  }
@@ -256,7 +256,7 @@ var ft = De.exports;
256
256
  Object.defineProperty(t, "__esModule", {
257
257
  value: !0
258
258
  }), t.default = s;
259
- var n = r(Re), a = r(ft), l = r(Oe);
259
+ var n = r(Pe), a = r(ft), l = r(Oe);
260
260
  function r(o) {
261
261
  return o && o.__esModule ? o : { default: o };
262
262
  }
@@ -269,7 +269,7 @@ var ft = De.exports;
269
269
  })(ve, ve.exports);
270
270
  var Dt = ve.exports;
271
271
  const Ie = /* @__PURE__ */ ct(Dt), mt = ({ currentSelectedDate: e, month: t, isDateDisabled: n, firstDayOfWeek: a }, l) => {
272
- const r = V(new Date(t.value));
272
+ const r = x(new Date(t.value));
273
273
  J(
274
274
  t,
275
275
  () => {
@@ -277,16 +277,16 @@ const Ie = /* @__PURE__ */ ct(Dt), mt = ({ currentSelectedDate: e, month: t, isD
277
277
  },
278
278
  { immediate: !0 }
279
279
  );
280
- const s = V(new Date(e.value));
280
+ const s = x(new Date(e.value));
281
281
  J(e, () => {
282
282
  s.value = new Date(e.value);
283
283
  });
284
- const o = V({}), v = (i) => (g) => {
284
+ const o = x({}), v = (i) => (g) => {
285
285
  o.value[i.toDateString()] = g;
286
286
  }, c = () => {
287
287
  o.value = {};
288
288
  }, m = (i = 1) => {
289
- r.value = x(r.value, i), l(U.NEXT_MONTH, i), c();
289
+ r.value = G(r.value, i), l(U.NEXT_MONTH, i), c();
290
290
  }, D = (i = 1) => {
291
291
  r.value = z(r.value, i), l(U.PREVIOUS_MONTH, i), c();
292
292
  }, u = (i) => {
@@ -294,10 +294,10 @@ const Ie = /* @__PURE__ */ ct(Dt), mt = ({ currentSelectedDate: e, month: t, isD
294
294
  i && g && o.value[i.toDateString()].$el.focus();
295
295
  }, d = (i) => {
296
296
  i.preventDefault(), i.stopImmediatePropagation(), i.stopPropagation();
297
- }, f = ({ nextDate: i, isIncreasingDays: g, amountOfMonths: R, isCalendarButtonsNav: ee }) => {
297
+ }, f = ({ nextDate: i, isIncreasingDays: g, amountOfMonths: A, isCalendarButtonsNav: ee }) => {
298
298
  if (!ee && n && n(i))
299
299
  return;
300
- i.getMonth() === s.value.getMonth() && i.getFullYear() === s.value.getFullYear() ? (s.value = i, u(i)) : (g ? m(R) : D(R), We(() => {
300
+ i.getMonth() === s.value.getMonth() && i.getFullYear() === s.value.getFullYear() ? (s.value = i, u(i)) : (g ? m(A) : D(A), We(() => {
301
301
  const ie = i.getMonth() === r.value.getMonth() && i.getFullYear() === r.value.getFullYear();
302
302
  n && n(i) || !ie || ee || (s.value = i, u(i));
303
303
  }));
@@ -351,11 +351,11 @@ const Ie = /* @__PURE__ */ ct(Dt), mt = ({ currentSelectedDate: e, month: t, isD
351
351
  // PageUp
352
352
  moveToPreviousMonth: (i, g = !1) => {
353
353
  d(i);
354
- const R = 1;
354
+ const A = 1;
355
355
  f({
356
- nextDate: z(s.value, R),
356
+ nextDate: z(s.value, A),
357
357
  isIncreasingDays: !1,
358
- amountOfMonths: R,
358
+ amountOfMonths: A,
359
359
  isCalendarButtonsNav: g
360
360
  });
361
361
  },
@@ -372,11 +372,11 @@ const Ie = /* @__PURE__ */ ct(Dt), mt = ({ currentSelectedDate: e, month: t, isD
372
372
  // PageDown
373
373
  moveToNextMonth: (i, g = !1) => {
374
374
  d(i);
375
- const R = 1;
375
+ const A = 1;
376
376
  f({
377
- nextDate: x(s.value, R),
377
+ nextDate: G(s.value, A),
378
378
  isIncreasingDays: !0,
379
- amountOfMonths: R,
379
+ amountOfMonths: A,
380
380
  isCalendarButtonsNav: g
381
381
  });
382
382
  },
@@ -385,7 +385,7 @@ const Ie = /* @__PURE__ */ ct(Dt), mt = ({ currentSelectedDate: e, month: t, isD
385
385
  d(i);
386
386
  const g = 12;
387
387
  f({
388
- nextDate: x(s.value, g),
388
+ nextDate: G(s.value, g),
389
389
  isIncreasingDays: !0,
390
390
  amountOfMonths: g
391
391
  });
@@ -403,7 +403,7 @@ const Ie = /* @__PURE__ */ ct(Dt), mt = ({ currentSelectedDate: e, month: t, isD
403
403
  i18n: { messages: _e },
404
404
  name: "calendar-month",
405
405
  components: {
406
- BentoButton: xe,
406
+ BentoButton: Ge,
407
407
  BentoTypography: He,
408
408
  CalendarMonthDay: dt,
409
409
  ChevronLeftIcon: ze,
@@ -468,8 +468,8 @@ const Ie = /* @__PURE__ */ ct(Dt), mt = ({ currentSelectedDate: e, month: t, isD
468
468
  setup(e, { emit: t }) {
469
469
  const { locale: n, t: a } = qe({ messages: _e }), l = je(), r = Ke("bento-date-picker-month-label"), s = k(
470
470
  () => (O) => {
471
- var A;
472
- return e.min && O < e.min || e.max && O > e.max || ((A = e.isDateDisabled) == null ? void 0 : A.call(e, O));
471
+ var L;
472
+ return e.min && O < e.min || e.max && O > e.max || ((L = e.isDateDisabled) == null ? void 0 : L.call(e, O));
473
473
  }
474
474
  ), {
475
475
  internalDate: o,
@@ -483,12 +483,12 @@ const Ie = /* @__PURE__ */ ct(Dt), mt = ({ currentSelectedDate: e, month: t, isD
483
483
  moveToNextDay: u,
484
484
  moveToPreviousDay: d,
485
485
  moveToPreviousWeek: f,
486
- moveToNextWeek: W,
486
+ moveToNextWeek: R,
487
487
  moveToFirstDayOfWeek: H,
488
488
  moveToLastDayOfWeek: h,
489
489
  moveToPreviousMonth: y,
490
490
  moveToPreviousYear: S,
491
- moveToNextMonth: N,
491
+ moveToNextMonth: M,
492
492
  moveToNextYear: P,
493
493
  focusOnDate: E
494
494
  } = mt(
@@ -501,7 +501,7 @@ const Ie = /* @__PURE__ */ ct(Dt), mt = ({ currentSelectedDate: e, month: t, isD
501
501
  t
502
502
  ), T = k(
503
503
  () => Object.values(X).includes(e.firstDayOfWeek) ? e.firstDayOfWeek : X.MONDAY
504
- ), Ne = k(
504
+ ), Me = k(
505
505
  () => [I.FIRST, I.UNIQUE].includes(e.position)
506
506
  ), i = k(
507
507
  () => [I.LAST, I.UNIQUE].includes(e.position)
@@ -509,20 +509,20 @@ const Ie = /* @__PURE__ */ ct(Dt), mt = ({ currentSelectedDate: e, month: t, isD
509
509
  () => Se(v.value, "MMMM yyyy", {
510
510
  locale: l[n.value.substring(0, 2)] || l.enUS
511
511
  })
512
- ), R = k(
513
- () => new Array(7).fill(/* @__PURE__ */ new Date()).map((O, A) => {
514
- const q = ot(O, T.value + A);
512
+ ), A = k(
513
+ () => new Array(7).fill(/* @__PURE__ */ new Date()).map((O, L) => {
514
+ const q = ot(O, T.value + L);
515
515
  return Se(q, "EEE", {
516
516
  locale: l[n.value.substring(0, 2)] || l.enUS
517
517
  });
518
518
  })
519
519
  ), ee = k(() => {
520
- const O = [], A = ue(e.month);
520
+ const O = [], L = ue(e.month);
521
521
  let q = O[O.push([]) - 1];
522
- for (; A.getMonth() === e.month.getMonth(); )
523
- A.getDay() - T.value === 0 && q.length > 0 && (q = O[O.push([]) - 1]), q.push(j(A)), A.setDate(A.getDate() + 1);
522
+ for (; L.getMonth() === e.month.getMonth(); )
523
+ L.getDay() - T.value === 0 && q.length > 0 && (q = O[O.push([]) - 1]), q.push(j(L)), L.setDate(L.getDate() + 1);
524
524
  return O;
525
- }), Me = (O) => {
525
+ }), Ne = (O) => {
526
526
  t(U.INPUT, O);
527
527
  }, ie = (O) => {
528
528
  if (!e.isRange || ae(e.startDate, e.endDate))
@@ -535,16 +535,16 @@ const Ie = /* @__PURE__ */ ct(Dt), mt = ({ currentSelectedDate: e, month: t, isD
535
535
  return _.MIDDLE;
536
536
  }, Ae = (O) => o.value && ae(o.value, O) ? !0 : e.startDate && e.endDate && ke(O, { start: e.startDate, end: e.endDate }), Le = () => {
537
537
  t(U.INPUT, o);
538
- }, Ue = e.isRange ? {} : {
538
+ }, $e = e.isRange ? {} : {
539
539
  "keydown:arrow-right": u,
540
540
  "keydown:arrow-left": d,
541
541
  "keydown:arrow-up": f,
542
- "keydown:arrow-down": W,
542
+ "keydown:arrow-down": R,
543
543
  "keydown:home": H,
544
544
  "keydown:end": h,
545
545
  "keydown:page-up": y,
546
546
  "keydown:shift-page-up": S,
547
- "keydown:page-down": N,
547
+ "keydown:page-down": M,
548
548
  "keydown:shift-page-down": P
549
549
  };
550
550
  return {
@@ -552,11 +552,11 @@ const Ie = /* @__PURE__ */ ct(Dt), mt = ({ currentSelectedDate: e, month: t, isD
552
552
  addDayRef: c,
553
553
  // Values
554
554
  computedIsDateDisabled: s,
555
- daysOfWeek: R,
555
+ daysOfWeek: A,
556
556
  weeksOfMonth: ee,
557
557
  formattedMonthDate: g,
558
558
  shouldShowNextMonthButton: i,
559
- shouldShowPreviousMonthButton: Ne,
559
+ shouldShowPreviousMonthButton: Me,
560
560
  monthLabelId: r,
561
561
  // Enums
562
562
  CalendarMonthEvent: U,
@@ -567,28 +567,28 @@ const Ie = /* @__PURE__ */ ct(Dt), mt = ({ currentSelectedDate: e, month: t, isD
567
567
  dayVariant: ie,
568
568
  confirmNavigationDate: Le,
569
569
  // Events
570
- onDayClicked: Me,
571
- listeners: Ue,
570
+ onDayClicked: Ne,
571
+ listeners: $e,
572
572
  // Exposed methods
573
573
  focusOnDate: E,
574
574
  moveToNextDay: u,
575
575
  moveToPreviousDay: d,
576
576
  moveToPreviousWeek: f,
577
- moveToNextWeek: W,
577
+ moveToNextWeek: R,
578
578
  moveToFirstDayOfWeek: H,
579
579
  moveToLastDayOfWeek: h,
580
580
  moveToPreviousMonth: y,
581
581
  moveToPreviousYear: S,
582
- moveToNextMonth: N,
582
+ moveToNextMonth: M,
583
583
  moveToNextYear: P,
584
584
  // Translations
585
585
  t: a
586
586
  };
587
587
  }
588
- }), yt = { class: "b-calendar-month__month-selector" }, gt = { class: "b-calendar-month__previous" }, Ot = { class: "b-calendar-month__next" }, Nt = ["aria-labelledby"], Mt = { class: "b-calendar-month__week-header" }, wt = ["colspan"];
588
+ }), yt = { class: "b-calendar-month__month-selector" }, gt = { class: "b-calendar-month__previous" }, Ot = { class: "b-calendar-month__next" }, Mt = ["aria-labelledby"], Nt = { class: "b-calendar-month__week-header" }, wt = ["colspan"];
589
589
  function Et(e, t, n, a, l, r) {
590
590
  const s = F("chevron-left-icon"), o = F("bento-button"), v = F("bento-typography"), c = F("chevron-right-icon"), m = F("calendar-month-day"), D = Ye("bento-keyboard-navigation-directive");
591
- return Be((b(), L("div", Ce({ class: "b-calendar-month" }, Fe(e.listeners, !0)), [
591
+ return Be((b(), $("div", Ce({ class: "b-calendar-month" }, Fe(e.listeners, !0)), [
592
592
  Y("div", yt, [
593
593
  Y("div", gt, [
594
594
  e.shouldShowPreviousMonthButton ? (b(), ne(o, {
@@ -636,8 +636,8 @@ function Et(e, t, n, a, l, r) {
636
636
  "aria-labelledby": e.monthLabelId
637
637
  }, [
638
638
  Y("thead", null, [
639
- Y("tr", Mt, [
640
- (b(!0), L(oe, null, re(e.daysOfWeek, (u, d) => (b(), L("th", {
639
+ Y("tr", Nt, [
640
+ (b(!0), $(oe, null, re(e.daysOfWeek, (u, d) => (b(), $("th", {
641
641
  key: d,
642
642
  class: "b-calendar-month__day-of-week"
643
643
  }, [
@@ -655,15 +655,15 @@ function Et(e, t, n, a, l, r) {
655
655
  ])
656
656
  ]),
657
657
  Y("tbody", null, [
658
- (b(!0), L(oe, null, re(e.weeksOfMonth, (u, d) => (b(), L("tr", { key: d }, [
659
- d === 0 && u.length < 7 ? (b(), L("td", {
658
+ (b(!0), $(oe, null, re(e.weeksOfMonth, (u, d) => (b(), $("tr", { key: d }, [
659
+ d === 0 && u.length < 7 ? (b(), $("td", {
660
660
  key: 0,
661
661
  colspan: 7 - u.length
662
662
  }, null, 8, wt)) : de("", !0),
663
- (b(!0), L(oe, null, re(u, (f, W) => (b(), ne(m, {
663
+ (b(!0), $(oe, null, re(u, (f, R) => (b(), ne(m, {
664
664
  ref_for: !0,
665
665
  ref: e.addDayRef(f),
666
- key: `calendar-day-${W}`,
666
+ key: `calendar-day-${R}`,
667
667
  day: f,
668
668
  disabled: e.computedIsDateDisabled(f),
669
669
  selected: e.isSelectedDate(f),
@@ -673,15 +673,15 @@ function Et(e, t, n, a, l, r) {
673
673
  }, null, 8, ["day", "disabled", "selected", "variant", "onClick", "onMouseover"]))), 128))
674
674
  ]))), 128))
675
675
  ])
676
- ], 8, Nt)
676
+ ], 8, Mt)
677
677
  ], 16)), [
678
678
  [D]
679
679
  ]);
680
680
  }
681
- const G = /* @__PURE__ */ ge(ht, [["render", Et], ["__scopeId", "data-v-c994447c"]]);
681
+ const V = /* @__PURE__ */ ge(ht, [["render", Et], ["__scopeId", "data-v-c994447c"]]);
682
682
  var C = /* @__PURE__ */ ((e) => (e.INPUT = "input", e.START_DATE_SELECTED = "start-date-selected", e.END_DATE_SELECTED = "end-date-selected", e))(C || {});
683
683
  const bt = ({ selectedDate: e }, t) => {
684
- const n = Pe({
684
+ const n = Re({
685
685
  startDate: null,
686
686
  endDate: null
687
687
  });
@@ -732,10 +732,10 @@ const bt = ({ selectedDate: e }, t) => {
732
732
  }
733
733
  };
734
734
  }, Tt = ({ selectedDate: e, isDateDisabled: t, maxRange: n, granularity: a, firstDayOfWeek: l, min: r, max: s }, o) => {
735
- const { adjustDateForWeekly: m, adjustDateForMonthly: D } = St(l), u = Pe({
735
+ const { adjustDateForWeekly: m, adjustDateForMonthly: D } = St(l), u = Re({
736
736
  startDate: null,
737
737
  endDate: null
738
- }), d = V(null);
738
+ }), d = x(null);
739
739
  J(
740
740
  () => e.value,
741
741
  () => {
@@ -746,12 +746,12 @@ const bt = ({ selectedDate: e }, t) => {
746
746
  );
747
747
  const f = (h, y, S) => {
748
748
  if (u.startDate = h, u.endDate = y, n.value) {
749
- const N = et(y, h) - n.value;
750
- N > 0 && (S < 1 ? (u.startDate = h, u.endDate = tt(y, N)) : (u.startDate = Z(h, N), u.endDate = y));
749
+ const M = et(y, h) - n.value;
750
+ M > 0 && (S < 1 ? (u.startDate = h, u.endDate = tt(y, M)) : (u.startDate = Z(h, M), u.endDate = y));
751
751
  }
752
752
  o(C.START_DATE_SELECTED, u.startDate), o(C.END_DATE_SELECTED, u.endDate);
753
- }, W = (h) => {
754
- var y, S, N, P;
753
+ }, R = (h) => {
754
+ var y, S, M, P;
755
755
  if (!(!d.value || t && t(h)))
756
756
  if (nt(h, d.value)) {
757
757
  if (((y = a == null ? void 0 : a.value) == null ? void 0 : y.type) === "weekly") {
@@ -766,7 +766,7 @@ const bt = ({ selectedDate: e }, t) => {
766
766
  }
767
767
  f(h, d.value, -1);
768
768
  } else {
769
- if (((N = a == null ? void 0 : a.value) == null ? void 0 : N.type) === "weekly") {
769
+ if (((M = a == null ? void 0 : a.value) == null ? void 0 : M.type) === "weekly") {
770
770
  const { startDate: E, endDate: T } = m(d.value, h, r.value, s.value);
771
771
  f(E, T, 1);
772
772
  return;
@@ -786,28 +786,28 @@ const bt = ({ selectedDate: e }, t) => {
786
786
  if (d.value)
787
787
  d.value = null, o(C.INPUT, u);
788
788
  else {
789
- let N = h;
789
+ let M = h;
790
790
  if (((y = a == null ? void 0 : a.value) == null ? void 0 : y.type) === "weekly") {
791
791
  const { startDate: P, endDate: E } = m(h);
792
- N = P, f(N, E);
792
+ M = P, f(M, E);
793
793
  }
794
794
  if (((S = a == null ? void 0 : a.value) == null ? void 0 : S.type) === "monthly") {
795
795
  const { startDate: P, endDate: E } = D(h);
796
- N = P, f(N, E);
796
+ M = P, f(M, E);
797
797
  }
798
- d.value = N, W(N);
798
+ d.value = M, R(M);
799
799
  }
800
800
  },
801
- onMouseOver: W
801
+ onMouseOver: R
802
802
  };
803
803
  }, kt = ye({
804
804
  name: "calendar",
805
- components: { CalendarMonth: G },
805
+ components: { CalendarMonth: V },
806
806
  props: {
807
807
  /**
808
808
  * Allows you to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
809
809
  */
810
- firstDayOfWeek: G.props.firstDayOfWeek,
810
+ firstDayOfWeek: V.props.firstDayOfWeek,
811
811
  /**
812
812
  * The selected granularity configuration
813
813
  */
@@ -818,11 +818,11 @@ const bt = ({ selectedDate: e }, t) => {
818
818
  /**
819
819
  * Indicate if a date should be disabled or not
820
820
  */
821
- isDateDisabled: G.props.isDateDisabled,
821
+ isDateDisabled: V.props.isDateDisabled,
822
822
  /**
823
823
  * Enables the Date Range calendar
824
824
  */
825
- isRange: G.props.isRange,
825
+ isRange: V.props.isRange,
826
826
  /**
827
827
  * Set a maximum number of dates to be selectable by the range.
828
828
  */
@@ -830,11 +830,11 @@ const bt = ({ selectedDate: e }, t) => {
830
830
  /**
831
831
  * Sets a minimum limit for selectable dates - dates before `min` will not be selectable
832
832
  */
833
- min: G.props.min,
833
+ min: V.props.min,
834
834
  /**
835
835
  * Sets a maximum limit for selectable dates - dates after `max` will not be selectable
836
836
  */
837
- max: G.props.max,
837
+ max: V.props.max,
838
838
  /**
839
839
  * Number of months rendered on pane
840
840
  */
@@ -851,16 +851,29 @@ const bt = ({ selectedDate: e }, t) => {
851
851
  * Selected date. Can be a single Date or a CalendarRangeDate
852
852
  * instance that contains startDate and endDate attributes.
853
853
  */
854
- value: { type: [Date, Object], default: void 0 }
854
+ value: { type: [Date, Object], default: void 0 },
855
+ /**
856
+ * Default start date for the calendar pane
857
+ */
858
+ defaultDisplayMonth: {
859
+ type: String,
860
+ default: null,
861
+ validator: (e) => /^\d{4}-(0?[1-9]|1[012])(-(0?[1-9]|[12][0-9]|3[01]))?$/.test(e)
862
+ }
855
863
  },
856
864
  emit: [C.INPUT, C.START_DATE_SELECTED, C.END_DATE_SELECTED],
857
865
  setup(e, { emit: t }) {
858
- const n = V(null), a = V();
866
+ const n = x(null), a = x();
859
867
  J(
860
868
  () => e.value,
861
869
  () => {
862
870
  var u, d, f;
863
- e.isRange ? a.value = e != null && e.showEndDateOnOpen && ((u = e.value) != null && u.endDate) ? (d = e.value) == null ? void 0 : d.endDate : ((f = e.value) == null ? void 0 : f.startDate) || /* @__PURE__ */ new Date() : a.value = e.value || /* @__PURE__ */ new Date();
871
+ if (e.isRange)
872
+ a.value = e != null && e.showEndDateOnOpen && ((u = e.value) != null && u.endDate) ? (d = e.value) == null ? void 0 : d.endDate : ((f = e.value) == null ? void 0 : f.startDate) || /* @__PURE__ */ new Date();
873
+ else {
874
+ const R = e.defaultDisplayMonth && new Date(e.defaultDisplayMonth).getTime() ? new Date(e.defaultDisplayMonth) : /* @__PURE__ */ new Date();
875
+ a.value = e.value || R;
876
+ }
864
877
  },
865
878
  { immediate: !0 }
866
879
  );
@@ -889,7 +902,7 @@ const bt = ({ selectedDate: e }, t) => {
889
902
  t
890
903
  ), v = (u) => e.numberOfMonths === 1 ? I.UNIQUE : u === 0 ? I.FIRST : u === e.numberOfMonths - 1 ? I.LAST : I.MIDDLE, c = k(() => (u) => {
891
904
  const d = e != null && e.showEndDateOnOpen && e.isRange ? z(a.value, e.numberOfMonths - 1) : a.value;
892
- return x(d, u);
905
+ return G(d, u);
893
906
  });
894
907
  return {
895
908
  // Refs
@@ -905,7 +918,7 @@ const bt = ({ selectedDate: e }, t) => {
905
918
  onDateInput: s,
906
919
  onMouseOver: o,
907
920
  calculateNextMonths: (u = 1) => {
908
- a.value = x(a.value, u);
921
+ a.value = G(a.value, u);
909
922
  },
910
923
  calculatePreviousMonths: (u = 1) => {
911
924
  a.value = z(a.value, u);
@@ -915,10 +928,10 @@ const bt = ({ selectedDate: e }, t) => {
915
928
  });
916
929
  function It(e, t, n, a, l, r) {
917
930
  const s = F("calendar-month");
918
- return b(), L("div", {
931
+ return b(), $("div", {
919
932
  class: pe(["b-calendar", e.conditionalClasses])
920
933
  }, [
921
- (b(!0), L(oe, null, re(e.numberOfMonths, (o, v) => (b(), ne(s, {
934
+ (b(!0), $(oe, null, re(e.numberOfMonths, (o, v) => (b(), ne(s, {
922
935
  ref_for: !0,
923
936
  ref: e.numberOfMonths === 1 ? "calendarRef" : null,
924
937
  key: `calendar-${v}`,
@@ -939,7 +952,7 @@ function It(e, t, n, a, l, r) {
939
952
  }, null, 8, ["first-day-of-week", "is-date-disabled", "month", "position", "min", "max", "is-range", "start-date", "end-date", "granularity", "onInput", "onMouseover", "onNextMonth", "onPreviousMonth"]))), 128))
940
953
  ], 2);
941
954
  }
942
- const Ft = /* @__PURE__ */ ge(kt, [["render", It], ["__scopeId", "data-v-72d1937c"]]);
955
+ const Ft = /* @__PURE__ */ ge(kt, [["render", It], ["__scopeId", "data-v-fe667acc"]]);
943
956
  export {
944
957
  X as C,
945
958
  Ft as a,
@@ -949,10 +962,10 @@ export {
949
962
  le as e,
950
963
  tt as f,
951
964
  ue as g,
952
- x as h,
965
+ G as h,
953
966
  ae as i,
954
967
  z as j,
955
968
  j as s,
956
969
  St as u
957
970
  };
958
- //# sourceMappingURL=calendar.1qqtC8ba.js.map
971
+ //# sourceMappingURL=calendar.CKY08nCx.js.map