@adyen/bento-vue3 1.68.2 → 1.70.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/components.d.ts +1 -0
- package/dist/@types/index.d.ts +978 -1976
- 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/alert.css +1 -1
- package/dist/assets/base-button.css +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button-actions-with-menu.css +1 -1
- package/dist/assets/button.css +1 -1
- package/dist/assets/calendar.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/checkbox-group.css +1 -1
- package/dist/assets/checkbox-input.css +1 -1
- package/dist/assets/checkbox.css +1 -1
- package/dist/assets/chip.css +1 -1
- package/dist/assets/code-snippet.css +1 -1
- package/dist/assets/controls-group.css +1 -1
- package/dist/assets/copy.css +1 -1
- package/dist/assets/country.css +1 -1
- package/dist/assets/currency.css +1 -1
- package/dist/assets/dashed-underline.css +1 -1
- package/dist/assets/data-grid-template.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/dropdown-default-textbox.css +1 -1
- package/dist/assets/dropdown-tag.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/empty-state.css +1 -1
- package/dist/assets/error-message.css +1 -1
- package/dist/assets/file-uploader.css +1 -1
- package/dist/assets/filter-bar.css +1 -1
- package/dist/assets/focus-trap.css +1 -1
- package/dist/assets/footer-actions.css +1 -1
- package/dist/assets/form-layout-title.css +1 -1
- package/dist/assets/grid-layout.css +1 -1
- package/dist/assets/header-meta.css +1 -1
- package/dist/assets/header-with-views.css +1 -1
- package/dist/assets/header.css +1 -1
- package/dist/assets/info-icon.css +1 -1
- package/dist/assets/input-field-password.css +1 -1
- package/dist/assets/input-field-phone-number.css +1 -1
- package/dist/assets/input-field.css +1 -1
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/layout-row.css +1 -1
- package/dist/assets/listbox-option-tag.css +1 -1
- package/dist/assets/loading-indicator.css +1 -1
- package/dist/assets/modal-fullscreen.css +1 -1
- package/dist/assets/pagination.css +1 -1
- package/dist/assets/payment-method.css +1 -1
- package/dist/assets/popper-container.css +1 -1
- package/dist/assets/promo-banner.css +1 -1
- package/dist/assets/radio-group.css +1 -1
- package/dist/assets/radio-input.css +1 -1
- package/dist/assets/rich-text-editor.css +1 -1
- package/dist/assets/search-bar.css +1 -1
- package/dist/assets/secondary-nav.css +1 -1
- package/dist/assets/segmented-control.css +1 -1
- package/dist/assets/selection-card-group.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/status.css +1 -1
- package/dist/assets/step.css +1 -1
- package/dist/assets/structured-list-item.css +1 -1
- package/dist/assets/tab.css +1 -1
- package/dist/assets/tag.css +1 -1
- package/dist/assets/textarea.css +1 -1
- package/dist/assets/timeline-item.css +1 -1
- package/dist/assets/toast.css +1 -1
- package/dist/assets/toggle-button.css +1 -1
- package/dist/assets/toggle.css +1 -1
- package/dist/assets/tooltip.css +1 -1
- package/dist/assets/tutorial.css +1 -1
- package/dist/assets/typography.css +1 -1
- package/dist/assets/use-cached-selected-values.css +1 -1
- package/dist/avatar.js +1 -1
- package/dist/button.js +9 -9
- package/dist/card.js +1 -1
- package/dist/checkbox.js +2 -2
- package/dist/chip.js +1 -1
- package/dist/chunks/{accordion-item.DOnW0OnU.js → accordion-item.6etqAJV9.js} +3 -3
- package/dist/chunks/accordion-item.6etqAJV9.js.map +1 -0
- package/dist/chunks/{action-bar.CflF49oL.js → action-bar.CweA2FeY.js} +7 -8
- package/dist/chunks/action-bar.CweA2FeY.js.map +1 -0
- package/dist/chunks/alert.Dzx5MzgE.js +171 -0
- package/dist/chunks/alert.Dzx5MzgE.js.map +1 -0
- package/dist/chunks/aria-label.CaUURpnB.js.map +1 -1
- package/dist/chunks/{avatar.B0-9jC6H.js → avatar.Dq59yj6m.js} +2 -2
- package/dist/chunks/avatar.Dq59yj6m.js.map +1 -0
- package/dist/chunks/{base-button.DdNFlbgH.js → base-button.CjYb5Y8k.js} +19 -19
- package/dist/chunks/base-button.CjYb5Y8k.js.map +1 -0
- package/dist/chunks/{base-modal.C3_r3rmc.js → base-modal.BrBcILSe.js} +21 -21
- package/dist/chunks/base-modal.BrBcILSe.js.map +1 -0
- package/dist/chunks/bin.DuHlEQBO.js +37 -0
- package/dist/chunks/bin.DuHlEQBO.js.map +1 -0
- package/dist/chunks/button-actions-with-menu.CBuoSd3w.js +93 -0
- package/dist/chunks/button-actions-with-menu.CBuoSd3w.js.map +1 -0
- package/dist/chunks/button-actions.types.BptAXjD8.js +8 -0
- package/dist/chunks/button-actions.types.BptAXjD8.js.map +1 -0
- package/dist/chunks/{button.AB0SOQMn.js → button.C-MAa6ut.js} +4 -4
- package/dist/chunks/button.C-MAa6ut.js.map +1 -0
- package/dist/chunks/{calendar._oPk_A1C.js → calendar.DFHiga9k.js} +36 -37
- package/dist/chunks/calendar.DFHiga9k.js.map +1 -0
- package/dist/chunks/{card.CS34Mi_G.js → card.BspLDcas.js} +6 -5
- package/dist/chunks/card.BspLDcas.js.map +1 -0
- package/dist/chunks/{checkbox-group.JRo6xNpe.js → checkbox-group.DIXgr1WQ.js} +6 -6
- package/dist/chunks/checkbox-group.DIXgr1WQ.js.map +1 -0
- package/dist/chunks/{checkbox-input.DFkwZ4GM.js → checkbox-input.BXNGT9U0.js} +2 -2
- package/dist/chunks/checkbox-input.BXNGT9U0.js.map +1 -0
- package/dist/chunks/{checkbox.DGrG3GN1.js → checkbox.M6lKj2hQ.js} +27 -27
- package/dist/chunks/checkbox.M6lKj2hQ.js.map +1 -0
- package/dist/chunks/{chip.CneNX2_j.js → chip.DcpP3zb6.js} +11 -11
- package/dist/chunks/chip.DcpP3zb6.js.map +1 -0
- package/dist/chunks/{code-snippet.D5M76Qy6.js → code-snippet.CKrxKjkQ.js} +8 -8
- package/dist/chunks/code-snippet.CKrxKjkQ.js.map +1 -0
- package/dist/chunks/{controls-group.CrzkSu0U.js → controls-group.CXVHTaYp.js} +32 -29
- package/dist/chunks/controls-group.CXVHTaYp.js.map +1 -0
- package/dist/chunks/{copy.RUoQOydT.js → copy.C4DAAiPw.js} +18 -19
- package/dist/chunks/copy.C4DAAiPw.js.map +1 -0
- package/dist/chunks/{country.Q95voxeL.js → country.RVvsGwuV.js} +9 -9
- package/dist/chunks/country.RVvsGwuV.js.map +1 -0
- package/dist/chunks/country.types.C0Q_hhgJ.js.map +1 -1
- package/dist/chunks/{currency.CZVdyZUH.js → currency.CN4UnCx8.js} +3 -3
- package/dist/chunks/currency.CN4UnCx8.js.map +1 -0
- package/dist/chunks/{dashboard-section.Bhd5Lsy2.js → dashboard-section.Cll3tn0q.js} +4 -4
- package/dist/chunks/{dashboard-section.Bhd5Lsy2.js.map → dashboard-section.Cll3tn0q.js.map} +1 -1
- package/dist/chunks/{dashed-underline.DkzQkpaf.js → dashed-underline.2OYxO-Rh.js} +30 -32
- package/dist/chunks/dashed-underline.2OYxO-Rh.js.map +1 -0
- package/dist/chunks/{data-grid-template.DSwj7e1E.js → data-grid-template.CTRHofoW.js} +5 -5
- package/dist/chunks/data-grid-template.CTRHofoW.js.map +1 -0
- package/dist/chunks/data-grid.DMOTTywp.js +3932 -0
- package/dist/chunks/data-grid.DMOTTywp.js.map +1 -0
- package/dist/chunks/{date-picker.CAoXTiZR.js → date-picker.CBlQ0ql7.js} +13 -14
- package/dist/chunks/date-picker.CBlQ0ql7.js.map +1 -0
- package/dist/chunks/date-range-picker.D-gGqpFB.js +1168 -0
- package/dist/chunks/date-range-picker.D-gGqpFB.js.map +1 -0
- package/dist/chunks/{date.DSjCnSgL.js → date.4GAXrgy5.js} +2 -2
- package/dist/chunks/{date.DSjCnSgL.js.map → date.4GAXrgy5.js.map} +1 -1
- package/dist/chunks/{dialog-page.C80HOigq.js → dialog-page.VSJgHY3C.js} +15 -15
- package/dist/chunks/dialog-page.VSJgHY3C.js.map +1 -0
- package/dist/chunks/{divider.qUOSAbU6.js → divider.DnKNNyWB.js} +2 -2
- package/dist/chunks/divider.DnKNNyWB.js.map +1 -0
- package/dist/chunks/{dropdown-default-textbox.Ce5D3ipi.js → dropdown-default-textbox.CGsOngY1.js} +111 -109
- package/dist/chunks/dropdown-default-textbox.CGsOngY1.js.map +1 -0
- package/dist/chunks/dropdown-tag.DlFpUeXa.js +296 -0
- package/dist/chunks/dropdown-tag.DlFpUeXa.js.map +1 -0
- package/dist/chunks/{dropdown.CMOYmQLB.js → dropdown.agfzvJZE.js} +59 -59
- package/dist/chunks/dropdown.agfzvJZE.js.map +1 -0
- package/dist/chunks/{empty-state.D7llINgF.js → empty-state.BTaeZdQu.js} +4 -4
- package/dist/chunks/empty-state.BTaeZdQu.js.map +1 -0
- package/dist/chunks/{error-message.DHMHq9bR.js → error-message.B1P5ictH.js} +5 -5
- package/dist/chunks/{error-message.DHMHq9bR.js.map → error-message.B1P5ictH.js.map} +1 -1
- package/dist/chunks/es6.MoTTyETW.js +12 -0
- package/dist/chunks/es6.MoTTyETW.js.map +1 -0
- package/dist/chunks/events.CMzGybJJ.js +47 -0
- package/dist/chunks/events.CMzGybJJ.js.map +1 -0
- package/dist/chunks/{file-uploader.B_EI2fAc.js → file-uploader.Vac1Cu0i.js} +165 -164
- package/dist/chunks/file-uploader.Vac1Cu0i.js.map +1 -0
- package/dist/chunks/{filter-bar.DoHMLZ4O.js → filter-bar.uUpoP-XZ.js} +361 -368
- package/dist/chunks/filter-bar.uUpoP-XZ.js.map +1 -0
- package/dist/chunks/{fixed-scroller.D5nAPPbo.js → fixed-scroller.DSGxXiAH.js} +2 -2
- package/dist/chunks/{fixed-scroller.D5nAPPbo.js.map → fixed-scroller.DSGxXiAH.js.map} +1 -1
- package/dist/chunks/{focus-trap.CljZgv9i.js → focus-trap.rjp24a37.js} +2 -2
- package/dist/chunks/focus-trap.rjp24a37.js.map +1 -0
- package/dist/chunks/{footer-actions.Bje-DDqw.js → footer-actions.gRKTKGts.js} +5 -5
- package/dist/chunks/footer-actions.gRKTKGts.js.map +1 -0
- package/dist/chunks/{form-layout-title.rpIO-I9A.js → form-layout-title.DdRqnXXi.js} +5 -5
- package/dist/chunks/form-layout-title.DdRqnXXi.js.map +1 -0
- package/dist/chunks/{grid-layout.BTLE3rac.js → grid-layout.DDaRNz4-.js} +2 -2
- package/dist/chunks/grid-layout.DDaRNz4-.js.map +1 -0
- package/dist/chunks/{header-meta.Yt43-cUI.js → header-meta.Ct79L1O8.js} +26 -27
- package/dist/chunks/{header-meta.Yt43-cUI.js.map → header-meta.Ct79L1O8.js.map} +1 -1
- package/dist/chunks/{header-with-views.BUed3ocZ.js → header-with-views.BVHdSAKp.js} +281 -281
- package/dist/chunks/header-with-views.BVHdSAKp.js.map +1 -0
- package/dist/chunks/{header.CwKjDgKv.js → header.Cd1P8lYK.js} +32 -32
- package/dist/chunks/header.Cd1P8lYK.js.map +1 -0
- package/dist/chunks/image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js.map +1 -1
- package/dist/chunks/{info-icon.DprUQ9fj.js → info-icon.Bl0iKUfC.js} +7 -8
- package/dist/chunks/info-icon.Bl0iKUfC.js.map +1 -0
- package/dist/chunks/info.BKwey1HA.js +44 -0
- package/dist/chunks/info.BKwey1HA.js.map +1 -0
- package/dist/chunks/{input-field-password.DN0Jro1V.js → input-field-password.DkIWrrxy.js} +8 -8
- package/dist/chunks/input-field-password.DkIWrrxy.js.map +1 -0
- package/dist/chunks/{input-field-phone-number.BhPsrafR.js → input-field-phone-number.EXlRu8qq.js} +46 -45
- package/dist/chunks/{input-field-phone-number.BhPsrafR.js.map → input-field-phone-number.EXlRu8qq.js.map} +1 -1
- package/dist/chunks/{input-field.su5Cq8Dt.js → input-field.CgbiOju9.js} +5 -5
- package/dist/chunks/input-field.CgbiOju9.js.map +1 -0
- package/dist/chunks/{inspector.CoZCPfHC.js → inspector.BGtTMtE0.js} +13 -13
- package/dist/chunks/inspector.BGtTMtE0.js.map +1 -0
- package/dist/chunks/{keyboard-navigation.CqgGzfZQ.js → keyboard-navigation.pB8weElW.js} +2 -2
- package/dist/chunks/keyboard-navigation.pB8weElW.js.map +1 -0
- package/dist/chunks/{layout-row.CZNtHaXd.js → layout-row.BPfOPn4x.js} +9 -9
- package/dist/chunks/layout-row.BPfOPn4x.js.map +1 -0
- package/dist/chunks/{link.BBpxiclu.js → link.cwPmWlsk.js} +2 -2
- package/dist/chunks/{link.BBpxiclu.js.map → link.cwPmWlsk.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.0BK6jWO9.js → listbox-option-tag.CDIkX7nh.js} +7 -7
- package/dist/chunks/listbox-option-tag.CDIkX7nh.js.map +1 -0
- package/dist/chunks/{loading-indicator.DEepb9Wl.js → loading-indicator.VHi5tbZa.js} +3 -3
- package/dist/chunks/loading-indicator.VHi5tbZa.js.map +1 -0
- package/dist/chunks/minus-small.DYIyF5XW.js.map +1 -1
- package/dist/chunks/{modal-fullscreen.DBTnoSX9.js → modal-fullscreen.-Q-7GMyT.js} +18 -19
- package/dist/chunks/modal-fullscreen.-Q-7GMyT.js.map +1 -0
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.Cd-mQUJ8.js → modal.vue_vue_type_script_setup_true_lang.TFh7p51f.js} +6 -6
- package/dist/chunks/modal.vue_vue_type_script_setup_true_lang.TFh7p51f.js.map +1 -0
- package/dist/chunks/{pagination.fYQak4C8.js → pagination.DW_HPEIu.js} +5 -5
- package/dist/chunks/pagination.DW_HPEIu.js.map +1 -0
- package/dist/chunks/{payment-method.eazefwm6.js → payment-method.CDnn1bjo.js} +3 -3
- package/dist/chunks/payment-method.CDnn1bjo.js.map +1 -0
- package/dist/chunks/popover.types.COM6oQgq.js +6 -0
- package/dist/chunks/popover.types.COM6oQgq.js.map +1 -0
- package/dist/chunks/{popper-container.b5h4zYgT.js → popper-container.CgJzEQ7N.js} +285 -281
- package/dist/chunks/popper-container.CgJzEQ7N.js.map +1 -0
- package/dist/chunks/{promo-banner.CQp3z2CP.js → promo-banner.BbqIA4Ce.js} +4 -4
- package/dist/chunks/promo-banner.BbqIA4Ce.js.map +1 -0
- package/dist/chunks/{radio-group.H9A5QcNu.js → radio-group.CbLIPi7h.js} +77 -69
- package/dist/chunks/radio-group.CbLIPi7h.js.map +1 -0
- package/dist/chunks/{radio-input.DKfQGxtp.js → radio-input.odN9FOyr.js} +2 -2
- package/dist/chunks/radio-input.odN9FOyr.js.map +1 -0
- package/dist/chunks/{rich-text-editor.Dx78coVL.js → rich-text-editor.C0hJeV4H.js} +8 -8
- package/dist/chunks/rich-text-editor.C0hJeV4H.js.map +1 -0
- package/dist/chunks/{search-bar.CUrcP_wf.js → search-bar.CvAi2t3-.js} +46 -44
- package/dist/chunks/search-bar.CvAi2t3-.js.map +1 -0
- package/dist/chunks/{secondary-nav.j3ddtYoZ.js → secondary-nav.yntS8-u5.js} +28 -28
- package/dist/chunks/secondary-nav.yntS8-u5.js.map +1 -0
- package/dist/chunks/{segmented-control.5-vlm8Gt.js → segmented-control.CRSdIvha.js} +6 -7
- package/dist/chunks/segmented-control.CRSdIvha.js.map +1 -0
- package/dist/chunks/{selection-card-group.B4xpnd-z.js → selection-card-group.Cu3V8h4R.js} +16 -16
- package/dist/chunks/selection-card-group.Cu3V8h4R.js.map +1 -0
- package/dist/chunks/{sidepanel.DPN__L3Q.js → sidepanel.z18XSO3M.js} +14 -14
- package/dist/chunks/sidepanel.z18XSO3M.js.map +1 -0
- package/dist/chunks/{status.types.Bdv2zuuh.js → status.types.-l2qJxLn.js} +9 -9
- package/dist/chunks/status.types.-l2qJxLn.js.map +1 -0
- package/dist/chunks/{step.BtNhPZAf.js → step.BMSjltwl.js} +8 -9
- package/dist/chunks/step.BMSjltwl.js.map +1 -0
- package/dist/chunks/{structured-list-item.BQbEDKhg.js → structured-list-item.CD1nMqzH.js} +18 -19
- package/dist/chunks/structured-list-item.CD1nMqzH.js.map +1 -0
- package/dist/chunks/{summary-grid.types.CjbbSZBJ.js → summary-grid.types.BHuDlPDw.js} +7 -7
- package/dist/chunks/{summary-grid.types.CjbbSZBJ.js.map → summary-grid.types.BHuDlPDw.js.map} +1 -1
- package/dist/chunks/{tab.CAt51ksU.js → tab.C3R_VoJL.js} +5 -5
- package/dist/chunks/tab.C3R_VoJL.js.map +1 -0
- package/dist/chunks/{tag.D3in0-Bp.js → tag.B6AmSws9.js} +11 -12
- package/dist/chunks/tag.B6AmSws9.js.map +1 -0
- package/dist/chunks/textarea.DfQLxj_w.js +295 -0
- package/dist/chunks/textarea.DfQLxj_w.js.map +1 -0
- package/dist/chunks/timeline-item.25y9USE-.js +568 -0
- package/dist/chunks/timeline-item.25y9USE-.js.map +1 -0
- package/dist/chunks/{toast.CSoCPteL.js → toast.DIhABAW8.js} +18 -18
- package/dist/chunks/toast.DIhABAW8.js.map +1 -0
- package/dist/chunks/toggle-button.CQl9HneO.js +1353 -0
- package/dist/chunks/toggle-button.CQl9HneO.js.map +1 -0
- package/dist/chunks/{toggle.BuKXexA6.js → toggle.C8k7NQ7y.js} +3 -3
- package/dist/chunks/toggle.C8k7NQ7y.js.map +1 -0
- package/dist/chunks/{tooltip.VYPUHERk.js → tooltip.lBnko9QV.js} +70 -64
- package/dist/chunks/tooltip.lBnko9QV.js.map +1 -0
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.Dmf8fGaM.js → tutorial.vue_vue_type_script_setup_true_lang.BProZFmI.js} +48 -51
- package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.BProZFmI.js.map +1 -0
- package/dist/chunks/{typography.DN5eC5ch.js → typography.yBEME_Gu.js} +25 -25
- package/dist/chunks/typography.yBEME_Gu.js.map +1 -0
- package/dist/chunks/{use-bento-toast-controller.D3LA1FCd.js → use-bento-toast-controller.Kri_h7jS.js} +2 -2
- package/dist/chunks/{use-bento-toast-controller.D3LA1FCd.js.map → use-bento-toast-controller.Kri_h7jS.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.Dyoz6cUK.js → use-cached-selected-values.CELe-MsT.js} +16 -17
- package/dist/chunks/use-cached-selected-values.CELe-MsT.js.map +1 -0
- package/dist/chunks/{use-country-items.Duh4bMqW.js → use-country-items.D_kamcYy.js} +2 -2
- package/dist/chunks/use-country-items.D_kamcYy.js.map +1 -0
- package/dist/chunks/{use-country-phon-code.BOaJ9PDl.js → use-country-phon-code.Bui3zD6W.js} +5 -3
- package/dist/chunks/{use-country-phon-code.BOaJ9PDl.js.map → use-country-phon-code.Bui3zD6W.js.map} +1 -1
- package/dist/chunks/use-has-slot.B7eQSabc.js.map +1 -1
- package/dist/chunks/warning-filled.BMGD0G-_.js +29 -0
- package/dist/chunks/warning-filled.BMGD0G-_.js.map +1 -0
- 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-with-views.js +1 -1
- package/dist/header.js +1 -1
- package/dist/index.js +241 -244
- 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-phone-number.js +3 -2
- package/dist/input-field.js +1 -1
- package/dist/inspector.js +1 -1
- package/dist/internal.js +33 -32
- package/dist/internal.js.map +1 -1
- 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 +2 -2
- package/dist/popper-container.js +4 -5
- package/dist/popper-container.js.map +1 -1
- package/dist/promo-banner.js +1 -1
- package/dist/radio-group.js +2 -2
- package/dist/rich-text-editor.js +1 -1
- 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 +17 -4
- package/dist/styles/bento-light.css +17 -4
- package/dist/styles/bento.css +17 -4
- package/dist/styles/styleguide.css +17 -4
- package/dist/styles/utility.css +3 -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/use-form-v4.js.map +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +6 -6
- package/dist/assets/button-actions.css +0 -1
- package/dist/assets/menu.css +0 -1
- package/dist/assets/popover.css +0 -1
- package/dist/assets/teleport.css +0 -1
- package/dist/chunks/accordion-item.DOnW0OnU.js.map +0 -1
- package/dist/chunks/action-bar.CflF49oL.js.map +0 -1
- package/dist/chunks/alert.DvleqX0i.js +0 -169
- package/dist/chunks/alert.DvleqX0i.js.map +0 -1
- package/dist/chunks/avatar.B0-9jC6H.js.map +0 -1
- package/dist/chunks/base-button.DdNFlbgH.js.map +0 -1
- package/dist/chunks/base-modal.C3_r3rmc.js.map +0 -1
- package/dist/chunks/base-modal.keys.C2PQXcE2.js +0 -5
- package/dist/chunks/base-modal.keys.C2PQXcE2.js.map +0 -1
- package/dist/chunks/bin.CiGG2V4b.js +0 -37
- package/dist/chunks/bin.CiGG2V4b.js.map +0 -1
- package/dist/chunks/button-actions-with-menu.8ZYh7-9s.js +0 -91
- package/dist/chunks/button-actions-with-menu.8ZYh7-9s.js.map +0 -1
- package/dist/chunks/button-actions.CZdO9YOk.js +0 -264
- package/dist/chunks/button-actions.CZdO9YOk.js.map +0 -1
- package/dist/chunks/button.AB0SOQMn.js.map +0 -1
- package/dist/chunks/calendar._oPk_A1C.js.map +0 -1
- package/dist/chunks/card.CS34Mi_G.js.map +0 -1
- package/dist/chunks/checkbox-group.JRo6xNpe.js.map +0 -1
- package/dist/chunks/checkbox-input.DFkwZ4GM.js.map +0 -1
- package/dist/chunks/checkbox.DGrG3GN1.js.map +0 -1
- package/dist/chunks/chip.CneNX2_j.js.map +0 -1
- package/dist/chunks/code-snippet.D5M76Qy6.js.map +0 -1
- package/dist/chunks/controls-group.CrzkSu0U.js.map +0 -1
- package/dist/chunks/copy.RUoQOydT.js.map +0 -1
- package/dist/chunks/country.Q95voxeL.js.map +0 -1
- package/dist/chunks/currency.CZVdyZUH.js.map +0 -1
- package/dist/chunks/dashed-underline.DkzQkpaf.js.map +0 -1
- package/dist/chunks/data-grid-template.DSwj7e1E.js.map +0 -1
- package/dist/chunks/data-grid.BEdELRNZ.js +0 -3860
- package/dist/chunks/data-grid.BEdELRNZ.js.map +0 -1
- package/dist/chunks/date-picker.CAoXTiZR.js.map +0 -1
- package/dist/chunks/date-range-picker.DtV4L3L6.js +0 -1225
- package/dist/chunks/date-range-picker.DtV4L3L6.js.map +0 -1
- package/dist/chunks/dialog-page.C80HOigq.js.map +0 -1
- package/dist/chunks/divider.qUOSAbU6.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.Ce5D3ipi.js.map +0 -1
- package/dist/chunks/dropdown-tag.B3fptORX.js +0 -230
- package/dist/chunks/dropdown-tag.B3fptORX.js.map +0 -1
- package/dist/chunks/dropdown.CMOYmQLB.js.map +0 -1
- package/dist/chunks/empty-state.D7llINgF.js.map +0 -1
- package/dist/chunks/es6.n1ewaW31.js +0 -11
- package/dist/chunks/es6.n1ewaW31.js.map +0 -1
- package/dist/chunks/events.FNmSWp_P.js +0 -52
- package/dist/chunks/events.FNmSWp_P.js.map +0 -1
- package/dist/chunks/file-uploader.B_EI2fAc.js.map +0 -1
- package/dist/chunks/filter-bar.DoHMLZ4O.js.map +0 -1
- package/dist/chunks/focus-trap.CljZgv9i.js.map +0 -1
- package/dist/chunks/footer-actions.Bje-DDqw.js.map +0 -1
- package/dist/chunks/form-layout-title.rpIO-I9A.js.map +0 -1
- package/dist/chunks/grid-layout.BTLE3rac.js.map +0 -1
- package/dist/chunks/header-with-views.BUed3ocZ.js.map +0 -1
- package/dist/chunks/header.CwKjDgKv.js.map +0 -1
- package/dist/chunks/info-icon.DprUQ9fj.js.map +0 -1
- package/dist/chunks/info.DcTs-Bzp.js +0 -44
- package/dist/chunks/info.DcTs-Bzp.js.map +0 -1
- package/dist/chunks/input-field-password.DN0Jro1V.js.map +0 -1
- package/dist/chunks/input-field.su5Cq8Dt.js.map +0 -1
- package/dist/chunks/inspector.CoZCPfHC.js.map +0 -1
- package/dist/chunks/keyboard-navigation.CqgGzfZQ.js.map +0 -1
- package/dist/chunks/layout-row.CZNtHaXd.js.map +0 -1
- package/dist/chunks/listbox-option-tag.0BK6jWO9.js.map +0 -1
- package/dist/chunks/loading-indicator.DEepb9Wl.js.map +0 -1
- package/dist/chunks/menu.EtjeOPXX.js +0 -680
- package/dist/chunks/menu.EtjeOPXX.js.map +0 -1
- package/dist/chunks/modal-fullscreen.DBTnoSX9.js.map +0 -1
- package/dist/chunks/modal-fullscreen.keys.CMba3hYp.js +0 -5
- package/dist/chunks/modal-fullscreen.keys.CMba3hYp.js.map +0 -1
- package/dist/chunks/modal.vue_vue_type_script_setup_true_lang.Cd-mQUJ8.js.map +0 -1
- package/dist/chunks/pagination.fYQak4C8.js.map +0 -1
- package/dist/chunks/payment-method.eazefwm6.js.map +0 -1
- package/dist/chunks/popover.DYgCCUCJ.js +0 -200
- package/dist/chunks/popover.DYgCCUCJ.js.map +0 -1
- package/dist/chunks/popover.types.V8old-GW.js +0 -6
- package/dist/chunks/popover.types.V8old-GW.js.map +0 -1
- package/dist/chunks/popper-container.b5h4zYgT.js.map +0 -1
- package/dist/chunks/popper-container.types.BCZMbVFD.js +0 -9
- package/dist/chunks/popper-container.types.BCZMbVFD.js.map +0 -1
- package/dist/chunks/promo-banner.CQp3z2CP.js.map +0 -1
- package/dist/chunks/radio-group.H9A5QcNu.js.map +0 -1
- package/dist/chunks/radio-input.DKfQGxtp.js.map +0 -1
- package/dist/chunks/rich-text-editor.Dx78coVL.js.map +0 -1
- package/dist/chunks/search-bar.CUrcP_wf.js.map +0 -1
- package/dist/chunks/secondary-nav.j3ddtYoZ.js.map +0 -1
- package/dist/chunks/segmented-control.5-vlm8Gt.js.map +0 -1
- package/dist/chunks/selection-card-group.B4xpnd-z.js.map +0 -1
- package/dist/chunks/sidepanel.DPN__L3Q.js.map +0 -1
- package/dist/chunks/sidepanel.keys.R0DKQuYx.js +0 -5
- package/dist/chunks/sidepanel.keys.R0DKQuYx.js.map +0 -1
- package/dist/chunks/status.types.Bdv2zuuh.js.map +0 -1
- package/dist/chunks/step.BtNhPZAf.js.map +0 -1
- package/dist/chunks/structured-list-item.BQbEDKhg.js.map +0 -1
- package/dist/chunks/tab.CAt51ksU.js.map +0 -1
- package/dist/chunks/tag.D3in0-Bp.js.map +0 -1
- package/dist/chunks/teleport.CfGWjxe2.js +0 -129
- package/dist/chunks/teleport.CfGWjxe2.js.map +0 -1
- package/dist/chunks/textarea.BBhN67-I.js +0 -282
- package/dist/chunks/textarea.BBhN67-I.js.map +0 -1
- package/dist/chunks/timeline-item.CuCII37W.js +0 -566
- package/dist/chunks/timeline-item.CuCII37W.js.map +0 -1
- package/dist/chunks/toast.CSoCPteL.js.map +0 -1
- package/dist/chunks/toggle-button.NQwrfSr1.js +0 -80
- package/dist/chunks/toggle-button.NQwrfSr1.js.map +0 -1
- package/dist/chunks/toggle.BuKXexA6.js.map +0 -1
- package/dist/chunks/tooltip.VYPUHERk.js.map +0 -1
- package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.Dmf8fGaM.js.map +0 -1
- package/dist/chunks/typography.DN5eC5ch.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.Dyoz6cUK.js.map +0 -1
- package/dist/chunks/use-click-outside.BnhTgpSt.js +0 -14
- package/dist/chunks/use-click-outside.BnhTgpSt.js.map +0 -1
- package/dist/chunks/use-country-items.Duh4bMqW.js.map +0 -1
- package/dist/chunks/warning-filled.AiUbXzzg.js +0 -29
- package/dist/chunks/warning-filled.AiUbXzzg.js.map +0 -1
- package/dist/styles/legacy.css +0 -2226
package/dist/@types/index.d.ts
CHANGED
|
@@ -16,8 +16,7 @@ import { DirectiveBinding } from 'vue';
|
|
|
16
16
|
import type { DirectiveHook } from 'vue';
|
|
17
17
|
import { ExtractComputedReturns } from 'vue/types/v3-component-options';
|
|
18
18
|
import { ExtractPropTypes } from 'vue';
|
|
19
|
-
import
|
|
20
|
-
import { HTMLAttributes as HTMLAttributes_2 } from 'vue';
|
|
19
|
+
import { HTMLAttributes } from 'vue';
|
|
21
20
|
import type { Middleware } from '@floating-ui/vue';
|
|
22
21
|
import { MiddlewareReturn } from '@floating-ui/vue';
|
|
23
22
|
import { MiddlewareState } from '@floating-ui/vue';
|
|
@@ -31,6 +30,7 @@ import { ShallowUnwrapRef } from 'vue';
|
|
|
31
30
|
import type { typeToFlattenedError } from 'zod';
|
|
32
31
|
import { UnwrapRef } from 'vue';
|
|
33
32
|
import { VNode } from 'vue';
|
|
33
|
+
import type { VNodeRef } from 'vue/types/vnode';
|
|
34
34
|
import { Vue3Instance } from 'vue/types/v3-component-public-instance';
|
|
35
35
|
import type { ZodSchema } from 'zod';
|
|
36
36
|
|
|
@@ -124,6 +124,14 @@ declare type __VLS_NonUndefinedable_49<T> = T extends undefined ? never : T;
|
|
|
124
124
|
|
|
125
125
|
declare type __VLS_NonUndefinedable_5<T> = T extends undefined ? never : T;
|
|
126
126
|
|
|
127
|
+
declare type __VLS_NonUndefinedable_50<T> = T extends undefined ? never : T;
|
|
128
|
+
|
|
129
|
+
declare type __VLS_NonUndefinedable_51<T> = T extends undefined ? never : T;
|
|
130
|
+
|
|
131
|
+
declare type __VLS_NonUndefinedable_52<T> = T extends undefined ? never : T;
|
|
132
|
+
|
|
133
|
+
declare type __VLS_NonUndefinedable_53<T> = T extends undefined ? never : T;
|
|
134
|
+
|
|
127
135
|
declare type __VLS_NonUndefinedable_6<T> = T extends undefined ? never : T;
|
|
128
136
|
|
|
129
137
|
declare type __VLS_NonUndefinedable_7<T> = T extends undefined ? never : T;
|
|
@@ -537,6 +545,42 @@ declare type __VLS_TypePropsToRuntimeProps_5<T> = {
|
|
|
537
545
|
};
|
|
538
546
|
};
|
|
539
547
|
|
|
548
|
+
declare type __VLS_TypePropsToRuntimeProps_50<T> = {
|
|
549
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
550
|
+
type: PropType<__VLS_NonUndefinedable_50<T[K]>>;
|
|
551
|
+
} : {
|
|
552
|
+
type: PropType<T[K]>;
|
|
553
|
+
required: true;
|
|
554
|
+
};
|
|
555
|
+
};
|
|
556
|
+
|
|
557
|
+
declare type __VLS_TypePropsToRuntimeProps_51<T> = {
|
|
558
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
559
|
+
type: PropType<__VLS_NonUndefinedable_51<T[K]>>;
|
|
560
|
+
} : {
|
|
561
|
+
type: PropType<T[K]>;
|
|
562
|
+
required: true;
|
|
563
|
+
};
|
|
564
|
+
};
|
|
565
|
+
|
|
566
|
+
declare type __VLS_TypePropsToRuntimeProps_52<T> = {
|
|
567
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
568
|
+
type: PropType<__VLS_NonUndefinedable_52<T[K]>>;
|
|
569
|
+
} : {
|
|
570
|
+
type: PropType<T[K]>;
|
|
571
|
+
required: true;
|
|
572
|
+
};
|
|
573
|
+
};
|
|
574
|
+
|
|
575
|
+
declare type __VLS_TypePropsToRuntimeProps_53<T> = {
|
|
576
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
577
|
+
type: PropType<__VLS_NonUndefinedable_53<T[K]>>;
|
|
578
|
+
} : {
|
|
579
|
+
type: PropType<T[K]>;
|
|
580
|
+
required: true;
|
|
581
|
+
};
|
|
582
|
+
};
|
|
583
|
+
|
|
540
584
|
declare type __VLS_TypePropsToRuntimeProps_6<T> = {
|
|
541
585
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
542
586
|
type: PropType<__VLS_NonUndefinedable_6<T[K]>>;
|
|
@@ -819,12 +863,36 @@ declare type __VLS_WithDefaults_46<P, D> = {
|
|
|
819
863
|
} : P[K];
|
|
820
864
|
};
|
|
821
865
|
|
|
866
|
+
declare type __VLS_WithDefaults_47<P, D> = {
|
|
867
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
868
|
+
default: D[K];
|
|
869
|
+
} : P[K];
|
|
870
|
+
};
|
|
871
|
+
|
|
872
|
+
declare type __VLS_WithDefaults_48<P, D> = {
|
|
873
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
874
|
+
default: D[K];
|
|
875
|
+
} : P[K];
|
|
876
|
+
};
|
|
877
|
+
|
|
878
|
+
declare type __VLS_WithDefaults_49<P, D> = {
|
|
879
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
880
|
+
default: D[K];
|
|
881
|
+
} : P[K];
|
|
882
|
+
};
|
|
883
|
+
|
|
822
884
|
declare type __VLS_WithDefaults_5<P, D> = {
|
|
823
885
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
824
886
|
default: D[K];
|
|
825
887
|
} : P[K];
|
|
826
888
|
};
|
|
827
889
|
|
|
890
|
+
declare type __VLS_WithDefaults_50<P, D> = {
|
|
891
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
892
|
+
default: D[K];
|
|
893
|
+
} : P[K];
|
|
894
|
+
};
|
|
895
|
+
|
|
828
896
|
declare type __VLS_WithDefaults_6<P, D> = {
|
|
829
897
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
830
898
|
default: D[K];
|
|
@@ -1496,6 +1564,36 @@ selectionLabel: string;
|
|
|
1496
1564
|
|
|
1497
1565
|
export declare type BentoActionBarVariant = 'default' | 'confirmation';
|
|
1498
1566
|
|
|
1567
|
+
/**
|
|
1568
|
+
* Type for the Buttons passed as objects to Button Actions
|
|
1569
|
+
*/
|
|
1570
|
+
declare interface BentoActionButton extends BentoButtonActionBase, BentoButtonProps {
|
|
1571
|
+
event?: (event: Event) => void;
|
|
1572
|
+
state?: BentoLoadingButtonState | `${BentoLoadingButtonState}`;
|
|
1573
|
+
iconOnly?: boolean;
|
|
1574
|
+
}
|
|
1575
|
+
|
|
1576
|
+
/**
|
|
1577
|
+
* Type for the Buttons passed as objects to Button Actions
|
|
1578
|
+
*/
|
|
1579
|
+
declare interface BentoActionButton_2 extends BentoButtonActionBase_2, BentoButtonProps_2 {
|
|
1580
|
+
event?: (event: Event) => void;
|
|
1581
|
+
state?: BentoLoadingButtonState_2 | `${BentoLoadingButtonState_2}`;
|
|
1582
|
+
iconOnly?: boolean;
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1585
|
+
/**
|
|
1586
|
+
* Type for the Menus passed as objects to Button Actions
|
|
1587
|
+
*/
|
|
1588
|
+
declare type BentoActionMenu = BentoButtonActionBase & OmitStrict<BentoMenuProps, 'button' | 'data'> & Partial<Pick<BentoMenuProps, 'data'>>;
|
|
1589
|
+
|
|
1590
|
+
/**
|
|
1591
|
+
* Type for the Menus passed as objects to Button Actions
|
|
1592
|
+
*/
|
|
1593
|
+
declare type BentoActionMenu_2 = BentoButtonActionBase_2 &
|
|
1594
|
+
OmitStrict_2<BentoMenuProps_2, 'button' | 'data'> &
|
|
1595
|
+
Partial<Pick<BentoMenuProps_2, 'data'>>;
|
|
1596
|
+
|
|
1499
1597
|
/**
|
|
1500
1598
|
* An Alert component is used to display a persistent
|
|
1501
1599
|
* notification containing information important to the user
|
|
@@ -1818,26 +1916,44 @@ inverse: boolean;
|
|
|
1818
1916
|
iconRight: (_: {}) => any;
|
|
1819
1917
|
}>;
|
|
1820
1918
|
|
|
1821
|
-
|
|
1919
|
+
/**
|
|
1920
|
+
* Private
|
|
1921
|
+
*/
|
|
1922
|
+
/**
|
|
1923
|
+
* Base interface for the Button and Menu objects
|
|
1924
|
+
*/
|
|
1925
|
+
declare interface BentoButtonActionBase {
|
|
1822
1926
|
title: string;
|
|
1823
|
-
event?: (event: Event) => void;
|
|
1824
1927
|
icon?: VueNodeElement;
|
|
1825
1928
|
iconLeft?: VueNodeElement;
|
|
1826
1929
|
iconRight?: VueNodeElement;
|
|
1827
|
-
|
|
1828
|
-
|
|
1930
|
+
/**
|
|
1931
|
+
* Provides a template ref to the underlying component instance.
|
|
1932
|
+
*/
|
|
1933
|
+
elementRef?: Exclude<VNodeRef, string>;
|
|
1829
1934
|
}
|
|
1830
1935
|
|
|
1831
|
-
|
|
1936
|
+
/**
|
|
1937
|
+
* Private
|
|
1938
|
+
*/
|
|
1939
|
+
|
|
1940
|
+
/**
|
|
1941
|
+
* Base interface for the Button and Menu objects
|
|
1942
|
+
*/
|
|
1943
|
+
declare interface BentoButtonActionBase_2 {
|
|
1832
1944
|
title: string;
|
|
1833
|
-
event?: (event: Event) => void;
|
|
1834
1945
|
icon?: VueNodeElement_2;
|
|
1835
1946
|
iconLeft?: VueNodeElement_2;
|
|
1836
1947
|
iconRight?: VueNodeElement_2;
|
|
1837
|
-
|
|
1838
|
-
|
|
1948
|
+
|
|
1949
|
+
/**
|
|
1950
|
+
* Provides a template ref to the underlying component instance.
|
|
1951
|
+
*/
|
|
1952
|
+
elementRef?: Exclude<VNodeRef, string>;
|
|
1839
1953
|
}
|
|
1840
1954
|
|
|
1955
|
+
export declare type BentoButtonActionObject = BentoActionButton;
|
|
1956
|
+
|
|
1841
1957
|
/**
|
|
1842
1958
|
* ButtonActions component manages a set of actions a user can choose from by displaying a group of buttons.
|
|
1843
1959
|
*
|
|
@@ -1865,13 +1981,13 @@ declare interface BentoButtonActionObject_2 extends BentoButtonProps_2 {
|
|
|
1865
1981
|
*/
|
|
1866
1982
|
export declare const BentoButtonActions: DefineComponent<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_3<BentoButtonActionsProps>, {
|
|
1867
1983
|
inverse: boolean;
|
|
1868
|
-
layout:
|
|
1984
|
+
layout: string;
|
|
1869
1985
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_3<BentoButtonActionsProps>, {
|
|
1870
1986
|
inverse: boolean;
|
|
1871
|
-
layout:
|
|
1987
|
+
layout: string;
|
|
1872
1988
|
}>>>, {
|
|
1873
1989
|
inverse: boolean;
|
|
1874
|
-
layout:
|
|
1990
|
+
layout: string;
|
|
1875
1991
|
}>;
|
|
1876
1992
|
|
|
1877
1993
|
/**
|
|
@@ -1898,9 +2014,9 @@ export declare enum BentoButtonActionsLayoutExtended {
|
|
|
1898
2014
|
BUTTONS_START = "buttons-start"
|
|
1899
2015
|
}
|
|
1900
2016
|
|
|
1901
|
-
export declare type BentoButtonActionsList = Array<
|
|
2017
|
+
export declare type BentoButtonActionsList = Array<BentoActionButton & BentoActionMenu>;
|
|
1902
2018
|
|
|
1903
|
-
declare type BentoButtonActionsList_2 = Array<
|
|
2019
|
+
declare type BentoButtonActionsList_2 = Array<BentoActionButton_2 & BentoActionMenu_2>;
|
|
1904
2020
|
|
|
1905
2021
|
export declare interface BentoButtonActionsProps {
|
|
1906
2022
|
/**
|
|
@@ -1953,7 +2069,7 @@ export declare interface BentoButtonActionsProps {
|
|
|
1953
2069
|
* @values SPACE_BETWEEN
|
|
1954
2070
|
* @values VERTICAL_STACK
|
|
1955
2071
|
*/
|
|
1956
|
-
layout?:
|
|
2072
|
+
layout?: string;
|
|
1957
2073
|
}
|
|
1958
2074
|
|
|
1959
2075
|
export declare enum BentoButtonPropClass {
|
|
@@ -2778,7 +2894,7 @@ export declare type BentoCheckboxType = boolean | BentoMultiCheckboxType;
|
|
|
2778
2894
|
* `
|
|
2779
2895
|
* }
|
|
2780
2896
|
*/
|
|
2781
|
-
export declare const BentoChip: DefineComponent<
|
|
2897
|
+
export declare const BentoChip: DefineComponent<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_14<BentoChipProps>, {
|
|
2782
2898
|
disabled: boolean;
|
|
2783
2899
|
readonly: boolean;
|
|
2784
2900
|
error: boolean;
|
|
@@ -2786,7 +2902,7 @@ condensed: boolean;
|
|
|
2786
2902
|
characterLimit: any;
|
|
2787
2903
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2788
2904
|
click: () => void;
|
|
2789
|
-
}, string, Readonly<ExtractPropTypes<
|
|
2905
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_14<BentoChipProps>, {
|
|
2790
2906
|
disabled: boolean;
|
|
2791
2907
|
readonly: boolean;
|
|
2792
2908
|
error: boolean;
|
|
@@ -2868,7 +2984,7 @@ export declare const BentoClickOutsideDirective: {
|
|
|
2868
2984
|
* `
|
|
2869
2985
|
* }
|
|
2870
2986
|
*/
|
|
2871
|
-
export declare const BentoCodeSnippet: __VLS_WithTemplateSlots_12<DefineComponent<
|
|
2987
|
+
export declare const BentoCodeSnippet: __VLS_WithTemplateSlots_12<DefineComponent<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_15<BentoCodeSnippetProps>, {
|
|
2872
2988
|
actionable: boolean;
|
|
2873
2989
|
actionableText: any;
|
|
2874
2990
|
content: string;
|
|
@@ -2878,7 +2994,7 @@ lang: BentoCodeSnippetSupportedLanguage;
|
|
|
2878
2994
|
langLabel: any;
|
|
2879
2995
|
loading: boolean;
|
|
2880
2996
|
variant: BentoCodeSnippetVariant;
|
|
2881
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoCodeSnippetEvent[], string, Readonly<ExtractPropTypes<
|
|
2997
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoCodeSnippetEvent[], string, Readonly<ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_15<BentoCodeSnippetProps>, {
|
|
2882
2998
|
actionable: boolean;
|
|
2883
2999
|
actionableText: any;
|
|
2884
3000
|
content: string;
|
|
@@ -2890,8 +3006,8 @@ loading: boolean;
|
|
|
2890
3006
|
variant: BentoCodeSnippetVariant;
|
|
2891
3007
|
}>>>, {
|
|
2892
3008
|
variant: BentoCodeSnippetVariant | `${BentoCodeSnippetVariant}`;
|
|
2893
|
-
loading: boolean;
|
|
2894
3009
|
content: string;
|
|
3010
|
+
loading: boolean;
|
|
2895
3011
|
expandable: boolean;
|
|
2896
3012
|
actionable: boolean;
|
|
2897
3013
|
actionableText: string;
|
|
@@ -3393,13 +3509,13 @@ export declare enum BentoCountryVariant {
|
|
|
3393
3509
|
* `
|
|
3394
3510
|
* }
|
|
3395
3511
|
*/
|
|
3396
|
-
export declare const BentoCurrency: DefineComponent<
|
|
3512
|
+
export declare const BentoCurrency: DefineComponent<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_16<BentoCurrencyProps>, {
|
|
3397
3513
|
currency: BentoCurrencyISOCode;
|
|
3398
3514
|
disableTypography: boolean;
|
|
3399
3515
|
majorUnits: boolean;
|
|
3400
3516
|
value: any;
|
|
3401
3517
|
currencySign: string;
|
|
3402
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
3518
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_16<BentoCurrencyProps>, {
|
|
3403
3519
|
currency: BentoCurrencyISOCode;
|
|
3404
3520
|
disableTypography: boolean;
|
|
3405
3521
|
majorUnits: boolean;
|
|
@@ -3414,175 +3530,175 @@ majorUnits: boolean;
|
|
|
3414
3530
|
}>;
|
|
3415
3531
|
|
|
3416
3532
|
export declare enum BentoCurrencyISOCode {
|
|
3417
|
-
AED =
|
|
3418
|
-
AFA =
|
|
3419
|
-
ALL =
|
|
3420
|
-
AMD =
|
|
3421
|
-
ANG =
|
|
3422
|
-
AOA =
|
|
3423
|
-
ARS =
|
|
3424
|
-
AUD =
|
|
3425
|
-
AWG =
|
|
3426
|
-
AZN =
|
|
3427
|
-
BAM =
|
|
3428
|
-
BBD =
|
|
3429
|
-
BDT =
|
|
3430
|
-
BEF =
|
|
3431
|
-
BGN =
|
|
3432
|
-
BHD =
|
|
3433
|
-
BIF =
|
|
3434
|
-
BMD =
|
|
3435
|
-
BND =
|
|
3436
|
-
BOB =
|
|
3437
|
-
BRL =
|
|
3438
|
-
BSD =
|
|
3439
|
-
BTC =
|
|
3440
|
-
BTN =
|
|
3441
|
-
BWP =
|
|
3442
|
-
BYR =
|
|
3443
|
-
BZD =
|
|
3444
|
-
CAD =
|
|
3445
|
-
CDF =
|
|
3446
|
-
CHF =
|
|
3447
|
-
CLF =
|
|
3448
|
-
CLP =
|
|
3449
|
-
CNY =
|
|
3450
|
-
COP =
|
|
3451
|
-
CRC =
|
|
3452
|
-
CUC =
|
|
3453
|
-
CVE =
|
|
3454
|
-
CZK =
|
|
3455
|
-
DEM =
|
|
3456
|
-
DJF =
|
|
3457
|
-
DKK =
|
|
3458
|
-
DOP =
|
|
3459
|
-
DZD =
|
|
3460
|
-
EEK =
|
|
3461
|
-
EGP =
|
|
3462
|
-
ERN =
|
|
3463
|
-
ETB =
|
|
3464
|
-
EUR =
|
|
3465
|
-
FJD =
|
|
3466
|
-
FKP =
|
|
3467
|
-
GBP =
|
|
3468
|
-
GEL =
|
|
3469
|
-
GHS =
|
|
3470
|
-
GIP =
|
|
3471
|
-
GMD =
|
|
3472
|
-
GNF =
|
|
3473
|
-
GRD =
|
|
3474
|
-
GTQ =
|
|
3475
|
-
GYD =
|
|
3476
|
-
HKD =
|
|
3477
|
-
HNL =
|
|
3478
|
-
HRK =
|
|
3479
|
-
HTG =
|
|
3480
|
-
HUF =
|
|
3481
|
-
IDR =
|
|
3482
|
-
ILS =
|
|
3483
|
-
INR =
|
|
3484
|
-
IQD =
|
|
3485
|
-
IRR =
|
|
3486
|
-
ISK =
|
|
3487
|
-
ITL =
|
|
3488
|
-
JMD =
|
|
3489
|
-
JOD =
|
|
3490
|
-
JPY =
|
|
3491
|
-
KES =
|
|
3492
|
-
KGS =
|
|
3493
|
-
KHR =
|
|
3494
|
-
KMF =
|
|
3495
|
-
KPW =
|
|
3496
|
-
KRW =
|
|
3497
|
-
KWD =
|
|
3498
|
-
KYD =
|
|
3499
|
-
KZT =
|
|
3500
|
-
LAK =
|
|
3501
|
-
LBP =
|
|
3502
|
-
LKR =
|
|
3503
|
-
LRD =
|
|
3504
|
-
LSL =
|
|
3505
|
-
LTC =
|
|
3506
|
-
LTL =
|
|
3507
|
-
LVL =
|
|
3508
|
-
LYD =
|
|
3509
|
-
MAD =
|
|
3510
|
-
MDL =
|
|
3511
|
-
MGA =
|
|
3512
|
-
MKD =
|
|
3513
|
-
MMK =
|
|
3514
|
-
MNT =
|
|
3515
|
-
MOP =
|
|
3516
|
-
MRO =
|
|
3517
|
-
MRU =
|
|
3518
|
-
MUR =
|
|
3519
|
-
MVR =
|
|
3520
|
-
MWK =
|
|
3521
|
-
MXN =
|
|
3522
|
-
MYR =
|
|
3523
|
-
MZM =
|
|
3524
|
-
NAD =
|
|
3525
|
-
NGN =
|
|
3526
|
-
NIO =
|
|
3527
|
-
NOK =
|
|
3528
|
-
NPR =
|
|
3529
|
-
NZD =
|
|
3530
|
-
OMR =
|
|
3531
|
-
PAB =
|
|
3532
|
-
PEN =
|
|
3533
|
-
PGK =
|
|
3534
|
-
PHP =
|
|
3535
|
-
PKR =
|
|
3536
|
-
PLN =
|
|
3537
|
-
PYG =
|
|
3538
|
-
QAR =
|
|
3539
|
-
RON =
|
|
3540
|
-
RSD =
|
|
3541
|
-
RUB =
|
|
3542
|
-
RWF =
|
|
3543
|
-
SAR =
|
|
3544
|
-
SBD =
|
|
3545
|
-
SCR =
|
|
3546
|
-
SDG =
|
|
3547
|
-
SEK =
|
|
3548
|
-
SGD =
|
|
3549
|
-
SHP =
|
|
3550
|
-
SKK =
|
|
3551
|
-
SLL =
|
|
3552
|
-
SOS =
|
|
3553
|
-
SRD =
|
|
3554
|
-
SSP =
|
|
3555
|
-
STD =
|
|
3556
|
-
SVC =
|
|
3557
|
-
SYP =
|
|
3558
|
-
SZL =
|
|
3559
|
-
THB =
|
|
3560
|
-
TJS =
|
|
3561
|
-
TMT =
|
|
3562
|
-
TND =
|
|
3563
|
-
TOP =
|
|
3564
|
-
TRY =
|
|
3565
|
-
TTD =
|
|
3566
|
-
TWD =
|
|
3567
|
-
TZS =
|
|
3568
|
-
UAH =
|
|
3569
|
-
UGX =
|
|
3570
|
-
USD =
|
|
3571
|
-
UYU =
|
|
3572
|
-
UZS =
|
|
3573
|
-
VEF =
|
|
3574
|
-
VND =
|
|
3575
|
-
VUV =
|
|
3576
|
-
WST =
|
|
3577
|
-
XAF =
|
|
3578
|
-
XCD =
|
|
3579
|
-
XDR =
|
|
3580
|
-
XOF =
|
|
3581
|
-
XPF =
|
|
3582
|
-
YER =
|
|
3583
|
-
ZAR =
|
|
3584
|
-
ZMK =
|
|
3585
|
-
ZWL =
|
|
3533
|
+
AED = "AED",
|
|
3534
|
+
AFA = "AFA",
|
|
3535
|
+
ALL = "ALL",
|
|
3536
|
+
AMD = "AMD",
|
|
3537
|
+
ANG = "ANG",
|
|
3538
|
+
AOA = "AOA",
|
|
3539
|
+
ARS = "ARS",
|
|
3540
|
+
AUD = "AUD",
|
|
3541
|
+
AWG = "AWG",
|
|
3542
|
+
AZN = "AZN",
|
|
3543
|
+
BAM = "BAM",
|
|
3544
|
+
BBD = "BBD",
|
|
3545
|
+
BDT = "BDT",
|
|
3546
|
+
BEF = "BEF",
|
|
3547
|
+
BGN = "BGN",
|
|
3548
|
+
BHD = "BHD",
|
|
3549
|
+
BIF = "BIF",
|
|
3550
|
+
BMD = "BMD",
|
|
3551
|
+
BND = "BND",
|
|
3552
|
+
BOB = "BOB",
|
|
3553
|
+
BRL = "BRL",
|
|
3554
|
+
BSD = "BSD",
|
|
3555
|
+
BTC = "BTC",
|
|
3556
|
+
BTN = "BTN",
|
|
3557
|
+
BWP = "BWP",
|
|
3558
|
+
BYR = "BYR",
|
|
3559
|
+
BZD = "BZD",
|
|
3560
|
+
CAD = "CAD",
|
|
3561
|
+
CDF = "CDF",
|
|
3562
|
+
CHF = "CHF",
|
|
3563
|
+
CLF = "CLF",
|
|
3564
|
+
CLP = "CLP",
|
|
3565
|
+
CNY = "CNY",
|
|
3566
|
+
COP = "COP",
|
|
3567
|
+
CRC = "CRC",
|
|
3568
|
+
CUC = "CUC",
|
|
3569
|
+
CVE = "CVE",
|
|
3570
|
+
CZK = "CZK",
|
|
3571
|
+
DEM = "DEM",
|
|
3572
|
+
DJF = "DJF",
|
|
3573
|
+
DKK = "DKK",
|
|
3574
|
+
DOP = "DOP",
|
|
3575
|
+
DZD = "DZD",
|
|
3576
|
+
EEK = "EEK",
|
|
3577
|
+
EGP = "EGP",
|
|
3578
|
+
ERN = "ERN",
|
|
3579
|
+
ETB = "ETB",
|
|
3580
|
+
EUR = "EUR",
|
|
3581
|
+
FJD = "FJD",
|
|
3582
|
+
FKP = "FKP",
|
|
3583
|
+
GBP = "GBP",
|
|
3584
|
+
GEL = "GEL",
|
|
3585
|
+
GHS = "GHS",
|
|
3586
|
+
GIP = "GIP",
|
|
3587
|
+
GMD = "GMD",
|
|
3588
|
+
GNF = "GNF",
|
|
3589
|
+
GRD = "GRD",
|
|
3590
|
+
GTQ = "GTQ",
|
|
3591
|
+
GYD = "GYD",
|
|
3592
|
+
HKD = "HKD",
|
|
3593
|
+
HNL = "HNL",
|
|
3594
|
+
HRK = "HRK",
|
|
3595
|
+
HTG = "HTG",
|
|
3596
|
+
HUF = "HUF",
|
|
3597
|
+
IDR = "IDR",
|
|
3598
|
+
ILS = "ILS",
|
|
3599
|
+
INR = "INR",
|
|
3600
|
+
IQD = "IQD",
|
|
3601
|
+
IRR = "IRR",
|
|
3602
|
+
ISK = "ISK",
|
|
3603
|
+
ITL = "ITL",
|
|
3604
|
+
JMD = "JMD",
|
|
3605
|
+
JOD = "JOD",
|
|
3606
|
+
JPY = "JPY",
|
|
3607
|
+
KES = "KES",
|
|
3608
|
+
KGS = "KGS",
|
|
3609
|
+
KHR = "KHR",
|
|
3610
|
+
KMF = "KMF",
|
|
3611
|
+
KPW = "KPW",
|
|
3612
|
+
KRW = "KRW",
|
|
3613
|
+
KWD = "KWD",
|
|
3614
|
+
KYD = "KYD",
|
|
3615
|
+
KZT = "KZT",
|
|
3616
|
+
LAK = "LAK",
|
|
3617
|
+
LBP = "LBP",
|
|
3618
|
+
LKR = "LKR",
|
|
3619
|
+
LRD = "LRD",
|
|
3620
|
+
LSL = "LSL",
|
|
3621
|
+
LTC = "LTC",
|
|
3622
|
+
LTL = "LTL",
|
|
3623
|
+
LVL = "LVL",
|
|
3624
|
+
LYD = "LYD",
|
|
3625
|
+
MAD = "MAD",
|
|
3626
|
+
MDL = "MDL",
|
|
3627
|
+
MGA = "MGA",
|
|
3628
|
+
MKD = "MKD",
|
|
3629
|
+
MMK = "MMK",
|
|
3630
|
+
MNT = "MNT",
|
|
3631
|
+
MOP = "MOP",
|
|
3632
|
+
MRO = "MRO",
|
|
3633
|
+
MRU = "MRU",
|
|
3634
|
+
MUR = "MUR",
|
|
3635
|
+
MVR = "MVR",
|
|
3636
|
+
MWK = "MWK",
|
|
3637
|
+
MXN = "MXN",
|
|
3638
|
+
MYR = "MYR",
|
|
3639
|
+
MZM = "MZM",
|
|
3640
|
+
NAD = "NAD",
|
|
3641
|
+
NGN = "NGN",
|
|
3642
|
+
NIO = "NIO",
|
|
3643
|
+
NOK = "NOK",
|
|
3644
|
+
NPR = "NPR",
|
|
3645
|
+
NZD = "NZD",
|
|
3646
|
+
OMR = "OMR",
|
|
3647
|
+
PAB = "PAB",
|
|
3648
|
+
PEN = "PEN",
|
|
3649
|
+
PGK = "PGK",
|
|
3650
|
+
PHP = "PHP",
|
|
3651
|
+
PKR = "PKR",
|
|
3652
|
+
PLN = "PLN",
|
|
3653
|
+
PYG = "PYG",
|
|
3654
|
+
QAR = "QAR",
|
|
3655
|
+
RON = "RON",
|
|
3656
|
+
RSD = "RSD",
|
|
3657
|
+
RUB = "RUB",
|
|
3658
|
+
RWF = "RWF",
|
|
3659
|
+
SAR = "SAR",
|
|
3660
|
+
SBD = "SBD",
|
|
3661
|
+
SCR = "SCR",
|
|
3662
|
+
SDG = "SDG",
|
|
3663
|
+
SEK = "SEK",
|
|
3664
|
+
SGD = "SGD",
|
|
3665
|
+
SHP = "SHP",
|
|
3666
|
+
SKK = "SKK",
|
|
3667
|
+
SLL = "SLL",
|
|
3668
|
+
SOS = "SOS",
|
|
3669
|
+
SRD = "SRD",
|
|
3670
|
+
SSP = "SSP",
|
|
3671
|
+
STD = "STD",
|
|
3672
|
+
SVC = "SVC",
|
|
3673
|
+
SYP = "SYP",
|
|
3674
|
+
SZL = "SZL",
|
|
3675
|
+
THB = "THB",
|
|
3676
|
+
TJS = "TJS",
|
|
3677
|
+
TMT = "TMT",
|
|
3678
|
+
TND = "TND",
|
|
3679
|
+
TOP = "TOP",
|
|
3680
|
+
TRY = "TRY",
|
|
3681
|
+
TTD = "TTD",
|
|
3682
|
+
TWD = "TWD",
|
|
3683
|
+
TZS = "TZS",
|
|
3684
|
+
UAH = "UAH",
|
|
3685
|
+
UGX = "UGX",
|
|
3686
|
+
USD = "USD",
|
|
3687
|
+
UYU = "UYU",
|
|
3688
|
+
UZS = "UZS",
|
|
3689
|
+
VEF = "VEF",
|
|
3690
|
+
VND = "VND",
|
|
3691
|
+
VUV = "VUV",
|
|
3692
|
+
WST = "WST",
|
|
3693
|
+
XAF = "XAF",
|
|
3694
|
+
XCD = "XCD",
|
|
3695
|
+
XDR = "XDR",
|
|
3696
|
+
XOF = "XOF",
|
|
3697
|
+
XPF = "XPF",
|
|
3698
|
+
YER = "YER",
|
|
3699
|
+
ZAR = "ZAR",
|
|
3700
|
+
ZMK = "ZMK",
|
|
3701
|
+
ZWL = "ZWL"
|
|
3586
3702
|
}
|
|
3587
3703
|
|
|
3588
3704
|
export declare type BentoCurrencyListboxOptionItem = OmitStrict<BentoListboxOptionItem, 'value'> & {
|
|
@@ -3596,22 +3712,18 @@ export declare interface BentoCurrencyProps {
|
|
|
3596
3712
|
* Currency code based on the ISO 4217 standard
|
|
3597
3713
|
*/
|
|
3598
3714
|
currency?: BentoCurrencyISOCode | `${BentoCurrencyISOCode}`;
|
|
3599
|
-
|
|
3600
3715
|
/**
|
|
3601
3716
|
* Disable the default typography for the component. Only use this when the component is inside another typography component.
|
|
3602
3717
|
*/
|
|
3603
3718
|
disableTypography?: boolean;
|
|
3604
|
-
|
|
3605
3719
|
/**
|
|
3606
3720
|
* Accepts currency value in major units instead of minor ones
|
|
3607
3721
|
*/
|
|
3608
3722
|
majorUnits?: boolean;
|
|
3609
|
-
|
|
3610
3723
|
/**
|
|
3611
3724
|
* Currency value to be formatted
|
|
3612
3725
|
*/
|
|
3613
3726
|
value?: number;
|
|
3614
|
-
|
|
3615
3727
|
/**
|
|
3616
3728
|
* Determines how the currency symbol and negative values are displayed.
|
|
3617
3729
|
* This is only applicable to certain countries such as `en-US`.
|
|
@@ -3650,7 +3762,7 @@ export declare interface BentoCurrencyProps {
|
|
|
3650
3762
|
* `
|
|
3651
3763
|
* }
|
|
3652
3764
|
*/
|
|
3653
|
-
export declare const BentoDashboardSection: __VLS_WithTemplateSlots_53<DefineComponent<
|
|
3765
|
+
export declare const BentoDashboardSection: __VLS_WithTemplateSlots_53<DefineComponent<__VLS_WithDefaults_50<__VLS_TypePropsToRuntimeProps_53<{
|
|
3654
3766
|
/**
|
|
3655
3767
|
* The header of the section
|
|
3656
3768
|
*/
|
|
@@ -3661,7 +3773,7 @@ header: BentoDashboardTemplateHeader;
|
|
|
3661
3773
|
halfWidth?: boolean;
|
|
3662
3774
|
}>, {
|
|
3663
3775
|
halfWidth: boolean;
|
|
3664
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
3776
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_50<__VLS_TypePropsToRuntimeProps_53<{
|
|
3665
3777
|
/**
|
|
3666
3778
|
* The header of the section
|
|
3667
3779
|
*/
|
|
@@ -3709,7 +3821,7 @@ halfWidth: boolean;
|
|
|
3709
3821
|
* `
|
|
3710
3822
|
* }
|
|
3711
3823
|
*/
|
|
3712
|
-
export declare const BentoDashboardTemplate: __VLS_WithTemplateSlots_52<DefineComponent<
|
|
3824
|
+
export declare const BentoDashboardTemplate: __VLS_WithTemplateSlots_52<DefineComponent<__VLS_WithDefaults_49<__VLS_TypePropsToRuntimeProps_52<{
|
|
3713
3825
|
/**
|
|
3714
3826
|
* The header that goes to the top of the template
|
|
3715
3827
|
*/
|
|
@@ -3732,7 +3844,7 @@ stickyFilters?: boolean;
|
|
|
3732
3844
|
tabs: any;
|
|
3733
3845
|
stickyTabs: boolean;
|
|
3734
3846
|
stickyFilters: boolean;
|
|
3735
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
3847
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_49<__VLS_TypePropsToRuntimeProps_52<{
|
|
3736
3848
|
/**
|
|
3737
3849
|
* The header that goes to the top of the template
|
|
3738
3850
|
*/
|
|
@@ -3811,11 +3923,11 @@ disabled: boolean;
|
|
|
3811
3923
|
tooltipText: any;
|
|
3812
3924
|
tooltipPosition: string;
|
|
3813
3925
|
}>>>, {
|
|
3814
|
-
tooltipPosition:
|
|
3926
|
+
tooltipPosition: BentoTooltipPosition_2 | `${BentoTooltipPosition_2}`;
|
|
3815
3927
|
tooltipText: string;
|
|
3928
|
+
teleport: BentoDashedUnderlineTeleport;
|
|
3816
3929
|
popoverText: string;
|
|
3817
3930
|
popoverPosition: BentoPopoverPositions | `${BentoPopoverPositions}`;
|
|
3818
|
-
teleport: BentoDashedUnderlineTeleport;
|
|
3819
3931
|
popoverTitle: string;
|
|
3820
3932
|
popoverSize: "default" | "fit-content" | "large" | "small";
|
|
3821
3933
|
}>, {
|
|
@@ -3852,7 +3964,7 @@ export declare interface BentoDashedUnderlineProps {
|
|
|
3852
3964
|
/**
|
|
3853
3965
|
* Position the tooltip should take if space is available.
|
|
3854
3966
|
*/
|
|
3855
|
-
tooltipPosition?:
|
|
3967
|
+
tooltipPosition?: BentoTooltipPosition_2 | `${BentoTooltipPosition_2}`;
|
|
3856
3968
|
}
|
|
3857
3969
|
|
|
3858
3970
|
declare interface BentoDashedUnderlineProps_2 {
|
|
@@ -3890,7 +4002,7 @@ declare interface BentoDashedUnderlineProps_2 {
|
|
|
3890
4002
|
/**
|
|
3891
4003
|
* Position the tooltip should take if space is available.
|
|
3892
4004
|
*/
|
|
3893
|
-
tooltipPosition?:
|
|
4005
|
+
tooltipPosition?: BentoTooltipPosition_3 | `${BentoTooltipPosition_3}`;
|
|
3894
4006
|
}
|
|
3895
4007
|
|
|
3896
4008
|
export declare type BentoDashedUnderlineTeleport = BentoTeleportProps;
|
|
@@ -4217,9 +4329,16 @@ truncateColumnHeaders: {
|
|
|
4217
4329
|
type: BooleanConstructor;
|
|
4218
4330
|
default: boolean;
|
|
4219
4331
|
};
|
|
4332
|
+
/**
|
|
4333
|
+
* Toggles the alternating background color of rows.
|
|
4334
|
+
*/
|
|
4335
|
+
zebraRows: {
|
|
4336
|
+
type: BooleanConstructor;
|
|
4337
|
+
default: boolean;
|
|
4338
|
+
};
|
|
4220
4339
|
}, {
|
|
4221
4340
|
onEmptyStateClearResetButtonClick: () => void;
|
|
4222
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoDatagridEvent[], string, Readonly<ExtractPropTypes< {
|
|
4341
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, (BentoDatagridEvent.COLUMNS | BentoDatagridEvent.COLUMN_RESIZE | BentoDatagridEvent.ITEMS_PAGE | BentoDatagridEvent.NAVIGATE | BentoDatagridEvent.NESTED_CONTENT_TOGGLED | BentoDatagridEvent.FILTER_SEARCH_INPUT | BentoDatagridEvent.FILTER_SEARCH_CLEAR | BentoDatagridEvent.UPDATE_COLUMNS | BentoDatagridEvent.UPDATE_CONDENSED | BentoDatagridEvent.UPDATE_FILTERS | BentoDatagridEvent.UPDATE_FILTER_VALUES | BentoDatagridEvent.UPDATE_FILTER_SEARCH_TERM | BentoDatagridEvent.UPDATE_PAGINATION | BentoDatagridEvent.UPDATE_SELECTION | BentoDatagridEvent.UPDATE_SHOW_MORE | BentoDatagridEvent.UPDATE_SORT_BY | BentoDatagridEvent.ROW_CLICK | BentoDatagridEvent.SELECT | BentoDatagridEvent.SELECT_ALL_ACROSS_PAGES | BentoDatagridEvent.SORT)[], string, Readonly<ExtractPropTypes< {
|
|
4223
4342
|
/**
|
|
4224
4343
|
* When true, will emit a 'rowClick' event when a row is clicked. Will add cursor: pointer to rows.
|
|
4225
4344
|
*/
|
|
@@ -4516,11 +4635,18 @@ truncateColumnHeaders: {
|
|
|
4516
4635
|
type: BooleanConstructor;
|
|
4517
4636
|
default: boolean;
|
|
4518
4637
|
};
|
|
4638
|
+
/**
|
|
4639
|
+
* Toggles the alternating background color of rows.
|
|
4640
|
+
*/
|
|
4641
|
+
zebraRows: {
|
|
4642
|
+
type: BooleanConstructor;
|
|
4643
|
+
default: boolean;
|
|
4644
|
+
};
|
|
4519
4645
|
}>>, {
|
|
4520
4646
|
filters: BentoFilterBarModel;
|
|
4521
4647
|
condensed: boolean;
|
|
4522
|
-
loading: boolean;
|
|
4523
4648
|
outline: boolean;
|
|
4649
|
+
loading: boolean;
|
|
4524
4650
|
fitContent: boolean;
|
|
4525
4651
|
lazyLoadType: BentoLazyLoadType;
|
|
4526
4652
|
emptyState: any;
|
|
@@ -4530,6 +4656,7 @@ selectable: boolean;
|
|
|
4530
4656
|
selectableAcrossPages: boolean;
|
|
4531
4657
|
sortBy: BentoDatagridSortByColumn[];
|
|
4532
4658
|
truncateColumnHeaders: boolean;
|
|
4659
|
+
zebraRows: boolean;
|
|
4533
4660
|
getDataItemId: BentoDatagridGetDataItemIdFn;
|
|
4534
4661
|
isDataItemDisabled: BentoDatagridIsDataItemDisabledFn;
|
|
4535
4662
|
rowActions: BentoDataGridRowActionsProp;
|
|
@@ -4599,6 +4726,7 @@ export declare enum BentoDatagridEvent {
|
|
|
4599
4726
|
UPDATE_SELECTION = "update:selection",
|
|
4600
4727
|
UPDATE_SHOW_MORE = "update:show-more",
|
|
4601
4728
|
UPDATE_SORT_BY = "update:sort-by",
|
|
4729
|
+
UPDATE_ZEBRA_ROWS = "update:zebra-rows",
|
|
4602
4730
|
ROW_CLICK = "row-click",
|
|
4603
4731
|
SELECT = "select",
|
|
4604
4732
|
SELECT_ALL_ACROSS_PAGES = "select-all-across-pages",
|
|
@@ -4690,7 +4818,8 @@ export declare enum BentoDatagridStyleState {
|
|
|
4690
4818
|
OVERFLOW_SHADOW_LEFT = "overflow-shadow-left",
|
|
4691
4819
|
OVERFLOW_SHADOW_RIGHT = "overflow-shadow-right",
|
|
4692
4820
|
NO_SPACING_TOP = "no-spacing-top",
|
|
4693
|
-
FIT_CONTENT = "fit-content"
|
|
4821
|
+
FIT_CONTENT = "fit-content",
|
|
4822
|
+
ZEBRA_ROWS = "zebra-rows"
|
|
4694
4823
|
}
|
|
4695
4824
|
|
|
4696
4825
|
/**
|
|
@@ -4939,8 +5068,8 @@ tabs: BentoDataGridTemplateTabs;
|
|
|
4939
5068
|
inspector: {
|
|
4940
5069
|
title: string;
|
|
4941
5070
|
isOpen?: boolean;
|
|
4942
|
-
loading?: boolean;
|
|
4943
5071
|
size?: BentoInspectorSize;
|
|
5072
|
+
loading?: boolean;
|
|
4944
5073
|
expandable?: boolean;
|
|
4945
5074
|
relativeLayout?: BentoInspectorRelativeLayout;
|
|
4946
5075
|
pageFocusAnchor?: HTMLElement;
|
|
@@ -4990,11 +5119,11 @@ export declare type BentoDataGridTemplateTabs = {
|
|
|
4990
5119
|
* `
|
|
4991
5120
|
* }
|
|
4992
5121
|
*/
|
|
4993
|
-
export declare const BentoDate: DefineComponent<
|
|
5122
|
+
export declare const BentoDate: DefineComponent<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_17<BentoDateProps>, {
|
|
4994
5123
|
date: any;
|
|
4995
5124
|
format: BentoDateFormat;
|
|
4996
5125
|
disableTypography: boolean;
|
|
4997
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
5126
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_17<BentoDateProps>, {
|
|
4998
5127
|
date: any;
|
|
4999
5128
|
format: BentoDateFormat;
|
|
5000
5129
|
disableTypography: boolean;
|
|
@@ -5549,54 +5678,7 @@ hasActions: {
|
|
|
5549
5678
|
type: BooleanConstructor;
|
|
5550
5679
|
default: boolean;
|
|
5551
5680
|
};
|
|
5552
|
-
}, {
|
|
5553
|
-
inputContainerRef: any;
|
|
5554
|
-
adjustedQuickSelectRanges: ComputedRef<DateRangePickerCalendarRangeSelectorItem[]>;
|
|
5555
|
-
dateDisplayValue: ComputedRef<string>;
|
|
5556
|
-
datePickerContainerId: string;
|
|
5557
|
-
descriptionConditionalClasses: ComputedRef< {
|
|
5558
|
-
'b-date-range-picker__description--error': boolean;
|
|
5559
|
-
}>;
|
|
5560
|
-
displayedTextInputValue: ComputedRef<DateRangePickerCalendarFormData>;
|
|
5561
|
-
displayedDateValue: ComputedRef<string>;
|
|
5562
|
-
isDateIncorrect: Ref<boolean>;
|
|
5563
|
-
isDateRangePickerOpen: Ref<boolean>;
|
|
5564
|
-
isReadOnly: ComputedRef<boolean>;
|
|
5565
|
-
labelId: string;
|
|
5566
|
-
descriptionId: string;
|
|
5567
|
-
dateErrorId: string;
|
|
5568
|
-
errorId: string;
|
|
5569
|
-
popoverAriaLabel: ComputedRef<string>;
|
|
5570
|
-
shouldDisplayError: ComputedRef<boolean>;
|
|
5571
|
-
ariaDescribedBy: ComputedRef<string>;
|
|
5572
|
-
textInputDisplayValue: DateRangePickerCalendarFormData;
|
|
5573
|
-
rangePickerButtonActions: ComputedRef<({
|
|
5574
|
-
title: string;
|
|
5575
|
-
event: () => void;
|
|
5576
|
-
disabled: boolean;
|
|
5577
|
-
} | {
|
|
5578
|
-
title: string;
|
|
5579
|
-
event: () => void;
|
|
5580
|
-
disabled?: undefined;
|
|
5581
|
-
})[]>;
|
|
5582
|
-
BentoButtonActionsLayout: {
|
|
5583
|
-
BUTTONS_START: import("../../components/button").BentoButtonActionsLayoutExtended.BUTTONS_START;
|
|
5584
|
-
BUTTONS_END: import("../../components/button").BentoButtonActionsLayoutBasic.BUTTONS_END;
|
|
5585
|
-
FILL_CONTAINER: import("../../components/button").BentoButtonActionsLayoutBasic.FILL_CONTAINER;
|
|
5586
|
-
SPACE_BETWEEN: import("../../components/button").BentoButtonActionsLayoutBasic.SPACE_BETWEEN;
|
|
5587
|
-
VERTICAL_STACK: import("../../components/button").BentoButtonActionsLayoutBasic.VERTICAL_STACK;
|
|
5588
|
-
};
|
|
5589
|
-
withTimeInput: ComputedRef<boolean>;
|
|
5590
|
-
closeDateRangePicker: () => void;
|
|
5591
|
-
clearDateRangePickerValue: () => Promise<void>;
|
|
5592
|
-
openDateRangePicker: () => void;
|
|
5593
|
-
onRangeSelectorInput: (quickSelectRanges?: BentoDateRangePickerValue) => void;
|
|
5594
|
-
onEnterPressedOverInput: () => void;
|
|
5595
|
-
onDateRangePickerInput: (selectedRange: BentoDateRangePickerValue) => void;
|
|
5596
|
-
onDateRangePickerError: (dateTextInput: any) => void;
|
|
5597
|
-
onDateRangePickerFormDateInputUpdate: (dateFormDate: DateRangePickerCalendarFormData) => void;
|
|
5598
|
-
t: (key: "cancel" | "apply" | "selectDate" | "provideDateInAFormat" | "selectDateRange" | "selectedDateIsNotAvailable" | "quarter" | "dateRangePicker", values?: default_2.Values) => string;
|
|
5599
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoDateRangePickerEvent[], string, Readonly<ExtractPropTypes< {
|
|
5681
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoDateRangePickerEvent[], string, Readonly<ExtractPropTypes< {
|
|
5600
5682
|
/**
|
|
5601
5683
|
* Allows user to enter time values in the form
|
|
5602
5684
|
*/
|
|
@@ -5808,9 +5890,9 @@ export declare interface BentoDateRangePickerValue {
|
|
|
5808
5890
|
* template: `<bento-divider />`
|
|
5809
5891
|
* }
|
|
5810
5892
|
*/
|
|
5811
|
-
export declare const BentoDivider: DefineComponent<
|
|
5893
|
+
export declare const BentoDivider: DefineComponent<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_13<BentoDividerProps>, {
|
|
5812
5894
|
variant: BentoDividerVariant;
|
|
5813
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
5895
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_13<BentoDividerProps>, {
|
|
5814
5896
|
variant: BentoDividerVariant;
|
|
5815
5897
|
}>>>, {
|
|
5816
5898
|
variant: `${BentoDividerVariant}`;
|
|
@@ -5936,12 +6018,12 @@ label: string;
|
|
|
5936
6018
|
required: boolean;
|
|
5937
6019
|
condensed: boolean;
|
|
5938
6020
|
disabled: boolean;
|
|
5939
|
-
loading: boolean;
|
|
5940
6021
|
error: boolean;
|
|
5941
6022
|
optional: boolean;
|
|
5942
6023
|
readonly: boolean;
|
|
5943
6024
|
size: BentoDropdownSize | `${BentoDropdownSize}`;
|
|
5944
6025
|
multiple: boolean;
|
|
6026
|
+
loading: boolean;
|
|
5945
6027
|
tooltipText: string;
|
|
5946
6028
|
errorMessage: string;
|
|
5947
6029
|
ariaLabel: string;
|
|
@@ -5989,18 +6071,75 @@ enableValueLabelPair: boolean;
|
|
|
5989
6071
|
* }
|
|
5990
6072
|
* }
|
|
5991
6073
|
*/
|
|
5992
|
-
export declare const BentoDropdownAvatar: DefineComponent<
|
|
6074
|
+
export declare const BentoDropdownAvatar: DefineComponent<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_9<BentoDropdownAvatarProps>, {
|
|
6075
|
+
items: () => any[];
|
|
6076
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6077
|
+
input: (selectedValue: BentoListboxSelectedValue) => void;
|
|
6078
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_9<BentoDropdownAvatarProps>, {
|
|
6079
|
+
items: () => any[];
|
|
6080
|
+
}>>>, {
|
|
6081
|
+
items: BentoAvatarListboxOptions;
|
|
6082
|
+
}>;
|
|
6083
|
+
|
|
6084
|
+
export declare interface BentoDropdownAvatarProps extends BentoDropdownProps {
|
|
6085
|
+
/**
|
|
6086
|
+
* The option elements to populate the avatar dropdown with.
|
|
6087
|
+
* It must be an array of {@see BentoAvatarListboxOptions }
|
|
6088
|
+
* @property {string} value.label - Text to be displayed in the option.
|
|
6089
|
+
* @property {string | number} value.value - Value of the option.
|
|
6090
|
+
* @property {string} value.src - Image source of the avatar image.
|
|
6091
|
+
*/
|
|
6092
|
+
items?: BentoAvatarListboxOptions;
|
|
6093
|
+
}
|
|
6094
|
+
|
|
6095
|
+
/**
|
|
6096
|
+
* A Country Dropdown showing a selectable list of countries.
|
|
6097
|
+
*
|
|
6098
|
+
* @example
|
|
6099
|
+
* import { BentoDropdownCountry, BentoCountryCode } from '@adyen/bento-vue2';
|
|
6100
|
+
* import type { BentoCountryListboxOptions } from '@adyen/bento-vue2'
|
|
6101
|
+
*
|
|
6102
|
+
* export default {
|
|
6103
|
+
* components: { BentoDropdown },
|
|
6104
|
+
* template: `
|
|
6105
|
+
* <bento-dropdown-country
|
|
6106
|
+
* v-model="selectedValue"
|
|
6107
|
+
* :disabled="false"
|
|
6108
|
+
* :multiple="true"
|
|
6109
|
+
* :isOptionsDisabled="option => option.value === 2"
|
|
6110
|
+
* :items="options"
|
|
6111
|
+
* />
|
|
6112
|
+
* `,
|
|
6113
|
+
* setup() {
|
|
6114
|
+
* const selectedValue = ref(BentoCountryCode.NL) // Default value
|
|
6115
|
+
* const options: BentoCountryListboxOptions = [
|
|
6116
|
+
* { label: 'Option 1', value: BentoCountryCode.NL },
|
|
6117
|
+
* { label: 'Option 2', value: BentoCountryCode.BE },
|
|
6118
|
+
* ];
|
|
6119
|
+
* return { options, selectedValue };
|
|
6120
|
+
* }
|
|
6121
|
+
* }
|
|
6122
|
+
*/
|
|
6123
|
+
export declare const BentoDropdownCountry: DefineComponent< {
|
|
5993
6124
|
/**
|
|
5994
|
-
* The option elements to populate the
|
|
5995
|
-
* It must be an array of {@see
|
|
5996
|
-
* * @
|
|
5997
|
-
* * @property {string
|
|
5998
|
-
* * @property {string} value.src - Image source of the avatar image.
|
|
6125
|
+
* The option elements to populate the country dropdown with.
|
|
6126
|
+
* It must be an array of {@see BentoCountryListboxOptions }
|
|
6127
|
+
* * @deprecated {string} value.label - Use BentoDropdown instead of custom labels
|
|
6128
|
+
* * @property {BentoCountryCode | string} value.value - Country code of the option
|
|
5999
6129
|
*/
|
|
6000
6130
|
items: {
|
|
6001
|
-
type: PropType<
|
|
6131
|
+
type: PropType<BentoCountryListboxOptions>;
|
|
6002
6132
|
default: () => any[];
|
|
6003
6133
|
};
|
|
6134
|
+
/**
|
|
6135
|
+
* Which label variant to display.
|
|
6136
|
+
* @values iso, name, phone_code, capital
|
|
6137
|
+
*/
|
|
6138
|
+
variant: {
|
|
6139
|
+
type: PropType<BentoCountryVariant | `${BentoCountryVariant}`>;
|
|
6140
|
+
default: BentoCountryVariant;
|
|
6141
|
+
validator: (value: BentoCountryVariant) => boolean;
|
|
6142
|
+
};
|
|
6004
6143
|
search: {
|
|
6005
6144
|
type: PropType<BentoListboxSearchOptions>;
|
|
6006
6145
|
} & {
|
|
@@ -6036,11 +6175,6 @@ type: PropType<boolean>;
|
|
|
6036
6175
|
} & {
|
|
6037
6176
|
default: boolean;
|
|
6038
6177
|
};
|
|
6039
|
-
loading: {
|
|
6040
|
-
type: PropType<boolean>;
|
|
6041
|
-
} & {
|
|
6042
|
-
default: boolean;
|
|
6043
|
-
};
|
|
6044
6178
|
error: {
|
|
6045
6179
|
type: PropType<boolean>;
|
|
6046
6180
|
} & {
|
|
@@ -6066,6 +6200,11 @@ type: PropType<boolean>;
|
|
|
6066
6200
|
} & {
|
|
6067
6201
|
default: boolean;
|
|
6068
6202
|
};
|
|
6203
|
+
loading: {
|
|
6204
|
+
type: PropType<boolean>;
|
|
6205
|
+
} & {
|
|
6206
|
+
default: boolean;
|
|
6207
|
+
};
|
|
6069
6208
|
tooltipText: {
|
|
6070
6209
|
type: PropType<string>;
|
|
6071
6210
|
} & {
|
|
@@ -6140,16 +6279,24 @@ default: boolean;
|
|
|
6140
6279
|
input: (selectedValue: BentoListboxSelectedValue) => void;
|
|
6141
6280
|
}, string, Readonly<ExtractPropTypes< {
|
|
6142
6281
|
/**
|
|
6143
|
-
* The option elements to populate the
|
|
6144
|
-
* It must be an array of {@see
|
|
6145
|
-
* * @
|
|
6146
|
-
* * @property {string
|
|
6147
|
-
* * @property {string} value.src - Image source of the avatar image.
|
|
6282
|
+
* The option elements to populate the country dropdown with.
|
|
6283
|
+
* It must be an array of {@see BentoCountryListboxOptions }
|
|
6284
|
+
* * @deprecated {string} value.label - Use BentoDropdown instead of custom labels
|
|
6285
|
+
* * @property {BentoCountryCode | string} value.value - Country code of the option
|
|
6148
6286
|
*/
|
|
6149
6287
|
items: {
|
|
6150
|
-
type: PropType<
|
|
6288
|
+
type: PropType<BentoCountryListboxOptions>;
|
|
6151
6289
|
default: () => any[];
|
|
6152
6290
|
};
|
|
6291
|
+
/**
|
|
6292
|
+
* Which label variant to display.
|
|
6293
|
+
* @values iso, name, phone_code, capital
|
|
6294
|
+
*/
|
|
6295
|
+
variant: {
|
|
6296
|
+
type: PropType<BentoCountryVariant | `${BentoCountryVariant}`>;
|
|
6297
|
+
default: BentoCountryVariant;
|
|
6298
|
+
validator: (value: BentoCountryVariant) => boolean;
|
|
6299
|
+
};
|
|
6153
6300
|
search: {
|
|
6154
6301
|
type: PropType<BentoListboxSearchOptions>;
|
|
6155
6302
|
} & {
|
|
@@ -6185,11 +6332,6 @@ type: PropType<boolean>;
|
|
|
6185
6332
|
} & {
|
|
6186
6333
|
default: boolean;
|
|
6187
6334
|
};
|
|
6188
|
-
loading: {
|
|
6189
|
-
type: PropType<boolean>;
|
|
6190
|
-
} & {
|
|
6191
|
-
default: boolean;
|
|
6192
|
-
};
|
|
6193
6335
|
error: {
|
|
6194
6336
|
type: PropType<boolean>;
|
|
6195
6337
|
} & {
|
|
@@ -6215,6 +6357,11 @@ type: PropType<boolean>;
|
|
|
6215
6357
|
} & {
|
|
6216
6358
|
default: boolean;
|
|
6217
6359
|
};
|
|
6360
|
+
loading: {
|
|
6361
|
+
type: PropType<boolean>;
|
|
6362
|
+
} & {
|
|
6363
|
+
default: boolean;
|
|
6364
|
+
};
|
|
6218
6365
|
tooltipText: {
|
|
6219
6366
|
type: PropType<string>;
|
|
6220
6367
|
} & {
|
|
@@ -6290,19 +6437,20 @@ search: BentoListboxSearchOptions;
|
|
|
6290
6437
|
value: BentoListboxSelectedValue;
|
|
6291
6438
|
description: string;
|
|
6292
6439
|
label: string;
|
|
6440
|
+
variant: "name" | "iso" | "phone_code" | "capital" | "custom" | BentoCountryVariant;
|
|
6293
6441
|
required: boolean;
|
|
6294
6442
|
condensed: boolean;
|
|
6295
6443
|
disabled: boolean;
|
|
6296
|
-
loading: boolean;
|
|
6297
6444
|
error: boolean;
|
|
6298
6445
|
optional: boolean;
|
|
6299
6446
|
readonly: boolean;
|
|
6300
6447
|
size: BentoDropdownSize_2 | `${BentoDropdownSize_2}`;
|
|
6301
6448
|
multiple: boolean;
|
|
6449
|
+
loading: boolean;
|
|
6302
6450
|
tooltipText: string;
|
|
6303
6451
|
errorMessage: string;
|
|
6304
6452
|
ariaLabel: string;
|
|
6305
|
-
items:
|
|
6453
|
+
items: BentoCountryListboxOptions;
|
|
6306
6454
|
isOptionDisabled: BentoListboxIsOptionDisabled;
|
|
6307
6455
|
staticCategories: boolean;
|
|
6308
6456
|
hasMoreItems: boolean;
|
|
@@ -6317,7 +6465,7 @@ enableValueLabelPair: boolean;
|
|
|
6317
6465
|
}>;
|
|
6318
6466
|
|
|
6319
6467
|
/**
|
|
6320
|
-
* A
|
|
6468
|
+
* A Currency Dropdown showing a selectable list of currencies.
|
|
6321
6469
|
*
|
|
6322
6470
|
* @example
|
|
6323
6471
|
* import { BentoDropdownCountry, BentoCountryCode } from '@adyen/bento-vue2';
|
|
@@ -6326,7 +6474,7 @@ enableValueLabelPair: boolean;
|
|
|
6326
6474
|
* export default {
|
|
6327
6475
|
* components: { BentoDropdown },
|
|
6328
6476
|
* template: `
|
|
6329
|
-
* <bento-dropdown-
|
|
6477
|
+
* <bento-dropdown-currency
|
|
6330
6478
|
* v-model="selectedValue"
|
|
6331
6479
|
* :disabled="false"
|
|
6332
6480
|
* :multiple="true"
|
|
@@ -6344,1566 +6492,278 @@ enableValueLabelPair: boolean;
|
|
|
6344
6492
|
* }
|
|
6345
6493
|
* }
|
|
6346
6494
|
*/
|
|
6347
|
-
export declare const
|
|
6495
|
+
export declare const BentoDropdownCurrency: DefineComponent<__VLS_WithDefaults_10<__VLS_TypePropsToRuntimeProps_10<BentoDropdownCurrencyProps>, {
|
|
6496
|
+
items: () => any[];
|
|
6497
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6498
|
+
input: (selectedValue: BentoListboxSelectedValue) => void;
|
|
6499
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_10<__VLS_TypePropsToRuntimeProps_10<BentoDropdownCurrencyProps>, {
|
|
6500
|
+
items: () => any[];
|
|
6501
|
+
}>>>, {
|
|
6502
|
+
items: BentoCurrencyListboxOptions;
|
|
6503
|
+
}>;
|
|
6504
|
+
|
|
6505
|
+
export declare interface BentoDropdownCurrencyProps extends BentoDropdownProps {
|
|
6506
|
+
/**
|
|
6507
|
+
* The option elements to populate the currency dropdown with.
|
|
6508
|
+
* It must be an array of {@see BentoCurrencyListboxOptions }
|
|
6509
|
+
* @property {string} value.label - Text to be displayed in the option
|
|
6510
|
+
* @property {BentoCurrencyISOCode} value.code - Currency ISO code of the option
|
|
6511
|
+
*/
|
|
6512
|
+
items?: BentoCurrencyListboxOptions;
|
|
6513
|
+
}
|
|
6514
|
+
|
|
6348
6515
|
/**
|
|
6349
|
-
*
|
|
6350
|
-
*
|
|
6351
|
-
*
|
|
6352
|
-
*
|
|
6353
|
-
|
|
6354
|
-
|
|
6355
|
-
|
|
6356
|
-
|
|
6357
|
-
|
|
6358
|
-
|
|
6359
|
-
*
|
|
6360
|
-
*
|
|
6361
|
-
|
|
6362
|
-
|
|
6363
|
-
|
|
6364
|
-
|
|
6365
|
-
|
|
6366
|
-
|
|
6367
|
-
|
|
6368
|
-
|
|
6369
|
-
|
|
6370
|
-
|
|
6371
|
-
|
|
6372
|
-
|
|
6373
|
-
|
|
6374
|
-
|
|
6375
|
-
|
|
6376
|
-
|
|
6377
|
-
|
|
6378
|
-
|
|
6379
|
-
} & {
|
|
6380
|
-
default: any;
|
|
6381
|
-
};
|
|
6382
|
-
label: {
|
|
6383
|
-
type: PropType<string>;
|
|
6384
|
-
} & {
|
|
6385
|
-
default: any;
|
|
6386
|
-
};
|
|
6387
|
-
required: {
|
|
6388
|
-
type: PropType<boolean>;
|
|
6389
|
-
} & {
|
|
6390
|
-
default: boolean;
|
|
6391
|
-
};
|
|
6392
|
-
condensed: {
|
|
6393
|
-
type: PropType<boolean>;
|
|
6394
|
-
} & {
|
|
6395
|
-
default: boolean;
|
|
6396
|
-
};
|
|
6397
|
-
disabled: {
|
|
6398
|
-
type: PropType<boolean>;
|
|
6399
|
-
} & {
|
|
6400
|
-
default: boolean;
|
|
6401
|
-
};
|
|
6402
|
-
loading: {
|
|
6403
|
-
type: PropType<boolean>;
|
|
6404
|
-
} & {
|
|
6405
|
-
default: boolean;
|
|
6406
|
-
};
|
|
6407
|
-
error: {
|
|
6408
|
-
type: PropType<boolean>;
|
|
6409
|
-
} & {
|
|
6410
|
-
default: boolean;
|
|
6411
|
-
};
|
|
6412
|
-
optional: {
|
|
6413
|
-
type: PropType<boolean>;
|
|
6414
|
-
} & {
|
|
6415
|
-
default: boolean;
|
|
6416
|
-
};
|
|
6417
|
-
readonly: {
|
|
6418
|
-
type: PropType<boolean>;
|
|
6419
|
-
} & {
|
|
6420
|
-
default: boolean;
|
|
6421
|
-
};
|
|
6422
|
-
size: {
|
|
6423
|
-
type: PropType<BentoDropdownSize_2 | "DropdownInputDefault" | "DropdownInputSmall">;
|
|
6424
|
-
} & {
|
|
6425
|
-
default: any;
|
|
6426
|
-
};
|
|
6427
|
-
multiple: {
|
|
6428
|
-
type: PropType<boolean>;
|
|
6429
|
-
} & {
|
|
6430
|
-
default: boolean;
|
|
6431
|
-
};
|
|
6432
|
-
tooltipText: {
|
|
6433
|
-
type: PropType<string>;
|
|
6434
|
-
} & {
|
|
6435
|
-
default: any;
|
|
6436
|
-
};
|
|
6437
|
-
errorMessage: {
|
|
6438
|
-
type: PropType<string>;
|
|
6439
|
-
} & {
|
|
6440
|
-
default: any;
|
|
6441
|
-
};
|
|
6442
|
-
ariaLabel: {
|
|
6443
|
-
type: PropType<string>;
|
|
6444
|
-
} & {
|
|
6445
|
-
default: any;
|
|
6446
|
-
};
|
|
6447
|
-
isOptionDisabled: {
|
|
6448
|
-
type: PropType<(optionValue: BentoListboxOptionItem) => boolean>;
|
|
6449
|
-
} & {
|
|
6450
|
-
default: any;
|
|
6451
|
-
};
|
|
6452
|
-
staticCategories: {
|
|
6453
|
-
type: PropType<boolean>;
|
|
6454
|
-
} & {
|
|
6455
|
-
default: boolean;
|
|
6456
|
-
};
|
|
6457
|
-
hasMoreItems: {
|
|
6458
|
-
type: PropType<boolean>;
|
|
6459
|
-
} & {
|
|
6460
|
-
default: boolean;
|
|
6461
|
-
};
|
|
6462
|
-
lazyLoadType: {
|
|
6463
|
-
type: PropType<"button" | "none" | "automatic" | BentoListboxLazyLoadType>;
|
|
6464
|
-
} & {
|
|
6465
|
-
default: BentoListboxLazyLoadType;
|
|
6466
|
-
};
|
|
6467
|
-
emptyState: {
|
|
6468
|
-
type: PropType<BentoListboxEmptyStateProps>;
|
|
6469
|
-
} & {
|
|
6470
|
-
default: any;
|
|
6471
|
-
};
|
|
6472
|
-
componentLoading: {
|
|
6473
|
-
type: PropType<boolean>;
|
|
6474
|
-
} & {
|
|
6475
|
-
default: boolean;
|
|
6476
|
-
};
|
|
6477
|
-
virtualScroll: {
|
|
6478
|
-
type: PropType<BentoListboxVirtulisationOptions>;
|
|
6479
|
-
} & {
|
|
6480
|
-
default: boolean;
|
|
6481
|
-
};
|
|
6482
|
-
dynamicFiltering: {
|
|
6483
|
-
type: PropType<boolean>;
|
|
6484
|
-
} & {
|
|
6485
|
-
default: boolean;
|
|
6486
|
-
};
|
|
6487
|
-
placeholder: {
|
|
6488
|
-
type: PropType<string>;
|
|
6489
|
-
} & {
|
|
6490
|
-
default: any;
|
|
6491
|
-
};
|
|
6492
|
-
showSlotContentInMultiple: {
|
|
6493
|
-
type: PropType<boolean>;
|
|
6494
|
-
} & {
|
|
6495
|
-
default: boolean;
|
|
6496
|
-
};
|
|
6497
|
-
enableValueLabelPair: {
|
|
6498
|
-
type: PropType<boolean>;
|
|
6499
|
-
} & {
|
|
6500
|
-
default: boolean;
|
|
6501
|
-
};
|
|
6502
|
-
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6516
|
+
* A Payment method Dropdown showing a selectable list of countries.
|
|
6517
|
+
*
|
|
6518
|
+
* @example
|
|
6519
|
+
* import { BentoDropdownPaymentMethod } from '@adyen/bento-vue2';
|
|
6520
|
+
* import type { BentoPaymentMethodListboxOptions } from '@adyen/bento-vue2'
|
|
6521
|
+
*
|
|
6522
|
+
* export default {
|
|
6523
|
+
* components: { BentoDropdownPaymentMethod },
|
|
6524
|
+
* template: `
|
|
6525
|
+
* <bento-dropdown-payment-method
|
|
6526
|
+
* v-model="selectedValue"
|
|
6527
|
+
* :disabled="false"
|
|
6528
|
+
* :multiple="true"
|
|
6529
|
+
* :isOptionsDisabled="option => option.value === 'Visa'"
|
|
6530
|
+
* :items="options"
|
|
6531
|
+
* />
|
|
6532
|
+
* `,
|
|
6533
|
+
* setup() {
|
|
6534
|
+
* const selectedValue = ref('ideal') // Default value
|
|
6535
|
+
* const options: BentoPaymentMethodListboxOptions = [
|
|
6536
|
+
* { label: 'Option 1', value: 'ideal' },
|
|
6537
|
+
* { label: 'Option 2', value: 'visa' },
|
|
6538
|
+
* ];
|
|
6539
|
+
* return { options, selectedValue };
|
|
6540
|
+
* }
|
|
6541
|
+
* }
|
|
6542
|
+
*/
|
|
6543
|
+
export declare const BentoDropdownPaymentMethod: DefineComponent<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_11<BentoDropdownPaymentMethodProps>, {
|
|
6544
|
+
items: () => any[];
|
|
6545
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6503
6546
|
input: (selectedValue: BentoListboxSelectedValue) => void;
|
|
6504
|
-
}, string, Readonly<ExtractPropTypes<
|
|
6505
|
-
|
|
6506
|
-
|
|
6507
|
-
|
|
6508
|
-
* * @deprecated {string} value.label - Use BentoDropdown instead of custom labels
|
|
6509
|
-
* * @property {BentoCountryCode | string} value.value - Country code of the option
|
|
6510
|
-
*/
|
|
6511
|
-
items: {
|
|
6512
|
-
type: PropType<BentoCountryListboxOptions>;
|
|
6513
|
-
default: () => any[];
|
|
6514
|
-
};
|
|
6515
|
-
/**
|
|
6516
|
-
* Which label variant to display.
|
|
6517
|
-
* @values iso, name, phone_code, capital
|
|
6518
|
-
*/
|
|
6519
|
-
variant: {
|
|
6520
|
-
type: PropType<BentoCountryVariant | `${BentoCountryVariant}`>;
|
|
6521
|
-
default: BentoCountryVariant;
|
|
6522
|
-
validator: (value: BentoCountryVariant) => boolean;
|
|
6523
|
-
};
|
|
6524
|
-
search: {
|
|
6525
|
-
type: PropType<BentoListboxSearchOptions>;
|
|
6526
|
-
} & {
|
|
6527
|
-
default: any;
|
|
6528
|
-
};
|
|
6529
|
-
value: {
|
|
6530
|
-
type: PropType<BentoListboxSelectedValue>;
|
|
6531
|
-
} & {
|
|
6532
|
-
default: any;
|
|
6533
|
-
};
|
|
6534
|
-
description: {
|
|
6535
|
-
type: PropType<string>;
|
|
6536
|
-
} & {
|
|
6537
|
-
default: any;
|
|
6538
|
-
};
|
|
6539
|
-
label: {
|
|
6540
|
-
type: PropType<string>;
|
|
6541
|
-
} & {
|
|
6542
|
-
default: any;
|
|
6543
|
-
};
|
|
6544
|
-
required: {
|
|
6545
|
-
type: PropType<boolean>;
|
|
6546
|
-
} & {
|
|
6547
|
-
default: boolean;
|
|
6548
|
-
};
|
|
6549
|
-
condensed: {
|
|
6550
|
-
type: PropType<boolean>;
|
|
6551
|
-
} & {
|
|
6552
|
-
default: boolean;
|
|
6553
|
-
};
|
|
6554
|
-
disabled: {
|
|
6555
|
-
type: PropType<boolean>;
|
|
6556
|
-
} & {
|
|
6557
|
-
default: boolean;
|
|
6558
|
-
};
|
|
6559
|
-
loading: {
|
|
6560
|
-
type: PropType<boolean>;
|
|
6561
|
-
} & {
|
|
6562
|
-
default: boolean;
|
|
6563
|
-
};
|
|
6564
|
-
error: {
|
|
6565
|
-
type: PropType<boolean>;
|
|
6566
|
-
} & {
|
|
6567
|
-
default: boolean;
|
|
6568
|
-
};
|
|
6569
|
-
optional: {
|
|
6570
|
-
type: PropType<boolean>;
|
|
6571
|
-
} & {
|
|
6572
|
-
default: boolean;
|
|
6573
|
-
};
|
|
6574
|
-
readonly: {
|
|
6575
|
-
type: PropType<boolean>;
|
|
6576
|
-
} & {
|
|
6577
|
-
default: boolean;
|
|
6578
|
-
};
|
|
6579
|
-
size: {
|
|
6580
|
-
type: PropType<BentoDropdownSize_2 | "DropdownInputDefault" | "DropdownInputSmall">;
|
|
6581
|
-
} & {
|
|
6582
|
-
default: any;
|
|
6583
|
-
};
|
|
6584
|
-
multiple: {
|
|
6585
|
-
type: PropType<boolean>;
|
|
6586
|
-
} & {
|
|
6587
|
-
default: boolean;
|
|
6588
|
-
};
|
|
6589
|
-
tooltipText: {
|
|
6590
|
-
type: PropType<string>;
|
|
6591
|
-
} & {
|
|
6592
|
-
default: any;
|
|
6593
|
-
};
|
|
6594
|
-
errorMessage: {
|
|
6595
|
-
type: PropType<string>;
|
|
6596
|
-
} & {
|
|
6597
|
-
default: any;
|
|
6598
|
-
};
|
|
6599
|
-
ariaLabel: {
|
|
6600
|
-
type: PropType<string>;
|
|
6601
|
-
} & {
|
|
6602
|
-
default: any;
|
|
6603
|
-
};
|
|
6604
|
-
isOptionDisabled: {
|
|
6605
|
-
type: PropType<(optionValue: BentoListboxOptionItem) => boolean>;
|
|
6606
|
-
} & {
|
|
6607
|
-
default: any;
|
|
6608
|
-
};
|
|
6609
|
-
staticCategories: {
|
|
6610
|
-
type: PropType<boolean>;
|
|
6611
|
-
} & {
|
|
6612
|
-
default: boolean;
|
|
6613
|
-
};
|
|
6614
|
-
hasMoreItems: {
|
|
6615
|
-
type: PropType<boolean>;
|
|
6616
|
-
} & {
|
|
6617
|
-
default: boolean;
|
|
6618
|
-
};
|
|
6619
|
-
lazyLoadType: {
|
|
6620
|
-
type: PropType<"button" | "none" | "automatic" | BentoListboxLazyLoadType>;
|
|
6621
|
-
} & {
|
|
6622
|
-
default: BentoListboxLazyLoadType;
|
|
6623
|
-
};
|
|
6624
|
-
emptyState: {
|
|
6625
|
-
type: PropType<BentoListboxEmptyStateProps>;
|
|
6626
|
-
} & {
|
|
6627
|
-
default: any;
|
|
6628
|
-
};
|
|
6629
|
-
componentLoading: {
|
|
6630
|
-
type: PropType<boolean>;
|
|
6631
|
-
} & {
|
|
6632
|
-
default: boolean;
|
|
6633
|
-
};
|
|
6634
|
-
virtualScroll: {
|
|
6635
|
-
type: PropType<BentoListboxVirtulisationOptions>;
|
|
6636
|
-
} & {
|
|
6637
|
-
default: boolean;
|
|
6638
|
-
};
|
|
6639
|
-
dynamicFiltering: {
|
|
6640
|
-
type: PropType<boolean>;
|
|
6641
|
-
} & {
|
|
6642
|
-
default: boolean;
|
|
6643
|
-
};
|
|
6644
|
-
placeholder: {
|
|
6645
|
-
type: PropType<string>;
|
|
6646
|
-
} & {
|
|
6647
|
-
default: any;
|
|
6648
|
-
};
|
|
6649
|
-
showSlotContentInMultiple: {
|
|
6650
|
-
type: PropType<boolean>;
|
|
6651
|
-
} & {
|
|
6652
|
-
default: boolean;
|
|
6653
|
-
};
|
|
6654
|
-
enableValueLabelPair: {
|
|
6655
|
-
type: PropType<boolean>;
|
|
6656
|
-
} & {
|
|
6657
|
-
default: boolean;
|
|
6658
|
-
};
|
|
6659
|
-
}>>, {
|
|
6660
|
-
search: BentoListboxSearchOptions;
|
|
6661
|
-
value: BentoListboxSelectedValue;
|
|
6662
|
-
description: string;
|
|
6663
|
-
label: string;
|
|
6664
|
-
variant: "name" | "iso" | "phone_code" | "capital" | "custom" | BentoCountryVariant;
|
|
6665
|
-
required: boolean;
|
|
6666
|
-
condensed: boolean;
|
|
6667
|
-
disabled: boolean;
|
|
6668
|
-
loading: boolean;
|
|
6669
|
-
error: boolean;
|
|
6670
|
-
optional: boolean;
|
|
6671
|
-
readonly: boolean;
|
|
6672
|
-
size: BentoDropdownSize_2 | `${BentoDropdownSize_2}`;
|
|
6673
|
-
multiple: boolean;
|
|
6674
|
-
tooltipText: string;
|
|
6675
|
-
errorMessage: string;
|
|
6676
|
-
ariaLabel: string;
|
|
6677
|
-
items: BentoCountryListboxOptions;
|
|
6678
|
-
isOptionDisabled: BentoListboxIsOptionDisabled;
|
|
6679
|
-
staticCategories: boolean;
|
|
6680
|
-
hasMoreItems: boolean;
|
|
6681
|
-
lazyLoadType: BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`;
|
|
6682
|
-
emptyState: BentoListboxEmptyStateProps;
|
|
6683
|
-
componentLoading: boolean;
|
|
6684
|
-
virtualScroll: BentoListboxVirtulisationOptions;
|
|
6685
|
-
dynamicFiltering: boolean;
|
|
6686
|
-
placeholder: string;
|
|
6687
|
-
showSlotContentInMultiple: boolean;
|
|
6688
|
-
enableValueLabelPair: boolean;
|
|
6547
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_11<BentoDropdownPaymentMethodProps>, {
|
|
6548
|
+
items: () => any[];
|
|
6549
|
+
}>>>, {
|
|
6550
|
+
items: BentoPaymentMethodListboxOptions;
|
|
6689
6551
|
}>;
|
|
6690
6552
|
|
|
6691
|
-
|
|
6692
|
-
|
|
6693
|
-
|
|
6694
|
-
|
|
6695
|
-
|
|
6696
|
-
|
|
6697
|
-
|
|
6698
|
-
|
|
6699
|
-
|
|
6700
|
-
* template: `
|
|
6701
|
-
* <bento-dropdown-currency
|
|
6702
|
-
* v-model="selectedValue"
|
|
6703
|
-
* :disabled="false"
|
|
6704
|
-
* :multiple="true"
|
|
6705
|
-
* :isOptionsDisabled="option => option.value === 2"
|
|
6706
|
-
* :items="options"
|
|
6707
|
-
* />
|
|
6708
|
-
* `,
|
|
6709
|
-
* setup() {
|
|
6710
|
-
* const selectedValue = ref(BentoCountryCode.NL) // Default value
|
|
6711
|
-
* const options: BentoCountryListboxOptions = [
|
|
6712
|
-
* { label: 'Option 1', value: BentoCountryCode.NL },
|
|
6713
|
-
* { label: 'Option 2', value: BentoCountryCode.BE },
|
|
6714
|
-
* ];
|
|
6715
|
-
* return { options, selectedValue };
|
|
6716
|
-
* }
|
|
6717
|
-
* }
|
|
6718
|
-
*/
|
|
6719
|
-
export declare const BentoDropdownCurrency: DefineComponent< {
|
|
6720
|
-
/**
|
|
6721
|
-
* The option elements to populate the country dropdown with.
|
|
6722
|
-
* It must be an array of {@see BentoCurrencyListboxOptions }
|
|
6723
|
-
* * @property {string} value.label - Text to be displayed in the option
|
|
6724
|
-
* * @property {BentoCurrencyISOCode} value.code - Currency ISO code of the option
|
|
6725
|
-
*/
|
|
6726
|
-
items: {
|
|
6727
|
-
type: PropType<BentoCurrencyListboxOptions>;
|
|
6728
|
-
default: () => any[];
|
|
6729
|
-
};
|
|
6730
|
-
search: {
|
|
6731
|
-
type: PropType<BentoListboxSearchOptions>;
|
|
6732
|
-
} & {
|
|
6733
|
-
default: any;
|
|
6734
|
-
};
|
|
6735
|
-
value: {
|
|
6736
|
-
type: PropType<BentoListboxSelectedValue>;
|
|
6737
|
-
} & {
|
|
6738
|
-
default: any;
|
|
6739
|
-
};
|
|
6740
|
-
description: {
|
|
6741
|
-
type: PropType<string>;
|
|
6742
|
-
} & {
|
|
6743
|
-
default: any;
|
|
6744
|
-
};
|
|
6745
|
-
label: {
|
|
6746
|
-
type: PropType<string>;
|
|
6747
|
-
} & {
|
|
6748
|
-
default: any;
|
|
6749
|
-
};
|
|
6750
|
-
required: {
|
|
6751
|
-
type: PropType<boolean>;
|
|
6752
|
-
} & {
|
|
6753
|
-
default: boolean;
|
|
6754
|
-
};
|
|
6755
|
-
condensed: {
|
|
6756
|
-
type: PropType<boolean>;
|
|
6757
|
-
} & {
|
|
6758
|
-
default: boolean;
|
|
6759
|
-
};
|
|
6760
|
-
disabled: {
|
|
6761
|
-
type: PropType<boolean>;
|
|
6762
|
-
} & {
|
|
6763
|
-
default: boolean;
|
|
6764
|
-
};
|
|
6765
|
-
loading: {
|
|
6766
|
-
type: PropType<boolean>;
|
|
6767
|
-
} & {
|
|
6768
|
-
default: boolean;
|
|
6769
|
-
};
|
|
6770
|
-
error: {
|
|
6771
|
-
type: PropType<boolean>;
|
|
6772
|
-
} & {
|
|
6773
|
-
default: boolean;
|
|
6774
|
-
};
|
|
6775
|
-
optional: {
|
|
6776
|
-
type: PropType<boolean>;
|
|
6777
|
-
} & {
|
|
6778
|
-
default: boolean;
|
|
6779
|
-
};
|
|
6780
|
-
readonly: {
|
|
6781
|
-
type: PropType<boolean>;
|
|
6782
|
-
} & {
|
|
6783
|
-
default: boolean;
|
|
6784
|
-
};
|
|
6785
|
-
size: {
|
|
6786
|
-
type: PropType<BentoDropdownSize_2 | "DropdownInputDefault" | "DropdownInputSmall">;
|
|
6787
|
-
} & {
|
|
6788
|
-
default: any;
|
|
6789
|
-
};
|
|
6790
|
-
multiple: {
|
|
6791
|
-
type: PropType<boolean>;
|
|
6792
|
-
} & {
|
|
6793
|
-
default: boolean;
|
|
6794
|
-
};
|
|
6795
|
-
tooltipText: {
|
|
6796
|
-
type: PropType<string>;
|
|
6797
|
-
} & {
|
|
6798
|
-
default: any;
|
|
6799
|
-
};
|
|
6800
|
-
errorMessage: {
|
|
6801
|
-
type: PropType<string>;
|
|
6802
|
-
} & {
|
|
6803
|
-
default: any;
|
|
6804
|
-
};
|
|
6805
|
-
ariaLabel: {
|
|
6806
|
-
type: PropType<string>;
|
|
6807
|
-
} & {
|
|
6808
|
-
default: any;
|
|
6809
|
-
};
|
|
6810
|
-
isOptionDisabled: {
|
|
6811
|
-
type: PropType<(optionValue: BentoListboxOptionItem) => boolean>;
|
|
6812
|
-
} & {
|
|
6813
|
-
default: any;
|
|
6814
|
-
};
|
|
6815
|
-
staticCategories: {
|
|
6816
|
-
type: PropType<boolean>;
|
|
6817
|
-
} & {
|
|
6818
|
-
default: boolean;
|
|
6819
|
-
};
|
|
6820
|
-
hasMoreItems: {
|
|
6821
|
-
type: PropType<boolean>;
|
|
6822
|
-
} & {
|
|
6823
|
-
default: boolean;
|
|
6824
|
-
};
|
|
6825
|
-
lazyLoadType: {
|
|
6826
|
-
type: PropType<"button" | "none" | "automatic" | BentoListboxLazyLoadType>;
|
|
6827
|
-
} & {
|
|
6828
|
-
default: BentoListboxLazyLoadType;
|
|
6829
|
-
};
|
|
6830
|
-
emptyState: {
|
|
6831
|
-
type: PropType<BentoListboxEmptyStateProps>;
|
|
6832
|
-
} & {
|
|
6833
|
-
default: any;
|
|
6834
|
-
};
|
|
6835
|
-
componentLoading: {
|
|
6836
|
-
type: PropType<boolean>;
|
|
6837
|
-
} & {
|
|
6838
|
-
default: boolean;
|
|
6839
|
-
};
|
|
6840
|
-
virtualScroll: {
|
|
6841
|
-
type: PropType<BentoListboxVirtulisationOptions>;
|
|
6842
|
-
} & {
|
|
6843
|
-
default: boolean;
|
|
6844
|
-
};
|
|
6845
|
-
dynamicFiltering: {
|
|
6846
|
-
type: PropType<boolean>;
|
|
6847
|
-
} & {
|
|
6848
|
-
default: boolean;
|
|
6849
|
-
};
|
|
6850
|
-
placeholder: {
|
|
6851
|
-
type: PropType<string>;
|
|
6852
|
-
} & {
|
|
6853
|
-
default: any;
|
|
6854
|
-
};
|
|
6855
|
-
showSlotContentInMultiple: {
|
|
6856
|
-
type: PropType<boolean>;
|
|
6857
|
-
} & {
|
|
6858
|
-
default: boolean;
|
|
6859
|
-
};
|
|
6860
|
-
enableValueLabelPair: {
|
|
6861
|
-
type: PropType<boolean>;
|
|
6862
|
-
} & {
|
|
6863
|
-
default: boolean;
|
|
6864
|
-
};
|
|
6865
|
-
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6866
|
-
input: (selectedValue: BentoListboxSelectedValue) => void;
|
|
6867
|
-
}, string, Readonly<ExtractPropTypes< {
|
|
6868
|
-
/**
|
|
6869
|
-
* The option elements to populate the country dropdown with.
|
|
6870
|
-
* It must be an array of {@see BentoCurrencyListboxOptions }
|
|
6871
|
-
* * @property {string} value.label - Text to be displayed in the option
|
|
6872
|
-
* * @property {BentoCurrencyISOCode} value.code - Currency ISO code of the option
|
|
6873
|
-
*/
|
|
6874
|
-
items: {
|
|
6875
|
-
type: PropType<BentoCurrencyListboxOptions>;
|
|
6876
|
-
default: () => any[];
|
|
6877
|
-
};
|
|
6878
|
-
search: {
|
|
6879
|
-
type: PropType<BentoListboxSearchOptions>;
|
|
6880
|
-
} & {
|
|
6881
|
-
default: any;
|
|
6882
|
-
};
|
|
6883
|
-
value: {
|
|
6884
|
-
type: PropType<BentoListboxSelectedValue>;
|
|
6885
|
-
} & {
|
|
6886
|
-
default: any;
|
|
6887
|
-
};
|
|
6888
|
-
description: {
|
|
6889
|
-
type: PropType<string>;
|
|
6890
|
-
} & {
|
|
6891
|
-
default: any;
|
|
6892
|
-
};
|
|
6893
|
-
label: {
|
|
6894
|
-
type: PropType<string>;
|
|
6895
|
-
} & {
|
|
6896
|
-
default: any;
|
|
6897
|
-
};
|
|
6898
|
-
required: {
|
|
6899
|
-
type: PropType<boolean>;
|
|
6900
|
-
} & {
|
|
6901
|
-
default: boolean;
|
|
6902
|
-
};
|
|
6903
|
-
condensed: {
|
|
6904
|
-
type: PropType<boolean>;
|
|
6905
|
-
} & {
|
|
6906
|
-
default: boolean;
|
|
6907
|
-
};
|
|
6908
|
-
disabled: {
|
|
6909
|
-
type: PropType<boolean>;
|
|
6910
|
-
} & {
|
|
6911
|
-
default: boolean;
|
|
6912
|
-
};
|
|
6913
|
-
loading: {
|
|
6914
|
-
type: PropType<boolean>;
|
|
6915
|
-
} & {
|
|
6916
|
-
default: boolean;
|
|
6917
|
-
};
|
|
6918
|
-
error: {
|
|
6919
|
-
type: PropType<boolean>;
|
|
6920
|
-
} & {
|
|
6921
|
-
default: boolean;
|
|
6922
|
-
};
|
|
6923
|
-
optional: {
|
|
6924
|
-
type: PropType<boolean>;
|
|
6925
|
-
} & {
|
|
6926
|
-
default: boolean;
|
|
6927
|
-
};
|
|
6928
|
-
readonly: {
|
|
6929
|
-
type: PropType<boolean>;
|
|
6930
|
-
} & {
|
|
6931
|
-
default: boolean;
|
|
6932
|
-
};
|
|
6933
|
-
size: {
|
|
6934
|
-
type: PropType<BentoDropdownSize_2 | "DropdownInputDefault" | "DropdownInputSmall">;
|
|
6935
|
-
} & {
|
|
6936
|
-
default: any;
|
|
6937
|
-
};
|
|
6938
|
-
multiple: {
|
|
6939
|
-
type: PropType<boolean>;
|
|
6940
|
-
} & {
|
|
6941
|
-
default: boolean;
|
|
6942
|
-
};
|
|
6943
|
-
tooltipText: {
|
|
6944
|
-
type: PropType<string>;
|
|
6945
|
-
} & {
|
|
6946
|
-
default: any;
|
|
6947
|
-
};
|
|
6948
|
-
errorMessage: {
|
|
6949
|
-
type: PropType<string>;
|
|
6950
|
-
} & {
|
|
6951
|
-
default: any;
|
|
6952
|
-
};
|
|
6953
|
-
ariaLabel: {
|
|
6954
|
-
type: PropType<string>;
|
|
6955
|
-
} & {
|
|
6956
|
-
default: any;
|
|
6957
|
-
};
|
|
6958
|
-
isOptionDisabled: {
|
|
6959
|
-
type: PropType<(optionValue: BentoListboxOptionItem) => boolean>;
|
|
6960
|
-
} & {
|
|
6961
|
-
default: any;
|
|
6962
|
-
};
|
|
6963
|
-
staticCategories: {
|
|
6964
|
-
type: PropType<boolean>;
|
|
6965
|
-
} & {
|
|
6966
|
-
default: boolean;
|
|
6967
|
-
};
|
|
6968
|
-
hasMoreItems: {
|
|
6969
|
-
type: PropType<boolean>;
|
|
6970
|
-
} & {
|
|
6971
|
-
default: boolean;
|
|
6972
|
-
};
|
|
6973
|
-
lazyLoadType: {
|
|
6974
|
-
type: PropType<"button" | "none" | "automatic" | BentoListboxLazyLoadType>;
|
|
6975
|
-
} & {
|
|
6976
|
-
default: BentoListboxLazyLoadType;
|
|
6977
|
-
};
|
|
6978
|
-
emptyState: {
|
|
6979
|
-
type: PropType<BentoListboxEmptyStateProps>;
|
|
6980
|
-
} & {
|
|
6981
|
-
default: any;
|
|
6982
|
-
};
|
|
6983
|
-
componentLoading: {
|
|
6984
|
-
type: PropType<boolean>;
|
|
6985
|
-
} & {
|
|
6986
|
-
default: boolean;
|
|
6987
|
-
};
|
|
6988
|
-
virtualScroll: {
|
|
6989
|
-
type: PropType<BentoListboxVirtulisationOptions>;
|
|
6990
|
-
} & {
|
|
6991
|
-
default: boolean;
|
|
6992
|
-
};
|
|
6993
|
-
dynamicFiltering: {
|
|
6994
|
-
type: PropType<boolean>;
|
|
6995
|
-
} & {
|
|
6996
|
-
default: boolean;
|
|
6997
|
-
};
|
|
6998
|
-
placeholder: {
|
|
6999
|
-
type: PropType<string>;
|
|
7000
|
-
} & {
|
|
7001
|
-
default: any;
|
|
7002
|
-
};
|
|
7003
|
-
showSlotContentInMultiple: {
|
|
7004
|
-
type: PropType<boolean>;
|
|
7005
|
-
} & {
|
|
7006
|
-
default: boolean;
|
|
7007
|
-
};
|
|
7008
|
-
enableValueLabelPair: {
|
|
7009
|
-
type: PropType<boolean>;
|
|
7010
|
-
} & {
|
|
7011
|
-
default: boolean;
|
|
7012
|
-
};
|
|
7013
|
-
}>>, {
|
|
7014
|
-
search: BentoListboxSearchOptions;
|
|
7015
|
-
value: BentoListboxSelectedValue;
|
|
7016
|
-
description: string;
|
|
7017
|
-
label: string;
|
|
7018
|
-
required: boolean;
|
|
7019
|
-
condensed: boolean;
|
|
7020
|
-
disabled: boolean;
|
|
7021
|
-
loading: boolean;
|
|
7022
|
-
error: boolean;
|
|
7023
|
-
optional: boolean;
|
|
7024
|
-
readonly: boolean;
|
|
7025
|
-
size: BentoDropdownSize_2 | `${BentoDropdownSize_2}`;
|
|
7026
|
-
multiple: boolean;
|
|
7027
|
-
tooltipText: string;
|
|
7028
|
-
errorMessage: string;
|
|
7029
|
-
ariaLabel: string;
|
|
7030
|
-
items: BentoCurrencyListboxOptions;
|
|
7031
|
-
isOptionDisabled: BentoListboxIsOptionDisabled;
|
|
7032
|
-
staticCategories: boolean;
|
|
7033
|
-
hasMoreItems: boolean;
|
|
7034
|
-
lazyLoadType: BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`;
|
|
7035
|
-
emptyState: BentoListboxEmptyStateProps;
|
|
7036
|
-
componentLoading: boolean;
|
|
7037
|
-
virtualScroll: BentoListboxVirtulisationOptions;
|
|
7038
|
-
dynamicFiltering: boolean;
|
|
7039
|
-
placeholder: string;
|
|
7040
|
-
showSlotContentInMultiple: boolean;
|
|
7041
|
-
enableValueLabelPair: boolean;
|
|
7042
|
-
}>;
|
|
6553
|
+
export declare interface BentoDropdownPaymentMethodProps extends BentoDropdownProps {
|
|
6554
|
+
/**
|
|
6555
|
+
* The option elements to populate the payment method dropdown with.
|
|
6556
|
+
* It must be an array of {@see BentoPaymentMethodListboxOptions }
|
|
6557
|
+
* @property {string} value.label - Text to be displayed in the option
|
|
6558
|
+
* @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}
|
|
6559
|
+
*/
|
|
6560
|
+
items?: BentoPaymentMethodListboxOptions;
|
|
6561
|
+
}
|
|
7043
6562
|
|
|
7044
|
-
|
|
7045
|
-
|
|
7046
|
-
|
|
7047
|
-
|
|
7048
|
-
|
|
7049
|
-
|
|
7050
|
-
|
|
7051
|
-
|
|
7052
|
-
|
|
7053
|
-
|
|
7054
|
-
|
|
7055
|
-
|
|
7056
|
-
|
|
7057
|
-
|
|
7058
|
-
|
|
7059
|
-
|
|
7060
|
-
|
|
7061
|
-
|
|
7062
|
-
|
|
7063
|
-
|
|
7064
|
-
|
|
7065
|
-
|
|
7066
|
-
|
|
7067
|
-
|
|
7068
|
-
|
|
7069
|
-
|
|
7070
|
-
|
|
7071
|
-
|
|
7072
|
-
|
|
7073
|
-
|
|
7074
|
-
|
|
7075
|
-
|
|
7076
|
-
*
|
|
7077
|
-
|
|
7078
|
-
|
|
7079
|
-
|
|
7080
|
-
|
|
7081
|
-
|
|
7082
|
-
|
|
7083
|
-
|
|
7084
|
-
|
|
7085
|
-
|
|
7086
|
-
|
|
7087
|
-
}
|
|
7088
|
-
value
|
|
7089
|
-
|
|
7090
|
-
|
|
7091
|
-
|
|
7092
|
-
|
|
7093
|
-
|
|
7094
|
-
|
|
7095
|
-
|
|
7096
|
-
|
|
7097
|
-
|
|
7098
|
-
|
|
7099
|
-
|
|
7100
|
-
|
|
7101
|
-
|
|
7102
|
-
|
|
7103
|
-
|
|
7104
|
-
|
|
7105
|
-
|
|
7106
|
-
|
|
7107
|
-
|
|
7108
|
-
|
|
7109
|
-
|
|
7110
|
-
|
|
7111
|
-
|
|
7112
|
-
|
|
7113
|
-
|
|
7114
|
-
|
|
7115
|
-
|
|
7116
|
-
|
|
7117
|
-
|
|
7118
|
-
|
|
7119
|
-
|
|
7120
|
-
|
|
7121
|
-
|
|
7122
|
-
|
|
7123
|
-
|
|
7124
|
-
|
|
7125
|
-
|
|
7126
|
-
|
|
7127
|
-
|
|
7128
|
-
|
|
7129
|
-
|
|
7130
|
-
|
|
7131
|
-
|
|
7132
|
-
|
|
7133
|
-
|
|
7134
|
-
|
|
7135
|
-
|
|
7136
|
-
|
|
7137
|
-
|
|
7138
|
-
|
|
7139
|
-
|
|
7140
|
-
|
|
7141
|
-
|
|
7142
|
-
|
|
7143
|
-
multiple
|
|
7144
|
-
|
|
7145
|
-
|
|
7146
|
-
|
|
7147
|
-
|
|
7148
|
-
|
|
7149
|
-
|
|
7150
|
-
|
|
7151
|
-
|
|
7152
|
-
|
|
7153
|
-
|
|
7154
|
-
|
|
7155
|
-
|
|
7156
|
-
|
|
7157
|
-
|
|
7158
|
-
|
|
7159
|
-
|
|
7160
|
-
|
|
7161
|
-
|
|
7162
|
-
|
|
7163
|
-
|
|
7164
|
-
|
|
7165
|
-
|
|
7166
|
-
|
|
7167
|
-
|
|
7168
|
-
|
|
7169
|
-
|
|
7170
|
-
|
|
7171
|
-
|
|
7172
|
-
|
|
7173
|
-
|
|
7174
|
-
|
|
7175
|
-
}
|
|
7176
|
-
|
|
7177
|
-
|
|
7178
|
-
|
|
7179
|
-
|
|
7180
|
-
|
|
7181
|
-
|
|
7182
|
-
|
|
7183
|
-
|
|
7184
|
-
|
|
7185
|
-
|
|
7186
|
-
default
|
|
7187
|
-
|
|
7188
|
-
|
|
7189
|
-
|
|
7190
|
-
|
|
7191
|
-
|
|
7192
|
-
|
|
7193
|
-
|
|
7194
|
-
|
|
7195
|
-
|
|
7196
|
-
|
|
7197
|
-
|
|
7198
|
-
|
|
7199
|
-
|
|
7200
|
-
|
|
7201
|
-
|
|
7202
|
-
|
|
7203
|
-
|
|
7204
|
-
|
|
7205
|
-
}
|
|
7206
|
-
|
|
7207
|
-
|
|
7208
|
-
|
|
7209
|
-
|
|
7210
|
-
|
|
7211
|
-
|
|
7212
|
-
|
|
7213
|
-
|
|
7214
|
-
|
|
7215
|
-
|
|
7216
|
-
|
|
7217
|
-
|
|
7218
|
-
|
|
7219
|
-
|
|
7220
|
-
|
|
7221
|
-
|
|
7222
|
-
*
|
|
7223
|
-
*
|
|
7224
|
-
*
|
|
7225
|
-
*
|
|
7226
|
-
*/
|
|
7227
|
-
|
|
7228
|
-
|
|
7229
|
-
|
|
7230
|
-
|
|
7231
|
-
|
|
7232
|
-
|
|
7233
|
-
}
|
|
7234
|
-
default: any;
|
|
7235
|
-
};
|
|
7236
|
-
value: {
|
|
7237
|
-
type: PropType<BentoListboxSelectedValue>;
|
|
7238
|
-
} & {
|
|
7239
|
-
default: any;
|
|
7240
|
-
};
|
|
7241
|
-
description: {
|
|
7242
|
-
type: PropType<string>;
|
|
7243
|
-
} & {
|
|
7244
|
-
default: any;
|
|
7245
|
-
};
|
|
7246
|
-
label: {
|
|
7247
|
-
type: PropType<string>;
|
|
7248
|
-
} & {
|
|
7249
|
-
default: any;
|
|
7250
|
-
};
|
|
7251
|
-
required: {
|
|
7252
|
-
type: PropType<boolean>;
|
|
7253
|
-
} & {
|
|
7254
|
-
default: boolean;
|
|
7255
|
-
};
|
|
7256
|
-
condensed: {
|
|
7257
|
-
type: PropType<boolean>;
|
|
7258
|
-
} & {
|
|
7259
|
-
default: boolean;
|
|
7260
|
-
};
|
|
7261
|
-
disabled: {
|
|
7262
|
-
type: PropType<boolean>;
|
|
7263
|
-
} & {
|
|
7264
|
-
default: boolean;
|
|
7265
|
-
};
|
|
7266
|
-
loading: {
|
|
7267
|
-
type: PropType<boolean>;
|
|
7268
|
-
} & {
|
|
7269
|
-
default: boolean;
|
|
7270
|
-
};
|
|
7271
|
-
error: {
|
|
7272
|
-
type: PropType<boolean>;
|
|
7273
|
-
} & {
|
|
7274
|
-
default: boolean;
|
|
7275
|
-
};
|
|
7276
|
-
optional: {
|
|
7277
|
-
type: PropType<boolean>;
|
|
7278
|
-
} & {
|
|
7279
|
-
default: boolean;
|
|
7280
|
-
};
|
|
7281
|
-
readonly: {
|
|
7282
|
-
type: PropType<boolean>;
|
|
7283
|
-
} & {
|
|
7284
|
-
default: boolean;
|
|
7285
|
-
};
|
|
7286
|
-
size: {
|
|
7287
|
-
type: PropType<BentoDropdownSize_2 | "DropdownInputDefault" | "DropdownInputSmall">;
|
|
7288
|
-
} & {
|
|
7289
|
-
default: any;
|
|
7290
|
-
};
|
|
7291
|
-
multiple: {
|
|
7292
|
-
type: PropType<boolean>;
|
|
7293
|
-
} & {
|
|
7294
|
-
default: boolean;
|
|
7295
|
-
};
|
|
7296
|
-
tooltipText: {
|
|
7297
|
-
type: PropType<string>;
|
|
7298
|
-
} & {
|
|
7299
|
-
default: any;
|
|
7300
|
-
};
|
|
7301
|
-
errorMessage: {
|
|
7302
|
-
type: PropType<string>;
|
|
7303
|
-
} & {
|
|
7304
|
-
default: any;
|
|
7305
|
-
};
|
|
7306
|
-
ariaLabel: {
|
|
7307
|
-
type: PropType<string>;
|
|
7308
|
-
} & {
|
|
7309
|
-
default: any;
|
|
7310
|
-
};
|
|
7311
|
-
isOptionDisabled: {
|
|
7312
|
-
type: PropType<(optionValue: BentoListboxOptionItem) => boolean>;
|
|
7313
|
-
} & {
|
|
7314
|
-
default: any;
|
|
7315
|
-
};
|
|
7316
|
-
staticCategories: {
|
|
7317
|
-
type: PropType<boolean>;
|
|
7318
|
-
} & {
|
|
7319
|
-
default: boolean;
|
|
7320
|
-
};
|
|
7321
|
-
hasMoreItems: {
|
|
7322
|
-
type: PropType<boolean>;
|
|
7323
|
-
} & {
|
|
7324
|
-
default: boolean;
|
|
7325
|
-
};
|
|
7326
|
-
lazyLoadType: {
|
|
7327
|
-
type: PropType<"button" | "none" | "automatic" | BentoListboxLazyLoadType>;
|
|
7328
|
-
} & {
|
|
7329
|
-
default: BentoListboxLazyLoadType;
|
|
7330
|
-
};
|
|
7331
|
-
emptyState: {
|
|
7332
|
-
type: PropType<BentoListboxEmptyStateProps>;
|
|
7333
|
-
} & {
|
|
7334
|
-
default: any;
|
|
7335
|
-
};
|
|
7336
|
-
componentLoading: {
|
|
7337
|
-
type: PropType<boolean>;
|
|
7338
|
-
} & {
|
|
7339
|
-
default: boolean;
|
|
7340
|
-
};
|
|
7341
|
-
virtualScroll: {
|
|
7342
|
-
type: PropType<BentoListboxVirtulisationOptions>;
|
|
7343
|
-
} & {
|
|
7344
|
-
default: boolean;
|
|
7345
|
-
};
|
|
7346
|
-
dynamicFiltering: {
|
|
7347
|
-
type: PropType<boolean>;
|
|
7348
|
-
} & {
|
|
7349
|
-
default: boolean;
|
|
7350
|
-
};
|
|
7351
|
-
placeholder: {
|
|
7352
|
-
type: PropType<string>;
|
|
7353
|
-
} & {
|
|
7354
|
-
default: any;
|
|
7355
|
-
};
|
|
7356
|
-
showSlotContentInMultiple: {
|
|
7357
|
-
type: PropType<boolean>;
|
|
7358
|
-
} & {
|
|
7359
|
-
default: boolean;
|
|
7360
|
-
};
|
|
7361
|
-
enableValueLabelPair: {
|
|
7362
|
-
type: PropType<boolean>;
|
|
7363
|
-
} & {
|
|
7364
|
-
default: boolean;
|
|
7365
|
-
};
|
|
7366
|
-
}>>, {
|
|
7367
|
-
search: BentoListboxSearchOptions;
|
|
7368
|
-
value: BentoListboxSelectedValue;
|
|
7369
|
-
description: string;
|
|
7370
|
-
label: string;
|
|
7371
|
-
required: boolean;
|
|
7372
|
-
condensed: boolean;
|
|
7373
|
-
disabled: boolean;
|
|
7374
|
-
loading: boolean;
|
|
7375
|
-
error: boolean;
|
|
7376
|
-
optional: boolean;
|
|
7377
|
-
readonly: boolean;
|
|
7378
|
-
size: BentoDropdownSize_2 | `${BentoDropdownSize_2}`;
|
|
7379
|
-
multiple: boolean;
|
|
7380
|
-
tooltipText: string;
|
|
7381
|
-
errorMessage: string;
|
|
7382
|
-
ariaLabel: string;
|
|
7383
|
-
items: BentoPaymentMethodListboxOptions;
|
|
7384
|
-
isOptionDisabled: BentoListboxIsOptionDisabled;
|
|
7385
|
-
staticCategories: boolean;
|
|
7386
|
-
hasMoreItems: boolean;
|
|
7387
|
-
lazyLoadType: BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`;
|
|
7388
|
-
emptyState: BentoListboxEmptyStateProps;
|
|
7389
|
-
componentLoading: boolean;
|
|
7390
|
-
virtualScroll: BentoListboxVirtulisationOptions;
|
|
7391
|
-
dynamicFiltering: boolean;
|
|
7392
|
-
placeholder: string;
|
|
7393
|
-
showSlotContentInMultiple: boolean;
|
|
7394
|
-
enableValueLabelPair: boolean;
|
|
7395
|
-
}>;
|
|
7396
|
-
|
|
7397
|
-
export declare interface BentoDropdownProps {
|
|
7398
|
-
/**
|
|
7399
|
-
* @deprecated from version 2.0.0. Use the aria-label attribute instead.
|
|
7400
|
-
* Defines a string value that labels an interactive element.
|
|
7401
|
-
*/
|
|
7402
|
-
ariaLabel?: string;
|
|
7403
|
-
/**
|
|
7404
|
-
* Renders the dropdown with a condensed style.
|
|
7405
|
-
*/
|
|
7406
|
-
condensed?: boolean;
|
|
7407
|
-
/**
|
|
7408
|
-
* Empty state props used with the inner empty state component which is displayed when no search results are found.
|
|
7409
|
-
*/
|
|
7410
|
-
emptyState?: BentoListboxEmptyStateProps;
|
|
7411
|
-
/**
|
|
7412
|
-
* Disables dropdown functionality.
|
|
7413
|
-
*/
|
|
7414
|
-
disabled?: boolean;
|
|
7415
|
-
/**
|
|
7416
|
-
* Sets the possibility to type into the textbox.
|
|
7417
|
-
*/
|
|
7418
|
-
dynamicFiltering?: boolean;
|
|
7419
|
-
/**
|
|
7420
|
-
* Highlights the dropdown in an erroneous state.
|
|
7421
|
-
* @deprecated Use "errorMessage" prop instead
|
|
7422
|
-
*/
|
|
7423
|
-
error?: boolean;
|
|
7424
|
-
/**
|
|
7425
|
-
* Highlights the dropdown in an erroneous state with an error message.
|
|
7426
|
-
*/
|
|
7427
|
-
errorMessage?: string;
|
|
7428
|
-
/**
|
|
7429
|
-
* Descriptive supporting text visbile underneath the dropdown.
|
|
7430
|
-
*/
|
|
7431
|
-
description?: string;
|
|
7432
|
-
/**
|
|
7433
|
-
* Indicates whether there are more items to load
|
|
7434
|
-
*/
|
|
7435
|
-
hasMoreItems?: boolean;
|
|
7436
|
-
/**
|
|
7437
|
-
* Function that dertermines which options are disabled from interaction.
|
|
7438
|
-
* @type {BentoListboxIsOptionDisabled}
|
|
7439
|
-
* @param {BentoListboxOptionItem} option - Dropdown option object
|
|
7440
|
-
* @param {string} option.label - Option's label text
|
|
7441
|
-
* @param {string|number} option.value - Option's value
|
|
7442
|
-
* @param {unknown} option.data - Option's extra data to be passed to the default slot
|
|
7443
|
-
*/
|
|
7444
|
-
isOptionDisabled?: BentoListboxIsOptionDisabled;
|
|
7445
|
-
/**
|
|
7446
|
-
* The option elements to populate the dropdown with.
|
|
7447
|
-
* It must be an array of {@see BentoListboxOptionItem }
|
|
7448
|
-
* @property value.label - Text to be displayed in the option
|
|
7449
|
-
* @property value.value - Value of the option
|
|
7450
|
-
*/
|
|
7451
|
-
items?: BentoListboxOptions;
|
|
7452
|
-
/**
|
|
7453
|
-
* Text that is displayed as a label above the element.
|
|
7454
|
-
*/
|
|
7455
|
-
label?: string;
|
|
7456
|
-
/**
|
|
7457
|
-
* Indicates if new options are lazy loading.
|
|
7458
|
-
*/
|
|
7459
|
-
loading?: boolean;
|
|
7460
|
-
/**
|
|
7461
|
-
* Indicates that dropdown items are loading
|
|
7462
|
-
*/
|
|
7463
|
-
componentLoading?: boolean;
|
|
7464
|
-
/**
|
|
7465
|
-
* The type of `Lazy Load`.
|
|
7466
|
-
* Type "automatic" will enable infinite scrolling
|
|
7467
|
-
* Type "button" will enable lazy loading with "Show more" button
|
|
7468
|
-
*/
|
|
7469
|
-
lazyLoadType?: BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`;
|
|
7470
|
-
/**
|
|
7471
|
-
* If enabled, the user will be able to select multiple items.
|
|
7472
|
-
*/
|
|
7473
|
-
multiple?: boolean;
|
|
7474
|
-
/**
|
|
7475
|
-
* Highlights the dropdown is optional.
|
|
7476
|
-
*/
|
|
7477
|
-
optional?: boolean;
|
|
7478
|
-
/**
|
|
7479
|
-
* Text that appears in the form control when it has no value set
|
|
7480
|
-
*/
|
|
7481
|
-
placeholder?: string;
|
|
7482
|
-
/**
|
|
7483
|
-
* Sets the dropdown to readonly state
|
|
7484
|
-
*/
|
|
7485
|
-
readonly?: boolean;
|
|
7486
|
-
/**
|
|
7487
|
-
* Highlights the dropdown is required.
|
|
7488
|
-
*/
|
|
7489
|
-
required?: boolean;
|
|
7490
|
-
/**
|
|
7491
|
-
* Dropdown search options and events.
|
|
7492
|
-
* @see BentoDropdownSearchOptions
|
|
7493
|
-
*/
|
|
7494
|
-
search?: BentoListboxSearchOptions;
|
|
7495
|
-
/**
|
|
7496
|
-
* Toggles whether to use the slot content select items shown in the textbox in multiple mode.
|
|
7497
|
-
*/
|
|
7498
|
-
showSlotContentInMultiple?: boolean;
|
|
7499
|
-
/**
|
|
7500
|
-
* @deprecated Do not use. Only 'default' size should be used.
|
|
7501
|
-
*/
|
|
7502
|
-
size?: BentoDropdownSize | `${BentoDropdownSize}`;
|
|
7503
|
-
/**
|
|
7504
|
-
* If enabled, dropdown will display non-selectable, static categories
|
|
7505
|
-
*/
|
|
7506
|
-
staticCategories?: boolean;
|
|
7507
|
-
/**
|
|
7508
|
-
* Adds a info icon next to the label to display the passed tooltip message.
|
|
7509
|
-
*/
|
|
7510
|
-
tooltipText?: string;
|
|
7511
|
-
/**
|
|
7512
|
-
* The `input` value.
|
|
7513
|
-
* Providing an empty string will select no options.
|
|
7514
|
-
* Set to an empty string `''` if you don't want any of the available options to be selected.
|
|
7515
|
-
*/
|
|
7516
|
-
value?: BentoListboxSelectedValue;
|
|
7517
|
-
/**
|
|
7518
|
-
* Enables virtual scrolling if set to true or by providing an object with itemHeight function.
|
|
7519
|
-
* The itemHeight function is used to calculate the height of rendered item given it's index.
|
|
7520
|
-
*/
|
|
7521
|
-
virtualScroll?: BentoListboxVirtulisationOptions;
|
|
7522
|
-
/**
|
|
7523
|
-
* Enables value/label value handling. When `true`, the component expects and emits value/label
|
|
7524
|
-
* pair objects instead of primitive values.
|
|
7525
|
-
*
|
|
7526
|
-
* This affects both the `value` prop and the `input` event payload.
|
|
7527
|
-
*
|
|
7528
|
-
* - **Input (`value` prop):** Expects a `{ value: string | number, label: string }` object (or an array of them for multi-select).
|
|
7529
|
-
* - **Output (`input` event):** Emits a `{ value: string | number, label: string }` object (or an array of them) upon selection.
|
|
7530
|
-
*
|
|
7531
|
-
* This is particularly useful when a selected item's label is not available in the `items` prop,
|
|
7532
|
-
* allowing the component to display the correct label for values loaded from external sources.
|
|
7533
|
-
* @default false
|
|
7534
|
-
*/
|
|
7535
|
-
enableValueLabelPair?: boolean;
|
|
7536
|
-
}
|
|
7537
|
-
|
|
7538
|
-
/**
|
|
7539
|
-
* @deprecated Do not use. Only 'default' size should be used.
|
|
7540
|
-
*/
|
|
7541
|
-
export declare enum BentoDropdownSize {
|
|
7542
|
-
DEFAULT = "DropdownInputDefault",
|
|
7543
|
-
SMALL = "DropdownInputSmall"
|
|
7544
|
-
}
|
|
7545
|
-
|
|
7546
|
-
/**
|
|
7547
|
-
* @deprecated Do not use. Only 'default' size should be used.
|
|
7548
|
-
*/
|
|
7549
|
-
declare enum BentoDropdownSize_2 {
|
|
7550
|
-
DEFAULT = 'DropdownInputDefault',
|
|
7551
|
-
SMALL = 'DropdownInputSmall',
|
|
7552
|
-
}
|
|
7553
|
-
|
|
7554
|
-
/**
|
|
7555
|
-
* A Tag Dropdown showing a selectable list of tags.
|
|
7556
|
-
*
|
|
7557
|
-
* @example
|
|
7558
|
-
* import { BentoDropdownTag } from '@adyen/bento-vue2';
|
|
7559
|
-
* import type { BentoTagListboxOptions } from '@adyen/bento-vue2'
|
|
7560
|
-
*
|
|
7561
|
-
* export default {
|
|
7562
|
-
* components: { BentoDropdownTag },
|
|
7563
|
-
* template: `
|
|
7564
|
-
* <bento-dropdown-tag
|
|
7565
|
-
* v-model="selectedValue"
|
|
7566
|
-
* :disabled="false"
|
|
7567
|
-
* :items="options"
|
|
7568
|
-
* />
|
|
7569
|
-
* `,
|
|
7570
|
-
* setup() {
|
|
7571
|
-
* const selectedValue = ref('unique-id-1') // Default value
|
|
7572
|
-
* const options: BentoTagListboxOptions = [
|
|
7573
|
-
* { label: 'Offline', value: 'unique-id-1', variant: 'red' },
|
|
7574
|
-
* { label: 'Online', value: 'unique-id-2', variant: 'green' },
|
|
7575
|
-
* ];
|
|
7576
|
-
* return { options, selectedValue };
|
|
7577
|
-
* }
|
|
7578
|
-
* }
|
|
7579
|
-
*/
|
|
7580
|
-
export declare const BentoDropdownTag: DefineComponent< {
|
|
7581
|
-
/**
|
|
7582
|
-
* The option elements to populate the tag dropdown with.
|
|
7583
|
-
* It must be an array of {@see BentoTagListboxOptions }
|
|
7584
|
-
* * @property {string} value.label - Text to be displayed in the option
|
|
7585
|
-
* * @property {string,number} value.value - Value of the option
|
|
7586
|
-
* * @property {string} value.variant - The BentTag variant shown for the option.
|
|
7587
|
-
*/
|
|
7588
|
-
items: {
|
|
7589
|
-
type: PropType<BentoTagListboxOptions>;
|
|
7590
|
-
default: () => any[];
|
|
7591
|
-
};
|
|
7592
|
-
search: {
|
|
7593
|
-
type: PropType<BentoListboxSearchOptions>;
|
|
7594
|
-
} & {
|
|
7595
|
-
default: any;
|
|
7596
|
-
};
|
|
7597
|
-
value: {
|
|
7598
|
-
type: PropType<BentoListboxSelectedValue>;
|
|
7599
|
-
} & {
|
|
7600
|
-
default: any;
|
|
7601
|
-
};
|
|
7602
|
-
description: {
|
|
7603
|
-
type: PropType<string>;
|
|
7604
|
-
} & {
|
|
7605
|
-
default: any;
|
|
7606
|
-
};
|
|
7607
|
-
label: {
|
|
7608
|
-
type: PropType<string>;
|
|
7609
|
-
} & {
|
|
7610
|
-
default: any;
|
|
7611
|
-
};
|
|
7612
|
-
required: {
|
|
7613
|
-
type: PropType<boolean>;
|
|
7614
|
-
} & {
|
|
7615
|
-
default: boolean;
|
|
7616
|
-
};
|
|
7617
|
-
condensed: {
|
|
7618
|
-
type: PropType<boolean>;
|
|
7619
|
-
} & {
|
|
7620
|
-
default: boolean;
|
|
7621
|
-
};
|
|
7622
|
-
disabled: {
|
|
7623
|
-
type: PropType<boolean>;
|
|
7624
|
-
} & {
|
|
7625
|
-
default: boolean;
|
|
7626
|
-
};
|
|
7627
|
-
loading: {
|
|
7628
|
-
type: PropType<boolean>;
|
|
7629
|
-
} & {
|
|
7630
|
-
default: boolean;
|
|
7631
|
-
};
|
|
7632
|
-
error: {
|
|
7633
|
-
type: PropType<boolean>;
|
|
7634
|
-
} & {
|
|
7635
|
-
default: boolean;
|
|
7636
|
-
};
|
|
7637
|
-
optional: {
|
|
7638
|
-
type: PropType<boolean>;
|
|
7639
|
-
} & {
|
|
7640
|
-
default: boolean;
|
|
7641
|
-
};
|
|
7642
|
-
readonly: {
|
|
7643
|
-
type: PropType<boolean>;
|
|
7644
|
-
} & {
|
|
7645
|
-
default: boolean;
|
|
7646
|
-
};
|
|
7647
|
-
size: {
|
|
7648
|
-
type: PropType<BentoDropdownSize_2 | "DropdownInputDefault" | "DropdownInputSmall">;
|
|
7649
|
-
} & {
|
|
7650
|
-
default: any;
|
|
7651
|
-
};
|
|
7652
|
-
multiple: {
|
|
7653
|
-
type: PropType<boolean>;
|
|
7654
|
-
} & {
|
|
7655
|
-
default: boolean;
|
|
7656
|
-
};
|
|
7657
|
-
tooltipText: {
|
|
7658
|
-
type: PropType<string>;
|
|
7659
|
-
} & {
|
|
7660
|
-
default: any;
|
|
7661
|
-
};
|
|
7662
|
-
errorMessage: {
|
|
7663
|
-
type: PropType<string>;
|
|
7664
|
-
} & {
|
|
7665
|
-
default: any;
|
|
7666
|
-
};
|
|
7667
|
-
ariaLabel: {
|
|
7668
|
-
type: PropType<string>;
|
|
7669
|
-
} & {
|
|
7670
|
-
default: any;
|
|
7671
|
-
};
|
|
7672
|
-
isOptionDisabled: {
|
|
7673
|
-
type: PropType<(optionValue: BentoListboxOptionItem) => boolean>;
|
|
7674
|
-
} & {
|
|
7675
|
-
default: any;
|
|
7676
|
-
};
|
|
7677
|
-
staticCategories: {
|
|
7678
|
-
type: PropType<boolean>;
|
|
7679
|
-
} & {
|
|
7680
|
-
default: boolean;
|
|
7681
|
-
};
|
|
7682
|
-
hasMoreItems: {
|
|
7683
|
-
type: PropType<boolean>;
|
|
7684
|
-
} & {
|
|
7685
|
-
default: boolean;
|
|
7686
|
-
};
|
|
7687
|
-
lazyLoadType: {
|
|
7688
|
-
type: PropType<"button" | "none" | "automatic" | BentoListboxLazyLoadType>;
|
|
7689
|
-
} & {
|
|
7690
|
-
default: BentoListboxLazyLoadType;
|
|
7691
|
-
};
|
|
7692
|
-
emptyState: {
|
|
7693
|
-
type: PropType<BentoListboxEmptyStateProps>;
|
|
7694
|
-
} & {
|
|
7695
|
-
default: any;
|
|
7696
|
-
};
|
|
7697
|
-
componentLoading: {
|
|
7698
|
-
type: PropType<boolean>;
|
|
7699
|
-
} & {
|
|
7700
|
-
default: boolean;
|
|
7701
|
-
};
|
|
7702
|
-
virtualScroll: {
|
|
7703
|
-
type: PropType<BentoListboxVirtulisationOptions>;
|
|
7704
|
-
} & {
|
|
7705
|
-
default: boolean;
|
|
7706
|
-
};
|
|
7707
|
-
dynamicFiltering: {
|
|
7708
|
-
type: PropType<boolean>;
|
|
7709
|
-
} & {
|
|
7710
|
-
default: boolean;
|
|
7711
|
-
};
|
|
7712
|
-
placeholder: {
|
|
7713
|
-
type: PropType<string>;
|
|
7714
|
-
} & {
|
|
7715
|
-
default: any;
|
|
7716
|
-
};
|
|
7717
|
-
showSlotContentInMultiple: {
|
|
7718
|
-
type: PropType<boolean>;
|
|
7719
|
-
} & {
|
|
7720
|
-
default: boolean;
|
|
7721
|
-
};
|
|
7722
|
-
enableValueLabelPair: {
|
|
7723
|
-
type: PropType<boolean>;
|
|
7724
|
-
} & {
|
|
7725
|
-
default: boolean;
|
|
7726
|
-
};
|
|
7727
|
-
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
7728
|
-
input: (selectedValue: BentoListboxSelectedValue) => void;
|
|
7729
|
-
}, string, Readonly<ExtractPropTypes< {
|
|
7730
|
-
/**
|
|
7731
|
-
* The option elements to populate the tag dropdown with.
|
|
7732
|
-
* It must be an array of {@see BentoTagListboxOptions }
|
|
7733
|
-
* * @property {string} value.label - Text to be displayed in the option
|
|
7734
|
-
* * @property {string,number} value.value - Value of the option
|
|
7735
|
-
* * @property {string} value.variant - The BentTag variant shown for the option.
|
|
7736
|
-
*/
|
|
7737
|
-
items: {
|
|
7738
|
-
type: PropType<BentoTagListboxOptions>;
|
|
7739
|
-
default: () => any[];
|
|
7740
|
-
};
|
|
7741
|
-
search: {
|
|
7742
|
-
type: PropType<BentoListboxSearchOptions>;
|
|
7743
|
-
} & {
|
|
7744
|
-
default: any;
|
|
7745
|
-
};
|
|
7746
|
-
value: {
|
|
7747
|
-
type: PropType<BentoListboxSelectedValue>;
|
|
7748
|
-
} & {
|
|
7749
|
-
default: any;
|
|
7750
|
-
};
|
|
7751
|
-
description: {
|
|
7752
|
-
type: PropType<string>;
|
|
7753
|
-
} & {
|
|
7754
|
-
default: any;
|
|
7755
|
-
};
|
|
7756
|
-
label: {
|
|
7757
|
-
type: PropType<string>;
|
|
7758
|
-
} & {
|
|
7759
|
-
default: any;
|
|
7760
|
-
};
|
|
7761
|
-
required: {
|
|
7762
|
-
type: PropType<boolean>;
|
|
7763
|
-
} & {
|
|
7764
|
-
default: boolean;
|
|
7765
|
-
};
|
|
7766
|
-
condensed: {
|
|
7767
|
-
type: PropType<boolean>;
|
|
7768
|
-
} & {
|
|
7769
|
-
default: boolean;
|
|
7770
|
-
};
|
|
7771
|
-
disabled: {
|
|
7772
|
-
type: PropType<boolean>;
|
|
7773
|
-
} & {
|
|
7774
|
-
default: boolean;
|
|
7775
|
-
};
|
|
7776
|
-
loading: {
|
|
7777
|
-
type: PropType<boolean>;
|
|
7778
|
-
} & {
|
|
7779
|
-
default: boolean;
|
|
7780
|
-
};
|
|
7781
|
-
error: {
|
|
7782
|
-
type: PropType<boolean>;
|
|
7783
|
-
} & {
|
|
7784
|
-
default: boolean;
|
|
7785
|
-
};
|
|
7786
|
-
optional: {
|
|
7787
|
-
type: PropType<boolean>;
|
|
7788
|
-
} & {
|
|
7789
|
-
default: boolean;
|
|
7790
|
-
};
|
|
7791
|
-
readonly: {
|
|
7792
|
-
type: PropType<boolean>;
|
|
7793
|
-
} & {
|
|
7794
|
-
default: boolean;
|
|
7795
|
-
};
|
|
7796
|
-
size: {
|
|
7797
|
-
type: PropType<BentoDropdownSize_2 | "DropdownInputDefault" | "DropdownInputSmall">;
|
|
7798
|
-
} & {
|
|
7799
|
-
default: any;
|
|
7800
|
-
};
|
|
7801
|
-
multiple: {
|
|
7802
|
-
type: PropType<boolean>;
|
|
7803
|
-
} & {
|
|
7804
|
-
default: boolean;
|
|
7805
|
-
};
|
|
7806
|
-
tooltipText: {
|
|
7807
|
-
type: PropType<string>;
|
|
7808
|
-
} & {
|
|
7809
|
-
default: any;
|
|
7810
|
-
};
|
|
7811
|
-
errorMessage: {
|
|
7812
|
-
type: PropType<string>;
|
|
7813
|
-
} & {
|
|
7814
|
-
default: any;
|
|
7815
|
-
};
|
|
7816
|
-
ariaLabel: {
|
|
7817
|
-
type: PropType<string>;
|
|
7818
|
-
} & {
|
|
7819
|
-
default: any;
|
|
7820
|
-
};
|
|
7821
|
-
isOptionDisabled: {
|
|
7822
|
-
type: PropType<(optionValue: BentoListboxOptionItem) => boolean>;
|
|
7823
|
-
} & {
|
|
7824
|
-
default: any;
|
|
7825
|
-
};
|
|
7826
|
-
staticCategories: {
|
|
7827
|
-
type: PropType<boolean>;
|
|
7828
|
-
} & {
|
|
7829
|
-
default: boolean;
|
|
7830
|
-
};
|
|
7831
|
-
hasMoreItems: {
|
|
7832
|
-
type: PropType<boolean>;
|
|
7833
|
-
} & {
|
|
7834
|
-
default: boolean;
|
|
7835
|
-
};
|
|
7836
|
-
lazyLoadType: {
|
|
7837
|
-
type: PropType<"button" | "none" | "automatic" | BentoListboxLazyLoadType>;
|
|
7838
|
-
} & {
|
|
7839
|
-
default: BentoListboxLazyLoadType;
|
|
7840
|
-
};
|
|
7841
|
-
emptyState: {
|
|
7842
|
-
type: PropType<BentoListboxEmptyStateProps>;
|
|
7843
|
-
} & {
|
|
7844
|
-
default: any;
|
|
7845
|
-
};
|
|
7846
|
-
componentLoading: {
|
|
7847
|
-
type: PropType<boolean>;
|
|
7848
|
-
} & {
|
|
7849
|
-
default: boolean;
|
|
7850
|
-
};
|
|
7851
|
-
virtualScroll: {
|
|
7852
|
-
type: PropType<BentoListboxVirtulisationOptions>;
|
|
7853
|
-
} & {
|
|
7854
|
-
default: boolean;
|
|
7855
|
-
};
|
|
7856
|
-
dynamicFiltering: {
|
|
7857
|
-
type: PropType<boolean>;
|
|
7858
|
-
} & {
|
|
7859
|
-
default: boolean;
|
|
7860
|
-
};
|
|
7861
|
-
placeholder: {
|
|
7862
|
-
type: PropType<string>;
|
|
7863
|
-
} & {
|
|
7864
|
-
default: any;
|
|
7865
|
-
};
|
|
7866
|
-
showSlotContentInMultiple: {
|
|
7867
|
-
type: PropType<boolean>;
|
|
7868
|
-
} & {
|
|
7869
|
-
default: boolean;
|
|
7870
|
-
};
|
|
7871
|
-
enableValueLabelPair: {
|
|
7872
|
-
type: PropType<boolean>;
|
|
7873
|
-
} & {
|
|
7874
|
-
default: boolean;
|
|
7875
|
-
};
|
|
7876
|
-
}>>, {
|
|
7877
|
-
search: BentoListboxSearchOptions;
|
|
7878
|
-
value: BentoListboxSelectedValue;
|
|
7879
|
-
description: string;
|
|
7880
|
-
label: string;
|
|
7881
|
-
required: boolean;
|
|
7882
|
-
condensed: boolean;
|
|
7883
|
-
disabled: boolean;
|
|
7884
|
-
loading: boolean;
|
|
7885
|
-
error: boolean;
|
|
7886
|
-
optional: boolean;
|
|
7887
|
-
readonly: boolean;
|
|
7888
|
-
size: BentoDropdownSize_2 | `${BentoDropdownSize_2}`;
|
|
7889
|
-
multiple: boolean;
|
|
7890
|
-
tooltipText: string;
|
|
7891
|
-
errorMessage: string;
|
|
7892
|
-
ariaLabel: string;
|
|
6563
|
+
export declare interface BentoDropdownProps {
|
|
6564
|
+
/**
|
|
6565
|
+
* @deprecated from version 2.0.0. Use the aria-label attribute instead.
|
|
6566
|
+
* Defines a string value that labels an interactive element.
|
|
6567
|
+
*/
|
|
6568
|
+
ariaLabel?: string;
|
|
6569
|
+
/**
|
|
6570
|
+
* Renders the dropdown with a condensed style.
|
|
6571
|
+
*/
|
|
6572
|
+
condensed?: boolean;
|
|
6573
|
+
/**
|
|
6574
|
+
* Empty state props used with the inner empty state component which is displayed when no search results are found.
|
|
6575
|
+
*/
|
|
6576
|
+
emptyState?: BentoListboxEmptyStateProps;
|
|
6577
|
+
/**
|
|
6578
|
+
* Disables dropdown functionality.
|
|
6579
|
+
*/
|
|
6580
|
+
disabled?: boolean;
|
|
6581
|
+
/**
|
|
6582
|
+
* Sets the possibility to type into the textbox.
|
|
6583
|
+
*/
|
|
6584
|
+
dynamicFiltering?: boolean;
|
|
6585
|
+
/**
|
|
6586
|
+
* Highlights the dropdown in an erroneous state.
|
|
6587
|
+
* @deprecated Use "errorMessage" prop instead
|
|
6588
|
+
*/
|
|
6589
|
+
error?: boolean;
|
|
6590
|
+
/**
|
|
6591
|
+
* Highlights the dropdown in an erroneous state with an error message.
|
|
6592
|
+
*/
|
|
6593
|
+
errorMessage?: string;
|
|
6594
|
+
/**
|
|
6595
|
+
* Descriptive supporting text visbile underneath the dropdown.
|
|
6596
|
+
*/
|
|
6597
|
+
description?: string;
|
|
6598
|
+
/**
|
|
6599
|
+
* Indicates whether there are more items to load
|
|
6600
|
+
*/
|
|
6601
|
+
hasMoreItems?: boolean;
|
|
6602
|
+
/**
|
|
6603
|
+
* Function that dertermines which options are disabled from interaction.
|
|
6604
|
+
* @type {BentoListboxIsOptionDisabled}
|
|
6605
|
+
* @param {BentoListboxOptionItem} option - Dropdown option object
|
|
6606
|
+
* @param {string} option.label - Option's label text
|
|
6607
|
+
* @param {string|number} option.value - Option's value
|
|
6608
|
+
* @param {unknown} option.data - Option's extra data to be passed to the default slot
|
|
6609
|
+
*/
|
|
6610
|
+
isOptionDisabled?: BentoListboxIsOptionDisabled;
|
|
6611
|
+
/**
|
|
6612
|
+
* The option elements to populate the dropdown with.
|
|
6613
|
+
* It must be an array of {@see BentoListboxOptionItem }
|
|
6614
|
+
* @property value.label - Text to be displayed in the option
|
|
6615
|
+
* @property value.value - Value of the option
|
|
6616
|
+
*/
|
|
6617
|
+
items?: BentoListboxOptions;
|
|
6618
|
+
/**
|
|
6619
|
+
* Text that is displayed as a label above the element.
|
|
6620
|
+
*/
|
|
6621
|
+
label?: string;
|
|
6622
|
+
/**
|
|
6623
|
+
* Indicates if new options are lazy loading.
|
|
6624
|
+
*/
|
|
6625
|
+
loading?: boolean;
|
|
6626
|
+
/**
|
|
6627
|
+
* Indicates that dropdown items are loading
|
|
6628
|
+
*/
|
|
6629
|
+
componentLoading?: boolean;
|
|
6630
|
+
/**
|
|
6631
|
+
* The type of `Lazy Load`.
|
|
6632
|
+
* Type "automatic" will enable infinite scrolling
|
|
6633
|
+
* Type "button" will enable lazy loading with "Show more" button
|
|
6634
|
+
*/
|
|
6635
|
+
lazyLoadType?: BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`;
|
|
6636
|
+
/**
|
|
6637
|
+
* If enabled, the user will be able to select multiple items.
|
|
6638
|
+
*/
|
|
6639
|
+
multiple?: boolean;
|
|
6640
|
+
/**
|
|
6641
|
+
* Highlights the dropdown is optional.
|
|
6642
|
+
*/
|
|
6643
|
+
optional?: boolean;
|
|
6644
|
+
/**
|
|
6645
|
+
* Text that appears in the form control when it has no value set
|
|
6646
|
+
*/
|
|
6647
|
+
placeholder?: string;
|
|
6648
|
+
/**
|
|
6649
|
+
* Sets the dropdown to readonly state
|
|
6650
|
+
*/
|
|
6651
|
+
readonly?: boolean;
|
|
6652
|
+
/**
|
|
6653
|
+
* Highlights the dropdown is required.
|
|
6654
|
+
*/
|
|
6655
|
+
required?: boolean;
|
|
6656
|
+
/**
|
|
6657
|
+
* Dropdown search options and events.
|
|
6658
|
+
* @see BentoDropdownSearchOptions
|
|
6659
|
+
*/
|
|
6660
|
+
search?: BentoListboxSearchOptions;
|
|
6661
|
+
/**
|
|
6662
|
+
* Toggles whether to use the slot content select items shown in the textbox in multiple mode.
|
|
6663
|
+
*/
|
|
6664
|
+
showSlotContentInMultiple?: boolean;
|
|
6665
|
+
/**
|
|
6666
|
+
* @deprecated Do not use. Only 'default' size should be used.
|
|
6667
|
+
*/
|
|
6668
|
+
size?: BentoDropdownSize | `${BentoDropdownSize}`;
|
|
6669
|
+
/**
|
|
6670
|
+
* If enabled, dropdown will display non-selectable, static categories
|
|
6671
|
+
*/
|
|
6672
|
+
staticCategories?: boolean;
|
|
6673
|
+
/**
|
|
6674
|
+
* Adds a info icon next to the label to display the passed tooltip message.
|
|
6675
|
+
*/
|
|
6676
|
+
tooltipText?: string;
|
|
6677
|
+
/**
|
|
6678
|
+
* The `input` value.
|
|
6679
|
+
* Providing an empty string will select no options.
|
|
6680
|
+
* Set to an empty string `''` if you don't want any of the available options to be selected.
|
|
6681
|
+
*/
|
|
6682
|
+
value?: BentoListboxSelectedValue;
|
|
6683
|
+
/**
|
|
6684
|
+
* Enables virtual scrolling if set to true or by providing an object with itemHeight function.
|
|
6685
|
+
* The itemHeight function is used to calculate the height of rendered item given it's index.
|
|
6686
|
+
*/
|
|
6687
|
+
virtualScroll?: BentoListboxVirtulisationOptions;
|
|
6688
|
+
/**
|
|
6689
|
+
* Enables value/label value handling. When `true`, the component expects and emits value/label
|
|
6690
|
+
* pair objects instead of primitive values.
|
|
6691
|
+
*
|
|
6692
|
+
* This affects both the `value` prop and the `input` event payload.
|
|
6693
|
+
*
|
|
6694
|
+
* - **Input (`value` prop):** Expects a `{ value: string | number, label: string }` object (or an array of them for multi-select).
|
|
6695
|
+
* - **Output (`input` event):** Emits a `{ value: string | number, label: string }` object (or an array of them) upon selection.
|
|
6696
|
+
*
|
|
6697
|
+
* This is particularly useful when a selected item's label is not available in the `items` prop,
|
|
6698
|
+
* allowing the component to display the correct label for values loaded from external sources.
|
|
6699
|
+
* @default false
|
|
6700
|
+
*/
|
|
6701
|
+
enableValueLabelPair?: boolean;
|
|
6702
|
+
}
|
|
6703
|
+
|
|
6704
|
+
/**
|
|
6705
|
+
* @deprecated Do not use. Only 'default' size should be used.
|
|
6706
|
+
*/
|
|
6707
|
+
export declare enum BentoDropdownSize {
|
|
6708
|
+
DEFAULT = "DropdownInputDefault",
|
|
6709
|
+
SMALL = "DropdownInputSmall"
|
|
6710
|
+
}
|
|
6711
|
+
|
|
6712
|
+
/**
|
|
6713
|
+
* @deprecated Do not use. Only 'default' size should be used.
|
|
6714
|
+
*/
|
|
6715
|
+
declare enum BentoDropdownSize_2 {
|
|
6716
|
+
DEFAULT = 'DropdownInputDefault',
|
|
6717
|
+
SMALL = 'DropdownInputSmall',
|
|
6718
|
+
}
|
|
6719
|
+
|
|
6720
|
+
/**
|
|
6721
|
+
* A Tag Dropdown showing a selectable list of tags.
|
|
6722
|
+
*
|
|
6723
|
+
* @example
|
|
6724
|
+
* import { BentoDropdownTag } from '@adyen/bento-vue2';
|
|
6725
|
+
* import type { BentoTagListboxOptions } from '@adyen/bento-vue2'
|
|
6726
|
+
*
|
|
6727
|
+
* export default {
|
|
6728
|
+
* components: { BentoDropdownTag },
|
|
6729
|
+
* template: `
|
|
6730
|
+
* <bento-dropdown-tag
|
|
6731
|
+
* v-model="selectedValue"
|
|
6732
|
+
* :disabled="false"
|
|
6733
|
+
* :items="options"
|
|
6734
|
+
* />
|
|
6735
|
+
* `,
|
|
6736
|
+
* setup() {
|
|
6737
|
+
* const selectedValue = ref('unique-id-1') // Default value
|
|
6738
|
+
* const options: BentoTagListboxOptions = [
|
|
6739
|
+
* { label: 'Offline', value: 'unique-id-1', variant: 'red' },
|
|
6740
|
+
* { label: 'Online', value: 'unique-id-2', variant: 'green' },
|
|
6741
|
+
* ];
|
|
6742
|
+
* return { options, selectedValue };
|
|
6743
|
+
* }
|
|
6744
|
+
* }
|
|
6745
|
+
*/
|
|
6746
|
+
export declare const BentoDropdownTag: DefineComponent<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_12<BentoDropdownTagProps>, {
|
|
6747
|
+
items: () => any[];
|
|
6748
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6749
|
+
input: (selectedValue: BentoListboxSelectedValue) => void;
|
|
6750
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_12<BentoDropdownTagProps>, {
|
|
6751
|
+
items: () => any[];
|
|
6752
|
+
}>>>, {
|
|
7893
6753
|
items: BentoTagListboxOptions;
|
|
7894
|
-
isOptionDisabled: BentoListboxIsOptionDisabled;
|
|
7895
|
-
staticCategories: boolean;
|
|
7896
|
-
hasMoreItems: boolean;
|
|
7897
|
-
lazyLoadType: BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`;
|
|
7898
|
-
emptyState: BentoListboxEmptyStateProps;
|
|
7899
|
-
componentLoading: boolean;
|
|
7900
|
-
virtualScroll: BentoListboxVirtulisationOptions;
|
|
7901
|
-
dynamicFiltering: boolean;
|
|
7902
|
-
placeholder: string;
|
|
7903
|
-
showSlotContentInMultiple: boolean;
|
|
7904
|
-
enableValueLabelPair: boolean;
|
|
7905
6754
|
}>;
|
|
7906
6755
|
|
|
6756
|
+
export declare interface BentoDropdownTagProps extends BentoDropdownProps {
|
|
6757
|
+
/**
|
|
6758
|
+
* The option elements to populate the tag dropdown with.
|
|
6759
|
+
* It must be an array of {@see BentoTagListboxOptions }
|
|
6760
|
+
* @property {string} value.label - Text to be displayed in the option
|
|
6761
|
+
* @property {string | number} value.value - Value of the option
|
|
6762
|
+
* @property {string} value.variant - The BentTag variant shown for the option.
|
|
6763
|
+
*/
|
|
6764
|
+
items?: BentoTagListboxOptions;
|
|
6765
|
+
}
|
|
6766
|
+
|
|
7907
6767
|
/**
|
|
7908
6768
|
* Empty states are moments in the user experience when there is nothing to display.
|
|
7909
6769
|
* This component can be used to provide:
|
|
@@ -8035,9 +6895,9 @@ validator: (value: BentoEmptyStateVariant) => boolean;
|
|
|
8035
6895
|
}>>, {
|
|
8036
6896
|
description: string;
|
|
8037
6897
|
title: string;
|
|
8038
|
-
image: "
|
|
6898
|
+
image: "1-generic-use" | "2-generic-use" | "3-generic-use" | "4-generic-use" | "adding-payment-methods" | "adyen-giving" | "delight" | "internal-error" | "no-results-found" | "notifications-cleared" | "page-not-found" | "planned-maintenance" | "referrals" | "success" | "upload-files" | "wrong-environment";
|
|
8039
6899
|
variant: "condensed" | "full-page" | "embedded" | "basic";
|
|
8040
|
-
action:
|
|
6900
|
+
action: BentoActionButton;
|
|
8041
6901
|
headingEl: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span";
|
|
8042
6902
|
}>, {
|
|
8043
6903
|
title: (_: {}) => any;
|
|
@@ -8096,7 +6956,6 @@ export declare enum BentoEmptyStateVariant {
|
|
|
8096
6956
|
* :maxDimensions="{ width: 200, height: 100 }"
|
|
8097
6957
|
* :maxSize="1000"
|
|
8098
6958
|
* v-model="files"
|
|
8099
|
-
* multiple
|
|
8100
6959
|
* :optional="false"
|
|
8101
6960
|
* required
|
|
8102
6961
|
* tooltipText="Useful information"
|
|
@@ -8107,7 +6966,7 @@ export declare enum BentoEmptyStateVariant {
|
|
|
8107
6966
|
* }
|
|
8108
6967
|
* }
|
|
8109
6968
|
*/
|
|
8110
|
-
export declare const BentoFileUploader: DefineComponent<
|
|
6969
|
+
export declare const BentoFileUploader: DefineComponent<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_18<BentoFileUploaderProps>, {
|
|
8111
6970
|
accept: any;
|
|
8112
6971
|
description: any;
|
|
8113
6972
|
errorMessage: any;
|
|
@@ -8124,7 +6983,7 @@ input: (value?: FileList) => void;
|
|
|
8124
6983
|
"update:modelValue": (value?: FileList) => void;
|
|
8125
6984
|
} & {
|
|
8126
6985
|
"error:upload": (value: boolean) => void;
|
|
8127
|
-
}, string, Readonly<ExtractPropTypes<
|
|
6986
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_18<BentoFileUploaderProps>, {
|
|
8128
6987
|
accept: any;
|
|
8129
6988
|
description: any;
|
|
8130
6989
|
errorMessage: any;
|
|
@@ -8229,7 +7088,7 @@ export declare type BentoFileUploaderValue = string | Array<string> | File | Arr
|
|
|
8229
7088
|
* `
|
|
8230
7089
|
* }
|
|
8231
7090
|
*/
|
|
8232
|
-
export declare const BentoFilterBar: DefineComponent<
|
|
7091
|
+
export declare const BentoFilterBar: DefineComponent<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_19<BentoFilterBarProps>, {
|
|
8233
7092
|
config: () => any[];
|
|
8234
7093
|
filterValues: () => any[];
|
|
8235
7094
|
containerSizeLayout: () => {
|
|
@@ -8246,7 +7105,7 @@ isClearAllVisible: ComputedRef<boolean>;
|
|
|
8246
7105
|
clearAllFilters: () => void;
|
|
8247
7106
|
isResetAllVisible: ComputedRef<boolean>;
|
|
8248
7107
|
resetAllFilters: () => void;
|
|
8249
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, (BentoFilterBarEvent | BentoSearchBarEvent)[], string, Readonly<ExtractPropTypes<
|
|
7108
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, (BentoFilterBarEvent | BentoSearchBarEvent)[], string, Readonly<ExtractPropTypes<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_19<BentoFilterBarProps>, {
|
|
8250
7109
|
config: () => any[];
|
|
8251
7110
|
filterValues: () => any[];
|
|
8252
7111
|
containerSizeLayout: () => {
|
|
@@ -8912,7 +7771,7 @@ declare enum BentoHeaderVariant {
|
|
|
8912
7771
|
* `
|
|
8913
7772
|
* };
|
|
8914
7773
|
*/
|
|
8915
|
-
export declare const BentoHeaderWithViews: __VLS_WithTemplateSlots_17<DefineComponent<
|
|
7774
|
+
export declare const BentoHeaderWithViews: __VLS_WithTemplateSlots_17<DefineComponent<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_20<BentoHeaderWithViewsProps>, {
|
|
8916
7775
|
actions: () => any[];
|
|
8917
7776
|
additionalViewSetting: any;
|
|
8918
7777
|
title: any;
|
|
@@ -8938,7 +7797,7 @@ views: () => any[];
|
|
|
8938
7797
|
"update:view": (value: BentoHeaderWithViewsItemUpdate) => void;
|
|
8939
7798
|
} & {
|
|
8940
7799
|
"update:skip-unsaved-changes": (value: boolean) => void;
|
|
8941
|
-
}, string, Readonly<ExtractPropTypes<
|
|
7800
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_20<BentoHeaderWithViewsProps>, {
|
|
8942
7801
|
actions: () => any[];
|
|
8943
7802
|
additionalViewSetting: any;
|
|
8944
7803
|
title: any;
|
|
@@ -9060,6 +7919,8 @@ export declare interface BentoHeaderWithViewsProps {
|
|
|
9060
7919
|
/**
|
|
9061
7920
|
* Optional list of actions (buttons) to display in the header.
|
|
9062
7921
|
* The structure of each action is defined by the `BentoButtonActionsList` type.
|
|
7922
|
+
*
|
|
7923
|
+
* {@link [BentoButtonActionsList](https://adyen-bento.netlify.app/?path=/docs/components-button-button-actions--docs#variations)}
|
|
9063
7924
|
*/
|
|
9064
7925
|
actions?: BentoButtonActionsList;
|
|
9065
7926
|
/**
|
|
@@ -9068,12 +7929,21 @@ export declare interface BentoHeaderWithViewsProps {
|
|
|
9068
7929
|
title: string;
|
|
9069
7930
|
/**
|
|
9070
7931
|
* Optional array of view items to display as selectable views or tabs.
|
|
9071
|
-
*
|
|
7932
|
+
*
|
|
7933
|
+
* Each view should have the following property:
|
|
7934
|
+
* - `icon` (BentoHeaderWithViewsItemIcon, optional): Optional icon to display.
|
|
7935
|
+
* - `iconColor` (BentoHeaderWithViewsItemIconColor, optional): Optional color of the icon.
|
|
7936
|
+
* - `label` (string): Text label for the view item.
|
|
7937
|
+
* - `isDefault` (boolean, optional): Indicates if this view item is the default or currently active view.
|
|
7938
|
+
* - `additionalViewSetting` (BentoHeaderWithViewsItemAdditionalConfig, optional): Optional configuration for an additional view setting.
|
|
7939
|
+
* - `isFixed` (boolean, optional): Indicates if this view can be edited or deleted. * @see {@link BentoHeaderWithViewsItem}
|
|
9072
7940
|
*/
|
|
9073
7941
|
views?: BentoHeaderWithViewsItem[];
|
|
9074
7942
|
/**
|
|
9075
7943
|
* Optional configuration for an additional view setting, such as a filter or option.
|
|
9076
7944
|
* Defined by the `BentoHeaderWithViewsItemAdditionalConfig` interface.
|
|
7945
|
+
*
|
|
7946
|
+
* @see {@link BentoHeaderWithViewsItemAdditionalConfig}
|
|
9077
7947
|
*/
|
|
9078
7948
|
additionalViewSetting?: BentoHeaderWithViewsItemAdditionalConfig;
|
|
9079
7949
|
/**
|
|
@@ -9128,10 +7998,10 @@ export declare interface BentoHeaderWithViewsProps {
|
|
|
9128
7998
|
* `
|
|
9129
7999
|
* }
|
|
9130
8000
|
*/
|
|
9131
|
-
export declare const BentoImage: DefineComponent<
|
|
8001
|
+
export declare const BentoImage: DefineComponent<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_21<BentoImageProps>, {
|
|
9132
8002
|
aspectRatio: any;
|
|
9133
8003
|
objectFit: any;
|
|
9134
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
8004
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_21<BentoImageProps>, {
|
|
9135
8005
|
aspectRatio: any;
|
|
9136
8006
|
objectFit: any;
|
|
9137
8007
|
}>>>, {
|
|
@@ -9140,36 +8010,33 @@ objectFit: BentoImageObjectFit | `${BentoImageObjectFit}` | null;
|
|
|
9140
8010
|
}>;
|
|
9141
8011
|
|
|
9142
8012
|
export declare enum BentoImageAspectRatio {
|
|
9143
|
-
LANDSCAPE =
|
|
9144
|
-
P4_3 =
|
|
9145
|
-
P3_3 =
|
|
9146
|
-
P16_9 =
|
|
9147
|
-
P2_1 =
|
|
9148
|
-
PORTRAIT =
|
|
9149
|
-
P3_4 =
|
|
9150
|
-
P2_3 =
|
|
9151
|
-
P9_16 =
|
|
9152
|
-
P1_2 =
|
|
9153
|
-
SQUARE =
|
|
9154
|
-
P1_1 =
|
|
8013
|
+
LANDSCAPE = "landscape",
|
|
8014
|
+
P4_3 = "4:3",
|
|
8015
|
+
P3_3 = "3:3",
|
|
8016
|
+
P16_9 = "16:9",
|
|
8017
|
+
P2_1 = "2:1",
|
|
8018
|
+
PORTRAIT = "portrait",
|
|
8019
|
+
P3_4 = "3:4",
|
|
8020
|
+
P2_3 = "2:3",
|
|
8021
|
+
P9_16 = "9:16",
|
|
8022
|
+
P1_2 = "1:2",
|
|
8023
|
+
SQUARE = "square",
|
|
8024
|
+
P1_1 = "1:1"
|
|
9155
8025
|
}
|
|
9156
8026
|
|
|
9157
8027
|
export declare enum BentoImageObjectFit {
|
|
9158
|
-
COVER =
|
|
9159
|
-
FILL =
|
|
9160
|
-
CONTAIN =
|
|
8028
|
+
COVER = "cover",
|
|
8029
|
+
FILL = "fill",
|
|
8030
|
+
CONTAIN = "contain"
|
|
9161
8031
|
}
|
|
9162
8032
|
|
|
9163
8033
|
export declare interface BentoImageProps {
|
|
9164
8034
|
/** Url to image, same as src attribute of `<img>` tag */
|
|
9165
8035
|
src: string;
|
|
9166
|
-
|
|
9167
8036
|
/** Accessible text describing the image, same as alt attribute of `<img>` tag */
|
|
9168
8037
|
alt: string;
|
|
9169
|
-
|
|
9170
8038
|
/** Aspect ratio of the image, maps to css aspect-ratio */
|
|
9171
8039
|
aspectRatio?: BentoImageAspectRatio | `${BentoImageAspectRatio}` | null;
|
|
9172
|
-
|
|
9173
8040
|
/** Object fitting strategy, maps to css object-fit */
|
|
9174
8041
|
objectFit?: BentoImageObjectFit | `${BentoImageObjectFit}` | null;
|
|
9175
8042
|
}
|
|
@@ -9184,11 +8051,11 @@ export declare interface BentoImageProps {
|
|
|
9184
8051
|
* import { BentoInfoIcon } from '@adyen/bento-vue2';
|
|
9185
8052
|
* </scrip>
|
|
9186
8053
|
*/
|
|
9187
|
-
export declare const BentoInfoIcon: DefineComponent<
|
|
8054
|
+
export declare const BentoInfoIcon: DefineComponent<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_22<BentoInfoIconProps>, {
|
|
9188
8055
|
tooltipPosition: PopperContainerPositionExtended;
|
|
9189
8056
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
9190
8057
|
mouseenter: (event: MouseEvent) => void;
|
|
9191
|
-
}, string, Readonly<ExtractPropTypes<
|
|
8058
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_22<BentoInfoIconProps>, {
|
|
9192
8059
|
tooltipPosition: PopperContainerPositionExtended;
|
|
9193
8060
|
}>>>, {
|
|
9194
8061
|
tooltipPosition: PopperContainerPosition | `${PopperContainerPosition}`;
|
|
@@ -9246,7 +8113,7 @@ export declare type BentoInputDropdownProps = {
|
|
|
9246
8113
|
* >
|
|
9247
8114
|
* }
|
|
9248
8115
|
*/
|
|
9249
|
-
export declare const BentoInputField: __VLS_WithTemplateSlots_18<DefineComponent<
|
|
8116
|
+
export declare const BentoInputField: __VLS_WithTemplateSlots_18<DefineComponent<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_23<BentoInputFieldProps>, {
|
|
9250
8117
|
ariaHidden: boolean;
|
|
9251
8118
|
ariaLabel: any;
|
|
9252
8119
|
condensed: boolean;
|
|
@@ -9287,7 +8154,7 @@ keydown: (event: KeyboardEvent) => void;
|
|
|
9287
8154
|
keyup: (event: KeyboardEvent) => void;
|
|
9288
8155
|
} & {
|
|
9289
8156
|
input: (inputValue: string) => void;
|
|
9290
|
-
}, string, Readonly<ExtractPropTypes<
|
|
8157
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_23<BentoInputFieldProps>, {
|
|
9291
8158
|
ariaHidden: boolean;
|
|
9292
8159
|
ariaLabel: any;
|
|
9293
8160
|
condensed: boolean;
|
|
@@ -9388,7 +8255,7 @@ export declare enum BentoInputFieldEvent {
|
|
|
9388
8255
|
* `
|
|
9389
8256
|
* }
|
|
9390
8257
|
*/
|
|
9391
|
-
export declare const BentoInputFieldPassword: DefineComponent<
|
|
8258
|
+
export declare const BentoInputFieldPassword: DefineComponent<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_24<BentoInputFieldPasswordProps>, {
|
|
9392
8259
|
condensed: boolean;
|
|
9393
8260
|
debounceTime: number;
|
|
9394
8261
|
disabled: boolean;
|
|
@@ -9410,7 +8277,7 @@ focus: () => void;
|
|
|
9410
8277
|
"input:error": (errors: BentoInputFieldPasswordErrorsList) => void;
|
|
9411
8278
|
} & {
|
|
9412
8279
|
input: (value: BentoInputFieldValue) => void;
|
|
9413
|
-
}, string, Readonly<ExtractPropTypes<
|
|
8280
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_24<BentoInputFieldPasswordProps>, {
|
|
9414
8281
|
condensed: boolean;
|
|
9415
8282
|
debounceTime: number;
|
|
9416
8283
|
disabled: boolean;
|
|
@@ -9543,7 +8410,7 @@ export declare interface BentoInputFieldPasswordValidationListItem {
|
|
|
9543
8410
|
* `
|
|
9544
8411
|
* }
|
|
9545
8412
|
*/
|
|
9546
|
-
export declare const BentoInputFieldPhoneNumber: __VLS_WithTemplateSlots_19<DefineComponent<
|
|
8413
|
+
export declare const BentoInputFieldPhoneNumber: __VLS_WithTemplateSlots_19<DefineComponent<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_25<BentoInputFieldPhoneNumberProps>, {
|
|
9547
8414
|
countries: () => CountryCode_2[];
|
|
9548
8415
|
dynamicFiltering: boolean;
|
|
9549
8416
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -9552,7 +8419,7 @@ blur: () => void;
|
|
|
9552
8419
|
input: (value: string) => void;
|
|
9553
8420
|
} & {
|
|
9554
8421
|
"update:selected-country": (country: CountryCode_2) => void;
|
|
9555
|
-
}, string, Readonly<ExtractPropTypes<
|
|
8422
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_25<BentoInputFieldPhoneNumberProps>, {
|
|
9556
8423
|
countries: () => CountryCode_2[];
|
|
9557
8424
|
dynamicFiltering: boolean;
|
|
9558
8425
|
}>>>, {
|
|
@@ -9563,6 +8430,11 @@ countries: CountryCode[];
|
|
|
9563
8430
|
description: (_: {}) => any;
|
|
9564
8431
|
}>;
|
|
9565
8432
|
|
|
8433
|
+
/**
|
|
8434
|
+
* A constant array containing all supported country codes for the phone number input field.
|
|
8435
|
+
*/
|
|
8436
|
+
export declare const BentoInputFieldPhoneNumberCountries: CountryCode_2[];
|
|
8437
|
+
|
|
9566
8438
|
export declare type BentoInputFieldPhoneNumberDropdownProps = Pick<BentoInputDropdownProps, 'readonly'>;
|
|
9567
8439
|
|
|
9568
8440
|
export declare interface BentoInputFieldPhoneNumberProps extends FormField {
|
|
@@ -9824,7 +8696,7 @@ export declare type BentoInpuWithDropdowntFilterValue = {
|
|
|
9824
8696
|
* `
|
|
9825
8697
|
* }
|
|
9826
8698
|
*/
|
|
9827
|
-
export declare const BentoInspector: __VLS_WithTemplateSlots_20<DefineComponent<
|
|
8699
|
+
export declare const BentoInspector: __VLS_WithTemplateSlots_20<DefineComponent<__VLS_WithDefaults_26<__VLS_TypePropsToRuntimeProps_26<BentoInspectorProps>, {
|
|
9828
8700
|
activePage: string;
|
|
9829
8701
|
expandable: boolean;
|
|
9830
8702
|
isOpen: boolean;
|
|
@@ -9838,7 +8710,7 @@ pageFocusAnchor: any;
|
|
|
9838
8710
|
"update:active-page": (value: string) => void;
|
|
9839
8711
|
} & {
|
|
9840
8712
|
expand: () => void;
|
|
9841
|
-
}, string, Readonly<ExtractPropTypes<
|
|
8713
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_26<__VLS_TypePropsToRuntimeProps_26<BentoInspectorProps>, {
|
|
9842
8714
|
activePage: string;
|
|
9843
8715
|
expandable: boolean;
|
|
9844
8716
|
isOpen: boolean;
|
|
@@ -9848,8 +8720,8 @@ relativeLayout: string;
|
|
|
9848
8720
|
pageFocusAnchor: any;
|
|
9849
8721
|
}>>>, {
|
|
9850
8722
|
isOpen: boolean;
|
|
9851
|
-
loading: boolean;
|
|
9852
8723
|
size: BentoInspectorSize;
|
|
8724
|
+
loading: boolean;
|
|
9853
8725
|
activePage: string;
|
|
9854
8726
|
expandable: boolean;
|
|
9855
8727
|
relativeLayout: BentoInspectorRelativeLayout;
|
|
@@ -9954,10 +8826,10 @@ export declare enum BentoKeyboardNavigationKeyDownEvent {
|
|
|
9954
8826
|
* `
|
|
9955
8827
|
* }
|
|
9956
8828
|
*/
|
|
9957
|
-
export declare const BentoLayout: __VLS_WithTemplateSlots_21<DefineComponent<
|
|
8829
|
+
export declare const BentoLayout: __VLS_WithTemplateSlots_21<DefineComponent<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_27<BentoLayoutProps>, {
|
|
9958
8830
|
size: string;
|
|
9959
8831
|
variant: string;
|
|
9960
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
8832
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_27<BentoLayoutProps>, {
|
|
9961
8833
|
size: string;
|
|
9962
8834
|
variant: string;
|
|
9963
8835
|
}>>>, {
|
|
@@ -10000,9 +8872,9 @@ export declare interface BentoLayoutProps {
|
|
|
10000
8872
|
* `
|
|
10001
8873
|
* }
|
|
10002
8874
|
*/
|
|
10003
|
-
export declare const BentoLayoutRow: __VLS_WithTemplateSlots_22<DefineComponent<
|
|
8875
|
+
export declare const BentoLayoutRow: __VLS_WithTemplateSlots_22<DefineComponent<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_28<BentoLayoutRowProps>, {
|
|
10004
8876
|
columnsLayout: string;
|
|
10005
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
8877
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_28<BentoLayoutRowProps>, {
|
|
10006
8878
|
columnsLayout: string;
|
|
10007
8879
|
}>>>, {
|
|
10008
8880
|
columnsLayout: BentoLayoutRowColumnLayout;
|
|
@@ -10034,10 +8906,10 @@ declare const BentoLayoutVariantOptions: readonly ["page", "component"];
|
|
|
10034
8906
|
|
|
10035
8907
|
export declare type BentoLazyLoadType = 'automatic' | 'button' | 'none';
|
|
10036
8908
|
|
|
10037
|
-
export declare const BentoLink: __VLS_WithTemplateSlots_23<DefineComponent<ExtractPropTypes<
|
|
8909
|
+
export declare const BentoLink: __VLS_WithTemplateSlots_23<DefineComponent<ExtractPropTypes<__VLS_WithDefaults_29<__VLS_TypePropsToRuntimeProps_29<BentoLinkProps>, {
|
|
10038
8910
|
target: any;
|
|
10039
8911
|
variant: BentoLinkVariant;
|
|
10040
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "click"[], "click", PublicProps, Readonly<ExtractPropTypes<
|
|
8912
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "click"[], "click", PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_29<__VLS_TypePropsToRuntimeProps_29<BentoLinkProps>, {
|
|
10041
8913
|
target: any;
|
|
10042
8914
|
variant: BentoLinkVariant;
|
|
10043
8915
|
}>>> & Readonly<{
|
|
@@ -10258,7 +9130,7 @@ condensed: boolean;
|
|
|
10258
9130
|
critical: boolean;
|
|
10259
9131
|
disabled: boolean;
|
|
10260
9132
|
inverse: boolean;
|
|
10261
|
-
state: "start" | "loading" | "success" | "fail"
|
|
9133
|
+
state: "start" | "loading" | "success" | BentoLoadingButtonState | "fail";
|
|
10262
9134
|
}>, {
|
|
10263
9135
|
default: (_: {}) => any;
|
|
10264
9136
|
iconLeft: (_: {}) => any;
|
|
@@ -10360,11 +9232,11 @@ export declare enum BentoLoadingIndicatorEvent {
|
|
|
10360
9232
|
* />
|
|
10361
9233
|
* }
|
|
10362
9234
|
*/
|
|
10363
|
-
export declare const BentoMenu: __VLS_WithTemplateSlots_24<DefineComponent<
|
|
9235
|
+
export declare const BentoMenu: __VLS_WithTemplateSlots_24<DefineComponent<__VLS_WithDefaults_30<__VLS_TypePropsToRuntimeProps_30<BentoMenuProps>, {
|
|
10364
9236
|
button: () => BentoMenuButtonProps;
|
|
10365
9237
|
closeMenuOnItemSelect: boolean;
|
|
10366
9238
|
disableArrowDownOpeningMenu: boolean;
|
|
10367
|
-
menuPosition:
|
|
9239
|
+
menuPosition: string;
|
|
10368
9240
|
menuFixedPositioning: boolean;
|
|
10369
9241
|
menuWidth: any;
|
|
10370
9242
|
revertFocusToButton: boolean;
|
|
@@ -10383,11 +9255,11 @@ open: () => void;
|
|
|
10383
9255
|
"menu-item-click": () => void;
|
|
10384
9256
|
} & {
|
|
10385
9257
|
"click-outside": () => void;
|
|
10386
|
-
}, string, Readonly<ExtractPropTypes<
|
|
9258
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_30<__VLS_TypePropsToRuntimeProps_30<BentoMenuProps>, {
|
|
10387
9259
|
button: () => BentoMenuButtonProps;
|
|
10388
9260
|
closeMenuOnItemSelect: boolean;
|
|
10389
9261
|
disableArrowDownOpeningMenu: boolean;
|
|
10390
|
-
menuPosition:
|
|
9262
|
+
menuPosition: string;
|
|
10391
9263
|
menuFixedPositioning: boolean;
|
|
10392
9264
|
menuWidth: any;
|
|
10393
9265
|
revertFocusToButton: boolean;
|
|
@@ -10395,13 +9267,13 @@ teleport: boolean;
|
|
|
10395
9267
|
closeOnClickOutsideOptions: any;
|
|
10396
9268
|
}>>>, {
|
|
10397
9269
|
button: BentoMenuButtonProps;
|
|
10398
|
-
teleport: boolean;
|
|
10399
9270
|
closeMenuOnItemSelect: boolean;
|
|
10400
9271
|
disableArrowDownOpeningMenu: boolean;
|
|
10401
9272
|
menuPosition: BentoPopoverPositions | `${BentoPopoverPositions}`;
|
|
10402
9273
|
menuFixedPositioning: boolean;
|
|
10403
9274
|
menuWidth: number;
|
|
10404
9275
|
revertFocusToButton: boolean;
|
|
9276
|
+
teleport: boolean;
|
|
10405
9277
|
closeOnClickOutsideOptions: any;
|
|
10406
9278
|
}>, {
|
|
10407
9279
|
iconLeft: (_: {}) => any;
|
|
@@ -10409,10 +9281,17 @@ closeOnClickOutsideOptions: any;
|
|
|
10409
9281
|
}>;
|
|
10410
9282
|
|
|
10411
9283
|
export declare type BentoMenuButtonProps = {
|
|
10412
|
-
'aria-label'?:
|
|
10413
|
-
condensed?:
|
|
10414
|
-
disabled?:
|
|
10415
|
-
variant?:
|
|
9284
|
+
'aria-label'?: HTMLAttributes['aria-label'];
|
|
9285
|
+
condensed?: BentoButtonProps['condensed'];
|
|
9286
|
+
disabled?: BentoButtonProps['disabled'];
|
|
9287
|
+
variant?: BentoButtonProps['variant'];
|
|
9288
|
+
};
|
|
9289
|
+
|
|
9290
|
+
declare type BentoMenuButtonProps_2 = {
|
|
9291
|
+
'aria-label'?: HTMLAttributes['aria-label'];
|
|
9292
|
+
condensed?: BentoButtonProps_2['condensed'];
|
|
9293
|
+
disabled?: BentoButtonProps_2['disabled'];
|
|
9294
|
+
variant?: BentoButtonProps_2['variant'];
|
|
10416
9295
|
};
|
|
10417
9296
|
|
|
10418
9297
|
export declare enum BentoMenuEvent {
|
|
@@ -10435,6 +9314,20 @@ export declare interface BentoMenuItem {
|
|
|
10435
9314
|
skipClose?: boolean;
|
|
10436
9315
|
}
|
|
10437
9316
|
|
|
9317
|
+
declare interface BentoMenuItem_2 {
|
|
9318
|
+
text: string;
|
|
9319
|
+
handler: () => void;
|
|
9320
|
+
secondaryText?: string;
|
|
9321
|
+
items?: Array<BentoMenuItem_2>;
|
|
9322
|
+
disabled?: boolean;
|
|
9323
|
+
chevron?: boolean;
|
|
9324
|
+
icon?: VueNodeElement_2;
|
|
9325
|
+
critical?: boolean;
|
|
9326
|
+
indent?: boolean;
|
|
9327
|
+
addDivider?: boolean;
|
|
9328
|
+
skipClose?: boolean;
|
|
9329
|
+
}
|
|
9330
|
+
|
|
10438
9331
|
export declare interface BentoMenuProps {
|
|
10439
9332
|
/**
|
|
10440
9333
|
* Object containing props to change the menu button appearance. Accepts the same props present in BentoButton.
|
|
@@ -10486,6 +9379,57 @@ export declare interface BentoMenuProps {
|
|
|
10486
9379
|
closeOnClickOutsideOptions?: OnClickOutsideOptions;
|
|
10487
9380
|
}
|
|
10488
9381
|
|
|
9382
|
+
declare interface BentoMenuProps_2 {
|
|
9383
|
+
/**
|
|
9384
|
+
* Object containing props to change the menu button appearance. Accepts the same props present in BentoButton.
|
|
9385
|
+
*/
|
|
9386
|
+
button?: BentoMenuButtonProps_2;
|
|
9387
|
+
/**
|
|
9388
|
+
* Controls if the menu should close when an item is clicked.
|
|
9389
|
+
* Defaults to `true`.
|
|
9390
|
+
*/
|
|
9391
|
+
closeMenuOnItemSelect?: boolean;
|
|
9392
|
+
/**
|
|
9393
|
+
* The data to be displayed in the list
|
|
9394
|
+
*/
|
|
9395
|
+
data: BentoMenuItem_2[];
|
|
9396
|
+
/**
|
|
9397
|
+
* Disables opening the menu when the down arrow key is pressed.
|
|
9398
|
+
*/
|
|
9399
|
+
disableArrowDownOpeningMenu?: boolean;
|
|
9400
|
+
/**
|
|
9401
|
+
* The position of where the menu should open.
|
|
9402
|
+
*/
|
|
9403
|
+
menuPosition?: BentoPopoverPositions_2 | `${BentoPopoverPositions_2}`;
|
|
9404
|
+
/**
|
|
9405
|
+
* Instructs the menu popover to be visible outside of the containing container.
|
|
9406
|
+
* @see {@link https://floating-ui.com/docs/usefloating#strategy}
|
|
9407
|
+
*/
|
|
9408
|
+
menuFixedPositioning?: boolean;
|
|
9409
|
+
/**
|
|
9410
|
+
* Sets a custom width for the menu popover.
|
|
9411
|
+
*/
|
|
9412
|
+
menuWidth?: number;
|
|
9413
|
+
/**
|
|
9414
|
+
* Returns focus to the menu button after popover is closed.
|
|
9415
|
+
* Disable if focus management is delegated to the parent component.
|
|
9416
|
+
* Defaults to `true`.
|
|
9417
|
+
*/
|
|
9418
|
+
revertFocusToButton?: boolean;
|
|
9419
|
+
/**
|
|
9420
|
+
* Can be used to set the inner teleport component to render the menu's popover in the root `body` DOM node
|
|
9421
|
+
* (or `dialog` if popover is inside a dialog).
|
|
9422
|
+
*/
|
|
9423
|
+
teleport?: boolean;
|
|
9424
|
+
/**
|
|
9425
|
+
* Can be used to set the inner teleport component to render the menu's popover in the root `body` DOM node
|
|
9426
|
+
* (or `dialog` if popover is inside a dialog).
|
|
9427
|
+
*
|
|
9428
|
+
* @see {@link OnClickOutsideOptions}
|
|
9429
|
+
*/
|
|
9430
|
+
closeOnClickOutsideOptions?: OnClickOutsideOptions_2;
|
|
9431
|
+
}
|
|
9432
|
+
|
|
10489
9433
|
/**
|
|
10490
9434
|
* Modal is a window that appear over any other page content
|
|
10491
9435
|
* and focus user attention exclusively on one task or piece of
|
|
@@ -11128,7 +10072,7 @@ contextualLabel: string;
|
|
|
11128
10072
|
* `
|
|
11129
10073
|
* }
|
|
11130
10074
|
*/
|
|
11131
|
-
export declare const BentoModalPage: __VLS_WithTemplateSlots_26<DefineComponent<
|
|
10075
|
+
export declare const BentoModalPage: __VLS_WithTemplateSlots_26<DefineComponent<__VLS_WithDefaults_31<__VLS_TypePropsToRuntimeProps_31<BentoModalPageProps>, {
|
|
11132
10076
|
actions: any;
|
|
11133
10077
|
actionsLabel: any;
|
|
11134
10078
|
columnsSize: BentoModalColumnLayoutVariant;
|
|
@@ -11137,7 +10081,7 @@ destructiveActions: boolean;
|
|
|
11137
10081
|
withColumnLayout: boolean;
|
|
11138
10082
|
pageId: any;
|
|
11139
10083
|
previousPage: any;
|
|
11140
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
10084
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_31<__VLS_TypePropsToRuntimeProps_31<BentoModalPageProps>, {
|
|
11141
10085
|
actions: any;
|
|
11142
10086
|
actionsLabel: any;
|
|
11143
10087
|
columnsSize: BentoModalColumnLayoutVariant;
|
|
@@ -11285,7 +10229,7 @@ export declare type BentoMultiCheckboxType = Array<string | number>;
|
|
|
11285
10229
|
* `,
|
|
11286
10230
|
* }
|
|
11287
10231
|
*/
|
|
11288
|
-
export declare const BentoPagination: __VLS_WithTemplateSlots_29<DefineComponent<
|
|
10232
|
+
export declare const BentoPagination: __VLS_WithTemplateSlots_29<DefineComponent<__VLS_WithDefaults_32<__VLS_TypePropsToRuntimeProps_32<BentoPaginationProps>, {
|
|
11289
10233
|
ariaLabel: any;
|
|
11290
10234
|
hasNext: any;
|
|
11291
10235
|
hidePageSize: boolean;
|
|
@@ -11301,7 +10245,7 @@ navigate: (page: number, items?: number) => void;
|
|
|
11301
10245
|
"update:page": (page: number) => void;
|
|
11302
10246
|
} & {
|
|
11303
10247
|
"update:size": (size: number) => void;
|
|
11304
|
-
}, string, Readonly<ExtractPropTypes<
|
|
10248
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_32<__VLS_TypePropsToRuntimeProps_32<BentoPaginationProps>, {
|
|
11305
10249
|
ariaLabel: any;
|
|
11306
10250
|
hasNext: any;
|
|
11307
10251
|
hidePageSize: boolean;
|
|
@@ -11367,10 +10311,10 @@ export declare interface BentoPaginationProps {
|
|
|
11367
10311
|
* `
|
|
11368
10312
|
* }
|
|
11369
10313
|
*/
|
|
11370
|
-
export declare const BentoPaymentMethod: DefineComponent<
|
|
10314
|
+
export declare const BentoPaymentMethod: DefineComponent<__VLS_WithDefaults_33<__VLS_TypePropsToRuntimeProps_33<BentoPaymentMethodProps>, {
|
|
11371
10315
|
type: string;
|
|
11372
10316
|
small: boolean;
|
|
11373
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
10317
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_33<__VLS_TypePropsToRuntimeProps_33<BentoPaymentMethodProps>, {
|
|
11374
10318
|
type: string;
|
|
11375
10319
|
small: boolean;
|
|
11376
10320
|
}>>>, {
|
|
@@ -12562,7 +11506,7 @@ export declare enum BentoPaymentMethodType {
|
|
|
12562
11506
|
* `
|
|
12563
11507
|
* }
|
|
12564
11508
|
*/
|
|
12565
|
-
export declare const BentoPopover: __VLS_WithTemplateSlots_30<DefineComponent<
|
|
11509
|
+
export declare const BentoPopover: __VLS_WithTemplateSlots_30<DefineComponent<__VLS_WithDefaults_34<__VLS_TypePropsToRuntimeProps_34<BentoPopoverProps>, {
|
|
12566
11510
|
actions: any;
|
|
12567
11511
|
actionsLayout: string;
|
|
12568
11512
|
ariaLabel: any;
|
|
@@ -12584,7 +11528,7 @@ overflowVisible: boolean;
|
|
|
12584
11528
|
dismiss: () => void;
|
|
12585
11529
|
} & {
|
|
12586
11530
|
placement: (placement: Placement) => void;
|
|
12587
|
-
}, string, Readonly<ExtractPropTypes<
|
|
11531
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_34<__VLS_TypePropsToRuntimeProps_34<BentoPopoverProps>, {
|
|
12588
11532
|
actions: any;
|
|
12589
11533
|
actionsLayout: string;
|
|
12590
11534
|
ariaLabel: any;
|
|
@@ -12630,21 +11574,21 @@ overflowVisible: boolean;
|
|
|
12630
11574
|
* @deprecated for usage with properties since version 2.0. Use the string literal instead.
|
|
12631
11575
|
*/
|
|
12632
11576
|
export declare const BentoPopoverPositions: {
|
|
12633
|
-
AUTO: import("
|
|
12634
|
-
AUTO_START: import("
|
|
12635
|
-
AUTO_END: import("
|
|
12636
|
-
TOP_START: import("
|
|
12637
|
-
TOP_END: import("
|
|
12638
|
-
RIGHT_START: import("
|
|
12639
|
-
RIGHT_END: import("
|
|
12640
|
-
BOTTOM_START: import("
|
|
12641
|
-
BOTTOM_END: import("
|
|
12642
|
-
LEFT_START: import("
|
|
12643
|
-
LEFT_END: import("
|
|
12644
|
-
TOP: import("
|
|
12645
|
-
RIGHT: import("
|
|
12646
|
-
BOTTOM: import("
|
|
12647
|
-
LEFT: import("
|
|
11577
|
+
AUTO: import("../popper-container").PopperContainerPositionExtended.AUTO;
|
|
11578
|
+
AUTO_START: import("../popper-container").PopperContainerPositionExtended.AUTO_START;
|
|
11579
|
+
AUTO_END: import("../popper-container").PopperContainerPositionExtended.AUTO_END;
|
|
11580
|
+
TOP_START: import("../popper-container").PopperContainerPositionExtended.TOP_START;
|
|
11581
|
+
TOP_END: import("../popper-container").PopperContainerPositionExtended.TOP_END;
|
|
11582
|
+
RIGHT_START: import("../popper-container").PopperContainerPositionExtended.RIGHT_START;
|
|
11583
|
+
RIGHT_END: import("../popper-container").PopperContainerPositionExtended.RIGHT_END;
|
|
11584
|
+
BOTTOM_START: import("../popper-container").PopperContainerPositionExtended.BOTTOM_START;
|
|
11585
|
+
BOTTOM_END: import("../popper-container").PopperContainerPositionExtended.BOTTOM_END;
|
|
11586
|
+
LEFT_START: import("../popper-container").PopperContainerPositionExtended.LEFT_START;
|
|
11587
|
+
LEFT_END: import("../popper-container").PopperContainerPositionExtended.LEFT_END;
|
|
11588
|
+
TOP: import("../popper-container").PopperContainerPositionBasic.TOP;
|
|
11589
|
+
RIGHT: import("../popper-container").PopperContainerPositionBasic.RIGHT;
|
|
11590
|
+
BOTTOM: import("../popper-container").PopperContainerPositionBasic.BOTTOM;
|
|
11591
|
+
LEFT: import("../popper-container").PopperContainerPositionBasic.LEFT;
|
|
12648
11592
|
};
|
|
12649
11593
|
|
|
12650
11594
|
export declare type BentoPopoverPositions = PopperContainerPosition;
|
|
@@ -12791,7 +11735,7 @@ export declare interface BentoPopoverProps {
|
|
|
12791
11735
|
* `
|
|
12792
11736
|
* };
|
|
12793
11737
|
*/
|
|
12794
|
-
export declare const BentoPromoBanner: __VLS_WithTemplateSlots_32<DefineComponent<
|
|
11738
|
+
export declare const BentoPromoBanner: __VLS_WithTemplateSlots_32<DefineComponent<__VLS_WithDefaults_35<__VLS_TypePropsToRuntimeProps_35<BentoPromoBannerProps>, {
|
|
12795
11739
|
actions: any;
|
|
12796
11740
|
color: BentoPromoBannerColor;
|
|
12797
11741
|
isDismissible: boolean;
|
|
@@ -12799,7 +11743,7 @@ dismissButtonText: any;
|
|
|
12799
11743
|
layout: BentoPromoBannerLayout;
|
|
12800
11744
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12801
11745
|
dismiss: () => void;
|
|
12802
|
-
}, string, Readonly<ExtractPropTypes<
|
|
11746
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_35<__VLS_TypePropsToRuntimeProps_35<BentoPromoBannerProps>, {
|
|
12803
11747
|
actions: any;
|
|
12804
11748
|
color: BentoPromoBannerColor;
|
|
12805
11749
|
isDismissible: boolean;
|
|
@@ -13320,6 +12264,7 @@ modelValue: BentoRadioButtonValue;
|
|
|
13320
12264
|
formId: string;
|
|
13321
12265
|
}>, {
|
|
13322
12266
|
content: (_: {}) => any;
|
|
12267
|
+
description: (_: {}) => any;
|
|
13323
12268
|
}>;
|
|
13324
12269
|
|
|
13325
12270
|
export declare interface BentoRadioGroupItem {
|
|
@@ -13368,7 +12313,7 @@ export declare type BentoRangeFilterOptions = {
|
|
|
13368
12313
|
* `
|
|
13369
12314
|
* }
|
|
13370
12315
|
*/
|
|
13371
|
-
export declare const BentoRichTextEditor: DefineComponent<
|
|
12316
|
+
export declare const BentoRichTextEditor: DefineComponent<__VLS_WithDefaults_37<__VLS_TypePropsToRuntimeProps_37<BentoRichTextEditorProps>, {
|
|
13372
12317
|
description: any;
|
|
13373
12318
|
disabled: boolean;
|
|
13374
12319
|
errorMessage: any;
|
|
@@ -13380,7 +12325,7 @@ tooltipText: any;
|
|
|
13380
12325
|
value: any;
|
|
13381
12326
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
13382
12327
|
input: (value: string) => void;
|
|
13383
|
-
}, string, Readonly<ExtractPropTypes<
|
|
12328
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_37<__VLS_TypePropsToRuntimeProps_37<BentoRichTextEditorProps>, {
|
|
13384
12329
|
description: any;
|
|
13385
12330
|
disabled: boolean;
|
|
13386
12331
|
errorMessage: any;
|
|
@@ -13492,9 +12437,10 @@ export declare interface BentoRichTextEditorProps {
|
|
|
13492
12437
|
* }
|
|
13493
12438
|
* }
|
|
13494
12439
|
*/
|
|
13495
|
-
export declare const BentoSearchBar: DefineComponent<
|
|
12440
|
+
export declare const BentoSearchBar: DefineComponent<__VLS_WithDefaults_38<__VLS_TypePropsToRuntimeProps_38<BentoSearchBarProps>, {
|
|
13496
12441
|
condensed: boolean;
|
|
13497
12442
|
debounceTime: number;
|
|
12443
|
+
disabled: boolean;
|
|
13498
12444
|
hint: string;
|
|
13499
12445
|
placeholder: string;
|
|
13500
12446
|
value: any;
|
|
@@ -13513,15 +12459,17 @@ clear: () => void;
|
|
|
13513
12459
|
blur: () => void;
|
|
13514
12460
|
} & {
|
|
13515
12461
|
focus: () => void;
|
|
13516
|
-
}, string, Readonly<ExtractPropTypes<
|
|
12462
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_38<__VLS_TypePropsToRuntimeProps_38<BentoSearchBarProps>, {
|
|
13517
12463
|
condensed: boolean;
|
|
13518
12464
|
debounceTime: number;
|
|
12465
|
+
disabled: boolean;
|
|
13519
12466
|
hint: string;
|
|
13520
12467
|
placeholder: string;
|
|
13521
12468
|
value: any;
|
|
13522
12469
|
}>>>, {
|
|
13523
12470
|
value: string;
|
|
13524
12471
|
condensed: boolean;
|
|
12472
|
+
disabled: boolean;
|
|
13525
12473
|
placeholder: string;
|
|
13526
12474
|
debounceTime: number;
|
|
13527
12475
|
hint: string;
|
|
@@ -13560,6 +12508,10 @@ export declare interface BentoSearchBarProps {
|
|
|
13560
12508
|
* Custom debounce time. Default: 300
|
|
13561
12509
|
*/
|
|
13562
12510
|
debounceTime?: number;
|
|
12511
|
+
/**
|
|
12512
|
+
* Disables the text input.
|
|
12513
|
+
*/
|
|
12514
|
+
disabled?: boolean;
|
|
13563
12515
|
/**
|
|
13564
12516
|
* Text displayed as a hint when the field is not empty
|
|
13565
12517
|
*/
|
|
@@ -13596,7 +12548,7 @@ export declare interface BentoSearchBarProps {
|
|
|
13596
12548
|
* }
|
|
13597
12549
|
* }
|
|
13598
12550
|
*/
|
|
13599
|
-
export declare const BentoSecondaryNav: DefineComponent<
|
|
12551
|
+
export declare const BentoSecondaryNav: DefineComponent<__VLS_TypePropsToRuntimeProps_39<{
|
|
13600
12552
|
/**
|
|
13601
12553
|
* An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
|
|
13602
12554
|
* which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
|
|
@@ -13609,7 +12561,7 @@ items: BentoSecondaryNavItems;
|
|
|
13609
12561
|
value?: string;
|
|
13610
12562
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
13611
12563
|
change: (category: string) => void;
|
|
13612
|
-
}, string, Readonly<ExtractPropTypes<
|
|
12564
|
+
}, string, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_39<{
|
|
13613
12565
|
/**
|
|
13614
12566
|
* An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
|
|
13615
12567
|
* which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
|
|
@@ -13654,7 +12606,7 @@ export declare interface BentoSecondaryNavState {
|
|
|
13654
12606
|
* `
|
|
13655
12607
|
* }
|
|
13656
12608
|
*/
|
|
13657
|
-
export declare const BentoSegmentedControl: DefineComponent<
|
|
12609
|
+
export declare const BentoSegmentedControl: DefineComponent<__VLS_WithDefaults_39<__VLS_TypePropsToRuntimeProps_40<BentoSegmentedControlProps>, {
|
|
13658
12610
|
ariaLabel: any;
|
|
13659
12611
|
fullWidth: boolean;
|
|
13660
12612
|
wrap: boolean;
|
|
@@ -13663,7 +12615,7 @@ modelValue: any;
|
|
|
13663
12615
|
"update:model-value": (value: any) => void;
|
|
13664
12616
|
} & {
|
|
13665
12617
|
input: (value: BentoSegmentedControlValue) => void;
|
|
13666
|
-
}, string, Readonly<ExtractPropTypes<
|
|
12618
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_39<__VLS_TypePropsToRuntimeProps_40<BentoSegmentedControlProps>, {
|
|
13667
12619
|
ariaLabel: any;
|
|
13668
12620
|
fullWidth: boolean;
|
|
13669
12621
|
wrap: boolean;
|
|
@@ -14629,7 +13581,7 @@ destructiveActions: boolean;
|
|
|
14629
13581
|
* `
|
|
14630
13582
|
* }
|
|
14631
13583
|
*/
|
|
14632
|
-
export declare const BentoStatus: __VLS_WithTemplateSlots_39<DefineComponent<
|
|
13584
|
+
export declare const BentoStatus: __VLS_WithTemplateSlots_39<DefineComponent<__VLS_TypePropsToRuntimeProps_41<BentoStatusProps>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_41<BentoStatusProps>>>, {}>, {
|
|
14633
13585
|
default: (_: {}) => any;
|
|
14634
13586
|
}>;
|
|
14635
13587
|
|
|
@@ -14845,7 +13797,7 @@ declare interface BentoStickyTabsOptions {
|
|
|
14845
13797
|
* `
|
|
14846
13798
|
* }
|
|
14847
13799
|
*/
|
|
14848
|
-
export declare const BentoStructuredList: __VLS_WithTemplateSlots_42<DefineComponent<
|
|
13800
|
+
export declare const BentoStructuredList: __VLS_WithTemplateSlots_42<DefineComponent<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_42<{
|
|
14849
13801
|
/**
|
|
14850
13802
|
* Width of the labels container, in pixels. Overrides layout prop.
|
|
14851
13803
|
*/
|
|
@@ -14869,7 +13821,7 @@ layout?: BentoStructuredListLayoutOptions;
|
|
|
14869
13821
|
}>, {
|
|
14870
13822
|
labelsWidth: any;
|
|
14871
13823
|
layout: string;
|
|
14872
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
13824
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_42<{
|
|
14873
13825
|
/**
|
|
14874
13826
|
* Width of the labels container, in pixels. Overrides layout prop.
|
|
14875
13827
|
*/
|
|
@@ -14923,7 +13875,7 @@ labelsWidth: number;
|
|
|
14923
13875
|
* `
|
|
14924
13876
|
* }
|
|
14925
13877
|
*/
|
|
14926
|
-
export declare const BentoStructuredListItem: __VLS_WithTemplateSlots_43<DefineComponent<
|
|
13878
|
+
export declare const BentoStructuredListItem: __VLS_WithTemplateSlots_43<DefineComponent<__VLS_TypePropsToRuntimeProps_43<{
|
|
14927
13879
|
/**
|
|
14928
13880
|
* Label to display for the value
|
|
14929
13881
|
*/
|
|
@@ -14948,7 +13900,7 @@ searchTooltip?: string;
|
|
|
14948
13900
|
* Truncates the value of the item
|
|
14949
13901
|
*/
|
|
14950
13902
|
truncate?: boolean;
|
|
14951
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
13903
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_43<{
|
|
14952
13904
|
/**
|
|
14953
13905
|
* Label to display for the value
|
|
14954
13906
|
*/
|
|
@@ -15003,10 +13955,10 @@ declare const BentoStructuredListLayoutOptions: string[];
|
|
|
15003
13955
|
* `
|
|
15004
13956
|
* }
|
|
15005
13957
|
*/
|
|
15006
|
-
export declare const BentoSummaryGrid: __VLS_WithTemplateSlots_44<DefineComponent<
|
|
13958
|
+
export declare const BentoSummaryGrid: __VLS_WithTemplateSlots_44<DefineComponent<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_44<BentoSummaryGridProps>, {
|
|
15007
13959
|
columnWidth: any;
|
|
15008
13960
|
slashedZero: boolean;
|
|
15009
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
13961
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_44<BentoSummaryGridProps>, {
|
|
15010
13962
|
columnWidth: any;
|
|
15011
13963
|
slashedZero: boolean;
|
|
15012
13964
|
}>>>, {
|
|
@@ -15041,7 +13993,7 @@ export declare interface BentoSummaryGridColumnWidth {
|
|
|
15041
13993
|
* `
|
|
15042
13994
|
* }
|
|
15043
13995
|
*/
|
|
15044
|
-
export declare const BentoSummaryGridItemAmount: __VLS_WithTemplateSlots_45<DefineComponent<
|
|
13996
|
+
export declare const BentoSummaryGridItemAmount: __VLS_WithTemplateSlots_45<DefineComponent<__VLS_WithDefaults_42<__VLS_TypePropsToRuntimeProps_45<BentoSummaryGridItemAmountProps>, {
|
|
15045
13997
|
copy: any;
|
|
15046
13998
|
fitContent: boolean;
|
|
15047
13999
|
infoIconTooltipText: any;
|
|
@@ -15058,7 +14010,7 @@ underlineTooltipText: any;
|
|
|
15058
14010
|
"copy-click": (event: MouseEvent) => void;
|
|
15059
14011
|
} & {
|
|
15060
14012
|
"info-icon-mouseenter": (event: MouseEvent) => void;
|
|
15061
|
-
}, string, Readonly<ExtractPropTypes<
|
|
14013
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_42<__VLS_TypePropsToRuntimeProps_45<BentoSummaryGridItemAmountProps>, {
|
|
15062
14014
|
copy: any;
|
|
15063
14015
|
fitContent: boolean;
|
|
15064
14016
|
infoIconTooltipText: any;
|
|
@@ -15118,7 +14070,7 @@ export declare interface BentoSummaryGridItemAmountProps extends BaseSummaryGrid
|
|
|
15118
14070
|
* `
|
|
15119
14071
|
* }
|
|
15120
14072
|
*/
|
|
15121
|
-
export declare const BentoSummaryGridItemCustom: __VLS_WithTemplateSlots_49<DefineComponent<
|
|
14073
|
+
export declare const BentoSummaryGridItemCustom: __VLS_WithTemplateSlots_49<DefineComponent<__VLS_WithDefaults_46<__VLS_TypePropsToRuntimeProps_49<BentoSummaryGridItemCustomProps>, {
|
|
15122
14074
|
copy: any;
|
|
15123
14075
|
infoIconTooltipText: any;
|
|
15124
14076
|
fitContent: boolean;
|
|
@@ -15128,7 +14080,7 @@ underlineTooltipText: any;
|
|
|
15128
14080
|
"copy-click": (event: MouseEvent) => void;
|
|
15129
14081
|
} & {
|
|
15130
14082
|
"info-icon-mouseenter": (event: MouseEvent) => void;
|
|
15131
|
-
}, string, Readonly<ExtractPropTypes<
|
|
14083
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_46<__VLS_TypePropsToRuntimeProps_49<BentoSummaryGridItemCustomProps>, {
|
|
15132
14084
|
copy: any;
|
|
15133
14085
|
infoIconTooltipText: any;
|
|
15134
14086
|
fitContent: boolean;
|
|
@@ -15192,7 +14144,7 @@ export declare interface BentoSummaryGridItemCustomProps {
|
|
|
15192
14144
|
* `
|
|
15193
14145
|
* }
|
|
15194
14146
|
*/
|
|
15195
|
-
export declare const BentoSummaryGridItemNumeric: __VLS_WithTemplateSlots_46<DefineComponent<
|
|
14147
|
+
export declare const BentoSummaryGridItemNumeric: __VLS_WithTemplateSlots_46<DefineComponent<__VLS_WithDefaults_43<__VLS_TypePropsToRuntimeProps_46<BentoSummaryGridItemNumericProps>, {
|
|
15196
14148
|
copy: any;
|
|
15197
14149
|
fitContent: boolean;
|
|
15198
14150
|
infoIconTooltipText: any;
|
|
@@ -15208,7 +14160,7 @@ underlineTooltipText: any;
|
|
|
15208
14160
|
"copy-click": (event: MouseEvent) => void;
|
|
15209
14161
|
} & {
|
|
15210
14162
|
"info-icon-mouseenter": (event: MouseEvent) => void;
|
|
15211
|
-
}, string, Readonly<ExtractPropTypes<
|
|
14163
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_43<__VLS_TypePropsToRuntimeProps_46<BentoSummaryGridItemNumericProps>, {
|
|
15212
14164
|
copy: any;
|
|
15213
14165
|
fitContent: boolean;
|
|
15214
14166
|
infoIconTooltipText: any;
|
|
@@ -15267,7 +14219,7 @@ export declare interface BentoSummaryGridItemNumericProps extends BaseSummaryGri
|
|
|
15267
14219
|
* `
|
|
15268
14220
|
* }
|
|
15269
14221
|
*/
|
|
15270
|
-
export declare const BentoSummaryGridItemPercentage: __VLS_WithTemplateSlots_47<DefineComponent<
|
|
14222
|
+
export declare const BentoSummaryGridItemPercentage: __VLS_WithTemplateSlots_47<DefineComponent<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_47<BentoSummaryGridItemPercentageProps>, {
|
|
15271
14223
|
copy: any;
|
|
15272
14224
|
fitContent: boolean;
|
|
15273
14225
|
infoIconTooltipText: any;
|
|
@@ -15283,7 +14235,7 @@ underlineTooltipText: any;
|
|
|
15283
14235
|
"copy-click": (event: MouseEvent) => void;
|
|
15284
14236
|
} & {
|
|
15285
14237
|
"info-icon-mouseenter": (event: MouseEvent) => void;
|
|
15286
|
-
}, string, Readonly<ExtractPropTypes<
|
|
14238
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_47<BentoSummaryGridItemPercentageProps>, {
|
|
15287
14239
|
copy: any;
|
|
15288
14240
|
fitContent: boolean;
|
|
15289
14241
|
infoIconTooltipText: any;
|
|
@@ -15357,7 +14309,7 @@ declare enum BentoSummaryGridItemSize_2 {
|
|
|
15357
14309
|
* `
|
|
15358
14310
|
* }
|
|
15359
14311
|
*/
|
|
15360
|
-
export declare const BentoSummaryGridItemText: __VLS_WithTemplateSlots_48<DefineComponent<
|
|
14312
|
+
export declare const BentoSummaryGridItemText: __VLS_WithTemplateSlots_48<DefineComponent<__VLS_WithDefaults_45<__VLS_TypePropsToRuntimeProps_48<BentoSummaryGridItemTextProps>, {
|
|
15361
14313
|
copy: any;
|
|
15362
14314
|
fitContent: boolean;
|
|
15363
14315
|
infoIconTooltipText: any;
|
|
@@ -15367,7 +14319,7 @@ underlineTooltipText: any;
|
|
|
15367
14319
|
"copy-click": (event: MouseEvent) => void;
|
|
15368
14320
|
} & {
|
|
15369
14321
|
"info-icon-mouseenter": (event: MouseEvent) => void;
|
|
15370
|
-
}, string, Readonly<ExtractPropTypes<
|
|
14322
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_45<__VLS_TypePropsToRuntimeProps_48<BentoSummaryGridItemTextProps>, {
|
|
15371
14323
|
copy: any;
|
|
15372
14324
|
fitContent: boolean;
|
|
15373
14325
|
infoIconTooltipText: any;
|
|
@@ -15468,12 +14420,12 @@ export declare interface BentoSummaryGridProps {
|
|
|
15468
14420
|
* </bento-tabs>
|
|
15469
14421
|
* </template>
|
|
15470
14422
|
*/
|
|
15471
|
-
export declare const BentoTab: __VLS_WithTemplateSlots_50<DefineComponent<
|
|
14423
|
+
export declare const BentoTab: __VLS_WithTemplateSlots_50<DefineComponent<__VLS_WithDefaults_47<__VLS_TypePropsToRuntimeProps_50<BentoTabProps>, {
|
|
15472
14424
|
counter: any;
|
|
15473
14425
|
disabled: boolean;
|
|
15474
14426
|
hidden: boolean;
|
|
15475
14427
|
withNotificationIndicator: boolean;
|
|
15476
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
14428
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_47<__VLS_TypePropsToRuntimeProps_50<BentoTabProps>, {
|
|
15477
14429
|
counter: any;
|
|
15478
14430
|
disabled: boolean;
|
|
15479
14431
|
hidden: boolean;
|
|
@@ -15622,11 +14574,11 @@ declare enum BentoTabsEvent {
|
|
|
15622
14574
|
ACTIVE_TAB_INDEX = "update:active-tab-index"
|
|
15623
14575
|
}
|
|
15624
14576
|
|
|
15625
|
-
export declare const BentoTag: DefineComponent<
|
|
14577
|
+
export declare const BentoTag: DefineComponent<__VLS_WithDefaults_36<__VLS_TypePropsToRuntimeProps_36<BentoTagProps>, {
|
|
15626
14578
|
label: any;
|
|
15627
14579
|
truncate: any;
|
|
15628
14580
|
variant: BentoTagVariant;
|
|
15629
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
14581
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_36<__VLS_TypePropsToRuntimeProps_36<BentoTagProps>, {
|
|
15630
14582
|
label: any;
|
|
15631
14583
|
truncate: any;
|
|
15632
14584
|
variant: BentoTagVariant;
|
|
@@ -15961,6 +14913,9 @@ declare enum BentoTextareaResizeOption {
|
|
|
15961
14913
|
}
|
|
15962
14914
|
|
|
15963
14915
|
export declare enum BentoTheme {
|
|
14916
|
+
/**
|
|
14917
|
+
* @deprecated in favor of {@link BENTO_LIGHT}. To be removed in v2.0.0.
|
|
14918
|
+
*/
|
|
15964
14919
|
LEGACY = "b-legacy-theme",
|
|
15965
14920
|
STYLEGUIDE = "b-styleguide-theme",
|
|
15966
14921
|
/**
|
|
@@ -16501,6 +15456,7 @@ export declare interface BentoTimelineConfigData {
|
|
|
16501
15456
|
hiddenItems: Ref<number>;
|
|
16502
15457
|
visibleIndexes: Ref<number[]>;
|
|
16503
15458
|
timegapLimit: Ref<BentoTimelineGapObject>;
|
|
15459
|
+
timelineEntries: Ref<BentoTimelineEntry[]>;
|
|
16504
15460
|
}
|
|
16505
15461
|
|
|
16506
15462
|
export declare type BentoTimelineDataList = Array<BentoTimelineDataListObject>;
|
|
@@ -16531,7 +15487,7 @@ export declare enum BentoTimelineGapUnit {
|
|
|
16531
15487
|
}
|
|
16532
15488
|
|
|
16533
15489
|
/**
|
|
16534
|
-
*
|
|
15490
|
+
* BentoTimelineItem renders each event in the Timeline component
|
|
16535
15491
|
*
|
|
16536
15492
|
* @example
|
|
16537
15493
|
* import { BentoDateFormat, BentoTimelineItem } from '@adyen/bento-vue2';
|
|
@@ -16753,16 +15709,6 @@ export declare enum BentoTimelineItemVariant {
|
|
|
16753
15709
|
CRITICAL = "CrossCircleIcon"
|
|
16754
15710
|
}
|
|
16755
15711
|
|
|
16756
|
-
export declare type BentoTimelineRegisterEntry = (props: {
|
|
16757
|
-
title?: string | BentoTimelineItemTitle;
|
|
16758
|
-
description?: string;
|
|
16759
|
-
date: Date | number;
|
|
16760
|
-
}) => {
|
|
16761
|
-
timelineEntries: Ref<BentoTimelineEntry[]>;
|
|
16762
|
-
index: number;
|
|
16763
|
-
unregisterTimelineEntry: () => void;
|
|
16764
|
-
};
|
|
16765
|
-
|
|
16766
15712
|
export declare interface BentoTimelineShowMoreObject {
|
|
16767
15713
|
limit: number;
|
|
16768
15714
|
placement?: BentoTimelineShowMorePlacement;
|
|
@@ -17098,9 +16044,18 @@ export declare const BentoTooltipPosition: {
|
|
|
17098
16044
|
|
|
17099
16045
|
export declare type BentoTooltipPosition = PopperContainerPositionBasic;
|
|
17100
16046
|
|
|
17101
|
-
declare const BentoTooltipPosition_2
|
|
16047
|
+
declare const BentoTooltipPosition_2: {
|
|
16048
|
+
TOP: PopperContainerPositionBasic.TOP;
|
|
16049
|
+
RIGHT: PopperContainerPositionBasic.RIGHT;
|
|
16050
|
+
BOTTOM: PopperContainerPositionBasic.BOTTOM;
|
|
16051
|
+
LEFT: PopperContainerPositionBasic.LEFT;
|
|
16052
|
+
};
|
|
16053
|
+
|
|
16054
|
+
declare type BentoTooltipPosition_2 = PopperContainerPositionBasic;
|
|
17102
16055
|
|
|
17103
|
-
declare
|
|
16056
|
+
declare const BentoTooltipPosition_3 = { ...PopperContainerPositionBasic };
|
|
16057
|
+
|
|
16058
|
+
declare type BentoTooltipPosition_3 = PopperContainerPositionBasic_2;
|
|
17104
16059
|
|
|
17105
16060
|
export declare enum BentoTooltipState {
|
|
17106
16061
|
HIDDEN = "hidden"
|
|
@@ -17228,7 +16183,7 @@ export declare interface BentoTutorialStep {
|
|
|
17228
16183
|
* `
|
|
17229
16184
|
* }
|
|
17230
16185
|
*/
|
|
17231
|
-
export declare const BentoTypography: __VLS_WithTemplateSlots_51<DefineComponent<
|
|
16186
|
+
export declare const BentoTypography: __VLS_WithTemplateSlots_51<DefineComponent<__VLS_WithDefaults_48<__VLS_TypePropsToRuntimeProps_51<{
|
|
17232
16187
|
/**
|
|
17233
16188
|
* Sets the HTML DOM element.
|
|
17234
16189
|
* @values h1, h2, h3, h4, h5, h6, div, p, span
|
|
@@ -17276,7 +16231,7 @@ stronger: boolean;
|
|
|
17276
16231
|
strongest: boolean;
|
|
17277
16232
|
variant: BentoTypographyVariant;
|
|
17278
16233
|
wide: boolean;
|
|
17279
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
16234
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_48<__VLS_TypePropsToRuntimeProps_51<{
|
|
17280
16235
|
/**
|
|
17281
16236
|
* Sets the HTML DOM element.
|
|
17282
16237
|
* @values h1, h2, h3, h4, h5, h6, div, p, span
|
|
@@ -17384,8 +16339,6 @@ export declare type Binding<V> = DirectiveBinding<V> & KeyboardNavigation;
|
|
|
17384
16339
|
|
|
17385
16340
|
export declare type Booleanish = boolean | 'true' | 'false';
|
|
17386
16341
|
|
|
17387
|
-
declare type ButtonProps = InstanceType<typeof BentoButton>['$props'];
|
|
17388
|
-
|
|
17389
16342
|
declare type CalendarGranularityType = 'daily' | 'weekly' | 'monthly' | 'quarterly';
|
|
17390
16343
|
|
|
17391
16344
|
declare enum CalendarMonthFirstDayOfWeek {
|
|
@@ -17433,14 +16386,6 @@ export declare enum DateFormat {
|
|
|
17433
16386
|
HOUR_MINUTE_SECONDS = "HH:mm:ss"
|
|
17434
16387
|
}
|
|
17435
16388
|
|
|
17436
|
-
declare interface DateRangePickerCalendarFormData {
|
|
17437
|
-
startDate: string;
|
|
17438
|
-
endDate: string;
|
|
17439
|
-
startTime?: string;
|
|
17440
|
-
endTime?: string;
|
|
17441
|
-
granularity?: CalendarGranularityType;
|
|
17442
|
-
}
|
|
17443
|
-
|
|
17444
16389
|
declare interface DateRangePickerCalendarRangeSelectorItem {
|
|
17445
16390
|
label: string;
|
|
17446
16391
|
value: string;
|
|
@@ -17910,6 +16855,15 @@ export declare type MaybeComputedRef<T> = MaybeReadonlyRef<T> | MaybeRef<T>;
|
|
|
17910
16855
|
*/
|
|
17911
16856
|
export declare type MaybeElement = HTMLElement | SVGElement | VueInstance | undefined | null;
|
|
17912
16857
|
|
|
16858
|
+
/**
|
|
16859
|
+
* Maybe it's an Element (HTML, SVG, VueNode).
|
|
16860
|
+
*
|
|
16861
|
+
* ```ts
|
|
16862
|
+
* type MaybeElement = HTMLElement | SVGElement | VueInstance | undefined | null
|
|
16863
|
+
* ```
|
|
16864
|
+
*/
|
|
16865
|
+
declare type MaybeElement_2 = HTMLElement | SVGElement | VueInstance_2 | undefined | null;
|
|
16866
|
+
|
|
17913
16867
|
/**
|
|
17914
16868
|
* Maybe it's an Element (HTML, SVG, VueNode) `ref`.
|
|
17915
16869
|
*
|
|
@@ -17919,6 +16873,15 @@ export declare type MaybeElement = HTMLElement | SVGElement | VueInstance | unde
|
|
|
17919
16873
|
*/
|
|
17920
16874
|
export declare type MaybeElementRef<T extends MaybeElement = MaybeElement> = MaybeRef<T>;
|
|
17921
16875
|
|
|
16876
|
+
/**
|
|
16877
|
+
* Maybe it's an Element (HTML, SVG, VueNode) `ref`.
|
|
16878
|
+
*
|
|
16879
|
+
* ```ts
|
|
16880
|
+
* type MaybeElementRef<T extends MaybeElement = MaybeElement> = MaybeRef<T>
|
|
16881
|
+
* ```
|
|
16882
|
+
*/
|
|
16883
|
+
declare type MaybeElementRef_2<T extends MaybeElement_2 = MaybeElement_2> = MaybeRef_2<T>;
|
|
16884
|
+
|
|
17922
16885
|
/**
|
|
17923
16886
|
* Maybe it's a computed ref, or a getter function
|
|
17924
16887
|
*
|
|
@@ -17942,6 +16905,20 @@ export declare type MaybeReadonlyRef<T> = (() => T) | ComputedRef<T>;
|
|
|
17942
16905
|
*/
|
|
17943
16906
|
export declare type MaybeRef<T> = T | Ref<T> | Ref<UnwrapRef<T>>;
|
|
17944
16907
|
|
|
16908
|
+
/**
|
|
16909
|
+
*
|
|
16910
|
+
* Maybe it's a `ref`, or a plain value.
|
|
16911
|
+
*
|
|
16912
|
+
* As recommmended by the vue community to use this type when you are not sure
|
|
16913
|
+
* if the argument is a ref.
|
|
16914
|
+
* Source: https://github.com/vueuse/vueuse/blob/main/packages/shared/utils/types.ts#L28
|
|
16915
|
+
*
|
|
16916
|
+
* ```ts
|
|
16917
|
+
* type MaybeRef<T> = T | Ref<T>
|
|
16918
|
+
* ```
|
|
16919
|
+
*/
|
|
16920
|
+
declare type MaybeRef_2<T> = T | Ref<T> | Ref<UnwrapRef<T>>;
|
|
16921
|
+
|
|
17945
16922
|
/**
|
|
17946
16923
|
* Validates if the length of the provided value is greater than or equal to the specified length.
|
|
17947
16924
|
*
|
|
@@ -17953,6 +16930,8 @@ export declare function minLength(value: BentoInputFieldValue, length?: number):
|
|
|
17953
16930
|
|
|
17954
16931
|
export declare type OmitStrict<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
|
|
17955
16932
|
|
|
16933
|
+
declare type OmitStrict_2<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
|
|
16934
|
+
|
|
17956
16935
|
declare type OnClickOutsideHandler = (evt: PointerEvent | FocusEvent) => void;
|
|
17957
16936
|
|
|
17958
16937
|
declare interface OnClickOutsideOptions {
|
|
@@ -17973,6 +16952,27 @@ declare interface OnClickOutsideOptions {
|
|
|
17973
16952
|
window?: Window;
|
|
17974
16953
|
}
|
|
17975
16954
|
|
|
16955
|
+
declare interface OnClickOutsideOptions_2 {
|
|
16956
|
+
/**
|
|
16957
|
+
* List of elements that should not trigger the event.
|
|
16958
|
+
*/
|
|
16959
|
+
ignore?: (MaybeElementRef_2 | string)[];
|
|
16960
|
+
/**
|
|
16961
|
+
* Use capturing phase for internal event listener.
|
|
16962
|
+
* @default true
|
|
16963
|
+
*/
|
|
16964
|
+
capture?: boolean;
|
|
16965
|
+
/**
|
|
16966
|
+
* Run handler function if focus moves to an iframe.
|
|
16967
|
+
* @default false
|
|
16968
|
+
*/
|
|
16969
|
+
detectIframe?: boolean;
|
|
16970
|
+
/*
|
|
16971
|
+
* Specify a custom `window` instance, e.g. working with iframes or in testing environments.
|
|
16972
|
+
*/
|
|
16973
|
+
window?: Window;
|
|
16974
|
+
}
|
|
16975
|
+
|
|
17976
16976
|
declare const plugin: Plugin<BentoVuePlugin>;
|
|
17977
16977
|
export default plugin;
|
|
17978
16978
|
|
|
@@ -18252,6 +17252,8 @@ declare type UseVirtualListItemHeight = number | ((index: number) => number);
|
|
|
18252
17252
|
|
|
18253
17253
|
export declare type VueInstance = ComponentPublicInstance;
|
|
18254
17254
|
|
|
17255
|
+
declare type VueInstance_2 = ComponentPublicInstance;
|
|
17256
|
+
|
|
18255
17257
|
/**
|
|
18256
17258
|
* Vue node element instance
|
|
18257
17259
|
*
|