@adyen/bento-vue3 1.88.1 → 1.89.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (366) hide show
  1. package/dist/@types/components.d.ts +4 -0
  2. package/dist/@types/index.d.ts +722 -524
  3. package/dist/accordion.js +1 -1
  4. package/dist/action-bar.js +1 -1
  5. package/dist/ai-tag.js +1 -1
  6. package/dist/alert.js +1 -1
  7. package/dist/anchor-scroller.js +1 -1
  8. package/dist/assets/accordion-item.css +1 -1
  9. package/dist/assets/action-bar.css +1 -1
  10. package/dist/assets/ai-button.css +1 -1
  11. package/dist/assets/base-modal.css +1 -1
  12. package/dist/assets/button-actions.css +1 -1
  13. package/dist/assets/button.css +1 -1
  14. package/dist/assets/card.css +1 -1
  15. package/dist/assets/checkbox-input.css +1 -1
  16. package/dist/assets/data-grid-template.css +1 -1
  17. package/dist/assets/data-grid.css +1 -1
  18. package/dist/assets/dialog-page.css +1 -1
  19. package/dist/assets/file-uploader.css +1 -1
  20. package/dist/assets/filter-bar.css +1 -1
  21. package/dist/assets/index.css +1 -1
  22. package/dist/assets/inspector.css +1 -1
  23. package/dist/assets/list-item.css +1 -0
  24. package/dist/assets/modal-fullscreen.css +1 -1
  25. package/dist/assets/radio-input.css +1 -1
  26. package/dist/assets/selection-card-group.css +1 -1
  27. package/dist/assets/sidepanel.css +1 -1
  28. package/dist/assets/timeline-item.css +1 -1
  29. package/dist/assets/use-cached-selected-values.css +1 -1
  30. package/dist/button.js +3 -3
  31. package/dist/card.js +1 -1
  32. package/dist/checkbox.js +2 -2
  33. package/dist/chip.js +1 -1
  34. package/dist/chunks/{accordion-item.QQ06tTjt.js → accordion-item.BX1KrLMl.js} +6 -15
  35. package/dist/chunks/{accordion-item.QQ06tTjt.js.map → accordion-item.BX1KrLMl.js.map} +1 -1
  36. package/dist/chunks/{action-bar.BS2cJzG_.js → action-bar.DLMaIUWW.js} +8 -34
  37. package/dist/chunks/{action-bar.BS2cJzG_.js.map → action-bar.DLMaIUWW.js.map} +1 -1
  38. package/dist/chunks/{ai-button.XfeGC4-Q.js → ai-button.1YJdI-sw.js} +3 -3
  39. package/dist/chunks/{ai-button.XfeGC4-Q.js.map → ai-button.1YJdI-sw.js.map} +1 -1
  40. package/dist/chunks/{ai-tag.DVCW-_vD.js → ai-tag.DK63ExDc.js} +6 -15
  41. package/dist/chunks/{ai-tag.DVCW-_vD.js.map → ai-tag.DK63ExDc.js.map} +1 -1
  42. package/dist/chunks/{alert.CDWtu0Hu.js → alert.C_8-VNi_.js} +6 -24
  43. package/dist/chunks/{alert.CDWtu0Hu.js.map → alert.C_8-VNi_.js.map} +1 -1
  44. package/dist/chunks/anchor-scroller.NhjLDBZI.js +207 -0
  45. package/dist/chunks/{anchor-scroller.BctgW0se.js.map → anchor-scroller.NhjLDBZI.js.map} +1 -1
  46. package/dist/chunks/{base-button.CRYAiuzn.js → base-button.CvHl36Ue.js} +24 -27
  47. package/dist/chunks/{base-button.CRYAiuzn.js.map → base-button.CvHl36Ue.js.map} +1 -1
  48. package/dist/chunks/base-modal.C2-JyHC_.js +424 -0
  49. package/dist/chunks/{base-modal.gZAtk-xP.js.map → base-modal.C2-JyHC_.js.map} +1 -1
  50. package/dist/chunks/button-actions-with-menu.BQFAgAI2.js +85 -0
  51. package/dist/chunks/{button-actions-with-menu.Tba1ME79.js.map → button-actions-with-menu.BQFAgAI2.js.map} +1 -1
  52. package/dist/chunks/{button-actions.BYBpjNqy.js → button-actions.cMQWyZne.js} +511 -542
  53. package/dist/chunks/{button-actions.BYBpjNqy.js.map → button-actions.cMQWyZne.js.map} +1 -1
  54. package/dist/chunks/{button.C6t9_lzm.js → button.DWF7FSIw.js} +42 -45
  55. package/dist/chunks/{button.C6t9_lzm.js.map → button.DWF7FSIw.js.map} +1 -1
  56. package/dist/chunks/calendar.DcCqkSNJ.js +1201 -0
  57. package/dist/chunks/{calendar.vM3abC8y.js.map → calendar.DcCqkSNJ.js.map} +1 -1
  58. package/dist/chunks/{card.Cw63i7Ul.js → card.CoxQ_L0w.js} +9 -21
  59. package/dist/chunks/{card.Cw63i7Ul.js.map → card.CoxQ_L0w.js.map} +1 -1
  60. package/dist/chunks/{checkbox-group.ODQy-ICn.js → checkbox-group.96n9Cc3W.js} +5 -5
  61. package/dist/chunks/{checkbox-group.ODQy-ICn.js.map → checkbox-group.96n9Cc3W.js.map} +1 -1
  62. package/dist/chunks/{checkbox-input.BZjSoCQW.js → checkbox-input.CVFQCfZM.js} +44 -51
  63. package/dist/chunks/{checkbox-input.BZjSoCQW.js.map → checkbox-input.CVFQCfZM.js.map} +1 -1
  64. package/dist/chunks/{checkbox.C3Ewfygy.js → checkbox.C6ATh8f5.js} +85 -94
  65. package/dist/chunks/{checkbox.C3Ewfygy.js.map → checkbox.C6ATh8f5.js.map} +1 -1
  66. package/dist/chunks/chevron-right-small.BCinNiMt.js +29 -0
  67. package/dist/chunks/chevron-right-small.BCinNiMt.js.map +1 -0
  68. package/dist/chunks/{chip.CyW1V8RU.js → chip.CdgpQyXN.js} +6 -12
  69. package/dist/chunks/{chip.CyW1V8RU.js.map → chip.CdgpQyXN.js.map} +1 -1
  70. package/dist/chunks/click-outside.BPylIosK.js +20 -0
  71. package/dist/chunks/{click-outside.CDz_x8mN.js.map → click-outside.BPylIosK.js.map} +1 -1
  72. package/dist/chunks/{code-snippet.BaJU2I5_.js → code-snippet.DgAuuZF5.js} +9 -24
  73. package/dist/chunks/{code-snippet.BaJU2I5_.js.map → code-snippet.DgAuuZF5.js.map} +1 -1
  74. package/dist/chunks/{codemirror.D2BAltnu.js → codemirror.Bzus_EPG.js} +15 -15
  75. package/dist/chunks/{codemirror.D2BAltnu.js.map → codemirror.Bzus_EPG.js.map} +1 -1
  76. package/dist/chunks/constructNow.D9uRk678.js +8 -0
  77. package/dist/chunks/{constructNow.CIc7d13I.js.map → constructNow.D9uRk678.js.map} +1 -1
  78. package/dist/chunks/{controls-group.Bu5lNTyH.js → controls-group.C7hOE1F4.js} +3 -3
  79. package/dist/chunks/{controls-group.Bu5lNTyH.js.map → controls-group.C7hOE1F4.js.map} +1 -1
  80. package/dist/chunks/{copy.C_BCNHYQ.js → copy.C2kQ1PbI.js} +7 -19
  81. package/dist/chunks/{copy.C_BCNHYQ.js.map → copy.C2kQ1PbI.js.map} +1 -1
  82. package/dist/chunks/{country.DJts6kCv.js → country.CaGc08Ps.js} +3 -3
  83. package/dist/chunks/{country.DJts6kCv.js.map → country.CaGc08Ps.js.map} +1 -1
  84. package/dist/chunks/country.types.DjpMGz7a.js +19 -0
  85. package/dist/chunks/{country.types.BBQbWkTY.js.map → country.types.DjpMGz7a.js.map} +1 -1
  86. package/dist/chunks/{currency.Afx8MVdY.js → currency.DuTEzR_W.js} +40 -42
  87. package/dist/chunks/{currency.Afx8MVdY.js.map → currency.DuTEzR_W.js.map} +1 -1
  88. package/dist/chunks/dashboard-section.UafHRkMa.js +161 -0
  89. package/dist/chunks/{dashboard-section.CgoLquLP.js.map → dashboard-section.UafHRkMa.js.map} +1 -1
  90. package/dist/chunks/dashed-underline.CcDV2Aks.js +108 -0
  91. package/dist/chunks/{dashed-underline.wbRHATeE.js.map → dashed-underline.CcDV2Aks.js.map} +1 -1
  92. package/dist/chunks/data-grid-template.CnC4TQvk.js +135 -0
  93. package/dist/chunks/{data-grid-template.D40V1cmi.js.map → data-grid-template.CnC4TQvk.js.map} +1 -1
  94. package/dist/chunks/data-grid.BSIXLRm7.js +4014 -0
  95. package/dist/chunks/{data-grid.C2nCCbeC.js.map → data-grid.BSIXLRm7.js.map} +1 -1
  96. package/dist/chunks/date-picker.dlzZ_-5f.js +231 -0
  97. package/dist/chunks/{date-picker.D5B_SECc.js.map → date-picker.dlzZ_-5f.js.map} +1 -1
  98. package/dist/chunks/date-range-picker.DC6CK0As.js +995 -0
  99. package/dist/chunks/{date-range-picker.B0q7Z4df.js.map → date-range-picker.DC6CK0As.js.map} +1 -1
  100. package/dist/chunks/{date.BtB1HyWQ.js → date.R2Wz6o7J.js} +28 -28
  101. package/dist/chunks/{date.BtB1HyWQ.js.map → date.R2Wz6o7J.js.map} +1 -1
  102. package/dist/chunks/{de.BJvo6njq.js → de.DXrHnkLX.js} +18 -18
  103. package/dist/chunks/{de.BJvo6njq.js.map → de.DXrHnkLX.js.map} +1 -1
  104. package/dist/chunks/{dialog-page.C1KUI51V.js → dialog-page.COfKqjT-.js} +7 -13
  105. package/dist/chunks/{dialog-page.C1KUI51V.js.map → dialog-page.COfKqjT-.js.map} +1 -1
  106. package/dist/chunks/differenceInMonths.s_znQQpw.js +43 -0
  107. package/dist/chunks/{differenceInMonths.CIYECBxK.js.map → differenceInMonths.s_znQQpw.js.map} +1 -1
  108. package/dist/chunks/{directive.rXUeDb8p.js → directive.Dpivxq_t.js} +2 -2
  109. package/dist/chunks/{directive.rXUeDb8p.js.map → directive.Dpivxq_t.js.map} +1 -1
  110. package/dist/chunks/{dropdown-default-textbox.CskseEho.js → dropdown-default-textbox.bq9AlGzJ.js} +55 -64
  111. package/dist/chunks/{dropdown-default-textbox.CskseEho.js.map → dropdown-default-textbox.bq9AlGzJ.js.map} +1 -1
  112. package/dist/chunks/{dropdown-tag.Zj-exiup.js → dropdown-tag.Ysrac5GN.js} +82 -86
  113. package/dist/chunks/{dropdown-tag.Zj-exiup.js.map → dropdown-tag.Ysrac5GN.js.map} +1 -1
  114. package/dist/chunks/dropdown.MhmX1P9o.js +799 -0
  115. package/dist/chunks/{dropdown.CxjzXI-k.js.map → dropdown.MhmX1P9o.js.map} +1 -1
  116. package/dist/chunks/{empty-state.DqdPzU-g.js → empty-state.DT4sFyjB.js} +7 -14
  117. package/dist/chunks/{empty-state.DqdPzU-g.js.map → empty-state.DT4sFyjB.js.map} +1 -1
  118. package/dist/chunks/{en-GB.C3-QUpva.js → en-GB.CBpvhDYV.js} +2 -2
  119. package/dist/chunks/{en-GB.C3-QUpva.js.map → en-GB.CBpvhDYV.js.map} +1 -1
  120. package/dist/chunks/{en-US.YeSsZuOc.js → en-US.CCazFVNP.js} +30 -30
  121. package/dist/chunks/{en-US.YeSsZuOc.js.map → en-US.CCazFVNP.js.map} +1 -1
  122. package/dist/chunks/{error-message.oGiefI2-.js → error-message.DCgo8q20.js} +8 -20
  123. package/dist/chunks/{error-message.oGiefI2-.js.map → error-message.DCgo8q20.js.map} +1 -1
  124. package/dist/chunks/{es.DyUjjSL8.js → es.CoF2PB8b.js} +14 -14
  125. package/dist/chunks/{es.DyUjjSL8.js.map → es.CoF2PB8b.js.map} +1 -1
  126. package/dist/chunks/{file-uploader.BnmNI1O7.js → file-uploader.Bfd1uUMe.js} +575 -680
  127. package/dist/chunks/{file-uploader.BnmNI1O7.js.map → file-uploader.Bfd1uUMe.js.map} +1 -1
  128. package/dist/chunks/filter-bar.CkAjLQol.js +3675 -0
  129. package/dist/chunks/filter-bar.CkAjLQol.js.map +1 -0
  130. package/dist/chunks/fixed-scroller.DtkaGyMD.js +150 -0
  131. package/dist/chunks/{fixed-scroller.i1tmEmst.js.map → fixed-scroller.DtkaGyMD.js.map} +1 -1
  132. package/dist/chunks/{focus-trap.BxCwzLqN.js → focus-trap.BAiM_ywb.js} +70 -86
  133. package/dist/chunks/{focus-trap.BxCwzLqN.js.map → focus-trap.BAiM_ywb.js.map} +1 -1
  134. package/dist/chunks/{footer-actions.Ck6UztD8.js → footer-actions.BcYSsoUg.js} +3 -3
  135. package/dist/chunks/{footer-actions.Ck6UztD8.js.map → footer-actions.BcYSsoUg.js.map} +1 -1
  136. package/dist/chunks/{form-layout-title.CQfeGyVw.js → form-layout-title.DW5Kg1rh.js} +4 -6
  137. package/dist/chunks/{form-layout-title.CQfeGyVw.js.map → form-layout-title.DW5Kg1rh.js.map} +1 -1
  138. package/dist/chunks/{fr.JD_4GwS8.js → fr.CJXL-Ief.js} +16 -16
  139. package/dist/chunks/{fr.JD_4GwS8.js.map → fr.CJXL-Ief.js.map} +1 -1
  140. package/dist/chunks/{generate-uid.NJ8tVoha.js → generate-uid.DBWe4g6T.js} +15 -16
  141. package/dist/chunks/{generate-uid.NJ8tVoha.js.map → generate-uid.DBWe4g6T.js.map} +1 -1
  142. package/dist/chunks/get-slot-text.8Fbl1GOr.js +6 -0
  143. package/dist/chunks/{get-slot-text.CQRAP2_q.js.map → get-slot-text.8Fbl1GOr.js.map} +1 -1
  144. package/dist/chunks/{grid-layout.Vhv1_zFs.js → grid-layout.CCWNscU_.js} +11 -12
  145. package/dist/chunks/{grid-layout.Vhv1_zFs.js.map → grid-layout.CCWNscU_.js.map} +1 -1
  146. package/dist/chunks/{header-meta.lGt3HsyH.js → header-meta.Bym9AlQm.js} +84 -96
  147. package/dist/chunks/{header-meta.lGt3HsyH.js.map → header-meta.Bym9AlQm.js.map} +1 -1
  148. package/dist/chunks/{header-with-views.D_sy4I2A.js → header-with-views.Djba6iol.js} +1013 -1156
  149. package/dist/chunks/{header-with-views.D_sy4I2A.js.map → header-with-views.Djba6iol.js.map} +1 -1
  150. package/dist/chunks/{header.oXqwf2xN.js → header.o-7SyHtU.js} +4 -4
  151. package/dist/chunks/{header.oXqwf2xN.js.map → header.o-7SyHtU.js.map} +1 -1
  152. package/dist/chunks/{index.Dppy4qHk.js → index.DDwcHPb6.js} +12 -12
  153. package/dist/chunks/{index.Dppy4qHk.js.map → index.DDwcHPb6.js.map} +1 -1
  154. package/dist/chunks/{info-icon.DyPOv7Pi.js → info-icon.BUala_wq.js} +3 -3
  155. package/dist/chunks/{info-icon.DyPOv7Pi.js.map → info-icon.BUala_wq.js.map} +1 -1
  156. package/dist/chunks/input-field-password.DZytmp_p.js +346 -0
  157. package/dist/chunks/{input-field-password.C_h61CMn.js.map → input-field-password.DZytmp_p.js.map} +1 -1
  158. package/dist/chunks/{input-field-phone-number.KctRYA9p.js → input-field-phone-number.CxblrmaU.js} +720 -736
  159. package/dist/chunks/{input-field-phone-number.KctRYA9p.js.map → input-field-phone-number.CxblrmaU.js.map} +1 -1
  160. package/dist/chunks/{input-field.DPElUS0U.js → input-field.CfU0ZKtL.js} +42 -54
  161. package/dist/chunks/{input-field.DPElUS0U.js.map → input-field.CfU0ZKtL.js.map} +1 -1
  162. package/dist/chunks/{inspector.BjLhY3bE.js → inspector.B9k4tJWe.js} +9 -27
  163. package/dist/chunks/{inspector.BjLhY3bE.js.map → inspector.B9k4tJWe.js.map} +1 -1
  164. package/dist/chunks/isSameWeek.Dj6luS8h.js +14 -0
  165. package/dist/chunks/{isSameWeek.CzBCmu7d.js.map → isSameWeek.Dj6luS8h.js.map} +1 -1
  166. package/dist/chunks/{it.BlUnV-yA.js → it.20Y7h-bF.js} +8 -8
  167. package/dist/chunks/{it.BlUnV-yA.js.map → it.20Y7h-bF.js.map} +1 -1
  168. package/dist/chunks/{ja.nUwDmVf2.js → ja.DXlq0H98.js} +27 -27
  169. package/dist/chunks/{ja.nUwDmVf2.js.map → ja.DXlq0H98.js.map} +1 -1
  170. package/dist/chunks/layout-row.B5VJGEQH.js +99 -0
  171. package/dist/chunks/{layout-row.Da8nkm9z.js.map → layout-row.B5VJGEQH.js.map} +1 -1
  172. package/dist/chunks/link.D6D6YGsN.js +113 -0
  173. package/dist/chunks/{link.DTCn2EtX.js.map → link.D6D6YGsN.js.map} +1 -1
  174. package/dist/chunks/list-item.DO5uULke.js +128 -0
  175. package/dist/chunks/list-item.DO5uULke.js.map +1 -0
  176. package/dist/chunks/{listbox-option-tag.CoBUYwFG.js → listbox-option-tag.Cvplth7d.js} +2 -2
  177. package/dist/chunks/{listbox-option-tag.CoBUYwFG.js.map → listbox-option-tag.Cvplth7d.js.map} +1 -1
  178. package/dist/chunks/{modal-fullscreen.9ZDR_S29.js → modal-fullscreen.CuKVyTWb.js} +100 -108
  179. package/dist/chunks/{modal-fullscreen.9ZDR_S29.js.map → modal-fullscreen.CuKVyTWb.js.map} +1 -1
  180. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.B0IdwV0R.js → modal.vue_vue_type_script_setup_true_lang.DmPw0l5Y.js} +134 -143
  181. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.B0IdwV0R.js.map → modal.vue_vue_type_script_setup_true_lang.DmPw0l5Y.js.map} +1 -1
  182. package/dist/chunks/on-click-outside.ZUMLlxE_.js +90 -0
  183. package/dist/chunks/{on-click-outside.BW4rkhzG.js.map → on-click-outside.ZUMLlxE_.js.map} +1 -1
  184. package/dist/chunks/pagination.dpVc6Yt0.js +401 -0
  185. package/dist/chunks/pagination.dpVc6Yt0.js.map +1 -0
  186. package/dist/chunks/popover.types.D8tHtFl3.js +6 -0
  187. package/dist/chunks/{popover.types.DhALnOLQ.js.map → popover.types.D8tHtFl3.js.map} +1 -1
  188. package/dist/chunks/{popper-container.DAK7c9uS.js → popper-container.DMN8n5iC.js} +79 -86
  189. package/dist/chunks/{popper-container.DAK7c9uS.js.map → popper-container.DMN8n5iC.js.map} +1 -1
  190. package/dist/chunks/{promo-banner.aNwH6uQx.js → promo-banner.BzveHNOI.js} +7 -13
  191. package/dist/chunks/{promo-banner.aNwH6uQx.js.map → promo-banner.BzveHNOI.js.map} +1 -1
  192. package/dist/chunks/{pt-BR.BCU2Hj36.js → pt-BR.DmhmCzxE.js} +14 -14
  193. package/dist/chunks/{pt-BR.BCU2Hj36.js.map → pt-BR.DmhmCzxE.js.map} +1 -1
  194. package/dist/chunks/{radio-group.DEYzF6o7.js → radio-group.Cuiq4mxy.js} +46 -46
  195. package/dist/chunks/{radio-group.DEYzF6o7.js.map → radio-group.Cuiq4mxy.js.map} +1 -1
  196. package/dist/chunks/{rich-text-editor.DH1d5Zcp.js → rich-text-editor.DLMiT4f5.js} +1018 -1024
  197. package/dist/chunks/{rich-text-editor.DH1d5Zcp.js.map → rich-text-editor.DLMiT4f5.js.map} +1 -1
  198. package/dist/chunks/{search-bar.Dtzx88Pv.js → search-bar.CsFyP0_I.js} +6 -15
  199. package/dist/chunks/{search-bar.Dtzx88Pv.js.map → search-bar.CsFyP0_I.js.map} +1 -1
  200. package/dist/chunks/{secondary-nav.Zs7dBoJv.js → secondary-nav.CLBdq98c.js} +6 -12
  201. package/dist/chunks/{secondary-nav.Zs7dBoJv.js.map → secondary-nav.CLBdq98c.js.map} +1 -1
  202. package/dist/chunks/{segmented-control.Aqquod8g.js → segmented-control.KeQ5kuR1.js} +47 -51
  203. package/dist/chunks/{segmented-control.Aqquod8g.js.map → segmented-control.KeQ5kuR1.js.map} +1 -1
  204. package/dist/chunks/selection-card-group.XM11Kk-4.js +412 -0
  205. package/dist/chunks/{selection-card-group.C7IK2Vl5.js.map → selection-card-group.XM11Kk-4.js.map} +1 -1
  206. package/dist/chunks/{sidepanel.DaXPcTHm.js → sidepanel.b2QZ1Jsx.js} +64 -71
  207. package/dist/chunks/{sidepanel.DaXPcTHm.js.map → sidepanel.b2QZ1Jsx.js.map} +1 -1
  208. package/dist/chunks/startOfWeek.Cvmo-f5J.js +9 -0
  209. package/dist/chunks/{startOfWeek.CXhhX-R7.js.map → startOfWeek.Cvmo-f5J.js.map} +1 -1
  210. package/dist/chunks/status.H00BAmRx.js +42 -0
  211. package/dist/chunks/status.H00BAmRx.js.map +1 -0
  212. package/dist/chunks/status.types.Dx8MDhEH.js +5 -0
  213. package/dist/chunks/status.types.Dx8MDhEH.js.map +1 -0
  214. package/dist/chunks/{step.BV7MsrRF.js → step.BlwoLfdw.js} +56 -68
  215. package/dist/chunks/{step.BV7MsrRF.js.map → step.BlwoLfdw.js.map} +1 -1
  216. package/dist/chunks/{structured-list-item.DAIaUMCY.js → structured-list-item.e-8kRleh.js} +8 -14
  217. package/dist/chunks/{structured-list-item.DAIaUMCY.js.map → structured-list-item.e-8kRleh.js.map} +1 -1
  218. package/dist/chunks/{summary-grid.types.BZcZS_dW.js → summary-grid.types.CcvOC03H.js} +172 -179
  219. package/dist/chunks/{summary-grid.types.BZcZS_dW.js.map → summary-grid.types.CcvOC03H.js.map} +1 -1
  220. package/dist/chunks/tab.mR5uUSdp.js +265 -0
  221. package/dist/chunks/{tab.DRrnMCxe.js.map → tab.mR5uUSdp.js.map} +1 -1
  222. package/dist/chunks/{tag.CqWg6C3H.js → tag.DujMVFh-.js} +3 -3
  223. package/dist/chunks/{tag.CqWg6C3H.js.map → tag.DujMVFh-.js.map} +1 -1
  224. package/dist/chunks/textarea.CHV6Z8nt.js +247 -0
  225. package/dist/chunks/{textarea.CvI2InIB.js.map → textarea.CHV6Z8nt.js.map} +1 -1
  226. package/dist/chunks/timeline-item.CaGcRZbt.js +419 -0
  227. package/dist/chunks/timeline-item.CaGcRZbt.js.map +1 -0
  228. package/dist/chunks/{toast.Bbtq3Icj.js → toast.C2oehk9P.js} +72 -78
  229. package/dist/chunks/{toast.Bbtq3Icj.js.map → toast.C2oehk9P.js.map} +1 -1
  230. package/dist/chunks/{toggle.BupEBkIG.js → toggle.BQoprdX-.js} +5 -5
  231. package/dist/chunks/{toggle.BupEBkIG.js.map → toggle.BQoprdX-.js.map} +1 -1
  232. package/dist/chunks/tooltip.CbADa_4p.js +199 -0
  233. package/dist/chunks/{tooltip.Lwtlhv3u.js.map → tooltip.CbADa_4p.js.map} +1 -1
  234. package/dist/chunks/truncate.DmCXQmeb.js +8 -0
  235. package/dist/chunks/{truncate.BfIl_-71.js.map → truncate.DmCXQmeb.js.map} +1 -1
  236. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.BL2QTKmV.js → tutorial.vue_vue_type_script_setup_true_lang.BOruzlTt.js} +100 -124
  237. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.BL2QTKmV.js.map → tutorial.vue_vue_type_script_setup_true_lang.BOruzlTt.js.map} +1 -1
  238. package/dist/chunks/{use-bento-toast-controller.BFctDoMg.js → use-bento-toast-controller.D_NSnBxi.js} +2 -2
  239. package/dist/chunks/{use-bento-toast-controller.BFctDoMg.js.map → use-bento-toast-controller.D_NSnBxi.js.map} +1 -1
  240. package/dist/chunks/use-cached-selected-values.ClEJRFAd.js +1631 -0
  241. package/dist/chunks/{use-cached-selected-values.C4_X3vVj.js.map → use-cached-selected-values.ClEJRFAd.js.map} +1 -1
  242. package/dist/chunks/use-country-items.D_3LBe2I.js +30 -0
  243. package/dist/chunks/{use-country-items.BTzByPdQ.js.map → use-country-items.D_3LBe2I.js.map} +1 -1
  244. package/dist/chunks/use-country-phon-code.DoqTGkNr.js +287 -0
  245. package/dist/chunks/use-country-phon-code.DoqTGkNr.js.map +1 -0
  246. package/dist/chunks/use-date-input-formatter.CDRzd-hW.js +1629 -0
  247. package/dist/chunks/{use-date-input-formatter.dtbK-CEy.js.map → use-date-input-formatter.CDRzd-hW.js.map} +1 -1
  248. package/dist/chunks/use-default-slot-validator.BzHcrgmy.js +12 -0
  249. package/dist/chunks/{use-default-slot-validator.O02rzsob.js.map → use-default-slot-validator.BzHcrgmy.js.map} +1 -1
  250. package/dist/chunks/use-expandable-content-height.B5jjRvCz.js +16 -0
  251. package/dist/chunks/{use-expandable-content-height.GkjjbmPy.js.map → use-expandable-content-height.B5jjRvCz.js.map} +1 -1
  252. package/dist/chunks/use-has-slot.CyMiImRQ.js +14 -0
  253. package/dist/chunks/{use-has-slot.B7eQSabc.js.map → use-has-slot.CyMiImRQ.js.map} +1 -1
  254. package/dist/chunks/utils.DWmc2mUI.js +19 -0
  255. package/dist/chunks/{utils.BzUwtTXc.js.map → utils.DWmc2mUI.js.map} +1 -1
  256. package/dist/chunks/{zh-CN.ChYkuQAR.js → zh-CN.Ce34mXsX.js} +28 -28
  257. package/dist/chunks/{zh-CN.ChYkuQAR.js.map → zh-CN.Ce34mXsX.js.map} +1 -1
  258. package/dist/click-outside.js +1 -1
  259. package/dist/code-snippet.js +1 -1
  260. package/dist/country.js +3 -3
  261. package/dist/currency.js +1 -1
  262. package/dist/dashboard-template.js +1 -1
  263. package/dist/dashed-underline.js +1 -1
  264. package/dist/data-grid-template.js +1 -1
  265. package/dist/data-grid.js +1 -1
  266. package/dist/date-picker.js +2 -2
  267. package/dist/date-range-picker.js +2 -2
  268. package/dist/date.js +1 -1
  269. package/dist/draggable-handle.js +4 -28
  270. package/dist/draggable-handle.js.map +1 -1
  271. package/dist/dropdown.js +4 -4
  272. package/dist/empty-state.js +1 -1
  273. package/dist/file-uploader.js +1 -1
  274. package/dist/filter-bar.js +1 -1
  275. package/dist/focus-trap.js +1 -1
  276. package/dist/form-layout.js +1 -1
  277. package/dist/header-with-views.js +1 -1
  278. package/dist/header.js +1 -1
  279. package/dist/index.js +241 -241
  280. package/dist/index.js.map +1 -1
  281. package/dist/info-icon.js +1 -1
  282. package/dist/input-field-password.js +1 -1
  283. package/dist/input-field-phone-number.js +1 -1
  284. package/dist/input-field.js +1 -1
  285. package/dist/inspector.js +1 -1
  286. package/dist/internal.js +13 -13
  287. package/dist/layout.js +1 -1
  288. package/dist/link.js +1 -1
  289. package/dist/list.js +6 -0
  290. package/dist/list.js.map +1 -0
  291. package/dist/menu.js +1 -1
  292. package/dist/modal-fullscreen.js +1 -1
  293. package/dist/modal.js +2 -2
  294. package/dist/pagination.js +1 -1
  295. package/dist/popover.js +2 -2
  296. package/dist/popper-container.js +1 -1
  297. package/dist/promo-banner.js +1 -1
  298. package/dist/radio-group.js +1 -1
  299. package/dist/rich-text-editor.js +1 -1
  300. package/dist/search-bar.js +2 -2
  301. package/dist/secondary-nav.js +1 -1
  302. package/dist/segmented-control.js +1 -1
  303. package/dist/selection-card.js +1 -1
  304. package/dist/sidepanel.js +1 -1
  305. package/dist/status.js +4 -3
  306. package/dist/status.js.map +1 -1
  307. package/dist/stepper.js +1 -1
  308. package/dist/structured-list.js +1 -1
  309. package/dist/summary-grid.js +1 -1
  310. package/dist/tabs.js +1 -1
  311. package/dist/tag.js +1 -1
  312. package/dist/textarea.js +1 -1
  313. package/dist/timeline.js +1 -1
  314. package/dist/toast.js +1 -1
  315. package/dist/toggle.js +1 -1
  316. package/dist/tutorial.js +1 -1
  317. package/dist/use-form-v4.js +331 -341
  318. package/dist/use-form-v4.js.map +1 -1
  319. package/dist/web-types.json +1 -1
  320. package/package.json +7 -7
  321. package/dist/chunks/anchor-scroller.BctgW0se.js +0 -214
  322. package/dist/chunks/base-modal.gZAtk-xP.js +0 -443
  323. package/dist/chunks/button-actions-with-menu.Tba1ME79.js +0 -93
  324. package/dist/chunks/calendar.vM3abC8y.js +0 -1234
  325. package/dist/chunks/click-outside.CDz_x8mN.js +0 -23
  326. package/dist/chunks/constructNow.CIc7d13I.js +0 -8
  327. package/dist/chunks/country.types.BBQbWkTY.js +0 -773
  328. package/dist/chunks/dashboard-section.CgoLquLP.js +0 -165
  329. package/dist/chunks/dashed-underline.wbRHATeE.js +0 -114
  330. package/dist/chunks/data-grid-template.D40V1cmi.js +0 -144
  331. package/dist/chunks/data-grid.C2nCCbeC.js +0 -4368
  332. package/dist/chunks/date-picker.D5B_SECc.js +0 -251
  333. package/dist/chunks/date-range-picker.B0q7Z4df.js +0 -1084
  334. package/dist/chunks/differenceInMonths.CIYECBxK.js +0 -43
  335. package/dist/chunks/dropdown.CxjzXI-k.js +0 -837
  336. package/dist/chunks/filter-bar.DJ7O4zLX.js +0 -4036
  337. package/dist/chunks/filter-bar.DJ7O4zLX.js.map +0 -1
  338. package/dist/chunks/fixed-scroller.i1tmEmst.js +0 -161
  339. package/dist/chunks/get-slot-text.CQRAP2_q.js +0 -12
  340. package/dist/chunks/input-field-password.C_h61CMn.js +0 -402
  341. package/dist/chunks/isSameWeek.CzBCmu7d.js +0 -14
  342. package/dist/chunks/layout-row.Da8nkm9z.js +0 -100
  343. package/dist/chunks/link.DTCn2EtX.js +0 -116
  344. package/dist/chunks/on-click-outside.BW4rkhzG.js +0 -91
  345. package/dist/chunks/pagination.B32UgSoH.js +0 -488
  346. package/dist/chunks/pagination.B32UgSoH.js.map +0 -1
  347. package/dist/chunks/popover.types.DhALnOLQ.js +0 -6
  348. package/dist/chunks/selection-card-group.C7IK2Vl5.js +0 -417
  349. package/dist/chunks/startOfWeek.CXhhX-R7.js +0 -10
  350. package/dist/chunks/status.types.D3v3k-Q8.js +0 -44
  351. package/dist/chunks/status.types.D3v3k-Q8.js.map +0 -1
  352. package/dist/chunks/tab.DRrnMCxe.js +0 -273
  353. package/dist/chunks/textarea.CvI2InIB.js +0 -255
  354. package/dist/chunks/timeline-item.BooD99hL.js +0 -427
  355. package/dist/chunks/timeline-item.BooD99hL.js.map +0 -1
  356. package/dist/chunks/tooltip.Lwtlhv3u.js +0 -202
  357. package/dist/chunks/truncate.BfIl_-71.js +0 -8
  358. package/dist/chunks/use-cached-selected-values.C4_X3vVj.js +0 -1711
  359. package/dist/chunks/use-country-items.BTzByPdQ.js +0 -30
  360. package/dist/chunks/use-country-phon-code.Bui3zD6W.js +0 -5621
  361. package/dist/chunks/use-country-phon-code.Bui3zD6W.js.map +0 -1
  362. package/dist/chunks/use-date-input-formatter.dtbK-CEy.js +0 -1732
  363. package/dist/chunks/use-default-slot-validator.O02rzsob.js +0 -16
  364. package/dist/chunks/use-expandable-content-height.GkjjbmPy.js +0 -17
  365. package/dist/chunks/use-has-slot.B7eQSabc.js +0 -15
  366. package/dist/chunks/utils.BzUwtTXc.js +0 -21
@@ -0,0 +1,150 @@
1
+ import { ref as a, onMounted as I, computed as u, defineComponent as T, openBlock as g, createElementBlock as R, createElementVNode as B, normalizeStyle as V, unref as e, renderSlot as N, normalizeClass as y, createVNode as p, withCtx as C, createCommentVNode as L } from "vue";
2
+ import { B as k } from "./button.DWF7FSIw.js";
3
+ import { u as z } from "./index.B875RXHM.js";
4
+ import { C as P, a as A } from "./chevron-left.C_vPW7OR.js";
5
+ import { o as W } from "./resize.Bqks3WUm.js";
6
+ import { _ as M } from "./_plugin-vue_export-helper.CHgC5LLL.js";
7
+ import "../assets/fixed-scroller.css";
8
+ const $ = 1, w = 40, D = ({
9
+ contentRef: n,
10
+ containerRef: c,
11
+ leftButtonRef: d,
12
+ rightButtonRef: f
13
+ }) => {
14
+ const l = a(0), t = a(0), s = a(0), o = a(0);
15
+ I(() => {
16
+ W(c.value, () => {
17
+ c.value && (o.value = c.value.offsetWidth, t.value = 0, l.value = 0);
18
+ }), W(n.value, () => {
19
+ s.value = n.value?.scrollWidth, s.value < o.value && (t.value = 0, l.value = 0);
20
+ });
21
+ });
22
+ const v = u(() => {
23
+ const r = d.value?.scrollWidth ? d.value.scrollWidth + w : 0, S = f.value?.scrollWidth ? f.value.scrollWidth + w : 0;
24
+ return r + S;
25
+ }), i = u(() => Math.ceil(s.value / o.value) ?? 0), h = u(() => {
26
+ const r = new Array(i.value).fill(0);
27
+ return r.forEach((S, m) => {
28
+ if (m === 0)
29
+ return;
30
+ if (m === i.value - 1) {
31
+ r[r.length - 1] = -(s.value - o.value + $);
32
+ return;
33
+ }
34
+ const O = r[m - 1];
35
+ r[m] = -(o.value + Math.abs(O) - v.value);
36
+ }), r;
37
+ }), b = u(() => t.value !== 0), _ = u(
38
+ () => l.value >= -(s.value - o.value - 1)
39
+ );
40
+ return {
41
+ offset: l,
42
+ shouldShowLeftButton: b,
43
+ shouldShowRightButton: _,
44
+ // Methods
45
+ scrollLeft: () => {
46
+ t.value !== 0 && (t.value -= 1, l.value = h.value[t.value]);
47
+ },
48
+ scrollRight: () => {
49
+ t.value !== i.value - 1 && (t.value += 1, l.value = h.value[t.value]);
50
+ }
51
+ };
52
+ }, E = {
53
+ "en-US": { scrollLeft: "Scroll left", scrollRight: "Scroll right" },
54
+ "ja-JP": { scrollLeft: "左にスクロール", scrollRight: "右にスクロール" },
55
+ "pt-BR": { scrollLeft: "Deslizar para esquerda", scrollRight: "Rolar à direita" }
56
+ }, j = { class: "b-fixed-scroller__container" }, q = {
57
+ i18n: { messages: E }
58
+ }, G = /* @__PURE__ */ T({
59
+ ...q,
60
+ __name: "fixed-scroller",
61
+ props: {
62
+ /**
63
+ * Applies the condensed style to the buttons
64
+ */
65
+ condensed: { type: Boolean, default: !1 },
66
+ /**
67
+ * Padding to be applied to the top of the scroller container
68
+ */
69
+ extraPaddingTop: { type: Number, default: 0 },
70
+ /**
71
+ * Padding to be applied to the top of the scroller container
72
+ */
73
+ centered: { type: Boolean, default: !1 }
74
+ },
75
+ setup(n) {
76
+ const { t: c } = z({ messages: E }), d = a(null), f = a(null), l = a(null), t = a(null), s = n, { offset: o, shouldShowLeftButton: v, shouldShowRightButton: i, scrollLeft: h, scrollRight: b } = D({
77
+ contentRef: d,
78
+ containerRef: f,
79
+ leftButtonRef: l,
80
+ rightButtonRef: t
81
+ }), _ = u(() => ({
82
+ "b-fixed-scroller__button--centered": s.centered
83
+ }));
84
+ return (x, F) => (g(), R("div", {
85
+ ref_key: "fixedScrollerRef",
86
+ ref: f,
87
+ class: "b-fixed-scroller"
88
+ }, [
89
+ B("div", j, [
90
+ B("div", {
91
+ ref_key: "contentRef",
92
+ ref: d,
93
+ class: "b-fixed-scroller__content",
94
+ style: V({
95
+ transform: `translateX(${e(o)}px)`,
96
+ paddingTop: e(v) || e(i) ? `${n.extraPaddingTop}px` : null
97
+ })
98
+ }, [
99
+ N(x.$slots, "default", {}, void 0, !0)
100
+ ], 4)
101
+ ]),
102
+ e(v) ? (g(), R("div", {
103
+ key: 0,
104
+ ref_key: "leftButtonRef",
105
+ ref: l,
106
+ class: y(["b-fixed-scroller__left b-fixed-scroller__button", _.value])
107
+ }, [
108
+ p(e(k), {
109
+ variant: "secondary",
110
+ "aria-label": e(c)("scrollLeft"),
111
+ condensed: n.condensed,
112
+ onClick: e(h)
113
+ }, {
114
+ iconLeft: C(() => [
115
+ p(e(P), {
116
+ "svg-title": "checked",
117
+ "aria-hidden": "true"
118
+ })
119
+ ]),
120
+ _: 1
121
+ }, 8, ["aria-label", "condensed", "onClick"])
122
+ ], 2)) : L("", !0),
123
+ e(i) ? (g(), R("div", {
124
+ key: 1,
125
+ ref_key: "rightButtonRef",
126
+ ref: t,
127
+ class: y(["b-fixed-scroller__right b-fixed-scroller__button", _.value])
128
+ }, [
129
+ p(e(k), {
130
+ variant: "secondary",
131
+ "aria-label": e(c)("scrollRight"),
132
+ condensed: n.condensed,
133
+ onClick: e(b)
134
+ }, {
135
+ iconLeft: C(() => [
136
+ p(e(A), {
137
+ "svg-title": "checked",
138
+ "aria-hidden": "true"
139
+ })
140
+ ]),
141
+ _: 1
142
+ }, 8, ["aria-label", "condensed", "onClick"])
143
+ ], 2)) : L("", !0)
144
+ ], 512));
145
+ }
146
+ }), Y = /* @__PURE__ */ M(G, [["__scopeId", "data-v-e829dae2"]]);
147
+ export {
148
+ Y as F
149
+ };
150
+ //# sourceMappingURL=fixed-scroller.DtkaGyMD.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"fixed-scroller.i1tmEmst.js","sources":["../../../vue2/src/components/internal/fixed-scroller/composables/useFixedScroller.ts","../../../vue2/src/components/internal/fixed-scroller/fixed-scroller.vue"],"sourcesContent":["import { observeSizeOfElement } from '@/utils/ts/resize';\nimport { computed, onMounted, ref } from 'vue';\nimport type { Ref, UnwrapRef } from 'vue';\n\n// Adding an offset of \"1\" so that the border can be shown within the boundaries\nconst OVERFLOW_CLIP_OFFSET = 1;\n// Add the gradient offset to the calculations\nconst GRADIENT_OFFSET = 40;\n\ninterface useFixedScrollerProps {\n contentRef?: Ref<UnwrapRef<HTMLDivElement | undefined>>;\n containerRef?: Ref<UnwrapRef<HTMLDivElement | undefined>>;\n leftButtonRef?: Ref<UnwrapRef<HTMLDivElement | undefined>>;\n rightButtonRef?: Ref<UnwrapRef<HTMLDivElement | undefined>>;\n}\n\n/**\n * Function to calculate the offset of each view and change the \"view\" via offsets\n * through the functions `scrollLeft` and `scrollRight` whilst providing a way to\n * show and hide the buttons based on the current \"view\" via\n * `shouldShowLeftButton` and `shouldShowRightButton`.\n *\n * Each view is pre-calculated (offsetArray) and updated if the content changes as a computed ref:\n * First view: Always 0 (x axis beginning).\n * Last view: total content space - visible width\n * Intermediate views: Previous offset (to the left) plus the visible space taking\n * away the space the buttons take so that the whole view can be rendered\n *\n *\n * @param props - All the necessary references to calculate the scroll\n * @param props.containerRef - Reference to the container, this defines the visible space width\n * @param props.contentRef - Reference to the content itself, this defines the total content width\n * @param props.leftButtonRef - Reference to the left button, used to calculate total space in which the content will be rendered\n * @param props.rightButtonRef - Reference to the right button, used to calculate total space in which the content will be rendered\n * @returns response - Values used in the view to show the buttons and to change the view right or left\n * @returns response.offset - Offset value by which the view will move on the x axis. To be used in `styles`.\n * @returns response.shouldShowLeftButton - Indicates if the button on the left should be shown\n * @returns response.shouldShowRightButton - Indicates if the button on the right should be shown\n * @returns response.scrollLeft - Used to shift the view to the left\n * @returns response.scrollRight - Used to shift the view to the right\n */\nexport const useFixedScroller = ({\n contentRef,\n containerRef,\n leftButtonRef,\n rightButtonRef,\n}: useFixedScrollerProps) => {\n const offset = ref(0);\n const currentView = ref(0);\n\n // Calculated using 'scrollWidth' to get the full width of the content\n const totalContentWidth = ref(0);\n // Calculated using 'clientWidth' to get the rendered componen width\n const visibleSpaceWidth = ref(0);\n\n onMounted(() => {\n observeSizeOfElement(containerRef.value, () => {\n if (containerRef.value) {\n // Set new width when resized\n visibleSpaceWidth.value = containerRef.value.offsetWidth;\n // Reset the offset and view\n currentView.value = 0;\n offset.value = 0;\n }\n });\n\n observeSizeOfElement(contentRef.value, () => {\n totalContentWidth.value = contentRef.value?.scrollWidth;\n\n if (totalContentWidth.value < visibleSpaceWidth.value) {\n // Reset the offset and view\n currentView.value = 0;\n offset.value = 0;\n }\n });\n });\n\n // Sum of the space used by the Left and Right buttons\n // Used to calculate how much space the \"actual\" visible space is\n const buttonsWidth = computed(() => {\n const leftButtonWidth = leftButtonRef.value?.scrollWidth\n ? leftButtonRef.value.scrollWidth + GRADIENT_OFFSET\n : 0;\n const rightButtonWidth = rightButtonRef.value?.scrollWidth\n ? rightButtonRef.value.scrollWidth + GRADIENT_OFFSET\n : 0;\n\n return leftButtonWidth + rightButtonWidth;\n });\n // Total number of pages/views available.\n // Calculated as \"ceil\" because if the space doesn't fit \"one view\" (irrational number) the content flows to the next view (integer).\n const totalViews = computed(() => Math.ceil(totalContentWidth.value / visibleSpaceWidth.value) ?? 0);\n\n // Calculation of offsets per view (index).\n // This allows to easily swap the offset without on-the-fly calculations\n const offsetArray = computed(() => {\n const calculatedOffsetList = new Array(totalViews.value).fill(0);\n\n calculatedOffsetList.forEach((_, index) => {\n // First offset will be 0\n if (index === 0) {\n return;\n }\n\n // Calculate last\n if (index === totalViews.value - 1) {\n calculatedOffsetList[calculatedOffsetList.length - 1] = -(\n totalContentWidth.value -\n visibleSpaceWidth.value +\n OVERFLOW_CLIP_OFFSET\n );\n\n return;\n }\n\n // Calculate each offset - Move 1 view\n const previousOffset = calculatedOffsetList[index - 1];\n calculatedOffsetList[index] = -(visibleSpaceWidth.value + Math.abs(previousOffset) - buttonsWidth.value);\n });\n\n return calculatedOffsetList;\n });\n\n // Hide left button when it's the first view\n const shouldShowLeftButton = computed(() => currentView.value !== 0);\n // Hide right button if it's the last view\n const shouldShowRightButton = computed(\n () => offset.value >= -(totalContentWidth.value - visibleSpaceWidth.value - 1)\n );\n\n /**\n * Shifts the current offset by one view to the left.\n */\n const scrollLeft = () => {\n // Do nothing if it is already in page 0\n if (currentView.value === 0) {\n return;\n }\n\n currentView.value -= 1;\n offset.value = offsetArray.value[currentView.value];\n };\n\n /**\n * Shifts the current offset by one view to the right.\n */\n const scrollRight = () => {\n // Do nothing if it is already in last page\n if (currentView.value === totalViews.value - 1) {\n return;\n }\n\n currentView.value += 1;\n offset.value = offsetArray.value[currentView.value];\n };\n\n return {\n offset,\n shouldShowLeftButton,\n shouldShowRightButton,\n\n // Methods\n scrollLeft,\n scrollRight,\n };\n};\n","<template>\n <div ref=\"fixedScrollerRef\" class=\"b-fixed-scroller\">\n <div class=\"b-fixed-scroller__container\">\n <div\n ref=\"contentRef\"\n class=\"b-fixed-scroller__content\"\n :style=\"{\n transform: `translateX(${offset}px)`,\n paddingTop: shouldShowLeftButton || shouldShowRightButton ? `${extraPaddingTop}px` : null,\n }\"\n >\n <slot></slot>\n </div>\n </div>\n\n <div\n v-if=\"shouldShowLeftButton\"\n ref=\"leftButtonRef\"\n class=\"b-fixed-scroller__left b-fixed-scroller__button\"\n :class=\"buttonConditionalClasses\"\n >\n <bento-button variant=\"secondary\" :aria-label=\"t('scrollLeft')\" :condensed=\"condensed\" @click=\"scrollLeft\">\n <template #iconLeft>\n <chevron-left-icon svg-title=\"checked\" aria-hidden=\"true\" />\n </template>\n </bento-button>\n </div>\n <div\n v-if=\"shouldShowRightButton\"\n ref=\"rightButtonRef\"\n class=\"b-fixed-scroller__right b-fixed-scroller__button\"\n :class=\"buttonConditionalClasses\"\n >\n <bento-button\n variant=\"secondary\"\n :aria-label=\"t('scrollRight')\"\n :condensed=\"condensed\"\n @click=\"scrollRight\"\n >\n <template #iconLeft>\n <chevron-right-icon svg-title=\"checked\" aria-hidden=\"true\" />\n </template>\n </bento-button>\n </div>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, ref } from 'vue';\n import { BentoButton } from '@/components/button';\n import { useFixedScroller } from './composables';\n import { useI18n } from '@/utils/ts/i18n';\n import ChevronLeftIcon from '@adyen/ui-assets-icons-16/vue/chevron-left';\n import ChevronRightIcon from '@adyen/ui-assets-icons-16/vue/chevron-right';\n\n import messages from './messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n\n const contentRef = ref(null);\n const fixedScrollerRef = ref(null);\n const leftButtonRef = ref(null);\n const rightButtonRef = ref(null);\n\n const props = defineProps({\n /**\n * Applies the condensed style to the buttons\n */\n condensed: { type: Boolean, default: false },\n /**\n * Padding to be applied to the top of the scroller container\n */\n extraPaddingTop: { type: Number, default: 0 },\n /**\n * Padding to be applied to the top of the scroller container\n */\n centered: { type: Boolean, default: false },\n });\n\n const { offset, shouldShowLeftButton, shouldShowRightButton, scrollLeft, scrollRight } = useFixedScroller({\n contentRef,\n containerRef: fixedScrollerRef,\n leftButtonRef,\n rightButtonRef,\n });\n\n const buttonConditionalClasses = computed(() => ({\n 'b-fixed-scroller__button--centered': props.centered,\n }));\n</script>\n\n<script lang=\"ts\">\n /**\n * Allows to horizontally scroll content by one view at a time.\n *\n * @example\n * import { FixedScroller } from '@/internal';\n *\n * export default {\n * components: { FixedScroller },\n * template: `\n * <fixed-scroller>\n * <div style=\"display: flex; gap: 8px;\">\n * {{ Content here }}\n * </div>\n * </fixed-scroller>\n * `\n * }\n */\n export default {\n i18n: { messages },\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./fixed-scroller.scss\" />\n"],"names":["OVERFLOW_CLIP_OFFSET","GRADIENT_OFFSET","useFixedScroller","contentRef","containerRef","leftButtonRef","rightButtonRef","offset","ref","currentView","totalContentWidth","visibleSpaceWidth","onMounted","observeSizeOfElement","_a","buttonsWidth","computed","leftButtonWidth","rightButtonWidth","_b","totalViews","offsetArray","calculatedOffsetList","_","index","previousOffset","shouldShowLeftButton","shouldShowRightButton","__default__","messages","t","useI18n","fixedScrollerRef","props","__props","scrollLeft","scrollRight","buttonConditionalClasses"],"mappings":"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"}
1
+ {"version":3,"file":"fixed-scroller.DtkaGyMD.js","sources":["../../../vue2/src/components/internal/fixed-scroller/composables/useFixedScroller.ts","../../../vue2/src/components/internal/fixed-scroller/fixed-scroller.vue"],"sourcesContent":["import { observeSizeOfElement } from '@/utils/ts/resize';\nimport { computed, onMounted, ref } from 'vue';\nimport type { Ref, UnwrapRef } from 'vue';\n\n// Adding an offset of \"1\" so that the border can be shown within the boundaries\nconst OVERFLOW_CLIP_OFFSET = 1;\n// Add the gradient offset to the calculations\nconst GRADIENT_OFFSET = 40;\n\ninterface useFixedScrollerProps {\n contentRef?: Ref<UnwrapRef<HTMLDivElement | undefined>>;\n containerRef?: Ref<UnwrapRef<HTMLDivElement | undefined>>;\n leftButtonRef?: Ref<UnwrapRef<HTMLDivElement | undefined>>;\n rightButtonRef?: Ref<UnwrapRef<HTMLDivElement | undefined>>;\n}\n\n/**\n * Function to calculate the offset of each view and change the \"view\" via offsets\n * through the functions `scrollLeft` and `scrollRight` whilst providing a way to\n * show and hide the buttons based on the current \"view\" via\n * `shouldShowLeftButton` and `shouldShowRightButton`.\n *\n * Each view is pre-calculated (offsetArray) and updated if the content changes as a computed ref:\n * First view: Always 0 (x axis beginning).\n * Last view: total content space - visible width\n * Intermediate views: Previous offset (to the left) plus the visible space taking\n * away the space the buttons take so that the whole view can be rendered\n *\n *\n * @param props - All the necessary references to calculate the scroll\n * @param props.containerRef - Reference to the container, this defines the visible space width\n * @param props.contentRef - Reference to the content itself, this defines the total content width\n * @param props.leftButtonRef - Reference to the left button, used to calculate total space in which the content will be rendered\n * @param props.rightButtonRef - Reference to the right button, used to calculate total space in which the content will be rendered\n * @returns response - Values used in the view to show the buttons and to change the view right or left\n * @returns response.offset - Offset value by which the view will move on the x axis. To be used in `styles`.\n * @returns response.shouldShowLeftButton - Indicates if the button on the left should be shown\n * @returns response.shouldShowRightButton - Indicates if the button on the right should be shown\n * @returns response.scrollLeft - Used to shift the view to the left\n * @returns response.scrollRight - Used to shift the view to the right\n */\nexport const useFixedScroller = ({\n contentRef,\n containerRef,\n leftButtonRef,\n rightButtonRef,\n}: useFixedScrollerProps) => {\n const offset = ref(0);\n const currentView = ref(0);\n\n // Calculated using 'scrollWidth' to get the full width of the content\n const totalContentWidth = ref(0);\n // Calculated using 'clientWidth' to get the rendered componen width\n const visibleSpaceWidth = ref(0);\n\n onMounted(() => {\n observeSizeOfElement(containerRef.value, () => {\n if (containerRef.value) {\n // Set new width when resized\n visibleSpaceWidth.value = containerRef.value.offsetWidth;\n // Reset the offset and view\n currentView.value = 0;\n offset.value = 0;\n }\n });\n\n observeSizeOfElement(contentRef.value, () => {\n totalContentWidth.value = contentRef.value?.scrollWidth;\n\n if (totalContentWidth.value < visibleSpaceWidth.value) {\n // Reset the offset and view\n currentView.value = 0;\n offset.value = 0;\n }\n });\n });\n\n // Sum of the space used by the Left and Right buttons\n // Used to calculate how much space the \"actual\" visible space is\n const buttonsWidth = computed(() => {\n const leftButtonWidth = leftButtonRef.value?.scrollWidth\n ? leftButtonRef.value.scrollWidth + GRADIENT_OFFSET\n : 0;\n const rightButtonWidth = rightButtonRef.value?.scrollWidth\n ? rightButtonRef.value.scrollWidth + GRADIENT_OFFSET\n : 0;\n\n return leftButtonWidth + rightButtonWidth;\n });\n // Total number of pages/views available.\n // Calculated as \"ceil\" because if the space doesn't fit \"one view\" (irrational number) the content flows to the next view (integer).\n const totalViews = computed(() => Math.ceil(totalContentWidth.value / visibleSpaceWidth.value) ?? 0);\n\n // Calculation of offsets per view (index).\n // This allows to easily swap the offset without on-the-fly calculations\n const offsetArray = computed(() => {\n const calculatedOffsetList = new Array(totalViews.value).fill(0);\n\n calculatedOffsetList.forEach((_, index) => {\n // First offset will be 0\n if (index === 0) {\n return;\n }\n\n // Calculate last\n if (index === totalViews.value - 1) {\n calculatedOffsetList[calculatedOffsetList.length - 1] = -(\n totalContentWidth.value -\n visibleSpaceWidth.value +\n OVERFLOW_CLIP_OFFSET\n );\n\n return;\n }\n\n // Calculate each offset - Move 1 view\n const previousOffset = calculatedOffsetList[index - 1];\n calculatedOffsetList[index] = -(visibleSpaceWidth.value + Math.abs(previousOffset) - buttonsWidth.value);\n });\n\n return calculatedOffsetList;\n });\n\n // Hide left button when it's the first view\n const shouldShowLeftButton = computed(() => currentView.value !== 0);\n // Hide right button if it's the last view\n const shouldShowRightButton = computed(\n () => offset.value >= -(totalContentWidth.value - visibleSpaceWidth.value - 1)\n );\n\n /**\n * Shifts the current offset by one view to the left.\n */\n const scrollLeft = () => {\n // Do nothing if it is already in page 0\n if (currentView.value === 0) {\n return;\n }\n\n currentView.value -= 1;\n offset.value = offsetArray.value[currentView.value];\n };\n\n /**\n * Shifts the current offset by one view to the right.\n */\n const scrollRight = () => {\n // Do nothing if it is already in last page\n if (currentView.value === totalViews.value - 1) {\n return;\n }\n\n currentView.value += 1;\n offset.value = offsetArray.value[currentView.value];\n };\n\n return {\n offset,\n shouldShowLeftButton,\n shouldShowRightButton,\n\n // Methods\n scrollLeft,\n scrollRight,\n };\n};\n","<template>\n <div ref=\"fixedScrollerRef\" class=\"b-fixed-scroller\">\n <div class=\"b-fixed-scroller__container\">\n <div\n ref=\"contentRef\"\n class=\"b-fixed-scroller__content\"\n :style=\"{\n transform: `translateX(${offset}px)`,\n paddingTop: shouldShowLeftButton || shouldShowRightButton ? `${extraPaddingTop}px` : null,\n }\"\n >\n <slot></slot>\n </div>\n </div>\n\n <div\n v-if=\"shouldShowLeftButton\"\n ref=\"leftButtonRef\"\n class=\"b-fixed-scroller__left b-fixed-scroller__button\"\n :class=\"buttonConditionalClasses\"\n >\n <bento-button variant=\"secondary\" :aria-label=\"t('scrollLeft')\" :condensed=\"condensed\" @click=\"scrollLeft\">\n <template #iconLeft>\n <chevron-left-icon svg-title=\"checked\" aria-hidden=\"true\" />\n </template>\n </bento-button>\n </div>\n <div\n v-if=\"shouldShowRightButton\"\n ref=\"rightButtonRef\"\n class=\"b-fixed-scroller__right b-fixed-scroller__button\"\n :class=\"buttonConditionalClasses\"\n >\n <bento-button\n variant=\"secondary\"\n :aria-label=\"t('scrollRight')\"\n :condensed=\"condensed\"\n @click=\"scrollRight\"\n >\n <template #iconLeft>\n <chevron-right-icon svg-title=\"checked\" aria-hidden=\"true\" />\n </template>\n </bento-button>\n </div>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, ref } from 'vue';\n import { BentoButton } from '@/components/button';\n import { useFixedScroller } from './composables';\n import { useI18n } from '@/utils/ts/i18n';\n import ChevronLeftIcon from '@adyen/ui-assets-icons-16/vue/chevron-left';\n import ChevronRightIcon from '@adyen/ui-assets-icons-16/vue/chevron-right';\n\n import messages from './messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n\n const contentRef = ref(null);\n const fixedScrollerRef = ref(null);\n const leftButtonRef = ref(null);\n const rightButtonRef = ref(null);\n\n const props = defineProps({\n /**\n * Applies the condensed style to the buttons\n */\n condensed: { type: Boolean, default: false },\n /**\n * Padding to be applied to the top of the scroller container\n */\n extraPaddingTop: { type: Number, default: 0 },\n /**\n * Padding to be applied to the top of the scroller container\n */\n centered: { type: Boolean, default: false },\n });\n\n const { offset, shouldShowLeftButton, shouldShowRightButton, scrollLeft, scrollRight } = useFixedScroller({\n contentRef,\n containerRef: fixedScrollerRef,\n leftButtonRef,\n rightButtonRef,\n });\n\n const buttonConditionalClasses = computed(() => ({\n 'b-fixed-scroller__button--centered': props.centered,\n }));\n</script>\n\n<script lang=\"ts\">\n /**\n * Allows to horizontally scroll content by one view at a time.\n *\n * @example\n * import { FixedScroller } from '@/internal';\n *\n * export default {\n * components: { FixedScroller },\n * template: `\n * <fixed-scroller>\n * <div style=\"display: flex; gap: 8px;\">\n * {{ Content here }}\n * </div>\n * </fixed-scroller>\n * `\n * }\n */\n export default {\n i18n: { messages },\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./fixed-scroller.scss\" />\n"],"names":["OVERFLOW_CLIP_OFFSET","GRADIENT_OFFSET","useFixedScroller","contentRef","containerRef","leftButtonRef","rightButtonRef","offset","ref","currentView","totalContentWidth","visibleSpaceWidth","onMounted","observeSizeOfElement","buttonsWidth","computed","leftButtonWidth","rightButtonWidth","totalViews","offsetArray","calculatedOffsetList","_","index","previousOffset","shouldShowLeftButton","shouldShowRightButton","__default__","messages","t","useI18n","fixedScrollerRef","props","__props","scrollLeft","scrollRight","buttonConditionalClasses"],"mappings":"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"}
@@ -1,6 +1,6 @@
1
1
  import { ref as X, onUnmounted as Re, isRef as at, watch as Le, computed as U, onMounted as it, onBeforeUnmount as ot, defineComponent as ut, useSlots as ct, toRef as st, unref as R, openBlock as lt, createElementBlock as ft, mergeProps as dt, toHandlers as vt, withKeys as bt, renderSlot as pt, createCommentVNode as mt } from "vue";
2
- import { u as ht } from "./use-has-slot.B7eQSabc.js";
3
- import { k as yt, l as gt, m as wt } from "./index.Dppy4qHk.js";
2
+ import { u as ht } from "./use-has-slot.CyMiImRQ.js";
3
+ import { k as yt, l as gt, m as wt } from "./index.DDwcHPb6.js";
4
4
  import { _ as Nt } from "./_plugin-vue_export-helper.CHgC5LLL.js";
5
5
  import "../assets/focus-trap.css";
6
6
  const Et = (t) => {
@@ -36,10 +36,10 @@ const Et = (t) => {
36
36
  for (const l of i.composedPath()) {
37
37
  if (!(l instanceof HTMLElement))
38
38
  return;
39
- const d = l, b = d.tagName, v = d.getAttribute("role"), p = b === "DIALOG", w = u.includes(v), g = a.includes(v), F = s.includes(b), S = at(t) ? t.value === d : t === d;
39
+ const d = l, b = d.tagName, v = d.getAttribute("role"), p = b === "DIALOG", E = u.includes(v), w = a.includes(v), F = s.includes(b), S = at(t) ? t.value === d : t === d;
40
40
  if (p || S)
41
41
  return;
42
- if (g && e.value || (w || F) || !p && v === "dialog") {
42
+ if (w && e.value || (E || F) || !p && v === "dialog") {
43
43
  i.stopPropagation(), i.preventDefault();
44
44
  return;
45
45
  }
@@ -49,16 +49,12 @@ const Et = (t) => {
49
49
  r();
50
50
  }), { handleKeydownEscape: n };
51
51
  };
52
- /*!
53
- * tabbable 6.4.0
54
- * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
55
- */
56
52
  var Be = ["input:not([inert]):not([inert] *)", "select:not([inert]):not([inert] *)", "textarea:not([inert]):not([inert] *)", "a[href]:not([inert]):not([inert] *)", "button:not([inert]):not([inert] *)", "[tabindex]:not(slot):not([inert]):not([inert] *)", "audio[controls]:not([inert]):not([inert] *)", "video[controls]:not([inert]):not([inert] *)", '[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)', "details>summary:first-of-type:not([inert]):not([inert] *)", "details:not([inert]):not([inert] *)"], G = /* @__PURE__ */ Be.join(","), _e = typeof Element > "u", C = _e ? function() {
57
53
  } : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, H = !_e && Element.prototype.getRootNode ? function(t) {
58
54
  var e;
59
55
  return t == null || (e = t.getRootNode) === null || e === void 0 ? void 0 : e.call(t);
60
56
  } : function(t) {
61
- return t == null ? void 0 : t.ownerDocument;
57
+ return t?.ownerDocument;
62
58
  }, q = function(e, r) {
63
59
  var n;
64
60
  r === void 0 && (r = !0);
@@ -90,10 +86,10 @@ var Be = ["input:not([inert]):not([inert] *)", "select:not([inert]):not([inert]
90
86
  var v = a.shadowRoot || // check for an undisclosed shadow
91
87
  typeof n.getShadowRoot == "function" && n.getShadowRoot(a), p = !q(v, !1) && (!n.shadowRootFilter || n.shadowRootFilter(a));
92
88
  if (v && p) {
93
- var w = $(v === !0 ? a.children : v.children, !0, n);
94
- n.flatten ? i.push.apply(i, w) : i.push({
89
+ var E = $(v === !0 ? a.children : v.children, !0, n);
90
+ n.flatten ? i.push.apply(i, E) : i.push({
95
91
  scopeParent: a,
96
- candidates: w
92
+ candidates: E
97
93
  });
98
94
  } else
99
95
  u.unshift.apply(u, a.children);
@@ -261,10 +257,6 @@ var Be = ["input:not([inert]):not([inert] *)", "select:not([inert]):not([inert]
261
257
  throw new Error("No node provided");
262
258
  return C.call(e, Mt) === !1 ? !1 : Y(r, e);
263
259
  };
264
- /*!
265
- * focus-trap 7.6.4
266
- * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
267
- */
268
260
  function oe(t, e) {
269
261
  (e == null || e > t.length) && (e = t.length);
270
262
  for (var r = 0, n = Array(e); r < e; r++) n[r] = t[r];
@@ -349,9 +341,9 @@ var Se = {
349
341
  }, $t = function(e) {
350
342
  return e.tagName && e.tagName.toLowerCase() === "input" && typeof e.select == "function";
351
343
  }, Yt = function(e) {
352
- return (e == null ? void 0 : e.key) === "Escape" || (e == null ? void 0 : e.key) === "Esc" || (e == null ? void 0 : e.keyCode) === 27;
344
+ return e?.key === "Escape" || e?.key === "Esc" || e?.keyCode === 27;
353
345
  }, j = function(e) {
354
- return (e == null ? void 0 : e.key) === "Tab" || (e == null ? void 0 : e.keyCode) === 9;
346
+ return e?.key === "Tab" || e?.keyCode === 9;
355
347
  }, Zt = function(e) {
356
348
  return j(e) && !e.shiftKey;
357
349
  }, zt = function(e) {
@@ -365,7 +357,7 @@ var Se = {
365
357
  }, W = function(e) {
366
358
  return e.target.shadowRoot && typeof e.composedPath == "function" ? e.composedPath()[0] : e.target;
367
359
  }, Xt = [], Jt = function(e, r) {
368
- var n = (r == null ? void 0 : r.document) || document, i = (r == null ? void 0 : r.trapStack) || Xt, u = Ae({
360
+ var n = r?.document || document, i = r?.trapStack || Xt, u = Ae({
369
361
  returnFocusOnDeactivate: !0,
370
362
  escapeDeactivates: !0,
371
363
  delayInitialFocus: !0,
@@ -411,20 +403,16 @@ var Se = {
411
403
  }, s, l = function(o, c, f) {
412
404
  return o && o[c] !== void 0 ? o[c] : u[f || c];
413
405
  }, d = function(o, c) {
414
- var f = typeof (c == null ? void 0 : c.composedPath) == "function" ? c.composedPath() : void 0;
406
+ var f = typeof c?.composedPath == "function" ? c.composedPath() : void 0;
415
407
  return a.containerGroups.findIndex(function(h) {
416
- var y = h.container, E = h.tabbableNodes;
417
- return y.contains(o) || // fall back to explicit tabbable search which will take into consideration any
418
- // web components if the `tabbableOptions.getShadowRoot` option was used for
419
- // the trap, enabling shadow DOM support in tabbable (`Node.contains()` doesn't
420
- // look inside web components even if open)
421
- (f == null ? void 0 : f.includes(y)) || E.find(function(m) {
408
+ var y = h.container, N = h.tabbableNodes;
409
+ return y.contains(o) || f?.includes(y) || N.find(function(m) {
422
410
  return m === o;
423
411
  });
424
412
  });
425
413
  }, b = function(o) {
426
- var c = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, f = c.hasFallback, h = f === void 0 ? !1 : f, y = c.params, E = y === void 0 ? [] : y, m = u[o];
427
- if (typeof m == "function" && (m = m.apply(void 0, Wt(E))), m === !0 && (m = void 0), !m) {
414
+ var c = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, f = c.hasFallback, h = f === void 0 ? !1 : f, y = c.params, N = y === void 0 ? [] : y, m = u[o];
415
+ if (typeof m == "function" && (m = m.apply(void 0, Wt(N))), m === !0 && (m = void 0), !m) {
428
416
  if (m === void 0 || m === !1)
429
417
  return m;
430
418
  throw new Error("`".concat(o, "` was specified but was not a node, or did not return a node"));
@@ -459,7 +447,7 @@ var Se = {
459
447
  return o;
460
448
  }, p = function() {
461
449
  if (a.containerGroups = a.containers.map(function(o) {
462
- var c = Bt(o, u.tabbableOptions), f = _t(o, u.tabbableOptions), h = c.length > 0 ? c[0] : void 0, y = c.length > 0 ? c[c.length - 1] : void 0, E = f.find(function(O) {
450
+ var c = Bt(o, u.tabbableOptions), f = _t(o, u.tabbableOptions), h = c.length > 0 ? c[0] : void 0, y = c.length > 0 ? c[c.length - 1] : void 0, N = f.find(function(O) {
463
451
  return L(O);
464
452
  }), m = f.slice().reverse().find(function(O) {
465
453
  return L(O);
@@ -484,7 +472,7 @@ var Se = {
484
472
  // "close enough most of the time" alternative for positive tabindexes which should generally
485
473
  // be avoided anyway...
486
474
  /** First tabbable node in container, __DOM__ order; `undefined` if none. */
487
- firstDomTabbableNode: E,
475
+ firstDomTabbableNode: N,
488
476
  /** Last tabbable node in container, __DOM__ order; `undefined` if none. */
489
477
  lastDomTabbableNode: m,
490
478
  /**
@@ -512,14 +500,14 @@ var Se = {
512
500
  return o.posTabIndexesFound;
513
501
  }) && a.containerGroups.length > 1)
514
502
  throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.");
515
- }, w = function(o) {
503
+ }, E = function(o) {
516
504
  var c = o.activeElement;
517
505
  if (c)
518
- return c.shadowRoot && c.shadowRoot.activeElement !== null ? w(c.shadowRoot) : c;
519
- }, g = function(o) {
520
- if (o !== !1 && o !== w(document)) {
506
+ return c.shadowRoot && c.shadowRoot.activeElement !== null ? E(c.shadowRoot) : c;
507
+ }, w = function(o) {
508
+ if (o !== !1 && o !== E(document)) {
521
509
  if (!o || !o.focus) {
522
- g(v());
510
+ w(v());
523
511
  return;
524
512
  }
525
513
  o.focus({
@@ -534,11 +522,11 @@ var Se = {
534
522
  }, S = function(o) {
535
523
  var c = o.target, f = o.event, h = o.isBackward, y = h === void 0 ? !1 : h;
536
524
  c = c || W(f), p();
537
- var E = null;
525
+ var N = null;
538
526
  if (a.tabbableGroups.length > 0) {
539
527
  var m = d(c, f), T = m >= 0 ? a.containerGroups[m] : void 0;
540
528
  if (m < 0)
541
- y ? E = a.tabbableGroups[a.tabbableGroups.length - 1].lastTabbableNode : E = a.tabbableGroups[0].firstTabbableNode;
529
+ y ? N = a.tabbableGroups[a.tabbableGroups.length - 1].lastTabbableNode : N = a.tabbableGroups[0].firstTabbableNode;
542
530
  else if (y) {
543
531
  var O = a.tabbableGroups.findIndex(function(Q) {
544
532
  var ee = Q.firstTabbableNode;
@@ -546,8 +534,8 @@ var Se = {
546
534
  });
547
535
  if (O < 0 && (T.container === c || te(c, u.tabbableOptions) && !L(c, u.tabbableOptions) && !T.nextTabbableNode(c, !1)) && (O = m), O >= 0) {
548
536
  var x = O === 0 ? a.tabbableGroups.length - 1 : O - 1, _ = a.tabbableGroups[x];
549
- E = P(c) >= 0 ? _.lastTabbableNode : _.lastDomTabbableNode;
550
- } else j(f) || (E = T.nextTabbableNode(c, !1));
537
+ N = P(c) >= 0 ? _.lastTabbableNode : _.lastDomTabbableNode;
538
+ } else j(f) || (N = T.nextTabbableNode(c, !1));
551
539
  } else {
552
540
  var k = a.tabbableGroups.findIndex(function(Q) {
553
541
  var ee = Q.lastTabbableNode;
@@ -555,12 +543,12 @@ var Se = {
555
543
  });
556
544
  if (k < 0 && (T.container === c || te(c, u.tabbableOptions) && !L(c, u.tabbableOptions) && !T.nextTabbableNode(c)) && (k = m), k >= 0) {
557
545
  var M = k === a.tabbableGroups.length - 1 ? 0 : k + 1, Te = a.tabbableGroups[M];
558
- E = P(c) >= 0 ? Te.firstTabbableNode : Te.firstDomTabbableNode;
559
- } else j(f) || (E = T.nextTabbableNode(c));
546
+ N = P(c) >= 0 ? Te.firstTabbableNode : Te.firstDomTabbableNode;
547
+ } else j(f) || (N = T.nextTabbableNode(c));
560
548
  }
561
549
  } else
562
- E = b("fallbackFocus");
563
- return E;
550
+ N = b("fallbackFocus");
551
+ return N;
564
552
  }, I = function(o) {
565
553
  var c = W(o);
566
554
  if (!(d(c, o) >= 0)) {
@@ -587,7 +575,7 @@ var Se = {
587
575
  var h, y = !0;
588
576
  if (a.mostRecentlyFocusedNode)
589
577
  if (P(a.mostRecentlyFocusedNode) > 0) {
590
- var E = d(a.mostRecentlyFocusedNode), m = a.containerGroups[E].tabbableNodes;
578
+ var N = d(a.mostRecentlyFocusedNode), m = a.containerGroups[N].tabbableNodes;
591
579
  if (m.length > 0) {
592
580
  var T = m.findIndex(function(O) {
593
581
  return O === a.mostRecentlyFocusedNode;
@@ -607,7 +595,7 @@ var Se = {
607
595
  // outside the trap causing the focus escape we're trying to fix)
608
596
  target: a.mostRecentlyFocusedNode,
609
597
  isBackward: u.isKeyBackward(a.recentNavEvent)
610
- })), g(h || a.mostRecentlyFocusedNode || v());
598
+ })), w(h || a.mostRecentlyFocusedNode || v());
611
599
  }
612
600
  a.recentNavEvent = void 0;
613
601
  }, he = function(o) {
@@ -617,7 +605,7 @@ var Se = {
617
605
  event: o,
618
606
  isBackward: c
619
607
  });
620
- f && (j(o) && o.preventDefault(), g(f));
608
+ f && (j(o) && o.preventDefault(), w(f));
621
609
  }, ye = function(o) {
622
610
  (u.isKeyForward(o) || u.isKeyBackward(o)) && he(o, u.isKeyBackward(o));
623
611
  }, ge = function(o) {
@@ -628,8 +616,8 @@ var Se = {
628
616
  }, Ne = function() {
629
617
  if (a.active)
630
618
  return Se.activateTrap(i, s), a.delayInitialFocusTimer = u.delayInitialFocus ? Ie(function() {
631
- g(v());
632
- }) : g(v()), n.addEventListener("focusin", D, !0), n.addEventListener("mousedown", I, {
619
+ w(v());
620
+ }) : w(v()), n.addEventListener("focusin", D, !0), n.addEventListener("mousedown", I, {
633
621
  capture: !0,
634
622
  passive: !1
635
623
  }), n.addEventListener("touchstart", I, {
@@ -652,7 +640,7 @@ var Se = {
652
640
  return y === a.mostRecentlyFocusedNode;
653
641
  });
654
642
  });
655
- c && g(v());
643
+ c && w(v());
656
644
  }, J = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(nt) : void 0, B = function() {
657
645
  J && (J.disconnect(), a.active && !a.paused && a.containers.map(function(o) {
658
646
  J.observe(o, {
@@ -672,9 +660,9 @@ var Se = {
672
660
  if (a.active)
673
661
  return this;
674
662
  var c = l(o, "onActivate"), f = l(o, "onPostActivate"), h = l(o, "checkCanFocusTrap");
675
- h || p(), a.active = !0, a.paused = !1, a.nodeFocusedBeforeActivation = n.activeElement, c == null || c();
663
+ h || p(), a.active = !0, a.paused = !1, a.nodeFocusedBeforeActivation = n.activeElement, c?.();
676
664
  var y = function() {
677
- h && p(), Ne(), B(), f == null || f();
665
+ h && p(), Ne(), B(), f?.();
678
666
  };
679
667
  return h ? (h(a.containers.concat()).then(y, y), this) : (y(), this);
680
668
  },
@@ -687,14 +675,14 @@ var Se = {
687
675
  checkCanReturnFocus: u.checkCanReturnFocus
688
676
  }, o);
689
677
  clearTimeout(a.delayInitialFocusTimer), a.delayInitialFocusTimer = void 0, Ee(), a.active = !1, a.paused = !1, B(), Se.deactivateTrap(i, s);
690
- var f = l(c, "onDeactivate"), h = l(c, "onPostDeactivate"), y = l(c, "checkCanReturnFocus"), E = l(c, "returnFocus", "returnFocusOnDeactivate");
691
- f == null || f();
678
+ var f = l(c, "onDeactivate"), h = l(c, "onPostDeactivate"), y = l(c, "checkCanReturnFocus"), N = l(c, "returnFocus", "returnFocusOnDeactivate");
679
+ f?.();
692
680
  var m = function() {
693
681
  Ie(function() {
694
- E && g(F(a.nodeFocusedBeforeActivation)), h == null || h();
682
+ N && w(F(a.nodeFocusedBeforeActivation)), h?.();
695
683
  });
696
684
  };
697
- return E && y ? (y(F(a.nodeFocusedBeforeActivation)).then(m, m), this) : (m(), this);
685
+ return N && y ? (y(F(a.nodeFocusedBeforeActivation)).then(m, m), this) : (m(), this);
698
686
  },
699
687
  pause: function(o) {
700
688
  return a.active ? (a.manuallyPaused = !0, this._setPausedState(!0, o)) : this;
@@ -720,10 +708,10 @@ var Se = {
720
708
  return this;
721
709
  if (a.paused = o, o) {
722
710
  var f = l(c, "onPause"), h = l(c, "onPostPause");
723
- f == null || f(), Ee(), B(), h == null || h();
711
+ f?.(), Ee(), B(), h?.();
724
712
  } else {
725
- var y = l(c, "onUnpause"), E = l(c, "onPostUnpause");
726
- y == null || y(), p(), Ne(), B(), E == null || E();
713
+ var y = l(c, "onUnpause"), N = l(c, "onPostUnpause");
714
+ y?.(), p(), Ne(), B(), N?.();
727
715
  }
728
716
  return this;
729
717
  }
@@ -746,8 +734,7 @@ const Qt = (t, e, r) => {
746
734
  },
747
735
  { flush: "post" }
748
736
  ), Re(() => {
749
- var u;
750
- e.value && ((u = n.value) == null || u.deactivate());
737
+ e.value && n.value?.deactivate();
751
738
  });
752
739
  };
753
740
  var ke = "data-focus-lock", er = "data-focus-lock-disabled", tr = "data-no-focus-lock", rr = "data-autofocus-inside", nr = "data-no-autofocus", A = function(t) {
@@ -943,20 +930,20 @@ var ke = "data-focus-lock", er = "data-focus-lock-disabled", tr = "data-no-focus
943
930
  }, Qe = "NEW_FOCUS", Tr = function(t, e, r, n) {
944
931
  var i = t.length, u = t[0], a = t[i - 1], s = le(r);
945
932
  if (!(r && t.indexOf(r) >= 0)) {
946
- var l = r !== void 0 ? e.indexOf(r) : -1, d = n ? e.indexOf(n) : l, b = n ? t.indexOf(n) : -1, v = l - d, p = e.indexOf(u), w = e.indexOf(a), g = Er(e), F = r !== void 0 ? g.indexOf(r) : -1, S = F - (n ? g.indexOf(n) : l), I = De(t, 0), D = De(t, i - 1);
933
+ var l = r !== void 0 ? e.indexOf(r) : -1, d = n ? e.indexOf(n) : l, b = n ? t.indexOf(n) : -1, v = l - d, p = e.indexOf(u), E = e.indexOf(a), w = Er(e), F = r !== void 0 ? w.indexOf(r) : -1, S = F - (n ? w.indexOf(n) : l), I = De(t, 0), D = De(t, i - 1);
947
934
  if (l === -1 || b === -1)
948
935
  return Qe;
949
936
  if (!v && b >= 0)
950
937
  return b;
951
938
  if (l <= p && s && Math.abs(v) > 1)
952
939
  return D;
953
- if (l >= w && s && Math.abs(v) > 1)
940
+ if (l >= E && s && Math.abs(v) > 1)
954
941
  return I;
955
942
  if (v && Math.abs(S) > 1)
956
943
  return b;
957
944
  if (l <= p)
958
945
  return D;
959
- if (l > w)
946
+ if (l > E)
960
947
  return I;
961
948
  if (v)
962
949
  return Math.abs(v) > 1 ? b : (i + b + v) % i;
@@ -995,22 +982,22 @@ var ke = "data-focus-lock", er = "data-focus-lock-disabled", tr = "data-no-focus
995
982
  return r.get(n);
996
983
  }).filter(lr);
997
984
  }, Sr = function(t, e) {
998
- var r = document && pe(), n = be(t).filter(Z), i = et(r || t, t, n), u = /* @__PURE__ */ new Map(), a = Pe(n, u), s = ce(n, u).filter(function(w) {
999
- var g = w.node;
1000
- return Z(g);
985
+ var r = document && pe(), n = be(t).filter(Z), i = et(r || t, t, n), u = /* @__PURE__ */ new Map(), a = Pe(n, u), s = ce(n, u).filter(function(E) {
986
+ var w = E.node;
987
+ return Z(w);
1001
988
  });
1002
989
  if (!(!s[0] && (s = a, !s[0]))) {
1003
- var l = Pe([i], u).map(function(w) {
1004
- var g = w.node;
1005
- return g;
1006
- }), d = Ar(l, s), b = d.map(function(w) {
1007
- var g = w.node;
1008
- return g;
990
+ var l = Pe([i], u).map(function(E) {
991
+ var w = E.node;
992
+ return w;
993
+ }), d = Ar(l, s), b = d.map(function(E) {
994
+ var w = E.node;
995
+ return w;
1009
996
  }), v = Tr(b, l, r, e);
1010
997
  if (v === Qe) {
1011
- var p = xe(a.map(function(w) {
1012
- var g = w.node;
1013
- return g;
998
+ var p = xe(a.map(function(E) {
999
+ var w = E.node;
1000
+ return w;
1014
1001
  })).filter(Fr(Or(n, u)));
1015
1002
  return {
1016
1003
  node: p && p.length ? Ce(p) : Ce(xe(b))
@@ -1054,9 +1041,8 @@ const Cr = (t) => requestAnimationFrame(t), Dr = (t, e) => {
1054
1041
  const r = e.findIndex((n) => n.node === t);
1055
1042
  return r === -1 ? 0 : r;
1056
1043
  }, Rr = (t, e) => {
1057
- var u;
1058
1044
  const r = document.activeElement, n = kr(e), i = Dr(r, n) + t;
1059
- return ((u = n[i]) == null ? void 0 : u.node) || r;
1045
+ return n[i]?.node || r;
1060
1046
  }, Lr = (t, e) => {
1061
1047
  const r = t.key.toLowerCase();
1062
1048
  return {
@@ -1081,23 +1067,21 @@ const _r = (t, e, r) => {
1081
1067
  focusOptions: { preventScroll: !0 }
1082
1068
  }), n.value = document.activeElement);
1083
1069
  }, l = () => {
1084
- var w;
1085
- const p = n.value || ((w = t.value) == null ? void 0 : w.parentNode) || document.body;
1070
+ const p = n.value || t.value?.parentNode || document.body;
1086
1071
  p && p.focus();
1087
1072
  }, d = () => {
1088
1073
  e.value && Cr(s);
1089
1074
  }, b = () => {
1090
- var g;
1091
1075
  if (!u.value && !i.value)
1092
1076
  return !1;
1093
- const p = (g = document.activeElement) == null ? void 0 : g.tagName.toLowerCase(), w = u.value ? ["textarea", "select"] : ["input", "textarea"];
1094
- return p ? w.includes(p) : !1;
1077
+ const p = document.activeElement?.tagName.toLowerCase(), E = u.value ? ["textarea", "select"] : ["input", "textarea"];
1078
+ return p ? E.includes(p) : !1;
1095
1079
  }, v = (p) => {
1096
1080
  if (!e.value || document.activeElement.isContentEditable || b())
1097
1081
  return;
1098
- const { isArrowNext: w, isArrowPrev: g } = Lr(p, a.value);
1099
- if ((g || w) && (p.preventDefault(), p.stopPropagation(), t.value)) {
1100
- const F = Rr(g ? 1 : -1, t.value);
1082
+ const { isArrowNext: E, isArrowPrev: w } = Lr(p, a.value);
1083
+ if ((w || E) && (p.preventDefault(), p.stopPropagation(), t.value)) {
1084
+ const F = Rr(w ? 1 : -1, t.value);
1101
1085
  if (F.focus(), "scrollIntoView" in F) {
1102
1086
  const S = "scrollBehavior" in document.documentElement.style ? Br : !1;
1103
1087
  F.scrollIntoView(S);
@@ -1185,4 +1169,4 @@ export {
1185
1169
  Rr as g,
1186
1170
  Pr as s
1187
1171
  };
1188
- //# sourceMappingURL=focus-trap.BxCwzLqN.js.map
1172
+ //# sourceMappingURL=focus-trap.BAiM_ywb.js.map