@adyen/bento-vue3 1.85.0 → 1.86.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 (373) hide show
  1. package/dist/@types/components.d.ts +2 -0
  2. package/dist/@types/index.d.ts +358 -260
  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 +5 -0
  8. package/dist/anchor-scroller.js.map +1 -0
  9. package/dist/assets/accordion-item.css +1 -1
  10. package/dist/assets/action-bar.css +1 -1
  11. package/dist/assets/anchor-scroller.css +1 -0
  12. package/dist/assets/base-modal.css +1 -1
  13. package/dist/assets/button-actions.css +1 -1
  14. package/dist/assets/card.css +1 -1
  15. package/dist/assets/data-grid.css +1 -1
  16. package/dist/assets/date-picker.css +1 -1
  17. package/dist/assets/date-range-picker.css +1 -1
  18. package/dist/assets/dialog-page.css +1 -1
  19. package/dist/assets/dropdown-default-textbox.css +1 -1
  20. package/dist/assets/dropdown.css +1 -1
  21. package/dist/assets/error-message.css +1 -0
  22. package/dist/assets/file-uploader.css +1 -1
  23. package/dist/assets/fixed-scroller.css +1 -1
  24. package/dist/assets/inspector.css +1 -1
  25. package/dist/assets/modal-fullscreen.css +1 -1
  26. package/dist/assets/secondary-nav.css +1 -1
  27. package/dist/assets/sidepanel.css +1 -1
  28. package/dist/assets/use-cached-selected-values.css +1 -1
  29. package/dist/avatar.js +1 -1
  30. package/dist/button.js +3 -3
  31. package/dist/card.js +1 -1
  32. package/dist/checkbox.js +6 -6
  33. package/dist/chip.js +1 -1
  34. package/dist/chunks/{accordion-item.yRlQj4VF.js → accordion-item.QQ06tTjt.js} +8 -8
  35. package/dist/chunks/{accordion-item.yRlQj4VF.js.map → accordion-item.QQ06tTjt.js.map} +1 -1
  36. package/dist/chunks/{action-bar.BlhZoFfL.js → action-bar.g7rM3wUc.js} +15 -15
  37. package/dist/chunks/{action-bar.BlhZoFfL.js.map → action-bar.g7rM3wUc.js.map} +1 -1
  38. package/dist/chunks/{ai-button.PAbhTT01.js → ai-button.XfeGC4-Q.js} +6 -6
  39. package/dist/chunks/{ai-button.PAbhTT01.js.map → ai-button.XfeGC4-Q.js.map} +1 -1
  40. package/dist/chunks/{ai-tag.CqMBHSfn.js → ai-tag.UlRkq54l.js} +34 -26
  41. package/dist/chunks/{ai-tag.CqMBHSfn.js.map → ai-tag.UlRkq54l.js.map} +1 -1
  42. package/dist/chunks/{alert.BYcw-u3b.js → alert.CDWtu0Hu.js} +11 -11
  43. package/dist/chunks/{alert.BYcw-u3b.js.map → alert.CDWtu0Hu.js.map} +1 -1
  44. package/dist/chunks/anchor-scroller.CKIQu3NK.js +215 -0
  45. package/dist/chunks/anchor-scroller.CKIQu3NK.js.map +1 -0
  46. package/dist/chunks/{arrow-left.DoP6zFsY.js → arrow-left.C6UiqO-c.js} +5 -5
  47. package/dist/chunks/{arrow-left.DoP6zFsY.js.map → arrow-left.C6UiqO-c.js.map} +1 -1
  48. package/dist/chunks/{arrow-right.BVd1Dgd8.js → arrow-right.fSdLV_ho.js} +5 -5
  49. package/dist/chunks/{arrow-right.BVd1Dgd8.js.map → arrow-right.fSdLV_ho.js.map} +1 -1
  50. package/dist/chunks/{artificial-intelligence-ai-filled.G_Yr_37U.js → artificial-intelligence-ai-filled.AhDHffzT.js} +4 -4
  51. package/dist/chunks/{artificial-intelligence-ai-filled.G_Yr_37U.js.map → artificial-intelligence-ai-filled.AhDHffzT.js.map} +1 -1
  52. package/dist/chunks/{avatar.CNGMjwg3.js → avatar.Caeba-pw.js} +3 -3
  53. package/dist/chunks/{avatar.CNGMjwg3.js.map → avatar.Caeba-pw.js.map} +1 -1
  54. package/dist/chunks/{base-button.CUd03aA2.js → base-button.CRYAiuzn.js} +9 -9
  55. package/dist/chunks/{base-button.CUd03aA2.js.map → base-button.CRYAiuzn.js.map} +1 -1
  56. package/dist/chunks/{base-modal.CNETR72d.js → base-modal.D5HrjwL1.js} +23 -23
  57. package/dist/chunks/{base-modal.CNETR72d.js.map → base-modal.D5HrjwL1.js.map} +1 -1
  58. package/dist/chunks/{bin.DuHlEQBO.js → bin.Cude0fiB.js} +4 -4
  59. package/dist/chunks/{bin.DuHlEQBO.js.map → bin.Cude0fiB.js.map} +1 -1
  60. package/dist/chunks/{button-actions-with-menu.DY0pTtk-.js → button-actions-with-menu.DBqA3Ws5.js} +7 -7
  61. package/dist/chunks/{button-actions-with-menu.DY0pTtk-.js.map → button-actions-with-menu.DBqA3Ws5.js.map} +1 -1
  62. package/dist/chunks/{button-actions.Dk8xU2cz.js → button-actions.BH-J7dux.js} +17 -17
  63. package/dist/chunks/{button-actions.Dk8xU2cz.js.map → button-actions.BH-J7dux.js.map} +1 -1
  64. package/dist/chunks/{button.CSp48LJt.js → button.C6t9_lzm.js} +12 -12
  65. package/dist/chunks/{button.CSp48LJt.js.map → button.C6t9_lzm.js.map} +1 -1
  66. package/dist/chunks/{calendar.Dbc0yjyg.js → calendar.DzeJoNc2.js} +11 -11
  67. package/dist/chunks/{calendar.Dbc0yjyg.js.map → calendar.DzeJoNc2.js.map} +1 -1
  68. package/dist/chunks/{card.C7LbwK7Q.js → card.DcXXdxWL.js} +7 -7
  69. package/dist/chunks/{card.C7LbwK7Q.js.map → card.DcXXdxWL.js.map} +1 -1
  70. package/dist/chunks/{checkbox-group.CCpe-S-E.js → checkbox-group.Bh_aqKoA.js} +11 -11
  71. package/dist/chunks/{checkbox-group.CCpe-S-E.js.map → checkbox-group.Bh_aqKoA.js.map} +1 -1
  72. package/dist/chunks/{checkbox-input.Dk9iFQQe.js → checkbox-input.BZjSoCQW.js} +4 -4
  73. package/dist/chunks/{checkbox-input.Dk9iFQQe.js.map → checkbox-input.BZjSoCQW.js.map} +1 -1
  74. package/dist/chunks/{checkbox.A35e7MsN.js → checkbox.7kpOXm-b.js} +22 -22
  75. package/dist/chunks/{checkbox.A35e7MsN.js.map → checkbox.7kpOXm-b.js.map} +1 -1
  76. package/dist/chunks/{checkmark-circle-fill._6-d40ru.js → checkmark-circle-fill.DugX5fbG.js} +4 -4
  77. package/dist/chunks/{checkmark-circle-fill._6-d40ru.js.map → checkmark-circle-fill.DugX5fbG.js.map} +1 -1
  78. package/dist/chunks/{checkmark-small.x-gmK2Dt.js → checkmark-small.CRuZauJc.js} +5 -5
  79. package/dist/chunks/{checkmark-small.x-gmK2Dt.js.map → checkmark-small.CRuZauJc.js.map} +1 -1
  80. package/dist/chunks/{chevron-down.DCQ6ZLaq.js → chevron-down.XeE-LBV_.js} +5 -5
  81. package/dist/chunks/{chevron-down.DCQ6ZLaq.js.map → chevron-down.XeE-LBV_.js.map} +1 -1
  82. package/dist/chunks/{chevron-left.Cfn1uGLH.js → chevron-left.C_vPW7OR.js} +8 -8
  83. package/dist/chunks/{chevron-left.Cfn1uGLH.js.map → chevron-left.C_vPW7OR.js.map} +1 -1
  84. package/dist/chunks/{chevron-up.kfuLRpZb.js → chevron-up.Cmgl2a3x.js} +5 -5
  85. package/dist/chunks/{chevron-up.kfuLRpZb.js.map → chevron-up.Cmgl2a3x.js.map} +1 -1
  86. package/dist/chunks/{chip.eefnwpgE.js → chip.CyW1V8RU.js} +7 -7
  87. package/dist/chunks/{chip.eefnwpgE.js.map → chip.CyW1V8RU.js.map} +1 -1
  88. package/dist/chunks/{click-outside.C1Ud8AA2.js → click-outside.CDz_x8mN.js} +2 -2
  89. package/dist/chunks/{click-outside.C1Ud8AA2.js.map → click-outside.CDz_x8mN.js.map} +1 -1
  90. package/dist/chunks/{code-snippet.DKkTjYdC.js → code-snippet.UIqVTv4U.js} +15 -15
  91. package/dist/chunks/{code-snippet.DKkTjYdC.js.map → code-snippet.UIqVTv4U.js.map} +1 -1
  92. package/dist/chunks/{codemirror.Cy7iSLbd.js → codemirror.D2BAltnu.js} +3688 -3673
  93. package/dist/chunks/codemirror.D2BAltnu.js.map +1 -0
  94. package/dist/chunks/{controls-group.BHOKajou.js → controls-group.Dip3WAKV.js} +10 -10
  95. package/dist/chunks/{controls-group.BHOKajou.js.map → controls-group.Dip3WAKV.js.map} +1 -1
  96. package/dist/chunks/{copy.CgITv6wr.js → copy.ByyQlckP.js} +6 -6
  97. package/dist/chunks/{copy.CgITv6wr.js.map → copy.ByyQlckP.js.map} +1 -1
  98. package/dist/chunks/{country.vSfTQW51.js → country.DJts6kCv.js} +5 -5
  99. package/dist/chunks/{country.vSfTQW51.js.map → country.DJts6kCv.js.map} +1 -1
  100. package/dist/chunks/{country.types.DaVCMxk-.js → country.types.BBQbWkTY.js} +3 -3
  101. package/dist/chunks/{country.types.DaVCMxk-.js.map → country.types.BBQbWkTY.js.map} +1 -1
  102. package/dist/chunks/{cross-circle-fill-small.Dv5-PxwF.js → cross-circle-fill-small.H1wH-vcZ.js} +5 -5
  103. package/dist/chunks/{cross-circle-fill-small.Dv5-PxwF.js.map → cross-circle-fill-small.H1wH-vcZ.js.map} +1 -1
  104. package/dist/chunks/{cross-circle-fill.CYLL7jfC.js → cross-circle-fill.BWCKKn0E.js} +4 -4
  105. package/dist/chunks/{cross-circle-fill.CYLL7jfC.js.map → cross-circle-fill.BWCKKn0E.js.map} +1 -1
  106. package/dist/chunks/{cross-small.n1UO5wNB.js → cross-small.Bjq2Gqvh.js} +5 -5
  107. package/dist/chunks/{cross-small.n1UO5wNB.js.map → cross-small.Bjq2Gqvh.js.map} +1 -1
  108. package/dist/chunks/{cross.B92GxFTY.js → cross.CCHdi6v3.js} +5 -5
  109. package/dist/chunks/{cross.B92GxFTY.js.map → cross.CCHdi6v3.js.map} +1 -1
  110. package/dist/chunks/{currency.DijmAkAB.js → currency.Afx8MVdY.js} +4 -4
  111. package/dist/chunks/{currency.DijmAkAB.js.map → currency.Afx8MVdY.js.map} +1 -1
  112. package/dist/chunks/{dashboard-section.CrXdP_MQ.js → dashboard-section.CIHtXoeW.js} +8 -8
  113. package/dist/chunks/{dashboard-section.CrXdP_MQ.js.map → dashboard-section.CIHtXoeW.js.map} +1 -1
  114. package/dist/chunks/{dashed-underline.BzppJBtk.js → dashed-underline.CLwPU-C2.js} +14 -14
  115. package/dist/chunks/{dashed-underline.BzppJBtk.js.map → dashed-underline.CLwPU-C2.js.map} +1 -1
  116. package/dist/chunks/{data-grid-template.DFjdgxwb.js → data-grid-template.BTpSfkQt.js} +8 -8
  117. package/dist/chunks/{data-grid-template.DFjdgxwb.js.map → data-grid-template.BTpSfkQt.js.map} +1 -1
  118. package/dist/chunks/{data-grid.KkCt0Bgm.js → data-grid.CXDdiHz8.js} +457 -453
  119. package/dist/chunks/data-grid.CXDdiHz8.js.map +1 -0
  120. package/dist/chunks/date-input.XSJuuCHe.js +20 -0
  121. package/dist/chunks/date-input.XSJuuCHe.js.map +1 -0
  122. package/dist/chunks/{date-picker.dQuj_OF_.js → date-picker.CvTSZhMI.js} +82 -81
  123. package/dist/chunks/date-picker.CvTSZhMI.js.map +1 -0
  124. package/dist/chunks/date-picker.types.Ckt7zxGy.js.map +1 -1
  125. package/dist/chunks/date-range-picker.BPCt7cwj.js +1100 -0
  126. package/dist/chunks/{date-range-picker.BAKR_gDf.js.map → date-range-picker.BPCt7cwj.js.map} +1 -1
  127. package/dist/chunks/date-range-picker.types.Ckt7zxGy.js.map +1 -1
  128. package/dist/chunks/{date.CL55prL0.js → date.BtB1HyWQ.js} +4 -4
  129. package/dist/chunks/{date.CL55prL0.js.map → date.BtB1HyWQ.js.map} +1 -1
  130. package/dist/chunks/dialog-page.B3ptLXXP.js +162 -0
  131. package/dist/chunks/dialog-page.B3ptLXXP.js.map +1 -0
  132. package/dist/chunks/{directive.Cbdox5VL.js → directive.rXUeDb8p.js} +2 -2
  133. package/dist/chunks/{directive.Cbdox5VL.js.map → directive.rXUeDb8p.js.map} +1 -1
  134. package/dist/chunks/{divider.Dho4_hQ7.js → divider.BIY84UH7.js} +5 -5
  135. package/dist/chunks/{divider.Dho4_hQ7.js.map → divider.BIY84UH7.js.map} +1 -1
  136. package/dist/chunks/{dot.ob6N-5Um.js → dot.DBmwmOUN.js} +5 -5
  137. package/dist/chunks/{dot.ob6N-5Um.js.map → dot.DBmwmOUN.js.map} +1 -1
  138. package/dist/chunks/{dropdown-default-textbox.DFtFMu5G.js → dropdown-default-textbox.B-_dTUVX.js} +107 -117
  139. package/dist/chunks/dropdown-default-textbox.B-_dTUVX.js.map +1 -0
  140. package/dist/chunks/{dropdown-tag.CBgns9Y3.js → dropdown-tag.DDNOZhEG.js} +20 -20
  141. package/dist/chunks/{dropdown-tag.CBgns9Y3.js.map → dropdown-tag.DDNOZhEG.js.map} +1 -1
  142. package/dist/chunks/dropdown.CU6nfq3V.js +836 -0
  143. package/dist/chunks/dropdown.CU6nfq3V.js.map +1 -0
  144. package/dist/chunks/{empty-state.D_ifpeU-.js → empty-state.DqdPzU-g.js} +15 -15
  145. package/dist/chunks/{empty-state.D_ifpeU-.js.map → empty-state.DqdPzU-g.js.map} +1 -1
  146. package/dist/chunks/{field-label.OurHuGZS.js → error-message.BYA2_fPV.js} +67 -67
  147. package/dist/chunks/error-message.BYA2_fPV.js.map +1 -0
  148. package/dist/chunks/{expand.C9IAqYYL.js → expand.BrywY9jl.js} +4 -4
  149. package/dist/chunks/{expand.C9IAqYYL.js.map → expand.BrywY9jl.js.map} +1 -1
  150. package/dist/chunks/{file-uploader.CQgu9YIY.js → file-uploader.Q2ufNRTY.js} +79 -79
  151. package/dist/chunks/{file-uploader.CQgu9YIY.js.map → file-uploader.Q2ufNRTY.js.map} +1 -1
  152. package/dist/chunks/{filter-bar.BJmaoSr2.js → filter-bar.BVj9YVv-.js} +213 -205
  153. package/dist/chunks/{filter-bar.BJmaoSr2.js.map → filter-bar.BVj9YVv-.js.map} +1 -1
  154. package/dist/chunks/fixed-scroller.i1tmEmst.js +161 -0
  155. package/dist/chunks/{fixed-scroller.e56yJp7Q.js.map → fixed-scroller.i1tmEmst.js.map} +1 -1
  156. package/dist/chunks/{focus-trap.DH57j-Ov.js → focus-trap.CBvh2H_m.js} +294 -277
  157. package/dist/chunks/focus-trap.CBvh2H_m.js.map +1 -0
  158. package/dist/chunks/{footer-actions.BMggOsip.js → footer-actions.DLzMOB7j.js} +8 -8
  159. package/dist/chunks/{footer-actions.BMggOsip.js.map → footer-actions.DLzMOB7j.js.map} +1 -1
  160. package/dist/chunks/{form-layout-title.wnvpIbOe.js → form-layout-title.DYmTc6M7.js} +6 -6
  161. package/dist/chunks/{form-layout-title.wnvpIbOe.js.map → form-layout-title.DYmTc6M7.js.map} +1 -1
  162. package/dist/chunks/{grab.B63hmf-_.js → grab.DJYL4kBq.js} +5 -5
  163. package/dist/chunks/{grab.B63hmf-_.js.map → grab.DJYL4kBq.js.map} +1 -1
  164. package/dist/chunks/{grid-layout.DDaRNz4-.js → grid-layout.Vhv1_zFs.js} +21 -21
  165. package/dist/chunks/{grid-layout.DDaRNz4-.js.map → grid-layout.Vhv1_zFs.js.map} +1 -1
  166. package/dist/chunks/{header-meta.CkLmuprc.js → header-meta.Bw8ZGwJW.js} +13 -13
  167. package/dist/chunks/{header-meta.CkLmuprc.js.map → header-meta.Bw8ZGwJW.js.map} +1 -1
  168. package/dist/chunks/{header-with-views.BXZmqtnz.js → header-with-views.CJDoE4hw.js} +20 -20
  169. package/dist/chunks/{header-with-views.BXZmqtnz.js.map → header-with-views.CJDoE4hw.js.map} +1 -1
  170. package/dist/chunks/{header.RiaBKasj.js → header.BeH8KH_l.js} +14 -14
  171. package/dist/chunks/{header.RiaBKasj.js.map → header.BeH8KH_l.js.map} +1 -1
  172. package/dist/chunks/{image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js → image.vue_vue_type_script_setup_true_lang.BMoSMeM-.js} +3 -3
  173. package/dist/chunks/{image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js.map → image.vue_vue_type_script_setup_true_lang.BMoSMeM-.js.map} +1 -1
  174. package/dist/chunks/{index.pdBj0KQU.js → index.B875RXHM.js} +3 -3
  175. package/dist/chunks/{index.pdBj0KQU.js.map → index.B875RXHM.js.map} +1 -1
  176. package/dist/chunks/index.CbxHJr39.js +691 -0
  177. package/dist/chunks/{index.CL07S4Wa.js.map → index.CbxHJr39.js.map} +1 -1
  178. package/dist/chunks/{info-icon.B6wfo65e.js → info-icon.BLtyJvY4.js} +9 -9
  179. package/dist/chunks/{info-icon.B6wfo65e.js.map → info-icon.BLtyJvY4.js.map} +1 -1
  180. package/dist/chunks/{info.BKwey1HA.js → info.6Z6NxUst.js} +4 -4
  181. package/dist/chunks/{info.BKwey1HA.js.map → info.6Z6NxUst.js.map} +1 -1
  182. package/dist/chunks/{input-field-password.ClyJRN6h.js → input-field-password.KeKQPIZv.js} +21 -21
  183. package/dist/chunks/{input-field-password.ClyJRN6h.js.map → input-field-password.KeKQPIZv.js.map} +1 -1
  184. package/dist/chunks/{input-field-phone-number.CUdzwXz0.js → input-field-phone-number.eaU9p15A.js} +10 -10
  185. package/dist/chunks/{input-field-phone-number.CUdzwXz0.js.map → input-field-phone-number.eaU9p15A.js.map} +1 -1
  186. package/dist/chunks/{input-field.CFNofr-W.js → input-field.CNdqlGw6.js} +9 -9
  187. package/dist/chunks/{input-field.CFNofr-W.js.map → input-field.CNdqlGw6.js.map} +1 -1
  188. package/dist/chunks/{inspector.I4-8J_fd.js → inspector.Bnf0g7QE.js} +16 -16
  189. package/dist/chunks/{inspector.I4-8J_fd.js.map → inspector.Bnf0g7QE.js.map} +1 -1
  190. package/dist/chunks/{isSameWeek.5sjhTHiU.js → isSameWeek.DjeUtLwI.js} +2 -2
  191. package/dist/chunks/{isSameWeek.5sjhTHiU.js.map → isSameWeek.DjeUtLwI.js.map} +1 -1
  192. package/dist/chunks/{it.DEniTaO2.js → it.DIafuXtH.js} +2 -2
  193. package/dist/chunks/{it.DEniTaO2.js.map → it.DIafuXtH.js.map} +1 -1
  194. package/dist/chunks/{layout-row.Ccw24NzW.js → layout-row.Bz-mRqAq.js} +4 -4
  195. package/dist/chunks/{layout-row.Ccw24NzW.js.map → layout-row.Bz-mRqAq.js.map} +1 -1
  196. package/dist/chunks/{link.BLCQlEZU.js → link.DTCn2EtX.js} +11 -11
  197. package/dist/chunks/{link.BLCQlEZU.js.map → link.DTCn2EtX.js.map} +1 -1
  198. package/dist/chunks/{listbox-option-tag.BHQiD5oC.js → listbox-option-tag.C3ihNg6_.js} +9 -9
  199. package/dist/chunks/{listbox-option-tag.BHQiD5oC.js.map → listbox-option-tag.C3ihNg6_.js.map} +1 -1
  200. package/dist/chunks/{loading-indicator.Db794TT5.js → loading-indicator.BPol9I84.js} +3 -3
  201. package/dist/chunks/{loading-indicator.Db794TT5.js.map → loading-indicator.BPol9I84.js.map} +1 -1
  202. package/dist/chunks/{minus-small.DYIyF5XW.js → minus-small.CnYLTuSv.js} +5 -5
  203. package/dist/chunks/{minus-small.DYIyF5XW.js.map → minus-small.CnYLTuSv.js.map} +1 -1
  204. package/dist/chunks/{modal-fullscreen.f445bZ94.js → modal-fullscreen.B3AGUJgl.js} +100 -96
  205. package/dist/chunks/modal-fullscreen.B3AGUJgl.js.map +1 -0
  206. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.KSBXRR2X.js → modal.vue_vue_type_script_setup_true_lang.BAwez0nB.js} +13 -13
  207. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.KSBXRR2X.js.map → modal.vue_vue_type_script_setup_true_lang.BAwez0nB.js.map} +1 -1
  208. package/dist/chunks/on-click-outside.BW4rkhzG.js +91 -0
  209. package/dist/chunks/on-click-outside.BW4rkhzG.js.map +1 -0
  210. package/dist/chunks/{pagination.DuRU9Xg_.js → pagination.lu9nx8j8.js} +10 -10
  211. package/dist/chunks/{pagination.DuRU9Xg_.js.map → pagination.lu9nx8j8.js.map} +1 -1
  212. package/dist/chunks/{payment-method.BGEBaa4w.js → payment-method.AeKHZlAO.js} +3 -3
  213. package/dist/chunks/{payment-method.BGEBaa4w.js.map → payment-method.AeKHZlAO.js.map} +1 -1
  214. package/dist/chunks/popover.types.C_Z2JeVK.js +6 -0
  215. package/dist/chunks/{popover.types.BbYumG-N.js.map → popover.types.C_Z2JeVK.js.map} +1 -1
  216. package/dist/chunks/popper-container.BefZxTzP.js +1432 -0
  217. package/dist/chunks/popper-container.BefZxTzP.js.map +1 -0
  218. package/dist/chunks/{promo-banner.DzIYjBfG.js → promo-banner.BLie64oS.js} +11 -11
  219. package/dist/chunks/{promo-banner.DzIYjBfG.js.map → promo-banner.BLie64oS.js.map} +1 -1
  220. package/dist/chunks/{radio-group.EqsvAKt2.js → radio-group.C6nQRQDB.js} +20 -20
  221. package/dist/chunks/{radio-group.EqsvAKt2.js.map → radio-group.C6nQRQDB.js.map} +1 -1
  222. package/dist/chunks/{radio-input.CBNE-AkM.js → radio-input.DektLjN4.js} +3 -3
  223. package/dist/chunks/{radio-input.CBNE-AkM.js.map → radio-input.DektLjN4.js.map} +1 -1
  224. package/dist/chunks/{refresh.BB4ouvz_.js → refresh.C31KClfx.js} +5 -5
  225. package/dist/chunks/{refresh.BB4ouvz_.js.map → refresh.C31KClfx.js.map} +1 -1
  226. package/dist/chunks/{rich-text-editor.-JS_rIjs.js → rich-text-editor.C39NKgl0.js} +11 -15
  227. package/dist/chunks/rich-text-editor.C39NKgl0.js.map +1 -0
  228. package/dist/chunks/{search-bar.DPc0omnd.js → search-bar.CbTrg2Sk.js} +10 -10
  229. package/dist/chunks/{search-bar.DPc0omnd.js.map → search-bar.CbTrg2Sk.js.map} +1 -1
  230. package/dist/chunks/{search.PczW-onY.js → search.ClLmZAgC.js} +4 -4
  231. package/dist/chunks/{search.PczW-onY.js.map → search.ClLmZAgC.js.map} +1 -1
  232. package/dist/chunks/{secondary-nav.BGKR8l0u.js → secondary-nav.DTOZQewf.js} +25 -25
  233. package/dist/chunks/secondary-nav.DTOZQewf.js.map +1 -0
  234. package/dist/chunks/{segmented-control.CFPAl4HD.js → segmented-control.D9rHBysM.js} +9 -9
  235. package/dist/chunks/{segmented-control.CFPAl4HD.js.map → segmented-control.D9rHBysM.js.map} +1 -1
  236. package/dist/chunks/{selection-card-group.BL0LTYhI.js → selection-card-group.KEsG0D5V.js} +9 -9
  237. package/dist/chunks/{selection-card-group.BL0LTYhI.js.map → selection-card-group.KEsG0D5V.js.map} +1 -1
  238. package/dist/chunks/{show.CT4Augxb.js → show.BreRPkgL.js} +6 -6
  239. package/dist/chunks/{show.CT4Augxb.js.map → show.BreRPkgL.js.map} +1 -1
  240. package/dist/chunks/{sidepanel.sWMdYcUC.js → sidepanel.DJCagqzl.js} +73 -69
  241. package/dist/chunks/sidepanel.DJCagqzl.js.map +1 -0
  242. package/dist/chunks/{startOfWeek.CM1KIrNi.js → startOfWeek.D8Yh4c0G.js} +3 -3
  243. package/dist/chunks/{startOfWeek.CM1KIrNi.js.map → startOfWeek.D8Yh4c0G.js.map} +1 -1
  244. package/dist/chunks/{status.types.ChOI6XGU.js → status.types.D3v3k-Q8.js} +6 -6
  245. package/dist/chunks/{status.types.ChOI6XGU.js.map → status.types.D3v3k-Q8.js.map} +1 -1
  246. package/dist/chunks/{step.DpgnDx29.js → step.BV7MsrRF.js} +9 -9
  247. package/dist/chunks/{step.DpgnDx29.js.map → step.BV7MsrRF.js.map} +1 -1
  248. package/dist/chunks/{structured-list-item.Uky_MJPp.js → structured-list-item.f1tmHSEN.js} +9 -9
  249. package/dist/chunks/{structured-list-item.Uky_MJPp.js.map → structured-list-item.f1tmHSEN.js.map} +1 -1
  250. package/dist/chunks/{summary-grid.types.R-TEtkgx.js → summary-grid.types.COcV-sOB.js} +13 -13
  251. package/dist/chunks/{summary-grid.types.R-TEtkgx.js.map → summary-grid.types.COcV-sOB.js.map} +1 -1
  252. package/dist/chunks/{tab.JPngc9oS.js → tab.DRrnMCxe.js} +6 -6
  253. package/dist/chunks/{tab.JPngc9oS.js.map → tab.DRrnMCxe.js.map} +1 -1
  254. package/dist/chunks/{tag.CNN_D55j.js → tag.Dr7MKe9q.js} +9 -9
  255. package/dist/chunks/{tag.CNN_D55j.js.map → tag.Dr7MKe9q.js.map} +1 -1
  256. package/dist/chunks/{textarea.BGcYYD8C.js → textarea.CtgbUCjH.js} +7 -7
  257. package/dist/chunks/{textarea.BGcYYD8C.js.map → textarea.CtgbUCjH.js.map} +1 -1
  258. package/dist/chunks/{timeline-item.Cbd_rb9J.js → timeline-item.D9nmCe6u.js} +41 -41
  259. package/dist/chunks/{timeline-item.Cbd_rb9J.js.map → timeline-item.D9nmCe6u.js.map} +1 -1
  260. package/dist/chunks/{toast.DiIIrX7h.js → toast.Bbtq3Icj.js} +22 -22
  261. package/dist/chunks/{toast.DiIIrX7h.js.map → toast.Bbtq3Icj.js.map} +1 -1
  262. package/dist/chunks/{toggle.vl0ZwLhN.js → toggle.BupEBkIG.js} +6 -6
  263. package/dist/chunks/{toggle.vl0ZwLhN.js.map → toggle.BupEBkIG.js.map} +1 -1
  264. package/dist/chunks/{tooltip.CqV3Okcs.js → tooltip.DYpJZ-99.js} +60 -60
  265. package/dist/chunks/tooltip.DYpJZ-99.js.map +1 -0
  266. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.DkTE0rmi.js → tutorial.vue_vue_type_script_setup_true_lang.B5hWgNSd.js} +9 -9
  267. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.DkTE0rmi.js.map → tutorial.vue_vue_type_script_setup_true_lang.B5hWgNSd.js.map} +1 -1
  268. package/dist/chunks/{typography.6Oo5TOMP.js → typography.B3J6_tYk.js} +5 -5
  269. package/dist/chunks/{typography.6Oo5TOMP.js.map → typography.B3J6_tYk.js.map} +1 -1
  270. package/dist/chunks/{use-bento-toast-controller.V61h7XzI.js → use-bento-toast-controller.BFctDoMg.js} +2 -2
  271. package/dist/chunks/{use-bento-toast-controller.V61h7XzI.js.map → use-bento-toast-controller.BFctDoMg.js.map} +1 -1
  272. package/dist/chunks/{use-cached-selected-values.iGHt7ROs.js → use-cached-selected-values.BiSuG1eX.js} +20 -20
  273. package/dist/chunks/use-cached-selected-values.BiSuG1eX.js.map +1 -0
  274. package/dist/chunks/{use-country-items.JZCYNoW7.js → use-country-items.BTzByPdQ.js} +9 -9
  275. package/dist/chunks/{use-country-items.JZCYNoW7.js.map → use-country-items.BTzByPdQ.js.map} +1 -1
  276. package/dist/chunks/utils.BzUwtTXc.js +21 -0
  277. package/dist/chunks/utils.BzUwtTXc.js.map +1 -0
  278. package/dist/chunks/{warning-filled.BMGD0G-_.js → warning-filled.BzyK_mMj.js} +5 -5
  279. package/dist/chunks/{warning-filled.BMGD0G-_.js.map → warning-filled.BzyK_mMj.js.map} +1 -1
  280. package/dist/chunks/{zh-CN.CgIooHto.js → zh-CN.Bw_6j9Cd.js} +2 -2
  281. package/dist/chunks/{zh-CN.CgIooHto.js.map → zh-CN.Bw_6j9Cd.js.map} +1 -1
  282. package/dist/click-outside.js +1 -1
  283. package/dist/code-snippet.js +1 -1
  284. package/dist/country.js +2 -2
  285. package/dist/currency.js +1 -1
  286. package/dist/dashboard-template.js +1 -1
  287. package/dist/dashed-underline.js +1 -1
  288. package/dist/data-grid-template.js +1 -1
  289. package/dist/data-grid.js +1 -1
  290. package/dist/date-picker.js +2 -2
  291. package/dist/date-range-picker.js +2 -2
  292. package/dist/date.js +1 -1
  293. package/dist/divider.js +1 -1
  294. package/dist/draggable-handle.js +73 -57
  295. package/dist/draggable-handle.js.map +1 -1
  296. package/dist/dropdown.js +4 -4
  297. package/dist/empty-state.js +1 -1
  298. package/dist/file-uploader.js +1 -1
  299. package/dist/filter-bar.js +1 -1
  300. package/dist/focus-trap.js +1 -1
  301. package/dist/form-layout.js +1 -1
  302. package/dist/header-with-views.js +1 -1
  303. package/dist/header.js +1 -1
  304. package/dist/image.js +1 -1
  305. package/dist/index.js +278 -276
  306. package/dist/index.js.map +1 -1
  307. package/dist/info-icon.js +1 -1
  308. package/dist/input-field-password.js +1 -1
  309. package/dist/input-field-phone-number.js +1 -1
  310. package/dist/input-field.js +1 -1
  311. package/dist/inspector.js +1 -1
  312. package/dist/internal.js +42 -42
  313. package/dist/layout.js +1 -1
  314. package/dist/link.js +1 -1
  315. package/dist/loading-indicator.js +1 -1
  316. package/dist/menu.js +1 -1
  317. package/dist/modal-fullscreen.js +1 -1
  318. package/dist/modal.js +2 -2
  319. package/dist/pagination.js +1 -1
  320. package/dist/payment-method.js +1 -1
  321. package/dist/popover.js +2 -2
  322. package/dist/popper-container.js +1 -1
  323. package/dist/promo-banner.js +1 -1
  324. package/dist/radio-group.js +2 -2
  325. package/dist/rich-text-editor.js +1 -1
  326. package/dist/search-bar.js +2 -2
  327. package/dist/secondary-nav.js +1 -1
  328. package/dist/segmented-control.js +1 -1
  329. package/dist/selection-card.js +1 -1
  330. package/dist/sidepanel.js +1 -1
  331. package/dist/status.js +1 -1
  332. package/dist/stepper.js +1 -1
  333. package/dist/structured-list.js +1 -1
  334. package/dist/summary-grid.js +1 -1
  335. package/dist/tabs.js +1 -1
  336. package/dist/tag.js +1 -1
  337. package/dist/textarea.js +1 -1
  338. package/dist/timeline.js +1 -1
  339. package/dist/toast.js +1 -1
  340. package/dist/toggle.js +1 -1
  341. package/dist/tutorial.js +1 -1
  342. package/dist/typography.js +1 -1
  343. package/dist/use-form-v4.js +756 -7787
  344. package/dist/use-form-v4.js.map +1 -1
  345. package/dist/web-types.json +1 -1
  346. package/package.json +6 -6
  347. package/dist/assets/field-label.css +0 -1
  348. package/dist/chunks/codemirror.Cy7iSLbd.js.map +0 -1
  349. package/dist/chunks/data-grid.KkCt0Bgm.js.map +0 -1
  350. package/dist/chunks/date-input.BbZqj10S.js +0 -15
  351. package/dist/chunks/date-input.BbZqj10S.js.map +0 -1
  352. package/dist/chunks/date-picker.dQuj_OF_.js.map +0 -1
  353. package/dist/chunks/date-range-picker.BAKR_gDf.js +0 -1100
  354. package/dist/chunks/dialog-page.CF10AQQ3.js +0 -158
  355. package/dist/chunks/dialog-page.CF10AQQ3.js.map +0 -1
  356. package/dist/chunks/dropdown-default-textbox.DFtFMu5G.js.map +0 -1
  357. package/dist/chunks/dropdown.DmzMGz30.js +0 -837
  358. package/dist/chunks/dropdown.DmzMGz30.js.map +0 -1
  359. package/dist/chunks/field-label.OurHuGZS.js.map +0 -1
  360. package/dist/chunks/fixed-scroller.e56yJp7Q.js +0 -155
  361. package/dist/chunks/focus-trap.DH57j-Ov.js.map +0 -1
  362. package/dist/chunks/index.CL07S4Wa.js +0 -592
  363. package/dist/chunks/modal-fullscreen.f445bZ94.js.map +0 -1
  364. package/dist/chunks/on-click-outside.D9aY9g8G.js +0 -101
  365. package/dist/chunks/on-click-outside.D9aY9g8G.js.map +0 -1
  366. package/dist/chunks/popover.types.BbYumG-N.js +0 -6
  367. package/dist/chunks/popper-container.DdG_YvVF.js +0 -1413
  368. package/dist/chunks/popper-container.DdG_YvVF.js.map +0 -1
  369. package/dist/chunks/rich-text-editor.-JS_rIjs.js.map +0 -1
  370. package/dist/chunks/secondary-nav.BGKR8l0u.js.map +0 -1
  371. package/dist/chunks/sidepanel.sWMdYcUC.js.map +0 -1
  372. package/dist/chunks/tooltip.CqV3Okcs.js.map +0 -1
  373. package/dist/chunks/use-cached-selected-values.iGHt7ROs.js.map +0 -1
@@ -1,17 +1,16 @@
1
- import { defineComponent as L, useAttrs as ne, useSlots as X, ref as Z, computed as i, watch as se, nextTick as j, createElementBlock as d, openBlock as n, withKeys as E, normalizeClass as T, createVNode as D, unref as o, withCtx as q, createCommentVNode as P, mergeProps as y, Fragment as R, renderSlot as w, normalizeProps as M, createTextVNode as F, toDisplayString as k, renderList as ee, createElementVNode as te, withModifiers as W, createBlock as J, toHandlers as de, createSlots as re, withDirectives as G, vShow as Q, guardReactiveProps as ie } from "vue";
1
+ import { defineComponent as D, useAttrs as ne, useSlots as Q, ref as X, computed as i, watch as se, nextTick as H, openBlock as o, createElementBlock as d, withKeys as C, normalizeClass as q, createVNode as k, unref as n, withCtx as M, mergeProps as f, Fragment as P, renderSlot as v, normalizeProps as U, createTextVNode as R, toDisplayString as E, renderList as Z, createElementVNode as ee, createCommentVNode as F, withModifiers as j, createBlock as W, toHandlers as de, createSlots as re, withDirectives as J, vShow as G, guardReactiveProps as ie } from "vue";
2
2
  import { g as ue } from "./generate-uid.NJ8tVoha.js";
3
- import { u as ce } from "./index.pdBj0KQU.js";
3
+ import { u as ce } from "./index.B875RXHM.js";
4
4
  import { u as pe } from "./use-has-slot.B7eQSabc.js";
5
- import { B as be } from "./typography.6Oo5TOMP.js";
6
- import { d as fe } from "./debounce.DUTu11PS.js";
7
- import { C as ye } from "./cross-circle-fill.CYLL7jfC.js";
8
- import { C as me } from "./cross-circle-fill-small.Dv5-PxwF.js";
9
- import { _ as ae } from "./_plugin-vue_export-helper.CHgC5LLL.js";
5
+ import { B as be } from "./typography.B3J6_tYk.js";
6
+ import { C as fe } from "./cross-circle-fill.BWCKKn0E.js";
7
+ import { C as ye } from "./cross-circle-fill-small.H1wH-vcZ.js";
8
+ import { _ as te } from "./_plugin-vue_export-helper.CHgC5LLL.js";
10
9
  import { s as K } from "./events.BQOQSSb7.js";
11
- import { C as ve } from "./chevron-down.DCQ6ZLaq.js";
12
- import { C as xe } from "./chevron-up.kfuLRpZb.js";
10
+ import { C as me } from "./chevron-down.XeE-LBV_.js";
11
+ import { C as ve } from "./chevron-up.Cmgl2a3x.js";
13
12
  import "../assets/dropdown-default-textbox.css";
14
- var oe = /* @__PURE__ */ ((e) => (e.DEFAULT = "DropdownInputDefault", e.SMALL = "DropdownInputSmall", e))(oe || {}), b = /* @__PURE__ */ ((e) => (e.DISABLED = "disabled", e.READONLY = "readonly", e.HAS_ITEMS = "has-items", e.OPENED = "opened", e.ERROR = "error", e))(b || {}), r = /* @__PURE__ */ ((e) => (e.OPEN = "dropdown-base-open", e.KEYDOWN = "dropdown-base-keydown", e.CLOSE = "dropdown-base-close", e.INPUT = "dropdown-base-input", e.CLEAR = "dropdown-base-clear", e))(r || {});
13
+ var ae = /* @__PURE__ */ ((e) => (e.DEFAULT = "DropdownInputDefault", e.SMALL = "DropdownInputSmall", e))(ae || {}), b = /* @__PURE__ */ ((e) => (e.DISABLED = "disabled", e.READONLY = "readonly", e.HAS_ITEMS = "has-items", e.OPENED = "opened", e.ERROR = "error", e))(b || {}), r = /* @__PURE__ */ ((e) => (e.OPEN = "dropdown-base-open", e.KEYDOWN = "dropdown-base-keydown", e.CLOSE = "dropdown-base-close", e.INPUT = "dropdown-base-input", e.CLEAR = "dropdown-base-clear", e))(r || {});
15
14
  const le = {
16
15
  "en-US": {
17
16
  clearSearch: "Clear search"
@@ -22,22 +21,22 @@ const le = {
22
21
  "pt-BR": {
23
22
  clearSearch: "Limpar busca"
24
23
  }
25
- }, we = ["id", "value", "disabled", "readonly", "required"], Se = ["id", "aria-readonly", "tabindex"], Ie = {
24
+ }, xe = ["id", "value", "disabled", "readonly", "required"], we = ["id", "aria-readonly", "tabindex"], Se = {
26
25
  key: 1,
27
26
  class: "b-dropdown-base-textbox__input-multiple-selected"
28
- }, ge = { class: "b-dropdown-base-textbox__input-selected-element" }, he = {
27
+ }, Ie = { class: "b-dropdown-base-textbox__input-selected-element" }, ge = {
29
28
  key: 2,
30
29
  class: "b-dropdown-base-textbox__additional-items"
31
- }, Ce = {
30
+ }, he = {
32
31
  key: 3,
33
32
  class: "b-dropdown-base-textbox__icon",
34
33
  "aria-hidden": "true"
35
- }, Ee = ["tabindex", "onKeydown"], ke = L({
34
+ }, Ce = ["tabindex", "onKeydown"], Ee = D({
36
35
  i18n: { messages: le },
37
36
  name: "dropdown-base-textbox",
38
37
  inheritAttrs: !1
39
- }), De = /* @__PURE__ */ L({
40
- ...ke,
38
+ }), ke = /* @__PURE__ */ D({
39
+ ...Ee,
41
40
  props: {
42
41
  /**
43
42
  * The number of additional items that have been selected in the dropdown.
@@ -69,10 +68,6 @@ const le = {
69
68
  * Corresponds to the label's id that labels the textbox element.
70
69
  */
71
70
  ariaLabelledby: { type: String, default: null },
72
- /**
73
- * Custom debounce time for the user type event.
74
- */
75
- debounceTime: { type: Number, default: 300 },
76
71
  /**
77
72
  * Disables any textbox functionality
78
73
  */
@@ -125,68 +120,68 @@ const le = {
125
120
  default: null
126
121
  }
127
122
  },
128
- setup(e, { expose: N, emit: _ }) {
129
- const { t: c } = ce({ messages: le }), S = ne(), s = X(), m = pe(s), t = e, p = _, u = Z(null), I = ue("textbox"), A = i(() => ({
123
+ setup(e, { expose: L, emit: N }) {
124
+ const { t: c } = ce({ messages: le }), x = ne(), s = Q(), y = pe(s), t = e, p = N, u = X(null), w = ue("textbox"), _ = i(() => ({
130
125
  [`b-dropdown-base-textbox--${b.DISABLED}`]: t.disabled,
131
126
  [`b-dropdown-base-textbox--${b.READONLY}`]: t.readonly,
132
127
  [`b-dropdown-base-textbox--${b.HAS_ITEMS}`]: !!t.additionalItemsSelected
133
- })), g = i(() => S.required), B = i(() => ({
128
+ })), S = i(() => x.required), A = i(() => ({
134
129
  "b-dropdown-base-textbox__input--dynamic-filtering": t.dynamicFiltering
135
- })), h = i(() => t.dynamicFiltering && !!t.value && t.open), O = i(
130
+ })), I = i(() => t.dynamicFiltering && !!t.value && t.open), B = i(
136
131
  () => {
137
132
  var l;
138
133
  return {
139
134
  "aria-haspopup": "listbox",
140
135
  "aria-controls": t.ariaControls,
141
- "aria-describedby": (l = S["aria-describedby"]) == null ? void 0 : l.toString(),
136
+ "aria-describedby": (l = x["aria-describedby"]) == null ? void 0 : l.toString(),
142
137
  "aria-expanded": t.ariaExpanded ? "true" : "false",
143
138
  "aria-labelledby": t.ariaLabelledby,
144
139
  "aria-label": t.ariaLabelledby ? null : t.ariaLabel,
145
140
  "aria-invalid": t.isInvalid,
146
141
  "aria-disabled": t.disabled ? !0 : null,
147
- "aria-required": v.value ? null : g.value
142
+ "aria-required": m.value ? null : S.value
148
143
  };
149
144
  }
150
145
  ), a = i(
151
146
  () => t.multiple ? t.selectedValueItem : []
152
- ), v = i(() => t.dynamicFiltering && (t.open || t.alwaysComboboxIsInput)), U = i(() => t.selectedValueItem && !t.multiple), C = i(
147
+ ), m = i(() => t.dynamicFiltering && (t.open || t.alwaysComboboxIsInput)), T = i(() => t.selectedValueItem && !t.multiple), g = i(
153
148
  () => t.multiple && t.selectedValueItem && a.value.length > 0 && t.showSlotContentInMultiple
154
149
  );
155
150
  se(
156
- () => v.value,
151
+ () => m.value,
157
152
  () => {
158
- v.value && !t.alwaysComboboxIsInput && j(() => {
153
+ m.value && !t.alwaysComboboxIsInput && H(() => {
159
154
  u.value.focus();
160
155
  });
161
156
  }
162
157
  );
163
- const V = async () => {
164
- !t.disabled && !t.readonly && (p(r.OPEN), await j(), u.value.focus());
158
+ const O = async () => {
159
+ !t.disabled && !t.readonly && (p(r.OPEN), await H(), u.value.focus());
165
160
  }, Y = () => {
166
161
  t.open && (u.value.focus(), p(r.CLOSE));
167
- }, z = (l) => t.open && l.target.tagName === "INPUT" ? null : t.open ? Y() : V(), $ = () => {
162
+ }, z = (l) => t.open && l.target.tagName === "INPUT" ? null : t.open ? Y() : O(), V = () => {
168
163
  p(r.CLEAR), p(r.INPUT, ""), u.value.focus();
169
- }, H = fe((l) => {
164
+ }, oe = (l) => {
170
165
  !t.readonly && !t.disabled ? p(r.INPUT, l.target.value) : (l.preventDefault(), l.stopPropagation());
171
- }, t.debounceTime);
172
- return N({
166
+ };
167
+ return L({
173
168
  focus: () => {
174
169
  u.value.focus();
175
170
  }
176
- }), (l, x) => (n(), d("div", {
177
- class: T(l.$attrs.class),
171
+ }), (l, $) => (o(), d("div", {
172
+ class: q(l.$attrs.class),
178
173
  "data-testid": "textbox-wrapper",
179
174
  onClick: z,
180
- onKeydown: E(Y, ["escape"])
175
+ onKeydown: C(Y, ["escape"])
181
176
  }, [
182
- D(o(be), {
183
- class: T(["b-dropdown-base-textbox", A.value]),
177
+ k(n(be), {
178
+ class: q(["b-dropdown-base-textbox", _.value]),
184
179
  el: "div",
185
180
  "data-testid": "base-textbox"
186
181
  }, {
187
- default: q(() => [
188
- v.value ? (n(), d("input", y({ key: 0 }, O.value, {
189
- id: o(I),
182
+ default: M(() => [
183
+ m.value ? (o(), d("input", f({ key: 0 }, B.value, {
184
+ id: n(w),
190
185
  ref_key: "textbox",
191
186
  ref: u,
192
187
  class: "b-dropdown-base-textbox__input",
@@ -197,73 +192,72 @@ const le = {
197
192
  value: e.open ? e.value : e.displayValue,
198
193
  disabled: e.disabled ? !0 : null,
199
194
  readonly: e.readonly,
200
- required: g.value,
195
+ required: S.value,
201
196
  onKeydown: [
202
- x[0] || (x[0] = (f) => l.$emit(o(r).KEYDOWN, f)),
203
- E(z, ["enter"])
197
+ $[0] || ($[0] = (h) => l.$emit(n(r).KEYDOWN, h)),
198
+ C(z, ["enter"])
204
199
  ],
205
- onInput: x[1] || (x[1] = //@ts-ignore
206
- (...f) => o(H) && o(H)(...f))
207
- }), null, 16, we)) : (n(), d("div", y({
200
+ onInput: oe
201
+ }), null, 16, xe)) : (o(), d("div", f({
208
202
  key: 1,
209
- id: o(I)
210
- }, O.value, {
203
+ id: n(w)
204
+ }, B.value, {
211
205
  ref_key: "textbox",
212
206
  ref: u,
213
- class: ["b-dropdown-base-textbox__input", B.value],
207
+ class: ["b-dropdown-base-textbox__input", A.value],
214
208
  "aria-readonly": e.readonly ? "true" : null,
215
209
  role: "combobox",
216
210
  tabindex: e.disabled ? -1 : 0
217
211
  }), [
218
- U.value ? (n(), d(R, { key: 0 }, [
219
- o(m)("display-value") ? w(l.$slots, "display-value", M(y({ key: 0 }, e.selectedValueItem)), void 0, !0) : w(l.$slots, "default", M(y({ key: 1 }, e.selectedValueItem)), () => [
220
- F(k(e.displayValue), 1)
212
+ T.value ? (o(), d(P, { key: 0 }, [
213
+ n(y)("display-value") ? v(l.$slots, "display-value", U(f({ key: 0 }, e.selectedValueItem)), void 0, !0) : v(l.$slots, "default", U(f({ key: 1 }, e.selectedValueItem)), () => [
214
+ R(E(e.displayValue), 1)
221
215
  ], !0)
222
- ], 64)) : C.value ? (n(), d("div", Ie, [
223
- (n(!0), d(R, null, ee(a.value, (f) => (n(), d("div", {
224
- key: f.value
216
+ ], 64)) : g.value ? (o(), d("div", Se, [
217
+ (o(!0), d(P, null, Z(a.value, (h) => (o(), d("div", {
218
+ key: h.value
225
219
  }, [
226
- te("div", ge, [
227
- w(l.$slots, "default", y({ ref_for: !0 }, f), () => [
228
- F(k(e.displayValue), 1)
220
+ ee("div", Ie, [
221
+ v(l.$slots, "default", f({ ref_for: !0 }, h), () => [
222
+ R(E(e.displayValue), 1)
229
223
  ], !0)
230
224
  ])
231
225
  ]))), 128))
232
- ])) : (n(), d(R, { key: 2 }, [
233
- F(k(e.displayValue), 1)
226
+ ])) : (o(), d(P, { key: 2 }, [
227
+ R(E(e.displayValue), 1)
234
228
  ], 64))
235
- ], 16, Se)),
236
- e.additionalItemsSelected ? (n(), d("span", he, k(e.additionalItemsSelected), 1)) : P("", !0),
237
- o(m)("icon") && !h.value ? (n(), d("span", Ce, [
238
- w(l.$slots, "icon", {}, void 0, !0)
239
- ])) : P("", !0),
240
- h.value ? (n(), d("span", {
229
+ ], 16, we)),
230
+ e.additionalItemsSelected ? (o(), d("span", ge, E(e.additionalItemsSelected), 1)) : F("", !0),
231
+ n(y)("icon") && !I.value ? (o(), d("span", he, [
232
+ v(l.$slots, "icon", {}, void 0, !0)
233
+ ])) : F("", !0),
234
+ I.value ? (o(), d("span", {
241
235
  key: 4,
242
236
  class: "b-dropdown-base-textbox__clear-search",
243
237
  tabindex: e.disabled ? -1 : 0,
244
238
  "data-testid": "clear-search-button",
245
- onClick: W($, ["stop"]),
246
- onKeydown: E(W($, ["stop"]), ["enter"]),
247
- onKeyup: E($, ["space"])
239
+ onClick: j(V, ["stop"]),
240
+ onKeydown: C(j(V, ["stop"]), ["enter"]),
241
+ onKeyup: C(V, ["space"])
248
242
  }, [
249
- e.size === o(oe).SMALL ? (n(), J(o(me), {
243
+ e.size === n(ae).SMALL ? (o(), W(n(ye), {
250
244
  key: 0,
251
- "svg-title": o(c)("clearSearch")
252
- }, null, 8, ["svg-title"])) : (n(), J(o(ye), {
245
+ "svg-title": n(c)("clearSearch")
246
+ }, null, 8, ["svg-title"])) : (o(), W(n(fe), {
253
247
  key: 1,
254
- "svg-title": o(c)("clearSearch")
248
+ "svg-title": n(c)("clearSearch")
255
249
  }, null, 8, ["svg-title"]))
256
- ], 40, Ee)) : P("", !0)
250
+ ], 40, Ce)) : F("", !0)
257
251
  ]),
258
252
  _: 3
259
253
  }, 8, ["class"])
260
254
  ], 34));
261
255
  }
262
- }), Le = /* @__PURE__ */ ae(De, [["__scopeId", "data-v-ea907b0a"]]), Ne = { class: "b-dropdown-default-textbox__chevron" }, _e = L({
256
+ }), De = /* @__PURE__ */ te(ke, [["__scopeId", "data-v-4c07da7a"]]), Le = { class: "b-dropdown-default-textbox__chevron" }, Ne = D({
263
257
  name: "dropdown-default-textbox",
264
258
  inheritAttrs: !1
265
- }), Ae = /* @__PURE__ */ L({
266
- ..._e,
259
+ }), _e = /* @__PURE__ */ D({
260
+ ...Ne,
267
261
  props: {
268
262
  /**
269
263
  * The number of additional items that have been selected in the dropdown.
@@ -301,10 +295,6 @@ const le = {
301
295
  * Renders the dropdown with a condensed style.
302
296
  */
303
297
  condensed: { type: Boolean, default: !1 },
304
- /**
305
- * Custom debounce time. Default: 300
306
- */
307
- debounceTime: { type: Number, default: 300 },
308
298
  /**
309
299
  * Disables any textbox functionality
310
300
  */
@@ -354,8 +344,8 @@ const le = {
354
344
  multiple: { type: Boolean, default: !1 }
355
345
  },
356
346
  emits: ["clear", "close", "input", "keydown", "open"],
357
- setup(e, { expose: N, emit: _ }) {
358
- const c = _, S = X(), s = e, m = Z(null), t = i(() => ({
347
+ setup(e, { expose: L, emit: N }) {
348
+ const c = N, x = Q(), s = e, y = X(null), t = i(() => ({
359
349
  [`b-dropdown-default-textbox--${b.ERROR}`]: !s.disabled && !s.readonly && s.isInvalid,
360
350
  [`b-dropdown-default-textbox--${b.DISABLED}`]: s.disabled,
361
351
  [`b-dropdown-default-textbox--${b.READONLY}`]: s.readonly,
@@ -363,63 +353,63 @@ const le = {
363
353
  "b-dropdown-default-textbox--condensed": s.condensed
364
354
  })), p = i(() => s.open && !s.disabled && !s.readonly), u = (a) => {
365
355
  c("input", a);
366
- }, I = (a) => {
356
+ }, w = (a) => {
367
357
  c("keydown", a);
368
- }, A = (a) => {
358
+ }, _ = (a) => {
369
359
  K(a), c("open");
370
- }, g = (a) => {
360
+ }, S = (a) => {
371
361
  K(a), c("close");
372
- }, B = (a) => {
362
+ }, A = (a) => {
373
363
  K(a), c("clear");
374
- }, h = {
364
+ }, I = {
375
365
  [r.INPUT]: u,
376
- [r.OPEN]: A,
377
- [r.CLOSE]: g,
378
- [r.CLEAR]: B,
379
- [r.KEYDOWN]: I
366
+ [r.OPEN]: _,
367
+ [r.CLOSE]: S,
368
+ [r.CLEAR]: A,
369
+ [r.KEYDOWN]: w
380
370
  };
381
- return N({
371
+ return L({
382
372
  focus: () => {
383
- m.value.focus();
373
+ y.value.focus();
384
374
  }
385
- }), (a, v) => (n(), d("div", {
386
- class: T(["b-dropdown-default-textbox", t.value]),
375
+ }), (a, m) => (o(), d("div", {
376
+ class: q(["b-dropdown-default-textbox", t.value]),
387
377
  "data-testid": "default-textbox"
388
378
  }, [
389
- D(Le, y({
379
+ k(De, f({
390
380
  ref_key: "baseTextbox",
391
- ref: m
381
+ ref: y
392
382
  }, { ...a.$attrs, ...a.$props }, {
393
383
  class: "b-dropdown-default-textbox__textbox",
394
384
  value: e.value
395
- }, de(h)), re({
396
- icon: q(() => [
397
- te("div", Ne, [
398
- G(D(o(xe), { "svg-title": "opened" }, null, 512), [
399
- [Q, p.value]
385
+ }, de(I)), re({
386
+ icon: M(() => [
387
+ ee("div", Le, [
388
+ J(k(n(ve), { "svg-title": "opened" }, null, 512), [
389
+ [G, p.value]
400
390
  ]),
401
- G(D(o(ve), { "svg-title": "closed" }, null, 512), [
402
- [Q, !p.value]
391
+ J(k(n(me), { "svg-title": "closed" }, null, 512), [
392
+ [G, !p.value]
403
393
  ])
404
394
  ])
405
395
  ]),
406
396
  _: 2
407
397
  }, [
408
- ee(o(S), (U, C) => ({
409
- name: C,
410
- fn: q((V) => [
411
- w(a.$slots, C, M(ie(V ?? {})), void 0, !0)
398
+ Z(n(x), (T, g) => ({
399
+ name: g,
400
+ fn: M((O) => [
401
+ v(a.$slots, g, U(ie(O ?? {})), void 0, !0)
412
402
  ])
413
403
  }))
414
404
  ]), 1040, ["value"])
415
405
  ], 2));
416
406
  }
417
- }), ze = /* @__PURE__ */ ae(Ae, [["__scopeId", "data-v-0771af15"]]);
407
+ }), Te = /* @__PURE__ */ te(_e, [["__scopeId", "data-v-c3e3ce21"]]);
418
408
  export {
419
- oe as B,
420
- ze as D,
409
+ ae as B,
410
+ Te as D,
421
411
  b as a,
422
412
  r as b,
423
- Le as c
413
+ De as c
424
414
  };
425
- //# sourceMappingURL=dropdown-default-textbox.DFtFMu5G.js.map
415
+ //# sourceMappingURL=dropdown-default-textbox.B-_dTUVX.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dropdown-default-textbox.B-_dTUVX.js","sources":["../../../vue2/src/components/dropdown/dropdown.types.ts","../../../vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.types.ts","../../../vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue","../../../vue2/src/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue"],"sourcesContent":["import type {\n BentoListboxEmptyStateProps as BentoDropdownEmptyStateProps,\n BentoListboxSearchOptions as BentoDropdownSearchOptions,\n BentoListboxVirtulisationOptions as BentoDropdownVirtulisationOptions,\n BentoListboxIsOptionDisabled,\n BentoListboxLazyLoadType,\n BentoListboxOptions,\n BentoListboxSelectedValue,\n} from '../../types/listbox';\nimport { type FormField } from '../../types/form-field';\nexport type { BentoDropdownSearchOptions, BentoDropdownEmptyStateProps, BentoDropdownVirtulisationOptions };\nexport interface BentoDropdownProps extends FormField {\n /**\n * @deprecated from version 2.0.0. Use the aria-label attribute instead.\n * Defines a string value that labels an interactive element.\n */\n ariaLabel?: string;\n /**\n * Renders the dropdown with a condensed style.\n */\n condensed?: boolean;\n /**\n * Empty state props used with the inner empty state component which is displayed when no search results are found.\n */\n emptyState?: BentoDropdownEmptyStateProps;\n /**\n * Sets the possibility to type into the textbox.\n */\n dynamicFiltering?: boolean;\n /**\n * Highlights the dropdown in an erroneous state.\n * @deprecated Use \"errorMessage\" prop instead\n */\n error?: boolean;\n /**\n * Indicates whether there are more items to load\n */\n hasMoreItems?: boolean;\n /**\n * Function that dertermines which options are disabled from interaction.\n * @type {BentoListboxIsOptionDisabled}\n * @param {BentoListboxOptionItem} option - Dropdown option object\n * @param {string} option.label - Option's label text\n * @param {string|number} option.value - Option's value\n * @param {unknown} option.data - Option's extra data to be passed to the default slot\n */\n isOptionDisabled?: BentoListboxIsOptionDisabled;\n /**\n * The option elements to populate the dropdown with.\n * It must be an array of {@see BentoListboxOptionItem }\n * @property value.label - Text to be displayed in the option\n * @property value.value - Value of the option\n */\n items?: BentoListboxOptions;\n /**\n * Indicates if new options are lazy loading.\n */\n loading?: boolean;\n /**\n * Indicates that dropdown items are loading\n */\n componentLoading?: boolean;\n /**\n * The type of `Lazy Load`.\n * Type \"automatic\" will enable infinite scrolling\n * Type \"button\" will enable lazy loading with \"Show more\" button\n */\n lazyLoadType?: BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`;\n /**\n * If enabled, the user will be able to select multiple items.\n */\n multiple?: boolean;\n /**\n * Dropdown search options and events.\n * @see BentoDropdownSearchOptions\n */\n search?: BentoDropdownSearchOptions;\n /**\n * Toggles whether to use the slot content select items shown in the textbox in multiple mode.\n */\n showSlotContentInMultiple?: boolean;\n /**\n * @deprecated Do not use. Only 'default' size should be used.\n */\n size?: BentoDropdownSize | `${BentoDropdownSize}`;\n /**\n * If enabled, dropdown will display non-selectable, static categories\n */\n staticCategories?: boolean;\n /**\n * The `input` value.\n * Providing an empty string will select no options.\n * Set to an empty string `''` if you don't want any of the available options to be selected.\n * @deprecated for usage with properties since version 2.0. Use `v-model` or `model-value` instead.\n */\n value?: BentoListboxSelectedValue;\n /**\n * The `input` value.\n * Providing an empty string will select no options.\n * Set to an empty string `''` if you don't want any of the available options to be selected.\n */\n modelValue?: BentoListboxSelectedValue;\n /**\n * Enables virtual scrolling if set to true or by providing an object with itemHeight function.\n * The itemHeight function is used to calculate the height of rendered item given it's index.\n */\n virtualScroll?: BentoDropdownVirtulisationOptions;\n /**\n * Enables value/label value handling. When `true`, the component expects and emits value/label\n * pair objects instead of primitive values.\n *\n * This affects both the `value` prop and the `input` event payload.\n *\n * - **Input (`value` prop):** Expects a `{ value: string | number, label: string }` object (or an array of them for multi-select).\n * - **Output (`input` event):** Emits a `{ value: string | number, label: string }` object (or an array of them) upon selection.\n *\n * This is particularly useful when a selected item's label is not available in the `items` prop,\n * allowing the component to display the correct label for values loaded from external sources.\n * @default false\n */\n enableValueLabelPair?: boolean;\n}\n\n/**\n * @deprecated Do not use. Only 'default' size should be used.\n */\nexport enum BentoDropdownSize {\n DEFAULT = 'DropdownInputDefault',\n SMALL = 'DropdownInputSmall',\n}\n\nexport {\n /**\n * @deprecated since version 2.0. Use the string literal instead.\n */\n BentoListboxLazyLoadType as BentoDropdownLazyLoadType,\n BentoListboxEvent as BentoDropdownEvent,\n} from '@/types/listbox';\n","import { type PropType } from 'vue';\nimport { type Booleanish } from '@/types/prop-types';\n\n// TODO: Change this to script setup + Typescript interface\nexport const DropdownBaseTextboxProps = {\n /**\n * The number of additional items that have been selected in the dropdown.\n */\n additionalItemsSelected: { type: [Number, String] as PropType<number | string>, default: 0 },\n\n /**\n * Sets the possibility to type into the textbox\n */\n dynamicFiltering: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Sets the aria-controls attribute on the textbox. This should correspond to the popover's id that the textbox triggers.\n */\n ariaControls: {\n type: String,\n required: true,\n },\n\n /**\n * Indicates whether the content the textbox triggers is visible or not. Needs to be set accordingly when the textbox is used and changed every time the popover is shown/hidden.\n */\n ariaExpanded: {\n type: [String, Boolean] as PropType<Booleanish>,\n required: true,\n },\n\n /**\n * Corresponds to the label's id that labels the textbox element.\n */\n ariaLabelledby: {\n type: String,\n default: null,\n },\n\n /**\n * Disables any textbox functionality\n */\n disabled: { type: Boolean, default: false },\n\n /**\n * Marks the textbox as invalid, rendering an error state\n */\n isInvalid: { type: Boolean, default: false },\n\n /**\n * Selected option's label\n */\n displayValue: { type: String, default: null },\n\n /**\n * Indicates if the dropdown is open so that\n * the respective event can be emitted\n */\n open: { type: Boolean, default: false },\n\n /**\n * The input value\n */\n value: { type: String, default: '' },\n\n /**\n * Custom debounce time. Default: 300\n */\n debounceTime: { type: Number, default: 300 },\n};\n\nexport enum DropdownBaseTextboxState {\n DISABLED = 'disabled',\n READONLY = 'readonly',\n HAS_ITEMS = 'has-items',\n OPENED = 'opened',\n ERROR = 'error',\n}\n\nexport enum DropdownBaseTextboxEvent {\n OPEN = 'dropdown-base-open',\n KEYDOWN = 'dropdown-base-keydown',\n CLOSE = 'dropdown-base-close',\n INPUT = 'dropdown-base-input',\n CLEAR = 'dropdown-base-clear',\n}\n\nexport default DropdownBaseTextboxProps;\n","<template>\n <div\n :class=\"$attrs.class\"\n data-testid=\"textbox-wrapper\"\n @click=\"onToggleDropdown\"\n @keydown.escape=\"onCloseDropdown\"\n >\n <bento-typography\n class=\"b-dropdown-base-textbox\"\n :class=\"conditionalClasses\"\n el=\"div\"\n data-testid=\"base-textbox\"\n >\n <input\n v-if=\"shouldShowInput\"\n v-bind=\"ariaAttributes\"\n :id=\"textboxId\"\n ref=\"textbox\"\n class=\"b-dropdown-base-textbox__input\"\n role=\"combobox\"\n type=\"text\"\n aria-autocomplete=\"list\"\n size=\"1\"\n :value=\"open ? value : displayValue\"\n :disabled=\"disabled ? true : null\"\n :readonly=\"readonly\"\n :required=\"isRequired\"\n @keydown=\"$emit(DropdownBaseTextboxEvent.KEYDOWN, $event)\"\n @keydown.enter=\"onToggleDropdown\"\n @input=\"onInputEvent\"\n />\n <div\n v-else\n :id=\"textboxId\"\n v-bind=\"ariaAttributes\"\n ref=\"textbox\"\n class=\"b-dropdown-base-textbox__input\"\n :class=\"comboboxConditionalClasses\"\n :aria-readonly=\"readonly ? 'true' : null\"\n role=\"combobox\"\n :tabindex=\"disabled ? -1 : 0\"\n >\n <template v-if=\"shouldShowSingleSelectSlot\">\n <slot v-if=\"hasSlot('display-value')\" v-bind=\"selectedValueItem\" name=\"display-value\"></slot>\n <slot v-else v-bind=\"selectedValueItem\">\n {{ displayValue }}\n </slot>\n </template>\n <template v-else-if=\"shouldShowMultipleSlot\">\n <div class=\"b-dropdown-base-textbox__input-multiple-selected\">\n <div v-for=\"singleItem of selectedValueItems\" :key=\"singleItem.value\">\n <div class=\"b-dropdown-base-textbox__input-selected-element\">\n <slot v-bind=\"singleItem\">\n {{ displayValue }}\n </slot>\n </div>\n </div>\n </div>\n </template>\n <template v-else>{{ displayValue }}</template>\n </div>\n <span v-if=\"additionalItemsSelected\" class=\"b-dropdown-base-textbox__additional-items\">\n {{ additionalItemsSelected }}\n </span>\n <span v-if=\"hasSlot('icon') && !isFiltering\" class=\"b-dropdown-base-textbox__icon\" aria-hidden=\"true\">\n <slot name=\"icon\"></slot>\n </span>\n <span\n v-if=\"isFiltering\"\n class=\"b-dropdown-base-textbox__clear-search\"\n :tabindex=\"disabled ? -1 : 0\"\n data-testid=\"clear-search-button\"\n @click.stop=\"onClearSearch\"\n @keydown.enter.stop=\"onClearSearch\"\n @keyup.space=\"onClearSearch\"\n >\n <cross-circle-fill-small-icon v-if=\"size === BentoDropdownSize.SMALL\" :svg-title=\"t('clearSearch')\" />\n <cross-circle-fill-icon v-else :svg-title=\"t('clearSearch')\" />\n </span>\n </bento-typography>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, defineComponent, nextTick, type PropType, ref, useAttrs, useSlots, watch } from 'vue';\n import { generateUid } from '@/core/utils/ts';\n import { useI18n } from '@/utils/ts/i18n';\n import { useHasSlot } from '@/composables';\n import { BentoTypography } from '@/components/typography';\n import { type Booleanish } from '@/types/prop-types';\n import { type BentoListboxOptionItem } from '@/types/listbox';\n import type { HTMLAttributes } from 'vue/types/jsx.d.ts';\n import { DropdownBaseTextboxEvent, DropdownBaseTextboxState } from './dropdown-base-textbox.types';\n import CrossCircleFillIcon from '@adyen/ui-assets-icons-16/vue/cross-circle-fill';\n import CrossCircleFillSmallIcon from '@adyen/ui-assets-icons-16/vue/cross-circle-fill-small';\n import { BentoDropdownSize } from '@/components/dropdown/dropdown.types';\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 attrs = useAttrs();\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n const props = defineProps({\n /**\n * The number of additional items that have been selected in the dropdown.\n */\n additionalItemsSelected: { type: [Number, String] as PropType<number | string>, default: 0 },\n\n /**\n * If the combobox DOM element should be an `input` element.\n */\n alwaysComboboxIsInput: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Sets the aria-controls attribute on the textbox. This should correspond to the popover's id that the textbox triggers.\n */\n ariaControls: { type: String, required: true },\n\n /**\n * Indicates whether the content the textbox triggers is visible or not. Needs to be set accordingly when the textbox is used and changed every time the popover is shown/hidden.\n */\n ariaExpanded: {\n type: [String, Boolean] as PropType<Booleanish>,\n required: true,\n },\n\n /**\n * If no label element is used then the aria-label is be set should be set.\n */\n ariaLabel: { type: String, default: null },\n\n /**\n * Corresponds to the label's id that labels the textbox element.\n */\n ariaLabelledby: { type: String, default: null },\n\n /**\n * Disables any textbox functionality\n */\n disabled: { type: Boolean, default: false },\n\n /**\n * Selected option's label\n */\n displayValue: { type: String, default: null },\n\n /**\n * Sets the possibility to type into the textbox.\n */\n dynamicFiltering: { type: Boolean, default: false },\n\n /**\n * Marks the textbox as invalid, rendering an error state\n */\n isInvalid: { type: Boolean, default: false },\n\n /*\n * If enabled, the user will be able to select multiple items.\n */\n multiple: { type: Boolean, default: false },\n\n /**\n * Indicates if the dropdown is open so that\n * the respective event can be emitted\n */\n open: { type: Boolean, default: false },\n\n /**\n * Sets the dropdown to readonly state\n */\n readonly: { type: Boolean, default: false },\n\n /**\n * The input value\n */\n value: { type: String, default: '' },\n\n /**\n * The selected value's list box item.\n */\n selectedValueItem: {\n type: [Object, Array] as PropType<BentoListboxOptionItem | Array<BentoListboxOptionItem>>,\n default: undefined,\n },\n\n /**\n * Toggles whether to use the slot content select items shown in the textbox in multiple mode.\n */\n showSlotContentInMultiple: { type: Boolean, default: false },\n\n /**\n * Dropdown size\n */\n size: {\n type: String as PropType<BentoDropdownSize | `${BentoDropdownSize}`>,\n default: null,\n },\n });\n\n const emit = defineEmits<{\n /**\n * Emitted when the \"clear\" button is clicked\n */\n (e: DropdownBaseTextboxEvent.CLEAR);\n\n /**\n * Emitted on click, space, enter and esc user events. It will close the dropdown.\n */\n (e: DropdownBaseTextboxEvent.CLOSE);\n\n /**\n * Emitted when `dynamicFiltering` is enabled and a search input is entered\n */\n (e: DropdownBaseTextboxEvent.INPUT, searchValue: string);\n\n /**\n * Emitted when any key is pressed and the focus is on the input field\n */\n (e: DropdownBaseTextboxEvent.KEYDOWN, event: KeyboardEvent);\n\n /**\n * Emitted on click, space and enter user events. It will open the dropdown.\n */\n (e: DropdownBaseTextboxEvent.OPEN);\n }>();\n\n const textbox = ref(null);\n const textboxId = generateUid('textbox');\n\n const conditionalClasses = computed(() => ({\n [`b-dropdown-base-textbox--${DropdownBaseTextboxState.DISABLED}`]: props.disabled,\n [`b-dropdown-base-textbox--${DropdownBaseTextboxState.READONLY}`]: props.readonly,\n [`b-dropdown-base-textbox--${DropdownBaseTextboxState.HAS_ITEMS}`]: !!props.additionalItemsSelected,\n }));\n\n const isRequired = computed(() => attrs['required'] as Booleanish);\n\n const comboboxConditionalClasses = computed(() => ({\n [`b-dropdown-base-textbox__input--dynamic-filtering`]: props.dynamicFiltering,\n }));\n\n const isFiltering = computed(() => props.dynamicFiltering && !!props.value && props.open);\n\n const ariaAttributes = computed(\n () =>\n ({\n 'aria-haspopup': 'listbox',\n 'aria-controls': props.ariaControls,\n 'aria-describedby': attrs['aria-describedby']?.toString() as string,\n 'aria-expanded': props.ariaExpanded ? 'true' : 'false',\n 'aria-labelledby': props.ariaLabelledby,\n 'aria-label': props.ariaLabelledby ? null : props.ariaLabel,\n 'aria-invalid': props.isInvalid,\n 'aria-disabled': props.disabled ? true : null,\n 'aria-required': shouldShowInput.value ? null : isRequired.value,\n }) as HTMLAttributes\n );\n // Cast selectedValueItem if it is an array of selected items\n const selectedValueItems = computed(() =>\n props.multiple ? (props.selectedValueItem as Array<BentoListboxOptionItem>) : []\n );\n\n const shouldShowInput = computed(() => props.dynamicFiltering && (props.open || props.alwaysComboboxIsInput));\n const shouldShowSingleSelectSlot = computed(() => props.selectedValueItem && !props.multiple);\n const shouldShowMultipleSlot = computed(\n () =>\n props.multiple &&\n props.selectedValueItem &&\n selectedValueItems.value.length > 0 &&\n props.showSlotContentInMultiple\n );\n\n watch(\n () => shouldShowInput.value,\n () => {\n if (shouldShowInput.value && !props.alwaysComboboxIsInput) {\n nextTick(() => {\n textbox.value.focus();\n });\n }\n }\n );\n\n const onOpenDropdown = async () => {\n if (!props.disabled && !props.readonly) {\n emit(DropdownBaseTextboxEvent.OPEN);\n // wait for popover to open before setting focus\n await nextTick();\n textbox.value.focus();\n }\n };\n\n const onCloseDropdown = () => {\n if (props.open) {\n textbox.value.focus();\n emit(DropdownBaseTextboxEvent.CLOSE);\n }\n };\n\n const onToggleDropdown = (event: Event) => {\n const isDynamicFilteringInputClickEvent = props.open && (event.target as HTMLDivElement).tagName === 'INPUT';\n if (isDynamicFilteringInputClickEvent) {\n /**\n * When there's a click even on the input during filtering\n * and the popover is open, do not toggle the popover.\n * Allow for click events inside the input field\n */\n return null;\n }\n\n return props.open ? onCloseDropdown() : onOpenDropdown();\n };\n\n const onClearSearch = () => {\n emit(DropdownBaseTextboxEvent.CLEAR);\n emit(DropdownBaseTextboxEvent.INPUT, '');\n textbox.value.focus();\n };\n const onInputEvent = (event: Event) => {\n if (!props.readonly && !props.disabled) {\n emit(DropdownBaseTextboxEvent.INPUT, (event.target as HTMLInputElement).value);\n } else {\n event.preventDefault();\n event.stopPropagation();\n }\n };\n\n const focus = () => {\n textbox.value.focus();\n };\n\n defineExpose({\n focus,\n });\n</script>\n\n<script lang=\"ts\">\n /**\n * Only for internal use, implements the logic of the textbox element to be implemented in the combobox.\n */\n export default defineComponent({\n i18n: { messages },\n name: 'dropdown-base-textbox',\n inheritAttrs: false,\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./dropdown-base-textbox.scss\" />\n","<template>\n <div class=\"b-dropdown-default-textbox\" :class=\"conditionalClasses\" data-testid=\"default-textbox\">\n <dropdown-base-textbox\n ref=\"baseTextbox\"\n v-bind=\"{ ...$attrs, ...$props }\"\n class=\"b-dropdown-default-textbox__textbox\"\n :value=\"value\"\n v-on=\"listeners\"\n >\n <template v-for=\"(_, innerSlot) of slots\" #[innerSlot]=\"scope\">\n <slot :name=\"innerSlot\" v-bind=\"scope ?? {}\" />\n </template>\n <template #icon>\n <div class=\"b-dropdown-default-textbox__chevron\">\n <chevron-up-icon v-show=\"isDropdownOpen\" svg-title=\"opened\" />\n <chevron-down-icon v-show=\"!isDropdownOpen\" svg-title=\"closed\" />\n </div>\n </template>\n </dropdown-base-textbox>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\n import { computed, defineComponent, type PropType, ref, useSlots } from 'vue';\n import DropdownBaseTextbox from '@/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue';\n import { type Booleanish } from '@/types/prop-types';\n import { type BentoListboxOptionItem } from '@/types/listbox';\n import { stopEventPropagation } from '@/utils/ts/events';\n import {\n DropdownBaseTextboxEvent,\n DropdownBaseTextboxState,\n } from '../dropdown-base-textbox/dropdown-base-textbox.types';\n import ChevronDownIcon from '@adyen/ui-assets-icons-16/vue/chevron-down';\n import ChevronUpIcon from '@adyen/ui-assets-icons-16/vue/chevron-up';\n\n const emit = defineEmits<{\n /**\n * Emitted on clearing the input.\n */\n (e: 'clear');\n\n /**\n * Emitted on click, space and enter user events. It will open the dropdown.\n */\n (e: 'close');\n\n /**\n * Emitted on input event.\n */\n (e: 'input', newInput: string);\n\n /**\n * Emitted on keydown event.\n */\n (e: 'keydown', keydownEvent: KeyboardEvent);\n\n /**\n * Emitted on click, space, enter and esc user events. It will close the dropdown.\n */\n (e: 'open');\n }>();\n\n const slots = useSlots();\n\n const props = defineProps({\n /**\n * The number of additional items that have been selected in the dropdown.\n */\n additionalItemsSelected: { type: [Number, String] as PropType<number | string>, default: 0 },\n\n /**\n * Sets the aria-controls attribute on the textbox. This should correspond to the popover's id that the textbox triggers.\n */\n ariaControls: {\n type: String,\n required: true,\n },\n\n /**\n * Indicates whether the content the textbox triggers is visible or not. Needs to be set accordingly when the textbox is used and changed every time the popover is shown/hidden.\n */\n ariaExpanded: {\n type: [String, Boolean] as PropType<Booleanish>,\n required: true,\n },\n\n /**\n * If no label element is used then the aria-label is be set should be set.\n */\n ariaLabel: {\n type: String,\n default: null,\n },\n\n /**\n * Corresponds to the label's id that labels the textbox element.\n */\n ariaLabelledby: {\n type: String,\n default: null,\n },\n\n /**\n * Renders the dropdown with a condensed style.\n */\n condensed: { type: Boolean, default: false },\n\n /**\n * Disables any textbox functionality\n */\n disabled: { type: Boolean, default: false },\n\n /**\n * Selected option's label\n */\n displayValue: { type: String, default: null },\n\n /**\n * Sets the possibility to type into the textbox\n */\n dynamicFiltering: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Marks the textbox as invalid, rendering an error state\n */\n isInvalid: { type: Boolean, default: false },\n\n /**\n * Indicates if the dropdown is open so that\n * the respective event can be emitted\n */\n open: { type: Boolean, default: false },\n\n /**\n * Sets the dropdown to readonly state\n */\n readonly: { type: Boolean, default: false },\n\n /**\n * The selected value's list box item.\n */\n selectedValueItem: {\n type: [Object, Array] as PropType<BentoListboxOptionItem | Array<BentoListboxOptionItem>>,\n default: undefined,\n },\n\n /**\n * Toggles whether to use the slot content select items shown in the textbox in multiple mode.\n */\n showSlotContentInMultiple: { type: Boolean, default: false },\n\n /**\n * The input value\n */\n value: { type: String, default: '' },\n\n /*\n * If enabled, the user will be able to select multiple items.\n */\n multiple: { type: Boolean, default: false },\n });\n\n const baseTextbox = ref(null);\n\n const conditionalClasses = computed(() => ({\n [`b-dropdown-default-textbox--${DropdownBaseTextboxState.ERROR}`]:\n !props.disabled && !props.readonly && props.isInvalid,\n [`b-dropdown-default-textbox--${DropdownBaseTextboxState.DISABLED}`]: props.disabled,\n [`b-dropdown-default-textbox--${DropdownBaseTextboxState.READONLY}`]: props.readonly,\n [`b-dropdown-default-textbox--${DropdownBaseTextboxState.OPENED}`]: props.open,\n 'b-dropdown-default-textbox--condensed': props.condensed,\n }));\n\n const isDropdownOpen = computed(() => props.open && !props.disabled && !props.readonly);\n\n const onInput = (newInput: string) => {\n emit('input', newInput);\n };\n const onKeyDown = (e: KeyboardEvent) => {\n emit('keydown', e);\n };\n const openDropdown = (e: Event) => {\n stopEventPropagation(e);\n emit('open');\n };\n const closeDropdown = (e: Event) => {\n stopEventPropagation(e);\n emit('close');\n };\n const clearValue = (e: Event) => {\n stopEventPropagation(e);\n emit('clear');\n };\n\n const listeners = {\n [DropdownBaseTextboxEvent.INPUT]: onInput,\n [DropdownBaseTextboxEvent.OPEN]: openDropdown,\n [DropdownBaseTextboxEvent.CLOSE]: closeDropdown,\n [DropdownBaseTextboxEvent.CLEAR]: clearValue,\n [DropdownBaseTextboxEvent.KEYDOWN]: onKeyDown,\n };\n\n const focus = () => {\n baseTextbox.value.focus();\n };\n\n defineExpose({\n focus,\n });\n</script>\n\n<script lang=\"ts\">\n /**\n * For internal use only, textbox component used in the dropdown component.\n */\n export default defineComponent({\n name: 'dropdown-default-textbox',\n inheritAttrs: false,\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./dropdown-default-textbox.scss\" />\n"],"names":["BentoDropdownSize","BentoDropdownSize2","DropdownBaseTextboxState","DropdownBaseTextboxState2","DropdownBaseTextboxEvent","DropdownBaseTextboxEvent2","__default__$1","defineComponent","messages","t","useI18n","attrs","useAttrs","slots","useSlots","hasSlot","useHasSlot","props","__props","emit","__emit","textbox","ref","textboxId","generateUid","conditionalClasses","computed","isRequired","comboboxConditionalClasses","isFiltering","ariaAttributes","_a","shouldShowInput","selectedValueItems","shouldShowSingleSelectSlot","shouldShowMultipleSlot","watch","nextTick","onOpenDropdown","onCloseDropdown","onToggleDropdown","event","onClearSearch","onInputEvent","__expose","__default__","baseTextbox","isDropdownOpen","onInput","newInput","onKeyDown","e","openDropdown","stopEventPropagation","closeDropdown","clearValue","listeners"],"mappings":"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"}
@@ -1,12 +1,12 @@
1
- import { defineComponent as u, computed as O, createElementBlock as $, openBlock as w, createVNode as l, mergeProps as B, withCtx as f, unref as d, toRefs as x, createTextVNode as g, toDisplayString as U, ref as V, watch as k, createBlock as S, createElementVNode as E, createCommentVNode as P } from "vue";
2
- import { B as N } from "./avatar.CNGMjwg3.js";
3
- import { B as m, u as F } from "./dropdown.DmzMGz30.js";
4
- import { u as b } from "./form-field.D_2g7vaP.js";
5
- import { d as _, B as D } from "./typography.6Oo5TOMP.js";
6
- import { u as L } from "./use-country-items.JZCYNoW7.js";
7
- import { B as T } from "./country.types.DaVCMxk-.js";
8
- import { L as A } from "./listbox-option-tag.BHQiD5oC.js";
9
- import { B as C } from "./payment-method.BGEBaa4w.js";
1
+ import { defineComponent as u, computed as O, openBlock as w, createElementBlock as $, createVNode as l, mergeProps as b, withCtx as f, unref as d, toRefs as x, createTextVNode as g, toDisplayString as U, ref as V, watch as k, createBlock as S, createElementVNode as E, createCommentVNode as P } from "vue";
2
+ import { B as N } from "./avatar.Caeba-pw.js";
3
+ import { B as m, u as F } from "./dropdown.CU6nfq3V.js";
4
+ import { u as B } from "./form-field.D_2g7vaP.js";
5
+ import { d as _, B as D } from "./typography.B3J6_tYk.js";
6
+ import { u as L } from "./use-country-items.BTzByPdQ.js";
7
+ import { a as T } from "./country.types.BBQbWkTY.js";
8
+ import { L as A } from "./listbox-option-tag.C3ihNg6_.js";
9
+ import { B as C } from "./payment-method.AeKHZlAO.js";
10
10
  import { _ as I } from "./_plugin-vue_export-helper.CHgC5LLL.js";
11
11
  import "../assets/dropdown-tag.css";
12
12
  const R = u({
@@ -30,14 +30,14 @@ const R = u({
30
30
  },
31
31
  emits: ["input", "update:model-value", "show-more", "open"],
32
32
  setup(s, { emit: i }) {
33
- const r = s, a = i, { emitValue: v } = b(a), c = (t) => v(t), p = O(() => r.items.map(({ value: t, label: o, src: e }) => ({ value: t, label: o, data: e })));
33
+ const r = s, a = i, { emitValue: v } = B(a), c = (t) => v(t), p = O(() => r.items.map(({ value: t, label: o, src: e }) => ({ value: t, label: o, data: e })));
34
34
  return r.value && _(
35
35
  'BentoDropdownAvatar "value" property',
36
36
  `The use of "value" prop in "BentoDropdownAvatar" is no longer supported.
37
37
  Use the "v-model" or "model-value" property instead.`,
38
38
  "2.0.0"
39
39
  ), (t, o) => (w(), $("div", null, [
40
- l(m, B(t.$props, {
40
+ l(m, b(t.$props, {
41
41
  items: p.value,
42
42
  "onUpdate:modelValue": c,
43
43
  onShowMore: o[0] || (o[0] = (e) => a("show-more")),
@@ -82,7 +82,7 @@ const R = u({
82
82
  },
83
83
  emits: ["input", "update:model-value", "show-more", "open"],
84
84
  setup(s, { emit: i }) {
85
- const r = s, a = i, { emitValue: v } = b(a), c = (e) => v(e), { variant: p, items: t } = x(r), o = L(p, t);
85
+ const r = s, a = i, { emitValue: v } = B(a), c = (e) => v(e), { variant: p, items: t } = x(r), o = L(p, t);
86
86
  return (p.value === "custom" || t.value.some((e) => e.label)) && _(
87
87
  'BentoDropdownCountry "custom" variant and "items" prop "label" key',
88
88
  "Use any of the other BentoDropdownCountry variants instead OR use BentoDropdown component for custom labels",
@@ -93,7 +93,7 @@ const R = u({
93
93
  Use the "v-model" or "model-value" property instead.`,
94
94
  "2.0.0"
95
95
  ), (e, n) => (w(), $("div", null, [
96
- l(m, B(e.$props, {
96
+ l(m, b(e.$props, {
97
97
  items: d(o),
98
98
  "onUpdate:modelValue": c,
99
99
  onShowMore: n[0] || (n[0] = (h) => a("show-more")),
@@ -131,7 +131,7 @@ const R = u({
131
131
  },
132
132
  emits: ["input", "update:model-value", "show-more", "open"],
133
133
  setup(s, { emit: i }) {
134
- const r = s, a = i, { emitValue: v } = b(a), c = (o) => v(o), p = V([]);
134
+ const r = s, a = i, { emitValue: v } = B(a), c = (o) => v(o), p = V([]);
135
135
  k(
136
136
  () => r.items,
137
137
  () => p.value = r.items,
@@ -161,7 +161,7 @@ const R = u({
161
161
  `The use of "value" prop in "BentoDropdownCurrency" is no longer supported.
162
162
  Use the "v-model" or "model-value" property instead.`,
163
163
  "2.0.0"
164
- ), (o, e) => (w(), S(m, B(o.$props, {
164
+ ), (o, e) => (w(), S(m, b(o.$props, {
165
165
  search: d(t),
166
166
  items: p.value,
167
167
  "onUpdate:modelValue": c,
@@ -197,14 +197,14 @@ const R = u({
197
197
  },
198
198
  emits: ["input", "update:model-value", "show-more", "open"],
199
199
  setup(s, { emit: i }) {
200
- const r = s, a = i, { emitValue: v } = b(a), c = (p) => v(p);
200
+ const r = s, a = i, { emitValue: v } = B(a), c = (p) => v(p);
201
201
  return r.value && _(
202
202
  'BentoDropdownPaymentMethod "value" property',
203
203
  `The use of "value" prop in "BentoDropdownPaymentMethod" is no longer supported.
204
204
  Use the "v-model" or "model-value" property instead.`,
205
205
  "2.0.0"
206
206
  ), (p, t) => (w(), $("div", null, [
207
- l(m, B({ class: "b-dropdown-payment-method" }, p.$props, {
207
+ l(m, b({ class: "b-dropdown-payment-method" }, p.$props, {
208
208
  "onUpdate:modelValue": c,
209
209
  onShowMore: t[0] || (t[0] = (o) => a("show-more")),
210
210
  onOpen: t[1] || (t[1] = (o) => a("open"))
@@ -265,7 +265,7 @@ const R = u({
265
265
  },
266
266
  emits: ["input", "update:model-value", "show-more", "open"],
267
267
  setup(s, { emit: i }) {
268
- const r = s, a = i, { emitValue: v } = b(a), c = (t) => v(t), p = O(() => {
268
+ const r = s, a = i, { emitValue: v } = B(a), c = (t) => v(t), p = O(() => {
269
269
  var t;
270
270
  return (t = r.items) == null ? void 0 : t.map(({ label: o, value: e, variant: n }) => ({ label: o, value: e, data: n }));
271
271
  });
@@ -274,7 +274,7 @@ const R = u({
274
274
  `The use of "value" prop in "BentoDropdownTag" is no longer supported.
275
275
  Use the "v-model" or "model-value" property instead.`,
276
276
  "2.0.0"
277
- ), (t, o) => (w(), S(m, B(t.$props, {
277
+ ), (t, o) => (w(), S(m, b(t.$props, {
278
278
  class: "b-dropdown-tag",
279
279
  items: p.value,
280
280
  "show-slot-content-in-multiple": "",
@@ -298,4 +298,4 @@ export {
298
298
  me as c,
299
299
  de as d
300
300
  };
301
- //# sourceMappingURL=dropdown-tag.CBgns9Y3.js.map
301
+ //# sourceMappingURL=dropdown-tag.DDNOZhEG.js.map