@adyen/bento-vue2 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/README.md +43 -97
- package/dist/@types/components.d.ts +1 -0
- package/dist/@types/index.d.ts +829 -2056
- 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/link.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.BNtdoVto.js → accordion-item.CoqaoVnC.js} +3 -3
- package/dist/chunks/accordion-item.CoqaoVnC.js.map +1 -0
- package/dist/chunks/{action-bar.DQb7WVVd.js → action-bar.LaW4Tzlo.js} +18 -19
- package/dist/chunks/action-bar.LaW4Tzlo.js.map +1 -0
- package/dist/chunks/{alert.c1rhDDrU.js → alert.CMyL-zWT.js} +17 -17
- package/dist/chunks/alert.CMyL-zWT.js.map +1 -0
- package/dist/chunks/aria-label.CaUURpnB.js.map +1 -1
- package/dist/chunks/{avatar.BgwjpLQO.js → avatar.KdcsNOsm.js} +2 -2
- package/dist/chunks/avatar.KdcsNOsm.js.map +1 -0
- package/dist/chunks/{base-button.-gx_u8Bd.js → base-button.BB5tkzjh.js} +6 -6
- package/dist/chunks/base-button.BB5tkzjh.js.map +1 -0
- package/dist/chunks/{base-modal.CkkfT6r6.js → base-modal.D8Rh5NUz.js} +19 -19
- package/dist/chunks/base-modal.D8Rh5NUz.js.map +1 -0
- package/dist/chunks/bin.Ddb69cr1.js +24 -0
- package/dist/chunks/bin.Ddb69cr1.js.map +1 -0
- package/dist/chunks/button-actions-with-menu.BDpWI2Fh.js +85 -0
- package/dist/chunks/button-actions-with-menu.BDpWI2Fh.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.hF-nD1Og.js → button.CilT7NmM.js} +4 -4
- package/dist/chunks/button.CilT7NmM.js.map +1 -0
- package/dist/chunks/{calendar.DvIQEYwN.js → calendar.DYI4omOF.js} +25 -25
- package/dist/chunks/calendar.DYI4omOF.js.map +1 -0
- package/dist/chunks/{card.CASAAsuJ.js → card.C5Uub0Fb.js} +20 -19
- package/dist/chunks/card.C5Uub0Fb.js.map +1 -0
- package/dist/chunks/{checkbox-group.QdX-NrSG.js → checkbox-group.CLYgcDZl.js} +6 -6
- package/dist/chunks/checkbox-group.CLYgcDZl.js.map +1 -0
- package/dist/chunks/{checkbox-input.CNWigbX4.js → checkbox-input.B0NsfSNR.js} +2 -2
- package/dist/chunks/checkbox-input.B0NsfSNR.js.map +1 -0
- package/dist/chunks/{checkbox.DCD6SSXC.js → checkbox.lwLS8MMI.js} +6 -6
- package/dist/chunks/checkbox.lwLS8MMI.js.map +1 -0
- package/dist/chunks/{chip.OV0EWIP3.js → chip.Bfi-ff5E.js} +10 -10
- package/dist/chunks/chip.Bfi-ff5E.js.map +1 -0
- package/dist/chunks/{code-snippet.dIKi0D7d.js → code-snippet.DsHNr3DK.js} +8 -8
- package/dist/chunks/code-snippet.DsHNr3DK.js.map +1 -0
- package/dist/chunks/{controls-group.CccuLkgP.js → controls-group.az4jCZQF.js} +30 -27
- package/dist/chunks/controls-group.az4jCZQF.js.map +1 -0
- package/dist/chunks/{copy.CF8Fzu2Y.js → copy.Cb7gQhU4.js} +15 -15
- package/dist/chunks/copy.Cb7gQhU4.js.map +1 -0
- package/dist/chunks/{country.melpzEsY.js → country.1yIZNjdj.js} +7 -7
- package/dist/chunks/country.1yIZNjdj.js.map +1 -0
- package/dist/chunks/country.types.C0Q_hhgJ.js.map +1 -1
- package/dist/chunks/{currency.BM9OXTqe.js → currency.MT3baDtO.js} +3 -3
- package/dist/chunks/currency.MT3baDtO.js.map +1 -0
- package/dist/chunks/{dashboard-section.BIe6eVHq.js → dashboard-section.C6zV9yL-.js} +4 -4
- package/dist/chunks/{dashboard-section.BIe6eVHq.js.map → dashboard-section.C6zV9yL-.js.map} +1 -1
- package/dist/chunks/{dashed-underline.BbH6Lnd2.js → dashed-underline.Dry6H2zs.js} +12 -13
- package/dist/chunks/dashed-underline.Dry6H2zs.js.map +1 -0
- package/dist/chunks/{data-grid-template.Co0Ecr79.js → data-grid-template.Dlevchxd.js} +5 -5
- package/dist/chunks/data-grid-template.Dlevchxd.js.map +1 -0
- package/dist/chunks/{data-grid.erxjh5TN.js → data-grid.CrvFYgjF.js} +1234 -1182
- package/dist/chunks/data-grid.CrvFYgjF.js.map +1 -0
- package/dist/chunks/{date-picker.DGIS6Pp-.js → date-picker.DPasFJS2.js} +11 -11
- package/dist/chunks/date-picker.DPasFJS2.js.map +1 -0
- package/dist/chunks/date-range-picker.BIj17geh.js +967 -0
- package/dist/chunks/date-range-picker.BIj17geh.js.map +1 -0
- package/dist/chunks/{date.BfyWX2PY.js → date.BTdCYdkj.js} +2 -2
- package/dist/chunks/{date.BfyWX2PY.js.map → date.BTdCYdkj.js.map} +1 -1
- package/dist/chunks/{dialog-page.CLHZqQeU.js → dialog-page.D20YBRQF.js} +9 -9
- package/dist/chunks/dialog-page.D20YBRQF.js.map +1 -0
- package/dist/chunks/{divider.Cc4JFWG_.js → divider.CFbtmKeQ.js} +6 -6
- package/dist/chunks/divider.CFbtmKeQ.js.map +1 -0
- package/dist/chunks/{dropdown-default-textbox.94q6opSD.js → dropdown-default-textbox.CDm-PQfc.js} +81 -80
- package/dist/chunks/dropdown-default-textbox.CDm-PQfc.js.map +1 -0
- package/dist/chunks/dropdown-tag.cmaM8C2X.js +306 -0
- package/dist/chunks/dropdown-tag.cmaM8C2X.js.map +1 -0
- package/dist/chunks/{dropdown.DazYAy4B.js → dropdown.CEZXrC1C.js} +43 -43
- package/dist/chunks/dropdown.CEZXrC1C.js.map +1 -0
- package/dist/chunks/{empty-state.mtXfb1BB.js → empty-state.DAbj9xWF.js} +6 -6
- package/dist/chunks/empty-state.DAbj9xWF.js.map +1 -0
- package/dist/chunks/{error-message.BgxnwPLF.js → error-message.D_QAOG-5.js} +9 -9
- package/dist/chunks/{error-message.BgxnwPLF.js.map → error-message.D_QAOG-5.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.map +1 -1
- package/dist/chunks/{file-uploader.BPslxGI8.js → file-uploader.D2k8GceS.js} +49 -49
- package/dist/chunks/file-uploader.D2k8GceS.js.map +1 -0
- package/dist/chunks/{filter-bar.DL19SXF1.js → filter-bar.C9suxxv-.js} +310 -316
- package/dist/chunks/filter-bar.C9suxxv-.js.map +1 -0
- package/dist/chunks/{fixed-scroller.XN-jvWqb.js → fixed-scroller.DDYpO7Li.js} +2 -2
- package/dist/chunks/{fixed-scroller.XN-jvWqb.js.map → fixed-scroller.DDYpO7Li.js.map} +1 -1
- package/dist/chunks/{focus-trap.C-wIQqpO.js → focus-trap.B4C5TXxl.js} +2 -2
- package/dist/chunks/focus-trap.B4C5TXxl.js.map +1 -0
- package/dist/chunks/{footer-actions.BE_zzX-e.js → footer-actions.Bbu1_rUb.js} +12 -12
- package/dist/chunks/footer-actions.Bbu1_rUb.js.map +1 -0
- package/dist/chunks/{form-layout-title.CIynHgCF.js → form-layout-title.aXVuAWiG.js} +5 -5
- package/dist/chunks/form-layout-title.aXVuAWiG.js.map +1 -0
- package/dist/chunks/{grid-layout.HvTAa4to.js → grid-layout.1aIiz2N_.js} +4 -4
- package/dist/chunks/grid-layout.1aIiz2N_.js.map +1 -0
- package/dist/chunks/{header-meta.CfloYa86.js → header-meta.Dj742jL5.js} +26 -27
- package/dist/chunks/{header-meta.CfloYa86.js.map → header-meta.Dj742jL5.js.map} +1 -1
- package/dist/chunks/{header-with-views.BUQ-MlAq.js → header-with-views.Cis2Ixho.js} +160 -164
- package/dist/chunks/header-with-views.Cis2Ixho.js.map +1 -0
- package/dist/chunks/{header.uyxNdQa3.js → header.Bo2fbjCm.js} +8 -8
- package/dist/chunks/header.Bo2fbjCm.js.map +1 -0
- package/dist/chunks/image.C2D2hKat.js.map +1 -1
- package/dist/chunks/{info-icon.CYOXx8CL.js → info-icon.BWC7gGmM.js} +7 -7
- package/dist/chunks/info-icon.BWC7gGmM.js.map +1 -0
- package/dist/chunks/info.CcMZ4aGg.js +24 -0
- package/dist/chunks/info.CcMZ4aGg.js.map +1 -0
- package/dist/chunks/{input-field-password.C1zTapiN.js → input-field-password.D6wAD55v.js} +29 -29
- package/dist/chunks/input-field-password.D6wAD55v.js.map +1 -0
- package/dist/chunks/{input-field-phone-number.K8BYjWfa.js → input-field-phone-number.CLHuEXO7.js} +12 -11
- package/dist/chunks/{input-field-phone-number.K8BYjWfa.js.map → input-field-phone-number.CLHuEXO7.js.map} +1 -1
- package/dist/chunks/{input-field.5S-pUNxA.js → input-field.C3KYlPYa.js} +5 -5
- package/dist/chunks/input-field.C3KYlPYa.js.map +1 -0
- package/dist/chunks/{inspector.BI28vKQz.js → inspector.CH4kvF9q.js} +6 -6
- package/dist/chunks/inspector.CH4kvF9q.js.map +1 -0
- package/dist/chunks/keyboard-navigation.pB8weElW.js.map +1 -1
- package/dist/chunks/{layout-row.C_F2wX6d.js → layout-row.BLGCVZkD.js} +12 -12
- package/dist/chunks/layout-row.BLGCVZkD.js.map +1 -0
- package/dist/chunks/{link.CXy_LoFI.js → link.C4htMrDV.js} +3 -3
- package/dist/chunks/link.C4htMrDV.js.map +1 -0
- package/dist/chunks/{listbox-option-tag.D0Cql_R3.js → listbox-option-tag.3zcrQQvI.js} +4 -4
- package/dist/chunks/listbox-option-tag.3zcrQQvI.js.map +1 -0
- package/dist/chunks/{loading-indicator.z8COalOc.js → loading-indicator.DXc7I1Lm.js} +2 -2
- package/dist/chunks/loading-indicator.DXc7I1Lm.js.map +1 -0
- package/dist/chunks/minus-small.DJacLGTw.js.map +1 -1
- package/dist/chunks/{modal-fullscreen.DHotw1RI.js → modal-fullscreen.DNxrRLZ5.js} +61 -56
- package/dist/chunks/modal-fullscreen.DNxrRLZ5.js.map +1 -0
- package/dist/chunks/{modal.eoNQ6E3U.js → modal.BjoHqKYF.js} +6 -6
- package/dist/chunks/modal.BjoHqKYF.js.map +1 -0
- package/dist/chunks/{pagination.4J7ZMyf5.js → pagination.BNjvTjtR.js} +5 -5
- package/dist/chunks/pagination.BNjvTjtR.js.map +1 -0
- package/dist/chunks/{payment-method.Cx4nPDtE.js → payment-method.DtvfUnit.js} +3 -3
- package/dist/chunks/payment-method.DtvfUnit.js.map +1 -0
- package/dist/chunks/popover.types.CiUPrUuw.js +6 -0
- package/dist/chunks/popover.types.CiUPrUuw.js.map +1 -0
- package/dist/chunks/{popper-container.DIFqmRsp.js → popper-container.BRkYcBmL.js} +3 -3
- package/dist/chunks/popper-container.BRkYcBmL.js.map +1 -0
- package/dist/chunks/{promo-banner.Bbc2U3S3.js → promo-banner.CmkrgQsm.js} +6 -6
- package/dist/chunks/promo-banner.CmkrgQsm.js.map +1 -0
- package/dist/chunks/{radio-group.4_KKjvAm.js → radio-group.ANbubbQK.js} +14 -12
- package/dist/chunks/radio-group.ANbubbQK.js.map +1 -0
- package/dist/chunks/{radio-input.uJAhxKRs.js → radio-input.D8mv2EYC.js} +2 -2
- package/dist/chunks/radio-input.D8mv2EYC.js.map +1 -0
- package/dist/chunks/{rich-text-editor.BUKLdRkN.js → rich-text-editor.DfUK2cie.js} +8 -8
- package/dist/chunks/rich-text-editor.DfUK2cie.js.map +1 -0
- package/dist/chunks/{search-bar.CuBj5FAE.js → search-bar.B4ln_DGC.js} +6 -5
- package/dist/chunks/search-bar.B4ln_DGC.js.map +1 -0
- package/dist/chunks/{secondary-nav.C6usurfD.js → secondary-nav.DGRvSeRY.js} +9 -9
- package/dist/chunks/secondary-nav.DGRvSeRY.js.map +1 -0
- package/dist/chunks/{segmented-control.DHZEfmT-.js → segmented-control.5-G1EwGt.js} +11 -11
- package/dist/chunks/segmented-control.5-G1EwGt.js.map +1 -0
- package/dist/chunks/{selection-card-group.0o5T4tab.js → selection-card-group.xs_M1a46.js} +10 -10
- package/dist/chunks/selection-card-group.xs_M1a46.js.map +1 -0
- package/dist/chunks/{sidepanel.DyThBUgV.js → sidepanel.DJAmLLPS.js} +9 -9
- package/dist/chunks/sidepanel.DJAmLLPS.js.map +1 -0
- package/dist/chunks/{status.types.p_TCvoo0.js → status.types.BpMK-6IT.js} +3 -3
- package/dist/chunks/status.types.BpMK-6IT.js.map +1 -0
- package/dist/chunks/{step.DMMofD4B.js → step.DwXkOVky.js} +5 -5
- package/dist/chunks/step.DwXkOVky.js.map +1 -0
- package/dist/chunks/{structured-list-item.Bnn6-Z3q.js → structured-list-item.TPZLf2rC.js} +7 -7
- package/dist/chunks/structured-list-item.TPZLf2rC.js.map +1 -0
- package/dist/chunks/{summary-grid.types.D_FU3sUq.js → summary-grid.types.Mua4SprI.js} +7 -7
- package/dist/chunks/{summary-grid.types.D_FU3sUq.js.map → summary-grid.types.Mua4SprI.js.map} +1 -1
- package/dist/chunks/{tab.BhWPBxcB.js → tab.ClkH0GtX.js} +5 -5
- package/dist/chunks/tab.ClkH0GtX.js.map +1 -0
- package/dist/chunks/{tag.CGkclKVL.js → tag.D1niMJDQ.js} +4 -4
- package/dist/chunks/tag.D1niMJDQ.js.map +1 -0
- package/dist/chunks/textarea.BNGBZJ3C.js +214 -0
- package/dist/chunks/textarea.BNGBZJ3C.js.map +1 -0
- package/dist/chunks/timeline-item.DYUON6R3.js +387 -0
- package/dist/chunks/timeline-item.DYUON6R3.js.map +1 -0
- package/dist/chunks/{toast.BOyeuS19.js → toast.gMDjItrP.js} +5 -5
- package/dist/chunks/toast.gMDjItrP.js.map +1 -0
- package/dist/chunks/toggle-button.COXDzXWu.js +1031 -0
- package/dist/chunks/toggle-button.COXDzXWu.js.map +1 -0
- package/dist/chunks/{toggle.DyXL09-x.js → toggle.Ct-5NUGu.js} +8 -8
- package/dist/chunks/toggle.Ct-5NUGu.js.map +1 -0
- package/dist/chunks/{tooltip.wQsyAwkC.js → tooltip.B2XJl4VK.js} +64 -60
- package/dist/chunks/tooltip.B2XJl4VK.js.map +1 -0
- package/dist/chunks/{tutorial.CxrGhLS7.js → tutorial.BiGj42TP.js} +29 -31
- package/dist/chunks/tutorial.BiGj42TP.js.map +1 -0
- package/dist/chunks/{typography.J1v_SPG3.js → typography.hlOAxsEn.js} +9 -9
- package/dist/chunks/typography.hlOAxsEn.js.map +1 -0
- package/dist/chunks/{use-bento-toast-controller.Cn_2Eogn.js → use-bento-toast-controller.BKHU1qBv.js} +2 -2
- package/dist/chunks/{use-bento-toast-controller.Cn_2Eogn.js.map → use-bento-toast-controller.BKHU1qBv.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.0EeyFfyF.js → use-cached-selected-values.ysbHRJ6L.js} +12 -12
- package/dist/chunks/use-cached-selected-values.ysbHRJ6L.js.map +1 -0
- package/dist/chunks/{use-country-items.BllTb5MK.js → use-country-items.DFdM2Ank.js} +2 -2
- package/dist/chunks/use-country-items.DFdM2Ank.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.C9lQZ6nz.js.map +1 -1
- package/dist/chunks/warning-filled.CbJ1pcB2.js +24 -0
- package/dist/chunks/warning-filled.CbJ1pcB2.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 +225 -227
- 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 +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 +1825 -740
- package/package.json +9 -13
- 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.BNtdoVto.js.map +0 -1
- package/dist/chunks/action-bar.DQb7WVVd.js.map +0 -1
- package/dist/chunks/alert.c1rhDDrU.js.map +0 -1
- package/dist/chunks/avatar.BgwjpLQO.js.map +0 -1
- package/dist/chunks/base-button.-gx_u8Bd.js.map +0 -1
- package/dist/chunks/base-modal.CkkfT6r6.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.DLXkAVvw.js +0 -24
- package/dist/chunks/bin.DLXkAVvw.js.map +0 -1
- package/dist/chunks/button-actions-with-menu.nPj7sdGE.js +0 -83
- package/dist/chunks/button-actions-with-menu.nPj7sdGE.js.map +0 -1
- package/dist/chunks/button-actions.Ju27CRNG.js +0 -194
- package/dist/chunks/button-actions.Ju27CRNG.js.map +0 -1
- package/dist/chunks/button.hF-nD1Og.js.map +0 -1
- package/dist/chunks/calendar.DvIQEYwN.js.map +0 -1
- package/dist/chunks/card.CASAAsuJ.js.map +0 -1
- package/dist/chunks/checkbox-group.QdX-NrSG.js.map +0 -1
- package/dist/chunks/checkbox-input.CNWigbX4.js.map +0 -1
- package/dist/chunks/checkbox.DCD6SSXC.js.map +0 -1
- package/dist/chunks/chip.OV0EWIP3.js.map +0 -1
- package/dist/chunks/code-snippet.dIKi0D7d.js.map +0 -1
- package/dist/chunks/controls-group.CccuLkgP.js.map +0 -1
- package/dist/chunks/copy.CF8Fzu2Y.js.map +0 -1
- package/dist/chunks/country.melpzEsY.js.map +0 -1
- package/dist/chunks/currency.BM9OXTqe.js.map +0 -1
- package/dist/chunks/dashed-underline.BbH6Lnd2.js.map +0 -1
- package/dist/chunks/data-grid-template.Co0Ecr79.js.map +0 -1
- package/dist/chunks/data-grid.erxjh5TN.js.map +0 -1
- package/dist/chunks/date-picker.DGIS6Pp-.js.map +0 -1
- package/dist/chunks/date-range-picker.CIaKRXIQ.js +0 -1021
- package/dist/chunks/date-range-picker.CIaKRXIQ.js.map +0 -1
- package/dist/chunks/dialog-page.CLHZqQeU.js.map +0 -1
- package/dist/chunks/divider.Cc4JFWG_.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.94q6opSD.js.map +0 -1
- package/dist/chunks/dropdown-tag.BaosvGGZ.js +0 -240
- package/dist/chunks/dropdown-tag.BaosvGGZ.js.map +0 -1
- package/dist/chunks/dropdown.DazYAy4B.js.map +0 -1
- package/dist/chunks/empty-state.mtXfb1BB.js.map +0 -1
- package/dist/chunks/es6.n1ewaW31.js +0 -11
- package/dist/chunks/es6.n1ewaW31.js.map +0 -1
- package/dist/chunks/file-uploader.BPslxGI8.js.map +0 -1
- package/dist/chunks/filter-bar.DL19SXF1.js.map +0 -1
- package/dist/chunks/focus-trap.C-wIQqpO.js.map +0 -1
- package/dist/chunks/footer-actions.BE_zzX-e.js.map +0 -1
- package/dist/chunks/form-layout-title.CIynHgCF.js.map +0 -1
- package/dist/chunks/grid-layout.HvTAa4to.js.map +0 -1
- package/dist/chunks/header-with-views.BUQ-MlAq.js.map +0 -1
- package/dist/chunks/header.uyxNdQa3.js.map +0 -1
- package/dist/chunks/info-icon.CYOXx8CL.js.map +0 -1
- package/dist/chunks/info.CszJ0kMi.js +0 -24
- package/dist/chunks/info.CszJ0kMi.js.map +0 -1
- package/dist/chunks/input-field-password.C1zTapiN.js.map +0 -1
- package/dist/chunks/input-field.5S-pUNxA.js.map +0 -1
- package/dist/chunks/inspector.BI28vKQz.js.map +0 -1
- package/dist/chunks/layout-row.C_F2wX6d.js.map +0 -1
- package/dist/chunks/link.CXy_LoFI.js.map +0 -1
- package/dist/chunks/listbox-option-tag.D0Cql_R3.js.map +0 -1
- package/dist/chunks/loading-indicator.z8COalOc.js.map +0 -1
- package/dist/chunks/menu.D0OQgk40.js +0 -515
- package/dist/chunks/menu.D0OQgk40.js.map +0 -1
- package/dist/chunks/modal-fullscreen.DHotw1RI.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.eoNQ6E3U.js.map +0 -1
- package/dist/chunks/pagination.4J7ZMyf5.js.map +0 -1
- package/dist/chunks/payment-method.Cx4nPDtE.js.map +0 -1
- package/dist/chunks/popover.Bo4Bkudr.js +0 -145
- package/dist/chunks/popover.Bo4Bkudr.js.map +0 -1
- package/dist/chunks/popover.types.CBqyA4ly.js +0 -6
- package/dist/chunks/popover.types.CBqyA4ly.js.map +0 -1
- package/dist/chunks/popper-container.DIFqmRsp.js.map +0 -1
- package/dist/chunks/promo-banner.Bbc2U3S3.js.map +0 -1
- package/dist/chunks/radio-group.4_KKjvAm.js.map +0 -1
- package/dist/chunks/radio-input.uJAhxKRs.js.map +0 -1
- package/dist/chunks/rich-text-editor.BUKLdRkN.js.map +0 -1
- package/dist/chunks/search-bar.CuBj5FAE.js.map +0 -1
- package/dist/chunks/secondary-nav.C6usurfD.js.map +0 -1
- package/dist/chunks/segmented-control.DHZEfmT-.js.map +0 -1
- package/dist/chunks/selection-card-group.0o5T4tab.js.map +0 -1
- package/dist/chunks/sidepanel.DyThBUgV.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.p_TCvoo0.js.map +0 -1
- package/dist/chunks/step.DMMofD4B.js.map +0 -1
- package/dist/chunks/structured-list-item.Bnn6-Z3q.js.map +0 -1
- package/dist/chunks/tab.BhWPBxcB.js.map +0 -1
- package/dist/chunks/tag.CGkclKVL.js.map +0 -1
- package/dist/chunks/teleport.BV6zrDjA.js +0 -128
- package/dist/chunks/teleport.BV6zrDjA.js.map +0 -1
- package/dist/chunks/textarea.UPM6N9V1.js +0 -203
- package/dist/chunks/textarea.UPM6N9V1.js.map +0 -1
- package/dist/chunks/timeline-item.DqLhj0Lb.js +0 -385
- package/dist/chunks/timeline-item.DqLhj0Lb.js.map +0 -1
- package/dist/chunks/toast.BOyeuS19.js.map +0 -1
- package/dist/chunks/toggle-button.DEVVvpkw.js +0 -83
- package/dist/chunks/toggle-button.DEVVvpkw.js.map +0 -1
- package/dist/chunks/toggle.DyXL09-x.js.map +0 -1
- package/dist/chunks/tooltip.wQsyAwkC.js.map +0 -1
- package/dist/chunks/tutorial.CxrGhLS7.js.map +0 -1
- package/dist/chunks/typography.J1v_SPG3.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.0EeyFfyF.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.BllTb5MK.js.map +0 -1
- package/dist/chunks/warning-filled.tWOyLUQT.js +0 -24
- package/dist/chunks/warning-filled.tWOyLUQT.js.map +0 -1
- package/dist/styles/legacy.css +0 -2226
package/dist/@types/index.d.ts
CHANGED
|
@@ -15,8 +15,7 @@ import { DirectiveBinding } from 'vue';
|
|
|
15
15
|
import type { DirectiveHook } from 'vue';
|
|
16
16
|
import { ExtractComputedReturns } from 'vue/types/v3-component-options';
|
|
17
17
|
import { ExtractPropTypes } from 'vue';
|
|
18
|
-
import
|
|
19
|
-
import { HTMLAttributes as HTMLAttributes_2 } from 'vue';
|
|
18
|
+
import { HTMLAttributes } from 'vue';
|
|
20
19
|
import type { Middleware } from '@floating-ui/vue';
|
|
21
20
|
import { MiddlewareReturn } from '@floating-ui/vue';
|
|
22
21
|
import { MiddlewareState } from '@floating-ui/vue';
|
|
@@ -29,6 +28,7 @@ import { ShallowUnwrapRef } from 'vue';
|
|
|
29
28
|
import type { typeToFlattenedError } from 'zod';
|
|
30
29
|
import { UnwrapRef } from 'vue';
|
|
31
30
|
import { VNode } from 'vue';
|
|
31
|
+
import type { VNodeRef } from 'vue/types/vnode';
|
|
32
32
|
import { Vue3Instance } from 'vue/types/v3-component-public-instance';
|
|
33
33
|
import type { ZodSchema } from 'zod';
|
|
34
34
|
|
|
@@ -122,6 +122,14 @@ declare type __VLS_NonUndefinedable_49<T> = T extends undefined ? never : T;
|
|
|
122
122
|
|
|
123
123
|
declare type __VLS_NonUndefinedable_5<T> = T extends undefined ? never : T;
|
|
124
124
|
|
|
125
|
+
declare type __VLS_NonUndefinedable_50<T> = T extends undefined ? never : T;
|
|
126
|
+
|
|
127
|
+
declare type __VLS_NonUndefinedable_51<T> = T extends undefined ? never : T;
|
|
128
|
+
|
|
129
|
+
declare type __VLS_NonUndefinedable_52<T> = T extends undefined ? never : T;
|
|
130
|
+
|
|
131
|
+
declare type __VLS_NonUndefinedable_53<T> = T extends undefined ? never : T;
|
|
132
|
+
|
|
125
133
|
declare type __VLS_NonUndefinedable_6<T> = T extends undefined ? never : T;
|
|
126
134
|
|
|
127
135
|
declare type __VLS_NonUndefinedable_7<T> = T extends undefined ? never : T;
|
|
@@ -535,6 +543,42 @@ declare type __VLS_TypePropsToRuntimeProps_5<T> = {
|
|
|
535
543
|
};
|
|
536
544
|
};
|
|
537
545
|
|
|
546
|
+
declare type __VLS_TypePropsToRuntimeProps_50<T> = {
|
|
547
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
548
|
+
type: PropType<__VLS_NonUndefinedable_50<T[K]>>;
|
|
549
|
+
} : {
|
|
550
|
+
type: PropType<T[K]>;
|
|
551
|
+
required: true;
|
|
552
|
+
};
|
|
553
|
+
};
|
|
554
|
+
|
|
555
|
+
declare type __VLS_TypePropsToRuntimeProps_51<T> = {
|
|
556
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
557
|
+
type: PropType<__VLS_NonUndefinedable_51<T[K]>>;
|
|
558
|
+
} : {
|
|
559
|
+
type: PropType<T[K]>;
|
|
560
|
+
required: true;
|
|
561
|
+
};
|
|
562
|
+
};
|
|
563
|
+
|
|
564
|
+
declare type __VLS_TypePropsToRuntimeProps_52<T> = {
|
|
565
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
566
|
+
type: PropType<__VLS_NonUndefinedable_52<T[K]>>;
|
|
567
|
+
} : {
|
|
568
|
+
type: PropType<T[K]>;
|
|
569
|
+
required: true;
|
|
570
|
+
};
|
|
571
|
+
};
|
|
572
|
+
|
|
573
|
+
declare type __VLS_TypePropsToRuntimeProps_53<T> = {
|
|
574
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
575
|
+
type: PropType<__VLS_NonUndefinedable_53<T[K]>>;
|
|
576
|
+
} : {
|
|
577
|
+
type: PropType<T[K]>;
|
|
578
|
+
required: true;
|
|
579
|
+
};
|
|
580
|
+
};
|
|
581
|
+
|
|
538
582
|
declare type __VLS_TypePropsToRuntimeProps_6<T> = {
|
|
539
583
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
540
584
|
type: PropType<__VLS_NonUndefinedable_6<T[K]>>;
|
|
@@ -817,12 +861,36 @@ declare type __VLS_WithDefaults_46<P, D> = {
|
|
|
817
861
|
} : P[K];
|
|
818
862
|
};
|
|
819
863
|
|
|
864
|
+
declare type __VLS_WithDefaults_47<P, D> = {
|
|
865
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
866
|
+
default: D[K];
|
|
867
|
+
} : P[K];
|
|
868
|
+
};
|
|
869
|
+
|
|
870
|
+
declare type __VLS_WithDefaults_48<P, D> = {
|
|
871
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
872
|
+
default: D[K];
|
|
873
|
+
} : P[K];
|
|
874
|
+
};
|
|
875
|
+
|
|
876
|
+
declare type __VLS_WithDefaults_49<P, D> = {
|
|
877
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
878
|
+
default: D[K];
|
|
879
|
+
} : P[K];
|
|
880
|
+
};
|
|
881
|
+
|
|
820
882
|
declare type __VLS_WithDefaults_5<P, D> = {
|
|
821
883
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
822
884
|
default: D[K];
|
|
823
885
|
} : P[K];
|
|
824
886
|
};
|
|
825
887
|
|
|
888
|
+
declare type __VLS_WithDefaults_50<P, D> = {
|
|
889
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
890
|
+
default: D[K];
|
|
891
|
+
} : P[K];
|
|
892
|
+
};
|
|
893
|
+
|
|
826
894
|
declare type __VLS_WithDefaults_6<P, D> = {
|
|
827
895
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
828
896
|
default: D[K];
|
|
@@ -1494,6 +1562,20 @@ selectionLabel: string;
|
|
|
1494
1562
|
|
|
1495
1563
|
export declare type BentoActionBarVariant = 'default' | 'confirmation';
|
|
1496
1564
|
|
|
1565
|
+
/**
|
|
1566
|
+
* Type for the Buttons passed as objects to Button Actions
|
|
1567
|
+
*/
|
|
1568
|
+
declare interface BentoActionButton extends BentoButtonActionBase, BentoButtonProps {
|
|
1569
|
+
event?: (event: Event) => void;
|
|
1570
|
+
state?: BentoLoadingButtonState | `${BentoLoadingButtonState}`;
|
|
1571
|
+
iconOnly?: boolean;
|
|
1572
|
+
}
|
|
1573
|
+
|
|
1574
|
+
/**
|
|
1575
|
+
* Type for the Menus passed as objects to Button Actions
|
|
1576
|
+
*/
|
|
1577
|
+
declare type BentoActionMenu = BentoButtonActionBase & OmitStrict<BentoMenuProps, 'button' | 'data'> & Partial<Pick<BentoMenuProps, 'data'>>;
|
|
1578
|
+
|
|
1497
1579
|
/**
|
|
1498
1580
|
* An Alert component is used to display a persistent
|
|
1499
1581
|
* notification containing information important to the user
|
|
@@ -1816,16 +1898,25 @@ inverse: boolean;
|
|
|
1816
1898
|
iconRight: (_: {}) => any;
|
|
1817
1899
|
}>;
|
|
1818
1900
|
|
|
1819
|
-
|
|
1901
|
+
/**
|
|
1902
|
+
* Private
|
|
1903
|
+
*/
|
|
1904
|
+
/**
|
|
1905
|
+
* Base interface for the Button and Menu objects
|
|
1906
|
+
*/
|
|
1907
|
+
declare interface BentoButtonActionBase {
|
|
1820
1908
|
title: string;
|
|
1821
|
-
event?: (event: Event) => void;
|
|
1822
1909
|
icon?: VueNodeElement;
|
|
1823
1910
|
iconLeft?: VueNodeElement;
|
|
1824
1911
|
iconRight?: VueNodeElement;
|
|
1825
|
-
|
|
1826
|
-
|
|
1912
|
+
/**
|
|
1913
|
+
* Provides a template ref to the underlying component instance.
|
|
1914
|
+
*/
|
|
1915
|
+
elementRef?: Exclude<VNodeRef, string>;
|
|
1827
1916
|
}
|
|
1828
1917
|
|
|
1918
|
+
export declare type BentoButtonActionObject = BentoActionButton;
|
|
1919
|
+
|
|
1829
1920
|
/**
|
|
1830
1921
|
* ButtonActions component manages a set of actions a user can choose from by displaying a group of buttons.
|
|
1831
1922
|
*
|
|
@@ -1853,13 +1944,13 @@ export declare interface BentoButtonActionObject extends BentoButtonProps_2 {
|
|
|
1853
1944
|
*/
|
|
1854
1945
|
export declare const BentoButtonActions: DefineComponent<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_3<BentoButtonActionsProps>, {
|
|
1855
1946
|
inverse: boolean;
|
|
1856
|
-
layout:
|
|
1947
|
+
layout: string;
|
|
1857
1948
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_3<BentoButtonActionsProps>, {
|
|
1858
1949
|
inverse: boolean;
|
|
1859
|
-
layout:
|
|
1950
|
+
layout: string;
|
|
1860
1951
|
}>>>, {
|
|
1861
1952
|
inverse: boolean;
|
|
1862
|
-
layout:
|
|
1953
|
+
layout: string;
|
|
1863
1954
|
}>;
|
|
1864
1955
|
|
|
1865
1956
|
/**
|
|
@@ -1886,7 +1977,7 @@ export declare enum BentoButtonActionsLayoutExtended {
|
|
|
1886
1977
|
BUTTONS_START = "buttons-start"
|
|
1887
1978
|
}
|
|
1888
1979
|
|
|
1889
|
-
export declare type BentoButtonActionsList = Array<
|
|
1980
|
+
export declare type BentoButtonActionsList = Array<BentoActionButton & BentoActionMenu>;
|
|
1890
1981
|
|
|
1891
1982
|
export declare interface BentoButtonActionsProps {
|
|
1892
1983
|
/**
|
|
@@ -1939,7 +2030,7 @@ export declare interface BentoButtonActionsProps {
|
|
|
1939
2030
|
* @values SPACE_BETWEEN
|
|
1940
2031
|
* @values VERTICAL_STACK
|
|
1941
2032
|
*/
|
|
1942
|
-
layout?:
|
|
2033
|
+
layout?: string;
|
|
1943
2034
|
}
|
|
1944
2035
|
|
|
1945
2036
|
export declare enum BentoButtonPropClass {
|
|
@@ -1960,16 +2051,6 @@ export declare interface BentoButtonProps {
|
|
|
1960
2051
|
link?: object;
|
|
1961
2052
|
}
|
|
1962
2053
|
|
|
1963
|
-
declare interface BentoButtonProps_2 {
|
|
1964
|
-
condensed?: boolean;
|
|
1965
|
-
critical?: boolean;
|
|
1966
|
-
disabled?: boolean;
|
|
1967
|
-
inverse?: boolean;
|
|
1968
|
-
variant?: BentoButtonVariant_2 | `${BentoButtonVariant_2}`;
|
|
1969
|
-
type?: string;
|
|
1970
|
-
link?: object;
|
|
1971
|
-
}
|
|
1972
|
-
|
|
1973
2054
|
/**
|
|
1974
2055
|
* @deprecated for usage with properties since version 2.0. Use the string literal instead.
|
|
1975
2056
|
*/
|
|
@@ -1980,16 +2061,6 @@ export declare enum BentoButtonVariant {
|
|
|
1980
2061
|
TERTIARY_WITH_BACKGROUND = "tertiary-with-background"
|
|
1981
2062
|
}
|
|
1982
2063
|
|
|
1983
|
-
/**
|
|
1984
|
-
* @deprecated for usage with properties since version 2.0. Use the string literal instead.
|
|
1985
|
-
*/
|
|
1986
|
-
declare enum BentoButtonVariant_2 {
|
|
1987
|
-
PRIMARY = 'primary',
|
|
1988
|
-
SECONDARY = 'secondary',
|
|
1989
|
-
TERTIARY = 'tertiary',
|
|
1990
|
-
TERTIARY_WITH_BACKGROUND = 'tertiary-with-background',
|
|
1991
|
-
}
|
|
1992
|
-
|
|
1993
2064
|
/**
|
|
1994
2065
|
* A card is a flexible and composable container.
|
|
1995
2066
|
* Use cards to represent a single object or to visually group certain content, like legal information within company settings.
|
|
@@ -2764,7 +2835,7 @@ export declare type BentoCheckboxType = boolean | BentoMultiCheckboxType;
|
|
|
2764
2835
|
* `
|
|
2765
2836
|
* }
|
|
2766
2837
|
*/
|
|
2767
|
-
export declare const BentoChip: DefineComponent<
|
|
2838
|
+
export declare const BentoChip: DefineComponent<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_13<BentoChipProps>, {
|
|
2768
2839
|
disabled: boolean;
|
|
2769
2840
|
readonly: boolean;
|
|
2770
2841
|
error: boolean;
|
|
@@ -2772,7 +2843,7 @@ condensed: boolean;
|
|
|
2772
2843
|
characterLimit: any;
|
|
2773
2844
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2774
2845
|
click: () => void;
|
|
2775
|
-
}, string, Readonly<ExtractPropTypes<
|
|
2846
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_13<BentoChipProps>, {
|
|
2776
2847
|
disabled: boolean;
|
|
2777
2848
|
readonly: boolean;
|
|
2778
2849
|
error: boolean;
|
|
@@ -2854,7 +2925,7 @@ export declare const BentoClickOutsideDirective: {
|
|
|
2854
2925
|
* `
|
|
2855
2926
|
* }
|
|
2856
2927
|
*/
|
|
2857
|
-
export declare const BentoCodeSnippet: __VLS_WithTemplateSlots_12<DefineComponent<
|
|
2928
|
+
export declare const BentoCodeSnippet: __VLS_WithTemplateSlots_12<DefineComponent<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_14<BentoCodeSnippetProps>, {
|
|
2858
2929
|
actionable: boolean;
|
|
2859
2930
|
actionableText: any;
|
|
2860
2931
|
content: string;
|
|
@@ -2864,7 +2935,7 @@ lang: BentoCodeSnippetSupportedLanguage;
|
|
|
2864
2935
|
langLabel: any;
|
|
2865
2936
|
loading: boolean;
|
|
2866
2937
|
variant: BentoCodeSnippetVariant;
|
|
2867
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoCodeSnippetEvent[], string, Readonly<ExtractPropTypes<
|
|
2938
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoCodeSnippetEvent[], string, Readonly<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_14<BentoCodeSnippetProps>, {
|
|
2868
2939
|
actionable: boolean;
|
|
2869
2940
|
actionableText: any;
|
|
2870
2941
|
content: string;
|
|
@@ -2876,8 +2947,8 @@ loading: boolean;
|
|
|
2876
2947
|
variant: BentoCodeSnippetVariant;
|
|
2877
2948
|
}>>>, {
|
|
2878
2949
|
variant: BentoCodeSnippetVariant | `${BentoCodeSnippetVariant}`;
|
|
2879
|
-
loading: boolean;
|
|
2880
2950
|
content: string;
|
|
2951
|
+
loading: boolean;
|
|
2881
2952
|
expandable: boolean;
|
|
2882
2953
|
actionable: boolean;
|
|
2883
2954
|
actionableText: string;
|
|
@@ -3379,13 +3450,13 @@ export declare enum BentoCountryVariant {
|
|
|
3379
3450
|
* `
|
|
3380
3451
|
* }
|
|
3381
3452
|
*/
|
|
3382
|
-
export declare const BentoCurrency: DefineComponent<
|
|
3453
|
+
export declare const BentoCurrency: DefineComponent<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_15<BentoCurrencyProps>, {
|
|
3383
3454
|
currency: BentoCurrencyISOCode;
|
|
3384
3455
|
disableTypography: boolean;
|
|
3385
3456
|
majorUnits: boolean;
|
|
3386
3457
|
value: any;
|
|
3387
3458
|
currencySign: string;
|
|
3388
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
3459
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_15<BentoCurrencyProps>, {
|
|
3389
3460
|
currency: BentoCurrencyISOCode;
|
|
3390
3461
|
disableTypography: boolean;
|
|
3391
3462
|
majorUnits: boolean;
|
|
@@ -3400,175 +3471,175 @@ majorUnits: boolean;
|
|
|
3400
3471
|
}>;
|
|
3401
3472
|
|
|
3402
3473
|
export declare enum BentoCurrencyISOCode {
|
|
3403
|
-
AED =
|
|
3404
|
-
AFA =
|
|
3405
|
-
ALL =
|
|
3406
|
-
AMD =
|
|
3407
|
-
ANG =
|
|
3408
|
-
AOA =
|
|
3409
|
-
ARS =
|
|
3410
|
-
AUD =
|
|
3411
|
-
AWG =
|
|
3412
|
-
AZN =
|
|
3413
|
-
BAM =
|
|
3414
|
-
BBD =
|
|
3415
|
-
BDT =
|
|
3416
|
-
BEF =
|
|
3417
|
-
BGN =
|
|
3418
|
-
BHD =
|
|
3419
|
-
BIF =
|
|
3420
|
-
BMD =
|
|
3421
|
-
BND =
|
|
3422
|
-
BOB =
|
|
3423
|
-
BRL =
|
|
3424
|
-
BSD =
|
|
3425
|
-
BTC =
|
|
3426
|
-
BTN =
|
|
3427
|
-
BWP =
|
|
3428
|
-
BYR =
|
|
3429
|
-
BZD =
|
|
3430
|
-
CAD =
|
|
3431
|
-
CDF =
|
|
3432
|
-
CHF =
|
|
3433
|
-
CLF =
|
|
3434
|
-
CLP =
|
|
3435
|
-
CNY =
|
|
3436
|
-
COP =
|
|
3437
|
-
CRC =
|
|
3438
|
-
CUC =
|
|
3439
|
-
CVE =
|
|
3440
|
-
CZK =
|
|
3441
|
-
DEM =
|
|
3442
|
-
DJF =
|
|
3443
|
-
DKK =
|
|
3444
|
-
DOP =
|
|
3445
|
-
DZD =
|
|
3446
|
-
EEK =
|
|
3447
|
-
EGP =
|
|
3448
|
-
ERN =
|
|
3449
|
-
ETB =
|
|
3450
|
-
EUR =
|
|
3451
|
-
FJD =
|
|
3452
|
-
FKP =
|
|
3453
|
-
GBP =
|
|
3454
|
-
GEL =
|
|
3455
|
-
GHS =
|
|
3456
|
-
GIP =
|
|
3457
|
-
GMD =
|
|
3458
|
-
GNF =
|
|
3459
|
-
GRD =
|
|
3460
|
-
GTQ =
|
|
3461
|
-
GYD =
|
|
3462
|
-
HKD =
|
|
3463
|
-
HNL =
|
|
3464
|
-
HRK =
|
|
3465
|
-
HTG =
|
|
3466
|
-
HUF =
|
|
3467
|
-
IDR =
|
|
3468
|
-
ILS =
|
|
3469
|
-
INR =
|
|
3470
|
-
IQD =
|
|
3471
|
-
IRR =
|
|
3472
|
-
ISK =
|
|
3473
|
-
ITL =
|
|
3474
|
-
JMD =
|
|
3475
|
-
JOD =
|
|
3476
|
-
JPY =
|
|
3477
|
-
KES =
|
|
3478
|
-
KGS =
|
|
3479
|
-
KHR =
|
|
3480
|
-
KMF =
|
|
3481
|
-
KPW =
|
|
3482
|
-
KRW =
|
|
3483
|
-
KWD =
|
|
3484
|
-
KYD =
|
|
3485
|
-
KZT =
|
|
3486
|
-
LAK =
|
|
3487
|
-
LBP =
|
|
3488
|
-
LKR =
|
|
3489
|
-
LRD =
|
|
3490
|
-
LSL =
|
|
3491
|
-
LTC =
|
|
3492
|
-
LTL =
|
|
3493
|
-
LVL =
|
|
3494
|
-
LYD =
|
|
3495
|
-
MAD =
|
|
3496
|
-
MDL =
|
|
3497
|
-
MGA =
|
|
3498
|
-
MKD =
|
|
3499
|
-
MMK =
|
|
3500
|
-
MNT =
|
|
3501
|
-
MOP =
|
|
3502
|
-
MRO =
|
|
3503
|
-
MRU =
|
|
3504
|
-
MUR =
|
|
3505
|
-
MVR =
|
|
3506
|
-
MWK =
|
|
3507
|
-
MXN =
|
|
3508
|
-
MYR =
|
|
3509
|
-
MZM =
|
|
3510
|
-
NAD =
|
|
3511
|
-
NGN =
|
|
3512
|
-
NIO =
|
|
3513
|
-
NOK =
|
|
3514
|
-
NPR =
|
|
3515
|
-
NZD =
|
|
3516
|
-
OMR =
|
|
3517
|
-
PAB =
|
|
3518
|
-
PEN =
|
|
3519
|
-
PGK =
|
|
3520
|
-
PHP =
|
|
3521
|
-
PKR =
|
|
3522
|
-
PLN =
|
|
3523
|
-
PYG =
|
|
3524
|
-
QAR =
|
|
3525
|
-
RON =
|
|
3526
|
-
RSD =
|
|
3527
|
-
RUB =
|
|
3528
|
-
RWF =
|
|
3529
|
-
SAR =
|
|
3530
|
-
SBD =
|
|
3531
|
-
SCR =
|
|
3532
|
-
SDG =
|
|
3533
|
-
SEK =
|
|
3534
|
-
SGD =
|
|
3535
|
-
SHP =
|
|
3536
|
-
SKK =
|
|
3537
|
-
SLL =
|
|
3538
|
-
SOS =
|
|
3539
|
-
SRD =
|
|
3540
|
-
SSP =
|
|
3541
|
-
STD =
|
|
3542
|
-
SVC =
|
|
3543
|
-
SYP =
|
|
3544
|
-
SZL =
|
|
3545
|
-
THB =
|
|
3546
|
-
TJS =
|
|
3547
|
-
TMT =
|
|
3548
|
-
TND =
|
|
3549
|
-
TOP =
|
|
3550
|
-
TRY =
|
|
3551
|
-
TTD =
|
|
3552
|
-
TWD =
|
|
3553
|
-
TZS =
|
|
3554
|
-
UAH =
|
|
3555
|
-
UGX =
|
|
3556
|
-
USD =
|
|
3557
|
-
UYU =
|
|
3558
|
-
UZS =
|
|
3559
|
-
VEF =
|
|
3560
|
-
VND =
|
|
3561
|
-
VUV =
|
|
3562
|
-
WST =
|
|
3563
|
-
XAF =
|
|
3564
|
-
XCD =
|
|
3565
|
-
XDR =
|
|
3566
|
-
XOF =
|
|
3567
|
-
XPF =
|
|
3568
|
-
YER =
|
|
3569
|
-
ZAR =
|
|
3570
|
-
ZMK =
|
|
3571
|
-
ZWL =
|
|
3474
|
+
AED = "AED",
|
|
3475
|
+
AFA = "AFA",
|
|
3476
|
+
ALL = "ALL",
|
|
3477
|
+
AMD = "AMD",
|
|
3478
|
+
ANG = "ANG",
|
|
3479
|
+
AOA = "AOA",
|
|
3480
|
+
ARS = "ARS",
|
|
3481
|
+
AUD = "AUD",
|
|
3482
|
+
AWG = "AWG",
|
|
3483
|
+
AZN = "AZN",
|
|
3484
|
+
BAM = "BAM",
|
|
3485
|
+
BBD = "BBD",
|
|
3486
|
+
BDT = "BDT",
|
|
3487
|
+
BEF = "BEF",
|
|
3488
|
+
BGN = "BGN",
|
|
3489
|
+
BHD = "BHD",
|
|
3490
|
+
BIF = "BIF",
|
|
3491
|
+
BMD = "BMD",
|
|
3492
|
+
BND = "BND",
|
|
3493
|
+
BOB = "BOB",
|
|
3494
|
+
BRL = "BRL",
|
|
3495
|
+
BSD = "BSD",
|
|
3496
|
+
BTC = "BTC",
|
|
3497
|
+
BTN = "BTN",
|
|
3498
|
+
BWP = "BWP",
|
|
3499
|
+
BYR = "BYR",
|
|
3500
|
+
BZD = "BZD",
|
|
3501
|
+
CAD = "CAD",
|
|
3502
|
+
CDF = "CDF",
|
|
3503
|
+
CHF = "CHF",
|
|
3504
|
+
CLF = "CLF",
|
|
3505
|
+
CLP = "CLP",
|
|
3506
|
+
CNY = "CNY",
|
|
3507
|
+
COP = "COP",
|
|
3508
|
+
CRC = "CRC",
|
|
3509
|
+
CUC = "CUC",
|
|
3510
|
+
CVE = "CVE",
|
|
3511
|
+
CZK = "CZK",
|
|
3512
|
+
DEM = "DEM",
|
|
3513
|
+
DJF = "DJF",
|
|
3514
|
+
DKK = "DKK",
|
|
3515
|
+
DOP = "DOP",
|
|
3516
|
+
DZD = "DZD",
|
|
3517
|
+
EEK = "EEK",
|
|
3518
|
+
EGP = "EGP",
|
|
3519
|
+
ERN = "ERN",
|
|
3520
|
+
ETB = "ETB",
|
|
3521
|
+
EUR = "EUR",
|
|
3522
|
+
FJD = "FJD",
|
|
3523
|
+
FKP = "FKP",
|
|
3524
|
+
GBP = "GBP",
|
|
3525
|
+
GEL = "GEL",
|
|
3526
|
+
GHS = "GHS",
|
|
3527
|
+
GIP = "GIP",
|
|
3528
|
+
GMD = "GMD",
|
|
3529
|
+
GNF = "GNF",
|
|
3530
|
+
GRD = "GRD",
|
|
3531
|
+
GTQ = "GTQ",
|
|
3532
|
+
GYD = "GYD",
|
|
3533
|
+
HKD = "HKD",
|
|
3534
|
+
HNL = "HNL",
|
|
3535
|
+
HRK = "HRK",
|
|
3536
|
+
HTG = "HTG",
|
|
3537
|
+
HUF = "HUF",
|
|
3538
|
+
IDR = "IDR",
|
|
3539
|
+
ILS = "ILS",
|
|
3540
|
+
INR = "INR",
|
|
3541
|
+
IQD = "IQD",
|
|
3542
|
+
IRR = "IRR",
|
|
3543
|
+
ISK = "ISK",
|
|
3544
|
+
ITL = "ITL",
|
|
3545
|
+
JMD = "JMD",
|
|
3546
|
+
JOD = "JOD",
|
|
3547
|
+
JPY = "JPY",
|
|
3548
|
+
KES = "KES",
|
|
3549
|
+
KGS = "KGS",
|
|
3550
|
+
KHR = "KHR",
|
|
3551
|
+
KMF = "KMF",
|
|
3552
|
+
KPW = "KPW",
|
|
3553
|
+
KRW = "KRW",
|
|
3554
|
+
KWD = "KWD",
|
|
3555
|
+
KYD = "KYD",
|
|
3556
|
+
KZT = "KZT",
|
|
3557
|
+
LAK = "LAK",
|
|
3558
|
+
LBP = "LBP",
|
|
3559
|
+
LKR = "LKR",
|
|
3560
|
+
LRD = "LRD",
|
|
3561
|
+
LSL = "LSL",
|
|
3562
|
+
LTC = "LTC",
|
|
3563
|
+
LTL = "LTL",
|
|
3564
|
+
LVL = "LVL",
|
|
3565
|
+
LYD = "LYD",
|
|
3566
|
+
MAD = "MAD",
|
|
3567
|
+
MDL = "MDL",
|
|
3568
|
+
MGA = "MGA",
|
|
3569
|
+
MKD = "MKD",
|
|
3570
|
+
MMK = "MMK",
|
|
3571
|
+
MNT = "MNT",
|
|
3572
|
+
MOP = "MOP",
|
|
3573
|
+
MRO = "MRO",
|
|
3574
|
+
MRU = "MRU",
|
|
3575
|
+
MUR = "MUR",
|
|
3576
|
+
MVR = "MVR",
|
|
3577
|
+
MWK = "MWK",
|
|
3578
|
+
MXN = "MXN",
|
|
3579
|
+
MYR = "MYR",
|
|
3580
|
+
MZM = "MZM",
|
|
3581
|
+
NAD = "NAD",
|
|
3582
|
+
NGN = "NGN",
|
|
3583
|
+
NIO = "NIO",
|
|
3584
|
+
NOK = "NOK",
|
|
3585
|
+
NPR = "NPR",
|
|
3586
|
+
NZD = "NZD",
|
|
3587
|
+
OMR = "OMR",
|
|
3588
|
+
PAB = "PAB",
|
|
3589
|
+
PEN = "PEN",
|
|
3590
|
+
PGK = "PGK",
|
|
3591
|
+
PHP = "PHP",
|
|
3592
|
+
PKR = "PKR",
|
|
3593
|
+
PLN = "PLN",
|
|
3594
|
+
PYG = "PYG",
|
|
3595
|
+
QAR = "QAR",
|
|
3596
|
+
RON = "RON",
|
|
3597
|
+
RSD = "RSD",
|
|
3598
|
+
RUB = "RUB",
|
|
3599
|
+
RWF = "RWF",
|
|
3600
|
+
SAR = "SAR",
|
|
3601
|
+
SBD = "SBD",
|
|
3602
|
+
SCR = "SCR",
|
|
3603
|
+
SDG = "SDG",
|
|
3604
|
+
SEK = "SEK",
|
|
3605
|
+
SGD = "SGD",
|
|
3606
|
+
SHP = "SHP",
|
|
3607
|
+
SKK = "SKK",
|
|
3608
|
+
SLL = "SLL",
|
|
3609
|
+
SOS = "SOS",
|
|
3610
|
+
SRD = "SRD",
|
|
3611
|
+
SSP = "SSP",
|
|
3612
|
+
STD = "STD",
|
|
3613
|
+
SVC = "SVC",
|
|
3614
|
+
SYP = "SYP",
|
|
3615
|
+
SZL = "SZL",
|
|
3616
|
+
THB = "THB",
|
|
3617
|
+
TJS = "TJS",
|
|
3618
|
+
TMT = "TMT",
|
|
3619
|
+
TND = "TND",
|
|
3620
|
+
TOP = "TOP",
|
|
3621
|
+
TRY = "TRY",
|
|
3622
|
+
TTD = "TTD",
|
|
3623
|
+
TWD = "TWD",
|
|
3624
|
+
TZS = "TZS",
|
|
3625
|
+
UAH = "UAH",
|
|
3626
|
+
UGX = "UGX",
|
|
3627
|
+
USD = "USD",
|
|
3628
|
+
UYU = "UYU",
|
|
3629
|
+
UZS = "UZS",
|
|
3630
|
+
VEF = "VEF",
|
|
3631
|
+
VND = "VND",
|
|
3632
|
+
VUV = "VUV",
|
|
3633
|
+
WST = "WST",
|
|
3634
|
+
XAF = "XAF",
|
|
3635
|
+
XCD = "XCD",
|
|
3636
|
+
XDR = "XDR",
|
|
3637
|
+
XOF = "XOF",
|
|
3638
|
+
XPF = "XPF",
|
|
3639
|
+
YER = "YER",
|
|
3640
|
+
ZAR = "ZAR",
|
|
3641
|
+
ZMK = "ZMK",
|
|
3642
|
+
ZWL = "ZWL"
|
|
3572
3643
|
}
|
|
3573
3644
|
|
|
3574
3645
|
export declare type BentoCurrencyListboxOptionItem = OmitStrict<BentoListboxOptionItem, 'value'> & {
|
|
@@ -3582,22 +3653,18 @@ export declare interface BentoCurrencyProps {
|
|
|
3582
3653
|
* Currency code based on the ISO 4217 standard
|
|
3583
3654
|
*/
|
|
3584
3655
|
currency?: BentoCurrencyISOCode | `${BentoCurrencyISOCode}`;
|
|
3585
|
-
|
|
3586
3656
|
/**
|
|
3587
3657
|
* Disable the default typography for the component. Only use this when the component is inside another typography component.
|
|
3588
3658
|
*/
|
|
3589
3659
|
disableTypography?: boolean;
|
|
3590
|
-
|
|
3591
3660
|
/**
|
|
3592
3661
|
* Accepts currency value in major units instead of minor ones
|
|
3593
3662
|
*/
|
|
3594
3663
|
majorUnits?: boolean;
|
|
3595
|
-
|
|
3596
3664
|
/**
|
|
3597
3665
|
* Currency value to be formatted
|
|
3598
3666
|
*/
|
|
3599
3667
|
value?: number;
|
|
3600
|
-
|
|
3601
3668
|
/**
|
|
3602
3669
|
* Determines how the currency symbol and negative values are displayed.
|
|
3603
3670
|
* This is only applicable to certain countries such as `en-US`.
|
|
@@ -3636,7 +3703,7 @@ export declare interface BentoCurrencyProps {
|
|
|
3636
3703
|
* `
|
|
3637
3704
|
* }
|
|
3638
3705
|
*/
|
|
3639
|
-
export declare const BentoDashboardSection: __VLS_WithTemplateSlots_53<DefineComponent<
|
|
3706
|
+
export declare const BentoDashboardSection: __VLS_WithTemplateSlots_53<DefineComponent<__VLS_WithDefaults_50<__VLS_TypePropsToRuntimeProps_53<{
|
|
3640
3707
|
/**
|
|
3641
3708
|
* The header of the section
|
|
3642
3709
|
*/
|
|
@@ -3647,7 +3714,7 @@ header: BentoDashboardTemplateHeader;
|
|
|
3647
3714
|
halfWidth?: boolean;
|
|
3648
3715
|
}>, {
|
|
3649
3716
|
halfWidth: boolean;
|
|
3650
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
3717
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_50<__VLS_TypePropsToRuntimeProps_53<{
|
|
3651
3718
|
/**
|
|
3652
3719
|
* The header of the section
|
|
3653
3720
|
*/
|
|
@@ -3695,7 +3762,7 @@ halfWidth: boolean;
|
|
|
3695
3762
|
* `
|
|
3696
3763
|
* }
|
|
3697
3764
|
*/
|
|
3698
|
-
export declare const BentoDashboardTemplate: __VLS_WithTemplateSlots_52<DefineComponent<
|
|
3765
|
+
export declare const BentoDashboardTemplate: __VLS_WithTemplateSlots_52<DefineComponent<__VLS_WithDefaults_49<__VLS_TypePropsToRuntimeProps_52<{
|
|
3699
3766
|
/**
|
|
3700
3767
|
* The header that goes to the top of the template
|
|
3701
3768
|
*/
|
|
@@ -3718,7 +3785,7 @@ stickyFilters?: boolean;
|
|
|
3718
3785
|
tabs: any;
|
|
3719
3786
|
stickyTabs: boolean;
|
|
3720
3787
|
stickyFilters: boolean;
|
|
3721
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
3788
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_49<__VLS_TypePropsToRuntimeProps_52<{
|
|
3722
3789
|
/**
|
|
3723
3790
|
* The header that goes to the top of the template
|
|
3724
3791
|
*/
|
|
@@ -3797,11 +3864,11 @@ disabled: boolean;
|
|
|
3797
3864
|
tooltipText: any;
|
|
3798
3865
|
tooltipPosition: string;
|
|
3799
3866
|
}>>>, {
|
|
3800
|
-
tooltipPosition:
|
|
3867
|
+
tooltipPosition: BentoTooltipPosition_2 | `${BentoTooltipPosition_2}`;
|
|
3801
3868
|
tooltipText: string;
|
|
3869
|
+
teleport: BentoDashedUnderlineTeleport;
|
|
3802
3870
|
popoverText: string;
|
|
3803
3871
|
popoverPosition: BentoPopoverPositions | `${BentoPopoverPositions}`;
|
|
3804
|
-
teleport: BentoDashedUnderlineTeleport;
|
|
3805
3872
|
popoverTitle: string;
|
|
3806
3873
|
popoverSize: "default" | "fit-content" | "large" | "small";
|
|
3807
3874
|
}>, {
|
|
@@ -3838,7 +3905,7 @@ export declare interface BentoDashedUnderlineProps {
|
|
|
3838
3905
|
/**
|
|
3839
3906
|
* Position the tooltip should take if space is available.
|
|
3840
3907
|
*/
|
|
3841
|
-
tooltipPosition?:
|
|
3908
|
+
tooltipPosition?: BentoTooltipPosition_2 | `${BentoTooltipPosition_2}`;
|
|
3842
3909
|
}
|
|
3843
3910
|
|
|
3844
3911
|
export declare type BentoDashedUnderlineTeleport = BentoTeleportProps;
|
|
@@ -4163,9 +4230,16 @@ truncateColumnHeaders: {
|
|
|
4163
4230
|
type: BooleanConstructor;
|
|
4164
4231
|
default: boolean;
|
|
4165
4232
|
};
|
|
4233
|
+
/**
|
|
4234
|
+
* Toggles the alternating background color of rows.
|
|
4235
|
+
*/
|
|
4236
|
+
zebraRows: {
|
|
4237
|
+
type: BooleanConstructor;
|
|
4238
|
+
default: boolean;
|
|
4239
|
+
};
|
|
4166
4240
|
}, {
|
|
4167
4241
|
onEmptyStateClearResetButtonClick: () => void;
|
|
4168
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoDatagridEvent[], string, Readonly<ExtractPropTypes< {
|
|
4242
|
+
}, {}, {}, {}, 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< {
|
|
4169
4243
|
/**
|
|
4170
4244
|
* When true, will emit a 'rowClick' event when a row is clicked. Will add cursor: pointer to rows.
|
|
4171
4245
|
*/
|
|
@@ -4462,11 +4536,18 @@ truncateColumnHeaders: {
|
|
|
4462
4536
|
type: BooleanConstructor;
|
|
4463
4537
|
default: boolean;
|
|
4464
4538
|
};
|
|
4539
|
+
/**
|
|
4540
|
+
* Toggles the alternating background color of rows.
|
|
4541
|
+
*/
|
|
4542
|
+
zebraRows: {
|
|
4543
|
+
type: BooleanConstructor;
|
|
4544
|
+
default: boolean;
|
|
4545
|
+
};
|
|
4465
4546
|
}>>, {
|
|
4466
4547
|
filters: BentoFilterBarModel;
|
|
4467
4548
|
condensed: boolean;
|
|
4468
|
-
loading: boolean;
|
|
4469
4549
|
outline: boolean;
|
|
4550
|
+
loading: boolean;
|
|
4470
4551
|
fitContent: boolean;
|
|
4471
4552
|
lazyLoadType: BentoLazyLoadType;
|
|
4472
4553
|
emptyState: any;
|
|
@@ -4476,6 +4557,7 @@ selectable: boolean;
|
|
|
4476
4557
|
selectableAcrossPages: boolean;
|
|
4477
4558
|
sortBy: BentoDatagridSortByColumn[];
|
|
4478
4559
|
truncateColumnHeaders: boolean;
|
|
4560
|
+
zebraRows: boolean;
|
|
4479
4561
|
getDataItemId: BentoDatagridGetDataItemIdFn;
|
|
4480
4562
|
isDataItemDisabled: BentoDatagridIsDataItemDisabledFn;
|
|
4481
4563
|
rowActions: BentoDataGridRowActionsProp;
|
|
@@ -4545,6 +4627,7 @@ export declare enum BentoDatagridEvent {
|
|
|
4545
4627
|
UPDATE_SELECTION = "update:selection",
|
|
4546
4628
|
UPDATE_SHOW_MORE = "update:show-more",
|
|
4547
4629
|
UPDATE_SORT_BY = "update:sort-by",
|
|
4630
|
+
UPDATE_ZEBRA_ROWS = "update:zebra-rows",
|
|
4548
4631
|
ROW_CLICK = "row-click",
|
|
4549
4632
|
SELECT = "select",
|
|
4550
4633
|
SELECT_ALL_ACROSS_PAGES = "select-all-across-pages",
|
|
@@ -4636,7 +4719,8 @@ export declare enum BentoDatagridStyleState {
|
|
|
4636
4719
|
OVERFLOW_SHADOW_LEFT = "overflow-shadow-left",
|
|
4637
4720
|
OVERFLOW_SHADOW_RIGHT = "overflow-shadow-right",
|
|
4638
4721
|
NO_SPACING_TOP = "no-spacing-top",
|
|
4639
|
-
FIT_CONTENT = "fit-content"
|
|
4722
|
+
FIT_CONTENT = "fit-content",
|
|
4723
|
+
ZEBRA_ROWS = "zebra-rows"
|
|
4640
4724
|
}
|
|
4641
4725
|
|
|
4642
4726
|
/**
|
|
@@ -4885,8 +4969,8 @@ tabs: BentoDataGridTemplateTabs;
|
|
|
4885
4969
|
inspector: {
|
|
4886
4970
|
title: string;
|
|
4887
4971
|
isOpen?: boolean;
|
|
4888
|
-
loading?: boolean;
|
|
4889
4972
|
size?: BentoInspectorSize;
|
|
4973
|
+
loading?: boolean;
|
|
4890
4974
|
expandable?: boolean;
|
|
4891
4975
|
relativeLayout?: BentoInspectorRelativeLayout;
|
|
4892
4976
|
pageFocusAnchor?: HTMLElement;
|
|
@@ -4936,11 +5020,11 @@ export declare type BentoDataGridTemplateTabs = {
|
|
|
4936
5020
|
* `
|
|
4937
5021
|
* }
|
|
4938
5022
|
*/
|
|
4939
|
-
export declare const BentoDate: DefineComponent<
|
|
5023
|
+
export declare const BentoDate: DefineComponent<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_16<BentoDateProps>, {
|
|
4940
5024
|
date: any;
|
|
4941
5025
|
format: BentoDateFormat;
|
|
4942
5026
|
disableTypography: boolean;
|
|
4943
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
5027
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_16<BentoDateProps>, {
|
|
4944
5028
|
date: any;
|
|
4945
5029
|
format: BentoDateFormat;
|
|
4946
5030
|
disableTypography: boolean;
|
|
@@ -5495,54 +5579,7 @@ hasActions: {
|
|
|
5495
5579
|
type: BooleanConstructor;
|
|
5496
5580
|
default: boolean;
|
|
5497
5581
|
};
|
|
5498
|
-
}, {
|
|
5499
|
-
inputContainerRef: any;
|
|
5500
|
-
adjustedQuickSelectRanges: ComputedRef<DateRangePickerCalendarRangeSelectorItem[]>;
|
|
5501
|
-
dateDisplayValue: ComputedRef<string>;
|
|
5502
|
-
datePickerContainerId: string;
|
|
5503
|
-
descriptionConditionalClasses: ComputedRef< {
|
|
5504
|
-
'b-date-range-picker__description--error': boolean;
|
|
5505
|
-
}>;
|
|
5506
|
-
displayedTextInputValue: ComputedRef<DateRangePickerCalendarFormData>;
|
|
5507
|
-
displayedDateValue: ComputedRef<string>;
|
|
5508
|
-
isDateIncorrect: Ref<boolean>;
|
|
5509
|
-
isDateRangePickerOpen: Ref<boolean>;
|
|
5510
|
-
isReadOnly: ComputedRef<boolean>;
|
|
5511
|
-
labelId: string;
|
|
5512
|
-
descriptionId: string;
|
|
5513
|
-
dateErrorId: string;
|
|
5514
|
-
errorId: string;
|
|
5515
|
-
popoverAriaLabel: ComputedRef<string>;
|
|
5516
|
-
shouldDisplayError: ComputedRef<boolean>;
|
|
5517
|
-
ariaDescribedBy: ComputedRef<string>;
|
|
5518
|
-
textInputDisplayValue: DateRangePickerCalendarFormData;
|
|
5519
|
-
rangePickerButtonActions: ComputedRef<({
|
|
5520
|
-
title: string;
|
|
5521
|
-
event: () => void;
|
|
5522
|
-
disabled: boolean;
|
|
5523
|
-
} | {
|
|
5524
|
-
title: string;
|
|
5525
|
-
event: () => void;
|
|
5526
|
-
disabled?: undefined;
|
|
5527
|
-
})[]>;
|
|
5528
|
-
BentoButtonActionsLayout: {
|
|
5529
|
-
BUTTONS_START: import("../../components/button").BentoButtonActionsLayoutExtended.BUTTONS_START;
|
|
5530
|
-
BUTTONS_END: import("../../components/button").BentoButtonActionsLayoutBasic.BUTTONS_END;
|
|
5531
|
-
FILL_CONTAINER: import("../../components/button").BentoButtonActionsLayoutBasic.FILL_CONTAINER;
|
|
5532
|
-
SPACE_BETWEEN: import("../../components/button").BentoButtonActionsLayoutBasic.SPACE_BETWEEN;
|
|
5533
|
-
VERTICAL_STACK: import("../../components/button").BentoButtonActionsLayoutBasic.VERTICAL_STACK;
|
|
5534
|
-
};
|
|
5535
|
-
withTimeInput: ComputedRef<boolean>;
|
|
5536
|
-
closeDateRangePicker: () => void;
|
|
5537
|
-
clearDateRangePickerValue: () => Promise<void>;
|
|
5538
|
-
openDateRangePicker: () => void;
|
|
5539
|
-
onRangeSelectorInput: (quickSelectRanges?: BentoDateRangePickerValue) => void;
|
|
5540
|
-
onEnterPressedOverInput: () => void;
|
|
5541
|
-
onDateRangePickerInput: (selectedRange: BentoDateRangePickerValue) => void;
|
|
5542
|
-
onDateRangePickerError: (dateTextInput: any) => void;
|
|
5543
|
-
onDateRangePickerFormDateInputUpdate: (dateFormDate: DateRangePickerCalendarFormData) => void;
|
|
5544
|
-
t: (key: "cancel" | "apply" | "selectDate" | "provideDateInAFormat" | "selectDateRange" | "selectedDateIsNotAvailable" | "quarter" | "dateRangePicker", values?: default_2.Values) => string;
|
|
5545
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoDateRangePickerEvent[], string, Readonly<ExtractPropTypes< {
|
|
5582
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoDateRangePickerEvent[], string, Readonly<ExtractPropTypes< {
|
|
5546
5583
|
/**
|
|
5547
5584
|
* Allows user to enter time values in the form
|
|
5548
5585
|
*/
|
|
@@ -5754,9 +5791,9 @@ export declare interface BentoDateRangePickerValue {
|
|
|
5754
5791
|
* template: `<bento-divider />`
|
|
5755
5792
|
* }
|
|
5756
5793
|
*/
|
|
5757
|
-
export declare const BentoDivider: DefineComponent<
|
|
5794
|
+
export declare const BentoDivider: DefineComponent<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_17<BentoDividerProps>, {
|
|
5758
5795
|
variant: BentoDividerVariant;
|
|
5759
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
5796
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_17<BentoDividerProps>, {
|
|
5760
5797
|
variant: BentoDividerVariant;
|
|
5761
5798
|
}>>>, {
|
|
5762
5799
|
variant: `${BentoDividerVariant}`;
|
|
@@ -5882,12 +5919,12 @@ label: string;
|
|
|
5882
5919
|
required: boolean;
|
|
5883
5920
|
condensed: boolean;
|
|
5884
5921
|
disabled: boolean;
|
|
5885
|
-
loading: boolean;
|
|
5886
5922
|
error: boolean;
|
|
5887
5923
|
optional: boolean;
|
|
5888
5924
|
readonly: boolean;
|
|
5889
5925
|
size: BentoDropdownSize | `${BentoDropdownSize}`;
|
|
5890
5926
|
multiple: boolean;
|
|
5927
|
+
loading: boolean;
|
|
5891
5928
|
tooltipText: string;
|
|
5892
5929
|
errorMessage: string;
|
|
5893
5930
|
ariaLabel: string;
|
|
@@ -5935,18 +5972,75 @@ enableValueLabelPair: boolean;
|
|
|
5935
5972
|
* }
|
|
5936
5973
|
* }
|
|
5937
5974
|
*/
|
|
5938
|
-
export declare const BentoDropdownAvatar: DefineComponent<
|
|
5975
|
+
export declare const BentoDropdownAvatar: DefineComponent<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_9<BentoDropdownAvatarProps>, {
|
|
5976
|
+
items: () => any[];
|
|
5977
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
5978
|
+
input: (selectedValue: BentoListboxSelectedValue) => void;
|
|
5979
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_9<BentoDropdownAvatarProps>, {
|
|
5980
|
+
items: () => any[];
|
|
5981
|
+
}>>>, {
|
|
5982
|
+
items: BentoAvatarListboxOptions;
|
|
5983
|
+
}>;
|
|
5984
|
+
|
|
5985
|
+
export declare interface BentoDropdownAvatarProps extends BentoDropdownProps {
|
|
5986
|
+
/**
|
|
5987
|
+
* The option elements to populate the avatar dropdown with.
|
|
5988
|
+
* It must be an array of {@see BentoAvatarListboxOptions }
|
|
5989
|
+
* @property {string} value.label - Text to be displayed in the option.
|
|
5990
|
+
* @property {string | number} value.value - Value of the option.
|
|
5991
|
+
* @property {string} value.src - Image source of the avatar image.
|
|
5992
|
+
*/
|
|
5993
|
+
items?: BentoAvatarListboxOptions;
|
|
5994
|
+
}
|
|
5995
|
+
|
|
5996
|
+
/**
|
|
5997
|
+
* A Country Dropdown showing a selectable list of countries.
|
|
5998
|
+
*
|
|
5999
|
+
* @example
|
|
6000
|
+
* import { BentoDropdownCountry, BentoCountryCode } from '../../../../..';
|
|
6001
|
+
* import type { BentoCountryListboxOptions } from '../../../../..'
|
|
6002
|
+
*
|
|
6003
|
+
* export default {
|
|
6004
|
+
* components: { BentoDropdown },
|
|
6005
|
+
* template: `
|
|
6006
|
+
* <bento-dropdown-country
|
|
6007
|
+
* v-model="selectedValue"
|
|
6008
|
+
* :disabled="false"
|
|
6009
|
+
* :multiple="true"
|
|
6010
|
+
* :isOptionsDisabled="option => option.value === 2"
|
|
6011
|
+
* :items="options"
|
|
6012
|
+
* />
|
|
6013
|
+
* `,
|
|
6014
|
+
* setup() {
|
|
6015
|
+
* const selectedValue = ref(BentoCountryCode.NL) // Default value
|
|
6016
|
+
* const options: BentoCountryListboxOptions = [
|
|
6017
|
+
* { label: 'Option 1', value: BentoCountryCode.NL },
|
|
6018
|
+
* { label: 'Option 2', value: BentoCountryCode.BE },
|
|
6019
|
+
* ];
|
|
6020
|
+
* return { options, selectedValue };
|
|
6021
|
+
* }
|
|
6022
|
+
* }
|
|
6023
|
+
*/
|
|
6024
|
+
export declare const BentoDropdownCountry: DefineComponent< {
|
|
5939
6025
|
/**
|
|
5940
|
-
* The option elements to populate the
|
|
5941
|
-
* It must be an array of {@see
|
|
5942
|
-
* * @
|
|
5943
|
-
* * @property {string
|
|
5944
|
-
* * @property {string} value.src - Image source of the avatar image.
|
|
6026
|
+
* The option elements to populate the country dropdown with.
|
|
6027
|
+
* It must be an array of {@see BentoCountryListboxOptions }
|
|
6028
|
+
* * @deprecated {string} value.label - Use BentoDropdown instead of custom labels
|
|
6029
|
+
* * @property {BentoCountryCode | string} value.value - Country code of the option
|
|
5945
6030
|
*/
|
|
5946
6031
|
items: {
|
|
5947
|
-
type: PropType<
|
|
6032
|
+
type: PropType<BentoCountryListboxOptions>;
|
|
5948
6033
|
default: () => any[];
|
|
5949
6034
|
};
|
|
6035
|
+
/**
|
|
6036
|
+
* Which label variant to display.
|
|
6037
|
+
* @values iso, name, phone_code, capital
|
|
6038
|
+
*/
|
|
6039
|
+
variant: {
|
|
6040
|
+
type: PropType<BentoCountryVariant | `${BentoCountryVariant}`>;
|
|
6041
|
+
default: BentoCountryVariant;
|
|
6042
|
+
validator: (value: BentoCountryVariant) => boolean;
|
|
6043
|
+
};
|
|
5950
6044
|
search: {
|
|
5951
6045
|
type: PropType<BentoListboxSearchOptions>;
|
|
5952
6046
|
} & {
|
|
@@ -5982,11 +6076,6 @@ type: PropType<boolean>;
|
|
|
5982
6076
|
} & {
|
|
5983
6077
|
default: boolean;
|
|
5984
6078
|
};
|
|
5985
|
-
loading: {
|
|
5986
|
-
type: PropType<boolean>;
|
|
5987
|
-
} & {
|
|
5988
|
-
default: boolean;
|
|
5989
|
-
};
|
|
5990
6079
|
error: {
|
|
5991
6080
|
type: PropType<boolean>;
|
|
5992
6081
|
} & {
|
|
@@ -6012,6 +6101,11 @@ type: PropType<boolean>;
|
|
|
6012
6101
|
} & {
|
|
6013
6102
|
default: boolean;
|
|
6014
6103
|
};
|
|
6104
|
+
loading: {
|
|
6105
|
+
type: PropType<boolean>;
|
|
6106
|
+
} & {
|
|
6107
|
+
default: boolean;
|
|
6108
|
+
};
|
|
6015
6109
|
tooltipText: {
|
|
6016
6110
|
type: PropType<string>;
|
|
6017
6111
|
} & {
|
|
@@ -6086,16 +6180,24 @@ default: boolean;
|
|
|
6086
6180
|
input: (selectedValue: BentoListboxSelectedValue) => void;
|
|
6087
6181
|
}, string, Readonly<ExtractPropTypes< {
|
|
6088
6182
|
/**
|
|
6089
|
-
* The option elements to populate the
|
|
6090
|
-
* It must be an array of {@see
|
|
6091
|
-
* * @
|
|
6092
|
-
* * @property {string
|
|
6093
|
-
* * @property {string} value.src - Image source of the avatar image.
|
|
6183
|
+
* The option elements to populate the country dropdown with.
|
|
6184
|
+
* It must be an array of {@see BentoCountryListboxOptions }
|
|
6185
|
+
* * @deprecated {string} value.label - Use BentoDropdown instead of custom labels
|
|
6186
|
+
* * @property {BentoCountryCode | string} value.value - Country code of the option
|
|
6094
6187
|
*/
|
|
6095
6188
|
items: {
|
|
6096
|
-
type: PropType<
|
|
6189
|
+
type: PropType<BentoCountryListboxOptions>;
|
|
6097
6190
|
default: () => any[];
|
|
6098
6191
|
};
|
|
6192
|
+
/**
|
|
6193
|
+
* Which label variant to display.
|
|
6194
|
+
* @values iso, name, phone_code, capital
|
|
6195
|
+
*/
|
|
6196
|
+
variant: {
|
|
6197
|
+
type: PropType<BentoCountryVariant | `${BentoCountryVariant}`>;
|
|
6198
|
+
default: BentoCountryVariant;
|
|
6199
|
+
validator: (value: BentoCountryVariant) => boolean;
|
|
6200
|
+
};
|
|
6099
6201
|
search: {
|
|
6100
6202
|
type: PropType<BentoListboxSearchOptions>;
|
|
6101
6203
|
} & {
|
|
@@ -6131,11 +6233,6 @@ type: PropType<boolean>;
|
|
|
6131
6233
|
} & {
|
|
6132
6234
|
default: boolean;
|
|
6133
6235
|
};
|
|
6134
|
-
loading: {
|
|
6135
|
-
type: PropType<boolean>;
|
|
6136
|
-
} & {
|
|
6137
|
-
default: boolean;
|
|
6138
|
-
};
|
|
6139
6236
|
error: {
|
|
6140
6237
|
type: PropType<boolean>;
|
|
6141
6238
|
} & {
|
|
@@ -6161,6 +6258,11 @@ type: PropType<boolean>;
|
|
|
6161
6258
|
} & {
|
|
6162
6259
|
default: boolean;
|
|
6163
6260
|
};
|
|
6261
|
+
loading: {
|
|
6262
|
+
type: PropType<boolean>;
|
|
6263
|
+
} & {
|
|
6264
|
+
default: boolean;
|
|
6265
|
+
};
|
|
6164
6266
|
tooltipText: {
|
|
6165
6267
|
type: PropType<string>;
|
|
6166
6268
|
} & {
|
|
@@ -6236,19 +6338,20 @@ search: BentoListboxSearchOptions;
|
|
|
6236
6338
|
value: BentoListboxSelectedValue;
|
|
6237
6339
|
description: string;
|
|
6238
6340
|
label: string;
|
|
6341
|
+
variant: "name" | "iso" | "phone_code" | "capital" | "custom" | BentoCountryVariant;
|
|
6239
6342
|
required: boolean;
|
|
6240
6343
|
condensed: boolean;
|
|
6241
6344
|
disabled: boolean;
|
|
6242
|
-
loading: boolean;
|
|
6243
6345
|
error: boolean;
|
|
6244
6346
|
optional: boolean;
|
|
6245
6347
|
readonly: boolean;
|
|
6246
6348
|
size: BentoDropdownSize | `${BentoDropdownSize}`;
|
|
6247
6349
|
multiple: boolean;
|
|
6350
|
+
loading: boolean;
|
|
6248
6351
|
tooltipText: string;
|
|
6249
6352
|
errorMessage: string;
|
|
6250
6353
|
ariaLabel: string;
|
|
6251
|
-
items:
|
|
6354
|
+
items: BentoCountryListboxOptions;
|
|
6252
6355
|
isOptionDisabled: BentoListboxIsOptionDisabled;
|
|
6253
6356
|
staticCategories: boolean;
|
|
6254
6357
|
hasMoreItems: boolean;
|
|
@@ -6263,7 +6366,7 @@ enableValueLabelPair: boolean;
|
|
|
6263
6366
|
}>;
|
|
6264
6367
|
|
|
6265
6368
|
/**
|
|
6266
|
-
* A
|
|
6369
|
+
* A Currency Dropdown showing a selectable list of currencies.
|
|
6267
6370
|
*
|
|
6268
6371
|
* @example
|
|
6269
6372
|
* import { BentoDropdownCountry, BentoCountryCode } from '../../../../..';
|
|
@@ -6272,7 +6375,7 @@ enableValueLabelPair: boolean;
|
|
|
6272
6375
|
* export default {
|
|
6273
6376
|
* components: { BentoDropdown },
|
|
6274
6377
|
* template: `
|
|
6275
|
-
* <bento-dropdown-
|
|
6378
|
+
* <bento-dropdown-currency
|
|
6276
6379
|
* v-model="selectedValue"
|
|
6277
6380
|
* :disabled="false"
|
|
6278
6381
|
* :multiple="true"
|
|
@@ -6290,1558 +6393,270 @@ enableValueLabelPair: boolean;
|
|
|
6290
6393
|
* }
|
|
6291
6394
|
* }
|
|
6292
6395
|
*/
|
|
6293
|
-
export declare const
|
|
6294
|
-
|
|
6295
|
-
|
|
6296
|
-
|
|
6297
|
-
|
|
6298
|
-
|
|
6299
|
-
|
|
6300
|
-
items:
|
|
6301
|
-
|
|
6302
|
-
|
|
6303
|
-
|
|
6396
|
+
export declare const BentoDropdownCurrency: DefineComponent<__VLS_WithDefaults_10<__VLS_TypePropsToRuntimeProps_10<BentoDropdownCurrencyProps>, {
|
|
6397
|
+
items: () => any[];
|
|
6398
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6399
|
+
input: (selectedValue: BentoListboxSelectedValue) => void;
|
|
6400
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_10<__VLS_TypePropsToRuntimeProps_10<BentoDropdownCurrencyProps>, {
|
|
6401
|
+
items: () => any[];
|
|
6402
|
+
}>>>, {
|
|
6403
|
+
items: BentoCurrencyListboxOptions;
|
|
6404
|
+
}>;
|
|
6405
|
+
|
|
6406
|
+
export declare interface BentoDropdownCurrencyProps extends BentoDropdownProps {
|
|
6407
|
+
/**
|
|
6408
|
+
* The option elements to populate the currency dropdown with.
|
|
6409
|
+
* It must be an array of {@see BentoCurrencyListboxOptions }
|
|
6410
|
+
* @property {string} value.label - Text to be displayed in the option
|
|
6411
|
+
* @property {BentoCurrencyISOCode} value.code - Currency ISO code of the option
|
|
6412
|
+
*/
|
|
6413
|
+
items?: BentoCurrencyListboxOptions;
|
|
6414
|
+
}
|
|
6415
|
+
|
|
6304
6416
|
/**
|
|
6305
|
-
*
|
|
6306
|
-
* @values iso, name, phone_code, capital
|
|
6307
|
-
*/
|
|
6308
|
-
variant: {
|
|
6309
|
-
type: PropType<BentoCountryVariant | `${BentoCountryVariant}`>;
|
|
6310
|
-
default: BentoCountryVariant;
|
|
6311
|
-
validator: (value: BentoCountryVariant) => boolean;
|
|
6312
|
-
};
|
|
6313
|
-
search: {
|
|
6314
|
-
type: PropType<BentoListboxSearchOptions>;
|
|
6315
|
-
} & {
|
|
6316
|
-
default: any;
|
|
6317
|
-
};
|
|
6318
|
-
value: {
|
|
6319
|
-
type: PropType<BentoListboxSelectedValue>;
|
|
6320
|
-
} & {
|
|
6321
|
-
default: any;
|
|
6322
|
-
};
|
|
6323
|
-
description: {
|
|
6324
|
-
type: PropType<string>;
|
|
6325
|
-
} & {
|
|
6326
|
-
default: any;
|
|
6327
|
-
};
|
|
6328
|
-
label: {
|
|
6329
|
-
type: PropType<string>;
|
|
6330
|
-
} & {
|
|
6331
|
-
default: any;
|
|
6332
|
-
};
|
|
6333
|
-
required: {
|
|
6334
|
-
type: PropType<boolean>;
|
|
6335
|
-
} & {
|
|
6336
|
-
default: boolean;
|
|
6337
|
-
};
|
|
6338
|
-
condensed: {
|
|
6339
|
-
type: PropType<boolean>;
|
|
6340
|
-
} & {
|
|
6341
|
-
default: boolean;
|
|
6342
|
-
};
|
|
6343
|
-
disabled: {
|
|
6344
|
-
type: PropType<boolean>;
|
|
6345
|
-
} & {
|
|
6346
|
-
default: boolean;
|
|
6347
|
-
};
|
|
6348
|
-
loading: {
|
|
6349
|
-
type: PropType<boolean>;
|
|
6350
|
-
} & {
|
|
6351
|
-
default: boolean;
|
|
6352
|
-
};
|
|
6353
|
-
error: {
|
|
6354
|
-
type: PropType<boolean>;
|
|
6355
|
-
} & {
|
|
6356
|
-
default: boolean;
|
|
6357
|
-
};
|
|
6358
|
-
optional: {
|
|
6359
|
-
type: PropType<boolean>;
|
|
6360
|
-
} & {
|
|
6361
|
-
default: boolean;
|
|
6362
|
-
};
|
|
6363
|
-
readonly: {
|
|
6364
|
-
type: PropType<boolean>;
|
|
6365
|
-
} & {
|
|
6366
|
-
default: boolean;
|
|
6367
|
-
};
|
|
6368
|
-
size: {
|
|
6369
|
-
type: PropType<BentoDropdownSize | "DropdownInputDefault" | "DropdownInputSmall">;
|
|
6370
|
-
} & {
|
|
6371
|
-
default: any;
|
|
6372
|
-
};
|
|
6373
|
-
multiple: {
|
|
6374
|
-
type: PropType<boolean>;
|
|
6375
|
-
} & {
|
|
6376
|
-
default: boolean;
|
|
6377
|
-
};
|
|
6378
|
-
tooltipText: {
|
|
6379
|
-
type: PropType<string>;
|
|
6380
|
-
} & {
|
|
6381
|
-
default: any;
|
|
6382
|
-
};
|
|
6383
|
-
errorMessage: {
|
|
6384
|
-
type: PropType<string>;
|
|
6385
|
-
} & {
|
|
6386
|
-
default: any;
|
|
6387
|
-
};
|
|
6388
|
-
ariaLabel: {
|
|
6389
|
-
type: PropType<string>;
|
|
6390
|
-
} & {
|
|
6391
|
-
default: any;
|
|
6392
|
-
};
|
|
6393
|
-
isOptionDisabled: {
|
|
6394
|
-
type: PropType<(optionValue: BentoListboxOptionItem) => boolean>;
|
|
6395
|
-
} & {
|
|
6396
|
-
default: any;
|
|
6397
|
-
};
|
|
6398
|
-
staticCategories: {
|
|
6399
|
-
type: PropType<boolean>;
|
|
6400
|
-
} & {
|
|
6401
|
-
default: boolean;
|
|
6402
|
-
};
|
|
6403
|
-
hasMoreItems: {
|
|
6404
|
-
type: PropType<boolean>;
|
|
6405
|
-
} & {
|
|
6406
|
-
default: boolean;
|
|
6407
|
-
};
|
|
6408
|
-
lazyLoadType: {
|
|
6409
|
-
type: PropType<"button" | "none" | "automatic" | BentoListboxLazyLoadType>;
|
|
6410
|
-
} & {
|
|
6411
|
-
default: BentoListboxLazyLoadType;
|
|
6412
|
-
};
|
|
6413
|
-
emptyState: {
|
|
6414
|
-
type: PropType<BentoListboxEmptyStateProps>;
|
|
6415
|
-
} & {
|
|
6416
|
-
default: any;
|
|
6417
|
-
};
|
|
6418
|
-
componentLoading: {
|
|
6419
|
-
type: PropType<boolean>;
|
|
6420
|
-
} & {
|
|
6421
|
-
default: boolean;
|
|
6422
|
-
};
|
|
6423
|
-
virtualScroll: {
|
|
6424
|
-
type: PropType<BentoListboxVirtulisationOptions>;
|
|
6425
|
-
} & {
|
|
6426
|
-
default: boolean;
|
|
6427
|
-
};
|
|
6428
|
-
dynamicFiltering: {
|
|
6429
|
-
type: PropType<boolean>;
|
|
6430
|
-
} & {
|
|
6431
|
-
default: boolean;
|
|
6432
|
-
};
|
|
6433
|
-
placeholder: {
|
|
6434
|
-
type: PropType<string>;
|
|
6435
|
-
} & {
|
|
6436
|
-
default: any;
|
|
6437
|
-
};
|
|
6438
|
-
showSlotContentInMultiple: {
|
|
6439
|
-
type: PropType<boolean>;
|
|
6440
|
-
} & {
|
|
6441
|
-
default: boolean;
|
|
6442
|
-
};
|
|
6443
|
-
enableValueLabelPair: {
|
|
6444
|
-
type: PropType<boolean>;
|
|
6445
|
-
} & {
|
|
6446
|
-
default: boolean;
|
|
6447
|
-
};
|
|
6448
|
-
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6449
|
-
input: (selectedValue: BentoListboxSelectedValue) => void;
|
|
6450
|
-
}, string, Readonly<ExtractPropTypes< {
|
|
6451
|
-
/**
|
|
6452
|
-
* The option elements to populate the country dropdown with.
|
|
6453
|
-
* It must be an array of {@see BentoCountryListboxOptions }
|
|
6454
|
-
* * @deprecated {string} value.label - Use BentoDropdown instead of custom labels
|
|
6455
|
-
* * @property {BentoCountryCode | string} value.value - Country code of the option
|
|
6456
|
-
*/
|
|
6457
|
-
items: {
|
|
6458
|
-
type: PropType<BentoCountryListboxOptions>;
|
|
6459
|
-
default: () => any[];
|
|
6460
|
-
};
|
|
6461
|
-
/**
|
|
6462
|
-
* Which label variant to display.
|
|
6463
|
-
* @values iso, name, phone_code, capital
|
|
6464
|
-
*/
|
|
6465
|
-
variant: {
|
|
6466
|
-
type: PropType<BentoCountryVariant | `${BentoCountryVariant}`>;
|
|
6467
|
-
default: BentoCountryVariant;
|
|
6468
|
-
validator: (value: BentoCountryVariant) => boolean;
|
|
6469
|
-
};
|
|
6470
|
-
search: {
|
|
6471
|
-
type: PropType<BentoListboxSearchOptions>;
|
|
6472
|
-
} & {
|
|
6473
|
-
default: any;
|
|
6474
|
-
};
|
|
6475
|
-
value: {
|
|
6476
|
-
type: PropType<BentoListboxSelectedValue>;
|
|
6477
|
-
} & {
|
|
6478
|
-
default: any;
|
|
6479
|
-
};
|
|
6480
|
-
description: {
|
|
6481
|
-
type: PropType<string>;
|
|
6482
|
-
} & {
|
|
6483
|
-
default: any;
|
|
6484
|
-
};
|
|
6485
|
-
label: {
|
|
6486
|
-
type: PropType<string>;
|
|
6487
|
-
} & {
|
|
6488
|
-
default: any;
|
|
6489
|
-
};
|
|
6490
|
-
required: {
|
|
6491
|
-
type: PropType<boolean>;
|
|
6492
|
-
} & {
|
|
6493
|
-
default: boolean;
|
|
6494
|
-
};
|
|
6495
|
-
condensed: {
|
|
6496
|
-
type: PropType<boolean>;
|
|
6497
|
-
} & {
|
|
6498
|
-
default: boolean;
|
|
6499
|
-
};
|
|
6500
|
-
disabled: {
|
|
6501
|
-
type: PropType<boolean>;
|
|
6502
|
-
} & {
|
|
6503
|
-
default: boolean;
|
|
6504
|
-
};
|
|
6505
|
-
loading: {
|
|
6506
|
-
type: PropType<boolean>;
|
|
6507
|
-
} & {
|
|
6508
|
-
default: boolean;
|
|
6509
|
-
};
|
|
6510
|
-
error: {
|
|
6511
|
-
type: PropType<boolean>;
|
|
6512
|
-
} & {
|
|
6513
|
-
default: boolean;
|
|
6514
|
-
};
|
|
6515
|
-
optional: {
|
|
6516
|
-
type: PropType<boolean>;
|
|
6517
|
-
} & {
|
|
6518
|
-
default: boolean;
|
|
6519
|
-
};
|
|
6520
|
-
readonly: {
|
|
6521
|
-
type: PropType<boolean>;
|
|
6522
|
-
} & {
|
|
6523
|
-
default: boolean;
|
|
6524
|
-
};
|
|
6525
|
-
size: {
|
|
6526
|
-
type: PropType<BentoDropdownSize | "DropdownInputDefault" | "DropdownInputSmall">;
|
|
6527
|
-
} & {
|
|
6528
|
-
default: any;
|
|
6529
|
-
};
|
|
6530
|
-
multiple: {
|
|
6531
|
-
type: PropType<boolean>;
|
|
6532
|
-
} & {
|
|
6533
|
-
default: boolean;
|
|
6534
|
-
};
|
|
6535
|
-
tooltipText: {
|
|
6536
|
-
type: PropType<string>;
|
|
6537
|
-
} & {
|
|
6538
|
-
default: any;
|
|
6539
|
-
};
|
|
6540
|
-
errorMessage: {
|
|
6541
|
-
type: PropType<string>;
|
|
6542
|
-
} & {
|
|
6543
|
-
default: any;
|
|
6544
|
-
};
|
|
6545
|
-
ariaLabel: {
|
|
6546
|
-
type: PropType<string>;
|
|
6547
|
-
} & {
|
|
6548
|
-
default: any;
|
|
6549
|
-
};
|
|
6550
|
-
isOptionDisabled: {
|
|
6551
|
-
type: PropType<(optionValue: BentoListboxOptionItem) => boolean>;
|
|
6552
|
-
} & {
|
|
6553
|
-
default: any;
|
|
6554
|
-
};
|
|
6555
|
-
staticCategories: {
|
|
6556
|
-
type: PropType<boolean>;
|
|
6557
|
-
} & {
|
|
6558
|
-
default: boolean;
|
|
6559
|
-
};
|
|
6560
|
-
hasMoreItems: {
|
|
6561
|
-
type: PropType<boolean>;
|
|
6562
|
-
} & {
|
|
6563
|
-
default: boolean;
|
|
6564
|
-
};
|
|
6565
|
-
lazyLoadType: {
|
|
6566
|
-
type: PropType<"button" | "none" | "automatic" | BentoListboxLazyLoadType>;
|
|
6567
|
-
} & {
|
|
6568
|
-
default: BentoListboxLazyLoadType;
|
|
6569
|
-
};
|
|
6570
|
-
emptyState: {
|
|
6571
|
-
type: PropType<BentoListboxEmptyStateProps>;
|
|
6572
|
-
} & {
|
|
6573
|
-
default: any;
|
|
6574
|
-
};
|
|
6575
|
-
componentLoading: {
|
|
6576
|
-
type: PropType<boolean>;
|
|
6577
|
-
} & {
|
|
6578
|
-
default: boolean;
|
|
6579
|
-
};
|
|
6580
|
-
virtualScroll: {
|
|
6581
|
-
type: PropType<BentoListboxVirtulisationOptions>;
|
|
6582
|
-
} & {
|
|
6583
|
-
default: boolean;
|
|
6584
|
-
};
|
|
6585
|
-
dynamicFiltering: {
|
|
6586
|
-
type: PropType<boolean>;
|
|
6587
|
-
} & {
|
|
6588
|
-
default: boolean;
|
|
6589
|
-
};
|
|
6590
|
-
placeholder: {
|
|
6591
|
-
type: PropType<string>;
|
|
6592
|
-
} & {
|
|
6593
|
-
default: any;
|
|
6594
|
-
};
|
|
6595
|
-
showSlotContentInMultiple: {
|
|
6596
|
-
type: PropType<boolean>;
|
|
6597
|
-
} & {
|
|
6598
|
-
default: boolean;
|
|
6599
|
-
};
|
|
6600
|
-
enableValueLabelPair: {
|
|
6601
|
-
type: PropType<boolean>;
|
|
6602
|
-
} & {
|
|
6603
|
-
default: boolean;
|
|
6604
|
-
};
|
|
6605
|
-
}>>, {
|
|
6606
|
-
search: BentoListboxSearchOptions;
|
|
6607
|
-
value: BentoListboxSelectedValue;
|
|
6608
|
-
description: string;
|
|
6609
|
-
label: string;
|
|
6610
|
-
variant: "name" | "iso" | "phone_code" | "capital" | "custom" | BentoCountryVariant;
|
|
6611
|
-
required: boolean;
|
|
6612
|
-
condensed: boolean;
|
|
6613
|
-
disabled: boolean;
|
|
6614
|
-
loading: boolean;
|
|
6615
|
-
error: boolean;
|
|
6616
|
-
optional: boolean;
|
|
6617
|
-
readonly: boolean;
|
|
6618
|
-
size: BentoDropdownSize | `${BentoDropdownSize}`;
|
|
6619
|
-
multiple: boolean;
|
|
6620
|
-
tooltipText: string;
|
|
6621
|
-
errorMessage: string;
|
|
6622
|
-
ariaLabel: string;
|
|
6623
|
-
items: BentoCountryListboxOptions;
|
|
6624
|
-
isOptionDisabled: BentoListboxIsOptionDisabled;
|
|
6625
|
-
staticCategories: boolean;
|
|
6626
|
-
hasMoreItems: boolean;
|
|
6627
|
-
lazyLoadType: BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`;
|
|
6628
|
-
emptyState: BentoListboxEmptyStateProps;
|
|
6629
|
-
componentLoading: boolean;
|
|
6630
|
-
virtualScroll: BentoListboxVirtulisationOptions;
|
|
6631
|
-
dynamicFiltering: boolean;
|
|
6632
|
-
placeholder: string;
|
|
6633
|
-
showSlotContentInMultiple: boolean;
|
|
6634
|
-
enableValueLabelPair: boolean;
|
|
6635
|
-
}>;
|
|
6636
|
-
|
|
6637
|
-
/**
|
|
6638
|
-
* A Currency Dropdown showing a selectable list of currencies.
|
|
6639
|
-
*
|
|
6640
|
-
* @example
|
|
6641
|
-
* import { BentoDropdownCountry, BentoCountryCode } from '../../../../..';
|
|
6642
|
-
* import type { BentoCountryListboxOptions } from '../../../../..'
|
|
6643
|
-
*
|
|
6644
|
-
* export default {
|
|
6645
|
-
* components: { BentoDropdown },
|
|
6646
|
-
* template: `
|
|
6647
|
-
* <bento-dropdown-currency
|
|
6648
|
-
* v-model="selectedValue"
|
|
6649
|
-
* :disabled="false"
|
|
6650
|
-
* :multiple="true"
|
|
6651
|
-
* :isOptionsDisabled="option => option.value === 2"
|
|
6652
|
-
* :items="options"
|
|
6653
|
-
* />
|
|
6654
|
-
* `,
|
|
6655
|
-
* setup() {
|
|
6656
|
-
* const selectedValue = ref(BentoCountryCode.NL) // Default value
|
|
6657
|
-
* const options: BentoCountryListboxOptions = [
|
|
6658
|
-
* { label: 'Option 1', value: BentoCountryCode.NL },
|
|
6659
|
-
* { label: 'Option 2', value: BentoCountryCode.BE },
|
|
6660
|
-
* ];
|
|
6661
|
-
* return { options, selectedValue };
|
|
6662
|
-
* }
|
|
6663
|
-
* }
|
|
6664
|
-
*/
|
|
6665
|
-
export declare const BentoDropdownCurrency: DefineComponent< {
|
|
6666
|
-
/**
|
|
6667
|
-
* The option elements to populate the country dropdown with.
|
|
6668
|
-
* It must be an array of {@see BentoCurrencyListboxOptions }
|
|
6669
|
-
* * @property {string} value.label - Text to be displayed in the option
|
|
6670
|
-
* * @property {BentoCurrencyISOCode} value.code - Currency ISO code of the option
|
|
6671
|
-
*/
|
|
6672
|
-
items: {
|
|
6673
|
-
type: PropType<BentoCurrencyListboxOptions>;
|
|
6674
|
-
default: () => any[];
|
|
6675
|
-
};
|
|
6676
|
-
search: {
|
|
6677
|
-
type: PropType<BentoListboxSearchOptions>;
|
|
6678
|
-
} & {
|
|
6679
|
-
default: any;
|
|
6680
|
-
};
|
|
6681
|
-
value: {
|
|
6682
|
-
type: PropType<BentoListboxSelectedValue>;
|
|
6683
|
-
} & {
|
|
6684
|
-
default: any;
|
|
6685
|
-
};
|
|
6686
|
-
description: {
|
|
6687
|
-
type: PropType<string>;
|
|
6688
|
-
} & {
|
|
6689
|
-
default: any;
|
|
6690
|
-
};
|
|
6691
|
-
label: {
|
|
6692
|
-
type: PropType<string>;
|
|
6693
|
-
} & {
|
|
6694
|
-
default: any;
|
|
6695
|
-
};
|
|
6696
|
-
required: {
|
|
6697
|
-
type: PropType<boolean>;
|
|
6698
|
-
} & {
|
|
6699
|
-
default: boolean;
|
|
6700
|
-
};
|
|
6701
|
-
condensed: {
|
|
6702
|
-
type: PropType<boolean>;
|
|
6703
|
-
} & {
|
|
6704
|
-
default: boolean;
|
|
6705
|
-
};
|
|
6706
|
-
disabled: {
|
|
6707
|
-
type: PropType<boolean>;
|
|
6708
|
-
} & {
|
|
6709
|
-
default: boolean;
|
|
6710
|
-
};
|
|
6711
|
-
loading: {
|
|
6712
|
-
type: PropType<boolean>;
|
|
6713
|
-
} & {
|
|
6714
|
-
default: boolean;
|
|
6715
|
-
};
|
|
6716
|
-
error: {
|
|
6717
|
-
type: PropType<boolean>;
|
|
6718
|
-
} & {
|
|
6719
|
-
default: boolean;
|
|
6720
|
-
};
|
|
6721
|
-
optional: {
|
|
6722
|
-
type: PropType<boolean>;
|
|
6723
|
-
} & {
|
|
6724
|
-
default: boolean;
|
|
6725
|
-
};
|
|
6726
|
-
readonly: {
|
|
6727
|
-
type: PropType<boolean>;
|
|
6728
|
-
} & {
|
|
6729
|
-
default: boolean;
|
|
6730
|
-
};
|
|
6731
|
-
size: {
|
|
6732
|
-
type: PropType<BentoDropdownSize | "DropdownInputDefault" | "DropdownInputSmall">;
|
|
6733
|
-
} & {
|
|
6734
|
-
default: any;
|
|
6735
|
-
};
|
|
6736
|
-
multiple: {
|
|
6737
|
-
type: PropType<boolean>;
|
|
6738
|
-
} & {
|
|
6739
|
-
default: boolean;
|
|
6740
|
-
};
|
|
6741
|
-
tooltipText: {
|
|
6742
|
-
type: PropType<string>;
|
|
6743
|
-
} & {
|
|
6744
|
-
default: any;
|
|
6745
|
-
};
|
|
6746
|
-
errorMessage: {
|
|
6747
|
-
type: PropType<string>;
|
|
6748
|
-
} & {
|
|
6749
|
-
default: any;
|
|
6750
|
-
};
|
|
6751
|
-
ariaLabel: {
|
|
6752
|
-
type: PropType<string>;
|
|
6753
|
-
} & {
|
|
6754
|
-
default: any;
|
|
6755
|
-
};
|
|
6756
|
-
isOptionDisabled: {
|
|
6757
|
-
type: PropType<(optionValue: BentoListboxOptionItem) => boolean>;
|
|
6758
|
-
} & {
|
|
6759
|
-
default: any;
|
|
6760
|
-
};
|
|
6761
|
-
staticCategories: {
|
|
6762
|
-
type: PropType<boolean>;
|
|
6763
|
-
} & {
|
|
6764
|
-
default: boolean;
|
|
6765
|
-
};
|
|
6766
|
-
hasMoreItems: {
|
|
6767
|
-
type: PropType<boolean>;
|
|
6768
|
-
} & {
|
|
6769
|
-
default: boolean;
|
|
6770
|
-
};
|
|
6771
|
-
lazyLoadType: {
|
|
6772
|
-
type: PropType<"button" | "none" | "automatic" | BentoListboxLazyLoadType>;
|
|
6773
|
-
} & {
|
|
6774
|
-
default: BentoListboxLazyLoadType;
|
|
6775
|
-
};
|
|
6776
|
-
emptyState: {
|
|
6777
|
-
type: PropType<BentoListboxEmptyStateProps>;
|
|
6778
|
-
} & {
|
|
6779
|
-
default: any;
|
|
6780
|
-
};
|
|
6781
|
-
componentLoading: {
|
|
6782
|
-
type: PropType<boolean>;
|
|
6783
|
-
} & {
|
|
6784
|
-
default: boolean;
|
|
6785
|
-
};
|
|
6786
|
-
virtualScroll: {
|
|
6787
|
-
type: PropType<BentoListboxVirtulisationOptions>;
|
|
6788
|
-
} & {
|
|
6789
|
-
default: boolean;
|
|
6790
|
-
};
|
|
6791
|
-
dynamicFiltering: {
|
|
6792
|
-
type: PropType<boolean>;
|
|
6793
|
-
} & {
|
|
6794
|
-
default: boolean;
|
|
6795
|
-
};
|
|
6796
|
-
placeholder: {
|
|
6797
|
-
type: PropType<string>;
|
|
6798
|
-
} & {
|
|
6799
|
-
default: any;
|
|
6800
|
-
};
|
|
6801
|
-
showSlotContentInMultiple: {
|
|
6802
|
-
type: PropType<boolean>;
|
|
6803
|
-
} & {
|
|
6804
|
-
default: boolean;
|
|
6805
|
-
};
|
|
6806
|
-
enableValueLabelPair: {
|
|
6807
|
-
type: PropType<boolean>;
|
|
6808
|
-
} & {
|
|
6809
|
-
default: boolean;
|
|
6810
|
-
};
|
|
6811
|
-
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6812
|
-
input: (selectedValue: BentoListboxSelectedValue) => void;
|
|
6813
|
-
}, string, Readonly<ExtractPropTypes< {
|
|
6814
|
-
/**
|
|
6815
|
-
* The option elements to populate the country dropdown with.
|
|
6816
|
-
* It must be an array of {@see BentoCurrencyListboxOptions }
|
|
6817
|
-
* * @property {string} value.label - Text to be displayed in the option
|
|
6818
|
-
* * @property {BentoCurrencyISOCode} value.code - Currency ISO code of the option
|
|
6819
|
-
*/
|
|
6820
|
-
items: {
|
|
6821
|
-
type: PropType<BentoCurrencyListboxOptions>;
|
|
6822
|
-
default: () => any[];
|
|
6823
|
-
};
|
|
6824
|
-
search: {
|
|
6825
|
-
type: PropType<BentoListboxSearchOptions>;
|
|
6826
|
-
} & {
|
|
6827
|
-
default: any;
|
|
6828
|
-
};
|
|
6829
|
-
value: {
|
|
6830
|
-
type: PropType<BentoListboxSelectedValue>;
|
|
6831
|
-
} & {
|
|
6832
|
-
default: any;
|
|
6833
|
-
};
|
|
6834
|
-
description: {
|
|
6835
|
-
type: PropType<string>;
|
|
6836
|
-
} & {
|
|
6837
|
-
default: any;
|
|
6838
|
-
};
|
|
6839
|
-
label: {
|
|
6840
|
-
type: PropType<string>;
|
|
6841
|
-
} & {
|
|
6842
|
-
default: any;
|
|
6843
|
-
};
|
|
6844
|
-
required: {
|
|
6845
|
-
type: PropType<boolean>;
|
|
6846
|
-
} & {
|
|
6847
|
-
default: boolean;
|
|
6848
|
-
};
|
|
6849
|
-
condensed: {
|
|
6850
|
-
type: PropType<boolean>;
|
|
6851
|
-
} & {
|
|
6852
|
-
default: boolean;
|
|
6853
|
-
};
|
|
6854
|
-
disabled: {
|
|
6855
|
-
type: PropType<boolean>;
|
|
6856
|
-
} & {
|
|
6857
|
-
default: boolean;
|
|
6858
|
-
};
|
|
6859
|
-
loading: {
|
|
6860
|
-
type: PropType<boolean>;
|
|
6861
|
-
} & {
|
|
6862
|
-
default: boolean;
|
|
6863
|
-
};
|
|
6864
|
-
error: {
|
|
6865
|
-
type: PropType<boolean>;
|
|
6866
|
-
} & {
|
|
6867
|
-
default: boolean;
|
|
6868
|
-
};
|
|
6869
|
-
optional: {
|
|
6870
|
-
type: PropType<boolean>;
|
|
6871
|
-
} & {
|
|
6872
|
-
default: boolean;
|
|
6873
|
-
};
|
|
6874
|
-
readonly: {
|
|
6875
|
-
type: PropType<boolean>;
|
|
6876
|
-
} & {
|
|
6877
|
-
default: boolean;
|
|
6878
|
-
};
|
|
6879
|
-
size: {
|
|
6880
|
-
type: PropType<BentoDropdownSize | "DropdownInputDefault" | "DropdownInputSmall">;
|
|
6881
|
-
} & {
|
|
6882
|
-
default: any;
|
|
6883
|
-
};
|
|
6884
|
-
multiple: {
|
|
6885
|
-
type: PropType<boolean>;
|
|
6886
|
-
} & {
|
|
6887
|
-
default: boolean;
|
|
6888
|
-
};
|
|
6889
|
-
tooltipText: {
|
|
6890
|
-
type: PropType<string>;
|
|
6891
|
-
} & {
|
|
6892
|
-
default: any;
|
|
6893
|
-
};
|
|
6894
|
-
errorMessage: {
|
|
6895
|
-
type: PropType<string>;
|
|
6896
|
-
} & {
|
|
6897
|
-
default: any;
|
|
6898
|
-
};
|
|
6899
|
-
ariaLabel: {
|
|
6900
|
-
type: PropType<string>;
|
|
6901
|
-
} & {
|
|
6902
|
-
default: any;
|
|
6903
|
-
};
|
|
6904
|
-
isOptionDisabled: {
|
|
6905
|
-
type: PropType<(optionValue: BentoListboxOptionItem) => boolean>;
|
|
6906
|
-
} & {
|
|
6907
|
-
default: any;
|
|
6908
|
-
};
|
|
6909
|
-
staticCategories: {
|
|
6910
|
-
type: PropType<boolean>;
|
|
6911
|
-
} & {
|
|
6912
|
-
default: boolean;
|
|
6913
|
-
};
|
|
6914
|
-
hasMoreItems: {
|
|
6915
|
-
type: PropType<boolean>;
|
|
6916
|
-
} & {
|
|
6917
|
-
default: boolean;
|
|
6918
|
-
};
|
|
6919
|
-
lazyLoadType: {
|
|
6920
|
-
type: PropType<"button" | "none" | "automatic" | BentoListboxLazyLoadType>;
|
|
6921
|
-
} & {
|
|
6922
|
-
default: BentoListboxLazyLoadType;
|
|
6923
|
-
};
|
|
6924
|
-
emptyState: {
|
|
6925
|
-
type: PropType<BentoListboxEmptyStateProps>;
|
|
6926
|
-
} & {
|
|
6927
|
-
default: any;
|
|
6928
|
-
};
|
|
6929
|
-
componentLoading: {
|
|
6930
|
-
type: PropType<boolean>;
|
|
6931
|
-
} & {
|
|
6932
|
-
default: boolean;
|
|
6933
|
-
};
|
|
6934
|
-
virtualScroll: {
|
|
6935
|
-
type: PropType<BentoListboxVirtulisationOptions>;
|
|
6936
|
-
} & {
|
|
6937
|
-
default: boolean;
|
|
6938
|
-
};
|
|
6939
|
-
dynamicFiltering: {
|
|
6940
|
-
type: PropType<boolean>;
|
|
6941
|
-
} & {
|
|
6942
|
-
default: boolean;
|
|
6943
|
-
};
|
|
6944
|
-
placeholder: {
|
|
6945
|
-
type: PropType<string>;
|
|
6946
|
-
} & {
|
|
6947
|
-
default: any;
|
|
6948
|
-
};
|
|
6949
|
-
showSlotContentInMultiple: {
|
|
6950
|
-
type: PropType<boolean>;
|
|
6951
|
-
} & {
|
|
6952
|
-
default: boolean;
|
|
6953
|
-
};
|
|
6954
|
-
enableValueLabelPair: {
|
|
6955
|
-
type: PropType<boolean>;
|
|
6956
|
-
} & {
|
|
6957
|
-
default: boolean;
|
|
6958
|
-
};
|
|
6959
|
-
}>>, {
|
|
6960
|
-
search: BentoListboxSearchOptions;
|
|
6961
|
-
value: BentoListboxSelectedValue;
|
|
6962
|
-
description: string;
|
|
6963
|
-
label: string;
|
|
6964
|
-
required: boolean;
|
|
6965
|
-
condensed: boolean;
|
|
6966
|
-
disabled: boolean;
|
|
6967
|
-
loading: boolean;
|
|
6968
|
-
error: boolean;
|
|
6969
|
-
optional: boolean;
|
|
6970
|
-
readonly: boolean;
|
|
6971
|
-
size: BentoDropdownSize | `${BentoDropdownSize}`;
|
|
6972
|
-
multiple: boolean;
|
|
6973
|
-
tooltipText: string;
|
|
6974
|
-
errorMessage: string;
|
|
6975
|
-
ariaLabel: string;
|
|
6976
|
-
items: BentoCurrencyListboxOptions;
|
|
6977
|
-
isOptionDisabled: BentoListboxIsOptionDisabled;
|
|
6978
|
-
staticCategories: boolean;
|
|
6979
|
-
hasMoreItems: boolean;
|
|
6980
|
-
lazyLoadType: BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`;
|
|
6981
|
-
emptyState: BentoListboxEmptyStateProps;
|
|
6982
|
-
componentLoading: boolean;
|
|
6983
|
-
virtualScroll: BentoListboxVirtulisationOptions;
|
|
6984
|
-
dynamicFiltering: boolean;
|
|
6985
|
-
placeholder: string;
|
|
6986
|
-
showSlotContentInMultiple: boolean;
|
|
6987
|
-
enableValueLabelPair: boolean;
|
|
6988
|
-
}>;
|
|
6989
|
-
|
|
6990
|
-
/**
|
|
6991
|
-
* A Payment method Dropdown showing a selectable list of countries.
|
|
6992
|
-
*
|
|
6993
|
-
* @example
|
|
6994
|
-
* import { BentoDropdownPaymentMethod } from '../../../../..';
|
|
6995
|
-
* import type { BentoPaymentMethodListboxOptions } from '../../../../..'
|
|
6996
|
-
*
|
|
6997
|
-
* export default {
|
|
6998
|
-
* components: { BentoDropdownPaymentMethod },
|
|
6999
|
-
* template: `
|
|
7000
|
-
* <bento-dropdown-payment-method
|
|
7001
|
-
* v-model="selectedValue"
|
|
7002
|
-
* :disabled="false"
|
|
7003
|
-
* :multiple="true"
|
|
7004
|
-
* :isOptionsDisabled="option => option.value === 'Visa'"
|
|
7005
|
-
* :items="options"
|
|
7006
|
-
* />
|
|
7007
|
-
* `,
|
|
7008
|
-
* setup() {
|
|
7009
|
-
* const selectedValue = ref('ideal') // Default value
|
|
7010
|
-
* const options: BentoPaymentMethodListboxOptions = [
|
|
7011
|
-
* { label: 'Option 1', value: 'ideal' },
|
|
7012
|
-
* { label: 'Option 2', value: 'visa' },
|
|
7013
|
-
* ];
|
|
7014
|
-
* return { options, selectedValue };
|
|
7015
|
-
* }
|
|
7016
|
-
* }
|
|
7017
|
-
*/
|
|
7018
|
-
export declare const BentoDropdownPaymentMethod: DefineComponent< {
|
|
7019
|
-
/**
|
|
7020
|
-
* The option elements to populate the payment method dropdown with.
|
|
7021
|
-
* It must be an array of {@see BentoPaymentMethodListboxOptions }
|
|
7022
|
-
* * @property {string} value.label - Text to be displayed in the option
|
|
7023
|
-
* * @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}
|
|
7024
|
-
*/
|
|
7025
|
-
items: {
|
|
7026
|
-
type: PropType<BentoPaymentMethodListboxOptions>;
|
|
7027
|
-
default: () => any[];
|
|
7028
|
-
};
|
|
7029
|
-
search: {
|
|
7030
|
-
type: PropType<BentoListboxSearchOptions>;
|
|
7031
|
-
} & {
|
|
7032
|
-
default: any;
|
|
7033
|
-
};
|
|
7034
|
-
value: {
|
|
7035
|
-
type: PropType<BentoListboxSelectedValue>;
|
|
7036
|
-
} & {
|
|
7037
|
-
default: any;
|
|
7038
|
-
};
|
|
7039
|
-
description: {
|
|
7040
|
-
type: PropType<string>;
|
|
7041
|
-
} & {
|
|
7042
|
-
default: any;
|
|
7043
|
-
};
|
|
7044
|
-
label: {
|
|
7045
|
-
type: PropType<string>;
|
|
7046
|
-
} & {
|
|
7047
|
-
default: any;
|
|
7048
|
-
};
|
|
7049
|
-
required: {
|
|
7050
|
-
type: PropType<boolean>;
|
|
7051
|
-
} & {
|
|
7052
|
-
default: boolean;
|
|
7053
|
-
};
|
|
7054
|
-
condensed: {
|
|
7055
|
-
type: PropType<boolean>;
|
|
7056
|
-
} & {
|
|
7057
|
-
default: boolean;
|
|
7058
|
-
};
|
|
7059
|
-
disabled: {
|
|
7060
|
-
type: PropType<boolean>;
|
|
7061
|
-
} & {
|
|
7062
|
-
default: boolean;
|
|
7063
|
-
};
|
|
7064
|
-
loading: {
|
|
7065
|
-
type: PropType<boolean>;
|
|
7066
|
-
} & {
|
|
7067
|
-
default: boolean;
|
|
7068
|
-
};
|
|
7069
|
-
error: {
|
|
7070
|
-
type: PropType<boolean>;
|
|
7071
|
-
} & {
|
|
7072
|
-
default: boolean;
|
|
7073
|
-
};
|
|
7074
|
-
optional: {
|
|
7075
|
-
type: PropType<boolean>;
|
|
7076
|
-
} & {
|
|
7077
|
-
default: boolean;
|
|
7078
|
-
};
|
|
7079
|
-
readonly: {
|
|
7080
|
-
type: PropType<boolean>;
|
|
7081
|
-
} & {
|
|
7082
|
-
default: boolean;
|
|
7083
|
-
};
|
|
7084
|
-
size: {
|
|
7085
|
-
type: PropType<BentoDropdownSize | "DropdownInputDefault" | "DropdownInputSmall">;
|
|
7086
|
-
} & {
|
|
7087
|
-
default: any;
|
|
7088
|
-
};
|
|
7089
|
-
multiple: {
|
|
7090
|
-
type: PropType<boolean>;
|
|
7091
|
-
} & {
|
|
7092
|
-
default: boolean;
|
|
7093
|
-
};
|
|
7094
|
-
tooltipText: {
|
|
7095
|
-
type: PropType<string>;
|
|
7096
|
-
} & {
|
|
7097
|
-
default: any;
|
|
7098
|
-
};
|
|
7099
|
-
errorMessage: {
|
|
7100
|
-
type: PropType<string>;
|
|
7101
|
-
} & {
|
|
7102
|
-
default: any;
|
|
7103
|
-
};
|
|
7104
|
-
ariaLabel: {
|
|
7105
|
-
type: PropType<string>;
|
|
7106
|
-
} & {
|
|
7107
|
-
default: any;
|
|
7108
|
-
};
|
|
7109
|
-
isOptionDisabled: {
|
|
7110
|
-
type: PropType<(optionValue: BentoListboxOptionItem) => boolean>;
|
|
7111
|
-
} & {
|
|
7112
|
-
default: any;
|
|
7113
|
-
};
|
|
7114
|
-
staticCategories: {
|
|
7115
|
-
type: PropType<boolean>;
|
|
7116
|
-
} & {
|
|
7117
|
-
default: boolean;
|
|
7118
|
-
};
|
|
7119
|
-
hasMoreItems: {
|
|
7120
|
-
type: PropType<boolean>;
|
|
7121
|
-
} & {
|
|
7122
|
-
default: boolean;
|
|
7123
|
-
};
|
|
7124
|
-
lazyLoadType: {
|
|
7125
|
-
type: PropType<"button" | "none" | "automatic" | BentoListboxLazyLoadType>;
|
|
7126
|
-
} & {
|
|
7127
|
-
default: BentoListboxLazyLoadType;
|
|
7128
|
-
};
|
|
7129
|
-
emptyState: {
|
|
7130
|
-
type: PropType<BentoListboxEmptyStateProps>;
|
|
7131
|
-
} & {
|
|
7132
|
-
default: any;
|
|
7133
|
-
};
|
|
7134
|
-
componentLoading: {
|
|
7135
|
-
type: PropType<boolean>;
|
|
7136
|
-
} & {
|
|
7137
|
-
default: boolean;
|
|
7138
|
-
};
|
|
7139
|
-
virtualScroll: {
|
|
7140
|
-
type: PropType<BentoListboxVirtulisationOptions>;
|
|
7141
|
-
} & {
|
|
7142
|
-
default: boolean;
|
|
7143
|
-
};
|
|
7144
|
-
dynamicFiltering: {
|
|
7145
|
-
type: PropType<boolean>;
|
|
7146
|
-
} & {
|
|
7147
|
-
default: boolean;
|
|
7148
|
-
};
|
|
7149
|
-
placeholder: {
|
|
7150
|
-
type: PropType<string>;
|
|
7151
|
-
} & {
|
|
7152
|
-
default: any;
|
|
7153
|
-
};
|
|
7154
|
-
showSlotContentInMultiple: {
|
|
7155
|
-
type: PropType<boolean>;
|
|
7156
|
-
} & {
|
|
7157
|
-
default: boolean;
|
|
7158
|
-
};
|
|
7159
|
-
enableValueLabelPair: {
|
|
7160
|
-
type: PropType<boolean>;
|
|
7161
|
-
} & {
|
|
7162
|
-
default: boolean;
|
|
7163
|
-
};
|
|
7164
|
-
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
7165
|
-
input: (selectedValue: BentoListboxSelectedValue) => void;
|
|
7166
|
-
}, string, Readonly<ExtractPropTypes< {
|
|
7167
|
-
/**
|
|
7168
|
-
* The option elements to populate the payment method dropdown with.
|
|
7169
|
-
* It must be an array of {@see BentoPaymentMethodListboxOptions }
|
|
7170
|
-
* * @property {string} value.label - Text to be displayed in the option
|
|
7171
|
-
* * @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}
|
|
7172
|
-
*/
|
|
7173
|
-
items: {
|
|
7174
|
-
type: PropType<BentoPaymentMethodListboxOptions>;
|
|
7175
|
-
default: () => any[];
|
|
7176
|
-
};
|
|
7177
|
-
search: {
|
|
7178
|
-
type: PropType<BentoListboxSearchOptions>;
|
|
7179
|
-
} & {
|
|
7180
|
-
default: any;
|
|
7181
|
-
};
|
|
7182
|
-
value: {
|
|
7183
|
-
type: PropType<BentoListboxSelectedValue>;
|
|
7184
|
-
} & {
|
|
7185
|
-
default: any;
|
|
7186
|
-
};
|
|
7187
|
-
description: {
|
|
7188
|
-
type: PropType<string>;
|
|
7189
|
-
} & {
|
|
7190
|
-
default: any;
|
|
7191
|
-
};
|
|
7192
|
-
label: {
|
|
7193
|
-
type: PropType<string>;
|
|
7194
|
-
} & {
|
|
7195
|
-
default: any;
|
|
7196
|
-
};
|
|
7197
|
-
required: {
|
|
7198
|
-
type: PropType<boolean>;
|
|
7199
|
-
} & {
|
|
7200
|
-
default: boolean;
|
|
7201
|
-
};
|
|
7202
|
-
condensed: {
|
|
7203
|
-
type: PropType<boolean>;
|
|
7204
|
-
} & {
|
|
7205
|
-
default: boolean;
|
|
7206
|
-
};
|
|
7207
|
-
disabled: {
|
|
7208
|
-
type: PropType<boolean>;
|
|
7209
|
-
} & {
|
|
7210
|
-
default: boolean;
|
|
7211
|
-
};
|
|
7212
|
-
loading: {
|
|
7213
|
-
type: PropType<boolean>;
|
|
7214
|
-
} & {
|
|
7215
|
-
default: boolean;
|
|
7216
|
-
};
|
|
7217
|
-
error: {
|
|
7218
|
-
type: PropType<boolean>;
|
|
7219
|
-
} & {
|
|
7220
|
-
default: boolean;
|
|
7221
|
-
};
|
|
7222
|
-
optional: {
|
|
7223
|
-
type: PropType<boolean>;
|
|
7224
|
-
} & {
|
|
7225
|
-
default: boolean;
|
|
7226
|
-
};
|
|
7227
|
-
readonly: {
|
|
7228
|
-
type: PropType<boolean>;
|
|
7229
|
-
} & {
|
|
7230
|
-
default: boolean;
|
|
7231
|
-
};
|
|
7232
|
-
size: {
|
|
7233
|
-
type: PropType<BentoDropdownSize | "DropdownInputDefault" | "DropdownInputSmall">;
|
|
7234
|
-
} & {
|
|
7235
|
-
default: any;
|
|
7236
|
-
};
|
|
7237
|
-
multiple: {
|
|
7238
|
-
type: PropType<boolean>;
|
|
7239
|
-
} & {
|
|
7240
|
-
default: boolean;
|
|
7241
|
-
};
|
|
7242
|
-
tooltipText: {
|
|
7243
|
-
type: PropType<string>;
|
|
7244
|
-
} & {
|
|
7245
|
-
default: any;
|
|
7246
|
-
};
|
|
7247
|
-
errorMessage: {
|
|
7248
|
-
type: PropType<string>;
|
|
7249
|
-
} & {
|
|
7250
|
-
default: any;
|
|
7251
|
-
};
|
|
7252
|
-
ariaLabel: {
|
|
7253
|
-
type: PropType<string>;
|
|
7254
|
-
} & {
|
|
7255
|
-
default: any;
|
|
7256
|
-
};
|
|
7257
|
-
isOptionDisabled: {
|
|
7258
|
-
type: PropType<(optionValue: BentoListboxOptionItem) => boolean>;
|
|
7259
|
-
} & {
|
|
7260
|
-
default: any;
|
|
7261
|
-
};
|
|
7262
|
-
staticCategories: {
|
|
7263
|
-
type: PropType<boolean>;
|
|
7264
|
-
} & {
|
|
7265
|
-
default: boolean;
|
|
7266
|
-
};
|
|
7267
|
-
hasMoreItems: {
|
|
7268
|
-
type: PropType<boolean>;
|
|
7269
|
-
} & {
|
|
7270
|
-
default: boolean;
|
|
7271
|
-
};
|
|
7272
|
-
lazyLoadType: {
|
|
7273
|
-
type: PropType<"button" | "none" | "automatic" | BentoListboxLazyLoadType>;
|
|
7274
|
-
} & {
|
|
7275
|
-
default: BentoListboxLazyLoadType;
|
|
7276
|
-
};
|
|
7277
|
-
emptyState: {
|
|
7278
|
-
type: PropType<BentoListboxEmptyStateProps>;
|
|
7279
|
-
} & {
|
|
7280
|
-
default: any;
|
|
7281
|
-
};
|
|
7282
|
-
componentLoading: {
|
|
7283
|
-
type: PropType<boolean>;
|
|
7284
|
-
} & {
|
|
7285
|
-
default: boolean;
|
|
7286
|
-
};
|
|
7287
|
-
virtualScroll: {
|
|
7288
|
-
type: PropType<BentoListboxVirtulisationOptions>;
|
|
7289
|
-
} & {
|
|
7290
|
-
default: boolean;
|
|
7291
|
-
};
|
|
7292
|
-
dynamicFiltering: {
|
|
7293
|
-
type: PropType<boolean>;
|
|
7294
|
-
} & {
|
|
7295
|
-
default: boolean;
|
|
7296
|
-
};
|
|
7297
|
-
placeholder: {
|
|
7298
|
-
type: PropType<string>;
|
|
7299
|
-
} & {
|
|
7300
|
-
default: any;
|
|
7301
|
-
};
|
|
7302
|
-
showSlotContentInMultiple: {
|
|
7303
|
-
type: PropType<boolean>;
|
|
7304
|
-
} & {
|
|
7305
|
-
default: boolean;
|
|
7306
|
-
};
|
|
7307
|
-
enableValueLabelPair: {
|
|
7308
|
-
type: PropType<boolean>;
|
|
7309
|
-
} & {
|
|
7310
|
-
default: boolean;
|
|
7311
|
-
};
|
|
7312
|
-
}>>, {
|
|
7313
|
-
search: BentoListboxSearchOptions;
|
|
7314
|
-
value: BentoListboxSelectedValue;
|
|
7315
|
-
description: string;
|
|
7316
|
-
label: string;
|
|
7317
|
-
required: boolean;
|
|
7318
|
-
condensed: boolean;
|
|
7319
|
-
disabled: boolean;
|
|
7320
|
-
loading: boolean;
|
|
7321
|
-
error: boolean;
|
|
7322
|
-
optional: boolean;
|
|
7323
|
-
readonly: boolean;
|
|
7324
|
-
size: BentoDropdownSize | `${BentoDropdownSize}`;
|
|
7325
|
-
multiple: boolean;
|
|
7326
|
-
tooltipText: string;
|
|
7327
|
-
errorMessage: string;
|
|
7328
|
-
ariaLabel: string;
|
|
7329
|
-
items: BentoPaymentMethodListboxOptions;
|
|
7330
|
-
isOptionDisabled: BentoListboxIsOptionDisabled;
|
|
7331
|
-
staticCategories: boolean;
|
|
7332
|
-
hasMoreItems: boolean;
|
|
7333
|
-
lazyLoadType: BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`;
|
|
7334
|
-
emptyState: BentoListboxEmptyStateProps;
|
|
7335
|
-
componentLoading: boolean;
|
|
7336
|
-
virtualScroll: BentoListboxVirtulisationOptions;
|
|
7337
|
-
dynamicFiltering: boolean;
|
|
7338
|
-
placeholder: string;
|
|
7339
|
-
showSlotContentInMultiple: boolean;
|
|
7340
|
-
enableValueLabelPair: boolean;
|
|
7341
|
-
}>;
|
|
7342
|
-
|
|
7343
|
-
export declare interface BentoDropdownProps {
|
|
7344
|
-
/**
|
|
7345
|
-
* @deprecated from version 2.0.0. Use the aria-label attribute instead.
|
|
7346
|
-
* Defines a string value that labels an interactive element.
|
|
7347
|
-
*/
|
|
7348
|
-
ariaLabel?: string;
|
|
7349
|
-
/**
|
|
7350
|
-
* Renders the dropdown with a condensed style.
|
|
7351
|
-
*/
|
|
7352
|
-
condensed?: boolean;
|
|
7353
|
-
/**
|
|
7354
|
-
* Empty state props used with the inner empty state component which is displayed when no search results are found.
|
|
7355
|
-
*/
|
|
7356
|
-
emptyState?: BentoListboxEmptyStateProps;
|
|
7357
|
-
/**
|
|
7358
|
-
* Disables dropdown functionality.
|
|
7359
|
-
*/
|
|
7360
|
-
disabled?: boolean;
|
|
7361
|
-
/**
|
|
7362
|
-
* Sets the possibility to type into the textbox.
|
|
7363
|
-
*/
|
|
7364
|
-
dynamicFiltering?: boolean;
|
|
7365
|
-
/**
|
|
7366
|
-
* Highlights the dropdown in an erroneous state.
|
|
7367
|
-
* @deprecated Use "errorMessage" prop instead
|
|
7368
|
-
*/
|
|
7369
|
-
error?: boolean;
|
|
7370
|
-
/**
|
|
7371
|
-
* Highlights the dropdown in an erroneous state with an error message.
|
|
7372
|
-
*/
|
|
7373
|
-
errorMessage?: string;
|
|
7374
|
-
/**
|
|
7375
|
-
* Descriptive supporting text visbile underneath the dropdown.
|
|
7376
|
-
*/
|
|
7377
|
-
description?: string;
|
|
7378
|
-
/**
|
|
7379
|
-
* Indicates whether there are more items to load
|
|
7380
|
-
*/
|
|
7381
|
-
hasMoreItems?: boolean;
|
|
7382
|
-
/**
|
|
7383
|
-
* Function that dertermines which options are disabled from interaction.
|
|
7384
|
-
* @type {BentoListboxIsOptionDisabled}
|
|
7385
|
-
* @param {BentoListboxOptionItem} option - Dropdown option object
|
|
7386
|
-
* @param {string} option.label - Option's label text
|
|
7387
|
-
* @param {string|number} option.value - Option's value
|
|
7388
|
-
* @param {unknown} option.data - Option's extra data to be passed to the default slot
|
|
7389
|
-
*/
|
|
7390
|
-
isOptionDisabled?: BentoListboxIsOptionDisabled;
|
|
7391
|
-
/**
|
|
7392
|
-
* The option elements to populate the dropdown with.
|
|
7393
|
-
* It must be an array of {@see BentoListboxOptionItem }
|
|
7394
|
-
* @property value.label - Text to be displayed in the option
|
|
7395
|
-
* @property value.value - Value of the option
|
|
7396
|
-
*/
|
|
7397
|
-
items?: BentoListboxOptions;
|
|
7398
|
-
/**
|
|
7399
|
-
* Text that is displayed as a label above the element.
|
|
7400
|
-
*/
|
|
7401
|
-
label?: string;
|
|
7402
|
-
/**
|
|
7403
|
-
* Indicates if new options are lazy loading.
|
|
7404
|
-
*/
|
|
7405
|
-
loading?: boolean;
|
|
7406
|
-
/**
|
|
7407
|
-
* Indicates that dropdown items are loading
|
|
7408
|
-
*/
|
|
7409
|
-
componentLoading?: boolean;
|
|
7410
|
-
/**
|
|
7411
|
-
* The type of `Lazy Load`.
|
|
7412
|
-
* Type "automatic" will enable infinite scrolling
|
|
7413
|
-
* Type "button" will enable lazy loading with "Show more" button
|
|
7414
|
-
*/
|
|
7415
|
-
lazyLoadType?: BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`;
|
|
7416
|
-
/**
|
|
7417
|
-
* If enabled, the user will be able to select multiple items.
|
|
7418
|
-
*/
|
|
7419
|
-
multiple?: boolean;
|
|
7420
|
-
/**
|
|
7421
|
-
* Highlights the dropdown is optional.
|
|
7422
|
-
*/
|
|
7423
|
-
optional?: boolean;
|
|
7424
|
-
/**
|
|
7425
|
-
* Text that appears in the form control when it has no value set
|
|
7426
|
-
*/
|
|
7427
|
-
placeholder?: string;
|
|
7428
|
-
/**
|
|
7429
|
-
* Sets the dropdown to readonly state
|
|
7430
|
-
*/
|
|
7431
|
-
readonly?: boolean;
|
|
7432
|
-
/**
|
|
7433
|
-
* Highlights the dropdown is required.
|
|
7434
|
-
*/
|
|
7435
|
-
required?: boolean;
|
|
7436
|
-
/**
|
|
7437
|
-
* Dropdown search options and events.
|
|
7438
|
-
* @see BentoDropdownSearchOptions
|
|
7439
|
-
*/
|
|
7440
|
-
search?: BentoListboxSearchOptions;
|
|
7441
|
-
/**
|
|
7442
|
-
* Toggles whether to use the slot content select items shown in the textbox in multiple mode.
|
|
7443
|
-
*/
|
|
7444
|
-
showSlotContentInMultiple?: boolean;
|
|
7445
|
-
/**
|
|
7446
|
-
* @deprecated Do not use. Only 'default' size should be used.
|
|
7447
|
-
*/
|
|
7448
|
-
size?: BentoDropdownSize | `${BentoDropdownSize}`;
|
|
7449
|
-
/**
|
|
7450
|
-
* If enabled, dropdown will display non-selectable, static categories
|
|
7451
|
-
*/
|
|
7452
|
-
staticCategories?: boolean;
|
|
7453
|
-
/**
|
|
7454
|
-
* Adds a info icon next to the label to display the passed tooltip message.
|
|
7455
|
-
*/
|
|
7456
|
-
tooltipText?: string;
|
|
7457
|
-
/**
|
|
7458
|
-
* The `input` value.
|
|
7459
|
-
* Providing an empty string will select no options.
|
|
7460
|
-
* Set to an empty string `''` if you don't want any of the available options to be selected.
|
|
7461
|
-
*/
|
|
7462
|
-
value?: BentoListboxSelectedValue;
|
|
7463
|
-
/**
|
|
7464
|
-
* Enables virtual scrolling if set to true or by providing an object with itemHeight function.
|
|
7465
|
-
* The itemHeight function is used to calculate the height of rendered item given it's index.
|
|
7466
|
-
*/
|
|
7467
|
-
virtualScroll?: BentoListboxVirtulisationOptions;
|
|
7468
|
-
/**
|
|
7469
|
-
* Enables value/label value handling. When `true`, the component expects and emits value/label
|
|
7470
|
-
* pair objects instead of primitive values.
|
|
7471
|
-
*
|
|
7472
|
-
* This affects both the `value` prop and the `input` event payload.
|
|
7473
|
-
*
|
|
7474
|
-
* - **Input (`value` prop):** Expects a `{ value: string | number, label: string }` object (or an array of them for multi-select).
|
|
7475
|
-
* - **Output (`input` event):** Emits a `{ value: string | number, label: string }` object (or an array of them) upon selection.
|
|
7476
|
-
*
|
|
7477
|
-
* This is particularly useful when a selected item's label is not available in the `items` prop,
|
|
7478
|
-
* allowing the component to display the correct label for values loaded from external sources.
|
|
7479
|
-
* @default false
|
|
7480
|
-
*/
|
|
7481
|
-
enableValueLabelPair?: boolean;
|
|
7482
|
-
}
|
|
7483
|
-
|
|
7484
|
-
/**
|
|
7485
|
-
* @deprecated Do not use. Only 'default' size should be used.
|
|
7486
|
-
*/
|
|
7487
|
-
export declare enum BentoDropdownSize {
|
|
7488
|
-
DEFAULT = "DropdownInputDefault",
|
|
7489
|
-
SMALL = "DropdownInputSmall"
|
|
7490
|
-
}
|
|
7491
|
-
|
|
7492
|
-
/**
|
|
7493
|
-
* A Tag Dropdown showing a selectable list of tags.
|
|
6417
|
+
* A Payment method Dropdown showing a selectable list of countries.
|
|
7494
6418
|
*
|
|
7495
6419
|
* @example
|
|
7496
|
-
* import {
|
|
7497
|
-
* import type {
|
|
6420
|
+
* import { BentoDropdownPaymentMethod } from '../../../../..';
|
|
6421
|
+
* import type { BentoPaymentMethodListboxOptions } from '../../../../..'
|
|
7498
6422
|
*
|
|
7499
6423
|
* export default {
|
|
7500
|
-
* components: {
|
|
6424
|
+
* components: { BentoDropdownPaymentMethod },
|
|
7501
6425
|
* template: `
|
|
7502
|
-
* <bento-dropdown-
|
|
6426
|
+
* <bento-dropdown-payment-method
|
|
7503
6427
|
* v-model="selectedValue"
|
|
7504
6428
|
* :disabled="false"
|
|
6429
|
+
* :multiple="true"
|
|
6430
|
+
* :isOptionsDisabled="option => option.value === 'Visa'"
|
|
7505
6431
|
* :items="options"
|
|
7506
6432
|
* />
|
|
7507
6433
|
* `,
|
|
7508
6434
|
* setup() {
|
|
7509
|
-
* const selectedValue = ref('
|
|
7510
|
-
* const options:
|
|
7511
|
-
* { label: '
|
|
7512
|
-
* { label: '
|
|
6435
|
+
* const selectedValue = ref('ideal') // Default value
|
|
6436
|
+
* const options: BentoPaymentMethodListboxOptions = [
|
|
6437
|
+
* { label: 'Option 1', value: 'ideal' },
|
|
6438
|
+
* { label: 'Option 2', value: 'visa' },
|
|
7513
6439
|
* ];
|
|
7514
6440
|
* return { options, selectedValue };
|
|
7515
|
-
* }
|
|
7516
|
-
* }
|
|
7517
|
-
*/
|
|
7518
|
-
export declare const
|
|
7519
|
-
|
|
7520
|
-
|
|
7521
|
-
* It must be an array of {@see BentoTagListboxOptions }
|
|
7522
|
-
* * @property {string} value.label - Text to be displayed in the option
|
|
7523
|
-
* * @property {string,number} value.value - Value of the option
|
|
7524
|
-
* * @property {string} value.variant - The BentTag variant shown for the option.
|
|
7525
|
-
*/
|
|
7526
|
-
items: {
|
|
7527
|
-
type: PropType<BentoTagListboxOptions>;
|
|
7528
|
-
default: () => any[];
|
|
7529
|
-
};
|
|
7530
|
-
search: {
|
|
7531
|
-
type: PropType<BentoListboxSearchOptions>;
|
|
7532
|
-
} & {
|
|
7533
|
-
default: any;
|
|
7534
|
-
};
|
|
7535
|
-
value: {
|
|
7536
|
-
type: PropType<BentoListboxSelectedValue>;
|
|
7537
|
-
} & {
|
|
7538
|
-
default: any;
|
|
7539
|
-
};
|
|
7540
|
-
description: {
|
|
7541
|
-
type: PropType<string>;
|
|
7542
|
-
} & {
|
|
7543
|
-
default: any;
|
|
7544
|
-
};
|
|
7545
|
-
label: {
|
|
7546
|
-
type: PropType<string>;
|
|
7547
|
-
} & {
|
|
7548
|
-
default: any;
|
|
7549
|
-
};
|
|
7550
|
-
required: {
|
|
7551
|
-
type: PropType<boolean>;
|
|
7552
|
-
} & {
|
|
7553
|
-
default: boolean;
|
|
7554
|
-
};
|
|
7555
|
-
condensed: {
|
|
7556
|
-
type: PropType<boolean>;
|
|
7557
|
-
} & {
|
|
7558
|
-
default: boolean;
|
|
7559
|
-
};
|
|
7560
|
-
disabled: {
|
|
7561
|
-
type: PropType<boolean>;
|
|
7562
|
-
} & {
|
|
7563
|
-
default: boolean;
|
|
7564
|
-
};
|
|
7565
|
-
loading: {
|
|
7566
|
-
type: PropType<boolean>;
|
|
7567
|
-
} & {
|
|
7568
|
-
default: boolean;
|
|
7569
|
-
};
|
|
7570
|
-
error: {
|
|
7571
|
-
type: PropType<boolean>;
|
|
7572
|
-
} & {
|
|
7573
|
-
default: boolean;
|
|
7574
|
-
};
|
|
7575
|
-
optional: {
|
|
7576
|
-
type: PropType<boolean>;
|
|
7577
|
-
} & {
|
|
7578
|
-
default: boolean;
|
|
7579
|
-
};
|
|
7580
|
-
readonly: {
|
|
7581
|
-
type: PropType<boolean>;
|
|
7582
|
-
} & {
|
|
7583
|
-
default: boolean;
|
|
7584
|
-
};
|
|
7585
|
-
size: {
|
|
7586
|
-
type: PropType<BentoDropdownSize | "DropdownInputDefault" | "DropdownInputSmall">;
|
|
7587
|
-
} & {
|
|
7588
|
-
default: any;
|
|
7589
|
-
};
|
|
7590
|
-
multiple: {
|
|
7591
|
-
type: PropType<boolean>;
|
|
7592
|
-
} & {
|
|
7593
|
-
default: boolean;
|
|
7594
|
-
};
|
|
7595
|
-
tooltipText: {
|
|
7596
|
-
type: PropType<string>;
|
|
7597
|
-
} & {
|
|
7598
|
-
default: any;
|
|
7599
|
-
};
|
|
7600
|
-
errorMessage: {
|
|
7601
|
-
type: PropType<string>;
|
|
7602
|
-
} & {
|
|
7603
|
-
default: any;
|
|
7604
|
-
};
|
|
7605
|
-
ariaLabel: {
|
|
7606
|
-
type: PropType<string>;
|
|
7607
|
-
} & {
|
|
7608
|
-
default: any;
|
|
7609
|
-
};
|
|
7610
|
-
isOptionDisabled: {
|
|
7611
|
-
type: PropType<(optionValue: BentoListboxOptionItem) => boolean>;
|
|
7612
|
-
} & {
|
|
7613
|
-
default: any;
|
|
7614
|
-
};
|
|
7615
|
-
staticCategories: {
|
|
7616
|
-
type: PropType<boolean>;
|
|
7617
|
-
} & {
|
|
7618
|
-
default: boolean;
|
|
7619
|
-
};
|
|
7620
|
-
hasMoreItems: {
|
|
7621
|
-
type: PropType<boolean>;
|
|
7622
|
-
} & {
|
|
7623
|
-
default: boolean;
|
|
7624
|
-
};
|
|
7625
|
-
lazyLoadType: {
|
|
7626
|
-
type: PropType<"button" | "none" | "automatic" | BentoListboxLazyLoadType>;
|
|
7627
|
-
} & {
|
|
7628
|
-
default: BentoListboxLazyLoadType;
|
|
7629
|
-
};
|
|
7630
|
-
emptyState: {
|
|
7631
|
-
type: PropType<BentoListboxEmptyStateProps>;
|
|
7632
|
-
} & {
|
|
7633
|
-
default: any;
|
|
7634
|
-
};
|
|
7635
|
-
componentLoading: {
|
|
7636
|
-
type: PropType<boolean>;
|
|
7637
|
-
} & {
|
|
7638
|
-
default: boolean;
|
|
7639
|
-
};
|
|
7640
|
-
virtualScroll: {
|
|
7641
|
-
type: PropType<BentoListboxVirtulisationOptions>;
|
|
7642
|
-
} & {
|
|
7643
|
-
default: boolean;
|
|
7644
|
-
};
|
|
7645
|
-
dynamicFiltering: {
|
|
7646
|
-
type: PropType<boolean>;
|
|
7647
|
-
} & {
|
|
7648
|
-
default: boolean;
|
|
7649
|
-
};
|
|
7650
|
-
placeholder: {
|
|
7651
|
-
type: PropType<string>;
|
|
7652
|
-
} & {
|
|
7653
|
-
default: any;
|
|
7654
|
-
};
|
|
7655
|
-
showSlotContentInMultiple: {
|
|
7656
|
-
type: PropType<boolean>;
|
|
7657
|
-
} & {
|
|
7658
|
-
default: boolean;
|
|
7659
|
-
};
|
|
7660
|
-
enableValueLabelPair: {
|
|
7661
|
-
type: PropType<boolean>;
|
|
7662
|
-
} & {
|
|
7663
|
-
default: boolean;
|
|
7664
|
-
};
|
|
7665
|
-
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6441
|
+
* }
|
|
6442
|
+
* }
|
|
6443
|
+
*/
|
|
6444
|
+
export declare const BentoDropdownPaymentMethod: DefineComponent<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_11<BentoDropdownPaymentMethodProps>, {
|
|
6445
|
+
items: () => any[];
|
|
6446
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
7666
6447
|
input: (selectedValue: BentoListboxSelectedValue) => void;
|
|
7667
|
-
}, string, Readonly<ExtractPropTypes<
|
|
7668
|
-
|
|
7669
|
-
|
|
7670
|
-
|
|
7671
|
-
|
|
7672
|
-
|
|
7673
|
-
|
|
7674
|
-
|
|
7675
|
-
|
|
7676
|
-
|
|
7677
|
-
|
|
7678
|
-
}
|
|
7679
|
-
|
|
7680
|
-
|
|
7681
|
-
}
|
|
7682
|
-
|
|
7683
|
-
|
|
7684
|
-
|
|
7685
|
-
|
|
7686
|
-
|
|
7687
|
-
|
|
7688
|
-
|
|
7689
|
-
|
|
7690
|
-
|
|
7691
|
-
|
|
7692
|
-
|
|
7693
|
-
|
|
7694
|
-
|
|
7695
|
-
|
|
7696
|
-
|
|
7697
|
-
|
|
7698
|
-
|
|
7699
|
-
|
|
7700
|
-
|
|
7701
|
-
|
|
7702
|
-
|
|
7703
|
-
|
|
7704
|
-
|
|
7705
|
-
|
|
7706
|
-
|
|
7707
|
-
|
|
7708
|
-
|
|
7709
|
-
|
|
7710
|
-
|
|
7711
|
-
|
|
7712
|
-
|
|
7713
|
-
|
|
7714
|
-
|
|
7715
|
-
|
|
7716
|
-
|
|
7717
|
-
|
|
7718
|
-
|
|
7719
|
-
|
|
7720
|
-
|
|
7721
|
-
|
|
7722
|
-
|
|
7723
|
-
|
|
7724
|
-
|
|
7725
|
-
|
|
7726
|
-
}
|
|
7727
|
-
|
|
7728
|
-
}
|
|
7729
|
-
|
|
7730
|
-
|
|
7731
|
-
|
|
7732
|
-
|
|
7733
|
-
}
|
|
7734
|
-
|
|
7735
|
-
|
|
7736
|
-
|
|
7737
|
-
|
|
7738
|
-
|
|
7739
|
-
|
|
7740
|
-
|
|
7741
|
-
|
|
7742
|
-
|
|
7743
|
-
|
|
7744
|
-
|
|
7745
|
-
|
|
7746
|
-
|
|
7747
|
-
|
|
7748
|
-
|
|
7749
|
-
|
|
7750
|
-
|
|
7751
|
-
|
|
7752
|
-
|
|
7753
|
-
|
|
7754
|
-
|
|
7755
|
-
|
|
7756
|
-
|
|
7757
|
-
|
|
7758
|
-
|
|
7759
|
-
|
|
7760
|
-
|
|
7761
|
-
|
|
7762
|
-
|
|
7763
|
-
|
|
7764
|
-
|
|
7765
|
-
|
|
7766
|
-
|
|
7767
|
-
|
|
7768
|
-
|
|
7769
|
-
|
|
7770
|
-
|
|
7771
|
-
|
|
7772
|
-
|
|
7773
|
-
|
|
7774
|
-
|
|
7775
|
-
|
|
7776
|
-
|
|
7777
|
-
|
|
7778
|
-
|
|
7779
|
-
|
|
7780
|
-
|
|
7781
|
-
|
|
7782
|
-
|
|
7783
|
-
|
|
7784
|
-
|
|
7785
|
-
|
|
7786
|
-
|
|
7787
|
-
|
|
7788
|
-
}
|
|
7789
|
-
|
|
7790
|
-
|
|
7791
|
-
|
|
7792
|
-
|
|
7793
|
-
|
|
7794
|
-
|
|
7795
|
-
|
|
7796
|
-
|
|
7797
|
-
|
|
7798
|
-
|
|
7799
|
-
|
|
7800
|
-
|
|
7801
|
-
|
|
7802
|
-
|
|
7803
|
-
|
|
7804
|
-
|
|
7805
|
-
|
|
7806
|
-
|
|
7807
|
-
|
|
7808
|
-
|
|
7809
|
-
|
|
7810
|
-
|
|
7811
|
-
|
|
7812
|
-
|
|
7813
|
-
|
|
7814
|
-
}
|
|
7815
|
-
|
|
7816
|
-
|
|
7817
|
-
|
|
7818
|
-
label
|
|
7819
|
-
|
|
7820
|
-
|
|
7821
|
-
|
|
7822
|
-
|
|
7823
|
-
|
|
7824
|
-
|
|
7825
|
-
|
|
7826
|
-
|
|
7827
|
-
|
|
7828
|
-
|
|
7829
|
-
|
|
7830
|
-
|
|
6448
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_11<BentoDropdownPaymentMethodProps>, {
|
|
6449
|
+
items: () => any[];
|
|
6450
|
+
}>>>, {
|
|
6451
|
+
items: BentoPaymentMethodListboxOptions;
|
|
6452
|
+
}>;
|
|
6453
|
+
|
|
6454
|
+
export declare interface BentoDropdownPaymentMethodProps extends BentoDropdownProps {
|
|
6455
|
+
/**
|
|
6456
|
+
* The option elements to populate the payment method dropdown with.
|
|
6457
|
+
* It must be an array of {@see BentoPaymentMethodListboxOptions }
|
|
6458
|
+
* @property {string} value.label - Text to be displayed in the option
|
|
6459
|
+
* @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}
|
|
6460
|
+
*/
|
|
6461
|
+
items?: BentoPaymentMethodListboxOptions;
|
|
6462
|
+
}
|
|
6463
|
+
|
|
6464
|
+
export declare interface BentoDropdownProps {
|
|
6465
|
+
/**
|
|
6466
|
+
* @deprecated from version 2.0.0. Use the aria-label attribute instead.
|
|
6467
|
+
* Defines a string value that labels an interactive element.
|
|
6468
|
+
*/
|
|
6469
|
+
ariaLabel?: string;
|
|
6470
|
+
/**
|
|
6471
|
+
* Renders the dropdown with a condensed style.
|
|
6472
|
+
*/
|
|
6473
|
+
condensed?: boolean;
|
|
6474
|
+
/**
|
|
6475
|
+
* Empty state props used with the inner empty state component which is displayed when no search results are found.
|
|
6476
|
+
*/
|
|
6477
|
+
emptyState?: BentoListboxEmptyStateProps;
|
|
6478
|
+
/**
|
|
6479
|
+
* Disables dropdown functionality.
|
|
6480
|
+
*/
|
|
6481
|
+
disabled?: boolean;
|
|
6482
|
+
/**
|
|
6483
|
+
* Sets the possibility to type into the textbox.
|
|
6484
|
+
*/
|
|
6485
|
+
dynamicFiltering?: boolean;
|
|
6486
|
+
/**
|
|
6487
|
+
* Highlights the dropdown in an erroneous state.
|
|
6488
|
+
* @deprecated Use "errorMessage" prop instead
|
|
6489
|
+
*/
|
|
6490
|
+
error?: boolean;
|
|
6491
|
+
/**
|
|
6492
|
+
* Highlights the dropdown in an erroneous state with an error message.
|
|
6493
|
+
*/
|
|
6494
|
+
errorMessage?: string;
|
|
6495
|
+
/**
|
|
6496
|
+
* Descriptive supporting text visbile underneath the dropdown.
|
|
6497
|
+
*/
|
|
6498
|
+
description?: string;
|
|
6499
|
+
/**
|
|
6500
|
+
* Indicates whether there are more items to load
|
|
6501
|
+
*/
|
|
6502
|
+
hasMoreItems?: boolean;
|
|
6503
|
+
/**
|
|
6504
|
+
* Function that dertermines which options are disabled from interaction.
|
|
6505
|
+
* @type {BentoListboxIsOptionDisabled}
|
|
6506
|
+
* @param {BentoListboxOptionItem} option - Dropdown option object
|
|
6507
|
+
* @param {string} option.label - Option's label text
|
|
6508
|
+
* @param {string|number} option.value - Option's value
|
|
6509
|
+
* @param {unknown} option.data - Option's extra data to be passed to the default slot
|
|
6510
|
+
*/
|
|
6511
|
+
isOptionDisabled?: BentoListboxIsOptionDisabled;
|
|
6512
|
+
/**
|
|
6513
|
+
* The option elements to populate the dropdown with.
|
|
6514
|
+
* It must be an array of {@see BentoListboxOptionItem }
|
|
6515
|
+
* @property value.label - Text to be displayed in the option
|
|
6516
|
+
* @property value.value - Value of the option
|
|
6517
|
+
*/
|
|
6518
|
+
items?: BentoListboxOptions;
|
|
6519
|
+
/**
|
|
6520
|
+
* Text that is displayed as a label above the element.
|
|
6521
|
+
*/
|
|
6522
|
+
label?: string;
|
|
6523
|
+
/**
|
|
6524
|
+
* Indicates if new options are lazy loading.
|
|
6525
|
+
*/
|
|
6526
|
+
loading?: boolean;
|
|
6527
|
+
/**
|
|
6528
|
+
* Indicates that dropdown items are loading
|
|
6529
|
+
*/
|
|
6530
|
+
componentLoading?: boolean;
|
|
6531
|
+
/**
|
|
6532
|
+
* The type of `Lazy Load`.
|
|
6533
|
+
* Type "automatic" will enable infinite scrolling
|
|
6534
|
+
* Type "button" will enable lazy loading with "Show more" button
|
|
6535
|
+
*/
|
|
6536
|
+
lazyLoadType?: BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`;
|
|
6537
|
+
/**
|
|
6538
|
+
* If enabled, the user will be able to select multiple items.
|
|
6539
|
+
*/
|
|
6540
|
+
multiple?: boolean;
|
|
6541
|
+
/**
|
|
6542
|
+
* Highlights the dropdown is optional.
|
|
6543
|
+
*/
|
|
6544
|
+
optional?: boolean;
|
|
6545
|
+
/**
|
|
6546
|
+
* Text that appears in the form control when it has no value set
|
|
6547
|
+
*/
|
|
6548
|
+
placeholder?: string;
|
|
6549
|
+
/**
|
|
6550
|
+
* Sets the dropdown to readonly state
|
|
6551
|
+
*/
|
|
6552
|
+
readonly?: boolean;
|
|
6553
|
+
/**
|
|
6554
|
+
* Highlights the dropdown is required.
|
|
6555
|
+
*/
|
|
6556
|
+
required?: boolean;
|
|
6557
|
+
/**
|
|
6558
|
+
* Dropdown search options and events.
|
|
6559
|
+
* @see BentoDropdownSearchOptions
|
|
6560
|
+
*/
|
|
6561
|
+
search?: BentoListboxSearchOptions;
|
|
6562
|
+
/**
|
|
6563
|
+
* Toggles whether to use the slot content select items shown in the textbox in multiple mode.
|
|
6564
|
+
*/
|
|
6565
|
+
showSlotContentInMultiple?: boolean;
|
|
6566
|
+
/**
|
|
6567
|
+
* @deprecated Do not use. Only 'default' size should be used.
|
|
6568
|
+
*/
|
|
6569
|
+
size?: BentoDropdownSize | `${BentoDropdownSize}`;
|
|
6570
|
+
/**
|
|
6571
|
+
* If enabled, dropdown will display non-selectable, static categories
|
|
6572
|
+
*/
|
|
6573
|
+
staticCategories?: boolean;
|
|
6574
|
+
/**
|
|
6575
|
+
* Adds a info icon next to the label to display the passed tooltip message.
|
|
6576
|
+
*/
|
|
6577
|
+
tooltipText?: string;
|
|
6578
|
+
/**
|
|
6579
|
+
* The `input` value.
|
|
6580
|
+
* Providing an empty string will select no options.
|
|
6581
|
+
* Set to an empty string `''` if you don't want any of the available options to be selected.
|
|
6582
|
+
*/
|
|
6583
|
+
value?: BentoListboxSelectedValue;
|
|
6584
|
+
/**
|
|
6585
|
+
* Enables virtual scrolling if set to true or by providing an object with itemHeight function.
|
|
6586
|
+
* The itemHeight function is used to calculate the height of rendered item given it's index.
|
|
6587
|
+
*/
|
|
6588
|
+
virtualScroll?: BentoListboxVirtulisationOptions;
|
|
6589
|
+
/**
|
|
6590
|
+
* Enables value/label value handling. When `true`, the component expects and emits value/label
|
|
6591
|
+
* pair objects instead of primitive values.
|
|
6592
|
+
*
|
|
6593
|
+
* This affects both the `value` prop and the `input` event payload.
|
|
6594
|
+
*
|
|
6595
|
+
* - **Input (`value` prop):** Expects a `{ value: string | number, label: string }` object (or an array of them for multi-select).
|
|
6596
|
+
* - **Output (`input` event):** Emits a `{ value: string | number, label: string }` object (or an array of them) upon selection.
|
|
6597
|
+
*
|
|
6598
|
+
* This is particularly useful when a selected item's label is not available in the `items` prop,
|
|
6599
|
+
* allowing the component to display the correct label for values loaded from external sources.
|
|
6600
|
+
* @default false
|
|
6601
|
+
*/
|
|
6602
|
+
enableValueLabelPair?: boolean;
|
|
6603
|
+
}
|
|
6604
|
+
|
|
6605
|
+
/**
|
|
6606
|
+
* @deprecated Do not use. Only 'default' size should be used.
|
|
6607
|
+
*/
|
|
6608
|
+
export declare enum BentoDropdownSize {
|
|
6609
|
+
DEFAULT = "DropdownInputDefault",
|
|
6610
|
+
SMALL = "DropdownInputSmall"
|
|
6611
|
+
}
|
|
6612
|
+
|
|
6613
|
+
/**
|
|
6614
|
+
* A Tag Dropdown showing a selectable list of tags.
|
|
6615
|
+
*
|
|
6616
|
+
* @example
|
|
6617
|
+
* import { BentoDropdownTag } from '../../../../..';
|
|
6618
|
+
* import type { BentoTagListboxOptions } from '../../../../..'
|
|
6619
|
+
*
|
|
6620
|
+
* export default {
|
|
6621
|
+
* components: { BentoDropdownTag },
|
|
6622
|
+
* template: `
|
|
6623
|
+
* <bento-dropdown-tag
|
|
6624
|
+
* v-model="selectedValue"
|
|
6625
|
+
* :disabled="false"
|
|
6626
|
+
* :items="options"
|
|
6627
|
+
* />
|
|
6628
|
+
* `,
|
|
6629
|
+
* setup() {
|
|
6630
|
+
* const selectedValue = ref('unique-id-1') // Default value
|
|
6631
|
+
* const options: BentoTagListboxOptions = [
|
|
6632
|
+
* { label: 'Offline', value: 'unique-id-1', variant: 'red' },
|
|
6633
|
+
* { label: 'Online', value: 'unique-id-2', variant: 'green' },
|
|
6634
|
+
* ];
|
|
6635
|
+
* return { options, selectedValue };
|
|
6636
|
+
* }
|
|
6637
|
+
* }
|
|
6638
|
+
*/
|
|
6639
|
+
export declare const BentoDropdownTag: DefineComponent<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_12<BentoDropdownTagProps>, {
|
|
6640
|
+
items: () => any[];
|
|
6641
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6642
|
+
input: (selectedValue: BentoListboxSelectedValue) => void;
|
|
6643
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_12<BentoDropdownTagProps>, {
|
|
6644
|
+
items: () => any[];
|
|
6645
|
+
}>>>, {
|
|
7831
6646
|
items: BentoTagListboxOptions;
|
|
7832
|
-
isOptionDisabled: BentoListboxIsOptionDisabled;
|
|
7833
|
-
staticCategories: boolean;
|
|
7834
|
-
hasMoreItems: boolean;
|
|
7835
|
-
lazyLoadType: BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`;
|
|
7836
|
-
emptyState: BentoListboxEmptyStateProps;
|
|
7837
|
-
componentLoading: boolean;
|
|
7838
|
-
virtualScroll: BentoListboxVirtulisationOptions;
|
|
7839
|
-
dynamicFiltering: boolean;
|
|
7840
|
-
placeholder: string;
|
|
7841
|
-
showSlotContentInMultiple: boolean;
|
|
7842
|
-
enableValueLabelPair: boolean;
|
|
7843
6647
|
}>;
|
|
7844
6648
|
|
|
6649
|
+
export declare interface BentoDropdownTagProps extends BentoDropdownProps {
|
|
6650
|
+
/**
|
|
6651
|
+
* The option elements to populate the tag dropdown with.
|
|
6652
|
+
* It must be an array of {@see BentoTagListboxOptions }
|
|
6653
|
+
* @property {string} value.label - Text to be displayed in the option
|
|
6654
|
+
* @property {string | number} value.value - Value of the option
|
|
6655
|
+
* @property {string} value.variant - The BentTag variant shown for the option.
|
|
6656
|
+
*/
|
|
6657
|
+
items?: BentoTagListboxOptions;
|
|
6658
|
+
}
|
|
6659
|
+
|
|
7845
6660
|
/**
|
|
7846
6661
|
* Empty states are moments in the user experience when there is nothing to display.
|
|
7847
6662
|
* This component can be used to provide:
|
|
@@ -7973,9 +6788,9 @@ validator: (value: BentoEmptyStateVariant) => boolean;
|
|
|
7973
6788
|
}>>, {
|
|
7974
6789
|
description: string;
|
|
7975
6790
|
title: string;
|
|
7976
|
-
image: "
|
|
6791
|
+
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";
|
|
7977
6792
|
variant: "condensed" | "full-page" | "embedded" | "basic";
|
|
7978
|
-
action:
|
|
6793
|
+
action: BentoActionButton;
|
|
7979
6794
|
headingEl: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span";
|
|
7980
6795
|
}>, {
|
|
7981
6796
|
title: (_: {}) => any;
|
|
@@ -8034,7 +6849,6 @@ export declare enum BentoEmptyStateVariant {
|
|
|
8034
6849
|
* :maxDimensions="{ width: 200, height: 100 }"
|
|
8035
6850
|
* :maxSize="1000"
|
|
8036
6851
|
* v-model="files"
|
|
8037
|
-
* multiple
|
|
8038
6852
|
* :optional="false"
|
|
8039
6853
|
* required
|
|
8040
6854
|
* tooltipText="Useful information"
|
|
@@ -8045,7 +6859,7 @@ export declare enum BentoEmptyStateVariant {
|
|
|
8045
6859
|
* }
|
|
8046
6860
|
* }
|
|
8047
6861
|
*/
|
|
8048
|
-
export declare const BentoFileUploader: DefineComponent<
|
|
6862
|
+
export declare const BentoFileUploader: DefineComponent<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_18<BentoFileUploaderProps>, {
|
|
8049
6863
|
accept: any;
|
|
8050
6864
|
description: any;
|
|
8051
6865
|
errorMessage: any;
|
|
@@ -8062,7 +6876,7 @@ input: (value?: FileList) => void;
|
|
|
8062
6876
|
"update:modelValue": (value?: FileList) => void;
|
|
8063
6877
|
} & {
|
|
8064
6878
|
"error:upload": (value: boolean) => void;
|
|
8065
|
-
}, string, Readonly<ExtractPropTypes<
|
|
6879
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_18<BentoFileUploaderProps>, {
|
|
8066
6880
|
accept: any;
|
|
8067
6881
|
description: any;
|
|
8068
6882
|
errorMessage: any;
|
|
@@ -8167,7 +6981,7 @@ export declare type BentoFileUploaderValue = string | Array<string> | File | Arr
|
|
|
8167
6981
|
* `
|
|
8168
6982
|
* }
|
|
8169
6983
|
*/
|
|
8170
|
-
export declare const BentoFilterBar: DefineComponent<
|
|
6984
|
+
export declare const BentoFilterBar: DefineComponent<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_19<BentoFilterBarProps>, {
|
|
8171
6985
|
config: () => any[];
|
|
8172
6986
|
filterValues: () => any[];
|
|
8173
6987
|
containerSizeLayout: () => {
|
|
@@ -8184,7 +6998,7 @@ isClearAllVisible: ComputedRef<boolean>;
|
|
|
8184
6998
|
clearAllFilters: () => void;
|
|
8185
6999
|
isResetAllVisible: ComputedRef<boolean>;
|
|
8186
7000
|
resetAllFilters: () => void;
|
|
8187
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, (BentoFilterBarEvent | BentoSearchBarEvent)[], string, Readonly<ExtractPropTypes<
|
|
7001
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, (BentoFilterBarEvent | BentoSearchBarEvent)[], string, Readonly<ExtractPropTypes<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_19<BentoFilterBarProps>, {
|
|
8188
7002
|
config: () => any[];
|
|
8189
7003
|
filterValues: () => any[];
|
|
8190
7004
|
containerSizeLayout: () => {
|
|
@@ -8850,7 +7664,7 @@ declare enum BentoHeaderVariant {
|
|
|
8850
7664
|
* `
|
|
8851
7665
|
* };
|
|
8852
7666
|
*/
|
|
8853
|
-
export declare const BentoHeaderWithViews: __VLS_WithTemplateSlots_17<DefineComponent<
|
|
7667
|
+
export declare const BentoHeaderWithViews: __VLS_WithTemplateSlots_17<DefineComponent<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_20<BentoHeaderWithViewsProps>, {
|
|
8854
7668
|
actions: () => any[];
|
|
8855
7669
|
additionalViewSetting: any;
|
|
8856
7670
|
title: any;
|
|
@@ -8876,7 +7690,7 @@ views: () => any[];
|
|
|
8876
7690
|
"update:view": (value: BentoHeaderWithViewsItemUpdate) => void;
|
|
8877
7691
|
} & {
|
|
8878
7692
|
"update:skip-unsaved-changes": (value: boolean) => void;
|
|
8879
|
-
}, string, Readonly<ExtractPropTypes<
|
|
7693
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_20<BentoHeaderWithViewsProps>, {
|
|
8880
7694
|
actions: () => any[];
|
|
8881
7695
|
additionalViewSetting: any;
|
|
8882
7696
|
title: any;
|
|
@@ -8998,6 +7812,8 @@ export declare interface BentoHeaderWithViewsProps {
|
|
|
8998
7812
|
/**
|
|
8999
7813
|
* Optional list of actions (buttons) to display in the header.
|
|
9000
7814
|
* The structure of each action is defined by the `BentoButtonActionsList` type.
|
|
7815
|
+
*
|
|
7816
|
+
* {@link [BentoButtonActionsList](https://adyen-bento.netlify.app/?path=/docs/components-button-button-actions--docs#variations)}
|
|
9001
7817
|
*/
|
|
9002
7818
|
actions?: BentoButtonActionsList;
|
|
9003
7819
|
/**
|
|
@@ -9006,12 +7822,21 @@ export declare interface BentoHeaderWithViewsProps {
|
|
|
9006
7822
|
title: string;
|
|
9007
7823
|
/**
|
|
9008
7824
|
* Optional array of view items to display as selectable views or tabs.
|
|
9009
|
-
*
|
|
7825
|
+
*
|
|
7826
|
+
* Each view should have the following property:
|
|
7827
|
+
* - `icon` (BentoHeaderWithViewsItemIcon, optional): Optional icon to display.
|
|
7828
|
+
* - `iconColor` (BentoHeaderWithViewsItemIconColor, optional): Optional color of the icon.
|
|
7829
|
+
* - `label` (string): Text label for the view item.
|
|
7830
|
+
* - `isDefault` (boolean, optional): Indicates if this view item is the default or currently active view.
|
|
7831
|
+
* - `additionalViewSetting` (BentoHeaderWithViewsItemAdditionalConfig, optional): Optional configuration for an additional view setting.
|
|
7832
|
+
* - `isFixed` (boolean, optional): Indicates if this view can be edited or deleted. * @see {@link BentoHeaderWithViewsItem}
|
|
9010
7833
|
*/
|
|
9011
7834
|
views?: BentoHeaderWithViewsItem[];
|
|
9012
7835
|
/**
|
|
9013
7836
|
* Optional configuration for an additional view setting, such as a filter or option.
|
|
9014
7837
|
* Defined by the `BentoHeaderWithViewsItemAdditionalConfig` interface.
|
|
7838
|
+
*
|
|
7839
|
+
* @see {@link BentoHeaderWithViewsItemAdditionalConfig}
|
|
9015
7840
|
*/
|
|
9016
7841
|
additionalViewSetting?: BentoHeaderWithViewsItemAdditionalConfig;
|
|
9017
7842
|
/**
|
|
@@ -9066,10 +7891,10 @@ export declare interface BentoHeaderWithViewsProps {
|
|
|
9066
7891
|
* `
|
|
9067
7892
|
* }
|
|
9068
7893
|
*/
|
|
9069
|
-
export declare const BentoImage: DefineComponent<
|
|
7894
|
+
export declare const BentoImage: DefineComponent<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_21<BentoImageProps>, {
|
|
9070
7895
|
aspectRatio: any;
|
|
9071
7896
|
objectFit: any;
|
|
9072
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
7897
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_21<BentoImageProps>, {
|
|
9073
7898
|
aspectRatio: any;
|
|
9074
7899
|
objectFit: any;
|
|
9075
7900
|
}>>>, {
|
|
@@ -9078,36 +7903,33 @@ objectFit: BentoImageObjectFit | `${BentoImageObjectFit}` | null;
|
|
|
9078
7903
|
}>;
|
|
9079
7904
|
|
|
9080
7905
|
export declare enum BentoImageAspectRatio {
|
|
9081
|
-
LANDSCAPE =
|
|
9082
|
-
P4_3 =
|
|
9083
|
-
P3_3 =
|
|
9084
|
-
P16_9 =
|
|
9085
|
-
P2_1 =
|
|
9086
|
-
PORTRAIT =
|
|
9087
|
-
P3_4 =
|
|
9088
|
-
P2_3 =
|
|
9089
|
-
P9_16 =
|
|
9090
|
-
P1_2 =
|
|
9091
|
-
SQUARE =
|
|
9092
|
-
P1_1 =
|
|
7906
|
+
LANDSCAPE = "landscape",
|
|
7907
|
+
P4_3 = "4:3",
|
|
7908
|
+
P3_3 = "3:3",
|
|
7909
|
+
P16_9 = "16:9",
|
|
7910
|
+
P2_1 = "2:1",
|
|
7911
|
+
PORTRAIT = "portrait",
|
|
7912
|
+
P3_4 = "3:4",
|
|
7913
|
+
P2_3 = "2:3",
|
|
7914
|
+
P9_16 = "9:16",
|
|
7915
|
+
P1_2 = "1:2",
|
|
7916
|
+
SQUARE = "square",
|
|
7917
|
+
P1_1 = "1:1"
|
|
9093
7918
|
}
|
|
9094
7919
|
|
|
9095
7920
|
export declare enum BentoImageObjectFit {
|
|
9096
|
-
COVER =
|
|
9097
|
-
FILL =
|
|
9098
|
-
CONTAIN =
|
|
7921
|
+
COVER = "cover",
|
|
7922
|
+
FILL = "fill",
|
|
7923
|
+
CONTAIN = "contain"
|
|
9099
7924
|
}
|
|
9100
7925
|
|
|
9101
7926
|
export declare interface BentoImageProps {
|
|
9102
7927
|
/** Url to image, same as src attribute of `<img>` tag */
|
|
9103
7928
|
src: string;
|
|
9104
|
-
|
|
9105
7929
|
/** Accessible text describing the image, same as alt attribute of `<img>` tag */
|
|
9106
7930
|
alt: string;
|
|
9107
|
-
|
|
9108
7931
|
/** Aspect ratio of the image, maps to css aspect-ratio */
|
|
9109
7932
|
aspectRatio?: BentoImageAspectRatio | `${BentoImageAspectRatio}` | null;
|
|
9110
|
-
|
|
9111
7933
|
/** Object fitting strategy, maps to css object-fit */
|
|
9112
7934
|
objectFit?: BentoImageObjectFit | `${BentoImageObjectFit}` | null;
|
|
9113
7935
|
}
|
|
@@ -9122,11 +7944,11 @@ export declare interface BentoImageProps {
|
|
|
9122
7944
|
* import { BentoInfoIcon } from '../..';
|
|
9123
7945
|
* </scrip>
|
|
9124
7946
|
*/
|
|
9125
|
-
export declare const BentoInfoIcon: DefineComponent<
|
|
7947
|
+
export declare const BentoInfoIcon: DefineComponent<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_22<BentoInfoIconProps>, {
|
|
9126
7948
|
tooltipPosition: PopperContainerPositionExtended;
|
|
9127
7949
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
9128
7950
|
mouseenter: (event: MouseEvent) => void;
|
|
9129
|
-
}, string, Readonly<ExtractPropTypes<
|
|
7951
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_22<BentoInfoIconProps>, {
|
|
9130
7952
|
tooltipPosition: PopperContainerPositionExtended;
|
|
9131
7953
|
}>>>, {
|
|
9132
7954
|
tooltipPosition: PopperContainerPosition | `${PopperContainerPosition}`;
|
|
@@ -9184,7 +8006,7 @@ export declare type BentoInputDropdownProps = {
|
|
|
9184
8006
|
* >
|
|
9185
8007
|
* }
|
|
9186
8008
|
*/
|
|
9187
|
-
export declare const BentoInputField: __VLS_WithTemplateSlots_18<DefineComponent<
|
|
8009
|
+
export declare const BentoInputField: __VLS_WithTemplateSlots_18<DefineComponent<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_23<BentoInputFieldProps>, {
|
|
9188
8010
|
ariaHidden: boolean;
|
|
9189
8011
|
ariaLabel: any;
|
|
9190
8012
|
condensed: boolean;
|
|
@@ -9225,7 +8047,7 @@ keydown: (event: KeyboardEvent) => void;
|
|
|
9225
8047
|
keyup: (event: KeyboardEvent) => void;
|
|
9226
8048
|
} & {
|
|
9227
8049
|
input: (inputValue: string) => void;
|
|
9228
|
-
}, string, Readonly<ExtractPropTypes<
|
|
8050
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_23<BentoInputFieldProps>, {
|
|
9229
8051
|
ariaHidden: boolean;
|
|
9230
8052
|
ariaLabel: any;
|
|
9231
8053
|
condensed: boolean;
|
|
@@ -9326,7 +8148,7 @@ export declare enum BentoInputFieldEvent {
|
|
|
9326
8148
|
* `
|
|
9327
8149
|
* }
|
|
9328
8150
|
*/
|
|
9329
|
-
export declare const BentoInputFieldPassword: DefineComponent<
|
|
8151
|
+
export declare const BentoInputFieldPassword: DefineComponent<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_24<BentoInputFieldPasswordProps>, {
|
|
9330
8152
|
condensed: boolean;
|
|
9331
8153
|
debounceTime: number;
|
|
9332
8154
|
disabled: boolean;
|
|
@@ -9348,7 +8170,7 @@ focus: () => void;
|
|
|
9348
8170
|
"input:error": (errors: BentoInputFieldPasswordErrorsList) => void;
|
|
9349
8171
|
} & {
|
|
9350
8172
|
input: (value: BentoInputFieldValue) => void;
|
|
9351
|
-
}, string, Readonly<ExtractPropTypes<
|
|
8173
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_24<BentoInputFieldPasswordProps>, {
|
|
9352
8174
|
condensed: boolean;
|
|
9353
8175
|
debounceTime: number;
|
|
9354
8176
|
disabled: boolean;
|
|
@@ -9481,7 +8303,7 @@ export declare interface BentoInputFieldPasswordValidationListItem {
|
|
|
9481
8303
|
* `
|
|
9482
8304
|
* }
|
|
9483
8305
|
*/
|
|
9484
|
-
export declare const BentoInputFieldPhoneNumber: __VLS_WithTemplateSlots_19<DefineComponent<
|
|
8306
|
+
export declare const BentoInputFieldPhoneNumber: __VLS_WithTemplateSlots_19<DefineComponent<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_25<BentoInputFieldPhoneNumberProps>, {
|
|
9485
8307
|
countries: () => CountryCode_2[];
|
|
9486
8308
|
dynamicFiltering: boolean;
|
|
9487
8309
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -9490,7 +8312,7 @@ blur: () => void;
|
|
|
9490
8312
|
input: (value: string) => void;
|
|
9491
8313
|
} & {
|
|
9492
8314
|
"update:selected-country": (country: CountryCode_2) => void;
|
|
9493
|
-
}, string, Readonly<ExtractPropTypes<
|
|
8315
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_25<BentoInputFieldPhoneNumberProps>, {
|
|
9494
8316
|
countries: () => CountryCode_2[];
|
|
9495
8317
|
dynamicFiltering: boolean;
|
|
9496
8318
|
}>>>, {
|
|
@@ -9501,6 +8323,11 @@ countries: CountryCode[];
|
|
|
9501
8323
|
description: (_: {}) => any;
|
|
9502
8324
|
}>;
|
|
9503
8325
|
|
|
8326
|
+
/**
|
|
8327
|
+
* A constant array containing all supported country codes for the phone number input field.
|
|
8328
|
+
*/
|
|
8329
|
+
export declare const BentoInputFieldPhoneNumberCountries: CountryCode_2[];
|
|
8330
|
+
|
|
9504
8331
|
export declare type BentoInputFieldPhoneNumberDropdownProps = Pick<BentoInputDropdownProps, 'readonly'>;
|
|
9505
8332
|
|
|
9506
8333
|
export declare interface BentoInputFieldPhoneNumberProps extends FormField {
|
|
@@ -9762,7 +8589,7 @@ export declare type BentoInpuWithDropdowntFilterValue = {
|
|
|
9762
8589
|
* `
|
|
9763
8590
|
* }
|
|
9764
8591
|
*/
|
|
9765
|
-
export declare const BentoInspector: __VLS_WithTemplateSlots_20<DefineComponent<
|
|
8592
|
+
export declare const BentoInspector: __VLS_WithTemplateSlots_20<DefineComponent<__VLS_WithDefaults_26<__VLS_TypePropsToRuntimeProps_26<BentoInspectorProps>, {
|
|
9766
8593
|
activePage: string;
|
|
9767
8594
|
expandable: boolean;
|
|
9768
8595
|
isOpen: boolean;
|
|
@@ -9776,7 +8603,7 @@ pageFocusAnchor: any;
|
|
|
9776
8603
|
"update:active-page": (value: string) => void;
|
|
9777
8604
|
} & {
|
|
9778
8605
|
expand: () => void;
|
|
9779
|
-
}, string, Readonly<ExtractPropTypes<
|
|
8606
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_26<__VLS_TypePropsToRuntimeProps_26<BentoInspectorProps>, {
|
|
9780
8607
|
activePage: string;
|
|
9781
8608
|
expandable: boolean;
|
|
9782
8609
|
isOpen: boolean;
|
|
@@ -9786,8 +8613,8 @@ relativeLayout: string;
|
|
|
9786
8613
|
pageFocusAnchor: any;
|
|
9787
8614
|
}>>>, {
|
|
9788
8615
|
isOpen: boolean;
|
|
9789
|
-
loading: boolean;
|
|
9790
8616
|
size: BentoInspectorSize;
|
|
8617
|
+
loading: boolean;
|
|
9791
8618
|
activePage: string;
|
|
9792
8619
|
expandable: boolean;
|
|
9793
8620
|
relativeLayout: BentoInspectorRelativeLayout;
|
|
@@ -9892,10 +8719,10 @@ export declare enum BentoKeyboardNavigationKeyDownEvent {
|
|
|
9892
8719
|
* `
|
|
9893
8720
|
* }
|
|
9894
8721
|
*/
|
|
9895
|
-
export declare const BentoLayout: __VLS_WithTemplateSlots_21<DefineComponent<
|
|
8722
|
+
export declare const BentoLayout: __VLS_WithTemplateSlots_21<DefineComponent<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_27<BentoLayoutProps>, {
|
|
9896
8723
|
size: string;
|
|
9897
8724
|
variant: string;
|
|
9898
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
8725
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_27<BentoLayoutProps>, {
|
|
9899
8726
|
size: string;
|
|
9900
8727
|
variant: string;
|
|
9901
8728
|
}>>>, {
|
|
@@ -9938,9 +8765,9 @@ export declare interface BentoLayoutProps {
|
|
|
9938
8765
|
* `
|
|
9939
8766
|
* }
|
|
9940
8767
|
*/
|
|
9941
|
-
export declare const BentoLayoutRow: __VLS_WithTemplateSlots_22<DefineComponent<
|
|
8768
|
+
export declare const BentoLayoutRow: __VLS_WithTemplateSlots_22<DefineComponent<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_28<BentoLayoutRowProps>, {
|
|
9942
8769
|
columnsLayout: string;
|
|
9943
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
8770
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_28<BentoLayoutRowProps>, {
|
|
9944
8771
|
columnsLayout: string;
|
|
9945
8772
|
}>>>, {
|
|
9946
8773
|
columnsLayout: BentoLayoutRowColumnLayout;
|
|
@@ -9987,12 +8814,12 @@ export declare type BentoLazyLoadType = 'automatic' | 'button' | 'none';
|
|
|
9987
8814
|
* `
|
|
9988
8815
|
* }
|
|
9989
8816
|
*/
|
|
9990
|
-
export declare const BentoLink: __VLS_WithTemplateSlots_23<DefineComponent<
|
|
8817
|
+
export declare const BentoLink: __VLS_WithTemplateSlots_23<DefineComponent<__VLS_WithDefaults_29<__VLS_TypePropsToRuntimeProps_29<BentoLinkProps>, {
|
|
9991
8818
|
target: any;
|
|
9992
8819
|
variant: BentoLinkVariant;
|
|
9993
8820
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
9994
8821
|
click: (clickEvent: MouseEvent) => void;
|
|
9995
|
-
}, string, Readonly<ExtractPropTypes<
|
|
8822
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_29<__VLS_TypePropsToRuntimeProps_29<BentoLinkProps>, {
|
|
9996
8823
|
target: any;
|
|
9997
8824
|
variant: BentoLinkVariant;
|
|
9998
8825
|
}>>>, {
|
|
@@ -10002,7 +8829,37 @@ target: string;
|
|
|
10002
8829
|
default: (_: {}) => any;
|
|
10003
8830
|
}>;
|
|
10004
8831
|
|
|
10005
|
-
declare type BentoLinkProps = RouterLinkProps &
|
|
8832
|
+
export declare type BentoLinkProps = RouterLinkProps & {
|
|
8833
|
+
/**
|
|
8834
|
+
* Disable the default typography for the component. Only use this when the component is inside another typography component.
|
|
8835
|
+
*/
|
|
8836
|
+
disableTypography?: boolean;
|
|
8837
|
+
/**
|
|
8838
|
+
* Set the rendered link to a regular external anchor link and renders an external link icon.
|
|
8839
|
+
*/
|
|
8840
|
+
external?: boolean;
|
|
8841
|
+
/**
|
|
8842
|
+
* Set to true if used inside a `BentoButton` component.
|
|
8843
|
+
*/
|
|
8844
|
+
isButton?: boolean;
|
|
8845
|
+
/**
|
|
8846
|
+
* Set the rendered link to a regular external anchor link.
|
|
8847
|
+
*/
|
|
8848
|
+
isNotRouting?: boolean;
|
|
8849
|
+
/**
|
|
8850
|
+
* Sets the target of the rendered link.
|
|
8851
|
+
*/
|
|
8852
|
+
target?: string;
|
|
8853
|
+
/**
|
|
8854
|
+
* Set to true to truncate link. Doesn't work with disableTypography.
|
|
8855
|
+
*/
|
|
8856
|
+
truncate?: boolean;
|
|
8857
|
+
/**
|
|
8858
|
+
* Link variant type affecting visual style.
|
|
8859
|
+
* @values default, quiet
|
|
8860
|
+
*/
|
|
8861
|
+
variant?: BentoLinkVariant | `${BentoLinkVariant}`;
|
|
8862
|
+
};
|
|
10006
8863
|
|
|
10007
8864
|
/**
|
|
10008
8865
|
* @deprecated for usage with properties since version 2.0. Use the string literal instead.
|
|
@@ -10012,14 +8869,6 @@ export declare enum BentoLinkVariant {
|
|
|
10012
8869
|
QUIET = "quiet"
|
|
10013
8870
|
}
|
|
10014
8871
|
|
|
10015
|
-
/**
|
|
10016
|
-
* @deprecated for usage with properties since version 2.0. Use the string literal instead.
|
|
10017
|
-
*/
|
|
10018
|
-
declare enum BentoLinkVariant_2 {
|
|
10019
|
-
DEFAULT = 'default',
|
|
10020
|
-
QUIET = 'quiet',
|
|
10021
|
-
}
|
|
10022
|
-
|
|
10023
8872
|
declare type BentoListboxEmptyStateProps = {
|
|
10024
8873
|
action: {
|
|
10025
8874
|
icon?: any;
|
|
@@ -10211,7 +9060,7 @@ condensed: boolean;
|
|
|
10211
9060
|
critical: boolean;
|
|
10212
9061
|
disabled: boolean;
|
|
10213
9062
|
inverse: boolean;
|
|
10214
|
-
state: "start" | "loading" | "success" | "fail"
|
|
9063
|
+
state: "start" | "loading" | "success" | BentoLoadingButtonState | "fail";
|
|
10215
9064
|
}>, {
|
|
10216
9065
|
default: (_: {}) => any;
|
|
10217
9066
|
iconLeft: (_: {}) => any;
|
|
@@ -10228,13 +9077,6 @@ export declare enum BentoLoadingButtonState {
|
|
|
10228
9077
|
FAIL = "fail"
|
|
10229
9078
|
}
|
|
10230
9079
|
|
|
10231
|
-
declare enum BentoLoadingButtonState_2 {
|
|
10232
|
-
START = 'start',
|
|
10233
|
-
LOADING = 'loading',
|
|
10234
|
-
SUCCESS = 'success',
|
|
10235
|
-
FAIL = 'fail',
|
|
10236
|
-
}
|
|
10237
|
-
|
|
10238
9080
|
export declare const BentoLoadingIndicator: DefineComponent< {
|
|
10239
9081
|
/**
|
|
10240
9082
|
* Displays the loading indicator in a small size
|
|
@@ -10313,11 +9155,11 @@ export declare enum BentoLoadingIndicatorEvent {
|
|
|
10313
9155
|
* />
|
|
10314
9156
|
* }
|
|
10315
9157
|
*/
|
|
10316
|
-
export declare const BentoMenu: __VLS_WithTemplateSlots_24<DefineComponent<
|
|
9158
|
+
export declare const BentoMenu: __VLS_WithTemplateSlots_24<DefineComponent<__VLS_WithDefaults_30<__VLS_TypePropsToRuntimeProps_30<BentoMenuProps>, {
|
|
10317
9159
|
button: () => BentoMenuButtonProps;
|
|
10318
9160
|
closeMenuOnItemSelect: boolean;
|
|
10319
9161
|
disableArrowDownOpeningMenu: boolean;
|
|
10320
|
-
menuPosition:
|
|
9162
|
+
menuPosition: string;
|
|
10321
9163
|
menuFixedPositioning: boolean;
|
|
10322
9164
|
menuWidth: any;
|
|
10323
9165
|
revertFocusToButton: boolean;
|
|
@@ -10336,11 +9178,11 @@ open: () => void;
|
|
|
10336
9178
|
"menu-item-click": () => void;
|
|
10337
9179
|
} & {
|
|
10338
9180
|
"click-outside": () => void;
|
|
10339
|
-
}, string, Readonly<ExtractPropTypes<
|
|
9181
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_30<__VLS_TypePropsToRuntimeProps_30<BentoMenuProps>, {
|
|
10340
9182
|
button: () => BentoMenuButtonProps;
|
|
10341
9183
|
closeMenuOnItemSelect: boolean;
|
|
10342
9184
|
disableArrowDownOpeningMenu: boolean;
|
|
10343
|
-
menuPosition:
|
|
9185
|
+
menuPosition: string;
|
|
10344
9186
|
menuFixedPositioning: boolean;
|
|
10345
9187
|
menuWidth: any;
|
|
10346
9188
|
revertFocusToButton: boolean;
|
|
@@ -10348,13 +9190,13 @@ teleport: boolean;
|
|
|
10348
9190
|
closeOnClickOutsideOptions: any;
|
|
10349
9191
|
}>>>, {
|
|
10350
9192
|
button: BentoMenuButtonProps;
|
|
10351
|
-
teleport: boolean;
|
|
10352
9193
|
closeMenuOnItemSelect: boolean;
|
|
10353
9194
|
disableArrowDownOpeningMenu: boolean;
|
|
10354
9195
|
menuPosition: BentoPopoverPositions | `${BentoPopoverPositions}`;
|
|
10355
9196
|
menuFixedPositioning: boolean;
|
|
10356
9197
|
menuWidth: number;
|
|
10357
9198
|
revertFocusToButton: boolean;
|
|
9199
|
+
teleport: boolean;
|
|
10358
9200
|
closeOnClickOutsideOptions: any;
|
|
10359
9201
|
}>, {
|
|
10360
9202
|
iconLeft: (_: {}) => any;
|
|
@@ -10362,10 +9204,10 @@ closeOnClickOutsideOptions: any;
|
|
|
10362
9204
|
}>;
|
|
10363
9205
|
|
|
10364
9206
|
export declare type BentoMenuButtonProps = {
|
|
10365
|
-
'aria-label'?:
|
|
10366
|
-
condensed?:
|
|
10367
|
-
disabled?:
|
|
10368
|
-
variant?:
|
|
9207
|
+
'aria-label'?: HTMLAttributes['aria-label'];
|
|
9208
|
+
condensed?: BentoButtonProps['condensed'];
|
|
9209
|
+
disabled?: BentoButtonProps['disabled'];
|
|
9210
|
+
variant?: BentoButtonProps['variant'];
|
|
10369
9211
|
};
|
|
10370
9212
|
|
|
10371
9213
|
export declare enum BentoMenuEvent {
|
|
@@ -11081,7 +9923,7 @@ contextualLabel: string;
|
|
|
11081
9923
|
* `
|
|
11082
9924
|
* }
|
|
11083
9925
|
*/
|
|
11084
|
-
export declare const BentoModalPage: __VLS_WithTemplateSlots_26<DefineComponent<
|
|
9926
|
+
export declare const BentoModalPage: __VLS_WithTemplateSlots_26<DefineComponent<__VLS_WithDefaults_31<__VLS_TypePropsToRuntimeProps_31<BentoModalPageProps>, {
|
|
11085
9927
|
actions: any;
|
|
11086
9928
|
actionsLabel: any;
|
|
11087
9929
|
columnsSize: BentoModalColumnLayoutVariant;
|
|
@@ -11090,7 +9932,7 @@ destructiveActions: boolean;
|
|
|
11090
9932
|
withColumnLayout: boolean;
|
|
11091
9933
|
pageId: any;
|
|
11092
9934
|
previousPage: any;
|
|
11093
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
9935
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_31<__VLS_TypePropsToRuntimeProps_31<BentoModalPageProps>, {
|
|
11094
9936
|
actions: any;
|
|
11095
9937
|
actionsLabel: any;
|
|
11096
9938
|
columnsSize: BentoModalColumnLayoutVariant;
|
|
@@ -11238,7 +10080,7 @@ export declare type BentoMultiCheckboxType = Array<string | number>;
|
|
|
11238
10080
|
* `,
|
|
11239
10081
|
* }
|
|
11240
10082
|
*/
|
|
11241
|
-
export declare const BentoPagination: __VLS_WithTemplateSlots_29<DefineComponent<
|
|
10083
|
+
export declare const BentoPagination: __VLS_WithTemplateSlots_29<DefineComponent<__VLS_WithDefaults_32<__VLS_TypePropsToRuntimeProps_32<BentoPaginationProps>, {
|
|
11242
10084
|
ariaLabel: any;
|
|
11243
10085
|
hasNext: any;
|
|
11244
10086
|
hidePageSize: boolean;
|
|
@@ -11254,7 +10096,7 @@ navigate: (page: number, items?: number) => void;
|
|
|
11254
10096
|
"update:page": (page: number) => void;
|
|
11255
10097
|
} & {
|
|
11256
10098
|
"update:size": (size: number) => void;
|
|
11257
|
-
}, string, Readonly<ExtractPropTypes<
|
|
10099
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_32<__VLS_TypePropsToRuntimeProps_32<BentoPaginationProps>, {
|
|
11258
10100
|
ariaLabel: any;
|
|
11259
10101
|
hasNext: any;
|
|
11260
10102
|
hidePageSize: boolean;
|
|
@@ -11320,10 +10162,10 @@ export declare interface BentoPaginationProps {
|
|
|
11320
10162
|
* `
|
|
11321
10163
|
* }
|
|
11322
10164
|
*/
|
|
11323
|
-
export declare const BentoPaymentMethod: DefineComponent<
|
|
10165
|
+
export declare const BentoPaymentMethod: DefineComponent<__VLS_WithDefaults_33<__VLS_TypePropsToRuntimeProps_33<BentoPaymentMethodProps>, {
|
|
11324
10166
|
type: string;
|
|
11325
10167
|
small: boolean;
|
|
11326
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
10168
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_33<__VLS_TypePropsToRuntimeProps_33<BentoPaymentMethodProps>, {
|
|
11327
10169
|
type: string;
|
|
11328
10170
|
small: boolean;
|
|
11329
10171
|
}>>>, {
|
|
@@ -12515,7 +11357,7 @@ export declare enum BentoPaymentMethodType {
|
|
|
12515
11357
|
* `
|
|
12516
11358
|
* }
|
|
12517
11359
|
*/
|
|
12518
|
-
export declare const BentoPopover: __VLS_WithTemplateSlots_30<DefineComponent<
|
|
11360
|
+
export declare const BentoPopover: __VLS_WithTemplateSlots_30<DefineComponent<__VLS_WithDefaults_34<__VLS_TypePropsToRuntimeProps_34<BentoPopoverProps>, {
|
|
12519
11361
|
actions: any;
|
|
12520
11362
|
actionsLayout: string;
|
|
12521
11363
|
ariaLabel: any;
|
|
@@ -12537,7 +11379,7 @@ overflowVisible: boolean;
|
|
|
12537
11379
|
dismiss: () => void;
|
|
12538
11380
|
} & {
|
|
12539
11381
|
placement: (placement: Placement) => void;
|
|
12540
|
-
}, string, Readonly<ExtractPropTypes<
|
|
11382
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_34<__VLS_TypePropsToRuntimeProps_34<BentoPopoverProps>, {
|
|
12541
11383
|
actions: any;
|
|
12542
11384
|
actionsLayout: string;
|
|
12543
11385
|
ariaLabel: any;
|
|
@@ -12583,21 +11425,21 @@ overflowVisible: boolean;
|
|
|
12583
11425
|
* @deprecated for usage with properties since version 2.0. Use the string literal instead.
|
|
12584
11426
|
*/
|
|
12585
11427
|
export declare const BentoPopoverPositions: {
|
|
12586
|
-
AUTO: import("
|
|
12587
|
-
AUTO_START: import("
|
|
12588
|
-
AUTO_END: import("
|
|
12589
|
-
TOP_START: import("
|
|
12590
|
-
TOP_END: import("
|
|
12591
|
-
RIGHT_START: import("
|
|
12592
|
-
RIGHT_END: import("
|
|
12593
|
-
BOTTOM_START: import("
|
|
12594
|
-
BOTTOM_END: import("
|
|
12595
|
-
LEFT_START: import("
|
|
12596
|
-
LEFT_END: import("
|
|
12597
|
-
TOP: import("
|
|
12598
|
-
RIGHT: import("
|
|
12599
|
-
BOTTOM: import("
|
|
12600
|
-
LEFT: import("
|
|
11428
|
+
AUTO: import("../popper-container").PopperContainerPositionExtended.AUTO;
|
|
11429
|
+
AUTO_START: import("../popper-container").PopperContainerPositionExtended.AUTO_START;
|
|
11430
|
+
AUTO_END: import("../popper-container").PopperContainerPositionExtended.AUTO_END;
|
|
11431
|
+
TOP_START: import("../popper-container").PopperContainerPositionExtended.TOP_START;
|
|
11432
|
+
TOP_END: import("../popper-container").PopperContainerPositionExtended.TOP_END;
|
|
11433
|
+
RIGHT_START: import("../popper-container").PopperContainerPositionExtended.RIGHT_START;
|
|
11434
|
+
RIGHT_END: import("../popper-container").PopperContainerPositionExtended.RIGHT_END;
|
|
11435
|
+
BOTTOM_START: import("../popper-container").PopperContainerPositionExtended.BOTTOM_START;
|
|
11436
|
+
BOTTOM_END: import("../popper-container").PopperContainerPositionExtended.BOTTOM_END;
|
|
11437
|
+
LEFT_START: import("../popper-container").PopperContainerPositionExtended.LEFT_START;
|
|
11438
|
+
LEFT_END: import("../popper-container").PopperContainerPositionExtended.LEFT_END;
|
|
11439
|
+
TOP: import("../popper-container").PopperContainerPositionBasic.TOP;
|
|
11440
|
+
RIGHT: import("../popper-container").PopperContainerPositionBasic.RIGHT;
|
|
11441
|
+
BOTTOM: import("../popper-container").PopperContainerPositionBasic.BOTTOM;
|
|
11442
|
+
LEFT: import("../popper-container").PopperContainerPositionBasic.LEFT;
|
|
12601
11443
|
};
|
|
12602
11444
|
|
|
12603
11445
|
export declare type BentoPopoverPositions = PopperContainerPosition;
|
|
@@ -12737,7 +11579,7 @@ export declare interface BentoPopoverProps {
|
|
|
12737
11579
|
* `
|
|
12738
11580
|
* };
|
|
12739
11581
|
*/
|
|
12740
|
-
export declare const BentoPromoBanner: __VLS_WithTemplateSlots_32<DefineComponent<
|
|
11582
|
+
export declare const BentoPromoBanner: __VLS_WithTemplateSlots_32<DefineComponent<__VLS_WithDefaults_35<__VLS_TypePropsToRuntimeProps_35<BentoPromoBannerProps>, {
|
|
12741
11583
|
actions: any;
|
|
12742
11584
|
color: BentoPromoBannerColor;
|
|
12743
11585
|
isDismissible: boolean;
|
|
@@ -12745,7 +11587,7 @@ dismissButtonText: any;
|
|
|
12745
11587
|
layout: BentoPromoBannerLayout;
|
|
12746
11588
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12747
11589
|
dismiss: () => void;
|
|
12748
|
-
}, string, Readonly<ExtractPropTypes<
|
|
11590
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_35<__VLS_TypePropsToRuntimeProps_35<BentoPromoBannerProps>, {
|
|
12749
11591
|
actions: any;
|
|
12750
11592
|
color: BentoPromoBannerColor;
|
|
12751
11593
|
isDismissible: boolean;
|
|
@@ -13266,6 +12108,7 @@ modelValue: BentoRadioButtonValue;
|
|
|
13266
12108
|
formId: string;
|
|
13267
12109
|
}>, {
|
|
13268
12110
|
content: (_: {}) => any;
|
|
12111
|
+
description: (_: {}) => any;
|
|
13269
12112
|
}>;
|
|
13270
12113
|
|
|
13271
12114
|
export declare interface BentoRadioGroupItem {
|
|
@@ -13314,7 +12157,7 @@ export declare type BentoRangeFilterOptions = {
|
|
|
13314
12157
|
* `
|
|
13315
12158
|
* }
|
|
13316
12159
|
*/
|
|
13317
|
-
export declare const BentoRichTextEditor: DefineComponent<
|
|
12160
|
+
export declare const BentoRichTextEditor: DefineComponent<__VLS_WithDefaults_37<__VLS_TypePropsToRuntimeProps_37<BentoRichTextEditorProps>, {
|
|
13318
12161
|
description: any;
|
|
13319
12162
|
disabled: boolean;
|
|
13320
12163
|
errorMessage: any;
|
|
@@ -13326,7 +12169,7 @@ tooltipText: any;
|
|
|
13326
12169
|
value: any;
|
|
13327
12170
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
13328
12171
|
input: (value: string) => void;
|
|
13329
|
-
}, string, Readonly<ExtractPropTypes<
|
|
12172
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_37<__VLS_TypePropsToRuntimeProps_37<BentoRichTextEditorProps>, {
|
|
13330
12173
|
description: any;
|
|
13331
12174
|
disabled: boolean;
|
|
13332
12175
|
errorMessage: any;
|
|
@@ -13438,9 +12281,10 @@ export declare interface BentoRichTextEditorProps {
|
|
|
13438
12281
|
* }
|
|
13439
12282
|
* }
|
|
13440
12283
|
*/
|
|
13441
|
-
export declare const BentoSearchBar: DefineComponent<
|
|
12284
|
+
export declare const BentoSearchBar: DefineComponent<__VLS_WithDefaults_38<__VLS_TypePropsToRuntimeProps_38<BentoSearchBarProps>, {
|
|
13442
12285
|
condensed: boolean;
|
|
13443
12286
|
debounceTime: number;
|
|
12287
|
+
disabled: boolean;
|
|
13444
12288
|
hint: string;
|
|
13445
12289
|
placeholder: string;
|
|
13446
12290
|
value: any;
|
|
@@ -13459,15 +12303,17 @@ clear: () => void;
|
|
|
13459
12303
|
blur: () => void;
|
|
13460
12304
|
} & {
|
|
13461
12305
|
focus: () => void;
|
|
13462
|
-
}, string, Readonly<ExtractPropTypes<
|
|
12306
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_38<__VLS_TypePropsToRuntimeProps_38<BentoSearchBarProps>, {
|
|
13463
12307
|
condensed: boolean;
|
|
13464
12308
|
debounceTime: number;
|
|
12309
|
+
disabled: boolean;
|
|
13465
12310
|
hint: string;
|
|
13466
12311
|
placeholder: string;
|
|
13467
12312
|
value: any;
|
|
13468
12313
|
}>>>, {
|
|
13469
12314
|
value: string;
|
|
13470
12315
|
condensed: boolean;
|
|
12316
|
+
disabled: boolean;
|
|
13471
12317
|
placeholder: string;
|
|
13472
12318
|
debounceTime: number;
|
|
13473
12319
|
hint: string;
|
|
@@ -13506,6 +12352,10 @@ export declare interface BentoSearchBarProps {
|
|
|
13506
12352
|
* Custom debounce time. Default: 300
|
|
13507
12353
|
*/
|
|
13508
12354
|
debounceTime?: number;
|
|
12355
|
+
/**
|
|
12356
|
+
* Disables the text input.
|
|
12357
|
+
*/
|
|
12358
|
+
disabled?: boolean;
|
|
13509
12359
|
/**
|
|
13510
12360
|
* Text displayed as a hint when the field is not empty
|
|
13511
12361
|
*/
|
|
@@ -13542,7 +12392,7 @@ export declare interface BentoSearchBarProps {
|
|
|
13542
12392
|
* }
|
|
13543
12393
|
* }
|
|
13544
12394
|
*/
|
|
13545
|
-
export declare const BentoSecondaryNav: DefineComponent<
|
|
12395
|
+
export declare const BentoSecondaryNav: DefineComponent<__VLS_TypePropsToRuntimeProps_39<{
|
|
13546
12396
|
/**
|
|
13547
12397
|
* An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
|
|
13548
12398
|
* which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
|
|
@@ -13555,7 +12405,7 @@ items: BentoSecondaryNavItems;
|
|
|
13555
12405
|
value?: string;
|
|
13556
12406
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
13557
12407
|
change: (category: string) => void;
|
|
13558
|
-
}, string, Readonly<ExtractPropTypes<
|
|
12408
|
+
}, string, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_39<{
|
|
13559
12409
|
/**
|
|
13560
12410
|
* An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
|
|
13561
12411
|
* which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
|
|
@@ -13600,7 +12450,7 @@ export declare interface BentoSecondaryNavState {
|
|
|
13600
12450
|
* `
|
|
13601
12451
|
* }
|
|
13602
12452
|
*/
|
|
13603
|
-
export declare const BentoSegmentedControl: DefineComponent<
|
|
12453
|
+
export declare const BentoSegmentedControl: DefineComponent<__VLS_WithDefaults_39<__VLS_TypePropsToRuntimeProps_40<BentoSegmentedControlProps>, {
|
|
13604
12454
|
ariaLabel: any;
|
|
13605
12455
|
fullWidth: boolean;
|
|
13606
12456
|
wrap: boolean;
|
|
@@ -13609,7 +12459,7 @@ modelValue: any;
|
|
|
13609
12459
|
"update:model-value": (value: any) => void;
|
|
13610
12460
|
} & {
|
|
13611
12461
|
input: (value: BentoSegmentedControlValue) => void;
|
|
13612
|
-
}, string, Readonly<ExtractPropTypes<
|
|
12462
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_39<__VLS_TypePropsToRuntimeProps_40<BentoSegmentedControlProps>, {
|
|
13613
12463
|
ariaLabel: any;
|
|
13614
12464
|
fullWidth: boolean;
|
|
13615
12465
|
wrap: boolean;
|
|
@@ -14575,7 +13425,7 @@ destructiveActions: boolean;
|
|
|
14575
13425
|
* `
|
|
14576
13426
|
* }
|
|
14577
13427
|
*/
|
|
14578
|
-
export declare const BentoStatus: __VLS_WithTemplateSlots_39<DefineComponent<
|
|
13428
|
+
export declare const BentoStatus: __VLS_WithTemplateSlots_39<DefineComponent<__VLS_TypePropsToRuntimeProps_41<BentoStatusProps>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_41<BentoStatusProps>>>, {}>, {
|
|
14579
13429
|
default: (_: {}) => any;
|
|
14580
13430
|
}>;
|
|
14581
13431
|
|
|
@@ -14791,7 +13641,7 @@ declare interface BentoStickyTabsOptions {
|
|
|
14791
13641
|
* `
|
|
14792
13642
|
* }
|
|
14793
13643
|
*/
|
|
14794
|
-
export declare const BentoStructuredList: __VLS_WithTemplateSlots_42<DefineComponent<
|
|
13644
|
+
export declare const BentoStructuredList: __VLS_WithTemplateSlots_42<DefineComponent<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_42<{
|
|
14795
13645
|
/**
|
|
14796
13646
|
* Width of the labels container, in pixels. Overrides layout prop.
|
|
14797
13647
|
*/
|
|
@@ -14815,7 +13665,7 @@ layout?: BentoStructuredListLayoutOptions;
|
|
|
14815
13665
|
}>, {
|
|
14816
13666
|
labelsWidth: any;
|
|
14817
13667
|
layout: string;
|
|
14818
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
13668
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_42<{
|
|
14819
13669
|
/**
|
|
14820
13670
|
* Width of the labels container, in pixels. Overrides layout prop.
|
|
14821
13671
|
*/
|
|
@@ -14869,7 +13719,7 @@ labelsWidth: number;
|
|
|
14869
13719
|
* `
|
|
14870
13720
|
* }
|
|
14871
13721
|
*/
|
|
14872
|
-
export declare const BentoStructuredListItem: __VLS_WithTemplateSlots_43<DefineComponent<
|
|
13722
|
+
export declare const BentoStructuredListItem: __VLS_WithTemplateSlots_43<DefineComponent<__VLS_TypePropsToRuntimeProps_43<{
|
|
14873
13723
|
/**
|
|
14874
13724
|
* Label to display for the value
|
|
14875
13725
|
*/
|
|
@@ -14894,7 +13744,7 @@ searchTooltip?: string;
|
|
|
14894
13744
|
* Truncates the value of the item
|
|
14895
13745
|
*/
|
|
14896
13746
|
truncate?: boolean;
|
|
14897
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
13747
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_43<{
|
|
14898
13748
|
/**
|
|
14899
13749
|
* Label to display for the value
|
|
14900
13750
|
*/
|
|
@@ -14949,10 +13799,10 @@ declare const BentoStructuredListLayoutOptions: string[];
|
|
|
14949
13799
|
* `
|
|
14950
13800
|
* }
|
|
14951
13801
|
*/
|
|
14952
|
-
export declare const BentoSummaryGrid: __VLS_WithTemplateSlots_44<DefineComponent<
|
|
13802
|
+
export declare const BentoSummaryGrid: __VLS_WithTemplateSlots_44<DefineComponent<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_44<BentoSummaryGridProps>, {
|
|
14953
13803
|
columnWidth: any;
|
|
14954
13804
|
slashedZero: boolean;
|
|
14955
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
13805
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_44<BentoSummaryGridProps>, {
|
|
14956
13806
|
columnWidth: any;
|
|
14957
13807
|
slashedZero: boolean;
|
|
14958
13808
|
}>>>, {
|
|
@@ -14987,7 +13837,7 @@ export declare interface BentoSummaryGridColumnWidth {
|
|
|
14987
13837
|
* `
|
|
14988
13838
|
* }
|
|
14989
13839
|
*/
|
|
14990
|
-
export declare const BentoSummaryGridItemAmount: __VLS_WithTemplateSlots_45<DefineComponent<
|
|
13840
|
+
export declare const BentoSummaryGridItemAmount: __VLS_WithTemplateSlots_45<DefineComponent<__VLS_WithDefaults_42<__VLS_TypePropsToRuntimeProps_45<BentoSummaryGridItemAmountProps>, {
|
|
14991
13841
|
copy: any;
|
|
14992
13842
|
fitContent: boolean;
|
|
14993
13843
|
infoIconTooltipText: any;
|
|
@@ -15004,7 +13854,7 @@ underlineTooltipText: any;
|
|
|
15004
13854
|
"copy-click": (event: MouseEvent) => void;
|
|
15005
13855
|
} & {
|
|
15006
13856
|
"info-icon-mouseenter": (event: MouseEvent) => void;
|
|
15007
|
-
}, string, Readonly<ExtractPropTypes<
|
|
13857
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_42<__VLS_TypePropsToRuntimeProps_45<BentoSummaryGridItemAmountProps>, {
|
|
15008
13858
|
copy: any;
|
|
15009
13859
|
fitContent: boolean;
|
|
15010
13860
|
infoIconTooltipText: any;
|
|
@@ -15064,7 +13914,7 @@ export declare interface BentoSummaryGridItemAmountProps extends BaseSummaryGrid
|
|
|
15064
13914
|
* `
|
|
15065
13915
|
* }
|
|
15066
13916
|
*/
|
|
15067
|
-
export declare const BentoSummaryGridItemCustom: __VLS_WithTemplateSlots_49<DefineComponent<
|
|
13917
|
+
export declare const BentoSummaryGridItemCustom: __VLS_WithTemplateSlots_49<DefineComponent<__VLS_WithDefaults_46<__VLS_TypePropsToRuntimeProps_49<BentoSummaryGridItemCustomProps>, {
|
|
15068
13918
|
copy: any;
|
|
15069
13919
|
infoIconTooltipText: any;
|
|
15070
13920
|
fitContent: boolean;
|
|
@@ -15074,7 +13924,7 @@ underlineTooltipText: any;
|
|
|
15074
13924
|
"copy-click": (event: MouseEvent) => void;
|
|
15075
13925
|
} & {
|
|
15076
13926
|
"info-icon-mouseenter": (event: MouseEvent) => void;
|
|
15077
|
-
}, string, Readonly<ExtractPropTypes<
|
|
13927
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_46<__VLS_TypePropsToRuntimeProps_49<BentoSummaryGridItemCustomProps>, {
|
|
15078
13928
|
copy: any;
|
|
15079
13929
|
infoIconTooltipText: any;
|
|
15080
13930
|
fitContent: boolean;
|
|
@@ -15138,7 +13988,7 @@ export declare interface BentoSummaryGridItemCustomProps {
|
|
|
15138
13988
|
* `
|
|
15139
13989
|
* }
|
|
15140
13990
|
*/
|
|
15141
|
-
export declare const BentoSummaryGridItemNumeric: __VLS_WithTemplateSlots_46<DefineComponent<
|
|
13991
|
+
export declare const BentoSummaryGridItemNumeric: __VLS_WithTemplateSlots_46<DefineComponent<__VLS_WithDefaults_43<__VLS_TypePropsToRuntimeProps_46<BentoSummaryGridItemNumericProps>, {
|
|
15142
13992
|
copy: any;
|
|
15143
13993
|
fitContent: boolean;
|
|
15144
13994
|
infoIconTooltipText: any;
|
|
@@ -15154,7 +14004,7 @@ underlineTooltipText: any;
|
|
|
15154
14004
|
"copy-click": (event: MouseEvent) => void;
|
|
15155
14005
|
} & {
|
|
15156
14006
|
"info-icon-mouseenter": (event: MouseEvent) => void;
|
|
15157
|
-
}, string, Readonly<ExtractPropTypes<
|
|
14007
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_43<__VLS_TypePropsToRuntimeProps_46<BentoSummaryGridItemNumericProps>, {
|
|
15158
14008
|
copy: any;
|
|
15159
14009
|
fitContent: boolean;
|
|
15160
14010
|
infoIconTooltipText: any;
|
|
@@ -15213,7 +14063,7 @@ export declare interface BentoSummaryGridItemNumericProps extends BaseSummaryGri
|
|
|
15213
14063
|
* `
|
|
15214
14064
|
* }
|
|
15215
14065
|
*/
|
|
15216
|
-
export declare const BentoSummaryGridItemPercentage: __VLS_WithTemplateSlots_47<DefineComponent<
|
|
14066
|
+
export declare const BentoSummaryGridItemPercentage: __VLS_WithTemplateSlots_47<DefineComponent<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_47<BentoSummaryGridItemPercentageProps>, {
|
|
15217
14067
|
copy: any;
|
|
15218
14068
|
fitContent: boolean;
|
|
15219
14069
|
infoIconTooltipText: any;
|
|
@@ -15229,7 +14079,7 @@ underlineTooltipText: any;
|
|
|
15229
14079
|
"copy-click": (event: MouseEvent) => void;
|
|
15230
14080
|
} & {
|
|
15231
14081
|
"info-icon-mouseenter": (event: MouseEvent) => void;
|
|
15232
|
-
}, string, Readonly<ExtractPropTypes<
|
|
14082
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_47<BentoSummaryGridItemPercentageProps>, {
|
|
15233
14083
|
copy: any;
|
|
15234
14084
|
fitContent: boolean;
|
|
15235
14085
|
infoIconTooltipText: any;
|
|
@@ -15294,7 +14144,7 @@ export declare enum BentoSummaryGridItemSize {
|
|
|
15294
14144
|
* `
|
|
15295
14145
|
* }
|
|
15296
14146
|
*/
|
|
15297
|
-
export declare const BentoSummaryGridItemText: __VLS_WithTemplateSlots_48<DefineComponent<
|
|
14147
|
+
export declare const BentoSummaryGridItemText: __VLS_WithTemplateSlots_48<DefineComponent<__VLS_WithDefaults_45<__VLS_TypePropsToRuntimeProps_48<BentoSummaryGridItemTextProps>, {
|
|
15298
14148
|
copy: any;
|
|
15299
14149
|
fitContent: boolean;
|
|
15300
14150
|
infoIconTooltipText: any;
|
|
@@ -15304,7 +14154,7 @@ underlineTooltipText: any;
|
|
|
15304
14154
|
"copy-click": (event: MouseEvent) => void;
|
|
15305
14155
|
} & {
|
|
15306
14156
|
"info-icon-mouseenter": (event: MouseEvent) => void;
|
|
15307
|
-
}, string, Readonly<ExtractPropTypes<
|
|
14157
|
+
}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_45<__VLS_TypePropsToRuntimeProps_48<BentoSummaryGridItemTextProps>, {
|
|
15308
14158
|
copy: any;
|
|
15309
14159
|
fitContent: boolean;
|
|
15310
14160
|
infoIconTooltipText: any;
|
|
@@ -15396,12 +14246,12 @@ export declare interface BentoSummaryGridProps {
|
|
|
15396
14246
|
* </bento-tabs>
|
|
15397
14247
|
* </template>
|
|
15398
14248
|
*/
|
|
15399
|
-
export declare const BentoTab: __VLS_WithTemplateSlots_50<DefineComponent<
|
|
14249
|
+
export declare const BentoTab: __VLS_WithTemplateSlots_50<DefineComponent<__VLS_WithDefaults_47<__VLS_TypePropsToRuntimeProps_50<BentoTabProps>, {
|
|
15400
14250
|
counter: any;
|
|
15401
14251
|
disabled: boolean;
|
|
15402
14252
|
hidden: boolean;
|
|
15403
14253
|
withNotificationIndicator: boolean;
|
|
15404
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
14254
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_47<__VLS_TypePropsToRuntimeProps_50<BentoTabProps>, {
|
|
15405
14255
|
counter: any;
|
|
15406
14256
|
disabled: boolean;
|
|
15407
14257
|
hidden: boolean;
|
|
@@ -15550,11 +14400,11 @@ declare enum BentoTabsEvent {
|
|
|
15550
14400
|
ACTIVE_TAB_INDEX = "update:active-tab-index"
|
|
15551
14401
|
}
|
|
15552
14402
|
|
|
15553
|
-
export declare const BentoTag: DefineComponent<
|
|
14403
|
+
export declare const BentoTag: DefineComponent<__VLS_WithDefaults_36<__VLS_TypePropsToRuntimeProps_36<BentoTagProps>, {
|
|
15554
14404
|
label: any;
|
|
15555
14405
|
truncate: any;
|
|
15556
14406
|
variant: BentoTagVariant;
|
|
15557
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
14407
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_36<__VLS_TypePropsToRuntimeProps_36<BentoTagProps>, {
|
|
15558
14408
|
label: any;
|
|
15559
14409
|
truncate: any;
|
|
15560
14410
|
variant: BentoTagVariant;
|
|
@@ -15872,6 +14722,9 @@ declare enum BentoTextareaResizeOption {
|
|
|
15872
14722
|
}
|
|
15873
14723
|
|
|
15874
14724
|
export declare enum BentoTheme {
|
|
14725
|
+
/**
|
|
14726
|
+
* @deprecated in favor of {@link BENTO_LIGHT}. To be removed in v2.0.0.
|
|
14727
|
+
*/
|
|
15875
14728
|
LEGACY = "b-legacy-theme",
|
|
15876
14729
|
STYLEGUIDE = "b-styleguide-theme",
|
|
15877
14730
|
/**
|
|
@@ -16412,6 +15265,7 @@ export declare interface BentoTimelineConfigData {
|
|
|
16412
15265
|
hiddenItems: Ref<number>;
|
|
16413
15266
|
visibleIndexes: Ref<number[]>;
|
|
16414
15267
|
timegapLimit: Ref<BentoTimelineGapObject>;
|
|
15268
|
+
timelineEntries: Ref<BentoTimelineEntry[]>;
|
|
16415
15269
|
}
|
|
16416
15270
|
|
|
16417
15271
|
export declare type BentoTimelineDataList = Array<BentoTimelineDataListObject>;
|
|
@@ -16442,7 +15296,7 @@ export declare enum BentoTimelineGapUnit {
|
|
|
16442
15296
|
}
|
|
16443
15297
|
|
|
16444
15298
|
/**
|
|
16445
|
-
*
|
|
15299
|
+
* BentoTimelineItem renders each event in the Timeline component
|
|
16446
15300
|
*
|
|
16447
15301
|
* @example
|
|
16448
15302
|
* import { BentoDateFormat, BentoTimelineItem } from '../../../..';
|
|
@@ -16664,16 +15518,6 @@ export declare enum BentoTimelineItemVariant {
|
|
|
16664
15518
|
CRITICAL = "CrossCircleIcon"
|
|
16665
15519
|
}
|
|
16666
15520
|
|
|
16667
|
-
export declare type BentoTimelineRegisterEntry = (props: {
|
|
16668
|
-
title?: string | BentoTimelineItemTitle;
|
|
16669
|
-
description?: string;
|
|
16670
|
-
date: Date | number;
|
|
16671
|
-
}) => {
|
|
16672
|
-
timelineEntries: Ref<BentoTimelineEntry[]>;
|
|
16673
|
-
index: number;
|
|
16674
|
-
unregisterTimelineEntry: () => void;
|
|
16675
|
-
};
|
|
16676
|
-
|
|
16677
15521
|
export declare interface BentoTimelineShowMoreObject {
|
|
16678
15522
|
limit: number;
|
|
16679
15523
|
placement?: BentoTimelineShowMorePlacement;
|
|
@@ -17009,6 +15853,15 @@ export declare const BentoTooltipPosition: {
|
|
|
17009
15853
|
|
|
17010
15854
|
export declare type BentoTooltipPosition = PopperContainerPositionBasic;
|
|
17011
15855
|
|
|
15856
|
+
declare const BentoTooltipPosition_2: {
|
|
15857
|
+
TOP: PopperContainerPositionBasic.TOP;
|
|
15858
|
+
RIGHT: PopperContainerPositionBasic.RIGHT;
|
|
15859
|
+
BOTTOM: PopperContainerPositionBasic.BOTTOM;
|
|
15860
|
+
LEFT: PopperContainerPositionBasic.LEFT;
|
|
15861
|
+
};
|
|
15862
|
+
|
|
15863
|
+
declare type BentoTooltipPosition_2 = PopperContainerPositionBasic;
|
|
15864
|
+
|
|
17012
15865
|
export declare enum BentoTooltipState {
|
|
17013
15866
|
HIDDEN = "hidden"
|
|
17014
15867
|
}
|
|
@@ -17135,7 +15988,7 @@ export declare interface BentoTutorialStep {
|
|
|
17135
15988
|
* `
|
|
17136
15989
|
* }
|
|
17137
15990
|
*/
|
|
17138
|
-
export declare const BentoTypography: __VLS_WithTemplateSlots_51<DefineComponent<
|
|
15991
|
+
export declare const BentoTypography: __VLS_WithTemplateSlots_51<DefineComponent<__VLS_WithDefaults_48<__VLS_TypePropsToRuntimeProps_51<{
|
|
17139
15992
|
/**
|
|
17140
15993
|
* Sets the HTML DOM element.
|
|
17141
15994
|
* @values h1, h2, h3, h4, h5, h6, div, p, span
|
|
@@ -17183,7 +16036,7 @@ stronger: boolean;
|
|
|
17183
16036
|
strongest: boolean;
|
|
17184
16037
|
variant: BentoTypographyVariant;
|
|
17185
16038
|
wide: boolean;
|
|
17186
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<
|
|
16039
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_48<__VLS_TypePropsToRuntimeProps_51<{
|
|
17187
16040
|
/**
|
|
17188
16041
|
* Sets the HTML DOM element.
|
|
17189
16042
|
* @values h1, h2, h3, h4, h5, h6, div, p, span
|
|
@@ -17291,8 +16144,6 @@ export declare type Binding<V> = DirectiveBinding<V> & KeyboardNavigation;
|
|
|
17291
16144
|
|
|
17292
16145
|
export declare type Booleanish = boolean | 'true' | 'false';
|
|
17293
16146
|
|
|
17294
|
-
declare type ButtonProps = InstanceType<typeof BentoButton>['$props'];
|
|
17295
|
-
|
|
17296
16147
|
declare type CalendarGranularityType = 'daily' | 'weekly' | 'monthly' | 'quarterly';
|
|
17297
16148
|
|
|
17298
16149
|
declare enum CalendarMonthFirstDayOfWeek {
|
|
@@ -17338,14 +16189,6 @@ export declare enum DateFormat {
|
|
|
17338
16189
|
HOUR_MINUTE_SECONDS = "HH:mm:ss"
|
|
17339
16190
|
}
|
|
17340
16191
|
|
|
17341
|
-
declare interface DateRangePickerCalendarFormData {
|
|
17342
|
-
startDate: string;
|
|
17343
|
-
endDate: string;
|
|
17344
|
-
startTime?: string;
|
|
17345
|
-
endTime?: string;
|
|
17346
|
-
granularity?: CalendarGranularityType;
|
|
17347
|
-
}
|
|
17348
|
-
|
|
17349
16192
|
declare interface DateRangePickerCalendarRangeSelectorItem {
|
|
17350
16193
|
label: string;
|
|
17351
16194
|
value: string;
|
|
@@ -17716,76 +16559,6 @@ declare interface KeyboardNavigation {
|
|
|
17716
16559
|
keyDownListener?: ListenerCleanup;
|
|
17717
16560
|
}
|
|
17718
16561
|
|
|
17719
|
-
export declare interface LinkProps {
|
|
17720
|
-
/**
|
|
17721
|
-
* Disable the default typography for the component. Only use this when the component is inside another typography component.
|
|
17722
|
-
*/
|
|
17723
|
-
disableTypography?: boolean;
|
|
17724
|
-
/**
|
|
17725
|
-
* Set the rendered link to a regular external anchor link and renders an external link icon.
|
|
17726
|
-
*/
|
|
17727
|
-
external?: boolean;
|
|
17728
|
-
/**
|
|
17729
|
-
* Set to true if used inside a `BentoButton` component.
|
|
17730
|
-
*/
|
|
17731
|
-
isButton?: boolean;
|
|
17732
|
-
/**
|
|
17733
|
-
* Set the rendered link to a regular external anchor link.
|
|
17734
|
-
*/
|
|
17735
|
-
isNotRouting?: boolean;
|
|
17736
|
-
/**
|
|
17737
|
-
* Sets the target of the rendered link.
|
|
17738
|
-
*/
|
|
17739
|
-
target?: string;
|
|
17740
|
-
/**
|
|
17741
|
-
* Set to true to truncate link. Doesn't work with disableTypography.
|
|
17742
|
-
*/
|
|
17743
|
-
truncate?: boolean;
|
|
17744
|
-
/**
|
|
17745
|
-
* Link variant type affecting visual style.
|
|
17746
|
-
* @values default, quiet
|
|
17747
|
-
*/
|
|
17748
|
-
variant?: BentoLinkVariant | `${BentoLinkVariant}`;
|
|
17749
|
-
}
|
|
17750
|
-
|
|
17751
|
-
declare interface LinkProps_2 {
|
|
17752
|
-
/**
|
|
17753
|
-
* Disable the default typography for the component. Only use this when the component is inside another typography component.
|
|
17754
|
-
*/
|
|
17755
|
-
disableTypography?: boolean;
|
|
17756
|
-
|
|
17757
|
-
/**
|
|
17758
|
-
* Set the rendered link to a regular external anchor link and renders an external link icon.
|
|
17759
|
-
*/
|
|
17760
|
-
external?: boolean;
|
|
17761
|
-
|
|
17762
|
-
/**
|
|
17763
|
-
* Set to true if used inside a `BentoButton` component.
|
|
17764
|
-
*/
|
|
17765
|
-
isButton?: boolean;
|
|
17766
|
-
|
|
17767
|
-
/**
|
|
17768
|
-
* Set the rendered link to a regular external anchor link.
|
|
17769
|
-
*/
|
|
17770
|
-
isNotRouting?: boolean;
|
|
17771
|
-
|
|
17772
|
-
/**
|
|
17773
|
-
* Sets the target of the rendered link.
|
|
17774
|
-
*/
|
|
17775
|
-
target?: string;
|
|
17776
|
-
|
|
17777
|
-
/**
|
|
17778
|
-
* Set to true to truncate link. Doesn't work with disableTypography.
|
|
17779
|
-
*/
|
|
17780
|
-
truncate?: boolean;
|
|
17781
|
-
|
|
17782
|
-
/**
|
|
17783
|
-
* Link variant type affecting visual style.
|
|
17784
|
-
* @values default, quiet
|
|
17785
|
-
*/
|
|
17786
|
-
variant?: BentoLinkVariant_2 | `${BentoLinkVariant_2}`;
|
|
17787
|
-
}
|
|
17788
|
-
|
|
17789
16562
|
declare type ListenerCleanup = () => void;
|
|
17790
16563
|
|
|
17791
16564
|
/**
|