@adyen/bento-vue3 1.46.0 → 1.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@types/index.d.ts +124 -45
- package/dist/accordion.js +1 -1
- package/dist/action-bar.js +1 -1
- package/dist/alert.js +1 -1
- package/dist/assets/accordion-item.css +1 -1
- package/dist/assets/action-bar.css +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/calendar.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/date-picker.css +1 -1
- package/dist/assets/date-range-picker.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/divider.css +1 -1
- package/dist/assets/file-uploader.css +1 -1
- package/dist/assets/input-field-password.css +1 -1
- package/dist/assets/input-field.css +1 -1
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/menu.css +1 -1
- package/dist/assets/modal-fullscreen.css +1 -1
- package/dist/assets/popover.css +1 -1
- package/dist/assets/radio-group.css +1 -1
- package/dist/assets/radio-input.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/status.css +1 -1
- package/dist/avatar.js +1 -1
- package/dist/button.js +3 -3
- package/dist/card.js +1 -1
- package/dist/checkbox.js +3 -3
- package/dist/chunks/{accordion-item.BOftQTUm.js → accordion-item.LeB4jteX.js} +12 -12
- package/dist/chunks/{accordion-item.BOftQTUm.js.map → accordion-item.LeB4jteX.js.map} +1 -1
- package/dist/chunks/{action-bar.DHa6nS5J.js → action-bar.BN-AoRn0.js} +17 -17
- package/dist/chunks/{action-bar.DHa6nS5J.js.map → action-bar.BN-AoRn0.js.map} +1 -1
- package/dist/chunks/{alert.BffQNg4e.js → alert.DTX7XqPC.js} +15 -15
- package/dist/chunks/{alert.BffQNg4e.js.map → alert.DTX7XqPC.js.map} +1 -1
- package/dist/chunks/{avatar.DqdDHXay.js → avatar.B0-9jC6H.js} +3 -3
- package/dist/chunks/{avatar.DqdDHXay.js.map → avatar.B0-9jC6H.js.map} +1 -1
- package/dist/chunks/{base-button.DgHMejMF.js → base-button.DdNFlbgH.js} +9 -9
- package/dist/chunks/{base-button.DgHMejMF.js.map → base-button.DdNFlbgH.js.map} +1 -1
- package/dist/chunks/{base-modal.BP7bUB84.js → base-modal.BsD3EOCY.js} +16 -16
- package/dist/chunks/{base-modal.BP7bUB84.js.map → base-modal.BsD3EOCY.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.DzQQlXXK.js → button-actions-with-menu.CUL1q1Ca.js} +8 -8
- package/dist/chunks/{button-actions-with-menu.DzQQlXXK.js.map → button-actions-with-menu.CUL1q1Ca.js.map} +1 -1
- package/dist/chunks/{button-actions.C8CJcXxS.js → button-actions.DBgK5Qwo.js} +11 -11
- package/dist/chunks/{button-actions.C8CJcXxS.js.map → button-actions.DBgK5Qwo.js.map} +1 -1
- package/dist/chunks/{button.DSnv5X7y.js → button.Cneb6rPP.js} +10 -10
- package/dist/chunks/{button.DSnv5X7y.js.map → button.Cneb6rPP.js.map} +1 -1
- package/dist/chunks/{calendar.DlvMzTO4.js → calendar.CKY08nCx.js} +126 -113
- package/dist/chunks/{calendar.DlvMzTO4.js.map → calendar.CKY08nCx.js.map} +1 -1
- package/dist/chunks/{card.9fQrkeSH.js → card.BUBXMpP5.js} +19 -19
- package/dist/chunks/{card.9fQrkeSH.js.map → card.BUBXMpP5.js.map} +1 -1
- package/dist/chunks/{checkbox-group.Dq57AigF.js → checkbox-group.DOAFzAX-.js} +13 -13
- package/dist/chunks/{checkbox-group.Dq57AigF.js.map → checkbox-group.DOAFzAX-.js.map} +1 -1
- package/dist/chunks/{checkbox-input.D8ZUqd4m.js → checkbox-input.CAYgiRHG.js} +3 -3
- package/dist/chunks/{checkbox-input.D8ZUqd4m.js.map → checkbox-input.CAYgiRHG.js.map} +1 -1
- package/dist/chunks/{checkbox.BphbrpUx.js → checkbox.J51-tG4g.js} +29 -29
- package/dist/chunks/{checkbox.BphbrpUx.js.map → checkbox.J51-tG4g.js.map} +1 -1
- package/dist/chunks/{checkmark-circle-fill.ClIf1E3H.js → checkmark-circle-fill.g_tcBhFJ.js} +4 -4
- package/dist/chunks/{checkmark-circle-fill.ClIf1E3H.js.map → checkmark-circle-fill.g_tcBhFJ.js.map} +1 -1
- package/dist/chunks/{checkmark-small.DEc2T64_.js → checkmark-small.BDqUF-Ni.js} +5 -5
- package/dist/chunks/{checkmark-small.DEc2T64_.js.map → checkmark-small.BDqUF-Ni.js.map} +1 -1
- package/dist/chunks/{chevron-left.NvV5m76j.js → chevron-left.CYEK2UTr.js} +8 -8
- package/dist/chunks/{chevron-left.NvV5m76j.js.map → chevron-left.CYEK2UTr.js.map} +1 -1
- package/dist/chunks/{chevron-up.DQZG_BP3.js → chevron-up.Cu9qXgBY.js} +8 -8
- package/dist/chunks/{chevron-up.DQZG_BP3.js.map → chevron-up.Cu9qXgBY.js.map} +1 -1
- package/dist/chunks/{code-snippet.BXMQTve4.js → code-snippet.CUzz3c-V.js} +31 -31
- package/dist/chunks/{code-snippet.BXMQTve4.js.map → code-snippet.CUzz3c-V.js.map} +1 -1
- package/dist/chunks/{codemirror.OjJ-3ixa.js → codemirror.0fz2cWJS.js} +1355 -1364
- package/dist/chunks/{codemirror.OjJ-3ixa.js.map → codemirror.0fz2cWJS.js.map} +1 -1
- package/dist/chunks/{controls-group.J99mAGhx.js → controls-group.CjqybvY2.js} +11 -11
- package/dist/chunks/{controls-group.J99mAGhx.js.map → controls-group.CjqybvY2.js.map} +1 -1
- package/dist/chunks/{copy.CT8wuwho.js → copy.VRsofU-g.js} +9 -9
- package/dist/chunks/{copy.CT8wuwho.js.map → copy.VRsofU-g.js.map} +1 -1
- package/dist/chunks/{country.CcTaTBE0.js → country.D2t_VEYd.js} +5 -5
- package/dist/chunks/{country.CcTaTBE0.js.map → country.D2t_VEYd.js.map} +1 -1
- package/dist/chunks/{country.types.pilf5B3F.js → country.types.CLjbulKL.js} +4114 -4114
- package/dist/chunks/{country.types.pilf5B3F.js.map → country.types.CLjbulKL.js.map} +1 -1
- package/dist/chunks/{cross-circle-fill-small.BXO78Wde.js → cross-circle-fill-small.CJyARMSZ.js} +5 -5
- package/dist/chunks/{cross-circle-fill-small.BXO78Wde.js.map → cross-circle-fill-small.CJyARMSZ.js.map} +1 -1
- package/dist/chunks/{cross-circle-fill.DN5b3_eL.js → cross-circle-fill.BzSjakuO.js} +4 -4
- package/dist/chunks/{cross-circle-fill.DN5b3_eL.js.map → cross-circle-fill.BzSjakuO.js.map} +1 -1
- package/dist/chunks/{cross-small.CXWTuKA_.js → cross-small.Z5EKYRm0.js} +5 -5
- package/dist/chunks/{cross-small.CXWTuKA_.js.map → cross-small.Z5EKYRm0.js.map} +1 -1
- package/dist/chunks/{cross.OvPfvoqX.js → cross.BZYw4R3N.js} +5 -5
- package/dist/chunks/{cross.OvPfvoqX.js.map → cross.BZYw4R3N.js.map} +1 -1
- package/dist/chunks/{currency.Dz2x17_Q.js → currency.DGX-aejv.js} +3 -3
- package/dist/chunks/{currency.Dz2x17_Q.js.map → currency.DGX-aejv.js.map} +1 -1
- package/dist/chunks/{dashboard-section.C90L1bhS.js → dashboard-section.BAJgkMXW.js} +6 -6
- package/dist/chunks/{dashboard-section.C90L1bhS.js.map → dashboard-section.BAJgkMXW.js.map} +1 -1
- package/dist/chunks/{dashed-underline.BewlZNvL.js → dashed-underline.B_eVv1aB.js} +8 -8
- package/dist/chunks/{dashed-underline.BewlZNvL.js.map → dashed-underline.B_eVv1aB.js.map} +1 -1
- package/dist/chunks/{data-grid-template.DeAeq2Ij.js → data-grid-template.DrwGj6Yq.js} +7 -7
- package/dist/chunks/{data-grid-template.DeAeq2Ij.js.map → data-grid-template.DrwGj6Yq.js.map} +1 -1
- package/dist/chunks/{data-grid.DSPcFy6O.js → data-grid.V4b5UdXZ.js} +66 -66
- package/dist/chunks/{data-grid.DSPcFy6O.js.map → data-grid.V4b5UdXZ.js.map} +1 -1
- package/dist/chunks/{date-picker.wNOf4DoV.js → date-picker.DjuQyWzZ.js} +58 -49
- package/dist/chunks/date-picker.DjuQyWzZ.js.map +1 -0
- package/dist/chunks/{date-range-picker.C4l0Xe9R.js → date-range-picker.CmxXWnBc.js} +346 -342
- package/dist/chunks/date-range-picker.CmxXWnBc.js.map +1 -0
- package/dist/chunks/{date.DVGj7WKQ.js → date.DeaBl297.js} +14 -16
- package/dist/chunks/{date.DVGj7WKQ.js.map → date.DeaBl297.js.map} +1 -1
- package/dist/chunks/{dialog-page.DNwtSB1o.js → dialog-page.CJBSluwk.js} +29 -28
- package/dist/chunks/{dialog-page.DNwtSB1o.js.map → dialog-page.CJBSluwk.js.map} +1 -1
- package/dist/chunks/divider.qUOSAbU6.js +33 -0
- package/dist/chunks/divider.qUOSAbU6.js.map +1 -0
- package/dist/chunks/{dot.pQfhaKda.js → dot.cpdFEk6G.js} +5 -5
- package/dist/chunks/{dot.pQfhaKda.js.map → dot.cpdFEk6G.js.map} +1 -1
- package/dist/chunks/{dropdown-default-textbox.3HzBUxC3.js → dropdown-default-textbox.Dl8Jv2bS.js} +17 -17
- package/dist/chunks/{dropdown-default-textbox.3HzBUxC3.js.map → dropdown-default-textbox.Dl8Jv2bS.js.map} +1 -1
- package/dist/chunks/{dropdown-tag.BRNZ7KIi.js → dropdown-tag.D8hXRrMj.js} +9 -9
- package/dist/chunks/{dropdown-tag.BRNZ7KIi.js.map → dropdown-tag.D8hXRrMj.js.map} +1 -1
- package/dist/chunks/{dropdown.DhvCTlVl.js → dropdown.BWu3fV-K.js} +48 -48
- package/dist/chunks/{dropdown.DhvCTlVl.js.map → dropdown.BWu3fV-K.js.map} +1 -1
- package/dist/chunks/{empty-state.DYfl7gnt.js → empty-state.C2ancCe6.js} +12 -12
- package/dist/chunks/{empty-state.DYfl7gnt.js.map → empty-state.C2ancCe6.js.map} +1 -1
- package/dist/chunks/{error-message.C6QpZ9ux.js → error-message.qsc0nOWT.js} +23 -23
- package/dist/chunks/{error-message.C6QpZ9ux.js.map → error-message.qsc0nOWT.js.map} +1 -1
- package/dist/chunks/{es6.D11bE5vq.js → es6.BtaxuP0b.js} +4 -4
- package/dist/chunks/es6.BtaxuP0b.js.map +1 -0
- package/dist/chunks/{expand.CgwNEbbz.js → expand.CJ162RaJ.js} +4 -4
- package/dist/chunks/{expand.CgwNEbbz.js.map → expand.CJ162RaJ.js.map} +1 -1
- package/dist/chunks/{file-uploader.DiqPKVVt.js → file-uploader.BNGBBltW.js} +24 -24
- package/dist/chunks/{file-uploader.DiqPKVVt.js.map → file-uploader.BNGBBltW.js.map} +1 -1
- package/dist/chunks/{filter-bar.ChU2rr8r.js → filter-bar.Db-KfD-S.js} +90 -90
- package/dist/chunks/{filter-bar.ChU2rr8r.js.map → filter-bar.Db-KfD-S.js.map} +1 -1
- package/dist/chunks/{fixed-scroller.C4zzWgje.js → fixed-scroller.XaGPUsUO.js} +12 -12
- package/dist/chunks/{fixed-scroller.C4zzWgje.js.map → fixed-scroller.XaGPUsUO.js.map} +1 -1
- package/dist/chunks/{focus-trap.DOiVbmpZ.js → focus-trap.CnKbO3b1.js} +8 -8
- package/dist/chunks/{focus-trap.DOiVbmpZ.js.map → focus-trap.CnKbO3b1.js.map} +1 -1
- package/dist/chunks/{footer-actions.Cl2aupkj.js → footer-actions.BG8-pOU-.js} +8 -8
- package/dist/chunks/{footer-actions.Cl2aupkj.js.map → footer-actions.BG8-pOU-.js.map} +1 -1
- package/dist/chunks/{form-layout-title.Du4aY15F.js → form-layout-title._25l9_Xm.js} +4 -4
- package/dist/chunks/{form-layout-title.Du4aY15F.js.map → form-layout-title._25l9_Xm.js.map} +1 -1
- package/dist/chunks/{generate-uid.D-HFI38h.js → generate-uid.NJ8tVoha.js} +2 -2
- package/dist/chunks/{generate-uid.D-HFI38h.js.map → generate-uid.NJ8tVoha.js.map} +1 -1
- package/dist/chunks/{grid-layout.CqLbbEzI.js → grid-layout.BTLE3rac.js} +21 -21
- package/dist/chunks/{grid-layout.CqLbbEzI.js.map → grid-layout.BTLE3rac.js.map} +1 -1
- package/dist/chunks/{header.CUyEq2ER.js → header.vPx_0dwO.js} +65 -65
- package/dist/chunks/{header.CUyEq2ER.js.map → header.vPx_0dwO.js.map} +1 -1
- package/dist/chunks/{i18n.CPGoe9tN.js → i18n.WMYWtwxB.js} +540 -540
- package/dist/chunks/{i18n.CPGoe9tN.js.map → i18n.WMYWtwxB.js.map} +1 -1
- package/dist/chunks/{image.vue_vue_type_script_setup_true_lang.BMoSMeM-.js → image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js} +3 -3
- package/dist/chunks/{image.vue_vue_type_script_setup_true_lang.BMoSMeM-.js.map → image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js.map} +1 -1
- package/dist/chunks/{index.BHiMheJx.js → index.BMkVmbZj.js} +5 -5
- package/dist/chunks/{index.BHiMheJx.js.map → index.BMkVmbZj.js.map} +1 -1
- package/dist/chunks/{info-icon-with-popover._ZiXaIcp.js → info-icon-with-popover.CieLDo3g.js} +14 -14
- package/dist/chunks/{info-icon-with-popover._ZiXaIcp.js.map → info-icon-with-popover.CieLDo3g.js.map} +1 -1
- package/dist/chunks/{info-icon.B6QPdxPi.js → info-icon.BCSBCH-5.js} +5 -5
- package/dist/chunks/{info-icon.B6QPdxPi.js.map → info-icon.BCSBCH-5.js.map} +1 -1
- package/dist/chunks/{info.CIFBUqf-.js → info.DYNe2WnZ.js} +4 -4
- package/dist/chunks/{info.CIFBUqf-.js.map → info.DYNe2WnZ.js.map} +1 -1
- package/dist/chunks/{input-field-password.LVaJy8_K.js → input-field-password.CS7rxMCK.js} +96 -96
- package/dist/chunks/{input-field-password.LVaJy8_K.js.map → input-field-password.CS7rxMCK.js.map} +1 -1
- package/dist/chunks/{input-field.BVewQng_.js → input-field.Cx4fMIb7.js} +9 -9
- package/dist/chunks/{input-field.BVewQng_.js.map → input-field.Cx4fMIb7.js.map} +1 -1
- package/dist/chunks/{inspector.types.DKL2_Mku.js → inspector.types.DQQN1eqF.js} +18 -18
- package/dist/chunks/{inspector.types.DKL2_Mku.js.map → inspector.types.DQQN1eqF.js.map} +1 -1
- package/dist/chunks/{layout-row.CwYDJeG_.js → layout-row.9G7yVMVt.js} +4 -4
- package/dist/chunks/{layout-row.CwYDJeG_.js.map → layout-row.9G7yVMVt.js.map} +1 -1
- package/dist/chunks/{link.DHXLGTkn.js → link.ClFi8uSm.js} +11 -11
- package/dist/chunks/{link.DHXLGTkn.js.map → link.ClFi8uSm.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.DsI3DdjJ.js → listbox-option-tag.zYn_kSFz.js} +9 -9
- package/dist/chunks/{listbox-option-tag.DsI3DdjJ.js.map → listbox-option-tag.zYn_kSFz.js.map} +1 -1
- package/dist/chunks/{loading-indicator.N_WV9Gwz.js → loading-indicator.DEepb9Wl.js} +3 -3
- package/dist/chunks/{loading-indicator.N_WV9Gwz.js.map → loading-indicator.DEepb9Wl.js.map} +1 -1
- package/dist/chunks/{menu.C5Y5nSvX.js → menu.CihQsfY6.js} +15 -15
- package/dist/chunks/{menu.C5Y5nSvX.js.map → menu.CihQsfY6.js.map} +1 -1
- package/dist/chunks/{modal-fullscreen.Bw0CzdjS.js → modal-fullscreen.D39_mhdY.js} +15 -15
- package/dist/chunks/{modal-fullscreen.Bw0CzdjS.js.map → modal-fullscreen.D39_mhdY.js.map} +1 -1
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.B-_oGtsE.js → modal.vue_vue_type_script_setup_true_lang.BHd_MGgH.js} +13 -13
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.B-_oGtsE.js.map → modal.vue_vue_type_script_setup_true_lang.BHd_MGgH.js.map} +1 -1
- package/dist/chunks/{pagination.OzqU46-J.js → pagination.CbzgV2xT.js} +54 -54
- package/dist/chunks/{pagination.OzqU46-J.js.map → pagination.CbzgV2xT.js.map} +1 -1
- package/dist/chunks/{payment-method.Lwl-3chY.js → payment-method.2IeC7f4x.js} +3 -3
- package/dist/chunks/{payment-method.Lwl-3chY.js.map → payment-method.2IeC7f4x.js.map} +1 -1
- package/dist/chunks/{popover.BFZU1OKv.js → popover.Bzb-pzfB.js} +7 -7
- package/dist/chunks/{popover.BFZU1OKv.js.map → popover.Bzb-pzfB.js.map} +1 -1
- package/dist/chunks/{popper-container.CQblHdJf.js → popper-container.DKDjRvdv.js} +4 -4
- package/dist/chunks/{popper-container.CQblHdJf.js.map → popper-container.DKDjRvdv.js.map} +1 -1
- package/dist/chunks/{promo-banner.DB6C9Tgr.js → promo-banner.BjLfDhBq.js} +12 -12
- package/dist/chunks/{promo-banner.DB6C9Tgr.js.map → promo-banner.BjLfDhBq.js.map} +1 -1
- package/dist/chunks/{radio-group.DVPnBI92.js → radio-group.DkfCMh_u.js} +107 -94
- package/dist/chunks/radio-group.DkfCMh_u.js.map +1 -0
- package/dist/chunks/{radio-input.ButaAWTD.js → radio-input.DKfQGxtp.js} +27 -23
- package/dist/chunks/{radio-input.ButaAWTD.js.map → radio-input.DKfQGxtp.js.map} +1 -1
- package/dist/chunks/{refresh.DvQeGwUF.js → refresh.SzRxQ44W.js} +5 -5
- package/dist/chunks/{refresh.DvQeGwUF.js.map → refresh.SzRxQ44W.js.map} +1 -1
- package/dist/chunks/{search-bar.CPOGuVqp.js → search-bar.BTu1j3Ll.js} +12 -12
- package/dist/chunks/{search-bar.CPOGuVqp.js.map → search-bar.BTu1j3Ll.js.map} +1 -1
- package/dist/chunks/{search.EnLryD8V.js → search.KgjmJMHa.js} +4 -4
- package/dist/chunks/{search.EnLryD8V.js.map → search.KgjmJMHa.js.map} +1 -1
- package/dist/chunks/{secondary-nav.B1zTf8Ls.js → secondary-nav.Bqvz5hjH.js} +7 -7
- package/dist/chunks/{secondary-nav.B1zTf8Ls.js.map → secondary-nav.Bqvz5hjH.js.map} +1 -1
- package/dist/chunks/{segmented-control.DV9mJM7g.js → segmented-control.BIwBQ8i3.js} +9 -9
- package/dist/chunks/{segmented-control.DV9mJM7g.js.map → segmented-control.BIwBQ8i3.js.map} +1 -1
- package/dist/chunks/{selection-card-group.z0SNFpjN.js → selection-card-group.BHYvAL-T.js} +11 -11
- package/dist/chunks/{selection-card-group.z0SNFpjN.js.map → selection-card-group.BHYvAL-T.js.map} +1 -1
- package/dist/chunks/{show.ChPQTrAT.js → show.J9zXGWlK.js} +6 -6
- package/dist/chunks/{show.ChPQTrAT.js.map → show.J9zXGWlK.js.map} +1 -1
- package/dist/chunks/{sidepanel.B-YKxXQA.js → sidepanel.Bk35AAFF.js} +15 -15
- package/dist/chunks/{sidepanel.B-YKxXQA.js.map → sidepanel.Bk35AAFF.js.map} +1 -1
- package/dist/chunks/status.types.DsYAH3RM.js +45 -0
- package/dist/chunks/status.types.DsYAH3RM.js.map +1 -0
- package/dist/chunks/{step.CGHc2hFZ.js → step.DAB8h_4u.js} +7 -7
- package/dist/chunks/{step.CGHc2hFZ.js.map → step.DAB8h_4u.js.map} +1 -1
- package/dist/chunks/{structured-list-item.DNP6fkCb.js → structured-list-item.wpnBS69h.js} +12 -12
- package/dist/chunks/{structured-list-item.DNP6fkCb.js.map → structured-list-item.wpnBS69h.js.map} +1 -1
- package/dist/chunks/{summary-grid-item-custom.Dm2rULoZ.js → summary-grid-item-custom.C8AD1NAh.js} +7 -7
- package/dist/chunks/{summary-grid-item-custom.Dm2rULoZ.js.map → summary-grid-item-custom.C8AD1NAh.js.map} +1 -1
- package/dist/chunks/{tabs.BXuDJsCU.js → tabs.B5-PZCxc.js} +5 -5
- package/dist/chunks/{tabs.BXuDJsCU.js.map → tabs.B5-PZCxc.js.map} +1 -1
- package/dist/chunks/{tag.bo9YuJ9f.js → tag.BuUbvgok.js} +5 -5
- package/dist/chunks/{tag.bo9YuJ9f.js.map → tag.BuUbvgok.js.map} +1 -1
- package/dist/chunks/{teleport.B255JhsV.js → teleport.B1NhF5-O.js} +4 -4
- package/dist/chunks/{teleport.B255JhsV.js.map → teleport.B1NhF5-O.js.map} +1 -1
- package/dist/chunks/{textarea.FlyFaC5n.js → textarea.C0k8by9A.js} +8 -8
- package/dist/chunks/{textarea.FlyFaC5n.js.map → textarea.C0k8by9A.js.map} +1 -1
- package/dist/chunks/{timeline-item.DYgnYAx0.js → timeline-item.CYw68jQr.js} +47 -47
- package/dist/chunks/{timeline-item.DYgnYAx0.js.map → timeline-item.CYw68jQr.js.map} +1 -1
- package/dist/chunks/{toast.Cp-osZLV.js → toast.CVy2sf_5.js} +22 -22
- package/dist/chunks/{toast.Cp-osZLV.js.map → toast.CVy2sf_5.js.map} +1 -1
- package/dist/chunks/{toggle-button.BABftVnA.js → toggle-button.CCgvi7TQ.js} +4 -4
- package/dist/chunks/{toggle-button.BABftVnA.js.map → toggle-button.CCgvi7TQ.js.map} +1 -1
- package/dist/chunks/{toggle.Bme9eaeR.js → toggle.Dl82VpiQ.js} +5 -5
- package/dist/chunks/{toggle.Bme9eaeR.js.map → toggle.Dl82VpiQ.js.map} +1 -1
- package/dist/chunks/{tooltip.Ch4_ew27.js → tooltip.2MOlGHD9.js} +9 -9
- package/dist/chunks/{tooltip.Ch4_ew27.js.map → tooltip.2MOlGHD9.js.map} +1 -1
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.hNv57lCE.js → tutorial.vue_vue_type_script_setup_true_lang.CjlNffBI.js} +39 -39
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.hNv57lCE.js.map → tutorial.vue_vue_type_script_setup_true_lang.CjlNffBI.js.map} +1 -1
- package/dist/chunks/{typography.DNzU41ah.js → typography.DN5eC5ch.js} +4 -3
- package/dist/chunks/{typography.DNzU41ah.js.map → typography.DN5eC5ch.js.map} +1 -1
- package/dist/chunks/{use-bento-toast-controller.C2wUDcoc.js → use-bento-toast-controller.D3LA1FCd.js} +3 -3
- package/dist/chunks/{use-bento-toast-controller.C2wUDcoc.js.map → use-bento-toast-controller.D3LA1FCd.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.CvdhdRHz.js → use-cached-selected-values.YAg3m-Af.js} +22 -22
- package/dist/chunks/{use-cached-selected-values.CvdhdRHz.js.map → use-cached-selected-values.YAg3m-Af.js.map} +1 -1
- package/dist/chunks/{use-country-items.D4T1eUtC.js → use-country-items.DJn6gU4P.js} +3 -3
- package/dist/chunks/{use-country-items.D4T1eUtC.js.map → use-country-items.DJn6gU4P.js.map} +1 -1
- package/dist/chunks/{warning-filled.OUOUbA6k.js → warning-filled.tTkVob0l.js} +5 -5
- package/dist/chunks/{warning-filled.OUOUbA6k.js.map → warning-filled.tTkVob0l.js.map} +1 -1
- package/dist/code-snippet.js +1 -1
- package/dist/country.js +2 -2
- package/dist/currency.js +1 -1
- package/dist/dashboard-template.js +1 -1
- package/dist/dashed-underline.js +1 -1
- package/dist/data-grid-template.js +1 -1
- package/dist/data-grid.js +1 -1
- package/dist/date-picker.js +2 -2
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/divider.js +1 -1
- package/dist/dropdown.js +4 -4
- package/dist/empty-state.js +1 -1
- package/dist/file-uploader.js +1 -1
- package/dist/filter-bar.js +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +1 -1
- package/dist/header.js +1 -1
- package/dist/image.js +1 -1
- package/dist/index.js +171 -171
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +1 -1
- package/dist/input-field-password.js +1 -1
- package/dist/input-field.js +1 -1
- package/dist/inspector.js +1 -1
- package/dist/internal.js +14 -14
- package/dist/layout.js +1 -1
- package/dist/link.js +1 -1
- package/dist/loading-indicator.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +1 -1
- package/dist/modal.js +2 -2
- package/dist/pagination.js +1 -1
- package/dist/payment-method.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/popper-container.js +1 -1
- package/dist/promo-banner.js +1 -1
- package/dist/radio-group.js +2 -2
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +1 -1
- package/dist/segmented-control.js +1 -1
- package/dist/selection-card.js +1 -1
- package/dist/sidepanel.js +1 -1
- package/dist/status.js +1 -1
- package/dist/stepper.js +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/styles/bento-dark.css +1 -0
- package/dist/styles/bento-light.css +1 -0
- package/dist/styles/bento.css +1 -0
- package/dist/styles/legacy.css +1 -0
- package/dist/styles/styleguide.css +1 -0
- package/dist/summary-grid.js +1 -1
- package/dist/tabs.js +1 -1
- package/dist/tag.js +1 -1
- package/dist/textarea.js +1 -1
- package/dist/timeline.js +1 -1
- package/dist/toast.js +1 -1
- package/dist/toggle.js +1 -1
- package/dist/tutorial.js +1 -1
- package/dist/typography.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +2 -2
- package/dist/chunks/date-picker.wNOf4DoV.js.map +0 -1
- package/dist/chunks/date-range-picker.C4l0Xe9R.js.map +0 -1
- package/dist/chunks/divider.ugNXYI-T.js +0 -22
- package/dist/chunks/divider.ugNXYI-T.js.map +0 -1
- package/dist/chunks/es6.D11bE5vq.js.map +0 -1
- package/dist/chunks/radio-group.DVPnBI92.js.map +0 -1
- package/dist/chunks/status.types.Bh_mGknA.js +0 -44
- package/dist/chunks/status.types.Bh_mGknA.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-tag.BRNZ7KIi.js","sources":["../../../vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue","../../../vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue","../../../vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue","../../../vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue","../../../vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue"],"sourcesContent":["<template>\n <div>\n <bento-dropdown v-slot=\"{ label, data }\" v-bind=\"$props\" :items=\"dropdownItems\" @input=\"onInput\">\n <bento-avatar :username=\"label\" :src=\"data\" />\n </bento-dropdown>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, defineComponent, PropType } from 'vue';\n import { BentoListboxSelectedValue } from '@/types';\n import { BentoAvatarListboxOptions } from './dropdown-avatar.types';\n import { BentoAvatar } from '@/components/avatar';\n import BentoDropdown from '@/components/dropdown/dropdown.vue';\n\n const props = defineProps({\n ...BentoDropdown.props,\n /**\n * The option elements to populate the avatar dropdown with.\n * It must be an array of {@see BentoAvatarListboxOptions }\n * * @property {string} value.label - Text to be displayed in the option.\n * * @property {string,number} value.value - Value of the option.\n * * @property {string} value.src - Image source of the avatar image.\n */\n items: {\n type: Array as PropType<BentoAvatarListboxOptions>,\n default: () => [],\n },\n });\n\n const emit = defineEmits<{\n /**\n * Emitted when an item is selected\n */\n (e: 'input', selectedValue: BentoListboxSelectedValue);\n }>();\n\n const onInput = (selectedValue: BentoListboxSelectedValue) => emit('input', selectedValue);\n\n const dropdownItems = computed(() => props.items.map(({ value, label, src }) => ({ value, label, data: src })));\n</script>\n\n<script lang=\"ts\">\n /**\n * A Avatar Dropdown showing a selectable list of countries.\n *\n * @example\n * import { BentoDropdownAvatar } from '@adyen/bento-vue2';\n * import type { BentoAvatarListboxOptions } from '@adyen/bento-vue2'\n *\n * export default {\n * components: { BentoDropdownAvatar },\n * template: `\n * <bento-dropdown-avatar\n * v-model=\"selectedValue\"\n * :disabled=\"false\"\n * :multiple=\"true\"\n * :isOptionsDisabled=\"option => option.value === 2\"\n * :items=\"options\"\n * />\n * `,\n * setup() {\n * const selectedValue = ref('user-id-1') // Default value\n * const options: BentoAvatarListboxOptions = [\n * { label: 'User 1', value: 'user-id-1' },\n * { label: 'User 2', value: 'user-id-2', src: 'image-source.jpeg' },\n * ];\n * return { options, selectedValue };\n * }\n * }\n */\n export default defineComponent({\n name: 'bento-dropdown-avatar',\n });\n</script>\n","<template>\n <div>\n <bento-dropdown v-slot=\"{ label }\" v-bind=\"$props\" :items=\"countryItems\" @input=\"onInput\">\n <bento-typography el=\"span\">{{ label }}</bento-typography>\n </bento-dropdown>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { defineComponent, PropType, toRefs } from 'vue';\n import { BentoCountryListboxOptions } from './dropdown-country.types';\n import { BentoListboxSelectedValue } from '@/types';\n import { BentoTypography } from '@/components/typography';\n import { useCountryItems } from './composables/use-country-items';\n import { deprecate } from '@/utils/ts/deprecate';\n import { BentoCountryVariant } from '@/components/country';\n import BentoDropdown from '@/components/dropdown/dropdown.vue';\n\n const props = defineProps({\n ...BentoDropdown.props,\n /**\n * The option elements to populate the country dropdown with.\n * It must be an array of {@see BentoCountryListboxOptions }\n * * @deprecated {string} value.label - Use BentoDropdown instead of custom labels\n * * @property {BentoCountryCode | string} value.value - Country code of the option\n */\n items: {\n type: Array as PropType<BentoCountryListboxOptions>,\n default: () => [],\n },\n\n /**\n * Which label variant to display.\n * @values iso, name, phone_code, capital\n */\n variant: {\n type: String as PropType<BentoCountryVariant | `${BentoCountryVariant}`>,\n default: BentoCountryVariant.CUSTOM,\n validator: (value: BentoCountryVariant) => Object.values(BentoCountryVariant).includes(value),\n },\n });\n\n const emit = defineEmits<{\n /**\n * Emitted when an item is selected\n */\n (e: 'input', selectedValue: BentoListboxSelectedValue);\n }>();\n\n const onInput = (selectedValue: BentoListboxSelectedValue) => emit('input', selectedValue);\n\n const { variant, items } = toRefs(props);\n const countryItems = useCountryItems(variant, items);\n\n if (variant.value === 'custom' || items.value.some(item => item.label)) {\n deprecate(\n 'BentoDropdownCountry \"custom\" variant and \"items\" prop \"label\" key',\n 'Use any of the other BentoDropdownCountry variants instead OR use BentoDropdown component for custom labels',\n '2.0.0'\n );\n }\n</script>\n\n<script lang=\"ts\">\n /**\n * A Country Dropdown showing a selectable list of countries.\n *\n * @example\n * import { BentoDropdownCountry, BentoCountryCode } from '@adyen/bento-vue2';\n * import type { BentoCountryListboxOptions } from '@adyen/bento-vue2'\n *\n * export default {\n * components: { BentoDropdown },\n * template: `\n * <bento-dropdown-country\n * v-model=\"selectedValue\"\n * :disabled=\"false\"\n * :multiple=\"true\"\n * :isOptionsDisabled=\"option => option.value === 2\"\n * :items=\"options\"\n * />\n * `,\n * setup() {\n * const selectedValue = ref(BentoCountryCode.NL) // Default value\n * const options: BentoCountryListboxOptions = [\n * { label: 'Option 1', value: BentoCountryCode.NL },\n * { label: 'Option 2', value: BentoCountryCode.BE },\n * ];\n * return { options, selectedValue };\n * }\n * }\n */\n export default defineComponent({\n name: 'b-dropdown-country',\n });\n</script>\n","<template>\n <bento-dropdown v-slot=\"slotProps\" v-bind=\"$props\" @input=\"onInput\">\n <listbox-option-tag :option=\"slotProps\" />\n </bento-dropdown>\n</template>\n\n<script setup lang=\"ts\">\n import { defineComponent, PropType } from 'vue';\n import type { BentoCurrencyListboxOptions } from './dropdown-currency.types';\n import type { BentoListboxSelectedValue } from '@/types';\n import { ListboxOptionTag } from '@/internal';\n import BentoDropdown from '@/components/dropdown/dropdown.vue';\n\n defineProps({\n ...BentoDropdown.props,\n /**\n * The option elements to populate the country dropdown with.\n * It must be an array of {@see BentoCurrencyListboxOptions }\n * * @property {string} value.label - Text to be displayed in the option\n * * @property {BentoCurrencyISOCode} value.code - Currency ISO code of the option\n */\n items: {\n type: Array as PropType<BentoCurrencyListboxOptions>,\n default: () => [],\n },\n });\n\n const emit = defineEmits<{\n /**\n * Emitted when an item is selected\n */\n (e: 'input', selectedValue: BentoListboxSelectedValue);\n }>();\n\n const onInput = (selectedValue: BentoListboxSelectedValue) => emit('input', selectedValue);\n</script>\n\n<script lang=\"ts\">\n /**\n * A Currency Dropdown showing a selectable list of currencies.\n *\n * @example\n * import { BentoDropdownCountry, BentoCountryCode } from '@adyen/bento-vue2';\n * import type { BentoCountryListboxOptions } from '@adyen/bento-vue2'\n *\n * export default {\n * components: { BentoDropdown },\n * template: `\n * <bento-dropdown-currency\n * v-model=\"selectedValue\"\n * :disabled=\"false\"\n * :multiple=\"true\"\n * :isOptionsDisabled=\"option => option.value === 2\"\n * :items=\"options\"\n * />\n * `,\n * setup() {\n * const selectedValue = ref(BentoCountryCode.NL) // Default value\n * const options: BentoCountryListboxOptions = [\n * { label: 'Option 1', value: BentoCountryCode.NL },\n * { label: 'Option 2', value: BentoCountryCode.BE },\n * ];\n * return { options, selectedValue };\n * }\n * }\n */\n export default defineComponent({\n name: 'b-dropdown-currency',\n });\n</script>\n","<template>\n <div>\n <bento-dropdown v-slot=\"{ value, label }\" v-bind=\"$props\" @input=\"onInput\">\n <bento-payment-method :type=\"value\" :label=\"label\" />\n </bento-dropdown>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { defineComponent, PropType } from 'vue';\n import { BentoPaymentMethodListboxOptions } from './dropdown-payment-method.types';\n import { BentoListboxSelectedValue } from '@/types';\n import { BentoPaymentMethod } from '@/components/payment-method';\n import BentoDropdown from '@/components/dropdown/dropdown.vue';\n\n defineProps({\n ...BentoDropdown.props,\n /**\n * The option elements to populate the payment method dropdown with.\n * It must be an array of {@see BentoPaymentMethodListboxOptions }\n * * @property {string} value.label - Text to be displayed in the option\n * * @property {string} value.value - Payment type code that translates to a payment icon name {@see https://adyen-ui-assets.netlify.app/?path=/story/packages-ui-assets-payment-method-icons--icons}\n */\n items: {\n type: Array as PropType<BentoPaymentMethodListboxOptions>,\n default: () => [],\n },\n });\n\n const emit = defineEmits<{\n /**\n * Emitted when an item is selected\n */\n (e: 'input', selectedValue: BentoListboxSelectedValue);\n }>();\n\n const onInput = (selectedValue: BentoListboxSelectedValue) => emit('input', selectedValue);\n</script>\n\n<script lang=\"ts\">\n /**\n * A Payment method Dropdown showing a selectable list of countries.\n *\n * @example\n * import { BentoDropdownPaymentMethod } from '@adyen/bento-vue2';\n * import type { BentoPaymentMethodListboxOptions } from '@adyen/bento-vue2'\n *\n * export default {\n * components: { BentoDropdownPaymentMethod },\n * template: `\n * <bento-dropdown-payment-method\n * v-model=\"selectedValue\"\n * :disabled=\"false\"\n * :multiple=\"true\"\n * :isOptionsDisabled=\"option => option.value === 'Visa'\"\n * :items=\"options\"\n * />\n * `,\n * setup() {\n * const selectedValue = ref('Ideal') // Default value\n * const options: BentoPaymentMethodListboxOptions = [\n * { label: 'Option 1', value: 'Ideal' },\n * { label: 'Option 2', value: 'Visa' },\n * ];\n * return { options, selectedValue };\n * }\n * }\n */\n export default defineComponent({\n name: 'bento-dropdown-payment-method',\n });\n</script>\n","<template>\n <bento-dropdown\n v-slot=\"{ label, data }\"\n v-bind=\"$props\"\n class=\"b-dropdown-tag\"\n :items=\"tagItems\"\n show-slot-content-in-multiple\n @input=\"onInput\"\n >\n <listbox-option-tag :option=\"{ value: label, data, label: '' }\" />\n </bento-dropdown>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, defineComponent, PropType } from 'vue';\n import type { BentoTagListboxOptions } from './dropdown-tag.types';\n import type { BentoListboxSelectedValue } from '../../../../../types';\n import { ListboxOptionTag } from '../../../../internal';\n import BentoDropdown from '../../../dropdown.vue';\n\n const props = defineProps({\n ...BentoDropdown.props,\n /**\n * The option elements to populate the tag dropdown with.\n * It must be an array of {@see BentoTagListboxOptions }\n * * @property {string} value.label - Text to be displayed in the option\n * * @property {string,number} value.value - Value of the option\n * * @property {string} value.variant - The BentTag variant shown for the option.\n */\n items: {\n type: Array as PropType<BentoTagListboxOptions>,\n default: () => [],\n },\n });\n\n const emit = defineEmits<{\n /**\n * Emitted when an item is selected\n */\n (e: 'input', selectedValue: BentoListboxSelectedValue);\n }>();\n\n const onInput = (selectedValue: BentoListboxSelectedValue) => emit('input', selectedValue);\n\n const tagItems = computed(() => props.items?.map(({ label, value, variant }) => ({ label, value, data: variant })));\n</script>\n\n<script lang=\"ts\">\n /**\n * A Tag Dropdown showing a selectable list of tags.\n *\n * @example\n * import { BentoDropdownTag } from '@adyen/bento-vue2';\n * import type { BentoTagListboxOptions } from '@adyen/bento-vue2'\n *\n * export default {\n * components: { BentoDropdownTag },\n * template: `\n * <bento-dropdown-tag\n * v-model=\"selectedValue\"\n * :disabled=\"false\"\n * :items=\"options\"\n * />\n * `,\n * setup() {\n * const selectedValue = ref('unique-id-1') // Default value\n * const options: BentoTagListboxOptions = [\n * { label: 'Offline', value: 'unique-id-1', variant: 'red' },\n * { label: 'Online', value: 'unique-id-2', variant: 'green' },\n * ];\n * return { options, selectedValue };\n * }\n * }\n */\n export default defineComponent({\n name: 'bento-dropdown-tag',\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./dropdown-tag.scss\" />\n"],"names":["__default__$4","defineComponent","props","__props","emit","__emit","onInput","selectedValue","dropdownItems","computed","value","label","src","__default__$3","variant","items","toRefs","countryItems","useCountryItems","item","deprecate","__default__$2","__default__$1","__default__","tagItems","_a"],"mappings":";;;;;;;;;;AAuEI,MAAAA,IAAAC,EAAA;AAAA,EAA+B,MAAA;AAE/B,CAAA;;;;;;;;;;;;;;;;;;AA1DA,UAAAC,IAAAC,GAeAC,IAAAC,GAOAC,IAAA,CAAAC,MAAAH,EAAA,SAAAG,CAAA,GAEAC,IAAAC,EAAA,MAAAP,EAAA,MAAA,IAAA,CAAA,EAAA,OAAAQ,GAAA,OAAAC,GAAA,KAAAC,EAAA,OAAA,EAAA,OAAAF,GAAA,OAAAC,GAAA,MAAAC,EAAA,EAAA,CAAA;;;;;;;;;;;;;;;;ICqDAC,IAAAZ,EAAA;AAAA,EAA+B,MAAA;AAE/B,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;AA5EA,UAAAC,IAAAC,GAwBAC,IAAAC,GAOAC,IAAA,CAAAC,MAAAH,EAAA,SAAAG,CAAA,GAEA,EAAA,SAAAO,GAAA,OAAAC,EAAA,IAAAC,EAAAd,CAAA,GACAe,IAAAC,EAAAJ,GAAAC,CAAA;AAEA,YAAAD,EAAA,UAAA,YAAAC,EAAA,MAAA,KAAA,CAAAI,MAAAA,EAAA,KAAA,MACIC;AAAA,MAAA;AAAA,MACI;AAAA,MACA;AAAA,IACA;;;;;;;;;;;;;;;;;ICQRC,IAAApB,EAAA;AAAA,EAA+B,MAAA;AAE/B,CAAA;;;;;;;;;;;;;;;;;AAzCA,UAAAG,IAAAC,GAOAC,IAAA,CAAAC,MAAAH,EAAA,SAAAG,CAAA;;;;;;;;ICkCAe,IAAArB,EAAA;AAAA,EAA+B,MAAA;AAE/B,CAAA;;;;;;;;;;;;;;;;;AAzCA,UAAAG,IAAAC,GAOAC,IAAA,CAAAC,MAAAH,EAAA,SAAAG,CAAA;;;;;;;;;;;;;ICsCAgB,IAAAtB,EAAA;AAAA,EAA+B,MAAA;AAE/B,CAAA;;;;;;;;;;;;;;;;;;AAxDA,UAAAC,IAAAC,GAeAC,IAAAC,GAOAC,IAAA,CAAAC,MAAAH,EAAA,SAAAG,CAAA,GAEAiB,IAAAf,EAAA,MAAA;;AAAA,cAAAgB,IAAAvB,EAAA,UAAA,gBAAAuB,EAAA,IAAA,CAAA,EAAA,OAAAd,GAAA,OAAAD,GAAA,SAAAI,EAAA,OAAA,EAAA,OAAAH,GAAA,OAAAD,GAAA,MAAAI,EAAA;AAAA,KAAA;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"dropdown-tag.D8hXRrMj.js","sources":["../../../vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue","../../../vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue","../../../vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue","../../../vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue","../../../vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue"],"sourcesContent":["<template>\n <div>\n <bento-dropdown v-slot=\"{ label, data }\" v-bind=\"$props\" :items=\"dropdownItems\" @input=\"onInput\">\n <bento-avatar :username=\"label\" :src=\"data\" />\n </bento-dropdown>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, defineComponent, PropType } from 'vue';\n import { BentoListboxSelectedValue } from '@/types';\n import { BentoAvatarListboxOptions } from './dropdown-avatar.types';\n import { BentoAvatar } from '@/components/avatar';\n import BentoDropdown from '@/components/dropdown/dropdown.vue';\n\n const props = defineProps({\n ...BentoDropdown.props,\n /**\n * The option elements to populate the avatar dropdown with.\n * It must be an array of {@see BentoAvatarListboxOptions }\n * * @property {string} value.label - Text to be displayed in the option.\n * * @property {string,number} value.value - Value of the option.\n * * @property {string} value.src - Image source of the avatar image.\n */\n items: {\n type: Array as PropType<BentoAvatarListboxOptions>,\n default: () => [],\n },\n });\n\n const emit = defineEmits<{\n /**\n * Emitted when an item is selected\n */\n (e: 'input', selectedValue: BentoListboxSelectedValue);\n }>();\n\n const onInput = (selectedValue: BentoListboxSelectedValue) => emit('input', selectedValue);\n\n const dropdownItems = computed(() => props.items.map(({ value, label, src }) => ({ value, label, data: src })));\n</script>\n\n<script lang=\"ts\">\n /**\n * A Avatar Dropdown showing a selectable list of countries.\n *\n * @example\n * import { BentoDropdownAvatar } from '@adyen/bento-vue2';\n * import type { BentoAvatarListboxOptions } from '@adyen/bento-vue2'\n *\n * export default {\n * components: { BentoDropdownAvatar },\n * template: `\n * <bento-dropdown-avatar\n * v-model=\"selectedValue\"\n * :disabled=\"false\"\n * :multiple=\"true\"\n * :isOptionsDisabled=\"option => option.value === 2\"\n * :items=\"options\"\n * />\n * `,\n * setup() {\n * const selectedValue = ref('user-id-1') // Default value\n * const options: BentoAvatarListboxOptions = [\n * { label: 'User 1', value: 'user-id-1' },\n * { label: 'User 2', value: 'user-id-2', src: 'image-source.jpeg' },\n * ];\n * return { options, selectedValue };\n * }\n * }\n */\n export default defineComponent({\n name: 'bento-dropdown-avatar',\n });\n</script>\n","<template>\n <div>\n <bento-dropdown v-slot=\"{ label }\" v-bind=\"$props\" :items=\"countryItems\" @input=\"onInput\">\n <bento-typography el=\"span\">{{ label }}</bento-typography>\n </bento-dropdown>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { defineComponent, PropType, toRefs } from 'vue';\n import { BentoCountryListboxOptions } from './dropdown-country.types';\n import { BentoListboxSelectedValue } from '@/types';\n import { BentoTypography } from '@/components/typography';\n import { useCountryItems } from './composables/use-country-items';\n import { deprecate } from '@/utils/ts/deprecate';\n import { BentoCountryVariant } from '@/components/country';\n import BentoDropdown from '@/components/dropdown/dropdown.vue';\n\n const props = defineProps({\n ...BentoDropdown.props,\n /**\n * The option elements to populate the country dropdown with.\n * It must be an array of {@see BentoCountryListboxOptions }\n * * @deprecated {string} value.label - Use BentoDropdown instead of custom labels\n * * @property {BentoCountryCode | string} value.value - Country code of the option\n */\n items: {\n type: Array as PropType<BentoCountryListboxOptions>,\n default: () => [],\n },\n\n /**\n * Which label variant to display.\n * @values iso, name, phone_code, capital\n */\n variant: {\n type: String as PropType<BentoCountryVariant | `${BentoCountryVariant}`>,\n default: BentoCountryVariant.CUSTOM,\n validator: (value: BentoCountryVariant) => Object.values(BentoCountryVariant).includes(value),\n },\n });\n\n const emit = defineEmits<{\n /**\n * Emitted when an item is selected\n */\n (e: 'input', selectedValue: BentoListboxSelectedValue);\n }>();\n\n const onInput = (selectedValue: BentoListboxSelectedValue) => emit('input', selectedValue);\n\n const { variant, items } = toRefs(props);\n const countryItems = useCountryItems(variant, items);\n\n if (variant.value === 'custom' || items.value.some(item => item.label)) {\n deprecate(\n 'BentoDropdownCountry \"custom\" variant and \"items\" prop \"label\" key',\n 'Use any of the other BentoDropdownCountry variants instead OR use BentoDropdown component for custom labels',\n '2.0.0'\n );\n }\n</script>\n\n<script lang=\"ts\">\n /**\n * A Country Dropdown showing a selectable list of countries.\n *\n * @example\n * import { BentoDropdownCountry, BentoCountryCode } from '@adyen/bento-vue2';\n * import type { BentoCountryListboxOptions } from '@adyen/bento-vue2'\n *\n * export default {\n * components: { BentoDropdown },\n * template: `\n * <bento-dropdown-country\n * v-model=\"selectedValue\"\n * :disabled=\"false\"\n * :multiple=\"true\"\n * :isOptionsDisabled=\"option => option.value === 2\"\n * :items=\"options\"\n * />\n * `,\n * setup() {\n * const selectedValue = ref(BentoCountryCode.NL) // Default value\n * const options: BentoCountryListboxOptions = [\n * { label: 'Option 1', value: BentoCountryCode.NL },\n * { label: 'Option 2', value: BentoCountryCode.BE },\n * ];\n * return { options, selectedValue };\n * }\n * }\n */\n export default defineComponent({\n name: 'b-dropdown-country',\n });\n</script>\n","<template>\n <bento-dropdown v-slot=\"slotProps\" v-bind=\"$props\" @input=\"onInput\">\n <listbox-option-tag :option=\"slotProps\" />\n </bento-dropdown>\n</template>\n\n<script setup lang=\"ts\">\n import { defineComponent, PropType } from 'vue';\n import type { BentoCurrencyListboxOptions } from './dropdown-currency.types';\n import type { BentoListboxSelectedValue } from '@/types';\n import { ListboxOptionTag } from '@/internal';\n import BentoDropdown from '@/components/dropdown/dropdown.vue';\n\n defineProps({\n ...BentoDropdown.props,\n /**\n * The option elements to populate the country dropdown with.\n * It must be an array of {@see BentoCurrencyListboxOptions }\n * * @property {string} value.label - Text to be displayed in the option\n * * @property {BentoCurrencyISOCode} value.code - Currency ISO code of the option\n */\n items: {\n type: Array as PropType<BentoCurrencyListboxOptions>,\n default: () => [],\n },\n });\n\n const emit = defineEmits<{\n /**\n * Emitted when an item is selected\n */\n (e: 'input', selectedValue: BentoListboxSelectedValue);\n }>();\n\n const onInput = (selectedValue: BentoListboxSelectedValue) => emit('input', selectedValue);\n</script>\n\n<script lang=\"ts\">\n /**\n * A Currency Dropdown showing a selectable list of currencies.\n *\n * @example\n * import { BentoDropdownCountry, BentoCountryCode } from '@adyen/bento-vue2';\n * import type { BentoCountryListboxOptions } from '@adyen/bento-vue2'\n *\n * export default {\n * components: { BentoDropdown },\n * template: `\n * <bento-dropdown-currency\n * v-model=\"selectedValue\"\n * :disabled=\"false\"\n * :multiple=\"true\"\n * :isOptionsDisabled=\"option => option.value === 2\"\n * :items=\"options\"\n * />\n * `,\n * setup() {\n * const selectedValue = ref(BentoCountryCode.NL) // Default value\n * const options: BentoCountryListboxOptions = [\n * { label: 'Option 1', value: BentoCountryCode.NL },\n * { label: 'Option 2', value: BentoCountryCode.BE },\n * ];\n * return { options, selectedValue };\n * }\n * }\n */\n export default defineComponent({\n name: 'b-dropdown-currency',\n });\n</script>\n","<template>\n <div>\n <bento-dropdown v-slot=\"{ value, label }\" v-bind=\"$props\" @input=\"onInput\">\n <bento-payment-method :type=\"value\" :label=\"label\" />\n </bento-dropdown>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { defineComponent, PropType } from 'vue';\n import { BentoPaymentMethodListboxOptions } from './dropdown-payment-method.types';\n import { BentoListboxSelectedValue } from '@/types';\n import { BentoPaymentMethod } from '@/components/payment-method';\n import BentoDropdown from '@/components/dropdown/dropdown.vue';\n\n defineProps({\n ...BentoDropdown.props,\n /**\n * The option elements to populate the payment method dropdown with.\n * It must be an array of {@see BentoPaymentMethodListboxOptions }\n * * @property {string} value.label - Text to be displayed in the option\n * * @property {string} value.value - Payment type code that translates to a payment icon name {@see https://adyen-ui-assets.netlify.app/?path=/story/packages-ui-assets-payment-method-icons--icons}\n */\n items: {\n type: Array as PropType<BentoPaymentMethodListboxOptions>,\n default: () => [],\n },\n });\n\n const emit = defineEmits<{\n /**\n * Emitted when an item is selected\n */\n (e: 'input', selectedValue: BentoListboxSelectedValue);\n }>();\n\n const onInput = (selectedValue: BentoListboxSelectedValue) => emit('input', selectedValue);\n</script>\n\n<script lang=\"ts\">\n /**\n * A Payment method Dropdown showing a selectable list of countries.\n *\n * @example\n * import { BentoDropdownPaymentMethod } from '@adyen/bento-vue2';\n * import type { BentoPaymentMethodListboxOptions } from '@adyen/bento-vue2'\n *\n * export default {\n * components: { BentoDropdownPaymentMethod },\n * template: `\n * <bento-dropdown-payment-method\n * v-model=\"selectedValue\"\n * :disabled=\"false\"\n * :multiple=\"true\"\n * :isOptionsDisabled=\"option => option.value === 'Visa'\"\n * :items=\"options\"\n * />\n * `,\n * setup() {\n * const selectedValue = ref('Ideal') // Default value\n * const options: BentoPaymentMethodListboxOptions = [\n * { label: 'Option 1', value: 'Ideal' },\n * { label: 'Option 2', value: 'Visa' },\n * ];\n * return { options, selectedValue };\n * }\n * }\n */\n export default defineComponent({\n name: 'bento-dropdown-payment-method',\n });\n</script>\n","<template>\n <bento-dropdown\n v-slot=\"{ label, data }\"\n v-bind=\"$props\"\n class=\"b-dropdown-tag\"\n :items=\"tagItems\"\n show-slot-content-in-multiple\n @input=\"onInput\"\n >\n <listbox-option-tag :option=\"{ value: label, data, label: '' }\" />\n </bento-dropdown>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, defineComponent, PropType } from 'vue';\n import type { BentoTagListboxOptions } from './dropdown-tag.types';\n import type { BentoListboxSelectedValue } from '../../../../../types';\n import { ListboxOptionTag } from '../../../../internal';\n import BentoDropdown from '../../../dropdown.vue';\n\n const props = defineProps({\n ...BentoDropdown.props,\n /**\n * The option elements to populate the tag dropdown with.\n * It must be an array of {@see BentoTagListboxOptions }\n * * @property {string} value.label - Text to be displayed in the option\n * * @property {string,number} value.value - Value of the option\n * * @property {string} value.variant - The BentTag variant shown for the option.\n */\n items: {\n type: Array as PropType<BentoTagListboxOptions>,\n default: () => [],\n },\n });\n\n const emit = defineEmits<{\n /**\n * Emitted when an item is selected\n */\n (e: 'input', selectedValue: BentoListboxSelectedValue);\n }>();\n\n const onInput = (selectedValue: BentoListboxSelectedValue) => emit('input', selectedValue);\n\n const tagItems = computed(() => props.items?.map(({ label, value, variant }) => ({ label, value, data: variant })));\n</script>\n\n<script lang=\"ts\">\n /**\n * A Tag Dropdown showing a selectable list of tags.\n *\n * @example\n * import { BentoDropdownTag } from '@adyen/bento-vue2';\n * import type { BentoTagListboxOptions } from '@adyen/bento-vue2'\n *\n * export default {\n * components: { BentoDropdownTag },\n * template: `\n * <bento-dropdown-tag\n * v-model=\"selectedValue\"\n * :disabled=\"false\"\n * :items=\"options\"\n * />\n * `,\n * setup() {\n * const selectedValue = ref('unique-id-1') // Default value\n * const options: BentoTagListboxOptions = [\n * { label: 'Offline', value: 'unique-id-1', variant: 'red' },\n * { label: 'Online', value: 'unique-id-2', variant: 'green' },\n * ];\n * return { options, selectedValue };\n * }\n * }\n */\n export default defineComponent({\n name: 'bento-dropdown-tag',\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./dropdown-tag.scss\" />\n"],"names":["__default__$4","defineComponent","props","__props","emit","__emit","onInput","selectedValue","dropdownItems","computed","value","label","src","__default__$3","variant","items","toRefs","countryItems","useCountryItems","item","deprecate","__default__$2","__default__$1","__default__","tagItems","_a"],"mappings":";;;;;;;;;;AAuEI,MAAAA,IAAAC,EAAA;AAAA,EAA+B,MAAA;AAE/B,CAAA;;;;;;;;;;;;;;;;;;AA1DA,UAAAC,IAAAC,GAeAC,IAAAC,GAOAC,IAAA,CAAAC,MAAAH,EAAA,SAAAG,CAAA,GAEAC,IAAAC,EAAA,MAAAP,EAAA,MAAA,IAAA,CAAA,EAAA,OAAAQ,GAAA,OAAAC,GAAA,KAAAC,EAAA,OAAA,EAAA,OAAAF,GAAA,OAAAC,GAAA,MAAAC,EAAA,EAAA,CAAA;;;;;;;;;;;;;;;;ICqDAC,IAAAZ,EAAA;AAAA,EAA+B,MAAA;AAE/B,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;AA5EA,UAAAC,IAAAC,GAwBAC,IAAAC,GAOAC,IAAA,CAAAC,MAAAH,EAAA,SAAAG,CAAA,GAEA,EAAA,SAAAO,GAAA,OAAAC,EAAA,IAAAC,EAAAd,CAAA,GACAe,IAAAC,EAAAJ,GAAAC,CAAA;AAEA,YAAAD,EAAA,UAAA,YAAAC,EAAA,MAAA,KAAA,CAAAI,MAAAA,EAAA,KAAA,MACIC;AAAA,MAAA;AAAA,MACI;AAAA,MACA;AAAA,IACA;;;;;;;;;;;;;;;;;ICQRC,IAAApB,EAAA;AAAA,EAA+B,MAAA;AAE/B,CAAA;;;;;;;;;;;;;;;;;AAzCA,UAAAG,IAAAC,GAOAC,IAAA,CAAAC,MAAAH,EAAA,SAAAG,CAAA;;;;;;;;ICkCAe,IAAArB,EAAA;AAAA,EAA+B,MAAA;AAE/B,CAAA;;;;;;;;;;;;;;;;;AAzCA,UAAAG,IAAAC,GAOAC,IAAA,CAAAC,MAAAH,EAAA,SAAAG,CAAA;;;;;;;;;;;;;ICsCAgB,IAAAtB,EAAA;AAAA,EAA+B,MAAA;AAE/B,CAAA;;;;;;;;;;;;;;;;;;AAxDA,UAAAC,IAAAC,GAeAC,IAAAC,GAOAC,IAAA,CAAAC,MAAAH,EAAA,SAAAG,CAAA,GAEAiB,IAAAf,EAAA,MAAA;;AAAA,cAAAgB,IAAAvB,EAAA,UAAA,gBAAAuB,EAAA,IAAA,CAAA,EAAA,OAAAd,GAAA,OAAAD,GAAA,SAAAI,EAAA,OAAA,EAAA,OAAAH,GAAA,OAAAD,GAAA,MAAAI,EAAA;AAAA,KAAA;;;;;;;;;;;;;;;;"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { ref as $, watch as Ee, computed as u, defineComponent as j, useSlots as Oe, toRefs as Ce,
|
|
2
|
-
import { d as Le, B as Ge } from "./typography.
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { B as
|
|
12
|
-
import { a as d, B as pe, b as me, c as nt, u as it } from "./use-cached-selected-values.CvdhdRHz.js";
|
|
1
|
+
import { ref as $, watch as Ee, computed as u, defineComponent as j, useSlots as Oe, toRefs as Ce, createBlock as K, openBlock as L, resolveDynamicComponent as Be, mergeProps as k, withCtx as z, createElementVNode as te, withKeys as _e, unref as n, createVNode as Q, toHandlers as G, createSlots as re, renderList as de, renderSlot as X, normalizeProps as ue, guardReactiveProps as ce, createElementBlock as P, createCommentVNode as F, toDisplayString as ve, normalizeClass as fe, withDirectives as ee, vShow as xe, nextTick as M, useAttrs as Ze, toRef as B, inject as Qe, createTextVNode as Xe } from "vue";
|
|
2
|
+
import { d as Le, B as Ge } from "./typography.DN5eC5ch.js";
|
|
3
|
+
import { g as V } from "./generate-uid.NJ8tVoha.js";
|
|
4
|
+
import { u as et } from "./aria-label.CaUURpnB.js";
|
|
5
|
+
import { u as be } from "./i18n.WMYWtwxB.js";
|
|
6
|
+
import { u as tt } from "./use-form-layout-loading.D3lALhtC.js";
|
|
7
|
+
import { B as lt } from "./directive.O3yEdalv.js";
|
|
8
|
+
import { s as ne } from "./events.FNmSWp_P.js";
|
|
9
|
+
import { B as R, a as at } from "./keyboard-navigation.C3QMVRKY.js";
|
|
10
|
+
import { a as ie, b as q, c as ot, B as J, D as st } from "./dropdown-default-textbox.Dl8Jv2bS.js";
|
|
11
|
+
import { a as d, b as pe, B as me, c as nt, u as it } from "./use-cached-selected-values.YAg3m-Af.js";
|
|
13
12
|
import { u as rt } from "./use-has-slot.B7eQSabc.js";
|
|
14
|
-
import { F as dt, E as ut } from "./error-message.
|
|
15
|
-
import { P as Se } from "./popper-container.
|
|
13
|
+
import { F as dt, E as ut } from "./error-message.qsc0nOWT.js";
|
|
14
|
+
import { P as Se } from "./popper-container.DKDjRvdv.js";
|
|
16
15
|
import "./popper-container.types.BCZMbVFD.js";
|
|
17
|
-
import { B as ct } from "./popover.
|
|
16
|
+
import { B as ct } from "./popover.Bzb-pzfB.js";
|
|
17
|
+
import { _ as Y } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
18
18
|
import "../assets/dropdown.css";
|
|
19
19
|
const ye = {
|
|
20
20
|
"en-US": {
|
|
@@ -22,13 +22,13 @@ const ye = {
|
|
|
22
22
|
cancel: "Cancel",
|
|
23
23
|
noOptionsMatchThisSearch: "No options match this search"
|
|
24
24
|
},
|
|
25
|
-
"pt-BR": {
|
|
26
|
-
apply: "Aplicar",
|
|
27
|
-
cancel: "Cancelar"
|
|
28
|
-
},
|
|
29
25
|
"ja-JP": {
|
|
30
26
|
apply: "適用",
|
|
31
27
|
cancel: "キャンセル"
|
|
28
|
+
},
|
|
29
|
+
"pt-BR": {
|
|
30
|
+
apply: "Aplicar",
|
|
31
|
+
cancel: "Cancelar"
|
|
32
32
|
}
|
|
33
33
|
}, ft = (e, o, i, l) => {
|
|
34
34
|
const s = $(e.value), { t: a } = be({ messages: ye });
|
|
@@ -140,8 +140,8 @@ const ye = {
|
|
|
140
140
|
*/
|
|
141
141
|
lazyLoadType: {
|
|
142
142
|
type: String,
|
|
143
|
-
default:
|
|
144
|
-
validator: (e) => Object.values(
|
|
143
|
+
default: me.AUTOMATIC,
|
|
144
|
+
validator: (e) => Object.values(me).includes(e)
|
|
145
145
|
},
|
|
146
146
|
/**
|
|
147
147
|
* Indicates if new options are loading.
|
|
@@ -171,7 +171,7 @@ const ye = {
|
|
|
171
171
|
*
|
|
172
172
|
* If enabled, hides the "Select all" checkbox in "multiple" mode.
|
|
173
173
|
*/
|
|
174
|
-
searching:
|
|
174
|
+
searching: pe.props.searching,
|
|
175
175
|
/**
|
|
176
176
|
* If enabled, dropdown will display non-selectable, static categories
|
|
177
177
|
*/
|
|
@@ -206,7 +206,7 @@ const ye = {
|
|
|
206
206
|
actions: O.value,
|
|
207
207
|
divider: !0,
|
|
208
208
|
fallbackPosition: ["top-start"],
|
|
209
|
-
id:
|
|
209
|
+
id: V(`dropdown-options-${a.id}`),
|
|
210
210
|
open: a.open,
|
|
211
211
|
position: "bottom-start",
|
|
212
212
|
style: {
|
|
@@ -239,7 +239,7 @@ const ye = {
|
|
|
239
239
|
["esc"]
|
|
240
240
|
))
|
|
241
241
|
}, [
|
|
242
|
-
Q(n(
|
|
242
|
+
Q(n(pe), k({
|
|
243
243
|
id: e.id,
|
|
244
244
|
ref_key: "dropdownOptionsListboxRef",
|
|
245
245
|
ref: c,
|
|
@@ -380,19 +380,19 @@ const wt = /* @__PURE__ */ Y(xt, [["render", St]]), $t = { class: "b-dropdown-sm
|
|
|
380
380
|
emits: ["clear", "close", "input", "keydown", "open"],
|
|
381
381
|
setup(e, { expose: o, emit: i }) {
|
|
382
382
|
const l = i, s = e, a = $(null), t = u(() => ({
|
|
383
|
-
[`b-dropdown-small-textbox--${
|
|
384
|
-
[`b-dropdown-small-textbox--${
|
|
385
|
-
[`b-dropdown-small-textbox--${
|
|
383
|
+
[`b-dropdown-small-textbox--${ie.DISABLED}`]: s.disabled,
|
|
384
|
+
[`b-dropdown-small-textbox--${ie.READONLY}`]: s.readonly,
|
|
385
|
+
[`b-dropdown-small-textbox--${ie.OPENED}`]: s.open
|
|
386
386
|
})), r = u(() => s.open && !s.disabled && !s.readonly), c = (f) => {
|
|
387
387
|
l("input", f);
|
|
388
388
|
}, y = (f) => {
|
|
389
389
|
l("keydown", f);
|
|
390
390
|
}, m = (f) => {
|
|
391
|
-
|
|
391
|
+
ne(f), l("open");
|
|
392
392
|
}, h = (f) => {
|
|
393
|
-
|
|
393
|
+
ne(f), l("close");
|
|
394
394
|
}, p = (f) => {
|
|
395
|
-
|
|
395
|
+
ne(f), l("clear");
|
|
396
396
|
}, E = {
|
|
397
397
|
[q.INPUT]: c,
|
|
398
398
|
[q.OPEN]: m,
|
|
@@ -407,12 +407,12 @@ const wt = /* @__PURE__ */ Y(xt, [["render", St]]), $t = { class: "b-dropdown-sm
|
|
|
407
407
|
}), (f, C) => (L(), P("div", {
|
|
408
408
|
class: fe(["b-dropdown-small-textbox", t.value])
|
|
409
409
|
}, [
|
|
410
|
-
Q(
|
|
410
|
+
Q(ot, k({
|
|
411
411
|
ref_key: "baseTextbox",
|
|
412
412
|
ref: a
|
|
413
413
|
}, { ...f.$attrs, ...f.$props }, {
|
|
414
414
|
class: "b-dropdown-small-textbox__textbox",
|
|
415
|
-
size: n(
|
|
415
|
+
size: n(J).SMALL
|
|
416
416
|
}, G(E)), {
|
|
417
417
|
icon: z(() => [
|
|
418
418
|
te("div", $t, [
|
|
@@ -535,22 +535,22 @@ function Tt(e, o, i, l) {
|
|
|
535
535
|
const De = {
|
|
536
536
|
"en-US": {
|
|
537
537
|
all: "All",
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
},
|
|
541
|
-
"pt-BR": {
|
|
542
|
-
all: "Todos",
|
|
543
|
-
clearFilter: "Limpar filtro"
|
|
538
|
+
ariaLabelFallback: "Dropdown",
|
|
539
|
+
clearSearch: "Clear filter"
|
|
544
540
|
},
|
|
545
541
|
"ja-JP": {
|
|
546
542
|
all: "すべて",
|
|
547
543
|
clearFilter: "フィルターをクリア"
|
|
544
|
+
},
|
|
545
|
+
"pt-BR": {
|
|
546
|
+
all: "Todos",
|
|
547
|
+
clearFilter: "Limpar filtro"
|
|
548
548
|
}
|
|
549
549
|
}, Nt = Symbol("input field component injection key"), el = Symbol("input field hint injection key"), At = j({
|
|
550
550
|
i18n: { messages: De },
|
|
551
551
|
name: "b-dropdown",
|
|
552
552
|
components: {
|
|
553
|
-
DropdownInputDefault:
|
|
553
|
+
DropdownInputDefault: st,
|
|
554
554
|
DropdownInputSmall: Ct
|
|
555
555
|
}
|
|
556
556
|
}), Mt = /* @__PURE__ */ j({
|
|
@@ -641,8 +641,8 @@ const De = {
|
|
|
641
641
|
*/
|
|
642
642
|
lazyLoadType: {
|
|
643
643
|
type: String,
|
|
644
|
-
default:
|
|
645
|
-
validator: (e) => Object.values(
|
|
644
|
+
default: pe.props.lazyLoadType.default,
|
|
645
|
+
validator: (e) => Object.values(me).includes(e)
|
|
646
646
|
},
|
|
647
647
|
/*
|
|
648
648
|
* If enabled, the user will be able to select multiple items.
|
|
@@ -682,7 +682,7 @@ const De = {
|
|
|
682
682
|
size: {
|
|
683
683
|
type: String,
|
|
684
684
|
default: null,
|
|
685
|
-
validator: (e) => Object.values(
|
|
685
|
+
validator: (e) => Object.values(J).includes(e)
|
|
686
686
|
},
|
|
687
687
|
/**
|
|
688
688
|
* If enabled, dropdown will display non-selectable, static categories
|
|
@@ -713,16 +713,16 @@ const De = {
|
|
|
713
713
|
emits: ["input", "show-more"],
|
|
714
714
|
setup(e, { expose: o, emit: i }) {
|
|
715
715
|
var he;
|
|
716
|
-
const l = Ze(), s = Oe(), a = rt(s), t = e, r = i, { t: c } = be({ messages: De }), y = $(null), m = $(null), h = $(null), p = $(!1), E =
|
|
716
|
+
const l = Ze(), s = Oe(), a = rt(s), t = e, r = i, { t: c } = be({ messages: De }), y = $(null), m = $(null), h = $(null), p = $(!1), E = V("bento-dropdown-options-container"), O = V("dropdown-label"), f = V("dropdown-description"), C = V("dropdown-error"), { isReadOnly: S } = tt(B(t, "readonly")), { cachedSelectedListboxOptions: x, cachedListboxSelectedValues: v, setCachedValues: g } = nt(
|
|
717
717
|
B(t, "items"),
|
|
718
718
|
B(t, "value"),
|
|
719
719
|
B(t, "multiple")
|
|
720
|
-
), w = $(l["aria-label"]), { ariaLabel: T, label: N } = Ce(t), W =
|
|
720
|
+
), w = $(l["aria-label"]), { ariaLabel: T, label: N } = Ce(t), W = et({
|
|
721
721
|
// TODO: take ariaLabel ref away when aria-label prop is removed
|
|
722
722
|
ariaLabel: T || w,
|
|
723
723
|
label: N,
|
|
724
724
|
defaultFallback: c("ariaLabelFallback")
|
|
725
|
-
}), _ = t.size ===
|
|
725
|
+
}), _ = t.size === J.SMALL || Qe(Nt, !1), Re = u(() => _ ? J.SMALL : J.DEFAULT), Te = u(() => ({
|
|
726
726
|
"b-dropdown--condensed": t.condensed
|
|
727
727
|
})), Ne = u(() => ({
|
|
728
728
|
"b-dropdown__description--error": !!t.errorMessage
|
|
@@ -853,7 +853,7 @@ const De = {
|
|
|
853
853
|
}))
|
|
854
854
|
]), 1064, ["condensed", "value", "additional-items-selected", "ariaControls", "ariaExpanded", "aria-labelledby", "aria-describedby", "aria-label", "aria-readonly", "readonly", "disabled", "display-value", "dynamic-filtering", "is-invalid", "multiple", "open", "selected-value-item", "show-slot-content-in-multiple"]))
|
|
855
855
|
], 16)), [
|
|
856
|
-
[n(
|
|
856
|
+
[n(at)]
|
|
857
857
|
]),
|
|
858
858
|
y.value ? (L(), K(n(vt), k({
|
|
859
859
|
key: 1,
|
|
@@ -904,7 +904,7 @@ const De = {
|
|
|
904
904
|
_: 3
|
|
905
905
|
}, 8, ["id", "class"])) : F("", !0)
|
|
906
906
|
], 2)), [
|
|
907
|
-
[n(
|
|
907
|
+
[n(lt), Ue]
|
|
908
908
|
]);
|
|
909
909
|
};
|
|
910
910
|
}
|
|
@@ -915,4 +915,4 @@ export {
|
|
|
915
915
|
Nt as a,
|
|
916
916
|
Tt as u
|
|
917
917
|
};
|
|
918
|
-
//# sourceMappingURL=dropdown.
|
|
918
|
+
//# sourceMappingURL=dropdown.BWu3fV-K.js.map
|