@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 +1 @@
1
- {"version":3,"file":"layout-row.Ccw24NzW.js","sources":["../../../vue2/src/components/layout/layout.keys.ts","../../../vue2/src/components/layout/layout.vue","../../../vue2/src/components/layout/layout.types.ts","../../../vue2/src/components/layout/components/layout-row/layout-row.vue"],"sourcesContent":["export const LAYOUT_SIZE_INJECTION_KEY = Symbol('Layout size inject key');\n","<template>\n <component :is=\"wrapperElement\" class=\"b-layout\" :class=\"conditionalClasses\">\n <slot />\n </component>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, provide, toRef } from 'vue';\n import { type BentoLayoutProps } from './layout.types';\n import { LAYOUT_SIZE_INJECTION_KEY } from '@/components/layout/layout.keys';\n\n const props = withDefaults(defineProps<BentoLayoutProps>(), {\n size: 'full-width',\n variant: 'page',\n });\n\n provide(LAYOUT_SIZE_INJECTION_KEY, toRef(props, 'size'));\n\n const conditionalClasses = computed(() => ({\n 'b-layout--component': props.variant === 'component',\n }));\n\n const wrapperElement = props.variant === 'page' ? 'main' : 'div';\n</script>\n\n<script lang=\"ts\">\n /**\n * Layout is a basic scaffolding of a page that defines spacing, some functionality and responsive behavior of its top level sections.\n *\n * @example\n * import { BentoLayout, BentoLayoutRow } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoLayout, BentoLayoutRow },\n * template: `\n * <bento-layout size=\"narrow\">\n * <bento-layout-row>\n * Row 1\n * </bento-layout-row>\n * <bento-layout-row>\n * Row 2\n * </bento-layout-row>\n * </bento-layout>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./layout.scss\" />\n","/**\n * @private\n */\nexport const BentoLayoutVariantOptions = ['page', 'component'] as const;\nexport const BentoLayoutSizeOptions = ['full-width', 'narrow', 'half-width'] as const;\nexport const BentoLayoutRowColumnLayoutOptions = ['3-9', '9-3', '4-8', '8-4', '6-6'] as const;\n\n// Public\nexport type BentoLayoutVariant = (typeof BentoLayoutVariantOptions)[number];\nexport type BentoLayoutSize = (typeof BentoLayoutSizeOptions)[number];\nexport type BentoLayoutRowColumnLayout = (typeof BentoLayoutRowColumnLayoutOptions)[number];\n\nexport interface BentoLayoutProps {\n /** Defines if the layout is used in a page or only a section */\n variant?: BentoLayoutVariant;\n /** Defines the size of the page */\n size?: BentoLayoutSize;\n}\n\nexport interface BentoLayoutRowProps {\n /** Sets the layout of the columns when multiple columns are used */\n columnsLayout?: BentoLayoutRowColumnLayout;\n}\n","<template>\n <bento-typography el=\"div\" class=\"b-layout-row\" :class=\"conditionalRowClass\">\n <div v-if=\"hasSlot('default')\">\n <slot />\n </div>\n <div v-else-if=\"hasSlot('col-1') && hasSlot('col-2')\" ref=\"row\" :class=\"conditionalRowWithColumnsClass\">\n <div ref=\"col1\" :class=\"conditionalColumnClass.col1\">\n <slot name=\"col-1\"></slot>\n </div>\n <div ref=\"col2\" :class=\"conditionalColumnClass.col2\">\n <slot name=\"col-2\"></slot>\n </div>\n </div>\n </bento-typography>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, inject, nextTick, onMounted, ref, type Ref, useSlots, watch } from 'vue';\n import { BentoTypography } from '@/components/typography';\n import { useHasSlot } from '@/composables';\n import {\n BentoLayoutRowColumnLayoutOptions,\n type BentoLayoutRowProps,\n type BentoLayoutSize,\n } from '../../layout.types';\n import { useMediaQuery } from '@vueuse/core';\n\n import { LAYOUT_SIZE_INJECTION_KEY } from '@/components/layout/layout.keys';\n\n const props = withDefaults(defineProps<BentoLayoutRowProps>(), {\n columnsLayout: '6-6',\n });\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n const size = inject<Ref<BentoLayoutSize>>(LAYOUT_SIZE_INJECTION_KEY, ref('full-width'));\n\n const row = ref<HTMLElement>(null);\n const col1 = ref<HTMLElement>(null);\n const col2 = ref<HTMLElement>(null);\n\n const isFullWidth = computed(() => size.value === 'full-width');\n const isValidColumnLayout = computed(() => BentoLayoutRowColumnLayoutOptions.includes(props.columnsLayout));\n\n const conditionalRowClass = computed(() => `b-layout-row--${size.value}`);\n\n const conditionalRowWithColumnsClass = computed(() => ({\n 'b-layout-row__column-wrapper': isFullWidth.value,\n }));\n\n const conditionalColumnClass = computed(() => {\n const columns = isValidColumnLayout.value ? props.columnsLayout.split('-') : [6, 6];\n const getColumnModifier = index => (isFullWidth.value ? columns[index] : size.value);\n\n return {\n col1: `b-layout-row__column--${getColumnModifier(0)}`,\n col2: `b-layout-row__column--${getColumnModifier(1)}`,\n };\n });\n\n watch(\n useMediaQuery('(min-width: 768px)'),\n async isLargeScreen => {\n await nextTick();\n const areColumnsInTheRightOrder = row.value?.firstChild === col1.value;\n if (isLargeScreen && !areColumnsInTheRightOrder) {\n row.value?.prepend(col1.value);\n } else if (!isLargeScreen && (props.columnsLayout === '3-9' || props.columnsLayout === '4-8')) {\n row.value?.prepend(col2.value);\n }\n },\n { immediate: true }\n );\n\n onMounted(() => {\n if (!isFullWidth.value && (hasSlot('col-1') || hasSlot('col-2'))) {\n throw new Error(\n 'Column slots can only be used with the `full-width` size. Please check documentation for more info.'\n );\n }\n\n if (!isValidColumnLayout.value) {\n throw new Error(\n `${props.columnsLayout} is not a valid column layout. Please refer to the documentation for the list of available column layouts.`\n );\n }\n });\n</script>\n\n<script lang=\"ts\">\n /**\n * Page row is subcomponent of Layout meant to be used to generate the row layout.\n *\n * @example\n * import { BentoLayout, BentoLayoutRow } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoLayout, BentoLayoutRow },\n * template: `\n * <bento-layout>\n * <bento-layout-row columns-layout=\"3-9\">\n * <template #col-1>Narrow 3-9</template>\n * <template #col-2>Wide 3-9</template>\n * </bento-layout-row>\n * <bento-layout-row>\n * <template #col-1>6-6</template>\n * <template #col-2>6-6</template>\n * </bento-layout-row>\n * </bento-layout>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./layout-row.scss\" />\n"],"names":["LAYOUT_SIZE_INJECTION_KEY","__default__$1","props","__props","provide","toRef","conditionalClasses","computed","wrapperElement","BentoLayoutRowColumnLayoutOptions","__default__","slots","useSlots","hasSlot","useHasSlot","size","inject","ref","row","col1","col2","isFullWidth","isValidColumnLayout","conditionalRowClass","conditionalRowWithColumnsClass","conditionalColumnClass","columns","getColumnModifier","index","watch","useMediaQuery","isLargeScreen","nextTick","areColumnsInTheRightOrder","_a","_b","_c","onMounted"],"mappings":";;;;;;AAAO,MAAAA,IAAA,uBAAA,wBAAA,GC8CHC,IAAA,CAAA;;;;;;;;AAnCA,UAAAC,IAAAC;AAKA,IAAAC,EAAAJ,GAAAK,EAAAH,GAAA,MAAA,CAAA;AAEA,UAAAI,IAAAC,EAAA,OAAA;AAAA,MAA2C,uBAAAL,EAAA,YAAA;AAAA,IACE,EAAA,GAG7CM,IAAAN,EAAA,YAAA,SAAA,SAAA;;;;;;;;;;mECjBGO,IAAA,CAAA,OAAA,OAAA,OAAA,OAAA,KAAA,mBC2GHC,IAAA,CAAA;;;;;;;AAnFA,UAAAR,IAAAC,GAIAQ,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GACAI,IAAAC,EAAAhB,GAAAiB,EAAA,YAAA,CAAA,GAEAC,IAAAD,EAAA,IAAA,GACAE,IAAAF,EAAA,IAAA,GACAG,IAAAH,EAAA,IAAA,GAEAI,IAAAd,EAAA,MAAAQ,EAAA,UAAA,YAAA,GACAO,IAAAf,EAAA,MAAAE,EAAA,SAAAP,EAAA,aAAA,CAAA,GAEAqB,IAAAhB,EAAA,MAAA,iBAAAQ,EAAA,KAAA,EAAA,GAEAS,IAAAjB,EAAA,OAAA;AAAA,MAAuD,gCAAAc,EAAA;AAAA,IACP,EAAA,GAGhDI,IAAAlB,EAAA,MAAA;AACI,YAAAmB,IAAAJ,EAAA,QAAApB,EAAA,cAAA,MAAA,GAAA,IAAA,CAAA,GAAA,CAAA,GACAyB,IAAA,CAAAC,MAAAP,EAAA,QAAAK,EAAAE,CAAA,IAAAb,EAAA;AAEA,aAAA;AAAA,QAAO,MAAA,yBAAAY,EAAA,CAAA,CAAA;AAAA,QACgD,MAAA,yBAAAA,EAAA,CAAA,CAAA;AAAA,MACA;AAAA,IACvD,CAAA;AAGJ,WAAAE;AAAA,MAAAC,EAAA,oBAAA;AAAA,MACsC,OAAAC,MAAA;;AAE9B,cAAAC,EAAA;AACA,cAAAC,MAAAC,IAAAhB,EAAA,UAAA,gBAAAgB,EAAA,gBAAAf,EAAA;AACA,QAAAY,KAAA,CAAAE,KACIE,IAAAjB,EAAA,UAAA,QAAAiB,EAAA,QAAAhB,EAAA,SAA6B,CAAAY,MAAA7B,EAAA,kBAAA,SAAAA,EAAA,kBAAA,YAE7BkC,IAAAlB,EAAA,UAAA,QAAAkB,EAAA,QAAAhB,EAAA;AAAA,MACJ;AAAA,MACJ,EAAA,WAAA,GAAA;AAAA,IACkB,GAGtBiB,EAAA,MAAA;AACI,UAAA,CAAAhB,EAAA,UAAAR,EAAA,OAAA,KAAAA,EAAA,OAAA;AACI,cAAA,IAAA;AAAA,UAAU;AAAA,QACN;AAIR,UAAA,CAAAS,EAAA;AACI,cAAA,IAAA;AAAA,UAAU,GAAApB,EAAA,aAAA;AAAA,QACgB;AAAA,IAE9B,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"layout-row.Bz-mRqAq.js","sources":["../../../vue2/src/components/layout/layout.keys.ts","../../../vue2/src/components/layout/layout.vue","../../../vue2/src/components/layout/layout.types.ts","../../../vue2/src/components/layout/components/layout-row/layout-row.vue"],"sourcesContent":["export const LAYOUT_SIZE_INJECTION_KEY = Symbol('Layout size inject key');\n","<template>\n <component :is=\"wrapperElement\" class=\"b-layout\" :class=\"conditionalClasses\">\n <slot />\n </component>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, provide, toRef } from 'vue';\n import { type BentoLayoutProps } from './layout.types';\n import { LAYOUT_SIZE_INJECTION_KEY } from '@/components/layout/layout.keys';\n\n const props = withDefaults(defineProps<BentoLayoutProps>(), {\n size: 'full-width',\n variant: 'page',\n });\n\n provide(LAYOUT_SIZE_INJECTION_KEY, toRef(props, 'size'));\n\n const conditionalClasses = computed(() => ({\n 'b-layout--component': props.variant === 'component',\n }));\n\n const wrapperElement = props.variant === 'page' ? 'main' : 'div';\n</script>\n\n<script lang=\"ts\">\n /**\n * Layout is a basic scaffolding of a page that defines spacing, some functionality and responsive behavior of its top level sections.\n *\n * @example\n * import { BentoLayout, BentoLayoutRow } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoLayout, BentoLayoutRow },\n * template: `\n * <bento-layout size=\"narrow\">\n * <bento-layout-row>\n * Row 1\n * </bento-layout-row>\n * <bento-layout-row>\n * Row 2\n * </bento-layout-row>\n * </bento-layout>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./layout.scss\" />\n","/**\n * @private\n */\nexport const BentoLayoutVariantOptions = ['page', 'component'] as const;\nexport const BentoLayoutSizeOptions = ['full-width', 'narrow', 'half-width'] as const;\nexport const BentoLayoutRowColumnLayoutOptions = ['3-9', '9-3', '4-8', '8-4', '6-6'] as const;\n\n// Public\nexport type BentoLayoutVariant = (typeof BentoLayoutVariantOptions)[number];\nexport type BentoLayoutSize = (typeof BentoLayoutSizeOptions)[number];\nexport type BentoLayoutRowColumnLayout = (typeof BentoLayoutRowColumnLayoutOptions)[number];\n\nexport interface BentoLayoutProps {\n /** Defines if the layout is used in a page or only a section */\n variant?: BentoLayoutVariant;\n /** Defines the size of the page */\n size?: BentoLayoutSize;\n}\n\nexport interface BentoLayoutRowProps {\n /** Sets the layout of the columns when multiple columns are used */\n columnsLayout?: BentoLayoutRowColumnLayout;\n}\n","<template>\n <bento-typography el=\"div\" class=\"b-layout-row\" :class=\"conditionalRowClass\">\n <div v-if=\"hasSlot('default')\">\n <slot />\n </div>\n <div v-else-if=\"hasSlot('col-1') && hasSlot('col-2')\" ref=\"row\" :class=\"conditionalRowWithColumnsClass\">\n <div ref=\"col1\" :class=\"conditionalColumnClass.col1\">\n <slot name=\"col-1\"></slot>\n </div>\n <div ref=\"col2\" :class=\"conditionalColumnClass.col2\">\n <slot name=\"col-2\"></slot>\n </div>\n </div>\n </bento-typography>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, inject, nextTick, onMounted, ref, type Ref, useSlots, watch } from 'vue';\n import { BentoTypography } from '@/components/typography';\n import { useHasSlot } from '@/composables';\n import {\n BentoLayoutRowColumnLayoutOptions,\n type BentoLayoutRowProps,\n type BentoLayoutSize,\n } from '../../layout.types';\n import { useMediaQuery } from '@vueuse/core';\n\n import { LAYOUT_SIZE_INJECTION_KEY } from '@/components/layout/layout.keys';\n\n const props = withDefaults(defineProps<BentoLayoutRowProps>(), {\n columnsLayout: '6-6',\n });\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n const size = inject<Ref<BentoLayoutSize>>(LAYOUT_SIZE_INJECTION_KEY, ref('full-width'));\n\n const row = ref<HTMLElement>(null);\n const col1 = ref<HTMLElement>(null);\n const col2 = ref<HTMLElement>(null);\n\n const isFullWidth = computed(() => size.value === 'full-width');\n const isValidColumnLayout = computed(() => BentoLayoutRowColumnLayoutOptions.includes(props.columnsLayout));\n\n const conditionalRowClass = computed(() => `b-layout-row--${size.value}`);\n\n const conditionalRowWithColumnsClass = computed(() => ({\n 'b-layout-row__column-wrapper': isFullWidth.value,\n }));\n\n const conditionalColumnClass = computed(() => {\n const columns = isValidColumnLayout.value ? props.columnsLayout.split('-') : [6, 6];\n const getColumnModifier = index => (isFullWidth.value ? columns[index] : size.value);\n\n return {\n col1: `b-layout-row__column--${getColumnModifier(0)}`,\n col2: `b-layout-row__column--${getColumnModifier(1)}`,\n };\n });\n\n watch(\n useMediaQuery('(min-width: 768px)'),\n async isLargeScreen => {\n await nextTick();\n const areColumnsInTheRightOrder = row.value?.firstChild === col1.value;\n if (isLargeScreen && !areColumnsInTheRightOrder) {\n row.value?.prepend(col1.value);\n } else if (!isLargeScreen && (props.columnsLayout === '3-9' || props.columnsLayout === '4-8')) {\n row.value?.prepend(col2.value);\n }\n },\n { immediate: true }\n );\n\n onMounted(() => {\n if (!isFullWidth.value && (hasSlot('col-1') || hasSlot('col-2'))) {\n throw new Error(\n 'Column slots can only be used with the `full-width` size. Please check documentation for more info.'\n );\n }\n\n if (!isValidColumnLayout.value) {\n throw new Error(\n `${props.columnsLayout} is not a valid column layout. Please refer to the documentation for the list of available column layouts.`\n );\n }\n });\n</script>\n\n<script lang=\"ts\">\n /**\n * Page row is subcomponent of Layout meant to be used to generate the row layout.\n *\n * @example\n * import { BentoLayout, BentoLayoutRow } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoLayout, BentoLayoutRow },\n * template: `\n * <bento-layout>\n * <bento-layout-row columns-layout=\"3-9\">\n * <template #col-1>Narrow 3-9</template>\n * <template #col-2>Wide 3-9</template>\n * </bento-layout-row>\n * <bento-layout-row>\n * <template #col-1>6-6</template>\n * <template #col-2>6-6</template>\n * </bento-layout-row>\n * </bento-layout>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./layout-row.scss\" />\n"],"names":["LAYOUT_SIZE_INJECTION_KEY","__default__$1","props","__props","provide","toRef","conditionalClasses","computed","wrapperElement","BentoLayoutRowColumnLayoutOptions","__default__","slots","useSlots","hasSlot","useHasSlot","size","inject","ref","row","col1","col2","isFullWidth","isValidColumnLayout","conditionalRowClass","conditionalRowWithColumnsClass","conditionalColumnClass","columns","getColumnModifier","index","watch","useMediaQuery","isLargeScreen","nextTick","areColumnsInTheRightOrder","_a","_b","_c","onMounted"],"mappings":";;;;;;AAAO,MAAAA,IAAA,uBAAA,wBAAA,GC8CHC,IAAA,CAAA;;;;;;;;AAnCA,UAAAC,IAAAC;AAKA,IAAAC,EAAAJ,GAAAK,EAAAH,GAAA,MAAA,CAAA;AAEA,UAAAI,IAAAC,EAAA,OAAA;AAAA,MAA2C,uBAAAL,EAAA,YAAA;AAAA,IACE,EAAA,GAG7CM,IAAAN,EAAA,YAAA,SAAA,SAAA;;;;;;;;;;mECjBGO,IAAA,CAAA,OAAA,OAAA,OAAA,OAAA,KAAA,mBC2GHC,IAAA,CAAA;;;;;;;AAnFA,UAAAR,IAAAC,GAIAQ,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GACAI,IAAAC,EAAAhB,GAAAiB,EAAA,YAAA,CAAA,GAEAC,IAAAD,EAAA,IAAA,GACAE,IAAAF,EAAA,IAAA,GACAG,IAAAH,EAAA,IAAA,GAEAI,IAAAd,EAAA,MAAAQ,EAAA,UAAA,YAAA,GACAO,IAAAf,EAAA,MAAAE,EAAA,SAAAP,EAAA,aAAA,CAAA,GAEAqB,IAAAhB,EAAA,MAAA,iBAAAQ,EAAA,KAAA,EAAA,GAEAS,IAAAjB,EAAA,OAAA;AAAA,MAAuD,gCAAAc,EAAA;AAAA,IACP,EAAA,GAGhDI,IAAAlB,EAAA,MAAA;AACI,YAAAmB,IAAAJ,EAAA,QAAApB,EAAA,cAAA,MAAA,GAAA,IAAA,CAAA,GAAA,CAAA,GACAyB,IAAA,CAAAC,MAAAP,EAAA,QAAAK,EAAAE,CAAA,IAAAb,EAAA;AAEA,aAAA;AAAA,QAAO,MAAA,yBAAAY,EAAA,CAAA,CAAA;AAAA,QACgD,MAAA,yBAAAA,EAAA,CAAA,CAAA;AAAA,MACA;AAAA,IACvD,CAAA;AAGJ,WAAAE;AAAA,MAAAC,EAAA,oBAAA;AAAA,MACsC,OAAAC,MAAA;;AAE9B,cAAAC,EAAA;AACA,cAAAC,MAAAC,IAAAhB,EAAA,UAAA,gBAAAgB,EAAA,gBAAAf,EAAA;AACA,QAAAY,KAAA,CAAAE,KACIE,IAAAjB,EAAA,UAAA,QAAAiB,EAAA,QAAAhB,EAAA,SAA6B,CAAAY,MAAA7B,EAAA,kBAAA,SAAAA,EAAA,kBAAA,YAE7BkC,IAAAlB,EAAA,UAAA,QAAAkB,EAAA,QAAAhB,EAAA;AAAA,MACJ;AAAA,MACJ,EAAA,WAAA,GAAA;AAAA,IACkB,GAGtBiB,EAAA,MAAA;AACI,UAAA,CAAAhB,EAAA,UAAAR,EAAA,OAAA,KAAAA,EAAA,OAAA;AACI,cAAA,IAAA;AAAA,UAAU;AAAA,QACN;AAIR,UAAA,CAAAS,EAAA;AACI,cAAA,IAAA;AAAA,UAAU,GAAApB,EAAA,aAAA;AAAA,QACgB;AAAA,IAE9B,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,5 +1,5 @@
1
- import { createElementBlock as l, openBlock as a, mergeProps as y, createCommentVNode as _, createElementVNode as E, toDisplayString as w, defineComponent as C, computed as p, createBlock as c, renderSlot as s, unref as r, withCtx as g, createVNode as L } from "vue";
2
- import { B as h } from "./typography.6Oo5TOMP.js";
1
+ import { openBlock as a, createElementBlock as l, mergeProps as y, toDisplayString as E, createCommentVNode as _, createElementVNode as w, defineComponent as C, computed as p, createBlock as c, unref as s, withCtx as g, renderSlot as r, createVNode as L } from "vue";
2
+ import { B as h } from "./typography.B3J6_tYk.js";
3
3
  import { RouterLink as N } from "vue-router";
4
4
  /* empty css */
5
5
  import { _ as $ } from "./_plugin-vue_export-helper.CHgC5LLL.js";
@@ -19,8 +19,8 @@ function R(o, n, e, f, m, u) {
19
19
  height: "16",
20
20
  fill: "none"
21
21
  }), [
22
- o.$attrs["svg-title"] ? (a(), l("title", V, w(o.$attrs["svg-title"]), 1)) : _("", !0),
23
- n[0] || (n[0] = E("path", {
22
+ o.$attrs["svg-title"] ? (a(), l("title", V, E(o.$attrs["svg-title"]), 1)) : _("", !0),
23
+ n[0] || (n[0] = w("path", {
24
24
  fill: "#001222",
25
25
  d: "M2.93933 11.9999L10.1893 4.74989H5.24999V3.24989H12.75V10.7499H11.25V5.81055L3.99999 13.0605L2.93933 11.9999Z"
26
26
  }, null, -1))
@@ -70,35 +70,35 @@ const U = /* @__PURE__ */ $(I, [["render", R]]), S = ["href", "target"], A = {
70
70
  class: u.value,
71
71
  onClick: v
72
72
  }), [
73
- t.disableTypography ? s(t.$slots, "default", { key: 1 }, void 0, !0) : (a(), c(r(h), {
73
+ t.disableTypography ? r(t.$slots, "default", { key: 1 }, void 0, !0) : (a(), c(s(h), {
74
74
  key: 0,
75
75
  class: "b-link__text",
76
76
  el: "span",
77
77
  variant: "body"
78
78
  }, {
79
79
  default: g(() => [
80
- s(t.$slots, "default", {}, void 0, !0)
80
+ r(t.$slots, "default", {}, void 0, !0)
81
81
  ]),
82
82
  _: 3
83
83
  })),
84
84
  T.value ? (a(), l("span", A, [
85
- L(r(U), { "aria-hidden": "true" })
85
+ L(s(U), { "aria-hidden": "true" })
86
86
  ])) : _("", !0)
87
- ], 16, S)) : (a(), c(r(N), y({ key: 1 }, { ...e, ...t.$attrs, ...f }, {
87
+ ], 16, S)) : (a(), c(s(N), y({ key: 1 }, { ...e, ...t.$attrs, ...f }, {
88
88
  to: e.to,
89
89
  class: u.value,
90
90
  target: t.target,
91
91
  onClick: v
92
92
  }), {
93
93
  default: g(() => [
94
- t.disableTypography ? s(t.$slots, "default", { key: 1 }, void 0, !0) : (a(), c(r(h), {
94
+ t.disableTypography ? r(t.$slots, "default", { key: 1 }, void 0, !0) : (a(), c(s(h), {
95
95
  key: 0,
96
96
  class: "b-link__text",
97
97
  el: "span",
98
98
  variant: "body"
99
99
  }, {
100
100
  default: g(() => [
101
- s(t.$slots, "default", {}, void 0, !0)
101
+ r(t.$slots, "default", {}, void 0, !0)
102
102
  ]),
103
103
  _: 3
104
104
  }))
@@ -113,4 +113,4 @@ export {
113
113
  U as E,
114
114
  i as a
115
115
  };
116
- //# sourceMappingURL=link.BLCQlEZU.js.map
116
+ //# sourceMappingURL=link.DTCn2EtX.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"link.BLCQlEZU.js","sources":["../../../core/src/components/link/link.types.ts","../../../ui-assets/icons-16/dist/vue/external-link.vue","../../src/components/link/link.vue"],"sourcesContent":["/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoLinkVariant {\n DEFAULT = 'default',\n QUIET = 'quiet',\n}\n\nexport interface LinkProps {\n /**\n * Disable the default typography for the component. Only use this when the component is inside another typography component.\n */\n disableTypography?: boolean;\n\n /**\n * Set the rendered link to a regular external anchor link and renders an external link icon.\n */\n external?: boolean;\n\n /**\n * Set to true if used inside a `BentoButton` component.\n */\n isButton?: boolean;\n\n /**\n * Set the rendered link to a regular external anchor link.\n */\n isNotRouting?: boolean;\n\n /**\n * Sets the target of the rendered link.\n */\n target?: string;\n\n /**\n * Set to true to truncate link. Doesn't work with disableTypography.\n */\n truncate?: boolean;\n\n /**\n * Link variant type affecting visual style.\n * @values default, quiet\n */\n variant?: BentoLinkVariant | `${BentoLinkVariant}`;\n}\n","\n<template>\n <svg role=\"img\" v-bind=\"$attrs\" class=\"ui-assets-icons-16\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\"><title v-if=\"$attrs['svg-title']\">{{ $attrs['svg-title'] }}</title><path fill=\"#001222\" d=\"M2.93933 11.9999L10.1893 4.74989H5.24999V3.24989H12.75V10.7499H11.25V5.81055L3.99999 13.0605L2.93933 11.9999Z\"/></svg>\n</template>\n<script>\n import '../css/main.css';\n\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n","<template>\n <a\n v-if=\"external || isNotRouting\"\n v-bind=\"$attrs\"\n :href=\"to?.toString()\"\n :target=\"computedTarget\"\n :class=\"conditionalClasses\"\n @click=\"onClick\"\n >\n <bento-typography v-if=\"!disableTypography\" class=\"b-link__text\" el=\"span\" variant=\"body\">\n <slot />\n </bento-typography>\n <slot v-else />\n <span v-if=\"showExternalLinkIcon\" class=\"b-link__external-link-icon\">\n <external-link-icon aria-hidden=\"true\" />\n </span>\n </a>\n <router-link\n v-else\n v-bind=\"{ ...props, ...$attrs, ...nonForwardedProps }\"\n :to=\"props.to\"\n :class=\"conditionalClasses\"\n :target=\"target\"\n @click=\"onClick\"\n >\n <bento-typography v-if=\"!disableTypography\" class=\"b-link__text\" el=\"span\" variant=\"body\">\n <slot />\n </bento-typography>\n <slot v-else />\n </router-link>\n</template>\n\n<script setup lang=\"ts\">\n import { BentoLinkVariant } from '@/core/components/link/link.types';\n import { BentoTypography } from '@/components/typography';\n import { computed } from 'vue';\n import { RouterLink } from 'vue-router';\n import type { BentoLinkProps } from './link.types';\n\n import ExternalLinkIcon from '@adyen/ui-assets-icons-16/vue/external-link';\n\n const props = withDefaults(defineProps<BentoLinkProps>(), {\n target: null,\n variant: BentoLinkVariant.DEFAULT,\n });\n\n // Props that should not be forwarded to the underlying anchor element\n const nonForwardedProps = {\n variant: undefined,\n isButton: undefined,\n truncate: undefined,\n disableTypography: undefined,\n external: undefined,\n isNotRouting: undefined,\n };\n\n const emit = defineEmits(['click']);\n const conditionalClasses = computed(() => ({\n 'b-link': !props.isButton,\n [`b-link--${BentoLinkVariant.QUIET}`]: props.variant === BentoLinkVariant.QUIET,\n [`b-link--truncate`]: props.truncate,\n }));\n const computedTarget = computed(() => (props.external ? (props.target ?? '_blank') : props.target));\n const showExternalLinkIcon = computed(() => !(props.isButton || props.isNotRouting));\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const onClick = (e: MouseEvent, navigateCallback?: any) => {\n emit('click', e);\n if (navigateCallback) {\n navigateCallback();\n }\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"@/core/components/link/link.scss\" />\n"],"names":["BentoLinkVariant","BentoLinkVariant2","uuid","openBlock","createElementBlock","mergeProps","_ctx","createCommentVNode","props","__props","nonForwardedProps","emit","__emit","conditionalClasses","computed","computedTarget","showExternalLinkIcon","onClick","e","navigateCallback"],"mappings":";;;;;;AAGO,IAAAA,IAAA,kBAAAC,OACHA,EAAA,UAAA,WACAA,EAAA,QAAA,SAFQA,IAAAD,KAAA,CAAA,CAAA;ACIR,IAAAE,IAAA;;EAGI,eAAA;8BAEIA,KAAA;AAAA;;;AAVR,SAAAC,EAAA,GAAAC,EAAA,OAAAC,EAAA,EAAA,MAAA,MAAA,GAAAC,EAAA,QAAA;AAAA,IAAgC,OAAA;AAAA,IAA2B,OAAA;AAAA,IAAmC,OAAA;AAAA,IAAW,QAAA;AAAA,IAAY,MAAA;AAAA;gFAFzHC,EAAA,IAAA,EAAA;AAAA;MAE8M,MAAA;AAAA,MAAe,GAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;ACuCzN,UAAAC,IAAAC,GAMAC,IAAA;AAAA,MAA0B,SAAA;AAAA,MACb,UAAA;AAAA,MACC,UAAA;AAAA,MACA,mBAAA;AAAA,MACS,UAAA;AAAA,MACT,cAAA;AAAA,IACI,GAGlBC,IAAAC,GACAC,IAAAC,EAAA,OAAA;AAAA,MAA2C,UAAA,CAAAN,EAAA;AAAA,MACtB,CAAA,WAAAR,EAAA,KAAA,EAAA,GAAAQ,EAAA,YAAAR,EAAA;AAAA,MACyD,oBAAAQ,EAAA;AAAA,IAC9C,EAAA,GAEhCO,IAAAD,EAAA,MAAAN,EAAA,WAAAA,EAAA,UAAA,WAAAA,EAAA,MAAA,GACAQ,IAAAF,EAAA,MAAA,EAAAN,EAAA,YAAAA,EAAA,aAAA,GAGAS,IAAA,CAAAC,GAAAC,MAAA;AACI,MAAAR,EAAA,SAAAO,CAAA,GACAC,KACIA,EAAA;AAAA,IACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"link.DTCn2EtX.js","sources":["../../../core/src/components/link/link.types.ts","../../../ui-assets/icons-16/dist/vue/external-link.vue","../../src/components/link/link.vue"],"sourcesContent":["/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoLinkVariant {\n DEFAULT = 'default',\n QUIET = 'quiet',\n}\n\nexport interface LinkProps {\n /**\n * Disable the default typography for the component. Only use this when the component is inside another typography component.\n */\n disableTypography?: boolean;\n\n /**\n * Set the rendered link to a regular external anchor link and renders an external link icon.\n */\n external?: boolean;\n\n /**\n * Set to true if used inside a `BentoButton` component.\n */\n isButton?: boolean;\n\n /**\n * Set the rendered link to a regular external anchor link.\n */\n isNotRouting?: boolean;\n\n /**\n * Sets the target of the rendered link.\n */\n target?: string;\n\n /**\n * Set to true to truncate link. Doesn't work with disableTypography.\n */\n truncate?: boolean;\n\n /**\n * Link variant type affecting visual style.\n * @values default, quiet\n */\n variant?: BentoLinkVariant | `${BentoLinkVariant}`;\n}\n","\n<template>\n <svg role=\"img\" v-bind=\"$attrs\" class=\"ui-assets-icons-16\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\"><title v-if=\"$attrs['svg-title']\">{{ $attrs['svg-title'] }}</title><path fill=\"#001222\" d=\"M2.93933 11.9999L10.1893 4.74989H5.24999V3.24989H12.75V10.7499H11.25V5.81055L3.99999 13.0605L2.93933 11.9999Z\"/></svg>\n</template>\n<script>\n import '../css/main.css';\n\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n","<template>\n <a\n v-if=\"external || isNotRouting\"\n v-bind=\"$attrs\"\n :href=\"to?.toString()\"\n :target=\"computedTarget\"\n :class=\"conditionalClasses\"\n @click=\"onClick\"\n >\n <bento-typography v-if=\"!disableTypography\" class=\"b-link__text\" el=\"span\" variant=\"body\">\n <slot />\n </bento-typography>\n <slot v-else />\n <span v-if=\"showExternalLinkIcon\" class=\"b-link__external-link-icon\">\n <external-link-icon aria-hidden=\"true\" />\n </span>\n </a>\n <router-link\n v-else\n v-bind=\"{ ...props, ...$attrs, ...nonForwardedProps }\"\n :to=\"props.to\"\n :class=\"conditionalClasses\"\n :target=\"target\"\n @click=\"onClick\"\n >\n <bento-typography v-if=\"!disableTypography\" class=\"b-link__text\" el=\"span\" variant=\"body\">\n <slot />\n </bento-typography>\n <slot v-else />\n </router-link>\n</template>\n\n<script setup lang=\"ts\">\n import { BentoLinkVariant } from '@/core/components/link/link.types';\n import { BentoTypography } from '@/components/typography';\n import { computed } from 'vue';\n import { RouterLink } from 'vue-router';\n import type { BentoLinkProps } from './link.types';\n\n import ExternalLinkIcon from '@adyen/ui-assets-icons-16/vue/external-link';\n\n const props = withDefaults(defineProps<BentoLinkProps>(), {\n target: null,\n variant: BentoLinkVariant.DEFAULT,\n });\n\n // Props that should not be forwarded to the underlying anchor element\n const nonForwardedProps = {\n variant: undefined,\n isButton: undefined,\n truncate: undefined,\n disableTypography: undefined,\n external: undefined,\n isNotRouting: undefined,\n };\n\n const emit = defineEmits(['click']);\n const conditionalClasses = computed(() => ({\n 'b-link': !props.isButton,\n [`b-link--${BentoLinkVariant.QUIET}`]: props.variant === BentoLinkVariant.QUIET,\n [`b-link--truncate`]: props.truncate,\n }));\n const computedTarget = computed(() => (props.external ? (props.target ?? '_blank') : props.target));\n const showExternalLinkIcon = computed(() => !(props.isButton || props.isNotRouting));\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const onClick = (e: MouseEvent, navigateCallback?: any) => {\n emit('click', e);\n if (navigateCallback) {\n navigateCallback();\n }\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"@/core/components/link/link.scss\" />\n"],"names":["BentoLinkVariant","BentoLinkVariant2","uuid","openBlock","createElementBlock","mergeProps","_ctx","createCommentVNode","props","__props","nonForwardedProps","emit","__emit","conditionalClasses","computed","computedTarget","showExternalLinkIcon","onClick","e","navigateCallback"],"mappings":";;;;;;AAGO,IAAAA,IAAA,kBAAAC,OACHA,EAAA,UAAA,WACAA,EAAA,QAAA,SAFQA,IAAAD,KAAA,CAAA,CAAA;ACIR,IAAAE,IAAA;;EAGI,eAAA;8BAEIA,KAAA;AAAA;;;AAVR,SAAAC,EAAA,GAAAC,EAAA,OAAAC,EAAA,EAAA,MAAA,MAAA,GAAAC,EAAA,QAAA;AAAA,IAAgC,OAAA;AAAA,IAA2B,OAAA;AAAA,IAAmC,OAAA;AAAA,IAAW,QAAA;AAAA,IAAY,MAAA;AAAA;gFAFzHC,EAAA,IAAA,EAAA;AAAA;MAE8M,MAAA;AAAA,MAAe,GAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;ACuCzN,UAAAC,IAAAC,GAMAC,IAAA;AAAA,MAA0B,SAAA;AAAA,MACb,UAAA;AAAA,MACC,UAAA;AAAA,MACA,mBAAA;AAAA,MACS,UAAA;AAAA,MACT,cAAA;AAAA,IACI,GAGlBC,IAAAC,GACAC,IAAAC,EAAA,OAAA;AAAA,MAA2C,UAAA,CAAAN,EAAA;AAAA,MACtB,CAAA,WAAAR,EAAA,KAAA,EAAA,GAAAQ,EAAA,YAAAR,EAAA;AAAA,MACyD,oBAAAQ,EAAA;AAAA,IAC9C,EAAA,GAEhCO,IAAAD,EAAA,MAAAN,EAAA,WAAAA,EAAA,UAAA,WAAAA,EAAA,MAAA,GACAQ,IAAAF,EAAA,MAAA,EAAAN,EAAA,YAAAA,EAAA,aAAA,GAGAS,IAAA,CAAAC,GAAAC,MAAA;AACI,MAAAR,EAAA,SAAAO,CAAA,GACAC,KACIA,EAAA;AAAA,IACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,6 +1,6 @@
1
- import { defineComponent as r, computed as i, resolveComponent as t, createElementBlock as s, openBlock as e, createElementVNode as l, createBlock as c, createCommentVNode as m, createVNode as _, withCtx as b, createTextVNode as d, toDisplayString as g } from "vue";
2
- import { B as f } from "./tag.CNN_D55j.js";
3
- import { B as u } from "./typography.6Oo5TOMP.js";
1
+ import { defineComponent as r, computed as i, resolveComponent as t, openBlock as e, createElementBlock as s, createElementVNode as l, createVNode as c, createBlock as m, withCtx as _, createTextVNode as b, toDisplayString as d, createCommentVNode as g } from "vue";
2
+ import { B as f } from "./tag.Dr7MKe9q.js";
3
+ import { B as u } from "./typography.B3J6_tYk.js";
4
4
  import { _ as h } from "./_plugin-vue_export-helper.CHgC5LLL.js";
5
5
  import "../assets/listbox-option-tag.css";
6
6
  const y = r({
@@ -32,26 +32,26 @@ function x(o, n, k, C, N, T) {
32
32
  l("span", {
33
33
  "aria-hidden": !!o.option.label
34
34
  }, [
35
- _(a, {
35
+ c(a, {
36
36
  class: "b-listbox-tag-option__tag",
37
37
  label: o.option.value.toString(),
38
38
  variant: o.variant
39
39
  }, null, 8, ["label", "variant"])
40
40
  ], 8, B),
41
- o.option.label ? (e(), c(p, {
41
+ o.option.label ? (e(), m(p, {
42
42
  key: 0,
43
43
  el: "span",
44
44
  class: "b-listbox-tag-option__label"
45
45
  }, {
46
- default: b(() => [
47
- d(g(o.option.label), 1)
46
+ default: _(() => [
47
+ b(d(o.option.label), 1)
48
48
  ]),
49
49
  _: 1
50
- })) : m("", !0)
50
+ })) : g("", !0)
51
51
  ]);
52
52
  }
53
53
  const O = /* @__PURE__ */ h(y, [["render", x], ["__scopeId", "data-v-f55ef3b1"]]);
54
54
  export {
55
55
  O as L
56
56
  };
57
- //# sourceMappingURL=listbox-option-tag.BHQiD5oC.js.map
57
+ //# sourceMappingURL=listbox-option-tag.C3ihNg6_.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"listbox-option-tag.BHQiD5oC.js","sources":["../../../vue2/src/components/internal/listbox/components/listbox-option-tag/listbox-option-tag.vue"],"sourcesContent":["<template>\n <span class=\"b-listbox-tag-option\">\n <span :aria-hidden=\"!!option.label\">\n <bento-tag class=\"b-listbox-tag-option__tag\" :label=\"option.value.toString()\" :variant=\"variant\" />\n </span>\n <bento-typography v-if=\"option.label\" el=\"span\" class=\"b-listbox-tag-option__label\">\n {{ option.label }}\n </bento-typography>\n </span>\n</template>\n<script lang=\"ts\">\n import { computed, defineComponent, type PropType } from 'vue';\n import type { BentoListboxOptionItem } from '@/types/listbox';\n import { BentoTag, type BentoTagVariant } from '@/components/tag';\n import { BentoTypography } from '@/components/typography';\n\n /**\n * A Tag Dropdown option item used in the Dropdown and Filter components.\n */\n export default defineComponent({\n name: 'listbox-tag-option',\n components: {\n BentoTag,\n BentoTypography,\n },\n props: {\n /**\n * The option item that contains all the option item's data.\n * @type {BentoListboxOptionItem}\n */\n option: {\n type: Object as PropType<BentoListboxOptionItem>,\n required: true,\n },\n },\n setup(props) {\n const variant = computed(() => props.option.data as BentoTagVariant);\n\n return {\n // Values\n variant,\n };\n },\n });\n</script>\n<style lang=\"scss\" scoped src=\"./listbox-option-tag.scss\" />\n"],"names":["_sfc_main","defineComponent","BentoTag","BentoTypography","props","computed","openBlock","createElementBlock","_hoisted_1","createElementVNode","_ctx","_hoisted_2","createTextVNode","toDisplayString","createCommentVNode"],"mappings":";;;;;AAmBI,MAAAA,IAAAC,EAAA;AAAA,EAA+B,MAAA;AAAA,EACrB,YAAA;AAAA,IACM,UAAAC;AAAA,IACR,iBAAAC;AAAA,EACA;AAAA,EACJ,OAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IACO,QAAA;AAAA,MAKK,MAAA;AAAA,MACE,UAAA;AAAA,IACI;AAAA,EACd;AAAA,EACJ,MAAAC,GAAA;AAII,WAAA;AAAA;AAAA,MAAO,SAFPC,EAAA,MAAAD,EAAA,OAAA,IAAA;AAAA,IAII;AAAA,EACJ;AAER,CAAA;;;AAzCW,SAAAE,EAAA,GAAAC,EAAA,QAAAC,GAAA;AAAA,IAA2BC,EAAA,QAAA;AAAA;IACqE,GAAA;AAAA;QAAzB,OAAA;AAAA,QAAY,OAAAC,EAAA,OAAA,MAAA,SAAA;AAAA,QAHlG,SAAAA,EAAA;AAAA,MAAA,GAAA,MAAA,GAAA,CAAA,SAAA,SAAA,CAAA;AAAA,IAK4C,GAAA,GAAAC,CAAA;AAAA;MAAW,KAAA;AAAA,MAAM,IAAA;AAAA,MAL7D,OAAA;AAAA,IAAA,GAAA;AAAA;QAAAC,EAAAC,EAAAH,EAAA,OAAA,KAAA,GAAA,CAAA;AAAA,MAAA,CAAA;AAAA,MAAA,GAAA;AAAA,IAAA,CAAA,KAAAI,EAAA,IAAA,EAAA;AAAA;;;"}
1
+ {"version":3,"file":"listbox-option-tag.C3ihNg6_.js","sources":["../../../vue2/src/components/internal/listbox/components/listbox-option-tag/listbox-option-tag.vue"],"sourcesContent":["<template>\n <span class=\"b-listbox-tag-option\">\n <span :aria-hidden=\"!!option.label\">\n <bento-tag class=\"b-listbox-tag-option__tag\" :label=\"option.value.toString()\" :variant=\"variant\" />\n </span>\n <bento-typography v-if=\"option.label\" el=\"span\" class=\"b-listbox-tag-option__label\">\n {{ option.label }}\n </bento-typography>\n </span>\n</template>\n<script lang=\"ts\">\n import { computed, defineComponent, type PropType } from 'vue';\n import type { BentoListboxOptionItem } from '@/types/listbox';\n import { BentoTag, type BentoTagVariant } from '@/components/tag';\n import { BentoTypography } from '@/components/typography';\n\n /**\n * A Tag Dropdown option item used in the Dropdown and Filter components.\n */\n export default defineComponent({\n name: 'listbox-tag-option',\n components: {\n BentoTag,\n BentoTypography,\n },\n props: {\n /**\n * The option item that contains all the option item's data.\n * @type {BentoListboxOptionItem}\n */\n option: {\n type: Object as PropType<BentoListboxOptionItem>,\n required: true,\n },\n },\n setup(props) {\n const variant = computed(() => props.option.data as BentoTagVariant);\n\n return {\n // Values\n variant,\n };\n },\n });\n</script>\n<style lang=\"scss\" scoped src=\"./listbox-option-tag.scss\" />\n"],"names":["_sfc_main","defineComponent","BentoTag","BentoTypography","props","computed","openBlock","createElementBlock","_hoisted_1","createElementVNode","_ctx","_hoisted_2","createTextVNode","toDisplayString","createCommentVNode"],"mappings":";;;;;AAmBI,MAAAA,IAAAC,EAAA;AAAA,EAA+B,MAAA;AAAA,EACrB,YAAA;AAAA,IACM,UAAAC;AAAA,IACR,iBAAAC;AAAA,EACA;AAAA,EACJ,OAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IACO,QAAA;AAAA,MAKK,MAAA;AAAA,MACE,UAAA;AAAA,IACI;AAAA,EACd;AAAA,EACJ,MAAAC,GAAA;AAII,WAAA;AAAA;AAAA,MAAO,SAFPC,EAAA,MAAAD,EAAA,OAAA,IAAA;AAAA,IAII;AAAA,EACJ;AAER,CAAA;;;AAzCW,SAAAE,EAAA,GAAAC,EAAA,QAAAC,GAAA;AAAA,IAA2BC,EAAA,QAAA;AAAA;IACqE,GAAA;AAAA;QAAzB,OAAA;AAAA,QAAY,OAAAC,EAAA,OAAA,MAAA,SAAA;AAAA,QAHlG,SAAAA,EAAA;AAAA,MAAA,GAAA,MAAA,GAAA,CAAA,SAAA,SAAA,CAAA;AAAA,IAK4C,GAAA,GAAAC,CAAA;AAAA;MAAW,KAAA;AAAA,MAAM,IAAA;AAAA,MAL7D,OAAA;AAAA,IAAA,GAAA;AAAA;QAAAC,EAAAC,EAAAH,EAAA,OAAA,KAAA,GAAA,CAAA;AAAA,MAAA,CAAA;AAAA,MAAA,GAAA;AAAA,IAAA,CAAA,KAAAI,EAAA,IAAA,EAAA;AAAA;;;"}
@@ -1,4 +1,4 @@
1
- import { defineComponent as i, onMounted as r, onUnmounted as s, computed as d, createElementBlock as c, openBlock as m, normalizeClass as p } from "vue";
1
+ import { defineComponent as i, onMounted as r, onUnmounted as s, computed as d, openBlock as c, createElementBlock as m, normalizeClass as p } from "vue";
2
2
  import { _ as u } from "./_plugin-vue_export-helper.CHgC5LLL.js";
3
3
  import "../assets/loading-indicator.css";
4
4
  var o = /* @__PURE__ */ ((a) => (a.START = "loading-start", a.END = "loading-end", a))(o || {});
@@ -19,7 +19,7 @@ const f = {
19
19
  "b-loading-indicator--small": e.small,
20
20
  "b-loading-indicator--large": e.large
21
21
  }));
22
- return (g, b) => (m(), c("div", {
22
+ return (g, b) => (c(), m("div", {
23
23
  class: p(["b-loading-indicator", l.value]),
24
24
  "aria-hidden": "true",
25
25
  "data-testid": "loading-indicator"
@@ -30,4 +30,4 @@ export {
30
30
  T as B,
31
31
  o as a
32
32
  };
33
- //# sourceMappingURL=loading-indicator.Db794TT5.js.map
33
+ //# sourceMappingURL=loading-indicator.BPol9I84.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"loading-indicator.Db794TT5.js","sources":["../../../vue2/src/components/loading-indicator/loading-indicator.types.ts","../../../vue2/src/components/loading-indicator/loading-indicator.vue"],"sourcesContent":["export enum BentoLoadingIndicatorEvent {\n START = 'loading-start',\n END = 'loading-end',\n}\n\nexport interface BentoLoadingIndicatorProps {\n /**\n * Displays the loading indicator in a small size\n */\n small?: boolean;\n /**\n * Displays the loading indicator in a large size\n */\n large?: boolean;\n /**\n * Displays the loading indicator in a white variant\n */\n inverse?: boolean;\n}\n","<template>\n <div class=\"b-loading-indicator\" :class=\"conditionalClasses\" aria-hidden=\"true\" data-testid=\"loading-indicator\" />\n</template>\n\n<script setup lang=\"ts\">\n import { computed, onMounted, onUnmounted } from 'vue';\n import { BentoLoadingIndicatorEvent, type BentoLoadingIndicatorProps } from './loading-indicator.types';\n\n const props = withDefaults(defineProps<BentoLoadingIndicatorProps>(), {\n small: false,\n large: false,\n inverse: false,\n });\n\n const emit = defineEmits<{\n (e: BentoLoadingIndicatorEvent.START): void;\n (e: BentoLoadingIndicatorEvent.END): void;\n }>();\n\n onMounted(() => emit(BentoLoadingIndicatorEvent.START));\n\n onUnmounted(() => emit(BentoLoadingIndicatorEvent.END));\n\n const conditionalClasses = computed(() => ({\n 'b-loading-indicator--inverse': props.inverse,\n 'b-loading-indicator--small': props.small,\n 'b-loading-indicator--large': props.large,\n }));\n</script>\n\n<script lang=\"ts\">\n /**\n * A loading indicator component that displays a spinning animation.\n *\n * @usage\n * import { BentoLoadingIndicator } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoLoadingIndicator },\n * template: `\n * <bento-loading-indicator :small=\"true\" />\n * `\n * };\n */\n export default {\n name: 'bento-loading-indicator',\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./loading-indicator.scss\" />\n"],"names":["BentoLoadingIndicatorEvent","BentoLoadingIndicatorEvent2","__default__","props","__props","emit","__emit","onMounted","onUnmounted","conditionalClasses","computed"],"mappings":";;;AAAO,IAAAA,IAAA,kBAAAC,OACHA,EAAA,QAAA,iBACAA,EAAA,MAAA,eAFQA,IAAAD,KAAA,CAAA,CAAA;AC4CR,MAAAE,IAAA;AAAA,EAAe,MAAA;AAEf;;;;;;;;AAtCA,UAAAC,IAAAC,GAMAC,IAAAC;AAKA,IAAAC,EAAA,MAAAF,EAAAL,EAAA,KAAA,CAAA,GAEAQ,EAAA,MAAAH,EAAAL,EAAA,GAAA,CAAA;AAEA,UAAAS,IAAAC,EAAA,OAAA;AAAA,MAA2C,gCAAAP,EAAA;AAAA,MACD,8BAAAA,EAAA;AAAA,MACF,8BAAAA,EAAA;AAAA,IACA,EAAA;;;;;;;;"}
1
+ {"version":3,"file":"loading-indicator.BPol9I84.js","sources":["../../../vue2/src/components/loading-indicator/loading-indicator.types.ts","../../../vue2/src/components/loading-indicator/loading-indicator.vue"],"sourcesContent":["export enum BentoLoadingIndicatorEvent {\n START = 'loading-start',\n END = 'loading-end',\n}\n\nexport interface BentoLoadingIndicatorProps {\n /**\n * Displays the loading indicator in a small size\n */\n small?: boolean;\n /**\n * Displays the loading indicator in a large size\n */\n large?: boolean;\n /**\n * Displays the loading indicator in a white variant\n */\n inverse?: boolean;\n}\n","<template>\n <div class=\"b-loading-indicator\" :class=\"conditionalClasses\" aria-hidden=\"true\" data-testid=\"loading-indicator\" />\n</template>\n\n<script setup lang=\"ts\">\n import { computed, onMounted, onUnmounted } from 'vue';\n import { BentoLoadingIndicatorEvent, type BentoLoadingIndicatorProps } from './loading-indicator.types';\n\n const props = withDefaults(defineProps<BentoLoadingIndicatorProps>(), {\n small: false,\n large: false,\n inverse: false,\n });\n\n const emit = defineEmits<{\n (e: BentoLoadingIndicatorEvent.START): void;\n (e: BentoLoadingIndicatorEvent.END): void;\n }>();\n\n onMounted(() => emit(BentoLoadingIndicatorEvent.START));\n\n onUnmounted(() => emit(BentoLoadingIndicatorEvent.END));\n\n const conditionalClasses = computed(() => ({\n 'b-loading-indicator--inverse': props.inverse,\n 'b-loading-indicator--small': props.small,\n 'b-loading-indicator--large': props.large,\n }));\n</script>\n\n<script lang=\"ts\">\n /**\n * A loading indicator component that displays a spinning animation.\n *\n * @usage\n * import { BentoLoadingIndicator } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoLoadingIndicator },\n * template: `\n * <bento-loading-indicator :small=\"true\" />\n * `\n * };\n */\n export default {\n name: 'bento-loading-indicator',\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./loading-indicator.scss\" />\n"],"names":["BentoLoadingIndicatorEvent","BentoLoadingIndicatorEvent2","__default__","props","__props","emit","__emit","onMounted","onUnmounted","conditionalClasses","computed"],"mappings":";;;AAAO,IAAAA,IAAA,kBAAAC,OACHA,EAAA,QAAA,iBACAA,EAAA,MAAA,eAFQA,IAAAD,KAAA,CAAA,CAAA;AC4CR,MAAAE,IAAA;AAAA,EAAe,MAAA;AAEf;;;;;;;;AAtCA,UAAAC,IAAAC,GAMAC,IAAAC;AAKA,IAAAC,EAAA,MAAAF,EAAAL,EAAA,KAAA,CAAA,GAEAQ,EAAA,MAAAH,EAAAL,EAAA,GAAA,CAAA;AAEA,UAAAS,IAAAC,EAAA,OAAA;AAAA,MAA2C,gCAAAP,EAAA;AAAA,MACD,8BAAAA,EAAA;AAAA,MACF,8BAAAA,EAAA;AAAA,IACA,EAAA;;;;;;;;"}
@@ -1,5 +1,5 @@
1
1
  /* empty css */
2
- import { createElementBlock as t, openBlock as s, mergeProps as i, createCommentVNode as l, createElementVNode as n, toDisplayString as a } from "vue";
2
+ import { openBlock as t, createElementBlock as s, mergeProps as i, toDisplayString as l, createCommentVNode as n, createElementVNode as a } from "vue";
3
3
  import { _ as d } from "./_plugin-vue_export-helper.CHgC5LLL.js";
4
4
  var m = /* @__PURE__ */ ((e) => (e.UNCHECKED = "unchecked", e.CHECKED = "checked", e.DISABLED = "disabled", e.ERROR = "error", e.READONLY = "readonly", e.INDETERMINATE = "indeterminate", e))(m || {}), E = /* @__PURE__ */ ((e) => (e.UPDATE = "update:model-value", e))(E || {});
5
5
  let o = 0;
@@ -9,15 +9,15 @@ const u = {
9
9
  }
10
10
  }, c = { key: 0 };
11
11
  function g(e, r, p, f, D, N) {
12
- return s(), t("svg", i({ role: "img" }, e.$attrs, {
12
+ return t(), s("svg", i({ role: "img" }, e.$attrs, {
13
13
  class: "ui-assets-icons-16",
14
14
  xmlns: "http://www.w3.org/2000/svg",
15
15
  width: "16",
16
16
  height: "16",
17
17
  fill: "none"
18
18
  }), [
19
- e.$attrs["svg-title"] ? (s(), t("title", c, a(e.$attrs["svg-title"]), 1)) : l("", !0),
20
- r[0] || (r[0] = n("path", {
19
+ e.$attrs["svg-title"] ? (t(), s("title", c, l(e.$attrs["svg-title"]), 1)) : n("", !0),
20
+ r[0] || (r[0] = a("path", {
21
21
  fill: "#001222",
22
22
  d: "M4.25 7.25H11.75V8.75H4.25V7.25Z"
23
23
  }, null, -1))
@@ -29,4 +29,4 @@ export {
29
29
  w as N,
30
30
  E as a
31
31
  };
32
- //# sourceMappingURL=minus-small.DYIyF5XW.js.map
32
+ //# sourceMappingURL=minus-small.CnYLTuSv.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"minus-small.DYIyF5XW.js","sources":["../../../vue2/src/components/internal/checkbox-input/checkbox-input.types.ts","../../../ui-assets/icons-16/dist/vue/minus-small.vue"],"sourcesContent":["export type MultiCheckboxInputType = Array<string | number>;\nexport type CheckboxInputType = boolean | MultiCheckboxInputType;\n\nexport enum CheckboxInputState {\n UNCHECKED = 'unchecked',\n CHECKED = 'checked',\n DISABLED = 'disabled',\n ERROR = 'error',\n READONLY = 'readonly',\n INDETERMINATE = 'indeterminate',\n}\n\nexport enum CheckboxInputEvent {\n UPDATE = 'update:model-value',\n}\n\ninterface CheckboxInputGroupItem {\n value: string | number;\n disabled?: boolean;\n hasError?: boolean;\n errorMessage?: string;\n readonly?: boolean;\n}\n\nexport type CheckboxInputGroupItems = Array<CheckboxInputGroupItem>;\n","\n<template>\n <svg role=\"img\" v-bind=\"$attrs\" class=\"ui-assets-icons-16\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\"><title v-if=\"$attrs['svg-title']\">{{ $attrs['svg-title'] }}</title><path fill=\"#001222\" d=\"M4.25 7.25H11.75V8.75H4.25V7.25Z\"/></svg>\n</template>\n<script>\n import '../css/main.css';\n\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n"],"names":["CheckboxInputState","CheckboxInputEvent","uuid","_sfc_main","_openBlock","_createElementBlock","_mergeProps","_ctx","_hoisted_1","_createCommentVNode","_createElementVNode"],"mappings":";;;AAGO,IAAKA,sBAAAA,OACRA,EAAA,YAAY,aACZA,EAAA,UAAU,WACVA,EAAA,WAAW,YACXA,EAAA,QAAQ,SACRA,EAAA,WAAW,YACXA,EAAA,gBAAgB,iBANRA,IAAAA,KAAA,CAAA,CAAA,GASAC,sBAAAA,OACRA,EAAA,SAAS,sBADDA,IAAAA,KAAA,CAAA,CAAA;ACLR,IAAIC,IAAO;AAEX,MAAKC,IAAU;AAAA,EACX,eAAe;AACX,SAAK,OAAOD,EAAK,SAAQ,GACzBA,KAAQ;AAAA,EACZ;SAbR,KAAA,EAAA;;AAEI,SAAAE,EAAA,GAAAC,EAAqQ,OAArQC,EAAqQ,EAAhQ,MAAK,MAAK,GAASC,EAAA,QAAM;AAAA,IAAE,OAAM;AAAA,IAAqB,OAAM;AAAA,IAA6B,OAAM;AAAA,IAAK,QAAO;AAAA,IAAK,MAAK;AAAA;IAAoBA,EAAA,OAAM,WAAA,UAAnBF,EAAmE,SAFxMG,KAE0KD,EAAA,OAAM,WAAA,CAAA,GAAA,CAAA,KAFhLE,EAAA,IAAA,EAAA;AAAA,oBAEwMC,EAA2D,QAAA;AAAA,MAArD,MAAK;AAAA,MAAU,GAAE;AAAA;;;;"}
1
+ {"version":3,"file":"minus-small.CnYLTuSv.js","sources":["../../../vue2/src/components/internal/checkbox-input/checkbox-input.types.ts","../../../ui-assets/icons-16/dist/vue/minus-small.vue"],"sourcesContent":["export type MultiCheckboxInputType = Array<string | number>;\nexport type CheckboxInputType = boolean | MultiCheckboxInputType;\n\nexport enum CheckboxInputState {\n UNCHECKED = 'unchecked',\n CHECKED = 'checked',\n DISABLED = 'disabled',\n ERROR = 'error',\n READONLY = 'readonly',\n INDETERMINATE = 'indeterminate',\n}\n\nexport enum CheckboxInputEvent {\n UPDATE = 'update:model-value',\n}\n\ninterface CheckboxInputGroupItem {\n value: string | number;\n disabled?: boolean;\n hasError?: boolean;\n errorMessage?: string;\n readonly?: boolean;\n}\n\nexport type CheckboxInputGroupItems = Array<CheckboxInputGroupItem>;\n","\n<template>\n <svg role=\"img\" v-bind=\"$attrs\" class=\"ui-assets-icons-16\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\"><title v-if=\"$attrs['svg-title']\">{{ $attrs['svg-title'] }}</title><path fill=\"#001222\" d=\"M4.25 7.25H11.75V8.75H4.25V7.25Z\"/></svg>\n</template>\n<script>\n import '../css/main.css';\n\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n"],"names":["CheckboxInputState","CheckboxInputEvent","uuid","_sfc_main","_openBlock","_createElementBlock","_mergeProps","_ctx","_hoisted_1","_createCommentVNode","_createElementVNode"],"mappings":";;;AAGO,IAAKA,sBAAAA,OACRA,EAAA,YAAY,aACZA,EAAA,UAAU,WACVA,EAAA,WAAW,YACXA,EAAA,QAAQ,SACRA,EAAA,WAAW,YACXA,EAAA,gBAAgB,iBANRA,IAAAA,KAAA,CAAA,CAAA,GASAC,sBAAAA,OACRA,EAAA,SAAS,sBADDA,IAAAA,KAAA,CAAA,CAAA;ACLR,IAAIC,IAAO;AAEX,MAAKC,IAAU;AAAA,EACX,eAAe;AACX,SAAK,OAAOD,EAAK,SAAQ,GACzBA,KAAQ;AAAA,EACZ;SAbR,KAAA,EAAA;;AAEI,SAAAE,EAAA,GAAAC,EAAqQ,OAArQC,EAAqQ,EAAhQ,MAAK,MAAK,GAASC,EAAA,QAAM;AAAA,IAAE,OAAM;AAAA,IAAqB,OAAM;AAAA,IAA6B,OAAM;AAAA,IAAK,QAAO;AAAA,IAAK,MAAK;AAAA;IAAoBA,EAAA,OAAM,WAAA,UAAnBF,EAAmE,SAFxMG,KAE0KD,EAAA,OAAM,WAAA,CAAA,GAAA,CAAA,KAFhLE,EAAA,IAAA,EAAA;AAAA,oBAEwMC,EAA2D,QAAA;AAAA,MAArD,MAAK;AAAA,MAAU,GAAE;AAAA;;;;"}
@@ -1,21 +1,21 @@
1
- import { defineComponent as L, useSlots as w, onMounted as U, createBlock as s, openBlock as l, unref as t, withCtx as o, createElementVNode as d, renderSlot as p, createElementBlock as O, createCommentVNode as f, createTextVNode as S, toDisplayString as N, getCurrentInstance as Y, toRefs as j, ref as u, computed as z, watch as H, nextTick as q, provide as B, withKeys as Q, normalizeClass as W, withModifiers as X, createSlots as Z, createVNode as k } from "vue";
2
- import { B as ee } from "./toast.DiIIrX7h.js";
3
- import { B as te } from "./button.CSp48LJt.js";
4
- import { B as ae } from "./focus-trap.DH57j-Ov.js";
5
- import { B as A } from "./typography.6Oo5TOMP.js";
6
- import { u as x } from "./use-has-slot.B7eQSabc.js";
7
- import { D as le, B as oe, b as se, a as ne } from "./dialog-page.CF10AQQ3.js";
8
- import { B as ie, i as re } from "./button-actions.Dk8xU2cz.js";
9
- import { _ as T } from "./_plugin-vue_export-helper.CHgC5LLL.js";
10
- import { C as ce } from "./cross.B92GxFTY.js";
11
- import { u as ue } from "./index.pdBj0KQU.js";
12
- import { g as de } from "./generate-uid.NJ8tVoha.js";
1
+ import { defineComponent as O, useSlots as x, onMounted as D, openBlock as l, createBlock as i, unref as a, withCtx as s, createElementVNode as d, renderSlot as v, createTextVNode as N, toDisplayString as A, createCommentVNode as f, createElementBlock as T, getCurrentInstance as j, toRefs as z, ref as n, computed as H, onUnmounted as q, watch as Q, provide as E, withKeys as W, withModifiers as X, normalizeClass as Z, createSlots as ee, createVNode as L } from "vue";
2
+ import { B as te } from "./toast.Bbtq3Icj.js";
3
+ import { B as ae } from "./button.C6t9_lzm.js";
4
+ import { B as le } from "./focus-trap.CBvh2H_m.js";
5
+ import { B as k } from "./typography.B3J6_tYk.js";
6
+ import { u as w } from "./use-has-slot.B7eQSabc.js";
7
+ import { b as oe, B as se, D as ne, a as ie } from "./dialog-page.B3ptLXXP.js";
8
+ import { B as re, i as ce } from "./button-actions.BH-J7dux.js";
9
+ import { _ as $ } from "./_plugin-vue_export-helper.CHgC5LLL.js";
10
+ import { C as ue } from "./cross.CCHdi6v3.js";
11
+ import { u as de } from "./index.B875RXHM.js";
12
+ import { g as fe } from "./generate-uid.NJ8tVoha.js";
13
13
  import "../assets/modal-fullscreen.css";
14
- const fe = { class: "b-modal-fullscreen-page__header" }, me = { class: "b-modal-fullscreen-page__header-section b-modal-fullscreen-page__header-section--title" }, pe = {
14
+ const me = { class: "b-modal-fullscreen-page__header" }, pe = { class: "b-modal-fullscreen-page__header-section b-modal-fullscreen-page__header-section--title" }, ve = {
15
15
  key: 0,
16
16
  class: "b-modal-fullscreen-page__header-section b-modal-fullscreen-page__header-section--slot"
17
- }, ge = { class: "b-modal-fullscreen-page__header-section b-modal-fullscreen-page__header-section--actions" }, ve = { class: "b-modal-fullscreen-page__content" }, _e = {}, he = /* @__PURE__ */ L({
18
- ..._e,
17
+ }, ge = { class: "b-modal-fullscreen-page__header-section b-modal-fullscreen-page__header-section--actions" }, _e = { class: "b-modal-fullscreen-page__content" }, he = {}, be = /* @__PURE__ */ O({
18
+ ...he,
19
19
  __name: "modal-fullscreen-page",
20
20
  props: {
21
21
  /**
@@ -64,70 +64,70 @@ const fe = { class: "b-modal-fullscreen-page__header" }, me = { class: "b-modal-
64
64
  }
65
65
  },
66
66
  setup(e) {
67
- const g = e, v = w(), n = x(v);
68
- return U(() => {
67
+ const g = e, _ = x(), r = w(_);
68
+ return D(() => {
69
69
  if (g.actions && g.actions.length > 2)
70
70
  throw new Error("Not more than 2 action buttons may be provided in Bento Modal Fullscreen");
71
- }), (m, i) => (l(), s(t(le), {
71
+ }), (m, p) => (l(), i(a(oe), {
72
72
  class: "b-modal-fullscreen-page",
73
73
  "page-id": e.pageId,
74
74
  "previous-page": e.previousPage,
75
75
  "always-show-border": ""
76
76
  }, {
77
- header: o(() => [
78
- d("div", fe, [
79
- d("div", me, [
80
- e.title ? (l(), s(t(A), {
77
+ header: s(() => [
78
+ d("div", me, [
79
+ d("div", pe, [
80
+ e.title ? (l(), i(a(k), {
81
81
  key: 0,
82
82
  el: "h2",
83
83
  variant: "title",
84
84
  class: "b-modal-fullscreen-page__title",
85
85
  title: e.title
86
86
  }, {
87
- default: o(() => [
88
- S(N(e.title), 1)
87
+ default: s(() => [
88
+ N(A(e.title), 1)
89
89
  ]),
90
90
  _: 1
91
91
  }, 8, ["title"])) : f("", !0)
92
92
  ]),
93
- t(n)("header") ? (l(), O("div", pe, [
94
- p(m.$slots, "header", {}, void 0, !0)
93
+ a(r)("header") ? (l(), T("div", ve, [
94
+ v(m.$slots, "header", {}, void 0, !0)
95
95
  ])) : f("", !0),
96
96
  d("div", ge, [
97
- e.contextualLabel ? (l(), s(t(A), {
97
+ e.contextualLabel ? (l(), i(a(k), {
98
98
  key: 0,
99
99
  class: "b-modal-fullscreen-page__contextual-label",
100
100
  el: "span",
101
101
  title: e.contextualLabel
102
102
  }, {
103
- default: o(() => [
104
- S(N(e.contextualLabel), 1)
103
+ default: s(() => [
104
+ N(A(e.contextualLabel), 1)
105
105
  ]),
106
106
  _: 1
107
107
  }, 8, ["title"])) : f("", !0),
108
- e.actions ? (l(), s(t(ie), {
108
+ e.actions ? (l(), i(a(re), {
109
109
  key: 1,
110
110
  class: "b-modal-fullscreen-page__actions",
111
111
  actions: e.actions
112
112
  }, null, 8, ["actions"])) : f("", !0),
113
- i[0] || (i[0] = d("div", { class: "b-modal-fullscreen-page__separator" }, null, -1))
113
+ p[0] || (p[0] = d("div", { class: "b-modal-fullscreen-page__separator" }, null, -1))
114
114
  ])
115
115
  ])
116
116
  ]),
117
- content: o(() => [
118
- d("div", ve, [
119
- p(m.$slots, "default", {}, void 0, !0)
117
+ content: s(() => [
118
+ d("div", _e, [
119
+ v(m.$slots, "default", {}, void 0, !0)
120
120
  ])
121
121
  ]),
122
122
  _: 3
123
123
  }, 8, ["page-id", "previous-page"]));
124
124
  }
125
- }), be = /* @__PURE__ */ T(he, [["__scopeId", "data-v-a1480899"]]);
126
- function ye() {
125
+ }), ye = /* @__PURE__ */ $(be, [["__scopeId", "data-v-a1480899"]]);
126
+ function Be() {
127
127
  var e;
128
- return ((e = Y()) == null ? void 0 : e.vnode.props) ?? {};
128
+ return ((e = j()) == null ? void 0 : e.vnode.props) ?? {};
129
129
  }
130
- const D = {
130
+ const F = {
131
131
  "en-US": {
132
132
  close: "Close"
133
133
  },
@@ -137,10 +137,10 @@ const D = {
137
137
  "pt-BR": {
138
138
  close: "Fechar"
139
139
  }
140
- }, Be = ["id", "onKeydown"], Ee = { class: "b-modal-fullscreen__close-button" }, Ie = {
141
- i18n: { messages: D }
142
- }, Pe = /* @__PURE__ */ L({
143
- ...Ie,
140
+ }, Ee = ["id", "onKeydown"], Ie = { class: "b-modal-fullscreen__close-button" }, Pe = {
141
+ i18n: { messages: F }
142
+ }, Ce = /* @__PURE__ */ O({
143
+ ...Pe,
144
144
  __name: "modal-fullscreen",
145
145
  props: {
146
146
  /**
@@ -189,84 +189,88 @@ const D = {
189
189
  },
190
190
  emits: ["before-close", "update:active-page", "update:is-open"],
191
191
  setup(e, { emit: g }) {
192
- const v = e, n = g, { activePage: m, isOpen: i } = j(v), { t: M } = ue({ messages: D }), r = u(null), _ = u(!1), E = de("modal-fullscreen"), h = u(!1), $ = ye(), F = w(), I = x(F), G = z(() => ({
193
- "b-modal-fullscreen--hide": _.value
194
- })), R = () => {
195
- _.value && (r.value.close(), c.value[0] && n("update:active-page", c.value[0]), c.value = [], _.value = !1, h.value = !1, n("update:is-open", !1));
192
+ const _ = e, r = g, { activePage: m, isOpen: p } = z(_), { t: G } = de({ messages: F }), c = n(null), h = n(!1), I = fe("modal-fullscreen"), b = n(!1), B = n(!1), M = Be(), R = x(), P = w(R), K = H(() => ({
193
+ "b-modal-fullscreen--hide": h.value
194
+ })), J = () => {
195
+ h.value && c.value && (c.value.close(), u.value[0] && r("update:active-page", u.value[0]), u.value = [], h.value = !1, b.value = !1, r("update:is-open", !1));
196
196
  };
197
- function P() {
198
- if ($["onBeforeClose"]) {
199
- n("before-close");
197
+ function C() {
198
+ if (M["onBeforeClose"]) {
199
+ r("before-close");
200
200
  return;
201
201
  }
202
- C();
202
+ S();
203
203
  }
204
- const C = () => {
205
- r.value.open && (_.value = !0);
204
+ const S = () => {
205
+ !c.value || !c.value.open || (h.value = !0);
206
206
  };
207
- H(
208
- () => i.value,
209
- async () => {
210
- await q(), r.value && (i.value ? (h.value = !0, r.value.showModal(), c.value.length || c.value.push(m.value)) : r.value.open && C());
207
+ D(() => {
208
+ B.value = !0;
209
+ }), q(() => {
210
+ B.value = !1;
211
+ }), Q(
212
+ [() => p.value, c],
213
+ ([t, o]) => {
214
+ !B.value || !o || (t ? (b.value = !0, o.open || o.showModal(), u.value.length || u.value.push(m.value)) : o.open && S());
211
215
  },
212
- { immediate: !0 }
213
- ), B(re, E);
214
- const K = u(oe.TRANSITION_LEVEL_DEEPER), b = u([]), c = u([]);
215
- B(se, {
216
+ { immediate: !0, flush: "post" }
217
+ ), E(ce, I);
218
+ const U = n(se.TRANSITION_LEVEL_DEEPER), y = n([]), u = n([]);
219
+ E(ne, {
216
220
  activePage: m,
217
- animation: K,
218
- isOpen: h,
219
- pages: b,
220
- previousPages: c,
221
- updatePage: (a) => n("update:active-page", a)
221
+ animation: U,
222
+ isOpen: b,
223
+ pages: y,
224
+ previousPages: u,
225
+ updatePage: (t) => r("update:active-page", t)
222
226
  });
223
- const V = (a) => () => {
224
- var y;
225
- b.value = (y = b.value) == null ? void 0 : y.filter((J) => J !== a);
227
+ const Y = (t) => () => {
228
+ var o;
229
+ y.value = (o = y.value) == null ? void 0 : o.filter((V) => V !== t);
226
230
  };
227
- return B(ne, (a) => (a && b.value.push(a), { unregisterPage: V(a) })), (a, y) => (l(), O("dialog", {
228
- id: t(E),
231
+ return E(ie, (t) => (t && y.value.push(t), { unregisterPage: Y(t) })), (t, o) => (l(), T("dialog", {
232
+ id: a(I),
229
233
  ref_key: "modal",
230
- ref: r,
231
- class: W(["b-modal-fullscreen", G.value]),
234
+ ref: c,
235
+ class: Z(["b-modal-fullscreen", K.value]),
232
236
  "data-dialog-element": "modal-fullscreen",
233
- onAnimationend: R,
234
- onKeydown: Q(X(P, ["prevent"]), ["esc"])
237
+ onAnimationend: J,
238
+ onKeydown: W(X(C, ["prevent"]), ["esc"])
235
239
  }, [
236
- h.value ? (l(), s(t(ae), {
240
+ b.value ? (l(), i(a(le), {
237
241
  key: 0,
238
242
  class: "b-modal-fullscreen__wrapper"
239
243
  }, {
240
- default: o(() => [
241
- v.activePage ? p(a.$slots, "default", { key: 0 }, void 0, !0) : (l(), s(be, {
244
+ default: s(() => [
245
+ _.activePage ? v(t.$slots, "default", { key: 0 }, void 0, !0) : (l(), i(ye, {
242
246
  key: 1,
243
247
  actions: e.actions,
244
248
  "contextual-label": e.contextualLabel,
245
249
  title: e.title
246
- }, Z({ _: 2 }, [
247
- t(I)("default") ? {
250
+ }, ee({ _: 2 }, [
251
+ a(P)("default") ? {
248
252
  name: "default",
249
- fn: o(() => [
250
- p(a.$slots, "default", {}, void 0, !0)
253
+ fn: s(() => [
254
+ v(t.$slots, "default", {}, void 0, !0)
251
255
  ]),
252
256
  key: "0"
253
257
  } : void 0,
254
- t(I)("header") ? {
258
+ a(P)("header") ? {
255
259
  name: "header",
256
- fn: o(() => [
257
- p(a.$slots, "header", {}, void 0, !0)
260
+ fn: s(() => [
261
+ v(t.$slots, "header", {}, void 0, !0)
258
262
  ]),
259
263
  key: "1"
260
264
  } : void 0
261
265
  ]), 1032, ["actions", "contextual-label", "title"])),
262
- d("div", Ee, [
263
- k(t(te), {
266
+ d("div", Ie, [
267
+ L(a(ae), {
264
268
  variant: "tertiary",
265
- "aria-label": t(M)("close"),
266
- onClick: P
269
+ "aria-label": a(G)("close"),
270
+ onClick: C
267
271
  }, {
268
- iconLeft: o(() => [
269
- k(t(ce), { "aria-hidden": !0 })
272
+ iconLeft: s(() => [
273
+ L(a(ue), { "aria-hidden": !0 })
270
274
  ]),
271
275
  _: 1
272
276
  }, 8, ["aria-label"])
@@ -274,12 +278,12 @@ const D = {
274
278
  ]),
275
279
  _: 3
276
280
  })) : f("", !0),
277
- t(i) ? (l(), s(t(ee), { key: 1 })) : f("", !0)
278
- ], 42, Be));
281
+ a(p) ? (l(), i(a(te), { key: 1 })) : f("", !0)
282
+ ], 42, Ee));
279
283
  }
280
- }), Ge = /* @__PURE__ */ T(Pe, [["__scopeId", "data-v-8289499e"]]);
284
+ }), Re = /* @__PURE__ */ $(Ce, [["__scopeId", "data-v-cfae4534"]]);
281
285
  export {
282
- be as B,
283
- Ge as m
286
+ ye as B,
287
+ Re as m
284
288
  };
285
- //# sourceMappingURL=modal-fullscreen.f445bZ94.js.map
289
+ //# sourceMappingURL=modal-fullscreen.B3AGUJgl.js.map