@adyen/bento-vue3 1.78.2 → 1.79.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 (266) hide show
  1. package/dist/@types/index.d.ts +79 -30
  2. package/dist/accordion.js +1 -1
  3. package/dist/action-bar.js +1 -1
  4. package/dist/assets/accordion-item.css +1 -1
  5. package/dist/assets/action-bar.css +1 -1
  6. package/dist/assets/ai-button.css +1 -1
  7. package/dist/assets/base-modal.css +1 -1
  8. package/dist/assets/button-actions.css +1 -1
  9. package/dist/assets/button.css +1 -1
  10. package/dist/assets/calendar.css +1 -1
  11. package/dist/assets/card.css +1 -1
  12. package/dist/assets/checkbox-group.css +1 -1
  13. package/dist/assets/dashboard-section.css +1 -1
  14. package/dist/assets/data-grid.css +1 -1
  15. package/dist/assets/date-range-picker.css +1 -1
  16. package/dist/assets/dialog-page.css +1 -1
  17. package/dist/assets/file-uploader.css +1 -1
  18. package/dist/assets/filter-bar.css +1 -1
  19. package/dist/assets/form-layout-title.css +1 -1
  20. package/dist/assets/header-with-views.css +1 -1
  21. package/dist/assets/index.css +1 -1
  22. package/dist/assets/input-field-password.css +1 -1
  23. package/dist/assets/input-field-phone-number.css +1 -1
  24. package/dist/assets/input-field.css +1 -1
  25. package/dist/assets/inspector.css +1 -1
  26. package/dist/assets/layout-row.css +1 -1
  27. package/dist/assets/modal-fullscreen.css +1 -1
  28. package/dist/assets/search-bar.css +1 -1
  29. package/dist/assets/secondary-nav.css +1 -1
  30. package/dist/assets/sidepanel.css +1 -1
  31. package/dist/assets/step.css +1 -1
  32. package/dist/assets/structured-list-item.css +1 -1
  33. package/dist/assets/summary-grid.css +1 -1
  34. package/dist/assets/tab.css +1 -1
  35. package/dist/assets/teleport.css +1 -0
  36. package/dist/assets/toast.css +1 -1
  37. package/dist/assets/tooltip.css +1 -1
  38. package/dist/assets/tutorial.css +1 -1
  39. package/dist/assets/use-cached-selected-values.css +1 -1
  40. package/dist/button.js +1 -1
  41. package/dist/card.js +1 -1
  42. package/dist/checkbox.js +2 -2
  43. package/dist/chunks/{accordion-item.Bd3v6erb.js → accordion-item.DHyAfeAu.js} +2 -2
  44. package/dist/chunks/{accordion-item.Bd3v6erb.js.map → accordion-item.DHyAfeAu.js.map} +1 -1
  45. package/dist/chunks/{action-bar.BZ04Y7Yi.js → action-bar.QX16Mu4L.js} +3 -3
  46. package/dist/chunks/{action-bar.BZ04Y7Yi.js.map → action-bar.QX16Mu4L.js.map} +1 -1
  47. package/dist/chunks/{base-modal.UA93s_8c.js → base-modal.CHYvJ_xU.js} +17 -17
  48. package/dist/chunks/{base-modal.UA93s_8c.js.map → base-modal.CHYvJ_xU.js.map} +1 -1
  49. package/dist/chunks/{button-actions-with-menu.BeQ-j1bv.js → button-actions-with-menu.B8qBBN82.js} +2 -2
  50. package/dist/chunks/{button-actions-with-menu.BeQ-j1bv.js.map → button-actions-with-menu.B8qBBN82.js.map} +1 -1
  51. package/dist/chunks/button-actions.Bg38lywL.js +1234 -0
  52. package/dist/chunks/button-actions.Bg38lywL.js.map +1 -0
  53. package/dist/chunks/{calendar.Tm7Cvpwu.js → calendar.CyJXcMz2.js} +4 -43
  54. package/dist/chunks/{calendar.Tm7Cvpwu.js.map → calendar.CyJXcMz2.js.map} +1 -1
  55. package/dist/chunks/{card.GxkxfBoV.js → card.BqkufnQe.js} +2 -2
  56. package/dist/chunks/{card.GxkxfBoV.js.map → card.BqkufnQe.js.map} +1 -1
  57. package/dist/chunks/{checkbox-group.D56nUmre.js → checkbox-group.BRQiuU3y.js} +51 -50
  58. package/dist/chunks/checkbox-group.BRQiuU3y.js.map +1 -0
  59. package/dist/chunks/{checkbox.SffuKyNj.js → checkbox.BRTK_DHj.js} +3 -3
  60. package/dist/chunks/{checkbox.SffuKyNj.js.map → checkbox.BRTK_DHj.js.map} +1 -1
  61. package/dist/chunks/{code-snippet.B5NUDrZ-.js → code-snippet.YxZ3_4ye.js} +5 -5
  62. package/dist/chunks/{code-snippet.B5NUDrZ-.js.map → code-snippet.YxZ3_4ye.js.map} +1 -1
  63. package/dist/chunks/{codemirror.Zv80n3Z2.js → codemirror.Cy7iSLbd.js} +12 -12
  64. package/dist/chunks/{codemirror.Zv80n3Z2.js.map → codemirror.Cy7iSLbd.js.map} +1 -1
  65. package/dist/chunks/constructNow.BhymNmy5.js +8 -0
  66. package/dist/chunks/{constructNow.CHWWeLPc.js.map → constructNow.BhymNmy5.js.map} +1 -1
  67. package/dist/chunks/{controls-group.cbGiHr7n.js → controls-group.CJe5J84d.js} +2 -2
  68. package/dist/chunks/{controls-group.cbGiHr7n.js.map → controls-group.CJe5J84d.js.map} +1 -1
  69. package/dist/chunks/{copy.ClKnDjMI.js → copy.mq0o1Rag.js} +2 -2
  70. package/dist/chunks/{copy.ClKnDjMI.js.map → copy.mq0o1Rag.js.map} +1 -1
  71. package/dist/chunks/{country.DmnN9YIW.js → country.D484ezGU.js} +2 -2
  72. package/dist/chunks/{country.DmnN9YIW.js.map → country.D484ezGU.js.map} +1 -1
  73. package/dist/chunks/{dashboard-section.Cqi0PWeJ.js → dashboard-section.CNCqp74F.js} +4 -4
  74. package/dist/chunks/{dashboard-section.Cqi0PWeJ.js.map → dashboard-section.CNCqp74F.js.map} +1 -1
  75. package/dist/chunks/{dashed-underline.r62L_XBr.js → dashed-underline.CtTu1AOE.js} +26 -25
  76. package/dist/chunks/{dashed-underline.r62L_XBr.js.map → dashed-underline.CtTu1AOE.js.map} +1 -1
  77. package/dist/chunks/{data-grid-template.D7kB3S1u.js → data-grid-template.CLpaJvTj.js} +4 -4
  78. package/dist/chunks/{data-grid-template.D7kB3S1u.js.map → data-grid-template.CLpaJvTj.js.map} +1 -1
  79. package/dist/chunks/data-grid-template.keys.VezYtHtM.js +5 -0
  80. package/dist/chunks/{data-grid-template.keys.2_AkxuNT.js.map → data-grid-template.keys.VezYtHtM.js.map} +1 -1
  81. package/dist/chunks/{data-grid.jC1eKDzq.js → data-grid.CD3Nb4pg.js} +18 -18
  82. package/dist/chunks/{data-grid.jC1eKDzq.js.map → data-grid.CD3Nb4pg.js.map} +1 -1
  83. package/dist/chunks/{date-picker.x9GeC_UO.js → date-picker.C3BH0Bsr.js} +13 -13
  84. package/dist/chunks/{date-picker.x9GeC_UO.js.map → date-picker.C3BH0Bsr.js.map} +1 -1
  85. package/dist/chunks/date-range-picker.BPZE6r01.js +1108 -0
  86. package/dist/chunks/date-range-picker.BPZE6r01.js.map +1 -0
  87. package/dist/chunks/{dialog-page.zWrBSgBD.js → dialog-page.BY6T1jYZ.js} +2 -2
  88. package/dist/chunks/{dialog-page.zWrBSgBD.js.map → dialog-page.BY6T1jYZ.js.map} +1 -1
  89. package/dist/chunks/{differenceInMonths.C8FyCrav.js → differenceInMonths.Cab3nOsb.js} +2 -2
  90. package/dist/chunks/{differenceInMonths.C8FyCrav.js.map → differenceInMonths.Cab3nOsb.js.map} +1 -1
  91. package/dist/chunks/{divider.DnKNNyWB.js → divider.Dho4_hQ7.js} +2 -2
  92. package/dist/chunks/{divider.DnKNNyWB.js.map → divider.Dho4_hQ7.js.map} +1 -1
  93. package/dist/chunks/{dropdown-default-textbox._KEBXjKT.js → dropdown-default-textbox.CNrsjXUU.js} +2 -2
  94. package/dist/chunks/{dropdown-default-textbox._KEBXjKT.js.map → dropdown-default-textbox.CNrsjXUU.js.map} +1 -1
  95. package/dist/chunks/{dropdown-tag.DIlF7mOi.js → dropdown-tag.B0LtUuUk.js} +4 -4
  96. package/dist/chunks/{dropdown-tag.DIlF7mOi.js.map → dropdown-tag.B0LtUuUk.js.map} +1 -1
  97. package/dist/chunks/{dropdown.CdsjtT9_.js → dropdown.B5tPWVxg.js} +9 -9
  98. package/dist/chunks/{dropdown.CdsjtT9_.js.map → dropdown.B5tPWVxg.js.map} +1 -1
  99. package/dist/chunks/es6.MoTTyETW.js.map +1 -1
  100. package/dist/chunks/{events.CMzGybJJ.js → events.BQOQSSb7.js} +2 -5
  101. package/dist/chunks/{events.CMzGybJJ.js.map → events.BQOQSSb7.js.map} +1 -1
  102. package/dist/chunks/{field-label.C97CrBI_.js → field-label.B1rMWIWY.js} +2 -2
  103. package/dist/chunks/{field-label.C97CrBI_.js.map → field-label.B1rMWIWY.js.map} +1 -1
  104. package/dist/chunks/{file-uploader.R0NZXIsS.js → file-uploader.BwmQdkmz.js} +367 -350
  105. package/dist/chunks/file-uploader.BwmQdkmz.js.map +1 -0
  106. package/dist/chunks/{filter-bar.DAYxD7wi.js → filter-bar.B9yGivxl.js} +118 -122
  107. package/dist/chunks/filter-bar.B9yGivxl.js.map +1 -0
  108. package/dist/chunks/{footer-actions.BO52wpv-.js → footer-actions.pC1mxLQm.js} +2 -2
  109. package/dist/chunks/{footer-actions.BO52wpv-.js.map → footer-actions.pC1mxLQm.js.map} +1 -1
  110. package/dist/chunks/{form-layout-title.61ESsGAY.js → form-layout-title.sxPU_lB_.js} +2 -2
  111. package/dist/chunks/{form-layout-title.61ESsGAY.js.map → form-layout-title.sxPU_lB_.js.map} +1 -1
  112. package/dist/chunks/form-layout.types.bZW9iR6_.js +5 -0
  113. package/dist/chunks/{form-layout.types.D3EKzbE7.js.map → form-layout.types.bZW9iR6_.js.map} +1 -1
  114. package/dist/chunks/get-slot-text.CQRAP2_q.js.map +1 -1
  115. package/dist/chunks/{getTimezoneOffsetInMilliseconds.BW7U6PxE.js → getTimezoneOffsetInMilliseconds.B7sxiukN.js} +2 -2
  116. package/dist/chunks/{getTimezoneOffsetInMilliseconds.BW7U6PxE.js.map → getTimezoneOffsetInMilliseconds.B7sxiukN.js.map} +1 -1
  117. package/dist/chunks/{header-meta.BE6QfUNi.js → header-meta.DZ8Gx4XE.js} +17 -17
  118. package/dist/chunks/{header-meta.BE6QfUNi.js.map → header-meta.DZ8Gx4XE.js.map} +1 -1
  119. package/dist/chunks/{header-with-views.CzLcYeW5.js → header-with-views.b1gt2wud.js} +109 -109
  120. package/dist/chunks/{header-with-views.CzLcYeW5.js.map → header-with-views.b1gt2wud.js.map} +1 -1
  121. package/dist/chunks/{header.3It50Clh.js → header.BQAAmjUF.js} +3 -3
  122. package/dist/chunks/{header.3It50Clh.js.map → header.BQAAmjUF.js.map} +1 -1
  123. package/dist/chunks/{info-icon.BhOm72U4.js → info-icon.DB0MI-dH.js} +2 -2
  124. package/dist/chunks/{info-icon.BhOm72U4.js.map → info-icon.DB0MI-dH.js.map} +1 -1
  125. package/dist/chunks/{input-field-password.-xEY2VB8.js → input-field-password.noxsH61p.js} +154 -146
  126. package/dist/chunks/input-field-password.noxsH61p.js.map +1 -0
  127. package/dist/chunks/{input-field-phone-number.DcxhP_qK.js → input-field-phone-number.B_uFvUXP.js} +587 -585
  128. package/dist/chunks/{input-field-phone-number.DcxhP_qK.js.map → input-field-phone-number.B_uFvUXP.js.map} +1 -1
  129. package/dist/chunks/{input-field.B6nL7d8O.js → input-field.C9ABE4cI.js} +118 -110
  130. package/dist/chunks/input-field.C9ABE4cI.js.map +1 -0
  131. package/dist/chunks/{keyboard-navigation.pB8weElW.js → keyboard-navigation.DWmhelVv.js} +2 -2
  132. package/dist/chunks/{keyboard-navigation.pB8weElW.js.map → keyboard-navigation.DWmhelVv.js.map} +1 -1
  133. package/dist/chunks/{layout-row.DVf7wNSB.js → layout-row.BxP9SxrL.js} +2 -2
  134. package/dist/chunks/{layout-row.DVf7wNSB.js.map → layout-row.BxP9SxrL.js.map} +1 -1
  135. package/dist/chunks/{listbox-option-tag.Cwe9Bn-R.js → listbox-option-tag.C1cZs38g.js} +2 -2
  136. package/dist/chunks/{listbox-option-tag.Cwe9Bn-R.js.map → listbox-option-tag.C1cZs38g.js.map} +1 -1
  137. package/dist/chunks/{modal-fullscreen.DTT-5rQX.js → modal-fullscreen.B69QJ8D6.js} +23 -21
  138. package/dist/chunks/modal-fullscreen.B69QJ8D6.js.map +1 -0
  139. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.c3Ma1oAL.js → modal.vue_vue_type_script_setup_true_lang.BYqbdsty.js} +4 -4
  140. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.c3Ma1oAL.js.map → modal.vue_vue_type_script_setup_true_lang.BYqbdsty.js.map} +1 -1
  141. package/dist/chunks/{pagination.DCn_tenp.js → pagination.Dst8Y6DD.js} +2 -2
  142. package/dist/chunks/{pagination.DCn_tenp.js.map → pagination.Dst8Y6DD.js.map} +1 -1
  143. package/dist/chunks/{payment-method.D6PeTYWq.js → payment-method.CExDsirg.js} +2 -2
  144. package/dist/chunks/{payment-method.D6PeTYWq.js.map → payment-method.CExDsirg.js.map} +1 -1
  145. package/dist/chunks/promo-banner.B-TLTLEd.js.map +1 -1
  146. package/dist/chunks/{radio-group.Br-N309Y.js → radio-group.CVDDBCP4.js} +5 -5
  147. package/dist/chunks/{radio-group.Br-N309Y.js.map → radio-group.CVDDBCP4.js.map} +1 -1
  148. package/dist/chunks/{rich-text-editor.B6Ftqv55.js → rich-text-editor.DyC-Nnc8.js} +12 -12
  149. package/dist/chunks/{rich-text-editor.B6Ftqv55.js.map → rich-text-editor.DyC-Nnc8.js.map} +1 -1
  150. package/dist/chunks/{search-bar.BmNEcy0L.js → search-bar.BwrFcw9L.js} +28 -28
  151. package/dist/chunks/search-bar.BwrFcw9L.js.map +1 -0
  152. package/dist/chunks/{secondary-nav.CPosCncv.js → secondary-nav.D7l9h0_t.js} +3 -3
  153. package/dist/chunks/{secondary-nav.CPosCncv.js.map → secondary-nav.D7l9h0_t.js.map} +1 -1
  154. package/dist/chunks/{segmented-control.BCHGDSrf.js → segmented-control.CwDOwDIu.js} +2 -2
  155. package/dist/chunks/{segmented-control.BCHGDSrf.js.map → segmented-control.CwDOwDIu.js.map} +1 -1
  156. package/dist/chunks/{selection-card-group.DBdwqWsH.js → selection-card-group.CZfusjo0.js} +4 -4
  157. package/dist/chunks/{selection-card-group.DBdwqWsH.js.map → selection-card-group.CZfusjo0.js.map} +1 -1
  158. package/dist/chunks/{sidepanel.CS9CfAWZ.js → sidepanel.BFz_7DKg.js} +4 -4
  159. package/dist/chunks/{sidepanel.CS9CfAWZ.js.map → sidepanel.BFz_7DKg.js.map} +1 -1
  160. package/dist/chunks/{step.CoSuGK16.js → step.CxnmaTMe.js} +3 -3
  161. package/dist/chunks/{step.CoSuGK16.js.map → step.CxnmaTMe.js.map} +1 -1
  162. package/dist/chunks/structured-list-item.DjbvVIwI.js +111 -0
  163. package/dist/chunks/{structured-list-item.BTPh7SPj.js.map → structured-list-item.DjbvVIwI.js.map} +1 -1
  164. package/dist/chunks/summary-grid.keys.Xx-W5a2w.js +6 -0
  165. package/dist/chunks/{summary-grid.keys.CxTf_FOc.js.map → summary-grid.keys.Xx-W5a2w.js.map} +1 -1
  166. package/dist/chunks/{summary-grid.types.cE1fyLvC.js → summary-grid.types.KVqau_I-.js} +74 -68
  167. package/dist/chunks/summary-grid.types.KVqau_I-.js.map +1 -0
  168. package/dist/chunks/{tab.CD5Eu6ql.js → tab.BAwuVDsV.js} +2 -2
  169. package/dist/chunks/{tab.CD5Eu6ql.js.map → tab.BAwuVDsV.js.map} +1 -1
  170. package/dist/chunks/tabs.keys.B4qGhjp2.js +7 -0
  171. package/dist/chunks/{tabs.keys.Cb4Vw5Jh.js.map → tabs.keys.B4qGhjp2.js.map} +1 -1
  172. package/dist/chunks/{tag.CjaB9DxL.js → tag.BmMnGJMp.js} +2 -2
  173. package/dist/chunks/{tag.CjaB9DxL.js.map → tag.BmMnGJMp.js.map} +1 -1
  174. package/dist/chunks/teleport.CHhznja1.js +129 -0
  175. package/dist/chunks/teleport.CHhznja1.js.map +1 -0
  176. package/dist/chunks/{textarea.XRETLCSj.js → textarea.BZjnJf5q.js} +3 -3
  177. package/dist/chunks/{textarea.XRETLCSj.js.map → textarea.BZjnJf5q.js.map} +1 -1
  178. package/dist/chunks/{timeline-item.19zg_gBi.js → timeline-item.YjC_8BBB.js} +7 -7
  179. package/dist/chunks/{timeline-item.19zg_gBi.js.map → timeline-item.YjC_8BBB.js.map} +1 -1
  180. package/dist/chunks/toast.e1-BCZks.js +229 -0
  181. package/dist/chunks/toast.e1-BCZks.js.map +1 -0
  182. package/dist/chunks/{tooltip.Dp9_ESm_.js → tooltip.CeX5eGnw.js} +2 -2
  183. package/dist/chunks/{tooltip.Dp9_ESm_.js.map → tooltip.CeX5eGnw.js.map} +1 -1
  184. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.KvlJ_dl9.js → tutorial.vue_vue_type_script_setup_true_lang.Cqimmacx.js} +2 -2
  185. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.KvlJ_dl9.js.map → tutorial.vue_vue_type_script_setup_true_lang.Cqimmacx.js.map} +1 -1
  186. package/dist/chunks/{use-bento-toast-controller.Kri_h7jS.js → use-bento-toast-controller.DK1PV3YW.js} +2 -2
  187. package/dist/chunks/{use-bento-toast-controller.Kri_h7jS.js.map → use-bento-toast-controller.DK1PV3YW.js.map} +1 -1
  188. package/dist/chunks/{use-cached-selected-values.8MdrR9wt.js → use-cached-selected-values.os3Yp7Tw.js} +3 -3
  189. package/dist/chunks/{use-cached-selected-values.8MdrR9wt.js.map → use-cached-selected-values.os3Yp7Tw.js.map} +1 -1
  190. package/dist/chunks/{use-form-layout-loading.D3lALhtC.js → use-form-layout-loading.CWbjZiwP.js} +2 -2
  191. package/dist/chunks/{use-form-layout-loading.D3lALhtC.js.map → use-form-layout-loading.CWbjZiwP.js.map} +1 -1
  192. package/dist/code-snippet.js +1 -1
  193. package/dist/country.js +1 -1
  194. package/dist/dashboard-template.js +1 -1
  195. package/dist/dashed-underline.js +1 -1
  196. package/dist/data-grid-template.js +1 -1
  197. package/dist/data-grid.js +1 -1
  198. package/dist/date-picker.js +2 -2
  199. package/dist/date-range-picker.js +2 -2
  200. package/dist/divider.js +1 -1
  201. package/dist/dropdown.js +4 -4
  202. package/dist/file-uploader.js +1 -1
  203. package/dist/filter-bar.js +1 -1
  204. package/dist/form-layout.js +1 -1
  205. package/dist/header-with-views.js +1 -1
  206. package/dist/header.js +1 -1
  207. package/dist/index.js +288 -287
  208. package/dist/index.js.map +1 -1
  209. package/dist/info-icon.js +1 -1
  210. package/dist/input-field-password.js +1 -1
  211. package/dist/input-field-phone-number.js +1 -1
  212. package/dist/input-field.js +1 -1
  213. package/dist/internal.js +27 -26
  214. package/dist/internal.js.map +1 -1
  215. package/dist/layout.js +1 -1
  216. package/dist/menu.js +1 -1
  217. package/dist/modal-fullscreen.js +1 -1
  218. package/dist/modal.js +2 -2
  219. package/dist/pagination.js +1 -1
  220. package/dist/payment-method.js +1 -1
  221. package/dist/popover.js +1 -1
  222. package/dist/radio-group.js +1 -1
  223. package/dist/rich-text-editor.js +1 -1
  224. package/dist/search-bar.js +2 -2
  225. package/dist/secondary-nav.js +1 -1
  226. package/dist/segmented-control.js +1 -1
  227. package/dist/selection-card.js +1 -1
  228. package/dist/sidepanel.js +1 -1
  229. package/dist/stepper.js +1 -1
  230. package/dist/structured-list.js +1 -1
  231. package/dist/styles/bento-dark.css +4 -1
  232. package/dist/styles/bento-light.css +4 -1
  233. package/dist/styles/bento.css +4 -1
  234. package/dist/styles/legacy.css +4 -1
  235. package/dist/styles/styleguide.css +4 -1
  236. package/dist/summary-grid.js +1 -1
  237. package/dist/tabs.js +1 -1
  238. package/dist/tag.js +1 -1
  239. package/dist/textarea.js +1 -1
  240. package/dist/timeline.js +1 -1
  241. package/dist/toast.js +1 -1
  242. package/dist/tutorial.js +1 -1
  243. package/dist/use-form-v4.js +8 -8
  244. package/dist/use-form-v4.js.map +1 -1
  245. package/dist/web-types.json +1 -1
  246. package/package.json +11 -10
  247. package/dist/chunks/button-actions.BQ3AFQqt.js +0 -1355
  248. package/dist/chunks/button-actions.BQ3AFQqt.js.map +0 -1
  249. package/dist/chunks/checkbox-group.D56nUmre.js.map +0 -1
  250. package/dist/chunks/constructNow.CHWWeLPc.js +0 -8
  251. package/dist/chunks/data-grid-template.keys.2_AkxuNT.js +0 -5
  252. package/dist/chunks/date-range-picker.CXeFdxAA.js +0 -1100
  253. package/dist/chunks/date-range-picker.CXeFdxAA.js.map +0 -1
  254. package/dist/chunks/file-uploader.R0NZXIsS.js.map +0 -1
  255. package/dist/chunks/filter-bar.DAYxD7wi.js.map +0 -1
  256. package/dist/chunks/form-layout.types.D3EKzbE7.js +0 -5
  257. package/dist/chunks/input-field-password.-xEY2VB8.js.map +0 -1
  258. package/dist/chunks/input-field.B6nL7d8O.js.map +0 -1
  259. package/dist/chunks/modal-fullscreen.DTT-5rQX.js.map +0 -1
  260. package/dist/chunks/search-bar.BmNEcy0L.js.map +0 -1
  261. package/dist/chunks/structured-list-item.BTPh7SPj.js +0 -111
  262. package/dist/chunks/summary-grid.keys.CxTf_FOc.js +0 -6
  263. package/dist/chunks/summary-grid.types.cE1fyLvC.js.map +0 -1
  264. package/dist/chunks/tabs.keys.Cb4Vw5Jh.js +0 -7
  265. package/dist/chunks/toast.6oJx7SNq.js +0 -221
  266. package/dist/chunks/toast.6oJx7SNq.js.map +0 -1
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as b, computed as u, resolveComponent as n, createElementBlock as g, openBlock as a, normalizeClass as P, createElementVNode as r, createBlock as i, createCommentVNode as s, createVNode as C, mergeProps as B, withCtx as p, createTextVNode as I, toDisplayString as S, createSlots as m, renderSlot as f } from "vue";
2
2
  import { u as E } from "./use-has-slot.B7eQSabc.js";
3
3
  import { B as N, a as k, c as h } from "./typography.yBEME_Gu.js";
4
- import { B as O } from "./button-actions-with-menu.BeQ-j1bv.js";
5
- import { I as t, H as w } from "./header-meta.BE6QfUNi.js";
4
+ import { B as O } from "./button-actions-with-menu.B8qBBN82.js";
5
+ import { I as t, H as w } from "./header-meta.DZ8Gx4XE.js";
6
6
  import { _ as A } from "./_plugin-vue_export-helper.CHgC5LLL.js";
7
7
  import "../assets/header.css";
8
8
  var o = /* @__PURE__ */ ((e) => (e.PAGE = "page", e.COMPONENT = "component", e))(o || {});
@@ -138,4 +138,4 @@ const F = /* @__PURE__ */ A($, [["render", G], ["__scopeId", "data-v-56ef1e22"]]
138
138
  export {
139
139
  F as B
140
140
  };
141
- //# sourceMappingURL=header.3It50Clh.js.map
141
+ //# sourceMappingURL=header.BQAAmjUF.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"header.3It50Clh.js","sources":["../../../vue2/src/components/header/header.types.ts","../../../vue2/src/components/header/header.vue"],"sourcesContent":["import { type BentoLoadingButtonState } from '../button/components/loading-button/loading-button.types';\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoHeaderVariant {\n PAGE = 'page',\n COMPONENT = 'component',\n}\n\nexport interface BentoHeaderReloadButton {\n title: string;\n event?: (event: Event) => void;\n state?: `${BentoLoadingButtonState}`;\n}\n","<template>\n <header class=\"b-header\" :class=\"conditionalClasses\">\n <div class=\"b-header__wrapper\">\n <div class=\"b-header__title\">\n <div>\n <bento-typography v-bind=\"typography\" class=\"b-header__text\">{{ title }}</bento-typography>\n <info-icon-with-popover\n v-if=\"infoIconTooltipText || hasSlot('infoIconTooltipContent')\"\n class=\"b-header__tooltip\"\n :popover-text=\"infoIconTooltipText\"\n >\n <template v-if=\"hasSlot('infoIconTooltipContent')\" #default\n ><slot name=\"infoIconTooltipContent\"\n /></template>\n </info-icon-with-popover>\n </div>\n </div>\n <header-meta\n v-if=\"description || hasSlot('description') || lastUpdated\"\n class=\"b-header__meta-container\"\n :description=\"description\"\n :last-updated=\"lastUpdated\"\n :reload-button=\"reloadButton\"\n >\n <template v-if=\"hasSlot('description')\" #description><slot name=\"description\" /></template>\n </header-meta>\n <button-actions-with-menu\n v-if=\"actions\"\n :actions=\"actions\"\n :displayed-actions=\"2\"\n class=\"b-header__actions\"\n />\n </div>\n </header>\n</template>\n\n<script lang=\"ts\">\n import { computed, defineComponent, type PropType } from 'vue';\n import { InfoIconWithPopover } from '@/internal';\n import { type BentoButtonActionsList } from '@/components/button';\n import { useHasSlot } from '@/composables';\n import { type BentoHeaderReloadButton, BentoHeaderVariant } from './header.types';\n import { BentoTypography, BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';\n import { HeaderMeta } from '@/internal/header-meta';\n import ButtonActionsWithMenu from '../internal/button-actions-with-menu/button-actions-with-menu.vue';\n\n export default defineComponent({\n name: 'bento-header',\n components: {\n BentoTypography,\n ButtonActionsWithMenu,\n InfoIconWithPopover,\n HeaderMeta,\n },\n props: {\n /**\n * Array of BentoButtonActionsList to show to the right of the title\n */\n actions: {\n type: Array as PropType<BentoButtonActionsList>,\n default: null,\n },\n\n /**\n * Text showed under the title\n */\n description: { type: String, default: null },\n\n /**\n * Text showed in the info-icon tooltip on hover\n */\n infoIconTooltipText: { type: InfoIconWithPopover.props.popoverText.type, default: null },\n\n /**\n * Popover position of the info icon text.\n */\n infoIconPopoverPosition: {\n type: InfoIconWithPopover.props.popoverPosition.type,\n default: InfoIconWithPopover.props.popoverPosition.default,\n validator: InfoIconWithPopover.props.popoverPosition.validator,\n },\n\n /**\n * JavaScript \"Date\" object for when the content was last updated\n */\n lastUpdated: { type: [Date, Number], default: null },\n\n /**\n * Variant represents type of Header\n * @values page, component\n */\n variant: {\n type: String as PropType<BentoHeaderVariant | `${BentoHeaderVariant}`>,\n default: BentoHeaderVariant.PAGE,\n validator: (value: BentoHeaderVariant) => Object.values(BentoHeaderVariant).includes(value),\n },\n\n /**\n * Text used as a title\n */\n title: { type: String, required: true },\n\n /**\n * Reload button which shows next to the header's timestamp\n * {@see BentoHeaderReloadButton}\n */\n reloadButton: {\n type: Object as PropType<BentoHeaderReloadButton>,\n default: null,\n },\n },\n emits: ['reload'],\n setup(props, { slots }) {\n const conditionalClasses = computed(() => ({\n 'b-header--component': props.variant === BentoHeaderVariant.COMPONENT,\n }));\n\n const typography = computed(() => ({\n el: props.variant === BentoHeaderVariant.PAGE ? BentoTypographyElement.H1 : BentoTypographyElement.H2,\n variant: BentoTypographyVariant.TITLE,\n medium: props.variant === BentoHeaderVariant.COMPONENT,\n large: props.variant === BentoHeaderVariant.PAGE,\n }));\n return {\n hasSlot: useHasSlot(slots),\n conditionalClasses,\n typography,\n };\n },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./header.scss\" />\n"],"names":["BentoHeaderVariant","BentoHeaderVariant2","_sfc_main","defineComponent","BentoTypography","ButtonActionsWithMenu","InfoIconWithPopover","HeaderMeta","value","props","slots","conditionalClasses","computed","typography","BentoTypographyElement","BentoTypographyVariant","useHasSlot","_component_button_actions_with_menu","resolveComponent","normalizeClass","_ctx","createElementVNode","_hoisted_2","createVNode","_component_bento_typography","mergeProps","withCtx","createTextVNode","toDisplayString","infoIconTooltipText","openBlock","createBlock","_component_info_icon_with_popover","createSlots","renderSlot","createCommentVNode","description","_component_header_meta","reloadButton"],"mappings":";;;;;;;AAKY,IAAAA,IAAA,kBAAAC,OACRA,EAAA,OAAA,QACAA,EAAA,YAAA,aAFQA,IAAAD,KAAA,CAAA,CAAA;ACyCR,MAAAE,IAAAC,EAAA;AAAA,EAA+B,MAAA;AAAA,EACrB,YAAA;AAAA,IACM,iBAAAC;AAAA,IACR,uBAAAC;AAAA,IACA,qBAAAC;AAAA,IACA,YAAAC;AAAA,EACA;AAAA,EACJ,OAAA;AAAA;AAAA;AAAA;AAAA,IACO,SAAA;AAAA,MAIM,MAAA;AAAA,MACC,SAAA;AAAA,IACG;AAAA;AAAA;AAAA;AAAA,IACb,aAAA,EAAA,MAAA,QAAA,SAAA,KAAA;AAAA;AAAA;AAAA;AAAA,IAK2C,qBAAA,EAAA,MAAAD,EAAA,MAAA,YAAA,MAAA,SAAA,KAAA;AAAA;AAAA;AAAA;AAAA,IAK4C,yBAAA;AAAA,MAK9D,MAAAA,EAAA,MAAA,gBAAA;AAAA,MAC2B,SAAAA,EAAA,MAAA,gBAAA;AAAA,MACG,WAAAA,EAAA,MAAA,gBAAA;AAAA,IACE;AAAA;AAAA;AAAA;AAAA,IACzD,aAAA,EAAA,MAAA,CAAA,MAAA,MAAA,GAAA,SAAA,KAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAKmD,SAAA;AAAA,MAM1C,MAAA;AAAA,MACC,SAAAN,EAAA;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AAA,EAAA;AAAA;;;;"}
1
+ {"version":3,"file":"header.BQAAmjUF.js","sources":["../../../vue2/src/components/header/header.types.ts","../../../vue2/src/components/header/header.vue"],"sourcesContent":["import { type BentoLoadingButtonState } from '../button/components/loading-button/loading-button.types';\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoHeaderVariant {\n PAGE = 'page',\n COMPONENT = 'component',\n}\n\nexport interface BentoHeaderReloadButton {\n title: string;\n event?: (event: Event) => void;\n state?: `${BentoLoadingButtonState}`;\n}\n","<template>\n <header class=\"b-header\" :class=\"conditionalClasses\">\n <div class=\"b-header__wrapper\">\n <div class=\"b-header__title\">\n <div>\n <bento-typography v-bind=\"typography\" class=\"b-header__text\">{{ title }}</bento-typography>\n <info-icon-with-popover\n v-if=\"infoIconTooltipText || hasSlot('infoIconTooltipContent')\"\n class=\"b-header__tooltip\"\n :popover-text=\"infoIconTooltipText\"\n >\n <template v-if=\"hasSlot('infoIconTooltipContent')\" #default\n ><slot name=\"infoIconTooltipContent\"\n /></template>\n </info-icon-with-popover>\n </div>\n </div>\n <header-meta\n v-if=\"description || hasSlot('description') || lastUpdated\"\n class=\"b-header__meta-container\"\n :description=\"description\"\n :last-updated=\"lastUpdated\"\n :reload-button=\"reloadButton\"\n >\n <template v-if=\"hasSlot('description')\" #description><slot name=\"description\" /></template>\n </header-meta>\n <button-actions-with-menu\n v-if=\"actions\"\n :actions=\"actions\"\n :displayed-actions=\"2\"\n class=\"b-header__actions\"\n />\n </div>\n </header>\n</template>\n\n<script lang=\"ts\">\n import { computed, defineComponent, type PropType } from 'vue';\n import { InfoIconWithPopover } from '@/internal';\n import { type BentoButtonActionsList } from '@/components/button';\n import { useHasSlot } from '@/composables';\n import { type BentoHeaderReloadButton, BentoHeaderVariant } from './header.types';\n import { BentoTypography, BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';\n import { HeaderMeta } from '@/internal/header-meta';\n import ButtonActionsWithMenu from '../internal/button-actions-with-menu/button-actions-with-menu.vue';\n\n export default defineComponent({\n name: 'bento-header',\n components: {\n BentoTypography,\n ButtonActionsWithMenu,\n InfoIconWithPopover,\n HeaderMeta,\n },\n props: {\n /**\n * Array of BentoButtonActionsList to show to the right of the title\n */\n actions: {\n type: Array as PropType<BentoButtonActionsList>,\n default: null,\n },\n\n /**\n * Text showed under the title\n */\n description: { type: String, default: null },\n\n /**\n * Text showed in the info-icon tooltip on hover\n */\n infoIconTooltipText: { type: InfoIconWithPopover.props.popoverText.type, default: null },\n\n /**\n * Popover position of the info icon text.\n */\n infoIconPopoverPosition: {\n type: InfoIconWithPopover.props.popoverPosition.type,\n default: InfoIconWithPopover.props.popoverPosition.default,\n validator: InfoIconWithPopover.props.popoverPosition.validator,\n },\n\n /**\n * JavaScript \"Date\" object for when the content was last updated\n */\n lastUpdated: { type: [Date, Number], default: null },\n\n /**\n * Variant represents type of Header\n * @values page, component\n */\n variant: {\n type: String as PropType<BentoHeaderVariant | `${BentoHeaderVariant}`>,\n default: BentoHeaderVariant.PAGE,\n validator: (value: BentoHeaderVariant) => Object.values(BentoHeaderVariant).includes(value),\n },\n\n /**\n * Text used as a title\n */\n title: { type: String, required: true },\n\n /**\n * Reload button which shows next to the header's timestamp\n * {@see BentoHeaderReloadButton}\n */\n reloadButton: {\n type: Object as PropType<BentoHeaderReloadButton>,\n default: null,\n },\n },\n emits: ['reload'],\n setup(props, { slots }) {\n const conditionalClasses = computed(() => ({\n 'b-header--component': props.variant === BentoHeaderVariant.COMPONENT,\n }));\n\n const typography = computed(() => ({\n el: props.variant === BentoHeaderVariant.PAGE ? BentoTypographyElement.H1 : BentoTypographyElement.H2,\n variant: BentoTypographyVariant.TITLE,\n medium: props.variant === BentoHeaderVariant.COMPONENT,\n large: props.variant === BentoHeaderVariant.PAGE,\n }));\n return {\n hasSlot: useHasSlot(slots),\n conditionalClasses,\n typography,\n };\n },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./header.scss\" />\n"],"names":["BentoHeaderVariant","BentoHeaderVariant2","_sfc_main","defineComponent","BentoTypography","ButtonActionsWithMenu","InfoIconWithPopover","HeaderMeta","value","props","slots","conditionalClasses","computed","typography","BentoTypographyElement","BentoTypographyVariant","useHasSlot","_component_button_actions_with_menu","resolveComponent","normalizeClass","_ctx","createElementVNode","_hoisted_2","createVNode","_component_bento_typography","mergeProps","withCtx","createTextVNode","toDisplayString","infoIconTooltipText","openBlock","createBlock","_component_info_icon_with_popover","createSlots","renderSlot","createCommentVNode","description","_component_header_meta","reloadButton"],"mappings":";;;;;;;AAKY,IAAAA,IAAA,kBAAAC,OACRA,EAAA,OAAA,QACAA,EAAA,YAAA,aAFQA,IAAAD,KAAA,CAAA,CAAA;ACyCR,MAAAE,IAAAC,EAAA;AAAA,EAA+B,MAAA;AAAA,EACrB,YAAA;AAAA,IACM,iBAAAC;AAAA,IACR,uBAAAC;AAAA,IACA,qBAAAC;AAAA,IACA,YAAAC;AAAA,EACA;AAAA,EACJ,OAAA;AAAA;AAAA;AAAA;AAAA,IACO,SAAA;AAAA,MAIM,MAAA;AAAA,MACC,SAAA;AAAA,IACG;AAAA;AAAA;AAAA;AAAA,IACb,aAAA,EAAA,MAAA,QAAA,SAAA,KAAA;AAAA;AAAA;AAAA;AAAA,IAK2C,qBAAA,EAAA,MAAAD,EAAA,MAAA,YAAA,MAAA,SAAA,KAAA;AAAA;AAAA;AAAA;AAAA,IAK4C,yBAAA;AAAA,MAK9D,MAAAA,EAAA,MAAA,gBAAA;AAAA,MAC2B,SAAAA,EAAA,MAAA,gBAAA;AAAA,MACG,WAAAA,EAAA,MAAA,gBAAA;AAAA,IACE;AAAA;AAAA;AAAA;AAAA,IACzD,aAAA,EAAA,MAAA,CAAA,MAAA,MAAA,GAAA,SAAA,KAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAKmD,SAAA;AAAA,MAM1C,MAAA;AAAA,MACC,SAAAN,EAAA;AAAA,MACsB,WAAA,CAAAQ,MAAA,OAAA,OAAAR,CAAA,EAA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ponent as r, withDirectives as p, createElementBlock as a, openBlock as l, createVNode as m, unref as e } from "vue";
2
2
  import { d as c } from "./popper-container.Uod3yjsR.js";
3
- import { b as f } from "./tooltip.Dp9_ESm_.js";
3
+ import { b as f } from "./tooltip.CeX5eGnw.js";
4
4
  import { I as _ } from "./info.BKwey1HA.js";
5
5
  import { _ as u } from "./_plugin-vue_export-helper.CHgC5LLL.js";
6
6
  import "../assets/info-icon.css";
@@ -32,4 +32,4 @@ const d = ["aria-label"], b = {
32
32
  export {
33
33
  k as B
34
34
  };
35
- //# sourceMappingURL=info-icon.BhOm72U4.js.map
35
+ //# sourceMappingURL=info-icon.DB0MI-dH.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"info-icon.BhOm72U4.js","sources":["../../../vue2/src/components/info-icon/info-icon.vue"],"sourcesContent":["<template>\n <span\n v-bento-tooltip-directive:[tooltipPosition]=\"tooltipText\"\n :aria-label=\"tooltipText\"\n class=\"b-info-icon\"\n @mouseenter=\"emit('mouseenter', $event)\"\n >\n <info-icon :svg-title=\"tooltipText\" class=\"b-info-icon__svg\" />\n </span>\n</template>\n\n<script setup lang=\"ts\">\n import { PopperContainerPosition } from '@/components/popper-container';\n import { BentoTooltipDirective as vBentoTooltipDirective } from '@/directives';\n import { type BentoInfoIconProps } from './info-icon.types';\n import InfoIcon from '@adyen/ui-assets-icons-16/vue/info';\n\n withDefaults(defineProps<BentoInfoIconProps>(), {\n tooltipPosition: PopperContainerPosition.AUTO,\n });\n\n const emit = defineEmits<{\n /**\n * Emitted when the mouse pointer enters the component.\n */\n (e: 'mouseenter', event: MouseEvent): void;\n }>();\n</script>\n\n<script lang=\"ts\">\n /**\n * @example\n * <template>\n * <bento-info-icon tooltip-text=\"Text on hover\" />\n * </template>\n *\n * <script setup lang=\"ts\">\n * import { BentoInfoIcon } from '@adyen/bento-vue2';\n * </scrip>\n */\n export default {\n name: 'bento-info-icon',\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./info-icon.scss\" />\n"],"names":["__default__","emit","__emit"],"mappings":";;;;;;0BAwCIA,IAAA;AAAA,EAAe,MAAA;AAEf;;;;;;;;AArBA,UAAAC,IAAAC;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"info-icon.DB0MI-dH.js","sources":["../../../vue2/src/components/info-icon/info-icon.vue"],"sourcesContent":["<template>\n <span\n v-bento-tooltip-directive:[tooltipPosition]=\"tooltipText\"\n :aria-label=\"tooltipText\"\n class=\"b-info-icon\"\n @mouseenter=\"emit('mouseenter', $event)\"\n >\n <info-icon :svg-title=\"tooltipText\" class=\"b-info-icon__svg\" />\n </span>\n</template>\n\n<script setup lang=\"ts\">\n import { PopperContainerPosition } from '@/components/popper-container';\n import { BentoTooltipDirective as vBentoTooltipDirective } from '@/directives';\n import { type BentoInfoIconProps } from './info-icon.types';\n import InfoIcon from '@adyen/ui-assets-icons-16/vue/info';\n\n withDefaults(defineProps<BentoInfoIconProps>(), {\n tooltipPosition: PopperContainerPosition.AUTO,\n });\n\n const emit = defineEmits<{\n /**\n * Emitted when the mouse pointer enters the component.\n */\n (e: 'mouseenter', event: MouseEvent): void;\n }>();\n</script>\n\n<script lang=\"ts\">\n /**\n * @example\n * <template>\n * <bento-info-icon tooltip-text=\"Text on hover\" />\n * </template>\n *\n * <script setup lang=\"ts\">\n * import { BentoInfoIcon } from '@adyen/bento-vue2';\n * </scrip>\n */\n export default {\n name: 'bento-info-icon',\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./info-icon.scss\" />\n"],"names":["__default__","emit","__emit"],"mappings":";;;;;;0BAwCIA,IAAA;AAAA,EAAe,MAAA;AAEf;;;;;;;;AArBA,UAAAC,IAAAC;;;;;;;;;;;;;;;"}
@@ -1,38 +1,39 @@
1
- import { defineComponent as ye, useAttrs as Ee, ref as r, provide as we, computed as v, watch as W, createElementBlock as R, openBlock as s, createVNode as A, createBlock as f, createCommentVNode as b, unref as i, mergeProps as Ce, createSlots as Re, withCtx as c, renderSlot as ae, Fragment as te, createTextVNode as L, toDisplayString as k, createElementVNode as U, normalizeClass as ie, renderList as Le } from "vue";
2
- import { B as Te } from "./button.DhcxX2GJ.js";
3
- import { _ as Ie } from "./image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js";
4
- import { B as Oe } from "./input-field.B6nL7d8O.js";
5
- import { h as Se } from "./button-actions.BQ3AFQqt.js";
6
- import { B as F } from "./typography.yBEME_Gu.js";
7
- import { C as Pe } from "./checkmark-circle-fill._6-d40ru.js";
1
+ import { defineComponent as we, useAttrs as Ee, ref as r, provide as Ce, computed as v, watch as D, createElementBlock as R, openBlock as n, createVNode as P, createBlock as f, createCommentVNode as b, unref as i, mergeProps as Re, createSlots as Le, withCtx as c, renderSlot as ae, Fragment as te, createTextVNode as L, toDisplayString as k, createElementVNode as U, normalizeClass as ie, renderList as Te } from "vue";
2
+ import { B as Ie } from "./button.DhcxX2GJ.js";
3
+ import { _ as Ve } from "./image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js";
4
+ import { B as Oe } from "./input-field.C9ABE4cI.js";
5
+ import { g as Se } from "./button-actions.Bg38lywL.js";
6
+ import { d as Pe, B as W } from "./typography.yBEME_Gu.js";
7
+ import { C as Ue } from "./checkmark-circle-fill._6-d40ru.js";
8
8
  import { D as Ae } from "./dot.ob6N-5Um.js";
9
- import { S as Ue, H as Ve } from "./show.CT4Augxb.js";
10
- import { e as qe, w as Ne } from "./index.E60QniEu.js";
11
- import { u as Me } from "./index.pdBj0KQU.js";
9
+ import { S as qe, H as Ne } from "./show.CT4Augxb.js";
10
+ import { e as Me, w as Be } from "./index.E60QniEu.js";
11
+ import { u as He } from "./index.pdBj0KQU.js";
12
12
  import { g as le } from "./generate-uid.NJ8tVoha.js";
13
- import { b as He } from "./dropdown.CdsjtT9_.js";
14
- import { T as Be } from "./tooltip.Dp9_ESm_.js";
15
- import { _ as De } from "./_plugin-vue_export-helper.CHgC5LLL.js";
13
+ import { u as Fe } from "./form-field.D_2g7vaP.js";
14
+ import { b as De } from "./dropdown.B5tPWVxg.js";
15
+ import { T as We } from "./tooltip.CeX5eGnw.js";
16
+ import { _ as xe } from "./_plugin-vue_export-helper.CHgC5LLL.js";
16
17
  import "../assets/input-field-password.css";
17
- var T = /* @__PURE__ */ ((a) => (a.TEXT = "text", a.PASSWORD = "password", a))(T || {}), y = /* @__PURE__ */ ((a) => (a.MIN_LENGTH = "minLength", a.REQUIRE_LOWERCASE = "requireLowercase", a.REQUIRE_NUMERIC = "requireNumeric", a.REQUIRE_SPECIAL_CHARACTER = "requireSpecialCharacter", a.REQUIRE_UPPERCASE = "requireUppercase", a))(y || {});
18
- const We = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='capslock'%3e%3cg%20id='Union'%3e%3cpath%20d='M13.75%205.63952L8%201.03952L2.25%205.63952V7.74999H4.75V11.75H11.25V7.74999H13.75V5.63952ZM6.25%206.24999H3.88809L8%202.96046L12.1119%206.24999H9.75V10.25H6.25V6.24999Z'%20fill='%2300112C'/%3e%3cpath%20d='M11.25%2014.75V13.25H4.75V14.75H11.25Z'%20fill='%2300112C'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e";
19
- function I(a) {
20
- return (a == null ? void 0 : a.toString()) ?? "";
18
+ var T = /* @__PURE__ */ ((t) => (t.TEXT = "text", t.PASSWORD = "password", t))(T || {}), y = /* @__PURE__ */ ((t) => (t.MIN_LENGTH = "minLength", t.REQUIRE_LOWERCASE = "requireLowercase", t.REQUIRE_NUMERIC = "requireNumeric", t.REQUIRE_SPECIAL_CHARACTER = "requireSpecialCharacter", t.REQUIRE_UPPERCASE = "requireUppercase", t))(y || {});
19
+ const Qe = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='capslock'%3e%3cg%20id='Union'%3e%3cpath%20d='M13.75%205.63952L8%201.03952L2.25%205.63952V7.74999H4.75V11.75H11.25V7.74999H13.75V5.63952ZM6.25%206.24999H3.88809L8%202.96046L12.1119%206.24999H9.75V10.25H6.25V6.24999Z'%20fill='%2300112C'/%3e%3cpath%20d='M11.25%2014.75V13.25H4.75V14.75H11.25Z'%20fill='%2300112C'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e";
20
+ function I(t) {
21
+ return (t == null ? void 0 : t.toString()) ?? "";
21
22
  }
22
- function Fe(a, V = 12) {
23
- return I(a).length >= V;
23
+ function Ze(t, A = 12) {
24
+ return I(t).length >= A;
24
25
  }
25
- function xe(a) {
26
- return /[a-z]/.test(I(a));
26
+ function ze(t) {
27
+ return /[a-z]/.test(I(t));
27
28
  }
28
- function Qe(a) {
29
- return /[A-Z]/.test(I(a));
29
+ function Xe(t) {
30
+ return /[A-Z]/.test(I(t));
30
31
  }
31
- function Ze(a) {
32
- return /\d/.test(I(a));
32
+ function $e(t) {
33
+ return /\d/.test(I(t));
33
34
  }
34
- function ze(a) {
35
- return /[^a-zA-Z0-9]/.test(I(a));
35
+ function Ge(t) {
36
+ return /[^a-zA-Z0-9]/.test(I(t));
36
37
  }
37
38
  const oe = {
38
39
  "en-US": {
@@ -74,20 +75,22 @@ const oe = {
74
75
  validationSuggestion: "Evite símbolos de moeda ou letras acentuadas.",
75
76
  validationTitle: "A senha deve conter pelo menos:"
76
77
  }
77
- }, Xe = ["id"], $e = {
78
+ }, Ke = ["id"], Je = {
78
79
  key: 1,
79
80
  class: "b-input-field-password__validation-status--valid",
80
81
  role: "alert"
81
- }, Ge = ["id"], Ke = { class: "b-input-field-password__validation-list-icon" }, Je = 12, Ye = 500, je = 2e3, ea = 2e3, aa = {
82
+ }, Ye = ["id"], je = { class: "b-input-field-password__validation-list-icon" }, ea = 12, aa = 500, ta = 2e3, ia = 2e3, la = {
82
83
  i18n: { messages: oe },
83
- name: "bento-input-field-password"
84
- }, ta = /* @__PURE__ */ ye({
85
- ...aa,
84
+ name: "bento-input-field-password",
85
+ model: { prop: "modelValue" }
86
+ }, oa = /* @__PURE__ */ we({
87
+ ...la,
86
88
  props: {
87
89
  condensed: { type: Boolean, default: !1 },
88
- debounceTime: { default: Ye },
90
+ debounceTime: { default: aa },
89
91
  disableValidation: { type: Boolean, default: !1 },
90
92
  value: { default: void 0 },
93
+ modelValue: { default: void 0 },
91
94
  validation: { default: void 0 },
92
95
  withHint: { type: Boolean, default: !0 },
93
96
  description: { default: null },
@@ -100,73 +103,73 @@ const oe = {
100
103
  required: { type: Boolean, default: !1 },
101
104
  tooltipText: { default: null }
102
105
  },
103
- emits: ["blur", "focus", "input:valid", "input:error", "input"],
104
- setup(a, { emit: V }) {
105
- const { t: o, n: E } = Me({ messages: oe }), t = a, w = V, ne = Ee(), O = r(T.PASSWORD), h = r(t.value), x = r(!1), se = r(!1), S = r([]), Q = r({}), _ = r(null), g = r(!1), Z = r(null), q = r(null), N = r(null), M = r(!1);
106
- we(He, "bento-input-field-password");
107
- const { focused: re } = qe(Z), z = le("validationListId"), X = le("validationPopoverId"), H = v(() => O.value === T.TEXT), de = v(
108
- () => S.value.map(
106
+ emits: ["blur", "focus", "input:valid", "input:error", "input", "update:model-value"],
107
+ setup(t, { emit: A }) {
108
+ const { t: o, n: w } = He({ messages: oe }), a = t, E = A, se = Ee(), V = r(T.PASSWORD), h = r(a.modelValue ?? a.value), x = r(!1), ne = r(!1), O = r([]), Q = r({}), g = r(null), _ = r(!1), Z = r(null), q = r(null), N = r(null), M = r(!1);
109
+ Ce(De, "bento-input-field-password");
110
+ const { focused: re } = Me(Z), { emitValue: de } = Fe(E), z = le("validationListId"), X = le("validationPopoverId"), B = v(() => V.value === T.TEXT), ue = v(
111
+ () => O.value.map(
109
112
  (e) => e ? "b-input-field-password__validation-list--valid" : "b-input-field-password__validation-list--invalid"
110
113
  )
111
- ), ue = v(
112
- () => _.value ? "b-input-field-password__input-tooltip--timed" : ""
113
- ), ce = v(() => ({
114
+ ), ce = v(
115
+ () => g.value ? "b-input-field-password__input-tooltip--timed" : ""
116
+ ), pe = v(() => ({
114
117
  ariaHidden: !1,
115
- condensed: t.condensed,
116
- disabled: t.disabled,
117
- errorMessage: t.errorMessage,
118
- optional: t.optional,
119
- placeholder: t.placeholder,
120
- readonly: t.readonly,
121
- required: t.required,
122
- tooltipText: t.tooltipText,
123
- type: O.value,
124
- value: h.value,
125
- "aria-haspopup": B.value ? "dialog" : !1,
126
- "aria-describedby": B.value ? X : "",
127
- ...ne
118
+ condensed: a.condensed,
119
+ disabled: a.disabled,
120
+ errorMessage: a.errorMessage,
121
+ optional: a.optional,
122
+ placeholder: a.placeholder,
123
+ readonly: a.readonly,
124
+ required: a.required,
125
+ tooltipText: a.tooltipText,
126
+ type: V.value,
127
+ modelValue: h.value,
128
+ "aria-haspopup": H.value ? "dialog" : !1,
129
+ "aria-describedby": H.value ? X : "",
130
+ ...se
128
131
  })), m = v(() => {
129
- var p, d, n, C, P, Y;
130
- if (t.validation && !t.validation.extendDefaultValidation)
131
- return t.validation;
132
+ var p, d, s, C, S, Y;
133
+ if (a.validation && !a.validation.extendDefaultValidation)
134
+ return a.validation;
132
135
  const e = [
133
136
  {
134
- label: o("validationMinLength", { numberOfCharacters: E(Je) }),
137
+ label: o("validationMinLength", { numberOfCharacters: w(ea) }),
135
138
  key: y.MIN_LENGTH,
136
- validate: Fe
139
+ validate: Ze
137
140
  },
138
141
  {
139
- label: o("validationRequireLowercase", { numberOne: E(1) }),
142
+ label: o("validationRequireLowercase", { numberOne: w(1) }),
140
143
  key: y.REQUIRE_LOWERCASE,
141
- validate: xe
144
+ validate: ze
142
145
  },
143
146
  {
144
- label: o("validationRequireUppercase", { numberOne: E(1) }),
147
+ label: o("validationRequireUppercase", { numberOne: w(1) }),
145
148
  key: y.REQUIRE_UPPERCASE,
146
- validate: Qe
149
+ validate: Xe
147
150
  },
148
151
  {
149
- label: o("validationRequireNumeric", { numberOne: E(1) }),
152
+ label: o("validationRequireNumeric", { numberOne: w(1) }),
150
153
  key: y.REQUIRE_NUMERIC,
151
- validate: Ze
154
+ validate: $e
152
155
  },
153
156
  {
154
- label: o("validationRequireSpecialCharacter", { numberOne: E(1) }),
157
+ label: o("validationRequireSpecialCharacter", { numberOne: w(1) }),
155
158
  key: y.REQUIRE_SPECIAL_CHARACTER,
156
- validate: ze
159
+ validate: Ge
157
160
  }
158
161
  ];
159
162
  let l = e;
160
- if (t.validation) {
161
- const _e = e.map((u) => u.key), D = (d = (p = t.validation) == null ? void 0 : p.list) == null ? void 0 : d.map((u) => u.key), ge = ((C = (n = t.validation) == null ? void 0 : n.list) == null ? void 0 : C.filter((u) => !_e.includes(u.key))) ?? [];
163
+ if (a.validation) {
164
+ const _e = e.map((u) => u.key), F = (d = (p = a.validation) == null ? void 0 : p.list) == null ? void 0 : d.map((u) => u.key), ke = ((C = (s = a.validation) == null ? void 0 : s.list) == null ? void 0 : C.filter((u) => !_e.includes(u.key))) ?? [];
162
165
  l = [...e.map((u) => {
163
166
  var j, ee;
164
- return D != null && D.includes(u.key) ? (ee = (j = t.validation) == null ? void 0 : j.list) == null ? void 0 : ee.find((ke) => ke.key === u.key) : u;
165
- }), ...ge];
167
+ return F != null && F.includes(u.key) ? (ee = (j = a.validation) == null ? void 0 : j.list) == null ? void 0 : ee.find((ye) => ye.key === u.key) : u;
168
+ }), ...ke];
166
169
  }
167
170
  return {
168
- title: ((P = t.validation) == null ? void 0 : P.title) ?? o("validationTitle"),
169
- suggestion: ((Y = t.validation) == null ? void 0 : Y.suggestion) ?? o("validationSuggestion"),
171
+ title: ((S = a.validation) == null ? void 0 : S.title) ?? o("validationTitle"),
172
+ suggestion: ((Y = a.validation) == null ? void 0 : Y.suggestion) ?? o("validationSuggestion"),
170
173
  list: l
171
174
  };
172
175
  }), $ = v(() => {
@@ -174,78 +177,83 @@ const oe = {
174
177
  return (l = (e = m.value) == null ? void 0 : e.list) == null ? void 0 : l.filter((p) => !p.disabled);
175
178
  }), G = v(() => {
176
179
  var e;
177
- return (e = S.value) == null ? void 0 : e.some((l) => !l);
178
- }), B = v(
180
+ return (e = O.value) == null ? void 0 : e.some((l) => !l);
181
+ }), H = v(
179
182
  () => {
180
183
  var e, l;
181
184
  return q.value && ((l = (e = m.value) == null ? void 0 : e.list) == null ? void 0 : l.length) > 0;
182
185
  }
183
186
  ), K = (e) => {
184
187
  typeof e.getModifierState == "function" && (M.value = e.getModifierState("CapsLock"));
185
- }, pe = () => {
186
- H.value ? O.value = T.PASSWORD : O.value = T.TEXT;
187
- }, ve = (e) => {
188
- t.disabled || (h.value = e, w("input", h.value));
189
- }, fe = () => {
190
- w("focus");
188
+ }, ve = () => {
189
+ B.value ? V.value = T.PASSWORD : V.value = T.TEXT;
190
+ }, fe = (e) => {
191
+ a.disabled || (h.value = e, de(h.value));
191
192
  }, me = () => {
192
- w("blur");
193
+ E("focus");
194
+ }, be = () => {
195
+ E("blur");
193
196
  }, J = (e) => {
194
197
  var d;
195
- const l = (d = $.value) == null ? void 0 : d.map((n) => ({
196
- key: n.key,
197
- label: n.label,
198
- isValid: n.validate(e, ...n.additionalArgs ?? [])
198
+ const l = (d = $.value) == null ? void 0 : d.map((s) => ({
199
+ key: s.key,
200
+ label: s.label,
201
+ isValid: s.validate(e, ...s.additionalArgs ?? [])
199
202
  }));
200
203
  let p = 1;
201
- S.value = l == null ? void 0 : l.map((n) => n.isValid), Q.value = l == null ? void 0 : l.filter((n) => !n.isValid).reduce((n, C) => {
202
- const P = C.key ?? `custom-rule-${p++}`;
204
+ O.value = l == null ? void 0 : l.map((s) => s.isValid), Q.value = l == null ? void 0 : l.filter((s) => !s.isValid).reduce((s, C) => {
205
+ const S = C.key ?? `custom-rule-${p++}`;
203
206
  return {
204
- ...n,
205
- [P]: C.label
207
+ ...s,
208
+ [S]: C.label
206
209
  };
207
210
  }, {});
208
- }, be = () => {
209
- g.value = !1, _.value = null;
210
211
  }, he = () => {
211
- g.value = !0;
212
+ _.value = !1, g.value = null;
213
+ }, ge = () => {
214
+ _.value = !0;
212
215
  };
213
- return W(
214
- () => t.value,
215
- (e) => {
216
- h.value = e;
216
+ return D(
217
+ () => [a.value, a.modelValue],
218
+ () => {
219
+ h.value = a.modelValue ?? a.value;
217
220
  }
218
- ), W(re, (e) => {
219
- e || (se.value = !0), t.disableValidation || (t.withHint && (x.value = e), J(h.value));
220
- }), W(M, (e) => {
221
- e ? (g.value = !0, _.value = setTimeout(() => {
222
- _.value = null, g.value = !1;
223
- }, ea)) : (clearTimeout(_.value), _.value = null, g.value = !1);
224
- }), Ne(
221
+ ), D(re, (e) => {
222
+ e || (ne.value = !0), a.disableValidation || (a.withHint && (x.value = e), J(h.value));
223
+ }), D(M, (e) => {
224
+ e ? (_.value = !0, g.value = setTimeout(() => {
225
+ g.value = null, _.value = !1;
226
+ }, ia)) : (clearTimeout(g.value), g.value = null, _.value = !1);
227
+ }), Be(
225
228
  h,
226
229
  (e) => {
227
- J(e), G.value ? w("input:error", Q.value) : w("input:valid");
230
+ J(e), G.value ? E("input:error", Q.value) : E("input:valid");
228
231
  },
229
232
  // wait for 0.5s before checking validity OR 2s of continuous typing
230
- { debounce: t.debounceTime, maxWait: je }
231
- ), (e, l) => (s(), R("div", {
233
+ { debounce: a.debounceTime, maxWait: ta }
234
+ ), a.value && Pe(
235
+ 'BentoInputFieldPassword "value" property',
236
+ `The use of "value" prop in "BentoInputFieldPassword" is no longer supported.
237
+ Use the "v-model" or "model-value" property instead.`,
238
+ "2.0.0"
239
+ ), (e, l) => (n(), R("div", {
232
240
  ref_key: "inputFieldPasswordRef",
233
241
  ref: Z
234
242
  }, [
235
- A(i(Oe), Ce({
243
+ P(i(Oe), Re({
236
244
  ref_key: "inputFieldPasswordInputRef",
237
245
  ref: q
238
- }, ce.value, {
246
+ }, pe.value, {
239
247
  class: "b-input-field-password__input",
240
248
  spellcheck: "false",
241
- onBlur: me,
242
- onFocus: fe,
243
- onInput: ve,
249
+ onBlur: be,
250
+ onFocus: me,
251
+ "onUpdate:modelValue": fe,
244
252
  onKeydown: K,
245
253
  onKeyup: K
246
- }), Re({
254
+ }), Le({
247
255
  default: c(() => [
248
- e.label ? (s(), R(te, { key: 0 }, [
256
+ e.label ? (n(), R(te, { key: 0 }, [
249
257
  L(k(e.label), 1)
250
258
  ], 64)) : ae(e.$slots, "default", { key: 1 }, void 0, !0)
251
259
  ]),
@@ -265,23 +273,23 @@ const oe = {
265
273
  fn: c(() => [
266
274
  U("div", {
267
275
  class: "b-input-field-password__caps-lock-indicator",
268
- onMouseenter: he,
269
- onMouseleave: be
276
+ onMouseenter: ge,
277
+ onMouseleave: he
270
278
  }, [
271
- A(i(Ie), {
279
+ P(i(Ve), {
272
280
  ref_key: "inputFieldPasswordCapsLockIconRef",
273
281
  ref: N,
274
- src: i(We),
282
+ src: i(Qe),
275
283
  alt: i(o)("capsLockEnabled")
276
284
  }, null, 8, ["src", "alt"])
277
285
  ], 32),
278
- N.value ? (s(), f(i(Be), {
286
+ N.value ? (n(), f(i(We), {
279
287
  key: 0,
280
- class: ie(ue.value),
288
+ class: ie(ce.value),
281
289
  content: i(o)("capsLockEnabled"),
282
290
  "disabled-focus-trap": !0,
283
291
  "fallback-position": ["top", "bottom"],
284
- "is-shown": g.value,
292
+ "is-shown": _.value,
285
293
  "target-element": N.value
286
294
  }, null, 8, ["class", "content", "is-shown", "target-element"])) : b("", !0)
287
295
  ]),
@@ -290,16 +298,16 @@ const oe = {
290
298
  e.disabled ? void 0 : {
291
299
  name: "iconAfter",
292
300
  fn: c(() => [
293
- A(i(Te), {
301
+ P(i(Ie), {
294
302
  variant: "tertiary",
295
- onClick: pe
303
+ onClick: ve
296
304
  }, {
297
305
  iconLeft: c(() => [
298
- H.value ? b("", !0) : (s(), f(i(Ue), {
306
+ B.value ? b("", !0) : (n(), f(i(qe), {
299
307
  key: 0,
300
308
  "svg-title": i(o)("showPassword")
301
309
  }, null, 8, ["svg-title"])),
302
- H.value ? (s(), f(i(Ve), {
310
+ B.value ? (n(), f(i(Ne), {
303
311
  key: 1,
304
312
  "svg-title": i(o)("hidePassword")
305
313
  }, null, 8, ["svg-title"])) : b("", !0)
@@ -310,7 +318,7 @@ const oe = {
310
318
  key: "2"
311
319
  }
312
320
  ]), 1040),
313
- B.value ? (s(), f(i(Se), {
321
+ H.value ? (n(), f(i(Se), {
314
322
  key: 0,
315
323
  open: x.value,
316
324
  "target-element": q.value,
@@ -321,7 +329,7 @@ const oe = {
321
329
  }, {
322
330
  default: c(() => [
323
331
  U("div", { id: i(X) }, [
324
- m.value.title ? (s(), f(i(F), {
332
+ m.value.title ? (n(), f(i(W), {
325
333
  key: 0,
326
334
  class: "b-input-field-password__validation-title"
327
335
  }, {
@@ -330,27 +338,27 @@ const oe = {
330
338
  ]),
331
339
  _: 1
332
340
  })) : b("", !0),
333
- G.value ? b("", !0) : (s(), R("p", $e, k(i(o)("validationValid")), 1)),
341
+ G.value ? b("", !0) : (n(), R("p", Je, k(i(o)("validationValid")), 1)),
334
342
  U("ul", {
335
343
  id: i(z),
336
344
  class: "b-input-field-password__validation-list"
337
345
  }, [
338
- (s(!0), R(te, null, Le($.value, (p, d) => (s(), R("li", {
346
+ (n(!0), R(te, null, Te($.value, (p, d) => (n(), R("li", {
339
347
  key: d,
340
- class: ie(de.value[d]),
348
+ class: ie(ue.value[d]),
341
349
  "aria-live": "polite",
342
350
  "aria-atomic": "true"
343
351
  }, [
344
- U("span", Ke, [
345
- S.value[d] ? (s(), f(i(Pe), {
352
+ U("span", je, [
353
+ O.value[d] ? (n(), f(i(Ue), {
346
354
  key: 0,
347
355
  "svg-title": i(o)("validationChecked")
348
- }, null, 8, ["svg-title"])) : (s(), f(i(Ae), {
356
+ }, null, 8, ["svg-title"])) : (n(), f(i(Ae), {
349
357
  key: 1,
350
358
  "svg-title": i(o)("validationUnchecked")
351
359
  }, null, 8, ["svg-title"]))
352
360
  ]),
353
- A(i(F), {
361
+ P(i(W), {
354
362
  class: "b-input-field-password__validation-list-text",
355
363
  el: "span"
356
364
  }, {
@@ -360,8 +368,8 @@ const oe = {
360
368
  _: 2
361
369
  }, 1024)
362
370
  ], 2))), 128))
363
- ], 8, Ge),
364
- m.value.suggestion ? (s(), f(i(F), {
371
+ ], 8, Ye),
372
+ m.value.suggestion ? (n(), f(i(W), {
365
373
  key: 2,
366
374
  class: "b-input-field-password__validation-suggestion"
367
375
  }, {
@@ -370,19 +378,19 @@ const oe = {
370
378
  ]),
371
379
  _: 1
372
380
  })) : b("", !0)
373
- ], 8, Xe)
381
+ ], 8, Ke)
374
382
  ]),
375
383
  _: 1
376
384
  }, 8, ["open", "target-element", "aria-label", "aria-describedby"])) : b("", !0)
377
385
  ], 512));
378
386
  }
379
- }), ka = /* @__PURE__ */ De(ta, [["__scopeId", "data-v-5ff7942d"]]);
387
+ }), Ca = /* @__PURE__ */ xe(oa, [["__scopeId", "data-v-e079f788"]]);
380
388
  export {
381
- Qe as a,
382
- Ze as b,
383
- ze as c,
384
- ka as i,
385
- Fe as m,
386
- xe as r
389
+ Xe as a,
390
+ $e as b,
391
+ Ge as c,
392
+ Ca as i,
393
+ Ze as m,
394
+ ze as r
387
395
  };
388
- //# sourceMappingURL=input-field-password.-xEY2VB8.js.map
396
+ //# sourceMappingURL=input-field-password.noxsH61p.js.map